@dckj-npm/dc-material 0.1.332 → 0.1.333

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.
@@ -35,6 +35,29 @@ const CollapseMeta: IPublicTypeComponentMetadata = {
35
35
  },
36
36
  },
37
37
  },
38
+ {
39
+ title: '类型',
40
+ name: 'type',
41
+ setter: {
42
+ componentName: 'RadioGroupSetter',
43
+ props: {
44
+ options: [
45
+ {
46
+ label: '普通',
47
+ value: 'default',
48
+ },
49
+ {
50
+ label: '无边框',
51
+ value: 'borderless',
52
+ },
53
+ {
54
+ label: '有边框',
55
+ value: 'bordered',
56
+ },
57
+ ],
58
+ },
59
+ },
60
+ },
38
61
  {
39
62
  title: '折叠面板项配置',
40
63
  name: 'itemList',
@@ -0,0 +1,102 @@
1
+ import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'
2
+
3
+ const RatingMeta: IPublicTypeComponentMetadata = {
4
+ group: '低代码组件',
5
+ componentName: 'Rating',
6
+ title: '评分',
7
+ docUrl: '',
8
+ screenshot: '',
9
+ devMode: 'proCode',
10
+ npm: {
11
+ package: '@dckj-npm/dc-material',
12
+ version: '0.1.230',
13
+ exportName: 'Rating',
14
+ main: 'src\\index.tsx',
15
+ destructuring: true,
16
+ subName: '',
17
+ },
18
+ configure: {
19
+ props: [
20
+ {
21
+ title: '数据源绑定',
22
+ name: 'dataSource',
23
+ setter: {
24
+ componentName: 'SetterFormVariable',
25
+ props: {
26
+ attributes: [
27
+ {
28
+ label: '评分',
29
+ value: 'value',
30
+ },
31
+ ],
32
+ },
33
+ },
34
+ },
35
+ {
36
+ title: '值',
37
+ name: 'value',
38
+ setter: {
39
+ componentName: 'NumberSetter',
40
+ isRequired: true,
41
+ initialValue: 0,
42
+ },
43
+ },
44
+ {
45
+ title: '尺寸',
46
+ name: 'size',
47
+ setter: {
48
+ componentName: 'RadioGroupSetter',
49
+ props: {
50
+ dataSource: [
51
+ { label: '小', value: 'small' },
52
+ { label: '中', value: 'medium' },
53
+ { label: '大', value: 'large' },
54
+ ],
55
+ options: [
56
+ { label: '小', value: 'small' },
57
+ { label: '中', value: 'medium' },
58
+ { label: '大', value: 'large' },
59
+ ],
60
+ },
61
+ initialValue: 'medium',
62
+ },
63
+ },
64
+ {
65
+ title: '是否禁用',
66
+ name: 'disabled',
67
+ setter: {
68
+ componentName: 'BoolSetter',
69
+ isRequired: true,
70
+ initialValue: false,
71
+ },
72
+ },
73
+ ],
74
+ supports: {
75
+ style: true,
76
+ },
77
+ component: {
78
+ disableBehaviors: ['copy'],
79
+ },
80
+ },
81
+ }
82
+
83
+ const snippets: IPublicTypeSnippet[] = [
84
+ {
85
+ title: '评分',
86
+ screenshot: '',
87
+ schema: {
88
+ componentName: 'Rating',
89
+ props: {
90
+ dataSource: [],
91
+ value: 0,
92
+ disabled: false,
93
+ size: 'medium',
94
+ },
95
+ },
96
+ },
97
+ ]
98
+
99
+ export default {
100
+ ...RatingMeta,
101
+ snippets,
102
+ }
@@ -0,0 +1,137 @@
1
+ import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'
2
+
3
+ const ReviewListMeta: IPublicTypeComponentMetadata = {
4
+ group: '低代码组件',
5
+ componentName: 'ReviewList',
6
+ title: '评价列表',
7
+ docUrl: '',
8
+ screenshot: '',
9
+ devMode: 'proCode',
10
+ npm: {
11
+ package: '@dckj-npm/dc-material',
12
+ version: '0.1.230',
13
+ exportName: 'ReviewList',
14
+ main: 'src\\index.tsx',
15
+ destructuring: true,
16
+ subName: '',
17
+ },
18
+ configure: {
19
+ props: [
20
+ {
21
+ title: '数据源绑定',
22
+ name: 'dataList',
23
+ setter: {
24
+ componentName: 'SetterFormVariable',
25
+ props: {
26
+ attributes: [
27
+ {
28
+ label: '评价列表',
29
+ value: 'dataList',
30
+ children: [
31
+ { label: '头像', value: 'avatar' },
32
+ { label: '用户名', value: 'userName' },
33
+ { label: '评分', value: 'score' },
34
+ { label: '评价时间', value: 'time' },
35
+ { label: '评价内容', value: 'content' },
36
+ { label: '点赞数', value: 'likeCount' },
37
+ { label: '点踩数', value: 'dislikeCount' },
38
+ ],
39
+ },
40
+ ],
41
+ },
42
+ },
43
+ },
44
+ ],
45
+ supports: {
46
+ style: true,
47
+ },
48
+ component: {
49
+ disableBehaviors: ['copy'],
50
+ },
51
+ },
52
+ }
53
+
54
+ const snippets: IPublicTypeSnippet[] = [
55
+ {
56
+ title: '评价列表',
57
+ screenshot: '',
58
+ schema: {
59
+ componentName: 'ReviewList',
60
+ props: {
61
+ dataList: [
62
+ {
63
+ avatar: 'https://img.alicdn.com/tfs/TB1Q1Q1QFXXXXXQXVXXXXXXXXXX-200-200.png',
64
+ userName: 'Mark Jacob',
65
+ time: '2025-03-15',
66
+ score: 4,
67
+ content:
68
+ "It's a really cute skirt! I didn't expect to feel so good in a polyester material. The print is slightly less bright than what is shown in the product description.",
69
+ likeCount: 22,
70
+ dislikeCount: 2,
71
+ },
72
+ ],
73
+ },
74
+ children: [
75
+ {
76
+ componentName: 'NextText',
77
+ props: {
78
+ type: 'h5',
79
+ key: 'username',
80
+ style: {
81
+ fontSize: '15px',
82
+ color: '#333',
83
+ fontWeght: 'bold',
84
+ },
85
+ },
86
+ },
87
+ {
88
+ componentName: 'NextText',
89
+ props: {
90
+ type: 'h5',
91
+ key: 'time',
92
+ style: {
93
+ fontSize: '15px',
94
+ color: '#333',
95
+ fontWeght: 'bold',
96
+ },
97
+ },
98
+ },
99
+ {
100
+ componentName: 'NextText',
101
+ props: {
102
+ type: 'inherit',
103
+ key: 'content',
104
+ style: {
105
+ fontSize: '13px',
106
+ color: '#333',
107
+ },
108
+ },
109
+ },
110
+ {
111
+ componentName: 'Image',
112
+ props: {
113
+ key: 'like',
114
+ width: 20,
115
+ height: 20,
116
+ style: {
117
+ borderRadius: '50%',
118
+ },
119
+ },
120
+ },
121
+ {
122
+ componentName: 'Image',
123
+ props: {
124
+ key: 'unlike',
125
+ width: 20,
126
+ height: 20,
127
+ style: {
128
+ borderRadius: '50%',
129
+ },
130
+ },
131
+ },
132
+ ],
133
+ },
134
+ },
135
+ ]
136
+
137
+ export default { ...ReviewListMeta, snippets }
@@ -70,10 +70,12 @@ const SelectMeta: IPublicTypeComponentMetadata = {
70
70
  dataSource: [
71
71
  { label: '数字', value: 'number' },
72
72
  { label: '字符串', value: 'string' },
73
+ { label: '颜色', value: 'color' },
73
74
  ],
74
75
  options: [
75
76
  { label: '数字', value: 'number' },
76
77
  { label: '字符串', value: 'string' },
78
+ { label: '颜色', value: 'color' },
77
79
  ],
78
80
  },
79
81
  },
@@ -33,6 +33,24 @@ var CollapseMeta = {
33
33
  }]
34
34
  }
35
35
  }
36
+ }, {
37
+ title: '类型',
38
+ name: 'type',
39
+ setter: {
40
+ componentName: 'RadioGroupSetter',
41
+ props: {
42
+ options: [{
43
+ label: '普通',
44
+ value: 'default'
45
+ }, {
46
+ label: '无边框',
47
+ value: 'borderless'
48
+ }, {
49
+ label: '有边框',
50
+ value: 'bordered'
51
+ }]
52
+ }
53
+ }
36
54
  }, {
37
55
  title: '折叠面板项配置',
38
56
  name: 'itemList',
@@ -22,6 +22,8 @@ import NavigationMeta from 'D:/project/company2/lowcode-material/lowcode/navigat
22
22
  import NoticeBarMeta from 'D:/project/company2/lowcode-material/lowcode/notice-bar/meta';
23
23
  import PositionMeta from 'D:/project/company2/lowcode-material/lowcode/position/meta';
24
24
  import ProfileMeta from 'D:/project/company2/lowcode-material/lowcode/profile/meta';
25
+ import RatingMeta from 'D:/project/company2/lowcode-material/lowcode/rating/meta';
26
+ import ReviewListMeta from 'D:/project/company2/lowcode-material/lowcode/review-list/meta';
25
27
  import RichTextMeta from 'D:/project/company2/lowcode-material/lowcode/rich-text/meta';
26
28
  import SearchBarMeta from 'D:/project/company2/lowcode-material/lowcode/search-bar/meta';
27
29
  import SearchHistoryListMeta from 'D:/project/company2/lowcode-material/lowcode/search-history-list/meta';
@@ -110,7 +112,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
110
112
  packageName = '@dckj-npm/dc-material';
111
113
  }
112
114
  if (version === void 0) {
113
- version = '0.1.332';
115
+ version = '0.1.333';
114
116
  }
115
117
  if (basicLibraryVersion === void 0) {
116
118
  basicLibraryVersion = {
@@ -137,7 +139,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
137
139
  }
138
140
  return meta;
139
141
  }
140
- var componentMetas = [AddressListMeta, BreadCrumbMeta, Button2Meta, CollapseMeta, CustomDrawerMeta, CustomRadioGroupItemMeta, CustomRadioGroupMeta, DCSliderMeta, DrawerMeta, FormMeta, GoodsCardListCommonMeta, GoodsCardListMeta, GridNavMeta, ImageMeta, InputMeta, IntegralTaskMeta, MemberCardMeta, MenuListMeta, MessageListMeta, NavigationMeta, NoticeBarMeta, PositionMeta, ProfileMeta, RichTextMeta, SearchBarMeta, SearchHistoryListMeta, SelectMeta, ShoppingCartMeta, StreamListMeta, SwiperMeta, SwitchMeta, TabContainerItemMeta, TabContainerMeta, TabMessageMeta, TagCMeta, TeletextListMeta, TextDescriptionDetailListMeta, Title1Meta, Title2Meta, UserCardMeta];
142
+ var componentMetas = [AddressListMeta, BreadCrumbMeta, Button2Meta, CollapseMeta, CustomDrawerMeta, CustomRadioGroupItemMeta, CustomRadioGroupMeta, DCSliderMeta, DrawerMeta, FormMeta, GoodsCardListCommonMeta, GoodsCardListMeta, GridNavMeta, ImageMeta, InputMeta, IntegralTaskMeta, MemberCardMeta, MenuListMeta, MessageListMeta, NavigationMeta, NoticeBarMeta, PositionMeta, ProfileMeta, RatingMeta, ReviewListMeta, RichTextMeta, SearchBarMeta, SearchHistoryListMeta, SelectMeta, ShoppingCartMeta, StreamListMeta, SwiperMeta, SwitchMeta, TabContainerItemMeta, TabContainerMeta, TabMessageMeta, TagCMeta, TeletextListMeta, TextDescriptionDetailListMeta, Title1Meta, Title2Meta, UserCardMeta];
141
143
  var components = [];
142
144
  var npmInfo = {};
143
145
  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,99 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ var RatingMeta = {
3
+ group: '低代码组件',
4
+ componentName: 'Rating',
5
+ title: '评分',
6
+ docUrl: '',
7
+ screenshot: '',
8
+ devMode: 'proCode',
9
+ npm: {
10
+ "package": '@dckj-npm/dc-material',
11
+ version: '0.1.230',
12
+ exportName: 'Rating',
13
+ main: 'src\\index.tsx',
14
+ destructuring: true,
15
+ subName: ''
16
+ },
17
+ configure: {
18
+ props: [{
19
+ title: '数据源绑定',
20
+ name: 'dataSource',
21
+ setter: {
22
+ componentName: 'SetterFormVariable',
23
+ props: {
24
+ attributes: [{
25
+ label: '评分',
26
+ value: 'value'
27
+ }]
28
+ }
29
+ }
30
+ }, {
31
+ title: '值',
32
+ name: 'value',
33
+ setter: {
34
+ componentName: 'NumberSetter',
35
+ isRequired: true,
36
+ initialValue: 0
37
+ }
38
+ }, {
39
+ title: '尺寸',
40
+ name: 'size',
41
+ setter: {
42
+ componentName: 'RadioGroupSetter',
43
+ props: {
44
+ dataSource: [{
45
+ label: '小',
46
+ value: 'small'
47
+ }, {
48
+ label: '中',
49
+ value: 'medium'
50
+ }, {
51
+ label: '大',
52
+ value: 'large'
53
+ }],
54
+ options: [{
55
+ label: '小',
56
+ value: 'small'
57
+ }, {
58
+ label: '中',
59
+ value: 'medium'
60
+ }, {
61
+ label: '大',
62
+ value: 'large'
63
+ }]
64
+ },
65
+ initialValue: 'medium'
66
+ }
67
+ }, {
68
+ title: '是否禁用',
69
+ name: 'disabled',
70
+ setter: {
71
+ componentName: 'BoolSetter',
72
+ isRequired: true,
73
+ initialValue: false
74
+ }
75
+ }],
76
+ supports: {
77
+ style: true
78
+ },
79
+ component: {
80
+ disableBehaviors: ['copy']
81
+ }
82
+ }
83
+ };
84
+ var snippets = [{
85
+ title: '评分',
86
+ screenshot: '',
87
+ schema: {
88
+ componentName: 'Rating',
89
+ props: {
90
+ dataSource: [],
91
+ value: 0,
92
+ disabled: false,
93
+ size: 'medium'
94
+ }
95
+ }
96
+ }];
97
+ export default _extends({}, RatingMeta, {
98
+ snippets: snippets
99
+ });
@@ -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,134 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ var ReviewListMeta = {
3
+ group: '低代码组件',
4
+ componentName: 'ReviewList',
5
+ title: '评价列表',
6
+ docUrl: '',
7
+ screenshot: '',
8
+ devMode: 'proCode',
9
+ npm: {
10
+ "package": '@dckj-npm/dc-material',
11
+ version: '0.1.230',
12
+ exportName: 'ReviewList',
13
+ main: 'src\\index.tsx',
14
+ destructuring: true,
15
+ subName: ''
16
+ },
17
+ configure: {
18
+ props: [{
19
+ title: '数据源绑定',
20
+ name: 'dataList',
21
+ setter: {
22
+ componentName: 'SetterFormVariable',
23
+ props: {
24
+ attributes: [{
25
+ label: '评价列表',
26
+ value: 'dataList',
27
+ children: [{
28
+ label: '头像',
29
+ value: 'avatar'
30
+ }, {
31
+ label: '用户名',
32
+ value: 'userName'
33
+ }, {
34
+ label: '评分',
35
+ value: 'score'
36
+ }, {
37
+ label: '评价时间',
38
+ value: 'time'
39
+ }, {
40
+ label: '评价内容',
41
+ value: 'content'
42
+ }, {
43
+ label: '点赞数',
44
+ value: 'likeCount'
45
+ }, {
46
+ label: '点踩数',
47
+ value: 'dislikeCount'
48
+ }]
49
+ }]
50
+ }
51
+ }
52
+ }],
53
+ supports: {
54
+ style: true
55
+ },
56
+ component: {
57
+ disableBehaviors: ['copy']
58
+ }
59
+ }
60
+ };
61
+ var snippets = [{
62
+ title: '评价列表',
63
+ screenshot: '',
64
+ schema: {
65
+ componentName: 'ReviewList',
66
+ props: {
67
+ dataList: [{
68
+ avatar: 'https://img.alicdn.com/tfs/TB1Q1Q1QFXXXXXQXVXXXXXXXXXX-200-200.png',
69
+ userName: 'Mark Jacob',
70
+ time: '2025-03-15',
71
+ score: 4,
72
+ content: "It's a really cute skirt! I didn't expect to feel so good in a polyester material. The print is slightly less bright than what is shown in the product description.",
73
+ likeCount: 22,
74
+ dislikeCount: 2
75
+ }]
76
+ },
77
+ children: [{
78
+ componentName: 'NextText',
79
+ props: {
80
+ type: 'h5',
81
+ key: 'username',
82
+ style: {
83
+ fontSize: '15px',
84
+ color: '#333',
85
+ fontWeght: 'bold'
86
+ }
87
+ }
88
+ }, {
89
+ componentName: 'NextText',
90
+ props: {
91
+ type: 'h5',
92
+ key: 'time',
93
+ style: {
94
+ fontSize: '15px',
95
+ color: '#333',
96
+ fontWeght: 'bold'
97
+ }
98
+ }
99
+ }, {
100
+ componentName: 'NextText',
101
+ props: {
102
+ type: 'inherit',
103
+ key: 'content',
104
+ style: {
105
+ fontSize: '13px',
106
+ color: '#333'
107
+ }
108
+ }
109
+ }, {
110
+ componentName: 'Image',
111
+ props: {
112
+ key: 'like',
113
+ width: 20,
114
+ height: 20,
115
+ style: {
116
+ borderRadius: '50%'
117
+ }
118
+ }
119
+ }, {
120
+ componentName: 'Image',
121
+ props: {
122
+ key: 'unlike',
123
+ width: 20,
124
+ height: 20,
125
+ style: {
126
+ borderRadius: '50%'
127
+ }
128
+ }
129
+ }]
130
+ }
131
+ }];
132
+ export default _extends({}, ReviewListMeta, {
133
+ snippets: snippets
134
+ });
@@ -78,6 +78,9 @@ var SelectMeta = {
78
78
  }, {
79
79
  label: '字符串',
80
80
  value: 'string'
81
+ }, {
82
+ label: '颜色',
83
+ value: 'color'
81
84
  }],
82
85
  options: [{
83
86
  label: '数字',
@@ -85,6 +88,9 @@ var SelectMeta = {
85
88
  }, {
86
89
  label: '字符串',
87
90
  value: 'string'
91
+ }, {
92
+ label: '颜色',
93
+ value: 'color'
88
94
  }]
89
95
  }
90
96
  }
@@ -38,6 +38,24 @@ var CollapseMeta = {
38
38
  }]
39
39
  }
40
40
  }
41
+ }, {
42
+ title: '类型',
43
+ name: 'type',
44
+ setter: {
45
+ componentName: 'RadioGroupSetter',
46
+ props: {
47
+ options: [{
48
+ label: '普通',
49
+ value: 'default'
50
+ }, {
51
+ label: '无边框',
52
+ value: 'borderless'
53
+ }, {
54
+ label: '有边框',
55
+ value: 'bordered'
56
+ }]
57
+ }
58
+ }
41
59
  }, {
42
60
  title: '折叠面板项配置',
43
61
  name: 'itemList',