readytech-ui-library-v2 1.0.192 → 1.0.193
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.
|
@@ -13913,7 +13913,7 @@ const iz = J({
|
|
|
13913
13913
|
},
|
|
13914
13914
|
hint: {
|
|
13915
13915
|
type: String,
|
|
13916
|
-
default: "Enter date as
|
|
13916
|
+
default: "Enter date as DD-MM-YYYY or use calendar"
|
|
13917
13917
|
},
|
|
13918
13918
|
multiple: {
|
|
13919
13919
|
type: Boolean,
|
|
@@ -13953,7 +13953,7 @@ const iz = J({
|
|
|
13953
13953
|
return;
|
|
13954
13954
|
}
|
|
13955
13955
|
const t = this.parseUserInput(e);
|
|
13956
|
-
t ? (this.date = t, this.inputError = null, this.$emit("update:modelValue", t)) : this.inputError = "Invalid date format. Use
|
|
13956
|
+
t ? (this.date = t, this.inputError = null, this.$emit("update:modelValue", t)) : this.inputError = "Invalid date format. Use DD-MM-YYYY.";
|
|
13957
13957
|
}
|
|
13958
13958
|
},
|
|
13959
13959
|
id() {
|
|
@@ -14014,7 +14014,21 @@ const iz = J({
|
|
|
14014
14014
|
},
|
|
14015
14015
|
handleClear() {
|
|
14016
14016
|
this.date = null, this.inputError = null, this.$emit("update:modelValue", null);
|
|
14017
|
+
},
|
|
14018
|
+
updateAttributes() {
|
|
14019
|
+
if (!this.$el) return;
|
|
14020
|
+
const e = this.$el.querySelector("input");
|
|
14021
|
+
if (!(e != null && e.hasAttribute("id"))) return;
|
|
14022
|
+
const t = e.getAttribute("id"), r = (e.getAttribute("aria-describedby") || "").split(" ").filter(Boolean).filter((i) => i !== `${t}-messages`);
|
|
14023
|
+
r.push(`${t}-messages`);
|
|
14024
|
+
const a = r.join(" ");
|
|
14025
|
+
e.setAttribute("aria-describedby", a);
|
|
14017
14026
|
}
|
|
14027
|
+
},
|
|
14028
|
+
mounted() {
|
|
14029
|
+
this.$nextTick(() => {
|
|
14030
|
+
this.updateAttributes();
|
|
14031
|
+
});
|
|
14018
14032
|
}
|
|
14019
14033
|
}, Ate = {
|
|
14020
14034
|
class: "rt-date-input",
|
|
@@ -14101,7 +14115,7 @@ function Ote(e, t, n, r, a, i) {
|
|
|
14101
14115
|
], 8, _te)) : Ge("", !0)
|
|
14102
14116
|
]);
|
|
14103
14117
|
}
|
|
14104
|
-
const Tte = /* @__PURE__ */ ze(Dte, [["render", Ote], ["__scopeId", "data-v-
|
|
14118
|
+
const Tte = /* @__PURE__ */ ze(Dte, [["render", Ote], ["__scopeId", "data-v-f47ca41f"]]), Bte = {
|
|
14105
14119
|
name: "RtDatePicker",
|
|
14106
14120
|
props: {
|
|
14107
14121
|
color: {
|
|
@@ -18636,7 +18650,7 @@ const Qre = /* @__PURE__ */ ze(Jre, [["render", Zre], ["__scopeId", "data-v-e88f
|
|
|
18636
18650
|
const r = document.getElementById(n);
|
|
18637
18651
|
if (r) {
|
|
18638
18652
|
const a = r.getElementsByClassName("v-list")[0];
|
|
18639
|
-
a && (a.setAttribute("id", n), a.setAttribute("role", "listbox"), a.setAttribute("aria-label", "registry options")
|
|
18653
|
+
a && (a.setAttribute("id", n), a.setAttribute("role", "listbox"), a.setAttribute("aria-label", "registry options")), r.removeAttribute("id");
|
|
18640
18654
|
}
|
|
18641
18655
|
}
|
|
18642
18656
|
}
|
|
@@ -18715,7 +18729,7 @@ function rae(e, t, n, r, a, i) {
|
|
|
18715
18729
|
} : void 0
|
|
18716
18730
|
]), 1040, ["items", "modelValue", "label", "density", "outlined", "chips", "multiple", "placeholder", "disabled", "error", "error-messages", "menu-props", "item-title", "item-value", "clearable", "loading", "onUpdate:search", "onUpdate:focused"]);
|
|
18717
18731
|
}
|
|
18718
|
-
const aae = /* @__PURE__ */ ze(nae, [["render", rae], ["__scopeId", "data-v-
|
|
18732
|
+
const aae = /* @__PURE__ */ ze(nae, [["render", rae], ["__scopeId", "data-v-f3e864e8"]]), iae = {
|
|
18719
18733
|
name: "RtSheet",
|
|
18720
18734
|
props: {
|
|
18721
18735
|
rounded: {
|
|
@@ -26001,12 +26015,12 @@ const fle = /* @__PURE__ */ ze(cle, [["render", dle]]), vle = {
|
|
|
26001
26015
|
}
|
|
26002
26016
|
};
|
|
26003
26017
|
function hle(e, t, n, r, a, i) {
|
|
26004
|
-
return K(), ce(cg, {
|
|
26018
|
+
return K(), ce(cg, ae({
|
|
26005
26019
|
modelValue: i.internalDialogVisible,
|
|
26006
26020
|
"onUpdate:modelValue": t[0] || (t[0] = (o) => i.internalDialogVisible = o),
|
|
26007
26021
|
"max-width": "1270px",
|
|
26008
26022
|
persistent: ""
|
|
26009
|
-
}, {
|
|
26023
|
+
}, e.$attrs), {
|
|
26010
26024
|
default: ne(() => [
|
|
26011
26025
|
w(ki, null, {
|
|
26012
26026
|
default: ne(() => [
|
|
@@ -26026,9 +26040,9 @@ function hle(e, t, n, r, a, i) {
|
|
|
26026
26040
|
})
|
|
26027
26041
|
]),
|
|
26028
26042
|
_: 1
|
|
26029
|
-
},
|
|
26043
|
+
}, 16, ["modelValue"]);
|
|
26030
26044
|
}
|
|
26031
|
-
const gle = /* @__PURE__ */ ze(vle, [["render", hle], ["__scopeId", "data-v-
|
|
26045
|
+
const gle = /* @__PURE__ */ ze(vle, [["render", hle], ["__scopeId", "data-v-5f8af73b"]]);
|
|
26032
26046
|
var Wt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
26033
26047
|
function mle(e) {
|
|
26034
26048
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|