@lingxiteam/assets 1.0.12-alpha.7 → 1.0.12-alpha.8
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/es/dealDsl/preprocess/common.js +1 -1
- package/es/error/errorDisplay/Web/ErrorMsg/index.js +4 -3
- package/es/error/errorDisplay/Web/Notification/Notification.less +21 -3
- package/es/error/errorDisplay/Web/defaultGlobalConfig.js +1 -1
- package/es/rootConfig/mobile/BusiComp.js +2 -1
- package/es/rootConfig/mobile/MobileModal.js +2 -1
- package/es/rootConfig/mobile/MobilePopover.js +2 -1
- package/es/rootConfig/mobile/page.js +2 -1
- package/lib/dealDsl/preprocess/common.js +1 -1
- package/lib/error/errorDisplay/Web/ErrorMsg/index.js +4 -3
- package/lib/error/errorDisplay/Web/Notification/Notification.less +21 -3
- package/lib/error/errorDisplay/Web/defaultGlobalConfig.js +1 -1
- package/lib/rootConfig/mobile/BusiComp.js +2 -1
- package/lib/rootConfig/mobile/MobileModal.js +2 -1
- package/lib/rootConfig/mobile/MobilePopover.js +2 -1
- package/lib/rootConfig/mobile/page.js +2 -1
- package/package.json +1 -1
|
@@ -320,7 +320,7 @@ var pc = {
|
|
|
320
320
|
edittype: 'title',
|
|
321
321
|
title: {
|
|
322
322
|
"code": "$function main(text, row, index) { return text;}$",
|
|
323
|
-
"originCode": ["/**", " * 计算绑定的内容", " * @param {String} text
|
|
323
|
+
"originCode": ["/**", " * 计算绑定的内容", " * @param {String} text 行数据中数据字段翻译后的内容", " * @param {Object} row 行数据对象", " * @param {Number} index 行索引", " * @returns {Boolean} 实际值", " * 例:return row.id,表示当行主键为id时,返回内容为row.id实际的值", " */", "function main(text, row, index) {", " return text;", "}"]
|
|
324
324
|
}
|
|
325
325
|
};
|
|
326
326
|
}
|
|
@@ -251,7 +251,7 @@ var ErrorMsg = {
|
|
|
251
251
|
};
|
|
252
252
|
if (isShowFeedback) {
|
|
253
253
|
footerContent.push( /*#__PURE__*/React.createElement("a", {
|
|
254
|
-
className: "lx-feedback-notification-".concat(_param.itemKey, " ").concat(renderDisabled(feedbackPlacements[0], _param.itemKey)),
|
|
254
|
+
className: "lx-notification-notice-footer-btn-ghost lx-feedback-notification-".concat(_param.itemKey, " ").concat(renderDisabled(feedbackPlacements[0], _param.itemKey)),
|
|
255
255
|
config: String(_param.itemKey),
|
|
256
256
|
onClick: function onClick(e) {
|
|
257
257
|
if (!(_param === null || _param === void 0 ? void 0 : _param.feedbackState)) {
|
|
@@ -407,8 +407,9 @@ var ErrorMsg = {
|
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
409
|
}, _callee2, null, [[8, 15]]);
|
|
410
|
-
}))
|
|
411
|
-
|
|
410
|
+
})),
|
|
411
|
+
className: "lx-notification-notice-footer-btn-primary"
|
|
412
|
+
}, "\u67E5\u770B\u5F02\u5E38\u8BE6\u60C5"));
|
|
412
413
|
}
|
|
413
414
|
return _context3.abrupt("return", footerContent);
|
|
414
415
|
case 29:
|
|
@@ -125,15 +125,33 @@
|
|
|
125
125
|
|
|
126
126
|
&-head + &-footer,
|
|
127
127
|
&-content + &-footer {
|
|
128
|
-
margin-top:
|
|
128
|
+
margin-top: 14px;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
&-footer {
|
|
132
132
|
text-align: right;
|
|
133
133
|
a {
|
|
134
134
|
display: inline-block;
|
|
135
|
-
padding:
|
|
135
|
+
padding: 2px 4px;
|
|
136
|
+
border-radius: 2px;
|
|
137
|
+
margin-left: 8px;
|
|
138
|
+
&:hover {
|
|
139
|
+
opacity: .9;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
&-btn-ghost {
|
|
143
|
+
color: #4477EE !important;
|
|
144
|
+
border: 1px solid #4477EE;
|
|
145
|
+
&.lx-notification-btn-disabled {
|
|
146
|
+
border-color: rgba(28, 36, 46, 0.25) !important;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
&-btn-primary {
|
|
150
|
+
color: #fff !important;
|
|
151
|
+
background-color: #4477EE;
|
|
152
|
+
border: 1px solid #4477EE;
|
|
136
153
|
}
|
|
154
|
+
|
|
137
155
|
}
|
|
138
156
|
}
|
|
139
157
|
|
|
@@ -142,7 +160,7 @@
|
|
|
142
160
|
pointer-events: none;
|
|
143
161
|
&,
|
|
144
162
|
&:hover {
|
|
145
|
-
color: rgba(28,36,46,0.
|
|
163
|
+
color: rgba(28,36,46,0.25) !important;
|
|
146
164
|
background-color: white !important;
|
|
147
165
|
}
|
|
148
166
|
}
|
|
@@ -39,7 +39,8 @@ export default {
|
|
|
39
39
|
todoOptions: [{
|
|
40
40
|
key: 'fileId',
|
|
41
41
|
label: '文件ID',
|
|
42
|
-
type: 'SetExpression'
|
|
42
|
+
type: 'SetExpression',
|
|
43
|
+
labelTip: '文件ID的预览形式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、doc、xlsx、docx、wps、ppt! 注意:如果是外部URL,支持图片,pdf,world,xlsx 注意:如果是外部URL,有可能存在跨域现象!'
|
|
43
44
|
}],
|
|
44
45
|
classification: [{
|
|
45
46
|
label: '页面类',
|
|
@@ -39,7 +39,8 @@ export default {
|
|
|
39
39
|
todoOptions: [{
|
|
40
40
|
key: 'fileId',
|
|
41
41
|
label: '文件ID',
|
|
42
|
-
type: 'SetExpression'
|
|
42
|
+
type: 'SetExpression',
|
|
43
|
+
labelTip: '文件ID的预览形式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、doc、xlsx、docx、wps、ppt! 注意:如果是外部URL,支持图片,pdf,world,xlsx 注意:如果是外部URL,有可能存在跨域现象!'
|
|
43
44
|
}],
|
|
44
45
|
classification: [{
|
|
45
46
|
label: '页面类',
|
|
@@ -41,7 +41,8 @@ export default {
|
|
|
41
41
|
todoOptions: [{
|
|
42
42
|
key: 'fileId',
|
|
43
43
|
label: '文件ID',
|
|
44
|
-
type: 'SetExpression'
|
|
44
|
+
type: 'SetExpression',
|
|
45
|
+
labelTip: '文件ID的预览形式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、doc、xlsx、docx、wps、ppt! 注意:如果是外部URL,支持图片,pdf,world,xlsx 注意:如果是外部URL,有可能存在跨域现象!'
|
|
45
46
|
}],
|
|
46
47
|
classification: [{
|
|
47
48
|
label: '页面类',
|
|
@@ -52,7 +52,8 @@ export default {
|
|
|
52
52
|
todoOptions: [{
|
|
53
53
|
key: 'fileId',
|
|
54
54
|
label: '文件ID',
|
|
55
|
-
type: 'SetExpression'
|
|
55
|
+
type: 'SetExpression',
|
|
56
|
+
labelTip: '文件ID的预览形式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、doc、xlsx、docx、wps、ppt! 注意:如果是外部URL,支持图片,pdf,world,xlsx 注意:如果是外部URL,有可能存在跨域现象!'
|
|
56
57
|
}],
|
|
57
58
|
classification: [{
|
|
58
59
|
label: '页面类',
|
|
@@ -326,7 +326,7 @@ var pc = {
|
|
|
326
326
|
edittype: 'title',
|
|
327
327
|
title: {
|
|
328
328
|
"code": "$function main(text, row, index) { return text;}$",
|
|
329
|
-
"originCode": ["/**", " * 计算绑定的内容", " * @param {String} text
|
|
329
|
+
"originCode": ["/**", " * 计算绑定的内容", " * @param {String} text 行数据中数据字段翻译后的内容", " * @param {Object} row 行数据对象", " * @param {Number} index 行索引", " * @returns {Boolean} 实际值", " * 例:return row.id,表示当行主键为id时,返回内容为row.id实际的值", " */", "function main(text, row, index) {", " return text;", "}"]
|
|
330
330
|
}
|
|
331
331
|
};
|
|
332
332
|
}
|
|
@@ -259,7 +259,7 @@ var ErrorMsg = {
|
|
|
259
259
|
};
|
|
260
260
|
if (isShowFeedback) {
|
|
261
261
|
footerContent.push( /*#__PURE__*/_react.default.createElement("a", {
|
|
262
|
-
className: "lx-feedback-notification-".concat(_param.itemKey, " ").concat(renderDisabled(feedbackPlacements[0], _param.itemKey)),
|
|
262
|
+
className: "lx-notification-notice-footer-btn-ghost lx-feedback-notification-".concat(_param.itemKey, " ").concat(renderDisabled(feedbackPlacements[0], _param.itemKey)),
|
|
263
263
|
config: String(_param.itemKey),
|
|
264
264
|
onClick: function onClick(e) {
|
|
265
265
|
if (!(_param === null || _param === void 0 ? void 0 : _param.feedbackState)) {
|
|
@@ -415,8 +415,9 @@ var ErrorMsg = {
|
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
417
|
}, _callee2, null, [[8, 15]]);
|
|
418
|
-
}))
|
|
419
|
-
|
|
418
|
+
})),
|
|
419
|
+
className: "lx-notification-notice-footer-btn-primary"
|
|
420
|
+
}, "\u67E5\u770B\u5F02\u5E38\u8BE6\u60C5"));
|
|
420
421
|
}
|
|
421
422
|
return _context3.abrupt("return", footerContent);
|
|
422
423
|
case 29:
|
|
@@ -125,15 +125,33 @@
|
|
|
125
125
|
|
|
126
126
|
&-head + &-footer,
|
|
127
127
|
&-content + &-footer {
|
|
128
|
-
margin-top:
|
|
128
|
+
margin-top: 14px;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
&-footer {
|
|
132
132
|
text-align: right;
|
|
133
133
|
a {
|
|
134
134
|
display: inline-block;
|
|
135
|
-
padding:
|
|
135
|
+
padding: 2px 4px;
|
|
136
|
+
border-radius: 2px;
|
|
137
|
+
margin-left: 8px;
|
|
138
|
+
&:hover {
|
|
139
|
+
opacity: .9;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
&-btn-ghost {
|
|
143
|
+
color: #4477EE !important;
|
|
144
|
+
border: 1px solid #4477EE;
|
|
145
|
+
&.lx-notification-btn-disabled {
|
|
146
|
+
border-color: rgba(28, 36, 46, 0.25) !important;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
&-btn-primary {
|
|
150
|
+
color: #fff !important;
|
|
151
|
+
background-color: #4477EE;
|
|
152
|
+
border: 1px solid #4477EE;
|
|
136
153
|
}
|
|
154
|
+
|
|
137
155
|
}
|
|
138
156
|
}
|
|
139
157
|
|
|
@@ -142,7 +160,7 @@
|
|
|
142
160
|
pointer-events: none;
|
|
143
161
|
&,
|
|
144
162
|
&:hover {
|
|
145
|
-
color: rgba(28,36,46,0.
|
|
163
|
+
color: rgba(28,36,46,0.25) !important;
|
|
146
164
|
background-color: white !important;
|
|
147
165
|
}
|
|
148
166
|
}
|
|
@@ -45,7 +45,8 @@ var _default = {
|
|
|
45
45
|
todoOptions: [{
|
|
46
46
|
key: 'fileId',
|
|
47
47
|
label: '文件ID',
|
|
48
|
-
type: 'SetExpression'
|
|
48
|
+
type: 'SetExpression',
|
|
49
|
+
labelTip: '文件ID的预览形式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、doc、xlsx、docx、wps、ppt! 注意:如果是外部URL,支持图片,pdf,world,xlsx 注意:如果是外部URL,有可能存在跨域现象!'
|
|
49
50
|
}],
|
|
50
51
|
classification: [{
|
|
51
52
|
label: '页面类',
|
|
@@ -45,7 +45,8 @@ var _default = {
|
|
|
45
45
|
todoOptions: [{
|
|
46
46
|
key: 'fileId',
|
|
47
47
|
label: '文件ID',
|
|
48
|
-
type: 'SetExpression'
|
|
48
|
+
type: 'SetExpression',
|
|
49
|
+
labelTip: '文件ID的预览形式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、doc、xlsx、docx、wps、ppt! 注意:如果是外部URL,支持图片,pdf,world,xlsx 注意:如果是外部URL,有可能存在跨域现象!'
|
|
49
50
|
}],
|
|
50
51
|
classification: [{
|
|
51
52
|
label: '页面类',
|
|
@@ -47,7 +47,8 @@ var _default = {
|
|
|
47
47
|
todoOptions: [{
|
|
48
48
|
key: 'fileId',
|
|
49
49
|
label: '文件ID',
|
|
50
|
-
type: 'SetExpression'
|
|
50
|
+
type: 'SetExpression',
|
|
51
|
+
labelTip: '文件ID的预览形式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、doc、xlsx、docx、wps、ppt! 注意:如果是外部URL,支持图片,pdf,world,xlsx 注意:如果是外部URL,有可能存在跨域现象!'
|
|
51
52
|
}],
|
|
52
53
|
classification: [{
|
|
53
54
|
label: '页面类',
|
|
@@ -58,7 +58,8 @@ var _default = {
|
|
|
58
58
|
todoOptions: [{
|
|
59
59
|
key: 'fileId',
|
|
60
60
|
label: '文件ID',
|
|
61
|
-
type: 'SetExpression'
|
|
61
|
+
type: 'SetExpression',
|
|
62
|
+
labelTip: '文件ID的预览形式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、doc、xlsx、docx、wps、ppt! 注意:如果是外部URL,支持图片,pdf,world,xlsx 注意:如果是外部URL,有可能存在跨域现象!'
|
|
62
63
|
}],
|
|
63
64
|
classification: [{
|
|
64
65
|
label: '页面类',
|