@redhat-cloud-services/frontend-components 3.5.0 → 3.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Ansible/Ansible.d.ts +13 -0
- package/Ansible/Ansible.js +56 -91
- package/Ansible/Ansible.js.map +1 -0
- package/Ansible/index.d.ts +1 -0
- package/Ansible/index.js +10 -20
- package/Ansible/index.js.map +1 -0
- package/Ansible/package.json +1 -1
- package/AsyncComponent/index.d.ts +3 -0
- package/AsyncComponent/index.js +47 -87
- package/AsyncComponent/index.js.map +1 -0
- package/AsyncComponent/package.json +1 -1
- package/Battery/Battery.d.ts +11 -0
- package/Battery/Battery.js +83 -125
- package/Battery/Battery.js.map +1 -0
- package/Battery/CriticalBattery.d.ts +3 -0
- package/Battery/CriticalBattery.js +7 -22
- package/Battery/CriticalBattery.js.map +1 -0
- package/Battery/HighBattery.d.ts +3 -0
- package/Battery/HighBattery.js +7 -18
- package/Battery/HighBattery.js.map +1 -0
- package/Battery/LowBattery.d.ts +3 -0
- package/Battery/LowBattery.js +7 -18
- package/Battery/LowBattery.js.map +1 -0
- package/Battery/MediumBattery.d.ts +3 -0
- package/Battery/MediumBattery.js +7 -18
- package/Battery/MediumBattery.js.map +1 -0
- package/Battery/NullBattery.d.ts +3 -0
- package/Battery/NullBattery.js +7 -18
- package/Battery/NullBattery.js.map +1 -0
- package/Battery/index.d.ts +7 -0
- package/Battery/index.js +20 -60
- package/Battery/index.js.map +1 -0
- package/Battery/package.json +1 -1
- package/Breadcrumbs/Breadcrumbs.d.ts +28 -0
- package/Breadcrumbs/Breadcrumbs.js +53 -67
- package/Breadcrumbs/Breadcrumbs.js.map +1 -0
- package/Breadcrumbs/ConnectedBreadcrumbs.d.ts +2 -0
- package/Breadcrumbs/ConnectedBreadcrumbs.js +52 -73
- package/Breadcrumbs/ConnectedBreadcrumbs.js.map +1 -0
- package/Breadcrumbs/index.d.ts +2 -0
- package/Breadcrumbs/index.js +12 -28
- package/Breadcrumbs/index.js.map +1 -0
- package/Breadcrumbs/package.json +1 -1
- package/BulkSelect/BulkSelect.d.ts +23 -0
- package/BulkSelect/BulkSelect.js +75 -191
- package/BulkSelect/BulkSelect.js.map +1 -0
- package/BulkSelect/index.d.ts +2 -0
- package/BulkSelect/index.js +10 -20
- package/BulkSelect/index.js.map +1 -0
- package/BulkSelect/package.json +1 -1
- package/ConditionalFilter/CheckboxFilter.d.ts +38 -0
- package/ConditionalFilter/CheckboxFilter.js +145 -208
- package/ConditionalFilter/CheckboxFilter.js.map +1 -0
- package/ConditionalFilter/ConditionalFilter.d.ts +58 -0
- package/ConditionalFilter/ConditionalFilter.js +184 -262
- package/ConditionalFilter/ConditionalFilter.js.map +1 -0
- package/ConditionalFilter/GroupFilter.d.ts +47 -0
- package/ConditionalFilter/GroupFilter.js +151 -261
- package/ConditionalFilter/GroupFilter.js.map +1 -0
- package/ConditionalFilter/RadioFilter.d.ts +37 -0
- package/ConditionalFilter/RadioFilter.js +125 -167
- package/ConditionalFilter/RadioFilter.js.map +1 -0
- package/ConditionalFilter/TextFilter.d.ts +27 -0
- package/ConditionalFilter/TextFilter.js +102 -124
- package/ConditionalFilter/TextFilter.js.map +1 -0
- package/ConditionalFilter/conditionalFilterConstants.d.ts +19 -0
- package/ConditionalFilter/conditionalFilterConstants.js +22 -31
- package/ConditionalFilter/conditionalFilterConstants.js.map +1 -0
- package/ConditionalFilter/groupFilterConstants.d.ts +7 -0
- package/ConditionalFilter/groupFilterConstants.js +149 -187
- package/ConditionalFilter/groupFilterConstants.js.map +1 -0
- package/ConditionalFilter/groupType.d.ts +8 -0
- package/ConditionalFilter/groupType.js +8 -12
- package/ConditionalFilter/groupType.js.map +1 -0
- package/ConditionalFilter/index.d.ts +7 -0
- package/ConditionalFilter/index.js +30 -81
- package/ConditionalFilter/index.js.map +1 -0
- package/ConditionalFilter/package.json +1 -1
- package/CullingInfo/CullingInformation.d.ts +31 -0
- package/CullingInfo/CullingInformation.js +85 -102
- package/CullingInfo/CullingInformation.js.map +1 -0
- package/CullingInfo/index.d.ts +1 -0
- package/CullingInfo/index.js +10 -20
- package/CullingInfo/index.js.map +1 -0
- package/CullingInfo/package.json +1 -1
- package/Dark/Dark.d.ts +3 -0
- package/Dark/Dark.js +35 -0
- package/Dark/Dark.js.map +1 -0
- package/Dark/DarkContext.d.ts +4 -0
- package/Dark/DarkContext.js +7 -30
- package/Dark/DarkContext.js.map +1 -0
- package/Dark/index.d.ts +3 -3
- package/Dark/index.js +12 -28
- package/Dark/index.js.map +1 -0
- package/DateFormat/DateFormat.d.ts +16 -0
- package/DateFormat/DateFormat.js +20 -48
- package/DateFormat/DateFormat.js.map +1 -0
- package/DateFormat/helper.d.ts +3 -0
- package/DateFormat/helper.js +51 -99
- package/DateFormat/helper.js.map +1 -0
- package/DateFormat/index.d.ts +2 -0
- package/DateFormat/index.js +20 -36
- package/DateFormat/index.js.map +1 -0
- package/DateFormat/package.json +1 -1
- package/DownloadButton/DownloadButton.d.ts +10 -0
- package/DownloadButton/DownloadButton.js +66 -145
- package/DownloadButton/DownloadButton.js.map +1 -0
- package/DownloadButton/index.d.ts +2 -0
- package/DownloadButton/index.js +10 -20
- package/DownloadButton/index.js.map +1 -0
- package/DownloadButton/package.json +1 -1
- package/EmptyTable/EmptyTable.d.ts +15 -0
- package/EmptyTable/EmptyTable.js +42 -37
- package/EmptyTable/EmptyTable.js.map +1 -0
- package/EmptyTable/index.d.ts +2 -0
- package/EmptyTable/index.js +10 -22
- package/EmptyTable/index.js.map +1 -0
- package/EmptyTable/package.json +1 -1
- package/ErrorState/DefaultErrorMessage.d.ts +2 -0
- package/ErrorState/DefaultErrorMessage.js +16 -21
- package/ErrorState/DefaultErrorMessage.js.map +1 -0
- package/ErrorState/ErrorState.d.ts +9 -0
- package/ErrorState/ErrorState.js +41 -69
- package/ErrorState/ErrorState.js.map +1 -0
- package/ErrorState/index.d.ts +3 -0
- package/ErrorState/index.js +12 -28
- package/ErrorState/index.js.map +1 -0
- package/ErrorState/package.json +1 -1
- package/FilterChips/FilterChips.d.ts +39 -0
- package/FilterChips/FilterChips.js +71 -117
- package/FilterChips/FilterChips.js.map +1 -0
- package/FilterChips/index.d.ts +1 -0
- package/FilterChips/index.js +10 -20
- package/FilterChips/index.js.map +1 -0
- package/FilterChips/package.json +1 -1
- package/FilterHooks/constants.d.ts +68 -0
- package/FilterHooks/constants.js +110 -129
- package/FilterHooks/constants.js.map +1 -0
- package/FilterHooks/index.d.ts +3 -0
- package/FilterHooks/index.js +17 -39
- package/FilterHooks/index.js.map +1 -0
- package/FilterHooks/package.json +1 -1
- package/FilterHooks/tagFilterHook.d.ts +20 -0
- package/FilterHooks/tagFilterHook.js +118 -146
- package/FilterHooks/tagFilterHook.js.map +1 -0
- package/Filters/FilterDropdown.d.ts +43 -0
- package/Filters/FilterDropdown.js +105 -159
- package/Filters/FilterDropdown.js.map +1 -0
- package/Filters/FilterInput.d.ts +37 -0
- package/Filters/FilterInput.js +109 -164
- package/Filters/FilterInput.js.map +1 -0
- package/Filters/index.d.ts +2 -0
- package/Filters/index.js +10 -22
- package/Filters/index.js.map +1 -0
- package/Filters/package.json +1 -1
- package/Input/Input.d.ts +23 -0
- package/Input/Input.js +44 -50
- package/Input/Input.js.map +1 -0
- package/Input/LabeledInput.d.ts +17 -0
- package/Input/LabeledInput.js +43 -44
- package/Input/LabeledInput.js.map +1 -0
- package/Input/index.d.ts +2 -0
- package/Input/index.js +12 -28
- package/Input/index.js.map +1 -0
- package/Input/package.json +1 -1
- package/InsightsLabel/CriticalIcon.d.ts +3 -0
- package/InsightsLabel/CriticalIcon.js +9 -22
- package/InsightsLabel/CriticalIcon.js.map +1 -0
- package/InsightsLabel/InsightsLabel.d.ts +14 -0
- package/InsightsLabel/InsightsLabel.js +42 -67
- package/InsightsLabel/InsightsLabel.js.map +1 -0
- package/InsightsLabel/index.d.ts +3 -0
- package/InsightsLabel/index.js +12 -28
- package/InsightsLabel/index.js.map +1 -0
- package/InsightsLabel/package.json +1 -1
- package/InvalidObject/InvalidObject.d.ts +4 -0
- package/InvalidObject/InvalidObject.js +40 -42
- package/InvalidObject/InvalidObject.js.map +1 -0
- package/InvalidObject/icon-404.d.ts +4 -0
- package/InvalidObject/icon-404.js +50 -202
- package/InvalidObject/icon-404.js.map +1 -0
- package/InvalidObject/index.d.ts +3 -0
- package/InvalidObject/index.js +12 -28
- package/InvalidObject/index.js.map +1 -0
- package/InvalidObject/package.json +1 -1
- package/Inventory/AppInfo.d.ts +3 -0
- package/Inventory/AppInfo.js +61 -73
- package/Inventory/AppInfo.js.map +1 -0
- package/Inventory/DetailWrapper.d.ts +3 -0
- package/Inventory/DetailWrapper.js +61 -73
- package/Inventory/DetailWrapper.js.map +1 -0
- package/Inventory/InventoryDetail.d.ts +3 -0
- package/Inventory/InventoryDetail.js +61 -73
- package/Inventory/InventoryDetail.js.map +1 -0
- package/Inventory/InventoryDetailHead.d.ts +3 -0
- package/Inventory/InventoryDetailHead.js +61 -73
- package/Inventory/InventoryDetailHead.js.map +1 -0
- package/Inventory/InventoryLoadError.d.ts +6 -0
- package/Inventory/InventoryLoadError.js +43 -31
- package/Inventory/InventoryLoadError.js.map +1 -0
- package/Inventory/InventoryTable.d.ts +3 -0
- package/Inventory/InventoryTable.js +61 -73
- package/Inventory/InventoryTable.js.map +1 -0
- package/Inventory/TagWithDialog.d.ts +3 -0
- package/Inventory/TagWithDialog.js +61 -78
- package/Inventory/TagWithDialog.js.map +1 -0
- package/Inventory/index.d.ts +7 -0
- package/Inventory/index.js +20 -62
- package/Inventory/index.js.map +1 -0
- package/Inventory/package.json +1 -1
- package/LongTextTooltip/LongTextTooltip.d.ts +25 -0
- package/LongTextTooltip/LongTextTooltip.js +68 -75
- package/LongTextTooltip/LongTextTooltip.js.map +1 -0
- package/LongTextTooltip/index.d.ts +2 -0
- package/LongTextTooltip/index.js +10 -22
- package/LongTextTooltip/index.js.map +1 -0
- package/LongTextTooltip/package.json +1 -1
- package/Main/Main.d.ts +25 -0
- package/Main/Main.js +86 -150
- package/Main/Main.js.map +1 -0
- package/Main/index.js +10 -20
- package/Main/index.js.map +1 -0
- package/Maintenance/Maintenance.d.ts +15 -0
- package/Maintenance/Maintenance.js +55 -77
- package/Maintenance/Maintenance.js.map +1 -0
- package/Maintenance/index.d.ts +2 -0
- package/Maintenance/index.js +10 -20
- package/Maintenance/index.js.map +1 -0
- package/Maintenance/package.json +1 -1
- package/NotAuthorized/NotAuthorized.d.ts +16 -0
- package/NotAuthorized/NotAuthorized.js +43 -97
- package/NotAuthorized/NotAuthorized.js.map +1 -0
- package/NotAuthorized/index.d.ts +2 -0
- package/NotAuthorized/index.js +10 -20
- package/NotAuthorized/index.js.map +1 -0
- package/NotAuthorized/package.json +1 -1
- package/NotConnected/NotConnected.d.ts +22 -0
- package/NotConnected/NotConnected.js +23 -50
- package/NotConnected/NotConnected.js.map +1 -0
- package/NotConnected/index.d.ts +1 -0
- package/NotConnected/index.js +10 -20
- package/NotConnected/index.js.map +1 -0
- package/NotConnected/package.json +1 -1
- package/PageHeader/PageHeader.d.ts +7 -0
- package/PageHeader/PageHeader.js +40 -46
- package/PageHeader/PageHeader.js.map +1 -0
- package/PageHeader/PageHeaderTitle.d.ts +7 -0
- package/PageHeader/PageHeaderTitle.js +13 -36
- package/PageHeader/PageHeaderTitle.js.map +1 -0
- package/PageHeader/index.js +12 -28
- package/PageHeader/index.js.map +1 -0
- package/Pagination/Pagination.d.ts +32 -0
- package/Pagination/Pagination.js +109 -139
- package/Pagination/Pagination.js.map +1 -0
- package/Pagination/PaginationMenu.d.ts +34 -0
- package/Pagination/PaginationMenu.js +125 -154
- package/Pagination/PaginationMenu.js.map +1 -0
- package/Pagination/PaginationNav.d.ts +39 -0
- package/Pagination/PaginationNav.js +78 -125
- package/Pagination/PaginationNav.js.map +1 -0
- package/Pagination/PaginationNext.d.ts +31 -0
- package/Pagination/PaginationNext.js +97 -118
- package/Pagination/PaginationNext.js.map +1 -0
- package/Pagination/index.d.ts +5 -0
- package/Pagination/index.js +26 -68
- package/Pagination/index.js.map +1 -0
- package/Pagination/package.json +1 -1
- package/PrimaryToolbar/Actions.d.ts +31 -0
- package/PrimaryToolbar/Actions.js +128 -187
- package/PrimaryToolbar/Actions.js.map +1 -0
- package/PrimaryToolbar/PrimaryToolbar.d.ts +78 -0
- package/PrimaryToolbar/PrimaryToolbar.js +146 -188
- package/PrimaryToolbar/PrimaryToolbar.js.map +1 -0
- package/PrimaryToolbar/SortBy.d.ts +20 -0
- package/PrimaryToolbar/SortBy.js +21 -45
- package/PrimaryToolbar/SortBy.js.map +1 -0
- package/PrimaryToolbar/index.d.ts +4 -0
- package/PrimaryToolbar/index.js +24 -58
- package/PrimaryToolbar/index.js.map +1 -0
- package/PrimaryToolbar/package.json +1 -1
- package/Reboot/Reboot.d.ts +13 -0
- package/Reboot/Reboot.js +42 -37
- package/Reboot/Reboot.js.map +1 -0
- package/Reboot/index.d.ts +1 -0
- package/Reboot/index.js +10 -20
- package/Reboot/index.js.map +1 -0
- package/Reboot/package.json +1 -1
- package/Section/Section.d.ts +8 -0
- package/Section/Section.js +38 -38
- package/Section/Section.js.map +1 -0
- package/Section/index.js +10 -20
- package/Section/index.js.map +1 -0
- package/Shield/Shield.d.ts +11 -0
- package/Shield/Shield.js +35 -57
- package/Shield/Shield.js.map +1 -0
- package/Shield/consts.d.ts +70 -0
- package/Shield/consts.js +70 -82
- package/Shield/consts.js.map +1 -0
- package/Shield/index.d.ts +3 -0
- package/Shield/index.js +20 -36
- package/Shield/index.js.map +1 -0
- package/Shield/package.json +1 -1
- package/SimpleTableFilter/SimpleTableFilter.d.ts +47 -0
- package/SimpleTableFilter/SimpleTableFilter.js +135 -188
- package/SimpleTableFilter/SimpleTableFilter.js.map +1 -0
- package/SimpleTableFilter/index.d.ts +1 -0
- package/SimpleTableFilter/index.js +10 -20
- package/SimpleTableFilter/index.js.map +1 -0
- package/SimpleTableFilter/package.json +1 -1
- package/Skeleton/Skeleton.d.ts +15 -0
- package/Skeleton/Skeleton.js +36 -50
- package/Skeleton/Skeleton.js.map +1 -0
- package/Skeleton/index.js +11 -30
- package/Skeleton/index.js.map +1 -0
- package/SkeletonTable/SkeletonTable.d.ts +51 -0
- package/SkeletonTable/SkeletonTable.js +93 -155
- package/SkeletonTable/SkeletonTable.js.map +1 -0
- package/SkeletonTable/index.d.ts +1 -0
- package/SkeletonTable/index.js +10 -20
- package/SkeletonTable/index.js.map +1 -0
- package/SkeletonTable/package.json +1 -1
- package/Spinner/Spinner.d.ts +8 -0
- package/Spinner/Spinner.js +36 -39
- package/Spinner/Spinner.js.map +1 -0
- package/Spinner/index.js +10 -20
- package/Spinner/index.js.map +1 -0
- package/TabLayout/TabLayout.d.ts +28 -0
- package/TabLayout/TabLayout.js +46 -61
- package/TabLayout/TabLayout.js.map +1 -0
- package/TabLayout/index.d.ts +1 -0
- package/TabLayout/index.js +10 -20
- package/TabLayout/index.js.map +1 -0
- package/TabLayout/package.json +1 -1
- package/TableToolbar/TableToolbar.d.ts +27 -0
- package/TableToolbar/TableToolbar.js +83 -73
- package/TableToolbar/TableToolbar.js.map +1 -0
- package/TableToolbar/index.d.ts +2 -0
- package/TableToolbar/index.js +10 -22
- package/TableToolbar/index.js.map +1 -0
- package/TableToolbar/package.json +1 -1
- package/TagCount/TagCount.d.ts +10 -0
- package/TagCount/TagCount.js +36 -50
- package/TagCount/TagCount.js.map +1 -0
- package/TagCount/index.d.ts +2 -0
- package/TagCount/index.js +10 -20
- package/TagCount/index.js.map +1 -0
- package/TagCount/package.json +1 -1
- package/TagModal/TableWithFilter.d.ts +45 -0
- package/TagModal/TableWithFilter.js +148 -201
- package/TagModal/TableWithFilter.js.map +1 -0
- package/TagModal/TagModal.d.ts +54 -0
- package/TagModal/TagModal.js +153 -228
- package/TagModal/TagModal.js.map +1 -0
- package/TagModal/index.d.ts +2 -0
- package/TagModal/index.js +12 -28
- package/TagModal/index.js.map +1 -0
- package/TagModal/package.json +1 -1
- package/TreeTable/decorator.d.ts +14 -0
- package/TreeTable/decorator.js +44 -55
- package/TreeTable/decorator.js.map +1 -0
- package/TreeTable/helpers.d.ts +16 -0
- package/TreeTable/helpers.js +43 -55
- package/TreeTable/helpers.js.map +1 -0
- package/TreeTable/index.d.ts +4 -0
- package/TreeTable/index.js +22 -45
- package/TreeTable/index.js.map +1 -0
- package/TreeTable/package.json +1 -1
- package/TreeTable/rowWrapper.d.ts +18 -0
- package/TreeTable/rowWrapper.js +27 -51
- package/TreeTable/rowWrapper.js.map +1 -0
- package/Truncate/Truncate.d.ts +26 -0
- package/Truncate/Truncate.js +75 -116
- package/Truncate/Truncate.js.map +1 -0
- package/Truncate/index.d.ts +2 -0
- package/Truncate/index.js +10 -22
- package/Truncate/index.js.map +1 -0
- package/Truncate/package.json +1 -1
- package/Unavailable/Unavailable.d.ts +2 -0
- package/Unavailable/Unavailable.js +20 -38
- package/Unavailable/Unavailable.js.map +1 -0
- package/Unavailable/index.d.ts +1 -0
- package/Unavailable/index.js +10 -20
- package/Unavailable/index.js.map +1 -0
- package/Unavailable/package.json +1 -1
- package/Wizard/Wizard.d.ts +31 -0
- package/Wizard/Wizard.js +126 -170
- package/Wizard/Wizard.js.map +1 -0
- package/Wizard/index.d.ts +1 -0
- package/Wizard/index.js +10 -20
- package/Wizard/index.js.map +1 -0
- package/Wizard/package.json +1 -1
- package/esm/Ansible/Ansible.js +49 -74
- package/esm/Ansible/Ansible.js.map +1 -0
- package/esm/Ansible/ansible.css +19 -0
- package/esm/Ansible/ansible.scss +14 -0
- package/esm/Ansible/index.js +2 -1
- package/esm/Ansible/index.js.map +1 -0
- package/esm/AsyncComponent/index.js +39 -67
- package/esm/AsyncComponent/index.js.map +1 -0
- package/esm/Battery/Battery.js +72 -99
- package/esm/Battery/Battery.js.map +1 -0
- package/esm/Battery/CriticalBattery.js +3 -12
- package/esm/Battery/CriticalBattery.js.map +1 -0
- package/esm/Battery/HighBattery.js +3 -9
- package/esm/Battery/HighBattery.js.map +1 -0
- package/esm/Battery/LowBattery.js +3 -9
- package/esm/Battery/LowBattery.js.map +1 -0
- package/esm/Battery/MediumBattery.js +3 -9
- package/esm/Battery/MediumBattery.js.map +1 -0
- package/esm/Battery/NullBattery.js +3 -9
- package/esm/Battery/NullBattery.js.map +1 -0
- package/esm/Battery/battery.css +35 -0
- package/esm/Battery/battery.scss +47 -0
- package/esm/Battery/index.js +2 -1
- package/esm/Battery/index.js.map +1 -0
- package/esm/Breadcrumbs/Breadcrumbs.js +46 -50
- package/esm/Breadcrumbs/Breadcrumbs.js.map +1 -0
- package/esm/Breadcrumbs/ConnectedBreadcrumbs.js +45 -52
- package/esm/Breadcrumbs/ConnectedBreadcrumbs.js.map +1 -0
- package/esm/Breadcrumbs/index.js +2 -1
- package/esm/Breadcrumbs/index.js.map +1 -0
- package/esm/BulkSelect/BulkSelect.js +53 -166
- package/esm/BulkSelect/BulkSelect.js.map +1 -0
- package/esm/BulkSelect/bulk-select.css +15 -0
- package/esm/BulkSelect/bulk-select.scss +19 -0
- package/esm/BulkSelect/index.js +2 -1
- package/esm/BulkSelect/index.js.map +1 -0
- package/esm/ConditionalFilter/CheckboxFilter.js +120 -183
- package/esm/ConditionalFilter/CheckboxFilter.js.map +1 -0
- package/esm/ConditionalFilter/ConditionalFilter.js +154 -225
- package/esm/ConditionalFilter/ConditionalFilter.js.map +1 -0
- package/esm/ConditionalFilter/GroupFilter.js +124 -222
- package/esm/ConditionalFilter/GroupFilter.js.map +1 -0
- package/esm/ConditionalFilter/RadioFilter.js +100 -143
- package/esm/ConditionalFilter/RadioFilter.js.map +1 -0
- package/esm/ConditionalFilter/TextFilter.js +79 -102
- package/esm/ConditionalFilter/TextFilter.js.map +1 -0
- package/esm/ConditionalFilter/conditional-filter.css +93 -0
- package/esm/ConditionalFilter/conditional-filter.scss +110 -0
- package/esm/ConditionalFilter/conditionalFilterConstants.js +12 -11
- package/esm/ConditionalFilter/conditionalFilterConstants.js.map +1 -0
- package/esm/ConditionalFilter/group-filter.css +19 -0
- package/esm/ConditionalFilter/group-filter.scss +23 -0
- package/esm/ConditionalFilter/groupFilterConstants.js +143 -165
- package/esm/ConditionalFilter/groupFilterConstants.js.map +1 -0
- package/esm/ConditionalFilter/groupType.js +7 -6
- package/esm/ConditionalFilter/groupType.js.map +1 -0
- package/esm/ConditionalFilter/index.js +2 -1
- package/esm/ConditionalFilter/index.js.map +1 -0
- package/esm/CullingInfo/CullingInformation.css +14 -0
- package/esm/CullingInfo/CullingInformation.js +79 -82
- package/esm/CullingInfo/CullingInformation.js.map +1 -0
- package/esm/CullingInfo/CullingInformation.scss +10 -0
- package/esm/CullingInfo/index.js +2 -1
- package/esm/CullingInfo/index.js.map +1 -0
- package/esm/Dark/Dark.js +30 -0
- package/esm/Dark/Dark.js.map +1 -0
- package/esm/Dark/DarkContext.js +3 -18
- package/esm/Dark/DarkContext.js.map +1 -0
- package/esm/Dark/index.js +4 -3
- package/esm/Dark/index.js.map +1 -0
- package/esm/DateFormat/DateFormat.js +12 -34
- package/esm/DateFormat/DateFormat.js.map +1 -0
- package/esm/DateFormat/helper.js +45 -82
- package/esm/DateFormat/helper.js.map +1 -0
- package/esm/DateFormat/index.js +2 -1
- package/esm/DateFormat/index.js.map +1 -0
- package/esm/DownloadButton/DownloadButton.js +47 -124
- package/esm/DownloadButton/DownloadButton.js.map +1 -0
- package/esm/DownloadButton/index.js +2 -1
- package/esm/DownloadButton/index.js.map +1 -0
- package/esm/EmptyTable/EmptyTable.css +14 -0
- package/esm/EmptyTable/EmptyTable.js +35 -20
- package/esm/EmptyTable/EmptyTable.js.map +1 -0
- package/esm/EmptyTable/EmptyTable.scss +11 -0
- package/esm/EmptyTable/index.js +2 -1
- package/esm/EmptyTable/index.js.map +1 -0
- package/esm/ErrorState/DefaultErrorMessage.js +11 -11
- package/esm/ErrorState/DefaultErrorMessage.js.map +1 -0
- package/esm/ErrorState/ErrorState.js +36 -48
- package/esm/ErrorState/ErrorState.js.map +1 -0
- package/esm/ErrorState/error-state.css +3 -0
- package/esm/ErrorState/error-state.scss +5 -0
- package/esm/ErrorState/index.js +2 -1
- package/esm/ErrorState/index.js.map +1 -0
- package/esm/FilterChips/FilterChips.js +65 -98
- package/esm/FilterChips/FilterChips.js.map +1 -0
- package/esm/FilterChips/filter-chips.css +12 -0
- package/esm/FilterChips/filter-chips.scss +15 -0
- package/esm/FilterChips/index.js +2 -1
- package/esm/FilterChips/index.js.map +1 -0
- package/esm/FilterHooks/constants.js +102 -112
- package/esm/FilterHooks/constants.js.map +1 -0
- package/esm/FilterHooks/index.js +2 -1
- package/esm/FilterHooks/index.js.map +1 -0
- package/esm/FilterHooks/tagFilterHook.css +22 -0
- package/esm/FilterHooks/tagFilterHook.js +97 -120
- package/esm/FilterHooks/tagFilterHook.js.map +1 -0
- package/esm/FilterHooks/tagFilterHook.scss +21 -0
- package/esm/Filters/FilterDropdown.js +80 -134
- package/esm/Filters/FilterDropdown.js.map +1 -0
- package/esm/Filters/FilterInput.js +85 -143
- package/esm/Filters/FilterInput.js.map +1 -0
- package/esm/Filters/filter-dropdown.css +8 -0
- package/esm/Filters/filter-dropdown.scss +10 -0
- package/esm/Filters/index.js +2 -1
- package/esm/Filters/index.js.map +1 -0
- package/esm/Input/Input.js +36 -32
- package/esm/Input/Input.js.map +1 -0
- package/esm/Input/LabeledInput.js +35 -27
- package/esm/Input/LabeledInput.js.map +1 -0
- package/esm/Input/index.js +2 -1
- package/esm/Input/index.js.map +1 -0
- package/esm/InsightsLabel/CriticalIcon.js +5 -12
- package/esm/InsightsLabel/CriticalIcon.js.map +1 -0
- package/esm/InsightsLabel/InsightsLabel.js +36 -46
- package/esm/InsightsLabel/InsightsLabel.js.map +1 -0
- package/esm/InsightsLabel/critical-icon.css +8 -0
- package/esm/InsightsLabel/critical-icon.scss +8 -0
- package/esm/InsightsLabel/index.js +2 -1
- package/esm/InsightsLabel/index.js.map +1 -0
- package/esm/InsightsLabel/labels.css +54 -0
- package/esm/InsightsLabel/labels.scss +54 -0
- package/esm/InvalidObject/InvalidObject.js +35 -27
- package/esm/InvalidObject/InvalidObject.js.map +1 -0
- package/esm/InvalidObject/icon-404.css +15 -0
- package/esm/InvalidObject/icon-404.js +46 -192
- package/esm/InvalidObject/icon-404.js.map +1 -0
- package/esm/InvalidObject/icon-404.scss +11 -0
- package/esm/InvalidObject/index.js +2 -1
- package/esm/InvalidObject/index.js.map +1 -0
- package/esm/InvalidObject/invalidObject.css +22 -0
- package/esm/InvalidObject/invalidObject.scss +15 -0
- package/esm/Inventory/AppInfo.js +33 -44
- package/esm/Inventory/AppInfo.js.map +1 -0
- package/esm/Inventory/DetailWrapper.js +33 -44
- package/esm/Inventory/DetailWrapper.js.map +1 -0
- package/esm/Inventory/InventoryDetail.js +33 -44
- package/esm/Inventory/InventoryDetail.js.map +1 -0
- package/esm/Inventory/InventoryDetailHead.js +33 -44
- package/esm/Inventory/InventoryDetailHead.js.map +1 -0
- package/esm/Inventory/InventoryLoadError.js +24 -16
- package/esm/Inventory/InventoryLoadError.js.map +1 -0
- package/esm/Inventory/InventoryTable.js +33 -44
- package/esm/Inventory/InventoryTable.js.map +1 -0
- package/esm/Inventory/TagWithDialog.js +33 -49
- package/esm/Inventory/TagWithDialog.js.map +1 -0
- package/esm/Inventory/index.js +2 -1
- package/esm/Inventory/index.js.map +1 -0
- package/esm/LongTextTooltip/LongTextTooltip.js +62 -59
- package/esm/LongTextTooltip/LongTextTooltip.js.map +1 -0
- package/esm/LongTextTooltip/index.js +2 -1
- package/esm/LongTextTooltip/index.js.map +1 -0
- package/esm/Main/Main.js +79 -119
- package/esm/Main/Main.js.map +1 -0
- package/esm/Main/index.js +2 -1
- package/esm/Main/index.js.map +1 -0
- package/esm/Main/main.css +3 -0
- package/esm/Main/main.scss +3 -0
- package/esm/Maintenance/Maintenance.js +51 -57
- package/esm/Maintenance/Maintenance.js.map +1 -0
- package/esm/Maintenance/index.js +2 -1
- package/esm/Maintenance/index.js.map +1 -0
- package/esm/Maintenance/maintenance.css +9 -0
- package/esm/Maintenance/maintenance.scss +7 -0
- package/esm/NotAuthorized/NotAuthorized.css +5 -0
- package/esm/NotAuthorized/NotAuthorized.js +40 -81
- package/esm/NotAuthorized/NotAuthorized.js.map +1 -0
- package/esm/NotAuthorized/NotAuthorized.scss +7 -0
- package/esm/NotAuthorized/index.js +2 -1
- package/esm/NotAuthorized/index.js.map +1 -0
- package/esm/NotConnected/NotConnected.js +17 -32
- package/esm/NotConnected/NotConnected.js.map +1 -0
- package/esm/NotConnected/index.js +2 -1
- package/esm/NotConnected/index.js.map +1 -0
- package/esm/PageHeader/PageHeader.js +34 -29
- package/esm/PageHeader/PageHeader.js.map +1 -0
- package/esm/PageHeader/PageHeaderTitle.js +6 -21
- package/esm/PageHeader/PageHeaderTitle.js.map +1 -0
- package/esm/PageHeader/index.js +2 -1
- package/esm/PageHeader/index.js.map +1 -0
- package/esm/PageHeader/page-header.css +13 -0
- package/esm/PageHeader/page-header.scss +12 -0
- package/esm/Pagination/Pagination.js +82 -113
- package/esm/Pagination/Pagination.js.map +1 -0
- package/esm/Pagination/PaginationMenu.js +101 -129
- package/esm/Pagination/PaginationMenu.js.map +1 -0
- package/esm/Pagination/PaginationNav.js +72 -107
- package/esm/Pagination/PaginationNav.js.map +1 -0
- package/esm/Pagination/PaginationNext.js +71 -94
- package/esm/Pagination/PaginationNext.js.map +1 -0
- package/esm/Pagination/index.js +2 -1
- package/esm/Pagination/index.js.map +1 -0
- package/esm/Pagination/pagination.css +580 -0
- package/esm/Pagination/pagination.scss +15 -0
- package/esm/PrimaryToolbar/Actions.js +104 -154
- package/esm/PrimaryToolbar/Actions.js.map +1 -0
- package/esm/PrimaryToolbar/PrimaryToolbar.js +117 -146
- package/esm/PrimaryToolbar/PrimaryToolbar.js.map +1 -0
- package/esm/PrimaryToolbar/SortBy.js +12 -26
- package/esm/PrimaryToolbar/SortBy.js.map +1 -0
- package/esm/PrimaryToolbar/index.js +2 -1
- package/esm/PrimaryToolbar/index.js.map +1 -0
- package/esm/PrimaryToolbar/primary-toolbar.css +49 -0
- package/esm/PrimaryToolbar/primary-toolbar.scss +64 -0
- package/esm/Reboot/Reboot.js +35 -19
- package/esm/Reboot/Reboot.js.map +1 -0
- package/esm/Reboot/index.js +2 -1
- package/esm/Reboot/index.js.map +1 -0
- package/esm/Reboot/reboot.css +11 -0
- package/esm/Reboot/reboot.scss +12 -0
- package/esm/Section/Section.js +32 -22
- package/esm/Section/Section.js.map +1 -0
- package/esm/Section/index.js +2 -1
- package/esm/Section/index.js.map +1 -0
- package/esm/Section/section.css +35 -0
- package/esm/Section/section.scss +27 -0
- package/esm/Shield/Shield.js +31 -41
- package/esm/Shield/Shield.js.map +1 -0
- package/esm/Shield/consts.js +67 -73
- package/esm/Shield/consts.js.map +1 -0
- package/esm/Shield/index.js +2 -1
- package/esm/Shield/index.js.map +1 -0
- package/esm/SimpleTableFilter/SimpleTableFilter.js +111 -166
- package/esm/SimpleTableFilter/SimpleTableFilter.js.map +1 -0
- package/esm/SimpleTableFilter/index.js +2 -1
- package/esm/SimpleTableFilter/index.js.map +1 -0
- package/esm/SimpleTableFilter/simple-table-filter.css +356 -0
- package/esm/SimpleTableFilter/simple-table-filter.scss +18 -0
- package/esm/Skeleton/Skeleton.js +30 -32
- package/esm/Skeleton/Skeleton.js.map +1 -0
- package/esm/Skeleton/index.js +2 -1
- package/esm/Skeleton/index.js.map +1 -0
- package/esm/Skeleton/skeleton.css +24 -0
- package/esm/Skeleton/skeleton.scss +18 -0
- package/esm/SkeletonTable/SkeletonTable.css +3 -0
- package/esm/SkeletonTable/SkeletonTable.js +85 -137
- package/esm/SkeletonTable/SkeletonTable.js.map +1 -0
- package/esm/SkeletonTable/SkeletonTable.scss +3 -0
- package/esm/SkeletonTable/index.js +2 -1
- package/esm/SkeletonTable/index.js.map +1 -0
- package/esm/Spinner/Spinner.js +31 -24
- package/esm/Spinner/Spinner.js.map +1 -0
- package/esm/Spinner/index.js +2 -1
- package/esm/Spinner/index.js.map +1 -0
- package/esm/Spinner/spinner.css +27 -0
- package/esm/Spinner/spinner.scss +24 -0
- package/esm/TabLayout/TabLayout.js +40 -46
- package/esm/TabLayout/TabLayout.js.map +1 -0
- package/esm/TabLayout/index.js +2 -1
- package/esm/TabLayout/index.js.map +1 -0
- package/esm/TabLayout/tab-layout.css +14 -0
- package/esm/TabLayout/tab-layout.scss +21 -0
- package/esm/TableToolbar/TableToolbar.css +36 -0
- package/esm/TableToolbar/TableToolbar.js +57 -48
- package/esm/TableToolbar/TableToolbar.js.map +1 -0
- package/esm/TableToolbar/TableToolbar.scss +28 -0
- package/esm/TableToolbar/index.js +2 -1
- package/esm/TableToolbar/index.js.map +1 -0
- package/esm/TagCount/TagCount.js +32 -36
- package/esm/TagCount/TagCount.js.map +1 -0
- package/esm/TagCount/index.js +2 -1
- package/esm/TagCount/index.js.map +1 -0
- package/esm/TagCount/tagCount.css +9 -0
- package/esm/TagCount/tagCount.scss +9 -0
- package/esm/TagModal/TableWithFilter.js +123 -168
- package/esm/TagModal/TableWithFilter.js.map +1 -0
- package/esm/TagModal/TagModal.js +128 -200
- package/esm/TagModal/TagModal.js.map +1 -0
- package/esm/TagModal/index.js +2 -1
- package/esm/TagModal/index.js.map +1 -0
- package/esm/TagModal/tagModal.css +3 -0
- package/esm/TagModal/tagModal.scss +3 -0
- package/esm/TreeTable/decorator.js +41 -42
- package/esm/TreeTable/decorator.js.map +1 -0
- package/esm/TreeTable/helpers.js +40 -42
- package/esm/TreeTable/helpers.js.map +1 -0
- package/esm/TreeTable/index.js +2 -1
- package/esm/TreeTable/index.js.map +1 -0
- package/esm/TreeTable/rowWrapper.js +21 -36
- package/esm/TreeTable/rowWrapper.js.map +1 -0
- package/esm/TreeTable/styles.css +338 -0
- package/esm/TreeTable/styles.scss +278 -0
- package/esm/Truncate/Truncate.js +50 -87
- package/esm/Truncate/Truncate.js.map +1 -0
- package/esm/Truncate/index.js +2 -1
- package/esm/Truncate/index.js.map +1 -0
- package/esm/Truncate/truncate.css +12 -0
- package/esm/Truncate/truncate.scss +5 -0
- package/esm/Unavailable/Unavailable.css +3 -0
- package/esm/Unavailable/Unavailable.js +16 -24
- package/esm/Unavailable/Unavailable.js.map +1 -0
- package/esm/Unavailable/Unavailable.scss +3 -0
- package/esm/Unavailable/index.js +2 -1
- package/esm/Unavailable/index.js.map +1 -0
- package/esm/Wizard/Wizard.js +102 -149
- package/esm/Wizard/Wizard.js.map +1 -0
- package/esm/Wizard/index.js +2 -1
- package/esm/Wizard/index.js.map +1 -0
- package/esm/Wizard/wizard.css +7 -0
- package/esm/Wizard/wizard.scss +7 -0
- package/esm/index.css +1902 -0
- package/esm/index.js +2 -1
- package/esm/index.js.map +1 -0
- package/esm/index.scss +32 -0
- package/esm/useChrome/index.js +2 -1
- package/esm/useChrome/index.js.map +1 -0
- package/esm/useChrome/useChrome.js +22 -23
- package/esm/useChrome/useChrome.js.map +1 -0
- package/esm/usePendoFeedback/index.js +2 -1
- package/esm/usePendoFeedback/index.js.map +1 -0
- package/esm/usePendoFeedback/usePendoFeedback.js +14 -18
- package/esm/usePendoFeedback/usePendoFeedback.js.map +1 -0
- package/esm/useScreenSize/breakpoints.js +8 -7
- package/esm/useScreenSize/breakpoints.js.map +1 -0
- package/esm/useScreenSize/getVariant.js +12 -20
- package/esm/useScreenSize/getVariant.js.map +1 -0
- package/esm/useScreenSize/index.js +2 -1
- package/esm/useScreenSize/index.js.map +1 -0
- package/esm/useScreenSize/isSmallScreen.js +3 -6
- package/esm/useScreenSize/isSmallScreen.js.map +1 -0
- package/esm/useScreenSize/useScreenSize.js +17 -29
- package/esm/useScreenSize/useScreenSize.js.map +1 -0
- package/index.d.ts +39 -0
- package/index.js +51 -511
- package/index.js.map +1 -0
- package/package.json +7 -6
- package/tsconfig.cjs.json +8 -0
- package/useChrome/index.d.ts +2 -0
- package/useChrome/index.js +10 -20
- package/useChrome/index.js.map +1 -0
- package/useChrome/package.json +1 -1
- package/useChrome/useChrome.d.ts +130 -0
- package/useChrome/useChrome.js +24 -33
- package/useChrome/useChrome.js.map +1 -0
- package/usePendoFeedback/index.d.ts +2 -0
- package/usePendoFeedback/index.js +10 -20
- package/usePendoFeedback/index.js.map +1 -0
- package/usePendoFeedback/package.json +1 -1
- package/usePendoFeedback/usePendoFeedback.d.ts +2 -0
- package/usePendoFeedback/usePendoFeedback.js +18 -27
- package/usePendoFeedback/usePendoFeedback.js.map +1 -0
- package/useScreenSize/breakpoints.d.ts +9 -0
- package/useScreenSize/breakpoints.js +18 -28
- package/useScreenSize/breakpoints.js.map +1 -0
- package/useScreenSize/getVariant.d.ts +2 -0
- package/useScreenSize/getVariant.js +17 -31
- package/useScreenSize/getVariant.js.map +1 -0
- package/useScreenSize/index.d.ts +5 -0
- package/useScreenSize/index.js +16 -44
- package/useScreenSize/index.js.map +1 -0
- package/useScreenSize/isSmallScreen.d.ts +3 -0
- package/useScreenSize/isSmallScreen.js +7 -15
- package/useScreenSize/isSmallScreen.js.map +1 -0
- package/useScreenSize/package.json +1 -1
- package/useScreenSize/useScreenSize.d.ts +2 -0
- package/useScreenSize/useScreenSize.js +23 -42
- package/useScreenSize/useScreenSize.js.map +1 -0
- package/Dark/configContext.js +0 -15
- package/esm/Dark/configContext.js +0 -3
|
@@ -1,102 +1,48 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
|
-
|
|
14
|
-
var _react = _interopRequireDefault(require("react"));
|
|
15
|
-
|
|
16
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
17
|
-
|
|
18
|
-
var _Title = require("@patternfly/react-core/dist/js/components/Title/Title.js");
|
|
19
|
-
|
|
20
|
-
var _Button = require("@patternfly/react-core/dist/js/components/Button/Button.js");
|
|
21
|
-
|
|
22
|
-
var _EmptyState = require("@patternfly/react-core/dist/js/components/EmptyState/EmptyState.js");
|
|
23
|
-
|
|
24
|
-
var _EmptyStateIcon = require("@patternfly/react-core/dist/js/components/EmptyState/EmptyStateIcon.js");
|
|
25
|
-
|
|
26
|
-
var _EmptyStateBody = require("@patternfly/react-core/dist/js/components/EmptyState/EmptyStateBody.js");
|
|
27
|
-
|
|
28
|
-
var _lockIcon = _interopRequireDefault(require("@patternfly/react-icons/dist/js/icons/lock-icon"));
|
|
29
|
-
|
|
30
|
-
require("./NotAuthorized.css");
|
|
31
|
-
|
|
32
|
-
var ContactBody = function ContactBody() {
|
|
33
|
-
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, "Contact your organization administrator(s) for more information or visit\xA0", /*#__PURE__*/_react["default"].createElement("a", {
|
|
34
|
-
href: "./settings/my-user-access"
|
|
35
|
-
}, "My User Access"), "\xA0 to learn more about your permissions.");
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
var NotAuthorized = function NotAuthorized(_ref) {
|
|
39
|
-
var prevPageButtonText = _ref.prevPageButtonText,
|
|
40
|
-
toLandingPageText = _ref.toLandingPageText,
|
|
41
|
-
title = _ref.title,
|
|
42
|
-
actions = _ref.actions,
|
|
43
|
-
serviceName = _ref.serviceName,
|
|
44
|
-
Icon = _ref.icon,
|
|
45
|
-
description = _ref.description,
|
|
46
|
-
showReturnButton = _ref.showReturnButton,
|
|
47
|
-
className = _ref.className,
|
|
48
|
-
props = (0, _objectWithoutProperties2["default"])(_ref, ["prevPageButtonText", "toLandingPageText", "title", "actions", "serviceName", "icon", "description", "showReturnButton", "className"]);
|
|
49
|
-
var heading = title || "You do not have access to ".concat(serviceName);
|
|
50
|
-
return /*#__PURE__*/_react["default"].createElement(_EmptyState.EmptyState, (0, _extends2["default"])({
|
|
51
|
-
variant: _EmptyState.EmptyStateVariant.full,
|
|
52
|
-
className: "ins-c-not-authorized ".concat(className || '')
|
|
53
|
-
}, props), /*#__PURE__*/_react["default"].createElement(_EmptyStateIcon.EmptyStateIcon, {
|
|
54
|
-
icon: Icon
|
|
55
|
-
}), /*#__PURE__*/_react["default"].createElement(_Title.Title, {
|
|
56
|
-
headingLevel: "h5",
|
|
57
|
-
size: "lg"
|
|
58
|
-
}, heading), /*#__PURE__*/_react["default"].createElement(_EmptyStateBody.EmptyStateBody, null, description), actions, showReturnButton && (document.referrer ? /*#__PURE__*/_react["default"].createElement(_Button.Button, {
|
|
59
|
-
variant: "primary",
|
|
60
|
-
onClick: function onClick() {
|
|
61
|
-
return history.back();
|
|
62
|
-
}
|
|
63
|
-
}, prevPageButtonText) : /*#__PURE__*/_react["default"].createElement(_Button.Button, {
|
|
64
|
-
variant: "primary",
|
|
65
|
-
component: "a",
|
|
66
|
-
href: "."
|
|
67
|
-
}, toLandingPageText)));
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
68
12
|
};
|
|
69
|
-
|
|
70
|
-
var
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
return
|
|
79
|
-
}
|
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
+
t[p] = s[p];
|
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
+
t[p[i]] = s[p[i]];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
80
23
|
};
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
serviceName: serviceNamePropType,
|
|
84
|
-
icon: _propTypes["default"].func,
|
|
85
|
-
description: _propTypes["default"].node,
|
|
86
|
-
showReturnButton: _propTypes["default"].bool,
|
|
87
|
-
className: _propTypes["default"].string,
|
|
88
|
-
title: _propTypes["default"].node,
|
|
89
|
-
actions: _propTypes["default"].oneOfType([_propTypes["default"].node, _propTypes["default"].arrayOf(_propTypes["default"].node)]),
|
|
90
|
-
prevPageButtonText: _propTypes["default"].node,
|
|
91
|
-
toLandingPageText: _propTypes["default"].node
|
|
24
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
92
26
|
};
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
var react_1 = __importDefault(require("react"));
|
|
29
|
+
var react_core_1 = require("@patternfly/react-core");
|
|
30
|
+
var react_icons_1 = require("@patternfly/react-icons");
|
|
31
|
+
require("./NotAuthorized.css");
|
|
32
|
+
var ContactBody = function () { return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
33
|
+
"Contact your organization administrator(s) for more information or visit\u00A0",
|
|
34
|
+
react_1.default.createElement("a", { href: "./settings/my-user-access" }, "My User Access"),
|
|
35
|
+
"\u00A0 to learn more about your permissions.")); };
|
|
36
|
+
var NotAuthorized = function (_a) {
|
|
37
|
+
var _b = _a.prevPageButtonText, prevPageButtonText = _b === void 0 ? 'Return to previous page' : _b, _c = _a.toLandingPageText, toLandingPageText = _c === void 0 ? 'Go to landing page' : _c, title = _a.title, _d = _a.actions, actions = _d === void 0 ? null : _d, serviceName = _a.serviceName, _e = _a.icon, Icon = _e === void 0 ? react_icons_1.LockIcon : _e, _f = _a.description, description = _f === void 0 ? react_1.default.createElement(ContactBody, null) : _f, _g = _a.showReturnButton, showReturnButton = _g === void 0 ? true : _g, className = _a.className, props = __rest(_a, ["prevPageButtonText", "toLandingPageText", "title", "actions", "serviceName", "icon", "description", "showReturnButton", "className"]);
|
|
38
|
+
var heading = title || "You do not have access to ".concat(serviceName);
|
|
39
|
+
return (react_1.default.createElement(react_core_1.EmptyState, __assign({ variant: react_core_1.EmptyStateVariant.full, className: "ins-c-not-authorized ".concat(className || '') }, props),
|
|
40
|
+
react_1.default.createElement(react_core_1.EmptyStateIcon, { icon: Icon }),
|
|
41
|
+
react_1.default.createElement(react_core_1.Title, { headingLevel: "h5", size: "lg" }, heading),
|
|
42
|
+
react_1.default.createElement(react_core_1.EmptyStateBody, null, description),
|
|
43
|
+
actions,
|
|
44
|
+
showReturnButton &&
|
|
45
|
+
(document.referrer ? (react_1.default.createElement(react_core_1.Button, { variant: "primary", onClick: function () { return history.back(); } }, prevPageButtonText)) : (react_1.default.createElement(react_core_1.Button, { variant: "primary", component: "a", href: "." }, toLandingPageText)))));
|
|
100
46
|
};
|
|
101
|
-
|
|
102
|
-
|
|
47
|
+
exports.default = NotAuthorized;
|
|
48
|
+
//# sourceMappingURL=NotAuthorized.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotAuthorized.js","sourceRoot":"","sources":["../src/NotAuthorized/NotAuthorized.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAE1B,qDAAuI;AAEvI,uDAAmD;AAEnD,gCAA8B;AAc9B,IAAM,WAAW,GAAG,cAAM,OAAA,CACxB,8BAAC,eAAK,CAAC,QAAQ;;IAEb,qCAAG,IAAI,EAAE,2BAA2B,qBAAoB;mDACzC,CAClB,EALyB,CAKzB,CAAC;AAEF,IAAM,aAAa,GAAgD,UAAC,EAWnE;IAVC,IAAA,0BAA8C,EAA9C,kBAAkB,mBAAG,yBAAyB,KAAA,EAC9C,yBAAwC,EAAxC,iBAAiB,mBAAG,oBAAoB,KAAA,EACxC,KAAK,WAAA,EACL,eAAc,EAAd,OAAO,mBAAG,IAAI,KAAA,EACd,WAAW,iBAAA,EACX,YAAqB,EAAf,IAAI,mBAAG,sBAAQ,KAAA,EACrB,mBAA6B,EAA7B,WAAW,mBAAG,8BAAC,WAAW,OAAG,KAAA,EAC7B,wBAAuB,EAAvB,gBAAgB,mBAAG,IAAI,KAAA,EACvB,SAAS,eAAA,EACN,KAAK,cAV0D,sIAWnE,CADS;IAER,IAAM,OAAO,GAAG,KAAK,IAAI,oCAA6B,WAAW,CAAE,CAAC;IACpE,OAAO,CACL,8BAAC,uBAAU,aAAC,OAAO,EAAE,8BAAiB,CAAC,IAAI,EAAE,SAAS,EAAE,+BAAwB,SAAS,IAAI,EAAE,CAAE,IAAM,KAAK;QAC1G,8BAAC,2BAAc,IAAC,IAAI,EAAE,IAAI,GAAI;QAC9B,8BAAC,kBAAK,IAAC,YAAY,EAAC,IAAI,EAAC,IAAI,EAAC,IAAI,IAC/B,OAAO,CACF;QACR,8BAAC,2BAAc,QAAE,WAAW,CAAkB;QAC7C,OAAO;QACP,gBAAgB;YACf,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,CACnB,8BAAC,mBAAM,IAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAE,cAAM,OAAA,OAAO,CAAC,IAAI,EAAE,EAAd,CAAc,IACpD,kBAAkB,CACZ,CACV,CAAC,CAAC,CAAC,CACF,8BAAC,mBAAM,IAAC,OAAO,EAAC,SAAS,EAAC,SAAS,EAAC,GAAG,EAAC,IAAI,EAAC,GAAG,IAC7C,iBAAiB,CACX,CACV,CAAC,CACO,CACd,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,aAAa,CAAC"}
|
package/NotAuthorized/index.js
CHANGED
|
@@ -1,21 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "default", {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
Object.defineProperty(exports, "NotAuthorized", {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function get() {
|
|
17
|
-
return _NotAuthorized["default"];
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
var _NotAuthorized = _interopRequireDefault(require("./NotAuthorized"));
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.NotAuthorized = exports.default = void 0;
|
|
7
|
+
var NotAuthorized_1 = require("./NotAuthorized");
|
|
8
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(NotAuthorized_1).default; } });
|
|
9
|
+
var NotAuthorized_2 = require("./NotAuthorized");
|
|
10
|
+
Object.defineProperty(exports, "NotAuthorized", { enumerable: true, get: function () { return __importDefault(NotAuthorized_2).default; } });
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/NotAuthorized/index.ts"],"names":[],"mappings":";;;;;;AAAA,iDAA0C;AAAjC,yHAAA,OAAO,OAAA;AAChB,iDAA2D;AAAlD,+HAAA,OAAO,OAAiB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"main":"index.js","module":"../esm/NotAuthorized/index.js"}
|
|
1
|
+
{"main":"index.js","module":"../esm/NotAuthorized/index.js","typings":"index.d.ts"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export default NotConnected;
|
|
2
|
+
declare function NotConnected({ titleText, bodyText, buttonText }: {
|
|
3
|
+
titleText: any;
|
|
4
|
+
bodyText: any;
|
|
5
|
+
buttonText: any;
|
|
6
|
+
}): JSX.Element;
|
|
7
|
+
declare namespace NotConnected {
|
|
8
|
+
namespace propTypes {
|
|
9
|
+
const titleText: propTypes.Requireable<propTypes.ReactNodeLike>;
|
|
10
|
+
const bodyText: propTypes.Requireable<propTypes.ReactNodeLike>;
|
|
11
|
+
const buttonText: propTypes.Requireable<propTypes.ReactNodeLike>;
|
|
12
|
+
}
|
|
13
|
+
namespace defaultProps {
|
|
14
|
+
const titleText_1: string;
|
|
15
|
+
export { titleText_1 as titleText };
|
|
16
|
+
const bodyText_1: string;
|
|
17
|
+
export { bodyText_1 as bodyText };
|
|
18
|
+
const buttonText_1: string;
|
|
19
|
+
export { buttonText_1 as buttonText };
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
import propTypes_1 from "prop-types";
|
|
@@ -1,56 +1,29 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
var _EmptyStateBody = require("@patternfly/react-core/dist/js/components/EmptyState/EmptyStateBody.js");
|
|
19
|
-
|
|
20
|
-
var _Title = require("@patternfly/react-core/dist/js/components/Title/Title.js");
|
|
21
|
-
|
|
22
|
-
var _Button = require("@patternfly/react-core/dist/js/components/Button/Button.js");
|
|
23
|
-
|
|
24
|
-
var _disconnectedIcon = _interopRequireDefault(require("@patternfly/react-icons/dist/js/icons/disconnected-icon"));
|
|
25
|
-
|
|
26
|
-
var NotConnected = function NotConnected(_ref) {
|
|
27
|
-
var titleText = _ref.titleText,
|
|
28
|
-
bodyText = _ref.bodyText,
|
|
29
|
-
buttonText = _ref.buttonText;
|
|
30
|
-
return /*#__PURE__*/_react["default"].createElement(_EmptyState.EmptyState, null, /*#__PURE__*/_react["default"].createElement(_EmptyStateIcon.EmptyStateIcon, {
|
|
31
|
-
icon: _disconnectedIcon["default"]
|
|
32
|
-
}), /*#__PURE__*/_react["default"].createElement(_Title.Title, {
|
|
33
|
-
headingLevel: "h5",
|
|
34
|
-
size: "lg"
|
|
35
|
-
}, titleText), /*#__PURE__*/_react["default"].createElement(_EmptyStateBody.EmptyStateBody, null, bodyText), /*#__PURE__*/_react["default"].createElement(_Button.Button, {
|
|
36
|
-
variant: "primary",
|
|
37
|
-
component: "a",
|
|
38
|
-
href: "http://access.redhat.com/products/cloud_management_services_for_rhel#getstarted",
|
|
39
|
-
target: "_blank",
|
|
40
|
-
rel: "noopener noreferrer",
|
|
41
|
-
className: "pf-u-mt-lg"
|
|
42
|
-
}, buttonText));
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
var react_1 = __importDefault(require("react"));
|
|
7
|
+
var prop_types_1 = __importDefault(require("prop-types"));
|
|
8
|
+
var react_core_1 = require("@patternfly/react-core");
|
|
9
|
+
var react_icons_1 = require("@patternfly/react-icons");
|
|
10
|
+
var NotConnected = function (_a) {
|
|
11
|
+
var titleText = _a.titleText, bodyText = _a.bodyText, buttonText = _a.buttonText;
|
|
12
|
+
return (react_1.default.createElement(react_core_1.EmptyState, null,
|
|
13
|
+
react_1.default.createElement(react_core_1.EmptyStateIcon, { icon: react_icons_1.DisconnectedIcon }),
|
|
14
|
+
react_1.default.createElement(react_core_1.Title, { headingLevel: "h5", size: "lg" }, titleText),
|
|
15
|
+
react_1.default.createElement(react_core_1.EmptyStateBody, null, bodyText),
|
|
16
|
+
react_1.default.createElement(react_core_1.Button, { variant: "primary", component: "a", href: "http://access.redhat.com/products/cloud_management_services_for_rhel#getstarted", target: "_blank", rel: "noopener noreferrer", className: "pf-u-mt-lg" }, buttonText)));
|
|
43
17
|
};
|
|
44
|
-
|
|
45
18
|
NotConnected.propTypes = {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
19
|
+
titleText: prop_types_1.default.node,
|
|
20
|
+
bodyText: prop_types_1.default.node,
|
|
21
|
+
buttonText: prop_types_1.default.node,
|
|
49
22
|
};
|
|
50
23
|
NotConnected.defaultProps = {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
24
|
+
titleText: 'This system isn’t connected to Insights yet',
|
|
25
|
+
bodyText: 'To get started, activate the Insights client for this system.',
|
|
26
|
+
buttonText: 'Learn how to activate the Insights client',
|
|
54
27
|
};
|
|
55
|
-
|
|
56
|
-
|
|
28
|
+
exports.default = NotConnected;
|
|
29
|
+
//# sourceMappingURL=NotConnected.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotConnected.js","sourceRoot":"","sources":["../src/NotConnected/NotConnected.js"],"names":[],"mappings":";;;;;AAAA,gDAA0B;AAC1B,0DAAmC;AACnC,qDAAmG;AACnG,uDAA2D;AAE3D,IAAM,YAAY,GAAG,UAAC,EAAmC;QAAjC,SAAS,eAAA,EAAE,QAAQ,cAAA,EAAE,UAAU,gBAAA;IAAO,OAAA,CAC5D,8BAAC,uBAAU;QACT,8BAAC,2BAAc,IAAC,IAAI,EAAE,8BAAgB,GAAI;QAC1C,8BAAC,kBAAK,IAAC,YAAY,EAAC,IAAI,EAAC,IAAI,EAAC,IAAI,IAC/B,SAAS,CACJ;QACR,8BAAC,2BAAc,QAAE,QAAQ,CAAkB;QAC3C,8BAAC,mBAAM,IACL,OAAO,EAAC,SAAS,EACjB,SAAS,EAAC,GAAG,EACb,IAAI,EAAC,iFAAiF,EACtF,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,EACzB,SAAS,EAAC,YAAY,IAErB,UAAU,CACJ,CACE,CACd;AAlB6D,CAkB7D,CAAC;AAEF,YAAY,CAAC,SAAS,GAAG;IACvB,SAAS,EAAE,oBAAS,CAAC,IAAI;IACzB,QAAQ,EAAE,oBAAS,CAAC,IAAI;IACxB,UAAU,EAAE,oBAAS,CAAC,IAAI;CAC3B,CAAC;AAEF,YAAY,CAAC,YAAY,GAAG;IAC1B,SAAS,EAAE,6CAA6C;IACxD,QAAQ,EAAE,+DAA+D;IACzE,UAAU,EAAE,2CAA2C;CACxD,CAAC;AAEF,kBAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, default as NotConnected } from "./NotConnected";
|
package/NotConnected/index.js
CHANGED
|
@@ -1,21 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "default", {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
Object.defineProperty(exports, "NotConnected", {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function get() {
|
|
17
|
-
return _NotConnected["default"];
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
var _NotConnected = _interopRequireDefault(require("./NotConnected"));
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.NotConnected = exports.default = void 0;
|
|
7
|
+
var NotConnected_1 = require("./NotConnected");
|
|
8
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(NotConnected_1).default; } });
|
|
9
|
+
var NotConnected_2 = require("./NotConnected");
|
|
10
|
+
Object.defineProperty(exports, "NotConnected", { enumerable: true, get: function () { return __importDefault(NotConnected_2).default; } });
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/NotConnected/index.js"],"names":[],"mappings":";;;;;;AAAA,+CAAyC;AAAhC,wHAAA,OAAO,OAAA;AAChB,+CAAyD;AAAhD,6HAAA,OAAO,OAAgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"main":"index.js","module":"../esm/NotConnected/index.js"}
|
|
1
|
+
{"main":"index.js","module":"../esm/NotConnected/index.js","typings":"index.d.ts"}
|
package/PageHeader/PageHeader.js
CHANGED
|
@@ -1,49 +1,43 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
var
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
+
t[p] = s[p];
|
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
+
t[p[i]] = s[p[i]];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
var react_1 = __importDefault(require("react"));
|
|
29
|
+
var classnames_1 = __importDefault(require("classnames"));
|
|
30
|
+
var Dark_1 = require("../Dark");
|
|
24
31
|
require("./page-header.css");
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
var
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
return /*#__PURE__*/_react["default"].createElement(_configContext["default"].Consumer, null, function () {
|
|
35
|
-
var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'light';
|
|
36
|
-
var themeClasses = (0, _classnames["default"])((0, _defineProperty2["default"])({}, "pf-m-".concat(theme, "-200"), theme === 'dark'), (0, _defineProperty2["default"])({}, "pf-m-light", theme === 'light'));
|
|
37
|
-
return /*#__PURE__*/_react["default"].createElement("section", (0, _extends2["default"])({}, props, {
|
|
38
|
-
className: "".concat(pageHeaderClasses, " ").concat(themeClasses),
|
|
39
|
-
"widget-type": "InsightsPageHeader"
|
|
40
|
-
}), children);
|
|
41
|
-
});
|
|
32
|
+
var PageHeader = function (_a) {
|
|
33
|
+
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
|
34
|
+
var pageHeaderClasses = (0, classnames_1.default)(className, 'pf-l-page-header', 'pf-c-page-header', 'pf-l-page__main-section', 'pf-c-page__main-section');
|
|
35
|
+
return (react_1.default.createElement(Dark_1.DarkContext.Consumer, null, function (theme) {
|
|
36
|
+
var _a, _b;
|
|
37
|
+
if (theme === void 0) { theme = 'light'; }
|
|
38
|
+
var themeClasses = (0, classnames_1.default)((_a = {}, _a["pf-m-".concat(theme, "-200")] = theme === 'dark', _a), (_b = {}, _b["pf-m-light"] = theme === 'light', _b));
|
|
39
|
+
return (react_1.default.createElement("section", __assign({}, props, { className: "".concat(pageHeaderClasses, " ").concat(themeClasses), "widget-type": "InsightsPageHeader" }), children));
|
|
40
|
+
}));
|
|
42
41
|
};
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
exports["default"] = _default;
|
|
46
|
-
PageHeader.propTypes = {
|
|
47
|
-
children: _propTypes["default"].any.isRequired,
|
|
48
|
-
className: _propTypes["default"].string
|
|
49
|
-
};
|
|
42
|
+
exports.default = PageHeader;
|
|
43
|
+
//# sourceMappingURL=PageHeader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageHeader.js","sourceRoot":"","sources":["../src/PageHeader/PageHeader.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAC1B,0DAAoC;AAEpC,gCAAsC;AACtC,8BAA4B;AAS5B,IAAM,UAAU,GAA6C,UAAC,EAAiC;IAA/B,IAAA,SAAS,eAAA,EAAE,QAAQ,cAAA,EAAK,KAAK,cAA/B,yBAAiC,CAAF;IAC3F,IAAM,iBAAiB,GAAG,IAAA,oBAAU,EAAC,SAAS,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,yBAAyB,EAAE,yBAAyB,CAAC,CAAC;IAE9I,OAAO,CACL,8BAAC,kBAAW,CAAC,QAAQ,QAClB,UAAC,KAAe;;QAAf,sBAAA,EAAA,eAAe;QACf,IAAM,YAAY,GAAG,IAAA,oBAAU,YAAG,GAAC,eAAQ,KAAK,SAAM,IAAG,KAAK,KAAK,MAAM,iBAAM,GAAC,YAAY,IAAG,KAAK,KAAK,OAAO,MAAG,CAAC;QAEpH,OAAO,CACL,sDAAa,KAAK,IAAE,SAAS,EAAE,UAAG,iBAAiB,cAAI,YAAY,CAAE,iBAAc,oBAAoB,KACpG,QAAQ,CACD,CACX,CAAC;IACJ,CAAC,CACoB,CACxB,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TitleProps } from '@patternfly/react-core';
|
|
3
|
+
export interface PageHeaderTitleProps extends Omit<TitleProps, 'title' | 'headingLevel'> {
|
|
4
|
+
title: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
declare const PageHeaderTitle: React.FunctionComponent<PageHeaderTitleProps>;
|
|
7
|
+
export default PageHeaderTitle;
|
|
@@ -1,38 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports["default"] = void 0;
|
|
9
|
-
|
|
10
|
-
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
-
|
|
14
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
15
|
-
|
|
16
|
-
var _Title = require("@patternfly/react-core/dist/js/components/Title/Title.js");
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* This is the title section of the pageHeader
|
|
20
|
-
*/
|
|
21
|
-
var PageHeaderTitle = function PageHeaderTitle(_ref) {
|
|
22
|
-
var className = _ref.className,
|
|
23
|
-
title = _ref.title;
|
|
24
|
-
var pageHeaderTitleClasses = (0, _classnames["default"])(className);
|
|
25
|
-
return /*#__PURE__*/_react["default"].createElement(_Title.Title, {
|
|
26
|
-
headingLevel: "h1",
|
|
27
|
-
size: "2xl",
|
|
28
|
-
className: pageHeaderTitleClasses,
|
|
29
|
-
"widget-type": "InsightsPageHeaderTitle"
|
|
30
|
-
}, " ", title, " ");
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
31
4
|
};
|
|
32
|
-
|
|
33
|
-
var
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
var react_1 = __importDefault(require("react"));
|
|
7
|
+
var classnames_1 = __importDefault(require("classnames"));
|
|
8
|
+
var react_core_1 = require("@patternfly/react-core");
|
|
9
|
+
var PageHeaderTitle = function (_a) {
|
|
10
|
+
var className = _a.className, title = _a.title;
|
|
11
|
+
var pageHeaderTitleClasses = (0, classnames_1.default)(className);
|
|
12
|
+
return (react_1.default.createElement(react_core_1.Title, { headingLevel: "h1", size: "2xl", className: pageHeaderTitleClasses, "widget-type": "InsightsPageHeaderTitle" }, title));
|
|
13
|
+
};
|
|
14
|
+
exports.default = PageHeaderTitle;
|
|
15
|
+
//# sourceMappingURL=PageHeaderTitle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageHeaderTitle.js","sourceRoot":"","sources":["../src/PageHeader/PageHeaderTitle.tsx"],"names":[],"mappings":";;;;;AAAA,gDAA0B;AAC1B,0DAAoC;AACpC,qDAA2D;AAS3D,IAAM,eAAe,GAAkD,UAAC,EAAoB;QAAlB,SAAS,eAAA,EAAE,KAAK,WAAA;IACxF,IAAM,sBAAsB,GAAG,IAAA,oBAAU,EAAC,SAAS,CAAC,CAAC;IAErD,OAAO,CACL,8BAAC,kBAAK,IAAC,YAAY,EAAC,IAAI,EAAC,IAAI,EAAC,KAAK,EAAC,SAAS,EAAE,sBAAsB,iBAAc,yBAAyB,IACzG,KAAK,CACA,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,eAAe,CAAC"}
|
package/PageHeader/index.js
CHANGED
|
@@ -1,29 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "default", {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
Object.defineProperty(exports, "PageHeader", {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function get() {
|
|
17
|
-
return _PageHeader["default"];
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports, "PageHeaderTitle", {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
get: function get() {
|
|
23
|
-
return _PageHeaderTitle["default"];
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
var _PageHeader = _interopRequireDefault(require("./PageHeader"));
|
|
28
|
-
|
|
29
|
-
var _PageHeaderTitle = _interopRequireDefault(require("./PageHeaderTitle"));
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PageHeaderTitle = exports.PageHeader = exports.default = void 0;
|
|
7
|
+
var PageHeader_1 = require("./PageHeader");
|
|
8
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(PageHeader_1).default; } });
|
|
9
|
+
var PageHeader_2 = require("./PageHeader");
|
|
10
|
+
Object.defineProperty(exports, "PageHeader", { enumerable: true, get: function () { return __importDefault(PageHeader_2).default; } });
|
|
11
|
+
var PageHeaderTitle_1 = require("./PageHeaderTitle");
|
|
12
|
+
Object.defineProperty(exports, "PageHeaderTitle", { enumerable: true, get: function () { return __importDefault(PageHeaderTitle_1).default; } });
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/PageHeader/index.ts"],"names":[],"mappings":";;;;;;AAAA,2CAAuC;AAA9B,sHAAA,OAAO,OAAA;AAChB,2CAAqD;AAA5C,yHAAA,OAAO,OAAc;AAC9B,qDAA+D;AAAtD,mIAAA,OAAO,OAAmB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export namespace dropDirection {
|
|
2
|
+
const up: string;
|
|
3
|
+
const down: string;
|
|
4
|
+
}
|
|
5
|
+
export default Pagination;
|
|
6
|
+
declare class Pagination extends React.Component<any, any, any> {
|
|
7
|
+
constructor(props: any);
|
|
8
|
+
constructor(props: any, context: any);
|
|
9
|
+
setPage: (page: any, debounce: any) => void;
|
|
10
|
+
}
|
|
11
|
+
declare namespace Pagination {
|
|
12
|
+
namespace propTypes {
|
|
13
|
+
const direction: PropTypes.Requireable<string>;
|
|
14
|
+
const viewType: PropTypes.Requireable<string>;
|
|
15
|
+
const itemsPerPage: PropTypes.Requireable<number>;
|
|
16
|
+
const perPageOptions: PropTypes.Requireable<(number | null | undefined)[]>;
|
|
17
|
+
const numberOfItems: PropTypes.Validator<number>;
|
|
18
|
+
const onSetPage: PropTypes.Requireable<(...args: any[]) => any>;
|
|
19
|
+
const onPerPageSelect: PropTypes.Requireable<(...args: any[]) => any>;
|
|
20
|
+
const onFirstPage: PropTypes.Requireable<(...args: any[]) => any>;
|
|
21
|
+
const onLastPage: PropTypes.Requireable<(...args: any[]) => any>;
|
|
22
|
+
const onPreviousPage: PropTypes.Requireable<(...args: any[]) => any>;
|
|
23
|
+
const onNextPage: PropTypes.Requireable<(...args: any[]) => any>;
|
|
24
|
+
const page: PropTypes.Requireable<number>;
|
|
25
|
+
}
|
|
26
|
+
namespace defaultProps {
|
|
27
|
+
const page_1: number;
|
|
28
|
+
export { page_1 as page };
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
import React from "react";
|
|
32
|
+
import PropTypes from "prop-types";
|