cleek 2.4.36 → 2.4.39

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/cleek.es.js CHANGED
@@ -2340,7 +2340,7 @@ const _hoisted_2$1$1 = {
2340
2340
  };
2341
2341
  const _hoisted_3$8 = /* @__PURE__ */ createElementVNode("div", { class: "v-popper__arrow-outer" }, null, -1);
2342
2342
  const _hoisted_4$7 = /* @__PURE__ */ createElementVNode("div", { class: "v-popper__arrow-inner" }, null, -1);
2343
- const _hoisted_5$3 = [
2343
+ const _hoisted_5$4 = [
2344
2344
  _hoisted_3$8,
2345
2345
  _hoisted_4$7
2346
2346
  ];
@@ -2401,7 +2401,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
2401
2401
  left: _ctx.toPx(_ctx.result.arrow.x),
2402
2402
  top: _ctx.toPx(_ctx.result.arrow.y)
2403
2403
  } : void 0)
2404
- }, _hoisted_5$3, 4)
2404
+ }, _hoisted_5$4, 4)
2405
2405
  ], 4)
2406
2406
  ], 46, _hoisted_1$1$1);
2407
2407
  }
@@ -2630,7 +2630,7 @@ const _sfc_main$r = defineComponent({
2630
2630
  }
2631
2631
  });
2632
2632
  const _hoisted_1$l = ["innerHTML"];
2633
- const _hoisted_2$b = ["textContent"];
2633
+ const _hoisted_2$c = ["textContent"];
2634
2634
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
2635
2635
  const _component_PopperContent = resolveComponent("PopperContent");
2636
2636
  const _component_Popper = resolveComponent("Popper");
@@ -2676,7 +2676,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
2676
2676
  }, null, 8, _hoisted_1$l)) : (openBlock(), createElementBlock("div", {
2677
2677
  key: 1,
2678
2678
  textContent: toDisplayString(_ctx.finalContent)
2679
- }, null, 8, _hoisted_2$b))
2679
+ }, null, 8, _hoisted_2$c))
2680
2680
  ]),
2681
2681
  _: 2
2682
2682
  }, 1032, ["class", "popper-id", "theme", "shown", "mounted", "skip-transition", "auto-hide", "handle-resize", "classes", "result", "onHide", "onResize"])
@@ -18839,7 +18839,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
18839
18839
  };
18840
18840
  }
18841
18841
  });
18842
- var ckDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-53ec1f50"]]);
18842
+ var ckDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-62129388"]]);
18843
18843
  var ckNavbar_vue_vue_type_style_index_0_scoped_true_lang = "";
18844
18844
  const _sfc_main$p = /* @__PURE__ */ defineComponent({
18845
18845
  props: {
@@ -18878,7 +18878,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
18878
18878
  };
18879
18879
  }
18880
18880
  });
18881
- var ckNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-e0fbc7aa"]]);
18881
+ var ckNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-66dc4f95"]]);
18882
18882
  const _hoisted_1$j = { class: "ck-tr" };
18883
18883
  function render2(_ctx, _cache) {
18884
18884
  return openBlock(), createElementBlock("tr", _hoisted_1$j, [
@@ -18978,7 +18978,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18978
18978
  };
18979
18979
  }
18980
18980
  });
18981
- var CkTd = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-6dd2ca6a"]]);
18981
+ var CkTd = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-7f4cf041"]]);
18982
18982
  var axios$2 = { exports: {} };
18983
18983
  var bind$2 = function bind2(fn, thisArg) {
18984
18984
  return function wrap() {
@@ -20803,17 +20803,14 @@ var ckIcon_vue_vue_type_style_index_0_scoped_true_lang = "";
20803
20803
  const _sfc_main$k = /* @__PURE__ */ defineComponent({
20804
20804
  props: {
20805
20805
  icon: null,
20806
- color: null,
20807
20806
  iconPack: null,
20807
+ color: null,
20808
20808
  size: null,
20809
- rotation: null,
20810
20809
  flip: null,
20811
- pull: null,
20810
+ fixedWidth: null,
20811
+ rotation: null,
20812
20812
  spin: { type: Boolean },
20813
- pulse: { type: Boolean },
20814
- inverse: { type: Boolean },
20815
- fixedWidth: { type: Boolean },
20816
- swapOpacity: { type: Boolean }
20813
+ pulse: { type: Boolean }
20817
20814
  },
20818
20815
  emits: ["click"],
20819
20816
  setup(__props, { emit: emits }) {
@@ -20859,18 +20856,15 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
20859
20856
  size: __props.size,
20860
20857
  rotation: __props.rotation,
20861
20858
  flip: __props.flip,
20862
- pull: __props.pull,
20863
20859
  spin: __props.spin,
20864
20860
  pulse: __props.pulse,
20865
- inverse: __props.inverse,
20866
- "fixed-width": __props.fixedWidth,
20867
- "swap-opacity": __props.swapOpacity
20868
- }, null, 8, ["icon", "size", "rotation", "flip", "pull", "spin", "pulse", "inverse", "fixed-width", "swap-opacity"])) : createCommentVNode("", true)
20861
+ "fixed-width": __props.fixedWidth
20862
+ }, null, 8, ["icon", "size", "rotation", "flip", "spin", "pulse", "fixed-width"])) : createCommentVNode("", true)
20869
20863
  ], 6);
20870
20864
  };
20871
20865
  }
20872
20866
  });
20873
- var CkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-4221e90d"]]);
20867
+ var CkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-a8333ef4"]]);
20874
20868
  function useWindowWidth() {
20875
20869
  const windowWidth = ref(0);
20876
20870
  function handleWindowResize(event) {
@@ -21001,7 +20995,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
21001
20995
  };
21002
20996
  }
21003
20997
  });
21004
- var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-1eb38e96"]]);
20998
+ var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-3a844574"]]);
21005
20999
  var ckLabel_vue_vue_type_style_index_0_scoped_true_lang = "";
21006
21000
  const _hoisted_1$g = ["for"];
21007
21001
  const _sfc_main$i = /* @__PURE__ */ defineComponent({
@@ -21032,7 +21026,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
21032
21026
  };
21033
21027
  }
21034
21028
  });
21035
- var CkLabel = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-43625692"]]);
21029
+ var CkLabel = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-a4566770"]]);
21036
21030
  var ckInput_vue_vue_type_style_index_0_scoped_true_lang = "";
21037
21031
  const _hoisted_1$f = ["autocomplete", "type", "placeholder", "disabled"];
21038
21032
  const _sfc_main$h = /* @__PURE__ */ defineComponent({
@@ -21215,7 +21209,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
21215
21209
  };
21216
21210
  }
21217
21211
  });
21218
- var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-4eeecd7d"]]);
21212
+ var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-4a21992c"]]);
21219
21213
  var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
21220
21214
  const _sfc_main$g = /* @__PURE__ */ defineComponent({
21221
21215
  props: {
@@ -21296,8 +21290,9 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
21296
21290
  type: "flat",
21297
21291
  icon: "rotate-right",
21298
21292
  title: "Recargar lista",
21293
+ layout: __props.layout,
21299
21294
  onClick: _cache[0] || (_cache[0] = ($event) => emits("refreshList", false))
21300
- })) : createCommentVNode("", true),
21295
+ }, null, 8, ["layout"])) : createCommentVNode("", true),
21301
21296
  unref$1(itemsPerPageIsVisible) ? (openBlock(), createElementBlock("div", {
21302
21297
  key: 1,
21303
21298
  class: normalizeClass(["items-per-page", { "ck-component__group--left": !unref$1(hideSearch) }])
@@ -21309,27 +21304,32 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
21309
21304
  icon: "magnifying-glass",
21310
21305
  placeholder: "Buscar...",
21311
21306
  group: unref$1(searchGroupValue),
21307
+ layout: __props.layout,
21312
21308
  onInput: _cache[2] || (_cache[2] = ($event) => checkRefresh())
21313
- }, null, 8, ["modelValue", "group"])) : createCommentVNode("", true),
21309
+ }, null, 8, ["modelValue", "group", "layout"])) : createCommentVNode("", true),
21314
21310
  __props.hasColumnsManager ? (openBlock(), createBlock(CkButton, {
21315
21311
  key: 3,
21316
21312
  icon: "columns",
21317
21313
  type: "filled",
21318
21314
  title: "Administrador de columnas",
21319
21315
  group: unref$1(itemsPerPageIsVisible) || !unref$1(hideSearch) ? "right" : "",
21316
+ layout: __props.layout,
21320
21317
  onClick: _cache[3] || (_cache[3] = ($event) => emits("openColumnsManager"))
21321
- }, null, 8, ["group"])) : createCommentVNode("", true)
21318
+ }, null, 8, ["group", "layout"])) : createCommentVNode("", true)
21322
21319
  ], 64)) : createCommentVNode("", true)
21323
21320
  ], 2);
21324
21321
  };
21325
21322
  }
21326
21323
  });
21327
- var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-3ede608c"]]);
21324
+ var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-af0d0550"]]);
21328
21325
  var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
21326
+ const _withScopeId$4 = (n) => (pushScopeId("data-v-78fe58de"), n = n(), popScopeId(), n);
21329
21327
  const _hoisted_1$e = { class: "ck-table__pagination" };
21330
- const _hoisted_2$a = { class: "ck-table__pagination--numbers-container" };
21328
+ const _hoisted_2$b = { class: "ck-table__pagination--numbers-container" };
21331
21329
  const _hoisted_3$7 = ["onClick"];
21332
- const _hoisted_4$6 = ["onClick"];
21330
+ const _hoisted_4$6 = { class: "ck-table__pagination-input-container" };
21331
+ const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-table__pagination--input-pointer" }, null, -1));
21332
+ const _hoisted_6$3 = ["onClick"];
21333
21333
  const _sfc_main$f = /* @__PURE__ */ defineComponent({
21334
21334
  props: {
21335
21335
  currentPage: null,
@@ -21347,19 +21347,14 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
21347
21347
  get() {
21348
21348
  return props.currentPage;
21349
21349
  },
21350
- set(val) {
21351
- validateInputNumber(val);
21350
+ set() {
21352
21351
  }
21353
21352
  });
21354
21353
  const hasArrowLeft = computed$2(() => {
21355
- if (!listLeft.value.length)
21356
- return false;
21357
- return listLeft.value[0] !== 1;
21354
+ return props.currentPage !== 1;
21358
21355
  });
21359
21356
  const hasArrowRight = computed$2(() => {
21360
- if (!listRight.value.length)
21361
- return false;
21362
- return listRight.value[listRight.value.length - 1] !== totalPages.value;
21357
+ return props.currentPage !== listRight.value[listRight.value.length - 1];
21363
21358
  });
21364
21359
  const totalPages = computed$2(() => {
21365
21360
  return Math.ceil(props.listLength / props.itemsPerPage);
@@ -21406,6 +21401,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
21406
21401
  emits("refreshList");
21407
21402
  }
21408
21403
  function validateInputNumber(val) {
21404
+ console.log("valido", val);
21409
21405
  val = +val;
21410
21406
  if (val > totalPages.value)
21411
21407
  val = totalPages.value;
@@ -21435,30 +21431,35 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
21435
21431
  icon: unref$1(hasArrowLeft) ? "angle-left" : "grip-lines-vertical"
21436
21432
  }, null, 8, ["icon"])
21437
21433
  ], 2),
21438
- createElementVNode("div", _hoisted_2$a, [
21434
+ createElementVNode("div", _hoisted_2$b, [
21439
21435
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(listLeft), (num) => {
21440
21436
  return openBlock(), createElementBlock("div", {
21441
21437
  class: "ck-table__pagination-item--left",
21442
21438
  onClick: ($event) => updateCurrentPage(num)
21443
21439
  }, toDisplayString(num), 9, _hoisted_3$7);
21444
21440
  }), 256)),
21445
- withDirectives(createElementVNode("input", {
21446
- class: "ck-table__pagination-input",
21447
- type: "number",
21448
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef$1(currentPageLocal) ? currentPageLocal.value = $event : null)
21449
- }, null, 512), [
21450
- [vModelText, unref$1(currentPageLocal)]
21441
+ createElementVNode("div", _hoisted_4$6, [
21442
+ withDirectives(createElementVNode("input", {
21443
+ class: "ck-table__pagination-input",
21444
+ type: "number",
21445
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef$1(currentPageLocal) ? currentPageLocal.value = $event : null),
21446
+ onClick: _cache[2] || (_cache[2] = ($event) => $event.target.select()),
21447
+ onChange: _cache[3] || (_cache[3] = ($event) => validateInputNumber($event.target.value))
21448
+ }, null, 544), [
21449
+ [vModelText, unref$1(currentPageLocal)]
21450
+ ]),
21451
+ _hoisted_5$3
21451
21452
  ]),
21452
21453
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(listRight), (num) => {
21453
21454
  return openBlock(), createElementBlock("div", {
21454
21455
  class: "ck-table__pagination-item--right",
21455
21456
  onClick: ($event) => updateCurrentPage(num)
21456
- }, toDisplayString(num), 9, _hoisted_4$6);
21457
+ }, toDisplayString(num), 9, _hoisted_6$3);
21457
21458
  }), 256))
21458
21459
  ]),
21459
21460
  createElementVNode("div", {
21460
21461
  class: normalizeClass(["ck-table__pagination--arrow-right", { disabled: !unref$1(hasArrowRight) }]),
21461
- onClick: _cache[2] || (_cache[2] = ($event) => updateCurrentPage(__props.currentPage + 1, unref$1(hasArrowRight)))
21462
+ onClick: _cache[4] || (_cache[4] = ($event) => updateCurrentPage(__props.currentPage + 1, unref$1(hasArrowRight)))
21462
21463
  }, [
21463
21464
  createVNode(CkIcon, {
21464
21465
  icon: unref$1(hasArrowRight) ? "angle-right" : "grip-lines-vertical"
@@ -21469,7 +21470,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
21469
21470
  };
21470
21471
  }
21471
21472
  });
21472
- var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-079c5d65"]]);
21473
+ var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-78fe58de"]]);
21473
21474
  const EMPTY_OBJ = {};
21474
21475
  const NOOP = () => {
21475
21476
  };
@@ -22243,7 +22244,7 @@ const computed = (getterOrOptions, debugOptions) => {
22243
22244
  var ckCheckbox_vue_vue_type_style_index_0_scoped_true_lang = "";
22244
22245
  const _withScopeId$3 = (n) => (pushScopeId("data-v-113ac83f"), n = n(), popScopeId(), n);
22245
22246
  const _hoisted_1$d = ["disabled", "checked"];
22246
- const _hoisted_2$9 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-checkbox__element" }, null, -1));
22247
+ const _hoisted_2$a = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-checkbox__element" }, null, -1));
22247
22248
  const _hoisted_3$6 = {
22248
22249
  key: 0,
22249
22250
  class: "c-Checkbox__label"
@@ -22297,7 +22298,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
22297
22298
  onChange2($event);
22298
22299
  })
22299
22300
  }, null, 40, _hoisted_1$d),
22300
- _hoisted_2$9,
22301
+ _hoisted_2$a,
22301
22302
  _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3$6, [
22302
22303
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
22303
22304
  ])) : createCommentVNode("", true)
@@ -22311,7 +22312,7 @@ const _hoisted_1$c = {
22311
22312
  key: 0,
22312
22313
  class: "ck-popup"
22313
22314
  };
22314
- const _hoisted_2$8 = /* @__PURE__ */ createElementVNode("div", { class: "blackout" }, null, -1);
22315
+ const _hoisted_2$9 = /* @__PURE__ */ createElementVNode("div", { class: "blackout" }, null, -1);
22315
22316
  const _hoisted_3$5 = {
22316
22317
  key: 0,
22317
22318
  class: "ck-popup__title"
@@ -22336,9 +22337,9 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
22336
22337
  cancelButton: { type: Boolean },
22337
22338
  cancelBtnText: null,
22338
22339
  cancelBtnType: null,
22339
- notClose: { type: Boolean },
22340
22340
  notCloseBtn: { type: Boolean },
22341
22341
  notCloseByBg: { type: Boolean },
22342
+ notClose: { type: Boolean },
22342
22343
  preventCloseOnCancel: { type: Boolean },
22343
22344
  width: null,
22344
22345
  maxWidth: null,
@@ -22409,6 +22410,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
22409
22410
  if (headerColor && hooks8.isColorTemplateVariable(headerColor)) {
22410
22411
  list.push(`ck-component__bg-color--${headerColor}`);
22411
22412
  }
22413
+ if (!isCloseBtnVisible.value)
22414
+ list.push("close-btn-hidden");
22412
22415
  return list;
22413
22416
  });
22414
22417
  const realAcceptBtnType = computed$2(() => {
@@ -22427,6 +22430,13 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
22427
22430
  return (_b = cleekOptions2.value) == null ? void 0 : _b.popup.cancelBtnType;
22428
22431
  return "flat";
22429
22432
  });
22433
+ const isCloseBtnVisible = computed$2(() => {
22434
+ if (props.notCloseBtn)
22435
+ return false;
22436
+ if (props.notClose)
22437
+ return false;
22438
+ return true;
22439
+ });
22430
22440
  function onCancel() {
22431
22441
  emits("cancel");
22432
22442
  if (!props.preventCloseOnCancel)
@@ -22445,7 +22455,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
22445
22455
  });
22446
22456
  return (_ctx, _cache) => {
22447
22457
  return unref$1(isActive) ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
22448
- _hoisted_2$8,
22458
+ _hoisted_2$9,
22449
22459
  createElementVNode("div", {
22450
22460
  class: "popup-container",
22451
22461
  onClick: _cache[4] || (_cache[4] = ($event) => onBgClick())
@@ -22462,7 +22472,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
22462
22472
  }, [
22463
22473
  __props.title ? (openBlock(), createElementBlock("h3", _hoisted_3$5, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
22464
22474
  renderSlot(_ctx.$slots, "header"),
22465
- !(__props.notCloseBtn || __props.notClose) ? (openBlock(), createBlock(CkIcon, {
22475
+ unref$1(isCloseBtnVisible) ? (openBlock(), createBlock(CkIcon, {
22466
22476
  key: 1,
22467
22477
  class: "icon-close",
22468
22478
  icon: "times",
@@ -22482,7 +22492,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
22482
22492
  type: unref$1(realCancelBtnType)
22483
22493
  }, {
22484
22494
  default: withCtx(() => [
22485
- createTextVNode(toDisplayString(__props.cancelBtnText || "Cancelar"), 1)
22495
+ createTextVNode(toDisplayString(__props.cancelBtnText || "Cancel"), 1)
22486
22496
  ]),
22487
22497
  _: 1
22488
22498
  }, 8, ["type"]),
@@ -22491,7 +22501,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
22491
22501
  type: unref$1(realAcceptBtnType)
22492
22502
  }, {
22493
22503
  default: withCtx(() => [
22494
- createTextVNode(toDisplayString(__props.acceptBtnText || "Aceptar"), 1)
22504
+ createTextVNode(toDisplayString(__props.acceptBtnText || "Accept"), 1)
22495
22505
  ]),
22496
22506
  _: 1
22497
22507
  }, 8, ["type"])
@@ -22505,7 +22515,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
22505
22515
  });
22506
22516
  var ckTable__columnsManager_vue_vue_type_style_index_0_scoped_true_lang = "";
22507
22517
  const _hoisted_1$b = { class: "columns-manger-container" };
22508
- const _hoisted_2$7 = { class: "columns-manger__item" };
22518
+ const _hoisted_2$8 = { class: "columns-manger__item" };
22509
22519
  const _sfc_main$c = /* @__PURE__ */ defineComponent({
22510
22520
  props: {
22511
22521
  modelValue: { type: Boolean },
@@ -22554,7 +22564,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
22554
22564
  default: withCtx(() => [
22555
22565
  createElementVNode("div", _hoisted_1$b, [
22556
22566
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(columnsCheckable), (col) => {
22557
- return openBlock(), createElementBlock("div", _hoisted_2$7, [
22567
+ return openBlock(), createElementBlock("div", _hoisted_2$8, [
22558
22568
  createVNode(CkCheckbox, {
22559
22569
  modelValue: col.value,
22560
22570
  "onUpdate:modelValue": ($event) => col.value = $event,
@@ -22578,7 +22588,7 @@ var TableColumnsManager = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId"
22578
22588
  var ckTable_vue_vue_type_style_index_0_lang = "";
22579
22589
  var ckTable_vue_vue_type_style_index_1_scoped_true_lang = "";
22580
22590
  const _hoisted_1$a = { class: "ck-table" };
22581
- const _hoisted_2$6 = {
22591
+ const _hoisted_2$7 = {
22582
22592
  key: 0,
22583
22593
  class: "ck-table__header"
22584
22594
  };
@@ -22616,7 +22626,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
22616
22626
  setup(__props, { emit: emits }) {
22617
22627
  const props = __props;
22618
22628
  let cleekOptions2 = ref();
22619
- const defaultNoResultsText = "No se encontraron resultados";
22629
+ const defaultNoResultsText = "No results found";
22620
22630
  const defaultItemsPerPage = 40;
22621
22631
  const { windowWidth } = useWindowWidth();
22622
22632
  const isPopupActive = ref({
@@ -22717,7 +22727,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
22717
22727
  columns: __props.columns || []
22718
22728
  }, null, 8, ["modelValue", "columnsArray", "columns"])) : createCommentVNode("", true),
22719
22729
  createElementVNode("div", _hoisted_1$a, [
22720
- _ctx.$slots.header || !__props.hideHeaderActions ? (openBlock(), createElementBlock("div", _hoisted_2$6, [
22730
+ _ctx.$slots.header || !__props.hideHeaderActions ? (openBlock(), createElementBlock("div", _hoisted_2$7, [
22721
22731
  createVNode(TableHeaderItems, {
22722
22732
  search: unref$1(searchLocal),
22723
22733
  "onUpdate:search": _cache[1] || (_cache[1] = ($event) => isRef$1(searchLocal) ? searchLocal.value = $event : null),
@@ -22798,7 +22808,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
22798
22808
  };
22799
22809
  }
22800
22810
  });
22801
- var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-6af574e4"]]);
22811
+ var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-6d6258c2"]]);
22802
22812
  var ckChip_vue_vue_type_style_index_0_scoped_true_lang = "";
22803
22813
  const _hoisted_1$9 = ["color"];
22804
22814
  const _sfc_main$a = /* @__PURE__ */ defineComponent({
@@ -22840,7 +22850,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
22840
22850
  };
22841
22851
  }
22842
22852
  });
22843
- var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-36521210"]]);
22853
+ var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-65283496"]]);
22844
22854
  var ckDiv_vue_vue_type_style_index_0_lang = "";
22845
22855
  const _sfc_main$9 = /* @__PURE__ */ defineComponent({
22846
22856
  props: {
@@ -22880,7 +22890,6 @@ const _hoisted_1$8 = ["src", "alt"];
22880
22890
  const _sfc_main$8 = /* @__PURE__ */ defineComponent({
22881
22891
  props: {
22882
22892
  src: null,
22883
- failImgSrc: null,
22884
22893
  alt: null,
22885
22894
  size: null,
22886
22895
  sizeAbsolute: null,
@@ -22889,9 +22898,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
22889
22898
  zoom: { type: Boolean },
22890
22899
  zoomTitle: null,
22891
22900
  hasBorder: { type: Boolean },
22892
- radius: null,
22893
22901
  borderColor: null,
22894
- rounded: { type: Boolean }
22902
+ rounded: { type: Boolean },
22903
+ radius: null
22895
22904
  },
22896
22905
  setup(__props) {
22897
22906
  const props = __props;
@@ -22989,11 +22998,11 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
22989
22998
  };
22990
22999
  }
22991
23000
  });
22992
- var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-246c956c"]]);
23001
+ var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-79a0763b"]]);
22993
23002
  var ckRadio_vue_vue_type_style_index_0_scoped_true_lang = "";
22994
23003
  const _withScopeId$2 = (n) => (pushScopeId("data-v-2e09b238"), n = n(), popScopeId(), n);
22995
23004
  const _hoisted_1$7 = ["onKeyup"];
22996
- const _hoisted_2$5 = ["name", "value", "disabled"];
23005
+ const _hoisted_2$6 = ["name", "value", "disabled"];
22997
23006
  const _hoisted_3$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "c-Radio__element" }, null, -1));
22998
23007
  const _hoisted_4$3 = {
22999
23008
  key: 0,
@@ -23048,7 +23057,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
23048
23057
  name: __props.name,
23049
23058
  value: option.value,
23050
23059
  disabled: __props.disabled
23051
- }, null, 8, _hoisted_2$5), [
23060
+ }, null, 8, _hoisted_2$6), [
23052
23061
  [vModelRadio, unref$1(value)]
23053
23062
  ]),
23054
23063
  _hoisted_3$3,
@@ -23061,7 +23070,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
23061
23070
  var ckRadio = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-2e09b238"]]);
23062
23071
  var ckSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
23063
23072
  const _hoisted_1$6 = ["disabled"];
23064
- const _hoisted_2$4 = ["value"];
23073
+ const _hoisted_2$5 = ["value"];
23065
23074
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
23066
23075
  props: {
23067
23076
  modelValue: null,
@@ -23077,10 +23086,10 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
23077
23086
  notClearable: { type: Boolean },
23078
23087
  clearValue: null,
23079
23088
  searchable: { type: [Boolean, String] },
23080
- minWidth: null,
23081
23089
  width: null,
23082
- noBorder: { type: Boolean },
23090
+ minWidth: null,
23083
23091
  layout: null,
23092
+ noBorder: { type: Boolean },
23084
23093
  borderColor: null,
23085
23094
  bgTransparent: { type: Boolean },
23086
23095
  disabled: { type: Boolean },
@@ -23184,7 +23193,6 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
23184
23193
  return defaultClearValue;
23185
23194
  });
23186
23195
  const realClearValue = computed$2(() => {
23187
- console.log("logicClearValue", logicClearValue.value);
23188
23196
  if (logicClearValue.value !== "auto")
23189
23197
  return logicClearValue.value;
23190
23198
  switch (typeof props.modelValue) {
@@ -23202,7 +23210,6 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
23202
23210
  return null;
23203
23211
  }
23204
23212
  });
23205
- console.log("realClearValue", realClearValue.value);
23206
23213
  const valueIsDefault = computed$2(() => {
23207
23214
  if (logicClearValue.value !== "auto")
23208
23215
  return value.value === logicClearValue.value;
@@ -23244,10 +23251,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
23244
23251
  return option[props.prop || reduceNameProp];
23245
23252
  }
23246
23253
  function setClearValue() {
23247
- console.log("value.value", value.value);
23248
- console.log("realClearValue.value", realClearValue.value);
23249
23254
  value.value = realClearValue.value;
23250
- console.log("value.value", value.value);
23251
23255
  }
23252
23256
  function setFocus() {
23253
23257
  }
@@ -23310,7 +23314,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
23310
23314
  return openBlock(), createElementBlock("option", {
23311
23315
  value: getOptionValue(option),
23312
23316
  key: option
23313
- }, toDisplayString(getOptionName(option)), 9, _hoisted_2$4);
23317
+ }, toDisplayString(getOptionName(option)), 9, _hoisted_2$5);
23314
23318
  }), 128))
23315
23319
  ], 46, _hoisted_1$6), [
23316
23320
  [vModelSelect, unref$1(value)]
@@ -23319,7 +23323,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
23319
23323
  };
23320
23324
  }
23321
23325
  });
23322
- var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-71e3efde"]]);
23326
+ var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-5aafba97"]]);
23323
23327
  var ckSidebar_vue_vue_type_style_index_0_scoped_true_lang = "";
23324
23328
  const _hoisted_1$5 = {
23325
23329
  key: 0,
@@ -23411,11 +23415,11 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
23411
23415
  };
23412
23416
  }
23413
23417
  });
23414
- var ckSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-2a47d044"]]);
23418
+ var ckSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-9dfb990e"]]);
23415
23419
  var ckSwitch_vue_vue_type_style_index_0_scoped_true_lang = "";
23416
- const _withScopeId$1 = (n) => (pushScopeId("data-v-f66bfcc0"), n = n(), popScopeId(), n);
23420
+ const _withScopeId$1 = (n) => (pushScopeId("data-v-12938cd0"), n = n(), popScopeId(), n);
23417
23421
  const _hoisted_1$4 = ["disabled"];
23418
- const _hoisted_2$3 = { class: "ck-switch__slider-container" };
23422
+ const _hoisted_2$4 = { class: "ck-switch__slider-container" };
23419
23423
  const _hoisted_3$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-switch__slider" }, null, -1));
23420
23424
  const _hoisted_4$2 = {
23421
23425
  key: 0,
@@ -23489,7 +23493,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
23489
23493
  }, null, 8, _hoisted_1$4), [
23490
23494
  [vModelCheckbox, unref$1(value)]
23491
23495
  ]),
23492
- createElementVNode("div", _hoisted_2$3, [
23496
+ createElementVNode("div", _hoisted_2$4, [
23493
23497
  _hoisted_3$2,
23494
23498
  __props.icon && unref$1(value) ? (openBlock(), createBlock(CkIcon, {
23495
23499
  key: 0,
@@ -23511,10 +23515,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
23511
23515
  };
23512
23516
  }
23513
23517
  });
23514
- var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-f66bfcc0"]]);
23518
+ var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-12938cd0"]]);
23515
23519
  var ckSwitchOptions_vue_vue_type_style_index_0_scoped_true_lang = "";
23516
23520
  const _hoisted_1$3 = { class: "ck-switch-options__container-exterior" };
23517
- const _hoisted_2$2 = ["onClick"];
23521
+ const _hoisted_2$3 = ["onClick"];
23518
23522
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
23519
23523
  props: {
23520
23524
  modelValue: { type: [Boolean, Number, Object] },
@@ -23586,7 +23590,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
23586
23590
  key: `ck-switch-options${index}`,
23587
23591
  style: normalizeStyle(unref$1(computedItemStyle)),
23588
23592
  onClick: ($event) => selectedOption.value = getOptionValue(option)
23589
- }, toDisplayString(option[__props.prop || defaultProp]), 15, _hoisted_2$2);
23593
+ }, toDisplayString(option[__props.prop || defaultProp]), 15, _hoisted_2$3);
23590
23594
  }), 128))
23591
23595
  ], 2)
23592
23596
  ]);
@@ -23596,13 +23600,18 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
23596
23600
  var ckSwitchOptions = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-4bc709a8"]]);
23597
23601
  var ckTextarea_vue_vue_type_style_index_0_scoped_true_lang = "";
23598
23602
  const _hoisted_1$2 = { class: "ck-textarea" };
23603
+ const _hoisted_2$2 = ["placeholder", "disabled"];
23599
23604
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
23600
23605
  props: {
23601
23606
  modelValue: null,
23602
23607
  label: null,
23603
23608
  labelAlign: null,
23604
23609
  layout: null,
23605
- borderColor: null
23610
+ borderColor: null,
23611
+ placeholder: null,
23612
+ disabled: { type: Boolean },
23613
+ preventResize: { type: Boolean },
23614
+ resize: null
23606
23615
  },
23607
23616
  emits: ["update:modelValue"],
23608
23617
  setup(__props, { emit: emits }) {
@@ -23635,6 +23644,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
23635
23644
  if (borderColor && !hooks8.isColorTemplateVariable(borderColor)) {
23636
23645
  list.push({ "border-color": borderColor });
23637
23646
  }
23647
+ if (props.resize)
23648
+ list.push({ resize: props.resize || "both" });
23638
23649
  return list;
23639
23650
  });
23640
23651
  onMounted(() => {
@@ -23653,18 +23664,20 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
23653
23664
  }, 8, ["label-align"])) : createCommentVNode("", true),
23654
23665
  withDirectives(createElementVNode("textarea", {
23655
23666
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef$1(value) ? value.value = $event : null),
23667
+ placeholder: __props.placeholder,
23668
+ disabled: __props.disabled,
23656
23669
  class: normalizeClass(unref$1(computedClassTextarea)),
23657
23670
  style: normalizeStyle(unref$1(computedStyleTextarea))
23658
- }, null, 6), [
23671
+ }, null, 14, _hoisted_2$2), [
23659
23672
  [vModelText, unref$1(value)]
23660
23673
  ])
23661
23674
  ]);
23662
23675
  };
23663
23676
  }
23664
23677
  });
23665
- var ckTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-95fd3820"]]);
23678
+ var ckTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-6f36045c"]]);
23666
23679
  var CkConfirm_vue_vue_type_style_index_0_scoped_true_lang = "";
23667
- const _withScopeId = (n) => (pushScopeId("data-v-bc51fc7a"), n = n(), popScopeId(), n);
23680
+ const _withScopeId = (n) => (pushScopeId("data-v-7e7afc17"), n = n(), popScopeId(), n);
23668
23681
  const _hoisted_1$1 = { class: "ck-confirm--background" };
23669
23682
  const _hoisted_2$1 = { class: "ck-confirm" };
23670
23683
  const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-confirm__icon" }, [
@@ -23722,7 +23735,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
23722
23735
  };
23723
23736
  }
23724
23737
  });
23725
- var CkConfirmComponent = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-bc51fc7a"]]);
23738
+ var CkConfirmComponent = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-7e7afc17"]]);
23726
23739
  var CkNotify_vue_vue_type_style_index_0_scoped_true_lang = "";
23727
23740
  const _hoisted_1 = { class: "ck-notify__container" };
23728
23741
  const _hoisted_2 = { class: "ck-notify__title" };
@@ -23776,7 +23789,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
23776
23789
  };
23777
23790
  }
23778
23791
  });
23779
- var CkNotifyComponent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-667c806b"]]);
23792
+ var CkNotifyComponent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2522350d"]]);
23780
23793
  const defaultDuration = 2e3;
23781
23794
  var ckNotify = {
23782
23795
  confirmOptions({