@feedmepos/mf-financing 0.0.36-dev → 0.0.38-dev

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.
@@ -41,6 +41,7 @@ export type CreatePortalFinancingRequest = {
41
41
  taxIdentificationNo: string;
42
42
  ownerName: string;
43
43
  ownerPhoneNumber: string;
44
+ ownerId: string;
44
45
  businessRegistration: string;
45
46
  bankStatements: string[];
46
47
  signature: string;
package/dist/app.d.ts CHANGED
@@ -15,6 +15,10 @@ export declare const i18nMessages: {
15
15
  title: string;
16
16
  description: string;
17
17
  };
18
+ forbidden: {
19
+ title: string;
20
+ description: string;
21
+ };
18
22
  stepper: {
19
23
  title: string;
20
24
  description: string;
@@ -94,6 +98,7 @@ export declare const i18nMessages: {
94
98
  ownerNamePlaceholder: string;
95
99
  ownerPhoneNumber: string;
96
100
  ownerPhoneNumberPlaceholder: string;
101
+ ownerId: string;
97
102
  businessRegistration: string;
98
103
  bankStatement: string;
99
104
  signature: string;
@@ -103,6 +108,7 @@ export declare const i18nMessages: {
103
108
  success: string;
104
109
  errors: {
105
110
  required: string;
111
+ ownerIdRequired: string;
106
112
  businessRegistrationRequired: string;
107
113
  bankStatementRequired: string;
108
114
  signatureRequired: string;
@@ -165,6 +171,10 @@ export declare const i18nMessages: {
165
171
  title: string;
166
172
  description: string;
167
173
  };
174
+ forbidden: {
175
+ title: string;
176
+ description: string;
177
+ };
168
178
  stepper: {
169
179
  title: string;
170
180
  description: string;
@@ -244,6 +254,7 @@ export declare const i18nMessages: {
244
254
  ownerNamePlaceholder: string;
245
255
  ownerPhoneNumber: string;
246
256
  ownerPhoneNumberPlaceholder: string;
257
+ ownerId: string;
247
258
  businessRegistration: string;
248
259
  bankStatement: string;
249
260
  signature: string;
@@ -253,6 +264,7 @@ export declare const i18nMessages: {
253
264
  success: string;
254
265
  errors: {
255
266
  required: string;
267
+ ownerIdRequired: string;
256
268
  businessRegistrationRequired: string;
257
269
  bankStatementRequired: string;
258
270
  signatureRequired: string;
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { createRouter as In, createWebHistory as wn, useRoute as En } from "vue-router";
2
- import { computed as Tn, defineComponent as Sn, watch as An, onMounted as Pn, resolveComponent as kn, openBlock as Cn, createBlock as Rn, unref as On } from "vue";
2
+ import { computed as Tn, defineComponent as Sn, watch as An, onMounted as Pn, resolveComponent as kn, openBlock as Rn, createBlock as Cn, unref as On } from "vue";
3
3
  import { defineStore as Nn } from "pinia";
4
4
  import { useCoreStore as Dn } from "@feedmepos/mf-common";
5
5
  const Ln = {
@@ -14,6 +14,10 @@ const Ln = {
14
14
  title: "No restaurants found",
15
15
  description: "Create a restaurant to continue with financing."
16
16
  },
17
+ forbidden: {
18
+ title: "Access Restricted",
19
+ description: "Only the business owner can access the financing application. Please contact your business owner for assistance."
20
+ },
17
21
  stepper: {
18
22
  title: "POS Financing Pre-requisites",
19
23
  description: "Complete the steps below to get your POS financing ready.",
@@ -93,6 +97,7 @@ const Ln = {
93
97
  ownerNamePlaceholder: "Enter owner's full name",
94
98
  ownerPhoneNumber: "Owner Phone Number",
95
99
  ownerPhoneNumberPlaceholder: "Enter phone number (e.g. +60123456789)",
100
+ ownerId: "Owner ID",
96
101
  businessRegistration: "Business Registration",
97
102
  bankStatement: "Bank Statement",
98
103
  signature: "Signature",
@@ -102,6 +107,7 @@ const Ln = {
102
107
  success: "Application submitted successfully",
103
108
  errors: {
104
109
  required: "This field is required",
110
+ ownerIdRequired: "Please upload your owner ID",
105
111
  businessRegistrationRequired: "Please upload your business registration document",
106
112
  bankStatementRequired: "Please upload at least one bank statement",
107
113
  signatureRequired: "Please provide your signature",
@@ -163,6 +169,10 @@ const Ln = {
163
169
  title: "未找到餐厅",
164
170
  description: "请先创建餐厅以继续融资。"
165
171
  },
172
+ forbidden: {
173
+ title: "访问受限",
174
+ description: "仅商业所有者可以访问融资申请。请联系您的商业所有者获取帮助。"
175
+ },
166
176
  stepper: {
167
177
  title: "POS融资先决条件",
168
178
  description: "完成以下步骤以准备好您的POS融资。",
@@ -242,6 +252,7 @@ const Ln = {
242
252
  ownerNamePlaceholder: "输入所有者全名",
243
253
  ownerPhoneNumber: "所有者电话号码",
244
254
  ownerPhoneNumberPlaceholder: "输入电话号码(例如:+60123456789)",
255
+ ownerId: "所有者身份证",
245
256
  businessRegistration: "商业注册文件",
246
257
  bankStatement: "银行对账单",
247
258
  signature: "签名",
@@ -251,6 +262,7 @@ const Ln = {
251
262
  success: "申请提交成功",
252
263
  errors: {
253
264
  required: "此字段为必填项",
265
+ ownerIdRequired: "请上传所有者身份证",
254
266
  businessRegistrationRequired: "请上传您的商业注册文件",
255
267
  bankStatementRequired: "请上传至少一份银行对账单",
256
268
  signatureRequired: "请提供您的签名",
@@ -308,7 +320,7 @@ const Ln = {
308
320
  {
309
321
  path: "/application",
310
322
  name: "mf-financing-application",
311
- component: () => import("./Application-DgsKcVbg.js"),
323
+ component: () => import("./Application-D5MJQ8vD.js"),
312
324
  meta: {
313
325
  sidebarDisplay: "i18n:financing.routes.application"
314
326
  }
@@ -316,7 +328,7 @@ const Ln = {
316
328
  {
317
329
  path: "/application/submission",
318
330
  name: "mf-financing-application-submission",
319
- component: () => import("./Submission-BCn__i1G.js")
331
+ component: () => import("./Submission-D94PmATc.js")
320
332
  }
321
333
  ];
322
334
  In({
@@ -541,7 +553,7 @@ const Hn = function(n) {
541
553
  return Pt.encodeByteArray(e, !0);
542
554
  }, kt = function(n) {
543
555
  return Hn(n).replace(/\./g, "");
544
- }, Ct = function(n) {
556
+ }, Rt = function(n) {
545
557
  try {
546
558
  return Pt.decodeString(n, !0);
547
559
  } catch (e) {
@@ -605,7 +617,7 @@ const Wn = () => jn().__FIREBASE_DEFAULTS__, zn = () => {
605
617
  } catch {
606
618
  return;
607
619
  }
608
- const e = n && Ct(n[1]);
620
+ const e = n && Rt(n[1]);
609
621
  return e && JSON.parse(e);
610
622
  }, Be = () => {
611
623
  try {
@@ -617,7 +629,7 @@ const Wn = () => jn().__FIREBASE_DEFAULTS__, zn = () => {
617
629
  }, Gn = (n) => {
618
630
  var e, t;
619
631
  return (t = (e = Be()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || t === void 0 ? void 0 : t[n];
620
- }, Rt = () => {
632
+ }, Ct = () => {
621
633
  var n;
622
634
  return (n = Be()) === null || n === void 0 ? void 0 : n.config;
623
635
  }, Ot = (n) => {
@@ -1316,7 +1328,7 @@ function yr() {
1316
1328
  IDBCursor.prototype.continuePrimaryKey
1317
1329
  ]);
1318
1330
  }
1319
- const Dt = /* @__PURE__ */ new WeakMap(), Re = /* @__PURE__ */ new WeakMap(), Lt = /* @__PURE__ */ new WeakMap(), Te = /* @__PURE__ */ new WeakMap(), Fe = /* @__PURE__ */ new WeakMap();
1331
+ const Dt = /* @__PURE__ */ new WeakMap(), Ce = /* @__PURE__ */ new WeakMap(), Lt = /* @__PURE__ */ new WeakMap(), Te = /* @__PURE__ */ new WeakMap(), Fe = /* @__PURE__ */ new WeakMap();
1320
1332
  function br(n) {
1321
1333
  const e = new Promise((t, r) => {
1322
1334
  const i = () => {
@@ -1334,7 +1346,7 @@ function br(n) {
1334
1346
  }), Fe.set(e, n), e;
1335
1347
  }
1336
1348
  function Ir(n) {
1337
- if (Re.has(n))
1349
+ if (Ce.has(n))
1338
1350
  return;
1339
1351
  const e = new Promise((t, r) => {
1340
1352
  const i = () => {
@@ -1346,13 +1358,13 @@ function Ir(n) {
1346
1358
  };
1347
1359
  n.addEventListener("complete", s), n.addEventListener("error", o), n.addEventListener("abort", o);
1348
1360
  });
1349
- Re.set(n, e);
1361
+ Ce.set(n, e);
1350
1362
  }
1351
1363
  let Oe = {
1352
1364
  get(n, e, t) {
1353
1365
  if (n instanceof IDBTransaction) {
1354
1366
  if (e === "done")
1355
- return Re.get(n);
1367
+ return Ce.get(n);
1356
1368
  if (e === "objectStoreNames")
1357
1369
  return n.objectStoreNames || Lt.get(n);
1358
1370
  if (e === "store")
@@ -1457,7 +1469,7 @@ class kr {
1457
1469
  // auth token refresh, and installations will send this string.
1458
1470
  getPlatformInfoString() {
1459
1471
  return this.container.getProviders().map((t) => {
1460
- if (Cr(t)) {
1472
+ if (Rr(t)) {
1461
1473
  const r = t.getImmediate();
1462
1474
  return `${r.library}/${r.version}`;
1463
1475
  } else
@@ -1465,7 +1477,7 @@ class kr {
1465
1477
  }).filter((t) => t).join(" ");
1466
1478
  }
1467
1479
  }
1468
- function Cr(n) {
1480
+ function Rr(n) {
1469
1481
  const e = n.getComponent();
1470
1482
  return (e == null ? void 0 : e.type) === "VERSION";
1471
1483
  }
@@ -1486,7 +1498,7 @@ const Ne = "@firebase/app", it = "0.10.13";
1486
1498
  * See the License for the specific language governing permissions and
1487
1499
  * limitations under the License.
1488
1500
  */
1489
- const E = new Nt("@firebase/app"), Rr = "@firebase/app-compat", Or = "@firebase/analytics-compat", Nr = "@firebase/analytics", Dr = "@firebase/app-check-compat", Lr = "@firebase/app-check", Mr = "@firebase/auth", Ur = "@firebase/auth-compat", xr = "@firebase/database", Br = "@firebase/data-connect", Fr = "@firebase/database-compat", Vr = "@firebase/functions", $r = "@firebase/functions-compat", Hr = "@firebase/installations", jr = "@firebase/installations-compat", Wr = "@firebase/messaging", zr = "@firebase/messaging-compat", qr = "@firebase/performance", Gr = "@firebase/performance-compat", Kr = "@firebase/remote-config", Jr = "@firebase/remote-config-compat", Yr = "@firebase/storage", Xr = "@firebase/storage-compat", Qr = "@firebase/firestore", Zr = "@firebase/vertexai-preview", ei = "@firebase/firestore-compat", ti = "firebase", ni = "10.14.1";
1501
+ const E = new Nt("@firebase/app"), Cr = "@firebase/app-compat", Or = "@firebase/analytics-compat", Nr = "@firebase/analytics", Dr = "@firebase/app-check-compat", Lr = "@firebase/app-check", Mr = "@firebase/auth", Ur = "@firebase/auth-compat", xr = "@firebase/database", Br = "@firebase/data-connect", Fr = "@firebase/database-compat", Vr = "@firebase/functions", $r = "@firebase/functions-compat", Hr = "@firebase/installations", jr = "@firebase/installations-compat", Wr = "@firebase/messaging", zr = "@firebase/messaging-compat", qr = "@firebase/performance", Gr = "@firebase/performance-compat", Kr = "@firebase/remote-config", Jr = "@firebase/remote-config-compat", Yr = "@firebase/storage", Xr = "@firebase/storage-compat", Qr = "@firebase/firestore", Zr = "@firebase/vertexai-preview", ei = "@firebase/firestore-compat", ti = "firebase", ni = "10.14.1";
1490
1502
  /**
1491
1503
  * @license
1492
1504
  * Copyright 2019 Google LLC
@@ -1505,7 +1517,7 @@ const E = new Nt("@firebase/app"), Rr = "@firebase/app-compat", Or = "@firebase/
1505
1517
  */
1506
1518
  const De = "[DEFAULT]", ri = {
1507
1519
  [Ne]: "fire-core",
1508
- [Rr]: "fire-core-compat",
1520
+ [Cr]: "fire-core-compat",
1509
1521
  [Nr]: "fire-analytics",
1510
1522
  [Or]: "fire-analytics-compat",
1511
1523
  [Lr]: "fire-app-check",
@@ -1690,7 +1702,7 @@ function Ut(n, e = {}) {
1690
1702
  throw N.create("bad-app-name", {
1691
1703
  appName: String(i)
1692
1704
  });
1693
- if (t || (t = Rt()), !t)
1705
+ if (t || (t = Ct()), !t)
1694
1706
  throw N.create(
1695
1707
  "no-options"
1696
1708
  /* AppError.NO_OPTIONS */
@@ -1709,7 +1721,7 @@ function Ut(n, e = {}) {
1709
1721
  }
1710
1722
  function ai(n = De) {
1711
1723
  const e = le.get(n);
1712
- if (!e && n === De && Rt())
1724
+ if (!e && n === De && Ct())
1713
1725
  return Ut();
1714
1726
  if (!e)
1715
1727
  throw N.create("no-app", { appName: n });
@@ -2509,7 +2521,7 @@ function je(n) {
2509
2521
  if (e === void 0 || t === void 0 || r === void 0)
2510
2522
  return ie("JWT malformed, contained fewer than 3 sections"), null;
2511
2523
  try {
2512
- const i = Ct(t);
2524
+ const i = Rt(t);
2513
2525
  return i ? JSON.parse(i) : (ie("Failed to decode base64 JWT payload"), null);
2514
2526
  } catch (i) {
2515
2527
  return ie("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
@@ -2553,10 +2565,10 @@ async function Y(n, e, t = !1) {
2553
2565
  try {
2554
2566
  return await e;
2555
2567
  } catch (r) {
2556
- throw r instanceof L && Ci(r) && n.auth.currentUser === n && await n.auth.signOut(), r;
2568
+ throw r instanceof L && Ri(r) && n.auth.currentUser === n && await n.auth.signOut(), r;
2557
2569
  }
2558
2570
  }
2559
- function Ci({ code: n }) {
2571
+ function Ri({ code: n }) {
2560
2572
  return n === "auth/user-disabled" || n === "auth/user-token-expired";
2561
2573
  }
2562
2574
  /**
@@ -2575,7 +2587,7 @@ function Ci({ code: n }) {
2575
2587
  * See the License for the specific language governing permissions and
2576
2588
  * limitations under the License.
2577
2589
  */
2578
- class Ri {
2590
+ class Ci {
2579
2591
  constructor(e) {
2580
2592
  this.user = e, this.isRunning = !1, this.timerId = null, this.errorBackoff = 3e4;
2581
2593
  }
@@ -2871,7 +2883,7 @@ function A(n, e) {
2871
2883
  class I {
2872
2884
  constructor(e) {
2873
2885
  var { uid: t, auth: r, stsTokenManager: i } = e, s = Ve(e, ["uid", "auth", "stsTokenManager"]);
2874
- this.providerId = "firebase", this.proactiveRefresh = new Ri(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = t, this.auth = r, this.stsTokenManager = i, this.accessToken = i.accessToken, this.displayName = s.displayName || null, this.email = s.email || null, this.emailVerified = s.emailVerified || !1, this.phoneNumber = s.phoneNumber || null, this.photoURL = s.photoURL || null, this.isAnonymous = s.isAnonymous || !1, this.tenantId = s.tenantId || null, this.providerData = s.providerData ? [...s.providerData] : [], this.metadata = new Ue(s.createdAt || void 0, s.lastLoginAt || void 0);
2886
+ this.providerId = "firebase", this.proactiveRefresh = new Ci(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = t, this.auth = r, this.stsTokenManager = i, this.accessToken = i.accessToken, this.displayName = s.displayName || null, this.email = s.email || null, this.emailVerified = s.emailVerified || !1, this.phoneNumber = s.phoneNumber || null, this.photoURL = s.photoURL || null, this.isAnonymous = s.isAnonymous || !1, this.tenantId = s.tenantId || null, this.providerData = s.providerData ? [...s.providerData] : [], this.metadata = new Ue(s.createdAt || void 0, s.lastLoginAt || void 0);
2875
2887
  }
2876
2888
  async getIdToken(e) {
2877
2889
  const t = await Y(this, this.stsTokenManager.getToken(this.auth, e));
@@ -4342,7 +4354,7 @@ k.PROVIDER_ID = "google.com";
4342
4354
  * See the License for the specific language governing permissions and
4343
4355
  * limitations under the License.
4344
4356
  */
4345
- class C extends te {
4357
+ class R extends te {
4346
4358
  constructor() {
4347
4359
  super(
4348
4360
  "github.com"
@@ -4356,8 +4368,8 @@ class C extends te {
4356
4368
  */
4357
4369
  static credential(e) {
4358
4370
  return U._fromParams({
4359
- providerId: C.PROVIDER_ID,
4360
- signInMethod: C.GITHUB_SIGN_IN_METHOD,
4371
+ providerId: R.PROVIDER_ID,
4372
+ signInMethod: R.GITHUB_SIGN_IN_METHOD,
4361
4373
  accessToken: e
4362
4374
  });
4363
4375
  }
@@ -4367,7 +4379,7 @@ class C extends te {
4367
4379
  * @param userCredential - The user credential.
4368
4380
  */
4369
4381
  static credentialFromResult(e) {
4370
- return C.credentialFromTaggedObject(e);
4382
+ return R.credentialFromTaggedObject(e);
4371
4383
  }
4372
4384
  /**
4373
4385
  * Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
@@ -4376,20 +4388,20 @@ class C extends te {
4376
4388
  * @param userCredential - The user credential.
4377
4389
  */
4378
4390
  static credentialFromError(e) {
4379
- return C.credentialFromTaggedObject(e.customData || {});
4391
+ return R.credentialFromTaggedObject(e.customData || {});
4380
4392
  }
4381
4393
  static credentialFromTaggedObject({ _tokenResponse: e }) {
4382
4394
  if (!e || !("oauthAccessToken" in e) || !e.oauthAccessToken)
4383
4395
  return null;
4384
4396
  try {
4385
- return C.credential(e.oauthAccessToken);
4397
+ return R.credential(e.oauthAccessToken);
4386
4398
  } catch {
4387
4399
  return null;
4388
4400
  }
4389
4401
  }
4390
4402
  }
4391
- C.GITHUB_SIGN_IN_METHOD = "github.com";
4392
- C.PROVIDER_ID = "github.com";
4403
+ R.GITHUB_SIGN_IN_METHOD = "github.com";
4404
+ R.PROVIDER_ID = "github.com";
4393
4405
  /**
4394
4406
  * @license
4395
4407
  * Copyright 2020 Google LLC
@@ -4406,7 +4418,7 @@ C.PROVIDER_ID = "github.com";
4406
4418
  * See the License for the specific language governing permissions and
4407
4419
  * limitations under the License.
4408
4420
  */
4409
- class R extends te {
4421
+ class C extends te {
4410
4422
  constructor() {
4411
4423
  super(
4412
4424
  "twitter.com"
@@ -4421,8 +4433,8 @@ class R extends te {
4421
4433
  */
4422
4434
  static credential(e, t) {
4423
4435
  return U._fromParams({
4424
- providerId: R.PROVIDER_ID,
4425
- signInMethod: R.TWITTER_SIGN_IN_METHOD,
4436
+ providerId: C.PROVIDER_ID,
4437
+ signInMethod: C.TWITTER_SIGN_IN_METHOD,
4426
4438
  oauthToken: e,
4427
4439
  oauthTokenSecret: t
4428
4440
  });
@@ -4433,7 +4445,7 @@ class R extends te {
4433
4445
  * @param userCredential - The user credential.
4434
4446
  */
4435
4447
  static credentialFromResult(e) {
4436
- return R.credentialFromTaggedObject(e);
4448
+ return C.credentialFromTaggedObject(e);
4437
4449
  }
4438
4450
  /**
4439
4451
  * Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
@@ -4442,7 +4454,7 @@ class R extends te {
4442
4454
  * @param userCredential - The user credential.
4443
4455
  */
4444
4456
  static credentialFromError(e) {
4445
- return R.credentialFromTaggedObject(e.customData || {});
4457
+ return C.credentialFromTaggedObject(e.customData || {});
4446
4458
  }
4447
4459
  static credentialFromTaggedObject({ _tokenResponse: e }) {
4448
4460
  if (!e)
@@ -4451,14 +4463,14 @@ class R extends te {
4451
4463
  if (!t || !r)
4452
4464
  return null;
4453
4465
  try {
4454
- return R.credential(t, r);
4466
+ return C.credential(t, r);
4455
4467
  } catch {
4456
4468
  return null;
4457
4469
  }
4458
4470
  }
4459
4471
  }
4460
- R.TWITTER_SIGN_IN_METHOD = "twitter.com";
4461
- R.PROVIDER_ID = "twitter.com";
4472
+ C.TWITTER_SIGN_IN_METHOD = "twitter.com";
4473
+ C.PROVIDER_ID = "twitter.com";
4462
4474
  /**
4463
4475
  * @license
4464
4476
  * Copyright 2020 Google LLC
@@ -5678,7 +5690,7 @@ class As extends _n {
5678
5690
  }
5679
5691
  }
5680
5692
  async function Ps(n, e) {
5681
- const t = Rs(e), r = Cs(n);
5693
+ const t = Cs(e), r = Rs(n);
5682
5694
  if (!await r._isAvailable())
5683
5695
  return !1;
5684
5696
  const i = await r._get(t) === "true";
@@ -5687,10 +5699,10 @@ async function Ps(n, e) {
5687
5699
  function ks(n, e) {
5688
5700
  oe.set(n._key(), e);
5689
5701
  }
5690
- function Cs(n) {
5702
+ function Rs(n) {
5691
5703
  return w(n._redirectPersistence);
5692
5704
  }
5693
- function Rs(n) {
5705
+ function Cs(n) {
5694
5706
  return se(Ss, n.config.apiKey, n.name);
5695
5707
  }
5696
5708
  async function Os(n, e, t = !1) {
@@ -6121,7 +6133,7 @@ function oo({ config: n }) {
6121
6133
  * See the License for the specific language governing permissions and
6122
6134
  * limitations under the License.
6123
6135
  */
6124
- const Ce = "webStorageSupport";
6136
+ const Re = "webStorageSupport";
6125
6137
  class ao {
6126
6138
  constructor() {
6127
6139
  this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = hn, this._completeRedirectFn = Os, this._overrideRedirectResult = ks;
@@ -6164,9 +6176,9 @@ class ao {
6164
6176
  }), gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER), this.eventManagers[e._key()] = { manager: r }, this.iframes[e._key()] = t, r;
6165
6177
  }
6166
6178
  _isIframeWebStorageSupported(e, t) {
6167
- this.iframes[e._key()].send(Ce, { type: Ce }, (i) => {
6179
+ this.iframes[e._key()].send(Re, { type: Re }, (i) => {
6168
6180
  var s;
6169
- const o = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[Ce];
6181
+ const o = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[Re];
6170
6182
  o !== void 0 && t(!!o), T(
6171
6183
  e,
6172
6184
  "internal-error"
@@ -6402,7 +6414,7 @@ const Eo = /* @__PURE__ */ Sn({
6402
6414
  t.isIframe && parent.postMessage({ event: "ready" }, "*");
6403
6415
  }), (o, c) => {
6404
6416
  const a = kn("RouterView");
6405
- return Cn(), Rn(a, {
6417
+ return Rn(), Cn(a, {
6406
6418
  key: On(r).path
6407
6419
  });
6408
6420
  };
@@ -0,0 +1,3 @@
1
+ export declare const useFinancingAccess: () => {
2
+ hasFinancingAccess: import("vue").ComputedRef<boolean>;
3
+ };
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-financing",
3
- "version": "0.0.36-dev",
3
+ "version": "0.0.38-dev",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"