@sysvale/cuida 3.0.0-beta.98 → 3.0.0-beta.99
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/@sysvale/cuida.es.js +10 -5
- package/dist/@sysvale/cuida.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +2 -1
|
@@ -26796,7 +26796,7 @@ const Do = 0, To = 1, kd = (t) => t === void 0 ? {} : JSON.parse(JSON.stringify(
|
|
|
26796
26796
|
}
|
|
26797
26797
|
},
|
|
26798
26798
|
mounted() {
|
|
26799
|
-
this.selectedValue = this.modelValue, this.updateRenderOptions(), this.indeterminate = this.hasSelectedValues && this.selectedValue.length < this.options.length;
|
|
26799
|
+
this.modelValue === null || this.modelValue.length === 0 || (this.selectedValue = this.modelValue, this.updateRenderOptions(), this.indeterminate = this.hasSelectedValues && this.selectedValue.length < this.options.length);
|
|
26800
26800
|
},
|
|
26801
26801
|
methods: {
|
|
26802
26802
|
unselectItem(t) {
|
|
@@ -26871,7 +26871,7 @@ const Do = 0, To = 1, kd = (t) => t === void 0 ? {} : JSON.parse(JSON.stringify(
|
|
|
26871
26871
|
}
|
|
26872
26872
|
}, r5 = () => {
|
|
26873
26873
|
Zn((t) => ({
|
|
26874
|
-
"
|
|
26874
|
+
"641e8d71": t.inputBackgroundColor
|
|
26875
26875
|
}));
|
|
26876
26876
|
}, a5 = Up.setup;
|
|
26877
26877
|
Up.setup = a5 ? (t, e) => (r5(), a5(t, e)) : r5;
|
|
@@ -28359,6 +28359,11 @@ const Gp = {
|
|
|
28359
28359
|
default: !1
|
|
28360
28360
|
}
|
|
28361
28361
|
},
|
|
28362
|
+
data() {
|
|
28363
|
+
return {
|
|
28364
|
+
uniqueId: Math.random()
|
|
28365
|
+
};
|
|
28366
|
+
},
|
|
28362
28367
|
computed: {
|
|
28363
28368
|
isChecked() {
|
|
28364
28369
|
return this.modelValue === this.value;
|
|
@@ -28369,7 +28374,7 @@ const Gp = {
|
|
|
28369
28374
|
}
|
|
28370
28375
|
}, m5 = () => {
|
|
28371
28376
|
Zn((t) => ({
|
|
28372
|
-
"
|
|
28377
|
+
"3208a1c7": t.cursorType
|
|
28373
28378
|
}));
|
|
28374
28379
|
}, v5 = Gp.setup;
|
|
28375
28380
|
Gp.setup = v5 ? (t, e) => (m5(), v5(t, e)) : m5;
|
|
@@ -28377,7 +28382,7 @@ const yce = Gp, wce = { class: "cds-radio__container" }, xce = ["id", "value", "
|
|
|
28377
28382
|
function Oce(t, e, n, i, s, r) {
|
|
28378
28383
|
return C(), T("span", wce, [
|
|
28379
28384
|
$("input", {
|
|
28380
|
-
id: n.value
|
|
28385
|
+
id: `${s.uniqueId}-${n.value}`,
|
|
28381
28386
|
type: "radio",
|
|
28382
28387
|
class: H(["cds-radio", `cds-radio--${n.variant}`]),
|
|
28383
28388
|
value: n.value,
|
|
@@ -28388,7 +28393,7 @@ function Oce(t, e, n, i, s, r) {
|
|
|
28388
28393
|
}, null, 42, xce),
|
|
28389
28394
|
$("label", {
|
|
28390
28395
|
class: "cds-radio__label",
|
|
28391
|
-
for: n.value
|
|
28396
|
+
for: `${s.uniqueId}-${n.value}`
|
|
28392
28397
|
}, [
|
|
28393
28398
|
ae(t.$slots, "default", {}, () => [
|
|
28394
28399
|
$("span", {
|