oak-pay-business 2.3.4 → 2.4.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/es/aspects/withdraw.d.ts +12 -12
- package/es/components/AbstractComponents.d.ts +15 -5
- package/es/components/account/detail/web.pc.module.less +68 -68
- package/es/components/order/pay/info.js +6 -6
- package/es/components/order/pay/info.module.less +24 -24
- package/es/components/order/pay/web.mobile.module.less +35 -35
- package/es/components/order/pay/web.pc.module.less +35 -35
- package/es/components/payConfig/upsert/offline/web.pc.module.less +4 -4
- package/es/components/payConfig/upsert/web.pc.module.less +10 -10
- package/es/oak-app-domain/ActionDefDict.d.ts +6 -0
- package/es/oak-app-domain/ActionDefDict.js +4 -0
- package/es/oak-app-domain/Application/Schema.d.ts +10 -0
- package/es/oak-app-domain/Domain/Schema.d.ts +3 -3
- package/es/oak-app-domain/Domain/Storage.js +1 -1
- package/es/oak-app-domain/Domain/Style.js +2 -2
- package/es/oak-app-domain/Domain/locales/zh_CN.json +1 -1
- package/es/oak-app-domain/EntityDict.d.ts +2 -0
- package/es/oak-app-domain/Log/Action.d.ts +12 -0
- package/es/oak-app-domain/Log/Action.js +11 -0
- package/es/oak-app-domain/Log/Schema.d.ts +111 -0
- package/es/oak-app-domain/Log/Schema.js +1 -0
- package/es/oak-app-domain/Log/Storage.d.ts +3 -0
- package/es/oak-app-domain/Log/Storage.js +25 -0
- package/es/oak-app-domain/Log/Style.d.ts +3 -0
- package/es/oak-app-domain/Log/Style.js +12 -0
- package/es/oak-app-domain/Log/locales/zh_CN.json +1 -0
- package/es/oak-app-domain/Oper/Action.d.ts +12 -0
- package/es/oak-app-domain/Oper/Action.js +11 -0
- package/es/oak-app-domain/Oper/Schema.d.ts +56 -6
- package/es/oak-app-domain/Oper/Storage.js +13 -2
- package/es/oak-app-domain/Oper/Style.d.ts +3 -0
- package/es/oak-app-domain/Oper/Style.js +12 -0
- package/es/oak-app-domain/Oper/locales/zh_CN.json +1 -1
- package/es/oak-app-domain/OperEntity/Schema.d.ts +12 -1
- package/es/oak-app-domain/Passport/Schema.d.ts +1 -0
- package/es/oak-app-domain/Storage.js +2 -0
- package/es/oak-app-domain/StyleDict.js +4 -0
- package/es/oak-app-domain/User/Schema.d.ts +2 -2
- package/es/oak-app-domain/_SubQuery.d.ts +8 -0
- package/es/triggers/withdraw.d.ts +1 -1
- package/es/utils/payClazz/WechatPay/index.d.ts +1 -1
- package/lib/aspects/withdraw.d.ts +4 -4
- package/lib/context/BackendRuntimeContext.d.ts +1 -1
- package/lib/oak-app-domain/ActionDefDict.d.ts +6 -0
- package/lib/oak-app-domain/ActionDefDict.js +60 -56
- package/lib/oak-app-domain/Application/Schema.d.ts +10 -0
- package/lib/oak-app-domain/Domain/Schema.d.ts +3 -3
- package/lib/oak-app-domain/Domain/Storage.js +1 -1
- package/lib/oak-app-domain/Domain/Style.js +2 -2
- package/lib/oak-app-domain/Domain/locales/zh_CN.json +1 -1
- package/lib/oak-app-domain/EntityDict.d.ts +2 -0
- package/lib/oak-app-domain/Log/Action.d.ts +12 -0
- package/lib/oak-app-domain/Log/Action.js +14 -0
- package/lib/oak-app-domain/Log/Schema.d.ts +111 -0
- package/lib/oak-app-domain/Log/Schema.js +2 -0
- package/lib/oak-app-domain/Log/Storage.d.ts +3 -0
- package/lib/oak-app-domain/Log/Storage.js +28 -0
- package/lib/oak-app-domain/Log/Style.d.ts +3 -0
- package/lib/oak-app-domain/Log/Style.js +15 -0
- package/lib/oak-app-domain/Log/locales/zh_CN.json +1 -0
- package/lib/oak-app-domain/Oper/Action.d.ts +12 -0
- package/lib/oak-app-domain/Oper/Action.js +14 -0
- package/lib/oak-app-domain/Oper/Schema.d.ts +56 -6
- package/lib/oak-app-domain/Oper/Storage.js +14 -3
- package/lib/oak-app-domain/Oper/Style.d.ts +3 -0
- package/lib/oak-app-domain/Oper/Style.js +15 -0
- package/lib/oak-app-domain/Oper/locales/zh_CN.json +1 -1
- package/lib/oak-app-domain/OperEntity/Schema.d.ts +12 -1
- package/lib/oak-app-domain/Passport/Schema.d.ts +1 -0
- package/lib/oak-app-domain/Storage.js +146 -144
- package/lib/oak-app-domain/StyleDict.js +86 -82
- package/lib/oak-app-domain/User/Schema.d.ts +2 -2
- package/lib/oak-app-domain/_SubQuery.d.ts +8 -0
- package/lib/utils/application.d.ts +1 -1
- package/lib/utils/payClazz/WechatPay/index.d.ts +1 -1
- package/package.json +3 -3
package/es/aspects/withdraw.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ 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
9
|
accountId: string;
|
|
@@ -12,12 +12,12 @@ export declare function getWithdrawCreateData(params: {
|
|
|
12
12
|
creatorId: string;
|
|
13
13
|
creator?: import("../oak-app-domain/User/Schema").UpdateOperation | undefined;
|
|
14
14
|
} & {
|
|
15
|
-
refund$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/Refund/Schema").UpdateOperationData, "
|
|
16
|
-
withdrawTransfer$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").UpdateOperationData, "
|
|
15
|
+
refund$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/Refund/Schema").UpdateOperationData, "withdrawId" | "withdraw">, Omit<import("../oak-app-domain/Refund/Schema").Filter, "withdrawId" | "withdraw">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/Refund/Schema").CreateOperationData, "withdrawId" | "withdraw">[]> | (import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/Refund/Schema").UpdateOperationData, "withdrawId" | "withdraw">, Omit<import("../oak-app-domain/Refund/Schema").Filter, "withdrawId" | "withdraw">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/Refund/Schema").CreateOperationData, "withdrawId" | "withdraw">>)[] | undefined;
|
|
16
|
+
withdrawTransfer$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").UpdateOperationData, "withdrawId" | "withdraw">, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").Filter, "withdrawId" | "withdraw">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/WithdrawTransfer/Schema").CreateOperationData, "withdrawId" | "withdraw">[]> | (import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").UpdateOperationData, "withdrawId" | "withdraw">, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").Filter, "withdrawId" | "withdraw">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/WithdrawTransfer/Schema").CreateOperationData, "withdrawId" | "withdraw">>)[] | undefined;
|
|
17
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
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
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, "
|
|
20
|
+
}) | (Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "creatorId" | "accountId">> & {
|
|
21
21
|
id: string;
|
|
22
22
|
} & {
|
|
23
23
|
accountId: string;
|
|
@@ -26,12 +26,12 @@ export declare function getWithdrawCreateData(params: {
|
|
|
26
26
|
creator?: undefined;
|
|
27
27
|
creatorId: string;
|
|
28
28
|
} & {
|
|
29
|
-
refund$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/Refund/Schema").UpdateOperationData, "
|
|
30
|
-
withdrawTransfer$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").UpdateOperationData, "
|
|
29
|
+
refund$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/Refund/Schema").UpdateOperationData, "withdrawId" | "withdraw">, Omit<import("../oak-app-domain/Refund/Schema").Filter, "withdrawId" | "withdraw">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/Refund/Schema").CreateOperationData, "withdrawId" | "withdraw">[]> | (import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/Refund/Schema").UpdateOperationData, "withdrawId" | "withdraw">, Omit<import("../oak-app-domain/Refund/Schema").Filter, "withdrawId" | "withdraw">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/Refund/Schema").CreateOperationData, "withdrawId" | "withdraw">>)[] | undefined;
|
|
30
|
+
withdrawTransfer$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").UpdateOperationData, "withdrawId" | "withdraw">, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").Filter, "withdrawId" | "withdraw">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/WithdrawTransfer/Schema").CreateOperationData, "withdrawId" | "withdraw">[]> | (import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").UpdateOperationData, "withdrawId" | "withdraw">, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").Filter, "withdrawId" | "withdraw">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/WithdrawTransfer/Schema").CreateOperationData, "withdrawId" | "withdraw">>)[] | undefined;
|
|
31
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
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
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, "
|
|
34
|
+
}) | (Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "creatorId" | "accountId">> & {
|
|
35
35
|
id: string;
|
|
36
36
|
} & {
|
|
37
37
|
account?: undefined;
|
|
@@ -40,12 +40,12 @@ export declare function getWithdrawCreateData(params: {
|
|
|
40
40
|
creatorId: string;
|
|
41
41
|
creator?: import("../oak-app-domain/User/Schema").UpdateOperation | undefined;
|
|
42
42
|
} & {
|
|
43
|
-
refund$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/Refund/Schema").UpdateOperationData, "
|
|
44
|
-
withdrawTransfer$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").UpdateOperationData, "
|
|
43
|
+
refund$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/Refund/Schema").UpdateOperationData, "withdrawId" | "withdraw">, Omit<import("../oak-app-domain/Refund/Schema").Filter, "withdrawId" | "withdraw">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/Refund/Schema").CreateOperationData, "withdrawId" | "withdraw">[]> | (import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/Refund/Schema").UpdateOperationData, "withdrawId" | "withdraw">, Omit<import("../oak-app-domain/Refund/Schema").Filter, "withdrawId" | "withdraw">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/Refund/Schema").CreateOperationData, "withdrawId" | "withdraw">>)[] | undefined;
|
|
44
|
+
withdrawTransfer$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").UpdateOperationData, "withdrawId" | "withdraw">, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").Filter, "withdrawId" | "withdraw">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/WithdrawTransfer/Schema").CreateOperationData, "withdrawId" | "withdraw">[]> | (import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").UpdateOperationData, "withdrawId" | "withdraw">, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").Filter, "withdrawId" | "withdraw">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/WithdrawTransfer/Schema").CreateOperationData, "withdrawId" | "withdraw">>)[] | undefined;
|
|
45
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
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
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, "
|
|
48
|
+
}) | (Partial<Omit<import("../oak-app-domain/Withdraw/Schema").OpSchema, "creatorId" | "accountId">> & {
|
|
49
49
|
id: string;
|
|
50
50
|
} & {
|
|
51
51
|
account?: undefined;
|
|
@@ -54,8 +54,8 @@ export declare function getWithdrawCreateData(params: {
|
|
|
54
54
|
creator?: undefined;
|
|
55
55
|
creatorId: string;
|
|
56
56
|
} & {
|
|
57
|
-
refund$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/Refund/Schema").UpdateOperationData, "
|
|
58
|
-
withdrawTransfer$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").UpdateOperationData, "
|
|
57
|
+
refund$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/Refund/Schema").UpdateOperationData, "withdrawId" | "withdraw">, Omit<import("../oak-app-domain/Refund/Schema").Filter, "withdrawId" | "withdraw">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/Refund/Schema").CreateOperationData, "withdrawId" | "withdraw">[]> | (import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/Refund/Schema").UpdateOperationData, "withdrawId" | "withdraw">, Omit<import("../oak-app-domain/Refund/Schema").Filter, "withdrawId" | "withdraw">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/Refund/Schema").CreateOperationData, "withdrawId" | "withdraw">>)[] | undefined;
|
|
58
|
+
withdrawTransfer$withdraw?: import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").UpdateOperationData, "withdrawId" | "withdraw">, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").Filter, "withdrawId" | "withdraw">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/WithdrawTransfer/Schema").CreateOperationData, "withdrawId" | "withdraw">[]> | (import("oak-domain/lib/types").Operation<string, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").UpdateOperationData, "withdrawId" | "withdraw">, Omit<import("../oak-app-domain/WithdrawTransfer/Schema").Filter, "withdrawId" | "withdraw">> | import("oak-domain/lib/types").Operation<"create", Omit<import("../oak-app-domain/WithdrawTransfer/Schema").CreateOperationData, "withdrawId" | "withdraw">>)[] | undefined;
|
|
59
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
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
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;
|
|
@@ -18,11 +18,16 @@ declare const List: <T extends keyof EntityDict>(props: ReactComponentProps<Enti
|
|
|
18
18
|
data: RowWithActions<EntityDict, T>[];
|
|
19
19
|
loading: boolean;
|
|
20
20
|
tablePagination?: React.ReactNode;
|
|
21
|
-
rowSelection?:
|
|
21
|
+
rowSelection?: import("antd/es/table/interface").TableRowSelection<RowWithActions<EntityDict, T>> | undefined;
|
|
22
22
|
hideHeader?: boolean | undefined;
|
|
23
23
|
disableSerialNumber?: boolean | undefined;
|
|
24
24
|
size?: "small" | "middle" | "large" | undefined;
|
|
25
|
-
scroll?:
|
|
25
|
+
scroll?: ({
|
|
26
|
+
x?: string | number | true | undefined;
|
|
27
|
+
y?: string | number | undefined;
|
|
28
|
+
} & {
|
|
29
|
+
scrollToFirstRowOnChange?: boolean | undefined;
|
|
30
|
+
}) | undefined;
|
|
26
31
|
empty?: React.ReactNode;
|
|
27
32
|
opWidth?: number | undefined;
|
|
28
33
|
ellipsis?: boolean | undefined;
|
|
@@ -41,16 +46,21 @@ declare const ListPro: <T extends keyof EntityDict>(props: {
|
|
|
41
46
|
data: RowWithActions<EntityDict, T>[];
|
|
42
47
|
loading?: boolean | undefined;
|
|
43
48
|
tablePagination?: any;
|
|
44
|
-
rowSelection?:
|
|
49
|
+
rowSelection?: import("antd/es/table/interface").TableRowSelection<RowWithActions<EntityDict, T>> | undefined;
|
|
45
50
|
disableSerialNumber?: boolean | undefined;
|
|
46
51
|
size?: "small" | "middle" | "large" | undefined;
|
|
47
|
-
scroll?:
|
|
52
|
+
scroll?: ({
|
|
53
|
+
x?: string | number | true | undefined;
|
|
54
|
+
y?: string | number | undefined;
|
|
55
|
+
} & {
|
|
56
|
+
scrollToFirstRowOnChange?: boolean | undefined;
|
|
57
|
+
}) | undefined;
|
|
48
58
|
empty?: any;
|
|
49
59
|
opWidth?: number | undefined;
|
|
50
60
|
oakPath?: string | undefined;
|
|
51
61
|
}) => React.ReactElement;
|
|
52
62
|
declare const Detail: <T extends keyof EntityDict>(props: ReactComponentProps<EntityDict, T, false, {
|
|
53
|
-
column?: number | Record<Breakpoint, number> | undefined;
|
|
63
|
+
column?: number | Record<import("antd").Breakpoint, number> | undefined;
|
|
54
64
|
entity: T;
|
|
55
65
|
attributes: OakAbsAttrDef[];
|
|
56
66
|
data: Partial<EntityDict[T]["Schema"]>;
|
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
.card {
|
|
2
|
-
width: 100%;
|
|
3
|
-
|
|
4
|
-
.content {
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: stretch;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
.oper {
|
|
11
|
-
align-self: center;
|
|
12
|
-
width: 70%;
|
|
13
|
-
margin-bottom: 28px;
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
align-items: stretch;
|
|
17
|
-
|
|
18
|
-
.title {
|
|
19
|
-
margin-bottom: 28px;
|
|
20
|
-
align-self: flex-start;
|
|
21
|
-
color: var(--oak-color-primary3);
|
|
22
|
-
font-size: var(--oak-font-size-title-medium);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.grid {
|
|
29
|
-
min-width: 133px;
|
|
30
|
-
border-radius: 6px;
|
|
31
|
-
padding: 16px;
|
|
32
|
-
display: flex;
|
|
33
|
-
flex-direction: column;
|
|
34
|
-
margin: 13px;
|
|
35
|
-
|
|
36
|
-
.label {
|
|
37
|
-
font-size: 16px;
|
|
38
|
-
font-weight: 400;
|
|
39
|
-
color: var(--oak-color-primary);
|
|
40
|
-
margin-bottom: 12px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.value {
|
|
44
|
-
font-size: 24px;
|
|
45
|
-
font-weight: 600;
|
|
46
|
-
color: var(--oak-color-primary);
|
|
47
|
-
line-height: 33.6px;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.fortify {
|
|
52
|
-
background-color: var(--oak-color-primary-light);
|
|
53
|
-
|
|
54
|
-
.label {
|
|
55
|
-
font-weight: 900;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.value {
|
|
59
|
-
font-weight: bolder;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.uf {
|
|
64
|
-
margin: 12px;
|
|
65
|
-
display: flex;
|
|
66
|
-
flex-direction: column;
|
|
67
|
-
align-items: center;
|
|
68
|
-
padding: 12px;
|
|
1
|
+
.card {
|
|
2
|
+
width: 100%;
|
|
3
|
+
|
|
4
|
+
.content {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
align-items: stretch;
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
.oper {
|
|
11
|
+
align-self: center;
|
|
12
|
+
width: 70%;
|
|
13
|
+
margin-bottom: 28px;
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
align-items: stretch;
|
|
17
|
+
|
|
18
|
+
.title {
|
|
19
|
+
margin-bottom: 28px;
|
|
20
|
+
align-self: flex-start;
|
|
21
|
+
color: var(--oak-color-primary3);
|
|
22
|
+
font-size: var(--oak-font-size-title-medium);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.grid {
|
|
29
|
+
min-width: 133px;
|
|
30
|
+
border-radius: 6px;
|
|
31
|
+
padding: 16px;
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
margin: 13px;
|
|
35
|
+
|
|
36
|
+
.label {
|
|
37
|
+
font-size: 16px;
|
|
38
|
+
font-weight: 400;
|
|
39
|
+
color: var(--oak-color-primary);
|
|
40
|
+
margin-bottom: 12px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.value {
|
|
44
|
+
font-size: 24px;
|
|
45
|
+
font-weight: 600;
|
|
46
|
+
color: var(--oak-color-primary);
|
|
47
|
+
line-height: 33.6px;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.fortify {
|
|
52
|
+
background-color: var(--oak-color-primary-light);
|
|
53
|
+
|
|
54
|
+
.label {
|
|
55
|
+
font-weight: 900;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.value {
|
|
59
|
+
font-weight: bolder;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.uf {
|
|
64
|
+
margin: 12px;
|
|
65
|
+
display: flex;
|
|
66
|
+
flex-direction: column;
|
|
67
|
+
align-items: center;
|
|
68
|
+
padding: 12px;
|
|
69
69
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import Styles from './info.module.less';
|
|
2
2
|
export default function Info(props) {
|
|
3
3
|
const { price, t } = props;
|
|
4
|
-
return (<div className={Styles.info}>
|
|
5
|
-
<div className={Styles.should}>{t('price')}</div>
|
|
6
|
-
<div className={Styles.price}>
|
|
7
|
-
<div>{t('common::pay.symbol')}</div>
|
|
8
|
-
<div>{price}</div>
|
|
9
|
-
</div>
|
|
4
|
+
return (<div className={Styles.info}>
|
|
5
|
+
<div className={Styles.should}>{t('price')}</div>
|
|
6
|
+
<div className={Styles.price}>
|
|
7
|
+
<div>{t('common::pay.symbol')}</div>
|
|
8
|
+
<div>{price}</div>
|
|
9
|
+
</div>
|
|
10
10
|
</div>);
|
|
11
11
|
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
.info {
|
|
3
|
-
margin: 8px;
|
|
4
|
-
height: 140px;
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: center;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
background-color: var(--oak-color-info);
|
|
10
|
-
|
|
11
|
-
.should {
|
|
12
|
-
font-size: large;
|
|
13
|
-
font-weight: bold;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.price {
|
|
17
|
-
display: flex;
|
|
18
|
-
flex-direction: row;
|
|
19
|
-
padding: 3px;
|
|
20
|
-
font-size: xx-large;
|
|
21
|
-
font-weight: bolder;
|
|
22
|
-
color: var(--oak-color-primary);
|
|
23
|
-
align-items: baseline;
|
|
24
|
-
}
|
|
1
|
+
|
|
2
|
+
.info {
|
|
3
|
+
margin: 8px;
|
|
4
|
+
height: 140px;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
background-color: var(--oak-color-info);
|
|
10
|
+
|
|
11
|
+
.should {
|
|
12
|
+
font-size: large;
|
|
13
|
+
font-weight: bold;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.price {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: row;
|
|
19
|
+
padding: 3px;
|
|
20
|
+
font-size: xx-large;
|
|
21
|
+
font-weight: bolder;
|
|
22
|
+
color: var(--oak-color-primary);
|
|
23
|
+
align-items: baseline;
|
|
24
|
+
}
|
|
25
25
|
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 100%;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
align-items: stretch;
|
|
7
|
-
background-color: var(--oak-bg-color-page);
|
|
8
|
-
// min-height: 500px;
|
|
9
|
-
|
|
10
|
-
.ctrl {
|
|
11
|
-
margin: 8px;
|
|
12
|
-
margin-top: 10px;
|
|
13
|
-
flex: 1;
|
|
14
|
-
|
|
15
|
-
.pc1 {
|
|
16
|
-
width: 100%;
|
|
17
|
-
height: 100%;
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
margin-top: 4px;
|
|
21
|
-
|
|
22
|
-
.content {
|
|
23
|
-
background-color: var(--oak-bg-color-container);
|
|
24
|
-
padding: 4px;
|
|
25
|
-
border-radius: 2px;
|
|
26
|
-
padding: 16px;
|
|
27
|
-
|
|
28
|
-
.tips {
|
|
29
|
-
color: var(--oak-color-warning);
|
|
30
|
-
font-size: small;
|
|
31
|
-
margin-top: 3px;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
1
|
+
.container {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
align-items: stretch;
|
|
7
|
+
background-color: var(--oak-bg-color-page);
|
|
8
|
+
// min-height: 500px;
|
|
9
|
+
|
|
10
|
+
.ctrl {
|
|
11
|
+
margin: 8px;
|
|
12
|
+
margin-top: 10px;
|
|
13
|
+
flex: 1;
|
|
14
|
+
|
|
15
|
+
.pc1 {
|
|
16
|
+
width: 100%;
|
|
17
|
+
height: 100%;
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
margin-top: 4px;
|
|
21
|
+
|
|
22
|
+
.content {
|
|
23
|
+
background-color: var(--oak-bg-color-container);
|
|
24
|
+
padding: 4px;
|
|
25
|
+
border-radius: 2px;
|
|
26
|
+
padding: 16px;
|
|
27
|
+
|
|
28
|
+
.tips {
|
|
29
|
+
color: var(--oak-color-warning);
|
|
30
|
+
font-size: small;
|
|
31
|
+
margin-top: 3px;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
36
|
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 100%;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
align-items: stretch;
|
|
7
|
-
background-color: var(--oak-bg-color-page);
|
|
8
|
-
// min-height: 500px;
|
|
9
|
-
|
|
10
|
-
.ctrl {
|
|
11
|
-
margin: 8px;
|
|
12
|
-
margin-top: 10px;
|
|
13
|
-
flex: 1;
|
|
14
|
-
|
|
15
|
-
.pc1 {
|
|
16
|
-
width: 100%;
|
|
17
|
-
height: 100%;
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
margin-top: 4px;
|
|
21
|
-
|
|
22
|
-
.content {
|
|
23
|
-
background-color: var(--oak-bg-color-container);
|
|
24
|
-
padding: 4px;
|
|
25
|
-
border-radius: 2px;
|
|
26
|
-
padding: 16px;
|
|
27
|
-
|
|
28
|
-
.tips {
|
|
29
|
-
color: var(--oak-color-warning);
|
|
30
|
-
font-size: small;
|
|
31
|
-
margin-left: 10px;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
1
|
+
.container {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
align-items: stretch;
|
|
7
|
+
background-color: var(--oak-bg-color-page);
|
|
8
|
+
// min-height: 500px;
|
|
9
|
+
|
|
10
|
+
.ctrl {
|
|
11
|
+
margin: 8px;
|
|
12
|
+
margin-top: 10px;
|
|
13
|
+
flex: 1;
|
|
14
|
+
|
|
15
|
+
.pc1 {
|
|
16
|
+
width: 100%;
|
|
17
|
+
height: 100%;
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
margin-top: 4px;
|
|
21
|
+
|
|
22
|
+
.content {
|
|
23
|
+
background-color: var(--oak-bg-color-container);
|
|
24
|
+
padding: 4px;
|
|
25
|
+
border-radius: 2px;
|
|
26
|
+
padding: 16px;
|
|
27
|
+
|
|
28
|
+
.tips {
|
|
29
|
+
color: var(--oak-color-warning);
|
|
30
|
+
font-size: small;
|
|
31
|
+
margin-left: 10px;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
36
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: 100%;
|
|
1
|
+
.container {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
width: 100%;
|
|
5
5
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
.empty {
|
|
2
|
-
min-height: 600px;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.container {
|
|
6
|
-
width: 100%;
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
align-items: center;
|
|
10
|
-
justify-content: center;
|
|
1
|
+
.empty {
|
|
2
|
+
min-height: 600px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.container {
|
|
6
|
+
width: 100%;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: center;
|
|
11
11
|
}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
export declare const actionDefDict: {
|
|
2
|
+
log: {
|
|
3
|
+
iState: import("oak-domain/lib/types").ActionDef<string, string>;
|
|
4
|
+
};
|
|
2
5
|
modi: {
|
|
3
6
|
iState: import("oak-domain/lib/types").ActionDef<string, string>;
|
|
4
7
|
};
|
|
8
|
+
oper: {
|
|
9
|
+
iState: import("oak-domain/lib/types").ActionDef<string, string>;
|
|
10
|
+
};
|
|
5
11
|
captcha: {
|
|
6
12
|
iState: import("oak-domain/lib/types").ActionDef<string, string>;
|
|
7
13
|
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { actionDefDict as log } from "./Log/Action";
|
|
1
2
|
import { actionDefDict as modi } from "./Modi/Action";
|
|
3
|
+
import { actionDefDict as oper } from "./Oper/Action";
|
|
2
4
|
import { actionDefDict as captcha } from "./Captcha/Action";
|
|
3
5
|
import { actionDefDict as email } from "./Email/Action";
|
|
4
6
|
import { actionDefDict as loginName } from "./LoginName/Action";
|
|
@@ -27,7 +29,9 @@ import { actionDefDict as withdrawChannel } from "./WithdrawChannel/Action";
|
|
|
27
29
|
import { actionDefDict as withdrawTransfer } from "./WithdrawTransfer/Action";
|
|
28
30
|
import { actionDefDict as wpAccount } from "./WpAccount/Action";
|
|
29
31
|
export const actionDefDict = {
|
|
32
|
+
log,
|
|
30
33
|
modi,
|
|
34
|
+
oper,
|
|
31
35
|
captcha,
|
|
32
36
|
email,
|
|
33
37
|
loginName,
|
|
@@ -47,6 +47,11 @@ export type WebConfig = {
|
|
|
47
47
|
enable?: boolean;
|
|
48
48
|
};
|
|
49
49
|
passport?: Passport[];
|
|
50
|
+
location: {
|
|
51
|
+
protocol: "http:" | "https:";
|
|
52
|
+
hostname: string;
|
|
53
|
+
port: string;
|
|
54
|
+
};
|
|
50
55
|
};
|
|
51
56
|
export type WechatPublicTemplateMsgsConfig = Record<string, string>;
|
|
52
57
|
export type WechatPublicConfig = {
|
|
@@ -68,6 +73,11 @@ export type WechatPublicConfig = {
|
|
|
68
73
|
originalId: string;
|
|
69
74
|
};
|
|
70
75
|
passport?: Passport[];
|
|
76
|
+
location: {
|
|
77
|
+
protocol: "http:" | "https:";
|
|
78
|
+
hostname: string;
|
|
79
|
+
port: string;
|
|
80
|
+
};
|
|
71
81
|
};
|
|
72
82
|
export type NativeConfig = {
|
|
73
83
|
type: "native";
|
|
@@ -9,7 +9,7 @@ import * as Application from "../Application/Schema";
|
|
|
9
9
|
export type OpSchema = EntityShape & {
|
|
10
10
|
url: String<64>;
|
|
11
11
|
apiPath?: String<32> | null;
|
|
12
|
-
protocol: "http" | "https";
|
|
12
|
+
protocol: "http:" | "https:";
|
|
13
13
|
port: Int<2>;
|
|
14
14
|
systemId: ForeignKey<"system">;
|
|
15
15
|
};
|
|
@@ -17,7 +17,7 @@ export type OpAttr = keyof OpSchema;
|
|
|
17
17
|
export type Schema = EntityShape & {
|
|
18
18
|
url: String<64>;
|
|
19
19
|
apiPath?: String<32> | null;
|
|
20
|
-
protocol: "http" | "https";
|
|
20
|
+
protocol: "http:" | "https:";
|
|
21
21
|
port: Int<2>;
|
|
22
22
|
systemId: ForeignKey<"system">;
|
|
23
23
|
system: System.Schema;
|
|
@@ -33,7 +33,7 @@ type AttrFilter = {
|
|
|
33
33
|
$$updateAt$$: Q_DateValue;
|
|
34
34
|
url: Q_StringValue;
|
|
35
35
|
apiPath: Q_StringValue;
|
|
36
|
-
protocol: Q_EnumValue<"http" | "https">;
|
|
36
|
+
protocol: Q_EnumValue<"http:" | "https:">;
|
|
37
37
|
port: Q_NumberValue;
|
|
38
38
|
systemId: Q_StringValue;
|
|
39
39
|
system: System.Filter;
|