@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
package/es/modules/global-modal/src/components/ModalWrapper.vue_vue_type_style_index_0_lang.css
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/* stylelint-disable scss/no-global-function-names */
|
|
3
|
+
/* bem('block', 'element', 'modifier') => 'ibiz-block__element--modifier' */
|
|
4
|
+
/**
|
|
5
|
+
* 定义 Block 块
|
|
6
|
+
* @param {String} $block - Block 块名称
|
|
7
|
+
* @example
|
|
8
|
+
* @include b('button') {
|
|
9
|
+
* padding: 10px;
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* 定义 Element 元素
|
|
14
|
+
* @param {String|List} $element - Element 元素名称,支持单个或多个
|
|
15
|
+
* @example
|
|
16
|
+
* @include b('button') {
|
|
17
|
+
* @include e('text') {
|
|
18
|
+
* color: #000;
|
|
19
|
+
* }
|
|
20
|
+
* }
|
|
21
|
+
* // 或传入多个元素
|
|
22
|
+
* @include b('button') {
|
|
23
|
+
* @include e(('text', 'icon')) {
|
|
24
|
+
* margin: 5px;
|
|
25
|
+
* }
|
|
26
|
+
* }
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* 定义 Modifier 修饰符
|
|
30
|
+
* @param {String|List} $modifier - Modifier 修饰符名称,支持单个或多个
|
|
31
|
+
* @example
|
|
32
|
+
* @include b('button') {
|
|
33
|
+
* @include m('primary') {
|
|
34
|
+
* background: blue;
|
|
35
|
+
* }
|
|
36
|
+
* }
|
|
37
|
+
* // 或传入多个修饰符
|
|
38
|
+
* @include b('button') {
|
|
39
|
+
* @include m(('primary', 'large')) {
|
|
40
|
+
* background: blue;
|
|
41
|
+
* font-size: 16px;
|
|
42
|
+
* }
|
|
43
|
+
* }
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* 定义状态选择器
|
|
47
|
+
* @param {String} $state - 状态名称
|
|
48
|
+
* @example
|
|
49
|
+
* @include b('button') {
|
|
50
|
+
* @include when('disabled') {
|
|
51
|
+
* opacity: 0.5;
|
|
52
|
+
* }
|
|
53
|
+
* }
|
|
54
|
+
*/
|
|
55
|
+
/**
|
|
56
|
+
* 深色主题样式
|
|
57
|
+
* @param {String} $block - Block 块名称
|
|
58
|
+
* @example
|
|
59
|
+
* @include dark('button') {
|
|
60
|
+
* background: #333;
|
|
61
|
+
* color: #fff;
|
|
62
|
+
* }
|
|
63
|
+
*/
|
|
64
|
+
/* stylelint-disable scss/no-global-function-names */
|
|
65
|
+
.gct-basic-modal-wrapper {
|
|
66
|
+
padding: 16px;
|
|
67
|
+
}
|
package/es/modules/personnel-selection/components/personnel-select-tree/personnel-select-tree.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 人员选择通用树组件
|
|
3
|
+
*/
|
|
4
|
+
export declare const PersonnelSelectTree: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
+
readonly provider: {
|
|
6
|
+
readonly type: import('vue').PropType<import('../../props').TabItemComProps["provider"]>;
|
|
7
|
+
readonly required: true;
|
|
8
|
+
};
|
|
9
|
+
readonly c: {
|
|
10
|
+
readonly type: import('vue').PropType<import('../../props').TabItemComProps["c"]>;
|
|
11
|
+
readonly required: true;
|
|
12
|
+
};
|
|
13
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
|
+
readonly provider: {
|
|
15
|
+
readonly type: import('vue').PropType<import('../../props').TabItemComProps["provider"]>;
|
|
16
|
+
readonly required: true;
|
|
17
|
+
};
|
|
18
|
+
readonly c: {
|
|
19
|
+
readonly type: import('vue').PropType<import('../../props').TabItemComProps["c"]>;
|
|
20
|
+
readonly required: true;
|
|
21
|
+
};
|
|
22
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const CheckVariable: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
readonly provider: {
|
|
3
|
+
readonly type: import('vue').PropType<import('../../../props').VariableItemComProps["provider"]>;
|
|
4
|
+
readonly required: true;
|
|
5
|
+
};
|
|
6
|
+
readonly c: {
|
|
7
|
+
readonly type: import('vue').PropType<import('../../../props').VariableItemComProps["c"]>;
|
|
8
|
+
readonly required: true;
|
|
9
|
+
};
|
|
10
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
readonly provider: {
|
|
12
|
+
readonly type: import('vue').PropType<import('../../../props').VariableItemComProps["provider"]>;
|
|
13
|
+
readonly required: true;
|
|
14
|
+
};
|
|
15
|
+
readonly c: {
|
|
16
|
+
readonly type: import('vue').PropType<import('../../../props').VariableItemComProps["c"]>;
|
|
17
|
+
readonly required: true;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const ListVariable: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
readonly provider: {
|
|
3
|
+
readonly type: import('vue').PropType<import('../../../props').VariableItemComProps["provider"]>;
|
|
4
|
+
readonly required: true;
|
|
5
|
+
};
|
|
6
|
+
readonly c: {
|
|
7
|
+
readonly type: import('vue').PropType<import('../../../props').VariableItemComProps["c"]>;
|
|
8
|
+
readonly required: true;
|
|
9
|
+
};
|
|
10
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
readonly provider: {
|
|
12
|
+
readonly type: import('vue').PropType<import('../../../props').VariableItemComProps["provider"]>;
|
|
13
|
+
readonly required: true;
|
|
14
|
+
};
|
|
15
|
+
readonly c: {
|
|
16
|
+
readonly type: import('vue').PropType<import('../../../props').VariableItemComProps["c"]>;
|
|
17
|
+
readonly required: true;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const TreeSelectVariable: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
readonly provider: {
|
|
3
|
+
readonly type: import('vue').PropType<import('../../../props').VariableItemComProps["provider"]>;
|
|
4
|
+
readonly required: true;
|
|
5
|
+
};
|
|
6
|
+
readonly c: {
|
|
7
|
+
readonly type: import('vue').PropType<import('../../../props').VariableItemComProps["c"]>;
|
|
8
|
+
readonly required: true;
|
|
9
|
+
};
|
|
10
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
readonly provider: {
|
|
12
|
+
readonly type: import('vue').PropType<import('../../../props').VariableItemComProps["provider"]>;
|
|
13
|
+
readonly required: true;
|
|
14
|
+
};
|
|
15
|
+
readonly c: {
|
|
16
|
+
readonly type: import('vue').PropType<import('../../../props').VariableItemComProps["c"]>;
|
|
17
|
+
readonly required: true;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
package/es/modules/personnel-selection/components/variable-select-pane/variable-select-pane.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { DefineComponent, PropType } from 'vue';
|
|
2
|
+
import { IVariableTabItemController } from '../../interface';
|
|
3
|
+
export declare const VariableSelectPane: DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
provider: {
|
|
5
|
+
readonly type: PropType<import('../../props').TabItemComProps["provider"]>;
|
|
6
|
+
readonly required: true;
|
|
7
|
+
};
|
|
8
|
+
c: {
|
|
9
|
+
type: PropType<IVariableTabItemController>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
provider: {
|
|
14
|
+
readonly type: PropType<import('../../props').TabItemComProps["provider"]>;
|
|
15
|
+
readonly required: true;
|
|
16
|
+
};
|
|
17
|
+
c: {
|
|
18
|
+
type: PropType<IVariableTabItemController>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 人员选择界面 key 表示
|
|
3
|
+
*/
|
|
4
|
+
export declare const PERSONNEL_SELECTION_VIEW_KEY = "personnel-selection-view-key";
|
|
5
|
+
/**
|
|
6
|
+
* 人员选择界面 store key 前缀
|
|
7
|
+
*/
|
|
8
|
+
export declare const PERSONNEL_SELECTION_VIEW_STORE_KEY_PREFIX = "personnel-selection-view-store-";
|
|
9
|
+
/**
|
|
10
|
+
* 人员选择界面变量 store key 前缀
|
|
11
|
+
*/
|
|
12
|
+
export declare const PERSONNEL_SELECTION_VARIABLE_STORE_KEY_PREFIX = "personnel-selection-variable-store-";
|
|
13
|
+
/**
|
|
14
|
+
* 人员选择界面参数配置 provide/inject key
|
|
15
|
+
*/
|
|
16
|
+
export declare const PERSONNEL_SELECTION_OPTS_KEY = "personnel-selection-opts-key";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ITabItemController, ITabItemState, ITabItemControllerOpts } from '../../interface';
|
|
2
|
+
/**
|
|
3
|
+
* tab 项控制器抽象类
|
|
4
|
+
*
|
|
5
|
+
* @author chitanda
|
|
6
|
+
* @date 2025-09-11 11:09:20
|
|
7
|
+
* @export
|
|
8
|
+
* @abstract
|
|
9
|
+
* @class TabItemController
|
|
10
|
+
* @implements {ITabItemController}
|
|
11
|
+
*/
|
|
12
|
+
export declare abstract class TabItemController implements ITabItemController {
|
|
13
|
+
readonly tag: string;
|
|
14
|
+
readonly opts: ITabItemControllerOpts;
|
|
15
|
+
state: ITabItemState;
|
|
16
|
+
lazy: boolean;
|
|
17
|
+
constructor(tag: string, opts: ITabItemControllerOpts);
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IVariableItemController, IVariableItemState, IVariableItemControllerOpts } from '../../interface';
|
|
2
|
+
/**
|
|
3
|
+
* 变量项控制器抽象类
|
|
4
|
+
*
|
|
5
|
+
* @author chitanda
|
|
6
|
+
* @date 2025-09-11 17:09:01
|
|
7
|
+
* @export
|
|
8
|
+
* @abstract
|
|
9
|
+
* @class VariableItemController
|
|
10
|
+
* @implements {IVariableItemController}
|
|
11
|
+
*/
|
|
12
|
+
export declare abstract class VariableItemController implements IVariableItemController {
|
|
13
|
+
readonly tag: string;
|
|
14
|
+
readonly opts: IVariableItemControllerOpts;
|
|
15
|
+
state: IVariableItemState;
|
|
16
|
+
constructor(tag: string, opts: IVariableItemControllerOpts);
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PersonnelSelectionEditorAsync: import('vue').DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const PersonnelSelectionEditor: import('vue').DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default PersonnelSelectionEditor;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 默认支持的 tab 项类型
|
|
3
|
+
*
|
|
4
|
+
* @author chitanda
|
|
5
|
+
* @date 2025-09-11 13:09:14
|
|
6
|
+
* @export
|
|
7
|
+
* @enum {number}
|
|
8
|
+
*/
|
|
9
|
+
export declare enum TAB_ITEM_TYPE {
|
|
10
|
+
USER = "user",
|
|
11
|
+
DEPARTMENT = "department",
|
|
12
|
+
ROLE = "role",
|
|
13
|
+
USER_GROUP = "user_group",
|
|
14
|
+
VARIABLE = "variable"
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* 变量项类型
|
|
18
|
+
*
|
|
19
|
+
* @author chitanda
|
|
20
|
+
* @date 2025-09-11 18:09:06
|
|
21
|
+
* @export
|
|
22
|
+
* @enum {number}
|
|
23
|
+
*/
|
|
24
|
+
export declare enum VARIABLE_ITEM_TYPE {
|
|
25
|
+
APPLY_DIRECT_SUPERVISOR = "apply_direct_supervisor",
|
|
26
|
+
APPLY_DEPARTMENT_HEAD = "apply_department_head",
|
|
27
|
+
ASSIGNED_PERSONNEL_FIELD = "assigned_personnel_field",
|
|
28
|
+
ASSIGNED_PERSONNEL_FIELD_DIRECT_SUPERVISOR = "assigned_personnel_field_direct_supervisor",
|
|
29
|
+
ASSIGNED_DEPARTMENT_HEAD = "assigned_department_head",
|
|
30
|
+
ASSIGNED_DEPARTMENT_FIELD_HEAD = "assigned_department_field_head"
|
|
31
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type { ITabItemControllerOpts, ITabItemController, } from './tab-item/i-tab-item.controller';
|
|
2
|
+
export type { IVariableTabItemController } from './tab-item/i-variable-tab-item.controller';
|
|
3
|
+
export type { IVariableItemControllerOpts, IVariableItemController, } from './variable/i-variable-item.controller';
|
package/es/modules/personnel-selection/interface/controller/tab-item/i-tab-item.controller.d.ts
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { ITabItemState } from '../../state';
|
|
2
|
+
/**
|
|
3
|
+
* tab 项控制器配置选项
|
|
4
|
+
*
|
|
5
|
+
* @author chitanda
|
|
6
|
+
* @date 2025-09-15 16:09:54
|
|
7
|
+
* @export
|
|
8
|
+
* @interface ITabItemControllerOpts
|
|
9
|
+
*/
|
|
10
|
+
export interface ITabItemControllerOpts {
|
|
11
|
+
/**
|
|
12
|
+
* tab 标签名称
|
|
13
|
+
*
|
|
14
|
+
* @author chitanda
|
|
15
|
+
* @date 2025-09-11 09:09:53
|
|
16
|
+
* @type {string}
|
|
17
|
+
*/
|
|
18
|
+
label: string;
|
|
19
|
+
/**
|
|
20
|
+
* tab 标签图标
|
|
21
|
+
*
|
|
22
|
+
* @author chitanda
|
|
23
|
+
* @date 2025-09-11 09:09:05
|
|
24
|
+
* @type {string}
|
|
25
|
+
*/
|
|
26
|
+
icon?: string;
|
|
27
|
+
/**
|
|
28
|
+
* 是否懒加载,默认走非懒加载
|
|
29
|
+
*
|
|
30
|
+
* @default false
|
|
31
|
+
* @author chitanda
|
|
32
|
+
* @date 2025-09-11 09:09:50
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
*/
|
|
35
|
+
lazy?: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* 标签页控制器
|
|
39
|
+
*
|
|
40
|
+
* @author chitanda
|
|
41
|
+
* @date 2025-09-11 17:09:46
|
|
42
|
+
* @export
|
|
43
|
+
* @interface ITabItemController
|
|
44
|
+
*/
|
|
45
|
+
export interface ITabItemController {
|
|
46
|
+
/**
|
|
47
|
+
* tab 唯一标识
|
|
48
|
+
*
|
|
49
|
+
* @author chitanda
|
|
50
|
+
* @date 2025-09-11 09:09:37
|
|
51
|
+
* @type {string}
|
|
52
|
+
*/
|
|
53
|
+
tag: string;
|
|
54
|
+
/**
|
|
55
|
+
* 分页实例配置
|
|
56
|
+
*
|
|
57
|
+
* @author chitanda
|
|
58
|
+
* @date 2025-09-15 16:09:30
|
|
59
|
+
* @type {ITabItemControllerOpts}
|
|
60
|
+
*/
|
|
61
|
+
opts: ITabItemControllerOpts;
|
|
62
|
+
/**
|
|
63
|
+
* tab 状态,实例化时使用 vue 的 reactive 包装
|
|
64
|
+
*
|
|
65
|
+
* @author chitanda
|
|
66
|
+
* @date 2025-09-11 14:09:04
|
|
67
|
+
* @type {ITabItemState}
|
|
68
|
+
*/
|
|
69
|
+
state: ITabItemState;
|
|
70
|
+
/**
|
|
71
|
+
* 非懒加载模式下,加载数据方法
|
|
72
|
+
*
|
|
73
|
+
* @author chitanda
|
|
74
|
+
* @date 2025-09-11 10:09:29
|
|
75
|
+
* @returns {*} {Promise<void>}
|
|
76
|
+
*/
|
|
77
|
+
loadData?(): Promise<void>;
|
|
78
|
+
/**
|
|
79
|
+
* 懒加载模式下,加载数据方法
|
|
80
|
+
*
|
|
81
|
+
* @author chitanda
|
|
82
|
+
* @date 2025-09-11 10:09:40
|
|
83
|
+
* @returns {*} {Promise<void>}
|
|
84
|
+
*/
|
|
85
|
+
lazyLoadData?(paths: string[]): Promise<void>;
|
|
86
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ITabItemController } from './i-tab-item.controller';
|
|
2
|
+
/**
|
|
3
|
+
* 变量选项卡控制器
|
|
4
|
+
*
|
|
5
|
+
* @author chitanda
|
|
6
|
+
* @date 2025-09-11 17:09:50
|
|
7
|
+
* @export
|
|
8
|
+
* @interface IVariableTabItemController
|
|
9
|
+
* @extends {ITabItemController}
|
|
10
|
+
*/
|
|
11
|
+
export type IVariableTabItemController = ITabItemController;
|
package/es/modules/personnel-selection/interface/controller/variable/i-variable-item.controller.d.ts
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { IVariableItemState } from '../../state';
|
|
2
|
+
/**
|
|
3
|
+
* 变量项控制器配置选项
|
|
4
|
+
*
|
|
5
|
+
* @author chitanda
|
|
6
|
+
* @date 2025-09-15 16:09:46
|
|
7
|
+
* @export
|
|
8
|
+
* @interface IVariableItemControllerOpts
|
|
9
|
+
*/
|
|
10
|
+
export interface IVariableItemControllerOpts {
|
|
11
|
+
/**
|
|
12
|
+
* 变量标签名称
|
|
13
|
+
*
|
|
14
|
+
* @author chitanda
|
|
15
|
+
* @date 2025-09-11 17:09:12
|
|
16
|
+
* @type {string}
|
|
17
|
+
*/
|
|
18
|
+
label: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* 变量项控制器
|
|
22
|
+
*
|
|
23
|
+
* @author chitanda
|
|
24
|
+
* @date 2025-09-11 17:09:54
|
|
25
|
+
* @export
|
|
26
|
+
* @interface IVariableItemController
|
|
27
|
+
*/
|
|
28
|
+
export interface IVariableItemController {
|
|
29
|
+
/**
|
|
30
|
+
* 变量唯一标识
|
|
31
|
+
*
|
|
32
|
+
* @author chitanda
|
|
33
|
+
* @date 2025-09-11 17:09:12
|
|
34
|
+
* @type {string}
|
|
35
|
+
*/
|
|
36
|
+
tag: string;
|
|
37
|
+
/**
|
|
38
|
+
* 变量项实例配置
|
|
39
|
+
*
|
|
40
|
+
* @author chitanda
|
|
41
|
+
* @date 2025-09-15 16:09:54
|
|
42
|
+
* @type {IVariableItemControllerOpts}
|
|
43
|
+
*/
|
|
44
|
+
opts: IVariableItemControllerOpts;
|
|
45
|
+
/**
|
|
46
|
+
* 变量项状态,实例化时使用 vue 的 reactive 包装
|
|
47
|
+
*
|
|
48
|
+
* @author chitanda
|
|
49
|
+
* @date 2025-09-11 17:09:20
|
|
50
|
+
* @type {IVariableItemState}
|
|
51
|
+
*/
|
|
52
|
+
state: IVariableItemState;
|
|
53
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 数据节点接口
|
|
3
|
+
*
|
|
4
|
+
* @author chitanda
|
|
5
|
+
* @date 2025-09-11 15:09:40
|
|
6
|
+
* @export
|
|
7
|
+
* @interface IDataNode
|
|
8
|
+
*/
|
|
9
|
+
export interface IDataNode {
|
|
10
|
+
/**
|
|
11
|
+
* 唯一标识
|
|
12
|
+
*
|
|
13
|
+
* @author chitanda
|
|
14
|
+
* @date 2025-09-10 13:09:46
|
|
15
|
+
* @type {string}
|
|
16
|
+
*/
|
|
17
|
+
id: string;
|
|
18
|
+
/**
|
|
19
|
+
* 显示标签
|
|
20
|
+
*
|
|
21
|
+
* @author chitanda
|
|
22
|
+
* @date 2025-09-10 13:09:49
|
|
23
|
+
* @type {string}
|
|
24
|
+
*/
|
|
25
|
+
label: string;
|
|
26
|
+
/**
|
|
27
|
+
* 选中项显示图标
|
|
28
|
+
*
|
|
29
|
+
* @author chitanda
|
|
30
|
+
* @date 2025-09-10 13:09:05
|
|
31
|
+
* @type {string}
|
|
32
|
+
*/
|
|
33
|
+
icon?: string;
|
|
34
|
+
/**
|
|
35
|
+
* 额外数据
|
|
36
|
+
*
|
|
37
|
+
* @author chitanda
|
|
38
|
+
* @date 2025-09-10 13:09:52
|
|
39
|
+
* @type {IObject}
|
|
40
|
+
*/
|
|
41
|
+
data: IObject;
|
|
42
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type * from './controller';
|
|
2
|
+
export type * from './options';
|
|
3
|
+
export type { ITabItemProvider } from './providers/i-tab-item.provider';
|
|
4
|
+
export type { IVariableItemProvider } from './providers/i-variable-item.provider';
|
|
5
|
+
export type * from './state';
|
|
6
|
+
export type * from './store';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type { PersonnelSelectionOptions } from './personnel-selection-options/personnel-selection-options';
|
|
2
|
+
export type { SelectAreaOptions } from './select-area-options/select-area-options';
|
|
3
|
+
export type { SelectRegionOptions } from './select-region-options/select-region-options';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { SelectAreaOptions } from '../select-area-options/select-area-options';
|
|
2
|
+
import { SelectRegionOptions } from '../select-region-options/select-region-options';
|
|
3
|
+
/**
|
|
4
|
+
* 人员选择器配置项
|
|
5
|
+
*
|
|
6
|
+
* @author chitanda
|
|
7
|
+
* @date 2025-09-09 17:09:36
|
|
8
|
+
* @export
|
|
9
|
+
* @interface PersonnelSelectionOptions
|
|
10
|
+
*/
|
|
11
|
+
export interface PersonnelSelectionOptions {
|
|
12
|
+
/**
|
|
13
|
+
* 选择弹窗标题
|
|
14
|
+
*
|
|
15
|
+
* @author chitanda
|
|
16
|
+
* @date 2025-09-09 17:09:48
|
|
17
|
+
* @type {string}
|
|
18
|
+
*/
|
|
19
|
+
title?: string;
|
|
20
|
+
/**
|
|
21
|
+
* 最大选择数量,默认限制 200
|
|
22
|
+
*
|
|
23
|
+
* @default 200
|
|
24
|
+
* @author chitanda
|
|
25
|
+
* @date 2025-09-10 11:09:36
|
|
26
|
+
* @type {number}
|
|
27
|
+
*/
|
|
28
|
+
maxSelectCount?: number;
|
|
29
|
+
/**
|
|
30
|
+
* 选择区域配置
|
|
31
|
+
*
|
|
32
|
+
* @author chitanda
|
|
33
|
+
* @date 2025-09-10 11:09:06
|
|
34
|
+
* @type {SelectRegionOptions}
|
|
35
|
+
*/
|
|
36
|
+
selectRegionOpts?: SelectRegionOptions;
|
|
37
|
+
/**
|
|
38
|
+
* 选择区域配置
|
|
39
|
+
*
|
|
40
|
+
* @author chitanda
|
|
41
|
+
* @date 2025-09-10 11:11:06
|
|
42
|
+
* @type {SelectAreaOptions}
|
|
43
|
+
*/
|
|
44
|
+
selectAreaOpts?: SelectAreaOptions;
|
|
45
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 选中数据区配置
|
|
3
|
+
*
|
|
4
|
+
* @author chitanda
|
|
5
|
+
* @date 2025-09-10 11:09:48
|
|
6
|
+
* @export
|
|
7
|
+
* @interface SelectAreaOptions
|
|
8
|
+
*/
|
|
9
|
+
export interface SelectAreaOptions {
|
|
10
|
+
/**
|
|
11
|
+
* 未选中任何数据时的提示文字
|
|
12
|
+
*
|
|
13
|
+
* @author chitanda
|
|
14
|
+
* @date 2025-09-10 11:09:01
|
|
15
|
+
* @type {string}
|
|
16
|
+
*/
|
|
17
|
+
tooltip?: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 数据选择区配置
|
|
3
|
+
*
|
|
4
|
+
* @author chitanda
|
|
5
|
+
* @date 2025-09-10 11:09:12
|
|
6
|
+
* @export
|
|
7
|
+
* @interface SelectRegionOptions
|
|
8
|
+
*/
|
|
9
|
+
export interface SelectRegionOptions {
|
|
10
|
+
/**
|
|
11
|
+
* 支持的选择标签
|
|
12
|
+
*
|
|
13
|
+
* @author chitanda
|
|
14
|
+
* @date 2025-09-10 11:09:41
|
|
15
|
+
* @type {string[]}
|
|
16
|
+
*/
|
|
17
|
+
tabs?: string[];
|
|
18
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { ITabItemController, ITabItemControllerOpts } from '../controller';
|
|
2
|
+
import { Component, DefineComponent } from 'vue';
|
|
3
|
+
/**
|
|
4
|
+
* tab项提供者接口
|
|
5
|
+
*
|
|
6
|
+
* @author chitanda
|
|
7
|
+
* @date 2025-09-11 09:09:39
|
|
8
|
+
* @export
|
|
9
|
+
* @interface ITabItemProvider
|
|
10
|
+
*/
|
|
11
|
+
export interface ITabItemProvider {
|
|
12
|
+
/**
|
|
13
|
+
* 控制器标识
|
|
14
|
+
*
|
|
15
|
+
* @author chitanda
|
|
16
|
+
* @date 2025-09-11 14:09:29
|
|
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:13
|
|
33
|
+
* @type {ITabItemControllerOpts}
|
|
34
|
+
*/
|
|
35
|
+
opts: ITabItemControllerOpts;
|
|
36
|
+
/**
|
|
37
|
+
* 控制器类
|
|
38
|
+
*
|
|
39
|
+
* @author chitanda
|
|
40
|
+
* @date 2025-09-11 14:09:51
|
|
41
|
+
*/
|
|
42
|
+
controller: new (tag: string, opts: ITabItemControllerOpts) => ITabItemController;
|
|
43
|
+
/**
|
|
44
|
+
* 实际渲染的组件,可以是字符串组件名称或 Vue 组件
|
|
45
|
+
*
|
|
46
|
+
* @author chitanda
|
|
47
|
+
* @date 2025-09-11 14:09:05
|
|
48
|
+
* @type {(string | Component | DefineComponent)}
|
|
49
|
+
*/
|
|
50
|
+
component?: string | Component | DefineComponent;
|
|
51
|
+
}
|