@anzusystems/common-admin 1.47.0-beta.301 → 1.47.0-beta.302
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/{AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-BdsdwEyo.mjs → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-Cay8wZIS.mjs} +44 -49
- package/dist/{AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-BdsdwEyo.mjs.map → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-Cay8wZIS.mjs.map} +1 -1
- package/dist/common-admin.css +1 -13
- package/dist/common-admin.d.ts +279 -269
- package/dist/common-admin.js +3811 -3799
- package/dist/common-admin.js.map +1 -1
- package/dist/{index-DgZxL2FD.mjs → index-DcYZIsw8.mjs} +4013 -3927
- package/dist/index-DcYZIsw8.mjs.map +1 -0
- package/dist/labs.js +2 -2
- package/package.json +19 -19
- package/dist/index-DgZxL2FD.mjs.map +0 -1
|
@@ -50,15 +50,10 @@ const Io = { class: "text-high-emphasis" }, _u = /* @__PURE__ */ Se({
|
|
|
50
50
|
_: 3
|
|
51
51
|
}, 8, ["data-cy"]));
|
|
52
52
|
}
|
|
53
|
-
}),
|
|
54
|
-
const t = e.__vccOpts || e;
|
|
55
|
-
for (const [a, o] of n)
|
|
56
|
-
t[a] = o;
|
|
57
|
-
return t;
|
|
58
|
-
}, T = (e) => typeof e > "u", ye = (e) => !T(e), W = (e) => e === null, Bt = (e) => typeof e == "number", xe = (e) => typeof e == "string", oe = (e) => Array.isArray(e), xu = (e) => typeof e == "function", lt = (e) => typeof e == "boolean", Mu = (e) => xe(e) && /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(e), ku = (e) => {
|
|
53
|
+
}), T = (e) => typeof e > "u", ye = (e) => !T(e), W = (e) => e === null, Bt = (e) => typeof e == "number", xe = (e) => typeof e == "string", oe = (e) => Array.isArray(e), xu = (e) => typeof e == "function", lt = (e) => typeof e == "boolean", Mu = (e) => xe(e) && /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(e), ku = (e) => {
|
|
59
54
|
const n = parseFloat(e);
|
|
60
55
|
return !isNaN(e) && (n | 0) === n;
|
|
61
|
-
}, nn = (e) => typeof e == "object" && !oe(e) && !W(e), Gt = (e) => nn(e) ? Object.keys(e).length === 0 : !1, fa = (e) => oe(e) && e.length === 0,
|
|
56
|
+
}, nn = (e) => typeof e == "object" && !oe(e) && !W(e), Gt = (e) => nn(e) ? Object.keys(e).length === 0 : !1, fa = (e) => oe(e) && e.length === 0, gr = (e) => W(e) || T(e) || e === "" || e === 0 || fa(e) || Gt(e), Ae = (e) => {
|
|
62
57
|
if (typeof structuredClone == "function")
|
|
63
58
|
try {
|
|
64
59
|
return Wr(e) ? structuredClone($n(e)) : ya(e) ? structuredClone(ie(e)) : structuredClone(e);
|
|
@@ -211,7 +206,7 @@ function Vu() {
|
|
|
211
206
|
Vo
|
|
212
207
|
);
|
|
213
208
|
}
|
|
214
|
-
function
|
|
209
|
+
function br() {
|
|
215
210
|
return We(Uo);
|
|
216
211
|
}
|
|
217
212
|
function Uu() {
|
|
@@ -262,15 +257,15 @@ const Kn = {
|
|
|
262
257
|
function Xu(e) {
|
|
263
258
|
return e.status === el.Ok;
|
|
264
259
|
}
|
|
265
|
-
const
|
|
260
|
+
const yr = {
|
|
266
261
|
Ok: "ok",
|
|
267
262
|
Failed: "failed"
|
|
268
263
|
};
|
|
269
264
|
function Ya(e) {
|
|
270
|
-
return e.status ===
|
|
265
|
+
return e.status === yr.Ok;
|
|
271
266
|
}
|
|
272
267
|
function Va(e) {
|
|
273
|
-
return e.status ===
|
|
268
|
+
return e.status === yr.Failed;
|
|
274
269
|
}
|
|
275
270
|
const Zu = {
|
|
276
271
|
Free: "free",
|
|
@@ -309,7 +304,7 @@ function rl() {
|
|
|
309
304
|
collabFieldLocksState: al,
|
|
310
305
|
collabFieldDataBufferState: Gn,
|
|
311
306
|
gatherBufferData: (a) => {
|
|
312
|
-
|
|
307
|
+
br().emit({ room: a });
|
|
313
308
|
let r = {};
|
|
314
309
|
const l = Gn.get(a);
|
|
315
310
|
return l && (r = $n(Object.fromEntries(l.entries())), Gn.delete(a)), r;
|
|
@@ -327,7 +322,7 @@ function ol() {
|
|
|
327
322
|
};
|
|
328
323
|
}
|
|
329
324
|
function Ln(e, n, t = !1) {
|
|
330
|
-
const { collabOptions: a } = Yt(), { currentUserId: o } = ol(), { collabSocket: r, collabFieldLocksState: l, collabFieldDataBufferState: s, collabRoomInfoState: i } = rl(), u = Zo(), m = P(), f = P(), S = Qo(), y = P(), b = P(), p =
|
|
325
|
+
const { collabOptions: a } = Yt(), { currentUserId: o } = ol(), { collabSocket: r, collabFieldLocksState: l, collabFieldDataBufferState: s, collabRoomInfoState: i } = rl(), u = Zo(), m = P(), f = P(), S = Qo(), y = P(), b = P(), p = br(), c = P(), d = P(), h = ($, w) => {
|
|
331
326
|
$.room !== e || $.field !== n || T(w) || T(f.value) || f.value(w);
|
|
332
327
|
}, D = ($, w) => {
|
|
333
328
|
$.room !== e || $.field !== n || T(w) || T(b.value) || b.value(w);
|
|
@@ -661,7 +656,7 @@ const cl = /* @__PURE__ */ Se({
|
|
|
661
656
|
console.error("vite-plugin-css-injected-by-js", t);
|
|
662
657
|
}
|
|
663
658
|
})();
|
|
664
|
-
const
|
|
659
|
+
const Sr = /* @__PURE__ */ new Map();
|
|
665
660
|
function dl(e) {
|
|
666
661
|
return { all: e = e || /* @__PURE__ */ new Map(), on: function(n, t) {
|
|
667
662
|
var a = e.get(n);
|
|
@@ -855,7 +850,7 @@ const mn = {
|
|
|
855
850
|
slots: t,
|
|
856
851
|
expose: a
|
|
857
852
|
}) => {
|
|
858
|
-
const o = P([]), r =
|
|
853
|
+
const o = P([]), r = Sr.get("velocity"), l = L(() => e.animationType === "velocity"), s = L(() => o.value.filter((A) => A.state !== mn.DESTROYED)), i = L(() => ml(e.width)), u = L(() => {
|
|
859
854
|
const {
|
|
860
855
|
x: A,
|
|
861
856
|
y: I
|
|
@@ -990,7 +985,7 @@ Ge.close = (e) => {
|
|
|
990
985
|
};
|
|
991
986
|
const Sl = "Notifications";
|
|
992
987
|
function wl(e, n = {}) {
|
|
993
|
-
Object.entries(n).forEach((a) =>
|
|
988
|
+
Object.entries(n).forEach((a) => Sr.set(...a));
|
|
994
989
|
const t = n.name || "notify";
|
|
995
990
|
e.config.globalProperties["$" + t] = Ge, e.component(n.componentName || Sl, yl);
|
|
996
991
|
}
|
|
@@ -1024,7 +1019,7 @@ class on extends Error {
|
|
|
1024
1019
|
super(r), this.name = "AnzuApiValidationError", this.cause = o, this.message = r, this.fields = Il(n, t, a);
|
|
1025
1020
|
}
|
|
1026
1021
|
}
|
|
1027
|
-
const
|
|
1022
|
+
const wr = (e) => e instanceof ln;
|
|
1028
1023
|
class ln extends Error {
|
|
1029
1024
|
code;
|
|
1030
1025
|
constructor(n, t, a) {
|
|
@@ -1051,14 +1046,14 @@ class un extends Error {
|
|
|
1051
1046
|
super(r), this.name = "AnzuApiDependencyExistsError", this.cause = o, this.message = r, this.dependencies = Pl(n);
|
|
1052
1047
|
}
|
|
1053
1048
|
}
|
|
1054
|
-
const Ll = (e) => e instanceof
|
|
1055
|
-
class
|
|
1049
|
+
const Ll = (e) => e instanceof Dr, Nl = (e) => Nt.isAxiosError(e) && (e.code === "ECONNABORTED" || e.message.includes("timeout") || e.cause instanceof Error && e.cause.message.includes("timeout"));
|
|
1050
|
+
class Dr extends Error {
|
|
1056
1051
|
constructor(n = void 0) {
|
|
1057
1052
|
super("API request timed out"), this.name = "AnzuApiAxiosError", this.cause = n;
|
|
1058
1053
|
}
|
|
1059
1054
|
}
|
|
1060
|
-
const Yl = (e) => e instanceof
|
|
1061
|
-
class
|
|
1055
|
+
const Yl = (e) => e instanceof Cr;
|
|
1056
|
+
class Cr extends Error {
|
|
1062
1057
|
constructor(n) {
|
|
1063
1058
|
super("API request failed"), this.name = "AnzuApiAxiosError", this.cause = n;
|
|
1064
1059
|
}
|
|
@@ -1168,7 +1163,7 @@ function Ta() {
|
|
|
1168
1163
|
duration: c * 1e3,
|
|
1169
1164
|
type: "error"
|
|
1170
1165
|
});
|
|
1171
|
-
}, b = (c, d = -1) => xl(c) ? (y(d), !0) : kl(c) ? (m(c.fields, d), !0) : Rl(c) ? (a("error.apiDependencyExists.message", d), !0) : Fl(c) ? (f(c.detail, d), !0) : Ll(c) ? (a("error.apiTimedOut.message", d), !0) : Yl(c) || Dl(c) ||
|
|
1166
|
+
}, b = (c, d = -1) => xl(c) ? (y(d), !0) : kl(c) ? (m(c.fields, d), !0) : Rl(c) ? (a("error.apiDependencyExists.message", d), !0) : Fl(c) ? (f(c.detail, d), !0) : Ll(c) ? (a("error.apiTimedOut.message", d), !0) : Yl(c) || Dl(c) || wr(c) ? (S(d), !0) : !1, p = (c) => {
|
|
1172
1167
|
const { t: d } = he.global, h = c.split("["), D = h[0].trim(), k = h[1].split("]"), O = k[0], M = k[1] ?? "";
|
|
1173
1168
|
return d(D) + "[" + O + "]: " + d(D.slice(0, -1) + M);
|
|
1174
1169
|
};
|
|
@@ -1190,6 +1185,12 @@ function Ta() {
|
|
|
1190
1185
|
showErrorsDefault: b
|
|
1191
1186
|
};
|
|
1192
1187
|
}
|
|
1188
|
+
const Er = (e, n) => {
|
|
1189
|
+
const t = e.__vccOpts || e;
|
|
1190
|
+
for (const [a, o] of n)
|
|
1191
|
+
t[a] = o;
|
|
1192
|
+
return t;
|
|
1193
|
+
};
|
|
1193
1194
|
function Aa(e) {
|
|
1194
1195
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1195
1196
|
}
|
|
@@ -2052,7 +2053,7 @@ const $i = { class: "a-datetime-picker-time" }, Fi = { class: "a-datetime-picker
|
|
|
2052
2053
|
])
|
|
2053
2054
|
]));
|
|
2054
2055
|
}
|
|
2055
|
-
}), Li = /* @__PURE__ */
|
|
2056
|
+
}), Li = /* @__PURE__ */ Er(Pi, [["__scopeId", "data-v-c3a50ef0"]]), Ni = { class: "ml-1" }, Yi = {
|
|
2056
2057
|
key: 0,
|
|
2057
2058
|
class: "required"
|
|
2058
2059
|
}, Vi = /* @__PURE__ */ Se({
|
|
@@ -2233,7 +2234,7 @@ const $i = { class: "a-datetime-picker-time" }, Fi = { class: "a-datetime-picker
|
|
|
2233
2234
|
}
|
|
2234
2235
|
]), 1032, ["modelValue", "error-messages", "placeholder", "disabled"]));
|
|
2235
2236
|
}
|
|
2236
|
-
}), Mr = /* @__PURE__ */
|
|
2237
|
+
}), Mr = /* @__PURE__ */ Er(Vi, [["__scopeId", "data-v-73f392a7"]]), _c = /* @__PURE__ */ Se({
|
|
2237
2238
|
__name: "AFormDatetimePicker",
|
|
2238
2239
|
props: {
|
|
2239
2240
|
modelValue: {},
|
|
@@ -2769,7 +2770,7 @@ const zi = (e) => nn(e) && Object.hasOwn(e, "totalCount"), ji = (e) => nn(e) &&
|
|
|
2769
2770
|
} catch (p) {
|
|
2770
2771
|
if (p instanceof DOMException && p.name === "AbortError")
|
|
2771
2772
|
return [];
|
|
2772
|
-
throw
|
|
2773
|
+
throw wr(p) ? p : Nn(p) ? new rn(p, p.config?.url) : Yn(p) ? new on(p, n, t, p) : Un(p) ? new un(p, n, t, p) : Vn(p) ? new sn(p, p) : Nl(p) ? new Dr(p) : Nt.isAxiosError(p) ? (console.error("Axios error: " + S, p.cause), new Cr(p)) : (console.error("AnzuFatalError: ", p), new it(p));
|
|
2773
2774
|
} finally {
|
|
2774
2775
|
l = null;
|
|
2775
2776
|
}
|
|
@@ -3053,7 +3054,7 @@ const Bc = (e, n = {}, t, a = {}, o, r, l = {}) => new Promise((s, i) => {
|
|
|
3053
3054
|
async (H, ae) => {
|
|
3054
3055
|
if (H === ae || lt(H)) return;
|
|
3055
3056
|
const ue = H;
|
|
3056
|
-
if (A.value && (A.value = !1, await U()),
|
|
3057
|
+
if (A.value && (A.value = !1, await U()), gr(ue)) {
|
|
3057
3058
|
w(ue), T(ae) || (h.value++, await x("", h.value));
|
|
3058
3059
|
return;
|
|
3059
3060
|
}
|
|
@@ -3557,12 +3558,6 @@ const Lc = /* @__PURE__ */ Se({
|
|
|
3557
3558
|
}, 8, ["name"]));
|
|
3558
3559
|
}
|
|
3559
3560
|
});
|
|
3560
|
-
/**!
|
|
3561
|
-
* Sortable 1.15.6
|
|
3562
|
-
* @author RubaXa <trash@rubaxa.org>
|
|
3563
|
-
* @author owenm <owen23355@gmail.com>
|
|
3564
|
-
* @license MIT
|
|
3565
|
-
*/
|
|
3566
3561
|
function Za(e, n) {
|
|
3567
3562
|
var t = Object.keys(e);
|
|
3568
3563
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -5532,7 +5527,7 @@ const Ws = "a-sortable-", Ks = ["id"], Gs = { key: 1 }, Xs = { class: "a-sortabl
|
|
|
5532
5527
|
m,
|
|
5533
5528
|
async (V, ne) => {
|
|
5534
5529
|
if (V !== ne) {
|
|
5535
|
-
if (v.value && (v.value = !1, await J("mounted", V)), S.value.enabled && h.value && b.value(V),
|
|
5530
|
+
if (v.value && (v.value = !1, await J("mounted", V)), S.value.enabled && h.value && b.value(V), gr(V)) {
|
|
5536
5531
|
z(V);
|
|
5537
5532
|
return;
|
|
5538
5533
|
}
|
|
@@ -5648,7 +5643,7 @@ export {
|
|
|
5648
5643
|
Ju as X,
|
|
5649
5644
|
Qu as Y,
|
|
5650
5645
|
Xu as Z,
|
|
5651
|
-
|
|
5646
|
+
Pn as _,
|
|
5652
5647
|
Ln as a,
|
|
5653
5648
|
xl as a$,
|
|
5654
5649
|
ol as a0,
|
|
@@ -5686,7 +5681,7 @@ export {
|
|
|
5686
5681
|
ic as aW,
|
|
5687
5682
|
ji as aX,
|
|
5688
5683
|
zi as aY,
|
|
5689
|
-
|
|
5684
|
+
wr as aZ,
|
|
5690
5685
|
kl as a_,
|
|
5691
5686
|
Yn as aa,
|
|
5692
5687
|
on as ab,
|
|
@@ -5733,9 +5728,9 @@ export {
|
|
|
5733
5728
|
Al as bE,
|
|
5734
5729
|
dc as bF,
|
|
5735
5730
|
Ea as bG,
|
|
5736
|
-
|
|
5731
|
+
br as bH,
|
|
5737
5732
|
Gu as bI,
|
|
5738
|
-
|
|
5733
|
+
yr as bJ,
|
|
5739
5734
|
Zu as bK,
|
|
5740
5735
|
Fl as bL,
|
|
5741
5736
|
fc as bM,
|
|
@@ -5747,8 +5742,8 @@ export {
|
|
|
5747
5742
|
Dc as bS,
|
|
5748
5743
|
Et as bT,
|
|
5749
5744
|
Nl as bU,
|
|
5750
|
-
|
|
5751
|
-
|
|
5745
|
+
Dr as bV,
|
|
5746
|
+
Cr as bW,
|
|
5752
5747
|
Rc as bX,
|
|
5753
5748
|
as as bY,
|
|
5754
5749
|
qi as bZ,
|
|
@@ -5783,15 +5778,15 @@ export {
|
|
|
5783
5778
|
ts as c0,
|
|
5784
5779
|
ns as c1,
|
|
5785
5780
|
T as d,
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
|
|
5789
|
-
|
|
5781
|
+
Bt as e,
|
|
5782
|
+
Ae as f,
|
|
5783
|
+
W as g,
|
|
5784
|
+
Tt as h,
|
|
5790
5785
|
ye as i,
|
|
5791
|
-
|
|
5792
|
-
|
|
5793
|
-
|
|
5794
|
-
|
|
5786
|
+
ac as j,
|
|
5787
|
+
cl as k,
|
|
5788
|
+
Ta as l,
|
|
5789
|
+
Er as m,
|
|
5795
5790
|
ei as n,
|
|
5796
5791
|
_u as o,
|
|
5797
5792
|
oe as p,
|
|
@@ -5803,7 +5798,7 @@ export {
|
|
|
5803
5798
|
ku as v,
|
|
5804
5799
|
Mu as w,
|
|
5805
5800
|
xe as x,
|
|
5806
|
-
|
|
5801
|
+
gr as y,
|
|
5807
5802
|
$o as z
|
|
5808
5803
|
};
|
|
5809
|
-
//# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-
|
|
5804
|
+
//# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-Cay8wZIS.mjs.map
|