@redhat-cloud-services/frontend-components 3.5.1 → 3.6.0

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 (760) hide show
  1. package/Ansible/Ansible.d.ts +13 -0
  2. package/Ansible/Ansible.js +61 -91
  3. package/Ansible/Ansible.js.map +1 -0
  4. package/Ansible/index.d.ts +1 -0
  5. package/Ansible/index.js +10 -20
  6. package/Ansible/index.js.map +1 -0
  7. package/Ansible/package.json +1 -1
  8. package/AsyncComponent/index.d.ts +3 -0
  9. package/AsyncComponent/index.js +47 -87
  10. package/AsyncComponent/index.js.map +1 -0
  11. package/AsyncComponent/package.json +1 -1
  12. package/Battery/Battery.d.ts +21 -0
  13. package/Battery/Battery.js +80 -122
  14. package/Battery/Battery.js.map +1 -0
  15. package/Battery/CriticalBattery.d.ts +2 -0
  16. package/Battery/CriticalBattery.js +9 -22
  17. package/Battery/CriticalBattery.js.map +1 -0
  18. package/Battery/HighBattery.d.ts +2 -0
  19. package/Battery/HighBattery.js +9 -18
  20. package/Battery/HighBattery.js.map +1 -0
  21. package/Battery/LowBattery.d.ts +2 -0
  22. package/Battery/LowBattery.js +9 -18
  23. package/Battery/LowBattery.js.map +1 -0
  24. package/Battery/MediumBattery.d.ts +2 -0
  25. package/Battery/MediumBattery.js +9 -18
  26. package/Battery/MediumBattery.js.map +1 -0
  27. package/Battery/NullBattery.d.ts +2 -0
  28. package/Battery/NullBattery.js +9 -18
  29. package/Battery/NullBattery.js.map +1 -0
  30. package/Battery/index.d.ts +6 -0
  31. package/Battery/index.js +20 -60
  32. package/Battery/index.js.map +1 -0
  33. package/Battery/package.json +1 -1
  34. package/Breadcrumbs/Breadcrumbs.d.ts +28 -0
  35. package/Breadcrumbs/Breadcrumbs.js +52 -66
  36. package/Breadcrumbs/Breadcrumbs.js.map +1 -0
  37. package/Breadcrumbs/ConnectedBreadcrumbs.d.ts +2 -0
  38. package/Breadcrumbs/ConnectedBreadcrumbs.js +54 -73
  39. package/Breadcrumbs/ConnectedBreadcrumbs.js.map +1 -0
  40. package/Breadcrumbs/index.d.ts +2 -0
  41. package/Breadcrumbs/index.js +12 -28
  42. package/Breadcrumbs/index.js.map +1 -0
  43. package/Breadcrumbs/package.json +1 -1
  44. package/BulkSelect/BulkSelect.d.ts +39 -0
  45. package/BulkSelect/BulkSelect.js +129 -188
  46. package/BulkSelect/BulkSelect.js.map +1 -0
  47. package/BulkSelect/index.d.ts +1 -0
  48. package/BulkSelect/index.js +10 -20
  49. package/BulkSelect/index.js.map +1 -0
  50. package/BulkSelect/package.json +1 -1
  51. package/ConditionalFilter/CheckboxFilter.d.ts +38 -0
  52. package/ConditionalFilter/CheckboxFilter.js +142 -208
  53. package/ConditionalFilter/CheckboxFilter.js.map +1 -0
  54. package/ConditionalFilter/ConditionalFilter.d.ts +58 -0
  55. package/ConditionalFilter/ConditionalFilter.js +185 -262
  56. package/ConditionalFilter/ConditionalFilter.js.map +1 -0
  57. package/ConditionalFilter/GroupFilter.d.ts +47 -0
  58. package/ConditionalFilter/GroupFilter.js +160 -262
  59. package/ConditionalFilter/GroupFilter.js.map +1 -0
  60. package/ConditionalFilter/RadioFilter.d.ts +37 -0
  61. package/ConditionalFilter/RadioFilter.js +124 -167
  62. package/ConditionalFilter/RadioFilter.js.map +1 -0
  63. package/ConditionalFilter/TextFilter.d.ts +27 -0
  64. package/ConditionalFilter/TextFilter.js +102 -124
  65. package/ConditionalFilter/TextFilter.js.map +1 -0
  66. package/ConditionalFilter/conditionalFilterConstants.d.ts +19 -0
  67. package/ConditionalFilter/conditionalFilterConstants.js +22 -31
  68. package/ConditionalFilter/conditionalFilterConstants.js.map +1 -0
  69. package/ConditionalFilter/groupFilterConstants.d.ts +7 -0
  70. package/ConditionalFilter/groupFilterConstants.js +145 -197
  71. package/ConditionalFilter/groupFilterConstants.js.map +1 -0
  72. package/ConditionalFilter/groupType.d.ts +8 -0
  73. package/ConditionalFilter/groupType.js +8 -12
  74. package/ConditionalFilter/groupType.js.map +1 -0
  75. package/ConditionalFilter/index.d.ts +7 -0
  76. package/ConditionalFilter/index.js +30 -81
  77. package/ConditionalFilter/index.js.map +1 -0
  78. package/ConditionalFilter/package.json +1 -1
  79. package/CullingInfo/CullingInformation.d.ts +31 -0
  80. package/CullingInfo/CullingInformation.js +84 -102
  81. package/CullingInfo/CullingInformation.js.map +1 -0
  82. package/CullingInfo/index.d.ts +1 -0
  83. package/CullingInfo/index.js +10 -20
  84. package/CullingInfo/index.js.map +1 -0
  85. package/CullingInfo/package.json +1 -1
  86. package/Dark/Dark.d.ts +3 -0
  87. package/Dark/Dark.js +35 -0
  88. package/Dark/Dark.js.map +1 -0
  89. package/Dark/DarkContext.d.ts +4 -0
  90. package/Dark/DarkContext.js +7 -30
  91. package/Dark/DarkContext.js.map +1 -0
  92. package/Dark/index.d.ts +3 -3
  93. package/Dark/index.js +12 -28
  94. package/Dark/index.js.map +1 -0
  95. package/DateFormat/DateFormat.d.ts +16 -0
  96. package/DateFormat/DateFormat.js +20 -48
  97. package/DateFormat/DateFormat.js.map +1 -0
  98. package/DateFormat/helper.d.ts +3 -0
  99. package/DateFormat/helper.js +47 -101
  100. package/DateFormat/helper.js.map +1 -0
  101. package/DateFormat/index.d.ts +2 -0
  102. package/DateFormat/index.js +20 -36
  103. package/DateFormat/index.js.map +1 -0
  104. package/DateFormat/package.json +1 -1
  105. package/DownloadButton/DownloadButton.d.ts +24 -0
  106. package/DownloadButton/DownloadButton.js +112 -142
  107. package/DownloadButton/DownloadButton.js.map +1 -0
  108. package/DownloadButton/index.d.ts +1 -0
  109. package/DownloadButton/index.js +10 -20
  110. package/DownloadButton/index.js.map +1 -0
  111. package/DownloadButton/package.json +1 -1
  112. package/EmptyTable/EmptyTable.d.ts +15 -0
  113. package/EmptyTable/EmptyTable.js +42 -37
  114. package/EmptyTable/EmptyTable.js.map +1 -0
  115. package/EmptyTable/index.d.ts +2 -0
  116. package/EmptyTable/index.js +10 -22
  117. package/EmptyTable/index.js.map +1 -0
  118. package/EmptyTable/package.json +1 -1
  119. package/ErrorState/DefaultErrorMessage.d.ts +2 -0
  120. package/ErrorState/DefaultErrorMessage.js +16 -21
  121. package/ErrorState/DefaultErrorMessage.js.map +1 -0
  122. package/ErrorState/ErrorState.d.ts +17 -0
  123. package/ErrorState/ErrorState.js +49 -66
  124. package/ErrorState/ErrorState.js.map +1 -0
  125. package/ErrorState/index.d.ts +2 -0
  126. package/ErrorState/index.js +12 -28
  127. package/ErrorState/index.js.map +1 -0
  128. package/ErrorState/package.json +1 -1
  129. package/FilterChips/FilterChips.d.ts +39 -0
  130. package/FilterChips/FilterChips.js +70 -116
  131. package/FilterChips/FilterChips.js.map +1 -0
  132. package/FilterChips/index.d.ts +1 -0
  133. package/FilterChips/index.js +10 -20
  134. package/FilterChips/index.js.map +1 -0
  135. package/FilterChips/package.json +1 -1
  136. package/FilterHooks/constants.d.ts +3 -0
  137. package/FilterHooks/constants.js +109 -128
  138. package/FilterHooks/constants.js.map +1 -0
  139. package/FilterHooks/index.d.ts +3 -0
  140. package/FilterHooks/index.js +17 -39
  141. package/FilterHooks/index.js.map +1 -0
  142. package/FilterHooks/package.json +1 -1
  143. package/FilterHooks/tagFilterHook.d.ts +45 -0
  144. package/FilterHooks/tagFilterHook.js +117 -145
  145. package/FilterHooks/tagFilterHook.js.map +1 -0
  146. package/Filters/FilterDropdown.d.ts +43 -0
  147. package/Filters/FilterDropdown.js +108 -159
  148. package/Filters/FilterDropdown.js.map +1 -0
  149. package/Filters/FilterInput.d.ts +37 -0
  150. package/Filters/FilterInput.js +109 -163
  151. package/Filters/FilterInput.js.map +1 -0
  152. package/Filters/index.d.ts +2 -0
  153. package/Filters/index.js +10 -22
  154. package/Filters/index.js.map +1 -0
  155. package/Filters/package.json +1 -1
  156. package/Input/Input.d.ts +23 -0
  157. package/Input/Input.js +44 -50
  158. package/Input/Input.js.map +1 -0
  159. package/Input/LabeledInput.d.ts +17 -0
  160. package/Input/LabeledInput.js +43 -44
  161. package/Input/LabeledInput.js.map +1 -0
  162. package/Input/index.d.ts +2 -0
  163. package/Input/index.js +12 -28
  164. package/Input/index.js.map +1 -0
  165. package/Input/package.json +1 -1
  166. package/InsightsLabel/CriticalIcon.d.ts +3 -0
  167. package/InsightsLabel/CriticalIcon.js +9 -22
  168. package/InsightsLabel/CriticalIcon.js.map +1 -0
  169. package/InsightsLabel/InsightsLabel.d.ts +14 -0
  170. package/InsightsLabel/InsightsLabel.js +42 -67
  171. package/InsightsLabel/InsightsLabel.js.map +1 -0
  172. package/InsightsLabel/index.d.ts +3 -0
  173. package/InsightsLabel/index.js +12 -28
  174. package/InsightsLabel/index.js.map +1 -0
  175. package/InsightsLabel/package.json +1 -1
  176. package/InvalidObject/InvalidObject.d.ts +4 -0
  177. package/InvalidObject/InvalidObject.js +40 -42
  178. package/InvalidObject/InvalidObject.js.map +1 -0
  179. package/InvalidObject/icon-404.d.ts +2 -0
  180. package/InvalidObject/icon-404.js +50 -202
  181. package/InvalidObject/icon-404.js.map +1 -0
  182. package/InvalidObject/index.d.ts +2 -0
  183. package/InvalidObject/index.js +12 -28
  184. package/InvalidObject/index.js.map +1 -0
  185. package/InvalidObject/package.json +1 -1
  186. package/Inventory/AppInfo.d.ts +3 -0
  187. package/Inventory/AppInfo.js +53 -73
  188. package/Inventory/AppInfo.js.map +1 -0
  189. package/Inventory/DetailWrapper.d.ts +3 -0
  190. package/Inventory/DetailWrapper.js +53 -73
  191. package/Inventory/DetailWrapper.js.map +1 -0
  192. package/Inventory/InventoryDetail.d.ts +3 -0
  193. package/Inventory/InventoryDetail.js +53 -73
  194. package/Inventory/InventoryDetail.js.map +1 -0
  195. package/Inventory/InventoryDetailHead.d.ts +3 -0
  196. package/Inventory/InventoryDetailHead.js +53 -73
  197. package/Inventory/InventoryDetailHead.js.map +1 -0
  198. package/Inventory/InventoryLoadError.d.ts +11 -0
  199. package/Inventory/InventoryLoadError.js +49 -30
  200. package/Inventory/InventoryLoadError.js.map +1 -0
  201. package/Inventory/InventoryTable.d.ts +3 -0
  202. package/Inventory/InventoryTable.js +53 -73
  203. package/Inventory/InventoryTable.js.map +1 -0
  204. package/Inventory/TagWithDialog.d.ts +3 -0
  205. package/Inventory/TagWithDialog.js +53 -78
  206. package/Inventory/TagWithDialog.js.map +1 -0
  207. package/Inventory/index.d.ts +7 -0
  208. package/Inventory/index.js +20 -62
  209. package/Inventory/index.js.map +1 -0
  210. package/Inventory/package.json +1 -1
  211. package/LongTextTooltip/LongTextTooltip.d.ts +25 -0
  212. package/LongTextTooltip/LongTextTooltip.js +68 -75
  213. package/LongTextTooltip/LongTextTooltip.js.map +1 -0
  214. package/LongTextTooltip/index.d.ts +2 -0
  215. package/LongTextTooltip/index.js +10 -22
  216. package/LongTextTooltip/index.js.map +1 -0
  217. package/LongTextTooltip/package.json +1 -1
  218. package/Main/Main.d.ts +24 -0
  219. package/Main/Main.js +85 -149
  220. package/Main/Main.js.map +1 -0
  221. package/Main/index.js +10 -20
  222. package/Main/index.js.map +1 -0
  223. package/Maintenance/Maintenance.d.ts +43 -0
  224. package/Maintenance/Maintenance.js +75 -74
  225. package/Maintenance/Maintenance.js.map +1 -0
  226. package/Maintenance/index.d.ts +1 -0
  227. package/Maintenance/index.js +10 -20
  228. package/Maintenance/index.js.map +1 -0
  229. package/Maintenance/package.json +1 -1
  230. package/NotAuthorized/NotAuthorized.d.ts +42 -0
  231. package/NotAuthorized/NotAuthorized.js +78 -92
  232. package/NotAuthorized/NotAuthorized.js.map +1 -0
  233. package/NotAuthorized/index.d.ts +1 -0
  234. package/NotAuthorized/index.js +10 -20
  235. package/NotAuthorized/index.js.map +1 -0
  236. package/NotAuthorized/package.json +1 -1
  237. package/NotConnected/NotConnected.d.ts +22 -0
  238. package/NotConnected/NotConnected.js +23 -50
  239. package/NotConnected/NotConnected.js.map +1 -0
  240. package/NotConnected/index.d.ts +1 -0
  241. package/NotConnected/index.js +10 -20
  242. package/NotConnected/index.js.map +1 -0
  243. package/NotConnected/package.json +1 -1
  244. package/PageHeader/PageHeader.d.ts +7 -0
  245. package/PageHeader/PageHeader.js +40 -46
  246. package/PageHeader/PageHeader.js.map +1 -0
  247. package/PageHeader/PageHeaderTitle.d.ts +7 -0
  248. package/PageHeader/PageHeaderTitle.js +13 -36
  249. package/PageHeader/PageHeaderTitle.js.map +1 -0
  250. package/PageHeader/index.js +12 -28
  251. package/PageHeader/index.js.map +1 -0
  252. package/Pagination/Pagination.d.ts +32 -0
  253. package/Pagination/Pagination.js +109 -139
  254. package/Pagination/Pagination.js.map +1 -0
  255. package/Pagination/PaginationMenu.d.ts +34 -0
  256. package/Pagination/PaginationMenu.js +124 -154
  257. package/Pagination/PaginationMenu.js.map +1 -0
  258. package/Pagination/PaginationNav.d.ts +39 -0
  259. package/Pagination/PaginationNav.js +78 -125
  260. package/Pagination/PaginationNav.js.map +1 -0
  261. package/Pagination/PaginationNext.d.ts +31 -0
  262. package/Pagination/PaginationNext.js +97 -118
  263. package/Pagination/PaginationNext.js.map +1 -0
  264. package/Pagination/index.d.ts +5 -0
  265. package/Pagination/index.js +26 -68
  266. package/Pagination/index.js.map +1 -0
  267. package/Pagination/package.json +1 -1
  268. package/PrimaryToolbar/Actions.d.ts +36 -0
  269. package/PrimaryToolbar/Actions.js +131 -187
  270. package/PrimaryToolbar/Actions.js.map +1 -0
  271. package/PrimaryToolbar/PrimaryToolbar.d.ts +97 -0
  272. package/PrimaryToolbar/PrimaryToolbar.js +165 -188
  273. package/PrimaryToolbar/PrimaryToolbar.js.map +1 -0
  274. package/PrimaryToolbar/SortBy.d.ts +20 -0
  275. package/PrimaryToolbar/SortBy.js +23 -45
  276. package/PrimaryToolbar/SortBy.js.map +1 -0
  277. package/PrimaryToolbar/index.d.ts +4 -0
  278. package/PrimaryToolbar/index.js +24 -58
  279. package/PrimaryToolbar/index.js.map +1 -0
  280. package/PrimaryToolbar/package.json +1 -1
  281. package/Reboot/Reboot.d.ts +13 -0
  282. package/Reboot/Reboot.js +42 -37
  283. package/Reboot/Reboot.js.map +1 -0
  284. package/Reboot/index.d.ts +1 -0
  285. package/Reboot/index.js +10 -20
  286. package/Reboot/index.js.map +1 -0
  287. package/Reboot/package.json +1 -1
  288. package/Section/Section.d.ts +8 -0
  289. package/Section/Section.js +38 -38
  290. package/Section/Section.js.map +1 -0
  291. package/Section/index.js +10 -20
  292. package/Section/index.js.map +1 -0
  293. package/Shield/Shield.d.ts +27 -0
  294. package/Shield/Shield.js +51 -55
  295. package/Shield/Shield.js.map +1 -0
  296. package/Shield/consts.d.ts +71 -0
  297. package/Shield/consts.js +69 -81
  298. package/Shield/consts.js.map +1 -0
  299. package/Shield/index.d.ts +2 -0
  300. package/Shield/index.js +20 -36
  301. package/Shield/index.js.map +1 -0
  302. package/Shield/package.json +1 -1
  303. package/SimpleTableFilter/SimpleTableFilter.d.ts +47 -0
  304. package/SimpleTableFilter/SimpleTableFilter.js +137 -188
  305. package/SimpleTableFilter/SimpleTableFilter.js.map +1 -0
  306. package/SimpleTableFilter/index.d.ts +1 -0
  307. package/SimpleTableFilter/index.js +10 -20
  308. package/SimpleTableFilter/index.js.map +1 -0
  309. package/SimpleTableFilter/package.json +1 -1
  310. package/Skeleton/Skeleton.d.ts +15 -0
  311. package/Skeleton/Skeleton.js +36 -50
  312. package/Skeleton/Skeleton.js.map +1 -0
  313. package/Skeleton/index.js +11 -30
  314. package/Skeleton/index.js.map +1 -0
  315. package/SkeletonTable/SkeletonTable.d.ts +51 -0
  316. package/SkeletonTable/SkeletonTable.js +86 -155
  317. package/SkeletonTable/SkeletonTable.js.map +1 -0
  318. package/SkeletonTable/index.d.ts +1 -0
  319. package/SkeletonTable/index.js +10 -20
  320. package/SkeletonTable/index.js.map +1 -0
  321. package/SkeletonTable/package.json +1 -1
  322. package/Spinner/Spinner.d.ts +8 -0
  323. package/Spinner/Spinner.js +36 -39
  324. package/Spinner/Spinner.js.map +1 -0
  325. package/Spinner/index.js +10 -20
  326. package/Spinner/index.js.map +1 -0
  327. package/TabLayout/TabLayout.d.ts +28 -0
  328. package/TabLayout/TabLayout.js +46 -61
  329. package/TabLayout/TabLayout.js.map +1 -0
  330. package/TabLayout/index.d.ts +1 -0
  331. package/TabLayout/index.js +10 -20
  332. package/TabLayout/index.js.map +1 -0
  333. package/TabLayout/package.json +1 -1
  334. package/TableToolbar/TableToolbar.d.ts +27 -0
  335. package/TableToolbar/TableToolbar.js +86 -73
  336. package/TableToolbar/TableToolbar.js.map +1 -0
  337. package/TableToolbar/index.d.ts +2 -0
  338. package/TableToolbar/index.js +10 -22
  339. package/TableToolbar/index.js.map +1 -0
  340. package/TableToolbar/package.json +1 -1
  341. package/TagCount/TagCount.d.ts +19 -0
  342. package/TagCount/TagCount.js +43 -47
  343. package/TagCount/TagCount.js.map +1 -0
  344. package/TagCount/index.d.ts +1 -0
  345. package/TagCount/index.js +10 -20
  346. package/TagCount/index.js.map +1 -0
  347. package/TagCount/package.json +1 -1
  348. package/TagModal/TableWithFilter.d.ts +45 -0
  349. package/TagModal/TableWithFilter.js +135 -201
  350. package/TagModal/TableWithFilter.js.map +1 -0
  351. package/TagModal/TagModal.d.ts +54 -0
  352. package/TagModal/TagModal.js +163 -228
  353. package/TagModal/TagModal.js.map +1 -0
  354. package/TagModal/index.d.ts +2 -0
  355. package/TagModal/index.js +12 -28
  356. package/TagModal/index.js.map +1 -0
  357. package/TagModal/package.json +1 -1
  358. package/TreeTable/decorator.d.ts +8 -0
  359. package/TreeTable/decorator.js +42 -56
  360. package/TreeTable/decorator.js.map +1 -0
  361. package/TreeTable/helpers.d.ts +4 -0
  362. package/TreeTable/helpers.js +45 -55
  363. package/TreeTable/helpers.js.map +1 -0
  364. package/TreeTable/index.d.ts +3 -0
  365. package/TreeTable/index.js +22 -45
  366. package/TreeTable/index.js.map +1 -0
  367. package/TreeTable/package.json +1 -1
  368. package/TreeTable/rowWrapper.d.ts +17 -0
  369. package/TreeTable/rowWrapper.js +39 -50
  370. package/TreeTable/rowWrapper.js.map +1 -0
  371. package/Truncate/Truncate.d.ts +26 -0
  372. package/Truncate/Truncate.js +76 -115
  373. package/Truncate/Truncate.js.map +1 -0
  374. package/Truncate/index.d.ts +2 -0
  375. package/Truncate/index.js +10 -22
  376. package/Truncate/index.js.map +1 -0
  377. package/Truncate/package.json +1 -1
  378. package/Unavailable/Unavailable.d.ts +2 -0
  379. package/Unavailable/Unavailable.js +17 -38
  380. package/Unavailable/Unavailable.js.map +1 -0
  381. package/Unavailable/index.d.ts +1 -0
  382. package/Unavailable/index.js +10 -20
  383. package/Unavailable/index.js.map +1 -0
  384. package/Unavailable/package.json +1 -1
  385. package/Wizard/Wizard.d.ts +31 -0
  386. package/Wizard/Wizard.js +126 -170
  387. package/Wizard/Wizard.js.map +1 -0
  388. package/Wizard/index.d.ts +1 -0
  389. package/Wizard/index.js +10 -20
  390. package/Wizard/index.js.map +1 -0
  391. package/Wizard/package.json +1 -1
  392. package/esm/Ansible/Ansible.js +54 -74
  393. package/esm/Ansible/Ansible.js.map +1 -0
  394. package/esm/Ansible/ansible.css +19 -0
  395. package/esm/Ansible/ansible.scss +14 -0
  396. package/esm/Ansible/index.js +2 -1
  397. package/esm/Ansible/index.js.map +1 -0
  398. package/esm/AsyncComponent/index.js +39 -67
  399. package/esm/AsyncComponent/index.js.map +1 -0
  400. package/esm/Battery/Battery.js +68 -95
  401. package/esm/Battery/Battery.js.map +1 -0
  402. package/esm/Battery/CriticalBattery.js +4 -11
  403. package/esm/Battery/CriticalBattery.js.map +1 -0
  404. package/esm/Battery/HighBattery.js +4 -8
  405. package/esm/Battery/HighBattery.js.map +1 -0
  406. package/esm/Battery/LowBattery.js +4 -8
  407. package/esm/Battery/LowBattery.js.map +1 -0
  408. package/esm/Battery/MediumBattery.js +4 -8
  409. package/esm/Battery/MediumBattery.js.map +1 -0
  410. package/esm/Battery/NullBattery.js +4 -8
  411. package/esm/Battery/NullBattery.js.map +1 -0
  412. package/esm/Battery/battery.css +35 -0
  413. package/esm/Battery/battery.scss +47 -0
  414. package/esm/Battery/index.js +2 -1
  415. package/esm/Battery/index.js.map +1 -0
  416. package/esm/Breadcrumbs/Breadcrumbs.js +45 -49
  417. package/esm/Breadcrumbs/Breadcrumbs.js.map +1 -0
  418. package/esm/Breadcrumbs/ConnectedBreadcrumbs.js +47 -52
  419. package/esm/Breadcrumbs/ConnectedBreadcrumbs.js.map +1 -0
  420. package/esm/Breadcrumbs/index.js +2 -1
  421. package/esm/Breadcrumbs/index.js.map +1 -0
  422. package/esm/BulkSelect/BulkSelect.js +104 -160
  423. package/esm/BulkSelect/BulkSelect.js.map +1 -0
  424. package/esm/BulkSelect/bulk-select.css +15 -0
  425. package/esm/BulkSelect/bulk-select.scss +19 -0
  426. package/esm/BulkSelect/index.js +2 -1
  427. package/esm/BulkSelect/index.js.map +1 -0
  428. package/esm/ConditionalFilter/CheckboxFilter.js +117 -183
  429. package/esm/ConditionalFilter/CheckboxFilter.js.map +1 -0
  430. package/esm/ConditionalFilter/ConditionalFilter.js +155 -225
  431. package/esm/ConditionalFilter/ConditionalFilter.js.map +1 -0
  432. package/esm/ConditionalFilter/GroupFilter.js +133 -223
  433. package/esm/ConditionalFilter/GroupFilter.js.map +1 -0
  434. package/esm/ConditionalFilter/RadioFilter.js +99 -143
  435. package/esm/ConditionalFilter/RadioFilter.js.map +1 -0
  436. package/esm/ConditionalFilter/TextFilter.js +79 -102
  437. package/esm/ConditionalFilter/TextFilter.js.map +1 -0
  438. package/esm/ConditionalFilter/conditional-filter.css +93 -0
  439. package/esm/ConditionalFilter/conditional-filter.scss +110 -0
  440. package/esm/ConditionalFilter/conditionalFilterConstants.js +12 -11
  441. package/esm/ConditionalFilter/conditionalFilterConstants.js.map +1 -0
  442. package/esm/ConditionalFilter/group-filter.css +19 -0
  443. package/esm/ConditionalFilter/group-filter.scss +23 -0
  444. package/esm/ConditionalFilter/groupFilterConstants.js +139 -174
  445. package/esm/ConditionalFilter/groupFilterConstants.js.map +1 -0
  446. package/esm/ConditionalFilter/groupType.js +7 -6
  447. package/esm/ConditionalFilter/groupType.js.map +1 -0
  448. package/esm/ConditionalFilter/index.js +2 -1
  449. package/esm/ConditionalFilter/index.js.map +1 -0
  450. package/esm/CullingInfo/CullingInformation.css +14 -0
  451. package/esm/CullingInfo/CullingInformation.js +78 -82
  452. package/esm/CullingInfo/CullingInformation.js.map +1 -0
  453. package/esm/CullingInfo/CullingInformation.scss +10 -0
  454. package/esm/CullingInfo/index.js +2 -1
  455. package/esm/CullingInfo/index.js.map +1 -0
  456. package/esm/Dark/Dark.js +30 -0
  457. package/esm/Dark/Dark.js.map +1 -0
  458. package/esm/Dark/DarkContext.js +3 -18
  459. package/esm/Dark/DarkContext.js.map +1 -0
  460. package/esm/Dark/index.js +4 -3
  461. package/esm/Dark/index.js.map +1 -0
  462. package/esm/DateFormat/DateFormat.js +12 -34
  463. package/esm/DateFormat/DateFormat.js.map +1 -0
  464. package/esm/DateFormat/helper.js +41 -84
  465. package/esm/DateFormat/helper.js.map +1 -0
  466. package/esm/DateFormat/index.js +2 -1
  467. package/esm/DateFormat/index.js.map +1 -0
  468. package/esm/DownloadButton/DownloadButton.js +89 -120
  469. package/esm/DownloadButton/DownloadButton.js.map +1 -0
  470. package/esm/DownloadButton/index.js +2 -1
  471. package/esm/DownloadButton/index.js.map +1 -0
  472. package/esm/EmptyTable/EmptyTable.css +14 -0
  473. package/esm/EmptyTable/EmptyTable.js +35 -20
  474. package/esm/EmptyTable/EmptyTable.js.map +1 -0
  475. package/esm/EmptyTable/EmptyTable.scss +11 -0
  476. package/esm/EmptyTable/index.js +2 -1
  477. package/esm/EmptyTable/index.js.map +1 -0
  478. package/esm/ErrorState/DefaultErrorMessage.js +11 -11
  479. package/esm/ErrorState/DefaultErrorMessage.js.map +1 -0
  480. package/esm/ErrorState/ErrorState.js +42 -43
  481. package/esm/ErrorState/ErrorState.js.map +1 -0
  482. package/esm/ErrorState/error-state.css +3 -0
  483. package/esm/ErrorState/error-state.scss +5 -0
  484. package/esm/ErrorState/index.js +2 -1
  485. package/esm/ErrorState/index.js.map +1 -0
  486. package/esm/FilterChips/FilterChips.js +64 -97
  487. package/esm/FilterChips/FilterChips.js.map +1 -0
  488. package/esm/FilterChips/filter-chips.css +12 -0
  489. package/esm/FilterChips/filter-chips.scss +15 -0
  490. package/esm/FilterChips/index.js +2 -1
  491. package/esm/FilterChips/index.js.map +1 -0
  492. package/esm/FilterHooks/constants.js +101 -111
  493. package/esm/FilterHooks/constants.js.map +1 -0
  494. package/esm/FilterHooks/index.js +2 -1
  495. package/esm/FilterHooks/index.js.map +1 -0
  496. package/esm/FilterHooks/tagFilterHook.css +22 -0
  497. package/esm/FilterHooks/tagFilterHook.js +96 -119
  498. package/esm/FilterHooks/tagFilterHook.js.map +1 -0
  499. package/esm/FilterHooks/tagFilterHook.scss +21 -0
  500. package/esm/Filters/FilterDropdown.js +83 -134
  501. package/esm/Filters/FilterDropdown.js.map +1 -0
  502. package/esm/Filters/FilterInput.js +85 -142
  503. package/esm/Filters/FilterInput.js.map +1 -0
  504. package/esm/Filters/filter-dropdown.css +8 -0
  505. package/esm/Filters/filter-dropdown.scss +10 -0
  506. package/esm/Filters/index.js +2 -1
  507. package/esm/Filters/index.js.map +1 -0
  508. package/esm/Input/Input.js +36 -32
  509. package/esm/Input/Input.js.map +1 -0
  510. package/esm/Input/LabeledInput.js +35 -27
  511. package/esm/Input/LabeledInput.js.map +1 -0
  512. package/esm/Input/index.js +2 -1
  513. package/esm/Input/index.js.map +1 -0
  514. package/esm/InsightsLabel/CriticalIcon.js +5 -12
  515. package/esm/InsightsLabel/CriticalIcon.js.map +1 -0
  516. package/esm/InsightsLabel/InsightsLabel.js +36 -46
  517. package/esm/InsightsLabel/InsightsLabel.js.map +1 -0
  518. package/esm/InsightsLabel/critical-icon.css +8 -0
  519. package/esm/InsightsLabel/critical-icon.scss +8 -0
  520. package/esm/InsightsLabel/index.js +2 -1
  521. package/esm/InsightsLabel/index.js.map +1 -0
  522. package/esm/InsightsLabel/labels.css +54 -0
  523. package/esm/InsightsLabel/labels.scss +54 -0
  524. package/esm/InvalidObject/InvalidObject.js +35 -27
  525. package/esm/InvalidObject/InvalidObject.js.map +1 -0
  526. package/esm/InvalidObject/icon-404.css +15 -0
  527. package/esm/InvalidObject/icon-404.js +46 -192
  528. package/esm/InvalidObject/icon-404.js.map +1 -0
  529. package/esm/InvalidObject/icon-404.scss +11 -0
  530. package/esm/InvalidObject/index.js +2 -1
  531. package/esm/InvalidObject/index.js.map +1 -0
  532. package/esm/InvalidObject/invalidObject.css +22 -0
  533. package/esm/InvalidObject/invalidObject.scss +15 -0
  534. package/esm/Inventory/AppInfo.js +25 -44
  535. package/esm/Inventory/AppInfo.js.map +1 -0
  536. package/esm/Inventory/DetailWrapper.js +25 -44
  537. package/esm/Inventory/DetailWrapper.js.map +1 -0
  538. package/esm/Inventory/InventoryDetail.js +25 -44
  539. package/esm/Inventory/InventoryDetail.js.map +1 -0
  540. package/esm/Inventory/InventoryDetailHead.js +25 -44
  541. package/esm/Inventory/InventoryDetailHead.js.map +1 -0
  542. package/esm/Inventory/InventoryLoadError.js +25 -13
  543. package/esm/Inventory/InventoryLoadError.js.map +1 -0
  544. package/esm/Inventory/InventoryTable.js +25 -44
  545. package/esm/Inventory/InventoryTable.js.map +1 -0
  546. package/esm/Inventory/TagWithDialog.js +25 -49
  547. package/esm/Inventory/TagWithDialog.js.map +1 -0
  548. package/esm/Inventory/index.js +2 -1
  549. package/esm/Inventory/index.js.map +1 -0
  550. package/esm/LongTextTooltip/LongTextTooltip.js +62 -59
  551. package/esm/LongTextTooltip/LongTextTooltip.js.map +1 -0
  552. package/esm/LongTextTooltip/index.js +2 -1
  553. package/esm/LongTextTooltip/index.js.map +1 -0
  554. package/esm/Main/Main.js +79 -119
  555. package/esm/Main/Main.js.map +1 -0
  556. package/esm/Main/index.js +2 -1
  557. package/esm/Main/index.js.map +1 -0
  558. package/esm/Main/main.css +3 -0
  559. package/esm/Main/main.scss +3 -0
  560. package/esm/Maintenance/Maintenance.js +69 -52
  561. package/esm/Maintenance/Maintenance.js.map +1 -0
  562. package/esm/Maintenance/index.js +2 -1
  563. package/esm/Maintenance/index.js.map +1 -0
  564. package/esm/Maintenance/maintenance.css +9 -0
  565. package/esm/Maintenance/maintenance.scss +7 -0
  566. package/esm/NotAuthorized/NotAuthorized.css +5 -0
  567. package/esm/NotAuthorized/NotAuthorized.js +73 -74
  568. package/esm/NotAuthorized/NotAuthorized.js.map +1 -0
  569. package/esm/NotAuthorized/NotAuthorized.scss +7 -0
  570. package/esm/NotAuthorized/index.js +2 -1
  571. package/esm/NotAuthorized/index.js.map +1 -0
  572. package/esm/NotConnected/NotConnected.js +17 -32
  573. package/esm/NotConnected/NotConnected.js.map +1 -0
  574. package/esm/NotConnected/index.js +2 -1
  575. package/esm/NotConnected/index.js.map +1 -0
  576. package/esm/PageHeader/PageHeader.js +34 -29
  577. package/esm/PageHeader/PageHeader.js.map +1 -0
  578. package/esm/PageHeader/PageHeaderTitle.js +6 -21
  579. package/esm/PageHeader/PageHeaderTitle.js.map +1 -0
  580. package/esm/PageHeader/index.js +2 -1
  581. package/esm/PageHeader/index.js.map +1 -0
  582. package/esm/PageHeader/page-header.css +13 -0
  583. package/esm/PageHeader/page-header.scss +12 -0
  584. package/esm/Pagination/Pagination.js +82 -113
  585. package/esm/Pagination/Pagination.js.map +1 -0
  586. package/esm/Pagination/PaginationMenu.js +100 -129
  587. package/esm/Pagination/PaginationMenu.js.map +1 -0
  588. package/esm/Pagination/PaginationNav.js +72 -107
  589. package/esm/Pagination/PaginationNav.js.map +1 -0
  590. package/esm/Pagination/PaginationNext.js +71 -94
  591. package/esm/Pagination/PaginationNext.js.map +1 -0
  592. package/esm/Pagination/index.js +2 -1
  593. package/esm/Pagination/index.js.map +1 -0
  594. package/esm/Pagination/pagination.css +580 -0
  595. package/esm/Pagination/pagination.scss +15 -0
  596. package/esm/PrimaryToolbar/Actions.js +107 -154
  597. package/esm/PrimaryToolbar/Actions.js.map +1 -0
  598. package/esm/PrimaryToolbar/PrimaryToolbar.js +136 -146
  599. package/esm/PrimaryToolbar/PrimaryToolbar.js.map +1 -0
  600. package/esm/PrimaryToolbar/SortBy.js +14 -26
  601. package/esm/PrimaryToolbar/SortBy.js.map +1 -0
  602. package/esm/PrimaryToolbar/index.js +2 -1
  603. package/esm/PrimaryToolbar/index.js.map +1 -0
  604. package/esm/PrimaryToolbar/primary-toolbar.css +49 -0
  605. package/esm/PrimaryToolbar/primary-toolbar.scss +64 -0
  606. package/esm/Reboot/Reboot.js +35 -19
  607. package/esm/Reboot/Reboot.js.map +1 -0
  608. package/esm/Reboot/index.js +2 -1
  609. package/esm/Reboot/index.js.map +1 -0
  610. package/esm/Reboot/reboot.css +11 -0
  611. package/esm/Reboot/reboot.scss +12 -0
  612. package/esm/Section/Section.js +32 -22
  613. package/esm/Section/Section.js.map +1 -0
  614. package/esm/Section/index.js +2 -1
  615. package/esm/Section/index.js.map +1 -0
  616. package/esm/Section/section.css +35 -0
  617. package/esm/Section/section.scss +27 -0
  618. package/esm/Shield/Shield.js +44 -36
  619. package/esm/Shield/Shield.js.map +1 -0
  620. package/esm/Shield/consts.js +66 -72
  621. package/esm/Shield/consts.js.map +1 -0
  622. package/esm/Shield/index.js +2 -1
  623. package/esm/Shield/index.js.map +1 -0
  624. package/esm/SimpleTableFilter/SimpleTableFilter.js +113 -166
  625. package/esm/SimpleTableFilter/SimpleTableFilter.js.map +1 -0
  626. package/esm/SimpleTableFilter/index.js +2 -1
  627. package/esm/SimpleTableFilter/index.js.map +1 -0
  628. package/esm/SimpleTableFilter/simple-table-filter.css +356 -0
  629. package/esm/SimpleTableFilter/simple-table-filter.scss +18 -0
  630. package/esm/Skeleton/Skeleton.js +30 -32
  631. package/esm/Skeleton/Skeleton.js.map +1 -0
  632. package/esm/Skeleton/index.js +2 -1
  633. package/esm/Skeleton/index.js.map +1 -0
  634. package/esm/Skeleton/skeleton.css +24 -0
  635. package/esm/Skeleton/skeleton.scss +18 -0
  636. package/esm/SkeletonTable/SkeletonTable.css +3 -0
  637. package/esm/SkeletonTable/SkeletonTable.js +78 -137
  638. package/esm/SkeletonTable/SkeletonTable.js.map +1 -0
  639. package/esm/SkeletonTable/SkeletonTable.scss +3 -0
  640. package/esm/SkeletonTable/index.js +2 -1
  641. package/esm/SkeletonTable/index.js.map +1 -0
  642. package/esm/Spinner/Spinner.js +31 -24
  643. package/esm/Spinner/Spinner.js.map +1 -0
  644. package/esm/Spinner/index.js +2 -1
  645. package/esm/Spinner/index.js.map +1 -0
  646. package/esm/Spinner/spinner.css +27 -0
  647. package/esm/Spinner/spinner.scss +24 -0
  648. package/esm/TabLayout/TabLayout.js +40 -46
  649. package/esm/TabLayout/TabLayout.js.map +1 -0
  650. package/esm/TabLayout/index.js +2 -1
  651. package/esm/TabLayout/index.js.map +1 -0
  652. package/esm/TabLayout/tab-layout.css +14 -0
  653. package/esm/TabLayout/tab-layout.scss +21 -0
  654. package/esm/TableToolbar/TableToolbar.css +36 -0
  655. package/esm/TableToolbar/TableToolbar.js +60 -48
  656. package/esm/TableToolbar/TableToolbar.js.map +1 -0
  657. package/esm/TableToolbar/TableToolbar.scss +28 -0
  658. package/esm/TableToolbar/index.js +2 -1
  659. package/esm/TableToolbar/index.js.map +1 -0
  660. package/esm/TagCount/TagCount.js +37 -31
  661. package/esm/TagCount/TagCount.js.map +1 -0
  662. package/esm/TagCount/index.js +2 -1
  663. package/esm/TagCount/index.js.map +1 -0
  664. package/esm/TagCount/tagCount.css +9 -0
  665. package/esm/TagCount/tagCount.scss +9 -0
  666. package/esm/TagModal/TableWithFilter.js +110 -168
  667. package/esm/TagModal/TableWithFilter.js.map +1 -0
  668. package/esm/TagModal/TagModal.js +138 -200
  669. package/esm/TagModal/TagModal.js.map +1 -0
  670. package/esm/TagModal/index.js +2 -1
  671. package/esm/TagModal/index.js.map +1 -0
  672. package/esm/TagModal/tagModal.css +3 -0
  673. package/esm/TagModal/tagModal.scss +3 -0
  674. package/esm/TreeTable/decorator.js +39 -43
  675. package/esm/TreeTable/decorator.js.map +1 -0
  676. package/esm/TreeTable/helpers.js +42 -42
  677. package/esm/TreeTable/helpers.js.map +1 -0
  678. package/esm/TreeTable/index.js +2 -1
  679. package/esm/TreeTable/index.js.map +1 -0
  680. package/esm/TreeTable/rowWrapper.js +31 -33
  681. package/esm/TreeTable/rowWrapper.js.map +1 -0
  682. package/esm/TreeTable/styles.css +338 -0
  683. package/esm/TreeTable/styles.scss +278 -0
  684. package/esm/Truncate/Truncate.js +51 -86
  685. package/esm/Truncate/Truncate.js.map +1 -0
  686. package/esm/Truncate/index.js +2 -1
  687. package/esm/Truncate/index.js.map +1 -0
  688. package/esm/Truncate/truncate.css +12 -0
  689. package/esm/Truncate/truncate.scss +5 -0
  690. package/esm/Unavailable/Unavailable.css +3 -0
  691. package/esm/Unavailable/Unavailable.js +13 -24
  692. package/esm/Unavailable/Unavailable.js.map +1 -0
  693. package/esm/Unavailable/Unavailable.scss +3 -0
  694. package/esm/Unavailable/index.js +2 -1
  695. package/esm/Unavailable/index.js.map +1 -0
  696. package/esm/Wizard/Wizard.js +102 -149
  697. package/esm/Wizard/Wizard.js.map +1 -0
  698. package/esm/Wizard/index.js +2 -1
  699. package/esm/Wizard/index.js.map +1 -0
  700. package/esm/Wizard/wizard.css +7 -0
  701. package/esm/Wizard/wizard.scss +7 -0
  702. package/esm/index.css +1902 -0
  703. package/esm/index.js +2 -1
  704. package/esm/index.js.map +1 -0
  705. package/esm/index.scss +32 -0
  706. package/esm/useChrome/index.js +2 -1
  707. package/esm/useChrome/index.js.map +1 -0
  708. package/esm/useChrome/useChrome.js +22 -23
  709. package/esm/useChrome/useChrome.js.map +1 -0
  710. package/esm/usePendoFeedback/index.js +2 -1
  711. package/esm/usePendoFeedback/index.js.map +1 -0
  712. package/esm/usePendoFeedback/usePendoFeedback.js +14 -18
  713. package/esm/usePendoFeedback/usePendoFeedback.js.map +1 -0
  714. package/esm/useScreenSize/breakpoints.js +8 -7
  715. package/esm/useScreenSize/breakpoints.js.map +1 -0
  716. package/esm/useScreenSize/getVariant.js +12 -20
  717. package/esm/useScreenSize/getVariant.js.map +1 -0
  718. package/esm/useScreenSize/index.js +2 -1
  719. package/esm/useScreenSize/index.js.map +1 -0
  720. package/esm/useScreenSize/isSmallScreen.js +3 -6
  721. package/esm/useScreenSize/isSmallScreen.js.map +1 -0
  722. package/esm/useScreenSize/useScreenSize.js +17 -29
  723. package/esm/useScreenSize/useScreenSize.js.map +1 -0
  724. package/index.d.ts +39 -0
  725. package/index.js +51 -511
  726. package/index.js.map +1 -0
  727. package/package.json +7 -6
  728. package/tsconfig.cjs.json +8 -0
  729. package/useChrome/index.d.ts +1 -0
  730. package/useChrome/index.js +10 -20
  731. package/useChrome/index.js.map +1 -0
  732. package/useChrome/package.json +1 -1
  733. package/useChrome/useChrome.d.ts +2 -0
  734. package/useChrome/useChrome.js +24 -33
  735. package/useChrome/useChrome.js.map +1 -0
  736. package/usePendoFeedback/index.d.ts +1 -0
  737. package/usePendoFeedback/index.js +10 -20
  738. package/usePendoFeedback/index.js.map +1 -0
  739. package/usePendoFeedback/package.json +1 -1
  740. package/usePendoFeedback/usePendoFeedback.d.ts +2 -0
  741. package/usePendoFeedback/usePendoFeedback.js +18 -27
  742. package/usePendoFeedback/usePendoFeedback.js.map +1 -0
  743. package/useScreenSize/breakpoints.d.ts +9 -0
  744. package/useScreenSize/breakpoints.js +18 -28
  745. package/useScreenSize/breakpoints.js.map +1 -0
  746. package/useScreenSize/getVariant.d.ts +2 -0
  747. package/useScreenSize/getVariant.js +17 -31
  748. package/useScreenSize/getVariant.js.map +1 -0
  749. package/useScreenSize/index.d.ts +4 -0
  750. package/useScreenSize/index.js +16 -44
  751. package/useScreenSize/index.js.map +1 -0
  752. package/useScreenSize/isSmallScreen.d.ts +2 -0
  753. package/useScreenSize/isSmallScreen.js +7 -15
  754. package/useScreenSize/isSmallScreen.js.map +1 -0
  755. package/useScreenSize/package.json +1 -1
  756. package/useScreenSize/useScreenSize.d.ts +2 -0
  757. package/useScreenSize/useScreenSize.js +23 -42
  758. package/useScreenSize/useScreenSize.js.map +1 -0
  759. package/Dark/configContext.js +0 -15
  760. package/esm/Dark/configContext.js +0 -3
@@ -1,81 +1,61 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
4
23
  import React from 'react';
5
24
  import propTypes from 'prop-types';
6
25
  import classNames from 'classnames';
7
- import "../../Ansible/./ansible.css";
8
- /**
9
- * This is a dumb component that only recieves properties from a smart component.
10
- * Dumb components are usually functions and not classes.
11
- *
12
- * @param props the props given by the smart component.
13
- */
14
-
15
- var Ansible = function Ansible(_ref) {
16
- var unsupported = _ref.unsupported,
17
- className = _ref.className,
18
- props = _objectWithoutProperties(_ref, ["unsupported", "className"]);
19
-
20
- var ansibleLogoClass = classNames(className, 'Ansible', _defineProperty({}, "is-supported", !unsupported || unsupported === 0), _defineProperty({}, "is-unsupported", unsupported || unsupported === 1));
21
- var unsupportedSlash;
22
- var ariaLabels = {};
23
-
24
- if (unsupported) {
25
- var _ariaLabels;
26
-
27
- unsupportedSlash = /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("rect", {
28
- x: "1245.1",
29
- y: "272.4",
30
- transform: "matrix(-0.7071 0.7071 -0.7071 -0.7071 3082.5815 -510.474)",
31
- className: "st0",
32
- width: "803.8",
33
- height: "221.5"
34
- }), /*#__PURE__*/React.createElement("rect", {
35
- x: "-279.7",
36
- y: "904",
37
- transform: "matrix(-0.7071 0.7071 -0.7071 -0.7071 2450.9683 1014.3757)",
38
- className: "st1",
39
- width: "2590.2",
40
- height: "221.5"
41
- }), /*#__PURE__*/React.createElement("rect", {
42
- x: "17.1",
43
- y: "1620.5",
44
- transform: "matrix(-0.7071 0.7071 -0.7071 -0.7071 1734.4641 2744.1697)",
45
- className: "st0",
46
- width: "563.7",
47
- height: "221.5"
48
- }));
49
- ariaLabels = (_ariaLabels = {}, _defineProperty(_ariaLabels, 'disabled', 'disabled'), _defineProperty(_ariaLabels, 'aria-label', 'Does not have Ansible support'), _ariaLabels);
50
- } else {
51
- ariaLabels = _defineProperty({}, 'aria-label', 'Has Ansible support');
52
- }
53
-
54
- ;
55
- return /*#__PURE__*/React.createElement("i", _extends({
56
- className: ansibleLogoClass
57
- }, ariaLabels, props, {
58
- "widget-type": "InsightsAnsibleSupport"
59
- }), /*#__PURE__*/React.createElement("svg", {
60
- version: "1.1",
61
- id: "Layer_1",
62
- x: "0px",
63
- y: "0px",
64
- viewBox: "0 0 2032 2027.2",
65
- style: {
66
- enableBackground: 'new 0 0 2032 2027.2'
26
+ import './ansible.css';
27
+ var Ansible = function (_a) {
28
+ var _b, _c, _d, _e;
29
+ var unsupported = _a.unsupported, className = _a.className, props = __rest(_a, ["unsupported", "className"]);
30
+ var ansibleLogoClass = classNames(className, 'Ansible', (_b = {}, _b["is-supported"] = !unsupported || unsupported === 0, _b), (_c = {}, _c["is-unsupported"] = unsupported || unsupported === 1, _c));
31
+ var unsupportedSlash;
32
+ var ariaLabels = {};
33
+ if (unsupported) {
34
+ unsupportedSlash =
35
+ React.createElement(React.Fragment, null,
36
+ React.createElement("rect", { x: "1245.1", y: "272.4", transform: "matrix(-0.7071 0.7071 -0.7071 -0.7071 3082.5815 -510.474)", className: "st0", width: "803.8", height: "221.5" }),
37
+ React.createElement("rect", { x: "-279.7", y: "904", transform: "matrix(-0.7071 0.7071 -0.7071 -0.7071 2450.9683 1014.3757)", className: "st1", width: "2590.2", height: "221.5" }),
38
+ React.createElement("rect", { x: "17.1", y: "1620.5", transform: "matrix(-0.7071 0.7071 -0.7071 -0.7071 1734.4641 2744.1697)", className: "st0", width: "563.7", height: "221.5" }));
39
+ ariaLabels = (_d = {},
40
+ _d['disabled'] = 'disabled',
41
+ _d['aria-label'] = 'Does not have Ansible support',
42
+ _d);
67
43
  }
68
- }, /*#__PURE__*/React.createElement("path", {
69
- className: "st0",
70
- d: "M2030.8,1014.8c0,559.2-453.3,1012.4-1012.4,1012.4C459.2,2027.2,5.9,1574,5.9,1014.8 C5.9,455.7,459.2,2.4,1018.3,2.4C1577.5,2.4,2030.8,455.7,2030.8,1014.8 M1035.4,620.9l262,646.6L901.7,955.8L1035.4,620.9 L1035.4,620.9z M1500.8,1416.5l-403-969.9c-11.5-28-34.5-42.8-62.4-42.8c-28,0-52.7,14.8-64.2,42.8L528.9,1510.4h151.3l175.1-438.6 l522.5,422.1c21,17,36.2,24.7,55.9,24.7c39.5,0,74-29.6,74-72.3C1507.7,1439.4,1505.3,1428.3,1500.8,1416.5L1500.8,1416.5z"
71
- }), unsupportedSlash));
44
+ else {
45
+ ariaLabels = (_e = {}, _e['aria-label'] = 'Has Ansible support', _e);
46
+ }
47
+ ;
48
+ return (React.createElement("i", __assign({ className: ansibleLogoClass }, ariaLabels, props, { "widget-type": 'InsightsAnsibleSupport' }),
49
+ React.createElement("svg", { version: "1.1", id: "Layer_1", x: "0px", y: "0px", viewBox: "0 0 2032 2027.2", style: { enableBackground: 'new 0 0 2032 2027.2' } },
50
+ React.createElement("path", { className: "st0", d: "M2030.8,1014.8c0,559.2-453.3,1012.4-1012.4,1012.4C459.2,2027.2,5.9,1574,5.9,1014.8\n C5.9,455.7,459.2,2.4,1018.3,2.4C1577.5,2.4,2030.8,455.7,2030.8,1014.8 M1035.4,620.9l262,646.6L901.7,955.8L1035.4,620.9\n L1035.4,620.9z M1500.8,1416.5l-403-969.9c-11.5-28-34.5-42.8-62.4-42.8c-28,0-52.7,14.8-64.2,42.8L528.9,1510.4h151.3l175.1-438.6\n l522.5,422.1c21,17,36.2,24.7,55.9,24.7c39.5,0,74-29.6,74-72.3C1507.7,1439.4,1505.3,1428.3,1500.8,1416.5L1500.8,1416.5z" }),
51
+ unsupportedSlash)));
72
52
  };
73
-
74
53
  export default Ansible;
75
54
  Ansible.propTypes = {
76
- /**
77
- * Description that will generate MD docs file
78
- */
79
- unsupported: propTypes.oneOfType([propTypes.bool, propTypes.number]),
80
- className: propTypes.string
81
- };
55
+ unsupported: propTypes.oneOfType([
56
+ propTypes.bool,
57
+ propTypes.number
58
+ ]),
59
+ className: propTypes.string
60
+ };
61
+ //# sourceMappingURL=Ansible.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Ansible.js","sourceRoot":"","sources":["../../src/Ansible/Ansible.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,gBAAgB,CAAC;AASxB,IAAM,OAAO,GAAG,UAAC,EAAoC;;IAAlC,IAAA,WAAW,iBAAA,EAAE,SAAS,eAAA,EAAK,KAAK,cAAlC,4BAAoC,CAAF;IAE/C,IAAI,gBAAgB,GAAG,UAAU,CAC7B,SAAS,EACT,SAAS,YACP,GAAC,cAAc,IAAG,CAAC,WAAW,IAAI,WAAW,KAAK,CAAC,iBACnD,GAAC,gBAAgB,IAAG,WAAW,IAAI,WAAW,KAAK,CAAC,MACzD,CAAC;IAEF,IAAI,gBAAgB,CAAC;IACrB,IAAI,UAAU,GAAG,EAAE,CAAC;IACpB,IAAI,WAAW,EAAE;QACb,gBAAgB;YAChB,oBAAC,KAAK,CAAC,QAAQ;gBACX,8BACI,CAAC,EAAC,QAAQ,EACV,CAAC,EAAC,OAAO,EACT,SAAS,EAAC,2DAA2D,EACrE,SAAS,EAAC,KAAK,EACf,KAAK,EAAC,OAAO,EACb,MAAM,EAAC,OAAO,GAAE;gBAEpB,8BACI,CAAC,EAAC,QAAQ,EACV,CAAC,EAAC,KAAK,EACP,SAAS,EAAC,4DAA4D,EACtE,SAAS,EAAC,KAAK,EACf,KAAK,EAAC,QAAQ,EACd,MAAM,EAAC,OAAO,GAAE;gBAEpB,8BACI,CAAC,EAAC,MAAM,EACR,CAAC,EAAC,QAAQ,EACV,SAAS,EAAC,4DAA4D,EACtE,SAAS,EAAC,KAAK,EACf,KAAK,EAAC,OAAO,EACb,MAAM,EAAC,OAAO,GAAE,CACP,CAAC;QAClB,UAAU;YACN,GAAC,UAAU,IAAG,UAAU;YACxB,GAAC,YAAY,IAAG,+BAA+B;eAClD,CAAC;KACL;SAAM;QACH,UAAU,aAAK,GAAC,YAAY,IAAG,qBAAqB,KAAE,CAAC;KAC1D;IAED,CAAC;IAED,OAAO,CACH,oCAAG,SAAS,EAAG,gBAAgB,IAAQ,UAAU,EAAQ,KAAK,mBAAe,wBAAwB;QACjG,6BAAK,OAAO,EAAC,KAAK,EAAC,EAAE,EAAC,SAAS,EAAC,CAAC,EAAC,KAAK,EAAC,CAAC,EAAC,KAAK,EAC3C,OAAO,EAAC,iBAAiB,EAAC,KAAK,EAAG,EAAE,gBAAgB,EAAE,qBAAqB,EAAE;YAC7E,8BAAM,SAAS,EAAC,KAAK,EAAC,CAAC,EAAC,ggBAGmG,GAAE;YAC3H,gBAAgB,CAChB,CACN,CACP,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC;AAEvB,OAAO,CAAC,SAAS,GAAG;IAIhB,WAAW,EAAE,SAAS,CAAC,SAAS,CAAC;QAC7B,SAAS,CAAC,IAAI;QACd,SAAS,CAAC,MAAM;KACnB,CAAC;IACF,SAAS,EAAE,SAAS,CAAC,MAAM;CAC9B,CAAC"}
@@ -0,0 +1,19 @@
1
+ :root {
2
+ --ins-color--orange: #ec7a08;
3
+ }
4
+
5
+ i.Ansible.is-supported .st0 {
6
+ fill: var(--pf-global--info-color--100);
7
+ }
8
+ i.Ansible.is-unsupported {
9
+ cursor: not-allowed;
10
+ }
11
+ i.Ansible.is-unsupported .st0, i.Ansible.is-unsupported .st1, i.Ansible.is-unsupported .st2 {
12
+ fill: var(--pf-global--disabled-color--200);
13
+ }
14
+ i.Ansible svg {
15
+ height: var(--pf-global--FontSize--xl);
16
+ position: relative;
17
+ top: 4px;
18
+ top: 0.25rem;
19
+ }
@@ -0,0 +1,14 @@
1
+ @import '~@redhat-cloud-services/frontend-components-utilities/styles/_all.scss';
2
+
3
+ i.Ansible {
4
+ &.is-supported .st0{ fill: $ins-color--blue; }
5
+ &.is-unsupported {
6
+ .st0, .st1, .st2 { fill: $ins-color--gray; }
7
+ cursor: not-allowed;
8
+ }
9
+ svg {
10
+ height: var(--pf-global--FontSize--xl);
11
+ position: relative;
12
+ @include rem('top', 4px);
13
+ }
14
+ }
@@ -1,2 +1,3 @@
1
1
  export { default } from './Ansible';
2
- export { default as Ansible } from './Ansible';
2
+ export { default as Ansible } from './Ansible';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Ansible/index.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC"}
@@ -1,76 +1,48 @@
1
- import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- import _extends from "@babel/runtime/helpers/extends";
3
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
-
5
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
6
-
7
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
8
-
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
9
23
  import React from 'react';
10
24
  import PropTypes from 'prop-types';
11
25
  import { ScalprumComponent } from '@scalprum/react-core';
12
- import { Bullseye } from "@patternfly/react-core/dist/esm/layouts/Bullseye/Bullseye.js";
13
- import { Spinner } from "@patternfly/react-core/dist/esm/components/Spinner/Spinner.js";
26
+ import { Bullseye, Spinner } from '@patternfly/react-core';
14
27
  import classNames from 'classnames';
15
-
16
- var BaseAsyncComponent = function BaseAsyncComponent(_ref) {
17
- var appName = _ref.appName,
18
- scope = _ref.scope,
19
- module = _ref.module,
20
- fallback = _ref.fallback,
21
- innerRef = _ref.innerRef,
22
- className = _ref.className,
23
- Cmp = _ref.component,
24
- props = _objectWithoutProperties(_ref, ["appName", "scope", "module", "fallback", "innerRef", "className", "component"]);
25
-
26
- return /*#__PURE__*/React.createElement(Cmp, {
27
- className: classNames(className, appName)
28
- }, /*#__PURE__*/React.createElement(ScalprumComponent, _extends({
29
- className: className,
30
- appName: appName,
31
- module: module,
32
- scope: scope || appName,
33
- ErrorComponent: fallback,
34
- ref: innerRef,
35
- fallback: fallback
36
- }, props)));
28
+ var BaseAsyncComponent = function (_a) {
29
+ var appName = _a.appName, scope = _a.scope, module = _a.module, fallback = _a.fallback, innerRef = _a.innerRef, className = _a.className, Cmp = _a.component, props = __rest(_a, ["appName", "scope", "module", "fallback", "innerRef", "className", "component"]);
30
+ return (React.createElement(Cmp, { className: classNames(className, appName) },
31
+ React.createElement(ScalprumComponent, __assign({ className: className, appName: appName, module: module, scope: scope || appName, ErrorComponent: fallback, ref: innerRef, fallback: fallback }, props))));
37
32
  };
38
- /**
39
- * Async component that wraps ScalprumComponent for easier manipulation.
40
- *
41
- * This component uses fallback as ErrorComponent, if you want to show different
42
- * component for error pass it as ErrorComponent prop.
43
- */
44
-
45
-
46
- var AsynComponent = /*#__PURE__*/React.forwardRef(function (props, ref) {
47
- return /*#__PURE__*/React.createElement(BaseAsyncComponent, _extends({
48
- innerRef: ref
49
- }, props));
50
- });
33
+ var AsynComponent = React.forwardRef(function (props, ref) { return (React.createElement(BaseAsyncComponent, __assign({ innerRef: ref }, props))); });
51
34
  AsynComponent.propTypes = {
52
- /** React Suspense fallback component. <a href="https://reactjs.org/docs/code-splitting.html#reactlazy" target="_blank">Learn more</a>. */
53
- fallback: PropTypes.node,
54
-
55
- /** Name of the app from which module will be loaded. */
56
- appName: PropTypes.string.isRequired,
57
-
58
- /** Loaded module, it has to start with `./`. */
59
- module: PropTypes.string.isRequired,
60
-
61
- /** Optional scope, if not passed appName is used. */
62
- scope: PropTypes.string,
63
-
64
- /** Optional wrapper component */
65
- component: PropTypes.string
35
+ fallback: PropTypes.node,
36
+ appName: PropTypes.string.isRequired,
37
+ module: PropTypes.string.isRequired,
38
+ scope: PropTypes.string,
39
+ component: PropTypes.string
66
40
  };
67
41
  AsynComponent.defaultProps = {
68
- fallback: /*#__PURE__*/React.createElement(Bullseye, null, /*#__PURE__*/React.createElement(Spinner, {
69
- size: "xl"
70
- })),
71
- component: 'section'
42
+ fallback: (React.createElement(Bullseye, null,
43
+ React.createElement(Spinner, { size: "xl" }))),
44
+ component: 'section'
72
45
  };
73
- BaseAsyncComponent.propTypes = _objectSpread(_objectSpread({}, AsynComponent.propTypes), {}, {
74
- innerRef: PropTypes.any
75
- });
76
- export default AsynComponent;
46
+ BaseAsyncComponent.propTypes = __assign(__assign({}, AsynComponent.propTypes), { innerRef: PropTypes.any });
47
+ export default AsynComponent;
48
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/AsyncComponent/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,IAAM,kBAAkB,GAAG,UAAC,EAS3B;IARG,IAAA,OAAO,aAAA,EACP,KAAK,WAAA,EACL,MAAM,YAAA,EACN,QAAQ,cAAA,EACR,QAAQ,cAAA,EACR,SAAS,eAAA,EACE,GAAG,eAAA,EACX,KAAK,cARgB,gFAS3B,CADW;IAER,OAAO,CACH,oBAAC,GAAG,IAAC,SAAS,EAAE,UAAU,CAAC,SAAS,EAAE,OAAO,CAAC;QAC1C,oBAAC,iBAAiB,aACd,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,KAAK,IAAI,OAAO,EACvB,cAAc,EAAE,QAAQ,EACxB,GAAG,EAAE,QAAQ,EACb,QAAQ,EAAE,QAAQ,IACd,KAAK,EACX,CACA,CACT,CAAC;AACN,CAAC,CAAC;AAQF,IAAM,aAAa,GAAG,KAAK,CAAC,UAAU,CAAC,UAAC,KAAK,EAAE,GAAG,IAAK,OAAA,CACnD,oBAAC,kBAAkB,aAAC,QAAQ,EAAE,GAAG,IAAM,KAAK,EAAI,CACnD,EAFsD,CAEtD,CAAC,CAAC;AAEH,aAAa,CAAC,SAAS,GAAG;IAEtB,QAAQ,EAAE,SAAS,CAAC,IAAI;IAExB,OAAO,EAAE,SAAS,CAAC,MAAM,CAAC,UAAU;IAEpC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,UAAU;IAEnC,KAAK,EAAE,SAAS,CAAC,MAAM;IAEvB,SAAS,EAAE,SAAS,CAAC,MAAM;CAC9B,CAAC;AAEF,aAAa,CAAC,YAAY,GAAG;IACzB,QAAQ,EAAE,CACN,oBAAC,QAAQ;QACL,oBAAC,OAAO,IAAC,IAAI,EAAC,IAAI,GAAG,CACd,CACd;IACD,SAAS,EAAE,SAAS;CACvB,CAAC;AAEF,kBAAkB,CAAC,SAAS,yBACrB,aAAa,CAAC,SAAS,KAC1B,QAAQ,EAAE,SAAS,CAAC,GAAG,GAC1B,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,8 +1,25 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
-
5
- /* eslint max-len: 0 */
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
6
23
  import React from 'react';
7
24
  import propTypes from 'prop-types';
8
25
  import classNames from 'classnames';
@@ -11,99 +28,55 @@ import HighBattery from './HighBattery';
11
28
  import MediumBattery from './MediumBattery';
12
29
  import LowBattery from './LowBattery';
13
30
  import NullBattery from './NullBattery';
14
- import "../../Battery/./battery.css";
15
- /**
16
- * This is the battery component that generates a 'battery'
17
- * which corresponds to a level 1-4
18
- * 1 - low, green - best case scenario
19
- * 2 - medium, yellow
20
- * 3 - high, orange
21
- * 4 - critical, red - worst case scenario
22
- * Also accepts a label which can be made invisible
23
- */
24
-
25
- var Battery = function Battery(_ref) {
26
- var severity = _ref.severity,
27
- label = _ref.label,
28
- labelHidden = _ref.labelHidden,
29
- className = _ref.className,
30
- props = _objectWithoutProperties(_ref, ["severity", "label", "labelHidden", "className"]);
31
-
32
- var batteryClasses = classNames(className, 'ins-battery', _defineProperty({}, "ins-battery-".concat(severity), severity !== undefined));
33
- var ariaLabels = {};
34
-
35
- if (labelHidden) {
36
- ariaLabels = _defineProperty({}, 'aria-label', severity + ' ' + label);
37
- }
38
-
39
- function batteryLevels(severity) {
40
- switch (severity) {
41
- case 'critical':
42
- case 4:
43
- return /*#__PURE__*/React.createElement(CriticalBattery, null);
44
-
45
- case 'high':
46
- case 'error':
47
- case 3:
48
- return /*#__PURE__*/React.createElement(HighBattery, null);
49
-
50
- case 'medium':
51
- case 'warn':
52
- case 2:
53
- return /*#__PURE__*/React.createElement(MediumBattery, null);
54
-
55
- case 'low':
56
- case 'info':
57
- case 1:
58
- return /*#__PURE__*/React.createElement(LowBattery, null);
59
-
60
- default:
61
- // eslint-disable-next-line
62
- console.error('Warning: Unsupported value presented to battery component');
63
- return /*#__PURE__*/React.createElement(NullBattery, null);
31
+ import './battery.css';
32
+ var Battery = function (_a) {
33
+ var _b, _c;
34
+ var severity = _a.severity, label = _a.label, labelHidden = _a.labelHidden, className = _a.className, props = __rest(_a, ["severity", "label", "labelHidden", "className"]);
35
+ var batteryClasses = classNames(className, 'ins-battery', (_b = {}, _b["ins-battery-".concat(severity)] = severity !== undefined, _b));
36
+ var ariaLabels = {};
37
+ if (labelHidden) {
38
+ ariaLabels = (_c = {}, _c['aria-label'] = severity + ' ' + label, _c);
64
39
  }
65
- }
66
-
67
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("i", _extends({
68
- className: batteryClasses
69
- }, ariaLabels, props, {
70
- "widget-type": "InsightsBattery",
71
- "widget-id": label
72
- }), /*#__PURE__*/React.createElement("svg", {
73
- version: "1.1",
74
- id: "battery_svg",
75
- x: "0px",
76
- y: "0px",
77
- viewBox: "0 0 448 512",
78
- style: {
79
- enableBackground: 'new 0 0 448 512'
80
- },
81
- shapeRendering: "geometricpresision"
82
- }, /*#__PURE__*/React.createElement("path", {
83
- style: {
84
- fill: 'none',
85
- fillOpacity: 1,
86
- stroke: '#969696',
87
- strokeWidth: 41.96378708,
88
- strokeLinejoin: 'round',
89
- strokeMiterlimit: 4,
90
- strokeDasharray: 'none',
91
- strokeDashoffset: 0,
92
- strokeOpacity: 1
93
- },
94
- d: "m 144.16452,21.032222 h 159.67454 q 123.1748,0 123.1748,128.667868 v 212.64759 q 0,128.66788 -123.1748,128.66788 H 144.16452 q -123.174811,0 -123.174811,-128.66788 V 149.70009 q 0,-128.667868 123.174811,-128.667868 z"
95
- }), batteryLevels(severity))), !labelHidden && /*#__PURE__*/React.createElement("span", {
96
- className: "label"
97
- }, " ", label, " "));
40
+ function batteryLevels(severity) {
41
+ switch (severity) {
42
+ case 'critical':
43
+ case 4:
44
+ return React.createElement(CriticalBattery, null);
45
+ case 'high':
46
+ case 'error':
47
+ case 3:
48
+ return React.createElement(HighBattery, null);
49
+ case 'medium':
50
+ case 'warn':
51
+ case 2:
52
+ return React.createElement(MediumBattery, null);
53
+ case 'low':
54
+ case 'info':
55
+ case 1:
56
+ return React.createElement(LowBattery, null);
57
+ default:
58
+ console.error('Warning: Unsupported value presented to battery component');
59
+ return React.createElement(NullBattery, null);
60
+ }
61
+ }
62
+ return (React.createElement(React.Fragment, null,
63
+ React.createElement("i", __assign({ className: batteryClasses }, ariaLabels, props, { "widget-type": 'InsightsBattery', "widget-id": label }),
64
+ React.createElement("svg", { version: "1.1", id: "battery_svg", x: "0px", y: "0px", viewBox: "0 0 448 512", style: { enableBackground: 'new 0 0 448 512' }, shapeRendering: 'geometricpresision' },
65
+ React.createElement("path", { style: { fill: 'none', fillOpacity: 1, stroke: '#969696', strokeWidth: 41.96378708, strokeLinejoin: 'round', strokeMiterlimit: 4, strokeDasharray: 'none', strokeDashoffset: 0, strokeOpacity: 1 }, d: "m 144.16452,21.032222 h 159.67454 q 123.1748,0 123.1748,128.667868 v 212.64759 q 0,128.66788 -123.1748,128.66788 H 144.16452 q -123.174811,0 -123.174811,-128.66788 V 149.70009 q 0,-128.667868 123.174811,-128.667868 z" }),
66
+ batteryLevels(severity))),
67
+ !labelHidden && React.createElement("span", { className: 'label' },
68
+ " ",
69
+ label,
70
+ " ")));
98
71
  };
99
-
100
72
  export default Battery;
101
73
  Battery.propTypes = {
102
- severity: propTypes.oneOf([1, 2, 3, 4, 'info', 'low', 'warn', 'medium', 'error', 'high', 'critical']),
103
- label: propTypes.string.isRequired,
104
- labelHidden: propTypes.bool,
105
- className: propTypes.string
74
+ severity: propTypes.oneOf([1, 2, 3, 4, 'info', 'low', 'warn', 'medium', 'error', 'high', 'critical']),
75
+ label: propTypes.string.isRequired,
76
+ labelHidden: propTypes.bool,
77
+ className: propTypes.string
106
78
  };
107
79
  Battery.defaultProps = {
108
- severity: 'null'
109
- };
80
+ severity: 'null'
81
+ };
82
+ //# sourceMappingURL=Battery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Battery.js","sourceRoot":"","sources":["../../src/Battery/Battery.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,WAAW,MAAM,eAAe,CAAC;AAExC,OAAO,gBAAgB,CAAC;AAYxB,IAAM,OAAO,GAAG,UAAC,EAAqD;;IAAnD,IAAA,QAAQ,cAAA,EAAE,KAAK,WAAA,EAAE,WAAW,iBAAA,EAAE,SAAS,eAAA,EAAK,KAAK,cAAnD,iDAAqD,CAAF;IAEhE,IAAI,cAAc,GAAG,UAAU,CAC3B,SAAS,EACT,aAAa,YACX,GAAC,sBAAe,QAAQ,CAAE,IAAG,QAAQ,KAAK,SAAS,MACxD,CAAC;IAEF,IAAI,UAAU,GAAG,EAAE,CAAC;IACpB,IAAI,WAAW,EAAE;QACb,UAAU,aAAK,GAAC,YAAY,IAAG,QAAQ,GAAG,GAAG,GAAG,KAAK,KAAE,CAAC;KAC3D;IAED,SAAS,aAAa,CAAE,QAAQ;QAC5B,QAAQ,QAAQ,EAAE;YACd,KAAK,UAAU,CAAC;YAChB,KAAK,CAAC;gBACF,OAAO,oBAAC,eAAe,OAAE,CAAC;YAC9B,KAAK,MAAM,CAAC;YACZ,KAAK,OAAO,CAAC;YACb,KAAK,CAAC;gBACF,OAAO,oBAAC,WAAW,OAAE,CAAC;YAC1B,KAAK,QAAQ,CAAC;YACd,KAAK,MAAM,CAAC;YACZ,KAAK,CAAC;gBACF,OAAO,oBAAC,aAAa,OAAE,CAAC;YAC5B,KAAK,KAAK,CAAC;YACX,KAAK,MAAM,CAAC;YACZ,KAAK,CAAC;gBACF,OAAO,oBAAC,UAAU,OAAE,CAAC;YACzB;gBAEI,OAAO,CAAC,KAAK,CAAC,2DAA2D,CAAC,CAAC;gBAC3E,OAAO,oBAAC,WAAW,OAAE,CAAC;SAC7B;IACL,CAAC;IAED,OAAO,CACH,oBAAC,KAAK,CAAC,QAAQ;QACX,oCAAG,SAAS,EAAG,cAAc,IAAQ,UAAU,EAAQ,KAAK,mBAAe,iBAAiB,eAAa,KAAK;YAC1G,6BAAK,OAAO,EAAC,KAAK,EACd,EAAE,EAAC,aAAa,EAChB,CAAC,EAAC,KAAK,EAAC,CAAC,EAAC,KAAK,EACf,OAAO,EAAC,aAAa,EACrB,KAAK,EAAG,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,EAC/C,cAAc,EAAE,oBAAoB;gBACpC,8BACI,KAAK,EAAG,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,OAAO,EAAE,gBAAgB,EAAE,CAAC,EAAE,eAAe,EAAE,MAAM,EAAE,gBAAgB,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,EACnM,CAAC,EAAC,0NAA0N,GAAG;gBACjO,aAAa,CAAC,QAAQ,CAAC,CACvB,CACN;QACF,CAAC,WAAW,IAAI,8BAAM,SAAS,EAAC,OAAO;;YAAI,KAAK;gBAAU,CAC/C,CACpB,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC;AAEvB,OAAO,CAAC,SAAS,GAAG;IAChB,QAAQ,EAAE,SAAS,CAAC,KAAK,CAAC,CAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,CAAE,CAAC;IACvG,KAAK,EAAE,SAAS,CAAC,MAAM,CAAC,UAAU;IAClC,WAAW,EAAE,SAAS,CAAC,IAAI;IAC3B,SAAS,EAAE,SAAS,CAAC,MAAM;CAC9B,CAAC;AAEF,OAAO,CAAC,YAAY,GAAG;IACnB,QAAQ,EAAE,MAAM;CACnB,CAAC"}
@@ -1,13 +1,6 @@
1
- /* eslint max-len: 0 */
2
1
  import React from 'react';
3
- /**
4
- * Battery component critical partial. For correct collor scheme use the [Battery component](/components/Battery) with correct props.
5
- */
6
-
7
- var CriticalBattery = function CriticalBattery() {
8
- return /*#__PURE__*/React.createElement("path", {
9
- d: "M 99.168858,143.38516 H 351.33914 c 5.33437,0 9.69886,-5.04 9.69886,-11.2 v -28 c 0,-6.16 -4.36449,-11.2 -9.69886,-11.2 H 99.168857 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.2 9.698858,11.2 z M 99.168857,235.25069 H 351.33914 c 5.33437,0 9.69886,-5.04 9.69886,-11.2 v -28 c 0,-6.16 -4.36449,-11.2 -9.69886,-11.2 H 99.168857 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.2 9.698857,11.2 z M 99.168857,327.14542 H 351.33914 c 5.33437,0 9.69886,-5.04 9.69886,-11.19999 v -28 c 0,-6.16001 -4.36449,-11.2 -9.69886,-11.2 H 99.168857 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.19999 9.698857,11.19999 z M 99.168993,419.0375 H 351.33927 c 5.33437,0 9.69886,-5.04 9.69886,-11.2 v -28 c 0,-6.16 -4.36449,-11.2 -9.69886,-11.2 H 99.168993 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.2 9.698857,11.2 z"
10
- });
2
+ var CriticalBattery = function () {
3
+ return (React.createElement("path", { d: "M 99.168858,143.38516 H 351.33914 c 5.33437,0 9.69886,-5.04 9.69886,-11.2 v -28 c 0,-6.16 -4.36449,-11.2 -9.69886,-11.2 H 99.168857 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.2 9.698858,11.2 z M 99.168857,235.25069 H 351.33914 c 5.33437,0 9.69886,-5.04 9.69886,-11.2 v -28 c 0,-6.16 -4.36449,-11.2 -9.69886,-11.2 H 99.168857 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.2 9.698857,11.2 z M 99.168857,327.14542 H 351.33914 c 5.33437,0 9.69886,-5.04 9.69886,-11.19999 v -28 c 0,-6.16001 -4.36449,-11.2 -9.69886,-11.2 H 99.168857 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.19999 9.698857,11.19999 z M 99.168993,419.0375 H 351.33927 c 5.33437,0 9.69886,-5.04 9.69886,-11.2 v -28 c 0,-6.16 -4.36449,-11.2 -9.69886,-11.2 H 99.168993 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.2 9.698857,11.2 z" }));
11
4
  };
12
-
13
- export default CriticalBattery;
5
+ export default CriticalBattery;
6
+ //# sourceMappingURL=CriticalBattery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CriticalBattery.js","sourceRoot":"","sources":["../../src/Battery/CriticalBattery.js"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,IAAM,eAAe,GAAG;IACpB,OAAO,CACH,8BAAM,CAAC,EAAC,+3BAA+3B,GAAG,CAC74B,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,10 +1,6 @@
1
- /* eslint max-len: 0 */
2
1
  import React from 'react';
3
-
4
- var HighBattery = function HighBattery() {
5
- return /*#__PURE__*/React.createElement("path", {
6
- d: "M 99.168857,235.25069 H 351.33914 c 5.33437,0 9.69886,-5.04 9.69886,-11.2 v -28 c 0,-6.16 -4.36449,-11.2 -9.69886,-11.2 H 99.168857 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.2 9.698857,11.2 z M 99.168857,327.14542 H 351.33914 c 5.33437,0 9.69886,-5.04 9.69886,-11.19999 v -28 c 0,-6.16001 -4.36449,-11.2 -9.69886,-11.2 H 99.168857 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.19999 9.698857,11.19999 z M 99.168993,419.0375 H 351.33927 c 5.33437,0 9.69886,-5.04 9.69886,-11.2 v -28 c 0,-6.16 -4.36449,-11.2 -9.69886,-11.2 H 99.168993 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.2 9.698857,11.2 z"
7
- });
2
+ var HighBattery = function () {
3
+ return (React.createElement("path", { d: "M 99.168857,235.25069 H 351.33914 c 5.33437,0 9.69886,-5.04 9.69886,-11.2 v -28 c 0,-6.16 -4.36449,-11.2 -9.69886,-11.2 H 99.168857 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.2 9.698857,11.2 z M 99.168857,327.14542 H 351.33914 c 5.33437,0 9.69886,-5.04 9.69886,-11.19999 v -28 c 0,-6.16001 -4.36449,-11.2 -9.69886,-11.2 H 99.168857 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.19999 9.698857,11.19999 z M 99.168993,419.0375 H 351.33927 c 5.33437,0 9.69886,-5.04 9.69886,-11.2 v -28 c 0,-6.16 -4.36449,-11.2 -9.69886,-11.2 H 99.168993 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.2 9.698857,11.2 z" }));
8
4
  };
9
-
10
- export default HighBattery;
5
+ export default HighBattery;
6
+ //# sourceMappingURL=HighBattery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HighBattery.js","sourceRoot":"","sources":["../../src/Battery/HighBattery.js"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,IAAM,WAAW,GAAG;IAChB,OAAO,CACH,8BAAM,CAAC,EAAC,mqBAAmqB,GAAG,CACjrB,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,10 +1,6 @@
1
- /* eslint max-len: 0 */
2
1
  import React from 'react';
3
-
4
- var LowBattery = function LowBattery() {
5
- return /*#__PURE__*/React.createElement("path", {
6
- d: "M 99.168993,419.0375 H 351.33927 c 5.33437,0 9.69886,-5.04 9.69886,-11.2 v -28 c 0,-6.16 -4.36449,-11.2 -9.69886,-11.2 H 99.168993 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.2 9.698857,11.2 z"
7
- });
2
+ var LowBattery = function () {
3
+ return (React.createElement("path", { d: "M 99.168993,419.0375 H 351.33927 c 5.33437,0 9.69886,-5.04 9.69886,-11.2 v -28 c 0,-6.16 -4.36449,-11.2 -9.69886,-11.2 H 99.168993 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.2 9.698857,11.2 z" }));
8
4
  };
9
-
10
- export default LowBattery;
5
+ export default LowBattery;
6
+ //# sourceMappingURL=LowBattery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LowBattery.js","sourceRoot":"","sources":["../../src/Battery/LowBattery.js"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,IAAM,UAAU,GAAG;IACf,OAAO,CACH,8BAAM,CAAC,EAAC,4NAA4N,GAAG,CAC1O,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,10 +1,6 @@
1
- /* eslint max-len: 0 */
2
1
  import React from 'react';
3
-
4
- var MediumBattery = function MediumBattery() {
5
- return /*#__PURE__*/React.createElement("path", {
6
- d: "M 99.168857,327.14542 H 351.33914 c 5.33437,0 9.69886,-5.04 9.69886,-11.19999 v -28 c 0,-6.16001 -4.36449,-11.2 -9.69886,-11.2 H 99.168857 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.19999 9.698857,11.19999 z M 99.168993,419.0375 H 351.33927 c 5.33437,0 9.69886,-5.04 9.69886,-11.2 v -28 c 0,-6.16 -4.36449,-11.2 -9.69886,-11.2 H 99.168993 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.2 9.698857,11.2 z"
7
- });
2
+ var MediumBattery = function () {
3
+ return (React.createElement("path", { d: "M 99.168857,327.14542 H 351.33914 c 5.33437,0 9.69886,-5.04 9.69886,-11.19999 v -28 c 0,-6.16001 -4.36449,-11.2 -9.69886,-11.2 H 99.168857 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.19999 9.698857,11.19999 z M 99.168993,419.0375 H 351.33927 c 5.33437,0 9.69886,-5.04 9.69886,-11.2 v -28 c 0,-6.16 -4.36449,-11.2 -9.69886,-11.2 H 99.168993 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.2 9.698857,11.2 z" }));
8
4
  };
9
-
10
- export default MediumBattery;
5
+ export default MediumBattery;
6
+ //# sourceMappingURL=MediumBattery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MediumBattery.js","sourceRoot":"","sources":["../../src/Battery/MediumBattery.js"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,IAAM,aAAa,GAAG;IAClB,OAAO,CACH,8BAAM,CAAC,EAAC,ucAAuc,GAAG,CACrd,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,10 +1,6 @@
1
- /* eslint max-len: 0 */
2
1
  import React from 'react';
3
-
4
- var NullBattery = function NullBattery() {
5
- return /*#__PURE__*/React.createElement("path", {
6
- d: "M 99.168858,143.38516 H 351.33914 c 5.33437,0 9.69886,-5.04 9.69886,-11.2 v -28 c 0,-6.16 -4.36449,-11.2 -9.69886,-11.2 H 99.168857 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.2 9.698858,11.2 z M 99.168857,235.25069 H 351.33914 c 5.33437,0 9.69886,-5.04 9.69886,-11.2 v -28 c 0,-6.16 -4.36449,-11.2 -9.69886,-11.2 H 99.168857 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.2 9.698857,11.2 z M 99.168857,327.14542 H 351.33914 c 5.33437,0 9.69886,-5.04 9.69886,-11.19999 v -28 c 0,-6.16001 -4.36449,-11.2 -9.69886,-11.2 H 99.168857 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.19999 9.698857,11.19999 z M 99.168993,419.0375 H 351.33927 c 5.33437,0 9.69886,-5.04 9.69886,-11.2 v -28 c 0,-6.16 -4.36449,-11.2 -9.69886,-11.2 H 99.168993 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.2 9.698857,11.2 z"
7
- });
2
+ var NullBattery = function () {
3
+ return (React.createElement("path", { d: "M 99.168858,143.38516 H 351.33914 c 5.33437,0 9.69886,-5.04 9.69886,-11.2 v -28 c 0,-6.16 -4.36449,-11.2 -9.69886,-11.2 H 99.168857 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.2 9.698858,11.2 z M 99.168857,235.25069 H 351.33914 c 5.33437,0 9.69886,-5.04 9.69886,-11.2 v -28 c 0,-6.16 -4.36449,-11.2 -9.69886,-11.2 H 99.168857 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.2 9.698857,11.2 z M 99.168857,327.14542 H 351.33914 c 5.33437,0 9.69886,-5.04 9.69886,-11.19999 v -28 c 0,-6.16001 -4.36449,-11.2 -9.69886,-11.2 H 99.168857 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.19999 9.698857,11.19999 z M 99.168993,419.0375 H 351.33927 c 5.33437,0 9.69886,-5.04 9.69886,-11.2 v -28 c 0,-6.16 -4.36449,-11.2 -9.69886,-11.2 H 99.168993 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.2 9.698857,11.2 z" }));
8
4
  };
9
-
10
- export default NullBattery;
5
+ export default NullBattery;
6
+ //# sourceMappingURL=NullBattery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NullBattery.js","sourceRoot":"","sources":["../../src/Battery/NullBattery.js"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,IAAM,WAAW,GAAG;IAChB,OAAO,CACH,8BAAM,CAAC,EAAC,+3BAA+3B,GAAG,CAC74B,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}