oak-pay-business 2.5.9 → 2.6.1
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/es/aspects/withdraw.d.ts +40 -40
- package/es/components/AbstractComponents.d.ts +62 -11
- package/es/components/offlineAccount/upsert/web.pc.js +1 -1
- package/es/components/payConfig/system/web.pc.js +1 -1
- package/es/context/BackendRuntimeContext.d.ts +418 -80
- package/es/entities/Deposit.d.ts +2 -2
- package/es/entities/Deposit.js +6 -2
- package/es/entities/User.js +1 -0
- package/es/entities/WpProduct.d.ts +1 -0
- package/es/entities/WpProduct.js +1 -0
- package/es/oak-app-domain/Deposit/Action.d.ts +2 -2
- package/es/oak-app-domain/Deposit/Action.js +4 -3
- package/es/oak-app-domain/Deposit/Storage.js +1 -1
- package/es/oak-app-domain/Deposit/Style.js +1 -0
- package/es/oak-app-domain/Deposit/locales/zh_CN.json +4 -2
- package/es/oak-app-domain/Platform/Schema.d.ts +33 -3
- package/es/oak-app-domain/Platform/Storage.js +2 -1
- package/es/oak-app-domain/Platform/locales/zh_CN.json +4 -0
- package/es/oak-app-domain/Relation/Schema.d.ts +33 -4
- package/es/oak-app-domain/Relation/Storage.js +1 -1
- package/es/oak-app-domain/Relation.js +10 -0
- package/es/oak-app-domain/RelationId.d.ts +4 -0
- package/es/oak-app-domain/User/Schema.d.ts +5 -0
- package/es/oak-app-domain/User/Storage.js +3 -0
- package/es/oak-app-domain/User/locales/zh_CN.json +1 -0
- package/es/oak-app-domain/UserRelation/Schema.d.ts +33 -4
- package/es/oak-app-domain/UserRelation/Storage.js +1 -1
- package/es/oak-app-domain/WpProduct/Schema.d.ts +5 -0
- package/es/oak-app-domain/WpProduct/Storage.js +4 -0
- package/es/oak-app-domain/WpProduct/locales/zh_CN.json +1 -0
- package/es/oak-app-domain/_SubQuery.d.ts +4 -0
- package/es/routines/start.js +19 -19
- package/es/timers/index.js +22 -20
- package/es/triggers/index.d.ts +1 -0
- package/es/triggers/index.js +4 -1
- package/es/triggers/pay.d.ts +1 -0
- package/es/triggers/pay.js +27 -2
- package/es/triggers/withdraw.d.ts +1 -1
- package/es/utils/application.d.ts +418 -80
- package/es/utils/pay.d.ts +1 -0
- package/es/utils/payClazz/WechatPay/index.d.ts +1 -1
- package/es/utils/payClazz/index.js +2 -2
- package/es/utils/wpProductFrontend.d.ts +2 -1
- package/lib/aspects/withdraw.d.ts +36 -36
- package/lib/context/BackendRuntimeContext.d.ts +418 -80
- package/lib/entities/Deposit.d.ts +2 -2
- package/lib/entities/Deposit.js +6 -2
- package/lib/entities/User.js +1 -0
- package/lib/entities/WpProduct.d.ts +1 -0
- package/lib/entities/WpProduct.js +1 -0
- package/lib/oak-app-domain/Deposit/Action.d.ts +2 -2
- package/lib/oak-app-domain/Deposit/Action.js +4 -3
- package/lib/oak-app-domain/Deposit/Storage.js +1 -1
- package/lib/oak-app-domain/Deposit/Style.js +1 -0
- package/lib/oak-app-domain/Deposit/locales/zh_CN.json +4 -2
- package/lib/oak-app-domain/Platform/Schema.d.ts +33 -3
- package/lib/oak-app-domain/Platform/Storage.js +2 -1
- package/lib/oak-app-domain/Platform/locales/zh_CN.json +4 -0
- package/lib/oak-app-domain/Relation/Schema.d.ts +33 -4
- package/lib/oak-app-domain/Relation/Storage.js +1 -1
- package/lib/oak-app-domain/Relation.js +10 -0
- package/lib/oak-app-domain/RelationId.d.ts +4 -0
- package/lib/oak-app-domain/User/Schema.d.ts +5 -0
- package/lib/oak-app-domain/User/Storage.js +3 -0
- package/lib/oak-app-domain/User/locales/zh_CN.json +1 -0
- package/lib/oak-app-domain/UserRelation/Schema.d.ts +33 -4
- package/lib/oak-app-domain/UserRelation/Storage.js +1 -1
- package/lib/oak-app-domain/WpProduct/Schema.d.ts +5 -0
- package/lib/oak-app-domain/WpProduct/Storage.js +4 -0
- package/lib/oak-app-domain/WpProduct/locales/zh_CN.json +1 -0
- package/lib/oak-app-domain/_SubQuery.d.ts +4 -0
- package/lib/routines/start.js +19 -19
- package/lib/timers/index.js +22 -20
- package/lib/triggers/index.d.ts +1 -0
- package/lib/triggers/index.js +5 -1
- package/lib/triggers/pay.d.ts +1 -0
- package/lib/triggers/pay.js +30 -4
- package/lib/utils/application.d.ts +418 -80
- package/lib/utils/pay.d.ts +1 -0
- package/lib/utils/payClazz/index.js +2 -2
- package/lib/utils/wpProductFrontend.d.ts +2 -1
- package/lib/utils/wpProductFrontend.js +3 -2
- package/package.json +4 -4
- package/src/entities/Deposit.ts +8 -4
- package/src/entities/User.ts +1 -0
- package/src/entities/WpProduct.ts +2 -0
package/es/aspects/withdraw.d.ts
CHANGED
|
@@ -3,60 +3,60 @@ export declare function getWithdrawCreateData(params: {
|
|
|
3
3
|
accountId: string;
|
|
4
4
|
price: number;
|
|
5
5
|
withdrawAccountId?: string;
|
|
6
|
-
}, context: BRC): Promise<(Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "
|
|
6
|
+
}, context: BRC): Promise<(Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "creatorId" | "accountId">> & {
|
|
7
7
|
id: string;
|
|
8
8
|
} & {
|
|
9
|
-
accountId:
|
|
10
|
-
account?: import("../oak-app-domain/Account/Schema").UpdateOperation;
|
|
9
|
+
accountId: string;
|
|
10
|
+
account?: import("../oak-app-domain/Account/Schema").UpdateOperation | undefined;
|
|
11
11
|
} & {
|
|
12
|
-
creatorId:
|
|
13
|
-
creator?: import("../oak-app-domain/User/Schema").UpdateOperation;
|
|
12
|
+
creatorId: string;
|
|
13
|
+
creator?: import("../oak-app-domain/User/Schema").UpdateOperation | undefined;
|
|
14
14
|
} & {
|
|
15
|
-
refund$withdraw?: import("oak-domain/lib/types").Operation<
|
|
16
|
-
withdrawTransfer$withdraw?: import("oak-domain/lib/types").Operation<
|
|
17
|
-
modiEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">[]> |
|
|
18
|
-
operEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">[]> |
|
|
19
|
-
accountOper$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">[]> |
|
|
20
|
-
}) | (Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "
|
|
15
|
+
refund$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/Refund/Schema").UpdateOperationData, "withdraw" | "withdrawId">, Omit<import("../oak-app-domain/Refund/Schema").Filter, "withdraw" | "withdrawId">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/Refund/Schema").CreateOperationData, "withdraw" | "withdrawId">[]> | (import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/Refund/Schema").UpdateOperationData, "withdraw" | "withdrawId">, Omit<import("../oak-app-domain/Refund/Schema").Filter, "withdraw" | "withdrawId">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/Refund/Schema").CreateOperationData, "withdraw" | "withdrawId">>)[] | undefined;
|
|
16
|
+
withdrawTransfer$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").UpdateOperationData, "withdraw" | "withdrawId">, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").Filter, "withdraw" | "withdrawId">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/WithdrawTransfer/Schema").CreateOperationData, "withdraw" | "withdrawId">[]> | (import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").UpdateOperationData, "withdraw" | "withdrawId">, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").Filter, "withdraw" | "withdrawId">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/WithdrawTransfer/Schema").CreateOperationData, "withdraw" | "withdrawId">>)[] | undefined;
|
|
17
|
+
modiEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
|
|
18
|
+
operEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
|
|
19
|
+
accountOper$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
|
|
20
|
+
}) | (Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "creatorId" | "accountId">> & {
|
|
21
21
|
id: string;
|
|
22
22
|
} & {
|
|
23
|
-
accountId:
|
|
24
|
-
account?: import("../oak-app-domain/Account/Schema").UpdateOperation;
|
|
23
|
+
accountId: string;
|
|
24
|
+
account?: import("../oak-app-domain/Account/Schema").UpdateOperation | undefined;
|
|
25
25
|
} & {
|
|
26
|
-
creator?:
|
|
27
|
-
creatorId:
|
|
26
|
+
creator?: undefined;
|
|
27
|
+
creatorId: string;
|
|
28
28
|
} & {
|
|
29
|
-
refund$withdraw?: import("oak-domain/lib/types").Operation<
|
|
30
|
-
withdrawTransfer$withdraw?: import("oak-domain/lib/types").Operation<
|
|
31
|
-
modiEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">[]> |
|
|
32
|
-
operEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">[]> |
|
|
33
|
-
accountOper$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">[]> |
|
|
34
|
-
}) | (Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "
|
|
29
|
+
refund$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/Refund/Schema").UpdateOperationData, "withdraw" | "withdrawId">, Omit<import("../oak-app-domain/Refund/Schema").Filter, "withdraw" | "withdrawId">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/Refund/Schema").CreateOperationData, "withdraw" | "withdrawId">[]> | (import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/Refund/Schema").UpdateOperationData, "withdraw" | "withdrawId">, Omit<import("../oak-app-domain/Refund/Schema").Filter, "withdraw" | "withdrawId">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/Refund/Schema").CreateOperationData, "withdraw" | "withdrawId">>)[] | undefined;
|
|
30
|
+
withdrawTransfer$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").UpdateOperationData, "withdraw" | "withdrawId">, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").Filter, "withdraw" | "withdrawId">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/WithdrawTransfer/Schema").CreateOperationData, "withdraw" | "withdrawId">[]> | (import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").UpdateOperationData, "withdraw" | "withdrawId">, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").Filter, "withdraw" | "withdrawId">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/WithdrawTransfer/Schema").CreateOperationData, "withdraw" | "withdrawId">>)[] | undefined;
|
|
31
|
+
modiEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
|
|
32
|
+
operEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
|
|
33
|
+
accountOper$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
|
|
34
|
+
}) | (Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "creatorId" | "accountId">> & {
|
|
35
35
|
id: string;
|
|
36
36
|
} & {
|
|
37
|
-
account?:
|
|
38
|
-
accountId:
|
|
37
|
+
account?: undefined;
|
|
38
|
+
accountId: string;
|
|
39
39
|
} & {
|
|
40
|
-
creatorId:
|
|
41
|
-
creator?: import("../oak-app-domain/User/Schema").UpdateOperation;
|
|
40
|
+
creatorId: string;
|
|
41
|
+
creator?: import("../oak-app-domain/User/Schema").UpdateOperation | undefined;
|
|
42
42
|
} & {
|
|
43
|
-
refund$withdraw?: import("oak-domain/lib/types").Operation<
|
|
44
|
-
withdrawTransfer$withdraw?: import("oak-domain/lib/types").Operation<
|
|
45
|
-
modiEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">[]> |
|
|
46
|
-
operEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">[]> |
|
|
47
|
-
accountOper$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">[]> |
|
|
48
|
-
}) | (Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "
|
|
43
|
+
refund$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/Refund/Schema").UpdateOperationData, "withdraw" | "withdrawId">, Omit<import("../oak-app-domain/Refund/Schema").Filter, "withdraw" | "withdrawId">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/Refund/Schema").CreateOperationData, "withdraw" | "withdrawId">[]> | (import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/Refund/Schema").UpdateOperationData, "withdraw" | "withdrawId">, Omit<import("../oak-app-domain/Refund/Schema").Filter, "withdraw" | "withdrawId">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/Refund/Schema").CreateOperationData, "withdraw" | "withdrawId">>)[] | undefined;
|
|
44
|
+
withdrawTransfer$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").UpdateOperationData, "withdraw" | "withdrawId">, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").Filter, "withdraw" | "withdrawId">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/WithdrawTransfer/Schema").CreateOperationData, "withdraw" | "withdrawId">[]> | (import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").UpdateOperationData, "withdraw" | "withdrawId">, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").Filter, "withdraw" | "withdrawId">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/WithdrawTransfer/Schema").CreateOperationData, "withdraw" | "withdrawId">>)[] | undefined;
|
|
45
|
+
modiEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
|
|
46
|
+
operEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
|
|
47
|
+
accountOper$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
|
|
48
|
+
}) | (Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "creatorId" | "accountId">> & {
|
|
49
49
|
id: string;
|
|
50
50
|
} & {
|
|
51
|
-
account?:
|
|
52
|
-
accountId:
|
|
51
|
+
account?: undefined;
|
|
52
|
+
accountId: string;
|
|
53
53
|
} & {
|
|
54
|
-
creator?:
|
|
55
|
-
creatorId:
|
|
54
|
+
creator?: undefined;
|
|
55
|
+
creatorId: string;
|
|
56
56
|
} & {
|
|
57
|
-
refund$withdraw?: import("oak-domain/lib/types").Operation<
|
|
58
|
-
withdrawTransfer$withdraw?: import("oak-domain/lib/types").Operation<
|
|
59
|
-
modiEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">[]> |
|
|
60
|
-
operEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">[]> |
|
|
61
|
-
accountOper$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">[]> |
|
|
57
|
+
refund$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/Refund/Schema").UpdateOperationData, "withdraw" | "withdrawId">, Omit<import("../oak-app-domain/Refund/Schema").Filter, "withdraw" | "withdrawId">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/Refund/Schema").CreateOperationData, "withdraw" | "withdrawId">[]> | (import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/Refund/Schema").UpdateOperationData, "withdraw" | "withdrawId">, Omit<import("../oak-app-domain/Refund/Schema").Filter, "withdraw" | "withdrawId">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/Refund/Schema").CreateOperationData, "withdraw" | "withdrawId">>)[] | undefined;
|
|
58
|
+
withdrawTransfer$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").UpdateOperationData, "withdraw" | "withdrawId">, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").Filter, "withdraw" | "withdrawId">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/WithdrawTransfer/Schema").CreateOperationData, "withdraw" | "withdrawId">[]> | (import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").UpdateOperationData, "withdraw" | "withdrawId">, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").Filter, "withdraw" | "withdrawId">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/WithdrawTransfer/Schema").CreateOperationData, "withdraw" | "withdrawId">>)[] | undefined;
|
|
59
|
+
modiEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/ModiEntity/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
|
|
60
|
+
operEntity$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/OperEntity/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
|
|
61
|
+
accountOper$entity?: import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">[]> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/AccountOper/Schema").CreateOperationData, "entity" | "entityId">>[] | undefined;
|
|
62
62
|
})>;
|
|
@@ -4,15 +4,66 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { EntityDict } from '../oak-app-domain';
|
|
7
|
-
import { ReactComponentProps, ColumnProps, RowWithActions, OakExtraActionProps, OakAbsAttrDef, onActionFnDef } from 'oak-frontend-base';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
7
|
+
import { ReactComponentProps, ColumnProps, RowWithActions, OakExtraActionProps, OakAbsAttrDef, onActionFnDef, ListButtonProps, OakAbsAttrUpsertDef } from 'oak-frontend-base';
|
|
8
|
+
declare const FilterPanel: <T extends keyof EntityDict>(props: ReactComponentProps<EntityDict, T, false, {
|
|
9
|
+
entity: T;
|
|
10
|
+
columns: ColumnProps<EntityDict, T>[];
|
|
11
|
+
}>) => React.ReactElement;
|
|
12
|
+
declare const List: <T extends keyof EntityDict>(props: ReactComponentProps<EntityDict, T, false, {
|
|
13
|
+
entity: T;
|
|
14
|
+
extraActions: OakExtraActionProps[] | ((row: RowWithActions<EntityDict, T>) => OakExtraActionProps[]);
|
|
15
|
+
onAction: onActionFnDef;
|
|
16
|
+
disabledOp: boolean;
|
|
17
|
+
attributes: OakAbsAttrDef[];
|
|
18
|
+
data: RowWithActions<EntityDict, T>[];
|
|
19
|
+
loading: boolean;
|
|
20
|
+
tablePagination?: React.ReactNode;
|
|
21
|
+
rowSelection?: any;
|
|
22
|
+
hideHeader?: boolean | undefined;
|
|
23
|
+
disableSerialNumber?: boolean | undefined;
|
|
24
|
+
size?: "small" | "middle" | "large" | undefined;
|
|
25
|
+
scroll?: any;
|
|
26
|
+
empty?: React.ReactNode;
|
|
27
|
+
opWidth?: number | undefined;
|
|
28
|
+
ellipsis?: boolean | undefined;
|
|
29
|
+
}>) => React.ReactElement;
|
|
30
|
+
declare const ListPro: <T extends keyof EntityDict>(props: {
|
|
31
|
+
title?: any;
|
|
32
|
+
extraContent?: any;
|
|
33
|
+
hideDefaultButtons?: boolean | undefined;
|
|
34
|
+
buttonGroup?: ListButtonProps[] | undefined;
|
|
35
|
+
onReload?: (() => void) | undefined;
|
|
36
|
+
entity: T;
|
|
37
|
+
extraActions?: OakExtraActionProps[] | ((row: RowWithActions<EntityDict, T>) => OakExtraActionProps[]) | undefined;
|
|
38
|
+
onAction?: onActionFnDef | undefined;
|
|
39
|
+
disabledOp?: boolean | undefined;
|
|
40
|
+
attributes: OakAbsAttrDef[];
|
|
41
|
+
data: RowWithActions<EntityDict, T>[];
|
|
42
|
+
loading?: boolean | undefined;
|
|
43
|
+
tablePagination?: any;
|
|
44
|
+
rowSelection?: any;
|
|
45
|
+
disableSerialNumber?: boolean | undefined;
|
|
46
|
+
size?: "small" | "middle" | "large" | undefined;
|
|
47
|
+
scroll?: any;
|
|
48
|
+
empty?: any;
|
|
49
|
+
opWidth?: number | undefined;
|
|
50
|
+
oakPath?: string | undefined;
|
|
51
|
+
}) => React.ReactElement;
|
|
52
|
+
declare const Detail: <T extends keyof EntityDict>(props: ReactComponentProps<EntityDict, T, false, {
|
|
53
|
+
column?: number | Record<Breakpoint, number> | undefined;
|
|
54
|
+
entity: T;
|
|
55
|
+
attributes: OakAbsAttrDef[];
|
|
56
|
+
data: Partial<EntityDict[T]["Schema"]>;
|
|
57
|
+
title?: string | undefined;
|
|
58
|
+
bordered?: boolean | undefined;
|
|
59
|
+
layout?: "horizontal" | "vertical" | undefined;
|
|
60
|
+
}>) => React.ReactElement;
|
|
61
|
+
declare const Upsert: <T extends keyof EntityDict>(props: ReactComponentProps<EntityDict, T, false, {
|
|
62
|
+
helps: Record<string, string>;
|
|
63
|
+
entity: T;
|
|
64
|
+
attributes: OakAbsAttrUpsertDef<EntityDict, T, string | number>[];
|
|
65
|
+
data: EntityDict[T]["Schema"];
|
|
66
|
+
layout: "horizontal" | "vertical";
|
|
67
|
+
mode: "default" | "card";
|
|
68
|
+
}>) => React.ReactElement;
|
|
18
69
|
export { FilterPanel, List, ListPro, Detail, Upsert, ReactComponentProps, ColumnProps, RowWithActions, OakExtraActionProps, OakAbsAttrDef, onActionFnDef, };
|
|
@@ -75,7 +75,7 @@ export default function render(props) {
|
|
|
75
75
|
}}/>
|
|
76
76
|
</Form.Item>
|
|
77
77
|
<Form.Item label={t('offlineAccount:attr.withdrawTransferLossRatio')} help={t('placeholder.withdrawTransferLossRatio')} required>
|
|
78
|
-
<InputNumber value={offlineAccount.withdrawTransferLossRatio} max={5} min={0
|
|
78
|
+
<InputNumber value={offlineAccount.withdrawTransferLossRatio} max={5} min={0} addonAfter={"%"} step={0.01} precision={2} onChange={(value) => {
|
|
79
79
|
const withdrawTransferLossRatio = value;
|
|
80
80
|
update({ withdrawTransferLossRatio });
|
|
81
81
|
}}/>
|