@blaze-cms/plugin-data-ui 0.146.0-translations.6 → 0.147.0-rc-eagle.2

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 (273) hide show
  1. package/README.md +57 -0
  2. package/lib/components/EntityDataListing/EntityDataListing.js +21 -19
  3. package/lib/components/EntityDataListing/EntityDataListing.js.map +1 -1
  4. package/lib/components/EntityDataListing/index.js +2 -3
  5. package/lib/components/EntityDataListing/index.js.map +1 -1
  6. package/lib/components/EntityManager/Entity/EntitiyNavLinks/EntityNavLinks.js +18 -19
  7. package/lib/components/EntityManager/Entity/EntitiyNavLinks/EntityNavLinks.js.map +1 -1
  8. package/lib/components/EntityManager/Entity/EntitiyNavLinks/index.js +2 -3
  9. package/lib/components/EntityManager/Entity/EntitiyNavLinks/index.js.map +1 -1
  10. package/lib/components/EntityManager/Entity/Entity.js +289 -452
  11. package/lib/components/EntityManager/Entity/Entity.js.map +1 -1
  12. package/lib/components/EntityManager/Entity/EntityHeader/EntityHeader.js +62 -66
  13. package/lib/components/EntityManager/Entity/EntityHeader/EntityHeader.js.map +1 -1
  14. package/lib/components/EntityManager/Entity/EntityHeader/HeaderPreviewButton/HeaderPreviewButton.js +34 -50
  15. package/lib/components/EntityManager/Entity/EntityHeader/HeaderPreviewButton/HeaderPreviewButton.js.map +1 -1
  16. package/lib/components/EntityManager/Entity/EntityHeader/HeaderPreviewButton/index.js +2 -3
  17. package/lib/components/EntityManager/Entity/EntityHeader/HeaderPreviewButton/index.js.map +1 -1
  18. package/lib/components/EntityManager/Entity/EntityHeader/index.js +2 -3
  19. package/lib/components/EntityManager/Entity/EntityHeader/index.js.map +1 -1
  20. package/lib/components/EntityManager/Entity/SideBarRelations/container/CustomSidebarInfoContainer.js +20 -26
  21. package/lib/components/EntityManager/Entity/SideBarRelations/container/CustomSidebarInfoContainer.js.map +1 -1
  22. package/lib/components/EntityManager/Entity/SideBarRelations/helpers/build-dynamic-query.js +20 -17
  23. package/lib/components/EntityManager/Entity/SideBarRelations/helpers/build-dynamic-query.js.map +1 -1
  24. package/lib/components/EntityManager/Entity/SideBarRelations/hooks/useCustomSidebarData.js +34 -32
  25. package/lib/components/EntityManager/Entity/SideBarRelations/hooks/useCustomSidebarData.js.map +1 -1
  26. package/lib/components/EntityManager/Entity/SideBarRelations/index.js +104 -150
  27. package/lib/components/EntityManager/Entity/SideBarRelations/index.js.map +1 -1
  28. package/lib/components/EntityManager/Entity/SideBarRelations/presentational/CustomSidebarInfo.js +24 -24
  29. package/lib/components/EntityManager/Entity/SideBarRelations/presentational/CustomSidebarInfo.js.map +1 -1
  30. package/lib/components/EntityManager/Entity/actions-handlers/create/index.js +2 -3
  31. package/lib/components/EntityManager/Entity/actions-handlers/create/index.js.map +1 -1
  32. package/lib/components/EntityManager/Entity/actions-handlers/create/submit.js +42 -56
  33. package/lib/components/EntityManager/Entity/actions-handlers/create/submit.js.map +1 -1
  34. package/lib/components/EntityManager/Entity/actions-handlers/delete/delete.js +29 -45
  35. package/lib/components/EntityManager/Entity/actions-handlers/delete/delete.js.map +1 -1
  36. package/lib/components/EntityManager/Entity/actions-handlers/delete/index.js +2 -3
  37. package/lib/components/EntityManager/Entity/actions-handlers/delete/index.js.map +1 -1
  38. package/lib/components/EntityManager/Entity/actions-handlers/index.js +7 -8
  39. package/lib/components/EntityManager/Entity/actions-handlers/index.js.map +1 -1
  40. package/lib/components/EntityManager/Entity/actions-handlers/shared/index.js +2 -3
  41. package/lib/components/EntityManager/Entity/actions-handlers/shared/index.js.map +1 -1
  42. package/lib/components/EntityManager/Entity/actions-handlers/shared/publish.js +36 -57
  43. package/lib/components/EntityManager/Entity/actions-handlers/shared/publish.js.map +1 -1
  44. package/lib/components/EntityManager/Entity/actions-handlers/update/index.js +2 -3
  45. package/lib/components/EntityManager/Entity/actions-handlers/update/index.js.map +1 -1
  46. package/lib/components/EntityManager/Entity/actions-handlers/update/submit.js +47 -66
  47. package/lib/components/EntityManager/Entity/actions-handlers/update/submit.js.map +1 -1
  48. package/lib/components/EntityManager/Entity/index.js +2 -3
  49. package/lib/components/EntityManager/Entity/index.js.map +1 -1
  50. package/lib/components/EntityManager/EntityManager.js +91 -166
  51. package/lib/components/EntityManager/EntityManager.js.map +1 -1
  52. package/lib/components/EntityManager/index.js +2 -3
  53. package/lib/components/EntityManager/index.js.map +1 -1
  54. package/lib/components/EntityManager/utils/RecordEditContext/index.js +3 -4
  55. package/lib/components/EntityManager/utils/RecordEditContext/index.js.map +1 -1
  56. package/lib/components/EntityManager/utils/data-mappers.js +34 -46
  57. package/lib/components/EntityManager/utils/data-mappers.js.map +1 -1
  58. package/lib/components/EntityManager/utils/entity.js +35 -73
  59. package/lib/components/EntityManager/utils/entity.js.map +1 -1
  60. package/lib/components/EntityManager/utils/entityAvailableActions.js +51 -110
  61. package/lib/components/EntityManager/utils/entityAvailableActions.js.map +1 -1
  62. package/lib/components/EntityManager/utils/is-form-empty.js +6 -10
  63. package/lib/components/EntityManager/utils/is-form-empty.js.map +1 -1
  64. package/lib/components/EntityManager/utils/query.js +17 -10
  65. package/lib/components/EntityManager/utils/query.js.map +1 -1
  66. package/lib/components/InfoBoxes/InfoBoxTooltip.js +43 -0
  67. package/lib/components/InfoBoxes/InfoBoxTooltip.js.map +1 -0
  68. package/lib/components/InfoBoxes/InfoBoxes.js +19 -19
  69. package/lib/components/InfoBoxes/InfoBoxes.js.map +1 -1
  70. package/lib/components/InfoBoxes/container/InfoBoxContainer.js +26 -38
  71. package/lib/components/InfoBoxes/container/InfoBoxContainer.js.map +1 -1
  72. package/lib/components/InfoBoxes/helpers/build-dynamic-query.js +21 -16
  73. package/lib/components/InfoBoxes/helpers/build-dynamic-query.js.map +1 -1
  74. package/lib/components/InfoBoxes/hooks/useData.js +33 -30
  75. package/lib/components/InfoBoxes/hooks/useData.js.map +1 -1
  76. package/lib/components/InfoBoxes/hooks/useInfoBox.js +10 -10
  77. package/lib/components/InfoBoxes/hooks/useInfoBox.js.map +1 -1
  78. package/lib/components/InfoBoxes/index.js +2 -3
  79. package/lib/components/InfoBoxes/index.js.map +1 -1
  80. package/lib/components/InfoBoxes/presentational/InfoBox.js +28 -32
  81. package/lib/components/InfoBoxes/presentational/InfoBox.js.map +1 -1
  82. package/lib/components/InfoBoxes/presentational/InfoBoxLabel.js +11 -12
  83. package/lib/components/InfoBoxes/presentational/InfoBoxLabel.js.map +1 -1
  84. package/lib/components/InfoBoxes/presentational/InfoBoxValue.js +12 -12
  85. package/lib/components/InfoBoxes/presentational/InfoBoxValue.js.map +1 -1
  86. package/lib/components/ListingTable/ListingTable.js +163 -303
  87. package/lib/components/ListingTable/ListingTable.js.map +1 -1
  88. package/lib/components/ListingTable/ListingTableContent/ListingTableContent.js +61 -40
  89. package/lib/components/ListingTable/ListingTableContent/ListingTableContent.js.map +1 -1
  90. package/lib/components/ListingTable/ListingTableContent/index.js +2 -3
  91. package/lib/components/ListingTable/ListingTableContent/index.js.map +1 -1
  92. package/lib/components/ListingTable/SearchFilter/SearchContainer.js +215 -0
  93. package/lib/components/ListingTable/SearchFilter/SearchContainer.js.map +1 -0
  94. package/lib/components/ListingTable/SearchFilter/SearchFilter.js +48 -0
  95. package/lib/components/ListingTable/SearchFilter/SearchFilter.js.map +1 -0
  96. package/lib/components/ListingTable/SearchFilter/helpers.js +105 -0
  97. package/lib/components/ListingTable/SearchFilter/helpers.js.map +1 -0
  98. package/lib/components/ListingTable/SearchFilter/querys.js +13 -0
  99. package/lib/components/ListingTable/SearchFilter/querys.js.map +1 -0
  100. package/lib/components/ListingTable/TableActions/TableActions.js +27 -31
  101. package/lib/components/ListingTable/TableActions/TableActions.js.map +1 -1
  102. package/lib/components/ListingTable/TableActions/index.js +2 -3
  103. package/lib/components/ListingTable/TableActions/index.js.map +1 -1
  104. package/lib/components/ListingTable/index.js +2 -3
  105. package/lib/components/ListingTable/index.js.map +1 -1
  106. package/lib/components/ListingTable/mappers/populate-rows.js +104 -120
  107. package/lib/components/ListingTable/mappers/populate-rows.js.map +1 -1
  108. package/lib/components/ListingTable/service/index.js +66 -83
  109. package/lib/components/ListingTable/service/index.js.map +1 -1
  110. package/lib/components/Tabs/index.js +26 -42
  111. package/lib/components/Tabs/index.js.map +1 -1
  112. package/lib/components/hooks/useCallbackDebounce.js +5 -9
  113. package/lib/components/hooks/useCallbackDebounce.js.map +1 -1
  114. package/lib/constants.js +31 -29
  115. package/lib/constants.js.map +1 -1
  116. package/lib/icons/ContentIcon.js +17 -20
  117. package/lib/icons/ContentIcon.js.map +1 -1
  118. package/lib/icons/SettingsIcon.js +12 -15
  119. package/lib/icons/SettingsIcon.js.map +1 -1
  120. package/lib/icons/TaxonomyIcon.js +15 -18
  121. package/lib/icons/TaxonomyIcon.js.map +1 -1
  122. package/lib/icons/UsersIcon.js +11 -14
  123. package/lib/icons/UsersIcon.js.map +1 -1
  124. package/lib/icons/index.js +8 -9
  125. package/lib/icons/index.js.map +1 -1
  126. package/lib/index.js +81 -121
  127. package/lib/index.js.map +1 -1
  128. package/lib/utils/add-content-menu-items.js +67 -93
  129. package/lib/utils/add-content-menu-items.js.map +1 -1
  130. package/lib/utils/build-create-entity-mutation.js +12 -9
  131. package/lib/utils/build-create-entity-mutation.js.map +1 -1
  132. package/lib/utils/build-delete-entity-mutation.js +11 -8
  133. package/lib/utils/build-delete-entity-mutation.js.map +1 -1
  134. package/lib/utils/build-listing-query.js +20 -17
  135. package/lib/utils/build-listing-query.js.map +1 -1
  136. package/lib/utils/build-update-data-query.js +15 -9
  137. package/lib/utils/build-update-data-query.js.map +1 -1
  138. package/lib/utils/build-update-publish-unpublish-mutation.js +15 -8
  139. package/lib/utils/build-update-publish-unpublish-mutation.js.map +1 -1
  140. package/lib/utils/get-default-query-params.js +7 -6
  141. package/lib/utils/get-default-query-params.js.map +1 -1
  142. package/lib/utils/hoc/withContext.js +4 -6
  143. package/lib/utils/hoc/withContext.js.map +1 -1
  144. package/lib/utils/hooks/useToggle.js +4 -12
  145. package/lib/utils/hooks/useToggle.js.map +1 -1
  146. package/lib/utils/index.js +2 -3
  147. package/lib/utils/index.js.map +1 -1
  148. package/lib-es/components/EntityDataListing/EntityDataListing.js.map +1 -1
  149. package/lib-es/components/EntityDataListing/index.js.map +1 -1
  150. package/lib-es/components/EntityManager/Entity/EntitiyNavLinks/EntityNavLinks.js.map +1 -1
  151. package/lib-es/components/EntityManager/Entity/EntitiyNavLinks/index.js.map +1 -1
  152. package/lib-es/components/EntityManager/Entity/Entity.js +21 -28
  153. package/lib-es/components/EntityManager/Entity/Entity.js.map +1 -1
  154. package/lib-es/components/EntityManager/Entity/EntityHeader/EntityHeader.js.map +1 -1
  155. package/lib-es/components/EntityManager/Entity/EntityHeader/HeaderPreviewButton/HeaderPreviewButton.js +6 -1
  156. package/lib-es/components/EntityManager/Entity/EntityHeader/HeaderPreviewButton/HeaderPreviewButton.js.map +1 -1
  157. package/lib-es/components/EntityManager/Entity/EntityHeader/HeaderPreviewButton/index.js.map +1 -1
  158. package/lib-es/components/EntityManager/Entity/EntityHeader/index.js.map +1 -1
  159. package/lib-es/components/EntityManager/Entity/SideBarRelations/container/CustomSidebarInfoContainer.js.map +1 -1
  160. package/lib-es/components/EntityManager/Entity/SideBarRelations/helpers/build-dynamic-query.js +2 -0
  161. package/lib-es/components/EntityManager/Entity/SideBarRelations/helpers/build-dynamic-query.js.map +1 -1
  162. package/lib-es/components/EntityManager/Entity/SideBarRelations/hooks/useCustomSidebarData.js.map +1 -1
  163. package/lib-es/components/EntityManager/Entity/SideBarRelations/index.js +26 -7
  164. package/lib-es/components/EntityManager/Entity/SideBarRelations/index.js.map +1 -1
  165. package/lib-es/components/EntityManager/Entity/SideBarRelations/presentational/CustomSidebarInfo.js +8 -2
  166. package/lib-es/components/EntityManager/Entity/SideBarRelations/presentational/CustomSidebarInfo.js.map +1 -1
  167. package/lib-es/components/EntityManager/Entity/actions-handlers/create/index.js.map +1 -1
  168. package/lib-es/components/EntityManager/Entity/actions-handlers/create/submit.js.map +1 -1
  169. package/lib-es/components/EntityManager/Entity/actions-handlers/delete/delete.js.map +1 -1
  170. package/lib-es/components/EntityManager/Entity/actions-handlers/delete/index.js.map +1 -1
  171. package/lib-es/components/EntityManager/Entity/actions-handlers/index.js.map +1 -1
  172. package/lib-es/components/EntityManager/Entity/actions-handlers/shared/index.js.map +1 -1
  173. package/lib-es/components/EntityManager/Entity/actions-handlers/shared/publish.js.map +1 -1
  174. package/lib-es/components/EntityManager/Entity/actions-handlers/update/index.js.map +1 -1
  175. package/lib-es/components/EntityManager/Entity/actions-handlers/update/submit.js.map +1 -1
  176. package/lib-es/components/EntityManager/Entity/index.js.map +1 -1
  177. package/lib-es/components/EntityManager/EntityManager.js.map +1 -1
  178. package/lib-es/components/EntityManager/index.js.map +1 -1
  179. package/lib-es/components/EntityManager/utils/RecordEditContext/index.js.map +1 -1
  180. package/lib-es/components/EntityManager/utils/data-mappers.js.map +1 -1
  181. package/lib-es/components/EntityManager/utils/entity.js +6 -2
  182. package/lib-es/components/EntityManager/utils/entity.js.map +1 -1
  183. package/lib-es/components/EntityManager/utils/entityAvailableActions.js.map +1 -1
  184. package/lib-es/components/EntityManager/utils/is-form-empty.js.map +1 -1
  185. package/lib-es/components/EntityManager/utils/query.js.map +1 -1
  186. package/lib-es/components/InfoBoxes/InfoBoxTooltip.js +36 -0
  187. package/lib-es/components/InfoBoxes/InfoBoxTooltip.js.map +1 -0
  188. package/lib-es/components/InfoBoxes/InfoBoxes.js.map +1 -1
  189. package/lib-es/components/InfoBoxes/container/InfoBoxContainer.js.map +1 -1
  190. package/lib-es/components/InfoBoxes/helpers/build-dynamic-query.js +2 -0
  191. package/lib-es/components/InfoBoxes/helpers/build-dynamic-query.js.map +1 -1
  192. package/lib-es/components/InfoBoxes/hooks/useData.js.map +1 -1
  193. package/lib-es/components/InfoBoxes/hooks/useInfoBox.js.map +1 -1
  194. package/lib-es/components/InfoBoxes/index.js.map +1 -1
  195. package/lib-es/components/InfoBoxes/presentational/InfoBox.js +4 -1
  196. package/lib-es/components/InfoBoxes/presentational/InfoBox.js.map +1 -1
  197. package/lib-es/components/InfoBoxes/presentational/InfoBoxLabel.js.map +1 -1
  198. package/lib-es/components/InfoBoxes/presentational/InfoBoxValue.js.map +1 -1
  199. package/lib-es/components/ListingTable/ListingTable.js +12 -11
  200. package/lib-es/components/ListingTable/ListingTable.js.map +1 -1
  201. package/lib-es/components/ListingTable/ListingTableContent/ListingTableContent.js +34 -16
  202. package/lib-es/components/ListingTable/ListingTableContent/ListingTableContent.js.map +1 -1
  203. package/lib-es/components/ListingTable/ListingTableContent/index.js.map +1 -1
  204. package/lib-es/components/ListingTable/SearchFilter/SearchContainer.js +207 -0
  205. package/lib-es/components/ListingTable/SearchFilter/SearchContainer.js.map +1 -0
  206. package/lib-es/components/ListingTable/SearchFilter/SearchFilter.js +40 -0
  207. package/lib-es/components/ListingTable/SearchFilter/SearchFilter.js.map +1 -0
  208. package/lib-es/components/ListingTable/SearchFilter/helpers.js +96 -0
  209. package/lib-es/components/ListingTable/SearchFilter/helpers.js.map +1 -0
  210. package/lib-es/components/ListingTable/SearchFilter/querys.js +8 -0
  211. package/lib-es/components/ListingTable/SearchFilter/querys.js.map +1 -0
  212. package/lib-es/components/ListingTable/TableActions/TableActions.js.map +1 -1
  213. package/lib-es/components/ListingTable/TableActions/index.js.map +1 -1
  214. package/lib-es/components/ListingTable/index.js.map +1 -1
  215. package/lib-es/components/ListingTable/mappers/populate-rows.js +3 -0
  216. package/lib-es/components/ListingTable/mappers/populate-rows.js.map +1 -1
  217. package/lib-es/components/ListingTable/service/index.js +3 -2
  218. package/lib-es/components/ListingTable/service/index.js.map +1 -1
  219. package/lib-es/components/Tabs/index.js +6 -7
  220. package/lib-es/components/Tabs/index.js.map +1 -1
  221. package/lib-es/components/hooks/useCallbackDebounce.js.map +1 -1
  222. package/lib-es/constants.js +4 -1
  223. package/lib-es/constants.js.map +1 -1
  224. package/lib-es/icons/ContentIcon.js.map +1 -1
  225. package/lib-es/icons/SettingsIcon.js.map +1 -1
  226. package/lib-es/icons/TaxonomyIcon.js.map +1 -1
  227. package/lib-es/icons/UsersIcon.js.map +1 -1
  228. package/lib-es/icons/index.js.map +1 -1
  229. package/lib-es/index.js +11 -3
  230. package/lib-es/index.js.map +1 -1
  231. package/lib-es/utils/add-content-menu-items.js.map +1 -1
  232. package/lib-es/utils/build-create-entity-mutation.js.map +1 -1
  233. package/lib-es/utils/build-delete-entity-mutation.js.map +1 -1
  234. package/lib-es/utils/build-listing-query.js +4 -4
  235. package/lib-es/utils/build-listing-query.js.map +1 -1
  236. package/lib-es/utils/build-update-data-query.js.map +1 -1
  237. package/lib-es/utils/build-update-publish-unpublish-mutation.js.map +1 -1
  238. package/lib-es/utils/get-default-query-params.js.map +1 -1
  239. package/lib-es/utils/hoc/withContext.js +1 -1
  240. package/lib-es/utils/hoc/withContext.js.map +1 -1
  241. package/lib-es/utils/hooks/useToggle.js.map +1 -1
  242. package/lib-es/utils/index.js.map +1 -1
  243. package/package.json +28 -22
  244. package/src/components/EntityManager/Entity/Entity.js +72 -80
  245. package/src/components/EntityManager/Entity/EntityHeader/EntityHeader.js +1 -2
  246. package/src/components/EntityManager/Entity/EntityHeader/HeaderPreviewButton/HeaderPreviewButton.js +8 -1
  247. package/src/components/EntityManager/Entity/SideBarRelations/helpers/build-dynamic-query.js +2 -0
  248. package/src/components/EntityManager/Entity/SideBarRelations/hooks/useCustomSidebarData.js +9 -7
  249. package/src/components/EntityManager/Entity/SideBarRelations/index.js +82 -59
  250. package/src/components/EntityManager/Entity/SideBarRelations/presentational/CustomSidebarInfo.js +5 -3
  251. package/src/components/EntityManager/EntityManager.js +52 -45
  252. package/src/components/EntityManager/utils/entity.js +13 -2
  253. package/src/components/InfoBoxes/InfoBoxTooltip.js +32 -0
  254. package/src/components/InfoBoxes/container/InfoBoxContainer.js +3 -6
  255. package/src/components/InfoBoxes/helpers/build-dynamic-query.js +2 -0
  256. package/src/components/InfoBoxes/hooks/useData.js +6 -1
  257. package/src/components/InfoBoxes/presentational/InfoBox.js +4 -2
  258. package/src/components/ListingTable/ListingTable.js +23 -31
  259. package/src/components/ListingTable/ListingTableContent/ListingTableContent.js +43 -27
  260. package/src/components/ListingTable/SearchFilter/SearchContainer.js +228 -0
  261. package/src/components/ListingTable/SearchFilter/SearchFilter.js +38 -0
  262. package/src/components/ListingTable/SearchFilter/helpers.js +99 -0
  263. package/src/components/ListingTable/SearchFilter/querys.js +9 -0
  264. package/src/components/ListingTable/mappers/populate-rows.js +3 -0
  265. package/src/components/ListingTable/service/index.js +3 -4
  266. package/src/components/Tabs/index.js +17 -21
  267. package/src/constants.js +9 -1
  268. package/src/index.js +9 -7
  269. package/src/utils/build-listing-query.js +4 -4
  270. package/src/utils/hoc/withContext.js +5 -4
  271. package/CHANGELOG.md +0 -1939
  272. package/babel.config.js +0 -3
  273. package/jest.config.js +0 -5
@@ -1 +1 @@
1
- {"version":3,"file":"ContentIcon.js","names":["_react","_interopRequireDefault","require","_constants","ContentIcon","_ref","_ref$fill","fill","ICON_COLOR","FILL","_ref$stroke","stroke","STROKE","createElement","width","height","viewBox","version","xmlns","xmlnsXlink","id","strokeWidth","fillRule","transform","d","strokeLinecap","strokeLinejoin","cx","cy","r","x1","y1","x2","y2","_default","exports"],"sources":["../../src/icons/ContentIcon.js"],"sourcesContent":["import React from 'react';\nimport { ICON_COLOR } from '../constants';\n\nfunction ContentIcon({ fill = ICON_COLOR.FILL, stroke = ICON_COLOR.STROKE }) {\n return (\n <svg\n width=\"19px\"\n height=\"19px\"\n viewBox=\"0 0 21 21\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlnsXlink=\"http://www.w3.org/1999/xlink\">\n <title>content</title>\n <g id=\"Page-1\" stroke=\"none\" strokeWidth={1} fill=\"none\" fillRule=\"evenodd\">\n <g id=\"content\" transform=\"translate(1, 1)\">\n <g id=\"Group\">\n <path\n d=\"M0,8.70833334 L5.445875,3.26245834 C6.37331215,2.33530123 7.87668785,2.33530123 8.804125,3.26245834 L14.25,8.70833334\"\n id=\"Shape-path\"\n stroke={stroke}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M11.875,6.33333334 L13.758375,4.44995834 C14.6858122,3.52280123 16.1891878,3.52280123 17.116625,4.44995834 L19,6.33333334\"\n id=\"Shape-path\"\n stroke={stroke}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M2.375,19 L16.625,19 C17.9366763,19 19,17.9366763 19,16.625 L19,2.375 C19,1.06332371 17.9366763,0 16.625,0 L2.375,0 C1.06332371,0 0,1.06332371 0,2.375 L0,16.625 C0,17.9366763 1.06332371,19 2.375,19 Z\"\n id=\"Shape-path\"\n stroke={stroke}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <circle\n id=\"Oval\"\n fill={fill}\n fillRule=\"nonzero\"\n cx=\"11.4791666\"\n cy=\"2.77083334\"\n r=\"1.1875\"\n />\n </g>\n <line\n x1={0}\n y1=\"9.23611111\"\n x2={19}\n y2=\"9.23611111\"\n id=\"Path\"\n stroke={stroke}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <line\n x1=\"3.95833334\"\n y1=\"12.4027778\"\n x2=\"15.3055553\"\n y2=\"12.4027778\"\n id=\"Path\"\n stroke={stroke}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <line\n x1=\"3.95833334\"\n y1=\"15.5694445\"\n x2=\"12.1388885\"\n y2=\"15.5694445\"\n id=\"Path\"\n stroke={stroke}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </g>\n </g>\n </svg>\n );\n}\n\nexport default ContentIcon;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAEA,SAASE,WAAWA,CAAAC,IAAA,EAAyD;EAAA,IAAAC,SAAA,GAAAD,IAAA,CAAtDE,IAAI;IAAJA,IAAI,G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AI,EAAEA,IAAK;IACXe,QAAQ,EAAC,SAAS;IAClBK,EAAE,EAAC,YAAY;IACfC,EAAE,EAAC,YAAY;IACfC,CAAC,EAAC;EAAQ,CACX,CACA,CAAC,eACJ7B,MAAA,YAAAa,aAAA;IACEiB,EAAE,EAAE,CAAE;IACNC,EAAE,EAAC,YAAY;IACfC,EAAE,EAAE,EAAG;IACPC,EAAE,EAAC,YAAY;IACfb,EAAE,EAAC,MAAM;IACTT,MAAM,EAAEA,MAAO;IACfc,aAAa,EAAC,OAAO;IACrBC,cAAc,EAAC;EAAO,CACvB,CAAC,eACF1B,MAAA,YAAAa,aAAA;IACEiB,EAAE,EAAC,YAAY;IACfC,EAAE,EAAC,YAAY;IACfC,EAAE,EAAC,YAAY;IACfC,EAAE,EAAC,YAAY;IACfb,EAAE,EAAC,MAAM;IACTT,MAAM,EAAEA,MAAO;IACfc,aAAa,EAAC,OAAO;IACrBC,cAAc,EAAC;EAAO,CACvB,CAAC,eACF1B,MAAA,YAAAa,aAAA;IACEiB,EAAE,EAAC,YAAY;IACfC,EAAE,EAAC,YAAY;IACfC,EAAE,EAAC,YAAY;IACfC,EAAE,EAAC,YAAY;IACfb,EAAE,EAAC,MAAM;IACTT,MAAM,EAAEA,MAAO;IACfc,aAAa,EAAC,OAAO;IACrBC,cAAc,EAAC;EAAO,CACvB,CACA,CACF,CACA,CAAC;AAEV;AAAC,IAAAQ,QAAA,GAAAC,OAAA,cAEc/B,WAAW"}
1
+ {"version":3,"file":"ContentIcon.js","names":["_react","_interopRequireDefault","require","_constants","ContentIcon","fill","ICON_COLOR","FILL","stroke","STROKE","default","createElement","width","height","viewBox","version","xmlns","xmlnsXlink","id","strokeWidth","fillRule","transform","d","strokeLinecap","strokeLinejoin","cx","cy","r","x1","y1","x2","y2","_default","exports"],"sources":["../../src/icons/ContentIcon.js"],"sourcesContent":["import React from 'react';\nimport { ICON_COLOR } from '../constants';\n\nfunction ContentIcon({ fill = ICON_COLOR.FILL, stroke = ICON_COLOR.STROKE }) {\n return (\n <svg\n width=\"19px\"\n height=\"19px\"\n viewBox=\"0 0 21 21\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlnsXlink=\"http://www.w3.org/1999/xlink\">\n <title>content</title>\n <g id=\"Page-1\" stroke=\"none\" strokeWidth={1} fill=\"none\" fillRule=\"evenodd\">\n <g id=\"content\" transform=\"translate(1, 1)\">\n <g id=\"Group\">\n <path\n d=\"M0,8.70833334 L5.445875,3.26245834 C6.37331215,2.33530123 7.87668785,2.33530123 8.804125,3.26245834 L14.25,8.70833334\"\n id=\"Shape-path\"\n stroke={stroke}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M11.875,6.33333334 L13.758375,4.44995834 C14.6858122,3.52280123 16.1891878,3.52280123 17.116625,4.44995834 L19,6.33333334\"\n id=\"Shape-path\"\n stroke={stroke}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M2.375,19 L16.625,19 C17.9366763,19 19,17.9366763 19,16.625 L19,2.375 C19,1.06332371 17.9366763,0 16.625,0 L2.375,0 C1.06332371,0 0,1.06332371 0,2.375 L0,16.625 C0,17.9366763 1.06332371,19 2.375,19 Z\"\n id=\"Shape-path\"\n stroke={stroke}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <circle\n id=\"Oval\"\n fill={fill}\n fillRule=\"nonzero\"\n cx=\"11.4791666\"\n cy=\"2.77083334\"\n r=\"1.1875\"\n />\n </g>\n <line\n x1={0}\n y1=\"9.23611111\"\n x2={19}\n y2=\"9.23611111\"\n id=\"Path\"\n stroke={stroke}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <line\n x1=\"3.95833334\"\n y1=\"12.4027778\"\n x2=\"15.3055553\"\n y2=\"12.4027778\"\n id=\"Path\"\n stroke={stroke}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <line\n x1=\"3.95833334\"\n y1=\"15.5694445\"\n x2=\"12.1388885\"\n y2=\"15.5694445\"\n id=\"Path\"\n stroke={stroke}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </g>\n </g>\n </svg>\n );\n}\n\nexport default ContentIcon;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAEA,SAASE,WAAWA,CAAC;EAAEC,IAAI,GAAGC,qBAAU,CAACC,IAAI;EAAEC,MAAM,GAAGF,qBAAU,CAACG;AAAO,CAAC,EAAE;EAC3E,oBACET,MAAA,CAAAU,OAAA,CAAAC,aAAA;IACEC,KAAK,EAAC,MAAM;IACZC,MAAM,EAAC,MAAM;IACbC,OAAO,EAAC,WAAW;IACnBC,OAAO,EAAC,KAAK;IACbC,KAAK,EAAC,4BAA4B;IAClCC,UAAU,EAAC;EAA8B,gBACzCjB,MAAA,CAAAU,OAAA,CAAAC,aAAA,gBAAO,SAAc,CAAC,eACtBX,MAAA,CAAAU,OAAA,CAAAC,aAAA;IAAGO,EAAE,EAAC,QAAQ;IAACV,MAAM,EAAC,MAAM;IAACW,WAAW,EAAE,CAAE;IAACd,IAAI,EAAC,MAAM;IAACe,QAAQ,EAAC;EAAS,gBACzEpB,MAAA,CAAAU,OAAA,CAAAC,aAAA;IAAGO,EAAE,EAAC,SAAS;IAACG,SAAS,EAAC;EAAiB,gBACzCrB,MAAA,CAAAU,OAAA,CAAAC,aAAA;IAAGO,EAAE,EAAC;EAAO,gBACXlB,MAAA,CAAAU,OAAA,CAAAC,aAAA;IACEW,CAAC,EAAC,uHAAuH;IACzHJ,EAAE,EAAC,YAAY;IACfV,MAAM,EAAEA,MAAO;IACfe,aAAa,EAAC,OAAO;IACrBC,cAAc,EAAC;EAAO,CACvB,CAAC,eACFxB,MAAA,CAAAU,OAAA,CAAAC,aAAA;IACEW,CAAC,EAAC,2HAA2H;IAC7HJ,EAAE,EAAC,YAAY;IACfV,MAAM,EAAE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,QAAA,GAAAC,OAAA,CAAAvB,OAAA,GAEcN,WAAW","ignoreList":[]}
@@ -1,28 +1,25 @@
1
1
  "use strict";
2
2
 
3
- require("core-js/modules/es.object.define-property.js");
4
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
- exports["default"] = void 0;
7
+ exports.default = void 0;
9
8
  var _react = _interopRequireDefault(require("react"));
10
9
  var _constants = require("../constants");
11
- function SettingsIcon(_ref) {
12
- var _ref$width = _ref.width,
13
- width = _ref$width === void 0 ? _constants.ICON_SIZE.WIDTH : _ref$width,
14
- _ref$height = _ref.height,
15
- height = _ref$height === void 0 ? _constants.ICON_SIZE.HEIGHT : _ref$height,
16
- _ref$stroke = _ref.stroke,
17
- stroke = _ref$stroke === void 0 ? _constants.ICON_COLOR.STROKE : _ref$stroke;
18
- return /*#__PURE__*/_react["default"].createElement("svg", {
10
+ function SettingsIcon({
11
+ width = _constants.ICON_SIZE.WIDTH,
12
+ height = _constants.ICON_SIZE.HEIGHT,
13
+ stroke = _constants.ICON_COLOR.STROKE
14
+ }) {
15
+ return /*#__PURE__*/_react.default.createElement("svg", {
19
16
  width: width,
20
17
  height: height,
21
18
  viewBox: "0 0 22 22",
22
19
  version: "1.1",
23
20
  xmlns: "http://www.w3.org/2000/svg",
24
21
  xmlnsXlink: "http://www.w3.org/1999/xlink"
25
- }, /*#__PURE__*/_react["default"].createElement("title", null, "setting"), /*#__PURE__*/_react["default"].createElement("g", {
22
+ }, /*#__PURE__*/_react.default.createElement("title", null, "setting"), /*#__PURE__*/_react.default.createElement("g", {
26
23
  id: "Page-1",
27
24
  stroke: "none",
28
25
  strokeWidth: 1,
@@ -30,17 +27,17 @@ function SettingsIcon(_ref) {
30
27
  fillRule: "evenodd",
31
28
  strokeLinecap: "round",
32
29
  strokeLinejoin: "round"
33
- }, /*#__PURE__*/_react["default"].createElement("g", {
30
+ }, /*#__PURE__*/_react.default.createElement("g", {
34
31
  id: "Group",
35
32
  transform: "translate(1, 1)",
36
33
  stroke: stroke
37
- }, /*#__PURE__*/_react["default"].createElement("path", {
34
+ }, /*#__PURE__*/_react.default.createElement("path", {
38
35
  d: "M8.13888889,1.46333333 C8.61222222,-0.487777777 11.3877778,-0.487777777 11.8611111,1.46333333 C12.0051589,2.05784356 12.4244819,2.54780471 12.9896128,2.78193979 C13.5547438,3.01607487 14.1977123,2.96622362 14.72,2.64777778 C16.4344444,1.60333333 18.3977778,3.56555556 17.3533333,5.28111111 C17.0353472,5.803171 16.9856162,6.44564563 17.2194755,7.0104213 C17.4533348,7.57519696 17.9426987,7.99444609 18.5366667,8.13888889 C20.4877778,8.61222222 20.4877778,11.3877778 18.5366667,11.8611111 C17.9421564,12.0051589 17.4521953,12.4244819 17.2180602,12.9896128 C16.9839251,13.5547438 17.0337764,14.1977123 17.3522222,14.72 C18.3966667,16.4344444 16.4344444,18.3977778 14.7188889,17.3533333 C14.196829,17.0353472 13.5543544,16.9856162 12.9895787,17.2194755 C12.424803,17.4533348 12.0055539,17.9426987 11.8611111,18.5366667 C11.3877778,20.4877778 8.61222222,20.4877778 8.13888889,18.5366667 C7.99484107,17.9421564 7.57551807,17.4521953 7.01038716,17.2180602 C6.44525624,16.9839251 5.80228769,17.0337764 5.28,17.3522222 C3.56555556,18.3966667 1.60222222,16.4344444 2.64666667,14.7188889 C2.96465281,14.196829 3.01438377,13.5543544 2.78052448,12.9895787 C2.5466652,12.424803 2.05730134,12.0055539 1.46333333,11.8611111 C-0.487777777,11.3877778 -0.487777777,8.61222222 1.46333333,8.13888889 C2.05784356,7.99484107 2.54780471,7.57551807 2.78193979,7.01038716 C3.01607487,6.44525624 2.96622362,5.80228769 2.64777778,5.28 C1.60333333,3.56555556 3.56555556,1.60222222 5.28111111,2.64666667 C6.38777778,3.32222222 7.83222222,2.72444444 8.13888889,1.46333333 Z",
39
36
  id: "Path"
40
- }), /*#__PURE__*/_react["default"].createElement("path", {
37
+ }), /*#__PURE__*/_react.default.createElement("path", {
41
38
  d: "M13.6666666,10.3333333 C13.6666666,12.1742825 12.1742825,13.6666666 10.3333333,13.6666666 C8.49238416,13.6666666 7,12.1742825 7,10.3333333 C7,8.49238416 8.49238416,7 10.3333333,7 C12.1742825,7 13.6666666,8.49238416 13.6666666,10.3333333 L13.6666666,10.3333333 Z",
42
39
  id: "Path"
43
40
  }))));
44
41
  }
45
- var _default = exports["default"] = SettingsIcon;
42
+ var _default = exports.default = SettingsIcon;
46
43
  //# sourceMappingURL=SettingsIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SettingsIcon.js","names":["_react","_interopRequireDefault","require","_constants","SettingsIcon","_ref","_ref$width","width","ICON_SIZE","WIDTH","_ref$height","height","HEIGHT","_ref$stroke","stroke","ICON_COLOR","STROKE","createElement","viewBox","version","xmlns","xmlnsXlink","id","strokeWidth","fill","fillRule","strokeLinecap","strokeLinejoin","transform","d","_default","exports"],"sources":["../../src/icons/SettingsIcon.js"],"sourcesContent":["import React from 'react';\nimport { ICON_SIZE, ICON_COLOR } from '../constants';\n\nfunction SettingsIcon({\n width = ICON_SIZE.WIDTH,\n height = ICON_SIZE.HEIGHT,\n stroke = ICON_COLOR.STROKE\n}) {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 22 22\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlnsXlink=\"http://www.w3.org/1999/xlink\">\n <title>setting</title>\n <g\n id=\"Page-1\"\n stroke=\"none\"\n strokeWidth={1}\n fill=\"none\"\n fillRule=\"evenodd\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\">\n <g id=\"Group\" transform=\"translate(1, 1)\" stroke={stroke}>\n <path\n d=\"M8.13888889,1.46333333 C8.61222222,-0.487777777 11.3877778,-0.487777777 11.8611111,1.46333333 C12.0051589,2.05784356 12.4244819,2.54780471 12.9896128,2.78193979 C13.5547438,3.01607487 14.1977123,2.96622362 14.72,2.64777778 C16.4344444,1.60333333 18.3977778,3.56555556 17.3533333,5.28111111 C17.0353472,5.803171 16.9856162,6.44564563 17.2194755,7.0104213 C17.4533348,7.57519696 17.9426987,7.99444609 18.5366667,8.13888889 C20.4877778,8.61222222 20.4877778,11.3877778 18.5366667,11.8611111 C17.9421564,12.0051589 17.4521953,12.4244819 17.2180602,12.9896128 C16.9839251,13.5547438 17.0337764,14.1977123 17.3522222,14.72 C18.3966667,16.4344444 16.4344444,18.3977778 14.7188889,17.3533333 C14.196829,17.0353472 13.5543544,16.9856162 12.9895787,17.2194755 C12.424803,17.4533348 12.0055539,17.9426987 11.8611111,18.5366667 C11.3877778,20.4877778 8.61222222,20.4877778 8.13888889,18.5366667 C7.99484107,17.9421564 7.57551807,17.4521953 7.01038716,17.2180602 C6.44525624,16.9839251 5.80228769,17.0337764 5.28,17.3522222 C3.56555556,18.3966667 1.60222222,16.4344444 2.64666667,14.7188889 C2.96465281,14.196829 3.01438377,13.5543544 2.78052448,12.9895787 C2.5466652,12.424803 2.05730134,12.0055539 1.46333333,11.8611111 C-0.487777777,11.3877778 -0.487777777,8.61222222 1.46333333,8.13888889 C2.05784356,7.99484107 2.54780471,7.57551807 2.78193979,7.01038716 C3.01607487,6.44525624 2.96622362,5.80228769 2.64777778,5.28 C1.60333333,3.56555556 3.56555556,1.60222222 5.28111111,2.64666667 C6.38777778,3.32222222 7.83222222,2.72444444 8.13888889,1.46333333 Z\"\n id=\"Path\"\n />\n <path\n d=\"M13.6666666,10.3333333 C13.6666666,12.1742825 12.1742825,13.6666666 10.3333333,13.6666666 C8.49238416,13.6666666 7,12.1742825 7,10.3333333 C7,8.49238416 8.49238416,7 10.3333333,7 C12.1742825,7 13.6666666,8.49238416 13.6666666,10.3333333 L13.6666666,10.3333333 Z\"\n id=\"Path\"\n />\n </g>\n </g>\n </svg>\n );\n}\n\nexport default SettingsIcon;\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UA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constants","SettingsIcon","width","ICON_SIZE","WIDTH","height","HEIGHT","stroke","ICON_COLOR","STROKE","default","createElement","viewBox","version","xmlns","xmlnsXlink","id","strokeWidth","fill","fillRule","strokeLinecap","strokeLinejoin","transform","d","_default","exports"],"sources":["../../src/icons/SettingsIcon.js"],"sourcesContent":["import React from 'react';\nimport { ICON_SIZE, ICON_COLOR } from '../constants';\n\nfunction SettingsIcon({\n width = ICON_SIZE.WIDTH,\n height = ICON_SIZE.HEIGHT,\n stroke = ICON_COLOR.STROKE\n}) {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 22 22\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlnsXlink=\"http://www.w3.org/1999/xlink\">\n <title>setting</title>\n <g\n id=\"Page-1\"\n stroke=\"none\"\n strokeWidth={1}\n fill=\"none\"\n fillRule=\"evenodd\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\">\n <g id=\"Group\" transform=\"translate(1, 1)\" stroke={stroke}>\n <path\n d=\"M8.13888889,1.46333333 C8.61222222,-0.487777777 11.3877778,-0.487777777 11.8611111,1.46333333 C12.0051589,2.05784356 12.4244819,2.54780471 12.9896128,2.78193979 C13.5547438,3.01607487 14.1977123,2.96622362 14.72,2.64777778 C16.4344444,1.60333333 18.3977778,3.56555556 17.3533333,5.28111111 C17.0353472,5.803171 16.9856162,6.44564563 17.2194755,7.0104213 C17.4533348,7.57519696 17.9426987,7.99444609 18.5366667,8.13888889 C20.4877778,8.61222222 20.4877778,11.3877778 18.5366667,11.8611111 C17.9421564,12.0051589 17.4521953,12.4244819 17.2180602,12.9896128 C16.9839251,13.5547438 17.0337764,14.1977123 17.3522222,14.72 C18.3966667,16.4344444 16.4344444,18.3977778 14.7188889,17.3533333 C14.196829,17.0353472 13.5543544,16.9856162 12.9895787,17.2194755 C12.424803,17.4533348 12.0055539,17.9426987 11.8611111,18.5366667 C11.3877778,20.4877778 8.61222222,20.4877778 8.13888889,18.5366667 C7.99484107,17.9421564 7.57551807,17.4521953 7.01038716,17.2180602 C6.44525624,16.9839251 5.80228769,17.0337764 5.28,17.3522222 C3.56555556,18.3966667 1.60222222,16.4344444 2.64666667,14.7188889 C2.96465281,14.196829 3.01438377,13.5543544 2.78052448,12.9895787 C2.5466652,12.424803 2.05730134,12.0055539 1.46333333,11.8611111 C-0.487777777,11.3877778 -0.487777777,8.61222222 1.46333333,8.13888889 C2.05784356,7.99484107 2.54780471,7.57551807 2.78193979,7.01038716 C3.01607487,6.44525624 2.96622362,5.80228769 2.64777778,5.28 C1.60333333,3.56555556 3.56555556,1.60222222 5.28111111,2.64666667 C6.38777778,3.32222222 7.83222222,2.72444444 8.13888889,1.46333333 Z\"\n id=\"Path\"\n />\n <path\n d=\"M13.6666666,10.3333333 C13.6666666,12.1742825 12.1742825,13.6666666 10.3333333,13.6666666 C8.49238416,13.6666666 7,12.1742825 7,10.3333333 C7,8.49238416 8.49238416,7 10.3333333,7 C12.1742825,7 13.6666666,8.49238416 13.6666666,10.3333333 L13.6666666,10.3333333 Z\"\n id=\"Path\"\n />\n </g>\n </g>\n </svg>\n );\n}\n\nexport default SettingsIcon;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAEA,SAASE,YAAYA,CAAC;EACpBC,KAAK,GAAGC,oBAAS,CAACC,KAAK;EACvBC,MAAM,GAAGF,oBAAS,CAACG,MAAM;EACzBC,MAAM,GAAGC,qBAAU,CAACC;AACtB,CAAC,EAAE;EACD,oBACEZ,MAAA,CAAAa,OAAA,CAAAC,aAAA;IACET,KAAK,EAAEA,KAAM;IACbG,MAAM,EAAEA,MAAO;IACfO,OAAO,EAAC,WAAW;IACnBC,OAAO,EAAC,KAAK;IACbC,KAAK,EAAC,4BAA4B;IAClCC,UAAU,EAAC;EAA8B,gBACzClB,MAAA,CAAAa,OAAA,CAAAC,aAAA,gBAAO,SAAc,CAAC,eACtBd,MAAA,CAAAa,OAAA,CAAAC,aAAA;IACEK,EAAE,EAAC,QAAQ;IACXT,MAAM,EAAC,MAAM;IACbU,WAAW,EAAE,CAAE;IACfC,IAAI,EAAC,MAAM;IACXC,QAAQ,EAAC,SAAS;IAClBC,aAAa,EAAC,OAAO;IACrBC,cAAc,EAAC;EAAO,gBACtBxB,MAAA,CAAAa,OAAA,CAAAC,aAAA;IAAGK,EAAE,EAAC,OAAO;IAACM,SAAS,EAAC,iBAAiB;IAACf,MAAM,EAAEA;EAAO,gBACvDV,MAAA,CAAAa,OAAA,CAAAC,aAAA;IACEY,CAAC,EAAC,ygDAAygD;IAC3gDP,EAAE,EAAC;EAAM,CACV,CAAC,eACFnB,MAAA,CAAAa,OAAA,CAAAC,aAAA;IACEY,CAAC,EAAC,uQAAuQ;IACzQP,EAAE,EAAC;EAAM,CACV,CACA,CACF,CACA,CAAC;AAEV;AAAC,IAAAQ,QAAA,GAAAC,OAAA,CAAAf,OAAA,GAEcT,YAAY","ignoreList":[]}
@@ -1,28 +1,25 @@
1
1
  "use strict";
2
2
 
3
- require("core-js/modules/es.object.define-property.js");
4
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
- exports["default"] = void 0;
7
+ exports.default = void 0;
9
8
  var _react = _interopRequireDefault(require("react"));
10
9
  var _constants = require("../constants");
11
- function TaxonomyIcon(_ref) {
12
- var _ref$width = _ref.width,
13
- width = _ref$width === void 0 ? _constants.ICON_SIZE.WIDTH : _ref$width,
14
- _ref$height = _ref.height,
15
- height = _ref$height === void 0 ? _constants.ICON_SIZE.HEIGHT : _ref$height,
16
- _ref$stroke = _ref.stroke,
17
- stroke = _ref$stroke === void 0 ? _constants.ICON_COLOR.STROKE : _ref$stroke;
18
- return /*#__PURE__*/_react["default"].createElement("svg", {
10
+ function TaxonomyIcon({
11
+ width = _constants.ICON_SIZE.WIDTH,
12
+ height = _constants.ICON_SIZE.HEIGHT,
13
+ stroke = _constants.ICON_COLOR.STROKE
14
+ }) {
15
+ return /*#__PURE__*/_react.default.createElement("svg", {
19
16
  width: width,
20
17
  height: height,
21
18
  viewBox: "0 0 22 22",
22
19
  version: "1.1",
23
20
  xmlns: "http://www.w3.org/2000/svg",
24
21
  xmlnsXlink: "http://www.w3.org/1999/xlink"
25
- }, /*#__PURE__*/_react["default"].createElement("title", null, "taxonomy"), /*#__PURE__*/_react["default"].createElement("g", {
22
+ }, /*#__PURE__*/_react.default.createElement("title", null, "taxonomy"), /*#__PURE__*/_react.default.createElement("g", {
26
23
  id: "Page-1",
27
24
  stroke: "none",
28
25
  strokeWidth: "1",
@@ -30,35 +27,35 @@ function TaxonomyIcon(_ref) {
30
27
  fillRule: "evenodd",
31
28
  strokeLinecap: "round",
32
29
  strokeLinejoin: "round"
33
- }, /*#__PURE__*/_react["default"].createElement("g", {
30
+ }, /*#__PURE__*/_react.default.createElement("g", {
34
31
  id: "Group",
35
32
  transform: "translate(1, 1)",
36
33
  stroke: stroke
37
- }, /*#__PURE__*/_react["default"].createElement("rect", {
34
+ }, /*#__PURE__*/_react.default.createElement("rect", {
38
35
  id: "Rectangle",
39
36
  x: "0",
40
37
  y: "13.2173913",
41
38
  width: "6.78260868",
42
39
  height: "6.60869564",
43
40
  rx: "1.5"
44
- }), /*#__PURE__*/_react["default"].createElement("rect", {
41
+ }), /*#__PURE__*/_react.default.createElement("rect", {
45
42
  id: "Rectangle",
46
43
  x: "13.2173913",
47
44
  y: "13.2173913",
48
45
  width: "6.78260868",
49
46
  height: "6.60869564",
50
47
  rx: "1.5"
51
- }), /*#__PURE__*/_react["default"].createElement("rect", {
48
+ }), /*#__PURE__*/_react.default.createElement("rect", {
52
49
  id: "Rectangle",
53
50
  x: "6.60869564",
54
51
  y: "0",
55
52
  width: "6.78260868",
56
53
  height: "6.60869564",
57
54
  rx: "1.5"
58
- }), /*#__PURE__*/_react["default"].createElement("path", {
55
+ }), /*#__PURE__*/_react.default.createElement("path", {
59
56
  d: "M3.30434782,13.2173913 L3.30434782,12.115942 C3.30434782,10.8993147 4.2906191,9.91304346 5.50724637,9.91304346 L14.3188405,9.91304346 C15.5354678,9.91304346 16.5217391,10.8993147 16.5217391,12.115942 L16.5217391,13.2173913",
60
57
  id: "Path"
61
- }), /*#__PURE__*/_react["default"].createElement("line", {
58
+ }), /*#__PURE__*/_react.default.createElement("line", {
62
59
  x1: "9.91304346",
63
60
  y1: "6.60869564",
64
61
  x2: "9.91304346",
@@ -66,5 +63,5 @@ function TaxonomyIcon(_ref) {
66
63
  id: "Path"
67
64
  }))));
68
65
  }
69
- var _default = exports["default"] = TaxonomyIcon;
66
+ var _default = exports.default = TaxonomyIcon;
70
67
  //# sourceMappingURL=TaxonomyIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TaxonomyIcon.js","names":["_react","_interopRequireDefault","require","_constants","TaxonomyIcon","_ref","_ref$width","width","ICON_SIZE","WIDTH","_ref$height","height","HEIGHT","_ref$stroke","stroke","ICON_COLOR","STROKE","createElement","viewBox","version","xmlns","xmlnsXlink","id","strokeWidth","fill","fillRule","strokeLinecap","strokeLinejoin","transform","x","y","rx","d","x1","y1","x2","y2","_default","exports"],"sources":["../../src/icons/TaxonomyIcon.js"],"sourcesContent":["import React from 'react';\nimport { ICON_SIZE, ICON_COLOR } from '../constants';\n\nfunction TaxonomyIcon({\n width = ICON_SIZE.WIDTH,\n height = ICON_SIZE.HEIGHT,\n stroke = ICON_COLOR.STROKE\n}) {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 22 22\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlnsXlink=\"http://www.w3.org/1999/xlink\">\n <title>taxonomy</title>\n <g\n id=\"Page-1\"\n stroke=\"none\"\n strokeWidth=\"1\"\n fill=\"none\"\n fillRule=\"evenodd\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\">\n <g id=\"Group\" transform=\"translate(1, 1)\" stroke={stroke}>\n <rect\n id=\"Rectangle\"\n x=\"0\"\n y=\"13.2173913\"\n width=\"6.78260868\"\n height=\"6.60869564\"\n rx=\"1.5\"\n />\n <rect\n id=\"Rectangle\"\n x=\"13.2173913\"\n y=\"13.2173913\"\n width=\"6.78260868\"\n height=\"6.60869564\"\n rx=\"1.5\"\n />\n <rect\n id=\"Rectangle\"\n x=\"6.60869564\"\n y=\"0\"\n width=\"6.78260868\"\n height=\"6.60869564\"\n rx=\"1.5\"\n />\n <path\n d=\"M3.30434782,13.2173913 L3.30434782,12.115942 C3.30434782,10.8993147 4.2906191,9.91304346 5.50724637,9.91304346 L14.3188405,9.91304346 C15.5354678,9.91304346 16.5217391,10.8993147 16.5217391,12.115942 L16.5217391,13.2173913\"\n id=\"Path\"\n />\n <line x1=\"9.91304346\" y1=\"6.60869564\" x2=\"9.91304346\" y2=\"9.91304346\" id=\"Path\" />\n </g>\n </g>\n </svg>\n );\n}\n\nexport default TaxonomyIcon;\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAEA,SAASE,YAAYA,CAAAC,IAAA,EAIlB;EAAA,IAAAC,UAAA,GAAAD,IAAA,CAHDE,KAAK;IAALA,KAAK,GAAAD,UAAA,cAAGE,oBAAS,CAACC,KAAK,GAAAH,UAAA;IAAAI,WAAA,GAAAL,IAAA,CACvBM,MAAM;IAANA,MAAM,GAAAD,WAAA,cAAGF,oBAAS,CAACI,MAAM,GAAAF,WAAA;IAAAG,WAAA,GAAAR,IAAA,CACzBS,MAAM;IAANA,MAAM,GAAAD,WAAA,cAAGE,qBAAU,CAACC,MAAM,GAAAH,WAAA;EAE1B,oBACEb,MAAA,YAAAiB,aAAA;IACEV,KAAK,EAAEA,KAAM;IACbI,MAAM,EAAEA,MAAO;IACfO,OAAO,EAAC,WAAW;IACnBC,OAAO,EAAC,KAAK;IACbC,KAAK,EAAC,4BAA4B;IAClCC,UAAU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AAAC,OAAA,cAEclC,YAAY"}
1
+ {"version":3,"file":"TaxonomyIcon.js","names":["_react","_interopRequireDefault","require","_constants","TaxonomyIcon","width","ICON_SIZE","WIDTH","height","HEIGHT","stroke","ICON_COLOR","STROKE","default","createElement","viewBox","version","xmlns","xmlnsXlink","id","strokeWidth","fill","fillRule","strokeLinecap","strokeLinejoin","transform","x","y","rx","d","x1","y1","x2","y2","_default","exports"],"sources":["../../src/icons/TaxonomyIcon.js"],"sourcesContent":["import React from 'react';\nimport { ICON_SIZE, ICON_COLOR } from '../constants';\n\nfunction TaxonomyIcon({\n width = ICON_SIZE.WIDTH,\n height = ICON_SIZE.HEIGHT,\n stroke = ICON_COLOR.STROKE\n}) {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 22 22\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlnsXlink=\"http://www.w3.org/1999/xlink\">\n <title>taxonomy</title>\n <g\n id=\"Page-1\"\n stroke=\"none\"\n strokeWidth=\"1\"\n fill=\"none\"\n fillRule=\"evenodd\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\">\n <g id=\"Group\" transform=\"translate(1, 1)\" stroke={stroke}>\n <rect\n id=\"Rectangle\"\n x=\"0\"\n y=\"13.2173913\"\n width=\"6.78260868\"\n height=\"6.60869564\"\n rx=\"1.5\"\n />\n <rect\n id=\"Rectangle\"\n x=\"13.2173913\"\n y=\"13.2173913\"\n width=\"6.78260868\"\n height=\"6.60869564\"\n rx=\"1.5\"\n />\n <rect\n id=\"Rectangle\"\n x=\"6.60869564\"\n y=\"0\"\n width=\"6.78260868\"\n height=\"6.60869564\"\n rx=\"1.5\"\n />\n <path\n d=\"M3.30434782,13.2173913 L3.30434782,12.115942 C3.30434782,10.8993147 4.2906191,9.91304346 5.50724637,9.91304346 L14.3188405,9.91304346 C15.5354678,9.91304346 16.5217391,10.8993147 16.5217391,12.115942 L16.5217391,13.2173913\"\n id=\"Path\"\n />\n <line x1=\"9.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,YAAY;IACdC,CAAC,EAAC,YAAY;IACdtB,KAAK,EAAC,YAAY;IAClBG,MAAM,EAAC,YAAY;IACnBoB,EAAE,EAAC;EAAK,CACT,CAAC,eACF5B,MAAA,CAAAa,OAAA,CAAAC,aAAA;IACEK,EAAE,EAAC,WAAW;IACdO,CAAC,EAAC,YAAY;IACdC,CAAC,EAAC,GAAG;IACLtB,KAAK,EAAC,YAAY;IAClBG,MAAM,EAAC,YAAY;IACnBoB,EAAE,EAAC;EAAK,CACT,CAAC,eACF5B,MAAA,CAAAa,OAAA,CAAAC,aAAA;IACEe,CAAC,EAAC,gOAAgO;IAClOV,EAAE,EAAC;EAAM,CACV,CAAC,eACFnB,MAAA,CAAAa,OAAA,CAAAC,aAAA;IAAMgB,EAAE,EAAC,YAAY;IAACC,EAAE,EAAC,YAAY;IAACC,EAAE,EAAC,YAAY;IAACC,EAAE,EAAC,YAAY;IAACd,EAAE,EAAC;EAAM,CAAE,CAChF,CACF,CACA,CAAC;AAEV;AAAC,IAAAe,QAAA,GAAAC,OAAA,CAAAtB,OAAA,GAEcT,YAAY","ignoreList":[]}
@@ -1,28 +1,25 @@
1
1
  "use strict";
2
2
 
3
- require("core-js/modules/es.object.define-property.js");
4
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
- exports["default"] = void 0;
7
+ exports.default = void 0;
9
8
  var _react = _interopRequireDefault(require("react"));
10
9
  var _constants = require("../constants");
11
- function UserIcon(_ref) {
12
- var _ref$width = _ref.width,
13
- width = _ref$width === void 0 ? _constants.ICON_SIZE.WIDTH : _ref$width,
14
- _ref$height = _ref.height,
15
- height = _ref$height === void 0 ? _constants.ICON_SIZE.HEIGHT : _ref$height,
16
- _ref$stroke = _ref.stroke,
17
- stroke = _ref$stroke === void 0 ? _constants.ICON_COLOR.STROKE : _ref$stroke;
18
- return /*#__PURE__*/_react["default"].createElement("svg", {
10
+ function UserIcon({
11
+ width = _constants.ICON_SIZE.WIDTH,
12
+ height = _constants.ICON_SIZE.HEIGHT,
13
+ stroke = _constants.ICON_COLOR.STROKE
14
+ }) {
15
+ return /*#__PURE__*/_react.default.createElement("svg", {
19
16
  width: width,
20
17
  height: height,
21
18
  viewBox: "0 0 22 22",
22
19
  version: "1.1",
23
20
  xmlns: "http://www.w3.org/2000/svg",
24
21
  xmlnsXlink: "http://www.w3.org/1999/xlink"
25
- }, /*#__PURE__*/_react["default"].createElement("title", null, "user"), /*#__PURE__*/_react["default"].createElement("g", {
22
+ }, /*#__PURE__*/_react.default.createElement("title", null, "user"), /*#__PURE__*/_react.default.createElement("g", {
26
23
  id: "Page-1",
27
24
  stroke: "none",
28
25
  strokeWidth: 1,
@@ -30,14 +27,14 @@ function UserIcon(_ref) {
30
27
  fillRule: "evenodd",
31
28
  strokeLinecap: "round",
32
29
  strokeLinejoin: "round"
33
- }, /*#__PURE__*/_react["default"].createElement("g", {
30
+ }, /*#__PURE__*/_react.default.createElement("g", {
34
31
  id: "Group",
35
32
  transform: "translate(1, 0.76)",
36
33
  stroke: stroke
37
- }, /*#__PURE__*/_react["default"].createElement("path", {
34
+ }, /*#__PURE__*/_react.default.createElement("path", {
38
35
  d: "M2.35666666,16.4488888 C4.68824079,15.1310199 7.32175438,14.4403878 10,14.4444089 C12.7777778,14.4444089 15.3855556,15.1722221 17.6433334,16.4488888 M13.3333334,7.7777776 C13.3333334,9.61872677 11.8409492,11.1111109 10,11.1111109 C8.15905083,11.1111109 6.66666666,9.61872677 6.66666666,7.7777776 C6.66666666,5.93682842 8.15905083,4.44444425 10,4.44444425 C11.8409492,4.44444425 13.3333334,5.93682842 13.3333334,7.7777776 L13.3333334,7.7777776 Z M20,10 C20,13.5726558 18.0940108,16.8739261 15,18.660254 C11.9059893,20.446582 8.09401075,20.446582 5,18.660254 C1.90598917,16.8739261 0,13.5726558 0,10 C0,4.47715239 4.47715258,0 10,0 C15.5228474,0 20,4.47715239 20,10 L20,10 Z",
39
36
  id: "Shape"
40
37
  }))));
41
38
  }
42
- var _default = exports["default"] = UserIcon;
39
+ var _default = exports.default = UserIcon;
43
40
  //# sourceMappingURL=UsersIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UsersIcon.js","names":["_react","_interopRequireDefault","require","_constants","UserIcon","_ref","_ref$width","width","ICON_SIZE","WIDTH","_ref$height","height","HEIGHT","_ref$stroke","stroke","ICON_COLOR","STROKE","createElement","viewBox","version","xmlns","xmlnsXlink","id","strokeWidth","fill","fillRule","strokeLinecap","strokeLinejoin","transform","d","_default","exports"],"sources":["../../src/icons/UsersIcon.js"],"sourcesContent":["import React from 'react';\nimport { ICON_SIZE, ICON_COLOR } from '../constants';\n\nfunction UserIcon({\n width = ICON_SIZE.WIDTH,\n height = ICON_SIZE.HEIGHT,\n stroke = ICON_COLOR.STROKE\n}) {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 22 22\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlnsXlink=\"http://www.w3.org/1999/xlink\">\n <title>user</title>\n <g\n id=\"Page-1\"\n stroke=\"none\"\n strokeWidth={1}\n fill=\"none\"\n fillRule=\"evenodd\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\">\n <g id=\"Group\" transform=\"translate(1, 0.76)\" stroke={stroke}>\n <path\n d=\"M2.35666666,16.4488888 C4.68824079,15.1310199 7.32175438,14.4403878 10,14.4444089 C12.7777778,14.4444089 15.3855556,15.1722221 17.6433334,16.4488888 M13.3333334,7.7777776 C13.3333334,9.61872677 11.8409492,11.1111109 10,11.1111109 C8.15905083,11.1111109 6.66666666,9.61872677 6.66666666,7.7777776 C6.66666666,5.93682842 8.15905083,4.44444425 10,4.44444425 C11.8409492,4.44444425 13.3333334,5.93682842 13.3333334,7.7777776 L13.3333334,7.7777776 Z M20,10 C20,13.5726558 18.0940108,16.8739261 15,18.660254 C11.9059893,20.446582 8.09401075,20.446582 5,18.660254 C1.90598917,16.8739261 0,13.5726558 0,10 C0,4.47715239 4.47715258,0 10,0 C15.5228474,0 20,4.47715239 20,10 L20,10 Z\"\n id=\"Shape\"\n />\n </g>\n </g>\n </svg>\n );\n}\n\nexport default UserIcon;\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAEA,SAASE,QAAQA,CAAAC,IAAA,EAId;EAAA,IAAAC,UAAA,GAAAD,IAAA,CAHDE,KAAK;IAALA,KAAK,GAAAD,UAAA,cAAGE,oBAAS,CAACC,KAAK,GAAAH,UAAA;IAAAI,WAAA,GAAAL,IAAA,CACvBM,MAAM;IAANA,MAAM,GAAAD,WAAA,cAAGF,oBAAS,CAACI,MAAM,GAAAF,WAAA;IAAAG,WAAA,GAAAR,IAAA,CACzBS,MAAM;IAANA,MAAM,GAAAD,WAAA,cAAGE,qBAAU,CAACC,MAAM,GAAAH,WAAA;EAE1B,oBACEb,MAAA,YAAAiB,aAAA;IACEV,KAAK,EAAEA,KAAM;IACbI,MAAM,EAAEA,MAAO;IACfO,OAAO,EAAC,WAAW;IACnBC,OAAO,EAAC,KAAK;IACbC,KAAK,EAAC,4BAA4B;IAClCC,UAAU,EAAC;EAA8B,gBACzCrB,MAAA,YAAAiB,aAAA,gBAAO,MAAW,CAAC,eACnBjB,MAAA,YAAAiB,aAAA;IACEK,EAAE,EAAC,QAAQ;IACXR,MAAM,EAAC,MAAM;IACbS,WAAW,EAAE,CAAE;IACfC,IAAI,EAAC,MAAM;IACXC,QAAQ,EAAC,SAAS;IAClBC,aAAa,EAAC,OAAO;IACrBC,cAAc,EAAC;EAAO,gBACtB3B,MAAA,YAAAiB,aAAA;IAAGK,EAAE,EAAC,OAAO;IAACM,SAAS,EAAC,oBAAoB;IAACd,MAAM,EAAEA;EAAO,gBAC1Dd,MAAA,YAAAiB,aAAA;IACEY,CAAC,EAAC,kqBAAkqB;IACpqBP,EAAE,EAAC;EAAO,CACX,CACA,CACF,CACA,CAAC;AAEV;AAAC,IAAAQ,QAAA,GAAAC,OAAA,cAEc3B,QAAQ"}
1
+ {"version":3,"file":"UsersIcon.js","names":["_react","_interopRequireDefault","require","_constants","UserIcon","width","ICON_SIZE","WIDTH","height","HEIGHT","stroke","ICON_COLOR","STROKE","default","createElement","viewBox","version","xmlns","xmlnsXlink","id","strokeWidth","fill","fillRule","strokeLinecap","strokeLinejoin","transform","d","_default","exports"],"sources":["../../src/icons/UsersIcon.js"],"sourcesContent":["import React from 'react';\nimport { ICON_SIZE, ICON_COLOR } from '../constants';\n\nfunction UserIcon({\n width = ICON_SIZE.WIDTH,\n height = ICON_SIZE.HEIGHT,\n stroke = ICON_COLOR.STROKE\n}) {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 22 22\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlnsXlink=\"http://www.w3.org/1999/xlink\">\n <title>user</title>\n <g\n id=\"Page-1\"\n stroke=\"none\"\n strokeWidth={1}\n fill=\"none\"\n fillRule=\"evenodd\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\">\n <g id=\"Group\" transform=\"translate(1, 0.76)\" stroke={stroke}>\n <path\n d=\"M2.35666666,16.4488888 C4.68824079,15.1310199 7.32175438,14.4403878 10,14.4444089 C12.7777778,14.4444089 15.3855556,15.1722221 17.6433334,16.4488888 M13.3333334,7.7777776 C13.3333334,9.61872677 11.8409492,11.1111109 10,11.1111109 C8.15905083,11.1111109 6.66666666,9.61872677 6.66666666,7.7777776 C6.66666666,5.93682842 8.15905083,4.44444425 10,4.44444425 C11.8409492,4.44444425 13.3333334,5.93682842 13.3333334,7.7777776 L13.3333334,7.7777776 Z M20,10 C20,13.5726558 18.0940108,16.8739261 15,18.660254 C11.9059893,20.446582 8.09401075,20.446582 5,18.660254 C1.90598917,16.8739261 0,13.5726558 0,10 C0,4.47715239 4.47715258,0 10,0 C15.5228474,0 20,4.47715239 20,10 L20,10 Z\"\n id=\"Shape\"\n />\n </g>\n </g>\n </svg>\n );\n}\n\nexport default UserIcon;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAEA,SAASE,QAAQA,CAAC;EAChBC,KAAK,GAAGC,oBAAS,CAACC,KAAK;EACvBC,MAAM,GAAGF,oBAAS,CAACG,MAAM;EACzBC,MAAM,GAAGC,qBAAU,CAACC;AACtB,CAAC,EAAE;EACD,oBACEZ,MAAA,CAAAa,OAAA,CAAAC,aAAA;IACET,KAAK,EAAEA,KAAM;IACbG,MAAM,EAAEA,MAAO;IACfO,OAAO,EAAC,WAAW;IACnBC,OAAO,EAAC,KAAK;IACbC,KAAK,EAAC,4BAA4B;IAClCC,UAAU,EAAC;EAA8B,gBACzClB,MAAA,CAAAa,OAAA,CAAAC,aAAA,gBAAO,MAAW,CAAC,eACnBd,MAAA,CAAAa,OAAA,CAAAC,aAAA;IACEK,EAAE,EAAC,QAAQ;IACXT,MAAM,EAAC,MAAM;IACbU,WAAW,EAAE,CAAE;IACfC,IAAI,EAAC,MAAM;IACXC,QAAQ,EAAC,SAAS;IAClBC,aAAa,EAAC,OAAO;IACrBC,cAAc,EAAC;EAAO,gBACtBxB,MAAA,CAAAa,OAAA,CAAAC,aAAA;IAAGK,EAAE,EAAC,OAAO;IAACM,SAAS,EAAC,oBAAoB;IAACf,MAAM,EAAEA;EAAO,gBAC1DV,MAAA,CAAAa,OAAA,CAAAC,aAAA;IACEY,CAAC,EAAC,kqBAAkqB;IACpqBP,EAAE,EAAC;EAAO,CACX,CACA,CACF,CACA,CAAC;AAEV;AAAC,IAAAQ,QAAA,GAAAC,OAAA,CAAAf,OAAA,GAEcT,QAAQ","ignoreList":[]}
@@ -1,32 +1,31 @@
1
1
  "use strict";
2
2
 
3
- require("core-js/modules/es.object.define-property.js");
4
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  Object.defineProperty(exports, "ContentIcon", {
9
8
  enumerable: true,
10
- get: function get() {
11
- return _ContentIcon["default"];
9
+ get: function () {
10
+ return _ContentIcon.default;
12
11
  }
13
12
  });
14
13
  Object.defineProperty(exports, "SettingsIcon", {
15
14
  enumerable: true,
16
- get: function get() {
17
- return _SettingsIcon["default"];
15
+ get: function () {
16
+ return _SettingsIcon.default;
18
17
  }
19
18
  });
20
19
  Object.defineProperty(exports, "TaxonomyIcon", {
21
20
  enumerable: true,
22
- get: function get() {
23
- return _TaxonomyIcon["default"];
21
+ get: function () {
22
+ return _TaxonomyIcon.default;
24
23
  }
25
24
  });
26
25
  Object.defineProperty(exports, "UserIcon", {
27
26
  enumerable: true,
28
- get: function get() {
29
- return _UsersIcon["default"];
27
+ get: function () {
28
+ return _UsersIcon.default;
30
29
  }
31
30
  });
32
31
  var _UsersIcon = _interopRequireDefault(require("./UsersIcon"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_UsersIcon","_interopRequireDefault","require","_TaxonomyIcon","_ContentIcon","_SettingsIcon"],"sources":["../../src/icons/index.js"],"sourcesContent":["import UserIcon from './UsersIcon';\nimport TaxonomyIcon from './TaxonomyIcon';\nimport ContentIcon from './ContentIcon';\nimport SettingsIcon from './SettingsIcon';\n\nexport { UserIcon, TaxonomyIcon, ContentIcon, SettingsIcon };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,aAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,YAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,aAAA,GAAAJ,sBAAA,CAAAC,OAAA"}
1
+ {"version":3,"file":"index.js","names":["_UsersIcon","_interopRequireDefault","require","_TaxonomyIcon","_ContentIcon","_SettingsIcon"],"sources":["../../src/icons/index.js"],"sourcesContent":["import UserIcon from './UsersIcon';\nimport TaxonomyIcon from './TaxonomyIcon';\nimport ContentIcon from './ContentIcon';\nimport SettingsIcon from './SettingsIcon';\n\nexport { UserIcon, TaxonomyIcon, ContentIcon, SettingsIcon };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,aAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,YAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,aAAA,GAAAJ,sBAAA,CAAAC,OAAA","ignoreList":[]}
package/lib/index.js CHANGED
@@ -4,135 +4,95 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports["default"] = load;
8
- var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
9
- var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
10
- var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
11
- require("core-js/modules/es.object.to-string.js");
12
- require("core-js/modules/es.promise.js");
13
- require("core-js/modules/es.array.iterator.js");
14
- require("core-js/modules/es.string.iterator.js");
15
- require("core-js/modules/es.weak-map.js");
16
- require("core-js/modules/web.dom-collections.iterator.js");
17
- require("core-js/modules/es.object.define-property.js");
18
- require("core-js/modules/es.object.get-own-property-descriptor.js");
19
- require("core-js/modules/es.array.for-each.js");
20
- require("core-js/modules/web.dom-collections.for-each.js");
21
- require("core-js/modules/es.object.keys.js");
7
+ exports.default = load;
22
8
  var _reactFormBuilder = require("@blaze-cms/react-form-builder");
23
- var _react = _interopRequireDefault(require("react"));
24
9
  var _package = _interopRequireDefault(require("../package.json"));
25
10
  var _constants = require("./constants");
26
11
  var _addContentMenuItems = _interopRequireDefault(require("./utils/add-content-menu-items"));
27
12
  var _icons = require("./icons");
28
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
29
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != (0, _typeof2["default"])(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
30
- var EntityDataListing = /*#__PURE__*/_react["default"].lazy(function () {
31
- return Promise.resolve().then(function () {
32
- return _interopRequireWildcard(require( /* webpackChunkName: 'EntityDataListing' */'./components/EntityDataListing'));
13
+ var _EntityDataListing = _interopRequireDefault(require("./components/EntityDataListing"));
14
+ var _EntityManager = _interopRequireDefault(require("./components/EntityManager"));
15
+ // todo: renable lazy loading after bundler optimisations, currently they are too slow in dev mode
16
+ // const EntityDataListing = React.lazy(
17
+ // () => import(/* webpackChunkName: 'EntityDataListing' */ './components/EntityDataListing')
18
+ // );
19
+ // const EntityManager = React.lazy(
20
+ // () => import(/* webpackChunkName: 'EntityManager' */ './components/EntityManager')
21
+ // );
22
+
23
+ async function load(app) {
24
+ app.events.once('admin:menu:config:load', (0, _addContentMenuItems.default)(app));
25
+ app.events.once('load:custom:field:type', addFieldType => {
26
+ Object.keys(_reactFormBuilder.formFieldTypes).forEach(type => {
27
+ addFieldType({
28
+ type,
29
+ component: _reactFormBuilder.formFieldTypes[type]
30
+ });
31
+ });
33
32
  });
34
- });
35
- var EntityManager = /*#__PURE__*/_react["default"].lazy(function () {
36
- return Promise.resolve().then(function () {
37
- return _interopRequireWildcard(require( /* webpackChunkName: 'EntityManager' */'./components/EntityManager'));
33
+ app.events.once('plugin:data-ui:load:loaded', async () => {
34
+ await app.events.emitAsync('load:custom:field:type', _reactFormBuilder.getFormBuilderLookup.addFieldType);
38
35
  });
39
- });
40
- function load(_x) {
41
- return _load.apply(this, arguments);
42
- }
43
- function _load() {
44
- _load = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(app) {
45
- var entityDataListingRoute, editEntityRoute, addEntityRoute;
46
- return _regenerator["default"].wrap(function _callee2$(_context2) {
47
- while (1) switch (_context2.prev = _context2.next) {
48
- case 0:
49
- app.events.once('admin:menu:config:load', (0, _addContentMenuItems["default"])(app));
50
- app.events.once('load:custom:field:type', function (addFieldType) {
51
- Object.keys(_reactFormBuilder.formFieldTypes).forEach(function (type) {
52
- addFieldType({
53
- type: type,
54
- component: _reactFormBuilder.formFieldTypes[type]
55
- });
56
- });
57
- });
58
- app.events.once('plugin:data-ui:load:loaded', /*#__PURE__*/(0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() {
59
- return _regenerator["default"].wrap(function _callee$(_context) {
60
- while (1) switch (_context.prev = _context.next) {
61
- case 0:
62
- _context.next = 2;
63
- return app.events.emitAsync('load:custom:field:type', _reactFormBuilder.getFormBuilderLookup.addFieldType);
64
- case 2:
65
- case "end":
66
- return _context.stop();
67
- }
68
- }, _callee);
69
- })));
70
- app.events.once('admin:menu:config:load', function (_ref2) {
71
- var addConfig = _ref2.addConfig;
72
- addConfig({
73
- main: {
74
- items: {
75
- content: {
76
- label: 'content',
77
- loadOpen: true,
78
- items: {},
79
- icon: _icons.ContentIcon,
80
- order: 10
81
- },
82
- taxonomy: {
83
- label: 'Taxonomy',
84
- items: {},
85
- icon: _icons.TaxonomyIcon,
86
- order: 40
87
- },
88
- user: {
89
- label: 'User',
90
- items: {},
91
- icon: _icons.UserIcon,
92
- order: 90
93
- },
94
- settings: {
95
- label: 'Settings',
96
- items: {},
97
- icon: _icons.SettingsIcon,
98
- order: 100
99
- }
100
- }
101
- }
102
- });
103
- });
104
- entityDataListingRoute = {
105
- path: "".concat(_constants.DATA_LISTING_PREFIX, "/:entityIdentifier"),
106
- key: 'entityDataListing',
107
- component: EntityDataListing,
108
- exact: true
109
- };
110
- editEntityRoute = {
111
- path: "".concat(_constants.DATA_LISTING_PREFIX, "/:entityIdentifier/:action/:id"),
112
- key: 'editEntity',
113
- component: EntityManager,
114
- exact: true
115
- };
116
- addEntityRoute = {
117
- path: "".concat(_constants.DATA_LISTING_PREFIX, "/:entityIdentifier/:action"),
118
- key: 'createEntity',
119
- component: EntityManager,
120
- exact: true
121
- };
122
- app.addRoute(entityDataListingRoute);
123
- app.addRoute(editEntityRoute);
124
- app.addRoute(addEntityRoute);
125
- return _context2.abrupt("return", {
126
- name: _constants.PLUGIN_NAME,
127
- version: _package["default"].version
128
- });
129
- case 11:
130
- case "end":
131
- return _context2.stop();
36
+ app.events.once('admin:menu:config:load', ({
37
+ addConfig
38
+ }) => {
39
+ addConfig({
40
+ main: {
41
+ items: {
42
+ content: {
43
+ label: 'content',
44
+ loadOpen: true,
45
+ items: {},
46
+ icon: _icons.ContentIcon,
47
+ order: 10
48
+ },
49
+ taxonomy: {
50
+ label: 'Taxonomy',
51
+ items: {},
52
+ icon: _icons.TaxonomyIcon,
53
+ order: 40
54
+ },
55
+ user: {
56
+ label: 'User',
57
+ items: {},
58
+ icon: _icons.UserIcon,
59
+ order: 90
60
+ },
61
+ settings: {
62
+ label: 'Settings',
63
+ items: {},
64
+ icon: _icons.SettingsIcon,
65
+ order: 100
66
+ }
67
+ }
132
68
  }
133
- }, _callee2);
134
- }));
135
- return _load.apply(this, arguments);
69
+ });
70
+ });
71
+ const entityDataListingRoute = {
72
+ path: `${_constants.DATA_LISTING_PREFIX}/:entityIdentifier`,
73
+ key: 'entityDataListing',
74
+ component: _EntityDataListing.default,
75
+ exact: true
76
+ };
77
+ const editEntityRoute = {
78
+ path: `${_constants.DATA_LISTING_PREFIX}/:entityIdentifier/:action/:id`,
79
+ key: 'editEntity',
80
+ component: _EntityManager.default,
81
+ exact: true
82
+ };
83
+ const addEntityRoute = {
84
+ path: `${_constants.DATA_LISTING_PREFIX}/:entityIdentifier/:action`,
85
+ key: 'createEntity',
86
+ component: _EntityManager.default,
87
+ exact: true
88
+ };
89
+ app.addRoute(entityDataListingRoute);
90
+ app.addRoute(editEntityRoute);
91
+ app.addRoute(addEntityRoute);
92
+ return {
93
+ name: _constants.PLUGIN_NAME,
94
+ version: _package.default.version
95
+ };
136
96
  }
137
97
  load.pluginName = _constants.PLUGIN_NAME;
138
98
  //# sourceMappingURL=index.js.map