pangea-lib 4.0.567 → 4.0.568
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 +1770 -1770
- package/dist/main.es.js +59 -52
- package/dist/types/helpers/download.helpers.d.ts +3 -0
- package/dist/types/helpers/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/main.es.js
CHANGED
|
@@ -1587,6 +1587,12 @@ function _41(e, { format: t } = { format: "long" }) {
|
|
|
1587
1587
|
function ZT1(e) {
|
|
1588
1588
|
return J6(e, { justTime: !0 });
|
|
1589
1589
|
}
|
|
1590
|
+
class zy4 {
|
|
1591
|
+
static DownloadPdf(t, a) {
|
|
1592
|
+
const c = Uint8Array.from(atob(a), (o) => o.charCodeAt(0)), n = new Blob([c], { type: "application/pdf" }), r = URL.createObjectURL(n), i = document.createElement("a");
|
|
1593
|
+
i.href = r, i.download = t, i.click(), URL.revokeObjectURL(r);
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1590
1596
|
function Pn1(e, t) {
|
|
1591
1597
|
return function() {
|
|
1592
1598
|
return e.apply(t, arguments);
|
|
@@ -3284,7 +3290,7 @@ le.getAdapter = n71.getAdapter;
|
|
|
3284
3290
|
le.HttpStatusCode = LD1;
|
|
3285
3291
|
le.default = le;
|
|
3286
3292
|
const vs = le;
|
|
3287
|
-
class
|
|
3293
|
+
class Cy4 {
|
|
3288
3294
|
static UploadFile(t, a) {
|
|
3289
3295
|
return vs.put(t, a, { headers: { "Content-Type": a.type, "x-amz-acl": "private" } });
|
|
3290
3296
|
}
|
|
@@ -6463,13 +6469,13 @@ function ae1(e) {
|
|
|
6463
6469
|
const t = document.querySelector(".pga-header"), a = t ? t.getBoundingClientRect().bottom : 0, c = e.getBoundingClientRect().top + window.scrollY - a;
|
|
6464
6470
|
window.scrollTo({ top: c, behavior: "smooth" });
|
|
6465
6471
|
}
|
|
6466
|
-
function
|
|
6472
|
+
function _y4(e) {
|
|
6467
6473
|
return typeof e != "string" ? !1 : /^[a-fA-F0-9]{24}$/.test(e);
|
|
6468
6474
|
}
|
|
6469
6475
|
function Es() {
|
|
6470
6476
|
return window.innerWidth <= 768;
|
|
6471
6477
|
}
|
|
6472
|
-
function
|
|
6478
|
+
function wy4() {
|
|
6473
6479
|
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
6474
6480
|
}
|
|
6475
6481
|
let ho = {
|
|
@@ -6519,7 +6525,7 @@ function ir1() {
|
|
|
6519
6525
|
function v0() {
|
|
6520
6526
|
return ho;
|
|
6521
6527
|
}
|
|
6522
|
-
const
|
|
6528
|
+
const Hy4 = window.location.origin, Ly4 = window.location.protocol, Ds = window.location.host, ce1 = Ds.includes("localhost") ? Ds.split(".").slice(-1)[0] : Ds.split(".").slice(-2).join("."), Vy4 = Ds === ce1 ? void 0 : Ds.replace(`.${ce1}`, ""), JR1 = {
|
|
6523
6529
|
key: 0,
|
|
6524
6530
|
class: "pga-development-banner"
|
|
6525
6531
|
}, eF1 = /* @__PURE__ */ j1({
|
|
@@ -40191,7 +40197,7 @@ function g92(e, t) {
|
|
|
40191
40197
|
};
|
|
40192
40198
|
Q2(() => a("addEventListener")), st(() => a("removeEventListener"));
|
|
40193
40199
|
}
|
|
40194
|
-
function
|
|
40200
|
+
function Ay4(e, t) {
|
|
40195
40201
|
const a = x1({ top: 0, bottom: 0, left: 0, right: 0 });
|
|
40196
40202
|
g92(e, c);
|
|
40197
40203
|
function c() {
|
|
@@ -41534,7 +41540,7 @@ const vl2 = /* @__PURE__ */ d2(ml2, [["__scopeId", "data-v-00ec2e43"]]), Ci = x1
|
|
|
41534
41540
|
])) : h1("", !0);
|
|
41535
41541
|
}
|
|
41536
41542
|
});
|
|
41537
|
-
const bl2 = /* @__PURE__ */ d2(kl2, [["__scopeId", "data-v-f5332c1c"]]),
|
|
41543
|
+
const bl2 = /* @__PURE__ */ d2(kl2, [["__scopeId", "data-v-f5332c1c"]]), Ny4 = /* @__PURE__ */ j1({
|
|
41538
41544
|
__name: "App",
|
|
41539
41545
|
setup(e) {
|
|
41540
41546
|
return (t, a) => (X(), n1(G1, null, [
|
|
@@ -113854,10 +113860,10 @@ var kz3 = Xa(/(^[0-9]*$)|(^-[0-9]+$)/), bz3 = {
|
|
|
113854
113860
|
}
|
|
113855
113861
|
};
|
|
113856
113862
|
Xa(/^[-]?\d*(\.\d+)?$/);
|
|
113857
|
-
const Wo = $2("validations"), Ha1 = f8.withMessage(() => Wo("requiredRuleError"), gz3),
|
|
113863
|
+
const Wo = $2("validations"), Ha1 = f8.withMessage(() => Wo("requiredRuleError"), gz3), Fy4 = f8.withMessage(
|
|
113858
113864
|
() => Wo("requiredRuleError"),
|
|
113859
113865
|
f8.withParams({}, (e) => typeof e != "number" ? !1 : e > 0)
|
|
113860
|
-
), La1 = (e) => Nk1("minLength", e), Va1 = (e) => Nk1("maxLength", e),
|
|
113866
|
+
), La1 = (e) => Nk1("minLength", e), Va1 = (e) => Nk1("maxLength", e), $y4 = f8.withMessage(() => Wo("emailRuleError"), dz3), By4 = f8.withMessage(() => Wo("integerRuleError"), bz3), qy4 = (e) => YU("greaterEqual", e), jy4 = (e) => YU("greaterThan", e), Uy4 = (e) => YU("lessEqual", e), Wy4 = (e) => YU("lessThan", e), Yy4 = f8.withMessage(
|
|
113861
113867
|
() => Wo("notFutureDateRuleError"),
|
|
113862
113868
|
f8.withParams({}, (e) => typeof e != "string" || !e ? !0 : e <= GT1())
|
|
113863
113869
|
);
|
|
@@ -159959,7 +159965,7 @@ function BG(e, t) {
|
|
|
159959
159965
|
function ms(e, t) {
|
|
159960
159966
|
return e ? Array.isArray(t) ? t.map((a) => new e(a)) : new e(t) : t;
|
|
159961
159967
|
}
|
|
159962
|
-
function
|
|
159968
|
+
function Gy4(e, t, a) {
|
|
159963
159969
|
return {
|
|
159964
159970
|
getOne(c, n, r, i) {
|
|
159965
159971
|
const o = BG(c, n), s = e[c].getOne, l = ms(s.params, r);
|
|
@@ -159995,7 +160001,7 @@ function Yy4(e, t, a) {
|
|
|
159995
160001
|
}
|
|
159996
160002
|
};
|
|
159997
160003
|
}
|
|
159998
|
-
class
|
|
160004
|
+
class Zy4 {
|
|
159999
160005
|
static Show(t, a, c = {}) {
|
|
160000
160006
|
_r1.value = t, uZ.value = a, c.onClose && (DB.onClose = c.onClose), c.onAccept && (DB.onAccept = c.onAccept), Ci.value = !0;
|
|
160001
160007
|
}
|
|
@@ -160009,7 +160015,7 @@ class H9 {
|
|
|
160009
160015
|
YK(t, a, c);
|
|
160010
160016
|
}
|
|
160011
160017
|
}
|
|
160012
|
-
class
|
|
160018
|
+
class Xy4 extends H9 {
|
|
160013
160019
|
constructor(a) {
|
|
160014
160020
|
super(a);
|
|
160015
160021
|
R1(this, "urls", []);
|
|
@@ -160039,7 +160045,7 @@ class tj extends z41 {
|
|
|
160039
160045
|
tj.CopyFields(this, a);
|
|
160040
160046
|
}
|
|
160041
160047
|
}
|
|
160042
|
-
class
|
|
160048
|
+
class Ky4 extends H9 {
|
|
160043
160049
|
constructor(a) {
|
|
160044
160050
|
super(a);
|
|
160045
160051
|
R1(this, "user", new tj());
|
|
@@ -160056,7 +160062,7 @@ class Ve {
|
|
|
160056
160062
|
YK(t, a, c);
|
|
160057
160063
|
}
|
|
160058
160064
|
}
|
|
160059
|
-
class
|
|
160065
|
+
class Qy4 extends Ve {
|
|
160060
160066
|
constructor(a) {
|
|
160061
160067
|
super(a);
|
|
160062
160068
|
R1(this, "page");
|
|
@@ -160065,47 +160071,47 @@ class Ky4 extends Ve {
|
|
|
160065
160071
|
Ve.CopyFields(this, a);
|
|
160066
160072
|
}
|
|
160067
160073
|
}
|
|
160068
|
-
class
|
|
160074
|
+
class Jy4 extends Ve {
|
|
160069
160075
|
constructor(a) {
|
|
160070
160076
|
super(a);
|
|
160071
160077
|
R1(this, "fileTypes");
|
|
160072
160078
|
Ve.CopyFields(this, a);
|
|
160073
160079
|
}
|
|
160074
160080
|
}
|
|
160075
|
-
class
|
|
160081
|
+
class eg4 extends Ve {
|
|
160076
160082
|
constructor(a) {
|
|
160077
160083
|
super(a);
|
|
160078
160084
|
R1(this, "fileName");
|
|
160079
160085
|
Ve.CopyFields(this, a);
|
|
160080
160086
|
}
|
|
160081
160087
|
}
|
|
160082
|
-
class
|
|
160088
|
+
class tg4 extends Ve {
|
|
160083
160089
|
constructor(a) {
|
|
160084
160090
|
super(a);
|
|
160085
160091
|
R1(this, "fileNames");
|
|
160086
160092
|
Ve.CopyFields(this, a);
|
|
160087
160093
|
}
|
|
160088
160094
|
}
|
|
160089
|
-
class
|
|
160095
|
+
class ag4 extends Ve {
|
|
160090
160096
|
constructor(a) {
|
|
160091
160097
|
super(a);
|
|
160092
160098
|
R1(this, "file");
|
|
160093
160099
|
Ve.CopyFields(this, a);
|
|
160094
160100
|
}
|
|
160095
160101
|
}
|
|
160096
|
-
class
|
|
160102
|
+
class cg4 extends Ve {
|
|
160097
160103
|
constructor(a) {
|
|
160098
160104
|
super(a);
|
|
160099
160105
|
R1(this, "file");
|
|
160100
160106
|
Ve.CopyFields(this, a);
|
|
160101
160107
|
}
|
|
160102
160108
|
}
|
|
160103
|
-
class
|
|
160109
|
+
class ng4 extends Ve {
|
|
160104
160110
|
constructor(t) {
|
|
160105
160111
|
super(t), Ve.CopyFields(this, t);
|
|
160106
160112
|
}
|
|
160107
160113
|
}
|
|
160108
|
-
class
|
|
160114
|
+
class rg4 extends Ve {
|
|
160109
160115
|
constructor(a) {
|
|
160110
160116
|
super(a);
|
|
160111
160117
|
R1(this, "index", 0);
|
|
@@ -160141,11 +160147,11 @@ async function hy4() {
|
|
|
160141
160147
|
return;
|
|
160142
160148
|
}
|
|
160143
160149
|
}
|
|
160144
|
-
function
|
|
160150
|
+
function ig4(e) {
|
|
160145
160151
|
const t = gT1({ history: MT1(), routes: e, scrollBehavior: ly4 });
|
|
160146
160152
|
return t.beforeEach(fy4), t.afterEach(uy4), t;
|
|
160147
160153
|
}
|
|
160148
|
-
function
|
|
160154
|
+
function og4(e, t, a) {
|
|
160149
160155
|
const c = kT1();
|
|
160150
160156
|
c.use(Hl2({ storage: localStorage })), e.use(c), e.use(t.router), e.use(KK), e.use(Ll2), e.use(Vf2, {
|
|
160151
160157
|
themes: { tooltip: { triggers: ["hover", "focus", "touch"], hideTriggers: (r) => [...r] } }
|
|
@@ -160155,33 +160161,34 @@ function ig4(e, t, a) {
|
|
|
160155
160161
|
}
|
|
160156
160162
|
export {
|
|
160157
160163
|
Yu2 as AlertDanger,
|
|
160158
|
-
|
|
160159
|
-
|
|
160160
|
-
|
|
160164
|
+
Zy4 as AlertInfo,
|
|
160165
|
+
Ny4 as App,
|
|
160166
|
+
Ky4 as AuthUser,
|
|
160161
160167
|
z41 as BaseModel,
|
|
160162
160168
|
Ve as BaseParams,
|
|
160163
160169
|
H9 as BaseResponse,
|
|
160164
|
-
|
|
160165
|
-
|
|
160166
|
-
zy4 as
|
|
160167
|
-
|
|
160168
|
-
|
|
160169
|
-
|
|
160170
|
+
eg4 as ConfirmUploadedFileParams,
|
|
160171
|
+
tg4 as ConfirmUploadedFilesParams,
|
|
160172
|
+
zy4 as Downloader,
|
|
160173
|
+
Cy4 as FileStorage,
|
|
160174
|
+
Jy4 as GenerateUploadUrlsParams,
|
|
160175
|
+
Xy4 as GenerateUploadUrlsResponse,
|
|
160176
|
+
Qy4 as GetManyBaseParams,
|
|
160170
160177
|
O0 as Notifications,
|
|
160171
|
-
|
|
160172
|
-
|
|
160173
|
-
|
|
160174
|
-
|
|
160178
|
+
ng4 as RemoveFileParams,
|
|
160179
|
+
rg4 as RemoveFilesParams,
|
|
160180
|
+
ag4 as UploadFileParams,
|
|
160181
|
+
cg4 as UploadFilesParams,
|
|
160175
160182
|
tj as User,
|
|
160176
160183
|
My4 as animateElement,
|
|
160177
160184
|
Dn1 as colorSelectorColors,
|
|
160178
160185
|
YK as copyModelFields,
|
|
160179
|
-
|
|
160186
|
+
Gy4 as createApi,
|
|
160180
160187
|
YT1 as createI18n,
|
|
160181
|
-
|
|
160182
|
-
|
|
160188
|
+
ig4 as createRouter,
|
|
160189
|
+
og4 as default,
|
|
160183
160190
|
ce1 as domain,
|
|
160184
|
-
|
|
160191
|
+
$y4 as emailRule,
|
|
160185
160192
|
xy4 as formatDateStr,
|
|
160186
160193
|
zT1 as getAccessToken,
|
|
160187
160194
|
v0 as getAppOptions,
|
|
@@ -160200,25 +160207,25 @@ export {
|
|
|
160200
160207
|
nr1 as getRoutesToDisplay,
|
|
160201
160208
|
ZT1 as getTimeStr,
|
|
160202
160209
|
GT1 as getTodayDateStr,
|
|
160203
|
-
|
|
160204
|
-
|
|
160210
|
+
qy4 as greaterEqualRule,
|
|
160211
|
+
jy4 as greaterThanRule,
|
|
160205
160212
|
Ds as host,
|
|
160206
|
-
|
|
160213
|
+
Fy4 as idRequiredRule,
|
|
160207
160214
|
KR1 as initAppOptions,
|
|
160208
|
-
|
|
160209
|
-
|
|
160215
|
+
By4 as integerRule,
|
|
160216
|
+
_y4 as isAValidId,
|
|
160210
160217
|
aj as isColorTemplateVariable,
|
|
160211
|
-
|
|
160212
|
-
|
|
160213
|
-
|
|
160218
|
+
wy4 as isMobileDevice,
|
|
160219
|
+
Uy4 as lessEqualRule,
|
|
160220
|
+
Wy4 as lessThanRule,
|
|
160214
160221
|
CT1 as login,
|
|
160215
160222
|
gy4 as logout,
|
|
160216
160223
|
Va1 as maxLengthRule,
|
|
160217
160224
|
La1 as minLengthRule,
|
|
160218
|
-
|
|
160219
|
-
|
|
160225
|
+
Yy4 as notFutureDateRule,
|
|
160226
|
+
Hy4 as origin,
|
|
160220
160227
|
En1 as pangeaOptionsColors,
|
|
160221
|
-
|
|
160228
|
+
Ly4 as protocol,
|
|
160222
160229
|
ZD1 as removeHtmlTags,
|
|
160223
160230
|
Ha1 as requiredRule,
|
|
160224
160231
|
wT1 as rgba,
|
|
@@ -160229,10 +160236,10 @@ export {
|
|
|
160229
160236
|
C41 as setColorRootProperties,
|
|
160230
160237
|
QR1 as setLayoutProperties,
|
|
160231
160238
|
UG as setRootProperty,
|
|
160232
|
-
|
|
160239
|
+
Vy4 as subdomain,
|
|
160233
160240
|
r8 as useAppOptionsStore,
|
|
160234
160241
|
QK as useBackdropClose,
|
|
160235
|
-
|
|
160242
|
+
Ay4 as useElementPosition,
|
|
160236
160243
|
wj as useFloatingDropdown,
|
|
160237
160244
|
id as useFocusTrap,
|
|
160238
160245
|
Hj as useInputAria,
|
|
@@ -2,6 +2,7 @@ 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 './download.helpers';
|
|
5
6
|
export * from './file-storage.helpers';
|
|
6
7
|
export * from './html-sanitize.helpers';
|
|
7
8
|
export * from './number.helpers';
|