@feedmepos/mf-common 1.1.1-alpha.2 → 1.1.1

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/app.d.ts CHANGED
@@ -1,4 +1,12 @@
1
1
  export declare const useCoreStore: () => {
2
+ apps: import("vue").Ref<{
3
+ icon: string;
4
+ name: string;
5
+ description: string;
6
+ path: string;
7
+ color: string;
8
+ }[]>;
9
+ currentAppName: import("vue").Ref<string>;
2
10
  sessionUser: import("vue").Ref<{
3
11
  id: string;
4
12
  email?: string | null | undefined;
@@ -202,11 +210,11 @@ export declare const useCoreStore: () => {
202
210
  address: {
203
211
  coordinates?: number[] | undefined;
204
212
  line2?: string | undefined;
205
- country: string;
206
213
  state: string;
207
214
  line1: string;
208
215
  city: string;
209
216
  postcode: string;
217
+ country: string;
210
218
  };
211
219
  name: string;
212
220
  email: string;
@@ -328,11 +336,11 @@ export declare const useCoreStore: () => {
328
336
  address: {
329
337
  coordinates?: number[] | undefined;
330
338
  line2?: string | undefined;
331
- country: string;
332
339
  state: string;
333
340
  line1: string;
334
341
  city: string;
335
342
  postcode: string;
343
+ country: string;
336
344
  };
337
345
  name: string;
338
346
  email: string;
@@ -411,8 +419,8 @@ export declare const useCoreStore: () => {
411
419
  };
412
420
  } | null | undefined;
413
421
  day: {
414
- max: number;
415
422
  min: number;
423
+ max: number;
416
424
  };
417
425
  } | null | undefined;
418
426
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -518,8 +526,8 @@ export declare const useCoreStore: () => {
518
526
  ignoreStock?: boolean | undefined;
519
527
  pickupTime?: {
520
528
  day: {
521
- max: number;
522
529
  min: number;
530
+ max: number;
523
531
  };
524
532
  } | null | undefined;
525
533
  pickupPointConfig?: {
@@ -661,11 +669,11 @@ export declare const useCoreStore: () => {
661
669
  address: {
662
670
  coordinates?: number[] | undefined;
663
671
  line2?: string | undefined;
664
- country: string;
665
672
  state: string;
666
673
  line1: string;
667
674
  city: string;
668
675
  postcode: string;
676
+ country: string;
669
677
  };
670
678
  name: string;
671
679
  email: string;
@@ -777,11 +785,11 @@ export declare const useCoreStore: () => {
777
785
  address: {
778
786
  coordinates?: number[] | undefined;
779
787
  line2?: string | undefined;
780
- country: string;
781
788
  state: string;
782
789
  line1: string;
783
790
  city: string;
784
791
  postcode: string;
792
+ country: string;
785
793
  };
786
794
  name: string;
787
795
  email: string;
@@ -860,8 +868,8 @@ export declare const useCoreStore: () => {
860
868
  };
861
869
  } | null | undefined;
862
870
  day: {
863
- max: number;
864
871
  min: number;
872
+ max: number;
865
873
  };
866
874
  } | null | undefined;
867
875
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -967,8 +975,8 @@ export declare const useCoreStore: () => {
967
975
  ignoreStock?: boolean | undefined;
968
976
  pickupTime?: {
969
977
  day: {
970
- max: number;
971
978
  min: number;
979
+ max: number;
972
980
  };
973
981
  } | null | undefined;
974
982
  pickupPointConfig?: {
@@ -1110,11 +1118,11 @@ export declare const useCoreStore: () => {
1110
1118
  address: {
1111
1119
  coordinates?: number[] | undefined;
1112
1120
  line2?: string | undefined;
1113
- country: string;
1114
1121
  state: string;
1115
1122
  line1: string;
1116
1123
  city: string;
1117
1124
  postcode: string;
1125
+ country: string;
1118
1126
  };
1119
1127
  name: string;
1120
1128
  email: string;
@@ -1123,6 +1131,14 @@ export declare const useCoreStore: () => {
1123
1131
  };
1124
1132
  } | undefined>;
1125
1133
  $state: {
1134
+ apps: {
1135
+ icon: string;
1136
+ name: string;
1137
+ description: string;
1138
+ path: string;
1139
+ color: string;
1140
+ }[];
1141
+ currentAppName: string;
1126
1142
  sessionUser: {
1127
1143
  id: string;
1128
1144
  email?: string | null | undefined;
@@ -1326,11 +1342,11 @@ export declare const useCoreStore: () => {
1326
1342
  address: {
1327
1343
  coordinates?: number[] | undefined;
1328
1344
  line2?: string | undefined;
1329
- country: string;
1330
1345
  state: string;
1331
1346
  line1: string;
1332
1347
  city: string;
1333
1348
  postcode: string;
1349
+ country: string;
1334
1350
  };
1335
1351
  name: string;
1336
1352
  email: string;
@@ -1452,11 +1468,11 @@ export declare const useCoreStore: () => {
1452
1468
  address: {
1453
1469
  coordinates?: number[] | undefined;
1454
1470
  line2?: string | undefined;
1455
- country: string;
1456
1471
  state: string;
1457
1472
  line1: string;
1458
1473
  city: string;
1459
1474
  postcode: string;
1475
+ country: string;
1460
1476
  };
1461
1477
  name: string;
1462
1478
  email: string;
@@ -1535,8 +1551,8 @@ export declare const useCoreStore: () => {
1535
1551
  };
1536
1552
  } | null | undefined;
1537
1553
  day: {
1538
- max: number;
1539
1554
  min: number;
1555
+ max: number;
1540
1556
  };
1541
1557
  } | null | undefined;
1542
1558
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -1642,8 +1658,8 @@ export declare const useCoreStore: () => {
1642
1658
  ignoreStock?: boolean | undefined;
1643
1659
  pickupTime?: {
1644
1660
  day: {
1645
- max: number;
1646
1661
  min: number;
1662
+ max: number;
1647
1663
  };
1648
1664
  } | null | undefined;
1649
1665
  pickupPointConfig?: {
@@ -1785,11 +1801,11 @@ export declare const useCoreStore: () => {
1785
1801
  address: {
1786
1802
  coordinates?: number[] | undefined;
1787
1803
  line2?: string | undefined;
1788
- country: string;
1789
1804
  state: string;
1790
1805
  line1: string;
1791
1806
  city: string;
1792
1807
  postcode: string;
1808
+ country: string;
1793
1809
  };
1794
1810
  name: string;
1795
1811
  email: string;
@@ -1901,11 +1917,11 @@ export declare const useCoreStore: () => {
1901
1917
  address: {
1902
1918
  coordinates?: number[] | undefined;
1903
1919
  line2?: string | undefined;
1904
- country: string;
1905
1920
  state: string;
1906
1921
  line1: string;
1907
1922
  city: string;
1908
1923
  postcode: string;
1924
+ country: string;
1909
1925
  };
1910
1926
  name: string;
1911
1927
  email: string;
@@ -1984,8 +2000,8 @@ export declare const useCoreStore: () => {
1984
2000
  };
1985
2001
  } | null | undefined;
1986
2002
  day: {
1987
- max: number;
1988
2003
  min: number;
2004
+ max: number;
1989
2005
  };
1990
2006
  } | null | undefined;
1991
2007
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -2091,8 +2107,8 @@ export declare const useCoreStore: () => {
2091
2107
  ignoreStock?: boolean | undefined;
2092
2108
  pickupTime?: {
2093
2109
  day: {
2094
- max: number;
2095
2110
  min: number;
2111
+ max: number;
2096
2112
  };
2097
2113
  } | null | undefined;
2098
2114
  pickupPointConfig?: {
@@ -2234,11 +2250,11 @@ export declare const useCoreStore: () => {
2234
2250
  address: {
2235
2251
  coordinates?: number[] | undefined;
2236
2252
  line2?: string | undefined;
2237
- country: string;
2238
2253
  state: string;
2239
2254
  line1: string;
2240
2255
  city: string;
2241
2256
  postcode: string;
2257
+ country: string;
2242
2258
  };
2243
2259
  name: string;
2244
2260
  email: string;
@@ -2247,6 +2263,16 @@ export declare const useCoreStore: () => {
2247
2263
  };
2248
2264
  } | undefined;
2249
2265
  } & import("pinia").PiniaCustomStateProperties<import("pinia")._UnwrapAll<Pick<{
2266
+ apps: import("vue").Ref<{
2267
+ icon: string;
2268
+ name: string;
2269
+ description: string;
2270
+ path: string;
2271
+ color: string;
2272
+ }[]>;
2273
+ currentAppName: import("vue").Ref<string>;
2274
+ registerApp: (app: import("./store").PortalApp) => void;
2275
+ setCurrentApp: (path: string) => void;
2250
2276
  sessionUser: import("vue").Ref<{
2251
2277
  id: string;
2252
2278
  email?: string | null | undefined;
@@ -2346,7 +2372,7 @@ export declare const useCoreStore: () => {
2346
2372
  subject: string | string[];
2347
2373
  }[];
2348
2374
  } | null>;
2349
- setUser: (user: import("./plugins/auth").FeedMeUser | null) => Promise<void>;
2375
+ setUser: (user: import("./auth").FeedMeUser | null) => Promise<void>;
2350
2376
  fetchUserAdminPermissions: () => Promise<void>;
2351
2377
  fetchUserPermissions: () => Promise<void>;
2352
2378
  namespace: import("vue").Ref<"dev" | "prod">;
@@ -2455,11 +2481,11 @@ export declare const useCoreStore: () => {
2455
2481
  address: {
2456
2482
  coordinates?: number[] | undefined;
2457
2483
  line2?: string | undefined;
2458
- country: string;
2459
2484
  state: string;
2460
2485
  line1: string;
2461
2486
  city: string;
2462
2487
  postcode: string;
2488
+ country: string;
2463
2489
  };
2464
2490
  name: string;
2465
2491
  email: string;
@@ -2473,9 +2499,9 @@ export declare const useCoreStore: () => {
2473
2499
  warehouseQuota: number;
2474
2500
  menuVersion: "v2" | "v3" | "v4";
2475
2501
  }[]>;
2476
- currentBusiness: import("vue").Ref<import("./plugins/store").FmpBusiness | undefined>;
2477
- readBusinesses: () => Promise<import("./plugins/store").FmpBusiness | undefined>;
2478
- changeBusiness: (business: import("./plugins/store").FmpBusiness | undefined) => Promise<void>;
2502
+ currentBusiness: import("vue").Ref<import("./store").FmpBusiness | undefined>;
2503
+ readBusinesses: () => Promise<import("./store").FmpBusiness | undefined>;
2504
+ changeBusiness: (business: import("./store").FmpBusiness | undefined) => Promise<void>;
2479
2505
  restaurants: import("vue").Ref<{
2480
2506
  managable: boolean;
2481
2507
  pf_business?: {
@@ -2580,11 +2606,11 @@ export declare const useCoreStore: () => {
2580
2606
  address: {
2581
2607
  coordinates?: number[] | undefined;
2582
2608
  line2?: string | undefined;
2583
- country: string;
2584
2609
  state: string;
2585
2610
  line1: string;
2586
2611
  city: string;
2587
2612
  postcode: string;
2613
+ country: string;
2588
2614
  };
2589
2615
  name: string;
2590
2616
  email: string;
@@ -2663,8 +2689,8 @@ export declare const useCoreStore: () => {
2663
2689
  };
2664
2690
  } | null | undefined;
2665
2691
  day: {
2666
- max: number;
2667
2692
  min: number;
2693
+ max: number;
2668
2694
  };
2669
2695
  } | null | undefined;
2670
2696
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -2770,8 +2796,8 @@ export declare const useCoreStore: () => {
2770
2796
  ignoreStock?: boolean | undefined;
2771
2797
  pickupTime?: {
2772
2798
  day: {
2773
- max: number;
2774
2799
  min: number;
2800
+ max: number;
2775
2801
  };
2776
2802
  } | null | undefined;
2777
2803
  pickupPointConfig?: {
@@ -2913,11 +2939,11 @@ export declare const useCoreStore: () => {
2913
2939
  address: {
2914
2940
  coordinates?: number[] | undefined;
2915
2941
  line2?: string | undefined;
2916
- country: string;
2917
2942
  state: string;
2918
2943
  line1: string;
2919
2944
  city: string;
2920
2945
  postcode: string;
2946
+ country: string;
2921
2947
  };
2922
2948
  name: string;
2923
2949
  email: string;
@@ -2925,7 +2951,7 @@ export declare const useCoreStore: () => {
2925
2951
  regNo: string;
2926
2952
  };
2927
2953
  }[]>;
2928
- currentRestaurant: import("vue").Ref<import("./plugins/store").FmpRestaurant | undefined>;
2954
+ currentRestaurant: import("vue").Ref<import("./store").FmpRestaurant | undefined>;
2929
2955
  readRestaurants: () => Promise<{
2930
2956
  managable: boolean;
2931
2957
  pf_business?: {
@@ -3030,11 +3056,11 @@ export declare const useCoreStore: () => {
3030
3056
  address: {
3031
3057
  coordinates?: number[] | undefined;
3032
3058
  line2?: string | undefined;
3033
- country: string;
3034
3059
  state: string;
3035
3060
  line1: string;
3036
3061
  city: string;
3037
3062
  postcode: string;
3063
+ country: string;
3038
3064
  };
3039
3065
  name: string;
3040
3066
  email: string;
@@ -3113,8 +3139,8 @@ export declare const useCoreStore: () => {
3113
3139
  };
3114
3140
  } | null | undefined;
3115
3141
  day: {
3116
- max: number;
3117
3142
  min: number;
3143
+ max: number;
3118
3144
  };
3119
3145
  } | null | undefined;
3120
3146
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -3220,8 +3246,8 @@ export declare const useCoreStore: () => {
3220
3246
  ignoreStock?: boolean | undefined;
3221
3247
  pickupTime?: {
3222
3248
  day: {
3223
- max: number;
3224
3249
  min: number;
3250
+ max: number;
3225
3251
  };
3226
3252
  } | null | undefined;
3227
3253
  pickupPointConfig?: {
@@ -3363,11 +3389,11 @@ export declare const useCoreStore: () => {
3363
3389
  address: {
3364
3390
  coordinates?: number[] | undefined;
3365
3391
  line2?: string | undefined;
3366
- country: string;
3367
3392
  state: string;
3368
3393
  line1: string;
3369
3394
  city: string;
3370
3395
  postcode: string;
3396
+ country: string;
3371
3397
  };
3372
3398
  name: string;
3373
3399
  email: string;
@@ -3375,9 +3401,17 @@ export declare const useCoreStore: () => {
3375
3401
  regNo: string;
3376
3402
  };
3377
3403
  }[] | undefined>;
3378
- changeRestaurant: (restaurant: import("./plugins/store").FmpRestaurant | undefined) => void;
3379
- }, "sessionUser" | "namespace" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant">>>;
3404
+ changeRestaurant: (restaurant: import("./store").FmpRestaurant | undefined) => void;
3405
+ }, "apps" | "currentAppName" | "sessionUser" | "namespace" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant">>>;
3380
3406
  $patch(partialState: import("pinia")._DeepPartial<{
3407
+ apps: {
3408
+ icon: string;
3409
+ name: string;
3410
+ description: string;
3411
+ path: string;
3412
+ color: string;
3413
+ }[];
3414
+ currentAppName: string;
3381
3415
  sessionUser: {
3382
3416
  id: string;
3383
3417
  email?: string | null | undefined;
@@ -3581,11 +3615,11 @@ export declare const useCoreStore: () => {
3581
3615
  address: {
3582
3616
  coordinates?: number[] | undefined;
3583
3617
  line2?: string | undefined;
3584
- country: string;
3585
3618
  state: string;
3586
3619
  line1: string;
3587
3620
  city: string;
3588
3621
  postcode: string;
3622
+ country: string;
3589
3623
  };
3590
3624
  name: string;
3591
3625
  email: string;
@@ -3707,11 +3741,11 @@ export declare const useCoreStore: () => {
3707
3741
  address: {
3708
3742
  coordinates?: number[] | undefined;
3709
3743
  line2?: string | undefined;
3710
- country: string;
3711
3744
  state: string;
3712
3745
  line1: string;
3713
3746
  city: string;
3714
3747
  postcode: string;
3748
+ country: string;
3715
3749
  };
3716
3750
  name: string;
3717
3751
  email: string;
@@ -3790,8 +3824,8 @@ export declare const useCoreStore: () => {
3790
3824
  };
3791
3825
  } | null | undefined;
3792
3826
  day: {
3793
- max: number;
3794
3827
  min: number;
3828
+ max: number;
3795
3829
  };
3796
3830
  } | null | undefined;
3797
3831
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -3897,8 +3931,8 @@ export declare const useCoreStore: () => {
3897
3931
  ignoreStock?: boolean | undefined;
3898
3932
  pickupTime?: {
3899
3933
  day: {
3900
- max: number;
3901
3934
  min: number;
3935
+ max: number;
3902
3936
  };
3903
3937
  } | null | undefined;
3904
3938
  pickupPointConfig?: {
@@ -4040,11 +4074,11 @@ export declare const useCoreStore: () => {
4040
4074
  address: {
4041
4075
  coordinates?: number[] | undefined;
4042
4076
  line2?: string | undefined;
4043
- country: string;
4044
4077
  state: string;
4045
4078
  line1: string;
4046
4079
  city: string;
4047
4080
  postcode: string;
4081
+ country: string;
4048
4082
  };
4049
4083
  name: string;
4050
4084
  email: string;
@@ -4156,11 +4190,11 @@ export declare const useCoreStore: () => {
4156
4190
  address: {
4157
4191
  coordinates?: number[] | undefined;
4158
4192
  line2?: string | undefined;
4159
- country: string;
4160
4193
  state: string;
4161
4194
  line1: string;
4162
4195
  city: string;
4163
4196
  postcode: string;
4197
+ country: string;
4164
4198
  };
4165
4199
  name: string;
4166
4200
  email: string;
@@ -4239,8 +4273,8 @@ export declare const useCoreStore: () => {
4239
4273
  };
4240
4274
  } | null | undefined;
4241
4275
  day: {
4242
- max: number;
4243
4276
  min: number;
4277
+ max: number;
4244
4278
  };
4245
4279
  } | null | undefined;
4246
4280
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -4346,8 +4380,8 @@ export declare const useCoreStore: () => {
4346
4380
  ignoreStock?: boolean | undefined;
4347
4381
  pickupTime?: {
4348
4382
  day: {
4349
- max: number;
4350
4383
  min: number;
4384
+ max: number;
4351
4385
  };
4352
4386
  } | null | undefined;
4353
4387
  pickupPointConfig?: {
@@ -4489,11 +4523,11 @@ export declare const useCoreStore: () => {
4489
4523
  address: {
4490
4524
  coordinates?: number[] | undefined;
4491
4525
  line2?: string | undefined;
4492
- country: string;
4493
4526
  state: string;
4494
4527
  line1: string;
4495
4528
  city: string;
4496
4529
  postcode: string;
4530
+ country: string;
4497
4531
  };
4498
4532
  name: string;
4499
4533
  email: string;
@@ -4503,6 +4537,14 @@ export declare const useCoreStore: () => {
4503
4537
  } | undefined;
4504
4538
  }>): void;
4505
4539
  $patch<F extends (state: {
4540
+ apps: {
4541
+ icon: string;
4542
+ name: string;
4543
+ description: string;
4544
+ path: string;
4545
+ color: string;
4546
+ }[];
4547
+ currentAppName: string;
4506
4548
  sessionUser: {
4507
4549
  id: string;
4508
4550
  email?: string | null | undefined;
@@ -4706,11 +4748,11 @@ export declare const useCoreStore: () => {
4706
4748
  address: {
4707
4749
  coordinates?: number[] | undefined;
4708
4750
  line2?: string | undefined;
4709
- country: string;
4710
4751
  state: string;
4711
4752
  line1: string;
4712
4753
  city: string;
4713
4754
  postcode: string;
4755
+ country: string;
4714
4756
  };
4715
4757
  name: string;
4716
4758
  email: string;
@@ -4832,11 +4874,11 @@ export declare const useCoreStore: () => {
4832
4874
  address: {
4833
4875
  coordinates?: number[] | undefined;
4834
4876
  line2?: string | undefined;
4835
- country: string;
4836
4877
  state: string;
4837
4878
  line1: string;
4838
4879
  city: string;
4839
4880
  postcode: string;
4881
+ country: string;
4840
4882
  };
4841
4883
  name: string;
4842
4884
  email: string;
@@ -4915,8 +4957,8 @@ export declare const useCoreStore: () => {
4915
4957
  };
4916
4958
  } | null | undefined;
4917
4959
  day: {
4918
- max: number;
4919
4960
  min: number;
4961
+ max: number;
4920
4962
  };
4921
4963
  } | null | undefined;
4922
4964
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -5022,8 +5064,8 @@ export declare const useCoreStore: () => {
5022
5064
  ignoreStock?: boolean | undefined;
5023
5065
  pickupTime?: {
5024
5066
  day: {
5025
- max: number;
5026
5067
  min: number;
5068
+ max: number;
5027
5069
  };
5028
5070
  } | null | undefined;
5029
5071
  pickupPointConfig?: {
@@ -5165,11 +5207,11 @@ export declare const useCoreStore: () => {
5165
5207
  address: {
5166
5208
  coordinates?: number[] | undefined;
5167
5209
  line2?: string | undefined;
5168
- country: string;
5169
5210
  state: string;
5170
5211
  line1: string;
5171
5212
  city: string;
5172
5213
  postcode: string;
5214
+ country: string;
5173
5215
  };
5174
5216
  name: string;
5175
5217
  email: string;
@@ -5281,11 +5323,11 @@ export declare const useCoreStore: () => {
5281
5323
  address: {
5282
5324
  coordinates?: number[] | undefined;
5283
5325
  line2?: string | undefined;
5284
- country: string;
5285
5326
  state: string;
5286
5327
  line1: string;
5287
5328
  city: string;
5288
5329
  postcode: string;
5330
+ country: string;
5289
5331
  };
5290
5332
  name: string;
5291
5333
  email: string;
@@ -5364,8 +5406,8 @@ export declare const useCoreStore: () => {
5364
5406
  };
5365
5407
  } | null | undefined;
5366
5408
  day: {
5367
- max: number;
5368
5409
  min: number;
5410
+ max: number;
5369
5411
  };
5370
5412
  } | null | undefined;
5371
5413
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -5471,8 +5513,8 @@ export declare const useCoreStore: () => {
5471
5513
  ignoreStock?: boolean | undefined;
5472
5514
  pickupTime?: {
5473
5515
  day: {
5474
- max: number;
5475
5516
  min: number;
5517
+ max: number;
5476
5518
  };
5477
5519
  } | null | undefined;
5478
5520
  pickupPointConfig?: {
@@ -5614,11 +5656,11 @@ export declare const useCoreStore: () => {
5614
5656
  address: {
5615
5657
  coordinates?: number[] | undefined;
5616
5658
  line2?: string | undefined;
5617
- country: string;
5618
5659
  state: string;
5619
5660
  line1: string;
5620
5661
  city: string;
5621
5662
  postcode: string;
5663
+ country: string;
5622
5664
  };
5623
5665
  name: string;
5624
5666
  email: string;
@@ -5629,6 +5671,16 @@ export declare const useCoreStore: () => {
5629
5671
  }) => any>(stateMutator: ReturnType<F> extends Promise<any> ? never : F): void;
5630
5672
  $reset(): void;
5631
5673
  $subscribe(callback: import("pinia").SubscriptionCallback<import("pinia")._UnwrapAll<Pick<{
5674
+ apps: import("vue").Ref<{
5675
+ icon: string;
5676
+ name: string;
5677
+ description: string;
5678
+ path: string;
5679
+ color: string;
5680
+ }[]>;
5681
+ currentAppName: import("vue").Ref<string>;
5682
+ registerApp: (app: import("./store").PortalApp) => void;
5683
+ setCurrentApp: (path: string) => void;
5632
5684
  sessionUser: import("vue").Ref<{
5633
5685
  id: string;
5634
5686
  email?: string | null | undefined;
@@ -5728,7 +5780,7 @@ export declare const useCoreStore: () => {
5728
5780
  subject: string | string[];
5729
5781
  }[];
5730
5782
  } | null>;
5731
- setUser: (user: import("./plugins/auth").FeedMeUser | null) => Promise<void>;
5783
+ setUser: (user: import("./auth").FeedMeUser | null) => Promise<void>;
5732
5784
  fetchUserAdminPermissions: () => Promise<void>;
5733
5785
  fetchUserPermissions: () => Promise<void>;
5734
5786
  namespace: import("vue").Ref<"dev" | "prod">;
@@ -5837,11 +5889,11 @@ export declare const useCoreStore: () => {
5837
5889
  address: {
5838
5890
  coordinates?: number[] | undefined;
5839
5891
  line2?: string | undefined;
5840
- country: string;
5841
5892
  state: string;
5842
5893
  line1: string;
5843
5894
  city: string;
5844
5895
  postcode: string;
5896
+ country: string;
5845
5897
  };
5846
5898
  name: string;
5847
5899
  email: string;
@@ -5855,9 +5907,9 @@ export declare const useCoreStore: () => {
5855
5907
  warehouseQuota: number;
5856
5908
  menuVersion: "v2" | "v3" | "v4";
5857
5909
  }[]>;
5858
- currentBusiness: import("vue").Ref<import("./plugins/store").FmpBusiness | undefined>;
5859
- readBusinesses: () => Promise<import("./plugins/store").FmpBusiness | undefined>;
5860
- changeBusiness: (business: import("./plugins/store").FmpBusiness | undefined) => Promise<void>;
5910
+ currentBusiness: import("vue").Ref<import("./store").FmpBusiness | undefined>;
5911
+ readBusinesses: () => Promise<import("./store").FmpBusiness | undefined>;
5912
+ changeBusiness: (business: import("./store").FmpBusiness | undefined) => Promise<void>;
5861
5913
  restaurants: import("vue").Ref<{
5862
5914
  managable: boolean;
5863
5915
  pf_business?: {
@@ -5962,11 +6014,11 @@ export declare const useCoreStore: () => {
5962
6014
  address: {
5963
6015
  coordinates?: number[] | undefined;
5964
6016
  line2?: string | undefined;
5965
- country: string;
5966
6017
  state: string;
5967
6018
  line1: string;
5968
6019
  city: string;
5969
6020
  postcode: string;
6021
+ country: string;
5970
6022
  };
5971
6023
  name: string;
5972
6024
  email: string;
@@ -6045,8 +6097,8 @@ export declare const useCoreStore: () => {
6045
6097
  };
6046
6098
  } | null | undefined;
6047
6099
  day: {
6048
- max: number;
6049
6100
  min: number;
6101
+ max: number;
6050
6102
  };
6051
6103
  } | null | undefined;
6052
6104
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -6152,8 +6204,8 @@ export declare const useCoreStore: () => {
6152
6204
  ignoreStock?: boolean | undefined;
6153
6205
  pickupTime?: {
6154
6206
  day: {
6155
- max: number;
6156
6207
  min: number;
6208
+ max: number;
6157
6209
  };
6158
6210
  } | null | undefined;
6159
6211
  pickupPointConfig?: {
@@ -6295,11 +6347,11 @@ export declare const useCoreStore: () => {
6295
6347
  address: {
6296
6348
  coordinates?: number[] | undefined;
6297
6349
  line2?: string | undefined;
6298
- country: string;
6299
6350
  state: string;
6300
6351
  line1: string;
6301
6352
  city: string;
6302
6353
  postcode: string;
6354
+ country: string;
6303
6355
  };
6304
6356
  name: string;
6305
6357
  email: string;
@@ -6307,7 +6359,7 @@ export declare const useCoreStore: () => {
6307
6359
  regNo: string;
6308
6360
  };
6309
6361
  }[]>;
6310
- currentRestaurant: import("vue").Ref<import("./plugins/store").FmpRestaurant | undefined>;
6362
+ currentRestaurant: import("vue").Ref<import("./store").FmpRestaurant | undefined>;
6311
6363
  readRestaurants: () => Promise<{
6312
6364
  managable: boolean;
6313
6365
  pf_business?: {
@@ -6412,11 +6464,11 @@ export declare const useCoreStore: () => {
6412
6464
  address: {
6413
6465
  coordinates?: number[] | undefined;
6414
6466
  line2?: string | undefined;
6415
- country: string;
6416
6467
  state: string;
6417
6468
  line1: string;
6418
6469
  city: string;
6419
6470
  postcode: string;
6471
+ country: string;
6420
6472
  };
6421
6473
  name: string;
6422
6474
  email: string;
@@ -6495,8 +6547,8 @@ export declare const useCoreStore: () => {
6495
6547
  };
6496
6548
  } | null | undefined;
6497
6549
  day: {
6498
- max: number;
6499
6550
  min: number;
6551
+ max: number;
6500
6552
  };
6501
6553
  } | null | undefined;
6502
6554
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -6602,8 +6654,8 @@ export declare const useCoreStore: () => {
6602
6654
  ignoreStock?: boolean | undefined;
6603
6655
  pickupTime?: {
6604
6656
  day: {
6605
- max: number;
6606
6657
  min: number;
6658
+ max: number;
6607
6659
  };
6608
6660
  } | null | undefined;
6609
6661
  pickupPointConfig?: {
@@ -6745,11 +6797,11 @@ export declare const useCoreStore: () => {
6745
6797
  address: {
6746
6798
  coordinates?: number[] | undefined;
6747
6799
  line2?: string | undefined;
6748
- country: string;
6749
6800
  state: string;
6750
6801
  line1: string;
6751
6802
  city: string;
6752
6803
  postcode: string;
6804
+ country: string;
6753
6805
  };
6754
6806
  name: string;
6755
6807
  email: string;
@@ -6757,11 +6809,21 @@ export declare const useCoreStore: () => {
6757
6809
  regNo: string;
6758
6810
  };
6759
6811
  }[] | undefined>;
6760
- changeRestaurant: (restaurant: import("./plugins/store").FmpRestaurant | undefined) => void;
6761
- }, "sessionUser" | "namespace" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant">>>, options?: ({
6812
+ changeRestaurant: (restaurant: import("./store").FmpRestaurant | undefined) => void;
6813
+ }, "apps" | "currentAppName" | "sessionUser" | "namespace" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant">>>, options?: ({
6762
6814
  detached?: boolean | undefined;
6763
6815
  } & import("vue").WatchOptions<boolean>) | undefined): () => void;
6764
6816
  $onAction(callback: import("pinia").StoreOnActionListener<"portal-core", import("pinia")._UnwrapAll<Pick<{
6817
+ apps: import("vue").Ref<{
6818
+ icon: string;
6819
+ name: string;
6820
+ description: string;
6821
+ path: string;
6822
+ color: string;
6823
+ }[]>;
6824
+ currentAppName: import("vue").Ref<string>;
6825
+ registerApp: (app: import("./store").PortalApp) => void;
6826
+ setCurrentApp: (path: string) => void;
6765
6827
  sessionUser: import("vue").Ref<{
6766
6828
  id: string;
6767
6829
  email?: string | null | undefined;
@@ -6861,7 +6923,7 @@ export declare const useCoreStore: () => {
6861
6923
  subject: string | string[];
6862
6924
  }[];
6863
6925
  } | null>;
6864
- setUser: (user: import("./plugins/auth").FeedMeUser | null) => Promise<void>;
6926
+ setUser: (user: import("./auth").FeedMeUser | null) => Promise<void>;
6865
6927
  fetchUserAdminPermissions: () => Promise<void>;
6866
6928
  fetchUserPermissions: () => Promise<void>;
6867
6929
  namespace: import("vue").Ref<"dev" | "prod">;
@@ -6970,11 +7032,11 @@ export declare const useCoreStore: () => {
6970
7032
  address: {
6971
7033
  coordinates?: number[] | undefined;
6972
7034
  line2?: string | undefined;
6973
- country: string;
6974
7035
  state: string;
6975
7036
  line1: string;
6976
7037
  city: string;
6977
7038
  postcode: string;
7039
+ country: string;
6978
7040
  };
6979
7041
  name: string;
6980
7042
  email: string;
@@ -6988,9 +7050,9 @@ export declare const useCoreStore: () => {
6988
7050
  warehouseQuota: number;
6989
7051
  menuVersion: "v2" | "v3" | "v4";
6990
7052
  }[]>;
6991
- currentBusiness: import("vue").Ref<import("./plugins/store").FmpBusiness | undefined>;
6992
- readBusinesses: () => Promise<import("./plugins/store").FmpBusiness | undefined>;
6993
- changeBusiness: (business: import("./plugins/store").FmpBusiness | undefined) => Promise<void>;
7053
+ currentBusiness: import("vue").Ref<import("./store").FmpBusiness | undefined>;
7054
+ readBusinesses: () => Promise<import("./store").FmpBusiness | undefined>;
7055
+ changeBusiness: (business: import("./store").FmpBusiness | undefined) => Promise<void>;
6994
7056
  restaurants: import("vue").Ref<{
6995
7057
  managable: boolean;
6996
7058
  pf_business?: {
@@ -7095,11 +7157,11 @@ export declare const useCoreStore: () => {
7095
7157
  address: {
7096
7158
  coordinates?: number[] | undefined;
7097
7159
  line2?: string | undefined;
7098
- country: string;
7099
7160
  state: string;
7100
7161
  line1: string;
7101
7162
  city: string;
7102
7163
  postcode: string;
7164
+ country: string;
7103
7165
  };
7104
7166
  name: string;
7105
7167
  email: string;
@@ -7178,8 +7240,8 @@ export declare const useCoreStore: () => {
7178
7240
  };
7179
7241
  } | null | undefined;
7180
7242
  day: {
7181
- max: number;
7182
7243
  min: number;
7244
+ max: number;
7183
7245
  };
7184
7246
  } | null | undefined;
7185
7247
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -7285,8 +7347,8 @@ export declare const useCoreStore: () => {
7285
7347
  ignoreStock?: boolean | undefined;
7286
7348
  pickupTime?: {
7287
7349
  day: {
7288
- max: number;
7289
7350
  min: number;
7351
+ max: number;
7290
7352
  };
7291
7353
  } | null | undefined;
7292
7354
  pickupPointConfig?: {
@@ -7428,11 +7490,11 @@ export declare const useCoreStore: () => {
7428
7490
  address: {
7429
7491
  coordinates?: number[] | undefined;
7430
7492
  line2?: string | undefined;
7431
- country: string;
7432
7493
  state: string;
7433
7494
  line1: string;
7434
7495
  city: string;
7435
7496
  postcode: string;
7497
+ country: string;
7436
7498
  };
7437
7499
  name: string;
7438
7500
  email: string;
@@ -7440,7 +7502,7 @@ export declare const useCoreStore: () => {
7440
7502
  regNo: string;
7441
7503
  };
7442
7504
  }[]>;
7443
- currentRestaurant: import("vue").Ref<import("./plugins/store").FmpRestaurant | undefined>;
7505
+ currentRestaurant: import("vue").Ref<import("./store").FmpRestaurant | undefined>;
7444
7506
  readRestaurants: () => Promise<{
7445
7507
  managable: boolean;
7446
7508
  pf_business?: {
@@ -7545,11 +7607,11 @@ export declare const useCoreStore: () => {
7545
7607
  address: {
7546
7608
  coordinates?: number[] | undefined;
7547
7609
  line2?: string | undefined;
7548
- country: string;
7549
7610
  state: string;
7550
7611
  line1: string;
7551
7612
  city: string;
7552
7613
  postcode: string;
7614
+ country: string;
7553
7615
  };
7554
7616
  name: string;
7555
7617
  email: string;
@@ -7628,8 +7690,8 @@ export declare const useCoreStore: () => {
7628
7690
  };
7629
7691
  } | null | undefined;
7630
7692
  day: {
7631
- max: number;
7632
7693
  min: number;
7694
+ max: number;
7633
7695
  };
7634
7696
  } | null | undefined;
7635
7697
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -7735,8 +7797,8 @@ export declare const useCoreStore: () => {
7735
7797
  ignoreStock?: boolean | undefined;
7736
7798
  pickupTime?: {
7737
7799
  day: {
7738
- max: number;
7739
7800
  min: number;
7801
+ max: number;
7740
7802
  };
7741
7803
  } | null | undefined;
7742
7804
  pickupPointConfig?: {
@@ -7878,11 +7940,11 @@ export declare const useCoreStore: () => {
7878
7940
  address: {
7879
7941
  coordinates?: number[] | undefined;
7880
7942
  line2?: string | undefined;
7881
- country: string;
7882
7943
  state: string;
7883
7944
  line1: string;
7884
7945
  city: string;
7885
7946
  postcode: string;
7947
+ country: string;
7886
7948
  };
7887
7949
  name: string;
7888
7950
  email: string;
@@ -7890,8 +7952,18 @@ export declare const useCoreStore: () => {
7890
7952
  regNo: string;
7891
7953
  };
7892
7954
  }[] | undefined>;
7893
- changeRestaurant: (restaurant: import("./plugins/store").FmpRestaurant | undefined) => void;
7894
- }, "sessionUser" | "namespace" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant">>, Pick<{
7955
+ changeRestaurant: (restaurant: import("./store").FmpRestaurant | undefined) => void;
7956
+ }, "apps" | "currentAppName" | "sessionUser" | "namespace" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant">>, Pick<{
7957
+ apps: import("vue").Ref<{
7958
+ icon: string;
7959
+ name: string;
7960
+ description: string;
7961
+ path: string;
7962
+ color: string;
7963
+ }[]>;
7964
+ currentAppName: import("vue").Ref<string>;
7965
+ registerApp: (app: import("./store").PortalApp) => void;
7966
+ setCurrentApp: (path: string) => void;
7895
7967
  sessionUser: import("vue").Ref<{
7896
7968
  id: string;
7897
7969
  email?: string | null | undefined;
@@ -7991,7 +8063,7 @@ export declare const useCoreStore: () => {
7991
8063
  subject: string | string[];
7992
8064
  }[];
7993
8065
  } | null>;
7994
- setUser: (user: import("./plugins/auth").FeedMeUser | null) => Promise<void>;
8066
+ setUser: (user: import("./auth").FeedMeUser | null) => Promise<void>;
7995
8067
  fetchUserAdminPermissions: () => Promise<void>;
7996
8068
  fetchUserPermissions: () => Promise<void>;
7997
8069
  namespace: import("vue").Ref<"dev" | "prod">;
@@ -8100,11 +8172,11 @@ export declare const useCoreStore: () => {
8100
8172
  address: {
8101
8173
  coordinates?: number[] | undefined;
8102
8174
  line2?: string | undefined;
8103
- country: string;
8104
8175
  state: string;
8105
8176
  line1: string;
8106
8177
  city: string;
8107
8178
  postcode: string;
8179
+ country: string;
8108
8180
  };
8109
8181
  name: string;
8110
8182
  email: string;
@@ -8118,9 +8190,9 @@ export declare const useCoreStore: () => {
8118
8190
  warehouseQuota: number;
8119
8191
  menuVersion: "v2" | "v3" | "v4";
8120
8192
  }[]>;
8121
- currentBusiness: import("vue").Ref<import("./plugins/store").FmpBusiness | undefined>;
8122
- readBusinesses: () => Promise<import("./plugins/store").FmpBusiness | undefined>;
8123
- changeBusiness: (business: import("./plugins/store").FmpBusiness | undefined) => Promise<void>;
8193
+ currentBusiness: import("vue").Ref<import("./store").FmpBusiness | undefined>;
8194
+ readBusinesses: () => Promise<import("./store").FmpBusiness | undefined>;
8195
+ changeBusiness: (business: import("./store").FmpBusiness | undefined) => Promise<void>;
8124
8196
  restaurants: import("vue").Ref<{
8125
8197
  managable: boolean;
8126
8198
  pf_business?: {
@@ -8225,11 +8297,11 @@ export declare const useCoreStore: () => {
8225
8297
  address: {
8226
8298
  coordinates?: number[] | undefined;
8227
8299
  line2?: string | undefined;
8228
- country: string;
8229
8300
  state: string;
8230
8301
  line1: string;
8231
8302
  city: string;
8232
8303
  postcode: string;
8304
+ country: string;
8233
8305
  };
8234
8306
  name: string;
8235
8307
  email: string;
@@ -8308,8 +8380,8 @@ export declare const useCoreStore: () => {
8308
8380
  };
8309
8381
  } | null | undefined;
8310
8382
  day: {
8311
- max: number;
8312
8383
  min: number;
8384
+ max: number;
8313
8385
  };
8314
8386
  } | null | undefined;
8315
8387
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -8415,8 +8487,8 @@ export declare const useCoreStore: () => {
8415
8487
  ignoreStock?: boolean | undefined;
8416
8488
  pickupTime?: {
8417
8489
  day: {
8418
- max: number;
8419
8490
  min: number;
8491
+ max: number;
8420
8492
  };
8421
8493
  } | null | undefined;
8422
8494
  pickupPointConfig?: {
@@ -8558,11 +8630,11 @@ export declare const useCoreStore: () => {
8558
8630
  address: {
8559
8631
  coordinates?: number[] | undefined;
8560
8632
  line2?: string | undefined;
8561
- country: string;
8562
8633
  state: string;
8563
8634
  line1: string;
8564
8635
  city: string;
8565
8636
  postcode: string;
8637
+ country: string;
8566
8638
  };
8567
8639
  name: string;
8568
8640
  email: string;
@@ -8570,7 +8642,7 @@ export declare const useCoreStore: () => {
8570
8642
  regNo: string;
8571
8643
  };
8572
8644
  }[]>;
8573
- currentRestaurant: import("vue").Ref<import("./plugins/store").FmpRestaurant | undefined>;
8645
+ currentRestaurant: import("vue").Ref<import("./store").FmpRestaurant | undefined>;
8574
8646
  readRestaurants: () => Promise<{
8575
8647
  managable: boolean;
8576
8648
  pf_business?: {
@@ -8675,11 +8747,11 @@ export declare const useCoreStore: () => {
8675
8747
  address: {
8676
8748
  coordinates?: number[] | undefined;
8677
8749
  line2?: string | undefined;
8678
- country: string;
8679
8750
  state: string;
8680
8751
  line1: string;
8681
8752
  city: string;
8682
8753
  postcode: string;
8754
+ country: string;
8683
8755
  };
8684
8756
  name: string;
8685
8757
  email: string;
@@ -8758,8 +8830,8 @@ export declare const useCoreStore: () => {
8758
8830
  };
8759
8831
  } | null | undefined;
8760
8832
  day: {
8761
- max: number;
8762
8833
  min: number;
8834
+ max: number;
8763
8835
  };
8764
8836
  } | null | undefined;
8765
8837
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -8865,8 +8937,8 @@ export declare const useCoreStore: () => {
8865
8937
  ignoreStock?: boolean | undefined;
8866
8938
  pickupTime?: {
8867
8939
  day: {
8868
- max: number;
8869
8940
  min: number;
8941
+ max: number;
8870
8942
  };
8871
8943
  } | null | undefined;
8872
8944
  pickupPointConfig?: {
@@ -9008,11 +9080,11 @@ export declare const useCoreStore: () => {
9008
9080
  address: {
9009
9081
  coordinates?: number[] | undefined;
9010
9082
  line2?: string | undefined;
9011
- country: string;
9012
9083
  state: string;
9013
9084
  line1: string;
9014
9085
  city: string;
9015
9086
  postcode: string;
9087
+ country: string;
9016
9088
  };
9017
9089
  name: string;
9018
9090
  email: string;
@@ -9020,8 +9092,18 @@ export declare const useCoreStore: () => {
9020
9092
  regNo: string;
9021
9093
  };
9022
9094
  }[] | undefined>;
9023
- changeRestaurant: (restaurant: import("./plugins/store").FmpRestaurant | undefined) => void;
9095
+ changeRestaurant: (restaurant: import("./store").FmpRestaurant | undefined) => void;
9024
9096
  }, never>, Pick<{
9097
+ apps: import("vue").Ref<{
9098
+ icon: string;
9099
+ name: string;
9100
+ description: string;
9101
+ path: string;
9102
+ color: string;
9103
+ }[]>;
9104
+ currentAppName: import("vue").Ref<string>;
9105
+ registerApp: (app: import("./store").PortalApp) => void;
9106
+ setCurrentApp: (path: string) => void;
9025
9107
  sessionUser: import("vue").Ref<{
9026
9108
  id: string;
9027
9109
  email?: string | null | undefined;
@@ -9121,7 +9203,7 @@ export declare const useCoreStore: () => {
9121
9203
  subject: string | string[];
9122
9204
  }[];
9123
9205
  } | null>;
9124
- setUser: (user: import("./plugins/auth").FeedMeUser | null) => Promise<void>;
9206
+ setUser: (user: import("./auth").FeedMeUser | null) => Promise<void>;
9125
9207
  fetchUserAdminPermissions: () => Promise<void>;
9126
9208
  fetchUserPermissions: () => Promise<void>;
9127
9209
  namespace: import("vue").Ref<"dev" | "prod">;
@@ -9230,11 +9312,11 @@ export declare const useCoreStore: () => {
9230
9312
  address: {
9231
9313
  coordinates?: number[] | undefined;
9232
9314
  line2?: string | undefined;
9233
- country: string;
9234
9315
  state: string;
9235
9316
  line1: string;
9236
9317
  city: string;
9237
9318
  postcode: string;
9319
+ country: string;
9238
9320
  };
9239
9321
  name: string;
9240
9322
  email: string;
@@ -9248,9 +9330,9 @@ export declare const useCoreStore: () => {
9248
9330
  warehouseQuota: number;
9249
9331
  menuVersion: "v2" | "v3" | "v4";
9250
9332
  }[]>;
9251
- currentBusiness: import("vue").Ref<import("./plugins/store").FmpBusiness | undefined>;
9252
- readBusinesses: () => Promise<import("./plugins/store").FmpBusiness | undefined>;
9253
- changeBusiness: (business: import("./plugins/store").FmpBusiness | undefined) => Promise<void>;
9333
+ currentBusiness: import("vue").Ref<import("./store").FmpBusiness | undefined>;
9334
+ readBusinesses: () => Promise<import("./store").FmpBusiness | undefined>;
9335
+ changeBusiness: (business: import("./store").FmpBusiness | undefined) => Promise<void>;
9254
9336
  restaurants: import("vue").Ref<{
9255
9337
  managable: boolean;
9256
9338
  pf_business?: {
@@ -9355,11 +9437,11 @@ export declare const useCoreStore: () => {
9355
9437
  address: {
9356
9438
  coordinates?: number[] | undefined;
9357
9439
  line2?: string | undefined;
9358
- country: string;
9359
9440
  state: string;
9360
9441
  line1: string;
9361
9442
  city: string;
9362
9443
  postcode: string;
9444
+ country: string;
9363
9445
  };
9364
9446
  name: string;
9365
9447
  email: string;
@@ -9438,8 +9520,8 @@ export declare const useCoreStore: () => {
9438
9520
  };
9439
9521
  } | null | undefined;
9440
9522
  day: {
9441
- max: number;
9442
9523
  min: number;
9524
+ max: number;
9443
9525
  };
9444
9526
  } | null | undefined;
9445
9527
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -9545,8 +9627,8 @@ export declare const useCoreStore: () => {
9545
9627
  ignoreStock?: boolean | undefined;
9546
9628
  pickupTime?: {
9547
9629
  day: {
9548
- max: number;
9549
9630
  min: number;
9631
+ max: number;
9550
9632
  };
9551
9633
  } | null | undefined;
9552
9634
  pickupPointConfig?: {
@@ -9688,11 +9770,11 @@ export declare const useCoreStore: () => {
9688
9770
  address: {
9689
9771
  coordinates?: number[] | undefined;
9690
9772
  line2?: string | undefined;
9691
- country: string;
9692
9773
  state: string;
9693
9774
  line1: string;
9694
9775
  city: string;
9695
9776
  postcode: string;
9777
+ country: string;
9696
9778
  };
9697
9779
  name: string;
9698
9780
  email: string;
@@ -9700,7 +9782,7 @@ export declare const useCoreStore: () => {
9700
9782
  regNo: string;
9701
9783
  };
9702
9784
  }[]>;
9703
- currentRestaurant: import("vue").Ref<import("./plugins/store").FmpRestaurant | undefined>;
9785
+ currentRestaurant: import("vue").Ref<import("./store").FmpRestaurant | undefined>;
9704
9786
  readRestaurants: () => Promise<{
9705
9787
  managable: boolean;
9706
9788
  pf_business?: {
@@ -9805,11 +9887,11 @@ export declare const useCoreStore: () => {
9805
9887
  address: {
9806
9888
  coordinates?: number[] | undefined;
9807
9889
  line2?: string | undefined;
9808
- country: string;
9809
9890
  state: string;
9810
9891
  line1: string;
9811
9892
  city: string;
9812
9893
  postcode: string;
9894
+ country: string;
9813
9895
  };
9814
9896
  name: string;
9815
9897
  email: string;
@@ -9888,8 +9970,8 @@ export declare const useCoreStore: () => {
9888
9970
  };
9889
9971
  } | null | undefined;
9890
9972
  day: {
9891
- max: number;
9892
9973
  min: number;
9974
+ max: number;
9893
9975
  };
9894
9976
  } | null | undefined;
9895
9977
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -9995,8 +10077,8 @@ export declare const useCoreStore: () => {
9995
10077
  ignoreStock?: boolean | undefined;
9996
10078
  pickupTime?: {
9997
10079
  day: {
9998
- max: number;
9999
10080
  min: number;
10081
+ max: number;
10000
10082
  };
10001
10083
  } | null | undefined;
10002
10084
  pickupPointConfig?: {
@@ -10138,11 +10220,11 @@ export declare const useCoreStore: () => {
10138
10220
  address: {
10139
10221
  coordinates?: number[] | undefined;
10140
10222
  line2?: string | undefined;
10141
- country: string;
10142
10223
  state: string;
10143
10224
  line1: string;
10144
10225
  city: string;
10145
10226
  postcode: string;
10227
+ country: string;
10146
10228
  };
10147
10229
  name: string;
10148
10230
  email: string;
@@ -10150,18 +10232,20 @@ export declare const useCoreStore: () => {
10150
10232
  regNo: string;
10151
10233
  };
10152
10234
  }[] | undefined>;
10153
- changeRestaurant: (restaurant: import("./plugins/store").FmpRestaurant | undefined) => void;
10154
- }, "setUser" | "fetchUserAdminPermissions" | "fetchUserPermissions" | "setNamespace" | "changeCountry" | "readBusinesses" | "changeBusiness" | "readRestaurants" | "changeRestaurant">>, detached?: boolean | undefined): () => void;
10235
+ changeRestaurant: (restaurant: import("./store").FmpRestaurant | undefined) => void;
10236
+ }, "registerApp" | "setCurrentApp" | "setUser" | "fetchUserAdminPermissions" | "fetchUserPermissions" | "setNamespace" | "changeCountry" | "readBusinesses" | "changeBusiness" | "readRestaurants" | "changeRestaurant">>, detached?: boolean | undefined): () => void;
10155
10237
  $dispose(): void;
10156
10238
  $id: "portal-core";
10157
10239
  _customProperties: Set<string>;
10158
- setUser: (user: import("./plugins/auth").FeedMeUser | null) => Promise<void>;
10240
+ registerApp: (app: import("./store").PortalApp) => void;
10241
+ setCurrentApp: (path: string) => void;
10242
+ setUser: (user: import("./auth").FeedMeUser | null) => Promise<void>;
10159
10243
  fetchUserAdminPermissions: () => Promise<void>;
10160
10244
  fetchUserPermissions: () => Promise<void>;
10161
10245
  setNamespace: (ns: "dev" | "prod") => void;
10162
10246
  changeCountry: (country: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW") => Promise<void>;
10163
- readBusinesses: () => Promise<import("./plugins/store").FmpBusiness | undefined>;
10164
- changeBusiness: (business: import("./plugins/store").FmpBusiness | undefined) => Promise<void>;
10247
+ readBusinesses: () => Promise<import("./store").FmpBusiness | undefined>;
10248
+ changeBusiness: (business: import("./store").FmpBusiness | undefined) => Promise<void>;
10165
10249
  readRestaurants: () => Promise<{
10166
10250
  managable: boolean;
10167
10251
  pf_business?: {
@@ -10266,11 +10350,11 @@ export declare const useCoreStore: () => {
10266
10350
  address: {
10267
10351
  coordinates?: number[] | undefined;
10268
10352
  line2?: string | undefined;
10269
- country: string;
10270
10353
  state: string;
10271
10354
  line1: string;
10272
10355
  city: string;
10273
10356
  postcode: string;
10357
+ country: string;
10274
10358
  };
10275
10359
  name: string;
10276
10360
  email: string;
@@ -10349,8 +10433,8 @@ export declare const useCoreStore: () => {
10349
10433
  };
10350
10434
  } | null | undefined;
10351
10435
  day: {
10352
- max: number;
10353
10436
  min: number;
10437
+ max: number;
10354
10438
  };
10355
10439
  } | null | undefined;
10356
10440
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -10456,8 +10540,8 @@ export declare const useCoreStore: () => {
10456
10540
  ignoreStock?: boolean | undefined;
10457
10541
  pickupTime?: {
10458
10542
  day: {
10459
- max: number;
10460
10543
  min: number;
10544
+ max: number;
10461
10545
  };
10462
10546
  } | null | undefined;
10463
10547
  pickupPointConfig?: {
@@ -10599,11 +10683,11 @@ export declare const useCoreStore: () => {
10599
10683
  address: {
10600
10684
  coordinates?: number[] | undefined;
10601
10685
  line2?: string | undefined;
10602
- country: string;
10603
10686
  state: string;
10604
10687
  line1: string;
10605
10688
  city: string;
10606
10689
  postcode: string;
10690
+ country: string;
10607
10691
  };
10608
10692
  name: string;
10609
10693
  email: string;
@@ -10611,8 +10695,7 @@ export declare const useCoreStore: () => {
10611
10695
  regNo: string;
10612
10696
  };
10613
10697
  }[] | undefined>;
10614
- changeRestaurant: (restaurant: import("./plugins/store").FmpRestaurant | undefined) => void;
10698
+ changeRestaurant: (restaurant: import("./store").FmpRestaurant | undefined) => void;
10615
10699
  };
10616
- export { FeedMeAuth } from './plugins/auth';
10617
- export { axiosClientInstance } from './api';
10700
+ export { FeedMeAuth } from './auth';
10618
10701
  export { default as FmNavBar } from './App.vue';