cleek 2.6.49 → 2.6.51

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-4d8abff3"), n2 = n2(), popScopeId$2(), n2);
89889
+ const _withScopeId$1 = (n2) => (pushScopeId$2("data-v-1ffbacc4"), 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));
@@ -89907,7 +89907,7 @@ const _sfc_main$5 = defineComponent$2({
89907
89907
  icon: {},
89908
89908
  iconPack: {}
89909
89909
  },
89910
- emits: ["update:modelValue"],
89910
+ emits: ["update:modelValue", "click"],
89911
89911
  setup(__props, { emit: emits }) {
89912
89912
  const props = __props;
89913
89913
  const value = computed$3({
@@ -89944,7 +89944,6 @@ const _sfc_main$5 = defineComponent$2({
89944
89944
  function handleSwitchClick(e4) {
89945
89945
  if (props.preventAutoUpdate) {
89946
89946
  e4.preventDefault();
89947
- e4.stopPropagation();
89948
89947
  }
89949
89948
  }
89950
89949
  return (_ctx, _cache) => {
@@ -89953,7 +89952,10 @@ const _sfc_main$5 = defineComponent$2({
89953
89952
  createElementVNode("label", mergeProps$2({ class: "ck-switch" }, computedAttributes.value, {
89954
89953
  class: computedClass.value,
89955
89954
  onKeydown: _cache[2] || (_cache[2] = withKeys$2(withModifiers$1(() => {
89956
- }, ["prevent"]), ["space"]))
89955
+ }, ["prevent"]), ["space"])),
89956
+ onClick: _cache[3] || (_cache[3] = ($event) => {
89957
+ emits("click");
89958
+ })
89957
89959
  }), [
89958
89960
  withDirectives$1(createElementVNode("input", {
89959
89961
  class: "ck-switch__input",
@@ -89988,7 +89990,7 @@ const _sfc_main$5 = defineComponent$2({
89988
89990
  };
89989
89991
  }
89990
89992
  });
89991
- var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-4d8abff3"]]);
89993
+ var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-1ffbacc4"]]);
89992
89994
  var ckSwitchOptions_vue_vue_type_style_index_0_scoped_true_lang = "";
89993
89995
  const _hoisted_1$4 = { class: "ck-switch-options__container-exterior" };
89994
89996
  const _hoisted_2$3 = ["onClick"];