@feedmepos/mf-e-invoice 0.0.14 → 0.0.15
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/App.vue.d.ts +1 -1
- package/dist/EInvoice-eKtxLE23.js +44080 -0
- package/dist/Entry.vue.d.ts +1 -1
- package/dist/api/index.d.ts +12 -10
- package/dist/app.js +14 -14
- package/dist/components/LocationSelect.vue.d.ts +18 -0
- package/dist/html2canvas.esm-DgRhIRvu.js +4870 -0
- package/dist/index.es-CPOWo2sI.js +5627 -0
- package/dist/main.d.ts +1 -1
- package/dist/purify.es-CW8x7fMd.js +528 -0
- package/dist/store/index.d.ts +8 -5
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/types.d.ts +8 -4
- package/dist/utils/profile-format-and-validation.d.ts +12 -0
- package/dist/views/EInvoice.vue.d.ts +1 -1
- package/dist/views/EInvoiceCopyDialog.vue.d.ts +10 -2
- package/dist/views/EInvoiceDocument.vue.d.ts +1 -1
- package/dist/views/EInvoiceSubmission.vue.d.ts +2 -2
- package/dist/views/{EInvoiceSubmissionRow.vue.d.ts → EInvoiceTableHeader.vue.d.ts} +3 -3
- package/dist/views/EInvoiceTableRow.vue.d.ts +22 -0
- package/dist/views/{EInvoiceItemSettingsDialog.vue.d.ts → manager/malaysia/MalaysiaItemSettingsDialog.vue.d.ts} +4 -4
- package/dist/views/{EInvoiceSettingDialog.vue.d.ts → manager/malaysia/MalaysiaProfileDialog.vue.d.ts} +4 -4
- package/dist/views/{EInvoiceDialog.vue.d.ts → manager/malaysia/MalaysiaSettingDialog.vue.d.ts} +1 -1
- package/dist/views/manager/malaysia/data.d.ts +3 -0
- package/dist/views/manager/malaysia/malaysia.d.ts +13 -0
- package/dist/views/manager/malaysia/submission.d.ts +5 -0
- package/dist/views/manager/manager.d.ts +42 -0
- package/dist/views/manager/thailand/ThailandProfileDialog.vue.d.ts +12 -0
- package/dist/views/manager/thailand/ThailandSettingDialog.vue.d.ts +5 -0
- package/dist/views/manager/thailand/data.d.ts +3 -0
- package/dist/views/manager/thailand/submission.d.ts +8 -0
- package/dist/views/manager/thailand/thailand.d.ts +17 -0
- package/dist/views/submission.d.ts +5 -5
- package/package.json +6 -3
- package/dist/EInvoice-BpJic2sj.js +0 -31015
- package/dist/data.d.ts +0 -3
package/dist/Entry.vue.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
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
2
|
export default _default;
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { FdtoEInvoiceItemSetting } from "@/store";
|
|
2
|
-
import {
|
|
2
|
+
import { FdoMyEInvoiceMerchantProfile, FdoThEInvoiceMerchantProfile, FdoMyEInvoiceSetting, FdoMyEInvoiceSubmission, FdoThEInvoiceSubmission } from "@feedmepos/core/entity";
|
|
3
|
+
export type AnyEInvoiceMerchantProfile = FdoMyEInvoiceMerchantProfile | FdoThEInvoiceMerchantProfile;
|
|
4
|
+
export type AnyEInvoiceSubmission = FdoMyEInvoiceSubmission | FdoThEInvoiceSubmission;
|
|
3
5
|
export declare const api: {
|
|
4
6
|
getRestaurantProfile: typeof getRestaurantProfile;
|
|
5
7
|
getMarketingProfile: typeof getMarketingProfile;
|
|
@@ -13,18 +15,18 @@ export declare const api: {
|
|
|
13
15
|
getBusinessMenu: typeof getBusinessMenu;
|
|
14
16
|
getBusinessMarketingMenu: typeof getBusinessMarketingMenu;
|
|
15
17
|
};
|
|
16
|
-
declare function getRestaurantProfile(restaurantId: string, custom?: CustomApiConfig): Promise<
|
|
17
|
-
declare function getMarketingProfile(businessId: string, custom?: CustomApiConfig): Promise<
|
|
18
|
-
declare function createProfile(profile:
|
|
19
|
-
declare function updateProfile(profile:
|
|
20
|
-
declare function copyProfile(fromRestaurantId: string, toRestaurantIds: string[], custom?: CustomApiConfig): Promise<
|
|
21
|
-
declare function testSubmit(profile:
|
|
22
|
-
declare function getSettings(businessId: string, custom?: CustomApiConfig): Promise<
|
|
23
|
-
declare function updateSettings(settings:
|
|
18
|
+
declare function getRestaurantProfile(restaurantId: string, custom?: CustomApiConfig): Promise<AnyEInvoiceMerchantProfile | null>;
|
|
19
|
+
declare function getMarketingProfile(businessId: string, custom?: CustomApiConfig): Promise<AnyEInvoiceMerchantProfile | null>;
|
|
20
|
+
declare function createProfile<T extends AnyEInvoiceMerchantProfile>(profile: T, custom?: CustomApiConfig): Promise<T>;
|
|
21
|
+
declare function updateProfile<T extends AnyEInvoiceMerchantProfile>(profile: T, custom?: CustomApiConfig): Promise<T>;
|
|
22
|
+
declare function copyProfile(fromRestaurantId: string, toRestaurantIds: string[], custom?: CustomApiConfig): Promise<AnyEInvoiceMerchantProfile[]>;
|
|
23
|
+
declare function testSubmit(profile: AnyEInvoiceMerchantProfile, custom?: CustomApiConfig): Promise<any>;
|
|
24
|
+
declare function getSettings(businessId: string, custom?: CustomApiConfig): Promise<FdoMyEInvoiceSetting>;
|
|
25
|
+
declare function updateSettings(settings: FdoMyEInvoiceSetting, custom?: CustomApiConfig): Promise<FdoMyEInvoiceSetting>;
|
|
24
26
|
declare function getSubmissions(merchantId: string, filter: {
|
|
25
27
|
start: string;
|
|
26
28
|
end: string;
|
|
27
|
-
}, custom?: CustomApiConfig): Promise<
|
|
29
|
+
}, custom?: CustomApiConfig): Promise<AnyEInvoiceSubmission[]>;
|
|
28
30
|
declare function getBusinessMenu(businessId: string, custom?: CustomApiConfig): Promise<FdtoEInvoiceItemSetting[]>;
|
|
29
31
|
declare function getBusinessMarketingMenu(businessId: string, custom?: CustomApiConfig): Promise<FdtoEInvoiceItemSetting[]>;
|
|
30
32
|
interface CustomApiConfig {
|
package/dist/app.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useCoreStore as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as n, resolveComponent as r, createBlock as m, createCommentVNode as p, unref as c, openBlock as i } from "vue";
|
|
2
|
+
import { useCoreStore as u } from "@feedmepos/mf-common";
|
|
3
|
+
const h = /* @__PURE__ */ n({
|
|
4
4
|
__name: "App",
|
|
5
|
-
setup(
|
|
6
|
-
const { currentBusiness:
|
|
5
|
+
setup(e) {
|
|
6
|
+
const { currentBusiness: s } = u();
|
|
7
7
|
return (a, _) => {
|
|
8
|
-
const
|
|
9
|
-
return
|
|
8
|
+
const t = r("RouterView");
|
|
9
|
+
return c(s) ? (i(), m(t, { key: 0 })) : p("", !0);
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
}),
|
|
12
|
+
}), o = {
|
|
13
13
|
submissions: "SUBMISSION"
|
|
14
|
-
},
|
|
14
|
+
}, B = [
|
|
15
15
|
{
|
|
16
16
|
path: "/",
|
|
17
|
-
redirect: { name:
|
|
17
|
+
redirect: { name: o.submissions }
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
path: "/submissions",
|
|
21
|
-
name:
|
|
22
|
-
component: () => import("./EInvoice-
|
|
21
|
+
name: o.submissions,
|
|
22
|
+
component: () => import("./EInvoice-eKtxLE23.js").then((e) => e.E)
|
|
23
23
|
}
|
|
24
24
|
];
|
|
25
25
|
export {
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
h as FmApp,
|
|
27
|
+
B as routers
|
|
28
28
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import type { MerchantEInvoice } from "@/types";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
modelValue: PropType<any>;
|
|
5
|
+
locations: {
|
|
6
|
+
type: PropType<MerchantEInvoice[]>;
|
|
7
|
+
default: () => never[];
|
|
8
|
+
};
|
|
9
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
modelValue: PropType<any>;
|
|
11
|
+
locations: {
|
|
12
|
+
type: PropType<MerchantEInvoice[]>;
|
|
13
|
+
default: () => never[];
|
|
14
|
+
};
|
|
15
|
+
}>> & Readonly<{}>, {
|
|
16
|
+
locations: MerchantEInvoice[];
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
export default _default;
|