iking-web-ui-pro 0.0.11 → 0.0.12

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 R, 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 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";
2
2
  import { ikColor as Fi, _ as Li } from "iking-utils-pro";
3
3
  const Gn = (e, n) => {
4
4
  if (e.install = (i) => {
@@ -2420,7 +2420,7 @@ const k = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
2420
2420
  process.env.NODE_ENV !== "production" && Object.freeze([]);
2421
2421
  const G = () => {
2422
2422
  }, fo = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
2423
- (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), P = Object.assign, mo = (e, n) => {
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
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) => {
@@ -2553,7 +2553,7 @@ function ti(e, n, i) {
2553
2553
  if (n.get(e) !== e._trackId) {
2554
2554
  n.set(e, e._trackId);
2555
2555
  const o = e.deps[e._depsLength];
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, P({ effect: e }, i)));
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
2559
  const Be = [];
@@ -2563,7 +2563,7 @@ function ai(e, n, i) {
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, P({ 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 && Be.push(o.scheduler));
2567
2567
  }
2568
2568
  sn();
2569
2569
  }
@@ -3254,7 +3254,7 @@ let Re = !1, Xe = !1;
3254
3254
  const I = [];
3255
3255
  let F = 0;
3256
3256
  const de = [];
3257
- let $ = null, q = 0;
3257
+ let P = null, q = 0;
3258
3258
  const wi = /* @__PURE__ */ Promise.resolve();
3259
3259
  let fn = null;
3260
3260
  const dc = 100;
@@ -3280,7 +3280,7 @@ function yi() {
3280
3280
  !Re && !Xe && (Xe = !0, fn = wi.then(xi));
3281
3281
  }
3282
3282
  function Ei(e) {
3283
- g(e) ? de.push(...e) : (!$ || !$.includes(
3283
+ g(e) ? de.push(...e) : (!P || !P.includes(
3284
3284
  e,
3285
3285
  e.allowRecurse ? q + 1 : q
3286
3286
  )) && de.push(e), yi();
@@ -3288,13 +3288,13 @@ function Ei(e) {
3288
3288
  function rc(e) {
3289
3289
  if (de.length) {
3290
3290
  const n = [...new Set(de)];
3291
- if (de.length = 0, $) {
3292
- $.push(...n);
3291
+ if (de.length = 0, P) {
3292
+ P.push(...n);
3293
3293
  return;
3294
3294
  }
3295
- for ($ = n, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), $.sort((i, c) => ve(i) - ve(c)), q = 0; q < $.length; q++)
3296
- process.env.NODE_ENV !== "production" && Oi(e, $[q]) || $[q]();
3297
- $ = null, q = 0;
3295
+ for (P = n, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), P.sort((i, c) => ve(i) - ve(c)), q = 0; q < P.length; q++)
3296
+ process.env.NODE_ENV !== "production" && Oi(e, P[q]) || P[q]();
3297
+ P = null, q = 0;
3298
3298
  }
3299
3299
  }
3300
3300
  const ve = (e) => e.id == null ? 1 / 0 : e.id, _c = (e, n) => {
@@ -3381,7 +3381,7 @@ function pc(e, n) {
3381
3381
  });
3382
3382
  }
3383
3383
  function kn(e, n) {
3384
- P(e, n);
3384
+ D(e, n);
3385
3385
  for (const i in e)
3386
3386
  i !== "__file" && !(i in n) && delete e[i];
3387
3387
  }
@@ -3490,17 +3490,17 @@ function Si(e, n, {
3490
3490
  M = p.__watcherHandles || (p.__watcherHandles = []);
3491
3491
  } else
3492
3492
  return G;
3493
- let D = r ? new Array(e.length).fill(Ce) : Ce;
3493
+ let R = r ? new Array(e.length).fill(Ce) : Ce;
3494
3494
  const b = () => {
3495
3495
  if (!(!O.active || !O.dirty))
3496
3496
  if (n) {
3497
3497
  const p = O.run();
3498
- (c || l || (r ? p.some((qe, Ti) => K(qe, D[Ti])) : K(p, D))) && (m && m(), je(n, u, 3, [
3498
+ (c || l || (r ? p.some((qe, Ti) => K(qe, R[Ti])) : K(p, R))) && (m && m(), je(n, u, 3, [
3499
3499
  p,
3500
3500
  // pass undefined as the old value when it's changed for the first time
3501
- D === Ce ? void 0 : r && D[0] === Ce ? [] : D,
3501
+ R === Ce ? void 0 : r && R[0] === Ce ? [] : R,
3502
3502
  V
3503
- ]), D = p);
3503
+ ]), R = p);
3504
3504
  } else
3505
3505
  O.run();
3506
3506
  };
@@ -3510,7 +3510,7 @@ function Si(e, n, {
3510
3510
  const O = new ii(f, G, ee), ke = () => {
3511
3511
  O.stop(), u && u.scope && mo(u.scope.effects, O);
3512
3512
  };
3513
- return process.env.NODE_ENV !== "production" && (O.onTrack = a, O.onTrigger = s), n ? i ? b() : D = O.run() : o === "post" ? Kn(
3513
+ return process.env.NODE_ENV !== "production" && (O.onTrack = a, O.onTrigger = s), n ? i ? b() : R = O.run() : o === "post" ? Kn(
3514
3514
  O.run.bind(O),
3515
3515
  u && u.suspense
3516
3516
  ) : O.run(), M && M.push(ke), ke;
@@ -3560,7 +3560,7 @@ function L(e, n, i = 0, c) {
3560
3560
  const Ze = (e) => e ? Hc(e) ? Uc(e) || e.proxy : Ze(e.parent) : null, ge = (
3561
3561
  // Move PURE marker to new line to workaround compiler discarding it
3562
3562
  // due to type annotation
3563
- /* @__PURE__ */ P(/* @__PURE__ */ Object.create(null), {
3563
+ /* @__PURE__ */ D(/* @__PURE__ */ Object.create(null), {
3564
3564
  $: (e) => e,
3565
3565
  $el: (e) => e.vnode.el,
3566
3566
  $data: (e) => e.data,
@@ -3728,7 +3728,7 @@ const Ic = {
3728
3728
  };
3729
3729
  function Fn(e, n) {
3730
3730
  return n ? e ? function() {
3731
- return P(
3731
+ return D(
3732
3732
  E(e) ? e.call(this, this) : e,
3733
3733
  E(n) ? n.call(this, this) : n
3734
3734
  );
@@ -3750,10 +3750,10 @@ function x(e, n) {
3750
3750
  return e ? [...new Set([].concat(e, n))] : n;
3751
3751
  }
3752
3752
  function pe(e, n) {
3753
- return e ? P(/* @__PURE__ */ Object.create(null), e, n) : n;
3753
+ return e ? D(/* @__PURE__ */ Object.create(null), e, n) : n;
3754
3754
  }
3755
3755
  function Hn(e, n) {
3756
- return e ? g(e) && g(n) ? [.../* @__PURE__ */ new Set([...e, ...n])] : P(
3756
+ return e ? g(e) && g(n) ? [.../* @__PURE__ */ new Set([...e, ...n])] : D(
3757
3757
  /* @__PURE__ */ Object.create(null),
3758
3758
  qn(e),
3759
3759
  qn(n ?? {})
@@ -3764,7 +3764,7 @@ function jc(e, n) {
3764
3764
  return n;
3765
3765
  if (!n)
3766
3766
  return e;
3767
- const i = P(/* @__PURE__ */ Object.create(null), e);
3767
+ const i = D(/* @__PURE__ */ Object.create(null), e);
3768
3768
  for (const c in n)
3769
3769
  i[c] = x(e[c], n[c]);
3770
3770
  return i;
@@ -3847,7 +3847,7 @@ function ji(e, n = null, i = null, c = 0, o = null, t = !1) {
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 = P({}, d)), n.style = nn(d));
3850
+ s && !C(s) && (n.class = on(s)), j(d) && (Ye(d) && !g(d) && (d = D({}, d)), n.style = nn(d));
3851
3851
  }
3852
3852
  const a = C(e) ? 1 : bc(e) ? 128 : Rc(e) ? 64 : j(e) ? 4 : E(e) ? 2 : 0;
3853
3853
  return process.env.NODE_ENV !== "production" && a & 4 && Ye(e) && (e = _(e), w(
@@ -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 ? P({}, e) : e : null;
3870
+ return e ? Ye(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;
@@ -4087,8 +4087,8 @@ const Bc = (e, n) => {
4087
4087
  });
4088
4088
  return (o, t) => {
4089
4089
  const a = fe("el-tooltip");
4090
- return y(), R("span", Gc, [
4091
- o.notip || !o.title ? (y(), R(
4090
+ return y(), $("span", Gc, [
4091
+ o.notip || !o.title ? (y(), $(
4092
4092
  "i",
4093
4093
  {
4094
4094
  key: 0,
@@ -4103,7 +4103,7 @@ const Bc = (e, n) => {
4103
4103
  style: ye(c.value)
4104
4104
  },
4105
4105
  [
4106
- i.value === "iksig" ? (y(), R(
4106
+ i.value === "iksig" ? (y(), $(
4107
4107
  "i",
4108
4108
  {
4109
4109
  key: 0,
@@ -4113,11 +4113,11 @@ const Bc = (e, n) => {
4113
4113
  null,
4114
4114
  6
4115
4115
  /* CLASS, STYLE */
4116
- )) : i.value === "svg" ? (y(), R("svg", Jc, [
4116
+ )) : i.value === "svg" ? (y(), $("svg", Jc, [
4117
4117
  te("use", {
4118
4118
  "xlink:href": `#${o.name}`
4119
4119
  }, null, 8, Yc)
4120
- ])) : i.value === "img" ? (y(), R("img", {
4120
+ ])) : i.value === "img" ? (y(), $("img", {
4121
4121
  key: 2,
4122
4122
  src: o.name,
4123
4123
  class: "h-[1em] w-[1em]"
@@ -4144,7 +4144,7 @@ const Bc = (e, n) => {
4144
4144
  style: ye(c.value)
4145
4145
  },
4146
4146
  [
4147
- i.value === "iksig" ? (y(), R(
4147
+ i.value === "iksig" ? (y(), $(
4148
4148
  "i",
4149
4149
  {
4150
4150
  key: 0,
@@ -4154,11 +4154,11 @@ const Bc = (e, n) => {
4154
4154
  null,
4155
4155
  6
4156
4156
  /* CLASS, STYLE */
4157
- )) : i.value === "svg" ? (y(), R("svg", Xc, [
4157
+ )) : i.value === "svg" ? (y(), $("svg", Xc, [
4158
4158
  te("use", {
4159
4159
  "xlink:href": `#${o.name}`
4160
4160
  }, null, 8, Zc)
4161
- ])) : i.value === "img" ? (y(), R("img", {
4161
+ ])) : i.value === "img" ? (y(), $("img", {
4162
4162
  key: 2,
4163
4163
  src: o.name,
4164
4164
  class: "h-[1em] w-[1em]"
@@ -4190,7 +4190,12 @@ const Bc = (e, n) => {
4190
4190
  const o = re({}), t = re(null);
4191
4191
  to(t, (l) => {
4192
4192
  var r, m, V, M;
4193
- ((r = l == null ? void 0 : l.target) == null ? void 0 : r.className) === "icon-list" || ((m = l == null ? void 0 : l.target) == null ? void 0 : m.nodeName) === "INPUT" || (M = (V = l == null ? void 0 : l.target) == null ? void 0 : V.className) != null && M.includes("el-tabs__item") || (i.value = !1);
4193
+ try {
4194
+ if (((r = l == null ? void 0 : l.target) == null ? void 0 : r.className) === "icon-list" || ((m = l == null ? void 0 : l.target) == null ? void 0 : m.nodeName) === "INPUT" || (M = (V = l == null ? void 0 : l.target) == null ? void 0 : V.className) != null && M.includes("el-tabs__item"))
4195
+ return;
4196
+ i.value = !1;
4197
+ } catch {
4198
+ }
4194
4199
  }), function() {
4195
4200
  c = {
4196
4201
  double: yn.glyphs.map((r) => ({
@@ -4228,8 +4233,8 @@ const Bc = (e, n) => {
4228
4233
  i.value = !1;
4229
4234
  }, f = re("double");
4230
4235
  return (l, r) => {
4231
- const m = fe("el-input"), V = fe("el-tab-pane"), M = fe("el-tabs"), D = fe("el-popover");
4232
- return y(), W(D, {
4236
+ const m = fe("el-input"), V = fe("el-tab-pane"), M = fe("el-tabs"), R = fe("el-popover");
4237
+ return y(), W(R, {
4233
4238
  title: "",
4234
4239
  visible: S(i),
4235
4240
  ref_key: "target",
@@ -4288,7 +4293,7 @@ const Bc = (e, n) => {
4288
4293
  class: "icon-list",
4289
4294
  onClick: Fe(u, ["stop"])
4290
4295
  }, [
4291
- (y(!0), R(
4296
+ (y(!0), $(
4292
4297
  vn,
4293
4298
  null,
4294
4299
  wn(S(o).double, (b) => (y(), W(S(ne), {
@@ -4315,7 +4320,7 @@ const Bc = (e, n) => {
4315
4320
  class: "icon-list",
4316
4321
  onClick: Fe(u, ["stop"])
4317
4322
  }, [
4318
- (y(!0), R(
4323
+ (y(!0), $(
4319
4324
  vn,
4320
4325
  null,
4321
4326
  wn(S(o).single, (b) => (y(), W(S(ne), {
@@ -4344,7 +4349,7 @@ const Bc = (e, n) => {
4344
4349
  };
4345
4350
  }
4346
4351
  });
4347
- const ot = /* @__PURE__ */ Bc(it, [["__scopeId", "data-v-e6a6ac05"]]), at = Gn(ot);
4352
+ const ot = /* @__PURE__ */ Bc(it, [["__scopeId", "data-v-5ab84aea"]]), at = Gn(ot);
4348
4353
  export {
4349
4354
  at as IkIconPicker,
4350
4355
  at as default