cleek 2.11.6 → 2.11.8

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