cleek 2.3.62 → 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.
Files changed (38) hide show
  1. package/dist/cleek.es.js +31 -32
  2. package/dist/cleek.umd.js +3 -3
  3. package/dist/style.css +1 -1
  4. package/package.json +1 -1
  5. package/dist/components/ck-button.vue.d.ts +0 -49
  6. package/dist/components/ck-checkbox.vue.d.ts +0 -26
  7. package/dist/components/ck-chip.vue.d.ts +0 -27
  8. package/dist/components/ck-div.vue.d.ts +0 -19
  9. package/dist/components/ck-dropdown/ck-dropdown.vue.d.ts +0 -17
  10. package/dist/components/ck-icon.vue.d.ts +0 -39
  11. package/dist/components/ck-img.vue.d.ts +0 -39
  12. package/dist/components/ck-input.vue.d.ts +0 -72
  13. package/dist/components/ck-label.vue.d.ts +0 -19
  14. package/dist/components/ck-navbar/ck-navbar.vue.d.ts +0 -17
  15. package/dist/components/ck-notify/ck-notify.d.ts +0 -20
  16. package/dist/components/ck-notify/components/CkConfirm.vue.d.ts +0 -9
  17. package/dist/components/ck-notify/components/CkNotify.vue.d.ts +0 -6
  18. package/dist/components/ck-popup.vue.d.ts +0 -41
  19. package/dist/components/ck-radio.vue.d.ts +0 -34
  20. package/dist/components/ck-select.vue.d.ts +0 -69
  21. package/dist/components/ck-sidebar.vue.d.ts +0 -25
  22. package/dist/components/ck-switch-options.vue.d.ts +0 -42
  23. package/dist/components/ck-switch.vue.d.ts +0 -31
  24. package/dist/components/ck-table/ck-table.vue.d.ts +0 -56
  25. package/dist/components/ck-table/ck-td.vue.d.ts +0 -43
  26. package/dist/components/ck-table/ck-th.vue.d.ts +0 -17
  27. package/dist/components/ck-table/ck-tr.vue.d.ts +0 -2
  28. package/dist/components/ck-table/inner-components/ck-table__columns-manager.vue.d.ts +0 -24
  29. package/dist/components/ck-table/inner-components/ck-table__header-items.vue.d.ts +0 -39
  30. package/dist/components/ck-table/inner-components/ck-table__pagination.vue.d.ts +0 -28
  31. package/dist/components/ck-table/inner-components/ck-table__title.vue.d.ts +0 -16
  32. package/dist/components/ck-textarea.vue.d.ts +0 -23
  33. package/dist/components/index.d.ts +0 -22
  34. package/dist/hooks/windowWidth.d.ts +0 -3
  35. package/dist/types/cleek-options.d.ts +0 -12
  36. package/dist/types/table.d.ts +0 -6
  37. package/dist/utils/functions.d.ts +0 -14
  38. package/dist/utils/globalVariables.d.ts +0 -6
package/dist/cleek.es.js CHANGED
@@ -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);
@@ -23389,7 +23389,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
23389
23389
  });
23390
23390
  var ckTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-373450fe"]]);
23391
23391
  var CkConfirm_vue_vue_type_style_index_0_scoped_true_lang = "";
23392
- const _withScopeId = (n) => (pushScopeId("data-v-559f1615"), n = n(), popScopeId(), n);
23392
+ const _withScopeId = (n) => (pushScopeId("data-v-bc51fc7a"), n = n(), popScopeId(), n);
23393
23393
  const _hoisted_1$1 = { class: "ck-confirm--background" };
23394
23394
  const _hoisted_2$1 = { class: "ck-confirm" };
23395
23395
  const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-confirm__icon" }, [
@@ -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", {
@@ -23447,12 +23447,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
23447
23447
  };
23448
23448
  }
23449
23449
  });
23450
- var CkConfirmComponent = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-559f1615"]]);
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 = { class: "ck-notify__container" };
23453
- const _hoisted_2 = { class: "ck-notify__title" };
23454
- const _hoisted_3 = { class: "close-btn" };
23455
- 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" };
23456
23455
  const _sfc_main = /* @__PURE__ */ defineComponent({
23457
23456
  setup(__props, { expose }) {
23458
23457
  const isActive = ref(true);
@@ -23469,26 +23468,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
23469
23468
  key: 0,
23470
23469
  to: "body"
23471
23470
  }, [
23472
- createElementVNode("div", _hoisted_1, [
23473
- createElementVNode("div", {
23474
- class: "ck-notify",
23475
- style: normalizeStyle({ "background-color": color.value }),
23476
- onClick: _cache[0] || (_cache[0] = ($event) => isActive.value.value = false)
23477
- }, [
23471
+ createElementVNode("div", {
23472
+ class: "ck-notify",
23473
+ style: normalizeStyle({ "background-color": color.value }),
23474
+ onClick: _cache[0] || (_cache[0] = ($event) => isActive.value = false)
23475
+ }, [
23476
+ createElementVNode("div", _hoisted_1, [
23478
23477
  createElementVNode("div", _hoisted_2, [
23479
- createElementVNode("div", _hoisted_3, [
23480
- createVNode(CkIcon, { icon: "times" })
23481
- ]),
23482
- createTextVNode(toDisplayString(title.value), 1)
23478
+ createVNode(CkIcon, { icon: "times" })
23483
23479
  ]),
23484
- createElementVNode("div", _hoisted_4, toDisplayString(text2.value), 1)
23485
- ], 4)
23486
- ])
23480
+ createTextVNode(toDisplayString(title.value), 1)
23481
+ ]),
23482
+ createElementVNode("div", _hoisted_3, toDisplayString(text2.value), 1)
23483
+ ], 4)
23487
23484
  ])) : createCommentVNode("", true);
23488
23485
  };
23489
23486
  }
23490
23487
  });
23491
- var CkNotifyComponent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-515c0b0b"]]);
23488
+ var CkNotifyComponent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-286f3370"]]);
23492
23489
  const defaultDuration = 2e3;
23493
23490
  var ckNotify = {
23494
23491
  confirm({
@@ -23523,8 +23520,10 @@ var ckNotify = {
23523
23520
  instance.title = title;
23524
23521
  instance.text = text2;
23525
23522
  instance.color = color;
23523
+ console.log("duration", duration);
23526
23524
  setTimeout(() => {
23527
23525
  instance.$el.remove();
23526
+ console.log("cierro");
23528
23527
  }, duration);
23529
23528
  },
23530
23529
  notifySuccess(text2 = "", title = "\xC9xito") {