fangguo-component 1.1.2 → 1.1.4

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 (150) hide show
  1. package/dist/ArgHover.css +20 -1
  2. package/dist/ArgHover.vue_vue_type_style_index_0_lang-CSymSDRl.js +56 -0
  3. package/dist/ButtonGroup-DqViorHX.js +134 -0
  4. package/dist/ButtonGroup.css +35 -1
  5. package/dist/CitySelect.vue_vue_type_script_setup_true_lang-DZp6834K.js +224 -0
  6. package/dist/ContentTitle-By0Zk1u7.js +30 -0
  7. package/dist/ContentTitle.css +6 -1
  8. package/dist/CustomInputV2-BqhBSO53.js +157 -0
  9. package/dist/CustomInputV2.css +5 -1
  10. package/dist/CustomMultipleInput-DRMTUtkE.js +125 -0
  11. package/dist/CustomMultipleInput.css +8 -1
  12. package/dist/DragResizable.css +126 -1
  13. package/dist/DragResizable.vue_vue_type_style_index_0_lang-BePpQHve.js +331 -0
  14. package/dist/DragSort-5WetnkmW.js +98 -0
  15. package/dist/DragSort.css +5 -1
  16. package/dist/ErrorImage-Ao9kEEUg.js +36 -0
  17. package/dist/ErrorImage.css +4 -1
  18. package/dist/FgCascader.css +37 -1
  19. package/dist/FgCascader.vue_vue_type_style_index_0_lang-CM8FxFLJ.js +2424 -0
  20. package/dist/HSelect-BFkWiCFi.js +671 -0
  21. package/dist/HSelect.css +80 -1
  22. package/dist/HSelectAll.vue_vue_type_script_setup_true_lang-BZX7ch2I.js +50 -0
  23. package/dist/HSelectSJ-DZmtdyjF.js +671 -0
  24. package/dist/HSelectSJ.css +88 -1
  25. package/dist/IdentifyAddress.vue_vue_type_script_setup_true_lang-BCIOF-Oy.js +5202 -0
  26. package/dist/ImageLoupe.vue_vue_type_script_setup_true_lang-BaXHYlDu.js +92 -0
  27. package/dist/LazyComponent.vue_vue_type_script_setup_true_lang-D5KGqlj4.js +107 -0
  28. package/dist/LazyPopover.vue_vue_type_script_setup_true_lang-B2vtU4f4.js +34 -0
  29. package/dist/LoadingBtn-DWm2cY9k.js +87 -0
  30. package/dist/LoadingBtn.css +12 -1
  31. package/dist/MInput-s_P63myh.js +114 -0
  32. package/dist/MInput.css +21 -1
  33. package/dist/MyTable-CHvxPYgk.js +94 -0
  34. package/dist/MyTable.css +33 -1
  35. package/dist/NoRender.vue_vue_type_script_setup_true_lang-B0G6jxPg.js +31 -0
  36. package/dist/SelectAddress-CCepDxu8.js +254 -0
  37. package/dist/SelectAddress.css +18 -1
  38. package/dist/SelectAll.vue_vue_type_script_setup_true_lang-CyzY8ams.js +101 -0
  39. package/dist/SelectAll2.vue_vue_type_script_setup_true_lang-CrsaohxU.js +103 -0
  40. package/dist/SelectCustomAll.css +8 -1
  41. package/dist/SelectCustomAll.vue_vue_type_style_index_0_lang-BEZwlGXa.js +111 -0
  42. package/dist/SelectTimePicker.vue_vue_type_script_setup_true_lang-Dk4TpTBN.js +48 -0
  43. package/dist/SelectTree-DHbWogEU.js +1276 -0
  44. package/dist/SelectTree.css +74 -1
  45. package/dist/SvgIcon-DIg0upEk.js +33 -0
  46. package/dist/TextCopy-th0FAxwl.js +44 -0
  47. package/dist/TextCopy.css +7 -1
  48. package/dist/TextEllipsisTooltip.vue_vue_type_script_setup_true_lang-DVE1CxPm.js +174 -0
  49. package/dist/VirtualTable-Cm_L7q9W.js +703 -0
  50. package/dist/VirtualTable.css +185 -1
  51. package/dist/_commonjsHelpers-DnzVkjQg.js +38 -0
  52. package/dist/_plugin-vue_export-helper-1tPrXgE0.js +10 -0
  53. package/dist/common-B1nSpTGn.js +9669 -0
  54. package/dist/components/VirtualTable/index.js +2 -2
  55. package/dist/components/argHover/index.js +2 -2
  56. package/dist/components/buttonGroup/index.js +2 -2
  57. package/dist/components/cascader/index.js +2 -2
  58. package/dist/components/citySelect/index.js +2 -2
  59. package/dist/components/contentTitle/index.js +2 -2
  60. package/dist/components/customInputV2/index.js +2 -2
  61. package/dist/components/customMultipleInput/index.js +2 -2
  62. package/dist/components/dragResizable/index.js +2 -2
  63. package/dist/components/dragSort/index.js +2 -2
  64. package/dist/components/errorImage/index.js +2 -2
  65. package/dist/components/hSelect/index.js +2 -2
  66. package/dist/components/hSelectAll/index.js +2 -2
  67. package/dist/components/hSelectSJ/index.js +2 -2
  68. package/dist/components/identifyAddress/index.js +2 -2
  69. package/dist/components/imageLoupe/index.js +2 -2
  70. package/dist/components/index.js +62 -62
  71. package/dist/components/lazyComponent/index.js +2 -2
  72. package/dist/components/lazyPopover/index.js +2 -2
  73. package/dist/components/loadingBtn/index.js +2 -2
  74. package/dist/components/mInput/index.js +2 -2
  75. package/dist/components/myTable/index.js +2 -2
  76. package/dist/components/noRender/index.js +2 -2
  77. package/dist/components/selectAddress/index.js +2 -2
  78. package/dist/components/selectAll/index.js +2 -2
  79. package/dist/components/selectAll2/index.js +2 -2
  80. package/dist/components/selectCustomAll/index.js +2 -2
  81. package/dist/components/selectTimePicker/index.js +2 -2
  82. package/dist/components/selectTree/index.js +2 -2
  83. package/dist/components/svgIcon/index.js +2 -2
  84. package/dist/components/textCopy/index.js +2 -2
  85. package/dist/components/textEllipsisTooltip/index.js +2 -2
  86. package/dist/dateShortcuts-DjFC_Txu.js +27 -0
  87. package/dist/directive/index.js +2 -2
  88. package/dist/directive/loading/index.js +2 -2
  89. package/dist/hooks/index.js +2 -2
  90. package/dist/hooks/usePagination/index.js +2 -2
  91. package/dist/index-BPnixsfc.js +103 -0
  92. package/dist/index-C9zyi90j.js +165 -0
  93. package/dist/index-CSMWzzp0.js +8 -0
  94. package/dist/index-DfQiknXJ.js +8 -0
  95. package/dist/index-DzdLpetc.js +29184 -0
  96. package/dist/index-uQXqC9BF.js +68 -0
  97. package/dist/index.css +1 -1
  98. package/dist/index.js +204 -194
  99. package/dist/loading-CGrVcnNl.js +47 -0
  100. package/dist/loading.css +110 -1
  101. package/dist/tools/ImageParserUtils/index.js +17239 -9074
  102. package/dist/tools/common/index.js +86 -86
  103. package/dist/tools/index.js +95 -95
  104. package/dist/usePagination-C63IRXjZ.js +29 -0
  105. package/dist/vue-virtual-scroller.esm-ZgBoGAjX.js +1507 -0
  106. package/package.json +1 -1
  107. package/dist/ArgHover.vue_vue_type_style_index_0_lang-CMhRP09M.js +0 -54
  108. package/dist/ButtonGroup-C0yZEkxK.js +0 -103
  109. package/dist/CitySelect.vue_vue_type_script_setup_true_lang-8EbHD3Nt.js +0 -159
  110. package/dist/ContentTitle-mqrusLjx.js +0 -24
  111. package/dist/CustomInputV2-uARhbFc8.js +0 -135
  112. package/dist/CustomMultipleInput-DDaqoHVU.js +0 -109
  113. package/dist/DragResizable.vue_vue_type_style_index_0_lang-CHv0gJmo.js +0 -179
  114. package/dist/DragSort-CfDeFAIG.js +0 -66
  115. package/dist/ErrorImage-CTP_5sal.js +0 -32
  116. package/dist/FgCascader.vue_vue_type_style_index_0_lang-BUZDDcVn.js +0 -1656
  117. package/dist/HSelect-Drf6YBwO.js +0 -468
  118. package/dist/HSelectAll.vue_vue_type_script_setup_true_lang-Blq9xpfa.js +0 -36
  119. package/dist/HSelectSJ-D3GrXmvj.js +0 -462
  120. package/dist/IdentifyAddress.vue_vue_type_script_setup_true_lang-BJheMI1q.js +0 -4743
  121. package/dist/ImageLoupe.vue_vue_type_script_setup_true_lang-BlX4VbRi.js +0 -79
  122. package/dist/LazyComponent.vue_vue_type_script_setup_true_lang-vNk68D8E.js +0 -82
  123. package/dist/LazyPopover.vue_vue_type_script_setup_true_lang-DcOrcH0T.js +0 -33
  124. package/dist/LoadingBtn-BhbhNboo.js +0 -66
  125. package/dist/MInput-CpoW17Wh.js +0 -101
  126. package/dist/MyTable-DmwyEVJb.js +0 -68
  127. package/dist/NoRender.vue_vue_type_script_setup_true_lang-Do36nSsV.js +0 -30
  128. package/dist/SelectAddress-B4oK5erq.js +0 -173
  129. package/dist/SelectAll.vue_vue_type_script_setup_true_lang-BC3q2U8f.js +0 -79
  130. package/dist/SelectAll2.vue_vue_type_script_setup_true_lang-CaET5eli.js +0 -74
  131. package/dist/SelectCustomAll.vue_vue_type_style_index_0_lang-_wCRO217.js +0 -83
  132. package/dist/SelectTimePicker.vue_vue_type_script_setup_true_lang-Bj0KMOKv.js +0 -45
  133. package/dist/SelectTree-Dm5259kY.js +0 -911
  134. package/dist/SvgIcon-C2ah8E0Z.js +0 -30
  135. package/dist/TextCopy-hOj-Wj2H.js +0 -41
  136. package/dist/TextEllipsisTooltip.vue_vue_type_script_setup_true_lang-aZbEQmbM.js +0 -112
  137. package/dist/VirtualTable-BWugJiQ5.js +0 -349
  138. package/dist/_commonjsHelpers-ByYUsBRP.js +0 -33
  139. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  140. package/dist/common-BIEgCXbl.js +0 -7030
  141. package/dist/dateShortcuts-DDPtAhDI.js +0 -26
  142. package/dist/index-BRcBDlVs.js +0 -68
  143. package/dist/index-CeWudY6u.js +0 -8
  144. package/dist/index-DIX8TpoT.js +0 -118
  145. package/dist/index-DpPsTMp0.js +0 -8
  146. package/dist/index-epuVZjZV.js +0 -103
  147. package/dist/index-uf7oyYDF.js +0 -16847
  148. package/dist/loading-DJVNc0eN.js +0 -36
  149. package/dist/usePagination-CwShBEjA.js +0 -20
  150. package/dist/vue-virtual-scroller.esm-CH-jx4ri.js +0 -1051
@@ -1,911 +0,0 @@
1
- import './SelectTree.css';var q = (e, t, r) => new Promise((n, l) => {
2
- var d = (h) => {
3
- try {
4
- _(r.next(h));
5
- } catch (b) {
6
- l(b);
7
- }
8
- }, i = (h) => {
9
- try {
10
- _(r.throw(h));
11
- } catch (b) {
12
- l(b);
13
- }
14
- }, _ = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(d, i);
15
- _((r = r.apply(e, t)).next());
16
- });
17
- import { defineComponent as Mt, ref as A, computed as de, watch as J, nextTick as fe, onMounted as Ft, resolveComponent as E, openBlock as X, createBlock as Ue, withCtx as $, createElementBlock as Ce, toDisplayString as Y, createCommentVNode as pe, createVNode as O, createElementVNode as M, normalizeStyle as We, normalizeClass as he, createTextVNode as Ae, withDirectives as Vt, withModifiers as Ke, vModelText as zt, toRaw as Bt } from "vue";
18
- import { _ as Lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
19
- const ve = globalThis || void 0 || self;
20
- function Ut() {
21
- this.__data__ = [], this.size = 0;
22
- }
23
- function pt(e, t) {
24
- return e === t || e !== e && t !== t;
25
- }
26
- function be(e, t) {
27
- for (var r = e.length; r--; )
28
- if (pt(e[r][0], t))
29
- return r;
30
- return -1;
31
- }
32
- var Wt = Array.prototype, Kt = Wt.splice;
33
- function Rt(e) {
34
- var t = this.__data__, r = be(t, e);
35
- if (r < 0)
36
- return !1;
37
- var n = t.length - 1;
38
- return r == n ? t.pop() : Kt.call(t, r, 1), --this.size, !0;
39
- }
40
- function Gt(e) {
41
- var t = this.__data__, r = be(t, e);
42
- return r < 0 ? void 0 : t[r][1];
43
- }
44
- function Ht(e) {
45
- return be(this.__data__, e) > -1;
46
- }
47
- function qt(e, t) {
48
- var r = this.__data__, n = be(r, e);
49
- return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this;
50
- }
51
- function k(e) {
52
- var t = -1, r = e == null ? 0 : e.length;
53
- for (this.clear(); ++t < r; ) {
54
- var n = e[t];
55
- this.set(n[0], n[1]);
56
- }
57
- }
58
- k.prototype.clear = Ut;
59
- k.prototype.delete = Rt;
60
- k.prototype.get = Gt;
61
- k.prototype.has = Ht;
62
- k.prototype.set = qt;
63
- function Jt() {
64
- this.__data__ = new k(), this.size = 0;
65
- }
66
- function Xt(e) {
67
- var t = this.__data__, r = t.delete(e);
68
- return this.size = t.size, r;
69
- }
70
- function Yt(e) {
71
- return this.__data__.get(e);
72
- }
73
- function Zt(e) {
74
- return this.__data__.has(e);
75
- }
76
- var ht = typeof ve == "object" && ve && ve.Object === Object && ve, Qt = typeof self == "object" && self && self.Object === Object && self, P = ht || Qt || Function("return this")(), U = P.Symbol, vt = Object.prototype, er = vt.hasOwnProperty, tr = vt.toString, Z = U ? U.toStringTag : void 0;
77
- function rr(e) {
78
- var t = er.call(e, Z), r = e[Z];
79
- try {
80
- e[Z] = void 0;
81
- var n = !0;
82
- } catch (d) {
83
- }
84
- var l = tr.call(e);
85
- return n && (t ? e[Z] = r : delete e[Z]), l;
86
- }
87
- var ar = Object.prototype, nr = ar.toString;
88
- function or(e) {
89
- return nr.call(e);
90
- }
91
- var lr = "[object Null]", sr = "[object Undefined]", Re = U ? U.toStringTag : void 0;
92
- function re(e) {
93
- return e == null ? e === void 0 ? sr : lr : Re && Re in Object(e) ? rr(e) : or(e);
94
- }
95
- function ye(e) {
96
- var t = typeof e;
97
- return e != null && (t == "object" || t == "function");
98
- }
99
- var cr = "[object AsyncFunction]", ir = "[object Function]", ur = "[object GeneratorFunction]", dr = "[object Proxy]";
100
- function gt(e) {
101
- if (!ye(e))
102
- return !1;
103
- var t = re(e);
104
- return t == ir || t == ur || t == cr || t == dr;
105
- }
106
- var Se = P["__core-js_shared__"], Ge = (function() {
107
- var e = /[^.]+$/.exec(Se && Se.keys && Se.keys.IE_PROTO || "");
108
- return e ? "Symbol(src)_1." + e : "";
109
- })();
110
- function fr(e) {
111
- return !!Ge && Ge in e;
112
- }
113
- var pr = Function.prototype, hr = pr.toString;
114
- function V(e) {
115
- if (e != null) {
116
- try {
117
- return hr.call(e);
118
- } catch (t) {
119
- }
120
- try {
121
- return e + "";
122
- } catch (t) {
123
- }
124
- }
125
- return "";
126
- }
127
- var vr = /[\\^$.*+?()[\]{}|]/g, gr = /^\[object .+?Constructor\]$/, br = Function.prototype, yr = Object.prototype, mr = br.toString, Tr = yr.hasOwnProperty, _r = RegExp(
128
- "^" + mr.call(Tr).replace(vr, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
129
- );
130
- function jr(e) {
131
- if (!ye(e) || fr(e))
132
- return !1;
133
- var t = gt(e) ? _r : gr;
134
- return t.test(V(e));
135
- }
136
- function wr(e, t) {
137
- return e == null ? void 0 : e[t];
138
- }
139
- function z(e, t) {
140
- var r = wr(e, t);
141
- return jr(r) ? r : void 0;
142
- }
143
- var ee = z(P, "Map"), te = z(Object, "create");
144
- function $r() {
145
- this.__data__ = te ? te(null) : {}, this.size = 0;
146
- }
147
- function xr(e) {
148
- var t = this.has(e) && delete this.__data__[e];
149
- return this.size -= t ? 1 : 0, t;
150
- }
151
- var Cr = "__lodash_hash_undefined__", Ar = Object.prototype, Sr = Ar.hasOwnProperty;
152
- function Or(e) {
153
- var t = this.__data__;
154
- if (te) {
155
- var r = t[e];
156
- return r === Cr ? void 0 : r;
157
- }
158
- return Sr.call(t, e) ? t[e] : void 0;
159
- }
160
- var Pr = Object.prototype, Er = Pr.hasOwnProperty;
161
- function Nr(e) {
162
- var t = this.__data__;
163
- return te ? t[e] !== void 0 : Er.call(t, e);
164
- }
165
- var kr = "__lodash_hash_undefined__";
166
- function Ir(e, t) {
167
- var r = this.__data__;
168
- return this.size += this.has(e) ? 0 : 1, r[e] = te && t === void 0 ? kr : t, this;
169
- }
170
- function F(e) {
171
- var t = -1, r = e == null ? 0 : e.length;
172
- for (this.clear(); ++t < r; ) {
173
- var n = e[t];
174
- this.set(n[0], n[1]);
175
- }
176
- }
177
- F.prototype.clear = $r;
178
- F.prototype.delete = xr;
179
- F.prototype.get = Or;
180
- F.prototype.has = Nr;
181
- F.prototype.set = Ir;
182
- function Dr() {
183
- this.size = 0, this.__data__ = {
184
- hash: new F(),
185
- map: new (ee || k)(),
186
- string: new F()
187
- };
188
- }
189
- function Mr(e) {
190
- var t = typeof e;
191
- return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
192
- }
193
- function me(e, t) {
194
- var r = e.__data__;
195
- return Mr(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
196
- }
197
- function Fr(e) {
198
- var t = me(this, e).delete(e);
199
- return this.size -= t ? 1 : 0, t;
200
- }
201
- function Vr(e) {
202
- return me(this, e).get(e);
203
- }
204
- function zr(e) {
205
- return me(this, e).has(e);
206
- }
207
- function Br(e, t) {
208
- var r = me(this, e), n = r.size;
209
- return r.set(e, t), this.size += r.size == n ? 0 : 1, this;
210
- }
211
- function K(e) {
212
- var t = -1, r = e == null ? 0 : e.length;
213
- for (this.clear(); ++t < r; ) {
214
- var n = e[t];
215
- this.set(n[0], n[1]);
216
- }
217
- }
218
- K.prototype.clear = Dr;
219
- K.prototype.delete = Fr;
220
- K.prototype.get = Vr;
221
- K.prototype.has = zr;
222
- K.prototype.set = Br;
223
- var Lr = 200;
224
- function Ur(e, t) {
225
- var r = this.__data__;
226
- if (r instanceof k) {
227
- var n = r.__data__;
228
- if (!ee || n.length < Lr - 1)
229
- return n.push([e, t]), this.size = ++r.size, this;
230
- r = this.__data__ = new K(n);
231
- }
232
- return r.set(e, t), this.size = r.size, this;
233
- }
234
- function R(e) {
235
- var t = this.__data__ = new k(e);
236
- this.size = t.size;
237
- }
238
- R.prototype.clear = Jt;
239
- R.prototype.delete = Xt;
240
- R.prototype.get = Yt;
241
- R.prototype.has = Zt;
242
- R.prototype.set = Ur;
243
- function Wr(e, t) {
244
- for (var r = -1, n = e == null ? 0 : e.length; ++r < n && t(e[r], r, e) !== !1; )
245
- ;
246
- return e;
247
- }
248
- var He = (function() {
249
- try {
250
- var e = z(Object, "defineProperty");
251
- return e({}, "", {}), e;
252
- } catch (t) {
253
- }
254
- })();
255
- function Kr(e, t, r) {
256
- t == "__proto__" && He ? He(e, t, {
257
- configurable: !0,
258
- enumerable: !0,
259
- value: r,
260
- writable: !0
261
- }) : e[t] = r;
262
- }
263
- var Rr = Object.prototype, Gr = Rr.hasOwnProperty;
264
- function Hr(e, t, r) {
265
- var n = e[t];
266
- (!(Gr.call(e, t) && pt(n, r)) || r === void 0 && !(t in e)) && Kr(e, t, r);
267
- }
268
- function qr(e, t) {
269
- for (var r = -1, n = Array(e); ++r < e; )
270
- n[r] = t(r);
271
- return n;
272
- }
273
- function ae(e) {
274
- return e != null && typeof e == "object";
275
- }
276
- var Jr = "[object Arguments]";
277
- function qe(e) {
278
- return ae(e) && re(e) == Jr;
279
- }
280
- var bt = Object.prototype, Xr = bt.hasOwnProperty, Yr = bt.propertyIsEnumerable, Zr = qe(/* @__PURE__ */ (function() {
281
- return arguments;
282
- })()) ? qe : function(e) {
283
- return ae(e) && Xr.call(e, "callee") && !Yr.call(e, "callee");
284
- }, Ie = Array.isArray;
285
- function Qr() {
286
- return !1;
287
- }
288
- var yt = typeof exports == "object" && exports && !exports.nodeType && exports, Je = yt && typeof module == "object" && module && !module.nodeType && module, ea = Je && Je.exports === yt, Xe = ea ? P.Buffer : void 0, ta = Xe ? Xe.isBuffer : void 0, mt = ta || Qr, ra = 9007199254740991, aa = /^(?:0|[1-9]\d*)$/;
289
- function na(e, t) {
290
- var r = typeof e;
291
- return t = t == null ? ra : t, !!t && (r == "number" || r != "symbol" && aa.test(e)) && e > -1 && e % 1 == 0 && e < t;
292
- }
293
- var oa = 9007199254740991;
294
- function Tt(e) {
295
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= oa;
296
- }
297
- var la = "[object Arguments]", sa = "[object Array]", ca = "[object Boolean]", ia = "[object Date]", ua = "[object Error]", da = "[object Function]", fa = "[object Map]", pa = "[object Number]", ha = "[object Object]", va = "[object RegExp]", ga = "[object Set]", ba = "[object String]", ya = "[object WeakMap]", ma = "[object ArrayBuffer]", Ta = "[object DataView]", _a = "[object Float32Array]", ja = "[object Float64Array]", wa = "[object Int8Array]", $a = "[object Int16Array]", xa = "[object Int32Array]", Ca = "[object Uint8Array]", Aa = "[object Uint8ClampedArray]", Sa = "[object Uint16Array]", Oa = "[object Uint32Array]", u = {};
298
- u[_a] = u[ja] = u[wa] = u[$a] = u[xa] = u[Ca] = u[Aa] = u[Sa] = u[Oa] = !0;
299
- u[la] = u[sa] = u[ma] = u[ca] = u[Ta] = u[ia] = u[ua] = u[da] = u[fa] = u[pa] = u[ha] = u[va] = u[ga] = u[ba] = u[ya] = !1;
300
- function Pa(e) {
301
- return ae(e) && Tt(e.length) && !!u[re(e)];
302
- }
303
- function De(e) {
304
- return function(t) {
305
- return e(t);
306
- };
307
- }
308
- var _t = typeof exports == "object" && exports && !exports.nodeType && exports, Q = _t && typeof module == "object" && module && !module.nodeType && module, Ea = Q && Q.exports === _t, Oe = Ea && ht.process, W = (function() {
309
- try {
310
- var e = Q && Q.require && Q.require("util").types;
311
- return e || Oe && Oe.binding && Oe.binding("util");
312
- } catch (t) {
313
- }
314
- })(), Ye = W && W.isTypedArray, Na = Ye ? De(Ye) : Pa, ka = Object.prototype, Ia = ka.hasOwnProperty;
315
- function Da(e, t) {
316
- var r = Ie(e), n = !r && Zr(e), l = !r && !n && mt(e), d = !r && !n && !l && Na(e), i = r || n || l || d, _ = i ? qr(e.length, String) : [], h = _.length;
317
- for (var b in e)
318
- Ia.call(e, b) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
319
- (b == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
320
- l && (b == "offset" || b == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
321
- d && (b == "buffer" || b == "byteLength" || b == "byteOffset") || // Skip index properties.
322
- na(b, h))) && _.push(b);
323
- return _;
324
- }
325
- var Ma = Object.prototype;
326
- function jt(e) {
327
- var t = e && e.constructor, r = typeof t == "function" && t.prototype || Ma;
328
- return e === r;
329
- }
330
- function wt(e, t) {
331
- return function(r) {
332
- return e(t(r));
333
- };
334
- }
335
- var Fa = wt(Object.keys, Object), Va = Object.prototype, za = Va.hasOwnProperty;
336
- function Ba(e) {
337
- if (!jt(e))
338
- return Fa(e);
339
- var t = [];
340
- for (var r in Object(e))
341
- za.call(e, r) && r != "constructor" && t.push(r);
342
- return t;
343
- }
344
- function La(e) {
345
- return e != null && Tt(e.length) && !gt(e);
346
- }
347
- function Ua(e) {
348
- return La(e) ? Da(e) : Ba(e);
349
- }
350
- var $t = typeof exports == "object" && exports && !exports.nodeType && exports, Ze = $t && typeof module == "object" && module && !module.nodeType && module, Wa = Ze && Ze.exports === $t, Qe = Wa ? P.Buffer : void 0;
351
- Qe && Qe.allocUnsafe;
352
- function Ka(e, t) {
353
- return e.slice();
354
- }
355
- function Ra(e, t) {
356
- for (var r = -1, n = e == null ? 0 : e.length, l = 0, d = []; ++r < n; ) {
357
- var i = e[r];
358
- t(i, r, e) && (d[l++] = i);
359
- }
360
- return d;
361
- }
362
- function Ga() {
363
- return [];
364
- }
365
- var Ha = Object.prototype, qa = Ha.propertyIsEnumerable, et = Object.getOwnPropertySymbols, Ja = et ? function(e) {
366
- return e == null ? [] : (e = Object(e), Ra(et(e), function(t) {
367
- return qa.call(e, t);
368
- }));
369
- } : Ga;
370
- function Xa(e, t) {
371
- for (var r = -1, n = t.length, l = e.length; ++r < n; )
372
- e[l + r] = t[r];
373
- return e;
374
- }
375
- var Ya = wt(Object.getPrototypeOf, Object);
376
- function Za(e, t, r) {
377
- var n = t(e);
378
- return Ie(e) ? n : Xa(n, r(e));
379
- }
380
- function Qa(e) {
381
- return Za(e, Ua, Ja);
382
- }
383
- var Pe = z(P, "DataView"), Ee = z(P, "Promise"), Ne = z(P, "Set"), ke = z(P, "WeakMap"), tt = "[object Map]", en = "[object Object]", rt = "[object Promise]", at = "[object Set]", nt = "[object WeakMap]", ot = "[object DataView]", tn = V(Pe), rn = V(ee), an = V(Ee), nn = V(Ne), on = V(ke), N = re;
384
- (Pe && N(new Pe(new ArrayBuffer(1))) != ot || ee && N(new ee()) != tt || Ee && N(Ee.resolve()) != rt || Ne && N(new Ne()) != at || ke && N(new ke()) != nt) && (N = function(e) {
385
- var t = re(e), r = t == en ? e.constructor : void 0, n = r ? V(r) : "";
386
- if (n)
387
- switch (n) {
388
- case tn:
389
- return ot;
390
- case rn:
391
- return tt;
392
- case an:
393
- return rt;
394
- case nn:
395
- return at;
396
- case on:
397
- return nt;
398
- }
399
- return t;
400
- });
401
- var ln = Object.prototype, sn = ln.hasOwnProperty;
402
- function cn(e) {
403
- var t = e.length, r = new e.constructor(t);
404
- return t && typeof e[0] == "string" && sn.call(e, "index") && (r.index = e.index, r.input = e.input), r;
405
- }
406
- var lt = P.Uint8Array;
407
- function Me(e) {
408
- var t = new e.constructor(e.byteLength);
409
- return new lt(t).set(new lt(e)), t;
410
- }
411
- function un(e, t) {
412
- var r = Me(e.buffer);
413
- return new e.constructor(r, e.byteOffset, e.byteLength);
414
- }
415
- var dn = /\w*$/;
416
- function fn(e) {
417
- var t = new e.constructor(e.source, dn.exec(e));
418
- return t.lastIndex = e.lastIndex, t;
419
- }
420
- var st = U ? U.prototype : void 0, ct = st ? st.valueOf : void 0;
421
- function pn(e) {
422
- return ct ? Object(ct.call(e)) : {};
423
- }
424
- function hn(e, t) {
425
- var r = Me(e.buffer);
426
- return new e.constructor(r, e.byteOffset, e.length);
427
- }
428
- var vn = "[object Boolean]", gn = "[object Date]", bn = "[object Map]", yn = "[object Number]", mn = "[object RegExp]", Tn = "[object Set]", _n = "[object String]", jn = "[object Symbol]", wn = "[object ArrayBuffer]", $n = "[object DataView]", xn = "[object Float32Array]", Cn = "[object Float64Array]", An = "[object Int8Array]", Sn = "[object Int16Array]", On = "[object Int32Array]", Pn = "[object Uint8Array]", En = "[object Uint8ClampedArray]", Nn = "[object Uint16Array]", kn = "[object Uint32Array]";
429
- function In(e, t, r) {
430
- var n = e.constructor;
431
- switch (t) {
432
- case wn:
433
- return Me(e);
434
- case vn:
435
- case gn:
436
- return new n(+e);
437
- case $n:
438
- return un(e);
439
- case xn:
440
- case Cn:
441
- case An:
442
- case Sn:
443
- case On:
444
- case Pn:
445
- case En:
446
- case Nn:
447
- case kn:
448
- return hn(e);
449
- case bn:
450
- return new n();
451
- case yn:
452
- case _n:
453
- return new n(e);
454
- case mn:
455
- return fn(e);
456
- case Tn:
457
- return new n();
458
- case jn:
459
- return pn(e);
460
- }
461
- }
462
- var it = Object.create, Dn = /* @__PURE__ */ (function() {
463
- function e() {
464
- }
465
- return function(t) {
466
- if (!ye(t))
467
- return {};
468
- if (it)
469
- return it(t);
470
- e.prototype = t;
471
- var r = new e();
472
- return e.prototype = void 0, r;
473
- };
474
- })();
475
- function Mn(e) {
476
- return typeof e.constructor == "function" && !jt(e) ? Dn(Ya(e)) : {};
477
- }
478
- var Fn = "[object Map]";
479
- function Vn(e) {
480
- return ae(e) && N(e) == Fn;
481
- }
482
- var ut = W && W.isMap, zn = ut ? De(ut) : Vn, Bn = "[object Set]";
483
- function Ln(e) {
484
- return ae(e) && N(e) == Bn;
485
- }
486
- var dt = W && W.isSet, Un = dt ? De(dt) : Ln, xt = "[object Arguments]", Wn = "[object Array]", Kn = "[object Boolean]", Rn = "[object Date]", Gn = "[object Error]", Ct = "[object Function]", Hn = "[object GeneratorFunction]", qn = "[object Map]", Jn = "[object Number]", At = "[object Object]", Xn = "[object RegExp]", Yn = "[object Set]", Zn = "[object String]", Qn = "[object Symbol]", eo = "[object WeakMap]", to = "[object ArrayBuffer]", ro = "[object DataView]", ao = "[object Float32Array]", no = "[object Float64Array]", oo = "[object Int8Array]", lo = "[object Int16Array]", so = "[object Int32Array]", co = "[object Uint8Array]", io = "[object Uint8ClampedArray]", uo = "[object Uint16Array]", fo = "[object Uint32Array]", c = {};
487
- c[xt] = c[Wn] = c[to] = c[ro] = c[Kn] = c[Rn] = c[ao] = c[no] = c[oo] = c[lo] = c[so] = c[qn] = c[Jn] = c[At] = c[Xn] = c[Yn] = c[Zn] = c[Qn] = c[co] = c[io] = c[uo] = c[fo] = !0;
488
- c[Gn] = c[Ct] = c[eo] = !1;
489
- function ge(e, t, r, n, l, d) {
490
- var i;
491
- if (i !== void 0)
492
- return i;
493
- if (!ye(e))
494
- return e;
495
- var _ = Ie(e);
496
- if (_)
497
- i = cn(e);
498
- else {
499
- var h = N(e), b = h == Ct || h == Hn;
500
- if (mt(e))
501
- return Ka(e);
502
- if (h == At || h == xt || b && !l)
503
- i = b ? {} : Mn(e);
504
- else {
505
- if (!c[h])
506
- return l ? e : {};
507
- i = In(e, h);
508
- }
509
- }
510
- d || (d = new R());
511
- var ne = d.get(e);
512
- if (ne)
513
- return ne;
514
- d.set(e, i), Un(e) ? e.forEach(function(x) {
515
- i.add(ge(x, t, r, x, e, d));
516
- }) : zn(e) && e.forEach(function(x, C) {
517
- i.set(C, ge(x, t, r, C, e, d));
518
- });
519
- var oe = Qa, G = _ ? void 0 : oe(e);
520
- return Wr(G || e, function(x, C) {
521
- G && (C = x, x = e[C]), Hr(i, C, ge(x, t, r, C, e, d));
522
- }), i;
523
- }
524
- var po = 1, ho = 4;
525
- function vo(e) {
526
- return ge(e, po | ho);
527
- }
528
- const go = {
529
- key: 0,
530
- class: "select-tree-normal-value"
531
- }, bo = { class: "max-h-[280px] overflow-y-auto" }, yo = { class: "select-tree-normal-placeholder cursor-default" }, mo = ["disabled", "placeholder"], To = ["title"], ft = 120, _o = 56, jo = 18, wo = /* @__PURE__ */ Mt({
532
- __name: "SelectTree",
533
- props: {
534
- modelValue: {},
535
- placeholder: { default: "请选择" },
536
- data: {},
537
- checkoutAll: { type: Boolean, default: !0 },
538
- multiple: { type: Boolean, default: !0 },
539
- disabled: { type: Boolean, default: !1 },
540
- props: {},
541
- height: {},
542
- width: {},
543
- calcWidth: {},
544
- filter: {},
545
- wrapclass: {},
546
- inputClass: {},
547
- selectAllNode: { type: Boolean, default: !1 }
548
- },
549
- emits: ["update:modelValue", "change", "visible-change"],
550
- setup(e, { expose: t, emit: r }) {
551
- const n = r, l = e, d = A([]), i = A(null), _ = de(() => {
552
- var a;
553
- return ((a = l.props) == null ? void 0 : a.label) || "label";
554
- }), h = A(ft), b = de(() => {
555
- const a = l.calcWidth || l.width, o = oe(a);
556
- if (o)
557
- return {
558
- width: o
559
- };
560
- }), ne = de(() => l.calcWidth ? "100%" : oe(l.width)), oe = (a) => {
561
- if (!(a == null || a === ""))
562
- return typeof a == "number" ? `${a}px` : /^\d+(\.\d+)?$/.test(a) ? `${a}px` : a;
563
- }, G = (a) => {
564
- if (typeof a == "number")
565
- return a;
566
- if (typeof a != "string")
567
- return 0;
568
- const o = Number.parseFloat(a);
569
- return Number.isFinite(o) ? o : 0;
570
- };
571
- let x = null, C = "", le = null;
572
- const St = () => le || (typeof document == "undefined" ? null : (x || (x = document.createElement("canvas")), le = x.getContext("2d"), le)), Ot = () => {
573
- if (typeof window == "undefined" || !i.value) {
574
- C = "14px sans-serif";
575
- return;
576
- }
577
- const a = window.getComputedStyle(i.value);
578
- C = a.font || `${a.fontWeight} ${a.fontSize} ${a.fontFamily}`;
579
- }, Pt = (a) => {
580
- const o = a == null ? void 0 : a[_.value];
581
- return o == null ? "" : String(o);
582
- }, Et = (a = []) => {
583
- let o = "", s = 0;
584
- const y = (S, g) => {
585
- for (let L = 0; L < S.length; L++) {
586
- const D = S[L], ue = Pt(D), T = ue.length + g * 2, H = o.length + s * 2;
587
- T > H && (o = ue, s = g), Array.isArray(D == null ? void 0 : D.children) && y(D.children, g + 1);
588
- }
589
- };
590
- if (y(a, 0), !o) return 0;
591
- const m = St();
592
- return m ? (m.font = C, Math.ceil(m.measureText(o).width) + _o + s * jo + (l.multiple ? 24 : 0)) : o.length * 14;
593
- };
594
- let Te = null;
595
- const _e = () => {
596
- Te || (Te = setTimeout(() => {
597
- Te = null, Ot();
598
- const a = Math.max(G(l.width), G(l.calcWidth));
599
- h.value = Math.max(ft, a, Et(d.value));
600
- }, 0));
601
- }, se = (a, o) => {
602
- var y, m;
603
- const s = _.value;
604
- return ((y = (o[s] || "").toLowerCase()) == null ? void 0 : y.includes(a.toLowerCase())) || ((m = o.searchKey || "") == null ? void 0 : m.toLocaleLowerCase().includes(a.toLowerCase()));
605
- }, I = A(!1), f = A(null), ce = A([]), je = A([]), p = A([]), j = A(""), B = A(!1), we = A("");
606
- J(I, (a) => {
607
- f.value.setExpandedKeys([]), n("visible-change", I.value), a ? i.value.focus() : (j.value = "", i.value.blur(), f.value && f.value.filter("")), !l.multiple && (j.value = we.value, f.value.filter(""));
608
- });
609
- const Nt = (a) => {
610
- f.value.filter(a.target.value);
611
- }, kt = (a) => {
612
- l.multiple || a.children || (we.value = a[l.props && l.props.label || "label"], j.value = a[l.props && l.props.label || "label"], I.value = !1, n("update:modelValue", a[v.value]), n("change", a[v.value], f.value.getCheckedNodes()));
613
- }, v = de(() => l.props && l.props.value ? l.props.value : "id"), Fe = (a) => {
614
- f.value.setChecked(a[v.value], !1), $e({
615
- checkedKeys: f.value.getCheckedKeys(),
616
- checkedNodes: f.value.getCheckedNodes()
617
- }), n(
618
- "update:modelValue",
619
- p.value.map((o) => o[v.value])
620
- ), n(
621
- "change",
622
- p.value.map((o) => o[v.value]),
623
- f.value.getCheckedNodes()
624
- );
625
- }, $e = (a) => {
626
- ce.value = a.checkedKeys, je.value = a.checkedNodes, p.value = a.checkedNodes.filter((o) => !o.children);
627
- }, It = (a, o) => {
628
- if (l.multiple && i.value.focus(), !l.selectAllNode && a && a.children && j.value) {
629
- const s = a.children.filter((g) => (l.filter || se)(j.value, g)).map((g) => g[v.value]);
630
- if (!s.length) {
631
- ie();
632
- return;
633
- }
634
- const m = !new Set(ce.value).has(s[0]), w = new Set(s), S = m ? [...p.value.map((g) => g[v.value]), ...s] : p.value.map((g) => g[v.value]).filter((g) => !w.has(g));
635
- n("update:modelValue", S), n("change", S, f.value.getCheckedNodes());
636
- return;
637
- }
638
- $e(o), n(
639
- "update:modelValue",
640
- p.value.map((s) => s[v.value])
641
- ), n(
642
- "change",
643
- p.value.map((s) => s[v.value]),
644
- f.value.getCheckedNodes()
645
- );
646
- };
647
- J(B, () => {
648
- var a;
649
- if (B.value) {
650
- let o = [], s = [];
651
- d.value.forEach((y) => {
652
- if (l.selectAllNode && (l.filter || se)(j.value, y)) {
653
- const { children: m } = y;
654
- o.push(y[v.value]), o = o.concat(m.map((w) => w[v.value])), s = s.concat(m.map((w) => w[v.value]));
655
- } else {
656
- const { children: m } = y, w = [];
657
- let S = !0;
658
- m.forEach((g) => {
659
- (l.filter || se)(j.value, g) ? w.push(g[v.value]) : S = !1;
660
- }), S && o.push(y[v.value]), o = o.concat(w), s = s.concat(w);
661
- }
662
- }), n("update:modelValue", s), n("change", s, f.value.getCheckedNodes());
663
- } else
664
- (a = f.value) == null || a.setCheckedKeys([]), ce.value = [], je.value = [], p.value = [], n(
665
- "update:modelValue",
666
- p.value.map((o) => o[v.value])
667
- ), n(
668
- "change",
669
- p.value.map((o) => o[v.value]),
670
- f.value.getCheckedNodes()
671
- );
672
- });
673
- const Ve = () => {
674
- var a;
675
- if (!l.multiple) {
676
- we.value = "", j.value = "", n("update:modelValue", ""), n("change", "", f.value.getCheckedNodes());
677
- return;
678
- }
679
- (a = f.value) == null || a.setCheckedKeys([]), ce.value = [], je.value = [], p.value = [], B.value = !1, n(
680
- "update:modelValue",
681
- p.value.map((o) => o[v.value])
682
- ), n(
683
- "change",
684
- p.value.map((o) => o[v.value]),
685
- f.value.getCheckedNodes()
686
- );
687
- }, ie = () => q(null, null, function* () {
688
- var a;
689
- if (l.multiple) {
690
- const o = [...l.modelValue || []];
691
- (a = f.value) == null || a.setCheckedKeys([...o]), yield fe(), $e({
692
- checkedKeys: f.value.getCheckedKeys(),
693
- checkedNodes: f.value.getCheckedNodes()
694
- });
695
- }
696
- }), ze = (a) => {
697
- const o = Bt(a);
698
- if (!Array.isArray(o))
699
- return [];
700
- try {
701
- return structuredClone(o);
702
- } catch (s) {
703
- return vo(o);
704
- }
705
- };
706
- J(
707
- () => l.data,
708
- () => q(null, null, function* () {
709
- d.value = ze(l.data), yield fe(), xe(), ie(), _e();
710
- })
711
- ), J(
712
- () => [l.width, l.calcWidth, l.multiple, _.value],
713
- () => {
714
- _e();
715
- }
716
- );
717
- const xe = () => {
718
- if (!(!d.value.length || l.multiple)) {
719
- if (l.modelValue === null || !String(l.modelValue))
720
- return j.value = "";
721
- Be(d.value, l.modelValue);
722
- }
723
- }, Be = (a, o) => {
724
- a.forEach((s) => {
725
- if (s.children)
726
- return Be(s.children, o);
727
- s.id === o && (j.value = s[l.props && l.props.label || "label"]);
728
- });
729
- };
730
- t({
731
- clearCheaked: Ve,
732
- togglePopperVisible: (a) => {
733
- I.value = a;
734
- }
735
- });
736
- const Le = (a) => {
737
- try {
738
- return JSON.stringify(a);
739
- } catch (o) {
740
- return a;
741
- }
742
- };
743
- return J(
744
- () => l.modelValue,
745
- (a, o) => q(null, null, function* () {
746
- const s = Le(a), y = Le(o);
747
- s !== y && (yield fe(), xe(), ie());
748
- })
749
- ), Ft(() => q(null, null, function* () {
750
- yield fe(), d.value = ze(l.data), xe(), _e(), setTimeout(() => {
751
- ie();
752
- });
753
- })), (a, o) => {
754
- const s = E("el-tag"), y = E("DynamicScrollerItem"), m = E("DynamicScroller"), w = E("LazyPopover"), S = E("ArrowDown"), g = E("el-icon"), L = E("CircleClose"), D = E("el-tree-v2"), ue = E("el-popover");
755
- return X(), Ue(ue, {
756
- visible: I.value,
757
- "onUpdate:visible": o[4] || (o[4] = (T) => I.value = T),
758
- disabled: e.disabled,
759
- placement: "bottom",
760
- trigger: "click",
761
- width: h.value
762
- }, {
763
- reference: $(() => [
764
- M("div", {
765
- class: he(["select-tree", e.wrapclass]),
766
- style: We(b.value)
767
- }, [
768
- M("div", {
769
- class: he(["select-tree-wrapper", { "is-focused": I.value }]),
770
- style: We({ width: ne.value, backgroundColor: e.disabled ? "#F5F9FF" : "" })
771
- }, [
772
- p.value.length ? (X(), Ce("div", go, [
773
- O(s, {
774
- class: "m-val-tag mx-[5px]",
775
- type: "info",
776
- title: p.value[0][e.props && e.props.label || "label"],
777
- closable: "",
778
- onClose: o[0] || (o[0] = (T) => Fe(p.value[0]))
779
- }, {
780
- default: $(() => [
781
- Ae(Y(p.value[0][e.props && e.props.label || "label"]), 1)
782
- ]),
783
- _: 1
784
- }, 8, ["title"]),
785
- p.value.length > 1 ? (X(), Ue(w, {
786
- key: 0,
787
- width: `${h.value}px`
788
- }, {
789
- reference: $(() => [
790
- O(s, { type: "info" }, {
791
- default: $(() => [
792
- Ae("+ " + Y(p.value.length - 1), 1)
793
- ]),
794
- _: 1
795
- })
796
- ]),
797
- default: $(() => [
798
- M("div", bo, [
799
- O(m, {
800
- ref: "DynamicScrollerRef",
801
- class: "dynamic-scroller-ref",
802
- style: { height: "280px" },
803
- keyField: v.value,
804
- items: p.value.filter((T, H) => H !== 0),
805
- "min-item-size": 20
806
- }, {
807
- default: $(({ item: T, index: H, active: Dt }) => [
808
- O(y, {
809
- item: T,
810
- active: Dt,
811
- "data-index": H
812
- }, {
813
- default: $(() => [
814
- O(s, {
815
- class: "mr-[5px] mt-[5px]",
816
- closable: "",
817
- onClose: (xo) => Fe(T)
818
- }, {
819
- default: $(() => [
820
- Ae(Y(T[e.props && e.props.label || "label"]), 1)
821
- ]),
822
- _: 2
823
- }, 1032, ["onClose"])
824
- ]),
825
- _: 2
826
- }, 1032, ["item", "active", "data-index"])
827
- ]),
828
- _: 1
829
- }, 8, ["keyField", "items"])
830
- ])
831
- ]),
832
- _: 1
833
- }, 8, ["width"])) : pe("", !0)
834
- ])) : pe("", !0),
835
- M("div", yo, [
836
- Vt(M("input", {
837
- ref_key: "inputRef",
838
- ref: i,
839
- "onUpdate:modelValue": o[1] || (o[1] = (T) => j.value = T),
840
- class: he(e.inputClass),
841
- disabled: e.disabled,
842
- style: { height: "24px" },
843
- type: "text",
844
- placeholder: e.placeholder,
845
- onKeydown: o[2] || (o[2] = Ke(() => {
846
- }, ["stop"])),
847
- onInput: Nt
848
- }, null, 42, mo), [
849
- [zt, j.value]
850
- ])
851
- ]),
852
- M("div", {
853
- class: he(["select-tree-arrow", { "is-focused": I.value }])
854
- }, [
855
- O(g, null, {
856
- default: $(() => [
857
- O(S)
858
- ]),
859
- _: 1
860
- })
861
- ], 2),
862
- !e.disabled && (e.multiple && p.value.length || !e.multiple && e.modelValue) ? (X(), Ce("div", {
863
- key: 1,
864
- class: "select-tree-clear",
865
- onClick: Ke(Ve, ["stop"])
866
- }, [
867
- O(g, null, {
868
- default: $(() => [
869
- O(L)
870
- ]),
871
- _: 1
872
- })
873
- ])) : pe("", !0)
874
- ], 6)
875
- ], 6)
876
- ]),
877
- default: $(() => [
878
- e.multiple && e.checkoutAll ? (X(), Ce("div", {
879
- key: 0,
880
- class: "px-[10px] pb-[10px] border-b-[1px] mb-[5px] border-b-[#f5f5f5] cursor-pointer",
881
- onClick: o[3] || (o[3] = (T) => B.value = !B.value)
882
- }, Y(B.value ? "全部取消" : "全部选择当前"), 1)) : pe("", !0),
883
- O(D, {
884
- ref_key: "tree",
885
- ref: f,
886
- style: { width: "100%" },
887
- class: "custom-select-tree-box",
888
- data: d.value,
889
- props: e.props,
890
- "show-checkbox": e.multiple,
891
- height: e.height,
892
- "filter-method": e.filter || se,
893
- onNodeClick: kt,
894
- onCheck: It
895
- }, {
896
- default: $(({ node: T }) => [
897
- M("span", {
898
- title: T.label
899
- }, Y(T.label), 9, To)
900
- ]),
901
- _: 1
902
- }, 8, ["data", "props", "show-checkbox", "height", "filter-method"])
903
- ]),
904
- _: 1
905
- }, 8, ["visible", "disabled", "width"]);
906
- };
907
- }
908
- }), Oo = /* @__PURE__ */ Lt(wo, [["__scopeId", "data-v-68f09ab5"]]);
909
- export {
910
- Oo as S
911
- };