@cloudbase/weda-ui 3.1.1 → 3.1.4

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 (49) hide show
  1. package/dist/asset-manifest.json +17 -0
  2. package/dist/configs/components/carousel.json +2 -2
  3. package/dist/configs/components/form/checkbox.json +1 -0
  4. package/dist/configs/components/form/form.json +39 -15
  5. package/dist/configs/components/form/location.json +0 -32
  6. package/dist/configs/components/form/select.json +1 -0
  7. package/dist/index.html +88 -0
  8. package/dist/static/js/bundle.js +963 -0
  9. package/dist/static/js/bundle.js.map +1 -0
  10. package/dist/static/js/main.chunk.js +8841 -0
  11. package/dist/static/js/main.chunk.js.map +1 -0
  12. package/dist/static/js/vendors~main.chunk.js +247885 -0
  13. package/dist/static/js/vendors~main.chunk.js.map +1 -0
  14. package/dist/static/media/ef6fa527e24e354765d806b826b41391.fa67580a.svg +627 -0
  15. package/dist/web/components/chart/common/core/eChartBar.d.ts +36 -0
  16. package/dist/web/components/chart/common/core/eChartBar.js +3 -1
  17. package/dist/web/components/chart/common/core/eChartLine.d.ts +34 -0
  18. package/dist/web/components/chart/common/core/eChartLine.js +3 -1
  19. package/dist/web/components/chart/common/core/eChartPie.d.ts +22 -0
  20. package/dist/web/components/form/checkbox/index.js +1 -1
  21. package/dist/web/components/form/form/index.css +4 -0
  22. package/dist/web/components/form/form/index.d.ts +21 -2
  23. package/dist/web/components/form/form/index.js +90 -16
  24. package/dist/web/components/form/location/common/mapChoose.js +97 -35
  25. package/dist/web/components/form/location/common/propsConfig.d.ts +1 -4
  26. package/dist/web/components/form/location/common/propsConfig.js +0 -2
  27. package/dist/web/components/form/location/common/useLocationInfo.d.ts +2 -0
  28. package/dist/web/components/form/location/common/useLocationInfo.js +19 -3
  29. package/dist/web/components/form/location/components/LocationH5/index.css +1 -1
  30. package/dist/web/components/form/location/components/LocationH5/location.h5.js +30 -54
  31. package/dist/web/components/form/location/components/LocationPC/location.PC.js +16 -51
  32. package/dist/web/components/form/select/dropdown-select/ui.d.ts +15 -0
  33. package/dist/web/components/form/select/dropdown-select/ui.js +55 -0
  34. package/dist/web/components/form/select/h5.d.ts +1 -1
  35. package/dist/web/components/form/select/h5.js +54 -150
  36. package/dist/web/components/form/select/index.d.ts +1 -1
  37. package/dist/web/components/form/select/index.js +33 -94
  38. package/dist/web/components/form/select/use-options.d.ts +26 -0
  39. package/dist/web/components/form/select/use-options.js +103 -0
  40. package/dist/web/components/form/uploader/index.css +10 -3
  41. package/dist/web/components/form/uploader/uploader.h5.d.ts +1 -1
  42. package/dist/web/components/form/uploader/uploader.h5.js +18 -19
  43. package/dist/web/components/form/uploader/uploader.pc.js +6 -3
  44. package/dist/web/components/richText/index.js +20 -17
  45. package/dist/web/utils/isObjectEqual.d.ts +1 -1
  46. package/dist/web/utils/tcb.d.ts +5 -1
  47. package/dist/web/utils/tcb.js +26 -3
  48. package/package.json +41 -39
  49. package/CHANGELOG.md +0 -7
@@ -0,0 +1,17 @@
1
+ {
2
+ "files": {
3
+ "main.js": "/static/js/main.chunk.js",
4
+ "main.js.map": "/static/js/main.chunk.js.map",
5
+ "runtime-main.js": "/static/js/bundle.js",
6
+ "runtime-main.js.map": "/static/js/bundle.js.map",
7
+ "vendors~main.js": "/static/js/vendors~main.chunk.js",
8
+ "vendors~main.js.map": "/static/js/vendors~main.chunk.js.map",
9
+ "index.html": "/index.html",
10
+ "static/media/ef6fa527e24e354765d806b826b41391.svg": "/static/media/ef6fa527e24e354765d806b826b41391.fa67580a.svg"
11
+ },
12
+ "entrypoints": [
13
+ "static/js/bundle.js",
14
+ "static/js/vendors~main.chunk.js",
15
+ "static/js/main.chunk.js"
16
+ ]
17
+ }
@@ -83,7 +83,7 @@
83
83
  "properties": {
84
84
  "title": {
85
85
  "type": "string",
86
- "title": "图片标题",
86
+ "title": "标题",
87
87
  "default": "图片1",
88
88
  "x-index": 20
89
89
  },
@@ -95,7 +95,7 @@
95
95
  "pattern": "^(((https?)://)|/resources/)[^\\s]+$"
96
96
  }
97
97
  ],
98
- "title": "图片1",
98
+ "title": "图片",
99
99
  "default": "https://main.qcloudimg.com/raw/828ee6644f137d166b063ad7f5dda842.png",
100
100
  "x-index": 30
101
101
  },
@@ -34,6 +34,7 @@
34
34
  "target": "range",
35
35
  "schema": {
36
36
  "items": {
37
+ "path": "range.*",
37
38
  "type": "object",
38
39
  "display": "label",
39
40
  "properties": {
@@ -2,24 +2,44 @@
2
2
  "$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
3
3
  "data": {
4
4
  "properties": {
5
+ "formType": {
6
+ "type": "string",
7
+ "title": "表单场景",
8
+ "default": "create"
9
+ },
10
+ "datasourceType": {
11
+ "type": "string",
12
+ "title": "数据源类型",
13
+ "default": "model"
14
+ },
15
+ "dataSourceName": {
16
+ "type": "string",
17
+ "title": "数据模型"
18
+ },
19
+ "_id": {
20
+ "type": "string",
21
+ "title": "数据标识(_id)"
22
+ },
23
+ "methodCreate": {
24
+ "type": "string",
25
+ "title": "新增方法"
26
+ },
27
+ "methodGetItem": {
28
+ "type": "string",
29
+ "title": "查询方法"
30
+ },
31
+ "paramGetItem": {
32
+ "type": "object",
33
+ "title": "查询入参"
34
+ },
35
+ "methodUpdate": {
36
+ "type": "string",
37
+ "title": "更新方法"
38
+ },
5
39
  "layout": {
6
- "x-platforms": ["PCWEB"],
7
- "enum": [
8
- {
9
- "label": "水平",
10
- "value": "horizontal"
11
- },
12
- {
13
- "label": "垂直",
14
- "value": "vertical"
15
- }
16
- ],
17
40
  "type": "string",
18
41
  "title": "布局方式",
19
- "default": "horizontal",
20
- "x-index": 50,
21
- "x-category": "基础属性",
22
- "remarks": "设置当前容器内表单类组件的标题和输入选择区域为左右布局或上下布局"
42
+ "default": "horizontal"
23
43
  },
24
44
  "contentSlot": {
25
45
  "type": "slot",
@@ -35,6 +55,10 @@
35
55
  {
36
56
  "name": "reset",
37
57
  "title": "重置"
58
+ },
59
+ {
60
+ "name": "onInitValue",
61
+ "title": "获取初始值"
38
62
  }
39
63
  ],
40
64
  "meta": {
@@ -11,10 +11,6 @@
11
11
  {
12
12
  "label": "用户当前位置",
13
13
  "value": 2
14
- },
15
- {
16
- "label": "自定义",
17
- "value": 3
18
14
  }
19
15
  ],
20
16
  "type": "string",
@@ -22,34 +18,6 @@
22
18
  "default": 1,
23
19
  "x-index": 3
24
20
  },
25
- "customLocation": {
26
- "type": "object",
27
- "title": "位置输入",
28
- "x-index": 4,
29
- "x-category": "基础属性",
30
- "properties": {
31
- "latitude": {
32
- "title": "纬度",
33
- "type": "number",
34
- "default": 22.540366
35
- },
36
- "longitude": {
37
- "title": "经度",
38
- "type": "number",
39
- "default": 113.934559
40
- },
41
- "poiname": {
42
- "title": "详细位置",
43
- "type": "string",
44
- "default": "深圳市南山区深南大道10000号腾讯大厦"
45
- }
46
- },
47
- "default": {
48
- "latitude": 22.540366,
49
- "longitude": 113.934559,
50
- "poiname": "深圳市南山区深南大道10000号腾讯大厦"
51
- }
52
- },
53
21
  "dataSource": {
54
22
  "type": "object",
55
23
  "title": "地图数据源",
@@ -341,6 +341,7 @@
341
341
  "target": "range",
342
342
  "schema": {
343
343
  "items": {
344
+ "path": "range.*",
344
345
  "display": "label",
345
346
  "type": "object",
346
347
  "properties": {
@@ -0,0 +1,88 @@
1
+ Html Webpack Plugin:
2
+ <pre>
3
+ Error: Child compilation failed:
4
+ Entry module not found: Error: Can't resolve '/Users/fengkx/lowcode/weda-ui/public/index.html' in '/Users/fengkx/lowcode/weda-ui':
5
+ Error: Can't resolve '/Users/fengkx/lowcode/weda-ui/public/index.html' in '/Users/fengkx/lowcode/weda-ui'
6
+ EntryModuleNotFoundError: Entry module not found: Error: Can't resolve '/Users/fengkx/lowcode/weda-ui/public/index.html' in '/Users/fengkx/lowcode/weda-ui '
7
+
8
+ - Compilation.js:1075
9
+ [weda-ui]/[builder-webpack4]/[webpack]/lib/Compilation.js:1075:31
10
+
11
+ - NormalModuleFactory.js:401
12
+ [weda-ui]/[builder-webpack4]/[webpack]/lib/NormalModuleFactory.js:401:22
13
+
14
+ - NormalModuleFactory.js:130
15
+ [weda-ui]/[builder-webpack4]/[webpack]/lib/NormalModuleFactory.js:130:21
16
+
17
+ - NormalModuleFactory.js:224
18
+ [weda-ui]/[builder-webpack4]/[webpack]/lib/NormalModuleFactory.js:224:22
19
+
20
+ - async.js:2830
21
+ [weda-ui]/[neo-async]/async.js:2830:7
22
+
23
+ - async.js:6877
24
+ [weda-ui]/[neo-async]/async.js:6877:13
25
+
26
+ - NormalModuleFactory.js:214
27
+ [weda-ui]/[builder-webpack4]/[webpack]/lib/NormalModuleFactory.js:214:25
28
+
29
+ - Resolver.js:213
30
+ [weda-ui]/[enhanced-resolve]/lib/Resolver.js:213:14
31
+
32
+ - Resolver.js:285
33
+ [weda-ui]/[enhanced-resolve]/lib/Resolver.js:285:5
34
+
35
+
36
+ - UnsafeCachePlugin.js:44
37
+ [weda-ui]/[enhanced-resolve]/lib/UnsafeCachePlugin.js:44:7
38
+
39
+ - Resolver.js:285
40
+ [weda-ui]/[enhanced-resolve]/lib/Resolver.js:285:5
41
+
42
+
43
+ - Resolver.js:285
44
+ [weda-ui]/[enhanced-resolve]/lib/Resolver.js:285:5
45
+
46
+
47
+ - DescriptionFilePlugin.js:67
48
+ [weda-ui]/[enhanced-resolve]/lib/DescriptionFilePlugin.js:67:43
49
+
50
+ - child-compiler.js:131
51
+ [weda-ui]/[react-scripts]/[html-webpack-plugin]/lib/child-compiler.js:131:18
52
+
53
+ - Compiler.js:343
54
+ [weda-ui]/[builder-webpack4]/[webpack]/lib/Compiler.js:343:11
55
+
56
+ - Compiler.js:681
57
+ [weda-ui]/[builder-webpack4]/[webpack]/lib/Compiler.js:681:15
58
+
59
+
60
+ - Hook.js:154 AsyncSeriesHook.lazyCompileHook
61
+ [weda-ui]/[tapable]/lib/Hook.js:154:20
62
+
63
+ - Compiler.js:678
64
+ [weda-ui]/[builder-webpack4]/[webpack]/lib/Compiler.js:678:31
65
+
66
+
67
+ - Hook.js:154 AsyncSeriesHook.lazyCompileHook
68
+ [weda-ui]/[tapable]/lib/Hook.js:154:20
69
+
70
+ - Compilation.js:1423
71
+ [weda-ui]/[builder-webpack4]/[webpack]/lib/Compilation.js:1423:35
72
+
73
+
74
+ - Hook.js:154 AsyncSeriesHook.lazyCompileHook
75
+ [weda-ui]/[tapable]/lib/Hook.js:154:20
76
+
77
+ - Compilation.js:1414
78
+ [weda-ui]/[builder-webpack4]/[webpack]/lib/Compilation.js:1414:32
79
+
80
+
81
+ - Hook.js:154 AsyncSeriesHook.lazyCompileHook
82
+ [weda-ui]/[tapable]/lib/Hook.js:154:20
83
+
84
+ - Compilation.js:1409
85
+ [weda-ui]/[builder-webpack4]/[webpack]/lib/Compilation.js:1409:36
86
+
87
+
88
+ </pre><script src="/static/js/bundle.js"></script><script src="/static/js/vendors~main.chunk.js"></script><script src="/static/js/main.chunk.js"></script>