@zohodesk/dot 1.0.0-beta.227 → 1.0.0-beta.230
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 +12 -0
- package/es/ActionButton/ActionButton.js +7 -3
- package/es/ExternalLink/ExternalLink.js +1 -1
- package/es/FlipCard/FlipCard.js +1 -1
- package/es/Link/Link.js +1 -1
- package/es/Message/Message.js +1 -1
- package/es/Provider.js +6 -104
- package/es/ToastMessage/ToastMessage.js +1 -1
- package/es/alert/AlertLookup/AlertLookup.js +1 -1
- package/es/avatar/AvatarClose/AvatarClose.js +1 -1
- package/es/avatar/AvatarCollision/AvatarCollision.js +1 -1
- package/es/avatar/AvatarIcon/AvatarIcon.js +1 -1
- package/es/avatar/AvatarStatus/AvatarStatus.js +1 -1
- package/es/avatar/AvatarThread/AvatarThread.js +1 -1
- package/es/avatar/AvatarUser/AvatarUser.js +1 -1
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +1 -1
- package/es/deprecated/SelectDropdown/SelectDropdown.js +59 -35
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +1 -0
- package/es/docs/formDocs.js +5 -1
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +184 -161
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +3 -0
- package/es/form/fields/CheckBoxField/CheckBoxField.js +17 -29
- package/es/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +8 -1
- package/es/form/fields/CurrencyField/CurrencyField.js +17 -30
- package/es/form/fields/CurrencyField/docs/CurrencyField__default.docs.js +36 -0
- package/es/form/fields/DateField/DateField.js +17 -29
- package/es/form/fields/DateField/docs/DateField__default.docs.js +8 -1
- package/es/form/fields/FieldContainer/FieldContainer.js +82 -0
- package/es/form/fields/FieldContainer/docs/FieldContainer__default.docs.js +49 -0
- package/es/form/fields/MultiSelectField/MultiSelectField.js +17 -29
- package/es/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +8 -1
- package/es/form/fields/PhoneField/PhoneField.js +1 -1
- package/es/form/fields/RadioField/RadioField.js +1 -1
- package/es/form/fields/SelectField/SelectField.js +17 -29
- package/es/form/fields/SelectField/docs/SelectField__default.docs.js +8 -1
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +93 -65
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +33 -29
- package/es/form/fields/TextBoxField/TextBoxField.js +19 -44
- package/es/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +28 -1
- package/es/form/fields/TextEditorField/TextEditorField.js +28 -45
- package/es/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +9 -2
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
- package/es/form/fields/TextareaField/TextareaField.js +17 -29
- package/es/form/fields/TextareaField/docs/TextareaField__default.docs.js +8 -1
- package/es/form/fields/props/FieldCommonDefaultProps.js +10 -0
- package/es/form/fields/props/FieldCommonPropTypes.js +22 -0
- package/es/layout/SubtabLayout/SubtabLayout.js +1 -1
- package/es/list/GridStencils/GridStencils.module.css +7 -18
- package/es/list/ListLayout/ListLayout.js +1 -1
- package/es/list/SecondaryText/AccountName.js +1 -1
- package/es/list/SecondaryText/ContactName.js +1 -1
- package/es/list/SecondaryText/Email.js +1 -1
- package/es/list/SecondaryText/PhoneNumber.js +1 -1
- package/es/list/SecondaryText/SecondaryText.js +1 -1
- package/es/list/SecondaryText/TicketId.js +1 -1
- package/es/list/Subject/Subject.js +1 -1
- package/es/list/status/StatusDropdown/StatusDropdown.js +103 -80
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +3 -0
- package/es/list/status/StatusListItem/StatusListItem.js +1 -1
- package/es/lookup/header/Search/Search.js +1 -1
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +79 -54
- package/es/version2/GlobalNotification/GlobalNotification.js +1 -1
- package/es/version2/lookup/AlertLookup/AlertLookup.js +1 -1
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +1 -1
- package/lib/ActionButton/ActionButton.js +9 -5
- package/lib/ActionButton/docs/ActionButton__default.docs.js +2 -2
- package/lib/AlphabeticList/AlphabeticList.js +2 -2
- package/lib/AlphabeticList/docs/AlphabeticList__default.docs.js +2 -2
- package/lib/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +2 -2
- package/lib/Attachment/Attachment.js +2 -2
- package/lib/Attachment/docs/Attachment__default.docs.js +2 -2
- package/lib/AttachmentViewer/AttachmentImage.js +2 -2
- package/lib/AttachmentViewer/AttachmentViewer.js +2 -2
- package/lib/AttachmentViewer/docs/AttachmentViewer__default.docs.js +2 -2
- package/lib/ChannelIcon/ChannelIcon.js +2 -2
- package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +2 -2
- package/lib/Drawer/Drawer.js +2 -2
- package/lib/Drawer/docs/Drawer__default.docs.js +2 -2
- package/lib/Drawer/docs/Drawer__multiDrawer.docs.js +2 -2
- package/lib/Drawer/docs/Drawer__noFreeze.docs.js +2 -2
- package/lib/Drawer/docs/Drawer__withModal.docs.js +2 -2
- package/lib/ExternalLink/ExternalLink.js +3 -3
- package/lib/ExternalLink/docs/ExternalLink__default.docs.js +2 -2
- package/lib/FlipCard/FlipCard.js +3 -3
- package/lib/FlipCard/docs/FlipCard__default.docs.js +2 -2
- package/lib/FormAction/FormAction.js +2 -2
- package/lib/FormAction/docs/FormAction__default.docs.js +2 -2
- package/lib/FreezeLayer/FreezeLayer.js +2 -2
- package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +2 -2
- package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +2 -2
- package/lib/IconButton/IconButton.js +2 -2
- package/lib/IconButton/docs/IconButton__default.docs.js +2 -2
- package/lib/Image/Image.js +2 -2
- package/lib/Image/docs/Image__default.docs.js +2 -2
- package/lib/ImportantNotes/ImportantNotes.js +2 -2
- package/lib/ImportantNotes/docs/ImportantNotes__default.docs.js +2 -2
- package/lib/Link/Link.js +3 -3
- package/lib/Link/docs/Link__default.docs.js +2 -2
- package/lib/Loader/Loader.js +2 -2
- package/lib/Loader/docs/Loader__default.docs.js +2 -2
- package/lib/Message/Message.js +3 -3
- package/lib/Message/docs/Message__default.docs.js +2 -2
- package/lib/MessageBanner/MessageBanner.js +2 -2
- package/lib/MessageBanner/docs/MessageBanner__default.docs.js +2 -2
- package/lib/NewStar/NewStar.js +2 -2
- package/lib/NewStar/docs/NewStar__default.docs.js +2 -2
- package/lib/PlusIcon/PlusIcon.js +2 -2
- package/lib/PlusIcon/docs/PlusIcon__default.docs.js +2 -2
- package/lib/Provider.js +9 -124
- package/lib/ToastMessage/ToastMessage.js +1 -1
- package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +2 -2
- package/lib/ToastMessage/docs/ToastMessage__information.docs.js +2 -2
- package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +2 -2
- package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +2 -2
- package/lib/ToastMessage/docs/ToastMessage__success.docs.js +2 -2
- package/lib/Upload/Upload.js +2 -2
- package/lib/Upload/docs/Upload__default.docs.js +2 -2
- package/lib/alert/AlertHeader/AlertHeader.js +2 -2
- package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +2 -2
- package/lib/alert/AlertLookup/AlertLookup.js +3 -3
- package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +2 -2
- package/lib/avatar/AvatarClose/AvatarClose.js +3 -3
- package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +2 -2
- package/lib/avatar/AvatarCollision/AvatarCollision.js +3 -3
- package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +2 -2
- package/lib/avatar/AvatarIcon/AvatarIcon.js +3 -3
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +2 -2
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +2 -2
- package/lib/avatar/AvatarStatus/AvatarStatus.js +3 -3
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +2 -2
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +2 -2
- package/lib/avatar/AvatarThread/AvatarThread.js +3 -3
- package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +2 -2
- package/lib/avatar/AvatarUser/AvatarUser.js +3 -3
- package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +2 -2
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
- package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +2 -2
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +62 -40
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +1 -0
- package/lib/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +2 -2
- package/lib/docs/formDocs.js +32 -0
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +185 -164
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +3 -0
- package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +2 -2
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +2 -2
- package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +2 -2
- package/lib/emptystate/EditionPage/EditionPage.js +2 -2
- package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +2 -2
- package/lib/errorstate/Inconvenience/Inconvenience.js +2 -2
- package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +2 -2
- package/lib/errorstate/LinkText/LinkText.js +2 -2
- package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +2 -2
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +2 -2
- package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +2 -2
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +2 -2
- package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +2 -2
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +2 -2
- package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +2 -2
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +2 -2
- package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +2 -2
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +2 -2
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +2 -2
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +2 -2
- package/lib/errorstate/WillBack/WillBack.js +2 -2
- package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +2 -2
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +26 -32
- package/lib/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +10 -3
- package/lib/form/fields/CurrencyField/CurrencyField.js +26 -33
- package/lib/form/fields/CurrencyField/docs/CurrencyField__default.docs.js +86 -0
- package/lib/form/fields/DateField/DateField.js +26 -32
- package/lib/form/fields/DateField/docs/DateField__default.docs.js +10 -3
- package/lib/form/fields/FieldContainer/FieldContainer.js +136 -0
- package/lib/form/fields/FieldContainer/docs/FieldContainer__default.docs.js +104 -0
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +26 -32
- package/lib/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +10 -3
- package/lib/form/fields/PhoneField/PhoneField.js +3 -3
- package/lib/form/fields/PhoneField/docs/PhoneField__default.docs.js +2 -2
- package/lib/form/fields/RadioField/RadioField.js +3 -3
- package/lib/form/fields/SelectField/SelectField.js +26 -32
- package/lib/form/fields/SelectField/docs/SelectField__default.docs.js +10 -3
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +93 -67
- package/lib/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +2 -2
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +37 -31
- package/lib/form/fields/TextBoxField/TextBoxField.js +28 -48
- package/lib/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +37 -4
- package/lib/form/fields/TextEditor/TextEditor.js +2 -2
- package/lib/form/fields/TextEditorField/TextEditorField.js +36 -50
- package/lib/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +11 -4
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +3 -3
- package/lib/form/fields/TextareaField/TextareaField.js +26 -32
- package/lib/form/fields/TextareaField/docs/TextareaField__default.docs.js +10 -3
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- package/lib/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +2 -2
- package/lib/form/fields/props/FieldCommonDefaultProps.js +19 -0
- package/lib/form/fields/props/FieldCommonPropTypes.js +34 -0
- package/lib/form/layout/Field/Field.js +2 -2
- package/lib/form/layout/Field/docs/Field__default.docs.js +2 -2
- package/lib/form/layout/Section/Section.js +2 -2
- package/lib/form/layout/Section/docs/Section__default.docs.js +2 -2
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +2 -2
- package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +2 -2
- package/lib/layout/SubtabLayout/SubtabLayout.js +3 -3
- package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +2 -2
- package/lib/list/AvatarFlip/AvatarFlip.js +2 -2
- package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +2 -2
- package/lib/list/BluePrintStatus/BluePrintStatus.js +2 -2
- package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +2 -2
- package/lib/list/Comment/Comment.js +2 -2
- package/lib/list/Comment/docs/Comment__default.docs.js +2 -2
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +2 -2
- package/lib/list/Dot/Dot.js +2 -2
- package/lib/list/DotNew/DotNew.js +2 -2
- package/lib/list/DotNew/docs/DotNew__default.docs.js +2 -2
- package/lib/list/GridStencils/GridStencils.js +2 -2
- package/lib/list/GridStencils/GridStencils.module.css +7 -18
- package/lib/list/GridStencils/docs/GridStencils__default.docs.js +2 -2
- package/lib/list/Icons/AddNewIcon.js +2 -2
- package/lib/list/Icons/CompleteIcon.js +2 -2
- package/lib/list/Icons/DeleteIcon.js +2 -2
- package/lib/list/Icons/EditIcon.js +2 -2
- package/lib/list/Icons/FloatingIcons.js +2 -2
- package/lib/list/Icons/ReadUnreadIcon.js +2 -2
- package/lib/list/Icons/SmartIcon.js +2 -2
- package/lib/list/Icons/docs/FloatingIcons__default.docs.js +2 -2
- package/lib/list/ListLayout/ListLayout.js +3 -3
- package/lib/list/ListLayout/docs/ListLayout__default.docs.js +2 -2
- package/lib/list/ListStencils/ListStencils.js +2 -2
- package/lib/list/ListStencils/docs/ListStencils__default.docs.js +2 -2
- package/lib/list/SecondaryText/AccountName.js +3 -3
- package/lib/list/SecondaryText/ContactName.js +3 -3
- package/lib/list/SecondaryText/DepartmentText.js +2 -2
- package/lib/list/SecondaryText/Email.js +3 -3
- package/lib/list/SecondaryText/HappinessRating.js +2 -2
- package/lib/list/SecondaryText/PhoneNumber.js +3 -3
- package/lib/list/SecondaryText/PriorityText.js +2 -2
- package/lib/list/SecondaryText/SecondaryText.js +3 -3
- package/lib/list/SecondaryText/StatusText.js +2 -2
- package/lib/list/SecondaryText/TicketId.js +3 -3
- package/lib/list/SecondaryText/Website.js +2 -2
- package/lib/list/SecondaryText/docs/ContactName__default.docs.js +2 -2
- package/lib/list/SecondryPanel/SecondryPanel.js +2 -2
- package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +2 -2
- package/lib/list/SentimentStatus/SentimentStatus.js +2 -2
- package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +2 -2
- package/lib/list/Subject/Subject.js +3 -3
- package/lib/list/Subject/docs/Subject__default.docs.js +2 -2
- package/lib/list/TagNew/TagNew.js +2 -2
- package/lib/list/TagNew/docs/TagNew__default.docs.js +2 -2
- package/lib/list/Thread/Thread.js +2 -2
- package/lib/list/Thread/docs/Thread__default.docs.js +2 -2
- package/lib/list/UserTime/UserTime.js +2 -2
- package/lib/list/UserTime/docs/UserTime__default.docs.js +2 -2
- package/lib/list/status/StatusDropdown/StatusDropdown.js +104 -83
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +3 -0
- package/lib/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +2 -2
- package/lib/list/status/StatusListItem/StatusListItem.js +3 -3
- package/lib/list/status/StatusListItem/docs/StatusListItem__default.docs.js +2 -2
- package/lib/lookup/EmptyPage/EmptyPage.js +2 -2
- package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +2 -2
- package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +2 -2
- package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +2 -2
- package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +2 -2
- package/lib/lookup/Lookup/Lookup.js +2 -2
- package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +2 -2
- package/lib/lookup/Lookup/docs/Lookup__default.docs.js +2 -2
- package/lib/lookup/Section/Section.js +2 -2
- package/lib/lookup/header/Close/Close.js +2 -2
- package/lib/lookup/header/Close/docs/Close__default.docs.js +2 -2
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +2 -2
- package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +2 -2
- package/lib/lookup/header/Search/Search.js +3 -3
- package/lib/lookup/header/Search/docs/Search__default.docs.js +2 -2
- package/lib/lookup/header/TicketHeader/TicketHeader.js +2 -2
- package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +2 -2
- package/lib/lookup/header/Title/Title.js +2 -2
- package/lib/lookup/header/Title/docs/Title__default.docs.js +2 -2
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +77 -54
- package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +2 -2
- package/lib/setup/header/Button/Button.js +2 -2
- package/lib/setup/header/Button/docs/Button__default.docs.js +2 -2
- package/lib/setup/header/Link/Link.js +2 -2
- package/lib/setup/header/Link/docs/Link__default.docs.js +2 -2
- package/lib/setup/header/Search/Search.js +2 -2
- package/lib/setup/header/Search/docs/Search__default.docs.js +2 -2
- package/lib/setup/header/Views/Views.js +2 -2
- package/lib/setup/header/Views/docs/Views__default.docs.js +2 -2
- package/lib/setup/helptips/Description/Description.js +2 -2
- package/lib/setup/helptips/Description/docs/Description__default.docs.js +2 -2
- package/lib/setup/helptips/Link/Link.js +2 -2
- package/lib/setup/helptips/Link/docs/Link__default.docs.js +2 -2
- package/lib/setup/helptips/ListGroup/ListGroup.js +2 -2
- package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +2 -2
- package/lib/setup/helptips/Title/Title.js +2 -2
- package/lib/setup/helptips/Title/docs/Title__default.docs.js +2 -2
- package/lib/setup/table/Table/Table.js +2 -2
- package/lib/setup/table/Table/docs/Table__default.docs.js +2 -2
- package/lib/setup/table/TableBody/TableBody.js +2 -2
- package/lib/setup/table/TableData/TableData.js +2 -2
- package/lib/setup/table/TableHead/TableHead.js +2 -2
- package/lib/setup/table/TableRow/TableRow.js +2 -2
- package/lib/setup/table/Text/Text.js +2 -2
- package/lib/setup/table/Text/docs/Text__default.docs.js +2 -2
- package/lib/svg/PlusIcon.js +2 -2
- package/lib/svg/SnippetIcon.js +2 -2
- package/lib/svg/TemplateIcon.js +2 -2
- package/lib/svg/docs/SVG__default.docs.js +2 -2
- package/lib/version2/AlertClose/AlertClose.js +2 -2
- package/lib/version2/AlertClose/docs/AlertClose__default.docs.js +2 -2
- package/lib/version2/GlobalNotification/GlobalNotification.js +3 -3
- package/lib/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +2 -2
- package/lib/version2/alertIcons/AlarmAlertIcon.js +2 -2
- package/lib/version2/alertIcons/AlertIcons.js +2 -2
- package/lib/version2/alertIcons/DangerAlertIcon.js +2 -2
- package/lib/version2/alertIcons/ErrorAlertIcon.js +2 -2
- package/lib/version2/alertIcons/InfoAlertIcon.js +2 -2
- package/lib/version2/alertIcons/NotificationAlertIcon.js +2 -2
- package/lib/version2/alertIcons/SuccessAlertIcon.js +2 -2
- package/lib/version2/alertIcons/WarningAlertIcon.js +2 -2
- package/lib/version2/alertIcons/docs/AlertIcons__default.docs.js +2 -2
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +2 -2
- package/lib/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +2 -2
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +2 -2
- package/lib/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +2 -2
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +2 -2
- package/lib/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +2 -2
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +2 -2
- package/lib/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +2 -2
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +2 -2
- package/lib/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +2 -2
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +2 -2
- package/lib/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +2 -2
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +2 -2
- package/lib/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +2 -2
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +3 -3
- package/lib/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +2 -2
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +1 -1
- package/lib/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +2 -2
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +2 -2
- package/lib/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +2 -2
- package/package.json +5 -5
package/lib/docs/formDocs.js
CHANGED
|
@@ -15,6 +15,18 @@ Object.defineProperty(exports, "CheckBoxField__default", {
|
|
|
15
15
|
return _CheckBoxField__default["default"];
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
+
Object.defineProperty(exports, "CurrencyField", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function get() {
|
|
21
|
+
return _CurrencyField["default"];
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "CurrencyField__default", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function get() {
|
|
27
|
+
return _CurrencyField__default["default"];
|
|
28
|
+
}
|
|
29
|
+
});
|
|
18
30
|
Object.defineProperty(exports, "DateField", {
|
|
19
31
|
enumerable: true,
|
|
20
32
|
get: function get() {
|
|
@@ -27,6 +39,18 @@ Object.defineProperty(exports, "DateField__default", {
|
|
|
27
39
|
return _DateField__default["default"];
|
|
28
40
|
}
|
|
29
41
|
});
|
|
42
|
+
Object.defineProperty(exports, "FieldContainer", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function get() {
|
|
45
|
+
return _FieldContainer["default"];
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "FieldContainer__default", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function get() {
|
|
51
|
+
return _FieldContainer__default["default"];
|
|
52
|
+
}
|
|
53
|
+
});
|
|
30
54
|
Object.defineProperty(exports, "FieldLayout", {
|
|
31
55
|
enumerable: true,
|
|
32
56
|
get: function get() {
|
|
@@ -200,6 +224,10 @@ var _CheckBoxField = _interopRequireDefault(require("../form/fields/CheckBoxFiel
|
|
|
200
224
|
|
|
201
225
|
var _CheckBoxField__default = _interopRequireDefault(require("../form/fields/CheckBoxField/docs/CheckBoxField__default.docs"));
|
|
202
226
|
|
|
227
|
+
var _CurrencyField = _interopRequireDefault(require("../form/fields/CurrencyField/CurrencyField"));
|
|
228
|
+
|
|
229
|
+
var _CurrencyField__default = _interopRequireDefault(require("../form/fields/CurrencyField/docs/CurrencyField__default.docs"));
|
|
230
|
+
|
|
203
231
|
var _TagsMultiSelect = _interopRequireDefault(require("../form/fields/TagsMultiSelect/TagsMultiSelect"));
|
|
204
232
|
|
|
205
233
|
var _TagsMultiSelect__default = _interopRequireDefault(require("../form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs"));
|
|
@@ -212,4 +240,8 @@ var _TextEditorField = _interopRequireDefault(require("../form/fields/TextEditor
|
|
|
212
240
|
|
|
213
241
|
var _TextEditorField__default = _interopRequireDefault(require("../form/fields/TextEditorField/docs/TextEditorField__default.docs"));
|
|
214
242
|
|
|
243
|
+
var _FieldContainer = _interopRequireDefault(require("../form/fields/FieldContainer/FieldContainer"));
|
|
244
|
+
|
|
245
|
+
var _FieldContainer__default = _interopRequireDefault(require("../form/fields/FieldContainer/docs/FieldContainer__default.docs"));
|
|
246
|
+
|
|
215
247
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -13,8 +13,6 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
|
13
13
|
|
|
14
14
|
var _Icon = _interopRequireDefault(require("@zohodesk/icons/lib/Icon"));
|
|
15
15
|
|
|
16
|
-
var _DropBox = _interopRequireDefault(require("@zohodesk/components/lib/DropBox/DropBox"));
|
|
17
|
-
|
|
18
16
|
var _Popup = _interopRequireDefault(require("@zohodesk/components/lib/Popup/Popup"));
|
|
19
17
|
|
|
20
18
|
var _Layout = require("@zohodesk/components/lib/Layout");
|
|
@@ -43,6 +41,10 @@ var _semanticButtonModule = _interopRequireDefault(require("@zohodesk/components
|
|
|
43
41
|
|
|
44
42
|
var _RippleEffect = _interopRequireDefault(require("@zohodesk/components/lib/RippleEffect/RippleEffect"));
|
|
45
43
|
|
|
44
|
+
var _ResponsiveDropBox = _interopRequireDefault(require("@zohodesk/components/lib/ResponsiveDropBox/ResponsiveDropBox"));
|
|
45
|
+
|
|
46
|
+
var _CustomResponsive = require("@zohodesk/components/lib/Responsive/CustomResponsive");
|
|
47
|
+
|
|
46
48
|
var _General = require("../../utils/General");
|
|
47
49
|
|
|
48
50
|
var _ToggleDropDownModule = _interopRequireDefault(require("./ToggleDropDown.module.css"));
|
|
@@ -53,7 +55,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
53
55
|
|
|
54
56
|
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; }
|
|
55
57
|
|
|
56
|
-
function _extends() { _extends = Object.assign
|
|
58
|
+
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); }
|
|
57
59
|
|
|
58
60
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
59
61
|
|
|
@@ -65,7 +67,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
65
67
|
|
|
66
68
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
67
69
|
|
|
68
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
70
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
69
71
|
|
|
70
72
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
71
73
|
|
|
@@ -75,7 +77,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
75
77
|
|
|
76
78
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
77
79
|
|
|
78
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
80
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
79
81
|
|
|
80
82
|
var ToggleDropDown = /*#__PURE__*/function (_Component) {
|
|
81
83
|
_inherits(ToggleDropDown, _Component);
|
|
@@ -533,6 +535,16 @@ var ToggleDropDown = /*#__PURE__*/function (_Component) {
|
|
|
533
535
|
});
|
|
534
536
|
}
|
|
535
537
|
}
|
|
538
|
+
}, {
|
|
539
|
+
key: "responsiveFunc",
|
|
540
|
+
value: function responsiveFunc(_ref3) {
|
|
541
|
+
var mediaQueryOR = _ref3.mediaQueryOR;
|
|
542
|
+
return {
|
|
543
|
+
tabletMode: mediaQueryOR([{
|
|
544
|
+
maxWidth: 700
|
|
545
|
+
}])
|
|
546
|
+
};
|
|
547
|
+
}
|
|
536
548
|
}, {
|
|
537
549
|
key: "render",
|
|
538
550
|
value: function render() {
|
|
@@ -663,103 +675,176 @@ var ToggleDropDown = /*#__PURE__*/function (_Component) {
|
|
|
663
675
|
name: "ZD-down",
|
|
664
676
|
iconClass: 'toggleDropIcon'.concat(" ", _ToggleDropDownModule["default"].arrow, " ").concat(_ToggleDropDownModule["default"]["".concat(arrowIconPosition, "_arrow")]),
|
|
665
677
|
dataId: "statusdownarrow"
|
|
666
|
-
}) : null)))), isPopupOpen ? /*#__PURE__*/_react["default"].createElement(
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
},
|
|
716
|
-
customClass: _ToggleDropDownModule["default"].dropdown
|
|
717
|
-
})), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
718
|
-
id: ariaTitleId,
|
|
719
|
-
scroll: "vertical",
|
|
720
|
-
dataId: "".concat(dataId, "_list"),
|
|
721
|
-
className: _ToggleDropDownModule["default"].maxHgt,
|
|
722
|
-
eleRef: this.scrollContentRef,
|
|
723
|
-
onScroll: this.handleScroll,
|
|
724
|
-
role: isSearch ? 'listbox' : undefined,
|
|
725
|
-
"aria-labelledby": isSearch ? ariaTitleId : undefined
|
|
726
|
-
}, isDataLoaded ? options && options.length != 0 ? isGroupDropDown ? /*#__PURE__*/_react["default"].createElement(_react.Fragment, null, options.map(function (group) {
|
|
727
|
-
var groupName = group[groupNameKey];
|
|
728
|
-
var groupOptions = group[groupOptionsKey];
|
|
729
|
-
var needDivider = group.needDivider;
|
|
730
|
-
return /*#__PURE__*/_react["default"].createElement(_react.Fragment, {
|
|
731
|
-
key: "index".concat(groupName)
|
|
732
|
-
}, needDivider && /*#__PURE__*/_react["default"].createElement("div", {
|
|
733
|
-
className: _ToggleDropDownModule["default"].seperatedLine
|
|
734
|
-
}), groupName && /*#__PURE__*/_react["default"].createElement("div", {
|
|
735
|
-
className: _ToggleDropDownModule["default"].groupName
|
|
678
|
+
}) : null)))), isPopupOpen ? /*#__PURE__*/_react["default"].createElement(_CustomResponsive.ResponsiveReceiver, {
|
|
679
|
+
query: this.responsiveFunc,
|
|
680
|
+
responsiveId: "Helmet"
|
|
681
|
+
}, function (_ref4) {
|
|
682
|
+
var tabletMode = _ref4.tabletMode;
|
|
683
|
+
return /*#__PURE__*/_react["default"].createElement(_ResponsiveDropBox["default"], _extends({
|
|
684
|
+
boxPosition: position,
|
|
685
|
+
isActive: isPopupReady,
|
|
686
|
+
onClick: removeClose,
|
|
687
|
+
size: boxSize,
|
|
688
|
+
right: right,
|
|
689
|
+
left: left,
|
|
690
|
+
top: top,
|
|
691
|
+
bottom: bottom,
|
|
692
|
+
isArrow: isArrow,
|
|
693
|
+
isAnimate: true,
|
|
694
|
+
getRef: getContainerRef,
|
|
695
|
+
customClass: {
|
|
696
|
+
customDropBoxWrap: _ToggleDropDownModule["default"].dropBoxContainer
|
|
697
|
+
},
|
|
698
|
+
needResponsive: needResponsive,
|
|
699
|
+
isPadding: isPadding,
|
|
700
|
+
tabindex: "0",
|
|
701
|
+
a11y: {
|
|
702
|
+
role: !isSearch ? 'menu' : undefined,
|
|
703
|
+
ariaLabelledby: !isSearch ? ariaTitleId : undefined
|
|
704
|
+
},
|
|
705
|
+
palette: palette,
|
|
706
|
+
isResponsivePadding: true
|
|
707
|
+
}, DropBoxProps), /*#__PURE__*/_react["default"].createElement(_react.Fragment, null, isSearch ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
708
|
+
className: _ToggleDropDownModule["default"].search
|
|
709
|
+
}, /*#__PURE__*/_react["default"].createElement(_TextBoxIcon["default"], _extends({
|
|
710
|
+
placeHolder: placeHolderText,
|
|
711
|
+
onChange: _this5.handleChange,
|
|
712
|
+
value: searchValue,
|
|
713
|
+
onClear: _this5.onSearchClear,
|
|
714
|
+
size: searchBoxSize,
|
|
715
|
+
inputRef: _this5.searchInputRef,
|
|
716
|
+
onKeyDown: _this5.handleKeyDown,
|
|
717
|
+
a11y: {
|
|
718
|
+
role: 'combobox',
|
|
719
|
+
ariaOwns: ariaTitleId,
|
|
720
|
+
ariaActivedescendant: allyOptionsArr[selectedIndex] && allyOptionsArr[selectedIndex][keyName],
|
|
721
|
+
ariaAutocomplete: 'list',
|
|
722
|
+
ariaHaspopup: true,
|
|
723
|
+
ariaExpanded: true
|
|
724
|
+
}
|
|
725
|
+
}, TextBoxIconProps))) : null, title && options.length != 0 && /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
726
|
+
className: _ToggleDropDownModule["default"].title
|
|
736
727
|
}, /*#__PURE__*/_react["default"].createElement(_DropDownHeading["default"], {
|
|
737
|
-
text:
|
|
728
|
+
text: title,
|
|
729
|
+
htmlId: ariaTitleId,
|
|
738
730
|
palette: palette,
|
|
739
731
|
a11y: {
|
|
740
732
|
role: 'heading'
|
|
741
|
-
}
|
|
742
|
-
|
|
733
|
+
},
|
|
734
|
+
customClass: _ToggleDropDownModule["default"].dropdown
|
|
735
|
+
})), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
736
|
+
id: ariaTitleId,
|
|
737
|
+
flexible: true,
|
|
738
|
+
shrink: true,
|
|
739
|
+
scroll: "vertical",
|
|
740
|
+
dataId: "".concat(dataId, "_list"),
|
|
741
|
+
className: "".concat(tabletMode ? _ToggleDropDownModule["default"].responsivemaxHgt : _ToggleDropDownModule["default"].maxHgt),
|
|
742
|
+
eleRef: _this5.scrollContentRef,
|
|
743
|
+
onScroll: _this5.handleScroll,
|
|
744
|
+
role: isSearch ? 'listbox' : undefined,
|
|
745
|
+
"aria-labelledby": isSearch ? ariaTitleId : undefined
|
|
746
|
+
}, isDataLoaded ? options && options.length != 0 ? isGroupDropDown ? /*#__PURE__*/_react["default"].createElement(_react.Fragment, null, options.map(function (group) {
|
|
747
|
+
var groupName = group[groupNameKey];
|
|
748
|
+
var groupOptions = group[groupOptionsKey];
|
|
749
|
+
var needDivider = group.needDivider;
|
|
750
|
+
return /*#__PURE__*/_react["default"].createElement(_react.Fragment, {
|
|
751
|
+
key: "index".concat(groupName)
|
|
752
|
+
}, needDivider && /*#__PURE__*/_react["default"].createElement("div", {
|
|
753
|
+
className: _ToggleDropDownModule["default"].seperatedLine
|
|
754
|
+
}), groupName && /*#__PURE__*/_react["default"].createElement("div", {
|
|
755
|
+
className: _ToggleDropDownModule["default"].groupName
|
|
756
|
+
}, /*#__PURE__*/_react["default"].createElement(_DropDownHeading["default"], {
|
|
757
|
+
text: groupName,
|
|
758
|
+
palette: palette,
|
|
759
|
+
a11y: {
|
|
760
|
+
role: 'heading'
|
|
761
|
+
}
|
|
762
|
+
})), groupOptions && groupOptions.map(function (item) {
|
|
763
|
+
var iconName = item.iconName,
|
|
764
|
+
iconSize = item.iconSize,
|
|
765
|
+
iconClass = item.iconClass,
|
|
766
|
+
title = item.title,
|
|
767
|
+
_item$disableTitle = item.disableTitle,
|
|
768
|
+
disableTitle = _item$disableTitle === void 0 ? '' : _item$disableTitle,
|
|
769
|
+
_item$isDisabled = item.isDisabled,
|
|
770
|
+
isDisabled = _item$isDisabled === void 0 ? false : _item$isDisabled;
|
|
771
|
+
listIndex += 1;
|
|
772
|
+
return iconName ? /*#__PURE__*/_react["default"].createElement(_ListItemWithIcon["default"], _extends({
|
|
773
|
+
key: listIndex,
|
|
774
|
+
dataId: item[keyName],
|
|
775
|
+
value: item[keyName],
|
|
776
|
+
id: item[idName],
|
|
777
|
+
active: selectedId === item[idName],
|
|
778
|
+
onClick: _this5.onSelect.bind(_this5, item),
|
|
779
|
+
index: listIndex,
|
|
780
|
+
highlight: selectedIndex === listIndex,
|
|
781
|
+
disableTitle: disableTitle,
|
|
782
|
+
isDisabled: isDisabled,
|
|
783
|
+
iconName: iconName,
|
|
784
|
+
iconClass: iconClass,
|
|
785
|
+
iconSize: iconSize,
|
|
786
|
+
needTick: needTick,
|
|
787
|
+
needBorder: false,
|
|
788
|
+
onMouseEnter: _this5.handleMouseEnter,
|
|
789
|
+
getRef: _this5.itemRef,
|
|
790
|
+
title: title ? title : item[keyName],
|
|
791
|
+
palette: palette,
|
|
792
|
+
a11y: {
|
|
793
|
+
role: isSearch ? 'option' : 'menuitem',
|
|
794
|
+
ariaSelected: selectedId === item[idName]
|
|
795
|
+
}
|
|
796
|
+
}, ListItemWithIconProps)) : /*#__PURE__*/_react["default"].createElement(_ListItem["default"], _extends({
|
|
797
|
+
key: listIndex,
|
|
798
|
+
dataId: item[keyName],
|
|
799
|
+
value: item[keyName],
|
|
800
|
+
id: item[idName],
|
|
801
|
+
active: selectedId === item[idName],
|
|
802
|
+
onClick: _this5.onSelect.bind(_this5, item),
|
|
803
|
+
isDisabled: isDisabled,
|
|
804
|
+
disableTitle: disableTitle,
|
|
805
|
+
index: listIndex,
|
|
806
|
+
highlight: selectedIndex === listIndex,
|
|
807
|
+
needTick: needTick,
|
|
808
|
+
needBorder: false,
|
|
809
|
+
onMouseEnter: _this5.handleMouseEnter,
|
|
810
|
+
getRef: _this5.itemRef,
|
|
811
|
+
title: title ? title : item[keyName],
|
|
812
|
+
palette: palette,
|
|
813
|
+
a11y: {
|
|
814
|
+
role: isSearch ? 'option' : 'menuitem',
|
|
815
|
+
ariaSelected: selectedId === item[idName]
|
|
816
|
+
}
|
|
817
|
+
}, ListItemProps));
|
|
818
|
+
}));
|
|
819
|
+
})) : /*#__PURE__*/_react["default"].createElement(_react.Fragment, null, options.map(function (item, i) {
|
|
743
820
|
var iconName = item.iconName,
|
|
744
821
|
iconSize = item.iconSize,
|
|
745
822
|
iconClass = item.iconClass,
|
|
746
823
|
title = item.title,
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
824
|
+
needDivider = item.needDivider,
|
|
825
|
+
_item$isDisabled2 = item.isDisabled,
|
|
826
|
+
isDisabled = _item$isDisabled2 === void 0 ? false : _item$isDisabled2,
|
|
827
|
+
_item$disableTitle2 = item.disableTitle,
|
|
828
|
+
disableTitle = _item$disableTitle2 === void 0 ? '' : _item$disableTitle2;
|
|
829
|
+
|
|
830
|
+
if (!needDivider) {
|
|
831
|
+
listIndex += 1;
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
return /*#__PURE__*/_react["default"].createElement(_react.Fragment, {
|
|
835
|
+
key: i
|
|
836
|
+
}, needDivider ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
837
|
+
className: _ToggleDropDownModule["default"].seperatedLine
|
|
838
|
+
}) : iconName ? /*#__PURE__*/_react["default"].createElement(_ListItemWithIcon["default"], _extends({
|
|
754
839
|
dataId: item[keyName],
|
|
755
840
|
value: item[keyName],
|
|
756
841
|
id: item[idName],
|
|
757
842
|
active: selectedId === item[idName],
|
|
758
843
|
onClick: _this5.onSelect.bind(_this5, item),
|
|
759
844
|
index: listIndex,
|
|
760
|
-
highlight: selectedIndex === listIndex,
|
|
761
845
|
disableTitle: disableTitle,
|
|
762
846
|
isDisabled: isDisabled,
|
|
847
|
+
highlight: selectedIndex === listIndex,
|
|
763
848
|
iconName: iconName,
|
|
764
849
|
iconClass: iconClass,
|
|
765
850
|
iconSize: iconSize,
|
|
@@ -768,6 +853,7 @@ var ToggleDropDown = /*#__PURE__*/function (_Component) {
|
|
|
768
853
|
onMouseEnter: _this5.handleMouseEnter,
|
|
769
854
|
getRef: _this5.itemRef,
|
|
770
855
|
title: title ? title : item[keyName],
|
|
856
|
+
key: listIndex,
|
|
771
857
|
palette: palette,
|
|
772
858
|
a11y: {
|
|
773
859
|
role: isSearch ? 'option' : 'menuitem',
|
|
@@ -778,10 +864,10 @@ var ToggleDropDown = /*#__PURE__*/function (_Component) {
|
|
|
778
864
|
dataId: item[keyName],
|
|
779
865
|
value: item[keyName],
|
|
780
866
|
id: item[idName],
|
|
867
|
+
disableTitle: disableTitle,
|
|
868
|
+
isDisabled: isDisabled,
|
|
781
869
|
active: selectedId === item[idName],
|
|
782
870
|
onClick: _this5.onSelect.bind(_this5, item),
|
|
783
|
-
isDisabled: isDisabled,
|
|
784
|
-
disableTitle: disableTitle,
|
|
785
871
|
index: listIndex,
|
|
786
872
|
highlight: selectedIndex === listIndex,
|
|
787
873
|
needTick: needTick,
|
|
@@ -794,82 +880,17 @@ var ToggleDropDown = /*#__PURE__*/function (_Component) {
|
|
|
794
880
|
role: isSearch ? 'option' : 'menuitem',
|
|
795
881
|
ariaSelected: selectedId === item[idName]
|
|
796
882
|
}
|
|
797
|
-
}, ListItemProps));
|
|
798
|
-
}))
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
disableTitle = _item$disableTitle2 === void 0 ? '' : _item$disableTitle2;
|
|
809
|
-
|
|
810
|
-
if (!needDivider) {
|
|
811
|
-
listIndex += 1;
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
return /*#__PURE__*/_react["default"].createElement(_react.Fragment, {
|
|
815
|
-
key: i
|
|
816
|
-
}, needDivider ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
817
|
-
className: _ToggleDropDownModule["default"].seperatedLine
|
|
818
|
-
}) : iconName ? /*#__PURE__*/_react["default"].createElement(_ListItemWithIcon["default"], _extends({
|
|
819
|
-
dataId: item[keyName],
|
|
820
|
-
value: item[keyName],
|
|
821
|
-
id: item[idName],
|
|
822
|
-
active: selectedId === item[idName],
|
|
823
|
-
onClick: _this5.onSelect.bind(_this5, item),
|
|
824
|
-
index: listIndex,
|
|
825
|
-
disableTitle: disableTitle,
|
|
826
|
-
isDisabled: isDisabled,
|
|
827
|
-
highlight: selectedIndex === listIndex,
|
|
828
|
-
iconName: iconName,
|
|
829
|
-
iconClass: iconClass,
|
|
830
|
-
iconSize: iconSize,
|
|
831
|
-
needTick: needTick,
|
|
832
|
-
needBorder: false,
|
|
833
|
-
onMouseEnter: _this5.handleMouseEnter,
|
|
834
|
-
getRef: _this5.itemRef,
|
|
835
|
-
title: title ? title : item[keyName],
|
|
836
|
-
key: listIndex,
|
|
837
|
-
palette: palette,
|
|
838
|
-
a11y: {
|
|
839
|
-
role: isSearch ? 'option' : 'menuitem',
|
|
840
|
-
ariaSelected: selectedId === item[idName]
|
|
841
|
-
}
|
|
842
|
-
}, ListItemWithIconProps)) : /*#__PURE__*/_react["default"].createElement(_ListItem["default"], _extends({
|
|
843
|
-
key: listIndex,
|
|
844
|
-
dataId: item[keyName],
|
|
845
|
-
value: item[keyName],
|
|
846
|
-
id: item[idName],
|
|
847
|
-
disableTitle: disableTitle,
|
|
848
|
-
isDisabled: isDisabled,
|
|
849
|
-
active: selectedId === item[idName],
|
|
850
|
-
onClick: _this5.onSelect.bind(_this5, item),
|
|
851
|
-
index: listIndex,
|
|
852
|
-
highlight: selectedIndex === listIndex,
|
|
853
|
-
needTick: needTick,
|
|
854
|
-
needBorder: false,
|
|
855
|
-
onMouseEnter: _this5.handleMouseEnter,
|
|
856
|
-
getRef: _this5.itemRef,
|
|
857
|
-
title: title ? title : item[keyName],
|
|
858
|
-
palette: palette,
|
|
859
|
-
a11y: {
|
|
860
|
-
role: isSearch ? 'option' : 'menuitem',
|
|
861
|
-
ariaSelected: selectedId === item[idName]
|
|
862
|
-
}
|
|
863
|
-
}, ListItemProps)));
|
|
864
|
-
})) : /*#__PURE__*/_react["default"].createElement(_CommonEmptyState["default"], {
|
|
865
|
-
className: _ToggleDropDownModule["default"].svgWrapper,
|
|
866
|
-
description: searchEmptyHint,
|
|
867
|
-
title: searchErrorText || 'No results',
|
|
868
|
-
size: "small",
|
|
869
|
-
getEmptyState: this.emptySearchSVG
|
|
870
|
-
}) : /*#__PURE__*/_react["default"].createElement("div", {
|
|
871
|
-
className: _ToggleDropDownModule["default"].loader
|
|
872
|
-
}, /*#__PURE__*/_react["default"].createElement(_Loader["default"], null))), getFooter ? /*#__PURE__*/_react["default"].createElement("div", null, getFooter()) : null)) : null);
|
|
883
|
+
}, ListItemProps)));
|
|
884
|
+
})) : /*#__PURE__*/_react["default"].createElement(_CommonEmptyState["default"], {
|
|
885
|
+
className: _ToggleDropDownModule["default"].svgWrapper,
|
|
886
|
+
description: searchEmptyHint,
|
|
887
|
+
title: searchErrorText || 'No results',
|
|
888
|
+
size: "small",
|
|
889
|
+
getEmptyState: _this5.emptySearchSVG
|
|
890
|
+
}) : /*#__PURE__*/_react["default"].createElement("div", {
|
|
891
|
+
className: _ToggleDropDownModule["default"].loader
|
|
892
|
+
}, /*#__PURE__*/_react["default"].createElement(_Loader["default"], null))), getFooter ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, getFooter()) : null));
|
|
893
|
+
}) : null);
|
|
873
894
|
}
|
|
874
895
|
}]);
|
|
875
896
|
|
|
@@ -25,7 +25,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
25
25
|
|
|
26
26
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
28
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
30
30
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
31
31
|
|
|
@@ -35,7 +35,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
35
35
|
|
|
36
36
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
37
37
|
|
|
38
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
38
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
39
39
|
|
|
40
40
|
var ToggleDropDown__default = /*#__PURE__*/function (_React$Component) {
|
|
41
41
|
_inherits(ToggleDropDown__default, _React$Component);
|
|
@@ -29,7 +29,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
29
29
|
|
|
30
30
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
31
31
|
|
|
32
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
32
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
34
34
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
35
35
|
|
|
@@ -39,7 +39,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
39
39
|
|
|
40
40
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
41
41
|
|
|
42
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
42
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
43
43
|
|
|
44
44
|
var CommonEmptyState = /*#__PURE__*/function (_Component) {
|
|
45
45
|
_inherits(CommonEmptyState, _Component);
|
|
@@ -35,7 +35,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
35
35
|
|
|
36
36
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
37
37
|
|
|
38
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
38
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
39
39
|
|
|
40
40
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
41
41
|
|
|
@@ -45,7 +45,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
45
45
|
|
|
46
46
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
47
47
|
|
|
48
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
48
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
49
49
|
|
|
50
50
|
var CommonEmptyState__default = /*#__PURE__*/function (_Component) {
|
|
51
51
|
_inherits(CommonEmptyState__default, _Component);
|
|
@@ -29,7 +29,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
29
29
|
|
|
30
30
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
31
31
|
|
|
32
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
32
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
34
34
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
35
35
|
|
|
@@ -39,7 +39,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
39
39
|
|
|
40
40
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
41
41
|
|
|
42
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
42
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
43
43
|
|
|
44
44
|
var EditionPage = /*#__PURE__*/function (_Component) {
|
|
45
45
|
_inherits(EditionPage, _Component);
|
|
@@ -25,7 +25,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
25
25
|
|
|
26
26
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
28
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
30
30
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
31
31
|
|
|
@@ -35,7 +35,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
35
35
|
|
|
36
36
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
37
37
|
|
|
38
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
38
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
39
39
|
|
|
40
40
|
var EditionPage__default = /*#__PURE__*/function (_Component) {
|
|
41
41
|
_inherits(EditionPage__default, _Component);
|
|
@@ -33,7 +33,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
33
33
|
|
|
34
34
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
35
35
|
|
|
36
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
36
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
37
37
|
|
|
38
38
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
39
39
|
|
|
@@ -43,7 +43,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
43
43
|
|
|
44
44
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
45
45
|
|
|
46
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
46
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
47
47
|
|
|
48
48
|
var Inconvenience = /*#__PURE__*/function (_React$Component) {
|
|
49
49
|
_inherits(Inconvenience, _React$Component);
|