@dckj-npm/dc-material 0.1.11 → 0.1.12
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 +17 -17
- package/lowcode/d-c-slider/meta.ts +1 -15
- package/lowcode/position/meta.ts +211 -211
- package/lowcode/search-bar/meta.ts +4 -4
- package/lowcode/tag-c/meta.ts +75 -75
- package/package.json +110 -110
- package/build/index.css +0 -2
- package/build/index.html +0 -1
- package/build/index.js +0 -60
- package/build/lowcode/assets-daily.json +0 -67
- package/build/lowcode/assets-dev.json +0 -67
- package/build/lowcode/assets-prod.json +0 -67
- package/build/lowcode/designer.html +0 -302
- package/build/lowcode/index.html +0 -304
- package/build/lowcode/index.js +0 -1
- package/build/lowcode/meta.js +0 -1
- package/build/lowcode/preview.css +0 -1
- package/build/lowcode/preview.html +0 -33
- package/build/lowcode/preview.js +0 -308
- package/build/lowcode/render/default/view.css +0 -1
- package/build/lowcode/render/default/view.js +0 -295
- package/build/lowcode/view.css +0 -1
- package/build/lowcode/view.js +0 -295
- package/dist/BizComps.css +0 -1
- package/dist/BizComps.js +0 -7
- package/dist/BizComps.js.map +0 -1
- package/es/assets/icon/navigation/index-selected.png +0 -0
- package/es/assets/icon/navigation/index.png +0 -0
- package/es/assets/icon/navigation/message-selected.png +0 -0
- package/es/assets/icon/navigation/message.png +0 -0
- package/es/assets/icon/navigation/mine-selected.png +0 -0
- package/es/assets/icon/navigation/mine.png +0 -0
- package/es/assets/icon/position/arror.png +0 -0
- package/es/components/bottom-navigation/bottom-navigation.d.ts +0 -13
- package/es/components/bottom-navigation/bottom-navigation.js +0 -39
- package/es/components/bottom-navigation/index.d.ts +0 -3
- package/es/components/bottom-navigation/index.js +0 -2
- package/es/components/bottom-navigation/index.scss +0 -19
- package/es/components/colorful-button/colorful-button.d.ts +0 -12
- package/es/components/colorful-button/colorful-button.js +0 -25
- package/es/components/colorful-button/index.d.ts +0 -3
- package/es/components/colorful-button/index.js +0 -2
- package/es/components/colorful-button/index.scss +0 -5
- package/es/components/colorful-input/colorful-input.d.ts +0 -8
- package/es/components/colorful-input/colorful-input.js +0 -19
- package/es/components/colorful-input/index.d.ts +0 -3
- package/es/components/colorful-input/index.js +0 -2
- package/es/components/colorful-input/index.scss +0 -5
- package/es/components/dc-slider/index.d.ts +0 -3
- package/es/components/dc-slider/index.js +0 -2
- package/es/components/dc-slider/index.scss +0 -8
- package/es/components/dc-slider/slider.d.ts +0 -32
- package/es/components/dc-slider/slider.js +0 -14
- package/es/components/grid-nav/grid-nav.d.ts +0 -13
- package/es/components/grid-nav/grid-nav.js +0 -91
- package/es/components/grid-nav/index.d.ts +0 -3
- package/es/components/grid-nav/index.js +0 -2
- package/es/components/grid-nav/index.scss +0 -36
- package/es/components/menu-list/index.d.ts +0 -6
- package/es/components/menu-list/index.js +0 -6
- package/es/components/menu-list/index.scss +0 -16
- package/es/components/menu-list/menu-list-item.d.ts +0 -5
- package/es/components/menu-list/menu-list-item.js +0 -32
- package/es/components/menu-list/menu-list-item.scss +0 -49
- package/es/components/menu-list/menu-list.d.ts +0 -5
- package/es/components/menu-list/menu-list.js +0 -25
- package/es/components/menu-list/types.d.ts +0 -23
- package/es/components/menu-list/types.js +0 -1
- package/es/components/position/entity.d.ts +0 -5
- package/es/components/position/entity.js +0 -1
- package/es/components/position/index.d.ts +0 -3
- package/es/components/position/index.js +0 -2
- package/es/components/position/index.scss +0 -21
- package/es/components/position/position-left.d.ts +0 -9
- package/es/components/position/position-left.js +0 -28
- package/es/components/position/position-list.d.ts +0 -12
- package/es/components/position/position-list.js +0 -30
- package/es/components/position/position.d.ts +0 -8
- package/es/components/position/position.js +0 -47
- package/es/components/search-bar/index.d.ts +0 -3
- package/es/components/search-bar/index.js +0 -2
- package/es/components/search-bar/index.scss +0 -3
- package/es/components/search-bar/search-bar.d.ts +0 -7
- package/es/components/search-bar/search-bar.js +0 -21
- package/es/components/tag/index.d.ts +0 -6
- package/es/components/tag/index.js +0 -5
- package/es/components/tag/index.scss +0 -17
- package/es/components/tag/tag.d.ts +0 -14
- package/es/components/tag/tag.js +0 -14
- package/es/components/teletext-list/index.d.ts +0 -6
- package/es/components/teletext-list/index.js +0 -6
- package/es/components/teletext-list/index.scss +0 -16
- package/es/components/teletext-list/teletext-list-item.d.ts +0 -42
- package/es/components/teletext-list/teletext-list-item.js +0 -35
- package/es/components/teletext-list/teletext-list-item.scss +0 -74
- package/es/components/teletext-list/teletext-list.d.ts +0 -57
- package/es/components/teletext-list/teletext-list.js +0 -75
- package/es/components/title/index.d.ts +0 -8
- package/es/components/title/index.js +0 -7
- package/es/components/title/title-1.d.ts +0 -10
- package/es/components/title/title-1.js +0 -16
- package/es/components/title/title-1.scss +0 -25
- package/es/components/title/title-2.d.ts +0 -18
- package/es/components/title/title-2.js +0 -31
- package/es/components/title/title-2.scss +0 -22
- package/es/index.d.ts +0 -22
- package/es/index.js +0 -12
- package/es/index.scss +0 -5
- package/es/style.js +0 -4
- package/es/utils/children-node-handle.d.ts +0 -6
- package/es/utils/children-node-handle.js +0 -23
- package/es/utils/component-wrapper.d.ts +0 -9
- package/es/utils/component-wrapper.js +0 -38
- package/es/variables.d.ts +0 -2
- package/es/variables.js +0 -2
- package/es/variables.scss +0 -3
- package/lib/assets/icon/navigation/index-selected.png +0 -0
- package/lib/assets/icon/navigation/index.png +0 -0
- package/lib/assets/icon/navigation/message-selected.png +0 -0
- package/lib/assets/icon/navigation/message.png +0 -0
- package/lib/assets/icon/navigation/mine-selected.png +0 -0
- package/lib/assets/icon/navigation/mine.png +0 -0
- package/lib/assets/icon/position/arror.png +0 -0
- package/lib/components/bottom-navigation/bottom-navigation.d.ts +0 -13
- package/lib/components/bottom-navigation/bottom-navigation.js +0 -46
- package/lib/components/bottom-navigation/index.d.ts +0 -3
- package/lib/components/bottom-navigation/index.js +0 -7
- package/lib/components/bottom-navigation/index.scss +0 -19
- package/lib/components/colorful-button/colorful-button.d.ts +0 -12
- package/lib/components/colorful-button/colorful-button.js +0 -32
- package/lib/components/colorful-button/index.d.ts +0 -3
- package/lib/components/colorful-button/index.js +0 -7
- package/lib/components/colorful-button/index.scss +0 -5
- package/lib/components/colorful-input/colorful-input.d.ts +0 -8
- package/lib/components/colorful-input/colorful-input.js +0 -26
- package/lib/components/colorful-input/index.d.ts +0 -3
- package/lib/components/colorful-input/index.js +0 -7
- package/lib/components/colorful-input/index.scss +0 -5
- package/lib/components/dc-slider/index.d.ts +0 -3
- package/lib/components/dc-slider/index.js +0 -7
- package/lib/components/dc-slider/index.scss +0 -8
- package/lib/components/dc-slider/slider.d.ts +0 -32
- package/lib/components/dc-slider/slider.js +0 -21
- package/lib/components/grid-nav/grid-nav.d.ts +0 -13
- package/lib/components/grid-nav/grid-nav.js +0 -98
- package/lib/components/grid-nav/index.d.ts +0 -3
- package/lib/components/grid-nav/index.js +0 -7
- package/lib/components/grid-nav/index.scss +0 -36
- package/lib/components/menu-list/index.d.ts +0 -6
- package/lib/components/menu-list/index.js +0 -10
- package/lib/components/menu-list/index.scss +0 -16
- package/lib/components/menu-list/menu-list-item.d.ts +0 -5
- package/lib/components/menu-list/menu-list-item.js +0 -37
- package/lib/components/menu-list/menu-list-item.scss +0 -49
- package/lib/components/menu-list/menu-list.d.ts +0 -5
- package/lib/components/menu-list/menu-list.js +0 -30
- package/lib/components/menu-list/types.d.ts +0 -23
- package/lib/components/menu-list/types.js +0 -3
- package/lib/components/position/entity.d.ts +0 -5
- package/lib/components/position/entity.js +0 -3
- package/lib/components/position/index.d.ts +0 -3
- package/lib/components/position/index.js +0 -7
- package/lib/components/position/index.scss +0 -21
- package/lib/components/position/position-left.d.ts +0 -9
- package/lib/components/position/position-left.js +0 -35
- package/lib/components/position/position-list.d.ts +0 -12
- package/lib/components/position/position-list.js +0 -36
- package/lib/components/position/position.d.ts +0 -8
- package/lib/components/position/position.js +0 -54
- package/lib/components/search-bar/index.d.ts +0 -3
- package/lib/components/search-bar/index.js +0 -7
- package/lib/components/search-bar/index.scss +0 -3
- package/lib/components/search-bar/search-bar.d.ts +0 -7
- package/lib/components/search-bar/search-bar.js +0 -28
- package/lib/components/tag/index.d.ts +0 -6
- package/lib/components/tag/index.js +0 -10
- package/lib/components/tag/index.scss +0 -17
- package/lib/components/tag/tag.d.ts +0 -14
- package/lib/components/tag/tag.js +0 -21
- package/lib/components/teletext-list/index.d.ts +0 -6
- package/lib/components/teletext-list/index.js +0 -10
- package/lib/components/teletext-list/index.scss +0 -16
- package/lib/components/teletext-list/teletext-list-item.d.ts +0 -42
- package/lib/components/teletext-list/teletext-list-item.js +0 -39
- package/lib/components/teletext-list/teletext-list-item.scss +0 -74
- package/lib/components/teletext-list/teletext-list.d.ts +0 -57
- package/lib/components/teletext-list/teletext-list.js +0 -79
- package/lib/components/title/index.d.ts +0 -8
- package/lib/components/title/index.js +0 -8
- package/lib/components/title/title-1.d.ts +0 -10
- package/lib/components/title/title-1.js +0 -21
- package/lib/components/title/title-1.scss +0 -25
- package/lib/components/title/title-2.d.ts +0 -18
- package/lib/components/title/title-2.js +0 -36
- package/lib/components/title/title-2.scss +0 -22
- package/lib/index.d.ts +0 -22
- package/lib/index.js +0 -25
- package/lib/index.scss +0 -5
- package/lib/style.js +0 -4
- package/lib/utils/children-node-handle.d.ts +0 -6
- package/lib/utils/children-node-handle.js +0 -28
- package/lib/utils/component-wrapper.d.ts +0 -9
- package/lib/utils/component-wrapper.js +0 -45
- package/lib/variables.d.ts +0 -2
- package/lib/variables.js +0 -5
- package/lib/variables.scss +0 -3
- package/lowcode_es/d-c-slider/meta.d.ts +0 -152
- package/lowcode_es/d-c-slider/meta.js +0 -313
- package/lowcode_es/d-c-slider/snippets.d.ts +0 -36
- package/lowcode_es/d-c-slider/snippets.js +0 -36
- package/lowcode_es/grid-nav/meta.d.ts +0 -22
- package/lowcode_es/grid-nav/meta.js +0 -152
- package/lowcode_es/menu-list/meta.d.ts +0 -22
- package/lowcode_es/menu-list/meta.js +0 -128
- package/lowcode_es/meta.js +0 -173
- package/lowcode_es/navigation/meta.d.ts +0 -22
- package/lowcode_es/navigation/meta.js +0 -136
- package/lowcode_es/position/meta.d.ts +0 -22
- package/lowcode_es/position/meta.js +0 -190
- package/lowcode_es/search-bar/meta.d.ts +0 -22
- package/lowcode_es/search-bar/meta.js +0 -46
- package/lowcode_es/tag-c/meta.d.ts +0 -22
- package/lowcode_es/tag-c/meta.js +0 -66
- package/lowcode_es/teletext-list/meta.d.ts +0 -22
- package/lowcode_es/teletext-list/meta.js +0 -294
- package/lowcode_es/title1/meta.d.ts +0 -22
- package/lowcode_es/title1/meta.js +0 -51
- package/lowcode_es/title2/meta.d.ts +0 -22
- package/lowcode_es/title2/meta.js +0 -83
- package/lowcode_es/view.js +0 -18
- package/lowcode_lib/d-c-slider/meta.d.ts +0 -152
- package/lowcode_lib/d-c-slider/meta.js +0 -318
- package/lowcode_lib/d-c-slider/snippets.d.ts +0 -36
- package/lowcode_lib/d-c-slider/snippets.js +0 -40
- package/lowcode_lib/grid-nav/meta.d.ts +0 -22
- package/lowcode_lib/grid-nav/meta.js +0 -157
- package/lowcode_lib/menu-list/meta.d.ts +0 -22
- package/lowcode_lib/menu-list/meta.js +0 -133
- package/lowcode_lib/meta.js +0 -177
- package/lowcode_lib/navigation/meta.d.ts +0 -22
- package/lowcode_lib/navigation/meta.js +0 -141
- package/lowcode_lib/position/meta.d.ts +0 -22
- package/lowcode_lib/position/meta.js +0 -195
- package/lowcode_lib/search-bar/meta.d.ts +0 -22
- package/lowcode_lib/search-bar/meta.js +0 -51
- package/lowcode_lib/tag-c/meta.d.ts +0 -22
- package/lowcode_lib/tag-c/meta.js +0 -71
- package/lowcode_lib/teletext-list/meta.d.ts +0 -22
- package/lowcode_lib/teletext-list/meta.js +0 -299
- package/lowcode_lib/title1/meta.d.ts +0 -22
- package/lowcode_lib/title1/meta.js +0 -56
- package/lowcode_lib/title2/meta.d.ts +0 -22
- package/lowcode_lib/title2/meta.js +0 -88
- package/lowcode_lib/view.js +0 -29
package/README.md
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
# dc-material
|
|
2
|
-
|
|
3
|
-
一个面向 PC 的业务组件库
|
|
4
|
-
|
|
5
|
-
## 调试
|
|
6
|
-
启动调试
|
|
7
|
-
|
|
8
|
-
```
|
|
9
|
-
npm run lowcode:dev # 打开开发环境,运行所有组件
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
构建
|
|
13
|
-
|
|
14
|
-
```
|
|
15
|
-
npm run lowcode:build
|
|
16
|
-
```
|
|
17
|
-
|
|
1
|
+
# dc-material
|
|
2
|
+
|
|
3
|
+
一个面向 PC 的业务组件库
|
|
4
|
+
|
|
5
|
+
## 调试
|
|
6
|
+
启动调试
|
|
7
|
+
|
|
8
|
+
```
|
|
9
|
+
npm run lowcode:dev # 打开开发环境,运行所有组件
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
构建
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
npm run lowcode:build
|
|
16
|
+
```
|
|
17
|
+
|
|
@@ -320,21 +320,7 @@ export default {
|
|
|
320
320
|
},
|
|
321
321
|
{
|
|
322
322
|
name: 'picUrls',
|
|
323
|
-
setter:
|
|
324
|
-
componentName: 'SetterFormVariable',
|
|
325
|
-
props: {
|
|
326
|
-
attributes: [
|
|
327
|
-
{
|
|
328
|
-
label: '图标链接',
|
|
329
|
-
value: 'picUrls',
|
|
330
|
-
children: [
|
|
331
|
-
{ label: '图片链接', value: 'picUrls' },
|
|
332
|
-
{ label: '图片链接2', value: 'picUrls2' }
|
|
333
|
-
]
|
|
334
|
-
}
|
|
335
|
-
]
|
|
336
|
-
}
|
|
337
|
-
}
|
|
323
|
+
setter: 'SetterFormVariable'
|
|
338
324
|
}
|
|
339
325
|
],
|
|
340
326
|
},
|
package/lowcode/position/meta.ts
CHANGED
|
@@ -1,211 +1,211 @@
|
|
|
1
|
-
|
|
2
|
-
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
3
|
-
|
|
4
|
-
const PositionMeta: IPublicTypeComponentMetadata = {
|
|
5
|
-
group: '低代码组件',
|
|
6
|
-
"componentName": "Position",
|
|
7
|
-
"title": "Position",
|
|
8
|
-
"docUrl": "",
|
|
9
|
-
"screenshot": "",
|
|
10
|
-
"devMode": "proCode",
|
|
11
|
-
"npm": {
|
|
12
|
-
"package": "@dckj-npm/dc-material",
|
|
13
|
-
"version": "0.1.7",
|
|
14
|
-
"exportName": "Position",
|
|
15
|
-
"main": "src\\index.tsx",
|
|
16
|
-
"destructuring": true,
|
|
17
|
-
"subName": ""
|
|
18
|
-
},
|
|
19
|
-
"configure": {
|
|
20
|
-
"props": [
|
|
21
|
-
{
|
|
22
|
-
"title": {
|
|
23
|
-
"label": {
|
|
24
|
-
"type": "i18n",
|
|
25
|
-
"en-US": "itemArray",
|
|
26
|
-
"zh-CN": "选择项"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"name": "itemArray",
|
|
30
|
-
"setter": {
|
|
31
|
-
"componentName": "ArraySetter",
|
|
32
|
-
"props": {
|
|
33
|
-
"itemSetter": {
|
|
34
|
-
"componentName": "ObjectSetter",
|
|
35
|
-
"props": {
|
|
36
|
-
"config": {
|
|
37
|
-
"items": [
|
|
38
|
-
{
|
|
39
|
-
"title": {
|
|
40
|
-
"label": {
|
|
41
|
-
"type": "i18n",
|
|
42
|
-
"en-US": "lat",
|
|
43
|
-
"zh-CN": "lat"
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"name": "lat",
|
|
47
|
-
"setter": {
|
|
48
|
-
"componentName": "StringSetter",
|
|
49
|
-
"isRequired": true,
|
|
50
|
-
"initialValue": ""
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"title": {
|
|
55
|
-
"label": {
|
|
56
|
-
"type": "i18n",
|
|
57
|
-
"en-US": "lng",
|
|
58
|
-
"zh-CN": "lng"
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
"name": "lng",
|
|
62
|
-
"setter": {
|
|
63
|
-
"componentName": "StringSetter",
|
|
64
|
-
"isRequired": true,
|
|
65
|
-
"initialValue": ""
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"title": {
|
|
70
|
-
"label": {
|
|
71
|
-
"type": "i18n",
|
|
72
|
-
"en-US": "address",
|
|
73
|
-
"zh-CN": "address"
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
"name": "address",
|
|
77
|
-
"setter": {
|
|
78
|
-
"componentName": "StringSetter",
|
|
79
|
-
"isRequired": true,
|
|
80
|
-
"initialValue": ""
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
],
|
|
84
|
-
"extraSetter": {
|
|
85
|
-
"componentName": "MixedSetter",
|
|
86
|
-
"isRequired": false,
|
|
87
|
-
"props": {}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
"isRequired": true,
|
|
94
|
-
"initialValue": []
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"title": {
|
|
99
|
-
"label": {
|
|
100
|
-
"type": "i18n",
|
|
101
|
-
"en-US": "defaultLocation",
|
|
102
|
-
"zh-CN": "默认地址"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"name": "defaultLocation",
|
|
106
|
-
"setter": {
|
|
107
|
-
"componentName": "ObjectSetter",
|
|
108
|
-
"props": {
|
|
109
|
-
"config": {
|
|
110
|
-
"items": [
|
|
111
|
-
{
|
|
112
|
-
"title": {
|
|
113
|
-
"label": {
|
|
114
|
-
"type": "i18n",
|
|
115
|
-
"en-US": "lat",
|
|
116
|
-
"zh-CN": "lat"
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
"name": "lat",
|
|
120
|
-
"setter": {
|
|
121
|
-
"componentName": "StringSetter",
|
|
122
|
-
"isRequired": true,
|
|
123
|
-
"initialValue": ""
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"title": {
|
|
128
|
-
"label": {
|
|
129
|
-
"type": "i18n",
|
|
130
|
-
"en-US": "lng",
|
|
131
|
-
"zh-CN": "lng"
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
"name": "lng",
|
|
135
|
-
"setter": {
|
|
136
|
-
"componentName": "StringSetter",
|
|
137
|
-
"isRequired": true,
|
|
138
|
-
"initialValue": ""
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"title": {
|
|
143
|
-
"label": {
|
|
144
|
-
"type": "i18n",
|
|
145
|
-
"en-US": "address",
|
|
146
|
-
"zh-CN": "address"
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
"name": "address",
|
|
150
|
-
"setter": {
|
|
151
|
-
"componentName": "StringSetter",
|
|
152
|
-
"isRequired": true,
|
|
153
|
-
"initialValue": ""
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
],
|
|
157
|
-
"extraSetter": {
|
|
158
|
-
"componentName": "MixedSetter",
|
|
159
|
-
"isRequired": false,
|
|
160
|
-
"props": {}
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
"isRequired": true
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
],
|
|
168
|
-
"supports": {
|
|
169
|
-
"style": true
|
|
170
|
-
},
|
|
171
|
-
"component": {}
|
|
172
|
-
}
|
|
173
|
-
};
|
|
174
|
-
const snippets: IPublicTypeSnippet[] = [
|
|
175
|
-
{
|
|
176
|
-
"title": "定位",
|
|
177
|
-
"screenshot": "",
|
|
178
|
-
"schema": {
|
|
179
|
-
"componentName": "Position",
|
|
180
|
-
"props": {
|
|
181
|
-
defaultLocation: {
|
|
182
|
-
lng: '123',
|
|
183
|
-
lat: '123',
|
|
184
|
-
address: '嘉兴市'
|
|
185
|
-
},
|
|
186
|
-
itemArray: [
|
|
187
|
-
{
|
|
188
|
-
lng: '123',
|
|
189
|
-
lat: '123',
|
|
190
|
-
address: '嘉兴市'
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
lng: '123',
|
|
194
|
-
lat: '123',
|
|
195
|
-
address: '杭州市'
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
lng: '123',
|
|
199
|
-
lat: '123',
|
|
200
|
-
address: '上海市'
|
|
201
|
-
}
|
|
202
|
-
]
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
];
|
|
207
|
-
|
|
208
|
-
export default {
|
|
209
|
-
...PositionMeta,
|
|
210
|
-
snippets
|
|
211
|
-
};
|
|
1
|
+
|
|
2
|
+
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
3
|
+
|
|
4
|
+
const PositionMeta: IPublicTypeComponentMetadata = {
|
|
5
|
+
group: '低代码组件',
|
|
6
|
+
"componentName": "Position",
|
|
7
|
+
"title": "Position",
|
|
8
|
+
"docUrl": "",
|
|
9
|
+
"screenshot": "",
|
|
10
|
+
"devMode": "proCode",
|
|
11
|
+
"npm": {
|
|
12
|
+
"package": "@dckj-npm/dc-material",
|
|
13
|
+
"version": "0.1.7",
|
|
14
|
+
"exportName": "Position",
|
|
15
|
+
"main": "src\\index.tsx",
|
|
16
|
+
"destructuring": true,
|
|
17
|
+
"subName": ""
|
|
18
|
+
},
|
|
19
|
+
"configure": {
|
|
20
|
+
"props": [
|
|
21
|
+
{
|
|
22
|
+
"title": {
|
|
23
|
+
"label": {
|
|
24
|
+
"type": "i18n",
|
|
25
|
+
"en-US": "itemArray",
|
|
26
|
+
"zh-CN": "选择项"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"name": "itemArray",
|
|
30
|
+
"setter": {
|
|
31
|
+
"componentName": "ArraySetter",
|
|
32
|
+
"props": {
|
|
33
|
+
"itemSetter": {
|
|
34
|
+
"componentName": "ObjectSetter",
|
|
35
|
+
"props": {
|
|
36
|
+
"config": {
|
|
37
|
+
"items": [
|
|
38
|
+
{
|
|
39
|
+
"title": {
|
|
40
|
+
"label": {
|
|
41
|
+
"type": "i18n",
|
|
42
|
+
"en-US": "lat",
|
|
43
|
+
"zh-CN": "lat"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"name": "lat",
|
|
47
|
+
"setter": {
|
|
48
|
+
"componentName": "StringSetter",
|
|
49
|
+
"isRequired": true,
|
|
50
|
+
"initialValue": ""
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"title": {
|
|
55
|
+
"label": {
|
|
56
|
+
"type": "i18n",
|
|
57
|
+
"en-US": "lng",
|
|
58
|
+
"zh-CN": "lng"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"name": "lng",
|
|
62
|
+
"setter": {
|
|
63
|
+
"componentName": "StringSetter",
|
|
64
|
+
"isRequired": true,
|
|
65
|
+
"initialValue": ""
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"title": {
|
|
70
|
+
"label": {
|
|
71
|
+
"type": "i18n",
|
|
72
|
+
"en-US": "address",
|
|
73
|
+
"zh-CN": "address"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"name": "address",
|
|
77
|
+
"setter": {
|
|
78
|
+
"componentName": "StringSetter",
|
|
79
|
+
"isRequired": true,
|
|
80
|
+
"initialValue": ""
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"extraSetter": {
|
|
85
|
+
"componentName": "MixedSetter",
|
|
86
|
+
"isRequired": false,
|
|
87
|
+
"props": {}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"isRequired": true,
|
|
94
|
+
"initialValue": []
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"title": {
|
|
99
|
+
"label": {
|
|
100
|
+
"type": "i18n",
|
|
101
|
+
"en-US": "defaultLocation",
|
|
102
|
+
"zh-CN": "默认地址"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"name": "defaultLocation",
|
|
106
|
+
"setter": {
|
|
107
|
+
"componentName": "ObjectSetter",
|
|
108
|
+
"props": {
|
|
109
|
+
"config": {
|
|
110
|
+
"items": [
|
|
111
|
+
{
|
|
112
|
+
"title": {
|
|
113
|
+
"label": {
|
|
114
|
+
"type": "i18n",
|
|
115
|
+
"en-US": "lat",
|
|
116
|
+
"zh-CN": "lat"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"name": "lat",
|
|
120
|
+
"setter": {
|
|
121
|
+
"componentName": "StringSetter",
|
|
122
|
+
"isRequired": true,
|
|
123
|
+
"initialValue": ""
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"title": {
|
|
128
|
+
"label": {
|
|
129
|
+
"type": "i18n",
|
|
130
|
+
"en-US": "lng",
|
|
131
|
+
"zh-CN": "lng"
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"name": "lng",
|
|
135
|
+
"setter": {
|
|
136
|
+
"componentName": "StringSetter",
|
|
137
|
+
"isRequired": true,
|
|
138
|
+
"initialValue": ""
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"title": {
|
|
143
|
+
"label": {
|
|
144
|
+
"type": "i18n",
|
|
145
|
+
"en-US": "address",
|
|
146
|
+
"zh-CN": "address"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"name": "address",
|
|
150
|
+
"setter": {
|
|
151
|
+
"componentName": "StringSetter",
|
|
152
|
+
"isRequired": true,
|
|
153
|
+
"initialValue": ""
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"extraSetter": {
|
|
158
|
+
"componentName": "MixedSetter",
|
|
159
|
+
"isRequired": false,
|
|
160
|
+
"props": {}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"isRequired": true
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
],
|
|
168
|
+
"supports": {
|
|
169
|
+
"style": true
|
|
170
|
+
},
|
|
171
|
+
"component": {}
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
const snippets: IPublicTypeSnippet[] = [
|
|
175
|
+
{
|
|
176
|
+
"title": "定位",
|
|
177
|
+
"screenshot": "",
|
|
178
|
+
"schema": {
|
|
179
|
+
"componentName": "Position",
|
|
180
|
+
"props": {
|
|
181
|
+
defaultLocation: {
|
|
182
|
+
lng: '123',
|
|
183
|
+
lat: '123',
|
|
184
|
+
address: '嘉兴市'
|
|
185
|
+
},
|
|
186
|
+
itemArray: [
|
|
187
|
+
{
|
|
188
|
+
lng: '123',
|
|
189
|
+
lat: '123',
|
|
190
|
+
address: '嘉兴市'
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
lng: '123',
|
|
194
|
+
lat: '123',
|
|
195
|
+
address: '杭州市'
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
lng: '123',
|
|
199
|
+
lat: '123',
|
|
200
|
+
address: '上海市'
|
|
201
|
+
}
|
|
202
|
+
]
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
];
|
|
207
|
+
|
|
208
|
+
export default {
|
|
209
|
+
...PositionMeta,
|
|
210
|
+
snippets
|
|
211
|
+
};
|
|
@@ -20,17 +20,17 @@ const SearchBarMeta: IPublicTypeComponentMetadata = {
|
|
|
20
20
|
supports: {
|
|
21
21
|
style: true,
|
|
22
22
|
events: [{
|
|
23
|
-
name: '
|
|
24
|
-
template: "onSearch(params,${extParams}){\n window.location.href=`http://localhost:4500/preview.html?pathId=${params.pathId}`;\n console.log(pathId) \n}"
|
|
23
|
+
name: 'onClick',
|
|
24
|
+
// template: "onSearch(params,${extParams}){\n window.location.href=`http://localhost:4500/preview.html?pathId=${params.pathId}`;\n console.log(params.pathId) \n}"
|
|
25
25
|
}],
|
|
26
26
|
},
|
|
27
27
|
"props": [
|
|
28
28
|
{
|
|
29
29
|
name: 'defaultValue',
|
|
30
|
-
title: '
|
|
30
|
+
title: '绑定跳转',
|
|
31
31
|
setter: 'StringSetter',
|
|
32
32
|
supportVariable: true,
|
|
33
|
-
description: '
|
|
33
|
+
description: '搜索框绑定跳转',
|
|
34
34
|
defaultValue: '请输入'
|
|
35
35
|
},
|
|
36
36
|
],
|
package/lowcode/tag-c/meta.ts
CHANGED
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
|
|
2
|
-
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
3
|
-
|
|
4
|
-
const TagCMeta: IPublicTypeComponentMetadata = {
|
|
5
|
-
"componentName": "TagC",
|
|
6
|
-
"title": "TagC",
|
|
7
|
-
"docUrl": "",
|
|
8
|
-
"screenshot": "",
|
|
9
|
-
"devMode": "proCode",
|
|
10
|
-
"npm": {
|
|
11
|
-
"package": "@dckj-npm/dc-material",
|
|
12
|
-
"version": "0.1.8",
|
|
13
|
-
"exportName": "TagC",
|
|
14
|
-
"main": "src\\index.tsx",
|
|
15
|
-
"destructuring": true,
|
|
16
|
-
"subName": ""
|
|
17
|
-
},
|
|
18
|
-
"configure": {
|
|
19
|
-
"props": [
|
|
20
|
-
{
|
|
21
|
-
"title": {
|
|
22
|
-
"label": {
|
|
23
|
-
"type": "i18n",
|
|
24
|
-
"en-US": "name",
|
|
25
|
-
"zh-CN": "标签名称"
|
|
26
|
-
},
|
|
27
|
-
"tip": "name | 标签名称"
|
|
28
|
-
},
|
|
29
|
-
"name": "name",
|
|
30
|
-
"description": "标签名称",
|
|
31
|
-
"setter": {
|
|
32
|
-
"componentName": "StringSetter",
|
|
33
|
-
"isRequired": true,
|
|
34
|
-
"initialValue": ""
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"title": {
|
|
39
|
-
"label": {
|
|
40
|
-
"type": "i18n",
|
|
41
|
-
"en-US": "color",
|
|
42
|
-
"zh-CN": "标签颜色"
|
|
43
|
-
},
|
|
44
|
-
"tip": "color | 标签颜色"
|
|
45
|
-
},
|
|
46
|
-
"name": "color",
|
|
47
|
-
"description": "标签颜色",
|
|
48
|
-
"setter": {
|
|
49
|
-
"componentName": "StringSetter",
|
|
50
|
-
"isRequired": true,
|
|
51
|
-
"initialValue": ""
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
],
|
|
55
|
-
"supports": {
|
|
56
|
-
"style": true
|
|
57
|
-
},
|
|
58
|
-
"component": {}
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
const snippets: IPublicTypeSnippet[] = [
|
|
62
|
-
{
|
|
63
|
-
"title": "TagC",
|
|
64
|
-
"screenshot": "",
|
|
65
|
-
"schema": {
|
|
66
|
-
"componentName": "TagC",
|
|
67
|
-
"props": {}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
];
|
|
71
|
-
|
|
72
|
-
export default {
|
|
73
|
-
...TagCMeta,
|
|
74
|
-
snippets
|
|
75
|
-
};
|
|
1
|
+
|
|
2
|
+
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
3
|
+
|
|
4
|
+
const TagCMeta: IPublicTypeComponentMetadata = {
|
|
5
|
+
"componentName": "TagC",
|
|
6
|
+
"title": "TagC",
|
|
7
|
+
"docUrl": "",
|
|
8
|
+
"screenshot": "",
|
|
9
|
+
"devMode": "proCode",
|
|
10
|
+
"npm": {
|
|
11
|
+
"package": "@dckj-npm/dc-material",
|
|
12
|
+
"version": "0.1.8",
|
|
13
|
+
"exportName": "TagC",
|
|
14
|
+
"main": "src\\index.tsx",
|
|
15
|
+
"destructuring": true,
|
|
16
|
+
"subName": ""
|
|
17
|
+
},
|
|
18
|
+
"configure": {
|
|
19
|
+
"props": [
|
|
20
|
+
{
|
|
21
|
+
"title": {
|
|
22
|
+
"label": {
|
|
23
|
+
"type": "i18n",
|
|
24
|
+
"en-US": "name",
|
|
25
|
+
"zh-CN": "标签名称"
|
|
26
|
+
},
|
|
27
|
+
"tip": "name | 标签名称"
|
|
28
|
+
},
|
|
29
|
+
"name": "name",
|
|
30
|
+
"description": "标签名称",
|
|
31
|
+
"setter": {
|
|
32
|
+
"componentName": "StringSetter",
|
|
33
|
+
"isRequired": true,
|
|
34
|
+
"initialValue": ""
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"title": {
|
|
39
|
+
"label": {
|
|
40
|
+
"type": "i18n",
|
|
41
|
+
"en-US": "color",
|
|
42
|
+
"zh-CN": "标签颜色"
|
|
43
|
+
},
|
|
44
|
+
"tip": "color | 标签颜色"
|
|
45
|
+
},
|
|
46
|
+
"name": "color",
|
|
47
|
+
"description": "标签颜色",
|
|
48
|
+
"setter": {
|
|
49
|
+
"componentName": "StringSetter",
|
|
50
|
+
"isRequired": true,
|
|
51
|
+
"initialValue": ""
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"supports": {
|
|
56
|
+
"style": true
|
|
57
|
+
},
|
|
58
|
+
"component": {}
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
const snippets: IPublicTypeSnippet[] = [
|
|
62
|
+
{
|
|
63
|
+
"title": "TagC",
|
|
64
|
+
"screenshot": "",
|
|
65
|
+
"schema": {
|
|
66
|
+
"componentName": "TagC",
|
|
67
|
+
"props": {}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
];
|
|
71
|
+
|
|
72
|
+
export default {
|
|
73
|
+
...TagCMeta,
|
|
74
|
+
snippets
|
|
75
|
+
};
|