@dckj-npm/dc-material 0.1.126 → 0.1.128

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 (116) hide show
  1. package/build/index.js +1 -1
  2. package/build/lowcode/assets-daily.json +13 -13
  3. package/build/lowcode/assets-dev.json +2 -2
  4. package/build/lowcode/assets-prod.json +13 -13
  5. package/build/lowcode/index.js +1 -1
  6. package/build/lowcode/meta.design.js +1 -1
  7. package/build/lowcode/meta.js +1 -1
  8. package/build/lowcode/preview.js +7 -7
  9. package/build/lowcode/render/default/view.css +1 -1
  10. package/build/lowcode/render/default/view.js +6 -6
  11. package/build/lowcode/view.css +1 -1
  12. package/build/lowcode/view.js +6 -6
  13. package/dist/BizComps.css +1 -1
  14. package/dist/BizComps.js +2 -2
  15. package/dist/BizComps.js.map +1 -1
  16. package/es/components/message-list/message-list-item.scss +1 -1
  17. package/es/components/notice-bar/index.scss +6 -6
  18. package/es/components/stream-list/index.d.ts +6 -0
  19. package/es/components/stream-list/index.js +6 -0
  20. package/es/components/stream-list/index.scss +26 -0
  21. package/es/components/stream-list/stream-list.d.ts +54 -0
  22. package/es/components/stream-list/stream-list.js +159 -0
  23. package/es/index.d.ts +2 -0
  24. package/es/index.js +4 -0
  25. package/lib/components/message-list/message-list-item.scss +1 -1
  26. package/lib/components/notice-bar/index.scss +6 -6
  27. package/lib/components/stream-list/index.d.ts +6 -0
  28. package/lib/components/stream-list/index.js +6 -0
  29. package/lib/components/stream-list/index.scss +26 -0
  30. package/lib/components/stream-list/stream-list.d.ts +54 -0
  31. package/lib/components/stream-list/stream-list.js +166 -0
  32. package/lib/index.d.ts +2 -0
  33. package/lib/index.js +5 -1
  34. package/lowcode/button2/meta.ts +59 -58
  35. package/lowcode/custom-radio-group/meta.ts +3 -1
  36. package/lowcode/custom-radio-group-item/meta.ts +185 -184
  37. package/lowcode/d-c-slider/meta.design.ts +3 -2
  38. package/lowcode/d-c-slider/meta.ts +16 -15
  39. package/lowcode/goods-card-list/meta.ts +3 -1
  40. package/lowcode/goods-card-list-common/meta.ts +3 -1
  41. package/lowcode/grid-nav/meta.ts +144 -129
  42. package/lowcode/integral-task/meta.ts +141 -140
  43. package/lowcode/menu-list/meta.ts +114 -107
  44. package/lowcode/message-list/meta.ts +105 -98
  45. package/lowcode/navigation/meta.ts +139 -127
  46. package/lowcode/notice-bar/meta.ts +6 -4
  47. package/lowcode/position/meta.ts +111 -110
  48. package/lowcode/rich-text/meta.ts +49 -50
  49. package/lowcode/search-bar/meta.ts +38 -35
  50. package/lowcode/stream-list/meta.ts +209 -0
  51. package/lowcode/swiper/meta.ts +102 -1
  52. package/lowcode/tab-container/meta.ts +45 -44
  53. package/lowcode/tab-message/meta.ts +84 -80
  54. package/lowcode/tag-c/meta.ts +59 -58
  55. package/lowcode/teletext-list/meta.ts +11 -17
  56. package/lowcode/title1/meta.ts +47 -46
  57. package/lowcode/title2/meta.ts +73 -72
  58. package/lowcode_es/button2/meta.js +48 -46
  59. package/lowcode_es/custom-radio-group/meta.js +3 -1
  60. package/lowcode_es/custom-radio-group-item/meta.js +152 -150
  61. package/lowcode_es/d-c-slider/meta.d.ts +3 -1
  62. package/lowcode_es/d-c-slider/meta.design.d.ts +1 -0
  63. package/lowcode_es/d-c-slider/meta.design.js +2 -1
  64. package/lowcode_es/d-c-slider/meta.js +8 -7
  65. package/lowcode_es/goods-card-list/meta.js +3 -1
  66. package/lowcode_es/goods-card-list-common/meta.js +3 -1
  67. package/lowcode_es/grid-nav/meta.js +109 -108
  68. package/lowcode_es/integral-task/meta.js +101 -99
  69. package/lowcode_es/menu-list/meta.js +79 -77
  70. package/lowcode_es/message-list/meta.js +65 -63
  71. package/lowcode_es/meta.js +3 -2
  72. package/lowcode_es/navigation/meta.js +98 -96
  73. package/lowcode_es/notice-bar/meta.js +3 -1
  74. package/lowcode_es/position/meta.js +77 -75
  75. package/lowcode_es/rich-text/meta.js +34 -32
  76. package/lowcode_es/search-bar/meta.js +23 -21
  77. package/lowcode_es/stream-list/meta.d.ts +22 -0
  78. package/lowcode_es/stream-list/meta.js +196 -0
  79. package/lowcode_es/swiper/meta.js +91 -1
  80. package/lowcode_es/tab-container/meta.d.ts +1 -1
  81. package/lowcode_es/tab-container/meta.js +27 -26
  82. package/lowcode_es/tab-message/meta.js +66 -64
  83. package/lowcode_es/tag-c/meta.js +48 -46
  84. package/lowcode_es/teletext-list/meta.js +4 -9
  85. package/lowcode_es/title1/meta.js +37 -35
  86. package/lowcode_es/title2/meta.js +61 -59
  87. package/lowcode_lib/button2/meta.js +48 -46
  88. package/lowcode_lib/custom-radio-group/meta.js +3 -1
  89. package/lowcode_lib/custom-radio-group-item/meta.js +152 -150
  90. package/lowcode_lib/d-c-slider/meta.d.ts +3 -1
  91. package/lowcode_lib/d-c-slider/meta.design.d.ts +1 -0
  92. package/lowcode_lib/d-c-slider/meta.design.js +2 -1
  93. package/lowcode_lib/d-c-slider/meta.js +8 -7
  94. package/lowcode_lib/goods-card-list/meta.js +3 -1
  95. package/lowcode_lib/goods-card-list-common/meta.js +3 -1
  96. package/lowcode_lib/grid-nav/meta.js +109 -108
  97. package/lowcode_lib/integral-task/meta.js +101 -99
  98. package/lowcode_lib/menu-list/meta.js +79 -77
  99. package/lowcode_lib/message-list/meta.js +65 -63
  100. package/lowcode_lib/meta.js +11 -10
  101. package/lowcode_lib/navigation/meta.js +98 -96
  102. package/lowcode_lib/notice-bar/meta.js +3 -1
  103. package/lowcode_lib/position/meta.js +77 -75
  104. package/lowcode_lib/rich-text/meta.js +34 -32
  105. package/lowcode_lib/search-bar/meta.js +23 -21
  106. package/lowcode_lib/stream-list/meta.d.ts +22 -0
  107. package/lowcode_lib/stream-list/meta.js +201 -0
  108. package/lowcode_lib/swiper/meta.js +91 -1
  109. package/lowcode_lib/tab-container/meta.d.ts +1 -1
  110. package/lowcode_lib/tab-container/meta.js +27 -26
  111. package/lowcode_lib/tab-message/meta.js +66 -64
  112. package/lowcode_lib/tag-c/meta.js +48 -46
  113. package/lowcode_lib/teletext-list/meta.js +4 -9
  114. package/lowcode_lib/title1/meta.js +37 -35
  115. package/lowcode_lib/title2/meta.js +61 -59
  116. package/package.json +3 -3
@@ -1,75 +1,76 @@
1
-
2
- import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
1
+ import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'
3
2
 
4
3
  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": ""
4
+ componentName: 'TagC',
5
+ title: 'TagC',
6
+ docUrl: '',
7
+ screenshot: '',
8
+ devMode: 'proCode',
9
+ npm: {
10
+ package: '@dckj-npm/dc-material',
11
+ version: '0.1.8',
12
+ exportName: 'TagC',
13
+ main: 'src\\index.tsx',
14
+ destructuring: true,
15
+ subName: '',
17
16
  },
18
- "configure": {
19
- "props": [
17
+ configure: {
18
+ props: [
20
19
  {
21
- "title": {
22
- "label": {
23
- "type": "i18n",
24
- "en-US": "name",
25
- "zh-CN": "标签名称"
20
+ title: {
21
+ label: {
22
+ type: 'i18n',
23
+ 'en-US': 'name',
24
+ 'zh-CN': '标签名称',
26
25
  },
27
- "tip": "name | 标签名称"
26
+ tip: 'name | 标签名称',
27
+ },
28
+ name: 'name',
29
+ description: '标签名称',
30
+ setter: {
31
+ componentName: 'StringSetter',
32
+ isRequired: true,
33
+ initialValue: '',
28
34
  },
29
- "name": "name",
30
- "description": "标签名称",
31
- "setter": {
32
- "componentName": "StringSetter",
33
- "isRequired": true,
34
- "initialValue": ""
35
- }
36
35
  },
37
36
  {
38
- "title": {
39
- "label": {
40
- "type": "i18n",
41
- "en-US": "color",
42
- "zh-CN": "标签颜色"
37
+ title: {
38
+ label: {
39
+ type: 'i18n',
40
+ 'en-US': 'color',
41
+ 'zh-CN': '标签颜色',
43
42
  },
44
- "tip": "color | 标签颜色"
43
+ tip: 'color | 标签颜色',
45
44
  },
46
- "name": "color",
47
- "description": "标签颜色",
48
- "setter": {
49
- "componentName": "StringSetter",
50
- "isRequired": true,
51
- "initialValue": ""
52
- }
53
- }
45
+ name: 'color',
46
+ description: '标签颜色',
47
+ setter: {
48
+ componentName: 'StringSetter',
49
+ isRequired: true,
50
+ initialValue: '',
51
+ },
52
+ },
54
53
  ],
55
- "supports": {
56
- "style": true
54
+ supports: {
55
+ style: true,
57
56
  },
58
- "component": {}
59
- }
60
- };
57
+ component: {
58
+ disableBehaviors: ['copy'],
59
+ },
60
+ },
61
+ }
61
62
  const snippets: IPublicTypeSnippet[] = [
62
63
  {
63
- "title": "TagC",
64
- "screenshot": "",
65
- "schema": {
66
- "componentName": "TagC",
67
- "props": {}
68
- }
69
- }
70
- ];
64
+ title: 'TagC',
65
+ screenshot: '',
66
+ schema: {
67
+ componentName: 'TagC',
68
+ props: {},
69
+ },
70
+ },
71
+ ]
71
72
 
72
73
  export default {
73
74
  ...TagCMeta,
74
- snippets
75
- };
75
+ snippets,
76
+ }
@@ -268,9 +268,11 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
268
268
  },
269
269
  ],
270
270
  },
271
- component: {},
272
- },
273
- }
271
+ "component": {
272
+ disableBehaviors: ['copy'],
273
+ }
274
+ }
275
+ };
274
276
  const snippets: IPublicTypeSnippet[] = [
275
277
  {
276
278
  title: '图文列表',
@@ -316,21 +318,13 @@ const snippets: IPublicTypeSnippet[] = [
316
318
  props: {
317
319
  name: '报名火热',
318
320
  color: 'orange',
319
- key: 'teletext-tagc-1',
320
- },
321
- },
322
- {
323
- componentName: 'TagC',
324
- props: {
325
- name: '报名火热',
326
- color: 'green',
327
- key: 'teletext-tagc-2',
321
+ key: 'teletext-tag-c'
328
322
  },
329
- },
330
- ],
331
- },
332
- },
333
- ]
323
+ }
324
+ ]
325
+ }
326
+ }
327
+ ];
334
328
 
335
329
  export default {
336
330
  ...TeletextListMeta,
@@ -1,59 +1,60 @@
1
-
2
- import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
1
+ import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'
3
2
 
4
3
  const Title1Meta: IPublicTypeComponentMetadata = {
5
- "group": "低代码组件",
6
- "componentName": "Title1",
7
- "title": "个性化标题1",
8
- "docUrl": "",
9
- "screenshot": "",
10
- "devMode": "proCode",
11
- "npm": {
12
- "package": "@dckj-npm/dc-material",
13
- "version": "0.1.8",
14
- "exportName": "Title1",
15
- "main": "src/index.tsx",
16
- "destructuring": true,
17
- "subName": ""
4
+ group: '低代码组件',
5
+ componentName: 'Title1',
6
+ title: '个性化标题1',
7
+ docUrl: '',
8
+ screenshot: '',
9
+ devMode: 'proCode',
10
+ npm: {
11
+ package: '@dckj-npm/dc-material',
12
+ version: '0.1.8',
13
+ exportName: 'Title1',
14
+ main: 'src/index.tsx',
15
+ destructuring: true,
16
+ subName: '',
18
17
  },
19
- "configure": {
20
- "props": [
18
+ configure: {
19
+ props: [
21
20
  {
22
- "title": {
23
- "label": {
24
- "type": "i18n",
25
- "en-US": "title",
26
- "zh-CN": "标题"
21
+ title: {
22
+ label: {
23
+ type: 'i18n',
24
+ 'en-US': 'title',
25
+ 'zh-CN': '标题',
27
26
  },
28
- "tip": "title | 标题"
27
+ tip: 'title | 标题',
28
+ },
29
+ name: 'title',
30
+ description: '标题',
31
+ setter: {
32
+ componentName: 'StringSetter',
33
+ isRequired: false,
34
+ initialValue: '标题名称',
29
35
  },
30
- "name": "title",
31
- "description": "标题",
32
- "setter": {
33
- "componentName": "StringSetter",
34
- "isRequired": false,
35
- "initialValue": "标题名称"
36
- }
37
- }
36
+ },
38
37
  ],
39
- "supports": {
40
- "style": true
38
+ supports: {
39
+ style: true,
40
+ },
41
+ component: {
42
+ disableBehaviors: ['copy'],
41
43
  },
42
- "component": {}
43
- }
44
- };
44
+ },
45
+ }
45
46
  const snippets: IPublicTypeSnippet[] = [
46
47
  {
47
- "title": "个性化标题1",
48
- "screenshot": "",
49
- "schema": {
50
- "componentName": "Title1",
51
- "props": {}
52
- }
53
- }
54
- ];
48
+ title: '个性化标题1',
49
+ screenshot: '',
50
+ schema: {
51
+ componentName: 'Title1',
52
+ props: {},
53
+ },
54
+ },
55
+ ]
55
56
 
56
57
  export default {
57
58
  ...Title1Meta,
58
- snippets
59
- };
59
+ snippets,
60
+ }
@@ -1,93 +1,94 @@
1
-
2
- import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
1
+ import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'
3
2
 
4
3
  const Title2Meta: IPublicTypeComponentMetadata = {
5
- "group": "低代码组件",
6
- "componentName": "Title2",
7
- "title": "个性化标题2",
8
- "docUrl": "",
9
- "screenshot": "",
10
- "devMode": "proCode",
11
- "npm": {
12
- "package": "@dckj-npm/dc-material",
13
- "version": "0.1.8",
14
- "exportName": "Title2",
15
- "main": "src/index.tsx",
16
- "destructuring": true,
17
- "subName": ""
4
+ group: '低代码组件',
5
+ componentName: 'Title2',
6
+ title: '个性化标题2',
7
+ docUrl: '',
8
+ screenshot: '',
9
+ devMode: 'proCode',
10
+ npm: {
11
+ package: '@dckj-npm/dc-material',
12
+ version: '0.1.8',
13
+ exportName: 'Title2',
14
+ main: 'src/index.tsx',
15
+ destructuring: true,
16
+ subName: '',
18
17
  },
19
- "configure": {
20
- "props": [
18
+ configure: {
19
+ props: [
21
20
  {
22
- "title": {
23
- "label": {
24
- "type": "i18n",
25
- "en-US": "title",
26
- "zh-CN": "标题"
21
+ title: {
22
+ label: {
23
+ type: 'i18n',
24
+ 'en-US': 'title',
25
+ 'zh-CN': '标题',
27
26
  },
28
- "tip": "title | 标题"
27
+ tip: 'title | 标题',
28
+ },
29
+ name: 'title',
30
+ description: '标题',
31
+ setter: {
32
+ componentName: 'StringSetter',
33
+ isRequired: false,
34
+ initialValue: '标题名称',
29
35
  },
30
- "name": "title",
31
- "description": "标题",
32
- "setter": {
33
- "componentName": "StringSetter",
34
- "isRequired": false,
35
- "initialValue": "标题名称"
36
- }
37
36
  },
38
37
  {
39
- "title": {
40
- "label": {
41
- "type": "i18n",
42
- "en-US": "color",
43
- "zh-CN": "颜色"
38
+ title: {
39
+ label: {
40
+ type: 'i18n',
41
+ 'en-US': 'color',
42
+ 'zh-CN': '颜色',
44
43
  },
45
- "tip": "color | 颜色"
44
+ tip: 'color | 颜色',
45
+ },
46
+ name: 'color',
47
+ description: '颜色',
48
+ setter: {
49
+ componentName: 'ColorSetter',
50
+ isRequired: false,
51
+ initialValue: '#144477',
46
52
  },
47
- "name": "color",
48
- "description": "颜色",
49
- "setter": {
50
- "componentName": "ColorSetter",
51
- "isRequired": false,
52
- "initialValue": "#144477"
53
- }
54
53
  },
55
54
  {
56
- "title": {
57
- "label": {
58
- "type": "i18n",
59
- "en-US": "tipColor",
60
- "zh-CN": "tip颜色"
55
+ title: {
56
+ label: {
57
+ type: 'i18n',
58
+ 'en-US': 'tipColor',
59
+ 'zh-CN': 'tip颜色',
61
60
  },
62
- "tip": "tipColor | tip颜色"
61
+ tip: 'tipColor | tip颜色',
63
62
  },
64
- "name": "tipColor",
65
- "description": "tip颜色",
66
- "setter": {
67
- "componentName": "ColorSetter",
68
- "isRequired": false,
69
- "initialValue": "#388AF7"
70
- }
71
- }
63
+ name: 'tipColor',
64
+ description: 'tip颜色',
65
+ setter: {
66
+ componentName: 'ColorSetter',
67
+ isRequired: false,
68
+ initialValue: '#388AF7',
69
+ },
70
+ },
72
71
  ],
73
- "supports": {
74
- "style": true
72
+ supports: {
73
+ style: true,
75
74
  },
76
- "component": {}
77
- }
78
- };
75
+ component: {
76
+ disableBehaviors: ['copy'],
77
+ },
78
+ },
79
+ }
79
80
  const snippets: IPublicTypeSnippet[] = [
80
81
  {
81
- "title": "个性化标题2",
82
- "screenshot": "",
83
- "schema": {
84
- "componentName": "Title2",
85
- "props": {}
86
- }
87
- }
88
- ];
82
+ title: '个性化标题2',
83
+ screenshot: '',
84
+ schema: {
85
+ componentName: 'Title2',
86
+ props: {},
87
+ },
88
+ },
89
+ ]
89
90
 
90
91
  export default {
91
92
  ...Title2Meta,
92
- snippets
93
- };
93
+ snippets,
94
+ }
@@ -1,64 +1,66 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  var Button2Meta = {
3
- "componentName": "Button2",
4
- "title": "按钮",
5
- "docUrl": "",
6
- "screenshot": "",
7
- "devMode": "proCode",
8
- "npm": {
9
- "package": "@dckj-npm/dc-material",
10
- "version": "0.1.13",
11
- "exportName": "Button2",
12
- "main": "src\\index.tsx",
13
- "destructuring": true,
14
- "subName": ""
3
+ componentName: 'Button2',
4
+ title: '按钮',
5
+ docUrl: '',
6
+ screenshot: '',
7
+ devMode: 'proCode',
8
+ npm: {
9
+ "package": '@dckj-npm/dc-material',
10
+ version: '0.1.13',
11
+ exportName: 'Button2',
12
+ main: 'src\\index.tsx',
13
+ destructuring: true,
14
+ subName: ''
15
15
  },
16
- "configure": {
17
- "props": [{
18
- "title": {
19
- "label": {
20
- "type": "i18n",
21
- "en-US": "name",
22
- "zh-CN": "标签名称"
16
+ configure: {
17
+ props: [{
18
+ title: {
19
+ label: {
20
+ type: 'i18n',
21
+ 'en-US': 'name',
22
+ 'zh-CN': '标签名称'
23
23
  },
24
- "tip": "name | 标签名称"
24
+ tip: 'name | 标签名称'
25
25
  },
26
- "name": "name",
27
- "description": "标签名称",
28
- "setter": {
29
- "componentName": "StringSetter",
30
- "isRequired": true,
31
- "initialValue": ""
26
+ name: 'name',
27
+ description: '标签名称',
28
+ setter: {
29
+ componentName: 'StringSetter',
30
+ isRequired: true,
31
+ initialValue: ''
32
32
  }
33
33
  }, {
34
- "title": {
35
- "label": {
36
- "type": "i18n",
37
- "en-US": "color",
38
- "zh-CN": "标签颜色"
34
+ title: {
35
+ label: {
36
+ type: 'i18n',
37
+ 'en-US': 'color',
38
+ 'zh-CN': '标签颜色'
39
39
  },
40
- "tip": "color | 标签颜色"
40
+ tip: 'color | 标签颜色'
41
41
  },
42
- "name": "color",
43
- "description": "标签颜色",
44
- "setter": {
45
- "componentName": "StringSetter",
46
- "isRequired": true,
47
- "initialValue": ""
42
+ name: 'color',
43
+ description: '标签颜色',
44
+ setter: {
45
+ componentName: 'StringSetter',
46
+ isRequired: true,
47
+ initialValue: ''
48
48
  }
49
49
  }],
50
- "supports": {
51
- "style": true
50
+ supports: {
51
+ style: true
52
52
  },
53
- "component": {}
53
+ component: {
54
+ disableBehaviors: ['copy']
55
+ }
54
56
  }
55
57
  };
56
58
  var snippets = [{
57
- "title": "按钮",
58
- "screenshot": "",
59
- "schema": {
60
- "componentName": "Button2",
61
- "props": {}
59
+ title: '按钮',
60
+ screenshot: '',
61
+ schema: {
62
+ componentName: 'Button2',
63
+ props: {}
62
64
  }
63
65
  }];
64
66
  export default _extends({}, Button2Meta, {
@@ -270,7 +270,9 @@ var CustomRadioGroupMeta = {
270
270
  supports: {
271
271
  style: true
272
272
  },
273
- component: {}
273
+ component: {
274
+ disableBehaviors: ['copy']
275
+ }
274
276
  }
275
277
  };
276
278
  var snippets = [{