@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,82 +1,62 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
16
|
+
}) : (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
o[k2] = m[k];
|
|
19
|
+
}));
|
|
20
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
21
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
22
|
+
}) : function(o, v) {
|
|
23
|
+
o["default"] = v;
|
|
9
24
|
});
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
var
|
|
23
|
-
|
|
24
|
-
var
|
|
25
|
-
|
|
26
|
-
var
|
|
27
|
-
|
|
28
|
-
var
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
var BaseInvTable = function BaseInvTable(props) {
|
|
35
|
-
var history = (0, _reactRouterDom.useHistory)();
|
|
36
|
-
var store = (0, _reactRedux.useStore)();
|
|
37
|
-
return /*#__PURE__*/_react["default"].createElement(_react.Suspense, {
|
|
38
|
-
fallback: props.fallback
|
|
39
|
-
}, /*#__PURE__*/_react["default"].createElement(_reactCore.ScalprumComponent, (0, _extends2["default"])({
|
|
40
|
-
history: history,
|
|
41
|
-
store: store,
|
|
42
|
-
appName: "inventory",
|
|
43
|
-
module: "./InventoryTable",
|
|
44
|
-
scope: "inventory",
|
|
45
|
-
ErrorComponent: /*#__PURE__*/_react["default"].createElement(_InventoryLoadError["default"], (0, _extends2["default"])({
|
|
46
|
-
component: "InventoryDetailHead",
|
|
47
|
-
history: history,
|
|
48
|
-
store: store
|
|
49
|
-
}, props)),
|
|
50
|
-
ref: props.innerRef
|
|
51
|
-
}, props)));
|
|
25
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
|
+
if (mod && mod.__esModule) return mod;
|
|
27
|
+
var result = {};
|
|
28
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
29
|
+
__setModuleDefault(result, mod);
|
|
30
|
+
return result;
|
|
31
|
+
};
|
|
32
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
33
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
34
|
+
};
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
var react_1 = __importStar(require("react"));
|
|
37
|
+
var prop_types_1 = __importDefault(require("prop-types"));
|
|
38
|
+
var react_core_1 = require("@scalprum/react-core");
|
|
39
|
+
var react_router_dom_1 = require("react-router-dom");
|
|
40
|
+
var react_redux_1 = require("react-redux");
|
|
41
|
+
var react_core_2 = require("@patternfly/react-core");
|
|
42
|
+
var InventoryLoadError_1 = __importDefault(require("./InventoryLoadError"));
|
|
43
|
+
var BaseInvTable = function (props) {
|
|
44
|
+
var history = (0, react_router_dom_1.useHistory)();
|
|
45
|
+
var store = (0, react_redux_1.useStore)();
|
|
46
|
+
return (react_1.default.createElement(react_1.Suspense, { fallback: props.fallback },
|
|
47
|
+
react_1.default.createElement(react_core_1.ScalprumComponent, __assign({ history: history, store: store, appName: "inventory", module: "./InventoryTable", scope: "inventory", ErrorComponent: react_1.default.createElement(InventoryLoadError_1.default, __assign({ component: "InventoryDetailHead", history: history, store: store }, props)), ref: props.innerRef }, props))));
|
|
52
48
|
};
|
|
53
|
-
|
|
54
49
|
BaseInvTable.propTypes = {
|
|
55
|
-
|
|
56
|
-
|
|
50
|
+
fallback: prop_types_1.default.node,
|
|
51
|
+
innerRef: prop_types_1.default.object
|
|
57
52
|
};
|
|
58
|
-
|
|
59
|
-
* Inventory sub component.
|
|
60
|
-
*
|
|
61
|
-
* This component shows systems table connected to redux.
|
|
62
|
-
*/
|
|
63
|
-
|
|
64
|
-
var InvTable = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) {
|
|
65
|
-
return /*#__PURE__*/_react["default"].createElement(BaseInvTable, (0, _extends2["default"])({
|
|
66
|
-
innerRef: ref
|
|
67
|
-
}, props));
|
|
68
|
-
});
|
|
69
|
-
|
|
53
|
+
var InvTable = react_1.default.forwardRef(function (props, ref) { return react_1.default.createElement(BaseInvTable, __assign({ innerRef: ref }, props)); });
|
|
70
54
|
InvTable.propTypes = {
|
|
71
|
-
|
|
72
|
-
fallback: _propTypes["default"].node
|
|
55
|
+
fallback: prop_types_1.default.node
|
|
73
56
|
};
|
|
74
57
|
InvTable.defaultProps = {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}, /*#__PURE__*/_react["default"].createElement(_Spinner.Spinner, {
|
|
78
|
-
size: "xl"
|
|
79
|
-
}))
|
|
58
|
+
fallback: react_1.default.createElement(react_core_2.Bullseye, { className: "pf-u-p-lg" },
|
|
59
|
+
react_1.default.createElement(react_core_2.Spinner, { size: "xl" }))
|
|
80
60
|
};
|
|
81
|
-
|
|
82
|
-
|
|
61
|
+
exports.default = InvTable;
|
|
62
|
+
//# sourceMappingURL=InventoryTable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InventoryTable.js","sourceRoot":"","sources":["../src/Inventory/InventoryTable.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAwC;AACxC,0DAAmC;AACnC,mDAAyD;AACzD,qDAA8C;AAC9C,2CAAuC;AACvC,qDAA2D;AAC3D,4EAAsD;AAEtD,IAAM,YAAY,GAAG,UAAC,KAAK;IACvB,IAAM,OAAO,GAAG,IAAA,6BAAU,GAAE,CAAC;IAC7B,IAAM,KAAK,GAAG,IAAA,sBAAQ,GAAE,CAAC;IACzB,OAAO,CACH,8BAAC,gBAAQ,IAAC,QAAQ,EAAE,KAAK,CAAC,QAAQ;QAC9B,8BAAC,8BAAiB,aACd,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAC,WAAW,EACnB,MAAM,EAAC,kBAAkB,EACzB,KAAK,EAAC,WAAW,EACjB,cAAc,EAAE,8BAAC,4BAAkB,aAAC,SAAS,EAAC,qBAAqB,EAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,IAAM,KAAK,EAAI,EACjH,GAAG,EAAE,KAAK,CAAC,QAAQ,IACf,KAAK,EACX,CACK,CACd,CAAC;AACN,CAAC,CAAC;AAEF,YAAY,CAAC,SAAS,GAAG;IACrB,QAAQ,EAAE,oBAAS,CAAC,IAAI;IACxB,QAAQ,EAAE,oBAAS,CAAC,MAAM;CAC7B,CAAC;AAOF,IAAM,QAAQ,GAAG,eAAK,CAAC,UAAU,CAAC,UAAC,KAAK,EAAE,GAAG,IAAK,OAAA,8BAAC,YAAY,aAAC,QAAQ,EAAE,GAAG,IAAM,KAAK,EAAI,EAA1C,CAA0C,CAAC,CAAC;AAE9F,QAAQ,CAAC,SAAS,GAAG;IAEjB,QAAQ,EAAE,oBAAS,CAAC,IAAI;CAC3B,CAAC;AAEF,QAAQ,CAAC,YAAY,GAAG;IACpB,QAAQ,EAAE,8BAAC,qBAAQ,IAAC,SAAS,EAAC,WAAW;QAAC,8BAAC,oBAAO,IAAC,IAAI,EAAC,IAAI,GAAG,CAAW;CAC7E,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
|
@@ -1,87 +1,62 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
16
|
+
}) : (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
o[k2] = m[k];
|
|
19
|
+
}));
|
|
20
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
21
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
22
|
+
}) : function(o, v) {
|
|
23
|
+
o["default"] = v;
|
|
9
24
|
});
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
var
|
|
23
|
-
|
|
24
|
-
var
|
|
25
|
-
|
|
26
|
-
var
|
|
27
|
-
|
|
28
|
-
var
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Inventory sub component.
|
|
36
|
-
*
|
|
37
|
-
* This component is used to manipulate with inventory tags.
|
|
38
|
-
*/
|
|
39
|
-
var BaseTagWithDialog = function BaseTagWithDialog(props) {
|
|
40
|
-
var history = (0, _reactRouterDom.useHistory)();
|
|
41
|
-
var store = (0, _reactRedux.useStore)();
|
|
42
|
-
return /*#__PURE__*/_react["default"].createElement(_react.Suspense, {
|
|
43
|
-
fallback: props.fallback
|
|
44
|
-
}, /*#__PURE__*/_react["default"].createElement(_reactCore.ScalprumComponent, (0, _extends2["default"])({
|
|
45
|
-
history: history,
|
|
46
|
-
store: store,
|
|
47
|
-
appName: "inventory",
|
|
48
|
-
module: "./TagWithDialog",
|
|
49
|
-
scope: "inventory",
|
|
50
|
-
ErrorComponent: /*#__PURE__*/_react["default"].createElement(_InventoryLoadError["default"], (0, _extends2["default"])({
|
|
51
|
-
component: "InventoryDetailHead",
|
|
52
|
-
history: history,
|
|
53
|
-
store: store
|
|
54
|
-
}, props)),
|
|
55
|
-
ref: props.innerRef
|
|
56
|
-
}, props)));
|
|
25
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
|
+
if (mod && mod.__esModule) return mod;
|
|
27
|
+
var result = {};
|
|
28
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
29
|
+
__setModuleDefault(result, mod);
|
|
30
|
+
return result;
|
|
31
|
+
};
|
|
32
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
33
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
34
|
+
};
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
var react_1 = __importStar(require("react"));
|
|
37
|
+
var prop_types_1 = __importDefault(require("prop-types"));
|
|
38
|
+
var react_core_1 = require("@scalprum/react-core");
|
|
39
|
+
var react_router_dom_1 = require("react-router-dom");
|
|
40
|
+
var react_redux_1 = require("react-redux");
|
|
41
|
+
var react_core_2 = require("@patternfly/react-core");
|
|
42
|
+
var InventoryLoadError_1 = __importDefault(require("./InventoryLoadError"));
|
|
43
|
+
var BaseTagWithDialog = function (props) {
|
|
44
|
+
var history = (0, react_router_dom_1.useHistory)();
|
|
45
|
+
var store = (0, react_redux_1.useStore)();
|
|
46
|
+
return (react_1.default.createElement(react_1.Suspense, { fallback: props.fallback },
|
|
47
|
+
react_1.default.createElement(react_core_1.ScalprumComponent, __assign({ history: history, store: store, appName: "inventory", module: "./TagWithDialog", scope: "inventory", ErrorComponent: react_1.default.createElement(InventoryLoadError_1.default, __assign({ component: "InventoryDetailHead", history: history, store: store }, props)), ref: props.innerRef }, props))));
|
|
57
48
|
};
|
|
58
|
-
|
|
59
49
|
BaseTagWithDialog.propTypes = {
|
|
60
|
-
|
|
61
|
-
|
|
50
|
+
fallback: prop_types_1.default.node,
|
|
51
|
+
innerRef: prop_types_1.default.object
|
|
62
52
|
};
|
|
63
|
-
|
|
64
|
-
* Inventory sub component.
|
|
65
|
-
*
|
|
66
|
-
* This component shows systems table connected to redux.
|
|
67
|
-
*/
|
|
68
|
-
|
|
69
|
-
var TagWithDialog = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) {
|
|
70
|
-
return /*#__PURE__*/_react["default"].createElement(BaseTagWithDialog, (0, _extends2["default"])({
|
|
71
|
-
innerRef: ref
|
|
72
|
-
}, props));
|
|
73
|
-
});
|
|
74
|
-
|
|
53
|
+
var TagWithDialog = react_1.default.forwardRef(function (props, ref) { return react_1.default.createElement(BaseTagWithDialog, __assign({ innerRef: ref }, props)); });
|
|
75
54
|
TagWithDialog.propTypes = {
|
|
76
|
-
|
|
77
|
-
fallback: _propTypes["default"].node
|
|
55
|
+
fallback: prop_types_1.default.node
|
|
78
56
|
};
|
|
79
57
|
TagWithDialog.defaultProps = {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}, /*#__PURE__*/_react["default"].createElement(_Spinner.Spinner, {
|
|
83
|
-
size: "xl"
|
|
84
|
-
}))
|
|
58
|
+
fallback: react_1.default.createElement(react_core_2.Bullseye, { className: "pf-u-p-lg" },
|
|
59
|
+
react_1.default.createElement(react_core_2.Spinner, { size: "xl" }))
|
|
85
60
|
};
|
|
86
|
-
|
|
87
|
-
|
|
61
|
+
exports.default = TagWithDialog;
|
|
62
|
+
//# sourceMappingURL=TagWithDialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TagWithDialog.js","sourceRoot":"","sources":["../src/Inventory/TagWithDialog.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAwC;AACxC,0DAAmC;AACnC,mDAAyD;AACzD,qDAA8C;AAC9C,2CAAuC;AACvC,qDAA2D;AAC3D,4EAAsD;AAOtD,IAAM,iBAAiB,GAAG,UAAC,KAAK;IAC5B,IAAM,OAAO,GAAG,IAAA,6BAAU,GAAE,CAAC;IAC7B,IAAM,KAAK,GAAG,IAAA,sBAAQ,GAAE,CAAC;IACzB,OAAO,CACH,8BAAC,gBAAQ,IAAC,QAAQ,EAAE,KAAK,CAAC,QAAQ;QAC9B,8BAAC,8BAAiB,aACd,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAC,WAAW,EACnB,MAAM,EAAC,iBAAiB,EACxB,KAAK,EAAC,WAAW,EACjB,cAAc,EAAE,8BAAC,4BAAkB,aAAC,SAAS,EAAC,qBAAqB,EAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,IAAM,KAAK,EAAI,EACjH,GAAG,EAAE,KAAK,CAAC,QAAQ,IACf,KAAK,EACX,CACK,CACd,CAAC;AACN,CAAC,CAAC;AAEF,iBAAiB,CAAC,SAAS,GAAG;IAC1B,QAAQ,EAAE,oBAAS,CAAC,IAAI;IACxB,QAAQ,EAAE,oBAAS,CAAC,MAAM;CAC7B,CAAC;AAOF,IAAM,aAAa,GAAG,eAAK,CAAC,UAAU,CAAC,UAAC,KAAK,EAAE,GAAG,IAAK,OAAA,8BAAC,iBAAiB,aAAC,QAAQ,EAAE,GAAG,IAAM,KAAK,EAAI,EAA/C,CAA+C,CAAC,CAAC;AAExG,aAAa,CAAC,SAAS,GAAG;IAEtB,QAAQ,EAAE,oBAAS,CAAC,IAAI;CAC3B,CAAC;AAEF,aAAa,CAAC,YAAY,GAAG;IACzB,QAAQ,EAAE,8BAAC,qBAAQ,IAAC,SAAS,EAAC,WAAW;QAAC,8BAAC,oBAAO,IAAC,IAAI,EAAC,IAAI,GAAG,CAAW;CAC7E,CAAC;AAEF,kBAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as InventoryTable } from "./InventoryTable";
|
|
2
|
+
export { default as AppInfo } from "./AppInfo";
|
|
3
|
+
export { default as DetailWrapper } from "./DetailWrapper";
|
|
4
|
+
export { default as InventoryDetail } from "./InventoryDetail";
|
|
5
|
+
export { default as InventoryDetailHead } from "./InventoryDetailHead";
|
|
6
|
+
export { default as TagWithDialog } from "./TagWithDialog";
|
|
7
|
+
export { default as InventoryLoadError } from "./InventoryLoadError";
|
package/Inventory/index.js
CHANGED
|
@@ -1,63 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "InventoryTable", {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
Object.defineProperty(exports, "
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
Object.defineProperty(exports, "
|
|
21
|
-
|
|
22
|
-
get: function get() {
|
|
23
|
-
return _DetailWrapper["default"];
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
Object.defineProperty(exports, "InventoryDetail", {
|
|
27
|
-
enumerable: true,
|
|
28
|
-
get: function get() {
|
|
29
|
-
return _InventoryDetail["default"];
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
Object.defineProperty(exports, "InventoryDetailHead", {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function get() {
|
|
35
|
-
return _InventoryDetailHead["default"];
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
Object.defineProperty(exports, "TagWithDialog", {
|
|
39
|
-
enumerable: true,
|
|
40
|
-
get: function get() {
|
|
41
|
-
return _TagWithDialog["default"];
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
Object.defineProperty(exports, "InventoryLoadError", {
|
|
45
|
-
enumerable: true,
|
|
46
|
-
get: function get() {
|
|
47
|
-
return _InventoryLoadError["default"];
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
var _InventoryTable = _interopRequireDefault(require("./InventoryTable"));
|
|
52
|
-
|
|
53
|
-
var _AppInfo = _interopRequireDefault(require("./AppInfo"));
|
|
54
|
-
|
|
55
|
-
var _DetailWrapper = _interopRequireDefault(require("./DetailWrapper"));
|
|
56
|
-
|
|
57
|
-
var _InventoryDetail = _interopRequireDefault(require("./InventoryDetail"));
|
|
58
|
-
|
|
59
|
-
var _InventoryDetailHead = _interopRequireDefault(require("./InventoryDetailHead"));
|
|
60
|
-
|
|
61
|
-
var _TagWithDialog = _interopRequireDefault(require("./TagWithDialog"));
|
|
62
|
-
|
|
63
|
-
var _InventoryLoadError = _interopRequireDefault(require("./InventoryLoadError"));
|
|
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.InventoryLoadError = exports.TagWithDialog = exports.InventoryDetailHead = exports.InventoryDetail = exports.DetailWrapper = exports.AppInfo = exports.InventoryTable = void 0;
|
|
7
|
+
var InventoryTable_1 = require("./InventoryTable");
|
|
8
|
+
Object.defineProperty(exports, "InventoryTable", { enumerable: true, get: function () { return __importDefault(InventoryTable_1).default; } });
|
|
9
|
+
var AppInfo_1 = require("./AppInfo");
|
|
10
|
+
Object.defineProperty(exports, "AppInfo", { enumerable: true, get: function () { return __importDefault(AppInfo_1).default; } });
|
|
11
|
+
var DetailWrapper_1 = require("./DetailWrapper");
|
|
12
|
+
Object.defineProperty(exports, "DetailWrapper", { enumerable: true, get: function () { return __importDefault(DetailWrapper_1).default; } });
|
|
13
|
+
var InventoryDetail_1 = require("./InventoryDetail");
|
|
14
|
+
Object.defineProperty(exports, "InventoryDetail", { enumerable: true, get: function () { return __importDefault(InventoryDetail_1).default; } });
|
|
15
|
+
var InventoryDetailHead_1 = require("./InventoryDetailHead");
|
|
16
|
+
Object.defineProperty(exports, "InventoryDetailHead", { enumerable: true, get: function () { return __importDefault(InventoryDetailHead_1).default; } });
|
|
17
|
+
var TagWithDialog_1 = require("./TagWithDialog");
|
|
18
|
+
Object.defineProperty(exports, "TagWithDialog", { enumerable: true, get: function () { return __importDefault(TagWithDialog_1).default; } });
|
|
19
|
+
var InventoryLoadError_1 = require("./InventoryLoadError");
|
|
20
|
+
Object.defineProperty(exports, "InventoryLoadError", { enumerable: true, get: function () { return __importDefault(InventoryLoadError_1).default; } });
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/Inventory/index.js"],"names":[],"mappings":";;;;;;AAAA,mDAA6D;AAApD,iIAAA,OAAO,OAAkB;AAClC,qCAA+C;AAAtC,mHAAA,OAAO,OAAW;AAC3B,iDAA2D;AAAlD,+HAAA,OAAO,OAAiB;AACjC,qDAA+D;AAAtD,mIAAA,OAAO,OAAmB;AACnC,6DAAuE;AAA9D,2IAAA,OAAO,OAAuB;AACvC,iDAA2D;AAAlD,+HAAA,OAAO,OAAiB;AACjC,2DAAqE;AAA5D,yIAAA,OAAO,OAAsB"}
|
package/Inventory/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"main":"index.js","module":"../esm/Inventory/index.js"}
|
|
1
|
+
{"main":"index.js","module":"../esm/Inventory/index.js","typings":"index.d.ts"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export default LongTextTooltip;
|
|
2
|
+
declare class LongTextTooltip extends React.Component<any, any, any> {
|
|
3
|
+
constructor(props: any);
|
|
4
|
+
truncate(str: any, max: any): any;
|
|
5
|
+
}
|
|
6
|
+
declare namespace LongTextTooltip {
|
|
7
|
+
namespace defaultProps {
|
|
8
|
+
const content: string;
|
|
9
|
+
const maxLength: number;
|
|
10
|
+
const tooltipPosition: string;
|
|
11
|
+
const tooltipMaxWidth: string;
|
|
12
|
+
}
|
|
13
|
+
namespace propTypes {
|
|
14
|
+
const content_1: propTypes.Requireable<string>;
|
|
15
|
+
export { content_1 as content };
|
|
16
|
+
const maxLength_1: propTypes.Requireable<number>;
|
|
17
|
+
export { maxLength_1 as maxLength };
|
|
18
|
+
const tooltipPosition_1: propTypes.Requireable<string>;
|
|
19
|
+
export { tooltipPosition_1 as tooltipPosition };
|
|
20
|
+
const tooltipMaxWidth_1: propTypes.Requireable<string>;
|
|
21
|
+
export { tooltipMaxWidth_1 as tooltipMaxWidth };
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
import React from "react";
|
|
25
|
+
import propTypes_1 from "prop-types";
|
|
@@ -1,81 +1,74 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
var
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
(
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
key: "render",
|
|
51
|
-
value: function render() {
|
|
52
|
-
var _this$props = this.props,
|
|
53
|
-
content = _this$props.content,
|
|
54
|
-
maxLength = _this$props.maxLength,
|
|
55
|
-
tooltipMaxWidth = _this$props.tooltipMaxWidth,
|
|
56
|
-
tooltipPosition = _this$props.tooltipPosition,
|
|
57
|
-
rest = (0, _objectWithoutProperties2["default"])(_this$props, ["content", "maxLength", "tooltipMaxWidth", "tooltipPosition"]);
|
|
58
|
-
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, content.length > maxLength ? /*#__PURE__*/_react["default"].createElement(_Tooltip.Tooltip, (0, _extends2["default"])({
|
|
59
|
-
maxWidth: tooltipMaxWidth,
|
|
60
|
-
position: tooltipPosition,
|
|
61
|
-
content: /*#__PURE__*/_react["default"].createElement("div", null, content)
|
|
62
|
-
}, rest), /*#__PURE__*/_react["default"].createElement("div", null, this.truncate(content, maxLength))) : /*#__PURE__*/_react["default"].createElement("span", null, content));
|
|
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 __rest = (this && this.__rest) || function (s, e) {
|
|
29
|
+
var t = {};
|
|
30
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
+
t[p] = s[p];
|
|
32
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
40
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
41
|
+
};
|
|
42
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
+
var react_core_1 = require("@patternfly/react-core");
|
|
44
|
+
var prop_types_1 = __importDefault(require("prop-types"));
|
|
45
|
+
var react_1 = __importDefault(require("react"));
|
|
46
|
+
var LongTextTooltip = (function (_super) {
|
|
47
|
+
__extends(LongTextTooltip, _super);
|
|
48
|
+
function LongTextTooltip(props) {
|
|
49
|
+
return _super.call(this, props) || this;
|
|
63
50
|
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
|
|
51
|
+
LongTextTooltip.prototype.truncate = function (str, max) {
|
|
52
|
+
return str.length > max ? str.substr(0, max - 1) + '…' : str;
|
|
53
|
+
};
|
|
54
|
+
LongTextTooltip.prototype.render = function () {
|
|
55
|
+
var _a = this.props, content = _a.content, maxLength = _a.maxLength, tooltipMaxWidth = _a.tooltipMaxWidth, tooltipPosition = _a.tooltipPosition, rest = __rest(_a, ["content", "maxLength", "tooltipMaxWidth", "tooltipPosition"]);
|
|
56
|
+
return (react_1.default.createElement(react_1.default.Fragment, null, content.length > maxLength ? (react_1.default.createElement(react_core_1.Tooltip, __assign({ maxWidth: tooltipMaxWidth, position: tooltipPosition, content: react_1.default.createElement("div", null, content) }, rest),
|
|
57
|
+
react_1.default.createElement("div", null, this.truncate(content, maxLength)))) : (react_1.default.createElement("span", null, content))));
|
|
58
|
+
};
|
|
59
|
+
return LongTextTooltip;
|
|
60
|
+
}(react_1.default.Component));
|
|
68
61
|
LongTextTooltip.defaultProps = {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
62
|
+
content: '',
|
|
63
|
+
maxLength: Infinity,
|
|
64
|
+
tooltipPosition: 'top',
|
|
65
|
+
tooltipMaxWidth: '50vw'
|
|
73
66
|
};
|
|
74
67
|
LongTextTooltip.propTypes = {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
68
|
+
content: prop_types_1.default.string,
|
|
69
|
+
maxLength: prop_types_1.default.number,
|
|
70
|
+
tooltipPosition: prop_types_1.default.string,
|
|
71
|
+
tooltipMaxWidth: prop_types_1.default.string
|
|
79
72
|
};
|
|
80
|
-
|
|
81
|
-
|
|
73
|
+
exports.default = LongTextTooltip;
|
|
74
|
+
//# sourceMappingURL=LongTextTooltip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LongTextTooltip.js","sourceRoot":"","sources":["../src/LongTextTooltip/LongTextTooltip.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAiD;AACjD,0DAAmC;AACnC,gDAA0B;AAE1B;IAA8B,mCAAe;IACzC,yBAAY,KAAK;eACb,kBAAM,KAAK,CAAC;IAChB,CAAC;IAED,kCAAQ,GAAR,UAAS,GAAG,EAAE,GAAG;QACb,OAAO,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC;IACjE,CAAC;IAED,gCAAM,GAAN;QACI,IAAM,KAAoE,IAAI,CAAC,KAAK,EAA5E,OAAO,aAAA,EAAE,SAAS,eAAA,EAAE,eAAe,qBAAA,EAAE,eAAe,qBAAA,EAAK,IAAI,cAA/D,8DAAiE,CAAa,CAAC;QACrF,OAAO,CACH,8BAAC,eAAK,CAAC,QAAQ,QACT,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC,CAAC,CAC3B,8BAAC,oBAAO,aACJ,QAAQ,EAAG,eAAe,EAC1B,QAAQ,EAAG,eAAe,EAC1B,OAAO,EAAG,2CAAO,OAAO,CAAQ,IAC3B,IAAI;YAET,2CAAO,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC,CAAQ,CAC1C,CACb,CAAC,CAAC,CAAC,CACA,4CAAQ,OAAO,CAAS,CAC3B,CACY,CACpB,CAAC;IACN,CAAC;IACL,sBAAC;AAAD,CAAC,AA5BD,CAA8B,eAAK,CAAC,SAAS,GA4B5C;AAED,eAAe,CAAC,YAAY,GAAG;IAC3B,OAAO,EAAE,EAAE;IACX,SAAS,EAAE,QAAQ;IACnB,eAAe,EAAE,KAAK;IACtB,eAAe,EAAE,MAAM;CAC1B,CAAC;AAEF,eAAe,CAAC,SAAS,GAAG;IACxB,OAAO,EAAE,oBAAS,CAAC,MAAM;IACzB,SAAS,EAAE,oBAAS,CAAC,MAAM;IAC3B,eAAe,EAAE,oBAAS,CAAC,MAAM;IACjC,eAAe,EAAE,oBAAS,CAAC,MAAM;CACpC,CAAC;AAEF,kBAAe,eAAe,CAAC"}
|
package/LongTextTooltip/index.js
CHANGED
|
@@ -1,23 +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, "LongTextTooltip", {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function get() {
|
|
17
|
-
return _LongTextTooltip2["default"];
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
var _LongTextTooltip = _interopRequireDefault(require("./LongTextTooltip"));
|
|
22
|
-
|
|
23
|
-
var _LongTextTooltip2 = _interopRequireDefault(require("./LongTextTooltip.js"));
|
|
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.LongTextTooltip = exports.default = void 0;
|
|
7
|
+
var LongTextTooltip_1 = require("./LongTextTooltip");
|
|
8
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(LongTextTooltip_1).default; } });
|
|
9
|
+
var LongTextTooltip_js_1 = require("./LongTextTooltip.js");
|
|
10
|
+
Object.defineProperty(exports, "LongTextTooltip", { enumerable: true, get: function () { return __importDefault(LongTextTooltip_js_1).default; } });
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/LongTextTooltip/index.js"],"names":[],"mappings":";;;;;;AAAA,qDAA4C;AAAnC,2HAAA,OAAO,OAAA;AAChB,2DAAkE;AAAzD,sIAAA,OAAO,OAAmB"}
|