cleek 2.6.34 → 2.6.35
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 +37 -41
- 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-8b94f13a"), 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 = {
|
|
@@ -89923,10 +89923,8 @@ const _sfc_main$5 = defineComponent$2({
|
|
|
89923
89923
|
return value.value;
|
|
89924
89924
|
},
|
|
89925
89925
|
set(val) {
|
|
89926
|
-
console.log("before");
|
|
89927
89926
|
if (props.preventAutoUpdate)
|
|
89928
89927
|
return;
|
|
89929
|
-
console.log("after");
|
|
89930
89928
|
value.value = val;
|
|
89931
89929
|
}
|
|
89932
89930
|
});
|
|
@@ -89954,46 +89952,44 @@ const _sfc_main$5 = defineComponent$2({
|
|
|
89954
89952
|
return list;
|
|
89955
89953
|
});
|
|
89956
89954
|
return (_ctx, _cache) => {
|
|
89957
|
-
return openBlock$2(), createElementBlock$2(
|
|
89958
|
-
|
|
89959
|
-
|
|
89960
|
-
|
|
89961
|
-
|
|
89962
|
-
|
|
89963
|
-
|
|
89964
|
-
|
|
89965
|
-
|
|
89966
|
-
|
|
89967
|
-
|
|
89968
|
-
|
|
89969
|
-
|
|
89970
|
-
|
|
89971
|
-
|
|
89972
|
-
|
|
89973
|
-
|
|
89974
|
-
|
|
89975
|
-
|
|
89976
|
-
|
|
89977
|
-
|
|
89978
|
-
|
|
89979
|
-
|
|
89980
|
-
|
|
89981
|
-
|
|
89982
|
-
|
|
89983
|
-
|
|
89984
|
-
|
|
89985
|
-
|
|
89986
|
-
|
|
89987
|
-
|
|
89988
|
-
_ctx.$slots
|
|
89989
|
-
|
|
89990
|
-
|
|
89991
|
-
], 16)
|
|
89992
|
-
], 64);
|
|
89955
|
+
return openBlock$2(), createElementBlock$2("label", mergeProps$2({ class: "ck-switch" }, computedAttributes.value, {
|
|
89956
|
+
class: computedClass.value,
|
|
89957
|
+
onKeydown: _cache[1] || (_cache[1] = withKeys$2(withModifiers$1(() => {
|
|
89958
|
+
}, ["prevent"]), ["space"]))
|
|
89959
|
+
}), [
|
|
89960
|
+
withDirectives$1(createElementVNode("input", {
|
|
89961
|
+
class: "ck-switch__input",
|
|
89962
|
+
type: "checkbox",
|
|
89963
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checkedValue.value = $event),
|
|
89964
|
+
checked: checkedValue.value,
|
|
89965
|
+
"aria-hidden": "true",
|
|
89966
|
+
disabled: _ctx.disabled
|
|
89967
|
+
}, null, 8, _hoisted_1$5), [
|
|
89968
|
+
[vModelCheckbox, checkedValue.value]
|
|
89969
|
+
]),
|
|
89970
|
+
createElementVNode("div", _hoisted_2$4, [
|
|
89971
|
+
_hoisted_3$2,
|
|
89972
|
+
_ctx.icon && value.value ? (openBlock$2(), createBlock$2(CkIcon, {
|
|
89973
|
+
key: 0,
|
|
89974
|
+
class: normalizeClass$2(["ck-switch__icon-left", iconClass.value]),
|
|
89975
|
+
icon: _ctx.icon,
|
|
89976
|
+
"icon-pack": _ctx.iconPack
|
|
89977
|
+
}, null, 8, ["icon", "icon-pack", "class"])) : createCommentVNode$2("", true),
|
|
89978
|
+
_ctx.icon && !value.value ? (openBlock$2(), createBlock$2(CkIcon, {
|
|
89979
|
+
key: 1,
|
|
89980
|
+
class: normalizeClass$2(["ck-switch__icon-right", iconClass.value]),
|
|
89981
|
+
icon: _ctx.icon,
|
|
89982
|
+
"icon-pack": _ctx.iconPack
|
|
89983
|
+
}, null, 8, ["icon", "icon-pack", "class"])) : createCommentVNode$2("", true)
|
|
89984
|
+
]),
|
|
89985
|
+
_ctx.$slots.default ? (openBlock$2(), createElementBlock$2("span", _hoisted_4$2, [
|
|
89986
|
+
renderSlot$2(_ctx.$slots, "default", {}, void 0, true)
|
|
89987
|
+
])) : createCommentVNode$2("", true)
|
|
89988
|
+
], 16);
|
|
89993
89989
|
};
|
|
89994
89990
|
}
|
|
89995
89991
|
});
|
|
89996
|
-
var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
89992
|
+
var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-8b94f13a"]]);
|
|
89997
89993
|
var ckSwitchOptions_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
89998
89994
|
const _hoisted_1$4 = { class: "ck-switch-options__container-exterior" };
|
|
89999
89995
|
const _hoisted_2$3 = ["onClick"];
|