@gct-paas/core-web 0.1.5-dev.6 → 0.1.5-dev.8
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/_plugin-vue_export-helper-BBfAJeJ1.js +1 -0
- package/dist/{icon-next-picker-CShmDJI0.js → icon-next-picker-y8hJhkCi.js} +1 -1
- package/dist/index.min.css +1 -1
- package/dist/loader.esm.min.js +1 -1
- package/dist/{monaco-editor-t8SRxaFC.js → monaco-editor-5qU4ukgX.js} +1 -1
- package/es/components/FullScreen/full-screen.vue.d.ts +30 -0
- package/es/components/FullScreen/full-screen.vue.mjs +5 -0
- package/es/components/FullScreen/full-screen.vue_vue_type_script_setup_true_lang.mjs +44 -0
- package/es/components/I18nSelect/src/i18n-select-btn.vue.mjs +2 -2
- package/es/components/I18nSelect/src/i18n-select-btn.vue_vue_type_script_setup_true_name_i18n-select-btn_lang.mjs +5 -5
- package/es/components/I18nSelect/src/{i18n-select-btn.vue_vue_type_style_index_0_scoped_d0fab479_lang.css → i18n-select-btn.vue_vue_type_style_index_0_scoped_b86f4068_lang.css} +16 -15
- package/es/components/I18nSelect/src/i18n-select-container.vue.d.ts +5 -1
- package/es/components/I18nSelect/src/i18n-select-container.vue.mjs +2 -2
- package/es/components/I18nSelect/src/i18n-select-container.vue_vue_type_script_setup_true_name_i18n-select-container_lang.mjs +1 -0
- package/es/components/I18nSelect/src/i18n-select-container.vue_vue_type_style_index_0_scoped_53df3982_lang.css +6 -0
- package/es/components/I18nSelect/src/i18n-select-input.vue.mjs +2 -2
- package/es/components/I18nSelect/src/i18n-select-input.vue_vue_type_script_setup_true_name_i18n-select-input_lang.mjs +2 -2
- package/es/components/I18nSelect/src/i18n-select-input.vue_vue_type_style_index_0_scoped_406c02b4_lang.css +3 -0
- package/es/components/app-full-screen-container/app-full-screen-container.css +77 -0
- package/es/components/app-full-screen-container/app-full-screen-container.d.ts +26 -0
- package/es/components/app-full-screen-container/app-full-screen-container.mjs +83 -0
- package/es/components/app-popover/app-popover-component.css +100 -0
- package/es/components/app-popover/app-popover-component.d.ts +13 -0
- package/es/components/app-popover/app-popover-component.mjs +160 -0
- package/es/components/copy-module-key/copy-module-key.vue.mjs +2 -2
- package/es/components/copy-module-key/copy-module-key.vue_vue_type_script_setup_true_name_copy-module-key_lang.mjs +1 -0
- package/es/components/copy-module-key/{copy-module-key.vue_vue_type_style_index_0_scoped_531b3cd2_lang.css → copy-module-key.vue_vue_type_style_index_0_scoped_66e22862_lang.css} +4 -4
- package/es/components/field-cascader/index.d.ts +2 -0
- package/es/components/field-cascader/index.mjs +1 -0
- package/es/components/field-cascader/src/FieldCascader.vue.d.ts +87 -0
- package/es/components/field-cascader/src/FieldCascader.vue.mjs +6 -0
- package/es/components/field-cascader/src/FieldCascader.vue_vue_type_script_setup_true_lang.mjs +115 -0
- package/es/components/field-cascader/src/FieldCascader.vue_vue_type_style_index_0_lang.css +69 -0
- package/es/components/field-cascader/src/SearchInput.vue.d.ts +11 -0
- package/es/components/field-cascader/src/SearchInput.vue.mjs +7 -0
- package/es/components/field-cascader/src/SearchInput.vue_vue_type_script_setup_true_lang.mjs +38 -0
- package/es/components/field-cascader/src/SearchInput.vue_vue_type_style_index_0_scoped_512c4b38_lang.css +9 -0
- package/es/components/field-cascader/src/hooks.d.ts +129 -0
- package/es/components/field-cascader/src/hooks.mjs +163 -0
- package/es/components/field-tree-select/field-sort-popover.vue.d.ts +129 -0
- package/es/components/field-tree-select/field-sort-popover.vue.mjs +7 -0
- package/es/components/field-tree-select/field-sort-popover.vue_vue_type_script_setup_true_lang.mjs +206 -0
- package/es/components/field-tree-select/field-sort-popover.vue_vue_type_style_index_0_scoped_c1811778_lang.css +136 -0
- package/es/components/field-tree-select/field-tree-select.vue.d.ts +119 -0
- package/es/components/field-tree-select/field-tree-select.vue.mjs +7 -0
- package/es/components/field-tree-select/field-tree-select.vue_vue_type_script_setup_true_lang.mjs +338 -0
- package/es/components/field-tree-select/field-tree-select.vue_vue_type_style_index_0_scoped_898030d3_lang.css +147 -0
- package/es/components/field-tree-select/index.d.ts +307 -0
- package/es/components/field-tree-select/index.mjs +7 -0
- package/es/components/icon-next-picker/icon-next-picker.vue_vue_type_script_setup_true_name_IconNextPicker_lang.mjs +1 -1
- package/es/components/index.d.ts +5 -1
- package/es/components/index.mjs +8 -1
- package/es/components/overlay-scrollbars/gct-overlay-scrollbars.css +72 -0
- package/es/components/overlay-scrollbars/gct-overlay-scrollbars.d.ts +75 -0
- package/es/components/overlay-scrollbars/gct-overlay-scrollbars.mjs +87 -0
- package/es/components/serial-number/index.d.ts +2 -0
- package/es/components/serial-number/index.mjs +1 -0
- package/es/components/serial-number/serial-number-container.vue.d.ts +23 -0
- package/es/components/serial-number/serial-number-container.vue.mjs +7 -0
- package/es/components/serial-number/serial-number-container.vue_vue_type_script_setup_true_name_serial-number-container_lang.mjs +219 -0
- package/es/components/serial-number/serial-number-container.vue_vue_type_style_index_0_scoped_35a73b4c_lang.css +30 -0
- package/es/components/serial-number/serial-number-item.vue.d.ts +22 -0
- package/es/components/serial-number/serial-number-item.vue.mjs +8 -0
- package/es/components/serial-number/serial-number-item.vue_vue_type_script_setup_true_lang.mjs +452 -0
- package/es/components/serial-number/serial-number-item.vue_vue_type_style_index_0_scoped_7baf8e25_lang.css +67 -0
- package/es/components/serial-number/serial-number-item.vue_vue_type_style_index_1_lang.css +51 -0
- package/es/create-app-vue.mjs +5 -3
- package/es/index.mjs +17 -1
- package/es/modules/color-picker/index.d.ts +2 -2
- package/es/modules/color-picker/index.mjs +1 -0
- package/es/modules/color-picker/src/ColorPicker.vue.mjs +1 -1
- package/es/modules/color-picker/src/color-editor.vue.d.ts +9 -0
- package/es/modules/color-picker/src/color-editor.vue.mjs +7 -0
- package/es/modules/color-picker/src/color-editor.vue_vue_type_script_setup_true_name_color-editor_lang.mjs +31 -0
- package/es/modules/color-picker/src/color-editor.vue_vue_type_style_index_0_scoped_7b102f87_lang.css +5 -0
- package/es/modules/gct-form/controller/form-edit-item/form-edit-item.controller.d.ts +0 -1
- package/es/modules/gct-form/controller/form-edit-item/form-edit-item.controller.mjs +1 -20
- package/es/modules/gct-form/controller/form-item-basic/form-item-basic.controller.d.ts +8 -0
- package/es/modules/gct-form/controller/form-item-basic/form-item-basic.controller.mjs +14 -0
- package/es/modules/gct-form/controller/gct-form/gct-form.controller.mjs +4 -10
- package/es/modules/gct-form/editor/gct-form-action/index.mjs +1 -1
- package/es/modules/gct-form/editor/gct-form-check-switch/gct-form-check-switch.css +2 -2
- package/es/modules/gct-form/editor/gct-form-color/gct-form-color.d.ts +1 -4
- package/es/modules/gct-form/editor/gct-form-color/gct-form-color.mjs +9 -10
- package/es/modules/gct-form/editor/gct-form-radio/gct-form-radio.css +25 -22
- package/es/modules/gct-form/editor/gct-form-radio/gct-form-radio.mjs +1 -1
- package/es/modules/gct-form/editor/gct-form-text/gct-form-text.d.ts +1 -5
- package/es/modules/gct-form/editor/gct-form-text/gct-form-text.mjs +18 -23
- package/es/modules/gct-form/index.d.ts +2 -0
- package/es/modules/gct-form/index.mjs +12 -1
- package/es/modules/gct-form/interface/i-controller/form-item-basic/form-item-basic.controller.d.ts +6 -0
- package/es/modules/gct-form/interface/i-editor/i-select-editor.d.ts +1 -1
- package/es/modules/gct-form/interface/i-form/i-form-edit-item.d.ts +0 -8
- package/es/modules/gct-form/interface/i-form/i-form-item-basic.d.ts +8 -0
- package/es/modules/gct-form/utils/index.d.ts +18 -0
- package/es/modules/gct-form/utils/index.mjs +37 -0
- package/es/modules/gct-form/widgets/gct-edit-form/gct-edit-form.mjs +2 -1
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/gct-form-collapse.model.mjs +25 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse/index.mjs +1 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.model.mjs +25 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-collapse-pane/index.mjs +1 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.d.ts +1 -6
- package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.mjs +31 -38
- package/es/modules/gct-form/widgets/gct-form/gct-form-group/gct-form-group.model.mjs +25 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-group/index.mjs +1 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.model.mjs +21 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-hidden-item/index.mjs +1 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.css +13 -6
- package/es/modules/gct-form/widgets/gct-form/gct-form-item/gct-form-item.model.mjs +23 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-item/index.mjs +1 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-line/gct-form-line.model.mjs +20 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-line/index.mjs +1 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab/gct-form-tab.model.mjs +16 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab/index.mjs +1 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.model.mjs +24 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-tab-pane/index.mjs +1 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/gct-form-title-group.model.mjs +25 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form-title-group/index.mjs +1 -0
- package/es/modules/gct-form/widgets/gct-form/gct-form.css +1 -3
- package/es/modules/gct-form/widgets/gct-form/gct-form.mjs +1 -1
- package/es/modules/gct-form/widgets/gct-form/index.d.ts +3 -3
- package/es/modules/gct-form/widgets/gct-form/index.mjs +9 -0
- package/es/modules/gct-table/editor/gct-table-date/gct-table-date.mjs +1 -1
- package/es/modules/gct-table/editor/gct-table-text/gct-table-text.mjs +1 -1
- package/es/modules/global-modal/src/BasicModal.vue.d.ts +4 -0
- package/es/modules/global-modal/src/BasicModal.vue_vue_type_script_setup_true_name_BasicModal_lang.mjs +1 -0
- package/es/modules/global-modal/src/components/ModalWrapper.vue.d.ts +1 -0
- package/es/modules/global-modal/src/components/ModalWrapper.vue.mjs +11 -6
- package/es/modules/global-modal/src/components/ModalWrapper.vue_vue_type_script_lang.mjs +3 -0
- package/es/modules/global-modal/src/components/ModalWrapper.vue_vue_type_style_index_0_lang.css +67 -0
- package/es/modules/personnel-selection/components/index.d.ts +3 -0
- package/es/modules/personnel-selection/components/personnel-select-tree/personnel-select-tree.d.ts +22 -0
- package/es/modules/personnel-selection/components/variable/check-variable/check-variable.d.ts +19 -0
- package/es/modules/personnel-selection/components/variable/index.d.ts +3 -0
- package/es/modules/personnel-selection/components/variable/list-variable/list-variable.d.ts +19 -0
- package/es/modules/personnel-selection/components/variable/tree-select-variable/tree-select-variable.d.ts +19 -0
- package/es/modules/personnel-selection/components/variable-select-pane/variable-select-pane.d.ts +21 -0
- package/es/modules/personnel-selection/constants/index.d.ts +16 -0
- package/es/modules/personnel-selection/controller/index.d.ts +2 -0
- package/es/modules/personnel-selection/controller/tab-item/tab-item.controller.d.ts +18 -0
- package/es/modules/personnel-selection/controller/variable-item/variable-item.controller.d.ts +17 -0
- package/es/modules/personnel-selection/editors/index.d.ts +1 -0
- package/es/modules/personnel-selection/editors/personnel-selection-editor/personnel-selection-editor.d.ts +2 -0
- package/es/modules/personnel-selection/enums/index.d.ts +31 -0
- package/es/modules/personnel-selection/index.d.ts +3 -0
- package/es/modules/personnel-selection/interface/controller/index.d.ts +3 -0
- package/es/modules/personnel-selection/interface/controller/tab-item/i-tab-item.controller.d.ts +86 -0
- package/es/modules/personnel-selection/interface/controller/tab-item/i-variable-tab-item.controller.d.ts +11 -0
- package/es/modules/personnel-selection/interface/controller/variable/i-variable-item.controller.d.ts +53 -0
- package/es/modules/personnel-selection/interface/data/i-data-node.d.ts +42 -0
- package/es/modules/personnel-selection/interface/index.d.ts +6 -0
- package/es/modules/personnel-selection/interface/options/index.d.ts +3 -0
- package/es/modules/personnel-selection/interface/options/personnel-selection-options/personnel-selection-options.d.ts +45 -0
- package/es/modules/personnel-selection/interface/options/select-area-options/select-area-options.d.ts +18 -0
- package/es/modules/personnel-selection/interface/options/select-region-options/select-region-options.d.ts +18 -0
- package/es/modules/personnel-selection/interface/providers/i-tab-item.provider.d.ts +51 -0
- package/es/modules/personnel-selection/interface/providers/i-variable-item.provider.d.ts +51 -0
- package/es/modules/personnel-selection/interface/state/i-tab-item.state.d.ts +27 -0
- package/es/modules/personnel-selection/interface/state/i-variable-item.state.d.ts +18 -0
- package/es/modules/personnel-selection/interface/state/index.d.ts +2 -0
- package/es/modules/personnel-selection/interface/store/i-variable-inst-store.d.ts +37 -0
- package/es/modules/personnel-selection/interface/store/i-variable-plugin-manage-store.d.ts +44 -0
- package/es/modules/personnel-selection/interface/store/i-variable-store.d.ts +29 -0
- package/es/modules/personnel-selection/interface/store/i-view-plugin-manage-store.d.ts +44 -0
- package/es/modules/personnel-selection/interface/store/i-view-store.d.ts +29 -0
- package/es/modules/personnel-selection/interface/store/i-view-tabs-store.d.ts +54 -0
- package/es/modules/personnel-selection/interface/store/index.d.ts +11 -0
- package/es/modules/personnel-selection/plugins/index.d.ts +23 -0
- package/es/modules/personnel-selection/plugins/tab-item/personnel-select-tab-item/personnel-select-tab-item.controller.d.ts +12 -0
- package/es/modules/personnel-selection/plugins/tab-item/variable-tab-item/variable-tab-item.controller.d.ts +14 -0
- package/es/modules/personnel-selection/plugins/variable-item/check-variable-item/check-variable-item.controller.d.ts +12 -0
- package/es/modules/personnel-selection/plugins/variable-item/list-variable-item/list-variable-item.controller.d.ts +12 -0
- package/es/modules/personnel-selection/plugins/variable-item/tree-select-variable-item/tree-select-variable-item.controller.d.ts +12 -0
- package/es/modules/personnel-selection/props/index.d.ts +75 -0
- package/es/modules/personnel-selection/state/index.d.ts +2 -0
- package/es/modules/personnel-selection/state/tab-item.state.d.ts +15 -0
- package/es/modules/personnel-selection/state/variable-item.state.d.ts +4 -0
- package/es/modules/personnel-selection/store/index.d.ts +1 -0
- package/es/modules/personnel-selection/store/variable/variable-inst.d.ts +10 -0
- package/es/modules/personnel-selection/store/variable/variable-plugin-manage.d.ts +10 -0
- package/es/modules/personnel-selection/store/variable/variable-store.d.ts +5 -0
- package/es/modules/personnel-selection/store/view/view-plugin-manage.d.ts +10 -0
- package/es/modules/personnel-selection/store/view/view-store.d.ts +11 -0
- package/es/modules/personnel-selection/store/view/view-tabs.d.ts +10 -0
- package/es/modules/personnel-selection/use/index.d.ts +40 -0
- package/es/modules/personnel-selection/utils/index.d.ts +1 -0
- package/es/modules/personnel-selection/views/index.d.ts +12 -0
- package/es/modules/personnel-selection/views/personnel-selection-view/personnel-selection-view.d.ts +181 -0
- package/es/modules/personnel-selection/widgets/index.d.ts +2 -0
- package/es/modules/personnel-selection/widgets/personnel-select-area/personnel-select-area.d.ts +1 -0
- package/es/modules/personnel-selection/widgets/personnel-select-region/personnel-select-region.d.ts +2 -0
- package/es/modules/picture-cropper/src/CopperFreeModal.vue.d.ts +2 -2
- package/es/modules/picture-cropper/src/CopperFreeModal.vue.mjs +2 -2
- package/es/modules/picture-cropper/src/{CopperFreeModal.vue_vue_type_style_index_0_scoped_488ed4c7_lang.css → CopperFreeModal.vue_vue_type_style_index_0_scoped_9069f48a_lang.css} +10 -10
- package/es/modules/picture-cropper/src/CopperModal.vue.d.ts +2 -2
- package/es/modules/picture-cropper/src/CopperModal.vue.mjs +2 -2
- package/es/modules/picture-cropper/src/{CopperModal.vue_vue_type_style_index_0_scoped_ee086999_lang.css → CopperModal.vue_vue_type_style_index_0_scoped_f1134678_lang.css} +14 -14
- package/es/modules/picture-cropper/src/CropperAvatar.vue.d.ts +2 -2
- package/es/modules/picture-cropper/src/CropperAvatar.vue.mjs +2 -2
- package/es/modules/picture-cropper/src/{CropperAvatar.vue_vue_type_style_index_0_scoped_b1cbaaf1_lang.css → CropperAvatar.vue_vue_type_style_index_0_scoped_ef939ff0_lang.css} +7 -7
- package/es/modules/picture-cropper/src/CropperFree.vue.d.ts +2 -2
- package/es/modules/picture-cropper/src/CropperFree.vue.mjs +2 -2
- package/es/modules/picture-cropper/src/{CropperFree.vue_vue_type_style_index_0_scoped_bab12130_lang.css → CropperFree.vue_vue_type_style_index_0_scoped_7a51c6b9_lang.css} +16 -16
- package/es/utils/overlay-controller/overlay-controller.d.ts +16 -1
- package/es/utils/overlay-controller/overlay-controller.mjs +18 -0
- package/es/utils/with-install.d.ts +1 -0
- package/es/utils/with-install.mjs +1 -1
- package/package.json +13 -9
- package/dist/_plugin-vue_export-helper-DySwtVV7.js +0 -1
- package/es/components/I18nSelect/src/i18n-select-container.vue_vue_type_style_index_0_scoped_5f75bfb2_lang.css +0 -6
- package/es/components/I18nSelect/src/i18n-select-input.vue_vue_type_style_index_0_scoped_b4baf3ec_lang.css +0 -3
- /package/es/modules/gct-table/editor/{gct-table-text/gct-table-text.css → gct-table-date/gct-table-date.css} +0 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Component, DefineComponent } from 'vue';
|
|
2
|
+
import { IVariableItemController, IVariableItemControllerOpts } from '../controller';
|
|
3
|
+
/**
|
|
4
|
+
* 变量项提供者接口
|
|
5
|
+
*
|
|
6
|
+
* @author chitanda
|
|
7
|
+
* @date 2025-09-11 19:09:10
|
|
8
|
+
* @export
|
|
9
|
+
* @interface IVariableItemProvider
|
|
10
|
+
*/
|
|
11
|
+
export interface IVariableItemProvider {
|
|
12
|
+
/**
|
|
13
|
+
* 变量项类型标识
|
|
14
|
+
*
|
|
15
|
+
* @author chitanda
|
|
16
|
+
* @date 2025-09-11 19:09:23
|
|
17
|
+
* @type {string}
|
|
18
|
+
*/
|
|
19
|
+
tag: string;
|
|
20
|
+
/**
|
|
21
|
+
* 变量呈现排序索引,数值越小越靠前
|
|
22
|
+
*
|
|
23
|
+
* @author chitanda
|
|
24
|
+
* @date 2025-09-11 18:09:37
|
|
25
|
+
* @type {number}
|
|
26
|
+
*/
|
|
27
|
+
index: number;
|
|
28
|
+
/**
|
|
29
|
+
* 控制器参数配置
|
|
30
|
+
*
|
|
31
|
+
* @author chitanda
|
|
32
|
+
* @date 2025-09-15 16:09:48
|
|
33
|
+
* @type {IVariableItemControllerOpts}
|
|
34
|
+
*/
|
|
35
|
+
opts: IVariableItemControllerOpts;
|
|
36
|
+
/**
|
|
37
|
+
* 变量项控制器类
|
|
38
|
+
*
|
|
39
|
+
* @author chitanda
|
|
40
|
+
* @date 2025-09-11 19:09:52
|
|
41
|
+
*/
|
|
42
|
+
controller: new (tag: string, opts: IVariableItemControllerOpts) => IVariableItemController;
|
|
43
|
+
/**
|
|
44
|
+
* 实际渲染的组件,可以是字符串组件名称或 Vue 组件
|
|
45
|
+
*
|
|
46
|
+
* @author chitanda
|
|
47
|
+
* @date 2025-09-11 19:09:55
|
|
48
|
+
* @type {(string | Component | DefineComponent)}
|
|
49
|
+
*/
|
|
50
|
+
component?: string | Component | DefineComponent;
|
|
51
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { IDataNode } from '../data/i-data-node';
|
|
2
|
+
/**
|
|
3
|
+
* tab项状态
|
|
4
|
+
*
|
|
5
|
+
* @author chitanda
|
|
6
|
+
* @date 2025-09-11 14:09:00
|
|
7
|
+
* @export
|
|
8
|
+
* @interface ITabItemState
|
|
9
|
+
*/
|
|
10
|
+
export interface ITabItemState {
|
|
11
|
+
/**
|
|
12
|
+
* 是否激活
|
|
13
|
+
*
|
|
14
|
+
* @author chitanda
|
|
15
|
+
* @date 2025-09-11 14:09:57
|
|
16
|
+
* @type {boolean}
|
|
17
|
+
*/
|
|
18
|
+
active: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* 所有选中数据
|
|
21
|
+
*
|
|
22
|
+
* @author chitanda
|
|
23
|
+
* @date 2025-09-11 15:09:25
|
|
24
|
+
* @type {IDataNode[]}
|
|
25
|
+
*/
|
|
26
|
+
items: IDataNode[];
|
|
27
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 变量项状态
|
|
3
|
+
*
|
|
4
|
+
* @author chitanda
|
|
5
|
+
* @date 2025-09-11 17:09:39
|
|
6
|
+
* @export
|
|
7
|
+
* @interface IVariableItemState
|
|
8
|
+
*/
|
|
9
|
+
export interface IVariableItemState {
|
|
10
|
+
/**
|
|
11
|
+
* 选中数据
|
|
12
|
+
*
|
|
13
|
+
* @author chitanda
|
|
14
|
+
* @date 2025-09-11 17:09:44
|
|
15
|
+
* @type {string[]}
|
|
16
|
+
*/
|
|
17
|
+
selects: string[];
|
|
18
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { IVariableItemController } from '../controller';
|
|
3
|
+
/**
|
|
4
|
+
* 变量实例存储接口
|
|
5
|
+
*
|
|
6
|
+
* @author chitanda
|
|
7
|
+
* @date 2025-09-11 19:09:07
|
|
8
|
+
* @export
|
|
9
|
+
* @interface IVariableInstStore
|
|
10
|
+
*/
|
|
11
|
+
export interface IVariableInstStore {
|
|
12
|
+
/**
|
|
13
|
+
* 变量项控制器列表
|
|
14
|
+
*
|
|
15
|
+
* @author chitanda
|
|
16
|
+
* @date 2025-09-11 19:09:11
|
|
17
|
+
* @type {Ref<IVariableItemController[]>}
|
|
18
|
+
*/
|
|
19
|
+
variableControllers: Ref<IVariableItemController[]>;
|
|
20
|
+
/**
|
|
21
|
+
* 添加变量项控制器
|
|
22
|
+
*
|
|
23
|
+
* @author chitanda
|
|
24
|
+
* @date 2025-09-11 20:09:29
|
|
25
|
+
* @param {IVariableItemController} controller
|
|
26
|
+
*/
|
|
27
|
+
addVariableController(controller: IVariableItemController): void;
|
|
28
|
+
/**
|
|
29
|
+
* 根据变量项标识获取变量项控制器
|
|
30
|
+
*
|
|
31
|
+
* @author chitanda
|
|
32
|
+
* @date 2025-09-15 17:09:47
|
|
33
|
+
* @param {string} tag
|
|
34
|
+
* @returns {*} {(IVariableItemController | undefined)}
|
|
35
|
+
*/
|
|
36
|
+
getVariableController(tag: string): IVariableItemController | undefined;
|
|
37
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { IVariableItemProvider } from '../providers/i-variable-item.provider';
|
|
2
|
+
/**
|
|
3
|
+
* 插件管理存储接口
|
|
4
|
+
*
|
|
5
|
+
* @author chitanda
|
|
6
|
+
* @date 2025-09-11 15:09:00
|
|
7
|
+
* @export
|
|
8
|
+
* @interface IVariablePluginManageStore
|
|
9
|
+
*/
|
|
10
|
+
export interface IVariablePluginManageStore {
|
|
11
|
+
/**
|
|
12
|
+
* 注册变量提供者
|
|
13
|
+
*
|
|
14
|
+
* @author chitanda
|
|
15
|
+
* @date 2025-09-11 15:09:10
|
|
16
|
+
* @param {IVariableItemProvider} variable
|
|
17
|
+
* @returns {*} {void}
|
|
18
|
+
*/
|
|
19
|
+
registerVariableProvider(variable: IVariableItemProvider): void;
|
|
20
|
+
/**
|
|
21
|
+
* 根据tag获取变量提供者
|
|
22
|
+
*
|
|
23
|
+
* @author chitanda
|
|
24
|
+
* @date 2025-09-11 14:09:43
|
|
25
|
+
* @param {string} tag
|
|
26
|
+
* @returns {*} {(IVariableItemProvider | undefined)}
|
|
27
|
+
*/
|
|
28
|
+
getVariableProvider(tag: string): IVariableItemProvider | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* 获取所有变量提供者
|
|
31
|
+
*
|
|
32
|
+
* @author chitanda
|
|
33
|
+
* @date 2025-09-11 15:09:20
|
|
34
|
+
* @returns {*} {IVariableItemProvider[]}
|
|
35
|
+
*/
|
|
36
|
+
getVariableProviders(): IVariableItemProvider[];
|
|
37
|
+
/**
|
|
38
|
+
* 根据 opts 中的 index 进行排序
|
|
39
|
+
*
|
|
40
|
+
* @author chitanda
|
|
41
|
+
* @date 2025-09-15 17:09:46
|
|
42
|
+
*/
|
|
43
|
+
sortProviders(): void;
|
|
44
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { IVariablePluginManageStore } from './i-variable-plugin-manage-store';
|
|
3
|
+
import { IVariableInstStore } from './i-variable-inst-store';
|
|
4
|
+
/**
|
|
5
|
+
* 视图整体状态管理接口
|
|
6
|
+
*
|
|
7
|
+
* @author chitanda
|
|
8
|
+
* @date 2025-09-11 15:09:00
|
|
9
|
+
* @export
|
|
10
|
+
* @interface IVariableStore
|
|
11
|
+
*/
|
|
12
|
+
export interface IVariableStore extends IVariablePluginManageStore, IVariableInstStore {
|
|
13
|
+
/**
|
|
14
|
+
* 是否已初始化
|
|
15
|
+
*
|
|
16
|
+
* @author chitanda
|
|
17
|
+
* @date 2025-09-11 15:09:10
|
|
18
|
+
* @type {Ref<boolean>}
|
|
19
|
+
*/
|
|
20
|
+
isInit: Ref<boolean>;
|
|
21
|
+
/**
|
|
22
|
+
* 初始化视图状态
|
|
23
|
+
*
|
|
24
|
+
* @author chitanda
|
|
25
|
+
* @date 2025-09-11 15:09:20
|
|
26
|
+
* @returns {*} {Promise<void>}
|
|
27
|
+
*/
|
|
28
|
+
init(): Promise<void>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ITabItemProvider } from '../providers/i-tab-item.provider';
|
|
2
|
+
/**
|
|
3
|
+
* 插件管理存储接口
|
|
4
|
+
*
|
|
5
|
+
* @author chitanda
|
|
6
|
+
* @date 2025-09-11 15:09:00
|
|
7
|
+
* @export
|
|
8
|
+
* @interface IViewPluginManageStore
|
|
9
|
+
*/
|
|
10
|
+
export interface IViewPluginManageStore {
|
|
11
|
+
/**
|
|
12
|
+
* 注册tab提供者
|
|
13
|
+
*
|
|
14
|
+
* @author chitanda
|
|
15
|
+
* @date 2025-09-11 15:09:10
|
|
16
|
+
* @param {ITabItemProvider} tab
|
|
17
|
+
* @returns {*} {void}
|
|
18
|
+
*/
|
|
19
|
+
registerTabProvider(tab: ITabItemProvider): void;
|
|
20
|
+
/**
|
|
21
|
+
* 根据tag获取tab提供者
|
|
22
|
+
*
|
|
23
|
+
* @author chitanda
|
|
24
|
+
* @date 2025-09-11 14:09:43
|
|
25
|
+
* @param {string} tag
|
|
26
|
+
* @returns {*} {(ITabItemProvider | undefined)}
|
|
27
|
+
*/
|
|
28
|
+
getTabProvider(tag: string): ITabItemProvider | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* 获取所有tab提供者
|
|
31
|
+
*
|
|
32
|
+
* @author chitanda
|
|
33
|
+
* @date 2025-09-11 15:09:20
|
|
34
|
+
* @returns {*} {ITabItemProvider[]}
|
|
35
|
+
*/
|
|
36
|
+
getTabProviders(): ITabItemProvider[];
|
|
37
|
+
/**
|
|
38
|
+
* 根据 opts 中的 index 进行排序
|
|
39
|
+
*
|
|
40
|
+
* @author chitanda
|
|
41
|
+
* @date 2025-09-15 17:09:09
|
|
42
|
+
*/
|
|
43
|
+
sortProviders(): void;
|
|
44
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { IViewPluginManageStore } from './i-view-plugin-manage-store';
|
|
3
|
+
import { IViewTabsStore } from './i-view-tabs-store';
|
|
4
|
+
/**
|
|
5
|
+
* 视图整体状态管理接口
|
|
6
|
+
*
|
|
7
|
+
* @author chitanda
|
|
8
|
+
* @date 2025-09-11 15:09:00
|
|
9
|
+
* @export
|
|
10
|
+
* @interface IViewStore
|
|
11
|
+
*/
|
|
12
|
+
export interface IViewStore extends IViewPluginManageStore, IViewTabsStore {
|
|
13
|
+
/**
|
|
14
|
+
* 是否已初始化
|
|
15
|
+
*
|
|
16
|
+
* @author chitanda
|
|
17
|
+
* @date 2025-09-11 15:09:10
|
|
18
|
+
* @type {Ref<boolean>}
|
|
19
|
+
*/
|
|
20
|
+
isInit: Ref<boolean>;
|
|
21
|
+
/**
|
|
22
|
+
* 初始化视图状态
|
|
23
|
+
*
|
|
24
|
+
* @author chitanda
|
|
25
|
+
* @date 2025-09-11 15:09:20
|
|
26
|
+
* @returns {*} {Promise<void>}
|
|
27
|
+
*/
|
|
28
|
+
init(): Promise<void>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { ITabItemController } from '../controller';
|
|
3
|
+
/**
|
|
4
|
+
* Tab状态管理存储接口
|
|
5
|
+
*
|
|
6
|
+
* @author chitanda
|
|
7
|
+
* @date 2025-09-11 15:09:00
|
|
8
|
+
* @export
|
|
9
|
+
* @interface IViewTabsStore
|
|
10
|
+
*/
|
|
11
|
+
export interface IViewTabsStore {
|
|
12
|
+
/**
|
|
13
|
+
* 所有 tab 控制器
|
|
14
|
+
*
|
|
15
|
+
* @author chitanda
|
|
16
|
+
* @date 2025-09-11 14:09:41
|
|
17
|
+
* @type {Ref<ITabItemController[]>}
|
|
18
|
+
*/
|
|
19
|
+
tabControllers: Ref<ITabItemController[]>;
|
|
20
|
+
/**
|
|
21
|
+
* 添加 tab 控制器
|
|
22
|
+
*
|
|
23
|
+
* @author chitanda
|
|
24
|
+
* @date 2025-09-11 14:09:03
|
|
25
|
+
* @param {ITabItemController} controller
|
|
26
|
+
*/
|
|
27
|
+
addTabController(controller: ITabItemController): void;
|
|
28
|
+
/**
|
|
29
|
+
* 根据 tab 标识获取 tab 控制器
|
|
30
|
+
*
|
|
31
|
+
* @author chitanda
|
|
32
|
+
* @date 2025-09-15 17:09:08
|
|
33
|
+
* @param {string} tag
|
|
34
|
+
* @returns {*} {(ITabItemController | undefined)}
|
|
35
|
+
*/
|
|
36
|
+
getTabController(tag: string): ITabItemController | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* 当前激活的tab标识
|
|
39
|
+
*
|
|
40
|
+
* @author chitanda
|
|
41
|
+
* @date 2025-09-11 15:09:10
|
|
42
|
+
* @type {Ref<string | null>}
|
|
43
|
+
*/
|
|
44
|
+
activeTab: Ref<string | null>;
|
|
45
|
+
/**
|
|
46
|
+
* 设置激活的tab
|
|
47
|
+
*
|
|
48
|
+
* @author chitanda
|
|
49
|
+
* @date 2025-09-11 15:09:20
|
|
50
|
+
* @param {string} tab
|
|
51
|
+
* @returns {*} {void}
|
|
52
|
+
*/
|
|
53
|
+
setActiveTab(tab: string): void;
|
|
54
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Store } from 'pinia';
|
|
2
|
+
import { IViewStore } from './i-view-store';
|
|
3
|
+
import { IVariableStore } from './i-variable-store';
|
|
4
|
+
export type ViewStoreInst = Store<string, IViewStore>;
|
|
5
|
+
export type VariableStoreInst = Store<string, IVariableStore>;
|
|
6
|
+
export type { IVariablePluginManageStore } from './i-variable-plugin-manage-store';
|
|
7
|
+
export type { IVariableInstStore } from './i-variable-inst-store';
|
|
8
|
+
export type { IVariableStore } from './i-variable-store';
|
|
9
|
+
export type { IViewPluginManageStore } from './i-view-plugin-manage-store';
|
|
10
|
+
export type { IViewTabsStore } from './i-view-tabs-store';
|
|
11
|
+
export type { IViewStore } from './i-view-store';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ITabItemProvider, IVariableItemProvider, VariableStoreInst, ViewStoreInst } from '../interface';
|
|
2
|
+
/**
|
|
3
|
+
* 注册 tab 项插件
|
|
4
|
+
*
|
|
5
|
+
* @author chitanda
|
|
6
|
+
* @date 2025-09-15 17:09:27
|
|
7
|
+
* @export
|
|
8
|
+
* @param {ViewStoreInst} store
|
|
9
|
+
* @param {Array<string>} enableTabPlugins
|
|
10
|
+
* @param {ITabItemProvider[]} [plugins]
|
|
11
|
+
*/
|
|
12
|
+
export declare function registerTabItemPlugins(store: ViewStoreInst, enableTabPlugins: string[], plugins?: ITabItemProvider[]): void;
|
|
13
|
+
/**
|
|
14
|
+
* 注册变量项插件
|
|
15
|
+
*
|
|
16
|
+
* @author chitanda
|
|
17
|
+
* @date 2025-09-15 17:09:20
|
|
18
|
+
* @export
|
|
19
|
+
* @param {VariableStoreInst} store
|
|
20
|
+
* @param {Array<string>} enableVariablePlugins
|
|
21
|
+
* @param {IVariableItemProvider[]} [plugins]
|
|
22
|
+
*/
|
|
23
|
+
export declare function registerVariableItemPlugins(store: VariableStoreInst, enableVariablePlugins: string[], plugins?: IVariableItemProvider[]): void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TabItemController } from '../../../controller';
|
|
2
|
+
/**
|
|
3
|
+
* 人员选择模式 tab 控制器
|
|
4
|
+
*
|
|
5
|
+
* @author chitanda
|
|
6
|
+
* @date 2025-09-15 16:09:19
|
|
7
|
+
* @export
|
|
8
|
+
* @class PersonnelSelectTabItemController
|
|
9
|
+
* @extends {TabItemController}
|
|
10
|
+
*/
|
|
11
|
+
export declare class PersonnelSelectTabItemController extends TabItemController {
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TabItemController } from '../../../controller';
|
|
2
|
+
import { IVariableTabItemController } from '../../../interface';
|
|
3
|
+
/**
|
|
4
|
+
* 变量 tab 控制器
|
|
5
|
+
*
|
|
6
|
+
* @author chitanda
|
|
7
|
+
* @date 2025-09-11 17:09:28
|
|
8
|
+
* @export
|
|
9
|
+
* @class VariableTabItemController
|
|
10
|
+
* @extends {TabItemController}
|
|
11
|
+
* @implements {IVariableTabItemController}
|
|
12
|
+
*/
|
|
13
|
+
export declare class VariableTabItemController extends TabItemController implements IVariableTabItemController {
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { VariableItemController } from '../../../controller';
|
|
2
|
+
/**
|
|
3
|
+
* 单选项 checkbox 模式
|
|
4
|
+
*
|
|
5
|
+
* @author chitanda
|
|
6
|
+
* @date 2025-09-15 16:09:09
|
|
7
|
+
* @export
|
|
8
|
+
* @class CheckVariableItemController
|
|
9
|
+
* @extends {VariableItemController}
|
|
10
|
+
*/
|
|
11
|
+
export declare class CheckVariableItemController extends VariableItemController {
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { VariableItemController } from '../../../controller';
|
|
2
|
+
/**
|
|
3
|
+
* 选项列表模式 check list
|
|
4
|
+
*
|
|
5
|
+
* @author chitanda
|
|
6
|
+
* @date 2025-09-15 16:09:28
|
|
7
|
+
* @export
|
|
8
|
+
* @class ListVariableItemController
|
|
9
|
+
* @extends {VariableItemController}
|
|
10
|
+
*/
|
|
11
|
+
export declare class ListVariableItemController extends VariableItemController {
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { VariableItemController } from '../../../controller';
|
|
2
|
+
/**
|
|
3
|
+
* 树选择器模式
|
|
4
|
+
*
|
|
5
|
+
* @author chitanda
|
|
6
|
+
* @date 2025-09-15 16:09:03
|
|
7
|
+
* @export
|
|
8
|
+
* @class TreeSelectVariableItemController
|
|
9
|
+
* @extends {VariableItemController}
|
|
10
|
+
*/
|
|
11
|
+
export declare class TreeSelectVariableItemController extends VariableItemController {
|
|
12
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ITabItemController, ITabItemProvider, IVariableItemController, IVariableItemProvider } from '../interface';
|
|
3
|
+
/**
|
|
4
|
+
* 人员选择通用树组件Props类型
|
|
5
|
+
*/
|
|
6
|
+
export interface TabItemComProps {
|
|
7
|
+
/**
|
|
8
|
+
* tab项提供者
|
|
9
|
+
*
|
|
10
|
+
* @author chitanda
|
|
11
|
+
* @date 2025-09-15 17:09:03
|
|
12
|
+
* @type {ITabItemProvider}
|
|
13
|
+
*/
|
|
14
|
+
provider: ITabItemProvider;
|
|
15
|
+
/**
|
|
16
|
+
* tab项控制器
|
|
17
|
+
*
|
|
18
|
+
* @author chitanda
|
|
19
|
+
* @date 2025-09-15 17:09:21
|
|
20
|
+
* @type {ITabItemController}
|
|
21
|
+
*/
|
|
22
|
+
c: ITabItemController;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* 标签页项绘制组件Props定义
|
|
26
|
+
*/
|
|
27
|
+
export declare const tabItemComProps: {
|
|
28
|
+
readonly provider: {
|
|
29
|
+
readonly type: PropType<TabItemComProps["provider"]>;
|
|
30
|
+
readonly required: true;
|
|
31
|
+
};
|
|
32
|
+
readonly c: {
|
|
33
|
+
readonly type: PropType<TabItemComProps["c"]>;
|
|
34
|
+
readonly required: true;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* 变量项绘制组件Props定义
|
|
39
|
+
*
|
|
40
|
+
* @author chitanda
|
|
41
|
+
* @date 2025-09-15 17:09:48
|
|
42
|
+
* @export
|
|
43
|
+
* @interface VariableItemComProps
|
|
44
|
+
*/
|
|
45
|
+
export interface VariableItemComProps {
|
|
46
|
+
/**
|
|
47
|
+
* 变量项提供者
|
|
48
|
+
*
|
|
49
|
+
* @author chitanda
|
|
50
|
+
* @date 2025-09-15 17:09:53
|
|
51
|
+
* @type {IVariableItemProvider}
|
|
52
|
+
*/
|
|
53
|
+
provider: IVariableItemProvider;
|
|
54
|
+
/**
|
|
55
|
+
* 变量项控制器
|
|
56
|
+
*
|
|
57
|
+
* @author chitanda
|
|
58
|
+
* @date 2025-09-15 17:09:55
|
|
59
|
+
* @type {IVariableItemController}
|
|
60
|
+
*/
|
|
61
|
+
c: IVariableItemController;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* 变量项绘制组件Props定义
|
|
65
|
+
*/
|
|
66
|
+
export declare const variableItemComProps: {
|
|
67
|
+
readonly provider: {
|
|
68
|
+
readonly type: PropType<VariableItemComProps["provider"]>;
|
|
69
|
+
readonly required: true;
|
|
70
|
+
};
|
|
71
|
+
readonly c: {
|
|
72
|
+
readonly type: PropType<VariableItemComProps["c"]>;
|
|
73
|
+
readonly required: true;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ITabItemState } from '../interface';
|
|
2
|
+
import { IDataNode } from '../interface/data/i-data-node';
|
|
3
|
+
/**
|
|
4
|
+
* tab项状态
|
|
5
|
+
*
|
|
6
|
+
* @author chitanda
|
|
7
|
+
* @date 2025-09-11 14:09:46
|
|
8
|
+
* @export
|
|
9
|
+
* @class TabItemState
|
|
10
|
+
* @implements {ITabItemState}
|
|
11
|
+
*/
|
|
12
|
+
export declare class TabItemState implements ITabItemState {
|
|
13
|
+
active: boolean;
|
|
14
|
+
items: IDataNode[];
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { createViewStore } from './view/view-store';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IVariablePluginManageStore } from '../../interface';
|
|
2
|
+
/**
|
|
3
|
+
* 获取 变量 插件管理器
|
|
4
|
+
*
|
|
5
|
+
* @author chitanda
|
|
6
|
+
* @date 2025-09-11 19:09:16
|
|
7
|
+
* @export
|
|
8
|
+
* @returns {*} {IVariablePluginManageStore}
|
|
9
|
+
*/
|
|
10
|
+
export declare function useVariablePluginManage(): IVariablePluginManageStore;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IViewPluginManageStore } from '../../interface';
|
|
2
|
+
/**
|
|
3
|
+
* 获取 tab 提供者
|
|
4
|
+
*
|
|
5
|
+
* @author chitanda
|
|
6
|
+
* @date 2025-09-11 13:09:14
|
|
7
|
+
* @export
|
|
8
|
+
* @returns {*} {IViewPluginManageStore}
|
|
9
|
+
*/
|
|
10
|
+
export declare function viewPluginManageStore(): IViewPluginManageStore;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { defineStore } from 'pinia';
|
|
2
|
+
import { IViewStore } from '../../interface';
|
|
3
|
+
type PiniaViewStore = ReturnType<typeof defineStore<string, IViewStore>>;
|
|
4
|
+
/**
|
|
5
|
+
* 创建人员选择界面视图状态管理
|
|
6
|
+
*
|
|
7
|
+
* @param id
|
|
8
|
+
* @returns {PiniaViewStore}
|
|
9
|
+
*/
|
|
10
|
+
export declare function createViewStore(id: string): PiniaViewStore;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { DeepReadonly, UnwrapNestedRefs } from 'vue';
|
|
2
|
+
import { PersonnelSelectionOptions, VariableStoreInst, ViewStoreInst } from '../interface';
|
|
3
|
+
/**
|
|
4
|
+
* 获取当前人员选择界面唯一标识
|
|
5
|
+
*
|
|
6
|
+
* @author chitanda
|
|
7
|
+
* @date 2025-09-09 15:09:55
|
|
8
|
+
* @export
|
|
9
|
+
* @returns {*} {string}
|
|
10
|
+
*/
|
|
11
|
+
export declare function useViewId(): string;
|
|
12
|
+
/**
|
|
13
|
+
* 获取界面 store
|
|
14
|
+
*
|
|
15
|
+
* @author chitanda
|
|
16
|
+
* @date 2025-09-15 16:09:35
|
|
17
|
+
* @export
|
|
18
|
+
* @param {string} [id]
|
|
19
|
+
* @returns {*} {ViewStoreInst}
|
|
20
|
+
*/
|
|
21
|
+
export declare function useViewStore(id?: string): ViewStoreInst;
|
|
22
|
+
/**
|
|
23
|
+
* 获取变量 store
|
|
24
|
+
*
|
|
25
|
+
* @author chitanda
|
|
26
|
+
* @date 2025-09-15 16:09:29
|
|
27
|
+
* @export
|
|
28
|
+
* @param {string} [id]
|
|
29
|
+
* @returns {*} {VariableStoreInst}
|
|
30
|
+
*/
|
|
31
|
+
export declare function useVariableStore(id?: string): VariableStoreInst;
|
|
32
|
+
/**
|
|
33
|
+
* 获取人员选择器配置项
|
|
34
|
+
*
|
|
35
|
+
* @author chitanda
|
|
36
|
+
* @date 2025-09-10 11:09:38
|
|
37
|
+
* @export
|
|
38
|
+
* @returns {*} {PersonnelSelectionOptions}
|
|
39
|
+
*/
|
|
40
|
+
export declare function useOpts(): DeepReadonly<UnwrapNestedRefs<PersonnelSelectionOptions>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|