@zohodesk/dot 1.2.4 → 1.3.0
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/PropLessFiles.html +1 -1
- package/.cli/PropValidationExcludeFilesArray.js +1 -1
- package/.cli/propValidation_report.html +1 -1
- package/README.md +9 -0
- 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/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/coverage-final.json +12 -12
- package/coverage/coverage-summary.json +12 -12
- package/coverage/index.html +1 -1
- package/es/Drawer/Drawer.js +3 -2
- package/es/v1/ActionButton/ActionButton.js +11 -8
- package/es/v1/AlphabeticList/AlphabeticList.js +2 -2
- package/es/v1/Attachment/Attachment.js +1 -1
- package/es/v1/AttachmentViewer/AttachmentViewer.js +4 -4
- package/es/v1/ChannelIcon/ChannelIcon.js +1 -1
- package/es/v1/Drawer/Drawer.js +6 -6
- package/es/v1/FlipCard/FlipCard.js +4 -4
- package/es/v1/FormAction/FormAction.js +1 -1
- package/es/v1/FreezeLayer/FreezeLayer.js +3 -3
- package/es/v1/{version2/GlobalNotification → GlobalNotification}/GlobalNotification.js +7 -7
- package/es/v1/IconButton/IconButton.js +3 -3
- package/es/v1/ImportantNotes/ImportantNotes.js +1 -1
- package/es/v1/Loader/Loader.js +1 -1
- package/es/v1/MessageBanner/MessageBanner.js +1 -1
- package/es/v1/NewStar/NewStar.js +1 -1
- package/es/v1/Separator/Separator.js +1 -1
- package/es/v1/TagWithIcon/TagWithIcon.js +1 -1
- package/es/v1/ToastMessage/ToastMessage.js +4 -4
- package/es/v1/Upload/Upload.js +1 -1
- package/es/v1/{version2 → alert}/AlertClose/AlertClose.js +1 -1
- package/es/v1/alert/AlertHeader/AlertHeader.js +58 -49
- package/es/v1/alert/AlertLookup/AlertLookup.js +101 -41
- package/es/v1/avatar/AvatarClose/AvatarClose.js +1 -1
- package/es/v1/avatar/AvatarCollision/AvatarCollision.js +1 -1
- package/es/v1/avatar/AvatarIcon/AvatarIcon.js +2 -2
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +1 -1
- package/es/v1/avatar/AvatarThread/AvatarThread.js +1 -1
- package/es/v1/avatar/AvatarUser/AvatarUser.js +1 -1
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +18 -15
- package/es/v1/errorstate/Inconvenience/Inconvenience.js +53 -80
- package/es/v1/{version2/errorstate → errorstate}/OopsSomethingMiss/OopsSomethingMiss.js +6 -6
- package/es/v1/{version2/errorstate → errorstate}/UnableToProcessRequest/UnableToProcessRequest.js +6 -6
- package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +54 -73
- package/es/v1/{version2/errorstate → errorstate}/UrlNotFound/UrlNotFound.js +6 -6
- package/es/v1/{version2/errorstate → errorstate}/WillBeRightBack/WillBeRightBack.js +6 -6
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +102 -118
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +128 -154
- package/es/v1/form/fields/DateField/DateField.js +131 -162
- package/es/v1/form/fields/FieldContainer/FieldContainer.js +52 -57
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +144 -168
- package/es/v1/form/fields/PhoneField/PhoneField.js +128 -156
- package/es/v1/form/fields/RadioField/RadioField.js +2 -2
- package/es/v1/form/fields/SelectField/SelectField.js +3 -3
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +8 -8
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +8 -5
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +3 -3
- package/es/v1/form/fields/TextEditor/TextEditor.js +1 -1
- package/es/v1/form/fields/TextEditorField/TextEditorField.js +1 -1
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +3 -3
- package/es/v1/form/fields/TextareaField/TextareaField.js +3 -3
- package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +1 -1
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +2 -2
- package/es/v1/list/AvatarFlip/AvatarFlip.js +61 -64
- package/es/v1/list/BluePrintStatus/BluePrintStatus.js +11 -18
- package/es/v1/list/Comment/Comment.js +25 -32
- package/es/v1/list/DepartmentDropDown/DepartmentDropDown.js +57 -72
- package/es/v1/list/Dot/Dot.js +9 -16
- package/es/v1/list/DotNew/DotNew.js +11 -18
- package/es/v1/list/GridStencils/GridStencils.js +21 -24
- package/es/v1/list/Icons/AddNewIcon.js +19 -22
- package/es/v1/list/Icons/CompleteIcon.js +21 -24
- package/es/v1/list/Icons/DeleteIcon.js +22 -25
- package/es/v1/list/Icons/EditIcon.js +22 -25
- package/es/v1/list/Icons/FloatingIcons.js +12 -19
- package/es/v1/list/Icons/ReadUnreadIcon.js +24 -27
- package/es/v1/list/Icons/SmartIcon.js +20 -23
- package/es/v1/list/ListLayout/ListLayout.js +54 -68
- package/es/v1/list/ListStencils/ListStencils.js +28 -31
- package/es/v1/list/SecondaryText/AccountName.js +1 -1
- package/es/v1/list/SecondaryText/ContactName.js +1 -1
- package/es/v1/list/SecondryPanel/SecondryPanel.js +1 -2
- package/es/v1/list/Thread/Thread.js +1 -1
- package/es/v1/list/UserTime/UserTime.js +1 -1
- package/es/v1/list/status/StatusDropdown/StatusDropdown.js +266 -357
- package/es/v1/list/status/StatusListItem/StatusListItem.js +5 -5
- package/es/v1/lookup/Lookup/Lookup.js +4 -3
- package/es/v1/lookup/Section/Section.js +1 -1
- package/es/v1/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
- package/es/v1/lookup/header/Search/Search.js +3 -3
- package/es/v1/lookup/header/TicketHeader/TicketHeader.js +1 -1
- package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +10 -9
- package/es/v1/{version2/notification → notification}/DesktopNotification/DesktopNotification.js +6 -6
- package/es/v1/{version2/notification → notification}/DesktopNotificationHeader/DesktopNotificationHeader.js +6 -6
- package/es/v1/setup/header/Button/Button.js +1 -1
- package/es/v1/setup/header/Link/Link.js +1 -1
- package/es/v1/setup/header/Search/Search.js +1 -1
- package/es/v1/setup/table/Table/Table.js +1 -1
- package/es/v1/setup/table/TableBody/TableBody.js +1 -1
- package/es/v1/setup/table/TableData/TableData.js +1 -1
- package/es/v1/setup/table/TableHead/TableHead.js +1 -1
- package/es/v1/setup/table/TableRow/TableRow.js +1 -1
- package/lib/Drawer/Drawer.js +3 -2
- package/lib/v1/ActionButton/ActionButton.js +11 -9
- package/lib/v1/AlphabeticList/AlphabeticList.js +2 -4
- package/lib/v1/Attachment/Attachment.js +1 -1
- package/lib/v1/AttachmentViewer/AttachmentViewer.js +4 -4
- package/lib/v1/ChannelIcon/ChannelIcon.js +1 -1
- package/lib/v1/Drawer/Drawer.js +6 -6
- package/lib/v1/FlipCard/FlipCard.js +4 -4
- package/lib/v1/FormAction/FormAction.js +1 -1
- package/lib/v1/FreezeLayer/FreezeLayer.js +3 -3
- package/lib/v1/{version2/GlobalNotification → GlobalNotification}/GlobalNotification.js +7 -7
- package/lib/v1/IconButton/IconButton.js +3 -3
- package/lib/v1/ImportantNotes/ImportantNotes.js +1 -1
- package/lib/v1/Loader/Loader.js +1 -1
- package/lib/v1/MessageBanner/MessageBanner.js +1 -1
- package/lib/v1/NewStar/NewStar.js +1 -1
- package/lib/v1/Separator/Separator.js +1 -1
- package/lib/v1/TagWithIcon/TagWithIcon.js +1 -1
- package/lib/v1/ToastMessage/ToastMessage.js +4 -4
- package/lib/v1/Upload/Upload.js +1 -1
- package/lib/v1/{version2 → alert}/AlertClose/AlertClose.js +1 -1
- package/lib/v1/alert/AlertHeader/AlertHeader.js +68 -50
- package/lib/v1/alert/AlertLookup/AlertLookup.js +109 -42
- package/lib/v1/avatar/AvatarClose/AvatarClose.js +1 -1
- package/lib/v1/avatar/AvatarCollision/AvatarCollision.js +1 -1
- package/lib/v1/avatar/AvatarIcon/AvatarIcon.js +2 -2
- package/lib/v1/avatar/AvatarStatus/AvatarStatus.js +1 -1
- package/lib/v1/avatar/AvatarThread/AvatarThread.js +1 -1
- package/lib/v1/avatar/AvatarUser/AvatarUser.js +1 -1
- package/lib/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
- package/lib/v1/dropdown/ToggleDropDown/ToggleDropDown.js +18 -16
- package/lib/v1/errorstate/Inconvenience/Inconvenience.js +53 -115
- package/lib/v1/{version2/errorstate → errorstate}/OopsSomethingMiss/OopsSomethingMiss.js +6 -6
- package/lib/v1/{version2/errorstate → errorstate}/UnableToProcessRequest/UnableToProcessRequest.js +6 -6
- package/lib/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +54 -108
- package/lib/v1/{version2/errorstate → errorstate}/UrlNotFound/UrlNotFound.js +6 -6
- package/lib/v1/{version2/errorstate → errorstate}/WillBeRightBack/WillBeRightBack.js +6 -6
- package/lib/v1/form/fields/CheckBoxField/CheckBoxField.js +107 -159
- package/lib/v1/form/fields/CurrencyField/CurrencyField.js +152 -193
- package/lib/v1/form/fields/DateField/DateField.js +140 -206
- package/lib/v1/form/fields/FieldContainer/FieldContainer.js +60 -91
- package/lib/v1/form/fields/MultiSelectField/MultiSelectField.js +168 -228
- package/lib/v1/form/fields/PhoneField/PhoneField.js +150 -193
- package/lib/v1/form/fields/RadioField/RadioField.js +2 -2
- package/lib/v1/form/fields/SelectField/SelectField.js +3 -3
- package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +8 -8
- package/lib/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -8
- package/lib/v1/form/fields/TextBoxField/TextBoxField.js +3 -3
- package/lib/v1/form/fields/TextEditor/TextEditor.js +1 -1
- package/lib/v1/form/fields/TextEditorField/TextEditorField.js +1 -1
- package/lib/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +3 -3
- package/lib/v1/form/fields/TextareaField/TextareaField.js +3 -3
- package/lib/v1/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- package/lib/v1/layout/SetupDetailLayout/SetupDetailLayout.js +1 -1
- package/lib/v1/layout/SubtabLayout/SubtabLayout.js +2 -2
- package/lib/v1/list/AvatarFlip/AvatarFlip.js +61 -106
- package/lib/v1/list/BluePrintStatus/BluePrintStatus.js +11 -51
- package/lib/v1/list/Comment/Comment.js +24 -69
- package/lib/v1/list/DepartmentDropDown/DepartmentDropDown.js +67 -122
- package/lib/v1/list/Dot/Dot.js +9 -54
- package/lib/v1/list/DotNew/DotNew.js +11 -56
- package/lib/v1/list/GridStencils/GridStencils.js +21 -62
- package/lib/v1/list/Icons/AddNewIcon.js +19 -60
- package/lib/v1/list/Icons/CompleteIcon.js +21 -62
- package/lib/v1/list/Icons/DeleteIcon.js +22 -63
- package/lib/v1/list/Icons/EditIcon.js +22 -63
- package/lib/v1/list/Icons/FloatingIcons.js +17 -62
- package/lib/v1/list/Icons/ReadUnreadIcon.js +24 -65
- package/lib/v1/list/Icons/SmartIcon.js +20 -65
- package/lib/v1/list/ListLayout/ListLayout.js +53 -116
- package/lib/v1/list/ListStencils/ListStencils.js +33 -72
- package/lib/v1/list/SecondaryText/AccountName.js +1 -1
- package/lib/v1/list/SecondaryText/ContactName.js +1 -1
- package/lib/v1/list/SecondryPanel/SecondryPanel.js +3 -5
- package/lib/v1/list/Thread/Thread.js +1 -1
- package/lib/v1/list/UserTime/UserTime.js +1 -1
- package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +367 -472
- package/lib/v1/list/status/StatusListItem/StatusListItem.js +5 -5
- package/lib/v1/lookup/Lookup/Lookup.js +5 -3
- package/lib/v1/lookup/Section/Section.js +1 -1
- package/lib/v1/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
- package/lib/v1/lookup/header/Search/Search.js +3 -3
- package/lib/v1/lookup/header/TicketHeader/TicketHeader.js +1 -1
- package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +10 -9
- package/lib/v1/{version2/notification → notification}/DesktopNotification/DesktopNotification.js +6 -6
- package/lib/v1/{version2/notification → notification}/DesktopNotificationHeader/DesktopNotificationHeader.js +6 -6
- package/lib/v1/setup/header/Button/Button.js +1 -1
- package/lib/v1/setup/header/Link/Link.js +1 -1
- package/lib/v1/setup/header/Search/Search.js +1 -1
- package/lib/v1/setup/table/Table/Table.js +1 -1
- package/lib/v1/setup/table/TableBody/TableBody.js +1 -1
- package/lib/v1/setup/table/TableData/TableData.js +1 -1
- package/lib/v1/setup/table/TableHead/TableHead.js +1 -1
- package/lib/v1/setup/table/TableRow/TableRow.js +1 -1
- package/package.json +8 -8
- package/result.json +1 -1
- package/es/v1/errorstate/LinkText/LinkText.js +0 -29
- package/es/v1/errorstate/NoRequestFound/NoRequestFound.js +0 -84
- package/es/v1/errorstate/PermissionPlay/PermissionPlay.js +0 -83
- package/es/v1/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -84
- package/es/v1/errorstate/UnableToProcess/UnableToProcess.js +0 -86
- package/es/v1/errorstate/WillBack/WillBack.js +0 -75
- package/es/v1/errorstate/index.js +0 -8
- package/es/v1/version2/errorstate/Inconvenience/Inconvenience.js +0 -63
- package/es/v1/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -65
- package/es/v1/version2/index.js +0 -12
- package/es/v1/version2/lookup/AlertHeader/AlertHeader.js +0 -79
- package/es/v1/version2/lookup/AlertLookup/AlertLookup.js +0 -164
- package/lib/v1/errorstate/LinkText/LinkText.js +0 -80
- package/lib/v1/errorstate/NoRequestFound/NoRequestFound.js +0 -135
- package/lib/v1/errorstate/PermissionPlay/PermissionPlay.js +0 -134
- package/lib/v1/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -135
- package/lib/v1/errorstate/UnableToProcess/UnableToProcess.js +0 -137
- package/lib/v1/errorstate/WillBack/WillBack.js +0 -125
- package/lib/v1/errorstate/index.js +0 -71
- package/lib/v1/version2/errorstate/Inconvenience/Inconvenience.js +0 -79
- package/lib/v1/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -81
- package/lib/v1/version2/index.js +0 -58
- package/lib/v1/version2/lookup/AlertHeader/AlertHeader.js +0 -104
- package/lib/v1/version2/lookup/AlertLookup/AlertLookup.js +0 -185
- /package/es/v1/{version2 → alert}/alertIcons/AlarmAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/AlertIcons.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/DangerAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/ErrorAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/InfoAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/NotificationAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/SuccessAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/WarningAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/index.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/AlarmAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/AlertIcons.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/DangerAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/ErrorAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/InfoAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/NotificationAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/SuccessAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/WarningAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/index.js +0 -0
|
@@ -13,13 +13,13 @@ var _defaultProps = require("../../../../form/fields/DateField/props/defaultProp
|
|
|
13
13
|
|
|
14
14
|
var _propTypes = require("../../../../form/fields/DateField/props/propTypes");
|
|
15
15
|
|
|
16
|
-
var _Label = _interopRequireDefault(require("@zohodesk/components/
|
|
16
|
+
var _Label = _interopRequireDefault(require("@zohodesk/components/es/v1/Label/Label"));
|
|
17
17
|
|
|
18
|
-
var _DateWidget = _interopRequireDefault(require("@zohodesk/components/
|
|
18
|
+
var _DateWidget = _interopRequireDefault(require("@zohodesk/components/es/v1/DateTime/DateWidget"));
|
|
19
19
|
|
|
20
20
|
var _ValidationMessage = _interopRequireDefault(require("../ValidationMessage/ValidationMessage"));
|
|
21
21
|
|
|
22
|
-
var _IdProvider = require("@zohodesk/components/
|
|
22
|
+
var _IdProvider = require("@zohodesk/components/es/v1/Provider/IdProvider");
|
|
23
23
|
|
|
24
24
|
var _FieldContainer = _interopRequireDefault(require("../FieldContainer/FieldContainer"));
|
|
25
25
|
|
|
@@ -33,217 +33,151 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
33
33
|
|
|
34
34
|
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); }
|
|
35
35
|
|
|
36
|
-
function
|
|
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
|
-
|
|
36
|
+
function DateField(props) {
|
|
37
|
+
var labelName = props.labelName,
|
|
38
|
+
isMandatory = props.isMandatory,
|
|
39
|
+
isDateTime = props.isDateTime,
|
|
40
|
+
validationMessage = props.validationMessage,
|
|
41
|
+
validationPalette = props.validationPalette,
|
|
42
|
+
textBoxSize = props.textBoxSize,
|
|
43
|
+
textBoxVariant = props.textBoxVariant,
|
|
44
|
+
isReadOnly = props.isReadOnly,
|
|
45
|
+
value = props.value,
|
|
46
|
+
errorType = props.errorType,
|
|
47
|
+
isDisabled = props.isDisabled,
|
|
48
|
+
title = props.title,
|
|
49
|
+
popupGroup = props.popupGroup,
|
|
50
|
+
dataId = props.dataId,
|
|
51
|
+
dataSelectorId = props.dataSelectorId,
|
|
52
|
+
validationRuleMessage = props.validationRuleMessage,
|
|
53
|
+
validationRulePalette = props.validationRulePalette,
|
|
54
|
+
onKeyDown = props.onKeyDown,
|
|
55
|
+
infoText = props.infoText,
|
|
56
|
+
borderColor = props.borderColor,
|
|
57
|
+
fieldSize = props.fieldSize,
|
|
58
|
+
datePattern = props.datePattern,
|
|
59
|
+
isLocked = props.isLocked,
|
|
60
|
+
lockedInfoText = props.lockedInfoText,
|
|
61
|
+
lockedValueText = props.lockedValueText,
|
|
62
|
+
labelPalette = props.labelPalette,
|
|
63
|
+
labelCustomClass = props.labelCustomClass,
|
|
64
|
+
htmlId = props.htmlId,
|
|
65
|
+
timeZone = props.timeZone,
|
|
66
|
+
i18nKeys = props.i18nKeys,
|
|
67
|
+
iconOnHover = props.iconOnHover,
|
|
68
|
+
customProps = props.customProps,
|
|
69
|
+
renderLabelProps = props.renderLabelProps,
|
|
70
|
+
onChange = props.onChange,
|
|
71
|
+
id = props.id,
|
|
72
|
+
getRef = props.getRef,
|
|
73
|
+
openPopupOnMount = props.openPopupOnMount,
|
|
74
|
+
isFocusOnLabelClick = props.isFocusOnLabelClick;
|
|
75
|
+
var _customProps$LabelPro = customProps.LabelProps,
|
|
76
|
+
LabelProps = _customProps$LabelPro === void 0 ? {} : _customProps$LabelPro,
|
|
77
|
+
_customProps$DateWidg = customProps.DateWidgetProps,
|
|
78
|
+
DateWidgetProps = _customProps$DateWidg === void 0 ? {} : _customProps$DateWidg,
|
|
79
|
+
_customProps$Validati = customProps.ValidationMessageProps1,
|
|
80
|
+
ValidationMessageProps1 = _customProps$Validati === void 0 ? {} : _customProps$Validati,
|
|
81
|
+
_customProps$Validati2 = customProps.ValidationMessageProps2,
|
|
82
|
+
ValidationMessageProps2 = _customProps$Validati2 === void 0 ? {} : _customProps$Validati2;
|
|
83
|
+
var dateField = (0, _react.useRef)(null);
|
|
84
|
+
var getNextId = (0, _IdProvider.useUniqueId)();
|
|
85
|
+
var getAriaId = htmlId ? htmlId : getNextId();
|
|
86
|
+
|
|
87
|
+
function handleChange(value) {
|
|
88
|
+
onChange && onChange(id, value);
|
|
89
|
+
}
|
|
65
90
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
_this.handleLabelClick = _this.handleLabelClick.bind(_assertThisInitialized(_this));
|
|
70
|
-
_this.getNextId = (0, _IdProvider.getUniqueId)(_assertThisInitialized(_this));
|
|
71
|
-
_this.openPopup = _this.openPopup.bind(_assertThisInitialized(_this));
|
|
72
|
-
return _this;
|
|
91
|
+
function handleGetRef(el) {
|
|
92
|
+
dateField.current = el;
|
|
93
|
+
getRef && getRef(el, id);
|
|
73
94
|
}
|
|
74
95
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
onChange && onChange(id, value);
|
|
96
|
+
function openPopup() {
|
|
97
|
+
if (openPopupOnMount) {
|
|
98
|
+
setTimeout(function () {
|
|
99
|
+
dateField.current && dateField.current.click && dateField.current.click();
|
|
100
|
+
handleLabelClick();
|
|
101
|
+
}, 100);
|
|
82
102
|
}
|
|
83
|
-
}
|
|
84
|
-
key: "handleGetRef",
|
|
85
|
-
value: function handleGetRef(el) {
|
|
86
|
-
var _this$props2 = this.props,
|
|
87
|
-
getRef = _this$props2.getRef,
|
|
88
|
-
id = _this$props2.id;
|
|
89
|
-
this.dateField = el;
|
|
90
|
-
getRef && getRef(el, id);
|
|
91
|
-
}
|
|
92
|
-
}, {
|
|
93
|
-
key: "componentDidMount",
|
|
94
|
-
value: function componentDidMount() {
|
|
95
|
-
this.openPopup();
|
|
96
|
-
}
|
|
97
|
-
}, {
|
|
98
|
-
key: "openPopup",
|
|
99
|
-
value: function openPopup() {
|
|
100
|
-
var _this2 = this;
|
|
101
|
-
|
|
102
|
-
var openPopupOnMount = this.props.openPopupOnMount;
|
|
103
|
+
}
|
|
103
104
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
(0, _react.useEffect)(function () {
|
|
106
|
+
openPopup();
|
|
107
|
+
}, [openPopupOnMount]);
|
|
107
108
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}
|
|
112
|
-
}, {
|
|
113
|
-
key: "componentDidUpdate",
|
|
114
|
-
value: function componentDidUpdate(prevProps) {
|
|
115
|
-
var prevOpenPopupOnMount = prevProps.openPopupOnMount;
|
|
116
|
-
var openPopupOnMount = this.props.openPopupOnMount;
|
|
117
|
-
|
|
118
|
-
if (openPopupOnMount !== prevOpenPopupOnMount) {
|
|
119
|
-
this.openPopup();
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}, {
|
|
123
|
-
key: "handleLabelClick",
|
|
124
|
-
value: function handleLabelClick() {
|
|
125
|
-
var isFocusOnLabelClick = this.props.isFocusOnLabelClick;
|
|
126
|
-
|
|
127
|
-
if (isFocusOnLabelClick && this.dateField && this.dateField.focus) {
|
|
128
|
-
this.dateField.focus();
|
|
129
|
-
}
|
|
109
|
+
function handleLabelClick() {
|
|
110
|
+
if (isFocusOnLabelClick && dateField.current && dateField.current.focus) {
|
|
111
|
+
dateField.current.focus();
|
|
130
112
|
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
className: "".concat(_FieldsModule["default"].container, " ").concat(isDisabled ? _FieldsModule["default"].disabled : isReadOnly ? _FieldsModule["default"].readonly : ''),
|
|
179
|
-
"data-title": isDisabled ? title : null,
|
|
180
|
-
"data-selector-id": dataSelectorId
|
|
181
|
-
}, labelName && /*#__PURE__*/_react["default"].createElement(_FieldContainer["default"], {
|
|
182
|
-
infoText: infoText,
|
|
183
|
-
isLocked: isLocked,
|
|
184
|
-
lockedInfoText: lockedInfoText,
|
|
185
|
-
renderProps: renderLabelProps
|
|
186
|
-
}, /*#__PURE__*/_react["default"].createElement(_Label["default"], _extends({
|
|
187
|
-
text: labelName,
|
|
188
|
-
htmlFor: getAriaId,
|
|
189
|
-
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
190
|
-
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
191
|
-
onClick: isDisabled || isReadOnly ? null : this.handleLabelClick,
|
|
192
|
-
customClass: "".concat(_FieldsModule["default"].fieldLabel, " ").concat(labelCustomClass, " ").concat(isMandatory ? _FieldsModule["default"].labelMandatory : ''),
|
|
193
|
-
dataId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
|
|
194
|
-
}, LabelProps, {
|
|
195
|
-
id: labelName
|
|
196
|
-
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
197
|
-
className: "".concat(_FieldsModule["default"].fieldContainer, " ").concat(labelName ? _FieldsModule["default"]["fieldMargin_".concat(fieldSize)] : '')
|
|
198
|
-
}, isLocked && lockedValueText ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
199
|
-
className: _FieldsModule["default"].lockText
|
|
200
|
-
}, lockedValueText) : /*#__PURE__*/_react["default"].createElement(_DateWidget["default"], _extends({
|
|
201
|
-
textBoxSize: fieldSize === 'medium' ? textBoxSize : 'xsmall',
|
|
202
|
-
textBoxVariant: textBoxVariant,
|
|
203
|
-
isDateTime: isDateTime,
|
|
204
|
-
onSelect: this.handleChange,
|
|
205
|
-
timeZone: timeZone,
|
|
206
|
-
getRef: this.handleGetRef,
|
|
207
|
-
isReadOnly: isReadOnly,
|
|
208
|
-
value: value,
|
|
209
|
-
popupGroup: popupGroup,
|
|
210
|
-
dataId: "".concat(dataId, "(formatted_").concat(labelName, ")"),
|
|
211
|
-
onKeyDown: onKeyDown,
|
|
212
|
-
borderColor: borderColor,
|
|
213
|
-
isDisabled: isDisabled,
|
|
214
|
-
dateFormat: datePattern,
|
|
215
|
-
isEditable: true,
|
|
216
|
-
htmlId: getAriaId,
|
|
217
|
-
i18nKeys: i18nKeys,
|
|
218
|
-
iconOnHover: iconOnHover
|
|
219
|
-
}, DateWidgetProps, {
|
|
220
|
-
a11y: {
|
|
221
|
-
ariaLabelledby: labelName
|
|
222
|
-
}
|
|
223
|
-
})), validationMessage && /*#__PURE__*/_react["default"].createElement(_ValidationMessage["default"], _extends({
|
|
224
|
-
text: validationMessage,
|
|
225
|
-
palette: validationPalette,
|
|
226
|
-
type: errorType,
|
|
227
|
-
htmlFor: getAriaId,
|
|
228
|
-
dataId: "".concat(dataId, "_ValidationMessage")
|
|
229
|
-
}, ValidationMessageProps1)), validationRuleMessage && /*#__PURE__*/_react["default"].createElement(_ValidationMessage["default"], _extends({
|
|
230
|
-
text: validationRuleMessage,
|
|
231
|
-
palette: validationRulePalette,
|
|
232
|
-
type: errorType,
|
|
233
|
-
htmlFor: getAriaId,
|
|
234
|
-
dataId: "".concat(dataId, "_ValidationRuleMessage")
|
|
235
|
-
}, ValidationMessageProps2))));
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
116
|
+
className: "".concat(_FieldsModule["default"].container, " ").concat(isDisabled ? _FieldsModule["default"].disabled : isReadOnly ? _FieldsModule["default"].readonly : ''),
|
|
117
|
+
"data-title": isDisabled ? title : null,
|
|
118
|
+
"data-selector-id": dataSelectorId
|
|
119
|
+
}, labelName && /*#__PURE__*/_react["default"].createElement(_FieldContainer["default"], {
|
|
120
|
+
infoText: infoText,
|
|
121
|
+
isLocked: isLocked,
|
|
122
|
+
lockedInfoText: lockedInfoText,
|
|
123
|
+
renderProps: renderLabelProps
|
|
124
|
+
}, /*#__PURE__*/_react["default"].createElement(_Label["default"], _extends({
|
|
125
|
+
text: labelName,
|
|
126
|
+
htmlFor: getAriaId,
|
|
127
|
+
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
128
|
+
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
129
|
+
onClick: isDisabled || isReadOnly ? null : handleLabelClick,
|
|
130
|
+
customClass: "".concat(_FieldsModule["default"].fieldLabel, " ").concat(labelCustomClass, " ").concat(isMandatory ? _FieldsModule["default"].labelMandatory : ''),
|
|
131
|
+
dataId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
|
|
132
|
+
}, LabelProps, {
|
|
133
|
+
id: labelName
|
|
134
|
+
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
135
|
+
className: "".concat(_FieldsModule["default"].fieldContainer, " ").concat(labelName ? _FieldsModule["default"]["fieldMargin_".concat(fieldSize)] : '')
|
|
136
|
+
}, isLocked && lockedValueText ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
137
|
+
className: _FieldsModule["default"].lockText
|
|
138
|
+
}, lockedValueText) : /*#__PURE__*/_react["default"].createElement(_DateWidget["default"], _extends({
|
|
139
|
+
textBoxSize: fieldSize === 'medium' ? textBoxSize : 'xsmall',
|
|
140
|
+
textBoxVariant: textBoxVariant,
|
|
141
|
+
isDateTime: isDateTime,
|
|
142
|
+
onSelect: handleChange,
|
|
143
|
+
timeZone: timeZone,
|
|
144
|
+
getRef: handleGetRef,
|
|
145
|
+
isReadOnly: isReadOnly,
|
|
146
|
+
value: value,
|
|
147
|
+
popupGroup: popupGroup,
|
|
148
|
+
dataId: "".concat(dataId, "(formatted_").concat(labelName, ")"),
|
|
149
|
+
onKeyDown: onKeyDown,
|
|
150
|
+
borderColor: borderColor,
|
|
151
|
+
isDisabled: isDisabled,
|
|
152
|
+
dateFormat: datePattern,
|
|
153
|
+
isEditable: true,
|
|
154
|
+
htmlId: getAriaId,
|
|
155
|
+
i18nKeys: i18nKeys,
|
|
156
|
+
iconOnHover: iconOnHover
|
|
157
|
+
}, DateWidgetProps, {
|
|
158
|
+
a11y: {
|
|
159
|
+
ariaLabelledby: labelName
|
|
236
160
|
}
|
|
237
|
-
}]
|
|
161
|
+
})), validationMessage && /*#__PURE__*/_react["default"].createElement(_ValidationMessage["default"], _extends({
|
|
162
|
+
text: validationMessage,
|
|
163
|
+
palette: validationPalette,
|
|
164
|
+
type: errorType,
|
|
165
|
+
htmlFor: getAriaId,
|
|
166
|
+
dataId: "".concat(dataId, "_ValidationMessage")
|
|
167
|
+
}, ValidationMessageProps1)), validationRuleMessage && /*#__PURE__*/_react["default"].createElement(_ValidationMessage["default"], _extends({
|
|
168
|
+
text: validationRuleMessage,
|
|
169
|
+
palette: validationRulePalette,
|
|
170
|
+
type: errorType,
|
|
171
|
+
htmlFor: getAriaId,
|
|
172
|
+
dataId: "".concat(dataId, "_ValidationRuleMessage")
|
|
173
|
+
}, ValidationMessageProps2))));
|
|
174
|
+
} // const MomoizedDateField = memo(DateField);
|
|
175
|
+
// export default MomoizedDateField;
|
|
176
|
+
// MomoizedDateField.propTypes = propTypes;
|
|
177
|
+
// MomoizedDateField.defaultProps = defaultProps;
|
|
238
178
|
|
|
239
|
-
return DateField;
|
|
240
|
-
}(_react.PureComponent);
|
|
241
179
|
|
|
242
|
-
exports["default"] = DateField;
|
|
243
180
|
DateField.propTypes = _propTypes.propTypes;
|
|
244
|
-
DateField.defaultProps = _defaultProps.defaultProps;
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
// folderName: 'General'
|
|
248
|
-
// };
|
|
249
|
-
// }
|
|
181
|
+
DateField.defaultProps = _defaultProps.defaultProps;
|
|
182
|
+
var _default = DateField;
|
|
183
|
+
exports["default"] = _default;
|
|
@@ -13,7 +13,7 @@ var _defaultProps = require("../../../../form/fields/FieldContainer/props/defaul
|
|
|
13
13
|
|
|
14
14
|
var _propTypes = require("../../../../form/fields/FieldContainer/props/propTypes");
|
|
15
15
|
|
|
16
|
-
var _Layout = require("@zohodesk/components/
|
|
16
|
+
var _Layout = require("@zohodesk/components/es/v1/Layout");
|
|
17
17
|
|
|
18
18
|
var _icons = require("@zohodesk/icons");
|
|
19
19
|
|
|
@@ -25,94 +25,63 @@ 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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
var
|
|
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
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
85
|
-
align: alignContainer,
|
|
86
|
-
alignBox: "row",
|
|
87
|
-
isCover: false,
|
|
88
|
-
dataSelectorId: dataSelectorId
|
|
89
|
-
}, renderStart ? renderStart() : null, children, renderMiddle ? renderMiddle() : null, infoText ? /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
|
|
90
|
-
name: "ZD-GN-info",
|
|
91
|
-
iconClass: _FieldsModule["default"].infoIcon,
|
|
92
|
-
title: infoText,
|
|
93
|
-
size: "15"
|
|
94
|
-
}) : null, isLocked ? /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
|
|
95
|
-
name: "ZD-GN-lock",
|
|
96
|
-
size: "13",
|
|
97
|
-
iconClass: _FieldsModule["default"].lockIcon,
|
|
98
|
-
title: lockedInfoText
|
|
99
|
-
}) : null, ePhiStatus ? /*#__PURE__*/_react["default"].createElement("span", {
|
|
100
|
-
"data-title": ePhiTitle,
|
|
101
|
-
"data-id": "".concat(dataId, "_ePHI"),
|
|
102
|
-
"data-test-id": "".concat(dataId, "_ePHI"),
|
|
103
|
-
className: _FieldsModule["default"].ePhiTag
|
|
104
|
-
}, ePhiText) : null, renderEnd ? renderEnd() : null);
|
|
105
|
-
}
|
|
106
|
-
}]);
|
|
107
|
-
|
|
108
|
-
return FieldContainer;
|
|
109
|
-
}(_react.PureComponent);
|
|
110
|
-
|
|
111
|
-
exports["default"] = FieldContainer;
|
|
28
|
+
/**** Libraries ****/
|
|
29
|
+
|
|
30
|
+
/**** Components ****/
|
|
31
|
+
|
|
32
|
+
/**** Icons ****/
|
|
33
|
+
|
|
34
|
+
/**** CSS ****/
|
|
35
|
+
function FieldContainer(props) {
|
|
36
|
+
var children = props.children,
|
|
37
|
+
ePhiData = props.ePhiData,
|
|
38
|
+
isLocked = props.isLocked,
|
|
39
|
+
lockedInfoText = props.lockedInfoText,
|
|
40
|
+
infoText = props.infoText,
|
|
41
|
+
dataId = props.dataId,
|
|
42
|
+
renderProps = props.renderProps,
|
|
43
|
+
alignContainer = props.alignContainer,
|
|
44
|
+
dataSelectorId = props.dataSelectorId;
|
|
45
|
+
var _ePhiData$ePhiTitle = ePhiData.ePhiTitle,
|
|
46
|
+
ePhiTitle = _ePhiData$ePhiTitle === void 0 ? '' : _ePhiData$ePhiTitle,
|
|
47
|
+
_ePhiData$ePhiText = ePhiData.ePhiText,
|
|
48
|
+
ePhiText = _ePhiData$ePhiText === void 0 ? '' : _ePhiData$ePhiText,
|
|
49
|
+
_ePhiData$ePhiStatus = ePhiData.ePhiStatus,
|
|
50
|
+
ePhiStatus = _ePhiData$ePhiStatus === void 0 ? false : _ePhiData$ePhiStatus;
|
|
51
|
+
var _renderProps$start = renderProps.start,
|
|
52
|
+
renderStart = _renderProps$start === void 0 ? null : _renderProps$start,
|
|
53
|
+
_renderProps$middle = renderProps.middle,
|
|
54
|
+
renderMiddle = _renderProps$middle === void 0 ? null : _renderProps$middle,
|
|
55
|
+
_renderProps$end = renderProps.end,
|
|
56
|
+
renderEnd = _renderProps$end === void 0 ? null : _renderProps$end;
|
|
57
|
+
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
58
|
+
align: alignContainer,
|
|
59
|
+
alignBox: "row",
|
|
60
|
+
isCover: false,
|
|
61
|
+
dataSelectorId: dataSelectorId
|
|
62
|
+
}, renderStart ? renderStart() : null, children, renderMiddle ? renderMiddle() : null, infoText ? /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
|
|
63
|
+
name: "ZD-GN-info",
|
|
64
|
+
iconClass: _FieldsModule["default"].infoIcon,
|
|
65
|
+
title: infoText,
|
|
66
|
+
size: "15"
|
|
67
|
+
}) : null, isLocked ? /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
|
|
68
|
+
name: "ZD-GN-lock",
|
|
69
|
+
size: "13",
|
|
70
|
+
iconClass: _FieldsModule["default"].lockIcon,
|
|
71
|
+
title: lockedInfoText
|
|
72
|
+
}) : null, ePhiStatus ? /*#__PURE__*/_react["default"].createElement("span", {
|
|
73
|
+
"data-title": ePhiTitle,
|
|
74
|
+
"data-id": "".concat(dataId, "_ePHI"),
|
|
75
|
+
"data-test-id": "".concat(dataId, "_ePHI"),
|
|
76
|
+
className: _FieldsModule["default"].ePhiTag
|
|
77
|
+
}, ePhiText) : null, renderEnd ? renderEnd() : null);
|
|
78
|
+
} // const MomoizedFieldContainer = memo(FieldContainer);
|
|
79
|
+
// export default MomoizedFieldContainer;
|
|
80
|
+
// MomoizedFieldContainer.propTypes = propTypes;
|
|
81
|
+
// MomoizedFieldContainer.defaultProps = defaultProps;
|
|
82
|
+
|
|
83
|
+
|
|
112
84
|
FieldContainer.propTypes = _propTypes.propTypes;
|
|
113
|
-
FieldContainer.defaultProps = _defaultProps.defaultProps;
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
// folderName: 'General'
|
|
117
|
-
// };
|
|
118
|
-
// }
|
|
85
|
+
FieldContainer.defaultProps = _defaultProps.defaultProps;
|
|
86
|
+
var _default = FieldContainer;
|
|
87
|
+
exports["default"] = _default;
|