cfd-materials 0.1.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.
Files changed (114) hide show
  1. package/README.md +17 -0
  2. package/build/docs/404.html +47 -0
  3. package/build/docs/_demos/:uuid +47 -0
  4. package/build/docs/cloud-visualization.html +48 -0
  5. package/build/docs/colorful-button.html +48 -0
  6. package/build/docs/colorful-input.html +48 -0
  7. package/build/docs/index.html +48 -0
  8. package/build/docs/mesh-visualization.html +48 -0
  9. package/build/docs/umi.4e426eb9.js +1 -0
  10. package/build/docs/umi.6b1604cb.css +8 -0
  11. package/build/docs/~demos/:uuid.html +47 -0
  12. package/build/docs/~demos/cloud-visualization-demo.html +47 -0
  13. package/build/docs/~demos/colorful-button-demo.html +47 -0
  14. package/build/docs/~demos/colorful-input-demo.html +47 -0
  15. package/build/docs/~demos/mesh-visualization-demo.html +47 -0
  16. package/build/index.css +2 -0
  17. package/build/index.html +1 -0
  18. package/build/index.js +53 -0
  19. package/build/lowcode/assets-daily.json +67 -0
  20. package/build/lowcode/assets-dev.json +67 -0
  21. package/build/lowcode/assets-prod.json +67 -0
  22. package/build/lowcode/designer.html +302 -0
  23. package/build/lowcode/index.html +304 -0
  24. package/build/lowcode/index.js +1 -0
  25. package/build/lowcode/meta.js +1 -0
  26. package/build/lowcode/preview.css +1 -0
  27. package/build/lowcode/preview.html +33 -0
  28. package/build/lowcode/preview.js +310 -0
  29. package/build/lowcode/render/default/view.css +1 -0
  30. package/build/lowcode/render/default/view.js +13 -0
  31. package/build/lowcode/view.css +1 -0
  32. package/build/lowcode/view.js +13 -0
  33. package/dist/BizComps.css +1 -0
  34. package/dist/BizComps.js +14 -0
  35. package/dist/BizComps.js.map +1 -0
  36. package/es/components/cloud-visualization/cloud-visualization.d.ts +20 -0
  37. package/es/components/cloud-visualization/cloud-visualization.js +738 -0
  38. package/es/components/cloud-visualization/index.d.ts +3 -0
  39. package/es/components/cloud-visualization/index.js +2 -0
  40. package/es/components/cloud-visualization/index.scss +55 -0
  41. package/es/components/colorful-button/colorful-button.d.ts +12 -0
  42. package/es/components/colorful-button/colorful-button.js +25 -0
  43. package/es/components/colorful-button/index.d.ts +3 -0
  44. package/es/components/colorful-button/index.js +2 -0
  45. package/es/components/colorful-button/index.scss +5 -0
  46. package/es/components/colorful-input/colorful-input.d.ts +8 -0
  47. package/es/components/colorful-input/colorful-input.js +19 -0
  48. package/es/components/colorful-input/index.d.ts +3 -0
  49. package/es/components/colorful-input/index.js +2 -0
  50. package/es/components/colorful-input/index.scss +5 -0
  51. package/es/components/mesh-visualization/index.d.ts +3 -0
  52. package/es/components/mesh-visualization/index.js +2 -0
  53. package/es/components/mesh-visualization/index.scss +441 -0
  54. package/es/components/mesh-visualization/mesh-visualization.d.ts +30 -0
  55. package/es/components/mesh-visualization/mesh-visualization.js +2609 -0
  56. package/es/index.d.ts +10 -0
  57. package/es/index.js +6 -0
  58. package/es/index.scss +2 -0
  59. package/es/style.js +3 -0
  60. package/es/variables.d.ts +2 -0
  61. package/es/variables.js +2 -0
  62. package/es/variables.scss +3 -0
  63. package/lib/components/cloud-visualization/cloud-visualization.d.ts +20 -0
  64. package/lib/components/cloud-visualization/cloud-visualization.js +743 -0
  65. package/lib/components/cloud-visualization/index.d.ts +3 -0
  66. package/lib/components/cloud-visualization/index.js +7 -0
  67. package/lib/components/cloud-visualization/index.scss +55 -0
  68. package/lib/components/colorful-button/colorful-button.d.ts +12 -0
  69. package/lib/components/colorful-button/colorful-button.js +31 -0
  70. package/lib/components/colorful-button/index.d.ts +3 -0
  71. package/lib/components/colorful-button/index.js +7 -0
  72. package/lib/components/colorful-button/index.scss +5 -0
  73. package/lib/components/colorful-input/colorful-input.d.ts +8 -0
  74. package/lib/components/colorful-input/colorful-input.js +25 -0
  75. package/lib/components/colorful-input/index.d.ts +3 -0
  76. package/lib/components/colorful-input/index.js +7 -0
  77. package/lib/components/colorful-input/index.scss +5 -0
  78. package/lib/components/mesh-visualization/index.d.ts +3 -0
  79. package/lib/components/mesh-visualization/index.js +7 -0
  80. package/lib/components/mesh-visualization/index.scss +441 -0
  81. package/lib/components/mesh-visualization/mesh-visualization.d.ts +30 -0
  82. package/lib/components/mesh-visualization/mesh-visualization.js +2614 -0
  83. package/lib/index.d.ts +10 -0
  84. package/lib/index.js +14 -0
  85. package/lib/index.scss +2 -0
  86. package/lib/style.js +3 -0
  87. package/lib/variables.d.ts +2 -0
  88. package/lib/variables.js +5 -0
  89. package/lib/variables.scss +3 -0
  90. package/lowcode/cloud-visualization/meta.ts +194 -0
  91. package/lowcode/colorful-button/meta.ts +102 -0
  92. package/lowcode/colorful-input/meta.ts +56 -0
  93. package/lowcode/mesh-visualization/meta.ts +278 -0
  94. package/lowcode_es/cloud-visualization/meta.d.ts +22 -0
  95. package/lowcode_es/cloud-visualization/meta.js +197 -0
  96. package/lowcode_es/colorful-button/meta.d.ts +22 -0
  97. package/lowcode_es/colorful-button/meta.js +85 -0
  98. package/lowcode_es/colorful-input/meta.d.ts +22 -0
  99. package/lowcode_es/colorful-input/meta.js +48 -0
  100. package/lowcode_es/mesh-visualization/meta.d.ts +22 -0
  101. package/lowcode_es/mesh-visualization/meta.js +285 -0
  102. package/lowcode_es/meta.js +167 -0
  103. package/lowcode_es/view.js +18 -0
  104. package/lowcode_lib/cloud-visualization/meta.d.ts +22 -0
  105. package/lowcode_lib/cloud-visualization/meta.js +202 -0
  106. package/lowcode_lib/colorful-button/meta.d.ts +22 -0
  107. package/lowcode_lib/colorful-button/meta.js +90 -0
  108. package/lowcode_lib/colorful-input/meta.d.ts +22 -0
  109. package/lowcode_lib/colorful-input/meta.js +53 -0
  110. package/lowcode_lib/mesh-visualization/meta.d.ts +22 -0
  111. package/lowcode_lib/mesh-visualization/meta.js +290 -0
  112. package/lowcode_lib/meta.js +171 -0
  113. package/lowcode_lib/view.js +28 -0
  114. package/package.json +104 -0
@@ -0,0 +1,167 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import CloudVisualizationMeta from "./cloud-visualization/meta";
3
+ import ColorfulButtonMeta from "./colorful-button/meta";
4
+ import ColorfulInputMeta from "./colorful-input/meta";
5
+ import MeshVisualizationMeta from "./mesh-visualization/meta";
6
+ var componentCategorySort = {};
7
+ ["基础元素", "布局容器类", "表格类", "表单详情类", "帮助类", "对话框类", "业务类", "通用", "引导", "信息输入", "信息展示", "信息反馈"].reverse().forEach(function (item, index) {
8
+ componentCategorySort[item] = ++index;
9
+ });
10
+ function generateComponentList(components) {
11
+ var componentList = [{
12
+ title: '常用',
13
+ icon: '',
14
+ children: []
15
+ }, {
16
+ title: '容器',
17
+ icon: '',
18
+ children: []
19
+ }, {
20
+ title: '导航',
21
+ icon: '',
22
+ children: []
23
+ }, {
24
+ title: '内容',
25
+ icon: '',
26
+ children: []
27
+ }, {
28
+ title: 'Feedback 反馈',
29
+ icon: '',
30
+ children: []
31
+ }];
32
+ var groupMap = {
33
+ 原子组件: true
34
+ };
35
+ var compGroup = {};
36
+ components.forEach(function (comp) {
37
+ var category = comp.category || '其他';
38
+ if (comp.group && !compGroup[comp.componentName]) {
39
+ compGroup[comp.componentName] = comp.group;
40
+ }
41
+ if (comp.group && !groupMap[comp.group]) {
42
+ groupMap[comp.group] = true;
43
+ }
44
+ var target = componentList.find(function (item) {
45
+ return item.title === category;
46
+ });
47
+ if (!target) {
48
+ target = {
49
+ title: category,
50
+ icon: '',
51
+ children: []
52
+ };
53
+ componentList.push(target);
54
+ }
55
+ if (comp.snippets && comp.snippets.length) {
56
+ target.children.push({
57
+ componentName: comp.componentName,
58
+ title: comp.title || comp.componentName,
59
+ sort: {
60
+ category: target.title,
61
+ group: compGroup[comp.componentName] || '原子组件',
62
+ priority: componentCategorySort[target.title] || 0
63
+ },
64
+ icon: '',
65
+ "package": comp.npm.pkg,
66
+ snippets: comp.snippets || []
67
+ });
68
+ }
69
+ });
70
+ return componentList;
71
+ }
72
+ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
73
+ if (packageName === void 0) {
74
+ packageName = 'cfd-materials';
75
+ }
76
+ if (version === void 0) {
77
+ version = '0.1.0';
78
+ }
79
+ if (basicLibraryVersion === void 0) {
80
+ basicLibraryVersion = {
81
+ "@alifd/next": "1.25.23",
82
+ "@alifd/meet": "2.6.3",
83
+ "antd": "4.17.3"
84
+ };
85
+ }
86
+ if (!meta || !version) {
87
+ return meta;
88
+ }
89
+ var npm = meta.npm;
90
+ if (!npm) {
91
+ return meta;
92
+ }
93
+ if (typeof basicLibraryVersion === 'object' && basicLibraryVersion[npm["package"]]) {
94
+ meta.npm = _extends({}, npm, {
95
+ version: basicLibraryVersion[npm["package"]]
96
+ });
97
+ } else if (npm["package"] === packageName) {
98
+ meta.npm = _extends({}, npm, {
99
+ version: version
100
+ });
101
+ }
102
+ return meta;
103
+ }
104
+ var componentMetas = [CloudVisualizationMeta, ColorfulButtonMeta, ColorfulInputMeta, MeshVisualizationMeta];
105
+ var components = [];
106
+ var npmInfo = {};
107
+ componentMetas.forEach(function (meta) {
108
+ if (Array.isArray(meta)) {
109
+ components.push.apply(components, meta.map(function (item) {
110
+ if (!item.npm) {
111
+ var componentName = item.componentName;
112
+ var names = componentName.split('.');
113
+ var exportName = names[0],
114
+ subName = names[1];
115
+ item.npm = {
116
+ exportName: exportName,
117
+ main: '',
118
+ destructuring: true,
119
+ subName: names.length > 1 ? componentName.slice(componentName.indexOf('.') + 1) : subName
120
+ };
121
+ }
122
+ item.npm = _extends({}, npmInfo, item.npm || {});
123
+ return fillRealVersion(item);
124
+ }));
125
+ } else if (meta.components) {
126
+ components.push.apply(components, meta.components.map(function (item) {
127
+ if (!item.npm) {
128
+ var componentName = item.componentName;
129
+ var names = componentName.split('.');
130
+ var exportName = names[0],
131
+ subName = names[1];
132
+ item.npm = {
133
+ exportName: exportName,
134
+ main: '',
135
+ destructuring: true,
136
+ subName: names.length > 1 ? componentName.slice(componentName.indexOf('.') + 1) : subName
137
+ };
138
+ }
139
+ item.npm = _extends({}, npmInfo, item.npm || {});
140
+ return fillRealVersion(item);
141
+ }));
142
+ } else {
143
+ if (!meta.npm) {
144
+ var componentName = meta.componentName;
145
+ var names = componentName.split('.');
146
+ var exportName = names[0],
147
+ subName = names[1];
148
+ meta.npm = {
149
+ exportName: exportName,
150
+ main: '',
151
+ destructuring: true,
152
+ subName: names.length > 1 ? componentName.slice(componentName.indexOf('.') + 1) : subName
153
+ };
154
+ }
155
+ meta.npm = _extends({}, npmInfo, meta.npm || {});
156
+ components.push(fillRealVersion(meta));
157
+ }
158
+ });
159
+ var componentList = generateComponentList(components);
160
+ export { components, componentList };
161
+ var execCompile = !!true;
162
+ if (!execCompile) {
163
+ window.CfdMaterialsMeta = {
164
+ components: components,
165
+ componentList: componentList
166
+ };
167
+ }
@@ -0,0 +1,18 @@
1
+ import * as componentInstances from "../es/index";
2
+ import "../es/index.scss";
3
+ var entryDefault = componentInstances["default"];
4
+ export { entryDefault as default };
5
+ export * from "../es/index";
6
+ var coveredComponents = {};
7
+ var library = 'BizComps';
8
+ var execCompile = !!true;
9
+ if (!execCompile) {
10
+ window[library] = Object.assign({
11
+ __esModule: true
12
+ }, componentInstances || {}, coveredComponents || {});
13
+ }
14
+ function getRealComponent(component, componentName) {
15
+ if (component["default"]) return component["default"];
16
+ if (component[componentName]) return component[componentName];
17
+ return component;
18
+ }
@@ -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,202 @@
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 CloudVisualizationMeta = {
8
+ componentName: 'CloudVisualization',
9
+ title: '云图可视化',
10
+ group: 'CFD可视化组件',
11
+ category: '可视化与网格前处理',
12
+ docUrl: '',
13
+ screenshot: '',
14
+ devMode: 'proCode',
15
+ npm: {
16
+ "package": 'cfd-materials',
17
+ version: '0.1.0',
18
+ exportName: 'CloudVisualization',
19
+ main: 'src/index.tsx',
20
+ destructuring: true,
21
+ subName: ''
22
+ },
23
+ configure: {
24
+ props: [{
25
+ title: '数据地址',
26
+ name: 'dataUrl',
27
+ setter: {
28
+ componentName: 'StringSetter',
29
+ isRequired: false,
30
+ initialValue: '/public/cfd-sample-distinct.csv'
31
+ }
32
+ }, {
33
+ title: '物理量',
34
+ name: 'field',
35
+ setter: {
36
+ componentName: 'SelectSetter',
37
+ props: {
38
+ options: [{
39
+ label: '速度',
40
+ value: 'velocity'
41
+ }, {
42
+ label: '压力',
43
+ value: 'pressure'
44
+ }, {
45
+ label: '温度',
46
+ value: 'temperature'
47
+ }, {
48
+ label: '涡量',
49
+ value: 'vorticity'
50
+ }, {
51
+ label: '马赫数',
52
+ value: 'mach'
53
+ }]
54
+ },
55
+ initialValue: 'pressure'
56
+ }
57
+ }, {
58
+ title: '视图模式',
59
+ name: 'viewMode',
60
+ setter: {
61
+ componentName: 'RadioGroupSetter',
62
+ props: {
63
+ options: [{
64
+ label: '2D',
65
+ value: '2d'
66
+ }, {
67
+ label: '3D',
68
+ value: '3d'
69
+ }]
70
+ },
71
+ initialValue: '3d'
72
+ }
73
+ }, {
74
+ title: '展示模式',
75
+ name: 'displayMode',
76
+ setter: {
77
+ componentName: 'RadioGroupSetter',
78
+ props: {
79
+ options: [{
80
+ label: '表面',
81
+ value: 'surface'
82
+ }, {
83
+ label: '切面',
84
+ value: 'slice'
85
+ }, {
86
+ label: '等值面',
87
+ value: 'isosurface'
88
+ }]
89
+ },
90
+ initialValue: 'surface'
91
+ }
92
+ }, {
93
+ title: '色带',
94
+ name: 'colorMap',
95
+ setter: {
96
+ componentName: 'SelectSetter',
97
+ props: {
98
+ options: [{
99
+ label: 'Jet',
100
+ value: 'jet'
101
+ }, {
102
+ label: 'Coolwarm',
103
+ value: 'coolwarm'
104
+ }, {
105
+ label: 'Rainbow',
106
+ value: 'rainbow'
107
+ }, {
108
+ label: 'Viridis',
109
+ value: 'viridis'
110
+ }]
111
+ },
112
+ initialValue: 'jet'
113
+ }
114
+ }, {
115
+ title: '透明度',
116
+ name: 'opacity',
117
+ setter: {
118
+ componentName: 'NumberSetter',
119
+ props: {
120
+ min: 0,
121
+ max: 1,
122
+ step: 0.1
123
+ },
124
+ initialValue: 1
125
+ }
126
+ }, {
127
+ title: '切面位置',
128
+ name: 'sliceOrigin',
129
+ setter: {
130
+ componentName: 'NumberSetter',
131
+ props: {
132
+ min: 0,
133
+ max: 1,
134
+ step: 0.05
135
+ },
136
+ initialValue: 0.5
137
+ }
138
+ }, {
139
+ title: '等值面值',
140
+ name: 'isoValue',
141
+ setter: {
142
+ componentName: 'NumberSetter',
143
+ props: {
144
+ min: 0,
145
+ max: 1,
146
+ step: 0.05
147
+ },
148
+ initialValue: 0.5
149
+ }
150
+ }, {
151
+ title: '背景色',
152
+ name: 'background',
153
+ setter: {
154
+ componentName: 'SelectSetter',
155
+ props: {
156
+ options: [{
157
+ label: '黑色',
158
+ value: '#061526'
159
+ }, {
160
+ label: '白色',
161
+ value: '#ffffff'
162
+ }, {
163
+ label: '灰色',
164
+ value: '#878787'
165
+ }, {
166
+ label: '蓝色',
167
+ value: '#2a579a'
168
+ }]
169
+ },
170
+ isRequired: false,
171
+ initialValue: '#061526'
172
+ }
173
+ }],
174
+ supports: {
175
+ style: true
176
+ },
177
+ component: {}
178
+ }
179
+ };
180
+ var snippets = [{
181
+ title: '云图可视化',
182
+ screenshot: '',
183
+ schema: {
184
+ componentName: 'CloudVisualization',
185
+ props: {
186
+ field: 'pressure',
187
+ viewMode: '3d',
188
+ displayMode: 'surface',
189
+ colorMap: 'jet',
190
+ opacity: 1,
191
+ sliceOrigin: 0.5,
192
+ isoValue: 0.5,
193
+ style: {
194
+ width: '100%',
195
+ height: 360
196
+ }
197
+ }
198
+ }
199
+ }];
200
+ var _default = exports["default"] = (0, _extends2["default"])({}, CloudVisualizationMeta, {
201
+ snippets: snippets
202
+ });
@@ -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,90 @@
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 ColorfulButtonMeta = {
8
+ "componentName": "ColorfulButton",
9
+ "title": "ColorfulButton",
10
+ "docUrl": "",
11
+ "screenshot": "",
12
+ "devMode": "proCode",
13
+ "npm": {
14
+ "package": "cfd-materials",
15
+ "version": "0.1.0",
16
+ "exportName": "ColorfulButton",
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": "primary",
38
+ "value": "primary"
39
+ }, {
40
+ "label": "secondary",
41
+ "value": "secondary"
42
+ }, {
43
+ "label": "normal",
44
+ "value": "normal"
45
+ }],
46
+ "options": [{
47
+ "label": "primary",
48
+ "value": "primary"
49
+ }, {
50
+ "label": "secondary",
51
+ "value": "secondary"
52
+ }, {
53
+ "label": "normal",
54
+ "value": "normal"
55
+ }]
56
+ },
57
+ "initialValue": "primary"
58
+ }
59
+ }, {
60
+ "title": {
61
+ "label": {
62
+ "type": "i18n",
63
+ "en-US": "color",
64
+ "zh-CN": "color"
65
+ }
66
+ },
67
+ "name": "color",
68
+ "setter": {
69
+ "componentName": "StringSetter",
70
+ "isRequired": false,
71
+ "initialValue": ""
72
+ }
73
+ }],
74
+ "supports": {
75
+ "style": true
76
+ },
77
+ "component": {}
78
+ }
79
+ };
80
+ var snippets = [{
81
+ "title": "ColorfulButton",
82
+ "screenshot": "",
83
+ "schema": {
84
+ "componentName": "ColorfulButton",
85
+ "props": {}
86
+ }
87
+ }];
88
+ var _default = exports["default"] = (0, _extends2["default"])({}, ColorfulButtonMeta, {
89
+ snippets: snippets
90
+ });
@@ -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,53 @@
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 ColorfulInputMeta = {
8
+ "componentName": "ColorfulInput",
9
+ "title": "ColorfulInput",
10
+ "docUrl": "",
11
+ "screenshot": "",
12
+ "devMode": "proCode",
13
+ "npm": {
14
+ "package": "cfd-materials",
15
+ "version": "0.1.0",
16
+ "exportName": "ColorfulInput",
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": "color",
27
+ "zh-CN": "color"
28
+ }
29
+ },
30
+ "name": "color",
31
+ "setter": {
32
+ "componentName": "StringSetter",
33
+ "isRequired": false,
34
+ "initialValue": ""
35
+ }
36
+ }],
37
+ "supports": {
38
+ "style": true
39
+ },
40
+ "component": {}
41
+ }
42
+ };
43
+ var snippets = [{
44
+ "title": "ColorfulInput",
45
+ "screenshot": "",
46
+ "schema": {
47
+ "componentName": "ColorfulInput",
48
+ "props": {}
49
+ }
50
+ }];
51
+ var _default = exports["default"] = (0, _extends2["default"])({}, ColorfulInputMeta, {
52
+ snippets: snippets
53
+ });
@@ -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;