cleek 2.11.5 → 2.11.7

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.
package/dist/main.es.js CHANGED
@@ -3607,10 +3607,7 @@ const zl = /* @__PURE__ */ H(Il, [["__scopeId", "data-v-f613ffcb"]]), Rl = { cla
3607
3607
  };
3608
3608
  }
3609
3609
  });
3610
- const Ol = /* @__PURE__ */ H(Wl, [["__scopeId", "data-v-43006e82"]]), El = {
3611
- key: 0,
3612
- class: "extra-actions__container"
3613
- }, Nl = ["onClick"], Fl = { class: "extra-action__name" }, jl = 0, Hl = /* @__PURE__ */ R({
3610
+ const Ol = /* @__PURE__ */ H(Wl, [["__scopeId", "data-v-43006e82"]]), El = ["onClick"], Nl = { class: "extra-action__name" }, Fl = 0, jl = /* @__PURE__ */ R({
3614
3611
  __name: "ck-dropdown-button",
3615
3612
  props: {
3616
3613
  title: {},
@@ -3653,15 +3650,14 @@ const Ol = /* @__PURE__ */ H(Wl, [["__scopeId", "data-v-43006e82"]]), El = {
3653
3650
  group: "right"
3654
3651
  }));
3655
3652
  function u(s) {
3656
- n("click", s), n("action", jl);
3653
+ n("click", s), n("action", Fl);
3657
3654
  }
3658
3655
  function p(s) {
3659
3656
  n("action", s), a.value = !1;
3660
3657
  }
3661
3658
  return (s, v) => (m(), y("div", {
3662
3659
  class: "dropdown-btn__outer",
3663
- onMouseenter: v[2] || (v[2] = (r) => l.value ? a.value = !0 : null),
3664
- onMouseleave: v[3] || (v[3] = (r) => a.value = !1)
3660
+ onMouseleave: v[4] || (v[4] = (r) => a.value = !1)
3665
3661
  }, [
3666
3662
  U(Te, Ie(i.value, {
3667
3663
  onClick: v[0] || (v[0] = (r) => u(r))
@@ -3674,7 +3670,8 @@ const Ol = /* @__PURE__ */ H(Wl, [["__scopeId", "data-v-43006e82"]]), El = {
3674
3670
  l.value ? (m(), y("div", {
3675
3671
  key: 0,
3676
3672
  class: "dropdown-btn__chevron-area",
3677
- onClick: v[1] || (v[1] = (r) => a.value = !a.value)
3673
+ onClick: v[1] || (v[1] = (r) => a.value = !a.value),
3674
+ onMouseenter: v[2] || (v[2] = (r) => a.value = !0)
3678
3675
  }, [
3679
3676
  U(Te, Yt(Gt(c.value)), {
3680
3677
  default: N(() => [
@@ -3685,35 +3682,40 @@ const Ol = /* @__PURE__ */ H(Wl, [["__scopeId", "data-v-43006e82"]]), El = {
3685
3682
  ]),
3686
3683
  _: 1
3687
3684
  }, 16)
3688
- ])) : C("", !0),
3685
+ ], 32)) : C("", !0),
3689
3686
  U(Zt, { name: "fade" }, {
3690
3687
  default: N(() => [
3691
- a.value ? (m(), y("div", El, [
3688
+ a.value ? (m(), y("div", {
3689
+ key: 0,
3690
+ class: "extra-actions__container",
3691
+ onMouseenter: v[3] || (v[3] = (r) => a.value = !0)
3692
+ }, [
3692
3693
  (m(!0), y(Z, null, ue(s.extraActions, (r) => (m(), y("div", {
3693
3694
  key: r.id,
3694
3695
  class: "extra-action__item",
3696
+ style: F({ color: c.value.textColor }),
3695
3697
  onClick: (g) => p(r.id)
3696
3698
  }, [
3699
+ $("span", Nl, A(r.name), 1),
3697
3700
  U(ee, {
3698
- icon: "angle-right",
3701
+ icon: "angle-left",
3699
3702
  size: "xs"
3700
- }),
3701
- $("span", Fl, A(r.name), 1)
3702
- ], 8, Nl))), 128))
3703
- ])) : C("", !0)
3703
+ })
3704
+ ], 12, El))), 128))
3705
+ ], 32)) : C("", !0)
3704
3706
  ]),
3705
3707
  _: 1
3706
3708
  })
3707
3709
  ], 32));
3708
3710
  }
3709
3711
  });
3710
- const ql = /* @__PURE__ */ H(Hl, [["__scopeId", "data-v-98e94faf"]]), Ul = {
3712
+ const Hl = /* @__PURE__ */ H(jl, [["__scopeId", "data-v-3e36a581"]]), ql = {
3711
3713
  key: 0,
3712
3714
  class: "ck-card__header-title"
3713
- }, Yl = { class: "ck-card__body" }, Gl = {
3715
+ }, Ul = { class: "ck-card__body" }, Yl = {
3714
3716
  key: 0,
3715
3717
  class: "ck-card__header-subtitle"
3716
- }, Zl = /* @__PURE__ */ R({
3718
+ }, Gl = /* @__PURE__ */ R({
3717
3719
  __name: "ck-card",
3718
3720
  props: {
3719
3721
  modelValue: {},
@@ -3746,7 +3748,7 @@ const ql = /* @__PURE__ */ H(Hl, [["__scopeId", "data-v-98e94faf"]]), Ul = {
3746
3748
  key: 0,
3747
3749
  class: S(["ck-card__header", { "is-close-button-visible": l.value }])
3748
3750
  }, [
3749
- u.title || u.$slots.header ? (m(), y("div", Ul, A(u.title), 1)) : C("", !0),
3751
+ u.title || u.$slots.header ? (m(), y("div", ql, A(u.title), 1)) : C("", !0),
3750
3752
  O(u.$slots, "header", {}, void 0, !0),
3751
3753
  l.value ? (m(), y("div", {
3752
3754
  key: 1,
@@ -3756,8 +3758,8 @@ const ql = /* @__PURE__ */ H(Hl, [["__scopeId", "data-v-98e94faf"]]), Ul = {
3756
3758
  U(s, { icon: "times" })
3757
3759
  ])) : C("", !0)
3758
3760
  ], 2)) : C("", !0),
3759
- $("div", Yl, [
3760
- u.subtitle ? (m(), y("div", Gl, A(u.subtitle), 1)) : C("", !0),
3761
+ $("div", Ul, [
3762
+ u.subtitle ? (m(), y("div", Yl, A(u.subtitle), 1)) : C("", !0),
3761
3763
  $("div", {
3762
3764
  class: S(["ck-card__content", { "content-block": u.block }])
3763
3765
  }, [
@@ -3768,7 +3770,7 @@ const ql = /* @__PURE__ */ H(Hl, [["__scopeId", "data-v-98e94faf"]]), Ul = {
3768
3770
  };
3769
3771
  }
3770
3772
  });
3771
- const Kl = /* @__PURE__ */ H(Zl, [["__scopeId", "data-v-780265b9"]]), Ql = ["color"], mt = "white", Jl = "primary", Xl = "s", ei = "outlined", ti = "rounded", oi = /* @__PURE__ */ R({
3773
+ const Zl = /* @__PURE__ */ H(Gl, [["__scopeId", "data-v-780265b9"]]), Kl = ["color"], mt = "white", Ql = "primary", Jl = "s", Xl = "outlined", ei = "rounded", ti = /* @__PURE__ */ R({
3772
3774
  __name: "ck-chip",
3773
3775
  props: {
3774
3776
  size: {},
@@ -3786,9 +3788,9 @@ const Kl = /* @__PURE__ */ H(Zl, [["__scopeId", "data-v-780265b9"]]), Ql = ["col
3786
3788
  },
3787
3789
  emits: ["click"],
3788
3790
  setup(e, { emit: o }) {
3789
- const t = e, { windowWidth: n } = ke(), { cleekOptions: a } = ae(oe()), l = o, i = d(() => t.layout ? t.layout : a.value ? a.value.chip.layout : ti), c = d(() => t.type ? t.type : a.value ? a.value.chip.type : ei), u = d(() => t.color || Jl), p = d(() => {
3791
+ const t = e, { windowWidth: n } = ke(), { cleekOptions: a } = ae(oe()), l = o, i = d(() => t.layout ? t.layout : a.value ? a.value.chip.layout : ei), c = d(() => t.type ? t.type : a.value ? a.value.chip.type : Xl), u = d(() => t.color || Ql), p = d(() => {
3790
3792
  const r = [];
3791
- return c.value === "outlined" ? r.push("type--outlined") : c.value === "shadow" ? r.push("type--shadow") : D.isColorTemplateVariable(u.value) && r.push(`ck-component__bg-color--${u.value}`), i.value && r.push(`layout--${i.value}`), r.push(D.getGroupClass(t, n.value)), r.push(`size-${t.size || Xl}`), t.align && r.push(`align--${t.align}`), t.nowrap && r.push(`ck-chip--${t.nowrap}`), t.clickable && r.push("clickable"), r;
3793
+ return c.value === "outlined" ? r.push("type--outlined") : c.value === "shadow" ? r.push("type--shadow") : D.isColorTemplateVariable(u.value) && r.push(`ck-component__bg-color--${u.value}`), i.value && r.push(`layout--${i.value}`), r.push(D.getGroupClass(t, n.value)), r.push(`size-${t.size || Jl}`), t.align && r.push(`align--${t.align}`), t.nowrap && r.push(`ck-chip--${t.nowrap}`), t.clickable && r.push("clickable"), r;
3792
3794
  });
3793
3795
  function s(r) {
3794
3796
  return D.isColorTemplateVariable(r) ? D.getColorHexFromTemplateVariable(r, a.value.colors) : r;
@@ -3823,10 +3825,10 @@ const Kl = /* @__PURE__ */ H(Zl, [["__scopeId", "data-v-780265b9"]]), Ql = ["col
3823
3825
  icon: r.iconRight,
3824
3826
  "icon-pack": r.iconPack
3825
3827
  }, null, 8, ["icon", "icon-pack"])) : C("", !0)
3826
- ], 14, Ql));
3828
+ ], 14, Kl));
3827
3829
  }
3828
3830
  });
3829
- const ni = /* @__PURE__ */ H(oi, [["__scopeId", "data-v-2bb1c329"]]), ai = "primary", li = "m", ii = "white", si = /* @__PURE__ */ R({
3831
+ const oi = /* @__PURE__ */ H(ti, [["__scopeId", "data-v-2bb1c329"]]), ni = "primary", ai = "m", li = "white", ii = /* @__PURE__ */ R({
3830
3832
  __name: "ck-circle",
3831
3833
  props: {
3832
3834
  size: {},
@@ -3841,10 +3843,10 @@ const ni = /* @__PURE__ */ H(oi, [["__scopeId", "data-v-2bb1c329"]]), ai = "prim
3841
3843
  const t = e, n = o, a = d(() => {
3842
3844
  const i = [];
3843
3845
  let c = t.size;
3844
- return t.size !== "s" && t.size !== "l" && t.size !== "xs" && (c = li), i.push(`ck-circle__size-${c}`), i.push(`ck-component__bg-color--${t.color || ai}`), i;
3846
+ return t.size !== "s" && t.size !== "l" && t.size !== "xs" && (c = ai), i.push(`ck-circle__size-${c}`), i.push(`ck-component__bg-color--${t.color || ni}`), i;
3845
3847
  }), l = d(() => {
3846
3848
  const i = [];
3847
- return t.sizeInPx && (i.push({ height: t.sizeInPx }), i.push({ width: t.sizeInPx })), (t.color || D.isColorTemplateVariable(t.color)) && (i.push({ backgroundColor: t.color }), i.push({ color: t.textColor || ii })), i;
3849
+ return t.sizeInPx && (i.push({ height: t.sizeInPx }), i.push({ width: t.sizeInPx })), (t.color || D.isColorTemplateVariable(t.color)) && (i.push({ backgroundColor: t.color }), i.push({ color: t.textColor || li })), i;
3848
3850
  });
3849
3851
  return (i, c) => {
3850
3852
  const u = Y("ck-icon");
@@ -3863,7 +3865,7 @@ const ni = /* @__PURE__ */ H(oi, [["__scopeId", "data-v-2bb1c329"]]), ai = "prim
3863
3865
  };
3864
3866
  }
3865
3867
  });
3866
- const ri = /* @__PURE__ */ H(si, [["__scopeId", "data-v-ba0b3fb6"]]), ui = /* @__PURE__ */ R({
3868
+ const si = /* @__PURE__ */ H(ii, [["__scopeId", "data-v-ba0b3fb6"]]), ri = /* @__PURE__ */ R({
3867
3869
  __name: "ck-div",
3868
3870
  props: {
3869
3871
  widthBreaks: {},
@@ -3890,11 +3892,11 @@ const ri = /* @__PURE__ */ H(si, [["__scopeId", "data-v-ba0b3fb6"]]), ui = /* @_
3890
3892
  ], 4));
3891
3893
  }
3892
3894
  });
3893
- const ci = {
3895
+ const ui = {
3894
3896
  defaultFailImg: "df",
3895
3897
  imagesFolderPath: "",
3896
3898
  defaultImgBorderColor: "#EEEEEE"
3897
- }, di = ["src", "alt"], pi = /* @__PURE__ */ R({
3899
+ }, ci = ["src", "alt"], di = /* @__PURE__ */ R({
3898
3900
  __name: "ck-img",
3899
3901
  props: {
3900
3902
  src: {},
@@ -3925,7 +3927,7 @@ const ci = {
3925
3927
  }), v = d(() => {
3926
3928
  const f = [];
3927
3929
  return t.radius && f.push({ "border-radius": t.radius }), t.width && f.push({ width: t.width }), t.height && f.push({ height: t.height }), f;
3928
- }), r = d(() => t.borderColor ? t.borderColor : ci.defaultImgBorderColor);
3930
+ }), r = d(() => t.borderColor ? t.borderColor : ui.defaultImgBorderColor);
3929
3931
  function g(f) {
3930
3932
  let k = a.value.img.basePath;
3931
3933
  return a.value.img.basePath && (k = a.value.img.basePath), k || (k = a.value.img.basePathStatic), t.dynamic && (k = a.value.img.basePathDynamic), `${k}${f}`;
@@ -3942,14 +3944,14 @@ const ci = {
3942
3944
  style: F(v.value),
3943
3945
  alt: f.alt,
3944
3946
  onError: k[0] || (k[0] = (b) => l.value = !0)
3945
- }, null, 44, di)
3947
+ }, null, 44, ci)
3946
3948
  ], 6));
3947
3949
  }
3948
3950
  });
3949
- const vi = /* @__PURE__ */ H(pi, [["__scopeId", "data-v-485e840f"]]), mi = ["onKeyup"], fi = ["name", "value", "disabled"], hi = {
3951
+ const pi = /* @__PURE__ */ H(di, [["__scopeId", "data-v-485e840f"]]), vi = ["onKeyup"], mi = ["name", "value", "disabled"], fi = {
3950
3952
  key: 0,
3951
3953
  class: "c-Radio__label"
3952
- }, gi = /* @__PURE__ */ R({
3954
+ }, hi = /* @__PURE__ */ R({
3953
3955
  __name: "ck-radio",
3954
3956
  props: {
3955
3957
  modelValue: {},
@@ -4009,16 +4011,16 @@ const vi = /* @__PURE__ */ H(pi, [["__scopeId", "data-v-485e840f"]]), mi = ["onK
4009
4011
  name: p.name,
4010
4012
  value: v.value,
4011
4013
  disabled: p.disabled
4012
- }, null, 8, fi), [
4014
+ }, null, 8, mi), [
4013
4015
  [Kt, a.value]
4014
4016
  ]),
4015
4017
  s[2] || (s[2] = $("div", { class: "c-Radio__element" }, null, -1)),
4016
- v.label ? (m(), y("span", hi, A(v.label), 1)) : C("", !0)
4017
- ], 16, mi))), 128));
4018
+ v.label ? (m(), y("span", fi, A(v.label), 1)) : C("", !0)
4019
+ ], 16, vi))), 128));
4018
4020
  }
4019
4021
  });
4020
- const ki = /* @__PURE__ */ H(gi, [["__scopeId", "data-v-d37d3f3e"]]);
4021
- function yi(e, o) {
4022
+ const gi = /* @__PURE__ */ H(hi, [["__scopeId", "data-v-d37d3f3e"]]);
4023
+ function ki(e, o) {
4022
4024
  const t = (n) => {
4023
4025
  var l;
4024
4026
  let a = (l = e.value) == null ? void 0 : l.parentElement;
@@ -4033,10 +4035,10 @@ function yi(e, o) {
4033
4035
  function ft(e) {
4034
4036
  return e.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase();
4035
4037
  }
4036
- const bi = {
4038
+ const yi = {
4037
4039
  key: 0,
4038
4040
  class: "ck-select--optional-label"
4039
- }, _i = ["disabled"], Ci = ["value"], wi = ["placeholder", "disabled"], $i = ["onMousedown", "onMouseenter"], Bi = ["textContent"], Ti = /* @__PURE__ */ R({
4041
+ }, bi = ["disabled"], _i = ["value"], Ci = ["placeholder", "disabled"], wi = ["onMousedown", "onMouseenter"], $i = ["textContent"], Bi = /* @__PURE__ */ R({
4040
4042
  __name: "ck-select",
4041
4043
  props: /* @__PURE__ */ te({
4042
4044
  options: {},
@@ -4212,7 +4214,7 @@ const bi = {
4212
4214
  } else
4213
4215
  k.value = -1;
4214
4216
  }
4215
- return yi(p, () => {
4217
+ return ki(p, () => {
4216
4218
  var _;
4217
4219
  return (_ = p.value) == null ? void 0 : _.blur();
4218
4220
  }), Ue(), (_, z) => {
@@ -4228,7 +4230,7 @@ const bi = {
4228
4230
  }, {
4229
4231
  default: N(() => [
4230
4232
  G(A(_.label) + " ", 1),
4231
- _.optional ? (m(), y("span", bi, "opcional")) : C("", !0)
4233
+ _.optional ? (m(), y("span", yi, "opcional")) : C("", !0)
4232
4234
  ]),
4233
4235
  _: 1
4234
4236
  }, 8, ["align"])) : C("", !0),
@@ -4249,8 +4251,8 @@ const bi = {
4249
4251
  value: ve(E),
4250
4252
  key: E,
4251
4253
  style: F(ie.value)
4252
- }, A(Ce(E)), 13, Ci))), 128))
4253
- ], 46, _i)), [
4254
+ }, A(Ce(E)), 13, _i))), 128))
4255
+ ], 46, bi)), [
4254
4256
  [Qt, n.value]
4255
4257
  ]) : ce((m(), y("input", {
4256
4258
  key: 2,
@@ -4269,7 +4271,7 @@ const bi = {
4269
4271
  onBlur: z[6] || (z[6] = (E) => Dt()),
4270
4272
  onInput: z[7] || (z[7] = (E) => Lt()),
4271
4273
  onKeydown: z[8] || (z[8] = (E) => St(E.key))
4272
- }, null, 46, wi)), [
4274
+ }, null, 46, Ci)), [
4273
4275
  [Fe, r.value]
4274
4276
  ]),
4275
4277
  (m(), L(Ae, { to: "body" }, [
@@ -4288,14 +4290,14 @@ const bi = {
4288
4290
  }]),
4289
4291
  onMousedown: (Re) => qe(ve(E)),
4290
4292
  onMouseenter: (Re) => k.value = fe
4291
- }, A(Ce(E)), 43, $i))), 128))
4293
+ }, A(Ce(E)), 43, wi))), 128))
4292
4294
  ], 4)) : C("", !0)
4293
4295
  ])),
4294
4296
  q.value ? (m(), y("span", {
4295
4297
  key: 3,
4296
4298
  class: "ck-select--placeholder",
4297
4299
  textContent: A(V.value)
4298
- }, null, 8, Bi)) : C("", !0),
4300
+ }, null, 8, $i)) : C("", !0),
4299
4301
  _.icon ? (m(), L(ee, {
4300
4302
  key: 4,
4301
4303
  class: "ck-select--icon-left",
@@ -4330,19 +4332,19 @@ const bi = {
4330
4332
  };
4331
4333
  }
4332
4334
  });
4333
- const Pi = /* @__PURE__ */ H(Ti, [["__scopeId", "data-v-3ab25429"]]), Vi = {
4335
+ const Ti = /* @__PURE__ */ H(Bi, [["__scopeId", "data-v-3ab25429"]]), Pi = {
4334
4336
  key: 0,
4335
4337
  class: "sidebar-header-title"
4336
- }, Di = {
4338
+ }, Vi = {
4337
4339
  key: 1,
4338
4340
  class: "loader-container"
4339
- }, Li = {
4341
+ }, Di = {
4340
4342
  key: 2,
4341
4343
  class: "ck-sidebar__content"
4342
- }, Si = {
4344
+ }, Li = {
4343
4345
  key: 3,
4344
4346
  class: "ck-sidbar__footer"
4345
- }, Mi = /* @__PURE__ */ R({
4347
+ }, Si = /* @__PURE__ */ R({
4346
4348
  __name: "ck-sidebar",
4347
4349
  props: /* @__PURE__ */ te({
4348
4350
  title: {},
@@ -4391,24 +4393,24 @@ const Pi = /* @__PURE__ */ H(Ti, [["__scopeId", "data-v-3ab25429"]]), Vi = {
4391
4393
  style: F(i.value),
4392
4394
  onClick: p[0] || (p[0] = (v) => o.value = !1)
4393
4395
  }, [
4394
- u.title ? (m(), y("div", Vi, A(u.title), 1)) : C("", !0),
4396
+ u.title ? (m(), y("div", Pi, A(u.title), 1)) : C("", !0),
4395
4397
  u.notCloseBtn ? (m(), L(s, {
4396
4398
  key: 1,
4397
4399
  class: "close-btn",
4398
4400
  icon: c.value
4399
4401
  }, null, 8, ["icon"])) : C("", !0)
4400
4402
  ], 6)) : C("", !0),
4401
- u.isLoading ? (m(), y("div", Di, [
4403
+ u.isLoading ? (m(), y("div", Vi, [
4402
4404
  U(s, {
4403
4405
  icon: "spinner",
4404
4406
  size: "xxl",
4405
4407
  spin: "",
4406
4408
  color: "primary"
4407
4409
  })
4408
- ])) : (m(), y("div", Li, [
4410
+ ])) : (m(), y("div", Di, [
4409
4411
  O(u.$slots, "default", {}, void 0, !0)
4410
4412
  ])),
4411
- u.$slots.footer ? (m(), y("div", Si, [
4413
+ u.$slots.footer ? (m(), y("div", Li, [
4412
4414
  O(u.$slots, "footer", {}, void 0, !0)
4413
4415
  ])) : C("", !0)
4414
4416
  ], 6)
@@ -4416,7 +4418,7 @@ const Pi = /* @__PURE__ */ H(Ti, [["__scopeId", "data-v-3ab25429"]]), Vi = {
4416
4418
  };
4417
4419
  }
4418
4420
  });
4419
- const xi = /* @__PURE__ */ H(Mi, [["__scopeId", "data-v-19f1984b"]]), Ai = ["disabled"], Ii = { class: "ck-switch__slider-container" }, Je = "s", zi = "m", Ri = /* @__PURE__ */ R({
4421
+ const Mi = /* @__PURE__ */ H(Si, [["__scopeId", "data-v-19f1984b"]]), xi = ["disabled"], Ai = { class: "ck-switch__slider-container" }, Je = "s", Ii = "m", zi = /* @__PURE__ */ R({
4420
4422
  __name: "ck-switch",
4421
4423
  props: /* @__PURE__ */ te({
4422
4424
  preventAutoUpdate: { type: Boolean },
@@ -4451,7 +4453,7 @@ const xi = /* @__PURE__ */ H(Mi, [["__scopeId", "data-v-19f1984b"]]), Ai = ["dis
4451
4453
  return l.value.darkMode && r.push({ color: l.value.darkModeColorText }), n.size && n.size !== Je && r.push(`ck-switch__icon-size--${n.size}`), r;
4452
4454
  }), s = d(() => {
4453
4455
  const r = [];
4454
- return n.textSize && n.textSize !== zi && r.push(`ck-switch__text-size--${n.textSize}`), r;
4456
+ return n.textSize && n.textSize !== Ii && r.push(`ck-switch__text-size--${n.textSize}`), r;
4455
4457
  });
4456
4458
  function v(r) {
4457
4459
  if (!n.disabled) {
@@ -4487,10 +4489,10 @@ const xi = /* @__PURE__ */ H(Mi, [["__scopeId", "data-v-19f1984b"]]), Ai = ["dis
4487
4489
  "onUpdate:modelValue": g[0] || (g[0] = (f) => t.value = f),
4488
4490
  "aria-hidden": "true",
4489
4491
  disabled: r.disabled
4490
- }, null, 8, Ai), [
4492
+ }, null, 8, xi), [
4491
4493
  [Jt, t.value]
4492
4494
  ]),
4493
- $("div", Ii, [
4495
+ $("div", Ai, [
4494
4496
  g[4] || (g[4] = $("div", { class: "ck-switch__slider" }, null, -1)),
4495
4497
  r.icon && t.value ? (m(), L(ee, {
4496
4498
  key: 0,
@@ -4515,7 +4517,7 @@ const xi = /* @__PURE__ */ H(Mi, [["__scopeId", "data-v-19f1984b"]]), Ai = ["dis
4515
4517
  ], 16));
4516
4518
  }
4517
4519
  });
4518
- const Wi = /* @__PURE__ */ H(Ri, [["__scopeId", "data-v-750acbd8"]]), Oi = { class: "ck-switch-options" }, Ei = ["onClick", "onKeyup"], Ni = /* @__PURE__ */ R({
4520
+ const Ri = /* @__PURE__ */ H(zi, [["__scopeId", "data-v-750acbd8"]]), Wi = { class: "ck-switch-options" }, Oi = ["onClick", "onKeyup"], Ei = /* @__PURE__ */ R({
4519
4521
  __name: "ck-switch-options",
4520
4522
  props: /* @__PURE__ */ te({
4521
4523
  options: {},
@@ -4559,7 +4561,7 @@ const Wi = /* @__PURE__ */ H(Ri, [["__scopeId", "data-v-750acbd8"]]), Oi = { cla
4559
4561
  }
4560
4562
  return (v, r) => {
4561
4563
  const g = Y("ck-icon");
4562
- return m(), y("div", Oi, [
4564
+ return m(), y("div", Wi, [
4563
4565
  v.label ? (m(), L(ze, {
4564
4566
  key: 0,
4565
4567
  align: v.labelAlign
@@ -4586,16 +4588,16 @@ const Wi = /* @__PURE__ */ H(Ri, [["__scopeId", "data-v-750acbd8"]]), Oi = { cla
4586
4588
  icon: f.icon
4587
4589
  }, null, 8, ["icon"])) : C("", !0),
4588
4590
  G(" " + A(p(f)), 1)
4589
- ], 46, Ei))), 128))
4591
+ ], 46, Oi))), 128))
4590
4592
  ], 2)
4591
4593
  ]);
4592
4594
  };
4593
4595
  }
4594
4596
  });
4595
- const Fi = /* @__PURE__ */ H(Ni, [["__scopeId", "data-v-c323f4fa"]]), ji = { class: "ck-textarea" }, Hi = {
4597
+ const Ni = /* @__PURE__ */ H(Ei, [["__scopeId", "data-v-c323f4fa"]]), Fi = { class: "ck-textarea" }, ji = {
4596
4598
  key: 0,
4597
4599
  class: "ck-textarea__optional-label"
4598
- }, qi = ["placeholder", "disabled"], Ui = 300, Yi = /* @__PURE__ */ R({
4600
+ }, Hi = ["placeholder", "disabled"], qi = 300, Ui = /* @__PURE__ */ R({
4599
4601
  __name: "ck-textarea",
4600
4602
  props: {
4601
4603
  modelValue: {},
@@ -4650,16 +4652,16 @@ const Fi = /* @__PURE__ */ H(Ni, [["__scopeId", "data-v-c323f4fa"]]), ji = { cla
4650
4652
  function g(f) {
4651
4653
  setTimeout(() => {
4652
4654
  c.value === f && n("changeDelayed", f);
4653
- }, t.delayChangeTime || Ui);
4655
+ }, t.delayChangeTime || qi);
4654
4656
  }
4655
- return (f, k) => (m(), y("div", ji, [
4657
+ return (f, k) => (m(), y("div", Fi, [
4656
4658
  f.label ? (m(), L(ze, {
4657
4659
  key: 0,
4658
4660
  align: f.labelAlign
4659
4661
  }, {
4660
4662
  default: N(() => [
4661
4663
  G(A(f.label) + " ", 1),
4662
- f.optional ? (m(), y("span", Hi, "opcional")) : C("", !0)
4664
+ f.optional ? (m(), y("span", ji, "opcional")) : C("", !0)
4663
4665
  ]),
4664
4666
  _: 1
4665
4667
  }, 8, ["align"])) : C("", !0),
@@ -4674,13 +4676,13 @@ const Fi = /* @__PURE__ */ H(Ni, [["__scopeId", "data-v-c323f4fa"]]), ji = { cla
4674
4676
  onClick: k[1] || (k[1] = (b) => s(b)),
4675
4677
  onInput: k[2] || (k[2] = (b) => v(b)),
4676
4678
  onChange: k[3] || (k[3] = (b) => r(b))
4677
- }, null, 46, qi), [
4679
+ }, null, 46, Hi), [
4678
4680
  [Fe, c.value]
4679
4681
  ])
4680
4682
  ]));
4681
4683
  }
4682
4684
  });
4683
- const Gi = /* @__PURE__ */ H(Yi, [["__scopeId", "data-v-02767f25"]]), Zi = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyNy43LjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgdmlld0JveD0iMCAwIDEwMCAxMDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMCAxMDA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQoJLnN0MHtmaWxsOiNFQTRCNEI7fQ0KPC9zdHlsZT4NCjxnPg0KCTxnPg0KCQk8Zz4NCgkJCTxyZWN0IHg9IjQ1IiB5PSI2NC45IiBjbGFzcz0ic3QwIiB3aWR0aD0iMTAiIGhlaWdodD0iMTAuMiIvPg0KCQk8L2c+DQoJPC9nPg0KCTxnPg0KCQk8Zz4NCgkJCTxyZWN0IHg9IjQ1IiB5PSIyNC45IiBjbGFzcz0ic3QwIiB3aWR0aD0iMTAiIGhlaWdodD0iMzAuMiIvPg0KCQk8L2c+DQoJPC9nPg0KPC9nPg0KPHBhdGggY2xhc3M9InN0MCIgZD0iTTY5LjIsMTYuN0w4OC41LDUwTDY5LjIsODMuM0gzMC44TDExLjUsNTBsMTkuMi0zMy4zSDY5LjIgTTc1LDYuN0gyNUwwLDUwbDI1LDQzLjNoNTBMMTAwLDUwTDc1LDYuN0w3NSw2Ljd6Ig0KCS8+DQo8L3N2Zz4NCg==", Ki = { class: "ck-confirm--background" }, Qi = { class: "ck-confirm" }, Ji = { class: "ck-confirm__title" }, Xi = { class: "ck-confirm__message" }, es = { class: "ck-confirm__buttons-container" }, ts = /* @__PURE__ */ R({
4685
+ const Yi = /* @__PURE__ */ H(Ui, [["__scopeId", "data-v-02767f25"]]), Gi = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyNy43LjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgdmlld0JveD0iMCAwIDEwMCAxMDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMCAxMDA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQoJLnN0MHtmaWxsOiNFQTRCNEI7fQ0KPC9zdHlsZT4NCjxnPg0KCTxnPg0KCQk8Zz4NCgkJCTxyZWN0IHg9IjQ1IiB5PSI2NC45IiBjbGFzcz0ic3QwIiB3aWR0aD0iMTAiIGhlaWdodD0iMTAuMiIvPg0KCQk8L2c+DQoJPC9nPg0KCTxnPg0KCQk8Zz4NCgkJCTxyZWN0IHg9IjQ1IiB5PSIyNC45IiBjbGFzcz0ic3QwIiB3aWR0aD0iMTAiIGhlaWdodD0iMzAuMiIvPg0KCQk8L2c+DQoJPC9nPg0KPC9nPg0KPHBhdGggY2xhc3M9InN0MCIgZD0iTTY5LjIsMTYuN0w4OC41LDUwTDY5LjIsODMuM0gzMC44TDExLjUsNTBsMTkuMi0zMy4zSDY5LjIgTTc1LDYuN0gyNUwwLDUwbDI1LDQzLjNoNTBMMTAwLDUwTDc1LDYuN0w3NSw2Ljd6Ig0KCS8+DQo8L3N2Zz4NCg==", Zi = { class: "ck-confirm--background" }, Ki = { class: "ck-confirm" }, Qi = { class: "ck-confirm__title" }, Ji = { class: "ck-confirm__message" }, Xi = { class: "ck-confirm__buttons-container" }, es = /* @__PURE__ */ R({
4684
4686
  __name: "CkConfirm",
4685
4687
  setup(e, { expose: o }) {
4686
4688
  const t = x(""), n = x(""), a = x(""), l = x(""), i = x(() => {
@@ -4699,17 +4701,17 @@ const Gi = /* @__PURE__ */ H(Yi, [["__scopeId", "data-v-02767f25"]]), Zi = "data
4699
4701
  cancelText: l,
4700
4702
  responseSuccess: i,
4701
4703
  responseFailure: c
4702
- }), (g, f) => (m(), y("div", Ki, [
4703
- $("div", Qi, [
4704
+ }), (g, f) => (m(), y("div", Zi, [
4705
+ $("div", Ki, [
4704
4706
  f[2] || (f[2] = $("div", { class: "ck-confirm__icon" }, [
4705
4707
  $("img", {
4706
- src: Zi,
4708
+ src: Gi,
4707
4709
  height: "125"
4708
4710
  })
4709
4711
  ], -1)),
4710
- $("div", Ji, A(t.value || u.value), 1),
4711
- $("div", Xi, A(n.value), 1),
4712
- $("div", es, [
4712
+ $("div", Qi, A(t.value || u.value), 1),
4713
+ $("div", Ji, A(n.value), 1),
4714
+ $("div", Xi, [
4713
4715
  $("button", {
4714
4716
  class: "ck-confirm__button--cancel",
4715
4717
  onClick: f[0] || (f[0] = (k) => v())
@@ -4723,7 +4725,7 @@ const Gi = /* @__PURE__ */ H(Yi, [["__scopeId", "data-v-02767f25"]]), Zi = "data
4723
4725
  ]));
4724
4726
  }
4725
4727
  });
4726
- const os = /* @__PURE__ */ H(ts, [["__scopeId", "data-v-817a5ee4"]]), ns = { class: "alert--msg" }, as = /* @__PURE__ */ R({
4728
+ const ts = /* @__PURE__ */ H(es, [["__scopeId", "data-v-817a5ee4"]]), os = { class: "alert--msg" }, ns = /* @__PURE__ */ R({
4727
4729
  __name: "CkAlert",
4728
4730
  setup(e, { expose: o }) {
4729
4731
  const t = x(""), n = x(""), a = x(""), l = x(!0), i = d(() => "Atención"), c = d(() => "Aceptar");
@@ -4745,14 +4747,14 @@ const os = /* @__PURE__ */ H(ts, [["__scopeId", "data-v-817a5ee4"]]), ns = { cla
4745
4747
  onAccept: p[1] || (p[1] = (s) => l.value = !1)
4746
4748
  }, {
4747
4749
  default: N(() => [
4748
- $("div", ns, A(n.value), 1)
4750
+ $("div", os, A(n.value), 1)
4749
4751
  ]),
4750
4752
  _: 1
4751
4753
  }, 8, ["modelValue", "title", "acceptBtnText"])
4752
4754
  ]));
4753
4755
  }
4754
4756
  });
4755
- const ls = /* @__PURE__ */ H(as, [["__scopeId", "data-v-08c93dad"]]), is = { class: "ck-notify__container" }, ss = { class: "ck-notify__title" }, rs = { class: "close-btn" }, us = ["innerHTML"], cs = /* @__PURE__ */ R({
4757
+ const as = /* @__PURE__ */ H(ns, [["__scopeId", "data-v-08c93dad"]]), ls = { class: "ck-notify__container" }, is = { class: "ck-notify__title" }, ss = { class: "close-btn" }, rs = ["innerHTML"], us = /* @__PURE__ */ R({
4756
4758
  __name: "CkNotify",
4757
4759
  setup(e, { expose: o }) {
4758
4760
  const t = x(!0), n = x(""), a = x(""), l = x(""), i = x(0), c = x(() => {
@@ -4791,7 +4793,7 @@ const ls = /* @__PURE__ */ H(as, [["__scopeId", "data-v-08c93dad"]]), is = { cla
4791
4793
  key: 0,
4792
4794
  to: "body"
4793
4795
  }, [
4794
- $("div", is, [
4796
+ $("div", ls, [
4795
4797
  $("div", {
4796
4798
  class: S(["ck-notify", p.value]),
4797
4799
  style: F(s.value),
@@ -4799,8 +4801,8 @@ const ls = /* @__PURE__ */ H(as, [["__scopeId", "data-v-08c93dad"]]), is = { cla
4799
4801
  t.value = !1, c.value();
4800
4802
  })
4801
4803
  }, [
4802
- $("div", ss, [
4803
- $("div", rs, [
4804
+ $("div", is, [
4805
+ $("div", ss, [
4804
4806
  U(ee, { icon: "times" })
4805
4807
  ]),
4806
4808
  G(" " + A(n.value || u.value), 1)
@@ -4808,13 +4810,13 @@ const ls = /* @__PURE__ */ H(as, [["__scopeId", "data-v-08c93dad"]]), is = { cla
4808
4810
  $("div", {
4809
4811
  class: "ck-notify__text",
4810
4812
  innerHTML: a.value
4811
- }, null, 8, us)
4813
+ }, null, 8, rs)
4812
4814
  ], 6)
4813
4815
  ])
4814
4816
  ])) : C("", !0);
4815
4817
  }
4816
4818
  });
4817
- const ds = /* @__PURE__ */ H(cs, [["__scopeId", "data-v-bb914f84"]]), ps = 3e3, vs = {
4819
+ const cs = /* @__PURE__ */ H(us, [["__scopeId", "data-v-bb914f84"]]), ds = 3e3, ps = {
4818
4820
  alert(e) {
4819
4821
  this.alertOptions({
4820
4822
  title: "",
@@ -4823,7 +4825,7 @@ const ds = /* @__PURE__ */ H(cs, [["__scopeId", "data-v-bb914f84"]]), ps = 3e3,
4823
4825
  });
4824
4826
  },
4825
4827
  alertOptions({ title: e = "", msg: o = "", acceptText: t = "" }) {
4826
- const n = document.createElement("div"), l = Ge(ls).mount(n);
4828
+ const n = document.createElement("div"), l = Ge(as).mount(n);
4827
4829
  l.title = e, l.msg = o, l.acceptText = t, document.body.appendChild(l.$el);
4828
4830
  },
4829
4831
  confirmOptions({
@@ -4836,7 +4838,7 @@ const ds = /* @__PURE__ */ H(cs, [["__scopeId", "data-v-bb914f84"]]), ps = 3e3,
4836
4838
  failure: l = () => {
4837
4839
  }
4838
4840
  }) {
4839
- const i = document.createElement("div"), c = Ge(os), u = c.mount(i);
4841
+ const i = document.createElement("div"), c = Ge(ts), u = c.mount(i);
4840
4842
  u.title = e, u.msg = o, u.acceptText = t, u.cancelText = n, u.responseSuccess = () => {
4841
4843
  c.unmount(), a();
4842
4844
  }, u.responseFailure = () => {
@@ -4851,8 +4853,8 @@ const ds = /* @__PURE__ */ H(cs, [["__scopeId", "data-v-bb914f84"]]), ps = 3e3,
4851
4853
  });
4852
4854
  },
4853
4855
  notify({ text: e = "", title: o = "", color: t = "", duration: n = 0 }) {
4854
- const a = document.createElement("div"), l = Ge(ds), i = l.mount(a);
4855
- i.title = o, i.text = e, i.color = t, i.duration = n || ps, i.closeCallback = () => {
4856
+ const a = document.createElement("div"), l = Ge(cs), i = l.mount(a);
4857
+ i.title = o, i.text = e, i.color = t, i.duration = n || ds, i.closeCallback = () => {
4856
4858
  l.unmount();
4857
4859
  };
4858
4860
  },
@@ -4866,7 +4868,7 @@ const ds = /* @__PURE__ */ H(cs, [["__scopeId", "data-v-bb914f84"]]), ps = 3e3,
4866
4868
  this.notify({ text: e, title: o, color: "warning", duration: t });
4867
4869
  }
4868
4870
  };
4869
- class ms {
4871
+ class vs {
4870
4872
  constructor(o) {
4871
4873
  ye(this, "search", "");
4872
4874
  ye(this, "currentPage", 1);
@@ -4877,7 +4879,7 @@ class ms {
4877
4879
  o && (this.itemsPerPage = o);
4878
4880
  }
4879
4881
  }
4880
- class fs {
4882
+ class ms {
4881
4883
  constructor(o, t) {
4882
4884
  ye(this, "ids", /* @__PURE__ */ new Set([]));
4883
4885
  ye(this, "toggleable", !0);
@@ -4914,19 +4916,19 @@ class fs {
4914
4916
  this.ids.clear();
4915
4917
  }
4916
4918
  }
4917
- const hs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4919
+ const fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4918
4920
  __proto__: null,
4919
4921
  CkButton: Te,
4920
- CkCard: Kl,
4922
+ CkCard: Zl,
4921
4923
  CkCheckbox: Pt,
4922
- CkChip: ni,
4923
- CkCircle: ri,
4924
+ CkChip: oi,
4925
+ CkCircle: si,
4924
4926
  CkDatetimeShower: Ao,
4925
- CkDiv: ui,
4927
+ CkDiv: ri,
4926
4928
  CkDropdown: Oo,
4927
- CkDropdownButton: ql,
4929
+ CkDropdownButton: Hl,
4928
4930
  CkIcon: ee,
4929
- CkImg: vi,
4931
+ CkImg: pi,
4930
4932
  CkInput: Tt,
4931
4933
  CkInputDate: wl,
4932
4934
  CkInputTime: $l,
@@ -4934,46 +4936,46 @@ const hs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4934
4936
  CkNavbar: Fo,
4935
4937
  CkPagination: Yn,
4936
4938
  CkPopup: nt,
4937
- CkRadio: ki,
4938
- CkSelect: Pi,
4939
- CkSidebar: xi,
4940
- CkSwitch: Wi,
4941
- CkSwitchOptions: Fi,
4939
+ CkRadio: gi,
4940
+ CkSelect: Ti,
4941
+ CkSidebar: Mi,
4942
+ CkSwitch: Ri,
4943
+ CkSwitchOptions: Ni,
4942
4944
  CkTab: Pl,
4943
4945
  CkTable: Un,
4944
4946
  CkTabs: xl,
4945
4947
  CkTd: Bt,
4946
- CkTextarea: Gi,
4948
+ CkTextarea: Yi,
4947
4949
  CkTh: Qn,
4948
4950
  CkTimeShower: Ro,
4949
4951
  CkToggle: zl,
4950
4952
  CkToggleGroup: Ol,
4951
4953
  CkTr: $t,
4952
- SelectedRows: fs,
4953
- TableData: ms,
4954
- ckNotify: vs,
4954
+ SelectedRows: ms,
4955
+ TableData: vs,
4956
+ ckNotify: ps,
4955
4957
  useWindowWidth: ke
4956
4958
  }, Symbol.toStringTag, { value: "Module" }));
4957
4959
  tt.add(Rt);
4958
4960
  tt.add(Wt);
4959
4961
  tt.add(Ot);
4960
- function Vs(e, o) {
4961
- oe().cleekOptions = $o(wt, o), e.use(Vo), e.use(zt, Co), Object.entries(hs).forEach(([t, n]) => {
4962
+ function Ps(e, o) {
4963
+ oe().cleekOptions = $o(wt, o), e.use(Vo), e.use(zt, Co), Object.entries(fs).forEach(([t, n]) => {
4962
4964
  e.component(t, n);
4963
4965
  });
4964
4966
  }
4965
4967
  export {
4966
4968
  Te as CkButton,
4967
- Kl as CkCard,
4969
+ Zl as CkCard,
4968
4970
  Pt as CkCheckbox,
4969
- ni as CkChip,
4970
- ri as CkCircle,
4971
+ oi as CkChip,
4972
+ si as CkCircle,
4971
4973
  Ao as CkDatetimeShower,
4972
- ui as CkDiv,
4974
+ ri as CkDiv,
4973
4975
  Oo as CkDropdown,
4974
- ql as CkDropdownButton,
4976
+ Hl as CkDropdownButton,
4975
4977
  ee as CkIcon,
4976
- vi as CkImg,
4978
+ pi as CkImg,
4977
4979
  Tt as CkInput,
4978
4980
  wl as CkInputDate,
4979
4981
  $l as CkInputTime,
@@ -4981,25 +4983,25 @@ export {
4981
4983
  Fo as CkNavbar,
4982
4984
  Yn as CkPagination,
4983
4985
  nt as CkPopup,
4984
- ki as CkRadio,
4985
- Pi as CkSelect,
4986
- xi as CkSidebar,
4987
- Wi as CkSwitch,
4988
- Fi as CkSwitchOptions,
4986
+ gi as CkRadio,
4987
+ Ti as CkSelect,
4988
+ Mi as CkSidebar,
4989
+ Ri as CkSwitch,
4990
+ Ni as CkSwitchOptions,
4989
4991
  Pl as CkTab,
4990
4992
  Un as CkTable,
4991
4993
  xl as CkTabs,
4992
4994
  Bt as CkTd,
4993
- Gi as CkTextarea,
4995
+ Yi as CkTextarea,
4994
4996
  Qn as CkTh,
4995
4997
  Ro as CkTimeShower,
4996
4998
  zl as CkToggle,
4997
4999
  Ol as CkToggleGroup,
4998
5000
  $t as CkTr,
4999
- fs as SelectedRows,
5000
- ms as TableData,
5001
- vs as ckNotify,
5002
- Vs as default,
5001
+ ms as SelectedRows,
5002
+ vs as TableData,
5003
+ ps as ckNotify,
5004
+ Ps as default,
5003
5005
  oe as useCleekOptionsStore,
5004
5006
  ke as useWindowWidth
5005
5007
  };