@zohodesk/svg 1.0.0-beta.45 → 1.0.0-beta.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/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/es/{svg → Loader}/Loader.js +12 -15
- package/es/Loader/props/defaultProps.js +3 -0
- package/es/Loader/props/propTypes.js +4 -0
- package/es/Provider.js +18 -84
- package/es/{svg → _svg}/SVG.js +5 -27
- package/es/{svg → _svg}/SVG.module.css +0 -0
- package/es/{svg → _svg}/SvgLoader.js +3 -3
- package/es/_svg/props/defaultProps.js +11 -0
- package/es/_svg/props/propTypes.js +15 -0
- package/es/{svg → css}/EmptyStateVariables.module.css +0 -0
- package/es/docs/Emptystate__version1.docs.js +29 -0
- package/es/docs/Emptystate__version2.docs.js +45 -0
- package/es/docs/Emptystate__version3.docs.js +148 -0
- package/es/docs/Errorstate__version1.docs.js +41 -0
- package/es/docs/Errorstate__version2.docs.js +33 -0
- package/es/docs/Errorstate__version3.docs.js +39 -0
- package/es/docs/SVG__common.docs.js +29 -0
- package/es/docs/SVGdocstyle.module.css +53 -0
- package/es/emptystate/props/defaultProps.js +8 -0
- package/es/emptystate/props/propTypes.js +9 -0
- package/es/emptystate/version1/EmptyCustomDomain.js +31 -0
- package/es/emptystate/version2/EmptyBusinessHoliday.js +31 -0
- package/es/emptystate/version2/EmptyBusinessHour.js +31 -0
- package/es/emptystate/version2/EmptyFromAddress.js +31 -0
- package/es/emptystate/version2/EmptyImportHistory.js +31 -0
- package/es/emptystate/version2/EmptyNetwork.js +31 -0
- package/es/emptystate/version2/EmptyRecycleBin.js +31 -0
- package/es/emptystate/version2/EmptyRoles.js +31 -0
- package/es/emptystate/version2/EmptyWebhook.js +31 -0
- package/es/emptystate/version2/FailureLog.js +31 -0
- package/es/emptystate/version3/CustomModule.js +60 -0
- package/es/{svg → emptystate/version3}/EmptyAccounts.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyActiveCalls.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyActivity.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyAgent.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyAgentQueue.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyApproval.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyArchived.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyAttach.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyBlueprint.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyCallHistory.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyCollision.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyColumn.js +10 -20
- package/es/{svg → emptystate/version3}/EmptyContact.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyContract.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyConversation.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyCrm.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyCrmNotes.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyCrmPotential.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyDashboard.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyDelete.js +12 -22
- package/es/{svg → emptystate/version3}/EmptyDepartment.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyError.js +8 -17
- package/es/{svg → emptystate/version3}/EmptyFeed.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyFollowers.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyFrame.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyHappiness.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyHistory.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyInvoice.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyNotification.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyProducts.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyReply.js +8 -18
- package/es/{svg → emptystate/version3}/EmptyReports.js +9 -19
- package/es/{svg → emptystate/version3}/EmptySchedule.js +9 -19
- package/es/{svg → emptystate/version3}/EmptySearch.js +9 -19
- package/es/{svg → emptystate/version3}/EmptySkills.js +9 -19
- package/es/{svg → emptystate/version3}/EmptySla.js +8 -18
- package/es/{svg → emptystate/version3}/EmptySnippet.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyTag.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyTask.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyTeams.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyTemplate.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyTicket.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyTimeEntry.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyTimeline.js +9 -19
- package/es/{svg → emptystate/version3}/EmptyTopic.js +9 -19
- package/es/{svg → emptystate/version3}/Export.js +15 -25
- package/es/{svg → emptystate/version3}/Extensions.js +9 -19
- package/es/{svg → emptystate/version3}/Extractor.js +9 -19
- package/es/{svg → emptystate/version3}/GCBot.js +11 -21
- package/es/{svg → emptystate/version3}/GCConversation.js +15 -25
- package/es/{svg → emptystate/version3}/Import.js +8 -18
- package/es/{svg → emptystate/version3}/KBBot.js +11 -21
- package/es/{svg → emptystate/version3}/Multilingual.js +10 -20
- package/es/{svg → emptystate/version3}/NetworkError.js +16 -26
- package/es/{svg → emptystate/version3}/Predictor.js +9 -19
- package/es/{svg → emptystate/version3}/ReadRecipients.js +11 -21
- package/es/{svg → emptystate/version3}/Variable.js +11 -21
- package/es/{svg → emptystate/version3}/ZiaAnamoly.js +9 -19
- package/es/errorstate/props/defaultProps.js +8 -0
- package/es/errorstate/props/propTypes.js +9 -0
- package/es/errorstate/version1/EmptyInconvenience.js +34 -0
- package/es/errorstate/version1/NoRequestFound.js +34 -0
- package/es/errorstate/version1/PageNotFound.js +35 -0
- package/es/errorstate/version1/UnableToProcessRequest.js +35 -0
- package/es/errorstate/version1/UnauthorizedLogin.js +35 -0
- package/es/errorstate/version1/UrlNotFound.js +35 -0
- package/es/errorstate/version1/WillBeRightBack.js +35 -0
- package/es/{svg → errorstate/version2}/EmptyUnauthorizedLogin.js +8 -19
- package/es/{svg → errorstate/version2}/EmptyWillBeRightBack.js +9 -20
- package/es/{svg → errorstate/version2}/NotImpossible.js +9 -18
- package/es/{svg → errorstate/version3}/ErrorInconvenience.js +8 -15
- package/es/{svg → errorstate/version3}/ErrorOopsSomethingMiss.js +8 -15
- package/es/{svg → errorstate/version3}/ErrorUnableToProcessRequest.js +8 -15
- package/es/{svg → errorstate/version3}/ErrorUnauthorizedLogin.js +22 -29
- package/es/{svg → errorstate/version3}/ErrorUrlNotFound.js +8 -15
- package/es/{svg → errorstate/version3}/ErrorWillBeRightBack.js +8 -15
- package/es/index.js +7 -4
- package/{es/svg/images → images}/EmptyBusinessHoliday.svg +0 -0
- package/{es/svg/images → images}/EmptyBusinessHour.svg +0 -0
- package/{es/svg/images → images}/EmptyContactInfo.svg +0 -0
- package/{es/svg/images → images}/EmptyCustomDomain.svg +0 -0
- package/{es/svg/images → images}/EmptyFilter.svg +0 -0
- package/{es/svg/images → images}/EmptyFromAddress.svg +0 -0
- package/{es/svg/images → images}/EmptyImportHistory.svg +0 -0
- package/{es/svg/images → images}/EmptyNetwork.svg +0 -0
- package/{es/svg/images → images}/EmptyRecycleBin.svg +0 -0
- package/{es/svg/images → images}/EmptyRoles.svg +0 -0
- package/{es/svg/images → images}/EmptySkills.svg +0 -0
- package/{es/svg/images → images}/EmptyWebhook.svg +0 -0
- package/{es/svg/images → images}/FailureLog.svg +0 -0
- package/{es/svg/images → images}/Inconvenience.svg +0 -0
- package/{es/svg/images → images}/NoRequestFound.svg +0 -0
- package/{es/svg/images → images}/PageNotFound.svg +0 -0
- package/{es/svg/images → images}/ReguestUrlNotFound.svg +0 -0
- package/{es/svg/images → images}/UnableToProcess.svg +0 -0
- package/{es/svg/images → images}/UnauthorizedLogin.svg +0 -0
- package/{es/svg/images → images}/WillBack.svg +0 -0
- package/lib/{svg → Loader}/Loader.js +15 -17
- package/lib/Loader/props/defaultProps.js +10 -0
- package/lib/Loader/props/propTypes.js +15 -0
- package/lib/Provider.js +25 -99
- package/lib/{svg → _svg}/SVG.js +8 -29
- package/lib/{svg → _svg}/SVG.module.css +0 -0
- package/lib/{svg → _svg}/SvgLoader.js +3 -3
- package/lib/_svg/props/defaultProps.js +18 -0
- package/lib/_svg/props/propTypes.js +26 -0
- package/lib/{svg → css}/EmptyStateVariables.module.css +0 -0
- package/lib/{svg/EmptyRoles.js → docs/Emptystate__version1.docs.js} +28 -39
- package/lib/docs/Emptystate__version2.docs.js +103 -0
- package/lib/docs/Emptystate__version3.docs.js +256 -0
- package/lib/docs/Errorstate__version1.docs.js +97 -0
- package/lib/docs/Errorstate__version2.docs.js +85 -0
- package/lib/docs/Errorstate__version3.docs.js +94 -0
- package/lib/docs/SVG__common.docs.js +79 -0
- package/lib/docs/SVGdocstyle.module.css +53 -0
- package/lib/emptystate/props/defaultProps.js +15 -0
- package/lib/{svg/utils.js → emptystate/props/propTypes.js} +7 -13
- package/lib/{svg → emptystate/version1}/EmptyCustomDomain.js +18 -20
- package/lib/{svg → emptystate/version2}/EmptyBusinessHoliday.js +18 -20
- package/lib/{svg → emptystate/version2}/EmptyBusinessHour.js +18 -20
- package/lib/{svg → emptystate/version2}/EmptyFromAddress.js +18 -20
- package/lib/{svg → emptystate/version2}/EmptyImportHistory.js +18 -20
- package/lib/{svg → emptystate/version2}/EmptyNetwork.js +18 -20
- package/lib/{svg → emptystate/version2}/EmptyRecycleBin.js +18 -20
- package/lib/emptystate/version2/EmptyRoles.js +88 -0
- package/lib/{svg → emptystate/version2}/EmptyWebhook.js +18 -20
- package/lib/{svg → emptystate/version2}/FailureLog.js +18 -20
- package/lib/emptystate/version3/CustomModule.js +116 -0
- package/lib/{svg → emptystate/version3}/EmptyAccounts.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyActiveCalls.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyActivity.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyAgent.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyAgentQueue.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyApproval.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyArchived.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyAttach.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyBlueprint.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyCallHistory.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyCollision.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyColumn.js +20 -24
- package/lib/{svg → emptystate/version3}/EmptyContact.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyContract.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyConversation.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyCrm.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyCrmNotes.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyCrmPotential.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyDashboard.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyDelete.js +22 -26
- package/lib/{svg → emptystate/version3}/EmptyDepartment.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyError.js +18 -21
- package/lib/{svg → emptystate/version3}/EmptyFeed.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyFollowers.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyFrame.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyHappiness.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyHistory.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyInvoice.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyNotification.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyProducts.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyReply.js +18 -22
- package/lib/{svg → emptystate/version3}/EmptyReports.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptySchedule.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptySearch.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptySkills.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptySla.js +18 -22
- package/lib/{svg → emptystate/version3}/EmptySnippet.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyTag.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyTask.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyTeams.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyTemplate.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyTicket.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyTimeEntry.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyTimeline.js +19 -23
- package/lib/{svg → emptystate/version3}/EmptyTopic.js +19 -23
- package/lib/{svg → emptystate/version3}/Export.js +25 -29
- package/lib/{svg → emptystate/version3}/Extensions.js +19 -23
- package/lib/{svg → emptystate/version3}/Extractor.js +19 -23
- package/lib/{svg → emptystate/version3}/GCBot.js +21 -25
- package/lib/{svg → emptystate/version3}/GCConversation.js +25 -29
- package/lib/{svg → emptystate/version3}/Import.js +18 -22
- package/lib/{svg → emptystate/version3}/KBBot.js +21 -25
- package/lib/{svg → emptystate/version3}/Multilingual.js +20 -24
- package/lib/{svg → emptystate/version3}/NetworkError.js +26 -30
- package/lib/{svg → emptystate/version3}/Predictor.js +19 -23
- package/lib/{svg → emptystate/version3}/ReadRecipients.js +21 -25
- package/lib/{svg → emptystate/version3}/Variable.js +21 -25
- package/lib/{svg → emptystate/version3}/ZiaAnamoly.js +19 -23
- package/lib/errorstate/props/defaultProps.js +15 -0
- package/lib/errorstate/props/propTypes.js +20 -0
- package/lib/{svg → errorstate/version1}/EmptyInconvenience.js +18 -19
- package/lib/{svg → errorstate/version1}/NoRequestFound.js +18 -19
- package/lib/{svg → errorstate/version1}/PageNotFound.js +18 -19
- package/lib/{svg → errorstate/version1}/UnableToProcessRequest.js +18 -19
- package/lib/{svg → errorstate/version1}/UnauthorizedLogin.js +18 -19
- package/lib/{svg → errorstate/version1}/UrlNotFound.js +18 -19
- package/lib/{svg → errorstate/version1}/WillBeRightBack.js +18 -19
- package/lib/{svg → errorstate/version2}/EmptyUnauthorizedLogin.js +18 -22
- package/lib/{svg → errorstate/version2}/EmptyWillBeRightBack.js +19 -23
- package/lib/{svg → errorstate/version2}/NotImpossible.js +19 -21
- package/lib/{svg → errorstate/version3}/ErrorInconvenience.js +18 -18
- package/lib/{svg → errorstate/version3}/ErrorOopsSomethingMiss.js +18 -18
- package/lib/{svg → errorstate/version3}/ErrorUnableToProcessRequest.js +18 -18
- package/lib/{svg → errorstate/version3}/ErrorUnauthorizedLogin.js +32 -32
- package/lib/{svg → errorstate/version3}/ErrorUrlNotFound.js +18 -18
- package/lib/{svg → errorstate/version3}/ErrorWillBeRightBack.js +18 -18
- package/lib/index.js +40 -16
- package/package.json +3 -3
- package/es/svg/EmptyBusinessHoliday.js +0 -39
- package/es/svg/EmptyBusinessHour.js +0 -39
- package/es/svg/EmptyCustomDomain.js +0 -39
- package/es/svg/EmptyFromAddress.js +0 -39
- package/es/svg/EmptyImportHistory.js +0 -39
- package/es/svg/EmptyInconvenience.js +0 -42
- package/es/svg/EmptyNetwork.js +0 -39
- package/es/svg/EmptyRecycleBin.js +0 -39
- package/es/svg/EmptyRoles.js +0 -39
- package/es/svg/EmptyWebhook.js +0 -39
- package/es/svg/FailureLog.js +0 -39
- package/es/svg/NoRequestFound.js +0 -42
- package/es/svg/PageNotFound.js +0 -43
- package/es/svg/UnableToProcessRequest.js +0 -43
- package/es/svg/UnauthorizedLogin.js +0 -43
- package/es/svg/UrlNotFound.js +0 -43
- package/es/svg/WillBeRightBack.js +0 -43
- package/es/svg/utils.js +0 -14
- package/lib/svg/images/EmptyBusinessHoliday.svg +0 -50
- package/lib/svg/images/EmptyBusinessHour.svg +0 -42
- package/lib/svg/images/EmptyContactInfo.svg +0 -27
- package/lib/svg/images/EmptyCustomDomain.svg +0 -85
- package/lib/svg/images/EmptyFilter.svg +0 -62
- package/lib/svg/images/EmptyFromAddress.svg +0 -41
- package/lib/svg/images/EmptyImportHistory.svg +0 -43
- package/lib/svg/images/EmptyNetwork.svg +0 -50
- package/lib/svg/images/EmptyRecycleBin.svg +0 -58
- package/lib/svg/images/EmptyRoles.svg +0 -30
- package/lib/svg/images/EmptySkills.svg +0 -83
- package/lib/svg/images/EmptyWebhook.svg +0 -44
- package/lib/svg/images/FailureLog.svg +0 -46
- package/lib/svg/images/Inconvenience.svg +0 -719
- package/lib/svg/images/NoRequestFound.svg +0 -247
- package/lib/svg/images/PageNotFound.svg +0 -405
- package/lib/svg/images/ReguestUrlNotFound.svg +0 -267
- package/lib/svg/images/UnableToProcess.svg +0 -752
- package/lib/svg/images/UnauthorizedLogin.svg +0 -1047
- package/lib/svg/images/WillBack.svg +0 -633
|
@@ -0,0 +1,97 @@
|
|
|
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
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
12
|
+
var _EmptyInconvenience = _interopRequireDefault(require("../errorstate/version1/EmptyInconvenience"));
|
|
13
|
+
|
|
14
|
+
var _NoRequestFound = _interopRequireDefault(require("../errorstate/version1/NoRequestFound"));
|
|
15
|
+
|
|
16
|
+
var _PageNotFound = _interopRequireDefault(require("../errorstate/version1/PageNotFound"));
|
|
17
|
+
|
|
18
|
+
var _UnableToProcessRequest = _interopRequireDefault(require("../errorstate//version1/UnableToProcessRequest"));
|
|
19
|
+
|
|
20
|
+
var _UnauthorizedLogin = _interopRequireDefault(require("../errorstate/version1/UnauthorizedLogin"));
|
|
21
|
+
|
|
22
|
+
var _UrlNotFound = _interopRequireDefault(require("../errorstate/version1/UrlNotFound"));
|
|
23
|
+
|
|
24
|
+
var _WillBeRightBack = _interopRequireDefault(require("../errorstate/version1/WillBeRightBack"));
|
|
25
|
+
|
|
26
|
+
var _SVGdocstyleModule = _interopRequireDefault(require("./SVGdocstyle.module.css"));
|
|
27
|
+
|
|
28
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
29
|
+
|
|
30
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
31
|
+
|
|
32
|
+
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); } }
|
|
33
|
+
|
|
34
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
35
|
+
|
|
36
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
37
|
+
|
|
38
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
39
|
+
|
|
40
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
41
|
+
|
|
42
|
+
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); }
|
|
43
|
+
|
|
44
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
45
|
+
|
|
46
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
47
|
+
|
|
48
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
49
|
+
|
|
50
|
+
var Errorstate__version1 = /*#__PURE__*/function (_React$Component) {
|
|
51
|
+
_inherits(Errorstate__version1, _React$Component);
|
|
52
|
+
|
|
53
|
+
var _super = _createSuper(Errorstate__version1);
|
|
54
|
+
|
|
55
|
+
function Errorstate__version1() {
|
|
56
|
+
_classCallCheck(this, Errorstate__version1);
|
|
57
|
+
|
|
58
|
+
return _super.apply(this, arguments);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
_createClass(Errorstate__version1, [{
|
|
62
|
+
key: "render",
|
|
63
|
+
value: function render() {
|
|
64
|
+
var allSvg = {
|
|
65
|
+
EmptyInconvenience: /*#__PURE__*/_react["default"].createElement(_EmptyInconvenience["default"], null),
|
|
66
|
+
NoRequestFound: /*#__PURE__*/_react["default"].createElement(_NoRequestFound["default"], null),
|
|
67
|
+
PageNotFound: /*#__PURE__*/_react["default"].createElement(_PageNotFound["default"], null),
|
|
68
|
+
UnableToProcessRequest: /*#__PURE__*/_react["default"].createElement(_UnableToProcessRequest["default"], null),
|
|
69
|
+
UnauthorizedLogin: /*#__PURE__*/_react["default"].createElement(_UnauthorizedLogin["default"], null),
|
|
70
|
+
UrlNotFound: /*#__PURE__*/_react["default"].createElement(_UrlNotFound["default"], null),
|
|
71
|
+
WillBeRightBack: /*#__PURE__*/_react["default"].createElement(_WillBeRightBack["default"], null)
|
|
72
|
+
};
|
|
73
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
74
|
+
className: _SVGdocstyleModule["default"].parent
|
|
75
|
+
}, Object.keys(allSvg).map(function (item) {
|
|
76
|
+
var filterDarkPalettes = item.endsWith('DarkPalette');
|
|
77
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
78
|
+
className: filterDarkPalettes ? _SVGdocstyleModule["default"].darkPalette : _SVGdocstyleModule["default"].defaultPalette
|
|
79
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
80
|
+
className: _SVGdocstyleModule["default"].box
|
|
81
|
+
}, allSvg[item]), /*#__PURE__*/_react["default"].createElement("div", {
|
|
82
|
+
className: _SVGdocstyleModule["default"].textStyle
|
|
83
|
+
}, item));
|
|
84
|
+
}));
|
|
85
|
+
}
|
|
86
|
+
}]);
|
|
87
|
+
|
|
88
|
+
return Errorstate__version1;
|
|
89
|
+
}(_react["default"].Component);
|
|
90
|
+
|
|
91
|
+
exports["default"] = Errorstate__version1;
|
|
92
|
+
|
|
93
|
+
if (false) {
|
|
94
|
+
Errorstate__version1.docs = {
|
|
95
|
+
componentGroup: 'Errorstate'
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
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
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
12
|
+
var _EmptyUnauthorizedLogin = _interopRequireDefault(require("../errorstate/version2/EmptyUnauthorizedLogin"));
|
|
13
|
+
|
|
14
|
+
var _EmptyWillBeRightBack = _interopRequireDefault(require("../errorstate/version2/EmptyWillBeRightBack"));
|
|
15
|
+
|
|
16
|
+
var _NotImpossible = _interopRequireDefault(require("../errorstate/version2/NotImpossible"));
|
|
17
|
+
|
|
18
|
+
var _SVGdocstyleModule = _interopRequireDefault(require("./SVGdocstyle.module.css"));
|
|
19
|
+
|
|
20
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
+
|
|
22
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
23
|
+
|
|
24
|
+
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); } }
|
|
25
|
+
|
|
26
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
27
|
+
|
|
28
|
+
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); }
|
|
29
|
+
|
|
30
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
|
+
|
|
32
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
33
|
+
|
|
34
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
35
|
+
|
|
36
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
37
|
+
|
|
38
|
+
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; } }
|
|
39
|
+
|
|
40
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
41
|
+
|
|
42
|
+
var Errorstate__version2 = /*#__PURE__*/function (_React$Component) {
|
|
43
|
+
_inherits(Errorstate__version2, _React$Component);
|
|
44
|
+
|
|
45
|
+
var _super = _createSuper(Errorstate__version2);
|
|
46
|
+
|
|
47
|
+
function Errorstate__version2() {
|
|
48
|
+
_classCallCheck(this, Errorstate__version2);
|
|
49
|
+
|
|
50
|
+
return _super.apply(this, arguments);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
_createClass(Errorstate__version2, [{
|
|
54
|
+
key: "render",
|
|
55
|
+
value: function render() {
|
|
56
|
+
var allSvg = {
|
|
57
|
+
EmptyUnauthorizedLogin: /*#__PURE__*/_react["default"].createElement(_EmptyUnauthorizedLogin["default"], null),
|
|
58
|
+
EmptyWillBeRightBack: /*#__PURE__*/_react["default"].createElement(_EmptyWillBeRightBack["default"], null),
|
|
59
|
+
NotImpossible: /*#__PURE__*/_react["default"].createElement(_NotImpossible["default"], null)
|
|
60
|
+
};
|
|
61
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
62
|
+
className: _SVGdocstyleModule["default"].parent
|
|
63
|
+
}, Object.keys(allSvg).map(function (item) {
|
|
64
|
+
var filterDarkPalettes = item.endsWith('DarkPalette');
|
|
65
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
66
|
+
className: filterDarkPalettes ? _SVGdocstyleModule["default"].darkPalette : _SVGdocstyleModule["default"].defaultPalette
|
|
67
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
68
|
+
className: _SVGdocstyleModule["default"].box
|
|
69
|
+
}, allSvg[item]), /*#__PURE__*/_react["default"].createElement("div", {
|
|
70
|
+
className: _SVGdocstyleModule["default"].textStyle
|
|
71
|
+
}, item));
|
|
72
|
+
}));
|
|
73
|
+
}
|
|
74
|
+
}]);
|
|
75
|
+
|
|
76
|
+
return Errorstate__version2;
|
|
77
|
+
}(_react["default"].Component);
|
|
78
|
+
|
|
79
|
+
exports["default"] = Errorstate__version2;
|
|
80
|
+
|
|
81
|
+
if (false) {
|
|
82
|
+
Errorstate__version2.docs = {
|
|
83
|
+
componentGroup: 'Errorstate'
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -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
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
12
|
+
var _ErrorInconvenience = _interopRequireDefault(require("../errorstate/version3/ErrorInconvenience"));
|
|
13
|
+
|
|
14
|
+
var _ErrorOopsSomethingMiss = _interopRequireDefault(require("../errorstate/version3/ErrorOopsSomethingMiss"));
|
|
15
|
+
|
|
16
|
+
var _ErrorUnableToProcessRequest = _interopRequireDefault(require("../errorstate/version3/ErrorUnableToProcessRequest"));
|
|
17
|
+
|
|
18
|
+
var _ErrorUnauthorizedLogin = _interopRequireDefault(require("../errorstate/version3/ErrorUnauthorizedLogin"));
|
|
19
|
+
|
|
20
|
+
var _ErrorUrlNotFound = _interopRequireDefault(require("../errorstate/version3/ErrorUrlNotFound"));
|
|
21
|
+
|
|
22
|
+
var _ErrorWillBeRightBack = _interopRequireDefault(require("../errorstate/version3/ErrorWillBeRightBack"));
|
|
23
|
+
|
|
24
|
+
var _SVGdocstyleModule = _interopRequireDefault(require("./SVGdocstyle.module.css"));
|
|
25
|
+
|
|
26
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
27
|
+
|
|
28
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
29
|
+
|
|
30
|
+
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); } }
|
|
31
|
+
|
|
32
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
33
|
+
|
|
34
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
35
|
+
|
|
36
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
37
|
+
|
|
38
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
39
|
+
|
|
40
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
41
|
+
|
|
42
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
43
|
+
|
|
44
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
45
|
+
|
|
46
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
47
|
+
|
|
48
|
+
var Errorstate__version3 = /*#__PURE__*/function (_React$Component) {
|
|
49
|
+
_inherits(Errorstate__version3, _React$Component);
|
|
50
|
+
|
|
51
|
+
var _super = _createSuper(Errorstate__version3);
|
|
52
|
+
|
|
53
|
+
function Errorstate__version3() {
|
|
54
|
+
_classCallCheck(this, Errorstate__version3);
|
|
55
|
+
|
|
56
|
+
return _super.apply(this, arguments);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
_createClass(Errorstate__version3, [{
|
|
60
|
+
key: "render",
|
|
61
|
+
value: function render() {
|
|
62
|
+
var allSvg = {
|
|
63
|
+
Inconvenience: /*#__PURE__*/_react["default"].createElement(_ErrorInconvenience["default"], null),
|
|
64
|
+
OopsSomethingMiss: /*#__PURE__*/_react["default"].createElement(_ErrorOopsSomethingMiss["default"], null),
|
|
65
|
+
UnableToProcessRequest: /*#__PURE__*/_react["default"].createElement(_ErrorUnableToProcessRequest["default"], null),
|
|
66
|
+
UnathorizedLogin: /*#__PURE__*/_react["default"].createElement(_ErrorUnauthorizedLogin["default"], null),
|
|
67
|
+
UrlNotFound: /*#__PURE__*/_react["default"].createElement(_ErrorUrlNotFound["default"], null),
|
|
68
|
+
WillBeRightBack: /*#__PURE__*/_react["default"].createElement(_ErrorWillBeRightBack["default"], null)
|
|
69
|
+
};
|
|
70
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
71
|
+
className: _SVGdocstyleModule["default"].parent
|
|
72
|
+
}, Object.keys(allSvg).map(function (item) {
|
|
73
|
+
var filterDarkPalettes = item.endsWith('DarkPalette');
|
|
74
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
75
|
+
className: filterDarkPalettes ? _SVGdocstyleModule["default"].darkPalette : _SVGdocstyleModule["default"].defaultPalette
|
|
76
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
77
|
+
className: _SVGdocstyleModule["default"].box
|
|
78
|
+
}, allSvg[item]), /*#__PURE__*/_react["default"].createElement("div", {
|
|
79
|
+
className: _SVGdocstyleModule["default"].textStyle
|
|
80
|
+
}, item));
|
|
81
|
+
}));
|
|
82
|
+
}
|
|
83
|
+
}]);
|
|
84
|
+
|
|
85
|
+
return Errorstate__version3;
|
|
86
|
+
}(_react["default"].Component);
|
|
87
|
+
|
|
88
|
+
exports["default"] = Errorstate__version3;
|
|
89
|
+
|
|
90
|
+
if (false) {
|
|
91
|
+
Errorstate__version3.docs = {
|
|
92
|
+
componentGroup: 'Errorstate'
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
12
|
+
var _Loader = _interopRequireDefault(require("../Loader/Loader"));
|
|
13
|
+
|
|
14
|
+
var _SVGdocstyleModule = _interopRequireDefault(require("./SVGdocstyle.module.css"));
|
|
15
|
+
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
+
|
|
18
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19
|
+
|
|
20
|
+
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); } }
|
|
21
|
+
|
|
22
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
23
|
+
|
|
24
|
+
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); }
|
|
25
|
+
|
|
26
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
27
|
+
|
|
28
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
29
|
+
|
|
30
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
31
|
+
|
|
32
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
33
|
+
|
|
34
|
+
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; } }
|
|
35
|
+
|
|
36
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
37
|
+
|
|
38
|
+
var SVG__common = /*#__PURE__*/function (_React$Component) {
|
|
39
|
+
_inherits(SVG__common, _React$Component);
|
|
40
|
+
|
|
41
|
+
var _super = _createSuper(SVG__common);
|
|
42
|
+
|
|
43
|
+
function SVG__common() {
|
|
44
|
+
_classCallCheck(this, SVG__common);
|
|
45
|
+
|
|
46
|
+
return _super.apply(this, arguments);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
_createClass(SVG__common, [{
|
|
50
|
+
key: "render",
|
|
51
|
+
value: function render() {
|
|
52
|
+
var allSvg = {
|
|
53
|
+
Loader: /*#__PURE__*/_react["default"].createElement(_Loader["default"], null)
|
|
54
|
+
};
|
|
55
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
56
|
+
className: _SVGdocstyleModule["default"].parent
|
|
57
|
+
}, Object.keys(allSvg).map(function (item) {
|
|
58
|
+
var filterDarkPalettes = item.endsWith('DarkPalette');
|
|
59
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
60
|
+
className: filterDarkPalettes ? _SVGdocstyleModule["default"].darkPalette : _SVGdocstyleModule["default"].defaultPalette
|
|
61
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
62
|
+
className: _SVGdocstyleModule["default"].box
|
|
63
|
+
}, allSvg[item]), /*#__PURE__*/_react["default"].createElement("div", {
|
|
64
|
+
className: _SVGdocstyleModule["default"].textStyle
|
|
65
|
+
}, item));
|
|
66
|
+
}));
|
|
67
|
+
}
|
|
68
|
+
}]);
|
|
69
|
+
|
|
70
|
+
return SVG__common;
|
|
71
|
+
}(_react["default"].Component);
|
|
72
|
+
|
|
73
|
+
exports["default"] = SVG__common;
|
|
74
|
+
|
|
75
|
+
if (false) {
|
|
76
|
+
SVG__common.docs = {
|
|
77
|
+
componentGroup: 'Svg'
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
[data-mode='default'] {
|
|
2
|
+
background: #fff;
|
|
3
|
+
color: #000;
|
|
4
|
+
}
|
|
5
|
+
[data-mode='dark'] {
|
|
6
|
+
background: #232b38;
|
|
7
|
+
color: #e2e4e6;
|
|
8
|
+
}
|
|
9
|
+
[data-mode='pureDark'] {
|
|
10
|
+
background: #212121;
|
|
11
|
+
color: #e2e4e6;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
.parent{
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: row;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
flex-wrap: wrap;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.box{
|
|
24
|
+
height:200px;
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.defaultPalette{
|
|
31
|
+
border: 1px solid #dcdcdc;
|
|
32
|
+
padding: 5px;
|
|
33
|
+
margin: 5px;
|
|
34
|
+
width: 24%;
|
|
35
|
+
justify-content: space-between
|
|
36
|
+
}
|
|
37
|
+
.darkPalette{
|
|
38
|
+
background-color: #2c334d;
|
|
39
|
+
min-width: 45%;
|
|
40
|
+
border: 1px solid #dcdcdc;
|
|
41
|
+
padding: 5px;
|
|
42
|
+
margin: 5px;
|
|
43
|
+
flex: 1;
|
|
44
|
+
max-width: 25%;
|
|
45
|
+
justify-content: space-between
|
|
46
|
+
}
|
|
47
|
+
.textStyle{
|
|
48
|
+
text-align: center;
|
|
49
|
+
padding: 10px 0;
|
|
50
|
+
background: #f9f9f9;
|
|
51
|
+
margin-top: 10px;
|
|
52
|
+
color: #000
|
|
53
|
+
}
|
|
@@ -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;
|
|
@@ -3,24 +3,18 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.EmptyStateProps = void 0;
|
|
7
7
|
|
|
8
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
9
|
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
size: _propTypes["default"].oneOf(['small', 'large']),
|
|
14
|
-
className: _propTypes["default"].string,
|
|
12
|
+
var EmptyStateProps = {
|
|
15
13
|
alignHorizontal: _propTypes["default"].bool,
|
|
14
|
+
className: _propTypes["default"].string,
|
|
16
15
|
dataId: _propTypes["default"].string,
|
|
17
|
-
isRender: _propTypes["default"].bool
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
var emptyStateDefaultProps = {
|
|
21
|
-
size: 'large',
|
|
22
|
-
alignHorizontal: true,
|
|
23
|
-
isRender: true,
|
|
24
|
-
className: ''
|
|
16
|
+
isRender: _propTypes["default"].bool,
|
|
17
|
+
size: _propTypes["default"].oneOf(['small', 'large']),
|
|
18
|
+
palette: _propTypes["default"].oneOf(['default', 'dark'])
|
|
25
19
|
};
|
|
26
|
-
exports.
|
|
20
|
+
exports.EmptyStateProps = EmptyStateProps;
|
|
@@ -9,15 +9,23 @@ exports["default"] = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
|
|
12
|
-
var _propTypes =
|
|
12
|
+
var _propTypes = require("./../props/propTypes");
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _defaultProps = require("./../props/defaultProps");
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _SVG = _interopRequireDefault(require("./../../_svg/SVG"));
|
|
17
|
+
|
|
18
|
+
var _EmptyCustomDomain = _interopRequireDefault(require("./../../../images/EmptyCustomDomain.svg"));
|
|
17
19
|
|
|
18
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
21
|
|
|
20
|
-
function
|
|
22
|
+
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; }
|
|
23
|
+
|
|
24
|
+
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; }
|
|
25
|
+
|
|
26
|
+
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; }
|
|
27
|
+
|
|
28
|
+
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); }
|
|
21
29
|
|
|
22
30
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
23
31
|
|
|
@@ -27,7 +35,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
27
35
|
|
|
28
36
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
37
|
|
|
30
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
38
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
39
|
|
|
32
40
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
33
41
|
|
|
@@ -37,7 +45,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
37
45
|
|
|
38
46
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
39
47
|
|
|
40
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
48
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
41
49
|
|
|
42
50
|
var EmptyCustomDomain = /*#__PURE__*/function (_React$Component) {
|
|
43
51
|
_inherits(EmptyCustomDomain, _React$Component);
|
|
@@ -68,23 +76,13 @@ var EmptyCustomDomain = /*#__PURE__*/function (_React$Component) {
|
|
|
68
76
|
}(_react["default"].Component);
|
|
69
77
|
|
|
70
78
|
exports["default"] = EmptyCustomDomain;
|
|
71
|
-
EmptyCustomDomain.propTypes = {
|
|
72
|
-
|
|
73
|
-
className: _propTypes["default"].string,
|
|
74
|
-
dataId: _propTypes["default"].string,
|
|
75
|
-
isRender: _propTypes["default"].bool,
|
|
76
|
-
size: _propTypes["default"].oneOf(['small', 'large'])
|
|
77
|
-
};
|
|
78
|
-
EmptyCustomDomain.defaultProps = {
|
|
79
|
-
size: 'large',
|
|
80
|
-
alignHorizontal: true,
|
|
81
|
-
isRender: true,
|
|
82
|
-
className: '',
|
|
79
|
+
EmptyCustomDomain.propTypes = _objectSpread({}, _propTypes.EmptyStateProps);
|
|
80
|
+
EmptyCustomDomain.defaultProps = _objectSpread(_objectSpread({}, _defaultProps.EmptyStateDefaultProps), {}, {
|
|
83
81
|
dataId: 'emptyCustomDomain'
|
|
84
|
-
};
|
|
82
|
+
});
|
|
85
83
|
|
|
86
84
|
if (false) {
|
|
87
85
|
EmptyCustomDomain.docs = {
|
|
88
|
-
componentGroup: '
|
|
86
|
+
componentGroup: 'Emptystate'
|
|
89
87
|
};
|
|
90
88
|
}
|
|
@@ -9,15 +9,23 @@ exports["default"] = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
|
|
12
|
-
var _propTypes =
|
|
12
|
+
var _propTypes = require("./../props/propTypes");
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _defaultProps = require("./../props/defaultProps");
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _SVG = _interopRequireDefault(require("./../../_svg/SVG"));
|
|
17
|
+
|
|
18
|
+
var _EmptyBusinessHoliday = _interopRequireDefault(require("./../../../images/EmptyBusinessHoliday.svg"));
|
|
17
19
|
|
|
18
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
21
|
|
|
20
|
-
function
|
|
22
|
+
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; }
|
|
23
|
+
|
|
24
|
+
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; }
|
|
25
|
+
|
|
26
|
+
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; }
|
|
27
|
+
|
|
28
|
+
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); }
|
|
21
29
|
|
|
22
30
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
23
31
|
|
|
@@ -27,7 +35,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
27
35
|
|
|
28
36
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
37
|
|
|
30
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
38
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
39
|
|
|
32
40
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
33
41
|
|
|
@@ -37,7 +45,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
37
45
|
|
|
38
46
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
39
47
|
|
|
40
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
48
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
41
49
|
|
|
42
50
|
var EmptyBusinessHoliday = /*#__PURE__*/function (_React$Component) {
|
|
43
51
|
_inherits(EmptyBusinessHoliday, _React$Component);
|
|
@@ -68,23 +76,13 @@ var EmptyBusinessHoliday = /*#__PURE__*/function (_React$Component) {
|
|
|
68
76
|
}(_react["default"].Component);
|
|
69
77
|
|
|
70
78
|
exports["default"] = EmptyBusinessHoliday;
|
|
71
|
-
EmptyBusinessHoliday.propTypes = {
|
|
72
|
-
|
|
73
|
-
className: _propTypes["default"].string,
|
|
74
|
-
dataId: _propTypes["default"].string,
|
|
75
|
-
isRender: _propTypes["default"].bool,
|
|
76
|
-
size: _propTypes["default"].oneOf(['small', 'large'])
|
|
77
|
-
};
|
|
78
|
-
EmptyBusinessHoliday.defaultProps = {
|
|
79
|
-
size: 'large',
|
|
80
|
-
alignHorizontal: true,
|
|
81
|
-
isRender: true,
|
|
82
|
-
className: '',
|
|
79
|
+
EmptyBusinessHoliday.propTypes = _objectSpread({}, _propTypes.EmptyStateProps);
|
|
80
|
+
EmptyBusinessHoliday.defaultProps = _objectSpread(_objectSpread({}, _defaultProps.EmptyStateDefaultProps), {}, {
|
|
83
81
|
dataId: 'emptyBusinessHoliday'
|
|
84
|
-
};
|
|
82
|
+
});
|
|
85
83
|
|
|
86
84
|
if (false) {
|
|
87
85
|
EmptyBusinessHoliday.docs = {
|
|
88
|
-
componentGroup: '
|
|
86
|
+
componentGroup: 'Emptystate'
|
|
89
87
|
};
|
|
90
88
|
}
|