@zohodesk/svg 1.0.0-beta.6 → 1.0.0-beta.60
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 +243 -27
- package/assets/Appearance/dark/mode/darkEmptyStates.module.css +37 -0
- package/assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +10 -0
- package/assets/Appearance/dark/themes/green/greenDarkCTATheme.module.css +10 -0
- package/assets/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +10 -0
- package/assets/Appearance/dark/themes/red/redDarkCTATheme.module.css +10 -0
- package/assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +10 -0
- package/assets/Appearance/default/mode/defaultEmptyStates.module.css +37 -0
- package/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +10 -0
- package/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css +10 -0
- package/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +10 -0
- package/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css +10 -0
- package/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +10 -0
- package/assets/Appearance/pureDark/mode/pureDarkEmptyStates.module.css +37 -0
- package/assets/Appearance/pureDark/themes/blue/bluePureDarkCTATheme.module.css +10 -0
- package/assets/Appearance/pureDark/themes/green/greenPureDarkCTATheme.module.css +10 -0
- package/assets/Appearance/pureDark/themes/orange/orangePureDarkCTATheme.module.css +10 -0
- package/assets/Appearance/pureDark/themes/red/redPureDarkCTATheme.module.css +10 -0
- package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTATheme.module.css +10 -0
- package/css_error.log +0 -0
- package/deprecated/june_2022/ErrorUnauthorizedLogin.js +127 -0
- package/es/Loader/Loader.js +66 -0
- package/es/Loader/props/defaultProps.js +3 -0
- package/es/Loader/props/propTypes.js +4 -0
- package/es/SVG/SVG.js +57 -0
- package/es/{svg → SVG}/SVG.module.css +31 -27
- package/es/SVG/SvgLoader.js +25 -0
- package/es/SVG/props/defaultProps.js +11 -0
- package/es/SVG/props/propTypes.js +15 -0
- package/es/css/EmptyStateVariables.module.css +39 -0
- package/es/emptystate/index.js +6 -0
- package/es/emptystate/props/defaultProps.js +8 -0
- package/es/emptystate/props/propTypes.js +9 -0
- package/es/emptystate/version1/EmptyCustomDomain.js +28 -0
- package/es/emptystate/version1/index.js +1 -0
- package/es/emptystate/version2/EmptyBusinessHoliday.js +29 -0
- package/es/emptystate/version2/EmptyBusinessHour.js +29 -0
- package/es/emptystate/version2/EmptyFromAddress.js +28 -0
- package/es/emptystate/version2/EmptyImportHistory.js +29 -0
- package/es/emptystate/version2/EmptyNetwork.js +28 -0
- package/es/emptystate/version2/EmptyRecycleBin.js +28 -0
- package/es/emptystate/version2/EmptyRoles.js +28 -0
- package/es/emptystate/version2/EmptyWebhook.js +28 -0
- package/es/emptystate/version2/FailureLog.js +29 -0
- package/es/emptystate/version2/index.js +9 -0
- package/es/emptystate/version3/AuditLog.js +78 -0
- package/es/emptystate/version3/Bot.js +69 -0
- package/es/emptystate/version3/Contract.js +90 -0
- package/es/emptystate/version3/CustomModule.js +57 -0
- package/es/emptystate/version3/EmptyAPIAuthentication.js +92 -0
- package/es/emptystate/version3/EmptyAPIConfiguration.js +84 -0
- package/es/emptystate/version3/EmptyAPIs.js +64 -0
- package/es/emptystate/version3/EmptyAccounts.js +88 -0
- package/es/emptystate/version3/EmptyActiveCalls.js +60 -0
- package/es/emptystate/version3/EmptyActivity.js +60 -0
- package/es/emptystate/version3/EmptyAgent.js +60 -0
- package/es/emptystate/version3/EmptyAgentQueue.js +66 -0
- package/es/emptystate/version3/EmptyApplechat.js +72 -0
- package/es/emptystate/version3/EmptyApproval.js +65 -0
- package/es/emptystate/version3/EmptyArchived.js +67 -0
- package/es/emptystate/version3/EmptyArticle.js +73 -0
- package/es/emptystate/version3/EmptyAsapchat.js +68 -0
- package/es/emptystate/version3/EmptyAttach.js +60 -0
- package/es/emptystate/version3/EmptyAuthenticationPending.js +69 -0
- package/es/emptystate/version3/EmptyBlueprint.js +75 -0
- package/es/emptystate/version3/EmptyCallHistory.js +62 -0
- package/es/emptystate/version3/EmptyCanned.js +78 -0
- package/es/emptystate/version3/EmptyChat.js +78 -0
- package/es/emptystate/version3/EmptyCollision.js +59 -0
- package/es/emptystate/version3/EmptyColumn.js +65 -0
- package/es/emptystate/version3/EmptyContact.js +60 -0
- package/es/emptystate/version3/EmptyContract.js +55 -0
- package/es/emptystate/version3/EmptyConversation.js +60 -0
- package/es/emptystate/version3/EmptyCrm.js +59 -0
- package/es/emptystate/version3/EmptyCrmNotes.js +70 -0
- package/es/emptystate/version3/EmptyCrmPotential.js +74 -0
- package/es/emptystate/version3/EmptyCustomerHappiness.js +67 -0
- package/es/emptystate/version3/EmptyDashboard.js +65 -0
- package/es/emptystate/version3/EmptyDelete.js +50 -0
- package/es/emptystate/version3/EmptyDepartment.js +59 -0
- package/es/emptystate/version3/EmptyError.js +83 -0
- package/es/emptystate/version3/EmptyFeed.js +62 -0
- package/es/emptystate/version3/EmptyFollowers.js +60 -0
- package/es/emptystate/version3/EmptyFrame.js +59 -0
- package/es/emptystate/version3/EmptyHappiness.js +60 -0
- package/es/emptystate/version3/EmptyHistory.js +59 -0
- package/es/emptystate/version3/EmptyInstagram.js +74 -0
- package/es/emptystate/version3/EmptyInstantmessage.js +76 -0
- package/es/emptystate/version3/EmptyInvoice.js +64 -0
- package/es/emptystate/version3/EmptyLine.js +74 -0
- package/es/emptystate/version3/EmptyMessenger.js +60 -0
- package/es/emptystate/version3/EmptyNoData.js +78 -0
- package/es/emptystate/version3/EmptyNotification.js +59 -0
- package/es/emptystate/version3/EmptyPreference.js +79 -0
- package/es/emptystate/version3/EmptyProducts.js +62 -0
- package/es/emptystate/version3/EmptyReply.js +54 -0
- package/es/emptystate/version3/EmptyReports.js +65 -0
- package/es/emptystate/version3/EmptySandbox.js +81 -0
- package/es/emptystate/version3/EmptySchedule.js +101 -0
- package/es/emptystate/version3/EmptySearch.js +69 -0
- package/es/emptystate/version3/EmptySkills.js +107 -0
- package/es/emptystate/version3/EmptySla.js +54 -0
- package/es/emptystate/version3/EmptySnippet.js +69 -0
- package/es/emptystate/version3/EmptyTag.js +62 -0
- package/es/emptystate/version3/EmptyTask.js +75 -0
- package/es/emptystate/version3/EmptyTeams.js +60 -0
- package/es/emptystate/version3/EmptyTelegram.js +74 -0
- package/es/emptystate/version3/EmptyTemplate.js +71 -0
- package/es/emptystate/version3/EmptyTicket.js +63 -0
- package/es/emptystate/version3/EmptyTimeEntry.js +65 -0
- package/es/emptystate/version3/EmptyTimeline.js +60 -0
- package/es/emptystate/version3/EmptyTopic.js +65 -0
- package/es/emptystate/version3/EmptyTwilio.js +74 -0
- package/es/emptystate/version3/EmptyWechat.js +74 -0
- package/es/emptystate/version3/EmptyWhatsapp.js +74 -0
- package/es/emptystate/version3/EmptyZSCKey.js +87 -0
- package/es/emptystate/version3/Export.js +55 -0
- package/es/emptystate/version3/Extensions.js +61 -0
- package/es/emptystate/version3/Extractor.js +54 -0
- package/es/emptystate/version3/GCBot.js +52 -0
- package/es/emptystate/version3/GCConversation.js +54 -0
- package/es/emptystate/version3/Import.js +70 -0
- package/es/emptystate/version3/KBBot.js +67 -0
- package/es/emptystate/version3/Multilingual.js +60 -0
- package/es/emptystate/version3/NetworkError.js +63 -0
- package/es/emptystate/version3/Predictor.js +61 -0
- package/es/emptystate/version3/ReadRecipients.js +59 -0
- package/es/emptystate/version3/SupportPlan.js +75 -0
- package/es/emptystate/version3/Variable.js +58 -0
- package/es/emptystate/version3/ZiaAnamoly.js +55 -0
- package/es/emptystate/version3/index.js +78 -0
- package/es/errorstate/index.js +6 -0
- package/es/errorstate/props/defaultProps.js +8 -0
- package/es/errorstate/props/propTypes.js +9 -0
- package/es/errorstate/version1/EmptyInconvenience.js +33 -0
- package/es/errorstate/version1/NoRequestFound.js +33 -0
- package/es/errorstate/version1/PageNotFound.js +34 -0
- package/es/errorstate/version1/UnableToProcessRequest.js +34 -0
- package/es/errorstate/version1/UnauthorizedLogin.js +34 -0
- package/es/errorstate/version1/UrlNotFound.js +34 -0
- package/es/errorstate/version1/WillBeRightBack.js +34 -0
- package/es/errorstate/version1/index.js +7 -0
- package/es/errorstate/version2/EmptyUnauthorizedLogin.js +34 -0
- package/es/errorstate/version2/EmptyWillBeRightBack.js +30 -0
- package/es/errorstate/version2/NotImpossible.js +69 -0
- package/es/errorstate/version2/index.js +2 -0
- package/es/errorstate/version3/ErrorInconvenience.js +104 -0
- package/es/errorstate/version3/ErrorOopsSomethingMiss.js +105 -0
- package/es/errorstate/version3/ErrorUnableToProcessRequest.js +105 -0
- package/es/errorstate/version3/ErrorUnauthorizedLogin.js +113 -0
- package/es/errorstate/version3/ErrorUrlNotFound.js +105 -0
- package/es/errorstate/version3/ErrorWillBeRightBack.js +105 -0
- package/es/errorstate/version3/index.js +6 -0
- package/es/index.js +17 -6
- package/{lib/svg/images → images}/EmptyBusinessHoliday.svg +50 -50
- package/{src/svg/images → images}/EmptyBusinessHour.svg +42 -42
- package/{es/svg/images → images}/EmptyContactInfo.svg +27 -27
- package/images/EmptyCustomDomain.svg +85 -0
- package/{lib/svg/images → images}/EmptyFilter.svg +62 -62
- package/{src/svg/images → images}/EmptyFromAddress.svg +41 -41
- package/{es/svg/images → images}/EmptyImportHistory.svg +43 -43
- package/{src/svg/images → images}/EmptyNetwork.svg +50 -50
- package/{src/svg/images → images}/EmptyRecycleBin.svg +58 -58
- package/{lib/svg/images → images}/EmptyRoles.svg +30 -30
- package/images/EmptySkills.svg +83 -0
- package/{lib/svg/images → images}/EmptyWebhook.svg +44 -44
- package/{src/svg/images → images}/FailureLog.svg +46 -46
- package/{es/svg/images → images}/Inconvenience.svg +719 -719
- package/{src/svg/images → images}/NoRequestFound.svg +247 -247
- package/{lib/svg/images → images}/PageNotFound.svg +405 -405
- package/{src/svg/images → images}/ReguestUrlNotFound.svg +267 -267
- package/{lib/svg/images → images}/UnableToProcess.svg +752 -752
- package/{src/svg/images → images}/UnauthorizedLogin.svg +1047 -1047
- package/{src/svg/images → images}/WillBack.svg +633 -633
- package/install.md +11 -0
- package/lib/Loader/Loader.js +94 -0
- package/lib/Loader/props/defaultProps.js +10 -0
- package/lib/Loader/props/propTypes.js +12 -0
- package/lib/SVG/SVG.js +87 -0
- package/lib/{svg → SVG}/SVG.module.css +31 -27
- package/lib/SVG/SvgLoader.js +50 -0
- package/lib/SVG/props/defaultProps.js +18 -0
- package/lib/SVG/props/propTypes.js +23 -0
- package/lib/css/EmptyStateVariables.module.css +39 -0
- package/lib/emptystate/index.js +15 -0
- package/lib/emptystate/props/defaultProps.js +15 -0
- package/lib/emptystate/props/propTypes.js +17 -0
- package/lib/emptystate/version1/EmptyCustomDomain.js +61 -0
- package/lib/emptystate/version1/index.js +13 -0
- package/lib/emptystate/version2/EmptyBusinessHoliday.js +62 -0
- package/lib/emptystate/version2/EmptyBusinessHour.js +62 -0
- package/lib/emptystate/version2/EmptyFromAddress.js +61 -0
- package/lib/emptystate/version2/EmptyImportHistory.js +62 -0
- package/lib/emptystate/version2/EmptyNetwork.js +61 -0
- package/lib/emptystate/version2/EmptyRecycleBin.js +61 -0
- package/lib/emptystate/version2/EmptyRoles.js +61 -0
- package/lib/emptystate/version2/EmptyWebhook.js +61 -0
- package/lib/emptystate/version2/FailureLog.js +62 -0
- package/lib/emptystate/version2/index.js +69 -0
- package/lib/emptystate/version3/AuditLog.js +111 -0
- package/lib/emptystate/version3/Bot.js +102 -0
- package/lib/emptystate/version3/Contract.js +123 -0
- package/lib/emptystate/version3/CustomModule.js +90 -0
- package/lib/emptystate/version3/EmptyAPIAuthentication.js +125 -0
- package/lib/emptystate/version3/EmptyAPIConfiguration.js +117 -0
- package/lib/emptystate/version3/EmptyAPIs.js +97 -0
- package/lib/emptystate/version3/EmptyAccounts.js +121 -0
- package/lib/emptystate/version3/EmptyActiveCalls.js +93 -0
- package/lib/emptystate/version3/EmptyActivity.js +93 -0
- package/lib/emptystate/version3/EmptyAgent.js +93 -0
- package/lib/emptystate/version3/EmptyAgentQueue.js +99 -0
- package/lib/emptystate/version3/EmptyApplechat.js +105 -0
- package/lib/emptystate/version3/EmptyApproval.js +98 -0
- package/lib/emptystate/version3/EmptyArchived.js +100 -0
- package/lib/emptystate/version3/EmptyArticle.js +106 -0
- package/lib/emptystate/version3/EmptyAsapchat.js +101 -0
- package/lib/emptystate/version3/EmptyAttach.js +93 -0
- package/lib/emptystate/version3/EmptyAuthenticationPending.js +102 -0
- package/lib/emptystate/version3/EmptyBlueprint.js +108 -0
- package/lib/emptystate/version3/EmptyCallHistory.js +95 -0
- package/lib/emptystate/version3/EmptyCanned.js +111 -0
- package/lib/emptystate/version3/EmptyChat.js +111 -0
- package/lib/emptystate/version3/EmptyCollision.js +92 -0
- package/lib/emptystate/version3/EmptyColumn.js +98 -0
- package/lib/emptystate/version3/EmptyContact.js +93 -0
- package/lib/emptystate/version3/EmptyContract.js +88 -0
- package/lib/emptystate/version3/EmptyConversation.js +93 -0
- package/lib/emptystate/version3/EmptyCrm.js +92 -0
- package/lib/emptystate/version3/EmptyCrmNotes.js +103 -0
- package/lib/emptystate/version3/EmptyCrmPotential.js +107 -0
- package/lib/emptystate/version3/EmptyCustomerHappiness.js +100 -0
- package/lib/emptystate/version3/EmptyDashboard.js +98 -0
- package/lib/emptystate/version3/EmptyDelete.js +83 -0
- package/lib/emptystate/version3/EmptyDepartment.js +92 -0
- package/lib/emptystate/version3/EmptyError.js +116 -0
- package/lib/emptystate/version3/EmptyFeed.js +95 -0
- package/lib/emptystate/version3/EmptyFollowers.js +93 -0
- package/lib/emptystate/version3/EmptyFrame.js +92 -0
- package/lib/emptystate/version3/EmptyHappiness.js +93 -0
- package/lib/emptystate/version3/EmptyHistory.js +92 -0
- package/lib/emptystate/version3/EmptyInstagram.js +107 -0
- package/lib/emptystate/version3/EmptyInstantmessage.js +109 -0
- package/lib/emptystate/version3/EmptyInvoice.js +97 -0
- package/lib/emptystate/version3/EmptyLine.js +107 -0
- package/lib/emptystate/version3/EmptyMessenger.js +93 -0
- package/lib/emptystate/version3/EmptyNoData.js +111 -0
- package/lib/emptystate/version3/EmptyNotification.js +92 -0
- package/lib/emptystate/version3/EmptyPreference.js +112 -0
- package/lib/emptystate/version3/EmptyProducts.js +95 -0
- package/lib/emptystate/version3/EmptyReply.js +87 -0
- package/lib/emptystate/version3/EmptyReports.js +98 -0
- package/lib/emptystate/version3/EmptySandbox.js +114 -0
- package/lib/emptystate/version3/EmptySchedule.js +134 -0
- package/lib/emptystate/version3/EmptySearch.js +102 -0
- package/lib/emptystate/version3/EmptySkills.js +140 -0
- package/lib/emptystate/version3/EmptySla.js +87 -0
- package/lib/emptystate/version3/EmptySnippet.js +102 -0
- package/lib/emptystate/version3/EmptyTag.js +95 -0
- package/lib/emptystate/version3/EmptyTask.js +108 -0
- package/lib/emptystate/version3/EmptyTeams.js +93 -0
- package/lib/emptystate/version3/EmptyTelegram.js +107 -0
- package/lib/emptystate/version3/EmptyTemplate.js +104 -0
- package/lib/emptystate/version3/EmptyTicket.js +96 -0
- package/lib/emptystate/version3/EmptyTimeEntry.js +98 -0
- package/lib/emptystate/version3/EmptyTimeline.js +93 -0
- package/lib/emptystate/version3/EmptyTopic.js +98 -0
- package/lib/emptystate/version3/EmptyTwilio.js +107 -0
- package/lib/emptystate/version3/EmptyWechat.js +107 -0
- package/lib/emptystate/version3/EmptyWhatsapp.js +107 -0
- package/lib/emptystate/version3/EmptyZSCKey.js +120 -0
- package/lib/emptystate/version3/Export.js +88 -0
- package/lib/emptystate/version3/Extensions.js +94 -0
- package/lib/emptystate/version3/Extractor.js +87 -0
- package/lib/emptystate/version3/GCBot.js +85 -0
- package/lib/emptystate/version3/GCConversation.js +87 -0
- package/lib/emptystate/version3/Import.js +103 -0
- package/lib/emptystate/version3/KBBot.js +100 -0
- package/lib/emptystate/version3/Multilingual.js +93 -0
- package/lib/emptystate/version3/NetworkError.js +96 -0
- package/lib/emptystate/version3/Predictor.js +94 -0
- package/lib/emptystate/version3/ReadRecipients.js +92 -0
- package/lib/emptystate/version3/SupportPlan.js +108 -0
- package/lib/emptystate/version3/Variable.js +91 -0
- package/lib/emptystate/version3/ZiaAnamoly.js +88 -0
- package/lib/emptystate/version3/index.js +552 -0
- package/lib/errorstate/index.js +15 -0
- package/lib/errorstate/props/defaultProps.js +15 -0
- package/lib/errorstate/props/propTypes.js +17 -0
- package/lib/errorstate/version1/EmptyInconvenience.js +64 -0
- package/lib/errorstate/version1/NoRequestFound.js +64 -0
- package/lib/errorstate/version1/PageNotFound.js +65 -0
- package/lib/errorstate/version1/UnableToProcessRequest.js +65 -0
- package/lib/errorstate/version1/UnauthorizedLogin.js +65 -0
- package/lib/errorstate/version1/UrlNotFound.js +65 -0
- package/lib/errorstate/version1/WillBeRightBack.js +65 -0
- package/lib/errorstate/version1/index.js +55 -0
- package/lib/errorstate/version2/EmptyUnauthorizedLogin.js +67 -0
- package/lib/errorstate/version2/EmptyWillBeRightBack.js +63 -0
- package/lib/errorstate/version2/NotImpossible.js +102 -0
- package/lib/errorstate/version2/index.js +20 -0
- package/lib/errorstate/version3/ErrorInconvenience.js +137 -0
- package/lib/errorstate/version3/ErrorOopsSomethingMiss.js +138 -0
- package/lib/errorstate/version3/ErrorUnableToProcessRequest.js +138 -0
- package/lib/errorstate/version3/ErrorUnauthorizedLogin.js +146 -0
- package/lib/errorstate/version3/ErrorUrlNotFound.js +138 -0
- package/lib/errorstate/version3/ErrorWillBeRightBack.js +138 -0
- package/lib/errorstate/version3/index.js +48 -0
- package/lib/index.js +16 -43
- package/package.json +76 -42
- package/es/svg/EmptyAccounts.js +0 -67
- package/es/svg/EmptyActiveCalls.js +0 -70
- package/es/svg/EmptyActivity.js +0 -70
- package/es/svg/EmptyAgent.js +0 -66
- package/es/svg/EmptyArchived.js +0 -65
- package/es/svg/EmptyAttach.js +0 -66
- package/es/svg/EmptyBlueprint.js +0 -66
- package/es/svg/EmptyBusinessHoliday.js +0 -66
- package/es/svg/EmptyBusinessHour.js +0 -66
- package/es/svg/EmptyCallHistory.js +0 -70
- package/es/svg/EmptyCloud.js +0 -65
- package/es/svg/EmptyCloudDanger.js +0 -64
- package/es/svg/EmptyContact.js +0 -67
- package/es/svg/EmptyConversation.js +0 -66
- package/es/svg/EmptyDashboard.js +0 -66
- package/es/svg/EmptyEdition.js +0 -66
- package/es/svg/EmptyFromAddress.js +0 -66
- package/es/svg/EmptyHappiness.js +0 -66
- package/es/svg/EmptyHistory.js +0 -67
- package/es/svg/EmptyImportHistory.js +0 -66
- package/es/svg/EmptyInvoice.js +0 -66
- package/es/svg/EmptyNetwork.js +0 -66
- package/es/svg/EmptyNotification.js +0 -66
- package/es/svg/EmptyProducts.js +0 -66
- package/es/svg/EmptyRecycleBin.js +0 -66
- package/es/svg/EmptyReports.js +0 -66
- package/es/svg/EmptyRoles.js +0 -66
- package/es/svg/EmptySearch.js +0 -66
- package/es/svg/EmptySkills.js +0 -66
- package/es/svg/EmptySnippet.js +0 -66
- package/es/svg/EmptyTag.js +0 -66
- package/es/svg/EmptyTask.js +0 -66
- package/es/svg/EmptyTeams.js +0 -66
- package/es/svg/EmptyTemplate.js +0 -67
- package/es/svg/EmptyTicket.js +0 -66
- package/es/svg/EmptyTimeEntry.js +0 -66
- package/es/svg/EmptyTopic.js +0 -66
- package/es/svg/EmptyWebhook.js +0 -66
- package/es/svg/FailureLog.js +0 -66
- package/es/svg/Inconvenience.js +0 -69
- package/es/svg/InvalidUrl.js +0 -784
- package/es/svg/Loader.js +0 -59
- package/es/svg/NoRequestFound.js +0 -69
- package/es/svg/PageNotFound.js +0 -69
- package/es/svg/SVG.js +0 -105
- package/es/svg/SitBack.js +0 -63
- package/es/svg/UnableToProcessRequest.js +0 -69
- package/es/svg/UnauthorizedLogin.js +0 -69
- package/es/svg/UrlNotFound.js +0 -69
- package/es/svg/WillBeRightBack.js +0 -69
- package/es/svg/docs/SVG__default.docs.js +0 -605
- package/es/svg/images/EmptyAccounts.svg +0 -55
- package/es/svg/images/EmptyActiveCalls.svg +0 -57
- package/es/svg/images/EmptyActivity.svg +0 -85
- package/es/svg/images/EmptyAgent.svg +0 -52
- package/es/svg/images/EmptyArchived.svg +0 -38
- package/es/svg/images/EmptyAttach.svg +0 -39
- package/es/svg/images/EmptyBlueprint.svg +0 -78
- package/es/svg/images/EmptyBusinessHoliday.svg +0 -50
- package/es/svg/images/EmptyBusinessHour.svg +0 -42
- package/es/svg/images/EmptyCallHistory.svg +0 -46
- package/es/svg/images/EmptyCloud.svg +0 -38
- package/es/svg/images/EmptyCloudDanger.svg +0 -1
- package/es/svg/images/EmptyContact.svg +0 -33
- package/es/svg/images/EmptyConversation.svg +0 -38
- package/es/svg/images/EmptyDashboard.svg +0 -42
- package/es/svg/images/EmptyEdition.svg +0 -76
- package/es/svg/images/EmptyFilter.svg +0 -62
- package/es/svg/images/EmptyFromAddress.svg +0 -41
- package/es/svg/images/EmptyHappiness.svg +0 -58
- package/es/svg/images/EmptyHistory.svg +0 -44
- package/es/svg/images/EmptyInvoice.svg +0 -45
- package/es/svg/images/EmptyNetwork.svg +0 -50
- package/es/svg/images/EmptyNotification.svg +0 -38
- package/es/svg/images/EmptyProducts.svg +0 -57
- package/es/svg/images/EmptyRecycleBin.svg +0 -58
- package/es/svg/images/EmptyReports.svg +0 -39
- package/es/svg/images/EmptyRoles.svg +0 -30
- package/es/svg/images/EmptySearch.svg +0 -37
- package/es/svg/images/EmptySkills.svg +0 -75
- package/es/svg/images/EmptySnippet.svg +0 -46
- package/es/svg/images/EmptyTag.svg +0 -43
- package/es/svg/images/EmptyTask.svg +0 -42
- package/es/svg/images/EmptyTeams.svg +0 -39
- package/es/svg/images/EmptyTemplate.svg +0 -39
- package/es/svg/images/EmptyTicket.svg +0 -33
- package/es/svg/images/EmptyTimeEntry.svg +0 -96
- package/es/svg/images/EmptyTopic.svg +0 -41
- package/es/svg/images/EmptyWebhook.svg +0 -44
- package/es/svg/images/FailureLog.svg +0 -46
- package/es/svg/images/Loader.svg +0 -62
- package/es/svg/images/NoRequestFound.svg +0 -247
- package/es/svg/images/PageNotFound.svg +0 -405
- package/es/svg/images/ReguestUrlNotFound.svg +0 -267
- package/es/svg/images/SitBack.svg +0 -464
- package/es/svg/images/UnableToProcess.svg +0 -752
- package/es/svg/images/UnauthorizedLogin.svg +0 -1047
- package/es/svg/images/WillBack.svg +0 -633
- package/lib/svg/EmptyAccounts.js +0 -89
- package/lib/svg/EmptyActiveCalls.js +0 -92
- package/lib/svg/EmptyActivity.js +0 -92
- package/lib/svg/EmptyAgent.js +0 -88
- package/lib/svg/EmptyArchived.js +0 -87
- package/lib/svg/EmptyAttach.js +0 -88
- package/lib/svg/EmptyBlueprint.js +0 -88
- package/lib/svg/EmptyBusinessHoliday.js +0 -88
- package/lib/svg/EmptyBusinessHour.js +0 -88
- package/lib/svg/EmptyCallHistory.js +0 -92
- package/lib/svg/EmptyCloud.js +0 -87
- package/lib/svg/EmptyCloudDanger.js +0 -86
- package/lib/svg/EmptyContact.js +0 -89
- package/lib/svg/EmptyConversation.js +0 -88
- package/lib/svg/EmptyDashboard.js +0 -88
- package/lib/svg/EmptyEdition.js +0 -88
- package/lib/svg/EmptyFromAddress.js +0 -88
- package/lib/svg/EmptyHappiness.js +0 -88
- package/lib/svg/EmptyHistory.js +0 -89
- package/lib/svg/EmptyImportHistory.js +0 -88
- package/lib/svg/EmptyInvoice.js +0 -88
- package/lib/svg/EmptyNetwork.js +0 -88
- package/lib/svg/EmptyNotification.js +0 -88
- package/lib/svg/EmptyProducts.js +0 -88
- package/lib/svg/EmptyRecycleBin.js +0 -88
- package/lib/svg/EmptyReports.js +0 -88
- package/lib/svg/EmptyRoles.js +0 -88
- package/lib/svg/EmptySearch.js +0 -88
- package/lib/svg/EmptySkills.js +0 -88
- package/lib/svg/EmptySnippet.js +0 -88
- package/lib/svg/EmptyTag.js +0 -88
- package/lib/svg/EmptyTask.js +0 -88
- package/lib/svg/EmptyTeams.js +0 -88
- package/lib/svg/EmptyTemplate.js +0 -89
- package/lib/svg/EmptyTicket.js +0 -88
- package/lib/svg/EmptyTimeEntry.js +0 -88
- package/lib/svg/EmptyTopic.js +0 -88
- package/lib/svg/EmptyWebhook.js +0 -88
- package/lib/svg/FailureLog.js +0 -88
- package/lib/svg/Inconvenience.js +0 -91
- package/lib/svg/InvalidUrl.js +0 -803
- package/lib/svg/Loader.js +0 -84
- package/lib/svg/NoRequestFound.js +0 -91
- package/lib/svg/PageNotFound.js +0 -91
- package/lib/svg/SVG.js +0 -124
- package/lib/svg/SitBack.js +0 -85
- package/lib/svg/UnableToProcessRequest.js +0 -91
- package/lib/svg/UnauthorizedLogin.js +0 -91
- package/lib/svg/UrlNotFound.js +0 -91
- package/lib/svg/WillBeRightBack.js +0 -91
- package/lib/svg/docs/SVG__default.docs.js +0 -765
- package/lib/svg/images/EmptyAccounts.svg +0 -55
- package/lib/svg/images/EmptyActiveCalls.svg +0 -57
- package/lib/svg/images/EmptyActivity.svg +0 -85
- package/lib/svg/images/EmptyAgent.svg +0 -52
- package/lib/svg/images/EmptyArchived.svg +0 -38
- package/lib/svg/images/EmptyAttach.svg +0 -39
- package/lib/svg/images/EmptyBlueprint.svg +0 -78
- package/lib/svg/images/EmptyBusinessHour.svg +0 -42
- package/lib/svg/images/EmptyCallHistory.svg +0 -46
- package/lib/svg/images/EmptyCloud.svg +0 -38
- package/lib/svg/images/EmptyCloudDanger.svg +0 -1
- package/lib/svg/images/EmptyContact.svg +0 -33
- package/lib/svg/images/EmptyContactInfo.svg +0 -27
- package/lib/svg/images/EmptyConversation.svg +0 -38
- package/lib/svg/images/EmptyDashboard.svg +0 -42
- package/lib/svg/images/EmptyEdition.svg +0 -76
- package/lib/svg/images/EmptyFromAddress.svg +0 -41
- package/lib/svg/images/EmptyHappiness.svg +0 -58
- package/lib/svg/images/EmptyHistory.svg +0 -44
- package/lib/svg/images/EmptyImportHistory.svg +0 -43
- package/lib/svg/images/EmptyInvoice.svg +0 -45
- package/lib/svg/images/EmptyNetwork.svg +0 -50
- package/lib/svg/images/EmptyNotification.svg +0 -38
- package/lib/svg/images/EmptyProducts.svg +0 -57
- package/lib/svg/images/EmptyRecycleBin.svg +0 -58
- package/lib/svg/images/EmptyReports.svg +0 -39
- package/lib/svg/images/EmptySearch.svg +0 -37
- package/lib/svg/images/EmptySkills.svg +0 -75
- package/lib/svg/images/EmptySnippet.svg +0 -46
- package/lib/svg/images/EmptyTag.svg +0 -43
- package/lib/svg/images/EmptyTask.svg +0 -42
- package/lib/svg/images/EmptyTeams.svg +0 -39
- package/lib/svg/images/EmptyTemplate.svg +0 -39
- package/lib/svg/images/EmptyTicket.svg +0 -33
- package/lib/svg/images/EmptyTimeEntry.svg +0 -96
- package/lib/svg/images/EmptyTopic.svg +0 -41
- package/lib/svg/images/FailureLog.svg +0 -46
- package/lib/svg/images/Inconvenience.svg +0 -719
- package/lib/svg/images/Loader.svg +0 -62
- package/lib/svg/images/NoRequestFound.svg +0 -247
- package/lib/svg/images/ReguestUrlNotFound.svg +0 -267
- package/lib/svg/images/SitBack.svg +0 -464
- package/lib/svg/images/UnauthorizedLogin.svg +0 -1047
- package/lib/svg/images/WillBack.svg +0 -633
- package/src/index.js +0 -7
- package/src/svg/EmptyAccounts.js +0 -39
- package/src/svg/EmptyActiveCalls.js +0 -47
- package/src/svg/EmptyActivity.js +0 -47
- package/src/svg/EmptyAgent.js +0 -38
- package/src/svg/EmptyArchived.js +0 -37
- package/src/svg/EmptyAttach.js +0 -38
- package/src/svg/EmptyBlueprint.js +0 -38
- package/src/svg/EmptyBusinessHoliday.js +0 -38
- package/src/svg/EmptyBusinessHour.js +0 -38
- package/src/svg/EmptyCallHistory.js +0 -47
- package/src/svg/EmptyCloud.js +0 -37
- package/src/svg/EmptyCloudDanger.js +0 -36
- package/src/svg/EmptyContact.js +0 -39
- package/src/svg/EmptyConversation.js +0 -38
- package/src/svg/EmptyDashboard.js +0 -38
- package/src/svg/EmptyEdition.js +0 -38
- package/src/svg/EmptyFromAddress.js +0 -38
- package/src/svg/EmptyHappiness.js +0 -38
- package/src/svg/EmptyHistory.js +0 -39
- package/src/svg/EmptyImportHistory.js +0 -38
- package/src/svg/EmptyInvoice.js +0 -38
- package/src/svg/EmptyNetwork.js +0 -38
- package/src/svg/EmptyNotification.js +0 -38
- package/src/svg/EmptyProducts.js +0 -38
- package/src/svg/EmptyRecycleBin.js +0 -38
- package/src/svg/EmptyReports.js +0 -38
- package/src/svg/EmptyRoles.js +0 -38
- package/src/svg/EmptySearch.js +0 -38
- package/src/svg/EmptySkills.js +0 -38
- package/src/svg/EmptySnippet.js +0 -38
- package/src/svg/EmptyTag.js +0 -38
- package/src/svg/EmptyTask.js +0 -38
- package/src/svg/EmptyTeams.js +0 -38
- package/src/svg/EmptyTemplate.js +0 -39
- package/src/svg/EmptyTicket.js +0 -38
- package/src/svg/EmptyTimeEntry.js +0 -38
- package/src/svg/EmptyTopic.js +0 -38
- package/src/svg/EmptyWebhook.js +0 -38
- package/src/svg/FailureLog.js +0 -38
- package/src/svg/Inconvenience.js +0 -41
- package/src/svg/InvalidUrl.js +0 -758
- package/src/svg/Loader.js +0 -34
- package/src/svg/NoRequestFound.js +0 -41
- package/src/svg/PageNotFound.js +0 -41
- package/src/svg/SVG.js +0 -91
- package/src/svg/SVG.module.css +0 -27
- package/src/svg/SitBack.js +0 -37
- package/src/svg/UnableToProcessRequest.js +0 -41
- package/src/svg/UnauthorizedLogin.js +0 -41
- package/src/svg/UrlNotFound.js +0 -41
- package/src/svg/WillBeRightBack.js +0 -41
- package/src/svg/docs/SVG__default.docs.js +0 -289
- package/src/svg/images/EmptyAccounts.svg +0 -55
- package/src/svg/images/EmptyActiveCalls.svg +0 -57
- package/src/svg/images/EmptyActivity.svg +0 -85
- package/src/svg/images/EmptyAgent.svg +0 -52
- package/src/svg/images/EmptyArchived.svg +0 -38
- package/src/svg/images/EmptyAttach.svg +0 -39
- package/src/svg/images/EmptyBlueprint.svg +0 -78
- package/src/svg/images/EmptyBusinessHoliday.svg +0 -50
- package/src/svg/images/EmptyCallHistory.svg +0 -46
- package/src/svg/images/EmptyCloud.svg +0 -38
- package/src/svg/images/EmptyCloudDanger.svg +0 -1
- package/src/svg/images/EmptyContact.svg +0 -33
- package/src/svg/images/EmptyContactInfo.svg +0 -27
- package/src/svg/images/EmptyConversation.svg +0 -38
- package/src/svg/images/EmptyDashboard.svg +0 -42
- package/src/svg/images/EmptyEdition.svg +0 -76
- package/src/svg/images/EmptyFilter.svg +0 -62
- package/src/svg/images/EmptyHappiness.svg +0 -58
- package/src/svg/images/EmptyHistory.svg +0 -44
- package/src/svg/images/EmptyImportHistory.svg +0 -43
- package/src/svg/images/EmptyInvoice.svg +0 -45
- package/src/svg/images/EmptyNotification.svg +0 -38
- package/src/svg/images/EmptyProducts.svg +0 -57
- package/src/svg/images/EmptyReports.svg +0 -39
- package/src/svg/images/EmptyRoles.svg +0 -30
- package/src/svg/images/EmptySearch.svg +0 -37
- package/src/svg/images/EmptySkills.svg +0 -75
- package/src/svg/images/EmptySnippet.svg +0 -46
- package/src/svg/images/EmptyTag.svg +0 -43
- package/src/svg/images/EmptyTask.svg +0 -42
- package/src/svg/images/EmptyTeams.svg +0 -39
- package/src/svg/images/EmptyTemplate.svg +0 -39
- package/src/svg/images/EmptyTicket.svg +0 -33
- package/src/svg/images/EmptyTimeEntry.svg +0 -96
- package/src/svg/images/EmptyTopic.svg +0 -41
- package/src/svg/images/EmptyWebhook.svg +0 -44
- package/src/svg/images/Inconvenience.svg +0 -719
- package/src/svg/images/Loader.svg +0 -62
- package/src/svg/images/PageNotFound.svg +0 -405
- package/src/svg/images/SitBack.svg +0 -464
- package/src/svg/images/UnableToProcess.svg +0 -752
package/install.md
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
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
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _defaultProps = require("./props/defaultProps");
|
|
10
|
+
var _propTypes = require("./props/propTypes");
|
|
11
|
+
var _SVG = _interopRequireDefault(require("./../SVG/SVG"));
|
|
12
|
+
var _SVGModule = _interopRequireDefault(require("./../SVG/SVG.module.css"));
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
14
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
|
+
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, _toPropertyKey(descriptor.key), descriptor); } }
|
|
16
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
18
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
19
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
20
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
21
|
+
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); }; }
|
|
22
|
+
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); }
|
|
23
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
24
|
+
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; } }
|
|
25
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
26
|
+
var Loader = /*#__PURE__*/function (_React$PureComponent) {
|
|
27
|
+
_inherits(Loader, _React$PureComponent);
|
|
28
|
+
var _super = _createSuper(Loader);
|
|
29
|
+
function Loader(props) {
|
|
30
|
+
var _this;
|
|
31
|
+
_classCallCheck(this, Loader);
|
|
32
|
+
_this = _super.call(this, props);
|
|
33
|
+
_this.viewBoxStyle = {
|
|
34
|
+
animation: 'loaderone 2s linear infinite'
|
|
35
|
+
};
|
|
36
|
+
_this.defsStyle = {
|
|
37
|
+
animation: 'circleAnimation_1 1.5s linear infinite',
|
|
38
|
+
transformOrigin: 'center'
|
|
39
|
+
};
|
|
40
|
+
_this.circleStyle = {
|
|
41
|
+
animation: 'circleAnimation_2 1.2s linear infinite',
|
|
42
|
+
transformOrigin: 'center'
|
|
43
|
+
};
|
|
44
|
+
return _this;
|
|
45
|
+
}
|
|
46
|
+
_createClass(Loader, [{
|
|
47
|
+
key: "render",
|
|
48
|
+
value: function render() {
|
|
49
|
+
var dataId = this.props.dataId;
|
|
50
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
51
|
+
className: _SVGModule["default"].center
|
|
52
|
+
}, /*#__PURE__*/_react["default"].createElement(_SVG["default"], {
|
|
53
|
+
viewBox: "0 0 40 40",
|
|
54
|
+
name: "Loader",
|
|
55
|
+
className: "".concat(_SVGModule["default"].loaderWrapper),
|
|
56
|
+
dataId: dataId,
|
|
57
|
+
styleName: this.viewBoxStyle
|
|
58
|
+
}, /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("style", null, '@keyframes circleAnimation_1{to{stroke-dashoffset:-82}}@keyframes circleAnimation_2{to{stroke-dashoffset:-50}}@keyframes loaderone{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}')), /*#__PURE__*/_react["default"].createElement("circle", {
|
|
59
|
+
fill: "none",
|
|
60
|
+
stroke: "#089949",
|
|
61
|
+
strokeWidth: 2,
|
|
62
|
+
strokeLinecap: "round",
|
|
63
|
+
strokeLinejoin: "round",
|
|
64
|
+
cx: 20,
|
|
65
|
+
cy: 20,
|
|
66
|
+
r: 13,
|
|
67
|
+
style: this.defsStyle,
|
|
68
|
+
strokeDasharray: 82,
|
|
69
|
+
strokeDashoffset: 82
|
|
70
|
+
}), /*#__PURE__*/_react["default"].createElement("circle", {
|
|
71
|
+
fill: "none",
|
|
72
|
+
stroke: "#17c662",
|
|
73
|
+
strokeLinecap: "round",
|
|
74
|
+
strokeLinejoin: "round",
|
|
75
|
+
cx: 20,
|
|
76
|
+
cy: 20,
|
|
77
|
+
r: 8,
|
|
78
|
+
style: this.circleStyle,
|
|
79
|
+
strokeDasharray: 50,
|
|
80
|
+
strokeDashoffset: 50
|
|
81
|
+
})));
|
|
82
|
+
}
|
|
83
|
+
}]);
|
|
84
|
+
return Loader;
|
|
85
|
+
}(_react["default"].PureComponent);
|
|
86
|
+
exports["default"] = Loader;
|
|
87
|
+
Loader.propTypes = _propTypes.LoaderProps;
|
|
88
|
+
Loader.defaultProps = _defaultProps.LoaderDefaultProps;
|
|
89
|
+
|
|
90
|
+
// if (__DOCS__) {
|
|
91
|
+
// Loader.docs = {
|
|
92
|
+
// componentGroup: 'SVG'
|
|
93
|
+
// };
|
|
94
|
+
// }
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.LoaderProps = void 0;
|
|
7
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
8
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
9
|
+
var LoaderProps = {
|
|
10
|
+
dataId: _propTypes["default"].string
|
|
11
|
+
};
|
|
12
|
+
exports.LoaderProps = LoaderProps;
|
package/lib/SVG/SVG.js
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
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
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _propTypes = require("./props/propTypes");
|
|
10
|
+
var _defaultProps = require("./props/defaultProps");
|
|
11
|
+
var _SVGModule = _interopRequireDefault(require("./SVG.module.css"));
|
|
12
|
+
var _EmptyStateVariablesModule = _interopRequireDefault(require("./../css/EmptyStateVariables.module.css"));
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
14
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
|
+
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, _toPropertyKey(descriptor.key), descriptor); } }
|
|
16
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
18
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
19
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
20
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
21
|
+
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); }; }
|
|
22
|
+
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); }
|
|
23
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
24
|
+
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; } }
|
|
25
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
26
|
+
var SVG = /*#__PURE__*/function (_React$Component) {
|
|
27
|
+
_inherits(SVG, _React$Component);
|
|
28
|
+
var _super = _createSuper(SVG);
|
|
29
|
+
function SVG() {
|
|
30
|
+
_classCallCheck(this, SVG);
|
|
31
|
+
return _super.apply(this, arguments);
|
|
32
|
+
}
|
|
33
|
+
_createClass(SVG, [{
|
|
34
|
+
key: "render",
|
|
35
|
+
value: function render() {
|
|
36
|
+
var _this$props = this.props,
|
|
37
|
+
viewBox = _this$props.viewBox,
|
|
38
|
+
children = _this$props.children,
|
|
39
|
+
name = _this$props.name,
|
|
40
|
+
isRender = _this$props.isRender,
|
|
41
|
+
isSymbol = _this$props.isSymbol,
|
|
42
|
+
size = _this$props.size,
|
|
43
|
+
className = _this$props.className,
|
|
44
|
+
alignHorizontal = _this$props.alignHorizontal,
|
|
45
|
+
isFluid = _this$props.isFluid,
|
|
46
|
+
dataId = _this$props.dataId,
|
|
47
|
+
palette = _this$props.palette,
|
|
48
|
+
styleName = _this$props.styleName;
|
|
49
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, isSymbol ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
50
|
+
hidden: true
|
|
51
|
+
}, /*#__PURE__*/_react["default"].createElement("svg", null, /*#__PURE__*/_react["default"].createElement("symbol", {
|
|
52
|
+
id: name,
|
|
53
|
+
viewBox: viewBox
|
|
54
|
+
}, children))) : null, isRender && isSymbol ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
55
|
+
className: "".concat(size === 'large' ? _SVGModule["default"].large : size === 'small' ? _SVGModule["default"].small : isFluid ? _SVGModule["default"].cover : '', " ").concat(className, " ").concat(_EmptyStateVariablesModule["default"][palette], " ").concat(alignHorizontal ? _SVGModule["default"].svgCenter : '', " "),
|
|
56
|
+
"aria-hidden": "true"
|
|
57
|
+
}, /*#__PURE__*/_react["default"].createElement("svg", {
|
|
58
|
+
height: "100%",
|
|
59
|
+
width: "100%",
|
|
60
|
+
"data-id": dataId,
|
|
61
|
+
"data-test-id": dataId
|
|
62
|
+
}, /*#__PURE__*/_react["default"].createElement("use", {
|
|
63
|
+
xlinkHref: "#".concat(name)
|
|
64
|
+
}))) : isRender ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
65
|
+
className: "".concat(size === 'large' ? _SVGModule["default"].large : size === 'small' ? _SVGModule["default"].small : isFluid ? _SVGModule["default"].cover : '', " ").concat(className, " ").concat(_EmptyStateVariablesModule["default"][palette], " ").concat(alignHorizontal ? _SVGModule["default"].svgCenter : '', " "),
|
|
66
|
+
"aria-hidden": "true"
|
|
67
|
+
}, /*#__PURE__*/_react["default"].createElement("svg", {
|
|
68
|
+
height: "100%",
|
|
69
|
+
width: "100%",
|
|
70
|
+
viewBox: viewBox,
|
|
71
|
+
"data-id": dataId,
|
|
72
|
+
"data-test-id": dataId,
|
|
73
|
+
style: styleName
|
|
74
|
+
}, children)) : null);
|
|
75
|
+
}
|
|
76
|
+
}]);
|
|
77
|
+
return SVG;
|
|
78
|
+
}(_react["default"].Component);
|
|
79
|
+
exports["default"] = SVG;
|
|
80
|
+
SVG.propTypes = _propTypes.SvgProps;
|
|
81
|
+
SVG.defaultProps = _defaultProps.SvgDefaultProps;
|
|
82
|
+
|
|
83
|
+
// if (__DOCS__) {
|
|
84
|
+
// SVG.docs = {
|
|
85
|
+
// componentGroup: 'SVG'
|
|
86
|
+
// };
|
|
87
|
+
// }
|
|
@@ -1,27 +1,31 @@
|
|
|
1
|
-
.cover {
|
|
2
|
-
height: 100%;
|
|
3
|
-
}
|
|
4
|
-
.large {
|
|
5
|
-
height:
|
|
6
|
-
width:
|
|
7
|
-
}
|
|
8
|
-
.small {
|
|
9
|
-
height:
|
|
10
|
-
width:
|
|
11
|
-
}
|
|
12
|
-
.svgCenter {
|
|
13
|
-
margin-left: auto;
|
|
14
|
-
margin-right: auto;
|
|
15
|
-
}
|
|
16
|
-
.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.
|
|
22
|
-
height:
|
|
23
|
-
width:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
.cover {
|
|
2
|
+
height: 100%;
|
|
3
|
+
}
|
|
4
|
+
.large {
|
|
5
|
+
height: 160px;
|
|
6
|
+
width: 160px;
|
|
7
|
+
}
|
|
8
|
+
.small {
|
|
9
|
+
height: 130px;
|
|
10
|
+
width: 130px;
|
|
11
|
+
}
|
|
12
|
+
[dir=ltr] .svgCenter {
|
|
13
|
+
margin-left: auto;
|
|
14
|
+
margin-right: auto;
|
|
15
|
+
}
|
|
16
|
+
[dir=rtl] .svgCenter {
|
|
17
|
+
margin-right: auto;
|
|
18
|
+
margin-left: auto;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.loaderWrapper {
|
|
22
|
+
height: 40px;
|
|
23
|
+
width: 40px;
|
|
24
|
+
}
|
|
25
|
+
.center {
|
|
26
|
+
height: 100%;
|
|
27
|
+
width: 100%;
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
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
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.StaticSvg = StaticSvg;
|
|
8
|
+
exports["default"] = SvgLoader;
|
|
9
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
12
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
13
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
14
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
15
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
16
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
17
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
18
|
+
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); }
|
|
19
|
+
function SvgLoader(props) {
|
|
20
|
+
var uiProps = {};
|
|
21
|
+
Object.keys(props).filter(function (prop) {
|
|
22
|
+
return prop != 'imageUrl';
|
|
23
|
+
}).map(function (prop) {
|
|
24
|
+
uiProps[prop] = props[prop];
|
|
25
|
+
});
|
|
26
|
+
var image = require("./images/".concat(props.imageUrl));
|
|
27
|
+
return /*#__PURE__*/_react["default"].createElement("image", _extends({
|
|
28
|
+
xlinkHref: image
|
|
29
|
+
}, uiProps));
|
|
30
|
+
}
|
|
31
|
+
function StaticSvg(props) {
|
|
32
|
+
var uiProps = {},
|
|
33
|
+
_useState = (0, _react.useState)(null),
|
|
34
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
35
|
+
image = _useState2[0],
|
|
36
|
+
setImage = _useState2[1];
|
|
37
|
+
Object.keys(props).filter(function (prop) {
|
|
38
|
+
return prop != 'getImage';
|
|
39
|
+
}).map(function (prop) {
|
|
40
|
+
uiProps[prop] = props[prop];
|
|
41
|
+
});
|
|
42
|
+
(0, _react.useEffect)(function () {
|
|
43
|
+
props.getImage().then(function (image) {
|
|
44
|
+
return setImage(image);
|
|
45
|
+
});
|
|
46
|
+
}, [props.getImage]);
|
|
47
|
+
return image ? /*#__PURE__*/_react["default"].createElement("image", _extends({
|
|
48
|
+
xlinkHref: image["default"]
|
|
49
|
+
}, uiProps)) : null;
|
|
50
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SvgDefaultProps = void 0;
|
|
7
|
+
var SvgDefaultProps = {
|
|
8
|
+
alignHorizontal: true,
|
|
9
|
+
isRender: true,
|
|
10
|
+
className: '',
|
|
11
|
+
dataId: 'SVG',
|
|
12
|
+
name: '',
|
|
13
|
+
viewBox: '',
|
|
14
|
+
isSymbol: false,
|
|
15
|
+
isFluid: false,
|
|
16
|
+
palette: 'default'
|
|
17
|
+
};
|
|
18
|
+
exports.SvgDefaultProps = SvgDefaultProps;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SvgProps = void 0;
|
|
7
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
8
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
9
|
+
var SvgProps = {
|
|
10
|
+
alignHorizontal: _propTypes["default"].bool,
|
|
11
|
+
children: _propTypes["default"].node,
|
|
12
|
+
className: _propTypes["default"].string,
|
|
13
|
+
dataId: _propTypes["default"].string,
|
|
14
|
+
isFluid: _propTypes["default"].bool,
|
|
15
|
+
isRender: _propTypes["default"].bool,
|
|
16
|
+
isSymbol: _propTypes["default"].bool,
|
|
17
|
+
name: _propTypes["default"].string,
|
|
18
|
+
size: _propTypes["default"].oneOf(['small', 'large']),
|
|
19
|
+
viewBox: _propTypes["default"].string,
|
|
20
|
+
palette: _propTypes["default"].oneOf(['default', 'dark']),
|
|
21
|
+
styleName: _propTypes["default"].node
|
|
22
|
+
};
|
|
23
|
+
exports.SvgProps = SvgProps;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
.default {
|
|
2
|
+
/* empty svg default palette variables */
|
|
3
|
+
--zd_emptysvg_primary_fill: var(--zdt_svg_default_primary_fill);
|
|
4
|
+
--zd_emptysvg_primary_stroke: var(--zdt_svg_default_primary_stroke);
|
|
5
|
+
--zd_emptysvg_secondary_fill: var(--zdt_svg_default_secondary_fill);
|
|
6
|
+
--zd_emptysvg_secondary_plainfill: var(--zdt_svg_default_secondary_plainfill);
|
|
7
|
+
--zd_emptysvg_plus: var(--zdt_svg_default_plus);
|
|
8
|
+
--zd_emptysvg_cross: var(--zdt_svg_default_cross);
|
|
9
|
+
--zd_emptysvg_medium_circle: var(--zdt_svg_default_medium_circle);
|
|
10
|
+
--zd_emptysvg_tiny_circle: var(--zdt_svg_default_tiny_circle);
|
|
11
|
+
--zd_emptysvg_small_circle: var(--zdt_svg_default_small_circle);
|
|
12
|
+
--zd_emptysvg_circle_fill: var(--zdt_svg_default_circle_fill);
|
|
13
|
+
}
|
|
14
|
+
.dark {
|
|
15
|
+
/* empty svg dark palette variables */
|
|
16
|
+
--zd_emptysvg_primary_fill: var(--zdt_svg_dark_primary_fill);
|
|
17
|
+
--zd_emptysvg_primary_stroke: var(--zdt_svg_dark_primary_stroke);
|
|
18
|
+
--zd_emptysvg_secondary_fill: var(--zdt_svg_dark_secondary_fill);
|
|
19
|
+
--zd_emptysvg_secondary_plainfill: var(--zdt_svg_dark_secondary_plainfill);
|
|
20
|
+
--zd_emptysvg_plus: var(--zdt_svg_dark_plus);
|
|
21
|
+
--zd_emptysvg_cross: var(--zdt_svg_dark_cross);
|
|
22
|
+
--zd_emptysvg_medium_circle: var(--zdt_svg_dark_medium_circle);
|
|
23
|
+
--zd_emptysvg_tiny_circle: var(--zdt_svg_dark_tiny_circle);
|
|
24
|
+
--zd_emptysvg_small_circle: var(--zdt_svg_dark_small_circle);
|
|
25
|
+
--zd_emptysvg_circle_fill: var(--zdt_svg_dark_circle_fill);
|
|
26
|
+
}
|
|
27
|
+
.danger {
|
|
28
|
+
/* empty svg danger palette variables */
|
|
29
|
+
--zd_emptysvg_primary_fill: var(--zdt_svg_danger_primary_fill);
|
|
30
|
+
--zd_emptysvg_primary_stroke: var(--zdt_svg_danger_primary_stroke);
|
|
31
|
+
--zd_emptysvg_secondary_fill: var(--zdt_svg_danger_secondary_fill);
|
|
32
|
+
--zd_emptysvg_secondary_plainfill: var(--zdt_svg_danger_secondary_plainfill);
|
|
33
|
+
--zd_emptysvg_plus: var(--zdt_svg_danger_plus);
|
|
34
|
+
--zd_emptysvg_cross: var(--zdt_svg_danger_cross);
|
|
35
|
+
--zd_emptysvg_medium_circle: var(--zdt_svg_danger_medium_circle);
|
|
36
|
+
--zd_emptysvg_tiny_circle: var(--zdt_svg_danger_tiny_circle);
|
|
37
|
+
--zd_emptysvg_small_circle: var(--zdt_svg_danger_small_circle);
|
|
38
|
+
--zd_emptysvg_circle_fill: var(--zdt_svg_danger_circle_fill);
|
|
39
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
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
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.v3 = exports.v2 = exports.v1 = void 0;
|
|
8
|
+
var _v = _interopRequireWildcard(require("./version1"));
|
|
9
|
+
exports.v1 = _v;
|
|
10
|
+
var _v2 = _interopRequireWildcard(require("./version2"));
|
|
11
|
+
exports.v2 = _v2;
|
|
12
|
+
var _v3 = _interopRequireWildcard(require("./version3"));
|
|
13
|
+
exports.v3 = _v3;
|
|
14
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
15
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.EmptyStateDefaultProps = void 0;
|
|
7
|
+
var EmptyStateDefaultProps = {
|
|
8
|
+
size: 'large',
|
|
9
|
+
alignHorizontal: true,
|
|
10
|
+
isRender: true,
|
|
11
|
+
className: '',
|
|
12
|
+
dataId: 'emptyState',
|
|
13
|
+
palette: 'default'
|
|
14
|
+
};
|
|
15
|
+
exports.EmptyStateDefaultProps = EmptyStateDefaultProps;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.EmptyStateProps = void 0;
|
|
7
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
8
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
9
|
+
var EmptyStateProps = {
|
|
10
|
+
alignHorizontal: _propTypes["default"].bool,
|
|
11
|
+
className: _propTypes["default"].string,
|
|
12
|
+
dataId: _propTypes["default"].string,
|
|
13
|
+
isRender: _propTypes["default"].bool,
|
|
14
|
+
size: _propTypes["default"].oneOf(['small', 'large']),
|
|
15
|
+
palette: _propTypes["default"].oneOf(['default', 'dark'])
|
|
16
|
+
};
|
|
17
|
+
exports.EmptyStateProps = EmptyStateProps;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
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
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _propTypes = require("./../props/propTypes");
|
|
10
|
+
var _defaultProps = require("./../props/defaultProps");
|
|
11
|
+
var _SVG = _interopRequireDefault(require("./../../SVG/SVG"));
|
|
12
|
+
var _EmptyCustomDomain = _interopRequireDefault(require("./../../../images/EmptyCustomDomain.svg"));
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
14
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
15
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
16
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
17
|
+
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); }
|
|
18
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19
|
+
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, _toPropertyKey(descriptor.key), descriptor); } }
|
|
20
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
21
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
22
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
23
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
24
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
25
|
+
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); }; }
|
|
26
|
+
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); }
|
|
27
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
28
|
+
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; } }
|
|
29
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
30
|
+
var EmptyCustomDomain = /*#__PURE__*/function (_React$Component) {
|
|
31
|
+
_inherits(EmptyCustomDomain, _React$Component);
|
|
32
|
+
var _super = _createSuper(EmptyCustomDomain);
|
|
33
|
+
function EmptyCustomDomain() {
|
|
34
|
+
_classCallCheck(this, EmptyCustomDomain);
|
|
35
|
+
return _super.apply(this, arguments);
|
|
36
|
+
}
|
|
37
|
+
_createClass(EmptyCustomDomain, [{
|
|
38
|
+
key: "render",
|
|
39
|
+
value: function render() {
|
|
40
|
+
return /*#__PURE__*/_react["default"].createElement(_SVG["default"], _extends({
|
|
41
|
+
viewBox: "0 0 298 123.46",
|
|
42
|
+
name: "CustomDomain"
|
|
43
|
+
}, this.props), /*#__PURE__*/_react["default"].createElement("image", {
|
|
44
|
+
xlinkHref: _EmptyCustomDomain["default"],
|
|
45
|
+
height: "100%",
|
|
46
|
+
width: "100%"
|
|
47
|
+
}));
|
|
48
|
+
}
|
|
49
|
+
}]);
|
|
50
|
+
return EmptyCustomDomain;
|
|
51
|
+
}(_react["default"].Component);
|
|
52
|
+
exports["default"] = EmptyCustomDomain;
|
|
53
|
+
EmptyCustomDomain.propTypes = _propTypes.EmptyStateProps;
|
|
54
|
+
EmptyCustomDomain.defaultProps = _objectSpread(_objectSpread({}, _defaultProps.EmptyStateDefaultProps), {}, {
|
|
55
|
+
dataId: 'emptyCustomDomain'
|
|
56
|
+
});
|
|
57
|
+
// if (__DOCS__) {
|
|
58
|
+
// EmptyCustomDomain.docs = {
|
|
59
|
+
// componentGroup: 'Emptystate'
|
|
60
|
+
// };
|
|
61
|
+
// }
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "EmptyCustomDomain", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _EmptyCustomDomain["default"];
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _EmptyCustomDomain = _interopRequireDefault(require("./EmptyCustomDomain"));
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
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
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _propTypes = require("./../props/propTypes");
|
|
10
|
+
var _defaultProps = require("./../props/defaultProps");
|
|
11
|
+
var _SVG = _interopRequireDefault(require("./../../SVG/SVG"));
|
|
12
|
+
var _EmptyBusinessHoliday = _interopRequireDefault(require("./../../../images/EmptyBusinessHoliday.svg"));
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
14
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
15
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
16
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
17
|
+
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); }
|
|
18
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19
|
+
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, _toPropertyKey(descriptor.key), descriptor); } }
|
|
20
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
21
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
22
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
23
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
24
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
25
|
+
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); }; }
|
|
26
|
+
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); }
|
|
27
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
28
|
+
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; } }
|
|
29
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
30
|
+
var EmptyBusinessHoliday = /*#__PURE__*/function (_React$Component) {
|
|
31
|
+
_inherits(EmptyBusinessHoliday, _React$Component);
|
|
32
|
+
var _super = _createSuper(EmptyBusinessHoliday);
|
|
33
|
+
function EmptyBusinessHoliday() {
|
|
34
|
+
_classCallCheck(this, EmptyBusinessHoliday);
|
|
35
|
+
return _super.apply(this, arguments);
|
|
36
|
+
}
|
|
37
|
+
_createClass(EmptyBusinessHoliday, [{
|
|
38
|
+
key: "render",
|
|
39
|
+
value: function render() {
|
|
40
|
+
return /*#__PURE__*/_react["default"].createElement(_SVG["default"], _extends({
|
|
41
|
+
viewBox: "0 0 181.9 139.3",
|
|
42
|
+
name: "businessholiday"
|
|
43
|
+
}, this.props), /*#__PURE__*/_react["default"].createElement("image", {
|
|
44
|
+
xlinkHref: _EmptyBusinessHoliday["default"],
|
|
45
|
+
height: "100%",
|
|
46
|
+
width: "100%"
|
|
47
|
+
}));
|
|
48
|
+
}
|
|
49
|
+
}]);
|
|
50
|
+
return EmptyBusinessHoliday;
|
|
51
|
+
}(_react["default"].Component);
|
|
52
|
+
exports["default"] = EmptyBusinessHoliday;
|
|
53
|
+
EmptyBusinessHoliday.propTypes = _propTypes.EmptyStateProps;
|
|
54
|
+
EmptyBusinessHoliday.defaultProps = _objectSpread(_objectSpread({}, _defaultProps.EmptyStateDefaultProps), {}, {
|
|
55
|
+
dataId: 'emptyBusinessHoliday'
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
// if (__DOCS__) {
|
|
59
|
+
// EmptyBusinessHoliday.docs = {
|
|
60
|
+
// componentGroup: 'Emptystate'
|
|
61
|
+
// };
|
|
62
|
+
// }
|