cleek 2.4.74 → 2.4.75
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 -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-dc40a9c2"), 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,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
26432
26432
|
props: {
|
|
26433
26433
|
modelValue: null,
|
|
26434
26434
|
name: null,
|
|
26435
|
+
vertical: { type: Boolean },
|
|
26435
26436
|
options: null,
|
|
26436
26437
|
disabled: { type: Boolean },
|
|
26437
26438
|
value: null,
|
|
@@ -26463,6 +26464,12 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
26463
26464
|
}
|
|
26464
26465
|
return [];
|
|
26465
26466
|
});
|
|
26467
|
+
const computedClass = computed$2(() => {
|
|
26468
|
+
const list = [];
|
|
26469
|
+
if (props.vertical)
|
|
26470
|
+
list.push("vertical");
|
|
26471
|
+
return list;
|
|
26472
|
+
});
|
|
26466
26473
|
function handleChange(option, event) {
|
|
26467
26474
|
option.value = value;
|
|
26468
26475
|
emits("change", event);
|
|
@@ -26470,9 +26477,10 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
26470
26477
|
return (_ctx, _cache) => {
|
|
26471
26478
|
return openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(computedOptions), (option, index) => {
|
|
26472
26479
|
return openBlock(), createElementBlock("label", mergeProps({
|
|
26473
|
-
|
|
26474
|
-
|
|
26480
|
+
class: "ck-radio",
|
|
26481
|
+
key: `radio-${index}`
|
|
26475
26482
|
}, unref$1(radioAttributes), {
|
|
26483
|
+
class: unref$1(computedClass),
|
|
26476
26484
|
onKeydown: _cache[1] || (_cache[1] = withKeys(withModifiers(() => {
|
|
26477
26485
|
}, ["prevent"]), ["space"])),
|
|
26478
26486
|
onKeyup: [
|
|
@@ -26498,7 +26506,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
26498
26506
|
};
|
|
26499
26507
|
}
|
|
26500
26508
|
});
|
|
26501
|
-
var ckRadio = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
26509
|
+
var ckRadio = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-dc40a9c2"]]);
|
|
26502
26510
|
var ckSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
26503
26511
|
const _hoisted_1$7 = ["disabled"];
|
|
26504
26512
|
const _hoisted_2$5 = ["value"];
|