cleek 2.3.20 → 2.3.23

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.
@@ -1,4 +1,4 @@
1
- h1, h2, h3, h4, h5, h6, div, span
1
+ h1, h2, h3, h4, h5, h6, div, span, p, ul, ol, li
2
2
  margin 0
3
3
  padding 0
4
4
  box-sizing border-box
package/dist/cleek.es.js CHANGED
@@ -11839,7 +11839,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
11839
11839
  });
11840
11840
  const itemsPerPageEnd = computed$2(() => {
11841
11841
  const value = props.currentPage * props.itemsPerPage;
11842
- if (value > props.listLength)
11842
+ if (!itemsPerPage || value > props.listLength)
11843
11843
  return props.listLength;
11844
11844
  return value;
11845
11845
  });
@@ -11901,7 +11901,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
11901
11901
  };
11902
11902
  }
11903
11903
  });
11904
- var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-be0cc8e8"]]);
11904
+ var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-eb24f80e"]]);
11905
11905
  var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
11906
11906
  const _hoisted_1$c = { class: "ck-table__pagination" };
11907
11907
  const _hoisted_2$7 = ["onClick"];
@@ -12907,6 +12907,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
12907
12907
  modelValue: { type: Boolean },
12908
12908
  title: { type: String, default: void 0 },
12909
12909
  confirmButtons: { type: Boolean, default: false },
12910
+ notClose: { type: Boolean, default: false },
12910
12911
  notCloseBtn: { type: Boolean, default: false },
12911
12912
  notCloseByBg: { type: Boolean, default: false },
12912
12913
  preventCloseOnCancel: { type: Boolean, default: false }
@@ -12931,7 +12932,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
12931
12932
  emits("accept");
12932
12933
  }
12933
12934
  function onBgClick() {
12934
- if (props.notCloseByBg)
12935
+ if (props.notCloseByBg || props.notClose)
12935
12936
  return;
12936
12937
  isActive.value = false;
12937
12938
  }
@@ -12950,7 +12951,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
12950
12951
  createElementVNode("div", _hoisted_3$3, [
12951
12952
  __props.title ? (openBlock(), createElementBlock("h3", _hoisted_4$3, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
12952
12953
  renderSlot(_ctx.$slots, "header"),
12953
- !__props.notCloseBtn ? (openBlock(), createBlock(ckIcon, {
12954
+ !(__props.notCloseBtn || __props.notClose) ? (openBlock(), createBlock(ckIcon, {
12954
12955
  key: 1,
12955
12956
  class: "close",
12956
12957
  icon: "times",