hrsass-components 1.7.57 → 1.7.58
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/lib/hrsass-components.js +14 -5
- package/lib/hrsass-components.min.js +1 -1
- package/package.json +1 -1
- package/rollup.build.css +31296 -0
package/lib/hrsass-components.js
CHANGED
|
@@ -65,7 +65,7 @@ var contentStyle = _interopDefault(require('!!raw-loader!tinymce/skins/content/d
|
|
|
65
65
|
var SvgPanZoom = _interopDefault(require('svg-pan-zoom'));
|
|
66
66
|
var saveSvgAsPng = require('save-svg-as-png');
|
|
67
67
|
|
|
68
|
-
var version = "1.7.
|
|
68
|
+
var version = "1.7.58";
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* 版本号
|
|
@@ -3411,6 +3411,10 @@ var HrAppendix = {
|
|
|
3411
3411
|
_this2.$message.error("".concat(_this2.locale.fileSizeError, " (").concat(num, ")"));
|
|
3412
3412
|
}
|
|
3413
3413
|
}
|
|
3414
|
+
if (_this2.maxLength > 0 && _this2.fileList.length > _this2.maxLength) {
|
|
3415
|
+
result = false;
|
|
3416
|
+
_this2.$message.error("\u6700\u591A\u53EA\u80FD\u4E0A\u4F20".concat(_this2.maxLength, "\u4E2A"));
|
|
3417
|
+
}
|
|
3414
3418
|
}
|
|
3415
3419
|
if (!_this2.customBeforeUpload) {
|
|
3416
3420
|
_context.next = 15;
|
|
@@ -4186,7 +4190,8 @@ var HrDynamic = {
|
|
|
4186
4190
|
fileSizeLimit: VuePropTypes.number,
|
|
4187
4191
|
fileTypes: VuePropTypes.string,
|
|
4188
4192
|
customBeforeUpload: VuePropTypes.func,
|
|
4189
|
-
richInit: VuePropTypes.object
|
|
4193
|
+
richInit: VuePropTypes.object,
|
|
4194
|
+
maxLength: VuePropTypes.number
|
|
4190
4195
|
}, {
|
|
4191
4196
|
prefixCls: "hr-dynamic"
|
|
4192
4197
|
}),
|
|
@@ -4227,7 +4232,8 @@ var HrDynamic = {
|
|
|
4227
4232
|
fileSizeLimit = _getOptionProps.fileSizeLimit,
|
|
4228
4233
|
fileTypes = _getOptionProps.fileTypes,
|
|
4229
4234
|
customBeforeUpload = _getOptionProps.customBeforeUpload,
|
|
4230
|
-
richInit = _getOptionProps.richInit
|
|
4235
|
+
richInit = _getOptionProps.richInit,
|
|
4236
|
+
maxLength = _getOptionProps.maxLength;
|
|
4231
4237
|
var hrDynamicProps = {
|
|
4232
4238
|
"class": classNames(prefixCls, cls, _defineProperty({}, "".concat(prefixCls, "-read-only"), !isEncrypt && readOnly)),
|
|
4233
4239
|
style: {
|
|
@@ -4569,6 +4575,7 @@ var HrDynamic = {
|
|
|
4569
4575
|
fileTypes: fileTypes,
|
|
4570
4576
|
multiple: true,
|
|
4571
4577
|
listType: "picture-card",
|
|
4578
|
+
maxLength: maxLength,
|
|
4572
4579
|
queryData: queryData,
|
|
4573
4580
|
disabled: disabled,
|
|
4574
4581
|
imageSize: imageSize,
|
|
@@ -7268,8 +7275,10 @@ var HrTableBase = {
|
|
|
7268
7275
|
title: text
|
|
7269
7276
|
},
|
|
7270
7277
|
style: {
|
|
7271
|
-
width: "".concat(item.width, "px")
|
|
7272
|
-
|
|
7278
|
+
width: "".concat(item.width, "px"),
|
|
7279
|
+
color: item.fontColor
|
|
7280
|
+
} //扩展自定义字体颜色功能
|
|
7281
|
+
,
|
|
7273
7282
|
"class": cellClass
|
|
7274
7283
|
}, [text, item.encryption && !this._isEmpty(v) && h(antDesignVue.Icon, {
|
|
7275
7284
|
on: {
|