dtable-ui-component 0.3.0-beta1 → 0.3.0-beta2
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.
|
@@ -73,7 +73,6 @@ var DigitalSignFormatter = /*#__PURE__*/function (_Component) {
|
|
|
73
73
|
key: "render",
|
|
74
74
|
value: function render() {
|
|
75
75
|
var _this$props = this.props,
|
|
76
|
-
value = _this$props.value,
|
|
77
76
|
server = _this$props.server,
|
|
78
77
|
containerClassName = _this$props.containerClassName,
|
|
79
78
|
readOnly = _this$props.readOnly;
|
|
@@ -86,7 +85,7 @@ var DigitalSignFormatter = /*#__PURE__*/function (_Component) {
|
|
|
86
85
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
87
86
|
className: className
|
|
88
87
|
}, /*#__PURE__*/React.createElement(ImagesLazyLoad, {
|
|
89
|
-
images:
|
|
88
|
+
images: signImages,
|
|
90
89
|
server: server,
|
|
91
90
|
onImageClick: this.onClickSignImage
|
|
92
91
|
})), isPreviewSignImage && /*#__PURE__*/React.createElement(ImagePreviewerLightbox, {
|
|
@@ -105,4 +104,12 @@ var DigitalSignFormatter = /*#__PURE__*/function (_Component) {
|
|
|
105
104
|
return DigitalSignFormatter;
|
|
106
105
|
}(Component);
|
|
107
106
|
|
|
107
|
+
DigitalSignFormatter.defaultProps = {
|
|
108
|
+
isSample: false,
|
|
109
|
+
isSupportPreview: false,
|
|
110
|
+
readOnly: true,
|
|
111
|
+
value: '',
|
|
112
|
+
server: '',
|
|
113
|
+
containerClassName: ''
|
|
114
|
+
};
|
|
108
115
|
export default DigitalSignFormatter;
|