cleek 1.8.9 → 1.8.10
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 -3
- package/dist/cleek.umd.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -11980,6 +11980,12 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
11980
11980
|
return props.modelValue === null;
|
|
11981
11981
|
}
|
|
11982
11982
|
});
|
|
11983
|
+
function onClick(event) {
|
|
11984
|
+
emits("click", event);
|
|
11985
|
+
}
|
|
11986
|
+
const onChange = (event) => {
|
|
11987
|
+
emits("change", event);
|
|
11988
|
+
};
|
|
11983
11989
|
const getOptionKey = (option) => {
|
|
11984
11990
|
return realReduceFunction(option);
|
|
11985
11991
|
};
|
|
@@ -12010,7 +12016,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
12010
12016
|
}, 8, ["align"])) : createCommentVNode("", true),
|
|
12011
12017
|
withDirectives(createElementVNode("select", {
|
|
12012
12018
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(value) ? value.value = $event : null),
|
|
12013
|
-
class: normalizeClass(unref(computedClass))
|
|
12019
|
+
class: normalizeClass(unref(computedClass)),
|
|
12020
|
+
onClick: _cache[1] || (_cache[1] = ($event) => onClick($event)),
|
|
12021
|
+
onChange: _cache[2] || (_cache[2] = ($event) => onChange($event))
|
|
12014
12022
|
}, [
|
|
12015
12023
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(filteredOptions), (option) => {
|
|
12016
12024
|
return openBlock(), createElementBlock("option", {
|
|
@@ -12018,14 +12026,14 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
12018
12026
|
key: option
|
|
12019
12027
|
}, toDisplayString(getOptionName(option)), 9, _hoisted_1$9);
|
|
12020
12028
|
}), 128))
|
|
12021
|
-
],
|
|
12029
|
+
], 34), [
|
|
12022
12030
|
[vModelSelect, unref(value)]
|
|
12023
12031
|
])
|
|
12024
12032
|
], 4);
|
|
12025
12033
|
};
|
|
12026
12034
|
}
|
|
12027
12035
|
});
|
|
12028
|
-
var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-
|
|
12036
|
+
var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-41e8ae57"]]);
|
|
12029
12037
|
const _withScopeId = (n) => (pushScopeId("data-v-4963b7ae"), n = n(), popScopeId(), n);
|
|
12030
12038
|
const _hoisted_1$8 = ["disabled"];
|
|
12031
12039
|
const _hoisted_2$3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-switch__slider" }, null, -1));
|