@flightctl/ui-components 0.0.4 → 0.0.10

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 (874) hide show
  1. package/dist/__mocks__/fileMock.d.ts +3 -0
  2. package/dist/__mocks__/fileMock.d.ts.map +1 -0
  3. package/dist/__mocks__/styleMock.d.ts +2 -0
  4. package/dist/__mocks__/styleMock.d.ts.map +1 -0
  5. package/dist/jest.config.d.ts +12 -0
  6. package/dist/jest.config.d.ts.map +1 -0
  7. package/dist/src/components/DetailsPage/DetailsNotFound.d.ts +8 -0
  8. package/dist/src/components/DetailsPage/DetailsNotFound.d.ts.map +1 -0
  9. package/dist/src/components/DetailsPage/DetailsPage.d.ts +18 -0
  10. package/dist/src/components/DetailsPage/DetailsPage.d.ts.map +1 -0
  11. package/dist/src/components/DetailsPage/DetailsPage.spec.d.ts +2 -0
  12. package/dist/src/components/DetailsPage/DetailsPage.spec.d.ts.map +1 -0
  13. package/dist/src/components/DetailsPage/DetailsPageActions.d.ts +17 -0
  14. package/dist/src/components/DetailsPage/DetailsPageActions.d.ts.map +1 -0
  15. package/dist/src/components/DetailsPage/DetailsPageCard.d.ts +7 -0
  16. package/dist/src/components/DetailsPage/DetailsPageCard.d.ts.map +1 -0
  17. package/dist/src/components/DetailsPage/Tables/ApplicationsTable.d.ts +8 -0
  18. package/dist/src/components/DetailsPage/Tables/ApplicationsTable.d.ts.map +1 -0
  19. package/dist/src/components/DetailsPage/Tables/ApplicationsTable.js +2 -3
  20. package/dist/src/components/DetailsPage/Tables/ApplicationsTable.js.map +1 -1
  21. package/dist/src/components/DetailsPage/Tables/ConditionsTable.d.ts +9 -0
  22. package/dist/src/components/DetailsPage/Tables/ConditionsTable.d.ts.map +1 -0
  23. package/dist/src/components/DetailsPage/Tables/IntegrityDetails.d.ts +8 -0
  24. package/dist/src/components/DetailsPage/Tables/IntegrityDetails.d.ts.map +1 -0
  25. package/dist/src/components/DetailsPage/Tables/IntegrityDetails.js +2 -1
  26. package/dist/src/components/DetailsPage/Tables/IntegrityDetails.js.map +1 -1
  27. package/dist/src/components/DetailsPage/Tables/SystemdDetailsTable.d.ts +12 -0
  28. package/dist/src/components/DetailsPage/Tables/SystemdDetailsTable.d.ts.map +1 -0
  29. package/dist/src/components/Device/AddDeviceModal/AddDeviceModal.d.ts +6 -0
  30. package/dist/src/components/Device/AddDeviceModal/AddDeviceModal.d.ts.map +1 -0
  31. package/dist/src/components/Device/DeviceDetails/DeviceDetailsPage.d.ts +6 -0
  32. package/dist/src/components/Device/DeviceDetails/DeviceDetailsPage.d.ts.map +1 -0
  33. package/dist/src/components/Device/DeviceDetails/DeviceDetailsPage.js +12 -3
  34. package/dist/src/components/Device/DeviceDetails/DeviceDetailsPage.js.map +1 -1
  35. package/dist/src/components/Device/DeviceDetails/DeviceDetailsTab.d.ts +12 -0
  36. package/dist/src/components/Device/DeviceDetails/DeviceDetailsTab.d.ts.map +1 -0
  37. package/dist/src/components/Device/DeviceDetails/DeviceDetailsTab.js +24 -22
  38. package/dist/src/components/Device/DeviceDetails/DeviceDetailsTab.js.map +1 -1
  39. package/dist/src/components/Device/DeviceDetails/DeviceFleet.d.ts +8 -0
  40. package/dist/src/components/Device/DeviceDetails/DeviceFleet.d.ts.map +1 -0
  41. package/dist/src/components/Device/DeviceDetails/DeviceFleet.js +3 -3
  42. package/dist/src/components/Device/DeviceDetails/DeviceFleet.js.map +1 -1
  43. package/dist/src/components/Device/DeviceDetails/DeviceOs.d.ts +7 -0
  44. package/dist/src/components/Device/DeviceDetails/DeviceOs.d.ts.map +1 -0
  45. package/dist/src/components/Device/DeviceDetails/DeviceOs.js +24 -0
  46. package/dist/src/components/Device/DeviceDetails/DeviceOs.js.map +1 -0
  47. package/dist/src/components/Device/DeviceDetails/DeviceStatusDebugModal.d.ts +9 -0
  48. package/dist/src/components/Device/DeviceDetails/DeviceStatusDebugModal.d.ts.map +1 -0
  49. package/dist/src/components/Device/DeviceDetails/SystemdTable.d.ts +10 -0
  50. package/dist/src/components/Device/DeviceDetails/SystemdTable.d.ts.map +1 -0
  51. package/dist/src/components/Device/DeviceDetails/TerminalTab.d.ts +7 -0
  52. package/dist/src/components/Device/DeviceDetails/TerminalTab.d.ts.map +1 -0
  53. package/dist/src/components/Device/DevicesPage/DeviceFilterSelect.d.ts +17 -0
  54. package/dist/src/components/Device/DevicesPage/DeviceFilterSelect.d.ts.map +1 -0
  55. package/dist/src/components/Device/DevicesPage/DeviceFilterSelect.js +61 -0
  56. package/dist/src/components/Device/DevicesPage/DeviceFilterSelect.js.map +1 -0
  57. package/dist/src/components/Device/DevicesPage/DeviceTableRow.d.ts +14 -0
  58. package/dist/src/components/Device/DevicesPage/DeviceTableRow.d.ts.map +1 -0
  59. package/dist/src/components/Device/{DeviceList → DevicesPage}/DeviceTableRow.js +1 -1
  60. package/dist/src/components/Device/DevicesPage/DeviceTableRow.js.map +1 -0
  61. package/dist/src/components/Device/DevicesPage/DeviceTableToolbar.d.ts +21 -0
  62. package/dist/src/components/Device/DevicesPage/DeviceTableToolbar.d.ts.map +1 -0
  63. package/dist/src/components/Device/{DeviceList → DevicesPage}/DeviceTableToolbar.js +10 -11
  64. package/dist/src/components/Device/DevicesPage/DeviceTableToolbar.js.map +1 -0
  65. package/dist/src/components/Device/DevicesPage/DeviceToolbarFilters.css +16 -0
  66. package/dist/src/components/Device/DevicesPage/DeviceToolbarFilters.d.ts +18 -0
  67. package/dist/src/components/Device/DevicesPage/DeviceToolbarFilters.d.ts.map +1 -0
  68. package/dist/src/components/Device/DevicesPage/DeviceToolbarFilters.js +147 -0
  69. package/dist/src/components/Device/DevicesPage/DeviceToolbarFilters.js.map +1 -0
  70. package/dist/src/components/Device/DevicesPage/DevicesPage.d.ts +28 -0
  71. package/dist/src/components/Device/DevicesPage/DevicesPage.d.ts.map +1 -0
  72. package/dist/src/components/Device/DevicesPage/DevicesPage.js +130 -0
  73. package/dist/src/components/Device/DevicesPage/DevicesPage.js.map +1 -0
  74. package/dist/src/components/Device/DevicesPage/EnrollmentRequestList.d.ts +6 -0
  75. package/dist/src/components/Device/DevicesPage/EnrollmentRequestList.d.ts.map +1 -0
  76. package/dist/src/components/Device/DevicesPage/EnrollmentRequestList.js +95 -0
  77. package/dist/src/components/Device/DevicesPage/EnrollmentRequestList.js.map +1 -0
  78. package/dist/src/components/Device/DevicesPage/EnrollmentRequestTableToolbar.d.ts +11 -0
  79. package/dist/src/components/Device/DevicesPage/EnrollmentRequestTableToolbar.d.ts.map +1 -0
  80. package/dist/src/components/Device/DevicesPage/EnrollmentRequestTableToolbar.js +18 -0
  81. package/dist/src/components/Device/DevicesPage/EnrollmentRequestTableToolbar.js.map +1 -0
  82. package/dist/src/components/Device/DevicesPage/types.d.ts +18 -0
  83. package/dist/src/components/Device/DevicesPage/types.d.ts.map +1 -0
  84. package/dist/src/components/Device/DevicesPage/types.js.map +1 -0
  85. package/dist/src/components/Device/DevicesPage/useDeviceBackendFilters.d.ts +14 -0
  86. package/dist/src/components/Device/DevicesPage/useDeviceBackendFilters.d.ts.map +1 -0
  87. package/dist/src/components/Device/{DeviceList → DevicesPage}/useDeviceBackendFilters.js +10 -3
  88. package/dist/src/components/Device/DevicesPage/useDeviceBackendFilters.js.map +1 -0
  89. package/dist/src/components/Device/DevicesPage/useDevices.d.ts +27 -0
  90. package/dist/src/components/Device/DevicesPage/useDevices.d.ts.map +1 -0
  91. package/dist/src/components/Device/DevicesPage/useDevices.js +82 -0
  92. package/dist/src/components/Device/DevicesPage/useDevices.js.map +1 -0
  93. package/dist/src/components/Device/EditDeviceWizard/EditDeviceWizard.d.ts +5 -0
  94. package/dist/src/components/Device/EditDeviceWizard/EditDeviceWizard.d.ts.map +1 -0
  95. package/dist/src/components/Device/EditDeviceWizard/EditDeviceWizard.js +1 -0
  96. package/dist/src/components/Device/EditDeviceWizard/EditDeviceWizard.js.map +1 -1
  97. package/dist/src/components/Device/EditDeviceWizard/EditDeviceWizardFooter.d.ts +4 -0
  98. package/dist/src/components/Device/EditDeviceWizard/EditDeviceWizardFooter.d.ts.map +1 -0
  99. package/dist/src/components/Device/EditDeviceWizard/EditDeviceWizardNav.d.ts +4 -0
  100. package/dist/src/components/Device/EditDeviceWizard/EditDeviceWizardNav.d.ts.map +1 -0
  101. package/dist/src/components/Device/EditDeviceWizard/deviceSpecUtils.d.ts +10 -0
  102. package/dist/src/components/Device/EditDeviceWizard/deviceSpecUtils.d.ts.map +1 -0
  103. package/dist/src/components/Device/EditDeviceWizard/deviceSpecUtils.js +87 -21
  104. package/dist/src/components/Device/EditDeviceWizard/deviceSpecUtils.js.map +1 -1
  105. package/dist/src/components/Device/EditDeviceWizard/steps/ApplicationsForm.css +4 -0
  106. package/dist/src/components/Device/EditDeviceWizard/steps/ApplicationsForm.d.ts +5 -0
  107. package/dist/src/components/Device/EditDeviceWizard/steps/ApplicationsForm.d.ts.map +1 -0
  108. package/dist/src/components/Device/EditDeviceWizard/steps/ApplicationsForm.js +61 -0
  109. package/dist/src/components/Device/EditDeviceWizard/steps/ApplicationsForm.js.map +1 -0
  110. package/dist/src/components/Device/EditDeviceWizard/steps/ConfigInlineTemplateForm.d.ts +7 -0
  111. package/dist/src/components/Device/EditDeviceWizard/steps/ConfigInlineTemplateForm.d.ts.map +1 -0
  112. package/dist/src/components/Device/EditDeviceWizard/steps/ConfigInlineTemplateForm.js +88 -4
  113. package/dist/src/components/Device/EditDeviceWizard/steps/ConfigInlineTemplateForm.js.map +1 -1
  114. package/dist/src/components/Device/EditDeviceWizard/steps/ConfigK8sSecretTemplateForm.d.ts +7 -0
  115. package/dist/src/components/Device/EditDeviceWizard/steps/ConfigK8sSecretTemplateForm.d.ts.map +1 -0
  116. package/dist/src/components/Device/EditDeviceWizard/steps/ConfigK8sSecretTemplateForm.js +3 -3
  117. package/dist/src/components/Device/EditDeviceWizard/steps/ConfigK8sSecretTemplateForm.js.map +1 -1
  118. package/dist/src/components/Device/EditDeviceWizard/steps/ConfigTemplateForm.d.ts +4 -0
  119. package/dist/src/components/Device/EditDeviceWizard/steps/ConfigTemplateForm.d.ts.map +1 -0
  120. package/dist/src/components/Device/EditDeviceWizard/steps/ConfigTemplateForm.js +26 -31
  121. package/dist/src/components/Device/EditDeviceWizard/steps/ConfigTemplateForm.js.map +1 -1
  122. package/dist/src/components/Device/EditDeviceWizard/steps/ConfigWithRepositoryTemplateForm.d.ts +11 -0
  123. package/dist/src/components/Device/EditDeviceWizard/steps/ConfigWithRepositoryTemplateForm.d.ts.map +1 -0
  124. package/dist/src/components/Device/EditDeviceWizard/steps/DeviceTemplateStep.d.ts +10 -0
  125. package/dist/src/components/Device/EditDeviceWizard/steps/DeviceTemplateStep.d.ts.map +1 -0
  126. package/dist/src/components/Device/EditDeviceWizard/steps/DeviceTemplateStep.js +14 -12
  127. package/dist/src/components/Device/EditDeviceWizard/steps/DeviceTemplateStep.js.map +1 -1
  128. package/dist/src/components/Device/EditDeviceWizard/steps/GeneralInfoStep.d.ts +8 -0
  129. package/dist/src/components/Device/EditDeviceWizard/steps/GeneralInfoStep.d.ts.map +1 -0
  130. package/dist/src/components/Device/EditDeviceWizard/steps/ReviewApplications.d.ts +7 -0
  131. package/dist/src/components/Device/EditDeviceWizard/steps/ReviewApplications.d.ts.map +1 -0
  132. package/dist/src/components/Device/EditDeviceWizard/steps/ReviewApplications.js +26 -0
  133. package/dist/src/components/Device/EditDeviceWizard/steps/ReviewApplications.js.map +1 -0
  134. package/dist/src/components/Device/EditDeviceWizard/steps/ReviewDeviceStep.d.ts +7 -0
  135. package/dist/src/components/Device/EditDeviceWizard/steps/ReviewDeviceStep.d.ts.map +1 -0
  136. package/dist/src/components/Device/EditDeviceWizard/steps/ReviewDeviceStep.js +9 -4
  137. package/dist/src/components/Device/EditDeviceWizard/steps/ReviewDeviceStep.js.map +1 -1
  138. package/dist/src/components/Device/EditDeviceWizard/types.d.ts +20 -0
  139. package/dist/src/components/Device/EditDeviceWizard/types.d.ts.map +1 -0
  140. package/dist/src/components/Device/EditDeviceWizard/useEditDevice.d.ts +3 -0
  141. package/dist/src/components/Device/EditDeviceWizard/useEditDevice.d.ts.map +1 -0
  142. package/dist/src/components/Device/EditDeviceWizard/utils.d.ts +44 -0
  143. package/dist/src/components/Device/EditDeviceWizard/utils.d.ts.map +1 -0
  144. package/dist/src/components/Device/EditDeviceWizard/utils.js +6 -4
  145. package/dist/src/components/Device/EditDeviceWizard/utils.js.map +1 -1
  146. package/dist/src/components/Device/MatchPatternsModal/MatchPatternsForm.d.ts +11 -0
  147. package/dist/src/components/Device/MatchPatternsModal/MatchPatternsForm.d.ts.map +1 -0
  148. package/dist/src/components/Device/MatchPatternsModal/MatchPatternsModal.d.ts +17 -0
  149. package/dist/src/components/Device/MatchPatternsModal/MatchPatternsModal.d.ts.map +1 -0
  150. package/dist/src/components/EnrollmentRequest/EnrollmentRequestDetails/EnrollmentRequestDetails.d.ts +5 -0
  151. package/dist/src/components/EnrollmentRequest/EnrollmentRequestDetails/EnrollmentRequestDetails.d.ts.map +1 -0
  152. package/dist/src/components/EnrollmentRequest/EnrollmentRequestDetails/EnrollmentRequestDetails.js +2 -1
  153. package/dist/src/components/EnrollmentRequest/EnrollmentRequestDetails/EnrollmentRequestDetails.js.map +1 -1
  154. package/dist/src/components/EnrollmentRequest/EnrollmentRequestTableRow.d.ts +15 -0
  155. package/dist/src/components/EnrollmentRequest/EnrollmentRequestTableRow.d.ts.map +1 -0
  156. package/dist/src/components/EnrollmentRequest/EnrollmentRequestTableRow.js +9 -13
  157. package/dist/src/components/EnrollmentRequest/EnrollmentRequestTableRow.js.map +1 -1
  158. package/dist/src/components/EnrollmentRequest/PendingEnrollmentRequestsBadge.css +10 -0
  159. package/dist/src/components/EnrollmentRequest/PendingEnrollmentRequestsBadge.d.ts +5 -0
  160. package/dist/src/components/EnrollmentRequest/PendingEnrollmentRequestsBadge.d.ts.map +1 -0
  161. package/dist/src/components/EnrollmentRequest/PendingEnrollmentRequestsBadge.js +22 -0
  162. package/dist/src/components/EnrollmentRequest/PendingEnrollmentRequestsBadge.js.map +1 -0
  163. package/dist/src/components/ErrorAlert/ErrorAlert.d.ts +6 -0
  164. package/dist/src/components/ErrorAlert/ErrorAlert.d.ts.map +1 -0
  165. package/dist/src/components/Fleet/CreateFleet/CreateFleetWizard.d.ts +5 -0
  166. package/dist/src/components/Fleet/CreateFleet/CreateFleetWizard.d.ts.map +1 -0
  167. package/dist/src/components/Fleet/CreateFleet/CreateFleetWizardFooter.d.ts +7 -0
  168. package/dist/src/components/Fleet/CreateFleet/CreateFleetWizardFooter.d.ts.map +1 -0
  169. package/dist/src/components/Fleet/CreateFleet/steps/DeviceLabelSelector.d.ts +4 -0
  170. package/dist/src/components/Fleet/CreateFleet/steps/DeviceLabelSelector.d.ts.map +1 -0
  171. package/dist/src/components/Fleet/CreateFleet/steps/DeviceLabelSelector.js +4 -5
  172. package/dist/src/components/Fleet/CreateFleet/steps/DeviceLabelSelector.js.map +1 -1
  173. package/dist/src/components/Fleet/CreateFleet/steps/GeneralInfoStep.d.ts +10 -0
  174. package/dist/src/components/Fleet/CreateFleet/steps/GeneralInfoStep.d.ts.map +1 -0
  175. package/dist/src/components/Fleet/CreateFleet/steps/ReviewStep.d.ts +7 -0
  176. package/dist/src/components/Fleet/CreateFleet/steps/ReviewStep.d.ts.map +1 -0
  177. package/dist/src/components/Fleet/CreateFleet/steps/ReviewStep.js +11 -6
  178. package/dist/src/components/Fleet/CreateFleet/steps/ReviewStep.js.map +1 -1
  179. package/dist/src/components/Fleet/CreateFleet/types.d.ts +8 -0
  180. package/dist/src/components/Fleet/CreateFleet/types.d.ts.map +1 -0
  181. package/dist/src/components/Fleet/CreateFleet/useEditFleet.d.ts +3 -0
  182. package/dist/src/components/Fleet/CreateFleet/useEditFleet.d.ts.map +1 -0
  183. package/dist/src/components/Fleet/CreateFleet/utils.d.ts +9 -0
  184. package/dist/src/components/Fleet/CreateFleet/utils.d.ts.map +1 -0
  185. package/dist/src/components/Fleet/CreateFleet/utils.js +8 -3
  186. package/dist/src/components/Fleet/CreateFleet/utils.js.map +1 -1
  187. package/dist/src/components/Fleet/DeleteFleetModal/DeleteFleetModal.d.ts +7 -0
  188. package/dist/src/components/Fleet/DeleteFleetModal/DeleteFleetModal.d.ts.map +1 -0
  189. package/dist/src/components/Fleet/FleetDetails/FleetDetails.d.ts +4 -0
  190. package/dist/src/components/Fleet/FleetDetails/FleetDetails.d.ts.map +1 -0
  191. package/dist/src/components/Fleet/FleetDetails/FleetDetailsContent.d.ts +7 -0
  192. package/dist/src/components/Fleet/FleetDetails/FleetDetailsContent.d.ts.map +1 -0
  193. package/dist/src/components/Fleet/FleetDetails/FleetDetailsContent.js +10 -20
  194. package/dist/src/components/Fleet/FleetDetails/FleetDetailsContent.js.map +1 -1
  195. package/dist/src/components/Fleet/FleetDetails/FleetDevices.d.ts +9 -0
  196. package/dist/src/components/Fleet/FleetDetails/FleetDevices.d.ts.map +1 -0
  197. package/dist/src/components/Fleet/FleetDetails/FleetDevices.js +23 -17
  198. package/dist/src/components/Fleet/FleetDetails/FleetDevices.js.map +1 -1
  199. package/dist/src/components/Fleet/FleetDetails/FleetDevicesLink.d.ts +7 -0
  200. package/dist/src/components/Fleet/FleetDetails/FleetDevicesLink.d.ts.map +1 -0
  201. package/dist/src/components/Fleet/FleetDetails/FleetDevicesLink.js +13 -0
  202. package/dist/src/components/Fleet/FleetDetails/FleetDevicesLink.js.map +1 -0
  203. package/dist/src/components/Fleet/FleetDetails/FleetOwnerLink.d.ts +13 -0
  204. package/dist/src/components/Fleet/FleetDetails/FleetOwnerLink.d.ts.map +1 -0
  205. package/dist/src/components/Fleet/FleetDetails/FleetOwnerLink.js +1 -0
  206. package/dist/src/components/Fleet/FleetDetails/FleetOwnerLink.js.map +1 -1
  207. package/dist/src/components/Fleet/FleetResourceSyncs.d.ts +7 -0
  208. package/dist/src/components/Fleet/FleetResourceSyncs.d.ts.map +1 -0
  209. package/dist/src/components/Fleet/FleetResourceSyncs.js +115 -0
  210. package/dist/src/components/Fleet/FleetResourceSyncs.js.map +1 -0
  211. package/dist/src/components/Fleet/FleetRow.d.ts +13 -0
  212. package/dist/src/components/Fleet/FleetRow.d.ts.map +1 -0
  213. package/dist/src/components/Fleet/FleetRow.js +5 -5
  214. package/dist/src/components/Fleet/FleetRow.js.map +1 -1
  215. package/dist/src/components/Fleet/FleetStatus.d.ts +7 -0
  216. package/dist/src/components/Fleet/FleetStatus.d.ts.map +1 -0
  217. package/dist/src/components/Fleet/FleetsPage.d.ts +4 -0
  218. package/dist/src/components/Fleet/FleetsPage.d.ts.map +1 -0
  219. package/dist/src/components/Fleet/{FleetList.js → FleetsPage.js} +31 -51
  220. package/dist/src/components/Fleet/FleetsPage.js.map +1 -0
  221. package/dist/src/components/Fleet/ImportFleetWizard/ImportFleetWizard.d.ts +5 -0
  222. package/dist/src/components/Fleet/ImportFleetWizard/ImportFleetWizard.d.ts.map +1 -0
  223. package/dist/src/components/Fleet/ImportFleetWizard/steps/RepositoryStep.d.ts +12 -0
  224. package/dist/src/components/Fleet/ImportFleetWizard/steps/RepositoryStep.d.ts.map +1 -0
  225. package/dist/src/components/Fleet/ImportFleetWizard/steps/RepositoryStep.js +1 -1
  226. package/dist/src/components/Fleet/ImportFleetWizard/steps/RepositoryStep.js.map +1 -1
  227. package/dist/src/components/Fleet/ImportFleetWizard/steps/ResourceSyncStep.d.ts +8 -0
  228. package/dist/src/components/Fleet/ImportFleetWizard/steps/ResourceSyncStep.d.ts.map +1 -0
  229. package/dist/src/components/Fleet/ImportFleetWizard/steps/ReviewStep.d.ts +7 -0
  230. package/dist/src/components/Fleet/ImportFleetWizard/steps/ReviewStep.d.ts.map +1 -0
  231. package/dist/src/components/Fleet/ImportFleetWizard/types.d.ts +6 -0
  232. package/dist/src/components/Fleet/ImportFleetWizard/types.d.ts.map +1 -0
  233. package/dist/src/components/Fleet/useFleets.d.ts +18 -0
  234. package/dist/src/components/Fleet/useFleets.d.ts.map +1 -0
  235. package/dist/src/components/Fleet/useFleets.js +61 -0
  236. package/dist/src/components/Fleet/useFleets.js.map +1 -0
  237. package/dist/src/components/ListPage/ListPage.d.ts +10 -0
  238. package/dist/src/components/ListPage/ListPage.d.ts.map +1 -0
  239. package/dist/src/components/ListPage/ListPage.js +2 -2
  240. package/dist/src/components/ListPage/ListPage.js.map +1 -1
  241. package/dist/src/components/ListPage/ListPageActions.d.ts +17 -0
  242. package/dist/src/components/ListPage/ListPageActions.d.ts.map +1 -0
  243. package/dist/src/components/ListPage/ListPageActions.js +13 -2
  244. package/dist/src/components/ListPage/ListPageActions.js.map +1 -1
  245. package/dist/src/components/ListPage/ListPageBody.d.ts +9 -0
  246. package/dist/src/components/ListPage/ListPageBody.d.ts.map +1 -0
  247. package/dist/src/components/ListPage/types.d.ts +16 -0
  248. package/dist/src/components/ListPage/types.d.ts.map +1 -0
  249. package/dist/src/components/NavItem/NavItem.d.ts +8 -0
  250. package/dist/src/components/NavItem/NavItem.d.ts.map +1 -0
  251. package/dist/src/components/OverviewPage/Cards/Status/ApplicationStatusChart.d.ts +9 -0
  252. package/dist/src/components/OverviewPage/Cards/Status/ApplicationStatusChart.d.ts.map +1 -0
  253. package/dist/src/components/OverviewPage/Cards/Status/ApplicationStatusChart.js +5 -17
  254. package/dist/src/components/OverviewPage/Cards/Status/ApplicationStatusChart.js.map +1 -1
  255. package/dist/src/components/OverviewPage/Cards/Status/DeviceStatusChart.d.ts +9 -0
  256. package/dist/src/components/OverviewPage/Cards/Status/DeviceStatusChart.d.ts.map +1 -0
  257. package/dist/src/components/OverviewPage/Cards/Status/DeviceStatusChart.js +7 -20
  258. package/dist/src/components/OverviewPage/Cards/Status/DeviceStatusChart.js.map +1 -1
  259. package/dist/src/components/OverviewPage/Cards/Status/StatusCard.d.ts +4 -0
  260. package/dist/src/components/OverviewPage/Cards/Status/StatusCard.d.ts.map +1 -0
  261. package/dist/src/components/OverviewPage/Cards/Status/StatusCard.js +13 -11
  262. package/dist/src/components/OverviewPage/Cards/Status/StatusCard.js.map +1 -1
  263. package/dist/src/components/OverviewPage/Cards/Status/StatusCardFilters.d.ts +14 -0
  264. package/dist/src/components/OverviewPage/Cards/Status/StatusCardFilters.d.ts.map +1 -0
  265. package/dist/src/components/OverviewPage/Cards/Status/StatusCardFilters.js +22 -51
  266. package/dist/src/components/OverviewPage/Cards/Status/StatusCardFilters.js.map +1 -1
  267. package/dist/src/components/OverviewPage/Cards/Status/SystemUpdateStatusChart.d.ts +9 -0
  268. package/dist/src/components/OverviewPage/Cards/Status/SystemUpdateStatusChart.d.ts.map +1 -0
  269. package/dist/src/components/OverviewPage/Cards/Status/SystemUpdateStatusChart.js +5 -17
  270. package/dist/src/components/OverviewPage/Cards/Status/SystemUpdateStatusChart.js.map +1 -1
  271. package/dist/src/components/OverviewPage/Cards/Status/utils.d.ts +15 -0
  272. package/dist/src/components/OverviewPage/Cards/Status/utils.d.ts.map +1 -0
  273. package/dist/src/components/OverviewPage/Cards/Status/utils.js +9 -26
  274. package/dist/src/components/OverviewPage/Cards/Status/utils.js.map +1 -1
  275. package/dist/src/components/OverviewPage/Cards/ToDo/ToDoCard.d.ts +4 -0
  276. package/dist/src/components/OverviewPage/Cards/ToDo/ToDoCard.d.ts.map +1 -0
  277. package/dist/src/components/OverviewPage/Cards/ToDo/ToDoCard.js +5 -10
  278. package/dist/src/components/OverviewPage/Cards/ToDo/ToDoCard.js.map +1 -1
  279. package/dist/src/components/OverviewPage/Overview.d.ts +4 -0
  280. package/dist/src/components/OverviewPage/Overview.d.ts.map +1 -0
  281. package/dist/src/components/OverviewPage/Overview.js +1 -1
  282. package/dist/src/components/OverviewPage/Overview.js.map +1 -1
  283. package/dist/src/components/OverviewPage/OverviewPage.d.ts +4 -0
  284. package/dist/src/components/OverviewPage/OverviewPage.d.ts.map +1 -0
  285. package/dist/src/components/Repository/CreateRepository/CreateRepository.d.ts +4 -0
  286. package/dist/src/components/Repository/CreateRepository/CreateRepository.d.ts.map +1 -0
  287. package/dist/src/components/Repository/CreateRepository/CreateRepository.js +2 -2
  288. package/dist/src/components/Repository/CreateRepository/CreateRepository.js.map +1 -1
  289. package/dist/src/components/Repository/CreateRepository/CreateRepositoryForm.d.ts +21 -0
  290. package/dist/src/components/Repository/CreateRepository/CreateRepositoryForm.d.ts.map +1 -0
  291. package/dist/src/components/Repository/CreateRepository/CreateRepositoryForm.js +8 -1
  292. package/dist/src/components/Repository/CreateRepository/CreateRepositoryForm.js.map +1 -1
  293. package/dist/src/components/Repository/CreateRepository/CreateResourceSyncsForm.d.ts +9 -0
  294. package/dist/src/components/Repository/CreateRepository/CreateResourceSyncsForm.d.ts.map +1 -0
  295. package/dist/src/components/Repository/CreateRepository/CreateResourceSyncsForm.js +18 -11
  296. package/dist/src/components/Repository/CreateRepository/CreateResourceSyncsForm.js.map +1 -1
  297. package/dist/src/components/Repository/CreateRepository/types.d.ts +42 -0
  298. package/dist/src/components/Repository/CreateRepository/types.d.ts.map +1 -0
  299. package/dist/src/components/Repository/CreateRepository/utils.d.ts +75 -0
  300. package/dist/src/components/Repository/CreateRepository/utils.d.ts.map +1 -0
  301. package/dist/src/components/Repository/CreateRepository/utils.js +40 -7
  302. package/dist/src/components/Repository/CreateRepository/utils.js.map +1 -1
  303. package/dist/src/components/Repository/RepositoryDetails/DeleteRepositoryModal.d.ts +9 -0
  304. package/dist/src/components/Repository/RepositoryDetails/DeleteRepositoryModal.d.ts.map +1 -0
  305. package/dist/src/components/Repository/RepositoryDetails/DeleteRepositoryModal.js +1 -1
  306. package/dist/src/components/Repository/RepositoryDetails/DeleteRepositoryModal.js.map +1 -1
  307. package/dist/src/components/Repository/RepositoryDetails/RepositoryDetails.d.ts +4 -0
  308. package/dist/src/components/Repository/RepositoryDetails/RepositoryDetails.d.ts.map +1 -0
  309. package/dist/src/components/Repository/RepositoryDetails/RepositoryDetails.js +3 -2
  310. package/dist/src/components/Repository/RepositoryDetails/RepositoryDetails.js.map +1 -1
  311. package/dist/src/components/Repository/RepositoryDetails/RepositoryGeneralDetailsCard.d.ts +7 -0
  312. package/dist/src/components/Repository/RepositoryDetails/RepositoryGeneralDetailsCard.d.ts.map +1 -0
  313. package/dist/src/components/Repository/RepositoryDetails/RepositoryGeneralDetailsCard.js +14 -13
  314. package/dist/src/components/Repository/RepositoryDetails/RepositoryGeneralDetailsCard.js.map +1 -1
  315. package/dist/src/components/Repository/RepositoryDetails/RepositoryResourceSyncsCard.d.ts +6 -0
  316. package/dist/src/components/Repository/RepositoryDetails/RepositoryResourceSyncsCard.d.ts.map +1 -0
  317. package/dist/src/components/Repository/RepositoryDetails/RepositorySource.d.ts +22 -0
  318. package/dist/src/components/Repository/RepositoryDetails/RepositorySource.d.ts.map +1 -0
  319. package/dist/src/components/Repository/RepositoryDetails/RepositorySource.js +43 -11
  320. package/dist/src/components/Repository/RepositoryDetails/RepositorySource.js.map +1 -1
  321. package/dist/src/components/Repository/RepositoryDetails/RepositorySourceList.d.ts +7 -0
  322. package/dist/src/components/Repository/RepositoryDetails/RepositorySourceList.d.ts.map +1 -0
  323. package/dist/src/components/Repository/RepositoryDetails/RepositorySourceList.js +30 -33
  324. package/dist/src/components/Repository/RepositoryDetails/RepositorySourceList.js.map +1 -1
  325. package/dist/src/components/Repository/RepositoryList.d.ts +5 -0
  326. package/dist/src/components/Repository/RepositoryList.d.ts.map +1 -0
  327. package/dist/src/components/Repository/RepositoryList.js +4 -4
  328. package/dist/src/components/Repository/RepositoryList.js.map +1 -1
  329. package/dist/src/components/ResourceSync/RepositoryResourceSyncList.css +7 -0
  330. package/dist/src/components/ResourceSync/RepositoryResourceSyncList.d.ts +7 -0
  331. package/dist/src/components/ResourceSync/RepositoryResourceSyncList.d.ts.map +1 -0
  332. package/dist/src/components/ResourceSync/RepositoryResourceSyncList.js +73 -26
  333. package/dist/src/components/ResourceSync/RepositoryResourceSyncList.js.map +1 -1
  334. package/dist/src/components/ResourceSync/ResourceSyncStatus.d.ts +9 -0
  335. package/dist/src/components/ResourceSync/ResourceSyncStatus.d.ts.map +1 -0
  336. package/dist/src/components/ResourceSync/ResourceSyncStatus.js +9 -18
  337. package/dist/src/components/ResourceSync/ResourceSyncStatus.js.map +1 -1
  338. package/dist/src/components/ResourceSync/ResourceSyncToRepository.d.ts +4 -0
  339. package/dist/src/components/ResourceSync/ResourceSyncToRepository.d.ts.map +1 -0
  340. package/dist/src/components/Status/ApplicationStatus.d.ts +13 -0
  341. package/dist/src/components/Status/ApplicationStatus.d.ts.map +1 -0
  342. package/dist/src/components/Status/ApplicationSummaryStatus.d.ts +13 -0
  343. package/dist/src/components/Status/ApplicationSummaryStatus.d.ts.map +1 -0
  344. package/dist/src/components/Status/ApplicationSummaryStatus.js.map +1 -1
  345. package/dist/src/components/Status/DeviceResourceStatus.d.ts +9 -0
  346. package/dist/src/components/Status/DeviceResourceStatus.d.ts.map +1 -0
  347. package/dist/src/components/Status/DeviceStatus.d.ts +7 -0
  348. package/dist/src/components/Status/DeviceStatus.d.ts.map +1 -0
  349. package/dist/src/components/Status/EnrollmentRequestStatus.d.ts +7 -0
  350. package/dist/src/components/Status/EnrollmentRequestStatus.d.ts.map +1 -0
  351. package/dist/src/components/Status/IntegrityStatus.d.ts +7 -0
  352. package/dist/src/components/Status/IntegrityStatus.d.ts.map +1 -0
  353. package/dist/src/components/Status/RepositoryStatus.d.ts +10 -0
  354. package/dist/src/components/Status/RepositoryStatus.d.ts.map +1 -0
  355. package/dist/src/components/Status/StatusDisplay.css +3 -0
  356. package/dist/src/components/Status/StatusDisplay.d.ts +23 -0
  357. package/dist/src/components/Status/StatusDisplay.d.ts.map +1 -0
  358. package/dist/src/components/Status/SystemUpdateStatus.d.ts +7 -0
  359. package/dist/src/components/Status/SystemUpdateStatus.d.ts.map +1 -0
  360. package/dist/src/components/Status/SystemdStatus.d.ts +6 -0
  361. package/dist/src/components/Status/SystemdStatus.d.ts.map +1 -0
  362. package/dist/src/components/Status/utils.d.ts +5 -0
  363. package/dist/src/components/Status/utils.d.ts.map +1 -0
  364. package/dist/src/components/Table/Table.d.ts +35 -0
  365. package/dist/src/components/Table/Table.d.ts.map +1 -0
  366. package/dist/src/components/Table/Table.js +3 -3
  367. package/dist/src/components/Table/Table.js.map +1 -1
  368. package/dist/src/components/Table/TableActions.d.ts +7 -0
  369. package/dist/src/components/Table/TableActions.d.ts.map +1 -0
  370. package/dist/src/components/Table/TableActions.js +3 -3
  371. package/dist/src/components/Table/TableActions.js.map +1 -1
  372. package/dist/src/components/Table/TableTextSearch.d.ts +9 -0
  373. package/dist/src/components/Table/TableTextSearch.d.ts.map +1 -0
  374. package/dist/src/components/Table/TableTextSearch.js +2 -4
  375. package/dist/src/components/Table/TableTextSearch.js.map +1 -1
  376. package/dist/src/components/Terminal/Terminal.d.ts +15 -0
  377. package/dist/src/components/Terminal/Terminal.d.ts.map +1 -0
  378. package/dist/src/components/UserPreferences/UserPreferencesModal.d.ts +7 -0
  379. package/dist/src/components/UserPreferences/UserPreferencesModal.d.ts.map +1 -0
  380. package/dist/src/components/UserPreferences/UserPreferencesProvider.d.ts +11 -0
  381. package/dist/src/components/UserPreferences/UserPreferencesProvider.d.ts.map +1 -0
  382. package/dist/src/components/charts/DonutChart.css +5 -0
  383. package/dist/src/components/charts/DonutChart.d.ts +17 -0
  384. package/dist/src/components/charts/DonutChart.d.ts.map +1 -0
  385. package/dist/src/components/charts/DonutChart.js +1 -1
  386. package/dist/src/components/charts/DonutChart.js.map +1 -1
  387. package/dist/src/components/charts/utils.d.ts +15 -0
  388. package/dist/src/components/charts/utils.d.ts.map +1 -0
  389. package/dist/src/components/charts/utils.js +30 -0
  390. package/dist/src/components/charts/utils.js.map +1 -0
  391. package/dist/src/components/common/CopyButton.d.ts +10 -0
  392. package/dist/src/components/common/CopyButton.d.ts.map +1 -0
  393. package/dist/src/components/common/CopyButton.js +3 -3
  394. package/dist/src/components/common/CopyButton.js.map +1 -1
  395. package/dist/src/components/common/EditableLabelControl.d.ts +10 -0
  396. package/dist/src/components/common/EditableLabelControl.d.ts.map +1 -0
  397. package/dist/src/components/common/ErrorBoundary.d.ts +9 -0
  398. package/dist/src/components/common/ErrorBoundary.d.ts.map +1 -0
  399. package/dist/src/components/common/FlightCtlDescriptionList.d.ts +5 -0
  400. package/dist/src/components/common/FlightCtlDescriptionList.d.ts.map +1 -0
  401. package/dist/src/components/common/FlightCtlDescriptionList.js +13 -0
  402. package/dist/src/components/common/FlightCtlDescriptionList.js.map +1 -0
  403. package/dist/src/components/common/HelperTextItems.d.ts +3 -0
  404. package/dist/src/components/common/HelperTextItems.d.ts.map +1 -0
  405. package/dist/src/components/common/HelperTextItems.js +1 -9
  406. package/dist/src/components/common/HelperTextItems.js.map +1 -1
  407. package/dist/src/components/common/LabelsView.d.ts +10 -0
  408. package/dist/src/components/common/LabelsView.d.ts.map +1 -0
  409. package/dist/src/components/common/LeaveFormConfirmation.d.ts +4 -0
  410. package/dist/src/components/common/LeaveFormConfirmation.d.ts.map +1 -0
  411. package/dist/src/components/common/LeaveFormConfirmation.js +4 -1
  412. package/dist/src/components/common/LeaveFormConfirmation.js.map +1 -1
  413. package/dist/src/components/common/ResourceLink.d.ts +13 -0
  414. package/dist/src/components/common/ResourceLink.d.ts.map +1 -0
  415. package/dist/src/components/common/ResourceListEmptyState.d.ts +8 -0
  416. package/dist/src/components/common/ResourceListEmptyState.d.ts.map +1 -0
  417. package/dist/src/components/common/WithHelperText.d.ts +11 -0
  418. package/dist/src/components/common/WithHelperText.d.ts.map +1 -0
  419. package/dist/src/components/common/WithTooltip.d.ts +10 -0
  420. package/dist/src/components/common/WithTooltip.d.ts.map +1 -0
  421. package/dist/src/components/form/CheckboxField.d.ts +10 -0
  422. package/dist/src/components/form/CheckboxField.d.ts.map +1 -0
  423. package/dist/src/components/{Device/EditDeviceWizard/steps/ConfigTemplateForm.css → form/ExpandableFormSection.css} +2 -2
  424. package/dist/src/components/form/ExpandableFormSection.d.ts +11 -0
  425. package/dist/src/components/form/ExpandableFormSection.d.ts.map +1 -0
  426. package/dist/src/components/form/ExpandableFormSection.js +30 -0
  427. package/dist/src/components/form/ExpandableFormSection.js.map +1 -0
  428. package/dist/src/components/form/FieldHelperText.d.ts +14 -0
  429. package/dist/src/components/form/FieldHelperText.d.ts.map +1 -0
  430. package/dist/src/components/form/FilterSelect.css +11 -1
  431. package/dist/src/components/form/FilterSelect.d.ts +16 -0
  432. package/dist/src/components/form/FilterSelect.d.ts.map +1 -0
  433. package/dist/src/components/form/FilterSelect.js +14 -9
  434. package/dist/src/components/form/FilterSelect.js.map +1 -1
  435. package/dist/src/components/form/FlightCtlActionGroup.d.ts +5 -0
  436. package/dist/src/components/form/FlightCtlActionGroup.d.ts.map +1 -0
  437. package/dist/src/components/form/FlightCtlForm.d.ts +6 -0
  438. package/dist/src/components/form/FlightCtlForm.d.ts.map +1 -0
  439. package/dist/src/components/form/FormSelect.css +8 -0
  440. package/dist/src/components/form/FormSelect.d.ts +16 -0
  441. package/dist/src/components/form/FormSelect.d.ts.map +1 -0
  442. package/dist/src/components/form/FormSelectTypeahead.d.ts +19 -0
  443. package/dist/src/components/form/FormSelectTypeahead.d.ts.map +1 -0
  444. package/dist/src/components/form/FormSelectTypeahead.js +116 -0
  445. package/dist/src/components/form/FormSelectTypeahead.js.map +1 -0
  446. package/dist/src/components/form/LabelsField.d.ts +12 -0
  447. package/dist/src/components/form/LabelsField.d.ts.map +1 -0
  448. package/dist/src/components/form/NameField.d.ts +10 -0
  449. package/dist/src/components/form/NameField.d.ts.map +1 -0
  450. package/dist/src/components/form/RadioField.d.ts +12 -0
  451. package/dist/src/components/form/RadioField.d.ts.map +1 -0
  452. package/dist/src/components/form/RichValidationTextField.d.ts +13 -0
  453. package/dist/src/components/form/RichValidationTextField.d.ts.map +1 -0
  454. package/dist/src/components/form/SwitchField.d.ts +9 -0
  455. package/dist/src/components/form/SwitchField.d.ts.map +1 -0
  456. package/dist/src/components/form/SwitchField.js +24 -0
  457. package/dist/src/components/form/SwitchField.js.map +1 -0
  458. package/dist/src/components/form/TextAreaField.d.ts +11 -0
  459. package/dist/src/components/form/TextAreaField.d.ts.map +1 -0
  460. package/dist/src/components/form/TextField.d.ts +10 -0
  461. package/dist/src/components/form/TextField.d.ts.map +1 -0
  462. package/dist/src/components/form/UploadField.d.ts +13 -0
  463. package/dist/src/components/form/UploadField.d.ts.map +1 -0
  464. package/dist/src/components/form/UploadField.js +74 -0
  465. package/dist/src/components/form/UploadField.js.map +1 -0
  466. package/dist/src/components/form/validations.d.ts +82 -0
  467. package/dist/src/components/form/validations.d.ts.map +1 -0
  468. package/dist/src/components/form/validations.js +54 -19
  469. package/dist/src/components/form/validations.js.map +1 -1
  470. package/dist/src/components/modals/ApproveDeviceModal/ApproveDeviceForm.d.ts +16 -0
  471. package/dist/src/components/modals/ApproveDeviceModal/ApproveDeviceForm.d.ts.map +1 -0
  472. package/dist/src/components/modals/ApproveDeviceModal/ApproveDeviceModal.d.ts +6 -0
  473. package/dist/src/components/modals/ApproveDeviceModal/ApproveDeviceModal.d.ts.map +1 -0
  474. package/dist/src/components/modals/ApproveDeviceModal/ApproveDeviceModal.js +1 -1
  475. package/dist/src/components/modals/ApproveDeviceModal/ApproveDeviceModal.js.map +1 -1
  476. package/dist/src/components/modals/ApproveDeviceModal/DeviceLabelMatch.d.ts +8 -0
  477. package/dist/src/components/modals/ApproveDeviceModal/DeviceLabelMatch.d.ts.map +1 -0
  478. package/dist/src/components/modals/CreateRepositoryModal/CreateRepositoryModal.d.ts +11 -0
  479. package/dist/src/components/modals/CreateRepositoryModal/CreateRepositoryModal.d.ts.map +1 -0
  480. package/dist/src/components/modals/DeleteModal/DeleteModal.d.ts +10 -0
  481. package/dist/src/components/modals/DeleteModal/DeleteModal.d.ts.map +1 -0
  482. package/dist/src/components/modals/EditLabelsModal/EditLabelsForm.d.ts +9 -0
  483. package/dist/src/components/modals/EditLabelsModal/EditLabelsForm.d.ts.map +1 -0
  484. package/dist/src/components/modals/EditLabelsModal/EditLabelsForm.js +1 -2
  485. package/dist/src/components/modals/EditLabelsModal/EditLabelsForm.js.map +1 -1
  486. package/dist/src/components/modals/massModals/MassApproveDeviceModal/MassApproveDeviceModal.d.ts +11 -0
  487. package/dist/src/components/modals/massModals/MassApproveDeviceModal/MassApproveDeviceModal.d.ts.map +1 -0
  488. package/dist/src/components/modals/massModals/MassApproveDeviceModal/MassApproveDeviceModal.js +3 -41
  489. package/dist/src/components/modals/massModals/MassApproveDeviceModal/MassApproveDeviceModal.js.map +1 -1
  490. package/dist/src/components/modals/massModals/MassDeleteDeviceModal/MassDeleteDeviceModal.d.ts +10 -0
  491. package/dist/src/components/modals/massModals/MassDeleteDeviceModal/MassDeleteDeviceModal.d.ts.map +1 -0
  492. package/dist/src/components/modals/massModals/MassDeleteDeviceModal/MassDeleteDeviceModal.js +4 -4
  493. package/dist/src/components/modals/massModals/MassDeleteDeviceModal/MassDeleteDeviceModal.js.map +1 -1
  494. package/dist/src/components/modals/massModals/MassDeleteFleetModal/MassDeleteFleetModal.d.ts +10 -0
  495. package/dist/src/components/modals/massModals/MassDeleteFleetModal/MassDeleteFleetModal.d.ts.map +1 -0
  496. package/dist/src/components/modals/massModals/MassDeleteFleetModal/MassDeleteFleetModal.js +22 -21
  497. package/dist/src/components/modals/massModals/MassDeleteFleetModal/MassDeleteFleetModal.js.map +1 -1
  498. package/dist/src/components/modals/massModals/MassDeleteRepositoryModal/MassDeleteRepositoryModal.d.ts +10 -0
  499. package/dist/src/components/modals/massModals/MassDeleteRepositoryModal/MassDeleteRepositoryModal.d.ts.map +1 -0
  500. package/dist/src/components/modals/massModals/MassDeleteRepositoryModal/MassDeleteRepositoryModal.js +2 -2
  501. package/dist/src/components/modals/massModals/MassDeleteRepositoryModal/MassDeleteRepositoryModal.js.map +1 -1
  502. package/dist/src/components/modals/massModals/MassDeleteResourceSyncModal/MassDeleteResourceSyncModal.d.ts +10 -0
  503. package/dist/src/components/modals/massModals/MassDeleteResourceSyncModal/MassDeleteResourceSyncModal.d.ts.map +1 -0
  504. package/dist/src/constants.d.ts +4 -0
  505. package/dist/src/constants.d.ts.map +1 -0
  506. package/dist/src/hooks/useApiTableSort.d.ts +8 -0
  507. package/dist/src/hooks/useApiTableSort.d.ts.map +1 -0
  508. package/dist/src/hooks/useApiTableSort.js +44 -0
  509. package/dist/src/hooks/useApiTableSort.js.map +1 -0
  510. package/dist/src/hooks/useAppContext.d.ts +70 -0
  511. package/dist/src/hooks/useAppContext.d.ts.map +1 -0
  512. package/dist/src/hooks/useDeviceLabelMatch.d.ts +9 -0
  513. package/dist/src/hooks/useDeviceLabelMatch.d.ts.map +1 -0
  514. package/dist/src/hooks/useDocumentTitle.d.ts +2 -0
  515. package/dist/src/hooks/useDocumentTitle.d.ts.map +1 -0
  516. package/dist/src/hooks/useFetch.d.ts +12 -0
  517. package/dist/src/hooks/useFetch.d.ts.map +1 -0
  518. package/dist/src/hooks/useFetchPeriodically.d.ts +3 -0
  519. package/dist/src/hooks/useFetchPeriodically.d.ts.map +1 -0
  520. package/dist/src/hooks/useNavigate.d.ts +38 -0
  521. package/dist/src/hooks/useNavigate.d.ts.map +1 -0
  522. package/dist/src/hooks/useNavigate.js +3 -3
  523. package/dist/src/hooks/useNavigate.js.map +1 -1
  524. package/dist/src/hooks/usePendingEnrollmentRequestsCount.d.ts +2 -0
  525. package/dist/src/hooks/usePendingEnrollmentRequestsCount.d.ts.map +1 -0
  526. package/dist/src/hooks/usePendingEnrollmentRequestsCount.js +13 -0
  527. package/dist/src/hooks/usePendingEnrollmentRequestsCount.js.map +1 -0
  528. package/dist/src/hooks/useTableSelect.d.ts +13 -0
  529. package/dist/src/hooks/useTableSelect.d.ts.map +1 -0
  530. package/dist/src/hooks/useTableSort.d.ts +7 -0
  531. package/dist/src/hooks/useTableSort.d.ts.map +1 -0
  532. package/dist/src/hooks/useTableTextSearch.d.ts +6 -0
  533. package/dist/src/hooks/useTableTextSearch.d.ts.map +1 -0
  534. package/dist/src/hooks/useTemplateVersion.d.ts +3 -0
  535. package/dist/src/hooks/useTemplateVersion.d.ts.map +1 -0
  536. package/dist/src/hooks/useThemePreferences.d.ts +8 -0
  537. package/dist/src/hooks/useThemePreferences.d.ts.map +1 -0
  538. package/dist/src/hooks/useTranslation.d.ts +2 -0
  539. package/dist/src/hooks/useTranslation.d.ts.map +1 -0
  540. package/dist/src/hooks/useUserPreferences.d.ts +2 -0
  541. package/dist/src/hooks/useUserPreferences.d.ts.map +1 -0
  542. package/dist/src/hooks/useWebSocket.d.ts +8 -0
  543. package/dist/src/hooks/useWebSocket.d.ts.map +1 -0
  544. package/dist/src/setupTests.d.ts +2 -0
  545. package/dist/src/setupTests.d.ts.map +1 -0
  546. package/dist/src/tests/test-utils.d.ts +7 -0
  547. package/dist/src/tests/test-utils.d.ts.map +1 -0
  548. package/dist/src/types/deviceSpec.d.ts +57 -0
  549. package/dist/src/types/deviceSpec.d.ts.map +1 -0
  550. package/dist/src/types/deviceSpec.js +41 -9
  551. package/dist/src/types/deviceSpec.js.map +1 -1
  552. package/dist/src/types/extraTypes.d.ts +36 -0
  553. package/dist/src/types/extraTypes.d.ts.map +1 -0
  554. package/dist/src/types/extraTypes.js +1 -3
  555. package/dist/src/types/extraTypes.js.map +1 -1
  556. package/dist/src/types/typeUtils.d.ts +3 -0
  557. package/dist/src/types/typeUtils.d.ts.map +1 -0
  558. package/dist/src/utils/api.d.ts +24 -0
  559. package/dist/src/utils/api.d.ts.map +1 -0
  560. package/dist/src/utils/dates.d.ts +5 -0
  561. package/dist/src/utils/dates.d.ts.map +1 -0
  562. package/dist/src/utils/devices.d.ts +4 -0
  563. package/dist/src/utils/devices.d.ts.map +1 -0
  564. package/dist/src/utils/devices.js +1 -27
  565. package/dist/src/utils/devices.js.map +1 -1
  566. package/dist/src/utils/error.d.ts +4 -0
  567. package/dist/src/utils/error.d.ts.map +1 -0
  568. package/dist/src/utils/labels.d.ts +11 -0
  569. package/dist/src/utils/labels.d.ts.map +1 -0
  570. package/dist/src/utils/labels.js +4 -14
  571. package/dist/src/utils/labels.js.map +1 -1
  572. package/dist/src/utils/metrics.d.ts +9 -0
  573. package/dist/src/utils/metrics.d.ts.map +1 -0
  574. package/dist/src/utils/patch.d.ts +15 -0
  575. package/dist/src/utils/patch.d.ts.map +1 -0
  576. package/dist/src/utils/patch.js +71 -1
  577. package/dist/src/utils/patch.js.map +1 -1
  578. package/dist/src/utils/query.d.ts +6 -0
  579. package/dist/src/utils/query.d.ts.map +1 -0
  580. package/dist/src/utils/query.js +32 -0
  581. package/dist/src/utils/query.js.map +1 -0
  582. package/dist/src/utils/resource.d.ts +6 -0
  583. package/dist/src/utils/resource.d.ts.map +1 -0
  584. package/dist/src/utils/search.d.ts +3 -0
  585. package/dist/src/utils/search.d.ts.map +1 -0
  586. package/dist/src/utils/search.js +15 -1
  587. package/dist/src/utils/search.js.map +1 -1
  588. package/dist/src/utils/sort/generic.d.ts +5 -0
  589. package/dist/src/utils/sort/generic.d.ts.map +1 -0
  590. package/dist/src/utils/sort/generic.js +1 -25
  591. package/dist/src/utils/sort/generic.js.map +1 -1
  592. package/dist/src/utils/sort/repository.d.ts +6 -0
  593. package/dist/src/utils/sort/repository.d.ts.map +1 -0
  594. package/dist/src/utils/sort/repository.js +2 -2
  595. package/dist/src/utils/sort/repository.js.map +1 -1
  596. package/dist/src/utils/sort/resourceSync.d.ts +6 -0
  597. package/dist/src/utils/sort/resourceSync.d.ts.map +1 -0
  598. package/dist/src/utils/status/applications.d.ts +7 -0
  599. package/dist/src/utils/status/applications.d.ts.map +1 -0
  600. package/dist/src/utils/status/applications.js +19 -21
  601. package/dist/src/utils/status/applications.js.map +1 -1
  602. package/dist/src/utils/status/common.d.ts +12 -0
  603. package/dist/src/utils/status/common.d.ts.map +1 -0
  604. package/dist/src/utils/status/devices.d.ts +18 -0
  605. package/dist/src/utils/status/devices.d.ts.map +1 -0
  606. package/dist/src/utils/status/devices.js +10 -19
  607. package/dist/src/utils/status/devices.js.map +1 -1
  608. package/dist/src/utils/status/enrollmentRequest.d.ts +12 -0
  609. package/dist/src/utils/status/enrollmentRequest.d.ts.map +1 -0
  610. package/dist/src/utils/status/fleet.d.ts +15 -0
  611. package/dist/src/utils/status/fleet.d.ts.map +1 -0
  612. package/dist/src/utils/status/integrity.d.ts +5 -0
  613. package/dist/src/utils/status/integrity.d.ts.map +1 -0
  614. package/dist/src/utils/status/repository.d.ts +24 -0
  615. package/dist/src/utils/status/repository.d.ts.map +1 -0
  616. package/dist/src/utils/status/repository.js +9 -5
  617. package/dist/src/utils/status/repository.js.map +1 -1
  618. package/dist/src/utils/status/system.d.ts +6 -0
  619. package/dist/src/utils/status/system.d.ts.map +1 -0
  620. package/dist/src/utils/status/system.js +5 -5
  621. package/dist/src/utils/status/system.js.map +1 -1
  622. package/package.json +14 -6
  623. package/src/components/DetailsPage/DetailsNotFound.tsx +114 -0
  624. package/src/components/DetailsPage/DetailsPage.css +3 -0
  625. package/src/components/DetailsPage/DetailsPage.spec.tsx +128 -0
  626. package/src/components/DetailsPage/DetailsPage.tsx +99 -0
  627. package/src/components/DetailsPage/DetailsPageActions.tsx +73 -0
  628. package/src/components/DetailsPage/DetailsPageCard.css +8 -0
  629. package/src/components/DetailsPage/DetailsPageCard.tsx +12 -0
  630. package/src/components/DetailsPage/Tables/ApplicationsTable.tsx +44 -0
  631. package/src/components/DetailsPage/Tables/ConditionsTable.tsx +40 -0
  632. package/src/components/DetailsPage/Tables/IntegrityDetails.tsx +44 -0
  633. package/src/components/DetailsPage/Tables/SystemdDetailsTable.tsx +63 -0
  634. package/src/components/Device/AddDeviceModal/AddDeviceModal.tsx +146 -0
  635. package/src/components/Device/DeviceDetails/DeviceDetailsPage.tsx +117 -0
  636. package/src/components/Device/DeviceDetails/DeviceDetailsTab.css +4 -0
  637. package/src/components/Device/DeviceDetails/DeviceDetailsTab.tsx +216 -0
  638. package/src/components/Device/DeviceDetails/DeviceFleet.css +3 -0
  639. package/src/components/Device/DeviceDetails/DeviceFleet.tsx +76 -0
  640. package/src/components/Device/DeviceDetails/DeviceOs.tsx +43 -0
  641. package/src/components/Device/DeviceDetails/DeviceStatusDebugModal.css +3 -0
  642. package/src/components/Device/DeviceDetails/DeviceStatusDebugModal.tsx +60 -0
  643. package/src/components/Device/DeviceDetails/SystemdTable.tsx +65 -0
  644. package/src/components/Device/DeviceDetails/TerminalTab.tsx +53 -0
  645. package/src/components/Device/DevicesPage/DeviceFilterSelect.tsx +111 -0
  646. package/src/components/Device/DevicesPage/DeviceTableRow.tsx +95 -0
  647. package/src/components/Device/DevicesPage/DeviceTableToolbar.tsx +195 -0
  648. package/src/components/Device/DevicesPage/DeviceToolbarFilters.css +16 -0
  649. package/src/components/Device/DevicesPage/DeviceToolbarFilters.tsx +332 -0
  650. package/src/components/Device/DevicesPage/DevicesPage.tsx +279 -0
  651. package/src/components/Device/DevicesPage/EnrollmentRequestList.tsx +158 -0
  652. package/src/components/Device/DevicesPage/EnrollmentRequestTableToolbar.tsx +35 -0
  653. package/src/components/Device/DevicesPage/types.ts +22 -0
  654. package/src/components/Device/DevicesPage/useDeviceBackendFilters.ts +130 -0
  655. package/src/components/Device/DevicesPage/useDevices.ts +123 -0
  656. package/src/components/Device/EditDeviceWizard/EditDeviceWizard.css +4 -0
  657. package/src/components/Device/EditDeviceWizard/EditDeviceWizard.tsx +150 -0
  658. package/src/components/Device/EditDeviceWizard/EditDeviceWizardFooter.tsx +52 -0
  659. package/src/components/Device/EditDeviceWizard/EditDeviceWizardNav.tsx +66 -0
  660. package/src/components/Device/EditDeviceWizard/deviceSpecUtils.ts +278 -0
  661. package/src/components/Device/EditDeviceWizard/steps/ApplicationsForm.css +4 -0
  662. package/src/components/Device/EditDeviceWizard/steps/ApplicationsForm.tsx +140 -0
  663. package/src/components/Device/EditDeviceWizard/steps/ConfigInlineTemplateForm.tsx +161 -0
  664. package/src/components/Device/EditDeviceWizard/steps/ConfigK8sSecretTemplateForm.tsx +50 -0
  665. package/src/components/Device/EditDeviceWizard/steps/ConfigTemplateForm.tsx +174 -0
  666. package/src/components/Device/EditDeviceWizard/steps/ConfigWithRepositoryTemplateForm.tsx +229 -0
  667. package/src/components/Device/EditDeviceWizard/steps/DeviceTemplateStep.tsx +75 -0
  668. package/src/components/Device/EditDeviceWizard/steps/GeneralInfoStep.tsx +61 -0
  669. package/src/components/Device/EditDeviceWizard/steps/ReviewApplications.tsx +35 -0
  670. package/src/components/Device/EditDeviceWizard/steps/ReviewDeviceStep.tsx +83 -0
  671. package/src/components/Device/EditDeviceWizard/types.ts +19 -0
  672. package/src/components/Device/EditDeviceWizard/useEditDevice.ts +36 -0
  673. package/src/components/Device/EditDeviceWizard/utils.ts +79 -0
  674. package/src/components/Device/MatchPatternsModal/MatchPatternsForm.tsx +92 -0
  675. package/src/components/Device/MatchPatternsModal/MatchPatternsModal.tsx +62 -0
  676. package/src/components/EnrollmentRequest/EnrollmentRequestDetails/EnrollmentRequestDetails.css +3 -0
  677. package/src/components/EnrollmentRequest/EnrollmentRequestDetails/EnrollmentRequestDetails.tsx +226 -0
  678. package/src/components/EnrollmentRequest/EnrollmentRequestTableRow.tsx +69 -0
  679. package/src/components/EnrollmentRequest/PendingEnrollmentRequestsBadge.css +10 -0
  680. package/src/components/EnrollmentRequest/PendingEnrollmentRequestsBadge.tsx +27 -0
  681. package/src/components/ErrorAlert/ErrorAlert.tsx +15 -0
  682. package/src/components/Fleet/CreateFleet/CreateFleetWizard.css +3 -0
  683. package/src/components/Fleet/CreateFleet/CreateFleetWizard.tsx +152 -0
  684. package/src/components/Fleet/CreateFleet/CreateFleetWizardFooter.tsx +56 -0
  685. package/src/components/Fleet/CreateFleet/steps/DeviceLabelSelector.tsx +114 -0
  686. package/src/components/Fleet/CreateFleet/steps/GeneralInfoStep.tsx +55 -0
  687. package/src/components/Fleet/CreateFleet/steps/ReviewStep.tsx +83 -0
  688. package/src/components/Fleet/CreateFleet/types.ts +8 -0
  689. package/src/components/Fleet/CreateFleet/useEditFleet.ts +35 -0
  690. package/src/components/Fleet/CreateFleet/utils.ts +160 -0
  691. package/src/components/Fleet/DeleteFleetModal/DeleteFleetModal.tsx +89 -0
  692. package/src/components/Fleet/FleetDetails/FleetDetails.tsx +97 -0
  693. package/src/components/Fleet/FleetDetails/FleetDetailsContent.tsx +97 -0
  694. package/src/components/Fleet/FleetDetails/FleetDevices.tsx +109 -0
  695. package/src/components/Fleet/FleetDetails/FleetDevicesLink.tsx +16 -0
  696. package/src/components/Fleet/FleetDetails/FleetOwnerLink.tsx +51 -0
  697. package/src/components/Fleet/FleetResourceSyncs.tsx +161 -0
  698. package/src/components/Fleet/FleetRow.tsx +86 -0
  699. package/src/components/Fleet/FleetStatus.tsx +37 -0
  700. package/src/components/Fleet/FleetsPage.tsx +215 -0
  701. package/src/components/Fleet/ImportFleetWizard/ImportFleetWizard.css +3 -0
  702. package/src/components/Fleet/ImportFleetWizard/ImportFleetWizard.tsx +216 -0
  703. package/src/components/Fleet/ImportFleetWizard/steps/RepositoryStep.tsx +115 -0
  704. package/src/components/Fleet/ImportFleetWizard/steps/ResourceSyncStep.tsx +42 -0
  705. package/src/components/Fleet/ImportFleetWizard/steps/ReviewStep.tsx +70 -0
  706. package/src/components/Fleet/ImportFleetWizard/types.ts +6 -0
  707. package/src/components/Fleet/useFleets.ts +86 -0
  708. package/src/components/ListPage/ListPage.tsx +22 -0
  709. package/src/components/ListPage/ListPageActions.tsx +68 -0
  710. package/src/components/ListPage/ListPageBody.tsx +34 -0
  711. package/src/components/ListPage/types.ts +13 -0
  712. package/src/components/NavItem/NavItem.tsx +42 -0
  713. package/src/components/OverviewPage/Cards/Status/ApplicationStatusChart.tsx +39 -0
  714. package/src/components/OverviewPage/Cards/Status/DeviceStatusChart.tsx +38 -0
  715. package/src/components/OverviewPage/Cards/Status/StatusCard.tsx +116 -0
  716. package/src/components/OverviewPage/Cards/Status/StatusCardFilters.tsx +111 -0
  717. package/src/components/OverviewPage/Cards/Status/SystemUpdateStatusChart.tsx +39 -0
  718. package/src/components/OverviewPage/Cards/Status/utils.ts +19 -0
  719. package/src/components/OverviewPage/Cards/ToDo/ToDoCard.tsx +68 -0
  720. package/src/components/OverviewPage/Overview.tsx +19 -0
  721. package/src/components/OverviewPage/OverviewPage.tsx +22 -0
  722. package/src/components/Repository/CreateRepository/CreateRepository.tsx +144 -0
  723. package/src/components/Repository/CreateRepository/CreateRepositoryForm.css +7 -0
  724. package/src/components/Repository/CreateRepository/CreateRepositoryForm.tsx +440 -0
  725. package/src/components/Repository/CreateRepository/CreateResourceSyncsForm.tsx +98 -0
  726. package/src/components/Repository/CreateRepository/types.ts +43 -0
  727. package/src/components/Repository/CreateRepository/utils.ts +539 -0
  728. package/src/components/Repository/RepositoryDetails/DeleteRepositoryModal.tsx +156 -0
  729. package/src/components/Repository/RepositoryDetails/RepositoryDetails.tsx +78 -0
  730. package/src/components/Repository/RepositoryDetails/RepositoryGeneralDetailsCard.tsx +102 -0
  731. package/src/components/Repository/RepositoryDetails/RepositoryResourceSyncsCard.tsx +28 -0
  732. package/src/components/Repository/RepositoryDetails/RepositorySource.tsx +96 -0
  733. package/src/components/Repository/RepositoryDetails/RepositorySourceList.tsx +79 -0
  734. package/src/components/Repository/RepositoryList.tsx +217 -0
  735. package/src/components/ResourceSync/RepositoryResourceSyncList.css +14 -0
  736. package/src/components/ResourceSync/RepositoryResourceSyncList.tsx +323 -0
  737. package/src/components/ResourceSync/ResourceSyncStatus.tsx +77 -0
  738. package/src/components/ResourceSync/ResourceSyncToRepository.tsx +73 -0
  739. package/src/components/Status/ApplicationStatus.tsx +25 -0
  740. package/src/components/Status/ApplicationSummaryStatus.tsx +24 -0
  741. package/src/components/Status/DeviceResourceStatus.tsx +112 -0
  742. package/src/components/Status/DeviceStatus.tsx +20 -0
  743. package/src/components/Status/EnrollmentRequestStatus.tsx +24 -0
  744. package/src/components/Status/IntegrityStatus.tsx +19 -0
  745. package/src/components/Status/RepositoryStatus.tsx +50 -0
  746. package/src/components/Status/StatusDisplay.css +12 -0
  747. package/src/components/Status/StatusDisplay.tsx +83 -0
  748. package/src/components/Status/SystemUpdateStatus.tsx +34 -0
  749. package/src/components/Status/SystemdStatus.tsx +22 -0
  750. package/src/components/Status/utils.ts +8 -0
  751. package/src/components/Table/Table.tsx +92 -0
  752. package/src/components/Table/TableActions.tsx +33 -0
  753. package/src/components/Table/TableTextSearch.tsx +23 -0
  754. package/src/components/Terminal/Terminal.css +1 -0
  755. package/src/components/Terminal/Terminal.tsx +100 -0
  756. package/src/components/UserPreferences/UserPreferencesModal.tsx +85 -0
  757. package/src/components/UserPreferences/UserPreferencesProvider.tsx +29 -0
  758. package/src/components/charts/DonutChart.css +15 -0
  759. package/src/components/charts/DonutChart.tsx +115 -0
  760. package/src/components/charts/utils.ts +38 -0
  761. package/src/components/common/CopyButton.tsx +36 -0
  762. package/src/components/common/EditableLabelControl.tsx +69 -0
  763. package/src/components/common/ErrorBoundary.tsx +53 -0
  764. package/src/components/common/FlightCtlDescriptionList.tsx +13 -0
  765. package/src/components/common/HelperTextItems.tsx +25 -0
  766. package/src/components/common/LabelsView.css +9 -0
  767. package/src/components/common/LabelsView.tsx +38 -0
  768. package/src/components/common/LeaveFormConfirmation.tsx +96 -0
  769. package/src/components/common/ResourceLink.css +29 -0
  770. package/src/components/common/ResourceLink.tsx +42 -0
  771. package/src/components/common/ResourceListEmptyState.tsx +19 -0
  772. package/src/components/common/WithHelperText.css +3 -0
  773. package/src/components/common/WithHelperText.tsx +34 -0
  774. package/src/components/common/WithTooltip.tsx +14 -0
  775. package/src/components/form/CheckboxField.tsx +39 -0
  776. package/src/components/form/ExpandableFormSection.css +3 -0
  777. package/src/components/form/ExpandableFormSection.tsx +59 -0
  778. package/src/components/form/FieldHelperText.tsx +45 -0
  779. package/src/components/form/FilterSelect.css +18 -0
  780. package/src/components/form/FilterSelect.tsx +92 -0
  781. package/src/components/form/FlightCtlActionGroup.css +9 -0
  782. package/src/components/form/FlightCtlActionGroup.tsx +11 -0
  783. package/src/components/form/FlightCtlForm.tsx +18 -0
  784. package/src/components/form/FormSelect.css +16 -0
  785. package/src/components/form/FormSelect.tsx +96 -0
  786. package/src/components/form/FormSelectTypeahead.tsx +212 -0
  787. package/src/components/form/LabelsField.tsx +116 -0
  788. package/src/components/form/NameField.tsx +73 -0
  789. package/src/components/form/RadioField.tsx +57 -0
  790. package/src/components/form/RichValidationTextField.tsx +142 -0
  791. package/src/components/form/SwitchField.tsx +32 -0
  792. package/src/components/form/TextAreaField.tsx +46 -0
  793. package/src/components/form/TextField.tsx +49 -0
  794. package/src/components/form/UploadField.tsx +133 -0
  795. package/src/components/form/validations.ts +386 -0
  796. package/src/components/modals/ApproveDeviceModal/ApproveDeviceForm.tsx +74 -0
  797. package/src/components/modals/ApproveDeviceModal/ApproveDeviceModal.tsx +65 -0
  798. package/src/components/modals/ApproveDeviceModal/DeviceLabelMatch.css +24 -0
  799. package/src/components/modals/ApproveDeviceModal/DeviceLabelMatch.tsx +101 -0
  800. package/src/components/modals/CreateRepositoryModal/CreateRepositoryModal.tsx +25 -0
  801. package/src/components/modals/DeleteModal/DeleteModal.tsx +68 -0
  802. package/src/components/modals/EditLabelsModal/EditLabelsForm.tsx +101 -0
  803. package/src/components/modals/massModals/MassApproveDeviceModal/MassApproveDeviceModal.css +4 -0
  804. package/src/components/modals/massModals/MassApproveDeviceModal/MassApproveDeviceModal.tsx +192 -0
  805. package/src/components/modals/massModals/MassDeleteDeviceModal/MassDeleteDeviceModal.tsx +117 -0
  806. package/src/components/modals/massModals/MassDeleteFleetModal/MassDeleteFleetModal.tsx +193 -0
  807. package/src/components/modals/massModals/MassDeleteRepositoryModal/MassDeleteRepositoryModal.tsx +174 -0
  808. package/src/components/modals/massModals/MassDeleteResourceSyncModal/MassDeleteResourceSyncModal.tsx +116 -0
  809. package/src/constants.ts +4 -0
  810. package/src/hooks/useApiTableSort.ts +49 -0
  811. package/src/hooks/useAppContext.tsx +108 -0
  812. package/src/hooks/useDeviceLabelMatch.ts +101 -0
  813. package/src/hooks/useDocumentTitle.ts +12 -0
  814. package/src/hooks/useFetch.ts +10 -0
  815. package/src/hooks/useFetchPeriodically.ts +82 -0
  816. package/src/hooks/useNavigate.tsx +92 -0
  817. package/src/hooks/usePendingEnrollmentRequestsCount.ts +12 -0
  818. package/src/hooks/useTableSelect.ts +48 -0
  819. package/src/hooks/useTableSort.ts +42 -0
  820. package/src/hooks/useTableTextSearch.ts +23 -0
  821. package/src/hooks/useTemplateVersion.ts +23 -0
  822. package/src/hooks/useThemePreferences.ts +64 -0
  823. package/src/hooks/useTranslation.ts +8 -0
  824. package/src/hooks/useUserPreferences.ts +16 -0
  825. package/src/hooks/useWebSocket.ts +74 -0
  826. package/src/setupTests.ts +21 -0
  827. package/src/tests/test-utils.tsx +21 -0
  828. package/src/types/deviceSpec.ts +110 -0
  829. package/src/types/extraTypes.ts +52 -0
  830. package/src/types/typeUtils.ts +7 -0
  831. package/src/typings.d.ts +12 -0
  832. package/src/utils/api.ts +87 -0
  833. package/src/utils/dates.ts +60 -0
  834. package/src/utils/devices.ts +10 -0
  835. package/src/utils/error.ts +24 -0
  836. package/src/utils/labels.ts +40 -0
  837. package/src/utils/metrics.ts +49 -0
  838. package/src/utils/patch.ts +202 -0
  839. package/src/utils/query.ts +29 -0
  840. package/src/utils/resource.ts +4 -0
  841. package/src/utils/search.ts +25 -0
  842. package/src/utils/sort/generic.ts +8 -0
  843. package/src/utils/sort/repository.ts +28 -0
  844. package/src/utils/sort/resourceSync.ts +30 -0
  845. package/src/utils/status/applications.ts +58 -0
  846. package/src/utils/status/common.ts +71 -0
  847. package/src/utils/status/devices.ts +75 -0
  848. package/src/utils/status/enrollmentRequest.ts +49 -0
  849. package/src/utils/status/fleet.ts +47 -0
  850. package/src/utils/status/integrity.ts +26 -0
  851. package/src/utils/status/repository.ts +117 -0
  852. package/src/utils/status/system.ts +28 -0
  853. package/dist/src/components/Device/DeviceList/DeviceFilterSelect.js +0 -87
  854. package/dist/src/components/Device/DeviceList/DeviceFilterSelect.js.map +0 -1
  855. package/dist/src/components/Device/DeviceList/DeviceList.js +0 -157
  856. package/dist/src/components/Device/DeviceList/DeviceList.js.map +0 -1
  857. package/dist/src/components/Device/DeviceList/DeviceTableRow.js.map +0 -1
  858. package/dist/src/components/Device/DeviceList/DeviceTableToolbar.js.map +0 -1
  859. package/dist/src/components/Device/DeviceList/types.js.map +0 -1
  860. package/dist/src/components/Device/DeviceList/useDeviceBackendFilters.js.map +0 -1
  861. package/dist/src/components/Device/DeviceList/useDeviceFilters.js +0 -16
  862. package/dist/src/components/Device/DeviceList/useDeviceFilters.js.map +0 -1
  863. package/dist/src/components/Device/DeviceList/useDeviceLikeResources.js +0 -98
  864. package/dist/src/components/Device/DeviceList/useDeviceLikeResources.js.map +0 -1
  865. package/dist/src/components/Fleet/FleetDetails/chartUtils.js +0 -29
  866. package/dist/src/components/Fleet/FleetDetails/chartUtils.js.map +0 -1
  867. package/dist/src/components/Fleet/FleetList.js.map +0 -1
  868. package/dist/src/components/Fleet/ResourceSyncRow.js +0 -36
  869. package/dist/src/components/Fleet/ResourceSyncRow.js.map +0 -1
  870. package/dist/src/utils/sort/device.js +0 -89
  871. package/dist/src/utils/sort/device.js.map +0 -1
  872. package/dist/src/utils/sort/fleet.js +0 -20
  873. package/dist/src/utils/sort/fleet.js.map +0 -1
  874. /package/dist/src/components/Device/{DeviceList → DevicesPage}/types.js +0 -0
@@ -0,0 +1,35 @@
1
+ import * as React from 'react';
2
+ import { ThProps } from '@patternfly/react-table';
3
+ export type ApiSortTableColumn = {
4
+ name: string;
5
+ sortableField?: string;
6
+ defaultSort?: boolean;
7
+ helperText?: string;
8
+ thProps?: Omit<ThProps, 'sort'> & {
9
+ ref?: React.Ref<HTMLTableCellElement> | undefined;
10
+ };
11
+ };
12
+ export type TableColumn<D> = {
13
+ name: string;
14
+ onSort?: (data: D[]) => D[];
15
+ defaultSort?: boolean;
16
+ helperText?: string;
17
+ thProps?: Omit<ThProps, 'sort'> & {
18
+ ref?: React.Ref<HTMLTableCellElement> | undefined;
19
+ };
20
+ };
21
+ type TableProps<D> = {
22
+ columns: TableColumn<D>[];
23
+ children: React.ReactNode;
24
+ loading: boolean;
25
+ emptyFilters?: boolean;
26
+ emptyData?: boolean;
27
+ 'aria-label': string;
28
+ getSortParams: (columnIndex: number) => ThProps['sort'];
29
+ onSelectAll?: (isSelected: boolean) => void;
30
+ isAllSelected?: boolean;
31
+ };
32
+ type TableFC = <D>(props: TableProps<D>) => JSX.Element;
33
+ declare const Table: TableFC;
34
+ export default Table;
35
+ //# sourceMappingURL=Table.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAA4B,OAAO,EAAa,MAAM,yBAAyB,CAAC;AAIvF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,GAAG;QAChC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC;KACnD,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,GAAG;QAChC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC;KACnD,CAAC;CACH,CAAC;AAEF,KAAK,UAAU,CAAC,CAAC,IAAI;IACnB,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IACxD,WAAW,CAAC,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,KAAK,OAAO,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,OAAO,CAAC;AAExD,QAAA,MAAM,KAAK,EAAE,OAiDZ,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -7,10 +7,10 @@ const react_table_1 = require("@patternfly/react-table");
7
7
  const useTranslation_1 = require("../../hooks/useTranslation");
8
8
  const WithHelperText_1 = tslib_1.__importDefault(require("../common/WithHelperText"));
9
9
  const Table = (_a) => {
10
- var { columns, children, emptyFilters, emptyData, getSortParams, onSelectAll, isAllSelected } = _a, rest = tslib_1.__rest(_a, ["columns", "children", "emptyFilters", "emptyData", "getSortParams", "onSelectAll", "isAllSelected"]);
10
+ var { columns, children, loading, emptyFilters, emptyData, getSortParams, onSelectAll, isAllSelected } = _a, rest = tslib_1.__rest(_a, ["columns", "children", "loading", "emptyFilters", "emptyData", "getSortParams", "onSelectAll", "isAllSelected"]);
11
11
  const { t } = (0, useTranslation_1.useTranslation)();
12
- if (emptyFilters && !emptyData) {
13
- return (React.createElement(react_core_1.PageSection, { variant: "light" },
12
+ if (emptyData && !emptyFilters) {
13
+ return loading ? (React.createElement(react_core_1.Spinner, { size: "md" })) : (React.createElement(react_core_1.PageSection, { variant: "light" },
14
14
  React.createElement(react_core_1.Bullseye, null, t('No resources are matching the current filters.'))));
15
15
  }
16
16
  return (React.createElement(react_table_1.Table, Object.assign({}, rest),
@@ -1 +1 @@
1
- {"version":3,"file":"Table.js","sourceRoot":"","sources":["../../../../src/components/Table/Table.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,uDAA+D;AAC/D,yDAAuF;AACvF,+DAA4D;AAC5D,sFAAsD;AAyBtD,MAAM,KAAK,GAAY,CAAC,EASvB,EAAE,EAAE;QATmB,EACtB,OAAO,EACP,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,aAAa,EACb,WAAW,EACX,aAAa,OAEd,EADI,IAAI,sBARe,qGASvB,CADQ;IAEP,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,+BAAc,GAAE,CAAC;IAC/B,IAAI,YAAY,IAAI,CAAC,SAAS,EAAE,CAAC;QAC/B,OAAO,CACL,oBAAC,wBAAW,IAAC,OAAO,EAAC,OAAO;YAC1B,oBAAC,qBAAQ,QAAE,CAAC,CAAC,gDAAgD,CAAC,CAAY,CAC9D,CACf,CAAC;IACJ,CAAC;IAED,OAAO,CACL,oBAAC,mBAAO,oBAAK,IAAI;QACf,oBAAC,mBAAK;YACJ,oBAAC,gBAAE;gBACA,CAAC,SAAS,IAAI,WAAW,IAAI,CAC5B,oBAAC,gBAAE,IACD,MAAM,EAAE;wBACN,QAAQ,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,EAAE,CAAC,WAAW,CAAC,WAAW,CAAC;wBAC3D,UAAU,EAAE,CAAC,CAAC,aAAa;qBAC5B,GACD,CACH;gBACA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACzB,oBAAC,gBAAE,kBAAC,GAAG,EAAE,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,aAAa,CAAC,KAAK,CAAC,IAAM,CAAC,CAAC,OAAO,GACvD,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CACd,oBAAC,wBAAc,IAAC,SAAS,EAAE,CAAC,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CAAC,aAAa;qBAC5B,GACD,CACH;gBACA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACzB,oBAAC,gBAAE,kBAAC,GAAG,EAAE,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,aAAa,CAAC,KAAK,CAAC,IAAM,CAAC,CAAC,OAAO,GACvD,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CACd,oBAAC,wBAAc,IAAC,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,SAAS,QAAC,OAAO,EAAE,CAAC,CAAC,UAAU,EAAE,aAAa,EAAC,OAAO,GAAG,CAC7F,CAAC,CAAC,CAAC,CACF,CAAC,CAAC,IAAI,CACP,CACE,CACN,CAAC;gBACF,oBAAC,gBAAE,OAAG,CACH,CACC;QACP,QAAQ,CACD,CACX,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ type TableActionsProps = {
3
+ isDisabled: boolean;
4
+ };
5
+ declare const TableActions: ({ isDisabled, children }: React.PropsWithChildren<TableActionsProps>) => React.JSX.Element;
6
+ export default TableActions;
7
+ //# sourceMappingURL=TableActions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableActions.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/TableActions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,KAAK,iBAAiB,GAAG;IACvB,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,YAAY,6BAA8B,MAAM,iBAAiB,CAAC,iBAAiB,CAAC,sBAqBzF,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- const react_core_1 = require("@patternfly/react-core");
5
4
  const React = tslib_1.__importStar(require("react"));
5
+ const react_core_1 = require("@patternfly/react-core");
6
6
  const useTranslation_1 = require("../../hooks/useTranslation");
7
- const TableActions = ({ children }) => {
7
+ const TableActions = ({ isDisabled, children }) => {
8
8
  const { t } = (0, useTranslation_1.useTranslation)();
9
9
  const [isOpen, setIsOpen] = React.useState(false);
10
10
  const onToggle = () => {
11
11
  setIsOpen(!isOpen);
12
12
  };
13
- return (React.createElement(react_core_1.Select, { isOpen: isOpen, onSelect: onToggle, onOpenChange: setIsOpen, toggle: (toggleRef) => (React.createElement(react_core_1.MenuToggle, { ref: toggleRef, onClick: onToggle, id: "actions", isExpanded: isOpen }, t('Actions'))) }, children));
13
+ return (React.createElement(react_core_1.Select, { isOpen: isOpen, onSelect: onToggle, "aria-disabled": isDisabled, onOpenChange: setIsOpen, toggle: (toggleRef) => (React.createElement(react_core_1.MenuToggle, { ref: toggleRef, onClick: onToggle, id: "actions", isExpanded: isOpen, isDisabled: isDisabled }, t('Actions'))) }, children));
14
14
  };
15
15
  exports.default = TableActions;
16
16
  //# sourceMappingURL=TableActions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TableActions.js","sourceRoot":"","sources":["../../../../src/components/Table/TableActions.tsx"],"names":[],"mappings":";;;AAAA,uDAA4D;AAC5D,qDAA+B;AAC/B,+DAA4D;AAM5D,MAAM,YAAY,GAAgC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACjE,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,+BAAc,GAAE,CAAC;IAC/B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAClD,MAAM,QAAQ,GAAG,GAAG,EAAE;QACpB,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACrB,CAAC,CAAC;IACF,OAAO,CACL,oBAAC,mBAAM,IACL,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,YAAY,EAAE,SAAS,EACvB,MAAM,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,CACrB,oBAAC,uBAAU,IAAC,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAC,SAAS,EAAC,UAAU,EAAE,MAAM,IAC3E,CAAC,CAAC,SAAS,CAAC,CACF,CACd,IAEA,QAAQ,CACF,CACV,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"TableActions.js","sourceRoot":"","sources":["../../../../src/components/Table/TableActions.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,uDAA4D;AAE5D,+DAA4D;AAM5D,MAAM,YAAY,GAAG,CAAC,EAAE,UAAU,EAAE,QAAQ,EAA8C,EAAE,EAAE;IAC5F,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,+BAAc,GAAE,CAAC;IAC/B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAClD,MAAM,QAAQ,GAAG,GAAG,EAAE;QACpB,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACrB,CAAC,CAAC;IACF,OAAO,CACL,oBAAC,mBAAM,IACL,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,mBACH,UAAU,EACzB,YAAY,EAAE,SAAS,EACvB,MAAM,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,CACrB,oBAAC,uBAAU,IAAC,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAC,SAAS,EAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,IACnG,CAAC,CAAC,SAAS,CAAC,CACF,CACd,IAEA,QAAQ,CACF,CACV,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,YAAY,CAAC"}
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ import { SearchInputProps } from '@patternfly/react-core';
3
+ export type TableTextSearchProps = Omit<SearchInputProps, 'onChange' | 'aria-label'> & {
4
+ setValue: (val: string) => void;
5
+ onClear?: VoidFunction;
6
+ };
7
+ declare const TableTextSearch: React.FC<TableTextSearchProps>;
8
+ export default TableTextSearch;
9
+ //# sourceMappingURL=TableTextSearch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableTextSearch.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/TableTextSearch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAe,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAEvE,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,GAAG,YAAY,CAAC,GAAG;IACrF,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB,CAAC;AAEF,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAWnD,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,13 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- const react_core_1 = require("@patternfly/react-core");
5
4
  const React = tslib_1.__importStar(require("react"));
6
- const useTranslation_1 = require("../../hooks/useTranslation");
5
+ const react_core_1 = require("@patternfly/react-core");
7
6
  const TableTextSearch = (_a) => {
8
7
  var { value, setValue, placeholder, onClear } = _a, rest = tslib_1.__rest(_a, ["value", "setValue", "placeholder", "onClear"]);
9
- const { t } = (0, useTranslation_1.useTranslation)();
10
- return (React.createElement(react_core_1.SearchInput, Object.assign({ "aria-label": placeholder || t('Search by name'), onChange: (_event, value) => (value === '' && onClear ? onClear() : setValue(value)), value: value, placeholder: placeholder || t('Search by name'), onClear: () => (onClear ? onClear() : setValue('')) }, rest)));
8
+ return (React.createElement(react_core_1.SearchInput, Object.assign({ "aria-label": placeholder, onChange: (_event, value) => (value === '' && onClear ? onClear() : setValue(value)), value: value, placeholder: placeholder, onClear: () => (onClear ? onClear() : setValue('')) }, rest)));
11
9
  };
12
10
  exports.default = TableTextSearch;
13
11
  //# sourceMappingURL=TableTextSearch.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TableTextSearch.js","sourceRoot":"","sources":["../../../../src/components/Table/TableTextSearch.tsx"],"names":[],"mappings":";;;AAAA,uDAAuE;AACvE,qDAA+B;AAC/B,+DAA4D;AAO5D,MAAM,eAAe,GAAmC,CAAC,EAAkD,EAAE,EAAE;QAAtD,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,OAAW,EAAN,IAAI,sBAAhD,+CAAkD,CAAF;IACvG,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,+BAAc,GAAE,CAAC;IAC/B,OAAO,CACL,oBAAC,wBAAW,gCACE,WAAW,IAAI,CAAC,CAAC,gBAAgB,CAAC,EAC9C,QAAQ,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,KAAK,EAAE,IAAI,OAAO,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EACpF,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,IAAI,CAAC,CAAC,gBAAgB,CAAC,EAC/C,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,IAC/C,IAAI,EACR,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"TableTextSearch.js","sourceRoot":"","sources":["../../../../src/components/Table/TableTextSearch.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAE/B,uDAAuE;AAOvE,MAAM,eAAe,GAAmC,CAAC,EAAkD,EAAE,EAAE;QAAtD,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,OAAW,EAAN,IAAI,sBAAhD,+CAAkD,CAAF;IACvG,OAAO,CACL,oBAAC,wBAAW,gCACE,WAAW,EACvB,QAAQ,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,KAAK,EAAE,IAAI,OAAO,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EACpF,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,IAC/C,IAAI,EACR,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,eAAe,CAAC"}
@@ -0,0 +1,15 @@
1
+ import * as React from 'react';
2
+ import { ITerminalAddon } from '@xterm/xterm';
3
+ import './Terminal.css';
4
+ type TerminalProps = {
5
+ onData: (data: string) => void;
6
+ };
7
+ export type ImperativeTerminalType = {
8
+ focus: VoidFunction;
9
+ onDataReceived: (data: string) => void;
10
+ loadAttachAddon: (addOn: ITerminalAddon) => void;
11
+ reset: VoidFunction;
12
+ };
13
+ declare const Terminal: React.ForwardRefExoticComponent<TerminalProps & React.RefAttributes<ImperativeTerminalType>>;
14
+ export default Terminal;
15
+ //# sourceMappingURL=Terminal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Terminal.d.ts","sourceRoot":"","sources":["../../../../src/components/Terminal/Terminal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAqE,MAAM,cAAc,CAAC;AAMjH,OAAO,gBAAgB,CAAC;AAUxB,KAAK,aAAa,GAAG;IACnB,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,YAAY,CAAC;IACpB,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,eAAe,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IACjD,KAAK,EAAE,YAAY,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,QAAQ,8FAmEZ,CAAC;AAIH,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ type UserPreferencesModalProps = {
3
+ onClose: VoidFunction;
4
+ };
5
+ declare const UserPreferencesModal: React.FC<UserPreferencesModalProps>;
6
+ export default UserPreferencesModal;
7
+ //# sourceMappingURL=UserPreferencesModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserPreferencesModal.d.ts","sourceRoot":"","sources":["../../../../src/components/UserPreferences/UserPreferencesModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA0B/B,KAAK,yBAAyB,GAAG;IAC/B,OAAO,EAAE,YAAY,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAoD7D,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { Theme } from '../../hooks/useThemePreferences';
3
+ export declare const UserPreferencesContext: React.Context<{
4
+ theme: Theme;
5
+ setTheme: (theme: Theme) => void;
6
+ }>;
7
+ export type UserPreferencesProviderProps = {
8
+ children: React.ReactNode;
9
+ };
10
+ export declare const UserPreferencesProvider: React.FC<UserPreferencesProviderProps>;
11
+ //# sourceMappingURL=UserPreferencesProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserPreferencesProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/UserPreferences/UserPreferencesProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAuB,MAAM,iCAAiC,CAAC;AAE7E,eAAO,MAAM,sBAAsB;WAC1B,KAAK;sBACM,KAAK,KAAK,IAAI;EAIhC,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG;IACzC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAa1E,CAAC"}
@@ -3,6 +3,11 @@
3
3
  justify-content: center;
4
4
  }
5
5
 
6
+ .fctl-charts__donut-container {
7
+ width: 100%;
8
+ height: 100%;
9
+ }
10
+
6
11
  .fctl-charts__title {
7
12
  height: 100%;
8
13
  color: var(--pf-v5-global--Color--200);
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ import { LinkProps } from '../../hooks/useNavigate';
3
+ import './DonutChart.css';
4
+ export type Data = {
5
+ x: string;
6
+ y: number;
7
+ color: string;
8
+ link: LinkProps;
9
+ tooltip: string;
10
+ };
11
+ declare const DonutChart: ({ data, title, helperText }: {
12
+ data: Data[];
13
+ title: string;
14
+ helperText?: string | undefined;
15
+ }) => React.JSX.Element;
16
+ export default DonutChart;
17
+ //# sourceMappingURL=DonutChart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DonutChart.d.ts","sourceRoot":"","sources":["../../../../src/components/charts/DonutChart.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAQ,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAK1D,OAAO,kBAAkB,CAAC;AAE1B,MAAM,MAAM,IAAI,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AA8CF,QAAA,MAAM,UAAU;UAAyC,IAAI,EAAE;WAAS,MAAM;;uBAkD7E,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -36,7 +36,7 @@ const DonutChart = ({ data, title, helperText }) => {
36
36
  return (React.createElement(react_core_1.Flex, { justifyContent: { default: 'justifyContentCenter' }, direction: { default: 'column' }, alignItems: { default: 'alignItemsCenter' } },
37
37
  React.createElement(react_core_1.FlexItem, { className: "fctl-charts__donut" },
38
38
  React.createElement("div", { style: { height: '230px', width: '230px' } },
39
- React.createElement(react_charts_1.ChartContainer, null,
39
+ React.createElement(react_charts_1.ChartContainer, { className: "fctl-charts__donut-container" },
40
40
  React.createElement("foreignObject", { x: "0", y: "0", width: "230px", height: "230px" },
41
41
  React.createElement(react_core_1.Flex, { alignItems: { default: 'alignItemsCenter' }, justifyContent: { default: 'justifyContentCenter' }, alignContent: { default: 'alignContentCenter' }, className: "fctl-charts__title" }, helperText ? React.createElement(WithHelperText_1.default, { showLabel: true, ariaLabel: title, content: helperText }) : title)),
42
42
  React.createElement(react_charts_1.ChartDonut, { ariaDesc: title, ariaTitle: title, constrainToVisibleArea: true, colorScale: isEmpty ? [(0, common_1.getDefaultStatusColor)('unknown')] : data.map((datum) => datum.color), data: isEmpty ? [{ y: 100 }] : data, name: title, standalone: false, labels: isEmpty ? [] : data.map((datum) => datum.tooltip) })))),
@@ -1 +1 @@
1
- {"version":3,"file":"DonutChart.js","sourceRoot":"","sources":["../../../../src/components/charts/DonutChart.tsx"],"names":[],"mappings":";;;AAAA,2DAAsE;AACtE,uDAA2G;AAC3G,qDAA+B;AAC/B,yDAA0D;AAC1D,sFAAsD;AACtD,+DAA4D;AAC5D,sDAAkE;AAElE,4BAA0B;AAU1B,MAAM,MAAM,GAAG,CAAC,EAAE,IAAI,EAAsB,EAAE,EAAE;IAC9C,OAAO,CACL,oBAAC,kBAAK,QACH,IAAI,CAAC,GAAG,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S,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,GAAI,CAAC,CAAC,CAAC,KAAK,CACpF,CACO;oBAChB,oBAAC,yBAAU,IACT,QAAQ,EAAE,KAAK,EACf,SAAS,EAAE,KAAK,EAChB,sBAAsB,QACtB,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,IAAA,8BAAqB,EAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,EAC3F,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,EACnC,IAAI,EAAE,KAAK,EACX,UAAU,EAAE,KAAK,EACjB,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,GACzD,CACa,CACb,CACG;QACX,oBAAC,qBAAQ,QACN,OAAO,CAAC,CAAC,CAAC,CACT,oBAAC,wBAAW;YACV,oBAAC,iBAAI,IAAC,SAAS,EAAE,yBAAY,CAAC,KAAK,IAAG,CAAC,CAAC,YAAY,CAAC,CAAQ,CACjD,CACf,CAAC,CAAC,CAAC,CACF,oBAAC,MAAM,IAAC,IAAI,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC,GAAI,CACxC,CACQ,CACN,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,UAAU,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { StatusItem } from '../../utils/status/common';
2
+ import { FilterSearchParams } from '../../utils/status/devices';
3
+ import { Route } from '../../hooks/useNavigate';
4
+ export type StatusMap = Record<string, number>;
5
+ export declare const toChartData: <T extends string>(map: StatusMap, statusItems: StatusItem<T>[], baseQuery: URLSearchParams, filterName: FilterSearchParams) => {
6
+ x: string;
7
+ y: number;
8
+ color: string;
9
+ link: {
10
+ to: Route;
11
+ query: string;
12
+ };
13
+ tooltip: string;
14
+ }[];
15
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/charts/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAyB,MAAM,2BAA2B,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAS,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEvD,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAE/C,eAAO,MAAM,WAAW,0BACjB,SAAS,2CAEH,eAAe,cACd,kBAAkB;;;;;;;;;GAyB/B,CAAC"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toChartData = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const percent_round_1 = tslib_1.__importDefault(require("percent-round"));
6
+ const common_1 = require("../../utils/status/common");
7
+ const useNavigate_1 = require("../../hooks/useNavigate");
8
+ const toChartData = (map, statusItems, baseQuery, filterName) => {
9
+ const statusMapList = Object.entries(map);
10
+ const percentages = (0, percent_round_1.default)(statusMapList.map((entry) => entry[1]));
11
+ return statusItems.map((statusItem) => {
12
+ const statusId = statusItem.id;
13
+ // We lookup the index in the original array to get the current status percentage value
14
+ const entryIndex = statusMapList.findIndex((entry) => entry[0] === statusId);
15
+ const query = new URLSearchParams(baseQuery);
16
+ query.append(filterName, statusId);
17
+ return {
18
+ x: `${statusItem.label}`,
19
+ y: entryIndex === -1 ? 0 : percentages[entryIndex],
20
+ color: (0, common_1.getDefaultStatusColor)(statusItem.level),
21
+ link: {
22
+ to: useNavigate_1.ROUTE.DEVICES,
23
+ query: query.toString(),
24
+ },
25
+ tooltip: `${map[statusId]} ${statusItem.label}`,
26
+ };
27
+ });
28
+ };
29
+ exports.toChartData = toChartData;
30
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/components/charts/utils.ts"],"names":[],"mappings":";;;;AAAA,0EAAyC;AAEzC,sDAA8E;AAE9E,yDAAuD;AAIhD,MAAM,WAAW,GAAG,CACzB,GAAc,EACd,WAA4B,EAC5B,SAA0B,EAC1B,UAA8B,EAC9B,EAAE;IACF,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,CAAS,GAAG,CAAC,CAAC;IAClD,MAAM,WAAW,GAAG,IAAA,uBAAY,EAAC,aAAa,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAEzE,OAAO,WAAW,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE;QACpC,MAAM,QAAQ,GAAG,UAAU,CAAC,EAAE,CAAC;QAE/B,uFAAuF;QACvF,MAAM,UAAU,GAAG,aAAa,CAAC,SAAS,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,QAAQ,CAAC,CAAC;QAE7E,MAAM,KAAK,GAAG,IAAI,eAAe,CAAC,SAAS,CAAC,CAAC;QAC7C,KAAK,CAAC,MAAM,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;QAEnC,OAAO;YACL,CAAC,EAAE,GAAG,UAAU,CAAC,KAAK,EAAE;YACxB,CAAC,EAAE,UAAU,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC;YAClD,KAAK,EAAE,IAAA,8BAAqB,EAAC,UAAU,CAAC,KAAK,CAAC;YAC9C,IAAI,EAAE;gBACJ,EAAE,EAAE,mBAAK,CAAC,OAAgB;gBAC1B,KAAK,EAAE,KAAK,CAAC,QAAQ,EAAE;aACxB;YACD,OAAO,EAAE,GAAG,GAAG,CAAC,QAAQ,CAAC,IAAI,UAAU,CAAC,KAAK,EAAE;SAChD,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AA7BW,QAAA,WAAW,eA6BtB"}
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ import { ButtonProps } from '@patternfly/react-core';
3
+ interface CopyButtonProps {
4
+ text: string;
5
+ variant?: ButtonProps['variant'];
6
+ ariaLabel?: string;
7
+ }
8
+ declare const CopyButton: ({ ariaLabel, text, variant }: CopyButtonProps) => React.JSX.Element;
9
+ export default CopyButton;
10
+ //# sourceMappingURL=CopyButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CopyButton.d.ts","sourceRoot":"","sources":["../../../../src/components/common/CopyButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAU,WAAW,EAAiB,MAAM,wBAAwB,CAAC;AAI5E,UAAU,eAAe;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,UAAU,iCAAkC,eAAe,sBAqBhE,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -5,14 +5,14 @@ const React = tslib_1.__importStar(require("react"));
5
5
  const copy_icon_1 = require("@patternfly/react-icons/dist/js/icons/copy-icon");
6
6
  const react_core_1 = require("@patternfly/react-core");
7
7
  const useTranslation_1 = require("../../hooks/useTranslation");
8
- const CopyButton = ({ text, variant }) => {
8
+ const CopyButton = ({ ariaLabel, text, variant }) => {
9
9
  const { t } = (0, useTranslation_1.useTranslation)();
10
10
  const onCopy = () => {
11
11
  void navigator.clipboard.writeText(text);
12
12
  };
13
- return (React.createElement(react_core_1.Tooltip, { content: t('Copy text') },
13
+ return (React.createElement(react_core_1.Tooltip, { content: ariaLabel || t('Copy text') },
14
14
  React.createElement(react_core_1.Button, { variant: variant || 'plain', isInline: variant === 'link', icon: React.createElement(react_core_1.Icon, { size: "sm" },
15
- React.createElement(copy_icon_1.CopyIcon, { onClick: onCopy })), "aria-label": t('Copy text') })));
15
+ React.createElement(copy_icon_1.CopyIcon, { onClick: onCopy })), "aria-label": ariaLabel || t('Copy text') })));
16
16
  };
17
17
  exports.default = CopyButton;
18
18
  //# sourceMappingURL=CopyButton.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CopyButton.js","sourceRoot":"","sources":["../../../../src/components/common/CopyButton.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,+EAA2E;AAC3E,uDAA4E;AAE5E,+DAA4D;AAE5D,MAAM,UAAU,GAAG,CAAC,EAAE,IAAI,EAAE,OAAO,EAAsD,EAAE,EAAE;IAC3F,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,+BAAc,GAAE,CAAC;IAE/B,MAAM,MAAM,GAAG,GAAG,EAAE;QAClB,KAAK,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC,CAAC;IAEF,OAAO,CACL,oBAAC,oBAAO,IAAC,OAAO,EAAE,CAAC,CAAC,WAAW,CAAC;QAC9B,oBAAC,mBAAM,IACL,OAAO,EAAE,OAAO,IAAI,OAAO,EAC3B,QAAQ,EAAE,OAAO,KAAK,MAAM,EAC5B,IAAI,EACF,oBAAC,iBAAI,IAAC,IAAI,EAAC,IAAI;gBACb,oBAAC,oBAAQ,IAAC,OAAO,EAAE,MAAM,GAAI,CACxB,gBAEG,CAAC,CAAC,WAAW,CAAC,GAC1B,CACM,CACX,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"CopyButton.js","sourceRoot":"","sources":["../../../../src/components/common/CopyButton.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,+EAA2E;AAC3E,uDAA4E;AAE5E,+DAA4D;AAQ5D,MAAM,UAAU,GAAG,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAmB,EAAE,EAAE;IACnE,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,+BAAc,GAAE,CAAC;IAE/B,MAAM,MAAM,GAAG,GAAG,EAAE;QAClB,KAAK,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC,CAAC;IAEF,OAAO,CACL,oBAAC,oBAAO,IAAC,OAAO,EAAE,SAAS,IAAI,CAAC,CAAC,WAAW,CAAC;QAC3C,oBAAC,mBAAM,IACL,OAAO,EAAE,OAAO,IAAI,OAAO,EAC3B,QAAQ,EAAE,OAAO,KAAK,MAAM,EAC5B,IAAI,EACF,oBAAC,iBAAI,IAAC,IAAI,EAAC,IAAI;gBACb,oBAAC,oBAAQ,IAAC,OAAO,EAAE,MAAM,GAAI,CACxB,gBAEG,SAAS,IAAI,CAAC,CAAC,WAAW,CAAC,GACvC,CACM,CACX,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,UAAU,CAAC"}
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ type EditableLabelControlProps = {
3
+ isEditable?: boolean;
4
+ addButtonText?: string;
5
+ defaultLabel: string;
6
+ onAddLabel: (text: string) => void;
7
+ };
8
+ declare const EditableLabelControl: ({ addButtonText, defaultLabel, onAddLabel, isEditable, }: EditableLabelControlProps) => React.JSX.Element;
9
+ export default EditableLabelControl;
10
+ //# sourceMappingURL=EditableLabelControl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditableLabelControl.d.ts","sourceRoot":"","sources":["../../../../src/components/common/EditableLabelControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,KAAK,yBAAyB,GAAG;IAC/B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF,QAAA,MAAM,oBAAoB,6DAKvB,yBAAyB,sBAiD3B,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { TFunction } from 'react-i18next';
3
+ interface Props {
4
+ children?: React.ReactNode;
5
+ t: TFunction;
6
+ }
7
+ declare const TranslatedErrorBoundary: React.ComponentType<Omit<import("react-i18next").Subtract<Props, import("react-i18next").WithTranslationProps>, keyof import("react-i18next").WithTranslation<N, undefined>> & import("react-i18next").WithTranslationProps>;
8
+ export default TranslatedErrorBoundary;
9
+ //# sourceMappingURL=ErrorBoundary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ErrorBoundary.d.ts","sourceRoot":"","sources":["../../../../src/components/common/ErrorBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAmB,MAAM,eAAe,CAAC;AAK3D,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,CAAC,EAAE,SAAS,CAAC;CACd;AAyCD,QAAA,MAAM,uBAAuB,8NAAmC,CAAC;AAEjE,eAAe,uBAAuB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ import { DescriptionListProps } from '@patternfly/react-core';
3
+ declare const FlightCtlDescriptionList: ({ children, ...rest }: DescriptionListProps) => React.JSX.Element;
4
+ export default FlightCtlDescriptionList;
5
+ //# sourceMappingURL=FlightCtlDescriptionList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlightCtlDescriptionList.d.ts","sourceRoot":"","sources":["../../../../src/components/common/FlightCtlDescriptionList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAmB,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG/E,QAAA,MAAM,wBAAwB,0BAA2B,oBAAoB,sBAI5E,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const React = tslib_1.__importStar(require("react"));
5
+ // eslint-disable-next-line no-restricted-imports
6
+ const react_core_1 = require("@patternfly/react-core");
7
+ // Wrapper that adds the PF4 class for description lists as their styles are not loaded in the Console
8
+ const FlightCtlDescriptionList = (_a) => {
9
+ var { children } = _a, rest = tslib_1.__rest(_a, ["children"]);
10
+ return (React.createElement(react_core_1.DescriptionList, Object.assign({}, rest, { className: "pf-c-description-list" }), children));
11
+ };
12
+ exports.default = FlightCtlDescriptionList;
13
+ //# sourceMappingURL=FlightCtlDescriptionList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlightCtlDescriptionList.js","sourceRoot":"","sources":["../../../../src/components/common/FlightCtlDescriptionList.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAE/B,iDAAiD;AACjD,uDAA+E;AAE/E,sGAAsG;AACtG,MAAM,wBAAwB,GAAG,CAAC,EAA2C,EAAE,EAAE;QAA/C,EAAE,QAAQ,OAAiC,EAA5B,IAAI,sBAAnB,YAAqB,CAAF;IAA6B,OAAA,CAChF,oBAAC,4BAAe,oBAAK,IAAI,IAAE,SAAS,EAAC,uBAAuB,KACzD,QAAQ,CACO,CACnB,CAAA;CAAA,CAAC;AAEF,kBAAe,wBAAwB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ export declare const KubernetesLabelHelperText: () => React.JSX.Element;
3
+ //# sourceMappingURL=HelperTextItems.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HelperTextItems.d.ts","sourceRoot":"","sources":["../../../../src/components/common/HelperTextItems.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,eAAO,MAAM,yBAAyB,yBAkBrC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IgnitionFileHelperText = exports.KubernetesLabelHelperText = void 0;
3
+ exports.KubernetesLabelHelperText = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const external_link_alt_icon_1 = require("@patternfly/react-icons/dist/js/icons/external-link-alt-icon");
@@ -14,12 +14,4 @@ const KubernetesLabelHelperText = () => {
14
14
  React.createElement(react_core_1.Button, { component: "a", variant: "link", isInline: true, icon: React.createElement(external_link_alt_icon_1.ExternalLinkAltIcon, null), target: "_blank", rel: "noopener noreferrer", href: "https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/" }, t('Learn more'))));
15
15
  };
16
16
  exports.KubernetesLabelHelperText = KubernetesLabelHelperText;
17
- const IgnitionFileHelperText = () => {
18
- const { t } = (0, useTranslation_1.useTranslation)();
19
- return (React.createElement(React.Fragment, null,
20
- t('Must be a valid Ignition file in YAML format'),
21
- ' ',
22
- React.createElement(react_core_1.Button, { component: "a", variant: "link", isInline: true, icon: React.createElement(external_link_alt_icon_1.ExternalLinkAltIcon, null), target: "_blank", rel: "noopener noreferrer", href: "https://coreos.github.io/ignition/specs/" }, t('Learn more'))));
23
- };
24
- exports.IgnitionFileHelperText = IgnitionFileHelperText;
25
17
  //# sourceMappingURL=HelperTextItems.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HelperTextItems.js","sourceRoot":"","sources":["../../../../src/components/common/HelperTextItems.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,yGAAmG;AACnG,uDAAgD;AAEhD,+DAA4D;AAErD,MAAM,yBAAyB,GAAG,GAAG,EAAE;IAC5C,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,+BAAc,GAAE,CAAC;IAC/B,OAAO,CACL;QACG,CAAC,CAAC,kCAAkC,CAAC;QAAE,GAAG;QAC3C,oBAAC,mBAAM,IACL,SAAS,EAAC,GAAG,EACb,OAAO,EAAC,MAAM,EACd,QAAQ,QACR,IAAI,EAAE,oBAAC,4CAAmB,OAAG,EAC7B,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,EACzB,IAAI,EAAC,2EAA2E,IAE/E,CAAC,CAAC,YAAY,CAAC,CACT,CACR,CACJ,CAAC;AACJ,CAAC,CAAC;AAlBW,QAAA,yBAAyB,6BAkBpC;AAEK,MAAM,sBAAsB,GAAG,GAAG,EAAE;IACzC,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,+BAAc,GAAE,CAAC;IAC/B,OAAO,CACL;QACG,CAAC,CAAC,8CAA8C,CAAC;QAAE,GAAG;QACvD,oBAAC,mBAAM,IACL,SAAS,EAAC,GAAG,EACb,OAAO,EAAC,MAAM,EACd,QAAQ,QACR,IAAI,EAAE,oBAAC,4CAAmB,OAAG,EAC7B,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,EACzB,IAAI,EAAC,0CAA0C,IAE9C,CAAC,CAAC,YAAY,CAAC,CACT,CACR,CACJ,CAAC;AACJ,CAAC,CAAC;AAlBW,QAAA,sBAAsB,0BAkBjC"}
1
+ {"version":3,"file":"HelperTextItems.js","sourceRoot":"","sources":["../../../../src/components/common/HelperTextItems.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,yGAAmG;AACnG,uDAAgD;AAEhD,+DAA4D;AAErD,MAAM,yBAAyB,GAAG,GAAG,EAAE;IAC5C,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,+BAAc,GAAE,CAAC;IAC/B,OAAO,CACL;QACG,CAAC,CAAC,kCAAkC,CAAC;QAAE,GAAG;QAC3C,oBAAC,mBAAM,IACL,SAAS,EAAC,GAAG,EACb,OAAO,EAAC,MAAM,EACd,QAAQ,QACR,IAAI,EAAE,oBAAC,4CAAmB,OAAG,EAC7B,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,EACzB,IAAI,EAAC,2EAA2E,IAE/E,CAAC,CAAC,YAAY,CAAC,CACT,CACR,CACJ,CAAC;AACJ,CAAC,CAAC;AAlBW,QAAA,yBAAyB,6BAkBpC"}
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ import './LabelsView.css';
3
+ interface LabelsViewProps {
4
+ prefix: string;
5
+ labels: Record<string, string | undefined> | undefined;
6
+ variant?: 'default' | 'collapsed';
7
+ }
8
+ declare const LabelsView: ({ variant, prefix, labels }: LabelsViewProps) => React.JSX.Element | "-";
9
+ export default LabelsView;
10
+ //# sourceMappingURL=LabelsView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LabelsView.d.ts","sourceRoot":"","sources":["../../../../src/components/common/LabelsView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,kBAAkB,CAAC;AAE1B,UAAU,eAAe;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,GAAG,SAAS,CAAC;IACvD,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;CACnC;AAED,QAAA,MAAM,UAAU,gCAAiC,eAAe,4BAsB/D,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ declare const LeaveFormConfirmation: () => React.JSX.Element | null;
3
+ export default LeaveFormConfirmation;
4
+ //# sourceMappingURL=LeaveFormConfirmation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LeaveFormConfirmation.d.ts","sourceRoot":"","sources":["../../../../src/components/common/LeaveFormConfirmation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA8E/B,QAAA,MAAM,qBAAqB,gCAe1B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -42,8 +42,11 @@ const BrowserBlocker = ({ lock }) => {
42
42
  };
43
43
  const LeaveFormConfirmation = () => {
44
44
  const { dirty, isSubmitting } = (0, formik_1.useFormikContext)();
45
- const { router: { useBlocker }, } = (0, useAppContext_1.useAppContext)();
45
+ const { appType, router: { useBlocker }, } = (0, useAppContext_1.useAppContext)();
46
46
  const lock = !isSubmitting && dirty;
47
+ if (appType === 'aap') {
48
+ return null;
49
+ }
47
50
  // workaround for OCP plugin where useBlocker is not yet available due to older react-router-dom version
48
51
  return useBlocker ? React.createElement(RouterBlocker, { lock: lock }) : React.createElement(BrowserBlocker, { lock: lock });
49
52
  };
@@ -1 +1 @@
1
- {"version":3,"file":"LeaveFormConfirmation.js","sourceRoot":"","sources":["../../../../src/components/common/LeaveFormConfirmation.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,uDAA4F;AAE5F,mCAA0C;AAE1C,+DAA4D;AAC5D,6DAA0D;AAE1D,MAAM,uBAAuB,GAAG,CAAC,EAAE,OAAO,EAAwB,EAAE,EAAE;IACpE,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,+BAAc,GAAE,CAAC;IAE/B,IAAI,OAAO,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;QAChC,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,oBAAC,kBAAK,IACJ,KAAK,EAAE,CAAC,CAAC,2BAA2B,CAAC,EACrC,MAAM,QACN,OAAO,EAAC,OAAO,EACf,gBAAgB,EAAC,SAAS,EAC1B,OAAO,EAAE;YACP,oBAAC,mBAAM,IACL,GAAG,EAAC,SAAS,EACb,OAAO,EAAC,QAAQ,EAChB,OAAO,EAAE,GAAG,EAAE;;oBACZ,MAAA,OAAO,CAAC,OAAO,uDAAI,CAAC;gBACtB,CAAC,IAEA,CAAC,CAAC,iBAAiB,CAAC,CACd;YACT,oBAAC,mBAAM,IACL,GAAG,EAAC,MAAM,EACV,OAAO,EAAC,MAAM,EACd,OAAO,EAAE,GAAG,EAAE;;oBAC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EAAE,GAAG,IAAA,yBAAgB,GAAE,CAAC;IACnD,MAAM,EACJ,MAAM,EAAE,EAAE,UAAU,EAAE,GACvB,GAAG,IAAA,6BAAa,GAAE,CAAC;IAEpB,MAAM,IAAI,GAAG,CAAC,YAAY,IAAI,KAAK,CAAC;IAEpC,wGAAwG;IACxG,OAAO,UAAU,CAAC,CAAC,CAAC,oBAAC,aAAa,IAAC,IAAI,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,oBAAC,cAAc,IAAC,IAAI,EAAE,IAAI,GAAI,CAAC;AACrF,CAAC,CAAC;AAEF,kBAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"LeaveFormConfirmation.js","sourceRoot":"","sources":["../../../../src/components/common/LeaveFormConfirmation.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,uDAA4F;AAE5F,mCAA0C;AAE1C,+DAA4D;AAC5D,6DAA0D;AAE1D,MAAM,uBAAuB,GAAG,CAAC,EAAE,OAAO,EAAwB,EAAE,EAAE;IACpE,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,+BAAc,GAAE,CAAC;IAE/B,IAAI,OAAO,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;QAChC,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,oBAAC,kBAAK,IACJ,KAAK,EAAE,CAAC,CAAC,2BAA2B,CAAC,EACrC,MAAM,QACN,OAAO,EAAC,OAAO,EACf,gBAAgB,EAAC,SAAS,EAC1B,OAAO,EAAE;YACP,oBAAC,mBAAM,IACL,GAAG,EAAC,SAAS,EACb,OAAO,EAAC,QAAQ,EAChB,OAAO,EAAE,GAAG,EAAE;;oBACZ,MAAA,OAAO,CAAC,OAAO,uDAAI,CAAC;gBACtB,CAAC,IAEA,CAAC,CAAC,iBAAiB,CAAC,CACd;YACT,oBAAC,mBAAM,IACL,GAAG,EAAC,MAAM,EACV,OAAO,EAAC,MAAM,EACd,OAAO,EAAE,GAAG,EAAE;;oBACZ,MA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GAAG,IAAA,yBAAgB,GAAE,CAAC;IACnD,MAAM,EACJ,OAAO,EACP,MAAM,EAAE,EAAE,UAAU,EAAE,GACvB,GAAG,IAAA,6BAAa,GAAE,CAAC;IAEpB,MAAM,IAAI,GAAG,CAAC,YAAY,IAAI,KAAK,CAAC;IAEpC,IAAI,OAAO,KAAK,KAAK,EAAE,CAAC;QACtB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,wGAAwG;IACxG,OAAO,UAAU,CAAC,CAAC,CAAC,oBAAC,aAAa,IAAC,IAAI,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,oBAAC,cAAc,IAAC,IAAI,EAAE,IAAI,GAAI,CAAC;AACrF,CAAC,CAAC;AAEF,kBAAe,qBAAqB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ import { type RouteWithPostfix } from '../../hooks/useNavigate';
3
+ import './ResourceLink.css';
4
+ type ResourceDisplayLinkProps = {
5
+ id: string;
6
+ name?: string;
7
+ variant?: 'shortened' | 'full';
8
+ routeLink?: RouteWithPostfix;
9
+ };
10
+ export declare const getDisplayText: (name: string | undefined) => string;
11
+ declare const ResourceLink: ({ id, name, variant, routeLink }: ResourceDisplayLinkProps) => React.JSX.Element;
12
+ export default ResourceLink;
13
+ //# sourceMappingURL=ResourceLink.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResourceLink.d.ts","sourceRoot":"","sources":["../../../../src/components/common/ResourceLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAQ,KAAK,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAGtE,OAAO,oBAAoB,CAAC;AAI5B,KAAK,wBAAwB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC;IAC/B,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,cAAc,SAAU,MAAM,GAAG,SAAS,WAQtD,CAAC;AAEF,QAAA,MAAM,YAAY,qCAAoD,wBAAwB,sBAa7F,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+ type ResourceListEmptyStateProps = {
3
+ titleText: string;
4
+ icon: React.ComponentType;
5
+ };
6
+ declare const ResourceListEmptyState: ({ titleText, icon, children, }: React.PropsWithChildren<ResourceListEmptyStateProps>) => React.JSX.Element;
7
+ export default ResourceListEmptyState;
8
+ //# sourceMappingURL=ResourceListEmptyState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResourceListEmptyState.d.ts","sourceRoot":"","sources":["../../../../src/components/common/ResourceListEmptyState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,KAAK,2BAA2B,GAAG;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,sBAAsB,mCAIzB,MAAM,iBAAiB,CAAC,2BAA2B,CAAC,sBAKtD,CAAC;AACF,eAAe,sBAAsB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import './WithHelperText.css';
3
+ type WithHelperTextProps = {
4
+ ariaLabel: string;
5
+ showLabel?: boolean;
6
+ triggerAction?: 'click' | 'hover';
7
+ content: React.ReactNode;
8
+ };
9
+ declare const WithHelperText: ({ ariaLabel, showLabel, content, triggerAction }: WithHelperTextProps) => React.JSX.Element;
10
+ export default WithHelperText;
11
+ //# sourceMappingURL=WithHelperText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WithHelperText.d.ts","sourceRoot":"","sources":["../../../../src/components/common/WithHelperText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,sBAAsB,CAAC;AAE9B,KAAK,mBAAmB,GAAG;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAClC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,QAAA,MAAM,cAAc,qDAAsD,mBAAmB,sBAkB5F,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ import { PropsWithChildren } from 'react';
3
+ type WithTooltipProps = {
4
+ showTooltip: boolean;
5
+ content: React.ReactNode;
6
+ children: React.ReactElement;
7
+ };
8
+ declare const WithTooltip: ({ showTooltip, content, children }: PropsWithChildren<WithTooltipProps>) => React.JSX.Element;
9
+ export default WithTooltip;
10
+ //# sourceMappingURL=WithTooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WithTooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/common/WithTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1C,KAAK,gBAAgB,GAAG;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;CAC9B,CAAC;AAEF,QAAA,MAAM,WAAW,uCAAwC,kBAAkB,gBAAgB,CAAC,sBAClB,CAAC;AAE3E,eAAe,WAAW,CAAC"}
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ import { CheckboxProps } from '@patternfly/react-core';
3
+ export interface CheckboxFieldProps extends Omit<CheckboxProps, 'onChange' | 'id' | 'ref'> {
4
+ name: string;
5
+ helperText?: React.ReactNode;
6
+ onChangeCustom?: (value: boolean) => void;
7
+ }
8
+ declare const CheckboxField: ({ helperText, onChangeCustom, children, ...props }: CheckboxFieldProps) => React.JSX.Element;
9
+ export default CheckboxField;
10
+ //# sourceMappingURL=CheckboxField.d.ts.map