gotrip-fx-transaction-form 1.0.28 → 1.0.29
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/index.js +16589 -17775
- package/package.json +13 -13
- package/types/components/AddTransaction/SingularCustomer.d.ts +2 -1
- package/types/components/TransactionList/ActionMenu.d.ts +8 -0
- package/types/constants/countries.d.ts +6 -0
- package/types/hooks/useTransactionList.d.ts +1 -2
- package/types/types/response.dto.d.ts +1 -0
- package/types/util/toast.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
2
|
+
"name": "gotrip-fx-transaction-form",
|
|
3
|
+
"version": "1.0.29",
|
|
4
|
+
"description": "FX Transaction Form ES6 module",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"types": "types/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"*.js",
|
|
9
|
+
"types/**/*",
|
|
10
|
+
"assets/**/*"
|
|
11
|
+
],
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"access": "public"
|
|
14
|
+
}
|
|
15
15
|
}
|
|
@@ -2,6 +2,7 @@ type Props = {
|
|
|
2
2
|
onFinish: () => void;
|
|
3
3
|
ignoreLayout?: boolean;
|
|
4
4
|
onBack?: () => void;
|
|
5
|
+
showGetTicketInfo?: boolean;
|
|
5
6
|
};
|
|
6
|
-
export declare const SingularCustomer: ({ onFinish, ignoreLayout }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const SingularCustomer: ({ onFinish, ignoreLayout, showGetTicketInfo, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ITransaction } from '../../types/response.dto';
|
|
2
|
+
type Props = {
|
|
3
|
+
transaction: ITransaction;
|
|
4
|
+
setLoading?: (loading: boolean) => void;
|
|
5
|
+
refetchData?: () => void;
|
|
6
|
+
};
|
|
7
|
+
export declare const ActionMenu: ({ transaction, setLoading, refetchData }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -13,12 +13,11 @@ export declare const useTransactionList: ({ defaultLimit, defaultFilter }: Props
|
|
|
13
13
|
page: number;
|
|
14
14
|
limit: number;
|
|
15
15
|
refetchData: () => void;
|
|
16
|
-
sendBankTransaction: (transaction: ITransaction) => Promise<void>;
|
|
17
16
|
checkTicketStatus: (transaction: ITransaction) => Promise<void>;
|
|
18
17
|
updateGroupTransactionStatus: (groupPublicId: string, transactions: ITransaction[]) => Promise<boolean>;
|
|
19
|
-
checkInfoSuccess: (transaction: ITransaction) => Promise<void>;
|
|
20
18
|
setPage: import('react').Dispatch<import('react').SetStateAction<number>>;
|
|
21
19
|
setLimit: (limit: number) => void;
|
|
22
20
|
setFilter: import('react').Dispatch<import('react').SetStateAction<GetTransactionListReqDto>>;
|
|
21
|
+
setLoading: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
23
22
|
};
|
|
24
23
|
export {};
|
package/types/util/toast.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const showToast: (message: string, type: "success" | "error", duration?: number, options?: {
|
|
1
|
+
export declare const showToast: (message: string, type: "success" | "error" | "info", duration?: number, options?: {
|
|
2
2
|
position?: "top-right" | "top-left" | "bottom-right" | "bottom-left";
|
|
3
3
|
title?: string;
|
|
4
4
|
}) => void;
|