@redhat-cloud-services/frontend-components 3.4.13 → 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 (767) 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 +161 -243
  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/group-filter.css +19 -0
  70. package/ConditionalFilter/group-filter.scss +23 -0
  71. package/ConditionalFilter/groupFilterConstants.d.ts +7 -0
  72. package/ConditionalFilter/groupFilterConstants.js +156 -110
  73. package/ConditionalFilter/groupFilterConstants.js.map +1 -0
  74. package/ConditionalFilter/groupType.d.ts +8 -0
  75. package/ConditionalFilter/groupType.js +8 -11
  76. package/ConditionalFilter/groupType.js.map +1 -0
  77. package/ConditionalFilter/index.d.ts +7 -0
  78. package/ConditionalFilter/index.js +30 -81
  79. package/ConditionalFilter/index.js.map +1 -0
  80. package/ConditionalFilter/package.json +1 -1
  81. package/CullingInfo/CullingInformation.d.ts +31 -0
  82. package/CullingInfo/CullingInformation.js +84 -102
  83. package/CullingInfo/CullingInformation.js.map +1 -0
  84. package/CullingInfo/index.d.ts +1 -0
  85. package/CullingInfo/index.js +10 -20
  86. package/CullingInfo/index.js.map +1 -0
  87. package/CullingInfo/package.json +1 -1
  88. package/Dark/Dark.d.ts +3 -0
  89. package/Dark/Dark.js +35 -0
  90. package/Dark/Dark.js.map +1 -0
  91. package/Dark/DarkContext.d.ts +4 -0
  92. package/Dark/DarkContext.js +7 -30
  93. package/Dark/DarkContext.js.map +1 -0
  94. package/Dark/index.d.ts +3 -3
  95. package/Dark/index.js +12 -28
  96. package/Dark/index.js.map +1 -0
  97. package/DateFormat/DateFormat.d.ts +16 -0
  98. package/DateFormat/DateFormat.js +20 -48
  99. package/DateFormat/DateFormat.js.map +1 -0
  100. package/DateFormat/helper.d.ts +3 -0
  101. package/DateFormat/helper.js +47 -101
  102. package/DateFormat/helper.js.map +1 -0
  103. package/DateFormat/index.d.ts +2 -0
  104. package/DateFormat/index.js +20 -36
  105. package/DateFormat/index.js.map +1 -0
  106. package/DateFormat/package.json +1 -1
  107. package/DownloadButton/DownloadButton.d.ts +24 -0
  108. package/DownloadButton/DownloadButton.js +112 -142
  109. package/DownloadButton/DownloadButton.js.map +1 -0
  110. package/DownloadButton/index.d.ts +1 -0
  111. package/DownloadButton/index.js +10 -20
  112. package/DownloadButton/index.js.map +1 -0
  113. package/DownloadButton/package.json +1 -1
  114. package/EmptyTable/EmptyTable.d.ts +15 -0
  115. package/EmptyTable/EmptyTable.js +42 -37
  116. package/EmptyTable/EmptyTable.js.map +1 -0
  117. package/EmptyTable/index.d.ts +2 -0
  118. package/EmptyTable/index.js +10 -22
  119. package/EmptyTable/index.js.map +1 -0
  120. package/EmptyTable/package.json +1 -1
  121. package/ErrorState/DefaultErrorMessage.d.ts +2 -0
  122. package/ErrorState/DefaultErrorMessage.js +16 -21
  123. package/ErrorState/DefaultErrorMessage.js.map +1 -0
  124. package/ErrorState/ErrorState.d.ts +17 -0
  125. package/ErrorState/ErrorState.js +49 -66
  126. package/ErrorState/ErrorState.js.map +1 -0
  127. package/ErrorState/index.d.ts +2 -0
  128. package/ErrorState/index.js +12 -28
  129. package/ErrorState/index.js.map +1 -0
  130. package/ErrorState/package.json +1 -1
  131. package/FilterChips/FilterChips.d.ts +39 -0
  132. package/FilterChips/FilterChips.js +70 -116
  133. package/FilterChips/FilterChips.js.map +1 -0
  134. package/FilterChips/index.d.ts +1 -0
  135. package/FilterChips/index.js +10 -20
  136. package/FilterChips/index.js.map +1 -0
  137. package/FilterChips/package.json +1 -1
  138. package/FilterHooks/constants.d.ts +3 -0
  139. package/FilterHooks/constants.js +109 -128
  140. package/FilterHooks/constants.js.map +1 -0
  141. package/FilterHooks/index.d.ts +3 -0
  142. package/FilterHooks/index.js +17 -39
  143. package/FilterHooks/index.js.map +1 -0
  144. package/FilterHooks/package.json +1 -1
  145. package/FilterHooks/tagFilterHook.d.ts +45 -0
  146. package/FilterHooks/tagFilterHook.js +117 -145
  147. package/FilterHooks/tagFilterHook.js.map +1 -0
  148. package/Filters/FilterDropdown.d.ts +43 -0
  149. package/Filters/FilterDropdown.js +108 -159
  150. package/Filters/FilterDropdown.js.map +1 -0
  151. package/Filters/FilterInput.d.ts +37 -0
  152. package/Filters/FilterInput.js +109 -163
  153. package/Filters/FilterInput.js.map +1 -0
  154. package/Filters/index.d.ts +2 -0
  155. package/Filters/index.js +10 -22
  156. package/Filters/index.js.map +1 -0
  157. package/Filters/package.json +1 -1
  158. package/Input/Input.d.ts +23 -0
  159. package/Input/Input.js +44 -50
  160. package/Input/Input.js.map +1 -0
  161. package/Input/LabeledInput.d.ts +17 -0
  162. package/Input/LabeledInput.js +43 -44
  163. package/Input/LabeledInput.js.map +1 -0
  164. package/Input/index.d.ts +2 -0
  165. package/Input/index.js +12 -28
  166. package/Input/index.js.map +1 -0
  167. package/Input/package.json +1 -1
  168. package/InsightsLabel/CriticalIcon.d.ts +3 -0
  169. package/InsightsLabel/CriticalIcon.js +9 -22
  170. package/InsightsLabel/CriticalIcon.js.map +1 -0
  171. package/InsightsLabel/InsightsLabel.d.ts +14 -0
  172. package/InsightsLabel/InsightsLabel.js +42 -67
  173. package/InsightsLabel/InsightsLabel.js.map +1 -0
  174. package/InsightsLabel/index.d.ts +3 -0
  175. package/InsightsLabel/index.js +12 -28
  176. package/InsightsLabel/index.js.map +1 -0
  177. package/InsightsLabel/package.json +1 -1
  178. package/InvalidObject/InvalidObject.d.ts +4 -0
  179. package/InvalidObject/InvalidObject.js +40 -42
  180. package/InvalidObject/InvalidObject.js.map +1 -0
  181. package/InvalidObject/icon-404.d.ts +2 -0
  182. package/InvalidObject/icon-404.js +50 -202
  183. package/InvalidObject/icon-404.js.map +1 -0
  184. package/InvalidObject/index.d.ts +2 -0
  185. package/InvalidObject/index.js +12 -28
  186. package/InvalidObject/index.js.map +1 -0
  187. package/InvalidObject/package.json +1 -1
  188. package/Inventory/AppInfo.d.ts +3 -0
  189. package/Inventory/AppInfo.js +53 -73
  190. package/Inventory/AppInfo.js.map +1 -0
  191. package/Inventory/DetailWrapper.d.ts +3 -0
  192. package/Inventory/DetailWrapper.js +53 -73
  193. package/Inventory/DetailWrapper.js.map +1 -0
  194. package/Inventory/InventoryDetail.d.ts +3 -0
  195. package/Inventory/InventoryDetail.js +53 -73
  196. package/Inventory/InventoryDetail.js.map +1 -0
  197. package/Inventory/InventoryDetailHead.d.ts +3 -0
  198. package/Inventory/InventoryDetailHead.js +53 -73
  199. package/Inventory/InventoryDetailHead.js.map +1 -0
  200. package/Inventory/InventoryLoadError.d.ts +11 -0
  201. package/Inventory/InventoryLoadError.js +49 -30
  202. package/Inventory/InventoryLoadError.js.map +1 -0
  203. package/Inventory/InventoryTable.d.ts +3 -0
  204. package/Inventory/InventoryTable.js +53 -73
  205. package/Inventory/InventoryTable.js.map +1 -0
  206. package/Inventory/TagWithDialog.d.ts +3 -0
  207. package/Inventory/TagWithDialog.js +53 -78
  208. package/Inventory/TagWithDialog.js.map +1 -0
  209. package/Inventory/index.d.ts +7 -0
  210. package/Inventory/index.js +20 -62
  211. package/Inventory/index.js.map +1 -0
  212. package/Inventory/package.json +1 -1
  213. package/LongTextTooltip/LongTextTooltip.d.ts +25 -0
  214. package/LongTextTooltip/LongTextTooltip.js +68 -75
  215. package/LongTextTooltip/LongTextTooltip.js.map +1 -0
  216. package/LongTextTooltip/index.d.ts +2 -0
  217. package/LongTextTooltip/index.js +10 -22
  218. package/LongTextTooltip/index.js.map +1 -0
  219. package/LongTextTooltip/package.json +1 -1
  220. package/Main/Main.d.ts +24 -0
  221. package/Main/Main.js +85 -149
  222. package/Main/Main.js.map +1 -0
  223. package/Main/index.js +10 -20
  224. package/Main/index.js.map +1 -0
  225. package/Maintenance/Maintenance.d.ts +43 -0
  226. package/Maintenance/Maintenance.js +75 -74
  227. package/Maintenance/Maintenance.js.map +1 -0
  228. package/Maintenance/index.d.ts +1 -0
  229. package/Maintenance/index.js +10 -20
  230. package/Maintenance/index.js.map +1 -0
  231. package/Maintenance/package.json +1 -1
  232. package/NotAuthorized/NotAuthorized.d.ts +42 -0
  233. package/NotAuthorized/NotAuthorized.js +78 -92
  234. package/NotAuthorized/NotAuthorized.js.map +1 -0
  235. package/NotAuthorized/index.d.ts +1 -0
  236. package/NotAuthorized/index.js +10 -20
  237. package/NotAuthorized/index.js.map +1 -0
  238. package/NotAuthorized/package.json +1 -1
  239. package/NotConnected/NotConnected.d.ts +22 -0
  240. package/NotConnected/NotConnected.js +23 -50
  241. package/NotConnected/NotConnected.js.map +1 -0
  242. package/NotConnected/index.d.ts +1 -0
  243. package/NotConnected/index.js +10 -20
  244. package/NotConnected/index.js.map +1 -0
  245. package/NotConnected/package.json +1 -1
  246. package/PageHeader/PageHeader.d.ts +7 -0
  247. package/PageHeader/PageHeader.js +40 -46
  248. package/PageHeader/PageHeader.js.map +1 -0
  249. package/PageHeader/PageHeaderTitle.d.ts +7 -0
  250. package/PageHeader/PageHeaderTitle.js +13 -36
  251. package/PageHeader/PageHeaderTitle.js.map +1 -0
  252. package/PageHeader/index.js +12 -28
  253. package/PageHeader/index.js.map +1 -0
  254. package/Pagination/Pagination.d.ts +32 -0
  255. package/Pagination/Pagination.js +109 -139
  256. package/Pagination/Pagination.js.map +1 -0
  257. package/Pagination/PaginationMenu.d.ts +34 -0
  258. package/Pagination/PaginationMenu.js +124 -154
  259. package/Pagination/PaginationMenu.js.map +1 -0
  260. package/Pagination/PaginationNav.d.ts +39 -0
  261. package/Pagination/PaginationNav.js +78 -125
  262. package/Pagination/PaginationNav.js.map +1 -0
  263. package/Pagination/PaginationNext.d.ts +31 -0
  264. package/Pagination/PaginationNext.js +97 -118
  265. package/Pagination/PaginationNext.js.map +1 -0
  266. package/Pagination/index.d.ts +5 -0
  267. package/Pagination/index.js +26 -68
  268. package/Pagination/index.js.map +1 -0
  269. package/Pagination/package.json +1 -1
  270. package/PrimaryToolbar/Actions.d.ts +36 -0
  271. package/PrimaryToolbar/Actions.js +131 -187
  272. package/PrimaryToolbar/Actions.js.map +1 -0
  273. package/PrimaryToolbar/PrimaryToolbar.d.ts +97 -0
  274. package/PrimaryToolbar/PrimaryToolbar.js +165 -188
  275. package/PrimaryToolbar/PrimaryToolbar.js.map +1 -0
  276. package/PrimaryToolbar/SortBy.d.ts +20 -0
  277. package/PrimaryToolbar/SortBy.js +23 -45
  278. package/PrimaryToolbar/SortBy.js.map +1 -0
  279. package/PrimaryToolbar/index.d.ts +4 -0
  280. package/PrimaryToolbar/index.js +24 -58
  281. package/PrimaryToolbar/index.js.map +1 -0
  282. package/PrimaryToolbar/package.json +1 -1
  283. package/Reboot/Reboot.d.ts +13 -0
  284. package/Reboot/Reboot.js +42 -37
  285. package/Reboot/Reboot.js.map +1 -0
  286. package/Reboot/index.d.ts +1 -0
  287. package/Reboot/index.js +10 -20
  288. package/Reboot/index.js.map +1 -0
  289. package/Reboot/package.json +1 -1
  290. package/Section/Section.d.ts +8 -0
  291. package/Section/Section.js +38 -38
  292. package/Section/Section.js.map +1 -0
  293. package/Section/index.js +10 -20
  294. package/Section/index.js.map +1 -0
  295. package/Shield/Shield.d.ts +27 -0
  296. package/Shield/Shield.js +51 -55
  297. package/Shield/Shield.js.map +1 -0
  298. package/Shield/consts.d.ts +71 -0
  299. package/Shield/consts.js +69 -81
  300. package/Shield/consts.js.map +1 -0
  301. package/Shield/index.d.ts +2 -0
  302. package/Shield/index.js +20 -36
  303. package/Shield/index.js.map +1 -0
  304. package/Shield/package.json +1 -1
  305. package/SimpleTableFilter/SimpleTableFilter.d.ts +47 -0
  306. package/SimpleTableFilter/SimpleTableFilter.js +137 -188
  307. package/SimpleTableFilter/SimpleTableFilter.js.map +1 -0
  308. package/SimpleTableFilter/index.d.ts +1 -0
  309. package/SimpleTableFilter/index.js +10 -20
  310. package/SimpleTableFilter/index.js.map +1 -0
  311. package/SimpleTableFilter/package.json +1 -1
  312. package/Skeleton/Skeleton.d.ts +15 -0
  313. package/Skeleton/Skeleton.js +36 -49
  314. package/Skeleton/Skeleton.js.map +1 -0
  315. package/Skeleton/index.js +11 -30
  316. package/Skeleton/index.js.map +1 -0
  317. package/Skeleton/skeleton.css +14 -35
  318. package/Skeleton/skeleton.scss +14 -30
  319. package/SkeletonTable/SkeletonTable.css +3 -0
  320. package/SkeletonTable/SkeletonTable.d.ts +51 -0
  321. package/SkeletonTable/SkeletonTable.js +86 -140
  322. package/SkeletonTable/SkeletonTable.js.map +1 -0
  323. package/SkeletonTable/SkeletonTable.scss +3 -0
  324. package/SkeletonTable/index.d.ts +1 -0
  325. package/SkeletonTable/index.js +10 -20
  326. package/SkeletonTable/index.js.map +1 -0
  327. package/SkeletonTable/package.json +1 -1
  328. package/Spinner/Spinner.d.ts +8 -0
  329. package/Spinner/Spinner.js +36 -39
  330. package/Spinner/Spinner.js.map +1 -0
  331. package/Spinner/index.js +10 -20
  332. package/Spinner/index.js.map +1 -0
  333. package/TabLayout/TabLayout.d.ts +28 -0
  334. package/TabLayout/TabLayout.js +46 -61
  335. package/TabLayout/TabLayout.js.map +1 -0
  336. package/TabLayout/index.d.ts +1 -0
  337. package/TabLayout/index.js +10 -20
  338. package/TabLayout/index.js.map +1 -0
  339. package/TabLayout/package.json +1 -1
  340. package/TableToolbar/TableToolbar.d.ts +27 -0
  341. package/TableToolbar/TableToolbar.js +86 -73
  342. package/TableToolbar/TableToolbar.js.map +1 -0
  343. package/TableToolbar/index.d.ts +2 -0
  344. package/TableToolbar/index.js +10 -22
  345. package/TableToolbar/index.js.map +1 -0
  346. package/TableToolbar/package.json +1 -1
  347. package/TagCount/TagCount.d.ts +19 -0
  348. package/TagCount/TagCount.js +43 -47
  349. package/TagCount/TagCount.js.map +1 -0
  350. package/TagCount/index.d.ts +1 -0
  351. package/TagCount/index.js +10 -20
  352. package/TagCount/index.js.map +1 -0
  353. package/TagCount/package.json +1 -1
  354. package/TagModal/TableWithFilter.d.ts +45 -0
  355. package/TagModal/TableWithFilter.js +135 -201
  356. package/TagModal/TableWithFilter.js.map +1 -0
  357. package/TagModal/TagModal.d.ts +54 -0
  358. package/TagModal/TagModal.js +163 -228
  359. package/TagModal/TagModal.js.map +1 -0
  360. package/TagModal/index.d.ts +2 -0
  361. package/TagModal/index.js +12 -28
  362. package/TagModal/index.js.map +1 -0
  363. package/TagModal/package.json +1 -1
  364. package/TreeTable/decorator.d.ts +8 -0
  365. package/TreeTable/decorator.js +42 -56
  366. package/TreeTable/decorator.js.map +1 -0
  367. package/TreeTable/helpers.d.ts +4 -0
  368. package/TreeTable/helpers.js +45 -55
  369. package/TreeTable/helpers.js.map +1 -0
  370. package/TreeTable/index.d.ts +3 -0
  371. package/TreeTable/index.js +22 -45
  372. package/TreeTable/index.js.map +1 -0
  373. package/TreeTable/package.json +1 -1
  374. package/TreeTable/rowWrapper.d.ts +17 -0
  375. package/TreeTable/rowWrapper.js +39 -50
  376. package/TreeTable/rowWrapper.js.map +1 -0
  377. package/Truncate/Truncate.d.ts +26 -0
  378. package/Truncate/Truncate.js +76 -115
  379. package/Truncate/Truncate.js.map +1 -0
  380. package/Truncate/index.d.ts +2 -0
  381. package/Truncate/index.js +10 -22
  382. package/Truncate/index.js.map +1 -0
  383. package/Truncate/package.json +1 -1
  384. package/Unavailable/Unavailable.d.ts +2 -0
  385. package/Unavailable/Unavailable.js +17 -38
  386. package/Unavailable/Unavailable.js.map +1 -0
  387. package/Unavailable/index.d.ts +1 -0
  388. package/Unavailable/index.js +10 -20
  389. package/Unavailable/index.js.map +1 -0
  390. package/Unavailable/package.json +1 -1
  391. package/Wizard/Wizard.d.ts +31 -0
  392. package/Wizard/Wizard.js +126 -170
  393. package/Wizard/Wizard.js.map +1 -0
  394. package/Wizard/index.d.ts +1 -0
  395. package/Wizard/index.js +10 -20
  396. package/Wizard/index.js.map +1 -0
  397. package/Wizard/package.json +1 -1
  398. package/esm/Ansible/Ansible.js +54 -74
  399. package/esm/Ansible/Ansible.js.map +1 -0
  400. package/esm/Ansible/ansible.css +19 -0
  401. package/esm/Ansible/ansible.scss +14 -0
  402. package/esm/Ansible/index.js +2 -1
  403. package/esm/Ansible/index.js.map +1 -0
  404. package/esm/AsyncComponent/index.js +39 -67
  405. package/esm/AsyncComponent/index.js.map +1 -0
  406. package/esm/Battery/Battery.js +68 -95
  407. package/esm/Battery/Battery.js.map +1 -0
  408. package/esm/Battery/CriticalBattery.js +4 -11
  409. package/esm/Battery/CriticalBattery.js.map +1 -0
  410. package/esm/Battery/HighBattery.js +4 -8
  411. package/esm/Battery/HighBattery.js.map +1 -0
  412. package/esm/Battery/LowBattery.js +4 -8
  413. package/esm/Battery/LowBattery.js.map +1 -0
  414. package/esm/Battery/MediumBattery.js +4 -8
  415. package/esm/Battery/MediumBattery.js.map +1 -0
  416. package/esm/Battery/NullBattery.js +4 -8
  417. package/esm/Battery/NullBattery.js.map +1 -0
  418. package/esm/Battery/battery.css +35 -0
  419. package/esm/Battery/battery.scss +47 -0
  420. package/esm/Battery/index.js +2 -1
  421. package/esm/Battery/index.js.map +1 -0
  422. package/esm/Breadcrumbs/Breadcrumbs.js +45 -49
  423. package/esm/Breadcrumbs/Breadcrumbs.js.map +1 -0
  424. package/esm/Breadcrumbs/ConnectedBreadcrumbs.js +47 -52
  425. package/esm/Breadcrumbs/ConnectedBreadcrumbs.js.map +1 -0
  426. package/esm/Breadcrumbs/index.js +2 -1
  427. package/esm/Breadcrumbs/index.js.map +1 -0
  428. package/esm/BulkSelect/BulkSelect.js +104 -160
  429. package/esm/BulkSelect/BulkSelect.js.map +1 -0
  430. package/esm/BulkSelect/bulk-select.css +15 -0
  431. package/esm/BulkSelect/bulk-select.scss +19 -0
  432. package/esm/BulkSelect/index.js +2 -1
  433. package/esm/BulkSelect/index.js.map +1 -0
  434. package/esm/ConditionalFilter/CheckboxFilter.js +117 -183
  435. package/esm/ConditionalFilter/CheckboxFilter.js.map +1 -0
  436. package/esm/ConditionalFilter/ConditionalFilter.js +155 -225
  437. package/esm/ConditionalFilter/ConditionalFilter.js.map +1 -0
  438. package/esm/ConditionalFilter/GroupFilter.js +134 -206
  439. package/esm/ConditionalFilter/GroupFilter.js.map +1 -0
  440. package/esm/ConditionalFilter/RadioFilter.js +99 -143
  441. package/esm/ConditionalFilter/RadioFilter.js.map +1 -0
  442. package/esm/ConditionalFilter/TextFilter.js +79 -102
  443. package/esm/ConditionalFilter/TextFilter.js.map +1 -0
  444. package/esm/ConditionalFilter/conditional-filter.css +93 -0
  445. package/esm/ConditionalFilter/conditional-filter.scss +110 -0
  446. package/esm/ConditionalFilter/conditionalFilterConstants.js +12 -11
  447. package/esm/ConditionalFilter/conditionalFilterConstants.js.map +1 -0
  448. package/esm/ConditionalFilter/group-filter.css +19 -0
  449. package/esm/ConditionalFilter/group-filter.scss +23 -0
  450. package/esm/ConditionalFilter/groupFilterConstants.js +148 -94
  451. package/esm/ConditionalFilter/groupFilterConstants.js.map +1 -0
  452. package/esm/ConditionalFilter/groupType.js +7 -5
  453. package/esm/ConditionalFilter/groupType.js.map +1 -0
  454. package/esm/ConditionalFilter/index.js +2 -1
  455. package/esm/ConditionalFilter/index.js.map +1 -0
  456. package/esm/CullingInfo/CullingInformation.css +14 -0
  457. package/esm/CullingInfo/CullingInformation.js +78 -82
  458. package/esm/CullingInfo/CullingInformation.js.map +1 -0
  459. package/esm/CullingInfo/CullingInformation.scss +10 -0
  460. package/esm/CullingInfo/index.js +2 -1
  461. package/esm/CullingInfo/index.js.map +1 -0
  462. package/esm/Dark/Dark.js +30 -0
  463. package/esm/Dark/Dark.js.map +1 -0
  464. package/esm/Dark/DarkContext.js +3 -18
  465. package/esm/Dark/DarkContext.js.map +1 -0
  466. package/esm/Dark/index.js +4 -3
  467. package/esm/Dark/index.js.map +1 -0
  468. package/esm/DateFormat/DateFormat.js +12 -34
  469. package/esm/DateFormat/DateFormat.js.map +1 -0
  470. package/esm/DateFormat/helper.js +41 -84
  471. package/esm/DateFormat/helper.js.map +1 -0
  472. package/esm/DateFormat/index.js +2 -1
  473. package/esm/DateFormat/index.js.map +1 -0
  474. package/esm/DownloadButton/DownloadButton.js +89 -120
  475. package/esm/DownloadButton/DownloadButton.js.map +1 -0
  476. package/esm/DownloadButton/index.js +2 -1
  477. package/esm/DownloadButton/index.js.map +1 -0
  478. package/esm/EmptyTable/EmptyTable.css +14 -0
  479. package/esm/EmptyTable/EmptyTable.js +35 -20
  480. package/esm/EmptyTable/EmptyTable.js.map +1 -0
  481. package/esm/EmptyTable/EmptyTable.scss +11 -0
  482. package/esm/EmptyTable/index.js +2 -1
  483. package/esm/EmptyTable/index.js.map +1 -0
  484. package/esm/ErrorState/DefaultErrorMessage.js +11 -11
  485. package/esm/ErrorState/DefaultErrorMessage.js.map +1 -0
  486. package/esm/ErrorState/ErrorState.js +42 -43
  487. package/esm/ErrorState/ErrorState.js.map +1 -0
  488. package/esm/ErrorState/error-state.css +3 -0
  489. package/esm/ErrorState/error-state.scss +5 -0
  490. package/esm/ErrorState/index.js +2 -1
  491. package/esm/ErrorState/index.js.map +1 -0
  492. package/esm/FilterChips/FilterChips.js +64 -97
  493. package/esm/FilterChips/FilterChips.js.map +1 -0
  494. package/esm/FilterChips/filter-chips.css +12 -0
  495. package/esm/FilterChips/filter-chips.scss +15 -0
  496. package/esm/FilterChips/index.js +2 -1
  497. package/esm/FilterChips/index.js.map +1 -0
  498. package/esm/FilterHooks/constants.js +101 -111
  499. package/esm/FilterHooks/constants.js.map +1 -0
  500. package/esm/FilterHooks/index.js +2 -1
  501. package/esm/FilterHooks/index.js.map +1 -0
  502. package/esm/FilterHooks/tagFilterHook.css +22 -0
  503. package/esm/FilterHooks/tagFilterHook.js +96 -119
  504. package/esm/FilterHooks/tagFilterHook.js.map +1 -0
  505. package/esm/FilterHooks/tagFilterHook.scss +21 -0
  506. package/esm/Filters/FilterDropdown.js +83 -134
  507. package/esm/Filters/FilterDropdown.js.map +1 -0
  508. package/esm/Filters/FilterInput.js +85 -142
  509. package/esm/Filters/FilterInput.js.map +1 -0
  510. package/esm/Filters/filter-dropdown.css +8 -0
  511. package/esm/Filters/filter-dropdown.scss +10 -0
  512. package/esm/Filters/index.js +2 -1
  513. package/esm/Filters/index.js.map +1 -0
  514. package/esm/Input/Input.js +36 -32
  515. package/esm/Input/Input.js.map +1 -0
  516. package/esm/Input/LabeledInput.js +35 -27
  517. package/esm/Input/LabeledInput.js.map +1 -0
  518. package/esm/Input/index.js +2 -1
  519. package/esm/Input/index.js.map +1 -0
  520. package/esm/InsightsLabel/CriticalIcon.js +5 -12
  521. package/esm/InsightsLabel/CriticalIcon.js.map +1 -0
  522. package/esm/InsightsLabel/InsightsLabel.js +36 -46
  523. package/esm/InsightsLabel/InsightsLabel.js.map +1 -0
  524. package/esm/InsightsLabel/critical-icon.css +8 -0
  525. package/esm/InsightsLabel/critical-icon.scss +8 -0
  526. package/esm/InsightsLabel/index.js +2 -1
  527. package/esm/InsightsLabel/index.js.map +1 -0
  528. package/esm/InsightsLabel/labels.css +54 -0
  529. package/esm/InsightsLabel/labels.scss +54 -0
  530. package/esm/InvalidObject/InvalidObject.js +35 -27
  531. package/esm/InvalidObject/InvalidObject.js.map +1 -0
  532. package/esm/InvalidObject/icon-404.css +15 -0
  533. package/esm/InvalidObject/icon-404.js +46 -192
  534. package/esm/InvalidObject/icon-404.js.map +1 -0
  535. package/esm/InvalidObject/icon-404.scss +11 -0
  536. package/esm/InvalidObject/index.js +2 -1
  537. package/esm/InvalidObject/index.js.map +1 -0
  538. package/esm/InvalidObject/invalidObject.css +22 -0
  539. package/esm/InvalidObject/invalidObject.scss +15 -0
  540. package/esm/Inventory/AppInfo.js +25 -44
  541. package/esm/Inventory/AppInfo.js.map +1 -0
  542. package/esm/Inventory/DetailWrapper.js +25 -44
  543. package/esm/Inventory/DetailWrapper.js.map +1 -0
  544. package/esm/Inventory/InventoryDetail.js +25 -44
  545. package/esm/Inventory/InventoryDetail.js.map +1 -0
  546. package/esm/Inventory/InventoryDetailHead.js +25 -44
  547. package/esm/Inventory/InventoryDetailHead.js.map +1 -0
  548. package/esm/Inventory/InventoryLoadError.js +25 -13
  549. package/esm/Inventory/InventoryLoadError.js.map +1 -0
  550. package/esm/Inventory/InventoryTable.js +25 -44
  551. package/esm/Inventory/InventoryTable.js.map +1 -0
  552. package/esm/Inventory/TagWithDialog.js +25 -49
  553. package/esm/Inventory/TagWithDialog.js.map +1 -0
  554. package/esm/Inventory/index.js +2 -1
  555. package/esm/Inventory/index.js.map +1 -0
  556. package/esm/LongTextTooltip/LongTextTooltip.js +62 -59
  557. package/esm/LongTextTooltip/LongTextTooltip.js.map +1 -0
  558. package/esm/LongTextTooltip/index.js +2 -1
  559. package/esm/LongTextTooltip/index.js.map +1 -0
  560. package/esm/Main/Main.js +79 -119
  561. package/esm/Main/Main.js.map +1 -0
  562. package/esm/Main/index.js +2 -1
  563. package/esm/Main/index.js.map +1 -0
  564. package/esm/Main/main.css +3 -0
  565. package/esm/Main/main.scss +3 -0
  566. package/esm/Maintenance/Maintenance.js +69 -52
  567. package/esm/Maintenance/Maintenance.js.map +1 -0
  568. package/esm/Maintenance/index.js +2 -1
  569. package/esm/Maintenance/index.js.map +1 -0
  570. package/esm/Maintenance/maintenance.css +9 -0
  571. package/esm/Maintenance/maintenance.scss +7 -0
  572. package/esm/NotAuthorized/NotAuthorized.css +5 -0
  573. package/esm/NotAuthorized/NotAuthorized.js +73 -74
  574. package/esm/NotAuthorized/NotAuthorized.js.map +1 -0
  575. package/esm/NotAuthorized/NotAuthorized.scss +7 -0
  576. package/esm/NotAuthorized/index.js +2 -1
  577. package/esm/NotAuthorized/index.js.map +1 -0
  578. package/esm/NotConnected/NotConnected.js +17 -32
  579. package/esm/NotConnected/NotConnected.js.map +1 -0
  580. package/esm/NotConnected/index.js +2 -1
  581. package/esm/NotConnected/index.js.map +1 -0
  582. package/esm/PageHeader/PageHeader.js +34 -29
  583. package/esm/PageHeader/PageHeader.js.map +1 -0
  584. package/esm/PageHeader/PageHeaderTitle.js +6 -21
  585. package/esm/PageHeader/PageHeaderTitle.js.map +1 -0
  586. package/esm/PageHeader/index.js +2 -1
  587. package/esm/PageHeader/index.js.map +1 -0
  588. package/esm/PageHeader/page-header.css +13 -0
  589. package/esm/PageHeader/page-header.scss +12 -0
  590. package/esm/Pagination/Pagination.js +82 -113
  591. package/esm/Pagination/Pagination.js.map +1 -0
  592. package/esm/Pagination/PaginationMenu.js +100 -129
  593. package/esm/Pagination/PaginationMenu.js.map +1 -0
  594. package/esm/Pagination/PaginationNav.js +72 -107
  595. package/esm/Pagination/PaginationNav.js.map +1 -0
  596. package/esm/Pagination/PaginationNext.js +71 -94
  597. package/esm/Pagination/PaginationNext.js.map +1 -0
  598. package/esm/Pagination/index.js +2 -1
  599. package/esm/Pagination/index.js.map +1 -0
  600. package/esm/Pagination/pagination.css +580 -0
  601. package/esm/Pagination/pagination.scss +15 -0
  602. package/esm/PrimaryToolbar/Actions.js +107 -154
  603. package/esm/PrimaryToolbar/Actions.js.map +1 -0
  604. package/esm/PrimaryToolbar/PrimaryToolbar.js +136 -146
  605. package/esm/PrimaryToolbar/PrimaryToolbar.js.map +1 -0
  606. package/esm/PrimaryToolbar/SortBy.js +14 -26
  607. package/esm/PrimaryToolbar/SortBy.js.map +1 -0
  608. package/esm/PrimaryToolbar/index.js +2 -1
  609. package/esm/PrimaryToolbar/index.js.map +1 -0
  610. package/esm/PrimaryToolbar/primary-toolbar.css +49 -0
  611. package/esm/PrimaryToolbar/primary-toolbar.scss +64 -0
  612. package/esm/Reboot/Reboot.js +35 -19
  613. package/esm/Reboot/Reboot.js.map +1 -0
  614. package/esm/Reboot/index.js +2 -1
  615. package/esm/Reboot/index.js.map +1 -0
  616. package/esm/Reboot/reboot.css +11 -0
  617. package/esm/Reboot/reboot.scss +12 -0
  618. package/esm/Section/Section.js +32 -22
  619. package/esm/Section/Section.js.map +1 -0
  620. package/esm/Section/index.js +2 -1
  621. package/esm/Section/index.js.map +1 -0
  622. package/esm/Section/section.css +35 -0
  623. package/esm/Section/section.scss +27 -0
  624. package/esm/Shield/Shield.js +44 -36
  625. package/esm/Shield/Shield.js.map +1 -0
  626. package/esm/Shield/consts.js +66 -72
  627. package/esm/Shield/consts.js.map +1 -0
  628. package/esm/Shield/index.js +2 -1
  629. package/esm/Shield/index.js.map +1 -0
  630. package/esm/SimpleTableFilter/SimpleTableFilter.js +113 -166
  631. package/esm/SimpleTableFilter/SimpleTableFilter.js.map +1 -0
  632. package/esm/SimpleTableFilter/index.js +2 -1
  633. package/esm/SimpleTableFilter/index.js.map +1 -0
  634. package/esm/SimpleTableFilter/simple-table-filter.css +356 -0
  635. package/esm/SimpleTableFilter/simple-table-filter.scss +18 -0
  636. package/esm/Skeleton/Skeleton.js +30 -32
  637. package/esm/Skeleton/Skeleton.js.map +1 -0
  638. package/esm/Skeleton/index.js +2 -1
  639. package/esm/Skeleton/index.js.map +1 -0
  640. package/esm/Skeleton/skeleton.css +24 -0
  641. package/esm/Skeleton/skeleton.scss +18 -0
  642. package/esm/SkeletonTable/SkeletonTable.css +3 -0
  643. package/esm/SkeletonTable/SkeletonTable.js +79 -125
  644. package/esm/SkeletonTable/SkeletonTable.js.map +1 -0
  645. package/esm/SkeletonTable/SkeletonTable.scss +3 -0
  646. package/esm/SkeletonTable/index.js +2 -1
  647. package/esm/SkeletonTable/index.js.map +1 -0
  648. package/esm/Spinner/Spinner.js +31 -24
  649. package/esm/Spinner/Spinner.js.map +1 -0
  650. package/esm/Spinner/index.js +2 -1
  651. package/esm/Spinner/index.js.map +1 -0
  652. package/esm/Spinner/spinner.css +27 -0
  653. package/esm/Spinner/spinner.scss +24 -0
  654. package/esm/TabLayout/TabLayout.js +40 -46
  655. package/esm/TabLayout/TabLayout.js.map +1 -0
  656. package/esm/TabLayout/index.js +2 -1
  657. package/esm/TabLayout/index.js.map +1 -0
  658. package/esm/TabLayout/tab-layout.css +14 -0
  659. package/esm/TabLayout/tab-layout.scss +21 -0
  660. package/esm/TableToolbar/TableToolbar.css +36 -0
  661. package/esm/TableToolbar/TableToolbar.js +60 -48
  662. package/esm/TableToolbar/TableToolbar.js.map +1 -0
  663. package/esm/TableToolbar/TableToolbar.scss +28 -0
  664. package/esm/TableToolbar/index.js +2 -1
  665. package/esm/TableToolbar/index.js.map +1 -0
  666. package/esm/TagCount/TagCount.js +37 -31
  667. package/esm/TagCount/TagCount.js.map +1 -0
  668. package/esm/TagCount/index.js +2 -1
  669. package/esm/TagCount/index.js.map +1 -0
  670. package/esm/TagCount/tagCount.css +9 -0
  671. package/esm/TagCount/tagCount.scss +9 -0
  672. package/esm/TagModal/TableWithFilter.js +110 -168
  673. package/esm/TagModal/TableWithFilter.js.map +1 -0
  674. package/esm/TagModal/TagModal.js +138 -200
  675. package/esm/TagModal/TagModal.js.map +1 -0
  676. package/esm/TagModal/index.js +2 -1
  677. package/esm/TagModal/index.js.map +1 -0
  678. package/esm/TagModal/tagModal.css +3 -0
  679. package/esm/TagModal/tagModal.scss +3 -0
  680. package/esm/TreeTable/decorator.js +39 -43
  681. package/esm/TreeTable/decorator.js.map +1 -0
  682. package/esm/TreeTable/helpers.js +42 -42
  683. package/esm/TreeTable/helpers.js.map +1 -0
  684. package/esm/TreeTable/index.js +2 -1
  685. package/esm/TreeTable/index.js.map +1 -0
  686. package/esm/TreeTable/rowWrapper.js +31 -33
  687. package/esm/TreeTable/rowWrapper.js.map +1 -0
  688. package/esm/TreeTable/styles.css +338 -0
  689. package/esm/TreeTable/styles.scss +278 -0
  690. package/esm/Truncate/Truncate.js +51 -86
  691. package/esm/Truncate/Truncate.js.map +1 -0
  692. package/esm/Truncate/index.js +2 -1
  693. package/esm/Truncate/index.js.map +1 -0
  694. package/esm/Truncate/truncate.css +12 -0
  695. package/esm/Truncate/truncate.scss +5 -0
  696. package/esm/Unavailable/Unavailable.css +3 -0
  697. package/esm/Unavailable/Unavailable.js +13 -24
  698. package/esm/Unavailable/Unavailable.js.map +1 -0
  699. package/esm/Unavailable/Unavailable.scss +3 -0
  700. package/esm/Unavailable/index.js +2 -1
  701. package/esm/Unavailable/index.js.map +1 -0
  702. package/esm/Wizard/Wizard.js +102 -149
  703. package/esm/Wizard/Wizard.js.map +1 -0
  704. package/esm/Wizard/index.js +2 -1
  705. package/esm/Wizard/index.js.map +1 -0
  706. package/esm/Wizard/wizard.css +7 -0
  707. package/esm/Wizard/wizard.scss +7 -0
  708. package/esm/index.css +1902 -0
  709. package/esm/index.js +2 -1
  710. package/esm/index.js.map +1 -0
  711. package/esm/index.scss +32 -0
  712. package/esm/useChrome/index.js +2 -1
  713. package/esm/useChrome/index.js.map +1 -0
  714. package/esm/useChrome/useChrome.js +22 -23
  715. package/esm/useChrome/useChrome.js.map +1 -0
  716. package/esm/usePendoFeedback/index.js +2 -1
  717. package/esm/usePendoFeedback/index.js.map +1 -0
  718. package/esm/usePendoFeedback/usePendoFeedback.js +14 -18
  719. package/esm/usePendoFeedback/usePendoFeedback.js.map +1 -0
  720. package/esm/useScreenSize/breakpoints.js +8 -7
  721. package/esm/useScreenSize/breakpoints.js.map +1 -0
  722. package/esm/useScreenSize/getVariant.js +12 -20
  723. package/esm/useScreenSize/getVariant.js.map +1 -0
  724. package/esm/useScreenSize/index.js +2 -1
  725. package/esm/useScreenSize/index.js.map +1 -0
  726. package/esm/useScreenSize/isSmallScreen.js +3 -6
  727. package/esm/useScreenSize/isSmallScreen.js.map +1 -0
  728. package/esm/useScreenSize/useScreenSize.js +17 -29
  729. package/esm/useScreenSize/useScreenSize.js.map +1 -0
  730. package/index.css +14 -34
  731. package/index.d.ts +39 -0
  732. package/index.js +51 -511
  733. package/index.js.map +1 -0
  734. package/package.json +7 -6
  735. package/tsconfig.cjs.json +8 -0
  736. package/useChrome/index.d.ts +1 -0
  737. package/useChrome/index.js +10 -20
  738. package/useChrome/index.js.map +1 -0
  739. package/useChrome/package.json +1 -1
  740. package/useChrome/useChrome.d.ts +2 -0
  741. package/useChrome/useChrome.js +24 -33
  742. package/useChrome/useChrome.js.map +1 -0
  743. package/usePendoFeedback/index.d.ts +1 -0
  744. package/usePendoFeedback/index.js +10 -20
  745. package/usePendoFeedback/index.js.map +1 -0
  746. package/usePendoFeedback/package.json +1 -1
  747. package/usePendoFeedback/usePendoFeedback.d.ts +2 -0
  748. package/usePendoFeedback/usePendoFeedback.js +18 -27
  749. package/usePendoFeedback/usePendoFeedback.js.map +1 -0
  750. package/useScreenSize/breakpoints.d.ts +9 -0
  751. package/useScreenSize/breakpoints.js +18 -28
  752. package/useScreenSize/breakpoints.js.map +1 -0
  753. package/useScreenSize/getVariant.d.ts +2 -0
  754. package/useScreenSize/getVariant.js +17 -31
  755. package/useScreenSize/getVariant.js.map +1 -0
  756. package/useScreenSize/index.d.ts +4 -0
  757. package/useScreenSize/index.js +16 -44
  758. package/useScreenSize/index.js.map +1 -0
  759. package/useScreenSize/isSmallScreen.d.ts +2 -0
  760. package/useScreenSize/isSmallScreen.js +7 -15
  761. package/useScreenSize/isSmallScreen.js.map +1 -0
  762. package/useScreenSize/package.json +1 -1
  763. package/useScreenSize/useScreenSize.d.ts +2 -0
  764. package/useScreenSize/useScreenSize.js +23 -42
  765. package/useScreenSize/useScreenSize.js.map +1 -0
  766. package/Dark/configContext.js +0 -15
  767. package/esm/Dark/configContext.js +0 -3
@@ -1,57 +1,38 @@
1
- import _extends from "@babel/runtime/helpers/extends";
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
+ };
2
12
  import React, { Suspense } from 'react';
3
13
  import PropTypes from 'prop-types';
4
14
  import { ScalprumComponent } from '@scalprum/react-core';
5
15
  import { useHistory } from 'react-router-dom';
6
16
  import { useStore } from 'react-redux';
7
- import { Bullseye } from "@patternfly/react-core/dist/esm/layouts/Bullseye/Bullseye.js";
8
- import { Spinner } from "@patternfly/react-core/dist/esm/components/Spinner/Spinner.js";
17
+ import { Bullseye, Spinner } from '@patternfly/react-core';
9
18
  import InventoryLoadError from './InventoryLoadError';
10
-
11
- var BaseDetailWrapper = function BaseDetailWrapper(props) {
12
- var history = useHistory();
13
- var store = useStore();
14
- return /*#__PURE__*/React.createElement(Suspense, {
15
- fallback: props.fallback
16
- }, /*#__PURE__*/React.createElement(ScalprumComponent, _extends({
17
- history: history,
18
- store: store,
19
- appName: "inventory",
20
- module: "./DetailWrapper",
21
- scope: "inventory",
22
- ErrorComponent: /*#__PURE__*/React.createElement(InventoryLoadError, _extends({
23
- component: "InventoryDetailHead",
24
- history: history,
25
- store: store
26
- }, props)),
27
- ref: props.innerRef
28
- }, props)));
19
+ var BaseDetailWrapper = function (props) {
20
+ var history = useHistory();
21
+ var store = useStore();
22
+ return (React.createElement(Suspense, { fallback: props.fallback },
23
+ React.createElement(ScalprumComponent, __assign({ history: history, store: store, appName: "inventory", module: "./DetailWrapper", scope: "inventory", ErrorComponent: React.createElement(InventoryLoadError, __assign({ component: "InventoryDetailHead", history: history, store: store }, props)), ref: props.innerRef }, props))));
29
24
  };
30
-
31
25
  BaseDetailWrapper.propTypes = {
32
- fallback: PropTypes.node,
33
- innerRef: PropTypes.object
26
+ fallback: PropTypes.node,
27
+ innerRef: PropTypes.object
34
28
  };
35
- /**
36
- * Inventory sub component.
37
- *
38
- * This component wraps entire system detail in order to show loading state and drawer (if enabled).
39
- */
40
-
41
- var DetailWrapper = /*#__PURE__*/React.forwardRef(function (props, ref) {
42
- return /*#__PURE__*/React.createElement(BaseDetailWrapper, _extends({
43
- innerRef: ref
44
- }, props));
45
- });
29
+ var DetailWrapper = React.forwardRef(function (props, ref) { return React.createElement(BaseDetailWrapper, __assign({ innerRef: ref }, props)); });
46
30
  DetailWrapper.propTypes = {
47
- /** React Suspense fallback component. <a href="https://reactjs.org/docs/code-splitting.html#reactlazy" target="_blank">Learn more</a>. */
48
- fallback: PropTypes.node
31
+ fallback: PropTypes.node
49
32
  };
50
33
  DetailWrapper.defaultProps = {
51
- fallback: /*#__PURE__*/React.createElement(Bullseye, {
52
- className: "pf-u-p-lg"
53
- }, /*#__PURE__*/React.createElement(Spinner, {
54
- size: "xl"
55
- }))
34
+ fallback: React.createElement(Bullseye, { className: "pf-u-p-lg" },
35
+ React.createElement(Spinner, { size: "xl" }))
56
36
  };
57
- export default DetailWrapper;
37
+ export default DetailWrapper;
38
+ //# sourceMappingURL=DetailWrapper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DetailWrapper.js","sourceRoot":"","sources":["../../src/Inventory/DetailWrapper.js"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,EA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CAAC,IAAI;CAC3B,CAAC;AAEF,aAAa,CAAC,YAAY,GAAG;IACzB,QAAQ,EAAE,oBAAC,QAAQ,IAAC,SAAS,EAAC,WAAW;QAAC,oBAAC,OAAO,IAAC,IAAI,EAAC,IAAI,GAAG,CAAW;CAC7E,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,57 +1,38 @@
1
- import _extends from "@babel/runtime/helpers/extends";
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
+ };
2
12
  import React, { Suspense } from 'react';
3
13
  import PropTypes from 'prop-types';
4
14
  import { ScalprumComponent } from '@scalprum/react-core';
5
15
  import { useHistory } from 'react-router-dom';
6
16
  import { useStore } from 'react-redux';
7
- import { Bullseye } from "@patternfly/react-core/dist/esm/layouts/Bullseye/Bullseye.js";
8
- import { Spinner } from "@patternfly/react-core/dist/esm/components/Spinner/Spinner.js";
17
+ import { Bullseye, Spinner } from '@patternfly/react-core';
9
18
  import InventoryLoadError from './InventoryLoadError';
10
-
11
- var BaseInventoryDetail = function BaseInventoryDetail(props) {
12
- var history = useHistory();
13
- var store = useStore();
14
- return /*#__PURE__*/React.createElement(Suspense, {
15
- fallback: props.fallback
16
- }, /*#__PURE__*/React.createElement(ScalprumComponent, _extends({
17
- history: history,
18
- store: store,
19
- appName: "inventory",
20
- module: "./InventoryDetail",
21
- scope: "inventory",
22
- ErrorComponent: /*#__PURE__*/React.createElement(InventoryLoadError, _extends({
23
- component: "InventoryDetailHead",
24
- history: history,
25
- store: store
26
- }, props)),
27
- ref: props.innerRef
28
- }, props)));
19
+ var BaseInventoryDetail = function (props) {
20
+ var history = useHistory();
21
+ var store = useStore();
22
+ return (React.createElement(Suspense, { fallback: props.fallback },
23
+ React.createElement(ScalprumComponent, __assign({ history: history, store: store, appName: "inventory", module: "./InventoryDetail", scope: "inventory", ErrorComponent: React.createElement(InventoryLoadError, __assign({ component: "InventoryDetailHead", history: history, store: store }, props)), ref: props.innerRef }, props))));
29
24
  };
30
-
31
25
  BaseInventoryDetail.propTypes = {
32
- fallback: PropTypes.node,
33
- innerRef: PropTypes.object
26
+ fallback: PropTypes.node,
27
+ innerRef: PropTypes.object
34
28
  };
35
- /**
36
- * Inventory sub component.
37
- *
38
- * This component shows complete inventory detail with system info and app's detail in tab(s).
39
- */
40
-
41
- var InventoryDetail = /*#__PURE__*/React.forwardRef(function (props, ref) {
42
- return /*#__PURE__*/React.createElement(BaseInventoryDetail, _extends({
43
- innerRef: ref
44
- }, props));
45
- });
29
+ var InventoryDetail = React.forwardRef(function (props, ref) { return React.createElement(BaseInventoryDetail, __assign({ innerRef: ref }, props)); });
46
30
  InventoryDetail.propTypes = {
47
- /** React Suspense fallback component. <a href="https://reactjs.org/docs/code-splitting.html#reactlazy" target="_blank">Learn more</a>. */
48
- fallback: PropTypes.node
31
+ fallback: PropTypes.node
49
32
  };
50
33
  InventoryDetail.defaultProps = {
51
- fallback: /*#__PURE__*/React.createElement(Bullseye, {
52
- className: "pf-u-p-lg"
53
- }, /*#__PURE__*/React.createElement(Spinner, {
54
- size: "xl"
55
- }))
34
+ fallback: React.createElement(Bullseye, { className: "pf-u-p-lg" },
35
+ React.createElement(Spinner, { size: "xl" }))
56
36
  };
57
- export default InventoryDetail;
37
+ export default InventoryDetail;
38
+ //# sourceMappingURL=InventoryDetail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InventoryDetail.js","sourceRoot":"","sources":["../../src/Inventory/InventoryDetail.js"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,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WAAW;QAAC,oBAAC,OAAO,IAAC,IAAI,EAAC,IAAI,GAAG,CAAW;CAC7E,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,57 +1,38 @@
1
- import _extends from "@babel/runtime/helpers/extends";
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
+ };
2
12
  import React, { Suspense } from 'react';
3
13
  import PropTypes from 'prop-types';
4
14
  import { ScalprumComponent } from '@scalprum/react-core';
5
15
  import { useHistory } from 'react-router-dom';
6
16
  import { useStore } from 'react-redux';
7
- import { Bullseye } from "@patternfly/react-core/dist/esm/layouts/Bullseye/Bullseye.js";
8
- import { Spinner } from "@patternfly/react-core/dist/esm/components/Spinner/Spinner.js";
17
+ import { Bullseye, Spinner } from '@patternfly/react-core';
9
18
  import InventoryLoadError from './InventoryLoadError';
10
-
11
- var BaseInventoryDetailHead = function BaseInventoryDetailHead(props) {
12
- var history = useHistory();
13
- var store = useStore();
14
- return /*#__PURE__*/React.createElement(Suspense, {
15
- fallback: props.fallback
16
- }, /*#__PURE__*/React.createElement(ScalprumComponent, _extends({
17
- history: history,
18
- store: store,
19
- appName: "inventory",
20
- module: "./InventoryDetailHead",
21
- scope: "inventory",
22
- ErrorComponent: /*#__PURE__*/React.createElement(InventoryLoadError, _extends({
23
- component: "InventoryDetailHead",
24
- history: history,
25
- store: store
26
- }, props)),
27
- ref: props.innerRef
28
- }, props)));
19
+ var BaseInventoryDetailHead = function (props) {
20
+ var history = useHistory();
21
+ var store = useStore();
22
+ return (React.createElement(Suspense, { fallback: props.fallback },
23
+ React.createElement(ScalprumComponent, __assign({ history: history, store: store, appName: "inventory", module: "./InventoryDetailHead", scope: "inventory", ErrorComponent: React.createElement(InventoryLoadError, __assign({ component: "InventoryDetailHead", history: history, store: store }, props)), ref: props.innerRef }, props))));
29
24
  };
30
-
31
25
  BaseInventoryDetailHead.propTypes = {
32
- fallback: PropTypes.node,
33
- innerRef: PropTypes.object
26
+ fallback: PropTypes.node,
27
+ innerRef: PropTypes.object
34
28
  };
35
- /**
36
- * Inventory sub component.
37
- *
38
- * This component shows system information (tags, facts and basic operations).
39
- */
40
-
41
- var InventoryDetailHead = /*#__PURE__*/React.forwardRef(function (props, ref) {
42
- return /*#__PURE__*/React.createElement(BaseInventoryDetailHead, _extends({
43
- innerProps: ref
44
- }, props));
45
- });
29
+ var InventoryDetailHead = React.forwardRef(function (props, ref) { return React.createElement(BaseInventoryDetailHead, __assign({ innerProps: ref }, props)); });
46
30
  InventoryDetailHead.propTypes = {
47
- /** React Suspense fallback component. <a href="https://reactjs.org/docs/code-splitting.html#reactlazy" target="_blank">Learn more</a>. */
48
- fallback: PropTypes.node
31
+ fallback: PropTypes.node
49
32
  };
50
33
  InventoryDetailHead.defaultProps = {
51
- fallback: /*#__PURE__*/React.createElement(Bullseye, {
52
- className: "pf-u-p-lg"
53
- }, /*#__PURE__*/React.createElement(Spinner, {
54
- size: "xl"
55
- }))
34
+ fallback: React.createElement(Bullseye, { className: "pf-u-p-lg" },
35
+ React.createElement(Spinner, { size: "xl" }))
56
36
  };
57
- export default InventoryDetailHead;
37
+ export default InventoryDetailHead;
38
+ //# sourceMappingURL=InventoryDetailHead.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InventoryDetailHead.js","sourceRoot":"","sources":["../../src/Inventory/InventoryDetailHead.js"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OA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AAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -1,18 +1,30 @@
1
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
2
12
  import React, { useEffect } from 'react';
3
13
  import PropTypes from 'prop-types';
4
-
5
- var InventoryLoadError = function InventoryLoadError(_ref) {
6
- var component = _ref.component,
7
- props = _objectWithoutProperties(_ref, ["component"]);
8
-
9
- useEffect(function () {
10
- console.error("Unable to load inventory component. Failed to load ".concat(component, "."), props);
11
- }, []);
12
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("h1", null, "Unable to load inventory component"), /*#__PURE__*/React.createElement("h2", null, "Failed to load ", component), /*#__PURE__*/React.createElement("code", null, "More info can be found in browser console output."));
14
+ var InventoryLoadError = function (_a) {
15
+ var component = _a.component, props = __rest(_a, ["component"]);
16
+ useEffect(function () {
17
+ console.error("Unable to load inventory component. Failed to load ".concat(component, "."), props);
18
+ }, []);
19
+ return (React.createElement("div", null,
20
+ React.createElement("h1", null, "Unable to load inventory component"),
21
+ React.createElement("h2", null,
22
+ "Failed to load ",
23
+ component),
24
+ React.createElement("code", null, "More info can be found in browser console output.")));
13
25
  };
14
-
15
26
  InventoryLoadError.propTypes = {
16
- component: PropTypes.string
27
+ component: PropTypes.string
17
28
  };
18
- export default InventoryLoadError;
29
+ export default InventoryLoadError;
30
+ //# sourceMappingURL=InventoryLoadError.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InventoryLoadError.js","sourceRoot":"","sources":["../../src/Inventory/InventoryLoadError.js"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,IAAM,kBAAkB,GAAG,UAAC,EAAuB;IAArB,IAAA,SAAS,eAAA,EAAK,KAAK,cAArB,aAAuB,CAAF;IAC7C,SAAS,CAAC;QACN,OAAO,CAAC,KAAK,CAAC,6DAAsD,SAAS,MAAG,EAAE,KAAK,CAAC,CAAC;IAC7F,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,OAAO,CACH;QACI,qEAA2C;QAC3C;;YAAoB,SAAS,CAAM;QACnC,sFAEO,CACL,CACT,CAAC;AACN,CAAC,CAAC;AAEF,kBAAkB,CAAC,SAAS,GAAG;IAC3B,SAAS,EAAE,SAAS,CAAC,MAAM;CAC9B,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1,57 +1,38 @@
1
- import _extends from "@babel/runtime/helpers/extends";
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
+ };
2
12
  import React, { Suspense } from 'react';
3
13
  import PropTypes from 'prop-types';
4
14
  import { ScalprumComponent } from '@scalprum/react-core';
5
15
  import { useHistory } from 'react-router-dom';
6
16
  import { useStore } from 'react-redux';
7
- import { Bullseye } from "@patternfly/react-core/dist/esm/layouts/Bullseye/Bullseye.js";
8
- import { Spinner } from "@patternfly/react-core/dist/esm/components/Spinner/Spinner.js";
17
+ import { Bullseye, Spinner } from '@patternfly/react-core';
9
18
  import InventoryLoadError from './InventoryLoadError';
10
-
11
- var BaseInvTable = function BaseInvTable(props) {
12
- var history = useHistory();
13
- var store = useStore();
14
- return /*#__PURE__*/React.createElement(Suspense, {
15
- fallback: props.fallback
16
- }, /*#__PURE__*/React.createElement(ScalprumComponent, _extends({
17
- history: history,
18
- store: store,
19
- appName: "inventory",
20
- module: "./InventoryTable",
21
- scope: "inventory",
22
- ErrorComponent: /*#__PURE__*/React.createElement(InventoryLoadError, _extends({
23
- component: "InventoryDetailHead",
24
- history: history,
25
- store: store
26
- }, props)),
27
- ref: props.innerRef
28
- }, props)));
19
+ var BaseInvTable = function (props) {
20
+ var history = useHistory();
21
+ var store = useStore();
22
+ return (React.createElement(Suspense, { fallback: props.fallback },
23
+ React.createElement(ScalprumComponent, __assign({ history: history, store: store, appName: "inventory", module: "./InventoryTable", scope: "inventory", ErrorComponent: React.createElement(InventoryLoadError, __assign({ component: "InventoryDetailHead", history: history, store: store }, props)), ref: props.innerRef }, props))));
29
24
  };
30
-
31
25
  BaseInvTable.propTypes = {
32
- fallback: PropTypes.node,
33
- innerRef: PropTypes.object
26
+ fallback: PropTypes.node,
27
+ innerRef: PropTypes.object
34
28
  };
35
- /**
36
- * Inventory sub component.
37
- *
38
- * This component shows systems table connected to redux.
39
- */
40
-
41
- var InvTable = /*#__PURE__*/React.forwardRef(function (props, ref) {
42
- return /*#__PURE__*/React.createElement(BaseInvTable, _extends({
43
- innerRef: ref
44
- }, props));
45
- });
29
+ var InvTable = React.forwardRef(function (props, ref) { return React.createElement(BaseInvTable, __assign({ innerRef: ref }, props)); });
46
30
  InvTable.propTypes = {
47
- /** React Suspense fallback component. <a href="https://reactjs.org/docs/code-splitting.html#reactlazy" target="_blank">Learn more</a>. */
48
- fallback: PropTypes.node
31
+ fallback: PropTypes.node
49
32
  };
50
33
  InvTable.defaultProps = {
51
- fallback: /*#__PURE__*/React.createElement(Bullseye, {
52
- className: "pf-u-p-lg"
53
- }, /*#__PURE__*/React.createElement(Spinner, {
54
- size: "xl"
55
- }))
34
+ fallback: React.createElement(Bullseye, { className: "pf-u-p-lg" },
35
+ React.createElement(Spinner, { size: "xl" }))
56
36
  };
57
- export default InvTable;
37
+ export default InvTable;
38
+ //# sourceMappingURL=InventoryTable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InventoryTable.js","sourceRoot":"","sources":["../../src/Inventory/InventoryTable.js"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AAEtD,IAAM,YAAY,GAAG,UAAC,KAAK;IACvB,IAAM,OAAO,GAAG,UAAU,EAAE,CAAC;IAC7B,IAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IACzB,OAAO,CACH,oBAAC,QAAQ,IAAC,QAAQ,EAAE,KAAK,CAAC,QAAQ;QAC9B,oBAAC,iBAAiB,aACd,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAC,WAAW,EACnB,MAAM,EAAC,kBAAkB,EACzB,KAAK,EAAC,WAAW,EACjB,cAAc,EAAE,oBAAC,kBAAkB,aAAC,SAAS,EAAC,qBAAqB,EAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,IAAM,KAAK,EAAI,EACjH,GAAG,EAAE,KAAK,CAAC,QAAQ,IACf,KAAK,EACX,CACK,CACd,CAAC;AACN,CAAC,CAAC;AAEF,YAAY,CAAC,SAAS,GAAG;IACrB,QAAQ,EAAE,SAAS,CAAC,IAAI;IACxB,QAAQ,EAAE,SAAS,CAAC,MAAM;CAC7B,CAAC;AAOF,IAAM,QAAQ,GAAG,KAAK,CAAC,UAAU,CAAC,UAAC,KAAK,EAAE,GAAG,IAAK,OAAA,oBAAC,YAAY,aAAC,QAAQ,EAAE,GAAG,IAAM,KAAK,EAAI,EAA1C,CAA0C,CAAC,CAAC;AAE9F,QAAQ,CAAC,SAAS,GAAG;IAEjB,QAAQ,EAAE,SAAS,CAAC,IAAI;CAC3B,CAAC;AAEF,QAAQ,CAAC,YAAY,GAAG;IACpB,QAAQ,EAAE,oBAAC,QAAQ,IAAC,SAAS,EAAC,WAAW;QAAC,oBAAC,OAAO,IAAC,IAAI,EAAC,IAAI,GAAG,CAAW;CAC7E,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,62 +1,38 @@
1
- import _extends from "@babel/runtime/helpers/extends";
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
+ };
2
12
  import React, { Suspense } from 'react';
3
13
  import PropTypes from 'prop-types';
4
14
  import { ScalprumComponent } from '@scalprum/react-core';
5
15
  import { useHistory } from 'react-router-dom';
6
16
  import { useStore } from 'react-redux';
7
- import { Bullseye } from "@patternfly/react-core/dist/esm/layouts/Bullseye/Bullseye.js";
8
- import { Spinner } from "@patternfly/react-core/dist/esm/components/Spinner/Spinner.js";
17
+ import { Bullseye, Spinner } from '@patternfly/react-core';
9
18
  import InventoryLoadError from './InventoryLoadError';
10
- /**
11
- * Inventory sub component.
12
- *
13
- * This component is used to manipulate with inventory tags.
14
- */
15
-
16
- var BaseTagWithDialog = function BaseTagWithDialog(props) {
17
- var history = useHistory();
18
- var store = useStore();
19
- return /*#__PURE__*/React.createElement(Suspense, {
20
- fallback: props.fallback
21
- }, /*#__PURE__*/React.createElement(ScalprumComponent, _extends({
22
- history: history,
23
- store: store,
24
- appName: "inventory",
25
- module: "./TagWithDialog",
26
- scope: "inventory",
27
- ErrorComponent: /*#__PURE__*/React.createElement(InventoryLoadError, _extends({
28
- component: "InventoryDetailHead",
29
- history: history,
30
- store: store
31
- }, props)),
32
- ref: props.innerRef
33
- }, props)));
19
+ var BaseTagWithDialog = function (props) {
20
+ var history = useHistory();
21
+ var store = useStore();
22
+ return (React.createElement(Suspense, { fallback: props.fallback },
23
+ React.createElement(ScalprumComponent, __assign({ history: history, store: store, appName: "inventory", module: "./TagWithDialog", scope: "inventory", ErrorComponent: React.createElement(InventoryLoadError, __assign({ component: "InventoryDetailHead", history: history, store: store }, props)), ref: props.innerRef }, props))));
34
24
  };
35
-
36
25
  BaseTagWithDialog.propTypes = {
37
- fallback: PropTypes.node,
38
- innerRef: PropTypes.object
26
+ fallback: PropTypes.node,
27
+ innerRef: PropTypes.object
39
28
  };
40
- /**
41
- * Inventory sub component.
42
- *
43
- * This component shows systems table connected to redux.
44
- */
45
-
46
- var TagWithDialog = /*#__PURE__*/React.forwardRef(function (props, ref) {
47
- return /*#__PURE__*/React.createElement(BaseTagWithDialog, _extends({
48
- innerRef: ref
49
- }, props));
50
- });
29
+ var TagWithDialog = React.forwardRef(function (props, ref) { return React.createElement(BaseTagWithDialog, __assign({ innerRef: ref }, props)); });
51
30
  TagWithDialog.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
31
+ fallback: PropTypes.node
54
32
  };
55
33
  TagWithDialog.defaultProps = {
56
- fallback: /*#__PURE__*/React.createElement(Bullseye, {
57
- className: "pf-u-p-lg"
58
- }, /*#__PURE__*/React.createElement(Spinner, {
59
- size: "xl"
60
- }))
34
+ fallback: React.createElement(Bullseye, { className: "pf-u-p-lg" },
35
+ React.createElement(Spinner, { size: "xl" }))
61
36
  };
62
- export default TagWithDialog;
37
+ export default TagWithDialog;
38
+ //# sourceMappingUR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IAAK,OAAA,oBAAC,iBAAiB,aAAC,QAAQ,EAAE,GAAG,IAAM,KAAK,EAAI,EAA/C,CAA+C,CAAC,CAAC;AAExG,aAAa,CAAC,SAAS,GAAG;IAEtB,QAAQ,EAAE,SAAS,CAAC,IAAI;CAC3B,CAAC;AAEF,aAAa,CAAC,YAAY,GAAG;IACzB,QAAQ,EAAE,oBAAC,QAAQ,IAAC,SAAS,EAAC,WAAW;QAAC,oBAAC,OAAO,IAAC,IAAI,EAAC,IAAI,GAAG,CAAW;CAC7E,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -4,4 +4,5 @@ export { default as DetailWrapper } from './DetailWrapper';
4
4
  export { default as InventoryDetail } from './InventoryDetail';
5
5
  export { default as InventoryDetailHead } from './InventoryDetailHead';
6
6
  export { default as TagWithDialog } from './TagWithDialog';
7
- export { default as InventoryLoadError } from './InventoryLoadError';
7
+ export { default as InventoryLoadError } from './InventoryLoadError';
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Inventory/index.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -1,66 +1,69 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
- import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
4
- import _createClass from "@babel/runtime/helpers/createClass";
5
- import _inherits from "@babel/runtime/helpers/inherits";
6
- import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
7
- import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
8
-
9
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
10
-
11
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
12
-
13
- import { Tooltip } from "@patternfly/react-core/dist/esm/components/Tooltip/Tooltip.js";
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ if (typeof b !== "function" && b !== null)
10
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
11
+ extendStatics(d, b);
12
+ function __() { this.constructor = d; }
13
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
14
+ };
15
+ })();
16
+ var __assign = (this && this.__assign) || function () {
17
+ __assign = Object.assign || function(t) {
18
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
19
+ s = arguments[i];
20
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
21
+ t[p] = s[p];
22
+ }
23
+ return t;
24
+ };
25
+ return __assign.apply(this, arguments);
26
+ };
27
+ var __rest = (this && this.__rest) || function (s, e) {
28
+ var t = {};
29
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
30
+ t[p] = s[p];
31
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
32
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
33
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
34
+ t[p[i]] = s[p[i]];
35
+ }
36
+ return t;
37
+ };
38
+ import { Tooltip } from '@patternfly/react-core';
14
39
  import propTypes from 'prop-types';
15
40
  import React from 'react';
16
-
17
- var LongTextTooltip = /*#__PURE__*/function (_React$Component) {
18
- _inherits(LongTextTooltip, _React$Component);
19
-
20
- var _super = _createSuper(LongTextTooltip);
21
-
22
- function LongTextTooltip(props) {
23
- _classCallCheck(this, LongTextTooltip);
24
-
25
- return _super.call(this, props);
26
- }
27
-
28
- _createClass(LongTextTooltip, [{
29
- key: "truncate",
30
- value: function truncate(str, max) {
31
- return str.length > max ? str.substr(0, max - 1) + '…' : str;
32
- }
33
- }, {
34
- key: "render",
35
- value: function render() {
36
- var _this$props = this.props,
37
- content = _this$props.content,
38
- maxLength = _this$props.maxLength,
39
- tooltipMaxWidth = _this$props.tooltipMaxWidth,
40
- tooltipPosition = _this$props.tooltipPosition,
41
- rest = _objectWithoutProperties(_this$props, ["content", "maxLength", "tooltipMaxWidth", "tooltipPosition"]);
42
-
43
- return /*#__PURE__*/React.createElement(React.Fragment, null, content.length > maxLength ? /*#__PURE__*/React.createElement(Tooltip, _extends({
44
- maxWidth: tooltipMaxWidth,
45
- position: tooltipPosition,
46
- content: /*#__PURE__*/React.createElement("div", null, content)
47
- }, rest), /*#__PURE__*/React.createElement("div", null, this.truncate(content, maxLength))) : /*#__PURE__*/React.createElement("span", null, content));
41
+ var LongTextTooltip = (function (_super) {
42
+ __extends(LongTextTooltip, _super);
43
+ function LongTextTooltip(props) {
44
+ return _super.call(this, props) || this;
48
45
  }
49
- }]);
50
-
51
- return LongTextTooltip;
52
- }(React.Component);
53
-
46
+ LongTextTooltip.prototype.truncate = function (str, max) {
47
+ return str.length > max ? str.substr(0, max - 1) + '…' : str;
48
+ };
49
+ LongTextTooltip.prototype.render = function () {
50
+ var _a = this.props, content = _a.content, maxLength = _a.maxLength, tooltipMaxWidth = _a.tooltipMaxWidth, tooltipPosition = _a.tooltipPosition, rest = __rest(_a, ["content", "maxLength", "tooltipMaxWidth", "tooltipPosition"]);
51
+ return (React.createElement(React.Fragment, null, content.length > maxLength ? (React.createElement(Tooltip, __assign({ maxWidth: tooltipMaxWidth, position: tooltipPosition, content: React.createElement("div", null, content) }, rest),
52
+ React.createElement("div", null, this.truncate(content, maxLength)))) : (React.createElement("span", null, content))));
53
+ };
54
+ return LongTextTooltip;
55
+ }(React.Component));
54
56
  LongTextTooltip.defaultProps = {
55
- content: '',
56
- maxLength: Infinity,
57
- tooltipPosition: 'top',
58
- tooltipMaxWidth: '50vw'
57
+ content: '',
58
+ maxLength: Infinity,
59
+ tooltipPosition: 'top',
60
+ tooltipMaxWidth: '50vw'
59
61
  };
60
62
  LongTextTooltip.propTypes = {
61
- content: propTypes.string,
62
- maxLength: propTypes.number,
63
- tooltipPosition: propTypes.string,
64
- tooltipMaxWidth: propTypes.string
63
+ content: propTypes.string,
64
+ maxLength: propTypes.number,
65
+ tooltipPosition: propTypes.string,
66
+ tooltipMaxWidth: propTypes.string
65
67
  };
66
- export default LongTextTooltip;
68
+ export default LongTextTooltip;
69
+ //# sourceMappingURL=LongTextTooltip.js.map