@zohodesk/svg 1.0.0-temp.54 → 1.1.0
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 +20 -0
- package/es/Loader/Loader.js +3 -3
- package/es/SVG/SVG.js +5 -4
- package/es/SVG/SVG.module.css +16 -12
- package/es/SVG/SvgLoader.js +4 -1
- package/es/emptystate/version1/EmptyCustomDomain.js +4 -4
- package/es/emptystate/version2/EmptyBusinessHoliday.js +4 -5
- package/es/emptystate/version2/EmptyBusinessHour.js +4 -5
- package/es/emptystate/version2/EmptyFromAddress.js +4 -4
- package/es/emptystate/version2/EmptyImportHistory.js +4 -5
- package/es/emptystate/version2/EmptyNetwork.js +4 -4
- package/es/emptystate/version2/EmptyRecycleBin.js +4 -4
- package/es/emptystate/version2/EmptyRoles.js +4 -4
- package/es/emptystate/version2/EmptyWebhook.js +4 -4
- package/es/emptystate/version2/FailureLog.js +4 -5
- package/es/emptystate/version3/AuditLog.js +4 -4
- package/es/emptystate/version3/Bot.js +3 -2
- package/es/emptystate/version3/Contract.js +4 -4
- package/es/emptystate/version3/CustomModule.js +4 -4
- package/es/emptystate/version3/EmptyAPIAuthentication.js +92 -0
- package/es/emptystate/version3/EmptyAPIConfiguration.js +84 -0
- package/es/emptystate/version3/EmptyAPIs.js +3 -2
- package/es/emptystate/version3/EmptyAccounts.js +4 -4
- package/es/emptystate/version3/EmptyActiveCalls.js +4 -5
- package/es/emptystate/version3/EmptyActivity.js +4 -5
- package/es/emptystate/version3/EmptyAgent.js +4 -5
- package/es/emptystate/version3/EmptyAgentQueue.js +4 -5
- package/es/emptystate/version3/EmptyApplechat.js +4 -4
- package/es/emptystate/version3/EmptyApproval.js +4 -4
- package/es/emptystate/version3/EmptyArchived.js +4 -4
- package/es/emptystate/version3/EmptyArticle.js +4 -4
- package/es/emptystate/version3/EmptyAsapchat.js +4 -5
- package/es/emptystate/version3/EmptyAttach.js +4 -5
- package/es/emptystate/version3/EmptyAuthenticationPending.js +3 -2
- package/es/emptystate/version3/EmptyBlueprint.js +4 -5
- package/es/emptystate/version3/EmptyCallHistory.js +4 -5
- package/es/emptystate/version3/EmptyCanned.js +4 -5
- package/es/emptystate/version3/EmptyChat.js +4 -5
- package/es/emptystate/version3/EmptyCollision.js +4 -4
- package/es/emptystate/version3/EmptyColumn.js +4 -4
- package/es/emptystate/version3/EmptyContact.js +4 -5
- package/es/emptystate/version3/EmptyContract.js +4 -4
- package/es/emptystate/version3/EmptyConversation.js +4 -5
- package/es/emptystate/version3/EmptyCrm.js +4 -4
- package/es/emptystate/version3/EmptyCrmNotes.js +4 -4
- package/es/emptystate/version3/EmptyCrmPotential.js +4 -5
- package/es/emptystate/version3/EmptyCustomerHappiness.js +3 -2
- package/es/emptystate/version3/EmptyDashboard.js +4 -4
- package/es/emptystate/version3/EmptyDelete.js +4 -4
- package/es/emptystate/version3/EmptyDepartment.js +4 -4
- package/es/emptystate/version3/EmptyError.js +4 -5
- package/es/emptystate/version3/EmptyFeed.js +4 -4
- package/es/emptystate/version3/EmptyFollowers.js +4 -4
- package/es/emptystate/version3/EmptyFrame.js +4 -5
- package/es/emptystate/version3/EmptyHappiness.js +4 -5
- package/es/emptystate/version3/EmptyHistory.js +4 -4
- package/es/emptystate/version3/EmptyInstagram.js +4 -5
- package/es/emptystate/version3/EmptyInstantmessage.js +4 -5
- package/es/emptystate/version3/EmptyInvoice.js +4 -4
- package/es/emptystate/version3/EmptyLine.js +4 -5
- package/es/emptystate/version3/EmptyMessenger.js +4 -4
- package/es/emptystate/version3/EmptyNoData.js +4 -4
- package/es/emptystate/version3/EmptyNotification.js +4 -4
- package/es/emptystate/version3/EmptyPreference.js +4 -4
- package/es/emptystate/version3/EmptyProducts.js +4 -4
- package/es/emptystate/version3/EmptyReply.js +4 -4
- package/es/emptystate/version3/EmptyReports.js +4 -4
- package/es/emptystate/version3/EmptySandbox.js +32 -21
- package/es/emptystate/version3/EmptySchedule.js +4 -4
- package/es/emptystate/version3/EmptySearch.js +4 -4
- package/es/emptystate/version3/EmptySkills.js +4 -4
- package/es/emptystate/version3/EmptySla.js +4 -4
- package/es/emptystate/version3/EmptySnippet.js +4 -4
- package/es/emptystate/version3/EmptyTag.js +4 -4
- package/es/emptystate/version3/EmptyTask.js +4 -4
- package/es/emptystate/version3/EmptyTeams.js +4 -5
- package/es/emptystate/version3/EmptyTelegram.js +4 -5
- package/es/emptystate/version3/EmptyTemplate.js +4 -4
- package/es/emptystate/version3/EmptyTicket.js +4 -5
- package/es/emptystate/version3/EmptyTimeEntry.js +4 -4
- package/es/emptystate/version3/EmptyTimeline.js +4 -5
- package/es/emptystate/version3/EmptyTopic.js +4 -4
- package/es/emptystate/version3/EmptyTwilio.js +4 -5
- package/es/emptystate/version3/EmptyWechat.js +4 -5
- package/es/emptystate/version3/EmptyWhatsapp.js +4 -5
- package/es/emptystate/version3/EmptyZSCKey.js +88 -0
- package/es/emptystate/version3/Export.js +4 -5
- package/es/emptystate/version3/Extensions.js +4 -5
- package/es/emptystate/version3/Extractor.js +4 -5
- package/es/emptystate/version3/GCBot.js +4 -5
- package/es/emptystate/version3/GCConversation.js +4 -5
- package/es/emptystate/version3/Import.js +4 -5
- package/es/emptystate/version3/KBBot.js +4 -5
- package/es/emptystate/version3/Multilingual.js +4 -5
- package/es/emptystate/version3/NetworkError.js +4 -5
- package/es/emptystate/version3/Predictor.js +4 -5
- package/es/emptystate/version3/ReadRecipients.js +4 -5
- package/es/emptystate/version3/SupportPlan.js +4 -4
- package/es/emptystate/version3/Variable.js +4 -5
- package/es/emptystate/version3/ZiaAnamoly.js +4 -5
- package/es/errorstate/version1/EmptyInconvenience.js +4 -5
- package/es/errorstate/version1/NoRequestFound.js +4 -5
- package/es/errorstate/version1/PageNotFound.js +4 -5
- package/es/errorstate/version1/UnableToProcessRequest.js +4 -5
- package/es/errorstate/version1/UnauthorizedLogin.js +4 -5
- package/es/errorstate/version1/UrlNotFound.js +4 -5
- package/es/errorstate/version1/WillBeRightBack.js +4 -5
- package/es/errorstate/version2/EmptyUnauthorizedLogin.js +4 -5
- package/es/errorstate/version2/EmptyWillBeRightBack.js +4 -5
- package/es/errorstate/version2/NotImpossible.js +4 -5
- package/es/errorstate/version3/ErrorInconvenience.js +4 -5
- package/es/errorstate/version3/ErrorOopsSomethingMiss.js +4 -5
- package/es/errorstate/version3/ErrorUnableToProcessRequest.js +4 -5
- package/es/errorstate/version3/ErrorUnauthorizedLogin.js +4 -5
- package/es/errorstate/version3/ErrorUrlNotFound.js +4 -5
- package/es/errorstate/version3/ErrorWillBeRightBack.js +4 -5
- package/es/index.js +0 -3
- package/lib/Loader/Loader.js +27 -6
- package/lib/Loader/props/propTypes.js +3 -0
- package/lib/SVG/SVG.js +41 -19
- package/lib/SVG/SVG.module.css +16 -12
- package/lib/SVG/SvgLoader.js +22 -6
- package/lib/SVG/props/propTypes.js +3 -0
- package/lib/emptystate/index.js +9 -0
- package/lib/emptystate/props/propTypes.js +3 -0
- package/lib/emptystate/version1/EmptyCustomDomain.js +31 -6
- package/lib/emptystate/version1/index.js +2 -0
- package/lib/emptystate/version2/EmptyBusinessHoliday.js +31 -7
- package/lib/emptystate/version2/EmptyBusinessHour.js +31 -7
- package/lib/emptystate/version2/EmptyFromAddress.js +31 -6
- package/lib/emptystate/version2/EmptyImportHistory.js +31 -7
- package/lib/emptystate/version2/EmptyNetwork.js +31 -6
- package/lib/emptystate/version2/EmptyRecycleBin.js +31 -6
- package/lib/emptystate/version2/EmptyRoles.js +31 -6
- package/lib/emptystate/version2/EmptyWebhook.js +31 -6
- package/lib/emptystate/version2/FailureLog.js +31 -7
- package/lib/emptystate/version2/index.js +10 -0
- package/lib/emptystate/version3/AuditLog.js +30 -6
- package/lib/emptystate/version3/Bot.js +29 -4
- package/lib/emptystate/version3/Contract.js +30 -6
- package/lib/emptystate/version3/CustomModule.js +30 -6
- package/lib/emptystate/version3/EmptyAPIAuthentication.js +149 -0
- package/lib/emptystate/version3/EmptyAPIConfiguration.js +141 -0
- package/lib/emptystate/version3/EmptyAPIs.js +29 -4
- package/lib/emptystate/version3/EmptyAccounts.js +30 -6
- package/lib/emptystate/version3/EmptyActiveCalls.js +30 -7
- package/lib/emptystate/version3/EmptyActivity.js +30 -7
- package/lib/emptystate/version3/EmptyAgent.js +30 -7
- package/lib/emptystate/version3/EmptyAgentQueue.js +30 -7
- package/lib/emptystate/version3/EmptyApplechat.js +30 -6
- package/lib/emptystate/version3/EmptyApproval.js +30 -6
- package/lib/emptystate/version3/EmptyArchived.js +30 -6
- package/lib/emptystate/version3/EmptyArticle.js +30 -6
- package/lib/emptystate/version3/EmptyAsapchat.js +30 -7
- package/lib/emptystate/version3/EmptyAttach.js +30 -7
- package/lib/emptystate/version3/EmptyAuthenticationPending.js +29 -4
- package/lib/emptystate/version3/EmptyBlueprint.js +30 -7
- package/lib/emptystate/version3/EmptyCallHistory.js +30 -7
- package/lib/emptystate/version3/EmptyCanned.js +30 -7
- package/lib/emptystate/version3/EmptyChat.js +30 -7
- package/lib/emptystate/version3/EmptyCollision.js +30 -6
- package/lib/emptystate/version3/EmptyColumn.js +30 -6
- package/lib/emptystate/version3/EmptyContact.js +30 -7
- package/lib/emptystate/version3/EmptyContract.js +30 -6
- package/lib/emptystate/version3/EmptyConversation.js +30 -7
- package/lib/emptystate/version3/EmptyCrm.js +30 -6
- package/lib/emptystate/version3/EmptyCrmNotes.js +30 -6
- package/lib/emptystate/version3/EmptyCrmPotential.js +30 -7
- package/lib/emptystate/version3/EmptyCustomerHappiness.js +29 -4
- package/lib/emptystate/version3/EmptyDashboard.js +30 -6
- package/lib/emptystate/version3/EmptyDelete.js +30 -6
- package/lib/emptystate/version3/EmptyDepartment.js +30 -6
- package/lib/emptystate/version3/EmptyError.js +30 -7
- package/lib/emptystate/version3/EmptyFeed.js +30 -6
- package/lib/emptystate/version3/EmptyFollowers.js +30 -6
- package/lib/emptystate/version3/EmptyFrame.js +30 -7
- package/lib/emptystate/version3/EmptyHappiness.js +30 -7
- package/lib/emptystate/version3/EmptyHistory.js +30 -6
- package/lib/emptystate/version3/EmptyInstagram.js +30 -7
- package/lib/emptystate/version3/EmptyInstantmessage.js +30 -7
- package/lib/emptystate/version3/EmptyInvoice.js +30 -6
- package/lib/emptystate/version3/EmptyLine.js +30 -7
- package/lib/emptystate/version3/EmptyMessenger.js +30 -6
- package/lib/emptystate/version3/EmptyNoData.js +30 -6
- package/lib/emptystate/version3/EmptyNotification.js +30 -6
- package/lib/emptystate/version3/EmptyPreference.js +30 -6
- package/lib/emptystate/version3/EmptyProducts.js +30 -6
- package/lib/emptystate/version3/EmptyReply.js +30 -6
- package/lib/emptystate/version3/EmptyReports.js +30 -6
- package/lib/emptystate/version3/EmptySandbox.js +58 -23
- package/lib/emptystate/version3/EmptySchedule.js +30 -6
- package/lib/emptystate/version3/EmptySearch.js +30 -6
- package/lib/emptystate/version3/EmptySkills.js +30 -6
- package/lib/emptystate/version3/EmptySla.js +30 -6
- package/lib/emptystate/version3/EmptySnippet.js +30 -6
- package/lib/emptystate/version3/EmptyTag.js +30 -6
- package/lib/emptystate/version3/EmptyTask.js +30 -6
- package/lib/emptystate/version3/EmptyTeams.js +30 -7
- package/lib/emptystate/version3/EmptyTelegram.js +30 -7
- package/lib/emptystate/version3/EmptyTemplate.js +30 -6
- package/lib/emptystate/version3/EmptyTicket.js +30 -7
- package/lib/emptystate/version3/EmptyTimeEntry.js +30 -6
- package/lib/emptystate/version3/EmptyTimeline.js +30 -7
- package/lib/emptystate/version3/EmptyTopic.js +30 -6
- package/lib/emptystate/version3/EmptyTwilio.js +30 -7
- package/lib/emptystate/version3/EmptyWechat.js +30 -7
- package/lib/emptystate/version3/EmptyWhatsapp.js +30 -7
- package/lib/emptystate/version3/EmptyZSCKey.js +145 -0
- package/lib/emptystate/version3/Export.js +30 -7
- package/lib/emptystate/version3/Extensions.js +30 -7
- package/lib/emptystate/version3/Extractor.js +30 -7
- package/lib/emptystate/version3/GCBot.js +30 -7
- package/lib/emptystate/version3/GCConversation.js +30 -7
- package/lib/emptystate/version3/Import.js +30 -7
- package/lib/emptystate/version3/KBBot.js +30 -7
- package/lib/emptystate/version3/Multilingual.js +30 -7
- package/lib/emptystate/version3/NetworkError.js +30 -7
- package/lib/emptystate/version3/Predictor.js +30 -7
- package/lib/emptystate/version3/ReadRecipients.js +30 -7
- package/lib/emptystate/version3/SupportPlan.js +30 -6
- package/lib/emptystate/version3/Variable.js +30 -7
- package/lib/emptystate/version3/ZiaAnamoly.js +30 -7
- package/lib/emptystate/version3/index.js +79 -0
- package/lib/errorstate/index.js +9 -0
- package/lib/errorstate/props/propTypes.js +3 -0
- package/lib/errorstate/version1/EmptyInconvenience.js +31 -7
- package/lib/errorstate/version1/NoRequestFound.js +31 -7
- package/lib/errorstate/version1/PageNotFound.js +31 -7
- package/lib/errorstate/version1/UnableToProcessRequest.js +31 -7
- package/lib/errorstate/version1/UnauthorizedLogin.js +31 -7
- package/lib/errorstate/version1/UrlNotFound.js +31 -7
- package/lib/errorstate/version1/WillBeRightBack.js +31 -7
- package/lib/errorstate/version1/index.js +8 -0
- package/lib/errorstate/version2/EmptyUnauthorizedLogin.js +30 -7
- package/lib/errorstate/version2/EmptyWillBeRightBack.js +30 -7
- package/lib/errorstate/version2/NotImpossible.js +30 -7
- package/lib/errorstate/version2/index.js +3 -0
- package/lib/errorstate/version3/ErrorInconvenience.js +30 -7
- package/lib/errorstate/version3/ErrorOopsSomethingMiss.js +30 -7
- package/lib/errorstate/version3/ErrorUnableToProcessRequest.js +30 -7
- package/lib/errorstate/version3/ErrorUnauthorizedLogin.js +30 -7
- package/lib/errorstate/version3/ErrorUrlNotFound.js +30 -7
- package/lib/errorstate/version3/ErrorWillBeRightBack.js +30 -7
- package/lib/errorstate/version3/index.js +7 -0
- package/lib/index.js +10 -0
- package/package.json +26 -18
- package/postPublish.js +8 -0
- package/prePublish.js +70 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
2
3
|
import React from 'react';
|
|
3
4
|
import { ErrorStateProps } from './../props/propTypes';
|
|
4
5
|
import { ErrorStateDefaultProps } from './../props/defaultProps';
|
|
@@ -99,14 +100,12 @@ export default class UnauthorizedLogin extends React.Component {
|
|
|
99
100
|
d: "m229.4 153.6 2.8-2.4s16.7-2.1 18.6 2.3c1.9 4.4-3 8.9-10.3 9-7.2.1-11.5-3.1-11.1-8.9zM259.5 154.5l2.8-2.6s16.6-2.3 18.5 2.5c1.9 4.8-3 9.7-10.2 9.8-7.2.1-11.5-3.5-11.1-9.7zM251.3 200.4s-13.8-4.8-7.8-24.1c0 0 11.1-8.4 24.8-.3 0 0 6.8 21.6-8.6 24.4-2.3 1.1-5.1 1.1-8.4 0z"
|
|
100
101
|
}));
|
|
101
102
|
}
|
|
103
|
+
|
|
102
104
|
}
|
|
103
105
|
UnauthorizedLogin.propTypes = ErrorStateProps;
|
|
104
|
-
UnauthorizedLogin.defaultProps = {
|
|
105
|
-
...ErrorStateDefaultProps,
|
|
106
|
+
UnauthorizedLogin.defaultProps = { ...ErrorStateDefaultProps,
|
|
106
107
|
dataId: 'unauthorizedlogin'
|
|
107
|
-
};
|
|
108
|
-
|
|
109
|
-
// if (__DOCS__) {
|
|
108
|
+
}; // if (__DOCS__) {
|
|
110
109
|
// UnauthorizedLogin.docs = {
|
|
111
110
|
// componentGroup: 'Emptystate'
|
|
112
111
|
// };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
2
3
|
import React from 'react';
|
|
3
4
|
import { ErrorStateProps } from './../props/propTypes';
|
|
4
5
|
import { ErrorStateDefaultProps } from './../props/defaultProps';
|
|
@@ -91,14 +92,12 @@ export default class UrlNotFound extends React.Component {
|
|
|
91
92
|
d: "M405.99 118.56l4.16 4.61M405.75 122.93l4.65-4.12"
|
|
92
93
|
}));
|
|
93
94
|
}
|
|
95
|
+
|
|
94
96
|
}
|
|
95
97
|
UrlNotFound.propTypes = ErrorStateProps;
|
|
96
|
-
UrlNotFound.defaultProps = {
|
|
97
|
-
...ErrorStateDefaultProps,
|
|
98
|
+
UrlNotFound.defaultProps = { ...ErrorStateDefaultProps,
|
|
98
99
|
dataId: 'urlnotfound'
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
// if (__DOCS__) {
|
|
100
|
+
}; // if (__DOCS__) {
|
|
102
101
|
// UrlNotFound.docs = {
|
|
103
102
|
// componentGroup: 'Emptystate'
|
|
104
103
|
// };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
2
3
|
import React from 'react';
|
|
3
4
|
import { ErrorStateProps } from './../props/propTypes';
|
|
4
5
|
import { ErrorStateDefaultProps } from './../props/defaultProps';
|
|
@@ -91,14 +92,12 @@ export default class WillBeRightBack extends React.Component {
|
|
|
91
92
|
d: "M395.35 128.36l4.15 4.61M395.1 132.72l4.65-4.12"
|
|
92
93
|
}));
|
|
93
94
|
}
|
|
95
|
+
|
|
94
96
|
}
|
|
95
97
|
WillBeRightBack.propTypes = ErrorStateProps;
|
|
96
|
-
WillBeRightBack.defaultProps = {
|
|
97
|
-
...ErrorStateDefaultProps,
|
|
98
|
+
WillBeRightBack.defaultProps = { ...ErrorStateDefaultProps,
|
|
98
99
|
dataId: 'willberightback'
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
// if (__DOCS__) {
|
|
100
|
+
}; // if (__DOCS__) {
|
|
102
101
|
// WillBeRightBack.docs = {
|
|
103
102
|
// componentGroup: 'Emptystate'
|
|
104
103
|
// };
|
package/es/index.js
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
// import '@zohodesk/variables/assets/sizeVariables.module.css';
|
|
2
|
-
|
|
3
2
|
// export { default as _provider } from './Provider';
|
|
4
3
|
// export { default as Emptystate__version1 } from './docs/Emptystate__version1.docs';
|
|
5
4
|
// export { default as Emptystate__version2 } from './docs/Emptystate__version2.docs';
|
|
6
5
|
// export { default as Emptystate__version3 } from './docs/Emptystate__version3.docs';
|
|
7
|
-
|
|
8
6
|
// export { default as Errorstate__version1 } from './docs/Errorstate__version1.docs';
|
|
9
7
|
// export { default as Errorstate__version2 } from './docs/Errorstate__version2.docs';
|
|
10
8
|
// export { default as Errorstate__version3 } from './docs/Errorstate__version3.docs';
|
|
11
9
|
// export { default as Svg__common } from './docs/SVG__common.docs';
|
|
12
|
-
|
|
13
10
|
export { default as SVG } from './SVG/SVG';
|
|
14
11
|
export { default as Loader } from './Loader/Loader';
|
|
15
12
|
import * as _EmptyState from './emptystate/';
|
package/lib/Loader/Loader.js
CHANGED
|
@@ -1,34 +1,54 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
exports["default"] = void 0;
|
|
9
|
+
|
|
8
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
9
12
|
var _defaultProps = require("./props/defaultProps");
|
|
13
|
+
|
|
10
14
|
var _propTypes = require("./props/propTypes");
|
|
15
|
+
|
|
11
16
|
var _SVG = _interopRequireDefault(require("./../SVG/SVG"));
|
|
17
|
+
|
|
12
18
|
var _SVGModule = _interopRequireDefault(require("./../SVG/SVG.module.css"));
|
|
19
|
+
|
|
13
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
+
|
|
14
22
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
|
-
|
|
23
|
+
|
|
24
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
25
|
+
|
|
16
26
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17
|
-
|
|
18
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
27
|
+
|
|
19
28
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
|
+
|
|
20
30
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
|
+
|
|
21
32
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
33
|
+
|
|
22
34
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
35
|
+
|
|
23
36
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
37
|
+
|
|
24
38
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
39
|
+
|
|
25
40
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
41
|
+
|
|
26
42
|
var Loader = /*#__PURE__*/function (_React$PureComponent) {
|
|
27
43
|
_inherits(Loader, _React$PureComponent);
|
|
44
|
+
|
|
28
45
|
var _super = _createSuper(Loader);
|
|
46
|
+
|
|
29
47
|
function Loader(props) {
|
|
30
48
|
var _this;
|
|
49
|
+
|
|
31
50
|
_classCallCheck(this, Loader);
|
|
51
|
+
|
|
32
52
|
_this = _super.call(this, props);
|
|
33
53
|
_this.viewBoxStyle = {
|
|
34
54
|
animation: 'loaderone 2s linear infinite'
|
|
@@ -43,6 +63,7 @@ var Loader = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
43
63
|
};
|
|
44
64
|
return _this;
|
|
45
65
|
}
|
|
66
|
+
|
|
46
67
|
_createClass(Loader, [{
|
|
47
68
|
key: "render",
|
|
48
69
|
value: function render() {
|
|
@@ -81,13 +102,13 @@ var Loader = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
81
102
|
})));
|
|
82
103
|
}
|
|
83
104
|
}]);
|
|
105
|
+
|
|
84
106
|
return Loader;
|
|
85
107
|
}(_react["default"].PureComponent);
|
|
108
|
+
|
|
86
109
|
exports["default"] = Loader;
|
|
87
110
|
Loader.propTypes = _propTypes.LoaderProps;
|
|
88
|
-
Loader.defaultProps = _defaultProps.LoaderDefaultProps;
|
|
89
|
-
|
|
90
|
-
// if (__DOCS__) {
|
|
111
|
+
Loader.defaultProps = _defaultProps.LoaderDefaultProps; // if (__DOCS__) {
|
|
91
112
|
// Loader.docs = {
|
|
92
113
|
// componentGroup: 'SVG'
|
|
93
114
|
// };
|
|
@@ -4,8 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.LoaderProps = void 0;
|
|
7
|
+
|
|
7
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
|
|
8
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
|
|
9
12
|
var LoaderProps = {
|
|
10
13
|
dataId: _propTypes["default"].string
|
|
11
14
|
};
|
package/lib/SVG/SVG.js
CHANGED
|
@@ -1,51 +1,71 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
exports["default"] = void 0;
|
|
9
|
+
|
|
8
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
9
12
|
var _propTypes = require("./props/propTypes");
|
|
13
|
+
|
|
10
14
|
var _defaultProps = require("./props/defaultProps");
|
|
15
|
+
|
|
11
16
|
var _SVGModule = _interopRequireDefault(require("./SVG.module.css"));
|
|
17
|
+
|
|
12
18
|
var _EmptyStateVariablesModule = _interopRequireDefault(require("./../css/EmptyStateVariables.module.css"));
|
|
19
|
+
|
|
13
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
+
|
|
14
22
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
|
-
|
|
23
|
+
|
|
24
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
25
|
+
|
|
16
26
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17
|
-
|
|
18
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
27
|
+
|
|
19
28
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
|
+
|
|
20
30
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
|
+
|
|
21
32
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
33
|
+
|
|
22
34
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
35
|
+
|
|
23
36
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
37
|
+
|
|
24
38
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
39
|
+
|
|
25
40
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
41
|
+
|
|
26
42
|
var SVG = /*#__PURE__*/function (_React$Component) {
|
|
27
43
|
_inherits(SVG, _React$Component);
|
|
44
|
+
|
|
28
45
|
var _super = _createSuper(SVG);
|
|
46
|
+
|
|
29
47
|
function SVG() {
|
|
30
48
|
_classCallCheck(this, SVG);
|
|
49
|
+
|
|
31
50
|
return _super.apply(this, arguments);
|
|
32
51
|
}
|
|
52
|
+
|
|
33
53
|
_createClass(SVG, [{
|
|
34
54
|
key: "render",
|
|
35
55
|
value: function render() {
|
|
36
56
|
var _this$props = this.props,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
57
|
+
viewBox = _this$props.viewBox,
|
|
58
|
+
children = _this$props.children,
|
|
59
|
+
name = _this$props.name,
|
|
60
|
+
isRender = _this$props.isRender,
|
|
61
|
+
isSymbol = _this$props.isSymbol,
|
|
62
|
+
size = _this$props.size,
|
|
63
|
+
className = _this$props.className,
|
|
64
|
+
alignHorizontal = _this$props.alignHorizontal,
|
|
65
|
+
isFluid = _this$props.isFluid,
|
|
66
|
+
dataId = _this$props.dataId,
|
|
67
|
+
palette = _this$props.palette,
|
|
68
|
+
styleName = _this$props.styleName;
|
|
49
69
|
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, isSymbol ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
50
70
|
hidden: true
|
|
51
71
|
}, /*#__PURE__*/_react["default"].createElement("svg", null, /*#__PURE__*/_react["default"].createElement("symbol", {
|
|
@@ -57,7 +77,8 @@ var SVG = /*#__PURE__*/function (_React$Component) {
|
|
|
57
77
|
}, /*#__PURE__*/_react["default"].createElement("svg", {
|
|
58
78
|
height: "100%",
|
|
59
79
|
width: "100%",
|
|
60
|
-
"data-id": dataId
|
|
80
|
+
"data-id": dataId,
|
|
81
|
+
"data-test-id": dataId
|
|
61
82
|
}, /*#__PURE__*/_react["default"].createElement("use", {
|
|
62
83
|
xlinkHref: "#".concat(name)
|
|
63
84
|
}))) : isRender ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -68,17 +89,18 @@ var SVG = /*#__PURE__*/function (_React$Component) {
|
|
|
68
89
|
width: "100%",
|
|
69
90
|
viewBox: viewBox,
|
|
70
91
|
"data-id": dataId,
|
|
92
|
+
"data-test-id": dataId,
|
|
71
93
|
style: styleName
|
|
72
94
|
}, children)) : null);
|
|
73
95
|
}
|
|
74
96
|
}]);
|
|
97
|
+
|
|
75
98
|
return SVG;
|
|
76
99
|
}(_react["default"].Component);
|
|
100
|
+
|
|
77
101
|
exports["default"] = SVG;
|
|
78
102
|
SVG.propTypes = _propTypes.SvgProps;
|
|
79
|
-
SVG.defaultProps = _defaultProps.SvgDefaultProps;
|
|
80
|
-
|
|
81
|
-
// if (__DOCS__) {
|
|
103
|
+
SVG.defaultProps = _defaultProps.SvgDefaultProps; // if (__DOCS__) {
|
|
82
104
|
// SVG.docs = {
|
|
83
105
|
// componentGroup: 'SVG'
|
|
84
106
|
// };
|
package/lib/SVG/SVG.module.css
CHANGED
|
@@ -1,26 +1,30 @@
|
|
|
1
1
|
.cover {
|
|
2
|
-
height: 100
|
|
2
|
+
height: 100% ;
|
|
3
3
|
}
|
|
4
4
|
.large {
|
|
5
|
-
height:
|
|
6
|
-
width:
|
|
5
|
+
height: var(--zd_size160) ;
|
|
6
|
+
width: var(--zd_size160) ;
|
|
7
7
|
}
|
|
8
8
|
.small {
|
|
9
|
-
height:
|
|
10
|
-
width:
|
|
9
|
+
height: var(--zd_size130) ;
|
|
10
|
+
width: var(--zd_size130) ;
|
|
11
11
|
}
|
|
12
|
-
.svgCenter {
|
|
13
|
-
margin-left: auto;
|
|
14
|
-
margin-right: auto;
|
|
12
|
+
[dir=ltr] .svgCenter {
|
|
13
|
+
margin-left: auto ;
|
|
14
|
+
margin-right: auto ;
|
|
15
|
+
}
|
|
16
|
+
[dir=rtl] .svgCenter {
|
|
17
|
+
margin-right: auto ;
|
|
18
|
+
margin-left: auto ;
|
|
15
19
|
}
|
|
16
20
|
|
|
17
21
|
.loaderWrapper {
|
|
18
|
-
height:
|
|
19
|
-
width:
|
|
22
|
+
height: var(--zd_size40) ;
|
|
23
|
+
width: var(--zd_size40) ;
|
|
20
24
|
}
|
|
21
25
|
.center {
|
|
22
|
-
height: 100
|
|
23
|
-
width: 100
|
|
26
|
+
height: 100% ;
|
|
27
|
+
width: 100% ;
|
|
24
28
|
display: flex;
|
|
25
29
|
align-items: center;
|
|
26
30
|
justify-content: center;
|
package/lib/SVG/SvgLoader.js
CHANGED
|
@@ -1,21 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
exports.StaticSvg = StaticSvg;
|
|
8
9
|
exports["default"] = SvgLoader;
|
|
10
|
+
|
|
9
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
|
+
|
|
10
13
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
14
|
+
|
|
11
15
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
16
|
+
|
|
12
17
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
18
|
+
|
|
13
19
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
20
|
+
|
|
14
21
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
15
|
-
|
|
16
|
-
function
|
|
22
|
+
|
|
23
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
24
|
+
|
|
25
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
26
|
+
|
|
17
27
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
28
|
+
|
|
18
29
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
30
|
+
|
|
19
31
|
function SvgLoader(props) {
|
|
20
32
|
var uiProps = {};
|
|
21
33
|
Object.keys(props).filter(function (prop) {
|
|
@@ -23,17 +35,21 @@ function SvgLoader(props) {
|
|
|
23
35
|
}).map(function (prop) {
|
|
24
36
|
uiProps[prop] = props[prop];
|
|
25
37
|
});
|
|
38
|
+
|
|
26
39
|
var image = require("./images/".concat(props.imageUrl));
|
|
40
|
+
|
|
27
41
|
return /*#__PURE__*/_react["default"].createElement("image", _extends({
|
|
28
42
|
xlinkHref: image
|
|
29
43
|
}, uiProps));
|
|
30
44
|
}
|
|
45
|
+
|
|
31
46
|
function StaticSvg(props) {
|
|
32
47
|
var uiProps = {},
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
48
|
+
_useState = (0, _react.useState)(null),
|
|
49
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
50
|
+
image = _useState2[0],
|
|
51
|
+
setImage = _useState2[1];
|
|
52
|
+
|
|
37
53
|
Object.keys(props).filter(function (prop) {
|
|
38
54
|
return prop != 'getImage';
|
|
39
55
|
}).map(function (prop) {
|
|
@@ -4,8 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.SvgProps = void 0;
|
|
7
|
+
|
|
7
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
|
|
8
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
|
|
9
12
|
var SvgProps = {
|
|
10
13
|
alignHorizontal: _propTypes["default"].bool,
|
|
11
14
|
children: _propTypes["default"].node,
|
package/lib/emptystate/index.js
CHANGED
|
@@ -1,15 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
exports.v3 = exports.v2 = exports.v1 = void 0;
|
|
9
|
+
|
|
8
10
|
var _v = _interopRequireWildcard(require("./version1"));
|
|
11
|
+
|
|
9
12
|
exports.v1 = _v;
|
|
13
|
+
|
|
10
14
|
var _v2 = _interopRequireWildcard(require("./version2"));
|
|
15
|
+
|
|
11
16
|
exports.v2 = _v2;
|
|
17
|
+
|
|
12
18
|
var _v3 = _interopRequireWildcard(require("./version3"));
|
|
19
|
+
|
|
13
20
|
exports.v3 = _v3;
|
|
21
|
+
|
|
14
22
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
23
|
+
|
|
15
24
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
@@ -4,8 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.EmptyStateProps = void 0;
|
|
7
|
+
|
|
7
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
|
|
8
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
|
|
9
12
|
var EmptyStateProps = {
|
|
10
13
|
alignHorizontal: _propTypes["default"].bool,
|
|
11
14
|
className: _propTypes["default"].string,
|
|
@@ -1,39 +1,63 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
exports["default"] = void 0;
|
|
9
|
+
|
|
8
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
9
12
|
var _propTypes = require("./../props/propTypes");
|
|
13
|
+
|
|
10
14
|
var _defaultProps = require("./../props/defaultProps");
|
|
15
|
+
|
|
11
16
|
var _SVG = _interopRequireDefault(require("./../../SVG/SVG"));
|
|
17
|
+
|
|
12
18
|
var _EmptyCustomDomain = _interopRequireDefault(require("./../../../images/EmptyCustomDomain.svg"));
|
|
19
|
+
|
|
13
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
+
|
|
14
22
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
23
|
+
|
|
15
24
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
16
|
-
|
|
25
|
+
|
|
26
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
27
|
+
|
|
17
28
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
29
|
+
|
|
18
30
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19
|
-
|
|
31
|
+
|
|
32
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
33
|
+
|
|
20
34
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
21
|
-
|
|
22
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
35
|
+
|
|
23
36
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
37
|
+
|
|
24
38
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
39
|
+
|
|
25
40
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
41
|
+
|
|
26
42
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
43
|
+
|
|
27
44
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
45
|
+
|
|
28
46
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
47
|
+
|
|
29
48
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
49
|
+
|
|
30
50
|
var EmptyCustomDomain = /*#__PURE__*/function (_React$Component) {
|
|
31
51
|
_inherits(EmptyCustomDomain, _React$Component);
|
|
52
|
+
|
|
32
53
|
var _super = _createSuper(EmptyCustomDomain);
|
|
54
|
+
|
|
33
55
|
function EmptyCustomDomain() {
|
|
34
56
|
_classCallCheck(this, EmptyCustomDomain);
|
|
57
|
+
|
|
35
58
|
return _super.apply(this, arguments);
|
|
36
59
|
}
|
|
60
|
+
|
|
37
61
|
_createClass(EmptyCustomDomain, [{
|
|
38
62
|
key: "render",
|
|
39
63
|
value: function render() {
|
|
@@ -47,14 +71,15 @@ var EmptyCustomDomain = /*#__PURE__*/function (_React$Component) {
|
|
|
47
71
|
}));
|
|
48
72
|
}
|
|
49
73
|
}]);
|
|
74
|
+
|
|
50
75
|
return EmptyCustomDomain;
|
|
51
76
|
}(_react["default"].Component);
|
|
77
|
+
|
|
52
78
|
exports["default"] = EmptyCustomDomain;
|
|
53
79
|
EmptyCustomDomain.propTypes = _propTypes.EmptyStateProps;
|
|
54
80
|
EmptyCustomDomain.defaultProps = _objectSpread(_objectSpread({}, _defaultProps.EmptyStateDefaultProps), {}, {
|
|
55
81
|
dataId: 'emptyCustomDomain'
|
|
56
|
-
});
|
|
57
|
-
// if (__DOCS__) {
|
|
82
|
+
}); // if (__DOCS__) {
|
|
58
83
|
// EmptyCustomDomain.docs = {
|
|
59
84
|
// componentGroup: 'Emptystate'
|
|
60
85
|
// };
|
|
@@ -9,5 +9,7 @@ Object.defineProperty(exports, "EmptyCustomDomain", {
|
|
|
9
9
|
return _EmptyCustomDomain["default"];
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
+
|
|
12
13
|
var _EmptyCustomDomain = _interopRequireDefault(require("./EmptyCustomDomain"));
|
|
14
|
+
|
|
13
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|