@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.
Files changed (145) hide show
  1. package/dist/components/action/action-group.js +3 -110
  2. package/dist/components/action/action-group.js.map +1 -1
  3. package/dist/components/action/action-group.vue.d.ts +4 -13
  4. package/dist/components/action/action-group.vue_vue_type_script_setup_true_lang.js +105 -0
  5. package/dist/components/action/action-group.vue_vue_type_script_setup_true_lang.js.map +1 -0
  6. package/dist/components/action/action.js +5 -1
  7. package/dist/components/action/action.js.map +1 -1
  8. package/dist/components/action/action.vue.d.ts +1 -1
  9. package/dist/components/action/di.js.map +1 -1
  10. package/dist/components/action/style2.css +17 -14
  11. package/dist/components/auto-complete/auto-complete.js +1 -1
  12. package/dist/components/badge/badge.js +1 -1
  13. package/dist/components/batch-edit/batch-edit-form.js +94 -101
  14. package/dist/components/batch-edit/batch-edit-form.js.map +1 -1
  15. package/dist/components/batch-edit/batch-edit-list.js +52 -68
  16. package/dist/components/batch-edit/batch-edit-list.js.map +1 -1
  17. package/dist/components/batch-edit/style2.css +13 -89
  18. package/dist/components/breadcrumb/breadcrumb.js +1 -1
  19. package/dist/components/button/button.js +1 -1
  20. package/dist/components/card/card.js +1 -1
  21. package/dist/components/cascade/cascade-panel-item.js +4 -4
  22. package/dist/components/cascade/cascade.js +2 -2
  23. package/dist/components/cascade/cascade.vue.d.ts +2 -2
  24. package/dist/components/checkbox/checkbox-button.js +1 -1
  25. package/dist/components/checkbox/checkbox-button.vue.d.ts +1 -1
  26. package/dist/components/checkbox/checkbox.js +1 -1
  27. package/dist/components/checkbox-group/checkbox-group.js +1 -1
  28. package/dist/components/checkbox-group/checkbox-group.vue.d.ts +2 -2
  29. package/dist/components/code-editor/code-editor.js +1 -1
  30. package/dist/components/collapse/collapse.js +1 -1
  31. package/dist/components/condition-editor/components/condition-group.js +152 -0
  32. package/dist/components/condition-editor/components/condition-group.js.map +1 -0
  33. package/dist/components/condition-editor/components/condition-row.js +217 -0
  34. package/dist/components/condition-editor/components/condition-row.js.map +1 -0
  35. package/dist/components/condition-editor/condition-editor.js +134 -5
  36. package/dist/components/condition-editor/condition-editor.js.map +1 -1
  37. package/dist/components/condition-editor/condition-editor.vue.d.ts +10 -2
  38. package/dist/components/condition-editor/core/evaluator.js +75 -0
  39. package/dist/components/condition-editor/core/evaluator.js.map +1 -0
  40. package/dist/components/condition-editor/core/operators.js +123 -0
  41. package/dist/components/condition-editor/core/operators.js.map +1 -0
  42. package/dist/components/condition-editor/style.js +7 -0
  43. package/dist/components/condition-editor/style2.css +186 -0
  44. package/dist/components/context-menu/context-menu.js +1 -1
  45. package/dist/components/date-panel/date-panel.vue.d.ts +1 -1
  46. package/dist/components/date-picker/date-picker.js +2 -2
  47. package/dist/components/date-picker/date-picker.vue.d.ts +1 -1
  48. package/dist/components/date-range-picker/date-range-picker.js +2 -2
  49. package/dist/components/date-range-picker/date-range-picker.vue.d.ts +1 -1
  50. package/dist/components/dialog/dialog.js +7 -7
  51. package/dist/components/dialog/style2.css +8 -0
  52. package/dist/components/dialog/use-maximum.js +1 -1
  53. package/dist/components/drawer/style2.css +8 -0
  54. package/dist/components/dropdown/dropdown.js +1 -1
  55. package/dist/components/expression-editor/components/variable-picker.js +8 -8
  56. package/dist/components/expression-editor/expression-editor.js +1 -1
  57. package/dist/components/file-viewer/file-viewer.js +13 -13
  58. package/dist/components/form-item/form-item.js.map +1 -1
  59. package/dist/components/form-item/form-item.vue_vue_type_script_setup_true_lang.js +6 -6
  60. package/dist/components/form-item/form-item.vue_vue_type_script_setup_true_lang.js.map +1 -1
  61. package/dist/components/grid-input/grid-input.js +1 -1
  62. package/dist/components/group-input/group-input.js +1 -1
  63. package/dist/components/index.js +154 -154
  64. package/dist/components/input/input.vue_vue_type_script_setup_true_lang.js +1 -1
  65. package/dist/components/layout/layout-resizer.js +1 -1
  66. package/dist/components/layout/layout.js +1 -1
  67. package/dist/components/list/list.js +1 -1
  68. package/dist/components/loading/loading.js +1 -1
  69. package/dist/components/menu/menu-sub-collapsed.js +4 -4
  70. package/dist/components/menu/menu.js +1 -1
  71. package/dist/components/message/message.js +1 -1
  72. package/dist/components/message-confirm/message-confirm.js +1 -1
  73. package/dist/components/multi-select/multi-select.js +15 -15
  74. package/dist/components/multi-select/multi-select.vue.d.ts +3 -3
  75. package/dist/components/multi-tree-select/multi-tree-select.js +8 -8
  76. package/dist/components/multi-tree-select/multi-tree-select.vue.d.ts +3 -3
  77. package/dist/components/notification/notification.js +1 -1
  78. package/dist/components/number/number.vue.d.ts +1 -1
  79. package/dist/components/number-input/number-input.js +2 -2
  80. package/dist/components/number-range-input/number-range-input.js +1 -1
  81. package/dist/components/paginator/paginator.js +6 -6
  82. package/dist/components/paginator/style.js +1 -1
  83. package/dist/components/palette/palette.js +1 -1
  84. package/dist/components/password-input/password-input.js +2 -2
  85. package/dist/components/pop-confirm/pop-confirm.js +1 -1
  86. package/dist/components/progress-nodes/progress-nodes.js +1 -1
  87. package/dist/components/radio/radio.js +1 -1
  88. package/dist/components/radio-group/radio-group.js +1 -1
  89. package/dist/components/radio-group/radio-group.vue.d.ts +2 -2
  90. package/dist/components/rich-text-editor/rich-text-editor.js +1 -1
  91. package/dist/components/scroll/scroll-bar.js +1 -1
  92. package/dist/components/scroll/scroll.js +1 -1
  93. package/dist/components/select/select.js +10 -10
  94. package/dist/components/select/select.vue.d.ts +2 -2
  95. package/dist/components/slider/slider.js +1 -1
  96. package/dist/components/steps/steps.js +2 -2
  97. package/dist/components/switch/switch.js +1 -1
  98. package/dist/components/table/style2.css +4 -1
  99. package/dist/components/table/table.js +2 -2
  100. package/dist/components/table/table.js.map +1 -1
  101. package/dist/components/table/use-columns.js +1 -1
  102. package/dist/components/table/use-fixed-columns.js +8 -31
  103. package/dist/components/table/use-fixed-columns.js.map +1 -1
  104. package/dist/components/table-editor/table-editor.js +1 -1
  105. package/dist/components/tabs/tabs-horizontal.js +1 -1
  106. package/dist/components/tabs/tabs-vertical.js +1 -1
  107. package/dist/components/tabs/tabs.js +1 -1
  108. package/dist/components/tag/tag.js +1 -1
  109. package/dist/components/textarea/textarea.js +1 -1
  110. package/dist/components/theme/style.js +1 -1
  111. package/dist/components/theme/theme.js +11 -11
  112. package/dist/components/tip/tip.js +1 -1
  113. package/dist/components/tree/tree-node.js +1 -1
  114. package/dist/components/tree/tree.js +5 -5
  115. package/dist/components/tree-select/tree-select.js +6 -6
  116. package/dist/components/tree-select/tree-select.vue.d.ts +3 -3
  117. package/dist/index.d.ts +5 -5
  118. package/dist/index.js +83 -83
  119. package/dist/style.js +2 -2
  120. package/dist/types/action.d.ts +5 -11
  121. package/dist/types/condition-editor.d.ts +41 -8
  122. package/dist/types/index.d.ts +4 -4
  123. package/package.json +11 -11
  124. package/src/components/action/action-group.vue +68 -82
  125. package/src/components/action/action.vue +9 -1
  126. package/src/components/action/di.ts +2 -1
  127. package/src/components/action/style.scss +22 -27
  128. package/src/components/batch-edit/batch-edit-form.vue +65 -70
  129. package/src/components/batch-edit/batch-edit-list.vue +35 -41
  130. package/src/components/batch-edit/style.scss +19 -118
  131. package/src/components/condition-editor/components/condition-group.vue +131 -0
  132. package/src/components/condition-editor/components/condition-row.vue +208 -0
  133. package/src/components/condition-editor/condition-editor.vue +145 -6
  134. package/src/components/condition-editor/core/evaluator.ts +93 -0
  135. package/src/components/condition-editor/core/operators.ts +57 -0
  136. package/src/components/condition-editor/style.scss +239 -1
  137. package/src/components/condition-editor/style.ts +7 -0
  138. package/src/components/dialog/style.scss +13 -0
  139. package/src/components/drawer/style.scss +13 -0
  140. package/src/components/form-item/form-item.vue +1 -1
  141. package/src/components/table/style.scss +9 -1
  142. package/src/components/table/table.vue +1 -3
  143. package/src/components/table/use-fixed-columns.ts +5 -49
  144. package/src/types/action.ts +6 -11
  145. package/src/types/condition-editor.ts +39 -7
@@ -1,74 +1,75 @@
1
1
  import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
- import _sfc_main from "./condition-editor/condition-editor.js";
3
- import _sfc_main$1 from "./scroll/scroll.js";
4
- import _sfc_main$2 from "./icon/icon.js";
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$8 from "./tree/tree.js";
12
- import _sfc_main$9 from "./dropdown/dropdown.js";
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$10 from "./tree-select/tree-select.js";
15
- import _sfc_main$11 from "./code-editor/code-editor.js";
16
- import _sfc_main$12 from "./drawer/drawer.js";
17
- import _sfc_main$13 from "./grid/grid.js";
18
- import _sfc_main$14 from "./grid/grid-item.js";
19
- import _sfc_main$15 from "./tip/tip.js";
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$16 from "./button/button.js";
26
- import _sfc_main$17 from "./button/button-group.js";
27
- import _sfc_main$18 from "./message-confirm/message-confirm.js";
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$19 from "./calendar/calendar.js";
30
- import _sfc_main$20 from "./radio/radio.js";
31
- import _sfc_main$21 from "./card/card.js";
32
- import _sfc_main$22 from "./card/card-header.js";
33
- import _sfc_main$23 from "./card/card-cover.js";
34
- import _sfc_main$24 from "./card/card-content.js";
35
- import _sfc_main$25 from "./card/card-action.js";
36
- import _sfc_main$26 from "./date-panel/date-panel.js";
37
- import _sfc_main$27 from "./date-range-picker/date-range-picker.js";
38
- import _sfc_main$28 from "./loading/loading.js";
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$29 from "./progress-nodes/progress-nodes.js";
41
- import _sfc_main$30 from "./auto-complete/auto-complete.js";
42
- import _sfc_main$31 from "./progress/progress.js";
43
- import _sfc_main$32 from "./notification/notification.js";
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$33 from "./layout/layout.js";
46
- import _sfc_main$34 from "./tag/tag.js";
47
- import _sfc_main$35 from "./checkbox/checkbox-button.js";
48
- import _sfc_main$36 from "./multi-select/multi-select.js";
49
- import _sfc_main$37 from "./slider/slider.js";
50
- import _sfc_main$38 from "./gantt-chart/gantt-chart.js";
51
- import _sfc_main$39 from "./message/message.js";
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$40 from "./file-picker/file-picker.js";
54
- import _sfc_main$41 from "./number-input/number-input.js";
55
- import _sfc_main$42 from "./number-range-input/number-range-input.js";
56
- import _sfc_main$43 from "./collapse/collapse.js";
57
- import _sfc_main$44 from "./collapse/collapse-item.js";
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$45 from "./table/table.js";
60
- import _sfc_main$46 from "./table-editor/table-editor.js";
61
- import _sfc_main$47 from "./check-tag/check-tag.js";
62
- import _sfc_main$48 from "./context-menu/context-menu.js";
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$49 from "./password-input/password-input.js";
65
- import _sfc_main$50 from "./number/number.js";
66
- import _sfc_main$51 from "./dialog/dialog.js";
67
- import _sfc_main$52 from "./expression-editor/expression-editor.js";
68
- import _sfc_main$53 from "./watermark/watermark.js";
69
- import _sfc_main$54 from "./pop-confirm/pop-confirm.js";
70
- import _sfc_main$55 from "./action/action.js";
71
- import _sfc_main$56 from "./action/action-group.js";
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 "./select/select.js";
80
- import _sfc_main$64 from "./theme/theme.js";
81
- import _sfc_main$65 from "./multi-tree-select/multi-tree-select.js";
82
- import _sfc_main$66 from "./group-input/group-input.js";
83
- import _sfc_main$67 from "./list/list.js";
84
- import _sfc_main$68 from "./list/list-item.js";
85
- import _sfc_main$69 from "./rich-text-editor/rich-text-editor.js";
86
- import _sfc_main$70 from "./menu/menu-item.js";
87
- import _sfc_main$71 from "./menu/menu-sub.js";
88
- import _sfc_main$72 from "./menu/menu.js";
89
- import _sfc_main$73 from "./grid-input/grid-input.js";
90
- import _sfc_main$74 from "./switch/switch.js";
91
- import _sfc_main$75 from "./radio-group/radio-group.js";
92
- import _sfc_main$76 from "./checkbox-group/checkbox-group.js";
93
- import _sfc_main$77 from "./file-viewer/file-viewer.js";
94
- import _sfc_main$78 from "./text/text.js";
95
- import _sfc_main$79 from "./breadcrumb/breadcrumb.js";
96
- import _sfc_main$80 from "./paginator/paginator.js";
97
- import _sfc_main$81 from "./float-button/float-button.js";
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$55,
106
- UActionGroup: () => _sfc_main$56,
107
- UAutoComplete: () => _sfc_main$30,
108
- UBadge: () => _sfc_main$82,
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$79,
111
- UButton: () => _sfc_main$16,
112
- UButtonGroup: () => _sfc_main$17,
113
- UCalendar: () => _sfc_main$19,
114
- UCard: () => _sfc_main$21,
115
- UCardAction: () => _sfc_main$25,
116
- UCardContent: () => _sfc_main$24,
117
- UCardCover: () => _sfc_main$23,
118
- UCardHeader: () => _sfc_main$22,
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$47,
121
- UCheckbox: () => _sfc_main$7,
122
- UCheckboxButton: () => _sfc_main$35,
123
- UCheckboxGroup: () => _sfc_main$76,
124
- UCodeEditor: () => _sfc_main$11,
125
- UCollapse: () => _sfc_main$43,
126
- UCollapseItem: () => _sfc_main$44,
127
- UConditionEditor: () => _sfc_main,
128
- UContextMenu: () => _sfc_main$48,
129
- UDatePanel: () => _sfc_main$26,
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$27,
132
- UDialog: () => _sfc_main$51,
133
- UDrawer: () => _sfc_main$12,
134
- UDropdown: () => _sfc_main$9,
135
- UEmpty: () => _sfc_main$6,
136
- UExpressionEditor: () => _sfc_main$52,
137
- UFilePicker: () => _sfc_main$40,
138
- UFileViewer: () => _sfc_main$77,
139
- UFloatButton: () => _sfc_main$81,
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$38,
143
- UGrid: () => _sfc_main$13,
144
- UGridInput: () => _sfc_main$73,
145
- UGridItem: () => _sfc_main$14,
146
- UGroupInput: () => _sfc_main$66,
147
- UIcon: () => _sfc_main$2,
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$33,
150
- UList: () => _sfc_main$67,
151
- UListItem: () => _sfc_main$68,
152
- ULoading: () => _sfc_main$28,
153
- UMenu: () => _sfc_main$72,
154
- UMenuItem: () => _sfc_main$70,
155
- UMenuSub: () => _sfc_main$71,
156
- UMessage: () => _sfc_main$39,
157
- UMessageConfirm: () => _sfc_main$18,
158
- UMultiSelect: () => _sfc_main$36,
159
- UMultiTreeSelect: () => _sfc_main$65,
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$32,
162
- UNumber: () => _sfc_main$50,
163
- UNumberInput: () => _sfc_main$41,
164
- UNumberRangeInput: () => _sfc_main$42,
165
- UPaginator: () => _sfc_main$80,
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$49,
168
- UPopConfirm: () => _sfc_main$54,
169
- UProgress: () => _sfc_main$31,
170
- UProgressNodes: () => _sfc_main$29,
171
- URadio: () => _sfc_main$20,
172
- URadioGroup: () => _sfc_main$75,
173
- URichTextEditor: () => _sfc_main$69,
174
- UScroll: () => _sfc_main$1,
175
- USelect: () => _sfc_main$63,
176
- USlider: () => _sfc_main$37,
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$74,
179
- UTable: () => _sfc_main$45,
180
- UTableEditor: () => _sfc_main$46,
181
- UTabs: () => _sfc_main$5,
182
- UTabsHorizontal: () => _sfc_main$3,
183
- UTabsVertical: () => _sfc_main$4,
184
- UTag: () => _sfc_main$34,
185
- UText: () => _sfc_main$78,
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$64,
188
- UTip: () => _sfc_main$15,
189
- UTree: () => _sfc_main$8,
190
- UTreeSelect: () => _sfc_main$10,
191
- UWatermark: () => _sfc_main$53,
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 "../scroll/scroll.js";
2
- import _sfc_main$2 from "../icon/icon.js";
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$1), {
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$2), { class: normalizeClass([unref(collapsedCls).e("sub-expand")]) }, {
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 "../scroll/scroll.js";
2
- import _sfc_main$2 from "../icon/icon.js";
3
- import _sfc_main$3 from "../empty/empty.js";
4
- import _sfc_main$4 from "../checkbox/checkbox.js";
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 { o } from "@cat-kit/core";
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$5), {
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$2), {
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$2), {
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$4), {
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$2), null, {
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$1), {
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$3))], 2))
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
- minWidth: string;
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 "../checkbox/checkbox.js";
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 { dfs, o } from "@cat-kit/core";
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$4), {
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$2), {
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$3), mergeProps(treeProps.value, {
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",