@gct-paas/core 0.1.4-dev.7 → 0.1.4-dev.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.min.mjs +6520 -18715
- package/dist/index.min.cjs +386 -2
- package/dist/index.system.min.js +386 -2
- package/es/constants/core.mjs +0 -1
- package/es/constants/editor-register/editor-register.mjs +0 -1
- package/es/constants/editor-type/editor-type.d.ts +65 -1
- package/es/constants/editor-type/editor-type.mjs +14 -1
- package/es/constants/expression-type/BuiltOperators.d.ts +20 -0
- package/es/constants/expression-type/BuiltOperators.mjs +148 -0
- package/es/constants/expression-type/FunctionKeys.d.ts +1 -0
- package/es/constants/expression-type/FunctionKeys.mjs +81 -0
- package/es/constants/expression-type/editor.d.ts +8 -0
- package/es/constants/expression-type/editor.mjs +4 -0
- package/es/constants/expression-type/function.d.ts +7 -0
- package/es/constants/expression-type/function.mjs +875 -0
- package/es/constants/expression-type/index.d.ts +42 -0
- package/es/constants/expression-type/index.mjs +120 -0
- package/es/constants/expression-type/modeCfg.d.ts +30 -0
- package/es/constants/expression-type/modeCfg.mjs +268 -0
- package/es/constants/expression-type/variable.d.ts +12 -0
- package/es/constants/expression-type/variable.mjs +42 -0
- package/es/constants/form-container-type/form-container-type.mjs +0 -1
- package/es/constants/index.d.ts +5 -0
- package/es/constants/index.mjs +6 -6
- package/es/controller/edit-form/edit-form.controller.mjs +0 -1
- package/es/controller/editor/color-editor.controller.mjs +0 -1
- package/es/controller/editor/length-unit-editor.controller.mjs +0 -1
- package/es/controller/editor-item/editor-item.controller.mjs +0 -1
- package/es/controller/form/form.controller.mjs +5 -4
- package/es/controller/form-collapse/form-collapse.controller.mjs +4 -3
- package/es/controller/form-collapse-pane/form-collapse-pane.controller.mjs +4 -3
- package/es/controller/form-edit-item/form-edit-item.controller.d.ts +1 -0
- package/es/controller/form-edit-item/form-edit-item.controller.mjs +6 -2
- package/es/controller/form-group/form-group.controller.mjs +4 -3
- package/es/controller/form-item/form-item.controller.d.ts +1 -0
- package/es/controller/form-item/form-item.controller.mjs +7 -3
- package/es/controller/form-item-basic/form-item-basic.controller.mjs +3 -2
- package/es/controller/form-item-hidden/form-item-hidden.controller.mjs +0 -1
- package/es/controller/form-tab/form-tab.controller.mjs +4 -3
- package/es/controller/form-tab-pane/form-tab-pane.controller.mjs +4 -3
- package/es/controller/gct-form/gct-form.controller.mjs +5 -4
- package/es/create-app-vue.mjs +3 -9
- package/es/enums/app-designer/index.d.ts +13 -1
- package/es/enums/app-designer/index.mjs +8 -2
- package/es/enums/appEnum.d.ts +22 -66
- package/es/enums/appEnum.mjs +24 -15
- package/es/enums/appStateEnum.mjs +0 -1
- package/es/enums/authActionEnum.mjs +0 -1
- package/es/enums/breakpointEnum.mjs +0 -1
- package/es/enums/cacheEnum.mjs +0 -1
- package/es/enums/designEnum.d.ts +2 -2
- package/es/enums/designEnum.mjs +31 -32
- package/es/enums/developer-center/index.d.ts +1 -0
- package/es/enums/developer-center/integration.d.ts +4 -0
- package/es/enums/developer-center/integration.mjs +7 -0
- package/es/enums/exceptionEnum.mjs +0 -1
- package/es/enums/expressionEnum.d.ts +130 -0
- package/es/enums/expressionEnum.mjs +75 -0
- package/es/enums/globalEnum.d.ts +38 -0
- package/es/enums/globalEnum.mjs +25 -0
- package/es/enums/httpEnum.mjs +0 -1
- package/es/enums/index.d.ts +19 -0
- package/es/enums/index.mjs +13 -16
- package/es/enums/menuEnum.mjs +0 -1
- package/es/enums/page-designer/designer.d.ts +23 -3
- package/es/enums/page-designer/designer.mjs +90 -6
- package/es/enums/page-designer/panel.d.ts +78 -7
- package/es/enums/page-designer/panel.mjs +22 -4
- package/es/enums/page-designer/toolkit.mjs +0 -1
- package/es/enums/page-designer/widget.d.ts +2 -1
- package/es/enums/page-designer/widget.mjs +3 -3
- package/es/enums/pageEnum.mjs +0 -1
- package/es/enums/plugin-enum.mjs +0 -1
- package/es/enums/processEnum.d.ts +54 -0
- package/es/enums/processEnum.mjs +36 -2
- package/es/enums/roleEnum.mjs +0 -1
- package/es/enums/sizeEnum.mjs +0 -1
- package/es/global/gct/gct.d.ts +11 -28
- package/es/global/gct/gct.mjs +29 -32
- package/es/hooks/index.d.ts +2 -1
- package/es/hooks/use-app-inst/use-app-inst.d.ts +8 -0
- package/es/hooks/use-app-inst/use-app-inst.mjs +8 -0
- package/es/hooks/use-form/use-form.mjs +0 -1
- package/es/hooks/use-gct-form-value/use-gct-form-value.d.ts +1 -1
- package/es/hooks/use-gct-form-value/use-gct-form-value.mjs +0 -4
- package/es/hooks/use-modal/use-modal.mjs +0 -1
- package/es/hooks/use-overlay-scrollbars/use-overlay-scrollbars.d.ts +11 -0
- package/es/hooks/use-sub-app-utils/use-sub-app-utils.d.ts +31 -0
- package/es/hooks/use-sub-app-utils/use-sub-app-utils.mjs +30 -0
- package/es/hooks/useCopyToClipboard.mjs +0 -1
- package/es/index.d.ts +6 -8
- package/es/index.mjs +98 -64
- package/es/interface/controller/form-edit-item/form-edit-item.controller.d.ts +5 -0
- package/es/interface/controller/index.d.ts +0 -1
- package/es/interface/form/i-editor/i-editor-basic.d.ts +2 -2
- package/es/interface/form/i-editor/i-model-field-select-editor.d.ts +18 -0
- package/es/interface/form/i-form/i-form-collapse-pane.d.ts +4 -0
- package/es/interface/form/i-form/i-form-item-basic.d.ts +1 -1
- package/es/interface/form/i-form/i-form-tab-pane.d.ts +4 -0
- package/es/interface/form/index.d.ts +1 -0
- package/es/interface/i-app-context/i-app-context.d.ts +34 -0
- package/es/interface/i-field-code-chain/i-field-code-chain.d.ts +17 -0
- package/es/interface/i-global-var/i-global-var.d.ts +15 -0
- package/es/interface/i-mobile-home-menu-item/i-mobile-home-menu-item.d.ts +94 -0
- package/es/interface/i-pinia-action/i-global-actions.d.ts +8 -20
- package/es/interface/i-pinia-getter/i-global-getters.d.ts +1 -1
- package/es/interface/i-pinia-state/i-global-state.d.ts +7 -14
- package/es/interface/index.d.ts +5 -5
- package/es/interface/open-util/i-message-util/i-message-util.d.ts +54 -0
- package/es/interface/{i-modal → open-util/i-modal}/i-modal.d.ts +9 -10
- package/es/interface/{i-modal-data → open-util/i-modal-data}/i-modal-data.d.ts +6 -0
- package/es/interface/open-util/i-modal-options/i-modal-options.d.ts +12 -0
- package/es/interface/open-util/i-open-window-options/i-open-window-options.d.ts +59 -0
- package/es/interface/open-util/i-overlay-container/i-overlay-container.d.ts +36 -0
- package/es/interface/open-util/i-overlay-controller/i-overlay-controller.d.ts +36 -0
- package/es/interface/open-util/index.d.ts +7 -0
- package/es/interface/state/index.d.ts +0 -1
- package/es/locale/index.mjs +2 -2
- package/es/modules/env-manager/env-manager.const.mjs +0 -1
- package/es/modules/env-manager/env-manager.interface.mjs +0 -1
- package/es/modules/env-manager/env-manager.mjs +7 -8
- package/es/modules/error-handler/error-handler.const.mjs +1 -30
- package/es/modules/error-handler/error-strategy.mjs +0 -1
- package/es/modules/error-handler/index.mjs +0 -1
- package/es/modules/platform-config/constants/index.d.ts +7 -0
- package/es/modules/platform-config/constants/login.const.d.ts +15 -0
- package/es/modules/platform-config/constants/login.const.mjs +50 -0
- package/es/modules/platform-config/constants/org.const.d.ts +9 -0
- package/es/modules/platform-config/constants/org.const.mjs +54 -0
- package/es/modules/platform-config/constants/theme.const.d.ts +9 -0
- package/es/modules/platform-config/constants/theme.const.mjs +5 -0
- package/es/modules/platform-config/constants/watermark.const.d.ts +16 -0
- package/es/modules/platform-config/constants/watermark.const.mjs +14 -0
- package/es/modules/platform-config/enums/deploy.enum.d.ts +10 -0
- package/es/modules/platform-config/enums/deploy.enum.mjs +7 -0
- package/es/modules/platform-config/enums/index.d.ts +6 -0
- package/es/modules/platform-config/{constants.d.ts → enums/login.enum.d.ts} +3 -7
- package/es/modules/platform-config/enums/login.enum.mjs +16 -0
- package/es/modules/platform-config/enums/platform.enum.d.ts +27 -0
- package/es/modules/platform-config/enums/platform.enum.mjs +26 -0
- package/es/modules/platform-config/index.d.ts +6 -17
- package/es/modules/platform-config/interfaces/global-setting.interface.d.ts +7 -0
- package/es/modules/platform-config/interfaces/index.d.ts +7 -0
- package/es/modules/platform-config/interfaces/login-config.interface.d.ts +17 -0
- package/es/modules/platform-config/interfaces/platform-map.interface.d.ts +8 -0
- package/es/modules/platform-config/interfaces/theme-setting.interface.d.ts +30 -0
- package/es/modules/platform-config/store.d.ts +221 -0
- package/es/modules/platform-config/store.mjs +78 -0
- package/es/modules/platform-config/useBasicSetting.d.ts +6 -2
- package/es/modules/platform-config/useBasicSetting.mjs +39 -0
- package/es/modules/platform-config/useDeploySetting.d.ts +9 -4
- package/es/modules/platform-config/useDeploySetting.mjs +27 -0
- package/es/modules/platform-config/useLoginSetting.d.ts +4 -14
- package/es/modules/platform-config/useLoginSetting.mjs +177 -0
- package/es/modules/platform-config/useOrgSetting.d.ts +5 -1
- package/es/modules/platform-config/useOrgSetting.mjs +66 -0
- package/es/modules/platform-config/useProjectSetting.d.ts +12 -0
- package/es/modules/platform-config/useProjectSetting.mjs +11 -0
- package/es/modules/platform-config/useSecuritySetting.d.ts +5 -1
- package/es/modules/platform-config/useSecuritySetting.mjs +60 -0
- package/es/modules/platform-config/useThemeSetting.d.ts +6 -3
- package/es/modules/platform-config/useThemeSetting.mjs +64 -0
- package/es/modules/platform-config/useWatermarkSetting.d.ts +4 -1
- package/es/modules/platform-config/useWatermarkSetting.mjs +26 -0
- package/es/modules/user-stores/index.d.ts +3 -0
- package/es/modules/user-stores/store/permission.store.d.ts +21 -0
- package/es/modules/user-stores/store/permission.store.mjs +38 -0
- package/es/modules/user-stores/store/tenant.store.d.ts +9 -0
- package/es/modules/user-stores/store/tenant.store.mjs +24 -0
- package/es/modules/user-stores/store/user.store.d.ts +154 -0
- package/es/modules/user-stores/store/user.store.mjs +107 -0
- package/es/modules/user-stores/types/permission.d.ts +1 -0
- package/es/modules/user-stores/types/tenant.d.ts +1 -0
- package/es/modules/user-stores/types/user.d.ts +14 -0
- package/es/register/editor-register/editor-register.d.ts +5 -13
- package/es/register/editor-register/editor-register.mjs +8 -17
- package/es/register/form-item-register/form-item-register.d.ts +4 -15
- package/es/register/form-item-register/form-item-register.mjs +7 -17
- package/es/register/index.d.ts +12 -2
- package/es/router/index.mjs +0 -1
- package/es/setup-app.d.ts +8 -0
- package/es/setup-app.mjs +30 -0
- package/es/state/form/form.state.mjs +0 -1
- package/es/state/form-collapse/form-collapse.state.mjs +0 -1
- package/es/state/form-collapse-pane/form-collapse-pane.state.mjs +0 -1
- package/es/state/form-edit-item/form-edit-item.state.mjs +0 -1
- package/es/state/form-group/form-group.state.mjs +0 -1
- package/es/state/form-item/form-item.state.mjs +0 -1
- package/es/state/form-item-basic/form-item-basic.state.mjs +0 -1
- package/es/state/form-tab/form-tab.state.mjs +0 -1
- package/es/state/form-tab-pane/form-tab-pane.state.mjs +0 -1
- package/es/state/global-pinia-state/global-pinia-state.d.ts +8 -25
- package/es/state/global-pinia-state/global-pinia-state.mjs +30 -16
- package/es/store/global-store.d.ts +1 -0
- package/es/store/global-store.mjs +40 -37
- package/es/store/index.d.ts +2 -3
- package/es/store/index.mjs +0 -1
- package/es/types/index.d.ts +18 -1
- package/es/utils/axios/interceptors.mjs +2 -23
- package/es/utils/cache-adapter/cache-adapter.d.ts +2 -0
- package/es/utils/cache-adapter/cache-adapter.mjs +59 -0
- package/es/utils/deviceFingerprint.d.ts +17 -0
- package/es/utils/deviceFingerprint.mjs +73 -0
- package/es/utils/dictionary/dictionary.mjs +0 -1
- package/es/utils/i18n/index.d.ts +2 -1
- package/es/utils/i18n/index.mjs +3 -4
- package/es/utils/index.d.ts +17 -3
- package/es/utils/linked-list/linked-list.d.ts +72 -0
- package/es/utils/linked-list/linked-list.mjs +119 -0
- package/es/utils/linked-node/linked-node.d.ts +31 -0
- package/es/utils/linked-node/linked-node.mjs +32 -0
- package/es/utils/lowcode/utils.d.ts +1 -0
- package/es/utils/lowcode/utils.mjs +20 -0
- package/es/utils/lowcode/validate.d.ts +13 -0
- package/es/utils/lowcode/validate.mjs +29 -0
- package/es/utils/mitt/mitt.d.ts +1 -0
- package/es/utils/mitt/mitt.mjs +5 -0
- package/es/utils/model-loader/model-loader.d.ts +118 -0
- package/es/utils/model-loader/model-loader.mjs +326 -0
- package/es/utils/namespace/namespace.d.ts +8 -0
- package/es/utils/namespace/namespace.mjs +4 -2
- package/es/utils/openUtil/index.d.ts +2 -0
- package/es/utils/openUtil/modal/modal.d.ts +61 -0
- package/es/utils/openUtil/modal/modal.mjs +80 -0
- package/es/utils/openUtil/overlay-container/overlay-container.d.ts +100 -0
- package/es/utils/openUtil/overlay-container/overlay-container.mjs +139 -0
- package/es/utils/plugin-static-resource/plugin-static-resource.mjs +0 -1
- package/es/utils/props/gct-form-item/gct-form-item.props.d.ts +63 -0
- package/es/utils/props/gct-form-item/gct-form-item.props.mjs +66 -0
- package/es/utils/props/index.d.ts +1 -0
- package/es/utils/style/index.d.ts +16 -0
- package/es/utils/style/index.mjs +141 -0
- package/es/utils/tools/tools.d.ts +13 -10
- package/es/utils/tools/tools.mjs +23 -11
- package/es/utils/treeHelper/treeHelper.d.ts +124 -0
- package/es/utils/treeHelper/treeHelper.mjs +234 -0
- package/es/utils/util.d.ts +39 -0
- package/es/utils/util.mjs +40 -0
- package/es/utils/uuid/uuid.d.ts +3 -0
- package/es/utils/uuid/uuid.mjs +48 -0
- package/es/utils/value-helper/value-helper.d.ts +49 -0
- package/es/utils/value-helper/value-helper.mjs +111 -0
- package/es/utils/width-install/width-install.mjs +4 -2
- package/package.json +13 -16
- package/es/controller/index.mjs +0 -17
- package/es/enums/page-designer/index.mjs +0 -6
- package/es/global/index.mjs +0 -3
- package/es/hooks/index.mjs +0 -7
- package/es/hooks/use-namespace/use-namespace.d.ts +0 -9
- package/es/hooks/use-namespace/use-namespace.mjs +0 -9
- package/es/interface/controller/i-designer-controller.d.ts +0 -116
- package/es/interface/hooks/i-designer-hooks.d.ts +0 -26
- package/es/interface/hooks/index.d.ts +0 -1
- package/es/interface/i-message-util/i-message-util.d.ts +0 -78
- package/es/interface/index.mjs +0 -1
- package/es/interface/low-code-types/index.d.ts +0 -4
- package/es/interface/low-code-types/modal-types.d.ts +0 -67
- package/es/interface/low-code-types/model/index.d.ts +0 -5338
- package/es/interface/low-code-types/schema/index.d.ts +0 -12
- package/es/interface/low-code-types/widget-basic-types.d.ts +0 -667
- package/es/interface/state/i-designer-state.d.ts +0 -27
- package/es/modules/env-manager/index.mjs +0 -5
- package/es/modules/platform-config/index.mjs +0 -17
- package/es/modules/platform-config/types.d.ts +0 -67
- package/es/provider/i-designer-provider/i-designer-provider.d.ts +0 -102
- package/es/provider/index.d.ts +0 -1
- package/es/provider/index.mjs +0 -1
- package/es/register/designer-register/designer-register.d.ts +0 -53
- package/es/register/designer-register/designer-register.mjs +0 -68
- package/es/register/index.mjs +0 -6
- package/es/register/render-register/render-register.d.ts +0 -59
- package/es/register/render-register/render-register.mjs +0 -64
- package/es/state/index.mjs +0 -12
- package/es/utils/index.mjs +0 -10
- package/es/utils/plugin-pkg-util/plugin-pkg-util.d.ts +0 -96
- package/es/utils/plugin-pkg-util/plugin-pkg-util.mjs +0 -260
|
@@ -16,5 +16,6 @@ export declare class FormItemController extends FormEditItemController implement
|
|
|
16
16
|
state: IFormItemState;
|
|
17
17
|
loadDictionary(params?: IParams): Promise<IDictionaryItem[]>;
|
|
18
18
|
clearDictionary(): void;
|
|
19
|
+
blur(): void;
|
|
19
20
|
protected crateItemState(): IFormItemState;
|
|
20
21
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import '../../
|
|
2
|
-
import
|
|
1
|
+
import '../../enums/app-designer/index.mjs';
|
|
2
|
+
import '../../enums/page-designer/designer.mjs';
|
|
3
|
+
import '../../enums/breakpointEnum.mjs';
|
|
3
4
|
import { FormItemState } from '../../state/form-item/form-item.state.mjs';
|
|
5
|
+
import { FormEditItemController } from '../form-edit-item/form-edit-item.controller.mjs';
|
|
4
6
|
|
|
5
|
-
"use strict";
|
|
6
7
|
class FormItemController extends FormEditItemController {
|
|
7
8
|
type = "item";
|
|
8
9
|
async loadDictionary(params) {
|
|
@@ -31,6 +32,9 @@ class FormItemController extends FormEditItemController {
|
|
|
31
32
|
clearDictionary() {
|
|
32
33
|
this.state.options = [];
|
|
33
34
|
}
|
|
35
|
+
blur() {
|
|
36
|
+
console.warn("FormEditItemController.blur not implemented");
|
|
37
|
+
}
|
|
34
38
|
crateItemState() {
|
|
35
39
|
return new FormItemState();
|
|
36
40
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { reactive } from 'vue';
|
|
2
|
-
import '../../
|
|
2
|
+
import '../../enums/app-designer/index.mjs';
|
|
3
|
+
import '../../enums/page-designer/designer.mjs';
|
|
4
|
+
import '../../enums/breakpointEnum.mjs';
|
|
3
5
|
import { FormItemBasicState } from '../../state/form-item-basic/form-item-basic.state.mjs';
|
|
4
6
|
|
|
5
|
-
"use strict";
|
|
6
7
|
class FormItemBasicController {
|
|
7
8
|
/**
|
|
8
9
|
* Creates an instance of FormItemBasicController.
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import '../../
|
|
2
|
-
import
|
|
1
|
+
import '../../enums/app-designer/index.mjs';
|
|
2
|
+
import '../../enums/page-designer/designer.mjs';
|
|
3
|
+
import '../../enums/breakpointEnum.mjs';
|
|
3
4
|
import { FormTabState } from '../../state/form-tab/form-tab.state.mjs';
|
|
5
|
+
import { FormItemBasicController } from '../form-item-basic/form-item-basic.controller.mjs';
|
|
4
6
|
|
|
5
|
-
"use strict";
|
|
6
7
|
class FormTabController extends FormItemBasicController {
|
|
7
8
|
type = "tab";
|
|
8
9
|
crateItemState() {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import '../../
|
|
2
|
-
import
|
|
1
|
+
import '../../enums/app-designer/index.mjs';
|
|
2
|
+
import '../../enums/page-designer/designer.mjs';
|
|
3
|
+
import '../../enums/breakpointEnum.mjs';
|
|
3
4
|
import { FormTabPaneState } from '../../state/form-tab-pane/form-tab-pane.state.mjs';
|
|
5
|
+
import { FormItemBasicController } from '../form-item-basic/form-item-basic.controller.mjs';
|
|
4
6
|
|
|
5
|
-
"use strict";
|
|
6
7
|
class FormTabPaneController extends FormItemBasicController {
|
|
7
8
|
type = "tab-pane";
|
|
8
9
|
crateItemState() {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import '../../
|
|
2
|
-
import
|
|
1
|
+
import '../../enums/app-designer/index.mjs';
|
|
2
|
+
import '../../enums/page-designer/designer.mjs';
|
|
3
|
+
import '../../enums/breakpointEnum.mjs';
|
|
3
4
|
import { FormState } from '../../state/form/form.state.mjs';
|
|
5
|
+
import { QXEvent } from 'qx-util';
|
|
4
6
|
|
|
5
|
-
"use strict";
|
|
6
7
|
class GctFormController {
|
|
7
8
|
constructor(model) {
|
|
8
9
|
this.model = model;
|
|
@@ -93,7 +94,7 @@ class GctFormController {
|
|
|
93
94
|
provider = _gct.register.formItem.create(model.type);
|
|
94
95
|
}
|
|
95
96
|
if (!provider) {
|
|
96
|
-
console.error(
|
|
97
|
+
console.error(`未找到表单项提供者:${model.type}`, model);
|
|
97
98
|
return;
|
|
98
99
|
}
|
|
99
100
|
this.provider[model.name] = provider;
|
package/es/create-app-vue.mjs
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { platformConfig } from './modules/platform-config/index.mjs';
|
|
1
|
+
import 'vue';
|
|
3
2
|
import { setupI18n } from './locale/index.mjs';
|
|
4
3
|
import { setupRouter } from './router/index.mjs';
|
|
5
|
-
import {
|
|
6
|
-
import { interceptors } from './utils/axios/interceptors.mjs';
|
|
4
|
+
import { APP_INST } from './constants/index.mjs';
|
|
7
5
|
|
|
8
|
-
"use strict";
|
|
9
6
|
async function createAppVue(app) {
|
|
10
|
-
|
|
11
|
-
HttpUtil.use(interceptors);
|
|
7
|
+
app.provide(APP_INST, app);
|
|
12
8
|
setupI18n(app);
|
|
13
9
|
setupRouter(app);
|
|
14
|
-
await _gct.init();
|
|
15
|
-
await platformConfig.init();
|
|
16
10
|
}
|
|
17
11
|
|
|
18
12
|
export { createAppVue };
|
|
@@ -21,7 +21,13 @@ export declare enum EntityModelCategoryEnum {
|
|
|
21
21
|
/** 数据模型 */
|
|
22
22
|
DATA = "data",
|
|
23
23
|
/** 视图模型*/
|
|
24
|
-
VIEW = "view"
|
|
24
|
+
VIEW = "view",
|
|
25
|
+
/** 表单模型 */
|
|
26
|
+
FORM = "form",
|
|
27
|
+
/**
|
|
28
|
+
* 数据集模式
|
|
29
|
+
*/
|
|
30
|
+
DATA_SET = "dataSet"
|
|
25
31
|
}
|
|
26
32
|
/**
|
|
27
33
|
* 实体模型类型
|
|
@@ -78,3 +84,9 @@ export declare enum scriptTypeEnum {
|
|
|
78
84
|
/**定时器 */
|
|
79
85
|
TIMER = "timer"
|
|
80
86
|
}
|
|
87
|
+
export declare enum pageLayoutModeEnum {
|
|
88
|
+
/**适配浏览器高度 内部滚动*/
|
|
89
|
+
SHOW_BOX_SCROLL = "showBoxScroll",
|
|
90
|
+
/**展示所有数据 外部滚动*/
|
|
91
|
+
SHOW_ALL_DATA = "showAllData"
|
|
92
|
+
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FIELD_TYPE } from '../appEnum.mjs';
|
|
2
2
|
|
|
3
|
-
"use strict";
|
|
4
3
|
const SHOW_FIELDTYPES = [
|
|
5
4
|
FIELD_TYPE.TEXT,
|
|
6
5
|
FIELD_TYPE.LONG_TEXT,
|
|
@@ -21,6 +20,8 @@ var EntityModelCategoryEnum = /* @__PURE__ */ ((EntityModelCategoryEnum2) => {
|
|
|
21
20
|
EntityModelCategoryEnum2["ENTITY"] = "entity";
|
|
22
21
|
EntityModelCategoryEnum2["DATA"] = "data";
|
|
23
22
|
EntityModelCategoryEnum2["VIEW"] = "view";
|
|
23
|
+
EntityModelCategoryEnum2["FORM"] = "form";
|
|
24
|
+
EntityModelCategoryEnum2["DATA_SET"] = "dataSet";
|
|
24
25
|
return EntityModelCategoryEnum2;
|
|
25
26
|
})(EntityModelCategoryEnum || {});
|
|
26
27
|
var EntityModelTypeEnum = /* @__PURE__ */ ((EntityModelTypeEnum2) => {
|
|
@@ -54,5 +55,10 @@ var scriptTypeEnum = /* @__PURE__ */ ((scriptTypeEnum2) => {
|
|
|
54
55
|
scriptTypeEnum2["TIMER"] = "timer";
|
|
55
56
|
return scriptTypeEnum2;
|
|
56
57
|
})(scriptTypeEnum || {});
|
|
58
|
+
var pageLayoutModeEnum = /* @__PURE__ */ ((pageLayoutModeEnum2) => {
|
|
59
|
+
pageLayoutModeEnum2["SHOW_BOX_SCROLL"] = "showBoxScroll";
|
|
60
|
+
pageLayoutModeEnum2["SHOW_ALL_DATA"] = "showAllData";
|
|
61
|
+
return pageLayoutModeEnum2;
|
|
62
|
+
})(pageLayoutModeEnum || {});
|
|
57
63
|
|
|
58
|
-
export { EntityModelCategoryEnum, EntityModelTypeEnum, FieldDefaultValueTypeEnum, FieldSysVarDefaultValueEnum, SHOW_FIELDTYPES, UserServiceType, scriptTypeEnum };
|
|
64
|
+
export { EntityModelCategoryEnum, EntityModelTypeEnum, FieldDefaultValueTypeEnum, FieldSysVarDefaultValueEnum, SHOW_FIELDTYPES, UserServiceType, pageLayoutModeEnum, scriptTypeEnum };
|
package/es/enums/appEnum.d.ts
CHANGED
|
@@ -260,7 +260,8 @@ export declare enum FIELD_TYPE {
|
|
|
260
260
|
/**
|
|
261
261
|
* 业务流
|
|
262
262
|
*/
|
|
263
|
-
Biz_Process = "biz_process"
|
|
263
|
+
Biz_Process = "biz_process",
|
|
264
|
+
TENANT = "tenant"
|
|
264
265
|
}
|
|
265
266
|
export declare enum FIELD_TYPE_BASIC {
|
|
266
267
|
/**
|
|
@@ -442,7 +443,7 @@ export declare enum FIELD_TYPE_TRACE {
|
|
|
442
443
|
PRODUCT = "product",
|
|
443
444
|
DEVICE = "device"
|
|
444
445
|
}
|
|
445
|
-
export declare const FieldTypeToJs: Record<FIELD_TYPE, string>;
|
|
446
|
+
export declare const FieldTypeToJs: Record<FIELD_TYPE | string, string>;
|
|
446
447
|
export declare enum CreateType {
|
|
447
448
|
/** 系统字段 */
|
|
448
449
|
SYSTEM = "SYSTEM",
|
|
@@ -486,57 +487,7 @@ export declare enum MaterialEnum {
|
|
|
486
487
|
DescriptionsFormField = "descriptions"
|
|
487
488
|
}
|
|
488
489
|
/** 字段类型关联 icon */
|
|
489
|
-
export declare const FieldIconMap:
|
|
490
|
-
primary_key: string;
|
|
491
|
-
text: string;
|
|
492
|
-
long_text: string;
|
|
493
|
-
integer: string;
|
|
494
|
-
long: string;
|
|
495
|
-
decimal: string;
|
|
496
|
-
double: string;
|
|
497
|
-
boolean: string;
|
|
498
|
-
date: string;
|
|
499
|
-
time: string;
|
|
500
|
-
date_time: string;
|
|
501
|
-
user: string;
|
|
502
|
-
org: string;
|
|
503
|
-
user_multi: string;
|
|
504
|
-
org_multi: string;
|
|
505
|
-
image: string;
|
|
506
|
-
attachment: string;
|
|
507
|
-
serial_number: string;
|
|
508
|
-
master_slave: string;
|
|
509
|
-
enum: string;
|
|
510
|
-
ref: string;
|
|
511
|
-
rdo_ref: string;
|
|
512
|
-
enum_multi: string;
|
|
513
|
-
option: string;
|
|
514
|
-
option_multi: string;
|
|
515
|
-
ref_multi: string;
|
|
516
|
-
expression: string;
|
|
517
|
-
expression_condition: string;
|
|
518
|
-
agg: string;
|
|
519
|
-
esop: string;
|
|
520
|
-
transaction: string;
|
|
521
|
-
serial_number_rule: string;
|
|
522
|
-
printer: string;
|
|
523
|
-
message_tmpl: string;
|
|
524
|
-
range_user: string;
|
|
525
|
-
label_template_ref: string;
|
|
526
|
-
document_template: string;
|
|
527
|
-
electronic_signature: string;
|
|
528
|
-
online_form_tmpl: string;
|
|
529
|
-
edhr_tmpl: string;
|
|
530
|
-
online_form: string;
|
|
531
|
-
data_table_formula: string;
|
|
532
|
-
readonlycmp: string;
|
|
533
|
-
tenant: string;
|
|
534
|
-
associated_primary_key: string;
|
|
535
|
-
material_no: string;
|
|
536
|
-
product: string;
|
|
537
|
-
device: string;
|
|
538
|
-
biz_process: string;
|
|
539
|
-
};
|
|
490
|
+
export declare const FieldIconMap: Record<FIELD_TYPE, string>;
|
|
540
491
|
export declare enum AggTypes {
|
|
541
492
|
COUNT = "COUNT",
|
|
542
493
|
SUM = "SUM",
|
|
@@ -554,7 +505,7 @@ export declare enum selectionTypeEnums {
|
|
|
554
505
|
MultipleChoice = "checkbox"
|
|
555
506
|
}
|
|
556
507
|
/** 是否唯一配置参数类型 */
|
|
557
|
-
export declare
|
|
508
|
+
export declare enum UniqueConstraintType {
|
|
558
509
|
/** 无 */
|
|
559
510
|
NONE = "NONE",
|
|
560
511
|
/** 全局唯一 */
|
|
@@ -564,20 +515,20 @@ export declare const enum UniqueConstraintType {
|
|
|
564
515
|
/** 逻辑唯一 */
|
|
565
516
|
LOGIC = "LOGIC"
|
|
566
517
|
}
|
|
567
|
-
export declare const
|
|
518
|
+
export declare const MessageType: {
|
|
568
519
|
/**全部 */
|
|
569
|
-
ALL
|
|
520
|
+
readonly ALL: "all";
|
|
570
521
|
/**未读 */
|
|
571
|
-
UNREAD
|
|
572
|
-
}
|
|
573
|
-
export declare const
|
|
522
|
+
readonly UNREAD: "unread";
|
|
523
|
+
};
|
|
524
|
+
export declare const WorkbenchType: {
|
|
574
525
|
/**全部 */
|
|
575
|
-
TEST
|
|
526
|
+
readonly TEST: "myTestApp";
|
|
576
527
|
/**未读 */
|
|
577
|
-
QUICK
|
|
578
|
-
MY
|
|
579
|
-
}
|
|
580
|
-
export declare
|
|
528
|
+
readonly QUICK: "quickAccess";
|
|
529
|
+
readonly MY: "myApp";
|
|
530
|
+
};
|
|
531
|
+
export declare enum PersonalCenterType {
|
|
581
532
|
/**头像 */
|
|
582
533
|
PROFILE = "profile",
|
|
583
534
|
/**性别 */
|
|
@@ -585,7 +536,7 @@ export declare const enum PersonalCenterType {
|
|
|
585
536
|
/**企业 */
|
|
586
537
|
ENTERPRISE = "enterprise"
|
|
587
538
|
}
|
|
588
|
-
export declare
|
|
539
|
+
export declare enum GENDER_TYPE {
|
|
589
540
|
/**女 */
|
|
590
541
|
FEMALE = "female",
|
|
591
542
|
/**男 */
|
|
@@ -593,7 +544,7 @@ export declare const enum GENDER_TYPE {
|
|
|
593
544
|
/**保密 */
|
|
594
545
|
PRIVARY = "privary"
|
|
595
546
|
}
|
|
596
|
-
export declare
|
|
547
|
+
export declare enum TODO_TYPE {
|
|
597
548
|
/**我的待办 */
|
|
598
549
|
TODO = "todo",
|
|
599
550
|
/**我的申请 */
|
|
@@ -603,3 +554,8 @@ export declare const enum TODO_TYPE {
|
|
|
603
554
|
/**委托设置 */
|
|
604
555
|
DELEGATE = "delegate"
|
|
605
556
|
}
|
|
557
|
+
/**卡片触发方式 */
|
|
558
|
+
export declare enum CARD_TRIGGER_ENUM {
|
|
559
|
+
HOVER = "hover",
|
|
560
|
+
CLICK = "click"
|
|
561
|
+
}
|
package/es/enums/appEnum.mjs
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
const SIDE_BAR_MINI_WIDTH = 48;
|
|
3
2
|
const SIDE_BAR_SHOW_TIT_MINI_WIDTH = 80;
|
|
4
3
|
var ContentEnum = /* @__PURE__ */ ((ContentEnum2) => {
|
|
@@ -106,6 +105,7 @@ var FIELD_TYPE = /* @__PURE__ */ ((FIELD_TYPE2) => {
|
|
|
106
105
|
FIELD_TYPE2["PRODUCT"] = "product";
|
|
107
106
|
FIELD_TYPE2["DEVICE"] = "device";
|
|
108
107
|
FIELD_TYPE2["Biz_Process"] = "biz_process";
|
|
108
|
+
FIELD_TYPE2["TENANT"] = "tenant";
|
|
109
109
|
return FIELD_TYPE2;
|
|
110
110
|
})(FIELD_TYPE || {});
|
|
111
111
|
var FIELD_TYPE_BASIC = /* @__PURE__ */ ((FIELD_TYPE_BASIC2) => {
|
|
@@ -211,7 +211,8 @@ const FieldTypeToJs = {
|
|
|
211
211
|
["edhr_tmpl" /* E_DHR_TEMPLATE */]: "string",
|
|
212
212
|
["online_form" /* ONLINE_FORM */]: "string",
|
|
213
213
|
["data_table_formula" /* DATA_TABLE_FORMULA */]: "string",
|
|
214
|
-
["biz_process" /* Biz_Process */]: "string"
|
|
214
|
+
["biz_process" /* Biz_Process */]: "string",
|
|
215
|
+
["tenant" /* TENANT */]: "string"
|
|
215
216
|
};
|
|
216
217
|
var CreateType = /* @__PURE__ */ ((CreateType2) => {
|
|
217
218
|
CreateType2["SYSTEM"] = "SYSTEM";
|
|
@@ -281,6 +282,7 @@ const FieldIconMap = {
|
|
|
281
282
|
["printer" /* PRINTER */]: "icon-dayinanniu",
|
|
282
283
|
["message_tmpl" /* MESSAGE_TMPL */]: "icon-xiaoximoban",
|
|
283
284
|
["range_user" /* RANGE_USER */]: "icon-fanweirenyuan",
|
|
285
|
+
["label_template" /* LABEL_TEMPLATE */]: "icon-biaoqianmoban",
|
|
284
286
|
["label_template_ref" /* LABEL_TEMPLATE_REF */]: "icon-biaoqianmoban",
|
|
285
287
|
["document_template" /* DOCUMENT_TEMPLATE */]: "icon-danjumoban",
|
|
286
288
|
["electronic_signature" /* SIGNATURE */]: "icon-qianming1",
|
|
@@ -289,7 +291,7 @@ const FieldIconMap = {
|
|
|
289
291
|
["online_form" /* ONLINE_FORM */]: "icon-zaixianbiaodan",
|
|
290
292
|
["data_table_formula" /* DATA_TABLE_FORMULA */]: "icon-gongshiziduan",
|
|
291
293
|
["readonlycmp" /* READONLYCMP */]: "icon-wenben1",
|
|
292
|
-
["tenant"]: "icon-id",
|
|
294
|
+
["tenant" /* TENANT */]: "icon-id",
|
|
293
295
|
["associated_primary_key" /* ASSOCIATED_PRIMARY_KEY */]: "icon-id",
|
|
294
296
|
["material_no" /* MATERIAL_NO */]: "icon-field-material-no",
|
|
295
297
|
["product" /* PRODUCT */]: "icon-field-product",
|
|
@@ -322,17 +324,19 @@ var UniqueConstraintType = /* @__PURE__ */ ((UniqueConstraintType2) => {
|
|
|
322
324
|
UniqueConstraintType2["LOGIC"] = "LOGIC";
|
|
323
325
|
return UniqueConstraintType2;
|
|
324
326
|
})(UniqueConstraintType || {});
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
327
|
+
const MessageType = {
|
|
328
|
+
/**全部 */
|
|
329
|
+
ALL: "all",
|
|
330
|
+
/**未读 */
|
|
331
|
+
UNREAD: "unread"
|
|
332
|
+
};
|
|
333
|
+
const WorkbenchType = {
|
|
334
|
+
/**全部 */
|
|
335
|
+
TEST: "myTestApp",
|
|
336
|
+
/**未读 */
|
|
337
|
+
QUICK: "quickAccess",
|
|
338
|
+
MY: "myApp"
|
|
339
|
+
};
|
|
336
340
|
var PersonalCenterType = /* @__PURE__ */ ((PersonalCenterType2) => {
|
|
337
341
|
PersonalCenterType2["PROFILE"] = "profile";
|
|
338
342
|
PersonalCenterType2["GENDER"] = "gender";
|
|
@@ -352,5 +356,10 @@ var TODO_TYPE = /* @__PURE__ */ ((TODO_TYPE2) => {
|
|
|
352
356
|
TODO_TYPE2["DELEGATE"] = "delegate";
|
|
353
357
|
return TODO_TYPE2;
|
|
354
358
|
})(TODO_TYPE || {});
|
|
359
|
+
var CARD_TRIGGER_ENUM = /* @__PURE__ */ ((CARD_TRIGGER_ENUM2) => {
|
|
360
|
+
CARD_TRIGGER_ENUM2["HOVER"] = "hover";
|
|
361
|
+
CARD_TRIGGER_ENUM2["CLICK"] = "click";
|
|
362
|
+
return CARD_TRIGGER_ENUM2;
|
|
363
|
+
})(CARD_TRIGGER_ENUM || {});
|
|
355
364
|
|
|
356
|
-
export { AggTypes, ContentEnum, CreateType, FIELD_TYPE, FIELD_TYPE_BASIC, FIELD_TYPE_CATEGORY, FIELD_TYPE_LOGIC, FIELD_TYPE_TRACE, FieldIconMap, FieldTypeToJs, GENDER_TYPE, MaterialEnum, MenuType, MessageType, NodesConfigTypeEnum, OpenMode, PermissionModeEnum, PersonalCenterType, ProjectName, RouterTransitionEnum, SIDE_BAR_MINI_WIDTH, SIDE_BAR_SHOW_TIT_MINI_WIDTH, SessionTimeoutProcessingEnum, SettingButtonPositionEnum, TODO_TYPE, ThemeEnum, UniqueConstraintType, WorkbenchType, selectionTypeEnums };
|
|
365
|
+
export { AggTypes, CARD_TRIGGER_ENUM, ContentEnum, CreateType, FIELD_TYPE, FIELD_TYPE_BASIC, FIELD_TYPE_CATEGORY, FIELD_TYPE_LOGIC, FIELD_TYPE_TRACE, FieldIconMap, FieldTypeToJs, GENDER_TYPE, MaterialEnum, MenuType, MessageType, NodesConfigTypeEnum, OpenMode, PermissionModeEnum, PersonalCenterType, ProjectName, RouterTransitionEnum, SIDE_BAR_MINI_WIDTH, SIDE_BAR_SHOW_TIT_MINI_WIDTH, SessionTimeoutProcessingEnum, SettingButtonPositionEnum, TODO_TYPE, ThemeEnum, UniqueConstraintType, WorkbenchType, selectionTypeEnums };
|
package/es/enums/cacheEnum.mjs
CHANGED
package/es/enums/designEnum.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum
|
|
1
|
+
export declare enum SEARCH_SERVICE {
|
|
2
2
|
/** 等于 */
|
|
3
3
|
EQ = "eq",
|
|
4
4
|
/** 等于(忽略大小写) */
|
|
@@ -54,7 +54,7 @@ export declare enum SEARCH_SEVICE {
|
|
|
54
54
|
/**rdo 在集合中*/
|
|
55
55
|
VERSIONIN = "versionIn"
|
|
56
56
|
}
|
|
57
|
-
export declare const notSingleArr:
|
|
57
|
+
export declare const notSingleArr: SEARCH_SERVICE[];
|
|
58
58
|
/**设计页面对齐方式 */
|
|
59
59
|
export declare enum AGLINE_ENUMS {
|
|
60
60
|
LEFT = "left",
|
package/es/enums/designEnum.mjs
CHANGED
|
@@ -1,34 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
})(SEARCH_SEVICE || {});
|
|
1
|
+
var SEARCH_SERVICE = /* @__PURE__ */ ((SEARCH_SERVICE2) => {
|
|
2
|
+
SEARCH_SERVICE2["EQ"] = "eq";
|
|
3
|
+
SEARCH_SERVICE2["IEQ"] = "iEq";
|
|
4
|
+
SEARCH_SERVICE2["NE"] = "ne";
|
|
5
|
+
SEARCH_SERVICE2["INE"] = "ine";
|
|
6
|
+
SEARCH_SERVICE2["GT"] = "gt";
|
|
7
|
+
SEARCH_SERVICE2["GE"] = "ge";
|
|
8
|
+
SEARCH_SERVICE2["LT"] = "lt";
|
|
9
|
+
SEARCH_SERVICE2["LE"] = "le";
|
|
10
|
+
SEARCH_SERVICE2["ISNULL"] = "isNull";
|
|
11
|
+
SEARCH_SERVICE2["ISNOTNULL"] = "isNotNull";
|
|
12
|
+
SEARCH_SERVICE2["LIKE"] = "like";
|
|
13
|
+
SEARCH_SERVICE2["ILIKE"] = "iLike";
|
|
14
|
+
SEARCH_SERVICE2["NOTLIKE"] = "notLike";
|
|
15
|
+
SEARCH_SERVICE2["NOTILIKE"] = "iNotLike";
|
|
16
|
+
SEARCH_SERVICE2["LEFTLIKE"] = "leftLike";
|
|
17
|
+
SEARCH_SERVICE2["ILEFTLIKE"] = "iLeftLike";
|
|
18
|
+
SEARCH_SERVICE2["RIGHTLIKE"] = "rightLike";
|
|
19
|
+
SEARCH_SERVICE2["IRIGHTLIKE"] = "iRightLike";
|
|
20
|
+
SEARCH_SERVICE2["IN"] = "in";
|
|
21
|
+
SEARCH_SERVICE2["NOTIN"] = "notIn";
|
|
22
|
+
SEARCH_SERVICE2["CONTAINANY"] = "containAny";
|
|
23
|
+
SEARCH_SERVICE2["CONTAINALL"] = "containAll";
|
|
24
|
+
SEARCH_SERVICE2["RANGE"] = "range";
|
|
25
|
+
SEARCH_SERVICE2["ORANGE"] = "oRange";
|
|
26
|
+
SEARCH_SERVICE2["LORANGE"] = "loRange";
|
|
27
|
+
SEARCH_SERVICE2["RORANGE"] = "roRange";
|
|
28
|
+
SEARCH_SERVICE2["VERSIONIN"] = "versionIn";
|
|
29
|
+
return SEARCH_SERVICE2;
|
|
30
|
+
})(SEARCH_SERVICE || {});
|
|
32
31
|
const notSingleArr = [
|
|
33
32
|
"in" /* IN */,
|
|
34
33
|
"notIn" /* NOTIN */,
|
|
@@ -69,4 +68,4 @@ var RdoButtonOpeEnum = /* @__PURE__ */ ((RdoButtonOpeEnum2) => {
|
|
|
69
68
|
return RdoButtonOpeEnum2;
|
|
70
69
|
})(RdoButtonOpeEnum || {});
|
|
71
70
|
|
|
72
|
-
export { AGLINE_ENUMS, ButtonOpeEnum, RdoButtonOpeEnum,
|
|
71
|
+
export { AGLINE_ENUMS, ButtonOpeEnum, RdoButtonOpeEnum, SEARCH_SERVICE, notSingleArr, presetColor };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './integration';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
var PrintResourceEnum = /* @__PURE__ */ ((PrintResourceEnum2) => {
|
|
2
|
+
PrintResourceEnum2["CLIENT_PRINT"] = "CLIENT_PRINT";
|
|
3
|
+
PrintResourceEnum2["INTERNET_PRINT"] = "INTERNET_PRINT";
|
|
4
|
+
return PrintResourceEnum2;
|
|
5
|
+
})(PrintResourceEnum || {});
|
|
6
|
+
|
|
7
|
+
export { PrintResourceEnum };
|