antd-form-document 0.1.0 → 0.1.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/.yarnignore +9 -9
- package/README.md +1133 -1133
- package/package.json +60 -60
- package/dist/applets/index.d.ts +0 -35
- package/dist/applets/index.d.ts.map +0 -1
- package/dist/components/Checkbox/index.d.ts +0 -10
- package/dist/components/Checkbox/index.d.ts.map +0 -1
- package/dist/components/DatePicker/index.d.ts +0 -7
- package/dist/components/DatePicker/index.d.ts.map +0 -1
- package/dist/components/Duration/index.d.ts +0 -8
- package/dist/components/Duration/index.d.ts.map +0 -1
- package/dist/components/Editor/index.d.ts +0 -7
- package/dist/components/Editor/index.d.ts.map +0 -1
- package/dist/components/InputNumber/index.d.ts +0 -7
- package/dist/components/InputNumber/index.d.ts.map +0 -1
- package/dist/components/Label/index.d.ts +0 -6
- package/dist/components/Label/index.d.ts.map +0 -1
- package/dist/components/Radio/index.d.ts +0 -10
- package/dist/components/Radio/index.d.ts.map +0 -1
- package/dist/components/Select/index.d.ts +0 -11
- package/dist/components/Select/index.d.ts.map +0 -1
- package/dist/components/Switch/index.d.ts +0 -7
- package/dist/components/Switch/index.d.ts.map +0 -1
- package/dist/components/Table/index.d.ts +0 -7
- package/dist/components/Table/index.d.ts.map +0 -1
- package/dist/components/Text/index.d.ts +0 -7
- package/dist/components/Text/index.d.ts.map +0 -1
- package/dist/components/TextArea/index.d.ts +0 -7
- package/dist/components/TextArea/index.d.ts.map +0 -1
- package/dist/components/TimePicker/index.d.ts +0 -7
- package/dist/components/TimePicker/index.d.ts.map +0 -1
- package/dist/components/Tooltip/index.d.ts +0 -6
- package/dist/components/Tooltip/index.d.ts.map +0 -1
- package/dist/components/Upload/index.d.ts +0 -6
- package/dist/components/Upload/index.d.ts.map +0 -1
- package/dist/components/index.d.ts +0 -16
- package/dist/components/index.d.ts.map +0 -1
- package/dist/config.d.ts +0 -20
- package/dist/config.d.ts.map +0 -1
- package/dist/containers/Col/index.d.ts +0 -4
- package/dist/containers/Col/index.d.ts.map +0 -1
- package/dist/containers/Collapse/index.d.ts +0 -4
- package/dist/containers/Collapse/index.d.ts.map +0 -1
- package/dist/containers/Content/index.d.ts +0 -4
- package/dist/containers/Content/index.d.ts.map +0 -1
- package/dist/containers/Divider/index.d.ts +0 -4
- package/dist/containers/Divider/index.d.ts.map +0 -1
- package/dist/containers/Row/index.d.ts +0 -4
- package/dist/containers/Row/index.d.ts.map +0 -1
- package/dist/containers/Steps/index.d.ts +0 -4
- package/dist/containers/Steps/index.d.ts.map +0 -1
- package/dist/containers/index.d.ts +0 -7
- package/dist/containers/index.d.ts.map +0 -1
- package/dist/context.d.ts +0 -3
- package/dist/context.d.ts.map +0 -1
- package/dist/entity/Meta.d.ts +0 -40
- package/dist/entity/Meta.d.ts.map +0 -1
- package/dist/form/index.d.ts +0 -95
- package/dist/form/index.d.ts.map +0 -1
- package/dist/index.d.ts +0 -5
- package/dist/index.d.ts.map +0 -1
- package/dist/index.tsx +0 -4
- package/dist/index.tsx.map +0 -1
- package/dist/preview/index.d.ts +0 -7
- package/dist/preview/index.d.ts.map +0 -1
- package/dist/service/ProComponent.d.ts +0 -13
- package/dist/service/ProComponent.d.ts.map +0 -1
- package/dist/service/UIComponent.d.ts +0 -102
- package/dist/service/UIComponent.d.ts.map +0 -1
- package/dist/service/UIListComponent.d.ts +0 -17
- package/dist/service/UIListComponent.d.ts.map +0 -1
- package/dist/service/WidgetComponent.d.ts +0 -4
- package/dist/service/WidgetComponent.d.ts.map +0 -1
- package/dist/service/index.d.ts +0 -5
- package/dist/service/index.d.ts.map +0 -1
- package/dist/utils/request.d.ts +0 -4
- package/dist/utils/request.d.ts.map +0 -1
- package/dist/utils/xml.d.ts +0 -7
- package/dist/utils/xml.d.ts.map +0 -1
- package/yarn-error.log +0 -3919
package/package.json
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "antd-form-document",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"main": "dist/index.tsx",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"description": "antd-form-document",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"build": "rollup -c",
|
|
9
|
-
"dev": "rollup -cw",
|
|
10
|
-
"ts": "tsc --init"
|
|
11
|
-
},
|
|
12
|
-
"devDependencies": {
|
|
13
|
-
"@babel/core": "^7.18.13",
|
|
14
|
-
"@babel/plugin-external-helpers": "^7.18.6",
|
|
15
|
-
"@babel/plugin-transform-runtime": "^7.18.10",
|
|
16
|
-
"@babel/preset-env": "^7.18.10",
|
|
17
|
-
"@babel/preset-react": "^7.18.6",
|
|
18
|
-
"@babel/preset-typescript": "^7.18.6",
|
|
19
|
-
"@rollup/plugin-babel": "^5.3.1",
|
|
20
|
-
"@rollup/plugin-commonjs": "^22.0.2",
|
|
21
|
-
"@rollup/plugin-eslint": "^8.0.2",
|
|
22
|
-
"@rollup/plugin-json": "^4.1.0",
|
|
23
|
-
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
24
|
-
"babel-plugin-import": "^1.13.5",
|
|
25
|
-
"core-js": "^3.25.0",
|
|
26
|
-
"postcss": "^8.4.16",
|
|
27
|
-
"rollup": "^2.78.1",
|
|
28
|
-
"rollup-plugin-clear": "^2.0.7",
|
|
29
|
-
"rollup-plugin-postcss": "^4.0.2",
|
|
30
|
-
"rollup-plugin-terser": "^7.0.2",
|
|
31
|
-
"rollup-plugin-typescript2": "^0.33.0",
|
|
32
|
-
"tslib": "^2.4.0",
|
|
33
|
-
"typescript": "^4.8.2"
|
|
34
|
-
},
|
|
35
|
-
"dependencies": {
|
|
36
|
-
"@ant-design/icons": "^4.7.0",
|
|
37
|
-
"@types/lodash": "^4.14.184",
|
|
38
|
-
"@types/react": "^18.0.17",
|
|
39
|
-
"@types/react-dom": "^18.0.6",
|
|
40
|
-
"antd": "^4.23.1",
|
|
41
|
-
"bytes": "^3.1.2",
|
|
42
|
-
"lodash": "^4.17.21",
|
|
43
|
-
"moment": "^2.29.4",
|
|
44
|
-
"number-format.js": "^2.0.9",
|
|
45
|
-
"path-to-regexp": "^6.2.1",
|
|
46
|
-
"react": "^18.2.0",
|
|
47
|
-
"react-dom": "^18.2.0",
|
|
48
|
-
"umi-request": "^1.4.0",
|
|
49
|
-
"wangeditor-for-react": "^1.5.6"
|
|
50
|
-
},
|
|
51
|
-
"keywords": [
|
|
52
|
-
"react",
|
|
53
|
-
"antd",
|
|
54
|
-
"form",
|
|
55
|
-
"design",
|
|
56
|
-
"template",
|
|
57
|
-
"document",
|
|
58
|
-
"xml"
|
|
59
|
-
]
|
|
60
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "antd-form-document",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"main": "dist/index.tsx",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"description": "antd-form-document",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "rollup -c",
|
|
9
|
+
"dev": "rollup -cw",
|
|
10
|
+
"ts": "tsc --init"
|
|
11
|
+
},
|
|
12
|
+
"devDependencies": {
|
|
13
|
+
"@babel/core": "^7.18.13",
|
|
14
|
+
"@babel/plugin-external-helpers": "^7.18.6",
|
|
15
|
+
"@babel/plugin-transform-runtime": "^7.18.10",
|
|
16
|
+
"@babel/preset-env": "^7.18.10",
|
|
17
|
+
"@babel/preset-react": "^7.18.6",
|
|
18
|
+
"@babel/preset-typescript": "^7.18.6",
|
|
19
|
+
"@rollup/plugin-babel": "^5.3.1",
|
|
20
|
+
"@rollup/plugin-commonjs": "^22.0.2",
|
|
21
|
+
"@rollup/plugin-eslint": "^8.0.2",
|
|
22
|
+
"@rollup/plugin-json": "^4.1.0",
|
|
23
|
+
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
24
|
+
"babel-plugin-import": "^1.13.5",
|
|
25
|
+
"core-js": "^3.25.0",
|
|
26
|
+
"postcss": "^8.4.16",
|
|
27
|
+
"rollup": "^2.78.1",
|
|
28
|
+
"rollup-plugin-clear": "^2.0.7",
|
|
29
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
30
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
31
|
+
"rollup-plugin-typescript2": "^0.33.0",
|
|
32
|
+
"tslib": "^2.4.0",
|
|
33
|
+
"typescript": "^4.8.2"
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@ant-design/icons": "^4.7.0",
|
|
37
|
+
"@types/lodash": "^4.14.184",
|
|
38
|
+
"@types/react": "^18.0.17",
|
|
39
|
+
"@types/react-dom": "^18.0.6",
|
|
40
|
+
"antd": "^4.23.1",
|
|
41
|
+
"bytes": "^3.1.2",
|
|
42
|
+
"lodash": "^4.17.21",
|
|
43
|
+
"moment": "^2.29.4",
|
|
44
|
+
"number-format.js": "^2.0.9",
|
|
45
|
+
"path-to-regexp": "^6.2.1",
|
|
46
|
+
"react": "^18.2.0",
|
|
47
|
+
"react-dom": "^18.2.0",
|
|
48
|
+
"umi-request": "^1.4.0",
|
|
49
|
+
"wangeditor-for-react": "^1.5.6"
|
|
50
|
+
},
|
|
51
|
+
"keywords": [
|
|
52
|
+
"react",
|
|
53
|
+
"antd",
|
|
54
|
+
"form",
|
|
55
|
+
"design",
|
|
56
|
+
"template",
|
|
57
|
+
"document",
|
|
58
|
+
"xml"
|
|
59
|
+
]
|
|
60
|
+
}
|
package/dist/applets/index.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* validate 验证
|
|
3
|
-
*
|
|
4
|
-
* @param param0
|
|
5
|
-
* @returns
|
|
6
|
-
*/
|
|
7
|
-
export declare const validate: ({ type, required, minlength, maxlength, min, max, pattern, message }: any) => Design.Rule;
|
|
8
|
-
/**
|
|
9
|
-
* condition 条件
|
|
10
|
-
*
|
|
11
|
-
* @param param0
|
|
12
|
-
* @returns
|
|
13
|
-
*/
|
|
14
|
-
export declare const condition: (fields: object | undefined, preview: boolean) => ({ test }: {
|
|
15
|
-
test: string;
|
|
16
|
-
}) => boolean;
|
|
17
|
-
/**
|
|
18
|
-
* collection 集合
|
|
19
|
-
*
|
|
20
|
-
* @param param0
|
|
21
|
-
* @returns
|
|
22
|
-
*/
|
|
23
|
-
export declare const collection: (fields: object | undefined, { cdata }: {
|
|
24
|
-
cdata: string;
|
|
25
|
-
}) => Array<string>;
|
|
26
|
-
/**
|
|
27
|
-
* compute 计算
|
|
28
|
-
*
|
|
29
|
-
* @param param0
|
|
30
|
-
* @returns
|
|
31
|
-
*/
|
|
32
|
-
export declare const compute: (fields: object | undefined, { cdata }: {
|
|
33
|
-
cdata: string;
|
|
34
|
-
}) => Array<string> | string | undefined;
|
|
35
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/applets/index.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,yEAAqF,GAAG,KAAG,OAAO,IAiBtH,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,SAAS,WAAY,MAAM,GAAG,SAAS,WAAW,OAAO;UAAwB,MAAM;MAAK,OAaxG,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,UAAU,WAAY,MAAM,GAAG,SAAS;WAAsB,MAAM;MAAK,MAAM,MAAM,CAajG,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,OAAO,WAAY,MAAM,GAAG,SAAS;WAAsB,MAAM;MAAK,MAAM,MAAM,CAAC,GAAG,MAAM,GAAG,SAa3G,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { UIListComponent } from '@/service';
|
|
3
|
-
export default class CheckBox extends UIListComponent<Design.RemoteProps, Design.ListState> {
|
|
4
|
-
state: {
|
|
5
|
-
list: never[];
|
|
6
|
-
};
|
|
7
|
-
componentDidMount(): void;
|
|
8
|
-
render(): React.ReactNode;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,eAAe,EAAmB,MAAM,WAAW,CAAC;AAE7D,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,eAAe,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,SAAS,CAAC;IACzF,KAAK;;MAEJ;IAED,iBAAiB,IAAI,IAAI;IAczB,MAAM,IAAI,KAAK,CAAC,SAAS;CAiC1B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,WAAW,EAAmB,MAAM,WAAW,CAAC;AAEzD,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,WAAW,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IAEtE,iBAAiB,IAAI,IAAI;IAIzB,MAAM,IAAI,KAAK,CAAC,SAAS;CAwB1B"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { UIComponent } from '@/service';
|
|
3
|
-
import './index.css';
|
|
4
|
-
export default class Duration extends UIComponent<Design.ComponentProps> {
|
|
5
|
-
componentDidMount(): void;
|
|
6
|
-
render(): React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Duration/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,WAAW,EAAmB,MAAM,WAAW,CAAC;AACzD,OAAO,aAAa,CAAC;AAErB,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,WAAW,CAAC,MAAM,CAAC,cAAc,CAAC;IAEtE,iBAAiB,IAAI,IAAI;IAIzB,MAAM,IAAI,KAAK,CAAC,SAAS;CAwB1B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Editor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,WAAW,CAAC,MAAM,CAAC,cAAc,CAAC;IAEpE,iBAAiB,IAAI,IAAI;IAIzB,MAAM,IAAI,KAAK,CAAC,SAAS;CAyB1B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/InputNumber/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAGxC,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,WAAW,CAAC,MAAM,CAAC,WAAW,CAAC;IAEtE,iBAAiB,IAAI,IAAI;IAIzB,MAAM,IAAI,KAAK,CAAC,SAAS;CAgD1B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Label/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,WAAW,CAAC,MAAM,CAAC,cAAc,CAAC;IAEnE,MAAM,IAAI,KAAK,CAAC,SAAS;CAmB1B"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { UIListComponent } from '@/service';
|
|
3
|
-
export default class RadioButton extends UIListComponent<Design.Radio.Props, Design.ListState> {
|
|
4
|
-
state: {
|
|
5
|
-
list: never[];
|
|
6
|
-
};
|
|
7
|
-
componentDidMount(): void;
|
|
8
|
-
render(): React.ReactNode;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Radio/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,eAAe,EAAmB,MAAM,WAAW,CAAC;AAE7D,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,eAAe,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,SAAS,CAAC;IAC5F,KAAK;;MAEJ;IAED,iBAAiB,IAAI,IAAI;IAczB,MAAM,IAAI,KAAK,CAAC,SAAS;CAiC1B"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { UIListComponent } from '@/service';
|
|
3
|
-
export default class SelectList extends UIListComponent<Design.RemoteProps, Design.ListState> {
|
|
4
|
-
state: {
|
|
5
|
-
list: never[];
|
|
6
|
-
};
|
|
7
|
-
componentDidMount(): void;
|
|
8
|
-
initValue(): void;
|
|
9
|
-
render(): React.ReactNode;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Select/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAmB,MAAM,WAAW,CAAC;AAG7D,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,eAAe,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,SAAS,CAAC;IAC3F,KAAK;;MAEJ;IAED,iBAAiB,IAAI,IAAI;IAczB,SAAS;IAWT,MAAM,IAAI,KAAK,CAAC,SAAS;CAsC1B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,WAAW,CAAC,MAAM,CAAC,cAAc,CAAC;IAE1E,iBAAiB,IAAI,IAAI;IAIzB,MAAM,IAAI,KAAK,CAAC,SAAS;CAyB1B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Table/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,eAAe,EAAmB,MAAM,WAAW,CAAC;AAG7D,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,eAAe,CAAC,MAAM,CAAC,cAAc,CAAC;IAE3E,UAAU;IAWV,MAAM,IAAI,KAAK,CAAC,SAAS;CAwB1B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Text/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAGxC,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,WAAW,CAAC,MAAM,CAAC,cAAc,CAAC;IAElE,iBAAiB,IAAI,IAAI;IAIzB,MAAM,IAAI,KAAK,CAAC,SAAS;CAwB1B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAGxC,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,WAAW,CAAC,MAAM,CAAC,cAAc,CAAC;IAEtE,iBAAiB,IAAI,IAAI;IAIzB,MAAM,IAAI,KAAK,CAAC,SAAS;CAwB1B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TimePicker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,WAAW,EAAmB,MAAM,WAAW,CAAC;AAGzD,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,WAAW,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IAEtE,iBAAiB,IAAI,IAAI;IAIzB,MAAM,IAAI,KAAK,CAAC,SAAS;CAwB1B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,WAAW,CAAC,MAAM,CAAC,cAAc,CAAC;IAErE,MAAM,IAAI,KAAK,CAAC,SAAS;CAc1B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Upload/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,eAAe,EAAmB,MAAM,WAAW,CAAC;AAa7D,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,eAAe,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC;IAExE,MAAM,IAAI,KAAK,CAAC,SAAS;CAyB1B"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export { default as Label } from "./Label";
|
|
2
|
-
export { default as Tooltip } from "./Tooltip";
|
|
3
|
-
export { default as Text } from "./Text";
|
|
4
|
-
export { default as TextArea } from "./TextArea";
|
|
5
|
-
export { default as Number } from "./InputNumber";
|
|
6
|
-
export { default as Editor } from "./Editor";
|
|
7
|
-
export { default as Select } from "./Select";
|
|
8
|
-
export { default as Checkbox } from "./Checkbox";
|
|
9
|
-
export { default as Radio } from "./Radio";
|
|
10
|
-
export { default as Switch } from "./Switch";
|
|
11
|
-
export { default as Duration } from "./Duration";
|
|
12
|
-
export { default as DatePicker } from "./DatePicker";
|
|
13
|
-
export { default as TimePicker } from "./TimePicker";
|
|
14
|
-
export { default as Upload } from "./Upload";
|
|
15
|
-
export { default as Table } from "./Table";
|
|
16
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC"}
|
package/dist/config.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare class DesignConfig {
|
|
2
|
-
readonly request: {
|
|
3
|
-
prefix: string;
|
|
4
|
-
headers: {};
|
|
5
|
-
params: {};
|
|
6
|
-
};
|
|
7
|
-
readonly file: {
|
|
8
|
-
listUrl: string;
|
|
9
|
-
downloadUrl: string;
|
|
10
|
-
uploadUrl: string;
|
|
11
|
-
extraData?: {};
|
|
12
|
-
};
|
|
13
|
-
readonly components?: any;
|
|
14
|
-
private constructor();
|
|
15
|
-
static init(conf?: Design.Config): DesignConfig;
|
|
16
|
-
}
|
|
17
|
-
declare let config: DesignConfig;
|
|
18
|
-
declare const defineConfig: (conf: Design.Config) => void;
|
|
19
|
-
export { defineConfig, config };
|
|
20
|
-
//# sourceMappingURL=config.d.ts.map
|
package/dist/config.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,cAAM,YAAY;IAChB,QAAQ,CAAC,OAAO,EAAE;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,EAAE,CAAC;QACZ,MAAM,EAAE,EAAE,CAAC;KACZ,CAIA;IACD,QAAQ,CAAC,IAAI,EAAE;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,CAAC,EAAE,EAAE,CAAA;KACf,CAKA;IAED,QAAQ,CAAC,UAAU,CAAC,EAAE,GAAG,CAAA;IAEzB,OAAO;IASP,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM;CAGjC;AAED,QAAA,IAAI,MAAM,EAAE,YAAkC,CAAC;AAC/C,QAAA,MAAM,YAAY,SAAU,OAAO,MAAM,SAExC,CAAA;AAED,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/containers/Col/index.tsx"],"names":[],"mappings":";6CAGoC,GAAG;AAAvC,wBAMC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/containers/Collapse/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkC,MAAM,OAAO,CAAC;4GAY8B,GAAG;AAAxF,wBAiCG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/containers/Content/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;qGAM0B,GAAG;AAA1E,wBAqBG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/containers/Divider/index.tsx"],"names":[],"mappings":";4DAGsE,GAAG;AAAzE,wBAIC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/containers/Row/index.tsx"],"names":[],"mappings":";+CAGsC,GAAG;AAAzC,wBAMC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/containers/Steps/index.tsx"],"names":[],"mappings":";2EAKkE,GAAG;AAArE,wBAcC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { default as Row } from "./Row";
|
|
2
|
-
export { default as Col } from "./Col";
|
|
3
|
-
export { default as Steps } from "./Steps";
|
|
4
|
-
export { default as Content } from "./Content";
|
|
5
|
-
export { default as Divider } from "./Divider";
|
|
6
|
-
export { default as Collapse } from "./Collapse";
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/containers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC"}
|
package/dist/context.d.ts
DELETED
package/dist/context.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,aAAa,+BAA0C,CAAC"}
|
package/dist/entity/Meta.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export default class Meta {
|
|
2
|
-
readonly id: string;
|
|
3
|
-
readonly tag: string;
|
|
4
|
-
readonly text?: string;
|
|
5
|
-
readonly attributes: {
|
|
6
|
-
[name: string]: string | boolean;
|
|
7
|
-
};
|
|
8
|
-
readonly cdata?: string;
|
|
9
|
-
readonly children?: Meta[];
|
|
10
|
-
constructor(element: Element);
|
|
11
|
-
/**
|
|
12
|
-
* 判断是否为boolean型
|
|
13
|
-
*
|
|
14
|
-
* @param value
|
|
15
|
-
* @returns
|
|
16
|
-
*/
|
|
17
|
-
private isBoolean;
|
|
18
|
-
/**
|
|
19
|
-
* 转换boolean型
|
|
20
|
-
*
|
|
21
|
-
* @param value
|
|
22
|
-
* @returns
|
|
23
|
-
*/
|
|
24
|
-
private toBoolean;
|
|
25
|
-
/**
|
|
26
|
-
* 判断是否为number型
|
|
27
|
-
*
|
|
28
|
-
* @param value
|
|
29
|
-
* @returns
|
|
30
|
-
*/
|
|
31
|
-
private isNumber;
|
|
32
|
-
/**
|
|
33
|
-
* 转换number型
|
|
34
|
-
*
|
|
35
|
-
* @param value
|
|
36
|
-
* @returns
|
|
37
|
-
*/
|
|
38
|
-
private toNumber;
|
|
39
|
-
}
|
|
40
|
-
//# sourceMappingURL=Meta.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Meta.d.ts","sourceRoot":"","sources":["../../src/entity/Meta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,OAAO,IAAI;IACvB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,UAAU,EAAE;QAAE,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;KAAE,CAAM;IAC/D,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,CAAC;gBAEf,OAAO,EAAE,OAAO;IA8B5B;;;;;OAKG;IACH,OAAO,CAAC,SAAS;IAIjB;;;;;OAKG;IACH,OAAO,CAAC,SAAS;IAIjB;;;;;OAKG;IACH,OAAO,CAAC,QAAQ;IAIhB;;;;;OAKG;IACH,OAAO,CAAC,QAAQ;CAGjB"}
|
package/dist/form/index.d.ts
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import React, { PureComponent, ReactNode } from "react";
|
|
2
|
-
import { FormInstance } from "antd";
|
|
3
|
-
import Meta from "@/entity/Meta";
|
|
4
|
-
export default class FormDesign extends PureComponent<Design.HomeProps, Design.HomeState> {
|
|
5
|
-
state: {
|
|
6
|
-
stepIndex: number;
|
|
7
|
-
};
|
|
8
|
-
form: React.RefObject<FormInstance>;
|
|
9
|
-
root: Meta;
|
|
10
|
-
preview: boolean;
|
|
11
|
-
layouts?: {};
|
|
12
|
-
styles: {};
|
|
13
|
-
showTitle: boolean;
|
|
14
|
-
customComponents?: {
|
|
15
|
-
[name: string]: {};
|
|
16
|
-
};
|
|
17
|
-
constructor(props: Design.HomeProps);
|
|
18
|
-
onValuesChange: (changedValues: any) => void;
|
|
19
|
-
onStepIndex: (stepIndex: number) => void;
|
|
20
|
-
setComponentStatus(attributes: {
|
|
21
|
-
[name: string]: string | boolean;
|
|
22
|
-
}): void;
|
|
23
|
-
component(meta: Meta, Component: any): JSX.Element;
|
|
24
|
-
container({ id, tag, attributes, text, children }: Meta): JSX.Element | undefined;
|
|
25
|
-
applet({ tag, attributes, cdata, children }: Meta): {
|
|
26
|
-
tag: string;
|
|
27
|
-
children: ({
|
|
28
|
-
[name: string]: string | boolean;
|
|
29
|
-
} | {
|
|
30
|
-
rules: any;
|
|
31
|
-
})[] | undefined;
|
|
32
|
-
type?: undefined;
|
|
33
|
-
action?: undefined;
|
|
34
|
-
cdata?: undefined;
|
|
35
|
-
} | {
|
|
36
|
-
tag: string;
|
|
37
|
-
children: {
|
|
38
|
-
key: string | boolean;
|
|
39
|
-
label: string | undefined;
|
|
40
|
-
}[] | undefined;
|
|
41
|
-
type?: undefined;
|
|
42
|
-
action?: undefined;
|
|
43
|
-
cdata?: undefined;
|
|
44
|
-
} | {
|
|
45
|
-
tag: string;
|
|
46
|
-
type: string | boolean;
|
|
47
|
-
action: string | boolean;
|
|
48
|
-
children: {
|
|
49
|
-
[name: string]: string | boolean;
|
|
50
|
-
}[] | undefined;
|
|
51
|
-
cdata?: undefined;
|
|
52
|
-
} | {
|
|
53
|
-
tag: string;
|
|
54
|
-
cdata: string | undefined;
|
|
55
|
-
children?: undefined;
|
|
56
|
-
type?: undefined;
|
|
57
|
-
action?: undefined;
|
|
58
|
-
} | undefined;
|
|
59
|
-
children: (meta: Meta) => JSX.Element | {
|
|
60
|
-
tag: string;
|
|
61
|
-
children: ({
|
|
62
|
-
[name: string]: string | boolean;
|
|
63
|
-
} | {
|
|
64
|
-
rules: any;
|
|
65
|
-
})[] | undefined;
|
|
66
|
-
type?: undefined;
|
|
67
|
-
action?: undefined;
|
|
68
|
-
cdata?: undefined;
|
|
69
|
-
} | {
|
|
70
|
-
tag: string;
|
|
71
|
-
children: {
|
|
72
|
-
key: string | boolean;
|
|
73
|
-
label: string | undefined;
|
|
74
|
-
}[] | undefined;
|
|
75
|
-
type?: undefined;
|
|
76
|
-
action?: undefined;
|
|
77
|
-
cdata?: undefined;
|
|
78
|
-
} | {
|
|
79
|
-
tag: string;
|
|
80
|
-
type: string | boolean;
|
|
81
|
-
action: string | boolean;
|
|
82
|
-
children: {
|
|
83
|
-
[name: string]: string | boolean;
|
|
84
|
-
}[] | undefined;
|
|
85
|
-
cdata?: undefined;
|
|
86
|
-
} | {
|
|
87
|
-
tag: string;
|
|
88
|
-
cdata: string | undefined;
|
|
89
|
-
children?: undefined;
|
|
90
|
-
type?: undefined;
|
|
91
|
-
action?: undefined;
|
|
92
|
-
} | undefined;
|
|
93
|
-
render(): ReactNode;
|
|
94
|
-
}
|
|
95
|
-
//# sourceMappingURL=index.d.ts.map
|