@veltra/desktop 1.1.4 → 1.1.6

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 (169) 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 +2 -2
  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 +105 -100
  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/batch-edit.js +0 -1
  18. package/dist/components/batch-edit/batch-edit.js.map +1 -1
  19. package/dist/components/batch-edit/style.js +1 -0
  20. package/dist/components/batch-edit/style2.css +13 -89
  21. package/dist/components/breadcrumb/breadcrumb.js +1 -1
  22. package/dist/components/button/button.js +1 -1
  23. package/dist/components/card/card.js +1 -1
  24. package/dist/components/cascade/cascade-panel-item.js +4 -4
  25. package/dist/components/cascade/cascade.js +2 -2
  26. package/dist/components/cascade/cascade.vue.d.ts +2 -2
  27. package/dist/components/checkbox/checkbox-button.js +1 -1
  28. package/dist/components/checkbox/checkbox-button.vue.d.ts +1 -1
  29. package/dist/components/checkbox/checkbox.js +1 -1
  30. package/dist/components/checkbox-group/checkbox-group.js +1 -1
  31. package/dist/components/checkbox-group/checkbox-group.vue.d.ts +2 -2
  32. package/dist/components/code-editor/code-editor.js +1 -1
  33. package/dist/components/collapse/collapse.js +1 -1
  34. package/dist/components/condition-editor/components/condition-group.js +152 -0
  35. package/dist/components/condition-editor/components/condition-group.js.map +1 -0
  36. package/dist/components/condition-editor/components/condition-row.js +217 -0
  37. package/dist/components/condition-editor/components/condition-row.js.map +1 -0
  38. package/dist/components/condition-editor/condition-editor.js +134 -5
  39. package/dist/components/condition-editor/condition-editor.js.map +1 -1
  40. package/dist/components/condition-editor/condition-editor.vue.d.ts +10 -2
  41. package/dist/components/condition-editor/core/evaluator.js +75 -0
  42. package/dist/components/condition-editor/core/evaluator.js.map +1 -0
  43. package/dist/components/condition-editor/core/operators.js +123 -0
  44. package/dist/components/condition-editor/core/operators.js.map +1 -0
  45. package/dist/components/condition-editor/style.js +7 -0
  46. package/dist/components/condition-editor/style2.css +186 -0
  47. package/dist/components/context-menu/context-menu.js +1 -1
  48. package/dist/components/date-panel/date-panel.vue.d.ts +1 -1
  49. package/dist/components/date-picker/date-picker.js +2 -2
  50. package/dist/components/date-picker/date-picker.vue.d.ts +1 -1
  51. package/dist/components/date-range-picker/date-range-picker.js +2 -2
  52. package/dist/components/date-range-picker/date-range-picker.vue.d.ts +1 -1
  53. package/dist/components/dialog/dialog.js +7 -7
  54. package/dist/components/dialog/style2.css +8 -0
  55. package/dist/components/dialog/use-maximum.js +1 -1
  56. package/dist/components/drawer/style2.css +8 -0
  57. package/dist/components/dropdown/dropdown.js +1 -1
  58. package/dist/components/expression-editor/components/variable-picker.js +8 -8
  59. package/dist/components/expression-editor/expression-editor.js +1 -1
  60. package/dist/components/file-viewer/file-viewer.js +13 -13
  61. package/dist/components/form-item/form-item.js.map +1 -1
  62. package/dist/components/form-item/form-item.vue_vue_type_script_setup_true_lang.js +6 -6
  63. package/dist/components/form-item/form-item.vue_vue_type_script_setup_true_lang.js.map +1 -1
  64. package/dist/components/grid-input/grid-input.js +1 -1
  65. package/dist/components/group-input/group-input.js +1 -1
  66. package/dist/components/index.d.ts +9 -8
  67. package/dist/components/index.js +130 -128
  68. package/dist/components/index.js.map +1 -1
  69. package/dist/components/input/input.vue_vue_type_script_setup_true_lang.js +1 -1
  70. package/dist/components/kbd/index.d.ts +1 -0
  71. package/dist/components/kbd/kbd.js +17 -0
  72. package/dist/components/kbd/kbd.js.map +1 -0
  73. package/dist/components/kbd/kbd.vue.d.ts +18 -0
  74. package/dist/components/kbd/style.d.ts +1 -0
  75. package/dist/components/kbd/style.js +1 -0
  76. package/dist/components/kbd/style2.css +43 -0
  77. package/dist/components/layout/layout-resizer.js +1 -1
  78. package/dist/components/layout/layout.js +1 -1
  79. package/dist/components/list/list.js +1 -1
  80. package/dist/components/loading/loading.js +1 -1
  81. package/dist/components/menu/menu-sub-collapsed.js +4 -4
  82. package/dist/components/menu/menu.js +1 -1
  83. package/dist/components/message/message.js +1 -1
  84. package/dist/components/message-confirm/message-confirm.js +1 -1
  85. package/dist/components/multi-select/multi-select.js +15 -15
  86. package/dist/components/multi-select/multi-select.vue.d.ts +3 -3
  87. package/dist/components/multi-tree-select/multi-tree-select.js +8 -8
  88. package/dist/components/multi-tree-select/multi-tree-select.vue.d.ts +3 -3
  89. package/dist/components/notification/notification.js +1 -1
  90. package/dist/components/number/number.vue.d.ts +1 -1
  91. package/dist/components/number-input/number-input.js +2 -2
  92. package/dist/components/number-range-input/number-range-input.js +1 -1
  93. package/dist/components/paginator/paginator.js +6 -6
  94. package/dist/components/paginator/style.js +1 -1
  95. package/dist/components/palette/palette.js +1 -1
  96. package/dist/components/password-input/password-input.js +2 -2
  97. package/dist/components/pop-confirm/pop-confirm.js +1 -1
  98. package/dist/components/progress-nodes/progress-nodes.js +1 -1
  99. package/dist/components/radio/radio.js +1 -1
  100. package/dist/components/radio-group/radio-group.js +1 -1
  101. package/dist/components/radio-group/radio-group.vue.d.ts +2 -2
  102. package/dist/components/rich-text-editor/rich-text-editor.js +1 -1
  103. package/dist/components/scroll/scroll-bar.js +1 -1
  104. package/dist/components/scroll/scroll.js +1 -1
  105. package/dist/components/select/select.js +10 -10
  106. package/dist/components/select/select.vue.d.ts +2 -2
  107. package/dist/components/slider/slider.js +1 -1
  108. package/dist/components/steps/steps.js +2 -2
  109. package/dist/components/switch/switch.js +1 -1
  110. package/dist/components/table/style2.css +4 -1
  111. package/dist/components/table/table.js +2 -3
  112. package/dist/components/table/table.js.map +1 -1
  113. package/dist/components/table/use-columns.js +1 -1
  114. package/dist/components/table/use-fixed-columns.js +8 -31
  115. package/dist/components/table/use-fixed-columns.js.map +1 -1
  116. package/dist/components/table-editor/table-editor.js +1 -2
  117. package/dist/components/table-editor/table-editor.js.map +1 -1
  118. package/dist/components/tabs/tabs-horizontal.js +1 -1
  119. package/dist/components/tabs/tabs-horizontal.vue.d.ts +1 -1
  120. package/dist/components/tabs/tabs-vertical.js +1 -1
  121. package/dist/components/tabs/tabs.js +1 -1
  122. package/dist/components/tabs/tabs.vue.d.ts +1 -1
  123. package/dist/components/tag/tag.js +1 -1
  124. package/dist/components/textarea/textarea.js +1 -1
  125. package/dist/components/theme/style.js +1 -1
  126. package/dist/components/theme/theme.js +11 -11
  127. package/dist/components/tip/tip.js +1 -1
  128. package/dist/components/tree/tree-node.js +1 -1
  129. package/dist/components/tree/tree.js +5 -5
  130. package/dist/components/tree-select/tree-select.js +6 -6
  131. package/dist/components/tree-select/tree-select.vue.d.ts +3 -3
  132. package/dist/index.d.ts +48 -47
  133. package/dist/index.js +46 -45
  134. package/dist/style.js +3 -2
  135. package/dist/types/action.d.ts +5 -11
  136. package/dist/types/condition-editor.d.ts +41 -8
  137. package/dist/types/index.d.ts +4 -4
  138. package/dist/types/table.d.ts +0 -2
  139. package/package.json +11 -11
  140. package/src/components/action/action-group.vue +68 -82
  141. package/src/components/action/action.vue +9 -1
  142. package/src/components/action/di.ts +2 -1
  143. package/src/components/action/style.scss +22 -27
  144. package/src/components/batch-edit/batch-edit-form.vue +73 -70
  145. package/src/components/batch-edit/batch-edit-list.vue +35 -41
  146. package/src/components/batch-edit/style.scss +19 -118
  147. package/src/components/batch-edit/style.ts +1 -0
  148. package/src/components/condition-editor/components/condition-group.vue +131 -0
  149. package/src/components/condition-editor/components/condition-row.vue +208 -0
  150. package/src/components/condition-editor/condition-editor.vue +145 -6
  151. package/src/components/condition-editor/core/evaluator.ts +93 -0
  152. package/src/components/condition-editor/core/operators.ts +57 -0
  153. package/src/components/condition-editor/style.scss +239 -1
  154. package/src/components/condition-editor/style.ts +7 -0
  155. package/src/components/dialog/style.scss +13 -0
  156. package/src/components/drawer/style.scss +13 -0
  157. package/src/components/form-item/form-item.vue +1 -1
  158. package/src/components/index.ts +2 -0
  159. package/src/components/kbd/index.ts +1 -0
  160. package/src/components/kbd/kbd.vue +13 -0
  161. package/src/components/kbd/style.scss +37 -0
  162. package/src/components/kbd/style.ts +1 -0
  163. package/src/components/table/style.scss +9 -1
  164. package/src/components/table/table.vue +1 -3
  165. package/src/components/table/use-fixed-columns.ts +5 -49
  166. package/src/style.ts +1 -0
  167. package/src/types/action.ts +6 -11
  168. package/src/types/condition-editor.ts +39 -7
  169. package/src/types/table.ts +0 -2
@@ -87,11 +87,12 @@ import { _default as _default$75 } from "./text/text.vue.js";
87
87
  import { _default as _default$76 } from "./select/select.vue.js";
88
88
  import { _default as _default$77 } from "./breadcrumb/breadcrumb.vue.js";
89
89
  import { _default as _default$78 } from "./icon/icon.vue.js";
90
- import { _default as _default$79 } from "./pop-confirm/pop-confirm.vue.js";
91
- import { _default as _default$80 } from "./paginator/paginator.vue.js";
92
- import { _default as _default$81 } from "./tag/tag.vue.js";
93
- import { _default as _default$82 } from "./float-button/float-button.vue.js";
94
- import { _default as _default$83 } from "./palette/palette.vue.js";
95
- import { _default as _default$84 } from "./grid/grid.vue.js";
96
- import { _default as _default$85 } from "./grid/grid-item.vue.js";
97
- import { _default as _default$86 } from "./badge/badge.vue.js";
90
+ import { _default as _default$79 } from "./kbd/kbd.vue.js";
91
+ import { _default as _default$80 } from "./pop-confirm/pop-confirm.vue.js";
92
+ import { _default as _default$81 } from "./paginator/paginator.vue.js";
93
+ import { _default as _default$82 } from "./tag/tag.vue.js";
94
+ import { _default as _default$83 } from "./float-button/float-button.vue.js";
95
+ import { _default as _default$84 } from "./palette/palette.vue.js";
96
+ import { _default as _default$85 } from "./grid/grid.vue.js";
97
+ import { _default as _default$86 } from "./grid/grid-item.vue.js";
98
+ import { _default as _default$87 } from "./badge/badge.vue.js";
@@ -1,82 +1,83 @@
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";
72
- import _sfc_main$57 from "./batch-edit/batch-edit.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 "./kbd/kbd.js";
71
+ import _sfc_main$56 from "./pop-confirm/pop-confirm.js";
72
+ import _sfc_main$57 from "./action/action.js";
73
+ import action_group_default from "./action/action-group.js";
74
+ import _sfc_main$58 from "./batch-edit/batch-edit.js";
73
75
  import { defineBatchEditColumns } from "./batch-edit/helper.js";
74
- import _sfc_main$58 from "./textarea/textarea.js";
75
- import _sfc_main$59 from "./cascade/cascade.js";
76
- import _sfc_main$60 from "./steps/steps.js";
77
- import _sfc_main$61 from "./date-picker/date-picker.js";
78
- import _sfc_main$62 from "./palette/palette.js";
79
- import _sfc_main$63 from "./select/select.js";
76
+ import _sfc_main$59 from "./textarea/textarea.js";
77
+ import _sfc_main$60 from "./cascade/cascade.js";
78
+ import _sfc_main$61 from "./steps/steps.js";
79
+ import _sfc_main$62 from "./date-picker/date-picker.js";
80
+ import _sfc_main$63 from "./palette/palette.js";
80
81
  import _sfc_main$64 from "./theme/theme.js";
81
82
  import _sfc_main$65 from "./multi-tree-select/multi-tree-select.js";
82
83
  import _sfc_main$66 from "./group-input/group-input.js";
@@ -102,93 +103,94 @@ var components_exports = /* @__PURE__ */ __exportAll({
102
103
  FormModel: () => FormModel,
103
104
  MessageConfirm: () => MessageConfirm,
104
105
  Notification: () => Notification,
105
- UAction: () => _sfc_main$55,
106
- UActionGroup: () => _sfc_main$56,
107
- UAutoComplete: () => _sfc_main$30,
106
+ UAction: () => _sfc_main$57,
107
+ UActionGroup: () => action_group_default,
108
+ UAutoComplete: () => _sfc_main$31,
108
109
  UBadge: () => _sfc_main$82,
109
- UBatchEdit: () => _sfc_main$57,
110
+ UBatchEdit: () => _sfc_main$58,
110
111
  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,
119
- UCascade: () => _sfc_main$59,
120
- UCheckTag: () => _sfc_main$47,
121
- UCheckbox: () => _sfc_main$7,
122
- UCheckboxButton: () => _sfc_main$35,
112
+ UButton: () => _sfc_main$17,
113
+ UButtonGroup: () => _sfc_main$18,
114
+ UCalendar: () => _sfc_main$20,
115
+ UCard: () => _sfc_main$22,
116
+ UCardAction: () => _sfc_main$26,
117
+ UCardContent: () => _sfc_main$25,
118
+ UCardCover: () => _sfc_main$24,
119
+ UCardHeader: () => _sfc_main$23,
120
+ UCascade: () => _sfc_main$60,
121
+ UCheckTag: () => _sfc_main$48,
122
+ UCheckbox: () => _sfc_main$10,
123
+ UCheckboxButton: () => _sfc_main$36,
123
124
  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,
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,
125
+ UCodeEditor: () => _sfc_main$13,
126
+ UCollapse: () => _sfc_main$44,
127
+ UCollapseItem: () => _sfc_main$45,
128
+ UConditionEditor: () => _sfc_main$6,
129
+ UContextMenu: () => _sfc_main$49,
130
+ UDatePanel: () => _sfc_main$27,
131
+ UDatePicker: () => _sfc_main$62,
132
+ UDateRangePicker: () => _sfc_main$28,
133
+ UDialog: () => _sfc_main$52,
134
+ UDrawer: () => _sfc_main$14,
135
+ UDropdown: () => _sfc_main$4,
136
+ UEmpty: () => _sfc_main$1,
137
+ UExpressionEditor: () => _sfc_main$53,
138
+ UFilePicker: () => _sfc_main$41,
138
139
  UFileViewer: () => _sfc_main$77,
139
140
  UFloatButton: () => _sfc_main$81,
140
141
  UForm: () => form_default,
141
142
  UFormItem: () => form_item_default,
142
- UGanttChart: () => _sfc_main$38,
143
- UGrid: () => _sfc_main$13,
143
+ UGanttChart: () => _sfc_main$39,
144
+ UGrid: () => _sfc_main$15,
144
145
  UGridInput: () => _sfc_main$73,
145
- UGridItem: () => _sfc_main$14,
146
+ UGridItem: () => _sfc_main$16,
146
147
  UGroupInput: () => _sfc_main$66,
147
- UIcon: () => _sfc_main$2,
148
+ UIcon: () => _sfc_main,
148
149
  UInput: () => input_default,
149
- ULayout: () => _sfc_main$33,
150
+ UKbd: () => _sfc_main$55,
151
+ ULayout: () => _sfc_main$34,
150
152
  UList: () => _sfc_main$67,
151
153
  UListItem: () => _sfc_main$68,
152
- ULoading: () => _sfc_main$28,
154
+ ULoading: () => _sfc_main$29,
153
155
  UMenu: () => _sfc_main$72,
154
156
  UMenuItem: () => _sfc_main$70,
155
157
  UMenuSub: () => _sfc_main$71,
156
- UMessage: () => _sfc_main$39,
157
- UMessageConfirm: () => _sfc_main$18,
158
- UMultiSelect: () => _sfc_main$36,
158
+ UMessage: () => _sfc_main$40,
159
+ UMessageConfirm: () => _sfc_main$19,
160
+ UMultiSelect: () => _sfc_main$37,
159
161
  UMultiTreeSelect: () => _sfc_main$65,
160
162
  UNodeRender: () => NodeRender,
161
- UNotification: () => _sfc_main$32,
162
- UNumber: () => _sfc_main$50,
163
- UNumberInput: () => _sfc_main$41,
164
- UNumberRangeInput: () => _sfc_main$42,
163
+ UNotification: () => _sfc_main$33,
164
+ UNumber: () => _sfc_main$51,
165
+ UNumberInput: () => _sfc_main$42,
166
+ UNumberRangeInput: () => _sfc_main$43,
165
167
  UPaginator: () => _sfc_main$80,
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,
168
+ UPalette: () => _sfc_main$63,
169
+ UPasswordInput: () => _sfc_main$50,
170
+ UPopConfirm: () => _sfc_main$56,
171
+ UProgress: () => _sfc_main$32,
172
+ UProgressNodes: () => _sfc_main$30,
173
+ URadio: () => _sfc_main$21,
172
174
  URadioGroup: () => _sfc_main$75,
173
175
  URichTextEditor: () => _sfc_main$69,
174
- UScroll: () => _sfc_main$1,
175
- USelect: () => _sfc_main$63,
176
- USlider: () => _sfc_main$37,
177
- USteps: () => _sfc_main$60,
176
+ UScroll: () => _sfc_main$2,
177
+ USelect: () => _sfc_main$5,
178
+ USlider: () => _sfc_main$38,
179
+ USteps: () => _sfc_main$61,
178
180
  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,
181
+ UTable: () => _sfc_main$46,
182
+ UTableEditor: () => _sfc_main$47,
183
+ UTabs: () => _sfc_main$9,
184
+ UTabsHorizontal: () => _sfc_main$7,
185
+ UTabsVertical: () => _sfc_main$8,
186
+ UTag: () => _sfc_main$35,
185
187
  UText: () => _sfc_main$78,
186
- UTextarea: () => _sfc_main$58,
188
+ UTextarea: () => _sfc_main$59,
187
189
  UTheme: () => _sfc_main$64,
188
- UTip: () => _sfc_main$15,
189
- UTree: () => _sfc_main$8,
190
- UTreeSelect: () => _sfc_main$10,
191
- UWatermark: () => _sfc_main$53,
190
+ UTip: () => _sfc_main$3,
191
+ UTree: () => _sfc_main$11,
192
+ UTreeSelect: () => _sfc_main$12,
193
+ UWatermark: () => _sfc_main$54,
192
194
  contextmenu: () => contextmenu,
193
195
  defineBatchEditColumns: () => defineBatchEditColumns,
194
196
  defineTableColumns: () => defineTableColumns,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/components/index.ts"],"sourcesContent":["export * from './condition-editor'\n\nexport * from './tabs'\n\nexport * from './tree'\n\nexport * from './tree-select'\n\nexport * from './code-editor'\n\nexport * from './dropdown'\n\nexport * from './drawer'\n\nexport * from './form'\n\nexport * from './message-confirm'\n\nexport * from './calendar'\n\nexport * from './radio'\n\nexport * from './card'\n\nexport * from './date-range-picker'\n\nexport * from './loading'\n\nexport * from './scroll'\n\nexport * from './progress-nodes'\n\nexport * from './empty'\n\nexport * from './auto-complete'\n\nexport * from './progress'\n\nexport * from './input'\n\nexport * from './notification'\n\nexport * from './layout'\n\nexport * from './multi-select'\n\nexport * from './checkbox'\n\nexport * from './slider'\n\nexport * from './gantt-chart'\n\nexport * from './message'\n\nexport * from './file-picker'\n\nexport * from './number-range-input'\n\nexport * from './number-input'\n\nexport * from './collapse'\n\nexport * from './date-panel'\n\nexport * from './table-editor'\n\nexport * from './check-tag'\n\nexport * from './context-menu'\n\nexport * from './password-input'\n\nexport * from './number'\n\nexport * from './dialog'\n\nexport * from './node-render'\n\nexport * from './expression-editor'\n\nexport * from './watermark'\n\nexport * from './batch-edit'\n\nexport * from './action'\n\nexport * from './tip'\n\nexport * from './textarea'\n\nexport * from './button'\n\nexport * from './cascade'\n\nexport * from './steps'\n\nexport * from './date-picker'\n\nexport * from './theme'\n\nexport * from './table'\n\nexport * from './multi-tree-select'\n\nexport * from './group-input'\n\nexport * from './list'\n\nexport * from './rich-text-editor'\n\nexport * from './menu'\n\nexport * from './grid-input'\n\nexport * from './switch'\n\nexport * from './form-item'\n\nexport * from './radio-group'\n\nexport * from './checkbox-group'\n\nexport * from './file-viewer'\n\nexport * from './text'\n\nexport * from './select'\n\nexport * from './breadcrumb'\n\nexport * from './icon'\n\nexport * from './pop-confirm'\n\nexport * from './paginator'\n\nexport * from './tag'\n\nexport * from './float-button'\n\nexport * from './palette'\n\nexport * from './grid'\n\nexport * from './badge'\n"],"mappings":""}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/components/index.ts"],"sourcesContent":["export * from './condition-editor'\n\nexport * from './tabs'\n\nexport * from './tree'\n\nexport * from './tree-select'\n\nexport * from './code-editor'\n\nexport * from './dropdown'\n\nexport * from './drawer'\n\nexport * from './form'\n\nexport * from './message-confirm'\n\nexport * from './calendar'\n\nexport * from './radio'\n\nexport * from './card'\n\nexport * from './date-range-picker'\n\nexport * from './loading'\n\nexport * from './scroll'\n\nexport * from './progress-nodes'\n\nexport * from './empty'\n\nexport * from './auto-complete'\n\nexport * from './progress'\n\nexport * from './input'\n\nexport * from './notification'\n\nexport * from './layout'\n\nexport * from './multi-select'\n\nexport * from './checkbox'\n\nexport * from './slider'\n\nexport * from './gantt-chart'\n\nexport * from './message'\n\nexport * from './file-picker'\n\nexport * from './number-range-input'\n\nexport * from './number-input'\n\nexport * from './collapse'\n\nexport * from './date-panel'\n\nexport * from './table-editor'\n\nexport * from './check-tag'\n\nexport * from './context-menu'\n\nexport * from './password-input'\n\nexport * from './number'\n\nexport * from './dialog'\n\nexport * from './node-render'\n\nexport * from './expression-editor'\n\nexport * from './watermark'\n\nexport * from './batch-edit'\n\nexport * from './action'\n\nexport * from './tip'\n\nexport * from './textarea'\n\nexport * from './button'\n\nexport * from './cascade'\n\nexport * from './steps'\n\nexport * from './date-picker'\n\nexport * from './theme'\n\nexport * from './table'\n\nexport * from './multi-tree-select'\n\nexport * from './group-input'\n\nexport * from './list'\n\nexport * from './rich-text-editor'\n\nexport * from './menu'\n\nexport * from './grid-input'\n\nexport * from './switch'\n\nexport * from './form-item'\n\nexport * from './radio-group'\n\nexport * from './checkbox-group'\n\nexport * from './file-viewer'\n\nexport * from './text'\n\nexport * from './select'\n\nexport * from './breadcrumb'\n\nexport * from './icon'\n\nexport * from './kbd'\n\nexport * from './pop-confirm'\n\nexport * from './paginator'\n\nexport * from './tag'\n\nexport * from './float-button'\n\nexport * from './palette'\n\nexport * from './grid'\n\nexport * from './badge'\n"],"mappings":""}
@@ -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 = [
@@ -0,0 +1 @@
1
+ import { _default } from "./kbd.vue.js";
@@ -0,0 +1,17 @@
1
+ import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
2
+ import { bem } from "@veltra/utils";
3
+ //#region src/components/kbd/kbd.vue
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ name: "Kbd",
6
+ __name: "kbd",
7
+ setup(__props) {
8
+ const cls = bem("kbd");
9
+ return (_ctx, _cache) => {
10
+ return openBlock(), createElementBlock("kbd", { class: normalizeClass(unref(cls).b) }, [renderSlot(_ctx.$slots, "default")], 2);
11
+ };
12
+ }
13
+ });
14
+ //#endregion
15
+ export { _sfc_main as default };
16
+
17
+ //# sourceMappingURL=kbd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kbd.js","names":[],"sources":["../../../src/components/kbd/kbd.vue"],"sourcesContent":["<template>\n <kbd :class=\"cls.b\">\n <slot />\n </kbd>\n</template>\n\n<script lang=\"ts\" setup>\nimport { bem } from '@veltra/utils'\n\ndefineOptions({ name: 'Kbd' })\n\nconst cls = bem('kbd')\n</script>\n"],"mappings":";;;;;;;EAWA,MAAM,MAAM,IAAI,MAAK;;uBAVnB,mBAEM,OAAA,EAFA,OAAK,eAAE,MAAA,IAAG,CAAC,EAAC,EAAA,EAAA,CAChB,WAAQ,KAAA,QAAA,UAAA,CAAA,EAAA,EAAA"}
@@ -0,0 +1,18 @@
1
+ import * as _$vue from "vue";
2
+
3
+ //#region src/components/kbd/kbd.vue.d.ts
4
+ declare var __VLS_1: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_1) => any;
7
+ };
8
+ declare const __VLS_base: _$vue.DefineComponent<{}, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
9
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
10
+ declare const _default: typeof __VLS_export;
11
+ type __VLS_WithSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
16
+ //#endregion
17
+ export { _default };
18
+ //# sourceMappingURL=kbd.vue.d.ts.map
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1 @@
1
+ import "./style2.css";
@@ -0,0 +1,43 @@
1
+ @charset "UTF-8";
2
+ /** flex布局 */
3
+ /**
4
+ * 设置css变量
5
+ * 参数1:变量前缀
6
+ * 参数2: 一个由值组成的列表或者由key, value组成的map
7
+ * css-var(height, (
8
+ * large: 40px
9
+ * default: 32px
10
+ * small: 24px
11
+ * ))
12
+ * 生成的css变量:
13
+ * --u-height-large: 40px;
14
+ * --u-height-default: 32px;
15
+ * --u-height-small: 24px;
16
+ */
17
+ /** 暗色:data-theme 与系统偏好,与 UITheme.injectBuiltInThemes 选择器策略一致 */
18
+ .u-kbd {
19
+ display: inline-flex;
20
+ align-items: center;
21
+ justify-content: center;
22
+ flex-shrink: 0;
23
+ font-family: var(--u-font-family);
24
+ font-weight: normal;
25
+ vertical-align: text-top;
26
+ white-space: nowrap;
27
+ user-select: none;
28
+ position: relative;
29
+ top: -0.03em;
30
+ font-size: 0.75em;
31
+ min-width: 1.75em;
32
+ line-height: 1.7em;
33
+ padding: 0 0.5em 0.05em;
34
+ border-radius: calc(var(--u-radius-default) * 0.35);
35
+ height: fit-content;
36
+ color: var(--u-text-color-main);
37
+ background: var(--u-bg-color-top);
38
+ /*
39
+ * Adapted from Radix UI Themes Kbd.
40
+ * Multi-layer box-shadow simulates a 3D keycap appearance.
41
+ */
42
+ box-shadow: inset 0 0.05em color-mix(in srgb, var(--u-bg-color-top) 75%, var(--u-bg-color-black)), 0 0 0 0.05em color-mix(in srgb, var(--u-border-color) 50%, transparent), 0 0.08em 0.17em color-mix(in srgb, var(--u-shadow-color) 60%, transparent);
43
+ }
@@ -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",