cleek 2.3.15 → 2.3.18

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
@@ -11370,7 +11370,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
11370
11370
  };
11371
11371
  }
11372
11372
  });
11373
- var ckNotify = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-4eba623e"]]);
11373
+ var ckNotify = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-e073e444"]]);
11374
11374
  const _hoisted_1$i = { class: "ck-tr" };
11375
11375
  function render$1(_ctx, _cache) {
11376
11376
  return openBlock(), createElementBlock("tr", _hoisted_1$i, [
@@ -13366,7 +13366,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
13366
13366
  showRefreshBtn: { type: Boolean, default: false },
13367
13367
  hideItemsPerPage: { type: Boolean, default: false },
13368
13368
  notFullWidth: { type: Boolean, default: false },
13369
- cellPadding: { type: String, "m": void 0 },
13369
+ cellPadding: { type: String, defaul: void 0 },
13370
+ cellPaddingY: { type: String, defaul: void 0 },
13370
13371
  mobileMaxWidth: { type: [Number, String], default: 800 }
13371
13372
  },
13372
13373
  emits: ["refreshList", "update:search", "update:currentPage"],
@@ -13434,6 +13435,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
13434
13435
  const list = [];
13435
13436
  if (props.cellPadding)
13436
13437
  list.push(`table__cell-padding--${props.cellPadding}`);
13438
+ if (props.cellPaddingY)
13439
+ list.push(`table__cell-padding-y--${props.cellPaddingY}`);
13437
13440
  if (props.notFullWidth)
13438
13441
  list.push("not-full-width");
13439
13442
  return list;
@@ -13507,7 +13510,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
13507
13510
  };
13508
13511
  }
13509
13512
  });
13510
- var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-236cfb7e"]]);
13513
+ var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-65c343ce"]]);
13511
13514
  var ckTd_vue_vue_type_style_index_0_scoped_true_lang = "";
13512
13515
  const _sfc_main$8 = /* @__PURE__ */ defineComponent({
13513
13516
  props: {
@@ -16667,11 +16670,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16667
16670
  text: { type: String, required: true }
16668
16671
  },
16669
16672
  setup(__props) {
16670
- onMounted(() => {
16671
- const context = getCurrentInstance().ctx;
16673
+ const props = __props;
16674
+ let context;
16675
+ watch(() => props.text, (newValue, oldValue) => {
16676
+ setText();
16677
+ });
16678
+ const setText = () => {
16672
16679
  tippy$1(context.$el, {
16673
16680
  content: context.text
16674
16681
  });
16682
+ };
16683
+ onMounted(() => {
16684
+ context = getCurrentInstance().ctx;
16685
+ if (!props.text)
16686
+ return;
16687
+ setText();
16675
16688
  });
16676
16689
  return (_ctx, _cache) => {
16677
16690
  return openBlock(), createElementBlock("div", _hoisted_1, [
@@ -16680,7 +16693,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16680
16693
  };
16681
16694
  }
16682
16695
  });
16683
- var ckTooltip = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-00df84d4"]]);
16696
+ var ckTooltip = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0ef5192d"]]);
16684
16697
  var events = {
16685
16698
  OPEN_MODAL: "OPEN_MODAL",
16686
16699
  CLOSE_MODAL: "CLOSE_MODAL",