cleek 2.6.56 → 2.6.58

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-7225c744"), n2 = n2(), popScopeId$2(), n2);
89889
+ const _withScopeId$1 = (n2) => (pushScopeId$2("data-v-49f91764"), 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,27 +89942,28 @@ const _sfc_main$5 = defineComponent$2({
89942
89942
  return list;
89943
89943
  });
89944
89944
  function handleSwitchClick(e4) {
89945
+ emits("switchClick");
89945
89946
  if (props.preventAutoUpdate) {
89946
89947
  e4.preventDefault();
89947
89948
  e4.stopPropagation();
89948
89949
  }
89949
- emits("switchClick");
89950
89950
  }
89951
89951
  return (_ctx, _cache) => {
89952
89952
  return openBlock$2(), createElementBlock$2(Fragment$2, null, [
89953
89953
  createTextVNode$2(toDisplayString$1(value.value), 1),
89954
89954
  createElementVNode("label", mergeProps$2({ class: "ck-switch" }, computedAttributes.value, {
89955
89955
  class: computedClass.value,
89956
- onKeydown: _cache[1] || (_cache[1] = withKeys$2(withModifiers$1(() => {
89956
+ onKeydown: _cache[2] || (_cache[2] = withKeys$2(withModifiers$1(() => {
89957
89957
  }, ["prevent"]), ["space"])),
89958
- onClick: _cache[2] || (_cache[2] = ($event) => handleSwitchClick($event))
89958
+ onClick: _cache[3] || (_cache[3] = ($event) => handleSwitchClick($event))
89959
89959
  }), [
89960
89960
  withDirectives$1(createElementVNode("input", {
89961
89961
  class: "ck-switch__input",
89962
89962
  type: "checkbox",
89963
89963
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
89964
89964
  "aria-hidden": "true",
89965
- disabled: _ctx.disabled
89965
+ disabled: _ctx.disabled,
89966
+ onClick: _cache[1] || (_cache[1] = ($event) => handleSwitchClick($event))
89966
89967
  }, null, 8, _hoisted_1$5), [
89967
89968
  [vModelCheckbox, value.value]
89968
89969
  ]),
@@ -89989,7 +89990,7 @@ const _sfc_main$5 = defineComponent$2({
89989
89990
  };
89990
89991
  }
89991
89992
  });
89992
- var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-7225c744"]]);
89993
+ var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-49f91764"]]);
89993
89994
  var ckSwitchOptions_vue_vue_type_style_index_0_scoped_true_lang = "";
89994
89995
  const _hoisted_1$4 = { class: "ck-switch-options__container-exterior" };
89995
89996
  const _hoisted_2$3 = ["onClick"];