@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/EmptyTag.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 EmptyTag = /*#__PURE__*/function (_React$Component) {
|
|
34
41
|
_inherits(EmptyTag, _React$Component);
|
|
35
42
|
|
|
43
|
+
var _super = _createSuper(EmptyTag);
|
|
44
|
+
|
|
36
45
|
function EmptyTag() {
|
|
37
46
|
_classCallCheck(this, EmptyTag);
|
|
38
47
|
|
|
39
|
-
return
|
|
48
|
+
return _super.apply(this, arguments);
|
|
40
49
|
}
|
|
41
50
|
|
|
42
51
|
_createClass(EmptyTag, [{
|
|
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: "tag"
|
|
57
|
+
}, this.props), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("style", null, ".EmptyTag_svg__cls-7{fill:var(--zd_emptysvg_secondary_fill)}.EmptyTag_svg__cls-4,.EmptyTag_svg__cls-5,.EmptyTag_svg__cls-6,.EmptyTag_svg__cls-8,.EmptyTag_svg__cls-9{fill:none}.EmptyTag_svg__cls-4{stroke-miterlimit:10;stroke:var(--zd_emptysvg_tiny_circle)}.EmptyTag_svg__cls-8{stroke-miterlimit:10;stroke:var(--zd_emptysvg_cross)}.EmptyTag_svg__cls-5,.EmptyTag_svg__cls-6{stroke:var(--zd_emptysvg_plus);stroke-linecap:round;stroke-linejoin:round}.EmptyTag_svg__cls-6{stroke:var(--zd_emptysvg_primary_stroke)}.EmptyTag_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: "EmptyTag_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: "EmptyTag_svg__cls-5",
|
|
77
|
+
d: "M23.28 100.86l-.35 6.16M20 103.76l6.22.35"
|
|
78
|
+
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
79
|
+
className: "EmptyTag_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: "EmptyTag_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: "EmptyTag_svg__cls-7",
|
|
89
|
+
d: "M136.3 107.68s-1.24 51.51-2.14 54-45.41-1.83-46.59-3.82 42.71-48.51 48.73-50.18z"
|
|
90
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
91
|
+
className: "EmptyTag_svg__cls-6",
|
|
92
|
+
d: "M171.12 53.1s-13.85 5.78-26.25-4.34-24.4 19.63-22.61 32.54c1.88 13.51-10.34 16.07-13.93 9.4s5-15.45 16.66-11.06c0 0 5.45 2 7 4.14 8.94 12.74 1.59 22-.92 25s-5.81 6.85-7.71 7.78c-3.52 1.71 7.3-9.4 12.14-8.93v4c-.15 17.83-.08 49.91-2.14 50-3.82.19-36.94-2.54-42.79-2.34a5 5 0 01-5-3.46 2.86 2.86 0 01.19-2.29c1.12-1.95 20.44-20.1 28.67-27.8a.23.23 0 01.33.32c-14.36 16.07-32.8 36-34.33 35.56-2.07-.61-27-24.87-35.67-33.4a4.37 4.37 0 01-.12-6.14c8.5-9 33.4-33.91 43-43.49A16.41 16.41 0 0196.7 74c6.6-1.05 16.18-2.64 17.87-2.46"
|
|
93
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
94
|
+
className: "EmptyTag_svg__cls-7",
|
|
95
|
+
d: "M78.39 112.58l7.92-1.15 4-7.14a.44.44 0 01.57 0l3.61 7.29 8.64 1c.29 0 .43.28.14.57l-6.48 5.71 1.59 7.86c0 .28-.15.43-.44.28l-6.91-3.57-7.49 3.72c-.15.14-.43 0-.43-.29l.72-8-5.77-5.57a1.08 1.08 0 01.33-.71z"
|
|
96
|
+
}));
|
|
56
97
|
}
|
|
57
98
|
}]);
|
|
58
99
|
|
|
59
100
|
return EmptyTag;
|
|
60
|
-
}(
|
|
61
|
-
|
|
62
|
-
exports.default = EmptyTag;
|
|
101
|
+
}(_react["default"].Component);
|
|
63
102
|
|
|
103
|
+
exports["default"] = EmptyTag;
|
|
64
104
|
EmptyTag.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
|
EmptyTag.defaultProps = {
|
|
70
113
|
size: 'large',
|
|
71
|
-
alignHorizontal: true
|
|
114
|
+
alignHorizontal: true,
|
|
115
|
+
isRender: true,
|
|
116
|
+
className: '',
|
|
117
|
+
dataId: 'emptyTag',
|
|
118
|
+
palette: 'default'
|
|
72
119
|
};
|
|
73
120
|
|
|
74
121
|
if (false) {
|
package/lib/svg/EmptyTask.js
CHANGED
|
@@ -1,74 +1,134 @@
|
|
|
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 EmptyTask = /*#__PURE__*/function (_React$Component) {
|
|
34
41
|
_inherits(EmptyTask, _React$Component);
|
|
35
42
|
|
|
43
|
+
var _super = _createSuper(EmptyTask);
|
|
44
|
+
|
|
36
45
|
function EmptyTask() {
|
|
37
46
|
_classCallCheck(this, EmptyTask);
|
|
38
47
|
|
|
39
|
-
return
|
|
48
|
+
return _super.apply(this, arguments);
|
|
40
49
|
}
|
|
41
50
|
|
|
42
51
|
_createClass(EmptyTask, [{
|
|
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: "task"
|
|
57
|
+
}, this.props), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("style", null, ".EmptyTask_svg__cls-6{fill:var(--zd_emptysvg_secondary_fill)}.EmptyTask_svg__cls-3,.EmptyTask_svg__cls-4,.EmptyTask_svg__cls-5,.EmptyTask_svg__cls-7,.EmptyTask_svg__cls-8{fill:none}.EmptyTask_svg__cls-3{stroke-miterlimit:10;stroke:var(--zd_emptysvg_tiny_circle)}.EmptyTask_svg__cls-7{stroke-miterlimit:10;stroke:var(--zd_emptysvg_cross)}.EmptyTask_svg__cls-4,.EmptyTask_svg__cls-5{stroke:var(--zd_emptysvg_plus);stroke-linecap:round;stroke-linejoin:round}.EmptyTask_svg__cls-5{stroke:var(--zd_emptysvg_primary_stroke)}.EmptyTask_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: "EmptyTask_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: "EmptyTask_svg__cls-4",
|
|
77
|
+
d: "M23.28 100.86l-.35 6.16M20 103.76l6.22.35"
|
|
78
|
+
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
79
|
+
className: "EmptyTask_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: "EmptyTask_svg__cls-7",
|
|
86
|
+
d: "M175.6 117.21l4.15 4.6M175.36 121.57l4.64-4.12"
|
|
87
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
88
|
+
className: "EmptyTask_svg__cls-6",
|
|
89
|
+
d: "M131.83 70.33l-5-1.58a12.76 12.76 0 00.65-4.46c0-4.34-3.26-7-7.26-7.24-4.36-.32-7.77 4.26-9 7.19l-7.81-2.14c-1.3-.34-2.73-.43-3.14.84l-1 3.24a2.49 2.49 0 001.64 3.12l28.47 9a2.51 2.51 0 003.15-1.58l1.19-3.72c.44-1.28-.56-2.24-1.89-2.67z"
|
|
90
|
+
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
91
|
+
cx: 119.62,
|
|
92
|
+
cy: 63.17,
|
|
93
|
+
rx: 2.24,
|
|
94
|
+
ry: 2.22,
|
|
95
|
+
fill: "var(--zd_emptysvg_circle_fill)"
|
|
96
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
97
|
+
className: "EmptyTask_svg__cls-6",
|
|
98
|
+
d: "M98.47 118.8a3.76 3.76 0 01-.38-5.18c2.23-2.79 14.36-17.82 14.36-17.82s10.41 4.26 6.92 8.45l-15.86 19z"
|
|
99
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
100
|
+
className: "EmptyTask_svg__cls-5",
|
|
101
|
+
d: "M63.28 125.48c-1.79 5.74-4.38 16.66 1 18.42s55.64 19.48 59.79 17 29.34-83.43 23.25-85.62-19.54-7.18-20.29-7c0 0 2-7.78-3.15-9.91s-8.28-2.58-12.83 5c0 0-19.33-5.49-21.32-5S63.89 126 64.46 139c0 0 0 1.12 4.27 3.66s48.33 16 53.45 14.1 21.61-67.38 22.18-73.58-51.44-20.3-53.72-17.48c-2.12 2.63-7.5 19.17-13.52 35.9a78.29 78.29 0 00-2.28 7.36l-3.17 12.18a3.35 3.35 0 002.54 4.1 164 164 0 0016.41 2.14l10.8-2.82-6.87-5.94s-3.37 9.13-3.33 9.45 10.85-3.07 10.85-3.07l17.3-20.71s3-2.14-.33-4.15c-1.84-1.12-5.62-5.41-6.59-4.3-1.41 1.63-10.19 12.61-14.36 17.82a3.81 3.81 0 00.38 5.18c2.47 2.3 5.94 5.42 6.75 5.52s26.14-.32 42.29-.62"
|
|
102
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
103
|
+
stroke: "var(--zd_emptysvg_circle_fill)",
|
|
104
|
+
strokeWidth: 2,
|
|
105
|
+
strokeLinecap: "round",
|
|
106
|
+
strokeLinejoin: "round",
|
|
107
|
+
fill: "none",
|
|
108
|
+
d: "M108.63 112.84l5.97-7.49"
|
|
109
|
+
}));
|
|
56
110
|
}
|
|
57
111
|
}]);
|
|
58
112
|
|
|
59
113
|
return EmptyTask;
|
|
60
|
-
}(
|
|
61
|
-
|
|
62
|
-
exports.default = EmptyTask;
|
|
114
|
+
}(_react["default"].Component);
|
|
63
115
|
|
|
116
|
+
exports["default"] = EmptyTask;
|
|
64
117
|
EmptyTask.propTypes = {
|
|
65
|
-
|
|
66
|
-
className:
|
|
67
|
-
|
|
118
|
+
alignHorizontal: _propTypes["default"].bool,
|
|
119
|
+
className: _propTypes["default"].string,
|
|
120
|
+
dataId: _propTypes["default"].string,
|
|
121
|
+
isRender: _propTypes["default"].bool,
|
|
122
|
+
size: _propTypes["default"].oneOf(['small', 'large']),
|
|
123
|
+
palette: _propTypes["default"].oneOf(['default', 'dark'])
|
|
68
124
|
};
|
|
69
125
|
EmptyTask.defaultProps = {
|
|
70
126
|
size: 'large',
|
|
71
|
-
alignHorizontal: true
|
|
127
|
+
alignHorizontal: true,
|
|
128
|
+
isRender: true,
|
|
129
|
+
className: '',
|
|
130
|
+
dataId: 'emptyTask',
|
|
131
|
+
palette: 'default'
|
|
72
132
|
};
|
|
73
133
|
|
|
74
134
|
if (false) {
|
package/lib/svg/EmptyTeams.js
CHANGED
|
@@ -1,74 +1,118 @@
|
|
|
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 EmptyTeams = /*#__PURE__*/function (_React$Component) {
|
|
34
41
|
_inherits(EmptyTeams, _React$Component);
|
|
35
42
|
|
|
43
|
+
var _super = _createSuper(EmptyTeams);
|
|
44
|
+
|
|
36
45
|
function EmptyTeams() {
|
|
37
46
|
_classCallCheck(this, EmptyTeams);
|
|
38
47
|
|
|
39
|
-
return
|
|
48
|
+
return _super.apply(this, arguments);
|
|
40
49
|
}
|
|
41
50
|
|
|
42
51
|
_createClass(EmptyTeams, [{
|
|
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: "team"
|
|
57
|
+
}, this.props), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("style", null, ".EmptyTeams_svg__cls-7{fill:var(--zd_emptysvg_secondary_fill)}.EmptyTeams_svg__cls-4,.EmptyTeams_svg__cls-5,.EmptyTeams_svg__cls-6,.EmptyTeams_svg__cls-8,.EmptyTeams_svg__cls-9{fill:none}.EmptyTeams_svg__cls-4{stroke-miterlimit:10;stroke:var(--zd_emptysvg_tiny_circle)}.EmptyTeams_svg__cls-8{stroke-miterlimit:10;stroke:var(--zd_emptysvg_cross)}.EmptyTeams_svg__cls-5,.EmptyTeams_svg__cls-6{stroke:var(--zd_emptysvg_plus);stroke-linecap:round;stroke-linejoin:round}.EmptyTeams_svg__cls-6{stroke:var(--zd_emptysvg_primary_stroke)}.EmptyTeams_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: "EmptyTeams_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: "EmptyTeams_svg__cls-5",
|
|
77
|
+
d: "M23.28 100.86l-.35 6.16M20 103.76l6.22.35"
|
|
78
|
+
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
79
|
+
className: "EmptyTeams_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: "EmptyTeams_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: "EmptyTeams_svg__cls-7",
|
|
89
|
+
d: "M80.06 113.44s.91 20.72-13 19.13-7.94-24.92-7.94-24.92 10.06 7.35 20.94 5.79zM93.18 68.15s-1.87 5-3.85 7.13c0 0-3.54 17.77 13.45 18.78 0 0 10.14 2 13-15.13a27 27 0 01-22.6-10.78zM122.61 127.05s1.68-16 5.8-14 2 1.09 11.37-2c0 0 7.62-1.56 9.18 10.63 0 0-.3 7.33-1.66 10.27 0 0-6.2-5.51-14-3.82a85.63 85.63 0 00-10.69 2.87z"
|
|
90
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
91
|
+
className: "EmptyTeams_svg__cls-6",
|
|
92
|
+
d: "M79.93 111.64s2.31 19-10.4 20.93S58 107.65 59.14 107.65s13.24 9.55 25.08 4.61c0 0-3.27-16.21-15.91-14.23s-12.63 14-14 21.66-5.22 13.84-2.2 19.86 28.17 14.12 34-5.72c4.76-16.26-2-31-10.1-37.08a6.43 6.43 0 01-1-9.31 32 32 0 018.28-7c8.59-5 10.51-13.83 10.34-15s-2.49-.3-1.93.79S101.66 81 119 78.68c0 0 3.29-22.93-13.47-23.37s-16.57 13.36-16 25.94S101.39 94.06 105 94.06c8.2 0 11.5-14.28 11.13-19.53s-6.86 1.86 4.07 7.62c6.56 3.46 11.92 10.11 15.15 15 2.49 3.75 2.82 6.93 5.83 10 3.16 3.22 7.38 8 6.79 14.95 0 0-1.69-12.37-8.17-11s-7.44 4.53-11.37 2-5.8 14-5.8 14-6.27-19.34 10.24-22.24 17.52 11.25 15.16 24.44-18.89 19.55-25.4 1.72c0 0 14.49-6.6 21.72 0s-28 17.46-57.43 9.71"
|
|
93
|
+
}));
|
|
56
94
|
}
|
|
57
95
|
}]);
|
|
58
96
|
|
|
59
97
|
return EmptyTeams;
|
|
60
|
-
}(
|
|
61
|
-
|
|
62
|
-
exports.default = EmptyTeams;
|
|
98
|
+
}(_react["default"].Component);
|
|
63
99
|
|
|
100
|
+
exports["default"] = EmptyTeams;
|
|
64
101
|
EmptyTeams.propTypes = {
|
|
65
|
-
|
|
66
|
-
className:
|
|
67
|
-
|
|
102
|
+
alignHorizontal: _propTypes["default"].bool,
|
|
103
|
+
className: _propTypes["default"].string,
|
|
104
|
+
dataId: _propTypes["default"].string,
|
|
105
|
+
isRender: _propTypes["default"].bool,
|
|
106
|
+
size: _propTypes["default"].oneOf(['small', 'large']),
|
|
107
|
+
palette: _propTypes["default"].oneOf(['default', 'dark'])
|
|
68
108
|
};
|
|
69
109
|
EmptyTeams.defaultProps = {
|
|
70
110
|
size: 'large',
|
|
71
|
-
alignHorizontal: true
|
|
111
|
+
alignHorizontal: true,
|
|
112
|
+
isRender: true,
|
|
113
|
+
className: '',
|
|
114
|
+
dataId: 'emptyTeams',
|
|
115
|
+
palette: 'default'
|
|
72
116
|
};
|
|
73
117
|
|
|
74
118
|
if (false) {
|