@ztocwst/rc-pro-materials 0.1.19 → 0.1.20
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +4 -4
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +8 -8
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +9 -9
- package/dist/SCM_Comps.css +1 -1
- package/dist/SCM_Comps.js +8 -8
- package/dist/SCM_Comps.js.map +1 -1
- package/es/style.js +1 -1
- package/es/utils/props/listTpl.d.ts +1 -0
- package/es/utils/props/tpl.d.ts +7 -4
- package/lib/utils/props/listTpl.d.ts +1 -0
- package/lib/utils/props/tpl.d.ts +7 -4
- package/package.json +3 -3
package/es/style.js
CHANGED
|
@@ -3,9 +3,9 @@ import 'antd/lib/progress/style';
|
|
|
3
3
|
import 'antd/lib/table/style';
|
|
4
4
|
import 'antd/lib/typography/style';
|
|
5
5
|
import 'antd/lib/config-provider/style';
|
|
6
|
+
import 'antd/es/config-provider/style';
|
|
6
7
|
import 'antd/es/statistic/style';
|
|
7
8
|
import 'antd/es/progress/style';
|
|
8
9
|
import 'antd/es/table/style';
|
|
9
10
|
import 'antd/es/typography/style';
|
|
10
|
-
import 'antd/es/config-provider/style';
|
|
11
11
|
import './index.scss';
|
|
@@ -9,6 +9,7 @@ export declare const processListTplProps: (props: RcListItem, extra?: {
|
|
|
9
9
|
type?: "list";
|
|
10
10
|
listRef: any;
|
|
11
11
|
onListBtnChange?: (type: "add" | "copy" | "edit" | "preview" | "back", record?: Record<string, unknown>, key?: string) => void | Promise<void>;
|
|
12
|
+
renderWithDefaultDom?: (dom: JSX.Element[], onChange?: (type: "add" | "copy" | "edit" | "preview" | "back", record?: Record<string, unknown>, key?: string) => void | Promise<void>) => JSX.Element;
|
|
12
13
|
render?: (onChange?: (type: "add" | "copy" | "edit" | "preview" | "back", record?: Record<string, unknown>, key?: string) => void | Promise<void>) => React.ReactNode;
|
|
13
14
|
key?: string;
|
|
14
15
|
name?: any;
|
package/es/utils/props/tpl.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export declare const processTplBillProps: (props: RcPageItem['bill'], extra?: {
|
|
|
22
22
|
key?: string;
|
|
23
23
|
width?: string | number;
|
|
24
24
|
name?: any;
|
|
25
|
-
layoutType?: "page" | "
|
|
25
|
+
layoutType?: "page" | "modal" | "drawer";
|
|
26
26
|
onCustomBack?: () => void;
|
|
27
27
|
onBackSuccess?: (data?: any) => void;
|
|
28
28
|
isValidatorCancelTouched?: boolean | import("antd").ModalFuncProps;
|
|
@@ -47,7 +47,7 @@ export declare const processTplBillProps: (props: RcPageItem['bill'], extra?: {
|
|
|
47
47
|
key?: string;
|
|
48
48
|
width?: string | number;
|
|
49
49
|
name?: any;
|
|
50
|
-
layoutType?: "page" | "
|
|
50
|
+
layoutType?: "page" | "modal" | "drawer";
|
|
51
51
|
onCustomBack?: () => void;
|
|
52
52
|
onBackSuccess?: (data?: any) => void;
|
|
53
53
|
isValidatorCancelTouched?: boolean | import("antd").ModalFuncProps;
|
|
@@ -87,7 +87,7 @@ export declare const processTplProps: (props: RcPageProps, extra?: {
|
|
|
87
87
|
key?: string;
|
|
88
88
|
width?: string | number;
|
|
89
89
|
name?: any;
|
|
90
|
-
layoutType?: "page" | "
|
|
90
|
+
layoutType?: "page" | "modal" | "drawer";
|
|
91
91
|
onCustomBack?: () => void;
|
|
92
92
|
onBackSuccess?: (data?: any) => void;
|
|
93
93
|
isValidatorCancelTouched?: boolean | import("antd").ModalFuncProps;
|
|
@@ -112,7 +112,7 @@ export declare const processTplProps: (props: RcPageProps, extra?: {
|
|
|
112
112
|
key?: string;
|
|
113
113
|
width?: string | number;
|
|
114
114
|
name?: any;
|
|
115
|
-
layoutType?: "page" | "
|
|
115
|
+
layoutType?: "page" | "modal" | "drawer";
|
|
116
116
|
onCustomBack?: () => void;
|
|
117
117
|
onBackSuccess?: (data?: any) => void;
|
|
118
118
|
isValidatorCancelTouched?: boolean | import("antd").ModalFuncProps;
|
|
@@ -128,6 +128,7 @@ export declare const processTplProps: (props: RcPageProps, extra?: {
|
|
|
128
128
|
type?: "list";
|
|
129
129
|
listRef: any;
|
|
130
130
|
onListBtnChange?: (type: "add" | "copy" | "edit" | "preview" | "back", record?: Record<string, unknown>, key?: string) => void | Promise<void>;
|
|
131
|
+
renderWithDefaultDom?: (dom: JSX.Element[], onChange?: (type: "add" | "copy" | "edit" | "preview" | "back", record?: Record<string, unknown>, key?: string) => void | Promise<void>) => JSX.Element;
|
|
131
132
|
render?: (onChange?: (type: "add" | "copy" | "edit" | "preview" | "back", record?: Record<string, unknown>, key?: string) => void | Promise<void>) => React.ReactNode;
|
|
132
133
|
key?: string;
|
|
133
134
|
name?: any;
|
|
@@ -146,6 +147,8 @@ export declare const processTplProps: (props: RcPageProps, extra?: {
|
|
|
146
147
|
};
|
|
147
148
|
};
|
|
148
149
|
};
|
|
150
|
+
key?: string;
|
|
151
|
+
tab?: React.ReactNode;
|
|
149
152
|
onBillSuccess?: (res: any) => void;
|
|
150
153
|
onBillError?: (res: any) => void;
|
|
151
154
|
onPageSuccess?: () => void;
|
|
@@ -9,6 +9,7 @@ export declare const processListTplProps: (props: RcListItem, extra?: {
|
|
|
9
9
|
type?: "list";
|
|
10
10
|
listRef: any;
|
|
11
11
|
onListBtnChange?: (type: "add" | "copy" | "edit" | "preview" | "back", record?: Record<string, unknown>, key?: string) => void | Promise<void>;
|
|
12
|
+
renderWithDefaultDom?: (dom: JSX.Element[], onChange?: (type: "add" | "copy" | "edit" | "preview" | "back", record?: Record<string, unknown>, key?: string) => void | Promise<void>) => JSX.Element;
|
|
12
13
|
render?: (onChange?: (type: "add" | "copy" | "edit" | "preview" | "back", record?: Record<string, unknown>, key?: string) => void | Promise<void>) => React.ReactNode;
|
|
13
14
|
key?: string;
|
|
14
15
|
name?: any;
|
package/lib/utils/props/tpl.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export declare const processTplBillProps: (props: RcPageItem['bill'], extra?: {
|
|
|
22
22
|
key?: string;
|
|
23
23
|
width?: string | number;
|
|
24
24
|
name?: any;
|
|
25
|
-
layoutType?: "page" | "
|
|
25
|
+
layoutType?: "page" | "modal" | "drawer";
|
|
26
26
|
onCustomBack?: () => void;
|
|
27
27
|
onBackSuccess?: (data?: any) => void;
|
|
28
28
|
isValidatorCancelTouched?: boolean | import("antd").ModalFuncProps;
|
|
@@ -47,7 +47,7 @@ export declare const processTplBillProps: (props: RcPageItem['bill'], extra?: {
|
|
|
47
47
|
key?: string;
|
|
48
48
|
width?: string | number;
|
|
49
49
|
name?: any;
|
|
50
|
-
layoutType?: "page" | "
|
|
50
|
+
layoutType?: "page" | "modal" | "drawer";
|
|
51
51
|
onCustomBack?: () => void;
|
|
52
52
|
onBackSuccess?: (data?: any) => void;
|
|
53
53
|
isValidatorCancelTouched?: boolean | import("antd").ModalFuncProps;
|
|
@@ -87,7 +87,7 @@ export declare const processTplProps: (props: RcPageProps, extra?: {
|
|
|
87
87
|
key?: string;
|
|
88
88
|
width?: string | number;
|
|
89
89
|
name?: any;
|
|
90
|
-
layoutType?: "page" | "
|
|
90
|
+
layoutType?: "page" | "modal" | "drawer";
|
|
91
91
|
onCustomBack?: () => void;
|
|
92
92
|
onBackSuccess?: (data?: any) => void;
|
|
93
93
|
isValidatorCancelTouched?: boolean | import("antd").ModalFuncProps;
|
|
@@ -112,7 +112,7 @@ export declare const processTplProps: (props: RcPageProps, extra?: {
|
|
|
112
112
|
key?: string;
|
|
113
113
|
width?: string | number;
|
|
114
114
|
name?: any;
|
|
115
|
-
layoutType?: "page" | "
|
|
115
|
+
layoutType?: "page" | "modal" | "drawer";
|
|
116
116
|
onCustomBack?: () => void;
|
|
117
117
|
onBackSuccess?: (data?: any) => void;
|
|
118
118
|
isValidatorCancelTouched?: boolean | import("antd").ModalFuncProps;
|
|
@@ -128,6 +128,7 @@ export declare const processTplProps: (props: RcPageProps, extra?: {
|
|
|
128
128
|
type?: "list";
|
|
129
129
|
listRef: any;
|
|
130
130
|
onListBtnChange?: (type: "add" | "copy" | "edit" | "preview" | "back", record?: Record<string, unknown>, key?: string) => void | Promise<void>;
|
|
131
|
+
renderWithDefaultDom?: (dom: JSX.Element[], onChange?: (type: "add" | "copy" | "edit" | "preview" | "back", record?: Record<string, unknown>, key?: string) => void | Promise<void>) => JSX.Element;
|
|
131
132
|
render?: (onChange?: (type: "add" | "copy" | "edit" | "preview" | "back", record?: Record<string, unknown>, key?: string) => void | Promise<void>) => React.ReactNode;
|
|
132
133
|
key?: string;
|
|
133
134
|
name?: any;
|
|
@@ -146,6 +147,8 @@ export declare const processTplProps: (props: RcPageProps, extra?: {
|
|
|
146
147
|
};
|
|
147
148
|
};
|
|
148
149
|
};
|
|
150
|
+
key?: string;
|
|
151
|
+
tab?: React.ReactNode;
|
|
149
152
|
onBillSuccess?: (res: any) => void;
|
|
150
153
|
onBillError?: (res: any) => void;
|
|
151
154
|
onPageSuccess?: () => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ztocwst/rc-pro-materials",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.20",
|
|
4
4
|
"description": "@ztocwst/rc-pro-materials",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
},
|
|
85
85
|
"componentConfig": {
|
|
86
86
|
"isComponentLibrary": true,
|
|
87
|
-
"materialSchema": "https://unpkg.com/@ztocwst/rc-pro-materials@0.1.
|
|
87
|
+
"materialSchema": "https://unpkg.com/@ztocwst/rc-pro-materials@0.1.20/build/lowcode/assets-prod.json"
|
|
88
88
|
},
|
|
89
|
-
"homepage": "https://unpkg.com/@ztocwst/rc-pro-materials@0.1.
|
|
89
|
+
"homepage": "https://unpkg.com/@ztocwst/rc-pro-materials@0.1.20/build/index.html",
|
|
90
90
|
"publishConfig": {
|
|
91
91
|
"registry": "https://registry.npmjs.org/",
|
|
92
92
|
"access": "public"
|