@redhat-cloud-services/frontend-components 3.4.13 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Ansible/Ansible.d.ts +13 -0
- package/Ansible/Ansible.js +61 -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 +21 -0
- package/Battery/Battery.js +80 -122
- package/Battery/Battery.js.map +1 -0
- package/Battery/CriticalBattery.d.ts +2 -0
- package/Battery/CriticalBattery.js +9 -22
- package/Battery/CriticalBattery.js.map +1 -0
- package/Battery/HighBattery.d.ts +2 -0
- package/Battery/HighBattery.js +9 -18
- package/Battery/HighBattery.js.map +1 -0
- package/Battery/LowBattery.d.ts +2 -0
- package/Battery/LowBattery.js +9 -18
- package/Battery/LowBattery.js.map +1 -0
- package/Battery/MediumBattery.d.ts +2 -0
- package/Battery/MediumBattery.js +9 -18
- package/Battery/MediumBattery.js.map +1 -0
- package/Battery/NullBattery.d.ts +2 -0
- package/Battery/NullBattery.js +9 -18
- package/Battery/NullBattery.js.map +1 -0
- package/Battery/index.d.ts +6 -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 +52 -66
- package/Breadcrumbs/Breadcrumbs.js.map +1 -0
- package/Breadcrumbs/ConnectedBreadcrumbs.d.ts +2 -0
- package/Breadcrumbs/ConnectedBreadcrumbs.js +54 -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 +39 -0
- package/BulkSelect/BulkSelect.js +129 -188
- package/BulkSelect/BulkSelect.js.map +1 -0
- package/BulkSelect/index.d.ts +1 -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 +142 -208
- package/ConditionalFilter/CheckboxFilter.js.map +1 -0
- package/ConditionalFilter/ConditionalFilter.d.ts +58 -0
- package/ConditionalFilter/ConditionalFilter.js +185 -262
- package/ConditionalFilter/ConditionalFilter.js.map +1 -0
- package/ConditionalFilter/GroupFilter.d.ts +47 -0
- package/ConditionalFilter/GroupFilter.js +161 -243
- package/ConditionalFilter/GroupFilter.js.map +1 -0
- package/ConditionalFilter/RadioFilter.d.ts +37 -0
- package/ConditionalFilter/RadioFilter.js +124 -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/group-filter.css +19 -0
- package/ConditionalFilter/group-filter.scss +23 -0
- package/ConditionalFilter/groupFilterConstants.d.ts +7 -0
- package/ConditionalFilter/groupFilterConstants.js +156 -110
- package/ConditionalFilter/groupFilterConstants.js.map +1 -0
- package/ConditionalFilter/groupType.d.ts +8 -0
- package/ConditionalFilter/groupType.js +8 -11
- 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 +84 -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 +47 -101
- 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 +24 -0
- package/DownloadButton/DownloadButton.js +112 -142
- package/DownloadButton/DownloadButton.js.map +1 -0
- package/DownloadButton/index.d.ts +1 -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 +17 -0
- package/ErrorState/ErrorState.js +49 -66
- package/ErrorState/ErrorState.js.map +1 -0
- package/ErrorState/index.d.ts +2 -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 +70 -116
- 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 +3 -0
- package/FilterHooks/constants.js +109 -128
- 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 +45 -0
- package/FilterHooks/tagFilterHook.js +117 -145
- package/FilterHooks/tagFilterHook.js.map +1 -0
- package/Filters/FilterDropdown.d.ts +43 -0
- package/Filters/FilterDropdown.js +108 -159
- package/Filters/FilterDropdown.js.map +1 -0
- package/Filters/FilterInput.d.ts +37 -0
- package/Filters/FilterInput.js +109 -163
- 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 +2 -0
- package/InvalidObject/icon-404.js +50 -202
- package/InvalidObject/icon-404.js.map +1 -0
- package/InvalidObject/index.d.ts +2 -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 +53 -73
- package/Inventory/AppInfo.js.map +1 -0
- package/Inventory/DetailWrapper.d.ts +3 -0
- package/Inventory/DetailWrapper.js +53 -73
- package/Inventory/DetailWrapper.js.map +1 -0
- package/Inventory/InventoryDetail.d.ts +3 -0
- package/Inventory/InventoryDetail.js +53 -73
- package/Inventory/InventoryDetail.js.map +1 -0
- package/Inventory/InventoryDetailHead.d.ts +3 -0
- package/Inventory/InventoryDetailHead.js +53 -73
- package/Inventory/InventoryDetailHead.js.map +1 -0
- package/Inventory/InventoryLoadError.d.ts +11 -0
- package/Inventory/InventoryLoadError.js +49 -30
- package/Inventory/InventoryLoadError.js.map +1 -0
- package/Inventory/InventoryTable.d.ts +3 -0
- package/Inventory/InventoryTable.js +53 -73
- package/Inventory/InventoryTable.js.map +1 -0
- package/Inventory/TagWithDialog.d.ts +3 -0
- package/Inventory/TagWithDialog.js +53 -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 +24 -0
- package/Main/Main.js +85 -149
- 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 +43 -0
- package/Maintenance/Maintenance.js +75 -74
- package/Maintenance/Maintenance.js.map +1 -0
- package/Maintenance/index.d.ts +1 -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 +42 -0
- package/NotAuthorized/NotAuthorized.js +78 -92
- package/NotAuthorized/NotAuthorized.js.map +1 -0
- package/NotAuthorized/index.d.ts +1 -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 +124 -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 +36 -0
- package/PrimaryToolbar/Actions.js +131 -187
- package/PrimaryToolbar/Actions.js.map +1 -0
- package/PrimaryToolbar/PrimaryToolbar.d.ts +97 -0
- package/PrimaryToolbar/PrimaryToolbar.js +165 -188
- package/PrimaryToolbar/PrimaryToolbar.js.map +1 -0
- package/PrimaryToolbar/SortBy.d.ts +20 -0
- package/PrimaryToolbar/SortBy.js +23 -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 +27 -0
- package/Shield/Shield.js +51 -55
- package/Shield/Shield.js.map +1 -0
- package/Shield/consts.d.ts +71 -0
- package/Shield/consts.js +69 -81
- package/Shield/consts.js.map +1 -0
- package/Shield/index.d.ts +2 -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 +137 -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 -49
- package/Skeleton/Skeleton.js.map +1 -0
- package/Skeleton/index.js +11 -30
- package/Skeleton/index.js.map +1 -0
- package/Skeleton/skeleton.css +14 -35
- package/Skeleton/skeleton.scss +14 -30
- package/SkeletonTable/SkeletonTable.css +3 -0
- package/SkeletonTable/SkeletonTable.d.ts +51 -0
- package/SkeletonTable/SkeletonTable.js +86 -140
- package/SkeletonTable/SkeletonTable.js.map +1 -0
- package/SkeletonTable/SkeletonTable.scss +3 -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 +86 -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 +19 -0
- package/TagCount/TagCount.js +43 -47
- package/TagCount/TagCount.js.map +1 -0
- package/TagCount/index.d.ts +1 -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 +135 -201
- package/TagModal/TableWithFilter.js.map +1 -0
- package/TagModal/TagModal.d.ts +54 -0
- package/TagModal/TagModal.js +163 -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 +8 -0
- package/TreeTable/decorator.js +42 -56
- package/TreeTable/decorator.js.map +1 -0
- package/TreeTable/helpers.d.ts +4 -0
- package/TreeTable/helpers.js +45 -55
- package/TreeTable/helpers.js.map +1 -0
- package/TreeTable/index.d.ts +3 -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 +17 -0
- package/TreeTable/rowWrapper.js +39 -50
- package/TreeTable/rowWrapper.js.map +1 -0
- package/Truncate/Truncate.d.ts +26 -0
- package/Truncate/Truncate.js +76 -115
- 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 +17 -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 +54 -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 +68 -95
- package/esm/Battery/Battery.js.map +1 -0
- package/esm/Battery/CriticalBattery.js +4 -11
- package/esm/Battery/CriticalBattery.js.map +1 -0
- package/esm/Battery/HighBattery.js +4 -8
- package/esm/Battery/HighBattery.js.map +1 -0
- package/esm/Battery/LowBattery.js +4 -8
- package/esm/Battery/LowBattery.js.map +1 -0
- package/esm/Battery/MediumBattery.js +4 -8
- package/esm/Battery/MediumBattery.js.map +1 -0
- package/esm/Battery/NullBattery.js +4 -8
- 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 +45 -49
- package/esm/Breadcrumbs/Breadcrumbs.js.map +1 -0
- package/esm/Breadcrumbs/ConnectedBreadcrumbs.js +47 -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 +104 -160
- 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 +117 -183
- package/esm/ConditionalFilter/CheckboxFilter.js.map +1 -0
- package/esm/ConditionalFilter/ConditionalFilter.js +155 -225
- package/esm/ConditionalFilter/ConditionalFilter.js.map +1 -0
- package/esm/ConditionalFilter/GroupFilter.js +134 -206
- package/esm/ConditionalFilter/GroupFilter.js.map +1 -0
- package/esm/ConditionalFilter/RadioFilter.js +99 -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 +148 -94
- package/esm/ConditionalFilter/groupFilterConstants.js.map +1 -0
- package/esm/ConditionalFilter/groupType.js +7 -5
- 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 +78 -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 +41 -84
- 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 +89 -120
- 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 +42 -43
- 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 +64 -97
- 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 +101 -111
- 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 +96 -119
- package/esm/FilterHooks/tagFilterHook.js.map +1 -0
- package/esm/FilterHooks/tagFilterHook.scss +21 -0
- package/esm/Filters/FilterDropdown.js +83 -134
- package/esm/Filters/FilterDropdown.js.map +1 -0
- package/esm/Filters/FilterInput.js +85 -142
- 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 +25 -44
- package/esm/Inventory/AppInfo.js.map +1 -0
- package/esm/Inventory/DetailWrapper.js +25 -44
- package/esm/Inventory/DetailWrapper.js.map +1 -0
- package/esm/Inventory/InventoryDetail.js +25 -44
- package/esm/Inventory/InventoryDetail.js.map +1 -0
- package/esm/Inventory/InventoryDetailHead.js +25 -44
- package/esm/Inventory/InventoryDetailHead.js.map +1 -0
- package/esm/Inventory/InventoryLoadError.js +25 -13
- package/esm/Inventory/InventoryLoadError.js.map +1 -0
- package/esm/Inventory/InventoryTable.js +25 -44
- package/esm/Inventory/InventoryTable.js.map +1 -0
- package/esm/Inventory/TagWithDialog.js +25 -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 +69 -52
- 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 +73 -74
- 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 +100 -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 +107 -154
- package/esm/PrimaryToolbar/Actions.js.map +1 -0
- package/esm/PrimaryToolbar/PrimaryToolbar.js +136 -146
- package/esm/PrimaryToolbar/PrimaryToolbar.js.map +1 -0
- package/esm/PrimaryToolbar/SortBy.js +14 -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 +44 -36
- package/esm/Shield/Shield.js.map +1 -0
- package/esm/Shield/consts.js +66 -72
- 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 +113 -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 +79 -125
- 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 +60 -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 +37 -31
- 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 +110 -168
- package/esm/TagModal/TableWithFilter.js.map +1 -0
- package/esm/TagModal/TagModal.js +138 -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 +39 -43
- package/esm/TreeTable/decorator.js.map +1 -0
- package/esm/TreeTable/helpers.js +42 -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 +31 -33
- 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 +51 -86
- 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 +13 -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.css +14 -34
- 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 +1 -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 +2 -0
- package/useChrome/useChrome.js +24 -33
- package/useChrome/useChrome.js.map +1 -0
- package/usePendoFeedback/index.d.ts +1 -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 +4 -0
- package/useScreenSize/index.js +16 -44
- package/useScreenSize/index.js.map +1 -0
- package/useScreenSize/isSmallScreen.d.ts +2 -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,195 +1,172 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __assign = (this && this.__assign) || function () {
|
|
18
|
+
__assign = Object.assign || function(t) {
|
|
19
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
20
|
+
s = arguments[i];
|
|
21
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
22
|
+
t[p] = s[p];
|
|
23
|
+
}
|
|
24
|
+
return t;
|
|
25
|
+
};
|
|
26
|
+
return __assign.apply(this, arguments);
|
|
27
|
+
};
|
|
28
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
29
|
+
if (k2 === undefined) k2 = k;
|
|
30
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
31
|
+
}) : (function(o, m, k, k2) {
|
|
32
|
+
if (k2 === undefined) k2 = k;
|
|
33
|
+
o[k2] = m[k];
|
|
34
|
+
}));
|
|
35
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
36
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
37
|
+
}) : function(o, v) {
|
|
38
|
+
o["default"] = v;
|
|
9
39
|
});
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
var
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
27
|
-
|
|
28
|
-
var _Toolbar = require("@patternfly/react-core/dist/js/components/Toolbar/Toolbar.js");
|
|
29
|
-
|
|
30
|
-
var _ToolbarContent = require("@patternfly/react-core/dist/js/components/Toolbar/ToolbarContent.js");
|
|
31
|
-
|
|
32
|
-
var _ToolbarGroup = require("@patternfly/react-core/dist/js/components/Toolbar/ToolbarGroup.js");
|
|
33
|
-
|
|
34
|
-
var _ToolbarItem = require("@patternfly/react-core/dist/js/components/Toolbar/ToolbarItem.js");
|
|
35
|
-
|
|
36
|
-
var _Pagination = require("@patternfly/react-core/dist/js/components/Pagination/Pagination.js");
|
|
37
|
-
|
|
38
|
-
var _Button = require("@patternfly/react-core/dist/js/components/Button/Button.js");
|
|
39
|
-
|
|
40
|
-
var _ToolbarExpandIconWrapper = require("@patternfly/react-core/dist/js/components/Toolbar/ToolbarExpandIconWrapper.js");
|
|
41
|
-
|
|
42
|
-
var _angleDownIcon = _interopRequireDefault(require("@patternfly/react-icons/dist/js/icons/angle-down-icon"));
|
|
43
|
-
|
|
44
|
-
var _angleRightIcon = _interopRequireDefault(require("@patternfly/react-icons/dist/js/icons/angle-right-icon"));
|
|
45
|
-
|
|
46
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
47
|
-
|
|
48
|
-
var _Actions = _interopRequireDefault(require("./Actions"));
|
|
49
|
-
|
|
50
|
-
var _BulkSelect = require("../BulkSelect");
|
|
51
|
-
|
|
52
|
-
var _ConditionalFilter = require("../ConditionalFilter");
|
|
53
|
-
|
|
54
|
-
var _DownloadButton = require("../DownloadButton");
|
|
55
|
-
|
|
56
|
-
var _FilterChips = require("../FilterChips");
|
|
57
|
-
|
|
58
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
59
|
-
|
|
60
|
-
var _SortBy = _interopRequireDefault(require("./SortBy"));
|
|
61
|
-
|
|
62
|
-
var _reactTable = require("@patternfly/react-table");
|
|
63
|
-
|
|
64
|
-
require("./primary-toolbar.css");
|
|
65
|
-
|
|
66
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
67
|
-
|
|
68
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
69
|
-
|
|
70
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
|
|
71
|
-
|
|
72
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
73
|
-
|
|
74
|
-
var PrimaryToolbar = /*#__PURE__*/function (_Component) {
|
|
75
|
-
(0, _inherits2["default"])(PrimaryToolbar, _Component);
|
|
76
|
-
|
|
77
|
-
var _super = _createSuper(PrimaryToolbar);
|
|
78
|
-
|
|
79
|
-
function PrimaryToolbar() {
|
|
80
|
-
(0, _classCallCheck2["default"])(this, PrimaryToolbar);
|
|
81
|
-
return _super.apply(this, arguments);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
(0, _createClass2["default"])(PrimaryToolbar, [{
|
|
85
|
-
key: "render",
|
|
86
|
-
value: function render() {
|
|
87
|
-
var _this$props = this.props,
|
|
88
|
-
id = _this$props.id,
|
|
89
|
-
className = _this$props.className,
|
|
90
|
-
toggleIsExpanded = _this$props.toggleIsExpanded,
|
|
91
|
-
bulkSelect = _this$props.bulkSelect,
|
|
92
|
-
filterConfig = _this$props.filterConfig,
|
|
93
|
-
dedicatedAction = _this$props.dedicatedAction,
|
|
94
|
-
actionsConfig = _this$props.actionsConfig,
|
|
95
|
-
sortByConfig = _this$props.sortByConfig,
|
|
96
|
-
pagination = _this$props.pagination,
|
|
97
|
-
activeFiltersConfig = _this$props.activeFiltersConfig,
|
|
98
|
-
children = _this$props.children,
|
|
99
|
-
exportConfig = _this$props.exportConfig,
|
|
100
|
-
expandAll = _this$props.expandAll,
|
|
101
|
-
useMobileLayout = _this$props.useMobileLayout,
|
|
102
|
-
props = (0, _objectWithoutProperties2["default"])(_this$props, ["id", "className", "toggleIsExpanded", "bulkSelect", "filterConfig", "dedicatedAction", "actionsConfig", "sortByConfig", "pagination", "activeFiltersConfig", "children", "exportConfig", "expandAll", "useMobileLayout"]);
|
|
103
|
-
var overflowActions = (0, _toConsumableArray2["default"])(sortByConfig ? [{
|
|
104
|
-
label: 'Sort order ASC',
|
|
105
|
-
props: {
|
|
106
|
-
isDisabled: sortByConfig.direction === _reactTable.SortByDirection.asc
|
|
107
|
-
},
|
|
108
|
-
onClick: function onClick(e) {
|
|
109
|
-
return sortByConfig.onSortChange && sortByConfig.onSortChange(e, _reactTable.SortByDirection.asc);
|
|
40
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
41
|
+
if (mod && mod.__esModule) return mod;
|
|
42
|
+
var result = {};
|
|
43
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
44
|
+
__setModuleDefault(result, mod);
|
|
45
|
+
return result;
|
|
46
|
+
};
|
|
47
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
48
|
+
var t = {};
|
|
49
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
50
|
+
t[p] = s[p];
|
|
51
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
52
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
53
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
54
|
+
t[p[i]] = s[p[i]];
|
|
110
55
|
}
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
56
|
+
return t;
|
|
57
|
+
};
|
|
58
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
59
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
60
|
+
if (ar || !(i in from)) {
|
|
61
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
62
|
+
ar[i] = from[i];
|
|
118
63
|
}
|
|
119
|
-
}] : []);
|
|
120
|
-
return /*#__PURE__*/_react["default"].createElement(_Toolbar.Toolbar, (0, _extends2["default"])({}, props, {
|
|
121
|
-
className: "".concat(className || '', " ins-c-primary-toolbar"),
|
|
122
|
-
toggleIsExpanded: toggleIsExpanded,
|
|
123
|
-
id: id || 'ins-primary-data-toolbar',
|
|
124
|
-
ouiaId: "PrimaryToolbar"
|
|
125
|
-
}), /*#__PURE__*/_react["default"].createElement(_ToolbarContent.ToolbarContent, null, (expandAll || bulkSelect || filterConfig || dedicatedAction) && /*#__PURE__*/_react["default"].createElement(_ToolbarGroup.ToolbarGroup, {
|
|
126
|
-
className: "ins-c-primary-toolbar__group-filter pf-m-spacer-md pf-m-space-items-lg",
|
|
127
|
-
variant: "filter-group"
|
|
128
|
-
}, expandAll && /*#__PURE__*/_react["default"].createElement(_ToolbarItem.ToolbarItem, null, /*#__PURE__*/_react["default"].isValidElement(expandAll) ? expandAll : /*#__PURE__*/_react["default"].createElement(_Button.Button, {
|
|
129
|
-
variant: "plain",
|
|
130
|
-
"aria-label": "".concat(expandAll.isAllExpanded ? 'Collapse' : 'Expand', " all"),
|
|
131
|
-
onClick: function onClick(e) {
|
|
132
|
-
return expandAll.onClick(e, !expandAll.isAllExpanded);
|
|
133
|
-
},
|
|
134
|
-
ouiaId: "ExpandCollapseAll"
|
|
135
|
-
}, /*#__PURE__*/_react["default"].createElement(_ToolbarExpandIconWrapper.ToolbarExpandIconWrapper, null, expandAll.isAllExpanded ? /*#__PURE__*/_react["default"].createElement(_angleDownIcon["default"], null) : /*#__PURE__*/_react["default"].createElement(_angleRightIcon["default"], null)))), bulkSelect && /*#__PURE__*/_react["default"].createElement(_ToolbarItem.ToolbarItem, null, /*#__PURE__*/_react["default"].isValidElement(bulkSelect) ? bulkSelect : /*#__PURE__*/_react["default"].createElement(_BulkSelect.BulkSelect, (0, _extends2["default"])({
|
|
136
|
-
ouiaId: "BulkSelect"
|
|
137
|
-
}, bulkSelect))), filterConfig && /*#__PURE__*/_react["default"].createElement(_ToolbarItem.ToolbarItem, {
|
|
138
|
-
className: "ins-c-primary-toolbar__filter"
|
|
139
|
-
}, /*#__PURE__*/_react["default"].isValidElement(filterConfig) ? filterConfig : /*#__PURE__*/_react["default"].createElement(_ConditionalFilter.ConditionalFilter, (0, _extends2["default"])({
|
|
140
|
-
useMobileLayout: useMobileLayout
|
|
141
|
-
}, filterConfig))), dedicatedAction && /*#__PURE__*/_react["default"].createElement(_ToolbarItem.ToolbarItem, null, dedicatedAction)), /*#__PURE__*/_react["default"].isValidElement(actionsConfig) ? actionsConfig : (actionsConfig && actionsConfig.actions && actionsConfig.actions.length > 0 || sortByConfig || exportConfig) && /*#__PURE__*/_react["default"].createElement(_Actions["default"], (0, _extends2["default"])({}, actionsConfig || {}, {
|
|
142
|
-
exportConfig: exportConfig,
|
|
143
|
-
overflowActions: overflowActions
|
|
144
|
-
})), sortByConfig && /*#__PURE__*/_react["default"].createElement(_ToolbarItem.ToolbarItem, {
|
|
145
|
-
className: "ins-c-primary-toolbar__sort-by"
|
|
146
|
-
}, /*#__PURE__*/_react["default"].isValidElement(sortByConfig) ? sortByConfig : /*#__PURE__*/_react["default"].createElement(_SortBy["default"], sortByConfig)), children, pagination && /*#__PURE__*/_react["default"].createElement(_ToolbarItem.ToolbarItem, {
|
|
147
|
-
className: "ins-c-primary-toolbar__pagination"
|
|
148
|
-
}, /*#__PURE__*/_react["default"].isValidElement(pagination) ? pagination : /*#__PURE__*/_react["default"].createElement(_Pagination.Pagination, (0, _extends2["default"])({
|
|
149
|
-
isCompact: true,
|
|
150
|
-
ouiaId: "CompactPagination"
|
|
151
|
-
}, pagination)))), activeFiltersConfig && /*#__PURE__*/_react["default"].isValidElement(activeFiltersConfig) ? /*#__PURE__*/_react["default"].createElement(_ToolbarContent.ToolbarContent, null, /*#__PURE__*/_react["default"].createElement(_ToolbarItem.ToolbarItem, null, activeFiltersConfig)) : activeFiltersConfig !== undefined && (activeFiltersConfig.filters.length > 0 || activeFiltersConfig.showDeleteButton === true) && /*#__PURE__*/_react["default"].createElement(_ToolbarContent.ToolbarContent, null, /*#__PURE__*/_react["default"].createElement(_ToolbarItem.ToolbarItem, null, /*#__PURE__*/_react["default"].createElement(_FilterChips.FilterChips, activeFiltersConfig))));
|
|
152
64
|
}
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
65
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
66
|
+
};
|
|
67
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
68
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
69
|
+
};
|
|
70
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
71
|
+
var react_core_1 = require("@patternfly/react-core");
|
|
72
|
+
var react_icons_1 = require("@patternfly/react-icons");
|
|
73
|
+
var react_1 = __importStar(require("react"));
|
|
74
|
+
var Actions_1 = __importDefault(require("./Actions"));
|
|
75
|
+
var BulkSelect_1 = require("../BulkSelect");
|
|
76
|
+
var ConditionalFilter_1 = require("../ConditionalFilter");
|
|
77
|
+
var DownloadButton_1 = require("../DownloadButton");
|
|
78
|
+
var FilterChips_1 = require("../FilterChips");
|
|
79
|
+
var prop_types_1 = __importDefault(require("prop-types"));
|
|
80
|
+
var SortBy_1 = __importDefault(require("./SortBy"));
|
|
81
|
+
var react_table_1 = require("@patternfly/react-table");
|
|
82
|
+
require("./primary-toolbar.css");
|
|
83
|
+
var PrimaryToolbar = (function (_super) {
|
|
84
|
+
__extends(PrimaryToolbar, _super);
|
|
85
|
+
function PrimaryToolbar() {
|
|
86
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
87
|
+
}
|
|
88
|
+
PrimaryToolbar.prototype.render = function () {
|
|
89
|
+
var _a = this.props, id = _a.id, className = _a.className, toggleIsExpanded = _a.toggleIsExpanded, bulkSelect = _a.bulkSelect, filterConfig = _a.filterConfig, dedicatedAction = _a.dedicatedAction, actionsConfig = _a.actionsConfig, sortByConfig = _a.sortByConfig, pagination = _a.pagination, activeFiltersConfig = _a.activeFiltersConfig, children = _a.children, exportConfig = _a.exportConfig, expandAll = _a.expandAll, useMobileLayout = _a.useMobileLayout, props = __rest(_a, ["id", "className", "toggleIsExpanded", "bulkSelect", "filterConfig", "dedicatedAction", "actionsConfig", "sortByConfig", "pagination", "activeFiltersConfig", "children", "exportConfig", "expandAll", "useMobileLayout"]);
|
|
90
|
+
var overflowActions = __spreadArray([], sortByConfig ?
|
|
91
|
+
[
|
|
92
|
+
{
|
|
93
|
+
label: 'Sort order ASC',
|
|
94
|
+
props: { isDisabled: sortByConfig.direction === react_table_1.SortByDirection.asc },
|
|
95
|
+
onClick: function (e) { return sortByConfig.onSortChange &&
|
|
96
|
+
sortByConfig.onSortChange(e, react_table_1.SortByDirection.asc); }
|
|
97
|
+
}, {
|
|
98
|
+
label: 'Sort order DESC',
|
|
99
|
+
props: { isDisabled: sortByConfig.direction === react_table_1.SortByDirection.desc },
|
|
100
|
+
onClick: function (e) { return sortByConfig.onSortChange &&
|
|
101
|
+
sortByConfig.onSortChange(e, react_table_1.SortByDirection.desc); }
|
|
102
|
+
}
|
|
103
|
+
] : [], true);
|
|
104
|
+
return (react_1.default.createElement(react_core_1.Toolbar, __assign({}, props, { className: "".concat(className || '', " ins-c-primary-toolbar"), toggleIsExpanded: toggleIsExpanded, id: id || 'ins-primary-data-toolbar', ouiaId: "PrimaryToolbar" }),
|
|
105
|
+
react_1.default.createElement(react_core_1.ToolbarContent, null,
|
|
106
|
+
(expandAll || bulkSelect || filterConfig || dedicatedAction) &&
|
|
107
|
+
react_1.default.createElement(react_core_1.ToolbarGroup, { className: "ins-c-primary-toolbar__group-filter pf-m-spacer-md pf-m-space-items-lg", variant: "filter-group" },
|
|
108
|
+
expandAll &&
|
|
109
|
+
react_1.default.createElement(react_core_1.ToolbarItem, null, react_1.default.isValidElement(expandAll) ? expandAll : (react_1.default.createElement(react_core_1.Button, { variant: "plain", "aria-label": "".concat(expandAll.isAllExpanded ? 'Collapse' : 'Expand', " all"), onClick: function (e) { return expandAll.onClick(e, !expandAll.isAllExpanded); }, ouiaId: "ExpandCollapseAll" },
|
|
110
|
+
react_1.default.createElement(react_core_1.ToolbarExpandIconWrapper, null, expandAll.isAllExpanded ? react_1.default.createElement(react_icons_1.AngleDownIcon, null) : react_1.default.createElement(react_icons_1.AngleRightIcon, null))))),
|
|
111
|
+
bulkSelect &&
|
|
112
|
+
react_1.default.createElement(react_core_1.ToolbarItem, null, react_1.default.isValidElement(bulkSelect) ?
|
|
113
|
+
bulkSelect :
|
|
114
|
+
react_1.default.createElement(BulkSelect_1.BulkSelect, __assign({ ouiaId: "BulkSelect" }, bulkSelect))),
|
|
115
|
+
filterConfig &&
|
|
116
|
+
react_1.default.createElement(react_core_1.ToolbarItem, { className: "ins-c-primary-toolbar__filter" }, react_1.default.isValidElement(filterConfig) ?
|
|
117
|
+
filterConfig :
|
|
118
|
+
react_1.default.createElement(ConditionalFilter_1.ConditionalFilter, __assign({ useMobileLayout: useMobileLayout }, filterConfig))),
|
|
119
|
+
dedicatedAction &&
|
|
120
|
+
react_1.default.createElement(react_core_1.ToolbarItem, null, dedicatedAction)),
|
|
121
|
+
react_1.default.isValidElement(actionsConfig) ? actionsConfig :
|
|
122
|
+
((actionsConfig && actionsConfig.actions && actionsConfig.actions.length > 0) ||
|
|
123
|
+
sortByConfig ||
|
|
124
|
+
exportConfig) && (react_1.default.createElement(Actions_1.default, __assign({}, actionsConfig || {}, { exportConfig: exportConfig, overflowActions: overflowActions }))),
|
|
125
|
+
sortByConfig &&
|
|
126
|
+
react_1.default.createElement(react_core_1.ToolbarItem, { className: "ins-c-primary-toolbar__sort-by" }, react_1.default.isValidElement(sortByConfig) ?
|
|
127
|
+
sortByConfig :
|
|
128
|
+
react_1.default.createElement(SortBy_1.default, __assign({}, sortByConfig))),
|
|
129
|
+
children,
|
|
130
|
+
pagination &&
|
|
131
|
+
react_1.default.createElement(react_core_1.ToolbarItem, { className: "ins-c-primary-toolbar__pagination" }, react_1.default.isValidElement(pagination) ?
|
|
132
|
+
pagination :
|
|
133
|
+
react_1.default.createElement(react_core_1.Pagination, __assign({ isCompact: true, ouiaId: "CompactPagination" }, pagination)))),
|
|
134
|
+
activeFiltersConfig &&
|
|
135
|
+
react_1.default.isValidElement(activeFiltersConfig) ?
|
|
136
|
+
react_1.default.createElement(react_core_1.ToolbarContent, null,
|
|
137
|
+
react_1.default.createElement(react_core_1.ToolbarItem, null, activeFiltersConfig))
|
|
138
|
+
: activeFiltersConfig !== undefined && (activeFiltersConfig.filters.length > 0 || activeFiltersConfig.showDeleteButton === true) &&
|
|
139
|
+
react_1.default.createElement(react_core_1.ToolbarContent, null,
|
|
140
|
+
react_1.default.createElement(react_core_1.ToolbarItem, null,
|
|
141
|
+
react_1.default.createElement(FilterChips_1.FilterChips, __assign({}, activeFiltersConfig))))));
|
|
142
|
+
};
|
|
143
|
+
return PrimaryToolbar;
|
|
144
|
+
}(react_1.Component));
|
|
157
145
|
PrimaryToolbar.propTypes = {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
actions: _Actions["default"].propTypes.actions,
|
|
183
|
-
dropdownProps: _Actions["default"].propTypes.dropdownProps,
|
|
184
|
-
onSelect: _Actions["default"].propTypes.onSelect
|
|
185
|
-
}),
|
|
186
|
-
expandAll: _propTypes["default"].oneOfType([_propTypes["default"].node, _propTypes["default"].shape({
|
|
187
|
-
onClick: _propTypes["default"].func,
|
|
188
|
-
isAllExpanded: _propTypes["default"].bool
|
|
189
|
-
})]),
|
|
190
|
-
|
|
191
|
-
/** Use PF [toolbar toggle component for conditional filter](https://www.patternfly.org/v4/components/toolbar/react/component-managed-toggle-groups/) */
|
|
192
|
-
useMobileLayout: _propTypes["default"].bool
|
|
146
|
+
id: prop_types_1.default.oneOfType([prop_types_1.default.number, prop_types_1.default.string]),
|
|
147
|
+
className: prop_types_1.default.string,
|
|
148
|
+
toggleIsExpanded: prop_types_1.default.func,
|
|
149
|
+
bulkSelect: prop_types_1.default.shape(BulkSelect_1.BulkSelect.propTypes),
|
|
150
|
+
filterConfig: prop_types_1.default.shape(ConditionalFilter_1.ConditionalFilter.propTypes),
|
|
151
|
+
dedicatedAction: prop_types_1.default.node,
|
|
152
|
+
pagination: prop_types_1.default.shape(react_core_1.Pagination.propTypes),
|
|
153
|
+
sortByConfig: prop_types_1.default.shape(SortBy_1.default.propTypes),
|
|
154
|
+
exportConfig: prop_types_1.default.shape(DownloadButton_1.DownloadButton.propTypes),
|
|
155
|
+
activeFiltersConfig: prop_types_1.default.shape(FilterChips_1.FilterChips.propTypes),
|
|
156
|
+
children: prop_types_1.default.node,
|
|
157
|
+
actionsConfig: prop_types_1.default.shape({
|
|
158
|
+
actions: Actions_1.default.propTypes.actions,
|
|
159
|
+
dropdownProps: Actions_1.default.propTypes.dropdownProps,
|
|
160
|
+
onSelect: Actions_1.default.propTypes.onSelect
|
|
161
|
+
}),
|
|
162
|
+
expandAll: prop_types_1.default.oneOfType([
|
|
163
|
+
prop_types_1.default.node,
|
|
164
|
+
prop_types_1.default.shape({
|
|
165
|
+
onClick: prop_types_1.default.func,
|
|
166
|
+
isAllExpanded: prop_types_1.default.bool
|
|
167
|
+
})
|
|
168
|
+
]),
|
|
169
|
+
useMobileLayout: prop_types_1.default.bool
|
|
193
170
|
};
|
|
194
|
-
|
|
195
|
-
|
|
171
|
+
exports.default = PrimaryToolbar;
|
|
172
|
+
//# sourceMappingURL=PrimaryToolbar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrimaryToolbar.js","sourceRoot":"","sources":["../src/PrimaryToolbar/PrimaryToolbar.js"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export function flipDirection(direction: any): SortByDirection;
|
|
2
|
+
export default SortBy;
|
|
3
|
+
import { SortByDirection } from "@patternfly/react-table/dist/js/components/Table/SortColumn";
|
|
4
|
+
declare function SortBy({ direction, onSortChange }: {
|
|
5
|
+
direction: any;
|
|
6
|
+
onSortChange: any;
|
|
7
|
+
}): JSX.Element;
|
|
8
|
+
declare namespace SortBy {
|
|
9
|
+
namespace propTypes {
|
|
10
|
+
const direction: PropTypes.Requireable<SortByDirection>;
|
|
11
|
+
const onSortChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
12
|
+
}
|
|
13
|
+
namespace defaultProps {
|
|
14
|
+
const direction_1: SortByDirection;
|
|
15
|
+
export { direction_1 as direction };
|
|
16
|
+
export function onSortChange_1(): undefined;
|
|
17
|
+
export { onSortChange_1 as onSortChange };
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
import PropTypes from "prop-types";
|
package/PrimaryToolbar/SortBy.js
CHANGED
|
@@ -1,53 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
14
|
-
|
|
15
|
-
var _reactTable = require("@patternfly/react-table");
|
|
16
|
-
|
|
17
|
-
var _Button = require("@patternfly/react-core/dist/js/components/Button/Button.js");
|
|
18
|
-
|
|
19
|
-
var _sortAmountDownIcon = _interopRequireDefault(require("@patternfly/react-icons/dist/js/icons/sort-amount-down-icon"));
|
|
20
|
-
|
|
21
|
-
var _sortAmountUpIcon = _interopRequireDefault(require("@patternfly/react-icons/dist/js/icons/sort-amount-up-icon"));
|
|
22
|
-
|
|
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.flipDirection = void 0;
|
|
7
|
+
var react_1 = __importDefault(require("react"));
|
|
8
|
+
var prop_types_1 = __importDefault(require("prop-types"));
|
|
9
|
+
var react_table_1 = require("@patternfly/react-table");
|
|
10
|
+
var react_core_1 = require("@patternfly/react-core");
|
|
11
|
+
var react_icons_1 = require("@patternfly/react-icons");
|
|
23
12
|
function flipDirection(direction) {
|
|
24
|
-
|
|
13
|
+
return direction === react_table_1.SortByDirection.asc ? react_table_1.SortByDirection.desc : react_table_1.SortByDirection.asc;
|
|
25
14
|
}
|
|
26
|
-
|
|
27
|
-
var SortBy = function
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
onClick: function onClick(e) {
|
|
33
|
-
return onSortChange(e, flipDirection(direction));
|
|
34
|
-
}
|
|
35
|
-
}, direction === _reactTable.SortByDirection.asc ? /*#__PURE__*/_react["default"].createElement(_sortAmountUpIcon["default"], {
|
|
36
|
-
size: "sm"
|
|
37
|
-
}) : /*#__PURE__*/_react["default"].createElement(_sortAmountDownIcon["default"], {
|
|
38
|
-
size: "sm"
|
|
39
|
-
}));
|
|
15
|
+
exports.flipDirection = flipDirection;
|
|
16
|
+
var SortBy = function (_a) {
|
|
17
|
+
var direction = _a.direction, onSortChange = _a.onSortChange;
|
|
18
|
+
return (react_1.default.createElement(react_core_1.Button, { variant: "plain", onClick: function (e) { return onSortChange(e, flipDirection(direction)); } }, direction === react_table_1.SortByDirection.asc ?
|
|
19
|
+
react_1.default.createElement(react_icons_1.SortAmountUpIcon, { size: "sm" }) :
|
|
20
|
+
react_1.default.createElement(react_icons_1.SortAmountDownIcon, { size: "sm" })));
|
|
40
21
|
};
|
|
41
|
-
|
|
42
22
|
SortBy.propTypes = {
|
|
43
|
-
|
|
44
|
-
|
|
23
|
+
direction: prop_types_1.default.oneOf(Object.values(react_table_1.SortByDirection)),
|
|
24
|
+
onSortChange: prop_types_1.default.func
|
|
45
25
|
};
|
|
46
26
|
SortBy.defaultProps = {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
return undefined;
|
|
50
|
-
}
|
|
27
|
+
direction: react_table_1.SortByDirection.asc,
|
|
28
|
+
onSortChange: function () { return undefined; }
|
|
51
29
|
};
|
|
52
|
-
|
|
53
|
-
|
|
30
|
+
exports.default = SortBy;
|
|
31
|
+
//# sourceMappingURL=SortBy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SortBy.js","sourceRoot":"","sources":["../src/PrimaryToolbar/SortBy.js"],"names":[],"mappings":";;;;;;AAAA,gDAA0B;AAC1B,0DAAmC;AACnC,uDAA0D;AAC1D,qDAAgD;AAChD,uDAA+E;AAE/E,SAAgB,aAAa,CAAC,SAAS;IACnC,OAAO,SAAS,KAAK,6BAAe,CAAC,GAAG,CAAC,CAAC,CAAC,6BAAe,CAAC,IAAI,CAAC,CAAC,CAAC,6BAAe,CAAC,GAAG,CAAC;AAC1F,CAAC;AAFD,sCAEC;AAED,IAAM,MAAM,GAAG,UAAC,EAA2B;QAAzB,SAAS,eAAA,EAAE,YAAY,kBAAA;IAAO,OAAA,CAC5C,8BAAC,mBAAM,IACH,OAAO,EAAC,OAAO,EACf,OAAO,EAAG,UAAA,CAAC,IAAI,OAAA,YAAY,CAAC,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC,EAAzC,CAAyC,IAGpD,SAAS,KAAK,6BAAe,CAAC,GAAG,CAAC,CAAC;QAC/B,8BAAC,8BAAgB,IAAC,IAAI,EAAC,IAAI,GAAG,CAAC,CAAC;QAChC,8BAAC,gCAAkB,IAAC,IAAI,EAAC,IAAI,GAAG,CAEnC,CACZ;AAX+C,CAW/C,CAAC;AAEF,MAAM,CAAC,SAAS,GAAG;IACf,SAAS,EAAE,oBAAS,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,6BAAe,CAAC,CAAC;IAC1D,YAAY,EAAE,oBAAS,CAAC,IAAI;CAC/B,CAAC;AAEF,MAAM,CAAC,YAAY,GAAG;IAClB,SAAS,EAAE,6BAAe,CAAC,GAAG;IAC9B,YAAY,EAAE,cAAM,OAAA,SAAS,EAAT,CAAS;CAChC,CAAC;AAEF,kBAAe,MAAM,CAAC"}
|
package/PrimaryToolbar/index.js
CHANGED
|
@@ -1,60 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var
|
|
11
|
-
PrimaryToolbar: true,
|
|
12
|
-
Actions: true,
|
|
13
|
-
SortBy: true
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
14
11
|
};
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
Object.defineProperty(exports, "
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
Object.defineProperty(exports, "
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
return _Actions["default"];
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
Object.defineProperty(exports, "SortBy", {
|
|
34
|
-
enumerable: true,
|
|
35
|
-
get: function get() {
|
|
36
|
-
return _SortBy["default"];
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
var _PrimaryToolbar = _interopRequireDefault(require("./PrimaryToolbar"));
|
|
41
|
-
|
|
42
|
-
var _Actions = _interopRequireDefault(require("./Actions"));
|
|
43
|
-
|
|
44
|
-
var _SortBy = _interopRequireWildcard(require("./SortBy"));
|
|
45
|
-
|
|
46
|
-
Object.keys(_SortBy).forEach(function (key) {
|
|
47
|
-
if (key === "default" || key === "__esModule") return;
|
|
48
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
49
|
-
if (key in exports && exports[key] === _SortBy[key]) return;
|
|
50
|
-
Object.defineProperty(exports, key, {
|
|
51
|
-
enumerable: true,
|
|
52
|
-
get: function get() {
|
|
53
|
-
return _SortBy[key];
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
59
|
-
|
|
60
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
12
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
14
|
+
};
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SortBy = exports.Actions = exports.PrimaryToolbar = exports.default = void 0;
|
|
17
|
+
var PrimaryToolbar_1 = require("./PrimaryToolbar");
|
|
18
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(PrimaryToolbar_1).default; } });
|
|
19
|
+
var PrimaryToolbar_2 = require("./PrimaryToolbar");
|
|
20
|
+
Object.defineProperty(exports, "PrimaryToolbar", { enumerable: true, get: function () { return __importDefault(PrimaryToolbar_2).default; } });
|
|
21
|
+
var Actions_1 = require("./Actions");
|
|
22
|
+
Object.defineProperty(exports, "Actions", { enumerable: true, get: function () { return __importDefault(Actions_1).default; } });
|
|
23
|
+
var SortBy_1 = require("./SortBy");
|
|
24
|
+
Object.defineProperty(exports, "SortBy", { enumerable: true, get: function () { return __importDefault(SortBy_1).default; } });
|
|
25
|
+
__exportStar(require("./SortBy"), exports);
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/PrimaryToolbar/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAA2C;AAAlC,0HAAA,OAAO,OAAA;AAChB,mDAA6D;AAApD,iIAAA,OAAO,OAAkB;AAClC,qCAA+C;AAAtC,mHAAA,OAAO,OAAW;AAC3B,mCAA6C;AAApC,iHAAA,OAAO,OAAU;AAC1B,2CAAyB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"main":"index.js","module":"../esm/PrimaryToolbar/index.js"}
|
|
1
|
+
{"main":"index.js","module":"../esm/PrimaryToolbar/index.js","typings":"index.d.ts"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export default Reboot;
|
|
2
|
+
declare function Reboot({ red, className, ...props }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
red: any;
|
|
5
|
+
className: any;
|
|
6
|
+
}): JSX.Element;
|
|
7
|
+
declare namespace Reboot {
|
|
8
|
+
namespace propTypes {
|
|
9
|
+
const className: propTypes.Requireable<string>;
|
|
10
|
+
const red: propTypes.Requireable<boolean>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
import propTypes_1 from "prop-types";
|