@anzusystems/common-admin 0.0.53 → 0.0.55
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.
- package/dist/common-admin.es.js +151 -151
- package/package.json +6 -9
package/dist/common-admin.es.js
CHANGED
|
@@ -32,8 +32,8 @@ import { VSelect as Lo } from "vuetify/lib/components/VSelect/index.mjs";
|
|
|
32
32
|
import { VProgressCircular as Xn } from "vuetify/lib/components/VProgressCircular/index.mjs";
|
|
33
33
|
import { VAvatar as ca } from "vuetify/lib/components/VAvatar/index.mjs";
|
|
34
34
|
import { VAppBar as zo } from "vuetify/lib/components/VAppBar/index.mjs";
|
|
35
|
-
import { VColorPicker as
|
|
36
|
-
import { VDivider as
|
|
35
|
+
import { VColorPicker as jo } from "vuetify/lib/components/VColorPicker/index.mjs";
|
|
36
|
+
import { VDivider as Bo } from "vuetify/lib/components/VDivider/index.mjs";
|
|
37
37
|
import { VBtn as Pn, VChip as Ro } from "vuetify/components";
|
|
38
38
|
const Uo = { key: 1 }, bp = /* @__PURE__ */ L({
|
|
39
39
|
__name: "ABooleanValue",
|
|
@@ -775,7 +775,7 @@ function di(t) {
|
|
|
775
775
|
});
|
|
776
776
|
} };
|
|
777
777
|
}
|
|
778
|
-
const
|
|
778
|
+
const jn = di(), Or = /* @__PURE__ */ new Map(), or = {
|
|
779
779
|
x: ["left", "center", "right"],
|
|
780
780
|
y: ["top", "bottom"]
|
|
781
781
|
}, ci = ((t) => () => t++)(0), fi = (t) => typeof t != "string" ? [] : t.split(/\s+/gi).filter((n) => n), mi = (t) => {
|
|
@@ -1013,7 +1013,7 @@ const wi = /* @__PURE__ */ xa(yi, [["render", bi]]), ta = "[-+]?[0-9]*.?[0-9]+",
|
|
|
1013
1013
|
}
|
|
1014
1014
|
},
|
|
1015
1015
|
mounted() {
|
|
1016
|
-
|
|
1016
|
+
jn.on("add", this.addItem), jn.on("close", this.closeItem);
|
|
1017
1017
|
},
|
|
1018
1018
|
methods: {
|
|
1019
1019
|
destroyIfNecessary(t) {
|
|
@@ -1148,10 +1148,10 @@ function Ti(t, n, e, a, r, o) {
|
|
|
1148
1148
|
], 4);
|
|
1149
1149
|
}
|
|
1150
1150
|
const Si = /* @__PURE__ */ xa(Ai, [["render", Ti]]), qe = (t) => {
|
|
1151
|
-
typeof t == "string" && (t = { title: "", text: t }), typeof t == "object" &&
|
|
1151
|
+
typeof t == "string" && (t = { title: "", text: t }), typeof t == "object" && jn.emit("add", t);
|
|
1152
1152
|
};
|
|
1153
1153
|
qe.close = (t) => {
|
|
1154
|
-
|
|
1154
|
+
jn.emit("close", t);
|
|
1155
1155
|
};
|
|
1156
1156
|
function $i(t, n = {}) {
|
|
1157
1157
|
Object.entries(n).forEach((a) => Or.set(...a));
|
|
@@ -1228,7 +1228,7 @@ const Li = "forbidden_operation_error", xt = (t) => {
|
|
|
1228
1228
|
var n, e, a;
|
|
1229
1229
|
return Aa.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Ir && ((e = t.response.data) == null ? void 0 : e.error) === Li && ((a = t.response.data) == null ? void 0 : a.detail);
|
|
1230
1230
|
}, zi = (t) => t instanceof gt;
|
|
1231
|
-
function
|
|
1231
|
+
function ji(t) {
|
|
1232
1232
|
var e;
|
|
1233
1233
|
return ((e = t.response) == null ? void 0 : e.data).detail;
|
|
1234
1234
|
}
|
|
@@ -1236,10 +1236,10 @@ class gt extends Error {
|
|
|
1236
1236
|
constructor(e, a, r = "") {
|
|
1237
1237
|
super(r);
|
|
1238
1238
|
On(this, "detail");
|
|
1239
|
-
this.name = "AnzuApiForbiddenOperationError", this.cause = a, this.message = r, this.detail =
|
|
1239
|
+
this.name = "AnzuApiForbiddenOperationError", this.cause = a, this.message = r, this.detail = ji(e);
|
|
1240
1240
|
}
|
|
1241
1241
|
}
|
|
1242
|
-
const Ze = 3,
|
|
1242
|
+
const Ze = 3, Bi = `
|
|
1243
1243
|
`;
|
|
1244
1244
|
function Ta() {
|
|
1245
1245
|
const t = (y, O = Ze) => {
|
|
@@ -1315,7 +1315,7 @@ function Ta() {
|
|
|
1315
1315
|
}
|
|
1316
1316
|
qe({
|
|
1317
1317
|
group: "alerts",
|
|
1318
|
-
text: U.join(
|
|
1318
|
+
text: U.join(Bi),
|
|
1319
1319
|
duration: O * 1e3,
|
|
1320
1320
|
type: "error"
|
|
1321
1321
|
});
|
|
@@ -1363,7 +1363,7 @@ function Ta() {
|
|
|
1363
1363
|
showErrorsDefault: (y) => Fr(y) ? (k(), !0) : Er(y) ? (m(y.fields), !0) : zi(y) ? (d(y.detail), !0) : Pr(y) || Nr(y) ? (v(), !0) : !1
|
|
1364
1364
|
};
|
|
1365
1365
|
}
|
|
1366
|
-
const
|
|
1366
|
+
const jp = /* @__PURE__ */ L({
|
|
1367
1367
|
__name: "ACreateDialog",
|
|
1368
1368
|
props: {
|
|
1369
1369
|
modelValue: { type: Boolean },
|
|
@@ -1477,7 +1477,7 @@ const Bp = /* @__PURE__ */ L({
|
|
|
1477
1477
|
}, 8, ["class", "data-cy", "onClick"]);
|
|
1478
1478
|
};
|
|
1479
1479
|
}
|
|
1480
|
-
}), Ri = { class: "a-admin-switcher__content" }, Ui = ["href"], Yi = ["src", "alt"], Hi = { class: "a-admin-switcher__item-title" },
|
|
1480
|
+
}), Ri = { class: "a-admin-switcher__content" }, Ui = ["href"], Yi = ["src", "alt"], Hi = { class: "a-admin-switcher__item-title" }, Bp = /* @__PURE__ */ L({
|
|
1481
1481
|
__name: "AAdminSwitcher",
|
|
1482
1482
|
props: {
|
|
1483
1483
|
configUrl: { default: null }
|
|
@@ -1577,8 +1577,8 @@ var fa = {}, qi = {
|
|
|
1577
1577
|
}, m: function D(C, _) {
|
|
1578
1578
|
if (C.date() < _.date())
|
|
1579
1579
|
return -D(_, C);
|
|
1580
|
-
var M = 12 * (_.year() - C.year()) + (_.month() - C.month()), T = C.clone().add(M, d),
|
|
1581
|
-
return +(-(M + (_ - T) / (
|
|
1580
|
+
var M = 12 * (_.year() - C.year()) + (_.month() - C.month()), T = C.clone().add(M, d), j = _ - T < 0, G = C.clone().add(M + (j ? -1 : 1), d);
|
|
1581
|
+
return +(-(M + (_ - T) / (j ? T - G : G - T)) || 0);
|
|
1582
1582
|
}, a: function(D) {
|
|
1583
1583
|
return D < 0 ? Math.ceil(D) || 0 : Math.floor(D);
|
|
1584
1584
|
}, p: function(D) {
|
|
@@ -1594,8 +1594,8 @@ var fa = {}, qi = {
|
|
|
1594
1594
|
if (!C)
|
|
1595
1595
|
return ae;
|
|
1596
1596
|
if (typeof C == "string") {
|
|
1597
|
-
var
|
|
1598
|
-
ee[
|
|
1597
|
+
var j = C.toLowerCase();
|
|
1598
|
+
ee[j] && (T = j), _ && (ee[j] = _, T = j);
|
|
1599
1599
|
var G = C.split("-");
|
|
1600
1600
|
if (!T && G.length > 1)
|
|
1601
1601
|
return D(G[0]);
|
|
@@ -1620,7 +1620,7 @@ var fa = {}, qi = {
|
|
|
1620
1620
|
var C = D.prototype;
|
|
1621
1621
|
return C.parse = function(_) {
|
|
1622
1622
|
this.$d = function(M) {
|
|
1623
|
-
var T = M.date,
|
|
1623
|
+
var T = M.date, j = M.utc;
|
|
1624
1624
|
if (T === null)
|
|
1625
1625
|
return /* @__PURE__ */ new Date(NaN);
|
|
1626
1626
|
if (Q.u(T))
|
|
@@ -1631,7 +1631,7 @@ var fa = {}, qi = {
|
|
|
1631
1631
|
var G = T.match(O);
|
|
1632
1632
|
if (G) {
|
|
1633
1633
|
var se = G[2] - 1 || 0, he = (G[7] || "0").substring(0, 3);
|
|
1634
|
-
return
|
|
1634
|
+
return j ? new Date(Date.UTC(G[1], se, G[3] || 1, G[4] || 0, G[5] || 0, G[6] || 0, he)) : new Date(G[1], se, G[3] || 1, G[4] || 0, G[5] || 0, G[6] || 0, he);
|
|
1635
1635
|
}
|
|
1636
1636
|
}
|
|
1637
1637
|
return new Date(T);
|
|
@@ -1657,20 +1657,20 @@ var fa = {}, qi = {
|
|
|
1657
1657
|
}, C.valueOf = function() {
|
|
1658
1658
|
return this.$d.getTime();
|
|
1659
1659
|
}, C.startOf = function(_, M) {
|
|
1660
|
-
var T = this,
|
|
1660
|
+
var T = this, j = !!Q.u(M) || M, G = Q.p(_), se = function(Te, ke) {
|
|
1661
1661
|
var ze = Q.w(T.$u ? Date.UTC(T.$y, ke, Te) : new Date(T.$y, ke, Te), T);
|
|
1662
|
-
return
|
|
1662
|
+
return j ? ze : ze.endOf(p);
|
|
1663
1663
|
}, he = function(Te, ke) {
|
|
1664
|
-
return Q.w(T.toDate()[Te].apply(T.toDate("s"), (
|
|
1664
|
+
return Q.w(T.toDate()[Te].apply(T.toDate("s"), (j ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ke)), T);
|
|
1665
1665
|
}, ge = this.$W, Ce = this.$M, Ne = this.$D, xe = "set" + (this.$u ? "UTC" : "");
|
|
1666
1666
|
switch (G) {
|
|
1667
1667
|
case k:
|
|
1668
|
-
return
|
|
1668
|
+
return j ? se(1, 0) : se(31, 11);
|
|
1669
1669
|
case d:
|
|
1670
|
-
return
|
|
1670
|
+
return j ? se(1, Ce) : se(0, Ce + 1);
|
|
1671
1671
|
case m:
|
|
1672
1672
|
var He = this.$locale().weekStart || 0, Le = (ge < He ? ge + 7 : ge) - He;
|
|
1673
|
-
return se(
|
|
1673
|
+
return se(j ? Ne - Le : Ne + (6 - Le), Ce);
|
|
1674
1674
|
case p:
|
|
1675
1675
|
case I:
|
|
1676
1676
|
return he(xe + "Hours", 0);
|
|
@@ -1686,8 +1686,8 @@ var fa = {}, qi = {
|
|
|
1686
1686
|
}, C.endOf = function(_) {
|
|
1687
1687
|
return this.startOf(_, !1);
|
|
1688
1688
|
}, C.$set = function(_, M) {
|
|
1689
|
-
var T,
|
|
1690
|
-
if (
|
|
1689
|
+
var T, j = Q.p(_), G = "set" + (this.$u ? "UTC" : ""), se = (T = {}, T[p] = G + "Date", T[I] = G + "Date", T[d] = G + "Month", T[k] = G + "FullYear", T[u] = G + "Hours", T[f] = G + "Minutes", T[l] = G + "Seconds", T[o] = G + "Milliseconds", T)[j], he = j === p ? this.$D + (M - this.$W) : M;
|
|
1690
|
+
if (j === d || j === k) {
|
|
1691
1691
|
var ge = this.clone().set(I, 1);
|
|
1692
1692
|
ge.$d[se](he), ge.init(), this.$d = ge.set(I, Math.min(this.$D, ge.daysInMonth())).$d;
|
|
1693
1693
|
} else
|
|
@@ -1698,11 +1698,11 @@ var fa = {}, qi = {
|
|
|
1698
1698
|
}, C.get = function(_) {
|
|
1699
1699
|
return this[Q.p(_)]();
|
|
1700
1700
|
}, C.add = function(_, M) {
|
|
1701
|
-
var T,
|
|
1701
|
+
var T, j = this;
|
|
1702
1702
|
_ = Number(_);
|
|
1703
1703
|
var G = Q.p(M), se = function(Ce) {
|
|
1704
|
-
var Ne = ie(
|
|
1705
|
-
return Q.w(Ne.date(Ne.date() + Math.round(Ce * _)),
|
|
1704
|
+
var Ne = ie(j);
|
|
1705
|
+
return Q.w(Ne.date(Ne.date() + Math.round(Ce * _)), j);
|
|
1706
1706
|
};
|
|
1707
1707
|
if (G === d)
|
|
1708
1708
|
return this.set(d, this.$M + _);
|
|
@@ -1720,22 +1720,22 @@ var fa = {}, qi = {
|
|
|
1720
1720
|
var M = this, T = this.$locale();
|
|
1721
1721
|
if (!this.isValid())
|
|
1722
1722
|
return T.invalidDate || y;
|
|
1723
|
-
var
|
|
1724
|
-
return ke && (ke[ze] || ke(M,
|
|
1723
|
+
var j = _ || "YYYY-MM-DDTHH:mm:ssZ", G = Q.z(this), se = this.$H, he = this.$m, ge = this.$M, Ce = T.weekdays, Ne = T.months, xe = function(ke, ze, ot, Je) {
|
|
1724
|
+
return ke && (ke[ze] || ke(M, j)) || ot[ze].slice(0, Je);
|
|
1725
1725
|
}, He = function(ke) {
|
|
1726
1726
|
return Q.s(se % 12 || 12, ke, "0");
|
|
1727
1727
|
}, Le = T.meridiem || function(ke, ze, ot) {
|
|
1728
1728
|
var Je = ke < 12 ? "AM" : "PM";
|
|
1729
1729
|
return ot ? Je.toLowerCase() : Je;
|
|
1730
1730
|
}, Te = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: ge + 1, MM: Q.s(ge + 1, 2, "0"), MMM: xe(T.monthsShort, ge, Ne, 3), MMMM: xe(Ne, ge), D: this.$D, DD: Q.s(this.$D, 2, "0"), d: String(this.$W), dd: xe(T.weekdaysMin, this.$W, Ce, 2), ddd: xe(T.weekdaysShort, this.$W, Ce, 3), dddd: Ce[this.$W], H: String(se), HH: Q.s(se, 2, "0"), h: He(1), hh: He(2), a: Le(se, he, !0), A: Le(se, he, !1), m: String(he), mm: Q.s(he, 2, "0"), s: String(this.$s), ss: Q.s(this.$s, 2, "0"), SSS: Q.s(this.$ms, 3, "0"), Z: G };
|
|
1731
|
-
return
|
|
1731
|
+
return j.replace(P, function(ke, ze) {
|
|
1732
1732
|
return ze || Te[ke] || G.replace(":", "");
|
|
1733
1733
|
});
|
|
1734
1734
|
}, C.utcOffset = function() {
|
|
1735
1735
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1736
1736
|
}, C.diff = function(_, M, T) {
|
|
1737
|
-
var
|
|
1738
|
-
return Ce = (
|
|
1737
|
+
var j, G = Q.p(M), se = ie(_), he = (se.utcOffset() - this.utcOffset()) * a, ge = this - se, Ce = Q.m(this, se);
|
|
1738
|
+
return Ce = (j = {}, j[k] = Ce / 12, j[d] = Ce, j[v] = Ce / 3, j[m] = (ge - he) / 6048e5, j[p] = (ge - he) / 864e5, j[u] = ge / r, j[f] = ge / a, j[l] = ge / e, j)[G] || ge, T ? Ce : Q.a(Ce);
|
|
1739
1739
|
}, C.daysInMonth = function() {
|
|
1740
1740
|
return this.endOf(d).$D;
|
|
1741
1741
|
}, C.$locale = function() {
|
|
@@ -1743,8 +1743,8 @@ var fa = {}, qi = {
|
|
|
1743
1743
|
}, C.locale = function(_, M) {
|
|
1744
1744
|
if (!_)
|
|
1745
1745
|
return this.$L;
|
|
1746
|
-
var T = this.clone(),
|
|
1747
|
-
return
|
|
1746
|
+
var T = this.clone(), j = pe(_, M, !0);
|
|
1747
|
+
return j && (T.$L = j), T;
|
|
1748
1748
|
}, C.clone = function() {
|
|
1749
1749
|
return Q.w(this.$d, this);
|
|
1750
1750
|
}, C.toDate = function() {
|
|
@@ -1859,15 +1859,15 @@ var ma = {}, Ki = {
|
|
|
1859
1859
|
})(Ki);
|
|
1860
1860
|
const Gi = ma;
|
|
1861
1861
|
De.extend(Gi);
|
|
1862
|
-
const Ct = ".000000Z",
|
|
1862
|
+
const Ct = ".000000Z", Bn = "YYYY-MM-DDTHH:mm:ss", zr = "1970-01-01T00:00:00.000000Z", jr = "2100-01-01T00:00:00.000000Z", Zi = () => De().utc().toDate(), Up = () => Go(De().utc().unix()), Lt = (t = !0, n = !1) => t && !n ? De().utc().format("YYYY-MM-DDTHH:mm:ss") + Ct : t && n ? De().utc().format("YYYY-MM-DDTHH:mm:00") + Ct : !t && n ? De().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : De().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", Yp = (t = 0) => t === 0 ? De().startOf("day").utc().format(Bn) + Ct : De().add(t, "days").startOf("day").utc().format(Bn) + Ct, Hp = (t = 0) => t === 0 ? De().endOf("day").utc().format(Bn) + Ct : De().add(t, "days").endOf("day").utc().format(Bn) + Ct, Jp = (t = 0, n = null) => {
|
|
1863
1863
|
if (n === null && (n = /* @__PURE__ */ new Date()), t === 0)
|
|
1864
1864
|
return n;
|
|
1865
1865
|
if (t > 0)
|
|
1866
1866
|
return De(n).add(t, "minutes").toDate();
|
|
1867
1867
|
if (t < 0)
|
|
1868
1868
|
return De(n).subtract(t, "minutes").toDate();
|
|
1869
|
-
}, Qi = (t) => De(t).utc().format("YYYY-MM-DDTHH:mm:ss") + Ct, Wp = () => De().utc().format("YYYY"), pa = (t, n = "") => t ===
|
|
1870
|
-
if (t ===
|
|
1869
|
+
}, Qi = (t) => De(t).utc().format("YYYY-MM-DDTHH:mm:ss") + Ct, Wp = () => De().utc().format("YYYY"), pa = (t, n = "") => t === jr || t === zr || t === "" || ye(t) || S(t) ? n : De(t).format("DD.MM.YYYY HH:mm"), qp = (t, n = "") => {
|
|
1870
|
+
if (t === jr || t === zr || t === "" || ye(t) || S(t))
|
|
1871
1871
|
return n;
|
|
1872
1872
|
let e = !0, a = !0;
|
|
1873
1873
|
const r = De(t), o = De();
|
|
@@ -2190,7 +2190,7 @@ var Ln = /* @__PURE__ */ ((t) => (t[t.Deny = 0] = "Deny", t[t.AllowOwner = 1] =
|
|
|
2190
2190
|
t.Default = 0
|
|
2191
2191
|
/* Deny */
|
|
2192
2192
|
] = "Default", t))(Ln || {});
|
|
2193
|
-
function
|
|
2193
|
+
function Br() {
|
|
2194
2194
|
const { t } = K(), n = J([
|
|
2195
2195
|
{
|
|
2196
2196
|
value: 0,
|
|
@@ -2228,7 +2228,7 @@ const eh = /* @__PURE__ */ L({
|
|
|
2228
2228
|
set(o) {
|
|
2229
2229
|
n("change", o);
|
|
2230
2230
|
}
|
|
2231
|
-
}), { getGrantOption: r } =
|
|
2231
|
+
}), { getGrantOption: r } = Br();
|
|
2232
2232
|
return (o, l) => (w(), E(Wn, {
|
|
2233
2233
|
modelValue: c(a),
|
|
2234
2234
|
"onUpdate:modelValue": l[0] || (l[0] = (f) => Ue(a) ? a.value = f : null),
|
|
@@ -2294,7 +2294,7 @@ const ll = {
|
|
|
2294
2294
|
grantOrigin: null
|
|
2295
2295
|
},
|
|
2296
2296
|
setup(t) {
|
|
2297
|
-
const n = t, { getGrantOption: e } =
|
|
2297
|
+
const n = t, { getGrantOption: e } = Br(), a = x(() => e(n.grant)), { getGrantOriginOption: r } = il(), o = x(() => r(n.grantOrigin));
|
|
2298
2298
|
return (l, f) => c(a) ? (w(), E(ct, {
|
|
2299
2299
|
key: 0,
|
|
2300
2300
|
color: c(a).color,
|
|
@@ -2612,7 +2612,7 @@ function Fn(t, n) {
|
|
|
2612
2612
|
a.setAttribute(l, n[l]);
|
|
2613
2613
|
return e.appendChild(a), e.appendChild(r), e.appendChild(o), e;
|
|
2614
2614
|
}
|
|
2615
|
-
function
|
|
2615
|
+
function Be(t) {
|
|
2616
2616
|
try {
|
|
2617
2617
|
if (typeof t.composedPath == "function") {
|
|
2618
2618
|
var n = t.composedPath();
|
|
@@ -2962,8 +2962,8 @@ function vl(t, n) {
|
|
|
2962
2962
|
}
|
|
2963
2963
|
} else {
|
|
2964
2964
|
if (V) {
|
|
2965
|
-
var
|
|
2966
|
-
i = Math.min(i,
|
|
2965
|
+
var B = e.config.maxTime !== void 0 ? e.config.maxTime : e.config.maxDate;
|
|
2966
|
+
i = Math.min(i, B.getHours()), i === B.getHours() && (s = Math.min(s, B.getMinutes())), s === B.getMinutes() && (h = Math.min(h, B.getSeconds()));
|
|
2967
2967
|
}
|
|
2968
2968
|
if (A) {
|
|
2969
2969
|
var q = e.config.minTime !== void 0 ? e.config.minTime : e.config.minDate;
|
|
@@ -2981,7 +2981,7 @@ function vl(t, n) {
|
|
|
2981
2981
|
e.latestSelectedDateObj !== void 0 && e.latestSelectedDateObj.setHours(i % 24, s, h || 0, 0), !(!e.hourElement || !e.minuteElement || e.isMobile) && (e.hourElement.value = Fe(e.config.time_24hr ? i : (12 + i) % 12 + 12 * Ke(i % 12 === 0)), e.minuteElement.value = Fe(s), e.amPM !== void 0 && (e.amPM.textContent = e.l10n.amPM[Ke(i >= 12)]), e.secondElement !== void 0 && (e.secondElement.value = Fe(h)));
|
|
2982
2982
|
}
|
|
2983
2983
|
function I(i) {
|
|
2984
|
-
var s =
|
|
2984
|
+
var s = Be(i), h = parseInt(s.value) + (i.delta || 0);
|
|
2985
2985
|
(h / 1e3 > 1 || i.key === "Enter" && !/[^\d]/.test(h.toString())) && Le(h);
|
|
2986
2986
|
}
|
|
2987
2987
|
function y(i, s, h, A) {
|
|
@@ -3013,10 +3013,10 @@ function vl(t, n) {
|
|
|
3013
3013
|
}
|
|
3014
3014
|
var i = sr(ln, 50);
|
|
3015
3015
|
if (e._debouncedChange = sr(O, gl), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && y(e.daysContainer, "mouseover", function(h) {
|
|
3016
|
-
e.config.mode === "range" && Je(
|
|
3016
|
+
e.config.mode === "range" && Je(Be(h));
|
|
3017
3017
|
}), y(e._input, "keydown", ot), e.calendarContainer !== void 0 && y(e.calendarContainer, "keydown", ot), !e.config.inline && !e.config.static && y(window, "resize", i), window.ontouchstart !== void 0 ? y(window.document, "touchstart", He) : y(window.document, "mousedown", He), y(window.document, "focus", He, { capture: !0 }), e.config.clickOpens === !0 && (y(e._input, "focus", e.open), y(e._input, "click", e.open)), e.daysContainer !== void 0 && (y(e.monthNav, "click", bn), y(e.monthNav, ["keyup", "increment"], I), y(e.daysContainer, "click", Yt)), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0) {
|
|
3018
3018
|
var s = function(h) {
|
|
3019
|
-
return
|
|
3019
|
+
return Be(h).select();
|
|
3020
3020
|
};
|
|
3021
3021
|
y(e.timeContainer, ["increment"], u), y(e.timeContainer, "blur", u, { capture: !0 }), y(e.timeContainer, "click", R), y([e.hourElement, e.minuteElement], ["focus", "click"], s), e.secondElement !== void 0 && y(e.secondElement, "focus", function() {
|
|
3022
3022
|
return e.secondElement && e.secondElement.select();
|
|
@@ -3036,11 +3036,11 @@ function vl(t, n) {
|
|
|
3036
3036
|
s && e.currentYear !== A && (ve("onYearChange"), D()), s && (e.currentYear !== A || e.currentMonth !== V) && ve("onMonthChange"), e.redraw();
|
|
3037
3037
|
}
|
|
3038
3038
|
function R(i) {
|
|
3039
|
-
var s =
|
|
3039
|
+
var s = Be(i);
|
|
3040
3040
|
~s.className.indexOf("arrow") && U(i, s.classList.contains("arrowUp") ? 1 : -1);
|
|
3041
3041
|
}
|
|
3042
3042
|
function U(i, s, h) {
|
|
3043
|
-
var A = i &&
|
|
3043
|
+
var A = i && Be(i), V = h || A && A.parentNode && A.parentNode.firstChild, N = Ot("increment");
|
|
3044
3044
|
N.delta = s, V && V.dispatchEvent(N);
|
|
3045
3045
|
}
|
|
3046
3046
|
function ae() {
|
|
@@ -3050,7 +3050,7 @@ function vl(t, n) {
|
|
|
3050
3050
|
var s = se(), h = s.weekWrapper, A = s.weekNumbers;
|
|
3051
3051
|
e.innerContainer.appendChild(h), e.weekNumbers = A, e.weekWrapper = h;
|
|
3052
3052
|
}
|
|
3053
|
-
e.rContainer = ce("div", "flatpickr-rContainer"), e.rContainer.appendChild(
|
|
3053
|
+
e.rContainer = ce("div", "flatpickr-rContainer"), e.rContainer.appendChild(j()), e.daysContainer || (e.daysContainer = ce("div", "flatpickr-days"), e.daysContainer.tabIndex = -1), W(), e.rContainer.appendChild(e.daysContainer), e.innerContainer.appendChild(e.rContainer), i.appendChild(e.innerContainer);
|
|
3054
3054
|
}
|
|
3055
3055
|
e.config.enableTime && i.appendChild(T()), Oe(e.calendarContainer, "rangeMode", e.config.mode === "range"), Oe(e.calendarContainer, "animate", e.config.animate === !0), Oe(e.calendarContainer, "multiMonth", e.config.showMonths > 1), e.calendarContainer.appendChild(i);
|
|
3056
3056
|
var V = e.config.appendTo !== void 0 && e.config.appendTo.nodeType !== void 0;
|
|
@@ -3077,9 +3077,9 @@ function vl(t, n) {
|
|
|
3077
3077
|
}
|
|
3078
3078
|
function ie(i, s) {
|
|
3079
3079
|
for (var h = i.className.indexOf("Month") === -1 ? i.dateObj.getMonth() : e.currentMonth, A = s > 0 ? e.config.showMonths : -1, V = s > 0 ? 1 : -1, N = h - e.currentMonth; N != A; N += V)
|
|
3080
|
-
for (var X = e.daysContainer.children[N], Y = h - e.currentMonth === N ? i.$i + s : s < 0 ? X.children.length - 1 : 0, re = X.children.length,
|
|
3081
|
-
var q = X.children[
|
|
3082
|
-
if (q.className.indexOf("hidden") === -1 && Te(q.dateObj) && Math.abs(i.$i -
|
|
3080
|
+
for (var X = e.daysContainer.children[N], Y = h - e.currentMonth === N ? i.$i + s : s < 0 ? X.children.length - 1 : 0, re = X.children.length, B = Y; B >= 0 && B < re && B != (s > 0 ? re : -1); B += V) {
|
|
3081
|
+
var q = X.children[B];
|
|
3082
|
+
if (q.className.indexOf("hidden") === -1 && Te(q.dateObj) && Math.abs(i.$i - B) >= Math.abs(s))
|
|
3083
3083
|
return ue(q);
|
|
3084
3084
|
}
|
|
3085
3085
|
e.changeMonth(V), Q(pe(V), 0);
|
|
@@ -3089,14 +3089,14 @@ function vl(t, n) {
|
|
|
3089
3089
|
V === void 0 ? e._input.focus() : A ? ie(V, s) : ue(V);
|
|
3090
3090
|
}
|
|
3091
3091
|
function Me(i, s) {
|
|
3092
|
-
for (var h = (new Date(i, s, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, A = e.utils.getDaysInMonth((s - 1 + 12) % 12, i), V = e.utils.getDaysInMonth(s, i), N = window.document.createDocumentFragment(), X = e.config.showMonths > 1, Y = X ? "prevMonthDay hidden" : "prevMonthDay", re = X ? "nextMonthDay hidden" : "nextMonthDay",
|
|
3093
|
-
N.appendChild(ee("flatpickr-day " + Y, new Date(i, s - 1,
|
|
3094
|
-
for (
|
|
3095
|
-
N.appendChild(ee("flatpickr-day", new Date(i, s,
|
|
3092
|
+
for (var h = (new Date(i, s, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, A = e.utils.getDaysInMonth((s - 1 + 12) % 12, i), V = e.utils.getDaysInMonth(s, i), N = window.document.createDocumentFragment(), X = e.config.showMonths > 1, Y = X ? "prevMonthDay hidden" : "prevMonthDay", re = X ? "nextMonthDay hidden" : "nextMonthDay", B = A + 1 - h, q = 0; B <= A; B++, q++)
|
|
3093
|
+
N.appendChild(ee("flatpickr-day " + Y, new Date(i, s - 1, B), B, q));
|
|
3094
|
+
for (B = 1; B <= V; B++, q++)
|
|
3095
|
+
N.appendChild(ee("flatpickr-day", new Date(i, s, B), B, q));
|
|
3096
3096
|
for (var fe = V + 1; fe <= 42 - h && (e.config.showMonths === 1 || q % 7 !== 0); fe++, q++)
|
|
3097
3097
|
N.appendChild(ee("flatpickr-day " + re, new Date(i, s + 1, fe % V), fe, q));
|
|
3098
|
-
var
|
|
3099
|
-
return
|
|
3098
|
+
var je = ce("div", "dayContainer");
|
|
3099
|
+
return je.appendChild(N), je;
|
|
3100
3100
|
}
|
|
3101
3101
|
function W() {
|
|
3102
3102
|
if (e.daysContainer !== void 0) {
|
|
@@ -3124,7 +3124,7 @@ function vl(t, n) {
|
|
|
3124
3124
|
function C() {
|
|
3125
3125
|
var i = ce("div", "flatpickr-month"), s = window.document.createDocumentFragment(), h;
|
|
3126
3126
|
e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? h = ce("span", "cur-month") : (e.monthsDropdownContainer = ce("select", "flatpickr-monthDropdown-months"), e.monthsDropdownContainer.setAttribute("aria-label", e.l10n.monthAriaLabel), y(e.monthsDropdownContainer, "change", function(X) {
|
|
3127
|
-
var Y =
|
|
3127
|
+
var Y = Be(X), re = parseInt(Y.value, 10);
|
|
3128
3128
|
e.changeMonth(re - e.currentMonth), ve("onMonthChange");
|
|
3129
3129
|
}), D(), h = e.monthsDropdownContainer);
|
|
3130
3130
|
var A = Fn("cur-year", { tabindex: "-1" }), V = A.getElementsByTagName("input")[0];
|
|
@@ -3179,7 +3179,7 @@ function vl(t, n) {
|
|
|
3179
3179
|
}
|
|
3180
3180
|
return e.config.time_24hr || (e.amPM = ce("span", "flatpickr-am-pm", e.l10n.amPM[Ke((e.latestSelectedDateObj ? e.hourElement.value : e.config.defaultHour) > 11)]), e.amPM.title = e.l10n.toggleTitle, e.amPM.tabIndex = -1, e.timeContainer.appendChild(e.amPM)), e.timeContainer;
|
|
3181
3181
|
}
|
|
3182
|
-
function
|
|
3182
|
+
function j() {
|
|
3183
3183
|
e.weekdayContainer ? In(e.weekdayContainer) : e.weekdayContainer = ce("div", "flatpickr-weekdays");
|
|
3184
3184
|
for (var i = e.config.showMonths; i--; ) {
|
|
3185
3185
|
var s = ce("div", "flatpickr-weekdaycontainer");
|
|
@@ -3282,7 +3282,7 @@ function vl(t, n) {
|
|
|
3282
3282
|
}
|
|
3283
3283
|
function He(i) {
|
|
3284
3284
|
if (e.isOpen && !e.config.inline) {
|
|
3285
|
-
var s =
|
|
3285
|
+
var s = Be(i), h = xe(s), A = s === e.input || s === e.altInput || e.element.contains(s) || i.path && i.path.indexOf && (~i.path.indexOf(e.input) || ~i.path.indexOf(e.altInput)), V = !A && !h && !xe(i.relatedTarget), N = !e.config.ignoredFocusElements.some(function(X) {
|
|
3286
3286
|
return X.contains(s);
|
|
3287
3287
|
});
|
|
3288
3288
|
V && N && (e.config.allowInput && e.setDate(e._input.value, !1, e.config.altInput ? e.config.altFormat : e.config.dateFormat), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0 && e.input.value !== "" && e.input.value !== void 0 && u(), e.close(), e.config && e.config.mode === "range" && e.selectedDates.length === 1 && e.clear(!1));
|
|
@@ -3325,7 +3325,7 @@ function vl(t, n) {
|
|
|
3325
3325
|
s && h && !(i.relatedTarget && xe(i.relatedTarget)) && e.setDate(e._input.value, !0, i.target === e.altInput ? e.config.altFormat : e.config.dateFormat);
|
|
3326
3326
|
}
|
|
3327
3327
|
function ot(i) {
|
|
3328
|
-
var s =
|
|
3328
|
+
var s = Be(i), h = e.config.wrap ? t.contains(s) : s === e._input, A = e.config.allowInput, V = e.isOpen && (!A || !h), N = e.config.inline && h && !A;
|
|
3329
3329
|
if (i.keyCode === 13 && h) {
|
|
3330
3330
|
if (A)
|
|
3331
3331
|
return e.setDate(e._input.value, !0, s === e.altInput ? e.config.altFormat : e.config.dateFormat), e.close(), s.blur();
|
|
@@ -3358,8 +3358,8 @@ function vl(t, n) {
|
|
|
3358
3358
|
case 38:
|
|
3359
3359
|
case 40:
|
|
3360
3360
|
i.preventDefault();
|
|
3361
|
-
var
|
|
3362
|
-
e.daysContainer && s.$i !== void 0 || s === e.input || s === e.altInput ? i.ctrlKey ? (i.stopPropagation(), Le(e.currentYear -
|
|
3361
|
+
var B = i.keyCode === 40 ? 1 : -1;
|
|
3362
|
+
e.daysContainer && s.$i !== void 0 || s === e.input || s === e.altInput ? i.ctrlKey ? (i.stopPropagation(), Le(e.currentYear - B), Q(pe(1), 0)) : X || Q(void 0, B * 7) : s === e.currentYearElement ? Le(e.currentYear - B) : e.config.enableTime && (!X && e.hourElement && e.hourElement.focus(), u(i), e._debouncedChange());
|
|
3363
3363
|
break;
|
|
3364
3364
|
case 9:
|
|
3365
3365
|
if (X) {
|
|
@@ -3372,8 +3372,8 @@ function vl(t, n) {
|
|
|
3372
3372
|
return Se;
|
|
3373
3373
|
}), fe = q.indexOf(s);
|
|
3374
3374
|
if (fe !== -1) {
|
|
3375
|
-
var
|
|
3376
|
-
i.preventDefault(), (
|
|
3375
|
+
var je = q[fe + (i.shiftKey ? -1 : 1)];
|
|
3376
|
+
i.preventDefault(), (je || e._input).focus();
|
|
3377
3377
|
}
|
|
3378
3378
|
} else
|
|
3379
3379
|
!e.config.noCalendar && e.daysContainer && e.daysContainer.contains(s) && i.shiftKey && (i.preventDefault(), e._input.focus());
|
|
@@ -3395,11 +3395,11 @@ function vl(t, n) {
|
|
|
3395
3395
|
}
|
|
3396
3396
|
function Je(i, s) {
|
|
3397
3397
|
if (s === void 0 && (s = "flatpickr-day"), !(e.selectedDates.length !== 1 || i && (!i.classList.contains(s) || i.classList.contains("flatpickr-disabled")))) {
|
|
3398
|
-
for (var h = i ? i.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), A = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), V = Math.min(h, e.selectedDates[0].getTime()), N = Math.max(h, e.selectedDates[0].getTime()), X = !1, Y = 0, re = 0,
|
|
3399
|
-
Te(new Date(
|
|
3398
|
+
for (var h = i ? i.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), A = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), V = Math.min(h, e.selectedDates[0].getTime()), N = Math.max(h, e.selectedDates[0].getTime()), X = !1, Y = 0, re = 0, B = V; B < N; B += hl.DAY)
|
|
3399
|
+
Te(new Date(B), !0) || (X = X || B > V && B < N, B < A && (!Y || B > Y) ? Y = B : B > A && (!re || B < re) && (re = B));
|
|
3400
3400
|
var q = Array.from(e.rContainer.querySelectorAll("*:nth-child(-n+" + e.config.showMonths + ") > ." + s));
|
|
3401
3401
|
q.forEach(function(fe) {
|
|
3402
|
-
var
|
|
3402
|
+
var je = fe.dateObj, Se = je.getTime(), ut = Y > 0 && Se < Y || re > 0 && Se > re;
|
|
3403
3403
|
if (ut) {
|
|
3404
3404
|
fe.classList.add("notAllowed"), ["inRange", "startRange", "endRange"].forEach(function(it) {
|
|
3405
3405
|
fe.classList.remove(it);
|
|
@@ -3420,7 +3420,7 @@ function vl(t, n) {
|
|
|
3420
3420
|
if (s === void 0 && (s = e._positionElement), e.isMobile === !0) {
|
|
3421
3421
|
if (i) {
|
|
3422
3422
|
i.preventDefault();
|
|
3423
|
-
var h =
|
|
3423
|
+
var h = Be(i);
|
|
3424
3424
|
h && h.blur();
|
|
3425
3425
|
}
|
|
3426
3426
|
e.mobileInput !== void 0 && (e.mobileInput.focus(), e.mobileInput.click()), ve("onOpen");
|
|
@@ -3432,7 +3432,7 @@ function vl(t, n) {
|
|
|
3432
3432
|
return e.hourElement.select();
|
|
3433
3433
|
}, 50);
|
|
3434
3434
|
}
|
|
3435
|
-
function
|
|
3435
|
+
function jt(i) {
|
|
3436
3436
|
return function(s) {
|
|
3437
3437
|
var h = e.config["_" + i + "Date"] = e.parseDate(s, e.config.dateFormat), A = e.config["_" + (i === "min" ? "max" : "min") + "Date"];
|
|
3438
3438
|
h !== void 0 && (e[i === "min" ? "minDateHasTime" : "maxDateHasTime"] = h.getHours() > 0 || h.getMinutes() > 0 || h.getSeconds() > 0), e.selectedDates && (e.selectedDates = e.selectedDates.filter(function(V) {
|
|
@@ -3485,12 +3485,12 @@ function vl(t, n) {
|
|
|
3485
3485
|
get: function() {
|
|
3486
3486
|
return e.config._minDate;
|
|
3487
3487
|
},
|
|
3488
|
-
set:
|
|
3488
|
+
set: jt("min")
|
|
3489
3489
|
}), Object.defineProperty(e.config, "maxDate", {
|
|
3490
3490
|
get: function() {
|
|
3491
3491
|
return e.config._maxDate;
|
|
3492
3492
|
},
|
|
3493
|
-
set:
|
|
3493
|
+
set: jt("max")
|
|
3494
3494
|
});
|
|
3495
3495
|
var X = function(q) {
|
|
3496
3496
|
return function(fe) {
|
|
@@ -3517,12 +3517,12 @@ function vl(t, n) {
|
|
|
3517
3517
|
}), e.isMobile = !e.config.disableMobile && !e.config.inline && e.config.mode === "single" && !e.config.disable.length && !e.config.enable && !e.config.weekNumbers && /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
3518
3518
|
for (var Y = 0; Y < e.config.plugins.length; Y++) {
|
|
3519
3519
|
var re = e.config.plugins[Y](e) || {};
|
|
3520
|
-
for (var
|
|
3521
|
-
na.indexOf(
|
|
3520
|
+
for (var B in re)
|
|
3521
|
+
na.indexOf(B) > -1 ? e.config[B] = aa(re[B]).map(l).concat(e.config[B]) : typeof s[B] > "u" && (e.config[B] = re[B]);
|
|
3522
3522
|
}
|
|
3523
|
-
s.altInputClass || (e.config.altInputClass =
|
|
3523
|
+
s.altInputClass || (e.config.altInputClass = Bt().className + " " + e.config.altInputClass), ve("onParseConfig");
|
|
3524
3524
|
}
|
|
3525
|
-
function
|
|
3525
|
+
function Bt() {
|
|
3526
3526
|
return e.config.wrap ? t.querySelector("[data-input]") : t;
|
|
3527
3527
|
}
|
|
3528
3528
|
function Rt() {
|
|
@@ -3537,10 +3537,10 @@ function vl(t, n) {
|
|
|
3537
3537
|
ve("onPreCalendarPosition");
|
|
3538
3538
|
var s = i || e._positionElement, h = Array.prototype.reduce.call(e.calendarContainer.children, function(Tn, Sn) {
|
|
3539
3539
|
return Tn + Sn.offsetHeight;
|
|
3540
|
-
}, 0), A = e.calendarContainer.offsetWidth, V = e.config.position.split(" "), N = V[0], X = V.length > 1 ? V[1] : null, Y = s.getBoundingClientRect(), re = window.innerHeight - Y.bottom,
|
|
3541
|
-
if (Oe(e.calendarContainer, "arrowTop", !
|
|
3542
|
-
var fe = window.pageXOffset + Y.left,
|
|
3543
|
-
X === "center" ? (fe -= (A - Y.width) / 2,
|
|
3540
|
+
}, 0), A = e.calendarContainer.offsetWidth, V = e.config.position.split(" "), N = V[0], X = V.length > 1 ? V[1] : null, Y = s.getBoundingClientRect(), re = window.innerHeight - Y.bottom, B = N === "above" || N !== "below" && re < h && Y.top > h, q = window.pageYOffset + Y.top + (B ? -h - 2 : s.offsetHeight + 2);
|
|
3541
|
+
if (Oe(e.calendarContainer, "arrowTop", !B), Oe(e.calendarContainer, "arrowBottom", B), !e.config.inline) {
|
|
3542
|
+
var fe = window.pageXOffset + Y.left, je = !1, Se = !1;
|
|
3543
|
+
X === "center" ? (fe -= (A - Y.width) / 2, je = !0) : X === "right" && (fe -= A - Y.width, Se = !0), Oe(e.calendarContainer, "arrowLeft", !je && !Se), Oe(e.calendarContainer, "arrowCenter", je), Oe(e.calendarContainer, "arrowRight", Se);
|
|
3544
3544
|
var ut = window.document.body.offsetWidth - (window.pageXOffset + Y.right), it = fe + A > window.document.body.offsetWidth, kn = ut + A > window.document.body.offsetWidth;
|
|
3545
3545
|
if (Oe(e.calendarContainer, "rightMost", it), !e.config.static)
|
|
3546
3546
|
if (e.calendarContainer.style.top = q + "px", !it)
|
|
@@ -3586,7 +3586,7 @@ function vl(t, n) {
|
|
|
3586
3586
|
i.preventDefault(), i.stopPropagation();
|
|
3587
3587
|
var s = function(q) {
|
|
3588
3588
|
return q.classList && q.classList.contains("flatpickr-day") && !q.classList.contains("flatpickr-disabled") && !q.classList.contains("notAllowed");
|
|
3589
|
-
}, h = Kr(
|
|
3589
|
+
}, h = Kr(Be(i), s);
|
|
3590
3590
|
if (h !== void 0) {
|
|
3591
3591
|
var A = h, V = e.latestSelectedDateObj = new Date(A.dateObj.getTime()), N = (V.getMonth() < e.currentMonth || V.getMonth() > e.currentMonth + e.config.showMonths - 1) && e.config.mode !== "range";
|
|
3592
3592
|
if (e.selectedDateElem = A, e.config.mode === "single")
|
|
@@ -3603,15 +3603,15 @@ function vl(t, n) {
|
|
|
3603
3603
|
e.currentYear = V.getFullYear(), e.currentMonth = V.getMonth(), Y && (ve("onYearChange"), D()), ve("onMonthChange");
|
|
3604
3604
|
}
|
|
3605
3605
|
if (wt(), W(), We(), !N && e.config.mode !== "range" && e.config.showMonths === 1 ? ue(A) : e.selectedDateElem !== void 0 && e.hourElement === void 0 && e.selectedDateElem && e.selectedDateElem.focus(), e.hourElement !== void 0 && e.hourElement !== void 0 && e.hourElement.focus(), e.config.closeOnSelect) {
|
|
3606
|
-
var re = e.config.mode === "single" && !e.config.enableTime,
|
|
3607
|
-
(re ||
|
|
3606
|
+
var re = e.config.mode === "single" && !e.config.enableTime, B = e.config.mode === "range" && e.selectedDates.length === 2 && !e.config.enableTime;
|
|
3607
|
+
(re || B) && $t();
|
|
3608
3608
|
}
|
|
3609
3609
|
O();
|
|
3610
3610
|
}
|
|
3611
3611
|
}
|
|
3612
3612
|
var bt = {
|
|
3613
3613
|
locale: [Rt, G],
|
|
3614
|
-
showMonths: [_, f,
|
|
3614
|
+
showMonths: [_, f, j],
|
|
3615
3615
|
minDate: [F],
|
|
3616
3616
|
maxDate: [F],
|
|
3617
3617
|
positionElement: [Wt],
|
|
@@ -3688,7 +3688,7 @@ function vl(t, n) {
|
|
|
3688
3688
|
i && Ht(i, e.config.dateFormat), e._initialDate = e.selectedDates.length > 0 ? e.selectedDates[0] : e.config.minDate && e.config.minDate.getTime() > e.now.getTime() ? e.config.minDate : e.config.maxDate && e.config.maxDate.getTime() < e.now.getTime() ? e.config.maxDate : e.now, e.currentYear = e._initialDate.getFullYear(), e.currentMonth = e._initialDate.getMonth(), e.selectedDates.length > 0 && (e.latestSelectedDateObj = e.selectedDates[0]), e.config.minTime !== void 0 && (e.config.minTime = e.parseDate(e.config.minTime, "H:i")), e.config.maxTime !== void 0 && (e.config.maxTime = e.parseDate(e.config.maxTime, "H:i")), e.minDateHasTime = !!e.config.minDate && (e.config.minDate.getHours() > 0 || e.config.minDate.getMinutes() > 0 || e.config.minDate.getSeconds() > 0), e.maxDateHasTime = !!e.config.maxDate && (e.config.maxDate.getHours() > 0 || e.config.maxDate.getMinutes() > 0 || e.config.maxDate.getSeconds() > 0);
|
|
3689
3689
|
}
|
|
3690
3690
|
function hn() {
|
|
3691
|
-
if (e.input =
|
|
3691
|
+
if (e.input = Bt(), !e.input) {
|
|
3692
3692
|
e.config.errorHandler(new Error("Invalid input element specified"));
|
|
3693
3693
|
return;
|
|
3694
3694
|
}
|
|
@@ -3705,7 +3705,7 @@ function vl(t, n) {
|
|
|
3705
3705
|
} catch {
|
|
3706
3706
|
}
|
|
3707
3707
|
y(e.mobileInput, "change", function(s) {
|
|
3708
|
-
e.setDate(
|
|
3708
|
+
e.setDate(Be(s).value, !1, e.mobileFormatStr), ve("onChange"), ve("onClose");
|
|
3709
3709
|
});
|
|
3710
3710
|
}
|
|
3711
3711
|
function vn(i) {
|
|
@@ -3755,17 +3755,17 @@ function vl(t, n) {
|
|
|
3755
3755
|
i === void 0 && (i = !0), e.mobileInput !== void 0 && e.mobileFormatStr && (e.mobileInput.value = e.latestSelectedDateObj !== void 0 ? e.formatDate(e.latestSelectedDateObj, e.mobileFormatStr) : ""), e.input.value = Vt(e.config.dateFormat), e.altInput !== void 0 && (e.altInput.value = Vt(e.config.altFormat)), i !== !1 && ve("onValueUpdate");
|
|
3756
3756
|
}
|
|
3757
3757
|
function bn(i) {
|
|
3758
|
-
var s =
|
|
3758
|
+
var s = Be(i), h = e.prevMonthNav.contains(s), A = e.nextMonthNav.contains(s);
|
|
3759
3759
|
h || A ? he(h ? -1 : 1) : e.yearElements.indexOf(s) >= 0 ? s.select() : s.classList.contains("arrowUp") ? e.changeYear(e.currentYear + 1) : s.classList.contains("arrowDown") && e.changeYear(e.currentYear - 1);
|
|
3760
3760
|
}
|
|
3761
3761
|
function wn(i) {
|
|
3762
3762
|
i.preventDefault();
|
|
3763
|
-
var s = i.type === "keydown", h =
|
|
3763
|
+
var s = i.type === "keydown", h = Be(i), A = h;
|
|
3764
3764
|
e.amPM !== void 0 && h === e.amPM && (e.amPM.textContent = e.l10n.amPM[Ke(e.amPM.textContent === e.l10n.amPM[0])]);
|
|
3765
|
-
var V = parseFloat(A.getAttribute("min")), N = parseFloat(A.getAttribute("max")), X = parseFloat(A.getAttribute("step")), Y = parseInt(A.value, 10), re = i.delta || (s ? i.which === 38 ? 1 : -1 : 0),
|
|
3765
|
+
var V = parseFloat(A.getAttribute("min")), N = parseFloat(A.getAttribute("max")), X = parseFloat(A.getAttribute("step")), Y = parseInt(A.value, 10), re = i.delta || (s ? i.which === 38 ? 1 : -1 : 0), B = Y + X * re;
|
|
3766
3766
|
if (typeof A.value < "u" && A.value.length === 2) {
|
|
3767
3767
|
var q = A === e.hourElement, fe = A === e.minuteElement;
|
|
3768
|
-
|
|
3768
|
+
B < V ? (B = N + B + Ke(!q) + (Ke(q) && Ke(!e.amPM)), fe && U(void 0, -1, e.hourElement)) : B > N && (B = A === e.hourElement ? B - N - Ke(!e.amPM) : V, fe && U(void 0, 1, e.hourElement)), e.amPM && q && (X === 1 ? B + Y === 23 : Math.abs(B - Y) > X) && (e.amPM.textContent = e.l10n.amPM[Ke(e.amPM.textContent === e.l10n.amPM[0])]), A.value = Fe(B);
|
|
3769
3769
|
}
|
|
3770
3770
|
}
|
|
3771
3771
|
return r(), e;
|
|
@@ -4982,7 +4982,7 @@ var Yn = {}, Al = {
|
|
|
4982
4982
|
_.l10ns.eo = M, _.l10ns;
|
|
4983
4983
|
var T = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
4984
4984
|
l10ns: {}
|
|
4985
|
-
},
|
|
4985
|
+
}, j = {
|
|
4986
4986
|
weekdays: {
|
|
4987
4987
|
shorthand: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb"],
|
|
4988
4988
|
longhand: [
|
|
@@ -5032,7 +5032,7 @@ var Yn = {}, Al = {
|
|
|
5032
5032
|
rangeSeparator: " a ",
|
|
5033
5033
|
time_24hr: !0
|
|
5034
5034
|
};
|
|
5035
|
-
T.l10ns.es =
|
|
5035
|
+
T.l10ns.es = j, T.l10ns;
|
|
5036
5036
|
var G = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
5037
5037
|
l10ns: {}
|
|
5038
5038
|
}, se = {
|
|
@@ -5453,7 +5453,7 @@ var Yn = {}, Al = {
|
|
|
5453
5453
|
}
|
|
5454
5454
|
};
|
|
5455
5455
|
ln.l10ns.hi = sn, ln.l10ns;
|
|
5456
|
-
var
|
|
5456
|
+
var jt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
5457
5457
|
l10ns: {}
|
|
5458
5458
|
}, un = {
|
|
5459
5459
|
firstDayOfWeek: 1,
|
|
@@ -5501,8 +5501,8 @@ var Yn = {}, Al = {
|
|
|
5501
5501
|
},
|
|
5502
5502
|
time_24hr: !0
|
|
5503
5503
|
};
|
|
5504
|
-
|
|
5505
|
-
var
|
|
5504
|
+
jt.l10ns.hr = un, jt.l10ns;
|
|
5505
|
+
var Bt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
5506
5506
|
l10ns: {}
|
|
5507
5507
|
}, Rt = {
|
|
5508
5508
|
firstDayOfWeek: 1,
|
|
@@ -5557,7 +5557,7 @@ var Yn = {}, Al = {
|
|
|
5557
5557
|
rangeSeparator: " - ",
|
|
5558
5558
|
time_24hr: !0
|
|
5559
5559
|
};
|
|
5560
|
-
|
|
5560
|
+
Bt.l10ns.hu = Rt, Bt.l10ns;
|
|
5561
5561
|
var yt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
5562
5562
|
l10ns: {}
|
|
5563
5563
|
}, dn = {
|
|
@@ -6459,7 +6459,7 @@ var Yn = {}, Al = {
|
|
|
6459
6459
|
}
|
|
6460
6460
|
};
|
|
6461
6461
|
Y.l10ns.nn = re, Y.l10ns;
|
|
6462
|
-
var
|
|
6462
|
+
var B = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6463
6463
|
l10ns: {}
|
|
6464
6464
|
}, q = {
|
|
6465
6465
|
weekdays: {
|
|
@@ -6514,10 +6514,10 @@ var Yn = {}, Al = {
|
|
|
6514
6514
|
return ".";
|
|
6515
6515
|
}
|
|
6516
6516
|
};
|
|
6517
|
-
|
|
6517
|
+
B.l10ns.no = q, B.l10ns;
|
|
6518
6518
|
var fe = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6519
6519
|
l10ns: {}
|
|
6520
|
-
},
|
|
6520
|
+
}, je = {
|
|
6521
6521
|
weekdays: {
|
|
6522
6522
|
shorthand: ["ਐਤ", "ਸੋਮ", "ਮੰਗਲ", "ਬੁੱਧ", "ਵੀਰ", "ਸ਼ੁੱਕਰ", "ਸ਼ਨਿੱਚਰ"],
|
|
6523
6523
|
longhand: [
|
|
@@ -6562,7 +6562,7 @@ var Yn = {}, Al = {
|
|
|
6562
6562
|
},
|
|
6563
6563
|
time_24hr: !0
|
|
6564
6564
|
};
|
|
6565
|
-
fe.l10ns.pa =
|
|
6565
|
+
fe.l10ns.pa = je, fe.l10ns;
|
|
6566
6566
|
var Se = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6567
6567
|
l10ns: {}
|
|
6568
6568
|
}, ut = {
|
|
@@ -7147,9 +7147,9 @@ var Yn = {}, Al = {
|
|
|
7147
7147
|
}
|
|
7148
7148
|
};
|
|
7149
7149
|
La.l10ns.th = za, La.l10ns;
|
|
7150
|
-
var
|
|
7150
|
+
var ja = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
7151
7151
|
l10ns: {}
|
|
7152
|
-
},
|
|
7152
|
+
}, Ba = {
|
|
7153
7153
|
weekdays: {
|
|
7154
7154
|
shorthand: ["Paz", "Pzt", "Sal", "Çar", "Per", "Cum", "Cmt"],
|
|
7155
7155
|
longhand: [
|
|
@@ -7203,7 +7203,7 @@ var Yn = {}, Al = {
|
|
|
7203
7203
|
amPM: ["ÖÖ", "ÖS"],
|
|
7204
7204
|
time_24hr: !0
|
|
7205
7205
|
};
|
|
7206
|
-
|
|
7206
|
+
ja.l10ns.tr = Ba, ja.l10ns;
|
|
7207
7207
|
var Ra = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
7208
7208
|
l10ns: {}
|
|
7209
7209
|
}, Ua = {
|
|
@@ -7538,7 +7538,7 @@ var Yn = {}, Al = {
|
|
|
7538
7538
|
default: a({}, C),
|
|
7539
7539
|
en: C,
|
|
7540
7540
|
eo: M,
|
|
7541
|
-
es:
|
|
7541
|
+
es: j,
|
|
7542
7542
|
et: se,
|
|
7543
7543
|
fa: ge,
|
|
7544
7544
|
fi: Ne,
|
|
@@ -7567,7 +7567,7 @@ var Yn = {}, Al = {
|
|
|
7567
7567
|
nl: X,
|
|
7568
7568
|
nn: re,
|
|
7569
7569
|
no: q,
|
|
7570
|
-
pa:
|
|
7570
|
+
pa: je,
|
|
7571
7571
|
pl: ut,
|
|
7572
7572
|
pt: kn,
|
|
7573
7573
|
ro: Cn,
|
|
@@ -7579,7 +7579,7 @@ var Yn = {}, Al = {
|
|
|
7579
7579
|
sr: Fa,
|
|
7580
7580
|
sv: Na,
|
|
7581
7581
|
th: za,
|
|
7582
|
-
tr:
|
|
7582
|
+
tr: Ba,
|
|
7583
7583
|
uk: Ua,
|
|
7584
7584
|
vn: Ka,
|
|
7585
7585
|
zh: Za,
|
|
@@ -7642,7 +7642,7 @@ const Ml = {
|
|
|
7642
7642
|
}, O = () => {
|
|
7643
7643
|
a(r.value) && (u.value = r.value.fpInput().value);
|
|
7644
7644
|
}, P = () => {
|
|
7645
|
-
var M, T,
|
|
7645
|
+
var M, T, j;
|
|
7646
7646
|
if (!a(r.value))
|
|
7647
7647
|
return;
|
|
7648
7648
|
const C = u.value.replace(/[^\s\d.:]/g, ""), _ = r.value.fp.parseDate(C, R.value);
|
|
@@ -7650,7 +7650,7 @@ const Ml = {
|
|
|
7650
7650
|
ye(e.defaultValue) ? (M = r.value) == null || M.fp.clear(!0) : (T = r.value) == null || T.fp.setDate(e.defaultValue, !0), W.value.textFieldValue.$touch(), n("blur");
|
|
7651
7651
|
return;
|
|
7652
7652
|
}
|
|
7653
|
-
(
|
|
7653
|
+
(j = r.value) == null || j.fp.setDate(_, !0), W.value.textFieldValue.$touch(), n("blur");
|
|
7654
7654
|
}, F = () => {
|
|
7655
7655
|
p.value = e.defaultValue, n("update:modelValue", c(e.defaultValue));
|
|
7656
7656
|
}, R = x(() => e.type === "datetime" ? "d.m.Y H:i" : "d.m.Y"), U = x(() => e.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), ae = x(() => e.enable && e.enable.length > 0 ? e.enable : [
|
|
@@ -7892,14 +7892,14 @@ const Tl = {
|
|
|
7892
7892
|
o.value = !0, n("blur", e.modelValue), (M = e.v) == null || M.$touch();
|
|
7893
7893
|
}, v = x(() => {
|
|
7894
7894
|
var M, T;
|
|
7895
|
-
return S(e.errorMessage) ? (T = (M = e.v) == null ? void 0 : M.$errors) != null && T.length ? e.v.$errors.map((
|
|
7895
|
+
return S(e.errorMessage) ? (T = (M = e.v) == null ? void 0 : M.$errors) != null && T.length ? e.v.$errors.map((j) => j.$message) : [] : [e.errorMessage];
|
|
7896
7896
|
}), k = x(() => {
|
|
7897
|
-
var T,
|
|
7897
|
+
var T, j;
|
|
7898
7898
|
if (!S(e.label))
|
|
7899
7899
|
return e.label;
|
|
7900
7900
|
if (S(p) || S(m) || S((T = e.v) == null ? void 0 : T.$path))
|
|
7901
7901
|
return "";
|
|
7902
|
-
const { end: M } = lt((
|
|
7902
|
+
const { end: M } = lt((j = e.v) == null ? void 0 : j.$path, ".");
|
|
7903
7903
|
return f(p + "." + m + ".model." + M);
|
|
7904
7904
|
}), I = x(() => {
|
|
7905
7905
|
var M, T;
|
|
@@ -7910,17 +7910,17 @@ const Tl = {
|
|
|
7910
7910
|
M.set(T.value, { value: T.value, title: T.title });
|
|
7911
7911
|
}), P.value.forEach((T) => {
|
|
7912
7912
|
M.set(T.value, { value: T.value, title: T.title });
|
|
7913
|
-
}), Array.from(M, ([T,
|
|
7913
|
+
}), Array.from(M, ([T, j]) => ({ value: T, title: j.title }));
|
|
7914
7914
|
}), U = J(!1), ae = x(() => U.value ? !0 : e.loading), ee = async (M) => {
|
|
7915
7915
|
U.value = !0;
|
|
7916
7916
|
const T = u.value[e.filterByField];
|
|
7917
7917
|
T.model = M, P.value = await e.fetchItems(O, u.value), U.value = !1;
|
|
7918
7918
|
}, ue = (M) => {
|
|
7919
|
-
const T = R.value.filter((
|
|
7919
|
+
const T = R.value.filter((j) => M.includes(j.value));
|
|
7920
7920
|
return [].concat(T);
|
|
7921
7921
|
}, pe = async (M) => {
|
|
7922
|
-
let T = 1,
|
|
7923
|
-
return Ee(M) ? (T = M.length,
|
|
7922
|
+
let T = 1, j = [];
|
|
7923
|
+
return Ee(M) ? (T = M.length, j = ue(M)) : j = ue([M]), F.value = j, j.length === T;
|
|
7924
7924
|
}, ie = J(!1), Q = () => {
|
|
7925
7925
|
clearTimeout(l.value), l.value = void 0;
|
|
7926
7926
|
}, Me = async () => {
|
|
@@ -7971,7 +7971,7 @@ const Tl = {
|
|
|
7971
7971
|
M !== T && n("searchChange", M);
|
|
7972
7972
|
}), (M, T) => (w(), E(on, {
|
|
7973
7973
|
modelValue: c(a),
|
|
7974
|
-
"onUpdate:modelValue": T[0] || (T[0] = (
|
|
7974
|
+
"onUpdate:modelValue": T[0] || (T[0] = (j) => Ue(a) ? a.value = j : null),
|
|
7975
7975
|
items: c(R),
|
|
7976
7976
|
"no-filter": "",
|
|
7977
7977
|
multiple: c(y),
|
|
@@ -8475,7 +8475,7 @@ const Ll = /* @__PURE__ */ L({
|
|
|
8475
8475
|
LINK_EXTERNAL: "mdi-open-in-new"
|
|
8476
8476
|
}
|
|
8477
8477
|
}
|
|
8478
|
-
}, mr = Ur(zl),
|
|
8478
|
+
}, mr = Ur(zl), jl = { key: 1 }, vh = /* @__PURE__ */ L({
|
|
8479
8479
|
__name: "ACachedChip",
|
|
8480
8480
|
props: {
|
|
8481
8481
|
id: { default: null },
|
|
@@ -8506,7 +8506,7 @@ const Ll = /* @__PURE__ */ L({
|
|
|
8506
8506
|
}, [
|
|
8507
8507
|
c(ye)(t.id) || c(S)(t.id) ? _e(u.$slots, "empty", { key: 0 }, () => [
|
|
8508
8508
|
z(" - ")
|
|
8509
|
-
]) : t.textOnly ? (w(), H("div",
|
|
8509
|
+
]) : t.textOnly ? (w(), H("div", jl, [
|
|
8510
8510
|
z($(c(l)) + " ", 1),
|
|
8511
8511
|
!c(r) && t.title.length === 0 ? (w(), E(Xn, {
|
|
8512
8512
|
key: 0,
|
|
@@ -8553,7 +8553,7 @@ const Ll = /* @__PURE__ */ L({
|
|
|
8553
8553
|
], 2));
|
|
8554
8554
|
}
|
|
8555
8555
|
});
|
|
8556
|
-
var
|
|
8556
|
+
var Bl = /* @__PURE__ */ ((t) => (t.Debug = "DEBUG", t.Info = "INFO", t.Notice = "NOTICE", t.Warning = "WARNING", t.Error = "ERROR", t.Critical = "CRITICAL", t.Alert = "ALERT", t.Emergency = "EMERGENCY", t.Default = "INFO", t))(Bl || {});
|
|
8557
8557
|
function Rl() {
|
|
8558
8558
|
const t = J([
|
|
8559
8559
|
{
|
|
@@ -9800,7 +9800,7 @@ const Ph = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-8f7b4952"]]), ks = ["on
|
|
|
9800
9800
|
default: g(() => [
|
|
9801
9801
|
b(nt, null, {
|
|
9802
9802
|
default: g(() => [
|
|
9803
|
-
b(
|
|
9803
|
+
b(jo, {
|
|
9804
9804
|
"model-value": c(f),
|
|
9805
9805
|
swatches: a,
|
|
9806
9806
|
class: "a-color-picker--hide-controls",
|
|
@@ -9888,7 +9888,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
|
|
|
9888
9888
|
]),
|
|
9889
9889
|
_: 1
|
|
9890
9890
|
}),
|
|
9891
|
-
b(
|
|
9891
|
+
b(Bo),
|
|
9892
9892
|
b(Qe, {
|
|
9893
9893
|
active: !1,
|
|
9894
9894
|
"prepend-icon": "mdi-cog",
|
|
@@ -10224,15 +10224,15 @@ const Nh = /* @__PURE__ */ vt(Fs, [["__scopeId", "data-v-d02b0927"]]), Lh = /* @
|
|
|
10224
10224
|
])
|
|
10225
10225
|
]));
|
|
10226
10226
|
}
|
|
10227
|
-
}),
|
|
10227
|
+
}), js = { class: "d-flex justify-center align-center fill-height" }, Bs = { class: "d-flex flex-column align-center" }, Rs = { class: "d-flex justify-center align-center text-primary" }, Us = { class: "pa-4" }, jh = /* @__PURE__ */ L({
|
|
10228
10228
|
__name: "ANotFoundView",
|
|
10229
10229
|
props: {
|
|
10230
10230
|
returnRouteName: null
|
|
10231
10231
|
},
|
|
10232
10232
|
setup(t) {
|
|
10233
10233
|
const { t: n } = K();
|
|
10234
|
-
return (e, a) => (w(), H("div",
|
|
10235
|
-
te("div",
|
|
10234
|
+
return (e, a) => (w(), H("div", js, [
|
|
10235
|
+
te("div", Bs, [
|
|
10236
10236
|
te("h1", Rs, [
|
|
10237
10237
|
b(me, {
|
|
10238
10238
|
size: "x-large",
|
|
@@ -10254,7 +10254,7 @@ const Nh = /* @__PURE__ */ vt(Fs, [["__scopeId", "data-v-d02b0927"]]), Lh = /* @
|
|
|
10254
10254
|
])
|
|
10255
10255
|
]));
|
|
10256
10256
|
}
|
|
10257
|
-
}),
|
|
10257
|
+
}), Bh = /* @__PURE__ */ L({
|
|
10258
10258
|
__name: "AJobDetailCommon",
|
|
10259
10259
|
props: {
|
|
10260
10260
|
job: null,
|
|
@@ -10594,7 +10594,7 @@ const eg = (t, n) => {
|
|
|
10594
10594
|
recordWas: wu,
|
|
10595
10595
|
idWasCopied: ku,
|
|
10596
10596
|
textWasCopied: Cu
|
|
10597
|
-
}, Du = "Create", _u = "Create And Close", Mu = "Save", xu = "Save And Close", Tu = "Close", Su = "Edit", $u = "Detail", Ou = "Apply Filter", Pu = "Reset Filter", Vu = "More filters", Iu = "Cancel", Fu = "Id", Eu = "Now", Nu = "Confirm", Lu = "Copy ID", zu = "Add",
|
|
10597
|
+
}, Du = "Create", _u = "Create And Close", Mu = "Save", xu = "Save And Close", Tu = "Close", Su = "Edit", $u = "Detail", Ou = "Apply Filter", Pu = "Reset Filter", Vu = "More filters", Iu = "Cancel", Fu = "Id", Eu = "Now", Nu = "Confirm", Lu = "Copy ID", zu = "Add", ju = "Download", Bu = "Upload", Ru = {
|
|
10598
10598
|
create: Du,
|
|
10599
10599
|
createAndClose: _u,
|
|
10600
10600
|
save: Mu,
|
|
@@ -10612,8 +10612,8 @@ const eg = (t, n) => {
|
|
|
10612
10612
|
confirm: Nu,
|
|
10613
10613
|
copyId: Lu,
|
|
10614
10614
|
add: zu,
|
|
10615
|
-
download:
|
|
10616
|
-
upload:
|
|
10615
|
+
download: ju,
|
|
10616
|
+
upload: Bu
|
|
10617
10617
|
}, Uu = "System", Yu = "Not selected", Hu = {
|
|
10618
10618
|
true: "Yes",
|
|
10619
10619
|
false: "No"
|
|
@@ -10824,7 +10824,7 @@ const eg = (t, n) => {
|
|
|
10824
10824
|
model: Sd,
|
|
10825
10825
|
filter: $d,
|
|
10826
10826
|
button: Od
|
|
10827
|
-
}, Vd = "Invalid", Id = "
|
|
10827
|
+
}, Vd = "Invalid", Id = "ID mismatch error when editing object. Please contact the administrator if needed.", Fd = "Required field is empty.", Ed = "Field does not meet minimum length requirement.", Nd = "Field does not meet maximum length requirement.", Ld = "Invalid field.", zd = "Field must be unique.", jd = "Value in field not found.", Bd = "Value must be greater.", Rd = "Value must be lower.", Ud = "Incorrect format.", Yd = "Url is in an incorrect format.", Hd = "Item already exists.", Jd = {
|
|
10828
10828
|
noTranslation: Vd,
|
|
10829
10829
|
error_id_mismatch: Id,
|
|
10830
10830
|
error_field_empty: Fd,
|
|
@@ -10832,13 +10832,13 @@ const eg = (t, n) => {
|
|
|
10832
10832
|
error_field_length_max: Nd,
|
|
10833
10833
|
error_field_invalid: Ld,
|
|
10834
10834
|
error_field_not_unique: zd,
|
|
10835
|
-
error_field_value_not_found:
|
|
10836
|
-
error_field_range_min:
|
|
10835
|
+
error_field_value_not_found: jd,
|
|
10836
|
+
error_field_range_min: Bd,
|
|
10837
10837
|
error_field_range_max: Rd,
|
|
10838
10838
|
error_field_regex: Ud,
|
|
10839
10839
|
error_field_url: Yd,
|
|
10840
10840
|
error_already_exists: Hd
|
|
10841
|
-
}, Wd = "Required.", qd = "
|
|
10841
|
+
}, Wd = "Required.", qd = "Value must be between {min} and {max}.", Kd = "Minimal length is {min}.", Gd = "Maximal length is {max}.", Zd = "Maximal value must be {max}.", Qd = "Minimal value must be {min}.", Xd = "Incorrect email format.", ec = "Incorrect url format.", tc = "Allowed only numbers.", nc = "Allowed only characters a-z, - and numbers 0-9.", ac = "Item length in list must have between {min} and {max} characters.", rc = {
|
|
10842
10842
|
required: Wd,
|
|
10843
10843
|
between: qd,
|
|
10844
10844
|
minLength: Kd,
|
|
@@ -10925,13 +10925,13 @@ const eg = (t, n) => {
|
|
|
10925
10925
|
eq: "Presný výraz",
|
|
10926
10926
|
contains: "Kdekoľvek vo výraze",
|
|
10927
10927
|
startsWith: "Začiatok výrazu"
|
|
10928
|
-
},
|
|
10928
|
+
}, jc = {
|
|
10929
10929
|
system: Fc,
|
|
10930
10930
|
notSelected: Ec,
|
|
10931
10931
|
boolean: Nc,
|
|
10932
10932
|
tracking: Lc,
|
|
10933
10933
|
filterPlaceholder: zc
|
|
10934
|
-
},
|
|
10934
|
+
}, Bc = "Verzia", Rc = "K dispozícii je nová verzia administrácie. Pre správne fungovanie je potrebné vykonať aktulizáciu.", Uc = "Načítať novú verziu.", Yc = {
|
|
10935
10935
|
light: "Svetlá",
|
|
10936
10936
|
dark: "Tmavá",
|
|
10937
10937
|
auto: "Automatická"
|
|
@@ -10975,7 +10975,7 @@ const eg = (t, n) => {
|
|
|
10975
10975
|
text: "Na túto stránku nemáte prístup. Pokiaľ máte mať k tejto stránke prístup, kontaktujte administrátora.",
|
|
10976
10976
|
backButton: "Vráť ma na prihlásenie"
|
|
10977
10977
|
}, Xc = {
|
|
10978
|
-
version:
|
|
10978
|
+
version: Bc,
|
|
10979
10979
|
newVersionText: Rc,
|
|
10980
10980
|
newVersionReload: Uc,
|
|
10981
10981
|
theme: Yc,
|
|
@@ -11183,7 +11183,7 @@ const eg = (t, n) => {
|
|
|
11183
11183
|
ariaLabel: {
|
|
11184
11184
|
item: "Hodnotenie {0} z {1}"
|
|
11185
11185
|
}
|
|
11186
|
-
},
|
|
11186
|
+
}, jf = {
|
|
11187
11187
|
badge: Mf,
|
|
11188
11188
|
close: xf,
|
|
11189
11189
|
dataIterator: Tf,
|
|
@@ -11198,8 +11198,8 @@ const eg = (t, n) => {
|
|
|
11198
11198
|
timePicker: Nf,
|
|
11199
11199
|
pagination: Lf,
|
|
11200
11200
|
rating: zf
|
|
11201
|
-
},
|
|
11202
|
-
noTranslation:
|
|
11201
|
+
}, Bf = "Nevalidné.", Rf = "Nesúlad ID pri upravovaní objektu (MismatchID chyba). V prípade potreby kontaktuje administrátora.", Uf = "Povinné pole je prázdne.", Yf = "Nedodržaná minimálna dĺžka poľa.", Hf = "Nedodržaná maximálna dĺžka poľa.", Jf = "Neplatné pole.", Wf = "Pole musí byť unikátne.", qf = "Hodnota v poli nebola nájdená.", Kf = "Hodnota musí byť vyššia", Gf = "Hodnota musí byť nižšia.", Zf = "Nesprávny formát.", Qf = "URL je v nesprávnom tvare.", Xf = "Daná položka už existuje.", em = {
|
|
11202
|
+
noTranslation: Bf,
|
|
11203
11203
|
error_id_mismatch: Rf,
|
|
11204
11204
|
error_field_empty: Uf,
|
|
11205
11205
|
error_field_length_min: Yf,
|
|
@@ -11230,7 +11230,7 @@ const eg = (t, n) => {
|
|
|
11230
11230
|
common: {
|
|
11231
11231
|
alert: hc,
|
|
11232
11232
|
button: Ic,
|
|
11233
|
-
model:
|
|
11233
|
+
model: jc,
|
|
11234
11234
|
system: Xc,
|
|
11235
11235
|
anzuUser: rf,
|
|
11236
11236
|
job: cf,
|
|
@@ -11238,7 +11238,7 @@ const eg = (t, n) => {
|
|
|
11238
11238
|
permission: wf,
|
|
11239
11239
|
permissionGroup: _f
|
|
11240
11240
|
},
|
|
11241
|
-
$vuetify:
|
|
11241
|
+
$vuetify: jf,
|
|
11242
11242
|
error: {
|
|
11243
11243
|
apiValidation: {
|
|
11244
11244
|
...em
|
|
@@ -11602,7 +11602,7 @@ export {
|
|
|
11602
11602
|
_h as AActionEditButton,
|
|
11603
11603
|
Mh as AActionSaveAndCloseButton,
|
|
11604
11604
|
xh as AActionSaveButton,
|
|
11605
|
-
|
|
11605
|
+
Bp as AAdminSwitcher,
|
|
11606
11606
|
wp as AAlerts,
|
|
11607
11607
|
hr as AAnzuUserAvatar,
|
|
11608
11608
|
Ih as AAvatarColorPicker,
|
|
@@ -11612,7 +11612,7 @@ export {
|
|
|
11612
11612
|
qo as ACardLoader,
|
|
11613
11613
|
wh as AChipNoLink,
|
|
11614
11614
|
bh as ACopyText,
|
|
11615
|
-
|
|
11615
|
+
jp as ACreateDialog,
|
|
11616
11616
|
Fh as ACurrentUserDropdown,
|
|
11617
11617
|
Fp as ADatatableConfigButton,
|
|
11618
11618
|
Ep as ADatatableOrdering,
|
|
@@ -11641,14 +11641,14 @@ export {
|
|
|
11641
11641
|
Op as AFormTextarea,
|
|
11642
11642
|
fh as AFormValueObjectOptionsSelect,
|
|
11643
11643
|
no as AIconGroup,
|
|
11644
|
-
|
|
11644
|
+
Bh as AJobDetailCommon,
|
|
11645
11645
|
Ll as AJobStatusChip,
|
|
11646
11646
|
Ph as ALanguageSelect,
|
|
11647
11647
|
Np as ALogData,
|
|
11648
11648
|
yh as ALogLevelChip,
|
|
11649
11649
|
Nh as ALoginView,
|
|
11650
11650
|
Lh as ALogoutView,
|
|
11651
|
-
|
|
11651
|
+
jh as ANotFoundView,
|
|
11652
11652
|
eh as APermissionGrantEditor,
|
|
11653
11653
|
th as APermissionValueChip,
|
|
11654
11654
|
tt as ARow,
|
|
@@ -11670,7 +11670,7 @@ export {
|
|
|
11670
11670
|
oh as AnzuSystemsCommonAdmin,
|
|
11671
11671
|
Jr as AvailableLanguagesSymbol,
|
|
11672
11672
|
mr as COMMON_CONFIG,
|
|
11673
|
-
|
|
11673
|
+
jr as DATETIME_MAX,
|
|
11674
11674
|
zr as DATETIME_MIN,
|
|
11675
11675
|
Wr as DefaultLanguageSymbol,
|
|
11676
11676
|
Ln as Grant,
|
|
@@ -11684,8 +11684,8 @@ export {
|
|
|
11684
11684
|
Ir as HTTP_STATUS_UNPROCESSABLE_ENTITY,
|
|
11685
11685
|
Qh as JOB_RESOURCE_USER_DATA_DELETE,
|
|
11686
11686
|
eo as JobStatus,
|
|
11687
|
-
|
|
11688
|
-
|
|
11687
|
+
Bl as LogLevel,
|
|
11688
|
+
Bi as NEW_LINE_MARK,
|
|
11689
11689
|
qr as ROLE_SUPER_ADMIN,
|
|
11690
11690
|
rt as SubjectScopeSymbol,
|
|
11691
11691
|
at as SystemScopeSymbol,
|
|
@@ -11771,7 +11771,7 @@ export {
|
|
|
11771
11771
|
sg as useCommonVuetifyConfig,
|
|
11772
11772
|
Gh as useErrors,
|
|
11773
11773
|
$a as useFilterHelpers,
|
|
11774
|
-
|
|
11774
|
+
Br as useGrant,
|
|
11775
11775
|
il as useGrantOrigin,
|
|
11776
11776
|
pg as useI18n,
|
|
11777
11777
|
Zh as useJobApi,
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"./styles": "./dist/style.css",
|
|
14
14
|
"./*": "./*"
|
|
15
15
|
},
|
|
16
|
-
"version": "0.0.
|
|
16
|
+
"version": "0.0.55",
|
|
17
17
|
"type": "module",
|
|
18
18
|
"license": "Apache-2.0",
|
|
19
19
|
"scripts": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@rushstack/eslint-patch": "^1.2.0",
|
|
37
37
|
"@types/node": "^18.15.11",
|
|
38
38
|
"@types/webfontloader": "^1.6.35",
|
|
39
|
-
"@typescript-eslint/parser": "^5.
|
|
39
|
+
"@typescript-eslint/parser": "^5.58.0",
|
|
40
40
|
"@vitejs/plugin-vue": "^4.1.0",
|
|
41
41
|
"@vue/eslint-config-prettier": "^7.1.0",
|
|
42
42
|
"@vue/eslint-config-typescript": "^11.0.2",
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
"@vueuse/integrations": "^9.13.0",
|
|
48
48
|
"axios": "^1.3.5",
|
|
49
49
|
"dayjs": "^1.11.7",
|
|
50
|
-
"eslint": "^8.
|
|
50
|
+
"eslint": "^8.38.0",
|
|
51
51
|
"eslint-plugin-vue": "^9.10.0",
|
|
52
52
|
"flatpickr": "^4.6.13",
|
|
53
|
-
"pinia": "^2.0.
|
|
53
|
+
"pinia": "^2.0.34",
|
|
54
54
|
"prettier": "^2.8.7",
|
|
55
|
-
"sass": "^1.
|
|
55
|
+
"sass": "^1.61.0",
|
|
56
56
|
"shortcut-buttons-flatpickr": "^0.4.0",
|
|
57
57
|
"typescript": "^4.9.5",
|
|
58
58
|
"vite": "^4.2.1",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"axios": "^1.3.4",
|
|
75
75
|
"dayjs": "^1.11.7",
|
|
76
76
|
"flatpickr": "^4.6.13",
|
|
77
|
-
"pinia": "^2.0.
|
|
77
|
+
"pinia": "^2.0.34",
|
|
78
78
|
"vue": "^3.2.47",
|
|
79
79
|
"vue-i18n": "^9.2.2",
|
|
80
80
|
"vue-router": "^4.1.6",
|
|
@@ -96,9 +96,6 @@
|
|
|
96
96
|
"flatpickr": {
|
|
97
97
|
"optional": true
|
|
98
98
|
},
|
|
99
|
-
"pinia": {
|
|
100
|
-
"optional": true
|
|
101
|
-
},
|
|
102
99
|
"vue-router": {
|
|
103
100
|
"optional": true
|
|
104
101
|
}
|