@feedmepos/mf-transaction 0.0.49 → 0.0.50-alpha.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.
- package/dist/{Receipt-CbB43FcI.js → App-CUb5L0Ib.js} +105678 -55900
- package/dist/{app-BOGbEdwR.js → app-CMeTNdEL.js} +32 -43
- package/dist/app.js +3 -4
- package/dist/apps/mf-transaction/src/app.d.ts +0 -1
- package/dist/apps/mf-transaction/src/types/item.interface.d.ts +187 -0
- package/dist/apps/mf-transaction/src/views/receipt/detail/activity/ReceiptActivities.vue.d.ts +1 -1
- package/dist/apps/mf-transaction/src/views/receipt/detail/info/ReceiptInfo.vue.d.ts +1 -1
- package/dist/apps/mf-transaction/src/views/receipt/detail/info/ReceiptItem.vue.d.ts +1 -1
- package/dist/apps/mf-transaction/src/views/receipt/detail/info/ReceiptSubItem.vue.d.ts +1 -1
- package/dist/apps/mf-transaction/src/views/receipt/detail/item/ReceiptGroupItem.vue.d.ts +1 -1
- package/dist/apps/mf-transaction/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index.es-C6q0jT4J.js → index.es-BEHaUksy.js} +299 -300
- package/dist/packages/shared/src/components/info/CustomAttributeChip.vue.d.ts +29 -0
- package/package.json +2 -3
- package/dist/App-Bd2Vg00Y.js +0 -23
- package/dist/apps/mf-transaction/src/api/employee/index.d.ts +0 -13
- package/dist/apps/mf-transaction/src/api/inventory/index.d.ts +0 -5
- package/dist/apps/mf-transaction/src/api/payment/index.d.ts +0 -3
- package/dist/apps/mf-transaction/src/api/role/index.d.ts +0 -9
- package/dist/apps/mf-transaction/src/api/team/index.d.ts +0 -9
- package/dist/apps/mf-transaction/src/api/timesheet/index.d.ts +0 -6
- package/dist/apps/mf-transaction/src/api/user/index.d.ts +0 -6
- package/dist/apps/mf-transaction/src/components/Navigator.vue.d.ts +0 -2
- package/dist/apps/mf-transaction/src/router/index.d.ts +0 -2
- package/dist/apps/mf-transaction/src/router/shared.d.ts +0 -3
- package/dist/config-h_h_CICV.js +0 -49780
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
customAttributes?: Record<string, any>;
|
|
3
|
+
ellipsis?: boolean;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
6
|
+
ellipsis: boolean;
|
|
7
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
8
|
+
ellipsis: boolean;
|
|
9
|
+
}>>> & Readonly<{}>, {
|
|
10
|
+
ellipsis: boolean;
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
type __VLS_WithDefaults<P, D> = {
|
|
23
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
24
|
+
default: D[K];
|
|
25
|
+
}> : P[K];
|
|
26
|
+
};
|
|
27
|
+
type __VLS_Prettify<T> = {
|
|
28
|
+
[K in keyof T]: T[K];
|
|
29
|
+
} & {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-transaction",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.50-alpha.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -31,9 +31,8 @@
|
|
|
31
31
|
"pinia": "^2.1.7",
|
|
32
32
|
"vue": "^3.5.16",
|
|
33
33
|
"vue-i18n": "10.0.5",
|
|
34
|
-
"vue-router": "^4.3.0",
|
|
35
34
|
"xlsx": "^0.18.5",
|
|
36
|
-
"@feedmepos/mf-common": "^1.
|
|
35
|
+
"@feedmepos/mf-common": "^1.27.2"
|
|
37
36
|
},
|
|
38
37
|
"devDependencies": {
|
|
39
38
|
"@casl/ability": "^3.4.0",
|
package/dist/App-Bd2Vg00Y.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { defineComponent as t, resolveComponent as n, createBlock as c, openBlock as s } from "vue";
|
|
2
|
-
import { storeToRefs as p } from "pinia";
|
|
3
|
-
import { k as u, s as m } from "./config-h_h_CICV.js";
|
|
4
|
-
import { useCoreStore as a } from "@feedmepos/mf-common";
|
|
5
|
-
const g = /* @__PURE__ */ t({
|
|
6
|
-
__name: "App",
|
|
7
|
-
setup(i) {
|
|
8
|
-
const { currentCountry: o } = p(a());
|
|
9
|
-
u.setCountry(o.value);
|
|
10
|
-
try {
|
|
11
|
-
m(o.value);
|
|
12
|
-
} catch (r) {
|
|
13
|
-
console.error("Error setting country config for legacy core", r);
|
|
14
|
-
}
|
|
15
|
-
return (r, f) => {
|
|
16
|
-
const e = n("RouterView");
|
|
17
|
-
return s(), c(e);
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
export {
|
|
22
|
-
g as default
|
|
23
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FdtoUpdatePosUserReq, FdtoUpdatePosMasterUserReq } from "@feedmepos/core/entity";
|
|
2
|
-
import type { IFdtoPosUser } from "../../types/employee";
|
|
3
|
-
declare const EmployeeAPI: {
|
|
4
|
-
readEmployees(): Promise<IFdtoPosUser[]>;
|
|
5
|
-
createEmployee(dto: FdtoUpdatePosUserReq): Promise<IFdtoPosUser[]>;
|
|
6
|
-
createMasterEmployee(dto: FdtoUpdatePosMasterUserReq): Promise<IFdtoPosUser[]>;
|
|
7
|
-
migrateToMasterEmployee(employeeId: string, dto: FdtoUpdatePosMasterUserReq): Promise<IFdtoPosUser[]>;
|
|
8
|
-
updateEmployee(employeeId: string, dto: FdtoUpdatePosUserReq): Promise<IFdtoPosUser[]>;
|
|
9
|
-
updateMasterEmployee(employeeId: string, dto: FdtoUpdatePosMasterUserReq): Promise<IFdtoPosUser[]>;
|
|
10
|
-
deleteEmployee(employee: IFdtoPosUser): Promise<IFdtoPosUser[]>;
|
|
11
|
-
generateEmployeePasscode(): Promise<string>;
|
|
12
|
-
};
|
|
13
|
-
export default EmployeeAPI;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FdoPosRole } from "@feedmepos/core/entity";
|
|
2
|
-
import type { IFdtoPosRole } from "../../types/role";
|
|
3
|
-
declare const RoleAPI: {
|
|
4
|
-
readRoles(): Promise<IFdtoPosRole[]>;
|
|
5
|
-
createRole(dto: IFdtoUpdateRoleReq): Promise<IFdtoPosRole[]>;
|
|
6
|
-
updateRole(roleId: string, dto: IFdtoUpdateRoleReq): Promise<IFdtoPosRole[]>;
|
|
7
|
-
deleteRole(role: FdoPosRole): Promise<IFdtoPosRole[]>;
|
|
8
|
-
};
|
|
9
|
-
export default RoleAPI;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { FTeamMember } from "@/types/team";
|
|
2
|
-
export declare const portalTeamPermissions: readonly unknown[];
|
|
3
|
-
export declare const teamApi: {
|
|
4
|
-
readTeamMembers(): Promise<FTeamMember[]>;
|
|
5
|
-
createTeamMember(req: IFdtoCreatePortalUserReq): Promise<FTeamMember>;
|
|
6
|
-
updateTeamMember(permissionUserId: string, req: IFdtoUpdatePortalUserReq): Promise<FTeamMember>;
|
|
7
|
-
deleteTeamMember(permissionUserId: string): Promise<boolean>;
|
|
8
|
-
};
|
|
9
|
-
export default teamApi;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { IFdtoTimesheet } from "../../types/timesheet";
|
|
2
|
-
declare const TimesheetAPI: {
|
|
3
|
-
readTimesheets(startIso: string, endIso: string): Promise<IFdtoTimesheet[]>;
|
|
4
|
-
updateTimesheet(restaurantId: string, dto: UpdateTimesheetDTO): Promise<void>;
|
|
5
|
-
};
|
|
6
|
-
export default TimesheetAPI;
|
|
@@ -1,2 +0,0 @@
|
|
|
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;
|