@zohodesk/svg 1.0.0-beta.5 → 1.0.0-beta.50

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 (577) hide show
  1. package/README.md +173 -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/assets/Appearance/pureDark/mode/pureDarkEmptyStates.module.css +37 -0
  15. package/assets/Appearance/pureDark/themes/blue/bluePureDarkCTATheme.module.css +10 -0
  16. package/assets/Appearance/pureDark/themes/green/greenPureDarkCTATheme.module.css +10 -0
  17. package/assets/Appearance/pureDark/themes/orange/orangePureDarkCTATheme.module.css +10 -0
  18. package/assets/Appearance/pureDark/themes/red/redPureDarkCTATheme.module.css +10 -0
  19. package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTATheme.module.css +10 -0
  20. package/deprecated/june_2022/ErrorUnauthorizedLogin.js +127 -0
  21. package/es/Loader/Loader.js +68 -0
  22. package/es/Loader/props/defaultProps.js +3 -0
  23. package/es/Loader/props/propTypes.js +4 -0
  24. package/es/Provider.js +74 -0
  25. package/es/SVG/SVG.js +56 -0
  26. package/es/{svg → SVG}/SVG.module.css +2 -3
  27. package/es/SVG/SvgLoader.js +28 -0
  28. package/es/SVG/props/defaultProps.js +11 -0
  29. package/es/SVG/props/propTypes.js +15 -0
  30. package/es/css/EmptyStateVariables.module.css +39 -0
  31. package/es/docs/Emptystate__version1.docs.js +29 -0
  32. package/es/docs/Emptystate__version2.docs.js +45 -0
  33. package/es/docs/Emptystate__version3.docs.js +180 -0
  34. package/es/docs/Errorstate__version1.docs.js +41 -0
  35. package/es/docs/Errorstate__version2.docs.js +33 -0
  36. package/es/docs/Errorstate__version3.docs.js +39 -0
  37. package/es/docs/SVG__common.docs.js +29 -0
  38. package/es/docs/SVGdocstyle.module.css +53 -0
  39. package/es/emptystate/props/defaultProps.js +8 -0
  40. package/es/emptystate/props/propTypes.js +9 -0
  41. package/es/emptystate/version1/EmptyCustomDomain.js +30 -0
  42. package/es/emptystate/version2/EmptyBusinessHoliday.js +30 -0
  43. package/es/emptystate/version2/EmptyBusinessHour.js +30 -0
  44. package/es/emptystate/version2/EmptyFromAddress.js +30 -0
  45. package/es/emptystate/version2/EmptyImportHistory.js +30 -0
  46. package/es/emptystate/version2/EmptyNetwork.js +30 -0
  47. package/es/emptystate/version2/EmptyRecycleBin.js +30 -0
  48. package/es/emptystate/version2/EmptyRoles.js +30 -0
  49. package/es/emptystate/version2/EmptyWebhook.js +30 -0
  50. package/es/emptystate/version2/FailureLog.js +30 -0
  51. package/es/emptystate/version3/AuditLog.js +80 -0
  52. package/es/emptystate/version3/CustomModule.js +59 -0
  53. package/es/emptystate/version3/EmptyAccounts.js +90 -0
  54. package/es/emptystate/version3/EmptyActiveCalls.js +61 -0
  55. package/es/emptystate/version3/EmptyActivity.js +61 -0
  56. package/es/emptystate/version3/EmptyAgent.js +61 -0
  57. package/es/emptystate/version3/EmptyAgentQueue.js +67 -0
  58. package/es/emptystate/version3/EmptyApplechat.js +74 -0
  59. package/es/emptystate/version3/EmptyApproval.js +67 -0
  60. package/es/emptystate/version3/EmptyArchived.js +69 -0
  61. package/es/emptystate/version3/EmptyArticle.js +75 -0
  62. package/es/emptystate/version3/EmptyAsapchat.js +69 -0
  63. package/es/emptystate/version3/EmptyAttach.js +61 -0
  64. package/es/emptystate/version3/EmptyBlueprint.js +76 -0
  65. package/es/emptystate/version3/EmptyCallHistory.js +63 -0
  66. package/es/emptystate/version3/EmptyCanned.js +79 -0
  67. package/es/emptystate/version3/EmptyChat.js +79 -0
  68. package/es/emptystate/version3/EmptyCollision.js +61 -0
  69. package/es/emptystate/version3/EmptyColumn.js +67 -0
  70. package/es/emptystate/version3/EmptyContact.js +61 -0
  71. package/es/emptystate/version3/EmptyContract.js +57 -0
  72. package/es/emptystate/version3/EmptyConversation.js +61 -0
  73. package/es/emptystate/version3/EmptyCrm.js +61 -0
  74. package/es/emptystate/version3/EmptyCrmNotes.js +72 -0
  75. package/es/emptystate/version3/EmptyCrmPotential.js +75 -0
  76. package/es/emptystate/version3/EmptyDashboard.js +67 -0
  77. package/es/emptystate/version3/EmptyDelete.js +52 -0
  78. package/es/emptystate/version3/EmptyDepartment.js +61 -0
  79. package/es/emptystate/version3/EmptyError.js +84 -0
  80. package/es/emptystate/version3/EmptyFeed.js +64 -0
  81. package/es/emptystate/version3/EmptyFollowers.js +62 -0
  82. package/es/emptystate/version3/EmptyFrame.js +60 -0
  83. package/es/emptystate/version3/EmptyHappiness.js +61 -0
  84. package/es/emptystate/version3/EmptyHistory.js +61 -0
  85. package/es/emptystate/version3/EmptyInstagram.js +75 -0
  86. package/es/emptystate/version3/EmptyInstantmessage.js +77 -0
  87. package/es/emptystate/version3/EmptyInvoice.js +66 -0
  88. package/es/emptystate/version3/EmptyLine.js +75 -0
  89. package/es/emptystate/version3/EmptyMessenger.js +62 -0
  90. package/es/emptystate/version3/EmptyNoData.js +80 -0
  91. package/es/emptystate/version3/EmptyNotification.js +61 -0
  92. package/es/emptystate/version3/EmptyProducts.js +64 -0
  93. package/es/emptystate/version3/EmptyReply.js +56 -0
  94. package/es/emptystate/version3/EmptyReports.js +67 -0
  95. package/es/emptystate/version3/EmptySchedule.js +103 -0
  96. package/es/emptystate/version3/EmptySearch.js +71 -0
  97. package/es/emptystate/version3/EmptySkills.js +109 -0
  98. package/es/emptystate/version3/EmptySla.js +56 -0
  99. package/es/emptystate/version3/EmptySnippet.js +71 -0
  100. package/es/emptystate/version3/EmptyTag.js +64 -0
  101. package/es/emptystate/version3/EmptyTask.js +77 -0
  102. package/es/emptystate/version3/EmptyTeams.js +61 -0
  103. package/es/emptystate/version3/EmptyTelegram.js +75 -0
  104. package/es/emptystate/version3/EmptyTemplate.js +73 -0
  105. package/es/emptystate/version3/EmptyTicket.js +64 -0
  106. package/es/emptystate/version3/EmptyTimeEntry.js +67 -0
  107. package/es/emptystate/version3/EmptyTimeline.js +61 -0
  108. package/es/emptystate/version3/EmptyTopic.js +67 -0
  109. package/es/emptystate/version3/EmptyTwilio.js +75 -0
  110. package/es/emptystate/version3/EmptyWechat.js +75 -0
  111. package/es/emptystate/version3/EmptyWhatsapp.js +75 -0
  112. package/es/emptystate/version3/Export.js +56 -0
  113. package/es/emptystate/version3/Extensions.js +62 -0
  114. package/es/emptystate/version3/Extractor.js +55 -0
  115. package/es/emptystate/version3/GCBot.js +53 -0
  116. package/es/emptystate/version3/GCConversation.js +55 -0
  117. package/es/emptystate/version3/Import.js +71 -0
  118. package/es/emptystate/version3/KBBot.js +68 -0
  119. package/es/emptystate/version3/Multilingual.js +61 -0
  120. package/es/emptystate/version3/NetworkError.js +64 -0
  121. package/es/emptystate/version3/Predictor.js +62 -0
  122. package/es/emptystate/version3/ReadRecipients.js +60 -0
  123. package/es/emptystate/version3/SupportPlan.js +77 -0
  124. package/es/emptystate/version3/Variable.js +59 -0
  125. package/es/emptystate/version3/ZiaAnamoly.js +56 -0
  126. package/es/errorstate/props/defaultProps.js +8 -0
  127. package/es/errorstate/props/propTypes.js +9 -0
  128. package/es/errorstate/version1/EmptyInconvenience.js +34 -0
  129. package/es/errorstate/version1/NoRequestFound.js +34 -0
  130. package/es/errorstate/version1/PageNotFound.js +35 -0
  131. package/es/errorstate/version1/UnableToProcessRequest.js +35 -0
  132. package/es/errorstate/version1/UnauthorizedLogin.js +35 -0
  133. package/es/errorstate/version1/UrlNotFound.js +35 -0
  134. package/es/errorstate/version1/WillBeRightBack.js +35 -0
  135. package/es/errorstate/version2/EmptyUnauthorizedLogin.js +36 -0
  136. package/es/errorstate/version2/EmptyWillBeRightBack.js +31 -0
  137. package/es/errorstate/version2/NotImpossible.js +70 -0
  138. package/es/errorstate/version3/ErrorInconvenience.js +106 -0
  139. package/es/errorstate/version3/ErrorOopsSomethingMiss.js +107 -0
  140. package/es/errorstate/version3/ErrorUnableToProcessRequest.js +107 -0
  141. package/es/errorstate/version3/ErrorUnauthorizedLogin.js +114 -0
  142. package/es/errorstate/version3/ErrorUrlNotFound.js +107 -0
  143. package/es/errorstate/version3/ErrorWillBeRightBack.js +106 -0
  144. package/es/index.js +9 -4
  145. package/{es/svg/images → images}/EmptyBusinessHoliday.svg +0 -0
  146. package/{es/svg/images → images}/EmptyBusinessHour.svg +0 -0
  147. package/{es/svg/images → images}/EmptyContactInfo.svg +0 -0
  148. package/images/EmptyCustomDomain.svg +85 -0
  149. package/{es/svg/images → images}/EmptyFilter.svg +0 -0
  150. package/{es/svg/images → images}/EmptyFromAddress.svg +0 -0
  151. package/{es/svg/images → images}/EmptyImportHistory.svg +0 -0
  152. package/{es/svg/images → images}/EmptyNetwork.svg +0 -0
  153. package/{es/svg/images → images}/EmptyRecycleBin.svg +0 -0
  154. package/{es/svg/images → images}/EmptyRoles.svg +0 -0
  155. package/images/EmptySkills.svg +83 -0
  156. package/{es/svg/images → images}/EmptyWebhook.svg +0 -0
  157. package/{es/svg/images → images}/FailureLog.svg +0 -0
  158. package/{es/svg/images → images}/Inconvenience.svg +0 -0
  159. package/{es/svg/images → images}/NoRequestFound.svg +0 -0
  160. package/{es/svg/images → images}/PageNotFound.svg +0 -0
  161. package/{es/svg/images → images}/ReguestUrlNotFound.svg +0 -0
  162. package/{es/svg/images → images}/UnableToProcess.svg +0 -0
  163. package/{es/svg/images → images}/UnauthorizedLogin.svg +0 -0
  164. package/{es/svg/images → images}/WillBack.svg +0 -0
  165. package/lib/Loader/Loader.js +117 -0
  166. package/lib/Loader/props/defaultProps.js +10 -0
  167. package/lib/Loader/props/propTypes.js +15 -0
  168. package/lib/Provider.js +139 -0
  169. package/lib/SVG/SVG.js +107 -0
  170. package/lib/{svg → SVG}/SVG.module.css +2 -3
  171. package/lib/SVG/SvgLoader.js +66 -0
  172. package/lib/SVG/props/defaultProps.js +18 -0
  173. package/lib/SVG/props/propTypes.js +26 -0
  174. package/lib/css/EmptyStateVariables.module.css +39 -0
  175. package/lib/docs/Emptystate__version1.docs.js +79 -0
  176. package/lib/docs/Emptystate__version2.docs.js +103 -0
  177. package/lib/docs/Emptystate__version3.docs.js +304 -0
  178. package/lib/docs/Errorstate__version1.docs.js +97 -0
  179. package/lib/docs/Errorstate__version2.docs.js +85 -0
  180. package/lib/docs/Errorstate__version3.docs.js +94 -0
  181. package/lib/docs/SVG__common.docs.js +79 -0
  182. package/lib/docs/SVGdocstyle.module.css +53 -0
  183. package/lib/emptystate/props/defaultProps.js +15 -0
  184. package/lib/emptystate/props/propTypes.js +20 -0
  185. package/lib/emptystate/version1/EmptyCustomDomain.js +88 -0
  186. package/lib/emptystate/version2/EmptyBusinessHoliday.js +88 -0
  187. package/lib/emptystate/version2/EmptyBusinessHour.js +88 -0
  188. package/lib/emptystate/version2/EmptyFromAddress.js +88 -0
  189. package/lib/emptystate/version2/EmptyImportHistory.js +88 -0
  190. package/lib/emptystate/version2/EmptyNetwork.js +88 -0
  191. package/lib/emptystate/version2/EmptyRecycleBin.js +88 -0
  192. package/lib/emptystate/version2/EmptyRoles.js +88 -0
  193. package/lib/emptystate/version2/EmptyWebhook.js +88 -0
  194. package/lib/emptystate/version2/FailureLog.js +88 -0
  195. package/lib/emptystate/version3/AuditLog.js +137 -0
  196. package/lib/emptystate/version3/CustomModule.js +116 -0
  197. package/lib/emptystate/version3/EmptyAccounts.js +147 -0
  198. package/lib/emptystate/version3/EmptyActiveCalls.js +118 -0
  199. package/lib/emptystate/version3/EmptyActivity.js +118 -0
  200. package/lib/emptystate/version3/EmptyAgent.js +118 -0
  201. package/lib/emptystate/version3/EmptyAgentQueue.js +124 -0
  202. package/lib/emptystate/version3/EmptyApplechat.js +131 -0
  203. package/lib/emptystate/version3/EmptyApproval.js +124 -0
  204. package/lib/emptystate/version3/EmptyArchived.js +126 -0
  205. package/lib/emptystate/version3/EmptyArticle.js +132 -0
  206. package/lib/emptystate/version3/EmptyAsapchat.js +126 -0
  207. package/lib/emptystate/version3/EmptyAttach.js +118 -0
  208. package/lib/emptystate/version3/EmptyBlueprint.js +133 -0
  209. package/lib/emptystate/version3/EmptyCallHistory.js +120 -0
  210. package/lib/emptystate/version3/EmptyCanned.js +136 -0
  211. package/lib/emptystate/version3/EmptyChat.js +136 -0
  212. package/lib/emptystate/version3/EmptyCollision.js +118 -0
  213. package/lib/emptystate/version3/EmptyColumn.js +124 -0
  214. package/lib/emptystate/version3/EmptyContact.js +118 -0
  215. package/lib/emptystate/version3/EmptyContract.js +114 -0
  216. package/lib/emptystate/version3/EmptyConversation.js +118 -0
  217. package/lib/emptystate/version3/EmptyCrm.js +118 -0
  218. package/lib/emptystate/version3/EmptyCrmNotes.js +129 -0
  219. package/lib/emptystate/version3/EmptyCrmPotential.js +132 -0
  220. package/lib/emptystate/version3/EmptyDashboard.js +124 -0
  221. package/lib/emptystate/version3/EmptyDelete.js +109 -0
  222. package/lib/emptystate/version3/EmptyDepartment.js +118 -0
  223. package/lib/emptystate/version3/EmptyError.js +141 -0
  224. package/lib/emptystate/version3/EmptyFeed.js +121 -0
  225. package/lib/emptystate/version3/EmptyFollowers.js +119 -0
  226. package/lib/emptystate/version3/EmptyFrame.js +117 -0
  227. package/lib/emptystate/version3/EmptyHappiness.js +118 -0
  228. package/lib/emptystate/version3/EmptyHistory.js +118 -0
  229. package/lib/emptystate/version3/EmptyInstagram.js +132 -0
  230. package/lib/emptystate/version3/EmptyInstantmessage.js +134 -0
  231. package/lib/emptystate/version3/EmptyInvoice.js +123 -0
  232. package/lib/emptystate/version3/EmptyLine.js +132 -0
  233. package/lib/emptystate/version3/EmptyMessenger.js +119 -0
  234. package/lib/emptystate/version3/EmptyNoData.js +137 -0
  235. package/lib/emptystate/version3/EmptyNotification.js +118 -0
  236. package/lib/emptystate/version3/EmptyProducts.js +121 -0
  237. package/lib/emptystate/version3/EmptyReply.js +113 -0
  238. package/lib/emptystate/version3/EmptyReports.js +124 -0
  239. package/lib/emptystate/version3/EmptySchedule.js +160 -0
  240. package/lib/emptystate/version3/EmptySearch.js +128 -0
  241. package/lib/emptystate/version3/EmptySkills.js +166 -0
  242. package/lib/emptystate/version3/EmptySla.js +113 -0
  243. package/lib/emptystate/version3/EmptySnippet.js +128 -0
  244. package/lib/emptystate/version3/EmptyTag.js +121 -0
  245. package/lib/emptystate/version3/EmptyTask.js +134 -0
  246. package/lib/emptystate/version3/EmptyTeams.js +118 -0
  247. package/lib/emptystate/version3/EmptyTelegram.js +132 -0
  248. package/lib/emptystate/version3/EmptyTemplate.js +130 -0
  249. package/lib/emptystate/version3/EmptyTicket.js +121 -0
  250. package/lib/emptystate/version3/EmptyTimeEntry.js +124 -0
  251. package/lib/emptystate/version3/EmptyTimeline.js +118 -0
  252. package/lib/emptystate/version3/EmptyTopic.js +124 -0
  253. package/lib/emptystate/version3/EmptyTwilio.js +132 -0
  254. package/lib/emptystate/version3/EmptyWechat.js +132 -0
  255. package/lib/emptystate/version3/EmptyWhatsapp.js +132 -0
  256. package/lib/emptystate/version3/Export.js +113 -0
  257. package/lib/emptystate/version3/Extensions.js +119 -0
  258. package/lib/emptystate/version3/Extractor.js +112 -0
  259. package/lib/emptystate/version3/GCBot.js +110 -0
  260. package/lib/emptystate/version3/GCConversation.js +112 -0
  261. package/lib/emptystate/version3/Import.js +128 -0
  262. package/lib/emptystate/version3/KBBot.js +125 -0
  263. package/lib/emptystate/version3/Multilingual.js +118 -0
  264. package/lib/emptystate/version3/NetworkError.js +121 -0
  265. package/lib/emptystate/version3/Predictor.js +119 -0
  266. package/lib/emptystate/version3/ReadRecipients.js +117 -0
  267. package/lib/emptystate/version3/SupportPlan.js +134 -0
  268. package/lib/emptystate/version3/Variable.js +116 -0
  269. package/lib/emptystate/version3/ZiaAnamoly.js +113 -0
  270. package/lib/errorstate/props/defaultProps.js +15 -0
  271. package/lib/errorstate/props/propTypes.js +20 -0
  272. package/lib/errorstate/version1/EmptyInconvenience.js +90 -0
  273. package/lib/errorstate/version1/NoRequestFound.js +90 -0
  274. package/lib/errorstate/version1/PageNotFound.js +91 -0
  275. package/lib/errorstate/version1/UnableToProcessRequest.js +91 -0
  276. package/lib/errorstate/version1/UnauthorizedLogin.js +91 -0
  277. package/lib/errorstate/version1/UrlNotFound.js +91 -0
  278. package/lib/errorstate/version1/WillBeRightBack.js +91 -0
  279. package/lib/errorstate/version2/EmptyUnauthorizedLogin.js +93 -0
  280. package/lib/errorstate/version2/EmptyWillBeRightBack.js +88 -0
  281. package/lib/errorstate/version2/NotImpossible.js +127 -0
  282. package/lib/errorstate/version3/ErrorInconvenience.js +163 -0
  283. package/lib/errorstate/version3/ErrorOopsSomethingMiss.js +164 -0
  284. package/lib/errorstate/version3/ErrorUnableToProcessRequest.js +164 -0
  285. package/lib/errorstate/version3/ErrorUnauthorizedLogin.js +171 -0
  286. package/lib/errorstate/version3/ErrorUrlNotFound.js +164 -0
  287. package/lib/errorstate/version3/ErrorWillBeRightBack.js +163 -0
  288. package/lib/index.js +71 -29
  289. package/package.json +29 -15
  290. package/.DS_Store +0 -0
  291. package/es/svg/EmptyAccounts.js +0 -57
  292. package/es/svg/EmptyActiveCalls.js +0 -64
  293. package/es/svg/EmptyActivity.js +0 -59
  294. package/es/svg/EmptyAgent.js +0 -56
  295. package/es/svg/EmptyArchived.js +0 -55
  296. package/es/svg/EmptyAttach.js +0 -56
  297. package/es/svg/EmptyBlueprint.js +0 -56
  298. package/es/svg/EmptyBusinessHoliday.js +0 -56
  299. package/es/svg/EmptyBusinessHour.js +0 -56
  300. package/es/svg/EmptyCallHistory.js +0 -64
  301. package/es/svg/EmptyCloud.js +0 -55
  302. package/es/svg/EmptyCloudDanger.js +0 -131
  303. package/es/svg/EmptyContact.js +0 -57
  304. package/es/svg/EmptyConversation.js +0 -56
  305. package/es/svg/EmptyDashboard.js +0 -56
  306. package/es/svg/EmptyEdition.js +0 -56
  307. package/es/svg/EmptyFromAddress.js +0 -56
  308. package/es/svg/EmptyHappiness.js +0 -56
  309. package/es/svg/EmptyHistory.js +0 -63
  310. package/es/svg/EmptyImportHistory.js +0 -56
  311. package/es/svg/EmptyInvoice.js +0 -56
  312. package/es/svg/EmptyNetwork.js +0 -56
  313. package/es/svg/EmptyNotification.js +0 -56
  314. package/es/svg/EmptyProducts.js +0 -56
  315. package/es/svg/EmptyRecycleBin.js +0 -56
  316. package/es/svg/EmptyReports.js +0 -56
  317. package/es/svg/EmptyRoles.js +0 -56
  318. package/es/svg/EmptySearch.js +0 -56
  319. package/es/svg/EmptySkills.js +0 -62
  320. package/es/svg/EmptySnippet.js +0 -62
  321. package/es/svg/EmptyTag.js +0 -56
  322. package/es/svg/EmptyTask.js +0 -56
  323. package/es/svg/EmptyTeams.js +0 -56
  324. package/es/svg/EmptyTemplate.js +0 -57
  325. package/es/svg/EmptyTicket.js +0 -56
  326. package/es/svg/EmptyTimeEntry.js +0 -56
  327. package/es/svg/EmptyTopic.js +0 -56
  328. package/es/svg/EmptyWebhook.js +0 -56
  329. package/es/svg/FailureLog.js +0 -56
  330. package/es/svg/Inconvenience.js +0 -65
  331. package/es/svg/InvalidUrl.js +0 -780
  332. package/es/svg/Loader.js +0 -49
  333. package/es/svg/NoRequestFound.js +0 -65
  334. package/es/svg/PageNotFound.js +0 -65
  335. package/es/svg/SVG.js +0 -102
  336. package/es/svg/SitBack.js +0 -54
  337. package/es/svg/UnableToProcessRequest.js +0 -65
  338. package/es/svg/UnauthorizedLogin.js +0 -65
  339. package/es/svg/UrlNotFound.js +0 -65
  340. package/es/svg/WillBeRightBack.js +0 -65
  341. package/es/svg/docs/SVG__default.docs.js +0 -605
  342. package/es/svg/images/EmptyAccounts.svg +0 -55
  343. package/es/svg/images/EmptyActiveCalls.svg +0 -57
  344. package/es/svg/images/EmptyActivity.svg +0 -85
  345. package/es/svg/images/EmptyAgent.svg +0 -52
  346. package/es/svg/images/EmptyArchived.svg +0 -38
  347. package/es/svg/images/EmptyAttach.svg +0 -39
  348. package/es/svg/images/EmptyBlueprint.svg +0 -78
  349. package/es/svg/images/EmptyCallHistory.svg +0 -46
  350. package/es/svg/images/EmptyCloud.svg +0 -38
  351. package/es/svg/images/EmptyContact.svg +0 -33
  352. package/es/svg/images/EmptyConversation.svg +0 -38
  353. package/es/svg/images/EmptyDashboard.svg +0 -42
  354. package/es/svg/images/EmptyEdition.svg +0 -76
  355. package/es/svg/images/EmptyHappiness.svg +0 -58
  356. package/es/svg/images/EmptyHistory.svg +0 -44
  357. package/es/svg/images/EmptyInvoice.svg +0 -45
  358. package/es/svg/images/EmptyNotification.svg +0 -38
  359. package/es/svg/images/EmptyProducts.svg +0 -57
  360. package/es/svg/images/EmptyReports.svg +0 -39
  361. package/es/svg/images/EmptySearch.svg +0 -37
  362. package/es/svg/images/EmptySkills.svg +0 -75
  363. package/es/svg/images/EmptySnippet.svg +0 -46
  364. package/es/svg/images/EmptyTag.svg +0 -43
  365. package/es/svg/images/EmptyTask.svg +0 -42
  366. package/es/svg/images/EmptyTeams.svg +0 -39
  367. package/es/svg/images/EmptyTemplate.svg +0 -39
  368. package/es/svg/images/EmptyTicket.svg +0 -33
  369. package/es/svg/images/EmptyTimeEntry.svg +0 -96
  370. package/es/svg/images/EmptyTopic.svg +0 -41
  371. package/es/svg/images/Loader.svg +0 -62
  372. package/es/svg/images/SitBack.svg +0 -464
  373. package/lib/svg/EmptyAccounts.js +0 -79
  374. package/lib/svg/EmptyActiveCalls.js +0 -86
  375. package/lib/svg/EmptyActivity.js +0 -81
  376. package/lib/svg/EmptyAgent.js +0 -78
  377. package/lib/svg/EmptyArchived.js +0 -77
  378. package/lib/svg/EmptyAttach.js +0 -78
  379. package/lib/svg/EmptyBlueprint.js +0 -78
  380. package/lib/svg/EmptyBusinessHoliday.js +0 -78
  381. package/lib/svg/EmptyBusinessHour.js +0 -78
  382. package/lib/svg/EmptyCallHistory.js +0 -86
  383. package/lib/svg/EmptyCloud.js +0 -77
  384. package/lib/svg/EmptyCloudDanger.js +0 -147
  385. package/lib/svg/EmptyContact.js +0 -79
  386. package/lib/svg/EmptyConversation.js +0 -78
  387. package/lib/svg/EmptyDashboard.js +0 -78
  388. package/lib/svg/EmptyEdition.js +0 -78
  389. package/lib/svg/EmptyFromAddress.js +0 -78
  390. package/lib/svg/EmptyHappiness.js +0 -78
  391. package/lib/svg/EmptyHistory.js +0 -85
  392. package/lib/svg/EmptyImportHistory.js +0 -78
  393. package/lib/svg/EmptyInvoice.js +0 -78
  394. package/lib/svg/EmptyNetwork.js +0 -78
  395. package/lib/svg/EmptyNotification.js +0 -78
  396. package/lib/svg/EmptyProducts.js +0 -78
  397. package/lib/svg/EmptyRecycleBin.js +0 -78
  398. package/lib/svg/EmptyReports.js +0 -78
  399. package/lib/svg/EmptyRoles.js +0 -78
  400. package/lib/svg/EmptySearch.js +0 -78
  401. package/lib/svg/EmptySkills.js +0 -84
  402. package/lib/svg/EmptySnippet.js +0 -84
  403. package/lib/svg/EmptyTag.js +0 -78
  404. package/lib/svg/EmptyTask.js +0 -78
  405. package/lib/svg/EmptyTeams.js +0 -78
  406. package/lib/svg/EmptyTemplate.js +0 -79
  407. package/lib/svg/EmptyTicket.js +0 -78
  408. package/lib/svg/EmptyTimeEntry.js +0 -78
  409. package/lib/svg/EmptyTopic.js +0 -78
  410. package/lib/svg/EmptyWebhook.js +0 -78
  411. package/lib/svg/FailureLog.js +0 -78
  412. package/lib/svg/Inconvenience.js +0 -87
  413. package/lib/svg/InvalidUrl.js +0 -799
  414. package/lib/svg/Loader.js +0 -71
  415. package/lib/svg/NoRequestFound.js +0 -87
  416. package/lib/svg/PageNotFound.js +0 -87
  417. package/lib/svg/SVG.js +0 -121
  418. package/lib/svg/SitBack.js +0 -76
  419. package/lib/svg/UnableToProcessRequest.js +0 -87
  420. package/lib/svg/UnauthorizedLogin.js +0 -87
  421. package/lib/svg/UrlNotFound.js +0 -87
  422. package/lib/svg/WillBeRightBack.js +0 -87
  423. package/lib/svg/docs/SVG__default.docs.js +0 -765
  424. package/lib/svg/images/EmptyAccounts.svg +0 -55
  425. package/lib/svg/images/EmptyActiveCalls.svg +0 -57
  426. package/lib/svg/images/EmptyActivity.svg +0 -85
  427. package/lib/svg/images/EmptyAgent.svg +0 -52
  428. package/lib/svg/images/EmptyArchived.svg +0 -38
  429. package/lib/svg/images/EmptyAttach.svg +0 -39
  430. package/lib/svg/images/EmptyBlueprint.svg +0 -78
  431. package/lib/svg/images/EmptyBusinessHoliday.svg +0 -50
  432. package/lib/svg/images/EmptyBusinessHour.svg +0 -42
  433. package/lib/svg/images/EmptyCallHistory.svg +0 -46
  434. package/lib/svg/images/EmptyCloud.svg +0 -38
  435. package/lib/svg/images/EmptyContact.svg +0 -33
  436. package/lib/svg/images/EmptyContactInfo.svg +0 -27
  437. package/lib/svg/images/EmptyConversation.svg +0 -38
  438. package/lib/svg/images/EmptyDashboard.svg +0 -42
  439. package/lib/svg/images/EmptyEdition.svg +0 -76
  440. package/lib/svg/images/EmptyFilter.svg +0 -62
  441. package/lib/svg/images/EmptyFromAddress.svg +0 -41
  442. package/lib/svg/images/EmptyHappiness.svg +0 -58
  443. package/lib/svg/images/EmptyHistory.svg +0 -44
  444. package/lib/svg/images/EmptyImportHistory.svg +0 -43
  445. package/lib/svg/images/EmptyInvoice.svg +0 -45
  446. package/lib/svg/images/EmptyNetwork.svg +0 -50
  447. package/lib/svg/images/EmptyNotification.svg +0 -38
  448. package/lib/svg/images/EmptyProducts.svg +0 -57
  449. package/lib/svg/images/EmptyRecycleBin.svg +0 -58
  450. package/lib/svg/images/EmptyReports.svg +0 -39
  451. package/lib/svg/images/EmptyRoles.svg +0 -30
  452. package/lib/svg/images/EmptySearch.svg +0 -37
  453. package/lib/svg/images/EmptySkills.svg +0 -75
  454. package/lib/svg/images/EmptySnippet.svg +0 -46
  455. package/lib/svg/images/EmptyTag.svg +0 -43
  456. package/lib/svg/images/EmptyTask.svg +0 -42
  457. package/lib/svg/images/EmptyTeams.svg +0 -39
  458. package/lib/svg/images/EmptyTemplate.svg +0 -39
  459. package/lib/svg/images/EmptyTicket.svg +0 -33
  460. package/lib/svg/images/EmptyTimeEntry.svg +0 -96
  461. package/lib/svg/images/EmptyTopic.svg +0 -41
  462. package/lib/svg/images/EmptyWebhook.svg +0 -44
  463. package/lib/svg/images/FailureLog.svg +0 -46
  464. package/lib/svg/images/Inconvenience.svg +0 -719
  465. package/lib/svg/images/Loader.svg +0 -62
  466. package/lib/svg/images/NoRequestFound.svg +0 -247
  467. package/lib/svg/images/PageNotFound.svg +0 -405
  468. package/lib/svg/images/ReguestUrlNotFound.svg +0 -267
  469. package/lib/svg/images/SitBack.svg +0 -464
  470. package/lib/svg/images/UnableToProcess.svg +0 -752
  471. package/lib/svg/images/UnauthorizedLogin.svg +0 -1047
  472. package/lib/svg/images/WillBack.svg +0 -633
  473. package/src/.DS_Store +0 -0
  474. package/src/index.js +0 -7
  475. package/src/svg/.DS_Store +0 -0
  476. package/src/svg/EmptyAccounts.js +0 -30
  477. package/src/svg/EmptyActiveCalls.js +0 -36
  478. package/src/svg/EmptyActivity.js +0 -31
  479. package/src/svg/EmptyAgent.js +0 -29
  480. package/src/svg/EmptyArchived.js +0 -28
  481. package/src/svg/EmptyAttach.js +0 -29
  482. package/src/svg/EmptyBlueprint.js +0 -29
  483. package/src/svg/EmptyBusinessHoliday.js +0 -29
  484. package/src/svg/EmptyBusinessHour.js +0 -29
  485. package/src/svg/EmptyCallHistory.js +0 -36
  486. package/src/svg/EmptyCloud.js +0 -28
  487. package/src/svg/EmptyCloudDanger.js +0 -104
  488. package/src/svg/EmptyContact.js +0 -30
  489. package/src/svg/EmptyConversation.js +0 -29
  490. package/src/svg/EmptyDashboard.js +0 -29
  491. package/src/svg/EmptyEdition.js +0 -29
  492. package/src/svg/EmptyFromAddress.js +0 -29
  493. package/src/svg/EmptyHappiness.js +0 -29
  494. package/src/svg/EmptyHistory.js +0 -36
  495. package/src/svg/EmptyImportHistory.js +0 -29
  496. package/src/svg/EmptyInvoice.js +0 -29
  497. package/src/svg/EmptyNetwork.js +0 -29
  498. package/src/svg/EmptyNotification.js +0 -29
  499. package/src/svg/EmptyProducts.js +0 -29
  500. package/src/svg/EmptyRecycleBin.js +0 -29
  501. package/src/svg/EmptyReports.js +0 -29
  502. package/src/svg/EmptyRoles.js +0 -29
  503. package/src/svg/EmptySearch.js +0 -29
  504. package/src/svg/EmptySkills.js +0 -35
  505. package/src/svg/EmptySnippet.js +0 -35
  506. package/src/svg/EmptyTag.js +0 -29
  507. package/src/svg/EmptyTask.js +0 -29
  508. package/src/svg/EmptyTeams.js +0 -29
  509. package/src/svg/EmptyTemplate.js +0 -30
  510. package/src/svg/EmptyTicket.js +0 -29
  511. package/src/svg/EmptyTimeEntry.js +0 -29
  512. package/src/svg/EmptyTopic.js +0 -29
  513. package/src/svg/EmptyWebhook.js +0 -29
  514. package/src/svg/FailureLog.js +0 -29
  515. package/src/svg/Inconvenience.js +0 -38
  516. package/src/svg/InvalidUrl.js +0 -755
  517. package/src/svg/Loader.js +0 -25
  518. package/src/svg/NoRequestFound.js +0 -38
  519. package/src/svg/PageNotFound.js +0 -38
  520. package/src/svg/SVG.js +0 -88
  521. package/src/svg/SVG.module.css +0 -27
  522. package/src/svg/SitBack.js +0 -29
  523. package/src/svg/UnableToProcessRequest.js +0 -38
  524. package/src/svg/UnauthorizedLogin.js +0 -38
  525. package/src/svg/UrlNotFound.js +0 -38
  526. package/src/svg/WillBeRightBack.js +0 -38
  527. package/src/svg/docs/SVG__default.docs.js +0 -289
  528. package/src/svg/images/.DS_Store +0 -0
  529. package/src/svg/images/EmptyAccounts.svg +0 -55
  530. package/src/svg/images/EmptyActiveCalls.svg +0 -57
  531. package/src/svg/images/EmptyActivity.svg +0 -85
  532. package/src/svg/images/EmptyAgent.svg +0 -52
  533. package/src/svg/images/EmptyArchived.svg +0 -38
  534. package/src/svg/images/EmptyAttach.svg +0 -39
  535. package/src/svg/images/EmptyBlueprint.svg +0 -78
  536. package/src/svg/images/EmptyBusinessHoliday.svg +0 -50
  537. package/src/svg/images/EmptyBusinessHour.svg +0 -42
  538. package/src/svg/images/EmptyCallHistory.svg +0 -46
  539. package/src/svg/images/EmptyCloud.svg +0 -38
  540. package/src/svg/images/EmptyContact.svg +0 -33
  541. package/src/svg/images/EmptyContactInfo.svg +0 -27
  542. package/src/svg/images/EmptyConversation.svg +0 -38
  543. package/src/svg/images/EmptyDashboard.svg +0 -42
  544. package/src/svg/images/EmptyEdition.svg +0 -76
  545. package/src/svg/images/EmptyFilter.svg +0 -62
  546. package/src/svg/images/EmptyFromAddress.svg +0 -41
  547. package/src/svg/images/EmptyHappiness.svg +0 -58
  548. package/src/svg/images/EmptyHistory.svg +0 -44
  549. package/src/svg/images/EmptyImportHistory.svg +0 -43
  550. package/src/svg/images/EmptyInvoice.svg +0 -45
  551. package/src/svg/images/EmptyNetwork.svg +0 -50
  552. package/src/svg/images/EmptyNotification.svg +0 -38
  553. package/src/svg/images/EmptyProducts.svg +0 -57
  554. package/src/svg/images/EmptyRecycleBin.svg +0 -58
  555. package/src/svg/images/EmptyReports.svg +0 -39
  556. package/src/svg/images/EmptyRoles.svg +0 -30
  557. package/src/svg/images/EmptySearch.svg +0 -37
  558. package/src/svg/images/EmptySkills.svg +0 -75
  559. package/src/svg/images/EmptySnippet.svg +0 -46
  560. package/src/svg/images/EmptyTag.svg +0 -43
  561. package/src/svg/images/EmptyTask.svg +0 -42
  562. package/src/svg/images/EmptyTeams.svg +0 -39
  563. package/src/svg/images/EmptyTemplate.svg +0 -39
  564. package/src/svg/images/EmptyTicket.svg +0 -33
  565. package/src/svg/images/EmptyTimeEntry.svg +0 -96
  566. package/src/svg/images/EmptyTopic.svg +0 -41
  567. package/src/svg/images/EmptyWebhook.svg +0 -44
  568. package/src/svg/images/FailureLog.svg +0 -46
  569. package/src/svg/images/Inconvenience.svg +0 -719
  570. package/src/svg/images/Loader.svg +0 -62
  571. package/src/svg/images/NoRequestFound.svg +0 -247
  572. package/src/svg/images/PageNotFound.svg +0 -405
  573. package/src/svg/images/ReguestUrlNotFound.svg +0 -267
  574. package/src/svg/images/SitBack.svg +0 -464
  575. package/src/svg/images/UnableToProcess.svg +0 -752
  576. package/src/svg/images/UnauthorizedLogin.svg +0 -1047
  577. package/src/svg/images/WillBack.svg +0 -633
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,83 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{opacity:5.000000e-02;fill:#3F70B7;enable-background:new ;}
7
+ .st1{fill:none;stroke:#E56471;stroke-miterlimit:10;}
8
+ .st2{fill:none;stroke:#5CC1A5;stroke-miterlimit:10;}
9
+ .st3{fill:none;stroke:#3F70B7;stroke-linecap:round;stroke-linejoin:round;}
10
+ .st4{fill:none;stroke:#010101;stroke-linecap:round;stroke-linejoin:round;}
11
+ .st5{fill:none;stroke:#000000;stroke-miterlimit:10;}
12
+ .st6{opacity:0.25;fill:#3F70B7;enable-background:new ;}
13
+ .st7{opacity:0.25;}
14
+ .st8{clip-path:url(#SVGID_2_);}
15
+ .st9{fill:none;stroke:#3F70B7;stroke-width:0.5;stroke-miterlimit:10;}
16
+ .st10{clip-path:url(#SVGID_4_);}
17
+ </style>
18
+ <title>ReactEmpty</title>
19
+ <path class="st0" d="M86.5,62.5c0,0,46.9-30.9,70.7-21.5s40,87.4-26.1,122.4S35.2,122.2,35,108.7C34.7,95.6,35,64.4,86.5,62.5z"/>
20
+ <ellipse class="st1" cx="156" cy="31.7" rx="3.5" ry="3.5"/>
21
+ <ellipse class="st2" cx="79.6" cy="29.6" rx="2.1" ry="2.1"/>
22
+ <line class="st3" x1="23.3" y1="100.9" x2="22.9" y2="107"/>
23
+ <line class="st3" x1="20" y1="103.8" x2="26.2" y2="104.1"/>
24
+ <ellipse class="st4" cx="165.9" cy="154.1" rx="2.4" ry="2.4"/>
25
+ <line class="st2" x1="175.6" y1="117.2" x2="179.8" y2="121.8"/>
26
+ <line class="st2" x1="175.4" y1="121.6" x2="180" y2="117.4"/>
27
+ <path class="st5" d="M25.9,124.2c0,0,28.6-2.9,35.8-25.2s29.5-22.8,35.6-24.2l0.7-0.2c6.6-2.4,11.3-8.9,11.3-16.3
28
+ c0-9.5-7.7-17.2-17.2-17.2s-17.1,7.7-17.1,17.2c0,8.2,5.7,15,13.4,16.7l0,0c2.1,0.7,4.5,1.6,7.3,1.9c2.2,0.2,4.5,0.3,6.8,0.2
29
+ c5.3-0.2,18.5,2.2,23.3,13.8c6.3,15.4,16.9,30.2,36.4,30.2c0,0-44.3,6.3-51.1-23c0,0,3.2,1.1,0,15.1s-18.7,28.8-44.6,14.8
30
+ s-30.6,18.7-5,22.3s58.3-18.4,72.7-22s24.1,5,24.1,12.2c0,20.2-79.2,33.1-83.2-42.5"/>
31
+ <circle class="st6" cx="97.2" cy="58.1" r="17.1"/>
32
+ <g class="st7">
33
+ <g>
34
+ <defs>
35
+ <circle id="SVGID_1_" cx="147.6" cy="58.7" r="12.7"/>
36
+ </defs>
37
+ <clipPath id="SVGID_2_">
38
+ <use xlink:href="#SVGID_1_" style="overflow:visible;"/>
39
+ </clipPath>
40
+ <g class="st8">
41
+ <line class="st9" x1="162.5" y1="47.7" x2="158.4" y2="73.7"/>
42
+ <line class="st9" x1="160.9" y1="47.5" x2="156.8" y2="73.5"/>
43
+ <line class="st9" x1="159.3" y1="47.2" x2="155.2" y2="73.2"/>
44
+ <line class="st9" x1="157.7" y1="47" x2="153.6" y2="73"/>
45
+ <line class="st9" x1="156.1" y1="46.7" x2="151.9" y2="72.7"/>
46
+ <line class="st9" x1="154.5" y1="46.5" x2="150.4" y2="72.4"/>
47
+ <line class="st9" x1="152.9" y1="46.2" x2="148.7" y2="72.2"/>
48
+ <line class="st9" x1="151.3" y1="45.9" x2="147.1" y2="71.9"/>
49
+ <line class="st9" x1="149.7" y1="45.7" x2="145.5" y2="71.7"/>
50
+ <line class="st9" x1="148.1" y1="45.4" x2="143.9" y2="71.4"/>
51
+ <line class="st9" x1="146.5" y1="45.2" x2="142.3" y2="71.2"/>
52
+ <line class="st9" x1="144.9" y1="44.9" x2="140.7" y2="70.9"/>
53
+ <line class="st9" x1="143.2" y1="44.7" x2="139.1" y2="70.7"/>
54
+ <line class="st9" x1="141.6" y1="44.4" x2="137.5" y2="70.4"/>
55
+ <line class="st9" x1="140" y1="44.2" x2="135.9" y2="70.2"/>
56
+ <line class="st9" x1="138.4" y1="43.9" x2="134.3" y2="69.9"/>
57
+ <line class="st9" x1="136.8" y1="43.6" x2="132.7" y2="69.6"/>
58
+ </g>
59
+ </g>
60
+ <circle class="st9" cx="147.6" cy="58.7" r="12.7"/>
61
+ </g>
62
+ <g class="st7">
63
+ <g>
64
+ <defs>
65
+ <circle id="SVGID_3_" cx="34.3" cy="61.8" r="12.7"/>
66
+ </defs>
67
+ <clipPath id="SVGID_4_">
68
+ <use xlink:href="#SVGID_3_" style="overflow:visible;"/>
69
+ </clipPath>
70
+ <g class="st10">
71
+ <line class="st9" x1="47.7" y1="50.6" x2="43.5" y2="76.6"/>
72
+ <line class="st9" x1="44.5" y1="50.1" x2="40.3" y2="76.1"/>
73
+ <line class="st9" x1="41.2" y1="49.6" x2="37.1" y2="75.6"/>
74
+ <line class="st9" x1="38" y1="49" x2="33.9" y2="75.1"/>
75
+ <line class="st9" x1="34.8" y1="48.5" x2="30.7" y2="74.5"/>
76
+ <line class="st9" x1="31.6" y1="48" x2="27.5" y2="74"/>
77
+ <line class="st9" x1="28.4" y1="47.5" x2="24.2" y2="73.5"/>
78
+ <line class="st9" x1="25.2" y1="47" x2="21" y2="73"/>
79
+ </g>
80
+ </g>
81
+ <circle class="st9" cx="34.3" cy="61.8" r="12.7"/>
82
+ </g>
83
+ </svg>
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,117 @@
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 _defaultProps = require("./props/defaultProps");
13
+
14
+ var _propTypes = require("./props/propTypes");
15
+
16
+ var _SVG = _interopRequireDefault(require("./../SVG/SVG"));
17
+
18
+ var _SVGModule = _interopRequireDefault(require("./../SVG/SVG.module.css"));
19
+
20
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
21
+
22
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
23
+
24
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
25
+
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; }
27
+
28
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
29
+
30
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
+
32
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
33
+
34
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
35
+
36
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
37
+
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.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
41
+
42
+ var Loader = /*#__PURE__*/function (_React$PureComponent) {
43
+ _inherits(Loader, _React$PureComponent);
44
+
45
+ var _super = _createSuper(Loader);
46
+
47
+ function Loader(props) {
48
+ var _this;
49
+
50
+ _classCallCheck(this, Loader);
51
+
52
+ _this = _super.call(this, props);
53
+ _this.viewBoxStyle = {
54
+ animation: 'loaderone 2s linear infinite'
55
+ };
56
+ _this.defsStyle = {
57
+ animation: 'circleAnimation_1 1.5s linear infinite',
58
+ transformOrigin: 'center'
59
+ };
60
+ _this.circleStyle = {
61
+ animation: 'circleAnimation_2 1.2s linear infinite',
62
+ transformOrigin: 'center'
63
+ };
64
+ return _this;
65
+ }
66
+
67
+ _createClass(Loader, [{
68
+ key: "render",
69
+ value: function render() {
70
+ var dataId = this.props.dataId;
71
+ return /*#__PURE__*/_react["default"].createElement("div", {
72
+ className: _SVGModule["default"].center
73
+ }, /*#__PURE__*/_react["default"].createElement(_SVG["default"], {
74
+ viewBox: "0 0 40 40",
75
+ name: "Loader",
76
+ className: "".concat(_SVGModule["default"].loaderWrapper),
77
+ dataId: dataId,
78
+ styleName: this.viewBoxStyle
79
+ }, /*#__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", {
80
+ fill: "none",
81
+ stroke: "#089949",
82
+ strokeWidth: 2,
83
+ strokeLinecap: "round",
84
+ strokeLinejoin: "round",
85
+ cx: 20,
86
+ cy: 20,
87
+ r: 13,
88
+ style: this.defsStyle,
89
+ strokeDasharray: 82,
90
+ strokeDashoffset: 82
91
+ }), /*#__PURE__*/_react["default"].createElement("circle", {
92
+ fill: "none",
93
+ stroke: "#17c662",
94
+ strokeLinecap: "round",
95
+ strokeLinejoin: "round",
96
+ cx: 20,
97
+ cy: 20,
98
+ r: 8,
99
+ style: this.circleStyle,
100
+ strokeDasharray: 50,
101
+ strokeDashoffset: 50
102
+ })));
103
+ }
104
+ }]);
105
+
106
+ return Loader;
107
+ }(_react["default"].PureComponent);
108
+
109
+ exports["default"] = Loader;
110
+ Loader.propTypes = _propTypes.LoaderProps;
111
+ Loader.defaultProps = _defaultProps.LoaderDefaultProps;
112
+
113
+ if (false) {
114
+ Loader.docs = {
115
+ componentGroup: 'SVG'
116
+ };
117
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.LoaderDefaultProps = void 0;
7
+ var LoaderDefaultProps = {
8
+ dataId: 'loader'
9
+ };
10
+ exports.LoaderDefaultProps = LoaderDefaultProps;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.LoaderProps = void 0;
7
+
8
+ var _propTypes = _interopRequireDefault(require("prop-types"));
9
+
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
+
12
+ var LoaderProps = {
13
+ dataId: _propTypes["default"].string
14
+ };
15
+ exports.LoaderProps = LoaderProps;
@@ -0,0 +1,139 @@
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 _AppContainer = _interopRequireDefault(require("@zohodesk/components/lib/AppContainer/AppContainer"));
13
+
14
+ var _Layout = require("@zohodesk/components/lib/Layout");
15
+
16
+ var _ThemeTool = _interopRequireDefault(require("../../common/lib/ThemeTool/ThemeTool"));
17
+
18
+ require("@zohodesk/components/assets/Appearance/default/mode/defaultMode.module.css");
19
+
20
+ require("@zohodesk/components/assets/Appearance/dark/mode/darkMode.module.css");
21
+
22
+ require("../assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css");
23
+
24
+ require("../assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css");
25
+
26
+ require("../assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css");
27
+
28
+ require("../assets/Appearance/default/themes/red/redDefaultCTATheme.module.css");
29
+
30
+ require("../assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css");
31
+
32
+ require("../assets/Appearance/default/mode/defaultEmptyStates.module.css");
33
+
34
+ require("../assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css");
35
+
36
+ require("../assets/Appearance/dark/themes/green/greenDarkCTATheme.module.css");
37
+
38
+ require("../assets/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css");
39
+
40
+ require("../assets/Appearance/dark/themes/red/redDarkCTATheme.module.css");
41
+
42
+ require("../assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css");
43
+
44
+ require("../assets/Appearance/dark/mode/darkEmptyStates.module.css");
45
+
46
+ require("../assets/Appearance/pureDark/themes/blue/bluePureDarkCTATheme.module.css");
47
+
48
+ require("../assets/Appearance/pureDark/themes/green/greenPureDarkCTATheme.module.css");
49
+
50
+ require("../assets/Appearance/pureDark/themes/orange/orangePureDarkCTATheme.module.css");
51
+
52
+ require("../assets/Appearance/pureDark/themes/red/redPureDarkCTATheme.module.css");
53
+
54
+ require("../assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTATheme.module.css");
55
+
56
+ require("../assets/Appearance/pureDark/mode/pureDarkEmptyStates.module.css");
57
+
58
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
59
+
60
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
61
+
62
+ 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); } }
63
+
64
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
65
+
66
+ 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); }
67
+
68
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
69
+
70
+ 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); }; }
71
+
72
+ 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); }
73
+
74
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
75
+
76
+ 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; } }
77
+
78
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
79
+
80
+ var Provider = /*#__PURE__*/function (_React$Component) {
81
+ _inherits(Provider, _React$Component);
82
+
83
+ var _super = _createSuper(Provider);
84
+
85
+ function Provider(props) {
86
+ var _this;
87
+
88
+ _classCallCheck(this, Provider);
89
+
90
+ _this = _super.call(this, props);
91
+ _this.state = {
92
+ appearanceName: 'default',
93
+ themeName: 'blue'
94
+ };
95
+ _this.setTheme = _this.setTheme.bind(_assertThisInitialized(_this));
96
+ _this.setAppearance = _this.setAppearance.bind(_assertThisInitialized(_this));
97
+ return _this;
98
+ }
99
+
100
+ _createClass(Provider, [{
101
+ key: "setAppearance",
102
+ value: function setAppearance(mode) {
103
+ this.setState({
104
+ appearanceName: mode
105
+ });
106
+ }
107
+ }, {
108
+ key: "setTheme",
109
+ value: function setTheme(theme) {
110
+ this.setState({
111
+ themeName: theme
112
+ });
113
+ }
114
+ }, {
115
+ key: "render",
116
+ value: function render() {
117
+ var _this$state = this.state,
118
+ appearanceName = _this$state.appearanceName,
119
+ themeName = _this$state.themeName;
120
+ return /*#__PURE__*/_react["default"].createElement(_AppContainer["default"], {
121
+ customProps: {
122
+ ExtraProps: {
123
+ 'data-mode': appearanceName,
124
+ 'data-theme': themeName
125
+ }
126
+ }
127
+ }, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
128
+ scroll: "vertical"
129
+ }, this.props.children), /*#__PURE__*/_react["default"].createElement(_ThemeTool["default"], {
130
+ onThemeChange: this.setTheme,
131
+ onAppearanceChange: this.setAppearance
132
+ }));
133
+ }
134
+ }]);
135
+
136
+ return Provider;
137
+ }(_react["default"].Component);
138
+
139
+ exports["default"] = Provider;
package/lib/SVG/SVG.js ADDED
@@ -0,0 +1,107 @@
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 = require("./props/propTypes");
13
+
14
+ var _defaultProps = require("./props/defaultProps");
15
+
16
+ var _SVGModule = _interopRequireDefault(require("./SVG.module.css"));
17
+
18
+ var _EmptyStateVariablesModule = _interopRequireDefault(require("./../css/EmptyStateVariables.module.css"));
19
+
20
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
21
+
22
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
23
+
24
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
25
+
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; }
27
+
28
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
29
+
30
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
+
32
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
33
+
34
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
35
+
36
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
37
+
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.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
41
+
42
+ var SVG = /*#__PURE__*/function (_React$Component) {
43
+ _inherits(SVG, _React$Component);
44
+
45
+ var _super = _createSuper(SVG);
46
+
47
+ function SVG() {
48
+ _classCallCheck(this, SVG);
49
+
50
+ return _super.apply(this, arguments);
51
+ }
52
+
53
+ _createClass(SVG, [{
54
+ key: "render",
55
+ value: function render() {
56
+ var _this$props = this.props,
57
+ viewBox = _this$props.viewBox,
58
+ children = _this$props.children,
59
+ name = _this$props.name,
60
+ isRender = _this$props.isRender,
61
+ isSymbol = _this$props.isSymbol,
62
+ size = _this$props.size,
63
+ className = _this$props.className,
64
+ alignHorizontal = _this$props.alignHorizontal,
65
+ isFluid = _this$props.isFluid,
66
+ dataId = _this$props.dataId,
67
+ palette = _this$props.palette,
68
+ styleName = _this$props.styleName;
69
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, isSymbol ? /*#__PURE__*/_react["default"].createElement("div", {
70
+ hidden: true
71
+ }, /*#__PURE__*/_react["default"].createElement("svg", null, /*#__PURE__*/_react["default"].createElement("symbol", {
72
+ id: name,
73
+ viewBox: viewBox
74
+ }, children))) : null, isRender && isSymbol ? /*#__PURE__*/_react["default"].createElement("div", {
75
+ 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 : '', " "),
76
+ "aria-hidden": "true"
77
+ }, /*#__PURE__*/_react["default"].createElement("svg", {
78
+ height: "100%",
79
+ width: "100%",
80
+ "data-id": dataId
81
+ }, /*#__PURE__*/_react["default"].createElement("use", {
82
+ xlinkHref: "#".concat(name)
83
+ }))) : isRender ? /*#__PURE__*/_react["default"].createElement("div", {
84
+ 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 : '', " "),
85
+ "aria-hidden": "true"
86
+ }, /*#__PURE__*/_react["default"].createElement("svg", {
87
+ height: "100%",
88
+ width: "100%",
89
+ viewBox: viewBox,
90
+ "data-id": dataId,
91
+ style: styleName
92
+ }, children)) : null);
93
+ }
94
+ }]);
95
+
96
+ return SVG;
97
+ }(_react["default"].Component);
98
+
99
+ exports["default"] = SVG;
100
+ SVG.propTypes = _propTypes.SvgProps;
101
+ SVG.defaultProps = _defaultProps.SvgDefaultProps;
102
+
103
+ if (false) {
104
+ SVG.docs = {
105
+ componentGroup: 'SVG'
106
+ };
107
+ }
@@ -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,7 +17,6 @@
17
17
  height: var(--zd_size40);
18
18
  width: var(--zd_size40);
19
19
  }
20
-
21
20
  .center {
22
21
  height: 100%;
23
22
  width: 100%;
@@ -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 ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
30
+
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
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.SvgDefaultProps = void 0;
7
+ var SvgDefaultProps = {
8
+ alignHorizontal: true,
9
+ isRender: true,
10
+ className: '',
11
+ dataId: 'SVG',
12
+ name: '',
13
+ viewBox: '',
14
+ isSymbol: false,
15
+ isFluid: false,
16
+ palette: 'default'
17
+ };
18
+ exports.SvgDefaultProps = SvgDefaultProps;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.SvgProps = void 0;
7
+
8
+ var _propTypes = _interopRequireDefault(require("prop-types"));
9
+
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
+
12
+ var SvgProps = {
13
+ alignHorizontal: _propTypes["default"].bool,
14
+ children: _propTypes["default"].node,
15
+ className: _propTypes["default"].string,
16
+ dataId: _propTypes["default"].string,
17
+ isFluid: _propTypes["default"].bool,
18
+ isRender: _propTypes["default"].bool,
19
+ isSymbol: _propTypes["default"].bool,
20
+ name: _propTypes["default"].string,
21
+ size: _propTypes["default"].oneOf(['small', 'large']),
22
+ viewBox: _propTypes["default"].string,
23
+ palette: _propTypes["default"].oneOf(['default', 'dark']),
24
+ styleName: _propTypes["default"].node
25
+ };
26
+ exports.SvgProps = SvgProps;