@feedmepos/mf-common 0.0.10 → 0.26.0

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.
Files changed (121) hide show
  1. package/README.md +18 -31
  2. package/dist/App.vue.d.ts +19 -5
  3. package/dist/App.vue.d.ts.map +1 -0
  4. package/dist/CustomAttributesForm-84d67123.js +96 -0
  5. package/dist/Entry.vue.d.ts +3 -0
  6. package/dist/Entry.vue.d.ts.map +1 -0
  7. package/dist/ItemSelector-0ef7086f.js +24797 -0
  8. package/dist/RestaurantSelector-065f80f3.js +218 -0
  9. package/dist/api/index.d.ts +54 -3
  10. package/dist/api/index.d.ts.map +1 -0
  11. package/dist/api/menu.d.ts +7 -0
  12. package/dist/api/menu.d.ts.map +1 -0
  13. package/dist/app-7518a4c8.js +41042 -0
  14. package/dist/app-9575c6c7.js +7846 -0
  15. package/dist/app.d.ts +703 -1326
  16. package/dist/app.d.ts.map +1 -0
  17. package/dist/app.js +37 -16301
  18. package/dist/components/AllBusinessDialog.vue.d.ts +17 -0
  19. package/dist/components/AllBusinessDialog.vue.d.ts.map +1 -0
  20. package/dist/components/ChangePassword/ConfirmPassword.vue.d.ts +3 -0
  21. package/dist/components/ChangePassword/ConfirmPassword.vue.d.ts.map +1 -0
  22. package/dist/components/ChangePassword/NewPassword.vue.d.ts +3 -0
  23. package/dist/components/ChangePassword/NewPassword.vue.d.ts.map +1 -0
  24. package/dist/components/ChangePassword/PasswordField.vue.d.ts +15 -0
  25. package/dist/components/ChangePassword/PasswordField.vue.d.ts.map +1 -0
  26. package/dist/components/DebugUserDialog.vue.d.ts +3 -0
  27. package/dist/components/DebugUserDialog.vue.d.ts.map +1 -0
  28. package/dist/components/FeedmeLogo.vue.d.ts +3 -0
  29. package/dist/components/FeedmeLogo.vue.d.ts.map +1 -0
  30. package/dist/components/ItemSelector.vue.d.ts +46 -0
  31. package/dist/components/ItemSelector.vue.d.ts.map +1 -0
  32. package/dist/components/ManageAccountDialog.vue.d.ts +15 -0
  33. package/dist/components/ManageAccountDialog.vue.d.ts.map +1 -0
  34. package/dist/components/MyBusinessDialog.vue.d.ts +15 -0
  35. package/dist/components/MyBusinessDialog.vue.d.ts.map +1 -0
  36. package/dist/components/NoPermission.vue.d.ts +3 -0
  37. package/dist/components/NoPermission.vue.d.ts.map +1 -0
  38. package/dist/components/PermissionWrapper.vue.d.ts +10 -0
  39. package/dist/components/PermissionWrapper.vue.d.ts.map +1 -0
  40. package/dist/components/Portal/Ads.vue.d.ts +16 -0
  41. package/dist/components/Portal/Ads.vue.d.ts.map +1 -0
  42. package/dist/components/Portal/BusinessDialogMobile.vue.d.ts +17 -0
  43. package/dist/components/Portal/BusinessDialogMobile.vue.d.ts.map +1 -0
  44. package/dist/components/Portal/PortalDesktop.vue.d.ts +34 -0
  45. package/dist/components/Portal/PortalDesktop.vue.d.ts.map +1 -0
  46. package/dist/components/Portal/PortalMobile.vue.d.ts +34 -0
  47. package/dist/components/Portal/PortalMobile.vue.d.ts.map +1 -0
  48. package/dist/components/Portal/PortalSidebar.vue.d.ts +3 -0
  49. package/dist/components/Portal/PortalSidebar.vue.d.ts.map +1 -0
  50. package/dist/components/Portal/PortalTablet.vue.d.ts +33 -0
  51. package/dist/components/Portal/PortalTablet.vue.d.ts.map +1 -0
  52. package/dist/components/Portal/index.d.ts +28 -0
  53. package/dist/components/Portal/index.d.ts.map +1 -0
  54. package/dist/components/Portal/index.vue.d.ts +40 -0
  55. package/dist/components/Portal/index.vue.d.ts.map +1 -0
  56. package/dist/components/RestaurantSelector.vue.d.ts +48 -0
  57. package/dist/components/RestaurantSelector.vue.d.ts.map +1 -0
  58. package/dist/components/SelectCountryDialog.vue.d.ts +93 -0
  59. package/dist/components/SelectCountryDialog.vue.d.ts.map +1 -0
  60. package/dist/components/UserInfo/ProfileMenuItem.vue.d.ts +25 -0
  61. package/dist/components/UserInfo/ProfileMenuItem.vue.d.ts.map +1 -0
  62. package/dist/components/UserInfo/index.vue.d.ts +72 -0
  63. package/dist/components/UserInfo/index.vue.d.ts.map +1 -0
  64. package/dist/components/attribute/CustomAttributesForm.vue.d.ts +25 -0
  65. package/dist/components/attribute/CustomAttributesForm.vue.d.ts.map +1 -0
  66. package/dist/components/attribute/MongoQueryBuilder.vue.d.ts +22 -0
  67. package/dist/components/attribute/MongoQueryBuilder.vue.d.ts.map +1 -0
  68. package/dist/components/attribute/OptionChip.vue.d.ts +16 -0
  69. package/dist/components/attribute/OptionChip.vue.d.ts.map +1 -0
  70. package/dist/composables/filterSelector.d.ts +13 -0
  71. package/dist/composables/filterSelector.d.ts.map +1 -0
  72. package/dist/composables/search.d.ts +6 -0
  73. package/dist/composables/search.d.ts.map +1 -0
  74. package/dist/composables/useDebugUser.d.ts +6 -0
  75. package/dist/composables/useDebugUser.d.ts.map +1 -0
  76. package/dist/composables/useLocale.d.ts +27 -0
  77. package/dist/composables/useLocale.d.ts.map +1 -0
  78. package/dist/composables/usePaginatedBusinesses.d.ts +145 -0
  79. package/dist/composables/usePaginatedBusinesses.d.ts.map +1 -0
  80. package/dist/favicon.ico +0 -0
  81. package/dist/locales/en-US.json +33 -0
  82. package/dist/locales/th-TH.json +33 -0
  83. package/dist/locales/types.d.ts +104 -0
  84. package/dist/locales/zh-CN.json +33 -0
  85. package/dist/logo.svg +15 -0
  86. package/dist/main.d.ts +2 -1
  87. package/dist/main.d.ts.map +1 -0
  88. package/dist/object-27ce045b.js +16 -0
  89. package/dist/permission/permission.d.ts +107 -0
  90. package/dist/permission/permission.d.ts.map +1 -0
  91. package/dist/plugin/loading.d.ts +18 -0
  92. package/dist/plugin/loading.d.ts.map +1 -0
  93. package/dist/router/index.d.ts +3 -0
  94. package/dist/router/index.d.ts.map +1 -0
  95. package/dist/router/query.d.ts +3 -0
  96. package/dist/router/query.d.ts.map +1 -0
  97. package/dist/store.d.ts +13951 -301
  98. package/dist/store.d.ts.map +1 -0
  99. package/dist/stores/menu.d.ts +7231 -0
  100. package/dist/stores/menu.d.ts.map +1 -0
  101. package/dist/style.css +1 -1
  102. package/dist/tsconfig.app.tsbuildinfo +1 -1
  103. package/dist/utils/businessStorage.d.ts +12 -0
  104. package/dist/utils/businessStorage.d.ts.map +1 -0
  105. package/dist/utils/clipboard.d.ts +2 -0
  106. package/dist/utils/clipboard.d.ts.map +1 -0
  107. package/dist/utils/country.d.ts +11 -0
  108. package/dist/utils/country.d.ts.map +1 -0
  109. package/dist/utils/object.d.ts +2 -0
  110. package/dist/utils/object.d.ts.map +1 -0
  111. package/dist/utils/postMessageMethodCall.d.ts +16 -0
  112. package/dist/utils/postMessageMethodCall.d.ts.map +1 -0
  113. package/dist/utils/storage.d.ts +6 -0
  114. package/dist/utils/storage.d.ts.map +1 -0
  115. package/dist/vite-preset.d.ts +12 -2
  116. package/dist/vite-preset.d.ts.map +1 -0
  117. package/dist/vite-preset.js +89 -47
  118. package/package.json +27 -13
  119. package/dist/FeedmeLogo.vue.d.ts +0 -2
  120. package/dist/UserInfo.vue.d.ts +0 -268
  121. package/dist/auth.d.ts +0 -106
@@ -0,0 +1,17 @@
1
+ import { type FmpBusiness } from "@/store";
2
+ interface Props {
3
+ close: () => void;
4
+ selectBusiness: (business: FmpBusiness, shouldReload: boolean) => void;
5
+ }
6
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ export default _default;
8
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ type __VLS_TypePropsToRuntimeProps<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
14
+ required: true;
15
+ };
16
+ };
17
+ //# sourceMappingURL=AllBusinessDialog.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AllBusinessDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AllBusinessDialog.vue.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,WAAW,EAAgB,MAAM,SAAS,CAAA;AAIxD,UAAU,KAAK;IACb,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB,cAAc,EAAE,CAAC,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,KAAK,IAAI,CAAA;CACvE;;AA2VD,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,3 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
3
+ //# sourceMappingURL=ConfirmPassword.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfirmPassword.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ChangePassword/ConfirmPassword.vue.ts"],"names":[],"mappings":";AAgIA,wBAKG"}
@@ -0,0 +1,3 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
3
+ //# sourceMappingURL=NewPassword.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NewPassword.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ChangePassword/NewPassword.vue.ts"],"names":[],"mappings":";AA+HA,wBAKG"}
@@ -0,0 +1,15 @@
1
+ import { type FmTextFieldProps } from "@feedmepos/ui-library";
2
+ interface Props extends FmTextFieldProps {
3
+ }
4
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
+ export default _default;
6
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
+ type __VLS_TypePropsToRuntimeProps<T> = {
8
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
9
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
10
+ } : {
11
+ type: import('vue').PropType<T[K]>;
12
+ required: true;
13
+ };
14
+ };
15
+ //# sourceMappingURL=PasswordField.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PasswordField.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ChangePassword/PasswordField.vue.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,gBAAgB,EAAmB,MAAM,uBAAuB,CAAA;AAI9E,UAAU,KAAM,SAAQ,gBAAgB;CAAG;;AAoF3C,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,3 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
3
+ //# sourceMappingURL=DebugUserDialog.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DebugUserDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DebugUserDialog.vue.ts"],"names":[],"mappings":";AAiFA,wBAKG"}
@@ -0,0 +1,3 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
3
+ //# sourceMappingURL=FeedmeLogo.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FeedmeLogo.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FeedmeLogo.vue.js"],"names":[],"mappings":""}
@@ -0,0 +1,46 @@
1
+ import { type CategorizedItem } from "@/stores/menu";
2
+ type LinkProductItem = {
3
+ _id: string;
4
+ combinationKey?: string | null;
5
+ };
6
+ interface Props {
7
+ autoFocusSearch?: boolean;
8
+ selectVariant?: boolean;
9
+ showVariant?: boolean;
10
+ showAddon?: boolean;
11
+ categorizedItems?: Array<CategorizedItem>;
12
+ data: Record<string, Array<LinkProductItem>>;
13
+ }
14
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
15
+ autoFocusSearch: boolean;
16
+ showAddon: boolean;
17
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ "update:data": (value: Record<string, LinkProductItem[]>) => void;
19
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
20
+ autoFocusSearch: boolean;
21
+ showAddon: boolean;
22
+ }>>> & Readonly<{
23
+ "onUpdate:data"?: ((value: Record<string, LinkProductItem[]>) => any) | undefined;
24
+ }>, {
25
+ autoFocusSearch: boolean;
26
+ showAddon: boolean;
27
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
28
+ export default _default;
29
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
+ type __VLS_TypePropsToRuntimeProps<T> = {
31
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
32
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
33
+ } : {
34
+ type: import('vue').PropType<T[K]>;
35
+ required: true;
36
+ };
37
+ };
38
+ type __VLS_WithDefaults<P, D> = {
39
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
40
+ default: D[K];
41
+ }> : P[K];
42
+ };
43
+ type __VLS_Prettify<T> = {
44
+ [K in keyof T]: T[K];
45
+ } & {};
46
+ //# sourceMappingURL=ItemSelector.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ItemSelector.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ItemSelector.vue.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAA;AAcpD,KAAK,eAAe,GAAG;IACrB,GAAG,EAAE,MAAM,CAAA;IACX,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC/B,CAAA;AAwBD,UAAU,KAAK;IACb,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,gBAAgB,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,CAAA;IACzC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC,CAAA;CAC7C;;;;;;;;;;;;;;;AAgyBD,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;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -0,0 +1,15 @@
1
+ interface Props {
2
+ modelValue: boolean;
3
+ }
4
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
+ export default _default;
6
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
+ type __VLS_TypePropsToRuntimeProps<T> = {
8
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
9
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
10
+ } : {
11
+ type: import('vue').PropType<T[K]>;
12
+ required: true;
13
+ };
14
+ };
15
+ //# sourceMappingURL=ManageAccountDialog.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ManageAccountDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ManageAccountDialog.vue.ts"],"names":[],"mappings":"AAgBA,UAAU,KAAK;IACb,UAAU,EAAE,OAAO,CAAA;CACpB;;AA2YD,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,15 @@
1
+ interface Props {
2
+ modelValue: boolean;
3
+ }
4
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
+ export default _default;
6
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
+ type __VLS_TypePropsToRuntimeProps<T> = {
8
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
9
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
10
+ } : {
11
+ type: import('vue').PropType<T[K]>;
12
+ required: true;
13
+ };
14
+ };
15
+ //# sourceMappingURL=MyBusinessDialog.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MyBusinessDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/MyBusinessDialog.vue.ts"],"names":[],"mappings":"AAWA,UAAU,KAAK;IACb,UAAU,EAAE,OAAO,CAAA;CACpB;;AA8TD,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,3 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
3
+ //# sourceMappingURL=NoPermission.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NoPermission.vue.d.ts","sourceRoot":"","sources":["../../../src/components/NoPermission.vue.ts"],"names":[],"mappings":";AAiIA,wBAKG"}
@@ -0,0 +1,10 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
2
+ default?(_: {}): any;
3
+ }>;
4
+ export default _default;
5
+ type __VLS_WithTemplateSlots<T, S> = T & {
6
+ new (): {
7
+ $slots: S;
8
+ };
9
+ };
10
+ //# sourceMappingURL=PermissionWrapper.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PermissionWrapper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PermissionWrapper.vue.ts"],"names":[],"mappings":";;;AAqFA,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -0,0 +1,16 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ platform: "desktop" | "tablet" | "mobile";
3
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
+ platform: "desktop" | "tablet" | "mobile";
5
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
7
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
+ type __VLS_TypePropsToRuntimeProps<T> = {
9
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
10
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
+ } : {
12
+ type: import('vue').PropType<T[K]>;
13
+ required: true;
14
+ };
15
+ };
16
+ //# sourceMappingURL=Ads.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Ads.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Portal/Ads.vue.ts"],"names":[],"mappings":";cAsHY,SAAS,GAAG,QAAQ,GAAG,QAAQ;;cAA/B,SAAS,GAAG,QAAQ,GAAG,QAAQ;;AAN3C,wBAQG;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,17 @@
1
+ import { type FmpBusiness } from "@/store";
2
+ interface Props {
3
+ modelValue: boolean;
4
+ selectBusiness: (business: FmpBusiness, should: boolean) => void;
5
+ }
6
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ export default _default;
8
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ type __VLS_TypePropsToRuntimeProps<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
14
+ required: true;
15
+ };
16
+ };
17
+ //# sourceMappingURL=BusinessDialogMobile.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BusinessDialogMobile.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Portal/BusinessDialogMobile.vue.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,WAAW,EAAgB,MAAM,SAAS,CAAA;AAIxD,UAAU,KAAK;IACb,UAAU,EAAE,OAAO,CAAA;IACnB,cAAc,EAAE,CAAC,QAAQ,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAA;CACjE;;AAgiBD,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,34 @@
1
+ import { type PortalProps } from "./index";
2
+ import { type PortalApp } from "@/store";
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PortalProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
+ login: () => void;
5
+ logout: () => void;
6
+ "select-business": (business: import("@/store").FmpBusiness, shouldReload: boolean) => void;
7
+ "open-my-business": () => void;
8
+ "select-country": (country: import("./index").Country, shouldReload: boolean) => void;
9
+ "select-app": (app: PortalApp) => void;
10
+ "update:dropdownOpened": (value: boolean) => void;
11
+ "goto:settings": () => void;
12
+ "goto:portal-v2": () => void;
13
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PortalProps>>> & Readonly<{
14
+ onLogin?: (() => any) | undefined;
15
+ onLogout?: (() => any) | undefined;
16
+ "onSelect-business"?: ((business: import("@/store").FmpBusiness, shouldReload: boolean) => any) | undefined;
17
+ "onOpen-my-business"?: (() => any) | undefined;
18
+ "onSelect-country"?: ((country: import("./index").Country, shouldReload: boolean) => any) | undefined;
19
+ "onSelect-app"?: ((app: PortalApp) => any) | undefined;
20
+ "onUpdate:dropdownOpened"?: ((value: boolean) => any) | undefined;
21
+ "onGoto:settings"?: (() => any) | undefined;
22
+ "onGoto:portal-v2"?: (() => any) | undefined;
23
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
24
+ export default _default;
25
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
+ type __VLS_TypePropsToRuntimeProps<T> = {
27
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
28
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
+ } : {
30
+ type: import('vue').PropType<T[K]>;
31
+ required: true;
32
+ };
33
+ };
34
+ //# sourceMappingURL=PortalDesktop.vue.d.ts.map
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;AA2qBtD,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"}
@@ -0,0 +1,34 @@
1
+ import type { Country, PortalProps } from "@/components/Portal/index";
2
+ import { type FmpBusiness } from "@/store";
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PortalProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
+ login: () => void;
5
+ logout: () => void;
6
+ "select-business": (business: FmpBusiness, shouldReload: boolean) => void;
7
+ "open-my-business": () => void;
8
+ "select-country": (country: Country, shouldReload: boolean) => void;
9
+ "select-app": (app: import("@/store").PortalApp) => void;
10
+ "update:dropdownOpened": (value: boolean) => void;
11
+ "goto:settings": () => void;
12
+ "goto:portal-v2": () => void;
13
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PortalProps>>> & Readonly<{
14
+ onLogin?: (() => any) | undefined;
15
+ onLogout?: (() => any) | undefined;
16
+ "onSelect-business"?: ((business: FmpBusiness, shouldReload: boolean) => any) | undefined;
17
+ "onOpen-my-business"?: (() => any) | undefined;
18
+ "onSelect-country"?: ((country: Country, shouldReload: boolean) => any) | undefined;
19
+ "onSelect-app"?: ((app: import("@/store").PortalApp) => any) | undefined;
20
+ "onUpdate:dropdownOpened"?: ((value: boolean) => any) | undefined;
21
+ "onGoto:settings"?: (() => any) | undefined;
22
+ "onGoto:portal-v2"?: (() => any) | undefined;
23
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
24
+ export default _default;
25
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
+ type __VLS_TypePropsToRuntimeProps<T> = {
27
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
28
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
+ } : {
30
+ type: import('vue').PropType<T[K]>;
31
+ required: true;
32
+ };
33
+ };
34
+ //# sourceMappingURL=PortalMobile.vue.d.ts.map
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;AA84CxD,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"}
@@ -0,0 +1,3 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
3
+ //# sourceMappingURL=PortalSidebar.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PortalSidebar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Portal/PortalSidebar.vue.ts"],"names":[],"mappings":";AAoEA,wBAKG"}
@@ -0,0 +1,33 @@
1
+ import type { PortalProps } from "@/components/Portal/index";
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PortalProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ login: () => void;
4
+ logout: () => void;
5
+ "select-business": (business: import("@/store").FmpBusiness, shouldReload: boolean) => void;
6
+ "open-my-business": () => void;
7
+ "select-country": (country: import("@/components/Portal/index").Country, shouldReload: boolean) => void;
8
+ "select-app": (app: import("@/store").PortalApp) => void;
9
+ "update:dropdownOpened": (value: boolean) => void;
10
+ "goto:settings": () => void;
11
+ "goto:portal-v2": () => void;
12
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PortalProps>>> & Readonly<{
13
+ onLogin?: (() => any) | undefined;
14
+ onLogout?: (() => any) | undefined;
15
+ "onSelect-business"?: ((business: import("@/store").FmpBusiness, shouldReload: boolean) => any) | undefined;
16
+ "onOpen-my-business"?: (() => any) | undefined;
17
+ "onSelect-country"?: ((country: import("@/components/Portal/index").Country, shouldReload: boolean) => any) | undefined;
18
+ "onSelect-app"?: ((app: import("@/store").PortalApp) => any) | undefined;
19
+ "onUpdate:dropdownOpened"?: ((value: boolean) => any) | undefined;
20
+ "onGoto:settings"?: (() => any) | undefined;
21
+ "onGoto:portal-v2"?: (() => any) | undefined;
22
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
23
+ export default _default;
24
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
+ type __VLS_TypePropsToRuntimeProps<T> = {
26
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
27
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
28
+ } : {
29
+ type: import('vue').PropType<T[K]>;
30
+ required: true;
31
+ };
32
+ };
33
+ //# sourceMappingURL=PortalTablet.vue.d.ts.map
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;AAg0B1E,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"}
@@ -0,0 +1,28 @@
1
+ import type { FeedMeUser } from "@feedmepos/auth";
2
+ import type { FdoCountry } from "@feedmepos/core/entity";
3
+ import { type FmpBusiness, type PortalApp } from "@/store";
4
+ export type Country = Pick<FdoCountry, "code">;
5
+ export interface PortalProps {
6
+ dropdownOpened: boolean;
7
+ apps: PortalApp[];
8
+ currentApp: PortalApp | undefined;
9
+ businesses: FmpBusiness[];
10
+ currentBusiness: FmpBusiness | undefined;
11
+ countries: Country[];
12
+ currentCountry: string | undefined;
13
+ user: FeedMeUser | null;
14
+ embedded: boolean;
15
+ hideAppDrawer?: boolean;
16
+ }
17
+ export interface PortalEvents {
18
+ (event: "login"): void;
19
+ (event: "logout"): void;
20
+ (event: "select-business", business: FmpBusiness, shouldReload: boolean): void;
21
+ (event: "open-my-business"): void;
22
+ (event: "select-country", country: Country, shouldReload: boolean): void;
23
+ (event: "select-app", app: PortalApp): void;
24
+ (event: "update:dropdownOpened", value: boolean): void;
25
+ (event: "goto:settings"): void;
26
+ (event: "goto:portal-v2"): void;
27
+ }
28
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Portal/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAExD,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,SAAS,EAAE,MAAM,SAAS,CAAA;AAE1D,MAAM,MAAM,OAAO,GAAG,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAAA;AAE9C,MAAM,WAAW,WAAW;IAC1B,cAAc,EAAE,OAAO,CAAA;IACvB,IAAI,EAAE,SAAS,EAAE,CAAA;IACjB,UAAU,EAAE,SAAS,GAAG,SAAS,CAAA;IACjC,UAAU,EAAE,WAAW,EAAE,CAAA;IACzB,eAAe,EAAE,WAAW,GAAG,SAAS,CAAA;IACxC,SAAS,EAAE,OAAO,EAAE,CAAA;IACpB,cAAc,EAAE,MAAM,GAAG,SAAS,CAAA;IAClC,IAAI,EAAE,UAAU,GAAG,IAAI,CAAA;IAEvB,QAAQ,EAAE,OAAO,CAAA;IAEjB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,MAAM,WAAW,YAAY;IAC3B,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAA;IAEtB,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI,CAAA;IAEvB,CAAC,KAAK,EAAE,iBAAiB,EAAE,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,GAAG,IAAI,CAAA;IAE9E,CAAC,KAAK,EAAE,kBAAkB,GAAG,IAAI,CAAA;IAEjC,CAAC,KAAK,EAAE,gBAAgB,EAAE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,GAAG,IAAI,CAAA;IAExE,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,SAAS,GAAG,IAAI,CAAA;IAE3C,CAAC,KAAK,EAAE,uBAAuB,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CAAA;IAEtD,CAAC,KAAK,EAAE,eAAe,GAAG,IAAI,CAAA;IAE9B,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAA;CAChC"}
@@ -0,0 +1,40 @@
1
+ import type { PortalProps } from "@/components/Portal/index";
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PortalProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ login: () => void;
4
+ logout: () => void;
5
+ "select-business": (business: import("@/store").FmpBusiness, shouldReload: boolean) => void;
6
+ "open-my-business": () => void;
7
+ "select-country": (country: import("@/components/Portal/index").Country, shouldReload: boolean) => void;
8
+ "select-app": (app: import("@/store").PortalApp) => void;
9
+ "update:dropdownOpened": (value: boolean) => void;
10
+ "goto:settings": () => void;
11
+ "goto:portal-v2": () => void;
12
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PortalProps>>> & Readonly<{
13
+ onLogin?: (() => any) | undefined;
14
+ onLogout?: (() => any) | undefined;
15
+ "onSelect-business"?: ((business: import("@/store").FmpBusiness, shouldReload: boolean) => any) | undefined;
16
+ "onOpen-my-business"?: (() => any) | undefined;
17
+ "onSelect-country"?: ((country: import("@/components/Portal/index").Country, shouldReload: boolean) => any) | undefined;
18
+ "onSelect-app"?: ((app: import("@/store").PortalApp) => any) | undefined;
19
+ "onUpdate:dropdownOpened"?: ((value: boolean) => any) | undefined;
20
+ "onGoto:settings"?: (() => any) | undefined;
21
+ "onGoto:portal-v2"?: (() => any) | undefined;
22
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
23
+ default?(_: {}): any;
24
+ }>;
25
+ export default _default;
26
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
+ type __VLS_TypePropsToRuntimeProps<T> = {
28
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
29
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
+ } : {
31
+ type: import('vue').PropType<T[K]>;
32
+ required: true;
33
+ };
34
+ };
35
+ type __VLS_WithTemplateSlots<T, S> = T & {
36
+ new (): {
37
+ $slots: S;
38
+ };
39
+ };
40
+ //# sourceMappingURL=index.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Portal/index.vue.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAgB,WAAW,EAAE,MAAM,2BAA2B,CAAA;;;;;;;;;;;;;;;;;;;;;;;;AAiM1E,wBAAwG;AACxG,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;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -0,0 +1,48 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ modelValue: import("vue").PropType<string | string[] | null | undefined>;
3
+ disabled: {
4
+ type: import("vue").PropType<boolean>;
5
+ default: boolean;
6
+ };
7
+ multiple: {
8
+ type: import("vue").PropType<boolean>;
9
+ default: boolean;
10
+ };
11
+ excludeRestaurants: {
12
+ type: import("vue").PropType<string[]>;
13
+ };
14
+ managableOnly: {
15
+ type: import("vue").PropType<boolean>;
16
+ default: boolean;
17
+ };
18
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
+ modelValue: import("vue").PropType<string | string[] | null | undefined>;
20
+ disabled: {
21
+ type: import("vue").PropType<boolean>;
22
+ default: boolean;
23
+ };
24
+ multiple: {
25
+ type: import("vue").PropType<boolean>;
26
+ default: boolean;
27
+ };
28
+ excludeRestaurants: {
29
+ type: import("vue").PropType<string[]>;
30
+ };
31
+ managableOnly: {
32
+ type: import("vue").PropType<boolean>;
33
+ default: boolean;
34
+ };
35
+ }>> & Readonly<{}>, {
36
+ disabled: boolean;
37
+ multiple: boolean;
38
+ managableOnly: boolean;
39
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
40
+ "append-right"?(_: {}): any;
41
+ }>;
42
+ export default _default;
43
+ type __VLS_WithTemplateSlots<T, S> = T & {
44
+ new (): {
45
+ $slots: S;
46
+ };
47
+ };
48
+ //# sourceMappingURL=RestaurantSelector.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RestaurantSelector.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RestaurantSelector.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8iBA,wBAAwG;AAUxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -0,0 +1,93 @@
1
+ import type { FdoCountry } from "@feedmepos/core/entity";
2
+ interface Props {
3
+ currentCountry: string | undefined;
4
+ countries: FdoCountry[];
5
+ }
6
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "select-country": (country: {
8
+ taxLevel?: number | null | undefined;
9
+ currency: {
10
+ locale?: string | null | undefined;
11
+ symbol: string;
12
+ code: string;
13
+ precision: number;
14
+ format: string;
15
+ };
16
+ code: string;
17
+ name: string;
18
+ callingCode: string;
19
+ roundingOptions: {
20
+ amount: number;
21
+ precision: number;
22
+ }[];
23
+ taxSystems: {
24
+ code: string;
25
+ name: string;
26
+ variants: {
27
+ default?: boolean | null | undefined;
28
+ rateByTime?: {
29
+ rate: {
30
+ amount: number;
31
+ precision: number;
32
+ };
33
+ startDate: string;
34
+ }[] | null | undefined;
35
+ code: string;
36
+ name: string;
37
+ rate: {
38
+ amount: number;
39
+ precision: number;
40
+ };
41
+ }[];
42
+ }[];
43
+ }, shouldReload: boolean) => void;
44
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
45
+ "onSelect-country"?: ((country: {
46
+ taxLevel?: number | null | undefined;
47
+ currency: {
48
+ locale?: string | null | undefined;
49
+ symbol: string;
50
+ code: string;
51
+ precision: number;
52
+ format: string;
53
+ };
54
+ code: string;
55
+ name: string;
56
+ callingCode: string;
57
+ roundingOptions: {
58
+ amount: number;
59
+ precision: number;
60
+ }[];
61
+ taxSystems: {
62
+ code: string;
63
+ name: string;
64
+ variants: {
65
+ default?: boolean | null | undefined;
66
+ rateByTime?: {
67
+ rate: {
68
+ amount: number;
69
+ precision: number;
70
+ };
71
+ startDate: string;
72
+ }[] | null | undefined;
73
+ code: string;
74
+ name: string;
75
+ rate: {
76
+ amount: number;
77
+ precision: number;
78
+ };
79
+ }[];
80
+ }[];
81
+ }, shouldReload: boolean) => any) | undefined;
82
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
83
+ export default _default;
84
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
85
+ type __VLS_TypePropsToRuntimeProps<T> = {
86
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
87
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
88
+ } : {
89
+ type: import('vue').PropType<T[K]>;
90
+ required: true;
91
+ };
92
+ };
93
+ //# sourceMappingURL=SelectCountryDialog.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectCountryDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SelectCountryDialog.vue.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAQxD,UAAU,KAAK;IACb,cAAc,EAAE,MAAM,GAAG,SAAS,CAAA;IAClC,SAAS,EAAE,UAAU,EAAE,CAAA;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyPD,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"}