@veltra/desktop 1.14.1 → 1.15.0

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 (163) hide show
  1. package/dist/components/auto-complete/style.d.ts +0 -1
  2. package/dist/components/cascade/cascade.js +13 -19
  3. package/dist/components/cascade/cascade.js.map +1 -1
  4. package/dist/components/cascade/style.d.ts +1 -3
  5. package/dist/components/checkbox/checkbox.js +5 -11
  6. package/dist/components/checkbox/checkbox.js.map +1 -1
  7. package/dist/components/checkbox/style.d.ts +1 -1
  8. package/dist/components/checkbox/style.js +0 -1
  9. package/dist/components/checkbox-group/style.d.ts +1 -1
  10. package/dist/components/chip/chip.js +63 -0
  11. package/dist/components/chip/chip.js.map +1 -0
  12. package/dist/components/chip/style.d.ts +1 -0
  13. package/dist/components/chip/style.js +1 -0
  14. package/dist/components/chip/style2.css +90 -0
  15. package/dist/components/chip-group/chip-group.js +279 -0
  16. package/dist/components/chip-group/chip-group.js.map +1 -0
  17. package/dist/components/chip-group/reveal.js +80 -0
  18. package/dist/components/chip-group/reveal.js.map +1 -0
  19. package/dist/components/chip-group/style.d.ts +1 -0
  20. package/dist/components/chip-group/style.js +2 -0
  21. package/dist/components/chip-group/style2.css +68 -0
  22. package/dist/components/condition-editor/style.d.ts +0 -1
  23. package/dist/components/date-picker/style.d.ts +1 -2
  24. package/dist/components/date-range-picker/date-range-picker.js +14 -20
  25. package/dist/components/date-range-picker/date-range-picker.js.map +1 -1
  26. package/dist/components/dialog/dialog.js +5 -2
  27. package/dist/components/dialog/dialog.js.map +1 -1
  28. package/dist/components/dialog/style2.css +0 -10
  29. package/dist/components/dialog/use-maximum.js +77 -20
  30. package/dist/components/dialog/use-maximum.js.map +1 -1
  31. package/dist/components/drawer/style2.css +4 -4
  32. package/dist/components/form-item/style2.css +1 -1
  33. package/dist/components/index.d.ts +32 -30
  34. package/dist/components/index.js +63 -59
  35. package/dist/components/index.js.map +1 -1
  36. package/dist/components/input/input.js.map +1 -1
  37. package/dist/components/input/input.vue_vue_type_script_setup_true_lang.js +13 -19
  38. package/dist/components/input/input.vue_vue_type_script_setup_true_lang.js.map +1 -1
  39. package/dist/components/input/style.d.ts +1 -1
  40. package/dist/components/input/style.js +0 -1
  41. package/dist/components/message/style2.css +13 -0
  42. package/dist/components/message-confirm/style2.css +10 -0
  43. package/dist/components/multi-select/multi-select.js +13 -19
  44. package/dist/components/multi-select/multi-select.js.map +1 -1
  45. package/dist/components/multi-select/style.d.ts +1 -4
  46. package/dist/components/multi-select/style.js +0 -1
  47. package/dist/components/multi-tree-select/multi-tree-select.js +10 -19
  48. package/dist/components/multi-tree-select/multi-tree-select.js.map +1 -1
  49. package/dist/components/multi-tree-select/style.d.ts +1 -5
  50. package/dist/components/multi-tree-select/style.js +0 -1
  51. package/dist/components/nav/nav-sub.js +56 -51
  52. package/dist/components/nav/nav-sub.js.map +1 -1
  53. package/dist/components/notification/notification-box.js +4 -2
  54. package/dist/components/notification/notification-box.js.map +1 -1
  55. package/dist/components/notification/style2.css +16 -0
  56. package/dist/components/number-input/style.d.ts +0 -1
  57. package/dist/components/palette/style.d.ts +1 -2
  58. package/dist/components/password-input/style.d.ts +1 -1
  59. package/dist/components/radio/radio.js +5 -8
  60. package/dist/components/radio/radio.js.map +1 -1
  61. package/dist/components/radio/style.d.ts +1 -1
  62. package/dist/components/radio/style.js +0 -1
  63. package/dist/components/radio-group/style.d.ts +1 -1
  64. package/dist/components/rich-text-editor/style2.css +2 -2
  65. package/dist/components/scroll/style2.css +27 -13
  66. package/dist/components/segment/segment.js +50 -3
  67. package/dist/components/segment/segment.js.map +1 -1
  68. package/dist/components/segment/style2.css +20 -2
  69. package/dist/components/select/select.js +24 -25
  70. package/dist/components/select/select.js.map +1 -1
  71. package/dist/components/select/style.d.ts +0 -1
  72. package/dist/components/switch/style2.css +1 -1
  73. package/dist/components/table/style.d.ts +1 -3
  74. package/dist/components/tabs/style.d.ts +1 -2
  75. package/dist/components/tabs/style.js +0 -1
  76. package/dist/components/tabs/style2.css +29 -0
  77. package/dist/components/tabs/tabs-horizontal.js +7 -3
  78. package/dist/components/tabs/tabs-horizontal.js.map +1 -1
  79. package/dist/components/tabs/tabs.js +2 -8
  80. package/dist/components/tabs/tabs.js.map +1 -1
  81. package/dist/components/tabs/use-tabs-bar.js +41 -9
  82. package/dist/components/tabs/use-tabs-bar.js.map +1 -1
  83. package/dist/components/tag/style2.css +3 -3
  84. package/dist/components/textarea/style.d.ts +1 -1
  85. package/dist/components/textarea/style.js +0 -1
  86. package/dist/components/textarea/textarea.js +7 -13
  87. package/dist/components/textarea/textarea.js.map +1 -1
  88. package/dist/components/theme/style.d.ts +0 -1
  89. package/dist/components/theme/style2.css +9 -5
  90. package/dist/components/time-picker/style.d.ts +1 -2
  91. package/dist/components/tip/style2.css +5 -5
  92. package/dist/components/tip/tip.js +22 -1
  93. package/dist/components/tip/tip.js.map +1 -1
  94. package/dist/components/transfer/style.d.ts +1 -2
  95. package/dist/components/tree/style.d.ts +1 -1
  96. package/dist/components/tree-select/style.d.ts +1 -3
  97. package/dist/components/tree-select/tree-select.js +24 -25
  98. package/dist/components/tree-select/tree-select.js.map +1 -1
  99. package/dist/index.d.ts +86 -82
  100. package/dist/index.js +84 -82
  101. package/dist/style.d.ts +0 -8
  102. package/dist/style.js +2 -0
  103. package/dist/types/chip-group.d.ts +35 -0
  104. package/dist/types/chip.d.ts +28 -0
  105. package/dist/types/index.d.ts +3 -1
  106. package/package.json +1 -1
  107. package/src/components/cascade/cascade.vue +9 -11
  108. package/src/components/checkbox/checkbox.vue +6 -8
  109. package/src/components/checkbox/style.ts +0 -1
  110. package/src/components/chip/__test__/chip.test.ts +69 -0
  111. package/src/components/chip/chip.vue +54 -0
  112. package/src/components/chip/index.ts +1 -0
  113. package/src/components/chip/style.scss +91 -0
  114. package/src/components/chip/style.ts +1 -0
  115. package/src/components/chip-group/__test__/chip-group.test.ts +411 -0
  116. package/src/components/chip-group/__test__/reveal.test.ts +74 -0
  117. package/src/components/chip-group/chip-group.vue +326 -0
  118. package/src/components/chip-group/index.ts +1 -0
  119. package/src/components/chip-group/reveal.ts +106 -0
  120. package/src/components/chip-group/style.scss +72 -0
  121. package/src/components/chip-group/style.ts +2 -0
  122. package/src/components/date-range-picker/date-range-picker.vue +10 -12
  123. package/src/components/dialog/dialog.vue +2 -1
  124. package/src/components/dialog/style.scss +0 -12
  125. package/src/components/dialog/use-maximum.ts +88 -28
  126. package/src/components/drawer/style.scss +1 -1
  127. package/src/components/form-item/style.scss +2 -2
  128. package/src/components/index.ts +4 -0
  129. package/src/components/input/input.vue +14 -16
  130. package/src/components/input/style.ts +0 -1
  131. package/src/components/message/style.scss +15 -0
  132. package/src/components/message-confirm/style.scss +14 -0
  133. package/src/components/multi-select/multi-select.vue +8 -10
  134. package/src/components/multi-select/style.ts +0 -1
  135. package/src/components/multi-tree-select/multi-tree-select.vue +8 -10
  136. package/src/components/multi-tree-select/style.ts +0 -1
  137. package/src/components/nav/nav-sub.vue +22 -11
  138. package/src/components/notification/notification-box.vue +5 -2
  139. package/src/components/notification/style.scss +18 -0
  140. package/src/components/radio/radio.vue +1 -3
  141. package/src/components/radio/style.ts +0 -1
  142. package/src/components/rich-text-editor/style.scss +7 -2
  143. package/src/components/scroll/style.scss +39 -20
  144. package/src/components/segment/segment.vue +44 -2
  145. package/src/components/segment/style.scss +22 -2
  146. package/src/components/select/select.vue +24 -19
  147. package/src/components/switch/style.scss +4 -1
  148. package/src/components/tabs/style.scss +35 -0
  149. package/src/components/tabs/style.ts +0 -1
  150. package/src/components/tabs/tabs-horizontal.vue +2 -1
  151. package/src/components/tabs/tabs.vue +4 -6
  152. package/src/components/tabs/use-tabs-bar.ts +55 -8
  153. package/src/components/tag/style.scss +4 -4
  154. package/src/components/textarea/style.ts +0 -1
  155. package/src/components/textarea/textarea.vue +7 -9
  156. package/src/components/theme/style.scss +25 -5
  157. package/src/components/tip/style.scss +5 -5
  158. package/src/components/tip/tip.vue +33 -1
  159. package/src/components/tree-select/tree-select.vue +21 -17
  160. package/src/style.ts +2 -0
  161. package/src/types/chip-group.ts +36 -0
  162. package/src/types/chip.ts +29 -0
  163. package/src/types/index.ts +2 -0
@@ -81,35 +81,37 @@ import _sfc_main$75 from "./group-nav/group-nav.js";
81
81
  import _sfc_main$76 from "./grid-input/grid-input.js";
82
82
  import _sfc_main$77 from "./switch/switch.js";
83
83
  import _sfc_main$78 from "./radio-group/radio-group.js";
84
- import _sfc_main$79 from "./checkbox-group/checkbox-group.js";
85
- import _sfc_main$80 from "./file-viewer/file-viewer.js";
86
- import _sfc_main$81 from "./text/text.js";
87
- import _sfc_main$82 from "./breadcrumb/breadcrumb.js";
88
- import _sfc_main$83 from "./paginator/paginator.js";
89
- import _sfc_main$84 from "./float-button/float-button.js";
90
- import _sfc_main$85 from "./badge/badge.js";
91
- import _sfc_main$86 from "./segment/segment.js";
92
- import _sfc_main$87 from "./image-cropper/image-cropper.js";
93
- import _sfc_main$88 from "./image-previewer/image-previewer.js";
94
- import _sfc_main$89 from "./kanban/kanban.js";
95
- import _sfc_main$90 from "./anchor/anchor.js";
96
- import _sfc_main$91 from "./anchor/anchor-item.js";
97
- import _sfc_main$92 from "./avatar/avatar.js";
98
- import _sfc_main$93 from "./avatar/avatar-group.js";
99
- import _sfc_main$94 from "./back-top/back-top.js";
100
- import _sfc_main$95 from "./alert/alert.js";
101
- import _sfc_main$96 from "./rate/rate.js";
102
- import _sfc_main$97 from "./divider/divider.js";
103
- import _sfc_main$98 from "./space/space.js";
104
- import _sfc_main$99 from "./skeleton/skeleton.js";
105
- import _sfc_main$100 from "./time-picker/time-picker.js";
106
- import _sfc_main$101 from "./descriptions/descriptions-item.js";
107
- import _sfc_main$102 from "./descriptions/descriptions.js";
108
- import _sfc_main$103 from "./timeline/timeline.js";
109
- import _sfc_main$104 from "./timeline/timeline-item.js";
110
- import _sfc_main$105 from "./carousel/carousel.js";
111
- import _sfc_main$106 from "./carousel/carousel-item.js";
112
- import _sfc_main$107 from "./ai-button/ai-button.js";
84
+ import _sfc_main$79 from "./chip/chip.js";
85
+ import _sfc_main$80 from "./chip-group/chip-group.js";
86
+ import _sfc_main$81 from "./checkbox-group/checkbox-group.js";
87
+ import _sfc_main$82 from "./file-viewer/file-viewer.js";
88
+ import _sfc_main$83 from "./text/text.js";
89
+ import _sfc_main$84 from "./breadcrumb/breadcrumb.js";
90
+ import _sfc_main$85 from "./paginator/paginator.js";
91
+ import _sfc_main$86 from "./float-button/float-button.js";
92
+ import _sfc_main$87 from "./badge/badge.js";
93
+ import _sfc_main$88 from "./segment/segment.js";
94
+ import _sfc_main$89 from "./image-cropper/image-cropper.js";
95
+ import _sfc_main$90 from "./image-previewer/image-previewer.js";
96
+ import _sfc_main$91 from "./kanban/kanban.js";
97
+ import _sfc_main$92 from "./anchor/anchor.js";
98
+ import _sfc_main$93 from "./anchor/anchor-item.js";
99
+ import _sfc_main$94 from "./avatar/avatar.js";
100
+ import _sfc_main$95 from "./avatar/avatar-group.js";
101
+ import _sfc_main$96 from "./back-top/back-top.js";
102
+ import _sfc_main$97 from "./alert/alert.js";
103
+ import _sfc_main$98 from "./rate/rate.js";
104
+ import _sfc_main$99 from "./divider/divider.js";
105
+ import _sfc_main$100 from "./space/space.js";
106
+ import _sfc_main$101 from "./skeleton/skeleton.js";
107
+ import _sfc_main$102 from "./time-picker/time-picker.js";
108
+ import _sfc_main$103 from "./descriptions/descriptions-item.js";
109
+ import _sfc_main$104 from "./descriptions/descriptions.js";
110
+ import _sfc_main$105 from "./timeline/timeline.js";
111
+ import _sfc_main$106 from "./timeline/timeline-item.js";
112
+ import _sfc_main$107 from "./carousel/carousel.js";
113
+ import _sfc_main$108 from "./carousel/carousel-item.js";
114
+ import _sfc_main$109 from "./ai-button/ai-button.js";
113
115
  import { EvaluateOptions, createEmptyGroup, createEmptyLeaf, evaluate } from "./condition-editor/core/evaluator.js";
114
116
  import "./condition-editor/index.js";
115
117
  import { messageConfirm } from "./message-confirm/message-confirm.js";
@@ -129,4 +131,4 @@ import { defineBatchEditColumns } from "./batch-edit/helper.js";
129
131
  import "./batch-edit/index.js";
130
132
  import { defineTableColumns } from "./table/use-columns.js";
131
133
  import "./table/index.js";
132
- export { type EvaluateOptions as ConditionEvaluateOptions, ContextmenuPanelDIKey, ContextmenuRootDIKey, _sfc_main$57 as UAction, action_group_default as UActionGroup, _sfc_main$107 as UAiButton, _sfc_main$95 as UAlert, _sfc_main$90 as UAnchor, _sfc_main$91 as UAnchorItem, _sfc_main$31 as UAutoComplete, _sfc_main$92 as UAvatar, _sfc_main$93 as UAvatarGroup, _sfc_main$94 as UBackTop, _sfc_main$85 as UBadge, _sfc_main$58 as UBatchEdit, _sfc_main$82 as UBreadcrumb, _sfc_main$18 as UButton, _sfc_main$19 as UButtonGroup, _sfc_main$21 as UCalendar, _sfc_main$23 as UCard, _sfc_main$27 as UCardAction, _sfc_main$26 as UCardContent, _sfc_main$25 as UCardCover, _sfc_main$24 as UCardHeader, _sfc_main$105 as UCarousel, _sfc_main$106 as UCarouselItem, _sfc_main$61 as UCascade, _sfc_main$48 as UCheckTag, _sfc_main$11 as UCheckbox, _sfc_main$36 as UCheckboxButton, _sfc_main$79 as UCheckboxGroup, _sfc_main$14 as UCodeEditor, _sfc_main$44 as UCollapse, _sfc_main$45 as UCollapseItem, _sfc_main$7 as UConditionEditor, _sfc_main$49 as UContextmenu, _sfc_main$28 as UDatePanel, _sfc_main$63 as UDatePicker, _sfc_main$29 as UDateRangePicker, _sfc_main$102 as UDescriptions, _sfc_main$101 as UDescriptionsItem, _sfc_main$52 as UDialog, _sfc_main$97 as UDivider, _sfc_main$15 as UDrawer, _sfc_main$4 as UDropdown, _sfc_main$74 as UDualNav, _sfc_main$1 as UEmpty, _sfc_main$53 as UExpressionEditor, _sfc_main$41 as UFilePicker, _sfc_main$80 as UFileViewer, _sfc_main$84 as UFloatButton, form_default as UForm, form_item_default as UFormItem, _sfc_main$39 as UGanttChart, _sfc_main$16 as UGrid, _sfc_main$76 as UGridInput, _sfc_main$17 as UGridItem, _sfc_main$67 as UGroupInput, _sfc_main$75 as UGroupNav, _sfc_main as UIcon, _sfc_main$87 as UImageCropper, _sfc_main$88 as UImagePreviewer, input_default as UInput, _sfc_main$89 as UKanban, _sfc_main$55 as UKbd, _sfc_main$34 as ULayout, _sfc_main$68 as UList, _sfc_main$69 as UListItem, _sfc_main$5 as ULoading, _sfc_main$40 as UMessage, _sfc_main$20 as UMessageConfirm, _sfc_main$37 as UMultiSelect, _sfc_main$66 as UMultiTreeSelect, _sfc_main$73 as UNav, _sfc_main$71 as UNavItem, _sfc_main$72 as UNavSub, NodeRender as UNodeRender, _sfc_main$33 as UNotification, _sfc_main$51 as UNumber, _sfc_main$42 as UNumberInput, _sfc_main$43 as UNumberRangeInput, _sfc_main$83 as UPaginator, _sfc_main$64 as UPalette, _sfc_main$50 as UPasswordInput, _sfc_main$56 as UPopConfirm, _sfc_main$32 as UProgress, _sfc_main$30 as UProgressNodes, _sfc_main$22 as URadio, _sfc_main$78 as URadioGroup, _sfc_main$96 as URate, _sfc_main$70 as URichTextEditor, _sfc_main$2 as UScroll, _sfc_main$86 as USegment, _sfc_main$6 as USelect, _sfc_main$99 as USkeleton, _sfc_main$38 as USlider, _sfc_main$98 as USpace, _sfc_main$62 as USteps, _sfc_main$77 as USwitch, _sfc_main$46 as UTable, _sfc_main$47 as UTableEditor, _sfc_main$10 as UTabs, _sfc_main$8 as UTabsHorizontal, _sfc_main$9 as UTabsVertical, _sfc_main$35 as UTag, _sfc_main$81 as UText, _sfc_main$60 as UTextarea, _sfc_main$65 as UTheme, _sfc_main$100 as UTimePicker, _sfc_main$103 as UTimeline, _sfc_main$104 as UTimelineItem, _sfc_main$3 as UTip, _sfc_main$59 as UTransfer, _sfc_main$12 as UTree, _sfc_main$13 as UTreeSelect, _sfc_main$54 as UWatermark, contextmenu, createEmptyGroup, createEmptyLeaf, defineBatchEditColumns, defineTableColumns, evaluate as evaluateConditionExpression, message, messageConfirm, notification, vLoading };
134
+ export { type EvaluateOptions as ConditionEvaluateOptions, ContextmenuPanelDIKey, ContextmenuRootDIKey, _sfc_main$57 as UAction, action_group_default as UActionGroup, _sfc_main$109 as UAiButton, _sfc_main$97 as UAlert, _sfc_main$92 as UAnchor, _sfc_main$93 as UAnchorItem, _sfc_main$31 as UAutoComplete, _sfc_main$94 as UAvatar, _sfc_main$95 as UAvatarGroup, _sfc_main$96 as UBackTop, _sfc_main$87 as UBadge, _sfc_main$58 as UBatchEdit, _sfc_main$84 as UBreadcrumb, _sfc_main$18 as UButton, _sfc_main$19 as UButtonGroup, _sfc_main$21 as UCalendar, _sfc_main$23 as UCard, _sfc_main$27 as UCardAction, _sfc_main$26 as UCardContent, _sfc_main$25 as UCardCover, _sfc_main$24 as UCardHeader, _sfc_main$107 as UCarousel, _sfc_main$108 as UCarouselItem, _sfc_main$61 as UCascade, _sfc_main$48 as UCheckTag, _sfc_main$11 as UCheckbox, _sfc_main$36 as UCheckboxButton, _sfc_main$81 as UCheckboxGroup, _sfc_main$79 as UChip, _sfc_main$80 as UChipGroup, _sfc_main$14 as UCodeEditor, _sfc_main$44 as UCollapse, _sfc_main$45 as UCollapseItem, _sfc_main$7 as UConditionEditor, _sfc_main$49 as UContextmenu, _sfc_main$28 as UDatePanel, _sfc_main$63 as UDatePicker, _sfc_main$29 as UDateRangePicker, _sfc_main$104 as UDescriptions, _sfc_main$103 as UDescriptionsItem, _sfc_main$52 as UDialog, _sfc_main$99 as UDivider, _sfc_main$15 as UDrawer, _sfc_main$4 as UDropdown, _sfc_main$74 as UDualNav, _sfc_main$1 as UEmpty, _sfc_main$53 as UExpressionEditor, _sfc_main$41 as UFilePicker, _sfc_main$82 as UFileViewer, _sfc_main$86 as UFloatButton, form_default as UForm, form_item_default as UFormItem, _sfc_main$39 as UGanttChart, _sfc_main$16 as UGrid, _sfc_main$76 as UGridInput, _sfc_main$17 as UGridItem, _sfc_main$67 as UGroupInput, _sfc_main$75 as UGroupNav, _sfc_main as UIcon, _sfc_main$89 as UImageCropper, _sfc_main$90 as UImagePreviewer, input_default as UInput, _sfc_main$91 as UKanban, _sfc_main$55 as UKbd, _sfc_main$34 as ULayout, _sfc_main$68 as UList, _sfc_main$69 as UListItem, _sfc_main$5 as ULoading, _sfc_main$40 as UMessage, _sfc_main$20 as UMessageConfirm, _sfc_main$37 as UMultiSelect, _sfc_main$66 as UMultiTreeSelect, _sfc_main$73 as UNav, _sfc_main$71 as UNavItem, _sfc_main$72 as UNavSub, NodeRender as UNodeRender, _sfc_main$33 as UNotification, _sfc_main$51 as UNumber, _sfc_main$42 as UNumberInput, _sfc_main$43 as UNumberRangeInput, _sfc_main$85 as UPaginator, _sfc_main$64 as UPalette, _sfc_main$50 as UPasswordInput, _sfc_main$56 as UPopConfirm, _sfc_main$32 as UProgress, _sfc_main$30 as UProgressNodes, _sfc_main$22 as URadio, _sfc_main$78 as URadioGroup, _sfc_main$98 as URate, _sfc_main$70 as URichTextEditor, _sfc_main$2 as UScroll, _sfc_main$88 as USegment, _sfc_main$6 as USelect, _sfc_main$101 as USkeleton, _sfc_main$38 as USlider, _sfc_main$100 as USpace, _sfc_main$62 as USteps, _sfc_main$77 as USwitch, _sfc_main$46 as UTable, _sfc_main$47 as UTableEditor, _sfc_main$10 as UTabs, _sfc_main$8 as UTabsHorizontal, _sfc_main$9 as UTabsVertical, _sfc_main$35 as UTag, _sfc_main$83 as UText, _sfc_main$60 as UTextarea, _sfc_main$65 as UTheme, _sfc_main$102 as UTimePicker, _sfc_main$105 as UTimeline, _sfc_main$106 as UTimelineItem, _sfc_main$3 as UTip, _sfc_main$59 as UTransfer, _sfc_main$12 as UTree, _sfc_main$13 as UTreeSelect, _sfc_main$54 as UWatermark, contextmenu, createEmptyGroup, createEmptyLeaf, defineBatchEditColumns, defineTableColumns, evaluate as evaluateConditionExpression, message, messageConfirm, notification, vLoading };
@@ -92,52 +92,54 @@ import _sfc_main$75 from "./group-nav/group-nav.js";
92
92
  import _sfc_main$76 from "./grid-input/grid-input.js";
93
93
  import _sfc_main$77 from "./switch/switch.js";
94
94
  import _sfc_main$78 from "./radio-group/radio-group.js";
95
- import _sfc_main$79 from "./checkbox-group/checkbox-group.js";
96
- import _sfc_main$80 from "./file-viewer/file-viewer.js";
97
- import _sfc_main$81 from "./text/text.js";
98
- import _sfc_main$82 from "./breadcrumb/breadcrumb.js";
99
- import _sfc_main$83 from "./paginator/paginator.js";
100
- import _sfc_main$84 from "./float-button/float-button.js";
101
- import _sfc_main$85 from "./badge/badge.js";
102
- import _sfc_main$86 from "./segment/segment.js";
103
- import _sfc_main$87 from "./image-cropper/image-cropper.js";
104
- import _sfc_main$88 from "./image-previewer/image-previewer.js";
105
- import _sfc_main$89 from "./kanban/kanban.js";
106
- import _sfc_main$90 from "./anchor/anchor.js";
107
- import _sfc_main$91 from "./anchor/anchor-item.js";
108
- import _sfc_main$92 from "./avatar/avatar.js";
109
- import _sfc_main$93 from "./avatar/avatar-group.js";
110
- import _sfc_main$94 from "./back-top/back-top.js";
111
- import _sfc_main$95 from "./alert/alert.js";
112
- import _sfc_main$96 from "./rate/rate.js";
113
- import _sfc_main$97 from "./divider/divider.js";
114
- import _sfc_main$98 from "./space/space.js";
115
- import _sfc_main$99 from "./skeleton/skeleton.js";
116
- import _sfc_main$100 from "./time-picker/time-picker.js";
117
- import _sfc_main$101 from "./descriptions/descriptions-item.js";
118
- import _sfc_main$102 from "./descriptions/descriptions.js";
119
- import _sfc_main$103 from "./timeline/timeline.js";
120
- import _sfc_main$104 from "./timeline/timeline-item.js";
121
- import _sfc_main$105 from "./carousel/carousel.js";
122
- import _sfc_main$106 from "./carousel/carousel-item.js";
123
- import _sfc_main$107 from "./ai-button/ai-button.js";
95
+ import _sfc_main$79 from "./chip/chip.js";
96
+ import _sfc_main$80 from "./chip-group/chip-group.js";
97
+ import _sfc_main$81 from "./checkbox-group/checkbox-group.js";
98
+ import _sfc_main$82 from "./file-viewer/file-viewer.js";
99
+ import _sfc_main$83 from "./text/text.js";
100
+ import _sfc_main$84 from "./breadcrumb/breadcrumb.js";
101
+ import _sfc_main$85 from "./paginator/paginator.js";
102
+ import _sfc_main$86 from "./float-button/float-button.js";
103
+ import _sfc_main$87 from "./badge/badge.js";
104
+ import _sfc_main$88 from "./segment/segment.js";
105
+ import _sfc_main$89 from "./image-cropper/image-cropper.js";
106
+ import _sfc_main$90 from "./image-previewer/image-previewer.js";
107
+ import _sfc_main$91 from "./kanban/kanban.js";
108
+ import _sfc_main$92 from "./anchor/anchor.js";
109
+ import _sfc_main$93 from "./anchor/anchor-item.js";
110
+ import _sfc_main$94 from "./avatar/avatar.js";
111
+ import _sfc_main$95 from "./avatar/avatar-group.js";
112
+ import _sfc_main$96 from "./back-top/back-top.js";
113
+ import _sfc_main$97 from "./alert/alert.js";
114
+ import _sfc_main$98 from "./rate/rate.js";
115
+ import _sfc_main$99 from "./divider/divider.js";
116
+ import _sfc_main$100 from "./space/space.js";
117
+ import _sfc_main$101 from "./skeleton/skeleton.js";
118
+ import _sfc_main$102 from "./time-picker/time-picker.js";
119
+ import _sfc_main$103 from "./descriptions/descriptions-item.js";
120
+ import _sfc_main$104 from "./descriptions/descriptions.js";
121
+ import _sfc_main$105 from "./timeline/timeline.js";
122
+ import _sfc_main$106 from "./timeline/timeline-item.js";
123
+ import _sfc_main$107 from "./carousel/carousel.js";
124
+ import _sfc_main$108 from "./carousel/carousel-item.js";
125
+ import _sfc_main$109 from "./ai-button/ai-button.js";
124
126
  //#region src/components/index.ts
125
127
  var components_exports = /* @__PURE__ */ __exportAll({
126
128
  ContextmenuPanelDIKey: () => ContextmenuPanelDIKey,
127
129
  ContextmenuRootDIKey: () => ContextmenuRootDIKey,
128
130
  UAction: () => _sfc_main$57,
129
131
  UActionGroup: () => action_group_default,
130
- UAiButton: () => _sfc_main$107,
131
- UAlert: () => _sfc_main$95,
132
- UAnchor: () => _sfc_main$90,
133
- UAnchorItem: () => _sfc_main$91,
132
+ UAiButton: () => _sfc_main$109,
133
+ UAlert: () => _sfc_main$97,
134
+ UAnchor: () => _sfc_main$92,
135
+ UAnchorItem: () => _sfc_main$93,
134
136
  UAutoComplete: () => _sfc_main$31,
135
- UAvatar: () => _sfc_main$92,
136
- UAvatarGroup: () => _sfc_main$93,
137
- UBackTop: () => _sfc_main$94,
138
- UBadge: () => _sfc_main$85,
137
+ UAvatar: () => _sfc_main$94,
138
+ UAvatarGroup: () => _sfc_main$95,
139
+ UBackTop: () => _sfc_main$96,
140
+ UBadge: () => _sfc_main$87,
139
141
  UBatchEdit: () => _sfc_main$58,
140
- UBreadcrumb: () => _sfc_main$82,
142
+ UBreadcrumb: () => _sfc_main$84,
141
143
  UButton: () => _sfc_main$18,
142
144
  UButtonGroup: () => _sfc_main$19,
143
145
  UCalendar: () => _sfc_main$21,
@@ -146,13 +148,15 @@ var components_exports = /* @__PURE__ */ __exportAll({
146
148
  UCardContent: () => _sfc_main$26,
147
149
  UCardCover: () => _sfc_main$25,
148
150
  UCardHeader: () => _sfc_main$24,
149
- UCarousel: () => _sfc_main$105,
150
- UCarouselItem: () => _sfc_main$106,
151
+ UCarousel: () => _sfc_main$107,
152
+ UCarouselItem: () => _sfc_main$108,
151
153
  UCascade: () => _sfc_main$61,
152
154
  UCheckTag: () => _sfc_main$48,
153
155
  UCheckbox: () => _sfc_main$11,
154
156
  UCheckboxButton: () => _sfc_main$36,
155
- UCheckboxGroup: () => _sfc_main$79,
157
+ UCheckboxGroup: () => _sfc_main$81,
158
+ UChip: () => _sfc_main$79,
159
+ UChipGroup: () => _sfc_main$80,
156
160
  UCodeEditor: () => _sfc_main$14,
157
161
  UCollapse: () => _sfc_main$44,
158
162
  UCollapseItem: () => _sfc_main$45,
@@ -161,18 +165,18 @@ var components_exports = /* @__PURE__ */ __exportAll({
161
165
  UDatePanel: () => _sfc_main$28,
162
166
  UDatePicker: () => _sfc_main$63,
163
167
  UDateRangePicker: () => _sfc_main$29,
164
- UDescriptions: () => _sfc_main$102,
165
- UDescriptionsItem: () => _sfc_main$101,
168
+ UDescriptions: () => _sfc_main$104,
169
+ UDescriptionsItem: () => _sfc_main$103,
166
170
  UDialog: () => _sfc_main$52,
167
- UDivider: () => _sfc_main$97,
171
+ UDivider: () => _sfc_main$99,
168
172
  UDrawer: () => _sfc_main$15,
169
173
  UDropdown: () => _sfc_main$4,
170
174
  UDualNav: () => _sfc_main$74,
171
175
  UEmpty: () => _sfc_main$1,
172
176
  UExpressionEditor: () => _sfc_main$53,
173
177
  UFilePicker: () => _sfc_main$41,
174
- UFileViewer: () => _sfc_main$80,
175
- UFloatButton: () => _sfc_main$84,
178
+ UFileViewer: () => _sfc_main$82,
179
+ UFloatButton: () => _sfc_main$86,
176
180
  UForm: () => form_default,
177
181
  UFormItem: () => form_item_default,
178
182
  UGanttChart: () => _sfc_main$39,
@@ -182,10 +186,10 @@ var components_exports = /* @__PURE__ */ __exportAll({
182
186
  UGroupInput: () => _sfc_main$67,
183
187
  UGroupNav: () => _sfc_main$75,
184
188
  UIcon: () => _sfc_main,
185
- UImageCropper: () => _sfc_main$87,
186
- UImagePreviewer: () => _sfc_main$88,
189
+ UImageCropper: () => _sfc_main$89,
190
+ UImagePreviewer: () => _sfc_main$90,
187
191
  UInput: () => input_default,
188
- UKanban: () => _sfc_main$89,
192
+ UKanban: () => _sfc_main$91,
189
193
  UKbd: () => _sfc_main$55,
190
194
  ULayout: () => _sfc_main$34,
191
195
  UList: () => _sfc_main$68,
@@ -203,7 +207,7 @@ var components_exports = /* @__PURE__ */ __exportAll({
203
207
  UNumber: () => _sfc_main$51,
204
208
  UNumberInput: () => _sfc_main$42,
205
209
  UNumberRangeInput: () => _sfc_main$43,
206
- UPaginator: () => _sfc_main$83,
210
+ UPaginator: () => _sfc_main$85,
207
211
  UPalette: () => _sfc_main$64,
208
212
  UPasswordInput: () => _sfc_main$50,
209
213
  UPopConfirm: () => _sfc_main$56,
@@ -211,14 +215,14 @@ var components_exports = /* @__PURE__ */ __exportAll({
211
215
  UProgressNodes: () => _sfc_main$30,
212
216
  URadio: () => _sfc_main$22,
213
217
  URadioGroup: () => _sfc_main$78,
214
- URate: () => _sfc_main$96,
218
+ URate: () => _sfc_main$98,
215
219
  URichTextEditor: () => _sfc_main$70,
216
220
  UScroll: () => _sfc_main$2,
217
- USegment: () => _sfc_main$86,
221
+ USegment: () => _sfc_main$88,
218
222
  USelect: () => _sfc_main$6,
219
- USkeleton: () => _sfc_main$99,
223
+ USkeleton: () => _sfc_main$101,
220
224
  USlider: () => _sfc_main$38,
221
- USpace: () => _sfc_main$98,
225
+ USpace: () => _sfc_main$100,
222
226
  USteps: () => _sfc_main$62,
223
227
  USwitch: () => _sfc_main$77,
224
228
  UTable: () => _sfc_main$46,
@@ -227,12 +231,12 @@ var components_exports = /* @__PURE__ */ __exportAll({
227
231
  UTabsHorizontal: () => _sfc_main$8,
228
232
  UTabsVertical: () => _sfc_main$9,
229
233
  UTag: () => _sfc_main$35,
230
- UText: () => _sfc_main$81,
234
+ UText: () => _sfc_main$83,
231
235
  UTextarea: () => _sfc_main$60,
232
236
  UTheme: () => _sfc_main$65,
233
- UTimePicker: () => _sfc_main$100,
234
- UTimeline: () => _sfc_main$103,
235
- UTimelineItem: () => _sfc_main$104,
237
+ UTimePicker: () => _sfc_main$102,
238
+ UTimeline: () => _sfc_main$105,
239
+ UTimelineItem: () => _sfc_main$106,
236
240
  UTip: () => _sfc_main$3,
237
241
  UTransfer: () => _sfc_main$59,
238
242
  UTree: () => _sfc_main$12,
@@ -250,6 +254,6 @@ var components_exports = /* @__PURE__ */ __exportAll({
250
254
  vLoading: () => vLoading
251
255
  });
252
256
  //#endregion
253
- export { ContextmenuPanelDIKey, ContextmenuRootDIKey, _sfc_main$57 as UAction, action_group_default as UActionGroup, _sfc_main$107 as UAiButton, _sfc_main$95 as UAlert, _sfc_main$90 as UAnchor, _sfc_main$91 as UAnchorItem, _sfc_main$31 as UAutoComplete, _sfc_main$92 as UAvatar, _sfc_main$93 as UAvatarGroup, _sfc_main$94 as UBackTop, _sfc_main$85 as UBadge, _sfc_main$58 as UBatchEdit, _sfc_main$82 as UBreadcrumb, _sfc_main$18 as UButton, _sfc_main$19 as UButtonGroup, _sfc_main$21 as UCalendar, _sfc_main$23 as UCard, _sfc_main$27 as UCardAction, _sfc_main$26 as UCardContent, _sfc_main$25 as UCardCover, _sfc_main$24 as UCardHeader, _sfc_main$105 as UCarousel, _sfc_main$106 as UCarouselItem, _sfc_main$61 as UCascade, _sfc_main$48 as UCheckTag, _sfc_main$11 as UCheckbox, _sfc_main$36 as UCheckboxButton, _sfc_main$79 as UCheckboxGroup, _sfc_main$14 as UCodeEditor, _sfc_main$44 as UCollapse, _sfc_main$45 as UCollapseItem, _sfc_main$7 as UConditionEditor, _sfc_main$49 as UContextmenu, _sfc_main$28 as UDatePanel, _sfc_main$63 as UDatePicker, _sfc_main$29 as UDateRangePicker, _sfc_main$102 as UDescriptions, _sfc_main$101 as UDescriptionsItem, _sfc_main$52 as UDialog, _sfc_main$97 as UDivider, _sfc_main$15 as UDrawer, _sfc_main$4 as UDropdown, _sfc_main$74 as UDualNav, _sfc_main$1 as UEmpty, _sfc_main$53 as UExpressionEditor, _sfc_main$41 as UFilePicker, _sfc_main$80 as UFileViewer, _sfc_main$84 as UFloatButton, form_default as UForm, form_item_default as UFormItem, _sfc_main$39 as UGanttChart, _sfc_main$16 as UGrid, _sfc_main$76 as UGridInput, _sfc_main$17 as UGridItem, _sfc_main$67 as UGroupInput, _sfc_main$75 as UGroupNav, _sfc_main as UIcon, _sfc_main$87 as UImageCropper, _sfc_main$88 as UImagePreviewer, input_default as UInput, _sfc_main$89 as UKanban, _sfc_main$55 as UKbd, _sfc_main$34 as ULayout, _sfc_main$68 as UList, _sfc_main$69 as UListItem, _sfc_main$5 as ULoading, _sfc_main$40 as UMessage, _sfc_main$20 as UMessageConfirm, _sfc_main$37 as UMultiSelect, _sfc_main$66 as UMultiTreeSelect, _sfc_main$73 as UNav, _sfc_main$71 as UNavItem, _sfc_main$72 as UNavSub, NodeRender as UNodeRender, _sfc_main$33 as UNotification, _sfc_main$51 as UNumber, _sfc_main$42 as UNumberInput, _sfc_main$43 as UNumberRangeInput, _sfc_main$83 as UPaginator, _sfc_main$64 as UPalette, _sfc_main$50 as UPasswordInput, _sfc_main$56 as UPopConfirm, _sfc_main$32 as UProgress, _sfc_main$30 as UProgressNodes, _sfc_main$22 as URadio, _sfc_main$78 as URadioGroup, _sfc_main$96 as URate, _sfc_main$70 as URichTextEditor, _sfc_main$2 as UScroll, _sfc_main$86 as USegment, _sfc_main$6 as USelect, _sfc_main$99 as USkeleton, _sfc_main$38 as USlider, _sfc_main$98 as USpace, _sfc_main$62 as USteps, _sfc_main$77 as USwitch, _sfc_main$46 as UTable, _sfc_main$47 as UTableEditor, _sfc_main$10 as UTabs, _sfc_main$8 as UTabsHorizontal, _sfc_main$9 as UTabsVertical, _sfc_main$35 as UTag, _sfc_main$81 as UText, _sfc_main$60 as UTextarea, _sfc_main$65 as UTheme, _sfc_main$100 as UTimePicker, _sfc_main$103 as UTimeline, _sfc_main$104 as UTimelineItem, _sfc_main$3 as UTip, _sfc_main$59 as UTransfer, _sfc_main$12 as UTree, _sfc_main$13 as UTreeSelect, _sfc_main$54 as UWatermark, components_exports, contextmenu, createEmptyGroup, createEmptyLeaf, defineBatchEditColumns, defineTableColumns, evaluate as evaluateConditionExpression, message, messageConfirm, notification, vLoading };
257
+ export { ContextmenuPanelDIKey, ContextmenuRootDIKey, _sfc_main$57 as UAction, action_group_default as UActionGroup, _sfc_main$109 as UAiButton, _sfc_main$97 as UAlert, _sfc_main$92 as UAnchor, _sfc_main$93 as UAnchorItem, _sfc_main$31 as UAutoComplete, _sfc_main$94 as UAvatar, _sfc_main$95 as UAvatarGroup, _sfc_main$96 as UBackTop, _sfc_main$87 as UBadge, _sfc_main$58 as UBatchEdit, _sfc_main$84 as UBreadcrumb, _sfc_main$18 as UButton, _sfc_main$19 as UButtonGroup, _sfc_main$21 as UCalendar, _sfc_main$23 as UCard, _sfc_main$27 as UCardAction, _sfc_main$26 as UCardContent, _sfc_main$25 as UCardCover, _sfc_main$24 as UCardHeader, _sfc_main$107 as UCarousel, _sfc_main$108 as UCarouselItem, _sfc_main$61 as UCascade, _sfc_main$48 as UCheckTag, _sfc_main$11 as UCheckbox, _sfc_main$36 as UCheckboxButton, _sfc_main$81 as UCheckboxGroup, _sfc_main$79 as UChip, _sfc_main$80 as UChipGroup, _sfc_main$14 as UCodeEditor, _sfc_main$44 as UCollapse, _sfc_main$45 as UCollapseItem, _sfc_main$7 as UConditionEditor, _sfc_main$49 as UContextmenu, _sfc_main$28 as UDatePanel, _sfc_main$63 as UDatePicker, _sfc_main$29 as UDateRangePicker, _sfc_main$104 as UDescriptions, _sfc_main$103 as UDescriptionsItem, _sfc_main$52 as UDialog, _sfc_main$99 as UDivider, _sfc_main$15 as UDrawer, _sfc_main$4 as UDropdown, _sfc_main$74 as UDualNav, _sfc_main$1 as UEmpty, _sfc_main$53 as UExpressionEditor, _sfc_main$41 as UFilePicker, _sfc_main$82 as UFileViewer, _sfc_main$86 as UFloatButton, form_default as UForm, form_item_default as UFormItem, _sfc_main$39 as UGanttChart, _sfc_main$16 as UGrid, _sfc_main$76 as UGridInput, _sfc_main$17 as UGridItem, _sfc_main$67 as UGroupInput, _sfc_main$75 as UGroupNav, _sfc_main as UIcon, _sfc_main$89 as UImageCropper, _sfc_main$90 as UImagePreviewer, input_default as UInput, _sfc_main$91 as UKanban, _sfc_main$55 as UKbd, _sfc_main$34 as ULayout, _sfc_main$68 as UList, _sfc_main$69 as UListItem, _sfc_main$5 as ULoading, _sfc_main$40 as UMessage, _sfc_main$20 as UMessageConfirm, _sfc_main$37 as UMultiSelect, _sfc_main$66 as UMultiTreeSelect, _sfc_main$73 as UNav, _sfc_main$71 as UNavItem, _sfc_main$72 as UNavSub, NodeRender as UNodeRender, _sfc_main$33 as UNotification, _sfc_main$51 as UNumber, _sfc_main$42 as UNumberInput, _sfc_main$43 as UNumberRangeInput, _sfc_main$85 as UPaginator, _sfc_main$64 as UPalette, _sfc_main$50 as UPasswordInput, _sfc_main$56 as UPopConfirm, _sfc_main$32 as UProgress, _sfc_main$30 as UProgressNodes, _sfc_main$22 as URadio, _sfc_main$78 as URadioGroup, _sfc_main$98 as URate, _sfc_main$70 as URichTextEditor, _sfc_main$2 as UScroll, _sfc_main$88 as USegment, _sfc_main$6 as USelect, _sfc_main$101 as USkeleton, _sfc_main$38 as USlider, _sfc_main$100 as USpace, _sfc_main$62 as USteps, _sfc_main$77 as USwitch, _sfc_main$46 as UTable, _sfc_main$47 as UTableEditor, _sfc_main$10 as UTabs, _sfc_main$8 as UTabsHorizontal, _sfc_main$9 as UTabsVertical, _sfc_main$35 as UTag, _sfc_main$83 as UText, _sfc_main$60 as UTextarea, _sfc_main$65 as UTheme, _sfc_main$102 as UTimePicker, _sfc_main$105 as UTimeline, _sfc_main$106 as UTimelineItem, _sfc_main$3 as UTip, _sfc_main$59 as UTransfer, _sfc_main$12 as UTree, _sfc_main$13 as UTreeSelect, _sfc_main$54 as UWatermark, components_exports, contextmenu, createEmptyGroup, createEmptyLeaf, defineBatchEditColumns, defineTableColumns, evaluate as evaluateConditionExpression, message, messageConfirm, notification, vLoading };
254
258
 
255
259
  //# sourceMappingURL=index.js.map
@@ -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 './contextmenu'\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 './transfer'\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 './nav'\n\nexport * from './dual-nav'\n\nexport * from './group-nav'\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\nexport * from './segment'\n\nexport * from './image-cropper'\n\nexport * from './image-previewer'\n\nexport * from './kanban'\n\nexport * from './anchor'\n\nexport * from './avatar'\n\nexport * from './back-top'\n\nexport * from './alert'\n\nexport * from './rate'\n\nexport * from './divider'\n\nexport * from './space'\n\nexport * from './skeleton'\n\nexport * from './time-picker'\n\nexport * from './descriptions'\n\nexport * from './timeline'\n\nexport * from './carousel'\n\nexport * from './ai-button'\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 './contextmenu'\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 './transfer'\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 './nav'\n\nexport * from './dual-nav'\n\nexport * from './group-nav'\n\nexport * from './grid-input'\n\nexport * from './switch'\n\nexport * from './form-item'\n\nexport * from './radio-group'\n\nexport * from './chip'\n\nexport * from './chip-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\nexport * from './segment'\n\nexport * from './image-cropper'\n\nexport * from './image-previewer'\n\nexport * from './kanban'\n\nexport * from './anchor'\n\nexport * from './avatar'\n\nexport * from './back-top'\n\nexport * from './alert'\n\nexport * from './rate'\n\nexport * from './divider'\n\nexport * from './space'\n\nexport * from './skeleton'\n\nexport * from './time-picker'\n\nexport * from './descriptions'\n\nexport * from './timeline'\n\nexport * from './carousel'\n\nexport * from './ai-button'\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"input.js","names":["_sfc_main"],"sources":["../../../src/components/input/input.vue"],"sourcesContent":["<template>\n <div\n v-if=\"!readonly\"\n v-bind=\"$attrs\"\n :class=\"inputClass\"\n @mouseenter=\"handleMouseEnter\"\n @mouseleave=\"handleMouseLeave\"\n >\n <span v-if=\"$slots.prefix || prefix\" :class=\"prefixClass\" @click=\"handlePrefixClick\">\n {{ prefix }}\n <slot name=\"prefix\"></slot>\n </span>\n\n <input\n :class=\"cls.e('native')\"\n :placeholder=\"props.placeholder\"\n type=\"text\"\n :value=\"model\"\n @input=\"handleInput\"\n @change=\"handleChange\"\n @focus=\"handleFocus\"\n @blur=\"handleBlur\"\n @compositionstart=\"handleCompositionStart\"\n @compositionend=\"handleCompositionEnd\"\n autocomplete=\"off\"\n ref=\"el\"\n :disabled=\"disabled\"\n :readonly=\"nativeReadonly\"\n />\n\n <span :class=\"suffixClass\" v-if=\"hasSuffix\">\n <Transition name=\"zoom-in\" mode=\"out-in\">\n <UIcon\n v-if=\"showClear\"\n :class=\"cls.e('clear')\"\n title=\"清除\"\n @click.stop=\"clearModelValue\"\n key=\"clear\"\n >\n <Close />\n </UIcon>\n\n <span v-else :class=\"cls.e('suffix-content')\" @click=\"handleSuffixClick\" key=\"suffix\">\n {{ suffix }}\n <slot name=\"suffix\"></slot>\n </span>\n </Transition>\n </span>\n </div>\n\n <template v-else>\n {{ generateModel || FORM_EMPTY_CONTENT }}\n </template>\n</template>\n\n<script lang=\"tsx\" setup>\nimport { useFocus, useFormFallbackProps } from '@veltra/compositions'\nimport { Close } from '@veltra/icons/normal'\nimport { bem, FORM_EMPTY_CONTENT } from '@veltra/utils'\nimport { injectFormContext } from '@veltra/utils'\nimport { computed, getCurrentInstance, ref, shallowRef, nextTick } from 'vue'\n\nimport type { InputEmits, InputProps, _InputExposed } from '../../types'\nimport { UIcon } from '../icon'\n\ndefineOptions({ name: 'UInput', inheritAttrs: false })\n\nconst props = withDefaults(defineProps<InputProps>(), {\n placeholder: '请输入',\n clearable: true,\n disabled: undefined,\n readonly: undefined\n})\n\nconst emit = defineEmits<InputEmits>()\n\nconst model = defineModel<string>()\n\nconst inst = getCurrentInstance()\n\nconst cls = bem('input')\n\nconst { formProps } = injectFormContext()\n\nconst { size, disabled, readonly } = useFormFallbackProps([formProps ?? {}, props])\n\nconst { focus, handleBlur, handleFocus } = useFocus((focused) => {\n if (focused) {\n emit('focus')\n } else {\n emit('blur')\n }\n})\n\nconst inputClass = computed(() => {\n return [\n cls.b,\n cls.m(size.value),\n bem.is('disabled', disabled.value),\n bem.is('readonly', readonly.value),\n bem.is('focus', focus.value)\n ]\n})\n\nconst prefixClass = [cls.e('prefix'), bem.is('clickable', !!inst?.vnode.props?.['onPrefix:click'])]\n\nconst suffixClass = [cls.e('suffix'), bem.is('clickable', !!inst?.vnode.props?.['onSuffix:click'])]\n\nlet isComposing = false\n\nfunction handleCompositionStart() {\n isComposing = true\n}\n\nfunction handleCompositionEnd(e: Event) {\n isComposing = false\n handleInput(e)\n}\n\nconst handleInput = (e: Event) => {\n if (isComposing) return\n\n const inputVal = (e.target as HTMLInputElement).value\n emit('native:input', e)\n\n const valid = props.pattern?.test(inputVal) ?? true\n\n if (!valid) return\n model.value = inputVal\n}\n\nconst handlePrefixClick = () => {\n emit('prefix:click', model.value)\n}\n\nconst handleSuffixClick = () => {\n emit('suffix:click', model.value)\n}\n\nconst clearModelValue = () => {\n model.value = ''\n emit('clear')\n}\n\nconst hovered = ref(false)\nconst handleMouseEnter = () => {\n hovered.value = true\n}\n\nconst handleMouseLeave = () => {\n hovered.value = false\n}\n\nconst showClear = computed(() => {\n return props.clearable && !disabled.value && !!model.value && hovered.value\n})\n\nconst hasSuffixContent = computed(() => {\n return !!inst?.slots.suffix || !!props.suffix\n})\n\nconst hasSuffix = computed(() => {\n return hasSuffixContent.value || showClear.value\n})\n\nconst handleChange = (e: Event) => {\n const target = e.target as HTMLInputElement\n\n const valid = props.pattern?.test(target.value) ?? true\n\n if (valid) {\n emit('change', target.value)\n } else {\n nextTick(() => {\n target.value = model.value ?? ''\n })\n }\n}\n\nconst el = shallowRef<HTMLInputElement>()\n\nconst generateModel = computed(() => {\n if (!model.value) return ''\n\n return `${props.prefix ?? ''}${model.value}${props.suffix ?? ''}`\n})\n\ndefineExpose<_InputExposed>({ el })\n</script>\n"],"mappings":""}
1
+ {"version":3,"file":"input.js","names":["_sfc_main"],"sources":["../../../src/components/input/input.vue"],"sourcesContent":["<template>\n <div\n v-if=\"!readonly\"\n v-bind=\"$attrs\"\n :class=\"inputClass\"\n @mouseenter=\"handleMouseEnter\"\n @mouseleave=\"handleMouseLeave\"\n >\n <span v-if=\"$slots.prefix || prefix\" :class=\"prefixClass\" @click=\"handlePrefixClick\">\n {{ prefix }}\n <slot name=\"prefix\"></slot>\n </span>\n\n <input\n :class=\"cls.e('native')\"\n :placeholder=\"props.placeholder\"\n type=\"text\"\n :value=\"model\"\n @input=\"handleInput\"\n @change=\"handleChange\"\n @focus=\"handleFocus\"\n @blur=\"handleBlur\"\n @compositionstart=\"handleCompositionStart\"\n @compositionend=\"handleCompositionEnd\"\n autocomplete=\"off\"\n ref=\"el\"\n :disabled=\"disabled\"\n :readonly=\"nativeReadonly\"\n />\n\n <span :class=\"suffixClass\" v-if=\"hasSuffix\">\n <UIcon\n v-if=\"showClear\"\n :class=\"cls.e('clear')\"\n title=\"清除\"\n @click.stop=\"clearModelValue\"\n key=\"clear\"\n >\n <Close />\n </UIcon>\n\n <span v-else :class=\"cls.e('suffix-content')\" @click=\"handleSuffixClick\" key=\"suffix\">\n {{ suffix }}\n <slot name=\"suffix\"></slot>\n </span>\n </span>\n </div>\n\n <template v-else>\n {{ generateModel || FORM_EMPTY_CONTENT }}\n </template>\n</template>\n\n<script lang=\"tsx\" setup>\nimport { useFocus, useFormFallbackProps } from '@veltra/compositions'\nimport { Close } from '@veltra/icons/normal'\nimport { bem, FORM_EMPTY_CONTENT } from '@veltra/utils'\nimport { injectFormContext } from '@veltra/utils'\nimport { computed, getCurrentInstance, ref, shallowRef, nextTick } from 'vue'\n\nimport type { InputEmits, InputProps, _InputExposed } from '../../types'\nimport { UIcon } from '../icon'\n\ndefineOptions({ name: 'UInput', inheritAttrs: false })\n\nconst props = withDefaults(defineProps<InputProps>(), {\n placeholder: '请输入',\n clearable: true,\n disabled: undefined,\n readonly: undefined\n})\n\nconst emit = defineEmits<InputEmits>()\n\nconst model = defineModel<string>()\n\nconst inst = getCurrentInstance()\n\nconst cls = bem('input')\n\nconst { formProps } = injectFormContext()\n\nconst { size, disabled, readonly } = useFormFallbackProps([formProps ?? {}, props])\n\nconst { focus, handleBlur, handleFocus } = useFocus((focused) => {\n if (focused) {\n emit('focus')\n } else {\n emit('blur')\n }\n})\n\nconst inputClass = computed(() => {\n return [\n cls.b,\n cls.m(size.value),\n bem.is('disabled', disabled.value),\n bem.is('readonly', readonly.value),\n bem.is('focus', focus.value)\n ]\n})\n\nconst prefixClass = [cls.e('prefix'), bem.is('clickable', !!inst?.vnode.props?.['onPrefix:click'])]\n\nconst suffixClass = [cls.e('suffix'), bem.is('clickable', !!inst?.vnode.props?.['onSuffix:click'])]\n\nlet isComposing = false\n\nfunction handleCompositionStart() {\n isComposing = true\n}\n\nfunction handleCompositionEnd(e: Event) {\n isComposing = false\n handleInput(e)\n}\n\nconst handleInput = (e: Event) => {\n if (isComposing) return\n\n const inputVal = (e.target as HTMLInputElement).value\n emit('native:input', e)\n\n const valid = props.pattern?.test(inputVal) ?? true\n\n if (!valid) return\n model.value = inputVal\n}\n\nconst handlePrefixClick = () => {\n emit('prefix:click', model.value)\n}\n\nconst handleSuffixClick = () => {\n emit('suffix:click', model.value)\n}\n\nconst clearModelValue = () => {\n model.value = ''\n emit('clear')\n}\n\nconst hovered = ref(false)\nconst handleMouseEnter = () => {\n hovered.value = true\n}\n\nconst handleMouseLeave = () => {\n hovered.value = false\n}\n\nconst showClear = computed(() => {\n return props.clearable && !disabled.value && !!model.value && hovered.value\n})\n\nconst hasSuffixContent = computed(() => {\n return !!inst?.slots.suffix || !!props.suffix\n})\n\nconst hasSuffix = computed(() => {\n return hasSuffixContent.value || showClear.value\n})\n\nconst handleChange = (e: Event) => {\n const target = e.target as HTMLInputElement\n\n const valid = props.pattern?.test(target.value) ?? true\n\n if (valid) {\n emit('change', target.value)\n } else {\n nextTick(() => {\n target.value = model.value ?? ''\n })\n }\n}\n\nconst el = shallowRef<HTMLInputElement>()\n\nconst generateModel = computed(() => {\n if (!model.value) return ''\n\n return `${props.prefix ?? ''}${model.value}${props.suffix ?? ''}`\n})\n\ndefineExpose<_InputExposed>({ el })\n</script>\n"],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  import _sfc_main from "../icon/icon.js";
2
- import { Fragment, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeModels, mergeProps, nextTick, normalizeClass, openBlock, ref, renderSlot, shallowRef, toDisplayString, unref, useModel, withCtx, withModifiers } from "vue";
2
+ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeModels, mergeProps, nextTick, normalizeClass, openBlock, ref, renderSlot, shallowRef, toDisplayString, unref, useModel, withCtx, withModifiers } from "vue";
3
3
  import { useFocus, useFormFallbackProps } from "@veltra/compositions";
4
4
  import { FORM_EMPTY_CONTENT, bem, injectFormContext } from "@veltra/utils";
5
5
  import { Close } from "@veltra/icons/normal";
@@ -161,25 +161,19 @@ var input_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
161
161
  hasSuffix.value ? (openBlock(), createElementBlock("span", {
162
162
  key: 1,
163
163
  class: normalizeClass(suffixClass)
164
- }, [createVNode(Transition, {
165
- name: "zoom-in",
166
- mode: "out-in"
164
+ }, [showClear.value ? (openBlock(), createBlock(unref(_sfc_main), {
165
+ class: normalizeClass(unref(cls).e("clear")),
166
+ title: "清除",
167
+ onClick: withModifiers(clearModelValue, ["stop"]),
168
+ key: "clear"
167
169
  }, {
168
- default: withCtx(() => [showClear.value ? (openBlock(), createBlock(unref(_sfc_main), {
169
- class: normalizeClass(unref(cls).e("clear")),
170
- title: "清除",
171
- onClick: withModifiers(clearModelValue, ["stop"]),
172
- key: "clear"
173
- }, {
174
- default: withCtx(() => [createVNode(unref(Close))]),
175
- _: 1
176
- }, 8, ["class"])) : (openBlock(), createElementBlock("span", {
177
- class: normalizeClass(unref(cls).e("suffix-content")),
178
- onClick: handleSuffixClick,
179
- key: "suffix"
180
- }, [createTextVNode(toDisplayString(__props.suffix) + " ", 1), renderSlot(_ctx.$slots, "suffix")], 2))]),
181
- _: 3
182
- })])) : createCommentVNode("v-if", true)
170
+ default: withCtx(() => [createVNode(unref(Close))]),
171
+ _: 1
172
+ }, 8, ["class"])) : (openBlock(), createElementBlock("span", {
173
+ class: normalizeClass(unref(cls).e("suffix-content")),
174
+ onClick: handleSuffixClick,
175
+ key: "suffix"
176
+ }, [createTextVNode(toDisplayString(__props.suffix) + " ", 1), renderSlot(_ctx.$slots, "suffix")], 2))])) : createCommentVNode("v-if", true)
183
177
  ], 16)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(generateModel.value || unref(FORM_EMPTY_CONTENT)), 1)], 64));
184
178
  };
185
179
  }
@@ -1 +1 @@
1
- {"version":3,"file":"input.vue_vue_type_script_setup_true_lang.js","names":["$attrs","$slots","_useModel","_unref","_openBlock","_createElementBlock","_mergeProps","_normalizeClass","_createTextVNode","_toDisplayString","_renderSlot","_createCommentVNode","_createElementVNode","_createVNode","_Transition","_withCtx","_createBlock","UIcon","_withModifiers","_Fragment"],"sources":["../../../src/components/input/input.vue"],"sourcesContent":["<template>\n <div\n v-if=\"!readonly\"\n v-bind=\"$attrs\"\n :class=\"inputClass\"\n @mouseenter=\"handleMouseEnter\"\n @mouseleave=\"handleMouseLeave\"\n >\n <span v-if=\"$slots.prefix || prefix\" :class=\"prefixClass\" @click=\"handlePrefixClick\">\n {{ prefix }}\n <slot name=\"prefix\"></slot>\n </span>\n\n <input\n :class=\"cls.e('native')\"\n :placeholder=\"props.placeholder\"\n type=\"text\"\n :value=\"model\"\n @input=\"handleInput\"\n @change=\"handleChange\"\n @focus=\"handleFocus\"\n @blur=\"handleBlur\"\n @compositionstart=\"handleCompositionStart\"\n @compositionend=\"handleCompositionEnd\"\n autocomplete=\"off\"\n ref=\"el\"\n :disabled=\"disabled\"\n :readonly=\"nativeReadonly\"\n />\n\n <span :class=\"suffixClass\" v-if=\"hasSuffix\">\n <Transition name=\"zoom-in\" mode=\"out-in\">\n <UIcon\n v-if=\"showClear\"\n :class=\"cls.e('clear')\"\n title=\"清除\"\n @click.stop=\"clearModelValue\"\n key=\"clear\"\n >\n <Close />\n </UIcon>\n\n <span v-else :class=\"cls.e('suffix-content')\" @click=\"handleSuffixClick\" key=\"suffix\">\n {{ suffix }}\n <slot name=\"suffix\"></slot>\n </span>\n </Transition>\n </span>\n </div>\n\n <template v-else>\n {{ generateModel || FORM_EMPTY_CONTENT }}\n </template>\n</template>\n\n<script lang=\"tsx\" setup>\nimport { useFocus, useFormFallbackProps } from '@veltra/compositions'\nimport { Close } from '@veltra/icons/normal'\nimport { bem, FORM_EMPTY_CONTENT } from '@veltra/utils'\nimport { injectFormContext } from '@veltra/utils'\nimport { computed, getCurrentInstance, ref, shallowRef, nextTick } from 'vue'\n\nimport type { InputEmits, InputProps, _InputExposed } from '../../types'\nimport { UIcon } from '../icon'\n\ndefineOptions({ name: 'UInput', inheritAttrs: false })\n\nconst props = withDefaults(defineProps<InputProps>(), {\n placeholder: '请输入',\n clearable: true,\n disabled: undefined,\n readonly: undefined\n})\n\nconst emit = defineEmits<InputEmits>()\n\nconst model = defineModel<string>()\n\nconst inst = getCurrentInstance()\n\nconst cls = bem('input')\n\nconst { formProps } = injectFormContext()\n\nconst { size, disabled, readonly } = useFormFallbackProps([formProps ?? {}, props])\n\nconst { focus, handleBlur, handleFocus } = useFocus((focused) => {\n if (focused) {\n emit('focus')\n } else {\n emit('blur')\n }\n})\n\nconst inputClass = computed(() => {\n return [\n cls.b,\n cls.m(size.value),\n bem.is('disabled', disabled.value),\n bem.is('readonly', readonly.value),\n bem.is('focus', focus.value)\n ]\n})\n\nconst prefixClass = [cls.e('prefix'), bem.is('clickable', !!inst?.vnode.props?.['onPrefix:click'])]\n\nconst suffixClass = [cls.e('suffix'), bem.is('clickable', !!inst?.vnode.props?.['onSuffix:click'])]\n\nlet isComposing = false\n\nfunction handleCompositionStart() {\n isComposing = true\n}\n\nfunction handleCompositionEnd(e: Event) {\n isComposing = false\n handleInput(e)\n}\n\nconst handleInput = (e: Event) => {\n if (isComposing) return\n\n const inputVal = (e.target as HTMLInputElement).value\n emit('native:input', e)\n\n const valid = props.pattern?.test(inputVal) ?? true\n\n if (!valid) return\n model.value = inputVal\n}\n\nconst handlePrefixClick = () => {\n emit('prefix:click', model.value)\n}\n\nconst handleSuffixClick = () => {\n emit('suffix:click', model.value)\n}\n\nconst clearModelValue = () => {\n model.value = ''\n emit('clear')\n}\n\nconst hovered = ref(false)\nconst handleMouseEnter = () => {\n hovered.value = true\n}\n\nconst handleMouseLeave = () => {\n hovered.value = false\n}\n\nconst showClear = computed(() => {\n return props.clearable && !disabled.value && !!model.value && hovered.value\n})\n\nconst hasSuffixContent = computed(() => {\n return !!inst?.slots.suffix || !!props.suffix\n})\n\nconst hasSuffix = computed(() => {\n return hasSuffixContent.value || showClear.value\n})\n\nconst handleChange = (e: Event) => {\n const target = e.target as HTMLInputElement\n\n const valid = props.pattern?.test(target.value) ?? true\n\n if (valid) {\n emit('change', target.value)\n } else {\n nextTick(() => {\n target.value = model.value ?? ''\n })\n }\n}\n\nconst el = shallowRef<HTMLInputElement>()\n\nconst generateModel = computed(() => {\n if (!model.value) return ''\n\n return `${props.prefix ?? ''}${model.value}${props.suffix ?? ''}`\n})\n\ndefineExpose<_InputExposed>({ el })\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmEA,MAAM,QAAQ;EAOd,MAAM,OAAO;EAEb,MAAM,QAAQE,SAAmB,SAAA,YAAC;EAElC,MAAM,OAAO,mBAAmB;EAEhC,MAAM,MAAM,IAAI,OAAO;EAEvB,MAAM,EAAE,cAAc,kBAAkB;EAExC,MAAM,EAAE,MAAM,UAAU,aAAa,qBAAqB,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC;EAElF,MAAM,EAAE,OAAO,YAAY,gBAAgB,UAAU,YAAY;GAC/D,IAAI,SACF,KAAK,OAAO;QAEZ,KAAK,MAAM;EAEf,CAAC;EAED,MAAM,aAAa,eAAe;GAChC,OAAO;IACL,IAAI;IACJ,IAAI,EAAE,KAAK,KAAK;IAChB,IAAI,GAAG,YAAY,SAAS,KAAK;IACjC,IAAI,GAAG,YAAY,SAAS,KAAK;IACjC,IAAI,GAAG,SAAS,MAAM,KAAK;GAAA;EAE/B,CAAC;EAED,MAAM,cAAc,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI,GAAG,aAAa,CAAC,CAAC,MAAM,MAAM,QAAQ,iBAAiB,CAAC;EAElG,MAAM,cAAc,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI,GAAG,aAAa,CAAC,CAAC,MAAM,MAAM,QAAQ,iBAAiB,CAAC;EAElG,IAAI,cAAc;EAElB,SAAS,yBAAyB;GAChC,cAAc;EAChB;EAEA,SAAS,qBAAqB,GAAU;GACtC,cAAc;GACd,YAAY,CAAC;EACf;EAEA,MAAM,eAAe,MAAa;GAChC,IAAI,aAAa;GAEjB,MAAM,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K,gBAAAC,gBAAA,QAAA,MAAM,IAAG,KACZ,CAAA,GAAAC,WAA2B,KAAA,QAAA,QAAA,CAAA,G;;;G,WAMnCN,UAAA,GAAAC,mBAEWc,UAAA,EAAA,KAAA,EAAA,GAAA,CADNX,gBAAAC,gBAAA,cAAA,SAAiBN,MAAA,kBAAA,CAAkB,GAAA,CAAA,CAAA,G"}
1
+ {"version":3,"file":"input.vue_vue_type_script_setup_true_lang.js","names":["$attrs","$slots","_useModel","_unref","_openBlock","_createElementBlock","_mergeProps","_normalizeClass","_createTextVNode","_toDisplayString","_renderSlot","_createCommentVNode","_createElementVNode","_createBlock","UIcon","_withModifiers","_withCtx","_createVNode","_Fragment"],"sources":["../../../src/components/input/input.vue"],"sourcesContent":["<template>\n <div\n v-if=\"!readonly\"\n v-bind=\"$attrs\"\n :class=\"inputClass\"\n @mouseenter=\"handleMouseEnter\"\n @mouseleave=\"handleMouseLeave\"\n >\n <span v-if=\"$slots.prefix || prefix\" :class=\"prefixClass\" @click=\"handlePrefixClick\">\n {{ prefix }}\n <slot name=\"prefix\"></slot>\n </span>\n\n <input\n :class=\"cls.e('native')\"\n :placeholder=\"props.placeholder\"\n type=\"text\"\n :value=\"model\"\n @input=\"handleInput\"\n @change=\"handleChange\"\n @focus=\"handleFocus\"\n @blur=\"handleBlur\"\n @compositionstart=\"handleCompositionStart\"\n @compositionend=\"handleCompositionEnd\"\n autocomplete=\"off\"\n ref=\"el\"\n :disabled=\"disabled\"\n :readonly=\"nativeReadonly\"\n />\n\n <span :class=\"suffixClass\" v-if=\"hasSuffix\">\n <UIcon\n v-if=\"showClear\"\n :class=\"cls.e('clear')\"\n title=\"清除\"\n @click.stop=\"clearModelValue\"\n key=\"clear\"\n >\n <Close />\n </UIcon>\n\n <span v-else :class=\"cls.e('suffix-content')\" @click=\"handleSuffixClick\" key=\"suffix\">\n {{ suffix }}\n <slot name=\"suffix\"></slot>\n </span>\n </span>\n </div>\n\n <template v-else>\n {{ generateModel || FORM_EMPTY_CONTENT }}\n </template>\n</template>\n\n<script lang=\"tsx\" setup>\nimport { useFocus, useFormFallbackProps } from '@veltra/compositions'\nimport { Close } from '@veltra/icons/normal'\nimport { bem, FORM_EMPTY_CONTENT } from '@veltra/utils'\nimport { injectFormContext } from '@veltra/utils'\nimport { computed, getCurrentInstance, ref, shallowRef, nextTick } from 'vue'\n\nimport type { InputEmits, InputProps, _InputExposed } from '../../types'\nimport { UIcon } from '../icon'\n\ndefineOptions({ name: 'UInput', inheritAttrs: false })\n\nconst props = withDefaults(defineProps<InputProps>(), {\n placeholder: '请输入',\n clearable: true,\n disabled: undefined,\n readonly: undefined\n})\n\nconst emit = defineEmits<InputEmits>()\n\nconst model = defineModel<string>()\n\nconst inst = getCurrentInstance()\n\nconst cls = bem('input')\n\nconst { formProps } = injectFormContext()\n\nconst { size, disabled, readonly } = useFormFallbackProps([formProps ?? {}, props])\n\nconst { focus, handleBlur, handleFocus } = useFocus((focused) => {\n if (focused) {\n emit('focus')\n } else {\n emit('blur')\n }\n})\n\nconst inputClass = computed(() => {\n return [\n cls.b,\n cls.m(size.value),\n bem.is('disabled', disabled.value),\n bem.is('readonly', readonly.value),\n bem.is('focus', focus.value)\n ]\n})\n\nconst prefixClass = [cls.e('prefix'), bem.is('clickable', !!inst?.vnode.props?.['onPrefix:click'])]\n\nconst suffixClass = [cls.e('suffix'), bem.is('clickable', !!inst?.vnode.props?.['onSuffix:click'])]\n\nlet isComposing = false\n\nfunction handleCompositionStart() {\n isComposing = true\n}\n\nfunction handleCompositionEnd(e: Event) {\n isComposing = false\n handleInput(e)\n}\n\nconst handleInput = (e: Event) => {\n if (isComposing) return\n\n const inputVal = (e.target as HTMLInputElement).value\n emit('native:input', e)\n\n const valid = props.pattern?.test(inputVal) ?? true\n\n if (!valid) return\n model.value = inputVal\n}\n\nconst handlePrefixClick = () => {\n emit('prefix:click', model.value)\n}\n\nconst handleSuffixClick = () => {\n emit('suffix:click', model.value)\n}\n\nconst clearModelValue = () => {\n model.value = ''\n emit('clear')\n}\n\nconst hovered = ref(false)\nconst handleMouseEnter = () => {\n hovered.value = true\n}\n\nconst handleMouseLeave = () => {\n hovered.value = false\n}\n\nconst showClear = computed(() => {\n return props.clearable && !disabled.value && !!model.value && hovered.value\n})\n\nconst hasSuffixContent = computed(() => {\n return !!inst?.slots.suffix || !!props.suffix\n})\n\nconst hasSuffix = computed(() => {\n return hasSuffixContent.value || showClear.value\n})\n\nconst handleChange = (e: Event) => {\n const target = e.target as HTMLInputElement\n\n const valid = props.pattern?.test(target.value) ?? true\n\n if (valid) {\n emit('change', target.value)\n } else {\n nextTick(() => {\n target.value = model.value ?? ''\n })\n }\n}\n\nconst el = shallowRef<HTMLInputElement>()\n\nconst generateModel = computed(() => {\n if (!model.value) return ''\n\n return `${props.prefix ?? ''}${model.value}${props.suffix ?? ''}`\n})\n\ndefineExpose<_InputExposed>({ el })\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiEA,MAAM,QAAQ;EAOd,MAAM,OAAO;EAEb,MAAM,QAAQE,SAAmB,SAAA,YAAC;EAElC,MAAM,OAAO,mBAAmB;EAEhC,MAAM,MAAM,IAAI,OAAO;EAEvB,MAAM,EAAE,cAAc,kBAAkB;EAExC,MAAM,EAAE,MAAM,UAAU,aAAa,qBAAqB,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC;EAElF,MAAM,EAAE,OAAO,YAAY,gBAAgB,UAAU,YAAY;GAC/D,IAAI,SACF,KAAK,OAAO;QAEZ,KAAK,MAAM;EAEf,CAAC;EAED,MAAM,aAAa,eAAe;GAChC,OAAO;IACL,IAAI;IACJ,IAAI,EAAE,KAAK,KAAK;IAChB,IAAI,GAAG,YAAY,SAAS,KAAK;IACjC,IAAI,GAAG,YAAY,SAAS,KAAK;IACjC,IAAI,GAAG,SAAS,MAAM,KAAK;GAAA;EAE/B,CAAC;EAED,MAAM,cAAc,CAAC,IAAI,EAAE,Q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G,CAAC,EAAC,OAAA,CAAA;KACb,OAAM;KACL,SAAKY,cAAO,iBAAe,CAAA,MAAA,CAAA;KAC5B,KAAI;;KAEJ,SAAAC,cAAS,CAATC,YAASd,MAAA,KAAA,CAAA,CAAA,C;;I,qBAGXC,UAAA,GAAAC,mBAGO,QAAA;KAHO,OAAKE,eAAEJ,MAAA,GAAA,CAAG,CAAC,EAAC,gBAAA,CAAA;KAAqB,SAAO;KAAmB,KAAI;I,IACxEK,gBAAAC,gBAAA,QAAA,MAAM,IAAG,KACZ,CAAA,GAAAC,WAA2B,KAAA,QAAA,QAAA,CAAA,G;G,WAKjCN,UAAA,GAAAC,mBAEWa,UAAA,EAAA,KAAA,EAAA,GAAA,CADNV,gBAAAC,gBAAA,cAAA,SAAiBN,MAAA,kBAAA,CAAkB,GAAA,CAAA,CAAA,G"}
@@ -1 +1 @@
1
- import "@veltra/styles/transitions/zoom-in.scss";
1
+ export {}
@@ -1,3 +1,2 @@
1
1
  import "../icon/style.js";
2
2
  import "./style2.css";
3
- import "@veltra/styles/transitions/zoom-in.scss";
@@ -132,3 +132,16 @@
132
132
  position: absolute;
133
133
  width: max-content;
134
134
  }
135
+
136
+ @media (prefers-reduced-motion: reduce) {
137
+ .message-move,
138
+ .message-enter-active,
139
+ .message-leave-active {
140
+ transition-property: opacity;
141
+ }
142
+ .message-enter-from,
143
+ .message-leave-to {
144
+ transform: none;
145
+ opacity: 0;
146
+ }
147
+ }
@@ -106,3 +106,13 @@
106
106
  opacity: 0;
107
107
  transform: translateY(-40px);
108
108
  }
109
+
110
+ @media (prefers-reduced-motion: reduce) {
111
+ .u-message-confirm__box {
112
+ transition-property: opacity;
113
+ }
114
+ .message-confirm-enter-from .u-message-confirm__box,
115
+ .message-confirm-leave-to .u-message-confirm__box {
116
+ transform: none;
117
+ }
118
+ }
@@ -8,7 +8,7 @@ import _sfc_main$6 from "../checkbox/checkbox.js";
8
8
  import _sfc_main$7 from "../tag/tag.js";
9
9
  import { MultiSelectDIKey } from "./di.js";
10
10
  import _sfc_main$8 from "./multi-select-option.js";
11
- import { Fragment, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, isRef, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, openBlock, provide, renderList, renderSlot, shallowReactive, shallowRef, toDisplayString, unref, useModel, useTemplateRef, vModelText, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
11
+ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, isRef, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, openBlock, provide, renderList, renderSlot, shallowReactive, shallowRef, toDisplayString, unref, useModel, useTemplateRef, vModelText, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
12
12
  import { useFormFallbackProps, useVirtualizer } from "@veltra/compositions";
13
13
  import { FORM_EMPTY_CONTENT, bem, fieldKey, injectFormContext, renderLabelTemplate } from "@veltra/utils";
14
14
  import { ArrowDown, Close } from "@veltra/icons/normal";
@@ -369,26 +369,20 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
369
369
  onKeydown: withKeys(withModifiers(handleCreateByEnter, ["prevent"]), ["enter"])
370
370
  }, null, 42, _hoisted_1)), [[vModelText, unref(queryString)]]) : createCommentVNode("v-if", true)
371
371
  ], 2)) : createCommentVNode("v-if", true),
372
- createVNode(Transition, {
373
- name: "zoom-in",
374
- mode: "out-in"
372
+ __props.clearable && model.value?.length && hovered.value && !unref(disabled) ? (openBlock(), createBlock(unref(_sfc_main$1), {
373
+ key: 2,
374
+ class: normalizeClass(unref(cls).e("clear")),
375
+ onClick: withModifiers(handleClear, ["stop"])
375
376
  }, {
376
- default: withCtx(() => [__props.clearable && model.value?.length && hovered.value && !unref(disabled) ? (openBlock(), createBlock(unref(_sfc_main$1), {
377
- key: 0,
378
- class: normalizeClass(unref(cls).e("clear")),
379
- onClick: withModifiers(handleClear, ["stop"])
380
- }, {
381
- default: withCtx(() => [createVNode(unref(Close))]),
382
- _: 1
383
- }, 8, ["class"])) : (openBlock(), createBlock(unref(_sfc_main$1), {
384
- key: 1,
385
- class: normalizeClass(unref(cls).e("arrow"))
386
- }, {
387
- default: withCtx(() => [createVNode(unref(ArrowDown))]),
388
- _: 1
389
- }, 8, ["class"]))]),
377
+ default: withCtx(() => [createVNode(unref(Close))]),
378
+ _: 1
379
+ }, 8, ["class"])) : (openBlock(), createBlock(unref(_sfc_main$1), {
380
+ key: 3,
381
+ class: normalizeClass(unref(cls).e("arrow"))
382
+ }, {
383
+ default: withCtx(() => [createVNode(unref(ArrowDown))]),
390
384
  _: 1
391
- })
385
+ }, 8, ["class"]))
392
386
  ]),
393
387
  content: withCtx(() => [
394
388
  createCommentVNode(" 多选栏 "),