cleek 2.3.29 → 2.3.33

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.
@@ -0,0 +1,4 @@
1
+ .shrink
2
+ flex-shrink 1
3
+ .shrink-0
4
+ flex-shrink 0
@@ -1,6 +1,7 @@
1
1
  @import './.custom';
2
2
  @import './align-items';
3
3
  @import './display';
4
+ @import './flex-shrink';
4
5
  @import './flex-wrap';
5
6
  @import './font-weight';
6
7
  @import './justify-content';
package/dist/cleek.es.js CHANGED
@@ -16583,9 +16583,90 @@ var validators = {
16583
16583
  return isValid;
16584
16584
  }
16585
16585
  };
16586
+ var ckTd_vue_vue_type_style_index_0_scoped_true_lang = "";
16587
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
16588
+ props: {
16589
+ col: { type: Object, default: void 0 },
16590
+ nowrap: { type: Boolean, default: false },
16591
+ block: { type: Boolean, default: false },
16592
+ autoWidth: { type: Boolean, default: false },
16593
+ overflowAuto: { type: Boolean, default: false },
16594
+ align: { type: String, default: void 0, validator: validators.align },
16595
+ verticalAlign: { type: String, default: void 0, validator: validators.verticalAlign },
16596
+ fixedWidth: { type: String, default: "" },
16597
+ minWidth: { type: String, default: "" },
16598
+ maxWidth: { type: String, default: "" },
16599
+ maxHeight: { type: String, default: "" }
16600
+ },
16601
+ setup(__props) {
16602
+ const props = __props;
16603
+ const computedTdClass = computed$2(() => {
16604
+ const list = [];
16605
+ if (props.autoWidth)
16606
+ list.push("auto-width");
16607
+ if (props.overflowAuto)
16608
+ list.push("overflow-auto");
16609
+ if (props.verticalAlign)
16610
+ list.push(`vertical-align--${props.verticalAlign}`);
16611
+ return list;
16612
+ });
16613
+ const computedSpanClass = computed$2(() => {
16614
+ const list = [];
16615
+ let align;
16616
+ if (props.col)
16617
+ align = props.col.align;
16618
+ if (props.align)
16619
+ align = props.align;
16620
+ if (align) {
16621
+ if (align === "center")
16622
+ list.push("align-center");
16623
+ if (align === "right")
16624
+ list.push("align-right");
16625
+ }
16626
+ if (props.block)
16627
+ list.push("block");
16628
+ if (props.block)
16629
+ list.push("no-wrap-text");
16630
+ return list;
16631
+ });
16632
+ const computedStyle = computed$2(() => {
16633
+ const list = {};
16634
+ if (props.minWidth)
16635
+ list["min-width"] = props.minWidth;
16636
+ if (props.fixedWidth)
16637
+ list["min-width"] = props.fixedWidth;
16638
+ if (props.maxWidth)
16639
+ list["max-width"] = props.maxWidth;
16640
+ if (props.fixedWidth)
16641
+ list["max-width"] = props.fixedWidth;
16642
+ if (props.maxHeight)
16643
+ list["max-height"] = props.maxHeight;
16644
+ return list;
16645
+ });
16646
+ const isColumnDisplayed = computed$2(() => {
16647
+ if (!props.col)
16648
+ return true;
16649
+ return functions.isColumnDisplayed(props.col);
16650
+ });
16651
+ return (_ctx, _cache) => {
16652
+ return unref$1(isColumnDisplayed) ? (openBlock(), createElementBlock("td", {
16653
+ key: 0,
16654
+ class: normalizeClass(["ck-td", unref$1(computedTdClass)])
16655
+ }, [
16656
+ createElementVNode("span", {
16657
+ class: normalizeClass(unref$1(computedSpanClass)),
16658
+ style: normalizeStyle(unref$1(computedStyle))
16659
+ }, [
16660
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
16661
+ ], 6)
16662
+ ], 2)) : createCommentVNode("", true);
16663
+ };
16664
+ }
16665
+ });
16666
+ var ckTd = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-4077488a"]]);
16586
16667
  var ckTh_vue_vue_type_style_index_0_scoped_true_lang = "";
16587
16668
  const _hoisted_1$h = { class: "ck-th" };
16588
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
16669
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
16589
16670
  props: {
16590
16671
  align: { type: String, default: "left", validator: validators.align },
16591
16672
  minWidth: { type: String, default: void 0 }
@@ -16617,8 +16698,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
16617
16698
  };
16618
16699
  }
16619
16700
  });
16620
- var ckTh = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-4b7ed390"]]);
16621
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
16701
+ var ckTh = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-4b7ed390"]]);
16702
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
16622
16703
  props: {
16623
16704
  col: { type: Object, required: true }
16624
16705
  },
@@ -16656,7 +16737,7 @@ function useWindowWidth() {
16656
16737
  }
16657
16738
  var ckButton_vue_vue_type_style_index_0_scoped_true_lang = "";
16658
16739
  const _hoisted_1$g = ["title", "aria-label", "disabled"];
16659
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
16740
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
16660
16741
  props: {
16661
16742
  title: { type: String, default: void 0 },
16662
16743
  disabled: { type: Boolean, default: false },
@@ -16750,10 +16831,10 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
16750
16831
  };
16751
16832
  }
16752
16833
  });
16753
- var ckButton = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-5cf4066a"]]);
16834
+ var ckButton = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-334c7553"]]);
16754
16835
  var ckLabel_vue_vue_type_style_index_0_scoped_true_lang = "";
16755
16836
  const _hoisted_1$f = ["for"];
16756
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
16837
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
16757
16838
  props: {
16758
16839
  for: { type: String, default: "" },
16759
16840
  align: { type: String, default: "" }
@@ -16778,10 +16859,10 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
16778
16859
  };
16779
16860
  }
16780
16861
  });
16781
- var ckLabel = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-37dee526"]]);
16862
+ var ckLabel = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-37dee526"]]);
16782
16863
  var ckInput_vue_vue_type_style_index_0_scoped_true_lang = "";
16783
16864
  const _hoisted_1$e = ["autocomplete", "type", "placeholder", "disabled"];
16784
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
16865
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
16785
16866
  props: {
16786
16867
  modelValue: {},
16787
16868
  type: { type: String, validator: validators.inputType, default: "text" },
@@ -16911,10 +16992,10 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
16911
16992
  };
16912
16993
  }
16913
16994
  });
16914
- var ckInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-7b390746"]]);
16995
+ var ckInput = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-2f390047"]]);
16915
16996
  var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
16916
16997
  const _hoisted_1$d = { class: "ck-table__header-items" };
16917
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
16998
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
16918
16999
  props: {
16919
17000
  search: { type: String, default: void 0 },
16920
17001
  hasColumnsManager: { type: Boolean, default: false },
@@ -16922,7 +17003,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
16922
17003
  hideItemsPerPage: { type: Boolean, required: true },
16923
17004
  currentPage: { type: Number, required: true },
16924
17005
  itemsPerPage: { type: Number, required: true },
16925
- listLength: { type: Number, required: true }
17006
+ hideHeaderActions: { type: Boolean, required: true },
17007
+ listLength: { type: Number, default: 0 }
16926
17008
  },
16927
17009
  emits: ["update:search", "refreshList", "openColumnsManager"],
16928
17010
  setup(__props, { emit: emits }) {
@@ -16973,39 +17055,41 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
16973
17055
  }
16974
17056
  return (_ctx, _cache) => {
16975
17057
  return openBlock(), createElementBlock("div", _hoisted_1$d, [
16976
- unref$1(refreshBtnIsVisible) ? (openBlock(), createBlock(ckButton, {
16977
- key: 0,
16978
- type: "flat",
16979
- icon: "redo-alt",
16980
- title: "Recargar lista",
16981
- onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("refreshList", false))
16982
- })) : createCommentVNode("", true),
16983
- unref$1(itemsPerPageIsVisible) ? (openBlock(), createElementBlock("div", {
16984
- key: 1,
16985
- class: normalizeClass(["items-per-page", { "ck-component__group--left": !unref$1(hideSearch) }])
16986
- }, toDisplayString(unref$1(itemsPerPageStart)) + " - " + toDisplayString(unref$1(itemsPerPageEnd)) + " de " + toDisplayString(__props.listLength), 3)) : createCommentVNode("", true),
16987
- !unref$1(hideSearch) ? (openBlock(), createBlock(ckInput, {
16988
- key: 2,
16989
- modelValue: unref$1(searchLocal),
16990
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef$1(searchLocal) ? searchLocal.value = $event : null),
16991
- icon: "search",
16992
- placeholder: "Buscar...",
16993
- group: unref$1(searchGroupValue),
16994
- onInput: _cache[2] || (_cache[2] = ($event) => checkRefresh())
16995
- }, null, 8, ["modelValue", "group"])) : createCommentVNode("", true),
16996
- __props.hasColumnsManager ? (openBlock(), createBlock(ckButton, {
16997
- key: 3,
16998
- icon: "columns",
16999
- type: "filled",
17000
- title: "Administrador de columnas",
17001
- group: unref$1(itemsPerPageIsVisible) || !unref$1(hideSearch) ? "right" : "",
17002
- onClick: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("openColumnsManager"))
17003
- }, null, 8, ["group"])) : createCommentVNode("", true)
17058
+ __props.hideHeaderActions ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
17059
+ unref$1(refreshBtnIsVisible) ? (openBlock(), createBlock(ckButton, {
17060
+ key: 0,
17061
+ type: "flat",
17062
+ icon: "rotate-right",
17063
+ title: "Recargar lista",
17064
+ onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("refreshList", false))
17065
+ })) : createCommentVNode("", true),
17066
+ unref$1(itemsPerPageIsVisible) ? (openBlock(), createElementBlock("div", {
17067
+ key: 1,
17068
+ class: normalizeClass(["items-per-page", { "ck-component__group--left": !unref$1(hideSearch) }])
17069
+ }, toDisplayString(unref$1(itemsPerPageStart)) + " - " + toDisplayString(unref$1(itemsPerPageEnd)) + " de " + toDisplayString(__props.listLength), 3)) : createCommentVNode("", true),
17070
+ !unref$1(hideSearch) ? (openBlock(), createBlock(ckInput, {
17071
+ key: 2,
17072
+ modelValue: unref$1(searchLocal),
17073
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef$1(searchLocal) ? searchLocal.value = $event : null),
17074
+ icon: "magnifying-glass",
17075
+ placeholder: "Buscar...",
17076
+ group: unref$1(searchGroupValue),
17077
+ onInput: _cache[2] || (_cache[2] = ($event) => checkRefresh())
17078
+ }, null, 8, ["modelValue", "group"])) : createCommentVNode("", true),
17079
+ __props.hasColumnsManager ? (openBlock(), createBlock(ckButton, {
17080
+ key: 3,
17081
+ icon: "columns",
17082
+ type: "filled",
17083
+ title: "Administrador de columnas",
17084
+ group: unref$1(itemsPerPageIsVisible) || !unref$1(hideSearch) ? "right" : "",
17085
+ onClick: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("openColumnsManager"))
17086
+ }, null, 8, ["group"])) : createCommentVNode("", true)
17087
+ ], 64)) : createCommentVNode("", true)
17004
17088
  ]);
17005
17089
  };
17006
17090
  }
17007
17091
  });
17008
- var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-cf4f130a"]]);
17092
+ var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-4865f948"]]);
17009
17093
  var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
17010
17094
  const _hoisted_1$c = { class: "ck-table__pagination" };
17011
17095
  const _hoisted_2$7 = ["onClick"];
@@ -17017,7 +17101,7 @@ const __default__ = {
17017
17101
  currentPage: { type: Number, required: true },
17018
17102
  align: { type: String, required: true },
17019
17103
  itemsPerPage: { type: Number, required: true },
17020
- listLength: { type: Number, required: true }
17104
+ listLength: { type: Number, default: 0 }
17021
17105
  },
17022
17106
  emits: ["refreshList", "update:currentPage"],
17023
17107
  computed: {
@@ -17084,7 +17168,7 @@ const __default__ = {
17084
17168
  }
17085
17169
  }
17086
17170
  };
17087
- const _sfc_main$d = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__), {
17171
+ const _sfc_main$c = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__), {
17088
17172
  setup(__props) {
17089
17173
  return (_ctx, _cache) => {
17090
17174
  return __props.currentPage && _ctx.totalPages > 1 ? (openBlock(), createElementBlock("div", {
@@ -17133,7 +17217,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
17133
17217
  };
17134
17218
  }
17135
17219
  }));
17136
- var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-65c21486"]]);
17220
+ var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-dec8fb20"]]);
17137
17221
  const NOOP$1 = () => {
17138
17222
  };
17139
17223
  const isArray$1 = Array.isArray;
@@ -17916,7 +18000,7 @@ const _hoisted_3$4 = {
17916
18000
  key: 0,
17917
18001
  class: "c-Checkbox__label"
17918
18002
  };
17919
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
18003
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
17920
18004
  props: {
17921
18005
  modelValue: { type: Boolean, default: false },
17922
18006
  label: { type: String, default: void 0 },
@@ -17973,7 +18057,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
17973
18057
  };
17974
18058
  }
17975
18059
  });
17976
- var ckCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-132565da"]]);
18060
+ var ckCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-132565da"]]);
17977
18061
  var ckPopup_vue_vue_type_style_index_0_lang = "";
17978
18062
  const _hoisted_1$a = {
17979
18063
  key: 0,
@@ -17996,7 +18080,7 @@ const _hoisted_7 = {
17996
18080
  };
17997
18081
  const _hoisted_8 = /* @__PURE__ */ createTextVNode("Cancelar");
17998
18082
  const _hoisted_9 = /* @__PURE__ */ createTextVNode("Aceptar");
17999
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
18083
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
18000
18084
  props: {
18001
18085
  modelValue: { type: Boolean },
18002
18086
  title: { type: String, default: void 0 },
@@ -18088,7 +18172,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
18088
18172
  var ckTable__columnsManager_vue_vue_type_style_index_0_scoped_true_lang = "";
18089
18173
  const _hoisted_1$9 = { class: "columns-manger-container" };
18090
18174
  const _hoisted_2$4 = { class: "columns-manger__item" };
18091
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
18175
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
18092
18176
  props: {
18093
18177
  modelValue: { type: Boolean, required: true },
18094
18178
  columns: { type: Object, required: true },
@@ -18128,7 +18212,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
18128
18212
  props.columns[colName].isDisplayed = value;
18129
18213
  }
18130
18214
  return (_ctx, _cache) => {
18131
- return openBlock(), createBlock(_sfc_main$b, {
18215
+ return openBlock(), createBlock(_sfc_main$a, {
18132
18216
  modelValue: unref$1(isActive),
18133
18217
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef$1(isActive) ? isActive.value = $event : null),
18134
18218
  title: "Administrador de columnas"
@@ -18156,7 +18240,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
18156
18240
  };
18157
18241
  }
18158
18242
  });
18159
- var TableColumnsManager = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-36d907dc"]]);
18243
+ var TableColumnsManager = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-36d907dc"]]);
18160
18244
  var qmApi = {};
18161
18245
  var qmArray = {
18162
18246
  arrayToText(arr, key = null) {
@@ -18440,27 +18524,28 @@ const _hoisted_2$3 = {
18440
18524
  class: "ck-table__header"
18441
18525
  };
18442
18526
  const _hoisted_3$2 = {
18443
- key: 1,
18527
+ key: 0,
18444
18528
  class: "ck-table__header--slot"
18445
18529
  };
18446
18530
  const _hoisted_4$2 = { class: "ck-table__table-container" };
18447
18531
  const _hoisted_5 = { key: 0 };
18448
18532
  const _hoisted_6 = { key: 1 };
18449
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
18533
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
18450
18534
  props: {
18451
18535
  columns: { type: [Array, Object], required: true, default: () => [] },
18452
18536
  hasColumnsManager: { type: Boolean, default: false },
18453
18537
  currentPage: { type: Number, default: 0 },
18454
18538
  itemsPerPage: { type: Number, default: 40 },
18455
- listLength: { type: Number, default: 0 },
18539
+ listLength: { type: Number, default: void 0 },
18456
18540
  paginationAlign: { type: String, default: "center", validator: validators.align },
18457
18541
  search: { type: String, default: void 0 },
18458
18542
  hideHeaderActions: { type: Boolean, default: false },
18459
18543
  showRefreshBtn: { type: Boolean, default: false },
18460
18544
  hideItemsPerPage: { type: Boolean, default: false },
18461
18545
  notFullWidth: { type: Boolean, default: false },
18462
- cellPadding: { type: String, defaul: void 0 },
18463
- cellPaddingY: { type: String, defaul: void 0 },
18546
+ cellPadding: { type: String, default: void 0 },
18547
+ cellPaddingY: { type: String, default: void 0 },
18548
+ noResultsText: { type: String, default: "No se encontraron resultados" },
18464
18549
  mobileMaxWidth: { type: [Number, String], default: 800 }
18465
18550
  },
18466
18551
  emits: ["refreshList", "update:search", "update:currentPage"],
@@ -18545,10 +18630,10 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
18545
18630
  }, null, 8, ["modelValue", "columnsArray", "columns"])) : createCommentVNode("", true),
18546
18631
  createElementVNode("div", _hoisted_1$8, [
18547
18632
  _ctx.$slots.header || !__props.hideHeaderActions ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
18548
- !__props.hideHeaderActions ? (openBlock(), createBlock(TableHeaderItems, {
18549
- key: 0,
18633
+ createVNode(TableHeaderItems, {
18550
18634
  search: unref$1(searchLocal),
18551
18635
  "onUpdate:search": _cache[1] || (_cache[1] = ($event) => isRef$1(searchLocal) ? searchLocal.value = $event : null),
18636
+ hideHeaderActions: __props.hideHeaderActions,
18552
18637
  currentPage: __props.currentPage,
18553
18638
  hasColumnsManager: __props.hasColumnsManager,
18554
18639
  itemsPerPage: __props.itemsPerPage,
@@ -18557,7 +18642,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
18557
18642
  hideItemsPerPage: __props.hideItemsPerPage,
18558
18643
  onRefreshList: _cache[2] || (_cache[2] = ($event) => refreshList($event)),
18559
18644
  onOpenColumnsManager: _cache[3] || (_cache[3] = ($event) => openColumnsManager())
18560
- }, null, 8, ["search", "currentPage", "hasColumnsManager", "itemsPerPage", "listLength", "showRefreshBtn", "hideItemsPerPage"])) : createCommentVNode("", true),
18645
+ }, null, 8, ["search", "hideHeaderActions", "currentPage", "hasColumnsManager", "itemsPerPage", "listLength", "showRefreshBtn", "hideItemsPerPage"]),
18561
18646
  _ctx.$slots.header ? (openBlock(), createElementBlock("div", _hoisted_3$2, [
18562
18647
  renderSlot(_ctx.$slots, "header", {}, void 0, true)
18563
18648
  ])) : createCommentVNode("", true)
@@ -18570,7 +18655,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
18570
18655
  createVNode(ckTr, null, {
18571
18656
  default: withCtx(() => [
18572
18657
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(filteredColumnsList), (col) => {
18573
- return openBlock(), createBlock(_sfc_main$i, {
18658
+ return openBlock(), createBlock(_sfc_main$h, {
18574
18659
  key: col.title,
18575
18660
  col
18576
18661
  }, null, 8, ["col"]);
@@ -18582,7 +18667,22 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
18582
18667
  createElementVNode("tbody", null, [
18583
18668
  renderSlot(_ctx.$slots, "default", {}, void 0, true),
18584
18669
  !unref$1(isMobileVisible) ? renderSlot(_ctx.$slots, "desktop", { key: 0 }, void 0, true) : createCommentVNode("", true),
18585
- unref$1(isMobileVisible) ? renderSlot(_ctx.$slots, "mobile", { key: 1 }, void 0, true) : createCommentVNode("", true)
18670
+ unref$1(isMobileVisible) ? renderSlot(_ctx.$slots, "mobile", { key: 1 }, void 0, true) : createCommentVNode("", true),
18671
+ __props.listLength === 0 ? (openBlock(), createBlock(ckTr, { key: 2 }, {
18672
+ default: withCtx(() => [
18673
+ createVNode(ckTd, {
18674
+ class: "no-result-text",
18675
+ colspan: "100%",
18676
+ align: "center"
18677
+ }, {
18678
+ default: withCtx(() => [
18679
+ createTextVNode(toDisplayString(__props.noResultsText), 1)
18680
+ ]),
18681
+ _: 1
18682
+ })
18683
+ ]),
18684
+ _: 1
18685
+ })) : createCommentVNode("", true)
18586
18686
  ]),
18587
18687
  _ctx.$slots.footer ? (openBlock(), createElementBlock("tfoot", _hoisted_6, [
18588
18688
  renderSlot(_ctx.$slots, "footer", {}, void 0, true)
@@ -18603,88 +18703,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
18603
18703
  };
18604
18704
  }
18605
18705
  });
18606
- var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-65c343ce"]]);
18607
- var ckTd_vue_vue_type_style_index_0_scoped_true_lang = "";
18608
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
18609
- props: {
18610
- col: { type: Object, default: void 0 },
18611
- nowrap: { type: Boolean, default: false },
18612
- block: { type: Boolean, default: false },
18613
- autoWidth: { type: Boolean, default: false },
18614
- overflowAuto: { type: Boolean, default: false },
18615
- align: { type: String, default: void 0, validator: validators.align },
18616
- verticalAlign: { type: String, default: void 0, validator: validators.verticalAlign },
18617
- fixedWidth: { type: String, default: "" },
18618
- minWidth: { type: String, default: "" },
18619
- maxWidth: { type: String, default: "" },
18620
- maxHeight: { type: String, default: "" }
18621
- },
18622
- setup(__props) {
18623
- const props = __props;
18624
- const computedTdClass = computed$2(() => {
18625
- const list = [];
18626
- if (props.autoWidth)
18627
- list.push("auto-width");
18628
- if (props.overflowAuto)
18629
- list.push("overflow-auto");
18630
- if (props.verticalAlign)
18631
- list.push(`vertical-align--${props.verticalAlign}`);
18632
- return list;
18633
- });
18634
- const computedSpanClass = computed$2(() => {
18635
- const list = [];
18636
- let align;
18637
- if (props.col)
18638
- align = props.col.align;
18639
- if (props.align)
18640
- align = props.align;
18641
- if (align) {
18642
- if (align === "center")
18643
- list.push("align-center");
18644
- if (align === "right")
18645
- list.push("align-right");
18646
- }
18647
- if (props.block)
18648
- list.push("block");
18649
- if (props.block)
18650
- list.push("no-wrap-text");
18651
- return list;
18652
- });
18653
- const computedStyle = computed$2(() => {
18654
- const list = {};
18655
- if (props.minWidth)
18656
- list["min-width"] = props.minWidth;
18657
- if (props.fixedWidth)
18658
- list["min-width"] = props.fixedWidth;
18659
- if (props.maxWidth)
18660
- list["max-width"] = props.maxWidth;
18661
- if (props.fixedWidth)
18662
- list["max-width"] = props.fixedWidth;
18663
- if (props.maxHeight)
18664
- list["max-height"] = props.maxHeight;
18665
- return list;
18666
- });
18667
- const isColumnDisplayed = computed$2(() => {
18668
- if (!props.col)
18669
- return true;
18670
- return functions.isColumnDisplayed(props.col);
18671
- });
18672
- return (_ctx, _cache) => {
18673
- return unref$1(isColumnDisplayed) ? (openBlock(), createElementBlock("td", {
18674
- key: 0,
18675
- class: normalizeClass(["ck-td", unref$1(computedTdClass)])
18676
- }, [
18677
- createElementVNode("span", {
18678
- class: normalizeClass(unref$1(computedSpanClass)),
18679
- style: normalizeStyle(unref$1(computedStyle))
18680
- }, [
18681
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
18682
- ], 6)
18683
- ], 2)) : createCommentVNode("", true);
18684
- };
18685
- }
18686
- });
18687
- var ckTd = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-4077488a"]]);
18706
+ var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-6545e800"]]);
18688
18707
  var ckChip_vue_vue_type_style_index_0_scoped_true_lang = "";
18689
18708
  const _hoisted_1$7 = ["color"];
18690
18709
  const _sfc_main$7 = /* @__PURE__ */ defineComponent({
@@ -21921,7 +21940,7 @@ var components = /* @__PURE__ */ Object.freeze({
21921
21940
  ckImg,
21922
21941
  ckInput,
21923
21942
  ckLabel,
21924
- ckPopup: _sfc_main$b,
21943
+ ckPopup: _sfc_main$a,
21925
21944
  ckRadio,
21926
21945
  ckSelect,
21927
21946
  ckSwitch,
@@ -21961,4 +21980,4 @@ const install = function installCleek(app, options) {
21961
21980
  app.component(componentName, component);
21962
21981
  });
21963
21982
  };
21964
- export { events as EVENTS, mitt as EventBus, ckButton, ckCheckbox, ckChip, ckDropdown, ckIcon, ckImg, ckInput, ckLabel, ckNavbar, ckNotify, _sfc_main$b as ckPopup, ckRadio, ckSelect, ckSwitch, ckSwitchOptions, ckTable, ckTd, ckTextarea, ckTh, ckTooltip, ckTr, install as default, lockScroll, unlockScroll };
21983
+ export { events as EVENTS, mitt as EventBus, ckButton, ckCheckbox, ckChip, ckDropdown, ckIcon, ckImg, ckInput, ckLabel, ckNavbar, ckNotify, _sfc_main$a as ckPopup, ckRadio, ckSelect, ckSwitch, ckSwitchOptions, ckTable, ckTd, ckTextarea, ckTh, ckTooltip, ckTr, install as default, lockScroll, unlockScroll };