@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
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"); } 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); }; }
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
+ }
@@ -0,0 +1,66 @@
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.StaticSvg = StaticSvg;
9
+ exports["default"] = SvgLoader;
10
+
11
+ var _react = _interopRequireWildcard(require("react"));
12
+
13
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
14
+
15
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
16
+
17
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
18
+
19
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
20
+
21
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
22
+
23
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
24
+
25
+ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
26
+
27
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
28
+
29
+ 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); }
30
+
31
+ function SvgLoader(props) {
32
+ var uiProps = {};
33
+ Object.keys(props).filter(function (prop) {
34
+ return prop != "imageUrl";
35
+ }).map(function (prop) {
36
+ uiProps[prop] = props[prop];
37
+ });
38
+
39
+ var image = require("./images/".concat(props.imageUrl));
40
+
41
+ return /*#__PURE__*/_react["default"].createElement("image", _extends({
42
+ xlinkHref: image
43
+ }, uiProps));
44
+ }
45
+
46
+ function StaticSvg(props) {
47
+ var uiProps = {},
48
+ _useState = (0, _react.useState)(null),
49
+ _useState2 = _slicedToArray(_useState, 2),
50
+ image = _useState2[0],
51
+ setImage = _useState2[1];
52
+
53
+ Object.keys(props).filter(function (prop) {
54
+ return prop != "getImage";
55
+ }).map(function (prop) {
56
+ uiProps[prop] = props[prop];
57
+ });
58
+ (0, _react.useEffect)(function () {
59
+ props.getImage().then(function (image) {
60
+ return setImage(image);
61
+ });
62
+ }, [props.getImage]);
63
+ return image ? /*#__PURE__*/_react["default"].createElement("image", _extends({
64
+ xlinkHref: image["default"]
65
+ }, uiProps)) : null;
66
+ }
@@ -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;
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 _UnableToProcess = _interopRequireDefault(require("./images/UnableToProcess.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 _UnableToProcess = require('./images/UnableToProcess.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 _UnableToProcess2 = _interopRequireDefault(_UnableToProcess);
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 UnableToProcessRequest = 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 UnableToProcessRequest = /*#__PURE__*/function (_React$Component) {
34
43
  _inherits(UnableToProcessRequest, _React$Component);
35
44
 
45
+ var _super = _createSuper(UnableToProcessRequest);
46
+
36
47
  function UnableToProcessRequest() {
37
48
  _classCallCheck(this, UnableToProcessRequest);
38
49
 
39
- return _possibleConstructorReturn(this, (UnableToProcessRequest.__proto__ || Object.getPrototypeOf(UnableToProcessRequest)).apply(this, arguments));
50
+ return _super.apply(this, arguments);
40
51
  }
41
52
 
42
53
  _createClass(UnableToProcessRequest, [{
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 587.1 331.1',
55
- name: 'UnableToProcessRequest',
56
- isRender: isRender,
57
- className: className,
58
- alignHorizontal: alignHorizontal,
59
- isFluid: isFluid
60
- },
61
- _react2.default.createElement('image', { xlinkHref: _UnableToProcess2.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 587.1 331.1",
59
+ name: "UnableToProcessRequest"
60
+ }, this.props, {
61
+ isFluid: isFluid
62
+ }), /*#__PURE__*/_react["default"].createElement("image", {
63
+ xlinkHref: _UnableToProcess["default"],
64
+ height: "100%",
65
+ width: "100%"
66
+ }));
63
67
  }
64
68
  }]);
65
69
 
66
70
  return UnableToProcessRequest;
67
- }(_react2.default.Component);
68
-
69
- exports.default = UnableToProcessRequest;
71
+ }(_react["default"].Component);
70
72
 
73
+ exports["default"] = UnableToProcessRequest;
71
74
  UnableToProcessRequest.propTypes = {
72
- isRender: _propTypes2.default.bool,
73
- className: _propTypes2.default.string,
74
- alignHorizontal: _propTypes2.default.bool,
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
  UnableToProcessRequest.defaultProps = {
82
+ alignHorizontal: true,
78
83
  isRender: true,
79
84
  className: '',
80
- alignHorizontal: true
85
+ dataId: 'unableToProcessRequest'
81
86
  };
82
87
 
83
88
  if (false) {
@@ -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;
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 _UnauthorizedLogin = _interopRequireDefault(require("./images/UnauthorizedLogin.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 _UnauthorizedLogin = require('./images/UnauthorizedLogin.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 _UnauthorizedLogin2 = _interopRequireDefault(_UnauthorizedLogin);
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 UnauthorizedLogin = 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 UnauthorizedLogin = /*#__PURE__*/function (_React$Component) {
34
43
  _inherits(UnauthorizedLogin, _React$Component);
35
44
 
45
+ var _super = _createSuper(UnauthorizedLogin);
46
+
36
47
  function UnauthorizedLogin() {
37
48
  _classCallCheck(this, UnauthorizedLogin);
38
49
 
39
- return _possibleConstructorReturn(this, (UnauthorizedLogin.__proto__ || Object.getPrototypeOf(UnauthorizedLogin)).apply(this, arguments));
50
+ return _super.apply(this, arguments);
40
51
  }
41
52
 
42
53
  _createClass(UnauthorizedLogin, [{
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 519.3 288.6',
55
- name: 'UnauthorizedLogin',
56
- isRender: isRender,
57
- className: className,
58
- alignHorizontal: alignHorizontal,
59
- isFluid: isFluid
60
- },
61
- _react2.default.createElement('image', { xlinkHref: _UnauthorizedLogin2.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 519.3 288.6",
59
+ name: "UnauthorizedLogin"
60
+ }, this.props, {
61
+ isFluid: isFluid
62
+ }), /*#__PURE__*/_react["default"].createElement("image", {
63
+ xlinkHref: _UnauthorizedLogin["default"],
64
+ height: "100%",
65
+ width: "100%"
66
+ }));
63
67
  }
64
68
  }]);
65
69
 
66
70
  return UnauthorizedLogin;
67
- }(_react2.default.Component);
68
-
69
- exports.default = UnauthorizedLogin;
71
+ }(_react["default"].Component);
70
72
 
73
+ exports["default"] = UnauthorizedLogin;
71
74
  UnauthorizedLogin.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
  UnauthorizedLogin.defaultProps = {
82
+ alignHorizontal: true,
78
83
  isRender: true,
79
84
  className: '',
80
- alignHorizontal: true
85
+ dataId: 'unauthorizedLogin'
81
86
  };
82
87
 
83
88
  if (false) {