@feedmepos/mf-payment 1.3.12 → 1.3.14
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/{OnboardForm-cIQFP7qq.js → OnboardForm-DIkc0eX_.js} +4 -4
- package/dist/{OnboardForm-B7eW8jKT.js → OnboardForm-DrjOiLDz.js} +4 -4
- package/dist/{OnboardSubmission-YAZAgP1W.js → OnboardSubmission-BNU8JEjd.js} +5 -5
- package/dist/OnboardSubmission-C-bNluyh.js +173 -0
- package/dist/{PayoutAccount-351bOKrS.js → PayoutAccount-BoEhEonY.js} +5 -5
- package/dist/{PayoutAccount-BTUMCZSC.js → PayoutAccount-M0uzba0w.js} +5 -5
- package/dist/{PayoutAccountSetting-C2VV_P8I.js → PayoutAccountSetting-BbMJO09b.js} +3 -3
- package/dist/{Restaurant-C2RxiiMA.js → Restaurant-CwdFy65Q.js} +4 -4
- package/dist/{RestaurantSetting-i6ZrbICS.js → RestaurantSetting-DcHUxBYh.js} +3 -3
- package/dist/{Settlement-OhzSzIAC.js → Settlement-ByfwQDjy.js} +3 -3
- package/dist/{Settlement-CiYbiWnh.js → Settlement-PxISyjHU.js} +3 -3
- package/dist/{SettlementTransactions-DDZGwNyT.js → SettlementTransactions-D5yeeyDP.js} +3 -3
- package/dist/{SettlementTransactions-BUxBMEhZ.js → SettlementTransactions-DidiqbXG.js} +3 -3
- package/dist/{Status.vue_vue_type_script_setup_true_lang-CBRF0-0x.js → Status.vue_vue_type_script_setup_true_lang-kehDoQ6j.js} +1 -1
- package/dist/{Terminal-DaZQ2HlT.js → Terminal-C--amJVv.js} +5 -5
- package/dist/{TerminalSetting-DT4ZicMV.js → TerminalSetting-Bgn-I2bk.js} +69 -69
- package/dist/{Transaction-b4hfH_Gr.js → Transaction-BMc3gQy1.js} +6 -6
- package/dist/{Transaction-CBXatTdT.js → Transaction-Bd_4iMOT.js} +5 -5
- package/dist/{TransactionOld-vUHA-HK7.js → TransactionOld-8-sEspIt.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-DSC0IYab.js → TransactionTable.vue_vue_type_script_setup_true_lang-BayIh55f.js} +3 -3
- package/dist/{app-C_eXBmWD.js → app-Cn0RrIWF.js} +90 -80
- package/dist/app.d.ts +11 -1
- package/dist/app.js +1 -1
- package/dist/{assets-DQsR-1TB.js → assets-CTH4trdc.js} +1 -1
- package/dist/{grafana-CK4g6ZoJ.js → grafana-bPLmWYzm.js} +1 -1
- package/dist/{index-BngXbjSX.js → index-98tll3Hu.js} +1 -1
- package/dist/{index-xwX5AZeh.js → index-B5zEwG__.js} +1 -1
- package/dist/{index-DAUG5toW.js → index-CJPiBIRm.js} +446 -444
- package/dist/{index-BhvhNgSj.js → index-CeL25Pov.js} +2 -2
- package/dist/{index-Cd7W0vb7.js → index-DPY6iypt.js} +1 -1
- package/dist/{index-DSEt22V0.js → index-DZYRliw9.js} +1 -1
- package/dist/{index-CZBPN8fF.js → index-cU53UWIn.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BIc1-DIt.js → index.vue_vue_type_script_setup_true_lang-CaVufHjO.js} +1 -1
- package/dist/package.json +2 -2
- package/dist/{payout-account-BxDix6Cp.js → payout-account-BaACtyWO.js} +3 -3
- package/dist/{plugins-BQd6KOEt.js → plugins-BjAF-CDe.js} +1 -1
- package/dist/stores/payoutAccount.d.ts +16 -16
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/onboard-submission/forms/SoftspaceSubmission.vue.d.ts +28 -28
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +16 -16
- package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +32 -32
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +32 -32
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +16 -16
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +16 -16
- package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +32 -32
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +6 -6
- package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +6 -6
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +6 -6
- package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +6 -6
- package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +6 -6
- package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +6 -6
- package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +6 -6
- package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +6 -6
- package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +6 -6
- package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +6 -6
- package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +6 -6
- package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +6 -6
- package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +6 -6
- package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +6 -6
- package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +6 -6
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +32 -32
- package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +64 -64
- package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +32 -32
- package/package.json +2 -2
- package/dist/OnboardSubmission-C9MPsDJL.js +0 -153
@@ -154,10 +154,15 @@ const Gn = {
|
|
154
154
|
"onboard-submission": {
|
155
155
|
title: "Payment Onboarding",
|
156
156
|
description: "Submit and track the documents needed for payment onboarding.",
|
157
|
+
ready: {
|
158
|
+
line1: "Your merchant account has been successfully activated!",
|
159
|
+
line2: "If you have any questions, please contact our team.",
|
160
|
+
status: "Ready"
|
161
|
+
},
|
157
162
|
approval: {
|
158
163
|
line1: "Please wait for a few days for processing.",
|
159
164
|
line2: "If any issues, our team will reach out to you.",
|
160
|
-
status: "
|
165
|
+
status: "Processing"
|
161
166
|
},
|
162
167
|
review: {
|
163
168
|
line1: "Please wait for a few days for reviewing.",
|
@@ -311,8 +316,8 @@ const Gn = {
|
|
311
316
|
bank_holder: "持有人名称"
|
312
317
|
},
|
313
318
|
document: {
|
314
|
-
ssm: "SSM
|
315
|
-
bank: "
|
319
|
+
ssm: "SSM营业证书 (Form D)",
|
320
|
+
bank: "银行对账单 (含持有人姓名)",
|
316
321
|
exterior: "营业户外照片"
|
317
322
|
},
|
318
323
|
section: {
|
@@ -326,10 +331,15 @@ const Gn = {
|
|
326
331
|
"onboard-submission": {
|
327
332
|
title: "支付开通",
|
328
333
|
description: "提交和跟踪支付开通所需的文档。",
|
334
|
+
ready: {
|
335
|
+
line1: "您的商家账户已成功启用!",
|
336
|
+
line2: "如果有任何问题,请联系我们的团队。",
|
337
|
+
status: "已启用"
|
338
|
+
},
|
329
339
|
approval: {
|
330
340
|
line1: "请耐心等待几天以便处理。",
|
331
341
|
line2: "如果有任何问题,我们的团队会联系您。",
|
332
|
-
|
342
|
+
status: "处理中"
|
333
343
|
},
|
334
344
|
review: {
|
335
345
|
line1: "请耐心等待几天以便审核。",
|
@@ -355,7 +365,7 @@ const Gn = {
|
|
355
365
|
sidebarDisplay: "Restaurants",
|
356
366
|
section: "payment-gateway"
|
357
367
|
},
|
358
|
-
component: () => import("./Restaurant-
|
368
|
+
component: () => import("./Restaurant-CwdFy65Q.js")
|
359
369
|
},
|
360
370
|
{
|
361
371
|
path: "/admin/restaurants/:restaurantId",
|
@@ -364,7 +374,7 @@ const Gn = {
|
|
364
374
|
meta: {
|
365
375
|
parent: "mf-payment-admin.restaurant"
|
366
376
|
},
|
367
|
-
component: () => import("./RestaurantSetting-
|
377
|
+
component: () => import("./RestaurantSetting-DcHUxBYh.js")
|
368
378
|
},
|
369
379
|
{
|
370
380
|
path: "/admin/payout-accounts",
|
@@ -373,7 +383,7 @@ const Gn = {
|
|
373
383
|
sidebarDisplay: "Payout Accounts",
|
374
384
|
section: "payment-gateway"
|
375
385
|
},
|
376
|
-
component: () => import("./PayoutAccount-
|
386
|
+
component: () => import("./PayoutAccount-M0uzba0w.js")
|
377
387
|
},
|
378
388
|
{
|
379
389
|
path: "/admin/payout-accounts/:accountId",
|
@@ -382,7 +392,7 @@ const Gn = {
|
|
382
392
|
meta: {
|
383
393
|
parent: "mf-payment-admin.payout-account"
|
384
394
|
},
|
385
|
-
component: () => import("./PayoutAccountSetting-
|
395
|
+
component: () => import("./PayoutAccountSetting-BbMJO09b.js")
|
386
396
|
},
|
387
397
|
{
|
388
398
|
path: "/admin/onboarding",
|
@@ -391,7 +401,7 @@ const Gn = {
|
|
391
401
|
sidebarDisplay: "Payment Onboarding",
|
392
402
|
section: "payment-gateway"
|
393
403
|
},
|
394
|
-
component: () => import("./OnboardSubmission-
|
404
|
+
component: () => import("./OnboardSubmission-BNU8JEjd.js")
|
395
405
|
},
|
396
406
|
{
|
397
407
|
path: "/admin/onboarding/:submissionId",
|
@@ -400,7 +410,7 @@ const Gn = {
|
|
400
410
|
meta: {
|
401
411
|
parent: "mf-payment-admin.onboard-submission"
|
402
412
|
},
|
403
|
-
component: () => import("./OnboardForm-
|
413
|
+
component: () => import("./OnboardForm-DrjOiLDz.js")
|
404
414
|
},
|
405
415
|
{
|
406
416
|
path: "/admin/terminal/pos",
|
@@ -409,7 +419,7 @@ const Gn = {
|
|
409
419
|
sidebarDisplay: "POS",
|
410
420
|
section: "device"
|
411
421
|
},
|
412
|
-
component: () => import("./Terminal-
|
422
|
+
component: () => import("./Terminal-C--amJVv.js"),
|
413
423
|
props: {
|
414
424
|
type: "POS"
|
415
425
|
}
|
@@ -421,7 +431,7 @@ const Gn = {
|
|
421
431
|
sidebarDisplay: "Kiosks",
|
422
432
|
section: "device"
|
423
433
|
},
|
424
|
-
component: () => import("./Terminal-
|
434
|
+
component: () => import("./Terminal-C--amJVv.js"),
|
425
435
|
props: {
|
426
436
|
type: "KIOSK"
|
427
437
|
}
|
@@ -433,7 +443,7 @@ const Gn = {
|
|
433
443
|
sidebarDisplay: "Terminals",
|
434
444
|
section: "device"
|
435
445
|
},
|
436
|
-
component: () => import("./Terminal-
|
446
|
+
component: () => import("./Terminal-C--amJVv.js"),
|
437
447
|
props: {
|
438
448
|
type: "TERMINAL"
|
439
449
|
}
|
@@ -445,7 +455,7 @@ const Gn = {
|
|
445
455
|
meta: {
|
446
456
|
parent: "mf-payment-admin.pos"
|
447
457
|
},
|
448
|
-
component: () => import("./TerminalSetting-
|
458
|
+
component: () => import("./TerminalSetting-Bgn-I2bk.js")
|
449
459
|
},
|
450
460
|
{
|
451
461
|
path: "/admin/terminal/kiosk/:terminalId",
|
@@ -454,7 +464,7 @@ const Gn = {
|
|
454
464
|
meta: {
|
455
465
|
parent: "mf-payment-admin.kiosk"
|
456
466
|
},
|
457
|
-
component: () => import("./TerminalSetting-
|
467
|
+
component: () => import("./TerminalSetting-Bgn-I2bk.js")
|
458
468
|
},
|
459
469
|
{
|
460
470
|
path: "/admin/terminal/terminal/:terminalId",
|
@@ -463,7 +473,7 @@ const Gn = {
|
|
463
473
|
meta: {
|
464
474
|
parent: "mf-payment-admin.terminal"
|
465
475
|
},
|
466
|
-
component: () => import("./TerminalSetting-
|
476
|
+
component: () => import("./TerminalSetting-Bgn-I2bk.js")
|
467
477
|
},
|
468
478
|
{
|
469
479
|
path: "/admin/transaction",
|
@@ -471,7 +481,7 @@ const Gn = {
|
|
471
481
|
meta: {
|
472
482
|
sidebarDisplay: "Transactions"
|
473
483
|
},
|
474
|
-
component: () => import("./Transaction-
|
484
|
+
component: () => import("./Transaction-Bd_4iMOT.js")
|
475
485
|
},
|
476
486
|
{
|
477
487
|
path: "/admin/settlement",
|
@@ -479,7 +489,7 @@ const Gn = {
|
|
479
489
|
meta: {
|
480
490
|
sidebarDisplay: "Settlements"
|
481
491
|
},
|
482
|
-
component: () => import("./Settlement-
|
492
|
+
component: () => import("./Settlement-PxISyjHU.js")
|
483
493
|
},
|
484
494
|
{
|
485
495
|
path: "/admin/settlement/:settlementId",
|
@@ -488,7 +498,7 @@ const Gn = {
|
|
488
498
|
meta: {
|
489
499
|
parent: "mf-payment-admin.settlement"
|
490
500
|
},
|
491
|
-
component: () => import("./SettlementTransactions-
|
501
|
+
component: () => import("./SettlementTransactions-DidiqbXG.js")
|
492
502
|
}
|
493
503
|
], We = [
|
494
504
|
{
|
@@ -498,7 +508,7 @@ const Gn = {
|
|
498
508
|
{
|
499
509
|
path: "/payout-account",
|
500
510
|
name: "mf-payment-payout-account",
|
501
|
-
component: () => import("./PayoutAccount-
|
511
|
+
component: () => import("./PayoutAccount-BoEhEonY.js"),
|
502
512
|
meta: {
|
503
513
|
sidebarDisplay: "i18n:payment.routes.payout_account"
|
504
514
|
}
|
@@ -506,7 +516,7 @@ const Gn = {
|
|
506
516
|
{
|
507
517
|
path: "/onboard-submission",
|
508
518
|
name: "mf-payment-onboard-submission",
|
509
|
-
component: () => import("./OnboardSubmission-
|
519
|
+
component: () => import("./OnboardSubmission-C-bNluyh.js"),
|
510
520
|
meta: {
|
511
521
|
sidebarDisplay: "i18n:payment.routes.onboard_submission"
|
512
522
|
}
|
@@ -515,7 +525,7 @@ const Gn = {
|
|
515
525
|
path: "/onboard-submission/:type/:submission?",
|
516
526
|
name: "mf-payment-onboard-submission-form",
|
517
527
|
props: !0,
|
518
|
-
component: () => import("./OnboardForm-
|
528
|
+
component: () => import("./OnboardForm-DIkc0eX_.js"),
|
519
529
|
meta: {
|
520
530
|
parent: "mf-payment-onboard-submission"
|
521
531
|
}
|
@@ -523,7 +533,7 @@ const Gn = {
|
|
523
533
|
{
|
524
534
|
path: "/transaction-old",
|
525
535
|
name: "mf-payment-old-transaction",
|
526
|
-
component: () => import("./TransactionOld-
|
536
|
+
component: () => import("./TransactionOld-8-sEspIt.js"),
|
527
537
|
meta: {
|
528
538
|
sidebarDisplay: "i18n:payment.routes.transaction"
|
529
539
|
}
|
@@ -531,7 +541,7 @@ const Gn = {
|
|
531
541
|
{
|
532
542
|
path: "/transaction",
|
533
543
|
name: "mf-payment-transaction",
|
534
|
-
component: () => import("./Transaction-
|
544
|
+
component: () => import("./Transaction-BMc3gQy1.js"),
|
535
545
|
meta: {
|
536
546
|
sidebarDisplay: "i18n:payment.routes.transaction-new",
|
537
547
|
sidebarNew: !0
|
@@ -540,7 +550,7 @@ const Gn = {
|
|
540
550
|
{
|
541
551
|
path: "/settlement",
|
542
552
|
name: "mf-payment-settlement",
|
543
|
-
component: () => import("./Settlement-
|
553
|
+
component: () => import("./Settlement-ByfwQDjy.js"),
|
544
554
|
meta: {
|
545
555
|
sidebarDisplay: "i18n:payment.routes.settlement"
|
546
556
|
}
|
@@ -549,7 +559,7 @@ const Gn = {
|
|
549
559
|
path: "/settlement/:settlementId",
|
550
560
|
name: "mf-payment-settlement-transaction",
|
551
561
|
props: !0,
|
552
|
-
component: () => import("./SettlementTransactions-
|
562
|
+
component: () => import("./SettlementTransactions-D5yeeyDP.js"),
|
553
563
|
meta: {
|
554
564
|
parent: "mf-payment-settlement"
|
555
565
|
}
|
@@ -685,8 +695,8 @@ const Bt = function(n) {
|
|
685
695
|
const t = e ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, r = [];
|
686
696
|
for (let i = 0; i < n.length; i += 3) {
|
687
697
|
const s = n[i], a = i + 1 < n.length, c = a ? n[i + 1] : 0, o = i + 2 < n.length, l = o ? n[i + 2] : 0, u = s >> 2, h = (s & 3) << 4 | c >> 4;
|
688
|
-
let p = (c & 15) << 2 | l >> 6,
|
689
|
-
o || (
|
698
|
+
let p = (c & 15) << 2 | l >> 6, y = l & 63;
|
699
|
+
o || (y = 64, a || (p = 64)), r.push(t[u], t[h], t[p], t[y]);
|
690
700
|
}
|
691
701
|
return r.join("");
|
692
702
|
},
|
@@ -740,8 +750,8 @@ const Bt = function(n) {
|
|
740
750
|
throw new Qn();
|
741
751
|
const p = s << 2 | c >> 4;
|
742
752
|
if (r.push(p), l !== 64) {
|
743
|
-
const
|
744
|
-
if (r.push(
|
753
|
+
const y = c << 4 & 240 | l >> 2;
|
754
|
+
if (r.push(y), h !== 64) {
|
745
755
|
const F = l << 6 & 192 | h;
|
746
756
|
r.push(F);
|
747
757
|
}
|
@@ -1140,7 +1150,7 @@ class _r {
|
|
1140
1150
|
let i;
|
1141
1151
|
if (e === void 0 && t === void 0 && r === void 0)
|
1142
1152
|
throw new Error("Missing Observer.");
|
1143
|
-
|
1153
|
+
yr(e, [
|
1144
1154
|
"next",
|
1145
1155
|
"error",
|
1146
1156
|
"complete"
|
@@ -1186,7 +1196,7 @@ class _r {
|
|
1186
1196
|
}));
|
1187
1197
|
}
|
1188
1198
|
}
|
1189
|
-
function
|
1199
|
+
function yr(n, e) {
|
1190
1200
|
if (typeof n != "object" || n === null)
|
1191
1201
|
return !1;
|
1192
1202
|
for (const t of e)
|
@@ -1271,7 +1281,7 @@ const M = "[DEFAULT]";
|
|
1271
1281
|
* See the License for the specific language governing permissions and
|
1272
1282
|
* limitations under the License.
|
1273
1283
|
*/
|
1274
|
-
class
|
1284
|
+
class vr {
|
1275
1285
|
constructor(e, t) {
|
1276
1286
|
this.name = e, this.container = t, this.component = null, this.instances = /* @__PURE__ */ new Map(), this.instancesDeferred = /* @__PURE__ */ new Map(), this.instancesOptions = /* @__PURE__ */ new Map(), this.onInitCallbacks = /* @__PURE__ */ new Map();
|
1277
1287
|
}
|
@@ -1479,7 +1489,7 @@ class wr {
|
|
1479
1489
|
getProvider(e) {
|
1480
1490
|
if (this.providers.has(e))
|
1481
1491
|
return this.providers.get(e);
|
1482
|
-
const t = new
|
1492
|
+
const t = new vr(e, this);
|
1483
1493
|
return this.providers.set(e, t), t;
|
1484
1494
|
}
|
1485
1495
|
getProviders() {
|
@@ -1857,7 +1867,7 @@ function Kt(n, e) {
|
|
1857
1867
|
const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
1858
1868
|
return t && t.triggerHeartbeat(), n.container.getProvider(e);
|
1859
1869
|
}
|
1860
|
-
function
|
1870
|
+
function v(n) {
|
1861
1871
|
return n.settings !== void 0;
|
1862
1872
|
}
|
1863
1873
|
/**
|
@@ -2035,10 +2045,10 @@ function $(n, e, t) {
|
|
2035
2045
|
* See the License for the specific language governing permissions and
|
2036
2046
|
* limitations under the License.
|
2037
2047
|
*/
|
2038
|
-
const
|
2048
|
+
const yi = "firebase-heartbeat-database", vi = 1, Y = "firebase-heartbeat-store";
|
2039
2049
|
let Pe = null;
|
2040
2050
|
function Yt() {
|
2041
|
-
return Pe || (Pe = Mr(
|
2051
|
+
return Pe || (Pe = Mr(yi, vi, {
|
2042
2052
|
upgrade: (n, e) => {
|
2043
2053
|
switch (e) {
|
2044
2054
|
case 0:
|
@@ -2640,7 +2650,7 @@ const Li = {
|
|
2640
2650
|
* limitations under the License.
|
2641
2651
|
*/
|
2642
2652
|
const Mi = new te(3e4, 6e4);
|
2643
|
-
function
|
2653
|
+
function ye(n, e) {
|
2644
2654
|
return n.tenantId && !e.tenantId ? Object.assign(Object.assign({}, e), { tenantId: n.tenantId }) : e;
|
2645
2655
|
}
|
2646
2656
|
async function G(n, e, t, r, i = {}) {
|
@@ -2809,7 +2819,7 @@ function Ye(n) {
|
|
2809
2819
|
return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
|
2810
2820
|
}
|
2811
2821
|
}
|
2812
|
-
function
|
2822
|
+
function yt(n) {
|
2813
2823
|
const e = Ye(n);
|
2814
2824
|
return d(
|
2815
2825
|
e,
|
@@ -3047,7 +3057,7 @@ async function ji(n, e) {
|
|
3047
3057
|
};
|
3048
3058
|
}
|
3049
3059
|
async function Wi(n, e) {
|
3050
|
-
return G(n, "POST", "/v2/accounts:revokeToken",
|
3060
|
+
return G(n, "POST", "/v2/accounts:revokeToken", ye(n, e));
|
3051
3061
|
}
|
3052
3062
|
/**
|
3053
3063
|
* @license
|
@@ -3086,7 +3096,7 @@ class H {
|
|
3086
3096
|
"internal-error"
|
3087
3097
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3088
3098
|
);
|
3089
|
-
const t = "expiresIn" in e && typeof e.expiresIn < "u" ? Number(e.expiresIn) :
|
3099
|
+
const t = "expiresIn" in e && typeof e.expiresIn < "u" ? Number(e.expiresIn) : yt(e.idToken);
|
3090
3100
|
this.updateTokensAndExpiration(e.idToken, e.refreshToken, t);
|
3091
3101
|
}
|
3092
3102
|
updateFromIdToken(e) {
|
@@ -3095,7 +3105,7 @@ class H {
|
|
3095
3105
|
"internal-error"
|
3096
3106
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3097
3107
|
);
|
3098
|
-
const t =
|
3108
|
+
const t = yt(e);
|
3099
3109
|
this.updateTokensAndExpiration(e, null, t);
|
3100
3110
|
}
|
3101
3111
|
async getToken(e, t = !1) {
|
@@ -3216,7 +3226,7 @@ class I {
|
|
3216
3226
|
e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), t && await pe(this), await this.auth._persistUserIfCurrent(this), r && this.auth._notifyListenersIfCurrent(this);
|
3217
3227
|
}
|
3218
3228
|
async delete() {
|
3219
|
-
if (
|
3229
|
+
if (v(this.auth.app))
|
3220
3230
|
return Promise.reject(N(this.auth));
|
3221
3231
|
const e = await this.getIdToken();
|
3222
3232
|
return await X(this, xi(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
|
@@ -3247,7 +3257,7 @@ class I {
|
|
3247
3257
|
}
|
3248
3258
|
static _fromJSON(e, t) {
|
3249
3259
|
var r, i, s, a, c, o, l, u;
|
3250
|
-
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, p = (i = t.email) !== null && i !== void 0 ? i : void 0,
|
3260
|
+
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, p = (i = t.email) !== null && i !== void 0 ? i : void 0, y = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, F = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, tt = (c = t.tenantId) !== null && c !== void 0 ? c : void 0, we = (o = t._redirectEventId) !== null && o !== void 0 ? o : void 0, nt = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, rt = (u = t.lastLoginAt) !== null && u !== void 0 ? u : void 0, { uid: Ee, emailVerified: it, isAnonymous: st, providerData: Te, stsTokenManager: at } = t;
|
3251
3261
|
d(
|
3252
3262
|
Ee && at,
|
3253
3263
|
e,
|
@@ -3270,7 +3280,7 @@ class I {
|
|
3270
3280
|
e,
|
3271
3281
|
"internal-error"
|
3272
3282
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3273
|
-
), k(
|
3283
|
+
), k(y, e.name), k(F, e.name), k(tt, e.name), k(we, e.name), k(nt, e.name), k(rt, e.name);
|
3274
3284
|
const Se = new I({
|
3275
3285
|
uid: Ee,
|
3276
3286
|
auth: e,
|
@@ -3279,7 +3289,7 @@ class I {
|
|
3279
3289
|
displayName: h,
|
3280
3290
|
isAnonymous: st,
|
3281
3291
|
photoURL: F,
|
3282
|
-
phoneNumber:
|
3292
|
+
phoneNumber: y,
|
3283
3293
|
tenantId: tt,
|
3284
3294
|
stsTokenManager: Dn,
|
3285
3295
|
createdAt: nt,
|
@@ -3353,11 +3363,11 @@ class I {
|
|
3353
3363
|
* See the License for the specific language governing permissions and
|
3354
3364
|
* limitations under the License.
|
3355
3365
|
*/
|
3356
|
-
const
|
3366
|
+
const vt = /* @__PURE__ */ new Map();
|
3357
3367
|
function w(n) {
|
3358
3368
|
S(n instanceof Function, "Expected a class definition");
|
3359
|
-
let e =
|
3360
|
-
return e ? (S(e instanceof n, "Instance stored in cache mismatched with class"), e) : (e = new n(),
|
3369
|
+
let e = vt.get(n);
|
3370
|
+
return e ? (S(e instanceof n, "Instance stored in cache mismatched with class"), e) : (e = new n(), vt.set(n, e), e);
|
3361
3371
|
}
|
3362
3372
|
/**
|
3363
3373
|
* @license
|
@@ -3662,7 +3672,7 @@ class qi {
|
|
3662
3672
|
* limitations under the License.
|
3663
3673
|
*/
|
3664
3674
|
async function Ki(n, e = {}) {
|
3665
|
-
return G(n, "GET", "/v2/passwordPolicy",
|
3675
|
+
return G(n, "GET", "/v2/passwordPolicy", ye(n, e));
|
3666
3676
|
}
|
3667
3677
|
/**
|
3668
3678
|
* @license
|
@@ -3814,7 +3824,7 @@ class Xi {
|
|
3814
3824
|
}
|
3815
3825
|
async initializeCurrentUser(e) {
|
3816
3826
|
var t;
|
3817
|
-
if (
|
3827
|
+
if (v(this.app)) {
|
3818
3828
|
const a = this.app.settings.authIdToken;
|
3819
3829
|
return a ? new Promise((c) => {
|
3820
3830
|
setTimeout(() => this.initializeCurrentUserFromIdToken(a).then(c, c));
|
@@ -3870,7 +3880,7 @@ class Xi {
|
|
3870
3880
|
this._deleted = !0;
|
3871
3881
|
}
|
3872
3882
|
async updateCurrentUser(e) {
|
3873
|
-
if (
|
3883
|
+
if (v(this.app))
|
3874
3884
|
return Promise.reject(N(this));
|
3875
3885
|
const t = e ? z(e) : null;
|
3876
3886
|
return t && d(
|
@@ -3892,14 +3902,14 @@ class Xi {
|
|
3892
3902
|
});
|
3893
3903
|
}
|
3894
3904
|
async signOut() {
|
3895
|
-
return
|
3905
|
+
return v(this.app) ? Promise.reject(N(this)) : (await this.beforeStateQueue.runMiddleware(null), (this.redirectPersistenceManager || this._popupRedirectResolver) && await this._setRedirectUser(null), this._updateCurrentUser(
|
3896
3906
|
null,
|
3897
3907
|
/* skipBeforeStateCallbacks */
|
3898
3908
|
!0
|
3899
3909
|
));
|
3900
3910
|
}
|
3901
3911
|
setPersistence(e) {
|
3902
|
-
return
|
3912
|
+
return v(this.app) ? Promise.reject(N(this)) : this.queue(async () => {
|
3903
3913
|
await this.assertedPersistence.setPersistence(w(e));
|
3904
3914
|
});
|
3905
3915
|
}
|
@@ -4101,7 +4111,7 @@ class Xi {
|
|
4101
4111
|
return t != null && t.error && Pi(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
|
4102
4112
|
}
|
4103
4113
|
}
|
4104
|
-
function
|
4114
|
+
function ve(n) {
|
4105
4115
|
return z(n);
|
4106
4116
|
}
|
4107
4117
|
class wt {
|
@@ -4188,7 +4198,7 @@ function rs(n, e) {
|
|
4188
4198
|
e != null && e.errorMap && n._updateErrorMap(e.errorMap), n._initializeWithPersistence(r, e == null ? void 0 : e.popupRedirectResolver);
|
4189
4199
|
}
|
4190
4200
|
function is(n, e, t) {
|
4191
|
-
const r =
|
4201
|
+
const r = ve(n);
|
4192
4202
|
d(
|
4193
4203
|
r._canInitEmulator,
|
4194
4204
|
r,
|
@@ -4200,7 +4210,7 @@ function is(n, e, t) {
|
|
4200
4210
|
"invalid-emulator-scheme"
|
4201
4211
|
/* AuthErrorCode.INVALID_EMULATOR_SCHEME */
|
4202
4212
|
);
|
4203
|
-
const i = !1, s =
|
4213
|
+
const i = !1, s = yn(e), { host: a, port: c } = ss(e), o = c === null ? "" : `:${c}`;
|
4204
4214
|
r.config.emulator = { url: `${s}//${a}${o}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
|
4205
4215
|
host: a,
|
4206
4216
|
port: c,
|
@@ -4208,12 +4218,12 @@ function is(n, e, t) {
|
|
4208
4218
|
options: Object.freeze({ disableWarnings: i })
|
4209
4219
|
}), as();
|
4210
4220
|
}
|
4211
|
-
function
|
4221
|
+
function yn(n) {
|
4212
4222
|
const e = n.indexOf(":");
|
4213
4223
|
return e < 0 ? "" : n.substr(0, e + 1);
|
4214
4224
|
}
|
4215
4225
|
function ss(n) {
|
4216
|
-
const e =
|
4226
|
+
const e = yn(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
|
4217
4227
|
if (!t)
|
4218
4228
|
return { host: "", port: null };
|
4219
4229
|
const r = t[2].split("@").pop() || "", i = /^(\[[^\]]+\])(:|$)/.exec(r);
|
@@ -4254,7 +4264,7 @@ function as() {
|
|
4254
4264
|
* See the License for the specific language governing permissions and
|
4255
4265
|
* limitations under the License.
|
4256
4266
|
*/
|
4257
|
-
class
|
4267
|
+
class vn {
|
4258
4268
|
/** @internal */
|
4259
4269
|
constructor(e, t) {
|
4260
4270
|
this.providerId = e, this.signInMethod = t;
|
@@ -4297,7 +4307,7 @@ class yn {
|
|
4297
4307
|
* limitations under the License.
|
4298
4308
|
*/
|
4299
4309
|
async function j(n, e) {
|
4300
|
-
return rn(n, "POST", "/v1/accounts:signInWithIdp",
|
4310
|
+
return rn(n, "POST", "/v1/accounts:signInWithIdp", ye(n, e));
|
4301
4311
|
}
|
4302
4312
|
/**
|
4303
4313
|
* @license
|
@@ -4316,7 +4326,7 @@ async function j(n, e) {
|
|
4316
4326
|
* limitations under the License.
|
4317
4327
|
*/
|
4318
4328
|
const os = "http://localhost";
|
4319
|
-
class U extends
|
4329
|
+
class U extends vn {
|
4320
4330
|
constructor() {
|
4321
4331
|
super(...arguments), this.pendingToken = null;
|
4322
4332
|
}
|
@@ -4857,7 +4867,7 @@ async function cs(n, e, t = !1) {
|
|
4857
4867
|
*/
|
4858
4868
|
async function ls(n, e, t = !1) {
|
4859
4869
|
const { auth: r } = n;
|
4860
|
-
if (
|
4870
|
+
if (v(r.app))
|
4861
4871
|
return Promise.reject(N(r));
|
4862
4872
|
const i = "reauthenticate";
|
4863
4873
|
try {
|
@@ -4907,7 +4917,7 @@ async function ls(n, e, t = !1) {
|
|
4907
4917
|
* limitations under the License.
|
4908
4918
|
*/
|
4909
4919
|
async function us(n, e, t = !1) {
|
4910
|
-
if (
|
4920
|
+
if (v(n.app))
|
4911
4921
|
return Promise.reject(N(n));
|
4912
4922
|
const r = "signIn", i = await In(n, r, e), s = await x._fromIdTokenResponse(n, r, i);
|
4913
4923
|
return t || await n._updateCurrentUser(s.user), s;
|
@@ -4929,7 +4939,7 @@ async function us(n, e, t = !1) {
|
|
4929
4939
|
* limitations under the License.
|
4930
4940
|
*/
|
4931
4941
|
async function ds(n, e) {
|
4932
|
-
return rn(n, "POST", "/v1/accounts:signInWithCustomToken",
|
4942
|
+
return rn(n, "POST", "/v1/accounts:signInWithCustomToken", ye(n, e));
|
4933
4943
|
}
|
4934
4944
|
/**
|
4935
4945
|
* @license
|
@@ -4948,9 +4958,9 @@ async function ds(n, e) {
|
|
4948
4958
|
* limitations under the License.
|
4949
4959
|
*/
|
4950
4960
|
async function hs(n, e) {
|
4951
|
-
if (
|
4961
|
+
if (v(n.app))
|
4952
4962
|
return Promise.reject(N(n));
|
4953
|
-
const t =
|
4963
|
+
const t = ve(n), r = await ds(t, {
|
4954
4964
|
token: e,
|
4955
4965
|
returnSecureToken: !0
|
4956
4966
|
}), i = await x._fromIdTokenResponse(t, "signIn", r);
|
@@ -5148,7 +5158,7 @@ const Sn = Tn;
|
|
5148
5158
|
* See the License for the specific language governing permissions and
|
5149
5159
|
* limitations under the License.
|
5150
5160
|
*/
|
5151
|
-
function
|
5161
|
+
function ys(n) {
|
5152
5162
|
return Promise.all(n.map(async (e) => {
|
5153
5163
|
try {
|
5154
5164
|
return {
|
@@ -5218,7 +5228,7 @@ class be {
|
|
5218
5228
|
eventId: r,
|
5219
5229
|
eventType: i
|
5220
5230
|
});
|
5221
|
-
const c = Array.from(a).map(async (l) => l(t.origin, s)), o = await
|
5231
|
+
const c = Array.from(a).map(async (l) => l(t.origin, s)), o = await ys(c);
|
5222
5232
|
t.ports[0].postMessage({
|
5223
5233
|
status: "done",
|
5224
5234
|
eventId: r,
|
@@ -5286,7 +5296,7 @@ function Ze(n = "", e = 10) {
|
|
5286
5296
|
* See the License for the specific language governing permissions and
|
5287
5297
|
* limitations under the License.
|
5288
5298
|
*/
|
5289
|
-
class
|
5299
|
+
class vs {
|
5290
5300
|
constructor(e) {
|
5291
5301
|
this.target = e, this.handlers = /* @__PURE__ */ new Set();
|
5292
5302
|
}
|
@@ -5546,7 +5556,7 @@ class Cn {
|
|
5546
5556
|
var e, t;
|
5547
5557
|
if (this.activeServiceWorker = await Is(), !this.activeServiceWorker)
|
5548
5558
|
return;
|
5549
|
-
this.sender = new
|
5559
|
+
this.sender = new vs(this.activeServiceWorker);
|
5550
5560
|
const r = await this.sender._send(
|
5551
5561
|
"ping",
|
5552
5562
|
{},
|
@@ -5688,7 +5698,7 @@ function Ps(n, e) {
|
|
5688
5698
|
* See the License for the specific language governing permissions and
|
5689
5699
|
* limitations under the License.
|
5690
5700
|
*/
|
5691
|
-
class et extends
|
5701
|
+
class et extends vn {
|
5692
5702
|
constructor(e) {
|
5693
5703
|
super(
|
5694
5704
|
"custom",
|
@@ -5988,9 +5998,9 @@ function $s(n) {
|
|
5988
5998
|
return ae(Ms, n.config.apiKey, n.name);
|
5989
5999
|
}
|
5990
6000
|
async function Hs(n, e, t = !1) {
|
5991
|
-
if (
|
6001
|
+
if (v(n.app))
|
5992
6002
|
return Promise.reject(N(n));
|
5993
|
-
const r =
|
6003
|
+
const r = ve(n), i = Ps(r, e), a = await new Us(r, i, t).execute();
|
5994
6004
|
return a && !t && (delete a.user._redirectEventId, await r._persistUserIfCurrent(a.user), await r._setRedirectUser(null, e)), a;
|
5995
6005
|
}
|
5996
6006
|
/**
|
@@ -6321,7 +6331,7 @@ function da(n, e, t, r = oa, i = ca) {
|
|
6321
6331
|
left: a
|
6322
6332
|
}), l = m().toLowerCase();
|
6323
6333
|
t && (c = dn(l) ? la : t), ln(l) && (e = e || ua, o.scrollbars = "yes");
|
6324
|
-
const u = Object.entries(o).reduce((p, [
|
6334
|
+
const u = Object.entries(o).reduce((p, [y, F]) => `${p}${y}=${F},`, "");
|
6325
6335
|
if (zi(l) && c !== "_self")
|
6326
6336
|
return ha(e || "", c), new Ct(null);
|
6327
6337
|
const h = window.open(e || "", c, u);
|
@@ -6476,7 +6486,7 @@ class _a {
|
|
6476
6486
|
return gn() || un() || Xe();
|
6477
6487
|
}
|
6478
6488
|
}
|
6479
|
-
const
|
6489
|
+
const ya = _a;
|
6480
6490
|
var Ot = "@firebase/auth", Dt = "1.7.9";
|
6481
6491
|
/**
|
6482
6492
|
* @license
|
@@ -6494,7 +6504,7 @@ var Ot = "@firebase/auth", Dt = "1.7.9";
|
|
6494
6504
|
* See the License for the specific language governing permissions and
|
6495
6505
|
* limitations under the License.
|
6496
6506
|
*/
|
6497
|
-
class
|
6507
|
+
class va {
|
6498
6508
|
constructor(e) {
|
6499
6509
|
this.auth = e, this.internalListeners = /* @__PURE__ */ new Map();
|
6500
6510
|
}
|
@@ -6591,11 +6601,11 @@ function Ia(n) {
|
|
6591
6601
|
})), J(new W(
|
6592
6602
|
"auth-internal",
|
6593
6603
|
(e) => {
|
6594
|
-
const t =
|
6604
|
+
const t = ve(e.getProvider(
|
6595
6605
|
"auth"
|
6596
6606
|
/* _ComponentName.AUTH */
|
6597
6607
|
).getImmediate());
|
6598
|
-
return ((r) => new
|
6608
|
+
return ((r) => new va(r))(t);
|
6599
6609
|
},
|
6600
6610
|
"PRIVATE"
|
6601
6611
|
/* ComponentType.PRIVATE */
|
@@ -6639,7 +6649,7 @@ function Sa(n = _i()) {
|
|
6639
6649
|
if (e.isInitialized())
|
6640
6650
|
return e.getImmediate();
|
6641
6651
|
const t = ns(n, {
|
6642
|
-
popupRedirectResolver:
|
6652
|
+
popupRedirectResolver: ya,
|
6643
6653
|
persistence: [
|
6644
6654
|
Cs,
|
6645
6655
|
_s,
|
package/dist/app.d.ts
CHANGED
@@ -153,6 +153,11 @@ export declare const i18nMessages: {
|
|
153
153
|
"onboard-submission": {
|
154
154
|
title: string;
|
155
155
|
description: string;
|
156
|
+
ready: {
|
157
|
+
line1: string;
|
158
|
+
line2: string;
|
159
|
+
status: string;
|
160
|
+
};
|
156
161
|
approval: {
|
157
162
|
line1: string;
|
158
163
|
line2: string;
|
@@ -326,10 +331,15 @@ export declare const i18nMessages: {
|
|
326
331
|
"onboard-submission": {
|
327
332
|
title: string;
|
328
333
|
description: string;
|
334
|
+
ready: {
|
335
|
+
line1: string;
|
336
|
+
line2: string;
|
337
|
+
status: string;
|
338
|
+
};
|
329
339
|
approval: {
|
330
340
|
line1: string;
|
331
341
|
line2: string;
|
332
|
-
|
342
|
+
status: string;
|
333
343
|
};
|
334
344
|
review: {
|
335
345
|
line1: string;
|
package/dist/app.js
CHANGED