cleek 2.3.16 → 2.3.17

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, [
@@ -16662,6 +16662,7 @@ tippy$1.setDefaultProps({
16662
16662
  var tippy = "";
16663
16663
  var ckTooltip_vue_vue_type_style_index_0_scoped_true_lang = "";
16664
16664
  const _hoisted_1 = {
16665
+ key: 0,
16665
16666
  class: "ck-tooltip",
16666
16667
  tabindex: "0"
16667
16668
  };
@@ -16670,20 +16671,27 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16670
16671
  text: { type: String, required: true }
16671
16672
  },
16672
16673
  setup(__props) {
16673
- onMounted(() => {
16674
+ const props = __props;
16675
+ watch(() => props.text, (val) => {
16676
+ setText();
16677
+ });
16678
+ function setText() {
16674
16679
  const context = getCurrentInstance().ctx;
16675
16680
  tippy$1(context.$el, {
16676
16681
  content: context.text
16677
16682
  });
16683
+ }
16684
+ onMounted(() => {
16685
+ setText();
16678
16686
  });
16679
16687
  return (_ctx, _cache) => {
16680
- return openBlock(), createElementBlock("div", _hoisted_1, [
16688
+ return __props.text ? (openBlock(), createElementBlock("div", _hoisted_1, [
16681
16689
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
16682
- ]);
16690
+ ])) : renderSlot(_ctx.$slots, "default", { key: 1 }, void 0, true);
16683
16691
  };
16684
16692
  }
16685
16693
  });
16686
- var ckTooltip = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-00df84d4"]]);
16694
+ var ckTooltip = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7c33bc7a"]]);
16687
16695
  var events = {
16688
16696
  OPEN_MODAL: "OPEN_MODAL",
16689
16697
  CLOSE_MODAL: "CLOSE_MODAL",