cleek 2.10.57 → 2.10.59

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
@@ -15996,7 +15996,8 @@ const gW = {
15996
15996
  textColor: ""
15997
15997
  },
15998
15998
  chip: {
15999
- type: "outlined"
15999
+ type: "outlined",
16000
+ layout: "rounded"
16000
16001
  },
16001
16002
  div: {
16002
16003
  gap: 0
@@ -36523,8 +36524,8 @@ function A43() {
36523
36524
  const [
36524
36525
  _43,
36525
36526
  T43,
36526
- AL6,
36527
- _L6
36527
+ _L6,
36528
+ TL6
36528
36529
  ] = /* @__PURE__ */ A43();
36529
36530
  function c81(c, e) {
36530
36531
  const a = c ? T43 : _43;
@@ -54991,7 +54992,7 @@ function aF3() {
54991
54992
  n
54992
54993
  ];
54993
54994
  }
54994
- const [nF3, iF3, TL6, PL6] = /* @__PURE__ */ aF3();
54995
+ const [nF3, iF3, PL6, DL6] = /* @__PURE__ */ aF3();
54995
54996
  function ao1(c, e) {
54996
54997
  const a = c ? iF3 : nF3;
54997
54998
  return (n, i, t) => i === "__v_isReactive" ? !c : i === "__v_isReadonly" ? c : i === "__v_raw" ? n : Reflect.get(JC(a, i) && i in n ? a : n, i, t);
@@ -110105,7 +110106,7 @@ const ad6 = /* @__PURE__ */ Z1(ed6, [["__scopeId", "data-v-d8e2991f"]]), nd6 = {
110105
110106
  };
110106
110107
  }
110107
110108
  });
110108
- const rd6 = /* @__PURE__ */ Z1(od6, [["__scopeId", "data-v-780265b9"]]), ld6 = ["color"], sd6 = "white", fd6 = "primary", Cd6 = "s", md6 = "outlined", ud6 = /* @__PURE__ */ _1({
110109
+ const rd6 = /* @__PURE__ */ Z1(od6, [["__scopeId", "data-v-780265b9"]]), ld6 = ["color"], sd6 = "white", fd6 = "primary", Cd6 = "s", md6 = "outlined", ud6 = "rounded", zd6 = /* @__PURE__ */ _1({
110109
110110
  __name: "ck-chip",
110110
110111
  props: {
110111
110112
  size: {},
@@ -110118,50 +110119,52 @@ const rd6 = /* @__PURE__ */ Z1(od6, [["__scopeId", "data-v-780265b9"]]), ld6 = [
110118
110119
  iconPack: {},
110119
110120
  clickable: { type: Boolean },
110120
110121
  group: {},
110121
- type: {}
110122
+ type: {},
110123
+ layout: {}
110122
110124
  },
110123
110125
  emits: ["click"],
110124
110126
  setup(c, { emit: e }) {
110125
- const a = c, { windowWidth: n } = V8(), { cleekOptions: i } = _3(b3()), t = e, o = _(() => a.type ? a.type : i.value ? i.value.chip.type : md6), r = _(() => {
110126
- const f = [];
110127
- return (!a.color || M1.isColorTemplateVariable(a.color)) && o.value !== "outlined" && f.push(`ck-component__bg-color--${a.color || fd6}`), o.value === "outlined" && f.push("type--outlined"), f.push(M1.getGroupClass(a, n.value)), f.push(`size-${a.size || Cd6}`), a.align && f.push(`align--${a.align}`), a.nowrap && f.push(`ck-chip--${a.nowrap}`), a.clickable && f.push("clickable"), f;
110127
+ const a = c, { windowWidth: n } = V8(), { cleekOptions: i } = _3(b3()), t = e, o = _(() => a.layout ? a.layout : i.value ? i.value.chip.layout : ud6), r = _(() => a.type ? a.type : i.value ? i.value.chip.type : md6), l = _(() => a.color || fd6), s = _(() => {
110128
+ const m = [];
110129
+ return r.value === "outlined" ? m.push("type--outlined") : M1.isColorTemplateVariable(l.value) && m.push(`ck-component__bg-color--${l.value}`), o.value && m.push(`layout--${o.value}`), m.push(M1.getGroupClass(a, n.value)), m.push(`size-${a.size || Cd6}`), a.align && m.push(`align--${a.align}`), a.nowrap && m.push(`ck-chip--${a.nowrap}`), a.clickable && m.push("clickable"), m;
110128
110130
  });
110129
- function l(f) {
110130
- return M1.isColorTemplateVariable(f) ? M1.getColorHexFromTemplateVariable(f, i.value.colors) : f;
110131
+ function f(m) {
110132
+ return M1.isColorTemplateVariable(m) ? M1.getColorHexFromTemplateVariable(m, i.value.colors) : m;
110131
110133
  }
110132
- const s = _(() => {
110133
- const f = [];
110134
- if (a.color && !M1.isColorTemplateVariable(a.color) && o.value !== "outlined" && (f.push({ backgroundColor: a.color }), f.push({ color: a.textColor || sd6 })), o.value === "outlined" && a.color) {
110135
- const C = l(a.color), m = l(a.textColor || a.color);
110136
- f.push({ "--chip-bg": C }), f.push({ borderColor: C }), f.push({ color: m });
110137
- }
110138
- return f;
110134
+ const C = _(() => {
110135
+ const m = [];
110136
+ if (r.value === "outlined") {
110137
+ const z = f(l.value), p = f(a.textColor || l.value);
110138
+ m.push({ "--chip-bg": z }), m.push({ borderColor: z }), m.push({ color: p });
110139
+ } else
110140
+ M1.isColorTemplateVariable(l.value) || (m.push({ backgroundColor: l.value }), m.push({ color: a.textColor || sd6 }));
110141
+ return m;
110139
110142
  });
110140
- return (f, C) => (T(), q("div", {
110141
- class: h1(["ck-chip", r.value]),
110142
- color: f.color,
110143
- style: R1(s.value),
110144
- onClick: C[0] || (C[0] = (m) => t("click", m))
110143
+ return (m, z) => (T(), q("div", {
110144
+ class: h1(["ck-chip", s.value]),
110145
+ color: m.color,
110146
+ style: R1(C.value),
110147
+ onClick: z[0] || (z[0] = (p) => t("click", p))
110145
110148
  }, [
110146
- f.icon ? (T(), l1(A3, {
110149
+ m.icon ? (T(), l1(A3, {
110147
110150
  key: 0,
110148
110151
  class: "pr-2",
110149
- icon: f.icon,
110150
- "icon-pack": f.iconPack
110152
+ icon: m.icon,
110153
+ "icon-pack": m.iconPack
110151
110154
  }, null, 8, ["icon", "icon-pack"])) : Z("", !0),
110152
110155
  Y("span", null, [
110153
- O1(f.$slots, "default", {}, void 0, !0)
110156
+ O1(m.$slots, "default", {}, void 0, !0)
110154
110157
  ]),
110155
- f.iconRight ? (T(), l1(A3, {
110158
+ m.iconRight ? (T(), l1(A3, {
110156
110159
  key: 1,
110157
110160
  class: "pl-2",
110158
- icon: f.iconRight,
110159
- "icon-pack": f.iconPack
110161
+ icon: m.iconRight,
110162
+ "icon-pack": m.iconPack
110160
110163
  }, null, 8, ["icon", "icon-pack"])) : Z("", !0)
110161
110164
  ], 14, ld6));
110162
110165
  }
110163
110166
  });
110164
- const zd6 = /* @__PURE__ */ Z1(ud6, [["__scopeId", "data-v-7189a1f4"]]), hd6 = "primary", pd6 = "m", Md6 = "white", dd6 = /* @__PURE__ */ _1({
110167
+ const hd6 = /* @__PURE__ */ Z1(zd6, [["__scopeId", "data-v-110cf468"]]), pd6 = "primary", Md6 = "m", dd6 = "white", Ld6 = /* @__PURE__ */ _1({
110165
110168
  __name: "ck-circle",
110166
110169
  props: {
110167
110170
  size: {},
@@ -110176,10 +110179,10 @@ const zd6 = /* @__PURE__ */ Z1(ud6, [["__scopeId", "data-v-7189a1f4"]]), hd6 = "
110176
110179
  const a = c, n = e, i = _(() => {
110177
110180
  const o = [];
110178
110181
  let r = a.size;
110179
- return a.size !== "s" && a.size !== "l" && a.size !== "xs" && (r = pd6), o.push(`ck-circle__size-${r}`), o.push(`ck-component__bg-color--${a.color || hd6}`), o;
110182
+ return a.size !== "s" && a.size !== "l" && a.size !== "xs" && (r = Md6), o.push(`ck-circle__size-${r}`), o.push(`ck-component__bg-color--${a.color || pd6}`), o;
110180
110183
  }), t = _(() => {
110181
110184
  const o = [];
110182
- return a.sizeInPx && (o.push({ height: a.sizeInPx }), o.push({ width: a.sizeInPx })), (a.color || M1.isColorTemplateVariable(a.color)) && (o.push({ backgroundColor: a.color }), o.push({ color: a.textColor || Md6 })), o;
110185
+ return a.sizeInPx && (o.push({ height: a.sizeInPx }), o.push({ width: a.sizeInPx })), (a.color || M1.isColorTemplateVariable(a.color)) && (o.push({ backgroundColor: a.color }), o.push({ color: a.textColor || dd6 })), o;
110183
110186
  });
110184
110187
  return (o, r) => {
110185
110188
  const l = Y1("ck-icon");
@@ -110198,7 +110201,7 @@ const zd6 = /* @__PURE__ */ Z1(ud6, [["__scopeId", "data-v-7189a1f4"]]), hd6 = "
110198
110201
  };
110199
110202
  }
110200
110203
  });
110201
- const Ld6 = /* @__PURE__ */ Z1(dd6, [["__scopeId", "data-v-ba0b3fb6"]]), Hd6 = /* @__PURE__ */ _1({
110204
+ const Hd6 = /* @__PURE__ */ Z1(Ld6, [["__scopeId", "data-v-ba0b3fb6"]]), vd6 = /* @__PURE__ */ _1({
110202
110205
  __name: "ck-div",
110203
110206
  props: {
110204
110207
  widthBreaks: {},
@@ -110225,11 +110228,11 @@ const Ld6 = /* @__PURE__ */ Z1(dd6, [["__scopeId", "data-v-ba0b3fb6"]]), Hd6 = /
110225
110228
  ], 4));
110226
110229
  }
110227
110230
  });
110228
- const vd6 = {
110231
+ const Vd6 = {
110229
110232
  defaultFailImg: "df",
110230
110233
  imagesFolderPath: "",
110231
110234
  defaultImgBorderColor: "#EEEEEE"
110232
- }, Vd6 = ["src", "alt"], gd6 = /* @__PURE__ */ _1({
110235
+ }, gd6 = ["src", "alt"], bd6 = /* @__PURE__ */ _1({
110233
110236
  __name: "ck-img",
110234
110237
  props: {
110235
110238
  src: {},
@@ -110260,7 +110263,7 @@ const vd6 = {
110260
110263
  }), C = _(() => {
110261
110264
  const p = [];
110262
110265
  return a.radius && p.push({ "border-radius": a.radius }), a.width && p.push({ width: a.width }), a.height && p.push({ height: a.height }), p;
110263
- }), m = _(() => a.borderColor ? a.borderColor : vd6.defaultImgBorderColor);
110266
+ }), m = _(() => a.borderColor ? a.borderColor : Vd6.defaultImgBorderColor);
110264
110267
  function z(p) {
110265
110268
  let M = i.value.img.basePath;
110266
110269
  return i.value.img.basePath && (M = i.value.img.basePath), M || (M = i.value.img.basePathStatic), a.dynamic && (M = i.value.img.basePathDynamic), `${M}${p}`;
@@ -110277,14 +110280,14 @@ const vd6 = {
110277
110280
  style: R1(C.value),
110278
110281
  alt: p.alt,
110279
110282
  onError: M[0] || (M[0] = (d) => t.value = !0)
110280
- }, null, 44, Vd6)
110283
+ }, null, 44, gd6)
110281
110284
  ], 6));
110282
110285
  }
110283
110286
  });
110284
- const bd6 = /* @__PURE__ */ Z1(gd6, [["__scopeId", "data-v-485e840f"]]), xd6 = ["onKeyup"], yd6 = ["name", "value", "disabled"], Nd6 = {
110287
+ const xd6 = /* @__PURE__ */ Z1(bd6, [["__scopeId", "data-v-485e840f"]]), yd6 = ["onKeyup"], Nd6 = ["name", "value", "disabled"], wd6 = {
110285
110288
  key: 0,
110286
110289
  class: "c-Radio__label"
110287
- }, wd6 = /* @__PURE__ */ _1({
110290
+ }, Sd6 = /* @__PURE__ */ _1({
110288
110291
  __name: "ck-radio",
110289
110292
  props: {
110290
110293
  modelValue: {},
@@ -110344,16 +110347,16 @@ const bd6 = /* @__PURE__ */ Z1(gd6, [["__scopeId", "data-v-485e840f"]]), xd6 = [
110344
110347
  name: s.name,
110345
110348
  value: C.value,
110346
110349
  disabled: s.disabled
110347
- }, null, 8, yd6), [
110350
+ }, null, 8, Nd6), [
110348
110351
  [LS1, i.value]
110349
110352
  ]),
110350
110353
  f[2] || (f[2] = Y("div", { class: "c-Radio__element" }, null, -1)),
110351
- C.label ? (T(), q("span", Nd6, H1(C.label), 1)) : Z("", !0)
110352
- ], 16, xd6))), 128));
110354
+ C.label ? (T(), q("span", wd6, H1(C.label), 1)) : Z("", !0)
110355
+ ], 16, yd6))), 128));
110353
110356
  }
110354
110357
  });
110355
- const Sd6 = /* @__PURE__ */ Z1(wd6, [["__scopeId", "data-v-d37d3f3e"]]);
110356
- function kd6(c, e) {
110358
+ const kd6 = /* @__PURE__ */ Z1(Sd6, [["__scopeId", "data-v-d37d3f3e"]]);
110359
+ function Ad6(c, e) {
110357
110360
  const a = (n) => {
110358
110361
  var t;
110359
110362
  let i = (t = c.value) == null ? void 0 : t.parentElement;
@@ -110368,10 +110371,10 @@ function kd6(c, e) {
110368
110371
  function OD(c) {
110369
110372
  return c.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase();
110370
110373
  }
110371
- const Ad6 = {
110374
+ const _d6 = {
110372
110375
  key: 0,
110373
110376
  class: "ck-select--optional-label"
110374
- }, _d6 = ["disabled"], Td6 = ["value"], Pd6 = ["placeholder", "disabled"], Dd6 = ["onMousedown", "onMouseenter"], Od6 = ["textContent"], Bd6 = /* @__PURE__ */ _1({
110377
+ }, Td6 = ["disabled"], Pd6 = ["value"], Dd6 = ["placeholder", "disabled"], Od6 = ["onMousedown", "onMouseenter"], Bd6 = ["textContent"], Rd6 = /* @__PURE__ */ _1({
110375
110378
  __name: "ck-select",
110376
110379
  props: /* @__PURE__ */ H3({
110377
110380
  options: {},
@@ -110547,7 +110550,7 @@ const Ad6 = {
110547
110550
  } else
110548
110551
  M.value = -1;
110549
110552
  }
110550
- return kd6(s, () => {
110553
+ return Ad6(s, () => {
110551
110554
  var $;
110552
110555
  return ($ = s.value) == null ? void 0 : $.blur();
110553
110556
  }), W1(), ($, u1) => {
@@ -110563,7 +110566,7 @@ const Ad6 = {
110563
110566
  }, {
110564
110567
  default: U1(() => [
110565
110568
  u2(H1($.label) + " ", 1),
110566
- $.optional ? (T(), q("span", Ad6, "opcional")) : Z("", !0)
110569
+ $.optional ? (T(), q("span", _d6, "opcional")) : Z("", !0)
110567
110570
  ]),
110568
110571
  _: 1
110569
110572
  }, 8, ["align"])) : Z("", !0),
@@ -110583,8 +110586,8 @@ const Ad6 = {
110583
110586
  value: X(S1),
110584
110587
  key: S1,
110585
110588
  style: R1(W.value)
110586
- }, H1(x1(S1)), 13, Td6))), 128))
110587
- ], 46, _d6)), [
110589
+ }, H1(x1(S1)), 13, Pd6))), 128))
110590
+ ], 46, Td6)), [
110588
110591
  [HS1, n.value]
110589
110592
  ]) : a4((T(), q("input", {
110590
110593
  key: 2,
@@ -110602,7 +110605,7 @@ const Ad6 = {
110602
110605
  onBlur: u1[6] || (u1[6] = (S1) => y1()),
110603
110606
  onInput: u1[7] || (u1[7] = (S1) => l2()),
110604
110607
  onKeydown: u1[8] || (u1[8] = (S1) => U2(S1.key))
110605
- }, null, 46, Pd6)), [
110608
+ }, null, 46, Dd6)), [
110606
110609
  [Xs, m.value]
110607
110610
  ]),
110608
110611
  (T(), l1(ci, { to: "body" }, [
@@ -110621,14 +110624,14 @@ const Ad6 = {
110621
110624
  }]),
110622
110625
  onMousedown: (R) => r3(X(S1)),
110623
110626
  onMouseenter: (R) => M.value = p3
110624
- }, H1(x1(S1)), 43, Dd6))), 128))
110627
+ }, H1(x1(S1)), 43, Od6))), 128))
110625
110628
  ], 4)) : Z("", !0)
110626
110629
  ])),
110627
110630
  b.value ? (T(), q("span", {
110628
110631
  key: 3,
110629
110632
  class: "ck-select--placeholder",
110630
110633
  textContent: H1(A.value)
110631
- }, null, 8, Od6)) : Z("", !0),
110634
+ }, null, 8, Bd6)) : Z("", !0),
110632
110635
  $.icon ? (T(), l1(A3, {
110633
110636
  key: 4,
110634
110637
  class: "ck-select--icon-left",
@@ -110662,19 +110665,19 @@ const Ad6 = {
110662
110665
  };
110663
110666
  }
110664
110667
  });
110665
- const Rd6 = /* @__PURE__ */ Z1(Bd6, [["__scopeId", "data-v-56f1b460"]]), Fd6 = {
110668
+ const Fd6 = /* @__PURE__ */ Z1(Rd6, [["__scopeId", "data-v-56f1b460"]]), $d6 = {
110666
110669
  key: 0,
110667
110670
  class: "sidebar-header-title"
110668
- }, $d6 = {
110671
+ }, Ed6 = {
110669
110672
  key: 1,
110670
110673
  class: "loader-container"
110671
- }, Ed6 = {
110674
+ }, qd6 = {
110672
110675
  key: 2,
110673
110676
  class: "ck-sidebar__content"
110674
- }, qd6 = {
110677
+ }, Ud6 = {
110675
110678
  key: 3,
110676
110679
  class: "ck-sidbar__footer"
110677
- }, Ud6 = /* @__PURE__ */ _1({
110680
+ }, jd6 = /* @__PURE__ */ _1({
110678
110681
  __name: "ck-sidebar",
110679
110682
  props: /* @__PURE__ */ H3({
110680
110683
  title: {},
@@ -110723,23 +110726,23 @@ const Rd6 = /* @__PURE__ */ Z1(Bd6, [["__scopeId", "data-v-56f1b460"]]), Fd6 = {
110723
110726
  style: R1(o.value),
110724
110727
  onClick: s[0] || (s[0] = (C) => e.value = !1)
110725
110728
  }, [
110726
- l.title ? (T(), q("div", Fd6, H1(l.title), 1)) : Z("", !0),
110729
+ l.title ? (T(), q("div", $d6, H1(l.title), 1)) : Z("", !0),
110727
110730
  L2(f, {
110728
110731
  class: "close-btn",
110729
110732
  icon: r.value
110730
110733
  }, null, 8, ["icon"])
110731
110734
  ], 6)) : Z("", !0),
110732
- l.isLoading ? (T(), q("div", $d6, [
110735
+ l.isLoading ? (T(), q("div", Ed6, [
110733
110736
  L2(f, {
110734
110737
  icon: "spinner",
110735
110738
  size: "xxl",
110736
110739
  spin: "",
110737
110740
  color: "primary"
110738
110741
  })
110739
- ])) : (T(), q("div", Ed6, [
110742
+ ])) : (T(), q("div", qd6, [
110740
110743
  O1(l.$slots, "default", {}, void 0, !0)
110741
110744
  ])),
110742
- l.$slots.footer ? (T(), q("div", qd6, [
110745
+ l.$slots.footer ? (T(), q("div", Ud6, [
110743
110746
  O1(l.$slots, "footer", {}, void 0, !0)
110744
110747
  ])) : Z("", !0)
110745
110748
  ], 6)
@@ -110747,7 +110750,7 @@ const Rd6 = /* @__PURE__ */ Z1(Bd6, [["__scopeId", "data-v-56f1b460"]]), Fd6 = {
110747
110750
  };
110748
110751
  }
110749
110752
  });
110750
- const jd6 = /* @__PURE__ */ Z1(Ud6, [["__scopeId", "data-v-21b28906"]]), Id6 = ["disabled"], Wd6 = { class: "ck-switch__slider-container" }, Wz = "s", Gd6 = "m", Yd6 = /* @__PURE__ */ _1({
110753
+ const Id6 = /* @__PURE__ */ Z1(jd6, [["__scopeId", "data-v-21b28906"]]), Wd6 = ["disabled"], Gd6 = { class: "ck-switch__slider-container" }, Wz = "s", Yd6 = "m", Zd6 = /* @__PURE__ */ _1({
110751
110754
  __name: "ck-switch",
110752
110755
  props: /* @__PURE__ */ H3({
110753
110756
  preventAutoUpdate: { type: Boolean },
@@ -110781,7 +110784,7 @@ const jd6 = /* @__PURE__ */ Z1(Ud6, [["__scopeId", "data-v-21b28906"]]), Id6 = [
110781
110784
  return t.value.darkMode && m.push({ color: t.value.darkModeColorText }), n.size && n.size !== Wz && m.push(`ck-switch__icon-size--${n.size}`), m;
110782
110785
  }), f = _(() => {
110783
110786
  const m = [];
110784
- return n.textSize && n.textSize !== Gd6 && m.push(`ck-switch__text-size--${n.textSize}`), m;
110787
+ return n.textSize && n.textSize !== Yd6 && m.push(`ck-switch__text-size--${n.textSize}`), m;
110785
110788
  });
110786
110789
  function C(m) {
110787
110790
  if (n.preventAutoUpdate) {
@@ -110809,10 +110812,10 @@ const jd6 = /* @__PURE__ */ Z1(Ud6, [["__scopeId", "data-v-21b28906"]]), Id6 = [
110809
110812
  "aria-hidden": "true",
110810
110813
  disabled: m.disabled,
110811
110814
  onClick: z[1] || (z[1] = (p) => C(p))
110812
- }, null, 8, Id6), [
110815
+ }, null, 8, Wd6), [
110813
110816
  [vS1, a.value]
110814
110817
  ]),
110815
- Y("div", Wd6, [
110818
+ Y("div", Gd6, [
110816
110819
  z[3] || (z[3] = Y("div", { class: "ck-switch__slider" }, null, -1)),
110817
110820
  m.icon && a.value ? (T(), l1(A3, {
110818
110821
  key: 0,
@@ -110837,7 +110840,7 @@ const jd6 = /* @__PURE__ */ Z1(Ud6, [["__scopeId", "data-v-21b28906"]]), Id6 = [
110837
110840
  ], 16));
110838
110841
  }
110839
110842
  });
110840
- const Zd6 = /* @__PURE__ */ Z1(Yd6, [["__scopeId", "data-v-9b21ac28"]]), Xd6 = { class: "ck-switch-options" }, Qd6 = ["onClick"], Kd6 = /* @__PURE__ */ _1({
110843
+ const Xd6 = /* @__PURE__ */ Z1(Zd6, [["__scopeId", "data-v-9b21ac28"]]), Qd6 = { class: "ck-switch-options" }, Kd6 = ["onClick"], Jd6 = /* @__PURE__ */ _1({
110841
110844
  __name: "ck-switch-options",
110842
110845
  props: /* @__PURE__ */ H3({
110843
110846
  options: {},
@@ -110881,7 +110884,7 @@ const Zd6 = /* @__PURE__ */ Z1(Yd6, [["__scopeId", "data-v-9b21ac28"]]), Xd6 = {
110881
110884
  }
110882
110885
  return (C, m) => {
110883
110886
  const z = Y1("ck-icon");
110884
- return T(), q("div", Xd6, [
110887
+ return T(), q("div", Qd6, [
110885
110888
  C.label ? (T(), l1(Zi, {
110886
110889
  key: 0,
110887
110890
  align: C.labelAlign
@@ -110906,16 +110909,16 @@ const Zd6 = /* @__PURE__ */ Z1(Yd6, [["__scopeId", "data-v-9b21ac28"]]), Xd6 = {
110906
110909
  icon: p.icon
110907
110910
  }, null, 8, ["icon"])) : Z("", !0),
110908
110911
  u2(" " + H1(s(p)), 1)
110909
- ], 14, Qd6))), 128))
110912
+ ], 14, Kd6))), 128))
110910
110913
  ], 2)
110911
110914
  ]);
110912
110915
  };
110913
110916
  }
110914
110917
  });
110915
- const Jd6 = /* @__PURE__ */ Z1(Kd6, [["__scopeId", "data-v-a455f214"]]), cL6 = { class: "ck-textarea" }, eL6 = {
110918
+ const cL6 = /* @__PURE__ */ Z1(Jd6, [["__scopeId", "data-v-a455f214"]]), eL6 = { class: "ck-textarea" }, aL6 = {
110916
110919
  key: 0,
110917
110920
  class: "ck-textarea__optional-label"
110918
- }, aL6 = ["placeholder", "disabled"], nL6 = 300, iL6 = /* @__PURE__ */ _1({
110921
+ }, nL6 = ["placeholder", "disabled"], iL6 = 300, tL6 = /* @__PURE__ */ _1({
110919
110922
  __name: "ck-textarea",
110920
110923
  props: {
110921
110924
  modelValue: {},
@@ -110970,16 +110973,16 @@ const Jd6 = /* @__PURE__ */ Z1(Kd6, [["__scopeId", "data-v-a455f214"]]), cL6 = {
110970
110973
  function z(p) {
110971
110974
  setTimeout(() => {
110972
110975
  r.value === p && n("changeDelayed", p);
110973
- }, a.delayChangeTime || nL6);
110976
+ }, a.delayChangeTime || iL6);
110974
110977
  }
110975
- return (p, M) => (T(), q("div", cL6, [
110978
+ return (p, M) => (T(), q("div", eL6, [
110976
110979
  p.label ? (T(), l1(Zi, {
110977
110980
  key: 0,
110978
110981
  align: p.labelAlign
110979
110982
  }, {
110980
110983
  default: U1(() => [
110981
110984
  u2(H1(p.label) + " ", 1),
110982
- p.optional ? (T(), q("span", eL6, "opcional")) : Z("", !0)
110985
+ p.optional ? (T(), q("span", aL6, "opcional")) : Z("", !0)
110983
110986
  ]),
110984
110987
  _: 1
110985
110988
  }, 8, ["align"])) : Z("", !0),
@@ -110994,13 +110997,13 @@ const Jd6 = /* @__PURE__ */ Z1(Kd6, [["__scopeId", "data-v-a455f214"]]), cL6 = {
110994
110997
  onClick: M[1] || (M[1] = (d) => f(d)),
110995
110998
  onInput: M[2] || (M[2] = (d) => C(d)),
110996
110999
  onChange: M[3] || (M[3] = (d) => m(d))
110997
- }, null, 46, aL6), [
111000
+ }, null, 46, nL6), [
110998
111001
  [Xs, r.value]
110999
111002
  ])
111000
111003
  ]));
111001
111004
  }
111002
111005
  });
111003
- const tL6 = /* @__PURE__ */ Z1(iL6, [["__scopeId", "data-v-02767f25"]]), oL6 = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyNy43LjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgdmlld0JveD0iMCAwIDEwMCAxMDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMCAxMDA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQoJLnN0MHtmaWxsOiNFQTRCNEI7fQ0KPC9zdHlsZT4NCjxnPg0KCTxnPg0KCQk8Zz4NCgkJCTxyZWN0IHg9IjQ1IiB5PSI2NC45IiBjbGFzcz0ic3QwIiB3aWR0aD0iMTAiIGhlaWdodD0iMTAuMiIvPg0KCQk8L2c+DQoJPC9nPg0KCTxnPg0KCQk8Zz4NCgkJCTxyZWN0IHg9IjQ1IiB5PSIyNC45IiBjbGFzcz0ic3QwIiB3aWR0aD0iMTAiIGhlaWdodD0iMzAuMiIvPg0KCQk8L2c+DQoJPC9nPg0KPC9nPg0KPHBhdGggY2xhc3M9InN0MCIgZD0iTTY5LjIsMTYuN0w4OC41LDUwTDY5LjIsODMuM0gzMC44TDExLjUsNTBsMTkuMi0zMy4zSDY5LjIgTTc1LDYuN0gyNUwwLDUwbDI1LDQzLjNoNTBMMTAwLDUwTDc1LDYuN0w3NSw2Ljd6Ig0KCS8+DQo8L3N2Zz4NCg==", rL6 = { class: "ck-confirm--background" }, lL6 = { class: "ck-confirm" }, sL6 = { class: "ck-confirm__title" }, fL6 = { class: "ck-confirm__message" }, CL6 = { class: "ck-confirm__buttons-container" }, mL6 = /* @__PURE__ */ _1({
111006
+ const oL6 = /* @__PURE__ */ Z1(tL6, [["__scopeId", "data-v-02767f25"]]), rL6 = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyNy43LjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgdmlld0JveD0iMCAwIDEwMCAxMDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMCAxMDA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQoJLnN0MHtmaWxsOiNFQTRCNEI7fQ0KPC9zdHlsZT4NCjxnPg0KCTxnPg0KCQk8Zz4NCgkJCTxyZWN0IHg9IjQ1IiB5PSI2NC45IiBjbGFzcz0ic3QwIiB3aWR0aD0iMTAiIGhlaWdodD0iMTAuMiIvPg0KCQk8L2c+DQoJPC9nPg0KCTxnPg0KCQk8Zz4NCgkJCTxyZWN0IHg9IjQ1IiB5PSIyNC45IiBjbGFzcz0ic3QwIiB3aWR0aD0iMTAiIGhlaWdodD0iMzAuMiIvPg0KCQk8L2c+DQoJPC9nPg0KPC9nPg0KPHBhdGggY2xhc3M9InN0MCIgZD0iTTY5LjIsMTYuN0w4OC41LDUwTDY5LjIsODMuM0gzMC44TDExLjUsNTBsMTkuMi0zMy4zSDY5LjIgTTc1LDYuN0gyNUwwLDUwbDI1LDQzLjNoNTBMMTAwLDUwTDc1LDYuN0w3NSw2Ljd6Ig0KCS8+DQo8L3N2Zz4NCg==", lL6 = { class: "ck-confirm--background" }, sL6 = { class: "ck-confirm" }, fL6 = { class: "ck-confirm__title" }, CL6 = { class: "ck-confirm__message" }, mL6 = { class: "ck-confirm__buttons-container" }, uL6 = /* @__PURE__ */ _1({
111004
111007
  __name: "CkConfirm",
111005
111008
  setup(c, { expose: e }) {
111006
111009
  const a = p1(""), n = p1(""), i = p1(""), t = p1(""), o = p1(() => {
@@ -111019,17 +111022,17 @@ const tL6 = /* @__PURE__ */ Z1(iL6, [["__scopeId", "data-v-02767f25"]]), oL6 = "
111019
111022
  cancelText: t,
111020
111023
  responseSuccess: o,
111021
111024
  responseFailure: r
111022
- }), (z, p) => (T(), q("div", rL6, [
111023
- Y("div", lL6, [
111025
+ }), (z, p) => (T(), q("div", lL6, [
111026
+ Y("div", sL6, [
111024
111027
  p[2] || (p[2] = Y("div", { class: "ck-confirm__icon" }, [
111025
111028
  Y("img", {
111026
- src: oL6,
111029
+ src: rL6,
111027
111030
  height: "125"
111028
111031
  })
111029
111032
  ], -1)),
111030
- Y("div", sL6, H1(a.value || l.value), 1),
111031
- Y("div", fL6, H1(n.value), 1),
111032
- Y("div", CL6, [
111033
+ Y("div", fL6, H1(a.value || l.value), 1),
111034
+ Y("div", CL6, H1(n.value), 1),
111035
+ Y("div", mL6, [
111033
111036
  Y("button", {
111034
111037
  class: "ck-confirm__button--cancel",
111035
111038
  onClick: p[0] || (p[0] = (M) => C())
@@ -111043,7 +111046,7 @@ const tL6 = /* @__PURE__ */ Z1(iL6, [["__scopeId", "data-v-02767f25"]]), oL6 = "
111043
111046
  ]));
111044
111047
  }
111045
111048
  });
111046
- const uL6 = /* @__PURE__ */ Z1(mL6, [["__scopeId", "data-v-ff0fbed3"]]), zL6 = { class: "alert--msg" }, hL6 = /* @__PURE__ */ _1({
111049
+ const zL6 = /* @__PURE__ */ Z1(uL6, [["__scopeId", "data-v-ff0fbed3"]]), hL6 = { class: "alert--msg" }, pL6 = /* @__PURE__ */ _1({
111047
111050
  __name: "CkAlert",
111048
111051
  setup(c, { expose: e }) {
111049
111052
  const a = p1(""), n = p1(""), i = p1(""), t = p1(!0), o = _(() => "Atención"), r = _(() => "Aceptar");
@@ -111065,14 +111068,14 @@ const uL6 = /* @__PURE__ */ Z1(mL6, [["__scopeId", "data-v-ff0fbed3"]]), zL6 = {
111065
111068
  onAccept: s[1] || (s[1] = (f) => t.value = !1)
111066
111069
  }, {
111067
111070
  default: U1(() => [
111068
- Y("div", zL6, H1(n.value), 1)
111071
+ Y("div", hL6, H1(n.value), 1)
111069
111072
  ]),
111070
111073
  _: 1
111071
111074
  }, 8, ["modelValue", "title", "acceptBtnText"])
111072
111075
  ]));
111073
111076
  }
111074
111077
  });
111075
- const pL6 = /* @__PURE__ */ Z1(hL6, [["__scopeId", "data-v-08c93dad"]]), ML6 = { class: "ck-notify__container" }, dL6 = { class: "ck-notify__title" }, LL6 = { class: "close-btn" }, HL6 = ["innerHTML"], vL6 = /* @__PURE__ */ _1({
111078
+ const ML6 = /* @__PURE__ */ Z1(pL6, [["__scopeId", "data-v-08c93dad"]]), dL6 = { class: "ck-notify__container" }, LL6 = { class: "ck-notify__title" }, HL6 = { class: "close-btn" }, vL6 = ["innerHTML"], VL6 = /* @__PURE__ */ _1({
111076
111079
  __name: "CkNotify",
111077
111080
  setup(c, { expose: e }) {
111078
111081
  const a = p1(!0), n = p1(""), i = p1(""), t = p1(""), o = p1(0), r = p1(() => {
@@ -111111,7 +111114,7 @@ const pL6 = /* @__PURE__ */ Z1(hL6, [["__scopeId", "data-v-08c93dad"]]), ML6 = {
111111
111114
  key: 0,
111112
111115
  to: "body"
111113
111116
  }, [
111114
- Y("div", ML6, [
111117
+ Y("div", dL6, [
111115
111118
  Y("div", {
111116
111119
  class: h1(["ck-notify", s.value]),
111117
111120
  style: R1(f.value),
@@ -111119,8 +111122,8 @@ const pL6 = /* @__PURE__ */ Z1(hL6, [["__scopeId", "data-v-08c93dad"]]), ML6 = {
111119
111122
  a.value = !1, r.value();
111120
111123
  })
111121
111124
  }, [
111122
- Y("div", dL6, [
111123
- Y("div", LL6, [
111125
+ Y("div", LL6, [
111126
+ Y("div", HL6, [
111124
111127
  L2(A3, { icon: "times" })
111125
111128
  ]),
111126
111129
  u2(" " + H1(n.value || l.value), 1)
@@ -111128,13 +111131,13 @@ const pL6 = /* @__PURE__ */ Z1(hL6, [["__scopeId", "data-v-08c93dad"]]), ML6 = {
111128
111131
  Y("div", {
111129
111132
  class: "ck-notify__text",
111130
111133
  innerHTML: i.value
111131
- }, null, 8, HL6)
111134
+ }, null, 8, vL6)
111132
111135
  ], 6)
111133
111136
  ])
111134
111137
  ])) : Z("", !0);
111135
111138
  }
111136
111139
  });
111137
- const VL6 = /* @__PURE__ */ Z1(vL6, [["__scopeId", "data-v-bb914f84"]]), gL6 = 3e3, bL6 = {
111140
+ const gL6 = /* @__PURE__ */ Z1(VL6, [["__scopeId", "data-v-bb914f84"]]), bL6 = 3e3, xL6 = {
111138
111141
  alert(c) {
111139
111142
  this.alertOptions({
111140
111143
  title: "",
@@ -111143,7 +111146,7 @@ const VL6 = /* @__PURE__ */ Z1(vL6, [["__scopeId", "data-v-bb914f84"]]), gL6 = 3
111143
111146
  });
111144
111147
  },
111145
111148
  alertOptions({ title: c = "", msg: e = "", acceptText: a = "" }) {
111146
- const n = document.createElement("div"), t = so(pL6).mount(n);
111149
+ const n = document.createElement("div"), t = so(ML6).mount(n);
111147
111150
  t.title = c, t.msg = e, t.acceptText = a, document.body.appendChild(t.$el);
111148
111151
  },
111149
111152
  confirmOptions({
@@ -111156,7 +111159,7 @@ const VL6 = /* @__PURE__ */ Z1(vL6, [["__scopeId", "data-v-bb914f84"]]), gL6 = 3
111156
111159
  failure: t = () => {
111157
111160
  }
111158
111161
  }) {
111159
- const o = document.createElement("div"), r = so(uL6), l = r.mount(o);
111162
+ const o = document.createElement("div"), r = so(zL6), l = r.mount(o);
111160
111163
  l.title = c, l.msg = e, l.acceptText = a, l.cancelText = n, l.responseSuccess = () => {
111161
111164
  r.unmount(), i();
111162
111165
  }, l.responseFailure = () => {
@@ -111171,8 +111174,8 @@ const VL6 = /* @__PURE__ */ Z1(vL6, [["__scopeId", "data-v-bb914f84"]]), gL6 = 3
111171
111174
  });
111172
111175
  },
111173
111176
  notify({ text: c = "", title: e = "", color: a = "", duration: n = 0 }) {
111174
- const i = document.createElement("div"), t = so(VL6), o = t.mount(i);
111175
- o.title = e, o.text = c, o.color = a, o.duration = n || gL6, o.closeCallback = () => {
111177
+ const i = document.createElement("div"), t = so(gL6), o = t.mount(i);
111178
+ o.title = e, o.text = c, o.color = a, o.duration = n || bL6, o.closeCallback = () => {
111176
111179
  t.unmount();
111177
111180
  };
111178
111181
  },
@@ -111186,7 +111189,7 @@ const VL6 = /* @__PURE__ */ Z1(vL6, [["__scopeId", "data-v-bb914f84"]]), gL6 = 3
111186
111189
  this.notify({ text: c, title: e, color: "warning", duration: a });
111187
111190
  }
111188
111191
  };
111189
- class xL6 {
111192
+ class yL6 {
111190
111193
  constructor(e) {
111191
111194
  g8(this, "search", "");
111192
111195
  g8(this, "currentPage", 1);
@@ -111197,7 +111200,7 @@ class xL6 {
111197
111200
  e && (this.itemsPerPage = e);
111198
111201
  }
111199
111202
  }
111200
- class yL6 {
111203
+ class NL6 {
111201
111204
  constructor(e, a) {
111202
111205
  g8(this, "ids", /* @__PURE__ */ new Set([]));
111203
111206
  g8(this, "toggleable", !0);
@@ -111234,18 +111237,18 @@ class yL6 {
111234
111237
  this.ids.clear();
111235
111238
  }
111236
111239
  }
111237
- const NL6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
111240
+ const wL6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
111238
111241
  __proto__: null,
111239
111242
  CkButton: Qn,
111240
111243
  CkCard: rd6,
111241
111244
  CkCheckbox: _w1,
111242
- CkChip: zd6,
111243
- CkCircle: Ld6,
111245
+ CkChip: hd6,
111246
+ CkCircle: Hd6,
111244
111247
  CkDatetimeShower: eu6,
111245
- CkDiv: Hd6,
111248
+ CkDiv: vd6,
111246
111249
  CkDropdown: ou6,
111247
111250
  CkIcon: A3,
111248
- CkImg: bd6,
111251
+ CkImg: xd6,
111249
111252
  CkInput: Aw1,
111250
111253
  CkInputDate: $M6,
111251
111254
  CkInputTime: EM6,
@@ -111253,31 +111256,31 @@ const NL6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
111253
111256
  CkNavbar: su6,
111254
111257
  CkPagination: wz6,
111255
111258
  CkPopup: RN,
111256
- CkRadio: Sd6,
111257
- CkSelect: Rd6,
111258
- CkSidebar: jd6,
111259
- CkSwitch: Zd6,
111260
- CkSwitchOptions: Jd6,
111259
+ CkRadio: kd6,
111260
+ CkSelect: Fd6,
111261
+ CkSidebar: Id6,
111262
+ CkSwitch: Xd6,
111263
+ CkSwitchOptions: cL6,
111261
111264
  CkTab: jM6,
111262
111265
  CkTable: Nz6,
111263
111266
  CkTabs: XM6,
111264
111267
  CkTd: Nw1,
111265
- CkTextarea: tL6,
111268
+ CkTextarea: oL6,
111266
111269
  CkTh: ww1,
111267
111270
  CkTimeShower: iu6,
111268
111271
  CkToggle: JM6,
111269
111272
  CkToggleGroup: ad6,
111270
111273
  CkTr: yw1,
111271
- SelectedRows: yL6,
111272
- TableData: xL6,
111273
- ckNotify: bL6,
111274
+ SelectedRows: NL6,
111275
+ TableData: yL6,
111276
+ ckNotify: xL6,
111274
111277
  useWindowWidth: V8
111275
111278
  }, Symbol.toStringTag, { value: "Module" }));
111276
111279
  hL.add(Y82);
111277
111280
  hL.add(i92);
111278
111281
  hL.add(ml2);
111279
- function DL6(c, e) {
111280
- b3().cleekOptions = xS1(gW, e), c.use(SS1), c.use(kk1, gS1), Object.entries(NL6).forEach(([a, n]) => {
111282
+ function OL6(c, e) {
111283
+ b3().cleekOptions = xS1(gW, e), c.use(SS1), c.use(kk1, gS1), Object.entries(wL6).forEach(([a, n]) => {
111281
111284
  c.component(a, n);
111282
111285
  });
111283
111286
  }
@@ -111285,13 +111288,13 @@ export {
111285
111288
  Qn as CkButton,
111286
111289
  rd6 as CkCard,
111287
111290
  _w1 as CkCheckbox,
111288
- zd6 as CkChip,
111289
- Ld6 as CkCircle,
111291
+ hd6 as CkChip,
111292
+ Hd6 as CkCircle,
111290
111293
  eu6 as CkDatetimeShower,
111291
- Hd6 as CkDiv,
111294
+ vd6 as CkDiv,
111292
111295
  ou6 as CkDropdown,
111293
111296
  A3 as CkIcon,
111294
- bd6 as CkImg,
111297
+ xd6 as CkImg,
111295
111298
  Aw1 as CkInput,
111296
111299
  $M6 as CkInputDate,
111297
111300
  EM6 as CkInputTime,
@@ -111299,25 +111302,25 @@ export {
111299
111302
  su6 as CkNavbar,
111300
111303
  wz6 as CkPagination,
111301
111304
  RN as CkPopup,
111302
- Sd6 as CkRadio,
111303
- Rd6 as CkSelect,
111304
- jd6 as CkSidebar,
111305
- Zd6 as CkSwitch,
111306
- Jd6 as CkSwitchOptions,
111305
+ kd6 as CkRadio,
111306
+ Fd6 as CkSelect,
111307
+ Id6 as CkSidebar,
111308
+ Xd6 as CkSwitch,
111309
+ cL6 as CkSwitchOptions,
111307
111310
  jM6 as CkTab,
111308
111311
  Nz6 as CkTable,
111309
111312
  XM6 as CkTabs,
111310
111313
  Nw1 as CkTd,
111311
- tL6 as CkTextarea,
111314
+ oL6 as CkTextarea,
111312
111315
  ww1 as CkTh,
111313
111316
  iu6 as CkTimeShower,
111314
111317
  JM6 as CkToggle,
111315
111318
  ad6 as CkToggleGroup,
111316
111319
  yw1 as CkTr,
111317
- yL6 as SelectedRows,
111318
- xL6 as TableData,
111319
- bL6 as ckNotify,
111320
- DL6 as default,
111320
+ NL6 as SelectedRows,
111321
+ yL6 as TableData,
111322
+ xL6 as ckNotify,
111323
+ OL6 as default,
111321
111324
  b3 as useCleekOptionsStore,
111322
111325
  V8 as useWindowWidth
111323
111326
  };