@feedmepos/mf-transaction 0.0.6-beta → 0.0.8-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-DvTXMdAl.js → app-CFcSf1rQ.js} +49825 -44990
- package/dist/app.js +1 -1
- package/dist/apps/mf-transaction/src/api/transaction/index.d.ts +5 -3
- package/dist/apps/mf-transaction/src/router/shared.d.ts +0 -1
- package/dist/apps/mf-transaction/src/views/receipt/receipt.d.ts +5 -5
- package/dist/apps/mf-transaction/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index.es-Yqc0W6vL.js → index.es-BtLt3lQ5.js} +651 -651
- package/dist/packages/shared/src/components/dialog/ConfirmActionDialog.vue.d.ts +30 -0
- package/dist/packages/shared/src/components/info/TextChip.vue.d.ts +15 -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 +21 -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 +16 -1
- package/dist/packages/shared/src/components/layout/FullWrapper.vue.d.ts +9 -0
- package/dist/packages/shared/src/components/layout/Indent.vue.d.ts +9 -0
- package/dist/packages/shared/src/components/menu/BottomSheetMenuItem.vue.d.ts +1 -0
- package/dist/packages/shared/src/components/menu/ResponsiveContextMenu.vue.d.ts +22 -0
- package/dist/packages/shared/src/composable/elementPosition.d.ts +17 -0
- package/dist/packages/shared/src/composable/filterSelector.d.ts +1 -1
- package/dist/packages/shared/src/helpers/iteration.d.ts +1 -0
- package/dist/packages/shared/src/helpers/object.d.ts +1 -1
- package/dist/packages/shared/src/types/types.d.ts +5 -0
- package/package.json +4 -4
- 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
|
@@ -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}
|