pangea-lib 2.12.43 → 2.12.44
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/main.cjs.js +30 -30
- package/dist/main.es.js +22 -18
- package/dist/types/helpers/utils.helpers.d.ts +3 -0
- package/package.json +1 -1
package/dist/main.es.js
CHANGED
|
@@ -4234,6 +4234,9 @@ function zF() {
|
|
|
4234
4234
|
behavior: "smooth"
|
|
4235
4235
|
});
|
|
4236
4236
|
}
|
|
4237
|
+
function AW1(e) {
|
|
4238
|
+
return typeof e != "string" ? !1 : /^[a-fA-F0-9]{24}$/.test(e);
|
|
4239
|
+
}
|
|
4237
4240
|
let o8 = {
|
|
4238
4241
|
layout: {
|
|
4239
4242
|
headerHeight: "4.8rem",
|
|
@@ -7421,7 +7424,7 @@ const S9 = /* @__PURE__ */ J1(HO, [["__scopeId", "data-v-15657ce7"]]), wO = { cl
|
|
|
7421
7424
|
]));
|
|
7422
7425
|
}
|
|
7423
7426
|
});
|
|
7424
|
-
const _O = /* @__PURE__ */ J1(VO, [["__scopeId", "data-v-d2fdecce"]]),
|
|
7427
|
+
const _O = /* @__PURE__ */ J1(VO, [["__scopeId", "data-v-d2fdecce"]]), SW1 = /* @__PURE__ */ F1({
|
|
7425
7428
|
__name: "App",
|
|
7426
7429
|
setup(e) {
|
|
7427
7430
|
return (a, t) => (D(), i1(Z1, null, [
|
|
@@ -21679,7 +21682,7 @@ var AQ = _6(/(^[0-9]*$)|(^-[0-9]+$)/), SQ = {
|
|
|
21679
21682
|
}
|
|
21680
21683
|
};
|
|
21681
21684
|
_6(/^[-]?\d*(\.\d+)?$/);
|
|
21682
|
-
const Fc = x3("validations"), yd = it.withMessage(() => Fc("requiredRuleError"), LQ), bd = (e) => Jx("minLength", e), Hd = (e) => Jx("maxLength", e),
|
|
21685
|
+
const Fc = x3("validations"), yd = it.withMessage(() => Fc("requiredRuleError"), LQ), bd = (e) => Jx("minLength", e), Hd = (e) => Jx("maxLength", e), TW1 = it.withMessage(() => Fc("integerRuleError"), SQ), NW1 = (e) => Dc("lessEqual", e), EW1 = (e) => Dc("greaterEqual", e), PW1 = (e) => Dc("lessThan", e), FW1 = (e) => Dc("greaterThan", e);
|
|
21683
21686
|
function Jx(e, a) {
|
|
21684
21687
|
const t = {
|
|
21685
21688
|
minLength: VQ,
|
|
@@ -66043,7 +66046,7 @@ function Ci(e, a) {
|
|
|
66043
66046
|
function I8(e, a) {
|
|
66044
66047
|
return e ? Array.isArray(a) ? a.map((t) => new e(t)) : new e(a) : a;
|
|
66045
66048
|
}
|
|
66046
|
-
function
|
|
66049
|
+
function DW1(e) {
|
|
66047
66050
|
return {
|
|
66048
66051
|
getOne(a, t, r, c) {
|
|
66049
66052
|
const n = e[a].getOne, i = Ci(a, t), s = I8(n.params, r);
|
|
@@ -66102,7 +66105,7 @@ class ac extends ff {
|
|
|
66102
66105
|
ac.CopyFields(this, t);
|
|
66103
66106
|
}
|
|
66104
66107
|
}
|
|
66105
|
-
class
|
|
66108
|
+
class OW1 {
|
|
66106
66109
|
constructor(a) {
|
|
66107
66110
|
u1(this, "accessToken", "");
|
|
66108
66111
|
u1(this, "user", new ac());
|
|
@@ -66118,7 +66121,7 @@ class tc {
|
|
|
66118
66121
|
pc(a, t, r);
|
|
66119
66122
|
}
|
|
66120
66123
|
}
|
|
66121
|
-
class
|
|
66124
|
+
class RW1 extends tc {
|
|
66122
66125
|
constructor(t) {
|
|
66123
66126
|
super(t);
|
|
66124
66127
|
u1(this, "page");
|
|
@@ -66165,7 +66168,7 @@ async function MW1() {
|
|
|
66165
66168
|
return;
|
|
66166
66169
|
}
|
|
66167
66170
|
}
|
|
66168
|
-
function
|
|
66171
|
+
function BW1(e) {
|
|
66169
66172
|
const a = RS({
|
|
66170
66173
|
history: BS(),
|
|
66171
66174
|
routes: e,
|
|
@@ -66173,7 +66176,7 @@ function RW1(e) {
|
|
|
66173
66176
|
});
|
|
66174
66177
|
return a.beforeEach(xW1), a;
|
|
66175
66178
|
}
|
|
66176
|
-
function
|
|
66179
|
+
function IW1(e, a, t) {
|
|
66177
66180
|
const r = IS();
|
|
66178
66181
|
r.use(NO({ storage: localStorage })), e.use(r), e.use(a.router), e.use(jv), e.use(PR, FR), L3.init(a), CF(t == null ? void 0 : t.appOptions), Je().init(t == null ? void 0 : t.appOptionsStore);
|
|
66179
66182
|
const c = { ...Zr1, ...t == null ? void 0 : t.components };
|
|
@@ -66182,21 +66185,21 @@ function BW1(e, a, t) {
|
|
|
66182
66185
|
});
|
|
66183
66186
|
}
|
|
66184
66187
|
export {
|
|
66185
|
-
|
|
66186
|
-
|
|
66188
|
+
SW1 as App,
|
|
66189
|
+
OW1 as AuthUser,
|
|
66187
66190
|
tc as BaseParams,
|
|
66188
66191
|
bS as BaseResponse,
|
|
66189
66192
|
ff as DatabaseDefault,
|
|
66190
|
-
|
|
66193
|
+
RW1 as GetManyBaseParams,
|
|
66191
66194
|
ac as User,
|
|
66192
66195
|
J6 as addNotification,
|
|
66193
66196
|
_W1 as animation,
|
|
66194
66197
|
yF as clearNotifications,
|
|
66195
66198
|
pc as copyModelFields,
|
|
66196
|
-
|
|
66199
|
+
DW1 as createApiConnections,
|
|
66197
66200
|
sT as createI18n,
|
|
66198
|
-
|
|
66199
|
-
|
|
66201
|
+
BW1 as createRouter,
|
|
66202
|
+
IW1 as default,
|
|
66200
66203
|
VB as displayAlert,
|
|
66201
66204
|
gT as environments,
|
|
66202
66205
|
fT as getAccessToken,
|
|
@@ -66214,14 +66217,15 @@ export {
|
|
|
66214
66217
|
xF as getRouteType,
|
|
66215
66218
|
p9 as getRoutesByNavigationSection,
|
|
66216
66219
|
lv as getRoutesVisible,
|
|
66217
|
-
|
|
66218
|
-
|
|
66220
|
+
EW1 as greaterEqualRule,
|
|
66221
|
+
FW1 as greaterThanRule,
|
|
66219
66222
|
CF as initAppOptions,
|
|
66220
|
-
|
|
66223
|
+
TW1 as integerRule,
|
|
66224
|
+
AW1 as isAValidId,
|
|
66221
66225
|
mT as isColorTemplateVariable,
|
|
66222
66226
|
vT as isCurrentUrl,
|
|
66223
|
-
|
|
66224
|
-
|
|
66227
|
+
NW1 as lessEqualRule,
|
|
66228
|
+
PW1 as lessThanRule,
|
|
66225
66229
|
uT as login,
|
|
66226
66230
|
dT as logout,
|
|
66227
66231
|
Hd as maxLengthRule,
|