@dckj-npm/dc-material 0.1.34 → 0.1.36
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/build/lowcode/assets-daily.json +13 -13
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +13 -13
- package/build/lowcode/meta.design.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +1 -1
- package/dist/BizComps.css +1 -1
- package/dist/BizComps.js +1 -1
- package/dist/BizComps.js.map +1 -1
- package/es/components/message-list/message-list-item.scss +3 -2
- package/es/components/notice-bar/notice-bar-item.d.ts +1 -1
- package/es/components/notice-bar/notice-bar-item.js +2 -2
- package/es/components/notice-bar/notice-bar-item.scss +1 -1
- package/es/components/notice-bar/notice-bar.d.ts +1 -1
- package/es/components/notice-bar/notice-bar.js +2 -2
- package/lib/components/message-list/message-list-item.scss +3 -2
- package/lib/components/notice-bar/notice-bar-item.d.ts +1 -1
- package/lib/components/notice-bar/notice-bar-item.js +2 -2
- package/lib/components/notice-bar/notice-bar-item.scss +1 -1
- package/lib/components/notice-bar/notice-bar.d.ts +1 -1
- package/lib/components/notice-bar/notice-bar.js +2 -2
- package/lowcode/message-list/meta.ts +2 -0
- package/lowcode/notice-bar/meta.ts +19 -13
- package/lowcode_es/message-list/meta.js +4 -2
- package/lowcode_es/meta.js +1 -1
- package/lowcode_es/notice-bar/meta.js +16 -13
- package/lowcode_lib/message-list/meta.js +4 -2
- package/lowcode_lib/meta.js +1 -1
- package/lowcode_lib/notice-bar/meta.js +16 -13
- package/package.json +3 -3
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
.message-list__panel__item {
|
|
4
4
|
display: flex;
|
|
5
5
|
gap: 5px;
|
|
6
|
-
padding-bottom:
|
|
6
|
+
padding-bottom: 15px;
|
|
7
7
|
justify-content: flex-start;
|
|
8
8
|
|
|
9
|
-
border-bottom:
|
|
9
|
+
border-bottom: 0.5px solid #eeeeee;
|
|
10
10
|
|
|
11
11
|
&_image {
|
|
12
12
|
width: 90px;
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
display: flex;
|
|
28
28
|
flex-direction: column;
|
|
29
29
|
gap: 3px;
|
|
30
|
+
padding-top: 5px;
|
|
30
31
|
|
|
31
32
|
&__title {
|
|
32
33
|
font-size: 15px;
|
|
@@ -15,8 +15,8 @@ var NoticeBarItem = function NoticeBarItem(_ref) {
|
|
|
15
15
|
className: "notice-bar__panel__item"
|
|
16
16
|
}, _otherProps), /*#__PURE__*/React.createElement("div", {
|
|
17
17
|
className: "notice-bar__panel__item-left"
|
|
18
|
-
}, convertChildren(children, isTop ? 'teletext-tagc-1' : 'teletext-tagc-2', {
|
|
19
|
-
name: isTop ? '置顶' : '最新'
|
|
18
|
+
}, convertChildren(children, isTop === 0 ? 'teletext-tagc-1' : 'teletext-tagc-2', {
|
|
19
|
+
name: isTop === 0 ? '置顶' : '最新'
|
|
20
20
|
}), /*#__PURE__*/React.createElement("div", {
|
|
21
21
|
className: "notice-bar__panal__item__content"
|
|
22
22
|
}, content)), /*#__PURE__*/React.createElement("div", {
|
|
@@ -14,10 +14,10 @@ var NoticeBar = function NoticeBar(_ref) {
|
|
|
14
14
|
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
15
15
|
var _otherProps = otherProps || {};
|
|
16
16
|
var stickyItems = (dataList || []).filter(function (item) {
|
|
17
|
-
return (item === null || item === void 0 ? void 0 : item.isTop) ===
|
|
17
|
+
return (item === null || item === void 0 ? void 0 : item.isTop) === 0;
|
|
18
18
|
});
|
|
19
19
|
var loopItems = (dataList || []).filter(function (item) {
|
|
20
|
-
return (item === null || item === void 0 ? void 0 : item.isTop) ===
|
|
20
|
+
return (item === null || item === void 0 ? void 0 : item.isTop) === 1;
|
|
21
21
|
});
|
|
22
22
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
23
23
|
className: "notice-bar__panel"
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
.message-list__panel__item {
|
|
4
4
|
display: flex;
|
|
5
5
|
gap: 5px;
|
|
6
|
-
padding-bottom:
|
|
6
|
+
padding-bottom: 15px;
|
|
7
7
|
justify-content: flex-start;
|
|
8
8
|
|
|
9
|
-
border-bottom:
|
|
9
|
+
border-bottom: 0.5px solid #eeeeee;
|
|
10
10
|
|
|
11
11
|
&_image {
|
|
12
12
|
width: 90px;
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
display: flex;
|
|
28
28
|
flex-direction: column;
|
|
29
29
|
gap: 3px;
|
|
30
|
+
padding-top: 5px;
|
|
30
31
|
|
|
31
32
|
&__title {
|
|
32
33
|
font-size: 15px;
|
|
@@ -20,8 +20,8 @@ var NoticeBarItem = function NoticeBarItem(_ref) {
|
|
|
20
20
|
className: "notice-bar__panel__item"
|
|
21
21
|
}, _otherProps), /*#__PURE__*/_react["default"].createElement("div", {
|
|
22
22
|
className: "notice-bar__panel__item-left"
|
|
23
|
-
}, (0, _childrenNodeHandle.convertChildren)(children, isTop ? 'teletext-tagc-1' : 'teletext-tagc-2', {
|
|
24
|
-
name: isTop ? '置顶' : '最新'
|
|
23
|
+
}, (0, _childrenNodeHandle.convertChildren)(children, isTop === 0 ? 'teletext-tagc-1' : 'teletext-tagc-2', {
|
|
24
|
+
name: isTop === 0 ? '置顶' : '最新'
|
|
25
25
|
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
26
26
|
className: "notice-bar__panal__item__content"
|
|
27
27
|
}, content)), /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -19,10 +19,10 @@ var NoticeBar = function NoticeBar(_ref) {
|
|
|
19
19
|
otherProps = (0, _objectWithoutPropertiesLoose2["default"])(_ref, _excluded);
|
|
20
20
|
var _otherProps = otherProps || {};
|
|
21
21
|
var stickyItems = (dataList || []).filter(function (item) {
|
|
22
|
-
return (item === null || item === void 0 ? void 0 : item.isTop) ===
|
|
22
|
+
return (item === null || item === void 0 ? void 0 : item.isTop) === 0;
|
|
23
23
|
});
|
|
24
24
|
var loopItems = (dataList || []).filter(function (item) {
|
|
25
|
-
return (item === null || item === void 0 ? void 0 : item.isTop) ===
|
|
25
|
+
return (item === null || item === void 0 ? void 0 : item.isTop) === 1;
|
|
26
26
|
});
|
|
27
27
|
return /*#__PURE__*/_react["default"].createElement("div", (0, _extends2["default"])({
|
|
28
28
|
className: "notice-bar__panel"
|
|
@@ -158,6 +158,7 @@ const snippets: IPublicTypeSnippet[] = [
|
|
|
158
158
|
'style': {
|
|
159
159
|
fontSize: '15px',
|
|
160
160
|
color: '#333',
|
|
161
|
+
fontWeght: 'bold'
|
|
161
162
|
},
|
|
162
163
|
},
|
|
163
164
|
},
|
|
@@ -180,6 +181,7 @@ const snippets: IPublicTypeSnippet[] = [
|
|
|
180
181
|
'style': {
|
|
181
182
|
fontSize: '10px',
|
|
182
183
|
color: '#999',
|
|
184
|
+
marginBottom: '5px'
|
|
183
185
|
},
|
|
184
186
|
},
|
|
185
187
|
},
|
|
@@ -96,18 +96,24 @@ const NoticeBarMeta: IPublicTypeComponentMetadata = {
|
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
|
-
"title":
|
|
100
|
-
"label": {
|
|
101
|
-
"type": "i18n",
|
|
102
|
-
"en-US": "isTop",
|
|
103
|
-
"zh-CN": "是否置顶"
|
|
104
|
-
}
|
|
105
|
-
},
|
|
99
|
+
"title": "是否置顶",
|
|
106
100
|
"name": "isTop",
|
|
107
101
|
"setter": {
|
|
108
|
-
"componentName": "
|
|
109
|
-
"
|
|
110
|
-
"
|
|
102
|
+
"componentName": "SelectSetter",
|
|
103
|
+
"initialValue": 0,
|
|
104
|
+
"props": {
|
|
105
|
+
"defaultValue": 0,
|
|
106
|
+
"options":[
|
|
107
|
+
{
|
|
108
|
+
"title": "是",
|
|
109
|
+
"value": 0
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"title": "否",
|
|
113
|
+
"value": 1
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
}
|
|
111
117
|
}
|
|
112
118
|
}
|
|
113
119
|
],
|
|
@@ -123,17 +129,17 @@ const NoticeBarMeta: IPublicTypeComponentMetadata = {
|
|
|
123
129
|
"initialValue": [
|
|
124
130
|
{
|
|
125
131
|
"content" : "按需招聘,智能推荐附件测试测试测试测试测试测试测试",
|
|
126
|
-
"isTop" :
|
|
132
|
+
"isTop" : 0,
|
|
127
133
|
"releaseTime" : "1小时前",
|
|
128
134
|
},
|
|
129
135
|
{
|
|
130
136
|
"content" : "近期,有关部门相继部署有关部门相继部署有关部门相继部署",
|
|
131
|
-
"isTop" :
|
|
137
|
+
"isTop" : 1,
|
|
132
138
|
"releaseTime" : "2024-03-26",
|
|
133
139
|
},
|
|
134
140
|
{
|
|
135
141
|
"content" : "测试测试测试测试测试测测试测试测试测试测试测测试测试测试测试测试测",
|
|
136
|
-
"isTop" :
|
|
142
|
+
"isTop" : 1,
|
|
137
143
|
"releaseTime" : "2023-10-15",
|
|
138
144
|
},
|
|
139
145
|
]
|
|
@@ -133,7 +133,8 @@ var snippets = [{
|
|
|
133
133
|
key: 'title',
|
|
134
134
|
'style': {
|
|
135
135
|
fontSize: '15px',
|
|
136
|
-
color: '#333'
|
|
136
|
+
color: '#333',
|
|
137
|
+
fontWeght: 'bold'
|
|
137
138
|
}
|
|
138
139
|
}
|
|
139
140
|
}, {
|
|
@@ -153,7 +154,8 @@ var snippets = [{
|
|
|
153
154
|
key: 'gmtCreate',
|
|
154
155
|
'style': {
|
|
155
156
|
fontSize: '10px',
|
|
156
|
-
color: '#999'
|
|
157
|
+
color: '#999',
|
|
158
|
+
marginBottom: '5px'
|
|
157
159
|
}
|
|
158
160
|
}
|
|
159
161
|
}, {
|
package/lowcode_es/meta.js
CHANGED
|
@@ -91,7 +91,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
91
91
|
packageName = '@dckj-npm/dc-material';
|
|
92
92
|
}
|
|
93
93
|
if (version === void 0) {
|
|
94
|
-
version = '0.1.
|
|
94
|
+
version = '0.1.36';
|
|
95
95
|
}
|
|
96
96
|
if (basicLibraryVersion === void 0) {
|
|
97
97
|
basicLibraryVersion = {
|
|
@@ -92,18 +92,21 @@ var NoticeBarMeta = {
|
|
|
92
92
|
"initialValue": ""
|
|
93
93
|
}
|
|
94
94
|
}, {
|
|
95
|
-
"title":
|
|
96
|
-
"label": {
|
|
97
|
-
"type": "i18n",
|
|
98
|
-
"en-US": "isTop",
|
|
99
|
-
"zh-CN": "是否置顶"
|
|
100
|
-
}
|
|
101
|
-
},
|
|
95
|
+
"title": "是否置顶",
|
|
102
96
|
"name": "isTop",
|
|
103
97
|
"setter": {
|
|
104
|
-
"componentName": "
|
|
105
|
-
"
|
|
106
|
-
"
|
|
98
|
+
"componentName": "SelectSetter",
|
|
99
|
+
"initialValue": 0,
|
|
100
|
+
"props": {
|
|
101
|
+
"defaultValue": 0,
|
|
102
|
+
"options": [{
|
|
103
|
+
"title": "是",
|
|
104
|
+
"value": 0
|
|
105
|
+
}, {
|
|
106
|
+
"title": "否",
|
|
107
|
+
"value": 1
|
|
108
|
+
}]
|
|
109
|
+
}
|
|
107
110
|
}
|
|
108
111
|
}],
|
|
109
112
|
"extraSetter": {
|
|
@@ -117,15 +120,15 @@ var NoticeBarMeta = {
|
|
|
117
120
|
},
|
|
118
121
|
"initialValue": [{
|
|
119
122
|
"content": "按需招聘,智能推荐附件测试测试测试测试测试测试测试",
|
|
120
|
-
"isTop":
|
|
123
|
+
"isTop": 0,
|
|
121
124
|
"releaseTime": "1小时前"
|
|
122
125
|
}, {
|
|
123
126
|
"content": "近期,有关部门相继部署有关部门相继部署有关部门相继部署",
|
|
124
|
-
"isTop":
|
|
127
|
+
"isTop": 1,
|
|
125
128
|
"releaseTime": "2024-03-26"
|
|
126
129
|
}, {
|
|
127
130
|
"content": "测试测试测试测试测试测测试测试测试测试测试测测试测试测试测试测试测",
|
|
128
|
-
"isTop":
|
|
131
|
+
"isTop": 1,
|
|
129
132
|
"releaseTime": "2023-10-15"
|
|
130
133
|
}]
|
|
131
134
|
}
|
|
@@ -138,7 +138,8 @@ var snippets = [{
|
|
|
138
138
|
key: 'title',
|
|
139
139
|
'style': {
|
|
140
140
|
fontSize: '15px',
|
|
141
|
-
color: '#333'
|
|
141
|
+
color: '#333',
|
|
142
|
+
fontWeght: 'bold'
|
|
142
143
|
}
|
|
143
144
|
}
|
|
144
145
|
}, {
|
|
@@ -158,7 +159,8 @@ var snippets = [{
|
|
|
158
159
|
key: 'gmtCreate',
|
|
159
160
|
'style': {
|
|
160
161
|
fontSize: '10px',
|
|
161
|
-
color: '#999'
|
|
162
|
+
color: '#999',
|
|
163
|
+
marginBottom: '5px'
|
|
162
164
|
}
|
|
163
165
|
}
|
|
164
166
|
}, {
|
package/lowcode_lib/meta.js
CHANGED
|
@@ -96,7 +96,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
96
96
|
packageName = '@dckj-npm/dc-material';
|
|
97
97
|
}
|
|
98
98
|
if (version === void 0) {
|
|
99
|
-
version = '0.1.
|
|
99
|
+
version = '0.1.36';
|
|
100
100
|
}
|
|
101
101
|
if (basicLibraryVersion === void 0) {
|
|
102
102
|
basicLibraryVersion = {
|
|
@@ -97,18 +97,21 @@ var NoticeBarMeta = {
|
|
|
97
97
|
"initialValue": ""
|
|
98
98
|
}
|
|
99
99
|
}, {
|
|
100
|
-
"title":
|
|
101
|
-
"label": {
|
|
102
|
-
"type": "i18n",
|
|
103
|
-
"en-US": "isTop",
|
|
104
|
-
"zh-CN": "是否置顶"
|
|
105
|
-
}
|
|
106
|
-
},
|
|
100
|
+
"title": "是否置顶",
|
|
107
101
|
"name": "isTop",
|
|
108
102
|
"setter": {
|
|
109
|
-
"componentName": "
|
|
110
|
-
"
|
|
111
|
-
"
|
|
103
|
+
"componentName": "SelectSetter",
|
|
104
|
+
"initialValue": 0,
|
|
105
|
+
"props": {
|
|
106
|
+
"defaultValue": 0,
|
|
107
|
+
"options": [{
|
|
108
|
+
"title": "是",
|
|
109
|
+
"value": 0
|
|
110
|
+
}, {
|
|
111
|
+
"title": "否",
|
|
112
|
+
"value": 1
|
|
113
|
+
}]
|
|
114
|
+
}
|
|
112
115
|
}
|
|
113
116
|
}],
|
|
114
117
|
"extraSetter": {
|
|
@@ -122,15 +125,15 @@ var NoticeBarMeta = {
|
|
|
122
125
|
},
|
|
123
126
|
"initialValue": [{
|
|
124
127
|
"content": "按需招聘,智能推荐附件测试测试测试测试测试测试测试",
|
|
125
|
-
"isTop":
|
|
128
|
+
"isTop": 0,
|
|
126
129
|
"releaseTime": "1小时前"
|
|
127
130
|
}, {
|
|
128
131
|
"content": "近期,有关部门相继部署有关部门相继部署有关部门相继部署",
|
|
129
|
-
"isTop":
|
|
132
|
+
"isTop": 1,
|
|
130
133
|
"releaseTime": "2024-03-26"
|
|
131
134
|
}, {
|
|
132
135
|
"content": "测试测试测试测试测试测测试测试测试测试测试测测试测试测试测试测试测",
|
|
133
|
-
"isTop":
|
|
136
|
+
"isTop": 1,
|
|
134
137
|
"releaseTime": "2023-10-15"
|
|
135
138
|
}]
|
|
136
139
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dckj-npm/dc-material",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.36",
|
|
4
4
|
"description": "dc低代码物料",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -103,10 +103,10 @@
|
|
|
103
103
|
},
|
|
104
104
|
"componentConfig": {
|
|
105
105
|
"isComponentLibrary": true,
|
|
106
|
-
"materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.
|
|
106
|
+
"materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.36/build/lowcode/assets-prod.json"
|
|
107
107
|
},
|
|
108
108
|
"lcMeta": {
|
|
109
109
|
"type": "component"
|
|
110
110
|
},
|
|
111
|
-
"homepage": "https://unpkg.com/@dckj-npm/dc-material@0.1.
|
|
111
|
+
"homepage": "https://unpkg.com/@dckj-npm/dc-material@0.1.36/build/index.html"
|
|
112
112
|
}
|