@feedmepos/mf-transaction 0.0.1-beta
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/README.md +31 -0
- package/dist/app-BOlyScCe.js +141127 -0
- package/dist/app.js +5 -0
- package/dist/favicon.ico +0 -0
- package/dist/html2canvas.esm-DgRhIRvu.js +4870 -0
- package/dist/index.es-6a79NHf-.js +5618 -0
- package/dist/purify.es-CFivMm59.js +471 -0
- package/dist/src/App.vue.d.ts +2 -0
- package/dist/src/Entry.vue.d.ts +2 -0
- package/dist/src/api/bill/index.d.ts +3 -0
- package/dist/src/api/employee/index.d.ts +13 -0
- package/dist/src/api/index.d.ts +4 -0
- package/dist/src/api/inventory/index.d.ts +5 -0
- package/dist/src/api/payment/index.d.ts +3 -0
- package/dist/src/api/role/index.d.ts +9 -0
- package/dist/src/api/team/index.d.ts +9 -0
- package/dist/src/api/timesheet/index.d.ts +6 -0
- package/dist/src/api/transaction/index.d.ts +32 -0
- package/dist/src/api/user/index.d.ts +6 -0
- package/dist/src/app.d.ts +2 -0
- package/dist/src/components/AppForm.vue.d.ts +41 -0
- package/dist/src/components/CheckboxInput.vue.d.ts +140 -0
- package/dist/src/components/FilterDialog.vue.d.ts +13 -0
- package/dist/src/components/Navigator.vue.d.ts +2 -0
- package/dist/src/components/RestaurantSelector.vue.d.ts +6 -0
- package/dist/src/composables/dateRange.d.ts +17 -0
- package/dist/src/composables/message.d.ts +4 -0
- package/dist/src/helpers/component.d.ts +12 -0
- package/dist/src/helpers/createComponent.d.ts +7 -0
- package/dist/src/helpers/createForm.d.ts +2 -0
- package/dist/src/helpers/export.d.ts +12 -0
- package/dist/src/helpers/idToDate.d.ts +1 -0
- package/dist/src/helpers/iteration.d.ts +10 -0
- package/dist/src/helpers/random.d.ts +3 -0
- package/dist/src/helpers/rule.d.ts +29 -0
- package/dist/src/helpers/string.d.ts +5 -0
- package/dist/src/helpers/time.d.ts +7 -0
- package/dist/src/helpers/utils.d.ts +5 -0
- package/dist/src/main.d.ts +2 -0
- package/dist/src/router/index.d.ts +2 -0
- package/dist/src/router/shared.d.ts +4 -0
- package/dist/src/stores/employee.d.ts +539 -0
- package/dist/src/stores/role.d.ts +205 -0
- package/dist/src/stores/timesheet.d.ts +253 -0
- package/dist/src/types/employee.d.ts +29 -0
- package/dist/src/types/permission.d.ts +68 -0
- package/dist/src/types/restaurant.d.ts +18 -0
- package/dist/src/types/role.d.ts +37 -0
- package/dist/src/types/team.d.ts +47 -0
- package/dist/src/types/timesheet.d.ts +16 -0
- package/dist/src/types/transaction.d.ts +6 -0
- package/dist/src/views/online/OnlineTransaction.vue.d.ts +2 -0
- package/dist/src/views/online/PaymentTable.vue.d.ts +112 -0
- package/dist/src/views/online/SettlementTable.vue.d.ts +66 -0
- package/dist/src/views/online/detail/FmSettlement.vue.d.ts +32 -0
- package/dist/src/views/online/detail/RmsSettlement.vue.d.ts +22 -0
- package/dist/src/views/online/detail/SettlementDetail.vue.d.ts +5 -0
- package/dist/src/views/online/settlement.d.ts +52 -0
- package/dist/src/views/receipt/ExportReceipt.vue.d.ts +36 -0
- package/dist/src/views/receipt/Receipt.vue.d.ts +2 -0
- package/dist/src/views/receipt/detail/ReceiptDetail.vue.d.ts +26 -0
- package/dist/src/views/receipt/detail/activity/ReceiptActivities.vue.d.ts +14 -0
- package/dist/src/views/receipt/detail/info/InfoBasic.vue.d.ts +20 -0
- package/dist/src/views/receipt/detail/info/InfoRow.vue.d.ts +30 -0
- package/dist/src/views/receipt/detail/info/ReceiptInfo.vue.d.ts +14 -0
- package/dist/src/views/receipt/detail/info/ReceiptItem.vue.d.ts +14 -0
- package/dist/src/views/receipt/detail/info/ReceiptPreview.vue.d.ts +14 -0
- package/dist/src/views/receipt/detail/info/ReceiptSubItem.vue.d.ts +24 -0
- package/dist/src/views/receipt/detail/item/ReceiptGroupItem.vue.d.ts +14 -0
- package/dist/src/views/receipt/form.d.ts +3 -0
- package/dist/src/views/receipt/receipt.d.ts +118 -0
- package/dist/src/views/team/TeamMemberList.vue.d.ts +2 -0
- package/dist/src/views/team/components/AddMemberForm.vue.d.ts +40 -0
- package/dist/src/views/team/components/PortalPermissionEditor.vue.d.ts +38 -0
- package/dist/src/views/team/components/PortalUserSearcher.vue.d.ts +40 -0
- package/dist/src/views/team/components/TeamMemberBasePermission.vue.d.ts +36 -0
- package/dist/src/views/team/components/TeamMemberConditionPermission.vue.d.ts +50 -0
- package/dist/src/views/team/components/TeamMemberMasterUser.vue.d.ts +836 -0
- package/dist/src/views/team/components/TeamMemberRolePermission.vue.d.ts +46 -0
- package/dist/style.css +1 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -0
- package/package.json +79 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { EmployeeData } from "@/types/employee";
|
|
2
|
+
import { type PropType } from "vue";
|
|
3
|
+
import { type IFdtoCreatePortalUserReq, type IFdtoPermissionPosUser } from "@/types/team";
|
|
4
|
+
import type { RawRule } from "@casl/ability";
|
|
5
|
+
export interface TeamDialogData {
|
|
6
|
+
id: string;
|
|
7
|
+
isOwner: boolean;
|
|
8
|
+
name: string;
|
|
9
|
+
phoneNumber: string;
|
|
10
|
+
email: string;
|
|
11
|
+
permissions: RawRule[];
|
|
12
|
+
posUser?: IFdtoPermissionPosUser;
|
|
13
|
+
}
|
|
14
|
+
declare function readFormData(): IFdtoCreatePortalUserReq;
|
|
15
|
+
declare const _default: import("vue").DefineComponent<{
|
|
16
|
+
initialValue: {
|
|
17
|
+
type: PropType<TeamDialogData>;
|
|
18
|
+
};
|
|
19
|
+
roleErrorMessage: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
}, {
|
|
24
|
+
readFormData: typeof readFormData;
|
|
25
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
+
"update:modelValue": (employeeForm: EmployeeData) => void;
|
|
27
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
initialValue: {
|
|
29
|
+
type: PropType<TeamDialogData>;
|
|
30
|
+
};
|
|
31
|
+
roleErrorMessage: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
}>> & {
|
|
36
|
+
"onUpdate:modelValue"?: ((employeeForm: EmployeeData) => any) | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
roleErrorMessage: string;
|
|
39
|
+
}, {}>;
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import type { IFdtoCreatePortalUserReq } from "@/types/team";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
initialValue: {
|
|
5
|
+
type: PropType<IFdtoCreatePortalUserReq>;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
8
|
+
disable: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
isOwner: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
permissionChanged: (user: IFdtoCreatePortalUserReq) => void;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
initialValue: {
|
|
20
|
+
type: PropType<IFdtoCreatePortalUserReq>;
|
|
21
|
+
default: undefined;
|
|
22
|
+
};
|
|
23
|
+
disable: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
isOwner: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
}>> & {
|
|
32
|
+
onPermissionChanged?: ((user: IFdtoCreatePortalUserReq) => any) | undefined;
|
|
33
|
+
}, {
|
|
34
|
+
disable: boolean;
|
|
35
|
+
initialValue: IFdtoCreatePortalUserReq;
|
|
36
|
+
isOwner: boolean;
|
|
37
|
+
}, {}>;
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
invite: (user: {
|
|
3
|
+
email?: string | null | undefined;
|
|
4
|
+
phoneNumber?: string | null | undefined;
|
|
5
|
+
birthday?: string | null | undefined;
|
|
6
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
7
|
+
addresses?: {
|
|
8
|
+
name: string;
|
|
9
|
+
address: string;
|
|
10
|
+
coordinates: number[];
|
|
11
|
+
}[] | null | undefined;
|
|
12
|
+
photoURL?: string | null | undefined;
|
|
13
|
+
displayName?: string | null | undefined;
|
|
14
|
+
imported?: {
|
|
15
|
+
raw: Record<string, any>;
|
|
16
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
17
|
+
} | null | undefined;
|
|
18
|
+
_id: string;
|
|
19
|
+
}) => void;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
21
|
+
onInvite?: ((user: {
|
|
22
|
+
email?: string | null | undefined;
|
|
23
|
+
phoneNumber?: string | null | undefined;
|
|
24
|
+
birthday?: string | null | undefined;
|
|
25
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
26
|
+
addresses?: {
|
|
27
|
+
name: string;
|
|
28
|
+
address: string;
|
|
29
|
+
coordinates: number[];
|
|
30
|
+
}[] | null | undefined;
|
|
31
|
+
photoURL?: string | null | undefined;
|
|
32
|
+
displayName?: string | null | undefined;
|
|
33
|
+
imported?: {
|
|
34
|
+
raw: Record<string, any>;
|
|
35
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
36
|
+
} | null | undefined;
|
|
37
|
+
_id: string;
|
|
38
|
+
}) => any) | undefined;
|
|
39
|
+
}, {}, {}>;
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import type { RawRule } from "@casl/ability";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: PropType<RawRule[]>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
disable: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
excludedSubjects: {
|
|
13
|
+
type: PropType<string[]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
"update:model-value": (subject: RawRule[]) => void;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
modelValue: {
|
|
20
|
+
type: PropType<RawRule[]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
disable: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
excludedSubjects: {
|
|
28
|
+
type: PropType<string[]>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
}>> & {
|
|
32
|
+
"onUpdate:model-value"?: ((subject: RawRule[]) => any) | undefined;
|
|
33
|
+
}, {
|
|
34
|
+
disable: boolean;
|
|
35
|
+
}, {}>;
|
|
36
|
+
export default _default;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: PropType<string[] | null>;
|
|
5
|
+
default: null;
|
|
6
|
+
};
|
|
7
|
+
options: {
|
|
8
|
+
type: PropType<{
|
|
9
|
+
label: string;
|
|
10
|
+
value: string;
|
|
11
|
+
}[]>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
disable: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
context: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
"update:model-value": (value: string[] | null) => void;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
modelValue: {
|
|
26
|
+
type: PropType<string[] | null>;
|
|
27
|
+
default: null;
|
|
28
|
+
};
|
|
29
|
+
options: {
|
|
30
|
+
type: PropType<{
|
|
31
|
+
label: string;
|
|
32
|
+
value: string;
|
|
33
|
+
}[]>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
disable: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
context: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
}>> & {
|
|
45
|
+
"onUpdate:model-value"?: ((value: string[] | null) => any) | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
modelValue: string[] | null;
|
|
48
|
+
disable: boolean;
|
|
49
|
+
}, {}>;
|
|
50
|
+
export default _default;
|