cleek 2.4.75 → 2.4.79

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
@@ -3228,11 +3228,11 @@ const _hoisted_2$1$1 = {
3228
3228
  ref: "inner",
3229
3229
  class: "v-popper__inner"
3230
3230
  };
3231
- const _hoisted_3$9 = /* @__PURE__ */ createElementVNode("div", { class: "v-popper__arrow-outer" }, null, -1);
3232
- const _hoisted_4$7 = /* @__PURE__ */ createElementVNode("div", { class: "v-popper__arrow-inner" }, null, -1);
3231
+ const _hoisted_3$a = /* @__PURE__ */ createElementVNode("div", { class: "v-popper__arrow-outer" }, null, -1);
3232
+ const _hoisted_4$8 = /* @__PURE__ */ createElementVNode("div", { class: "v-popper__arrow-inner" }, null, -1);
3233
3233
  const _hoisted_5$4 = [
3234
- _hoisted_3$9,
3235
- _hoisted_4$7
3234
+ _hoisted_3$a,
3235
+ _hoisted_4$8
3236
3236
  ];
3237
3237
  function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
3238
3238
  const _component_ResizeObserver = resolveComponent("ResizeObserver");
@@ -3428,7 +3428,7 @@ const _sfc_main$1$1 = defineComponent(__spreadProps2(__spreadValues2({}, Private
3428
3428
  name: "VTooltip",
3429
3429
  vPopperTheme: "tooltip"
3430
3430
  }));
3431
- const _sfc_main$u = defineComponent({
3431
+ const _sfc_main$v = defineComponent({
3432
3432
  name: "VTooltipDirective",
3433
3433
  components: {
3434
3434
  Popper: PrivatePopper(),
@@ -3519,8 +3519,8 @@ const _sfc_main$u = defineComponent({
3519
3519
  }
3520
3520
  }
3521
3521
  });
3522
- const _hoisted_1$n = ["innerHTML"];
3523
- const _hoisted_2$e = ["textContent"];
3522
+ const _hoisted_1$o = ["innerHTML"];
3523
+ const _hoisted_2$f = ["textContent"];
3524
3524
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
3525
3525
  const _component_PopperContent = resolveComponent("PopperContent");
3526
3526
  const _component_Popper = resolveComponent("Popper");
@@ -3563,10 +3563,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
3563
3563
  _ctx.html ? (openBlock(), createElementBlock("div", {
3564
3564
  key: 0,
3565
3565
  innerHTML: _ctx.finalContent
3566
- }, null, 8, _hoisted_1$n)) : (openBlock(), createElementBlock("div", {
3566
+ }, null, 8, _hoisted_1$o)) : (openBlock(), createElementBlock("div", {
3567
3567
  key: 1,
3568
3568
  textContent: toDisplayString(_ctx.finalContent)
3569
- }, null, 8, _hoisted_2$e))
3569
+ }, null, 8, _hoisted_2$f))
3570
3570
  ]),
3571
3571
  _: 2
3572
3572
  }, 1032, ["class", "popper-id", "theme", "shown", "mounted", "skip-transition", "auto-hide", "handle-resize", "classes", "result", "onHide", "onResize"])
@@ -3574,7 +3574,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
3574
3574
  _: 1
3575
3575
  }, 16, ["theme", "popper-node", "onApplyShow", "onApplyHide"]);
3576
3576
  }
3577
- var PrivateTooltipDirective = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["render", _sfc_render]]);
3577
+ var PrivateTooltipDirective = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["render", _sfc_render]]);
3578
3578
  const TARGET_CLASS = "v-popper--has-tooltip";
3579
3579
  function getPlacement(options2, modifiers) {
3580
3580
  let result = options2.placement;
@@ -23226,15 +23226,15 @@ var _export_sfc = (sfc, props) => {
23226
23226
  }
23227
23227
  return target;
23228
23228
  };
23229
- const _hoisted_1$m = {
23229
+ const _hoisted_1$n = {
23230
23230
  key: 0,
23231
23231
  class: "help-text"
23232
23232
  };
23233
- const _hoisted_2$d = {
23233
+ const _hoisted_2$e = {
23234
23234
  key: 0,
23235
23235
  class: "pl-1"
23236
23236
  };
23237
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
23237
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
23238
23238
  props: {
23239
23239
  datetime: null,
23240
23240
  date: null,
@@ -23261,13 +23261,13 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
23261
23261
  });
23262
23262
  return (_ctx, _cache) => {
23263
23263
  const _directive_tooltip = resolveDirective("tooltip");
23264
- return !unref$1(computedDate) ? (openBlock(), createElementBlock("span", _hoisted_1$m, toDisplayString(__props.noDateMsg), 1)) : __props.split || __props.date ? (openBlock(), createElementBlock("div", {
23264
+ return !unref$1(computedDate) ? (openBlock(), createElementBlock("span", _hoisted_1$n, toDisplayString(__props.noDateMsg), 1)) : __props.split || __props.date ? (openBlock(), createElementBlock("div", {
23265
23265
  key: 1,
23266
23266
  class: "ck-datetime-shower--split",
23267
23267
  onClick: _cache[0] || (_cache[0] = ($event) => emits("click", $event))
23268
23268
  }, [
23269
23269
  createTextVNode(toDisplayString(unref$1(computedDate)), 1),
23270
- unref$1(computedTime) ? (openBlock(), createElementBlock("span", _hoisted_2$d, "| " + toDisplayString(unref$1(computedTime)), 1)) : createCommentVNode("", true)
23270
+ unref$1(computedTime) ? (openBlock(), createElementBlock("span", _hoisted_2$e, "| " + toDisplayString(unref$1(computedTime)), 1)) : createCommentVNode("", true)
23271
23271
  ])) : withDirectives((openBlock(), createElementBlock("div", {
23272
23272
  key: 2,
23273
23273
  class: "ck-datetime-shower",
@@ -23280,7 +23280,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
23280
23280
  };
23281
23281
  }
23282
23282
  });
23283
- var ckDatetimeShower = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-38dda8db"]]);
23283
+ var ckDatetimeShower = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-38dda8db"]]);
23284
23284
  var hooks8 = {
23285
23285
  getCleekOptions(getCurrentInstance2) {
23286
23286
  return getCurrentInstance2().appContext.app.config.globalProperties.$cleekOptions;
@@ -23356,8 +23356,8 @@ var hooks8 = {
23356
23356
  }
23357
23357
  };
23358
23358
  var ckDropdown_vue_vue_type_style_index_0_scoped_true_lang = "";
23359
- const _hoisted_1$l = { class: "ck-dropdown__popper-container" };
23360
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
23359
+ const _hoisted_1$m = { class: "ck-dropdown__popper-container" };
23360
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
23361
23361
  props: {
23362
23362
  dark: { type: Boolean },
23363
23363
  align: null,
@@ -23410,7 +23410,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
23410
23410
  }, [
23411
23411
  renderSlot(_ctx.$slots, "trigger", {}, void 0, true)
23412
23412
  ]),
23413
- createElementVNode("div", _hoisted_1$l, [
23413
+ createElementVNode("div", _hoisted_1$m, [
23414
23414
  isOpen.value ? (openBlock(), createElementBlock("section", {
23415
23415
  key: 0,
23416
23416
  class: normalizeClass(["ck-dropdown__popper", unref$1(computedClassPopper)]),
@@ -23427,9 +23427,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
23427
23427
  };
23428
23428
  }
23429
23429
  });
23430
- var ckDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-62129388"]]);
23430
+ var ckDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-62129388"]]);
23431
23431
  var ckNavbar_vue_vue_type_style_index_0_scoped_true_lang = "";
23432
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
23432
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
23433
23433
  props: {
23434
23434
  padding: null,
23435
23435
  position: null
@@ -23466,18 +23466,18 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
23466
23466
  };
23467
23467
  }
23468
23468
  });
23469
- var ckNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-66dc4f95"]]);
23470
- const _hoisted_1$k = { class: "ck-tr" };
23469
+ var ckNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-66dc4f95"]]);
23470
+ const _hoisted_1$l = { class: "ck-tr" };
23471
23471
  function render2(_ctx, _cache) {
23472
- return openBlock(), createElementBlock("tr", _hoisted_1$k, [
23472
+ return openBlock(), createElementBlock("tr", _hoisted_1$l, [
23473
23473
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
23474
23474
  ]);
23475
23475
  }
23476
23476
  var ckTr_vue_vue_type_style_index_0_scoped_true_lang = "";
23477
- const _sfc_main$q = {};
23478
- var CkTr = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", render2], ["__scopeId", "data-v-519cf874"]]);
23477
+ const _sfc_main$r = {};
23478
+ var CkTr = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", render2], ["__scopeId", "data-v-519cf874"]]);
23479
23479
  var ckTd_vue_vue_type_style_index_0_scoped_true_lang = "";
23480
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
23480
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
23481
23481
  props: {
23482
23482
  col: null,
23483
23483
  nowrap: { type: Boolean },
@@ -23566,10 +23566,10 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
23566
23566
  };
23567
23567
  }
23568
23568
  });
23569
- var CkTd = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-eb135f78"]]);
23569
+ var CkTd = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-eb135f78"]]);
23570
23570
  var ckTh_vue_vue_type_style_index_0_scoped_true_lang = "";
23571
- const _hoisted_1$j = { class: "ck-th" };
23572
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
23571
+ const _hoisted_1$k = { class: "ck-th" };
23572
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
23573
23573
  props: {
23574
23574
  align: null,
23575
23575
  minWidth: null
@@ -23589,7 +23589,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
23589
23589
  return list;
23590
23590
  });
23591
23591
  return (_ctx, _cache) => {
23592
- return openBlock(), createElementBlock("th", _hoisted_1$j, [
23592
+ return openBlock(), createElementBlock("th", _hoisted_1$k, [
23593
23593
  createElementVNode("span", {
23594
23594
  class: normalizeClass(unref$1(computedSpanClass)),
23595
23595
  style: normalizeStyle(unref$1(computedStyle))
@@ -23600,8 +23600,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
23600
23600
  };
23601
23601
  }
23602
23602
  });
23603
- var CkTh = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-33e06a08"]]);
23604
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
23603
+ var CkTh = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-33e06a08"]]);
23604
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
23605
23605
  props: {
23606
23606
  col: null
23607
23607
  },
@@ -24052,7 +24052,7 @@ defineComponent({
24052
24052
  }
24053
24053
  });
24054
24054
  var ckIcon_vue_vue_type_style_index_0_scoped_true_lang = "";
24055
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
24055
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
24056
24056
  props: {
24057
24057
  icon: null,
24058
24058
  iconPack: null,
@@ -24116,7 +24116,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
24116
24116
  };
24117
24117
  }
24118
24118
  });
24119
- var CkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-a8333ef4"]]);
24119
+ var CkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-a8333ef4"]]);
24120
24120
  function useWindowWidth() {
24121
24121
  const windowWidth = ref(0);
24122
24122
  function handleWindowResize(event) {
@@ -24136,8 +24136,8 @@ function useWindowWidth() {
24136
24136
  };
24137
24137
  }
24138
24138
  var ckButton_vue_vue_type_style_index_0_scoped_true_lang = "";
24139
- const _hoisted_1$i = ["title", "aria-label", "disabled"];
24140
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
24139
+ const _hoisted_1$j = ["title", "aria-label", "disabled"];
24140
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
24141
24141
  props: {
24142
24142
  title: null,
24143
24143
  disabled: { type: Boolean },
@@ -24243,14 +24243,14 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
24243
24243
  icon: __props.iconRight,
24244
24244
  "icon-pack": __props.iconPack
24245
24245
  }, null, 8, ["icon", "icon-pack", "class"])) : createCommentVNode("", true)
24246
- ], 14, _hoisted_1$i);
24246
+ ], 14, _hoisted_1$j);
24247
24247
  };
24248
24248
  }
24249
24249
  });
24250
- var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-3a844574"]]);
24250
+ var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-3a844574"]]);
24251
24251
  var ckLabel_vue_vue_type_style_index_0_scoped_true_lang = "";
24252
- const _hoisted_1$h = ["for"];
24253
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
24252
+ const _hoisted_1$i = ["for"];
24253
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
24254
24254
  props: {
24255
24255
  for: null,
24256
24256
  align: null,
@@ -24274,15 +24274,15 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
24274
24274
  for: __props.for
24275
24275
  }, [
24276
24276
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
24277
- ], 10, _hoisted_1$h);
24277
+ ], 10, _hoisted_1$i);
24278
24278
  };
24279
24279
  }
24280
24280
  });
24281
- var CkLabel = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-a4566770"]]);
24281
+ var CkLabel = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-a4566770"]]);
24282
24282
  var ckInput_vue_vue_type_style_index_0_scoped_true_lang = "";
24283
- const _hoisted_1$g = ["autocomplete", "placeholder", "disabled"];
24284
- const _hoisted_2$c = ["autocomplete", "type", "placeholder", "disabled"];
24285
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
24283
+ const _hoisted_1$h = ["autocomplete", "placeholder", "disabled"];
24284
+ const _hoisted_2$d = ["autocomplete", "type", "placeholder", "disabled"];
24285
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
24286
24286
  props: {
24287
24287
  modelValue: null,
24288
24288
  type: null,
@@ -24469,7 +24469,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
24469
24469
  onClick: _cache[3] || (_cache[3] = ($event) => onClick2($event)),
24470
24470
  onFocus: _cache[4] || (_cache[4] = ($event) => emits("focus", $event)),
24471
24471
  onBlur: _cache[5] || (_cache[5] = ($event) => emits("blur", $event))
24472
- }, null, 46, _hoisted_1$g)), [
24472
+ }, null, 46, _hoisted_1$h)), [
24473
24473
  [vModelText, unref$1(value)]
24474
24474
  ]) : withDirectives((openBlock(), createElementBlock("input", {
24475
24475
  key: 3,
@@ -24487,7 +24487,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
24487
24487
  onClick: _cache[9] || (_cache[9] = ($event) => onClick2($event)),
24488
24488
  onFocus: _cache[10] || (_cache[10] = ($event) => emits("focus", $event)),
24489
24489
  onBlur: _cache[11] || (_cache[11] = ($event) => emits("blur", $event))
24490
- }, null, 46, _hoisted_2$c)), [
24490
+ }, null, 46, _hoisted_2$d)), [
24491
24491
  [vModelDynamic, unref$1(value)]
24492
24492
  ]),
24493
24493
  __props.type === "password" ? (openBlock(), createElementBlock("div", {
@@ -24510,9 +24510,9 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
24510
24510
  };
24511
24511
  }
24512
24512
  });
24513
- var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-3db58510"]]);
24513
+ var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-3db58510"]]);
24514
24514
  var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
24515
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
24515
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
24516
24516
  props: {
24517
24517
  search: null,
24518
24518
  hasColumnsManager: { type: Boolean },
@@ -24622,16 +24622,16 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
24622
24622
  };
24623
24623
  }
24624
24624
  });
24625
- var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-4bfc21c8"]]);
24625
+ var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-4bfc21c8"]]);
24626
24626
  var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
24627
24627
  const _withScopeId$4 = (n) => (pushScopeId("data-v-0c3ab853"), n = n(), popScopeId(), n);
24628
- const _hoisted_1$f = { class: "ck-table__pagination" };
24629
- const _hoisted_2$b = { class: "ck-table__pagination--numbers-container" };
24630
- const _hoisted_3$8 = ["onClick"];
24631
- const _hoisted_4$6 = { class: "ck-table__pagination-input-container" };
24628
+ const _hoisted_1$g = { class: "ck-table__pagination" };
24629
+ const _hoisted_2$c = { class: "ck-table__pagination--numbers-container" };
24630
+ const _hoisted_3$9 = ["onClick"];
24631
+ const _hoisted_4$7 = { class: "ck-table__pagination-input-container" };
24632
24632
  const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-table__pagination--input-pointer" }, null, -1));
24633
24633
  const _hoisted_6$3 = ["onClick"];
24634
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
24634
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
24635
24635
  props: {
24636
24636
  currentPage: null,
24637
24637
  align: null,
@@ -24729,7 +24729,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
24729
24729
  key: 0,
24730
24730
  class: normalizeClass(["ck-table__pagination-container", unref$1(computedClass)])
24731
24731
  }, [
24732
- createElementVNode("div", _hoisted_1$f, [
24732
+ createElementVNode("div", _hoisted_1$g, [
24733
24733
  createElementVNode("div", {
24734
24734
  class: normalizeClass(["ck-table__pagination--arrow-left", { disabled: !unref$1(hasArrowLeft) }]),
24735
24735
  onClick: _cache[0] || (_cache[0] = ($event) => currentPageLocal.value = __props.currentPage - 1)
@@ -24738,14 +24738,14 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
24738
24738
  icon: unref$1(hasArrowLeft) ? "angle-left" : "grip-lines-vertical"
24739
24739
  }, null, 8, ["icon"])
24740
24740
  ], 2),
24741
- createElementVNode("div", _hoisted_2$b, [
24741
+ createElementVNode("div", _hoisted_2$c, [
24742
24742
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(listLeft), (num) => {
24743
24743
  return openBlock(), createElementBlock("div", {
24744
24744
  class: "ck-table__pagination-item--left",
24745
24745
  onClick: ($event) => currentPageLocal.value = num
24746
- }, toDisplayString(num), 9, _hoisted_3$8);
24746
+ }, toDisplayString(num), 9, _hoisted_3$9);
24747
24747
  }), 256)),
24748
- createElementVNode("div", _hoisted_4$6, [
24748
+ createElementVNode("div", _hoisted_4$7, [
24749
24749
  withDirectives(createElementVNode("input", {
24750
24750
  class: "ck-table__pagination-input",
24751
24751
  type: "number",
@@ -24777,7 +24777,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
24777
24777
  };
24778
24778
  }
24779
24779
  });
24780
- var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-0c3ab853"]]);
24780
+ var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-0c3ab853"]]);
24781
24781
  const EMPTY_OBJ = {};
24782
24782
  const NOOP = () => {
24783
24783
  };
@@ -25550,13 +25550,13 @@ const computed = (getterOrOptions, debugOptions) => {
25550
25550
  };
25551
25551
  var ckCheckbox_vue_vue_type_style_index_0_scoped_true_lang = "";
25552
25552
  const _withScopeId$3 = (n) => (pushScopeId("data-v-113ac83f"), n = n(), popScopeId(), n);
25553
- const _hoisted_1$e = ["disabled", "checked"];
25554
- const _hoisted_2$a = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-checkbox__element" }, null, -1));
25555
- const _hoisted_3$7 = {
25553
+ const _hoisted_1$f = ["disabled", "checked"];
25554
+ const _hoisted_2$b = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-checkbox__element" }, null, -1));
25555
+ const _hoisted_3$8 = {
25556
25556
  key: 0,
25557
25557
  class: "c-Checkbox__label"
25558
25558
  };
25559
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
25559
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
25560
25560
  props: {
25561
25561
  modelValue: { type: Boolean },
25562
25562
  label: null,
@@ -25604,24 +25604,24 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
25604
25604
  value.value = $event.target.checked;
25605
25605
  onChange2($event);
25606
25606
  })
25607
- }, null, 40, _hoisted_1$e),
25608
- _hoisted_2$a,
25609
- _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3$7, [
25607
+ }, null, 40, _hoisted_1$f),
25608
+ _hoisted_2$b,
25609
+ _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3$8, [
25610
25610
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
25611
25611
  ])) : createCommentVNode("", true)
25612
25612
  ], 16);
25613
25613
  };
25614
25614
  }
25615
25615
  });
25616
- var CkCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-113ac83f"]]);
25616
+ var CkCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-113ac83f"]]);
25617
25617
  var ckPopup_vue_vue_type_style_index_0_lang = "";
25618
- const _hoisted_1$d = { class: "ck-popup" };
25619
- const _hoisted_2$9 = /* @__PURE__ */ createElementVNode("div", { class: "blackout" }, null, -1);
25620
- const _hoisted_3$6 = {
25618
+ const _hoisted_1$e = { class: "ck-popup" };
25619
+ const _hoisted_2$a = /* @__PURE__ */ createElementVNode("div", { class: "blackout" }, null, -1);
25620
+ const _hoisted_3$7 = {
25621
25621
  key: 0,
25622
25622
  class: "ck-popup__title"
25623
25623
  };
25624
- const _hoisted_4$5 = { class: "ck-popup__slot-body" };
25624
+ const _hoisted_4$6 = { class: "ck-popup__slot-body" };
25625
25625
  const _hoisted_5$2 = {
25626
25626
  key: 0,
25627
25627
  class: "ck-popup__slot-footer"
@@ -25630,7 +25630,7 @@ const _hoisted_6$2 = {
25630
25630
  key: 0,
25631
25631
  class: "ck-popup-slot-footer__confirm-buttons"
25632
25632
  };
25633
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
25633
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
25634
25634
  props: {
25635
25635
  modelValue: { type: Boolean },
25636
25636
  title: null,
@@ -25778,8 +25778,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
25778
25778
  key: 0,
25779
25779
  to: "body"
25780
25780
  }, [
25781
- createElementVNode("div", _hoisted_1$d, [
25782
- _hoisted_2$9,
25781
+ createElementVNode("div", _hoisted_1$e, [
25782
+ _hoisted_2$a,
25783
25783
  createElementVNode("div", {
25784
25784
  class: "popup-container",
25785
25785
  onClick: _cache[4] || (_cache[4] = ($event) => onBgClick())
@@ -25794,7 +25794,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
25794
25794
  class: normalizeClass(["ck-popup__slot-header", unref$1(computedClassHeader)]),
25795
25795
  style: normalizeStyle(unref$1(computedStyleHeader))
25796
25796
  }, [
25797
- __props.title ? (openBlock(), createElementBlock("h3", _hoisted_3$6, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
25797
+ __props.title ? (openBlock(), createElementBlock("h3", _hoisted_3$7, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
25798
25798
  renderSlot(_ctx.$slots, "header"),
25799
25799
  unref$1(isCloseBtnVisible) ? (openBlock(), createBlock(CkIcon, {
25800
25800
  key: 1,
@@ -25803,7 +25803,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
25803
25803
  onClick: _cache[0] || (_cache[0] = ($event) => isActive.value = false)
25804
25804
  })) : createCommentVNode("", true)
25805
25805
  ], 6),
25806
- createElementVNode("div", _hoisted_4$5, [
25806
+ createElementVNode("div", _hoisted_4$6, [
25807
25807
  renderSlot(_ctx.$slots, "default")
25808
25808
  ]),
25809
25809
  _ctx.$slots.footer || __props.confirmButtons || __props.acceptButton || __props.cancelButton ? (openBlock(), createElementBlock("div", _hoisted_5$2, [
@@ -25841,9 +25841,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
25841
25841
  }
25842
25842
  });
25843
25843
  var ckTable__columnsManager_vue_vue_type_style_index_0_scoped_true_lang = "";
25844
- const _hoisted_1$c = { class: "columns-manger-container" };
25845
- const _hoisted_2$8 = { class: "columns-manger__item" };
25846
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
25844
+ const _hoisted_1$d = { class: "columns-manger-container" };
25845
+ const _hoisted_2$9 = { class: "columns-manger__item" };
25846
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
25847
25847
  props: {
25848
25848
  modelValue: { type: Boolean },
25849
25849
  columns: null,
@@ -25883,15 +25883,15 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
25883
25883
  props.columns[colName].isDisplayed = value;
25884
25884
  }
25885
25885
  return (_ctx, _cache) => {
25886
- return openBlock(), createBlock(_sfc_main$f, {
25886
+ return openBlock(), createBlock(_sfc_main$g, {
25887
25887
  modelValue: unref$1(isActive),
25888
25888
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef$1(isActive) ? isActive.value = $event : null),
25889
25889
  title: "Administrador de columnas"
25890
25890
  }, {
25891
25891
  default: withCtx(() => [
25892
- createElementVNode("div", _hoisted_1$c, [
25892
+ createElementVNode("div", _hoisted_1$d, [
25893
25893
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(columnsCheckable), (col) => {
25894
- return openBlock(), createElementBlock("div", _hoisted_2$8, [
25894
+ return openBlock(), createElementBlock("div", _hoisted_2$9, [
25895
25895
  createVNode(CkCheckbox, {
25896
25896
  modelValue: col.value,
25897
25897
  "onUpdate:modelValue": ($event) => col.value = $event,
@@ -25911,25 +25911,25 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
25911
25911
  };
25912
25912
  }
25913
25913
  });
25914
- var TableColumnsManager = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-31e8c81c"]]);
25914
+ var TableColumnsManager = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-31e8c81c"]]);
25915
25915
  var ckTable_vue_vue_type_style_index_0_lang = "";
25916
25916
  var ckTable_vue_vue_type_style_index_1_scoped_true_lang = "";
25917
- const _hoisted_1$b = { class: "ck-table" };
25918
- const _hoisted_2$7 = {
25917
+ const _hoisted_1$c = { class: "ck-table" };
25918
+ const _hoisted_2$8 = {
25919
25919
  key: 0,
25920
25920
  class: "ck-table__header"
25921
25921
  };
25922
- const _hoisted_3$5 = {
25922
+ const _hoisted_3$6 = {
25923
25923
  key: 0,
25924
25924
  class: "ck-table__header--slot"
25925
25925
  };
25926
- const _hoisted_4$4 = { key: 0 };
25926
+ const _hoisted_4$5 = { key: 0 };
25927
25927
  const _hoisted_5$1 = { key: 1 };
25928
25928
  const _hoisted_6$1 = {
25929
25929
  key: 2,
25930
25930
  class: "ck-table--mobile-container"
25931
25931
  };
25932
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
25932
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
25933
25933
  props: {
25934
25934
  columns: null,
25935
25935
  hasColumnsManager: { type: Boolean },
@@ -26052,7 +26052,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
26052
26052
  TableColumnsManager,
26053
26053
  TablePagination,
26054
26054
  TableHeaderItems,
26055
- _sfc_main$n
26055
+ _sfc_main$o
26056
26056
  ]);
26057
26057
  return (_ctx, _cache) => {
26058
26058
  return openBlock(), createElementBlock(Fragment, null, [
@@ -26063,8 +26063,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
26063
26063
  columnsArray: unref$1(columnsArray),
26064
26064
  columns: __props.columns || []
26065
26065
  }, null, 8, ["modelValue", "columnsArray", "columns"])) : createCommentVNode("", true),
26066
- createElementVNode("div", _hoisted_1$b, [
26067
- _ctx.$slots.header || !__props.hideHeaderActions ? (openBlock(), createElementBlock("div", _hoisted_2$7, [
26066
+ createElementVNode("div", _hoisted_1$c, [
26067
+ _ctx.$slots.header || !__props.hideHeaderActions ? (openBlock(), createElementBlock("div", _hoisted_2$8, [
26068
26068
  createVNode(TableHeaderItems, {
26069
26069
  search: unref$1(searchLocal),
26070
26070
  "onUpdate:search": _cache[1] || (_cache[1] = ($event) => isRef$1(searchLocal) ? searchLocal.value = $event : null),
@@ -26079,7 +26079,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
26079
26079
  onRefreshList: _cache[2] || (_cache[2] = ($event) => refreshList($event)),
26080
26080
  onOpenColumnsManager: _cache[3] || (_cache[3] = ($event) => openColumnsManager())
26081
26081
  }, null, 8, ["search", "hideHeaderActions", "currentPage", "hasColumnsManager", "itemsPerPage", "listLength", "showRefreshBtn", "hideItemsPerPage", "layout"]),
26082
- _ctx.$slots.header ? (openBlock(), createElementBlock("div", _hoisted_3$5, [
26082
+ _ctx.$slots.header ? (openBlock(), createElementBlock("div", _hoisted_3$6, [
26083
26083
  renderSlot(_ctx.$slots, "header", {}, void 0, true)
26084
26084
  ])) : createCommentVNode("", true)
26085
26085
  ])) : createCommentVNode("", true),
@@ -26090,11 +26090,11 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
26090
26090
  createElementVNode("table", {
26091
26091
  class: normalizeClass(["ck-table__table", unref$1(computedClassTable)])
26092
26092
  }, [
26093
- unref$1(filteredColumnsList).length && !(_ctx.$slots.mobile && unref$1(isMobileVisible)) ? (openBlock(), createElementBlock("thead", _hoisted_4$4, [
26093
+ unref$1(filteredColumnsList).length && !(_ctx.$slots.mobile && unref$1(isMobileVisible)) ? (openBlock(), createElementBlock("thead", _hoisted_4$5, [
26094
26094
  createVNode(CkTr, { class: "header-row" }, {
26095
26095
  default: withCtx(() => [
26096
26096
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(filteredColumnsList), (col) => {
26097
- return openBlock(), createBlock(_sfc_main$n, {
26097
+ return openBlock(), createBlock(_sfc_main$o, {
26098
26098
  key: col.title,
26099
26099
  col
26100
26100
  }, null, 8, ["col"]);
@@ -26145,9 +26145,9 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
26145
26145
  };
26146
26146
  }
26147
26147
  });
26148
- var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-578b78e9"]]);
26148
+ var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-578b78e9"]]);
26149
26149
  var ckPagination_vue_vue_type_style_index_0_lang = "";
26150
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
26150
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
26151
26151
  props: {
26152
26152
  modelValue: null,
26153
26153
  maxStep: null,
@@ -26211,6 +26211,86 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
26211
26211
  };
26212
26212
  }
26213
26213
  });
26214
+ var ckCard_vue_vue_type_style_index_0_scoped_true_lang = "";
26215
+ const _hoisted_1$b = { class: "ck-card__header" };
26216
+ const _hoisted_2$7 = { class: "ck-card__header-title" };
26217
+ const _hoisted_3$5 = { class: "ck-card__body" };
26218
+ const _hoisted_4$4 = {
26219
+ key: 0,
26220
+ class: "ck-card__header-subtitle"
26221
+ };
26222
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
26223
+ props: {
26224
+ modelValue: { type: Boolean },
26225
+ title: null,
26226
+ subtitle: null,
26227
+ block: { type: Boolean },
26228
+ hideCloseBtn: { type: Boolean },
26229
+ layout: null
26230
+ },
26231
+ emits: ["update:modelValue", "closeCard"],
26232
+ setup(__props, { emit: emits }) {
26233
+ const props = __props;
26234
+ let cleekOptions2 = ref();
26235
+ const isActive = computed$2({
26236
+ get() {
26237
+ if (props.modelValue === null)
26238
+ return true;
26239
+ return !!props.modelValue;
26240
+ },
26241
+ set(val) {
26242
+ emits("update:modelValue", val);
26243
+ if (!val)
26244
+ emits("closeCard");
26245
+ }
26246
+ });
26247
+ const computedHideCloseBtn = computed$2(() => {
26248
+ if (props.hideCloseBtn)
26249
+ return true;
26250
+ if (props.modelValue === null)
26251
+ return true;
26252
+ return false;
26253
+ });
26254
+ const computedClass = computed$2(() => {
26255
+ var _a;
26256
+ const list = [];
26257
+ const layout = props.layout || ((_a = cleekOptions2.value) == null ? void 0 : _a.styles.layout);
26258
+ if (layout)
26259
+ list.push(`layout--${layout}`);
26260
+ return list;
26261
+ });
26262
+ onMounted(() => {
26263
+ cleekOptions2.value = hooks8.getCleekOptions(getCurrentInstance);
26264
+ });
26265
+ return (_ctx, _cache) => {
26266
+ const _component_ck_icon = resolveComponent("ck-icon");
26267
+ return unref$1(isActive) ? (openBlock(), createElementBlock("div", {
26268
+ key: 0,
26269
+ class: normalizeClass(["ck-card", unref$1(computedClass)])
26270
+ }, [
26271
+ createElementVNode("div", _hoisted_1$b, [
26272
+ createElementVNode("div", _hoisted_2$7, toDisplayString(__props.title), 1),
26273
+ !unref$1(computedHideCloseBtn) ? (openBlock(), createElementBlock("div", {
26274
+ key: 0,
26275
+ class: "ck-card__close-btn",
26276
+ onClick: _cache[0] || (_cache[0] = ($event) => isActive.value = false)
26277
+ }, [
26278
+ createVNode(_component_ck_icon, { icon: "times" })
26279
+ ])) : createCommentVNode("", true)
26280
+ ]),
26281
+ createElementVNode("div", _hoisted_3$5, [
26282
+ __props.subtitle ? (openBlock(), createElementBlock("div", _hoisted_4$4, toDisplayString(__props.subtitle), 1)) : createCommentVNode("", true),
26283
+ createElementVNode("div", {
26284
+ class: normalizeClass(["ck-card__content", { "content-block": __props.block }])
26285
+ }, [
26286
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
26287
+ ], 2)
26288
+ ])
26289
+ ], 2)) : createCommentVNode("", true);
26290
+ };
26291
+ }
26292
+ });
26293
+ var ckCard = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-5f3467d1"]]);
26214
26294
  var ckChip_vue_vue_type_style_index_0_scoped_true_lang = "";
26215
26295
  const _hoisted_1$a = ["color"];
26216
26296
  const _sfc_main$b = /* @__PURE__ */ defineComponent({
@@ -26420,7 +26500,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
26420
26500
  });
26421
26501
  var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-eed7a2c0"]]);
26422
26502
  var ckRadio_vue_vue_type_style_index_0_scoped_true_lang = "";
26423
- const _withScopeId$2 = (n) => (pushScopeId("data-v-dc40a9c2"), n = n(), popScopeId(), n);
26503
+ const _withScopeId$2 = (n) => (pushScopeId("data-v-0dd8663c"), n = n(), popScopeId(), n);
26424
26504
  const _hoisted_1$8 = ["onKeyup"];
26425
26505
  const _hoisted_2$6 = ["name", "value", "disabled"];
26426
26506
  const _hoisted_3$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "c-Radio__element" }, null, -1));
@@ -26433,6 +26513,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
26433
26513
  modelValue: null,
26434
26514
  name: null,
26435
26515
  vertical: { type: Boolean },
26516
+ classes: null,
26436
26517
  options: null,
26437
26518
  disabled: { type: Boolean },
26438
26519
  value: null,
@@ -26468,6 +26549,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
26468
26549
  const list = [];
26469
26550
  if (props.vertical)
26470
26551
  list.push("vertical");
26552
+ if (props.classes)
26553
+ list.push(props.classes);
26471
26554
  return list;
26472
26555
  });
26473
26556
  function handleChange(option, event) {
@@ -26506,7 +26589,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
26506
26589
  };
26507
26590
  }
26508
26591
  });
26509
- var ckRadio = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-dc40a9c2"]]);
26592
+ var ckRadio = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-0dd8663c"]]);
26510
26593
  var ckSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
26511
26594
  const _hoisted_1$7 = ["disabled"];
26512
26595
  const _hoisted_2$5 = ["value"];
@@ -27260,7 +27343,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
27260
27343
  });
27261
27344
  return (_ctx, _cache) => {
27262
27345
  return openBlock(), createBlock(Teleport, { to: "body" }, [
27263
- createVNode(_sfc_main$f, {
27346
+ createVNode(_sfc_main$g, {
27264
27347
  modelValue: isActive.value,
27265
27348
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isActive.value = $event),
27266
27349
  acceptButton: "",
@@ -27453,11 +27536,12 @@ var components = /* @__PURE__ */ Object.freeze({
27453
27536
  CkDropdown: ckDropdown,
27454
27537
  CkNavbar: ckNavbar,
27455
27538
  CkTable: ckTable,
27456
- CkPagination: _sfc_main$c,
27539
+ CkPagination: _sfc_main$d,
27457
27540
  CkTd,
27458
27541
  CkTh,
27459
27542
  CkTr,
27460
27543
  CkButton,
27544
+ CkCard: ckCard,
27461
27545
  CkCheckbox,
27462
27546
  CkChip: ckChip,
27463
27547
  CkDiv: _sfc_main$a,
@@ -27465,7 +27549,7 @@ var components = /* @__PURE__ */ Object.freeze({
27465
27549
  CkImg: ckImg,
27466
27550
  CkInput,
27467
27551
  CkLabel,
27468
- CkPopup: _sfc_main$f,
27552
+ CkPopup: _sfc_main$g,
27469
27553
  CkRadio: ckRadio,
27470
27554
  CkSelect: ckSelect,
27471
27555
  CkSidebar: ckSidebar,
@@ -27509,4 +27593,4 @@ const install2 = function installCleek(app, options) {
27509
27593
  app.component(componentName, component);
27510
27594
  });
27511
27595
  };
27512
- export { CkButton, CkCheckbox, ckChip as CkChip, ckDatetimeShower as CkDatetimeShower, _sfc_main$a as CkDiv, ckDropdown as CkDropdown, CkIcon, ckImg as CkImg, CkInput, CkLabel, ckNavbar as CkNavbar, _sfc_main$c as CkPagination, _sfc_main$f as CkPopup, ckRadio as CkRadio, ckSelect as CkSelect, ckSidebar as CkSidebar, ckSwitch as CkSwitch, ckSwitchOptions as CkSwitchOptions, ckTable as CkTable, CkTd, ckTextarea as CkTextarea, CkTh, CkTr, ckNotify, install2 as default };
27596
+ export { CkButton, ckCard as CkCard, CkCheckbox, ckChip as CkChip, ckDatetimeShower as CkDatetimeShower, _sfc_main$a as CkDiv, ckDropdown as CkDropdown, CkIcon, ckImg as CkImg, CkInput, CkLabel, ckNavbar as CkNavbar, _sfc_main$d as CkPagination, _sfc_main$g as CkPopup, ckRadio as CkRadio, ckSelect as CkSelect, ckSidebar as CkSidebar, ckSwitch as CkSwitch, ckSwitchOptions as CkSwitchOptions, ckTable as CkTable, CkTd, ckTextarea as CkTextarea, CkTh, CkTr, ckNotify, install2 as default };