fangguo-component 1.1.0 → 1.1.2

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 (67) hide show
  1. package/CHANGELOG.md +36 -1
  2. package/README.md +13 -11
  3. package/dist/{CustomInputV2-DYEcbu5_.js → CustomInputV2-uARhbFc8.js} +12 -12
  4. package/dist/CustomInputV2.css +1 -1
  5. package/dist/DragResizable.css +1 -1
  6. package/dist/DragResizable.vue_vue_type_style_index_0_lang-CHv0gJmo.js +179 -0
  7. package/dist/FgCascader.css +1 -1
  8. package/dist/FgCascader.vue_vue_type_style_index_0_lang-BUZDDcVn.js +1656 -0
  9. package/dist/{HSelect-Bqz2yTMf.js → HSelect-Drf6YBwO.js} +69 -69
  10. package/dist/{HSelectAll.vue_vue_type_script_setup_true_lang-C8i6LF_k.js → HSelectAll.vue_vue_type_script_setup_true_lang-Blq9xpfa.js} +1 -1
  11. package/dist/{HSelectSJ-BieRp2gG.js → HSelectSJ-D3GrXmvj.js} +104 -104
  12. package/dist/SelectTree-Dm5259kY.js +911 -0
  13. package/dist/SelectTree.css +1 -1
  14. package/dist/TextCopy-hOj-Wj2H.js +41 -0
  15. package/dist/TextCopy.css +1 -0
  16. package/dist/VirtualTable-BWugJiQ5.js +349 -0
  17. package/dist/VirtualTable.css +1 -1
  18. package/dist/components/VirtualTable/VirtualTable.vue.d.ts +3 -3
  19. package/dist/components/VirtualTable/index.d.ts +1 -0
  20. package/dist/components/VirtualTable/index.js +1 -1
  21. package/dist/components/cascader/cascader/ElCascader.vue.d.ts +3 -0
  22. package/dist/components/cascader/cascader/FgCascader.vue.d.ts +16 -4
  23. package/dist/components/cascader/cascader/cascader.d.ts +1 -0
  24. package/dist/components/cascader/index.js +1 -1
  25. package/dist/components/citySelect/demos/mockAddressTree.d.ts +8 -0
  26. package/dist/components/customInputV2/CustomInputV2.vue.d.ts +1 -1
  27. package/dist/components/customInputV2/index.js +1 -1
  28. package/dist/components/dragResizable/DragResizable.vue.d.ts +2 -0
  29. package/dist/components/dragResizable/index.js +1 -1
  30. package/dist/components/hSelect/demos/mockApi.d.ts +12 -0
  31. package/dist/components/hSelect/index.js +1 -1
  32. package/dist/components/hSelectAll/demos/mockApi.d.ts +10 -0
  33. package/dist/components/hSelectAll/index.js +1 -1
  34. package/dist/components/hSelectSJ/demos/mockApi.d.ts +11 -0
  35. package/dist/components/hSelectSJ/index.js +1 -1
  36. package/dist/components/index.d.ts +0 -2
  37. package/dist/components/index.js +42 -46
  38. package/dist/components/selectAddress/demos/mockAddressTree.d.ts +7 -0
  39. package/dist/components/selectTimePicker/SelectTimePicker.vue.d.ts +1 -1
  40. package/dist/components/selectTree/demos/treeData.d.ts +9 -0
  41. package/dist/components/selectTree/index.js +1 -1
  42. package/dist/components/textCopy/index.js +1 -1
  43. package/dist/index-BRcBDlVs.js +68 -0
  44. package/dist/index.css +1 -0
  45. package/dist/index.d.ts +4 -2
  46. package/dist/index.js +145 -149
  47. package/dist/vue-virtual-scroller.esm-CH-jx4ri.js +1051 -0
  48. package/package.json +8 -8
  49. package/dist/DragResizable.vue_vue_type_style_index_0_lang-DYL6TUPE.js +0 -167
  50. package/dist/FgCascader.vue_vue_type_style_index_0_lang-OnqaEAao.js +0 -1807
  51. package/dist/SelectTree-C7lBZnZH.js +0 -306
  52. package/dist/SortTransfer.css +0 -1
  53. package/dist/SortTransfer.vue_vue_type_style_index_0_lang-C5OmBF3s.js +0 -153
  54. package/dist/TextCopy.vue_vue_type_script_setup_true_lang-DbhZGH_z.js +0 -29
  55. package/dist/TipInput-CIskitOV.js +0 -117
  56. package/dist/TipInput.css +0 -1
  57. package/dist/VirtualTable-BYTfwDC1.js +0 -353
  58. package/dist/components/sortTransfer/SortTransfer.vue.d.ts +0 -97
  59. package/dist/components/sortTransfer/index.d.ts +0 -1
  60. package/dist/components/sortTransfer/index.js +0 -4
  61. package/dist/components/tipInput/TipInput.vue.d.ts +0 -56
  62. package/dist/components/tipInput/index.d.ts +0 -1
  63. package/dist/components/tipInput/index.js +0 -4
  64. package/dist/debounce-BLrZUqsA.js +0 -84
  65. package/dist/index-BKzmtfeu.js +0 -72
  66. package/dist/isEqual-qYQTJBU6.js +0 -506
  67. package/dist/isObject-CO569sPG.js +0 -35
@@ -1,42 +1,42 @@
1
1
  import './HSelectSJ.css';var de = Object.defineProperty, fe = Object.defineProperties;
2
- var me = Object.getOwnPropertyDescriptors;
2
+ var pe = Object.getOwnPropertyDescriptors;
3
3
  var ue = Object.getOwnPropertySymbols;
4
- var pe = Object.prototype.hasOwnProperty, he = Object.prototype.propertyIsEnumerable;
4
+ var me = Object.prototype.hasOwnProperty, he = Object.prototype.propertyIsEnumerable;
5
5
  var oe = (o, v, c) => v in o ? de(o, v, { enumerable: !0, configurable: !0, writable: !0, value: c }) : o[v] = c, N = (o, v) => {
6
6
  for (var c in v || (v = {}))
7
- pe.call(v, c) && oe(o, c, v[c]);
7
+ me.call(v, c) && oe(o, c, v[c]);
8
8
  if (ue)
9
9
  for (var c of ue(v))
10
10
  he.call(v, c) && oe(o, c, v[c]);
11
11
  return o;
12
- }, X = (o, v) => fe(o, me(v));
13
- var D = (o, v, c) => new Promise((t, p) => {
12
+ }, X = (o, v) => fe(o, pe(v));
13
+ var D = (o, v, c) => new Promise((t, m) => {
14
14
  var M = (h) => {
15
15
  try {
16
16
  a(c.next(h));
17
17
  } catch (d) {
18
- p(d);
18
+ m(d);
19
19
  }
20
20
  }, R = (h) => {
21
21
  try {
22
22
  a(c.throw(h));
23
23
  } catch (d) {
24
- p(d);
24
+ m(d);
25
25
  }
26
26
  }, a = (h) => h.done ? t(h.value) : Promise.resolve(h.value).then(M, R);
27
27
  a((c = c.apply(o, v)).next());
28
28
  });
29
- import { defineComponent as ye, useModel as we, ref as b, watch as A, computed as F, nextTick as K, onUnmounted as ge, onMounted as ke, resolveComponent as Y, openBlock as f, createBlock as q, withCtx as m, createVNode as O, unref as T, createElementBlock as S, createCommentVNode as C, toDisplayString as B, withModifiers as j, renderSlot as Z, createElementVNode as $, normalizeClass as P, normalizeStyle as xe, Fragment as ne, renderList as Se, createTextVNode as ie, withDirectives as be, vModelText as Ce, mergeModels as se } from "vue";
29
+ import { defineComponent as ye, useModel as we, ref as b, watch as A, computed as F, nextTick as K, onUnmounted as ge, onMounted as ke, resolveComponent as Y, openBlock as f, createBlock as q, withCtx as p, createVNode as O, unref as T, createElementBlock as S, createCommentVNode as C, toDisplayString as B, withModifiers as I, renderSlot as Z, createElementVNode as $, normalizeClass as P, normalizeStyle as xe, Fragment as se, renderList as Se, createTextVNode as ne, withDirectives as be, vModelText as Ce, mergeModels as ie } from "vue";
30
30
  import { q as Oe } from "./common-BIEgCXbl.js";
31
31
  import { Check as Le, ArrowDown as Ne, CircleClose as $e } from "@element-plus/icons-vue";
32
32
  import { _ as He } from "./LazyPopover.vue_vue_type_script_setup_true_lang-DcOrcH0T.js";
33
- import { DynamicScroller as ze, DynamicScrollerItem as De } from "vue-virtual-scroller";
34
- import { i as Ke } from "./isEqual-qYQTJBU6.js";
33
+ import { s as ze, a as De } from "./vue-virtual-scroller.esm-CH-jx4ri.js";
34
+ import { isEqual as Ke } from "lodash-unified";
35
35
  import { _ as Te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
36
36
  const Be = {
37
37
  key: 0,
38
38
  class: "select-more-normal-value"
39
- }, Ie = { class: "max-w-[64px] overflow-hidden text-ellipsis" }, Ve = { class: "max-h-[280px] overflow-y-auto" }, je = {
39
+ }, Ve = { class: "max-w-[64px] overflow-hidden text-ellipsis" }, je = { class: "max-h-[280px] overflow-y-auto" }, Ie = {
40
40
  key: 1,
41
41
  class: "select-more-normal-placeholder cursor-default"
42
42
  }, Pe = ["placeholder"], Me = {
@@ -50,7 +50,7 @@ const Be = {
50
50
  class: "text-[12px] text-center leading-[30px] text-[#999] h-[200px] flex items-center justify-center"
51
51
  }, Ae = /* @__PURE__ */ ye({
52
52
  __name: "HSelectSJ",
53
- props: /* @__PURE__ */ se({
53
+ props: /* @__PURE__ */ ie({
54
54
  size: { default: "normal" },
55
55
  disabled: { type: Boolean, default: !1 },
56
56
  api: {},
@@ -75,87 +75,87 @@ const Be = {
75
75
  modelValue: {},
76
76
  modelModifiers: {}
77
77
  }),
78
- emits: /* @__PURE__ */ se(["change", "clear"], ["update:modelValue"]),
78
+ emits: /* @__PURE__ */ ie(["change", "clear"], ["update:modelValue"]),
79
79
  setup(o, { expose: v, emit: c }) {
80
- const t = we(o, "modelValue"), p = c, M = /* @__PURE__ */ Symbol("HSelect"), R = {
80
+ const t = we(o, "modelValue"), m = c, M = /* @__PURE__ */ Symbol("HSelect"), R = {
81
81
  pageNo: "pageNo",
82
82
  pageSize: "pageSize",
83
83
  total: "total",
84
84
  text: "text"
85
- }, a = o, h = b(N(N({}, R), a.sparamsKey)), d = b(!1), s = b(""), H = b(), u = b([]), r = b([]), E = b({
85
+ }, a = o, h = b(N(N({}, R), a.sparamsKey)), d = b(!1), i = b(""), H = b(), u = b([]), r = b([]), E = b({
86
86
  [h.value.pageNo]: 1,
87
87
  [h.value.pageSize]: 20
88
88
  }), _ = b(0), re = b(), U = Oe(() => {
89
- a.filterable && k(!0, s.value);
89
+ a.filterable && k(!0, i.value);
90
90
  });
91
91
  A(() => a.otherParams, (e, l) => {
92
- Ke(e, l) || k(!0, s.value);
92
+ Ke(e, l) || k(!0, i.value);
93
93
  });
94
94
  let ee = null;
95
95
  const g = b("loaded"), k = (e = !1, l = "") => D(null, null, function* () {
96
96
  if (a.unuseremote) {
97
97
  r.value = a.options.filter(
98
- (i) => {
98
+ (n) => {
99
99
  var z;
100
- return (i[V.value] || "").toLocaleLowerCase().includes(s.value.toLocaleLowerCase()) || ((z = i.searchKey || "") == null ? void 0 : z.toLocaleLowerCase().includes(s.value.toLocaleLowerCase()));
100
+ return (n[j.value] || "").toLocaleLowerCase().includes(i.value.toLocaleLowerCase()) || ((z = n.searchKey || "") == null ? void 0 : z.toLocaleLowerCase().includes(i.value.toLocaleLowerCase()));
101
101
  }
102
102
  );
103
103
  return;
104
104
  }
105
- if (e && (E.value[h.value.pageNo] = 1, g.value = "loaded"), l && (s.value = l), g.value !== "loaded")
105
+ if (e && (E.value[h.value.pageNo] = 1, g.value = "loaded"), l && (i.value = l), g.value !== "loaded")
106
106
  return;
107
107
  g.value = "loading";
108
- const n = a.filterable ? N(X(N({}, E.value), { [h.value.text]: s.value }), a.otherParams) : N(N({}, E.value), a.otherParams);
109
- ee = JSON.stringify(n);
108
+ const s = a.filterable ? N(X(N({}, E.value), { [h.value.text]: i.value }), a.otherParams) : N(N({}, E.value), a.otherParams);
109
+ ee = JSON.stringify(s);
110
110
  try {
111
- let i = yield a.api(n);
112
- if (ee !== JSON.stringify(n))
111
+ let n = yield a.api(s);
112
+ if (ee !== JSON.stringify(s))
113
113
  return;
114
- if (a.changeOrgData && (i = a.changeOrgData(i)), r.value = e ? i.data.list : r.value.concat(i.data.list), _.value = i.data[h.value.total], E.value[h.value.pageNo]++, _.value <= r.value.length ? g.value = "isloadall" : g.value = "loaded", l) {
115
- const z = r.value.find((w) => w[V.value] === s.value);
114
+ if (a.changeOrgData && (n = a.changeOrgData(n)), r.value = e ? n.data.list : r.value.concat(n.data.list), _.value = n.data[h.value.total], E.value[h.value.pageNo]++, _.value <= r.value.length ? g.value = "isloadall" : g.value = "loaded", l) {
115
+ const z = r.value.find((w) => w[j.value] === i.value);
116
116
  return z || k(e), z;
117
117
  }
118
- } catch (i) {
118
+ } catch (n) {
119
119
  g.value = "isloadall", r.value = [];
120
120
  }
121
121
  }), ce = (e) => {
122
122
  if (!a.unuseremote)
123
123
  try {
124
124
  let l = null;
125
- const n = e.target.children;
126
- for (let i = 0; i < n.length; i++)
127
- n[i].className === "vue-recycle-scroller__item-wrapper" && (l = n[i]);
125
+ const s = e.target.children;
126
+ for (let n = 0; n < s.length; n++)
127
+ s[n].className === "vue-recycle-scroller__item-wrapper" && (l = s[n]);
128
128
  if (!l)
129
129
  return;
130
130
  l.offsetHeight - e.target.scrollTop < 300 && g.value === "loaded" && k();
131
131
  } catch (l) {
132
132
  }
133
- }, L = F(() => !t.value || a.multiple ? "" : u.value && !Array.isArray(u.value) ? a.formate ? a.formate(u.value) : u.value[V.value] : a.defText || t.value || a.placeholder);
133
+ }, L = F(() => !t.value || a.multiple ? "" : u.value && !Array.isArray(u.value) ? a.formate ? a.formate(u.value) : u.value[j.value] : a.defText || t.value || a.placeholder);
134
134
  A(() => d.value, () => D(null, null, function* () {
135
135
  var e, l;
136
136
  if (d.value)
137
- L.value !== a.placeholder && (s.value = L.value), yield K(), (e = H.value) == null || e.focus(), k(!0);
137
+ L.value !== a.placeholder && (i.value = L.value), yield K(), (e = H.value) == null || e.focus(), k(!0);
138
138
  else {
139
- if (yield K(), a.useInput && s.value)
139
+ if (yield K(), a.useInput && i.value)
140
140
  if (a.multiple)
141
- t.value.includes(s.value) || (t.value.push(s.value), p("change", t.value, u.value));
141
+ t.value.includes(i.value) || (t.value.push(i.value), m("change", t.value, u.value));
142
142
  else {
143
- if (t.value === s.value)
143
+ if (t.value === i.value)
144
144
  return;
145
- t.value = s.value;
146
- const n = r.value.find((i) => i[y.value] === s.value);
147
- n ? u.value = n : u.value = null, yield K(), p("change", t.value, u.value);
145
+ t.value = i.value;
146
+ const s = r.value.find((n) => n[y.value] === i.value);
147
+ s ? u.value = s : u.value = null, yield K(), m("change", t.value, u.value);
148
148
  }
149
- (l = H.value) == null || l.blur(), s.value = "", !a.lazy && k(!0);
149
+ (l = H.value) == null || l.blur(), i.value = "", !a.lazy && k(!0);
150
150
  }
151
151
  })), A(t, (e, l) => {
152
152
  try {
153
- const n = typeof e == "string" ? String(e) : JSON.stringify(e), i = typeof l == "string" ? String(l) : JSON.stringify(l);
154
- if (n === i)
153
+ const s = typeof e == "string" ? String(e) : JSON.stringify(e), n = typeof l == "string" ? String(l) : JSON.stringify(l);
154
+ if (s === n)
155
155
  return;
156
156
  G();
157
- } catch (n) {
158
- console.log(n);
157
+ } catch (s) {
158
+ console.log(s);
159
159
  }
160
160
  }), A(() => a.options, () => {
161
161
  a.unuseremote && (r.value = a.options, G());
@@ -167,8 +167,8 @@ const Be = {
167
167
  const e = [];
168
168
  try {
169
169
  t.value.forEach((l) => {
170
- const n = r.value.find((i) => i[y.value] === l);
171
- n ? e.push(n) : console.warn(`HSelect未找到初始化值${l}`);
170
+ const s = r.value.find((n) => n[y.value] === l);
171
+ s ? e.push(s) : console.warn(`HSelect未找到初始化值${l}`);
172
172
  });
173
173
  } catch (l) {
174
174
  console.log(l);
@@ -178,7 +178,7 @@ const Be = {
178
178
  }
179
179
  u.value = [];
180
180
  } else {
181
- if (s.value = "", t.value) {
181
+ if (i.value = "", t.value) {
182
182
  try {
183
183
  const e = r.value.find((l) => l[y.value] === t.value);
184
184
  e ? u.value = e : console.warn(`HSelect未找到初始化值${t.value}`);
@@ -194,9 +194,9 @@ const Be = {
194
194
  if (a.multiple) {
195
195
  if (t.value && t.value.length)
196
196
  return;
197
- u.value = [], s.value = "";
197
+ u.value = [], i.value = "";
198
198
  } else {
199
- if (s.value = t.value, t.value && !a.defText) {
199
+ if (i.value = t.value, t.value && !a.defText) {
200
200
  le();
201
201
  return;
202
202
  }
@@ -209,9 +209,9 @@ const Be = {
209
209
  } catch (e) {
210
210
  u.value = void 0, console.error(e);
211
211
  }
212
- }), I = F(() => {
212
+ }), V = F(() => {
213
213
  try {
214
- return typeof u.value == "object" ? u.value.length ? u.value.map((e) => a.formate ? a.formate(e) : e[V.value]) : t.value : u.value ? a.formate ? a.formate(u.value) : u.value[V.value] : t.value || a.placeholder;
214
+ return typeof u.value == "object" ? u.value.length ? u.value.map((e) => a.formate ? a.formate(e) : e[j.value]) : t.value : u.value ? a.formate ? a.formate(u.value) : u.value[j.value] : t.value || a.placeholder;
215
215
  } catch (e) {
216
216
  return a.multiple ? [] : "";
217
217
  }
@@ -219,41 +219,41 @@ const Be = {
219
219
  var l;
220
220
  try {
221
221
  return a.multiple ? (l = t.value) == null ? void 0 : l.includes(e[y.value]) : t.value === e[y.value];
222
- } catch (n) {
222
+ } catch (s) {
223
223
  return !1;
224
224
  }
225
225
  }, ae = (e, l) => {
226
226
  if (t.value.splice(e, 1), a.useInput)
227
227
  try {
228
- const n = u.value.findIndex((i) => i[y.value] === l);
229
- n !== -1 && u.value.splice(n, 1);
230
- } catch (n) {
231
- console.log(n);
228
+ const s = u.value.findIndex((n) => n[y.value] === l);
229
+ s !== -1 && u.value.splice(s, 1);
230
+ } catch (s) {
231
+ console.log(s);
232
232
  }
233
233
  else
234
234
  u.value.splice(e, 1);
235
- p("change", t.value, u.value);
236
- }, y = F(() => a.props && a.props.value ? a.props.value : "id"), V = F(() => a.props && a.props.label ? a.props.label : "label"), te = () => D(null, null, function* () {
235
+ m("change", t.value, u.value);
236
+ }, y = F(() => a.props && a.props.value ? a.props.value : "id"), j = F(() => a.props && a.props.label ? a.props.label : "label"), te = () => D(null, null, function* () {
237
237
  var e, l;
238
238
  if (!a.multiple) {
239
- t.value = "", u.value = null, s.value = "", k(!0), d.value && ((e = H.value) == null || e.focus()), yield K(), p("clear"), p("change", t.value);
239
+ t.value = "", u.value = null, i.value = "", k(!0), d.value && ((e = H.value) == null || e.focus()), yield K(), m("clear"), m("change", t.value);
240
240
  return;
241
241
  }
242
- t.value = [], u.value = [], s.value = "", k(!0), yield K(), p("clear"), p("change", t.value), (l = H.value) == null || l.focus();
242
+ t.value = [], u.value = [], i.value = "", k(!0), yield K(), m("clear"), m("change", t.value), (l = H.value) == null || l.focus();
243
243
  }), ve = (e) => D(null, null, function* () {
244
- var n;
244
+ var s;
245
245
  if (!a.multiple) {
246
- t.value = e[y.value], yield K(), u.value = e, yield K(), d.value = !1, p("change", t.value, u.value);
246
+ t.value = e[y.value], yield K(), u.value = e, yield K(), d.value = !1, m("change", t.value, u.value);
247
247
  return;
248
248
  }
249
- const l = t.value.findIndex((i) => i === e[y.value]);
250
- l === -1 ? (t.value.push(e[y.value]), u.value.push(e), p("change", t.value, u.value)) : (t.value.splice(l, 1), u.value.splice(l, 1), p("change", t.value, u.value)), (n = H.value) == null || n.focus();
249
+ const l = t.value.findIndex((n) => n === e[y.value]);
250
+ l === -1 ? (t.value.push(e[y.value]), u.value.push(e), m("change", t.value, u.value)) : (t.value.splice(l, 1), u.value.splice(l, 1), m("change", t.value, u.value)), (s = H.value) == null || s.focus();
251
251
  });
252
252
  return v({
253
253
  modelValue: t,
254
254
  checkAllNodes: () => {
255
255
  var e;
256
- u.value = r.value, t.value = u.value.map((l) => l[y.value]), p("change", t.value, u.value), (e = H.value) == null || e.focus();
256
+ u.value = r.value, t.value = u.value.map((l) => l[y.value]), m("change", t.value, u.value), (e = H.value) == null || e.focus();
257
257
  },
258
258
  clearCheaked: te,
259
259
  filterHandle: U,
@@ -271,66 +271,66 @@ const Be = {
271
271
  });
272
272
  }, window.addEventListener("click", window.clickOutSideHandle));
273
273
  })), (e, l) => {
274
- const n = Y("el-tag"), i = Y("el-icon"), z = Y("el-popover");
274
+ const s = Y("el-tag"), n = Y("el-icon"), z = Y("el-popover");
275
275
  return f(), q(z, {
276
276
  visible: d.value,
277
277
  placement: "bottom-start",
278
278
  width: `${o.popwidth || o.width}px`
279
279
  }, {
280
- reference: m(() => {
280
+ reference: p(() => {
281
281
  var w, J;
282
282
  return [
283
283
  $("div", {
284
284
  class: P(["select-more", `${o.stylecss} ${e.$attrs.class}`]),
285
285
  style: xe({ width: typeof o.width == "number" ? o.width + "px" : o.width }),
286
- onClick: l[6] || (l[6] = j((x) => d.value = !d.value, ["stop"]))
286
+ onClick: l[6] || (l[6] = I((x) => d.value = !d.value, ["stop"]))
287
287
  }, [
288
288
  o.disabled ? (f(), S("div", {
289
289
  key: 0,
290
290
  class: "disabled-wrap",
291
- onClick: l[0] || (l[0] = j(() => {
291
+ onClick: l[0] || (l[0] = I(() => {
292
292
  }, ["stop"]))
293
293
  })) : C("", !0),
294
294
  $("div", {
295
295
  class: P(["select-more-wrapper", { "is-focused": d.value, "!text-[12px] !min-h-[24px] !h-[24px]": o.size === "small" }])
296
296
  }, [
297
- o.multiple && ((w = I.value) != null && w.length) ? (f(), S("div", Be, [
298
- O(n, {
297
+ o.multiple && ((w = V.value) != null && w.length) ? (f(), S("div", Be, [
298
+ O(s, {
299
299
  class: "mr-[5px]",
300
300
  type: "info",
301
301
  closable: "",
302
- onClose: l[1] || (l[1] = (x) => ae(0, I.value[0]))
302
+ onClose: l[1] || (l[1] = (x) => ae(0, V.value[0]))
303
303
  }, {
304
- default: m(() => [
305
- $("div", Ie, B(I.value[0]), 1)
304
+ default: p(() => [
305
+ $("div", Ve, B(V.value[0]), 1)
306
306
  ]),
307
307
  _: 1
308
308
  }),
309
- I.value.length > 1 ? (f(), q(He, {
309
+ V.value.length > 1 ? (f(), q(He, {
310
310
  key: 0,
311
311
  width: `${o.popwidth}px`
312
312
  }, {
313
- reference: m(() => [
314
- O(n, { type: "info" }, {
315
- default: m(() => [
316
- ie("+ " + B(I.value.length - 1), 1)
313
+ reference: p(() => [
314
+ O(s, { type: "info" }, {
315
+ default: p(() => [
316
+ ne("+ " + B(V.value.length - 1), 1)
317
317
  ]),
318
318
  _: 1
319
319
  })
320
320
  ]),
321
- default: m(() => [
322
- $("div", Ve, [
323
- (f(!0), S(ne, null, Se(I.value, (x, W) => (f(), S(ne, {
321
+ default: p(() => [
322
+ $("div", je, [
323
+ (f(!0), S(se, null, Se(V.value, (x, W) => (f(), S(se, {
324
324
  key: x[y.value]
325
325
  }, [
326
- W !== 0 ? (f(), q(n, {
326
+ W !== 0 ? (f(), q(s, {
327
327
  key: 0,
328
328
  class: "mr-[5px] mt-[5px]",
329
329
  closable: "",
330
330
  onClose: (qe) => ae(W, x)
331
331
  }, {
332
- default: m(() => [
333
- ie(B(x), 1)
332
+ default: p(() => [
333
+ ne(B(x), 1)
334
334
  ]),
335
335
  _: 2
336
336
  }, 1032, ["onClose"])) : C("", !0)
@@ -340,23 +340,23 @@ const Be = {
340
340
  _: 1
341
341
  }, 8, ["width"])) : C("", !0)
342
342
  ])) : C("", !0),
343
- o.filterable ? (f(), S("div", je, [
343
+ o.filterable ? (f(), S("div", Ie, [
344
344
  d.value ? be((f(), S("input", {
345
345
  key: 0,
346
346
  ref_key: "input",
347
347
  ref: H,
348
- "onUpdate:modelValue": l[2] || (l[2] = (x) => s.value = x),
348
+ "onUpdate:modelValue": l[2] || (l[2] = (x) => i.value = x),
349
349
  class: "w-full h-[90%]",
350
350
  type: "text",
351
351
  placeholder: o.placeholder,
352
- onKeydown: l[3] || (l[3] = j(() => {
352
+ onKeydown: l[3] || (l[3] = I(() => {
353
353
  }, ["stop"])),
354
- onClick: l[4] || (l[4] = j(() => {
354
+ onClick: l[4] || (l[4] = I(() => {
355
355
  }, ["stop"])),
356
356
  onInput: l[5] || (l[5] = //@ts-ignore
357
357
  (...x) => T(U) && T(U)(...x))
358
358
  }, null, 40, Pe)), [
359
- [Ce, s.value]
359
+ [Ce, i.value]
360
360
  ]) : (f(), S("div", {
361
361
  key: 1,
362
362
  class: P(["text-nowrap", { "text-[#999]": !L.value || L.value === o.placeholder }])
@@ -370,8 +370,8 @@ const Be = {
370
370
  $("div", {
371
371
  class: P(["select-more-arrow", { "is-focused": d.value }])
372
372
  }, [
373
- O(i, null, {
374
- default: m(() => [
373
+ O(n, null, {
374
+ default: p(() => [
375
375
  O(T(Ne))
376
376
  ]),
377
377
  _: 1
@@ -380,10 +380,10 @@ const Be = {
380
380
  o.multiple && ((J = t.value) != null && J.length) || !o.multiple && t.value ? (f(), S("div", {
381
381
  key: 3,
382
382
  class: "select-more-clear",
383
- onClick: j(te, ["stop"])
383
+ onClick: I(te, ["stop"])
384
384
  }, [
385
- O(i, null, {
386
- default: m(() => [
385
+ O(n, null, {
386
+ default: p(() => [
387
387
  O(T($e))
388
388
  ]),
389
389
  _: 1
@@ -393,7 +393,7 @@ const Be = {
393
393
  ], 6)
394
394
  ];
395
395
  }),
396
- default: m(() => [
396
+ default: p(() => [
397
397
  O(T(ze), {
398
398
  ref_key: "DynamicScrollerRef",
399
399
  ref: re,
@@ -404,30 +404,30 @@ const Be = {
404
404
  items: r.value,
405
405
  onScroll: ce
406
406
  }, {
407
- before: m(() => [
407
+ before: p(() => [
408
408
  Z(e.$slots, "header", {
409
409
  options: r.value,
410
410
  value: t.value,
411
411
  nodes: u.value
412
412
  }, void 0, !0)
413
413
  ]),
414
- default: m(({ item: w, index: J, active: x }) => [
414
+ default: p(({ item: w, index: J, active: x }) => [
415
415
  O(T(De), {
416
416
  item: w,
417
417
  active: x,
418
418
  "data-index": J,
419
- onClick: j((W) => ve(w), ["stop"])
419
+ onClick: I((W) => ve(w), ["stop"])
420
420
  }, {
421
- default: m(() => [
421
+ default: p(() => [
422
422
  Z(e.$slots, "default", {
423
423
  item: X(N({}, w), { active: Q(w) })
424
424
  }, () => [
425
425
  $("div", {
426
426
  class: P(["item", { active: Q(w) }])
427
427
  }, [
428
- $("div", null, B(o.formate ? o.formate(w) : w[V.value]), 1),
429
- Q(w) ? (f(), q(i, { key: 0 }, {
430
- default: m(() => [
428
+ $("div", null, B(o.formate ? o.formate(w) : w[j.value]), 1),
429
+ Q(w) ? (f(), q(n, { key: 0 }, {
430
+ default: p(() => [
431
431
  O(T(Le))
432
432
  ]),
433
433
  _: 1
@@ -438,10 +438,10 @@ const Be = {
438
438
  _: 2
439
439
  }, 1032, ["item", "active", "data-index", "onClick"])
440
440
  ]),
441
- after: m(() => [
441
+ after: p(() => [
442
442
  g.value !== "isloadall" && !a.unuseremote ? (f(), S("div", Ee, B(g.value === "loading" ? "加载中" : "等待加载"), 1)) : C("", !0)
443
443
  ]),
444
- empty: m(() => [
444
+ empty: p(() => [
445
445
  (g.value === "isloadall" || o.unuseremote) && !r.value.length ? (f(), S("div", Je, "暂无可用数据")) : C("", !0)
446
446
  ]),
447
447
  _: 3