@feedmepos/mf-common 1.29.33 → 1.29.36-dev.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/{CustomAttributesForm-72fdb2df.js → CustomAttributesForm-73c7d7c5.js} +1 -1
- package/dist/{ItemSelector-711b81ae.js → ItemSelector-642dd9b5.js} +21977 -18468
- package/dist/{RestaurantSelector-88923427.js → RestaurantSelector-b09ffed2.js} +1 -1
- package/dist/api/index.d.ts +21 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/{app-5ebc3cee.js → app-e443ee8a.js} +15664 -15218
- package/dist/app.d.ts +1 -1
- package/dist/app.d.ts.map +1 -1
- package/dist/app.js +32 -30
- package/dist/components/AllBusinessDialog.vue.d.ts.map +1 -1
- package/dist/components/FoodCourtSelectList.vue.d.ts +8 -0
- package/dist/components/FoodCourtSelectList.vue.d.ts.map +1 -0
- package/dist/components/Portal/BusinessDialogMobile.vue.d.ts.map +1 -1
- package/dist/components/Portal/PortalDesktop.vue.d.ts.map +1 -1
- package/dist/components/Portal/PortalMobile.vue.d.ts.map +1 -1
- package/dist/components/Portal/PortalTablet.vue.d.ts.map +1 -1
- package/dist/components/UserInfo/index.vue.d.ts.map +1 -1
- package/dist/composables/useContextSelector.d.ts +23 -0
- package/dist/composables/useContextSelector.d.ts.map +1 -0
- package/dist/composables/usePaginatedFoodCourts.d.ts +214 -0
- package/dist/composables/usePaginatedFoodCourts.d.ts.map +1 -0
- package/dist/i18n.d.ts +77 -0
- package/dist/i18n.d.ts.map +1 -1
- package/dist/router/context.d.ts +11 -0
- package/dist/router/context.d.ts.map +1 -0
- package/dist/router/query.d.ts.map +1 -1
- package/dist/store.d.ts +73 -5
- package/dist/store.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/utils/businessStorage.d.ts +17 -0
- package/dist/utils/businessStorage.d.ts.map +1 -1
- package/package.json +4 -3
package/dist/app.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { initialize, onAuthStateChanged, FeedMeAuth } from "./auth";
|
|
2
2
|
export { baseClientInstance } from "./api";
|
|
3
|
-
export { useCoreStore, FmpUser } from "./store";
|
|
3
|
+
export { useCoreStore, FmpUser, onFoodCourtChanged, isPathAvailableInContext, type FmpFoodCourt, type PortalContextType } from "./store";
|
|
4
4
|
export { useCountry } from "./utils/country";
|
|
5
5
|
export { useAppLocale } from "./composables/useAppLocale";
|
|
6
6
|
export { formatDateTime, formatTimeOfDay, prefersHour12 } from "./utils/dateTimeFormat";
|
package/dist/app.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/app.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAA;AAGnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAA;AAG1C,OAAO,
|
|
1
|
+
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/app.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAA;AAGnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAA;AAG1C,OAAO,EACL,YAAY,EACZ,OAAO,EACP,kBAAkB,EAClB,wBAAwB,EACxB,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACvB,MAAM,SAAS,CAAA;AAGhB,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAG5C,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACzD,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAGvF,cAAc,gCAAgC,CAAA;AAG9C,cAAc,eAAe,CAAA;AAG7B,cAAc,cAAc,CAAA;AAG5B,cAAc,QAAQ,CAAA;AAGtB,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAA;AAGtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAG7C,OAAO,EAAE,+BAA+B,EAAE,MAAM,gBAAgB,CAAA;AAGhE,cAAc,+BAA+B,CAAA;AAG7C,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAA"}
|
package/dist/app.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { x as s } from "./app-e443ee8a.js";
|
|
2
|
+
import { I as u, E as m, z as M, S as p, T as E, F as P, K as S, h as d, J as C, P as c, _ as g, R as h, g as _, U as A, M as F, v as R, p as T, q as f, D as y, L as O, s as I, i as L, w as b, W as D, C as Q, A as U, B as v, k as x, o as G, j as N, r as w, V as B, N as V, X as W, n as Y, u as z, m as H, y as j, t as k, Q as q, H as J, G as K } from "./app-e443ee8a.js";
|
|
3
3
|
import "pinia";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "vue-router";
|
|
6
6
|
import "@feedmepos/ui-library";
|
|
7
7
|
const r = s.Dinero;
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
u as CustomAttributesForm,
|
|
10
10
|
r as Dinero,
|
|
11
|
-
|
|
11
|
+
m as EMPTY_MONGO_QUERY,
|
|
12
12
|
M as EMPTY_RULE,
|
|
13
13
|
p as FM_POST_MESSAGE_REQUEST,
|
|
14
14
|
E as FM_POST_MESSAGE_RESPONSE,
|
|
15
15
|
P as FeedMeAuth,
|
|
16
16
|
S as FmNavBar,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
d as FmpUser,
|
|
18
|
+
C as ItemSelector,
|
|
19
|
+
c as Permission,
|
|
20
|
+
g as PermissionWrapper,
|
|
21
|
+
h as RestaurantSelector,
|
|
22
|
+
_ as baseClientInstance,
|
|
23
23
|
A as callMethodOnWindow,
|
|
24
24
|
F as createFeedMeI18n,
|
|
25
25
|
R as detectLocale,
|
|
@@ -27,24 +27,26 @@ export {
|
|
|
27
27
|
f as formatTimeOfDay,
|
|
28
28
|
y as fullPermission,
|
|
29
29
|
O as i18nMessages,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
B as
|
|
42
|
-
V as
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
j as
|
|
48
|
-
k as
|
|
49
|
-
q as
|
|
30
|
+
I as initVueClientMonitoring,
|
|
31
|
+
L as initialize,
|
|
32
|
+
b as installBusinessQueryStatePlugin,
|
|
33
|
+
D as installPostMessageMethodCall,
|
|
34
|
+
Q as installRouteValidation,
|
|
35
|
+
U as isEmptyMongoQuery,
|
|
36
|
+
v as isEmptyRule,
|
|
37
|
+
x as isPathAvailableInContext,
|
|
38
|
+
G as onAuthStateChanged,
|
|
39
|
+
N as onFoodCourtChanged,
|
|
40
|
+
w as prefersHour12,
|
|
41
|
+
B as registerPostMessageMethod,
|
|
42
|
+
V as setEnabledLocales,
|
|
43
|
+
W as uninstallPostMessageMethodCall,
|
|
44
|
+
Y as useAppLocale,
|
|
45
|
+
z as useCoreStore,
|
|
46
|
+
H as useCountry,
|
|
47
|
+
j as useCustomAttributes,
|
|
48
|
+
k as useI18n,
|
|
49
|
+
q as useLocale,
|
|
50
|
+
J as validatePermission,
|
|
51
|
+
K as withPermission
|
|
50
52
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AllBusinessDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AllBusinessDialog.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AllBusinessDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AllBusinessDialog.vue.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,WAAW,EAAmC,MAAM,SAAS,CAAA;AAI3E,UAAU,KAAK;IACb,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB,cAAc,EAAE,CAAC,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,KAAK,IAAI,CAAA;CACvE;;AAmaD,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type FmpFoodCourt } from "@/store";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
select: (foodCourt: FmpFoodCourt) => void;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
5
|
+
onSelect?: ((foodCourt: FmpFoodCourt) => any) | undefined;
|
|
6
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=FoodCourtSelectList.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FoodCourtSelectList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FoodCourtSelectList.vue.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,YAAY,EAAgB,MAAM,SAAS,CAAA;;;;;;AA+SzD,wBAMG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BusinessDialogMobile.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Portal/BusinessDialogMobile.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BusinessDialogMobile.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Portal/BusinessDialogMobile.vue.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,WAAW,EAAmC,MAAM,SAAS,CAAA;AAI3E,UAAU,KAAK;IACb,UAAU,EAAE,OAAO,CAAA;IACnB,cAAc,EAAE,CAAC,QAAQ,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAA;CACjE;;AAqoBD,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PortalDesktop.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Portal/PortalDesktop.vue.ts"],"names":[],"mappings":"AASA,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,SAAS,CAAA;AAK7D,OAAO,EAAE,KAAK,SAAS,EAAgB,MAAM,SAAS,CAAA;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"PortalDesktop.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Portal/PortalDesktop.vue.ts"],"names":[],"mappings":"AASA,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,SAAS,CAAA;AAK7D,OAAO,EAAE,KAAK,SAAS,EAAgB,MAAM,SAAS,CAAA;;;;;;;;;;;;;;;;;;;;AAsuBtD,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PortalMobile.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Portal/PortalMobile.vue.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,OAAO,EAAgB,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAInF,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"PortalMobile.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Portal/PortalMobile.vue.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,OAAO,EAAgB,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAInF,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;;;;;;;;;AAo8CxD,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PortalTablet.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Portal/PortalTablet.vue.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAgB,WAAW,EAAE,MAAM,2BAA2B,CAAA;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"PortalTablet.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Portal/PortalTablet.vue.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAgB,WAAW,EAAE,MAAM,2BAA2B,CAAA;;;;;;;;;;;;;;;;;;;;AAk3B1E,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/UserInfo/index.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,QAAQ,EAAoB,MAAM,KAAK,CAAA;AAG/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAQjD,OAAO,KAAK,EAAE,OAAO,EAAgB,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/UserInfo/index.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,QAAQ,EAAoB,MAAM,KAAK,CAAA;AAG/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAQjD,OAAO,KAAK,EAAE,OAAO,EAAgB,MAAM,2BAA2B,CAAA;AAItE,OAAO,EAAE,KAAK,WAAW,EAAgB,MAAM,SAAS,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmmBxD,wBA4BG"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type FmpFoodCourt, type PortalContextType } from "@/store";
|
|
2
|
+
/**
|
|
3
|
+
* Tab state shared by the desktop and mobile selectors. Users without a food
|
|
4
|
+
* court keep today's business-only selector.
|
|
5
|
+
*/
|
|
6
|
+
export declare function useContextSelector(): {
|
|
7
|
+
showTabs: import("vue").ComputedRef<boolean>;
|
|
8
|
+
activeTab: import("vue").Ref<PortalContextType, PortalContextType>;
|
|
9
|
+
isFoodCourtTab: import("vue").ComputedRef<boolean>;
|
|
10
|
+
tabItems: import("vue").ComputedRef<({
|
|
11
|
+
label: string;
|
|
12
|
+
value: string;
|
|
13
|
+
badge?: undefined;
|
|
14
|
+
} | {
|
|
15
|
+
label: string;
|
|
16
|
+
value: string;
|
|
17
|
+
badge: number | undefined;
|
|
18
|
+
})[]>;
|
|
19
|
+
title: import("vue").ComputedRef<string>;
|
|
20
|
+
onTabChange: (tab: string | number | null) => void;
|
|
21
|
+
selectFoodCourt: (foodCourt: FmpFoodCourt) => void;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=useContextSelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useContextSelector.d.ts","sourceRoot":"","sources":["../../../src/composables/useContextSelector.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,iBAAiB,EAAgB,MAAM,SAAS,CAAA;AAEjF;;;GAGG;AACH,wBAAgB,kBAAkB;;;;;;;;;;;;;;uBAwBN,MAAM,GAAG,MAAM,GAAG,IAAI;iCAKZ,YAAY;EAMjD"}
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import type { FmpFoodCourt } from "@/store";
|
|
2
|
+
/**
|
|
3
|
+
* Pages through the food courts the user can open, searching on the server: an
|
|
4
|
+
* owner's own courts, or every active court for FeedMe admin and staff.
|
|
5
|
+
* Mirrors usePaginatedBusinesses; `skip` is a page index, as for businesses.
|
|
6
|
+
*/
|
|
7
|
+
export declare function usePaginatedFoodCourts(): {
|
|
8
|
+
searchKeyword: import("vue").Ref<string, string>;
|
|
9
|
+
debouncedSearchKeyword: Readonly<import("vue").Ref<string, string>>;
|
|
10
|
+
isLoading: import("vue").Ref<boolean, boolean>;
|
|
11
|
+
foodCourts: import("vue").Ref<{
|
|
12
|
+
id: string;
|
|
13
|
+
_id: string;
|
|
14
|
+
ownerId: string;
|
|
15
|
+
profile: {
|
|
16
|
+
name: string;
|
|
17
|
+
address: {
|
|
18
|
+
line1: string;
|
|
19
|
+
state: string;
|
|
20
|
+
city: string;
|
|
21
|
+
postcode: string;
|
|
22
|
+
country: string;
|
|
23
|
+
line2?: string | null | undefined;
|
|
24
|
+
coordinates?: number[] | null | undefined;
|
|
25
|
+
};
|
|
26
|
+
phoneNo: string;
|
|
27
|
+
email: string;
|
|
28
|
+
regNo: string;
|
|
29
|
+
_id?: string | null | undefined;
|
|
30
|
+
code?: string | null | undefined;
|
|
31
|
+
legalName?: string | null | undefined;
|
|
32
|
+
sstRegNo?: string | null | undefined;
|
|
33
|
+
discovery?: boolean | null | undefined;
|
|
34
|
+
coverPhoto?: string | null | undefined;
|
|
35
|
+
thumbnailPhoto?: string | null | undefined;
|
|
36
|
+
description?: string | null | undefined;
|
|
37
|
+
photos?: string[] | null | undefined;
|
|
38
|
+
operatingHours?: {
|
|
39
|
+
0: {
|
|
40
|
+
enable: boolean;
|
|
41
|
+
hours: {
|
|
42
|
+
start: string;
|
|
43
|
+
end: string;
|
|
44
|
+
}[];
|
|
45
|
+
};
|
|
46
|
+
1: {
|
|
47
|
+
enable: boolean;
|
|
48
|
+
hours: {
|
|
49
|
+
start: string;
|
|
50
|
+
end: string;
|
|
51
|
+
}[];
|
|
52
|
+
};
|
|
53
|
+
2: {
|
|
54
|
+
enable: boolean;
|
|
55
|
+
hours: {
|
|
56
|
+
start: string;
|
|
57
|
+
end: string;
|
|
58
|
+
}[];
|
|
59
|
+
};
|
|
60
|
+
3: {
|
|
61
|
+
enable: boolean;
|
|
62
|
+
hours: {
|
|
63
|
+
start: string;
|
|
64
|
+
end: string;
|
|
65
|
+
}[];
|
|
66
|
+
};
|
|
67
|
+
4: {
|
|
68
|
+
enable: boolean;
|
|
69
|
+
hours: {
|
|
70
|
+
start: string;
|
|
71
|
+
end: string;
|
|
72
|
+
}[];
|
|
73
|
+
};
|
|
74
|
+
5: {
|
|
75
|
+
enable: boolean;
|
|
76
|
+
hours: {
|
|
77
|
+
start: string;
|
|
78
|
+
end: string;
|
|
79
|
+
}[];
|
|
80
|
+
};
|
|
81
|
+
6: {
|
|
82
|
+
enable: boolean;
|
|
83
|
+
hours: {
|
|
84
|
+
start: string;
|
|
85
|
+
end: string;
|
|
86
|
+
}[];
|
|
87
|
+
};
|
|
88
|
+
} | null | undefined;
|
|
89
|
+
tags?: string[] | null | undefined;
|
|
90
|
+
url?: string | null | undefined;
|
|
91
|
+
};
|
|
92
|
+
members: {
|
|
93
|
+
_id: string;
|
|
94
|
+
restaurantId: string;
|
|
95
|
+
status: "ACTIVE" | "DECLINED" | "INVITED" | "REVOKED" | "REMOVED";
|
|
96
|
+
invitedAt: string;
|
|
97
|
+
visible: boolean;
|
|
98
|
+
stall?: {
|
|
99
|
+
unitNo?: string | null | undefined;
|
|
100
|
+
displayName?: string | null | undefined;
|
|
101
|
+
} | null | undefined;
|
|
102
|
+
invitedBy?: string | null | undefined;
|
|
103
|
+
inviteExpiresAt?: string | null | undefined;
|
|
104
|
+
joinedAt?: string | null | undefined;
|
|
105
|
+
removedAt?: string | null | undefined;
|
|
106
|
+
remark?: string | null | undefined;
|
|
107
|
+
}[];
|
|
108
|
+
payoutAccount?: Record<string, any> | null | undefined;
|
|
109
|
+
deletedAt?: string | null | undefined;
|
|
110
|
+
}[], FmpFoodCourt[] | {
|
|
111
|
+
id: string;
|
|
112
|
+
_id: string;
|
|
113
|
+
ownerId: string;
|
|
114
|
+
profile: {
|
|
115
|
+
name: string;
|
|
116
|
+
address: {
|
|
117
|
+
line1: string;
|
|
118
|
+
state: string;
|
|
119
|
+
city: string;
|
|
120
|
+
postcode: string;
|
|
121
|
+
country: string;
|
|
122
|
+
line2?: string | null | undefined;
|
|
123
|
+
coordinates?: number[] | null | undefined;
|
|
124
|
+
};
|
|
125
|
+
phoneNo: string;
|
|
126
|
+
email: string;
|
|
127
|
+
regNo: string;
|
|
128
|
+
_id?: string | null | undefined;
|
|
129
|
+
code?: string | null | undefined;
|
|
130
|
+
legalName?: string | null | undefined;
|
|
131
|
+
sstRegNo?: string | null | undefined;
|
|
132
|
+
discovery?: boolean | null | undefined;
|
|
133
|
+
coverPhoto?: string | null | undefined;
|
|
134
|
+
thumbnailPhoto?: string | null | undefined;
|
|
135
|
+
description?: string | null | undefined;
|
|
136
|
+
photos?: string[] | null | undefined;
|
|
137
|
+
operatingHours?: {
|
|
138
|
+
0: {
|
|
139
|
+
enable: boolean;
|
|
140
|
+
hours: {
|
|
141
|
+
start: string;
|
|
142
|
+
end: string;
|
|
143
|
+
}[];
|
|
144
|
+
};
|
|
145
|
+
1: {
|
|
146
|
+
enable: boolean;
|
|
147
|
+
hours: {
|
|
148
|
+
start: string;
|
|
149
|
+
end: string;
|
|
150
|
+
}[];
|
|
151
|
+
};
|
|
152
|
+
2: {
|
|
153
|
+
enable: boolean;
|
|
154
|
+
hours: {
|
|
155
|
+
start: string;
|
|
156
|
+
end: string;
|
|
157
|
+
}[];
|
|
158
|
+
};
|
|
159
|
+
3: {
|
|
160
|
+
enable: boolean;
|
|
161
|
+
hours: {
|
|
162
|
+
start: string;
|
|
163
|
+
end: string;
|
|
164
|
+
}[];
|
|
165
|
+
};
|
|
166
|
+
4: {
|
|
167
|
+
enable: boolean;
|
|
168
|
+
hours: {
|
|
169
|
+
start: string;
|
|
170
|
+
end: string;
|
|
171
|
+
}[];
|
|
172
|
+
};
|
|
173
|
+
5: {
|
|
174
|
+
enable: boolean;
|
|
175
|
+
hours: {
|
|
176
|
+
start: string;
|
|
177
|
+
end: string;
|
|
178
|
+
}[];
|
|
179
|
+
};
|
|
180
|
+
6: {
|
|
181
|
+
enable: boolean;
|
|
182
|
+
hours: {
|
|
183
|
+
start: string;
|
|
184
|
+
end: string;
|
|
185
|
+
}[];
|
|
186
|
+
};
|
|
187
|
+
} | null | undefined;
|
|
188
|
+
tags?: string[] | null | undefined;
|
|
189
|
+
url?: string | null | undefined;
|
|
190
|
+
};
|
|
191
|
+
members: {
|
|
192
|
+
_id: string;
|
|
193
|
+
restaurantId: string;
|
|
194
|
+
status: "ACTIVE" | "DECLINED" | "INVITED" | "REVOKED" | "REMOVED";
|
|
195
|
+
invitedAt: string;
|
|
196
|
+
visible: boolean;
|
|
197
|
+
stall?: {
|
|
198
|
+
unitNo?: string | null | undefined;
|
|
199
|
+
displayName?: string | null | undefined;
|
|
200
|
+
} | null | undefined;
|
|
201
|
+
invitedBy?: string | null | undefined;
|
|
202
|
+
inviteExpiresAt?: string | null | undefined;
|
|
203
|
+
joinedAt?: string | null | undefined;
|
|
204
|
+
removedAt?: string | null | undefined;
|
|
205
|
+
remark?: string | null | undefined;
|
|
206
|
+
}[];
|
|
207
|
+
payoutAccount?: Record<string, any> | null | undefined;
|
|
208
|
+
deletedAt?: string | null | undefined;
|
|
209
|
+
}[]>;
|
|
210
|
+
totalResources: import("vue").Ref<number, number>;
|
|
211
|
+
loadFoodCourts: (reset?: boolean) => Promise<void>;
|
|
212
|
+
onScroll: (event: Event) => Promise<void>;
|
|
213
|
+
};
|
|
214
|
+
//# sourceMappingURL=usePaginatedFoodCourts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePaginatedFoodCourts.d.ts","sourceRoot":"","sources":["../../../src/composables/usePaginatedFoodCourts.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C;;;;GAIG;AACH,wBAAgB,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAuDL,KAAK;EAiBrC"}
|
package/dist/i18n.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ export declare const i18nMessages: {
|
|
|
51
51
|
menu: {
|
|
52
52
|
account: string;
|
|
53
53
|
business: string;
|
|
54
|
+
foodCourt: string;
|
|
54
55
|
myBusiness: string;
|
|
55
56
|
manageAccount: string;
|
|
56
57
|
remy: string;
|
|
@@ -128,6 +129,8 @@ export declare const i18nMessages: {
|
|
|
128
129
|
businessCopySuccess: string;
|
|
129
130
|
restaurantCopySuccess: string;
|
|
130
131
|
loadError: string;
|
|
132
|
+
foodCourtLoadError: string;
|
|
133
|
+
foodCourtCopySuccess: string;
|
|
131
134
|
};
|
|
132
135
|
selectBusiness: {
|
|
133
136
|
title: string;
|
|
@@ -136,6 +139,14 @@ export declare const i18nMessages: {
|
|
|
136
139
|
noBusiness: string;
|
|
137
140
|
noBusinessFound: string;
|
|
138
141
|
};
|
|
142
|
+
selectContext: {
|
|
143
|
+
title: string;
|
|
144
|
+
tabBusiness: string;
|
|
145
|
+
tabFoodCourt: string;
|
|
146
|
+
searchFoodCourt: string;
|
|
147
|
+
noFoodCourtFound: string;
|
|
148
|
+
restaurantCount: string;
|
|
149
|
+
};
|
|
139
150
|
myBusiness: {
|
|
140
151
|
title: string;
|
|
141
152
|
search_restaurants: string;
|
|
@@ -271,6 +282,7 @@ export declare const i18nMessages: {
|
|
|
271
282
|
menu: {
|
|
272
283
|
account: string;
|
|
273
284
|
business: string;
|
|
285
|
+
foodCourt: string;
|
|
274
286
|
myBusiness: string;
|
|
275
287
|
manageAccount: string;
|
|
276
288
|
remy: string;
|
|
@@ -348,6 +360,8 @@ export declare const i18nMessages: {
|
|
|
348
360
|
businessCopySuccess: string;
|
|
349
361
|
restaurantCopySuccess: string;
|
|
350
362
|
loadError: string;
|
|
363
|
+
foodCourtLoadError: string;
|
|
364
|
+
foodCourtCopySuccess: string;
|
|
351
365
|
};
|
|
352
366
|
selectBusiness: {
|
|
353
367
|
title: string;
|
|
@@ -356,6 +370,14 @@ export declare const i18nMessages: {
|
|
|
356
370
|
noBusiness: string;
|
|
357
371
|
noBusinessFound: string;
|
|
358
372
|
};
|
|
373
|
+
selectContext: {
|
|
374
|
+
title: string;
|
|
375
|
+
tabBusiness: string;
|
|
376
|
+
tabFoodCourt: string;
|
|
377
|
+
searchFoodCourt: string;
|
|
378
|
+
noFoodCourtFound: string;
|
|
379
|
+
restaurantCount: string;
|
|
380
|
+
};
|
|
359
381
|
myBusiness: {
|
|
360
382
|
title: string;
|
|
361
383
|
search_restaurants: string;
|
|
@@ -491,6 +513,7 @@ export declare const i18nMessages: {
|
|
|
491
513
|
menu: {
|
|
492
514
|
account: string;
|
|
493
515
|
business: string;
|
|
516
|
+
foodCourt: string;
|
|
494
517
|
myBusiness: string;
|
|
495
518
|
manageAccount: string;
|
|
496
519
|
remy: string;
|
|
@@ -568,6 +591,8 @@ export declare const i18nMessages: {
|
|
|
568
591
|
businessCopySuccess: string;
|
|
569
592
|
restaurantCopySuccess: string;
|
|
570
593
|
loadError: string;
|
|
594
|
+
foodCourtLoadError: string;
|
|
595
|
+
foodCourtCopySuccess: string;
|
|
571
596
|
};
|
|
572
597
|
selectBusiness: {
|
|
573
598
|
title: string;
|
|
@@ -576,6 +601,14 @@ export declare const i18nMessages: {
|
|
|
576
601
|
noBusiness: string;
|
|
577
602
|
noBusinessFound: string;
|
|
578
603
|
};
|
|
604
|
+
selectContext: {
|
|
605
|
+
title: string;
|
|
606
|
+
tabBusiness: string;
|
|
607
|
+
tabFoodCourt: string;
|
|
608
|
+
searchFoodCourt: string;
|
|
609
|
+
noFoodCourtFound: string;
|
|
610
|
+
restaurantCount: string;
|
|
611
|
+
};
|
|
579
612
|
myBusiness: {
|
|
580
613
|
title: string;
|
|
581
614
|
search_restaurants: string;
|
|
@@ -711,6 +744,7 @@ export declare const i18nMessages: {
|
|
|
711
744
|
menu: {
|
|
712
745
|
account: string;
|
|
713
746
|
business: string;
|
|
747
|
+
foodCourt: string;
|
|
714
748
|
myBusiness: string;
|
|
715
749
|
manageAccount: string;
|
|
716
750
|
remy: string;
|
|
@@ -788,6 +822,8 @@ export declare const i18nMessages: {
|
|
|
788
822
|
businessCopySuccess: string;
|
|
789
823
|
restaurantCopySuccess: string;
|
|
790
824
|
loadError: string;
|
|
825
|
+
foodCourtLoadError: string;
|
|
826
|
+
foodCourtCopySuccess: string;
|
|
791
827
|
};
|
|
792
828
|
selectBusiness: {
|
|
793
829
|
title: string;
|
|
@@ -796,6 +832,14 @@ export declare const i18nMessages: {
|
|
|
796
832
|
noBusiness: string;
|
|
797
833
|
noBusinessFound: string;
|
|
798
834
|
};
|
|
835
|
+
selectContext: {
|
|
836
|
+
title: string;
|
|
837
|
+
tabBusiness: string;
|
|
838
|
+
tabFoodCourt: string;
|
|
839
|
+
searchFoodCourt: string;
|
|
840
|
+
noFoodCourtFound: string;
|
|
841
|
+
restaurantCount: string;
|
|
842
|
+
};
|
|
799
843
|
myBusiness: {
|
|
800
844
|
title: string;
|
|
801
845
|
search_restaurants: string;
|
|
@@ -931,6 +975,7 @@ export declare const i18nMessages: {
|
|
|
931
975
|
menu: {
|
|
932
976
|
account: string;
|
|
933
977
|
business: string;
|
|
978
|
+
foodCourt: string;
|
|
934
979
|
myBusiness: string;
|
|
935
980
|
manageAccount: string;
|
|
936
981
|
remy: string;
|
|
@@ -1009,6 +1054,8 @@ export declare const i18nMessages: {
|
|
|
1009
1054
|
businessCopySuccess: string;
|
|
1010
1055
|
restaurantCopySuccess: string;
|
|
1011
1056
|
loadError: string;
|
|
1057
|
+
foodCourtLoadError: string;
|
|
1058
|
+
foodCourtCopySuccess: string;
|
|
1012
1059
|
};
|
|
1013
1060
|
selectBusiness: {
|
|
1014
1061
|
title: string;
|
|
@@ -1017,6 +1064,14 @@ export declare const i18nMessages: {
|
|
|
1017
1064
|
noBusiness: string;
|
|
1018
1065
|
noBusinessFound: string;
|
|
1019
1066
|
};
|
|
1067
|
+
selectContext: {
|
|
1068
|
+
title: string;
|
|
1069
|
+
tabBusiness: string;
|
|
1070
|
+
tabFoodCourt: string;
|
|
1071
|
+
searchFoodCourt: string;
|
|
1072
|
+
noFoodCourtFound: string;
|
|
1073
|
+
restaurantCount: string;
|
|
1074
|
+
};
|
|
1020
1075
|
myBusiness: {
|
|
1021
1076
|
title: string;
|
|
1022
1077
|
search_restaurants: string;
|
|
@@ -1152,6 +1207,7 @@ export declare const i18nMessages: {
|
|
|
1152
1207
|
menu: {
|
|
1153
1208
|
account: string;
|
|
1154
1209
|
business: string;
|
|
1210
|
+
foodCourt: string;
|
|
1155
1211
|
myBusiness: string;
|
|
1156
1212
|
manageAccount: string;
|
|
1157
1213
|
remy: string;
|
|
@@ -1230,6 +1286,8 @@ export declare const i18nMessages: {
|
|
|
1230
1286
|
businessCopySuccess: string;
|
|
1231
1287
|
restaurantCopySuccess: string;
|
|
1232
1288
|
loadError: string;
|
|
1289
|
+
foodCourtLoadError: string;
|
|
1290
|
+
foodCourtCopySuccess: string;
|
|
1233
1291
|
};
|
|
1234
1292
|
selectBusiness: {
|
|
1235
1293
|
title: string;
|
|
@@ -1238,6 +1296,14 @@ export declare const i18nMessages: {
|
|
|
1238
1296
|
noBusiness: string;
|
|
1239
1297
|
noBusinessFound: string;
|
|
1240
1298
|
};
|
|
1299
|
+
selectContext: {
|
|
1300
|
+
title: string;
|
|
1301
|
+
tabBusiness: string;
|
|
1302
|
+
tabFoodCourt: string;
|
|
1303
|
+
searchFoodCourt: string;
|
|
1304
|
+
noFoodCourtFound: string;
|
|
1305
|
+
restaurantCount: string;
|
|
1306
|
+
};
|
|
1241
1307
|
myBusiness: {
|
|
1242
1308
|
title: string;
|
|
1243
1309
|
search_restaurants: string;
|
|
@@ -1373,6 +1439,7 @@ export declare const i18nMessages: {
|
|
|
1373
1439
|
menu: {
|
|
1374
1440
|
account: string;
|
|
1375
1441
|
business: string;
|
|
1442
|
+
foodCourt: string;
|
|
1376
1443
|
myBusiness: string;
|
|
1377
1444
|
manageAccount: string;
|
|
1378
1445
|
remy: string;
|
|
@@ -1451,6 +1518,8 @@ export declare const i18nMessages: {
|
|
|
1451
1518
|
businessCopySuccess: string;
|
|
1452
1519
|
restaurantCopySuccess: string;
|
|
1453
1520
|
loadError: string;
|
|
1521
|
+
foodCourtLoadError: string;
|
|
1522
|
+
foodCourtCopySuccess: string;
|
|
1454
1523
|
};
|
|
1455
1524
|
selectBusiness: {
|
|
1456
1525
|
title: string;
|
|
@@ -1459,6 +1528,14 @@ export declare const i18nMessages: {
|
|
|
1459
1528
|
noBusiness: string;
|
|
1460
1529
|
noBusinessFound: string;
|
|
1461
1530
|
};
|
|
1531
|
+
selectContext: {
|
|
1532
|
+
title: string;
|
|
1533
|
+
tabBusiness: string;
|
|
1534
|
+
tabFoodCourt: string;
|
|
1535
|
+
searchFoodCourt: string;
|
|
1536
|
+
noFoodCourtFound: string;
|
|
1537
|
+
restaurantCount: string;
|
|
1538
|
+
};
|
|
1462
1539
|
myBusiness: {
|
|
1463
1540
|
title: string;
|
|
1464
1541
|
search_restaurants: string;
|
package/dist/i18n.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AACxD,OAAO,EAAyC,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAUhF,OAAO,eAAe,MAAM,kCAAkC,CAAA;AAQ9D,OAAO,EAAE,OAAO,EAAE,CAAA;AAClB,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACnD,YAAY,EAAE,iBAAiB,EAAE,IAAI,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACnF,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAElE,MAAM,MAAM,qBAAqB,GAAG,OAAO,eAAe,CAAA;AAI1D,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/i18n.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type Router } from "vue-router";
|
|
2
|
+
/**
|
|
3
|
+
* Keeps navigation inside the apps the current context shows, so a bookmarked
|
|
4
|
+
* Menu link opened in a food court lands on the portal home instead.
|
|
5
|
+
*
|
|
6
|
+
* Once signed in, the store's context decides, since Back/Forward can rewrite the
|
|
7
|
+
* URL to an older context before guards run. Before sign-in has restored a
|
|
8
|
+
* context, it is inferred from the URL and cache instead.
|
|
9
|
+
*/
|
|
10
|
+
export declare function installPortalContextGuard(router: Router): void;
|
|
11
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/router/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,YAAY,CAAA;AAKxC;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,MAAM,QAMvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../src/router/query.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../src/router/query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,MAAM,EAAE,MAAM,YAAY,CAAA;AAY5D,wBAAgB,+BAA+B,CAAC,MAAM,EAAE,MAAM,QAmD7D"}
|