@feedmepos/mf-e-invoice 0.0.53 → 0.0.54
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/EInvoice-D0j3h3xU.js +32270 -0
- package/dist/api/index.d.ts +7 -4
- package/dist/app.js +14 -14
- package/dist/main.d.ts +1 -1
- package/dist/store/index.d.ts +1500 -131
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/type/index.d.ts +2 -0
- package/dist/type/thailand/e-invoice-profile.do.d.ts +1449 -0
- package/dist/type/thailand/e-invoice.do.d.ts +842 -0
- package/dist/type/thailand/e-invoice.dto.d.ts +541 -0
- package/dist/type/thailand/index.d.ts +3 -0
- package/dist/type/vietnam/e-invoice-profile.do.d.ts +170 -197
- package/dist/type/vietnam/e-invoice.do.d.ts +72 -82
- package/dist/type/vietnam/e-invoice.dto.d.ts +14 -14
- package/dist/type/vietnam/index.d.ts +4 -0
- package/dist/types.d.ts +6 -4
- package/dist/views/manager/thailand/ThailandProfileDialog.vue.d.ts +1 -1
- package/dist/views/manager/thailand/data.d.ts +2 -1
- package/dist/views/manager/thailand/submission.d.ts +1 -1
- package/dist/views/manager/thailand/thailand.d.ts +2 -1
- package/dist/views/manager/vietnam/VietnamProfileDialog.vue.d.ts +2 -7
- package/dist/views/manager/vietnam/data.d.ts +4 -3
- package/dist/views/manager/vietnam/submission.d.ts +1 -1
- package/dist/views/manager/vietnam/vietnam.d.ts +6 -6
- package/package.json +6 -9
- package/dist/EInvoice-El02J1ap.js +0 -47687
- package/dist/html2canvas.esm-DgRhIRvu.js +0 -4870
- package/dist/index.es-CUExVX41.js +0 -5631
- package/dist/purify.es-Cuujoyyu.js +0 -553
package/dist/api/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { FdtoEInvoiceItemSetting } from "@/store";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
export type
|
|
2
|
+
import type { FdoThEInvoiceMerchantProfile, FdoThEInvoiceSubmission, FdoVnEInvoiceMerchantProfile, FdoVnEInvoiceSubmission } from "@/type";
|
|
3
|
+
import { FdoMyEInvoiceMerchantProfile, FdoMyEInvoiceSetting, FdoMyEInvoiceSubmission } from "@feedmepos/core/entity";
|
|
4
|
+
export type AnyEInvoiceMerchantProfile = FdoMyEInvoiceMerchantProfile | FdoThEInvoiceMerchantProfile | FdoVnEInvoiceMerchantProfile;
|
|
5
|
+
export type AnyEInvoiceSubmission = FdoMyEInvoiceSubmission | FdoThEInvoiceSubmission | FdoVnEInvoiceSubmission;
|
|
5
6
|
export declare const api: {
|
|
6
7
|
getRestaurantProfile: typeof getRestaurantProfile;
|
|
7
8
|
getMarketingProfile: typeof getMarketingProfile;
|
|
@@ -18,6 +19,7 @@ export declare const api: {
|
|
|
18
19
|
sendSubmissionEmail: typeof sendSubmissionEmail;
|
|
19
20
|
submitConsolidateInvoices: typeof submitConsolidateInvoices;
|
|
20
21
|
getVnPdfLink: typeof getVnPdfLink;
|
|
22
|
+
getDownloadFile: typeof getDownloadFile;
|
|
21
23
|
};
|
|
22
24
|
declare function getRestaurantProfile(restaurantId: string, custom?: CustomApiConfig): Promise<AnyEInvoiceMerchantProfile | null>;
|
|
23
25
|
declare function getMarketingProfile(businessId: string, custom?: CustomApiConfig): Promise<AnyEInvoiceMerchantProfile | null>;
|
|
@@ -39,11 +41,12 @@ declare function getSubmissions(merchantId: string, filter: {
|
|
|
39
41
|
}, custom?: CustomApiConfig): Promise<AnyEInvoiceSubmission[]>;
|
|
40
42
|
declare function getBusinessMenu(businessId: string, custom?: CustomApiConfig): Promise<FdtoEInvoiceItemSetting[]>;
|
|
41
43
|
declare function getBusinessMarketingMenu(businessId: string, custom?: CustomApiConfig): Promise<FdtoEInvoiceItemSetting[]>;
|
|
42
|
-
declare function getVnPdfLink({ transactionId, restaurantId, businessId }: {
|
|
44
|
+
declare function getVnPdfLink({ transactionId, restaurantId, businessId, }: {
|
|
43
45
|
transactionId: string;
|
|
44
46
|
businessId: string;
|
|
45
47
|
restaurantId: string;
|
|
46
48
|
}): Promise<any>;
|
|
49
|
+
declare function getDownloadFile(data: any): Promise<any>;
|
|
47
50
|
interface CustomApiConfig {
|
|
48
51
|
businessId?: string;
|
|
49
52
|
userToken?: string;
|
package/dist/app.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useCoreStore as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as t, resolveComponent as n, createBlock as r, createCommentVNode as m, unref as p, openBlock as c } from "vue";
|
|
2
|
+
import { useCoreStore as i } from "@feedmepos/mf-common";
|
|
3
|
+
const B = /* @__PURE__ */ t({
|
|
4
4
|
__name: "App",
|
|
5
|
-
setup(
|
|
6
|
-
const { currentBusiness:
|
|
5
|
+
setup(u) {
|
|
6
|
+
const { currentBusiness: o } = i();
|
|
7
7
|
return (a, _) => {
|
|
8
|
-
const
|
|
9
|
-
return
|
|
8
|
+
const s = n("RouterView");
|
|
9
|
+
return p(o) ? (c(), r(s, { key: 0 })) : m("", !0);
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
}),
|
|
12
|
+
}), e = {
|
|
13
13
|
submissions: "SUBMISSION"
|
|
14
|
-
},
|
|
14
|
+
}, C = [
|
|
15
15
|
{
|
|
16
16
|
path: "/",
|
|
17
|
-
redirect: { name:
|
|
17
|
+
redirect: { name: e.submissions }
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
path: "/submissions",
|
|
21
|
-
name:
|
|
22
|
-
component: () => import("./EInvoice-
|
|
21
|
+
name: e.submissions,
|
|
22
|
+
component: () => import("./EInvoice-D0j3h3xU.js")
|
|
23
23
|
}
|
|
24
24
|
];
|
|
25
25
|
export {
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
B as FmApp,
|
|
27
|
+
C as routers
|
|
28
28
|
};
|
package/dist/main.d.ts
CHANGED