@zohodesk/dot 1.2.4 → 1.3.0-temp-158
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cli/PropLessFiles.html +1 -1
- package/.cli/PropValidationExcludeFilesArray.js +1 -1
- package/.cli/propValidation_report.html +1 -1
- package/README.md +20 -9
- package/assets/Appearance/dark/themes/blue/blue_DotTheme_DarkTheme.module.css +1 -1
- package/assets/Appearance/dark/themes/green/green_DotTheme_DarkTheme.module.css +1 -1
- package/assets/Appearance/dark/themes/orange/orange_DotTheme_DarkTheme.module.css +1 -1
- package/assets/Appearance/dark/themes/red/red_DotTheme_DarkTheme.module.css +1 -1
- package/assets/Appearance/dark/themes/yellow/yellow_DotTheme_DarkTheme.module.css +1 -1
- package/assets/Appearance/light/themes/blue/blue_DotTheme_LightTheme.module.css +1 -1
- package/assets/Appearance/light/themes/green/green_DotTheme_LightTheme.module.css +1 -1
- package/assets/Appearance/light/themes/orange/orange_DotTheme_LightTheme.module.css +1 -1
- package/assets/Appearance/light/themes/red/red_DotTheme_LightTheme.module.css +1 -1
- package/assets/Appearance/light/themes/yellow/yellow_DotTheme_LightTheme.module.css +1 -1
- package/assets/Appearance/pureDark/themes/blue/blue_DotTheme_PureDarkTheme.module.css +1 -1
- package/assets/Appearance/pureDark/themes/green/green_DotTheme_PureDarkTheme.module.css +1 -1
- package/assets/Appearance/pureDark/themes/orange/orange_DotTheme_PureDarkTheme.module.css +1 -1
- package/assets/Appearance/pureDark/themes/red/red_DotTheme_PureDarkTheme.module.css +1 -1
- package/assets/Appearance/pureDark/themes/yellow/yellow_DotTheme_PureDarkTheme.module.css +1 -1
- package/coverage/ExternalLink/ExternalLink.js.html +1 -1
- package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
- package/coverage/ExternalLink/index.html +1 -1
- package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
- package/coverage/ExternalLink/props/index.html +1 -1
- package/coverage/ExternalLink/props/propTypes.js.html +1 -1
- package/coverage/IconButton/IconButton.js.html +466 -0
- package/coverage/IconButton/IconButton.module.css.html +151 -0
- package/coverage/IconButton/index.html +131 -0
- package/coverage/IconButton/props/defaultProps.js.html +136 -0
- package/coverage/IconButton/props/index.html +131 -0
- package/coverage/IconButton/props/propTypes.js.html +187 -0
- package/coverage/Image/Image.js.html +1 -1
- package/coverage/Image/Image.module.css.html +1 -1
- package/coverage/Image/index.html +1 -1
- package/coverage/Image/props/defaultProps.js.html +1 -1
- package/coverage/Image/props/index.html +1 -1
- package/coverage/Image/props/propTypes.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
- package/coverage/avatar/AvatarWithTeam/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
- package/coverage/coverage-final.json +16 -12
- package/coverage/coverage-summary.json +17 -13
- package/coverage/index.html +40 -10
- package/es/Drawer/Drawer.js +3 -2
- package/es/IconButton/__tests__/IconButton.spec.js +148 -0
- package/es/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +316 -0
- package/es/form/fields/FieldContainer/props/propTypes.js +1 -1
- package/es/v1/ActionButton/ActionButton.js +11 -8
- package/es/v1/AlphabeticList/AlphabeticList.js +7 -3
- package/es/v1/Attachment/Attachment.js +79 -76
- package/es/v1/AttachmentViewer/AttachmentImage.js +44 -63
- package/es/v1/AttachmentViewer/AttachmentViewer.js +4 -4
- package/es/v1/ChannelIcon/ChannelIcon.js +1 -1
- package/es/v1/Drawer/Drawer.js +6 -6
- package/es/v1/FlipCard/FlipCard.js +4 -4
- package/es/v1/FormAction/FormAction.js +1 -1
- package/es/v1/FreezeLayer/FreezeLayer.js +3 -3
- package/es/v1/{version2/GlobalNotification → GlobalNotification}/GlobalNotification.js +7 -7
- package/es/v1/IconButton/IconButton.js +3 -3
- package/es/v1/Image/Image.js +26 -33
- package/es/v1/ImportantNotes/ImportantNotes.js +1 -1
- package/es/v1/Loader/Loader.js +12 -18
- package/es/v1/MessageBanner/MessageBanner.js +1 -1
- package/es/v1/NewStar/NewStar.js +1 -1
- package/es/v1/Separator/Separator.js +41 -48
- package/es/v1/TagWithIcon/TagWithIcon.js +1 -1
- package/es/v1/ToastMessage/ToastMessage.js +4 -4
- package/es/v1/Upload/Upload.js +60 -67
- package/es/v1/{version2 → alert}/AlertClose/AlertClose.js +1 -1
- package/es/v1/alert/AlertHeader/AlertHeader.js +58 -49
- package/es/v1/alert/AlertLookup/AlertLookup.js +101 -41
- package/es/v1/avatar/AvatarClose/AvatarClose.js +1 -1
- package/es/v1/avatar/AvatarCollision/AvatarCollision.js +1 -1
- package/es/v1/avatar/AvatarIcon/AvatarIcon.js +2 -2
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +1 -1
- package/es/v1/avatar/AvatarThread/AvatarThread.js +1 -1
- package/es/v1/avatar/AvatarUser/AvatarUser.js +1 -1
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +18 -15
- package/es/v1/errorstate/Inconvenience/Inconvenience.js +53 -80
- package/es/v1/{version2/errorstate → errorstate}/OopsSomethingMiss/OopsSomethingMiss.js +6 -6
- package/es/v1/{version2/errorstate → errorstate}/UnableToProcessRequest/UnableToProcessRequest.js +6 -6
- package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +54 -73
- package/es/v1/{version2/errorstate → errorstate}/UrlNotFound/UrlNotFound.js +6 -6
- package/es/v1/{version2/errorstate → errorstate}/WillBeRightBack/WillBeRightBack.js +6 -6
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +102 -118
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +129 -155
- package/es/v1/form/fields/DateField/DateField.js +132 -163
- package/es/v1/form/fields/FieldContainer/FieldContainer.js +52 -57
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +144 -168
- package/es/v1/form/fields/PhoneField/PhoneField.js +129 -157
- package/es/v1/form/fields/RadioField/RadioField.js +91 -99
- package/es/v1/form/fields/SelectField/SelectField.js +141 -156
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +8 -8
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +8 -5
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +3 -3
- package/es/v1/form/fields/TextEditor/TextEditor.js +1 -1
- package/es/v1/form/fields/TextEditorField/TextEditorField.js +1 -1
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +3 -3
- package/es/v1/form/fields/TextareaField/TextareaField.js +3 -3
- package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +155 -198
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +110 -126
- package/es/v1/list/AvatarFlip/AvatarFlip.js +61 -64
- package/es/v1/list/BluePrintStatus/BluePrintStatus.js +11 -18
- package/es/v1/list/Comment/Comment.js +25 -32
- package/es/v1/list/DepartmentDropDown/DepartmentDropDown.js +57 -72
- package/es/v1/list/Dot/Dot.js +9 -16
- package/es/v1/list/DotNew/DotNew.js +11 -18
- package/es/v1/list/GridStencils/GridStencils.js +21 -24
- package/es/v1/list/Icons/AddNewIcon.js +19 -22
- package/es/v1/list/Icons/CompleteIcon.js +21 -24
- package/es/v1/list/Icons/DeleteIcon.js +22 -25
- package/es/v1/list/Icons/EditIcon.js +22 -25
- package/es/v1/list/Icons/FloatingIcons.js +12 -19
- package/es/v1/list/Icons/ReadUnreadIcon.js +24 -27
- package/es/v1/list/Icons/SmartIcon.js +20 -23
- package/es/v1/list/ListLayout/ListLayout.js +54 -68
- package/es/v1/list/ListStencils/ListStencils.js +28 -31
- package/es/v1/list/SecondaryText/AccountName.js +1 -1
- package/es/v1/list/SecondaryText/ContactName.js +1 -1
- package/es/v1/list/SecondryPanel/SecondryPanel.js +1 -2
- package/es/v1/list/Thread/Thread.js +1 -1
- package/es/v1/list/UserTime/UserTime.js +1 -1
- package/es/v1/list/status/StatusDropdown/StatusDropdown.js +266 -357
- package/es/v1/list/status/StatusListItem/StatusListItem.js +77 -102
- package/es/v1/lookup/EmptyPage/EmptyPage.js +15 -26
- package/es/v1/lookup/Lookup/Lookup.js +4 -3
- package/es/v1/lookup/Section/Section.js +15 -21
- package/es/v1/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
- package/es/v1/lookup/header/Search/Search.js +3 -3
- package/es/v1/lookup/header/TicketHeader/TicketHeader.js +1 -1
- package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +10 -9
- package/es/v1/{version2/notification → notification}/DesktopNotification/DesktopNotification.js +6 -6
- package/es/v1/{version2/notification → notification}/DesktopNotificationHeader/DesktopNotificationHeader.js +6 -6
- package/es/v1/setup/header/Button/Button.js +1 -1
- package/es/v1/setup/header/Link/Link.js +1 -1
- package/es/v1/setup/header/Search/Search.js +1 -1
- package/es/v1/setup/table/Table/Table.js +1 -1
- package/es/v1/setup/table/TableBody/TableBody.js +1 -1
- package/es/v1/setup/table/TableData/TableData.js +1 -1
- package/es/v1/setup/table/TableHead/TableHead.js +1 -1
- package/es/v1/setup/table/TableRow/TableRow.js +1 -1
- package/es/v1/svg/PlusIcon.js +20 -27
- package/es/v1/svg/SnippetIcon.js +22 -29
- package/es/v1/svg/TemplateIcon.js +23 -30
- package/lib/Drawer/Drawer.js +3 -2
- package/lib/IconButton/__tests__/IconButton.spec.js +156 -0
- package/lib/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +316 -0
- package/lib/form/fields/FieldContainer/props/propTypes.js +1 -1
- package/lib/v1/ActionButton/ActionButton.js +11 -9
- package/lib/v1/AlphabeticList/AlphabeticList.js +8 -6
- package/lib/v1/Attachment/Attachment.js +78 -113
- package/lib/v1/AttachmentViewer/AttachmentImage.js +61 -96
- package/lib/v1/AttachmentViewer/AttachmentViewer.js +4 -4
- package/lib/v1/ChannelIcon/ChannelIcon.js +1 -1
- package/lib/v1/Drawer/Drawer.js +6 -6
- package/lib/v1/FlipCard/FlipCard.js +4 -4
- package/lib/v1/FormAction/FormAction.js +1 -1
- package/lib/v1/FreezeLayer/FreezeLayer.js +3 -3
- package/lib/v1/{version2/GlobalNotification → GlobalNotification}/GlobalNotification.js +7 -7
- package/lib/v1/IconButton/IconButton.js +3 -3
- package/lib/v1/Image/Image.js +26 -71
- package/lib/v1/ImportantNotes/ImportantNotes.js +1 -1
- package/lib/v1/Loader/Loader.js +13 -56
- package/lib/v1/MessageBanner/MessageBanner.js +1 -1
- package/lib/v1/NewStar/NewStar.js +1 -1
- package/lib/v1/Separator/Separator.js +45 -86
- package/lib/v1/TagWithIcon/TagWithIcon.js +1 -1
- package/lib/v1/ToastMessage/ToastMessage.js +4 -4
- package/lib/v1/Upload/Upload.js +59 -104
- package/lib/v1/{version2 → alert}/AlertClose/AlertClose.js +1 -1
- package/lib/v1/alert/AlertHeader/AlertHeader.js +68 -50
- package/lib/v1/alert/AlertLookup/AlertLookup.js +109 -42
- package/lib/v1/avatar/AvatarClose/AvatarClose.js +1 -1
- package/lib/v1/avatar/AvatarCollision/AvatarCollision.js +1 -1
- package/lib/v1/avatar/AvatarIcon/AvatarIcon.js +2 -2
- package/lib/v1/avatar/AvatarStatus/AvatarStatus.js +1 -1
- package/lib/v1/avatar/AvatarThread/AvatarThread.js +1 -1
- package/lib/v1/avatar/AvatarUser/AvatarUser.js +1 -1
- package/lib/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
- package/lib/v1/dropdown/ToggleDropDown/ToggleDropDown.js +18 -16
- package/lib/v1/errorstate/Inconvenience/Inconvenience.js +53 -115
- package/lib/v1/{version2/errorstate → errorstate}/OopsSomethingMiss/OopsSomethingMiss.js +6 -6
- package/lib/v1/{version2/errorstate → errorstate}/UnableToProcessRequest/UnableToProcessRequest.js +6 -6
- package/lib/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +54 -108
- package/lib/v1/{version2/errorstate → errorstate}/UrlNotFound/UrlNotFound.js +6 -6
- package/lib/v1/{version2/errorstate → errorstate}/WillBeRightBack/WillBeRightBack.js +6 -6
- package/lib/v1/form/fields/CheckBoxField/CheckBoxField.js +108 -160
- package/lib/v1/form/fields/CurrencyField/CurrencyField.js +153 -194
- package/lib/v1/form/fields/DateField/DateField.js +141 -207
- package/lib/v1/form/fields/FieldContainer/FieldContainer.js +60 -91
- package/lib/v1/form/fields/MultiSelectField/MultiSelectField.js +169 -229
- package/lib/v1/form/fields/PhoneField/PhoneField.js +151 -194
- package/lib/v1/form/fields/RadioField/RadioField.js +93 -139
- package/lib/v1/form/fields/SelectField/SelectField.js +152 -203
- package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +8 -8
- package/lib/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -8
- package/lib/v1/form/fields/TextBoxField/TextBoxField.js +3 -3
- package/lib/v1/form/fields/TextEditor/TextEditor.js +1 -1
- package/lib/v1/form/fields/TextEditorField/TextEditorField.js +1 -1
- package/lib/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +3 -3
- package/lib/v1/form/fields/TextareaField/TextareaField.js +3 -3
- package/lib/v1/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- package/lib/v1/layout/SetupDetailLayout/SetupDetailLayout.js +161 -254
- package/lib/v1/layout/SubtabLayout/SubtabLayout.js +109 -208
- package/lib/v1/list/AvatarFlip/AvatarFlip.js +61 -106
- package/lib/v1/list/BluePrintStatus/BluePrintStatus.js +11 -51
- package/lib/v1/list/Comment/Comment.js +24 -69
- package/lib/v1/list/DepartmentDropDown/DepartmentDropDown.js +67 -122
- package/lib/v1/list/Dot/Dot.js +9 -54
- package/lib/v1/list/DotNew/DotNew.js +11 -56
- package/lib/v1/list/GridStencils/GridStencils.js +21 -62
- package/lib/v1/list/Icons/AddNewIcon.js +19 -60
- package/lib/v1/list/Icons/CompleteIcon.js +21 -62
- package/lib/v1/list/Icons/DeleteIcon.js +22 -63
- package/lib/v1/list/Icons/EditIcon.js +22 -63
- package/lib/v1/list/Icons/FloatingIcons.js +17 -62
- package/lib/v1/list/Icons/ReadUnreadIcon.js +24 -65
- package/lib/v1/list/Icons/SmartIcon.js +20 -65
- package/lib/v1/list/ListLayout/ListLayout.js +53 -116
- package/lib/v1/list/ListStencils/ListStencils.js +33 -72
- package/lib/v1/list/SecondaryText/AccountName.js +1 -1
- package/lib/v1/list/SecondaryText/ContactName.js +1 -1
- package/lib/v1/list/SecondryPanel/SecondryPanel.js +3 -5
- package/lib/v1/list/Thread/Thread.js +1 -1
- package/lib/v1/list/UserTime/UserTime.js +1 -1
- package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +367 -472
- package/lib/v1/list/status/StatusListItem/StatusListItem.js +83 -139
- package/lib/v1/lookup/EmptyPage/EmptyPage.js +43 -93
- package/lib/v1/lookup/Lookup/Lookup.js +5 -3
- package/lib/v1/lookup/Section/Section.js +15 -59
- package/lib/v1/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
- package/lib/v1/lookup/header/Search/Search.js +3 -3
- package/lib/v1/lookup/header/TicketHeader/TicketHeader.js +1 -1
- package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +10 -9
- package/lib/v1/{version2/notification → notification}/DesktopNotification/DesktopNotification.js +6 -6
- package/lib/v1/{version2/notification → notification}/DesktopNotificationHeader/DesktopNotificationHeader.js +6 -6
- package/lib/v1/setup/header/Button/Button.js +1 -1
- package/lib/v1/setup/header/Link/Link.js +1 -1
- package/lib/v1/setup/header/Search/Search.js +1 -1
- package/lib/v1/setup/table/Table/Table.js +1 -1
- package/lib/v1/setup/table/TableBody/TableBody.js +1 -1
- package/lib/v1/setup/table/TableData/TableData.js +1 -1
- package/lib/v1/setup/table/TableHead/TableHead.js +1 -1
- package/lib/v1/setup/table/TableRow/TableRow.js +1 -1
- package/lib/v1/svg/PlusIcon.js +20 -65
- package/lib/v1/svg/SnippetIcon.js +22 -67
- package/lib/v1/svg/TemplateIcon.js +23 -68
- package/package.json +10 -10
- package/result.json +1 -1
- package/unittest/index.html +1 -1
- package/es/v1/errorstate/LinkText/LinkText.js +0 -29
- package/es/v1/errorstate/NoRequestFound/NoRequestFound.js +0 -84
- package/es/v1/errorstate/PermissionPlay/PermissionPlay.js +0 -83
- package/es/v1/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -84
- package/es/v1/errorstate/UnableToProcess/UnableToProcess.js +0 -86
- package/es/v1/errorstate/WillBack/WillBack.js +0 -75
- package/es/v1/errorstate/index.js +0 -8
- package/es/v1/version2/errorstate/Inconvenience/Inconvenience.js +0 -63
- package/es/v1/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -65
- package/es/v1/version2/index.js +0 -12
- package/es/v1/version2/lookup/AlertHeader/AlertHeader.js +0 -79
- package/es/v1/version2/lookup/AlertLookup/AlertLookup.js +0 -164
- package/lib/v1/errorstate/LinkText/LinkText.js +0 -80
- package/lib/v1/errorstate/NoRequestFound/NoRequestFound.js +0 -135
- package/lib/v1/errorstate/PermissionPlay/PermissionPlay.js +0 -134
- package/lib/v1/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -135
- package/lib/v1/errorstate/UnableToProcess/UnableToProcess.js +0 -137
- package/lib/v1/errorstate/WillBack/WillBack.js +0 -125
- package/lib/v1/errorstate/index.js +0 -71
- package/lib/v1/version2/errorstate/Inconvenience/Inconvenience.js +0 -79
- package/lib/v1/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -81
- package/lib/v1/version2/index.js +0 -58
- package/lib/v1/version2/lookup/AlertHeader/AlertHeader.js +0 -104
- package/lib/v1/version2/lookup/AlertLookup/AlertLookup.js +0 -185
- /package/es/v1/{version2 → alert}/alertIcons/AlarmAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/AlertIcons.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/DangerAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/ErrorAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/InfoAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/NotificationAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/SuccessAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/WarningAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/index.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/AlarmAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/AlertIcons.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/DangerAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/ErrorAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/InfoAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/NotificationAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/SuccessAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/WarningAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/index.js +0 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
7
5
|
});
|
|
8
|
-
exports
|
|
6
|
+
exports.SubtabContent = SubtabContent;
|
|
7
|
+
exports.SubtabFooter = SubtabFooter;
|
|
8
|
+
exports.SubtabHeader = SubtabHeader;
|
|
9
|
+
exports["default"] = SubtabLayout;
|
|
9
10
|
|
|
10
11
|
var _react = _interopRequireDefault(require("react"));
|
|
11
12
|
|
|
@@ -13,9 +14,9 @@ var _propTypes = require("../../../layout/SubtabLayout/props/propTypes");
|
|
|
13
14
|
|
|
14
15
|
var _defaultProps = require("../../../layout/SubtabLayout/props/defaultProps");
|
|
15
16
|
|
|
16
|
-
var _Layout = require("@zohodesk/components/
|
|
17
|
+
var _Layout = require("@zohodesk/components/es/v1/Layout");
|
|
17
18
|
|
|
18
|
-
var _Card = require("@zohodesk/components/
|
|
19
|
+
var _Card = require("@zohodesk/components/es/v1/Card");
|
|
19
20
|
|
|
20
21
|
var _PlusIcon = _interopRequireDefault(require("../../PlusIcon/PlusIcon"));
|
|
21
22
|
|
|
@@ -25,221 +26,121 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
|
25
26
|
|
|
26
27
|
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); }
|
|
27
28
|
|
|
28
|
-
function
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
dataId = _this$props.dataId,
|
|
77
|
-
isPeekView = _this$props.isPeekView;
|
|
78
|
-
return /*#__PURE__*/_react["default"].createElement(_Card.CardHeader, {
|
|
79
|
-
customClass: "".concat(_SubtabLayoutModule["default"].tabHead, " ").concat(needShadow ? _SubtabLayoutModule["default"].shadowStyle : '', " ").concat(needBorder ? "".concat(_SubtabLayoutModule["default"][type], "_borderStyle") : '')
|
|
80
|
-
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
81
|
-
alignBox: "row",
|
|
82
|
-
className: " ".concat(className, " ").concat(isPeekView ? "".concat(_SubtabLayoutModule["default"][type], "_peek") : _SubtabLayoutModule["default"][type]),
|
|
83
|
-
align: "vertical"
|
|
84
|
-
}, onAdd || children ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
85
|
-
className: "".concat(_SubtabLayoutModule["default"].left, " ").concat(needPlusIconLine ? _SubtabLayoutModule["default"].plusIconLine : '')
|
|
86
|
-
}, onAdd ? /*#__PURE__*/_react["default"].createElement(_PlusIcon["default"], {
|
|
87
|
-
dataId: dataId,
|
|
88
|
-
onClick: onAdd
|
|
89
|
-
}) : children) : null, title ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
90
|
-
className: "".concat(_SubtabLayoutModule["default"].title, " ").concat(onAdd ? _SubtabLayoutModule["default"].cursor : ''),
|
|
91
|
-
onClick: onAdd ? onAdd : null
|
|
92
|
-
}, title) : null, getLeftPlaceHolder && /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
93
|
-
flexible: true,
|
|
94
|
-
shrink: true,
|
|
95
|
-
adjust: getRightPlaceHolder ? true : false,
|
|
96
|
-
className: leftClassName
|
|
97
|
-
}, label ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
98
|
-
className: _SubtabLayoutModule["default"].label
|
|
99
|
-
}, label) : null, getLeftPlaceHolder), getRightPlaceHolder && /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
100
|
-
flexible: true,
|
|
101
|
-
shrink: true,
|
|
102
|
-
adjust: getLeftPlaceHolder ? true : false,
|
|
103
|
-
className: rightClassName
|
|
104
|
-
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
105
|
-
alignBox: "row",
|
|
106
|
-
align: "vertical",
|
|
107
|
-
className: _SubtabLayoutModule["default"].aside
|
|
108
|
-
}, getRightPlaceHolder))));
|
|
109
|
-
}
|
|
110
|
-
}]);
|
|
111
|
-
|
|
112
|
-
return SubtabHeader;
|
|
113
|
-
}(_react["default"].Component);
|
|
29
|
+
function SubtabHeader(props) {
|
|
30
|
+
var onAdd = props.onAdd,
|
|
31
|
+
getLeftPlaceHolder = props.getLeftPlaceHolder,
|
|
32
|
+
title = props.title,
|
|
33
|
+
label = props.label,
|
|
34
|
+
getRightPlaceHolder = props.getRightPlaceHolder,
|
|
35
|
+
type = props.type,
|
|
36
|
+
leftClassName = props.leftClassName,
|
|
37
|
+
rightClassName = props.rightClassName,
|
|
38
|
+
className = props.className,
|
|
39
|
+
needBorder = props.needBorder,
|
|
40
|
+
needShadow = props.needShadow,
|
|
41
|
+
needPlusIconLine = props.needPlusIconLine,
|
|
42
|
+
children = props.children,
|
|
43
|
+
dataId = props.dataId,
|
|
44
|
+
isPeekView = props.isPeekView;
|
|
45
|
+
return /*#__PURE__*/_react["default"].createElement(_Card.CardHeader, {
|
|
46
|
+
customClass: "".concat(_SubtabLayoutModule["default"].tabHead, " ").concat(needShadow ? _SubtabLayoutModule["default"].shadowStyle : '', " ").concat(needBorder ? "".concat(_SubtabLayoutModule["default"][type], "_borderStyle") : '')
|
|
47
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
48
|
+
alignBox: "row",
|
|
49
|
+
className: " ".concat(className, " ").concat(isPeekView ? "".concat(_SubtabLayoutModule["default"][type], "_peek") : _SubtabLayoutModule["default"][type]),
|
|
50
|
+
align: "vertical"
|
|
51
|
+
}, onAdd || children ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
52
|
+
className: "".concat(_SubtabLayoutModule["default"].left, " ").concat(needPlusIconLine ? _SubtabLayoutModule["default"].plusIconLine : '')
|
|
53
|
+
}, onAdd ? /*#__PURE__*/_react["default"].createElement(_PlusIcon["default"], {
|
|
54
|
+
dataId: dataId,
|
|
55
|
+
onClick: onAdd
|
|
56
|
+
}) : children) : null, title ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
57
|
+
className: "".concat(_SubtabLayoutModule["default"].title, " ").concat(onAdd ? _SubtabLayoutModule["default"].cursor : ''),
|
|
58
|
+
onClick: onAdd ? onAdd : null
|
|
59
|
+
}, title) : null, getLeftPlaceHolder && /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
60
|
+
flexible: true,
|
|
61
|
+
shrink: true,
|
|
62
|
+
adjust: getRightPlaceHolder ? true : false,
|
|
63
|
+
className: leftClassName
|
|
64
|
+
}, label ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
65
|
+
className: _SubtabLayoutModule["default"].label
|
|
66
|
+
}, label) : null, getLeftPlaceHolder), getRightPlaceHolder && /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
67
|
+
flexible: true,
|
|
68
|
+
shrink: true,
|
|
69
|
+
adjust: getLeftPlaceHolder ? true : false,
|
|
70
|
+
className: rightClassName
|
|
71
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
72
|
+
alignBox: "row",
|
|
73
|
+
align: "vertical",
|
|
74
|
+
className: _SubtabLayoutModule["default"].aside
|
|
75
|
+
}, getRightPlaceHolder))));
|
|
76
|
+
}
|
|
114
77
|
|
|
115
|
-
exports.SubtabHeader = SubtabHeader;
|
|
116
78
|
SubtabHeader.propTypes = _propTypes.SubtabHeader_propTypes;
|
|
117
79
|
SubtabHeader.defaultProps = _defaultProps.SubtabHeader_defaultProps;
|
|
118
80
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
alignBox: "row",
|
|
146
|
-
align: "vertical",
|
|
147
|
-
className: " ".concat(_SubtabLayoutModule["default"].footer, " ").concat(needPadding ? isPeekView ? "".concat(_SubtabLayoutModule["default"][type], "_peekFooter") : "".concat(_SubtabLayoutModule["default"][type], "_detailFooter") : '', " ").concat(_SubtabLayoutModule["default"][size], " ").concat(className),
|
|
148
|
-
dataId: dataId
|
|
149
|
-
}, children ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
150
|
-
flexible: true,
|
|
151
|
-
shrink: true,
|
|
152
|
-
className: leftClassName
|
|
153
|
-
}, children) : null, getRightFooterPlaceHolder ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
154
|
-
flexible: true,
|
|
155
|
-
shrink: true,
|
|
156
|
-
className: rightClassName
|
|
157
|
-
}, getRightFooterPlaceHolder) : null);
|
|
158
|
-
}
|
|
159
|
-
}]);
|
|
160
|
-
|
|
161
|
-
return SubtabFooter;
|
|
162
|
-
}(_react["default"].Component);
|
|
81
|
+
function SubtabFooter(props) {
|
|
82
|
+
var isPeekView = props.isPeekView,
|
|
83
|
+
getRightFooterPlaceHolder = props.getRightFooterPlaceHolder,
|
|
84
|
+
dataId = props.dataId,
|
|
85
|
+
children = props.children,
|
|
86
|
+
className = props.className,
|
|
87
|
+
leftClassName = props.leftClassName,
|
|
88
|
+
rightClassName = props.rightClassName,
|
|
89
|
+
size = props.size,
|
|
90
|
+
needPadding = props.needPadding,
|
|
91
|
+
type = props.type;
|
|
92
|
+
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
93
|
+
alignBox: "row",
|
|
94
|
+
align: "vertical",
|
|
95
|
+
className: " ".concat(_SubtabLayoutModule["default"].footer, " ").concat(needPadding ? isPeekView ? "".concat(_SubtabLayoutModule["default"][type], "_peekFooter") : "".concat(_SubtabLayoutModule["default"][type], "_detailFooter") : '', " ").concat(_SubtabLayoutModule["default"][size], " ").concat(className),
|
|
96
|
+
dataId: dataId
|
|
97
|
+
}, children ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
98
|
+
flexible: true,
|
|
99
|
+
shrink: true,
|
|
100
|
+
className: leftClassName
|
|
101
|
+
}, children) : null, getRightFooterPlaceHolder ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
102
|
+
flexible: true,
|
|
103
|
+
shrink: true,
|
|
104
|
+
className: rightClassName
|
|
105
|
+
}, getRightFooterPlaceHolder) : null);
|
|
106
|
+
}
|
|
163
107
|
|
|
164
|
-
exports.SubtabFooter = SubtabFooter;
|
|
165
108
|
SubtabFooter.propTypes = _propTypes.SubtabFooter_propTypes;
|
|
166
109
|
SubtabFooter.defaultProps = _defaultProps.SubtabFooter_defaultProps;
|
|
167
110
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
scroll = _this$props3.scroll,
|
|
185
|
-
className = _this$props3.className,
|
|
186
|
-
eleRef = _this$props3.eleRef,
|
|
187
|
-
dataId = _this$props3.dataId,
|
|
188
|
-
onScroll = _this$props3.onScroll;
|
|
189
|
-
return /*#__PURE__*/_react["default"].createElement(_Card.CardContent, {
|
|
190
|
-
scroll: scroll,
|
|
191
|
-
isScrollAttribute: true,
|
|
192
|
-
onScroll: onScroll,
|
|
193
|
-
customClass: className ? className : '',
|
|
194
|
-
eleRef: eleRef,
|
|
195
|
-
dataId: dataId
|
|
196
|
-
}, children);
|
|
197
|
-
}
|
|
198
|
-
}]);
|
|
199
|
-
|
|
200
|
-
return SubtabContent;
|
|
201
|
-
}(_react["default"].Component);
|
|
111
|
+
function SubtabContent(props) {
|
|
112
|
+
var children = props.children,
|
|
113
|
+
scroll = props.scroll,
|
|
114
|
+
className = props.className,
|
|
115
|
+
eleRef = props.eleRef,
|
|
116
|
+
dataId = props.dataId,
|
|
117
|
+
onScroll = props.onScroll;
|
|
118
|
+
return /*#__PURE__*/_react["default"].createElement(_Card.CardContent, {
|
|
119
|
+
scroll: scroll,
|
|
120
|
+
isScrollAttribute: true,
|
|
121
|
+
onScroll: onScroll,
|
|
122
|
+
customClass: className ? className : '',
|
|
123
|
+
eleRef: eleRef,
|
|
124
|
+
dataId: dataId
|
|
125
|
+
}, children);
|
|
126
|
+
}
|
|
202
127
|
|
|
203
|
-
exports.SubtabContent = SubtabContent;
|
|
204
128
|
SubtabContent.propTypes = _propTypes.SubtabContent_propTypes;
|
|
205
129
|
SubtabContent.defaultProps = _defaultProps.SubtabContent_defaultProps;
|
|
206
130
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
_createClass(SubtabLayout, [{
|
|
219
|
-
key: "render",
|
|
220
|
-
value: function render() {
|
|
221
|
-
var _this$props4 = this.props,
|
|
222
|
-
children = _this$props4.children,
|
|
223
|
-
dataId = _this$props4.dataId;
|
|
224
|
-
return /*#__PURE__*/_react["default"].createElement(_Card.Card, _extends({
|
|
225
|
-
isScrollAttribute: true,
|
|
226
|
-
dataId: dataId
|
|
227
|
-
}, this.props, {
|
|
228
|
-
childTypes: {
|
|
229
|
-
cardHeader: SubtabHeader,
|
|
230
|
-
cardContent: SubtabContent
|
|
231
|
-
}
|
|
232
|
-
}), children);
|
|
131
|
+
function SubtabLayout(props) {
|
|
132
|
+
var children = props.children,
|
|
133
|
+
dataId = props.dataId;
|
|
134
|
+
return /*#__PURE__*/_react["default"].createElement(_Card.Card, _extends({
|
|
135
|
+
isScrollAttribute: true,
|
|
136
|
+
dataId: dataId
|
|
137
|
+
}, props, {
|
|
138
|
+
childTypes: {
|
|
139
|
+
cardHeader: SubtabHeader,
|
|
140
|
+
cardContent: SubtabContent
|
|
233
141
|
}
|
|
234
|
-
}
|
|
142
|
+
}), children);
|
|
143
|
+
}
|
|
235
144
|
|
|
236
|
-
return SubtabLayout;
|
|
237
|
-
}(_react["default"].Component);
|
|
238
|
-
|
|
239
|
-
exports["default"] = SubtabLayout;
|
|
240
145
|
SubtabLayout.defaultProps = _defaultProps.SubtabLayout_defaultProps;
|
|
241
|
-
SubtabLayout.propTypes = _propTypes.SubtabLayout_propTypes;
|
|
242
|
-
// SubtabLayout.docs = {
|
|
243
|
-
// componentGroup: 'Template'
|
|
244
|
-
// };
|
|
245
|
-
// }
|
|
146
|
+
SubtabLayout.propTypes = _propTypes.SubtabLayout_propTypes;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
7
5
|
});
|
|
8
|
-
exports["default"] =
|
|
6
|
+
exports["default"] = AvatarFlip;
|
|
9
7
|
|
|
10
|
-
var _react =
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
9
|
|
|
12
10
|
var _defaultProps = require("../../../list/AvatarFlip/props/defaultProps");
|
|
13
11
|
|
|
@@ -19,109 +17,66 @@ var _AvatarFlipModule = _interopRequireDefault(require("../../../list/AvatarFlip
|
|
|
19
17
|
|
|
20
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
19
|
|
|
22
|
-
function
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
20
|
+
function AvatarFlip(props) {
|
|
21
|
+
var id = props.id,
|
|
22
|
+
action = props.action,
|
|
23
|
+
name = props.name,
|
|
24
|
+
isChecked = props.isChecked,
|
|
25
|
+
onChange = props.onChange,
|
|
26
|
+
noNeedFlip = props.noNeedFlip,
|
|
27
|
+
size = props.size,
|
|
28
|
+
onClick = props.onClick,
|
|
29
|
+
isPaidUser = props.isPaidUser,
|
|
30
|
+
isPortalUser = props.isPortalUser,
|
|
31
|
+
channel = props.channel,
|
|
32
|
+
src = props.src,
|
|
33
|
+
icon = props.icon,
|
|
34
|
+
initial = props.initial,
|
|
35
|
+
dataId = props.dataId,
|
|
36
|
+
className = props.className,
|
|
37
|
+
palette = props.palette,
|
|
38
|
+
textPalette = props.textPalette,
|
|
39
|
+
customTextClass = props.customTextClass,
|
|
40
|
+
frontClass = props.frontClass,
|
|
41
|
+
needTitle = props.needTitle,
|
|
42
|
+
tourId = props.tourId,
|
|
43
|
+
iconSize = props.iconSize,
|
|
44
|
+
isFilledCheckbox = props.isFilledCheckbox,
|
|
45
|
+
channelTitle = props.channelTitle,
|
|
46
|
+
customProps = props.customProps;
|
|
47
|
+
return /*#__PURE__*/_react["default"].createElement(_FlipCard["default"], {
|
|
48
|
+
id: id,
|
|
49
|
+
action: action,
|
|
50
|
+
name: name,
|
|
51
|
+
initial: initial,
|
|
52
|
+
isChecked: isChecked,
|
|
53
|
+
onChange: onChange,
|
|
54
|
+
noNeedFlip: noNeedFlip,
|
|
55
|
+
size: size,
|
|
56
|
+
onClick: onClick,
|
|
57
|
+
isPaidUser: isPaidUser,
|
|
58
|
+
isPortalUser: isPortalUser,
|
|
59
|
+
channel: channel,
|
|
60
|
+
src: src,
|
|
61
|
+
icon: icon,
|
|
62
|
+
iconSize: iconSize,
|
|
63
|
+
iconClass: "".concat(_AvatarFlipModule["default"].iconStyle),
|
|
64
|
+
dataId: dataId,
|
|
65
|
+
ticListContainer: "tic-list-filp-cont",
|
|
66
|
+
ticList: "tic-list-filp",
|
|
67
|
+
className: className,
|
|
68
|
+
palette: palette,
|
|
69
|
+
textPalette: textPalette,
|
|
70
|
+
customTextClass: customTextClass,
|
|
71
|
+
frontClass: frontClass,
|
|
72
|
+
needTitle: needTitle,
|
|
73
|
+
tourId: tourId,
|
|
74
|
+
isFilledCheckbox: isFilledCheckbox,
|
|
75
|
+
channelTitle: channelTitle,
|
|
76
|
+
customProps: customProps
|
|
77
|
+
});
|
|
78
|
+
}
|
|
39
79
|
|
|
40
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
41
|
-
|
|
42
|
-
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; } }
|
|
43
|
-
|
|
44
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
45
|
-
|
|
46
|
-
var AvatarFlip = /*#__PURE__*/function (_Component) {
|
|
47
|
-
_inherits(AvatarFlip, _Component);
|
|
48
|
-
|
|
49
|
-
var _super = _createSuper(AvatarFlip);
|
|
50
|
-
|
|
51
|
-
function AvatarFlip() {
|
|
52
|
-
_classCallCheck(this, AvatarFlip);
|
|
53
|
-
|
|
54
|
-
return _super.apply(this, arguments);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
_createClass(AvatarFlip, [{
|
|
58
|
-
key: "render",
|
|
59
|
-
value: function render() {
|
|
60
|
-
var _this$props = this.props,
|
|
61
|
-
id = _this$props.id,
|
|
62
|
-
action = _this$props.action,
|
|
63
|
-
name = _this$props.name,
|
|
64
|
-
isChecked = _this$props.isChecked,
|
|
65
|
-
onChange = _this$props.onChange,
|
|
66
|
-
noNeedFlip = _this$props.noNeedFlip,
|
|
67
|
-
size = _this$props.size,
|
|
68
|
-
onClick = _this$props.onClick,
|
|
69
|
-
isPaidUser = _this$props.isPaidUser,
|
|
70
|
-
isPortalUser = _this$props.isPortalUser,
|
|
71
|
-
channel = _this$props.channel,
|
|
72
|
-
src = _this$props.src,
|
|
73
|
-
icon = _this$props.icon,
|
|
74
|
-
initial = _this$props.initial,
|
|
75
|
-
dataId = _this$props.dataId,
|
|
76
|
-
className = _this$props.className,
|
|
77
|
-
palette = _this$props.palette,
|
|
78
|
-
textPalette = _this$props.textPalette,
|
|
79
|
-
customTextClass = _this$props.customTextClass,
|
|
80
|
-
frontClass = _this$props.frontClass,
|
|
81
|
-
needTitle = _this$props.needTitle,
|
|
82
|
-
tourId = _this$props.tourId,
|
|
83
|
-
iconSize = _this$props.iconSize,
|
|
84
|
-
isFilledCheckbox = _this$props.isFilledCheckbox,
|
|
85
|
-
channelTitle = _this$props.channelTitle,
|
|
86
|
-
customProps = _this$props.customProps;
|
|
87
|
-
return /*#__PURE__*/_react["default"].createElement(_FlipCard["default"], {
|
|
88
|
-
id: id,
|
|
89
|
-
action: action,
|
|
90
|
-
name: name,
|
|
91
|
-
initial: initial,
|
|
92
|
-
isChecked: isChecked,
|
|
93
|
-
onChange: onChange,
|
|
94
|
-
noNeedFlip: noNeedFlip,
|
|
95
|
-
size: size,
|
|
96
|
-
onClick: onClick,
|
|
97
|
-
isPaidUser: isPaidUser,
|
|
98
|
-
isPortalUser: isPortalUser,
|
|
99
|
-
channel: channel,
|
|
100
|
-
src: src,
|
|
101
|
-
icon: icon,
|
|
102
|
-
iconSize: iconSize,
|
|
103
|
-
iconClass: "".concat(_AvatarFlipModule["default"].iconStyle),
|
|
104
|
-
dataId: dataId,
|
|
105
|
-
ticListContainer: "tic-list-filp-cont",
|
|
106
|
-
ticList: "tic-list-filp",
|
|
107
|
-
className: className,
|
|
108
|
-
palette: palette,
|
|
109
|
-
textPalette: textPalette,
|
|
110
|
-
customTextClass: customTextClass,
|
|
111
|
-
frontClass: frontClass,
|
|
112
|
-
needTitle: needTitle,
|
|
113
|
-
tourId: tourId,
|
|
114
|
-
isFilledCheckbox: isFilledCheckbox,
|
|
115
|
-
channelTitle: channelTitle,
|
|
116
|
-
customProps: customProps
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
|
-
}]);
|
|
120
|
-
|
|
121
|
-
return AvatarFlip;
|
|
122
|
-
}(_react.Component);
|
|
123
|
-
|
|
124
|
-
exports["default"] = AvatarFlip;
|
|
125
80
|
AvatarFlip.propTypes = _propTypes.propTypes;
|
|
126
81
|
AvatarFlip.defaultProps = _defaultProps.defaultProps; // if (__DOCS__) {
|
|
127
82
|
// AvatarFlip.docs = {
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
7
5
|
});
|
|
8
|
-
exports["default"] =
|
|
6
|
+
exports["default"] = BluePrintStatus;
|
|
9
7
|
|
|
10
8
|
var _react = _interopRequireDefault(require("react"));
|
|
11
9
|
|
|
@@ -17,55 +15,17 @@ var _icons = require("@zohodesk/icons");
|
|
|
17
15
|
|
|
18
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
17
|
|
|
20
|
-
function
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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
|
-
|
|
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
|
-
|
|
34
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
18
|
+
function BluePrintStatus(props) {
|
|
19
|
+
var title = props.title;
|
|
20
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
21
|
+
className: "".concat(_BluePrintStatusModule["default"].container)
|
|
22
|
+
}, /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
|
|
23
|
+
name: "ZD-blueprint",
|
|
24
|
+
title: title,
|
|
25
|
+
iconClass: _BluePrintStatusModule["default"].iconStyle
|
|
26
|
+
}));
|
|
27
|
+
}
|
|
35
28
|
|
|
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
|
-
|
|
38
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
39
|
-
|
|
40
|
-
var BluePrintStatus = /*#__PURE__*/function (_React$Component) {
|
|
41
|
-
_inherits(BluePrintStatus, _React$Component);
|
|
42
|
-
|
|
43
|
-
var _super = _createSuper(BluePrintStatus);
|
|
44
|
-
|
|
45
|
-
function BluePrintStatus(props) {
|
|
46
|
-
_classCallCheck(this, BluePrintStatus);
|
|
47
|
-
|
|
48
|
-
return _super.call(this, props);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
_createClass(BluePrintStatus, [{
|
|
52
|
-
key: "render",
|
|
53
|
-
value: function render() {
|
|
54
|
-
var title = this.props.title;
|
|
55
|
-
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
56
|
-
className: "".concat(_BluePrintStatusModule["default"].container)
|
|
57
|
-
}, /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
|
|
58
|
-
name: "ZD-blueprint",
|
|
59
|
-
title: title,
|
|
60
|
-
iconClass: _BluePrintStatusModule["default"].iconStyle
|
|
61
|
-
}));
|
|
62
|
-
}
|
|
63
|
-
}]);
|
|
64
|
-
|
|
65
|
-
return BluePrintStatus;
|
|
66
|
-
}(_react["default"].Component);
|
|
67
|
-
|
|
68
|
-
exports["default"] = BluePrintStatus;
|
|
69
29
|
BluePrintStatus.propTypes = _propTypes.propTypes; // if (__DOCS__) {
|
|
70
30
|
// BluePrintStatus.docs = {
|
|
71
31
|
// componentGroup: 'Atom'
|