@zohodesk/dot 1.4.9 → 1.4.11
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/.cli/UnValidatedFiles.html +101 -0
- package/.cli/propValidation_report.html +1 -1
- package/README.md +10 -1
- package/coverage/ExternalLink/ExternalLink.js.html +1 -1
- package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
- package/coverage/ExternalLink/index.html +1 -1
- package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
- package/coverage/ExternalLink/props/index.html +1 -1
- package/coverage/ExternalLink/props/propTypes.js.html +1 -1
- package/coverage/IconButton/IconButton.js.html +1 -1
- package/coverage/IconButton/IconButton.module.css.html +1 -1
- package/coverage/IconButton/index.html +1 -1
- package/coverage/IconButton/props/defaultProps.js.html +1 -1
- package/coverage/IconButton/props/index.html +1 -1
- package/coverage/IconButton/props/propTypes.js.html +1 -1
- package/coverage/Image/Image.js.html +1 -1
- package/coverage/Image/Image.module.css.html +1 -1
- package/coverage/Image/index.html +1 -1
- package/coverage/Image/props/defaultProps.js.html +1 -1
- package/coverage/Image/props/index.html +1 -1
- package/coverage/Image/props/propTypes.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
- package/coverage/avatar/AvatarWithTeam/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
- package/coverage/index.html +1 -1
- package/es/NewStar/NewStar.module.css +128 -67
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +4 -4
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +9 -0
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +9 -2
- package/es/form/fields/TagsMultiSelectField/props/defaultProps.js +3 -1
- package/es/form/fields/TagsMultiSelectField/props/propTypes.js +5 -1
- package/es/form/fields/TextEditor/TextEditor.module.css +63 -47
- package/es/v1/form/fields/SelectField/SelectField.js +1 -9
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +42 -13
- package/es/v1/form/fields/TagsMultiSelect/props/defaultProps.js +4 -1
- package/es/v1/form/fields/TagsMultiSelect/props/propTypes.js +10 -1
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +9 -2
- package/es/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +3 -1
- package/es/v1/form/fields/TagsMultiSelectField/props/propTypes.js +5 -1
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +122 -142
- package/es/v1/form/fields/TextEditorField/TextEditorField.js +133 -153
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +137 -178
- package/es/v1/form/fields/TextareaField/TextareaField.js +113 -137
- package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +43 -43
- package/es/v1/form/layout/Field/Field.js +24 -28
- package/es/v1/form/layout/Section/Section.js +26 -33
- package/es/v1/list/Subject/Subject.js +39 -48
- package/es/v1/list/TagNew/TagNew.js +18 -27
- package/es/v1/list/Thread/Thread.js +26 -35
- package/lib/NewStar/NewStar.module.css +128 -67
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -5
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +9 -0
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +9 -2
- package/lib/form/fields/TagsMultiSelectField/props/defaultProps.js +3 -1
- package/lib/form/fields/TagsMultiSelectField/props/propTypes.js +5 -1
- package/lib/form/fields/TextEditor/TextEditor.module.css +63 -47
- package/lib/v1/form/fields/SelectField/SelectField.js +1 -7
- package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +45 -13
- package/lib/v1/form/fields/TagsMultiSelect/props/defaultProps.js +4 -1
- package/lib/v1/form/fields/TagsMultiSelect/props/propTypes.js +10 -1
- package/lib/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +9 -2
- package/lib/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +3 -1
- package/lib/v1/form/fields/TagsMultiSelectField/props/propTypes.js +5 -1
- package/lib/v1/form/fields/TextBoxField/TextBoxField.js +125 -181
- package/lib/v1/form/fields/TextEditorField/TextEditorField.js +138 -193
- package/lib/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +160 -212
- package/lib/v1/form/fields/TextareaField/TextareaField.js +117 -177
- package/lib/v1/form/fields/ValidationMessage/ValidationMessage.js +41 -80
- package/lib/v1/form/layout/Field/Field.js +22 -69
- package/lib/v1/form/layout/Section/Section.js +26 -72
- package/lib/v1/list/Subject/Subject.js +39 -87
- package/lib/v1/list/TagNew/TagNew.js +18 -66
- package/lib/v1/list/Thread/Thread.js +25 -73
- package/package.json +10 -10
- package/propValidationArg.json +8 -4
- package/result.json +1 -1
|
@@ -31,200 +31,145 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
31
31
|
|
|
32
32
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
onChange
|
|
34
|
+
var TextEditorField = function TextEditorField(props) {
|
|
35
|
+
var labelName = props.labelName,
|
|
36
|
+
id = props.id,
|
|
37
|
+
isMandatory = props.isMandatory,
|
|
38
|
+
value = props.value,
|
|
39
|
+
validationMessage = props.validationMessage,
|
|
40
|
+
validationPalette = props.validationPalette,
|
|
41
|
+
isReadOnly = props.isReadOnly,
|
|
42
|
+
onAttachmentUpload = props.onAttachmentUpload,
|
|
43
|
+
needEditor = props.needEditor,
|
|
44
|
+
dataId = props.dataId,
|
|
45
|
+
dataSelectorId = props.dataSelectorId,
|
|
46
|
+
isDisabled = props.isDisabled,
|
|
47
|
+
fieldSize = props.fieldSize,
|
|
48
|
+
textBoxSize = props.textBoxSize,
|
|
49
|
+
textBoxVariant = props.textBoxVariant,
|
|
50
|
+
labelPalette = props.labelPalette,
|
|
51
|
+
labelCustomClass = props.labelCustomClass,
|
|
52
|
+
infoText = props.infoText,
|
|
53
|
+
isLocked = props.isLocked,
|
|
54
|
+
lockedInfoText = props.lockedInfoText,
|
|
55
|
+
errorType = props.errorType,
|
|
56
|
+
EDITORURL = props.EDITORURL,
|
|
57
|
+
editorMode = props.editorMode,
|
|
58
|
+
isCustomScroll = props.isCustomScroll,
|
|
59
|
+
initCallback = props.initCallback,
|
|
60
|
+
loadingComponent = props.loadingComponent,
|
|
61
|
+
handleAlertMessage = props.handleAlertMessage,
|
|
62
|
+
editorCallback = props.editorCallback,
|
|
63
|
+
editorBlurCallback = props.editorBlurCallback,
|
|
64
|
+
editorOptions = props.editorOptions,
|
|
65
|
+
onFocus = props.onFocus,
|
|
66
|
+
isEditorDefaultOpen = props.isEditorDefaultOpen,
|
|
67
|
+
changeEditorContent = props.changeEditorContent,
|
|
68
|
+
shouldEditorUpdateContent = props.shouldEditorUpdateContent,
|
|
69
|
+
setInlineAttachmentInProgress = props.setInlineAttachmentInProgress,
|
|
70
|
+
handleEditorDropUpload = props.handleEditorDropUpload,
|
|
71
|
+
ImgLazyLoad = props.ImgLazyLoad,
|
|
72
|
+
needInlineAttachment = props.needInlineAttachment,
|
|
73
|
+
i18nKeys = props.i18nKeys,
|
|
74
|
+
className = props.className,
|
|
75
|
+
children = props.children,
|
|
76
|
+
ePhiData = props.ePhiData,
|
|
77
|
+
customProps = props.customProps,
|
|
78
|
+
onChange = props.onChange,
|
|
79
|
+
getRef = props.getRef,
|
|
80
|
+
isFocusOnLabelClick = props.isFocusOnLabelClick;
|
|
81
|
+
var textEditorEleRef = (0, _react.useRef)(null);
|
|
82
|
+
var _customProps$LabelPro = customProps.LabelProps,
|
|
83
|
+
LabelProps = _customProps$LabelPro === void 0 ? {} : _customProps$LabelPro,
|
|
84
|
+
_customProps$TextEdit = customProps.TextEditorWrapperProps,
|
|
85
|
+
TextEditorWrapperProps = _customProps$TextEdit === void 0 ? {} : _customProps$TextEdit,
|
|
86
|
+
_customProps$Validati = customProps.ValidationMessageProps,
|
|
87
|
+
ValidationMessageProps = _customProps$Validati === void 0 ? {} : _customProps$Validati;
|
|
88
|
+
|
|
89
|
+
var handleChange = function handleChange(value) {
|
|
90
|
+
onChange && onChange(id, value);
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
var handleGetRef = function handleGetRef(el) {
|
|
94
|
+
textEditorEleRef.current = el;
|
|
95
|
+
getRef && getRef(el, id);
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
var handleLabelClick = function handleLabelClick() {
|
|
99
|
+
if (isFocusOnLabelClick && !isDisabled && !isReadOnly && textEditorEleRef.current && textEditorEleRef.current.focus) {
|
|
100
|
+
textEditorEleRef.current.focus();
|
|
79
101
|
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
var renderEnd = function renderEnd() {
|
|
105
|
+
return children ? children : null;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
109
|
+
className: "".concat(_FieldsModule["default"].container, " ").concat(isDisabled ? _FieldsModule["default"].disabled : isReadOnly ? _FieldsModule["default"].readonly : '', " ").concat(className || ''),
|
|
110
|
+
"data-selector-id": dataSelectorId
|
|
111
|
+
}, labelName && /*#__PURE__*/_react["default"].createElement(_FieldContainer["default"], {
|
|
112
|
+
infoText: infoText,
|
|
113
|
+
isLocked: isLocked,
|
|
114
|
+
lockedInfoText: lockedInfoText,
|
|
115
|
+
ePhiData: ePhiData,
|
|
116
|
+
dataId: dataId,
|
|
117
|
+
renderProps: {
|
|
118
|
+
end: renderEnd
|
|
88
119
|
}
|
|
89
|
-
}, {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
value:
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
loadingComponent = _this$props4.loadingComponent,
|
|
137
|
-
handleAlertMessage = _this$props4.handleAlertMessage,
|
|
138
|
-
editorCallback = _this$props4.editorCallback,
|
|
139
|
-
editorBlurCallback = _this$props4.editorBlurCallback,
|
|
140
|
-
editorOptions = _this$props4.editorOptions,
|
|
141
|
-
onFocus = _this$props4.onFocus,
|
|
142
|
-
isEditorDefaultOpen = _this$props4.isEditorDefaultOpen,
|
|
143
|
-
changeEditorContent = _this$props4.changeEditorContent,
|
|
144
|
-
shouldEditorUpdateContent = _this$props4.shouldEditorUpdateContent,
|
|
145
|
-
setInlineAttachmentInProgress = _this$props4.setInlineAttachmentInProgress,
|
|
146
|
-
handleEditorDropUpload = _this$props4.handleEditorDropUpload,
|
|
147
|
-
ImgLazyLoad = _this$props4.ImgLazyLoad,
|
|
148
|
-
needInlineAttachment = _this$props4.needInlineAttachment,
|
|
149
|
-
i18nKeys = _this$props4.i18nKeys,
|
|
150
|
-
className = _this$props4.className,
|
|
151
|
-
children = _this$props4.children,
|
|
152
|
-
ePhiData = _this$props4.ePhiData,
|
|
153
|
-
customProps = _this$props4.customProps;
|
|
154
|
-
var _customProps$LabelPro = customProps.LabelProps,
|
|
155
|
-
LabelProps = _customProps$LabelPro === void 0 ? {} : _customProps$LabelPro,
|
|
156
|
-
_customProps$TextEdit = customProps.TextEditorWrapperProps,
|
|
157
|
-
TextEditorWrapperProps = _customProps$TextEdit === void 0 ? {} : _customProps$TextEdit,
|
|
158
|
-
_customProps$Validati = customProps.ValidationMessageProps,
|
|
159
|
-
ValidationMessageProps = _customProps$Validati === void 0 ? {} : _customProps$Validati;
|
|
160
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
161
|
-
className: "".concat(_FieldsModule["default"].container, " ").concat(isDisabled ? _FieldsModule["default"].disabled : isReadOnly ? _FieldsModule["default"].readonly : '', " ").concat(className || ''),
|
|
162
|
-
"data-selector-id": dataSelectorId
|
|
163
|
-
}, labelName && /*#__PURE__*/_react["default"].createElement(_FieldContainer["default"], {
|
|
164
|
-
infoText: infoText,
|
|
165
|
-
isLocked: isLocked,
|
|
166
|
-
lockedInfoText: lockedInfoText,
|
|
167
|
-
ePhiData: ePhiData,
|
|
168
|
-
dataId: dataId,
|
|
169
|
-
renderProps: {
|
|
170
|
-
end: this.renderEnd
|
|
171
|
-
}
|
|
172
|
-
}, /*#__PURE__*/_react["default"].createElement(_Label["default"], _extends({
|
|
173
|
-
text: labelName,
|
|
174
|
-
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
175
|
-
htmlFor: !isReadOnly && !isDisabled ? id : undefined,
|
|
176
|
-
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
177
|
-
onClick: this.handleLabelClick,
|
|
178
|
-
customClass: "".concat(_FieldsModule["default"].fieldLabel, " ").concat(labelCustomClass, " ").concat(isMandatory ? _FieldsModule["default"].labelMandatory : ''),
|
|
179
|
-
dataId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
|
|
180
|
-
}, LabelProps))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
181
|
-
className: "".concat(_FieldsModule["default"].fieldContainer, " ").concat(labelName ? _FieldsModule["default"]["fieldMargin_".concat(fieldSize)] : '')
|
|
182
|
-
}, /*#__PURE__*/_react["default"].createElement(_TextEditorWrapper["default"], _extends({
|
|
183
|
-
needEditor: needEditor,
|
|
184
|
-
onChange: this.handleChange,
|
|
185
|
-
id: id,
|
|
186
|
-
value: value,
|
|
187
|
-
isReadOnly: isReadOnly,
|
|
188
|
-
getRef: this.handleGetRef,
|
|
189
|
-
onAttachmentUpload: onAttachmentUpload,
|
|
190
|
-
dataId: dataId,
|
|
191
|
-
isDisabled: isDisabled,
|
|
192
|
-
textBoxSize: fieldSize === 'medium' ? textBoxSize : 'xsmall',
|
|
193
|
-
textBoxVariant: textBoxVariant,
|
|
194
|
-
EDITORURL: EDITORURL,
|
|
195
|
-
editorMode: editorMode,
|
|
196
|
-
isCustomScroll: isCustomScroll,
|
|
197
|
-
initCallback: initCallback,
|
|
198
|
-
loadingComponent: loadingComponent,
|
|
199
|
-
handleAlertMessage: handleAlertMessage,
|
|
200
|
-
editorCallback: editorCallback,
|
|
201
|
-
i18nKeys: i18nKeys,
|
|
202
|
-
ImgLazyLoad: ImgLazyLoad,
|
|
203
|
-
editorOptions: editorOptions,
|
|
204
|
-
editorBlurCallback: editorBlurCallback,
|
|
205
|
-
onFocus: onFocus,
|
|
206
|
-
isEditorDefaultOpen: isEditorDefaultOpen,
|
|
207
|
-
changeEditorContent: changeEditorContent,
|
|
208
|
-
shouldEditorUpdateContent: shouldEditorUpdateContent,
|
|
209
|
-
setInlineAttachmentInProgress: setInlineAttachmentInProgress,
|
|
210
|
-
handleEditorDropUpload: handleEditorDropUpload,
|
|
211
|
-
needInlineAttachment: needInlineAttachment
|
|
212
|
-
}, TextEditorWrapperProps))), validationMessage && /*#__PURE__*/_react["default"].createElement(_ValidationMessage["default"], _extends({
|
|
213
|
-
text: validationMessage,
|
|
214
|
-
palette: validationPalette,
|
|
215
|
-
type: errorType,
|
|
216
|
-
dataId: "".concat(dataId, "_ValidationMessage")
|
|
217
|
-
}, ValidationMessageProps)));
|
|
218
|
-
}
|
|
219
|
-
}]);
|
|
220
|
-
|
|
221
|
-
return TextEditorField;
|
|
222
|
-
}(_react.PureComponent);
|
|
120
|
+
}, /*#__PURE__*/_react["default"].createElement(_Label["default"], _extends({
|
|
121
|
+
text: labelName,
|
|
122
|
+
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
123
|
+
htmlFor: !isReadOnly && !isDisabled ? id : undefined,
|
|
124
|
+
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
125
|
+
onClick: handleLabelClick,
|
|
126
|
+
customClass: "".concat(_FieldsModule["default"].fieldLabel, " ").concat(labelCustomClass, " ").concat(isMandatory ? _FieldsModule["default"].labelMandatory : ''),
|
|
127
|
+
dataId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
|
|
128
|
+
}, LabelProps))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
129
|
+
className: "".concat(_FieldsModule["default"].fieldContainer, " ").concat(labelName ? _FieldsModule["default"]["fieldMargin_".concat(fieldSize)] : '')
|
|
130
|
+
}, /*#__PURE__*/_react["default"].createElement(_TextEditorWrapper["default"], _extends({
|
|
131
|
+
needEditor: needEditor,
|
|
132
|
+
onChange: handleChange,
|
|
133
|
+
id: id,
|
|
134
|
+
value: value,
|
|
135
|
+
isReadOnly: isReadOnly,
|
|
136
|
+
getRef: handleGetRef,
|
|
137
|
+
onAttachmentUpload: onAttachmentUpload,
|
|
138
|
+
dataId: dataId,
|
|
139
|
+
isDisabled: isDisabled,
|
|
140
|
+
textBoxSize: fieldSize === 'medium' ? textBoxSize : 'xsmall',
|
|
141
|
+
textBoxVariant: textBoxVariant,
|
|
142
|
+
EDITORURL: EDITORURL,
|
|
143
|
+
editorMode: editorMode,
|
|
144
|
+
isCustomScroll: isCustomScroll,
|
|
145
|
+
initCallback: initCallback,
|
|
146
|
+
loadingComponent: loadingComponent,
|
|
147
|
+
handleAlertMessage: handleAlertMessage,
|
|
148
|
+
editorCallback: editorCallback,
|
|
149
|
+
i18nKeys: i18nKeys,
|
|
150
|
+
ImgLazyLoad: ImgLazyLoad,
|
|
151
|
+
editorOptions: editorOptions,
|
|
152
|
+
editorBlurCallback: editorBlurCallback,
|
|
153
|
+
onFocus: onFocus,
|
|
154
|
+
isEditorDefaultOpen: isEditorDefaultOpen,
|
|
155
|
+
changeEditorContent: changeEditorContent,
|
|
156
|
+
shouldEditorUpdateContent: shouldEditorUpdateContent,
|
|
157
|
+
setInlineAttachmentInProgress: setInlineAttachmentInProgress,
|
|
158
|
+
handleEditorDropUpload: handleEditorDropUpload,
|
|
159
|
+
needInlineAttachment: needInlineAttachment
|
|
160
|
+
}, TextEditorWrapperProps))), validationMessage && /*#__PURE__*/_react["default"].createElement(_ValidationMessage["default"], _extends({
|
|
161
|
+
text: validationMessage,
|
|
162
|
+
palette: validationPalette,
|
|
163
|
+
type: errorType,
|
|
164
|
+
dataId: "".concat(dataId, "_ValidationMessage")
|
|
165
|
+
}, ValidationMessageProps)));
|
|
166
|
+
};
|
|
223
167
|
|
|
224
|
-
exports["default"] = TextEditorField;
|
|
225
168
|
TextEditorField.propTypes = _propTypes.propTypes;
|
|
226
|
-
TextEditorField.defaultProps = _defaultProps.defaultProps;
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
169
|
+
TextEditorField.defaultProps = _defaultProps.defaultProps;
|
|
170
|
+
var MemoizedTextEditorField = /*#__PURE__*/(0, _react.memo)(TextEditorField);
|
|
171
|
+
MemoizedTextEditorField.propTypes = _propTypes.propTypes;
|
|
172
|
+
MemoizedTextEditorField.defaultProps = _defaultProps.defaultProps;
|
|
173
|
+
MemoizedTextEditorField.displayName = 'TextEditorField';
|
|
174
|
+
var _default = TextEditorField;
|
|
175
|
+
exports["default"] = _default;
|