@zohodesk/svg 1.0.0-beta.4 → 1.0.0-beta.40

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.
Files changed (359) hide show
  1. package/README.md +142 -1
  2. package/lib/Provider.js +213 -0
  3. package/lib/index.js +48 -27
  4. package/lib/svg/EmptyAccounts.js +108 -36
  5. package/lib/svg/EmptyActiveCalls.js +79 -43
  6. package/lib/svg/EmptyActivity.js +79 -38
  7. package/lib/svg/EmptyAgent.js +79 -35
  8. package/lib/svg/EmptyAgentQueue.js +128 -0
  9. package/lib/svg/EmptyApproval.js +128 -0
  10. package/lib/svg/EmptyArchived.js +88 -35
  11. package/lib/svg/EmptyAttach.js +79 -35
  12. package/lib/svg/EmptyBlueprint.js +94 -35
  13. package/lib/svg/EmptyBusinessHoliday.js +47 -35
  14. package/lib/svg/EmptyBusinessHour.js +47 -35
  15. package/lib/svg/EmptyCallHistory.js +81 -43
  16. package/lib/svg/EmptyCollision.js +122 -0
  17. package/lib/svg/EmptyColumn.js +128 -0
  18. package/lib/svg/EmptyContact.js +79 -36
  19. package/lib/svg/EmptyContract.js +118 -0
  20. package/lib/svg/EmptyConversation.js +79 -35
  21. package/lib/svg/EmptyCrm.js +122 -0
  22. package/lib/svg/EmptyCrmNotes.js +133 -0
  23. package/lib/svg/EmptyCrmPotential.js +136 -0
  24. package/lib/svg/EmptyCustomDomain.js +90 -0
  25. package/lib/svg/EmptyDashboard.js +86 -36
  26. package/lib/svg/EmptyDepartment.js +122 -0
  27. package/lib/svg/EmptyError.js +144 -0
  28. package/lib/svg/EmptyFeed.js +125 -0
  29. package/lib/svg/EmptyFollowers.js +123 -0
  30. package/lib/svg/EmptyFrame.js +121 -0
  31. package/lib/svg/EmptyFromAddress.js +47 -35
  32. package/lib/svg/EmptyHappiness.js +79 -35
  33. package/lib/svg/EmptyHistory.js +79 -42
  34. package/lib/svg/EmptyImportHistory.js +47 -35
  35. package/lib/svg/EmptyInconvenience.js +91 -0
  36. package/lib/svg/EmptyInvoice.js +84 -35
  37. package/lib/svg/EmptyNetwork.js +47 -35
  38. package/lib/svg/EmptyNotification.js +79 -35
  39. package/lib/svg/EmptyProducts.js +82 -35
  40. package/lib/svg/EmptyRecycleBin.js +47 -35
  41. package/lib/svg/EmptyReply.js +117 -0
  42. package/lib/svg/EmptyReports.js +85 -35
  43. package/lib/svg/EmptyRoles.js +47 -35
  44. package/lib/svg/EmptySchedule.js +164 -0
  45. package/lib/svg/EmptySearch.js +89 -35
  46. package/lib/svg/EmptySkills.js +127 -41
  47. package/lib/svg/EmptySla.js +117 -0
  48. package/lib/svg/EmptySnippet.js +98 -50
  49. package/lib/svg/EmptyStateVariables.module.css +39 -0
  50. package/lib/svg/EmptyTag.js +82 -35
  51. package/lib/svg/EmptyTask.js +95 -35
  52. package/lib/svg/EmptyTeams.js +79 -35
  53. package/lib/svg/EmptyTemplate.js +91 -36
  54. package/lib/svg/EmptyTicket.js +82 -35
  55. package/lib/svg/EmptyTimeEntry.js +85 -35
  56. package/lib/svg/EmptyTimeline.js +122 -0
  57. package/lib/svg/EmptyTopic.js +85 -35
  58. package/lib/svg/EmptyUnauthorizedLogin.js +97 -0
  59. package/lib/svg/EmptyWebhook.js +47 -35
  60. package/lib/svg/EmptyWillBeRightBack.js +92 -0
  61. package/lib/svg/ErrorInconvenience.js +163 -0
  62. package/lib/svg/ErrorOopsSomethingMiss.js +164 -0
  63. package/lib/svg/ErrorUnableToProcessRequest.js +164 -0
  64. package/lib/svg/ErrorUnauthorizedLogin.js +163 -0
  65. package/lib/svg/ErrorUrlNotFound.js +164 -0
  66. package/lib/svg/ErrorWillBeRightBack.js +163 -0
  67. package/lib/svg/Extractor.js +116 -0
  68. package/lib/svg/FailureLog.js +47 -35
  69. package/lib/svg/Import.js +132 -0
  70. package/lib/svg/Loader.js +77 -33
  71. package/lib/svg/NoRequestFound.js +47 -43
  72. package/lib/svg/NotImpossible.js +129 -0
  73. package/lib/svg/PageNotFound.js +49 -44
  74. package/lib/svg/Predictor.js +123 -0
  75. package/lib/svg/SVG.js +88 -81
  76. package/lib/svg/SVG.module.css +9 -2
  77. package/lib/svg/SvgLoader.js +66 -0
  78. package/lib/svg/UnableToProcessRequest.js +48 -43
  79. package/lib/svg/UnauthorizedLogin.js +48 -43
  80. package/lib/svg/UrlNotFound.js +49 -44
  81. package/lib/svg/WillBeRightBack.js +49 -44
  82. package/lib/svg/ZiaAnamoly.js +117 -0
  83. package/lib/svg/docs/SVG__common.docs.js +98 -0
  84. package/lib/svg/docs/SVG__default.docs.js +327 -657
  85. package/lib/svg/docs/SVG__errorstate.docs.js +129 -0
  86. package/lib/svg/docs/SVGdocstyle.module.css +8 -0
  87. package/lib/svg/images/EmptyCustomDomain.svg +85 -0
  88. package/lib/svg/images/EmptySkills.svg +75 -67
  89. package/lib/svg/utils.js +26 -0
  90. package/package.json +20 -6
  91. package/preprocess/index.js +2 -0
  92. package/preprocess/json/svgAppearanceVariableJson.js +151 -0
  93. package/preprocess/json/svgThemeVariableJson.js +71 -0
  94. package/preprocess/svgAppearanceColors.js +63 -0
  95. package/preprocess/svgThemeColors.js +92 -0
  96. package/src/Provider.js +141 -0
  97. package/src/index.js +5 -1
  98. package/src/svg/EmptyAccounts.js +100 -9
  99. package/src/svg/EmptyActiveCalls.js +63 -14
  100. package/src/svg/EmptyActivity.js +63 -9
  101. package/src/svg/EmptyAgent.js +65 -9
  102. package/src/svg/EmptyAgentQueue.js +94 -0
  103. package/src/svg/EmptyApproval.js +85 -0
  104. package/src/svg/EmptyArchived.js +74 -8
  105. package/src/svg/EmptyAttach.js +65 -9
  106. package/src/svg/EmptyBlueprint.js +85 -8
  107. package/src/svg/EmptyBusinessHoliday.js +11 -6
  108. package/src/svg/EmptyBusinessHour.js +11 -6
  109. package/src/svg/EmptyCallHistory.js +60 -14
  110. package/src/svg/EmptyCollision.js +85 -0
  111. package/src/svg/EmptyColumn.js +91 -0
  112. package/src/svg/EmptyContact.js +64 -9
  113. package/src/svg/EmptyContract.js +81 -0
  114. package/src/svg/EmptyConversation.js +65 -9
  115. package/src/svg/EmptyCrm.js +84 -0
  116. package/src/svg/EmptyCrmNotes.js +96 -0
  117. package/src/svg/EmptyCrmPotential.js +100 -0
  118. package/src/svg/EmptyCustomDomain.js +33 -0
  119. package/src/svg/EmptyDashboard.js +71 -10
  120. package/src/svg/EmptyDepartment.js +87 -0
  121. package/src/svg/EmptyError.js +42 -0
  122. package/src/svg/EmptyFeed.js +87 -0
  123. package/src/svg/EmptyFollowers.js +85 -0
  124. package/src/svg/EmptyFrame.js +83 -0
  125. package/src/svg/EmptyFromAddress.js +11 -8
  126. package/src/svg/EmptyHappiness.js +65 -9
  127. package/src/svg/EmptyHistory.js +63 -15
  128. package/src/svg/EmptyImportHistory.js +11 -8
  129. package/src/svg/{Inconvenience.js → EmptyInconvenience.js} +7 -8
  130. package/src/svg/EmptyInvoice.js +70 -9
  131. package/src/svg/EmptyNetwork.js +11 -8
  132. package/src/svg/EmptyNotification.js +65 -10
  133. package/src/svg/EmptyProducts.js +68 -9
  134. package/src/svg/EmptyRecycleBin.js +10 -7
  135. package/src/svg/EmptyReply.js +81 -0
  136. package/src/svg/EmptyReports.js +70 -9
  137. package/src/svg/EmptyRoles.js +11 -8
  138. package/src/svg/EmptySchedule.js +131 -0
  139. package/src/svg/EmptySearch.js +75 -9
  140. package/src/svg/EmptySkills.js +95 -14
  141. package/src/svg/EmptySla.js +81 -0
  142. package/src/svg/EmptySnippet.js +78 -17
  143. package/src/svg/EmptyStateVariables.module.css +39 -0
  144. package/src/svg/EmptyTag.js +67 -8
  145. package/src/svg/EmptyTask.js +78 -10
  146. package/src/svg/EmptyTeams.js +65 -9
  147. package/src/svg/EmptyTemplate.js +69 -11
  148. package/src/svg/EmptyTicket.js +69 -10
  149. package/src/svg/EmptyTimeEntry.js +72 -10
  150. package/src/svg/EmptyTimeline.js +85 -0
  151. package/src/svg/EmptyTopic.js +72 -9
  152. package/src/svg/EmptyUnauthorizedLogin.js +44 -0
  153. package/src/svg/EmptyWebhook.js +11 -8
  154. package/src/svg/EmptyWillBeRightBack.js +44 -0
  155. package/src/svg/ErrorInconvenience.js +128 -0
  156. package/src/svg/ErrorOopsSomethingMiss.js +128 -0
  157. package/src/svg/ErrorUnableToProcessRequest.js +128 -0
  158. package/src/svg/ErrorUnauthorizedLogin.js +127 -0
  159. package/src/svg/ErrorUrlNotFound.js +128 -0
  160. package/src/svg/ErrorWillBeRightBack.js +127 -0
  161. package/src/svg/Extractor.js +76 -0
  162. package/src/svg/FailureLog.js +11 -8
  163. package/src/svg/Import.js +85 -0
  164. package/src/svg/Loader.js +63 -9
  165. package/src/svg/NoRequestFound.js +7 -8
  166. package/src/svg/NotImpossible.js +80 -0
  167. package/src/svg/PageNotFound.js +8 -8
  168. package/src/svg/Predictor.js +78 -0
  169. package/src/svg/SVG.js +36 -17
  170. package/src/svg/SVG.module.css +9 -2
  171. package/src/svg/SvgLoader.js +21 -0
  172. package/src/svg/UnableToProcessRequest.js +8 -9
  173. package/src/svg/UnauthorizedLogin.js +7 -8
  174. package/src/svg/UrlNotFound.js +9 -10
  175. package/src/svg/WillBeRightBack.js +9 -10
  176. package/src/svg/ZiaAnamoly.js +76 -0
  177. package/src/svg/docs/SVG__common.docs.js +47 -0
  178. package/src/svg/docs/SVG__default.docs.js +172 -228
  179. package/src/svg/docs/SVG__errorstate.docs.js +75 -0
  180. package/src/svg/docs/SVGdocstyle.module.css +8 -0
  181. package/src/svg/images/EmptyCustomDomain.svg +85 -0
  182. package/src/svg/images/EmptySkills.svg +75 -67
  183. package/src/svg/utils.js +15 -0
  184. package/.DS_Store +0 -0
  185. package/es/index.js +0 -6
  186. package/es/svg/EmptyAccounts.js +0 -57
  187. package/es/svg/EmptyActiveCalls.js +0 -64
  188. package/es/svg/EmptyActivity.js +0 -59
  189. package/es/svg/EmptyAgent.js +0 -56
  190. package/es/svg/EmptyArchived.js +0 -55
  191. package/es/svg/EmptyAttach.js +0 -56
  192. package/es/svg/EmptyBlueprint.js +0 -56
  193. package/es/svg/EmptyBusinessHoliday.js +0 -56
  194. package/es/svg/EmptyBusinessHour.js +0 -56
  195. package/es/svg/EmptyCallHistory.js +0 -64
  196. package/es/svg/EmptyCloud.js +0 -55
  197. package/es/svg/EmptyCloudDanger.js +0 -131
  198. package/es/svg/EmptyContact.js +0 -57
  199. package/es/svg/EmptyConversation.js +0 -56
  200. package/es/svg/EmptyDashboard.js +0 -56
  201. package/es/svg/EmptyEdition.js +0 -56
  202. package/es/svg/EmptyFromAddress.js +0 -56
  203. package/es/svg/EmptyHappiness.js +0 -56
  204. package/es/svg/EmptyHistory.js +0 -63
  205. package/es/svg/EmptyImportHistory.js +0 -56
  206. package/es/svg/EmptyInvoice.js +0 -56
  207. package/es/svg/EmptyNetwork.js +0 -56
  208. package/es/svg/EmptyNotification.js +0 -56
  209. package/es/svg/EmptyProducts.js +0 -56
  210. package/es/svg/EmptyRecycleBin.js +0 -56
  211. package/es/svg/EmptyReports.js +0 -56
  212. package/es/svg/EmptyRoles.js +0 -56
  213. package/es/svg/EmptySearch.js +0 -56
  214. package/es/svg/EmptySkills.js +0 -62
  215. package/es/svg/EmptySnippet.js +0 -62
  216. package/es/svg/EmptyTag.js +0 -56
  217. package/es/svg/EmptyTask.js +0 -56
  218. package/es/svg/EmptyTeams.js +0 -56
  219. package/es/svg/EmptyTemplate.js +0 -57
  220. package/es/svg/EmptyTicket.js +0 -56
  221. package/es/svg/EmptyTimeEntry.js +0 -56
  222. package/es/svg/EmptyTopic.js +0 -56
  223. package/es/svg/EmptyWebhook.js +0 -56
  224. package/es/svg/FailureLog.js +0 -56
  225. package/es/svg/Inconvenience.js +0 -65
  226. package/es/svg/InvalidUrl.js +0 -780
  227. package/es/svg/Loader.js +0 -50
  228. package/es/svg/NoRequestFound.js +0 -65
  229. package/es/svg/PageNotFound.js +0 -65
  230. package/es/svg/SVG.js +0 -102
  231. package/es/svg/SVG.module.css +0 -19
  232. package/es/svg/SitBack.js +0 -54
  233. package/es/svg/UnableToProcessRequest.js +0 -65
  234. package/es/svg/UnauthorizedLogin.js +0 -65
  235. package/es/svg/UrlNotFound.js +0 -65
  236. package/es/svg/WillBeRightBack.js +0 -65
  237. package/es/svg/docs/SVG__default.docs.js +0 -605
  238. package/es/svg/images/EmptyAccounts.svg +0 -55
  239. package/es/svg/images/EmptyActiveCalls.svg +0 -57
  240. package/es/svg/images/EmptyActivity.svg +0 -85
  241. package/es/svg/images/EmptyAgent.svg +0 -52
  242. package/es/svg/images/EmptyArchived.svg +0 -38
  243. package/es/svg/images/EmptyAttach.svg +0 -39
  244. package/es/svg/images/EmptyBlueprint.svg +0 -78
  245. package/es/svg/images/EmptyBusinessHoliday.svg +0 -50
  246. package/es/svg/images/EmptyBusinessHour.svg +0 -42
  247. package/es/svg/images/EmptyCallHistory.svg +0 -46
  248. package/es/svg/images/EmptyCloud.svg +0 -38
  249. package/es/svg/images/EmptyContact.svg +0 -33
  250. package/es/svg/images/EmptyContactInfo.svg +0 -27
  251. package/es/svg/images/EmptyConversation.svg +0 -38
  252. package/es/svg/images/EmptyDashboard.svg +0 -42
  253. package/es/svg/images/EmptyEdition.svg +0 -76
  254. package/es/svg/images/EmptyFilter.svg +0 -62
  255. package/es/svg/images/EmptyFromAddress.svg +0 -41
  256. package/es/svg/images/EmptyHappiness.svg +0 -58
  257. package/es/svg/images/EmptyHistory.svg +0 -44
  258. package/es/svg/images/EmptyImportHistory.svg +0 -43
  259. package/es/svg/images/EmptyInvoice.svg +0 -45
  260. package/es/svg/images/EmptyNetwork.svg +0 -50
  261. package/es/svg/images/EmptyNotification.svg +0 -38
  262. package/es/svg/images/EmptyProducts.svg +0 -57
  263. package/es/svg/images/EmptyRecycleBin.svg +0 -58
  264. package/es/svg/images/EmptyReports.svg +0 -39
  265. package/es/svg/images/EmptyRoles.svg +0 -30
  266. package/es/svg/images/EmptySearch.svg +0 -37
  267. package/es/svg/images/EmptySkills.svg +0 -75
  268. package/es/svg/images/EmptySnippet.svg +0 -46
  269. package/es/svg/images/EmptyTag.svg +0 -43
  270. package/es/svg/images/EmptyTask.svg +0 -42
  271. package/es/svg/images/EmptyTeams.svg +0 -39
  272. package/es/svg/images/EmptyTemplate.svg +0 -39
  273. package/es/svg/images/EmptyTicket.svg +0 -33
  274. package/es/svg/images/EmptyTimeEntry.svg +0 -96
  275. package/es/svg/images/EmptyTopic.svg +0 -41
  276. package/es/svg/images/EmptyWebhook.svg +0 -44
  277. package/es/svg/images/FailureLog.svg +0 -46
  278. package/es/svg/images/Inconvenience.svg +0 -719
  279. package/es/svg/images/Loader.svg +0 -62
  280. package/es/svg/images/NoRequestFound.svg +0 -247
  281. package/es/svg/images/PageNotFound.svg +0 -405
  282. package/es/svg/images/ReguestUrlNotFound.svg +0 -267
  283. package/es/svg/images/SitBack.svg +0 -464
  284. package/es/svg/images/UnableToProcess.svg +0 -752
  285. package/es/svg/images/UnauthorizedLogin.svg +0 -1047
  286. package/es/svg/images/WillBack.svg +0 -633
  287. package/lib/svg/EmptyCloud.js +0 -77
  288. package/lib/svg/EmptyCloudDanger.js +0 -147
  289. package/lib/svg/EmptyEdition.js +0 -78
  290. package/lib/svg/Inconvenience.js +0 -87
  291. package/lib/svg/InvalidUrl.js +0 -799
  292. package/lib/svg/SitBack.js +0 -76
  293. package/lib/svg/images/EmptyAccounts.svg +0 -55
  294. package/lib/svg/images/EmptyActiveCalls.svg +0 -57
  295. package/lib/svg/images/EmptyActivity.svg +0 -85
  296. package/lib/svg/images/EmptyAgent.svg +0 -52
  297. package/lib/svg/images/EmptyArchived.svg +0 -38
  298. package/lib/svg/images/EmptyAttach.svg +0 -39
  299. package/lib/svg/images/EmptyBlueprint.svg +0 -78
  300. package/lib/svg/images/EmptyCallHistory.svg +0 -46
  301. package/lib/svg/images/EmptyCloud.svg +0 -38
  302. package/lib/svg/images/EmptyContact.svg +0 -33
  303. package/lib/svg/images/EmptyConversation.svg +0 -38
  304. package/lib/svg/images/EmptyDashboard.svg +0 -42
  305. package/lib/svg/images/EmptyEdition.svg +0 -76
  306. package/lib/svg/images/EmptyHappiness.svg +0 -58
  307. package/lib/svg/images/EmptyHistory.svg +0 -44
  308. package/lib/svg/images/EmptyInvoice.svg +0 -45
  309. package/lib/svg/images/EmptyNotification.svg +0 -38
  310. package/lib/svg/images/EmptyProducts.svg +0 -57
  311. package/lib/svg/images/EmptyReports.svg +0 -39
  312. package/lib/svg/images/EmptySearch.svg +0 -37
  313. package/lib/svg/images/EmptySnippet.svg +0 -46
  314. package/lib/svg/images/EmptyTag.svg +0 -43
  315. package/lib/svg/images/EmptyTask.svg +0 -42
  316. package/lib/svg/images/EmptyTeams.svg +0 -39
  317. package/lib/svg/images/EmptyTemplate.svg +0 -39
  318. package/lib/svg/images/EmptyTicket.svg +0 -33
  319. package/lib/svg/images/EmptyTimeEntry.svg +0 -96
  320. package/lib/svg/images/EmptyTopic.svg +0 -41
  321. package/lib/svg/images/Loader.svg +0 -62
  322. package/lib/svg/images/SitBack.svg +0 -464
  323. package/src/.DS_Store +0 -0
  324. package/src/svg/.DS_Store +0 -0
  325. package/src/svg/EmptyCloud.js +0 -28
  326. package/src/svg/EmptyCloudDanger.js +0 -104
  327. package/src/svg/EmptyEdition.js +0 -29
  328. package/src/svg/InvalidUrl.js +0 -755
  329. package/src/svg/SitBack.js +0 -29
  330. package/src/svg/images/EmptyAccounts.svg +0 -55
  331. package/src/svg/images/EmptyActiveCalls.svg +0 -57
  332. package/src/svg/images/EmptyActivity.svg +0 -85
  333. package/src/svg/images/EmptyAgent.svg +0 -52
  334. package/src/svg/images/EmptyArchived.svg +0 -38
  335. package/src/svg/images/EmptyAttach.svg +0 -39
  336. package/src/svg/images/EmptyBlueprint.svg +0 -78
  337. package/src/svg/images/EmptyCallHistory.svg +0 -46
  338. package/src/svg/images/EmptyCloud.svg +0 -38
  339. package/src/svg/images/EmptyContact.svg +0 -33
  340. package/src/svg/images/EmptyConversation.svg +0 -38
  341. package/src/svg/images/EmptyDashboard.svg +0 -42
  342. package/src/svg/images/EmptyEdition.svg +0 -76
  343. package/src/svg/images/EmptyHappiness.svg +0 -58
  344. package/src/svg/images/EmptyHistory.svg +0 -44
  345. package/src/svg/images/EmptyInvoice.svg +0 -45
  346. package/src/svg/images/EmptyNotification.svg +0 -38
  347. package/src/svg/images/EmptyProducts.svg +0 -57
  348. package/src/svg/images/EmptyReports.svg +0 -39
  349. package/src/svg/images/EmptySearch.svg +0 -37
  350. package/src/svg/images/EmptySnippet.svg +0 -46
  351. package/src/svg/images/EmptyTag.svg +0 -43
  352. package/src/svg/images/EmptyTask.svg +0 -42
  353. package/src/svg/images/EmptyTeams.svg +0 -39
  354. package/src/svg/images/EmptyTemplate.svg +0 -39
  355. package/src/svg/images/EmptyTicket.svg +0 -33
  356. package/src/svg/images/EmptyTimeEntry.svg +0 -96
  357. package/src/svg/images/EmptyTopic.svg +0 -41
  358. package/src/svg/images/Loader.svg +0 -62
  359. package/src/svg/images/SitBack.svg +0 -464
@@ -0,0 +1,129 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+
10
+ var _react = _interopRequireDefault(require("react"));
11
+
12
+ var _propTypes = _interopRequireDefault(require("prop-types"));
13
+
14
+ var _SVG = _interopRequireDefault(require("./SVG"));
15
+
16
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
+
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); }
19
+
20
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
21
+
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); } }
23
+
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; }
25
+
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
+
28
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
+
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); }; }
31
+
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); }
33
+
34
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
35
+
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; } }
37
+
38
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
39
+
40
+ var NotImpossible = /*#__PURE__*/function (_React$Component) {
41
+ _inherits(NotImpossible, _React$Component);
42
+
43
+ var _super = _createSuper(NotImpossible);
44
+
45
+ function NotImpossible() {
46
+ _classCallCheck(this, NotImpossible);
47
+
48
+ return _super.apply(this, arguments);
49
+ }
50
+
51
+ _createClass(NotImpossible, [{
52
+ key: "render",
53
+ value: function render() {
54
+ return /*#__PURE__*/_react["default"].createElement(_SVG["default"], _extends({
55
+ viewBox: "0 0 316.9 200",
56
+ name: "NotImpossible"
57
+ }, this.props), /*#__PURE__*/_react["default"].createElement("style", null, ".NotImpossible_svg__st2{fill:none;stroke:var(--zd_emptysvg_tiny_circle);stroke-miterlimit:10}.NotImpossible_svg__st4{fill:none;stroke:var(--zd_emptysvg_cross);stroke-miterlimit:10}.NotImpossible_svg__st3{fill:none;stroke:var(--zd_emptysvg_plus);stroke-linecap:round;stroke-linejoin:round}"), /*#__PURE__*/_react["default"].createElement("path", {
58
+ d: "M174 53.9s46.9-30.9 70.7-21.6 40 87.4-26.1 122.4-95.9-41.2-96.1-54.7c-.3-13-.1-44.2 51.5-46.1z",
59
+ opacity: 0.05,
60
+ fill: "var(--zd_emptysvg_primary_fill)"
61
+ }), /*#__PURE__*/_react["default"].createElement("circle", {
62
+ cx: 243.5,
63
+ cy: 23.1,
64
+ fill: "none",
65
+ stroke: "var(--zd_emptysvg_medium_circle)",
66
+ strokeMiterlimit: 10,
67
+ r: 3.5
68
+ }), /*#__PURE__*/_react["default"].createElement("circle", {
69
+ className: "NotImpossible_svg__st2",
70
+ cx: 167.1,
71
+ cy: 21,
72
+ r: 2.1
73
+ }), /*#__PURE__*/_react["default"].createElement("path", {
74
+ className: "NotImpossible_svg__st3",
75
+ d: "M110.7 72.3l-.3 6.1M107.4 75.2l6.3.3"
76
+ }), /*#__PURE__*/_react["default"].createElement("circle", {
77
+ cx: 253.3,
78
+ cy: 145.5,
79
+ fill: "none",
80
+ stroke: "var(--zd_emptysvg_small_circle)",
81
+ strokeLinecap: "round",
82
+ strokeLinejoin: "round",
83
+ r: 2.4
84
+ }), /*#__PURE__*/_react["default"].createElement("path", {
85
+ className: "NotImpossible_svg__st4",
86
+ d: "M134 157.2l4.1 4.6M133.7 161.5l4.7-4.1"
87
+ }), /*#__PURE__*/_react["default"].createElement("circle", {
88
+ cx: 209.7,
89
+ cy: 179.2,
90
+ fill: "#e46370",
91
+ r: 2.1
92
+ }), /*#__PURE__*/_react["default"].createElement("path", {
93
+ d: "M16 140.6s46.9 7 49.7-6.6 30.8-22.5 110.9 10.1c0 0 48-24.1 48-25s-27.6-4.6-42.2 18.4c0 0-62-19.2-73.2-19.2 0 0 39.3-33.4 48.2-32s-31 2.1-55.6 21.6c0 0 52.1 14.2 73.7 24.1 0 0 26.2-23 49.1-17.7 0 0 2.5-.1 1.2-2.7s-27.3-21.3-65.4-25.5c0 0 .2-21.4 14.9-39 0 0-6.7 12.2 3.8 12.3l4.1-.5s-3.2 6.3 2.2 8.4l-.5 2.4s4.4-2.4 5.1.5l5.6-.7s-1.7 2.6-.9 3.8 6.5 3.2 6.5 3.2.3 6.2 1.9 6.5 3.4-1.9 5.1-.7 5.8-2.4 6.7-.5-.4 5.3 2.6 6 2.6 3.3 2.4 6.5 1.7 6.5 4.4 6.5 4.6 4.4 4.6 4.4 11.5-19 44.6-22.4c-20.7-13.7-43.1-24.5-66.7-32.3 0 0-18.6 1.6-42.9 32 0 0 59.6 12.6 66.4 30.6 0 0 0 4.7-2.8 5.8 0 0 9.2-1.8 8.8-6.5s-7.5-4.8.8-11.8 37-8.3 38.8-10.5 0-3.6 0-3.6l6.3 5.9-44.4 15.8s-.6 4.1 3.6 2.9 5.3-13.6 7.5-26.3 7.8-35.8 32.2-40.5c4.2-.7 10.8-.4 17.7 0",
94
+ fill: "none",
95
+ stroke: "var(--zd_emptysvg_primary_stroke)",
96
+ strokeWidth: 0.5,
97
+ strokeLinecap: "round",
98
+ strokeLinejoin: "round"
99
+ }), /*#__PURE__*/_react["default"].createElement("path", {
100
+ d: "M160.3 86.3s1.3-22.4 14.9-39c0 0-8.9 13.1 4.2 16.2 0 0 2.5 4.7 3.7 4.6l1 3.6s3.1-1.9 4.1-.9 2.9.8 4.9.3c0 0-3.2 3.4 6.7 6.9 0 0 .6 7.6 3.8 7.2s3.3-1.9 5.5-.9 3.5-1.3 4.3-.6.3 5.1 3 5.5 2.4 4.1 2.5 9 5.7 3.3 7 4.9 1.3 5.2 1.3 5.2l-1.3 3.4c.2-1.5-31-23.5-65.6-25.4z",
101
+ fill: "var(--zd_emptysvg_secondary_fill)"
102
+ }));
103
+ }
104
+ }]);
105
+
106
+ return NotImpossible;
107
+ }(_react["default"].Component);
108
+
109
+ exports["default"] = NotImpossible;
110
+ NotImpossible.propTypes = {
111
+ alignHorizontal: _propTypes["default"].bool,
112
+ className: _propTypes["default"].string,
113
+ dataId: _propTypes["default"].string,
114
+ isRender: _propTypes["default"].bool,
115
+ palette: _propTypes["default"].oneOf(['default', 'dark'])
116
+ };
117
+ NotImpossible.defaultProps = {
118
+ alignHorizontal: true,
119
+ isRender: true,
120
+ className: '',
121
+ dataId: 'emptyAccounts',
122
+ palette: 'default'
123
+ };
124
+
125
+ if (false) {
126
+ NotImpossible.docs = {
127
+ componentGroup: 'SVG'
128
+ };
129
+ }
@@ -1,83 +1,88 @@
1
- 'use strict';
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;
6
9
 
7
- var _createClass = function () { 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); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
10
+ var _react = _interopRequireDefault(require("react"));
8
11
 
9
- var _react = require('react');
12
+ var _propTypes = _interopRequireDefault(require("prop-types"));
10
13
 
11
- var _react2 = _interopRequireDefault(_react);
14
+ var _SVG = _interopRequireDefault(require("./SVG"));
12
15
 
13
- var _propTypes = require('prop-types');
16
+ var _PageNotFound = _interopRequireDefault(require("./images/PageNotFound.svg"));
14
17
 
15
- var _propTypes2 = _interopRequireDefault(_propTypes);
18
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
16
19
 
17
- var _SVG = require('./SVG');
20
+ 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); }
18
21
 
19
- var _SVG2 = _interopRequireDefault(_SVG);
22
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
20
23
 
21
- var _PageNotFound = require('./images/PageNotFound.svg');
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); } }
22
25
 
23
- var _PageNotFound2 = _interopRequireDefault(_PageNotFound);
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; }
24
27
 
25
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
28
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
29
 
27
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
30
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
+
32
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
33
+
34
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
28
35
 
29
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
36
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
30
37
 
31
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
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; } }
32
39
 
33
- var PageNotFound = function (_React$Component) {
40
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
41
+
42
+ var PageNotFound = /*#__PURE__*/function (_React$Component) {
34
43
  _inherits(PageNotFound, _React$Component);
35
44
 
45
+ var _super = _createSuper(PageNotFound);
46
+
36
47
  function PageNotFound() {
37
48
  _classCallCheck(this, PageNotFound);
38
49
 
39
- return _possibleConstructorReturn(this, (PageNotFound.__proto__ || Object.getPrototypeOf(PageNotFound)).apply(this, arguments));
50
+ return _super.apply(this, arguments);
40
51
  }
41
52
 
42
53
  _createClass(PageNotFound, [{
43
- key: 'render',
54
+ key: "render",
44
55
  value: function render() {
45
- var _props = this.props,
46
- isRender = _props.isRender,
47
- className = _props.className,
48
- alignHorizontal = _props.alignHorizontal,
49
- isFluid = _props.isFluid;
50
-
51
- return _react2.default.createElement(
52
- _SVG2.default,
53
- {
54
- viewBox: '0 0 508.8 324.8',
55
- name: 'PageNotFound',
56
- isRender: isRender,
57
- className: className,
58
- alignHorizontal: alignHorizontal,
59
- isFluid: isFluid
60
- },
61
- _react2.default.createElement('image', { xlinkHref: _PageNotFound2.default, height: '100%', width: '100%' })
62
- );
56
+ var isFluid = this.props.isFluid;
57
+ return /*#__PURE__*/_react["default"].createElement(_SVG["default"], _extends({
58
+ viewBox: "0 0 508.8 324.8",
59
+ name: "PageNotFound"
60
+ }, this.props, {
61
+ isFluid: isFluid
62
+ }), /*#__PURE__*/_react["default"].createElement("image", {
63
+ xlinkHref: _PageNotFound["default"],
64
+ height: "100%",
65
+ width: "100%"
66
+ }));
63
67
  }
64
68
  }]);
65
69
 
66
70
  return PageNotFound;
67
- }(_react2.default.Component);
68
-
69
- exports.default = PageNotFound;
71
+ }(_react["default"].Component);
70
72
 
73
+ exports["default"] = PageNotFound;
71
74
  PageNotFound.propTypes = {
72
- isRender: _propTypes2.default.bool,
73
- alignHorizontal: _propTypes2.default.bool,
74
- className: _propTypes2.default.string,
75
- isFluid: _propTypes2.default.bool
75
+ alignHorizontal: _propTypes["default"].bool,
76
+ className: _propTypes["default"].string,
77
+ dataId: _propTypes["default"].string,
78
+ isFluid: _propTypes["default"].bool,
79
+ isRender: _propTypes["default"].bool
76
80
  };
77
81
  PageNotFound.defaultProps = {
78
- isRender: true,
79
82
  alignHorizontal: true,
80
- className: ''
83
+ isRender: true,
84
+ className: '',
85
+ dataId: 'pageNotFound'
81
86
  };
82
87
 
83
88
  if (false) {
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+
10
+ var _react = _interopRequireDefault(require("react"));
11
+
12
+ var _propTypes = _interopRequireDefault(require("prop-types"));
13
+
14
+ var _SVG = _interopRequireDefault(require("./SVG"));
15
+
16
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
+
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); }
19
+
20
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
21
+
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); } }
23
+
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; }
25
+
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
+
28
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
+
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); }; }
31
+
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); }
33
+
34
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
35
+
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; } }
37
+
38
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
39
+
40
+ var Predictor = /*#__PURE__*/function (_React$Component) {
41
+ _inherits(Predictor, _React$Component);
42
+
43
+ var _super = _createSuper(Predictor);
44
+
45
+ function Predictor() {
46
+ _classCallCheck(this, Predictor);
47
+
48
+ return _super.apply(this, arguments);
49
+ }
50
+
51
+ _createClass(Predictor, [{
52
+ key: "render",
53
+ value: function render() {
54
+ return /*#__PURE__*/_react["default"].createElement(_SVG["default"], _extends({
55
+ viewBox: "0 0 200 200",
56
+ name: "predictor"
57
+ }, this.props), /*#__PURE__*/_react["default"].createElement("style", null, ".Predictor_svg__st0{fill:none}.Predictor_svg__st1{opacity:.1;fill:var(--zd_emptysvg_primary_fill);enable-background:new}.Predictor_svg__st2{fill:var(--zd_emptysvg_plus)}.Predictor_svg__st3{fill:var(--zd_emptysvg_medium_circle)}.Predictor_svg__st4{fill:var(--zd_emptysvg_cross)}"), /*#__PURE__*/_react["default"].createElement("path", {
58
+ className: "Predictor_svg__st0",
59
+ d: "M0 0h200v200H0z"
60
+ }), /*#__PURE__*/_react["default"].createElement("path", {
61
+ className: "Predictor_svg__st0",
62
+ d: "M10 22h180v160H10z"
63
+ }), /*#__PURE__*/_react["default"].createElement("path", {
64
+ className: "Predictor_svg__st1",
65
+ d: "M80.2 58.2s46.7-31.2 70.3-21.8 39.7 88.3-25.9 123.7c-65.6 35.4-95.4-41.6-95.7-55.2-.2-13.3 0-44.7 51.3-46.7z"
66
+ }), /*#__PURE__*/_react["default"].createElement("path", {
67
+ className: "Predictor_svg__st2",
68
+ d: "M14 119.3s-.1 0 0 0c-.3 0-.5-.3-.5-.5l.4-7.5c0-.3.2-.5.5-.5s.5.2.5.5l-.4 7.5c-.1.3-.3.5-.5.5z"
69
+ }), /*#__PURE__*/_react["default"].createElement("path", {
70
+ className: "Predictor_svg__st2",
71
+ d: "M17.8 115.8l-7.4-.4c-.3 0-.5-.3-.5-.5 0-.3.3-.5.5-.5l7.3.4c.3 0 .5.3.5.5.1.3-.1.5-.4.5z"
72
+ }), /*#__PURE__*/_react["default"].createElement("path", {
73
+ className: "Predictor_svg__st3",
74
+ d: "M171.2 22.8c-2.6 0-4.7 2.1-4.7 4.7s2.1 4.7 4.7 4.7 4.7-2.1 4.7-4.7-2.2-4.7-4.7-4.7zm0 8.5c-2 0-3.7-1.7-3.7-3.8s1.7-3.8 3.7-3.8 3.7 1.7 3.7 3.8-1.7 3.8-3.7 3.8zM124.4 175.1c-1.9 0-3.4 1.5-3.4 3.4s1.5 3.4 3.4 3.4 3.4-1.5 3.4-3.4c0-1.8-1.5-3.4-3.4-3.4zm0 5.9c-1.3 0-2.4-1.1-2.4-2.5s1.1-2.5 2.4-2.5c1.3 0 2.4 1.1 2.4 2.5s-1.1 2.5-2.4 2.5z"
75
+ }), /*#__PURE__*/_react["default"].createElement("path", {
76
+ className: "Predictor_svg__st4",
77
+ d: "M80.9 22c-1.7 0-3 1.4-3 3s1.3 3 3 3 3-1.4 3-3-1.3-3-3-3zm0 5.1c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM189.8 131.8c-.2-.2-.5-.2-.7 0l-2.4 2.2-2.1-2.4c-.2-.2-.5-.2-.7 0-.2.2-.2.5 0 .7l2.1 2.4-2.4 2.2c-.2.2-.2.5 0 .7.1.1.2.2.4.2.1 0 .2 0 .3-.1l2.4-2.2 2.1 2.4c.1.1.2.2.4.2.1 0 .2 0 .3-.1.2-.2.2-.5 0-.7l-2.1-2.4 2.4-2.2c.2-.3.2-.7 0-.9z"
78
+ }), /*#__PURE__*/_react["default"].createElement("path", {
79
+ className: "Predictor_svg__st1",
80
+ d: "M115.8 67S78.5 42.1 59.6 49.6s-31.8 70.6 20.7 98.9c52.5 28.3 76.3-33.3 76.5-44.2.2-10.6 0-35.8-41-37.3z"
81
+ }), /*#__PURE__*/_react["default"].createElement("path", {
82
+ className: "Predictor_svg__st0",
83
+ d: "M3 36h193.5v127.5H3z"
84
+ }), /*#__PURE__*/_react["default"].createElement("path", {
85
+ d: "M65.5 111.2c.1-13.7-12.5-6.1-16.6-10.7-6.2-6.9-10.7-17.4 2.7-28.3 23.1-18.7 64.2-21.7 72.7 19S75 152 61.8 133.7c-5-6.9 3.7-18.6 3.7-22.5z",
86
+ fill: "var(--zd_emptysvg_secondary_fill)"
87
+ }), /*#__PURE__*/_react["default"].createElement("path", {
88
+ d: "M196 117.3s-24.5-5.4-29.3-2.1c-4.8 3.3-18.4 0-24.5 1.5-6 1.5-17.5 3.3-17.5 3.3M3.5 38.8s28.6 0 38.7 4S70.6 31 74.6 38.5 63.3 54.1 53.5 51.2c-9.8-2.9 33 3.8 38.2 11 5.2 7.2-5.8 6.6-9.8 5.2s-21.7-5.5-26.6-2S70.5 77.4 75 88c4.6 10.6-5 5.1-5.8 4.7-.8-.4-23.4-19.9-22.9-18.4s17.1 24 17.3 25.9c.2 1.9-1.9 7.9-7.2 3.9-5.2-3.9-21.3-23.1-20.8-24.3.5-1.2 4.8 3.8 4.8 16.1s-2.5 17.7-5.6 15.3c-3.1-2.4-5-28.4-9.8-32.2S9 63.7 3.5 63.5m38 41.6s5.2 31.4 31 35.3c24.7 3.8 35.6-6 35.6-6l.2 6.4s-21.9 11.9-51.9-.5l.5 7.2s26.5 13.8 62.8-1.2l.1 8.4s-24 17.8-70 .9c0 0-.6-9.9.2-10.1s3.2-2.8 5.3-2.7c0 0-.1-5.2 5.5-5.9 0 0 18.7 13 45.9.9 6.8-3 11.4-9.5 14.5-17.6 0 0-4.3-3.2-1.2-6.6 3.1-3.3 25.3-5 25.2-9.3-.1-4.3-36.2 3.1-37.8.3-1.7-2.8-2.1-8.3 3.1-9.2 0 0 33.3-8.2 33.5-6 .3 2.3-22.8-4.8-32.5-1.8-9.6 3-16-4.5-10.8-8.1 0 0 8.5-.9 11.3-2.3 2.7-1.4 26.8.6 27.3.7.6.1-23-2.6-23-2.6s-11.4 3.3-13.6 2c-2.2-1.3-3-5.8.6-6.8s8.5-1 8.5-1-10.7-9.4-20.4-10.1c0 0 11.4.3 25.2 9.7l11.7-.7s14.6 1.4 17.1 4.2c2.5 2.7 19.5 13.9 25.3 13.9s8.8.6 8.8.6",
89
+ fill: "none",
90
+ stroke: "var(--zd_emptysvg_primary_stroke)",
91
+ strokeLinecap: "round",
92
+ strokeLinejoin: "round",
93
+ strokeMiterlimit: 10
94
+ }));
95
+ }
96
+ }]);
97
+
98
+ return Predictor;
99
+ }(_react["default"].Component);
100
+
101
+ exports["default"] = Predictor;
102
+ Predictor.propTypes = {
103
+ alignHorizontal: _propTypes["default"].bool,
104
+ className: _propTypes["default"].string,
105
+ dataId: _propTypes["default"].string,
106
+ isRender: _propTypes["default"].bool,
107
+ size: _propTypes["default"].oneOf(['small', 'large']),
108
+ palette: _propTypes["default"].oneOf(['default', 'dark'])
109
+ };
110
+ Predictor.defaultProps = {
111
+ size: 'large',
112
+ alignHorizontal: true,
113
+ isRender: true,
114
+ className: '',
115
+ dataId: 'predictor',
116
+ palette: 'default'
117
+ };
118
+
119
+ if (false) {
120
+ Predictor.docs = {
121
+ componentGroup: 'SVG'
122
+ };
123
+ }
package/lib/svg/SVG.js CHANGED
@@ -1,119 +1,126 @@
1
- 'use strict';
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;
6
9
 
7
- var _createClass = function () { 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); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
10
+ var _react = _interopRequireDefault(require("react"));
8
11
 
9
- var _react = require('react');
12
+ var _propTypes = _interopRequireDefault(require("prop-types"));
10
13
 
11
- var _react2 = _interopRequireDefault(_react);
14
+ var _SVGModule = _interopRequireDefault(require("./SVG.module.css"));
12
15
 
13
- var _propTypes = require('prop-types');
16
+ var _EmptyStateVariablesModule = _interopRequireDefault(require("./EmptyStateVariables.module.css"));
14
17
 
15
- var _propTypes2 = _interopRequireDefault(_propTypes);
18
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
16
19
 
17
- var _SVGModule = require('./SVG.module.css');
20
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
18
21
 
19
- var _SVGModule2 = _interopRequireDefault(_SVGModule);
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); } }
20
23
 
21
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
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; }
22
25
 
23
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
+
28
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
+
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); }; }
24
31
 
25
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
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); }
26
33
 
27
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
34
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
28
35
 
29
- var SVG = function (_React$Component) {
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; } }
37
+
38
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
39
+
40
+ var SVG = /*#__PURE__*/function (_React$Component) {
30
41
  _inherits(SVG, _React$Component);
31
42
 
43
+ var _super = _createSuper(SVG);
44
+
32
45
  function SVG() {
33
46
  _classCallCheck(this, SVG);
34
47
 
35
- return _possibleConstructorReturn(this, (SVG.__proto__ || Object.getPrototypeOf(SVG)).apply(this, arguments));
48
+ return _super.apply(this, arguments);
36
49
  }
37
50
 
38
51
  _createClass(SVG, [{
39
- key: 'render',
52
+ key: "render",
40
53
  value: function render() {
41
- var _props = this.props,
42
- viewBox = _props.viewBox,
43
- children = _props.children,
44
- name = _props.name,
45
- isRender = _props.isRender,
46
- isSymbol = _props.isSymbol,
47
- size = _props.size,
48
- className = _props.className,
49
- alignHorizontal = _props.alignHorizontal,
50
- isFluid = _props.isFluid;
51
-
52
- return _react2.default.createElement(
53
- _react2.default.Fragment,
54
- null,
55
- isSymbol ? _react2.default.createElement(
56
- 'div',
57
- { hidden: true },
58
- _react2.default.createElement(
59
- 'svg',
60
- null,
61
- _react2.default.createElement(
62
- 'symbol',
63
- { id: name, viewBox: viewBox },
64
- children
65
- )
66
- )
67
- ) : null,
68
- isRender && isSymbol ? _react2.default.createElement(
69
- 'div',
70
- {
71
- className: (size === 'large' ? _SVGModule2.default.large : size === 'small' ? _SVGModule2.default.small : isFluid ? _SVGModule2.default.cover : '') + ' ' + className + ' ' + (alignHorizontal ? _SVGModule2.default.svgCenter : '') + ' '
72
- },
73
- _react2.default.createElement(
74
- 'svg',
75
- { height: '100%', width: '100%' },
76
- _react2.default.createElement('use', { xlinkHref: '#' + name })
77
- )
78
- ) : isRender ? _react2.default.createElement(
79
- 'div',
80
- {
81
- className: (size === 'large' ? _SVGModule2.default.large : size === 'small' ? _SVGModule2.default.small : isFluid ? _SVGModule2.default.cover : '') + ' ' + className + ' ' + (alignHorizontal ? _SVGModule2.default.svgCenter : '') + ' '
82
- },
83
- _react2.default.createElement(
84
- 'svg',
85
- { height: '100%', width: '100%', viewBox: viewBox },
86
- children
87
- )
88
- ) : null
89
- );
54
+ var _this$props = this.props,
55
+ viewBox = _this$props.viewBox,
56
+ children = _this$props.children,
57
+ name = _this$props.name,
58
+ isRender = _this$props.isRender,
59
+ isSymbol = _this$props.isSymbol,
60
+ size = _this$props.size,
61
+ className = _this$props.className,
62
+ alignHorizontal = _this$props.alignHorizontal,
63
+ isFluid = _this$props.isFluid,
64
+ dataId = _this$props.dataId,
65
+ palette = _this$props.palette,
66
+ styleName = _this$props.styleName;
67
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, isSymbol ? /*#__PURE__*/_react["default"].createElement("div", {
68
+ hidden: true
69
+ }, /*#__PURE__*/_react["default"].createElement("svg", null, /*#__PURE__*/_react["default"].createElement("symbol", {
70
+ id: name,
71
+ viewBox: viewBox
72
+ }, children))) : null, isRender && isSymbol ? /*#__PURE__*/_react["default"].createElement("div", {
73
+ className: "".concat(size === 'large' ? _SVGModule["default"].large : size === 'small' ? _SVGModule["default"].small : isFluid ? _SVGModule["default"].cover : '', " ").concat(className, " ").concat(_EmptyStateVariablesModule["default"][palette], " ").concat(alignHorizontal ? _SVGModule["default"].svgCenter : '', " "),
74
+ "aria-hidden": "true"
75
+ }, /*#__PURE__*/_react["default"].createElement("svg", {
76
+ height: "100%",
77
+ width: "100%",
78
+ "data-id": dataId
79
+ }, /*#__PURE__*/_react["default"].createElement("use", {
80
+ xlinkHref: "#".concat(name)
81
+ }))) : isRender ? /*#__PURE__*/_react["default"].createElement("div", {
82
+ className: "".concat(size === 'large' ? _SVGModule["default"].large : size === 'small' ? _SVGModule["default"].small : isFluid ? _SVGModule["default"].cover : '', " ").concat(className, " ").concat(_EmptyStateVariablesModule["default"][palette], " ").concat(alignHorizontal ? _SVGModule["default"].svgCenter : '', " "),
83
+ "aria-hidden": "true"
84
+ }, /*#__PURE__*/_react["default"].createElement("svg", {
85
+ height: "100%",
86
+ width: "100%",
87
+ viewBox: viewBox,
88
+ "data-id": dataId,
89
+ style: styleName
90
+ }, children)) : null);
90
91
  }
91
92
  }]);
92
93
 
93
94
  return SVG;
94
- }(_react2.default.Component);
95
-
96
- exports.default = SVG;
95
+ }(_react["default"].Component);
97
96
 
97
+ exports["default"] = SVG;
98
+ SVG.propTypes = {
99
+ alignHorizontal: _propTypes["default"].bool,
100
+ children: _propTypes["default"].node,
101
+ className: _propTypes["default"].string,
102
+ dataId: _propTypes["default"].string,
103
+ isFluid: _propTypes["default"].bool,
104
+ isRender: _propTypes["default"].bool,
105
+ isSymbol: _propTypes["default"].bool,
106
+ name: _propTypes["default"].string,
107
+ size: _propTypes["default"].oneOf(['small', 'large']),
108
+ viewBox: _propTypes["default"].string,
109
+ palette: _propTypes["default"].oneOf(['default', 'dark']),
110
+ styleName: _propTypes["default"].node
111
+ };
98
112
  SVG.defaultProps = {
113
+ alignHorizontal: true,
114
+ isRender: true,
115
+ className: '',
116
+ dataId: 'SVG',
99
117
  name: '',
100
118
  viewBox: '',
101
- isRender: true,
102
119
  isSymbol: false,
103
- className: '',
104
- isFluid: false
105
- };
106
- SVG.propTypes = {
107
- children: _propTypes2.default.node,
108
- isRender: _propTypes2.default.bool,
109
- isSymbol: _propTypes2.default.bool,
110
- name: _propTypes2.default.string,
111
- viewBox: _propTypes2.default.string,
112
- size: _propTypes2.default.oneOf('small', 'large'),
113
- className: _propTypes2.default.string,
114
- alignHorizontal: _propTypes2.default.bool,
115
- isFluid: _propTypes2.default.bool
120
+ isFluid: false,
121
+ palette: 'default'
116
122
  };
123
+
117
124
  if (false) {
118
125
  SVG.docs = {
119
126
  componentGroup: 'SVG'
@@ -2,8 +2,8 @@
2
2
  height: 100%;
3
3
  }
4
4
  .large {
5
- height: var(--zd_size150);
6
- width: var(--zd_size150);
5
+ height: var(--zd_size160);
6
+ width: var(--zd_size160);
7
7
  }
8
8
  .small {
9
9
  height: var(--zd_size130);
@@ -17,3 +17,10 @@
17
17
  height: var(--zd_size40);
18
18
  width: var(--zd_size40);
19
19
  }
20
+ .center {
21
+ height: 100%;
22
+ width: 100%;
23
+ display: flex;
24
+ align-items: center;
25
+ justify-content: center;
26
+ }