@feedmepos/mf-transaction 0.0.7-beta → 0.0.9-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/dist/{app-qQeAwVLL.js → app-4CSVpzdb.js} +64459 -82947
- package/dist/app.js +1 -1
- package/dist/apps/mf-transaction/src/composables/dateRange.d.ts +1 -0
- package/dist/apps/mf-transaction/src/router/shared.d.ts +0 -1
- package/dist/apps/mf-transaction/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index.es-Dh44S0bc.js → index.es-D829-gQC.js} +220 -220
- package/dist/packages/shared/src/composable/discardConfirm.d.ts +1 -0
- package/package.json +1 -1
- package/dist/apps/mf-transaction/src/components/AppForm.vue.d.ts +0 -41
- package/dist/apps/mf-transaction/src/components/CheckboxInput.vue.d.ts +0 -140
- package/dist/apps/mf-transaction/src/components/FilterDialog.vue.d.ts +0 -13
- package/dist/apps/mf-transaction/src/views/online/OnlineTransaction.vue.d.ts +0 -2
- package/dist/apps/mf-transaction/src/views/online/PaymentTable.vue.d.ts +0 -121
- package/dist/apps/mf-transaction/src/views/online/SettlementTable.vue.d.ts +0 -66
- package/dist/apps/mf-transaction/src/views/online/detail/FmSettlement.vue.d.ts +0 -32
- package/dist/apps/mf-transaction/src/views/online/detail/RmsSettlement.vue.d.ts +0 -22
- package/dist/apps/mf-transaction/src/views/online/detail/SettlementDetail.vue.d.ts +0 -5
- package/dist/apps/mf-transaction/src/views/online/settlement.d.ts +0 -52
- package/dist/style.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useDiscardConfirm(isModified: () => boolean, onConfirm: () => void): () => void;
|
package/package.json
CHANGED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
title: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: undefined;
|
|
5
|
-
};
|
|
6
|
-
required: {
|
|
7
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
8
|
-
default: boolean;
|
|
9
|
-
};
|
|
10
|
-
inline: {
|
|
11
|
-
type: BooleanConstructor;
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
-
title: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
default: undefined;
|
|
18
|
-
};
|
|
19
|
-
required: {
|
|
20
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
|
-
inline: {
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
|
-
}>> & Readonly<{}>, {
|
|
28
|
-
required: string | boolean;
|
|
29
|
-
title: string;
|
|
30
|
-
inline: boolean;
|
|
31
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
32
|
-
top?(_: {}): any;
|
|
33
|
-
"title-right"?(_: {}): any;
|
|
34
|
-
default?(_: {}): any;
|
|
35
|
-
}>;
|
|
36
|
-
export default _default;
|
|
37
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
-
new (): {
|
|
39
|
-
$slots: S;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { type PropType } from "vue";
|
|
2
|
-
export interface CheckboxOption {
|
|
3
|
-
key?: string;
|
|
4
|
-
label: string;
|
|
5
|
-
value: any;
|
|
6
|
-
disable?: boolean;
|
|
7
|
-
suffix?: {
|
|
8
|
-
text: string;
|
|
9
|
-
class: string;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
|
-
options: {
|
|
14
|
-
type: PropType<CheckboxOption[]>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
title: {
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
modelValue: {
|
|
22
|
-
type: PropType<unknown[]>;
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
showAllToggle: {
|
|
26
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
27
|
-
default: boolean;
|
|
28
|
-
};
|
|
29
|
-
disable: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
|
-
min: {
|
|
34
|
-
type: NumberConstructor;
|
|
35
|
-
default: number;
|
|
36
|
-
};
|
|
37
|
-
max: {
|
|
38
|
-
type: NumberConstructor;
|
|
39
|
-
default: undefined;
|
|
40
|
-
};
|
|
41
|
-
showIntermediate: {
|
|
42
|
-
type: BooleanConstructor;
|
|
43
|
-
default: boolean;
|
|
44
|
-
};
|
|
45
|
-
gutter: {
|
|
46
|
-
type: NumberConstructor;
|
|
47
|
-
default: undefined;
|
|
48
|
-
};
|
|
49
|
-
falsyShowSlot: {
|
|
50
|
-
type: BooleanConstructor;
|
|
51
|
-
default: boolean;
|
|
52
|
-
};
|
|
53
|
-
bottomSlotIndent: {
|
|
54
|
-
type: StringConstructor;
|
|
55
|
-
default: string;
|
|
56
|
-
};
|
|
57
|
-
alignCenter: {
|
|
58
|
-
type: BooleanConstructor;
|
|
59
|
-
default: boolean;
|
|
60
|
-
};
|
|
61
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
62
|
-
"update:model-value": (value: any[]) => void;
|
|
63
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
64
|
-
options: {
|
|
65
|
-
type: PropType<CheckboxOption[]>;
|
|
66
|
-
required: true;
|
|
67
|
-
};
|
|
68
|
-
title: {
|
|
69
|
-
type: StringConstructor;
|
|
70
|
-
required: true;
|
|
71
|
-
};
|
|
72
|
-
modelValue: {
|
|
73
|
-
type: PropType<unknown[]>;
|
|
74
|
-
required: true;
|
|
75
|
-
};
|
|
76
|
-
showAllToggle: {
|
|
77
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
78
|
-
default: boolean;
|
|
79
|
-
};
|
|
80
|
-
disable: {
|
|
81
|
-
type: BooleanConstructor;
|
|
82
|
-
default: boolean;
|
|
83
|
-
};
|
|
84
|
-
min: {
|
|
85
|
-
type: NumberConstructor;
|
|
86
|
-
default: number;
|
|
87
|
-
};
|
|
88
|
-
max: {
|
|
89
|
-
type: NumberConstructor;
|
|
90
|
-
default: undefined;
|
|
91
|
-
};
|
|
92
|
-
showIntermediate: {
|
|
93
|
-
type: BooleanConstructor;
|
|
94
|
-
default: boolean;
|
|
95
|
-
};
|
|
96
|
-
gutter: {
|
|
97
|
-
type: NumberConstructor;
|
|
98
|
-
default: undefined;
|
|
99
|
-
};
|
|
100
|
-
falsyShowSlot: {
|
|
101
|
-
type: BooleanConstructor;
|
|
102
|
-
default: boolean;
|
|
103
|
-
};
|
|
104
|
-
bottomSlotIndent: {
|
|
105
|
-
type: StringConstructor;
|
|
106
|
-
default: string;
|
|
107
|
-
};
|
|
108
|
-
alignCenter: {
|
|
109
|
-
type: BooleanConstructor;
|
|
110
|
-
default: boolean;
|
|
111
|
-
};
|
|
112
|
-
}>> & Readonly<{
|
|
113
|
-
"onUpdate:model-value"?: ((value: any[]) => any) | undefined;
|
|
114
|
-
}>, {
|
|
115
|
-
max: number;
|
|
116
|
-
min: number;
|
|
117
|
-
showAllToggle: string | boolean;
|
|
118
|
-
disable: boolean;
|
|
119
|
-
showIntermediate: boolean;
|
|
120
|
-
gutter: number;
|
|
121
|
-
falsyShowSlot: boolean;
|
|
122
|
-
bottomSlotIndent: string;
|
|
123
|
-
alignCenter: boolean;
|
|
124
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Partial<Record<`checkbox-${any}-end`, (_: {
|
|
125
|
-
option: CheckboxOption;
|
|
126
|
-
value: boolean;
|
|
127
|
-
disable: boolean | undefined;
|
|
128
|
-
}) => any>> & Partial<Record<`checkbox-${any}-bottom`, (_: {
|
|
129
|
-
option: CheckboxOption;
|
|
130
|
-
disable: boolean | undefined;
|
|
131
|
-
value: boolean;
|
|
132
|
-
}) => any>> & {
|
|
133
|
-
top?(_: {}): any;
|
|
134
|
-
}>;
|
|
135
|
-
export default _default;
|
|
136
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
137
|
-
new (): {
|
|
138
|
-
$slots: S;
|
|
139
|
-
};
|
|
140
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type PropType } from "vue";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
selectedRestaurants: {
|
|
4
|
-
type: PropType<string[]>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
-
selectedRestaurants: {
|
|
9
|
-
type: PropType<string[]>;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
|
-
export default _default;
|
|
@@ -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;
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import { type PropType } from "vue";
|
|
2
|
-
import type { FmPayment } from "@/views/online/settlement";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
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
|
-
noShrink: {
|
|
50
|
-
type: BooleanConstructor;
|
|
51
|
-
default: boolean;
|
|
52
|
-
};
|
|
53
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
54
|
-
"row-click": (payment: FmPayment) => void;
|
|
55
|
-
paginate: () => void;
|
|
56
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
57
|
-
data: {
|
|
58
|
-
type: PropType<FmPayment[]>;
|
|
59
|
-
required: true;
|
|
60
|
-
};
|
|
61
|
-
searchKey: {
|
|
62
|
-
type: StringConstructor;
|
|
63
|
-
required: false;
|
|
64
|
-
default: string;
|
|
65
|
-
};
|
|
66
|
-
loading: {
|
|
67
|
-
type: BooleanConstructor;
|
|
68
|
-
required: true;
|
|
69
|
-
};
|
|
70
|
-
paginable: {
|
|
71
|
-
type: BooleanConstructor;
|
|
72
|
-
default: boolean;
|
|
73
|
-
};
|
|
74
|
-
actions: {
|
|
75
|
-
type: PropType<(payment: FmPayment) => any>;
|
|
76
|
-
default: undefined;
|
|
77
|
-
};
|
|
78
|
-
rows: {
|
|
79
|
-
type: NumberConstructor;
|
|
80
|
-
default: number;
|
|
81
|
-
};
|
|
82
|
-
showOrderId: {
|
|
83
|
-
type: BooleanConstructor;
|
|
84
|
-
default: boolean;
|
|
85
|
-
};
|
|
86
|
-
showSequenceNumber: {
|
|
87
|
-
type: BooleanConstructor;
|
|
88
|
-
default: boolean;
|
|
89
|
-
};
|
|
90
|
-
showPayout: {
|
|
91
|
-
type: BooleanConstructor;
|
|
92
|
-
default: boolean;
|
|
93
|
-
};
|
|
94
|
-
showStore: {
|
|
95
|
-
type: BooleanConstructor;
|
|
96
|
-
default: boolean;
|
|
97
|
-
};
|
|
98
|
-
showEvent: {
|
|
99
|
-
type: BooleanConstructor;
|
|
100
|
-
default: boolean;
|
|
101
|
-
};
|
|
102
|
-
noShrink: {
|
|
103
|
-
type: BooleanConstructor;
|
|
104
|
-
default: boolean;
|
|
105
|
-
};
|
|
106
|
-
}>> & Readonly<{
|
|
107
|
-
"onRow-click"?: ((payment: FmPayment) => any) | undefined;
|
|
108
|
-
onPaginate?: (() => any) | undefined;
|
|
109
|
-
}>, {
|
|
110
|
-
actions: (payment: FmPayment) => any;
|
|
111
|
-
searchKey: string;
|
|
112
|
-
paginable: boolean;
|
|
113
|
-
rows: number;
|
|
114
|
-
showOrderId: boolean;
|
|
115
|
-
showSequenceNumber: boolean;
|
|
116
|
-
showPayout: boolean;
|
|
117
|
-
showStore: boolean;
|
|
118
|
-
showEvent: boolean;
|
|
119
|
-
noShrink: boolean;
|
|
120
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
121
|
-
export default _default;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { type PropType } from "vue";
|
|
2
|
-
import { type Settlement } from "./settlement";
|
|
3
|
-
import { type ColumnDef } from "@feedmepos/ui-library";
|
|
4
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
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
|
-
}>, {}, {}, {}, {}, 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
|
-
}>> & Readonly<{
|
|
59
|
-
"onRow-click"?: ((settlement: Settlement) => any) | undefined;
|
|
60
|
-
}>, {
|
|
61
|
-
searchKey: string;
|
|
62
|
-
showStore: boolean;
|
|
63
|
-
showEvent: boolean;
|
|
64
|
-
extraFields: ColumnDef<Settlement>[];
|
|
65
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
66
|
-
export default _default;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { type PropType } from "vue";
|
|
2
|
-
import { type FmSettlement } from "../settlement";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
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
|
-
}>, {}, {}, {}, {}, 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
|
-
}>> & Readonly<{}>, {
|
|
30
|
-
adminUsage: boolean;
|
|
31
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
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<import("vue").ExtractPropTypes<{
|
|
4
|
-
settlement: {
|
|
5
|
-
type: PropType<RmsSettlement>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
searchKey: {
|
|
9
|
-
type: StringConstructor;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
}>, {}, {}, {}, {}, 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
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
|
-
export default _default;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type 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<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
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 {};
|
package/dist/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.fade-enter-from[data-v-c4170ff3]{opacity:0}.fade-enter-to[data-v-c4170ff3],.fade-leave-from[data-v-c4170ff3]{opacity:1}.fade-leave-to[data-v-c4170ff3]{opacity:0}.fade-enter-active[data-v-c4170ff3],.fade-leave-active[data-v-c4170ff3]{transition:opacity .3s}
|