readytech-ui-library-v2 1.0.28 → 1.0.29
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.
@@ -13129,6 +13129,11 @@ const lm = /* @__PURE__ */ ce(tm, [["render", nm]]), am = {
|
|
13129
13129
|
indeterminate: {
|
13130
13130
|
type: Boolean,
|
13131
13131
|
default: !1
|
13132
|
+
},
|
13133
|
+
uid: {
|
13134
|
+
type: String,
|
13135
|
+
required: !0
|
13136
|
+
// Ensure _uid is passed as a prop
|
13132
13137
|
}
|
13133
13138
|
},
|
13134
13139
|
computed: {
|
@@ -13140,6 +13145,9 @@ const lm = /* @__PURE__ */ ce(tm, [["render", nm]]), am = {
|
|
13140
13145
|
this.$emit("update:modelValue", e);
|
13141
13146
|
}
|
13142
13147
|
},
|
13148
|
+
id() {
|
13149
|
+
return `rt-checkbox-${this.uid}`;
|
13150
|
+
},
|
13143
13151
|
// Compute the unique ID for the checkbox label
|
13144
13152
|
ariaLabelId() {
|
13145
13153
|
return `checkbox-label-${this._uid}`;
|
@@ -13154,6 +13162,7 @@ function im(e, n, t, l, a, i) {
|
|
13154
13162
|
return D(), U(Yv, {
|
13155
13163
|
modelValue: i.checkedValue,
|
13156
13164
|
"onUpdate:modelValue": n[0] || (n[0] = (o) => i.checkedValue = o),
|
13165
|
+
id: i.id,
|
13157
13166
|
label: t.label,
|
13158
13167
|
disabled: t.disabled,
|
13159
13168
|
error: t.error,
|
@@ -13163,9 +13172,9 @@ function im(e, n, t, l, a, i) {
|
|
13163
13172
|
"aria-describedby": i.ariaErrorMessagesId,
|
13164
13173
|
"aria-checked": t.indeterminate ? "mixed" : i.checkedValue ? "true" : "false",
|
13165
13174
|
"aria-disabled": t.disabled ? "true" : "false"
|
13166
|
-
}, null, 8, ["modelValue", "label", "disabled", "error", "error-messages", "indeterminate", "aria-labelledby", "aria-describedby", "aria-checked", "aria-disabled"]);
|
13175
|
+
}, null, 8, ["modelValue", "id", "label", "disabled", "error", "error-messages", "indeterminate", "aria-labelledby", "aria-describedby", "aria-checked", "aria-disabled"]);
|
13167
13176
|
}
|
13168
|
-
const om = /* @__PURE__ */ ce(am, [["render", im], ["__scopeId", "data-v-
|
13177
|
+
const om = /* @__PURE__ */ ce(am, [["render", im], ["__scopeId", "data-v-df1c0fc8"]]), rm = R({
|
13169
13178
|
color: {
|
13170
13179
|
type: Object
|
13171
13180
|
},
|