@feedmepos/mf-transaction 0.0.3-beta → 0.0.5-2.beta-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/README.md +7 -28
- package/dist/App-CQTRq8SY.js +208521 -0
- package/dist/app-CBundCUB.js +348 -0
- package/dist/app.js +4 -3
- package/dist/{src → apps/mf-transaction/src}/App.vue.d.ts +1 -1
- package/dist/{src → apps/mf-transaction/src}/Entry.vue.d.ts +1 -1
- package/dist/apps/mf-transaction/src/api/bill/index.d.ts +5 -0
- package/dist/{src → apps/mf-transaction/src}/api/transaction/index.d.ts +7 -5
- package/dist/apps/mf-transaction/src/app.d.ts +844 -0
- package/dist/{src → apps/mf-transaction/src}/composables/dateRange.d.ts +1 -0
- package/dist/apps/mf-transaction/src/helpers/canvas.d.ts +11 -0
- package/dist/{src → apps/mf-transaction/src}/helpers/utils.d.ts +1 -1
- package/dist/apps/mf-transaction/src/types/item.interface.d.ts +187 -0
- package/dist/{src → apps/mf-transaction/src}/views/receipt/ExportReceipt.vue.d.ts +4 -4
- package/dist/{src → apps/mf-transaction/src}/views/receipt/Receipt.vue.d.ts +1 -1
- package/dist/{src → apps/mf-transaction/src}/views/receipt/detail/ReceiptDetail.vue.d.ts +4 -4
- package/dist/apps/mf-transaction/src/views/receipt/detail/activity/ReceiptActivities.vue.d.ts +14 -0
- package/dist/apps/mf-transaction/src/views/receipt/detail/info/InfoBasic.vue.d.ts +20 -0
- package/dist/{src → apps/mf-transaction/src}/views/receipt/detail/info/InfoRow.vue.d.ts +4 -4
- package/dist/apps/mf-transaction/src/views/receipt/detail/info/ReceiptInfo.vue.d.ts +14 -0
- package/dist/apps/mf-transaction/src/views/receipt/detail/info/ReceiptItem.vue.d.ts +14 -0
- package/dist/apps/mf-transaction/src/views/receipt/detail/info/ReceiptPreview.vue.d.ts +14 -0
- package/dist/{src → apps/mf-transaction/src}/views/receipt/detail/info/ReceiptSubItem.vue.d.ts +5 -5
- package/dist/apps/mf-transaction/src/views/receipt/detail/item/ReceiptGroupItem.vue.d.ts +14 -0
- package/dist/apps/mf-transaction/src/views/receipt/detail/transaction/ReceiptTransaction.vue.d.ts +14 -0
- package/dist/{src → apps/mf-transaction/src}/views/receipt/receipt.d.ts +10 -7
- package/dist/apps/mf-transaction/tsconfig.app.tsbuildinfo +1 -0
- package/dist/{index.es-ChYubkZJ.js → index.es-K0vZLW_s.js} +1342 -1358
- package/dist/packages/shared/src/api/index.d.ts +3 -0
- package/dist/packages/shared/src/api/public.d.ts +5 -0
- package/dist/packages/shared/src/components/button/ResponsiveFabButton.vue.d.ts +12 -0
- package/dist/packages/shared/src/components/dialog/ConfirmActionDialog.vue.d.ts +30 -0
- package/dist/packages/shared/src/components/form/DynamicSheet.vue.d.ts +19 -0
- package/dist/packages/shared/src/components/form/FormLabel.vue.d.ts +33 -0
- package/dist/packages/shared/src/components/form/ImageDropField.vue.d.ts +46 -0
- package/dist/packages/shared/src/components/form/SelectFilter.vue.d.ts +121 -0
- package/dist/packages/shared/src/components/info/CustomAttributeChip.vue.d.ts +29 -0
- package/dist/packages/shared/src/components/info/InfoBasic.vue.d.ts +20 -0
- package/dist/packages/shared/src/components/info/Summary.vue.d.ts +19 -0
- package/dist/packages/shared/src/components/info/TextChip.vue.d.ts +36 -0
- package/dist/packages/shared/src/components/layout/FormColumn.vue.d.ts +21 -0
- package/dist/packages/shared/src/components/layout/FormItem.vue.d.ts +23 -0
- package/dist/packages/shared/src/components/layout/FormRow.vue.d.ts +9 -0
- package/dist/packages/shared/src/components/layout/FormSection.vue.d.ts +24 -0
- package/dist/packages/shared/src/components/layout/FullScreenForm.vue.d.ts +45 -0
- package/dist/packages/shared/src/components/layout/FullWrapper.vue.d.ts +9 -0
- package/dist/{src/views/online/OnlineTransaction.vue.d.ts → packages/shared/src/components/layout/HorizontalSplitter.vue.d.ts} +1 -1
- package/dist/packages/shared/src/components/layout/Indent.vue.d.ts +9 -0
- package/dist/{src/components/Navigator.vue.d.ts → packages/shared/src/components/layout/ListLayout.vue.d.ts} +1 -1
- package/dist/packages/shared/src/components/layout/LottieAnimation.vue.d.ts +39 -0
- package/dist/packages/shared/src/components/layout/MobileXScrollable.vue.d.ts +9 -0
- package/dist/packages/shared/src/components/layout/PageLayout.vue.d.ts +24 -0
- package/dist/packages/shared/src/components/loading/AppLoading.vue.d.ts +20 -0
- package/dist/packages/shared/src/components/loading/PageLoading.vue.d.ts +2 -0
- package/dist/packages/shared/src/components/loading/index.d.ts +1 -0
- package/dist/packages/shared/src/components/map/GoogleMap.vue.d.ts +79 -0
- package/dist/packages/shared/src/components/menu/BottomSheetMenu.vue.d.ts +10 -0
- package/dist/packages/shared/src/components/menu/BottomSheetMenuItem.vue.d.ts +24 -0
- package/dist/packages/shared/src/components/menu/ResponsiveContextMenu.vue.d.ts +22 -0
- package/dist/packages/shared/src/components/table/EmptyDataTemplate/Icon.vue.d.ts +2 -0
- package/dist/packages/shared/src/components/table/EmptyDataTemplate/index.d.ts +1 -0
- package/dist/packages/shared/src/components/table/EmptyDataTemplate/index.vue.d.ts +27 -0
- package/dist/packages/shared/src/components/types.d.ts +95 -0
- package/dist/packages/shared/src/composable/clipboard.d.ts +3 -0
- package/dist/packages/shared/src/composable/dateRange.d.ts +18 -0
- package/dist/packages/shared/src/composable/discardConfirm.d.ts +1 -0
- package/dist/packages/shared/src/composable/elementPosition.d.ts +17 -0
- package/dist/packages/shared/src/composable/filterSelector.d.ts +12 -0
- package/dist/packages/shared/src/composable/loading.d.ts +29 -0
- package/dist/packages/shared/src/composable/prompt.d.ts +9 -0
- package/dist/packages/shared/src/composable/search.d.ts +5 -0
- package/dist/packages/shared/src/composable/sheet.d.ts +17 -0
- package/dist/packages/shared/src/feature/featureMinVersion.d.ts +34 -0
- package/dist/packages/shared/src/helpers/actionButton.d.ts +8 -0
- package/dist/packages/shared/src/helpers/browser.d.ts +1 -0
- package/dist/packages/shared/src/helpers/contextMenu.d.ts +13 -0
- package/dist/packages/shared/src/helpers/createComponent.d.ts +7 -0
- package/dist/packages/shared/src/helpers/createForm.d.ts +2 -0
- package/dist/packages/shared/src/helpers/iteration.d.ts +11 -0
- package/dist/packages/shared/src/helpers/map.d.ts +370 -0
- package/dist/packages/shared/src/helpers/object.d.ts +6 -0
- package/dist/packages/shared/src/helpers/rules.d.ts +1 -0
- package/dist/packages/shared/src/helpers/string.d.ts +12 -0
- package/dist/packages/shared/src/permission/posPermission.d.ts +6 -0
- package/dist/packages/shared/src/stores/app.d.ts +217 -0
- package/dist/packages/shared/src/types/types.d.ts +5 -0
- package/dist/{purify.es-CFivMm59.js → purify.es-CKk_t3XZ.js} +57 -57
- package/package.json +35 -34
- package/dist/app-BB-LU4yE.js +0 -144269
- package/dist/html2canvas.esm-DgRhIRvu.js +0 -4870
- package/dist/src/api/bill/index.d.ts +0 -3
- package/dist/src/api/employee/index.d.ts +0 -13
- package/dist/src/api/inventory/index.d.ts +0 -5
- package/dist/src/api/payment/index.d.ts +0 -3
- package/dist/src/api/role/index.d.ts +0 -9
- package/dist/src/api/team/index.d.ts +0 -9
- package/dist/src/api/timesheet/index.d.ts +0 -6
- package/dist/src/api/user/index.d.ts +0 -6
- package/dist/src/app.d.ts +0 -2
- package/dist/src/components/AppForm.vue.d.ts +0 -41
- package/dist/src/components/CheckboxInput.vue.d.ts +0 -140
- package/dist/src/components/FilterDialog.vue.d.ts +0 -13
- package/dist/src/components/RestaurantSelector.vue.d.ts +0 -6
- package/dist/src/helpers/rule.d.ts +0 -29
- package/dist/src/router/index.d.ts +0 -2
- package/dist/src/router/shared.d.ts +0 -4
- package/dist/src/stores/employee.d.ts +0 -539
- package/dist/src/stores/role.d.ts +0 -205
- package/dist/src/stores/timesheet.d.ts +0 -253
- package/dist/src/types/employee.d.ts +0 -29
- package/dist/src/types/permission.d.ts +0 -68
- package/dist/src/types/role.d.ts +0 -37
- package/dist/src/types/team.d.ts +0 -47
- package/dist/src/types/timesheet.d.ts +0 -16
- package/dist/src/views/online/PaymentTable.vue.d.ts +0 -112
- package/dist/src/views/online/SettlementTable.vue.d.ts +0 -66
- package/dist/src/views/online/detail/FmSettlement.vue.d.ts +0 -32
- package/dist/src/views/online/detail/RmsSettlement.vue.d.ts +0 -22
- package/dist/src/views/online/detail/SettlementDetail.vue.d.ts +0 -5
- package/dist/src/views/online/settlement.d.ts +0 -52
- package/dist/src/views/receipt/detail/activity/ReceiptActivities.vue.d.ts +0 -14
- package/dist/src/views/receipt/detail/info/InfoBasic.vue.d.ts +0 -20
- package/dist/src/views/receipt/detail/info/ReceiptInfo.vue.d.ts +0 -14
- package/dist/src/views/receipt/detail/info/ReceiptItem.vue.d.ts +0 -14
- package/dist/src/views/receipt/detail/info/ReceiptPreview.vue.d.ts +0 -14
- package/dist/src/views/receipt/detail/item/ReceiptGroupItem.vue.d.ts +0 -14
- package/dist/src/views/team/TeamMemberList.vue.d.ts +0 -2
- package/dist/src/views/team/components/AddMemberForm.vue.d.ts +0 -40
- package/dist/src/views/team/components/PortalPermissionEditor.vue.d.ts +0 -38
- package/dist/src/views/team/components/PortalUserSearcher.vue.d.ts +0 -40
- package/dist/src/views/team/components/TeamMemberBasePermission.vue.d.ts +0 -36
- package/dist/src/views/team/components/TeamMemberConditionPermission.vue.d.ts +0 -50
- package/dist/src/views/team/components/TeamMemberMasterUser.vue.d.ts +0 -836
- package/dist/src/views/team/components/TeamMemberRolePermission.vue.d.ts +0 -46
- package/dist/style.css +0 -1
- package/dist/tsconfig.app.tsbuildinfo +0 -1
- /package/dist/{src → apps/mf-transaction/src}/api/index.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/composables/message.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/helpers/component.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/helpers/createComponent.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/helpers/createForm.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/helpers/export.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/helpers/idToDate.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/helpers/iteration.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/helpers/random.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/helpers/string.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/helpers/time.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/main.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/types/restaurant.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/types/transaction.d.ts +0 -0
- /package/dist/{src → apps/mf-transaction/src}/views/receipt/form.d.ts +0 -0
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { PropType } from "vue";
|
|
2
|
-
import type { FmPayment } from "@/views/online/settlement";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
data: {
|
|
5
|
-
type: PropType<FmPayment[]>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
searchKey: {
|
|
9
|
-
type: StringConstructor;
|
|
10
|
-
required: false;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
|
-
loading: {
|
|
14
|
-
type: BooleanConstructor;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
paginable: {
|
|
18
|
-
type: BooleanConstructor;
|
|
19
|
-
default: boolean;
|
|
20
|
-
};
|
|
21
|
-
actions: {
|
|
22
|
-
type: PropType<(payment: FmPayment) => any>;
|
|
23
|
-
default: undefined;
|
|
24
|
-
};
|
|
25
|
-
rows: {
|
|
26
|
-
type: NumberConstructor;
|
|
27
|
-
default: number;
|
|
28
|
-
};
|
|
29
|
-
showOrderId: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
|
-
showSequenceNumber: {
|
|
34
|
-
type: BooleanConstructor;
|
|
35
|
-
default: boolean;
|
|
36
|
-
};
|
|
37
|
-
showPayout: {
|
|
38
|
-
type: BooleanConstructor;
|
|
39
|
-
default: boolean;
|
|
40
|
-
};
|
|
41
|
-
showStore: {
|
|
42
|
-
type: BooleanConstructor;
|
|
43
|
-
default: boolean;
|
|
44
|
-
};
|
|
45
|
-
showEvent: {
|
|
46
|
-
type: BooleanConstructor;
|
|
47
|
-
default: boolean;
|
|
48
|
-
};
|
|
49
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
50
|
-
"row-click": (payment: FmPayment) => void;
|
|
51
|
-
paginate: () => void;
|
|
52
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
53
|
-
data: {
|
|
54
|
-
type: PropType<FmPayment[]>;
|
|
55
|
-
required: true;
|
|
56
|
-
};
|
|
57
|
-
searchKey: {
|
|
58
|
-
type: StringConstructor;
|
|
59
|
-
required: false;
|
|
60
|
-
default: string;
|
|
61
|
-
};
|
|
62
|
-
loading: {
|
|
63
|
-
type: BooleanConstructor;
|
|
64
|
-
required: true;
|
|
65
|
-
};
|
|
66
|
-
paginable: {
|
|
67
|
-
type: BooleanConstructor;
|
|
68
|
-
default: boolean;
|
|
69
|
-
};
|
|
70
|
-
actions: {
|
|
71
|
-
type: PropType<(payment: FmPayment) => any>;
|
|
72
|
-
default: undefined;
|
|
73
|
-
};
|
|
74
|
-
rows: {
|
|
75
|
-
type: NumberConstructor;
|
|
76
|
-
default: number;
|
|
77
|
-
};
|
|
78
|
-
showOrderId: {
|
|
79
|
-
type: BooleanConstructor;
|
|
80
|
-
default: boolean;
|
|
81
|
-
};
|
|
82
|
-
showSequenceNumber: {
|
|
83
|
-
type: BooleanConstructor;
|
|
84
|
-
default: boolean;
|
|
85
|
-
};
|
|
86
|
-
showPayout: {
|
|
87
|
-
type: BooleanConstructor;
|
|
88
|
-
default: boolean;
|
|
89
|
-
};
|
|
90
|
-
showStore: {
|
|
91
|
-
type: BooleanConstructor;
|
|
92
|
-
default: boolean;
|
|
93
|
-
};
|
|
94
|
-
showEvent: {
|
|
95
|
-
type: BooleanConstructor;
|
|
96
|
-
default: boolean;
|
|
97
|
-
};
|
|
98
|
-
}>> & {
|
|
99
|
-
"onRow-click"?: ((payment: FmPayment) => any) | undefined;
|
|
100
|
-
onPaginate?: (() => any) | undefined;
|
|
101
|
-
}, {
|
|
102
|
-
actions: (payment: FmPayment) => any;
|
|
103
|
-
searchKey: string;
|
|
104
|
-
paginable: boolean;
|
|
105
|
-
rows: number;
|
|
106
|
-
showOrderId: boolean;
|
|
107
|
-
showSequenceNumber: boolean;
|
|
108
|
-
showPayout: boolean;
|
|
109
|
-
showStore: boolean;
|
|
110
|
-
showEvent: boolean;
|
|
111
|
-
}, {}>;
|
|
112
|
-
export default _default;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { PropType } from "vue";
|
|
2
|
-
import { Settlement } from "./settlement";
|
|
3
|
-
import { ColumnDef } from "@feedmepos/ui-library";
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
5
|
-
settlements: {
|
|
6
|
-
type: PropType<Settlement[]>;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
searchKey: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
required: false;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
loading: {
|
|
15
|
-
type: BooleanConstructor;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
extraFields: {
|
|
19
|
-
type: PropType<ColumnDef<Settlement>[]>;
|
|
20
|
-
default: () => never[];
|
|
21
|
-
};
|
|
22
|
-
showStore: {
|
|
23
|
-
type: BooleanConstructor;
|
|
24
|
-
default: boolean;
|
|
25
|
-
};
|
|
26
|
-
showEvent: {
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
default: boolean;
|
|
29
|
-
};
|
|
30
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
|
-
"row-click": (settlement: Settlement) => void;
|
|
32
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
-
settlements: {
|
|
34
|
-
type: PropType<Settlement[]>;
|
|
35
|
-
required: true;
|
|
36
|
-
};
|
|
37
|
-
searchKey: {
|
|
38
|
-
type: StringConstructor;
|
|
39
|
-
required: false;
|
|
40
|
-
default: string;
|
|
41
|
-
};
|
|
42
|
-
loading: {
|
|
43
|
-
type: BooleanConstructor;
|
|
44
|
-
required: true;
|
|
45
|
-
};
|
|
46
|
-
extraFields: {
|
|
47
|
-
type: PropType<ColumnDef<Settlement>[]>;
|
|
48
|
-
default: () => never[];
|
|
49
|
-
};
|
|
50
|
-
showStore: {
|
|
51
|
-
type: BooleanConstructor;
|
|
52
|
-
default: boolean;
|
|
53
|
-
};
|
|
54
|
-
showEvent: {
|
|
55
|
-
type: BooleanConstructor;
|
|
56
|
-
default: boolean;
|
|
57
|
-
};
|
|
58
|
-
}>> & {
|
|
59
|
-
"onRow-click"?: ((settlement: Settlement) => any) | undefined;
|
|
60
|
-
}, {
|
|
61
|
-
searchKey: string;
|
|
62
|
-
showStore: boolean;
|
|
63
|
-
showEvent: boolean;
|
|
64
|
-
extraFields: ColumnDef<Settlement>[];
|
|
65
|
-
}, {}>;
|
|
66
|
-
export default _default;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { PropType } from "vue";
|
|
2
|
-
import { FmSettlement } from "../settlement";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
settlement: {
|
|
5
|
-
type: PropType<FmSettlement>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
searchKey: {
|
|
9
|
-
type: StringConstructor;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
adminUsage: {
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
-
settlement: {
|
|
18
|
-
type: PropType<FmSettlement>;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
searchKey: {
|
|
22
|
-
type: StringConstructor;
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
adminUsage: {
|
|
26
|
-
type: BooleanConstructor;
|
|
27
|
-
default: boolean;
|
|
28
|
-
};
|
|
29
|
-
}>>, {
|
|
30
|
-
adminUsage: boolean;
|
|
31
|
-
}, {}>;
|
|
32
|
-
export default _default;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { PropType } from "vue";
|
|
2
|
-
import type { RmsSettlement } from "../settlement";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
settlement: {
|
|
5
|
-
type: PropType<RmsSettlement>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
searchKey: {
|
|
9
|
-
type: StringConstructor;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
-
settlement: {
|
|
14
|
-
type: PropType<RmsSettlement>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
searchKey: {
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
}>>, {}, {}>;
|
|
22
|
-
export default _default;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Settlement } from "../settlement";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{}, {
|
|
3
|
-
trigger: (_settlement?: Settlement | undefined, _adminUsage?: boolean | undefined) => void;
|
|
4
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
5
|
-
export default _default;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { F_PAYMENT_TRANSACTION_GROUP, PaymentMethodDto, type PaymentTransactionDtoOutput, RMSSettlementDto, type SettlementDtoOutput } from "@feedmepos/payment-model";
|
|
2
|
-
import { type PaymentTransactionWithoutChildrenWithSeqNumberDtoOutput } from "@/api/transaction";
|
|
3
|
-
export type Settlement = FmSettlement | RmsSettlement;
|
|
4
|
-
export interface FmSettlement extends BaseSettlement {
|
|
5
|
-
type: "fm";
|
|
6
|
-
payments: () => Promise<FmPayment[]>;
|
|
7
|
-
}
|
|
8
|
-
export interface RmsSettlement extends BaseSettlement {
|
|
9
|
-
type: "rms" | F_PAYMENT_TRANSACTION_GROUP;
|
|
10
|
-
payments: RmsPayment[];
|
|
11
|
-
}
|
|
12
|
-
interface BaseSettlement {
|
|
13
|
-
id: string;
|
|
14
|
-
bankName: string;
|
|
15
|
-
bankAccount: string;
|
|
16
|
-
bankHolder: string;
|
|
17
|
-
createdAt: string;
|
|
18
|
-
total: string;
|
|
19
|
-
fee: string;
|
|
20
|
-
payout: string;
|
|
21
|
-
remark: string;
|
|
22
|
-
store: string | undefined;
|
|
23
|
-
event: string | undefined;
|
|
24
|
-
}
|
|
25
|
-
export interface RmsPayment extends BasePayment {
|
|
26
|
-
type: "rms" | F_PAYMENT_TRANSACTION_GROUP;
|
|
27
|
-
commission: string;
|
|
28
|
-
nettTotal: string;
|
|
29
|
-
}
|
|
30
|
-
export interface FmPayment extends BasePayment {
|
|
31
|
-
store: string;
|
|
32
|
-
event: string;
|
|
33
|
-
seqNumber: string;
|
|
34
|
-
useAt: string;
|
|
35
|
-
createdAt: string;
|
|
36
|
-
method: string;
|
|
37
|
-
status: string;
|
|
38
|
-
fee: string;
|
|
39
|
-
payout: string;
|
|
40
|
-
type: "rms" | F_PAYMENT_TRANSACTION_GROUP;
|
|
41
|
-
doc: PaymentTransactionDtoOutput;
|
|
42
|
-
}
|
|
43
|
-
interface BasePayment {
|
|
44
|
-
id: string;
|
|
45
|
-
completedAt: string;
|
|
46
|
-
total: string;
|
|
47
|
-
}
|
|
48
|
-
export declare function mergeSettlements(fmSettlements: SettlementDtoOutput[], rmsSettlements: RMSSettlementDto[], isAdmin?: boolean): Settlement[];
|
|
49
|
-
export declare function formatFmPayment(payment: PaymentTransactionWithoutChildrenWithSeqNumberDtoOutput): FmPayment;
|
|
50
|
-
export declare function formatPaymentMethod(method?: PaymentMethodDto | null): string;
|
|
51
|
-
export declare function getPaymentIcon(group: F_PAYMENT_TRANSACTION_GROUP | string): string | undefined;
|
|
52
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { PropType } from "vue";
|
|
2
|
-
import type { Receipt } from "@/views/receipt/receipt";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
receipt: {
|
|
5
|
-
type: PropType<Receipt>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
-
receipt: {
|
|
10
|
-
type: PropType<Receipt>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
}>>, {}, {}>;
|
|
14
|
-
export default _default;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
name: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
value: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
required: true;
|
|
9
|
-
};
|
|
10
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
-
name: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
value: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
}>>, {}, {}>;
|
|
20
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { PropType } from "vue";
|
|
2
|
-
import { type Receipt } from "@/views/receipt/receipt";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
receipt: {
|
|
5
|
-
type: PropType<Receipt>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
-
receipt: {
|
|
10
|
-
type: PropType<Receipt>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
}>>, {}, {}>;
|
|
14
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { PropType } from "vue";
|
|
2
|
-
import type { ReceiptItem } from "@/views/receipt/receipt";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
item: {
|
|
5
|
-
type: PropType<ReceiptItem>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
-
item: {
|
|
10
|
-
type: PropType<ReceiptItem>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
}>>, {}, {}>;
|
|
14
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { PropType } from "vue";
|
|
2
|
-
import { type Receipt } from "@/views/receipt/receipt";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
receipt: {
|
|
5
|
-
type: PropType<Receipt>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
-
receipt: {
|
|
10
|
-
type: PropType<Receipt>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
}>>, {}, {}>;
|
|
14
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { PropType } from "vue";
|
|
2
|
-
import type { Receipt } from "@/views/receipt/receipt";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
receipt: {
|
|
5
|
-
type: PropType<Receipt>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
-
receipt: {
|
|
10
|
-
type: PropType<Receipt>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
}>>, {}, {}>;
|
|
14
|
-
export default _default;
|
|
@@ -1,40 +0,0 @@
|
|
|
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;
|
|
@@ -1,38 +0,0 @@
|
|
|
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;
|
|
@@ -1,40 +0,0 @@
|
|
|
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;
|
|
@@ -1,36 +0,0 @@
|
|
|
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;
|
|
@@ -1,50 +0,0 @@
|
|
|
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;
|