cleek 2.6.59 → 2.6.61

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-fa9ccebc"), n2 = n2(), popScopeId$2(), n2);
89889
+ const _withScopeId$1 = (n2) => (pushScopeId$2("data-v-7af6ddcd"), 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,20 +89942,31 @@ 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");
89945
89948
  emits("switchClick");
89949
+ console.log(value.value);
89946
89950
  if (props.preventAutoUpdate) {
89951
+ console.log("preventAutoUpdate");
89952
+ console.log(value.value);
89947
89953
  e4.preventDefault();
89948
89954
  e4.stopPropagation();
89949
89955
  }
89956
+ console.log("after");
89957
+ console.log(value.value);
89958
+ }
89959
+ function a7() {
89960
+ console.log("sss");
89950
89961
  }
89951
89962
  return (_ctx, _cache) => {
89952
89963
  return openBlock$2(), createElementBlock$2(Fragment$2, null, [
89953
89964
  createTextVNode$2(toDisplayString$1(value.value), 1),
89954
89965
  createElementVNode("label", mergeProps$2({ class: "ck-switch" }, computedAttributes.value, {
89955
89966
  class: computedClass.value,
89956
- onKeydown: _cache[2] || (_cache[2] = withKeys$2(withModifiers$1(() => {
89967
+ onKeydown: _cache[3] || (_cache[3] = withKeys$2(withModifiers$1(() => {
89957
89968
  }, ["prevent"]), ["space"])),
89958
- onClick: _cache[3] || (_cache[3] = withModifiers$1(($event) => handleSwitchClick($event), ["stop"]))
89969
+ onClick: _cache[4] || (_cache[4] = withModifiers$1(($event) => handleSwitchClick($event), ["stop"]))
89959
89970
  }), [
89960
89971
  withDirectives$1(createElementVNode("input", {
89961
89972
  class: "ck-switch__input",
@@ -89963,8 +89974,9 @@ const _sfc_main$5 = defineComponent$2({
89963
89974
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
89964
89975
  "aria-hidden": "true",
89965
89976
  disabled: _ctx.disabled,
89966
- onClick: _cache[1] || (_cache[1] = ($event) => handleSwitchClick($event))
89967
- }, null, 8, _hoisted_1$5), [
89977
+ onClick: _cache[1] || (_cache[1] = ($event) => handleSwitchClick($event)),
89978
+ onChange: _cache[2] || (_cache[2] = ($event) => a7())
89979
+ }, null, 40, _hoisted_1$5), [
89968
89980
  [vModelCheckbox, value.value]
89969
89981
  ]),
89970
89982
  createElementVNode("div", _hoisted_2$4, [
@@ -89990,7 +90002,7 @@ const _sfc_main$5 = defineComponent$2({
89990
90002
  };
89991
90003
  }
89992
90004
  });
89993
- var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-fa9ccebc"]]);
90005
+ var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-7af6ddcd"]]);
89994
90006
  var ckSwitchOptions_vue_vue_type_style_index_0_scoped_true_lang = "";
89995
90007
  const _hoisted_1$4 = { class: "ck-switch-options__container-exterior" };
89996
90008
  const _hoisted_2$3 = ["onClick"];