cleek 2.6.42 → 2.6.44

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
@@ -89886,7 +89886,7 @@ const _sfc_main$6 = defineComponent$2({
89886
89886
  });
89887
89887
  var ckSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-64161f5d"]]);
89888
89888
  var ckSwitch_vue_vue_type_style_index_0_scoped_true_lang = "";
89889
- const _withScopeId$1 = (n2) => (pushScopeId$2("data-v-1a8d45f7"), n2 = n2(), popScopeId$2(), n2);
89889
+ const _withScopeId$1 = (n2) => (pushScopeId$2("data-v-e17812ca"), n2 = n2(), popScopeId$2(), n2);
89890
89890
  const _hoisted_1$5 = ["checked", "disabled"];
89891
89891
  const _hoisted_2$4 = { class: "ck-switch__slider-container" };
89892
89892
  const _hoisted_3$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-switch__slider" }, null, -1));
@@ -89948,42 +89948,46 @@ const _sfc_main$5 = defineComponent$2({
89948
89948
  }
89949
89949
  }
89950
89950
  return (_ctx, _cache) => {
89951
- return openBlock$2(), createElementBlock$2("label", mergeProps$2({ class: "ck-switch" }, computedAttributes.value, {
89952
- class: computedClass.value,
89953
- onKeydown: _cache[1] || (_cache[1] = withKeys$2(withModifiers$1(() => {
89954
- }, ["prevent"]), ["space"]))
89955
- }), [
89956
- createElementVNode("input", {
89957
- class: "ck-switch__input",
89958
- type: "checkbox",
89959
- checked: value.value,
89960
- "aria-hidden": "true",
89961
- disabled: _ctx.disabled,
89962
- onClick: _cache[0] || (_cache[0] = ($event) => handleCheckboxClick($event))
89963
- }, null, 8, _hoisted_1$5),
89964
- createElementVNode("div", _hoisted_2$4, [
89965
- _hoisted_3$2,
89966
- _ctx.icon && value.value ? (openBlock$2(), createBlock$2(CkIcon, {
89967
- key: 0,
89968
- class: normalizeClass$2(["ck-switch__icon-left", iconClass.value]),
89969
- icon: _ctx.icon,
89970
- "icon-pack": _ctx.iconPack
89971
- }, null, 8, ["icon", "icon-pack", "class"])) : createCommentVNode$2("", true),
89972
- _ctx.icon && !value.value ? (openBlock$2(), createBlock$2(CkIcon, {
89973
- key: 1,
89974
- class: normalizeClass$2(["ck-switch__icon-right", iconClass.value]),
89975
- icon: _ctx.icon,
89976
- "icon-pack": _ctx.iconPack
89977
- }, null, 8, ["icon", "icon-pack", "class"])) : createCommentVNode$2("", true)
89978
- ]),
89979
- _ctx.$slots.default ? (openBlock$2(), createElementBlock$2("span", _hoisted_4$2, [
89980
- renderSlot$2(_ctx.$slots, "default", {}, void 0, true)
89981
- ])) : createCommentVNode$2("", true)
89982
- ], 16);
89951
+ return openBlock$2(), createElementBlock$2(Fragment$2, null, [
89952
+ createTextVNode$2(toDisplayString$1(value.value), 1),
89953
+ createElementVNode("label", mergeProps$2({ class: "ck-switch" }, computedAttributes.value, {
89954
+ class: computedClass.value,
89955
+ onKeydown: _cache[1] || (_cache[1] = withKeys$2(withModifiers$1(() => {
89956
+ }, ["prevent"]), ["space"])),
89957
+ onInput: _cache[2] || (_cache[2] = ($event) => handleCheckboxClick($event))
89958
+ }), [
89959
+ createElementVNode("input", {
89960
+ class: "ck-switch__input",
89961
+ type: "checkbox",
89962
+ checked: value.value,
89963
+ "aria-hidden": "true",
89964
+ disabled: _ctx.disabled,
89965
+ onInput: _cache[0] || (_cache[0] = ($event) => handleCheckboxClick($event))
89966
+ }, null, 40, _hoisted_1$5),
89967
+ createElementVNode("div", _hoisted_2$4, [
89968
+ _hoisted_3$2,
89969
+ _ctx.icon && value.value ? (openBlock$2(), createBlock$2(CkIcon, {
89970
+ key: 0,
89971
+ class: normalizeClass$2(["ck-switch__icon-left", iconClass.value]),
89972
+ icon: _ctx.icon,
89973
+ "icon-pack": _ctx.iconPack
89974
+ }, null, 8, ["icon", "icon-pack", "class"])) : createCommentVNode$2("", true),
89975
+ _ctx.icon && !value.value ? (openBlock$2(), createBlock$2(CkIcon, {
89976
+ key: 1,
89977
+ class: normalizeClass$2(["ck-switch__icon-right", iconClass.value]),
89978
+ icon: _ctx.icon,
89979
+ "icon-pack": _ctx.iconPack
89980
+ }, null, 8, ["icon", "icon-pack", "class"])) : createCommentVNode$2("", true)
89981
+ ]),
89982
+ _ctx.$slots.default ? (openBlock$2(), createElementBlock$2("span", _hoisted_4$2, [
89983
+ renderSlot$2(_ctx.$slots, "default", {}, void 0, true)
89984
+ ])) : createCommentVNode$2("", true)
89985
+ ], 16)
89986
+ ], 64);
89983
89987
  };
89984
89988
  }
89985
89989
  });
89986
- var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-1a8d45f7"]]);
89990
+ var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-e17812ca"]]);
89987
89991
  var ckSwitchOptions_vue_vue_type_style_index_0_scoped_true_lang = "";
89988
89992
  const _hoisted_1$4 = { class: "ck-switch-options__container-exterior" };
89989
89993
  const _hoisted_2$3 = ["onClick"];