@das-fed/ui 6.4.0-test.7 → 6.4.0-test.8

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 (109) hide show
  1. package/esm-map.json +3 -1
  2. package/package.json +6 -7
  3. package/packages/business-components/change-pwd/index.js +12 -8
  4. package/packages/business-components/change-pwd/index.js.gz +0 -0
  5. package/packages/business-components/currency-page/index.js +1 -1
  6. package/packages/business-components/currency-page/index.js.gz +0 -0
  7. package/packages/business-components/device-panel/i18n/index.d.ts +24 -0
  8. package/packages/business-components/device-panel/index.js +16507 -15027
  9. package/packages/business-components/device-panel/index.js.gz +0 -0
  10. package/packages/business-components/device-panel/src/apis.d.ts +2 -0
  11. package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/components/attribute.vue.d.ts +2 -0
  12. package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/components/barChart.vue.d.ts +5 -0
  13. package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/components/lineChart.vue.d.ts +5 -0
  14. package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/index.vue.d.ts +11 -0
  15. package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-data-Trends.d.ts +7 -0
  16. package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/components/attribute.vue.d.ts +2 -0
  17. package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/components/barChart.vue.d.ts +5 -0
  18. package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/components/lineChart.vue.d.ts +5 -0
  19. package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/index.vue.d.ts +11 -0
  20. package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-data-Trends.d.ts +7 -0
  21. package/packages/business-components/device-panel/style.css +1 -1
  22. package/packages/business-components/device-panel/style.css.gz +0 -0
  23. package/packages/business-components/echarts/index.js +2 -2
  24. package/packages/business-components/echarts/index.js.gz +0 -0
  25. package/packages/business-components/echarts/style.css +1 -1
  26. package/packages/business-components/export-button/index.js +30 -30
  27. package/packages/business-components/export-button/index.js.gz +0 -0
  28. package/packages/business-components/import-button/i18n/index.d.ts +5 -5
  29. package/packages/business-components/import-button/index.js +59 -59
  30. package/packages/business-components/import-button/index.js.gz +0 -0
  31. package/packages/business-components/import-button/style.css +1 -1
  32. package/packages/business-components/model-table-dialog/index.js +100 -100
  33. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  34. package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +9 -6
  35. package/packages/business-components/payment/index.d.ts +5 -1
  36. package/packages/business-components/payment/index.js +187 -1635
  37. package/packages/business-components/payment/index.js.gz +0 -0
  38. package/packages/business-components/payment/style.css +1 -1
  39. package/packages/business-components/payment/type.d.ts +3 -2
  40. package/packages/business-components/process-configuration/i18n/index.d.ts +0 -10
  41. package/packages/business-components/process-configuration/index.d.ts +2 -0
  42. package/packages/business-components/process-configuration/index.js +55 -60
  43. package/packages/business-components/process-configuration/index.js.gz +0 -0
  44. package/packages/business-components/process-configuration/src/index.vue.d.ts +2 -0
  45. package/packages/business-components/process-configuration/src/type.d.ts +3 -0
  46. package/packages/business-components/process-configuration/style.css +1 -1
  47. package/packages/business-components/process-configuration/style.css.gz +0 -0
  48. package/packages/business-components/process-form/index.js +1 -1
  49. package/packages/business-components/process-form/index.js.gz +0 -0
  50. package/packages/business-components/process-search-form/index.js +2 -2
  51. package/packages/business-components/process-search-form/index.js.gz +0 -0
  52. package/packages/business-components/urgent-panel/index.js +98 -98
  53. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  54. package/packages/components/autocomplete/index.js +23 -24
  55. package/packages/components/autocomplete/index.js.gz +0 -0
  56. package/packages/components/autocomplete/src/index.vue.d.ts +12 -7
  57. package/packages/components/autocomplete/style.css +1 -1
  58. package/packages/components/autocomplete/style.css.gz +0 -0
  59. package/packages/components/checkbox/index.js +149 -137
  60. package/packages/components/checkbox/index.js.gz +0 -0
  61. package/packages/components/checkbox/style.css +1 -1
  62. package/packages/components/checkbox/style.css.gz +0 -0
  63. package/packages/components/edit-table/index.d.ts +3 -3
  64. package/packages/components/edit-table/index.js +1254 -1251
  65. package/packages/components/edit-table/index.js.gz +0 -0
  66. package/packages/components/edit-table/src/index.vue.d.ts +1 -1
  67. package/packages/components/image-upload/index.js +1 -1
  68. package/packages/components/image-upload/index.js.gz +0 -0
  69. package/packages/components/image-viewer/index.js +77 -78
  70. package/packages/components/image-viewer/index.js.gz +0 -0
  71. package/packages/components/live-player/index.js +142 -142
  72. package/packages/components/live-player/index.js.gz +0 -0
  73. package/packages/components/map/index.js +34 -34
  74. package/packages/components/map/index.js.gz +0 -0
  75. package/packages/components/pagination/index.js +101 -98
  76. package/packages/components/pagination/index.js.gz +0 -0
  77. package/packages/components/pagination/style.css +1 -1
  78. package/packages/components/pagination/style.css.gz +0 -0
  79. package/packages/components/popover/index.d.ts +160 -2
  80. package/packages/components/popover/index.js +29 -27
  81. package/packages/components/popover/index.js.gz +0 -0
  82. package/packages/components/search/index.js +1 -1
  83. package/packages/components/search/index.js.gz +0 -0
  84. package/packages/components/search/style.css +1 -1
  85. package/packages/components/search/style.css.gz +0 -0
  86. package/packages/components/search-form/index.js +1 -1
  87. package/packages/components/search-form/index.js.gz +0 -0
  88. package/packages/components/select/index.js +257 -246
  89. package/packages/components/select/index.js.gz +0 -0
  90. package/packages/components/select/style.css +1 -1
  91. package/packages/components/select/style.css.gz +0 -0
  92. package/packages/components/table/index.js +945 -951
  93. package/packages/components/table/index.js.gz +0 -0
  94. package/packages/components/table/style.css +1 -1
  95. package/packages/components/table/style.css.gz +0 -0
  96. package/packages/components/tree/index.js +698 -701
  97. package/packages/components/tree/index.js.gz +0 -0
  98. package/packages/components/tree/src/App.vue.d.ts +8 -7
  99. package/packages/components/tree/src/hooks/use-lazy-tree.d.ts +2 -2
  100. package/packages/components/tree/src/type.d.ts +7 -4
  101. package/packages/components/tree-select/index.js +114 -113
  102. package/packages/components/tree-select/index.js.gz +0 -0
  103. package/packages/components/tree-select/src/App.vue.d.ts +19 -12
  104. package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +18 -12
  105. package/packages/components/tree-select/src/type.d.ts +3 -2
  106. package/packages/components/tree-v2/i18n/index.d.ts +5 -0
  107. package/packages/components/tree-v2/index.js +150 -149
  108. package/packages/components/tree-v2/index.js.gz +0 -0
  109. package/packages/components/image-viewer/i18n/index.d.ts +0 -2
@@ -1,31 +1,31 @@
1
1
  import '@das-fed/ui/packages/components/select/style.css';
2
- import { withInstall as Me } from "@das-fed/utils/with-install/index";
3
- import { defineComponent as ze, useCssVars as nl, computed as d, ref as r, useSlots as il, onMounted as ie, onUnmounted as xe, watchEffect as ue, watch as Ce, nextTick as k, resolveComponent as ul, openBlock as u, createElementBlock as b, normalizeClass as dl, normalizeStyle as T, createVNode as x, unref as n, withCtx as p, withDirectives as U, createTextVNode as X, toDisplayString as I, createBlock as W, mergeProps as _e, isRef as cl, withModifiers as j, createSlots as vl, renderSlot as C, normalizeProps as G, guardReactiveProps as J, Fragment as Q, createCommentVNode as S, createElementVNode as m, withKeys as fl, Teleport as pl } from "vue";
4
- import { Select as ml, Tag as de } from "ant-design-vue";
2
+ import { withInstall as ze } from "@das-fed/utils/with-install/index";
3
+ import { defineComponent as _e, useCssVars as il, computed as d, ref as r, useSlots as ul, onMounted as ue, onUnmounted as we, watchEffect as de, watch as ce, nextTick as k, resolveComponent as dl, openBlock as u, createElementBlock as b, normalizeClass as cl, normalizeStyle as T, createVNode as x, unref as n, withCtx as p, withDirectives as X, createTextVNode as j, toDisplayString as I, createBlock as R, mergeProps as Ne, isRef as vl, withModifiers as G, createSlots as fl, renderSlot as C, normalizeProps as J, guardReactiveProps as Q, Fragment as Y, createCommentVNode as S, createElementVNode as m, withKeys as pl, Teleport as ml } from "vue";
4
+ import { Select as hl, Tag as ve } from "ant-design-vue";
5
5
  import "ant-design-vue/es/select/style/css";
6
6
  import "ant-design-vue/es/tag/style/css";
7
- import { DasCheckbox as we } from "@das-fed/ui/packages/components/checkbox/index";
8
- import { vScrollbar as ke } from "@das-fed/ui/packages/components/scrollbar/index";
9
- import { DasTooltip as hl } from "@das-fed/ui/packages/components/tooltip/index";
10
- import { vDasTooltip as Te } from "@das-fed/ui/packages/components/text-tooltip/index";
11
- import { DasInput as bl } from "@das-fed/ui/packages/components/input/index";
7
+ import { DasCheckbox as ke } from "@das-fed/ui/packages/components/checkbox/index";
8
+ import { vScrollbar as Te } from "@das-fed/ui/packages/components/scrollbar/index";
9
+ import { DasTooltip as bl } from "@das-fed/ui/packages/components/tooltip/index";
10
+ import { vDasTooltip as Ie } from "@das-fed/ui/packages/components/text-tooltip/index";
11
+ import { DasInput as gl } from "@das-fed/ui/packages/components/input/index";
12
12
  import { DasIconXiala as yl } from "@das-fed/ui/packages/icons/xiala/index";
13
- import { DasIconEmpty as gl } from "@das-fed/ui/packages/icons/empty/index";
14
- import { vHoverInside as xl } from "@das-fed/utils/directive";
15
- import { getVarValue as Ie, getVar as Se, setThemeRule as Cl } from "@das-fed/web/packages/theme/index";
16
- import { useZIndex as wl } from "@das-fed/utils/hooks/popup-manager/use-zindex";
17
- import { t as P, setI18nRule as kl } from "@das-fed/web/packages/i18n/index";
18
- import { useModelValue as Tl } from "@das-fed/utils/vue";
19
- import { SelectOption as Il } from "ant-design-vue/es";
20
- const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key: 0 }, zl = { class: "das-multiple-option-item" }, _l = { style: { display: "inline-block" } }, Nl = { key: 0 }, Vl = { key: 2 }, Bl = { style: { display: "inline-block" } }, $l = ["innerHTML"], Fl = ["innerHTML"], Ll = {
13
+ import { DasIconEmpty as xl } from "@das-fed/ui/packages/icons/empty/index";
14
+ import { vHoverInside as Cl } from "@das-fed/utils/directive";
15
+ import { getVarValue as Se, getVar as Me, setThemeRule as wl } from "@das-fed/web/packages/theme/index";
16
+ import { useZIndex as kl } from "@das-fed/utils/hooks/popup-manager/use-zindex";
17
+ import { t as P, setI18nRule as Tl } from "@das-fed/web/packages/i18n/index";
18
+ import { useModelValue as Il } from "@das-fed/utils/vue";
19
+ import { SelectOption as Sl } from "ant-design-vue/es";
20
+ const Ml = { style: { "max-height": "200px", overflow: "hidden" } }, zl = { key: 0 }, _l = { class: "das-multiple-option-item" }, Nl = { style: { display: "inline-block" } }, Vl = { key: 0 }, Bl = { key: 2 }, $l = { style: { display: "inline-block" } }, Ll = ["innerHTML"], Fl = ["innerHTML"], Dl = {
21
21
  key: 0,
22
22
  class: "das-select-error-label-content das-select-label-content"
23
- }, Dl = { class: "ant-select ant-select-multiple ant-select-selection-overflow-item ant-select-selection-overflow-item-rest" }, Pl = { class: "ant-select-selection-item" }, Ol = { class: "ant-select-selection-item-content" }, Al = ["innerHTML"], El = ze({
23
+ }, Ol = { class: "ant-select ant-select-multiple ant-select-selection-overflow-item ant-select-selection-overflow-item-rest" }, Pl = { class: "ant-select-selection-item" }, Al = { class: "ant-select-selection-item-content" }, Wl = ["innerHTML"], El = _e({
24
24
  inheritAttrs: !1,
25
25
  components: {
26
- VNodes: (M, { attrs: $ }) => $.vnodes
26
+ VNodes: (M, { attrs: L }) => L.vnodes
27
27
  }
28
- }), Wl = /* @__PURE__ */ ze({
28
+ }), Rl = /* @__PURE__ */ _e({
29
29
  ...El,
30
30
  __name: "Select",
31
31
  props: {
@@ -62,348 +62,359 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
62
62
  dropdownMode: {}
63
63
  },
64
64
  emits: ["update:model-value", "change", "focus", "blur", "dropdownVisibleChange", "addCustomItem"],
65
- setup(M, { expose: $, emit: F }) {
66
- nl((e) => ({
67
- "5b198268": Pe.value,
68
- "23705e76": Oe.value
65
+ setup(M, { expose: L, emit: F }) {
66
+ il((e) => ({
67
+ "431c7aa2": Pe.value,
68
+ "06a3dfcb": Ae.value
69
69
  }));
70
- const l = M, w = F, s = Tl(l, "modelValue"), Y = d(() => {
70
+ const l = M, w = F, s = Il(l, "modelValue"), ee = d(() => {
71
71
  var e;
72
72
  return `<span class='key'>${((e = s.value) == null ? void 0 : e.length) ?? 0}</span>`;
73
- }), g = r(!1), Ve = d(() => l.placeholder || P("请选择")), Be = d(() => O.value ? O.value.querySelector(".ant-select-selector") : null), ce = r(null), ve = d(() => l.dropdownMode ?? l.mode ?? ""), L = r(null), $e = r(null), D = r(""), Fe = () => {
74
- L.value = !0;
75
- }, Le = () => {
76
- L.value = null;
77
- }, fe = () => {
78
- D.value && (w("addCustomItem", D.value), D.value = "", l.mode === "combobox" ? k(() => {
79
- y.value.focus();
80
- }) : y.value.focus());
81
- }, pe = il(), ee = () => {
82
- l.mode === "combobox" && l.dropdownMode === "custom" && !pe.dropdownRender && (L.value = !1, k(() => {
83
- L.value = null;
73
+ }), y = r(!1), Be = d(() => l.placeholder || P("请选择")), $e = d(() => A.value ? A.value.querySelector(".ant-select-selector") : null), fe = r(null), pe = d(() => l.dropdownMode ?? l.mode ?? ""), D = r(null), Le = r(null), O = r(""), Fe = () => {
74
+ D.value = !0;
75
+ }, De = () => {
76
+ D.value = null;
77
+ };
78
+ let z = null;
79
+ const me = () => {
80
+ if (!O.value) return;
81
+ z && z();
82
+ let e = l.options.length;
83
+ w("addCustomItem", O.value), O.value = "", z = ce(
84
+ () => l.options,
85
+ (o) => {
86
+ o.length !== e && (l.mode === "combobox" ? k(() => {
87
+ g.value.focus(), z && z();
88
+ }) : (g.value.focus(), z && z()));
89
+ },
90
+ { deep: !0 }
91
+ );
92
+ }, he = ul(), le = () => {
93
+ l.mode === "combobox" && l.dropdownMode === "custom" && !he.dropdownRender && (D.value = !1, k(() => {
94
+ D.value = null;
84
95
  }));
85
96
  };
86
- ie(() => {
87
- document.addEventListener("click", ee);
88
- }), xe(() => {
89
- document.removeEventListener("click", ee);
90
- });
91
- const y = r(), me = r(), R = r(!1), le = d(() => L.value !== null ? L.value : l.open === void 0 ? l.mode === "combobox" ? void 0 : R.value : l.open), z = 1e6, i = r(100), c = r(100), _ = r(!1), oe = r(!0), te = r(!1);
92
97
  ue(() => {
93
- s.value && l.mode == "combobox" && (oe.value = !0, setTimeout(() => {
98
+ document.addEventListener("click", le);
99
+ }), we(() => {
100
+ document.removeEventListener("click", le);
101
+ });
102
+ const g = r(), be = r(), H = r(!1), oe = d(() => D.value !== null ? D.value : l.open === void 0 ? l.mode === "combobox" ? void 0 : H.value : l.open), _ = 1e6, i = r(100), c = r(100), N = r(!1), te = r(!0), ae = r(!1);
103
+ de(() => {
104
+ s.value && l.mode == "combobox" && (te.value = !0, setTimeout(() => {
94
105
  var o;
95
- let e = (o = y.value) == null ? void 0 : o.$el.querySelectorAll(".ant-select-selection-item");
106
+ let e = (o = g.value) == null ? void 0 : o.$el.querySelectorAll(".ant-select-selection-item");
96
107
  if (e && e.length > 0)
97
108
  for (let a = 0; a < e.length; a++) {
98
109
  let t = e[a];
99
- t.scrollWidth <= t.offsetWidth && (oe.value = !1), t.title = "";
110
+ t.scrollWidth <= t.offsetWidth && (te.value = !1), t.title = "";
100
111
  }
101
112
  }, 300));
102
- }), ue(() => {
103
- l.options && (me.value = l.options.map((e) => (e.title = e.title ? e.title : "", e)));
113
+ }), de(() => {
114
+ l.options && (be.value = l.options.map((e) => (e.title = e.title ? e.title : "", e)));
104
115
  });
105
- const De = () => {
116
+ const Oe = () => {
106
117
  setTimeout(async () => {
107
- i.value = 100, await V(), i.value = c.value, g.value = !0;
118
+ i.value = 100, await B(), i.value = c.value, y.value = !0;
108
119
  }, 100);
109
120
  };
110
- ue(() => {
111
- te.value === !0 && l.mode != "combobox" && s.value && s.value.length > 0 && l.options.length > 0 && (te.value = !1, De());
112
- }), ie(() => {
113
- te.value = !0, l.focusOpen || (c.value = 1, i.value = c.value, g.value = !0);
121
+ de(() => {
122
+ ae.value === !0 && l.mode != "combobox" && s.value && s.value.length > 0 && l.options.length > 0 && (ae.value = !1, Oe());
123
+ }), ue(() => {
124
+ ae.value = !0, l.focusOpen || (c.value = 1, i.value = c.value, y.value = !0);
114
125
  });
115
- const Pe = d(() => l.width ? l.width : "230px"), Oe = d(() => l.height ? l.height : "auto"), he = r(3e3), Ae = d(() => ({
116
- "z-index": he.value
117
- })), be = d(() => {
126
+ const Pe = d(() => l.width ? l.width : "230px"), Ae = d(() => l.height ? l.height : "auto"), ge = r(3e3), We = d(() => ({
127
+ "z-index": ge.value
128
+ })), ye = d(() => {
118
129
  var o;
119
130
  let e = [];
120
131
  if (l.mode != "combobox" && Array.isArray(s.value))
121
132
  s.value.map((a) => {
122
133
  var h;
123
- let t = (h = l.options) == null ? void 0 : h.find((v) => v[N.value] == a);
124
- t && e.push(t[H.value]);
134
+ let t = (h = l.options) == null ? void 0 : h.find((v) => v[V.value] == a);
135
+ t && e.push(t[q.value]);
125
136
  });
126
137
  else if (l.mode == "combobox" && s.value) {
127
- let a = (o = l.options) == null ? void 0 : o.find((t) => t[N.value] == s.value);
128
- a && e.push(a[H.value]);
138
+ let a = (o = l.options) == null ? void 0 : o.find((t) => t[V.value] == s.value);
139
+ a && e.push(a[q.value]);
129
140
  }
130
141
  return e.join("、");
131
- }), Ee = d(() => l.isView ? l.noSetDefaultVal ? "" : "-" : Ve.value), We = d(() => {
142
+ }), Ee = d(() => l.isView ? l.noSetDefaultVal ? "" : "-" : Be.value), Re = d(() => {
132
143
  var e, o;
133
144
  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));
134
- }), Re = d(() => {
145
+ }), He = d(() => {
135
146
  var e, o, a;
136
147
  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));
137
- }), He = d(() => {
148
+ }), qe = d(() => {
138
149
  var e, o;
139
150
  return l.optionFilterProp ? l.optionFilterProp : (e = l.fieldNames) != null && e.label ? (o = l.fieldNames) == null ? void 0 : o.label : "label";
140
- }), H = d(() => {
151
+ }), q = d(() => {
141
152
  var e;
142
153
  return l.fieldNames && l.fieldNames.label ? (e = l.fieldNames) == null ? void 0 : e.label : "label";
143
- }), N = d(() => {
154
+ }), V = d(() => {
144
155
  var e;
145
156
  return l.fieldNames && l.fieldNames.value ? (e = l.fieldNames) == null ? void 0 : e.value : "value";
146
- }), qe = d(() => ({
157
+ }), Ke = d(() => ({
147
158
  width: typeof l.width == "number" ? l.width + "px" : l.width
148
- })), ae = r(!1), q = r({
159
+ })), se = r(!1), K = r({
149
160
  x: 0,
150
161
  y: 0
151
- }), ye = r(0), ge = d(() => ({
162
+ }), xe = r(0), Ce = d(() => ({
152
163
  "font-size": "12px",
153
- "background-color": Ie("--das-ui-input-number-overlay-error-bg-color").value,
164
+ "background-color": Se("--das-ui-input-number-overlay-error-bg-color").value,
154
165
  "box-shadow": "0px 4px 10px 0px rgba(0, 0, 0, 0.2)",
155
166
  "border-radius": "1px",
156
167
  padding: "4px 8px",
157
168
  "box-sizing": "border-box",
158
169
  "z-index": l.errorModelZIndex
159
- })), Ke = d(() => ({
160
- ...ge.value,
161
- width: ye.value + "px",
170
+ })), Ze = d(() => ({
171
+ ...Ce.value,
172
+ width: xe.value + "px",
162
173
  position: "fixed",
163
174
  visibility: "visible",
164
- top: q.value.y + "px",
165
- left: q.value.x + "px"
166
- })), se = r({
175
+ top: K.value.y + "px",
176
+ left: K.value.x + "px"
177
+ })), re = r({
167
178
  display: "block",
168
- color: Ie("--das-ui-input-error-color").value,
179
+ color: Se("--das-ui-input-error-color").value,
169
180
  "white-space": "break-spaces"
170
181
  // 'word-break': 'break-all',
171
- }), Ze = () => {
172
- var t, h, v, B, E, f;
173
- const { top: e = 0, left: o = 0 } = ((h = (t = y.value) == null ? void 0 : t.$el) == null ? void 0 : h.getBoundingClientRect()) ?? {}, a = (B = (v = y.value) == null ? void 0 : v.$el) == null ? void 0 : B.clientHeight;
174
- ye.value = (f = (E = y.value) == null ? void 0 : E.$el) == null ? void 0 : f.clientWidth, q.value.x = o, q.value.y = e + a;
175
- }, Ue = () => {
176
- Ze(), ae.value = !0;
182
+ }), Ue = () => {
183
+ var t, h, v, $, E, f;
184
+ const { top: e = 0, left: o = 0 } = ((h = (t = g.value) == null ? void 0 : t.$el) == null ? void 0 : h.getBoundingClientRect()) ?? {}, a = ($ = (v = g.value) == null ? void 0 : v.$el) == null ? void 0 : $.clientHeight;
185
+ xe.value = (f = (E = g.value) == null ? void 0 : E.$el) == null ? void 0 : f.clientWidth, K.value.x = o, K.value.y = e + a;
177
186
  }, Xe = () => {
178
- ae.value = !1;
179
- }, je = (e, o) => {
180
- e ? Ue() : Xe();
181
- }, Ge = (e) => {
182
- e && (he.value = wl().nextZIndex(), D.value = ""), l.mode == "combobox" && (K.value = e, e || setTimeout(() => {
187
+ Ue(), se.value = !0;
188
+ }, je = () => {
189
+ se.value = !1;
190
+ }, Ge = (e, o) => {
191
+ e ? Xe() : je();
192
+ }, Je = (e) => {
193
+ e && (ge.value = kl().nextZIndex(), O.value = ""), l.mode == "combobox" && (Z.value = e, e || setTimeout(() => {
183
194
  var o, a;
184
- (a = (o = y.value) == null ? void 0 : o.blur) == null || a.call(o);
195
+ (a = (o = g.value) == null ? void 0 : o.blur) == null || a.call(o);
185
196
  })), w("dropdownVisibleChange", e);
186
- }, Je = (e) => {
197
+ }, Qe = (e) => {
187
198
  let o = e.toString();
188
199
  return o.length > l.maxTagTextLength && (o = o.substr(0, l.maxTagTextLength) + "..."), o;
189
- }, O = r(), Qe = (e) => l.isRenderNode ? O.value : l.getPopupContainer === void 0 ? document.body : l.getPopupContainer(e), Ye = (e) => {
200
+ }, A = r(), Ye = (e) => l.isRenderNode ? A.value : l.getPopupContainer === void 0 ? document.body : l.getPopupContainer(e), el = (e) => {
190
201
  if (e) {
191
202
  Array.isArray(s.value) || (s.value = []);
192
203
  let o = s.value, a = [];
193
204
  l.options.forEach((t) => {
194
- !s.value.includes(t[N.value]) && !t.disabled && (o.push(t[N.value]), a.push(t));
195
- }), s.value = o, ne(s.value, a);
205
+ !s.value.includes(t[V.value]) && !t.disabled && (o.push(t[V.value]), a.push(t));
206
+ }), s.value = o, ie(s.value, a);
196
207
  } else {
197
208
  let o = s.value;
198
- s.value = o.filter((a) => !!l.options.find((t) => t[N.value] === a).disabled), ne(s.value, []);
209
+ s.value = o.filter((a) => !!l.options.find((t) => t[V.value] === a).disabled), ie(s.value, []);
199
210
  }
200
- }, el = (e) => {
211
+ }, ll = (e) => {
201
212
  if (e.className.indexOf("ant-select-multiple") > -1 && e.children[0])
202
213
  return e.children[0];
203
- }, ll = (e) => {
214
+ }, ol = (e) => {
204
215
  if (l.mode == "combobox") {
205
216
  w("focus", e);
206
217
  return;
207
218
  }
208
- R.value = !0, l.focusOpen && !l.isExterControlCount && (i.value = z, g.value = !1), w("focus", e);
209
- }, K = r(!1), ol = () => {
219
+ H.value = !0, l.focusOpen && !l.isExterControlCount && (i.value = _, y.value = !1), w("focus", e);
220
+ }, Z = r(!1), tl = () => {
210
221
  var e, o;
211
222
  if (l.mode == "combobox") {
212
- K.value || setTimeout(() => {
223
+ Z.value || setTimeout(() => {
213
224
  var a, t;
214
- (t = (a = y.value) == null ? void 0 : a.blur) == null || t.call(a);
225
+ (t = (a = g.value) == null ? void 0 : a.blur) == null || t.call(a);
215
226
  });
216
227
  return;
217
228
  }
218
- (o = (e = y.value) == null ? void 0 : e.blur) == null || o.call(e), k(() => {
229
+ (o = (e = g.value) == null ? void 0 : e.blur) == null || o.call(e), k(() => {
219
230
  var a, t;
220
- (t = (a = y.value) == null ? void 0 : a.focus) == null || t.call(a);
231
+ (t = (a = g.value) == null ? void 0 : a.focus) == null || t.call(a);
221
232
  });
222
- }, tl = (e) => {
233
+ }, al = (e) => {
223
234
  if (l.mode == "combobox") {
224
235
  k(() => {
225
- K.value = !1;
236
+ Z.value = !1;
226
237
  }), w("blur", e);
227
238
  return;
228
239
  }
229
- R.value = !1, l.focusOpen && !l.isExterControlCount && (V(), i.value = c.value, g.value = !0), w("blur", e);
230
- }, al = (e) => {
240
+ H.value = !1, l.focusOpen && !l.isExterControlCount && (B(), i.value = c.value, y.value = !0), w("blur", e);
241
+ }, sl = (e) => {
231
242
  e.onClose(), i.value = 100, k(() => {
232
- l.mode !== "combobox" && le.value || l.focusOpen && (V(), i.value = c.value, g.value = !0);
243
+ l.mode !== "combobox" && oe.value || l.focusOpen && (B(), i.value = c.value, y.value = !0);
233
244
  });
234
245
  };
235
- Ce(
246
+ ce(
236
247
  () => l.disabled || l.isView,
237
248
  (e) => {
238
- e && l.mode !== "combobox" && (R.value = !1);
249
+ e && l.mode !== "combobox" && (H.value = !1);
239
250
  }
240
251
  );
241
- let A = r(!1);
242
- const sl = (e) => {
243
- A.value = e, _.value = !0, k(() => {
244
- _.value = !1, l.focusOpen && (V(), i.value = e ? z : c.value, g.value = !e);
252
+ let W = r(!1);
253
+ const rl = (e) => {
254
+ W.value = e, N.value = !0, k(() => {
255
+ N.value = !1, l.focusOpen && (B(), i.value = e ? _ : c.value, y.value = !e);
245
256
  });
246
257
  };
247
- let Z = null;
248
- ie(() => {
249
- Z = new IntersectionObserver((e) => {
258
+ let U = null;
259
+ ue(() => {
260
+ U = new IntersectionObserver((e) => {
250
261
  e && e[0] && e[0].intersectionRatio > 0 && l.focusOpen && i.value === 0 && (i.value = 100, k(() => {
251
- V(), i.value = c.value, g.value = !0;
262
+ B(), i.value = c.value, y.value = !0;
252
263
  }));
253
- }), Z.observe(O.value);
254
- }), xe(() => {
255
- Z && Z.disconnect();
264
+ }), U.observe(A.value);
265
+ }), we(() => {
266
+ U && U.disconnect();
256
267
  });
257
- const V = () => {
268
+ const B = () => {
258
269
  var E;
259
- let e = (E = y.value) == null ? void 0 : E.$el;
270
+ let e = (E = g.value) == null ? void 0 : E.$el;
260
271
  if (!e) return;
261
272
  let o = e == null ? void 0 : e.querySelector(".ant-select-selection-overflow");
262
273
  if (!o) return;
263
274
  let a = o.offsetWidth - 5;
264
275
  l.borderType === "underline" && (a -= 10);
265
- const h = Math.ceil(ce.value.querySelector(".ant-tag").offsetWidth) + 4;
276
+ const h = Math.ceil(fe.value.querySelector(".ant-tag").offsetWidth) + 4;
266
277
  let v = e.querySelectorAll(".ant-select-selection-overflow-item");
267
278
  if (v.length < 1) return;
268
- i.value = z;
269
- let B = 0;
279
+ i.value = _;
280
+ let $ = 0;
270
281
  for (let f = 0; f < v.length - 1 && !v[f].classList.contains("ant-select-selection-overflow-item-rest"); f++)
271
- if (B += Math.ceil(v[f].offsetWidth), B <= a - h)
272
- f >= s.value.length - 1 && B < a ? c.value = s.value.length : c.value = f + 1;
282
+ if ($ += Math.ceil(v[f].offsetWidth), $ <= a - h)
283
+ f >= s.value.length - 1 && $ < a ? c.value = s.value.length : c.value = f + 1;
273
284
  else {
274
- f >= s.value.length - 1 && B < a ? c.value = s.value.length : c.value = f;
285
+ f >= s.value.length - 1 && $ < a ? c.value = s.value.length : c.value = f;
275
286
  break;
276
287
  }
277
288
  if (c.value === 0) {
278
- let f = v[0], rl = f.querySelector(".anticon-close") ? 86 : 69;
279
- f && !f.classList.contains("ant-select-selection-overflow-item-rest") && rl <= a - h && !pe.tagRender && (c.value = 1, f.classList.add("ellipsis"));
289
+ let f = v[0], nl = f.querySelector(".anticon-close") ? 86 : 69;
290
+ f && !f.classList.contains("ant-select-selection-overflow-item-rest") && nl <= a - h && !he.tagRender && (c.value = 1, f.classList.add("ellipsis"));
280
291
  }
281
- }, re = r(!1);
282
- Ce(
292
+ }, ne = r(!1);
293
+ ce(
283
294
  () => s.value,
284
295
  async () => {
285
- if (re.value) {
286
- re.value = !1;
296
+ if (ne.value) {
297
+ ne.value = !1;
287
298
  return;
288
299
  }
289
- l.mode !== "combobox" && le.value || (_.value = !0, i.value = z, await k(), await V(), _.value = !1, l.isExterControlCount && l.focusOpen ? (i.value = A.value ? z : c.value, g.value = !A.value) : (i.value = c.value, g.value = !0));
300
+ l.mode !== "combobox" && oe.value || (N.value = !0, i.value = _, await k(), await B(), N.value = !1, l.isExterControlCount && l.focusOpen ? (i.value = W.value ? _ : c.value, y.value = !W.value) : (i.value = c.value, y.value = !0));
290
301
  }
291
302
  );
292
- const ne = async (e, o) => {
293
- re.value = !0, l.mode === "combobox" && (ee(), K.value = !1);
303
+ const ie = async (e, o) => {
304
+ ne.value = !0, l.mode === "combobox" && (le(), Z.value = !1);
294
305
  const a = e;
295
- l.noDropdown && l.maxTagsLength < a.length && a.pop(), _.value = !0, w("update:model-value", a), w("change", a, o), i.value = z, await k(), await V(), _.value = !1, l.isExterControlCount && l.focusOpen && (i.value = A.value ? z : c.value, g.value = !A.value), l.focusOpen || (i.value = c.value);
306
+ l.noDropdown && l.maxTagsLength < a.length && a.pop(), N.value = !0, w("update:model-value", a), w("change", a, o), i.value = _, await k(), await B(), N.value = !1, l.isExterControlCount && l.focusOpen && (i.value = W.value ? _ : c.value, y.value = !W.value), l.focusOpen || (i.value = c.value);
296
307
  };
297
- return $({
298
- $select: y,
299
- toChangeMaxCount: sl
308
+ return L({
309
+ $select: g,
310
+ toChangeMaxCount: rl
300
311
  }), (e, o) => {
301
- const a = ul("v-nodes");
312
+ const a = dl("v-nodes");
302
313
  return u(), b(
303
314
  "div",
304
315
  {
305
- class: dl(["das-ui-select", [
316
+ class: cl(["das-ui-select", [
306
317
  l.borderType,
307
318
  l.isView ? "readonly" : "",
308
319
  l.error ? "is-error" : "",
309
- g.value ? "show-ellipsis" : ""
320
+ y.value ? "show-ellipsis" : ""
310
321
  ]]),
311
322
  ref_key: "$selectBox",
312
- ref: O,
313
- style: T(qe.value)
323
+ ref: A,
324
+ style: T(Ke.value)
314
325
  },
315
326
  [
316
- x(n(hl), {
327
+ x(n(bl), {
317
328
  placement: "top",
318
329
  trigger: "hover",
319
330
  "virtual-triggering": "",
320
- "virtual-ref": Be.value,
321
- disabled: !e.isTooltip || _.value || !be.value || !oe.value
331
+ "virtual-ref": $e.value,
332
+ disabled: !e.isTooltip || N.value || !ye.value || !te.value
322
333
  }, {
323
334
  content: p(() => [
324
- U((u(), b("div", Sl, [
325
- X(
326
- I(be.value),
335
+ X((u(), b("div", Ml, [
336
+ j(
337
+ I(ye.value),
327
338
  1
328
339
  /* TEXT */
329
340
  )
330
341
  ])), [
331
- [n(ke)]
342
+ [n(Te)]
332
343
  ])
333
344
  ]),
334
345
  _: 1
335
346
  /* STABLE */
336
347
  }, 8, ["virtual-ref", "disabled"]),
337
- U((u(), W(n(ml), _e(e.$attrs, {
348
+ X((u(), R(n(hl), Ne(e.$attrs, {
338
349
  value: n(s),
339
- "onUpdate:value": o[4] || (o[4] = (t) => cl(s) ? s.value = t : null),
350
+ "onUpdate:value": o[4] || (o[4] = (t) => vl(s) ? s.value = t : null),
340
351
  ref_key: "$select",
341
- ref: y,
342
- options: me.value,
352
+ ref: g,
353
+ options: be.value,
343
354
  mode: e.mode,
344
355
  fieldNames: e.fieldNames,
345
356
  bordered: l.borderType === "bordered",
346
357
  disabled: l.disabled || l.isView,
347
358
  showArrow: !0,
348
- open: l.noDropdown ? !1 : le.value,
359
+ open: l.noDropdown ? !1 : oe.value,
349
360
  placeholder: Ee.value,
350
- optionFilterProp: He.value,
361
+ optionFilterProp: qe.value,
351
362
  size: l.size == "middle" ? "defalut" : l.size == "mini" ? "small" : l.size,
352
363
  style: l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {},
353
364
  dropdownClassName: "das-ui-select-dorpdown " + e.dropdownClassName,
354
365
  maxTagCount: i.value,
355
- getPopupContainer: Qe,
356
- dropdownStyle: Ae.value,
357
- onDropdownVisibleChange: Ge,
358
- onChange: ne,
359
- onFocus: ll,
366
+ getPopupContainer: Ye,
367
+ dropdownStyle: We.value,
368
+ onDropdownVisibleChange: Je,
369
+ onChange: ie,
370
+ onFocus: ol,
360
371
  onClick: [
361
- ol,
362
- o[5] || (o[5] = j(() => {
372
+ tl,
373
+ o[5] || (o[5] = G(() => {
363
374
  }, ["stop"]))
364
375
  ],
365
- onBlur: tl
366
- }), vl({
376
+ onBlur: al
377
+ }), fl({
367
378
  option: p((t) => [
368
- C(e.$slots, "option", G(J(t)), () => {
379
+ C(e.$slots, "option", J(Q(t)), () => {
369
380
  var h;
370
381
  return [
371
- t.children && typeof t.children == "function" ? (u(), W(a, {
382
+ t.children && typeof t.children == "function" ? (u(), R(a, {
372
383
  key: 0,
373
384
  vnodes: t.children()
374
385
  }, null, 8, ["vnodes"])) : (u(), b(
375
- Q,
386
+ Y,
376
387
  { key: 1 },
377
388
  [
378
389
  S(' :option="{value, label, [disabled, key, title]}" '),
379
- e.mode === "combobox" ? U((u(), b("div", Ml, [
380
- X(
381
- I(t[H.value]),
390
+ e.mode === "combobox" ? X((u(), b("div", zl, [
391
+ j(
392
+ I(t[q.value]),
382
393
  1
383
394
  /* TEXT */
384
395
  )
385
396
  ])), [
386
- [n(Te)]
397
+ [n(Ie)]
387
398
  ]) : (u(), b(
388
- Q,
399
+ Y,
389
400
  { key: 1 },
390
401
  [
391
402
  S(` <das-tooltip v-if="mode === 'combobox'" placement="right-start" :text="option[labelKeyName]"></das-tooltip> `),
392
- m("div", zl, [
393
- (u(), W(n(we), {
403
+ m("div", _l, [
404
+ (u(), R(n(ke), {
394
405
  class: "das-select-checkbox",
395
- modelValue: (h = n(s)) == null ? void 0 : h.includes(t[N.value]),
396
- key: t[N.value],
406
+ modelValue: (h = n(s)) == null ? void 0 : h.includes(t[V.value]),
407
+ key: t[V.value],
397
408
  disabled: t.disabled
398
409
  }, null, 8, ["modelValue", "disabled"])),
399
- U((u(), b("div", _l, [
400
- X(
401
- I(t[H.value]),
410
+ X((u(), b("div", Nl, [
411
+ j(
412
+ I(t[q.value]),
402
413
  1
403
414
  /* TEXT */
404
415
  )
405
416
  ])), [
406
- [n(Te)]
417
+ [n(Ie)]
407
418
  ])
408
419
  ])
409
420
  ],
@@ -418,11 +429,11 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
418
429
  }, !0)
419
430
  ]),
420
431
  tagRender: p((t) => [
421
- C(e.$slots, "tagRender", G(J(t)), () => [
422
- x(n(de), {
432
+ C(e.$slots, "tagRender", J(Q(t)), () => [
433
+ x(n(ve), {
423
434
  closable: t.closable,
424
435
  style: { "margin-right": "3px", "background-color": "transparent" },
425
- onClose: (h) => al(t)
436
+ onClose: (h) => sl(t)
426
437
  }, {
427
438
  default: p(() => [
428
439
  m(
@@ -431,7 +442,7 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
431
442
  class: "tag-span",
432
443
  style: T(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
433
444
  },
434
- I(Je(t.label)),
445
+ I(Qe(t.label)),
435
446
  5
436
447
  /* TEXT, STYLE */
437
448
  )
@@ -442,14 +453,14 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
442
453
  ], !0)
443
454
  ]),
444
455
  dropdownRender: p(({ menuNode: t }) => [
445
- C(e.$slots, "dropdownRender", G(J({ menuNode: t })), () => {
456
+ C(e.$slots, "dropdownRender", J(Q({ menuNode: t })), () => {
446
457
  var h;
447
458
  return [
448
- ve.value === "combobox" ? (u(), b("div", Nl, [
459
+ pe.value === "combobox" ? (u(), b("div", Vl, [
449
460
  x(a, { vnodes: t }, null, 8, ["vnodes"])
450
- ])) : ve.value === "custom" ? (u(), b("div", {
461
+ ])) : pe.value === "custom" ? (u(), b("div", {
451
462
  key: 1,
452
- onClick: o[2] || (o[2] = j(() => {
463
+ onClick: o[2] || (o[2] = G(() => {
453
464
  }, ["stop"]))
454
465
  }, [
455
466
  x(a, { vnodes: t }, null, 8, ["vnodes"]),
@@ -460,14 +471,14 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
460
471
  onMousedown: o[1] || (o[1] = (v) => v.preventDefault())
461
472
  },
462
473
  [
463
- x(n(bl), {
474
+ x(n(gl), {
464
475
  ref_key: "testInput",
465
- ref: $e,
466
- modelValue: D.value,
467
- "onUpdate:modelValue": o[0] || (o[0] = (v) => D.value = v),
468
- onKeyup: fl(fe, ["enter"]),
469
- onFocus: j(Fe, ["stop"]),
470
- onBlur: j(Le, ["stop"]),
476
+ ref: Le,
477
+ modelValue: O.value,
478
+ "onUpdate:modelValue": o[0] || (o[0] = (v) => O.value = v),
479
+ onKeyup: pl(me, ["enter"]),
480
+ onFocus: G(Fe, ["stop"]),
481
+ onBlur: G(De, ["stop"]),
471
482
  width: "100%",
472
483
  borderType: "bordered"
473
484
  }, null, 8, ["modelValue"]),
@@ -475,7 +486,7 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
475
486
  "div",
476
487
  {
477
488
  class: "addBtn",
478
- onClick: fe
489
+ onClick: me
479
490
  },
480
491
  I(n(P)("添加")),
481
492
  1
@@ -485,7 +496,7 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
485
496
  32
486
497
  /* NEED_HYDRATION */
487
498
  )
488
- ])) : (u(), b("div", Vl, [
499
+ ])) : (u(), b("div", Bl, [
489
500
  x(a, { vnodes: t }, null, 8, ["vnodes"]),
490
501
  (h = l.options) != null && h.length ? (u(), b(
491
502
  "div",
@@ -495,15 +506,15 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
495
506
  onMousedown: o[3] || (o[3] = (v) => v.preventDefault())
496
507
  },
497
508
  [
498
- m("div", Bl, [
499
- x(n(we), {
500
- modelValue: We.value,
501
- indeterminate: Re.value,
502
- onChange: Ye,
509
+ m("div", $l, [
510
+ x(n(ke), {
511
+ modelValue: Re.value,
512
+ indeterminate: He.value,
513
+ onChange: el,
503
514
  style: { display: "flex" }
504
515
  }, {
505
516
  default: p(() => [
506
- X(
517
+ j(
507
518
  I(n(P)("全选")),
508
519
  1
509
520
  /* TEXT */
@@ -515,8 +526,8 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
515
526
  ]),
516
527
  m("span", {
517
528
  class: "das-ui-dropdown-has-checked",
518
- innerHTML: n(P)("das-ui-select-selectedItemsCountWithPlaceholder", Y.value)
519
- }, null, 8, $l)
529
+ innerHTML: n(P)("das-ui-select-selectedItemsCountWithPlaceholder", ee.value)
530
+ }, null, 8, Ll)
520
531
  ],
521
532
  32
522
533
  /* NEED_HYDRATION */
@@ -527,18 +538,18 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
527
538
  ]),
528
539
  clearIcon: p(() => [
529
540
  C(e.$slots, "clearIcon", {}, () => [
530
- x(n(gl), { size: "medium" })
541
+ x(n(xl), { size: "medium" })
531
542
  ], !0)
532
543
  ]),
533
544
  maxTagPlaceholder: p((t) => [
534
- C(e.$slots, "maxTagPlaceholder", G(J(t)), () => [
545
+ C(e.$slots, "maxTagPlaceholder", J(Q(t)), () => [
535
546
  S(" 隐藏tag时显示的内容 "),
536
- x(n(de), {
547
+ x(n(ve), {
537
548
  style: T(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
538
549
  }, {
539
550
  default: p(() => [
540
551
  m("span", {
541
- innerHTML: n(P)("das-ui-select-selectedItemsCountWithPlaceholder", Y.value)
552
+ innerHTML: n(P)("das-ui-select-selectedItemsCountWithPlaceholder", ee.value)
542
553
  }, null, 8, Fl)
543
554
  ]),
544
555
  _: 1
@@ -590,8 +601,8 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
590
601
  key: "3"
591
602
  } : void 0
592
603
  ]), 1040, ["value", "options", "mode", "fieldNames", "bordered", "disabled", "open", "placeholder", "optionFilterProp", "size", "style", "dropdownClassName", "maxTagCount", "dropdownStyle"])), [
593
- [n(ke), { target: el, x: !1 }],
594
- [n(xl), je]
604
+ [n(Te), { target: ll, x: !1 }],
605
+ [n(Cl), Ge]
595
606
  ]),
596
607
  S(` <div\r
597
608
  :class="[errorMode === 'default' ? 'das-select-error-label-content' : 'das-select-overlay-error-label-content', 'das-select-label-content']"\r
@@ -600,37 +611,37 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
600
611
  <span v-if="error" class="das-select-error-label label">{{ errorLabel }}</span>\r
601
612
  </div> `),
602
613
  e.error && e.errorLabel ? (u(), b(
603
- Q,
614
+ Y,
604
615
  { key: 0 },
605
616
  [
606
- e.errorMode === "default" ? (u(), b("div", Ll, [
617
+ e.errorMode === "default" ? (u(), b("div", Dl, [
607
618
  m(
608
619
  "span",
609
620
  {
610
- style: T(se.value)
621
+ style: T(re.value)
611
622
  },
612
623
  I(e.errorLabel),
613
624
  5
614
625
  /* TEXT, STYLE */
615
626
  )
616
- ])) : e.errorMode === "overlay" && ae.value ? (u(), b(
617
- Q,
627
+ ])) : e.errorMode === "overlay" && se.value ? (u(), b(
628
+ Y,
618
629
  { key: 1 },
619
630
  [
620
- e.teleported ? (u(), W(pl, {
631
+ e.teleported ? (u(), R(ml, {
621
632
  key: 0,
622
633
  to: "body"
623
634
  }, [
624
635
  m(
625
636
  "div",
626
637
  {
627
- style: T(Ke.value)
638
+ style: T(Ze.value)
628
639
  },
629
640
  [
630
641
  m(
631
642
  "span",
632
643
  {
633
- style: T(se.value)
644
+ style: T(re.value)
634
645
  },
635
646
  I(e.errorLabel),
636
647
  5
@@ -644,14 +655,14 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
644
655
  "div",
645
656
  {
646
657
  key: 1,
647
- style: T(ge.value),
658
+ style: T(Ce.value),
648
659
  class: "das-select-error-label label"
649
660
  },
650
661
  [
651
662
  m(
652
663
  "span",
653
664
  {
654
- style: T(se.value)
665
+ style: T(re.value)
655
666
  },
656
667
  I(e.errorLabel),
657
668
  5
@@ -674,20 +685,20 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
674
685
  {
675
686
  class: "ant-select-selection-overflow",
676
687
  ref_key: "virtualTotalCount",
677
- ref: ce,
688
+ ref: fe,
678
689
  style: { position: "absolute", left: "-50%", top: "-50%", opacity: "0", "pointer-events": "none" }
679
690
  },
680
691
  [
681
- m("div", Dl, [
692
+ m("div", Ol, [
682
693
  m("div", Pl, [
683
- m("span", Ol, [
684
- x(n(de), {
694
+ m("span", Al, [
695
+ x(n(ve), {
685
696
  style: T(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
686
697
  }, {
687
698
  default: p(() => [
688
699
  m("span", {
689
- innerHTML: n(P)("das-ui-select-selectedItemsCountWithPlaceholder", Y.value)
690
- }, null, 8, Al)
700
+ innerHTML: n(P)("das-ui-select-selectedItemsCountWithPlaceholder", ee.value)
701
+ }, null, 8, Wl)
691
702
  ]),
692
703
  _: 1
693
704
  /* STABLE */
@@ -705,32 +716,32 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
705
716
  );
706
717
  };
707
718
  }
708
- }), Ne = (M, $) => {
719
+ }), Ve = (M, L) => {
709
720
  const F = M.__vccOpts || M;
710
- for (const [l, w] of $)
721
+ for (const [l, w] of L)
711
722
  F[l] = w;
712
723
  return F;
713
- }, Rl = /* @__PURE__ */ Ne(Wl, [["__scopeId", "data-v-602946af"]]), Hl = {};
714
- function ql(M, $) {
715
- const F = Il;
716
- return u(), W(
724
+ }, Hl = /* @__PURE__ */ Ve(Rl, [["__scopeId", "data-v-dbe56523"]]), ql = {};
725
+ function Kl(M, L) {
726
+ const F = Sl;
727
+ return u(), R(
717
728
  F,
718
- _e({ class: "das-ui-select-option" }, M.$attrs),
729
+ Ne({ class: "das-ui-select-option" }, M.$attrs),
719
730
  null,
720
731
  16
721
732
  /* FULL_PROPS */
722
733
  );
723
734
  }
724
- const Kl = /* @__PURE__ */ Ne(Hl, [["render", ql]]), Zl = {
735
+ const Zl = /* @__PURE__ */ Ve(ql, [["render", Kl]]), Ul = {
725
736
  "--das-ui-select-color-bg": "#FFFFFF",
726
737
  // 默认背景色
727
- "--das-ui-select-color-primary": Se("--das-ui-color-primary"),
738
+ "--das-ui-select-color-primary": Me("--das-ui-color-primary"),
728
739
  // 主题色
729
740
  "--das-ui-select-color-text": "#212121",
730
741
  // 主文本色
731
742
  "--das-ui-select-color-border": "#d9d9d9",
732
743
  // 边框基础色
733
- "--das-ui-select-color-underline": Se("--das-ui-color-help"),
744
+ "--das-ui-select-color-underline": Me("--das-ui-color-help"),
734
745
  // 下划线基础色
735
746
  "--das-ui-select-color-error": "#FB2323",
736
747
  // 错误边框色
@@ -768,7 +779,7 @@ const Kl = /* @__PURE__ */ Ne(Hl, [["render", ql]]), Zl = {
768
779
  // 多选框字体大小-lg
769
780
  "--das-ui-select-overlay-error-color": "#FB2323",
770
781
  "--das-ui-select-overlay-error-bg-color": "#FFDBE0"
771
- }, Ul = {
782
+ }, Xl = {
772
783
  添加: { "zh-CN": "添加", en: "Add", _appCode: "framework" },
773
784
  全选: { "zh-CN": "全选", en: "Select All", _appCode: "framework" },
774
785
  已选: { "zh-CN": "已选", en: "Selected", _appCode: "framework" },
@@ -778,11 +789,11 @@ const Kl = /* @__PURE__ */ Ne(Hl, [["render", ql]]), Zl = {
778
789
  _appCode: "framework"
779
790
  }
780
791
  };
781
- kl(Ul);
782
- Cl(Zl);
783
- const fo = Me(Rl), po = Me(Kl), mo = { name: "select 选择器" };
792
+ Tl(Xl);
793
+ wl(Ul);
794
+ const po = ze(Hl), mo = ze(Zl), ho = { name: "select 选择器" };
784
795
  export {
785
- fo as DasSelect,
786
- po as DasSelectOption,
787
- mo as default
796
+ po as DasSelect,
797
+ mo as DasSelectOption,
798
+ ho as default
788
799
  };