cleek 2.6.44 → 2.6.47
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 +12 -12
- package/dist/cleek.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { watch as watch$1, effectScope, reactive as reactive$2, computed as computed$3, pushScopeId as pushScopeId$2, popScopeId as popScopeId$2, defineComponent as defineComponent$2, nextTick as nextTick$4, openBlock as openBlock$2, createBlock as createBlock$2, createElementBlock as createElementBlock$2, normalizeClass as normalizeClass$2, renderSlot as renderSlot$2, normalizeProps as normalizeProps$1, guardReactiveProps as guardReactiveProps$2, withScopeId as withScopeId$2, resolveComponent as resolveComponent$2, normalizeStyle as normalizeStyle$2, withKeys as withKeys$2, createElementVNode, Fragment as Fragment$2, createCommentVNode as createCommentVNode$2, withCtx as withCtx$2, createVNode as createVNode$2, ref as ref$1, createApp, h as h$2, mergeProps as mergeProps$2, toDisplayString as toDisplayString$1, resolveDirective, createTextVNode as createTextVNode$2, withDirectives as withDirectives$1, onMounted as onMounted$1, getCurrentInstance as getCurrentInstance$1, unref as unref$3, onBeforeUnmount as onBeforeUnmount$1, vModelText, vModelDynamic, renderList as renderList$1, withModifiers as withModifiers$1, Teleport as Teleport$1, watchEffect, resolveDynamicComponent as resolveDynamicComponent$1, vShow as vShow$1, vModelRadio, vModelSelect } from "vue";
|
|
1
|
+
import { watch as watch$1, effectScope, reactive as reactive$2, computed as computed$3, pushScopeId as pushScopeId$2, popScopeId as popScopeId$2, defineComponent as defineComponent$2, nextTick as nextTick$4, openBlock as openBlock$2, createBlock as createBlock$2, createElementBlock as createElementBlock$2, normalizeClass as normalizeClass$2, renderSlot as renderSlot$2, normalizeProps as normalizeProps$1, guardReactiveProps as guardReactiveProps$2, withScopeId as withScopeId$2, resolveComponent as resolveComponent$2, normalizeStyle as normalizeStyle$2, withKeys as withKeys$2, createElementVNode, Fragment as Fragment$2, createCommentVNode as createCommentVNode$2, withCtx as withCtx$2, createVNode as createVNode$2, ref as ref$1, createApp, h as h$2, mergeProps as mergeProps$2, toDisplayString as toDisplayString$1, resolveDirective, createTextVNode as createTextVNode$2, withDirectives as withDirectives$1, onMounted as onMounted$1, getCurrentInstance as getCurrentInstance$1, unref as unref$3, onBeforeUnmount as onBeforeUnmount$1, vModelText, vModelDynamic, renderList as renderList$1, withModifiers as withModifiers$1, Teleport as Teleport$1, watchEffect, resolveDynamicComponent as resolveDynamicComponent$1, vShow as vShow$1, vModelRadio, vModelSelect, vModelCheckbox } from "vue";
|
|
2
2
|
function getDevtoolsGlobalHook$2() {
|
|
3
3
|
return getTarget$2().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
4
4
|
}
|
|
@@ -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 = ["
|
|
89889
|
+
const _withScopeId$1 = (n2) => (pushScopeId$2("data-v-6d39454b"), n2 = n2(), popScopeId$2(), n2);
|
|
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));
|
|
89893
89893
|
const _hoisted_4$2 = {
|
|
@@ -89941,9 +89941,8 @@ const _sfc_main$5 = defineComponent$2({
|
|
|
89941
89941
|
}
|
|
89942
89942
|
return list;
|
|
89943
89943
|
});
|
|
89944
|
-
function
|
|
89944
|
+
function handleSwitchClick(e4) {
|
|
89945
89945
|
if (props.preventAutoUpdate) {
|
|
89946
|
-
e4.preventDefault();
|
|
89947
89946
|
e4.stopPropagation();
|
|
89948
89947
|
}
|
|
89949
89948
|
}
|
|
@@ -89954,16 +89953,17 @@ const _sfc_main$5 = defineComponent$2({
|
|
|
89954
89953
|
class: computedClass.value,
|
|
89955
89954
|
onKeydown: _cache[1] || (_cache[1] = withKeys$2(withModifiers$1(() => {
|
|
89956
89955
|
}, ["prevent"]), ["space"])),
|
|
89957
|
-
|
|
89956
|
+
onClick: _cache[2] || (_cache[2] = ($event) => handleSwitchClick($event))
|
|
89958
89957
|
}), [
|
|
89959
|
-
createElementVNode("input", {
|
|
89958
|
+
withDirectives$1(createElementVNode("input", {
|
|
89960
89959
|
class: "ck-switch__input",
|
|
89961
89960
|
type: "checkbox",
|
|
89962
|
-
|
|
89961
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
89963
89962
|
"aria-hidden": "true",
|
|
89964
|
-
disabled: _ctx.disabled
|
|
89965
|
-
|
|
89966
|
-
|
|
89963
|
+
disabled: _ctx.disabled
|
|
89964
|
+
}, null, 8, _hoisted_1$5), [
|
|
89965
|
+
[vModelCheckbox, value.value]
|
|
89966
|
+
]),
|
|
89967
89967
|
createElementVNode("div", _hoisted_2$4, [
|
|
89968
89968
|
_hoisted_3$2,
|
|
89969
89969
|
_ctx.icon && value.value ? (openBlock$2(), createBlock$2(CkIcon, {
|
|
@@ -89987,7 +89987,7 @@ const _sfc_main$5 = defineComponent$2({
|
|
|
89987
89987
|
};
|
|
89988
89988
|
}
|
|
89989
89989
|
});
|
|
89990
|
-
var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
89990
|
+
var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-6d39454b"]]);
|
|
89991
89991
|
var ckSwitchOptions_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
89992
89992
|
const _hoisted_1$4 = { class: "ck-switch-options__container-exterior" };
|
|
89993
89993
|
const _hoisted_2$3 = ["onClick"];
|