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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (363) hide show
  1. package/README.md +146 -1
  2. package/assets/Appearance/dark/mode/darkEmptyStates.module.css +37 -0
  3. package/assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +10 -0
  4. package/assets/Appearance/dark/themes/green/greenDarkCTATheme.module.css +10 -0
  5. package/assets/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +10 -0
  6. package/assets/Appearance/dark/themes/red/redDarkCTATheme.module.css +10 -0
  7. package/assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +10 -0
  8. package/assets/Appearance/default/mode/defaultEmptyStates.module.css +37 -0
  9. package/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +10 -0
  10. package/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css +10 -0
  11. package/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +10 -0
  12. package/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css +10 -0
  13. package/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +10 -0
  14. package/es/Provider.js +140 -0
  15. package/es/index.js +5 -2
  16. package/es/svg/EmptyAccounts.js +84 -40
  17. package/es/svg/EmptyActiveCalls.js +55 -47
  18. package/es/svg/EmptyActivity.js +55 -42
  19. package/es/svg/EmptyAgent.js +55 -39
  20. package/es/svg/EmptyAgentQueue.js +78 -0
  21. package/es/svg/EmptyApproval.js +78 -0
  22. package/es/svg/EmptyArchived.js +64 -39
  23. package/es/svg/EmptyAttach.js +55 -39
  24. package/es/svg/EmptyBlueprint.js +70 -39
  25. package/es/svg/EmptyBusinessHoliday.js +21 -38
  26. package/es/svg/EmptyBusinessHour.js +21 -38
  27. package/es/svg/EmptyCallHistory.js +57 -47
  28. package/es/svg/EmptyCollision.js +72 -0
  29. package/es/svg/EmptyColumn.js +78 -0
  30. package/es/svg/EmptyContact.js +55 -40
  31. package/es/svg/EmptyContract.js +68 -0
  32. package/es/svg/EmptyConversation.js +55 -39
  33. package/es/svg/EmptyCrm.js +72 -0
  34. package/es/svg/EmptyCrmNotes.js +83 -0
  35. package/es/svg/EmptyCrmPotential.js +86 -0
  36. package/es/svg/EmptyCustomDomain.js +39 -0
  37. package/es/svg/EmptyDashboard.js +62 -40
  38. package/es/svg/EmptyDepartment.js +72 -0
  39. package/es/svg/EmptyError.js +94 -0
  40. package/es/svg/EmptyFeed.js +75 -0
  41. package/es/svg/EmptyFollowers.js +73 -0
  42. package/es/svg/EmptyFrame.js +71 -0
  43. package/es/svg/EmptyFromAddress.js +21 -38
  44. package/es/svg/EmptyHappiness.js +55 -39
  45. package/es/svg/EmptyHistory.js +55 -46
  46. package/es/svg/EmptyImportHistory.js +21 -38
  47. package/es/svg/EmptyInconvenience.js +42 -0
  48. package/es/svg/EmptyInvoice.js +60 -39
  49. package/es/svg/EmptyNetwork.js +21 -38
  50. package/es/svg/EmptyNotification.js +55 -39
  51. package/es/svg/EmptyProducts.js +58 -39
  52. package/es/svg/EmptyRecycleBin.js +21 -38
  53. package/es/svg/EmptyReply.js +67 -0
  54. package/es/svg/EmptyReports.js +61 -39
  55. package/es/svg/EmptyRoles.js +21 -38
  56. package/es/svg/EmptySchedule.js +114 -0
  57. package/es/svg/EmptySearch.js +65 -39
  58. package/es/svg/EmptySkills.js +103 -45
  59. package/es/svg/EmptySla.js +67 -0
  60. package/es/svg/EmptySnippet.js +67 -47
  61. package/es/svg/EmptyStateVariables.module.css +39 -0
  62. package/es/svg/EmptyTag.js +58 -39
  63. package/es/svg/EmptyTask.js +71 -39
  64. package/es/svg/EmptyTeams.js +55 -39
  65. package/es/svg/EmptyTemplate.js +67 -40
  66. package/es/svg/EmptyTicket.js +58 -39
  67. package/es/svg/EmptyTimeEntry.js +61 -39
  68. package/es/svg/EmptyTimeline.js +72 -0
  69. package/es/svg/EmptyTopic.js +61 -39
  70. package/es/svg/EmptyUnauthorizedLogin.js +47 -0
  71. package/es/svg/EmptyWebhook.js +21 -38
  72. package/es/svg/EmptyWillBeRightBack.js +42 -0
  73. package/es/svg/ErrorInconvenience.js +113 -0
  74. package/es/svg/ErrorOopsSomethingMiss.js +114 -0
  75. package/es/svg/ErrorUnableToProcessRequest.js +114 -0
  76. package/es/svg/ErrorUnauthorizedLogin.js +113 -0
  77. package/es/svg/ErrorUrlNotFound.js +114 -0
  78. package/es/svg/ErrorWillBeRightBack.js +113 -0
  79. package/es/svg/Extensions.js +73 -0
  80. package/es/svg/Extractor.js +66 -0
  81. package/es/svg/FailureLog.js +21 -38
  82. package/es/svg/Import.js +82 -0
  83. package/es/svg/Loader.js +55 -34
  84. package/es/svg/NoRequestFound.js +22 -45
  85. package/es/svg/NotImpossible.js +79 -0
  86. package/es/svg/PageNotFound.js +24 -46
  87. package/es/svg/Predictor.js +73 -0
  88. package/es/svg/SVG.js +61 -85
  89. package/es/svg/SVG.module.css +9 -2
  90. package/es/svg/SvgLoader.js +28 -0
  91. package/es/svg/UnableToProcessRequest.js +24 -46
  92. package/es/svg/UnauthorizedLogin.js +23 -45
  93. package/es/svg/UrlNotFound.js +25 -47
  94. package/es/svg/WillBeRightBack.js +25 -47
  95. package/es/svg/ZiaAnamoly.js +67 -0
  96. package/es/svg/images/EmptyCustomDomain.svg +85 -0
  97. package/es/svg/images/EmptySkills.svg +75 -67
  98. package/es/svg/utils.js +14 -0
  99. package/lib/Provider.js +213 -0
  100. package/lib/index.js +48 -27
  101. package/lib/svg/EmptyAccounts.js +108 -36
  102. package/lib/svg/EmptyActiveCalls.js +79 -43
  103. package/lib/svg/EmptyActivity.js +79 -38
  104. package/lib/svg/EmptyAgent.js +79 -35
  105. package/lib/svg/EmptyAgentQueue.js +128 -0
  106. package/lib/svg/EmptyApproval.js +128 -0
  107. package/lib/svg/EmptyArchived.js +88 -35
  108. package/lib/svg/EmptyAttach.js +79 -35
  109. package/lib/svg/EmptyBlueprint.js +94 -35
  110. package/lib/svg/EmptyBusinessHoliday.js +47 -35
  111. package/lib/svg/EmptyBusinessHour.js +47 -35
  112. package/lib/svg/EmptyCallHistory.js +81 -43
  113. package/lib/svg/EmptyCollision.js +122 -0
  114. package/lib/svg/EmptyColumn.js +128 -0
  115. package/lib/svg/EmptyContact.js +79 -36
  116. package/lib/svg/EmptyContract.js +118 -0
  117. package/lib/svg/EmptyConversation.js +79 -35
  118. package/lib/svg/EmptyCrm.js +122 -0
  119. package/lib/svg/EmptyCrmNotes.js +133 -0
  120. package/lib/svg/EmptyCrmPotential.js +136 -0
  121. package/lib/svg/EmptyCustomDomain.js +90 -0
  122. package/lib/svg/EmptyDashboard.js +86 -36
  123. package/lib/svg/EmptyDepartment.js +122 -0
  124. package/lib/svg/EmptyError.js +144 -0
  125. package/lib/svg/EmptyFeed.js +125 -0
  126. package/lib/svg/EmptyFollowers.js +123 -0
  127. package/lib/svg/EmptyFrame.js +121 -0
  128. package/lib/svg/EmptyFromAddress.js +47 -35
  129. package/lib/svg/EmptyHappiness.js +79 -35
  130. package/lib/svg/EmptyHistory.js +79 -42
  131. package/lib/svg/EmptyImportHistory.js +47 -35
  132. package/lib/svg/EmptyInconvenience.js +91 -0
  133. package/lib/svg/EmptyInvoice.js +84 -35
  134. package/lib/svg/EmptyNetwork.js +47 -35
  135. package/lib/svg/EmptyNotification.js +79 -35
  136. package/lib/svg/EmptyProducts.js +82 -35
  137. package/lib/svg/EmptyRecycleBin.js +47 -35
  138. package/lib/svg/EmptyReply.js +117 -0
  139. package/lib/svg/EmptyReports.js +85 -35
  140. package/lib/svg/EmptyRoles.js +47 -35
  141. package/lib/svg/EmptySchedule.js +164 -0
  142. package/lib/svg/EmptySearch.js +89 -35
  143. package/lib/svg/EmptySkills.js +127 -41
  144. package/lib/svg/EmptySla.js +117 -0
  145. package/lib/svg/EmptySnippet.js +98 -50
  146. package/lib/svg/EmptyStateVariables.module.css +39 -0
  147. package/lib/svg/EmptyTag.js +82 -35
  148. package/lib/svg/EmptyTask.js +95 -35
  149. package/lib/svg/EmptyTeams.js +79 -35
  150. package/lib/svg/EmptyTemplate.js +91 -36
  151. package/lib/svg/EmptyTicket.js +82 -35
  152. package/lib/svg/EmptyTimeEntry.js +85 -35
  153. package/lib/svg/EmptyTimeline.js +122 -0
  154. package/lib/svg/EmptyTopic.js +85 -35
  155. package/lib/svg/EmptyUnauthorizedLogin.js +97 -0
  156. package/lib/svg/EmptyWebhook.js +47 -35
  157. package/lib/svg/EmptyWillBeRightBack.js +92 -0
  158. package/lib/svg/ErrorInconvenience.js +163 -0
  159. package/lib/svg/ErrorOopsSomethingMiss.js +164 -0
  160. package/lib/svg/ErrorUnableToProcessRequest.js +164 -0
  161. package/lib/svg/ErrorUnauthorizedLogin.js +163 -0
  162. package/lib/svg/ErrorUrlNotFound.js +164 -0
  163. package/lib/svg/ErrorWillBeRightBack.js +163 -0
  164. package/lib/svg/Extensions.js +123 -0
  165. package/lib/svg/Extractor.js +116 -0
  166. package/lib/svg/FailureLog.js +47 -35
  167. package/lib/svg/Import.js +132 -0
  168. package/lib/svg/Loader.js +77 -33
  169. package/lib/svg/NoRequestFound.js +47 -43
  170. package/lib/svg/NotImpossible.js +129 -0
  171. package/lib/svg/PageNotFound.js +49 -44
  172. package/lib/svg/Predictor.js +123 -0
  173. package/lib/svg/SVG.js +88 -81
  174. package/lib/svg/SVG.module.css +9 -2
  175. package/lib/svg/SvgLoader.js +66 -0
  176. package/lib/svg/UnableToProcessRequest.js +48 -43
  177. package/lib/svg/UnauthorizedLogin.js +48 -43
  178. package/lib/svg/UrlNotFound.js +49 -44
  179. package/lib/svg/WillBeRightBack.js +49 -44
  180. package/lib/svg/ZiaAnamoly.js +117 -0
  181. package/lib/svg/images/EmptyCustomDomain.svg +85 -0
  182. package/lib/svg/images/EmptySkills.svg +75 -67
  183. package/lib/svg/utils.js +26 -0
  184. package/package.json +26 -14
  185. package/.DS_Store +0 -0
  186. package/es/svg/EmptyCloud.js +0 -55
  187. package/es/svg/EmptyCloudDanger.js +0 -131
  188. package/es/svg/EmptyEdition.js +0 -56
  189. package/es/svg/Inconvenience.js +0 -65
  190. package/es/svg/InvalidUrl.js +0 -780
  191. package/es/svg/SitBack.js +0 -54
  192. package/es/svg/docs/SVG__default.docs.js +0 -605
  193. package/es/svg/images/EmptyAccounts.svg +0 -55
  194. package/es/svg/images/EmptyActiveCalls.svg +0 -57
  195. package/es/svg/images/EmptyActivity.svg +0 -85
  196. package/es/svg/images/EmptyAgent.svg +0 -52
  197. package/es/svg/images/EmptyArchived.svg +0 -38
  198. package/es/svg/images/EmptyAttach.svg +0 -39
  199. package/es/svg/images/EmptyBlueprint.svg +0 -78
  200. package/es/svg/images/EmptyCallHistory.svg +0 -46
  201. package/es/svg/images/EmptyCloud.svg +0 -38
  202. package/es/svg/images/EmptyContact.svg +0 -33
  203. package/es/svg/images/EmptyConversation.svg +0 -38
  204. package/es/svg/images/EmptyDashboard.svg +0 -42
  205. package/es/svg/images/EmptyEdition.svg +0 -76
  206. package/es/svg/images/EmptyHappiness.svg +0 -58
  207. package/es/svg/images/EmptyHistory.svg +0 -44
  208. package/es/svg/images/EmptyInvoice.svg +0 -45
  209. package/es/svg/images/EmptyNotification.svg +0 -38
  210. package/es/svg/images/EmptyProducts.svg +0 -57
  211. package/es/svg/images/EmptyReports.svg +0 -39
  212. package/es/svg/images/EmptySearch.svg +0 -37
  213. package/es/svg/images/EmptySnippet.svg +0 -46
  214. package/es/svg/images/EmptyTag.svg +0 -43
  215. package/es/svg/images/EmptyTask.svg +0 -42
  216. package/es/svg/images/EmptyTeams.svg +0 -39
  217. package/es/svg/images/EmptyTemplate.svg +0 -39
  218. package/es/svg/images/EmptyTicket.svg +0 -33
  219. package/es/svg/images/EmptyTimeEntry.svg +0 -96
  220. package/es/svg/images/EmptyTopic.svg +0 -41
  221. package/es/svg/images/Loader.svg +0 -62
  222. package/es/svg/images/SitBack.svg +0 -464
  223. package/lib/svg/EmptyCloud.js +0 -77
  224. package/lib/svg/EmptyCloudDanger.js +0 -147
  225. package/lib/svg/EmptyEdition.js +0 -78
  226. package/lib/svg/Inconvenience.js +0 -87
  227. package/lib/svg/InvalidUrl.js +0 -799
  228. package/lib/svg/SitBack.js +0 -76
  229. package/lib/svg/docs/SVG__default.docs.js +0 -765
  230. package/lib/svg/images/EmptyAccounts.svg +0 -55
  231. package/lib/svg/images/EmptyActiveCalls.svg +0 -57
  232. package/lib/svg/images/EmptyActivity.svg +0 -85
  233. package/lib/svg/images/EmptyAgent.svg +0 -52
  234. package/lib/svg/images/EmptyArchived.svg +0 -38
  235. package/lib/svg/images/EmptyAttach.svg +0 -39
  236. package/lib/svg/images/EmptyBlueprint.svg +0 -78
  237. package/lib/svg/images/EmptyCallHistory.svg +0 -46
  238. package/lib/svg/images/EmptyCloud.svg +0 -38
  239. package/lib/svg/images/EmptyContact.svg +0 -33
  240. package/lib/svg/images/EmptyConversation.svg +0 -38
  241. package/lib/svg/images/EmptyDashboard.svg +0 -42
  242. package/lib/svg/images/EmptyEdition.svg +0 -76
  243. package/lib/svg/images/EmptyHappiness.svg +0 -58
  244. package/lib/svg/images/EmptyHistory.svg +0 -44
  245. package/lib/svg/images/EmptyInvoice.svg +0 -45
  246. package/lib/svg/images/EmptyNotification.svg +0 -38
  247. package/lib/svg/images/EmptyProducts.svg +0 -57
  248. package/lib/svg/images/EmptyReports.svg +0 -39
  249. package/lib/svg/images/EmptySearch.svg +0 -37
  250. package/lib/svg/images/EmptySnippet.svg +0 -46
  251. package/lib/svg/images/EmptyTag.svg +0 -43
  252. package/lib/svg/images/EmptyTask.svg +0 -42
  253. package/lib/svg/images/EmptyTeams.svg +0 -39
  254. package/lib/svg/images/EmptyTemplate.svg +0 -39
  255. package/lib/svg/images/EmptyTicket.svg +0 -33
  256. package/lib/svg/images/EmptyTimeEntry.svg +0 -96
  257. package/lib/svg/images/EmptyTopic.svg +0 -41
  258. package/lib/svg/images/Loader.svg +0 -62
  259. package/lib/svg/images/SitBack.svg +0 -464
  260. package/src/.DS_Store +0 -0
  261. package/src/index.js +0 -6
  262. package/src/svg/.DS_Store +0 -0
  263. package/src/svg/EmptyAccounts.js +0 -30
  264. package/src/svg/EmptyActiveCalls.js +0 -36
  265. package/src/svg/EmptyActivity.js +0 -31
  266. package/src/svg/EmptyAgent.js +0 -29
  267. package/src/svg/EmptyArchived.js +0 -28
  268. package/src/svg/EmptyAttach.js +0 -29
  269. package/src/svg/EmptyBlueprint.js +0 -29
  270. package/src/svg/EmptyBusinessHoliday.js +0 -29
  271. package/src/svg/EmptyBusinessHour.js +0 -29
  272. package/src/svg/EmptyCallHistory.js +0 -36
  273. package/src/svg/EmptyCloud.js +0 -28
  274. package/src/svg/EmptyCloudDanger.js +0 -104
  275. package/src/svg/EmptyContact.js +0 -30
  276. package/src/svg/EmptyConversation.js +0 -29
  277. package/src/svg/EmptyDashboard.js +0 -29
  278. package/src/svg/EmptyEdition.js +0 -29
  279. package/src/svg/EmptyFromAddress.js +0 -29
  280. package/src/svg/EmptyHappiness.js +0 -29
  281. package/src/svg/EmptyHistory.js +0 -36
  282. package/src/svg/EmptyImportHistory.js +0 -29
  283. package/src/svg/EmptyInvoice.js +0 -29
  284. package/src/svg/EmptyNetwork.js +0 -29
  285. package/src/svg/EmptyNotification.js +0 -29
  286. package/src/svg/EmptyProducts.js +0 -29
  287. package/src/svg/EmptyRecycleBin.js +0 -29
  288. package/src/svg/EmptyReports.js +0 -29
  289. package/src/svg/EmptyRoles.js +0 -29
  290. package/src/svg/EmptySearch.js +0 -29
  291. package/src/svg/EmptySkills.js +0 -35
  292. package/src/svg/EmptySnippet.js +0 -35
  293. package/src/svg/EmptyTag.js +0 -29
  294. package/src/svg/EmptyTask.js +0 -29
  295. package/src/svg/EmptyTeams.js +0 -29
  296. package/src/svg/EmptyTemplate.js +0 -30
  297. package/src/svg/EmptyTicket.js +0 -29
  298. package/src/svg/EmptyTimeEntry.js +0 -29
  299. package/src/svg/EmptyTopic.js +0 -29
  300. package/src/svg/EmptyWebhook.js +0 -29
  301. package/src/svg/FailureLog.js +0 -29
  302. package/src/svg/Inconvenience.js +0 -38
  303. package/src/svg/InvalidUrl.js +0 -755
  304. package/src/svg/Loader.js +0 -27
  305. package/src/svg/NoRequestFound.js +0 -38
  306. package/src/svg/PageNotFound.js +0 -38
  307. package/src/svg/SVG.js +0 -88
  308. package/src/svg/SVG.module.css +0 -19
  309. package/src/svg/SitBack.js +0 -29
  310. package/src/svg/UnableToProcessRequest.js +0 -38
  311. package/src/svg/UnauthorizedLogin.js +0 -38
  312. package/src/svg/UrlNotFound.js +0 -38
  313. package/src/svg/WillBeRightBack.js +0 -38
  314. package/src/svg/docs/SVG__default.docs.js +0 -289
  315. package/src/svg/images/EmptyAccounts.svg +0 -55
  316. package/src/svg/images/EmptyActiveCalls.svg +0 -57
  317. package/src/svg/images/EmptyActivity.svg +0 -85
  318. package/src/svg/images/EmptyAgent.svg +0 -52
  319. package/src/svg/images/EmptyArchived.svg +0 -38
  320. package/src/svg/images/EmptyAttach.svg +0 -39
  321. package/src/svg/images/EmptyBlueprint.svg +0 -78
  322. package/src/svg/images/EmptyBusinessHoliday.svg +0 -50
  323. package/src/svg/images/EmptyBusinessHour.svg +0 -42
  324. package/src/svg/images/EmptyCallHistory.svg +0 -46
  325. package/src/svg/images/EmptyCloud.svg +0 -38
  326. package/src/svg/images/EmptyContact.svg +0 -33
  327. package/src/svg/images/EmptyContactInfo.svg +0 -27
  328. package/src/svg/images/EmptyConversation.svg +0 -38
  329. package/src/svg/images/EmptyDashboard.svg +0 -42
  330. package/src/svg/images/EmptyEdition.svg +0 -76
  331. package/src/svg/images/EmptyFilter.svg +0 -62
  332. package/src/svg/images/EmptyFromAddress.svg +0 -41
  333. package/src/svg/images/EmptyHappiness.svg +0 -58
  334. package/src/svg/images/EmptyHistory.svg +0 -44
  335. package/src/svg/images/EmptyImportHistory.svg +0 -43
  336. package/src/svg/images/EmptyInvoice.svg +0 -45
  337. package/src/svg/images/EmptyNetwork.svg +0 -50
  338. package/src/svg/images/EmptyNotification.svg +0 -38
  339. package/src/svg/images/EmptyProducts.svg +0 -57
  340. package/src/svg/images/EmptyRecycleBin.svg +0 -58
  341. package/src/svg/images/EmptyReports.svg +0 -39
  342. package/src/svg/images/EmptyRoles.svg +0 -30
  343. package/src/svg/images/EmptySearch.svg +0 -37
  344. package/src/svg/images/EmptySkills.svg +0 -75
  345. package/src/svg/images/EmptySnippet.svg +0 -46
  346. package/src/svg/images/EmptyTag.svg +0 -43
  347. package/src/svg/images/EmptyTask.svg +0 -42
  348. package/src/svg/images/EmptyTeams.svg +0 -39
  349. package/src/svg/images/EmptyTemplate.svg +0 -39
  350. package/src/svg/images/EmptyTicket.svg +0 -33
  351. package/src/svg/images/EmptyTimeEntry.svg +0 -96
  352. package/src/svg/images/EmptyTopic.svg +0 -41
  353. package/src/svg/images/EmptyWebhook.svg +0 -44
  354. package/src/svg/images/FailureLog.svg +0 -46
  355. package/src/svg/images/Inconvenience.svg +0 -719
  356. package/src/svg/images/Loader.svg +0 -62
  357. package/src/svg/images/NoRequestFound.svg +0 -247
  358. package/src/svg/images/PageNotFound.svg +0 -405
  359. package/src/svg/images/ReguestUrlNotFound.svg +0 -267
  360. package/src/svg/images/SitBack.svg +0 -464
  361. package/src/svg/images/UnableToProcess.svg +0 -752
  362. package/src/svg/images/UnauthorizedLogin.svg +0 -1047
  363. package/src/svg/images/WillBack.svg +0 -633
@@ -0,0 +1,116 @@
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"); } 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); }
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 Extractor = /*#__PURE__*/function (_React$Component) {
41
+ _inherits(Extractor, _React$Component);
42
+
43
+ var _super = _createSuper(Extractor);
44
+
45
+ function Extractor() {
46
+ _classCallCheck(this, Extractor);
47
+
48
+ return _super.apply(this, arguments);
49
+ }
50
+
51
+ _createClass(Extractor, [{
52
+ key: "render",
53
+ value: function render() {
54
+ return /*#__PURE__*/_react["default"].createElement(_SVG["default"], _extends({
55
+ viewBox: "0 0 200 200",
56
+ name: "extractor"
57
+ }, this.props), /*#__PURE__*/_react["default"].createElement("style", null, ".Extractor_svg__st1{opacity:.1;fill:var(--zd_emptysvg_primary_fill);enable-background:new}.Extractor_svg__st2{fill:var(--zd_emptysvg_plus)}.Extractor_svg__st3{fill:var(--zd_emptysvg_medium_circle)}.Extractor_svg__st4{fill:var(--zd_emptysvg_cross)}.Extractor_svg__st6{fill:none;stroke:var(--zd_emptysvg_primary_stroke);stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10}"), /*#__PURE__*/_react["default"].createElement("path", {
58
+ fill: "none",
59
+ d: "M10 22h180v160H10z"
60
+ }), /*#__PURE__*/_react["default"].createElement("path", {
61
+ className: "Extractor_svg__st1",
62
+ 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"
63
+ }), /*#__PURE__*/_react["default"].createElement("path", {
64
+ className: "Extractor_svg__st2",
65
+ 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"
66
+ }), /*#__PURE__*/_react["default"].createElement("path", {
67
+ className: "Extractor_svg__st2",
68
+ 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"
69
+ }), /*#__PURE__*/_react["default"].createElement("path", {
70
+ className: "Extractor_svg__st3",
71
+ 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.8zM34.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"
72
+ }), /*#__PURE__*/_react["default"].createElement("path", {
73
+ className: "Extractor_svg__st4",
74
+ d: "M50.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"
75
+ }), /*#__PURE__*/_react["default"].createElement("path", {
76
+ className: "Extractor_svg__st1",
77
+ 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"
78
+ }), /*#__PURE__*/_react["default"].createElement("path", {
79
+ d: "M71.4 78.3s-11.7 4.5.5 6 68.4.3 64.2-3.2c-4.3-3.3-64.7-2.8-64.7-2.8zm-.8 23.1s-6.6 4.2.3 5.6c6.9 1.3 38.6.3 36.2-2.9-2.4-3.3-36.5-2.7-36.5-2.7zm0 20s-6.6 4.2.3 5.6c6.9 1.3 38.6.3 36.2-2.9-2.4-3.2-36.5-2.7-36.5-2.7zm-.8 15.5s-8.1 4.5.3 6 47.6.3 44.7-3.2c-3-3.3-45-2.8-45-2.8zm.8 16.7s-6.6 4.2.3 5.6c6.9 1.3 38.6.3 36.2-2.9s-36.5-2.7-36.5-2.7zm42.3-118l-5.4-.1c0-1.7-.1-2.9-.7-4.5-1.3-4.2-5.2-5.8-9.1-4.9-4.4.9-6.4 6.5-6.6 9.7l-8.2.1c-1.3 0-2.8.4-2.8 1.7V41c0 1.5 1.1 2.5 2.5 2.5l30.5.5c1.5 0 2.5-1.1 2.7-2.5l.1-4c-.4-1.2-1.7-1.9-3-1.9z",
80
+ fill: "var(--zd_emptysvg_secondary_fill)"
81
+ }), /*#__PURE__*/_react["default"].createElement("path", {
82
+ className: "Extractor_svg__st6",
83
+ d: "M152.5 87.7c-.7-13.3-.4-43.7-2.7-45.5-2.7-1.9-71.5.4-71.5.4S78 31.1 90.5 31.7c0 0-2.3-5.8 4.6-7.6 3.8-.9 8-.3 11 2.3 1.2.9 2.1 2.1 2.4 3.6.1.9 13.1-.9 13.1 14.6 0 0-78.2-3.6-77.8-.9.4 2.7-2.5 133.2.3 134.9 2.8 1.7 108.3 2 109.4-1.1-.1.2-.8-87.5-1-89.8z"
84
+ }), /*#__PURE__*/_react["default"].createElement("path", {
85
+ className: "Extractor_svg__st6",
86
+ d: "M72.7 35.4s1.9 33.3-.8 34.1c-2.7.8-17.5 1.6-17.5-.8 0-2.4 18-19.1 21.3-18.6 3.3.5 66.5.8 68.5 2.4 1.1.8 1.6 13.5 1.7 26.2.1 12.7.5 89.7.5 89.7l-11.4.4c-10.2 0-80.2 2-80.9-.7s-.7-60.8-.7-60.8v-30s80.7-2.5 82.3 3.8c1.6 6.4-66.8 5.4-67.1 4-.4-1.5-.1-9.7-.1-9.7s49.8-3.2 65.9 2.1"
87
+ }));
88
+ }
89
+ }]);
90
+
91
+ return Extractor;
92
+ }(_react["default"].Component);
93
+
94
+ exports["default"] = Extractor;
95
+ Extractor.propTypes = {
96
+ alignHorizontal: _propTypes["default"].bool,
97
+ className: _propTypes["default"].string,
98
+ dataId: _propTypes["default"].string,
99
+ isRender: _propTypes["default"].bool,
100
+ size: _propTypes["default"].oneOf(['small', 'large']),
101
+ palette: _propTypes["default"].oneOf(['default', 'dark'])
102
+ };
103
+ Extractor.defaultProps = {
104
+ size: 'large',
105
+ alignHorizontal: true,
106
+ isRender: true,
107
+ className: '',
108
+ dataId: 'extractor',
109
+ palette: 'default'
110
+ };
111
+
112
+ if (false) {
113
+ Extractor.docs = {
114
+ componentGroup: 'SVG'
115
+ };
116
+ }
@@ -1,74 +1,86 @@
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;
9
+
10
+ var _react = _interopRequireDefault(require("react"));
6
11
 
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; }; }();
12
+ var _propTypes = _interopRequireDefault(require("prop-types"));
8
13
 
9
- var _react = require('react');
14
+ var _SVG = _interopRequireDefault(require("./SVG"));
10
15
 
11
- var _react2 = _interopRequireDefault(_react);
16
+ var _FailureLog = _interopRequireDefault(require("./images/FailureLog.svg"));
12
17
 
13
- var _propTypes = require('prop-types');
18
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
14
19
 
15
- var _propTypes2 = _interopRequireDefault(_propTypes);
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); }
16
21
 
17
- var _SVG = require('./SVG');
22
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
18
23
 
19
- var _SVG2 = _interopRequireDefault(_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); } }
20
25
 
21
- var _FailureLog = require('./images/FailureLog.svg');
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; }
22
27
 
23
- var _FailureLog2 = _interopRequireDefault(_FailureLog);
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); }
24
29
 
25
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
30
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
26
31
 
27
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
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); }; }
28
33
 
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; }
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); }
30
35
 
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; }
36
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
32
37
 
33
- var FailureLog = function (_React$Component) {
38
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
39
+
40
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
41
+
42
+ var FailureLog = /*#__PURE__*/function (_React$Component) {
34
43
  _inherits(FailureLog, _React$Component);
35
44
 
45
+ var _super = _createSuper(FailureLog);
46
+
36
47
  function FailureLog() {
37
48
  _classCallCheck(this, FailureLog);
38
49
 
39
- return _possibleConstructorReturn(this, (FailureLog.__proto__ || Object.getPrototypeOf(FailureLog)).apply(this, arguments));
50
+ return _super.apply(this, arguments);
40
51
  }
41
52
 
42
53
  _createClass(FailureLog, [{
43
- key: 'render',
54
+ key: "render",
44
55
  value: function render() {
45
- var _props = this.props,
46
- size = _props.size,
47
- _props$className = _props.className,
48
- className = _props$className === undefined ? '' : _props$className,
49
- alignHorizontal = _props.alignHorizontal;
50
-
51
- return _react2.default.createElement(
52
- _SVG2.default,
53
- { viewBox: '0 0 189.4 139.3', name: 'failurelog', size: size, className: className, alignHorizontal: alignHorizontal },
54
- _react2.default.createElement('image', { xlinkHref: _FailureLog2.default, height: '100%', width: '100%' })
55
- );
56
+ return /*#__PURE__*/_react["default"].createElement(_SVG["default"], _extends({
57
+ viewBox: "0 0 189.4 139.3",
58
+ name: "failurelog"
59
+ }, this.props), /*#__PURE__*/_react["default"].createElement("image", {
60
+ xlinkHref: _FailureLog["default"],
61
+ height: "100%",
62
+ width: "100%"
63
+ }));
56
64
  }
57
65
  }]);
58
66
 
59
67
  return FailureLog;
60
- }(_react2.default.Component);
61
-
62
- exports.default = FailureLog;
68
+ }(_react["default"].Component);
63
69
 
70
+ exports["default"] = FailureLog;
64
71
  FailureLog.propTypes = {
65
- size: _propTypes2.default.oneOf('small', 'large'),
66
- className: _propTypes2.default.string,
67
- alignHorizontal: _propTypes2.default.bool
72
+ alignHorizontal: _propTypes["default"].bool,
73
+ className: _propTypes["default"].string,
74
+ dataId: _propTypes["default"].string,
75
+ isRender: _propTypes["default"].bool,
76
+ size: _propTypes["default"].oneOf(['small', 'large'])
68
77
  };
69
78
  FailureLog.defaultProps = {
70
79
  size: 'large',
71
- alignHorizontal: true
80
+ alignHorizontal: true,
81
+ isRender: true,
82
+ className: '',
83
+ dataId: 'failureLog'
72
84
  };
73
85
 
74
86
  if (false) {
@@ -0,0 +1,132 @@
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"); } 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); }
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 Import = /*#__PURE__*/function (_React$Component) {
41
+ _inherits(Import, _React$Component);
42
+
43
+ var _super = _createSuper(Import);
44
+
45
+ function Import() {
46
+ _classCallCheck(this, Import);
47
+
48
+ return _super.apply(this, arguments);
49
+ }
50
+
51
+ _createClass(Import, [{
52
+ key: "render",
53
+ value: function render() {
54
+ return /*#__PURE__*/_react["default"].createElement(_SVG["default"], _extends({
55
+ viewBox: "0 0 500 500",
56
+ name: "import"
57
+ }, this.props), /*#__PURE__*/_react["default"].createElement("g", {
58
+ clipPath: "url(#Import_svg__clip0)"
59
+ }, /*#__PURE__*/_react["default"].createElement("g", {
60
+ clipPath: "url(#Import_svg__clip1)"
61
+ }, /*#__PURE__*/_react["default"].createElement("path", {
62
+ opacity: 0.1,
63
+ d: "M200.502 140.5s116.75-78 175.75-54.5 99.25 220.75-64.75 309.25-238.5-104-239.25-138c-.5-33.25 0-111.75 128.25-116.75z",
64
+ fill: "var(--zd_emptysvg_primary_fill)"
65
+ }), /*#__PURE__*/_react["default"].createElement("path", {
66
+ d: "M35 293.249s-.25 0 0 0c-.75 0-1.25-.75-1.25-1.25l1-18.75c0-.75.5-1.25 1.25-1.25s1.25.5 1.25 1.25l-1 18.75c-.25.75-.75 1.25-1.25 1.25z",
67
+ fill: "var(--zd_emptysvg_plus)"
68
+ }), /*#__PURE__*/_react["default"].createElement("path", {
69
+ d: "M44.501 284.498l-18.5-1c-.75 0-1.25-.75-1.25-1.25 0-.75.75-1.25 1.25-1.25l18.25 1c.75 0 1.25.75 1.25 1.25.25.75-.25 1.25-1 1.25z",
70
+ fill: "var(--zd_emptysvg_plus)"
71
+ }), /*#__PURE__*/_react["default"].createElement("path", {
72
+ d: "M428 51.999c-6.5 0-11.75 5.25-11.75 11.75s5.25 11.75 11.75 11.75 11.75-5.25 11.75-11.75-5.5-11.75-11.75-11.75zm0 21.25c-5 0-9.25-4.25-9.25-9.5s4.25-9.5 9.25-9.5 9.25 4.25 9.25 9.5-4.25 9.5-9.25 9.5zM311 432.748c-4.75 0-8.5 3.75-8.5 8.5s3.75 8.5 8.5 8.5 8.5-3.75 8.5-8.5c0-4.5-3.75-8.5-8.5-8.5zm0 14.75c-3.25 0-6-2.75-6-6.25s2.75-6.25 6-6.25 6 2.75 6 6.25-2.75 6.25-6 6.25z",
73
+ fill: "var(--zd_emptysvg_medium_circle)"
74
+ }), /*#__PURE__*/_react["default"].createElement("path", {
75
+ d: "M202.251 50c-4.25 0-7.5 3.5-7.5 7.5s3.25 7.5 7.5 7.5 7.5-3.5 7.5-7.5-3.25-7.5-7.5-7.5zm0 12.75c-2.75 0-5-2.25-5-5s2.25-5 5-5 5 2.25 5 5-2.25 5-5 5zM474.5 324.5c-.5-.5-1.25-.5-1.75 0l-6 5.5-5.25-6c-.5-.5-1.25-.5-1.75 0s-.5 1.25 0 1.75l5.25 6-6 5.5c-.5.5-.5 1.25 0 1.75.25.25.5.5 1 .5.25 0 .5 0 .75-.25l6-5.5 5.25 6c.25.25.5.5 1 .5.25 0 .5 0 .75-.25.5-.5.5-1.25 0-1.75l-5.25-6 6-5.5c.5-.75.5-1.75 0-2.25z",
76
+ fill: "var(--zd_emptysvg_tiny_circle)"
77
+ }), /*#__PURE__*/_react["default"].createElement("path", {
78
+ opacity: 0.1,
79
+ d: "M289.502 162.499s-93.25-62.25-140.5-43.5-79.5 176.5 51.75 247.25 190.75-83.25 191.25-110.5c.5-26.5 0-89.5-102.5-93.25z",
80
+ fill: "var(--zd_emptysvg_primary_fill)"
81
+ }), /*#__PURE__*/_react["default"].createElement("path", {
82
+ d: "M103.272 292.867c-15.153-8.693-21.106-33.684-13.259-53.242 5.683-14.126 15.695-27.98 31.93-27.165 33.554 1.63 25.165 49.711 16.777 48.896-8.388-.815 18.941-107.842 65.483-105.669 46.272 2.173 74.413 55.143 67.107 72.8-7.306 17.657-1.623-57.316 71.437-28.251 73.059 29.066-19.483 132.562-145.309 117.894-49.788-5.977-77.93-16.027-94.166-25.263z",
83
+ fill: "var(--zd_emptysvg_secondary_fill)"
84
+ }), /*#__PURE__*/_react["default"].createElement("path", {
85
+ d: "M442.326 285.26H107.333s-61.425 2.445-59.801-55.958c.811-24.992 18.67-46.723 43.294-49.711 14.883-1.63 32.742 2.988 50.872 24.176 0 0-27.871 41.29 1.082-23.633s129.073-101.323 187.521-34.77c63.859 73.072 7.035 104.854 6.494 99.421-.541-5.433 10.282-26.077 42.212-3.531 31.93 22.546-8.929 93.445-78.742 85.567l-47.354-1.901-1.082 44.549s44.377 1.902 40.318-1.901c-4.059-4.075-65.483 46.179-58.718 47.266 7.035 1.086-52.225-53.242-54.931-48.896-7.306 11.137 24.354 6.248 39.236 4.346l-1.353-47.809s-114.19 22.818-147.202-27.707",
86
+ stroke: "var(--zd_emptysvg_primary_stroke)",
87
+ fill: "transparent",
88
+ strokeWidth: 2.5,
89
+ strokeMiterlimit: 10,
90
+ strokeLinecap: "round",
91
+ strokeLinejoin: "round"
92
+ }))), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("clipPath", {
93
+ id: "Import_svg__clip0"
94
+ }, /*#__PURE__*/_react["default"].createElement("path", {
95
+ fill: "#fff",
96
+ d: "M0 0h500v500H0z"
97
+ })), /*#__PURE__*/_react["default"].createElement("clipPath", {
98
+ id: "Import_svg__clip1"
99
+ }, /*#__PURE__*/_react["default"].createElement("path", {
100
+ fill: "#fff",
101
+ transform: "translate(25 50)",
102
+ d: "M0 0h450v400H0z"
103
+ }))));
104
+ }
105
+ }]);
106
+
107
+ return Import;
108
+ }(_react["default"].Component);
109
+
110
+ exports["default"] = Import;
111
+ Import.propTypes = {
112
+ alignHorizontal: _propTypes["default"].bool,
113
+ className: _propTypes["default"].string,
114
+ dataId: _propTypes["default"].string,
115
+ isRender: _propTypes["default"].bool,
116
+ size: _propTypes["default"].oneOf(['small', 'large']),
117
+ palette: _propTypes["default"].oneOf(['default', 'dark'])
118
+ };
119
+ Import.defaultProps = {
120
+ size: 'large',
121
+ alignHorizontal: true,
122
+ isRender: true,
123
+ className: '',
124
+ dataId: 'import',
125
+ palette: 'default'
126
+ };
127
+
128
+ if (false) {
129
+ Import.docs = {
130
+ componentGroup: 'SVG'
131
+ };
132
+ }
package/lib/svg/Loader.js CHANGED
@@ -1,71 +1,115 @@
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;
9
+
10
+ var _react = _interopRequireDefault(require("react"));
6
11
 
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; }; }();
12
+ var _propTypes = _interopRequireDefault(require("prop-types"));
8
13
 
9
- var _react = require('react');
14
+ var _SVG = _interopRequireDefault(require("./SVG"));
10
15
 
11
- var _react2 = _interopRequireDefault(_react);
16
+ var _SVGModule = _interopRequireDefault(require("./SVG.module.css"));
12
17
 
13
- var _propTypes = require('prop-types');
18
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
14
19
 
15
- var _propTypes2 = _interopRequireDefault(_propTypes);
20
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
16
21
 
17
- var _SVG = require('./SVG');
22
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
18
23
 
19
- var _SVG2 = _interopRequireDefault(_SVG);
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
20
25
 
21
- var _Loader = require('./images/Loader.svg');
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
22
27
 
23
- var _Loader2 = _interopRequireDefault(_Loader);
28
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
24
29
 
25
- var _SVGModule = require('./SVG.module.css');
30
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
26
31
 
27
- var _SVGModule2 = _interopRequireDefault(_SVGModule);
32
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
28
33
 
29
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
34
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
30
35
 
31
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
36
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
32
37
 
33
- 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; }
38
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
34
39
 
35
- 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; }
40
+ var Loader = /*#__PURE__*/function (_React$PureComponent) {
41
+ _inherits(Loader, _React$PureComponent);
36
42
 
37
- var Loader = function (_React$Component) {
38
- _inherits(Loader, _React$Component);
43
+ var _super = _createSuper(Loader);
44
+
45
+ function Loader(props) {
46
+ var _this;
39
47
 
40
- function Loader() {
41
48
  _classCallCheck(this, Loader);
42
49
 
43
- return _possibleConstructorReturn(this, (Loader.__proto__ || Object.getPrototypeOf(Loader)).apply(this, arguments));
50
+ _this = _super.call(this, props);
51
+ _this.viewBoxStyle = {
52
+ animation: "loaderone 2s linear infinite"
53
+ };
54
+ _this.defsStyle = {
55
+ animation: "circleAnimation_1 1.5s linear infinite",
56
+ transformOrigin: "center"
57
+ };
58
+ _this.circleStyle = {
59
+ animation: "circleAnimation_2 1.2s linear infinite",
60
+ transformOrigin: "center"
61
+ };
62
+ return _this;
44
63
  }
45
64
 
46
65
  _createClass(Loader, [{
47
- key: 'render',
66
+ key: "render",
48
67
  value: function render() {
49
- var isRender = this.props.isRender;
50
-
51
- return _react2.default.createElement(
52
- _SVG2.default,
53
- { viewBox: '0 0 40 40', name: 'Loader', isRender: isRender, className: _SVGModule2.default.loaderWrapper },
54
- _react2.default.createElement('image', { xlinkHref: _Loader2.default, height: '100%', width: '100%' })
55
- );
68
+ var dataId = this.props.dataId;
69
+ return /*#__PURE__*/_react["default"].createElement("div", {
70
+ className: _SVGModule["default"].center
71
+ }, /*#__PURE__*/_react["default"].createElement(_SVG["default"], {
72
+ viewBox: "0 0 40 40",
73
+ name: "Loader",
74
+ className: "".concat(_SVGModule["default"].loaderWrapper),
75
+ dataId: dataId,
76
+ styleName: this.viewBoxStyle
77
+ }, /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("style", null, "@keyframes circleAnimation_1{to{stroke-dashoffset:-82}}@keyframes circleAnimation_2{to{stroke-dashoffset:-50}}@keyframes loaderone{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}")), /*#__PURE__*/_react["default"].createElement("title", null, "loader"), /*#__PURE__*/_react["default"].createElement("circle", {
78
+ fill: "none",
79
+ stroke: "#089949",
80
+ strokeWidth: 2,
81
+ strokeLinecap: "round",
82
+ strokeLinejoin: "round",
83
+ cx: 20,
84
+ cy: 20,
85
+ r: 13,
86
+ style: this.defsStyle,
87
+ strokeDasharray: 82,
88
+ strokeDashoffset: 82
89
+ }), /*#__PURE__*/_react["default"].createElement("circle", {
90
+ fill: "none",
91
+ stroke: "#17c662",
92
+ strokeLinecap: "round",
93
+ strokeLinejoin: "round",
94
+ cx: 20,
95
+ cy: 20,
96
+ r: 8,
97
+ style: this.circleStyle,
98
+ strokeDasharray: 50,
99
+ strokeDashoffset: 50
100
+ })));
56
101
  }
57
102
  }]);
58
103
 
59
104
  return Loader;
60
- }(_react2.default.Component);
61
-
62
- exports.default = Loader;
105
+ }(_react["default"].PureComponent);
63
106
 
107
+ exports["default"] = Loader;
64
108
  Loader.propTypes = {
65
- isRender: _propTypes2.default.bool
109
+ dataId: _propTypes["default"].string
66
110
  };
67
111
  Loader.defaultProps = {
68
- isRender: true
112
+ dataId: 'loader'
69
113
  };
70
114
 
71
115
  if (false) {