iking-web-ui-pro 0.0.13 → 0.0.15

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.
@@ -1,4 +1,4 @@
1
- import { unref as S, getCurrentScope as Mi, onScopeDispose as Ai, watch as ki, defineComponent as Bn, computed as gn, resolveComponent as fe, openBlock as y, createElementBlock as $, normalizeClass as we, normalizeStyle as ye, createElementVNode as te, createCommentVNode as Ke, createBlock as W, withCtx as B, useModel as qi, withModifiers as Fe, createVNode as ue, isRef as bn, Fragment as vn, renderList as wn } from "vue";
1
+ import { unref as S, getCurrentScope as Mi, onScopeDispose as Ai, watch as ki, defineComponent as Bn, computed as bn, resolveComponent as fe, openBlock as y, createElementBlock as $, normalizeClass as we, normalizeStyle as ye, createElementVNode as te, createCommentVNode as We, createBlock as W, withCtx as B, useModel as qi, withModifiers as Fe, createVNode as ue, isRef as vn, Fragment as wn, renderList as yn } from "vue";
2
2
  import { ikColor as Fi, _ as Li } from "iking-utils-pro";
3
3
  const Gn = (e, n) => {
4
4
  if (e.install = (i) => {
@@ -1388,7 +1388,7 @@ const Gn = (e, n) => {
1388
1388
  unicode: "e668",
1389
1389
  unicode_decimal: 58984
1390
1390
  }
1391
- ], yn = {
1391
+ ], Le = {
1392
1392
  id: Hi,
1393
1393
  name: Ui,
1394
1394
  font_family: Ki,
@@ -2318,7 +2318,7 @@ function me(e) {
2318
2318
  return (n = i == null ? void 0 : i.$el) != null ? n : i;
2319
2319
  }
2320
2320
  const Xn = Jn ? window : void 0;
2321
- function Le(...e) {
2321
+ function He(...e) {
2322
2322
  let n, i, c, o;
2323
2323
  if (no(e[0]) || Array.isArray(e[0]) ? ([i, c, o] = e, n = Xn) : [n, i, c, o] = e, !n)
2324
2324
  return Yn;
@@ -2347,7 +2347,7 @@ function to(e, n, i = {}) {
2347
2347
  return m && (l.target === m || l.composedPath().includes(m));
2348
2348
  }
2349
2349
  }), u = [
2350
- Le(c, "click", (l) => {
2350
+ He(c, "click", (l) => {
2351
2351
  const r = me(e);
2352
2352
  if (!(!r || r === l.target || l.composedPath().includes(r))) {
2353
2353
  if (l.detail === 0 && (s = !d(l)), !s) {
@@ -2357,11 +2357,11 @@ function to(e, n, i = {}) {
2357
2357
  n(l);
2358
2358
  }
2359
2359
  }, { passive: !0, capture: t }),
2360
- Le(c, "pointerdown", (l) => {
2360
+ He(c, "pointerdown", (l) => {
2361
2361
  const r = me(e);
2362
2362
  r && (s = !l.composedPath().includes(r) && !d(l));
2363
2363
  }, { passive: !0 }),
2364
- a && Le(c, "blur", (l) => {
2364
+ a && He(c, "blur", (l) => {
2365
2365
  var r;
2366
2366
  const m = me(e);
2367
2367
  ((r = c.document.activeElement) == null ? void 0 : r.tagName) === "IFRAME" && !(m != null && m.contains(c.document.activeElement)) && n(l);
@@ -2423,7 +2423,7 @@ const G = () => {
2423
2423
  (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), D = Object.assign, mo = (e, n) => {
2424
2424
  const i = e.indexOf(n);
2425
2425
  i > -1 && e.splice(i, 1);
2426
- }, po = Object.prototype.hasOwnProperty, v = (e, n) => po.call(e, n), g = Array.isArray, ae = (e) => Me(e) === "[object Map]", ho = (e) => Me(e) === "[object Set]", E = (e) => typeof e == "function", C = (e) => typeof e == "string", Te = (e) => typeof e == "symbol", j = (e) => e !== null && typeof e == "object", go = (e) => (j(e) || E(e)) && E(e.then) && E(e.catch), bo = Object.prototype.toString, Me = (e) => bo.call(e), Zn = (e) => Me(e).slice(8, -1), vo = (e) => Me(e) === "[object Object]", en = (e) => C(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, wo = (e) => {
2426
+ }, po = Object.prototype.hasOwnProperty, v = (e, n) => po.call(e, n), g = Array.isArray, ae = (e) => Me(e) === "[object Map]", ho = (e) => Me(e) === "[object Set]", E = (e) => typeof e == "function", C = (e) => typeof e == "string", Te = (e) => typeof e == "symbol", j = (e) => e !== null && typeof e == "object", go = (e) => (j(e) || E(e)) && E(e.then) && E(e.catch), bo = Object.prototype.toString, Me = (e) => bo.call(e), Zn = (e) => Me(e).slice(8, -1), vo = (e) => Me(e) === "[object Object]", nn = (e) => C(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, wo = (e) => {
2427
2427
  const n = /* @__PURE__ */ Object.create(null);
2428
2428
  return (i) => n[i] || (n[i] = e(i));
2429
2429
  }, yo = wo((e) => e.charAt(0).toUpperCase() + e.slice(1)), K = (e, n) => !Object.is(e, n), Eo = (e, n, i) => {
@@ -2435,11 +2435,11 @@ const G = () => {
2435
2435
  };
2436
2436
  let jn;
2437
2437
  const ei = () => jn || (jn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
2438
- function nn(e) {
2438
+ function on(e) {
2439
2439
  if (g(e)) {
2440
2440
  const n = {};
2441
2441
  for (let i = 0; i < e.length; i++) {
2442
- const c = e[i], o = C(c) ? So(c) : nn(c);
2442
+ const c = e[i], o = C(c) ? So(c) : on(c);
2443
2443
  if (o)
2444
2444
  for (const t in o)
2445
2445
  n[t] = o[t];
@@ -2458,13 +2458,13 @@ function So(e) {
2458
2458
  }
2459
2459
  }), n;
2460
2460
  }
2461
- function on(e) {
2461
+ function cn(e) {
2462
2462
  let n = "";
2463
2463
  if (C(e))
2464
2464
  n = e;
2465
2465
  else if (g(e))
2466
2466
  for (let i = 0; i < e.length; i++) {
2467
- const c = on(e[i]);
2467
+ const c = cn(e[i]);
2468
2468
  c && (n += c + " ");
2469
2469
  }
2470
2470
  else if (j(e))
@@ -2489,11 +2489,11 @@ class ii {
2489
2489
  }
2490
2490
  get dirty() {
2491
2491
  if (this._dirtyLevel === 1) {
2492
- this._dirtyLevel = 0, this._queryings++, cn();
2492
+ this._dirtyLevel = 0, this._queryings++, tn();
2493
2493
  for (const n of this.deps)
2494
2494
  if (n.computed && (Co(n.computed), this._dirtyLevel >= 2))
2495
2495
  break;
2496
- tn(), this._queryings--;
2496
+ an(), this._queryings--;
2497
2497
  }
2498
2498
  return this._dirtyLevel >= 2;
2499
2499
  }
@@ -2532,21 +2532,21 @@ function oi(e, n) {
2532
2532
  const i = e.get(n);
2533
2533
  i !== void 0 && n._trackId !== i && (e.delete(n), e.size === 0 && e.cleanup());
2534
2534
  }
2535
- let H = !0, We = 0;
2535
+ let H = !0, Be = 0;
2536
2536
  const ci = [];
2537
- function cn() {
2537
+ function tn() {
2538
2538
  ci.push(H), H = !1;
2539
2539
  }
2540
- function tn() {
2540
+ function an() {
2541
2541
  const e = ci.pop();
2542
2542
  H = e === void 0 ? !0 : e;
2543
2543
  }
2544
- function an() {
2545
- We++;
2546
- }
2547
2544
  function sn() {
2548
- for (We--; !We && Be.length; )
2549
- Be.shift()();
2545
+ Be++;
2546
+ }
2547
+ function dn() {
2548
+ for (Be--; !Be && Ge.length; )
2549
+ Ge.shift()();
2550
2550
  }
2551
2551
  function ti(e, n, i) {
2552
2552
  var c;
@@ -2556,25 +2556,25 @@ function ti(e, n, i) {
2556
2556
  o !== n ? (o && oi(o, e), e.deps[e._depsLength++] = n) : e._depsLength++, process.env.NODE_ENV !== "production" && ((c = e.onTrack) == null || c.call(e, D({ effect: e }, i)));
2557
2557
  }
2558
2558
  }
2559
- const Be = [];
2559
+ const Ge = [];
2560
2560
  function ai(e, n, i) {
2561
2561
  var c;
2562
- an();
2562
+ sn();
2563
2563
  for (const o of e.keys())
2564
2564
  if (!(!o.allowRecurse && o._runnings) && o._dirtyLevel < n && (!o._runnings || n !== 2)) {
2565
2565
  const t = o._dirtyLevel;
2566
- o._dirtyLevel = n, t === 0 && (!o._queryings || n !== 2) && (process.env.NODE_ENV !== "production" && ((c = o.onTrigger) == null || c.call(o, D({ effect: o }, i))), o.trigger(), o.scheduler && Be.push(o.scheduler));
2566
+ o._dirtyLevel = n, t === 0 && (!o._queryings || n !== 2) && (process.env.NODE_ENV !== "production" && ((c = o.onTrigger) == null || c.call(o, D({ effect: o }, i))), o.trigger(), o.scheduler && Ge.push(o.scheduler));
2567
2567
  }
2568
- sn();
2568
+ dn();
2569
2569
  }
2570
2570
  const si = (e, n) => {
2571
2571
  const i = /* @__PURE__ */ new Map();
2572
2572
  return i.cleanup = e, i.computed = n, i;
2573
- }, Ge = /* @__PURE__ */ new WeakMap(), Y = Symbol(process.env.NODE_ENV !== "production" ? "iterate" : ""), Je = Symbol(process.env.NODE_ENV !== "production" ? "Map key iterate" : "");
2573
+ }, Je = /* @__PURE__ */ new WeakMap(), Y = Symbol(process.env.NODE_ENV !== "production" ? "iterate" : ""), Ye = Symbol(process.env.NODE_ENV !== "production" ? "Map key iterate" : "");
2574
2574
  function N(e, n, i) {
2575
2575
  if (H && J) {
2576
- let c = Ge.get(e);
2577
- c || Ge.set(e, c = /* @__PURE__ */ new Map());
2576
+ let c = Je.get(e);
2577
+ c || Je.set(e, c = /* @__PURE__ */ new Map());
2578
2578
  let o = c.get(i);
2579
2579
  o || c.set(i, o = si(() => c.delete(i))), ti(
2580
2580
  J,
@@ -2588,7 +2588,7 @@ function N(e, n, i) {
2588
2588
  }
2589
2589
  }
2590
2590
  function U(e, n, i, c, o, t) {
2591
- const a = Ge.get(e);
2591
+ const a = Je.get(e);
2592
2592
  if (!a)
2593
2593
  return;
2594
2594
  let s = [];
@@ -2602,16 +2602,16 @@ function U(e, n, i, c, o, t) {
2602
2602
  } else
2603
2603
  switch (i !== void 0 && s.push(a.get(i)), n) {
2604
2604
  case "add":
2605
- g(e) ? en(i) && s.push(a.get("length")) : (s.push(a.get(Y)), ae(e) && s.push(a.get(Je)));
2605
+ g(e) ? nn(i) && s.push(a.get("length")) : (s.push(a.get(Y)), ae(e) && s.push(a.get(Ye)));
2606
2606
  break;
2607
2607
  case "delete":
2608
- g(e) || (s.push(a.get(Y)), ae(e) && s.push(a.get(Je)));
2608
+ g(e) || (s.push(a.get(Y)), ae(e) && s.push(a.get(Ye)));
2609
2609
  break;
2610
2610
  case "set":
2611
2611
  ae(e) && s.push(a.get(Y));
2612
2612
  break;
2613
2613
  }
2614
- an();
2614
+ sn();
2615
2615
  for (const d of s)
2616
2616
  d && ai(
2617
2617
  d,
@@ -2625,7 +2625,7 @@ function U(e, n, i, c, o, t) {
2625
2625
  oldTarget: t
2626
2626
  } : void 0
2627
2627
  );
2628
- sn();
2628
+ dn();
2629
2629
  }
2630
2630
  const jo = /* @__PURE__ */ _o("__proto__,__v_isRef,__isVue"), di = new Set(
2631
2631
  /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Te)
@@ -2642,9 +2642,9 @@ function Vo() {
2642
2642
  };
2643
2643
  }), ["push", "pop", "shift", "unshift", "splice"].forEach((n) => {
2644
2644
  e[n] = function(...i) {
2645
- cn(), an();
2645
+ tn(), sn();
2646
2646
  const c = _(this)[n].apply(this, i);
2647
- return sn(), tn(), c;
2647
+ return dn(), an(), c;
2648
2648
  };
2649
2649
  }), e;
2650
2650
  }
@@ -2676,7 +2676,7 @@ class li {
2676
2676
  return Ro;
2677
2677
  }
2678
2678
  const s = Reflect.get(n, i, c);
2679
- return (Te(i) ? di.has(i) : jo(i)) || (o || N(n, "get", i), t) ? s : z(s) ? a && en(i) ? s : s.value : j(s) ? o ? hi(s) : pi(s) : s;
2679
+ return (Te(i) ? di.has(i) : jo(i)) || (o || N(n, "get", i), t) ? s : z(s) ? a && nn(i) ? s : s.value : j(s) ? o ? hi(s) : pi(s) : s;
2680
2680
  }
2681
2681
  }
2682
2682
  class $o extends li {
@@ -2690,7 +2690,7 @@ class $o extends li {
2690
2690
  if (!oe(c) && !le(c) && (t = _(t), c = _(c)), !g(n) && z(t) && !z(c))
2691
2691
  return d ? !1 : (t.value = c, !0);
2692
2692
  }
2693
- const a = g(n) && en(i) ? Number(i) < n.length : v(n, i), s = Reflect.set(n, i, c, o);
2693
+ const a = g(n) && nn(i) ? Number(i) < n.length : v(n, i), s = Reflect.set(n, i, c, o);
2694
2694
  return n === _(o) && (a ? K(c, t) && U(n, "set", i, c, t) : U(n, "add", i, c)), s;
2695
2695
  }
2696
2696
  deleteProperty(n, i) {
@@ -2726,12 +2726,12 @@ class ui extends li {
2726
2726
  ), !0;
2727
2727
  }
2728
2728
  }
2729
- const Po = /* @__PURE__ */ new $o(), Do = /* @__PURE__ */ new ui(), To = /* @__PURE__ */ new ui(!0), dn = (e) => e, Ae = (e) => Reflect.getPrototypeOf(e);
2729
+ const Po = /* @__PURE__ */ new $o(), Do = /* @__PURE__ */ new ui(), To = /* @__PURE__ */ new ui(!0), ln = (e) => e, Ae = (e) => Reflect.getPrototypeOf(e);
2730
2730
  function Ee(e, n, i = !1, c = !1) {
2731
2731
  e = e.__v_raw;
2732
2732
  const o = _(e), t = _(n);
2733
2733
  i || (K(n, t) && N(o, "get", n), N(o, "get", t));
2734
- const { has: a } = Ae(o), s = c ? dn : i ? rn : be;
2734
+ const { has: a } = Ae(o), s = c ? ln : i ? _n : be;
2735
2735
  if (a.call(o, n))
2736
2736
  return s(e.get(n));
2737
2737
  if (a.call(o, t))
@@ -2771,17 +2771,17 @@ function An() {
2771
2771
  }
2772
2772
  function Ne(e, n) {
2773
2773
  return function(c, o) {
2774
- const t = this, a = t.__v_raw, s = _(a), d = n ? dn : e ? rn : be;
2774
+ const t = this, a = t.__v_raw, s = _(a), d = n ? ln : e ? _n : be;
2775
2775
  return !e && N(s, "iterate", Y), a.forEach((h, u) => c.call(o, d(h), d(u), t));
2776
2776
  };
2777
2777
  }
2778
2778
  function Se(e, n, i) {
2779
2779
  return function(...c) {
2780
- const o = this.__v_raw, t = _(o), a = ae(t), s = e === "entries" || e === Symbol.iterator && a, d = e === "keys" && a, h = o[e](...c), u = i ? dn : n ? rn : be;
2780
+ const o = this.__v_raw, t = _(o), a = ae(t), s = e === "entries" || e === Symbol.iterator && a, d = e === "keys" && a, h = o[e](...c), u = i ? ln : n ? _n : be;
2781
2781
  return !n && N(
2782
2782
  t,
2783
2783
  "iterate",
2784
- d ? Je : Y
2784
+ d ? Ye : Y
2785
2785
  ), {
2786
2786
  // iterator protocol
2787
2787
  next() {
@@ -2899,7 +2899,7 @@ const [
2899
2899
  qo,
2900
2900
  Fo
2901
2901
  ] = /* @__PURE__ */ Mo();
2902
- function ln(e, n) {
2902
+ function un(e, n) {
2903
2903
  const i = n ? e ? Fo : qo : e ? ko : Ao;
2904
2904
  return (c, o, t) => o === "__v_isReactive" ? !e : o === "__v_isReadonly" ? e : o === "__v_raw" ? c : Reflect.get(
2905
2905
  v(i, o) && o in c ? i : c,
@@ -2908,11 +2908,11 @@ function ln(e, n) {
2908
2908
  );
2909
2909
  }
2910
2910
  const Lo = {
2911
- get: /* @__PURE__ */ ln(!1, !1)
2911
+ get: /* @__PURE__ */ un(!1, !1)
2912
2912
  }, Ho = {
2913
- get: /* @__PURE__ */ ln(!0, !1)
2913
+ get: /* @__PURE__ */ un(!0, !1)
2914
2914
  }, Uo = {
2915
- get: /* @__PURE__ */ ln(!0, !0)
2915
+ get: /* @__PURE__ */ un(!0, !0)
2916
2916
  };
2917
2917
  function ri(e, n, i) {
2918
2918
  const c = _(i);
@@ -2942,7 +2942,7 @@ function Bo(e) {
2942
2942
  return e.__v_skip || !Object.isExtensible(e) ? 0 : Wo(Zn(e));
2943
2943
  }
2944
2944
  function pi(e) {
2945
- return le(e) ? e : un(
2945
+ return le(e) ? e : rn(
2946
2946
  e,
2947
2947
  !1,
2948
2948
  Po,
@@ -2951,7 +2951,7 @@ function pi(e) {
2951
2951
  );
2952
2952
  }
2953
2953
  function hi(e) {
2954
- return un(
2954
+ return rn(
2955
2955
  e,
2956
2956
  !0,
2957
2957
  Do,
@@ -2960,7 +2960,7 @@ function hi(e) {
2960
2960
  );
2961
2961
  }
2962
2962
  function ze(e) {
2963
- return un(
2963
+ return rn(
2964
2964
  e,
2965
2965
  !0,
2966
2966
  To,
@@ -2968,7 +2968,7 @@ function ze(e) {
2968
2968
  mi
2969
2969
  );
2970
2970
  }
2971
- function un(e, n, i, c, o) {
2971
+ function rn(e, n, i, c, o) {
2972
2972
  if (!j(e))
2973
2973
  return process.env.NODE_ENV !== "production" && console.warn(`value cannot be made reactive: ${String(e)}`), e;
2974
2974
  if (e.__v_raw && !(n && e.__v_isReactive))
@@ -2994,7 +2994,7 @@ function le(e) {
2994
2994
  function oe(e) {
2995
2995
  return !!(e && e.__v_isShallow);
2996
2996
  }
2997
- function Ye(e) {
2997
+ function Qe(e) {
2998
2998
  return se(e) || le(e);
2999
2999
  }
3000
3000
  function _(e) {
@@ -3004,17 +3004,17 @@ function _(e) {
3004
3004
  function Go(e) {
3005
3005
  return Eo(e, "__v_skip", !0), e;
3006
3006
  }
3007
- const be = (e) => j(e) ? pi(e) : e, rn = (e) => j(e) ? hi(e) : e;
3007
+ const be = (e) => j(e) ? pi(e) : e, _n = (e) => j(e) ? hi(e) : e;
3008
3008
  class Jo {
3009
3009
  constructor(n, i, c, o) {
3010
3010
  this._setter = i, this.dep = void 0, this.__v_isRef = !0, this.__v_isReadonly = !1, this.effect = new ii(
3011
3011
  () => n(this._value),
3012
- () => Qe(this, 1)
3012
+ () => Xe(this, 1)
3013
3013
  ), this.effect.computed = this, this.effect.active = this._cacheable = !o, this.__v_isReadonly = c;
3014
3014
  }
3015
3015
  get value() {
3016
3016
  const n = _(this);
3017
- return gi(n), (!n._cacheable || n.effect.dirty) && K(n._value, n._value = n.effect.run()) && Qe(n, 2), n._value;
3017
+ return gi(n), (!n._cacheable || n.effect.dirty) && K(n._value, n._value = n.effect.run()) && Xe(n, 2), n._value;
3018
3018
  }
3019
3019
  set value(n) {
3020
3020
  this._setter(n);
@@ -3042,7 +3042,7 @@ function gi(e) {
3042
3042
  } : void 0
3043
3043
  ));
3044
3044
  }
3045
- function Qe(e, n = 3, i) {
3045
+ function Xe(e, n = 3, i) {
3046
3046
  e = _(e);
3047
3047
  const c = e.dep;
3048
3048
  c && ai(
@@ -3074,7 +3074,7 @@ class Qo {
3074
3074
  }
3075
3075
  set value(n) {
3076
3076
  const i = this.__v_isShallow || oe(n) || le(n);
3077
- n = i ? n : _(n), K(n, this._rawValue) && (this._rawValue = n, this._value = i ? n : be(n), Qe(this, 3, n));
3077
+ n = i ? n : _(n), K(n, this._rawValue) && (this._rawValue = n, this._value = i ? n : be(n), Xe(this, 3, n));
3078
3078
  }
3079
3079
  }
3080
3080
  function Xo(e) {
@@ -3098,7 +3098,7 @@ function ic() {
3098
3098
  Q.pop();
3099
3099
  }
3100
3100
  function w(e, ...n) {
3101
- cn();
3101
+ tn();
3102
3102
  const i = Q.length ? Q[Q.length - 1].component : null, c = i && i.appContext.config.warnHandler, o = oc();
3103
3103
  if (c)
3104
3104
  X(
@@ -3120,7 +3120,7 @@ function w(e, ...n) {
3120
3120
  o.length && t.push(`
3121
3121
  `, ...cc(o)), console.warn(...t);
3122
3122
  }
3123
- tn();
3123
+ an();
3124
3124
  }
3125
3125
  function oc() {
3126
3126
  let e = Q[Q.length - 1];
@@ -3198,7 +3198,7 @@ function X(e, n, i, c) {
3198
3198
  try {
3199
3199
  o = c ? e(...c) : e();
3200
3200
  } catch (t) {
3201
- _n(t, n, i);
3201
+ fn(t, n, i);
3202
3202
  }
3203
3203
  return o;
3204
3204
  }
@@ -3206,7 +3206,7 @@ function je(e, n, i, c) {
3206
3206
  if (E(e)) {
3207
3207
  const t = X(e, n, i, c);
3208
3208
  return t && go(t) && t.catch((a) => {
3209
- _n(a, n, i);
3209
+ fn(a, n, i);
3210
3210
  }), t;
3211
3211
  }
3212
3212
  const o = [];
@@ -3214,7 +3214,7 @@ function je(e, n, i, c) {
3214
3214
  o.push(je(e[t], n, i, c));
3215
3215
  return o;
3216
3216
  }
3217
- function _n(e, n, i, c = !0) {
3217
+ function fn(e, n, i, c = !0) {
3218
3218
  const o = n ? n.vnode : null;
3219
3219
  if (n) {
3220
3220
  let t = n.parent;
@@ -3250,16 +3250,16 @@ function sc(e, n, i, c = !0) {
3250
3250
  } else
3251
3251
  console.error(e);
3252
3252
  }
3253
- let Re = !1, Xe = !1;
3253
+ let Re = !1, Ze = !1;
3254
3254
  const I = [];
3255
3255
  let F = 0;
3256
3256
  const de = [];
3257
3257
  let P = null, q = 0;
3258
3258
  const wi = /* @__PURE__ */ Promise.resolve();
3259
- let fn = null;
3259
+ let mn = null;
3260
3260
  const dc = 100;
3261
3261
  function lc(e) {
3262
- const n = fn || wi;
3262
+ const n = mn || wi;
3263
3263
  return e ? n.then(this ? e.bind(this) : e) : n;
3264
3264
  }
3265
3265
  function uc(e) {
@@ -3270,14 +3270,14 @@ function uc(e) {
3270
3270
  }
3271
3271
  return n;
3272
3272
  }
3273
- function mn(e) {
3273
+ function pn(e) {
3274
3274
  (!I.length || !I.includes(
3275
3275
  e,
3276
3276
  Re && e.allowRecurse ? F + 1 : F
3277
3277
  )) && (e.id == null ? I.push(e) : I.splice(uc(e.id), 0, e), yi());
3278
3278
  }
3279
3279
  function yi() {
3280
- !Re && !Xe && (Xe = !0, fn = wi.then(xi));
3280
+ !Re && !Ze && (Ze = !0, mn = wi.then(xi));
3281
3281
  }
3282
3282
  function Ei(e) {
3283
3283
  g(e) ? de.push(...e) : (!P || !P.includes(
@@ -3308,7 +3308,7 @@ const ve = (e) => e.id == null ? 1 / 0 : e.id, _c = (e, n) => {
3308
3308
  return i;
3309
3309
  };
3310
3310
  function xi(e) {
3311
- Xe = !1, Re = !0, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), I.sort(_c);
3311
+ Ze = !1, Re = !0, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), I.sort(_c);
3312
3312
  const n = process.env.NODE_ENV !== "production" ? (i) => Oi(e, i) : G;
3313
3313
  try {
3314
3314
  for (F = 0; F < I.length; F++) {
@@ -3320,7 +3320,7 @@ function xi(e) {
3320
3320
  }
3321
3321
  }
3322
3322
  } finally {
3323
- F = 0, I.length = 0, rc(e), Re = !1, fn = null, (I.length || de.length) && xi(e);
3323
+ F = 0, I.length = 0, rc(e), Re = !1, mn = null, (I.length || de.length) && xi(e);
3324
3324
  }
3325
3325
  }
3326
3326
  function Oi(e, n) {
@@ -3330,7 +3330,7 @@ function Oi(e, n) {
3330
3330
  const i = e.get(n);
3331
3331
  if (i > dc) {
3332
3332
  const c = n.ownerInstance, o = c && $i(c.type);
3333
- return _n(
3333
+ return fn(
3334
3334
  `Maximum recursive updates exceeded${o ? ` in component <${o}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,
3335
3335
  null,
3336
3336
  10
@@ -3341,9 +3341,9 @@ function Oi(e, n) {
3341
3341
  }
3342
3342
  const _e = /* @__PURE__ */ new Set();
3343
3343
  process.env.NODE_ENV !== "production" && (ei().__VUE_HMR_RUNTIME__ = {
3344
- createRecord: He(fc),
3345
- rerender: He(mc),
3346
- reload: He(pc)
3344
+ createRecord: Ue(fc),
3345
+ rerender: Ue(mc),
3346
+ reload: Ue(pc)
3347
3347
  });
3348
3348
  const $e = /* @__PURE__ */ new Map();
3349
3349
  function fc(e, n) {
@@ -3369,7 +3369,7 @@ function pc(e, n) {
3369
3369
  const c = [...i.instances];
3370
3370
  for (const o of c) {
3371
3371
  const t = he(o.type);
3372
- _e.has(t) || (t !== i.initialDef && kn(t, n), _e.add(t)), o.appContext.propsCache.delete(o.type), o.appContext.emitsCache.delete(o.type), o.appContext.optionsCache.delete(o.type), o.ceReload ? (_e.add(t), o.ceReload(n.styles), _e.delete(t)) : o.parent ? (o.parent.effect.dirty = !0, mn(o.parent.update)) : o.appContext.reload ? o.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
3372
+ _e.has(t) || (t !== i.initialDef && kn(t, n), _e.add(t)), o.appContext.propsCache.delete(o.type), o.appContext.emitsCache.delete(o.type), o.appContext.optionsCache.delete(o.type), o.ceReload ? (_e.add(t), o.ceReload(n.styles), _e.delete(t)) : o.parent ? (o.parent.effect.dirty = !0, pn(o.parent.update)) : o.appContext.reload ? o.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
3373
3373
  "[HMR] Root or manually mounted instance modified. Full reload required."
3374
3374
  );
3375
3375
  }
@@ -3385,7 +3385,7 @@ function kn(e, n) {
3385
3385
  for (const i in e)
3386
3386
  i !== "__file" && !(i in n) && delete e[i];
3387
3387
  }
3388
- function He(e) {
3388
+ function Ue(e) {
3389
3389
  return (n, i) => {
3390
3390
  try {
3391
3391
  return e(n, i);
@@ -3506,7 +3506,7 @@ function Si(e, n, {
3506
3506
  };
3507
3507
  b.allowRecurse = !!n;
3508
3508
  let ee;
3509
- o === "sync" ? ee = b : o === "post" ? ee = () => Kn(b, u && u.suspense) : (b.pre = !0, u && (b.id = u.uid), ee = () => mn(b));
3509
+ o === "sync" ? ee = b : o === "post" ? ee = () => Kn(b, u && u.suspense) : (b.pre = !0, u && (b.id = u.uid), ee = () => pn(b));
3510
3510
  const O = new ii(f, G, ee), ke = () => {
3511
3511
  O.stop(), u && u.scope && mo(u.scope.effects, O);
3512
3512
  };
@@ -3557,7 +3557,7 @@ function L(e, n, i = 0, c) {
3557
3557
  L(e[o], n, i, c);
3558
3558
  return e;
3559
3559
  }
3560
- const Ze = (e) => e ? Hc(e) ? Uc(e) || e.proxy : Ze(e.parent) : null, ge = (
3560
+ const en = (e) => e ? Hc(e) ? Uc(e) || e.proxy : en(e.parent) : null, ge = (
3561
3561
  // Move PURE marker to new line to workaround compiler discarding it
3562
3562
  // due to type annotation
3563
3563
  /* @__PURE__ */ D(/* @__PURE__ */ Object.create(null), {
@@ -3568,17 +3568,17 @@ const Ze = (e) => e ? Hc(e) ? Uc(e) || e.proxy : Ze(e.parent) : null, ge = (
3568
3568
  $attrs: (e) => process.env.NODE_ENV !== "production" ? ze(e.attrs) : e.attrs,
3569
3569
  $slots: (e) => process.env.NODE_ENV !== "production" ? ze(e.slots) : e.slots,
3570
3570
  $refs: (e) => process.env.NODE_ENV !== "production" ? ze(e.refs) : e.refs,
3571
- $parent: (e) => Ze(e.parent),
3572
- $root: (e) => Ze(e.root),
3571
+ $parent: (e) => en(e.parent),
3572
+ $root: (e) => en(e.root),
3573
3573
  $emit: (e) => e.emit,
3574
3574
  $options: (e) => zc(e),
3575
3575
  $forceUpdate: (e) => e.f || (e.f = () => {
3576
- e.effect.dirty = !0, mn(e.update);
3576
+ e.effect.dirty = !0, pn(e.update);
3577
3577
  }),
3578
3578
  $nextTick: (e) => e.n || (e.n = lc.bind(e.proxy)),
3579
3579
  $watch: (e) => xc.bind(e)
3580
3580
  })
3581
- ), Nc = (e) => e === "_" || e === "$", Ue = (e, n) => e !== k && !e.__isScriptSetup && v(e, n), Sc = {
3581
+ ), Nc = (e) => e === "_" || e === "$", Ke = (e, n) => e !== k && !e.__isScriptSetup && v(e, n), Sc = {
3582
3582
  get({ _: e }, n) {
3583
3583
  const { ctx: i, setupState: c, data: o, props: t, accessCache: a, type: s, appContext: d } = e;
3584
3584
  if (process.env.NODE_ENV !== "production" && n === "__isVue")
@@ -3598,7 +3598,7 @@ const Ze = (e) => e ? Hc(e) ? Uc(e) || e.proxy : Ze(e.parent) : null, ge = (
3598
3598
  return t[n];
3599
3599
  }
3600
3600
  else {
3601
- if (Ue(c, n))
3601
+ if (Ke(c, n))
3602
3602
  return a[n] = 1, c[n];
3603
3603
  if (o !== k && v(o, n))
3604
3604
  return a[n] = 2, o[n];
@@ -3641,7 +3641,7 @@ const Ze = (e) => e ? Hc(e) ? Uc(e) || e.proxy : Ze(e.parent) : null, ge = (
3641
3641
  },
3642
3642
  set({ _: e }, n, i) {
3643
3643
  const { data: c, setupState: o, ctx: t } = e;
3644
- return Ue(o, n) ? (o[n] = i, !0) : process.env.NODE_ENV !== "production" && o.__isScriptSetup && v(o, n) ? (w(`Cannot mutate <script setup> binding "${n}" from Options API.`), !1) : c !== k && v(c, n) ? (c[n] = i, !0) : v(e.props, n) ? (process.env.NODE_ENV !== "production" && w(`Attempting to mutate prop "${n}". Props are readonly.`), !1) : n[0] === "$" && n.slice(1) in e ? (process.env.NODE_ENV !== "production" && w(
3644
+ return Ke(o, n) ? (o[n] = i, !0) : process.env.NODE_ENV !== "production" && o.__isScriptSetup && v(o, n) ? (w(`Cannot mutate <script setup> binding "${n}" from Options API.`), !1) : c !== k && v(c, n) ? (c[n] = i, !0) : v(e.props, n) ? (process.env.NODE_ENV !== "production" && w(`Attempting to mutate prop "${n}". Props are readonly.`), !1) : n[0] === "$" && n.slice(1) in e ? (process.env.NODE_ENV !== "production" && w(
3645
3645
  `Attempting to mutate public property "${n}". Properties starting with $ are reserved and readonly.`
3646
3646
  ), !1) : (process.env.NODE_ENV !== "production" && n in e.appContext.config.globalProperties ? Object.defineProperty(t, n, {
3647
3647
  enumerable: !0,
@@ -3653,7 +3653,7 @@ const Ze = (e) => e ? Hc(e) ? Uc(e) || e.proxy : Ze(e.parent) : null, ge = (
3653
3653
  _: { data: e, setupState: n, accessCache: i, ctx: c, appContext: o, propsOptions: t }
3654
3654
  }, a) {
3655
3655
  let s;
3656
- return !!i[a] || e !== k && v(e, a) || Ue(n, a) || (s = t[0]) && v(s, a) || v(c, a) || v(ge, a) || v(o.config.globalProperties, a);
3656
+ return !!i[a] || e !== k && v(e, a) || Ke(n, a) || (s = t[0]) && v(s, a) || v(c, a) || v(ge, a) || v(o.config.globalProperties, a);
3657
3657
  },
3658
3658
  defineProperty(e, n, i) {
3659
3659
  return i.get != null ? e._.accessCache[n] = 0 : v(i, "value") && this.set(e, n, i.value, null), Reflect.defineProperty(e, n, i);
@@ -3823,7 +3823,7 @@ function Mc(e, n = null, i = null, c = 0, o = null, t = e === zi ? 0 : 1, a = !1
3823
3823
  appContext: null,
3824
3824
  ctx: T
3825
3825
  };
3826
- return s ? (pn(d, i), t & 128 && e.normalize(d)) : i && (d.shapeFlag |= C(i) ? 8 : 16), process.env.NODE_ENV !== "production" && d.key !== d.key && w("VNode created with invalid key (NaN). VNode type:", d.type), // avoid a block node from tracking itself
3826
+ return s ? (hn(d, i), t & 128 && e.normalize(d)) : i && (d.shapeFlag |= C(i) ? 8 : 16), process.env.NODE_ENV !== "production" && d.key !== d.key && w("VNode created with invalid key (NaN). VNode type:", d.type), // avoid a block node from tracking itself
3827
3827
  !a && // has current parent block
3828
3828
  ce && // presence of a patch flag indicates this node needs patching on updates.
3829
3829
  // component nodes also should always be patched, because even if the
@@ -3842,15 +3842,15 @@ function ji(e, n = null, i = null, c = 0, o = null, t = !1) {
3842
3842
  !0
3843
3843
  /* mergeRef: true */
3844
3844
  );
3845
- return i && pn(s, i), !t && ce && (s.shapeFlag & 6 ? ce[ce.indexOf(e)] = s : ce.push(s)), s.patchFlag |= -2, s;
3845
+ return i && hn(s, i), !t && ce && (s.shapeFlag & 6 ? ce[ce.indexOf(e)] = s : ce.push(s)), s.patchFlag |= -2, s;
3846
3846
  }
3847
3847
  if (Di(e) && (e = e.__vccOpts), n) {
3848
3848
  n = kc(n);
3849
3849
  let { class: s, style: d } = n;
3850
- s && !C(s) && (n.class = on(s)), j(d) && (Ye(d) && !g(d) && (d = D({}, d)), n.style = nn(d));
3850
+ s && !C(s) && (n.class = cn(s)), j(d) && (Qe(d) && !g(d) && (d = D({}, d)), n.style = on(d));
3851
3851
  }
3852
3852
  const a = C(e) ? 1 : bc(e) ? 128 : Rc(e) ? 64 : j(e) ? 4 : E(e) ? 2 : 0;
3853
- return process.env.NODE_ENV !== "production" && a & 4 && Ye(e) && (e = _(e), w(
3853
+ return process.env.NODE_ENV !== "production" && a & 4 && Qe(e) && (e = _(e), w(
3854
3854
  "Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
3855
3855
  `
3856
3856
  Component that was made reactive: `,
@@ -3867,7 +3867,7 @@ Component that was made reactive: `,
3867
3867
  );
3868
3868
  }
3869
3869
  function kc(e) {
3870
- return e ? Ye(e) || Ii in e ? D({}, e) : e : null;
3870
+ return e ? Qe(e) || Ii in e ? D({}, e) : e : null;
3871
3871
  }
3872
3872
  function De(e, n, i = !1) {
3873
3873
  const { props: c, ref: o, patchFlag: t, children: a } = e, s = n ? Fc(c || {}, n) : c;
@@ -3921,7 +3921,7 @@ function Vi(e) {
3921
3921
  function qc(e = " ", n = 0) {
3922
3922
  return Ac($c, null, e, n);
3923
3923
  }
3924
- function pn(e, n) {
3924
+ function hn(e, n) {
3925
3925
  let i = 0;
3926
3926
  const { shapeFlag: c } = e;
3927
3927
  if (n == null)
@@ -3931,7 +3931,7 @@ function pn(e, n) {
3931
3931
  else if (typeof n == "object")
3932
3932
  if (c & 65) {
3933
3933
  const o = n.default;
3934
- o && (o._c && (o._d = !1), pn(e, o()), o._c && (o._d = !0));
3934
+ o && (o._c && (o._d = !1), hn(e, o()), o._c && (o._d = !0));
3935
3935
  return;
3936
3936
  } else {
3937
3937
  i = 32;
@@ -3948,9 +3948,9 @@ function Fc(...e) {
3948
3948
  const c = e[i];
3949
3949
  for (const o in c)
3950
3950
  if (o === "class")
3951
- n.class !== c.class && (n.class = on([n.class, c.class]));
3951
+ n.class !== c.class && (n.class = cn([n.class, c.class]));
3952
3952
  else if (o === "style")
3953
- n.style = nn([n.style, c.style]);
3953
+ n.style = on([n.style, c.style]);
3954
3954
  else if (fo(o)) {
3955
3955
  const t = n[o], a = c[o];
3956
3956
  a && t !== a && !(g(t) && t.includes(a)) && (n[o] = t ? [].concat(t, a) : a);
@@ -3959,7 +3959,7 @@ function Fc(...e) {
3959
3959
  }
3960
3960
  return n;
3961
3961
  }
3962
- let Z = null, hn;
3962
+ let Z = null, gn;
3963
3963
  {
3964
3964
  const e = ei(), n = (i, c) => {
3965
3965
  let o;
@@ -3967,7 +3967,7 @@ let Z = null, hn;
3967
3967
  o.length > 1 ? o.forEach((a) => a(t)) : o[0](t);
3968
3968
  };
3969
3969
  };
3970
- hn = n(
3970
+ gn = n(
3971
3971
  "__VUE_INSTANCE_SETTERS__",
3972
3972
  (i) => Z = i
3973
3973
  ), n(
@@ -3976,9 +3976,9 @@ let Z = null, hn;
3976
3976
  );
3977
3977
  }
3978
3978
  const Wn = (e) => {
3979
- hn(e), e.scope.on();
3979
+ gn(e), e.scope.on();
3980
3980
  }, Lc = () => {
3981
- Z && Z.scope.off(), hn(null);
3981
+ Z && Z.scope.off(), gn(null);
3982
3982
  };
3983
3983
  function Hc(e) {
3984
3984
  return e.vnode.shapeFlag & 4;
@@ -4057,10 +4057,10 @@ const Bc = (e, n) => {
4057
4057
  title: {}
4058
4058
  },
4059
4059
  setup(e) {
4060
- const n = e, i = gn(() => {
4060
+ const n = e, i = bn(() => {
4061
4061
  var o;
4062
4062
  return /^http?:\/\//.test(n.name) ? "img" : /i-[^:]+:[^:]+/.test(n.name) ? "unocss" : n.name.startsWith("iksig") ? "iksig" : (o = n.name) != null && o.includes(":") ? "iconify" : "svg";
4063
- }), c = gn(() => {
4063
+ }), c = bn(() => {
4064
4064
  const o = [];
4065
4065
  if (n.flip)
4066
4066
  switch (n.flip) {
@@ -4121,7 +4121,7 @@ const Bc = (e, n) => {
4121
4121
  key: 2,
4122
4122
  src: o.name,
4123
4123
  class: "h-[1em] w-[1em]"
4124
- }, null, 8, Qc)) : Ke("v-if", !0)
4124
+ }, null, 8, Qc)) : We("v-if", !0)
4125
4125
  ],
4126
4126
  6
4127
4127
  /* CLASS, STYLE */
@@ -4162,7 +4162,7 @@ const Bc = (e, n) => {
4162
4162
  key: 2,
4163
4163
  src: o.name,
4164
4164
  class: "h-[1em] w-[1em]"
4165
- }, null, 8, et)) : Ke("v-if", !0)
4165
+ }, null, 8, et)) : We("v-if", !0)
4166
4166
  ],
4167
4167
  6
4168
4168
  /* CLASS, STYLE */
@@ -4185,6 +4185,7 @@ const Bc = (e, n) => {
4185
4185
  },
4186
4186
  emits: ["update:modelValue"],
4187
4187
  setup(e) {
4188
+ console.log("IconJsons", Le);
4188
4189
  const n = qi(e, "modelValue"), i = re(!1);
4189
4190
  let c = {};
4190
4191
  const o = re({}), t = re(null);
@@ -4198,9 +4199,9 @@ const Bc = (e, n) => {
4198
4199
  }
4199
4200
  }), function() {
4200
4201
  c = {
4201
- double: yn.glyphs.map((r) => ({
4202
+ double: Le.glyphs.map((r) => ({
4202
4203
  ...r,
4203
- class: `${yn.css_prefix_text}${r.font_class}`
4204
+ class: `${Le.css_prefix_text}${r.font_class}`
4204
4205
  })),
4205
4206
  single: En.glyphs.map((r) => ({
4206
4207
  ...r,
@@ -4263,13 +4264,13 @@ const Bc = (e, n) => {
4263
4264
  name: "iksvg_guanbi",
4264
4265
  warning: "",
4265
4266
  class: "icon-delete"
4266
- })) : Ke("v-if", !0)
4267
+ })) : We("v-if", !0)
4267
4268
  ])
4268
4269
  ]),
4269
4270
  default: B(() => [
4270
4271
  ue(m, {
4271
4272
  modelValue: S(d),
4272
- "onUpdate:modelValue": r[0] || (r[0] = (b) => bn(d) ? d.value = b : null),
4273
+ "onUpdate:modelValue": r[0] || (r[0] = (b) => vn(d) ? d.value = b : null),
4273
4274
  clearable: "",
4274
4275
  placeholder: "输入图标名称检索"
4275
4276
  }, {
@@ -4281,7 +4282,7 @@ const Bc = (e, n) => {
4281
4282
  }, 8, ["modelValue"]),
4282
4283
  ue(M, {
4283
4284
  modelValue: S(f),
4284
- "onUpdate:modelValue": r[1] || (r[1] = (b) => bn(f) ? f.value = b : null)
4285
+ "onUpdate:modelValue": r[1] || (r[1] = (b) => vn(f) ? f.value = b : null)
4285
4286
  }, {
4286
4287
  default: B(() => [
4287
4288
  ue(V, {
@@ -4294,9 +4295,9 @@ const Bc = (e, n) => {
4294
4295
  onClick: Fe(u, ["stop"])
4295
4296
  }, [
4296
4297
  (y(!0), $(
4297
- vn,
4298
+ wn,
4298
4299
  null,
4299
- wn(S(o).double, (b) => (y(), W(S(ne), {
4300
+ yn(S(o).double, (b) => (y(), W(S(ne), {
4300
4301
  size: 20,
4301
4302
  title: b.name,
4302
4303
  key: b.name,
@@ -4321,9 +4322,9 @@ const Bc = (e, n) => {
4321
4322
  onClick: Fe(u, ["stop"])
4322
4323
  }, [
4323
4324
  (y(!0), $(
4324
- vn,
4325
+ wn,
4325
4326
  null,
4326
- wn(S(o).single, (b) => (y(), W(S(ne), {
4327
+ yn(S(o).single, (b) => (y(), W(S(ne), {
4327
4328
  size: 20,
4328
4329
  title: b.name,
4329
4330
  key: b.name,
@@ -4349,7 +4350,7 @@ const Bc = (e, n) => {
4349
4350
  };
4350
4351
  }
4351
4352
  });
4352
- const ot = /* @__PURE__ */ Bc(it, [["__scopeId", "data-v-5ab84aea"]]), at = Gn(ot);
4353
+ const ot = /* @__PURE__ */ Bc(it, [["__scopeId", "data-v-c58251dd"]]), at = Gn(ot);
4353
4354
  export {
4354
4355
  at as IkIconPicker,
4355
4356
  at as default