@feedmepos/mf-common 1.8.0 → 1.8.2

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 (39) hide show
  1. package/README.md +2 -2
  2. package/dist/App.vue.d.ts +1 -1
  3. package/dist/api/index.d.ts +3 -2
  4. package/dist/api/index.d.ts.map +1 -1
  5. package/dist/app.d.ts +5 -5
  6. package/dist/app.js +16029 -15809
  7. package/dist/components/AllBusinessDialog.vue.d.ts +2 -2
  8. package/dist/components/ChangePassword/ConfirmPassword.vue.d.ts +1 -1
  9. package/dist/components/ChangePassword/NewPassword.vue.d.ts +1 -1
  10. package/dist/components/ChangePassword/PasswordField.vue.d.ts +2 -2
  11. package/dist/components/FeedmeLogo.vue.d.ts +1 -1
  12. package/dist/components/ManageAccountDialog.vue.d.ts +1 -1
  13. package/dist/components/ManageAccountDialog.vue.d.ts.map +1 -1
  14. package/dist/components/MyBusinessDialog.vue.d.ts +1 -1
  15. package/dist/components/Portal/BusinessDialogMobile.vue.d.ts +2 -2
  16. package/dist/components/Portal/PortalDesktop.vue.d.ts +6 -4
  17. package/dist/components/Portal/PortalDesktop.vue.d.ts.map +1 -1
  18. package/dist/components/Portal/PortalMobile.vue.d.ts +7 -5
  19. package/dist/components/Portal/PortalMobile.vue.d.ts.map +1 -1
  20. package/dist/components/Portal/PortalTablet.vue.d.ts +6 -4
  21. package/dist/components/Portal/PortalTablet.vue.d.ts.map +1 -1
  22. package/dist/components/Portal/index.d.ts +10 -9
  23. package/dist/components/Portal/index.d.ts.map +1 -1
  24. package/dist/components/Portal/index.vue.d.ts +6 -4
  25. package/dist/components/Portal/index.vue.d.ts.map +1 -1
  26. package/dist/components/SelectCountryDialog.vue.d.ts +4 -4
  27. package/dist/components/UserInfo/ProfileMenuItem.vue.d.ts +1 -1
  28. package/dist/components/UserInfo/index.vue.d.ts +10 -8
  29. package/dist/components/UserInfo/index.vue.d.ts.map +1 -1
  30. package/dist/main.d.ts +1 -1
  31. package/dist/plugin/loading.d.ts +1 -1
  32. package/dist/store.d.ts +1699 -133
  33. package/dist/store.d.ts.map +1 -1
  34. package/dist/style.css +1 -1
  35. package/dist/tsconfig.app.tsbuildinfo +1 -1
  36. package/dist/utils/clipboard.d.ts +2 -0
  37. package/dist/utils/clipboard.d.ts.map +1 -0
  38. package/dist/vite-preset.d.ts +1 -1
  39. package/package.json +2 -1
package/README.md CHANGED
@@ -13,8 +13,8 @@ TypeScript cannot handle type information for `.vue` imports by default, so we r
13
13
  If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
14
14
 
15
15
  1. Disable the built-in TypeScript Extension
16
- 1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette
17
- 2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
16
+ 1. Run `Extensions: Show Built-in Extensions` from VSCode's command palette
17
+ 2. Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
18
18
  2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
19
19
 
20
20
  ## Customize configuration
package/dist/App.vue.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
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
2
  default?(_: {}): any;
3
3
  }>;
4
4
  export default _default;
@@ -1,8 +1,9 @@
1
- import { FdoAgent, FdoBusiness, FdoPermissionRule, FdoRestaurant, type FdoUser } from '@feedmepos/core/entity';
2
- import { type AxiosInstance } from 'axios';
1
+ import { FdoAgent, FdoBusiness, FdoPermissionRule, FdoRestaurant, FdoRestaurantSetting, type FdoUser } from "@feedmepos/core/entity";
2
+ import { type AxiosInstance } from "axios";
3
3
  export declare function readUserAdminPermission(): Promise<FdoPermissionRule[]>;
4
4
  export declare function readUserBusinessPermission(businessId: string): Promise<FdoPermissionRule[]>;
5
5
  export declare function readManagableBusinesses(): Promise<FdoBusiness[]>;
6
+ export declare function readRestaurantSetting(restaurantId: string): Promise<FdoRestaurantSetting>;
6
7
  export declare function readBusinessRestaurants(businessId: string): Promise<FdoRestaurant[]>;
7
8
  export declare function readBusinessRestaurant(restaurantId: string): Promise<FdoRestaurant>;
8
9
  export declare function readAvailableAgents(): Promise<FdoAgent[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,EACR,WAAW,EACX,iBAAiB,EACjB,aAAa,EACb,KAAK,OAAO,EACb,MAAM,wBAAwB,CAAA;AAC/B,OAAc,EAAc,KAAK,aAAa,EAAsB,MAAM,OAAO,CAAA;AAIjF,wBAAsB,uBAAuB,IAAI,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAE5E;AAED,wBAAsB,0BAA0B,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAOjG;AAED,wBAAsB,uBAAuB,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC,CAEtE;AAED,wBAAsB,uBAAuB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC,CAI1F;AAED,wBAAsB,sBAAsB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAEzF;AAED,wBAAsB,mBAAmB,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC,CAE/D;AA2BD,eAAO,MA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,MAAM,KAAG,aAGhD,CAAA;AA0CD,eAAO,MAAM,cAAc;+BACQ;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,QAAQ;QAChF,WAAW,EAAE,MAAM,CAAA;KACpB,CAAC;uBAIuB,QAAQ,OAAO,CAAC;;qBAQ1B,MAAM;kBACT,MAAM;QACd,QAAQ;QAAE,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC;;qBAUrB,MAAM;kBACT,MAAM;QACd,QAAQ;QAAE,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC;CAKrC,CAAA"}
package/dist/app.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { FeedMeAuth } from '@feedmepos/auth';
2
- import type { FmNamespace } from '@/store';
3
- import { useCoreStore } from './store';
1
+ import { FeedMeAuth } from "@feedmepos/auth";
2
+ import type { FmNamespace } from "@/store";
3
+ import { useCoreStore } from "./store";
4
4
  export declare function initialize(clientId: string, namespace?: FmNamespace): void;
5
5
  export declare const onAuthStateChanged: typeof FeedMeAuth.onAuthStateChanged;
6
- export { baseClientInstance } from './api';
7
- export { default as FmNavBar } from './App.vue';
6
+ export { baseClientInstance } from "./api";
7
+ export { default as FmNavBar } from "./App.vue";
8
8
  export { useCoreStore, FeedMeAuth };
9
9
  //# sourceMappingURL=app.d.ts.map