Browse Source

refactor: 修改组件名称

qufenxi
alan 6 years ago
parent
commit
d8584caa2c
  1. 2
      src/app/app.model.ts
  2. 2
      src/app/app.ts
  3. 2
      src/app/link_set/left/left.ts
  4. 2
      src/app/link_set/left/left_item/left_item.ts
  5. 2
      src/app/link_set/left/left_item/left_item_icon.ts
  6. 2
      src/app/link_set/link_set.model.ts
  7. 2
      src/app/link_set/link_set.ts
  8. 2
      src/app/link_set/more/item/more_link_item.ts
  9. 2
      src/app/link_set/more/item/more_link_litem.model.ts
  10. 2
      src/app/link_set/more/more_link.model.ts
  11. 2
      src/app/link_set/more/more_link.ts
  12. 2
      src/app/link_set/right/nothing.ts
  13. 2
      src/app/link_set/right/right.ts
  14. 2
      src/app/link_set/right/right_detail/right_detail.model.ts
  15. 2
      src/app/link_set/right/right_detail/right_detail.ts
  16. 2
      src/app/link_set/right/right_edit/right_edit.ts
  17. 2
      src/app/link_set/right/right_edit/right_edit_jndi.ts
  18. 2
      src/app/link_set/right/right_edit/right_edit_mysql.ts
  19. 2
      src/app/link_set/right/right_show/right_show.ts
  20. 2
      src/app/link_set/right/right_show/right_show_jndi.ts
  21. 2
      src/app/link_set/right/right_title/right_title.ts
  22. 2
      src/app/link_set/select/select.ts
  23. 2
      src/app/link_status/left/left.model.ts
  24. 2
      src/app/link_status/left/left.ts
  25. 6
      src/app/link_status/left/left_item.ts
  26. 2
      src/app/link_status/link_status.model.ts
  27. 2
      src/app/link_status/link_status.ts
  28. 4
      src/app/link_status/right/right.model.ts
  29. 2
      src/app/link_status/right/right.ts
  30. 2
      src/app/link_status/right/right_card.ts
  31. 2
      src/app/title/title.ts
  32. 2
      src/app/title/title_item/title_item.model.ts
  33. 2
      src/app/title/title_item/title_item.ts
  34. 2
      src/demo/plugin.redis.edit.ts
  35. 2
      src/demo/plugin.redis.preview.ts
  36. 2
      src/demo/plugin.tedis.pool.ts
  37. 2
      src/shared/components/both_side.ts
  38. 2
      src/shared/components/form_item.ts
  39. 2
      src/shared/components/title.ts

2
src/app/app.model.ts

@ -1,4 +1,4 @@
const className = 'fr.model.main';
const className = 'dec.dcm.model.main';
import {ModelType} from '@ui';
import {LinkType} from '@ui/type';
import {fetchLinkList} from '../shared/crud/crud.request';

2
src/app/app.ts

@ -5,7 +5,7 @@ import linkSet from './link_set/link_set';
import linkStatus from './link_status/link_status';
import '../less/index.less';
const className = 'fr.main';
const className = 'dec.dcm.main';
const Widget = BI.inherit(BI.Widget, {
_store() {
return BI.Models.getModel(appModel);

2
src/app/link_set/left/left.ts

@ -3,7 +3,7 @@ import Model from '../link_set.model';
import {LinkType} from '@ui/type';
import LeftItem from './left_item/left_item';
const className = 'fr.component.linkset.left';
const className = 'dec.dcm.component.linkset.left';
let leftContent: any = null;
const Widget: WidgetType = {
_store() {

2
src/app/link_set/left/left_item/left_item.ts

@ -2,7 +2,7 @@ import {WidgetType, Left, Label, Icon, TextButton, Right, LeftRightVerticalAdapt
import ItemIcon from './left_item_icon';
import Model from '../../link_set.model';
import {ACTION_COPY, ACTION_TEST, ACTION_DELETE, DEFAULT_INFO} from '@private/constants';
const className = 'fr.component.linkSet.left.item';
const className = 'dec.dcm.component.linkSet.left.item';
const Widget: WidgetType = {
props: {
title: '',

2
src/app/link_set/left/left_item/left_item_icon.ts

@ -2,7 +2,7 @@ import {WidgetType, Icon, BubbleCombo, TextBubblePopupBarView, IconButton} from
import Model from '../../link_set.model';
import {ACTION_DELETE} from '@private/constants';
const className = 'fr.component.linkSet.left.item.icon';
const className = 'dec.dcm.component.linkSet.left.item.icon';
const Widget: WidgetType = {
_store() {
return BI.Models.getModel(Model);

2
src/app/link_set/link_set.model.ts

@ -5,7 +5,7 @@ import {getCnnectionName} from './select/select.service';
import {DATA_BASE_TYPE} from '@private/constants';
import dialog from '@shared/service/dialog.service';
import {saveConnection} from './link_set.service';
const className = 'fr.model.linkset';
const className = 'dec.dcm.model.linkset';
const Model: ModelType = {
context: ['tab', 'linkList', 'linkSelected', 'linkUpdate', 'connectionNameErr'],
actions: {

2
src/app/link_set/link_set.ts

@ -4,7 +4,7 @@ import linkSetModel from './link_set.model';
import Select from './select/select';
import Right from './right/right';
import {TAB_LINK_SET} from '@private/constants';
const className = 'fr.linkset';
const className = 'dec.dcm.linkset';
const Widget: WidgetType = {
_store() {
return BI.Models.getModel(linkSetModel);

2
src/app/link_set/more/item/more_link_item.ts

@ -1,7 +1,7 @@
import {WidgetType, Vertical, Img, Label, Layout, Absolute} from '@ui/index';
import ModelName from './more_link_litem.model';
const className = 'fr.component.linkSet.morelink.item';
const className = 'dec.dcm.component.linkSet.morelink.item';
const Widget: WidgetType = {
_store() {
return BI.Models.getModel(ModelName);

2
src/app/link_set/more/item/more_link_litem.model.ts

@ -1,4 +1,4 @@
const className = 'fr.model.link_set.more_link_item';
const className = 'dec.dcm.model.link_set.more_link_item';
export const Model = BI.inherit(Fix.Model, {
context: ['otherSelected'],
});

2
src/app/link_set/more/more_link.model.ts

@ -1,4 +1,4 @@
const className = 'fr.model.link_set.more_link';
const className = 'dec.dcm.model.link_set.more_link';
export const Model = BI.inherit(Fix.Model, {
childContext: ['otherSelected'],
state() {

2
src/app/link_set/more/more_link.ts

@ -2,7 +2,7 @@ import {WidgetType, Vertical, SearchEditor, Left, Vtape} from '@ui/index';
import {DATA_BASE_TYPE_OTHER} from '@private/constants';
import MoreLinkItem from './item/more_link_item';
import ModelName from './more_link.model';
const className = 'fr.component.linkSet.morelink';
const className = 'dec.dcm.component.linkSet.morelink';
const Widget: WidgetType = {
_store() {
return BI.Models.getModel(ModelName);

2
src/app/link_set/right/nothing.ts

@ -1,5 +1,5 @@
import {WidgetType, CenterAdapt, Vertical, Layout, Label} from '@ui/index';
const className = 'fr.component.right.nothing';
const className = 'dec.dcm.component.right.nothing';
const Widget: WidgetType = {
render() {
return {

2
src/app/link_set/right/right.ts

@ -4,7 +4,7 @@ import Nothing from './nothing';
import RightDetail from './right_detail/right_detail';
import Model from '../link_set.model';
let rightContent: any = null;
const className = 'fr.component.right';
const className = 'dec.dcm.component.right';
const Widget: WidgetType = {
_store() {
return BI.Models.getModel(Model);

2
src/app/link_set/right/right_detail/right_detail.model.ts

@ -1,4 +1,4 @@
const className = 'fr.model.link.set.right.detail';
const className = 'dec.dcm.model.link.set.right.detail';
export const Model = BI.inherit(Fix.Model, {
context: ['linkSelected'],

2
src/app/link_set/right/right_detail/right_detail.ts

@ -10,7 +10,7 @@ import RightEditJndi from '../right_edit/right_edit_jndi';
import pluginListConstant from '../../../app.constant';
import {MYSQL_CONNECT, JNDI_CONNECT} from '@private/constants';
const className = 'fr.component.right.detail';
const className = 'dec.dcm.component.right.detail';
const Widget: WidgetType = {
_store() {

2
src/app/link_set/right/right_edit/right_edit.ts

@ -6,7 +6,7 @@ import FormItem from '@shared/components/form_item';
import Title from '@shared/components/title';
import {getDrivers, connectNameChecker} from './right_edit.service';
let ConnectionName: any = null;
const className = 'fr.component.right.edit';
const className = 'dec.dcm.component.right.edit';
const Widget: WidgetType = {
_store() {
return BI.Models.getModel(Model);

2
src/app/link_set/right/right_edit/right_edit_jndi.ts

@ -4,7 +4,7 @@ import {JNDI_FACTORYS, OTHER_ATTRIBUTES, CONNECT_CHARSET} from '@private/constan
import {AttributeType} from '../right.typing';
import ModelName from './right_edit.model';
const classNameEdit = 'fr.component.right.edit.jndi';
const classNameEdit = 'dec.dcm.component.right.edit.jndi';
const Widget = BI.inherit(BI.Widget, {
_store() {
return BI.Models.getModel(ModelName);

2
src/app/link_set/right/right_edit/right_edit_mysql.ts

@ -5,7 +5,7 @@ import Model from '../../link_set.model';
import FormItem from '@shared/components/form_item';
import Title from '@shared/components/title';
import {getDrivers, connectNameChecker} from './right_edit.service';
const className = 'fr.component.right.edit.mysql';
const className = 'dec.dcm.component.right.edit.mysql';
const Widget: WidgetType = {
_store() {
return BI.Models.getModel(Model);

2
src/app/link_set/right/right_show/right_show.ts

@ -3,7 +3,7 @@ import RightShowModel from '../../link_set.model';
import BothSide from '@shared/components/both_side';
import Title from '@shared/components/title';
import {LinkType} from '@ui/type';
const className = 'fr.component.right.show';
const className = 'dec.dcm.component.right.show';
const Widget: WidgetType = {
_store() {
return BI.Models.getModel(RightShowModel);

2
src/app/link_set/right/right_show/right_show_jndi.ts

@ -3,7 +3,7 @@ import FormItem from '@shared/components/form_item';
import {OTHER_ATTRIBUTES} from '@private/constants';
import {AttributeType} from '../right.typing';
const className = 'fr.component.right.show.jndi';
const className = 'dec.dcm.component.right.show.jndi';
const Widget = BI.inherit(BI.Widget, {
render() {
const {connectionName, url, factory, principal, credentials, originalCharsetName} = this.options;

2
src/app/link_set/right/right_title/right_title.ts

@ -2,7 +2,7 @@ import {WidgetType, Left, Label, Button, LeftRightVerticalAdapt} from '@ui/index
import RightTitleModel from '../../link_set.model';
import {LinkType} from '@ui/type';
import {OTHER_CONNECT} from '@private/constants';
const className = 'fr.component.right.title';
const className = 'dec.dcm.component.right.title';
const Widget: WidgetType = {
_store() {
return BI.Models.getModel(RightTitleModel);

2
src/app/link_set/select/select.ts

@ -3,7 +3,7 @@ import selectModel from '../link_set.model';
import {moreLink} from '../more/more_link.service';
import connectList from '../../app.constant';
import {DATA_LINKS} from '@private/constants';
const className = 'fr.linkset.select';
const className = 'dec.dcm.linkset.select';
const Widget: WidgetType = {
_store() {
return BI.Models.getModel(selectModel);

2
src/app/link_status/left/left.model.ts

@ -1,5 +1,5 @@
import {ModelType} from '@ui';
const className = 'fr.model.linkstatus.left';
const className = 'dec.dcm.model.linkstatus.left';
const Model: ModelType = {
context: ['tab', 'linkList', 'statusSelected'],
state () {

2
src/app/link_status/left/left.ts

@ -3,7 +3,7 @@ import Model from './left.model';
import {LinkType} from '@ui/type';
import LeftItem from './left_item';
const className = 'fr.component.linkStatus.left';
const className = 'dec.dcm.component.linkStatus.left';
let leftContent: any = null;
const Widget: WidgetType = {
_store() {

6
src/app/link_status/left/left_item.ts

@ -1,6 +1,6 @@
import {WidgetType, Left, Label, TextButton} from '@ui';
import {WidgetType, Left, TextButton} from '@ui';
import Model from './left.model';
const className = 'fr.component.linkStatus.left.item';
const className = 'dec.dcm.component.linkStatus.left.item';
const Widget: WidgetType = {
props: {
title: '',
@ -11,7 +11,7 @@ const Widget: WidgetType = {
return BI.Models.getModel(Model);
},
render() {
const {title, extraCls, creator, text, id} = this.options;
const {title, extraCls} = this.options;
return {
type: Left,

2
src/app/link_status/link_status.model.ts

@ -1,5 +1,5 @@
import {ModelType} from '@ui';
const className = 'fr.model.linkstatus';
const className = 'dec.dcm.model.linkstatus';
const Model: ModelType = {
context: ['tab', 'linkList'],
actions: {

2
src/app/link_status/link_status.ts

@ -3,7 +3,7 @@ import linkStatusModel from './link_status.model';
import LeftList from './left/left';
import Right from './right/right';
import {TAB_LINK_POOL} from '@private/constants';
const className = 'fr.linkstatus';
const className = 'dec.dcm.linkstatus';
const Widget: WidgetType = {
_store() {

4
src/app/link_status/right/right.model.ts

@ -1,10 +1,10 @@
import {ModelType} from '@ui';
const className = 'fr.model.linkstatus.right';
const className = 'dec.dcm.model.linkstatus.right';
const Model: ModelType = {
context: ['linkList', 'statusSelected'],
state () {
return {
selected:'',
selected: '',
};
},
actions: {

2
src/app/link_status/right/right.ts

@ -6,7 +6,7 @@ import {InfoType} from './right.typings';
import {LinkType} from '@ui/type';
import pluginListConstant from '../../app.constant';
const className = 'fr.component.linkStatus.right';
const className = 'dec.dcm.component.linkStatus.right';
let Title: any = null;
let Group: any = null;

2
src/app/link_status/right/right_card.ts

@ -1,5 +1,5 @@
import {WidgetType, Left, Label, Vertical, FloatCenter, CenterAdapt} from '@ui/index';
const className = 'fr.component.linkStatus.right.card';
const className = 'dec.dcm.component.linkStatus.right.card';
const Widget: WidgetType = {
render() {
const {maxActive, maxIdle, numActive, numIdle} = this.options;

2
src/app/title/title.ts

@ -2,7 +2,7 @@ import {WidgetType, IconButton, LeftRightVerticalAdapt} from '@ui/index';
import TitleItem from './title_item/title_item';
import {isDesigner, closeWindow} from '@shared/crud/crud.request';
import {TAB_LINK_SET, TAB_LINK_POOL} from '@private/constants';
const className = 'fr.title';
const className = 'dec.dcm.title';
const Widget: WidgetType = {
render() {
const hideCloseButton = isDesigner();

2
src/app/title/title_item/title_item.model.ts

@ -1,4 +1,4 @@
const className = 'fr.model.title.item';
const className = 'dec.dcm.model.title.item';
const Model = BI.inherit(Fix.Model, {
context: ['tab'],
actions: {

2
src/app/title/title_item/title_item.ts

@ -1,7 +1,7 @@
import {Label} from '@ui';
import tableItemModel from './title_item.model';
import {getSelectStyle} from './title_item.service';
const className = 'fr.title.item';
const className = 'dec.dcm.title.item';
const Widget = BI.inherit(BI.BasicButton, {
props: {
text: '',

2
src/demo/plugin.redis.edit.ts

@ -6,7 +6,7 @@ const form = {
password: '123456',
};
const classNameEdit = 'fr.plugin.redis.edit';
const classNameEdit = 'dec.dcm.plugin.redis.edit';
const Widget = BI.inherit(BI.Widget, {
render() {
return {

2
src/demo/plugin.redis.preview.ts

@ -1,4 +1,4 @@
const classNamePreview = 'fr.plugin.redis.preview';
const classNamePreview = 'dec.dcm.plugin.redis.preview';
const RedisConstantName = 'dec.constant.database.conf.connect.form.redis.value';
const form = BI.Constants.getConstant(RedisConstantName);

2
src/demo/plugin.tedis.pool.ts

@ -1,4 +1,4 @@
const classNamePool = 'fr.plugin.redis.pool';
const classNamePool = 'dec.dcm.plugin.redis.pool';
const WidgetPool = BI.inherit(BI.Widget, {
render() {

2
src/shared/components/both_side.ts

@ -1,5 +1,5 @@
import {WidgetType, Htape, Label} from '@ui/index';
const BothSide = 'fr.shared.component.both.side';
const BothSide = 'dec.dcm.shared.component.both.side';
const Widget: WidgetType = {
render() {
const {leftText, rightText} = this.options;

2
src/shared/components/form_item.ts

@ -1,5 +1,5 @@
import {WidgetType, Htape, Label} from '@ui/index';
const className = 'fr.shared.component.form.item';
const className = 'dec.dcm.shared.component.form.item';
const Widget: WidgetType = {
render() {
const {text, form, hint, height, width = 115} = this.options;

2
src/shared/components/title.ts

@ -1,5 +1,5 @@
import {WidgetType, Label} from '@ui/index';
const className = 'fr.shared.component.title';
const className = 'dec.dcm.shared.component.title';
const Widget: WidgetType = {
render() {
const {text} = this.options;

Loading…
Cancel
Save