@veltra/desktop 1.1.4 → 1.1.5
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/components/action/action-group.js +3 -110
- package/dist/components/action/action-group.js.map +1 -1
- package/dist/components/action/action-group.vue.d.ts +4 -13
- package/dist/components/action/action-group.vue_vue_type_script_setup_true_lang.js +105 -0
- package/dist/components/action/action-group.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/action/action.js +5 -1
- package/dist/components/action/action.js.map +1 -1
- package/dist/components/action/action.vue.d.ts +1 -1
- package/dist/components/action/di.js.map +1 -1
- package/dist/components/action/style2.css +17 -14
- package/dist/components/auto-complete/auto-complete.js +1 -1
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/batch-edit/batch-edit-form.js +94 -101
- package/dist/components/batch-edit/batch-edit-form.js.map +1 -1
- package/dist/components/batch-edit/batch-edit-list.js +52 -68
- package/dist/components/batch-edit/batch-edit-list.js.map +1 -1
- package/dist/components/batch-edit/style2.css +13 -89
- package/dist/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/card/card.js +1 -1
- package/dist/components/cascade/cascade-panel-item.js +4 -4
- package/dist/components/cascade/cascade.js +2 -2
- package/dist/components/cascade/cascade.vue.d.ts +2 -2
- package/dist/components/checkbox/checkbox-button.js +1 -1
- package/dist/components/checkbox/checkbox-button.vue.d.ts +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/checkbox-group/checkbox-group.js +1 -1
- package/dist/components/checkbox-group/checkbox-group.vue.d.ts +2 -2
- package/dist/components/code-editor/code-editor.js +1 -1
- package/dist/components/collapse/collapse.js +1 -1
- package/dist/components/condition-editor/components/condition-group.js +152 -0
- package/dist/components/condition-editor/components/condition-group.js.map +1 -0
- package/dist/components/condition-editor/components/condition-row.js +217 -0
- package/dist/components/condition-editor/components/condition-row.js.map +1 -0
- package/dist/components/condition-editor/condition-editor.js +134 -5
- package/dist/components/condition-editor/condition-editor.js.map +1 -1
- package/dist/components/condition-editor/condition-editor.vue.d.ts +10 -2
- package/dist/components/condition-editor/core/evaluator.js +75 -0
- package/dist/components/condition-editor/core/evaluator.js.map +1 -0
- package/dist/components/condition-editor/core/operators.js +123 -0
- package/dist/components/condition-editor/core/operators.js.map +1 -0
- package/dist/components/condition-editor/style.js +7 -0
- package/dist/components/condition-editor/style2.css +186 -0
- package/dist/components/context-menu/context-menu.js +1 -1
- package/dist/components/date-panel/date-panel.vue.d.ts +1 -1
- package/dist/components/date-picker/date-picker.js +2 -2
- package/dist/components/date-picker/date-picker.vue.d.ts +1 -1
- package/dist/components/date-range-picker/date-range-picker.js +2 -2
- package/dist/components/date-range-picker/date-range-picker.vue.d.ts +1 -1
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/dialog/style2.css +8 -0
- package/dist/components/dialog/use-maximum.js +1 -1
- package/dist/components/drawer/style2.css +8 -0
- package/dist/components/dropdown/dropdown.js +1 -1
- package/dist/components/expression-editor/components/variable-picker.js +8 -8
- package/dist/components/expression-editor/expression-editor.js +1 -1
- package/dist/components/file-viewer/file-viewer.js +13 -13
- package/dist/components/form-item/form-item.js.map +1 -1
- package/dist/components/form-item/form-item.vue_vue_type_script_setup_true_lang.js +6 -6
- package/dist/components/form-item/form-item.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/grid-input/grid-input.js +1 -1
- package/dist/components/group-input/group-input.js +1 -1
- package/dist/components/index.js +154 -154
- package/dist/components/input/input.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/layout/layout-resizer.js +1 -1
- package/dist/components/layout/layout.js +1 -1
- package/dist/components/list/list.js +1 -1
- package/dist/components/loading/loading.js +1 -1
- package/dist/components/menu/menu-sub-collapsed.js +4 -4
- package/dist/components/menu/menu.js +1 -1
- package/dist/components/message/message.js +1 -1
- package/dist/components/message-confirm/message-confirm.js +1 -1
- package/dist/components/multi-select/multi-select.js +15 -15
- package/dist/components/multi-select/multi-select.vue.d.ts +3 -3
- package/dist/components/multi-tree-select/multi-tree-select.js +8 -8
- package/dist/components/multi-tree-select/multi-tree-select.vue.d.ts +3 -3
- package/dist/components/notification/notification.js +1 -1
- package/dist/components/number/number.vue.d.ts +1 -1
- package/dist/components/number-input/number-input.js +2 -2
- package/dist/components/number-range-input/number-range-input.js +1 -1
- package/dist/components/paginator/paginator.js +6 -6
- package/dist/components/paginator/style.js +1 -1
- package/dist/components/palette/palette.js +1 -1
- package/dist/components/password-input/password-input.js +2 -2
- package/dist/components/pop-confirm/pop-confirm.js +1 -1
- package/dist/components/progress-nodes/progress-nodes.js +1 -1
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/radio-group/radio-group.js +1 -1
- package/dist/components/radio-group/radio-group.vue.d.ts +2 -2
- package/dist/components/rich-text-editor/rich-text-editor.js +1 -1
- package/dist/components/scroll/scroll-bar.js +1 -1
- package/dist/components/scroll/scroll.js +1 -1
- package/dist/components/select/select.js +10 -10
- package/dist/components/select/select.vue.d.ts +2 -2
- package/dist/components/slider/slider.js +1 -1
- package/dist/components/steps/steps.js +2 -2
- package/dist/components/switch/switch.js +1 -1
- package/dist/components/table/style2.css +4 -1
- package/dist/components/table/table.js +2 -2
- package/dist/components/table/table.js.map +1 -1
- package/dist/components/table/use-columns.js +1 -1
- package/dist/components/table/use-fixed-columns.js +8 -31
- package/dist/components/table/use-fixed-columns.js.map +1 -1
- package/dist/components/table-editor/table-editor.js +1 -1
- package/dist/components/tabs/tabs-horizontal.js +1 -1
- package/dist/components/tabs/tabs-vertical.js +1 -1
- package/dist/components/tabs/tabs.js +1 -1
- package/dist/components/tag/tag.js +1 -1
- package/dist/components/textarea/textarea.js +1 -1
- package/dist/components/theme/style.js +1 -1
- package/dist/components/theme/theme.js +11 -11
- package/dist/components/tip/tip.js +1 -1
- package/dist/components/tree/tree-node.js +1 -1
- package/dist/components/tree/tree.js +5 -5
- package/dist/components/tree-select/tree-select.js +6 -6
- package/dist/components/tree-select/tree-select.vue.d.ts +3 -3
- package/dist/index.d.ts +5 -5
- package/dist/index.js +83 -83
- package/dist/style.js +2 -2
- package/dist/types/action.d.ts +5 -11
- package/dist/types/condition-editor.d.ts +41 -8
- package/dist/types/index.d.ts +4 -4
- package/package.json +11 -11
- package/src/components/action/action-group.vue +68 -82
- package/src/components/action/action.vue +9 -1
- package/src/components/action/di.ts +2 -1
- package/src/components/action/style.scss +22 -27
- package/src/components/batch-edit/batch-edit-form.vue +65 -70
- package/src/components/batch-edit/batch-edit-list.vue +35 -41
- package/src/components/batch-edit/style.scss +19 -118
- package/src/components/condition-editor/components/condition-group.vue +131 -0
- package/src/components/condition-editor/components/condition-row.vue +208 -0
- package/src/components/condition-editor/condition-editor.vue +145 -6
- package/src/components/condition-editor/core/evaluator.ts +93 -0
- package/src/components/condition-editor/core/operators.ts +57 -0
- package/src/components/condition-editor/style.scss +239 -1
- package/src/components/condition-editor/style.ts +7 -0
- package/src/components/dialog/style.scss +13 -0
- package/src/components/drawer/style.scss +13 -0
- package/src/components/form-item/form-item.vue +1 -1
- package/src/components/table/style.scss +9 -1
- package/src/components/table/table.vue +1 -3
- package/src/components/table/use-fixed-columns.ts +5 -49
- package/src/types/action.ts +6 -11
- package/src/types/condition-editor.ts +39 -7
package/dist/components/index.js
CHANGED
|
@@ -1,74 +1,75 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import _sfc_main from "./
|
|
3
|
-
import _sfc_main$1 from "./
|
|
4
|
-
import _sfc_main$2 from "./
|
|
5
|
-
import _sfc_main$3 from "./tabs/tabs-horizontal.js";
|
|
6
|
-
import _sfc_main$4 from "./tabs/tabs-vertical.js";
|
|
7
|
-
import _sfc_main$5 from "./tabs/tabs.js";
|
|
8
|
-
import _sfc_main$6 from "./empty/empty.js";
|
|
9
|
-
import _sfc_main$7 from "./checkbox/checkbox.js";
|
|
2
|
+
import _sfc_main from "./icon/icon.js";
|
|
3
|
+
import _sfc_main$1 from "./empty/empty.js";
|
|
4
|
+
import _sfc_main$2 from "./scroll/scroll.js";
|
|
10
5
|
import NodeRender from "./node-render/node-render.js";
|
|
11
|
-
import _sfc_main$
|
|
12
|
-
import _sfc_main$
|
|
6
|
+
import _sfc_main$3 from "./tip/tip.js";
|
|
7
|
+
import _sfc_main$4 from "./dropdown/dropdown.js";
|
|
13
8
|
import input_default from "./input/input.js";
|
|
14
|
-
import _sfc_main$
|
|
15
|
-
import _sfc_main$
|
|
16
|
-
import _sfc_main$
|
|
17
|
-
import _sfc_main$
|
|
18
|
-
import _sfc_main$
|
|
19
|
-
import _sfc_main$
|
|
9
|
+
import _sfc_main$5 from "./select/select.js";
|
|
10
|
+
import _sfc_main$6 from "./condition-editor/condition-editor.js";
|
|
11
|
+
import _sfc_main$7 from "./tabs/tabs-horizontal.js";
|
|
12
|
+
import _sfc_main$8 from "./tabs/tabs-vertical.js";
|
|
13
|
+
import _sfc_main$9 from "./tabs/tabs.js";
|
|
14
|
+
import _sfc_main$10 from "./checkbox/checkbox.js";
|
|
15
|
+
import _sfc_main$11 from "./tree/tree.js";
|
|
16
|
+
import _sfc_main$12 from "./tree-select/tree-select.js";
|
|
17
|
+
import _sfc_main$13 from "./code-editor/code-editor.js";
|
|
18
|
+
import _sfc_main$14 from "./drawer/drawer.js";
|
|
19
|
+
import _sfc_main$15 from "./grid/grid.js";
|
|
20
|
+
import _sfc_main$16 from "./grid/grid-item.js";
|
|
20
21
|
import form_item_default from "./form-item/form-item.js";
|
|
21
22
|
import form_default from "./form/form.js";
|
|
22
23
|
import { formField } from "./form/helper.js";
|
|
23
24
|
import { FormModel } from "./form/form-model.js";
|
|
24
25
|
import { DynamicFormModel } from "./form/dynamic-form-model.js";
|
|
25
|
-
import _sfc_main$
|
|
26
|
-
import _sfc_main$
|
|
27
|
-
import _sfc_main$
|
|
26
|
+
import _sfc_main$17 from "./button/button.js";
|
|
27
|
+
import _sfc_main$18 from "./button/button-group.js";
|
|
28
|
+
import _sfc_main$19 from "./message-confirm/message-confirm.js";
|
|
28
29
|
import MessageConfirm from "./message-confirm/message-confirm2.js";
|
|
29
|
-
import _sfc_main$
|
|
30
|
-
import _sfc_main$
|
|
31
|
-
import _sfc_main$
|
|
32
|
-
import _sfc_main$
|
|
33
|
-
import _sfc_main$
|
|
34
|
-
import _sfc_main$
|
|
35
|
-
import _sfc_main$
|
|
36
|
-
import _sfc_main$
|
|
37
|
-
import _sfc_main$
|
|
38
|
-
import _sfc_main$
|
|
30
|
+
import _sfc_main$20 from "./calendar/calendar.js";
|
|
31
|
+
import _sfc_main$21 from "./radio/radio.js";
|
|
32
|
+
import _sfc_main$22 from "./card/card.js";
|
|
33
|
+
import _sfc_main$23 from "./card/card-header.js";
|
|
34
|
+
import _sfc_main$24 from "./card/card-cover.js";
|
|
35
|
+
import _sfc_main$25 from "./card/card-content.js";
|
|
36
|
+
import _sfc_main$26 from "./card/card-action.js";
|
|
37
|
+
import _sfc_main$27 from "./date-panel/date-panel.js";
|
|
38
|
+
import _sfc_main$28 from "./date-range-picker/date-range-picker.js";
|
|
39
|
+
import _sfc_main$29 from "./loading/loading.js";
|
|
39
40
|
import { vLoading } from "./loading/directive.js";
|
|
40
|
-
import _sfc_main$
|
|
41
|
-
import _sfc_main$
|
|
42
|
-
import _sfc_main$
|
|
43
|
-
import _sfc_main$
|
|
41
|
+
import _sfc_main$30 from "./progress-nodes/progress-nodes.js";
|
|
42
|
+
import _sfc_main$31 from "./auto-complete/auto-complete.js";
|
|
43
|
+
import _sfc_main$32 from "./progress/progress.js";
|
|
44
|
+
import _sfc_main$33 from "./notification/notification.js";
|
|
44
45
|
import { Notification } from "./notification/index.js";
|
|
45
|
-
import _sfc_main$
|
|
46
|
-
import _sfc_main$
|
|
47
|
-
import _sfc_main$
|
|
48
|
-
import _sfc_main$
|
|
49
|
-
import _sfc_main$
|
|
50
|
-
import _sfc_main$
|
|
51
|
-
import _sfc_main$
|
|
46
|
+
import _sfc_main$34 from "./layout/layout.js";
|
|
47
|
+
import _sfc_main$35 from "./tag/tag.js";
|
|
48
|
+
import _sfc_main$36 from "./checkbox/checkbox-button.js";
|
|
49
|
+
import _sfc_main$37 from "./multi-select/multi-select.js";
|
|
50
|
+
import _sfc_main$38 from "./slider/slider.js";
|
|
51
|
+
import _sfc_main$39 from "./gantt-chart/gantt-chart.js";
|
|
52
|
+
import _sfc_main$40 from "./message/message.js";
|
|
52
53
|
import { message } from "./message/message2.js";
|
|
53
|
-
import _sfc_main$
|
|
54
|
-
import _sfc_main$
|
|
55
|
-
import _sfc_main$
|
|
56
|
-
import _sfc_main$
|
|
57
|
-
import _sfc_main$
|
|
54
|
+
import _sfc_main$41 from "./file-picker/file-picker.js";
|
|
55
|
+
import _sfc_main$42 from "./number-input/number-input.js";
|
|
56
|
+
import _sfc_main$43 from "./number-range-input/number-range-input.js";
|
|
57
|
+
import _sfc_main$44 from "./collapse/collapse.js";
|
|
58
|
+
import _sfc_main$45 from "./collapse/collapse-item.js";
|
|
58
59
|
import { defineTableColumns } from "./table/use-columns.js";
|
|
59
|
-
import _sfc_main$
|
|
60
|
-
import _sfc_main$
|
|
61
|
-
import _sfc_main$
|
|
62
|
-
import _sfc_main$
|
|
60
|
+
import _sfc_main$46 from "./table/table.js";
|
|
61
|
+
import _sfc_main$47 from "./table-editor/table-editor.js";
|
|
62
|
+
import _sfc_main$48 from "./check-tag/check-tag.js";
|
|
63
|
+
import _sfc_main$49 from "./context-menu/context-menu.js";
|
|
63
64
|
import { contextmenu } from "./context-menu/api.js";
|
|
64
|
-
import _sfc_main$
|
|
65
|
-
import _sfc_main$
|
|
66
|
-
import _sfc_main$
|
|
67
|
-
import _sfc_main$
|
|
68
|
-
import _sfc_main$
|
|
69
|
-
import _sfc_main$
|
|
70
|
-
import _sfc_main$
|
|
71
|
-
import
|
|
65
|
+
import _sfc_main$50 from "./password-input/password-input.js";
|
|
66
|
+
import _sfc_main$51 from "./number/number.js";
|
|
67
|
+
import _sfc_main$52 from "./dialog/dialog.js";
|
|
68
|
+
import _sfc_main$53 from "./expression-editor/expression-editor.js";
|
|
69
|
+
import _sfc_main$54 from "./watermark/watermark.js";
|
|
70
|
+
import _sfc_main$55 from "./pop-confirm/pop-confirm.js";
|
|
71
|
+
import _sfc_main$56 from "./action/action.js";
|
|
72
|
+
import action_group_default from "./action/action-group.js";
|
|
72
73
|
import _sfc_main$57 from "./batch-edit/batch-edit.js";
|
|
73
74
|
import { defineBatchEditColumns } from "./batch-edit/helper.js";
|
|
74
75
|
import _sfc_main$58 from "./textarea/textarea.js";
|
|
@@ -76,119 +77,118 @@ import _sfc_main$59 from "./cascade/cascade.js";
|
|
|
76
77
|
import _sfc_main$60 from "./steps/steps.js";
|
|
77
78
|
import _sfc_main$61 from "./date-picker/date-picker.js";
|
|
78
79
|
import _sfc_main$62 from "./palette/palette.js";
|
|
79
|
-
import _sfc_main$63 from "./
|
|
80
|
-
import _sfc_main$64 from "./
|
|
81
|
-
import _sfc_main$65 from "./
|
|
82
|
-
import _sfc_main$66 from "./
|
|
83
|
-
import _sfc_main$67 from "./list/list.js";
|
|
84
|
-
import _sfc_main$68 from "./
|
|
85
|
-
import _sfc_main$69 from "./
|
|
86
|
-
import _sfc_main$70 from "./menu/menu-
|
|
87
|
-
import _sfc_main$71 from "./menu/menu
|
|
88
|
-
import _sfc_main$72 from "./
|
|
89
|
-
import _sfc_main$73 from "./
|
|
90
|
-
import _sfc_main$74 from "./
|
|
91
|
-
import _sfc_main$75 from "./
|
|
92
|
-
import _sfc_main$76 from "./
|
|
93
|
-
import _sfc_main$77 from "./
|
|
94
|
-
import _sfc_main$78 from "./
|
|
95
|
-
import _sfc_main$79 from "./
|
|
96
|
-
import _sfc_main$80 from "./
|
|
97
|
-
import _sfc_main$81 from "./
|
|
98
|
-
import _sfc_main$82 from "./badge/badge.js";
|
|
80
|
+
import _sfc_main$63 from "./theme/theme.js";
|
|
81
|
+
import _sfc_main$64 from "./multi-tree-select/multi-tree-select.js";
|
|
82
|
+
import _sfc_main$65 from "./group-input/group-input.js";
|
|
83
|
+
import _sfc_main$66 from "./list/list.js";
|
|
84
|
+
import _sfc_main$67 from "./list/list-item.js";
|
|
85
|
+
import _sfc_main$68 from "./rich-text-editor/rich-text-editor.js";
|
|
86
|
+
import _sfc_main$69 from "./menu/menu-item.js";
|
|
87
|
+
import _sfc_main$70 from "./menu/menu-sub.js";
|
|
88
|
+
import _sfc_main$71 from "./menu/menu.js";
|
|
89
|
+
import _sfc_main$72 from "./grid-input/grid-input.js";
|
|
90
|
+
import _sfc_main$73 from "./switch/switch.js";
|
|
91
|
+
import _sfc_main$74 from "./radio-group/radio-group.js";
|
|
92
|
+
import _sfc_main$75 from "./checkbox-group/checkbox-group.js";
|
|
93
|
+
import _sfc_main$76 from "./file-viewer/file-viewer.js";
|
|
94
|
+
import _sfc_main$77 from "./text/text.js";
|
|
95
|
+
import _sfc_main$78 from "./breadcrumb/breadcrumb.js";
|
|
96
|
+
import _sfc_main$79 from "./paginator/paginator.js";
|
|
97
|
+
import _sfc_main$80 from "./float-button/float-button.js";
|
|
98
|
+
import _sfc_main$81 from "./badge/badge.js";
|
|
99
99
|
//#region src/components/index.ts
|
|
100
100
|
var components_exports = /* @__PURE__ */ __exportAll({
|
|
101
101
|
DynamicFormModel: () => DynamicFormModel,
|
|
102
102
|
FormModel: () => FormModel,
|
|
103
103
|
MessageConfirm: () => MessageConfirm,
|
|
104
104
|
Notification: () => Notification,
|
|
105
|
-
UAction: () => _sfc_main$
|
|
106
|
-
UActionGroup: () =>
|
|
107
|
-
UAutoComplete: () => _sfc_main$
|
|
108
|
-
UBadge: () => _sfc_main$
|
|
105
|
+
UAction: () => _sfc_main$56,
|
|
106
|
+
UActionGroup: () => action_group_default,
|
|
107
|
+
UAutoComplete: () => _sfc_main$31,
|
|
108
|
+
UBadge: () => _sfc_main$81,
|
|
109
109
|
UBatchEdit: () => _sfc_main$57,
|
|
110
|
-
UBreadcrumb: () => _sfc_main$
|
|
111
|
-
UButton: () => _sfc_main$
|
|
112
|
-
UButtonGroup: () => _sfc_main$
|
|
113
|
-
UCalendar: () => _sfc_main$
|
|
114
|
-
UCard: () => _sfc_main$
|
|
115
|
-
UCardAction: () => _sfc_main$
|
|
116
|
-
UCardContent: () => _sfc_main$
|
|
117
|
-
UCardCover: () => _sfc_main$
|
|
118
|
-
UCardHeader: () => _sfc_main$
|
|
110
|
+
UBreadcrumb: () => _sfc_main$78,
|
|
111
|
+
UButton: () => _sfc_main$17,
|
|
112
|
+
UButtonGroup: () => _sfc_main$18,
|
|
113
|
+
UCalendar: () => _sfc_main$20,
|
|
114
|
+
UCard: () => _sfc_main$22,
|
|
115
|
+
UCardAction: () => _sfc_main$26,
|
|
116
|
+
UCardContent: () => _sfc_main$25,
|
|
117
|
+
UCardCover: () => _sfc_main$24,
|
|
118
|
+
UCardHeader: () => _sfc_main$23,
|
|
119
119
|
UCascade: () => _sfc_main$59,
|
|
120
|
-
UCheckTag: () => _sfc_main$
|
|
121
|
-
UCheckbox: () => _sfc_main$
|
|
122
|
-
UCheckboxButton: () => _sfc_main$
|
|
123
|
-
UCheckboxGroup: () => _sfc_main$
|
|
124
|
-
UCodeEditor: () => _sfc_main$
|
|
125
|
-
UCollapse: () => _sfc_main$
|
|
126
|
-
UCollapseItem: () => _sfc_main$
|
|
127
|
-
UConditionEditor: () => _sfc_main,
|
|
128
|
-
UContextMenu: () => _sfc_main$
|
|
129
|
-
UDatePanel: () => _sfc_main$
|
|
120
|
+
UCheckTag: () => _sfc_main$48,
|
|
121
|
+
UCheckbox: () => _sfc_main$10,
|
|
122
|
+
UCheckboxButton: () => _sfc_main$36,
|
|
123
|
+
UCheckboxGroup: () => _sfc_main$75,
|
|
124
|
+
UCodeEditor: () => _sfc_main$13,
|
|
125
|
+
UCollapse: () => _sfc_main$44,
|
|
126
|
+
UCollapseItem: () => _sfc_main$45,
|
|
127
|
+
UConditionEditor: () => _sfc_main$6,
|
|
128
|
+
UContextMenu: () => _sfc_main$49,
|
|
129
|
+
UDatePanel: () => _sfc_main$27,
|
|
130
130
|
UDatePicker: () => _sfc_main$61,
|
|
131
|
-
UDateRangePicker: () => _sfc_main$
|
|
132
|
-
UDialog: () => _sfc_main$
|
|
133
|
-
UDrawer: () => _sfc_main$
|
|
134
|
-
UDropdown: () => _sfc_main$
|
|
135
|
-
UEmpty: () => _sfc_main$
|
|
136
|
-
UExpressionEditor: () => _sfc_main$
|
|
137
|
-
UFilePicker: () => _sfc_main$
|
|
138
|
-
UFileViewer: () => _sfc_main$
|
|
139
|
-
UFloatButton: () => _sfc_main$
|
|
131
|
+
UDateRangePicker: () => _sfc_main$28,
|
|
132
|
+
UDialog: () => _sfc_main$52,
|
|
133
|
+
UDrawer: () => _sfc_main$14,
|
|
134
|
+
UDropdown: () => _sfc_main$4,
|
|
135
|
+
UEmpty: () => _sfc_main$1,
|
|
136
|
+
UExpressionEditor: () => _sfc_main$53,
|
|
137
|
+
UFilePicker: () => _sfc_main$41,
|
|
138
|
+
UFileViewer: () => _sfc_main$76,
|
|
139
|
+
UFloatButton: () => _sfc_main$80,
|
|
140
140
|
UForm: () => form_default,
|
|
141
141
|
UFormItem: () => form_item_default,
|
|
142
|
-
UGanttChart: () => _sfc_main$
|
|
143
|
-
UGrid: () => _sfc_main$
|
|
144
|
-
UGridInput: () => _sfc_main$
|
|
145
|
-
UGridItem: () => _sfc_main$
|
|
146
|
-
UGroupInput: () => _sfc_main$
|
|
147
|
-
UIcon: () => _sfc_main
|
|
142
|
+
UGanttChart: () => _sfc_main$39,
|
|
143
|
+
UGrid: () => _sfc_main$15,
|
|
144
|
+
UGridInput: () => _sfc_main$72,
|
|
145
|
+
UGridItem: () => _sfc_main$16,
|
|
146
|
+
UGroupInput: () => _sfc_main$65,
|
|
147
|
+
UIcon: () => _sfc_main,
|
|
148
148
|
UInput: () => input_default,
|
|
149
|
-
ULayout: () => _sfc_main$
|
|
150
|
-
UList: () => _sfc_main$
|
|
151
|
-
UListItem: () => _sfc_main$
|
|
152
|
-
ULoading: () => _sfc_main$
|
|
153
|
-
UMenu: () => _sfc_main$
|
|
154
|
-
UMenuItem: () => _sfc_main$
|
|
155
|
-
UMenuSub: () => _sfc_main$
|
|
156
|
-
UMessage: () => _sfc_main$
|
|
157
|
-
UMessageConfirm: () => _sfc_main$
|
|
158
|
-
UMultiSelect: () => _sfc_main$
|
|
159
|
-
UMultiTreeSelect: () => _sfc_main$
|
|
149
|
+
ULayout: () => _sfc_main$34,
|
|
150
|
+
UList: () => _sfc_main$66,
|
|
151
|
+
UListItem: () => _sfc_main$67,
|
|
152
|
+
ULoading: () => _sfc_main$29,
|
|
153
|
+
UMenu: () => _sfc_main$71,
|
|
154
|
+
UMenuItem: () => _sfc_main$69,
|
|
155
|
+
UMenuSub: () => _sfc_main$70,
|
|
156
|
+
UMessage: () => _sfc_main$40,
|
|
157
|
+
UMessageConfirm: () => _sfc_main$19,
|
|
158
|
+
UMultiSelect: () => _sfc_main$37,
|
|
159
|
+
UMultiTreeSelect: () => _sfc_main$64,
|
|
160
160
|
UNodeRender: () => NodeRender,
|
|
161
|
-
UNotification: () => _sfc_main$
|
|
162
|
-
UNumber: () => _sfc_main$
|
|
163
|
-
UNumberInput: () => _sfc_main$
|
|
164
|
-
UNumberRangeInput: () => _sfc_main$
|
|
165
|
-
UPaginator: () => _sfc_main$
|
|
161
|
+
UNotification: () => _sfc_main$33,
|
|
162
|
+
UNumber: () => _sfc_main$51,
|
|
163
|
+
UNumberInput: () => _sfc_main$42,
|
|
164
|
+
UNumberRangeInput: () => _sfc_main$43,
|
|
165
|
+
UPaginator: () => _sfc_main$79,
|
|
166
166
|
UPalette: () => _sfc_main$62,
|
|
167
|
-
UPasswordInput: () => _sfc_main$
|
|
168
|
-
UPopConfirm: () => _sfc_main$
|
|
169
|
-
UProgress: () => _sfc_main$
|
|
170
|
-
UProgressNodes: () => _sfc_main$
|
|
171
|
-
URadio: () => _sfc_main$
|
|
172
|
-
URadioGroup: () => _sfc_main$
|
|
173
|
-
URichTextEditor: () => _sfc_main$
|
|
174
|
-
UScroll: () => _sfc_main$
|
|
175
|
-
USelect: () => _sfc_main$
|
|
176
|
-
USlider: () => _sfc_main$
|
|
167
|
+
UPasswordInput: () => _sfc_main$50,
|
|
168
|
+
UPopConfirm: () => _sfc_main$55,
|
|
169
|
+
UProgress: () => _sfc_main$32,
|
|
170
|
+
UProgressNodes: () => _sfc_main$30,
|
|
171
|
+
URadio: () => _sfc_main$21,
|
|
172
|
+
URadioGroup: () => _sfc_main$74,
|
|
173
|
+
URichTextEditor: () => _sfc_main$68,
|
|
174
|
+
UScroll: () => _sfc_main$2,
|
|
175
|
+
USelect: () => _sfc_main$5,
|
|
176
|
+
USlider: () => _sfc_main$38,
|
|
177
177
|
USteps: () => _sfc_main$60,
|
|
178
|
-
USwitch: () => _sfc_main$
|
|
179
|
-
UTable: () => _sfc_main$
|
|
180
|
-
UTableEditor: () => _sfc_main$
|
|
181
|
-
UTabs: () => _sfc_main$
|
|
182
|
-
UTabsHorizontal: () => _sfc_main$
|
|
183
|
-
UTabsVertical: () => _sfc_main$
|
|
184
|
-
UTag: () => _sfc_main$
|
|
185
|
-
UText: () => _sfc_main$
|
|
178
|
+
USwitch: () => _sfc_main$73,
|
|
179
|
+
UTable: () => _sfc_main$46,
|
|
180
|
+
UTableEditor: () => _sfc_main$47,
|
|
181
|
+
UTabs: () => _sfc_main$9,
|
|
182
|
+
UTabsHorizontal: () => _sfc_main$7,
|
|
183
|
+
UTabsVertical: () => _sfc_main$8,
|
|
184
|
+
UTag: () => _sfc_main$35,
|
|
185
|
+
UText: () => _sfc_main$77,
|
|
186
186
|
UTextarea: () => _sfc_main$58,
|
|
187
|
-
UTheme: () => _sfc_main$
|
|
188
|
-
UTip: () => _sfc_main$
|
|
189
|
-
UTree: () => _sfc_main$
|
|
190
|
-
UTreeSelect: () => _sfc_main$
|
|
191
|
-
UWatermark: () => _sfc_main$
|
|
187
|
+
UTheme: () => _sfc_main$63,
|
|
188
|
+
UTip: () => _sfc_main$3,
|
|
189
|
+
UTree: () => _sfc_main$11,
|
|
190
|
+
UTreeSelect: () => _sfc_main$12,
|
|
191
|
+
UWatermark: () => _sfc_main$54,
|
|
192
192
|
contextmenu: () => contextmenu,
|
|
193
193
|
defineBatchEditColumns: () => defineBatchEditColumns,
|
|
194
194
|
defineTableColumns: () => defineTableColumns,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "../icon/icon.js";
|
|
2
2
|
import { Fragment, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeModels, nextTick, normalizeClass, openBlock, ref, renderSlot, shallowRef, toDisplayString, unref, useModel, withCtx, withModifiers } from "vue";
|
|
3
|
-
import { FORM_EMPTY_CONTENT, bem, injectFormContext } from "@veltra/utils";
|
|
4
3
|
import { useFocus, useFormFallbackProps } from "@veltra/compositions";
|
|
4
|
+
import { FORM_EMPTY_CONTENT, bem, injectFormContext } from "@veltra/utils";
|
|
5
5
|
import { Close } from "@veltra/icons/normal";
|
|
6
6
|
//#region src/components/input/input.vue?vue&type=script&setup=true&lang.tsx
|
|
7
7
|
const _hoisted_1 = [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _sfc_main$1 from "../icon/icon.js";
|
|
2
2
|
import { LayoutDIKey } from "./di.js";
|
|
3
3
|
import { computed, createElementBlock, createVNode, defineComponent, inject, normalizeClass, normalizeStyle, openBlock, shallowReactive, shallowRef, unref, withCtx } from "vue";
|
|
4
|
-
import { bem } from "@veltra/utils";
|
|
5
4
|
import { useDrag } from "@veltra/compositions";
|
|
5
|
+
import { bem } from "@veltra/utils";
|
|
6
6
|
import { Move } from "@veltra/icons/normal";
|
|
7
7
|
//#region src/components/layout/layout-resizer.vue
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LayoutDIKey } from "./di.js";
|
|
2
2
|
import _sfc_main$1 from "./layout-resizer.js";
|
|
3
3
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, defineComponent, nextTick, normalizeClass, normalizeStyle, openBlock, provide, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, unref, watch, watchEffect, withCtx } from "vue";
|
|
4
|
-
import { bem, withUnit } from "@veltra/utils";
|
|
5
4
|
import { useResizeObserver } from "@veltra/compositions";
|
|
5
|
+
import { bem, withUnit } from "@veltra/utils";
|
|
6
6
|
//#region src/components/layout/layout.vue
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
name: "Layout",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main$1 from "../scroll/scroll.js";
|
|
2
2
|
import { Fragment, createBlock, createElementBlock, defineComponent, mergeProps, normalizeClass, openBlock, renderList, renderSlot, unref, withCtx } from "vue";
|
|
3
|
-
import { bem } from "@veltra/utils";
|
|
4
3
|
import { useFallbackProps } from "@veltra/compositions";
|
|
4
|
+
import { bem } from "@veltra/utils";
|
|
5
5
|
//#region src/components/list/list.vue
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
name: "List",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Transition, computed, createBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, unref, withCtx } from "vue";
|
|
2
|
-
import { bem, zIndex } from "@veltra/utils";
|
|
3
2
|
import { useFallbackProps } from "@veltra/compositions";
|
|
3
|
+
import { bem, zIndex } from "@veltra/utils";
|
|
4
4
|
//#region src/components/loading/loading.vue
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
name: "Loading",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _sfc_main$1 from "../
|
|
2
|
-
import _sfc_main$2 from "../
|
|
1
|
+
import _sfc_main$1 from "../icon/icon.js";
|
|
2
|
+
import _sfc_main$2 from "../scroll/scroll.js";
|
|
3
3
|
import _sfc_main$3 from "../tip/tip.js";
|
|
4
4
|
import { MenuDIKey } from "./di.js";
|
|
5
5
|
import _sfc_main$4 from "./menu-icon.js";
|
|
@@ -35,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
35
35
|
visible: visible.value,
|
|
36
36
|
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => visible.value = $event)
|
|
37
37
|
}, {
|
|
38
|
-
content: withCtx(() => [createVNode(unref(_sfc_main$
|
|
38
|
+
content: withCtx(() => [createVNode(unref(_sfc_main$2), {
|
|
39
39
|
tag: "ul",
|
|
40
40
|
class: normalizeClass(unref(collapsedCls).e("sub-list"))
|
|
41
41
|
}, {
|
|
@@ -65,7 +65,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
65
65
|
}, null, 8, ["icon", "class"])) : (openBlock(), createElementBlock("span", _hoisted_1, toDisplayString(__props.menu.title[0]), 1)), __props.depth !== 0 ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
66
66
|
createElementVNode("span", { class: normalizeClass(unref(collapsedCls).e("sub-title")) }, toDisplayString(__props.menu.title), 3),
|
|
67
67
|
createCommentVNode(" 展开图标 "),
|
|
68
|
-
createVNode(unref(_sfc_main$
|
|
68
|
+
createVNode(unref(_sfc_main$1), { class: normalizeClass([unref(collapsedCls).e("sub-expand")]) }, {
|
|
69
69
|
default: withCtx(() => [createVNode(unref(ArrowRight))]),
|
|
70
70
|
_: 1
|
|
71
71
|
}, 8, ["class"])
|
|
@@ -6,8 +6,8 @@ import _sfc_main$4 from "./menu-sub-collapsed.js";
|
|
|
6
6
|
import _sfc_main$5 from "./menu-sub.js";
|
|
7
7
|
import { walkMenuWithPath } from "./walk-menu-path.js";
|
|
8
8
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, defineComponent, normalizeClass, openBlock, provide, renderList, shallowReactive, unref, watch, withCtx } from "vue";
|
|
9
|
-
import { ExpandTransition, bem } from "@veltra/utils";
|
|
10
9
|
import { useFallbackProps } from "@veltra/compositions";
|
|
10
|
+
import { ExpandTransition, bem } from "@veltra/utils";
|
|
11
11
|
//#region src/components/menu/menu.vue
|
|
12
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
13
13
|
name: "Menu",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _sfc_main$1 from "../icon/icon.js";
|
|
2
2
|
import { getTypeColor, getTypeIcon } from "./helper.js";
|
|
3
3
|
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, onMounted, openBlock, resolveDynamicComponent, toDisplayString, unref, withCtx, withModifiers } from "vue";
|
|
4
|
-
import { bem } from "@veltra/utils";
|
|
5
4
|
import { useFallbackProps } from "@veltra/compositions";
|
|
5
|
+
import { bem } from "@veltra/utils";
|
|
6
6
|
import { Close } from "@veltra/icons/normal";
|
|
7
7
|
//#region src/components/message/message.vue
|
|
8
8
|
const _hoisted_1 = ["innerHTML"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main$1 from "../button/button.js";
|
|
2
2
|
import { Transition, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, onMounted, openBlock, ref, toDisplayString, unref, vShow, withCtx, withDirectives } from "vue";
|
|
3
|
-
import { bem, zIndex } from "@veltra/utils";
|
|
4
3
|
import { useFallbackProps } from "@veltra/compositions";
|
|
4
|
+
import { bem, zIndex } from "@veltra/utils";
|
|
5
5
|
//#region src/components/message-confirm/message-confirm.vue
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
name: "MessageConfirm",
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import _sfc_main$1 from "../
|
|
2
|
-
import _sfc_main$2 from "../
|
|
3
|
-
import _sfc_main$3 from "../
|
|
4
|
-
import _sfc_main$4 from "../
|
|
5
|
-
import _sfc_main$5 from "../dropdown/dropdown.js";
|
|
1
|
+
import _sfc_main$1 from "../icon/icon.js";
|
|
2
|
+
import _sfc_main$2 from "../empty/empty.js";
|
|
3
|
+
import _sfc_main$3 from "../scroll/scroll.js";
|
|
4
|
+
import _sfc_main$4 from "../dropdown/dropdown.js";
|
|
6
5
|
import input_default from "../input/input.js";
|
|
7
|
-
import _sfc_main$6 from "../tag/tag.js";
|
|
8
6
|
import { useOptions } from "../select/use-options.js";
|
|
7
|
+
import _sfc_main$5 from "../checkbox/checkbox.js";
|
|
8
|
+
import _sfc_main$6 from "../tag/tag.js";
|
|
9
9
|
import { MultiSelectDIKey } from "./di.js";
|
|
10
10
|
import _sfc_main$7 from "./multi-select-option.js";
|
|
11
11
|
import { Fragment, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, isRef, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, provide, renderList, renderSlot, shallowReactive, shallowRef, toDisplayString, unref, useModel, vShow, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
|
12
|
-
import { FORM_EMPTY_CONTENT, bem, injectFormContext } from "@veltra/utils";
|
|
13
12
|
import { useFormFallbackProps, useVirtualizer } from "@veltra/compositions";
|
|
14
|
-
import {
|
|
13
|
+
import { FORM_EMPTY_CONTENT, bem, injectFormContext } from "@veltra/utils";
|
|
15
14
|
import { ArrowDown, Close, Search } from "@veltra/icons/normal";
|
|
15
|
+
import { o } from "@cat-kit/core";
|
|
16
16
|
//#region src/components/multi-select/multi-select.vue
|
|
17
17
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
18
18
|
name: "MultiSelect",
|
|
@@ -271,7 +271,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
271
271
|
checkboxClass: cls.e("checkbox")
|
|
272
272
|
});
|
|
273
273
|
return (_ctx, _cache) => {
|
|
274
|
-
return !unref(readonly) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
274
|
+
return !unref(readonly) ? (openBlock(), createBlock(unref(_sfc_main$4), {
|
|
275
275
|
key: 0,
|
|
276
276
|
trigger: "click",
|
|
277
277
|
ref_key: "dropdownRef",
|
|
@@ -316,14 +316,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
316
316
|
name: "zoom-in",
|
|
317
317
|
mode: "out-in"
|
|
318
318
|
}, {
|
|
319
|
-
default: withCtx(() => [__props.clearable && model.value?.length && hovered.value && !unref(disabled) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
319
|
+
default: withCtx(() => [__props.clearable && model.value?.length && hovered.value && !unref(disabled) ? (openBlock(), createBlock(unref(_sfc_main$1), {
|
|
320
320
|
key: 0,
|
|
321
321
|
class: normalizeClass(unref(cls).e("clear")),
|
|
322
322
|
onClick: withModifiers(handleClear, ["stop"])
|
|
323
323
|
}, {
|
|
324
324
|
default: withCtx(() => [createVNode(unref(Close))]),
|
|
325
325
|
_: 1
|
|
326
|
-
}, 8, ["class"])) : (openBlock(), createBlock(unref(_sfc_main$
|
|
326
|
+
}, 8, ["class"])) : (openBlock(), createBlock(unref(_sfc_main$1), {
|
|
327
327
|
key: 1,
|
|
328
328
|
class: normalizeClass(unref(cls).e("arrow"))
|
|
329
329
|
}, {
|
|
@@ -335,7 +335,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
335
335
|
]),
|
|
336
336
|
content: withCtx(() => [
|
|
337
337
|
createCommentVNode(" 多选栏 "),
|
|
338
|
-
createElementVNode("div", { class: normalizeClass(unref(cls).e("content-header")) }, [createVNode(unref(_sfc_main$
|
|
338
|
+
createElementVNode("div", { class: normalizeClass(unref(cls).e("content-header")) }, [createVNode(unref(_sfc_main$5), {
|
|
339
339
|
"model-value": allChecked.value,
|
|
340
340
|
indeterminate: indeterminate.value,
|
|
341
341
|
"onUpdate:modelValue": handleCheckAll,
|
|
@@ -358,7 +358,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
358
358
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(queryString) ? queryString.value = $event : null),
|
|
359
359
|
onKeydown: withKeys(withModifiers(handleCreateByEnter, ["prevent"]), ["enter"])
|
|
360
360
|
}, {
|
|
361
|
-
suffix: withCtx(() => [createVNode(unref(_sfc_main$
|
|
361
|
+
suffix: withCtx(() => [createVNode(unref(_sfc_main$1), null, {
|
|
362
362
|
default: withCtx(() => [createVNode(unref(Search))]),
|
|
363
363
|
_: 1
|
|
364
364
|
})]),
|
|
@@ -366,7 +366,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
366
366
|
}, 8, ["modelValue", "onKeydown"])], 2)) : createCommentVNode("v-if", true),
|
|
367
367
|
createCommentVNode(" 多选列表 "),
|
|
368
368
|
createCommentVNode("\n 虚拟化启用时内容容器 height 由 useVirtualizer 命令式写入;\n 模板不再绑定 totalSize,避免尺寸变化引起重渲染。\n "),
|
|
369
|
-
options.value.length ? (openBlock(), createBlock(unref(_sfc_main$
|
|
369
|
+
options.value.length ? (openBlock(), createBlock(unref(_sfc_main$3), {
|
|
370
370
|
key: 1,
|
|
371
371
|
tag: "ul",
|
|
372
372
|
class: normalizeClass([unref(cls).e("options")]),
|
|
@@ -422,7 +422,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
422
422
|
}, 8, ["class", "content-class"])) : (openBlock(), createElementBlock("div", {
|
|
423
423
|
key: 2,
|
|
424
424
|
class: normalizeClass(unref(cls).e("empty"))
|
|
425
|
-
}, [createVNode(unref(_sfc_main$
|
|
425
|
+
}, [createVNode(unref(_sfc_main$2))], 2))
|
|
426
426
|
]),
|
|
427
427
|
_: 3
|
|
428
428
|
}, 8, [
|
|
@@ -28,13 +28,13 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
|
|
|
28
28
|
"onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
|
|
29
29
|
onChange?: ((options: Record<string, any>[]) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
|
-
disabled: boolean;
|
|
32
|
-
readonly: boolean;
|
|
33
31
|
labelKey: string;
|
|
34
32
|
valueKey: string;
|
|
35
|
-
|
|
33
|
+
disabled: boolean;
|
|
34
|
+
readonly: boolean;
|
|
36
35
|
placeholder: string;
|
|
37
36
|
clearable: boolean;
|
|
37
|
+
minWidth: string;
|
|
38
38
|
visibilityLimit: number;
|
|
39
39
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
40
40
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import _sfc_main$1 from "../icon/icon.js";
|
|
2
|
-
import _sfc_main$2 from "../
|
|
3
|
-
import _sfc_main$3 from "../tree/tree.js";
|
|
4
|
-
import _sfc_main$4 from "../dropdown/dropdown.js";
|
|
2
|
+
import _sfc_main$2 from "../dropdown/dropdown.js";
|
|
5
3
|
import input_default from "../input/input.js";
|
|
4
|
+
import _sfc_main$3 from "../checkbox/checkbox.js";
|
|
5
|
+
import _sfc_main$4 from "../tree/tree.js";
|
|
6
6
|
import _sfc_main$5 from "../button/button.js";
|
|
7
7
|
import _sfc_main$6 from "../tag/tag.js";
|
|
8
8
|
import { Fragment, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, openBlock, renderList, shallowRef, toDisplayString, unref, useModel, useSlots, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
9
|
-
import { FORM_EMPTY_CONTENT, bem, injectFormContext } from "@veltra/utils";
|
|
10
9
|
import { useFormFallbackProps } from "@veltra/compositions";
|
|
11
|
-
import {
|
|
10
|
+
import { FORM_EMPTY_CONTENT, bem, injectFormContext } from "@veltra/utils";
|
|
12
11
|
import { ArrowDown, Close, Search } from "@veltra/icons/normal";
|
|
12
|
+
import { dfs, o } from "@cat-kit/core";
|
|
13
13
|
//#region src/components/multi-tree-select/multi-tree-select.vue
|
|
14
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
15
15
|
name: "MultiTreeSelect",
|
|
@@ -188,7 +188,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
188
188
|
if (!visible) qs.value = "";
|
|
189
189
|
};
|
|
190
190
|
return (_ctx, _cache) => {
|
|
191
|
-
return !unref(readonly) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
191
|
+
return !unref(readonly) ? (openBlock(), createBlock(unref(_sfc_main$2), {
|
|
192
192
|
key: 0,
|
|
193
193
|
class: normalizeClass([
|
|
194
194
|
unref(cls).b,
|
|
@@ -256,7 +256,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
256
256
|
content: withCtx(() => [
|
|
257
257
|
createElementVNode("div", { class: normalizeClass([unref(cls).e("content-header"), unref(cls).m(unref(size))]) }, [
|
|
258
258
|
createCommentVNode(" 全选 "),
|
|
259
|
-
createVNode(unref(_sfc_main$
|
|
259
|
+
createVNode(unref(_sfc_main$3), {
|
|
260
260
|
"model-value": allChecked.value,
|
|
261
261
|
indeterminate: indeterminate.value,
|
|
262
262
|
"onUpdate:modelValue": handleCheckAll
|
|
@@ -290,7 +290,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
290
290
|
_: 1
|
|
291
291
|
}, 8, ["modelValue"])], 2)) : createCommentVNode("v-if", true),
|
|
292
292
|
createCommentVNode(" 菜单列表 "),
|
|
293
|
-
createVNode(unref(_sfc_main$
|
|
293
|
+
createVNode(unref(_sfc_main$4), mergeProps(treeProps.value, {
|
|
294
294
|
checked: model.value,
|
|
295
295
|
"onUpdate:checked": [_cache[1] || (_cache[1] = ($event) => model.value = $event), handleCheck],
|
|
296
296
|
ref_key: "treeRef",
|