cleek 2.6.61 → 2.6.63

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-7af6ddcd"), n2 = n2(), popScopeId$2(), n2);
89889
+ const _withScopeId$1 = (n2) => (pushScopeId$2("data-v-7c49968e"), n2 = n2(), popScopeId$2(), n2);
89890
89890
  const _hoisted_1$5 = ["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));
@@ -89942,67 +89942,51 @@ const _sfc_main$5 = defineComponent$2({
89942
89942
  return list;
89943
89943
  });
89944
89944
  function handleSwitchClick(e4) {
89945
- console.log("handleSwitchClick");
89946
- console.log(value.value);
89947
- console.log("switchClick");
89948
89945
  emits("switchClick");
89949
- console.log(value.value);
89950
89946
  if (props.preventAutoUpdate) {
89951
- console.log("preventAutoUpdate");
89952
- console.log(value.value);
89953
89947
  e4.preventDefault();
89954
89948
  e4.stopPropagation();
89955
89949
  }
89956
- console.log("after");
89957
- console.log(value.value);
89958
- }
89959
- function a7() {
89960
- console.log("sss");
89961
89950
  }
89962
89951
  return (_ctx, _cache) => {
89963
- return openBlock$2(), createElementBlock$2(Fragment$2, null, [
89964
- createTextVNode$2(toDisplayString$1(value.value), 1),
89965
- createElementVNode("label", mergeProps$2({ class: "ck-switch" }, computedAttributes.value, {
89966
- class: computedClass.value,
89967
- onKeydown: _cache[3] || (_cache[3] = withKeys$2(withModifiers$1(() => {
89968
- }, ["prevent"]), ["space"])),
89969
- onClick: _cache[4] || (_cache[4] = withModifiers$1(($event) => handleSwitchClick($event), ["stop"]))
89970
- }), [
89971
- withDirectives$1(createElementVNode("input", {
89972
- class: "ck-switch__input",
89973
- type: "checkbox",
89974
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
89975
- "aria-hidden": "true",
89976
- disabled: _ctx.disabled,
89977
- onClick: _cache[1] || (_cache[1] = ($event) => handleSwitchClick($event)),
89978
- onChange: _cache[2] || (_cache[2] = ($event) => a7())
89979
- }, null, 40, _hoisted_1$5), [
89980
- [vModelCheckbox, value.value]
89981
- ]),
89982
- createElementVNode("div", _hoisted_2$4, [
89983
- _hoisted_3$2,
89984
- _ctx.icon && value.value ? (openBlock$2(), createBlock$2(CkIcon, {
89985
- key: 0,
89986
- class: normalizeClass$2(["ck-switch__icon-left", iconClass.value]),
89987
- icon: _ctx.icon,
89988
- "icon-pack": _ctx.iconPack
89989
- }, null, 8, ["icon", "icon-pack", "class"])) : createCommentVNode$2("", true),
89990
- _ctx.icon && !value.value ? (openBlock$2(), createBlock$2(CkIcon, {
89991
- key: 1,
89992
- class: normalizeClass$2(["ck-switch__icon-right", iconClass.value]),
89993
- icon: _ctx.icon,
89994
- "icon-pack": _ctx.iconPack
89995
- }, null, 8, ["icon", "icon-pack", "class"])) : createCommentVNode$2("", true)
89996
- ]),
89997
- _ctx.$slots.default ? (openBlock$2(), createElementBlock$2("span", _hoisted_4$2, [
89998
- renderSlot$2(_ctx.$slots, "default", {}, void 0, true)
89999
- ])) : createCommentVNode$2("", true)
90000
- ], 16)
90001
- ], 64);
89952
+ return openBlock$2(), createElementBlock$2("label", mergeProps$2({ class: "ck-switch" }, computedAttributes.value, {
89953
+ class: computedClass.value,
89954
+ onKeydown: _cache[2] || (_cache[2] = withKeys$2(withModifiers$1(() => {
89955
+ }, ["prevent"]), ["space"]))
89956
+ }), [
89957
+ withDirectives$1(createElementVNode("input", {
89958
+ class: "ck-switch__input",
89959
+ type: "checkbox",
89960
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
89961
+ "aria-hidden": "true",
89962
+ disabled: _ctx.disabled,
89963
+ onClick: _cache[1] || (_cache[1] = ($event) => handleSwitchClick($event))
89964
+ }, null, 8, _hoisted_1$5), [
89965
+ [vModelCheckbox, value.value]
89966
+ ]),
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);
90002
89986
  };
90003
89987
  }
90004
89988
  });
90005
- var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-7af6ddcd"]]);
89989
+ var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-7c49968e"]]);
90006
89990
  var ckSwitchOptions_vue_vue_type_style_index_0_scoped_true_lang = "";
90007
89991
  const _hoisted_1$4 = { class: "ck-switch-options__container-exterior" };
90008
89992
  const _hoisted_2$3 = ["onClick"];