readytech-ui-library-v2 1.0.29 → 1.0.31
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.
@@ -13132,8 +13132,9 @@ const lm = /* @__PURE__ */ ce(tm, [["render", nm]]), am = {
|
|
13132
13132
|
},
|
13133
13133
|
uid: {
|
13134
13134
|
type: String,
|
13135
|
-
|
13136
|
-
|
13135
|
+
default() {
|
13136
|
+
return `rt-checkbox-${Math.random().toString(36).substr(2, 9)}`;
|
13137
|
+
}
|
13137
13138
|
}
|
13138
13139
|
},
|
13139
13140
|
computed: {
|
@@ -13148,13 +13149,16 @@ const lm = /* @__PURE__ */ ce(tm, [["render", nm]]), am = {
|
|
13148
13149
|
id() {
|
13149
13150
|
return `rt-checkbox-${this.uid}`;
|
13150
13151
|
},
|
13152
|
+
id() {
|
13153
|
+
return `rt-checkbox-${this.uid}`;
|
13154
|
+
},
|
13151
13155
|
// Compute the unique ID for the checkbox label
|
13152
13156
|
ariaLabelId() {
|
13153
|
-
return `checkbox-label-${this.
|
13157
|
+
return `checkbox-label-${this.uid}`;
|
13154
13158
|
},
|
13155
13159
|
// If error messages exist, generate a unique ID to associate with aria-describedby
|
13156
13160
|
ariaErrorMessagesId() {
|
13157
|
-
return this.errorMessages.length ? `checkbox-error-${this.
|
13161
|
+
return this.errorMessages.length ? `checkbox-error-${this.uid}` : null;
|
13158
13162
|
}
|
13159
13163
|
}
|
13160
13164
|
};
|
@@ -13174,7 +13178,7 @@ function im(e, n, t, l, a, i) {
|
|
13174
13178
|
"aria-disabled": t.disabled ? "true" : "false"
|
13175
13179
|
}, null, 8, ["modelValue", "id", "label", "disabled", "error", "error-messages", "indeterminate", "aria-labelledby", "aria-describedby", "aria-checked", "aria-disabled"]);
|
13176
13180
|
}
|
13177
|
-
const om = /* @__PURE__ */ ce(am, [["render", im], ["__scopeId", "data-v-
|
13181
|
+
const om = /* @__PURE__ */ ce(am, [["render", im], ["__scopeId", "data-v-68ef714f"]]), rm = R({
|
13178
13182
|
color: {
|
13179
13183
|
type: Object
|
13180
13184
|
},
|