cleek 2.6.42 → 2.6.44
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 +38 -34
- 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-e17812ca"), n2 = n2(), popScopeId$2(), n2);
|
|
89890
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));
|
|
@@ -89948,42 +89948,46 @@ const _sfc_main$5 = defineComponent$2({
|
|
|
89948
89948
|
}
|
|
89949
89949
|
}
|
|
89950
89950
|
return (_ctx, _cache) => {
|
|
89951
|
-
return openBlock$2(), createElementBlock$2(
|
|
89952
|
-
|
|
89953
|
-
|
|
89954
|
-
|
|
89955
|
-
|
|
89956
|
-
|
|
89957
|
-
|
|
89958
|
-
|
|
89959
|
-
|
|
89960
|
-
|
|
89961
|
-
|
|
89962
|
-
|
|
89963
|
-
|
|
89964
|
-
|
|
89965
|
-
|
|
89966
|
-
|
|
89967
|
-
|
|
89968
|
-
|
|
89969
|
-
icon
|
|
89970
|
-
|
|
89971
|
-
|
|
89972
|
-
|
|
89973
|
-
|
|
89974
|
-
class:
|
|
89975
|
-
icon
|
|
89976
|
-
|
|
89977
|
-
|
|
89978
|
-
|
|
89979
|
-
|
|
89980
|
-
|
|
89981
|
-
|
|
89982
|
-
|
|
89951
|
+
return openBlock$2(), createElementBlock$2(Fragment$2, null, [
|
|
89952
|
+
createTextVNode$2(toDisplayString$1(value.value), 1),
|
|
89953
|
+
createElementVNode("label", mergeProps$2({ class: "ck-switch" }, computedAttributes.value, {
|
|
89954
|
+
class: computedClass.value,
|
|
89955
|
+
onKeydown: _cache[1] || (_cache[1] = withKeys$2(withModifiers$1(() => {
|
|
89956
|
+
}, ["prevent"]), ["space"])),
|
|
89957
|
+
onInput: _cache[2] || (_cache[2] = ($event) => handleCheckboxClick($event))
|
|
89958
|
+
}), [
|
|
89959
|
+
createElementVNode("input", {
|
|
89960
|
+
class: "ck-switch__input",
|
|
89961
|
+
type: "checkbox",
|
|
89962
|
+
checked: value.value,
|
|
89963
|
+
"aria-hidden": "true",
|
|
89964
|
+
disabled: _ctx.disabled,
|
|
89965
|
+
onInput: _cache[0] || (_cache[0] = ($event) => handleCheckboxClick($event))
|
|
89966
|
+
}, null, 40, _hoisted_1$5),
|
|
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)
|
|
89986
|
+
], 64);
|
|
89983
89987
|
};
|
|
89984
89988
|
}
|
|
89985
89989
|
});
|
|
89986
|
-
var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
89990
|
+
var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-e17812ca"]]);
|
|
89987
89991
|
var ckSwitchOptions_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
89988
89992
|
const _hoisted_1$4 = { class: "ck-switch-options__container-exterior" };
|
|
89989
89993
|
const _hoisted_2$3 = ["onClick"];
|