@zohodesk/dot 1.0.0-beta.181 → 1.0.0-beta.182
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 +4 -0
- package/es/ExternalLink/ExternalLink.js +10 -5
- package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -1
- package/es/Link/Link.js +7 -4
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +0 -2
- package/es/list/SecondaryText/AccountName.js +23 -9
- package/es/list/SecondaryText/ContactName.js +18 -6
- package/es/list/SecondaryText/Email.js +19 -7
- package/es/list/SecondaryText/PhoneNumber.js +19 -7
- package/es/list/SecondaryText/TicketId.js +18 -6
- package/es/list/Subject/Subject.js +18 -6
- package/es/list/status/StatusListItem/StatusListItem.js +0 -2
- package/es/utils/General.js +0 -1
- package/es/utils/editorUtils.js +0 -1
- package/lib/ActionButton/ActionButton.js +1 -1
- package/lib/ActionButton/docs/ActionButton__default.docs.js +1 -1
- package/lib/AlphabeticList/AlphabeticList.js +1 -1
- package/lib/AlphabeticList/docs/AlphabeticList__default.docs.js +1 -1
- package/lib/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +1 -1
- package/lib/Attachment/Attachment.js +1 -1
- package/lib/Attachment/docs/Attachment__default.docs.js +1 -1
- package/lib/ChannelIcon/ChannelIcon.js +1 -1
- package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +1 -1
- package/lib/Drawer/Drawer.js +2 -2
- package/lib/Drawer/docs/Drawer__default.docs.js +1 -1
- package/lib/Drawer/docs/Drawer__multiDrawer.docs.js +1 -1
- package/lib/Drawer/docs/Drawer__noFreeze.docs.js +1 -1
- package/lib/Drawer/docs/Drawer__withModal.docs.js +1 -1
- package/lib/ExternalLink/ExternalLink.js +11 -6
- package/lib/ExternalLink/docs/ExternalLink__default.docs.js +1 -1
- package/lib/FlipCard/FlipCard.js +1 -1
- package/lib/FlipCard/docs/FlipCard__default.docs.js +1 -1
- package/lib/FormAction/FormAction.js +2 -2
- package/lib/FormAction/docs/FormAction__default.docs.js +1 -1
- package/lib/FreezeLayer/FreezeLayer.js +1 -1
- package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +1 -1
- package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +1 -1
- package/lib/IconButton/IconButton.js +1 -1
- package/lib/IconButton/docs/IconButton__default.docs.js +1 -1
- package/lib/Image/Image.js +1 -1
- package/lib/Image/docs/Image__default.docs.js +1 -1
- package/lib/ImportantNotes/ImportantNotes.js +1 -1
- package/lib/ImportantNotes/docs/ImportantNotes__default.docs.js +1 -1
- package/lib/Link/Link.js +8 -5
- package/lib/Link/docs/Link__default.docs.js +1 -1
- package/lib/Loader/Loader.js +1 -1
- package/lib/Loader/docs/Loader__default.docs.js +1 -1
- package/lib/Message/Message.js +2 -2
- package/lib/Message/docs/Message__default.docs.js +1 -1
- package/lib/MessageBanner/MessageBanner.js +1 -1
- package/lib/MessageBanner/docs/MessageBanner__default.docs.js +1 -1
- package/lib/NewStar/NewStar.js +1 -1
- package/lib/NewStar/docs/NewStar__default.docs.js +1 -1
- package/lib/PlusIcon/PlusIcon.js +1 -1
- package/lib/PlusIcon/docs/PlusIcon__default.docs.js +1 -1
- package/lib/Provider.js +1 -1
- package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +1 -1
- package/lib/ToastMessage/docs/ToastMessage__information.docs.js +1 -1
- package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +1 -1
- package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +1 -1
- package/lib/ToastMessage/docs/ToastMessage__success.docs.js +1 -1
- package/lib/Upload/Upload.js +1 -1
- package/lib/Upload/docs/Upload__default.docs.js +1 -1
- package/lib/alert/AlertHeader/AlertHeader.js +1 -1
- package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +1 -1
- package/lib/alert/AlertLookup/AlertLookup.js +1 -1
- package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +1 -1
- package/lib/avatar/AvatarClose/AvatarClose.js +1 -1
- package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +1 -1
- package/lib/avatar/AvatarCollision/AvatarCollision.js +1 -1
- package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +1 -1
- package/lib/avatar/AvatarIcon/AvatarIcon.js +1 -1
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +1 -1
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +1 -1
- package/lib/avatar/AvatarStatus/AvatarStatus.js +1 -1
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +1 -1
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +1 -1
- package/lib/avatar/AvatarThread/AvatarThread.js +1 -1
- package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +1 -1
- package/lib/avatar/AvatarUser/AvatarUser.js +1 -1
- package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +1 -1
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +1 -1
- package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +1 -1
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +1 -1
- package/lib/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +1 -1
- package/lib/docs/formDocs.js +52 -52
- package/lib/docs/generalDocs.js +250 -250
- package/lib/docs/lookupDocs.js +70 -70
- package/lib/docs/setupDocs.js +32 -32
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +1 -1
- package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +1 -1
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +1 -1
- package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +1 -1
- package/lib/emptystate/EditionPage/EditionPage.js +1 -1
- package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +1 -1
- package/lib/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +1 -1
- package/lib/errorstate/LinkText/LinkText.js +1 -1
- package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +1 -1
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +1 -1
- package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +1 -1
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +1 -1
- package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +1 -1
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +1 -1
- package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +1 -1
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +1 -1
- package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +1 -1
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -1
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +1 -1
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +1 -1
- package/lib/errorstate/WillBack/WillBack.js +1 -1
- package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +1 -1
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +1 -1
- package/lib/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +1 -1
- package/lib/form/fields/CurrencyField/CurrencyField.js +1 -1
- package/lib/form/fields/DateField/DateField.js +1 -1
- package/lib/form/fields/DateField/docs/DateField__default.docs.js +1 -1
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +1 -1
- package/lib/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +1 -1
- package/lib/form/fields/PhoneField/PhoneField.js +1 -1
- package/lib/form/fields/PhoneField/docs/PhoneField__default.docs.js +1 -1
- package/lib/form/fields/RadioField/RadioField.js +1 -1
- package/lib/form/fields/SelectField/SelectField.js +1 -1
- package/lib/form/fields/SelectField/docs/SelectField__default.docs.js +1 -1
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +1 -1
- package/lib/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +1 -1
- package/lib/form/fields/TextBoxField/TextBoxField.js +1 -1
- package/lib/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +1 -1
- package/lib/form/fields/TextEditor/TextEditor.js +1 -1
- package/lib/form/fields/TextEditorField/TextEditorField.js +1 -1
- package/lib/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +1 -1
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
- package/lib/form/fields/TextareaField/TextareaField.js +1 -1
- package/lib/form/fields/TextareaField/docs/TextareaField__default.docs.js +1 -1
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +1 -1
- package/lib/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +1 -1
- package/lib/form/layout/Field/Field.js +1 -1
- package/lib/form/layout/Field/docs/Field__default.docs.js +1 -1
- package/lib/form/layout/Section/Section.js +1 -1
- package/lib/form/layout/Section/docs/Section__default.docs.js +1 -1
- package/lib/index.js +4 -4
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +2 -2
- package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +1 -1
- package/lib/layout/SetupDetailLayout/index.js +6 -6
- package/lib/layout/SubtabLayout/SubtabLayout.js +2 -2
- package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +1 -1
- package/lib/layout/SubtabLayout/index.js +8 -8
- package/lib/list/AvatarFlip/AvatarFlip.js +1 -1
- package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +1 -1
- package/lib/list/BluePrintStatus/BluePrintStatus.js +1 -1
- package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +1 -1
- package/lib/list/Comment/Comment.js +1 -1
- package/lib/list/Comment/docs/Comment__default.docs.js +1 -1
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +1 -1
- package/lib/list/Dot/Dot.js +1 -1
- package/lib/list/DotNew/DotNew.js +1 -1
- package/lib/list/DotNew/docs/DotNew__default.docs.js +1 -1
- package/lib/list/GridStencils/GridStencils.js +1 -1
- package/lib/list/GridStencils/docs/GridStencils__default.docs.js +1 -1
- package/lib/list/Icons/AddNewIcon.js +1 -1
- package/lib/list/Icons/CompleteIcon.js +1 -1
- package/lib/list/Icons/DeleteIcon.js +1 -1
- package/lib/list/Icons/EditIcon.js +1 -1
- package/lib/list/Icons/FloatingIcons.js +1 -1
- package/lib/list/Icons/ReadUnreadIcon.js +1 -1
- package/lib/list/Icons/SmartIcon.js +1 -1
- package/lib/list/Icons/docs/FloatingIcons__default.docs.js +1 -1
- package/lib/list/ListLayout/ListLayout.js +2 -2
- package/lib/list/ListLayout/docs/ListLayout__default.docs.js +1 -1
- package/lib/list/ListStencils/ListStencils.js +1 -1
- package/lib/list/ListStencils/docs/ListStencils__default.docs.js +1 -1
- package/lib/list/SecondaryText/AccountName.js +25 -10
- package/lib/list/SecondaryText/ContactName.js +19 -7
- package/lib/list/SecondaryText/DepartmentText.js +1 -1
- package/lib/list/SecondaryText/Email.js +20 -8
- package/lib/list/SecondaryText/HappinessRating.js +1 -1
- package/lib/list/SecondaryText/PhoneNumber.js +20 -8
- package/lib/list/SecondaryText/PriorityText.js +1 -1
- package/lib/list/SecondaryText/SecondaryText.js +1 -1
- package/lib/list/SecondaryText/StatusText.js +1 -1
- package/lib/list/SecondaryText/TicketId.js +19 -7
- package/lib/list/SecondaryText/Website.js +1 -1
- package/lib/list/SecondaryText/docs/ContactName__default.docs.js +1 -1
- package/lib/list/SecondaryText/index.js +22 -22
- package/lib/list/SecondryPanel/SecondryPanel.js +2 -2
- package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +1 -1
- package/lib/list/SentimentStatus/SentimentStatus.js +1 -1
- package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +1 -1
- package/lib/list/Subject/Subject.js +19 -7
- package/lib/list/Subject/docs/Subject__default.docs.js +1 -1
- package/lib/list/TagNew/TagNew.js +1 -1
- package/lib/list/TagNew/docs/TagNew__default.docs.js +1 -1
- package/lib/list/Thread/Thread.js +1 -1
- package/lib/list/Thread/docs/Thread__default.docs.js +1 -1
- package/lib/list/UserTime/UserTime.js +1 -1
- package/lib/list/UserTime/docs/UserTime__default.docs.js +1 -1
- package/lib/list/status/StatusDropdown/StatusDropdown.js +1 -1
- package/lib/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +1 -1
- package/lib/list/status/StatusListItem/StatusListItem.js +1 -1
- package/lib/list/status/StatusListItem/docs/StatusListItem__default.docs.js +1 -1
- package/lib/lookup/EmptyPage/EmptyPage.js +1 -1
- package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +1 -1
- package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +1 -1
- package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +1 -1
- package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +1 -1
- package/lib/lookup/Lookup/Lookup.js +1 -1
- package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +1 -1
- package/lib/lookup/Lookup/docs/Lookup__default.docs.js +1 -1
- package/lib/lookup/Section/Section.js +1 -1
- package/lib/lookup/header/Close/Close.js +1 -1
- package/lib/lookup/header/Close/docs/Close__default.docs.js +1 -1
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
- package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +1 -1
- package/lib/lookup/header/Search/Search.js +1 -1
- package/lib/lookup/header/Search/docs/Search__default.docs.js +1 -1
- package/lib/lookup/header/TicketHeader/TicketHeader.js +1 -1
- package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +1 -1
- package/lib/lookup/header/Title/Title.js +1 -1
- package/lib/lookup/header/Title/docs/Title__default.docs.js +1 -1
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
- package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +1 -1
- package/lib/setup/header/Button/Button.js +1 -1
- package/lib/setup/header/Button/docs/Button__default.docs.js +1 -1
- package/lib/setup/header/Link/Link.js +1 -1
- package/lib/setup/header/Link/docs/Link__default.docs.js +1 -1
- package/lib/setup/header/Search/Search.js +1 -1
- package/lib/setup/header/Search/docs/Search__default.docs.js +1 -1
- package/lib/setup/header/Views/Views.js +1 -1
- package/lib/setup/header/Views/docs/Views__default.docs.js +1 -1
- package/lib/setup/helptips/Description/Description.js +1 -1
- package/lib/setup/helptips/Description/docs/Description__default.docs.js +1 -1
- package/lib/setup/helptips/Link/Link.js +1 -1
- package/lib/setup/helptips/Link/docs/Link__default.docs.js +1 -1
- package/lib/setup/helptips/ListGroup/ListGroup.js +1 -1
- package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +1 -1
- package/lib/setup/helptips/Title/Title.js +1 -1
- package/lib/setup/helptips/Title/docs/Title__default.docs.js +1 -1
- package/lib/setup/table/Table/Table.js +1 -1
- package/lib/setup/table/Table/docs/Table__default.docs.js +1 -1
- package/lib/setup/table/TableBody/TableBody.js +1 -1
- package/lib/setup/table/TableData/TableData.js +1 -1
- package/lib/setup/table/TableHead/TableHead.js +1 -1
- package/lib/setup/table/TableRow/TableRow.js +1 -1
- package/lib/setup/table/Text/Text.js +1 -1
- package/lib/setup/table/Text/docs/Text__default.docs.js +1 -1
- package/lib/svg/PlusIcon.js +1 -1
- package/lib/svg/SnippetIcon.js +1 -1
- package/lib/svg/TemplateIcon.js +1 -1
- package/lib/svg/docs/SVG__default.docs.js +1 -1
- package/lib/utils/ChannelIconMapping.js +1 -1
- package/lib/utils/General.js +3 -3
- package/lib/utils/editorUtils.js +6 -6
- package/lib/version2/AlertClose/AlertClose.js +1 -1
- package/lib/version2/AlertClose/docs/AlertClose__default.docs.js +1 -1
- package/lib/version2/GlobalNotification/GlobalNotification.js +2 -2
- package/lib/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +1 -1
- package/lib/version2/alertIcons/AlarmAlertIcon.js +1 -1
- package/lib/version2/alertIcons/AlertIcons.js +1 -1
- package/lib/version2/alertIcons/DangerAlertIcon.js +1 -1
- package/lib/version2/alertIcons/ErrorAlertIcon.js +1 -1
- package/lib/version2/alertIcons/InfoAlertIcon.js +1 -1
- package/lib/version2/alertIcons/NotificationAlertIcon.js +1 -1
- package/lib/version2/alertIcons/SuccessAlertIcon.js +1 -1
- package/lib/version2/alertIcons/WarningAlertIcon.js +1 -1
- package/lib/version2/alertIcons/docs/AlertIcons__default.docs.js +1 -1
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/lib/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +1 -1
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +1 -1
- package/lib/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +1 -1
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +1 -1
- package/lib/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +1 -1
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -1
- package/lib/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +1 -1
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +1 -1
- package/lib/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +1 -1
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +1 -1
- package/lib/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +1 -1
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +1 -1
- package/lib/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +1 -1
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +1 -1
- package/lib/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +1 -1
- package/lib/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +1 -1
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -1
- package/lib/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +1 -1
- package/package.json +1 -1
- package/src/ExternalLink/ExternalLink.js +8 -3
- package/src/Link/Link.js +7 -3
- package/src/list/SecondaryText/AccountName.js +13 -3
- package/src/list/SecondaryText/ContactName.js +11 -2
- package/src/list/SecondaryText/Email.js +12 -3
- package/src/list/SecondaryText/PhoneNumber.js +12 -3
- package/src/list/SecondaryText/TicketId.js +12 -3
- package/src/list/Subject/Subject.js +12 -4
|
@@ -29,7 +29,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
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
|
|
|
32
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
32
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
33
33
|
|
|
34
34
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
35
35
|
|
|
@@ -35,7 +35,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
35
35
|
|
|
36
36
|
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); }; }
|
|
37
37
|
|
|
38
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
38
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
39
39
|
|
|
40
40
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
41
41
|
|
|
@@ -27,7 +27,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
27
27
|
|
|
28
28
|
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); }; }
|
|
29
29
|
|
|
30
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
30
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
31
31
|
|
|
32
32
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
33
33
|
|
|
@@ -35,7 +35,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
35
35
|
|
|
36
36
|
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); }; }
|
|
37
37
|
|
|
38
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
38
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
39
39
|
|
|
40
40
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
41
41
|
|
|
@@ -27,7 +27,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
27
27
|
|
|
28
28
|
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); }; }
|
|
29
29
|
|
|
30
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
30
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
31
31
|
|
|
32
32
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
33
33
|
|
|
@@ -35,7 +35,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
35
35
|
|
|
36
36
|
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); }; }
|
|
37
37
|
|
|
38
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
38
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
39
39
|
|
|
40
40
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
41
41
|
|
package/lib/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js
CHANGED
|
@@ -27,7 +27,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
27
27
|
|
|
28
28
|
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); }; }
|
|
29
29
|
|
|
30
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
30
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
31
31
|
|
|
32
32
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
33
33
|
|
|
@@ -35,7 +35,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
35
35
|
|
|
36
36
|
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); }; }
|
|
37
37
|
|
|
38
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
38
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
39
39
|
|
|
40
40
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
41
41
|
|
|
@@ -27,7 +27,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
27
27
|
|
|
28
28
|
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); }; }
|
|
29
29
|
|
|
30
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
30
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
31
31
|
|
|
32
32
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
33
33
|
|
|
@@ -35,7 +35,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
35
35
|
|
|
36
36
|
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); }; }
|
|
37
37
|
|
|
38
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
38
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
39
39
|
|
|
40
40
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
41
41
|
|
|
@@ -27,7 +27,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
27
27
|
|
|
28
28
|
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); }; }
|
|
29
29
|
|
|
30
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
30
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
31
31
|
|
|
32
32
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
33
33
|
|
|
@@ -35,7 +35,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
35
35
|
|
|
36
36
|
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); }; }
|
|
37
37
|
|
|
38
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
38
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
39
39
|
|
|
40
40
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
41
41
|
|
|
@@ -27,7 +27,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
27
27
|
|
|
28
28
|
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); }; }
|
|
29
29
|
|
|
30
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
30
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
31
31
|
|
|
32
32
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
33
33
|
|
|
@@ -37,7 +37,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
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
|
|
|
40
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
40
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
41
41
|
|
|
42
42
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
43
43
|
|
|
@@ -29,7 +29,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
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
|
|
|
32
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
32
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
33
33
|
|
|
34
34
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
35
35
|
|
|
@@ -47,7 +47,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
47
47
|
|
|
48
48
|
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); }; }
|
|
49
49
|
|
|
50
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
50
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
51
51
|
|
|
52
52
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
53
53
|
|
|
@@ -31,7 +31,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
31
31
|
|
|
32
32
|
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); }; }
|
|
33
33
|
|
|
34
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
34
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
35
35
|
|
|
36
36
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
37
37
|
|
package/lib/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js
CHANGED
|
@@ -31,7 +31,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
31
31
|
|
|
32
32
|
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); }; }
|
|
33
33
|
|
|
34
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
34
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
35
35
|
|
|
36
36
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
37
37
|
|
|
@@ -37,7 +37,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
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
|
|
|
40
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
40
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
41
41
|
|
|
42
42
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
43
43
|
|
|
@@ -33,7 +33,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
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
|
|
|
36
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
36
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
37
37
|
|
|
38
38
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
39
39
|
|
package/package.json
CHANGED
|
@@ -25,12 +25,14 @@ export default class ExternalLink extends React.Component {
|
|
|
25
25
|
children,
|
|
26
26
|
rel,
|
|
27
27
|
dataId,
|
|
28
|
-
onClick
|
|
28
|
+
onClick,
|
|
29
|
+
customProps
|
|
29
30
|
} = this.props;
|
|
30
31
|
const urlOutput =
|
|
31
32
|
href && typeof href !== 'boolean'
|
|
32
33
|
? this.addHttp(String(href))
|
|
33
34
|
: 'javascript:void(0);';
|
|
35
|
+
|
|
34
36
|
return (
|
|
35
37
|
<a
|
|
36
38
|
href={urlOutput}
|
|
@@ -40,6 +42,7 @@ export default class ExternalLink extends React.Component {
|
|
|
40
42
|
rel={rel}
|
|
41
43
|
data-id={dataId}
|
|
42
44
|
onClick={onClick}
|
|
45
|
+
{...customProps}
|
|
43
46
|
>
|
|
44
47
|
{children}
|
|
45
48
|
</a>
|
|
@@ -49,7 +52,8 @@ export default class ExternalLink extends React.Component {
|
|
|
49
52
|
|
|
50
53
|
ExternalLink.defaultProps = {
|
|
51
54
|
rel: 'noopener noreferrer',
|
|
52
|
-
target: '_blank'
|
|
55
|
+
target: '_blank',
|
|
56
|
+
customProps:{}
|
|
53
57
|
};
|
|
54
58
|
|
|
55
59
|
ExternalLink.propTypes = {
|
|
@@ -60,7 +64,8 @@ ExternalLink.propTypes = {
|
|
|
60
64
|
rel: PropTypes.string,
|
|
61
65
|
target: PropTypes.oneOf(['_blank', '_self']),
|
|
62
66
|
title: PropTypes.string,
|
|
63
|
-
onClick: PropTypes.func
|
|
67
|
+
onClick: PropTypes.func,
|
|
68
|
+
customProps:PropTypes.object
|
|
64
69
|
};
|
|
65
70
|
|
|
66
71
|
if (__DOCS__) {
|
package/src/Link/Link.js
CHANGED
|
@@ -44,7 +44,8 @@ export default class Link extends React.Component {
|
|
|
44
44
|
title,
|
|
45
45
|
download,
|
|
46
46
|
rel,
|
|
47
|
-
dataId
|
|
47
|
+
dataId,
|
|
48
|
+
customProps
|
|
48
49
|
} = this.props;
|
|
49
50
|
let { isLink, constructURL } = this.context.options;
|
|
50
51
|
let urlOutput = href ? href : constructURL(urlName, urlData);
|
|
@@ -84,6 +85,7 @@ export default class Link extends React.Component {
|
|
|
84
85
|
data-id={dataId}
|
|
85
86
|
{...others}
|
|
86
87
|
onClick={this.onCallBack.bind(this, urlOutput, href)}
|
|
88
|
+
{...customProps}
|
|
87
89
|
>
|
|
88
90
|
{children}
|
|
89
91
|
</a>
|
|
@@ -95,7 +97,8 @@ Link.contextType = LinkContext;
|
|
|
95
97
|
|
|
96
98
|
Link.defaultProps = {
|
|
97
99
|
rel: 'noopener noreferrer',
|
|
98
|
-
hasReload: false
|
|
100
|
+
hasReload: false,
|
|
101
|
+
customProps:{}
|
|
99
102
|
};
|
|
100
103
|
Link.propTypes = {
|
|
101
104
|
children: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
@@ -107,7 +110,8 @@ Link.propTypes = {
|
|
|
107
110
|
target: PropTypes.oneOf(['_blank', '_self']),
|
|
108
111
|
title: PropTypes.string,
|
|
109
112
|
urlData: PropTypes.object,
|
|
110
|
-
urlName: PropTypes.string
|
|
113
|
+
urlName: PropTypes.string,
|
|
114
|
+
customProps:PropTypes.object
|
|
111
115
|
};
|
|
112
116
|
|
|
113
117
|
if (__DOCS__) {
|
|
@@ -26,8 +26,10 @@ export default class AccountName extends Component {
|
|
|
26
26
|
fontWeight,
|
|
27
27
|
secondaryAccountHref,
|
|
28
28
|
secondaryAccountClick,
|
|
29
|
-
secondaryAccountText
|
|
29
|
+
secondaryAccountText,
|
|
30
|
+
customProps
|
|
30
31
|
} = this.props;
|
|
32
|
+
let {LinkProps={}, TextProps={},SecondaryTextProps={}}=customProps;
|
|
31
33
|
return (
|
|
32
34
|
<Container
|
|
33
35
|
alignBox='row'
|
|
@@ -52,7 +54,7 @@ export default class AccountName extends Component {
|
|
|
52
54
|
onClick={onClick}
|
|
53
55
|
dataId={`${dataId}_link`}
|
|
54
56
|
className={style.link}
|
|
55
|
-
|
|
57
|
+
{...LinkProps}
|
|
56
58
|
>
|
|
57
59
|
<div className={`${style.textStyle} ${
|
|
58
60
|
style[`font_${fontWeight}`]
|
|
@@ -65,6 +67,7 @@ export default class AccountName extends Component {
|
|
|
65
67
|
} ${
|
|
66
68
|
className ? className : ''
|
|
67
69
|
} ${notAccessible ? style.disable : ''}`}
|
|
70
|
+
{...TextProps}
|
|
68
71
|
>
|
|
69
72
|
{text}
|
|
70
73
|
</div>
|
|
@@ -80,7 +83,8 @@ export default class AccountName extends Component {
|
|
|
80
83
|
>
|
|
81
84
|
<div className={`${style.textStyle} ${
|
|
82
85
|
style[`font_${fontWeight}`]
|
|
83
|
-
} ${className ? className : ''}`}
|
|
86
|
+
} ${className ? className : ''}`} {...SecondaryTextProps}>
|
|
87
|
+
{secondaryAccountText}</div>
|
|
84
88
|
</Link>
|
|
85
89
|
</Box>
|
|
86
90
|
)
|
|
@@ -106,11 +110,17 @@ AccountName.propTypes = {
|
|
|
106
110
|
secondaryAccountHref: PropTypes.string,
|
|
107
111
|
secondaryAccountClick: PropTypes.func,
|
|
108
112
|
secondaryAccountText: PropTypes.string,
|
|
113
|
+
customProps:PropTypes.shape({
|
|
114
|
+
LinkProps:PropTypes.object,
|
|
115
|
+
TextProps:PropTypes.object,
|
|
116
|
+
SecondaryTextProps:PropTypes.object
|
|
117
|
+
})
|
|
109
118
|
};
|
|
110
119
|
AccountName.defaultProps = {
|
|
111
120
|
isLink: true,
|
|
112
121
|
dataId: 'accountName',
|
|
113
122
|
fontWeight: 'regular',
|
|
123
|
+
customProps:{}
|
|
114
124
|
};
|
|
115
125
|
if (__DOCS__) {
|
|
116
126
|
AccountName.docs = {
|
|
@@ -22,7 +22,8 @@ export default class ContactName extends Component {
|
|
|
22
22
|
href,
|
|
23
23
|
notAccessible = false,
|
|
24
24
|
fontWeight,
|
|
25
|
-
i18nKeys
|
|
25
|
+
i18nKeys,
|
|
26
|
+
customProps
|
|
26
27
|
} = this.props;
|
|
27
28
|
let {
|
|
28
29
|
sentimentTitles = {
|
|
@@ -33,6 +34,7 @@ export default class ContactName extends Component {
|
|
|
33
34
|
paidTitle = 'Paid User'
|
|
34
35
|
} = i18nKeys;
|
|
35
36
|
let sentimentDataTitle = sentimentTitles[sentimentType];
|
|
37
|
+
let {LinkProps={}, TextProps={}}=customProps;
|
|
36
38
|
return (
|
|
37
39
|
<Container
|
|
38
40
|
alignBox='row'
|
|
@@ -55,6 +57,7 @@ export default class ContactName extends Component {
|
|
|
55
57
|
title={dataTitle}
|
|
56
58
|
dataId={`${dataId}_link`}
|
|
57
59
|
className={style.link}
|
|
60
|
+
{...LinkProps}
|
|
58
61
|
>
|
|
59
62
|
<div
|
|
60
63
|
className={`${style.textStyle} ${style[`font_${fontWeight}`]} ${
|
|
@@ -72,6 +75,7 @@ export default class ContactName extends Component {
|
|
|
72
75
|
notAccessible ? style.disable : ''
|
|
73
76
|
}`}
|
|
74
77
|
data-title={dataTitle}
|
|
78
|
+
{...TextProps}
|
|
75
79
|
>
|
|
76
80
|
{text}
|
|
77
81
|
</div>
|
|
@@ -111,6 +115,10 @@ ContactName.propTypes = {
|
|
|
111
115
|
neutral: PropTypes.string
|
|
112
116
|
}),
|
|
113
117
|
paidTitle: PropTypes.string
|
|
118
|
+
}),
|
|
119
|
+
customProps:PropTypes.shape({
|
|
120
|
+
LinkProps:PropTypes.object,
|
|
121
|
+
TextProps:PropTypes.object
|
|
114
122
|
})
|
|
115
123
|
};
|
|
116
124
|
ContactName.defaultProps = {
|
|
@@ -118,7 +126,8 @@ ContactName.defaultProps = {
|
|
|
118
126
|
isLink: true,
|
|
119
127
|
dataId: 'contactName',
|
|
120
128
|
fontWeight: 'regular',
|
|
121
|
-
i18nKeys: {}
|
|
129
|
+
i18nKeys: {},
|
|
130
|
+
customProps:{}
|
|
122
131
|
};
|
|
123
132
|
if (__DOCS__) {
|
|
124
133
|
ContactName.docs = {
|
|
@@ -20,8 +20,10 @@ export default class Email extends Component {
|
|
|
20
20
|
href,
|
|
21
21
|
isLink,
|
|
22
22
|
target,
|
|
23
|
-
fontWeight
|
|
23
|
+
fontWeight,
|
|
24
|
+
customProps
|
|
24
25
|
} = this.props;
|
|
26
|
+
let {LinkProps={},TextProps={}}=customProps;
|
|
25
27
|
return (
|
|
26
28
|
<React.Fragment>
|
|
27
29
|
{isLink ? (
|
|
@@ -32,6 +34,7 @@ export default class Email extends Component {
|
|
|
32
34
|
urlName={urlName}
|
|
33
35
|
target={target}
|
|
34
36
|
className={style.link}
|
|
37
|
+
{...LinkProps}
|
|
35
38
|
>
|
|
36
39
|
<div className={`${style.textStyle} ${
|
|
37
40
|
style[`font_${fontWeight}`]
|
|
@@ -43,6 +46,7 @@ export default class Email extends Component {
|
|
|
43
46
|
style[`font_${fontWeight}`]
|
|
44
47
|
} ${className ? className : ''}`}
|
|
45
48
|
data-title={title}
|
|
49
|
+
{...TextProps}
|
|
46
50
|
>
|
|
47
51
|
{text}
|
|
48
52
|
</div>
|
|
@@ -61,12 +65,17 @@ Email.propTypes = {
|
|
|
61
65
|
text: PropTypes.string,
|
|
62
66
|
title: PropTypes.string,
|
|
63
67
|
urlData: PropTypes.object,
|
|
64
|
-
urlName: PropTypes.string
|
|
68
|
+
urlName: PropTypes.string,
|
|
69
|
+
customProps:PropTypes.shape({
|
|
70
|
+
LinkProps:PropTypes.object,
|
|
71
|
+
TextProps:PropTypes.object
|
|
72
|
+
})
|
|
65
73
|
};
|
|
66
74
|
|
|
67
75
|
Email.defaultProps = {
|
|
68
76
|
isLink: true,
|
|
69
|
-
fontWeight: 'regular'
|
|
77
|
+
fontWeight: 'regular',
|
|
78
|
+
customProps:{}
|
|
70
79
|
};
|
|
71
80
|
|
|
72
81
|
if (__DOCS__) {
|
|
@@ -22,8 +22,10 @@ export default class PhoneNumber extends Component {
|
|
|
22
22
|
isLink,
|
|
23
23
|
target,
|
|
24
24
|
hasReload,
|
|
25
|
-
fontWeight
|
|
25
|
+
fontWeight,
|
|
26
|
+
customProps
|
|
26
27
|
} = this.props;
|
|
28
|
+
let {LinkProps={}, TextProps={}}=customProps;
|
|
27
29
|
return (
|
|
28
30
|
<React.Fragment>
|
|
29
31
|
{isLink ? (
|
|
@@ -36,6 +38,7 @@ export default class PhoneNumber extends Component {
|
|
|
36
38
|
target={target}
|
|
37
39
|
hasReload={hasReload}
|
|
38
40
|
className={style.link}
|
|
41
|
+
{...LinkProps}
|
|
39
42
|
>
|
|
40
43
|
<div className={`${style.phoneNumber} ${
|
|
41
44
|
style[`font_${fontWeight}`]
|
|
@@ -47,6 +50,7 @@ export default class PhoneNumber extends Component {
|
|
|
47
50
|
style[`font_${fontWeight}`]
|
|
48
51
|
} ${className ? className : ''}`}
|
|
49
52
|
data-title={title}
|
|
53
|
+
{...TextProps}
|
|
50
54
|
>
|
|
51
55
|
{text}
|
|
52
56
|
</div>
|
|
@@ -67,13 +71,18 @@ PhoneNumber.propTypes = {
|
|
|
67
71
|
text: PropTypes.string,
|
|
68
72
|
title: PropTypes.string,
|
|
69
73
|
urlData: PropTypes.object,
|
|
70
|
-
urlName: PropTypes.string
|
|
74
|
+
urlName: PropTypes.string,
|
|
75
|
+
customProps:PropTypes.shape({
|
|
76
|
+
LinkProps:PropTypes.object,
|
|
77
|
+
TextProps:PropTypes.object
|
|
78
|
+
})
|
|
71
79
|
};
|
|
72
80
|
|
|
73
81
|
PhoneNumber.defaultProps = {
|
|
74
82
|
isLink: true,
|
|
75
83
|
hasReload: false,
|
|
76
|
-
fontWeight: 'regular'
|
|
84
|
+
fontWeight: 'regular',
|
|
85
|
+
customProps:{}
|
|
77
86
|
};
|
|
78
87
|
|
|
79
88
|
if (__DOCS__) {
|
|
@@ -18,8 +18,10 @@ export default class TicketId extends Component {
|
|
|
18
18
|
url,
|
|
19
19
|
target,
|
|
20
20
|
urlName,
|
|
21
|
-
urlData
|
|
21
|
+
urlData,
|
|
22
|
+
customProps
|
|
22
23
|
} = this.props;
|
|
24
|
+
let {LinkProps={},TicketIdProps={}}=customProps;
|
|
23
25
|
return (
|
|
24
26
|
<div
|
|
25
27
|
className={`${style.ticketId} ${isLink ? style.ticketIdLink : ''} ${
|
|
@@ -28,6 +30,7 @@ export default class TicketId extends Component {
|
|
|
28
30
|
data-id={dataId}
|
|
29
31
|
data-title={dataTitle}
|
|
30
32
|
onClick={!isLink && onClick}
|
|
33
|
+
{...TicketIdProps}
|
|
31
34
|
>
|
|
32
35
|
{isLink ? (
|
|
33
36
|
<Link
|
|
@@ -36,6 +39,7 @@ export default class TicketId extends Component {
|
|
|
36
39
|
href={url}
|
|
37
40
|
target={target}
|
|
38
41
|
onClick={onClick}
|
|
42
|
+
{...LinkProps}
|
|
39
43
|
>
|
|
40
44
|
{text}
|
|
41
45
|
</Link>
|
|
@@ -56,10 +60,15 @@ TicketId.propTypes = {
|
|
|
56
60
|
text: PropTypes.string,
|
|
57
61
|
url: PropTypes.string,
|
|
58
62
|
urlData: PropTypes.string,
|
|
59
|
-
urlName: PropTypes.string
|
|
63
|
+
urlName: PropTypes.string,
|
|
64
|
+
customProps:PropTypes.shape({
|
|
65
|
+
TicketIdProps:PropTypes.object,
|
|
66
|
+
LinkProps:PropTypes.object
|
|
67
|
+
})
|
|
60
68
|
};
|
|
61
69
|
TicketId.defaultProps = {
|
|
62
|
-
dataId: 'ticketId'
|
|
70
|
+
dataId: 'ticketId',
|
|
71
|
+
customProps:{}
|
|
63
72
|
};
|
|
64
73
|
if (__DOCS__) {
|
|
65
74
|
TicketId.docs = {
|
|
@@ -21,8 +21,10 @@ export default class Subject extends Component {
|
|
|
21
21
|
fontWeight,
|
|
22
22
|
className,
|
|
23
23
|
isDotted,
|
|
24
|
-
children
|
|
24
|
+
children,
|
|
25
|
+
customProps
|
|
25
26
|
} = this.props;
|
|
27
|
+
let {LinkProps={},TextProps={}}=customProps;
|
|
26
28
|
return (
|
|
27
29
|
<React.Fragment>
|
|
28
30
|
{isLink ? (
|
|
@@ -35,7 +37,7 @@ export default class Subject extends Component {
|
|
|
35
37
|
dataId={dataId}
|
|
36
38
|
title={text}
|
|
37
39
|
target={target}
|
|
38
|
-
|
|
40
|
+
{...LinkProps}
|
|
39
41
|
>
|
|
40
42
|
{children? children:text}
|
|
41
43
|
</Link>
|
|
@@ -44,6 +46,7 @@ export default class Subject extends Component {
|
|
|
44
46
|
className={`${style.subject} ${isDotted ? style.dotted : ''} ${className} ${style[`font_${ fontWeight}`]}`}
|
|
45
47
|
data-title={text}
|
|
46
48
|
data-id={dataId}
|
|
49
|
+
{...TextProps}
|
|
47
50
|
>
|
|
48
51
|
{text}
|
|
49
52
|
</span>
|
|
@@ -64,13 +67,18 @@ Subject.propTypes = {
|
|
|
64
67
|
urlData: PropTypes.object,
|
|
65
68
|
urlName: PropTypes.string,
|
|
66
69
|
isDotted: PropTypes.bool,
|
|
67
|
-
children:PropTypes.node
|
|
70
|
+
children:PropTypes.node,
|
|
71
|
+
customProps:PropTypes.shape({
|
|
72
|
+
LinkProps:PropTypes.object,
|
|
73
|
+
TextProps:PropTypes.object
|
|
74
|
+
})
|
|
68
75
|
};
|
|
69
76
|
Subject.defaultProps = {
|
|
70
77
|
isLink: false,
|
|
71
78
|
fontWeight: 'regular',
|
|
72
79
|
className: '',
|
|
73
|
-
isDotted: true
|
|
80
|
+
isDotted: true,
|
|
81
|
+
customProps:{}
|
|
74
82
|
};
|
|
75
83
|
if (__DOCS__) {
|
|
76
84
|
Subject.docs = {
|