@gct-paas/core 0.1.4-dev.10 → 0.1.4-dev.12
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.js +21679 -0
- package/es/constants/core.mjs +5 -4
- package/es/constants/default-date-type/default-date-type.d.ts +70 -0
- package/es/constants/default-date-type/default-date-type.mjs +74 -0
- package/es/constants/editor-register/editor-register.mjs +17 -5
- package/es/constants/expression-type/BuiltOperators.mjs +152 -145
- package/es/constants/expression-type/FunctionKeys.mjs +75 -79
- package/es/constants/expression-type/editor.mjs +10 -3
- package/es/constants/expression-type/function.mjs +602 -613
- package/es/constants/expression-type/index.mjs +111 -113
- package/es/constants/expression-type/modeCfg.mjs +256 -263
- package/es/constants/expression-type/variable.mjs +43 -39
- package/es/constants/form-container-type/form-container-type.mjs +17 -5
- package/es/constants/index.d.ts +2 -1
- package/es/constants/index.mjs +30 -10
- package/es/constants/page-designer/model.d.ts +4 -0
- package/es/constants/page-designer/model.mjs +17 -0
- package/es/create-app-vue.mjs +15 -9
- package/es/enums/app-designer/index.d.ts +19 -0
- package/es/enums/app-designer/index.mjs +131 -63
- package/es/enums/appEnum.mjs +681 -360
- package/es/enums/appStateEnum.mjs +17 -10
- package/es/enums/authActionEnum.mjs +63 -51
- package/es/enums/breakpointEnum.mjs +27 -26
- package/es/enums/cacheEnum.mjs +22 -21
- package/es/enums/designEnum.mjs +110 -71
- package/es/enums/developer-center/integration.mjs +7 -6
- package/es/enums/exceptionEnum.mjs +21 -17
- package/es/enums/expressionEnum.d.ts +1 -1
- package/es/enums/expressionEnum.mjs +81 -74
- package/es/enums/globalEnum.d.ts +15 -0
- package/es/enums/globalEnum.mjs +60 -25
- package/es/enums/httpEnum.mjs +71 -61
- package/es/enums/index.mjs +43 -14
- package/es/enums/menuEnum.mjs +42 -38
- package/es/enums/page-designer/designer.mjs +403 -407
- package/es/enums/page-designer/index.mjs +4 -0
- package/es/enums/page-designer/panel.mjs +341 -213
- package/es/enums/page-designer/toolkit.mjs +13 -12
- package/es/enums/page-designer/widget.d.ts +5 -0
- package/es/enums/page-designer/widget.mjs +426 -334
- package/es/enums/pageEnum.mjs +14 -13
- package/es/enums/plugin-enum.mjs +23 -7
- package/es/enums/processEnum.mjs +95 -60
- package/es/enums/roleEnum.mjs +7 -6
- package/es/enums/sizeEnum.d.ts +18 -0
- package/es/enums/sizeEnum.mjs +28 -8
- package/es/global/gct/gct.d.ts +9 -3
- package/es/global/gct/gct.mjs +84 -91
- package/es/global/index.mjs +1 -0
- package/es/hooks/index.d.ts +0 -2
- package/es/hooks/index.mjs +4 -0
- package/es/hooks/use-app-inst/use-app-inst.mjs +11 -5
- package/es/hooks/use-modal/use-modal.mjs +16 -10
- package/es/hooks/use-sub-app-utils/use-sub-app-utils.mjs +43 -23
- package/es/hooks/useCopyToClipboard.mjs +50 -50
- package/es/index.d.ts +1 -3
- package/es/index.mjs +122 -134
- package/es/interface/i-dictionary/i-dictionary-item.d.ts +6 -0
- package/es/interface/i-global-register/i-global-register.d.ts +8 -0
- package/es/interface/i-pinia-action/i-global-actions.d.ts +4 -0
- package/es/interface/i-pinia-getter/i-global-getters.d.ts +2 -0
- package/es/interface/i-pinia-state/i-global-state.d.ts +12 -1
- package/es/interface/index.d.ts +3 -6
- package/es/interface/model-desginer/entity.d.ts +110 -0
- package/es/interface/provider/index.d.ts +0 -2
- package/es/locale/index.mjs +43 -57
- package/es/modules/env-manager/env-manager.const.mjs +16 -8
- package/es/modules/env-manager/env-manager.interface.mjs +14 -7
- package/es/modules/env-manager/env-manager.mjs +104 -107
- package/es/modules/error-handler/error-handler.const.mjs +11 -16
- package/es/modules/error-handler/error-strategy.mjs +199 -175
- package/es/modules/error-handler/index.mjs +120 -106
- package/es/modules/mqtt/constants/mqtt.const.d.ts +33 -0
- package/es/modules/mqtt/constants/mqtt.const.mjs +24 -0
- package/es/modules/mqtt/enums/mqtt-status.enum.d.ts +20 -0
- package/es/modules/mqtt/enums/mqtt-status.enum.mjs +24 -0
- package/es/modules/mqtt/index.d.ts +5 -0
- package/es/modules/mqtt/index.mjs +4 -0
- package/es/modules/mqtt/interfaces/i-mqtt.d.ts +139 -0
- package/es/modules/mqtt/mqtt-client.d.ts +117 -0
- package/es/modules/mqtt/mqtt-client.mjs +229 -0
- package/es/modules/mqtt/mqtt-manager.d.ts +87 -0
- package/es/modules/mqtt/mqtt-manager.mjs +118 -0
- package/es/modules/platform-config/constants/index.mjs +4 -0
- package/es/modules/platform-config/constants/login.const.mjs +48 -45
- package/es/modules/platform-config/constants/org.const.mjs +57 -52
- package/es/modules/platform-config/constants/theme.const.mjs +11 -4
- package/es/modules/platform-config/constants/watermark.const.mjs +17 -12
- package/es/modules/platform-config/enums/deploy.enum.mjs +13 -6
- package/es/modules/platform-config/enums/login.enum.mjs +29 -15
- package/es/modules/platform-config/enums/platform.enum.d.ts +0 -15
- package/es/modules/platform-config/enums/platform.enum.mjs +17 -26
- package/es/modules/platform-config/index.mjs +9 -0
- package/es/modules/platform-config/interfaces/index.d.ts +0 -1
- package/es/modules/platform-config/store.mjs +68 -76
- package/es/modules/platform-config/useBasicSetting.mjs +47 -35
- package/es/modules/platform-config/useDeploySetting.mjs +29 -21
- package/es/modules/platform-config/useLoginSetting.mjs +151 -173
- package/es/modules/platform-config/useOrgSetting.mjs +63 -62
- package/es/modules/platform-config/useProjectSetting.mjs +14 -6
- package/es/modules/platform-config/useSecuritySetting.mjs +68 -56
- package/es/modules/platform-config/useThemeSetting.mjs +78 -59
- package/es/modules/platform-config/useWatermarkSetting.mjs +37 -23
- package/es/modules/user-stores/index.mjs +3 -0
- package/es/modules/user-stores/store/permission.store.mjs +27 -36
- package/es/modules/user-stores/store/tenant.store.mjs +20 -22
- package/es/modules/user-stores/store/user.store.d.ts +74 -0
- package/es/modules/user-stores/store/user.store.mjs +94 -102
- package/es/modules/user-stores/types/user.d.ts +1 -0
- package/es/router/index.mjs +25 -28
- package/es/setup-app.mjs +23 -28
- package/es/state/global-pinia-state/global-pinia-state.d.ts +15 -1
- package/es/state/global-pinia-state/global-pinia-state.mjs +49 -57
- package/es/state/index.d.ts +0 -9
- package/es/state/index.mjs +1 -0
- package/es/store/global-store.mjs +50 -58
- package/es/store/index.mjs +25 -19
- package/es/types/index.d.ts +7 -0
- package/es/utils/axios/interceptors.mjs +21 -17
- package/es/utils/cache-adapter/cache-adapter.mjs +61 -56
- package/es/utils/design/design.d.ts +11 -0
- package/es/utils/design/design.mjs +21 -0
- package/es/utils/deviceFingerprint.mjs +74 -63
- package/es/utils/dictionary/dictionary.mjs +142 -145
- package/es/utils/file/base64Conver.d.ts +9 -0
- package/es/utils/file/base64Conver.mjs +40 -0
- package/es/utils/file/download.d.ts +44 -0
- package/es/utils/file/download.mjs +103 -0
- package/es/utils/file/parser.d.ts +3 -0
- package/es/utils/file/parser.mjs +29 -0
- package/es/utils/i18n/index.mjs +14 -3
- package/es/utils/index.d.ts +7 -2
- package/es/utils/index.mjs +31 -0
- package/es/utils/is-sort-filed/is-sort-filed.mjs +42 -37
- package/es/utils/linked-list/linked-list.mjs +115 -118
- package/es/utils/linked-node/linked-node.mjs +41 -31
- package/es/utils/lowcode/utils.mjs +13 -18
- package/es/utils/lowcode/validate.mjs +20 -26
- package/es/utils/mitt/mitt.mjs +4 -4
- package/es/utils/model-loader/model-loader.mjs +280 -325
- package/es/utils/namespace/namespace.mjs +178 -164
- package/es/utils/openUtil/index.mjs +2 -0
- package/es/utils/openUtil/modal/modal.mjs +72 -79
- package/es/utils/openUtil/overlay-container/overlay-container.mjs +144 -138
- package/es/utils/permission.d.ts +19 -0
- package/es/utils/permission.mjs +34 -0
- package/es/utils/plugin-static-resource/plugin-static-resource.mjs +46 -42
- package/es/utils/style/index.mjs +94 -138
- package/es/utils/tools/tools.mjs +86 -54
- package/es/utils/treeHelper/treeHelper.mjs +205 -233
- package/es/utils/uploader/uploader.d.ts +20 -0
- package/es/utils/uploader/uploader.mjs +86 -0
- package/es/utils/useUUid.mjs +79 -87
- package/es/utils/util.mjs +55 -35
- package/es/utils/uuid/uuid.d.ts +1 -0
- package/es/utils/uuid/uuid.mjs +36 -43
- package/es/utils/validate.d.ts +5 -0
- package/es/utils/validate.mjs +21 -0
- package/es/utils/value-helper/value-helper.mjs +113 -98
- package/package.json +14 -14
- package/dist/index.esm.min.mjs +0 -8101
- package/dist/index.min.cjs +0 -386
- package/dist/index.system.min.js +0 -386
- package/es/constants/editor-type/editor-type.d.ts +0 -244
- package/es/constants/editor-type/editor-type.mjs +0 -63
- package/es/controller/edit-form/edit-form.controller.d.ts +0 -28
- package/es/controller/edit-form/edit-form.controller.mjs +0 -47
- package/es/controller/editor/color-editor.controller.d.ts +0 -13
- package/es/controller/editor/color-editor.controller.mjs +0 -6
- package/es/controller/editor/length-unit-editor.controller.d.ts +0 -13
- package/es/controller/editor/length-unit-editor.controller.mjs +0 -6
- package/es/controller/editor-item/editor-item.controller.d.ts +0 -14
- package/es/controller/editor-item/editor-item.controller.mjs +0 -8
- package/es/controller/form/form.controller.d.ts +0 -76
- package/es/controller/form/form.controller.mjs +0 -147
- package/es/controller/form-collapse/form-collapse.controller.d.ts +0 -18
- package/es/controller/form-collapse/form-collapse.controller.mjs +0 -14
- package/es/controller/form-collapse-pane/form-collapse-pane.controller.d.ts +0 -18
- package/es/controller/form-collapse-pane/form-collapse-pane.controller.mjs +0 -14
- package/es/controller/form-edit-item/form-edit-item.controller.d.ts +0 -27
- package/es/controller/form-edit-item/form-edit-item.controller.mjs +0 -74
- package/es/controller/form-group/form-group.controller.d.ts +0 -18
- package/es/controller/form-group/form-group.controller.mjs +0 -14
- package/es/controller/form-item/form-item.controller.d.ts +0 -21
- package/es/controller/form-item/form-item.controller.mjs +0 -43
- package/es/controller/form-item-basic/form-item-basic.controller.d.ts +0 -57
- package/es/controller/form-item-basic/form-item-basic.controller.mjs +0 -49
- package/es/controller/form-item-hidden/form-item-hidden.controller.d.ts +0 -17
- package/es/controller/form-item-hidden/form-item-hidden.controller.mjs +0 -7
- package/es/controller/form-tab/form-tab.controller.d.ts +0 -18
- package/es/controller/form-tab/form-tab.controller.mjs +0 -14
- package/es/controller/form-tab-pane/form-tab-pane.controller.d.ts +0 -18
- package/es/controller/form-tab-pane/form-tab-pane.controller.mjs +0 -14
- package/es/controller/gct-form/gct-form.controller.d.ts +0 -101
- package/es/controller/gct-form/gct-form.controller.mjs +0 -214
- package/es/controller/index.d.ts +0 -15
- package/es/hooks/use-form/use-form.d.ts +0 -10
- package/es/hooks/use-form/use-form.mjs +0 -8
- package/es/hooks/use-gct-form-value/use-gct-form-value.d.ts +0 -22
- package/es/hooks/use-gct-form-value/use-gct-form-value.mjs +0 -89
- package/es/hooks/use-overlay-scrollbars/use-overlay-scrollbars.d.ts +0 -11
- package/es/interface/controller/edit-form/edit-form.controller.d.ts +0 -26
- package/es/interface/controller/editor/i-color-editor.controller.d.ts +0 -11
- package/es/interface/controller/editor/i-length-unit-editor.controller.d.ts +0 -11
- package/es/interface/controller/editor-item/editor-item.controller.d.ts +0 -19
- package/es/interface/controller/form/form.controller.d.ts +0 -121
- package/es/interface/controller/form-collapse/form-collapse.controller.d.ts +0 -23
- package/es/interface/controller/form-collapse-pane/form-collapse-pane.controller.d.ts +0 -23
- package/es/interface/controller/form-edit-item/form-edit-item.controller.d.ts +0 -59
- package/es/interface/controller/form-group/form-group.controller.d.ts +0 -24
- package/es/interface/controller/form-hidden-item/form-hidden-item.controller.d.ts +0 -24
- package/es/interface/controller/form-item/form-item.controller.d.ts +0 -40
- package/es/interface/controller/form-item-basic/form-item-basic.controller.d.ts +0 -51
- package/es/interface/controller/form-tab/form-tab.controller.d.ts +0 -23
- package/es/interface/controller/form-tab-pane/form-tab-pane.controller.d.ts +0 -23
- package/es/interface/controller/index.d.ts +0 -14
- package/es/interface/events/form/i-form.event.d.ts +0 -11
- package/es/interface/events/index.d.ts +0 -1
- package/es/interface/form/i-editor/i-check-switch.d.ts +0 -29
- package/es/interface/form/i-editor/i-checkbox-editor.d.ts +0 -9
- package/es/interface/form/i-editor/i-color-editor.d.ts +0 -13
- package/es/interface/form/i-editor/i-editor-basic.d.ts +0 -87
- package/es/interface/form/i-editor/i-icon-select-editor.d.ts +0 -21
- package/es/interface/form/i-editor/i-info-editor.d.ts +0 -21
- package/es/interface/form/i-editor/i-length-unit-editor.d.ts +0 -13
- package/es/interface/form/i-editor/i-model-field-select-editor.d.ts +0 -18
- package/es/interface/form/i-editor/i-number-editor.d.ts +0 -21
- package/es/interface/form/i-editor/i-picker-editor.d.ts +0 -30
- package/es/interface/form/i-editor/i-radio-editor.d.ts +0 -21
- package/es/interface/form/i-editor/i-select-editor.d.ts +0 -14
- package/es/interface/form/i-editor/i-span-editor.d.ts +0 -30
- package/es/interface/form/i-editor/i-switch-editor.d.ts +0 -14
- package/es/interface/form/i-editor/i-text-editor.d.ts +0 -46
- package/es/interface/form/i-editor/i-textarea-editor.d.ts +0 -25
- package/es/interface/form/i-form/i-edit-form.d.ts +0 -48
- package/es/interface/form/i-form/i-form-collapse-pane.d.ts +0 -30
- package/es/interface/form/i-form/i-form-collapse.d.ts +0 -35
- package/es/interface/form/i-form/i-form-container.d.ts +0 -53
- package/es/interface/form/i-form/i-form-edit-item.d.ts +0 -140
- package/es/interface/form/i-form/i-form-group-container.d.ts +0 -24
- package/es/interface/form/i-form/i-form-group.d.ts +0 -35
- package/es/interface/form/i-form/i-form-hidden-item.d.ts +0 -11
- package/es/interface/form/i-form/i-form-item-basic.d.ts +0 -126
- package/es/interface/form/i-form/i-form-item.d.ts +0 -11
- package/es/interface/form/i-form/i-form-tab-pane.d.ts +0 -23
- package/es/interface/form/i-form/i-form-tab.d.ts +0 -21
- package/es/interface/form/i-form/i-form.d.ts +0 -79
- package/es/interface/form/index.d.ts +0 -29
- package/es/interface/layout/i-flex-layout/i-flex-container.d.ts +0 -75
- package/es/interface/layout/i-flex-layout/i-flex-item.d.ts +0 -51
- package/es/interface/layout/i-grid-layout/i-grid-container.d.ts +0 -29
- package/es/interface/layout/i-grid-layout/i-grid-item-span.d.ts +0 -54
- package/es/interface/layout/i-grid-layout/i-grid-item.d.ts +0 -37
- package/es/interface/layout/i-layout-basis/i-layout-container-basis.d.ts +0 -11
- package/es/interface/layout/index.d.ts +0 -6
- package/es/interface/provider/i-editor-provider/i-editor-provider.d.ts +0 -24
- package/es/interface/provider/i-form-item-provider/i-form-item-provider.d.ts +0 -44
- package/es/interface/state/form/form.state.d.ts +0 -53
- package/es/interface/state/form-collapse/form-collapse.state.d.ts +0 -11
- package/es/interface/state/form-collapse-pane/form-collapse-pane.state.d.ts +0 -11
- package/es/interface/state/form-edit-item/form-edit-item.state.d.ts +0 -38
- package/es/interface/state/form-group/form-group.state.d.ts +0 -21
- package/es/interface/state/form-hidden-item/form-hidden-item.state.d.ts +0 -5
- package/es/interface/state/form-item/form-item.state.d.ts +0 -20
- package/es/interface/state/form-item-basic/form-item-basic.state.d.ts +0 -63
- package/es/interface/state/form-tab/form-tab.state.d.ts +0 -19
- package/es/interface/state/form-tab-pane/form-tab-pane.state.d.ts +0 -11
- package/es/interface/state/index.d.ts +0 -10
- package/es/modules/platform-config/interfaces/global-setting.interface.d.ts +0 -7
- package/es/register/editor-register/editor-register.d.ts +0 -49
- package/es/register/editor-register/editor-register.mjs +0 -57
- package/es/register/form-item-register/form-item-register.d.ts +0 -36
- package/es/register/form-item-register/form-item-register.mjs +0 -42
- package/es/register/index.d.ts +0 -14
- package/es/state/form/form.state.d.ts +0 -24
- package/es/state/form/form.state.mjs +0 -16
- package/es/state/form-collapse/form-collapse.state.d.ts +0 -14
- package/es/state/form-collapse/form-collapse.state.mjs +0 -6
- package/es/state/form-collapse-pane/form-collapse-pane.state.d.ts +0 -14
- package/es/state/form-collapse-pane/form-collapse-pane.state.mjs +0 -6
- package/es/state/form-edit-item/form-edit-item.state.d.ts +0 -17
- package/es/state/form-edit-item/form-edit-item.state.mjs +0 -10
- package/es/state/form-group/form-group.state.d.ts +0 -21
- package/es/state/form-group/form-group.state.mjs +0 -14
- package/es/state/form-item/form-item.state.d.ts +0 -14
- package/es/state/form-item/form-item.state.mjs +0 -6
- package/es/state/form-item-basic/form-item-basic.state.d.ts +0 -17
- package/es/state/form-item-basic/form-item-basic.state.mjs +0 -9
- package/es/state/form-tab/form-tab.state.d.ts +0 -15
- package/es/state/form-tab/form-tab.state.mjs +0 -7
- package/es/state/form-tab-pane/form-tab-pane.state.d.ts +0 -14
- package/es/state/form-tab-pane/form-tab-pane.state.mjs +0 -6
- package/es/utils/props/gct-form-item/gct-form-item.props.d.ts +0 -63
- package/es/utils/props/gct-form-item/gct-form-item.props.mjs +0 -66
- package/es/utils/props/index.d.ts +0 -1
- package/es/utils/width-install/width-install.d.ts +0 -17
- package/es/utils/width-install/width-install.mjs +0 -23
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { ILayoutContainerBasis } from '../i-layout-basis/i-layout-container-basis';
|
|
2
|
-
/**
|
|
3
|
-
* flex 布局容器
|
|
4
|
-
*
|
|
5
|
-
* @author zhanghanrui
|
|
6
|
-
* @date 2024-03-27 11:03:48
|
|
7
|
-
* @export
|
|
8
|
-
* @interface IFlexContainer
|
|
9
|
-
* @extends {ILayoutContainerBasis}
|
|
10
|
-
*/
|
|
11
|
-
export interface IFlexContainer extends ILayoutContainerBasis {
|
|
12
|
-
/**
|
|
13
|
-
* 主轴方向
|
|
14
|
-
* row(默认值):主轴为水平方向,起点在左端。
|
|
15
|
-
* row-reverse:主轴为水平方向,起点在右端。
|
|
16
|
-
* column:主轴为垂直方向,起点在上沿。
|
|
17
|
-
* column-reverse:主轴为垂直方向,起点在下沿。
|
|
18
|
-
*
|
|
19
|
-
* @author zhanghanrui
|
|
20
|
-
* @date 2024-03-26 19:03:47
|
|
21
|
-
* @type {('row' | 'row-reverse' | 'column' | 'column-reverse')}
|
|
22
|
-
*/
|
|
23
|
-
flexDirection?: 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
24
|
-
/**
|
|
25
|
-
* 换行模式
|
|
26
|
-
* nowrap(默认):不换行
|
|
27
|
-
* wrap:换行,第一行在上方
|
|
28
|
-
* wrap-reverse:换行,第一行在下方
|
|
29
|
-
*
|
|
30
|
-
* @author zhanghanrui
|
|
31
|
-
* @date 2024-03-26 19:03:09
|
|
32
|
-
* @type {('nowrap' | 'wrap' | 'wrap-reverse')}
|
|
33
|
-
*/
|
|
34
|
-
flexWrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
35
|
-
/**
|
|
36
|
-
* 主轴对齐方式
|
|
37
|
-
* flex-start(默认值):左对齐
|
|
38
|
-
* flex-end:右对齐
|
|
39
|
-
* center: 居中
|
|
40
|
-
* space-between:两端对齐,项目之间的间隔都相等
|
|
41
|
-
* space-around:每个项目两侧的间隔相等。所以,项目之间的间隔比项目与边框的间隔大一倍
|
|
42
|
-
*
|
|
43
|
-
* @author zhanghanrui
|
|
44
|
-
* @date 2024-03-26 19:03:38
|
|
45
|
-
* @type {('flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around')}
|
|
46
|
-
*/
|
|
47
|
-
justifyContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around';
|
|
48
|
-
/**
|
|
49
|
-
* 交叉轴对齐方式
|
|
50
|
-
* flex-start:交叉轴的起点对齐
|
|
51
|
-
* flex-end:交叉轴的终点对齐
|
|
52
|
-
* center:交叉轴的中点对齐
|
|
53
|
-
* baseline: 项目的第一行文字的基线对齐
|
|
54
|
-
* stretch(默认值):如果项目未设置高度或设为auto,将占满整个容器的高度
|
|
55
|
-
*
|
|
56
|
-
* @author zhanghanrui
|
|
57
|
-
* @date 2024-03-26 19:03:26
|
|
58
|
-
* @type {('flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch')}
|
|
59
|
-
*/
|
|
60
|
-
alignItems?: 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';
|
|
61
|
-
/**
|
|
62
|
-
* 多根轴线的对齐方式
|
|
63
|
-
* flex-start:与交叉轴的起点对齐
|
|
64
|
-
* flex-end:与交叉轴的终点对齐
|
|
65
|
-
* center:与交叉轴的中点对齐
|
|
66
|
-
* space-between:与交叉轴两端对齐,轴线之间的间隔平均分布
|
|
67
|
-
* space-around:每根轴线两侧的间隔都相等。所以,轴线之间的间隔比轴线与边框的间隔大一倍
|
|
68
|
-
* stretch(默认值):轴线占满整个交叉轴
|
|
69
|
-
*
|
|
70
|
-
* @author zhanghanrui
|
|
71
|
-
* @date 2024-03-26 19:03:20
|
|
72
|
-
* @type {('flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'stretch')}
|
|
73
|
-
*/
|
|
74
|
-
alignContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'stretch';
|
|
75
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* flex 布局项
|
|
3
|
-
*
|
|
4
|
-
* @author zhanghanrui
|
|
5
|
-
* @date 2024-03-26 19:03:07
|
|
6
|
-
* @export
|
|
7
|
-
* @interface IFlexItem
|
|
8
|
-
*/
|
|
9
|
-
export interface IFlexItem {
|
|
10
|
-
/**
|
|
11
|
-
* order属性定义项目的排列顺序。数值越小,排列越靠前,默认为0
|
|
12
|
-
*
|
|
13
|
-
* @author zhanghanrui
|
|
14
|
-
* @date 2024-03-26 19:03:48
|
|
15
|
-
* @type {number}
|
|
16
|
-
*/
|
|
17
|
-
order?: number;
|
|
18
|
-
/**
|
|
19
|
-
* flex-grow属性定义项目的放大比例,默认为0,即如果存在剩余空间,也不放大
|
|
20
|
-
*
|
|
21
|
-
* @author zhanghanrui
|
|
22
|
-
* @date 2024-03-26 19:03:21
|
|
23
|
-
* @type {number}
|
|
24
|
-
*/
|
|
25
|
-
flexGrow?: number;
|
|
26
|
-
/**
|
|
27
|
-
* flex-shrink属性定义了项目的缩小比例,默认为1,即如果空间不足,该项目将缩小
|
|
28
|
-
*
|
|
29
|
-
* @author zhanghanrui
|
|
30
|
-
* @date 2024-03-26 19:03:42
|
|
31
|
-
* @type {number}
|
|
32
|
-
*/
|
|
33
|
-
flexShrink?: number;
|
|
34
|
-
/**
|
|
35
|
-
* flex-basis属性定义了在分配多余空间之前,项目占据的主轴空间(main size)。浏览器根据这个属性,计算主轴是否有多余空间。它的默认值为auto,即项目的本来大小
|
|
36
|
-
*
|
|
37
|
-
* @author zhanghanrui
|
|
38
|
-
* @date 2024-03-26 19:03:03
|
|
39
|
-
* @type {(number | 'auto')}
|
|
40
|
-
*/
|
|
41
|
-
flexBasis?: number | 'auto';
|
|
42
|
-
/**
|
|
43
|
-
* align-self属性允许单个项目有与其他项目不一样的对齐方式,可覆盖align-items属性
|
|
44
|
-
* 该属性可能取6个值,除了auto,其他都与align-items属性完全一致
|
|
45
|
-
*
|
|
46
|
-
* @author zhanghanrui
|
|
47
|
-
* @date 2024-03-26 19:03:30
|
|
48
|
-
* @type {('auto' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch')}
|
|
49
|
-
*/
|
|
50
|
-
alignSelf?: 'auto' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';
|
|
51
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ILayoutContainerBasis } from '../i-layout-basis/i-layout-container-basis';
|
|
2
|
-
/**
|
|
3
|
-
* 栅格布局容器
|
|
4
|
-
*
|
|
5
|
-
* @author zhanghanrui
|
|
6
|
-
* @date 2024-03-27 11:03:05
|
|
7
|
-
* @export
|
|
8
|
-
* @interface IGridContainer
|
|
9
|
-
* @extends {ILayoutContainerBasis}
|
|
10
|
-
*/
|
|
11
|
-
export interface IGridContainer extends ILayoutContainerBasis {
|
|
12
|
-
/**
|
|
13
|
-
* 栅格布局模式,24栅格或12栅格
|
|
14
|
-
*
|
|
15
|
-
* @default 24
|
|
16
|
-
* @author zhanghanrui
|
|
17
|
-
* @date 2024-03-26 19:03:16
|
|
18
|
-
* @type {(12 | 24)}
|
|
19
|
-
*/
|
|
20
|
-
mode: 12 | 24;
|
|
21
|
-
/**
|
|
22
|
-
* 栅格间隔
|
|
23
|
-
*
|
|
24
|
-
* @author zhanghanrui
|
|
25
|
-
* @date 2024-03-27 11:03:38
|
|
26
|
-
* @type {(number | Object | number[])}
|
|
27
|
-
*/
|
|
28
|
-
gutter?: number | object | number[];
|
|
29
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* span 布局项
|
|
3
|
-
*
|
|
4
|
-
* @author zhanghanrui
|
|
5
|
-
* @date 2024-03-26 19:03:40
|
|
6
|
-
* @export
|
|
7
|
-
* @interface IGridItemSpan
|
|
8
|
-
*/
|
|
9
|
-
export interface IGridItemSpan {
|
|
10
|
-
/**
|
|
11
|
-
* <576px
|
|
12
|
-
*
|
|
13
|
-
* @author zhanghanrui
|
|
14
|
-
* @date 2024-03-26 19:03:22
|
|
15
|
-
* @type {number}
|
|
16
|
-
*/
|
|
17
|
-
sx?: number;
|
|
18
|
-
/**
|
|
19
|
-
* ≥576px
|
|
20
|
-
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
*/
|
|
23
|
-
sm?: number;
|
|
24
|
-
/**
|
|
25
|
-
* ≥768px
|
|
26
|
-
*
|
|
27
|
-
* @type {number}
|
|
28
|
-
*/
|
|
29
|
-
md?: number;
|
|
30
|
-
/**
|
|
31
|
-
* ≥992px
|
|
32
|
-
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
*/
|
|
35
|
-
lg?: number;
|
|
36
|
-
/**
|
|
37
|
-
* ≥1200px
|
|
38
|
-
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
*/
|
|
41
|
-
xl?: number;
|
|
42
|
-
/**
|
|
43
|
-
* ≥1600px
|
|
44
|
-
*
|
|
45
|
-
* @type {number}
|
|
46
|
-
*/
|
|
47
|
-
xxl?: number;
|
|
48
|
-
/**
|
|
49
|
-
* ≥1600px
|
|
50
|
-
*
|
|
51
|
-
* @type {number}
|
|
52
|
-
*/
|
|
53
|
-
xxxl?: number;
|
|
54
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { IGridItemSpan } from './i-grid-item-span';
|
|
2
|
-
type ColNumber = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
|
|
3
|
-
/**
|
|
4
|
-
* 表格布局项
|
|
5
|
-
*
|
|
6
|
-
* @author zhanghanrui
|
|
7
|
-
* @date 2024-03-26 19:03:43
|
|
8
|
-
* @export
|
|
9
|
-
* @interface IGridItem
|
|
10
|
-
*/
|
|
11
|
-
export interface IGridItem {
|
|
12
|
-
/**
|
|
13
|
-
* 栅格占位格数
|
|
14
|
-
*
|
|
15
|
-
* @author zhanghanrui
|
|
16
|
-
* @date 2024-03-26 19:03:53
|
|
17
|
-
* @type {(ColNumber | IGridItemSpan)}
|
|
18
|
-
*/
|
|
19
|
-
span?: ColNumber | IGridItemSpan;
|
|
20
|
-
/**
|
|
21
|
-
* 偏移量
|
|
22
|
-
*
|
|
23
|
-
* @author zhanghanrui
|
|
24
|
-
* @date 2024-03-26 19:03:55
|
|
25
|
-
* @type {ColNumber}
|
|
26
|
-
*/
|
|
27
|
-
offset?: ColNumber;
|
|
28
|
-
/**
|
|
29
|
-
* 栅格顺序
|
|
30
|
-
*
|
|
31
|
-
* @author zhanghanrui
|
|
32
|
-
* @date 2024-03-26 19:03:17
|
|
33
|
-
* @type {number}
|
|
34
|
-
*/
|
|
35
|
-
order?: number;
|
|
36
|
-
}
|
|
37
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export type { IFlexContainer } from './i-flex-layout/i-flex-container';
|
|
2
|
-
export type { IFlexItem } from './i-flex-layout/i-flex-item';
|
|
3
|
-
export type { IGridContainer } from './i-grid-layout/i-grid-container';
|
|
4
|
-
export type { IGridItem } from './i-grid-layout/i-grid-item';
|
|
5
|
-
export type { IGridItemSpan } from './i-grid-layout/i-grid-item-span';
|
|
6
|
-
export type { ILayoutContainerBasis } from './i-layout-basis/i-layout-container-basis';
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { IProviderBasic } from '../i-provider-basic/i-provider-basic';
|
|
2
|
-
import { IFormItem } from '../../form';
|
|
3
|
-
/**
|
|
4
|
-
* 编辑器提供者
|
|
5
|
-
*
|
|
6
|
-
* @author zhanghanrui
|
|
7
|
-
* @date 2024-03-27 10:03:54
|
|
8
|
-
* @export
|
|
9
|
-
* @interface IEditorProvider
|
|
10
|
-
* @extends {IProviderBasic}
|
|
11
|
-
*/
|
|
12
|
-
export interface IEditorProvider extends IProviderBasic {
|
|
13
|
-
/**
|
|
14
|
-
* 直接特殊绘制
|
|
15
|
-
*
|
|
16
|
-
* @author zhanghanrui
|
|
17
|
-
* @date 2024-03-27 09:03:08
|
|
18
|
-
* @param {*} value 当前项的值
|
|
19
|
-
* @param {IData} data 当前表单数据
|
|
20
|
-
* @param {IFormItem} item 当前表单项模型
|
|
21
|
-
* @return {*} {*}
|
|
22
|
-
*/
|
|
23
|
-
render?(value: any, data: IData, item: IFormItem): any;
|
|
24
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { IFormController, IFormItemBasicController } from '../../controller';
|
|
2
|
-
import { IFormItemBasic } from '../../form';
|
|
3
|
-
import { IProviderBasic } from '../i-provider-basic/i-provider-basic';
|
|
4
|
-
/**
|
|
5
|
-
* 表单项提供者
|
|
6
|
-
*
|
|
7
|
-
* @author zhanghanrui
|
|
8
|
-
* @date 2024-04-01 13:04:46
|
|
9
|
-
* @export
|
|
10
|
-
* @interface IFormItemProvider
|
|
11
|
-
* @extends {IProviderBasic}
|
|
12
|
-
*/
|
|
13
|
-
export interface IFormItemProvider extends IProviderBasic {
|
|
14
|
-
/**
|
|
15
|
-
* 表单项组件,可是组件名称或组件实例
|
|
16
|
-
*
|
|
17
|
-
* @author zhanghanrui
|
|
18
|
-
* @date 2024-04-01 14:04:45
|
|
19
|
-
* @type {*}
|
|
20
|
-
*/
|
|
21
|
-
component: any;
|
|
22
|
-
/**
|
|
23
|
-
* 直接特殊绘制
|
|
24
|
-
*
|
|
25
|
-
* @author zhanghanrui
|
|
26
|
-
* @date 2024-04-01 13:04:52
|
|
27
|
-
* @param {IFormController} form 表单控制器
|
|
28
|
-
* @param {*} value 当前项的值
|
|
29
|
-
* @param {IData} data 当前表单数据
|
|
30
|
-
* @param {IFormItemBasic} item 当前表单项模型
|
|
31
|
-
* @return {*} {*}
|
|
32
|
-
*/
|
|
33
|
-
render?(form: IFormController, value: any, data: IData, item: IFormItemBasic): any;
|
|
34
|
-
/**
|
|
35
|
-
* 创建控制器实例
|
|
36
|
-
*
|
|
37
|
-
* @author zhanghanrui
|
|
38
|
-
* @date 2024-04-02 10:04:37
|
|
39
|
-
* @param {IFormController} form
|
|
40
|
-
* @param {IFormItemBasic} item
|
|
41
|
-
* @return {*} {IFormItemBasicController}
|
|
42
|
-
*/
|
|
43
|
-
createController(form: IFormController, item: IFormItemBasic): IFormItemBasicController;
|
|
44
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 表单状态
|
|
3
|
-
*
|
|
4
|
-
* @author zhanghanrui
|
|
5
|
-
* @date 2024-04-01 11:04:19
|
|
6
|
-
* @export
|
|
7
|
-
* @interface IFormState
|
|
8
|
-
*/
|
|
9
|
-
export interface IFormState {
|
|
10
|
-
/**
|
|
11
|
-
* 是否正在加载中
|
|
12
|
-
*
|
|
13
|
-
* @default false
|
|
14
|
-
* @author zhanghanrui
|
|
15
|
-
* @date 2024-04-03 16:04:17
|
|
16
|
-
* @type {boolean}
|
|
17
|
-
*/
|
|
18
|
-
loading: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* 是否已加载完成
|
|
21
|
-
*
|
|
22
|
-
* @author zhanghanrui
|
|
23
|
-
* @date 2024-04-03 17:04:59
|
|
24
|
-
* @type {boolean}
|
|
25
|
-
*/
|
|
26
|
-
loaded: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* 是否新建数据模式
|
|
29
|
-
*
|
|
30
|
-
* @default true
|
|
31
|
-
* @author zhanghanrui
|
|
32
|
-
* @date 2024-04-03 14:04:01
|
|
33
|
-
* @type {boolean}
|
|
34
|
-
*/
|
|
35
|
-
isNew: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* 是否已销毁
|
|
38
|
-
*
|
|
39
|
-
* @default false
|
|
40
|
-
* @author zhanghanrui
|
|
41
|
-
* @date 2024-04-03 16:04:53
|
|
42
|
-
* @type {boolean}
|
|
43
|
-
*/
|
|
44
|
-
destroyed: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* 表单数据(表单值,纯用于触发状态管理,需要值还是从项的控制器取)
|
|
47
|
-
*
|
|
48
|
-
* @author zhanghanrui
|
|
49
|
-
* @date 2024-04-01 11:04:04
|
|
50
|
-
* @type {IData}
|
|
51
|
-
*/
|
|
52
|
-
data: IData;
|
|
53
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IFormItemBasicState } from '../form-item-basic/form-item-basic.state';
|
|
2
|
-
/**
|
|
3
|
-
* 表单折叠面板
|
|
4
|
-
*
|
|
5
|
-
* @author lingxiaoming
|
|
6
|
-
* @date 2024-07-14 01:54:34
|
|
7
|
-
* @export
|
|
8
|
-
* @interface IFormCollapseState
|
|
9
|
-
* @extends {IFormItemBasicState}
|
|
10
|
-
*/
|
|
11
|
-
export type IFormCollapseState = IFormItemBasicState;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IFormItemBasicState } from '../form-item-basic/form-item-basic.state';
|
|
2
|
-
/**
|
|
3
|
-
* 表单折叠面板项
|
|
4
|
-
*
|
|
5
|
-
* @author lingxiaoming
|
|
6
|
-
* @date 2024-07-14 01:54:34
|
|
7
|
-
* @export
|
|
8
|
-
* @interface IFormCollapsePaneState
|
|
9
|
-
* @extends {IFormItemBasicState}
|
|
10
|
-
*/
|
|
11
|
-
export type IFormCollapsePaneState = IFormItemBasicState;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { IDictionaryItem } from '../../i-dictionary/i-dictionary-item';
|
|
2
|
-
import { IFormItemBasicState } from '../form-item-basic/form-item-basic.state';
|
|
3
|
-
/**
|
|
4
|
-
* 表单编辑项状态
|
|
5
|
-
*
|
|
6
|
-
* @author zhanghanrui
|
|
7
|
-
* @date 2024-04-02 21:04:39
|
|
8
|
-
* @export
|
|
9
|
-
* @interface IFormEditItemState
|
|
10
|
-
* @extends {IFormItemBasicState}
|
|
11
|
-
*/
|
|
12
|
-
export interface IFormEditItemState extends IFormItemBasicState {
|
|
13
|
-
/**
|
|
14
|
-
* 是否加载中,用于异步加载数据类似代码表
|
|
15
|
-
*
|
|
16
|
-
* @default false
|
|
17
|
-
* @author zhanghanrui
|
|
18
|
-
* @date 2024-04-02 21:04:43
|
|
19
|
-
* @type {boolean}
|
|
20
|
-
*/
|
|
21
|
-
loading?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* 当前项的值,用于触发界面刷新
|
|
24
|
-
*
|
|
25
|
-
* @author zhanghanrui
|
|
26
|
-
* @date 2024-04-02 22:04:18
|
|
27
|
-
* @type {*}
|
|
28
|
-
*/
|
|
29
|
-
value?: any;
|
|
30
|
-
/**
|
|
31
|
-
* 代码表项
|
|
32
|
-
*
|
|
33
|
-
* @author zhanghanrui
|
|
34
|
-
* @date 2024-04-03 14:04:14
|
|
35
|
-
* @type {IDictionaryItem[]}
|
|
36
|
-
*/
|
|
37
|
-
options: IDictionaryItem[];
|
|
38
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { IFormItemBasicState } from '../form-item-basic/form-item-basic.state';
|
|
2
|
-
/**
|
|
3
|
-
* 表单分组状态
|
|
4
|
-
*
|
|
5
|
-
* @author zhanghanrui
|
|
6
|
-
* @date 2024-04-01 14:04:49
|
|
7
|
-
* @export
|
|
8
|
-
* @interface IFormGroupState
|
|
9
|
-
* @extends {IFormItemBasicState}
|
|
10
|
-
*/
|
|
11
|
-
export interface IFormGroupState extends IFormItemBasicState {
|
|
12
|
-
/**
|
|
13
|
-
* 是否在展开状态
|
|
14
|
-
*
|
|
15
|
-
* @default true
|
|
16
|
-
* @author zhanghanrui
|
|
17
|
-
* @date 2024-04-01 14:04:40
|
|
18
|
-
* @type {boolean}
|
|
19
|
-
*/
|
|
20
|
-
expand: boolean;
|
|
21
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { IFormEditItemState } from '../form-edit-item/form-edit-item.state';
|
|
2
|
-
/**
|
|
3
|
-
* 表单项状态
|
|
4
|
-
*
|
|
5
|
-
* @author zhanghanrui
|
|
6
|
-
* @date 2024-04-01 14:04:34
|
|
7
|
-
* @export
|
|
8
|
-
* @interface IFormItemState
|
|
9
|
-
* @extends {IFormEditItemState}
|
|
10
|
-
*/
|
|
11
|
-
export interface IFormItemState extends IFormEditItemState {
|
|
12
|
-
/**
|
|
13
|
-
* 表单项标签
|
|
14
|
-
*
|
|
15
|
-
* @author zhanghanrui
|
|
16
|
-
* @date 2024-04-01 11:04:13
|
|
17
|
-
* @type {string}
|
|
18
|
-
*/
|
|
19
|
-
label?: string;
|
|
20
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 表单项状态基础
|
|
3
|
-
*
|
|
4
|
-
* @author zhanghanrui
|
|
5
|
-
* @date 2024-04-01 14:04:21
|
|
6
|
-
* @export
|
|
7
|
-
* @interface IFormItemBasicState
|
|
8
|
-
*/
|
|
9
|
-
export interface IFormItemBasicState {
|
|
10
|
-
/**
|
|
11
|
-
* 表单项类型
|
|
12
|
-
*
|
|
13
|
-
* @author zhanghanrui
|
|
14
|
-
* @date 2024-04-02 14:04:44
|
|
15
|
-
* @type {string}
|
|
16
|
-
*/
|
|
17
|
-
type?: string;
|
|
18
|
-
/**
|
|
19
|
-
* 是否禁用
|
|
20
|
-
*
|
|
21
|
-
* @default false
|
|
22
|
-
* @author zhanghanrui
|
|
23
|
-
* @date 2024-04-02 13:04:22
|
|
24
|
-
* @type {boolean}
|
|
25
|
-
*/
|
|
26
|
-
disabled: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* 是否只读
|
|
29
|
-
*
|
|
30
|
-
* @default false
|
|
31
|
-
* @author zhanghanrui
|
|
32
|
-
* @date 2024-04-02 13:04:35
|
|
33
|
-
* @type {boolean}
|
|
34
|
-
*/
|
|
35
|
-
readonly?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* 是否显示(keepalive=true时v-show模式,keepalive=false时v-if模式)
|
|
38
|
-
*
|
|
39
|
-
* @default true
|
|
40
|
-
* @author zhanghanrui
|
|
41
|
-
* @date 2024-04-02 13:04:07
|
|
42
|
-
* @type {boolean}
|
|
43
|
-
*/
|
|
44
|
-
visible: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* 是否在隐藏时保持绘制
|
|
47
|
-
*
|
|
48
|
-
* @default false
|
|
49
|
-
* @author zhanghanrui
|
|
50
|
-
* @date 2024-04-02 13:04:45
|
|
51
|
-
* @type {boolean}
|
|
52
|
-
*/
|
|
53
|
-
keepalive?: boolean;
|
|
54
|
-
/**
|
|
55
|
-
* 是否已经销毁
|
|
56
|
-
*
|
|
57
|
-
* @default false
|
|
58
|
-
* @author zhanghanrui
|
|
59
|
-
* @date 2024-04-03 16:04:35
|
|
60
|
-
* @type {boolean}
|
|
61
|
-
*/
|
|
62
|
-
destroyed: boolean;
|
|
63
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { IFormItemBasicState } from '../form-item-basic/form-item-basic.state';
|
|
2
|
-
/**
|
|
3
|
-
* 表单分页状态
|
|
4
|
-
*
|
|
5
|
-
* @author lingxiaoming
|
|
6
|
-
* @date 2024-07-14 01:54:34
|
|
7
|
-
* @export
|
|
8
|
-
* @interface IFormTabState
|
|
9
|
-
* @extends {IFormItemBasicState}
|
|
10
|
-
*/
|
|
11
|
-
export interface IFormTabState extends IFormItemBasicState {
|
|
12
|
-
/**
|
|
13
|
-
* 当前显示的分页面板的名称
|
|
14
|
-
* @author lingxiaoming
|
|
15
|
-
* @date 2024-07-14 01:55:46
|
|
16
|
-
* @type {string}
|
|
17
|
-
*/
|
|
18
|
-
activePane: string;
|
|
19
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IFormItemBasicState } from '../form-item-basic/form-item-basic.state';
|
|
2
|
-
/**
|
|
3
|
-
* 表单分页状态
|
|
4
|
-
*
|
|
5
|
-
* @author lingxiaoming
|
|
6
|
-
* @date 2024-07-14 01:54:34
|
|
7
|
-
* @export
|
|
8
|
-
* @interface IFormTabPaneState
|
|
9
|
-
* @extends {IFormItemBasicState}
|
|
10
|
-
*/
|
|
11
|
-
export type IFormTabPaneState = IFormItemBasicState;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type { IFormState } from './form/form.state';
|
|
2
|
-
export type { IFormCollapsePaneState } from './form-collapse-pane/form-collapse-pane.state';
|
|
3
|
-
export type { IFormCollapseState } from './form-collapse/form-collapse.state';
|
|
4
|
-
export type { IFormEditItemState } from './form-edit-item/form-edit-item.state';
|
|
5
|
-
export type { IFormGroupState } from './form-group/form-group.state';
|
|
6
|
-
export type { IFormTabState } from './form-tab/form-tab.state';
|
|
7
|
-
export type { IFormTabPaneState } from './form-tab-pane/form-tab-pane.state';
|
|
8
|
-
export type { IFormHiddenItemState } from './form-hidden-item/form-hidden-item.state';
|
|
9
|
-
export type { IFormItemState } from './form-item/form-item.state';
|
|
10
|
-
export type { IFormItemBasicState } from './form-item-basic/form-item-basic.state';
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { IEditorProvider } from '../../interface';
|
|
2
|
-
/**
|
|
3
|
-
* 编辑器实现注册器
|
|
4
|
-
*
|
|
5
|
-
* @author zhanghanrui
|
|
6
|
-
* @date 2024-03-27 10:03:59
|
|
7
|
-
* @export
|
|
8
|
-
* @class EditorRegister
|
|
9
|
-
*/
|
|
10
|
-
export declare class EditorRegister {
|
|
11
|
-
/**
|
|
12
|
-
* 编辑器集合
|
|
13
|
-
*
|
|
14
|
-
* @private
|
|
15
|
-
* @type {Map<string, () => IEditorProvider>}
|
|
16
|
-
*/
|
|
17
|
-
private editors;
|
|
18
|
-
/**
|
|
19
|
-
* 已经实例化的编辑器集合
|
|
20
|
-
*
|
|
21
|
-
* @private
|
|
22
|
-
* @type {Map<string, IEditorProvider>}
|
|
23
|
-
*/
|
|
24
|
-
private providers;
|
|
25
|
-
/**
|
|
26
|
-
* 编辑器适配器注册
|
|
27
|
-
*
|
|
28
|
-
* @param {string} tag 适配器标识
|
|
29
|
-
* @param {() => IEditorProvider} provider 编辑器提供者
|
|
30
|
-
*/
|
|
31
|
-
register(tag: string, provider: () => IEditorProvider): void;
|
|
32
|
-
/**
|
|
33
|
-
* 编辑器适配器注销
|
|
34
|
-
*
|
|
35
|
-
* @author zhanghanrui
|
|
36
|
-
* @date 2024-03-27 10:03:29
|
|
37
|
-
* @param {string} tag
|
|
38
|
-
*/
|
|
39
|
-
unregister(tag: string): void;
|
|
40
|
-
/**
|
|
41
|
-
* 获取编辑器适配器
|
|
42
|
-
*
|
|
43
|
-
* @author zhanghanrui
|
|
44
|
-
* @date 2024-03-27 10:03:16
|
|
45
|
-
* @param {string} tag
|
|
46
|
-
* @return {*} {(IEditorProvider | null)}
|
|
47
|
-
*/
|
|
48
|
-
get(tag: string): IEditorProvider | null;
|
|
49
|
-
}
|