cleek 2.4.1 → 2.4.2

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
@@ -29,7 +29,7 @@ var __objRest = (source2, exclude) => {
29
29
  }
30
30
  return target;
31
31
  };
32
- import { pushScopeId, popScopeId, defineComponent, nextTick as nextTick$1, openBlock, createBlock, withScopeId, resolveComponent, createElementBlock, normalizeClass, normalizeStyle, withKeys, createElementVNode, Fragment, renderSlot, createCommentVNode, mergeProps, withCtx, createVNode, ref, createApp, h, toDisplayString, computed as computed$2, unref as unref$1, createTextVNode, watch, onMounted, onBeforeUnmount, getCurrentInstance, withDirectives, isRef as isRef$1, vModelDynamic, renderList, withModifiers, vModelRadio, vModelSelect, vModelCheckbox, vModelText } from "vue";
32
+ import { pushScopeId, popScopeId, defineComponent, nextTick as nextTick$1, openBlock, createBlock, withScopeId, resolveComponent, createElementBlock, normalizeClass, normalizeStyle, withKeys, createElementVNode, Fragment, renderSlot, createCommentVNode, mergeProps, withCtx, createVNode, ref, createApp, h, toDisplayString, computed as computed$2, unref as unref$1, createTextVNode, watch, onMounted, onBeforeUnmount, getCurrentInstance, withDirectives, isRef as isRef$1, vModelDynamic, renderList, withModifiers, vModelRadio, vModelSelect, vModelCheckbox, vModelText, Teleport } from "vue";
33
33
  function getBasePlacement(placement) {
34
34
  return placement.split("-")[0];
35
35
  }
@@ -2339,10 +2339,10 @@ const _hoisted_2$1$1 = {
2339
2339
  class: "v-popper__inner"
2340
2340
  };
2341
2341
  const _hoisted_3$8 = /* @__PURE__ */ createElementVNode("div", { class: "v-popper__arrow-outer" }, null, -1);
2342
- const _hoisted_4$6 = /* @__PURE__ */ createElementVNode("div", { class: "v-popper__arrow-inner" }, null, -1);
2342
+ const _hoisted_4$5 = /* @__PURE__ */ createElementVNode("div", { class: "v-popper__arrow-inner" }, null, -1);
2343
2343
  const _hoisted_5$3 = [
2344
2344
  _hoisted_3$8,
2345
- _hoisted_4$6
2345
+ _hoisted_4$5
2346
2346
  ];
2347
2347
  function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
2348
2348
  const _component_ResizeObserver = resolveComponent("ResizeObserver");
@@ -22233,7 +22233,7 @@ const _hoisted_1$c = {
22233
22233
  };
22234
22234
  const _hoisted_2$8 = /* @__PURE__ */ createElementVNode("div", { class: "blackout" }, null, -1);
22235
22235
  const _hoisted_3$5 = { class: "ck-popup__slot-header" };
22236
- const _hoisted_4$5 = {
22236
+ const _hoisted_4$4 = {
22237
22237
  key: 0,
22238
22238
  class: "ck-popup__title"
22239
22239
  };
@@ -22306,7 +22306,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
22306
22306
  style: normalizeStyle(unref$1(computedStyleContent))
22307
22307
  }, [
22308
22308
  createElementVNode("div", _hoisted_3$5, [
22309
- __props.title ? (openBlock(), createElementBlock("h3", _hoisted_4$5, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
22309
+ __props.title ? (openBlock(), createElementBlock("h3", _hoisted_4$4, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
22310
22310
  renderSlot(_ctx.$slots, "header"),
22311
22311
  !(__props.notCloseBtn || __props.notClose) ? (openBlock(), createBlock(CkIcon, {
22312
22312
  key: 1,
@@ -22431,7 +22431,7 @@ const _hoisted_3$4 = {
22431
22431
  key: 0,
22432
22432
  class: "ck-table__header--slot"
22433
22433
  };
22434
- const _hoisted_4$4 = { key: 0 };
22434
+ const _hoisted_4$3 = { key: 0 };
22435
22435
  const _hoisted_5$1 = { key: 1 };
22436
22436
  const _hoisted_6$1 = {
22437
22437
  key: 2,
@@ -22578,7 +22578,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
22578
22578
  createElementVNode("table", {
22579
22579
  class: normalizeClass(["ck-table__table", unref$1(computedClassTable)])
22580
22580
  }, [
22581
- unref$1(filteredColumnsList).length && !(_ctx.$slots.mobile && unref$1(isMobileVisible)) ? (openBlock(), createElementBlock("thead", _hoisted_4$4, [
22581
+ unref$1(filteredColumnsList).length && !(_ctx.$slots.mobile && unref$1(isMobileVisible)) ? (openBlock(), createElementBlock("thead", _hoisted_4$3, [
22582
22582
  createVNode(CkTr, null, {
22583
22583
  default: withCtx(() => [
22584
22584
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(filteredColumnsList), (col) => {
@@ -22831,7 +22831,7 @@ const _withScopeId$2 = (n) => (pushScopeId("data-v-2e09b238"), n = n(), popScope
22831
22831
  const _hoisted_1$7 = ["onKeyup"];
22832
22832
  const _hoisted_2$5 = ["name", "value", "disabled"];
22833
22833
  const _hoisted_3$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "c-Radio__element" }, null, -1));
22834
- const _hoisted_4$3 = {
22834
+ const _hoisted_4$2 = {
22835
22835
  key: 0,
22836
22836
  class: "c-Radio__label"
22837
22837
  };
@@ -22888,7 +22888,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
22888
22888
  [vModelRadio, unref$1(value)]
22889
22889
  ]),
22890
22890
  _hoisted_3$3,
22891
- option.label ? (openBlock(), createElementBlock("span", _hoisted_4$3, toDisplayString(option.label), 1)) : createCommentVNode("", true)
22891
+ option.label ? (openBlock(), createElementBlock("span", _hoisted_4$2, toDisplayString(option.label), 1)) : createCommentVNode("", true)
22892
22892
  ], 16, _hoisted_1$7);
22893
22893
  }), 128);
22894
22894
  };
@@ -23171,7 +23171,7 @@ const _withScopeId$1 = (n) => (pushScopeId("data-v-f66bfcc0"), n = n(), popScope
23171
23171
  const _hoisted_1$4 = ["disabled"];
23172
23172
  const _hoisted_2$3 = { class: "ck-switch__slider-container" };
23173
23173
  const _hoisted_3$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-switch__slider" }, null, -1));
23174
- const _hoisted_4$2 = {
23174
+ const _hoisted_4$1 = {
23175
23175
  key: 0,
23176
23176
  class: "ck-switch__content"
23177
23177
  };
@@ -23258,7 +23258,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
23258
23258
  "icon-pack": __props.iconPack
23259
23259
  }, null, 8, ["icon", "icon-pack", "class"])) : createCommentVNode("", true)
23260
23260
  ]),
23261
- _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_4$2, [
23261
+ _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_4$1, [
23262
23262
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
23263
23263
  ])) : createCommentVNode("", true)
23264
23264
  ], 16);
@@ -23399,7 +23399,7 @@ const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
23399
23399
  height: "7rem"
23400
23400
  })
23401
23401
  ], -1));
23402
- const _hoisted_4$1 = { class: "ck-confirm__title" };
23402
+ const _hoisted_4 = { class: "ck-confirm__title" };
23403
23403
  const _hoisted_5 = { class: "ck-confirm__message" };
23404
23404
  const _hoisted_6 = { class: "ck-confirm__buttons-container" };
23405
23405
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
@@ -23430,7 +23430,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
23430
23430
  return openBlock(), createElementBlock("div", _hoisted_1$1, [
23431
23431
  createElementVNode("div", _hoisted_2$1, [
23432
23432
  _hoisted_3$1,
23433
- createElementVNode("div", _hoisted_4$1, toDisplayString(title.value), 1),
23433
+ createElementVNode("div", _hoisted_4, toDisplayString(title.value), 1),
23434
23434
  createElementVNode("div", _hoisted_5, toDisplayString(msg.value), 1),
23435
23435
  createElementVNode("div", _hoisted_6, [
23436
23436
  createElementVNode("button", {
@@ -23449,13 +23449,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
23449
23449
  });
23450
23450
  var CkConfirmComponent = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-bc51fc7a"]]);
23451
23451
  var CkNotify_vue_vue_type_style_index_0_scoped_true_lang = "";
23452
- const _hoisted_1 = {
23453
- key: 0,
23454
- class: "ck-notify__container"
23455
- };
23456
- const _hoisted_2 = { class: "ck-notify__title" };
23457
- const _hoisted_3 = { class: "close-btn" };
23458
- const _hoisted_4 = { class: "ck-notify__text" };
23452
+ const _hoisted_1 = { class: "ck-notify__title" };
23453
+ const _hoisted_2 = { class: "close-btn" };
23454
+ const _hoisted_3 = { class: "ck-notify__text" };
23459
23455
  const _sfc_main = /* @__PURE__ */ defineComponent({
23460
23456
  setup(__props, { expose }) {
23461
23457
  const isActive = ref(true);
@@ -23468,25 +23464,28 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
23468
23464
  color
23469
23465
  });
23470
23466
  return (_ctx, _cache) => {
23471
- return isActive.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
23467
+ return isActive.value ? (openBlock(), createBlock(Teleport, {
23468
+ key: 0,
23469
+ to: "body"
23470
+ }, [
23472
23471
  createElementVNode("div", {
23473
23472
  class: "ck-notify",
23474
23473
  style: normalizeStyle({ "background-color": color.value }),
23475
23474
  onClick: _cache[0] || (_cache[0] = ($event) => isActive.value = false)
23476
23475
  }, [
23477
- createElementVNode("div", _hoisted_2, [
23478
- createElementVNode("div", _hoisted_3, [
23476
+ createElementVNode("div", _hoisted_1, [
23477
+ createElementVNode("div", _hoisted_2, [
23479
23478
  createVNode(CkIcon, { icon: "times" })
23480
23479
  ]),
23481
23480
  createTextVNode(toDisplayString(title.value), 1)
23482
23481
  ]),
23483
- createElementVNode("div", _hoisted_4, toDisplayString(text2.value), 1)
23482
+ createElementVNode("div", _hoisted_3, toDisplayString(text2.value), 1)
23484
23483
  ], 4)
23485
23484
  ])) : createCommentVNode("", true);
23486
23485
  };
23487
23486
  }
23488
23487
  });
23489
- var CkNotifyComponent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0d3144b1"]]);
23488
+ var CkNotifyComponent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-286f3370"]]);
23490
23489
  const defaultDuration = 2e3;
23491
23490
  var ckNotify = {
23492
23491
  confirm({