@zohodesk/dot 1.0.0-beta.21 → 1.0.0-beta.212
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 +956 -8
- package/assets/Appearance/dark/mode/dotDarkMode.module.css +521 -0
- package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +10 -0
- package/assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css +10 -0
- package/assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +10 -0
- package/assets/Appearance/dark/themes/red/redDarkDotTheme.module.css +10 -0
- package/assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +10 -0
- package/assets/Appearance/default/mode/dotDefaultMode.module.css +521 -0
- package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +10 -0
- package/assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css +10 -0
- package/assets/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +10 -0
- package/assets/Appearance/default/themes/red/redDefaultDotTheme.module.css +10 -0
- package/assets/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +10 -0
- package/dubFinder.js +7 -4
- package/package.json +44 -14
- package/.DS_Store +0 -0
- package/__testUtils__/globals.js +0 -0
- package/es/ChannelIcon/ChannelIcon.js +0 -118
- package/es/ChannelIcon/ChannelIcon.module.css +0 -208
- package/es/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -97
- package/es/Drawer/Drawer.js +0 -347
- package/es/Drawer/Drawer.module.css +0 -219
- package/es/Drawer/docs/Drawer__default.docs.js +0 -73
- package/es/Drawer/docs/Drawer__noFreeze.docs.js +0 -43
- package/es/ExternalLink/ExternalLink.js +0 -85
- package/es/ExternalLink/ExternalLink.module.css +0 -4
- package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -36
- package/es/ExternalLink/docs/ExternalLink__default.docs.js +0 -40
- package/es/FlipCard/FlipCard.js +0 -176
- package/es/FlipCard/FlipCard.module.css +0 -35
- package/es/FlipCard/docs/FlipCard__default.docs.js +0 -105
- package/es/FormAction/FormAction.js +0 -128
- package/es/FormAction/FormAction.module.css +0 -77
- package/es/FormAction/docs/FormAction__default.docs.js +0 -199
- package/es/FreezeLayer/FreezeLayer.js +0 -137
- package/es/FreezeLayer/FreezeLayer.module.css +0 -41
- package/es/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -77
- package/es/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -76
- package/es/GridIcons/GridIcons.js +0 -84
- package/es/GridIcons/GridIcons.module.css +0 -11
- package/es/GridIcons/docs/GridIcons__default.docs.js +0 -34
- package/es/Image/Image.js +0 -66
- package/es/Image/Image.module.css +0 -11
- package/es/Image/docs/Image__default.docs.js +0 -40
- package/es/Link/Link.js +0 -134
- package/es/Link/Link.module.css +0 -4
- package/es/Link/LinkContext.js +0 -11
- package/es/Link/docs/Link__default.docs.js +0 -64
- package/es/PlusIcon/PlusIcon.js +0 -85
- package/es/PlusIcon/PlusIcon.module.css +0 -7
- package/es/PlusIcon/docs/PlusIcon__default.docs.js +0 -40
- package/es/ToastMessage/ToastMessage.js +0 -341
- package/es/ToastMessage/ToastMessage.module.css +0 -333
- package/es/ToastMessage/docs/ToastMessage__custom.docs.js +0 -132
- package/es/ToastMessage/docs/ToastMessage__information.docs.js +0 -80
- package/es/ToastMessage/docs/ToastMessage__primary.docs.js +0 -172
- package/es/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -64
- package/es/ToastMessage/docs/ToastMessage__success.docs.js +0 -94
- package/es/actions/index.js +0 -23
- package/es/alert/AlertHeader/AlertHeader.js +0 -133
- package/es/alert/AlertHeader/AlertHeader.module.css +0 -80
- package/es/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -91
- package/es/alert/AlertLookup/AlertLookup.js +0 -197
- package/es/alert/AlertLookup/AlertLookup.module.css +0 -23
- package/es/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -170
- package/es/avatar/AvatarClose/AvatarClose.js +0 -70
- package/es/avatar/AvatarClose/AvatarClose.module.css +0 -37
- package/es/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -44
- package/es/avatar/AvatarCollision/AvatarCollision.js +0 -90
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +0 -69
- package/es/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -58
- package/es/avatar/AvatarIcon/AvatarIcon.js +0 -89
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +0 -36
- package/es/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -54
- package/es/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -49
- package/es/avatar/AvatarStatus/AvatarStatus.js +0 -78
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +0 -93
- package/es/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -52
- package/es/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -75
- package/es/avatar/AvatarThread/AvatarThread.js +0 -107
- package/es/avatar/AvatarThread/AvatarThread.module.css +0 -65
- package/es/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -69
- package/es/avatar/AvatarUser/AvatarUser.js +0 -119
- package/es/avatar/AvatarUser/AvatarUser.module.css +0 -101
- package/es/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -146
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +0 -81
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +0 -23
- package/es/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +0 -48
- package/es/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -45
- package/es/docs/generalDocs.js +0 -119
- package/es/docs/lookupDocs.js +0 -33
- package/es/docs/setupDocs.js +0 -27
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +0 -588
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +0 -74
- package/es/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -78
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -129
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -34
- package/es/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -85
- package/es/emptystate/EditionPage/EditionPage.css +0 -43
- package/es/emptystate/EditionPage/EditionPage.js +0 -100
- package/es/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -42
- package/es/errorstate/EmptyStates.module.css +0 -45
- package/es/errorstate/Inconvenience/Inconvenience.js +0 -87
- package/es/errorstate/Inconvenience/Inconvenience.module.css +0 -9
- package/es/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -39
- package/es/errorstate/LinkText/LinkText.js +0 -54
- package/es/errorstate/LinkText/LinkText.module.css +0 -6
- package/es/errorstate/LinkText/docs/LinkText__default.docs.js +0 -35
- package/es/errorstate/NoRequestFound/NoRequestFound.js +0 -87
- package/es/errorstate/NoRequestFound/NoRequestFound.module.css +0 -5
- package/es/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -39
- package/es/errorstate/PermissionPlay/PermissionPlay.js +0 -95
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +0 -33
- package/es/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -40
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -87
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -5
- package/es/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -39
- package/es/errorstate/UnableToProcess/UnableToProcess.js +0 -87
- package/es/errorstate/UnableToProcess/UnableToProcess.module.css +0 -18
- package/es/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -39
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -87
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -18
- package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -40
- package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -39
- package/es/errorstate/WillBack/WillBack.js +0 -79
- package/es/errorstate/WillBack/WillBack.module.css +0 -21
- package/es/errorstate/WillBack/docs/WillBack__default.docs.js +0 -41
- package/es/index.js +0 -14
- package/es/layout/SetupDetailLayout/SetupDetailLayout.js +0 -328
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +0 -152
- package/es/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -79
- package/es/layout/SetupDetailLayout/index.js +0 -4
- package/es/layout/SubtabLayout/SubtabLayout.js +0 -227
- package/es/layout/SubtabLayout/SubtabLayout.module.css +0 -90
- package/es/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -191
- package/es/layout/SubtabLayout/index.js +0 -3
- package/es/list/AvatarFlip/AvatarFlip.js +0 -106
- package/es/list/AvatarFlip/AvatarFlip.module.css +0 -15
- package/es/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -308
- package/es/list/BluePrintStatus/BluePrintStatus.js +0 -50
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +0 -15
- package/es/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -36
- package/es/list/Comment/Comment.js +0 -81
- package/es/list/Comment/Comment.module.css +0 -22
- package/es/list/Comment/docs/Comment__default.docs.js +0 -40
- package/es/list/DepartmentDropDown/DepartmentDropDown.js +0 -102
- package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +0 -83
- package/es/list/Dot/Dot.js +0 -47
- package/es/list/Dot/Dot.module.css +0 -13
- package/es/list/DotNew/DotNew.js +0 -41
- package/es/list/DotNew/DotNew.module.css +0 -19
- package/es/list/DotNew/docs/DotNew__default.docs.js +0 -36
- package/es/list/GridStencils/GridStencils.js +0 -65
- package/es/list/GridStencils/GridStencils.module.css +0 -192
- package/es/list/GridStencils/docs/GridStencils__default.docs.js +0 -50
- package/es/list/Icons/AddNewIcon.js +0 -69
- package/es/list/Icons/CompleteIcon.js +0 -59
- package/es/list/Icons/DeleteIcon.js +0 -79
- package/es/list/Icons/EditIcon.js +0 -78
- package/es/list/Icons/FloatingIcons.js +0 -58
- package/es/list/Icons/Icons.module.css +0 -15
- package/es/list/Icons/SmartIcon.js +0 -47
- package/es/list/Icons/docs/FloatingIcons__default.docs.js +0 -56
- package/es/list/ListLayout/ListLayout.js +0 -140
- package/es/list/ListLayout/ListLayout.module.css +0 -27
- package/es/list/ListLayout/docs/ListLayout__default.docs.js +0 -131
- package/es/list/ListStencils/ListStencils.js +0 -63
- package/es/list/ListStencils/ListStencils.module.css +0 -27
- package/es/list/ListStencils/docs/ListStencils__default.docs.js +0 -36
- package/es/list/SecondaryText/AccountName.js +0 -102
- package/es/list/SecondaryText/ContactName.js +0 -128
- package/es/list/SecondaryText/DepartmentText.js +0 -54
- package/es/list/SecondaryText/Email.js +0 -90
- package/es/list/SecondaryText/HappinessRating.js +0 -64
- package/es/list/SecondaryText/PhoneNumber.js +0 -93
- package/es/list/SecondaryText/PriorityText.js +0 -62
- package/es/list/SecondaryText/SecondaryText.js +0 -60
- package/es/list/SecondaryText/SecondaryText.module.css +0 -104
- package/es/list/SecondaryText/StatusText.js +0 -62
- package/es/list/SecondaryText/TicketId.js +0 -64
- package/es/list/SecondaryText/Website.js +0 -87
- package/es/list/SecondaryText/docs/ContactName__default.docs.js +0 -36
- package/es/list/SecondaryText/index.js +0 -11
- package/es/list/SecondryPanel/SecondryPanel.js +0 -198
- package/es/list/SecondryPanel/SecondryPanel.module.css +0 -27
- package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -41
- package/es/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -131
- package/es/list/SentimentStatus/SentimentStatus.js +0 -53
- package/es/list/SentimentStatus/SentimentStatus.module.css +0 -12
- package/es/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -36
- package/es/list/StatusDropdown/StatusDropdown.js +0 -205
- package/es/list/StatusDropdown/StatusDropdown.module.css +0 -65
- package/es/list/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -76
- package/es/list/Subject/Subject.js +0 -89
- package/es/list/Subject/Subject.module.css +0 -9
- package/es/list/Subject/docs/Subject__default.docs.js +0 -49
- package/es/list/TagNew/TagNew.js +0 -58
- package/es/list/TagNew/TagNew.module.css +0 -115
- package/es/list/TagNew/docs/TagNew__default.docs.js +0 -36
- package/es/list/Thread/Thread.js +0 -63
- package/es/list/Thread/Thread.module.css +0 -20
- package/es/list/Thread/docs/Thread__default.docs.js +0 -36
- package/es/list/TimeInfo/TimeInfo.js +0 -171
- package/es/list/TimeInfo/docs/TimeInfo__default.docs.js +0 -49
- package/es/list/UserTime/UserTime.js +0 -112
- package/es/list/UserTime/UserTime.module.css +0 -49
- package/es/list/UserTime/docs/UserTime__default.docs.js +0 -172
- package/es/list/listCommon.module.css +0 -92
- package/es/lookup/EmptyPage/EmptyPage.js +0 -89
- package/es/lookup/EmptyPage/LookupEmptyPage.module.css +0 -12
- package/es/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -38
- package/es/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -38
- package/es/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -37
- package/es/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -38
- package/es/lookup/Lookup/Lookup.js +0 -100
- package/es/lookup/Lookup/Lookup.module.css +0 -22
- package/es/lookup/Lookup/docs/Lookup__contact.docs.js +0 -212
- package/es/lookup/Lookup/docs/Lookup__default.docs.js +0 -90
- package/es/lookup/Section/LookupSection.module.css +0 -7
- package/es/lookup/Section/Section.js +0 -52
- package/es/lookup/header/Close/Close.js +0 -59
- package/es/lookup/header/Close/LookupClose.module.css +0 -15
- package/es/lookup/header/Close/docs/Close__default.docs.js +0 -35
- package/es/lookup/header/ModuleHeader/ModuleHeader.js +0 -106
- package/es/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -58
- package/es/lookup/header/Search/LookupSearch.module.css +0 -14
- package/es/lookup/header/Search/Search.js +0 -138
- package/es/lookup/header/Search/docs/Search__default.docs.js +0 -62
- package/es/lookup/header/TicketHeader/TicketHeader.js +0 -134
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +0 -22
- package/es/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -74
- package/es/lookup/header/Title/LookupTitle.module.css +0 -20
- package/es/lookup/header/Title/Title.js +0 -60
- package/es/lookup/header/Title/docs/Title__default.docs.js +0 -35
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +0 -216
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +0 -52
- package/es/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -64
- package/es/lookup/header/lookupHeaderCommon.module.css +0 -33
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +0 -24
- package/es/setup/header/Button/Button.js +0 -63
- package/es/setup/header/Button/HeaderButton.module.css +0 -5
- package/es/setup/header/Button/docs/Button__default.docs.js +0 -37
- package/es/setup/header/Link/HeaderLink.module.css +0 -22
- package/es/setup/header/Link/Link.js +0 -75
- package/es/setup/header/Link/docs/Link__default.docs.js +0 -36
- package/es/setup/header/Search/Search.js +0 -104
- package/es/setup/header/Search/Search.module.css +0 -67
- package/es/setup/header/Search/docs/Search__default.docs.js +0 -54
- package/es/setup/header/SelectDropdown/SelectDropdown.js +0 -162
- package/es/setup/header/SelectDropdown/SelectDropdown.module.css +0 -43
- package/es/setup/header/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -44
- package/es/setup/header/Views/Views.js +0 -80
- package/es/setup/header/Views/Views.module.css +0 -37
- package/es/setup/header/Views/docs/Views__default.docs.js +0 -40
- package/es/setup/helptips/Description/Description.js +0 -45
- package/es/setup/helptips/Description/HelpTipsDescription.module.css +0 -6
- package/es/setup/helptips/Description/docs/Description__default.docs.js +0 -42
- package/es/setup/helptips/Link/HelpTipsLink.module.css +0 -7
- package/es/setup/helptips/Link/Link.js +0 -62
- package/es/setup/helptips/Link/docs/Link__default.docs.js +0 -43
- package/es/setup/helptips/ListGroup/ListGroup.js +0 -67
- package/es/setup/helptips/ListGroup/ListGroup.module.css +0 -22
- package/es/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -46
- package/es/setup/helptips/Title/HelpTipsTitle.module.css +0 -5
- package/es/setup/helptips/Title/Title.js +0 -45
- package/es/setup/helptips/Title/docs/Title__default.docs.js +0 -40
- package/es/setup/table/Table/Table.js +0 -53
- package/es/setup/table/Table/docs/Table__default.docs.js +0 -193
- package/es/setup/table/TableBody/TableBody.js +0 -53
- package/es/setup/table/TableData/TableData.css +0 -44
- package/es/setup/table/TableData/TableData.js +0 -68
- package/es/setup/table/TableData/hover.css +0 -6
- package/es/setup/table/TableHead/TableHead.css +0 -12
- package/es/setup/table/TableHead/TableHead.js +0 -72
- package/es/setup/table/TableRow/TableRow.css +0 -14
- package/es/setup/table/TableRow/TableRow.js +0 -78
- package/es/setup/table/Text/Text.css +0 -37
- package/es/setup/table/Text/Text.js +0 -103
- package/es/setup/table/Text/docs/Text__default.docs.js +0 -69
- package/es/svg/PlusIcon.js +0 -68
- package/es/svg/SnippetIcon.js +0 -71
- package/es/svg/TemplateIcon.js +0 -66
- package/es/svg/docs/SVG__default.docs.js +0 -87
- package/es/utils/ChannelIconMapping.js +0 -112
- package/es/utils/General.js +0 -19
- package/es/utils/KeyboardApi.js +0 -254
- package/es/utils/Ticket.js +0 -3
- package/lib/ChannelIcon/ChannelIcon.js +0 -147
- package/lib/ChannelIcon/ChannelIcon.module.css +0 -208
- package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -114
- package/lib/Drawer/Drawer.js +0 -384
- package/lib/Drawer/Drawer.module.css +0 -219
- package/lib/Drawer/docs/Drawer__default.docs.js +0 -95
- package/lib/Drawer/docs/Drawer__noFreeze.docs.js +0 -59
- package/lib/ExternalLink/ExternalLink.js +0 -105
- package/lib/ExternalLink/ExternalLink.module.css +0 -4
- package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -48
- package/lib/ExternalLink/docs/ExternalLink__default.docs.js +0 -56
- package/lib/FlipCard/FlipCard.js +0 -210
- package/lib/FlipCard/FlipCard.module.css +0 -35
- package/lib/FlipCard/docs/FlipCard__default.docs.js +0 -124
- package/lib/FormAction/FormAction.js +0 -150
- package/lib/FormAction/FormAction.module.css +0 -77
- package/lib/FormAction/docs/FormAction__default.docs.js +0 -221
- package/lib/FreezeLayer/FreezeLayer.js +0 -161
- package/lib/FreezeLayer/FreezeLayer.module.css +0 -41
- package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -96
- package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -95
- package/lib/GridIcons/GridIcons.js +0 -106
- package/lib/GridIcons/GridIcons.module.css +0 -11
- package/lib/GridIcons/docs/GridIcons__default.docs.js +0 -50
- package/lib/Image/Image.js +0 -85
- package/lib/Image/Image.module.css +0 -11
- package/lib/Image/docs/Image__default.docs.js +0 -59
- package/lib/Link/Link.js +0 -156
- package/lib/Link/Link.module.css +0 -4
- package/lib/Link/LinkContext.js +0 -22
- package/lib/Link/docs/Link__default.docs.js +0 -80
- package/lib/PlusIcon/PlusIcon.js +0 -107
- package/lib/PlusIcon/PlusIcon.module.css +0 -7
- package/lib/PlusIcon/docs/PlusIcon__default.docs.js +0 -59
- package/lib/ToastMessage/ToastMessage.js +0 -365
- package/lib/ToastMessage/ToastMessage.module.css +0 -333
- package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +0 -157
- package/lib/ToastMessage/docs/ToastMessage__information.docs.js +0 -99
- package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +0 -191
- package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -83
- package/lib/ToastMessage/docs/ToastMessage__success.docs.js +0 -113
- package/lib/actions/index.js +0 -27
- package/lib/alert/AlertHeader/AlertHeader.js +0 -162
- package/lib/alert/AlertHeader/AlertHeader.module.css +0 -80
- package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -107
- package/lib/alert/AlertLookup/AlertLookup.js +0 -233
- package/lib/alert/AlertLookup/AlertLookup.module.css +0 -23
- package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -189
- package/lib/avatar/AvatarClose/AvatarClose.js +0 -95
- package/lib/avatar/AvatarClose/AvatarClose.module.css +0 -37
- package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -63
- package/lib/avatar/AvatarCollision/AvatarCollision.js +0 -116
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +0 -69
- package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -77
- package/lib/avatar/AvatarIcon/AvatarIcon.js +0 -113
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +0 -36
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -76
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -71
- package/lib/avatar/AvatarStatus/AvatarStatus.js +0 -100
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +0 -93
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -74
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -97
- package/lib/avatar/AvatarThread/AvatarThread.js +0 -132
- package/lib/avatar/AvatarThread/AvatarThread.module.css +0 -65
- package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -91
- package/lib/avatar/AvatarUser/AvatarUser.js +0 -147
- package/lib/avatar/AvatarUser/AvatarUser.module.css +0 -101
- package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -168
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +0 -106
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +0 -23
- package/lib/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +0 -56
- package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -64
- package/lib/docs/generalDocs.js +0 -871
- package/lib/docs/lookupDocs.js +0 -196
- package/lib/docs/setupDocs.js +0 -223
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +0 -647
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +0 -74
- package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -94
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +0 -155
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -34
- package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -110
- package/lib/emptystate/EditionPage/EditionPage.css +0 -43
- package/lib/emptystate/EditionPage/EditionPage.js +0 -120
- package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -58
- package/lib/errorstate/EmptyStates.module.css +0 -45
- package/lib/errorstate/Inconvenience/Inconvenience.js +0 -116
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +0 -9
- package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -58
- package/lib/errorstate/LinkText/LinkText.js +0 -76
- package/lib/errorstate/LinkText/LinkText.module.css +0 -6
- package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +0 -54
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +0 -116
- package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +0 -5
- package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -55
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +0 -124
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +0 -33
- package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -59
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -116
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -5
- package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -58
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +0 -116
- package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +0 -18
- package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -58
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -116
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -18
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -59
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -58
- package/lib/errorstate/WillBack/WillBack.js +0 -105
- package/lib/errorstate/WillBack/WillBack.module.css +0 -21
- package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +0 -60
- package/lib/index.js +0 -87
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +0 -355
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +0 -152
- package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -99
- package/lib/layout/SetupDetailLayout/index.js +0 -34
- package/lib/layout/SubtabLayout/SubtabLayout.js +0 -255
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +0 -90
- package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -205
- package/lib/layout/SubtabLayout/index.js +0 -28
- package/lib/list/AvatarFlip/AvatarFlip.js +0 -128
- package/lib/list/AvatarFlip/AvatarFlip.module.css +0 -15
- package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -327
- package/lib/list/BluePrintStatus/BluePrintStatus.js +0 -72
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +0 -15
- package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -54
- package/lib/list/Comment/Comment.js +0 -103
- package/lib/list/Comment/Comment.module.css +0 -22
- package/lib/list/Comment/docs/Comment__default.docs.js +0 -59
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +0 -124
- package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +0 -83
- package/lib/list/Dot/Dot.js +0 -66
- package/lib/list/Dot/Dot.module.css +0 -13
- package/lib/list/DotNew/DotNew.js +0 -60
- package/lib/list/DotNew/DotNew.module.css +0 -19
- package/lib/list/DotNew/docs/DotNew__default.docs.js +0 -55
- package/lib/list/GridStencils/GridStencils.js +0 -84
- package/lib/list/GridStencils/GridStencils.module.css +0 -192
- package/lib/list/GridStencils/docs/GridStencils__default.docs.js +0 -72
- package/lib/list/Icons/AddNewIcon.js +0 -92
- package/lib/list/Icons/CompleteIcon.js +0 -80
- package/lib/list/Icons/DeleteIcon.js +0 -103
- package/lib/list/Icons/EditIcon.js +0 -102
- package/lib/list/Icons/FloatingIcons.js +0 -77
- package/lib/list/Icons/Icons.module.css +0 -15
- package/lib/list/Icons/SmartIcon.js +0 -67
- package/lib/list/Icons/docs/FloatingIcons__default.docs.js +0 -81
- package/lib/list/ListLayout/ListLayout.js +0 -163
- package/lib/list/ListLayout/ListLayout.module.css +0 -27
- package/lib/list/ListLayout/docs/ListLayout__default.docs.js +0 -150
- package/lib/list/ListStencils/ListStencils.js +0 -84
- package/lib/list/ListStencils/ListStencils.module.css +0 -27
- package/lib/list/ListStencils/docs/ListStencils__default.docs.js +0 -55
- package/lib/list/SecondaryText/AccountName.js +0 -127
- package/lib/list/SecondaryText/ContactName.js +0 -157
- package/lib/list/SecondaryText/DepartmentText.js +0 -73
- package/lib/list/SecondaryText/Email.js +0 -114
- package/lib/list/SecondaryText/HappinessRating.js +0 -84
- package/lib/list/SecondaryText/PhoneNumber.js +0 -117
- package/lib/list/SecondaryText/PriorityText.js +0 -81
- package/lib/list/SecondaryText/SecondaryText.js +0 -79
- package/lib/list/SecondaryText/SecondaryText.module.css +0 -104
- package/lib/list/SecondaryText/StatusText.js +0 -81
- package/lib/list/SecondaryText/TicketId.js +0 -83
- package/lib/list/SecondaryText/Website.js +0 -111
- package/lib/list/SecondaryText/docs/ContactName__default.docs.js +0 -55
- package/lib/list/SecondaryText/index.js +0 -106
- package/lib/list/SecondryPanel/SecondryPanel.js +0 -227
- package/lib/list/SecondryPanel/SecondryPanel.module.css +0 -27
- package/lib/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -41
- package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -152
- package/lib/list/SentimentStatus/SentimentStatus.js +0 -75
- package/lib/list/SentimentStatus/SentimentStatus.module.css +0 -12
- package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -54
- package/lib/list/StatusDropdown/StatusDropdown.js +0 -243
- package/lib/list/StatusDropdown/StatusDropdown.module.css +0 -65
- package/lib/list/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -96
- package/lib/list/Subject/Subject.js +0 -110
- package/lib/list/Subject/Subject.module.css +0 -9
- package/lib/list/Subject/docs/Subject__default.docs.js +0 -68
- package/lib/list/TagNew/TagNew.js +0 -77
- package/lib/list/TagNew/TagNew.module.css +0 -115
- package/lib/list/TagNew/docs/TagNew__default.docs.js +0 -55
- package/lib/list/Thread/Thread.js +0 -85
- package/lib/list/Thread/Thread.module.css +0 -20
- package/lib/list/Thread/docs/Thread__default.docs.js +0 -55
- package/lib/list/TimeInfo/TimeInfo.js +0 -191
- package/lib/list/TimeInfo/docs/TimeInfo__default.docs.js +0 -69
- package/lib/list/UserTime/UserTime.js +0 -135
- package/lib/list/UserTime/UserTime.module.css +0 -49
- package/lib/list/UserTime/docs/UserTime__default.docs.js +0 -192
- package/lib/list/listCommon.module.css +0 -92
- package/lib/lookup/EmptyPage/EmptyPage.js +0 -120
- package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +0 -12
- package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -55
- package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -55
- package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -54
- package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -55
- package/lib/lookup/Lookup/Lookup.js +0 -126
- package/lib/lookup/Lookup/Lookup.module.css +0 -22
- package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +0 -234
- package/lib/lookup/Lookup/docs/Lookup__default.docs.js +0 -113
- package/lib/lookup/Section/LookupSection.module.css +0 -7
- package/lib/lookup/Section/Section.js +0 -72
- package/lib/lookup/header/Close/Close.js +0 -79
- package/lib/lookup/header/Close/LookupClose.module.css +0 -15
- package/lib/lookup/header/Close/docs/Close__default.docs.js +0 -54
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +0 -140
- package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -75
- package/lib/lookup/header/Search/LookupSearch.module.css +0 -14
- package/lib/lookup/header/Search/Search.js +0 -161
- package/lib/lookup/header/Search/docs/Search__default.docs.js +0 -79
- package/lib/lookup/header/TicketHeader/TicketHeader.js +0 -175
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +0 -22
- package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -91
- package/lib/lookup/header/Title/LookupTitle.module.css +0 -20
- package/lib/lookup/header/Title/Title.js +0 -80
- package/lib/lookup/header/Title/docs/Title__default.docs.js +0 -54
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +0 -258
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +0 -52
- package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -81
- package/lib/lookup/header/lookupHeaderCommon.module.css +0 -33
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +0 -24
- package/lib/setup/header/Button/Button.js +0 -85
- package/lib/setup/header/Button/HeaderButton.module.css +0 -5
- package/lib/setup/header/Button/docs/Button__default.docs.js +0 -55
- package/lib/setup/header/Link/HeaderLink.module.css +0 -22
- package/lib/setup/header/Link/Link.js +0 -101
- package/lib/setup/header/Link/docs/Link__default.docs.js +0 -55
- package/lib/setup/header/Search/Search.js +0 -129
- package/lib/setup/header/Search/Search.module.css +0 -67
- package/lib/setup/header/Search/docs/Search__default.docs.js +0 -73
- package/lib/setup/header/SelectDropdown/SelectDropdown.js +0 -200
- package/lib/setup/header/SelectDropdown/SelectDropdown.module.css +0 -43
- package/lib/setup/header/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -63
- package/lib/setup/header/Views/Views.js +0 -102
- package/lib/setup/header/Views/Views.module.css +0 -37
- package/lib/setup/header/Views/docs/Views__default.docs.js +0 -59
- package/lib/setup/helptips/Description/Description.js +0 -64
- package/lib/setup/helptips/Description/HelpTipsDescription.module.css +0 -6
- package/lib/setup/helptips/Description/docs/Description__default.docs.js +0 -61
- package/lib/setup/helptips/Link/HelpTipsLink.module.css +0 -7
- package/lib/setup/helptips/Link/Link.js +0 -85
- package/lib/setup/helptips/Link/docs/Link__default.docs.js +0 -62
- package/lib/setup/helptips/ListGroup/ListGroup.js +0 -86
- package/lib/setup/helptips/ListGroup/ListGroup.module.css +0 -22
- package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -65
- package/lib/setup/helptips/Title/HelpTipsTitle.module.css +0 -5
- package/lib/setup/helptips/Title/Title.js +0 -64
- package/lib/setup/helptips/Title/docs/Title__default.docs.js +0 -59
- package/lib/setup/table/Table/Table.js +0 -70
- package/lib/setup/table/Table/docs/Table__default.docs.js +0 -228
- package/lib/setup/table/TableBody/TableBody.js +0 -70
- package/lib/setup/table/TableData/TableData.css +0 -44
- package/lib/setup/table/TableData/TableData.js +0 -88
- package/lib/setup/table/TableData/hover.css +0 -6
- package/lib/setup/table/TableHead/TableHead.css +0 -12
- package/lib/setup/table/TableHead/TableHead.js +0 -92
- package/lib/setup/table/TableRow/TableRow.css +0 -14
- package/lib/setup/table/TableRow/TableRow.js +0 -98
- package/lib/setup/table/Text/Text.css +0 -37
- package/lib/setup/table/Text/Text.js +0 -125
- package/lib/setup/table/Text/docs/Text__default.docs.js +0 -85
- package/lib/svg/PlusIcon.js +0 -87
- package/lib/svg/SnippetIcon.js +0 -90
- package/lib/svg/TemplateIcon.js +0 -85
- package/lib/svg/docs/SVG__default.docs.js +0 -110
- package/lib/utils/ChannelIconMapping.js +0 -118
- package/lib/utils/General.js +0 -26
- package/lib/utils/KeyboardApi.js +0 -262
- package/lib/utils/Ticket.js +0 -8
- package/postpublish.js +0 -100
- package/result.json +0 -1
- package/src/.DS_Store +0 -0
- package/src/ChannelIcon/ChannelIcon.js +0 -120
- package/src/ChannelIcon/ChannelIcon.module.css +0 -187
- package/src/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -63
- package/src/Drawer/Drawer.js +0 -273
- package/src/Drawer/Drawer.module.css +0 -151
- package/src/Drawer/docs/Drawer__default.docs.js +0 -45
- package/src/Drawer/docs/Drawer__noFreeze.docs.js +0 -21
- package/src/ExternalLink/ExternalLink.js +0 -57
- package/src/ExternalLink/ExternalLink.module.css +0 -4
- package/src/ExternalLink/__tests__/ExternalLink.spec.js +0 -28
- package/src/ExternalLink/docs/ExternalLink__default.docs.js +0 -24
- package/src/FlipCard/FlipCard.js +0 -156
- package/src/FlipCard/FlipCard.module.css +0 -35
- package/src/FlipCard/docs/FlipCard__default.docs.js +0 -76
- package/src/FormAction/FormAction.js +0 -120
- package/src/FormAction/FormAction.module.css +0 -52
- package/src/FormAction/docs/FormAction__default.docs.js +0 -94
- package/src/FreezeLayer/FreezeLayer.js +0 -123
- package/src/FreezeLayer/FreezeLayer.module.css +0 -37
- package/src/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -53
- package/src/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -51
- package/src/GridIcons/GridIcons.js +0 -63
- package/src/GridIcons/GridIcons.module.css +0 -11
- package/src/GridIcons/docs/GridIcons__default.docs.js +0 -13
- package/src/Image/Image.js +0 -41
- package/src/Image/Image.module.css +0 -11
- package/src/Image/docs/Image__default.docs.js +0 -18
- package/src/Link/Link.js +0 -115
- package/src/Link/Link.module.css +0 -4
- package/src/Link/LinkContext.js +0 -9
- package/src/Link/docs/Link__default.docs.js +0 -91
- package/src/PlusIcon/PlusIcon.js +0 -68
- package/src/PlusIcon/PlusIcon.module.css +0 -7
- package/src/PlusIcon/docs/PlusIcon__default.docs.js +0 -18
- package/src/ToastMessage/ToastMessage.js +0 -289
- package/src/ToastMessage/ToastMessage.module.css +0 -260
- package/src/ToastMessage/docs/ToastMessage__custom.docs.js +0 -97
- package/src/ToastMessage/docs/ToastMessage__information.docs.js +0 -55
- package/src/ToastMessage/docs/ToastMessage__primary.docs.js +0 -135
- package/src/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -40
- package/src/ToastMessage/docs/ToastMessage__success.docs.js +0 -68
- package/src/actions/index.js +0 -22
- package/src/alert/AlertHeader/AlertHeader.js +0 -115
- package/src/alert/AlertHeader/AlertHeader.module.css +0 -62
- package/src/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -72
- package/src/alert/AlertLookup/AlertLookup.js +0 -174
- package/src/alert/AlertLookup/AlertLookup.module.css +0 -20
- package/src/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -123
- package/src/avatar/AvatarClose/AvatarClose.js +0 -43
- package/src/avatar/AvatarClose/AvatarClose.module.css +0 -31
- package/src/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -26
- package/src/avatar/AvatarCollision/AvatarCollision.js +0 -72
- package/src/avatar/AvatarCollision/AvatarCollision.module.css +0 -55
- package/src/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -40
- package/src/avatar/AvatarIcon/AvatarIcon.js +0 -83
- package/src/avatar/AvatarIcon/AvatarIcon.module.css +0 -36
- package/src/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -35
- package/src/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -36
- package/src/avatar/AvatarStatus/AvatarStatus.js +0 -51
- package/src/avatar/AvatarStatus/AvatarStatus.module.css +0 -64
- package/src/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -34
- package/src/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -63
- package/src/avatar/AvatarThread/AvatarThread.js +0 -88
- package/src/avatar/AvatarThread/AvatarThread.module.css +0 -58
- package/src/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -45
- package/src/avatar/AvatarUser/AvatarUser.js +0 -100
- package/src/avatar/AvatarUser/AvatarUser.module.css +0 -61
- package/src/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -111
- package/src/avatar/AvatarWithTeam/AvatarWithTeam.js +0 -57
- package/src/avatar/AvatarWithTeam/AvatarWithTeam.module.css +0 -16
- package/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +0 -50
- package/src/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -28
- package/src/docs/generalDocs.js +0 -119
- package/src/docs/lookupDocs.js +0 -33
- package/src/docs/setupDocs.js +0 -27
- package/src/dropdown/ToggleDropDown/ToggleDropDown.js +0 -598
- package/src/dropdown/ToggleDropDown/ToggleDropDown.module.css +0 -65
- package/src/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -75
- package/src/emptystate/.DS_Store +0 -0
- package/src/emptystate/CommonEmptyState/.DS_Store +0 -0
- package/src/emptystate/CommonEmptyState/CommonEmptyState.js +0 -117
- package/src/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -31
- package/src/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -53
- package/src/emptystate/EditionPage/EditionPage.css +0 -37
- package/src/emptystate/EditionPage/EditionPage.js +0 -69
- package/src/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -23
- package/src/errorstate/EmptyStates.module.css +0 -40
- package/src/errorstate/Inconvenience/Inconvenience.js +0 -42
- package/src/errorstate/Inconvenience/Inconvenience.module.css +0 -6
- package/src/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -19
- package/src/errorstate/LinkText/LinkText.js +0 -28
- package/src/errorstate/LinkText/LinkText.module.css +0 -6
- package/src/errorstate/LinkText/docs/LinkText__default.docs.js +0 -13
- package/src/errorstate/NoRequestFound/NoRequestFound.js +0 -42
- package/src/errorstate/NoRequestFound/NoRequestFound.module.css +0 -5
- package/src/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -19
- package/src/errorstate/PermissionPlay/PermissionPlay.js +0 -46
- package/src/errorstate/PermissionPlay/PermissionPlay.module.css +0 -33
- package/src/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -20
- package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -42
- package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -5
- package/src/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -19
- package/src/errorstate/UnableToProcess/UnableToProcess.js +0 -42
- package/src/errorstate/UnableToProcess/UnableToProcess.module.css +0 -14
- package/src/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -19
- package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -42
- package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -14
- package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -20
- package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -19
- package/src/errorstate/WillBack/WillBack.js +0 -40
- package/src/errorstate/WillBack/WillBack.module.css +0 -21
- package/src/errorstate/WillBack/docs/WillBack__default.docs.js +0 -21
- package/src/index.js +0 -14
- package/src/layout/SetupDetailLayout/SetupDetailLayout.js +0 -248
- package/src/layout/SetupDetailLayout/SetupDetailLayout.module.css +0 -116
- package/src/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -35
- package/src/layout/SetupDetailLayout/index.js +0 -4
- package/src/layout/SubtabLayout/SubtabLayout.js +0 -166
- package/src/layout/SubtabLayout/SubtabLayout.module.css +0 -66
- package/src/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -72
- package/src/layout/SubtabLayout/index.js +0 -3
- package/src/list/AvatarFlip/AvatarFlip.js +0 -86
- package/src/list/AvatarFlip/AvatarFlip.module.css +0 -15
- package/src/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -207
- package/src/list/BluePrintStatus/BluePrintStatus.js +0 -31
- package/src/list/BluePrintStatus/BluePrintStatus.module.css +0 -13
- package/src/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -20
- package/src/list/Comment/Comment.js +0 -54
- package/src/list/Comment/Comment.module.css +0 -17
- package/src/list/Comment/docs/Comment__default.docs.js +0 -22
- package/src/list/DepartmentDropDown/DepartmentDropDown.js +0 -78
- package/src/list/DepartmentDropDown/DepartmentDropDown.module.css +0 -62
- package/src/list/Dot/Dot.js +0 -28
- package/src/list/Dot/Dot.module.css +0 -13
- package/src/list/DotNew/DotNew.js +0 -24
- package/src/list/DotNew/DotNew.module.css +0 -16
- package/src/list/DotNew/docs/DotNew__default.docs.js +0 -18
- package/src/list/GridStencils/GridStencils.js +0 -46
- package/src/list/GridStencils/GridStencils.module.css +0 -131
- package/src/list/GridStencils/docs/GridStencils__default.docs.js +0 -30
- package/src/list/Icons/AddNewIcon.js +0 -53
- package/src/list/Icons/CompleteIcon.js +0 -54
- package/src/list/Icons/DeleteIcon.js +0 -61
- package/src/list/Icons/EditIcon.js +0 -61
- package/src/list/Icons/FloatingIcons.js +0 -32
- package/src/list/Icons/Icons.module.css +0 -15
- package/src/list/Icons/SmartIcon.js +0 -40
- package/src/list/Icons/docs/FloatingIcons__default.docs.js +0 -37
- package/src/list/ListLayout/ListLayout.js +0 -105
- package/src/list/ListLayout/ListLayout.module.css +0 -30
- package/src/list/ListLayout/docs/ListLayout__default.docs.js +0 -54
- package/src/list/ListStencils/ListStencils.js +0 -34
- package/src/list/ListStencils/ListStencils.module.css +0 -24
- package/src/list/ListStencils/docs/ListStencils__default.docs.js +0 -18
- package/src/list/SecondaryText/AccountName.js +0 -80
- package/src/list/SecondaryText/ContactName.js +0 -107
- package/src/list/SecondaryText/DepartmentText.js +0 -32
- package/src/list/SecondaryText/Email.js +0 -69
- package/src/list/SecondaryText/HappinessRating.js +0 -37
- package/src/list/SecondaryText/PhoneNumber.js +0 -72
- package/src/list/SecondaryText/PriorityText.js +0 -40
- package/src/list/SecondaryText/SecondaryText.js +0 -36
- package/src/list/SecondaryText/SecondaryText.module.css +0 -94
- package/src/list/SecondaryText/StatusText.js +0 -47
- package/src/list/SecondaryText/TicketId.js +0 -41
- package/src/list/SecondaryText/Website.js +0 -58
- package/src/list/SecondaryText/docs/ContactName__default.docs.js +0 -18
- package/src/list/SecondaryText/index.js +0 -11
- package/src/list/SecondryPanel/SecondryPanel.js +0 -120
- package/src/list/SecondryPanel/SecondryPanel.module.css +0 -27
- package/src/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -41
- package/src/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -66
- package/src/list/SentimentStatus/SentimentStatus.js +0 -32
- package/src/list/SentimentStatus/SentimentStatus.module.css +0 -9
- package/src/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -20
- package/src/list/StatusDropdown/StatusDropdown.js +0 -174
- package/src/list/StatusDropdown/StatusDropdown.module.css +0 -51
- package/src/list/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -72
- package/src/list/Subject/Subject.js +0 -71
- package/src/list/Subject/Subject.module.css +0 -9
- package/src/list/Subject/docs/Subject__default.docs.js +0 -27
- package/src/list/TagNew/TagNew.js +0 -37
- package/src/list/TagNew/TagNew.module.css +0 -108
- package/src/list/TagNew/docs/TagNew__default.docs.js +0 -18
- package/src/list/Thread/Thread.js +0 -36
- package/src/list/Thread/Thread.module.css +0 -15
- package/src/list/Thread/docs/Thread__default.docs.js +0 -18
- package/src/list/TimeInfo/TimeInfo.js +0 -156
- package/src/list/TimeInfo/docs/TimeInfo__default.docs.js +0 -26
- package/src/list/UserTime/UserTime.js +0 -130
- package/src/list/UserTime/UserTime.module.css +0 -42
- package/src/list/UserTime/docs/UserTime__default.docs.js +0 -122
- package/src/list/listCommon.module.css +0 -84
- package/src/lookup/.DS_Store +0 -0
- package/src/lookup/EmptyPage/EmptyPage.js +0 -62
- package/src/lookup/EmptyPage/LookupEmptyPage.module.css +0 -12
- package/src/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -17
- package/src/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -17
- package/src/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -16
- package/src/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -17
- package/src/lookup/Lookup/Lookup.js +0 -80
- package/src/lookup/Lookup/Lookup.module.css +0 -22
- package/src/lookup/Lookup/docs/Lookup__contact.docs.js +0 -189
- package/src/lookup/Lookup/docs/Lookup__default.docs.js +0 -59
- package/src/lookup/Section/LookupSection.module.css +0 -7
- package/src/lookup/Section/Section.js +0 -27
- package/src/lookup/header/.DS_Store +0 -0
- package/src/lookup/header/Close/Close.js +0 -36
- package/src/lookup/header/Close/LookupClose.module.css +0 -15
- package/src/lookup/header/Close/docs/Close__default.docs.js +0 -17
- package/src/lookup/header/ModuleHeader/ModuleHeader.js +0 -76
- package/src/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -39
- package/src/lookup/header/Search/LookupSearch.module.css +0 -14
- package/src/lookup/header/Search/Search.js +0 -104
- package/src/lookup/header/Search/docs/Search__default.docs.js +0 -41
- package/src/lookup/header/TicketHeader/TicketHeader.js +0 -105
- package/src/lookup/header/TicketHeader/TicketHeader.module.css +0 -19
- package/src/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -63
- package/src/lookup/header/Title/LookupTitle.module.css +0 -20
- package/src/lookup/header/Title/Title.js +0 -37
- package/src/lookup/header/Title/docs/Title__default.docs.js +0 -17
- package/src/lookup/header/ViewDropDown/ViewDropDown.js +0 -185
- package/src/lookup/header/ViewDropDown/ViewDropDown.module.css +0 -50
- package/src/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -54
- package/src/lookup/header/lookupHeaderCommon.module.css +0 -21
- package/src/lookup/header/lookupHeaderCommonResponsive.module.css +0 -15
- package/src/setup/header/Button/Button.js +0 -40
- package/src/setup/header/Button/HeaderButton.module.css +0 -3
- package/src/setup/header/Button/docs/Button__default.docs.js +0 -21
- package/src/setup/header/Link/HeaderLink.module.css +0 -16
- package/src/setup/header/Link/Link.js +0 -48
- package/src/setup/header/Link/docs/Link__default.docs.js +0 -20
- package/src/setup/header/Search/Search.js +0 -74
- package/src/setup/header/Search/Search.module.css +0 -56
- package/src/setup/header/Search/docs/Search__default.docs.js +0 -32
- package/src/setup/header/SelectDropdown/SelectDropdown.js +0 -122
- package/src/setup/header/SelectDropdown/SelectDropdown.module.css +0 -35
- package/src/setup/header/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -31
- package/src/setup/header/Views/Views.js +0 -62
- package/src/setup/header/Views/Views.module.css +0 -27
- package/src/setup/header/Views/docs/Views__default.docs.js +0 -20
- package/src/setup/helptips/Description/Description.js +0 -22
- package/src/setup/helptips/Description/HelpTipsDescription.module.css +0 -6
- package/src/setup/helptips/Description/docs/Description__default.docs.js +0 -24
- package/src/setup/helptips/Link/HelpTipsLink.module.css +0 -6
- package/src/setup/helptips/Link/Link.js +0 -40
- package/src/setup/helptips/Link/docs/Link__default.docs.js +0 -27
- package/src/setup/helptips/ListGroup/ListGroup.js +0 -42
- package/src/setup/helptips/ListGroup/ListGroup.module.css +0 -17
- package/src/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -37
- package/src/setup/helptips/Title/HelpTipsTitle.module.css +0 -5
- package/src/setup/helptips/Title/Title.js +0 -22
- package/src/setup/helptips/Title/docs/Title__default.docs.js +0 -22
- package/src/setup/table/Table/Table.js +0 -25
- package/src/setup/table/Table/docs/Table__default.docs.js +0 -115
- package/src/setup/table/TableBody/TableBody.js +0 -27
- package/src/setup/table/TableData/TableData.css +0 -36
- package/src/setup/table/TableData/TableData.js +0 -45
- package/src/setup/table/TableData/hover.css +0 -6
- package/src/setup/table/TableHead/TableHead.css +0 -8
- package/src/setup/table/TableHead/TableHead.js +0 -53
- package/src/setup/table/TableRow/TableRow.css +0 -10
- package/src/setup/table/TableRow/TableRow.js +0 -60
- package/src/setup/table/Text/Text.css +0 -37
- package/src/setup/table/Text/Text.js +0 -81
- package/src/setup/table/Text/docs/Text__default.docs.js +0 -38
- package/src/svg/.DS_Store +0 -0
- package/src/svg/PlusIcon.js +0 -43
- package/src/svg/SnippetIcon.js +0 -50
- package/src/svg/TemplateIcon.js +0 -46
- package/src/svg/docs/SVG__default.docs.js +0 -46
- package/src/svg/images/.DS_Store +0 -0
- package/src/utils/ChannelIconMapping.js +0 -112
- package/src/utils/General.js +0 -18
- package/src/utils/KeyboardApi.js +0 -280
- package/src/utils/Ticket.js +0 -10
- package/unittest/index.html +0 -37
package/lib/svg/SnippetIcon.js
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
|
|
7
|
-
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
8
|
-
|
|
9
|
-
var _react = require('react');
|
|
10
|
-
|
|
11
|
-
var _react2 = _interopRequireDefault(_react);
|
|
12
|
-
|
|
13
|
-
var _propTypes = require('prop-types');
|
|
14
|
-
|
|
15
|
-
var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
16
|
-
|
|
17
|
-
var _SVG = require('@zohodesk/svg/lib/svg/SVG');
|
|
18
|
-
|
|
19
|
-
var _SVG2 = _interopRequireDefault(_SVG);
|
|
20
|
-
|
|
21
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
22
|
-
|
|
23
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
24
|
-
|
|
25
|
-
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
26
|
-
|
|
27
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
28
|
-
|
|
29
|
-
var SnippetIcon = function (_React$Component) {
|
|
30
|
-
_inherits(SnippetIcon, _React$Component);
|
|
31
|
-
|
|
32
|
-
function SnippetIcon() {
|
|
33
|
-
_classCallCheck(this, SnippetIcon);
|
|
34
|
-
|
|
35
|
-
return _possibleConstructorReturn(this, (SnippetIcon.__proto__ || Object.getPrototypeOf(SnippetIcon)).apply(this, arguments));
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
_createClass(SnippetIcon, [{
|
|
39
|
-
key: 'render',
|
|
40
|
-
value: function render() {
|
|
41
|
-
var _props = this.props,
|
|
42
|
-
isRender = _props.isRender,
|
|
43
|
-
isSymbol = _props.isSymbol,
|
|
44
|
-
className = _props.className;
|
|
45
|
-
|
|
46
|
-
return _react2.default.createElement(
|
|
47
|
-
_SVG2.default,
|
|
48
|
-
{
|
|
49
|
-
viewBox: '0 0 31 32',
|
|
50
|
-
name: 'SnippetIcon',
|
|
51
|
-
isRender: isRender,
|
|
52
|
-
isSymbol: isSymbol,
|
|
53
|
-
className: className
|
|
54
|
-
},
|
|
55
|
-
_react2.default.createElement(
|
|
56
|
-
'g',
|
|
57
|
-
null,
|
|
58
|
-
_react2.default.createElement('path', {
|
|
59
|
-
d: 'M14.4,8.2L15.6,9L16,8.4l-1-0.7l2.5-3.7L11.5,0L8.9,3.8L7.9,3L7.6,3.6l1.2,0.8c-2.3,3-5.9,0.8-6,0.7L2.3,4.9L0,23.8 l16.6-9.3l-0.4-0.3C15.9,13.9,12.6,11.5,14.4,8.2L14.4,8.2z M1.5,22l5.2-7.7c0.3,0.1,0.6,0.2,0.9,0.2c1.2,0,2.1-0.9,2.2-2.1 c0-1.2-0.9-2.1-2.1-2.2c-1.2,0-2.1,0.9-2.2,2.1c0,0.6,0.2,1.2,0.7,1.6L1,21.6L2.8,6c1.2,0.6,4.4,1.7,6.5-1.1l4.5,3 c-1.8,3,0.4,5.6,1.4,6.5L1.5,22L1.5,22z M6.7,13.6c-0.7-0.4-0.8-1.3-0.4-2s1.3-0.8,2-0.4c0.7,0.4,0.8,1.3,0.4,2 c-0.2,0.3-0.5,0.5-0.9,0.6C7.5,13.9,7.1,13.8,6.7,13.6L6.7,13.6z'
|
|
60
|
-
}),
|
|
61
|
-
_react2.default.createElement('path', {
|
|
62
|
-
style: { fill: '#03A3FE' },
|
|
63
|
-
d: 'M30.9,25c-4.9,0.7-5.4,1.2-5.9,6.7c-0.6-5.4-1.1-6-6.1-6.5c4.9-0.7,5.4-1.2,5.9-6.7 C25.4,23.9,25.9,24.5,30.9,25z M30.3,8.2c-4.5,0.6-4.9,1.1-5.5,6.3c-0.5-5.3-0.9-5.8-5.4-6.4c4.5-0.6,4.9-1.1,5.5-6.3 C25.4,7.1,25.8,7.6,30.3,8.2z M16.2,25.7c-4.5,0.6-4.9,1.1-5.5,6.3c-0.5-5.3-0.9-5.8-5.4-6.4c4.5-0.6,4.9-1.1,5.5-6.3 C11.3,24.6,11.7,25.1,16.2,25.7z'
|
|
64
|
-
})
|
|
65
|
-
)
|
|
66
|
-
);
|
|
67
|
-
}
|
|
68
|
-
}]);
|
|
69
|
-
|
|
70
|
-
return SnippetIcon;
|
|
71
|
-
}(_react2.default.Component);
|
|
72
|
-
|
|
73
|
-
exports.default = SnippetIcon;
|
|
74
|
-
|
|
75
|
-
SnippetIcon.propTypes = {
|
|
76
|
-
className: _propTypes2.default.string,
|
|
77
|
-
isRender: _propTypes2.default.bool,
|
|
78
|
-
isSymbol: _propTypes2.default.bool
|
|
79
|
-
};
|
|
80
|
-
SnippetIcon.defaultProps = {
|
|
81
|
-
isRender: true,
|
|
82
|
-
isSymbol: false,
|
|
83
|
-
className: ''
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
if (false) {
|
|
87
|
-
SnippetIcon.docs = {
|
|
88
|
-
componentGroup: 'SVG'
|
|
89
|
-
};
|
|
90
|
-
}
|
package/lib/svg/TemplateIcon.js
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
|
|
7
|
-
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
8
|
-
|
|
9
|
-
var _react = require('react');
|
|
10
|
-
|
|
11
|
-
var _react2 = _interopRequireDefault(_react);
|
|
12
|
-
|
|
13
|
-
var _propTypes = require('prop-types');
|
|
14
|
-
|
|
15
|
-
var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
16
|
-
|
|
17
|
-
var _SVG = require('@zohodesk/svg/lib/svg/SVG');
|
|
18
|
-
|
|
19
|
-
var _SVG2 = _interopRequireDefault(_SVG);
|
|
20
|
-
|
|
21
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
22
|
-
|
|
23
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
24
|
-
|
|
25
|
-
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
26
|
-
|
|
27
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
28
|
-
|
|
29
|
-
var TemplateIcon = function (_React$Component) {
|
|
30
|
-
_inherits(TemplateIcon, _React$Component);
|
|
31
|
-
|
|
32
|
-
function TemplateIcon() {
|
|
33
|
-
_classCallCheck(this, TemplateIcon);
|
|
34
|
-
|
|
35
|
-
return _possibleConstructorReturn(this, (TemplateIcon.__proto__ || Object.getPrototypeOf(TemplateIcon)).apply(this, arguments));
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
_createClass(TemplateIcon, [{
|
|
39
|
-
key: 'render',
|
|
40
|
-
value: function render() {
|
|
41
|
-
var _props = this.props,
|
|
42
|
-
isRender = _props.isRender,
|
|
43
|
-
isSymbol = _props.isSymbol,
|
|
44
|
-
className = _props.className;
|
|
45
|
-
|
|
46
|
-
return _react2.default.createElement(
|
|
47
|
-
_SVG2.default,
|
|
48
|
-
{
|
|
49
|
-
viewBox: '0 0 32 32',
|
|
50
|
-
name: 'TemplateIcon',
|
|
51
|
-
isRender: isRender,
|
|
52
|
-
isSymbol: isSymbol,
|
|
53
|
-
className: className
|
|
54
|
-
},
|
|
55
|
-
_react2.default.createElement(
|
|
56
|
-
'g',
|
|
57
|
-
null,
|
|
58
|
-
_react2.default.createElement('path', {
|
|
59
|
-
d: 'M3.6,27.7h5.9v2.8c0,0.8,0.7,1.5,1.5,1.5h17.4c0.8,0,1.5-0.7,1.5-1.5V5.9c0-0.8-0.7-1.5-1.5-1.5h-5.9V1.5 C22.5,0.7,21.8,0,21,0L3.6,0C2.8,0,2.1,0.7,2.1,1.5v24.6C2.1,27,2.8,27.7,3.6,27.7z M28.4,5.7c0.1,0,0.2,0.1,0.2,0.2v24.6 c0,0.1-0.1,0.2-0.2,0.2H11c-0.1,0-0.2-0.1-0.2-0.2V5.9c0-0.1,0.1-0.2,0.2-0.2C11,5.7,28.4,5.7,28.4,5.7z M9.5,16.6v3.1V16.6z M9.5,12v3.3V12z M9.5,7.6v3.2V7.6z M9.5,21v5.3H3.6c-0.1,0-0.2-0.1-0.2-0.2V1.5c0-0.1,0.1-0.2,0.2-0.2H21c0.1,0,0.2,0.1,0.2,0.2 v2.7L11,4.3c-0.8,0-1.5,0.7-1.5,1.5v0.1L9.5,21z M26.9,25.5c0,0.4-0.3,0.7-0.7,0.7H15.7c-0.4,0-0.7-0.3-0.7-0.7s0.3-0.7,0.7-0.7 h10.6C26.6,24.8,26.9,25.1,26.9,25.5z M12.8,21c0-0.4,0.3-0.7,0.7-0.7h12.8c0.4,0,0.7,0.3,0.7,0.7s-0.3,0.7-0.7,0.7H13.4 C13.1,21.7,12.8,21.4,12.8,21L12.8,21z M12.8,16.5c0-0.4,0.3-0.7,0.7-0.7h12.8c0.4,0,0.7,0.3,0.7,0.7s-0.3,0.7-0.7,0.7H13.4 C13.1,17.1,12.8,16.8,12.8,16.5L12.8,16.5z M12.8,12c0-0.4,0.3-0.7,0.7-0.7h12.8c0.4,0,0.7,0.3,0.7,0.7s-0.3,0.7-0.7,0.7H13.4 C13.1,12.6,12.8,12.4,12.8,12L12.8,12z'
|
|
60
|
-
})
|
|
61
|
-
)
|
|
62
|
-
);
|
|
63
|
-
}
|
|
64
|
-
}]);
|
|
65
|
-
|
|
66
|
-
return TemplateIcon;
|
|
67
|
-
}(_react2.default.Component);
|
|
68
|
-
|
|
69
|
-
exports.default = TemplateIcon;
|
|
70
|
-
|
|
71
|
-
TemplateIcon.propTypes = {
|
|
72
|
-
className: _propTypes2.default.string,
|
|
73
|
-
isRender: _propTypes2.default.bool,
|
|
74
|
-
isSymbol: _propTypes2.default.bool
|
|
75
|
-
};
|
|
76
|
-
TemplateIcon.defaultProps = {
|
|
77
|
-
isRender: true,
|
|
78
|
-
isSymbol: false,
|
|
79
|
-
className: ''
|
|
80
|
-
};
|
|
81
|
-
if (false) {
|
|
82
|
-
TemplateIcon.docs = {
|
|
83
|
-
componentGroup: 'SVG'
|
|
84
|
-
};
|
|
85
|
-
}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
|
|
7
|
-
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
8
|
-
|
|
9
|
-
var _react = require('react');
|
|
10
|
-
|
|
11
|
-
var _react2 = _interopRequireDefault(_react);
|
|
12
|
-
|
|
13
|
-
var _PlusIcon = require('../PlusIcon');
|
|
14
|
-
|
|
15
|
-
var _PlusIcon2 = _interopRequireDefault(_PlusIcon);
|
|
16
|
-
|
|
17
|
-
var _SnippetIcon = require('../SnippetIcon');
|
|
18
|
-
|
|
19
|
-
var _SnippetIcon2 = _interopRequireDefault(_SnippetIcon);
|
|
20
|
-
|
|
21
|
-
var _TemplateIcon = require('../TemplateIcon');
|
|
22
|
-
|
|
23
|
-
var _TemplateIcon2 = _interopRequireDefault(_TemplateIcon);
|
|
24
|
-
|
|
25
|
-
var _Layout = require('@zohodesk/components/lib/Layout');
|
|
26
|
-
|
|
27
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
28
|
-
|
|
29
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
30
|
-
|
|
31
|
-
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
32
|
-
|
|
33
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
34
|
-
|
|
35
|
-
var SVG__default = function (_React$Component) {
|
|
36
|
-
_inherits(SVG__default, _React$Component);
|
|
37
|
-
|
|
38
|
-
function SVG__default() {
|
|
39
|
-
_classCallCheck(this, SVG__default);
|
|
40
|
-
|
|
41
|
-
return _possibleConstructorReturn(this, (SVG__default.__proto__ || Object.getPrototypeOf(SVG__default)).apply(this, arguments));
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
_createClass(SVG__default, [{
|
|
45
|
-
key: 'render',
|
|
46
|
-
value: function render() {
|
|
47
|
-
var boxStyle = {
|
|
48
|
-
minWidth: '15%',
|
|
49
|
-
border: '1px solid #dcdcdc',
|
|
50
|
-
padding: '5px',
|
|
51
|
-
margin: '5px'
|
|
52
|
-
};
|
|
53
|
-
var textStyle = {
|
|
54
|
-
textAlign: 'center',
|
|
55
|
-
padding: '10px 0',
|
|
56
|
-
background: ' #f9f9f9',
|
|
57
|
-
marginTop: '10px',
|
|
58
|
-
color: '#000'
|
|
59
|
-
};
|
|
60
|
-
return _react2.default.createElement(
|
|
61
|
-
_react2.default.Fragment,
|
|
62
|
-
null,
|
|
63
|
-
_react2.default.createElement(
|
|
64
|
-
_Layout.Container,
|
|
65
|
-
{ alignBox: 'row', align: 'both', wrap: 'wrap' },
|
|
66
|
-
_react2.default.createElement(
|
|
67
|
-
_Layout.Box,
|
|
68
|
-
{ flexible: true, style: boxStyle },
|
|
69
|
-
_react2.default.createElement(_PlusIcon2.default, null),
|
|
70
|
-
_react2.default.createElement(
|
|
71
|
-
'div',
|
|
72
|
-
{ style: textStyle },
|
|
73
|
-
'PlusIcon'
|
|
74
|
-
)
|
|
75
|
-
),
|
|
76
|
-
_react2.default.createElement(
|
|
77
|
-
_Layout.Box,
|
|
78
|
-
{ flexible: true, style: boxStyle },
|
|
79
|
-
_react2.default.createElement(_SnippetIcon2.default, null),
|
|
80
|
-
_react2.default.createElement(
|
|
81
|
-
'div',
|
|
82
|
-
{ style: textStyle },
|
|
83
|
-
'SnippetIcon'
|
|
84
|
-
)
|
|
85
|
-
),
|
|
86
|
-
_react2.default.createElement(
|
|
87
|
-
_Layout.Box,
|
|
88
|
-
{ flexible: true, style: boxStyle },
|
|
89
|
-
_react2.default.createElement(_TemplateIcon2.default, null),
|
|
90
|
-
_react2.default.createElement(
|
|
91
|
-
'div',
|
|
92
|
-
{ style: textStyle },
|
|
93
|
-
'TemplateIcon'
|
|
94
|
-
)
|
|
95
|
-
)
|
|
96
|
-
)
|
|
97
|
-
);
|
|
98
|
-
}
|
|
99
|
-
}]);
|
|
100
|
-
|
|
101
|
-
return SVG__default;
|
|
102
|
-
}(_react2.default.Component);
|
|
103
|
-
|
|
104
|
-
exports.default = SVG__default;
|
|
105
|
-
|
|
106
|
-
if (false) {
|
|
107
|
-
SVG__default.docs = {
|
|
108
|
-
componentGroup: 'SVG'
|
|
109
|
-
};
|
|
110
|
-
}
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.getChannelMappingObj = getChannelMappingObj;
|
|
7
|
-
function getChannelMappingObj() {
|
|
8
|
-
return {
|
|
9
|
-
EMAIL: {
|
|
10
|
-
default: 'ZD-channelMail',
|
|
11
|
-
incoming: 'ZD-channelMailIn',
|
|
12
|
-
outgoing: 'ZD-channelMailOut',
|
|
13
|
-
draft: 'ZD-channelDraft',
|
|
14
|
-
forward: 'ZD-channelForward',
|
|
15
|
-
forwardDraft: 'ZD-channelForwardDraft',
|
|
16
|
-
missed: 'ZD-channelMailMissed'
|
|
17
|
-
},
|
|
18
|
-
FACEBOOK: {
|
|
19
|
-
default: 'ZD-channelFacebook',
|
|
20
|
-
incoming: 'ZD-channelFacebookIn',
|
|
21
|
-
outgoing: 'ZD-channelFacebookOut',
|
|
22
|
-
draft: 'ZD-channelDraft',
|
|
23
|
-
forward: 'ZD-channelForward',
|
|
24
|
-
forwardDraft: 'ZD-channelForwardDraft',
|
|
25
|
-
missed: 'ZD-channelFacebookMissed'
|
|
26
|
-
},
|
|
27
|
-
FACEBOOK_DM: {
|
|
28
|
-
default: 'ZD-channelDirectFb',
|
|
29
|
-
incoming: 'ZD-channelDirectFbIn',
|
|
30
|
-
outgoing: 'ZD-channelDirectFbOut',
|
|
31
|
-
draft: 'ZD-channelDraft',
|
|
32
|
-
forward: 'ZD-channelForward',
|
|
33
|
-
forwardDraft: 'ZD-channelForwardDraft',
|
|
34
|
-
missed: 'ZD-channelDirectFbMissed'
|
|
35
|
-
},
|
|
36
|
-
TWITTER: {
|
|
37
|
-
default: 'ZD-channelTwitter',
|
|
38
|
-
incoming: 'ZD-channelTwitterIn',
|
|
39
|
-
outgoing: 'ZD-channelTwitterOut',
|
|
40
|
-
draft: 'ZD-channelDraft',
|
|
41
|
-
forward: 'ZD-channelForward',
|
|
42
|
-
forwardDraft: 'ZD-channelForwardDraft',
|
|
43
|
-
missed: 'ZD-channelTwitterMissed'
|
|
44
|
-
},
|
|
45
|
-
FORUMS: {
|
|
46
|
-
default: 'ZD-channelForum',
|
|
47
|
-
incoming: 'ZD-channelForumIn',
|
|
48
|
-
outgoing: 'ZD-channelForumOut',
|
|
49
|
-
draft: 'ZD-channelDraft',
|
|
50
|
-
forward: 'ZD-channelForward',
|
|
51
|
-
forwardDraft: 'ZD-channelForwardDraft',
|
|
52
|
-
missed: 'ZD-channelForumMissed'
|
|
53
|
-
},
|
|
54
|
-
CHAT: {
|
|
55
|
-
default: 'ZD-channelChat',
|
|
56
|
-
incoming: 'ZD-channelChatIn',
|
|
57
|
-
outgoing: 'ZD-channelChatOut',
|
|
58
|
-
draft: 'ZD-channelDraft',
|
|
59
|
-
forward: 'ZD-channelForward',
|
|
60
|
-
forwardDraft: 'ZD-channelForwardDraft',
|
|
61
|
-
missed: 'ZD-channelChatMissed'
|
|
62
|
-
},
|
|
63
|
-
OFFLINE_CHAT: {
|
|
64
|
-
default: 'ZD-channelChat',
|
|
65
|
-
incoming: 'ZD-channelChatIn',
|
|
66
|
-
outgoing: 'ZD-channelChatOut',
|
|
67
|
-
draft: 'ZD-channelDraft',
|
|
68
|
-
forward: 'ZD-channelForward',
|
|
69
|
-
forwardDraft: 'ZD-channelForwardDraft',
|
|
70
|
-
missed: 'ZD-channelChatMissed'
|
|
71
|
-
},
|
|
72
|
-
ONLINE_CHAT: {
|
|
73
|
-
default: 'ZD-channelChat',
|
|
74
|
-
incoming: 'ZD-channelChatIn',
|
|
75
|
-
outgoing: 'ZD-channelChatOut',
|
|
76
|
-
draft: 'ZD-channelDraft',
|
|
77
|
-
forward: 'ZD-channelForward',
|
|
78
|
-
forwardDraft: 'ZD-channelForwardDraft',
|
|
79
|
-
missed: 'ZD-channelChatMissed'
|
|
80
|
-
},
|
|
81
|
-
PHONE: {
|
|
82
|
-
default: 'ZD-channelPhone',
|
|
83
|
-
incoming: 'ZD-channelPhoneIn',
|
|
84
|
-
outgoing: 'ZD-channelPhoneOut',
|
|
85
|
-
draft: 'ZD-channelDraft',
|
|
86
|
-
forward: 'ZD-channelForward',
|
|
87
|
-
forwardDraft: 'ZD-channelForwardDraft',
|
|
88
|
-
missed: 'ZD-channelPhoneIn'
|
|
89
|
-
},
|
|
90
|
-
WEB: {
|
|
91
|
-
default: 'ZD-channelWeb',
|
|
92
|
-
incoming: 'ZD-channelWebIn',
|
|
93
|
-
out: 'ZD-channelWebOut',
|
|
94
|
-
draft: 'ZD-channelDraft',
|
|
95
|
-
forward: 'ZD-channelForward',
|
|
96
|
-
forwardDraft: 'ZD-channelForwardDraft',
|
|
97
|
-
missed: 'ZD-channelWebMissed'
|
|
98
|
-
},
|
|
99
|
-
CUSTOMERPORTAL: {
|
|
100
|
-
default: 'ZD-channelWeb',
|
|
101
|
-
incoming: 'ZD-channelWebIn',
|
|
102
|
-
out: 'ZD-channelWebOut',
|
|
103
|
-
draft: 'ZD-channelDraft',
|
|
104
|
-
forward: 'ZD-channelForward',
|
|
105
|
-
forwardDraft: 'ZD-channelForwardDraft',
|
|
106
|
-
missed: 'ZD-channelWebMissed'
|
|
107
|
-
},
|
|
108
|
-
FEEDBACK: {
|
|
109
|
-
default: 'ZD-channelHappiness',
|
|
110
|
-
incoming: 'ZD-channelHappinessIn',
|
|
111
|
-
out: 'ZD-channelHappinessOut',
|
|
112
|
-
draft: 'ZD-channelDraft',
|
|
113
|
-
forward: 'ZD-channelForward',
|
|
114
|
-
forwardDraft: 'ZD-channelForwardDraft',
|
|
115
|
-
missed: 'ZD-channelHappinessMissed'
|
|
116
|
-
}
|
|
117
|
-
};
|
|
118
|
-
}
|
package/lib/utils/General.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.stopBubbling = stopBubbling;
|
|
7
|
-
exports.getFullName = getFullName;
|
|
8
|
-
function stopBubbling(event) {
|
|
9
|
-
event.preventDefault();
|
|
10
|
-
event.stopPropagation && event.stopPropagation();
|
|
11
|
-
event.nativeEvent && event.nativeEvent.stopImmediatePropagation && event.nativeEvent.stopImmediatePropagation();
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
function getFullName() {
|
|
15
|
-
var firstName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
16
|
-
var lastName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
17
|
-
|
|
18
|
-
var fullName = '';
|
|
19
|
-
if (firstName !== null && firstName !== '') {
|
|
20
|
-
fullName = firstName;
|
|
21
|
-
}
|
|
22
|
-
if (lastName !== null && lastName !== '') {
|
|
23
|
-
fullName = '' + fullName + lastName;
|
|
24
|
-
}
|
|
25
|
-
return fullName;
|
|
26
|
-
}
|
package/lib/utils/KeyboardApi.js
DELETED
|
@@ -1,262 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.Shortcut = Shortcut;
|
|
7
|
-
exports.keycallback = keycallback;
|
|
8
|
-
|
|
9
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
|
-
|
|
11
|
-
//$Id$
|
|
12
|
-
var isShortCutEnabled = void 0;
|
|
13
|
-
var showShortcut = {};
|
|
14
|
-
var shortcutdatas = {};
|
|
15
|
-
var additionalKey = {};
|
|
16
|
-
var _SpecialKeyMaps = {
|
|
17
|
-
8: 'backspace',
|
|
18
|
-
9: 'tab',
|
|
19
|
-
13: 'enter',
|
|
20
|
-
16: 'shift',
|
|
21
|
-
17: 'ctrl',
|
|
22
|
-
18: 'alt',
|
|
23
|
-
//20: 'capslock',
|
|
24
|
-
27: 'esc',
|
|
25
|
-
32: 'space',
|
|
26
|
-
//33: 'pageup',
|
|
27
|
-
//34: 'pagedown',
|
|
28
|
-
//35: 'end',
|
|
29
|
-
//36: 'home',
|
|
30
|
-
37: 'left',
|
|
31
|
-
38: 'up',
|
|
32
|
-
39: 'right',
|
|
33
|
-
40: 'down',
|
|
34
|
-
46: 'del',
|
|
35
|
-
91: 'meta',
|
|
36
|
-
93: 'meta',
|
|
37
|
-
224: 'meta',
|
|
38
|
-
|
|
39
|
-
43: 'plus', // +
|
|
40
|
-
61: 'plus', // = , in firefox
|
|
41
|
-
63: 'ques', // ?
|
|
42
|
-
187: 'plus', // =
|
|
43
|
-
191: 'slash' // /
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
function Shortcut(target) {
|
|
47
|
-
_addEvent(target, 'keypress', keycallback);
|
|
48
|
-
_addEvent(target, 'keydown', keycallback);
|
|
49
|
-
_addEvent(target, 'keyup', keycallback);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
Shortcut.setState = function (isEnabled) {
|
|
53
|
-
isShortCutEnabled = isEnabled;
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
Shortcut.addAll = function (keysObj, props) {
|
|
57
|
-
showShortcut = props.showShortcut;
|
|
58
|
-
isShortCutEnabled && keysObj.map(function (keyOptions, index) {
|
|
59
|
-
Shortcut.add(keyOptions.keyCombo, keyOptions.keyCallback(props), keyOptions.keyAction, keyOptions.displayLabel || []);
|
|
60
|
-
return;
|
|
61
|
-
});
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* @param keycombo = 'z' or 'z+e' or 'shift+a' etc..
|
|
66
|
-
* @param callback = any function
|
|
67
|
-
* @param action = keypress or keydown or keyup
|
|
68
|
-
*/
|
|
69
|
-
|
|
70
|
-
Shortcut.bulkAdd = function (shortcutArray) {
|
|
71
|
-
showShortcut && shortcutArray.map(function (shortcutObj) {
|
|
72
|
-
Shortcut.add(shortcutObj.keyCombo, shortcutObj.keyCallback, shortcutObj.keyAction, shortcutObj.displayLabel || []);
|
|
73
|
-
});
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
Shortcut.add = function (keycombo, cpFunc, action, displayLabel) {
|
|
77
|
-
if (!keycombo || !isShortCutEnabled) {
|
|
78
|
-
return;
|
|
79
|
-
}
|
|
80
|
-
var tempjson = {};
|
|
81
|
-
if (cpFunc === undefined) {
|
|
82
|
-
cpFunc = function cpFunc(keycode, keyOptions, e) {
|
|
83
|
-
_defaultCallBack(keycode, keyOptions);
|
|
84
|
-
};
|
|
85
|
-
} else {
|
|
86
|
-
var oldfunc = cpFunc;
|
|
87
|
-
cpFunc = function cpFunc(keycode, keyOptions, ev) {
|
|
88
|
-
oldfunc(keycode, ev);
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
tempjson.key = keycombo.toLowerCase();
|
|
92
|
-
tempjson.displayLabel = displayLabel;
|
|
93
|
-
tempjson.keyOptions = cpFunc;
|
|
94
|
-
tempjson.action = action || 'keypress';
|
|
95
|
-
|
|
96
|
-
shortcutdatas[keycombo.toLowerCase()] = tempjson;
|
|
97
|
-
};
|
|
98
|
-
/*Shortcut.prototype.remove = function(){
|
|
99
|
-
|
|
100
|
-
};*/
|
|
101
|
-
Shortcut.removeAll = function () {
|
|
102
|
-
shortcutdatas = {};
|
|
103
|
-
};
|
|
104
|
-
Shortcut.show = function () {
|
|
105
|
-
return Object.assign({}, shortcutdatas);
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
Shortcut.remove = function (keyCombo) {
|
|
109
|
-
keyCombo = Array.isArray(keyCombo) ? keyCombo : [keyCombo];
|
|
110
|
-
keyCombo.map(function (key) {
|
|
111
|
-
delete shortcutdatas[key];
|
|
112
|
-
});
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
Shortcut.init = function (doc) {
|
|
116
|
-
var documentshortcut = Shortcut(doc);
|
|
117
|
-
for (var method in documentshortcut) {
|
|
118
|
-
if (method.charAt(0) !== '_') {
|
|
119
|
-
Shortcut[method] = function (method) {
|
|
120
|
-
return function () {
|
|
121
|
-
return documentshortcut[method].apply(documentshortcut, arguments);
|
|
122
|
-
};
|
|
123
|
-
}(method);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
};
|
|
127
|
-
|
|
128
|
-
function _addEvent(object, type, callback) {
|
|
129
|
-
if (object.addEventListener) {
|
|
130
|
-
object.addEventListener(type, callback, false);
|
|
131
|
-
return;
|
|
132
|
-
}
|
|
133
|
-
object.attachEvent('on' + type, callback);
|
|
134
|
-
}
|
|
135
|
-
function keycallback(e) {
|
|
136
|
-
if (!isShortCutEnabled) {
|
|
137
|
-
return;
|
|
138
|
-
}
|
|
139
|
-
var keyaction = e.type;
|
|
140
|
-
var keycode = _convertToKeyCharacter(e);
|
|
141
|
-
if (e.metaKey) {
|
|
142
|
-
return;
|
|
143
|
-
}
|
|
144
|
-
_bindNeedData(e, keyaction);
|
|
145
|
-
if ('esc' !== keycode) {
|
|
146
|
-
if (_shortRestrictionPlaces(e)) {
|
|
147
|
-
//return if type any text in input tag or texta area
|
|
148
|
-
return;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
keycode = _eventModifiers(e) + keycode;
|
|
152
|
-
var keycodedata = shortcutdatas[keycode];
|
|
153
|
-
if (keycodedata) {
|
|
154
|
-
e.preventDefault();
|
|
155
|
-
}
|
|
156
|
-
if (keycodedata && keyaction === keycodedata.action && keycodedata.keyOptions) {
|
|
157
|
-
keycodedata.keyOptions && keycodedata.keyOptions(keycode, keycodedata.keyOptions, e);
|
|
158
|
-
showShortcut({
|
|
159
|
-
type: 'SHORTCUT_SHOW',
|
|
160
|
-
displayLabel: keycodedata.displayLabel
|
|
161
|
-
});
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
function _eventModifiers(e) {
|
|
165
|
-
if (e.shiftKey === true && e.metaKey === true) {
|
|
166
|
-
return 'command+shift+';
|
|
167
|
-
}
|
|
168
|
-
if (e.shiftKey === true && e.ctrlKey === true) {
|
|
169
|
-
return 'ctrl+shift+';
|
|
170
|
-
}
|
|
171
|
-
if (e.altKey === true && e.ctrlKey === true) {
|
|
172
|
-
return 'alt+ctrl+';
|
|
173
|
-
}
|
|
174
|
-
if (e.ctrlKey === true) {
|
|
175
|
-
return 'ctrl+';
|
|
176
|
-
}
|
|
177
|
-
if (e.metaKey === true) {
|
|
178
|
-
return 'command+';
|
|
179
|
-
}
|
|
180
|
-
if (e.shiftKey === true) {
|
|
181
|
-
return 'shift+';
|
|
182
|
-
}
|
|
183
|
-
if (additionalKey.zpress === true) {
|
|
184
|
-
return 'z+';
|
|
185
|
-
} else if (additionalKey.apress === true) {
|
|
186
|
-
return 'a+';
|
|
187
|
-
} else if (additionalKey.cpress === true) {
|
|
188
|
-
return 'c+';
|
|
189
|
-
} else if (additionalKey.dpress === true) {
|
|
190
|
-
return 'd+';
|
|
191
|
-
} else if (additionalKey.fpress === true) {
|
|
192
|
-
return 'f+';
|
|
193
|
-
} else if (additionalKey.kpress === true) {
|
|
194
|
-
return 'k+';
|
|
195
|
-
} else if (additionalKey.ppress === true) {
|
|
196
|
-
return 'p+';
|
|
197
|
-
} else if (additionalKey.rpress === true) {
|
|
198
|
-
return 'r+';
|
|
199
|
-
} else if (additionalKey.tpress === true) {
|
|
200
|
-
return 't+';
|
|
201
|
-
} else if (additionalKey.epress === true) {
|
|
202
|
-
return 'e+';
|
|
203
|
-
} else if (additionalKey.lpress === true) {
|
|
204
|
-
return 'l+';
|
|
205
|
-
}
|
|
206
|
-
return '';
|
|
207
|
-
}
|
|
208
|
-
function _bindNeedData(e, keyaction) {
|
|
209
|
-
var keyName = String.fromCharCode(e.keyCode).toLowerCase();
|
|
210
|
-
if (['z', 'a', 'c', 'd', 'f', 'k', 'p', 'r', 't', 'l', 'e'].indexOf(keyName) !== -1) {
|
|
211
|
-
var extraName = keyName + 'press';
|
|
212
|
-
if (keyaction === 'keydown') {
|
|
213
|
-
additionalKey = !additionalKey[extraName] ? Object.assign({}, additionalKey, _defineProperty({}, extraName, true)) : additionalKey;
|
|
214
|
-
additionalKey[extraName] = true;
|
|
215
|
-
} else if (keyaction === 'keyup') {
|
|
216
|
-
additionalKey = !additionalKey[extraName] ? Object.assign({}, additionalKey, _defineProperty({}, extraName, false)) : additionalKey;
|
|
217
|
-
additionalKey[extraName] = false;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
function _convertToKeyCharacter(e) {
|
|
222
|
-
var keyCode = e.keyCode || e.charCode;
|
|
223
|
-
var keyName = String.fromCharCode(keyCode).toLowerCase();
|
|
224
|
-
keyName = _SpecialKeyMaps.hasOwnProperty(keyCode) ? _SpecialKeyMaps[keyCode] : keyName;
|
|
225
|
-
return keyName;
|
|
226
|
-
}
|
|
227
|
-
function _defaultCallBack(keycombo, keyOptions) {
|
|
228
|
-
/*var keyElement = jQuery("[data-shortcut-key='" + keycombo + "']");
|
|
229
|
-
if (keyOptions.callbackflow !== undefined) {
|
|
230
|
-
keycombo = keyOptions.callbackflow.split(',');
|
|
231
|
-
var click = function(i, combo) {
|
|
232
|
-
setTimeout(function() {
|
|
233
|
-
jQuery("[data-shortcut-key='" + combo + "']").trigger('click');
|
|
234
|
-
}, i * 200);
|
|
235
|
-
};
|
|
236
|
-
for (var i = 0; i < keycombo.length; i++) {
|
|
237
|
-
var clickFunc = click.bind(this, i);
|
|
238
|
-
clickFunc(keycombo[i]);
|
|
239
|
-
highLightKeys(keycombo[i]);
|
|
240
|
-
}
|
|
241
|
-
return;
|
|
242
|
-
}
|
|
243
|
-
if (keyElement.length === 1) {
|
|
244
|
-
keyElement.trigger('click');
|
|
245
|
-
highLightKeys(keycombo);
|
|
246
|
-
return;
|
|
247
|
-
}*/
|
|
248
|
-
}
|
|
249
|
-
function _shortRestrictionPlaces(e) {
|
|
250
|
-
var _target = e.target;
|
|
251
|
-
var tagName = _target.tagName;
|
|
252
|
-
|
|
253
|
-
var keyCode = e.keyCode || e.charCode;
|
|
254
|
-
var isContentEditable = _target.contentEditable === 'true';
|
|
255
|
-
if (['TEXTAREA', 'INPUT', 'SELECT'].indexOf(tagName) !== -1 ||
|
|
256
|
-
//!SupportUI.CurrentUser.getKBStatus() ||
|
|
257
|
-
//restrict_keyUI() ||
|
|
258
|
-
keyCode >= 112 && keyCode <= 123 || isContentEditable) {
|
|
259
|
-
return true;
|
|
260
|
-
}
|
|
261
|
-
return false;
|
|
262
|
-
}
|