ss-component-new 1.3.733 → 1.3.735

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 (39) hide show
  1. package/dist/index-8KTFGqOM.js +25 -0
  2. package/dist/index-A8OE-eSF.js +29 -0
  3. package/dist/index-B2xkIV6C.js +25 -0
  4. package/dist/{index-BAPgKrRK.js → index-B3v82KuY.js} +2 -2
  5. package/dist/{index-CZD0-vRv.js → index-BggN-zvK.js} +156 -253
  6. package/dist/index-C0U2Epeo.js +25 -0
  7. package/dist/{index-DT8qBAQm.js → index-C8GSZPvd.js} +1 -1
  8. package/dist/index-CA0CoKiz.js +25 -0
  9. package/dist/index-CHjBtkir.js +4 -0
  10. package/dist/{index-cTPuIxOi.js → index-COeMUCuq.js} +2 -2
  11. package/dist/index-COxVr3MC.js +4 -0
  12. package/dist/index-CXoQiaXz.js +27 -0
  13. package/dist/index-CdanNGTM.js +4 -0
  14. package/dist/index-CfwzR4gE.js +469 -0
  15. package/dist/index-Cqyl2URI.js +32 -0
  16. package/dist/{index-CnBzFXIo.js → index-CsdL6xGl.js} +1 -1
  17. package/dist/{index-DO--mIQ5.js → index-D1WMhpsE.js} +2 -1
  18. package/dist/index-D5oMkTBW.js +35 -0
  19. package/dist/index-DGogREB4.js +26 -0
  20. package/dist/index-DRqX_bCT.js +4 -0
  21. package/dist/{index-BrrailZr.js → index-DbUt70zC.js} +1 -1
  22. package/dist/index-JkTP1vyC.js +4 -0
  23. package/dist/index-boICNvPL.js +4 -0
  24. package/dist/{index-BT2z3qBw.js → index-qO33lx52.js} +10646 -10330
  25. package/dist/index-uriwf_fo.js +4 -0
  26. package/dist/{index.vue_vue_type_script_setup_true_lang-DJgUI7Bv.js → index.vue_vue_type_script_setup_true_lang-B-JCE78v.js} +2 -1
  27. package/dist/index.vue_vue_type_script_setup_true_lang-BSZB17y-.js +42 -0
  28. package/dist/index.vue_vue_type_script_setup_true_lang-Brir5Bym.js +41 -0
  29. package/dist/index.vue_vue_type_script_setup_true_lang-C7BgxSz4.js +28 -0
  30. package/dist/index.vue_vue_type_script_setup_true_lang-CARZt7yC.js +25 -0
  31. package/dist/index.vue_vue_type_script_setup_true_lang-CVALRKBG.js +48 -0
  32. package/dist/index.vue_vue_type_script_setup_true_lang-CsThRoDZ.js +28 -0
  33. package/dist/index.vue_vue_type_script_setup_true_lang-DimtrEJj.js +26 -0
  34. package/dist/{platform-jbHxUUqG.js → platform-CPTootse.js} +7 -7
  35. package/dist/ss-component.css +1 -1
  36. package/dist/ss-component.js +1 -1
  37. package/dist/ss-component2.js +2 -2
  38. package/package.json +1 -1
  39. package/dist/index-CZ471IAo.js +0 -577
@@ -1,9 +1,12 @@
1
- import { defineComponent as $, createBlock as _, openBlock as f, resolveDynamicComponent as j, normalizeProps as x, guardReactiveProps as O, withCtx as l, renderSlot as u, resolveComponent as v, computed as g, mergeProps as y, createSlots as h, ref as E, watch as A, createElementBlock as C, createCommentVNode as T, createVNode as N, Fragment as P, renderList as R } from "vue";
1
+ import { defineComponent as $, createBlock as _, openBlock as i, resolveDynamicComponent as w, normalizeProps as E, guardReactiveProps as b, withCtx as l, renderSlot as r, resolveComponent as v, computed as k, mergeProps as h, createSlots as g, ref as C, watch as A, createElementBlock as x, createCommentVNode as T, createVNode as N, Fragment as P, renderList as R } from "vue";
2
2
  import { _ as D } from "./index.vue_vue_type_script_setup_true_lang-BrnE_n0l.js";
3
- import { _ as L } from "./index.vue_vue_type_script_setup_true_lang-DJgUI7Bv.js";
3
+ import { _ as L } from "./index.vue_vue_type_script_setup_true_lang-B-JCE78v.js";
4
4
  import { _ as S } from "./index.vue_vue_type_script_setup_true_lang-CuwhbWHH.js";
5
- import { g as B } from "./index-BT2z3qBw.js";
6
- const I = /* @__PURE__ */ $({
5
+ import { _ as B } from "./index.vue_vue_type_script_setup_true_lang-CVALRKBG.js";
6
+ import { _ as I } from "./index.vue_vue_type_script_setup_true_lang-DimtrEJj.js";
7
+ import { _ as X } from "./index.vue_vue_type_script_setup_true_lang-CARZt7yC.js";
8
+ import { g as G } from "./index-qO33lx52.js";
9
+ const H = /* @__PURE__ */ $({
7
10
  __name: "index",
8
11
  props: {
9
12
  componentName: {
@@ -15,16 +18,16 @@ const I = /* @__PURE__ */ $({
15
18
  default: () => ({})
16
19
  }
17
20
  },
18
- setup(a) {
19
- const d = a;
20
- return (t, n) => (f(), _(j(d.componentName), x(O(d.extra)), {
21
+ setup(s) {
22
+ const d = s;
23
+ return (t, n) => (i(), _(w(d.componentName), E(b(d.extra)), {
21
24
  default: l(() => [
22
- u(t.$slots, "default")
25
+ r(t.$slots, "default")
23
26
  ]),
24
27
  _: 3
25
28
  }, 16));
26
29
  }
27
- }), X = /* @__PURE__ */ $({
30
+ }), F = /* @__PURE__ */ $({
28
31
  __name: "index",
29
32
  props: {
30
33
  extra: {
@@ -32,19 +35,19 @@ const I = /* @__PURE__ */ $({
32
35
  default: () => ({})
33
36
  }
34
37
  },
35
- setup(a) {
36
- const d = a;
38
+ setup(s) {
39
+ const d = s;
37
40
  return (t, n) => {
38
41
  const o = v("n-menu");
39
- return f(), _(o, x(O(d.extra)), {
42
+ return i(), _(o, E(b(d.extra)), {
40
43
  default: l(() => [
41
- u(t.$slots, "default")
44
+ r(t.$slots, "default")
42
45
  ]),
43
46
  _: 3
44
47
  }, 16);
45
48
  };
46
49
  }
47
- }), G = /* @__PURE__ */ $({
50
+ }), K = /* @__PURE__ */ $({
48
51
  __name: "index",
49
52
  props: {
50
53
  extra: {
@@ -56,58 +59,58 @@ const I = /* @__PURE__ */ $({
56
59
  }
57
60
  },
58
61
  emits: ["update:modelValue", "change"],
59
- setup(a, { emit: d }) {
60
- const t = a, n = d, o = g({
62
+ setup(s, { emit: d }) {
63
+ const t = s, n = d, o = k({
61
64
  get: () => t.modelValue,
62
65
  set: (e) => {
63
66
  n("update:modelValue", e), n("change", e);
64
67
  }
65
68
  });
66
- return (e, s) => {
69
+ return (e, a) => {
67
70
  const c = v("n-cascader");
68
- return f(), _(c, y(t.extra, {
71
+ return i(), _(c, h(t.extra, {
69
72
  value: o.value,
70
- "onUpdate:value": s[0] || (s[0] = (r) => o.value = r)
71
- }), h({ _: 2 }, [
73
+ "onUpdate:value": a[0] || (a[0] = (u) => o.value = u)
74
+ }), g({ _: 2 }, [
72
75
  e.$slots.default ? {
73
76
  name: "default",
74
77
  fn: l(() => [
75
- u(e.$slots, "default")
78
+ r(e.$slots, "default")
76
79
  ]),
77
80
  key: "0"
78
81
  } : void 0,
79
82
  e.$slots.action ? {
80
83
  name: "action",
81
84
  fn: l(() => [
82
- u(e.$slots, "action")
85
+ r(e.$slots, "action")
83
86
  ]),
84
87
  key: "1"
85
88
  } : void 0,
86
89
  e.$slots.arrow ? {
87
90
  name: "arrow",
88
91
  fn: l(() => [
89
- u(e.$slots, "arrow")
92
+ r(e.$slots, "arrow")
90
93
  ]),
91
94
  key: "2"
92
95
  } : void 0,
93
96
  e.$slots.empty ? {
94
97
  name: "empty",
95
98
  fn: l(() => [
96
- u(e.$slots, "empty")
99
+ r(e.$slots, "empty")
97
100
  ]),
98
101
  key: "3"
99
102
  } : void 0,
100
103
  e.$slots["not-found"] ? {
101
104
  name: "not-found",
102
105
  fn: l(() => [
103
- u(e.$slots, "not-found")
106
+ r(e.$slots, "not-found")
104
107
  ]),
105
108
  key: "4"
106
109
  } : void 0
107
110
  ]), 1040, ["value"]);
108
111
  };
109
112
  }
110
- }), H = /* @__PURE__ */ $({
113
+ }), M = /* @__PURE__ */ $({
111
114
  __name: "index",
112
115
  props: {
113
116
  extra: {
@@ -119,30 +122,30 @@ const I = /* @__PURE__ */ $({
119
122
  }
120
123
  },
121
124
  emits: ["update:modelValue", "change"],
122
- setup(a, { emit: d }) {
123
- const t = a, n = d, o = g({
125
+ setup(s, { emit: d }) {
126
+ const t = s, n = d, o = k({
124
127
  get: () => t.modelValue,
125
128
  set: (e) => {
126
129
  n("update:modelValue", e), n("change", e);
127
130
  }
128
131
  });
129
- return (e, s) => {
132
+ return (e, a) => {
130
133
  const c = v("n-checkbox");
131
- return f(), _(c, y(t.extra, {
134
+ return i(), _(c, h(t.extra, {
132
135
  checked: o.value,
133
- "onUpdate:checked": s[0] || (s[0] = (r) => o.value = r)
134
- }), h({ _: 2 }, [
136
+ "onUpdate:checked": a[0] || (a[0] = (u) => o.value = u)
137
+ }), g({ _: 2 }, [
135
138
  e.$slots.default ? {
136
139
  name: "default",
137
140
  fn: l(() => [
138
- u(e.$slots, "default")
141
+ r(e.$slots, "default")
139
142
  ]),
140
143
  key: "0"
141
144
  } : void 0
142
145
  ]), 1040, ["checked"]);
143
146
  };
144
147
  }
145
- }), F = /* @__PURE__ */ $({
148
+ }), W = /* @__PURE__ */ $({
146
149
  __name: "index",
147
150
  props: {
148
151
  extra: {
@@ -154,27 +157,27 @@ const I = /* @__PURE__ */ $({
154
157
  }
155
158
  },
156
159
  emits: ["update:modelValue", "change"],
157
- setup(a, { emit: d }) {
158
- const t = a, n = d, o = g({
160
+ setup(s, { emit: d }) {
161
+ const t = s, n = d, o = k({
159
162
  get: () => t.modelValue,
160
163
  set: (e) => {
161
164
  n("update:modelValue", e), n("change", e);
162
165
  }
163
166
  });
164
- return (e, s) => {
167
+ return (e, a) => {
165
168
  const c = v("n-checkbox-group");
166
- return f(), _(c, y(t.extra, {
169
+ return i(), _(c, h(t.extra, {
167
170
  value: o.value,
168
- "onUpdate:value": s[0] || (s[0] = (r) => o.value = r)
171
+ "onUpdate:value": a[0] || (a[0] = (u) => o.value = u)
169
172
  }), {
170
173
  default: l(() => [
171
- u(e.$slots, "default")
174
+ r(e.$slots, "default")
172
175
  ]),
173
176
  _: 3
174
177
  }, 16, ["value"]);
175
178
  };
176
179
  }
177
- }), K = /* @__PURE__ */ $({
180
+ }), z = /* @__PURE__ */ $({
178
181
  __name: "index",
179
182
  props: {
180
183
  extra: {
@@ -182,65 +185,22 @@ const I = /* @__PURE__ */ $({
182
185
  default: () => ({})
183
186
  }
184
187
  },
185
- setup(a) {
186
- const d = a;
188
+ setup(s) {
189
+ const d = s;
187
190
  return (t, n) => {
188
191
  const o = v("n-dropdown");
189
- return f(), _(o, x(O(d.extra)), h({ _: 2 }, [
192
+ return i(), _(o, E(b(d.extra)), g({ _: 2 }, [
190
193
  t.$slots.default ? {
191
194
  name: "default",
192
195
  fn: l(() => [
193
- u(t.$slots, "default")
196
+ r(t.$slots, "default")
194
197
  ]),
195
198
  key: "0"
196
199
  } : void 0
197
200
  ]), 1040);
198
201
  };
199
202
  }
200
- }), M = /* @__PURE__ */ $({
201
- __name: "index",
202
- props: {
203
- extra: {
204
- type: Object,
205
- default: () => ({})
206
- },
207
- modelValue: {
208
- default: void 0
209
- }
210
- },
211
- emits: ["update:modelValue", "change"],
212
- setup(a, { emit: d }) {
213
- const t = a, n = d, o = g({
214
- get: () => t.modelValue,
215
- set: (e) => {
216
- n("update:modelValue", e), n("change", e);
217
- }
218
- });
219
- return (e, s) => {
220
- var r, m;
221
- const c = v("n-input");
222
- return f(), _(c, y(t == null ? void 0 : t.extra, {
223
- value: o.value,
224
- "onUpdate:value": s[0] || (s[0] = (p) => o.value = p)
225
- }), h({ _: 2 }, [
226
- e.$slots.prefix && !((r = t == null ? void 0 : t.extra) != null && r.type) ? {
227
- name: "prefix",
228
- fn: l(() => [
229
- u(e.$slots, "prefix")
230
- ]),
231
- key: "0"
232
- } : void 0,
233
- e.$slots.suffix && !((m = t == null ? void 0 : t.extra) != null && m.type) ? {
234
- name: "suffix",
235
- fn: l(() => [
236
- u(e.$slots, "suffix")
237
- ]),
238
- key: "1"
239
- } : void 0
240
- ]), 1040, ["value"]);
241
- };
242
- }
243
- }), W = /* @__PURE__ */ $({
203
+ }), Y = /* @__PURE__ */ $({
244
204
  __name: "index",
245
205
  props: {
246
206
  extra: {
@@ -252,30 +212,30 @@ const I = /* @__PURE__ */ $({
252
212
  }
253
213
  },
254
214
  emits: ["update:modelValue", "change"],
255
- setup(a, { emit: d }) {
256
- const t = a, n = d, o = g({
215
+ setup(s, { emit: d }) {
216
+ const t = s, n = d, o = k({
257
217
  get: () => t.modelValue,
258
218
  set: (e) => {
259
219
  n("update:modelValue", e), n("change", e);
260
220
  }
261
221
  });
262
- return (e, s) => {
222
+ return (e, a) => {
263
223
  const c = v("n-radio");
264
- return f(), _(c, y(t.extra, {
224
+ return i(), _(c, h(t.extra, {
265
225
  checked: o.value,
266
- "onUpdate:checked": s[0] || (s[0] = (r) => o.value = r)
267
- }), h({ _: 2 }, [
226
+ "onUpdate:checked": a[0] || (a[0] = (u) => o.value = u)
227
+ }), g({ _: 2 }, [
268
228
  e.$slots.default ? {
269
229
  name: "default",
270
230
  fn: l(() => [
271
- u(e.$slots, "default")
231
+ r(e.$slots, "default")
272
232
  ]),
273
233
  key: "0"
274
234
  } : void 0
275
235
  ]), 1040, ["checked"]);
276
236
  };
277
237
  }
278
- }), z = /* @__PURE__ */ $({
238
+ }), q = /* @__PURE__ */ $({
279
239
  __name: "index",
280
240
  props: {
281
241
  extra: {
@@ -287,27 +247,27 @@ const I = /* @__PURE__ */ $({
287
247
  }
288
248
  },
289
249
  emits: ["update:modelValue", "change"],
290
- setup(a, { emit: d }) {
291
- const t = a, n = d, o = g({
250
+ setup(s, { emit: d }) {
251
+ const t = s, n = d, o = k({
292
252
  get: () => t.modelValue,
293
253
  set: (e) => {
294
254
  n("update:modelValue", e), n("change", e);
295
255
  }
296
256
  });
297
- return (e, s) => {
257
+ return (e, a) => {
298
258
  const c = v("n-radio-group");
299
- return f(), _(c, y(t.extra, {
259
+ return i(), _(c, h(t.extra, {
300
260
  value: o.value,
301
- "onUpdate:value": s[0] || (s[0] = (r) => o.value = r)
261
+ "onUpdate:value": a[0] || (a[0] = (u) => o.value = u)
302
262
  }), {
303
263
  default: l(() => [
304
- u(e.$slots, "default")
264
+ r(e.$slots, "default")
305
265
  ]),
306
266
  _: 3
307
267
  }, 16, ["value"]);
308
268
  };
309
269
  }
310
- }), Y = /* @__PURE__ */ $({
270
+ }), J = /* @__PURE__ */ $({
311
271
  __name: "index",
312
272
  props: {
313
273
  extra: {
@@ -319,58 +279,58 @@ const I = /* @__PURE__ */ $({
319
279
  }
320
280
  },
321
281
  emits: ["update:modelValue", "change"],
322
- setup(a, { emit: d }) {
323
- const t = a, n = d, o = g({
282
+ setup(s, { emit: d }) {
283
+ const t = s, n = d, o = k({
324
284
  get: () => t.modelValue,
325
285
  set: (e) => {
326
286
  n("update:modelValue", e), n("change", e);
327
287
  }
328
288
  });
329
- return (e, s) => {
289
+ return (e, a) => {
330
290
  const c = v("n-select");
331
- return f(), _(c, y(t.extra, {
291
+ return i(), _(c, h(t.extra, {
332
292
  value: o.value,
333
- "onUpdate:value": s[0] || (s[0] = (r) => o.value = r)
334
- }), h({ _: 2 }, [
293
+ "onUpdate:value": a[0] || (a[0] = (u) => o.value = u)
294
+ }), g({ _: 2 }, [
335
295
  e.$slots.default ? {
336
296
  name: "default",
337
297
  fn: l(() => [
338
- u(e.$slots, "default")
298
+ r(e.$slots, "default")
339
299
  ]),
340
300
  key: "0"
341
301
  } : void 0,
342
302
  e.$slots.action ? {
343
303
  name: "action",
344
304
  fn: l(() => [
345
- u(e.$slots, "action")
305
+ r(e.$slots, "action")
346
306
  ]),
347
307
  key: "1"
348
308
  } : void 0,
349
309
  e.$slots.arrow ? {
350
310
  name: "arrow",
351
311
  fn: l(() => [
352
- u(e.$slots, "arrow")
312
+ r(e.$slots, "arrow")
353
313
  ]),
354
314
  key: "2"
355
315
  } : void 0,
356
316
  e.$slots.empty ? {
357
317
  name: "empty",
358
318
  fn: l(() => [
359
- u(e.$slots, "empty")
319
+ r(e.$slots, "empty")
360
320
  ]),
361
321
  key: "3"
362
322
  } : void 0,
363
323
  e.$slots.header ? {
364
324
  name: "header",
365
325
  fn: l(() => [
366
- u(e.$slots, "header")
326
+ r(e.$slots, "header")
367
327
  ]),
368
328
  key: "4"
369
329
  } : void 0
370
330
  ]), 1040, ["value"]);
371
331
  };
372
332
  }
373
- }), q = /* @__PURE__ */ $({
333
+ }), Q = /* @__PURE__ */ $({
374
334
  __name: "index",
375
335
  props: {
376
336
  extra: {
@@ -382,114 +342,57 @@ const I = /* @__PURE__ */ $({
382
342
  }
383
343
  },
384
344
  emits: ["update:modelValue", "change"],
385
- setup(a, { emit: d }) {
386
- const t = a, n = d, o = g({
345
+ setup(s, { emit: d }) {
346
+ const t = s, n = d, o = k({
387
347
  get: () => t.modelValue,
388
348
  set: (e) => {
389
349
  n("update:modelValue", e), n("change", e);
390
350
  }
391
351
  });
392
- return (e, s) => {
352
+ return (e, a) => {
393
353
  const c = v("n-switch");
394
- return f(), _(c, y(t.extra, {
354
+ return i(), _(c, h(t.extra, {
395
355
  value: o.value,
396
- "onUpdate:value": s[0] || (s[0] = (r) => o.value = r)
397
- }), h({ _: 2 }, [
356
+ "onUpdate:value": a[0] || (a[0] = (u) => o.value = u)
357
+ }), g({ _: 2 }, [
398
358
  e.$slots.checked ? {
399
359
  name: "checked",
400
360
  fn: l(() => [
401
- u(e.$slots, "checked")
361
+ r(e.$slots, "checked")
402
362
  ]),
403
363
  key: "0"
404
364
  } : void 0,
405
365
  e.$slots["checked-icon"] ? {
406
366
  name: "checked-icon",
407
367
  fn: l(() => [
408
- u(e.$slots, "checked-icon")
368
+ r(e.$slots, "checked-icon")
409
369
  ]),
410
370
  key: "1"
411
371
  } : void 0,
412
372
  e.$slots.icon ? {
413
373
  name: "icon",
414
374
  fn: l(() => [
415
- u(e.$slots, "icon")
375
+ r(e.$slots, "icon")
416
376
  ]),
417
377
  key: "2"
418
378
  } : void 0,
419
379
  e.$slots.unchecked ? {
420
380
  name: "unchecked",
421
381
  fn: l(() => [
422
- u(e.$slots, "unchecked")
382
+ r(e.$slots, "unchecked")
423
383
  ]),
424
384
  key: "3"
425
385
  } : void 0,
426
386
  e.$slots["unchecked-icon"] ? {
427
387
  name: "unchecked-icon",
428
388
  fn: l(() => [
429
- u(e.$slots, "unchecked-icon")
389
+ r(e.$slots, "unchecked-icon")
430
390
  ]),
431
391
  key: "4"
432
392
  } : void 0
433
393
  ]), 1040, ["value"]);
434
394
  };
435
395
  }
436
- }), J = /* @__PURE__ */ $({
437
- __name: "index",
438
- props: {
439
- extra: {
440
- type: Object,
441
- default: () => ({})
442
- }
443
- },
444
- setup(a) {
445
- const d = a;
446
- return (t, n) => {
447
- const o = v("n-tag");
448
- return f(), _(o, x(O(d.extra)), h({ _: 2 }, [
449
- t.$slots.default ? {
450
- name: "default",
451
- fn: l(() => [
452
- u(t.$slots, "default")
453
- ]),
454
- key: "0"
455
- } : void 0,
456
- t.$slots.avatar ? {
457
- name: "avatar",
458
- fn: l(() => [
459
- u(t.$slots, "avatar")
460
- ]),
461
- key: "1"
462
- } : void 0,
463
- t.$slots.icon ? {
464
- name: "icon",
465
- fn: l(() => [
466
- u(t.$slots, "icon")
467
- ]),
468
- key: "2"
469
- } : void 0
470
- ]), 1040);
471
- };
472
- }
473
- }), Q = /* @__PURE__ */ $({
474
- __name: "index",
475
- props: {
476
- extra: {
477
- type: Object,
478
- default: () => ({})
479
- }
480
- },
481
- setup(a) {
482
- const d = a;
483
- return (t, n) => {
484
- const o = v("n-text");
485
- return f(), _(o, x(O(d.extra)), {
486
- default: l(() => [
487
- u(t.$slots, "default")
488
- ]),
489
- _: 3
490
- }, 16);
491
- };
492
- }
493
396
  }), Z = /* @__PURE__ */ $({
494
397
  __name: "index",
495
398
  props: {
@@ -502,31 +405,31 @@ const I = /* @__PURE__ */ $({
502
405
  }
503
406
  },
504
407
  emits: ["update:modelValue", "change"],
505
- setup(a, { emit: d }) {
506
- const t = a, n = d, o = g({
408
+ setup(s, { emit: d }) {
409
+ const t = s, n = d, o = k({
507
410
  get: () => t.modelValue,
508
411
  set: (e) => {
509
412
  n("update:modelValue", e), n("change", e);
510
413
  }
511
414
  });
512
- return (e, s) => {
415
+ return (e, a) => {
513
416
  const c = v("n-input");
514
- return f(), _(c, y(t.extra, {
417
+ return i(), _(c, h(t.extra, {
515
418
  value: o.value,
516
- "onUpdate:value": s[0] || (s[0] = (r) => o.value = r),
419
+ "onUpdate:value": a[0] || (a[0] = (u) => o.value = u),
517
420
  type: "textarea"
518
- }), h({ _: 2 }, [
421
+ }), g({ _: 2 }, [
519
422
  e.$slots.prefix ? {
520
423
  name: "prefix",
521
424
  fn: l(() => [
522
- u(e.$slots, "prefix")
425
+ r(e.$slots, "prefix")
523
426
  ]),
524
427
  key: "0"
525
428
  } : void 0,
526
429
  e.$slots.suffix ? {
527
430
  name: "suffix",
528
431
  fn: l(() => [
529
- u(e.$slots, "suffix")
432
+ r(e.$slots, "suffix")
530
433
  ]),
531
434
  key: "1"
532
435
  } : void 0
@@ -545,51 +448,51 @@ const I = /* @__PURE__ */ $({
545
448
  }
546
449
  },
547
450
  emits: ["update:modelValue", "change"],
548
- setup(a, { emit: d }) {
549
- const t = a, n = d, o = g({
451
+ setup(s, { emit: d }) {
452
+ const t = s, n = d, o = k({
550
453
  get: () => t.modelValue,
551
454
  set: (e) => {
552
455
  n("update:modelValue", e), n("change", e);
553
456
  }
554
457
  });
555
- return (e, s) => {
458
+ return (e, a) => {
556
459
  const c = v("n-tree-select");
557
- return f(), _(c, y(t.extra, {
460
+ return i(), _(c, h(t.extra, {
558
461
  value: o.value,
559
- "onUpdate:value": s[0] || (s[0] = (r) => o.value = r)
560
- }), h({ _: 2 }, [
462
+ "onUpdate:value": a[0] || (a[0] = (u) => o.value = u)
463
+ }), g({ _: 2 }, [
561
464
  e.$slots.action ? {
562
465
  name: "action",
563
466
  fn: l(() => [
564
- u(e.$slots, "action")
467
+ r(e.$slots, "action")
565
468
  ]),
566
469
  key: "0"
567
470
  } : void 0,
568
471
  e.$slots.arrow ? {
569
472
  name: "arrow",
570
473
  fn: l(() => [
571
- u(e.$slots, "arrow")
474
+ r(e.$slots, "arrow")
572
475
  ]),
573
476
  key: "1"
574
477
  } : void 0,
575
478
  e.$slots.empty ? {
576
479
  name: "empty",
577
480
  fn: l(() => [
578
- u(e.$slots, "empty")
481
+ r(e.$slots, "empty")
579
482
  ]),
580
483
  key: "2"
581
484
  } : void 0,
582
485
  e.$slots.header ? {
583
486
  name: "header",
584
487
  fn: l(() => [
585
- u(e.$slots, "header")
488
+ r(e.$slots, "header")
586
489
  ]),
587
490
  key: "3"
588
491
  } : void 0
589
492
  ]), 1040, ["value"]);
590
493
  };
591
494
  }
592
- }), te = /* @__PURE__ */ $({
495
+ }), oe = /* @__PURE__ */ $({
593
496
  __name: "index",
594
497
  props: {
595
498
  extra: {
@@ -601,54 +504,54 @@ const I = /* @__PURE__ */ $({
601
504
  }
602
505
  },
603
506
  emits: ["update:modelValue", "change"],
604
- setup(a, { emit: d }) {
605
- const t = a, n = d, o = g({
507
+ setup(s, { emit: d }) {
508
+ const t = s, n = d, o = k({
606
509
  get: () => t.modelValue,
607
510
  set: (e) => {
608
511
  n("update:modelValue", e), n("change", e);
609
512
  }
610
513
  });
611
- return (e, s) => {
514
+ return (e, a) => {
612
515
  const c = v("n-upload");
613
- return f(), _(c, y(t.extra, {
516
+ return i(), _(c, h(t.extra, {
614
517
  "file-list": o.value,
615
- "onUpdate:fileList": s[0] || (s[0] = (r) => o.value = r)
616
- }), h({ _: 2 }, [
518
+ "onUpdate:fileList": a[0] || (a[0] = (u) => o.value = u)
519
+ }), g({ _: 2 }, [
617
520
  e.$slots.default ? {
618
521
  name: "default",
619
- fn: l((r) => [
620
- u(e.$slots, "default", x(O(r)))
522
+ fn: l((u) => [
523
+ r(e.$slots, "default", E(b(u)))
621
524
  ]),
622
525
  key: "0"
623
526
  } : void 0
624
527
  ]), 1040, ["file-list"]);
625
528
  };
626
529
  }
627
- }), oe = {
530
+ }), te = {
628
531
  BUTTON: S,
629
- CASCADER: G,
630
- CHECKBOX: H,
631
- CHECKBOXGROUP: F,
632
- DROPDOWN: K,
532
+ CASCADER: K,
533
+ CHECKBOX: M,
534
+ CHECKBOXGROUP: W,
535
+ DROPDOWN: z,
633
536
  FLEX: D,
634
- INPUT: M,
635
- LAYOUT: I,
636
- MENU: X,
537
+ INPUT: B,
538
+ LAYOUT: H,
539
+ MENU: F,
637
540
  PAGINATION: L,
638
- RADIO: W,
639
- RADIOGROUP: z,
640
- SELECT: Y,
641
- SWITCH: q,
642
- TAG: J,
643
- TEXT: Q,
541
+ RADIO: Y,
542
+ RADIOGROUP: q,
543
+ SELECT: J,
544
+ SWITCH: Q,
545
+ TAG: I,
546
+ TEXT: X,
644
547
  TEXTAREA: Z,
645
548
  TREESELECT: ee,
646
- UPLOAD: te
549
+ UPLOAD: oe
647
550
  };
648
- function ne(a) {
649
- return oe[a == null ? void 0 : a.toUpperCase()] || null;
551
+ function ne(s) {
552
+ return te[s == null ? void 0 : s.toUpperCase()] || null;
650
553
  }
651
- const ae = { key: 0 }, pe = /* @__PURE__ */ $({
554
+ const ae = { key: 0 }, fe = /* @__PURE__ */ $({
652
555
  __name: "index",
653
556
  props: {
654
557
  extra: {
@@ -664,21 +567,21 @@ const ae = { key: 0 }, pe = /* @__PURE__ */ $({
664
567
  default: () => ({})
665
568
  }
666
569
  },
667
- setup(a) {
570
+ setup(s) {
668
571
  const d = (m) => {
669
572
  if (Array.isArray(m))
670
573
  return m.flatMap((p) => Array.isArray(p == null ? void 0 : p.filter) ? p.filter : p).find((p) => {
671
- var k;
672
- return ((k = p == null ? void 0 : p.lib) == null ? void 0 : k.trim().toLowerCase()) === "naive";
574
+ var y;
575
+ return ((y = p == null ? void 0 : p.lib) == null ? void 0 : y.trim().toLowerCase()) === "naive";
673
576
  });
674
577
  }, t = (m) => {
675
578
  var p;
676
579
  return ((p = d(m)) == null ? void 0 : p.elementProp) ?? {};
677
580
  }, n = (m, p) => {
678
581
  var V;
679
- const k = ((V = d(m)) == null ? void 0 : V.elementComponent) || p;
680
- return k == null ? void 0 : k.replace(/^n-/i, "");
681
- }, o = a, e = E([]), s = E({}), c = (m) => ne(m), r = (m) => {
582
+ const y = ((V = d(m)) == null ? void 0 : V.elementComponent) || p;
583
+ return y == null ? void 0 : y.replace(/^n-/i, "");
584
+ }, o = s, e = C([]), a = C({}), c = (m) => ne(m), u = (m) => {
682
585
  var p;
683
586
  return {
684
587
  ...(p = m == null ? void 0 : m.options) != null && p.length ? { options: m.options } : {},
@@ -688,33 +591,33 @@ const ae = { key: 0 }, pe = /* @__PURE__ */ $({
688
591
  return A(
689
592
  () => [o == null ? void 0 : o.formElements, o == null ? void 0 : o.componentElement],
690
593
  () => {
691
- var k, V;
594
+ var y, V;
692
595
  let m = {};
693
- const p = Array.isArray((k = o == null ? void 0 : o.formElements) == null ? void 0 : k.rowElements) ? o.formElements : B(o == null ? void 0 : o.componentElement);
694
- e.value = (p == null ? void 0 : p.rowElements) ?? [], (V = e.value) == null || V.forEach((b) => {
695
- m[b.prop] = b.value;
696
- }), s.value = m;
596
+ const p = Array.isArray((y = o == null ? void 0 : o.formElements) == null ? void 0 : y.rowElements) ? o.formElements : G(o == null ? void 0 : o.componentElement);
597
+ e.value = (p == null ? void 0 : p.rowElements) ?? [], (V = e.value) == null || V.forEach((O) => {
598
+ m[O.prop] = O.value;
599
+ }), a.value = m;
697
600
  },
698
601
  { immediate: !0 }
699
602
  ), (m, p) => {
700
- var b;
701
- const k = v("n-form-item"), V = v("n-form");
702
- return ((b = e.value) == null ? void 0 : b.length) > 0 ? (f(), C("div", ae, [
703
- N(V, y({
603
+ var O;
604
+ const y = v("n-form-item"), V = v("n-form");
605
+ return ((O = e.value) == null ? void 0 : O.length) > 0 ? (i(), x("div", ae, [
606
+ N(V, h({
704
607
  ref: "formRef",
705
- model: s.value
608
+ model: a.value
706
609
  }, o.extra), {
707
610
  default: l(() => [
708
- (f(!0), C(P, null, R(e.value, (i, U) => (f(), _(k, {
611
+ (i(!0), x(P, null, R(e.value, (f, U) => (i(), _(y, {
709
612
  key: U,
710
- label: i == null ? void 0 : i.prop,
711
- span: 24 / (i == null ? void 0 : i.width)
613
+ label: f == null ? void 0 : f.prop,
614
+ span: 24 / (f == null ? void 0 : f.width)
712
615
  }, {
713
616
  default: l(() => [
714
- (f(), _(j(c(n(i == null ? void 0 : i.extraProps, i == null ? void 0 : i.type))), {
715
- modelValue: s.value[i == null ? void 0 : i.prop],
716
- "onUpdate:modelValue": (w) => s.value[i == null ? void 0 : i.prop] = w,
717
- extra: r(i)
617
+ (i(), _(w(c(n(f == null ? void 0 : f.extraProps, f == null ? void 0 : f.type))), {
618
+ modelValue: a.value[f == null ? void 0 : f.prop],
619
+ "onUpdate:modelValue": (j) => a.value[f == null ? void 0 : f.prop] = j,
620
+ extra: u(f)
718
621
  }, null, 8, ["modelValue", "onUpdate:modelValue", "extra"]))
719
622
  ]),
720
623
  _: 2
@@ -727,5 +630,5 @@ const ae = { key: 0 }, pe = /* @__PURE__ */ $({
727
630
  }
728
631
  });
729
632
  export {
730
- pe as default
633
+ fe as default
731
634
  };