cleek 2.3.16 → 2.3.19

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, [
@@ -16670,11 +16670,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16670
16670
  text: { type: String, required: true }
16671
16671
  },
16672
16672
  setup(__props) {
16673
- onMounted(() => {
16674
- const context = getCurrentInstance().ctx;
16673
+ const props = __props;
16674
+ let context;
16675
+ watch(() => props.text, (newValue, oldValue) => {
16676
+ setText();
16677
+ });
16678
+ const setText = () => {
16675
16679
  tippy$1(context.$el, {
16676
16680
  content: context.text
16677
16681
  });
16682
+ };
16683
+ onMounted(() => {
16684
+ context = getCurrentInstance().ctx;
16685
+ if (!props.text)
16686
+ return;
16687
+ setText();
16678
16688
  });
16679
16689
  return (_ctx, _cache) => {
16680
16690
  return openBlock(), createElementBlock("div", _hoisted_1, [
@@ -16683,7 +16693,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16683
16693
  };
16684
16694
  }
16685
16695
  });
16686
- var ckTooltip = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-00df84d4"]]);
16696
+ var ckTooltip = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1735aa02"]]);
16687
16697
  var events = {
16688
16698
  OPEN_MODAL: "OPEN_MODAL",
16689
16699
  CLOSE_MODAL: "CLOSE_MODAL",