@feedmepos/mf-common 1.8.14 → 1.8.15
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api/index.d.ts.map +1 -1
- package/dist/app.js +217 -216
- package/package.json +1 -1
package/dist/api/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,EACR,WAAW,EACX,iBAAiB,EACjB,aAAa,EACb,oBAAoB,EACpB,KAAK,OAAO,EACb,MAAM,wBAAwB,CAAA;AAC/B,OAAc,EAAc,KAAK,aAAa,EAAsB,MAAM,OAAO,CAAA;AAIjF,wBAAsB,uBAAuB,IAAI,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAE5E;AAED,wBAAsB,0BAA0B,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAOjG;AAED,wBAAsB,uBAAuB,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC,CAEtE;AAED,wBAAsB,qBAAqB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAI/F;AAED,wBAAsB,uBAAuB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC,CAI1F;AAED,wBAAsB,sBAAsB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAEzF;AAED,wBAAsB,mBAAmB,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC,CAE/D;AAED,wBAAsB,SAAS,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAEpE;AAED,wBAAsB,aAAa,IAAI,OAAO,CAAC,MAAM,CAAC,CAErD;AA2BD,eAAO,MAAM,kBAAkB,QAAS,MAAM,KAAG,aAGhD,CAAA;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,EACR,WAAW,EACX,iBAAiB,EACjB,aAAa,EACb,oBAAoB,EACpB,KAAK,OAAO,EACb,MAAM,wBAAwB,CAAA;AAC/B,OAAc,EAAc,KAAK,aAAa,EAAsB,MAAM,OAAO,CAAA;AAIjF,wBAAsB,uBAAuB,IAAI,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAE5E;AAED,wBAAsB,0BAA0B,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAOjG;AAED,wBAAsB,uBAAuB,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC,CAEtE;AAED,wBAAsB,qBAAqB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAI/F;AAED,wBAAsB,uBAAuB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC,CAI1F;AAED,wBAAsB,sBAAsB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAEzF;AAED,wBAAsB,mBAAmB,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC,CAE/D;AAED,wBAAsB,SAAS,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAEpE;AAED,wBAAsB,aAAa,IAAI,OAAO,CAAC,MAAM,CAAC,CAErD;AA2BD,eAAO,MAAM,kBAAkB,QAAS,MAAM,KAAG,aAGhD,CAAA;AA0CD,eAAO,MAAM,cAAc;+BACQ;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,QAAQ;QAChF,WAAW,EAAE,MAAM,CAAA;KACpB,CAAC;uBAIuB,QAAQ,OAAO,CAAC;;qBAQ1B,MAAM;kBACT,MAAM;QACd,QAAQ;QAAE,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC;;qBAUrB,MAAM;kBACT,MAAM;QACd,QAAQ;QAAE,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC;CAKrC,CAAA"}
|
package/dist/app.js
CHANGED
@@ -30627,22 +30627,22 @@ ht.getAdapter = Cc.getAdapter;
|
|
30627
30627
|
ht.HttpStatusCode = Rg;
|
30628
30628
|
ht.default = ht;
|
30629
30629
|
const Ic = ht, {
|
30630
|
-
Axios:
|
30630
|
+
Axios: Bb,
|
30631
30631
|
AxiosError: Og,
|
30632
|
-
CanceledError:
|
30633
|
-
isCancel:
|
30634
|
-
CancelToken:
|
30635
|
-
VERSION:
|
30636
|
-
all:
|
30637
|
-
Cancel:
|
30638
|
-
isAxiosError:
|
30639
|
-
spread:
|
30640
|
-
toFormData:
|
30641
|
-
AxiosHeaders:
|
30642
|
-
HttpStatusCode:
|
30643
|
-
formToJSON:
|
30644
|
-
getAdapter:
|
30645
|
-
mergeConfig:
|
30632
|
+
CanceledError: Mb,
|
30633
|
+
isCancel: Nb,
|
30634
|
+
CancelToken: Db,
|
30635
|
+
VERSION: Lb,
|
30636
|
+
all: Ub,
|
30637
|
+
Cancel: qb,
|
30638
|
+
isAxiosError: Vb,
|
30639
|
+
spread: Gb,
|
30640
|
+
toFormData: Hb,
|
30641
|
+
AxiosHeaders: Yb,
|
30642
|
+
HttpStatusCode: Zb,
|
30643
|
+
formToJSON: Kb,
|
30644
|
+
getAdapter: xb,
|
30645
|
+
mergeConfig: Wb
|
30646
30646
|
} = Ic;
|
30647
30647
|
async function kg() {
|
30648
30648
|
return Yt(await Wn("").post("/permissions/levels/0", {}));
|
@@ -30705,13 +30705,14 @@ const Rc = (s) => (l) => {
|
|
30705
30705
|
}, ya = (s) => {
|
30706
30706
|
const { accountBackendUrl: l } = Oc();
|
30707
30707
|
return Rc(l)(s);
|
30708
|
-
}
|
30708
|
+
};
|
30709
|
+
cr.F_COUNTRY.enum.SG, cr.F_COUNTRY.enum.ID;
|
30709
30710
|
function Yt(s) {
|
30710
30711
|
return s.data;
|
30711
30712
|
}
|
30712
30713
|
function Oc() {
|
30713
|
-
var S;
|
30714
|
-
const { namespace: s, currentCountry: l } = jt(), u = s.value === "dev", m =
|
30714
|
+
var S, F;
|
30715
|
+
const { namespace: s, currentCountry: l } = jt(), u = s.value === "dev", m = ((S = l.value) == null ? void 0 : S.toLowerCase()) !== "my" ? `.${(F = l.value) == null ? void 0 : F.toLowerCase()}` : "", z = `https://portal-v2${`${u ? "-dev" : ""}${m}.feedmeapi.com`}`;
|
30715
30716
|
return {
|
30716
30717
|
portalBackendUrl: {}.mainBackend ?? z,
|
30717
30718
|
accountBackendUrl: {}.accountBackend ?? "https://account.feedmedev.cc/api"
|
@@ -30750,7 +30751,7 @@ const ba = {
|
|
30750
30751
|
await ya("").post("/login/password/reset", { customToken: s, password: l })
|
30751
30752
|
);
|
30752
30753
|
}
|
30753
|
-
},
|
30754
|
+
}, Ug = `<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
30754
30755
|
<path d="M30.2077 5.37601H17.7922C10.9349 5.37601 5.37598 10.935 5.37598 17.7923V30.2078C5.37598 37.0651 10.9349 42.624 17.7922 42.624H30.2077C37.065 42.624 42.624 37.0651 42.624 30.2078V17.7923C42.624 10.935 37.065 5.37601 30.2077 5.37601Z" fill="#FFDFCA"/>
|
30755
30756
|
<path d="M36.7976 13.2458C36.7849 13.2361 36.7722 13.2264 36.7596 13.2168C36.7469 13.2071 36.7343 13.1974 36.7216 13.1877C36.7089 13.1781 36.6963 13.1684 36.6836 13.1587C36.671 13.149 36.6583 13.1393 36.6456 13.1297C36.633 13.12 36.6203 13.1103 36.6077 13.1006C36.595 13.0909 36.5823 13.0813 36.5697 13.0716C36.557 13.0619 36.5443 13.0522 36.5317 13.0426C36.519 13.0329 36.5064 13.0232 36.4937 13.0135C36.481 13.0038 36.4684 12.9942 36.4557 12.9845C36.4431 12.9748 36.4304 12.9651 36.4177 12.9554C36.4051 12.9458 36.3924 12.9361 36.3797 12.9264C36.3671 12.9167 36.3544 12.9071 36.3418 12.8974C36.3291 12.8877 36.3164 12.878 36.3038 12.8683C36.2911 12.8587 36.2785 12.849 36.2658 12.8393C36.2531 12.8296 36.2405 12.8199 36.2278 12.8103C36.2151 12.8006 36.2025 12.7909 36.1898 12.7812C36.1772 12.7716 36.1645 12.7619 36.1518 12.7522C36.1392 12.7425 36.1265 12.7328 36.1139 12.7232C36.1012 12.7135 36.0885 12.7038 36.0759 12.6941C36.0632 12.6844 36.0506 12.6748 36.0379 12.6651C36.0252 12.6554 36.0126 12.6457 35.9999 12.6361C35.9872 12.6264 35.9746 12.6167 35.9619 12.607C35.9493 12.5973 35.9366 12.5877 35.9239 12.578C35.9113 12.5683 35.8986 12.5586 35.886 12.5489C35.8733 12.5393 35.8606 12.5296 35.848 12.5199C35.8353 12.5102 35.8226 12.5006 35.81 12.4909C35.7973 12.4812 35.7847 12.4715 35.772 12.4618C35.7593 12.4522 35.7467 12.4425 35.734 12.4328C35.7214 12.4231 35.7087 12.4134 35.696 12.4038C35.6834 12.3941 35.6707 12.3844 35.658 12.3747C35.3594 12.1417 34.9565 12.0352 34.5118 12.1104L12.28 15.7228C11.3564 15.8791 10.6079 16.7532 10.6079 17.6763V33.5819C10.6079 34.0778 10.8239 34.4865 11.1672 34.7344C11.1799 34.7441 11.1926 34.7538 11.2052 34.7635C11.2179 34.7731 11.2306 34.7828 11.2432 34.7925C11.2559 34.8022 11.2685 34.8118 11.2812 34.8215C11.2939 34.8312 11.3065 34.8409 11.3192 34.8506C11.3318 34.8602 11.3445 34.8699 11.3572 34.8796C11.3698 34.8893 11.3825 34.899 11.3951 34.9086C11.4078 34.9183 11.4205 34.928 11.4331 34.9377C11.4458 34.9473 11.4585 34.957 11.4711 34.9667C11.4838 34.9764 11.4964 34.9861 11.5091 34.9957C11.5218 35.0054 11.5344 35.0151 11.5471 35.0248C11.5597 35.0344 11.5724 35.0441 11.5851 35.0538C11.5977 35.0635 11.6104 35.0732 11.6231 35.0828C11.6357 35.0925 11.6484 35.1022 11.661 35.1119C11.6737 35.1216 11.6864 35.1312 11.699 35.1409C11.7117 35.1506 11.7243 35.1603 11.737 35.17C11.7497 35.1796 11.7623 35.1893 11.775 35.199C11.7877 35.2087 11.8003 35.2183 11.813 35.228C11.8256 35.2377 11.8383 35.2474 11.851 35.2571C11.8636 35.2667 11.8763 35.2764 11.8889 35.2861C11.9016 35.2958 11.9143 35.3054 11.9269 35.3151C11.9396 35.3248 11.9522 35.3345 11.9649 35.3442C11.9776 35.3538 11.9902 35.3635 12.0029 35.3732C12.0156 35.3829 12.0282 35.3926 12.0409 35.4022C12.0535 35.4119 12.0662 35.4216 12.0789 35.4313C12.0915 35.441 12.1042 35.4506 12.1168 35.4603C12.1295 35.47 12.1422 35.4797 12.1548 35.4893C12.1675 35.499 12.1802 35.5087 12.1928 35.5184C12.2055 35.5281 12.2181 35.5377 12.2308 35.5474C12.2435 35.5571 12.2561 35.5668 12.2688 35.5764C12.2814 35.5861 12.2941 35.5958 12.3068 35.6055C12.6069 35.8393 13.0113 35.9457 13.4575 35.8705L35.6893 32.1153C36.6091 31.9597 37.3547 31.0886 37.3547 30.1691V14.3946C37.3547 13.9002 37.1394 13.493 36.7976 13.2465V13.2458Z" fill="#FFA165"/>
|
30756
30757
|
<mask id="mask0_112_14979" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="10" y="12" width="28" height="24">
|
@@ -30791,7 +30792,7 @@ const ba = {
|
|
30791
30792
|
</linearGradient>
|
30792
30793
|
</defs>
|
30793
30794
|
</svg>
|
30794
|
-
`,
|
30795
|
+
`, qg = `<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
30795
30796
|
<path d="M30.2077 5.37601H17.7922C10.9349 5.37601 5.37598 10.935 5.37598 17.7923V30.2078C5.37598 37.0651 10.9349 42.624 17.7922 42.624H30.2077C37.065 42.624 42.624 37.0651 42.624 30.2078V17.7923C42.624 10.935 37.065 5.37601 30.2077 5.37601Z" fill="#FFDFDD"/>
|
30796
30797
|
<path d="M25.0525 34.0847L27.3937 35.7728C27.3937 35.7728 28.0371 36.2686 28.5978 36.1948V33.4621L25.0532 34.0854L25.0525 34.0847Z" fill="#FF5D53"/>
|
30797
30798
|
<path style="mix-blend-mode:multiply" opacity="0.45" d="M25.0525 34.0847L27.3937 35.7728C27.3937 35.7728 28.0371 36.2686 28.5978 36.1948V33.4621L25.0532 34.0854L25.0525 34.0847Z" fill="url(#paint0_linear_112_14973)"/>
|
@@ -30849,7 +30850,7 @@ const ba = {
|
|
30849
30850
|
</linearGradient>
|
30850
30851
|
</defs>
|
30851
30852
|
</svg>
|
30852
|
-
`,
|
30853
|
+
`, Vg = `<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
30853
30854
|
<path d="M30.2078 5.37601H17.7921C10.9349 5.37601 5.37598 10.9349 5.37598 17.7922V30.2079C5.37598 37.0651 10.9349 42.624 17.7921 42.624H30.2078C37.0651 42.624 42.624 37.0651 42.624 30.2079V17.7922C42.624 10.9349 37.0651 5.37601 30.2078 5.37601Z" fill="#CCE5ED"/>
|
30854
30855
|
<path d="M30.3512 19.08H15.905C15.3625 19.08 14.9226 19.5198 14.9226 20.0624V30.8061C14.9226 31.3487 15.3625 31.7886 15.905 31.7886H30.3512C30.8938 31.7886 31.3336 31.3487 31.3336 30.8061V20.0624C31.3336 19.5198 30.8938 19.08 30.3512 19.08Z" fill="white"/>
|
30855
30856
|
<path d="M12.0615 31.9855V18.3737C12.0615 17.5431 12.7348 16.7562 13.5654 16.6156L32.594 13.5049C34.015 13.2661 35.8607 13.9565 35.8607 14.9525L35.0589 28.805C35.0589 29.6324 34.3884 30.4164 33.5611 30.5561L14.281 34.5268C13.4504 34.6669 12.0615 33.9424 12.0615 31.986V31.9855Z" fill="#007BA6"/>
|
@@ -30967,7 +30968,7 @@ const ba = {
|
|
30967
30968
|
</linearGradient>
|
30968
30969
|
</defs>
|
30969
30970
|
</svg>
|
30970
|
-
`,
|
30971
|
+
`, Gg = `<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
30971
30972
|
<path d="M30.2077 5.37601H17.7922C10.9349 5.37601 5.37598 10.935 5.37598 17.7923V30.2078C5.37598 37.0651 10.9349 42.624 17.7922 42.624H30.2077C37.065 42.624 42.624 37.0651 42.624 30.2078V17.7923C42.624 10.935 37.065 5.37601 30.2077 5.37601Z" fill="#DEF3EC"/>
|
30972
30973
|
<path d="M28.1408 11.5476L36.1447 16.9071C36.6299 17.2576 36.9168 17.8198 36.9168 18.4178V32.5132C36.9168 33.4236 36.2587 34.2013 35.3615 34.3511L20.684 36.802C20.1936 36.884 19.6906 36.7662 19.2874 36.4754L11.8648 31.1158C11.3797 30.7654 11.0928 30.2032 11.0928 29.6052V15.5098C11.0928 14.5994 11.7508 13.8217 12.6481 13.6719L26.7443 11.221C27.2346 11.139 27.7377 11.2568 28.1408 11.5476Z" fill="#50BE9B"/>
|
30973
30974
|
<mask id="mask0_112_14966" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="11" y="11" width="26" height="26">
|
@@ -31154,7 +31155,7 @@ const ba = {
|
|
31154
31155
|
</defs>
|
31155
31156
|
</svg>
|
31156
31157
|
`;
|
31157
|
-
class
|
31158
|
+
class Hg {
|
31158
31159
|
constructor(l, {
|
31159
31160
|
role: u,
|
31160
31161
|
debugBy: m
|
@@ -31193,7 +31194,7 @@ class Yg {
|
|
31193
31194
|
this._permissions = l;
|
31194
31195
|
}
|
31195
31196
|
}
|
31196
|
-
const
|
31197
|
+
const Yg = Kc("portal-core", () => {
|
31197
31198
|
const s = je(null), l = je(!0), u = Lc(), m = je(!1), b = (n) => {
|
31198
31199
|
u.value = n, l.value = !1;
|
31199
31200
|
};
|
@@ -31216,7 +31217,7 @@ const Zg = Kc("portal-core", () => {
|
|
31216
31217
|
async function j(n) {
|
31217
31218
|
if (n) {
|
31218
31219
|
const { customClaims: t } = await ct.getUserClaims(), r = await Ng();
|
31219
|
-
s.value = new
|
31220
|
+
s.value = new Hg(n, t ?? {}, r), await X(), await P(), await N();
|
31220
31221
|
} else
|
31221
31222
|
s.value = null, he.value = [], $e(void 0);
|
31222
31223
|
}
|
@@ -31323,28 +31324,28 @@ const Zg = Kc("portal-core", () => {
|
|
31323
31324
|
{
|
31324
31325
|
name: "POS",
|
31325
31326
|
description: "Enhance in-store operations effectively ",
|
31326
|
-
icon:
|
31327
|
+
icon: Ug,
|
31327
31328
|
path: "/pos",
|
31328
31329
|
hasPlatformLevelNavigation: !0
|
31329
31330
|
},
|
31330
31331
|
{
|
31331
31332
|
name: "Connect",
|
31332
31333
|
description: "Drive sales through targeted campaigns",
|
31333
|
-
icon:
|
31334
|
+
icon: qg,
|
31334
31335
|
path: "/connect",
|
31335
31336
|
hasPlatformLevelNavigation: !0
|
31336
31337
|
},
|
31337
31338
|
{
|
31338
31339
|
name: "Report",
|
31339
31340
|
description: "Make informed decisions with detailed insights",
|
31340
|
-
icon:
|
31341
|
+
icon: Vg,
|
31341
31342
|
path: "/report",
|
31342
31343
|
hasPlatformLevelNavigation: !0
|
31343
31344
|
},
|
31344
31345
|
{
|
31345
31346
|
name: "Inventory",
|
31346
31347
|
description: "Optimize stock levels and track inventory in real-time",
|
31347
|
-
icon:
|
31348
|
+
icon: Gg,
|
31348
31349
|
path: "/inventory",
|
31349
31350
|
hasPlatformLevelNavigation: !0
|
31350
31351
|
},
|
@@ -31417,7 +31418,7 @@ const Zg = Kc("portal-core", () => {
|
|
31417
31418
|
setEmbdded: c
|
31418
31419
|
};
|
31419
31420
|
}), jt = () => {
|
31420
|
-
const s =
|
31421
|
+
const s = Yg();
|
31421
31422
|
return {
|
31422
31423
|
...s,
|
31423
31424
|
...xc(s)
|
@@ -31470,9 +31471,9 @@ const Zg = Kc("portal-core", () => {
|
|
31470
31471
|
</clipPath>
|
31471
31472
|
</defs>
|
31472
31473
|
</svg>
|
31473
|
-
`,
|
31474
|
+
`, Zg = {
|
31474
31475
|
class: /* @__PURE__ */ Zt(["flex items-center space-x-24", "xs:w-full xs:flex-col xs:space-x-0 xs:space-y-24"])
|
31475
|
-
},
|
31476
|
+
}, Kg = ["onClick"], xg = ["innerHTML"], Wg = { class: "fm-typo-en-body-lg-600" }, Jg = { class: "country-dialog--footer" }, Qg = /* @__PURE__ */ Ft({
|
31476
31477
|
__name: "SelectCountryDialog",
|
31477
31478
|
props: {
|
31478
31479
|
currentCountry: {},
|
@@ -31507,7 +31508,7 @@ const Zg = Kc("portal-core", () => {
|
|
31507
31508
|
ks(" Select country ")
|
31508
31509
|
])),
|
31509
31510
|
"dialog-footer": Ne(() => [
|
31510
|
-
me("div",
|
31511
|
+
me("div", Jg, [
|
31511
31512
|
ze(q, {
|
31512
31513
|
class: "ml-auto",
|
31513
31514
|
label: "Cancel",
|
@@ -31523,7 +31524,7 @@ const Zg = Kc("portal-core", () => {
|
|
31523
31524
|
])
|
31524
31525
|
]),
|
31525
31526
|
default: Ne(() => [
|
31526
|
-
me("div",
|
31527
|
+
me("div", Zg, [
|
31527
31528
|
(Ce(!0), Me(yt, null, Cn(P.countries, (Z) => {
|
31528
31529
|
var Q;
|
31529
31530
|
return Ce(), Me("div", {
|
@@ -31543,9 +31544,9 @@ const Zg = Kc("portal-core", () => {
|
|
31543
31544
|
me("span", {
|
31544
31545
|
class: "h-40 w-40",
|
31545
31546
|
innerHTML: S[Z.code]
|
31546
|
-
}, null, 8,
|
31547
|
-
me("p",
|
31548
|
-
], 10,
|
31547
|
+
}, null, 8, xg),
|
31548
|
+
me("p", Wg, it(F(Z.name)), 1)
|
31549
|
+
], 10, Kg);
|
31549
31550
|
}), 128))
|
31550
31551
|
])
|
31551
31552
|
]),
|
@@ -31559,16 +31560,16 @@ const Jn = (s, l) => {
|
|
31559
31560
|
for (const [m, b] of l)
|
31560
31561
|
u[m] = b;
|
31561
31562
|
return u;
|
31562
|
-
},
|
31563
|
+
}, Xg = /* @__PURE__ */ Jn(Qg, [["__scopeId", "data-v-72eb492f"]]);
|
31563
31564
|
function kc(s) {
|
31564
31565
|
return Uc() ? (qc(s), !0) : !1;
|
31565
31566
|
}
|
31566
31567
|
function Bt(s) {
|
31567
31568
|
return typeof s == "function" ? s() : Le(s);
|
31568
31569
|
}
|
31569
|
-
const
|
31570
|
+
const e0 = typeof window < "u" && typeof document < "u";
|
31570
31571
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
31571
|
-
const
|
31572
|
+
const t0 = (s) => s != null, n0 = Object.prototype.toString, r0 = (s) => n0.call(s) === "[object Object]", dn = () => {
|
31572
31573
|
};
|
31573
31574
|
function Pc(s, l) {
|
31574
31575
|
function u(...m) {
|
@@ -31578,7 +31579,7 @@ function Pc(s, l) {
|
|
31578
31579
|
}
|
31579
31580
|
return u;
|
31580
31581
|
}
|
31581
|
-
function
|
31582
|
+
function i0(s, l = {}) {
|
31582
31583
|
let u, m, b = dn;
|
31583
31584
|
const z = (F) => {
|
31584
31585
|
clearTimeout(F), b(), b = dn;
|
@@ -31594,7 +31595,7 @@ function a0(s, l = {}) {
|
|
31594
31595
|
});
|
31595
31596
|
};
|
31596
31597
|
}
|
31597
|
-
function
|
31598
|
+
function a0(...s) {
|
31598
31599
|
let l = 0, u, m = !0, b = dn, z, S, F, j, P;
|
31599
31600
|
!wi(s[0]) && typeof s[0] == "object" ? { delay: S, trailing: F = !0, leading: j = !0, rejectOnCancel: P = !1 } = s[0] : [S, F = !0, j = !0, P = !1] = s;
|
31600
31601
|
const N = () => {
|
@@ -31609,30 +31610,30 @@ function o0(...s) {
|
|
31609
31610
|
})), !j && !u && (u = setTimeout(() => m = !0, Z)), m = !1, z);
|
31610
31611
|
};
|
31611
31612
|
}
|
31612
|
-
function
|
31613
|
+
function o0(s) {
|
31613
31614
|
return s || Tl();
|
31614
31615
|
}
|
31615
|
-
function
|
31616
|
+
function s0(s, l = 200, u = {}) {
|
31616
31617
|
return Pc(
|
31617
|
-
|
31618
|
+
i0(l, u),
|
31618
31619
|
s
|
31619
31620
|
);
|
31620
31621
|
}
|
31621
|
-
function
|
31622
|
+
function u0(s, l = 200, u = !1, m = !0, b = !1) {
|
31622
31623
|
return Pc(
|
31623
|
-
|
31624
|
+
a0(l, u, m, b),
|
31624
31625
|
s
|
31625
31626
|
);
|
31626
31627
|
}
|
31627
|
-
function
|
31628
|
-
|
31628
|
+
function l0(s, l = !0, u) {
|
31629
|
+
o0() ? Oa(s, u) : l ? s() : Sl(s);
|
31629
31630
|
}
|
31630
31631
|
function $i(s) {
|
31631
31632
|
var l;
|
31632
31633
|
const u = Bt(s);
|
31633
31634
|
return (l = u == null ? void 0 : u.$el) != null ? l : u;
|
31634
31635
|
}
|
31635
|
-
const Io =
|
31636
|
+
const Io = e0 ? window : void 0;
|
31636
31637
|
function wl(...s) {
|
31637
31638
|
let l, u, m, b;
|
31638
31639
|
if (typeof s[0] == "string" || Array.isArray(s[0]) ? ([u, m, b] = s, l = Io) : [l, u, m, b] = s, !l)
|
@@ -31645,7 +31646,7 @@ function wl(...s) {
|
|
31645
31646
|
([N, q]) => {
|
31646
31647
|
if (S(), !N)
|
31647
31648
|
return;
|
31648
|
-
const Y =
|
31649
|
+
const Y = r0(q) ? { ...q } : q;
|
31649
31650
|
z.push(
|
31650
31651
|
...u.flatMap((Z) => m.map((Q) => F(N, Z, Q, Y)))
|
31651
31652
|
);
|
@@ -31656,26 +31657,26 @@ function wl(...s) {
|
|
31656
31657
|
};
|
31657
31658
|
return kc(P), P;
|
31658
31659
|
}
|
31659
|
-
function
|
31660
|
+
function d0() {
|
31660
31661
|
const s = je(!1), l = Tl();
|
31661
31662
|
return l && Oa(() => {
|
31662
31663
|
s.value = !0;
|
31663
31664
|
}, l), s;
|
31664
31665
|
}
|
31665
|
-
function
|
31666
|
-
const l =
|
31666
|
+
function c0(s) {
|
31667
|
+
const l = d0();
|
31667
31668
|
return Ke(() => (l.value, !!s()));
|
31668
31669
|
}
|
31669
|
-
function
|
31670
|
+
function f0(s, l, u = {}) {
|
31670
31671
|
const {
|
31671
31672
|
root: m,
|
31672
31673
|
rootMargin: b = "0px",
|
31673
31674
|
threshold: z = 0.1,
|
31674
31675
|
window: S = Io,
|
31675
31676
|
immediate: F = !0
|
31676
|
-
} = u, j =
|
31677
|
+
} = u, j = c0(() => S && "IntersectionObserver" in S), P = Ke(() => {
|
31677
31678
|
const Q = Bt(s);
|
31678
|
-
return (Array.isArray(Q) ? Q : [Q]).map($i).filter(
|
31679
|
+
return (Array.isArray(Q) ? Q : [Q]).map($i).filter(t0);
|
31679
31680
|
});
|
31680
31681
|
let N = dn;
|
31681
31682
|
const q = je(F), Y = j.value ? An(
|
@@ -31711,9 +31712,9 @@ function h0(s, l, u = {}) {
|
|
31711
31712
|
stop: Z
|
31712
31713
|
};
|
31713
31714
|
}
|
31714
|
-
function
|
31715
|
+
function h0(s, l = {}) {
|
31715
31716
|
const { window: u = Io, scrollTarget: m, threshold: b = 0 } = l, z = je(!1);
|
31716
|
-
return
|
31717
|
+
return f0(
|
31717
31718
|
s,
|
31718
31719
|
(S) => {
|
31719
31720
|
let F = z.value, j = 0;
|
@@ -31729,7 +31730,7 @@ function p0(s, l = {}) {
|
|
31729
31730
|
), z;
|
31730
31731
|
}
|
31731
31732
|
const zl = 1;
|
31732
|
-
function
|
31733
|
+
function p0(s, l = {}) {
|
31733
31734
|
const {
|
31734
31735
|
throttle: u = 0,
|
31735
31736
|
idle: m = 200,
|
@@ -31792,7 +31793,7 @@ function m0(s, l = {}) {
|
|
31792
31793
|
bottom: !1
|
31793
31794
|
}), X = ($e) => {
|
31794
31795
|
ie.value && (ie.value = !1, he.left = !1, he.right = !1, he.top = !1, he.bottom = !1, b($e));
|
31795
|
-
}, ve =
|
31796
|
+
}, ve = s0(X, u + m), fe = ($e) => {
|
31796
31797
|
var Ae;
|
31797
31798
|
if (!P)
|
31798
31799
|
return;
|
@@ -31814,9 +31815,9 @@ function m0(s, l = {}) {
|
|
31814
31815
|
return wl(
|
31815
31816
|
s,
|
31816
31817
|
"scroll",
|
31817
|
-
u ?
|
31818
|
+
u ? u0(_e, u, !0, !1) : _e,
|
31818
31819
|
F
|
31819
|
-
),
|
31820
|
+
), l0(() => {
|
31820
31821
|
try {
|
31821
31822
|
const $e = Bt(s);
|
31822
31823
|
if (!$e)
|
@@ -31842,7 +31843,7 @@ function m0(s, l = {}) {
|
|
31842
31843
|
}
|
31843
31844
|
};
|
31844
31845
|
}
|
31845
|
-
function
|
31846
|
+
function m0(s) {
|
31846
31847
|
return typeof Window < "u" && s instanceof Window ? s.document.documentElement : typeof Document < "u" && s instanceof Document ? s.documentElement : s;
|
31847
31848
|
}
|
31848
31849
|
function jc(s, l, u = {}) {
|
@@ -31851,7 +31852,7 @@ function jc(s, l, u = {}) {
|
|
31851
31852
|
direction: b = "bottom",
|
31852
31853
|
interval: z = 100,
|
31853
31854
|
canLoadMore: S = () => !0
|
31854
|
-
} = u, F = vs(
|
31855
|
+
} = u, F = vs(p0(
|
31855
31856
|
s,
|
31856
31857
|
{
|
31857
31858
|
...u,
|
@@ -31860,7 +31861,7 @@ function jc(s, l, u = {}) {
|
|
31860
31861
|
...u.offset
|
31861
31862
|
}
|
31862
31863
|
}
|
31863
|
-
)), j = je(), P = Ke(() => !!j.value), N = Ke(() =>
|
31864
|
+
)), j = je(), P = Ke(() => !!j.value), N = Ke(() => m0(Bt(s))), q = h0(N);
|
31864
31865
|
function Y() {
|
31865
31866
|
if (F.measure(), !N.value || !q.value || !S(N.value))
|
31866
31867
|
return;
|
@@ -31880,7 +31881,7 @@ function jc(s, l, u = {}) {
|
|
31880
31881
|
isLoading: P
|
31881
31882
|
};
|
31882
31883
|
}
|
31883
|
-
const
|
31884
|
+
const g0 = { class: "flex flex-col space-y-16" }, y0 = { class: "grow" }, b0 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, $0 = { class: "flex flex-col items-end" }, v0 = /* @__PURE__ */ Ft({
|
31884
31885
|
__name: "AllBusinessDialog",
|
31885
31886
|
props: {
|
31886
31887
|
close: { type: Function },
|
@@ -31922,7 +31923,7 @@ const y0 = { class: "flex flex-col space-y-16" }, b0 = { class: "grow" }, $0 = {
|
|
31922
31923
|
F.value || l.selectBusiness(j.value[0], !0);
|
31923
31924
|
}), (q, Y) => {
|
31924
31925
|
const Z = Ue("fm-search"), Q = Ue("fm-form"), oe = Ue("fm-avatar"), ie = Ue("FmButton"), x = Ue("FmListItem"), he = Ue("FmList");
|
31925
|
-
return Ce(), Me("div",
|
31926
|
+
return Ce(), Me("div", g0, [
|
31926
31927
|
ze(Q, null, {
|
31927
31928
|
default: Ne(() => [
|
31928
31929
|
ze(Z, {
|
@@ -31961,15 +31962,15 @@ const y0 = { class: "flex flex-col space-y-16" }, b0 = { class: "grow" }, $0 = {
|
|
31961
31962
|
default: Ne(() => {
|
31962
31963
|
var ve;
|
31963
31964
|
return [
|
31964
|
-
me("div",
|
31965
|
+
me("div", y0, [
|
31965
31966
|
me("div", {
|
31966
31967
|
class: Zt([[
|
31967
31968
|
X._id === ((ve = F.value) == null ? void 0 : ve.id) ? "text-fm-color-primary" : "text-fm-color-typo-primary"
|
31968
31969
|
], "fm-typo-en-body-lg-600"])
|
31969
31970
|
}, it(X.name), 3),
|
31970
|
-
me("div",
|
31971
|
+
me("div", b0, it(X._id), 1)
|
31971
31972
|
]),
|
31972
|
-
me("div",
|
31973
|
+
me("div", $0, [
|
31973
31974
|
ze(ie, {
|
31974
31975
|
outline: !0,
|
31975
31976
|
"prepend-icon": "file_copy",
|
@@ -31990,7 +31991,7 @@ const y0 = { class: "flex flex-col space-y-16" }, b0 = { class: "grow" }, $0 = {
|
|
31990
31991
|
};
|
31991
31992
|
}
|
31992
31993
|
});
|
31993
|
-
const
|
31994
|
+
const _0 = { class: "flex-1" }, E0 = { class: "profile-menu-item--title" }, F0 = { class: "profile-menu-item--subtitle" }, w0 = /* @__PURE__ */ Ft({
|
31994
31995
|
__name: "ProfileMenuItem",
|
31995
31996
|
props: {
|
31996
31997
|
title: {},
|
@@ -32009,13 +32010,13 @@ const E0 = { class: "flex-1" }, F0 = { class: "profile-menu-item--title" }, w0 =
|
|
32009
32010
|
name: l.perpendIcon,
|
32010
32011
|
outline: ""
|
32011
32012
|
}, null, 8, ["name"])) : et("", !0),
|
32012
|
-
me("div",
|
32013
|
-
me("p",
|
32013
|
+
me("div", _0, [
|
32014
|
+
me("p", E0, [
|
32014
32015
|
l.$slots["title-slot"] ? Ot(l.$slots, "title-slot", { key: 0 }, void 0, !0) : (Ce(), Me(yt, { key: 1 }, [
|
32015
32016
|
ks(it(l.title), 1)
|
32016
32017
|
], 64))
|
32017
32018
|
]),
|
32018
|
-
me("p",
|
32019
|
+
me("p", F0, it(l.subtitle), 1)
|
32019
32020
|
]),
|
32020
32021
|
l.appendIcon ? (Ce(), xe(m, {
|
32021
32022
|
key: 1,
|
@@ -32029,7 +32030,7 @@ const E0 = { class: "flex-1" }, F0 = { class: "profile-menu-item--title" }, w0 =
|
|
32029
32030
|
};
|
32030
32031
|
}
|
32031
32032
|
});
|
32032
|
-
const Jt = /* @__PURE__ */ Jn(
|
32033
|
+
const Jt = /* @__PURE__ */ Jn(w0, [["__scopeId", "data-v-c679bca7"]]), z0 = { class: "space-y-8" }, C0 = { class: "grow" }, S0 = { class: "fm-typo-en-body-lg-600 text-fm-color-primary" }, T0 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, A0 = { class: "flex flex-col items-end" }, I0 = { class: "grow" }, R0 = { class: "fm-typo-en-body-lg-400" }, O0 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, k0 = { class: "flex flex-col items-end" }, Su = /* @__PURE__ */ Ft({
|
32033
32034
|
__name: "MyBusinessDialog",
|
32034
32035
|
props: {
|
32035
32036
|
modelValue: { type: Boolean }
|
@@ -32050,7 +32051,7 @@ const Jt = /* @__PURE__ */ Jn(z0, [["__scopeId", "data-v-c679bca7"]]), C0 = { cl
|
|
32050
32051
|
ks(" My Business")
|
32051
32052
|
])),
|
32052
32053
|
default: Ne(() => [
|
32053
|
-
me("div",
|
32054
|
+
me("div", z0, [
|
32054
32055
|
ze(q, { class: "rounded-md border border-fm-color-neutral-gray-100" }, {
|
32055
32056
|
prepend: Ne(() => {
|
32056
32057
|
var Q, oe, ie;
|
@@ -32067,11 +32068,11 @@ const Jt = /* @__PURE__ */ Jn(z0, [["__scopeId", "data-v-c679bca7"]]), C0 = { cl
|
|
32067
32068
|
default: Ne(() => {
|
32068
32069
|
var Q, oe;
|
32069
32070
|
return [
|
32070
|
-
me("div",
|
32071
|
-
me("div",
|
32072
|
-
me("div",
|
32071
|
+
me("div", C0, [
|
32072
|
+
me("div", S0, it((Q = m.value) == null ? void 0 : Q.name), 1),
|
32073
|
+
me("div", T0, it((oe = m.value) == null ? void 0 : oe._id), 1)
|
32073
32074
|
]),
|
32074
|
-
me("div",
|
32075
|
+
me("div", A0, [
|
32075
32076
|
ze(N, {
|
32076
32077
|
outline: !0,
|
32077
32078
|
"prepend-icon": "file_copy",
|
@@ -32093,11 +32094,11 @@ const Jt = /* @__PURE__ */ Jn(z0, [["__scopeId", "data-v-c679bca7"]]), C0 = { cl
|
|
32093
32094
|
class: "rounded-md border border-fm-color-neutral-gray-100"
|
32094
32095
|
}, {
|
32095
32096
|
default: Ne(() => [
|
32096
|
-
me("div",
|
32097
|
-
me("div",
|
32098
|
-
me("div",
|
32097
|
+
me("div", I0, [
|
32098
|
+
me("div", R0, it(Q == null ? void 0 : Q.profile.name), 1),
|
32099
|
+
me("div", O0, it(Q == null ? void 0 : Q._id), 1)
|
32099
32100
|
]),
|
32100
|
-
me("div",
|
32101
|
+
me("div", k0, [
|
32101
32102
|
ze(N, {
|
32102
32103
|
outline: !0,
|
32103
32104
|
"prepend-icon": "file_copy",
|
@@ -32170,7 +32171,7 @@ const Jt = /* @__PURE__ */ Jn(z0, [["__scopeId", "data-v-c679bca7"]]), C0 = { cl
|
|
32170
32171
|
}, 16, ["modelValue", "inputmode"]);
|
32171
32172
|
};
|
32172
32173
|
}
|
32173
|
-
}),
|
32174
|
+
}), P0 = { class: "space-y-24" }, j0 = /* @__PURE__ */ Ft({
|
32174
32175
|
__name: "ConfirmPassword",
|
32175
32176
|
setup(s) {
|
32176
32177
|
const l = jt(), { emitData: u, emitAction: m } = Ps(), b = je(""), z = je(""), S = Ke({
|
@@ -32198,7 +32199,7 @@ const Jt = /* @__PURE__ */ Jn(z0, [["__scopeId", "data-v-c679bca7"]]), C0 = { cl
|
|
32198
32199
|
tokenType: "customtoken"
|
32199
32200
|
}), m("primary"));
|
32200
32201
|
};
|
32201
|
-
return (P, N) => (Ce(), Me("div",
|
32202
|
+
return (P, N) => (Ce(), Me("div", P0, [
|
32202
32203
|
ze(Os, {
|
32203
32204
|
modelValue: S.value,
|
32204
32205
|
"onUpdate:modelValue": N[0] || (N[0] = (q) => S.value = q),
|
@@ -32210,7 +32211,7 @@ const Jt = /* @__PURE__ */ Jn(z0, [["__scopeId", "data-v-c679bca7"]]), C0 = { cl
|
|
32210
32211
|
}, " Forgot your password? ")
|
32211
32212
|
]));
|
32212
32213
|
}
|
32213
|
-
}),
|
32214
|
+
}), B0 = { class: "space-y-24" }, M0 = /* @__PURE__ */ Ft({
|
32214
32215
|
__name: "NewPassword",
|
32215
32216
|
setup(s) {
|
32216
32217
|
const { emitData: l } = Ps(), u = je(""), m = je(""), b = Ke({
|
@@ -32228,7 +32229,7 @@ const Jt = /* @__PURE__ */ Jn(z0, [["__scopeId", "data-v-c679bca7"]]), C0 = { cl
|
|
32228
32229
|
m.value = S, l({ newOne: u.value, confirm: m.value });
|
32229
32230
|
}
|
32230
32231
|
});
|
32231
|
-
return (S, F) => (Ce(), Me("div",
|
32232
|
+
return (S, F) => (Ce(), Me("div", B0, [
|
32232
32233
|
ze(Os, {
|
32233
32234
|
modelValue: b.value,
|
32234
32235
|
"onUpdate:modelValue": F[0] || (F[0] = (j) => b.value = j),
|
@@ -32247,7 +32248,7 @@ const Jt = /* @__PURE__ */ Jn(z0, [["__scopeId", "data-v-c679bca7"]]), C0 = { cl
|
|
32247
32248
|
}, null, 8, ["modelValue", "rules"])
|
32248
32249
|
]));
|
32249
32250
|
}
|
32250
|
-
}), Cl = (s) => typeof s == "boolean",
|
32251
|
+
}), Cl = (s) => typeof s == "boolean", N0 = () => {
|
32251
32252
|
const s = js();
|
32252
32253
|
return {
|
32253
32254
|
simpleWait: (l, u) => async (...m) => {
|
@@ -32269,14 +32270,14 @@ const Jt = /* @__PURE__ */ Jn(z0, [["__scopeId", "data-v-c679bca7"]]), C0 = { cl
|
|
32269
32270
|
}
|
32270
32271
|
}
|
32271
32272
|
};
|
32272
|
-
},
|
32273
|
+
}, D0 = { class: "pt-16 space-y-40" }, L0 = { class: "space-y-8" }, U0 = { class: "space-y-24" }, q0 = { class: "space-y-8" }, V0 = { class: "flex gap-8 items-center justify-start" }, Bc = /* @__PURE__ */ Ft({
|
32273
32274
|
__name: "ManageAccountDialog",
|
32274
32275
|
props: {
|
32275
32276
|
modelValue: { type: Boolean }
|
32276
32277
|
},
|
32277
32278
|
setup(s) {
|
32278
32279
|
var Z, Q, oe;
|
32279
|
-
const u = Er(s, "modelValue"), m = js(), b = jt(), z = b.sessionUser, S = ka(), { simpleWait: F } =
|
32280
|
+
const u = Er(s, "modelValue"), m = js(), b = jt(), z = b.sessionUser, S = ka(), { simpleWait: F } = N0(), j = je(!1), P = je(""), N = je({
|
32280
32281
|
name: ((Z = z.value) == null ? void 0 : Z.displayName) ?? "",
|
32281
32282
|
email: ((Q = z.value) == null ? void 0 : Q.email) ?? "",
|
32282
32283
|
phone: ((oe = z.value) == null ? void 0 : oe.phoneNumber) ?? ""
|
@@ -32317,7 +32318,7 @@ const Jt = /* @__PURE__ */ Jn(z0, [["__scopeId", "data-v-c679bca7"]]), C0 = { cl
|
|
32317
32318
|
title: "Confirm Password",
|
32318
32319
|
subTitle: "To continue, first verify that it's you",
|
32319
32320
|
zIndex: 110,
|
32320
|
-
contentComponent:
|
32321
|
+
contentComponent: j0,
|
32321
32322
|
primaryActions: {
|
32322
32323
|
text: "Next",
|
32323
32324
|
close: !1,
|
@@ -32355,7 +32356,7 @@ const Jt = /* @__PURE__ */ Jn(z0, [["__scopeId", "data-v-c679bca7"]]), C0 = { cl
|
|
32355
32356
|
S.close(), S.open({
|
32356
32357
|
title: "Password",
|
32357
32358
|
zIndex: 110,
|
32358
|
-
contentComponent:
|
32359
|
+
contentComponent: M0,
|
32359
32360
|
primaryActions: {
|
32360
32361
|
text: "Change Password",
|
32361
32362
|
close: !1,
|
@@ -32405,7 +32406,7 @@ const Jt = /* @__PURE__ */ Jn(z0, [["__scopeId", "data-v-c679bca7"]]), C0 = { cl
|
|
32405
32406
|
header: "Manage Account"
|
32406
32407
|
}, {
|
32407
32408
|
"side-sheet-footer": Ne(() => [
|
32408
|
-
me("div",
|
32409
|
+
me("div", V0, [
|
32409
32410
|
ze(fe, {
|
32410
32411
|
loading: j.value,
|
32411
32412
|
label: "Update",
|
@@ -32422,10 +32423,10 @@ const Jt = /* @__PURE__ */ Jn(z0, [["__scopeId", "data-v-c679bca7"]]), C0 = { cl
|
|
32422
32423
|
])
|
32423
32424
|
]),
|
32424
32425
|
default: Ne(() => [
|
32425
|
-
me("div",
|
32426
|
-
me("div",
|
32426
|
+
me("div", D0, [
|
32427
|
+
me("div", L0, [
|
32427
32428
|
x[6] || (x[6] = me("p", { class: "fm-typo-en-body-lg-600" }, "Basic Information", -1)),
|
32428
|
-
me("div",
|
32429
|
+
me("div", U0, [
|
32429
32430
|
ze(he, {
|
32430
32431
|
modelValue: N.value.name,
|
32431
32432
|
"onUpdate:modelValue": x[0] || (x[0] = ($e) => N.value.name = $e),
|
@@ -32456,7 +32457,7 @@ const Jt = /* @__PURE__ */ Jn(z0, [["__scopeId", "data-v-c679bca7"]]), C0 = { cl
|
|
32456
32457
|
})
|
32457
32458
|
])
|
32458
32459
|
]),
|
32459
|
-
me("div",
|
32460
|
+
me("div", q0, [
|
32460
32461
|
x[7] || (x[7] = me("p", { class: "fm-typo-en-body-lg-600" }, "Password", -1)),
|
32461
32462
|
x[8] || (x[8] = me("p", { class: "fm-typo-en-body-md-400" }, "Set a password to login to your account.", -1)),
|
32462
32463
|
ze(ve, {
|
@@ -32473,7 +32474,7 @@ const Jt = /* @__PURE__ */ Jn(z0, [["__scopeId", "data-v-c679bca7"]]), C0 = { cl
|
|
32473
32474
|
}, 8, ["modelValue", "is-container", "is-container-props"]);
|
32474
32475
|
};
|
32475
32476
|
}
|
32476
|
-
}),
|
32477
|
+
}), G0 = { class: "user-info-icon user-info-icon--md ml-8" }, H0 = { class: "profile-menu" }, Y0 = { class: "profile-menu--profile" }, Z0 = { class: "user-info-icon user-info-icon--lg" }, K0 = { class: "flex-1 overflow-hidden" }, x0 = { class: "profile-displayName" }, W0 = { class: "profile-email" }, J0 = { class: "profile-menu--block" }, Q0 = { class: "profile-menu--block" }, X0 = ["innerHTML"], ey = { class: "profile-menu--block" }, ty = /* @__PURE__ */ Ft({
|
32477
32478
|
__name: "index",
|
32478
32479
|
props: {
|
32479
32480
|
user: {
|
@@ -32536,7 +32537,7 @@ const Jt = /* @__PURE__ */ Jn(z0, [["__scopeId", "data-v-c679bca7"]]), C0 = { cl
|
|
32536
32537
|
selectBusiness: F,
|
32537
32538
|
class: "flex-1 overflow-hidden"
|
32538
32539
|
},
|
32539
|
-
contentComponent:
|
32540
|
+
contentComponent: v0,
|
32540
32541
|
contentScrollable: !1,
|
32541
32542
|
contentClass: "flex flex-col",
|
32542
32543
|
minWidth: 598
|
@@ -32576,20 +32577,20 @@ const Jt = /* @__PURE__ */ Jn(z0, [["__scopeId", "data-v-c679bca7"]]), C0 = { cl
|
|
32576
32577
|
onPopoverChanged: _e[2] || (_e[2] = (Qe) => b.value = Qe)
|
32577
32578
|
}, {
|
32578
32579
|
"popover-button": Ne(() => [
|
32579
|
-
me("div",
|
32580
|
+
me("div", G0, it(x.value), 1)
|
32580
32581
|
]),
|
32581
32582
|
default: Ne(() => {
|
32582
32583
|
var Qe, Be, ce;
|
32583
32584
|
return [
|
32584
|
-
me("div",
|
32585
|
-
me("div",
|
32586
|
-
me("div",
|
32587
|
-
me("div",
|
32588
|
-
me("p",
|
32589
|
-
me("p",
|
32585
|
+
me("div", H0, [
|
32586
|
+
me("div", Y0, [
|
32587
|
+
me("div", Z0, it(x.value), 1),
|
32588
|
+
me("div", K0, [
|
32589
|
+
me("p", x0, it((Qe = s.user) == null ? void 0 : Qe.displayName), 1),
|
32590
|
+
me("p", W0, it((Be = s.user) == null ? void 0 : Be.email), 1)
|
32590
32591
|
])
|
32591
32592
|
]),
|
32592
|
-
me("div",
|
32593
|
+
me("div", J0, [
|
32593
32594
|
ze(Jt, {
|
32594
32595
|
subtitle: (ce = s.currentBusiness) == null ? void 0 : ce.name,
|
32595
32596
|
title: "Business",
|
@@ -32601,7 +32602,7 @@ const Jt = /* @__PURE__ */ Jn(z0, [["__scopeId", "data-v-c679bca7"]]), C0 = { cl
|
|
32601
32602
|
})
|
32602
32603
|
]),
|
32603
32604
|
_e[4] || (_e[4] = me("div", { class: "profile-menu--divider" }, null, -1)),
|
32604
|
-
me("div",
|
32605
|
+
me("div", Q0, [
|
32605
32606
|
ze(Jt, { title: "Help and Feedback" }),
|
32606
32607
|
ze(Ae, {
|
32607
32608
|
offset: 12,
|
@@ -32629,7 +32630,7 @@ const Jt = /* @__PURE__ */ Jn(z0, [["__scopeId", "data-v-c679bca7"]]), C0 = { cl
|
|
32629
32630
|
me("span", {
|
32630
32631
|
class: "h-auto w-[20px]",
|
32631
32632
|
innerHTML: X[y.code]
|
32632
|
-
}, null, 8,
|
32633
|
+
}, null, 8, X0)
|
32633
32634
|
]),
|
32634
32635
|
_: 2
|
32635
32636
|
}, 1032, ["label", "model-value", "onUpdate:modelValue"]))), 128))
|
@@ -32638,7 +32639,7 @@ const Jt = /* @__PURE__ */ Jn(z0, [["__scopeId", "data-v-c679bca7"]]), C0 = { cl
|
|
32638
32639
|
}, 8, ["placement", "trigger"])
|
32639
32640
|
]),
|
32640
32641
|
_e[5] || (_e[5] = me("div", { class: "profile-menu--divider" }, null, -1)),
|
32641
|
-
me("div",
|
32642
|
+
me("div", ey, [
|
32642
32643
|
ze(Jt, { onClick: q }, {
|
32643
32644
|
"title-slot": Ne(() => _e[3] || (_e[3] = [
|
32644
32645
|
me("span", { class: "text-fm-color-typo-error" }, "Log out", -1)
|
@@ -32655,7 +32656,7 @@ const Jt = /* @__PURE__ */ Jn(z0, [["__scopeId", "data-v-c679bca7"]]), C0 = { cl
|
|
32655
32656
|
};
|
32656
32657
|
}
|
32657
32658
|
});
|
32658
|
-
const Mc = /* @__PURE__ */ Jn(
|
32659
|
+
const Mc = /* @__PURE__ */ Jn(ty, [["__scopeId", "data-v-65a7e5a4"]]), ny = `<svg width="388" height="388" viewBox="0 0 388 388" fill="none" xmlns="http://www.w3.org/2000/svg">
|
32659
32660
|
<path d="M239.449 0H148.553C66.5106 0 0.00195312 66.5086 0.00195312 148.551V239.447C0.00195312 321.489 66.5106 387.998 148.553 387.998H239.449C321.491 387.998 388 321.489 388 239.447V148.551C388 66.5086 321.491 0 239.449 0Z" fill="url(#paint0_linear_8849_557)" style=""/>
|
32660
32661
|
<mask id="mask0_8849_557" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="388" height="388">
|
32661
32662
|
<path d="M239.447 0H148.551C66.5086 0 0 66.5086 0 148.551V239.447C0 321.489 66.5086 387.998 148.551 387.998H239.447C321.49 387.998 387.998 321.489 387.998 239.447V148.551C387.998 66.5086 321.49 0 239.447 0Z" fill="white" style="fill:white;fill:white;fill-opacity:1;"/>
|
@@ -32671,15 +32672,15 @@ const Mc = /* @__PURE__ */ Jn(ny, [["__scopeId", "data-v-65a7e5a4"]]), ry = `<sv
|
|
32671
32672
|
</defs>
|
32672
32673
|
</svg>
|
32673
32674
|
`;
|
32674
|
-
const
|
32675
|
+
const ry = ["innerHTML"], iy = {
|
32675
32676
|
__name: "FeedmeLogo",
|
32676
32677
|
setup(s) {
|
32677
32678
|
return (l, u) => (Ce(), Me("div", {
|
32678
32679
|
class: "logo",
|
32679
|
-
innerHTML: Le(
|
32680
|
-
}, null, 8,
|
32680
|
+
innerHTML: Le(ny)
|
32681
|
+
}, null, 8, ry));
|
32681
32682
|
}
|
32682
|
-
},
|
32683
|
+
}, ay = /* @__PURE__ */ Jn(iy, [["__scopeId", "data-v-e8337bff"]]), oy = { class: "w-full flex justify-center" }, sy = /* @__PURE__ */ Ft({
|
32683
32684
|
__name: "DebugUserDialog",
|
32684
32685
|
setup(s) {
|
32685
32686
|
const l = je(""), u = jt(), m = Ke(() => u.currentCountry.value || "MY"), { emitData: b } = Ps();
|
@@ -32687,7 +32688,7 @@ const iy = ["innerHTML"], ay = {
|
|
32687
32688
|
b(l.value.trim().replace(/ /g, ""));
|
32688
32689
|
}), (z, S) => {
|
32689
32690
|
const F = Ue("FmPhoneNumber");
|
32690
|
-
return Ce(), Me("div",
|
32691
|
+
return Ce(), Me("div", oy, [
|
32691
32692
|
ze(F, {
|
32692
32693
|
modelValue: l.value,
|
32693
32694
|
"onUpdate:modelValue": S[0] || (S[0] = (j) => l.value = j),
|
@@ -32708,7 +32709,7 @@ function Tu() {
|
|
32708
32709
|
l.open({
|
32709
32710
|
title: "Debug user",
|
32710
32711
|
subTitle: "Enter phone number to debug",
|
32711
|
-
contentComponent:
|
32712
|
+
contentComponent: sy,
|
32712
32713
|
primaryActions: {
|
32713
32714
|
text: "Debug",
|
32714
32715
|
variant: "primary",
|
@@ -32774,19 +32775,19 @@ function Tu() {
|
|
32774
32775
|
}
|
32775
32776
|
};
|
32776
32777
|
}
|
32777
|
-
const
|
32778
|
+
const uy = {
|
32778
32779
|
key: 0,
|
32779
32780
|
class: "app-header"
|
32780
|
-
},
|
32781
|
+
}, ly = { class: "flex flex-1 gap-12" }, dy = {
|
32781
32782
|
class: "overflow-auto",
|
32782
32783
|
style: { width: "600px" }
|
32783
|
-
},
|
32784
|
+
}, cy = { class: "app-menu" }, fy = { class: "app-menu--content" }, hy = { class: "app-menu--list flex flex-wrap gap-24" }, py = ["onClick"], my = { class: "app-menu--item" }, gy = ["innerHTML"], yy = {
|
32784
32785
|
key: 1,
|
32785
32786
|
class: "w-48 h-48 rounded-md bg-fm-color-neutral-gray-400"
|
32786
|
-
},
|
32787
|
+
}, by = { class: "app-menu--item--content" }, $y = { class: "app-menu--name" }, vy = {
|
32787
32788
|
key: 0,
|
32788
32789
|
class: "app-menu--description"
|
32789
|
-
},
|
32790
|
+
}, _y = { class: "flex-1 overflow-hidden" }, Ey = { class: "flex justify-end" }, Fy = /* @__PURE__ */ Ft({
|
32790
32791
|
__name: "PortalDesktop",
|
32791
32792
|
props: {
|
32792
32793
|
dropdownOpened: { type: Boolean },
|
@@ -32807,8 +32808,8 @@ const ly = {
|
|
32807
32808
|
return (q, Y) => {
|
32808
32809
|
const Z = Ue("fm-button"), Q = Ue("FmIcon"), oe = Ue("fm-menu"), ie = Ue("router-view");
|
32809
32810
|
return Ce(), Me("div", null, [
|
32810
|
-
q.embedded ? et("", !0) : (Ce(), Me("div",
|
32811
|
-
me("div",
|
32811
|
+
q.embedded ? et("", !0) : (Ce(), Me("div", uy, [
|
32812
|
+
me("div", ly, [
|
32812
32813
|
ze(oe, {
|
32813
32814
|
ref_key: "menuRef",
|
32814
32815
|
ref: P,
|
@@ -32828,11 +32829,11 @@ const ly = {
|
|
32828
32829
|
];
|
32829
32830
|
}),
|
32830
32831
|
default: Ne(() => [
|
32831
|
-
me("div",
|
32832
|
-
me("div",
|
32833
|
-
me("div",
|
32832
|
+
me("div", dy, [
|
32833
|
+
me("div", cy, [
|
32834
|
+
me("div", fy, [
|
32834
32835
|
Y[7] || (Y[7] = me("p", { class: "fm-typo-en-body-sm-600" }, "Switch to", -1)),
|
32835
|
-
me("div",
|
32836
|
+
me("div", hy, [
|
32836
32837
|
(Ce(!0), Me(yt, null, Cn(q.apps, (x) => (Ce(), Me(yt, {
|
32837
32838
|
key: x.name
|
32838
32839
|
}, [
|
@@ -32841,22 +32842,22 @@ const ly = {
|
|
32841
32842
|
class: "w-[264px] cursor-pointer",
|
32842
32843
|
onClick: (he) => N(x)
|
32843
32844
|
}, [
|
32844
|
-
me("div",
|
32845
|
+
me("div", my, [
|
32845
32846
|
x.icon ? (Ce(), Me("div", {
|
32846
32847
|
key: 0,
|
32847
32848
|
class: "app-menu--item--icon",
|
32848
32849
|
innerHTML: x.icon
|
32849
|
-
}, null, 8,
|
32850
|
-
me("div",
|
32851
|
-
me("p",
|
32852
|
-
x.description ? (Ce(), Me("p",
|
32850
|
+
}, null, 8, gy)) : (Ce(), Me("div", yy)),
|
32851
|
+
me("div", by, [
|
32852
|
+
me("p", $y, it(x.name), 1),
|
32853
|
+
x.description ? (Ce(), Me("p", vy, it(x.description), 1)) : et("", !0)
|
32853
32854
|
]),
|
32854
32855
|
ze(Q, {
|
32855
32856
|
name: "chevron_right",
|
32856
32857
|
size: "md"
|
32857
32858
|
})
|
32858
32859
|
])
|
32859
|
-
], 8,
|
32860
|
+
], 8, py)) : et("", !0)
|
32860
32861
|
], 64))), 128))
|
32861
32862
|
])
|
32862
32863
|
])
|
@@ -32866,9 +32867,9 @@ const ly = {
|
|
32866
32867
|
_: 1
|
32867
32868
|
}, 8, ["show-menu"])
|
32868
32869
|
]),
|
32869
|
-
ze(
|
32870
|
-
me("div",
|
32871
|
-
me("div",
|
32870
|
+
ze(ay),
|
32871
|
+
me("div", _y, [
|
32872
|
+
me("div", Ey, [
|
32872
32873
|
Le(z) || Le(S) ? (Ce(), xe(Z, {
|
32873
32874
|
key: 0,
|
32874
32875
|
icon: "bug_report",
|
@@ -32926,29 +32927,29 @@ const ly = {
|
|
32926
32927
|
};
|
32927
32928
|
}
|
32928
32929
|
});
|
32929
|
-
const
|
32930
|
+
const wy = /* @__PURE__ */ Jn(Fy, [["__scopeId", "data-v-823ad21a"]]), zy = { class: "app-container min-h-dvh bg-fm-color-neutral-gray-100 pb-56" }, Cy = {
|
32930
32931
|
key: 0,
|
32931
32932
|
class: /* @__PURE__ */ Zt([
|
32932
32933
|
"w-screen bg-fm-color-neutral-white",
|
32933
32934
|
"h-56 px-24 py-4",
|
32934
32935
|
"flex items-center justify-between"
|
32935
32936
|
])
|
32936
|
-
},
|
32937
|
+
}, Sy = {
|
32937
32938
|
key: 0,
|
32938
32939
|
class: "flex-1 overflow-hidden"
|
32939
|
-
},
|
32940
|
+
}, Ty = {
|
32940
32941
|
key: 0,
|
32941
32942
|
class: "flex justify-end"
|
32942
|
-
},
|
32943
|
+
}, Ay = { class: "relative flex-1 bg-fm-color-neutral-white" }, Iy = { class: "app-sidebar" }, Ry = {
|
32943
32944
|
key: 0,
|
32944
32945
|
class: "absolute inset-0 space-y-24 bg-fm-color-neutral-white px-24 py-16"
|
32945
|
-
},
|
32946
|
+
}, Oy = { class: "space-y-8" }, ky = { class: "grid grid-cols-2 gap-24" }, Py = ["onClick"], jy = { class: "flex items-center space-x-8" }, By = ["innerHTML"], My = {
|
32946
32947
|
key: 1,
|
32947
32948
|
class: "w-48 h-48 rounded-md bg-fm-color-neutral-gray-400"
|
32948
|
-
},
|
32949
|
+
}, Ny = { class: "flex-1" }, Dy = { class: "fm-typo-en-body-lg-600" }, Ly = {
|
32949
32950
|
key: 0,
|
32950
32951
|
class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary"
|
32951
|
-
},
|
32952
|
+
}, Uy = /* @__PURE__ */ Ft({
|
32952
32953
|
__name: "PortalTablet",
|
32953
32954
|
props: {
|
32954
32955
|
dropdownOpened: { type: Boolean },
|
@@ -32989,7 +32990,7 @@ const zy = /* @__PURE__ */ Jn(wy, [["__scopeId", "data-v-823ad21a"]]), Cy = { cl
|
|
32989
32990
|
var X;
|
32990
32991
|
const ie = Ue("fm-overlay"), x = Ue("fm-button"), he = Ue("FmIcon");
|
32991
32992
|
return Ce(), Me(yt, null, [
|
32992
|
-
me("div",
|
32993
|
+
me("div", zy, [
|
32993
32994
|
Ot(Q.$slots, "default", {}, void 0, !0)
|
32994
32995
|
]),
|
32995
32996
|
(Ce(), xe(Sa, { to: "body" }, [
|
@@ -33014,7 +33015,7 @@ const zy = /* @__PURE__ */ Jn(wy, [["__scopeId", "data-v-823ad21a"]]), Cy = { cl
|
|
33014
33015
|
class: Zt([Le(m) ? ["h-64"] : ["h-0"], "transition-[height] duration-300"]),
|
33015
33016
|
onClick: oe[0] || (oe[0] = (ve) => m.value = !1)
|
33016
33017
|
}, null, 2),
|
33017
|
-
Q.embedded && Le(m) ? et("", !0) : (Ce(), Me("div",
|
33018
|
+
Q.embedded && Le(m) ? et("", !0) : (Ce(), Me("div", Cy, [
|
33018
33019
|
ze(x, {
|
33019
33020
|
label: ((X = Q.currentApp) == null ? void 0 : X.name) || "Portal",
|
33020
33021
|
"prepend-icon": Le(m) ? P.value === "PLATFORM" ? "arrow_back" : "close" : "apps",
|
@@ -33022,8 +33023,8 @@ const zy = /* @__PURE__ */ Jn(wy, [["__scopeId", "data-v-823ad21a"]]), Cy = { cl
|
|
33022
33023
|
variant: "tertiary",
|
33023
33024
|
onClick: N
|
33024
33025
|
}, null, 8, ["label", "prepend-icon"]),
|
33025
|
-
!Le(m) || Le(m) && P.value === "PORTAL" ? (Ce(), Me("div",
|
33026
|
-
Q.embedded ? et("", !0) : (Ce(), Me("div",
|
33026
|
+
!Le(m) || Le(m) && P.value === "PORTAL" ? (Ce(), Me("div", Sy, [
|
33027
|
+
Q.embedded ? et("", !0) : (Ce(), Me("div", Ty, [
|
33027
33028
|
Le(z) || Le(S) ? (Ce(), xe(x, {
|
33028
33029
|
key: 0,
|
33029
33030
|
"icon-color": Le(S) ? "primary" : void 0,
|
@@ -33058,16 +33059,16 @@ const zy = /* @__PURE__ */ Jn(wy, [["__scopeId", "data-v-823ad21a"]]), Cy = { cl
|
|
33058
33059
|
]))
|
33059
33060
|
])) : et("", !0)
|
33060
33061
|
])),
|
33061
|
-
me("div",
|
33062
|
-
me("div",
|
33062
|
+
me("div", Ay, [
|
33063
|
+
me("div", Iy, [
|
33063
33064
|
Ot(Q.$slots, "sidebar", {}, void 0, !0)
|
33064
33065
|
]),
|
33065
33066
|
ze(qr, { name: "slide-right" }, {
|
33066
33067
|
default: Ne(() => [
|
33067
|
-
P.value === "PORTAL" ? (Ce(), Me("div",
|
33068
|
-
me("div",
|
33068
|
+
P.value === "PORTAL" ? (Ce(), Me("div", Ry, [
|
33069
|
+
me("div", Oy, [
|
33069
33070
|
oe[7] || (oe[7] = me("p", { class: "fm-typo-en-body-sm-600" }, "Switch to", -1)),
|
33070
|
-
me("div",
|
33071
|
+
me("div", ky, [
|
33071
33072
|
(Ce(!0), Me(yt, null, Cn(Q.apps, (ve) => (Ce(), Me(yt, {
|
33072
33073
|
key: ve.name
|
33073
33074
|
}, [
|
@@ -33076,22 +33077,22 @@ const zy = /* @__PURE__ */ Jn(wy, [["__scopeId", "data-v-823ad21a"]]), Cy = { cl
|
|
33076
33077
|
class: "w-full cursor-pointer",
|
33077
33078
|
onClick: (fe) => b("select-app", ve)
|
33078
33079
|
}, [
|
33079
|
-
me("div",
|
33080
|
+
me("div", jy, [
|
33080
33081
|
ve.icon ? (Ce(), Me("div", {
|
33081
33082
|
key: 0,
|
33082
33083
|
class: "h-48 w-48",
|
33083
33084
|
innerHTML: ve.icon
|
33084
|
-
}, null, 8,
|
33085
|
-
me("div",
|
33086
|
-
me("p",
|
33087
|
-
ve.description ? (Ce(), Me("p",
|
33085
|
+
}, null, 8, By)) : (Ce(), Me("div", My)),
|
33086
|
+
me("div", Ny, [
|
33087
|
+
me("p", Dy, it(ve.name), 1),
|
33088
|
+
ve.description ? (Ce(), Me("p", Ly, it(ve.description), 1)) : et("", !0)
|
33088
33089
|
]),
|
33089
33090
|
ze(he, {
|
33090
33091
|
name: "chevron_right",
|
33091
33092
|
size: "md"
|
33092
33093
|
})
|
33093
33094
|
])
|
33094
|
-
], 8,
|
33095
|
+
], 8, Py)) : et("", !0)
|
33095
33096
|
], 64))), 128))
|
33096
33097
|
])
|
33097
33098
|
])
|
@@ -33106,7 +33107,7 @@ const zy = /* @__PURE__ */ Jn(wy, [["__scopeId", "data-v-823ad21a"]]), Cy = { cl
|
|
33106
33107
|
};
|
33107
33108
|
}
|
33108
33109
|
});
|
33109
|
-
const
|
33110
|
+
const qy = /* @__PURE__ */ Jn(Uy, [["__scopeId", "data-v-4b863b4b"]]), Vy = { class: "flex h-dvh w-screen flex-col bg-fm-color-neutral-white" }, Gy = { class: "flex items-center justify-between px-16 pb-8 pt-16" }, Hy = { class: "p-16" }, Yy = { class: "grow" }, Zy = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ky = { class: "flex flex-col items-end" }, xy = { class: "flex space-x-8 px-24 py-16" }, Wy = /* @__PURE__ */ Ft({
|
33110
33111
|
__name: "BusinessDialogMobile",
|
33111
33112
|
props: {
|
33112
33113
|
modelValue: { type: Boolean },
|
@@ -33156,8 +33157,8 @@ const Vy = /* @__PURE__ */ Jn(qy, [["__scopeId", "data-v-4b863b4b"]]), Gy = { cl
|
|
33156
33157
|
"z-index": 51
|
33157
33158
|
}, {
|
33158
33159
|
default: Ne(() => [
|
33159
|
-
me("div",
|
33160
|
-
me("div",
|
33160
|
+
me("div", Vy, [
|
33161
|
+
me("div", Gy, [
|
33161
33162
|
Z[3] || (Z[3] = me("h2", { class: "fm-typo-en-title-md-600" }, "Select business", -1)),
|
33162
33163
|
ze(Q, {
|
33163
33164
|
"prepend-icon": "close",
|
@@ -33165,7 +33166,7 @@ const Vy = /* @__PURE__ */ Jn(qy, [["__scopeId", "data-v-4b863b4b"]]), Gy = { cl
|
|
33165
33166
|
onClick: Z[0] || (Z[0] = (_e) => S.value = !1)
|
33166
33167
|
})
|
33167
33168
|
]),
|
33168
|
-
me("div",
|
33169
|
+
me("div", Hy, [
|
33169
33170
|
ze(ie, null, {
|
33170
33171
|
default: Ne(() => [
|
33171
33172
|
ze(oe, {
|
@@ -33205,15 +33206,15 @@ const Vy = /* @__PURE__ */ Jn(qy, [["__scopeId", "data-v-4b863b4b"]]), Gy = { cl
|
|
33205
33206
|
default: Ne(() => {
|
33206
33207
|
var $e;
|
33207
33208
|
return [
|
33208
|
-
me("div",
|
33209
|
+
me("div", Yy, [
|
33209
33210
|
me("div", {
|
33210
33211
|
class: Zt([[
|
33211
33212
|
_e._id === (($e = j.value) == null ? void 0 : $e.id) ? "text-fm-color-primary" : "text-fm-color-typo-primary"
|
33212
33213
|
], "fm-typo-en-body-lg-600"])
|
33213
33214
|
}, it(_e.name), 3),
|
33214
|
-
me("div",
|
33215
|
+
me("div", Zy, it(_e._id), 1)
|
33215
33216
|
]),
|
33216
|
-
me("div",
|
33217
|
+
me("div", Ky, [
|
33217
33218
|
ze(he, {
|
33218
33219
|
outline: !0,
|
33219
33220
|
"prepend-icon": "file_copy",
|
@@ -33230,7 +33231,7 @@ const Vy = /* @__PURE__ */ Jn(qy, [["__scopeId", "data-v-4b863b4b"]]), Gy = { cl
|
|
33230
33231
|
_: 1
|
33231
33232
|
})
|
33232
33233
|
], 512),
|
33233
|
-
me("div",
|
33234
|
+
me("div", xy, [
|
33234
33235
|
ze(Q, {
|
33235
33236
|
label: "Confirm",
|
33236
33237
|
onClick: N
|
@@ -33252,32 +33253,32 @@ const Vy = /* @__PURE__ */ Jn(qy, [["__scopeId", "data-v-4b863b4b"]]), Gy = { cl
|
|
33252
33253
|
};
|
33253
33254
|
}
|
33254
33255
|
});
|
33255
|
-
const
|
33256
|
+
const Jy = /* @__PURE__ */ Jn(Wy, [["__scopeId", "data-v-daa06e6b"]]), Qy = { class: "flex h-screen w-screen flex-col bg-fm-color-neutral-white" }, Xy = {
|
33256
33257
|
key: 0,
|
33257
33258
|
class: "flex h-56 items-center space-x-8 border-b border-b-fm-color-neutral-gray-100 px-16"
|
33258
|
-
},
|
33259
|
+
}, eb = {
|
33259
33260
|
key: 0,
|
33260
33261
|
class: "fm-typo-en-body-lg-600"
|
33261
|
-
},
|
33262
|
+
}, tb = { class: "relative flex-1 overflow-auto" }, nb = { class: "app-sidebar" }, rb = {
|
33262
33263
|
key: 0,
|
33263
33264
|
class: "absolute inset-0 space-y-24 bg-fm-color-neutral-white px-24 py-16"
|
33264
|
-
},
|
33265
|
+
}, ib = { class: "space-y-8" }, ab = { class: "space-y-24" }, ob = ["onClick"], sb = { class: "flex items-center space-x-8" }, ub = ["innerHTML"], lb = {
|
33265
33266
|
key: 1,
|
33266
33267
|
class: "w-48 h-48 rounded-md bg-fm-color-neutral-gray-400"
|
33267
|
-
},
|
33268
|
+
}, db = { class: "flex-1" }, cb = { class: "fm-typo-en-body-lg-600" }, fb = {
|
33268
33269
|
key: 0,
|
33269
33270
|
class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary"
|
33270
|
-
},
|
33271
|
+
}, hb = { class: "fm-typo-en-body-md-400 flex-1" }, pb = { class: "px-4" }, mb = ["innerHTML"], gb = { class: "pb-32" }, yb = { class: "flex items-center space-x-8 px-16 py-4" }, bb = { class: "user-info-icon" }, $b = { class: "flex-1" }, vb = { class: "fm-typo-en-body-lg-400" }, _b = { class: "fm-typo-en-body-md-400 text-fm-color-typo-tertiary" }, Eb = { class: "min-w-screen min-h-screen bg-fm-color-neutral-gray-100 pb-56" }, Fb = {
|
33271
33272
|
class: /* @__PURE__ */ Zt([
|
33272
33273
|
"fixed bottom-0 left-0 right-0",
|
33273
33274
|
"w-screen bg-fm-color-neutral-white",
|
33274
33275
|
"px-16 py-[10px]",
|
33275
33276
|
"flex items-center justify-between"
|
33276
33277
|
])
|
33277
|
-
},
|
33278
|
+
}, wb = {
|
33278
33279
|
key: 0,
|
33279
33280
|
class: "flex items-center"
|
33280
|
-
},
|
33281
|
+
}, zb = /* @__PURE__ */ Ft({
|
33281
33282
|
__name: "PortalMobile",
|
33282
33283
|
props: {
|
33283
33284
|
dropdownOpened: { type: Boolean },
|
@@ -33382,25 +33383,25 @@ const Qy = /* @__PURE__ */ Jn(Jy, [["__scopeId", "data-v-daa06e6b"]]), Xy = { cl
|
|
33382
33383
|
default: Ne(() => {
|
33383
33384
|
var c;
|
33384
33385
|
return [
|
33385
|
-
me("div",
|
33386
|
-
Be.embedded ? et("", !0) : (Ce(), Me("div",
|
33386
|
+
me("div", Qy, [
|
33387
|
+
Be.embedded ? et("", !0) : (Ce(), Me("div", Xy, [
|
33387
33388
|
ze(e, {
|
33388
33389
|
"prepend-icon": j.value === "PLATFORM" ? "arrow_back" : "close",
|
33389
33390
|
variant: "tertiary",
|
33390
33391
|
onClick: Y
|
33391
33392
|
}, null, 8, ["prepend-icon"]),
|
33392
|
-
j.value === "PLATFORM" ? (Ce(), Me("h2",
|
33393
|
+
j.value === "PLATFORM" ? (Ce(), Me("h2", eb, it(((c = Be.currentApp) == null ? void 0 : c.name) ?? "Portal"), 1)) : et("", !0)
|
33393
33394
|
])),
|
33394
|
-
me("div",
|
33395
|
-
me("div",
|
33395
|
+
me("div", tb, [
|
33396
|
+
me("div", nb, [
|
33396
33397
|
Ot(Be.$slots, "sidebar", {}, void 0, !0)
|
33397
33398
|
]),
|
33398
33399
|
ze(qr, { name: "slide-right" }, {
|
33399
33400
|
default: Ne(() => [
|
33400
|
-
j.value === "PORTAL" ? (Ce(), Me("div",
|
33401
|
-
me("div",
|
33401
|
+
j.value === "PORTAL" ? (Ce(), Me("div", rb, [
|
33402
|
+
me("div", ib, [
|
33402
33403
|
ce[18] || (ce[18] = me("p", { class: "fm-typo-en-body-sm-600" }, "Switch to", -1)),
|
33403
|
-
me("div",
|
33404
|
+
me("div", ab, [
|
33404
33405
|
(Ce(!0), Me(yt, null, Cn(Be.apps, (n) => (Ce(), Me(yt, {
|
33405
33406
|
key: n.name
|
33406
33407
|
}, [
|
@@ -33409,22 +33410,22 @@ const Qy = /* @__PURE__ */ Jn(Jy, [["__scopeId", "data-v-daa06e6b"]]), Xy = { cl
|
|
33409
33410
|
class: "w-full cursor-pointer",
|
33410
33411
|
onClick: (t) => b("select-app", n)
|
33411
33412
|
}, [
|
33412
|
-
me("div",
|
33413
|
+
me("div", sb, [
|
33413
33414
|
n.icon ? (Ce(), Me("div", {
|
33414
33415
|
key: 0,
|
33415
33416
|
class: "h-48 w-48",
|
33416
33417
|
innerHTML: n.icon
|
33417
|
-
}, null, 8,
|
33418
|
-
me("div",
|
33419
|
-
me("p",
|
33420
|
-
n.description ? (Ce(), Me("p",
|
33418
|
+
}, null, 8, ub)) : (Ce(), Me("div", lb)),
|
33419
|
+
me("div", db, [
|
33420
|
+
me("p", cb, it(n.name), 1),
|
33421
|
+
n.description ? (Ce(), Me("p", fb, it(n.description), 1)) : et("", !0)
|
33421
33422
|
]),
|
33422
33423
|
ze(i, {
|
33423
33424
|
name: "chevron_right",
|
33424
33425
|
size: "md"
|
33425
33426
|
})
|
33426
33427
|
])
|
33427
|
-
], 8,
|
33428
|
+
], 8, ob)) : et("", !0)
|
33428
33429
|
], 64))), 128))
|
33429
33430
|
])
|
33430
33431
|
])
|
@@ -33476,7 +33477,7 @@ const Qy = /* @__PURE__ */ Jn(Jy, [["__scopeId", "data-v-daa06e6b"]]), Xy = { cl
|
|
33476
33477
|
color: Le(S) ? "primary" : void 0,
|
33477
33478
|
outline: ""
|
33478
33479
|
}, null, 8, ["color"]),
|
33479
|
-
me("p",
|
33480
|
+
me("p", hb, it(Le(S) ? "Stop debug session" : "Debug user"), 1)
|
33480
33481
|
])) : et("", !0),
|
33481
33482
|
me("div", {
|
33482
33483
|
class: "flex items-center space-x-8 px-16 py-8 cursor-pointer",
|
@@ -33494,7 +33495,7 @@ const Qy = /* @__PURE__ */ Jn(Jy, [["__scopeId", "data-v-daa06e6b"]]), Xy = { cl
|
|
33494
33495
|
]),
|
33495
33496
|
_: 1
|
33496
33497
|
}, 8, ["modelValue"]),
|
33497
|
-
ze(
|
33498
|
+
ze(Jy, {
|
33498
33499
|
modelValue: X.value,
|
33499
33500
|
"onUpdate:modelValue": ce[7] || (ce[7] = (c) => X.value = c),
|
33500
33501
|
"select-business": Z
|
@@ -33507,7 +33508,7 @@ const Qy = /* @__PURE__ */ Jn(Jy, [["__scopeId", "data-v-daa06e6b"]]), Xy = { cl
|
|
33507
33508
|
title: "Country"
|
33508
33509
|
}, {
|
33509
33510
|
default: Ne(() => [
|
33510
|
-
me("div",
|
33511
|
+
me("div", pb, [
|
33511
33512
|
(Ce(!0), Me(yt, null, Cn(Be.countries, (c) => (Ce(), xe(Ie, {
|
33512
33513
|
id: "country-menu-item",
|
33513
33514
|
key: c.code,
|
@@ -33521,7 +33522,7 @@ const Qy = /* @__PURE__ */ Jn(Jy, [["__scopeId", "data-v-daa06e6b"]]), Xy = { cl
|
|
33521
33522
|
me("span", {
|
33522
33523
|
class: "h-auto w-[20px]",
|
33523
33524
|
innerHTML: He[c.code]
|
33524
|
-
}, null, 8,
|
33525
|
+
}, null, 8, mb)
|
33525
33526
|
]),
|
33526
33527
|
_: 2
|
33527
33528
|
}, 1032, ["label", "model-value", "onUpdate:modelValue"]))), 128))
|
@@ -33538,12 +33539,12 @@ const Qy = /* @__PURE__ */ Jn(Jy, [["__scopeId", "data-v-daa06e6b"]]), Xy = { cl
|
|
33538
33539
|
default: Ne(() => {
|
33539
33540
|
var c, n, t;
|
33540
33541
|
return [
|
33541
|
-
me("div",
|
33542
|
-
me("div",
|
33543
|
-
me("div",
|
33544
|
-
me("div",
|
33545
|
-
me("p",
|
33546
|
-
me("p",
|
33542
|
+
me("div", gb, [
|
33543
|
+
me("div", yb, [
|
33544
|
+
me("div", bb, it(_e.value), 1),
|
33545
|
+
me("div", $b, [
|
33546
|
+
me("p", vb, it(((c = u.user) == null ? void 0 : c.displayName) ?? "Feed Me"), 1),
|
33547
|
+
me("p", _b, it(((n = u.user) == null ? void 0 : n.email) ?? "feed-me@feedme.cc"), 1)
|
33547
33548
|
])
|
33548
33549
|
]),
|
33549
33550
|
ze(Jt, {
|
@@ -33590,11 +33591,11 @@ const Qy = /* @__PURE__ */ Jn(Jy, [["__scopeId", "data-v-daa06e6b"]]), Xy = { cl
|
|
33590
33591
|
}),
|
33591
33592
|
_: 1
|
33592
33593
|
}, 8, ["modelValue"]),
|
33593
|
-
me("div",
|
33594
|
+
me("div", Eb, [
|
33594
33595
|
Ot(Be.$slots, "default", {}, void 0, !0)
|
33595
33596
|
]),
|
33596
33597
|
(Ce(), xe(Sa, { to: "body" }, [
|
33597
|
-
me("div",
|
33598
|
+
me("div", Fb, [
|
33598
33599
|
ze(e, {
|
33599
33600
|
label: ((Je = Be.currentApp) == null ? void 0 : Je.name) || "Portal",
|
33600
33601
|
"prepend-icon": "apps",
|
@@ -33602,7 +33603,7 @@ const Qy = /* @__PURE__ */ Jn(Jy, [["__scopeId", "data-v-daa06e6b"]]), Xy = { cl
|
|
33602
33603
|
variant: "tertiary",
|
33603
33604
|
onClick: ce[15] || (ce[15] = (c) => m.value = !Le(m))
|
33604
33605
|
}, null, 8, ["label"]),
|
33605
|
-
Be.embedded ? et("", !0) : (Ce(), Me("div",
|
33606
|
+
Be.embedded ? et("", !0) : (Ce(), Me("div", wb, [
|
33606
33607
|
ze(e, {
|
33607
33608
|
icon: "settings",
|
33608
33609
|
size: "md",
|
@@ -33624,7 +33625,7 @@ const Qy = /* @__PURE__ */ Jn(Jy, [["__scopeId", "data-v-daa06e6b"]]), Xy = { cl
|
|
33624
33625
|
};
|
33625
33626
|
}
|
33626
33627
|
});
|
33627
|
-
const
|
33628
|
+
const Cb = /* @__PURE__ */ Jn(zb, [["__scopeId", "data-v-83fb1aed"]]), Sb = /* @__PURE__ */ Ft({
|
33628
33629
|
__name: "index",
|
33629
33630
|
props: {
|
33630
33631
|
dropdownOpened: { type: Boolean },
|
@@ -33650,7 +33651,7 @@ const Sb = /* @__PURE__ */ Jn(Cb, [["__scopeId", "data-v-83fb1aed"]]), Tb = /* @
|
|
33650
33651
|
modelValue: j.value,
|
33651
33652
|
"onUpdate:modelValue": N[0] || (N[0] = (q) => j.value = q)
|
33652
33653
|
}, null, 8, ["modelValue"]),
|
33653
|
-
Le(u).md || Le(u).lg ? (Ce(), xe(
|
33654
|
+
Le(u).md || Le(u).lg ? (Ce(), xe(wy, $a({ key: 0 }, m, {
|
33654
33655
|
onLogin: N[1] || (N[1] = (q) => b("login")),
|
33655
33656
|
onLogout: N[2] || (N[2] = (q) => b("logout")),
|
33656
33657
|
onSelectBusiness: N[3] || (N[3] = (q, Y) => b("select-business", q, Y)),
|
@@ -33667,7 +33668,7 @@ const Sb = /* @__PURE__ */ Jn(Cb, [["__scopeId", "data-v-83fb1aed"]]), Tb = /* @
|
|
33667
33668
|
]),
|
33668
33669
|
_: 3
|
33669
33670
|
}, 16)) : et("", !0),
|
33670
|
-
Le(u).sm ? (Ce(), xe(
|
33671
|
+
Le(u).sm ? (Ce(), xe(qy, $a({ key: 1 }, m, {
|
33671
33672
|
onLogin: N[7] || (N[7] = (q) => b("login")),
|
33672
33673
|
onLogout: N[8] || (N[8] = (q) => b("logout")),
|
33673
33674
|
onSelectBusiness: N[9] || (N[9] = (q, Y) => b("select-business", q, Y)),
|
@@ -33684,7 +33685,7 @@ const Sb = /* @__PURE__ */ Jn(Cb, [["__scopeId", "data-v-83fb1aed"]]), Tb = /* @
|
|
33684
33685
|
]),
|
33685
33686
|
_: 3
|
33686
33687
|
}, 16)) : et("", !0),
|
33687
|
-
Le(u).xs ? (Ce(), xe(
|
33688
|
+
Le(u).xs ? (Ce(), xe(Cb, $a({ key: 2 }, m, {
|
33688
33689
|
onLogin: N[13] || (N[13] = (q) => b("login")),
|
33689
33690
|
onLogout: N[14] || (N[14] = (q) => b("logout")),
|
33690
33691
|
onSelectBusiness: N[15] || (N[15] = (q, Y) => b("select-business", q, Y)),
|
@@ -33703,7 +33704,7 @@ const Sb = /* @__PURE__ */ Jn(Cb, [["__scopeId", "data-v-83fb1aed"]]), Tb = /* @
|
|
33703
33704
|
}, 16)) : et("", !0)
|
33704
33705
|
], 64));
|
33705
33706
|
}
|
33706
|
-
}),
|
33707
|
+
}), Jb = /* @__PURE__ */ Ft({
|
33707
33708
|
__name: "App",
|
33708
33709
|
setup(s) {
|
33709
33710
|
const l = jt(), u = Ke(() => l.sessionUser.value), m = Ke(() => l.apps.value), b = Ke(() => l.selectedApp.value), z = Ke(() => [
|
@@ -33739,12 +33740,12 @@ const Sb = /* @__PURE__ */ Jn(Cb, [["__scopeId", "data-v-83fb1aed"]]), Tb = /* @
|
|
33739
33740
|
return (ie, x) => {
|
33740
33741
|
const he = Ue("fm-button");
|
33741
33742
|
return Ce(), Me(yt, null, [
|
33742
|
-
ze(
|
33743
|
+
ze(Xg, {
|
33743
33744
|
countries: z.value,
|
33744
33745
|
"current-country": S.value,
|
33745
33746
|
onSelectCountry: F
|
33746
33747
|
}, null, 8, ["countries", "current-country"]),
|
33747
|
-
ze(
|
33748
|
+
ze(Sb, {
|
33748
33749
|
"dropdown-opened": Z.value,
|
33749
33750
|
"onUpdate:dropdownOpened": x[1] || (x[1] = (X) => Z.value = X),
|
33750
33751
|
apps: m.value,
|
@@ -33783,15 +33784,15 @@ const Sb = /* @__PURE__ */ Jn(Cb, [["__scopeId", "data-v-83fb1aed"]]), Tb = /* @
|
|
33783
33784
|
};
|
33784
33785
|
}
|
33785
33786
|
});
|
33786
|
-
function
|
33787
|
+
function Qb(s, l) {
|
33787
33788
|
l && jt().setNamespace(l), ct.initialize({ clientId: s, loginMode: "iframe", oneTapMode: "full_screen" });
|
33788
33789
|
}
|
33789
|
-
const
|
33790
|
+
const Xb = ct.onAuthStateChanged;
|
33790
33791
|
export {
|
33791
33792
|
ct as FeedMeAuth,
|
33792
|
-
|
33793
|
+
Jb as FmNavBar,
|
33793
33794
|
Wn as baseClientInstance,
|
33794
|
-
|
33795
|
-
|
33795
|
+
Qb as initialize,
|
33796
|
+
Xb as onAuthStateChanged,
|
33796
33797
|
jt as useCoreStore
|
33797
33798
|
};
|