@feedmepos/mf-common 1.7.8 → 1.8.2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -2
- package/dist/App.vue.d.ts +1 -1
- package/dist/api/index.d.ts +3 -2
- package/dist/api/index.d.ts.map +1 -1
- package/dist/app.d.ts +5 -5
- package/dist/app.js +16026 -15798
- package/dist/components/AllBusinessDialog.vue.d.ts +2 -2
- package/dist/components/ChangePassword/ConfirmPassword.vue.d.ts +1 -1
- package/dist/components/ChangePassword/NewPassword.vue.d.ts +1 -1
- package/dist/components/ChangePassword/PasswordField.vue.d.ts +2 -2
- package/dist/components/FeedmeLogo.vue.d.ts +1 -1
- package/dist/components/ManageAccountDialog.vue.d.ts +1 -1
- package/dist/components/ManageAccountDialog.vue.d.ts.map +1 -1
- package/dist/components/MyBusinessDialog.vue.d.ts +1 -1
- package/dist/components/Portal/BusinessDialogMobile.vue.d.ts +2 -2
- package/dist/components/Portal/PortalDesktop.vue.d.ts +6 -4
- package/dist/components/Portal/PortalDesktop.vue.d.ts.map +1 -1
- package/dist/components/Portal/PortalMobile.vue.d.ts +7 -5
- package/dist/components/Portal/PortalMobile.vue.d.ts.map +1 -1
- package/dist/components/Portal/PortalTablet.vue.d.ts +6 -4
- package/dist/components/Portal/PortalTablet.vue.d.ts.map +1 -1
- package/dist/components/Portal/index.d.ts +11 -10
- package/dist/components/Portal/index.d.ts.map +1 -1
- package/dist/components/Portal/index.vue.d.ts +6 -4
- package/dist/components/Portal/index.vue.d.ts.map +1 -1
- package/dist/components/SelectCountryDialog.vue.d.ts +4 -4
- package/dist/components/UserInfo/ProfileMenuItem.vue.d.ts +1 -1
- package/dist/components/UserInfo/index.vue.d.ts +10 -8
- package/dist/components/UserInfo/index.vue.d.ts.map +1 -1
- package/dist/main.d.ts +1 -1
- package/dist/plugin/loading.d.ts +1 -1
- package/dist/store.d.ts +1699 -133
- package/dist/store.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/utils/clipboard.d.ts +2 -0
- package/dist/utils/clipboard.d.ts.map +1 -0
- package/dist/vite-preset.d.ts +1 -1
- 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
|
-
|
17
|
-
|
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").
|
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;
|
package/dist/api/index.d.ts
CHANGED
@@ -1,8 +1,9 @@
|
|
1
|
-
import { FdoAgent, FdoBusiness, FdoPermissionRule, FdoRestaurant, type FdoUser } from
|
2
|
-
import { type AxiosInstance } from
|
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[]>;
|
package/dist/api/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,EACR,WAAW,EACX,iBAAiB,EACjB,aAAa,EACb,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,MAAM,kBAAkB,QAAS,MAAM,KAAG,aAGhD,CAAA;AA0CD,eAAO,MAAM,cAAc;+BACQ;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,KA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AM,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
|
2
|
-
import type { FmNamespace } from
|
3
|
-
import { useCoreStore } from
|
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
|
7
|
-
export { default as FmNavBar } from
|
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
|