cleek 2.6.52 → 2.6.53
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 +11 -15
- package/dist/cleek.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -89886,8 +89886,8 @@ 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-
|
|
89890
|
-
const _hoisted_1$5 = ["disabled"];
|
|
89889
|
+
const _withScopeId$1 = (n2) => (pushScopeId$2("data-v-1cdc490a"), n2 = n2(), popScopeId$2(), n2);
|
|
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));
|
|
89893
89893
|
const _hoisted_4$2 = {
|
|
@@ -89918,6 +89918,7 @@ const _sfc_main$5 = defineComponent$2({
|
|
|
89918
89918
|
emits("update:modelValue", val);
|
|
89919
89919
|
}
|
|
89920
89920
|
});
|
|
89921
|
+
const internalValue = ref$1(false);
|
|
89921
89922
|
const computedClass = computed$3(() => {
|
|
89922
89923
|
const list = [];
|
|
89923
89924
|
if (props.squared)
|
|
@@ -89941,28 +89942,23 @@ const _sfc_main$5 = defineComponent$2({
|
|
|
89941
89942
|
}
|
|
89942
89943
|
return list;
|
|
89943
89944
|
});
|
|
89944
|
-
function handleSwitchChange(e4) {
|
|
89945
|
-
if (props.preventAutoUpdate) {
|
|
89946
|
-
e4.preventDefault();
|
|
89947
|
-
}
|
|
89948
|
-
}
|
|
89949
89945
|
return (_ctx, _cache) => {
|
|
89950
89946
|
return openBlock$2(), createElementBlock$2(Fragment$2, null, [
|
|
89951
|
-
createTextVNode$2(toDisplayString$1(value.value), 1),
|
|
89947
|
+
createTextVNode$2(toDisplayString$1(value.value) + " " + toDisplayString$1(internalValue.value), 1),
|
|
89952
89948
|
createElementVNode("label", mergeProps$2({ class: "ck-switch" }, computedAttributes.value, {
|
|
89953
89949
|
class: computedClass.value,
|
|
89954
|
-
onKeydown: _cache[
|
|
89950
|
+
onKeydown: _cache[1] || (_cache[1] = withKeys$2(withModifiers$1(() => {
|
|
89955
89951
|
}, ["prevent"]), ["space"]))
|
|
89956
89952
|
}), [
|
|
89957
89953
|
withDirectives$1(createElementVNode("input", {
|
|
89958
89954
|
class: "ck-switch__input",
|
|
89959
89955
|
type: "checkbox",
|
|
89960
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
89956
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => internalValue.value = $event),
|
|
89957
|
+
checked: value.value,
|
|
89961
89958
|
"aria-hidden": "true",
|
|
89962
|
-
disabled: _ctx.disabled
|
|
89963
|
-
|
|
89964
|
-
|
|
89965
|
-
[vModelCheckbox, value.value]
|
|
89959
|
+
disabled: _ctx.disabled
|
|
89960
|
+
}, null, 8, _hoisted_1$5), [
|
|
89961
|
+
[vModelCheckbox, internalValue.value]
|
|
89966
89962
|
]),
|
|
89967
89963
|
createElementVNode("div", _hoisted_2$4, [
|
|
89968
89964
|
_hoisted_3$2,
|
|
@@ -89987,7 +89983,7 @@ const _sfc_main$5 = defineComponent$2({
|
|
|
89987
89983
|
};
|
|
89988
89984
|
}
|
|
89989
89985
|
});
|
|
89990
|
-
var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
89986
|
+
var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-1cdc490a"]]);
|
|
89991
89987
|
var ckSwitchOptions_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
89992
89988
|
const _hoisted_1$4 = { class: "ck-switch-options__container-exterior" };
|
|
89993
89989
|
const _hoisted_2$3 = ["onClick"];
|