@das-fed/ui 6.4.0-dev.52 → 6.4.0-dev.53

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 (182) hide show
  1. package/esm-map.json +3 -1
  2. package/i18n-collection/en.js +407 -406
  3. package/i18n-collection/zh-CN.js +437 -437
  4. package/package.json +5 -5
  5. package/packages/business-components/change-enterprises/i18n/index.d.ts +15 -0
  6. package/packages/business-components/change-enterprises/index.js +51 -45
  7. package/packages/business-components/change-enterprises/index.js.gz +0 -0
  8. package/packages/business-components/change-pwd/i18n/index.d.ts +77 -1
  9. package/packages/business-components/change-pwd/index.js +118 -99
  10. package/packages/business-components/change-pwd/index.js.gz +0 -0
  11. package/packages/business-components/currency-page/i18n/index.d.ts +19 -0
  12. package/packages/business-components/currency-page/index.js +27 -20
  13. package/packages/business-components/currency-page/index.js.gz +0 -0
  14. package/packages/business-components/device-panel/i18n/index.d.ts +767 -0
  15. package/packages/business-components/device-panel/index.js +4961 -4767
  16. package/packages/business-components/device-panel/index.js.gz +0 -0
  17. package/packages/business-components/device-panel/style.css +1 -1
  18. package/packages/business-components/device-panel/style.css.gz +0 -0
  19. package/packages/business-components/export-button/i18n/index.d.ts +51 -0
  20. package/packages/business-components/export-button/index.js +117 -102
  21. package/packages/business-components/export-button/index.js.gz +0 -0
  22. package/packages/business-components/import-button/i18n/index.d.ts +103 -0
  23. package/packages/business-components/import-button/index.js +220 -192
  24. package/packages/business-components/import-button/index.js.gz +0 -0
  25. package/packages/business-components/model-table-dialog/i18n/index.d.ts +27 -0
  26. package/packages/business-components/model-table-dialog/index.js +663 -660
  27. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  28. package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +48 -16
  29. package/packages/business-components/model-table-dialog/style.css +1 -1
  30. package/packages/business-components/model-table-dialog/style.css.gz +0 -0
  31. package/packages/business-components/process-configuration/i18n/index.d.ts +114 -1
  32. package/packages/business-components/process-configuration/index.js +158 -130
  33. package/packages/business-components/process-configuration/index.js.gz +0 -0
  34. package/packages/business-components/process-form/api-service/formPreView.d.ts +7 -0
  35. package/packages/business-components/process-form/apis.d.ts +1 -0
  36. package/packages/business-components/process-form/i18n/index.d.ts +279 -0
  37. package/packages/business-components/process-form/index.js +1170 -1071
  38. package/packages/business-components/process-form/index.js.gz +0 -0
  39. package/packages/business-components/process-form/src/widgets/store.d.ts +1 -0
  40. package/packages/business-components/process-form/style.css +1 -1
  41. package/packages/business-components/process-log/i18n/index.d.ts +33 -1
  42. package/packages/business-components/process-log/index.js +151 -146
  43. package/packages/business-components/process-log/index.js.gz +0 -0
  44. package/packages/business-components/process-search-form/i18n/index.d.ts +39 -0
  45. package/packages/business-components/process-search-form/index.d.ts +2 -2
  46. package/packages/business-components/process-search-form/index.js +420 -389
  47. package/packages/business-components/process-search-form/index.js.gz +0 -0
  48. package/packages/business-components/process-search-form/src/App.vue.d.ts +2 -2
  49. package/packages/business-components/process-search-form/src/type.d.ts +1 -1
  50. package/packages/business-components/process-table/i18n/index.d.ts +35 -0
  51. package/packages/business-components/process-table/index.js +265 -254
  52. package/packages/business-components/process-table/index.js.gz +0 -0
  53. package/packages/business-components/upload-file/i18n/index.d.ts +7 -0
  54. package/packages/business-components/upload-file/index.js +26 -22
  55. package/packages/business-components/upload-file/index.js.gz +0 -0
  56. package/packages/business-components/urgent-panel/i18n/index.d.ts +331 -0
  57. package/packages/business-components/urgent-panel/index.js +900 -814
  58. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  59. package/packages/business-components/user-org-dialog/i18n/index.d.ts +53 -1
  60. package/packages/business-components/user-org-dialog/index.js +196 -186
  61. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  62. package/packages/business-components/video-dialog/i18n/index.d.ts +71 -0
  63. package/packages/business-components/video-dialog/index.js +199 -179
  64. package/packages/business-components/video-dialog/index.js.gz +0 -0
  65. package/packages/components/button/i18n/index.d.ts +1 -6
  66. package/packages/components/button/index.js +16 -21
  67. package/packages/components/button/index.js.gz +0 -0
  68. package/packages/components/calendar/i18n/index.d.ts +52 -44
  69. package/packages/components/calendar/index.js +77 -75
  70. package/packages/components/calendar/index.js.gz +0 -0
  71. package/packages/components/cascader/i18n/index.d.ts +7 -0
  72. package/packages/components/cascader/index.js +38 -35
  73. package/packages/components/cascader/index.js.gz +0 -0
  74. package/packages/components/color-picker/i18n/index.d.ts +7 -0
  75. package/packages/components/color-picker/index.js +37 -34
  76. package/packages/components/color-picker/index.js.gz +0 -0
  77. package/packages/components/custom-search-item/i18n/index.d.ts +7 -0
  78. package/packages/components/custom-search-item/index.js +27 -24
  79. package/packages/components/custom-search-item/index.js.gz +0 -0
  80. package/packages/components/date-picker/i18n/index.d.ts +15 -0
  81. package/packages/components/date-picker/index.js +81 -76
  82. package/packages/components/date-picker/index.js.gz +0 -0
  83. package/packages/components/dialog/i18n/index.d.ts +6 -6
  84. package/packages/components/dialog/index.js +58 -58
  85. package/packages/components/dialog/index.js.gz +0 -0
  86. package/packages/components/dimple-layout/i18n/index.d.ts +43 -0
  87. package/packages/components/dimple-layout/index.js +1077 -1064
  88. package/packages/components/dimple-layout/index.js.gz +0 -0
  89. package/packages/components/dropdown/i18n/index.d.ts +7 -0
  90. package/packages/components/dropdown/index.js +32 -29
  91. package/packages/components/dropdown/index.js.gz +0 -0
  92. package/packages/components/empty/index.js +14 -16
  93. package/packages/components/empty/index.js.gz +0 -0
  94. package/packages/components/image-upload/i18n/index.d.ts +27 -3
  95. package/packages/components/image-upload/index.js +84 -78
  96. package/packages/components/image-upload/index.js.gz +0 -0
  97. package/packages/components/image-viewer/i18n/index.d.ts +31 -0
  98. package/packages/components/image-viewer/index.js +246 -237
  99. package/packages/components/image-viewer/index.js.gz +0 -0
  100. package/packages/components/input/i18n/index.d.ts +15 -0
  101. package/packages/components/input/index.js +50 -45
  102. package/packages/components/input/index.js.gz +0 -0
  103. package/packages/components/input-dialog-select/i18n/index.d.ts +1 -1
  104. package/packages/components/input-dialog-select/index.js +20 -23
  105. package/packages/components/input-dialog-select/index.js.gz +0 -0
  106. package/packages/components/live-player/i18n/index.d.ts +15 -0
  107. package/packages/components/live-player/index.js +15 -9
  108. package/packages/components/live-player/index.js.gz +0 -0
  109. package/packages/components/loading/i18n/index.d.ts +7 -0
  110. package/packages/components/loading/index.js +93 -90
  111. package/packages/components/loading/index.js.gz +0 -0
  112. package/packages/components/map/i18n/index.d.ts +23 -0
  113. package/packages/components/map/index.js +355 -347
  114. package/packages/components/map/index.js.gz +0 -0
  115. package/packages/components/menu-aside/i18n/index.d.ts +7 -0
  116. package/packages/components/menu-aside/index.js +150 -147
  117. package/packages/components/menu-aside/index.js.gz +0 -0
  118. package/packages/components/message/i18n/index.d.ts +7 -0
  119. package/packages/components/message/index.js +17 -14
  120. package/packages/components/message/index.js.gz +0 -0
  121. package/packages/components/notification/i18n/index.d.ts +7 -0
  122. package/packages/components/notification/index.js +10 -7
  123. package/packages/components/notification/index.js.gz +0 -0
  124. package/packages/components/pagination/i18n/index.d.ts +19 -0
  125. package/packages/components/pagination/index.js +81 -75
  126. package/packages/components/pagination/index.js.gz +0 -0
  127. package/packages/components/popover/i18n/index.d.ts +2 -2
  128. package/packages/components/preview/i18n/index.d.ts +1 -1
  129. package/packages/components/preview/index.js +1 -1
  130. package/packages/components/preview/index.js.gz +0 -0
  131. package/packages/components/rich-editor/i18n/index.d.ts +10 -3
  132. package/packages/components/rich-editor/index.js +4 -3
  133. package/packages/components/rich-editor/index.js.gz +0 -0
  134. package/packages/components/search/i18n/index.d.ts +25 -1
  135. package/packages/components/search/index.js +31 -28
  136. package/packages/components/search/index.js.gz +0 -0
  137. package/packages/components/select/i18n/index.d.ts +23 -0
  138. package/packages/components/select/index.js +204 -197
  139. package/packages/components/select/index.js.gz +0 -0
  140. package/packages/components/select-list/i18n/index.d.ts +4 -4
  141. package/packages/components/select-list/index.js +4 -4
  142. package/packages/components/select-list/index.js.gz +0 -0
  143. package/packages/components/special-range-picker-month/i18n/index.d.ts +4 -4
  144. package/packages/components/special-range-picker-month/index.js +15 -15
  145. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  146. package/packages/components/special-range-picker-year/i18n/index.d.ts +3 -3
  147. package/packages/components/special-range-picker-year/index.js +81 -81
  148. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  149. package/packages/components/spin/i18n/index.d.ts +7 -0
  150. package/packages/components/spin/index.js +35 -32
  151. package/packages/components/spin/index.js.gz +0 -0
  152. package/packages/components/table/i18n/index.d.ts +72 -2
  153. package/packages/components/table/index.js +1245 -1225
  154. package/packages/components/table/index.js.gz +0 -0
  155. package/packages/components/tabs/i18n/index.d.ts +15 -0
  156. package/packages/components/tabs/index.js +70 -65
  157. package/packages/components/tabs/index.js.gz +0 -0
  158. package/packages/components/time-line/i18n/index.d.ts +1 -1
  159. package/packages/components/time-line/index.js +6 -9
  160. package/packages/components/time-line/index.js.gz +0 -0
  161. package/packages/components/tooltip/i18n/index.d.ts +7 -0
  162. package/packages/components/tooltip/index.js +38 -35
  163. package/packages/components/tooltip/index.js.gz +0 -0
  164. package/packages/components/tree/i18n/index.d.ts +35 -0
  165. package/packages/components/tree/index.js +692 -682
  166. package/packages/components/tree/index.js.gz +0 -0
  167. package/packages/components/upload/i18n/index.d.ts +5 -5
  168. package/packages/components/upload/index.js +50 -50
  169. package/packages/components/upload/index.js.gz +0 -0
  170. package/packages/components/virtual-tree/i18n/index.d.ts +7 -0
  171. package/packages/components/virtual-tree/index.js +35 -31
  172. package/packages/components/virtual-tree/index.js.gz +0 -0
  173. package/packages/icons/edit-3/index.d.ts +1 -0
  174. package/packages/icons/edit-3/index.js +17 -0
  175. package/packages/icons/edit-3/index.js.gz +0 -0
  176. package/packages/icons/edit-3/index.vue.d.ts +16 -0
  177. package/packages/icons/index.d.ts +2 -0
  178. package/packages/icons/index.js +2 -0
  179. package/packages/icons/right-3/index.d.ts +1 -0
  180. package/packages/icons/right-3/index.js +17 -0
  181. package/packages/icons/right-3/index.js.gz +0 -0
  182. package/packages/icons/right-3/index.vue.d.ts +16 -0
@@ -1,31 +1,31 @@
1
1
  import '@das-fed/ui/packages/components/select/style.css';
2
2
  import { withInstall as Se } from "@das-fed/utils/with-install/index";
3
- import { defineComponent as Ve, useCssVars as ro, ref as n, computed as f, useSlots as no, onMounted as re, onUnmounted as ye, watchEffect as ne, watch as xe, nextTick as I, resolveComponent as io, openBlock as u, createElementBlock as b, normalizeClass as uo, normalizeStyle as S, createVNode as w, unref as r, withCtx as p, withDirectives as U, createTextVNode as B, toDisplayString as c, createBlock as W, mergeProps as Be, isRef as co, withModifiers as X, createSlots as vo, renderSlot as C, normalizeProps as j, guardReactiveProps as G, Fragment as J, createCommentVNode as z, createElementVNode as m, withKeys as fo, Teleport as po } from "vue";
4
- import { Select as mo, Tag as ie } from "ant-design-vue";
3
+ import { defineComponent as ze, useCssVars as rl, ref as n, computed as f, useSlots as nl, onMounted as re, onUnmounted as ye, watchEffect as ne, watch as xe, nextTick as I, resolveComponent as il, openBlock as u, createElementBlock as b, normalizeClass as ul, normalizeStyle as S, createVNode as w, unref as r, withCtx as p, withDirectives as U, createTextVNode as N, toDisplayString as c, createBlock as R, mergeProps as Ne, isRef as dl, withModifiers as X, createSlots as cl, renderSlot as C, normalizeProps as j, guardReactiveProps as G, Fragment as J, createCommentVNode as V, createElementVNode as m, withKeys as vl, Teleport as fl } from "vue";
4
+ import { Select as pl, Tag as ie } from "ant-design-vue";
5
5
  import "ant-design-vue/es/select/style/css";
6
6
  import { DasCheckbox as we } from "@das-fed/ui/packages/components/checkbox/index";
7
7
  import { vScrollbar as Ce } from "@das-fed/ui/packages/components/scrollbar/index";
8
- import { DasTooltip as bo } from "@das-fed/ui/packages/components/tooltip/index";
8
+ import { DasTooltip as ml } from "@das-fed/ui/packages/components/tooltip/index";
9
9
  import { vDasTooltip as ke } from "@das-fed/ui/packages/components/text-tooltip/index";
10
- import { DasInput as ho } from "@das-fed/ui/packages/components/input/index";
11
- import { DasIconXiala as go } from "@das-fed/ui/packages/icons/xiala/index";
12
- import { DasIconEmpty as yo } from "@das-fed/ui/packages/icons/empty/index";
13
- import { vHoverInside as xo } from "@das-fed/utils/directive";
14
- import { getVarValue as Te, getVar as Ie, setThemeRule as wo } from "@das-fed/web/packages/theme/index";
15
- import { useZIndex as Co } from "@das-fed/utils/hooks/popup-manager/use-zindex";
16
- import { t as V } from "@das-fed/web/packages/i18n/index";
17
- import { useModelValue as ko } from "@das-fed/utils/vue";
18
- import { SelectOption as To } from "ant-design-vue/es";
19
- const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow: "hidden" } }, So = { key: 0 }, Vo = { class: "das-multiple-option-item" }, Bo = { style: { display: "inline-block" } }, zo = { key: 0 }, Mo = { key: 2 }, _o = { style: { display: "inline-block" } }, Fo = { class: "das-ui-dropdown-has-checked" }, No = { class: "key" }, $o = {
10
+ import { DasInput as bl } from "@das-fed/ui/packages/components/input/index";
11
+ import { DasIconXiala as hl } from "@das-fed/ui/packages/icons/xiala/index";
12
+ import { DasIconEmpty as gl } from "@das-fed/ui/packages/icons/empty/index";
13
+ import { vHoverInside as yl } from "@das-fed/utils/directive";
14
+ import { getVarValue as Te, getVar as Ie, setThemeRule as xl } from "@das-fed/web/packages/theme/index";
15
+ import { useZIndex as wl } from "@das-fed/utils/hooks/popup-manager/use-zindex";
16
+ import { t as z, setI18nRule as Cl } from "@das-fed/web/packages/i18n/index";
17
+ import { useModelValue as kl } from "@das-fed/utils/vue";
18
+ import { SelectOption as Tl } from "ant-design-vue/es";
19
+ const Il = { style: { "max-height": "200px", "word-break": "break-all", overflow: "hidden" } }, Sl = { key: 0 }, zl = { class: "das-multiple-option-item" }, Nl = { style: { display: "inline-block" } }, Vl = { key: 0 }, Bl = { key: 2 }, Ml = { style: { display: "inline-block" } }, _l = { class: "das-ui-dropdown-has-checked" }, Fl = { class: "key" }, $l = {
20
20
  key: 0,
21
21
  class: "das-select-error-label-content das-select-label-content"
22
- }, Do = { class: "ant-select ant-select-multiple ant-select-selection-overflow-item ant-select-selection-overflow-item-rest" }, Lo = { class: "ant-select-selection-item" }, Oo = { class: "ant-select-selection-item-content" }, Po = Ve({
22
+ }, Dl = { class: "ant-select ant-select-multiple ant-select-selection-overflow-item ant-select-selection-overflow-item-rest" }, Ll = { class: "ant-select-selection-item" }, Ol = { class: "ant-select-selection-item-content" }, Al = ze({
23
23
  inheritAttrs: !1,
24
24
  components: {
25
- VNodes: (M, { attrs: D }) => D.vnodes
25
+ VNodes: (B, { attrs: D }) => D.vnodes
26
26
  }
27
- }), Ao = /* @__PURE__ */ Ve({
28
- ...Po,
27
+ }), Pl = /* @__PURE__ */ ze({
28
+ ...Al,
29
29
  __name: "Select",
30
30
  props: {
31
31
  modelValue: { default: void 0 },
@@ -61,21 +61,21 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
61
61
  dropdownMode: {}
62
62
  },
63
63
  emits: ["update:model-value", "change", "focus", "blur", "dropdownVisibleChange", "addCustomItem"],
64
- setup(M, { expose: D, emit: L }) {
65
- ro((e) => ({
64
+ setup(B, { expose: D, emit: L }) {
65
+ rl((e) => ({
66
66
  "3f9602ad": Le.value,
67
67
  cd494dc0: Oe.value
68
68
  }));
69
- const o = M, k = L, s = ko(o, "modelValue"), x = n(!1), Me = f(() => o.placeholder || V("请选择")), _e = f(() => A.value ? A.value.querySelector(".ant-select-selector") : null), ue = n(null), de = f(() => o.dropdownMode ?? o.mode ?? ""), O = n(null), Fe = n(null), P = n(""), Ne = () => {
69
+ const l = B, k = L, s = kl(l, "modelValue"), x = n(!1), Be = f(() => l.placeholder || z("请选择")), Me = f(() => P.value ? P.value.querySelector(".ant-select-selector") : null), ue = n(null), de = f(() => l.dropdownMode ?? l.mode ?? ""), O = n(null), _e = n(null), A = n(""), Fe = () => {
70
70
  O.value = !0;
71
71
  }, $e = () => {
72
72
  O.value = null;
73
73
  }, ce = () => {
74
- P.value && (k("addCustomItem", P.value), P.value = "", o.mode === "combobox" ? I(() => {
74
+ A.value && (k("addCustomItem", A.value), A.value = "", l.mode === "combobox" ? I(() => {
75
75
  h.value.focus();
76
76
  }) : h.value.focus());
77
- }, ve = no(), Q = () => {
78
- o.mode === "combobox" && o.dropdownMode === "custom" && !ve.dropdownRender && (O.value = !1, I(() => {
77
+ }, ve = nl(), Q = () => {
78
+ l.mode === "combobox" && l.dropdownMode === "custom" && !ve.dropdownRender && (O.value = !1, I(() => {
79
79
  O.value = null;
80
80
  }));
81
81
  };
@@ -84,11 +84,11 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
84
84
  }), ye(() => {
85
85
  document.removeEventListener("click", Q);
86
86
  });
87
- const h = n(), fe = n(), R = n(!1), Y = f(() => O.value !== null ? O.value : o.open === void 0 ? o.mode === "combobox" ? void 0 : R.value : o.open), _ = 1e6, i = n(100), v = n(100), F = n(!1), ee = n(!0), oe = n(!1);
87
+ const h = n(), fe = n(), W = n(!1), Y = f(() => O.value !== null ? O.value : l.open === void 0 ? l.mode === "combobox" ? void 0 : W.value : l.open), M = 1e6, i = n(100), v = n(100), _ = n(!1), ee = n(!0), le = n(!1);
88
88
  ne(() => {
89
- s.value && o.mode == "combobox" && (ee.value = !0, setTimeout(() => {
90
- var l;
91
- let e = (l = h.value) == null ? void 0 : l.$el.querySelectorAll(".ant-select-selection-item");
89
+ s.value && l.mode == "combobox" && (ee.value = !0, setTimeout(() => {
90
+ var o;
91
+ let e = (o = h.value) == null ? void 0 : o.$el.querySelectorAll(".ant-select-selection-item");
92
92
  if (e && e.length > 0)
93
93
  for (let a = 0; a < e.length; a++) {
94
94
  let t = e[a];
@@ -96,7 +96,7 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
96
96
  }
97
97
  }, 300));
98
98
  }), ne(() => {
99
- o.options && (fe.value = o.options.map((e) => (e.title = e.title ? e.title : "", e)));
99
+ l.options && (fe.value = l.options.map((e) => (e.title = e.title ? e.title : "", e)));
100
100
  });
101
101
  const De = () => {
102
102
  setTimeout(async () => {
@@ -104,44 +104,44 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
104
104
  }, 100);
105
105
  };
106
106
  ne(() => {
107
- oe.value === !0 && o.mode != "combobox" && s.value && s.value.length > 0 && o.options.length > 0 && (oe.value = !1, De());
107
+ le.value === !0 && l.mode != "combobox" && s.value && s.value.length > 0 && l.options.length > 0 && (le.value = !1, De());
108
108
  }), re(() => {
109
- oe.value = !0, o.focusOpen || (v.value = 1, i.value = v.value, x.value = !0);
109
+ le.value = !0, l.focusOpen || (v.value = 1, i.value = v.value, x.value = !0);
110
110
  });
111
- const Le = f(() => o.width ? o.width : "230px"), Oe = f(() => o.height ? o.height : "auto"), pe = n(3e3), Pe = f(() => ({
111
+ const Le = f(() => l.width ? l.width : "230px"), Oe = f(() => l.height ? l.height : "auto"), pe = n(3e3), Ae = f(() => ({
112
112
  "z-index": pe.value
113
113
  })), me = f(() => {
114
- var l;
114
+ var o;
115
115
  let e = [];
116
- if (o.mode != "combobox" && Array.isArray(s.value))
116
+ if (l.mode != "combobox" && Array.isArray(s.value))
117
117
  s.value.map((a) => {
118
118
  var d;
119
- let t = (d = o.options) == null ? void 0 : d.find((g) => g[N.value] == a);
119
+ let t = (d = l.options) == null ? void 0 : d.find((g) => g[F.value] == a);
120
120
  t && e.push(t[q.value]);
121
121
  });
122
- else if (o.mode == "combobox" && s.value) {
123
- let a = (l = o.options) == null ? void 0 : l.find((t) => t[N.value] == s.value);
122
+ else if (l.mode == "combobox" && s.value) {
123
+ let a = (o = l.options) == null ? void 0 : o.find((t) => t[F.value] == s.value);
124
124
  a && e.push(a[q.value]);
125
125
  }
126
126
  return e.join("、");
127
- }), Ae = f(() => o.isView ? o.noSetDefaultVal ? "" : "-" : Me.value), Ee = f(() => {
128
- var e, l;
129
- return o.mode === "combobox" ? !1 : !!(Array.isArray(s.value) && ((e = s.value) == null ? void 0 : e.length) == ((l = o.options) == null ? void 0 : l.length));
130
- }), We = f(() => {
131
- var e, l, a;
132
- return o.mode === "combobox" ? !1 : !!(Array.isArray(s.value) && ((e = s.value) == null ? void 0 : e.length) > 0 && ((l = s.value) == null ? void 0 : l.length) < ((a = o.options) == null ? void 0 : a.length));
127
+ }), Pe = f(() => l.isView ? l.noSetDefaultVal ? "" : "-" : Be.value), Ee = f(() => {
128
+ var e, o;
129
+ return l.mode === "combobox" ? !1 : !!(Array.isArray(s.value) && ((e = s.value) == null ? void 0 : e.length) == ((o = l.options) == null ? void 0 : o.length));
133
130
  }), Re = f(() => {
134
- var e, l;
135
- return o.optionFilterProp ? o.optionFilterProp : (e = o.fieldNames) != null && e.label ? (l = o.fieldNames) == null ? void 0 : l.label : "label";
131
+ var e, o, a;
132
+ return l.mode === "combobox" ? !1 : !!(Array.isArray(s.value) && ((e = s.value) == null ? void 0 : e.length) > 0 && ((o = s.value) == null ? void 0 : o.length) < ((a = l.options) == null ? void 0 : a.length));
133
+ }), We = f(() => {
134
+ var e, o;
135
+ return l.optionFilterProp ? l.optionFilterProp : (e = l.fieldNames) != null && e.label ? (o = l.fieldNames) == null ? void 0 : o.label : "label";
136
136
  }), q = f(() => {
137
137
  var e;
138
- return o.fieldNames && o.fieldNames.label ? (e = o.fieldNames) == null ? void 0 : e.label : "label";
139
- }), N = f(() => {
138
+ return l.fieldNames && l.fieldNames.label ? (e = l.fieldNames) == null ? void 0 : e.label : "label";
139
+ }), F = f(() => {
140
140
  var e;
141
- return o.fieldNames && o.fieldNames.value ? (e = o.fieldNames) == null ? void 0 : e.value : "value";
141
+ return l.fieldNames && l.fieldNames.value ? (e = l.fieldNames) == null ? void 0 : e.value : "value";
142
142
  }), qe = f(() => ({
143
- width: typeof o.width == "number" ? o.width + "px" : o.width
144
- })), le = n(!1), K = n({
143
+ width: typeof l.width == "number" ? l.width + "px" : l.width
144
+ })), oe = n(!1), K = n({
145
145
  x: 0,
146
146
  y: 0
147
147
  }), be = n(0), he = f(() => ({
@@ -151,7 +151,7 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
151
151
  "border-radius": "1px",
152
152
  padding: "4px 8px",
153
153
  "box-sizing": "border-box",
154
- "z-index": o.errorModelZIndex
154
+ "z-index": l.errorModelZIndex
155
155
  })), Ke = f(() => ({
156
156
  ...he.value,
157
157
  width: be.value + "px",
@@ -166,87 +166,87 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
166
166
  "word-break": "break-all"
167
167
  }), Ze = () => {
168
168
  var t, d, g;
169
- const { top: e, left: l } = (t = h.value) == null ? void 0 : t.$el.getBoundingClientRect(), a = (d = h.value) == null ? void 0 : d.$el.clientHeight;
170
- be.value = (g = h.value) == null ? void 0 : g.$el.clientWidth, K.value.x = l, K.value.y = e + a;
169
+ const { top: e, left: o } = (t = h.value) == null ? void 0 : t.$el.getBoundingClientRect(), a = (d = h.value) == null ? void 0 : d.$el.clientHeight;
170
+ be.value = (g = h.value) == null ? void 0 : g.$el.clientWidth, K.value.x = o, K.value.y = e + a;
171
171
  }, He = () => {
172
- Ze(), le.value = !0;
172
+ Ze(), oe.value = !0;
173
173
  }, Ue = () => {
174
- le.value = !1;
175
- }, Xe = (e, l) => {
174
+ oe.value = !1;
175
+ }, Xe = (e, o) => {
176
176
  e ? He() : Ue();
177
177
  }, je = (e) => {
178
- e && (pe.value = Co().nextZIndex(), P.value = ""), o.mode == "combobox" && (Z.value = e, e || setTimeout(() => {
179
- var l, a;
180
- (a = (l = h.value) == null ? void 0 : l.blur) == null || a.call(l);
178
+ e && (pe.value = wl().nextZIndex(), A.value = ""), l.mode == "combobox" && (Z.value = e, e || setTimeout(() => {
179
+ var o, a;
180
+ (a = (o = h.value) == null ? void 0 : o.blur) == null || a.call(o);
181
181
  })), k("dropdownVisibleChange", e);
182
182
  }, Ge = (e) => {
183
- let l = e.toString();
184
- return l.length > o.maxTagTextLength && (l = l.substr(0, o.maxTagTextLength) + "..."), l;
185
- }, A = n(), Je = (e) => o.isRenderNode ? A.value : o.getPopupContainer === void 0 ? document.body : o.getPopupContainer(e), Qe = (e) => {
183
+ let o = e.toString();
184
+ return o.length > l.maxTagTextLength && (o = o.substr(0, l.maxTagTextLength) + "..."), o;
185
+ }, P = n(), Je = (e) => l.isRenderNode ? P.value : l.getPopupContainer === void 0 ? document.body : l.getPopupContainer(e), Qe = (e) => {
186
186
  if (e) {
187
187
  Array.isArray(s.value) || (s.value = []);
188
- let l = s.value, a = [];
189
- o.options.forEach((t) => {
190
- !s.value.includes(t[N.value]) && !t.disabled && (l.push(t[N.value]), a.push(t));
191
- }), s.value = l, se(s.value, a);
188
+ let o = s.value, a = [];
189
+ l.options.forEach((t) => {
190
+ !s.value.includes(t[F.value]) && !t.disabled && (o.push(t[F.value]), a.push(t));
191
+ }), s.value = o, se(s.value, a);
192
192
  } else {
193
- let l = s.value;
194
- s.value = l.filter((a) => !!o.options.find((t) => t[N.value] === a).disabled), se(s.value, []);
193
+ let o = s.value;
194
+ s.value = o.filter((a) => !!l.options.find((t) => t[F.value] === a).disabled), se(s.value, []);
195
195
  }
196
196
  }, Ye = (e) => {
197
197
  if (e.className.indexOf("ant-select-multiple") > -1 && e.children[0])
198
198
  return e.children[0];
199
- }, eo = (e) => {
200
- if (o.mode == "combobox") {
199
+ }, el = (e) => {
200
+ if (l.mode == "combobox") {
201
201
  k("focus", e);
202
202
  return;
203
203
  }
204
- R.value = !0, o.focusOpen && !o.isExterControlCount && (i.value = _, x.value = !1), k("focus", e);
205
- }, Z = n(!1), oo = () => {
206
- var e, l;
207
- if (o.mode == "combobox") {
204
+ W.value = !0, l.focusOpen && !l.isExterControlCount && (i.value = M, x.value = !1), k("focus", e);
205
+ }, Z = n(!1), ll = () => {
206
+ var e, o;
207
+ if (l.mode == "combobox") {
208
208
  Z.value || setTimeout(() => {
209
209
  var a, t;
210
210
  (t = (a = h.value) == null ? void 0 : a.blur) == null || t.call(a);
211
211
  });
212
212
  return;
213
213
  }
214
- (l = (e = h.value) == null ? void 0 : e.blur) == null || l.call(e), I(() => {
214
+ (o = (e = h.value) == null ? void 0 : e.blur) == null || o.call(e), I(() => {
215
215
  var a, t;
216
216
  (t = (a = h.value) == null ? void 0 : a.focus) == null || t.call(a);
217
217
  });
218
- }, lo = (e) => {
219
- if (o.mode == "combobox") {
218
+ }, ol = (e) => {
219
+ if (l.mode == "combobox") {
220
220
  I(() => {
221
221
  Z.value = !1;
222
222
  }), k("blur", e);
223
223
  return;
224
224
  }
225
- R.value = !1, o.focusOpen && !o.isExterControlCount && ($(), i.value = v.value, x.value = !0), k("blur", e);
226
- }, to = (e) => {
225
+ W.value = !1, l.focusOpen && !l.isExterControlCount && ($(), i.value = v.value, x.value = !0), k("blur", e);
226
+ }, tl = (e) => {
227
227
  e.onClose(), i.value = 100, I(() => {
228
- o.mode !== "combobox" && Y.value || o.focusOpen && ($(), i.value = v.value, x.value = !0);
228
+ l.mode !== "combobox" && Y.value || l.focusOpen && ($(), i.value = v.value, x.value = !0);
229
229
  });
230
230
  };
231
231
  xe(
232
- () => o.disabled || o.isView,
232
+ () => l.disabled || l.isView,
233
233
  (e) => {
234
- e && o.mode !== "combobox" && (R.value = !1);
234
+ e && l.mode !== "combobox" && (W.value = !1);
235
235
  }
236
236
  );
237
237
  let E = n(!1);
238
- const ao = (e) => {
239
- E.value = e, F.value = !0, I(() => {
240
- F.value = !1, o.focusOpen && ($(), i.value = e ? _ : v.value, x.value = !e);
238
+ const al = (e) => {
239
+ E.value = e, _.value = !0, I(() => {
240
+ _.value = !1, l.focusOpen && ($(), i.value = e ? M : v.value, x.value = !e);
241
241
  });
242
242
  };
243
243
  let H = null;
244
244
  re(() => {
245
245
  H = new IntersectionObserver((e) => {
246
- e && e[0] && e[0].intersectionRatio > 0 && o.focusOpen && i.value === 0 && (i.value = 100, I(() => {
246
+ e && e[0] && e[0].intersectionRatio > 0 && l.focusOpen && i.value === 0 && (i.value = 100, I(() => {
247
247
  $(), i.value = v.value, x.value = !0;
248
248
  }));
249
- }), H.observe(A.value);
249
+ }), H.observe(P.value);
250
250
  }), ye(() => {
251
251
  H && H.disconnect();
252
252
  });
@@ -254,14 +254,14 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
254
254
  var ge;
255
255
  let e = (ge = h.value) == null ? void 0 : ge.$el;
256
256
  if (!e) return;
257
- let l = e == null ? void 0 : e.querySelector(".ant-select-selection-overflow");
258
- if (!l) return;
259
- let a = l.offsetWidth - 5;
260
- o.borderType === "underline" && (a -= 10);
257
+ let o = e == null ? void 0 : e.querySelector(".ant-select-selection-overflow");
258
+ if (!o) return;
259
+ let a = o.offsetWidth - 5;
260
+ l.borderType === "underline" && (a -= 10);
261
261
  const d = Math.ceil(ue.value.querySelector(".ant-tag").offsetWidth) + 4;
262
262
  let g = e.querySelectorAll(".ant-select-selection-overflow-item");
263
263
  if (g.length < 1) return;
264
- i.value = _;
264
+ i.value = M;
265
265
  let T = 0;
266
266
  for (let y = 0; y < g.length - 1 && !g[y].classList.contains("ant-select-selection-overflow-item-rest"); y++)
267
267
  if (T += Math.ceil(g[y].offsetWidth), T <= a - d)
@@ -271,8 +271,8 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
271
271
  break;
272
272
  }
273
273
  if (v.value === 0) {
274
- let y = g[0], so = y.querySelector(".anticon-close") ? 86 : 69;
275
- y && !y.classList.contains("ant-select-selection-overflow-item-rest") && so <= a - d && !ve.tagRender && (v.value = 1, y.classList.add("ellipsis"));
274
+ let y = g[0], sl = y.querySelector(".anticon-close") ? 86 : 69;
275
+ y && !y.classList.contains("ant-select-selection-overflow-item-rest") && sl <= a - d && !ve.tagRender && (v.value = 1, y.classList.add("ellipsis"));
276
276
  }
277
277
  }, ae = n(!1);
278
278
  xe(
@@ -282,43 +282,43 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
282
282
  ae.value = !1;
283
283
  return;
284
284
  }
285
- o.mode !== "combobox" && Y.value || (F.value = !0, i.value = _, await I(), await $(), F.value = !1, o.isExterControlCount && o.focusOpen ? (i.value = E.value ? _ : v.value, x.value = !E.value) : (i.value = v.value, x.value = !0));
285
+ l.mode !== "combobox" && Y.value || (_.value = !0, i.value = M, await I(), await $(), _.value = !1, l.isExterControlCount && l.focusOpen ? (i.value = E.value ? M : v.value, x.value = !E.value) : (i.value = v.value, x.value = !0));
286
286
  }
287
287
  );
288
- const se = async (e, l) => {
289
- ae.value = !0, o.mode === "combobox" && (Q(), Z.value = !1);
288
+ const se = async (e, o) => {
289
+ ae.value = !0, l.mode === "combobox" && (Q(), Z.value = !1);
290
290
  const a = e;
291
- o.noDropdown && o.maxTagsLength < a.length && a.pop(), F.value = !0, k("update:model-value", a), k("change", a, l), i.value = _, await I(), await $(), F.value = !1, o.isExterControlCount && o.focusOpen && (i.value = E.value ? _ : v.value, x.value = !E.value), o.focusOpen || (i.value = v.value);
291
+ l.noDropdown && l.maxTagsLength < a.length && a.pop(), _.value = !0, k("update:model-value", a), k("change", a, o), i.value = M, await I(), await $(), _.value = !1, l.isExterControlCount && l.focusOpen && (i.value = E.value ? M : v.value, x.value = !E.value), l.focusOpen || (i.value = v.value);
292
292
  };
293
293
  return D({
294
294
  $select: h,
295
- toChangeMaxCount: ao
296
- }), (e, l) => {
297
- const a = io("v-nodes");
295
+ toChangeMaxCount: al
296
+ }), (e, o) => {
297
+ const a = il("v-nodes");
298
298
  return u(), b(
299
299
  "div",
300
300
  {
301
- class: uo(["das-ui-select", [
302
- o.borderType,
303
- o.isView ? "readonly" : "",
304
- o.error ? "is-error" : "",
301
+ class: ul(["das-ui-select", [
302
+ l.borderType,
303
+ l.isView ? "readonly" : "",
304
+ l.error ? "is-error" : "",
305
305
  x.value ? "show-ellipsis" : ""
306
306
  ]]),
307
307
  ref_key: "$selectBox",
308
- ref: A,
308
+ ref: P,
309
309
  style: S(qe.value)
310
310
  },
311
311
  [
312
- w(r(bo), {
312
+ w(r(ml), {
313
313
  placement: "top",
314
314
  trigger: "hover",
315
315
  "virtual-triggering": "",
316
- "virtual-ref": _e.value,
317
- disabled: !e.isTooltip || F.value || !me.value || !ee.value
316
+ "virtual-ref": Me.value,
317
+ disabled: !e.isTooltip || _.value || !me.value || !ee.value
318
318
  }, {
319
319
  content: p(() => [
320
- U((u(), b("div", Io, [
321
- B(
320
+ U((u(), b("div", Il, [
321
+ N(
322
322
  c(me.value),
323
323
  1
324
324
  /* TEXT */
@@ -330,50 +330,50 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
330
330
  _: 1
331
331
  /* STABLE */
332
332
  }, 8, ["virtual-ref", "disabled"]),
333
- U((u(), W(r(mo), Be(e.$attrs, {
333
+ U((u(), R(r(pl), Ne(e.$attrs, {
334
334
  value: r(s),
335
- "onUpdate:value": l[4] || (l[4] = (t) => co(s) ? s.value = t : null),
335
+ "onUpdate:value": o[4] || (o[4] = (t) => dl(s) ? s.value = t : null),
336
336
  ref_key: "$select",
337
337
  ref: h,
338
338
  options: fe.value,
339
339
  mode: e.mode,
340
340
  fieldNames: e.fieldNames,
341
- bordered: o.borderType === "bordered",
342
- disabled: o.disabled || o.isView,
341
+ bordered: l.borderType === "bordered",
342
+ disabled: l.disabled || l.isView,
343
343
  showArrow: !0,
344
- open: o.noDropdown ? !1 : Y.value,
345
- placeholder: Ae.value,
346
- optionFilterProp: Re.value,
347
- size: o.size == "middle" ? "defalut" : o.size == "mini" ? "small" : o.size,
348
- style: o.size == "mini" || o.size == "table" ? { fontSize: "12px" } : {},
344
+ open: l.noDropdown ? !1 : Y.value,
345
+ placeholder: Pe.value,
346
+ optionFilterProp: We.value,
347
+ size: l.size == "middle" ? "defalut" : l.size == "mini" ? "small" : l.size,
348
+ style: l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {},
349
349
  dropdownClassName: "das-ui-select-dorpdown " + e.dropdownClassName,
350
350
  maxTagCount: i.value,
351
351
  getPopupContainer: Je,
352
- dropdownStyle: Pe.value,
352
+ dropdownStyle: Ae.value,
353
353
  onDropdownVisibleChange: je,
354
354
  onChange: se,
355
- onFocus: eo,
355
+ onFocus: el,
356
356
  onClick: [
357
- oo,
358
- l[5] || (l[5] = X(() => {
357
+ ll,
358
+ o[5] || (o[5] = X(() => {
359
359
  }, ["stop"]))
360
360
  ],
361
- onBlur: lo
362
- }), vo({
361
+ onBlur: ol
362
+ }), cl({
363
363
  option: p((t) => [
364
364
  C(e.$slots, "option", j(G(t)), () => {
365
365
  var d;
366
366
  return [
367
- t.children && typeof t.children == "function" ? (u(), W(a, {
367
+ t.children && typeof t.children == "function" ? (u(), R(a, {
368
368
  key: 0,
369
369
  vnodes: t.children()
370
370
  }, null, 8, ["vnodes"])) : (u(), b(
371
371
  J,
372
372
  { key: 1 },
373
373
  [
374
- z(' :option="{value, label, [disabled, key, title]}" '),
375
- e.mode === "combobox" ? U((u(), b("div", So, [
376
- B(
374
+ V(' :option="{value, label, [disabled, key, title]}" '),
375
+ e.mode === "combobox" ? U((u(), b("div", Sl, [
376
+ N(
377
377
  c(t[q.value]),
378
378
  1
379
379
  /* TEXT */
@@ -384,16 +384,16 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
384
384
  J,
385
385
  { key: 1 },
386
386
  [
387
- z(` <das-tooltip v-if="mode === 'combobox'" placement="right-start" :text="option[labelKeyName]"></das-tooltip> `),
388
- m("div", Vo, [
389
- (u(), W(r(we), {
387
+ V(` <das-tooltip v-if="mode === 'combobox'" placement="right-start" :text="option[labelKeyName]"></das-tooltip> `),
388
+ m("div", zl, [
389
+ (u(), R(r(we), {
390
390
  class: "das-select-checkbox",
391
- modelValue: (d = r(s)) == null ? void 0 : d.includes(t[N.value]),
392
- key: t[N.value],
391
+ modelValue: (d = r(s)) == null ? void 0 : d.includes(t[F.value]),
392
+ key: t[F.value],
393
393
  disabled: t.disabled
394
394
  }, null, 8, ["modelValue", "disabled"])),
395
- U((u(), b("div", Bo, [
396
- B(
395
+ U((u(), b("div", Nl, [
396
+ N(
397
397
  c(t[q.value]),
398
398
  1
399
399
  /* TEXT */
@@ -418,14 +418,14 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
418
418
  w(r(ie), {
419
419
  closable: t.closable,
420
420
  style: { "margin-right": "3px", "background-color": "transparent" },
421
- onClose: (d) => to(t)
421
+ onClose: (d) => tl(t)
422
422
  }, {
423
423
  default: p(() => [
424
424
  m(
425
425
  "span",
426
426
  {
427
427
  class: "tag-span",
428
- style: S(o.size == "mini" || o.size == "table" ? { fontSize: "12px" } : {})
428
+ style: S(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
429
429
  },
430
430
  c(Ge(t.label)),
431
431
  5
@@ -441,11 +441,11 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
441
441
  C(e.$slots, "dropdownRender", j(G({ menuNode: t })), () => {
442
442
  var d, g;
443
443
  return [
444
- de.value === "combobox" ? (u(), b("div", zo, [
444
+ de.value === "combobox" ? (u(), b("div", Vl, [
445
445
  w(a, { vnodes: t }, null, 8, ["vnodes"])
446
446
  ])) : de.value === "custom" ? (u(), b("div", {
447
447
  key: 1,
448
- onClick: l[2] || (l[2] = X(() => {
448
+ onClick: o[2] || (o[2] = X(() => {
449
449
  }, ["stop"]))
450
450
  }, [
451
451
  w(a, { vnodes: t }, null, 8, ["vnodes"]),
@@ -453,16 +453,16 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
453
453
  "div",
454
454
  {
455
455
  class: "customDropdown",
456
- onMousedown: l[1] || (l[1] = (T) => T.preventDefault())
456
+ onMousedown: o[1] || (o[1] = (T) => T.preventDefault())
457
457
  },
458
458
  [
459
- w(r(ho), {
459
+ w(r(bl), {
460
460
  ref_key: "testInput",
461
- ref: Fe,
462
- modelValue: P.value,
463
- "onUpdate:modelValue": l[0] || (l[0] = (T) => P.value = T),
464
- onKeyup: fo(ce, ["enter"]),
465
- onFocus: X(Ne, ["stop"]),
461
+ ref: _e,
462
+ modelValue: A.value,
463
+ "onUpdate:modelValue": o[0] || (o[0] = (T) => A.value = T),
464
+ onKeyup: vl(ce, ["enter"]),
465
+ onFocus: X(Fe, ["stop"]),
466
466
  onBlur: X($e, ["stop"]),
467
467
  width: "100%",
468
468
  borderType: "bordered"
@@ -473,7 +473,7 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
473
473
  class: "addBtn",
474
474
  onClick: ce
475
475
  },
476
- c(r(V)("添加")),
476
+ c(r(z)("添加")),
477
477
  1
478
478
  /* TEXT */
479
479
  )
@@ -481,26 +481,26 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
481
481
  32
482
482
  /* NEED_HYDRATION */
483
483
  )
484
- ])) : (u(), b("div", Mo, [
484
+ ])) : (u(), b("div", Bl, [
485
485
  w(a, { vnodes: t }, null, 8, ["vnodes"]),
486
- (d = o.options) != null && d.length ? (u(), b(
486
+ (d = l.options) != null && d.length ? (u(), b(
487
487
  "div",
488
488
  {
489
489
  key: 0,
490
490
  class: "das-ui-select-dropdown-checkall",
491
- onMousedown: l[3] || (l[3] = (T) => T.preventDefault())
491
+ onMousedown: o[3] || (o[3] = (T) => T.preventDefault())
492
492
  },
493
493
  [
494
- m("div", _o, [
494
+ m("div", Ml, [
495
495
  w(r(we), {
496
496
  modelValue: Ee.value,
497
- indeterminate: We.value,
497
+ indeterminate: Re.value,
498
498
  onChange: Qe,
499
499
  style: { display: "flex" }
500
500
  }, {
501
501
  default: p(() => [
502
- B(
503
- c(r(V)("全选")),
502
+ N(
503
+ c(r(z)("全选")),
504
504
  1
505
505
  /* TEXT */
506
506
  )
@@ -509,21 +509,21 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
509
509
  /* STABLE */
510
510
  }, 8, ["modelValue", "indeterminate"])
511
511
  ]),
512
- m("span", Fo, [
513
- B(
514
- c(r(V)("已选")),
512
+ m("span", _l, [
513
+ N(
514
+ c(r(z)("已选")),
515
515
  1
516
516
  /* TEXT */
517
517
  ),
518
518
  m(
519
519
  "span",
520
- No,
520
+ Fl,
521
521
  c(((g = r(s)) == null ? void 0 : g.length) || 0),
522
522
  1
523
523
  /* TEXT */
524
524
  ),
525
- B(
526
- c(r(V)("项")),
525
+ N(
526
+ c(r(z)("项")),
527
527
  1
528
528
  /* TEXT */
529
529
  )
@@ -531,27 +531,27 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
531
531
  ],
532
532
  32
533
533
  /* NEED_HYDRATION */
534
- )) : z("v-if", !0)
534
+ )) : V("v-if", !0)
535
535
  ]))
536
536
  ];
537
537
  }, !0)
538
538
  ]),
539
539
  clearIcon: p(() => [
540
540
  C(e.$slots, "clearIcon", {}, () => [
541
- w(r(yo), { size: "medium" })
541
+ w(r(gl), { size: "medium" })
542
542
  ], !0)
543
543
  ]),
544
544
  maxTagPlaceholder: p((t) => [
545
545
  C(e.$slots, "maxTagPlaceholder", j(G(t)), () => [
546
- z(" 隐藏tag时显示的内容 "),
546
+ V(" 隐藏tag时显示的内容 "),
547
547
  w(r(ie), {
548
- style: S(o.size == "mini" || o.size == "table" ? { fontSize: "12px" } : {})
548
+ style: S(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
549
549
  }, {
550
550
  default: p(() => {
551
551
  var d;
552
552
  return [
553
- B(
554
- c(r(V)("共")) + c((d = r(s)) == null ? void 0 : d.length) + c(r(V)("项")),
553
+ N(
554
+ c(r(z)("共")) + c((d = r(s)) == null ? void 0 : d.length) + c(r(z)("项")),
555
555
  1
556
556
  /* TEXT */
557
557
  )
@@ -560,12 +560,12 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
560
560
  _: 1
561
561
  /* STABLE */
562
562
  }, 8, ["style"]),
563
- z(" <a-tag>+{{ currValue?.length - maxTagCountCell }}</a-tag> ")
563
+ V(" <a-tag>+{{ currValue?.length - maxTagCountCell }}</a-tag> ")
564
564
  ], !0)
565
565
  ]),
566
566
  suffixIcon: p(() => [
567
567
  C(e.$slots, "suffixIcon", {}, () => [
568
- w(r(go), {
568
+ w(r(hl), {
569
569
  class: "das-suffix-icon",
570
570
  size: "medium"
571
571
  })
@@ -607,9 +607,9 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
607
607
  } : void 0
608
608
  ]), 1040, ["value", "options", "mode", "fieldNames", "bordered", "disabled", "open", "placeholder", "optionFilterProp", "size", "style", "dropdownClassName", "maxTagCount", "dropdownStyle"])), [
609
609
  [r(Ce), { target: Ye, x: !1 }],
610
- [r(xo), Xe]
610
+ [r(yl), Xe]
611
611
  ]),
612
- z(` <div\r
612
+ V(` <div\r
613
613
  :class="[errorMode === 'default' ? 'das-select-error-label-content' : 'das-select-overlay-error-label-content', 'das-select-label-content']"\r
614
614
  v-if="(errorMode === 'default' || (errorMode === 'overlay' && isHoverInInput)) && error && !!errorLabel"\r
615
615
  >\r
@@ -619,7 +619,7 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
619
619
  J,
620
620
  { key: 0 },
621
621
  [
622
- e.errorMode === "default" ? (u(), b("div", $o, [
622
+ e.errorMode === "default" ? (u(), b("div", $l, [
623
623
  m(
624
624
  "span",
625
625
  {
@@ -629,11 +629,11 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
629
629
  5
630
630
  /* TEXT, STYLE */
631
631
  )
632
- ])) : e.errorMode === "overlay" && le.value ? (u(), b(
632
+ ])) : e.errorMode === "overlay" && oe.value ? (u(), b(
633
633
  J,
634
634
  { key: 1 },
635
635
  [
636
- e.teleported ? (u(), W(po, {
636
+ e.teleported ? (u(), R(fl, {
637
637
  key: 0,
638
638
  to: "body"
639
639
  }, [
@@ -680,11 +680,11 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
680
680
  ],
681
681
  64
682
682
  /* STABLE_FRAGMENT */
683
- )) : z("v-if", !0)
683
+ )) : V("v-if", !0)
684
684
  ],
685
685
  64
686
686
  /* STABLE_FRAGMENT */
687
- )) : z("v-if", !0),
687
+ )) : V("v-if", !0),
688
688
  m(
689
689
  "div",
690
690
  {
@@ -694,17 +694,17 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
694
694
  style: { position: "absolute", left: "-50%", top: "-50%", opacity: "0", "pointer-events": "none" }
695
695
  },
696
696
  [
697
- m("div", Do, [
698
- m("div", Lo, [
699
- m("span", Oo, [
697
+ m("div", Dl, [
698
+ m("div", Ll, [
699
+ m("span", Ol, [
700
700
  w(r(ie), {
701
- style: S(o.size == "mini" || o.size == "table" ? { fontSize: "12px" } : {})
701
+ style: S(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
702
702
  }, {
703
703
  default: p(() => {
704
704
  var t;
705
705
  return [
706
- B(
707
- c(r(V)("共")) + c((t = r(s)) == null ? void 0 : t.length) + c(r(V)("项")),
706
+ N(
707
+ c(r(z)("共")) + c((t = r(s)) == null ? void 0 : t.length) + c(r(z)("项")),
708
708
  1
709
709
  /* TEXT */
710
710
  )
@@ -726,23 +726,23 @@ const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow
726
726
  );
727
727
  };
728
728
  }
729
- }), ze = (M, D) => {
730
- const L = M.__vccOpts || M;
731
- for (const [o, k] of D)
732
- L[o] = k;
729
+ }), Ve = (B, D) => {
730
+ const L = B.__vccOpts || B;
731
+ for (const [l, k] of D)
732
+ L[l] = k;
733
733
  return L;
734
- }, Eo = /* @__PURE__ */ ze(Ao, [["__scopeId", "data-v-54d96ecc"]]), Wo = {};
735
- function Ro(M, D) {
736
- const L = To;
737
- return u(), W(
734
+ }, El = /* @__PURE__ */ Ve(Pl, [["__scopeId", "data-v-54d96ecc"]]), Rl = {};
735
+ function Wl(B, D) {
736
+ const L = Tl;
737
+ return u(), R(
738
738
  L,
739
- Be({ class: "das-ui-select-option" }, M.$attrs),
739
+ Ne({ class: "das-ui-select-option" }, B.$attrs),
740
740
  null,
741
741
  16
742
742
  /* FULL_PROPS */
743
743
  );
744
744
  }
745
- const qo = /* @__PURE__ */ ze(Wo, [["render", Ro], ["__scopeId", "data-v-6b03e650"]]), Ko = {
745
+ const ql = /* @__PURE__ */ Ve(Rl, [["render", Wl], ["__scopeId", "data-v-6b03e650"]]), Kl = {
746
746
  "--das-ui-select-color-bg": "#FFFFFF",
747
747
  // 默认背景色
748
748
  "--das-ui-select-color-primary": Ie("--das-ui-color-primary"),
@@ -789,11 +789,18 @@ const qo = /* @__PURE__ */ ze(Wo, [["render", Ro], ["__scopeId", "data-v-6b03e65
789
789
  // 多选框字体大小-lg
790
790
  "--das-ui-select-overlay-error-color": "#FB2323",
791
791
  "--das-ui-select-overlay-error-bg-color": "#FFDBE0"
792
+ }, Zl = {
793
+ 添加: { "zh-CN": "添加", en: "Add" },
794
+ 全选: { "zh-CN": "全选", en: "Select all" },
795
+ 已选: { "zh-CN": "已选", en: "Selected" },
796
+ 项: { "zh-CN": "项", en: "Item(s)" },
797
+ 共: { "zh-CN": "共", en: "Total" }
792
798
  };
793
- wo(Ko);
794
- const il = Se(Eo), ul = Se(qo), dl = { name: "select 选择器" };
799
+ Cl(Zl);
800
+ xl(Kl);
801
+ const uo = Se(El), co = Se(ql), vo = { name: "select 选择器" };
795
802
  export {
796
- il as DasSelect,
797
- ul as DasSelectOption,
798
- dl as default
803
+ uo as DasSelect,
804
+ co as DasSelectOption,
805
+ vo as default
799
806
  };