cleek 2.0.4 → 2.0.5

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
@@ -12513,7 +12513,7 @@ const _hoisted_1$5 = { class: "ck-table__header-items" };
12513
12513
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
12514
12514
  props: {
12515
12515
  search: { type: String, default: void 0 },
12516
- hasColumnManager: { type: Boolean, default: false },
12516
+ hasColumnsManager: { type: Boolean, default: false },
12517
12517
  hideRefreshBtn: { type: Boolean, required: true },
12518
12518
  hideItemsPerPage: { type: Boolean, required: true },
12519
12519
  currentPage: { type: Number, required: true },
@@ -12547,12 +12547,12 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
12547
12547
  return !props.hideItemsPerPage && props.listLength;
12548
12548
  });
12549
12549
  const searchGroupValue = computed(() => {
12550
- if (itemsPerPageIsVisible.value && props.hasColumnManager) {
12550
+ if (itemsPerPageIsVisible.value && props.hasColumnsManager) {
12551
12551
  return "center";
12552
12552
  }
12553
12553
  if (itemsPerPageIsVisible.value)
12554
12554
  return "right";
12555
- if (props.hasColumnManager)
12555
+ if (props.hasColumnsManager)
12556
12556
  return "left";
12557
12557
  return "";
12558
12558
  });
@@ -12586,7 +12586,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
12586
12586
  group: unref(searchGroupValue),
12587
12587
  onInput: _cache[2] || (_cache[2] = ($event) => checkRefresh())
12588
12588
  }, null, 8, ["modelValue", "group"])) : createCommentVNode("", true),
12589
- __props.hasColumnManager ? (openBlock(), createBlock(ckButton, {
12589
+ __props.hasColumnsManager ? (openBlock(), createBlock(ckButton, {
12590
12590
  key: 3,
12591
12591
  icon: "columns",
12592
12592
  type: "filled",
@@ -12598,7 +12598,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
12598
12598
  };
12599
12599
  }
12600
12600
  });
12601
- var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-a15c3d80"]]);
12601
+ var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-2936ca90"]]);
12602
12602
  var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
12603
12603
  const _hoisted_1$4 = { class: "ck-table__pagination" };
12604
12604
  const _hoisted_2$2 = ["onClick"];
@@ -12815,7 +12815,7 @@ const _hoisted_6 = { key: 1 };
12815
12815
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
12816
12816
  props: {
12817
12817
  columns: { type: [Array, Object], required: true, default: () => [] },
12818
- hasColumnManager: { type: Boolean, default: false },
12818
+ hasColumnsManager: { type: Boolean, default: false },
12819
12819
  currentPage: { type: Number, default: 0 },
12820
12820
  itemsPerPage: { type: Number, default: 40 },
12821
12821
  listLength: { type: Number, default: 0 },
@@ -12875,7 +12875,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
12875
12875
  }
12876
12876
  return (_ctx, _cache) => {
12877
12877
  return openBlock(), createElementBlock(Fragment, null, [
12878
- __props.hasColumnManager && unref(columnsAreObj) ? (openBlock(), createBlock(TableColumnsManager, {
12878
+ __props.hasColumnsManager && unref(columnsAreObj) ? (openBlock(), createBlock(TableColumnsManager, {
12879
12879
  key: 0,
12880
12880
  modelValue: IsPopupActive.value.columnsManager,
12881
12881
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => IsPopupActive.value.columnsManager = $event),
@@ -12889,14 +12889,14 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
12889
12889
  search: unref(searchLocal),
12890
12890
  "onUpdate:search": _cache[1] || (_cache[1] = ($event) => isRef(searchLocal) ? searchLocal.value = $event : null),
12891
12891
  currentPage: __props.currentPage,
12892
- hasColumnManager: __props.hasColumnManager,
12892
+ hasColumnsManager: __props.hasColumnsManager,
12893
12893
  itemsPerPage: __props.itemsPerPage,
12894
12894
  listLength: __props.listLength,
12895
12895
  hideRefreshBtn: __props.hideRefreshBtn,
12896
12896
  hideItemsPerPage: __props.hideItemsPerPage,
12897
12897
  onRefreshList: _cache[2] || (_cache[2] = ($event) => refreshList($event)),
12898
12898
  onOpenColumnsManager: _cache[3] || (_cache[3] = ($event) => openColumnsManager())
12899
- }, null, 8, ["search", "currentPage", "hasColumnManager", "itemsPerPage", "listLength", "hideRefreshBtn", "hideItemsPerPage"])) : createCommentVNode("", true),
12899
+ }, null, 8, ["search", "currentPage", "hasColumnsManager", "itemsPerPage", "listLength", "hideRefreshBtn", "hideItemsPerPage"])) : createCommentVNode("", true),
12900
12900
  _ctx.$slots.header ? (openBlock(), createElementBlock("div", _hoisted_3, [
12901
12901
  renderSlot(_ctx.$slots, "header", {}, void 0, true)
12902
12902
  ])) : createCommentVNode("", true)
@@ -12935,7 +12935,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
12935
12935
  };
12936
12936
  }
12937
12937
  });
12938
- var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-3084c768"]]);
12938
+ var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-4abe8990"]]);
12939
12939
  var ckTd_vue_vue_type_style_index_0_scoped_true_lang = "";
12940
12940
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
12941
12941
  props: {