cleek 2.6.61 → 2.6.63
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 +36 -52
- 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,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-
|
|
89889
|
+
const _withScopeId$1 = (n2) => (pushScopeId$2("data-v-7c49968e"), 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,67 +89942,51 @@ 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");
|
|
89948
89945
|
emits("switchClick");
|
|
89949
|
-
console.log(value.value);
|
|
89950
89946
|
if (props.preventAutoUpdate) {
|
|
89951
|
-
console.log("preventAutoUpdate");
|
|
89952
|
-
console.log(value.value);
|
|
89953
89947
|
e4.preventDefault();
|
|
89954
89948
|
e4.stopPropagation();
|
|
89955
89949
|
}
|
|
89956
|
-
console.log("after");
|
|
89957
|
-
console.log(value.value);
|
|
89958
|
-
}
|
|
89959
|
-
function a7() {
|
|
89960
|
-
console.log("sss");
|
|
89961
89950
|
}
|
|
89962
89951
|
return (_ctx, _cache) => {
|
|
89963
|
-
return openBlock$2(), createElementBlock$2(
|
|
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
|
-
|
|
89989
|
-
|
|
89990
|
-
|
|
89991
|
-
|
|
89992
|
-
|
|
89993
|
-
|
|
89994
|
-
|
|
89995
|
-
|
|
89996
|
-
|
|
89997
|
-
_ctx.$slots.default ? (openBlock$2(), createElementBlock$2("span", _hoisted_4$2, [
|
|
89998
|
-
renderSlot$2(_ctx.$slots, "default", {}, void 0, true)
|
|
89999
|
-
])) : createCommentVNode$2("", true)
|
|
90000
|
-
], 16)
|
|
90001
|
-
], 64);
|
|
89952
|
+
return openBlock$2(), createElementBlock$2("label", mergeProps$2({ class: "ck-switch" }, computedAttributes.value, {
|
|
89953
|
+
class: computedClass.value,
|
|
89954
|
+
onKeydown: _cache[2] || (_cache[2] = withKeys$2(withModifiers$1(() => {
|
|
89955
|
+
}, ["prevent"]), ["space"]))
|
|
89956
|
+
}), [
|
|
89957
|
+
withDirectives$1(createElementVNode("input", {
|
|
89958
|
+
class: "ck-switch__input",
|
|
89959
|
+
type: "checkbox",
|
|
89960
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
89961
|
+
"aria-hidden": "true",
|
|
89962
|
+
disabled: _ctx.disabled,
|
|
89963
|
+
onClick: _cache[1] || (_cache[1] = ($event) => handleSwitchClick($event))
|
|
89964
|
+
}, null, 8, _hoisted_1$5), [
|
|
89965
|
+
[vModelCheckbox, value.value]
|
|
89966
|
+
]),
|
|
89967
|
+
createElementVNode("div", _hoisted_2$4, [
|
|
89968
|
+
_hoisted_3$2,
|
|
89969
|
+
_ctx.icon && value.value ? (openBlock$2(), createBlock$2(CkIcon, {
|
|
89970
|
+
key: 0,
|
|
89971
|
+
class: normalizeClass$2(["ck-switch__icon-left", iconClass.value]),
|
|
89972
|
+
icon: _ctx.icon,
|
|
89973
|
+
"icon-pack": _ctx.iconPack
|
|
89974
|
+
}, null, 8, ["icon", "icon-pack", "class"])) : createCommentVNode$2("", true),
|
|
89975
|
+
_ctx.icon && !value.value ? (openBlock$2(), createBlock$2(CkIcon, {
|
|
89976
|
+
key: 1,
|
|
89977
|
+
class: normalizeClass$2(["ck-switch__icon-right", iconClass.value]),
|
|
89978
|
+
icon: _ctx.icon,
|
|
89979
|
+
"icon-pack": _ctx.iconPack
|
|
89980
|
+
}, null, 8, ["icon", "icon-pack", "class"])) : createCommentVNode$2("", true)
|
|
89981
|
+
]),
|
|
89982
|
+
_ctx.$slots.default ? (openBlock$2(), createElementBlock$2("span", _hoisted_4$2, [
|
|
89983
|
+
renderSlot$2(_ctx.$slots, "default", {}, void 0, true)
|
|
89984
|
+
])) : createCommentVNode$2("", true)
|
|
89985
|
+
], 16);
|
|
90002
89986
|
};
|
|
90003
89987
|
}
|
|
90004
89988
|
});
|
|
90005
|
-
var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
89989
|
+
var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-7c49968e"]]);
|
|
90006
89990
|
var ckSwitchOptions_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
90007
89991
|
const _hoisted_1$4 = { class: "ck-switch-options__container-exterior" };
|
|
90008
89992
|
const _hoisted_2$3 = ["onClick"];
|