readytech-ui-library-v2 1.0.75 → 1.0.76

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.
@@ -19501,6 +19501,10 @@ const nb = /* @__PURE__ */ fe(eb, [["render", tb], ["__scopeId", "data-v-1690347
19501
19501
  }), rb = {
19502
19502
  name: "RtRadioGroup",
19503
19503
  props: {
19504
+ inline: {
19505
+ type: Boolean,
19506
+ default: !1
19507
+ },
19504
19508
  label: {
19505
19509
  type: String,
19506
19510
  default: "Choose an option"
@@ -19514,7 +19518,7 @@ const nb = /* @__PURE__ */ fe(eb, [["render", tb], ["__scopeId", "data-v-1690347
19514
19518
  ],
19515
19519
  validator(e) {
19516
19520
  return Array.isArray(e) && e.every(
19517
- (n) => n && typeof n == "object" && "label" in n && "value" in n
19521
+ (n) => typeof n == "object" && "label" in n && "value" in n
19518
19522
  );
19519
19523
  }
19520
19524
  },
@@ -19525,7 +19529,6 @@ const nb = /* @__PURE__ */ fe(eb, [["render", tb], ["__scopeId", "data-v-1690347
19525
19529
  direction: {
19526
19530
  type: String,
19527
19531
  default: "vertical",
19528
- // Vuetify 3 default
19529
19532
  validator(e) {
19530
19533
  return ["horizontal", "vertical"].includes(e);
19531
19534
  }
@@ -19543,6 +19546,9 @@ const nb = /* @__PURE__ */ fe(eb, [["render", tb], ["__scopeId", "data-v-1690347
19543
19546
  set(e) {
19544
19547
  this.$emit("update:modelValue", e);
19545
19548
  }
19549
+ },
19550
+ labelId() {
19551
+ return `radio-group-label-${this._uid}`;
19546
19552
  }
19547
19553
  }
19548
19554
  }, sb = { role: "main" };
@@ -19552,10 +19558,10 @@ function ub(e, n, t, a, l, i) {
19552
19558
  modelValue: i.selectedValue,
19553
19559
  "onUpdate:modelValue": n[0] || (n[0] = (o) => i.selectedValue = o),
19554
19560
  label: t.label,
19555
- "aria-labelledby": t.label,
19556
- direction: t.direction,
19561
+ "aria-labelledby": i.labelId,
19562
+ row: t.direction === "vertical",
19557
19563
  color: t.color,
19558
- onChange: n[1] || (n[1] = (o) => e.$emit("update:modelValue", i.selectedValue))
19564
+ inline: t.inline
19559
19565
  }, {
19560
19566
  default: $(() => [
19561
19567
  (M(!0), we(Q, null, Ne(t.options, (o) => (M(), W(lb, {
@@ -19565,10 +19571,10 @@ function ub(e, n, t, a, l, i) {
19565
19571
  }, null, 8, ["label", "value"]))), 128))
19566
19572
  ]),
19567
19573
  _: 1
19568
- }, 8, ["modelValue", "label", "aria-labelledby", "direction", "color"])
19574
+ }, 8, ["modelValue", "label", "aria-labelledby", "row", "color", "inline"])
19569
19575
  ]);
19570
19576
  }
19571
- const cb = /* @__PURE__ */ fe(rb, [["render", ub], ["__scopeId", "data-v-47486cf9"]]), db = R({
19577
+ const cb = /* @__PURE__ */ fe(rb, [["render", ub], ["__scopeId", "data-v-06467e03"]]), db = R({
19572
19578
  ...nl(),
19573
19579
  ...Jt(),
19574
19580
  ...nu(),