@zohodesk/dot 1.0.0-temp-224 → 1.0.0-temp-187.22
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/README.md +16 -4
- package/es/common/dot_boxShadow.module.css +1 -2
- package/es/form/fields/CheckBoxField/CheckBoxField.js +6 -1
- package/es/form/fields/CheckBoxField/__tests__/__snapshots__/CheckBoxField.spec.js.snap +21 -18
- package/es/form/fields/CurrencyField/__tests__/__snapshots__/CurrencyField.spec.js.snap +1 -1
- package/es/form/fields/DateField/DateField.js +5 -0
- package/es/form/fields/DateField/__tests__/__snapshots__/DateField.spec.js.snap +1 -1
- package/es/form/fields/Fields.module.css +4 -1
- package/es/form/fields/MultiSelectField/MultiSelectField.js +17 -12
- package/es/form/fields/MultiSelectField/__tests__/__snapshots__/MultiSelectField.spec.js.snap +1 -1
- package/es/form/fields/PhoneField/__tests__/__snapshots__/PhoneField.spec.js.snap +1 -1
- package/es/form/fields/RadioField/RadioField.js +5 -0
- package/es/form/fields/SelectField/SelectField.js +5 -0
- package/es/form/fields/SelectField/__tests__/__snapshots__/SelectField.spec.js.snap +1 -1
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +10 -6
- package/es/form/fields/TagsMultiSelect/__tests__/__snapshots__/TagsMultiSelect.spec.js.snap +1 -1
- package/es/form/fields/TagsMultiSelect/props/propTypes.js +2 -1
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +5 -0
- package/es/form/fields/TagsMultiSelectField/__tests__/__snapshots__/TagsMultiSelectField.spec.js.snap +1 -1
- package/es/form/fields/TextBoxField/TextBoxField.js +5 -0
- package/es/form/fields/TextBoxField/__tests__/__snapshots__/TextBoxField.spec.js.snap +1 -1
- package/es/form/fields/TextEditor/TextEditor.js +6 -2
- package/es/form/fields/TextEditor/__tests__/__snapshots__/TextEditor.spec.js.snap +1 -1
- package/es/form/fields/TextEditor/props/defaultProps.js +2 -1
- package/es/form/fields/TextEditor/props/propTypes.js +2 -1
- package/es/form/fields/TextareaField/TextareaField.js +5 -0
- package/es/list/DepartmentDropDown/DepartmentDropDown.js +6 -2
- package/es/list/DepartmentDropDown/__tests__/__snapshots__/DepartmentDropDown.spec.js.snap +1 -1
- package/es/list/DepartmentDropDown/props/defaultProps.js +2 -1
- package/es/list/DepartmentDropDown/props/propTypes.js +3 -0
- package/es/list/SecondaryText/AccountName.js +23 -8
- package/es/list/SecondaryText/ContactName.js +18 -6
- package/es/list/SecondaryText/DepartmentText.js +13 -6
- package/es/list/SecondaryText/Email.js +19 -7
- package/es/list/SecondaryText/PhoneNumber.js +19 -7
- package/es/list/SecondaryText/PriorityText.js +13 -6
- package/es/list/SecondaryText/SecondaryText.js +17 -8
- package/es/list/SecondaryText/SecondaryText.module.css +40 -24
- package/es/list/SecondaryText/StatusText.js +13 -6
- package/es/list/SecondaryText/TicketId.js +8 -2
- package/es/list/SecondaryText/Website.js +16 -5
- package/es/list/SecondaryText/__tests__/__snapshots__/AccountName.spec.js.snap +1 -1
- package/es/list/SecondaryText/__tests__/__snapshots__/ContactName.spec.js.snap +1 -1
- package/es/list/SecondaryText/__tests__/__snapshots__/DepartmentText.spec.js.snap +1 -1
- package/es/list/SecondaryText/__tests__/__snapshots__/Email.spec.js.snap +1 -1
- package/es/list/SecondaryText/__tests__/__snapshots__/PhoneNumber.spec.js.snap +1 -1
- package/es/list/SecondaryText/__tests__/__snapshots__/PriorityText.spec.js.snap +1 -1
- package/es/list/SecondaryText/__tests__/__snapshots__/SecondaryText.spec.js.snap +1 -1
- package/es/list/SecondaryText/__tests__/__snapshots__/StatusText.spec.js.snap +1 -1
- package/es/list/SecondaryText/__tests__/__snapshots__/Website.spec.js.snap +6 -2
- package/es/list/SecondaryText/props/defaultProps.js +18 -0
- package/es/list/SecondaryText/props/propTypes.js +21 -0
- package/es/list/Subject/Subject.js +28 -12
- package/es/list/Subject/__tests__/__snapshots__/Subject.spec.js.snap +14 -14
- package/es/list/Subject/props/defaultProps.js +3 -1
- package/es/list/Subject/props/propTypes.js +5 -1
- package/es/list/status/StatusDropdown/StatusDropdown.js +7 -2
- package/es/list/status/StatusDropdown/props/defaultProps.js +2 -1
- package/es/list/status/StatusDropdown/props/propTypes.js +4 -1
- package/es/list/status/StatusListItem/StatusListItem.js +4 -2
- package/es/list/status/StatusListItem/StatusListItem.module.css +43 -17
- package/es/lookup/header/Search/__tests__/__snapshots__/Search.spec.js.snap +6 -6
- package/lib/common/dot_boxShadow.module.css +1 -2
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +7 -2
- package/lib/form/fields/CheckBoxField/__tests__/__snapshots__/CheckBoxField.spec.js.snap +21 -18
- package/lib/form/fields/CurrencyField/__tests__/__snapshots__/CurrencyField.spec.js.snap +1 -1
- package/lib/form/fields/DateField/DateField.js +6 -1
- package/lib/form/fields/DateField/__tests__/__snapshots__/DateField.spec.js.snap +1 -1
- package/lib/form/fields/Fields.module.css +4 -1
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +18 -12
- package/lib/form/fields/MultiSelectField/__tests__/__snapshots__/MultiSelectField.spec.js.snap +1 -1
- package/lib/form/fields/PhoneField/__tests__/__snapshots__/PhoneField.spec.js.snap +1 -1
- package/lib/form/fields/RadioField/RadioField.js +6 -1
- package/lib/form/fields/SelectField/SelectField.js +6 -1
- package/lib/form/fields/SelectField/__tests__/__snapshots__/SelectField.spec.js.snap +1 -1
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +12 -7
- package/lib/form/fields/TagsMultiSelect/__tests__/__snapshots__/TagsMultiSelect.spec.js.snap +1 -1
- package/lib/form/fields/TagsMultiSelect/props/propTypes.js +2 -1
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +6 -1
- package/lib/form/fields/TagsMultiSelectField/__tests__/__snapshots__/TagsMultiSelectField.spec.js.snap +1 -1
- package/lib/form/fields/TextBoxField/TextBoxField.js +6 -1
- package/lib/form/fields/TextBoxField/__tests__/__snapshots__/TextBoxField.spec.js.snap +1 -1
- package/lib/form/fields/TextEditor/TextEditor.js +5 -2
- package/lib/form/fields/TextEditor/__tests__/__snapshots__/TextEditor.spec.js.snap +1 -1
- package/lib/form/fields/TextEditor/props/defaultProps.js +2 -1
- package/lib/form/fields/TextEditor/props/propTypes.js +2 -1
- package/lib/form/fields/TextareaField/TextareaField.js +6 -1
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +8 -3
- package/lib/list/DepartmentDropDown/__tests__/__snapshots__/DepartmentDropDown.spec.js.snap +1 -1
- package/lib/list/DepartmentDropDown/props/defaultProps.js +2 -1
- package/lib/list/DepartmentDropDown/props/propTypes.js +2 -0
- package/lib/list/SecondaryText/AccountName.js +27 -8
- package/lib/list/SecondaryText/ContactName.js +21 -6
- package/lib/list/SecondaryText/DepartmentText.js +15 -6
- package/lib/list/SecondaryText/Email.js +22 -7
- package/lib/list/SecondaryText/PhoneNumber.js +22 -7
- package/lib/list/SecondaryText/PriorityText.js +15 -6
- package/lib/list/SecondaryText/SecondaryText.js +26 -8
- package/lib/list/SecondaryText/SecondaryText.module.css +40 -24
- package/lib/list/SecondaryText/StatusText.js +15 -6
- package/lib/list/SecondaryText/TicketId.js +10 -2
- package/lib/list/SecondaryText/Website.js +18 -5
- package/lib/list/SecondaryText/__tests__/__snapshots__/AccountName.spec.js.snap +1 -1
- package/lib/list/SecondaryText/__tests__/__snapshots__/ContactName.spec.js.snap +1 -1
- package/lib/list/SecondaryText/__tests__/__snapshots__/DepartmentText.spec.js.snap +1 -1
- package/lib/list/SecondaryText/__tests__/__snapshots__/Email.spec.js.snap +1 -1
- package/lib/list/SecondaryText/__tests__/__snapshots__/PhoneNumber.spec.js.snap +1 -1
- package/lib/list/SecondaryText/__tests__/__snapshots__/PriorityText.spec.js.snap +1 -1
- package/lib/list/SecondaryText/__tests__/__snapshots__/SecondaryText.spec.js.snap +1 -1
- package/lib/list/SecondaryText/__tests__/__snapshots__/StatusText.spec.js.snap +1 -1
- package/lib/list/SecondaryText/__tests__/__snapshots__/Website.spec.js.snap +6 -2
- package/lib/list/SecondaryText/props/defaultProps.js +18 -0
- package/lib/list/SecondaryText/props/propTypes.js +22 -0
- package/lib/list/Subject/Subject.js +40 -13
- package/lib/list/Subject/__tests__/__snapshots__/Subject.spec.js.snap +14 -14
- package/lib/list/Subject/props/defaultProps.js +3 -1
- package/lib/list/Subject/props/propTypes.js +6 -1
- package/lib/list/status/StatusDropdown/StatusDropdown.js +6 -2
- package/lib/list/status/StatusDropdown/props/defaultProps.js +2 -1
- package/lib/list/status/StatusDropdown/props/propTypes.js +3 -1
- package/lib/list/status/StatusListItem/StatusListItem.js +4 -2
- package/lib/list/status/StatusListItem/StatusListItem.module.css +43 -17
- package/lib/lookup/header/Search/__tests__/__snapshots__/Search.spec.js.snap +6 -6
- package/package.json +9 -9
|
@@ -66,8 +66,8 @@ var MultiSelectField = /*#__PURE__*/function (_PureComponent) {
|
|
|
66
66
|
_this = _super.call(this, props);
|
|
67
67
|
_this.handleChange = _this.handleChange.bind(_assertThisInitialized(_this));
|
|
68
68
|
_this.handleGetRef = _this.handleGetRef.bind(_assertThisInitialized(_this));
|
|
69
|
-
_this.onDropBoxOpen = _this.onDropBoxOpen.bind(_assertThisInitialized(_this));
|
|
70
|
-
|
|
69
|
+
_this.onDropBoxOpen = _this.onDropBoxOpen.bind(_assertThisInitialized(_this)); // this.handleLabelClick = this.handleLabelClick.bind(this);
|
|
70
|
+
|
|
71
71
|
_this.onSearch = _this.onSearch.bind(_assertThisInitialized(_this));
|
|
72
72
|
_this.getNextOptions = _this.getNextOptions.bind(_assertThisInitialized(_this));
|
|
73
73
|
_this.getNextId = (0, _IdProvider.getUniqueId)(_assertThisInitialized(_this));
|
|
@@ -118,16 +118,17 @@ var MultiSelectField = /*#__PURE__*/function (_PureComponent) {
|
|
|
118
118
|
id = _this$props5.id;
|
|
119
119
|
this.multiSelectBox = el;
|
|
120
120
|
getRef && getRef(el, id);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
121
|
+
} // handleLabelClick() {
|
|
122
|
+
// let { isFocusOnLabelClick } = this.props;
|
|
123
|
+
// if (
|
|
124
|
+
// isFocusOnLabelClick &&
|
|
125
|
+
// this.multiSelectBox &&
|
|
126
|
+
// this.multiSelectBox.focus
|
|
127
|
+
// ) {
|
|
128
|
+
// this.multiSelectBox.focus();
|
|
129
|
+
// }
|
|
130
|
+
// }
|
|
126
131
|
|
|
127
|
-
if (isFocusOnLabelClick && this.multiSelectBox && this.multiSelectBox.focus) {
|
|
128
|
-
this.multiSelectBox.focus();
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
132
|
}, {
|
|
132
133
|
key: "render",
|
|
133
134
|
value: function render() {
|
|
@@ -205,7 +206,12 @@ var MultiSelectField = /*#__PURE__*/function (_PureComponent) {
|
|
|
205
206
|
htmlFor: uniqueId // onClick={this.handleLabelClick}
|
|
206
207
|
,
|
|
207
208
|
testId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label"),
|
|
208
|
-
customId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
|
|
209
|
+
customId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label"),
|
|
210
|
+
tagAttributes: {
|
|
211
|
+
label: {
|
|
212
|
+
id: id
|
|
213
|
+
}
|
|
214
|
+
}
|
|
209
215
|
}, LabelProps))), /*#__PURE__*/_react["default"].createElement(_MultiSelect["default"], _extends({
|
|
210
216
|
options: options,
|
|
211
217
|
onChange: this.handleChange,
|
package/lib/form/fields/MultiSelectField/__tests__/__snapshots__/MultiSelectField.spec.js.snap
CHANGED
|
@@ -29,7 +29,7 @@ exports[`MultiSelectField rendering the defult props 1`] = `
|
|
|
29
29
|
"
|
|
30
30
|
/>
|
|
31
31
|
<div
|
|
32
|
-
class="varClass customContainer
|
|
32
|
+
class="varClass customContainer effect container custmInputWrapper flex rowdir"
|
|
33
33
|
data-selector-id="textBoxIcon"
|
|
34
34
|
>
|
|
35
35
|
<div
|
|
@@ -22,7 +22,7 @@ exports[`PhoneField rendering the defult props 1`] = `
|
|
|
22
22
|
class="fieldContainer "
|
|
23
23
|
>
|
|
24
24
|
<div
|
|
25
|
-
class="varClass customContainer
|
|
25
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
26
26
|
data-selector-id="textBoxIcon"
|
|
27
27
|
>
|
|
28
28
|
<div
|
|
@@ -196,7 +196,12 @@ var RadioField = /*#__PURE__*/function (_PureComponent) {
|
|
|
196
196
|
label: customLabelClass
|
|
197
197
|
},
|
|
198
198
|
customId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label"),
|
|
199
|
-
testId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
|
|
199
|
+
testId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label"),
|
|
200
|
+
tagAttributes: {
|
|
201
|
+
label: {
|
|
202
|
+
id: id
|
|
203
|
+
}
|
|
204
|
+
}
|
|
200
205
|
}, LabelProps)), /*#__PURE__*/_react["default"].createElement("div", {
|
|
201
206
|
className: "".concat(_FieldsModule["default"].fieldContainer, " ").concat(isBoxStyle ? _FieldsModule["default"].radiosWrapper : '', " ").concat(labelName ? isBoxStyle ? _FieldsModule["default"].fieldMargin_large : _FieldsModule["default"].fieldMargin_medium : '', " ").concat(_FieldsModule["default"].radioContainer)
|
|
202
207
|
}, options.map(function (option, index) {
|
|
@@ -176,7 +176,12 @@ var SelectField = /*#__PURE__*/function (_PureComponent) {
|
|
|
176
176
|
htmlFor: uniqueId,
|
|
177
177
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
178
178
|
testId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label"),
|
|
179
|
-
customId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
|
|
179
|
+
customId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label"),
|
|
180
|
+
tagAttributes: {
|
|
181
|
+
label: {
|
|
182
|
+
id: uniqueId
|
|
183
|
+
}
|
|
184
|
+
}
|
|
180
185
|
}, LabelProps))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
181
186
|
className: "".concat(_FieldsModule["default"].fieldContainer, " ").concat(labelName ? _FieldsModule["default"]["fieldMargin_".concat(fieldSize)] : '', " ").concat(fieldClass ? fieldClass : '')
|
|
182
187
|
}, /*#__PURE__*/_react["default"].createElement(_Select["default"], _extends({
|
|
@@ -19,7 +19,7 @@ exports[`SelectField rendering the defult props 1`] = `
|
|
|
19
19
|
data-test-id="selectComponent"
|
|
20
20
|
>
|
|
21
21
|
<div
|
|
22
|
-
class="varClass customContainer
|
|
22
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container input flex rowdir"
|
|
23
23
|
data-selector-id="textBoxIcon"
|
|
24
24
|
>
|
|
25
25
|
<div
|
|
@@ -222,13 +222,17 @@ var TagsMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
222
222
|
_customClass$listItem = customClass.listItemClass,
|
|
223
223
|
listItemClass = _customClass$listItem === void 0 ? '' : _customClass$listItem,
|
|
224
224
|
_customClass$textBoxI = customClass.textBoxIconWrapperClass,
|
|
225
|
-
textBoxIconWrapperClass = _customClass$textBoxI === void 0 ? '' : _customClass$textBoxI
|
|
225
|
+
textBoxIconWrapperClass = _customClass$textBoxI === void 0 ? '' : _customClass$textBoxI,
|
|
226
|
+
_customClass$dropBoxC = customClass.dropBoxClass,
|
|
227
|
+
dropBoxClass = _customClass$dropBoxC === void 0 ? '' : _customClass$dropBoxC;
|
|
226
228
|
var _customProps$TextBoxI = customProps.TextBoxIconProps,
|
|
227
229
|
TextBoxIconProps = _customProps$TextBoxI === void 0 ? {} : _customProps$TextBoxI,
|
|
228
230
|
_customProps$TagWrapp = customProps.TagWrapperProps,
|
|
229
231
|
TagWrapperProps = _customProps$TagWrapp === void 0 ? {} : _customProps$TagWrapp,
|
|
230
232
|
_customProps$TagProps = customProps.TagProps,
|
|
231
|
-
TagProps = _customProps$TagProps === void 0 ? {} : _customProps$TagProps
|
|
233
|
+
TagProps = _customProps$TagProps === void 0 ? {} : _customProps$TagProps,
|
|
234
|
+
_customProps$ListItem = customProps.ListItemProps,
|
|
235
|
+
ListItemProps = _customProps$ListItem === void 0 ? {} : _customProps$ListItem;
|
|
232
236
|
var isEditable = !isReadOnly;
|
|
233
237
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
234
238
|
className: "".concat(_TagsMultiSelectModule["default"].container, " ").concat(!isReadOnly ? " ".concat(needBorder ? _TagsMultiSelectModule["default"].hasBorder : '', "\n ").concat(needBorder ? _TagsMultiSelectModule["default"]["borderColor_".concat(borderColor)] : _TagsMultiSelectModule["default"].borderColor_transparent, " ").concat(isPopupReady && needBorder || isEditable && isFocus ? _TagsMultiSelectModule["default"].active : '') : '', " ").concat(className),
|
|
@@ -306,7 +310,8 @@ var TagsMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
306
310
|
boxPosition: boxPosition,
|
|
307
311
|
isPadding: false,
|
|
308
312
|
customClass: {
|
|
309
|
-
customDropBoxWrap: _TagsMultiSelectModule["default"].dropdown
|
|
313
|
+
customDropBoxWrap: _TagsMultiSelectModule["default"].dropdown,
|
|
314
|
+
customDropBox: dropBoxClass
|
|
310
315
|
},
|
|
311
316
|
dataId: "".concat(dataId, "_dropbox"),
|
|
312
317
|
isResponsivePadding: true,
|
|
@@ -337,8 +342,8 @@ var TagsMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
337
342
|
}, searchList.map(function (item, index) {
|
|
338
343
|
var name = item.name,
|
|
339
344
|
isNew = item.isNew,
|
|
340
|
-
|
|
341
|
-
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, searchList.length > 1 && isNew ? /*#__PURE__*/_react["default"].createElement(_DropDownSeparator["default"], null) : null, /*#__PURE__*/_react["default"].createElement(_ListItem["default"], {
|
|
345
|
+
listProps = item.listProps;
|
|
346
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, searchList.length > 1 && isNew ? /*#__PURE__*/_react["default"].createElement(_DropDownSeparator["default"], null) : null, /*#__PURE__*/_react["default"].createElement(_ListItem["default"], _extends({
|
|
342
347
|
key: index,
|
|
343
348
|
index: index,
|
|
344
349
|
autoHover: true,
|
|
@@ -349,9 +354,9 @@ var TagsMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
349
354
|
highlight: selectSearchIndex === index,
|
|
350
355
|
getRef: _this3.getSelectedItemRef,
|
|
351
356
|
isDisabled: listDisabled,
|
|
352
|
-
customProps:
|
|
357
|
+
customProps: listProps,
|
|
353
358
|
customClass: listItemClass
|
|
354
|
-
}, isNew ? /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
359
|
+
}, ListItemProps), isNew ? /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
355
360
|
alignBox: "row",
|
|
356
361
|
align: "vertical"
|
|
357
362
|
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
package/lib/form/fields/TagsMultiSelect/__tests__/__snapshots__/TagsMultiSelect.spec.js.snap
CHANGED
|
@@ -25,7 +25,7 @@ exports[`TagsMultiSelect rendering the defult props 1`] = `
|
|
|
25
25
|
class="custmSpan"
|
|
26
26
|
/>
|
|
27
27
|
<div
|
|
28
|
-
class="varClass customContainer
|
|
28
|
+
class="varClass customContainer effect container custmInp flex rowdir"
|
|
29
29
|
data-selector-id="textBoxIcon"
|
|
30
30
|
>
|
|
31
31
|
<div
|
|
@@ -62,7 +62,8 @@ var propTypes = {
|
|
|
62
62
|
customProps: _propTypes["default"].shape({
|
|
63
63
|
TextBoxIconProps: _propTypes["default"].object,
|
|
64
64
|
TagWrapperProps: _propTypes["default"].object,
|
|
65
|
-
TagProps: _propTypes["default"].object
|
|
65
|
+
TagProps: _propTypes["default"].object,
|
|
66
|
+
ListItemProps: _propTypes["default"].object
|
|
66
67
|
}),
|
|
67
68
|
isFocus: _propTypes["default"].bool
|
|
68
69
|
};
|
|
@@ -257,7 +257,12 @@ var TagsMultiSelectField = function TagsMultiSelectField(props) {
|
|
|
257
257
|
htmlFor: htmlId,
|
|
258
258
|
size: labelSize,
|
|
259
259
|
testId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label"),
|
|
260
|
-
customId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
|
|
260
|
+
customId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label"),
|
|
261
|
+
tagAttributes: {
|
|
262
|
+
label: {
|
|
263
|
+
id: id
|
|
264
|
+
}
|
|
265
|
+
}
|
|
261
266
|
}, LabelProps)), selectedValueCount ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
262
267
|
dataId: "".concat(dataId, "_tagCount"),
|
|
263
268
|
className: _TagsMultiSelectFieldModule["default"].count
|
|
@@ -31,7 +31,7 @@ exports[`TagsMultiSelectField rendering the defult props 1`] = `
|
|
|
31
31
|
class="custmSpan"
|
|
32
32
|
/>
|
|
33
33
|
<div
|
|
34
|
-
class="varClass customContainer
|
|
34
|
+
class="varClass customContainer effect container custmInp flex rowdir"
|
|
35
35
|
data-selector-id="textBoxIcon"
|
|
36
36
|
>
|
|
37
37
|
<div
|
|
@@ -166,7 +166,12 @@ var TextBoxField = /*#__PURE__*/function (_PureComponent) {
|
|
|
166
166
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
167
167
|
testId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label"),
|
|
168
168
|
htmlFor: uniqueId,
|
|
169
|
-
customId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
|
|
169
|
+
customId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label"),
|
|
170
|
+
tagAttributes: {
|
|
171
|
+
label: {
|
|
172
|
+
id: labelName
|
|
173
|
+
}
|
|
174
|
+
}
|
|
170
175
|
}, LabelProps))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
171
176
|
className: "".concat(_FieldsModule["default"].fieldContainer, " ").concat(labelName ? _FieldsModule["default"]["fieldMargin_".concat(fieldSize)] : '')
|
|
172
177
|
}, /*#__PURE__*/_react["default"].createElement(_TextBoxIcon["default"], _extends({
|
|
@@ -10,7 +10,7 @@ exports[`TextBoxField rendering the defult props 1`] = `
|
|
|
10
10
|
class="fieldContainer "
|
|
11
11
|
>
|
|
12
12
|
<div
|
|
13
|
-
class="varClass customContainer
|
|
13
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
14
14
|
data-selector-id="textBoxIcon"
|
|
15
15
|
>
|
|
16
16
|
<div
|
|
@@ -427,13 +427,16 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
427
427
|
isNightMode = _this$props9.isNightMode,
|
|
428
428
|
isReadOnly = _this$props9.isReadOnly,
|
|
429
429
|
dataSelectorId = _this$props9.dataSelectorId,
|
|
430
|
-
isDisabled = _this$props9.isDisabled
|
|
430
|
+
isDisabled = _this$props9.isDisabled,
|
|
431
|
+
customClass = _this$props9.customClass;
|
|
432
|
+
var _customClass$wrapper = customClass.wrapper,
|
|
433
|
+
wrapperClass = _customClass$wrapper === void 0 ? '' : _customClass$wrapper;
|
|
431
434
|
var _this$state = this.state,
|
|
432
435
|
isEditorLoad = _this$state.isEditorLoad,
|
|
433
436
|
isEditorShow = _this$state.isEditorShow;
|
|
434
437
|
var editorDoc = ImgLazyLoad && global.editor && global.editor[id] ? global.editor[id].doc : null;
|
|
435
438
|
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
436
|
-
className: "".concat(_TextEditorModule["default"].textEditor, " ").concat(_TextEditorModule["default"][type], " ").concat(_TextEditorModule["default"][border], "\n ").concat(isNightMode ? _TextEditorModule["default"].night : _TextEditorModule["default"].light, " ").concat(isReadOnly ? _TextEditorModule["default"].readOnly : '', " ").concat(isDisabled ? _TextEditorModule["default"].disable : '', " ").concat(!isEditorShow ? _TextEditorModule["default"].editorHide : ''),
|
|
439
|
+
className: "".concat(_TextEditorModule["default"].textEditor, " ").concat(_TextEditorModule["default"][type], " ").concat(_TextEditorModule["default"][border], "\n ").concat(isNightMode ? _TextEditorModule["default"].night : _TextEditorModule["default"].light, " ").concat(isReadOnly ? _TextEditorModule["default"].readOnly : '', " ").concat(isDisabled ? _TextEditorModule["default"].disable : '', " ").concat(!isEditorShow ? _TextEditorModule["default"].editorHide : '', " ").concat(wrapperClass),
|
|
437
440
|
dataId: dataId,
|
|
438
441
|
"data-isEditor": true,
|
|
439
442
|
dataSelectorId: dataSelectorId
|
|
@@ -4,7 +4,7 @@ exports[`TextEditor rendering the defult props 1`] = `
|
|
|
4
4
|
<DocumentFragment>
|
|
5
5
|
<div
|
|
6
6
|
class="textEditor large borderTop
|
|
7
|
-
light editorHide
|
|
7
|
+
light editorHide flex cover coldir"
|
|
8
8
|
data-id="containerComponent"
|
|
9
9
|
data-iseditor="true"
|
|
10
10
|
data-selector-id="textEditor"
|
|
@@ -59,6 +59,7 @@ var propTypes = {
|
|
|
59
59
|
allowedFileExtensions: _propTypes["default"].array,
|
|
60
60
|
fileNameMaxCharacters: _propTypes["default"].number,
|
|
61
61
|
fileSizeMaxBytes: _propTypes["default"].number
|
|
62
|
-
})
|
|
62
|
+
}),
|
|
63
|
+
customClass: _propTypes["default"].object
|
|
63
64
|
};
|
|
64
65
|
exports.propTypes = propTypes;
|
|
@@ -195,7 +195,12 @@ var TextareaField = /*#__PURE__*/function (_PureComponent) {
|
|
|
195
195
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
196
196
|
testId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label"),
|
|
197
197
|
htmlFor: uniqueId,
|
|
198
|
-
customId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
|
|
198
|
+
customId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label"),
|
|
199
|
+
tagAttributes: {
|
|
200
|
+
label: {
|
|
201
|
+
id: id
|
|
202
|
+
}
|
|
203
|
+
}
|
|
199
204
|
}, LabelProps))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
200
205
|
className: "".concat(_FieldsModule["default"].fieldContainer, " ").concat(labelName ? _FieldsModule["default"]["fieldMargin_".concat(fieldSize)] : '')
|
|
201
206
|
}, !renderRightPlaceholderNode ? textAreaContent : /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -25,6 +25,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
25
25
|
|
|
26
26
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
27
27
|
|
|
28
|
+
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); }
|
|
29
|
+
|
|
28
30
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
29
31
|
|
|
30
32
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
@@ -100,7 +102,10 @@ var DepartmentDropDown = /*#__PURE__*/function (_Component) {
|
|
|
100
102
|
onSearch = _this$props3.onSearch,
|
|
101
103
|
needSearchFetching = _this$props3.needSearchFetching,
|
|
102
104
|
searchStr = _this$props3.searchStr,
|
|
103
|
-
i18nKeys = _this$props3.i18nKeys
|
|
105
|
+
i18nKeys = _this$props3.i18nKeys,
|
|
106
|
+
customProps = _this$props3.customProps;
|
|
107
|
+
var _customProps$ToggleDr = customProps.ToggleDropDownProps,
|
|
108
|
+
ToggleDropDownProps = _customProps$ToggleDr === void 0 ? {} : _customProps$ToggleDr;
|
|
104
109
|
var _i18nKeys$title = i18nKeys.title,
|
|
105
110
|
title = _i18nKeys$title === void 0 ? 'Move Department' : _i18nKeys$title,
|
|
106
111
|
_i18nKeys$searchEmpty = i18nKeys.searchEmptyText,
|
|
@@ -109,7 +114,7 @@ var DepartmentDropDown = /*#__PURE__*/function (_Component) {
|
|
|
109
114
|
searchErrorText = _i18nKeys$searchError === void 0 ? 'No results' : _i18nKeys$searchError,
|
|
110
115
|
_i18nKeys$placeholder = i18nKeys.placeholder,
|
|
111
116
|
placeholder = _i18nKeys$placeholder === void 0 ? 'Search Department' : _i18nKeys$placeholder;
|
|
112
|
-
return /*#__PURE__*/_react["default"].createElement(_ToggleDropDown["default"], {
|
|
117
|
+
return /*#__PURE__*/_react["default"].createElement(_ToggleDropDown["default"], _extends({}, ToggleDropDownProps, {
|
|
113
118
|
title: title,
|
|
114
119
|
options: departmentList,
|
|
115
120
|
value: /*#__PURE__*/_react["default"].createElement(_SecondaryText.DepartmentText, {
|
|
@@ -138,7 +143,7 @@ var DepartmentDropDown = /*#__PURE__*/function (_Component) {
|
|
|
138
143
|
isNextOptions: isNextOptions,
|
|
139
144
|
onSearch: onSearch,
|
|
140
145
|
needSearchFetching: needSearchFetching
|
|
141
|
-
});
|
|
146
|
+
}));
|
|
142
147
|
}
|
|
143
148
|
}]);
|
|
144
149
|
|
|
@@ -31,5 +31,7 @@ var propTypes = (_propTypes = {
|
|
|
31
31
|
searchEmptyText: _propTypes2["default"].string,
|
|
32
32
|
searchErrorText: _propTypes2["default"].string,
|
|
33
33
|
placeholder: _propTypes2["default"].string
|
|
34
|
+
})), _defineProperty(_propTypes, "customProps", _propTypes2["default"].shape({
|
|
35
|
+
ToggleDropDownProps: _propTypes2["default"].object
|
|
34
36
|
})), _propTypes);
|
|
35
37
|
exports.propTypes = propTypes;
|
|
@@ -15,6 +15,10 @@ var _propTypes = require("./props/propTypes");
|
|
|
15
15
|
|
|
16
16
|
var _Layout = require("@zohodesk/components/es/Layout");
|
|
17
17
|
|
|
18
|
+
var _Typography = _interopRequireDefault(require("@zohodesk/components/es/Typography/Typography"));
|
|
19
|
+
|
|
20
|
+
var _Common = require("@zohodesk/components/es/utils/Common");
|
|
21
|
+
|
|
18
22
|
var _Link = _interopRequireDefault(require("../../Link/Link"));
|
|
19
23
|
|
|
20
24
|
var _SecondaryTextModule = _interopRequireDefault(require("./SecondaryText.module.css"));
|
|
@@ -77,6 +81,8 @@ var AccountName = /*#__PURE__*/function (_Component) {
|
|
|
77
81
|
secondaryAccountHref = _this$props.secondaryAccountHref,
|
|
78
82
|
secondaryAccountClick = _this$props.secondaryAccountClick,
|
|
79
83
|
secondaryAccountText = _this$props.secondaryAccountText,
|
|
84
|
+
highlightData = _this$props.highlightData,
|
|
85
|
+
isHighlighted = _this$props.isHighlighted,
|
|
80
86
|
customProps = _this$props.customProps;
|
|
81
87
|
var _customProps$LinkProp = customProps.LinkProps,
|
|
82
88
|
LinkProps = _customProps$LinkProp === void 0 ? {} : _customProps$LinkProp,
|
|
@@ -109,17 +115,30 @@ var AccountName = /*#__PURE__*/function (_Component) {
|
|
|
109
115
|
className: _SecondaryTextModule["default"].link
|
|
110
116
|
}, LinkProps, {
|
|
111
117
|
ariaLabel: "Account Name ".concat(text)
|
|
112
|
-
}), /*#__PURE__*/_react["default"].createElement("
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
118
|
+
}), /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
|
|
119
|
+
$tagAttributes_text: TextProps,
|
|
120
|
+
$ui_size: "12",
|
|
121
|
+
$flag_dotted: true,
|
|
122
|
+
$ui_className: "".concat(_SecondaryTextModule["default"].linkWithText, " ").concat(className ? className : ''),
|
|
123
|
+
$ui_weight: fontWeight,
|
|
124
|
+
$ui_highlightConfig: isHighlighted ? highlightData : _Common.DUMMY_OBJECT
|
|
125
|
+
}, text)) : /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
|
|
126
|
+
$tagAttributes_text: TextProps,
|
|
127
|
+
$ui_size: "12",
|
|
128
|
+
$flag_dotted: true,
|
|
129
|
+
$ui_className: "".concat(_SecondaryTextModule["default"].secondaryText, " ").concat(className ? className : '', " ").concat(notAccessible ? _SecondaryTextModule["default"].disable : ''),
|
|
130
|
+
$ui_highlightConfig: isHighlighted ? highlightData : _Common.DUMMY_OBJECT
|
|
131
|
+
}, text)), secondaryAccountText && /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
117
132
|
href: secondaryAccountHref,
|
|
118
133
|
onClick: secondaryAccountClick,
|
|
119
134
|
className: _SecondaryTextModule["default"].link
|
|
120
|
-
}, /*#__PURE__*/_react["default"].createElement("
|
|
121
|
-
|
|
122
|
-
|
|
135
|
+
}, /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
|
|
136
|
+
$tagAttributes_text: SecondaryTextProps,
|
|
137
|
+
$ui_size: "12",
|
|
138
|
+
$flag_dotted: true,
|
|
139
|
+
$ui_weight: fontWeight,
|
|
140
|
+
$ui_className: "".concat(_SecondaryTextModule["default"].linkWithText, " ").concat(className ? className : '')
|
|
141
|
+
}, secondaryAccountText))))));
|
|
123
142
|
}
|
|
124
143
|
}]);
|
|
125
144
|
|
|
@@ -15,6 +15,10 @@ var _propTypes = require("./props/propTypes");
|
|
|
15
15
|
|
|
16
16
|
var _Layout = require("@zohodesk/components/es/Layout");
|
|
17
17
|
|
|
18
|
+
var _Typography = _interopRequireDefault(require("@zohodesk/components/es/Typography/Typography"));
|
|
19
|
+
|
|
20
|
+
var _Common = require("@zohodesk/components/es/utils/Common");
|
|
21
|
+
|
|
18
22
|
var _Link = _interopRequireDefault(require("../../Link/Link"));
|
|
19
23
|
|
|
20
24
|
var _SentimentStatus = _interopRequireDefault(require("../SentimentStatus/SentimentStatus"));
|
|
@@ -81,6 +85,8 @@ var ContactName = /*#__PURE__*/function (_Component) {
|
|
|
81
85
|
notAccessible = _this$props$notAccess === void 0 ? false : _this$props$notAccess,
|
|
82
86
|
fontWeight = _this$props.fontWeight,
|
|
83
87
|
i18nKeys = _this$props.i18nKeys,
|
|
88
|
+
highlightData = _this$props.highlightData,
|
|
89
|
+
isHighlighted = _this$props.isHighlighted,
|
|
84
90
|
customProps = _this$props.customProps;
|
|
85
91
|
var _i18nKeys$sentimentTi = i18nKeys.sentimentTitles,
|
|
86
92
|
sentimentTitles = _i18nKeys$sentimentTi === void 0 ? {
|
|
@@ -119,12 +125,21 @@ var ContactName = /*#__PURE__*/function (_Component) {
|
|
|
119
125
|
className: _SecondaryTextModule["default"].link
|
|
120
126
|
}, LinkProps, {
|
|
121
127
|
ariaLabel: "Contact Name ".concat(text)
|
|
122
|
-
}), /*#__PURE__*/_react["default"].createElement("
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
"
|
|
127
|
-
|
|
128
|
+
}), /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
|
|
129
|
+
$flag_dotted: true,
|
|
130
|
+
$ui_size: "12",
|
|
131
|
+
$ui_weight: fontWeight,
|
|
132
|
+
$ui_className: "".concat(_SecondaryTextModule["default"].linkWithText, " ").concat(className ? className : ''),
|
|
133
|
+
$ui_highlightConfig: isHighlighted ? highlightData : _Common.DUMMY_OBJECT
|
|
134
|
+
}, text)) : /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
|
|
135
|
+
$tagAttributes_text: TextProps,
|
|
136
|
+
$ui_size: "12",
|
|
137
|
+
$flag_dotted: true,
|
|
138
|
+
$ui_className: "".concat(_SecondaryTextModule["default"].secondaryText, " ").concat(className ? className : '', " ").concat(notAccessible ? _SecondaryTextModule["default"].disable : ''),
|
|
139
|
+
$ui_weight: fontWeight,
|
|
140
|
+
$i18n_dataTitle: dataTitle,
|
|
141
|
+
$ui_highlightConfig: isHighlighted ? highlightData : _Common.DUMMY_OBJECT
|
|
142
|
+
}, text)), sentimentType && /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, /*#__PURE__*/_react["default"].createElement(_SentimentStatus["default"], {
|
|
128
143
|
type: sentimentType,
|
|
129
144
|
dataTitle: sentimentDataTitle
|
|
130
145
|
})));
|
|
@@ -11,6 +11,10 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
11
11
|
|
|
12
12
|
var _propTypes = require("./props/propTypes");
|
|
13
13
|
|
|
14
|
+
var _Typography = _interopRequireDefault(require("@zohodesk/components/es/Typography/Typography"));
|
|
15
|
+
|
|
16
|
+
var _Common = require("@zohodesk/components/es/utils/Common");
|
|
17
|
+
|
|
14
18
|
var _SecondaryTextModule = _interopRequireDefault(require("./SecondaryText.module.css"));
|
|
15
19
|
|
|
16
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -57,12 +61,17 @@ var DepartmentText = /*#__PURE__*/function (_Component) {
|
|
|
57
61
|
className = _this$props.className,
|
|
58
62
|
text = _this$props.text,
|
|
59
63
|
dataTitle = _this$props.dataTitle,
|
|
60
|
-
dataId = _this$props.dataId
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"
|
|
65
|
-
|
|
64
|
+
dataId = _this$props.dataId,
|
|
65
|
+
isHighlighted = _this$props.isHighlighted,
|
|
66
|
+
highlightData = _this$props.highlightData;
|
|
67
|
+
return /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
|
|
68
|
+
$ui_size: "12",
|
|
69
|
+
$flag_dotted: true,
|
|
70
|
+
$ui_className: "".concat(_SecondaryTextModule["default"].departmentText, " ").concat(className ? className : ''),
|
|
71
|
+
$i18n_dataTitle: dataTitle,
|
|
72
|
+
customId: dataId,
|
|
73
|
+
testId: dataId,
|
|
74
|
+
$ui_highlightConfig: isHighlighted ? highlightData : _Common.DUMMY_OBJECT
|
|
66
75
|
}, text);
|
|
67
76
|
}
|
|
68
77
|
}]);
|
|
@@ -13,6 +13,10 @@ var _defaultProps = require("./props/defaultProps");
|
|
|
13
13
|
|
|
14
14
|
var _propTypes = require("./props/propTypes");
|
|
15
15
|
|
|
16
|
+
var _Typography = _interopRequireDefault(require("@zohodesk/components/es/Typography/Typography"));
|
|
17
|
+
|
|
18
|
+
var _Common = require("@zohodesk/components/es/utils/Common");
|
|
19
|
+
|
|
16
20
|
var _Link = _interopRequireDefault(require("../../Link/Link"));
|
|
17
21
|
|
|
18
22
|
var _SecondaryTextModule = _interopRequireDefault(require("./SecondaryText.module.css"));
|
|
@@ -69,7 +73,9 @@ var Email = /*#__PURE__*/function (_Component) {
|
|
|
69
73
|
isLink = _this$props.isLink,
|
|
70
74
|
target = _this$props.target,
|
|
71
75
|
fontWeight = _this$props.fontWeight,
|
|
72
|
-
customProps = _this$props.customProps
|
|
76
|
+
customProps = _this$props.customProps,
|
|
77
|
+
isHighlighted = _this$props.isHighlighted,
|
|
78
|
+
highlightData = _this$props.highlightData;
|
|
73
79
|
var _customProps$LinkProp = customProps.LinkProps,
|
|
74
80
|
LinkProps = _customProps$LinkProp === void 0 ? {} : _customProps$LinkProp,
|
|
75
81
|
_customProps$TextProp = customProps.TextProps,
|
|
@@ -81,12 +87,21 @@ var Email = /*#__PURE__*/function (_Component) {
|
|
|
81
87
|
urlName: urlName,
|
|
82
88
|
target: target,
|
|
83
89
|
className: _SecondaryTextModule["default"].link
|
|
84
|
-
}, LinkProps), /*#__PURE__*/_react["default"].createElement("
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
"
|
|
89
|
-
|
|
90
|
+
}, LinkProps), /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
|
|
91
|
+
$flag_dotted: true,
|
|
92
|
+
$ui_size: "12",
|
|
93
|
+
$ui_weight: fontWeight,
|
|
94
|
+
$ui_className: "".concat(_SecondaryTextModule["default"].linkWithText, " ").concat(className ? className : ''),
|
|
95
|
+
$ui_highlightConfig: isHighlighted ? highlightData : _Common.DUMMY_OBJECT
|
|
96
|
+
}, text)) : /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
|
|
97
|
+
$tagAttributes_text: TextProps,
|
|
98
|
+
$ui_size: "12",
|
|
99
|
+
$flag_dotted: true,
|
|
100
|
+
$ui_className: "".concat(_SecondaryTextModule["default"].secondaryText, " ").concat(className ? className : ''),
|
|
101
|
+
$ui_weight: fontWeight,
|
|
102
|
+
$i18n_dataTitle: title,
|
|
103
|
+
$ui_highlightConfig: isHighlighted ? highlightData : _Common.DUMMY_OBJECT
|
|
104
|
+
}, text));
|
|
90
105
|
}
|
|
91
106
|
}]);
|
|
92
107
|
|