ydb-components-material 0.1.13 → 0.1.14
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/README.md +1 -1
- package/build/docs/404.html +3 -3
- package/build/docs/_demos/:uuid +3 -3
- package/build/docs/colorful-button.html +3 -3
- package/build/docs/colorful-input.html +3 -3
- package/build/docs/index.html +3 -3
- package/build/docs/static/collapse.6846edeb.svg +1 -0
- package/build/docs/static/del.3dbff570.svg +1 -0
- package/build/docs/static/download.add8e78c.svg +1 -0
- package/build/docs/static/message.3ff291f6.svg +1 -0
- package/build/docs/static/notPassed.1248f2a8.svg +1 -0
- package/build/docs/static/passed.a85b27f9.svg +1 -0
- package/build/docs/static/preview.e438c0c2.svg +1 -0
- package/build/docs/static/prompt.3ff291f6.svg +1 -0
- package/build/docs/static/view.0d229bef.svg +1 -0
- package/build/docs/static/view.db6c145c.svg +1 -0
- package/build/docs/static/warning.e9ee6293.svg +1 -0
- package/build/docs/{umi.e1bd8919.css → umi.0a86c29b.css} +1 -1
- package/build/docs/umi.5b93b1de.js +1 -0
- package/build/docs/~demos/:uuid.html +3 -3
- package/build/docs/~demos/colorful-button-demo.html +3 -3
- package/build/docs/~demos/colorful-input-demo.html +3 -3
- package/build/index.js +1 -1
- package/build/lowcode/assets/adaa3152d1d4d4754b5274c3cf6a4d13.svg +1 -0
- package/build/lowcode/assets/d8542aa6516d43216a97df3eee67590e.svg +1 -0
- package/build/lowcode/assets/ff1e29e495eeab3ae7c8c2374b202000.svg +1 -0
- 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 +9 -9
- package/build/lowcode/render/default/assets/adaa3152d1d4d4754b5274c3cf6a4d13.svg +1 -0
- package/build/lowcode/render/default/assets/d8542aa6516d43216a97df3eee67590e.svg +1 -0
- package/build/lowcode/render/default/assets/ff1e29e495eeab3ae7c8c2374b202000.svg +1 -0
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +1 -1
- package/dist/BizComps.css +1 -1
- package/dist/BizComps.js +1 -1
- package/dist/BizComps.js.map +1 -1
- package/dist/assets/adaa3152d1d4d4754b5274c3cf6a4d13.svg +1 -0
- package/dist/assets/d8542aa6516d43216a97df3eee67590e.svg +1 -0
- package/dist/assets/ff1e29e495eeab3ae7c8c2374b202000.svg +1 -0
- package/es/components/check-detail-pc/icons/collapse.svg +1 -0
- package/es/components/check-detail-pc/icons/view.svg +1 -0
- package/es/components/check-detail-pc/index.d.ts +13 -0
- package/es/components/check-detail-pc/index.js +134 -0
- package/es/components/check-detail-pc/index.scss +52 -0
- package/es/components/check-res/index.scss +2 -0
- package/es/components/file-pc/icons/close.svg +1 -0
- package/es/components/file-pc/icons/del.svg +1 -0
- package/es/components/file-pc/icons/download.svg +1 -0
- package/es/components/file-pc/icons/file.svg +1 -0
- package/es/components/file-pc/icons/message.svg +1 -0
- package/es/components/file-pc/icons/preview.svg +1 -0
- package/es/components/file-pc/icons/prompt.svg +1 -0
- package/es/components/file-pc/icons/view.svg +1 -0
- package/es/components/file-pc/index.d.ts +21 -0
- package/es/components/file-pc/index.js +167 -0
- package/es/components/file-pc/index.scss +198 -0
- package/es/components/form/index.d.ts +9 -0
- package/es/components/form/index.js +15 -0
- package/es/components/icon-custom/index.d.ts +11 -0
- package/es/components/icon-custom/index.js +21 -0
- package/es/components/message-pc/icons/fail.svg +1 -0
- package/es/components/message-pc/icons/smallIcon.svg +1 -0
- package/es/components/message-pc/icons/warning.svg +1 -0
- package/es/components/message-pc/index.d.ts +16 -0
- package/es/components/message-pc/index.js +63 -0
- package/es/components/message-pc/index.scss +0 -0
- package/es/components/pre-check-res-pc/icons/file.svg +1 -0
- package/es/components/pre-check-res-pc/icons/notPassed.svg +1 -0
- package/es/components/pre-check-res-pc/icons/passed.svg +1 -0
- package/es/components/pre-check-res-pc/icons/view.svg +1 -0
- package/es/components/pre-check-res-pc/icons/warning.svg +1 -0
- package/es/components/pre-check-res-pc/index.d.ts +22 -0
- package/es/components/pre-check-res-pc/index.js +40 -0
- package/es/components/pre-check-res-pc/index.scss +43 -0
- package/es/index.d.ts +10 -0
- package/es/index.js +5 -0
- package/lib/components/check-detail-pc/icons/collapse.svg +1 -0
- package/lib/components/check-detail-pc/icons/view.svg +1 -0
- package/lib/components/check-detail-pc/index.d.ts +13 -0
- package/lib/components/check-detail-pc/index.js +140 -0
- package/lib/components/check-detail-pc/index.scss +52 -0
- package/lib/components/check-res/index.scss +2 -0
- package/lib/components/file-pc/icons/close.svg +1 -0
- package/lib/components/file-pc/icons/del.svg +1 -0
- package/lib/components/file-pc/icons/download.svg +1 -0
- package/lib/components/file-pc/icons/file.svg +1 -0
- package/lib/components/file-pc/icons/message.svg +1 -0
- package/lib/components/file-pc/icons/preview.svg +1 -0
- package/lib/components/file-pc/icons/prompt.svg +1 -0
- package/lib/components/file-pc/icons/view.svg +1 -0
- package/lib/components/file-pc/index.d.ts +21 -0
- package/lib/components/file-pc/index.js +173 -0
- package/lib/components/file-pc/index.scss +198 -0
- package/lib/components/form/index.d.ts +9 -0
- package/lib/components/form/index.js +20 -0
- package/lib/components/icon-custom/index.d.ts +11 -0
- package/lib/components/icon-custom/index.js +25 -0
- package/lib/components/message-pc/icons/fail.svg +1 -0
- package/lib/components/message-pc/icons/smallIcon.svg +1 -0
- package/lib/components/message-pc/icons/warning.svg +1 -0
- package/lib/components/message-pc/index.d.ts +16 -0
- package/lib/components/message-pc/index.js +69 -0
- package/lib/components/message-pc/index.scss +0 -0
- package/lib/components/pre-check-res-pc/icons/file.svg +1 -0
- package/lib/components/pre-check-res-pc/icons/notPassed.svg +1 -0
- package/lib/components/pre-check-res-pc/icons/passed.svg +1 -0
- package/lib/components/pre-check-res-pc/icons/view.svg +1 -0
- package/lib/components/pre-check-res-pc/icons/warning.svg +1 -0
- package/lib/components/pre-check-res-pc/index.d.ts +22 -0
- package/lib/components/pre-check-res-pc/index.js +46 -0
- package/lib/components/pre-check-res-pc/index.scss +43 -0
- package/lib/index.d.ts +10 -0
- package/lib/index.js +11 -1
- package/lowcode/_setter/IconSelectSetter.tsx +52 -0
- package/lowcode/check-detail-pc/meta.ts +117 -0
- package/lowcode/file-p-c/meta.ts +229 -0
- package/lowcode/form/meta.ts +58 -0
- package/lowcode/icon-custom/meta.ts +96 -0
- package/lowcode/pre-check-res-p-c/meta.ts +121 -0
- package/lowcode_es/_setter/IconSelectSetter.d.ts +11 -0
- package/lowcode_es/_setter/IconSelectSetter.js +48 -0
- package/lowcode_es/check-detail-pc/meta.d.ts +22 -0
- package/lowcode_es/check-detail-pc/meta.js +99 -0
- package/lowcode_es/file-p-c/meta.d.ts +22 -0
- package/lowcode_es/file-p-c/meta.js +210 -0
- package/lowcode_es/form/meta.d.ts +22 -0
- package/lowcode_es/form/meta.js +50 -0
- package/lowcode_es/icon-custom/meta.d.ts +22 -0
- package/lowcode_es/icon-custom/meta.js +86 -0
- package/lowcode_es/meta.js +7 -2
- package/lowcode_es/pre-check-res-p-c/meta.d.ts +22 -0
- package/lowcode_es/pre-check-res-p-c/meta.js +103 -0
- package/lowcode_lib/_setter/IconSelectSetter.d.ts +11 -0
- package/lowcode_lib/_setter/IconSelectSetter.js +52 -0
- package/lowcode_lib/check-detail-pc/meta.d.ts +22 -0
- package/lowcode_lib/check-detail-pc/meta.js +104 -0
- package/lowcode_lib/file-p-c/meta.d.ts +22 -0
- package/lowcode_lib/file-p-c/meta.js +215 -0
- package/lowcode_lib/form/meta.d.ts +22 -0
- package/lowcode_lib/form/meta.js +55 -0
- package/lowcode_lib/icon-custom/meta.d.ts +22 -0
- package/lowcode_lib/icon-custom/meta.js +91 -0
- package/lowcode_lib/meta.js +18 -13
- package/lowcode_lib/pre-check-res-p-c/meta.d.ts +22 -0
- package/lowcode_lib/pre-check-res-p-c/meta.js +108 -0
- package/package.json +3 -3
- package/build/docs/umi.0ce4dded.js +0 -1
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import IconTypeSetter from "../_setter/IconSelectSetter.tsx";
|
|
3
|
+
var IconCustomMeta = {
|
|
4
|
+
"componentName": "IconCustom",
|
|
5
|
+
"title": "IconCustom",
|
|
6
|
+
"docUrl": "",
|
|
7
|
+
"screenshot": "",
|
|
8
|
+
"devMode": "proCode",
|
|
9
|
+
"npm": {
|
|
10
|
+
"package": "ydb-components-material",
|
|
11
|
+
"version": "0.1.13",
|
|
12
|
+
"exportName": "IconCustom",
|
|
13
|
+
"main": "src/index.tsx",
|
|
14
|
+
"destructuring": true,
|
|
15
|
+
"subName": ""
|
|
16
|
+
},
|
|
17
|
+
"configure": {
|
|
18
|
+
"props": [{
|
|
19
|
+
"title": {
|
|
20
|
+
"label": {
|
|
21
|
+
"type": "i18n",
|
|
22
|
+
"en-US": "url",
|
|
23
|
+
"zh-CN": "类型"
|
|
24
|
+
},
|
|
25
|
+
"tip": "url | 类型"
|
|
26
|
+
},
|
|
27
|
+
"name": "url",
|
|
28
|
+
"description": "类型",
|
|
29
|
+
"setter": IconTypeSetter
|
|
30
|
+
// "setter": {
|
|
31
|
+
// "componentName": IconTypeSetter,
|
|
32
|
+
// "props": {
|
|
33
|
+
// "fieldType": 'input'
|
|
34
|
+
// },
|
|
35
|
+
// "isRequired": false,
|
|
36
|
+
// "initialValue": {
|
|
37
|
+
// valueType: '1',
|
|
38
|
+
// value: "",
|
|
39
|
+
// }
|
|
40
|
+
// }
|
|
41
|
+
}, {
|
|
42
|
+
"title": {
|
|
43
|
+
"label": {
|
|
44
|
+
"type": "i18n",
|
|
45
|
+
"en-US": "width",
|
|
46
|
+
"zh-CN": "width"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"name": "width",
|
|
50
|
+
"setter": {
|
|
51
|
+
"componentName": "NumberSetter",
|
|
52
|
+
"isRequired": false,
|
|
53
|
+
"initialValue": 20
|
|
54
|
+
}
|
|
55
|
+
}, {
|
|
56
|
+
"title": {
|
|
57
|
+
"label": {
|
|
58
|
+
"type": "i18n",
|
|
59
|
+
"en-US": "height",
|
|
60
|
+
"zh-CN": "height"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"name": "height",
|
|
64
|
+
"setter": {
|
|
65
|
+
"componentName": "NumberSetter",
|
|
66
|
+
"isRequired": false,
|
|
67
|
+
"initialValue": 20
|
|
68
|
+
}
|
|
69
|
+
}],
|
|
70
|
+
"supports": {
|
|
71
|
+
"style": true
|
|
72
|
+
},
|
|
73
|
+
"component": {}
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
var snippets = [{
|
|
77
|
+
"title": "自定义图标",
|
|
78
|
+
"screenshot": "https://zwfwpt.sxzwfw.gov.cn/fis/18a78d3d407-true/master/18b4752f107/2025/11/1993234167014105090/check-loading.png",
|
|
79
|
+
"schema": {
|
|
80
|
+
"componentName": "IconCustom",
|
|
81
|
+
"props": {}
|
|
82
|
+
}
|
|
83
|
+
}];
|
|
84
|
+
export default _extends({}, IconCustomMeta, {
|
|
85
|
+
snippets: snippets
|
|
86
|
+
});
|
package/lowcode_es/meta.js
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import CardTitleMeta from "./card-title/meta";
|
|
3
|
+
import CheckDetailPcMeta from "./check-detail-pc/meta";
|
|
3
4
|
import CheckDetailMeta from "./check-detail/meta";
|
|
4
5
|
import CheckLoadingMeta from "./check-loading/meta";
|
|
5
6
|
import CheckResMeta from "./check-res/meta";
|
|
6
7
|
import ColorfulButtonMeta from "./colorful-button/meta";
|
|
7
8
|
import ColorfulInputMeta from "./colorful-input/meta";
|
|
8
9
|
import FileItemMeta from "./file-item/meta";
|
|
10
|
+
import FilePCMeta from "./file-p-c/meta";
|
|
11
|
+
import FormMeta from "./form/meta";
|
|
12
|
+
import IconCustomMeta from "./icon-custom/meta";
|
|
9
13
|
import MaterialCheckResMeta from "./material-check-res/meta";
|
|
10
14
|
import MessageMeta from "./message/meta";
|
|
15
|
+
import PreCheckResPCMeta from "./pre-check-res-p-c/meta";
|
|
11
16
|
import StatsticMeta from "./statstic/meta";
|
|
12
17
|
import SuccessPromptMeta from "./success-prompt/meta";
|
|
13
18
|
import TipsMeta from "./tips/meta";
|
|
@@ -82,7 +87,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
82
87
|
packageName = 'ydb-components-material';
|
|
83
88
|
}
|
|
84
89
|
if (version === void 0) {
|
|
85
|
-
version = '0.1.
|
|
90
|
+
version = '0.1.14';
|
|
86
91
|
}
|
|
87
92
|
if (basicLibraryVersion === void 0) {
|
|
88
93
|
basicLibraryVersion = {
|
|
@@ -109,7 +114,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
109
114
|
}
|
|
110
115
|
return meta;
|
|
111
116
|
}
|
|
112
|
-
var componentMetas = [CardTitleMeta, CheckDetailMeta, CheckLoadingMeta, CheckResMeta, ColorfulButtonMeta, ColorfulInputMeta, FileItemMeta, MaterialCheckResMeta, MessageMeta, StatsticMeta, SuccessPromptMeta, TipsMeta];
|
|
117
|
+
var componentMetas = [CardTitleMeta, CheckDetailPcMeta, CheckDetailMeta, CheckLoadingMeta, CheckResMeta, ColorfulButtonMeta, ColorfulInputMeta, FileItemMeta, FilePCMeta, FormMeta, IconCustomMeta, MaterialCheckResMeta, MessageMeta, PreCheckResPCMeta, StatsticMeta, SuccessPromptMeta, TipsMeta];
|
|
113
118
|
var components = [];
|
|
114
119
|
var npmInfo = {};
|
|
115
120
|
componentMetas.forEach(function (meta) {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
snippets: IPublicTypeSnippet[];
|
|
4
|
+
componentName: string;
|
|
5
|
+
uri?: string;
|
|
6
|
+
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
+
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
description?: string;
|
|
10
|
+
docUrl?: string;
|
|
11
|
+
screenshot?: string;
|
|
12
|
+
devMode?: "proCode" | "lowCode";
|
|
13
|
+
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
+
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
+
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
+
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
+
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
+
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
+
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
+
priority?: number;
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
var PreCheckResPCMeta = {
|
|
3
|
+
"componentName": "PreCheckResPC",
|
|
4
|
+
"title": "PreCheckResPC",
|
|
5
|
+
"docUrl": "",
|
|
6
|
+
"screenshot": "",
|
|
7
|
+
"devMode": "proCode",
|
|
8
|
+
"npm": {
|
|
9
|
+
"package": "ydb-components-material",
|
|
10
|
+
"version": "0.1.13",
|
|
11
|
+
"exportName": "PreCheckResPC",
|
|
12
|
+
"main": "src/index.tsx",
|
|
13
|
+
"destructuring": true,
|
|
14
|
+
"subName": ""
|
|
15
|
+
},
|
|
16
|
+
"configure": {
|
|
17
|
+
"props": [{
|
|
18
|
+
"title": {
|
|
19
|
+
"label": {
|
|
20
|
+
"type": "i18n",
|
|
21
|
+
"en-US": "file",
|
|
22
|
+
"zh-CN": "文件"
|
|
23
|
+
},
|
|
24
|
+
"tip": "file | 文件"
|
|
25
|
+
},
|
|
26
|
+
"name": "file",
|
|
27
|
+
"description": "文件",
|
|
28
|
+
"setter": {
|
|
29
|
+
"componentName": "StringSetter",
|
|
30
|
+
"isRequired": true,
|
|
31
|
+
"initialValue": ""
|
|
32
|
+
}
|
|
33
|
+
}, {
|
|
34
|
+
"title": {
|
|
35
|
+
"label": {
|
|
36
|
+
"type": "i18n",
|
|
37
|
+
"en-US": "fileName",
|
|
38
|
+
"zh-CN": "文件名称"
|
|
39
|
+
},
|
|
40
|
+
"tip": "fileName | 文件名称"
|
|
41
|
+
},
|
|
42
|
+
"name": "fileName",
|
|
43
|
+
"description": "文件名称",
|
|
44
|
+
"setter": {
|
|
45
|
+
"componentName": "StringSetter",
|
|
46
|
+
"isRequired": true,
|
|
47
|
+
"initialValue": ""
|
|
48
|
+
}
|
|
49
|
+
}, {
|
|
50
|
+
"title": {
|
|
51
|
+
"label": {
|
|
52
|
+
"type": "i18n",
|
|
53
|
+
"en-US": "res",
|
|
54
|
+
"zh-CN": "审查结果"
|
|
55
|
+
},
|
|
56
|
+
"tip": "res | 审查结果"
|
|
57
|
+
},
|
|
58
|
+
"name": "res",
|
|
59
|
+
"description": "审查结果",
|
|
60
|
+
"setter": {
|
|
61
|
+
"componentName": "RadioGroupSetter",
|
|
62
|
+
"props": {
|
|
63
|
+
"dataSource": [{
|
|
64
|
+
"label": "warning",
|
|
65
|
+
"value": "warning"
|
|
66
|
+
}, {
|
|
67
|
+
"label": "passed",
|
|
68
|
+
"value": "passed"
|
|
69
|
+
}, {
|
|
70
|
+
"label": "notPassed",
|
|
71
|
+
"value": "notPassed"
|
|
72
|
+
}],
|
|
73
|
+
"options": [{
|
|
74
|
+
"label": "warning",
|
|
75
|
+
"value": "warning"
|
|
76
|
+
}, {
|
|
77
|
+
"label": "passed",
|
|
78
|
+
"value": "passed"
|
|
79
|
+
}, {
|
|
80
|
+
"label": "notPassed",
|
|
81
|
+
"value": "notPassed"
|
|
82
|
+
}]
|
|
83
|
+
},
|
|
84
|
+
"initialValue": "warning"
|
|
85
|
+
}
|
|
86
|
+
}],
|
|
87
|
+
"supports": {
|
|
88
|
+
"style": true
|
|
89
|
+
},
|
|
90
|
+
"component": {}
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
var snippets = [{
|
|
94
|
+
"title": "PreCheckResPC",
|
|
95
|
+
"screenshot": "",
|
|
96
|
+
"schema": {
|
|
97
|
+
"componentName": "PreCheckResPC",
|
|
98
|
+
"props": {}
|
|
99
|
+
}
|
|
100
|
+
}];
|
|
101
|
+
export default _extends({}, PreCheckResPCMeta, {
|
|
102
|
+
snippets: snippets
|
|
103
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IconTypeSetterProps {
|
|
3
|
+
onChange: (value: any) => void;
|
|
4
|
+
value: String;
|
|
5
|
+
}
|
|
6
|
+
export default class IconTypeSetter extends React.PureComponent<IconTypeSetterProps> {
|
|
7
|
+
constructor(props: IconTypeSetterProps);
|
|
8
|
+
componentDidMount(): void;
|
|
9
|
+
static displayName: string;
|
|
10
|
+
render(): JSX.Element;
|
|
11
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports["default"] = void 0;
|
|
6
|
+
var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inheritsLoose"));
|
|
7
|
+
var _select = _interopRequireDefault(require("@alifd/next/lib/select"));
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
// import './style.less';
|
|
10
|
+
|
|
11
|
+
var Option = _select["default"].Option;
|
|
12
|
+
var IconTypeSetter = exports["default"] = /*#__PURE__*/function (_React$PureComponent) {
|
|
13
|
+
function IconTypeSetter(props) {
|
|
14
|
+
var _this;
|
|
15
|
+
_this = _React$PureComponent.call(this, props) || this;
|
|
16
|
+
_this.state = {
|
|
17
|
+
options: []
|
|
18
|
+
};
|
|
19
|
+
return _this;
|
|
20
|
+
}
|
|
21
|
+
(0, _inheritsLoose2["default"])(IconTypeSetter, _React$PureComponent);
|
|
22
|
+
var _proto = IconTypeSetter.prototype;
|
|
23
|
+
_proto.componentDidMount = function componentDidMount() {
|
|
24
|
+
this.setState({
|
|
25
|
+
options: [{
|
|
26
|
+
value: 'https://zwfwpt.sxzwfw.gov.cn/fis/18a78d3d407-true/master/18b4752f107/2025/11/1993234167014105090/check-loading.png',
|
|
27
|
+
label: 'iconfont'
|
|
28
|
+
}]
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// 声明 Setter 的 title
|
|
33
|
+
;
|
|
34
|
+
_proto.render = function render() {
|
|
35
|
+
var _this$props = this.props,
|
|
36
|
+
onChange = _this$props.onChange,
|
|
37
|
+
value = _this$props.value;
|
|
38
|
+
return /*#__PURE__*/_react["default"].createElement(_select["default"], {
|
|
39
|
+
id: "basic-demo",
|
|
40
|
+
onChange: onChange,
|
|
41
|
+
defaultValue: "jack",
|
|
42
|
+
"aria-label": "name is",
|
|
43
|
+
style: {
|
|
44
|
+
width: '100%'
|
|
45
|
+
},
|
|
46
|
+
dataSource: this.state.options,
|
|
47
|
+
value: value
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
return IconTypeSetter;
|
|
51
|
+
}(_react["default"].PureComponent);
|
|
52
|
+
IconTypeSetter.displayName = 'IconTypeSetter';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
snippets: IPublicTypeSnippet[];
|
|
4
|
+
componentName: string;
|
|
5
|
+
uri?: string;
|
|
6
|
+
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
+
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
description?: string;
|
|
10
|
+
docUrl?: string;
|
|
11
|
+
screenshot?: string;
|
|
12
|
+
devMode?: "proCode" | "lowCode";
|
|
13
|
+
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
+
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
+
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
+
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
+
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
+
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
+
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
+
priority?: number;
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports["default"] = void 0;
|
|
6
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
7
|
+
var CheckDetailPcMeta = {
|
|
8
|
+
"componentName": "CheckDetailPc",
|
|
9
|
+
"title": "CheckDetailPc",
|
|
10
|
+
"docUrl": "",
|
|
11
|
+
"screenshot": "",
|
|
12
|
+
"devMode": "proCode",
|
|
13
|
+
"npm": {
|
|
14
|
+
"package": "ydb-components-material",
|
|
15
|
+
"version": "0.1.13",
|
|
16
|
+
"exportName": "CheckDetailPc",
|
|
17
|
+
"main": "src/index.tsx",
|
|
18
|
+
"destructuring": true,
|
|
19
|
+
"subName": ""
|
|
20
|
+
},
|
|
21
|
+
"configure": {
|
|
22
|
+
"props": [{
|
|
23
|
+
"title": {
|
|
24
|
+
"label": {
|
|
25
|
+
"type": "i18n",
|
|
26
|
+
"en-US": "type",
|
|
27
|
+
"zh-CN": "类型"
|
|
28
|
+
},
|
|
29
|
+
"tip": "type | 类型"
|
|
30
|
+
},
|
|
31
|
+
"name": "type",
|
|
32
|
+
"description": "类型",
|
|
33
|
+
"setter": {
|
|
34
|
+
"componentName": "RadioGroupSetter",
|
|
35
|
+
"props": {
|
|
36
|
+
"dataSource": [{
|
|
37
|
+
"label": "success",
|
|
38
|
+
"value": "success"
|
|
39
|
+
}, {
|
|
40
|
+
"label": "warning",
|
|
41
|
+
"value": "warning"
|
|
42
|
+
}, {
|
|
43
|
+
"label": "notPassed",
|
|
44
|
+
"value": "notPassed"
|
|
45
|
+
}],
|
|
46
|
+
"options": [{
|
|
47
|
+
"label": "success",
|
|
48
|
+
"value": "success"
|
|
49
|
+
}, {
|
|
50
|
+
"label": "warning",
|
|
51
|
+
"value": "warning"
|
|
52
|
+
}, {
|
|
53
|
+
"label": "notPassed",
|
|
54
|
+
"value": "notPassed"
|
|
55
|
+
}]
|
|
56
|
+
},
|
|
57
|
+
"initialValue": "success"
|
|
58
|
+
}
|
|
59
|
+
}, {
|
|
60
|
+
"title": {
|
|
61
|
+
"label": {
|
|
62
|
+
"type": "i18n",
|
|
63
|
+
"en-US": "title",
|
|
64
|
+
"zh-CN": "title"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"name": "title",
|
|
68
|
+
"setter": {
|
|
69
|
+
"componentName": "StringSetter",
|
|
70
|
+
"isRequired": true,
|
|
71
|
+
"initialValue": ""
|
|
72
|
+
}
|
|
73
|
+
}, {
|
|
74
|
+
"title": {
|
|
75
|
+
"label": {
|
|
76
|
+
"type": "i18n",
|
|
77
|
+
"en-US": "text",
|
|
78
|
+
"zh-CN": "text"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"name": "text",
|
|
82
|
+
"setter": {
|
|
83
|
+
"componentName": "StringSetter",
|
|
84
|
+
"isRequired": true,
|
|
85
|
+
"initialValue": ""
|
|
86
|
+
}
|
|
87
|
+
}],
|
|
88
|
+
"supports": {
|
|
89
|
+
"style": true
|
|
90
|
+
},
|
|
91
|
+
"component": {}
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
var snippets = [{
|
|
95
|
+
"title": "CheckDetailPc",
|
|
96
|
+
"screenshot": "",
|
|
97
|
+
"schema": {
|
|
98
|
+
"componentName": "CheckDetailPc",
|
|
99
|
+
"props": {}
|
|
100
|
+
}
|
|
101
|
+
}];
|
|
102
|
+
var _default = exports["default"] = (0, _extends2["default"])({}, CheckDetailPcMeta, {
|
|
103
|
+
snippets: snippets
|
|
104
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
snippets: IPublicTypeSnippet[];
|
|
4
|
+
componentName: string;
|
|
5
|
+
uri?: string;
|
|
6
|
+
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
+
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
description?: string;
|
|
10
|
+
docUrl?: string;
|
|
11
|
+
screenshot?: string;
|
|
12
|
+
devMode?: "proCode" | "lowCode";
|
|
13
|
+
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
+
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
+
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
+
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
+
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
+
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
+
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
+
priority?: number;
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports["default"] = void 0;
|
|
6
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
7
|
+
var FilePCMeta = {
|
|
8
|
+
"componentName": "FilePC",
|
|
9
|
+
"title": "FilePC",
|
|
10
|
+
"docUrl": "",
|
|
11
|
+
"screenshot": "",
|
|
12
|
+
"devMode": "proCode",
|
|
13
|
+
"npm": {
|
|
14
|
+
"package": "ydb-components-material",
|
|
15
|
+
"version": "0.1.13",
|
|
16
|
+
"exportName": "FilePC",
|
|
17
|
+
"main": "src/index.tsx",
|
|
18
|
+
"destructuring": true,
|
|
19
|
+
"subName": ""
|
|
20
|
+
},
|
|
21
|
+
"configure": {
|
|
22
|
+
"props": [{
|
|
23
|
+
"title": {
|
|
24
|
+
"label": {
|
|
25
|
+
"type": "i18n",
|
|
26
|
+
"en-US": "file",
|
|
27
|
+
"zh-CN": "标题"
|
|
28
|
+
},
|
|
29
|
+
"tip": "file | 标题"
|
|
30
|
+
},
|
|
31
|
+
"name": "file",
|
|
32
|
+
"description": "标题",
|
|
33
|
+
"setter": {
|
|
34
|
+
"componentName": "StringSetter",
|
|
35
|
+
"isRequired": true,
|
|
36
|
+
"initialValue": ""
|
|
37
|
+
}
|
|
38
|
+
}, {
|
|
39
|
+
"title": {
|
|
40
|
+
"label": {
|
|
41
|
+
"type": "i18n",
|
|
42
|
+
"en-US": "fileName",
|
|
43
|
+
"zh-CN": "fileName"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"name": "fileName",
|
|
47
|
+
"setter": {
|
|
48
|
+
"componentName": "StringSetter",
|
|
49
|
+
"isRequired": true,
|
|
50
|
+
"initialValue": ""
|
|
51
|
+
}
|
|
52
|
+
}, {
|
|
53
|
+
"title": {
|
|
54
|
+
"label": {
|
|
55
|
+
"type": "i18n",
|
|
56
|
+
"en-US": "guideImg",
|
|
57
|
+
"zh-CN": "guideImg"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"name": "guideImg",
|
|
61
|
+
"setter": {
|
|
62
|
+
"componentName": "StringSetter",
|
|
63
|
+
"isRequired": true,
|
|
64
|
+
"initialValue": ""
|
|
65
|
+
}
|
|
66
|
+
}, {
|
|
67
|
+
"title": {
|
|
68
|
+
"label": {
|
|
69
|
+
"type": "i18n",
|
|
70
|
+
"en-US": "checkImg",
|
|
71
|
+
"zh-CN": "checkImg"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"name": "checkImg",
|
|
75
|
+
"setter": {
|
|
76
|
+
"componentName": "StringSetter",
|
|
77
|
+
"isRequired": true,
|
|
78
|
+
"initialValue": ""
|
|
79
|
+
}
|
|
80
|
+
}, {
|
|
81
|
+
"title": {
|
|
82
|
+
"label": {
|
|
83
|
+
"type": "i18n",
|
|
84
|
+
"en-US": "approvalUrl",
|
|
85
|
+
"zh-CN": "approvalUrl"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"name": "approvalUrl",
|
|
89
|
+
"setter": {
|
|
90
|
+
"componentName": "StringSetter",
|
|
91
|
+
"isRequired": true,
|
|
92
|
+
"initialValue": ""
|
|
93
|
+
}
|
|
94
|
+
}, {
|
|
95
|
+
"title": {
|
|
96
|
+
"label": {
|
|
97
|
+
"type": "i18n",
|
|
98
|
+
"en-US": "signatureUrl",
|
|
99
|
+
"zh-CN": "signatureUrl"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"name": "signatureUrl",
|
|
103
|
+
"setter": {
|
|
104
|
+
"componentName": "StringSetter",
|
|
105
|
+
"isRequired": true,
|
|
106
|
+
"initialValue": ""
|
|
107
|
+
}
|
|
108
|
+
}, {
|
|
109
|
+
"title": {
|
|
110
|
+
"label": {
|
|
111
|
+
"type": "i18n",
|
|
112
|
+
"en-US": "isApproval",
|
|
113
|
+
"zh-CN": "isApproval"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"name": "isApproval",
|
|
117
|
+
"setter": {
|
|
118
|
+
"componentName": "BoolSetter",
|
|
119
|
+
"isRequired": true,
|
|
120
|
+
"initialValue": false
|
|
121
|
+
}
|
|
122
|
+
}, {
|
|
123
|
+
"title": {
|
|
124
|
+
"label": {
|
|
125
|
+
"type": "i18n",
|
|
126
|
+
"en-US": "isSignature",
|
|
127
|
+
"zh-CN": "isSignature"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"name": "isSignature",
|
|
131
|
+
"setter": {
|
|
132
|
+
"componentName": "BoolSetter",
|
|
133
|
+
"isRequired": true,
|
|
134
|
+
"initialValue": false
|
|
135
|
+
}
|
|
136
|
+
}, {
|
|
137
|
+
"title": {
|
|
138
|
+
"label": {
|
|
139
|
+
"type": "i18n",
|
|
140
|
+
"en-US": "materialList",
|
|
141
|
+
"zh-CN": "materialList"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"name": "materialList",
|
|
145
|
+
"setter": {
|
|
146
|
+
"componentName": "ArraySetter",
|
|
147
|
+
"props": {
|
|
148
|
+
"itemSetter": {
|
|
149
|
+
"componentName": "MixedSetter",
|
|
150
|
+
"isRequired": false,
|
|
151
|
+
"props": {}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"isRequired": true,
|
|
155
|
+
"initialValue": []
|
|
156
|
+
}
|
|
157
|
+
}, {
|
|
158
|
+
"title": {
|
|
159
|
+
"label": {
|
|
160
|
+
"type": "i18n",
|
|
161
|
+
"en-US": "name",
|
|
162
|
+
"zh-CN": "name"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"name": "name",
|
|
166
|
+
"setter": {
|
|
167
|
+
"componentName": "StringSetter",
|
|
168
|
+
"isRequired": true,
|
|
169
|
+
"initialValue": ""
|
|
170
|
+
}
|
|
171
|
+
}, {
|
|
172
|
+
"title": {
|
|
173
|
+
"label": {
|
|
174
|
+
"type": "i18n",
|
|
175
|
+
"en-US": "prompt",
|
|
176
|
+
"zh-CN": "prompt"
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"name": "prompt",
|
|
180
|
+
"setter": {
|
|
181
|
+
"componentName": "StringSetter",
|
|
182
|
+
"isRequired": true,
|
|
183
|
+
"initialValue": ""
|
|
184
|
+
}
|
|
185
|
+
}, {
|
|
186
|
+
"title": {
|
|
187
|
+
"label": {
|
|
188
|
+
"type": "i18n",
|
|
189
|
+
"en-US": "del",
|
|
190
|
+
"zh-CN": "del"
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"name": "del",
|
|
194
|
+
"setter": {
|
|
195
|
+
"componentName": "FunctionSetter",
|
|
196
|
+
"isRequired": true
|
|
197
|
+
}
|
|
198
|
+
}],
|
|
199
|
+
"supports": {
|
|
200
|
+
"style": true
|
|
201
|
+
},
|
|
202
|
+
"component": {}
|
|
203
|
+
}
|
|
204
|
+
};
|
|
205
|
+
var snippets = [{
|
|
206
|
+
"title": "FilePC",
|
|
207
|
+
"screenshot": "",
|
|
208
|
+
"schema": {
|
|
209
|
+
"componentName": "FilePC",
|
|
210
|
+
"props": {}
|
|
211
|
+
}
|
|
212
|
+
}];
|
|
213
|
+
var _default = exports["default"] = (0, _extends2["default"])({}, FilePCMeta, {
|
|
214
|
+
snippets: snippets
|
|
215
|
+
});
|