pangea-lib 4.0.111 → 4.0.112
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.es.js
CHANGED
|
@@ -1494,29 +1494,6 @@ function fu(e) {
|
|
|
1494
1494
|
function VE(e) {
|
|
1495
1495
|
return vt(e, { justTime: !0 });
|
|
1496
1496
|
}
|
|
1497
|
-
class WG1 {
|
|
1498
|
-
static __GetEnv(t) {
|
|
1499
|
-
return { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 }[t];
|
|
1500
|
-
}
|
|
1501
|
-
static GetStr(t) {
|
|
1502
|
-
return this.__GetEnv(t);
|
|
1503
|
-
}
|
|
1504
|
-
static GetInt(t) {
|
|
1505
|
-
const a = this.__GetEnv(t);
|
|
1506
|
-
if (a)
|
|
1507
|
-
return parseInt(a);
|
|
1508
|
-
}
|
|
1509
|
-
static GetFloat(t) {
|
|
1510
|
-
const a = this.__GetEnv(t);
|
|
1511
|
-
if (a)
|
|
1512
|
-
return parseFloat(a);
|
|
1513
|
-
}
|
|
1514
|
-
static GetBool(t) {
|
|
1515
|
-
const a = this.__GetEnv(t);
|
|
1516
|
-
if (a)
|
|
1517
|
-
return a.toLowerCase() === "true";
|
|
1518
|
-
}
|
|
1519
|
-
}
|
|
1520
1497
|
function Lv(e, t) {
|
|
1521
1498
|
return function() {
|
|
1522
1499
|
return e.apply(t, arguments);
|
|
@@ -3214,7 +3191,7 @@ Ze.getAdapter = Gv.getAdapter;
|
|
|
3214
3191
|
Ze.HttpStatusCode = sD;
|
|
3215
3192
|
Ze.default = Ze;
|
|
3216
3193
|
const ha = Ze;
|
|
3217
|
-
class
|
|
3194
|
+
class WG1 {
|
|
3218
3195
|
static UploadFile(t, a) {
|
|
3219
3196
|
return ha.put(t, a, { headers: { "Content-Type": a.type, "x-amz-acl": "public-read" } });
|
|
3220
3197
|
}
|
|
@@ -3741,7 +3718,7 @@ function tg() {
|
|
|
3741
3718
|
}, t;
|
|
3742
3719
|
}
|
|
3743
3720
|
var ag = tg();
|
|
3744
|
-
function
|
|
3721
|
+
function qG1(e) {
|
|
3745
3722
|
return ag.sanitize(e);
|
|
3746
3723
|
}
|
|
3747
3724
|
function LD(e) {
|
|
@@ -6388,13 +6365,13 @@ function a3(e) {
|
|
|
6388
6365
|
function kR() {
|
|
6389
6366
|
window.scrollTo({ top: 0, behavior: "smooth" });
|
|
6390
6367
|
}
|
|
6391
|
-
function
|
|
6368
|
+
function jG1(e) {
|
|
6392
6369
|
return typeof e != "string" ? !1 : /^[a-fA-F0-9]{24}$/.test(e);
|
|
6393
6370
|
}
|
|
6394
6371
|
function ti() {
|
|
6395
6372
|
return window.innerWidth <= 768;
|
|
6396
6373
|
}
|
|
6397
|
-
function
|
|
6374
|
+
function YG1() {
|
|
6398
6375
|
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
6399
6376
|
}
|
|
6400
6377
|
let E6 = {
|
|
@@ -9740,7 +9717,7 @@ const El = /* @__PURE__ */ Z1(II, [["__scopeId", "data-v-b25b0aa2"]]), $I = { cl
|
|
|
9740
9717
|
]));
|
|
9741
9718
|
}
|
|
9742
9719
|
});
|
|
9743
|
-
const WI = /* @__PURE__ */ Z1(UI, [["__scopeId", "data-v-2976a89b"]]),
|
|
9720
|
+
const WI = /* @__PURE__ */ Z1(UI, [["__scopeId", "data-v-2976a89b"]]), GG1 = /* @__PURE__ */ D1({
|
|
9744
9721
|
__name: "App",
|
|
9745
9722
|
setup(e) {
|
|
9746
9723
|
return (t, a) => (q(), J(j1, null, [
|
|
@@ -34887,10 +34864,10 @@ var Ye1 = Z0(/(^[0-9]*$)|(^-[0-9]+$)/), Ge1 = {
|
|
|
34887
34864
|
}
|
|
34888
34865
|
};
|
|
34889
34866
|
Z0(/^[-]?\d*(\.\d+)?$/);
|
|
34890
|
-
const p8 = I2("validations"), qm = I6.withMessage(() => p8("requiredRuleError"), qe1),
|
|
34867
|
+
const p8 = I2("validations"), qm = I6.withMessage(() => p8("requiredRuleError"), qe1), XG1 = I6.withMessage(
|
|
34891
34868
|
() => p8("requiredRuleError"),
|
|
34892
34869
|
I6.withParams({}, (e) => typeof e != "number" ? !1 : e > 0)
|
|
34893
|
-
), jm = (e) => Ib("minLength", e), Ym = (e) => Ib("maxLength", e),
|
|
34870
|
+
), jm = (e) => Ib("minLength", e), Ym = (e) => Ib("maxLength", e), KG1 = I6.withMessage(() => p8("integerRuleError"), Ge1), ZG1 = (e) => Ac("greaterEqual", e), QG1 = (e) => Ac("greaterThan", e), JG1 = (e) => Ac("lessEqual", e), eX1 = (e) => Ac("lessThan", e);
|
|
34894
34871
|
function Ib(e, t) {
|
|
34895
34872
|
const a = {
|
|
34896
34873
|
minLength: Ue1,
|
|
@@ -78034,7 +78011,7 @@ function d7(e, t) {
|
|
|
78034
78011
|
function ua(e, t) {
|
|
78035
78012
|
return e ? Array.isArray(t) ? t.map((a) => new e(a)) : new e(t) : t;
|
|
78036
78013
|
}
|
|
78037
|
-
function
|
|
78014
|
+
function tX1(e, t, a) {
|
|
78038
78015
|
return {
|
|
78039
78016
|
getOne(r, n, i, c) {
|
|
78040
78017
|
const s = d7(r, n), o = e[r].getOne, l = ua(o.params, i);
|
|
@@ -78111,7 +78088,7 @@ class Ya {
|
|
|
78111
78088
|
pl(t, a, r);
|
|
78112
78089
|
}
|
|
78113
78090
|
}
|
|
78114
|
-
class
|
|
78091
|
+
class aX1 extends Ya {
|
|
78115
78092
|
constructor(a) {
|
|
78116
78093
|
super(a);
|
|
78117
78094
|
b1(this, "urls", []);
|
|
@@ -78141,7 +78118,7 @@ class Ii extends nu {
|
|
|
78141
78118
|
Ii.CopyFields(this, a);
|
|
78142
78119
|
}
|
|
78143
78120
|
}
|
|
78144
|
-
class
|
|
78121
|
+
class rX1 extends Ya {
|
|
78145
78122
|
constructor(a) {
|
|
78146
78123
|
super(a);
|
|
78147
78124
|
b1(this, "user", new Ii());
|
|
@@ -78158,7 +78135,7 @@ class u3 {
|
|
|
78158
78135
|
pl(t, a, r);
|
|
78159
78136
|
}
|
|
78160
78137
|
}
|
|
78161
|
-
class
|
|
78138
|
+
class nX1 extends u3 {
|
|
78162
78139
|
constructor(a) {
|
|
78163
78140
|
super(a);
|
|
78164
78141
|
b1(this, "page");
|
|
@@ -78167,54 +78144,54 @@ class iX1 extends u3 {
|
|
|
78167
78144
|
u3.CopyFields(this, a);
|
|
78168
78145
|
}
|
|
78169
78146
|
}
|
|
78170
|
-
class
|
|
78147
|
+
class iX1 extends u3 {
|
|
78171
78148
|
constructor(a) {
|
|
78172
78149
|
super(a);
|
|
78173
78150
|
b1(this, "fileTypes");
|
|
78174
78151
|
u3.CopyFields(this, a);
|
|
78175
78152
|
}
|
|
78176
78153
|
}
|
|
78177
|
-
class
|
|
78154
|
+
class cX1 extends u3 {
|
|
78178
78155
|
constructor(a) {
|
|
78179
78156
|
super(a);
|
|
78180
78157
|
b1(this, "fileName");
|
|
78181
78158
|
u3.CopyFields(this, a);
|
|
78182
78159
|
}
|
|
78183
78160
|
}
|
|
78184
|
-
class
|
|
78161
|
+
class sX1 extends u3 {
|
|
78185
78162
|
constructor(a) {
|
|
78186
78163
|
super(a);
|
|
78187
78164
|
b1(this, "fileNames");
|
|
78188
78165
|
u3.CopyFields(this, a);
|
|
78189
78166
|
}
|
|
78190
78167
|
}
|
|
78191
|
-
class
|
|
78168
|
+
class oX1 extends u3 {
|
|
78192
78169
|
constructor(a) {
|
|
78193
78170
|
super(a);
|
|
78194
78171
|
b1(this, "file");
|
|
78195
78172
|
u3.CopyFields(this, a);
|
|
78196
78173
|
}
|
|
78197
78174
|
}
|
|
78198
|
-
class
|
|
78175
|
+
class lX1 extends u3 {
|
|
78199
78176
|
constructor(a) {
|
|
78200
78177
|
super(a);
|
|
78201
78178
|
b1(this, "file");
|
|
78202
78179
|
u3.CopyFields(this, a);
|
|
78203
78180
|
}
|
|
78204
78181
|
}
|
|
78205
|
-
class
|
|
78182
|
+
class fX1 extends u3 {
|
|
78206
78183
|
constructor(t) {
|
|
78207
78184
|
super(t), u3.CopyFields(this, t);
|
|
78208
78185
|
}
|
|
78209
78186
|
}
|
|
78210
|
-
class
|
|
78187
|
+
class uX1 extends u3 {
|
|
78211
78188
|
constructor(a) {
|
|
78212
78189
|
super(a);
|
|
78213
78190
|
b1(this, "index", 0);
|
|
78214
78191
|
u3.CopyFields(this, a);
|
|
78215
78192
|
}
|
|
78216
78193
|
}
|
|
78217
|
-
const un = window.location.host, vv = un.includes("localhost") ? un.split(".").slice(-1)[0] : un.split(".").slice(-2).join("."),
|
|
78194
|
+
const hX1 = window.location.origin, dX1 = window.location.protocol, un = window.location.host, vv = un.includes("localhost") ? un.split(".").slice(-1)[0] : un.split(".").slice(-2).join("."), mX1 = un === vv ? void 0 : un.replace(`.${vv}`, "");
|
|
78218
78195
|
function SG1(e, t, a) {
|
|
78219
78196
|
return a || { top: 0 };
|
|
78220
78197
|
}
|
|
@@ -78244,11 +78221,11 @@ async function DG1() {
|
|
|
78244
78221
|
return;
|
|
78245
78222
|
}
|
|
78246
78223
|
}
|
|
78247
|
-
function
|
|
78224
|
+
function pX1(e) {
|
|
78248
78225
|
const t = aE({ history: rE(), routes: e, scrollBehavior: SG1 });
|
|
78249
78226
|
return t.beforeEach(TG1), t.afterEach(EG1), t;
|
|
78250
78227
|
}
|
|
78251
|
-
function
|
|
78228
|
+
function vX1(e, t, a) {
|
|
78252
78229
|
const r = nE();
|
|
78253
78230
|
r.use(KI({ storage: localStorage })), e.use(r), e.use(t.router), e.use(Sy), e.use(Q$, {
|
|
78254
78231
|
themes: { tooltip: { triggers: ["hover", "focus", "touch"], hideTriggers: (i) => [...i] } }
|
|
@@ -78257,32 +78234,31 @@ function pX1(e, t, a) {
|
|
|
78257
78234
|
Object.entries(n).forEach(([i, c]) => e.component(i, c));
|
|
78258
78235
|
}
|
|
78259
78236
|
export {
|
|
78260
|
-
|
|
78261
|
-
|
|
78237
|
+
GG1 as App,
|
|
78238
|
+
rX1 as AuthUser,
|
|
78262
78239
|
nu as BaseModel,
|
|
78263
78240
|
u3 as BaseParams,
|
|
78264
78241
|
Ya as BaseResponse,
|
|
78265
|
-
|
|
78266
|
-
|
|
78267
|
-
WG1 as
|
|
78268
|
-
|
|
78269
|
-
|
|
78270
|
-
|
|
78271
|
-
|
|
78272
|
-
uX1 as
|
|
78273
|
-
|
|
78274
|
-
lX1 as
|
|
78275
|
-
fX1 as UploadFilesParams,
|
|
78242
|
+
cX1 as ConfirmUploadedFileParams,
|
|
78243
|
+
sX1 as ConfirmUploadedFilesParams,
|
|
78244
|
+
WG1 as FileStorage,
|
|
78245
|
+
iX1 as GenerateUploadUrlsParams,
|
|
78246
|
+
aX1 as GenerateUploadUrlsResponse,
|
|
78247
|
+
nX1 as GetManyBaseParams,
|
|
78248
|
+
fX1 as RemoveFileParams,
|
|
78249
|
+
uX1 as RemoveFilesParams,
|
|
78250
|
+
oX1 as UploadFileParams,
|
|
78251
|
+
lX1 as UploadFilesParams,
|
|
78276
78252
|
Ii as User,
|
|
78277
78253
|
ct as addNotification,
|
|
78278
78254
|
IG1 as animateElement,
|
|
78279
78255
|
TR as clearNotifications,
|
|
78280
78256
|
wv as colorSelectorColors,
|
|
78281
78257
|
pl as copyModelFields,
|
|
78282
|
-
|
|
78258
|
+
tX1 as createApiConnections,
|
|
78283
78259
|
LE as createI18n,
|
|
78284
|
-
|
|
78285
|
-
|
|
78260
|
+
pX1 as createRouter,
|
|
78261
|
+
vX1 as default,
|
|
78286
78262
|
Nq as displayAlert,
|
|
78287
78263
|
vv as domain,
|
|
78288
78264
|
sE as getAccessToken,
|
|
@@ -78301,33 +78277,36 @@ export {
|
|
|
78301
78277
|
vl as getRoutesByNavigationSection,
|
|
78302
78278
|
Gg as getRoutesToDisplay,
|
|
78303
78279
|
VE as getTimeStr,
|
|
78304
|
-
|
|
78305
|
-
|
|
78306
|
-
|
|
78280
|
+
ZG1 as greaterEqualRule,
|
|
78281
|
+
QG1 as greaterThanRule,
|
|
78282
|
+
un as host,
|
|
78283
|
+
XG1 as idRequiredRule,
|
|
78307
78284
|
AR as initAppOptions,
|
|
78308
|
-
|
|
78309
|
-
|
|
78285
|
+
KG1 as integerRule,
|
|
78286
|
+
jG1 as isAValidId,
|
|
78310
78287
|
$i as isColorTemplateVariable,
|
|
78311
|
-
|
|
78312
|
-
|
|
78313
|
-
|
|
78288
|
+
YG1 as isMobileDevice,
|
|
78289
|
+
JG1 as lessEqualRule,
|
|
78290
|
+
eX1 as lessThanRule,
|
|
78314
78291
|
oE as login,
|
|
78315
78292
|
BG1 as logout,
|
|
78316
78293
|
Ym as maxLengthRule,
|
|
78317
78294
|
jm as minLengthRule,
|
|
78295
|
+
hX1 as origin,
|
|
78318
78296
|
_v as pangeaOptionsColors,
|
|
78297
|
+
dX1 as protocol,
|
|
78319
78298
|
LD as removeHtmlTags,
|
|
78320
78299
|
Zg as removeNotification,
|
|
78321
78300
|
qm as requiredRule,
|
|
78322
78301
|
fE as rgba,
|
|
78323
|
-
|
|
78302
|
+
qG1 as sanitizeHtml,
|
|
78324
78303
|
kR as scrollToTop,
|
|
78325
78304
|
j5 as setBodyOverflow,
|
|
78326
78305
|
Kg as setColorProperties,
|
|
78327
78306
|
lu as setColorRootProperties,
|
|
78328
78307
|
SR as setLayoutProperties,
|
|
78329
78308
|
m7 as setRootProperty,
|
|
78330
|
-
|
|
78309
|
+
mX1 as subdomain,
|
|
78331
78310
|
pt as useAppOptionsStore,
|
|
78332
78311
|
_71 as useElementPosition,
|
|
78333
78312
|
Ct as useRouteStore,
|
|
@@ -2,7 +2,6 @@ export * from './auth.helpers';
|
|
|
2
2
|
export * from './color.helpers';
|
|
3
3
|
export * from './css.helpers';
|
|
4
4
|
export * from './datetime.helpers';
|
|
5
|
-
export * from './env.helpers';
|
|
6
5
|
export * from './file-storage.helpers';
|
|
7
6
|
export * from './html-sanitize.helpers';
|
|
8
7
|
export * from './number.helpers';
|
package/package.json
CHANGED