readytech-ui-library-v2 1.0.160 → 1.0.161

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.
@@ -12754,6 +12754,10 @@ function rte(e, t, n, r, a, i) {
12754
12754
  const ate = /* @__PURE__ */ je(nte, [["render", rte], ["__scopeId", "data-v-61d3c998"]]), ite = {
12755
12755
  name: "RtInput",
12756
12756
  props: {
12757
+ required: {
12758
+ type: Boolean,
12759
+ default: !1
12760
+ },
12757
12761
  label: {
12758
12762
  type: String,
12759
12763
  default: "Input Field"
@@ -12833,6 +12837,9 @@ const ate = /* @__PURE__ */ je(nte, [["render", rte], ["__scopeId", "data-v-61d3
12833
12837
  return this.hint ? `hint-${this.id}` : null;
12834
12838
  },
12835
12839
  computedAriaDescribedby() {
12840
+ },
12841
+ computedLabel() {
12842
+ return this.required ? `${this.label} *` : this.label;
12836
12843
  }
12837
12844
  },
12838
12845
  methods: {
@@ -12862,11 +12869,13 @@ function lte(e, t, n, r, a, i) {
12862
12869
  "prepend-inner-icon": n.prependInnerIcon,
12863
12870
  clearable: "",
12864
12871
  autocomplete: n.autocomplete,
12865
- "onClick:clear": i.handleClear
12866
- }), null, 16, ["modelValue", "id", "hint", "label", "aria-label", "aria-describedby", "aria-invalid", "placeholder", "disabled", "error", "error-messages", "append-icon", "append-inner-icon", "prepend-icon", "prepend-inner-icon", "autocomplete", "onClick:clear"])
12872
+ "onClick:clear": i.handleClear,
12873
+ required: n.required,
12874
+ "aria-required": n.required ? "true" : "false"
12875
+ }), null, 16, ["modelValue", "id", "hint", "label", "aria-label", "aria-describedby", "aria-invalid", "placeholder", "disabled", "error", "error-messages", "append-icon", "append-inner-icon", "prepend-icon", "prepend-inner-icon", "autocomplete", "onClick:clear", "required", "aria-required"])
12867
12876
  ]);
12868
12877
  }
12869
- const Z3 = /* @__PURE__ */ je(ite, [["render", lte], ["__scopeId", "data-v-4f557003"]]), ute = {
12878
+ const Z3 = /* @__PURE__ */ je(ite, [["render", lte], ["__scopeId", "data-v-519dabc6"]]), ute = {
12870
12879
  name: "RtConfirmEdit",
12871
12880
  components: {
12872
12881
  RtInput: Z3,