@das-fed/ui 7.0.7-hot.17 → 7.0.7-hot.19

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 (222) hide show
  1. package/esm-map.json +2 -2
  2. package/package.json +5 -5
  3. package/packages/business-components/ai-panel/{index-OwRrV6K8.js → index-BeqEuT6Z.js} +1 -1
  4. package/packages/business-components/ai-panel/index-BeqEuT6Z.js.gz +0 -0
  5. package/packages/business-components/ai-panel/{index-8yffh0Id.js → index-DP1B0qnu.js} +1138 -1120
  6. package/packages/business-components/ai-panel/index-DP1B0qnu.js.gz +0 -0
  7. package/packages/business-components/ai-panel/{index-IzGl26KU.js → index-d7mK0plW.js} +5 -5
  8. package/packages/business-components/ai-panel/index-d7mK0plW.js.gz +0 -0
  9. package/packages/business-components/ai-panel/index.js +1 -1
  10. package/packages/business-components/app-container/index.js +75 -75
  11. package/packages/business-components/app-container/index.js.gz +0 -0
  12. package/packages/business-components/area-phone-select/index.js +87 -87
  13. package/packages/business-components/area-phone-select/index.js.gz +0 -0
  14. package/packages/business-components/change-enterprises/index.js +19 -19
  15. package/packages/business-components/change-enterprises/index.js.gz +0 -0
  16. package/packages/business-components/change-pwd/index.js +15 -15
  17. package/packages/business-components/change-pwd/index.js.gz +0 -0
  18. package/packages/business-components/currency-page/index.js +40 -40
  19. package/packages/business-components/currency-page/index.js.gz +0 -0
  20. package/packages/business-components/device-panel/index.js +265 -265
  21. package/packages/business-components/device-panel/index.js.gz +0 -0
  22. package/packages/business-components/device-panel/style.css +1 -1
  23. package/packages/business-components/device-panel/style.css.gz +0 -0
  24. package/packages/business-components/export-button/index.js +92 -92
  25. package/packages/business-components/export-button/index.js.gz +0 -0
  26. package/packages/business-components/import-button/index.js +191 -191
  27. package/packages/business-components/import-button/index.js.gz +0 -0
  28. package/packages/business-components/layout-breadcrumb/index.js +47 -47
  29. package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
  30. package/packages/business-components/model-table-dialog/index.js +232 -232
  31. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  32. package/packages/business-components/payment/api.d.ts +8 -0
  33. package/packages/business-components/payment/index.d.ts +9 -11
  34. package/packages/business-components/payment/index.js +186 -180
  35. package/packages/business-components/payment/index.js.gz +0 -0
  36. package/packages/business-components/payment/style.css +1 -1
  37. package/packages/business-components/payment/type.d.ts +2 -0
  38. package/packages/business-components/process-configuration/index.js +5 -5
  39. package/packages/business-components/process-configuration/index.js.gz +0 -0
  40. package/packages/business-components/process-configuration/style.css +1 -1
  41. package/packages/business-components/process-configuration/style.css.gz +0 -0
  42. package/packages/business-components/process-form/index.js +1154 -1134
  43. package/packages/business-components/process-form/index.js.gz +0 -0
  44. package/packages/business-components/process-form/src/utils/common-methods.d.ts +6 -0
  45. package/packages/business-components/process-log/index.js +329 -329
  46. package/packages/business-components/process-log/index.js.gz +0 -0
  47. package/packages/business-components/process-log/style.css +1 -1
  48. package/packages/business-components/process-log/style.css.gz +0 -0
  49. package/packages/business-components/process-search-form/index.js +54 -54
  50. package/packages/business-components/process-search-form/index.js.gz +0 -0
  51. package/packages/business-components/upload-file/index.js +46 -46
  52. package/packages/business-components/upload-file/index.js.gz +0 -0
  53. package/packages/business-components/upload-file/style.css +1 -1
  54. package/packages/business-components/urgent-panel/index.js +295 -295
  55. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  56. package/packages/business-components/video-dialog/index.d.ts +10 -0
  57. package/packages/business-components/video-dialog/index.js +396 -377
  58. package/packages/business-components/video-dialog/index.js.gz +0 -0
  59. package/packages/business-components/video-dialog/src/api.d.ts +1 -0
  60. package/packages/business-components/video-dialog/src/component/Player/index.vue.d.ts +2 -0
  61. package/packages/business-components/video-dialog/src/hooks/use-video/PlayerProvider.d.ts +6 -0
  62. package/packages/business-components/video-dialog/src/index.vue.d.ts +2 -0
  63. package/packages/business-components/video-dialog/src/type.d.ts +7 -1
  64. package/packages/business-components/video-dialog/style.css +1 -1
  65. package/packages/business-components/video-dialog/style.css.gz +0 -0
  66. package/packages/components/alert/index.js +9 -9
  67. package/packages/components/alert/index.js.gz +0 -0
  68. package/packages/components/audio-video/index.js +141 -141
  69. package/packages/components/audio-video/index.js.gz +0 -0
  70. package/packages/components/autocomplete/index.js +39 -39
  71. package/packages/components/autocomplete/index.js.gz +0 -0
  72. package/packages/components/autocomplete/style.css +1 -1
  73. package/packages/components/autocomplete/style.css.gz +0 -0
  74. package/packages/components/breadcrumb/index.js +39 -39
  75. package/packages/components/breadcrumb/index.js.gz +0 -0
  76. package/packages/components/button/index.js +188 -188
  77. package/packages/components/button/index.js.gz +0 -0
  78. package/packages/components/calendar/index.js +172 -172
  79. package/packages/components/calendar/index.js.gz +0 -0
  80. package/packages/components/cascader/index.js +92 -92
  81. package/packages/components/cascader/index.js.gz +0 -0
  82. package/packages/components/cascader/style.css +1 -1
  83. package/packages/components/cascader/style.css.gz +0 -0
  84. package/packages/components/checkbox/index.js +176 -176
  85. package/packages/components/checkbox/index.js.gz +0 -0
  86. package/packages/components/checkbox/style.css +1 -1
  87. package/packages/components/checkbox/style.css.gz +0 -0
  88. package/packages/components/collapse-panel/index.js +16 -16
  89. package/packages/components/collapse-panel/index.js.gz +0 -0
  90. package/packages/components/collaspe/index.js +22 -22
  91. package/packages/components/collaspe/index.js.gz +0 -0
  92. package/packages/components/custom-search-item/index.js +36 -36
  93. package/packages/components/custom-search-item/index.js.gz +0 -0
  94. package/packages/components/date-picker/index.js +496 -496
  95. package/packages/components/date-picker/index.js.gz +0 -0
  96. package/packages/components/date-picker/style.css +1 -1
  97. package/packages/components/date-picker/style.css.gz +0 -0
  98. package/packages/components/dialog/index.js +89 -89
  99. package/packages/components/dialog/index.js.gz +0 -0
  100. package/packages/components/dimple-layout/index.js +73 -31
  101. package/packages/components/dimple-layout/index.js.gz +0 -0
  102. package/packages/components/dropdown/index.js +30 -30
  103. package/packages/components/dropdown/index.js.gz +0 -0
  104. package/packages/components/edit-table/index.d.ts +2 -2
  105. package/packages/components/edit-table/index.js +150 -150
  106. package/packages/components/edit-table/index.js.gz +0 -0
  107. package/packages/components/empty/index.js +32 -32
  108. package/packages/components/empty/index.js.gz +0 -0
  109. package/packages/components/error-overlay-model/index.js +30 -30
  110. package/packages/components/error-overlay-model/index.js.gz +0 -0
  111. package/packages/components/form/index.js +19 -19
  112. package/packages/components/form/index.js.gz +0 -0
  113. package/packages/components/form-item/index.js +715 -715
  114. package/packages/components/form-item/index.js.gz +0 -0
  115. package/packages/components/form-item/style.css +1 -1
  116. package/packages/components/form-item/style.css.gz +0 -0
  117. package/packages/components/hls-player/index.js +5229 -4588
  118. package/packages/components/hls-player/index.js.gz +0 -0
  119. package/packages/components/hls-player/src/type.d.ts +3 -0
  120. package/packages/components/hls-player/style.css +1 -1
  121. package/packages/components/hls-player/style.css.gz +0 -0
  122. package/packages/components/image-upload/index.js +184 -184
  123. package/packages/components/image-upload/index.js.gz +0 -0
  124. package/packages/components/image-viewer/index.js +566 -566
  125. package/packages/components/image-viewer/index.js.gz +0 -0
  126. package/packages/components/input/index.js +94 -94
  127. package/packages/components/input/index.js.gz +0 -0
  128. package/packages/components/input-dialog-select/index.js +86 -86
  129. package/packages/components/input-dialog-select/index.js.gz +0 -0
  130. package/packages/components/input-number/index.js +93 -93
  131. package/packages/components/input-number/index.js.gz +0 -0
  132. package/packages/components/input-number/style.css +1 -1
  133. package/packages/components/input-number/style.css.gz +0 -0
  134. package/packages/components/live-player/index.d.ts +2 -0
  135. package/packages/components/live-player/index.js +822 -814
  136. package/packages/components/live-player/index.js.gz +0 -0
  137. package/packages/components/live-player/src/type.d.ts +3 -0
  138. package/packages/components/live-player/style.css +1 -1
  139. package/packages/components/loading/index.js +45 -45
  140. package/packages/components/loading/index.js.gz +0 -0
  141. package/packages/components/menu-aside/index.js +558 -558
  142. package/packages/components/menu-aside/index.js.gz +0 -0
  143. package/packages/components/menu-header/index.js +16 -16
  144. package/packages/components/menu-header/index.js.gz +0 -0
  145. package/packages/components/pagination/index.js +100 -100
  146. package/packages/components/pagination/index.js.gz +0 -0
  147. package/packages/components/pagination/style.css +1 -1
  148. package/packages/components/pagination/style.css.gz +0 -0
  149. package/packages/components/popover/index.js +33 -33
  150. package/packages/components/popover/index.js.gz +0 -0
  151. package/packages/components/popup-mask/index.js +13 -13
  152. package/packages/components/popup-mask/index.js.gz +0 -0
  153. package/packages/components/progress/index.js +111 -111
  154. package/packages/components/progress/index.js.gz +0 -0
  155. package/packages/components/progress/style.css +1 -1
  156. package/packages/components/progress/style.css.gz +0 -0
  157. package/packages/components/radio/index.js +162 -162
  158. package/packages/components/radio/index.js.gz +0 -0
  159. package/packages/components/rich-editor/index.js +7906 -7889
  160. package/packages/components/rich-editor/index.js.gz +0 -0
  161. package/packages/components/scrollbar/index.js +2 -2
  162. package/packages/components/scrollbar/index.js.gz +0 -0
  163. package/packages/components/search/index.js +76 -76
  164. package/packages/components/search/index.js.gz +0 -0
  165. package/packages/components/search-form/index.js +598 -597
  166. package/packages/components/search-form/index.js.gz +0 -0
  167. package/packages/components/search-form/style.css +1 -1
  168. package/packages/components/search-form/style.css.gz +0 -0
  169. package/packages/components/select/index.js +284 -284
  170. package/packages/components/select/index.js.gz +0 -0
  171. package/packages/components/select/style.css +1 -1
  172. package/packages/components/select/style.css.gz +0 -0
  173. package/packages/components/select-input/index.js +76 -76
  174. package/packages/components/select-input/index.js.gz +0 -0
  175. package/packages/components/select-list/index.js +406 -406
  176. package/packages/components/select-list/index.js.gz +0 -0
  177. package/packages/components/select-list/style.css +1 -1
  178. package/packages/components/select-list/style.css.gz +0 -0
  179. package/packages/components/special-range-picker-month/index.js +154 -154
  180. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  181. package/packages/components/special-range-picker-month/style.css +1 -1
  182. package/packages/components/special-range-picker-month/style.css.gz +0 -0
  183. package/packages/components/special-range-picker-year/index.js +196 -196
  184. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  185. package/packages/components/special-range-picker-year/style.css +1 -1
  186. package/packages/components/special-range-picker-year/style.css.gz +0 -0
  187. package/packages/components/spin/index.js +30 -30
  188. package/packages/components/spin/index.js.gz +0 -0
  189. package/packages/components/split-panel/index.js +60 -60
  190. package/packages/components/split-panel/index.js.gz +0 -0
  191. package/packages/components/table/index.d.ts +253 -27
  192. package/packages/components/table/index.js +2061 -2061
  193. package/packages/components/table/index.js.gz +0 -0
  194. package/packages/components/table/src/Table.vue.d.ts +39 -5
  195. package/packages/components/tabs/index.js +109 -109
  196. package/packages/components/tabs/index.js.gz +0 -0
  197. package/packages/components/time-line/index.js +35 -35
  198. package/packages/components/time-line/index.js.gz +0 -0
  199. package/packages/components/tooltip/index.js +52 -52
  200. package/packages/components/tooltip/index.js.gz +0 -0
  201. package/packages/components/tooltip/style.css +1 -1
  202. package/packages/components/tooltip/style.css.gz +0 -0
  203. package/packages/components/tree/index.js +748 -748
  204. package/packages/components/tree/index.js.gz +0 -0
  205. package/packages/components/tree/src/App.vue.d.ts +29 -5
  206. package/packages/components/tree-select/index.js +262 -262
  207. package/packages/components/tree-select/index.js.gz +0 -0
  208. package/packages/components/tree-select/src/App.vue.d.ts +116 -16
  209. package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +116 -16
  210. package/packages/components/tree-table/index.js +224 -224
  211. package/packages/components/tree-table/index.js.gz +0 -0
  212. package/packages/components/tree-v2/index.d.ts +175 -27
  213. package/packages/components/tree-v2/index.js +614 -614
  214. package/packages/components/tree-v2/index.js.gz +0 -0
  215. package/packages/components/tree-v2/src/App.vue.d.ts +27 -5
  216. package/packages/components/upload/index.js +80 -80
  217. package/packages/components/upload/index.js.gz +0 -0
  218. package/packages/components/virtual-tree/index.js +61 -61
  219. package/packages/components/virtual-tree/index.js.gz +0 -0
  220. package/packages/business-components/ai-panel/index-8yffh0Id.js.gz +0 -0
  221. package/packages/business-components/ai-panel/index-IzGl26KU.js.gz +0 -0
  222. package/packages/business-components/ai-panel/index-OwRrV6K8.js.gz +0 -0
@@ -1,34 +1,34 @@
1
1
  import '@das-fed/ui/packages/components/select/style.css';
2
- import { withInstall as _e } from "@das-fed/utils/with-install/index";
3
- import { defineComponent as $e, useCssVars as ul, computed as d, ref as n, watch as G, useSlots as il, onMounted as ie, onUnmounted as Ve, watchEffect as de, nextTick as T, resolveComponent as dl, createElementBlock as g, openBlock as c, normalizeStyle as q, normalizeClass as cl, createVNode as y, withDirectives as ce, createCommentVNode as k, createElementVNode as h, unref as r, createBlock as H, mergeProps as me, withModifiers as J, isRef as vl, createSlots as fl, withCtx as f, renderSlot as C, normalizeProps as Q, guardReactiveProps as Y, withKeys as pl, toDisplayString as W, createTextVNode as ve, Fragment as fe } from "vue";
4
- import { Select as ml, Tag as pe } from "ant-design-vue";
2
+ import { withInstall as $e } from "@das-fed/utils/with-install/index";
3
+ import { defineComponent as Fe, useCssVars as ut, computed as c, ref as n, watch as G, useSlots as it, onMounted as ie, onUnmounted as Ve, watchEffect as de, nextTick as k, resolveComponent as dt, createElementBlock as y, openBlock as v, normalizeStyle as q, normalizeClass as ct, createVNode as x, withDirectives as ce, createCommentVNode as I, createElementVNode as b, unref as r, createBlock as H, mergeProps as me, withModifiers as J, isRef as vt, createSlots as ft, withCtx as p, renderSlot as C, normalizeProps as Q, guardReactiveProps as Y, withKeys as pt, toDisplayString as W, createTextVNode as ve, Fragment as fe } from "vue";
4
+ import { Select as mt, Tag as pe } from "ant-design-vue";
5
5
  import { DasCheckbox as ze } from "@das-fed/ui/packages/components/checkbox/index";
6
- import { vScrollbar as hl } from "@das-fed/ui/packages/components/scrollbar/index";
7
- import { DasTooltip as bl } from "@das-fed/ui/packages/components/tooltip/index";
6
+ import { vScrollbar as ht } from "@das-fed/ui/packages/components/scrollbar/index";
7
+ import { DasTooltip as bt } from "@das-fed/ui/packages/components/tooltip/index";
8
8
  import { vDasTooltip as Le } from "@das-fed/ui/packages/components/text-tooltip/index";
9
- import { DasInput as gl } from "@das-fed/ui/packages/components/input/index";
10
- import { DasIconXiala as yl } from "@das-fed/ui/packages/icons/xiala/index";
11
- import { DasIconEmpty as Cl } from "@das-fed/ui/packages/icons/empty/index";
12
- import { DasErrorOverlayModel as wl } from "@das-fed/ui/packages/components/error-overlay-model/index";
13
- import { vHoverInside as xl } from "@das-fed/utils/directive";
14
- import { getVarValue as Tl, getVar as Ne, setThemeRule as kl } from "@das-fed/web/packages/theme/index";
15
- import { t as P, currentLang as Il, setI18nRule as Sl } from "@das-fed/web/packages/i18n/index";
16
- import { useZIndex as Vl } from "@das-fed/utils/hooks/popup-manager/use-zindex";
17
- import { useModelValue as zl } from "@das-fed/utils/vue";
18
- import { calcTextWidth as Ll } from "@das-fed/utils/common-tools";
9
+ import { DasInput as gt } from "@das-fed/ui/packages/components/input/index";
10
+ import { DasIconXiala as yt } from "@das-fed/ui/packages/icons/xiala/index";
11
+ import { DasIconEmpty as xt } from "@das-fed/ui/packages/icons/empty/index";
12
+ import { DasErrorOverlayModel as Ct } from "@das-fed/ui/packages/components/error-overlay-model/index";
13
+ import { vHoverInside as wt } from "@das-fed/utils/directive";
14
+ import { getVarValue as Tt, getVar as Ne, setThemeRule as kt } from "@das-fed/web/packages/theme/index";
15
+ import { t as P, currentLang as It, setI18nRule as St } from "@das-fed/web/packages/i18n/index";
16
+ import { useZIndex as Vt } from "@das-fed/utils/hooks/popup-manager/use-zindex";
17
+ import { useModelValue as zt } from "@das-fed/utils/vue";
18
+ import { calcTextWidth as Lt } from "@das-fed/utils/common-tools";
19
19
  import "ant-design-vue/es/select/style/css";
20
20
  import "ant-design-vue/es/tag/style/css";
21
- import { SelectOption as Nl } from "ant-design-vue/es";
22
- const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style: { display: "inline-block" } }, Ml = { key: 0 }, Al = { key: 2 }, Bl = { style: { display: "inline-block" } }, Dl = ["innerHTML"], El = ["innerHTML"], Ol = {
21
+ import { SelectOption as Nt } from "ant-design-vue/es";
22
+ const $t = { key: 0 }, Ft = { class: "das-multiple-option-item" }, Mt = { style: { display: "inline-block" } }, At = { key: 0 }, Bt = { key: 2 }, Dt = { style: { display: "inline-block" } }, Et = ["innerHTML"], _t = ["innerHTML"], Ot = {
23
23
  key: 0,
24
24
  class: "das-select-error-label-content das-select-label-content"
25
- }, Wl = { class: "ant-select ant-select-multiple ant-select-selection-overflow-item ant-select-selection-overflow-item-rest" }, Pl = { class: "ant-select-selection-item" }, Rl = { class: "ant-select-selection-item-content" }, ql = ["innerHTML"], Hl = $e({
25
+ }, Wt = { class: "ant-select ant-select-multiple ant-select-selection-overflow-item ant-select-selection-overflow-item-rest" }, Pt = { class: "ant-select-selection-item" }, Rt = { class: "ant-select-selection-item-content" }, qt = ["innerHTML"], Ht = Fe({
26
26
  inheritAttrs: !1,
27
27
  components: {
28
- VNodes: (I, { attrs: $ }) => $.vnodes
28
+ VNodes: (i, { attrs: F }) => F.vnodes
29
29
  }
30
- }), Zl = /* @__PURE__ */ $e({
31
- ...Hl,
30
+ }), Zt = /* @__PURE__ */ Fe({
31
+ ...Ht,
32
32
  __name: "Select",
33
33
  props: {
34
34
  modelValue: { default: void 0 },
@@ -65,29 +65,29 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
65
65
  inputAttrs: {}
66
66
  },
67
67
  emits: ["update:model-value", "change", "focus", "blur", "dropdownVisibleChange", "addCustomItem"],
68
- setup(I, { expose: $, emit: F }) {
69
- ul((e) => ({
70
- "3e85892a": Pe.value,
71
- "785ca243": Re.value
68
+ setup(i, { expose: F, emit: M }) {
69
+ ut((e) => ({
70
+ v3e85892a: Pe.value,
71
+ v785ca243: Re.value
72
72
  }));
73
- const l = I, w = F, s = zl(l, "modelValue"), ee = d(() => {
73
+ const t = i, w = M, s = zt(t, "modelValue"), ee = c(() => {
74
74
  var e;
75
75
  return `<span class='key'>${((e = s.value) == null ? void 0 : e.length) ?? 0}</span>`;
76
- }), M = n(null), he = n(null), b = n(!1), Z = d(() => l.isView ? l.noSetDefaultVal ? "" : "-" : l.placeholder || P("请选择")), Me = d(() => M.value ? M.value.querySelector(".ant-select-selector") : null), A = n(0), B = n(0), Ae = d(() => l.isTooltip && S.value ? !1 : !l.isTooltip || z.value || !Ie.value || !ae.value), Be = d(() => (Array.isArray(s.value) ? s.value.length : s.value) ? Ie.value : Z.value), be = () => {
77
- const e = l.size === "table" ? 12 : 14;
78
- return Ll(Z.value, e);
76
+ }), A = n(null), he = n(null), g = n(!1), Z = c(() => t.isView ? t.noSetDefaultVal ? "" : "-" : t.placeholder || P("请选择")), Ae = c(() => A.value ? A.value.querySelector(".ant-select-selector") : null), B = n(0), D = n(0), Be = c(() => t.isTooltip && S.value ? !1 : !t.isTooltip || z.value || !Ie.value || !ae.value), De = c(() => (Array.isArray(s.value) ? s.value.length : s.value) ? Ie.value : Z.value), be = () => {
77
+ const e = t.size === "table" ? 12 : 14;
78
+ return Lt(Z.value, e);
79
79
  }, ge = () => {
80
- var _;
81
- const e = M.value.querySelector(".ant-select-selection-placeholder"), t = (_ = x.value) == null ? void 0 : _.$el.querySelectorAll(".ant-select-selection-item");
82
- t && t.length && t.forEach((X) => X.removeAttribute("title"));
80
+ var $;
81
+ const e = A.value.querySelector(".ant-select-selection-placeholder"), l = ($ = T.value) == null ? void 0 : $.$el.querySelectorAll(".ant-select-selection-item");
82
+ l && l.length && l.forEach((X) => X.removeAttribute("title"));
83
83
  let a = (e == null ? void 0 : e.offsetWidth) ?? 0;
84
84
  if (a === 0) return a;
85
- const o = window.getComputedStyle(e, null), p = parseFloat(o.paddingRight), v = parseFloat(o.paddingLeft);
86
- return a - p - v;
85
+ const o = window.getComputedStyle(e, null), m = parseFloat(o.paddingRight), f = parseFloat(o.paddingLeft);
86
+ return a - m - f;
87
87
  }, S = n(!1);
88
88
  G(() => [Z.value, s.value], () => {
89
- T(() => {
90
- B.value = ge(), A.value = be(), ((Array.isArray(s.value) ? s.value.length : s.value) || B.value === A.value || A.value - B.value < 1) && (S.value = !1);
89
+ k(() => {
90
+ D.value = ge(), B.value = be(), ((Array.isArray(s.value) ? s.value.length : s.value) || D.value === B.value || B.value - D.value < 1) && (S.value = !1);
91
91
  });
92
92
  }), G(
93
93
  () => {
@@ -104,32 +104,32 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
104
104
  }));
105
105
  }
106
106
  );
107
- const ye = n(null), Ce = d(() => l.dropdownMode ?? l.mode ?? ""), D = n(null), De = n(null), E = n(""), Ee = () => {
108
- D.value = !0;
107
+ const ye = n(null), xe = c(() => t.dropdownMode ?? t.mode ?? ""), E = n(null), Ee = n(null), _ = n(""), _e = () => {
108
+ E.value = !0;
109
109
  }, Oe = () => {
110
- D.value = null;
111
- }, we = () => {
112
- E.value && (w("addCustomItem", E.value), T(() => {
113
- x.value.focus(), E.value = "";
110
+ E.value = null;
111
+ }, Ce = () => {
112
+ _.value && (w("addCustomItem", _.value), k(() => {
113
+ T.value.focus(), _.value = "";
114
114
  }));
115
- }, xe = il(), le = () => {
116
- l.dropdownMode === "custom" && !xe.dropdownRender && (D.value = !1, T(() => {
117
- D.value = null;
115
+ }, we = it(), te = () => {
116
+ t.dropdownMode === "custom" && !we.dropdownRender && (E.value = !1, k(() => {
117
+ E.value = null;
118
118
  }));
119
119
  };
120
120
  ie(() => {
121
- document.addEventListener("click", le);
121
+ document.addEventListener("click", te);
122
122
  }), Ve(() => {
123
- document.removeEventListener("click", le);
123
+ document.removeEventListener("click", te);
124
124
  });
125
- const x = n(), Te = n(), te = n(!1), oe = d(() => {
126
- if (D.value !== null) return D.value;
127
- if (l.open !== void 0) return l.open;
128
- }), V = 1e6, u = n(100), i = n(100), z = n(!1), ae = n(!0), se = n(!1);
125
+ const T = n(), Te = n(), le = n(!1), oe = c(() => {
126
+ if (E.value !== null) return E.value;
127
+ if (t.open !== void 0) return t.open;
128
+ }), V = 1e6, u = n(100), d = n(100), z = n(!1), ae = n(!0), se = n(!1);
129
129
  de(() => {
130
- s.value && l.mode == "combobox" && (ae.value = !0, setTimeout(() => {
131
- var t;
132
- let e = (t = x.value) == null ? void 0 : t.$el.querySelectorAll(".ant-select-selection-item");
130
+ s.value && t.mode == "combobox" && (ae.value = !0, setTimeout(() => {
131
+ var l;
132
+ let e = (l = T.value) == null ? void 0 : l.$el.querySelectorAll(".ant-select-selection-item");
133
133
  if (e && e.length > 0)
134
134
  for (let a = 0; a < e.length; a++) {
135
135
  let o = e[a];
@@ -137,165 +137,165 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
137
137
  }
138
138
  }, 300));
139
139
  }), de(() => {
140
- l.options && (Te.value = l.options.map((e) => (e.title = e.title ? e.title : "", e)));
140
+ t.options && (Te.value = t.options.map((e) => (e.title = e.title ? e.title : "", e)));
141
141
  });
142
142
  const We = () => {
143
143
  setTimeout(async () => {
144
- u.value = 100, await N(), u.value = i.value, b.value = !0;
144
+ u.value = 100, await N(), u.value = d.value, g.value = !0;
145
145
  }, 100);
146
146
  };
147
147
  de(() => {
148
- se.value === !0 && l.mode != "combobox" && s.value && s.value.length > 0 && l.options.length > 0 && (se.value = !1, We());
148
+ se.value === !0 && t.mode != "combobox" && s.value && s.value.length > 0 && t.options.length > 0 && (se.value = !1, We());
149
149
  }), ie(() => {
150
- se.value = !0, l.focusOpen || (i.value = 1, u.value = i.value, b.value = !0);
150
+ se.value = !0, t.focusOpen || (d.value = 1, u.value = d.value, g.value = !0);
151
151
  });
152
- const Pe = d(() => l.width ? l.width : "230px"), Re = d(() => l.height ? l.height : "auto"), ke = n(3e3), qe = d(() => ({
152
+ const Pe = c(() => t.width ? t.width : "230px"), Re = c(() => t.height ? t.height : "auto"), ke = n(3e3), qe = c(() => ({
153
153
  "z-index": ke.value
154
- })), Ie = d(() => {
155
- var t;
154
+ })), Ie = c(() => {
155
+ var l;
156
156
  let e = [];
157
- if (l.mode != "combobox" && Array.isArray(s.value))
157
+ if (t.mode != "combobox" && Array.isArray(s.value))
158
158
  s.value.map((a) => {
159
- var p;
160
- let o = (p = l.options) == null ? void 0 : p.find((v) => v[L.value] == a);
159
+ var m;
160
+ let o = (m = t.options) == null ? void 0 : m.find((f) => f[L.value] == a);
161
161
  o && e.push(o[K.value]);
162
162
  });
163
- else if (l.mode == "combobox" && s.value) {
164
- let a = (t = l.options) == null ? void 0 : t.find((o) => o[L.value] == s.value);
163
+ else if (t.mode == "combobox" && s.value) {
164
+ let a = (l = t.options) == null ? void 0 : l.find((o) => o[L.value] == s.value);
165
165
  a && e.push(a[K.value]);
166
166
  }
167
- return Il.value === "zh-CN" ? e.join("、") : e.join(", ");
168
- }), He = d(() => {
169
- var t;
170
- if (l.mode === "combobox") return !1;
171
- let e = l.options.filter((a) => !a.disabled);
172
- return !!(Array.isArray(s.value) && ((t = s.value) == null ? void 0 : t.length) == e.length);
173
- }), Ze = d(() => {
174
- var t, a;
175
- if (l.mode === "combobox") return !1;
176
- let e = l.options.filter((o) => !o.disabled);
177
- return !!(Array.isArray(s.value) && ((t = s.value) == null ? void 0 : t.length) > 0 && ((a = s.value) == null ? void 0 : a.length) < e.length);
178
- }), Ke = d(() => {
179
- var e, t;
180
- return l.optionFilterProp ? l.optionFilterProp : (e = l.fieldNames) != null && e.label ? (t = l.fieldNames) == null ? void 0 : t.label : "label";
181
- }), K = d(() => {
167
+ return It.value === "zh-CN" ? e.join("、") : e.join(", ");
168
+ }), He = c(() => {
169
+ var l;
170
+ if (t.mode === "combobox") return !1;
171
+ let e = t.options.filter((a) => !a.disabled);
172
+ return !!(Array.isArray(s.value) && ((l = s.value) == null ? void 0 : l.length) == e.length);
173
+ }), Ze = c(() => {
174
+ var l, a;
175
+ if (t.mode === "combobox") return !1;
176
+ let e = t.options.filter((o) => !o.disabled);
177
+ return !!(Array.isArray(s.value) && ((l = s.value) == null ? void 0 : l.length) > 0 && ((a = s.value) == null ? void 0 : a.length) < e.length);
178
+ }), Ke = c(() => {
179
+ var e, l;
180
+ return t.optionFilterProp ? t.optionFilterProp : (e = t.fieldNames) != null && e.label ? (l = t.fieldNames) == null ? void 0 : l.label : "label";
181
+ }), K = c(() => {
182
182
  var e;
183
- return l.fieldNames && l.fieldNames.label ? (e = l.fieldNames) == null ? void 0 : e.label : "label";
184
- }), L = d(() => {
183
+ return t.fieldNames && t.fieldNames.label ? (e = t.fieldNames) == null ? void 0 : e.label : "label";
184
+ }), L = c(() => {
185
185
  var e;
186
- return l.fieldNames && l.fieldNames.value ? (e = l.fieldNames) == null ? void 0 : e.value : "value";
187
- }), Ue = d(() => ({
188
- width: typeof l.width == "number" ? l.width + "px" : l.width
186
+ return t.fieldNames && t.fieldNames.value ? (e = t.fieldNames) == null ? void 0 : e.value : "value";
187
+ }), Ue = c(() => ({
188
+ width: typeof t.width == "number" ? t.width + "px" : t.width
189
189
  })), ne = n(!1), je = n({
190
190
  display: "block",
191
- color: Tl("--das-ui-select-overlay-error-color").value,
191
+ color: Tt("--das-ui-select-overlay-error-color").value,
192
192
  "white-space": "break-spaces"
193
193
  }), O = n(), Xe = () => {
194
194
  var a;
195
- B.value = ge(), A.value = be();
196
- let e = (a = x.value) == null ? void 0 : a.$el.querySelectorAll(".ant-select-selection-item");
197
- !!(Array.isArray(s.value) ? s.value.length : e != null && e.length) || B.value === A.value || A.value - B.value < 1 ? S.value = !1 : (S.value = !0, O.value && clearTimeout(O.value)), ne.value = !0;
195
+ D.value = ge(), B.value = be();
196
+ let e = (a = T.value) == null ? void 0 : a.$el.querySelectorAll(".ant-select-selection-item");
197
+ !!(Array.isArray(s.value) ? s.value.length : e != null && e.length) || D.value === B.value || B.value - D.value < 1 ? S.value = !1 : (S.value = !0, O.value && clearTimeout(O.value)), ne.value = !0;
198
198
  }, Ge = () => {
199
199
  O.value = setTimeout(() => {
200
200
  S.value = !1;
201
201
  }, 200), ne.value = !1;
202
- }, Je = (e, t) => {
202
+ }, Je = (e, l) => {
203
203
  e ? Xe() : Ge();
204
204
  }, Qe = (e) => {
205
- e && (ke.value = Vl().nextZIndex(), E.value = ""), U.value = e, l.mode == "combobox" && (e || setTimeout(() => {
206
- var t, a;
207
- (a = (t = x.value) == null ? void 0 : t.blur) == null || a.call(t);
205
+ e && (ke.value = Vt().nextZIndex(), _.value = ""), U.value = e, t.mode == "combobox" && (e || setTimeout(() => {
206
+ var l, a;
207
+ (a = (l = T.value) == null ? void 0 : l.blur) == null || a.call(l);
208
208
  })), w("dropdownVisibleChange", e);
209
209
  }, Ye = (e) => {
210
- let t = e.toString();
211
- return t.length > l.maxTagTextLength && (t = t.substr(0, l.maxTagTextLength) + "..."), t;
212
- }, el = (e) => l.isRenderNode ? M.value : l.getPopupContainer === void 0 ? document.body : l.getPopupContainer(e), ll = (e) => {
210
+ let l = e.toString();
211
+ return l.length > t.maxTagTextLength && (l = l.substr(0, t.maxTagTextLength) + "..."), l;
212
+ }, et = (e) => t.isRenderNode ? A.value : t.getPopupContainer === void 0 ? document.body : t.getPopupContainer(e), tt = (e) => {
213
213
  if (e) {
214
214
  Array.isArray(s.value) || (s.value = []);
215
- let t = s.value, a = [];
216
- l.options.forEach((o) => {
217
- !s.value.includes(o[L.value]) && !o.disabled && (t.push(o[L.value]), a.push(o));
218
- }), s.value = t, ue(s.value, a);
215
+ let l = s.value, a = [];
216
+ t.options.forEach((o) => {
217
+ !s.value.includes(o[L.value]) && !o.disabled && (l.push(o[L.value]), a.push(o));
218
+ }), s.value = l, ue(s.value, a);
219
219
  } else {
220
- let t = s.value;
221
- s.value = t.filter((a) => !!l.options.find((o) => o[L.value] === a).disabled), ue(s.value, []);
220
+ let l = s.value;
221
+ s.value = l.filter((a) => !!t.options.find((o) => o[L.value] === a).disabled), ue(s.value, []);
222
222
  }
223
- }, tl = (e) => {
223
+ }, lt = (e) => {
224
224
  if (e.className.indexOf("ant-select-multiple") > -1 && e.children[0])
225
225
  return e.children[0];
226
- }, ol = (e) => {
227
- if (l.mode == "combobox") {
226
+ }, ot = (e) => {
227
+ if (t.mode == "combobox") {
228
228
  w("focus", e);
229
229
  return;
230
230
  }
231
- te.value = !0, l.focusOpen && !l.isExterControlCount && (u.value = V, b.value = !1), w("focus", e);
232
- }, U = n(!1), al = () => {
231
+ le.value = !0, t.focusOpen && !t.isExterControlCount && (u.value = V, g.value = !1), w("focus", e);
232
+ }, U = n(!1), at = () => {
233
233
  U.value || setTimeout(() => {
234
- var e, t;
235
- (t = (e = x.value) == null ? void 0 : e.blur) == null || t.call(e);
236
- }), l.mode != "combobox";
234
+ var e, l;
235
+ (l = (e = T.value) == null ? void 0 : e.blur) == null || l.call(e);
236
+ }), t.mode != "combobox";
237
237
  }, Se = (e) => {
238
- if (T(() => {
238
+ if (k(() => {
239
239
  U.value = !1;
240
- }), l.mode == "combobox") {
240
+ }), t.mode == "combobox") {
241
241
  w("blur", e);
242
242
  return;
243
243
  }
244
- te.value = !1, l.focusOpen && !l.isExterControlCount && (N(), u.value = i.value, b.value = !0), w("blur", e);
245
- }, sl = (e) => {
246
- e.onClose(), u.value = 100, T(() => {
247
- l.mode !== "combobox" && oe.value || l.focusOpen && (N(), u.value = i.value, b.value = !0);
244
+ le.value = !1, t.focusOpen && !t.isExterControlCount && (N(), u.value = d.value, g.value = !0), w("blur", e);
245
+ }, st = (e) => {
246
+ e.onClose(), u.value = 100, k(() => {
247
+ t.mode !== "combobox" && oe.value || t.focusOpen && (N(), u.value = d.value, g.value = !0);
248
248
  });
249
249
  };
250
250
  G(
251
- () => l.disabled || l.isView,
251
+ () => t.disabled || t.isView,
252
252
  (e) => {
253
- if (e && l.mode !== "combobox") {
254
- te.value = !1;
255
- let t = new Event("blur");
256
- Se(t);
253
+ if (e && t.mode !== "combobox") {
254
+ le.value = !1;
255
+ let l = new Event("blur");
256
+ Se(l);
257
257
  }
258
258
  }
259
259
  );
260
260
  let R = n(!1);
261
- const nl = (e) => {
262
- R.value = e, z.value = !0, T(() => {
263
- z.value = !1, l.focusOpen && (N(), u.value = e ? V : i.value, b.value = !e);
261
+ const nt = (e) => {
262
+ R.value = e, z.value = !0, k(() => {
263
+ z.value = !1, t.focusOpen && (N(), u.value = e ? V : d.value, g.value = !e);
264
264
  });
265
265
  };
266
266
  let j = null;
267
267
  ie(() => {
268
268
  j = new IntersectionObserver((e) => {
269
- e && e[0] && e[0].intersectionRatio > 0 && l.focusOpen && u.value === 0 && (u.value = 100, T(() => {
270
- N(), u.value = i.value, b.value = !0;
269
+ e && e[0] && e[0].intersectionRatio > 0 && t.focusOpen && u.value === 0 && (u.value = 100, k(() => {
270
+ N(), u.value = d.value, g.value = !0;
271
271
  }));
272
- }), j.observe(M.value);
272
+ }), j.observe(A.value);
273
273
  }), Ve(() => {
274
274
  j && j.disconnect();
275
275
  });
276
276
  const N = () => {
277
277
  var X;
278
- let e = (X = x.value) == null ? void 0 : X.$el;
278
+ let e = (X = T.value) == null ? void 0 : X.$el;
279
279
  if (!e) return;
280
- let t = e == null ? void 0 : e.querySelector(".ant-select-selection-overflow");
281
- if (!t) return;
282
- let a = t.offsetWidth - 5;
283
- l.borderType === "underline" && (a -= 10);
284
- const p = Math.ceil(ye.value.querySelector(".ant-tag").offsetWidth) + 4;
285
- let v = e.querySelectorAll(".ant-select-selection-overflow-item");
286
- if (v.length < 1) return;
280
+ let l = e == null ? void 0 : e.querySelector(".ant-select-selection-overflow");
281
+ if (!l) return;
282
+ let a = l.offsetWidth - 5;
283
+ t.borderType === "underline" && (a -= 10);
284
+ const m = Math.ceil(ye.value.querySelector(".ant-tag").offsetWidth) + 4;
285
+ let f = e.querySelectorAll(".ant-select-selection-overflow-item");
286
+ if (f.length < 1) return;
287
287
  u.value = V;
288
- let _ = 0;
289
- for (let m = 0; m < v.length - 1 && !v[m].classList.contains("ant-select-selection-overflow-item-rest"); m++)
290
- if (_ += Math.ceil(v[m].offsetWidth), _ <= a - p)
291
- m >= s.value.length - 1 && _ < a ? i.value = s.value.length : i.value = m + 1;
288
+ let $ = 0;
289
+ for (let h = 0; h < f.length - 1 && !f[h].classList.contains("ant-select-selection-overflow-item-rest"); h++)
290
+ if ($ += Math.ceil(f[h].offsetWidth), $ <= a - m)
291
+ h >= s.value.length - 1 && $ < a ? d.value = s.value.length : d.value = h + 1;
292
292
  else {
293
- m >= s.value.length - 1 && _ < a ? i.value = s.value.length : i.value = m;
293
+ h >= s.value.length - 1 && $ < a ? d.value = s.value.length : d.value = h;
294
294
  break;
295
295
  }
296
- if (i.value === 0) {
297
- let m = v[0], rl = m.querySelector(".anticon-close") ? 86 : 69;
298
- m && !m.classList.contains("ant-select-selection-overflow-item-rest") && rl <= a - p && !xe.tagRender && (i.value = 1, m.classList.add("ellipsis"));
296
+ if (d.value === 0) {
297
+ let h = f[0], rt = h.querySelector(".anticon-close") ? 86 : 69;
298
+ h && !h.classList.contains("ant-select-selection-overflow-item-rest") && rt <= a - m && !we.tagRender && (d.value = 1, h.classList.add("ellipsis"));
299
299
  }
300
300
  }, re = n(!1);
301
301
  G(
@@ -305,84 +305,84 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
305
305
  re.value = !1;
306
306
  return;
307
307
  }
308
- l.mode !== "combobox" && oe.value || (z.value = !0, u.value = V, await T(), await N(), z.value = !1, l.isExterControlCount && l.focusOpen ? (u.value = R.value ? V : i.value, b.value = !R.value) : (u.value = i.value, b.value = !0));
308
+ t.mode !== "combobox" && oe.value || (z.value = !0, u.value = V, await k(), await N(), z.value = !1, t.isExterControlCount && t.focusOpen ? (u.value = R.value ? V : d.value, g.value = !R.value) : (u.value = d.value, g.value = !0));
309
309
  }
310
310
  );
311
- const ue = async (e, t) => {
312
- re.value = !0, U.value = !1, l.mode === "combobox" && le();
311
+ const ue = async (e, l) => {
312
+ re.value = !0, U.value = !1, t.mode === "combobox" && te();
313
313
  const a = e;
314
- l.noDropdown && l.maxTagsLength < a.length && a.pop(), z.value = !0, w("update:model-value", a), w("change", a, t), u.value = V, await T(), await N(), z.value = !1, l.isExterControlCount && l.focusOpen && (u.value = R.value ? V : i.value, b.value = !R.value), l.focusOpen || (u.value = i.value);
314
+ t.noDropdown && t.maxTagsLength < a.length && a.pop(), z.value = !0, w("update:model-value", a), w("change", a, l), u.value = V, await k(), await N(), z.value = !1, t.isExterControlCount && t.focusOpen && (u.value = R.value ? V : d.value, g.value = !R.value), t.focusOpen || (u.value = d.value);
315
315
  };
316
- return $({
317
- $select: x,
318
- toChangeMaxCount: nl
319
- }), (e, t) => {
320
- const a = dl("v-nodes");
321
- return c(), g(
316
+ return F({
317
+ $select: T,
318
+ toChangeMaxCount: nt
319
+ }), (e, l) => {
320
+ const a = dt("v-nodes");
321
+ return v(), y(
322
322
  "div",
323
323
  {
324
- class: cl(["das-ui-select", [
325
- l.borderType,
326
- l.isView ? "readonly" : "",
327
- l.error ? "is-error" : "",
328
- b.value ? "show-ellipsis" : ""
324
+ class: ct(["das-ui-select", [
325
+ t.borderType,
326
+ t.isView ? "readonly" : "",
327
+ t.error ? "is-error" : "",
328
+ g.value ? "show-ellipsis" : ""
329
329
  ]]),
330
330
  ref_key: "$selectBox",
331
- ref: M,
331
+ ref: A,
332
332
  style: q(Ue.value)
333
333
  },
334
334
  [
335
- y(r(bl), {
335
+ x(r(bt), {
336
336
  ref_key: "inputTooltipRef",
337
337
  ref: he,
338
338
  placement: "top",
339
339
  "virtual-triggering": "",
340
- "virtual-ref": Me.value,
341
- disabled: Ae.value,
342
- content: Be.value
340
+ "virtual-ref": Ae.value,
341
+ disabled: Be.value,
342
+ content: De.value
343
343
  }, null, 8, ["virtual-ref", "disabled", "content"]),
344
- ce((c(), H(r(ml), me({ mode: e.mode }, e.$attrs, {
344
+ ce((v(), H(r(mt), me({ mode: i.mode }, e.$attrs, {
345
345
  value: r(s),
346
- "onUpdate:value": t[4] || (t[4] = (o) => vl(s) ? s.value = o : null),
346
+ "onUpdate:value": l[4] || (l[4] = (o) => vt(s) ? s.value = o : null),
347
347
  ref_key: "$select",
348
- ref: x,
348
+ ref: T,
349
349
  options: Te.value,
350
- fieldNames: e.fieldNames,
351
- bordered: l.borderType === "bordered",
352
- disabled: l.disabled || l.isView,
350
+ fieldNames: i.fieldNames,
351
+ bordered: t.borderType === "bordered",
352
+ disabled: t.disabled || t.isView,
353
353
  showArrow: !0,
354
- open: l.noDropdown ? !1 : oe.value,
354
+ open: t.noDropdown ? !1 : oe.value,
355
355
  placeholder: Z.value,
356
356
  optionFilterProp: Ke.value,
357
- size: l.size == "middle" ? "defalut" : l.size == "mini" ? "small" : l.size,
358
- style: l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {},
359
- dropdownClassName: "das-ui-select-dorpdown " + e.dropdownClassName,
357
+ size: t.size == "middle" ? "defalut" : t.size == "mini" ? "small" : t.size,
358
+ style: t.size == "mini" || t.size == "table" ? { fontSize: "12px" } : {},
359
+ dropdownClassName: "das-ui-select-dorpdown " + i.dropdownClassName,
360
360
  maxTagCount: u.value,
361
- getPopupContainer: el,
361
+ getPopupContainer: et,
362
362
  dropdownStyle: qe.value,
363
363
  onDropdownVisibleChange: Qe,
364
364
  onChange: ue,
365
- onFocus: ol,
365
+ onFocus: ot,
366
366
  onClick: [
367
- al,
368
- t[5] || (t[5] = J(() => {
367
+ at,
368
+ l[5] || (l[5] = J(() => {
369
369
  }, ["stop"]))
370
370
  ],
371
371
  onBlur: Se
372
- }), fl({
373
- option: f((o) => [
372
+ }), ft({
373
+ option: p((o) => [
374
374
  C(e.$slots, "option", Q(Y(o)), () => {
375
- var p;
375
+ var m;
376
376
  return [
377
- o.children && typeof o.children == "function" ? (c(), H(a, {
377
+ o.children && typeof o.children == "function" ? (v(), H(a, {
378
378
  key: 0,
379
379
  vnodes: o.children()
380
- }, null, 8, ["vnodes"])) : (c(), g(
380
+ }, null, 8, ["vnodes"])) : (v(), y(
381
381
  fe,
382
382
  { key: 1 },
383
383
  [
384
- k(' :option="{value, label, [disabled, key, title]}" '),
385
- e.mode === "combobox" ? ce((c(), g("div", _l, [
384
+ I(' :option="{value, label, [disabled, key, title]}" '),
385
+ i.mode === "combobox" ? ce((v(), y("div", $t, [
386
386
  ve(
387
387
  W(o[K.value]),
388
388
  1
@@ -390,19 +390,19 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
390
390
  )
391
391
  ])), [
392
392
  [r(Le)]
393
- ]) : (c(), g(
393
+ ]) : (v(), y(
394
394
  fe,
395
395
  { key: 1 },
396
396
  [
397
- k(` <das-tooltip v-if="mode === 'combobox'" placement="right-start" :text="option[labelKeyName]"></das-tooltip> `),
398
- h("div", $l, [
399
- (c(), H(r(ze), {
397
+ I(` <das-tooltip v-if="mode === 'combobox'" placement="right-start" :text="option[labelKeyName]"></das-tooltip> `),
398
+ b("div", Ft, [
399
+ (v(), H(r(ze), {
400
400
  class: "das-select-checkbox",
401
- modelValue: (p = r(s)) == null ? void 0 : p.includes(o[L.value]),
401
+ modelValue: (m = r(s)) == null ? void 0 : m.includes(o[L.value]),
402
402
  key: o[L.value],
403
403
  disabled: o.disabled
404
404
  }, null, 8, ["modelValue", "disabled"])),
405
- ce((c(), g("div", Fl, [
405
+ ce((v(), y("div", Mt, [
406
406
  ve(
407
407
  W(o[K.value]),
408
408
  1
@@ -423,19 +423,19 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
423
423
  ];
424
424
  }, !0)
425
425
  ]),
426
- tagRender: f((o) => [
426
+ tagRender: p((o) => [
427
427
  C(e.$slots, "tagRender", Q(Y(o)), () => [
428
- y(r(pe), {
428
+ x(r(pe), {
429
429
  closable: o.closable,
430
430
  style: { "margin-right": "3px", "background-color": "transparent" },
431
- onClose: (p) => sl(o)
431
+ onClose: (m) => st(o)
432
432
  }, {
433
- default: f(() => [
434
- h(
433
+ default: p(() => [
434
+ b(
435
435
  "span",
436
436
  {
437
437
  class: "tag-span",
438
- style: q(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
438
+ style: q(t.size == "mini" || t.size == "table" ? { fontSize: "12px" } : {})
439
439
  },
440
440
  W(Ye(o.label)),
441
441
  5
@@ -447,41 +447,41 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
447
447
  }, 1032, ["closable", "onClose"])
448
448
  ], !0)
449
449
  ]),
450
- dropdownRender: f(({ menuNode: o }) => [
450
+ dropdownRender: p(({ menuNode: o }) => [
451
451
  C(e.$slots, "dropdownRender", Q(Y({ menuNode: o })), () => {
452
- var p;
452
+ var m;
453
453
  return [
454
- Ce.value === "combobox" ? (c(), g("div", Ml, [
455
- y(a, { vnodes: o }, null, 8, ["vnodes"])
456
- ])) : Ce.value === "custom" ? (c(), g("div", {
454
+ xe.value === "combobox" ? (v(), y("div", At, [
455
+ x(a, { vnodes: o }, null, 8, ["vnodes"])
456
+ ])) : xe.value === "custom" ? (v(), y("div", {
457
457
  key: 1,
458
- onClick: t[2] || (t[2] = J(() => {
458
+ onClick: l[2] || (l[2] = J(() => {
459
459
  }, ["stop"]))
460
460
  }, [
461
- y(a, { vnodes: o }, null, 8, ["vnodes"]),
462
- h(
461
+ x(a, { vnodes: o }, null, 8, ["vnodes"]),
462
+ b(
463
463
  "div",
464
464
  {
465
465
  class: "customDropdown",
466
- onMousedown: t[1] || (t[1] = (v) => v.preventDefault())
466
+ onMousedown: l[1] || (l[1] = (f) => f.preventDefault())
467
467
  },
468
468
  [
469
- y(r(gl), me({
469
+ x(r(gt), me({
470
470
  ref_key: "testInput",
471
- ref: De,
472
- modelValue: E.value,
473
- "onUpdate:modelValue": t[0] || (t[0] = (v) => E.value = v),
474
- onKeyup: pl(we, ["enter"]),
475
- onFocus: J(Ee, ["stop"]),
471
+ ref: Ee,
472
+ modelValue: _.value,
473
+ "onUpdate:modelValue": l[0] || (l[0] = (f) => _.value = f),
474
+ onKeyup: pt(Ce, ["enter"]),
475
+ onFocus: J(_e, ["stop"]),
476
476
  onBlur: J(Oe, ["stop"]),
477
477
  width: "100%",
478
478
  borderType: "bordered"
479
- }, l.inputAttrs), null, 16, ["modelValue"]),
480
- h(
479
+ }, t.inputAttrs), null, 16, ["modelValue"]),
480
+ b(
481
481
  "div",
482
482
  {
483
483
  class: "addBtn",
484
- onClick: we
484
+ onClick: Ce
485
485
  },
486
486
  W(r(P)("添加")),
487
487
  1
@@ -491,24 +491,24 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
491
491
  32
492
492
  /* NEED_HYDRATION */
493
493
  )
494
- ])) : (c(), g("div", Al, [
495
- y(a, { vnodes: o }, null, 8, ["vnodes"]),
496
- (p = l.options) != null && p.length ? (c(), g(
494
+ ])) : (v(), y("div", Bt, [
495
+ x(a, { vnodes: o }, null, 8, ["vnodes"]),
496
+ (m = t.options) != null && m.length ? (v(), y(
497
497
  "div",
498
498
  {
499
499
  key: 0,
500
500
  class: "das-ui-select-dropdown-checkall",
501
- onMousedown: t[3] || (t[3] = (v) => v.preventDefault())
501
+ onMousedown: l[3] || (l[3] = (f) => f.preventDefault())
502
502
  },
503
503
  [
504
- h("div", Bl, [
505
- y(r(ze), {
504
+ b("div", Dt, [
505
+ x(r(ze), {
506
506
  modelValue: He.value,
507
507
  indeterminate: Ze.value,
508
- onChange: ll,
508
+ onChange: tt,
509
509
  style: { display: "flex" }
510
510
  }, {
511
- default: f(() => [
511
+ default: p(() => [
512
512
  ve(
513
513
  W(r(P)("全选")),
514
514
  1
@@ -519,49 +519,49 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
519
519
  /* STABLE */
520
520
  }, 8, ["modelValue", "indeterminate"])
521
521
  ]),
522
- h("span", {
522
+ b("span", {
523
523
  class: "das-ui-dropdown-has-checked",
524
524
  innerHTML: r(P)("das-ui-select-selectedItemsCountWithPlaceholder", ee.value)
525
- }, null, 8, Dl)
525
+ }, null, 8, Et)
526
526
  ],
527
527
  32
528
528
  /* NEED_HYDRATION */
529
- )) : k("v-if", !0)
529
+ )) : I("v-if", !0)
530
530
  ]))
531
531
  ];
532
532
  }, !0)
533
533
  ]),
534
- clearIcon: f(() => [
534
+ clearIcon: p(() => [
535
535
  C(e.$slots, "clearIcon", {}, () => [
536
- y(r(Cl), { size: "medium" })
536
+ x(r(xt), { size: "medium" })
537
537
  ], !0)
538
538
  ]),
539
- maxTagPlaceholder: f((o) => [
539
+ maxTagPlaceholder: p((o) => [
540
540
  C(e.$slots, "maxTagPlaceholder", Q(Y(o)), () => [
541
- k(" 隐藏tag时显示的内容 "),
542
- y(r(pe), {
543
- style: q(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
541
+ I(" 隐藏tag时显示的内容 "),
542
+ x(r(pe), {
543
+ style: q(t.size == "mini" || t.size == "table" ? { fontSize: "12px" } : {})
544
544
  }, {
545
- default: f(() => [
546
- h("span", {
545
+ default: p(() => [
546
+ b("span", {
547
547
  innerHTML: r(P)("das-ui-select-selectedItemsCountWithPlaceholder", ee.value)
548
- }, null, 8, El)
548
+ }, null, 8, _t)
549
549
  ]),
550
550
  _: 1
551
551
  /* STABLE */
552
552
  }, 8, ["style"]),
553
- k(" <a-tag>+{{ currValue?.length - maxTagCountCell }}</a-tag> ")
553
+ I(" <a-tag>+{{ currValue?.length - maxTagCountCell }}</a-tag> ")
554
554
  ], !0)
555
555
  ]),
556
- suffixIcon: f(() => [
556
+ suffixIcon: p(() => [
557
557
  C(e.$slots, "suffixIcon", {}, () => [
558
- y(r(yl), {
558
+ x(r(yt), {
559
559
  class: "das-suffix-icon",
560
560
  size: "medium"
561
561
  })
562
562
  ], !0)
563
563
  ]),
564
- default: f(() => [
564
+ default: p(() => [
565
565
  C(e.$slots, "default", {}, void 0, !0)
566
566
  ]),
567
567
  _: 2
@@ -569,62 +569,62 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
569
569
  }, [
570
570
  e.$slots.menuItemSelectedIcon ? {
571
571
  name: "menuItemSelectedIcon",
572
- fn: f(() => [
572
+ fn: p(() => [
573
573
  C(e.$slots, "menuItemSelectedIcon", {}, void 0, !0)
574
574
  ]),
575
575
  key: "0"
576
576
  } : void 0,
577
577
  e.$slots.notFoundContent ? {
578
578
  name: "notFoundContent",
579
- fn: f(() => [
579
+ fn: p(() => [
580
580
  C(e.$slots, "notFoundContent", {}, void 0, !0)
581
581
  ]),
582
582
  key: "1"
583
583
  } : void 0,
584
584
  e.$slots.placeholder ? {
585
585
  name: "placeholder",
586
- fn: f(() => [
586
+ fn: p(() => [
587
587
  C(e.$slots, "placeholder", {}, void 0, !0)
588
588
  ]),
589
589
  key: "2"
590
590
  } : void 0,
591
591
  e.$slots.removeIcon ? {
592
592
  name: "removeIcon",
593
- fn: f(() => [
593
+ fn: p(() => [
594
594
  C(e.$slots, "removeIcon", {}, void 0, !0)
595
595
  ]),
596
596
  key: "3"
597
597
  } : void 0
598
598
  ]), 1040, ["mode", "value", "options", "fieldNames", "bordered", "disabled", "open", "placeholder", "optionFilterProp", "size", "style", "dropdownClassName", "maxTagCount", "dropdownStyle"])), [
599
- [r(hl), { target: tl, x: !1 }],
600
- [r(xl), Je]
599
+ [r(ht), { target: lt, x: !1 }],
600
+ [r(wt), Je]
601
601
  ]),
602
- e.error && e.errorLabel ? (c(), g(
602
+ i.error && i.errorLabel ? (v(), y(
603
603
  fe,
604
604
  { key: 0 },
605
605
  [
606
- e.errorMode === "default" ? (c(), g("div", Ol, [
607
- h(
606
+ i.errorMode === "default" ? (v(), y("div", Ot, [
607
+ b(
608
608
  "span",
609
609
  {
610
610
  style: q(je.value)
611
611
  },
612
- W(e.errorLabel),
612
+ W(i.errorLabel),
613
613
  5
614
614
  /* TEXT, STYLE */
615
615
  )
616
- ])) : k("v-if", !0),
617
- e.errorMode === "overlay" && ne.value ? (c(), H(r(wl), {
616
+ ])) : I("v-if", !0),
617
+ i.errorMode === "overlay" && ne.value ? (v(), H(r(Ct), {
618
618
  key: 1,
619
- errorLabel: e.errorLabel,
620
- getEl: () => x.value.$el,
621
- errorModelZIndex: e.errorModelZIndex
622
- }, null, 8, ["errorLabel", "getEl", "errorModelZIndex"])) : k("v-if", !0)
619
+ errorLabel: i.errorLabel,
620
+ getEl: () => T.value.$el,
621
+ errorModelZIndex: i.errorModelZIndex
622
+ }, null, 8, ["errorLabel", "getEl", "errorModelZIndex"])) : I("v-if", !0)
623
623
  ],
624
624
  64
625
625
  /* STABLE_FRAGMENT */
626
- )) : k("v-if", !0),
627
- h(
626
+ )) : I("v-if", !0),
627
+ b(
628
628
  "div",
629
629
  {
630
630
  class: "ant-select-selection-overflow",
@@ -633,16 +633,16 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
633
633
  style: { position: "absolute", left: "-50%", top: "-50%", opacity: "0", "pointer-events": "none" }
634
634
  },
635
635
  [
636
- h("div", Wl, [
637
- h("div", Pl, [
638
- h("span", Rl, [
639
- y(r(pe), {
640
- style: q(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
636
+ b("div", Wt, [
637
+ b("div", Pt, [
638
+ b("span", Rt, [
639
+ x(r(pe), {
640
+ style: q(t.size == "mini" || t.size == "table" ? { fontSize: "12px" } : {})
641
641
  }, {
642
- default: f(() => [
643
- h("span", {
642
+ default: p(() => [
643
+ b("span", {
644
644
  innerHTML: r(P)("das-ui-select-selectedItemsCountWithPlaceholder", ee.value)
645
- }, null, 8, ql)
645
+ }, null, 8, qt)
646
646
  ]),
647
647
  _: 1
648
648
  /* STABLE */
@@ -660,23 +660,23 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
660
660
  );
661
661
  };
662
662
  }
663
- }), Fe = (I, $) => {
664
- const F = I.__vccOpts || I;
665
- for (const [l, w] of $)
666
- F[l] = w;
667
- return F;
668
- }, Kl = /* @__PURE__ */ Fe(Zl, [["__scopeId", "data-v-ff4b9c6d"]]), Ul = {};
669
- function jl(I, $) {
670
- const F = Nl;
671
- return c(), H(
672
- F,
673
- me({ class: "das-ui-select-option" }, I.$attrs),
663
+ }), Me = (i, F) => {
664
+ const M = i.__vccOpts || i;
665
+ for (const [t, w] of F)
666
+ M[t] = w;
667
+ return M;
668
+ }, Kt = /* @__PURE__ */ Me(Zt, [["__scopeId", "data-v-ff4b9c6d"]]), Ut = {};
669
+ function jt(i, F) {
670
+ const M = Nt;
671
+ return v(), H(
672
+ M,
673
+ me({ class: "das-ui-select-option" }, i.$attrs),
674
674
  null,
675
675
  16
676
676
  /* FULL_PROPS */
677
677
  );
678
678
  }
679
- const Xl = /* @__PURE__ */ Fe(Ul, [["render", jl]]), Gl = {
679
+ const Xt = /* @__PURE__ */ Me(Ut, [["render", jt]]), Gt = {
680
680
  "--das-ui-select-color-bg": "#FFFFFF",
681
681
  // 默认背景色
682
682
  "--das-ui-select-color-primary": Ne("--das-ui-color-primary"),
@@ -723,7 +723,7 @@ const Xl = /* @__PURE__ */ Fe(Ul, [["render", jl]]), Gl = {
723
723
  // 多选框字体大小-lg
724
724
  "--das-ui-select-overlay-error-color": "#FB2323",
725
725
  "--das-ui-select-overlay-error-bg-color": "#FFDBE0"
726
- }, Jl = {
726
+ }, Jt = {
727
727
  添加: { "zh-CN": "添加", en: "Add", _appCode: "framework" },
728
728
  全选: { "zh-CN": "全选", en: "Select All", _appCode: "framework" },
729
729
  已选: { "zh-CN": "已选", en: "Selected", _appCode: "framework" },
@@ -733,11 +733,11 @@ const Xl = /* @__PURE__ */ Fe(Ul, [["render", jl]]), Gl = {
733
733
  _appCode: "framework"
734
734
  }
735
735
  };
736
- Sl(Jl);
737
- kl(Gl);
738
- const yt = _e(Kl), Ct = _e(Xl), wt = { name: "select 选择器" };
736
+ St(Jt);
737
+ kt(Gt);
738
+ const yl = $e(Kt), xl = $e(Xt), Cl = { name: "select 选择器" };
739
739
  export {
740
- yt as DasSelect,
741
- Ct as DasSelectOption,
742
- wt as default
740
+ yl as DasSelect,
741
+ xl as DasSelectOption,
742
+ Cl as default
743
743
  };