diff --git a/src/app/app.model.ts b/src/app/app.model.ts index dd87952..cec44fe 100644 --- a/src/app/app.model.ts +++ b/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'; diff --git a/src/app/app.ts b/src/app/app.ts index 57e2812..97d114c 100644 --- a/src/app/app.ts +++ b/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); diff --git a/src/app/link_set/left/left.ts b/src/app/link_set/left/left.ts index 20e4af8..85aebd8 100644 --- a/src/app/link_set/left/left.ts +++ b/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() { diff --git a/src/app/link_set/left/left_item/left_item.ts b/src/app/link_set/left/left_item/left_item.ts index 65d85ee..dcda05f 100644 --- a/src/app/link_set/left/left_item/left_item.ts +++ b/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: '', diff --git a/src/app/link_set/left/left_item/left_item_icon.ts b/src/app/link_set/left/left_item/left_item_icon.ts index 9bffb2e..10e1a27 100644 --- a/src/app/link_set/left/left_item/left_item_icon.ts +++ b/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); diff --git a/src/app/link_set/link_set.model.ts b/src/app/link_set/link_set.model.ts index 04b0cf8..6cc14f9 100644 --- a/src/app/link_set/link_set.model.ts +++ b/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: { diff --git a/src/app/link_set/link_set.ts b/src/app/link_set/link_set.ts index 3a810db..82b25d2 100644 --- a/src/app/link_set/link_set.ts +++ b/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); diff --git a/src/app/link_set/more/item/more_link_item.ts b/src/app/link_set/more/item/more_link_item.ts index 7e4715c..c609f1e 100644 --- a/src/app/link_set/more/item/more_link_item.ts +++ b/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); diff --git a/src/app/link_set/more/item/more_link_litem.model.ts b/src/app/link_set/more/item/more_link_litem.model.ts index 87203e6..599711f 100644 --- a/src/app/link_set/more/item/more_link_litem.model.ts +++ b/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'], }); diff --git a/src/app/link_set/more/more_link.model.ts b/src/app/link_set/more/more_link.model.ts index 73e243b..c9c1e13 100644 --- a/src/app/link_set/more/more_link.model.ts +++ b/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() { diff --git a/src/app/link_set/more/more_link.ts b/src/app/link_set/more/more_link.ts index ad1ca97..bde8e09 100644 --- a/src/app/link_set/more/more_link.ts +++ b/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); diff --git a/src/app/link_set/right/nothing.ts b/src/app/link_set/right/nothing.ts index 81fc1c2..425ba85 100644 --- a/src/app/link_set/right/nothing.ts +++ b/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 { diff --git a/src/app/link_set/right/right.ts b/src/app/link_set/right/right.ts index f969c23..92b69f4 100644 --- a/src/app/link_set/right/right.ts +++ b/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); diff --git a/src/app/link_set/right/right_detail/right_detail.model.ts b/src/app/link_set/right/right_detail/right_detail.model.ts index 67b4afe..fed6e29 100644 --- a/src/app/link_set/right/right_detail/right_detail.model.ts +++ b/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'], diff --git a/src/app/link_set/right/right_detail/right_detail.ts b/src/app/link_set/right/right_detail/right_detail.ts index 44b1c8a..3a8b596 100644 --- a/src/app/link_set/right/right_detail/right_detail.ts +++ b/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() { diff --git a/src/app/link_set/right/right_edit/right_edit.ts b/src/app/link_set/right/right_edit/right_edit.ts index 16ac610..251d1d2 100644 --- a/src/app/link_set/right/right_edit/right_edit.ts +++ b/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); diff --git a/src/app/link_set/right/right_edit/right_edit_jndi.ts b/src/app/link_set/right/right_edit/right_edit_jndi.ts index 7278121..2173e00 100644 --- a/src/app/link_set/right/right_edit/right_edit_jndi.ts +++ b/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); diff --git a/src/app/link_set/right/right_edit/right_edit_mysql.ts b/src/app/link_set/right/right_edit/right_edit_mysql.ts index 56b3718..bd3cc7f 100644 --- a/src/app/link_set/right/right_edit/right_edit_mysql.ts +++ b/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); diff --git a/src/app/link_set/right/right_show/right_show.ts b/src/app/link_set/right/right_show/right_show.ts index 53f8b34..590efe1 100644 --- a/src/app/link_set/right/right_show/right_show.ts +++ b/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); diff --git a/src/app/link_set/right/right_show/right_show_jndi.ts b/src/app/link_set/right/right_show/right_show_jndi.ts index 6a28a1a..41d6efb 100644 --- a/src/app/link_set/right/right_show/right_show_jndi.ts +++ b/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; diff --git a/src/app/link_set/right/right_title/right_title.ts b/src/app/link_set/right/right_title/right_title.ts index 04b8d5d..ea60e76 100644 --- a/src/app/link_set/right/right_title/right_title.ts +++ b/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); diff --git a/src/app/link_set/select/select.ts b/src/app/link_set/select/select.ts index 5ee9ad8..56a82ed 100644 --- a/src/app/link_set/select/select.ts +++ b/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); diff --git a/src/app/link_status/left/left.model.ts b/src/app/link_status/left/left.model.ts index d2633ef..fb06170 100644 --- a/src/app/link_status/left/left.model.ts +++ b/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 () { diff --git a/src/app/link_status/left/left.ts b/src/app/link_status/left/left.ts index 2a125b0..bf552b6 100644 --- a/src/app/link_status/left/left.ts +++ b/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() { diff --git a/src/app/link_status/left/left_item.ts b/src/app/link_status/left/left_item.ts index 13ff6b3..18c3a95 100644 --- a/src/app/link_status/left/left_item.ts +++ b/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, diff --git a/src/app/link_status/link_status.model.ts b/src/app/link_status/link_status.model.ts index ecdda3c..c4e7467 100644 --- a/src/app/link_status/link_status.model.ts +++ b/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: { diff --git a/src/app/link_status/link_status.ts b/src/app/link_status/link_status.ts index 1d122d4..594468a 100644 --- a/src/app/link_status/link_status.ts +++ b/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() { diff --git a/src/app/link_status/right/right.model.ts b/src/app/link_status/right/right.model.ts index aa49c71..d5f06a8 100644 --- a/src/app/link_status/right/right.model.ts +++ b/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: { diff --git a/src/app/link_status/right/right.ts b/src/app/link_status/right/right.ts index 21c16ec..69c54ef 100644 --- a/src/app/link_status/right/right.ts +++ b/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; diff --git a/src/app/link_status/right/right_card.ts b/src/app/link_status/right/right_card.ts index 64c73fc..b4fbbb6 100644 --- a/src/app/link_status/right/right_card.ts +++ b/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; diff --git a/src/app/title/title.ts b/src/app/title/title.ts index c322fc3..c9e577c 100644 --- a/src/app/title/title.ts +++ b/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(); diff --git a/src/app/title/title_item/title_item.model.ts b/src/app/title/title_item/title_item.model.ts index f8d1923..97efd09 100644 --- a/src/app/title/title_item/title_item.model.ts +++ b/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: { diff --git a/src/app/title/title_item/title_item.ts b/src/app/title/title_item/title_item.ts index 1dcb198..b75537b 100644 --- a/src/app/title/title_item/title_item.ts +++ b/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: '', diff --git a/src/demo/plugin.redis.edit.ts b/src/demo/plugin.redis.edit.ts index 31e8802..c010093 100644 --- a/src/demo/plugin.redis.edit.ts +++ b/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 { diff --git a/src/demo/plugin.redis.preview.ts b/src/demo/plugin.redis.preview.ts index 9dfd4df..b90b318 100644 --- a/src/demo/plugin.redis.preview.ts +++ b/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); diff --git a/src/demo/plugin.tedis.pool.ts b/src/demo/plugin.tedis.pool.ts index 26410b3..541c943 100644 --- a/src/demo/plugin.tedis.pool.ts +++ b/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() { diff --git a/src/shared/components/both_side.ts b/src/shared/components/both_side.ts index 4db6c94..452b33b 100644 --- a/src/shared/components/both_side.ts +++ b/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; diff --git a/src/shared/components/form_item.ts b/src/shared/components/form_item.ts index 133ee89..65689fd 100644 --- a/src/shared/components/form_item.ts +++ b/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; diff --git a/src/shared/components/title.ts b/src/shared/components/title.ts index 0dbef68..41f405a 100644 --- a/src/shared/components/title.ts +++ b/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;