@zohodesk/svg 1.0.0-beta.4 → 1.0.0-beta.42
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 +146 -1
- 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/es/Provider.js +140 -0
- package/es/index.js +5 -2
- package/es/svg/EmptyAccounts.js +84 -40
- package/es/svg/EmptyActiveCalls.js +55 -47
- package/es/svg/EmptyActivity.js +55 -42
- package/es/svg/EmptyAgent.js +55 -39
- package/es/svg/EmptyAgentQueue.js +78 -0
- package/es/svg/EmptyApproval.js +78 -0
- package/es/svg/EmptyArchived.js +64 -39
- package/es/svg/EmptyAttach.js +55 -39
- package/es/svg/EmptyBlueprint.js +70 -39
- package/es/svg/EmptyBusinessHoliday.js +21 -38
- package/es/svg/EmptyBusinessHour.js +21 -38
- package/es/svg/EmptyCallHistory.js +57 -47
- package/es/svg/EmptyCollision.js +72 -0
- package/es/svg/EmptyColumn.js +78 -0
- package/es/svg/EmptyContact.js +55 -40
- package/es/svg/EmptyContract.js +68 -0
- package/es/svg/EmptyConversation.js +55 -39
- package/es/svg/EmptyCrm.js +72 -0
- package/es/svg/EmptyCrmNotes.js +83 -0
- package/es/svg/EmptyCrmPotential.js +86 -0
- package/es/svg/EmptyCustomDomain.js +39 -0
- package/es/svg/EmptyDashboard.js +62 -40
- package/es/svg/EmptyDepartment.js +72 -0
- package/es/svg/EmptyError.js +94 -0
- package/es/svg/EmptyFeed.js +75 -0
- package/es/svg/EmptyFollowers.js +73 -0
- package/es/svg/EmptyFrame.js +71 -0
- package/es/svg/EmptyFromAddress.js +21 -38
- package/es/svg/EmptyHappiness.js +55 -39
- package/es/svg/EmptyHistory.js +55 -46
- package/es/svg/EmptyImportHistory.js +21 -38
- package/es/svg/EmptyInconvenience.js +42 -0
- package/es/svg/EmptyInvoice.js +60 -39
- package/es/svg/EmptyNetwork.js +21 -38
- package/es/svg/EmptyNotification.js +55 -39
- package/es/svg/EmptyProducts.js +58 -39
- package/es/svg/EmptyRecycleBin.js +21 -38
- package/es/svg/EmptyReply.js +67 -0
- package/es/svg/EmptyReports.js +61 -39
- package/es/svg/EmptyRoles.js +21 -38
- package/es/svg/EmptySchedule.js +114 -0
- package/es/svg/EmptySearch.js +65 -39
- package/es/svg/EmptySkills.js +103 -45
- package/es/svg/EmptySla.js +67 -0
- package/es/svg/EmptySnippet.js +67 -47
- package/es/svg/EmptyStateVariables.module.css +39 -0
- package/es/svg/EmptyTag.js +58 -39
- package/es/svg/EmptyTask.js +71 -39
- package/es/svg/EmptyTeams.js +55 -39
- package/es/svg/EmptyTemplate.js +67 -40
- package/es/svg/EmptyTicket.js +58 -39
- package/es/svg/EmptyTimeEntry.js +61 -39
- package/es/svg/EmptyTimeline.js +72 -0
- package/es/svg/EmptyTopic.js +61 -39
- package/es/svg/EmptyUnauthorizedLogin.js +47 -0
- package/es/svg/EmptyWebhook.js +21 -38
- package/es/svg/EmptyWillBeRightBack.js +42 -0
- package/es/svg/ErrorInconvenience.js +113 -0
- package/es/svg/ErrorOopsSomethingMiss.js +114 -0
- package/es/svg/ErrorUnableToProcessRequest.js +114 -0
- package/es/svg/ErrorUnauthorizedLogin.js +113 -0
- package/es/svg/ErrorUrlNotFound.js +114 -0
- package/es/svg/ErrorWillBeRightBack.js +113 -0
- package/es/svg/Extensions.js +73 -0
- package/es/svg/Extractor.js +66 -0
- package/es/svg/FailureLog.js +21 -38
- package/es/svg/Import.js +82 -0
- package/es/svg/Loader.js +55 -34
- package/es/svg/NoRequestFound.js +22 -45
- package/es/svg/NotImpossible.js +79 -0
- package/es/svg/PageNotFound.js +24 -46
- package/es/svg/Predictor.js +73 -0
- package/es/svg/SVG.js +61 -85
- package/es/svg/SVG.module.css +9 -2
- package/es/svg/SvgLoader.js +28 -0
- package/es/svg/UnableToProcessRequest.js +24 -46
- package/es/svg/UnauthorizedLogin.js +23 -45
- package/es/svg/UrlNotFound.js +25 -47
- package/es/svg/WillBeRightBack.js +25 -47
- package/es/svg/ZiaAnamoly.js +67 -0
- package/es/svg/images/EmptyCustomDomain.svg +85 -0
- package/es/svg/images/EmptySkills.svg +75 -67
- package/es/svg/utils.js +14 -0
- package/lib/Provider.js +213 -0
- package/lib/index.js +48 -27
- package/lib/svg/EmptyAccounts.js +108 -36
- package/lib/svg/EmptyActiveCalls.js +79 -43
- package/lib/svg/EmptyActivity.js +79 -38
- package/lib/svg/EmptyAgent.js +79 -35
- package/lib/svg/EmptyAgentQueue.js +128 -0
- package/lib/svg/EmptyApproval.js +128 -0
- package/lib/svg/EmptyArchived.js +88 -35
- package/lib/svg/EmptyAttach.js +79 -35
- package/lib/svg/EmptyBlueprint.js +94 -35
- package/lib/svg/EmptyBusinessHoliday.js +47 -35
- package/lib/svg/EmptyBusinessHour.js +47 -35
- package/lib/svg/EmptyCallHistory.js +81 -43
- package/lib/svg/EmptyCollision.js +122 -0
- package/lib/svg/EmptyColumn.js +128 -0
- package/lib/svg/EmptyContact.js +79 -36
- package/lib/svg/EmptyContract.js +118 -0
- package/lib/svg/EmptyConversation.js +79 -35
- package/lib/svg/EmptyCrm.js +122 -0
- package/lib/svg/EmptyCrmNotes.js +133 -0
- package/lib/svg/EmptyCrmPotential.js +136 -0
- package/lib/svg/EmptyCustomDomain.js +90 -0
- package/lib/svg/EmptyDashboard.js +86 -36
- package/lib/svg/EmptyDepartment.js +122 -0
- package/lib/svg/EmptyError.js +144 -0
- package/lib/svg/EmptyFeed.js +125 -0
- package/lib/svg/EmptyFollowers.js +123 -0
- package/lib/svg/EmptyFrame.js +121 -0
- package/lib/svg/EmptyFromAddress.js +47 -35
- package/lib/svg/EmptyHappiness.js +79 -35
- package/lib/svg/EmptyHistory.js +79 -42
- package/lib/svg/EmptyImportHistory.js +47 -35
- package/lib/svg/EmptyInconvenience.js +91 -0
- package/lib/svg/EmptyInvoice.js +84 -35
- package/lib/svg/EmptyNetwork.js +47 -35
- package/lib/svg/EmptyNotification.js +79 -35
- package/lib/svg/EmptyProducts.js +82 -35
- package/lib/svg/EmptyRecycleBin.js +47 -35
- package/lib/svg/EmptyReply.js +117 -0
- package/lib/svg/EmptyReports.js +85 -35
- package/lib/svg/EmptyRoles.js +47 -35
- package/lib/svg/EmptySchedule.js +164 -0
- package/lib/svg/EmptySearch.js +89 -35
- package/lib/svg/EmptySkills.js +127 -41
- package/lib/svg/EmptySla.js +117 -0
- package/lib/svg/EmptySnippet.js +98 -50
- package/lib/svg/EmptyStateVariables.module.css +39 -0
- package/lib/svg/EmptyTag.js +82 -35
- package/lib/svg/EmptyTask.js +95 -35
- package/lib/svg/EmptyTeams.js +79 -35
- package/lib/svg/EmptyTemplate.js +91 -36
- package/lib/svg/EmptyTicket.js +82 -35
- package/lib/svg/EmptyTimeEntry.js +85 -35
- package/lib/svg/EmptyTimeline.js +122 -0
- package/lib/svg/EmptyTopic.js +85 -35
- package/lib/svg/EmptyUnauthorizedLogin.js +97 -0
- package/lib/svg/EmptyWebhook.js +47 -35
- package/lib/svg/EmptyWillBeRightBack.js +92 -0
- package/lib/svg/ErrorInconvenience.js +163 -0
- package/lib/svg/ErrorOopsSomethingMiss.js +164 -0
- package/lib/svg/ErrorUnableToProcessRequest.js +164 -0
- package/lib/svg/ErrorUnauthorizedLogin.js +163 -0
- package/lib/svg/ErrorUrlNotFound.js +164 -0
- package/lib/svg/ErrorWillBeRightBack.js +163 -0
- package/lib/svg/Extensions.js +123 -0
- package/lib/svg/Extractor.js +116 -0
- package/lib/svg/FailureLog.js +47 -35
- package/lib/svg/Import.js +132 -0
- package/lib/svg/Loader.js +77 -33
- package/lib/svg/NoRequestFound.js +47 -43
- package/lib/svg/NotImpossible.js +129 -0
- package/lib/svg/PageNotFound.js +49 -44
- package/lib/svg/Predictor.js +123 -0
- package/lib/svg/SVG.js +88 -81
- package/lib/svg/SVG.module.css +9 -2
- package/lib/svg/SvgLoader.js +66 -0
- package/lib/svg/UnableToProcessRequest.js +48 -43
- package/lib/svg/UnauthorizedLogin.js +48 -43
- package/lib/svg/UrlNotFound.js +49 -44
- package/lib/svg/WillBeRightBack.js +49 -44
- package/lib/svg/ZiaAnamoly.js +117 -0
- package/lib/svg/images/EmptyCustomDomain.svg +85 -0
- package/lib/svg/images/EmptySkills.svg +75 -67
- package/lib/svg/utils.js +26 -0
- package/package.json +26 -14
- package/.DS_Store +0 -0
- package/es/svg/EmptyCloud.js +0 -55
- package/es/svg/EmptyCloudDanger.js +0 -131
- package/es/svg/EmptyEdition.js +0 -56
- package/es/svg/Inconvenience.js +0 -65
- package/es/svg/InvalidUrl.js +0 -780
- package/es/svg/SitBack.js +0 -54
- 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/EmptyCallHistory.svg +0 -46
- package/es/svg/images/EmptyCloud.svg +0 -38
- 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/EmptyHappiness.svg +0 -58
- package/es/svg/images/EmptyHistory.svg +0 -44
- package/es/svg/images/EmptyInvoice.svg +0 -45
- package/es/svg/images/EmptyNotification.svg +0 -38
- package/es/svg/images/EmptyProducts.svg +0 -57
- package/es/svg/images/EmptyReports.svg +0 -39
- package/es/svg/images/EmptySearch.svg +0 -37
- 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/Loader.svg +0 -62
- package/es/svg/images/SitBack.svg +0 -464
- package/lib/svg/EmptyCloud.js +0 -77
- package/lib/svg/EmptyCloudDanger.js +0 -147
- package/lib/svg/EmptyEdition.js +0 -78
- package/lib/svg/Inconvenience.js +0 -87
- package/lib/svg/InvalidUrl.js +0 -799
- package/lib/svg/SitBack.js +0 -76
- 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/EmptyCallHistory.svg +0 -46
- package/lib/svg/images/EmptyCloud.svg +0 -38
- package/lib/svg/images/EmptyContact.svg +0 -33
- 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/EmptyHappiness.svg +0 -58
- package/lib/svg/images/EmptyHistory.svg +0 -44
- package/lib/svg/images/EmptyInvoice.svg +0 -45
- package/lib/svg/images/EmptyNotification.svg +0 -38
- package/lib/svg/images/EmptyProducts.svg +0 -57
- package/lib/svg/images/EmptyReports.svg +0 -39
- package/lib/svg/images/EmptySearch.svg +0 -37
- 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/Loader.svg +0 -62
- package/lib/svg/images/SitBack.svg +0 -464
- package/src/.DS_Store +0 -0
- package/src/index.js +0 -6
- package/src/svg/.DS_Store +0 -0
- package/src/svg/EmptyAccounts.js +0 -30
- package/src/svg/EmptyActiveCalls.js +0 -36
- package/src/svg/EmptyActivity.js +0 -31
- package/src/svg/EmptyAgent.js +0 -29
- package/src/svg/EmptyArchived.js +0 -28
- package/src/svg/EmptyAttach.js +0 -29
- package/src/svg/EmptyBlueprint.js +0 -29
- package/src/svg/EmptyBusinessHoliday.js +0 -29
- package/src/svg/EmptyBusinessHour.js +0 -29
- package/src/svg/EmptyCallHistory.js +0 -36
- package/src/svg/EmptyCloud.js +0 -28
- package/src/svg/EmptyCloudDanger.js +0 -104
- package/src/svg/EmptyContact.js +0 -30
- package/src/svg/EmptyConversation.js +0 -29
- package/src/svg/EmptyDashboard.js +0 -29
- package/src/svg/EmptyEdition.js +0 -29
- package/src/svg/EmptyFromAddress.js +0 -29
- package/src/svg/EmptyHappiness.js +0 -29
- package/src/svg/EmptyHistory.js +0 -36
- package/src/svg/EmptyImportHistory.js +0 -29
- package/src/svg/EmptyInvoice.js +0 -29
- package/src/svg/EmptyNetwork.js +0 -29
- package/src/svg/EmptyNotification.js +0 -29
- package/src/svg/EmptyProducts.js +0 -29
- package/src/svg/EmptyRecycleBin.js +0 -29
- package/src/svg/EmptyReports.js +0 -29
- package/src/svg/EmptyRoles.js +0 -29
- package/src/svg/EmptySearch.js +0 -29
- package/src/svg/EmptySkills.js +0 -35
- package/src/svg/EmptySnippet.js +0 -35
- package/src/svg/EmptyTag.js +0 -29
- package/src/svg/EmptyTask.js +0 -29
- package/src/svg/EmptyTeams.js +0 -29
- package/src/svg/EmptyTemplate.js +0 -30
- package/src/svg/EmptyTicket.js +0 -29
- package/src/svg/EmptyTimeEntry.js +0 -29
- package/src/svg/EmptyTopic.js +0 -29
- package/src/svg/EmptyWebhook.js +0 -29
- package/src/svg/FailureLog.js +0 -29
- package/src/svg/Inconvenience.js +0 -38
- package/src/svg/InvalidUrl.js +0 -755
- package/src/svg/Loader.js +0 -27
- package/src/svg/NoRequestFound.js +0 -38
- package/src/svg/PageNotFound.js +0 -38
- package/src/svg/SVG.js +0 -88
- package/src/svg/SVG.module.css +0 -19
- package/src/svg/SitBack.js +0 -29
- package/src/svg/UnableToProcessRequest.js +0 -38
- package/src/svg/UnauthorizedLogin.js +0 -38
- package/src/svg/UrlNotFound.js +0 -38
- package/src/svg/WillBeRightBack.js +0 -38
- 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/EmptyBusinessHour.svg +0 -42
- package/src/svg/images/EmptyCallHistory.svg +0 -46
- package/src/svg/images/EmptyCloud.svg +0 -38
- 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/EmptyFromAddress.svg +0 -41
- 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/EmptyNetwork.svg +0 -50
- package/src/svg/images/EmptyNotification.svg +0 -38
- package/src/svg/images/EmptyProducts.svg +0 -57
- package/src/svg/images/EmptyRecycleBin.svg +0 -58
- 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/FailureLog.svg +0 -46
- package/src/svg/images/Inconvenience.svg +0 -719
- package/src/svg/images/Loader.svg +0 -62
- package/src/svg/images/NoRequestFound.svg +0 -247
- package/src/svg/images/PageNotFound.svg +0 -405
- package/src/svg/images/ReguestUrlNotFound.svg +0 -267
- package/src/svg/images/SitBack.svg +0 -464
- package/src/svg/images/UnableToProcess.svg +0 -752
- package/src/svg/images/UnauthorizedLogin.svg +0 -1047
- package/src/svg/images/WillBack.svg +0 -633
package/lib/svg/EmptyTemplate.js
CHANGED
|
@@ -1,75 +1,130 @@
|
|
|
1
|
-
|
|
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); }
|
|
2
4
|
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
5
7
|
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
6
11
|
|
|
7
|
-
var
|
|
12
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
8
13
|
|
|
9
|
-
var
|
|
14
|
+
var _SVG = _interopRequireDefault(require("./SVG"));
|
|
10
15
|
|
|
11
|
-
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
17
|
|
|
13
|
-
var
|
|
18
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
14
19
|
|
|
15
|
-
|
|
20
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
16
21
|
|
|
17
|
-
var
|
|
22
|
+
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); } }
|
|
18
23
|
|
|
19
|
-
|
|
24
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
20
25
|
|
|
21
|
-
|
|
26
|
+
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); }
|
|
22
27
|
|
|
23
|
-
|
|
28
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
24
29
|
|
|
25
|
-
function
|
|
30
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
26
31
|
|
|
27
|
-
function
|
|
32
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
28
33
|
|
|
29
|
-
function
|
|
34
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
30
35
|
|
|
31
|
-
function
|
|
36
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
32
37
|
|
|
33
|
-
|
|
38
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
39
|
+
|
|
40
|
+
var EmptyTemplate = /*#__PURE__*/function (_React$Component) {
|
|
34
41
|
_inherits(EmptyTemplate, _React$Component);
|
|
35
42
|
|
|
43
|
+
var _super = _createSuper(EmptyTemplate);
|
|
44
|
+
|
|
36
45
|
function EmptyTemplate() {
|
|
37
46
|
_classCallCheck(this, EmptyTemplate);
|
|
38
47
|
|
|
39
|
-
return
|
|
48
|
+
return _super.apply(this, arguments);
|
|
40
49
|
}
|
|
41
50
|
|
|
42
51
|
_createClass(EmptyTemplate, [{
|
|
43
|
-
key:
|
|
52
|
+
key: "render",
|
|
44
53
|
value: function render() {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
return /*#__PURE__*/_react["default"].createElement(_SVG["default"], _extends({
|
|
55
|
+
viewBox: "0 0 200 200",
|
|
56
|
+
name: "accounts"
|
|
57
|
+
}, this.props), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("style", null, ".template_svg__cls-7{fill:var(--zd_emptysvg_secondary_fill)}.template_svg__cls-3,.template_svg__cls-4,.template_svg__cls-5,.template_svg__cls-6,.template_svg__cls-8{fill:none}.template_svg__cls-3{stroke-miterlimit:10;stroke:var(--zd_emptysvg_tiny_circle)}.template_svg__cls-6{stroke-miterlimit:10;stroke:var(--zd_emptysvg_cross)}.template_svg__cls-4,.template_svg__cls-5{stroke:var(--zd_emptysvg_plus);stroke-linecap:round;stroke-linejoin:round}.template_svg__cls-5{stroke:var(--zd_emptysvg_primary_stroke)}.template_svg__cls-8{stroke:var(--zd_emptysvg_small_circle);stroke-linecap:round;stroke-linejoin:round}")), /*#__PURE__*/_react["default"].createElement("path", {
|
|
58
|
+
d: "M86.51 62.52S133.43 31.67 157.17 41s40 87.37-26.06 122.41S35.22 122.19 35 108.68c-.28-13.07 0-44.23 51.51-46.16z",
|
|
59
|
+
opacity: 0.05,
|
|
60
|
+
fill: "var(--zd_emptysvg_primary_fill)"
|
|
61
|
+
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
62
|
+
cx: 156.04,
|
|
63
|
+
cy: 31.69,
|
|
64
|
+
rx: 3.54,
|
|
65
|
+
ry: 3.51,
|
|
66
|
+
strokeMiterlimit: 10,
|
|
67
|
+
stroke: "var(--zd_emptysvg_medium_circle)",
|
|
68
|
+
fill: "none"
|
|
69
|
+
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
70
|
+
className: "template_svg__cls-3",
|
|
71
|
+
cx: 79.62,
|
|
72
|
+
cy: 29.6,
|
|
73
|
+
rx: 2.12,
|
|
74
|
+
ry: 2.1
|
|
75
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
76
|
+
className: "template_svg__cls-4",
|
|
77
|
+
d: "M23.28 100.86l-.35 6.16M20 103.76l6.22.35"
|
|
78
|
+
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
79
|
+
className: "template_svg__cls-8",
|
|
80
|
+
cx: 165.88,
|
|
81
|
+
cy: 154.09,
|
|
82
|
+
rx: 2.45,
|
|
83
|
+
ry: 2.43
|
|
84
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
85
|
+
className: "template_svg__cls-6",
|
|
86
|
+
d: "M175.6 117.21l4.15 4.6M175.36 121.57l4.64-4.12"
|
|
87
|
+
}), /*#__PURE__*/_react["default"].createElement("g", {
|
|
88
|
+
opacity: 0.25
|
|
89
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
90
|
+
className: "template_svg__cls-7",
|
|
91
|
+
d: "M71.15 144.21s-1.36-1.61-1.35-6.74-2.71-38.94.83-45.79c0 0 17.44-4.94 30-2 0 0 2.84 1.37 2.88 3.89s1.67 48.5 1.67 48.5-.2 4.64-7.2 4.4-26.83-2.26-26.83-2.26zM116.79 116.73s-2.87-14.92-.55-25.24c0 0 .31-2.36 4.15-2.72s19.83-2.45 20.89-.06.73 25.61.5 26.58-2 2.63-5.08 2.65-17.12 2.67-19.91-1.21zM116.21 133.28s-.16-9.66 1.5-10.76 24.49-3 25.57-.13 1.05 21-1.26 22.71-25.19 0-25.19 0z"
|
|
92
|
+
})), /*#__PURE__*/_react["default"].createElement("circle", {
|
|
93
|
+
className: "template_svg__cls-7",
|
|
94
|
+
cx: 67.38,
|
|
95
|
+
cy: 68.33,
|
|
96
|
+
r: 3.09
|
|
97
|
+
}), /*#__PURE__*/_react["default"].createElement("circle", {
|
|
98
|
+
className: "template_svg__cls-7",
|
|
99
|
+
cx: 77.13,
|
|
100
|
+
cy: 68.33,
|
|
101
|
+
r: 3.09
|
|
102
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
103
|
+
className: "template_svg__cls-5",
|
|
104
|
+
d: "M44.61 81.45A10.42 10.42 0 0055 71v-7.7a7.53 7.53 0 014.22-6.9 6.53 6.53 0 013.19-.59c4.83.32 81.74 0 81.74 0s7.4.34 7.72 5.17 0 80.45 0 80.45.32 5.47-4.82 7.08c-4.69 1.46-73 .26-85.3 0-1.09 0-2.95-.76-3-1.84-.45-8-1.14-39.36.6-57.61a8.15 8.15 0 011.9-4.59A4 4 0 0164 83c2.53-.16 62.3-1.29 72.73-1.49a5.41 5.41 0 014.56 2.19 5.14 5.14 0 01.77 1.67c.74 3 .65 28.32-.46 30.91s-25.23 3.69-26.42.33c-1.62-4.56-2-24.92.18-26.85s25.93-2.68 28.27-1.68 1.42 50.31-1.15 57c0 0-26.13 1.18-27.12 0s-.76-20.85.2-22.17c1.28-1.79 25.4-1.64 27.12-1.19 2.56.67 3.18 22.27 1.84 23.5-2.4 2.2-70.53 2.23-74.29-1.53s-4-50.48-1-52.46 23.36-3.62 31.47-1.51c0 0 3 1.71 2.88 3.89s1.67 48.5 1.67 48.5-.18 3.47-5.8 5.19-45.67 2-45.67-7 .63-52.68.63-52.68.13-6.06 5.49-7l95.46-.77a4.22 4.22 0 014.25 4.22v4.41a4.22 4.22 0 004.22 4.23"
|
|
105
|
+
}));
|
|
56
106
|
}
|
|
57
107
|
}]);
|
|
58
108
|
|
|
59
109
|
return EmptyTemplate;
|
|
60
|
-
}(
|
|
61
|
-
|
|
62
|
-
exports.default = EmptyTemplate;
|
|
63
|
-
|
|
110
|
+
}(_react["default"].Component);
|
|
64
111
|
|
|
112
|
+
exports["default"] = EmptyTemplate;
|
|
65
113
|
EmptyTemplate.propTypes = {
|
|
66
|
-
|
|
67
|
-
className:
|
|
68
|
-
|
|
114
|
+
alignHorizontal: _propTypes["default"].bool,
|
|
115
|
+
className: _propTypes["default"].string,
|
|
116
|
+
dataId: _propTypes["default"].string,
|
|
117
|
+
isRender: _propTypes["default"].bool,
|
|
118
|
+
size: _propTypes["default"].oneOf(['small', 'large']),
|
|
119
|
+
palette: _propTypes["default"].oneOf(['default', 'dark'])
|
|
69
120
|
};
|
|
70
121
|
EmptyTemplate.defaultProps = {
|
|
71
122
|
size: 'large',
|
|
72
|
-
alignHorizontal: true
|
|
123
|
+
alignHorizontal: true,
|
|
124
|
+
isRender: true,
|
|
125
|
+
className: '',
|
|
126
|
+
dataId: 'emptyTemplate',
|
|
127
|
+
palette: 'default'
|
|
73
128
|
};
|
|
74
129
|
|
|
75
130
|
if (false) {
|
package/lib/svg/EmptyTicket.js
CHANGED
|
@@ -1,74 +1,121 @@
|
|
|
1
|
-
|
|
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); }
|
|
2
4
|
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
5
7
|
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
6
11
|
|
|
7
|
-
var
|
|
12
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
8
13
|
|
|
9
|
-
var
|
|
14
|
+
var _SVG = _interopRequireDefault(require("./SVG"));
|
|
10
15
|
|
|
11
|
-
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
17
|
|
|
13
|
-
var
|
|
18
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
14
19
|
|
|
15
|
-
|
|
20
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
16
21
|
|
|
17
|
-
var
|
|
22
|
+
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); } }
|
|
18
23
|
|
|
19
|
-
|
|
24
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
20
25
|
|
|
21
|
-
|
|
26
|
+
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); }
|
|
22
27
|
|
|
23
|
-
|
|
28
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
24
29
|
|
|
25
|
-
function
|
|
30
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
26
31
|
|
|
27
|
-
function
|
|
32
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
28
33
|
|
|
29
|
-
function
|
|
34
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
30
35
|
|
|
31
|
-
function
|
|
36
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
32
37
|
|
|
33
|
-
|
|
38
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
39
|
+
|
|
40
|
+
var EmptyTicket = /*#__PURE__*/function (_React$Component) {
|
|
34
41
|
_inherits(EmptyTicket, _React$Component);
|
|
35
42
|
|
|
43
|
+
var _super = _createSuper(EmptyTicket);
|
|
44
|
+
|
|
36
45
|
function EmptyTicket() {
|
|
37
46
|
_classCallCheck(this, EmptyTicket);
|
|
38
47
|
|
|
39
|
-
return
|
|
48
|
+
return _super.apply(this, arguments);
|
|
40
49
|
}
|
|
41
50
|
|
|
42
51
|
_createClass(EmptyTicket, [{
|
|
43
|
-
key:
|
|
52
|
+
key: "render",
|
|
44
53
|
value: function render() {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
return /*#__PURE__*/_react["default"].createElement(_SVG["default"], _extends({
|
|
55
|
+
viewBox: "0 0 200 200",
|
|
56
|
+
name: "ticket"
|
|
57
|
+
}, this.props), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("style", null, ".EmptyTicket_svg__cls-3,.EmptyTicket_svg__cls-4,.EmptyTicket_svg__cls-5,.EmptyTicket_svg__cls-6,.EmptyTicket_svg__cls-7{fill:none}.EmptyTicket_svg__cls-3{stroke-miterlimit:10;stroke:var(--zd_emptysvg_tiny_circle)}.EmptyTicket_svg__cls-6{stroke-miterlimit:10;stroke:var(--zd_emptysvg_cross)}.EmptyTicket_svg__cls-4,.EmptyTicket_svg__cls-5{stroke:var(--zd_emptysvg_plus);stroke-linecap:round;stroke-linejoin:round}.EmptyTicket_svg__cls-5{stroke:var(--zd_emptysvg_primary_stroke)}.EmptyTicket_svg__cls-7{stroke:var(--zd_emptysvg_small_circle);stroke-linecap:round;stroke-linejoin:round}")), /*#__PURE__*/_react["default"].createElement("path", {
|
|
58
|
+
d: "M86.51 62.52S133.43 31.67 157.17 41s40 87.37-26.06 122.41S35.22 122.19 35 108.68c-.28-13.07 0-44.23 51.51-46.16z",
|
|
59
|
+
opacity: 0.05,
|
|
60
|
+
fill: "var(--zd_emptysvg_primary_fill)"
|
|
61
|
+
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
62
|
+
cx: 156.04,
|
|
63
|
+
cy: 31.69,
|
|
64
|
+
rx: 3.54,
|
|
65
|
+
ry: 3.51,
|
|
66
|
+
strokeMiterlimit: 10,
|
|
67
|
+
stroke: "var(--zd_emptysvg_medium_circle)",
|
|
68
|
+
fill: "none"
|
|
69
|
+
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
70
|
+
className: "EmptyTicket_svg__cls-3",
|
|
71
|
+
cx: 79.62,
|
|
72
|
+
cy: 29.6,
|
|
73
|
+
rx: 2.12,
|
|
74
|
+
ry: 2.1
|
|
75
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
76
|
+
className: "EmptyTicket_svg__cls-4",
|
|
77
|
+
d: "M23.28 100.86l-.35 6.16M20 103.76l6.22.35"
|
|
78
|
+
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
79
|
+
className: "EmptyTicket_svg__cls-7",
|
|
80
|
+
cx: 165.88,
|
|
81
|
+
cy: 154.09,
|
|
82
|
+
rx: 2.45,
|
|
83
|
+
ry: 2.43
|
|
84
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
85
|
+
className: "EmptyTicket_svg__cls-6",
|
|
86
|
+
d: "M175.6 117.21l4.15 4.6M175.36 121.57l4.64-4.12"
|
|
87
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
88
|
+
d: "M92.47 136.92c5.86 6.12 3.36 12.57 1.4 15.86a3.49 3.49 0 00.57 4.28l4.19 4.16a3.49 3.49 0 004.9 0 355.81 355.81 0 0055-54.57 3.4 3.4 0 000-4.86l-2.72-2.7a6.17 6.17 0 00-7.02-1.09 13 13 0 01-14.73-2.47 12.64 12.64 0 01-2.76-13.82c2.95-3.95.37-6.61-2-9l-1.38-1.37a3.48 3.48 0 00-4.91 0L68 126a3.42 3.42 0 000 4.86l4.15 4.14a3.59 3.59 0 004.31.57c3.43-2.03 10.24-4.67 16.01 1.35z",
|
|
89
|
+
fill: "var(--zd_emptysvg_secondary_fill)"
|
|
90
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
91
|
+
className: "EmptyTicket_svg__cls-5",
|
|
92
|
+
d: "M67.59 117.27q-1.25-28.22 0-55.94a3.5 3.5 0 013.52-3.49h5.47a3.75 3.75 0 013.66 2.87 12.84 12.84 0 0025 0 3.73 3.73 0 013.66-2.87h5.46a3.5 3.5 0 013.52 3.49v5.8a21.87 21.87 0 01-2.72 10.63c-5.23 9.46-11.82 19-32.25 37.78-3.26 3-5.58.08-3.68-2.52C88.69 100.09 123 71.54 123 71.54a3.49 3.49 0 014.9 0l3.93 3.9a3.7 3.7 0 01.54 4.59 12.52 12.52 0 001.81 15.68A12.9 12.9 0 00150 97.55a3.78 3.78 0 014.66.52l3.91 3.87a3.42 3.42 0 010 4.86 371.77 371.77 0 01-54.91 54.44 3.49 3.49 0 01-4.9 0l-3.67-3.64a4.39 4.39 0 01-.78-5.25c1.89-3.38 3.85-9.51-1.7-15.4-6.64-5.53-12.31-3.94-15.51-2a4.54 4.54 0 01-5.53-.63l-3.46-3.44a3.39 3.39 0 010-4.85l5.76-5.72a5.41 5.41 0 013.55-1.62c1.08 0 1.91.34.92 2-2 3.27-24.61 3.6-24.61 3.6"
|
|
93
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
94
|
+
d: "M98.5 116.52l6.91-1 3.52-6.23a.39.39 0 01.5 0l3.14 6.36 7.54.87c.25 0 .38.25.13.5l-5.66 5 1.39 6.85c0 .25-.13.38-.38.25l-6-3.11-6.59 3.21c-.13.13-.38 0-.38-.24l.63-7-5-4.86a1 1 0 01.25-.6z",
|
|
95
|
+
fill: "var(--zd_emptysvg_circle_fill)"
|
|
96
|
+
}));
|
|
56
97
|
}
|
|
57
98
|
}]);
|
|
58
99
|
|
|
59
100
|
return EmptyTicket;
|
|
60
|
-
}(
|
|
61
|
-
|
|
62
|
-
exports.default = EmptyTicket;
|
|
101
|
+
}(_react["default"].Component);
|
|
63
102
|
|
|
103
|
+
exports["default"] = EmptyTicket;
|
|
64
104
|
EmptyTicket.propTypes = {
|
|
65
|
-
|
|
66
|
-
className:
|
|
67
|
-
|
|
105
|
+
alignHorizontal: _propTypes["default"].bool,
|
|
106
|
+
className: _propTypes["default"].string,
|
|
107
|
+
dataId: _propTypes["default"].string,
|
|
108
|
+
isRender: _propTypes["default"].bool,
|
|
109
|
+
size: _propTypes["default"].oneOf(['small', 'large']),
|
|
110
|
+
palette: _propTypes["default"].oneOf(['default', 'dark'])
|
|
68
111
|
};
|
|
69
112
|
EmptyTicket.defaultProps = {
|
|
70
113
|
size: 'large',
|
|
71
|
-
alignHorizontal: true
|
|
114
|
+
alignHorizontal: true,
|
|
115
|
+
isRender: true,
|
|
116
|
+
className: '',
|
|
117
|
+
dataId: 'emptyTicket',
|
|
118
|
+
palette: 'default'
|
|
72
119
|
};
|
|
73
120
|
|
|
74
121
|
if (false) {
|
|
@@ -1,74 +1,124 @@
|
|
|
1
|
-
|
|
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); }
|
|
2
4
|
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
5
7
|
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
6
11
|
|
|
7
|
-
var
|
|
12
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
8
13
|
|
|
9
|
-
var
|
|
14
|
+
var _SVG = _interopRequireDefault(require("./SVG"));
|
|
10
15
|
|
|
11
|
-
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
17
|
|
|
13
|
-
var
|
|
18
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
14
19
|
|
|
15
|
-
|
|
20
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
16
21
|
|
|
17
|
-
var
|
|
22
|
+
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); } }
|
|
18
23
|
|
|
19
|
-
|
|
24
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
20
25
|
|
|
21
|
-
|
|
26
|
+
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); }
|
|
22
27
|
|
|
23
|
-
|
|
28
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
24
29
|
|
|
25
|
-
function
|
|
30
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
26
31
|
|
|
27
|
-
function
|
|
32
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
28
33
|
|
|
29
|
-
function
|
|
34
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
30
35
|
|
|
31
|
-
function
|
|
36
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
32
37
|
|
|
33
|
-
|
|
38
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
39
|
+
|
|
40
|
+
var EmptyTimeEntry = /*#__PURE__*/function (_React$Component) {
|
|
34
41
|
_inherits(EmptyTimeEntry, _React$Component);
|
|
35
42
|
|
|
43
|
+
var _super = _createSuper(EmptyTimeEntry);
|
|
44
|
+
|
|
36
45
|
function EmptyTimeEntry() {
|
|
37
46
|
_classCallCheck(this, EmptyTimeEntry);
|
|
38
47
|
|
|
39
|
-
return
|
|
48
|
+
return _super.apply(this, arguments);
|
|
40
49
|
}
|
|
41
50
|
|
|
42
51
|
_createClass(EmptyTimeEntry, [{
|
|
43
|
-
key:
|
|
52
|
+
key: "render",
|
|
44
53
|
value: function render() {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
return /*#__PURE__*/_react["default"].createElement(_SVG["default"], _extends({
|
|
55
|
+
viewBox: "0 0 200 200",
|
|
56
|
+
name: "timeEntry"
|
|
57
|
+
}, this.props), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("style", null, ".EmptyTimeEntry_svg__cls-7{fill:var(--zd_emptysvg_secondary_fill)}.EmptyTimeEntry_svg__cls-4,.EmptyTimeEntry_svg__cls-5,.EmptyTimeEntry_svg__cls-6,.EmptyTimeEntry_svg__cls-8,.EmptyTimeEntry_svg__cls-9{fill:none}.EmptyTimeEntry_svg__cls-4{stroke-miterlimit:10;stroke:var(--zd_emptysvg_tiny_circle)}.EmptyTimeEntry_svg__cls-8{stroke-miterlimit:10;stroke:var(--zd_emptysvg_cross)}.EmptyTimeEntry_svg__cls-5,.EmptyTimeEntry_svg__cls-6{stroke:var(--zd_emptysvg_plus);stroke-linecap:round;stroke-linejoin:round}.EmptyTimeEntry_svg__cls-6{stroke:var(--zd_emptysvg_primary_stroke)}.EmptyTimeEntry_svg__cls-9{stroke:var(--zd_emptysvg_small_circle);stroke-linecap:round;stroke-linejoin:round}")), /*#__PURE__*/_react["default"].createElement("path", {
|
|
58
|
+
d: "M86.51 62.52S133.43 31.67 157.17 41s40 87.37-26.06 122.41S35.22 122.19 35 108.68c-.28-13.07 0-44.23 51.51-46.16z",
|
|
59
|
+
fill: "var(--zd_emptysvg_primary_fill)",
|
|
60
|
+
opacity: 0.05
|
|
61
|
+
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
62
|
+
cx: 156.04,
|
|
63
|
+
cy: 31.69,
|
|
64
|
+
rx: 3.54,
|
|
65
|
+
ry: 3.51,
|
|
66
|
+
strokeMiterlimit: 10,
|
|
67
|
+
stroke: "var(--zd_emptysvg_medium_circle)",
|
|
68
|
+
fill: "none"
|
|
69
|
+
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
70
|
+
className: "EmptyTimeEntry_svg__cls-4",
|
|
71
|
+
cx: 79.62,
|
|
72
|
+
cy: 29.6,
|
|
73
|
+
rx: 2.12,
|
|
74
|
+
ry: 2.1
|
|
75
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
76
|
+
className: "EmptyTimeEntry_svg__cls-5",
|
|
77
|
+
d: "M23.28 100.86l-.35 6.16M20 103.76l6.22.35"
|
|
78
|
+
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
79
|
+
className: "EmptyTimeEntry_svg__cls-9",
|
|
80
|
+
cx: 165.88,
|
|
81
|
+
cy: 154.09,
|
|
82
|
+
rx: 2.45,
|
|
83
|
+
ry: 2.43
|
|
84
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
85
|
+
className: "EmptyTimeEntry_svg__cls-8",
|
|
86
|
+
d: "M175.6 117.21l4.15 4.6M175.36 121.57l4.64-4.12"
|
|
87
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
88
|
+
className: "EmptyTimeEntry_svg__cls-7",
|
|
89
|
+
d: "M124.41 65.47a4.64 4.64 0 01-.66-7.84A15.42 15.42 0 01140 56.47a15.17 15.17 0 018.12 14 4.7 4.7 0 01-6.92 3.85zM86.72 73.16a4.69 4.69 0 01-6.62-4.33 15.17 15.17 0 019.11-13.35 15.41 15.41 0 0116.08 2.3 4.65 4.65 0 01-1.23 7.78z"
|
|
90
|
+
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
91
|
+
className: "EmptyTimeEntry_svg__cls-7",
|
|
92
|
+
cx: 123.01,
|
|
93
|
+
cy: 102.52,
|
|
94
|
+
rx: 26.27,
|
|
95
|
+
ry: 31.53
|
|
96
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
97
|
+
className: "EmptyTimeEntry_svg__cls-6",
|
|
98
|
+
d: "M34.94 145.49h43.51a22.78 22.78 0 0020-11.75 2.31 2.31 0 014.32 1.33v.11c-.51 3.88-5.6 8.79-11.89 3.3-5.7-5-20.15-14.36-16.54-38.88a33.9 33.9 0 018.4-18c3.15-3.43 7.27-6.45 12.1-6.54 0 0 .29.07.72.22a1.43 1.43 0 001.78-1.9l-.73-1.73a2 2 0 011-2.67c3.48-1.64 10.77-5.14 11-5.81.25-.87-1-7.2-5.57-7.27-2.65 0-14.54.5-15.17 1.88s3.42.5 2.91-3-5.56-1.88-4.8.51 2 3.05.44 4.31c-.55.45-11.81 6.75-8.16 12.36.67 1 1.21 1.8 1.64 2.4a3.26 3.26 0 003.92 1.06c3.06-1.32 8.37-3.59 8.73-3.59s1.39 2.76 8.22-.87 14.66-5 16.06-4.77c0 0 1.14.11 1.23-1.56 0-.91.1-4.38 5.56-7.27 2.35-1.24 14.54.5 15.18 1.88s-3.42.5-2.91-3 5.56-1.88 4.8.5-.76 4.14-.25 4.64 11.13 6.14 8 12S145 77.8 145 77.8s-13.52-12.52-23.08-11.48a1.54 1.54 0 01-1.14-.31c-.78-.64-.61-1.54 1.52-1.61 3.24-.11 31.9 5.92 32.28 36.9s-24.9 39.16-34.48 36.87c-9-2.13-27.94-6.36-28.26-39.11a28.89 28.89 0 018.39-20.89c6.09-6 16.2-10.61 32.3-4.81 0 0 22.82 9.5 16.3 38.78s-38.15 26.23-48.12 8.93S97 81.15 107.56 76.4s20.26-4.22 15 24.57c0 0-3.77-1-2.32-22.89 0 0 .43-2.59 3-.87s-.38 27.46-1.89 28.51c-.61.42-3.4-2.43-2-4.32a2.64 2.64 0 014.93 1.3c0 2.56-16.41 12.38-17.86 11.66s11.18-8.21 11.18-8.21"
|
|
99
|
+
}));
|
|
56
100
|
}
|
|
57
101
|
}]);
|
|
58
102
|
|
|
59
103
|
return EmptyTimeEntry;
|
|
60
|
-
}(
|
|
61
|
-
|
|
62
|
-
exports.default = EmptyTimeEntry;
|
|
104
|
+
}(_react["default"].Component);
|
|
63
105
|
|
|
106
|
+
exports["default"] = EmptyTimeEntry;
|
|
64
107
|
EmptyTimeEntry.propTypes = {
|
|
65
|
-
|
|
66
|
-
className:
|
|
67
|
-
|
|
108
|
+
alignHorizontal: _propTypes["default"].bool,
|
|
109
|
+
className: _propTypes["default"].string,
|
|
110
|
+
dataId: _propTypes["default"].string,
|
|
111
|
+
isRender: _propTypes["default"].bool,
|
|
112
|
+
size: _propTypes["default"].oneOf(['small', 'large']),
|
|
113
|
+
palette: _propTypes["default"].oneOf(['default', 'dark'])
|
|
68
114
|
};
|
|
69
115
|
EmptyTimeEntry.defaultProps = {
|
|
70
116
|
size: 'large',
|
|
71
|
-
alignHorizontal: true
|
|
117
|
+
alignHorizontal: true,
|
|
118
|
+
isRender: true,
|
|
119
|
+
className: '',
|
|
120
|
+
dataId: 'emptyTimeEntry',
|
|
121
|
+
palette: 'default'
|
|
72
122
|
};
|
|
73
123
|
|
|
74
124
|
if (false) {
|