cleek 2.7.11 → 2.7.12

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
@@ -81620,7 +81620,7 @@ const _hoisted_1$p = {
81620
81620
  key: 0,
81621
81621
  class: "help-text"
81622
81622
  };
81623
- const _hoisted_2$e = {
81623
+ const _hoisted_2$f = {
81624
81624
  key: 0,
81625
81625
  class: "pl-1"
81626
81626
  };
@@ -81658,7 +81658,7 @@ const _sfc_main$y = defineComponent$2({
81658
81658
  onClick: _cache[0] || (_cache[0] = ($event) => emits("click", $event))
81659
81659
  }, [
81660
81660
  createTextVNode$2(toDisplayString$1(computedDate.value) + " ", 1),
81661
- computedTime.value ? (openBlock$2(), createElementBlock$2("span", _hoisted_2$e, " | " + toDisplayString$1(computedTime.value), 1)) : createCommentVNode$2("", true)
81661
+ computedTime.value ? (openBlock$2(), createElementBlock$2("span", _hoisted_2$f, " | " + toDisplayString$1(computedTime.value), 1)) : createCommentVNode$2("", true)
81662
81662
  ])) : withDirectives$1((openBlock$2(), createElementBlock$2("div", {
81663
81663
  key: 2,
81664
81664
  class: "ck-datetime-shower",
@@ -81675,7 +81675,7 @@ var ckDatetimeShower = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "
81675
81675
  var ckTimeShower_vue_vue_type_style_index_0_scoped_true_lang = "";
81676
81676
  const _withScopeId$5 = (n2) => (pushScopeId$2("data-v-4d15db47"), n2 = n2(), popScopeId$2(), n2);
81677
81677
  const _hoisted_1$o = { class: "ck-time-shower" };
81678
- const _hoisted_2$d = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("span", { class: "hs-text" }, " hs ", -1));
81678
+ const _hoisted_2$e = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("span", { class: "hs-text" }, " hs ", -1));
81679
81679
  const _sfc_main$x = defineComponent$2({
81680
81680
  __name: "ck-time-shower",
81681
81681
  props: {
@@ -81690,7 +81690,7 @@ const _sfc_main$x = defineComponent$2({
81690
81690
  ], 64)) : (openBlock$2(), createElementBlock$2(Fragment$2, { key: 1 }, [
81691
81691
  createTextVNode$2(" | " + toDisplayString$1(unref$3(qmDate).presentTime(_ctx.time)), 1)
81692
81692
  ], 64)),
81693
- _hoisted_2$d
81693
+ _hoisted_2$e
81694
81694
  ]);
81695
81695
  };
81696
81696
  }
@@ -82473,6 +82473,8 @@ const _sfc_main$u = defineComponent$2({
82473
82473
  if (props.color && hooks9.isColorTemplateVariable(props.color)) {
82474
82474
  classes.push(`ck-component__color--${props.color}`);
82475
82475
  }
82476
+ if (props.size)
82477
+ classes.push(`ck-icon__size-${props.size}`);
82476
82478
  return classes;
82477
82479
  });
82478
82480
  const computedStyle = computed$3(() => {
@@ -82496,6 +82498,7 @@ const _sfc_main$u = defineComponent$2({
82496
82498
  } else if (props.color && hooks9.isColorTemplateVariable(props.color)) {
82497
82499
  classes.push(`ck-component__color-background--${props.color}`);
82498
82500
  }
82501
+ console.log("TAMA\xD1O", props.icon, props.size);
82499
82502
  if (props.size)
82500
82503
  classes.push(`ck-icon__cleek-small`);
82501
82504
  if (props.size === "m")
@@ -82527,7 +82530,7 @@ const _sfc_main$u = defineComponent$2({
82527
82530
  };
82528
82531
  }
82529
82532
  });
82530
- var CkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-a658a7e0"]]);
82533
+ var CkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-0dd0559c"]]);
82531
82534
  var ckTr_vue_vue_type_style_index_0_scoped_true_lang = "";
82532
82535
  const _sfc_main$t = {};
82533
82536
  const _hoisted_1$m = { class: "ck-tr" };
@@ -82905,8 +82908,8 @@ const _sfc_main$o = defineComponent$2({
82905
82908
  var CkLabel = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-3eb67ac4"]]);
82906
82909
  var ckInput_vue_vue_type_style_index_0_scoped_true_lang = "";
82907
82910
  const _hoisted_1$i = { class: "ck-input__content" };
82908
- const _hoisted_2$c = ["autocomplete", "placeholder", "disabled"];
82909
- const _hoisted_3$a = ["autocomplete", "type", "placeholder", "disabled"];
82911
+ const _hoisted_2$d = ["autocomplete", "placeholder", "disabled"];
82912
+ const _hoisted_3$b = ["autocomplete", "type", "placeholder", "disabled"];
82910
82913
  const defaultType = "text";
82911
82914
  const plusMinusButtonsDefaultWithInput = "120px";
82912
82915
  const plusMinusButtonsDefaultAlign = "center";
@@ -83133,7 +83136,7 @@ const _sfc_main$n = defineComponent$2({
83133
83136
  onClick: _cache[4] || (_cache[4] = ($event) => onClick($event)),
83134
83137
  onFocus: _cache[5] || (_cache[5] = ($event) => emits("focus", $event)),
83135
83138
  onBlur: _cache[6] || (_cache[6] = ($event) => emits("blur", $event))
83136
- }, null, 46, _hoisted_2$c)), [
83139
+ }, null, 46, _hoisted_2$d)), [
83137
83140
  [vModelText, value.value]
83138
83141
  ]) : withDirectives$1((openBlock$2(), createElementBlock$2("input", {
83139
83142
  key: 3,
@@ -83151,7 +83154,7 @@ const _sfc_main$n = defineComponent$2({
83151
83154
  onClick: _cache[10] || (_cache[10] = ($event) => onClick($event)),
83152
83155
  onFocus: _cache[11] || (_cache[11] = ($event) => emits("focus", $event)),
83153
83156
  onBlur: _cache[12] || (_cache[12] = ($event) => emits("blur", $event))
83154
- }, null, 46, _hoisted_3$a)), [
83157
+ }, null, 46, _hoisted_3$b)), [
83155
83158
  [vModelDynamic, value.value]
83156
83159
  ]),
83157
83160
  _ctx.type === "password" ? (openBlock$2(), createElementBlock$2("div", {
@@ -83313,8 +83316,8 @@ var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "
83313
83316
  var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
83314
83317
  const _withScopeId$4 = (n2) => (pushScopeId$2("data-v-27c654d0"), n2 = n2(), popScopeId$2(), n2);
83315
83318
  const _hoisted_1$h = { class: "ck-table__pagination" };
83316
- const _hoisted_2$b = { class: "ck-table__pagination--numbers-container" };
83317
- const _hoisted_3$9 = ["onClick"];
83319
+ const _hoisted_2$c = { class: "ck-table__pagination--numbers-container" };
83320
+ const _hoisted_3$a = ["onClick"];
83318
83321
  const _hoisted_4$7 = { class: "ck-table__pagination-input-container" };
83319
83322
  const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-table__pagination--input-pointer" }, null, -1));
83320
83323
  const _hoisted_6$2 = ["onClick"];
@@ -83429,12 +83432,12 @@ const _sfc_main$l = defineComponent$2({
83429
83432
  icon: hasArrowLeft.value ? "angle-left" : "grip-lines-vertical"
83430
83433
  }, null, 8, ["icon"])
83431
83434
  ], 2),
83432
- createElementVNode("div", _hoisted_2$b, [
83435
+ createElementVNode("div", _hoisted_2$c, [
83433
83436
  (openBlock$2(true), createElementBlock$2(Fragment$2, null, renderList$1(listLeft.value, (num) => {
83434
83437
  return openBlock$2(), createElementBlock$2("div", {
83435
83438
  class: "ck-table__pagination-item--left",
83436
83439
  onClick: ($event) => currentPageLocal.value = num
83437
- }, toDisplayString$1(num), 9, _hoisted_3$9);
83440
+ }, toDisplayString$1(num), 9, _hoisted_3$a);
83438
83441
  }), 256)),
83439
83442
  createElementVNode("div", _hoisted_4$7, [
83440
83443
  withDirectives$1(createElementVNode("input", {
@@ -83726,8 +83729,8 @@ const computed = (getterOrOptions, debugOptions) => {
83726
83729
  var ckCheckbox_vue_vue_type_style_index_0_scoped_true_lang = "";
83727
83730
  const _withScopeId$3 = (n2) => (pushScopeId$2("data-v-1fffee96"), n2 = n2(), popScopeId$2(), n2);
83728
83731
  const _hoisted_1$g = ["disabled", "checked"];
83729
- const _hoisted_2$a = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-checkbox__element" }, null, -1));
83730
- const _hoisted_3$8 = {
83732
+ const _hoisted_2$b = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-checkbox__element" }, null, -1));
83733
+ const _hoisted_3$9 = {
83731
83734
  key: 0,
83732
83735
  class: "c-Checkbox__label"
83733
83736
  };
@@ -83782,8 +83785,8 @@ const _sfc_main$k = defineComponent$2({
83782
83785
  onChange2($event);
83783
83786
  })
83784
83787
  }, null, 40, _hoisted_1$g),
83785
- _hoisted_2$a,
83786
- _ctx.$slots.default ? (openBlock$2(), createElementBlock$2("span", _hoisted_3$8, [
83788
+ _hoisted_2$b,
83789
+ _ctx.$slots.default ? (openBlock$2(), createElementBlock$2("span", _hoisted_3$9, [
83787
83790
  renderSlot$2(_ctx.$slots, "default", {}, void 0, true)
83788
83791
  ])) : createCommentVNode$2("", true)
83789
83792
  ], 16);
@@ -83793,8 +83796,8 @@ const _sfc_main$k = defineComponent$2({
83793
83796
  var CkCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-1fffee96"]]);
83794
83797
  var ckPopup_vue_vue_type_style_index_0_lang = "";
83795
83798
  const _hoisted_1$f = { class: "ck-popup" };
83796
- const _hoisted_2$9 = /* @__PURE__ */ createElementVNode("div", { class: "blackout" }, null, -1);
83797
- const _hoisted_3$7 = {
83799
+ const _hoisted_2$a = /* @__PURE__ */ createElementVNode("div", { class: "blackout" }, null, -1);
83800
+ const _hoisted_3$8 = {
83798
83801
  key: 0,
83799
83802
  class: "ck-popup__title"
83800
83803
  };
@@ -83996,7 +83999,7 @@ const _sfc_main$j = defineComponent$2({
83996
83999
  to: "body"
83997
84000
  }, [
83998
84001
  createElementVNode("div", _hoisted_1$f, [
83999
- _hoisted_2$9,
84002
+ _hoisted_2$a,
84000
84003
  createElementVNode("div", {
84001
84004
  class: "popup-container",
84002
84005
  onMousedown: _cache[4] || (_cache[4] = ($event) => onBgClick())
@@ -84011,7 +84014,7 @@ const _sfc_main$j = defineComponent$2({
84011
84014
  class: normalizeClass$2(["ck-popup__slot-header", computedClassHeader.value]),
84012
84015
  style: normalizeStyle$2(computedStyleHeader.value)
84013
84016
  }, [
84014
- _ctx.title ? (openBlock$2(), createElementBlock$2("h3", _hoisted_3$7, toDisplayString$1(_ctx.title), 1)) : createCommentVNode$2("", true),
84017
+ _ctx.title ? (openBlock$2(), createElementBlock$2("h3", _hoisted_3$8, toDisplayString$1(_ctx.title), 1)) : createCommentVNode$2("", true),
84015
84018
  renderSlot$2(_ctx.$slots, "header"),
84016
84019
  isCloseBtnVisible.value ? (openBlock$2(), createBlock$2(CkIcon, {
84017
84020
  key: 1,
@@ -84150,11 +84153,11 @@ var TableColumnsManager = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId"
84150
84153
  var ckTable_vue_vue_type_style_index_0_lang = "";
84151
84154
  var ckTable_vue_vue_type_style_index_1_scoped_true_lang = "";
84152
84155
  const _hoisted_1$d = { class: "ck-table" };
84153
- const _hoisted_2$8 = {
84156
+ const _hoisted_2$9 = {
84154
84157
  key: 0,
84155
84158
  class: "ck-table__header"
84156
84159
  };
84157
- const _hoisted_3$6 = {
84160
+ const _hoisted_3$7 = {
84158
84161
  key: 0,
84159
84162
  class: "ck-table__header--slot"
84160
84163
  };
@@ -84331,7 +84334,7 @@ const _sfc_main$h = defineComponent$2({
84331
84334
  columns: _ctx.columns || []
84332
84335
  }, null, 8, ["modelValue", "isLoading", "columnsArray", "columns"])) : createCommentVNode$2("", true),
84333
84336
  createElementVNode("div", _hoisted_1$d, [
84334
- _ctx.$slots.header || !_ctx.hideHeaderActions ? (openBlock$2(), createElementBlock$2("div", _hoisted_2$8, [
84337
+ _ctx.$slots.header || !_ctx.hideHeaderActions ? (openBlock$2(), createElementBlock$2("div", _hoisted_2$9, [
84335
84338
  createVNode$2(TableHeaderItems, {
84336
84339
  search: searchLocal.value,
84337
84340
  "onUpdate:search": _cache[1] || (_cache[1] = ($event) => searchLocal.value = $event),
@@ -84347,7 +84350,7 @@ const _sfc_main$h = defineComponent$2({
84347
84350
  onRefreshList: _cache[2] || (_cache[2] = ($event) => refreshList($event)),
84348
84351
  onOpenColumnsManager: _cache[3] || (_cache[3] = ($event) => openColumnsManager())
84349
84352
  }, null, 8, ["search", "hideHeaderActions", "currentPage", "hasColumnsManager", "itemsPerPage", "listLength", "showRefreshBtn", "hideItemsPerPage", "layout", "version"]),
84350
- _ctx.$slots.header ? (openBlock$2(), createElementBlock$2("div", _hoisted_3$6, [
84353
+ _ctx.$slots.header ? (openBlock$2(), createElementBlock$2("div", _hoisted_3$7, [
84351
84354
  renderSlot$2(_ctx.$slots, "header", {}, void 0, true)
84352
84355
  ])) : createCommentVNode$2("", true)
84353
84356
  ])) : createCommentVNode$2("", true),
@@ -89787,11 +89790,11 @@ const _hoisted_1$b = {
89787
89790
  key: 0,
89788
89791
  class: "ck-card__header"
89789
89792
  };
89790
- const _hoisted_2$7 = {
89793
+ const _hoisted_2$8 = {
89791
89794
  key: 0,
89792
89795
  class: "ck-card__header-title"
89793
89796
  };
89794
- const _hoisted_3$5 = { class: "ck-card__body" };
89797
+ const _hoisted_3$6 = { class: "ck-card__body" };
89795
89798
  const _hoisted_4$4 = {
89796
89799
  key: 0,
89797
89800
  class: "ck-card__header-subtitle"
@@ -89847,7 +89850,7 @@ const _sfc_main$d = defineComponent$2({
89847
89850
  class: normalizeClass$2(["ck-card", computedClass.value])
89848
89851
  }, [
89849
89852
  _ctx.title || !computedHideCloseBtn.value ? (openBlock$2(), createElementBlock$2("div", _hoisted_1$b, [
89850
- _ctx.title ? (openBlock$2(), createElementBlock$2("div", _hoisted_2$7, toDisplayString$1(_ctx.title), 1)) : createCommentVNode$2("", true),
89853
+ _ctx.title ? (openBlock$2(), createElementBlock$2("div", _hoisted_2$8, toDisplayString$1(_ctx.title), 1)) : createCommentVNode$2("", true),
89851
89854
  !computedHideCloseBtn.value ? (openBlock$2(), createElementBlock$2("div", {
89852
89855
  key: 1,
89853
89856
  class: "ck-card__close-btn",
@@ -89856,7 +89859,7 @@ const _sfc_main$d = defineComponent$2({
89856
89859
  createVNode$2(_component_ck_icon, { icon: "times" })
89857
89860
  ])) : createCommentVNode$2("", true)
89858
89861
  ])) : createCommentVNode$2("", true),
89859
- createElementVNode("div", _hoisted_3$5, [
89862
+ createElementVNode("div", _hoisted_3$6, [
89860
89863
  _ctx.subtitle ? (openBlock$2(), createElementBlock$2("div", _hoisted_4$4, toDisplayString$1(_ctx.subtitle), 1)) : createCommentVNode$2("", true),
89861
89864
  createElementVNode("div", {
89862
89865
  class: normalizeClass$2(["ck-card__content", { "content-block": _ctx.block }])
@@ -90164,8 +90167,8 @@ var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-24eb
90164
90167
  var ckRadio_vue_vue_type_style_index_0_scoped_true_lang = "";
90165
90168
  const _withScopeId$2 = (n2) => (pushScopeId$2("data-v-494ed67e"), n2 = n2(), popScopeId$2(), n2);
90166
90169
  const _hoisted_1$8 = ["onKeyup"];
90167
- const _hoisted_2$6 = ["name", "value", "disabled"];
90168
- const _hoisted_3$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "c-Radio__element" }, null, -1));
90170
+ const _hoisted_2$7 = ["name", "value", "disabled"];
90171
+ const _hoisted_3$5 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "c-Radio__element" }, null, -1));
90169
90172
  const _hoisted_4$3 = {
90170
90173
  key: 0,
90171
90174
  class: "c-Radio__label"
@@ -90242,10 +90245,10 @@ const _sfc_main$8 = defineComponent$2({
90242
90245
  name: _ctx.name,
90243
90246
  value: option.value,
90244
90247
  disabled: _ctx.disabled
90245
- }, null, 8, _hoisted_2$6), [
90248
+ }, null, 8, _hoisted_2$7), [
90246
90249
  [vModelRadio, value.value]
90247
90250
  ]),
90248
- _hoisted_3$4,
90251
+ _hoisted_3$5,
90249
90252
  option.label ? (openBlock$2(), createElementBlock$2("span", _hoisted_4$3, toDisplayString$1(option.label), 1)) : createCommentVNode$2("", true)
90250
90253
  ], 16, _hoisted_1$8);
90251
90254
  }), 128);
@@ -90255,8 +90258,8 @@ const _sfc_main$8 = defineComponent$2({
90255
90258
  var ckRadio = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-494ed67e"]]);
90256
90259
  var ckSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
90257
90260
  const _hoisted_1$7 = ["disabled"];
90258
- const _hoisted_2$5 = ["value"];
90259
- const _hoisted_3$3 = {
90261
+ const _hoisted_2$6 = ["value"];
90262
+ const _hoisted_3$4 = {
90260
90263
  key: 4,
90261
90264
  class: "ck-select--placeholder"
90262
90265
  };
@@ -90550,12 +90553,12 @@ const _sfc_main$7 = defineComponent$2({
90550
90553
  value: getOptionValue(option),
90551
90554
  key: option,
90552
90555
  style: normalizeStyle$2(computedStyleOption.value)
90553
- }, toDisplayString$1(getOptionName(option)), 13, _hoisted_2$5);
90556
+ }, toDisplayString$1(getOptionName(option)), 13, _hoisted_2$6);
90554
90557
  }), 128))
90555
90558
  ], 14, _hoisted_1$7), [
90556
90559
  [vModelSelect, value.value]
90557
90560
  ]),
90558
- isEmptyOptionsMsgVisible.value ? (openBlock$2(), createElementBlock$2("span", _hoisted_3$3, toDisplayString$1(_ctx.emptyOptionsMsg), 1)) : isPlaceholderVisible.value ? (openBlock$2(), createElementBlock$2("span", _hoisted_4$2, toDisplayString$1(_ctx.placeholder), 1)) : createCommentVNode$2("", true)
90561
+ isEmptyOptionsMsgVisible.value ? (openBlock$2(), createElementBlock$2("span", _hoisted_3$4, toDisplayString$1(_ctx.emptyOptionsMsg), 1)) : isPlaceholderVisible.value ? (openBlock$2(), createElementBlock$2("span", _hoisted_4$2, toDisplayString$1(_ctx.placeholder), 1)) : createCommentVNode$2("", true)
90559
90562
  ], 6);
90560
90563
  };
90561
90564
  }
@@ -90566,6 +90569,11 @@ const _hoisted_1$6 = {
90566
90569
  key: 0,
90567
90570
  class: "sidebar-header-title"
90568
90571
  };
90572
+ const _hoisted_2$5 = {
90573
+ key: 1,
90574
+ class: "loader-container"
90575
+ };
90576
+ const _hoisted_3$3 = { key: 2 };
90569
90577
  const _sfc_main$6 = defineComponent$2({
90570
90578
  __name: "ck-sidebar",
90571
90579
  props: {
@@ -90576,7 +90584,8 @@ const _sfc_main$6 = defineComponent$2({
90576
90584
  headerColor: {},
90577
90585
  headerAlign: { type: Boolean },
90578
90586
  closeBtnAlign: {},
90579
- notCloseBtn: { type: Boolean }
90587
+ notCloseBtn: { type: Boolean },
90588
+ isLoading: { type: Boolean }
90580
90589
  },
90581
90590
  emits: ["update:modelValue"],
90582
90591
  setup(__props, { emit: emits }) {
@@ -90646,15 +90655,22 @@ const _sfc_main$6 = defineComponent$2({
90646
90655
  icon: "times"
90647
90656
  })
90648
90657
  ], 6)) : createCommentVNode$2("", true),
90649
- createElementVNode("div", null, [
90658
+ _ctx.isLoading ? (openBlock$2(), createElementBlock$2("div", _hoisted_2$5, [
90659
+ createVNode$2(_component_ck_icon, {
90660
+ icon: "spinner",
90661
+ size: "xxl",
90662
+ spin: "",
90663
+ color: "primary"
90664
+ })
90665
+ ])) : (openBlock$2(), createElementBlock$2("div", _hoisted_3$3, [
90650
90666
  renderSlot$2(_ctx.$slots, "default", {}, void 0, true)
90651
- ])
90667
+ ]))
90652
90668
  ], 6)
90653
90669
  ])) : createCommentVNode$2("", true);
90654
90670
  };
90655
90671
  }
90656
90672
  });
90657
- var ckSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-267183f0"]]);
90673
+ var ckSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-42bd9396"]]);
90658
90674
  var ckSwitch_vue_vue_type_style_index_0_scoped_true_lang = "";
90659
90675
  const _withScopeId$1 = (n2) => (pushScopeId$2("data-v-7400e90e"), n2 = n2(), popScopeId$2(), n2);
90660
90676
  const _hoisted_1$5 = ["disabled"];