cleek 2.4.74 → 2.4.78
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 +15 -4
- package/dist/cleek.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -26420,7 +26420,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
26420
26420
|
});
|
|
26421
26421
|
var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-eed7a2c0"]]);
|
|
26422
26422
|
var ckRadio_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
26423
|
-
const _withScopeId$2 = (n) => (pushScopeId("data-v-
|
|
26423
|
+
const _withScopeId$2 = (n) => (pushScopeId("data-v-0dd8663c"), n = n(), popScopeId(), n);
|
|
26424
26424
|
const _hoisted_1$8 = ["onKeyup"];
|
|
26425
26425
|
const _hoisted_2$6 = ["name", "value", "disabled"];
|
|
26426
26426
|
const _hoisted_3$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "c-Radio__element" }, null, -1));
|
|
@@ -26432,6 +26432,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
26432
26432
|
props: {
|
|
26433
26433
|
modelValue: null,
|
|
26434
26434
|
name: null,
|
|
26435
|
+
vertical: { type: Boolean },
|
|
26436
|
+
classes: null,
|
|
26435
26437
|
options: null,
|
|
26436
26438
|
disabled: { type: Boolean },
|
|
26437
26439
|
value: null,
|
|
@@ -26463,6 +26465,14 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
26463
26465
|
}
|
|
26464
26466
|
return [];
|
|
26465
26467
|
});
|
|
26468
|
+
const computedClass = computed$2(() => {
|
|
26469
|
+
const list = [];
|
|
26470
|
+
if (props.vertical)
|
|
26471
|
+
list.push("vertical");
|
|
26472
|
+
if (props.classes)
|
|
26473
|
+
list.push(props.classes);
|
|
26474
|
+
return list;
|
|
26475
|
+
});
|
|
26466
26476
|
function handleChange(option, event) {
|
|
26467
26477
|
option.value = value;
|
|
26468
26478
|
emits("change", event);
|
|
@@ -26470,9 +26480,10 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
26470
26480
|
return (_ctx, _cache) => {
|
|
26471
26481
|
return openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(computedOptions), (option, index) => {
|
|
26472
26482
|
return openBlock(), createElementBlock("label", mergeProps({
|
|
26473
|
-
|
|
26474
|
-
|
|
26483
|
+
class: "ck-radio",
|
|
26484
|
+
key: `radio-${index}`
|
|
26475
26485
|
}, unref$1(radioAttributes), {
|
|
26486
|
+
class: unref$1(computedClass),
|
|
26476
26487
|
onKeydown: _cache[1] || (_cache[1] = withKeys(withModifiers(() => {
|
|
26477
26488
|
}, ["prevent"]), ["space"])),
|
|
26478
26489
|
onKeyup: [
|
|
@@ -26498,7 +26509,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
26498
26509
|
};
|
|
26499
26510
|
}
|
|
26500
26511
|
});
|
|
26501
|
-
var ckRadio = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
26512
|
+
var ckRadio = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-0dd8663c"]]);
|
|
26502
26513
|
var ckSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
26503
26514
|
const _hoisted_1$7 = ["disabled"];
|
|
26504
26515
|
const _hoisted_2$5 = ["value"];
|