@itwin/appui-react 3.7.0-dev.1 → 4.0.0-dev.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -134
- package/lib/cjs/appui-react/UiFramework.d.ts +2 -32
- package/lib/cjs/appui-react/UiFramework.d.ts.map +1 -1
- package/lib/cjs/appui-react/UiFramework.js +6 -33
- package/lib/cjs/appui-react/UiFramework.js.map +1 -1
- package/lib/cjs/appui-react/_variables.scss +2 -2
- package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.scss +2 -3
- package/lib/cjs/appui-react/accudraw/AccuDrawInputField.scss +9 -4
- package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposer.js +3 -2
- package/lib/cjs/appui-react/backstage/BackstageComposer.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposerItem.js +2 -2
- package/lib/cjs/appui-react/backstage/BackstageComposerItem.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageItem.d.ts +3 -17
- package/lib/cjs/appui-react/backstage/BackstageItem.d.ts.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageItem.js +1 -12
- package/lib/cjs/appui-react/backstage/BackstageItem.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageItemUtilities.d.ts +3 -8
- package/lib/cjs/appui-react/backstage/BackstageItemUtilities.d.ts.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageItemUtilities.js +31 -45
- package/lib/cjs/appui-react/backstage/BackstageItemUtilities.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageManager.d.ts +6 -0
- package/lib/cjs/appui-react/backstage/BackstageManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageManager.js +7 -0
- package/lib/cjs/appui-react/backstage/BackstageManager.js.map +1 -1
- package/lib/cjs/appui-react/backstage/InternalBackstageManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/backstage/InternalBackstageManager.js +0 -2
- package/lib/cjs/appui-react/backstage/InternalBackstageManager.js.map +1 -1
- package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts +2 -1
- package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts.map +1 -1
- package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.js +3 -5
- package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.js.map +1 -1
- package/lib/cjs/appui-react/childwindow/ChildWindowManager.d.ts +2 -1
- package/lib/cjs/appui-react/childwindow/ChildWindowManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/childwindow/ChildWindowManager.js +3 -0
- package/lib/cjs/appui-react/childwindow/ChildWindowManager.js.map +1 -1
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts +23 -0
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js +41 -17
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
- package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
- package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js +1 -4
- package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
- package/lib/cjs/appui-react/configurableui/ConfigurableUiManager.d.ts +1 -21
- package/lib/cjs/appui-react/configurableui/ConfigurableUiManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/configurableui/ConfigurableUiManager.js +1 -27
- package/lib/cjs/appui-react/configurableui/ConfigurableUiManager.js.map +1 -1
- package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.d.ts +1 -1
- package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js +2 -2
- package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
- package/lib/cjs/appui-react/configurableui/configurableui.scss +5 -7
- package/lib/cjs/appui-react/configurableui/state.d.ts +0 -7
- package/lib/cjs/appui-react/configurableui/state.d.ts.map +1 -1
- package/lib/cjs/appui-react/configurableui/state.js +0 -9
- package/lib/cjs/appui-react/configurableui/state.js.map +1 -1
- package/lib/cjs/appui-react/content/ContentGroup.d.ts +2 -9
- package/lib/cjs/appui-react/content/ContentGroup.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/ContentGroup.js.map +1 -1
- package/lib/cjs/appui-react/content/ContentLayout.d.ts +0 -4
- package/lib/cjs/appui-react/content/ContentLayout.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/ContentLayout.js +2 -2
- package/lib/cjs/appui-react/content/ContentLayout.js.map +1 -1
- package/lib/cjs/appui-react/content/DefaultViewOverlay.scss +4 -5
- package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts +19 -7
- package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/FloatingViewportContent.js +29 -33
- package/lib/cjs/appui-react/content/FloatingViewportContent.js.map +1 -1
- package/lib/cjs/appui-react/content/IModelViewport.d.ts +2 -2
- package/lib/cjs/appui-react/content/IModelViewport.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/IModelViewport.js +2 -6
- package/lib/cjs/appui-react/content/IModelViewport.js.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js +2 -2
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
- package/lib/cjs/appui-react/dialog/StandardMessageBox.d.ts +2 -0
- package/lib/cjs/appui-react/dialog/StandardMessageBox.d.ts.map +1 -1
- package/lib/cjs/appui-react/dialog/StandardMessageBox.js.map +1 -1
- package/lib/cjs/appui-react/feedback/ElementTooltip.js +1 -2
- package/lib/cjs/appui-react/feedback/ElementTooltip.js.map +1 -1
- package/lib/cjs/appui-react/feedback/ValidationTextbox.d.ts +2 -0
- package/lib/cjs/appui-react/feedback/ValidationTextbox.d.ts.map +1 -1
- package/lib/cjs/appui-react/feedback/ValidationTextbox.js.map +1 -1
- package/lib/cjs/appui-react/feedback/ValidationTextbox.scss +4 -4
- package/lib/cjs/appui-react/framework/FrameworkChildWindows.d.ts +17 -0
- package/lib/cjs/appui-react/framework/FrameworkChildWindows.d.ts.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkChildWindows.js.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkFrontstages.d.ts +1 -1
- package/lib/cjs/appui-react/framework/FrameworkFrontstages.d.ts.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkFrontstages.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageConfig.d.ts +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageConfig.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts +22 -75
- package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageDef.js +114 -325
- package/lib/cjs/appui-react/frontstage/FrontstageDef.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageManager.d.ts +11 -15
- package/lib/cjs/appui-react/frontstage/FrontstageManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageManager.js +0 -5
- package/lib/cjs/appui-react/frontstage/FrontstageManager.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageProvider.d.ts +3 -11
- package/lib/cjs/appui-react/frontstage/FrontstageProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageProvider.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts +5 -10
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js +12 -41
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts +2 -0
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.js +2 -1
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.scss +1 -4
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts +5 -16
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js +44 -27
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
- package/lib/cjs/appui-react/messages/ActivityMessage.d.ts +1 -36
- package/lib/cjs/appui-react/messages/ActivityMessage.d.ts.map +1 -1
- package/lib/cjs/appui-react/messages/ActivityMessage.js +25 -38
- package/lib/cjs/appui-react/messages/ActivityMessage.js.map +1 -1
- package/lib/cjs/appui-react/messages/MessageManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/messages/MessageManager.js +2 -3
- package/lib/cjs/appui-react/messages/MessageManager.js.map +1 -1
- package/lib/cjs/appui-react/messages/Pointer.js +1 -2
- package/lib/cjs/appui-react/messages/Pointer.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.d.ts.map +1 -1
- package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.js +1 -0
- package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.d.ts.map +1 -1
- package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.js +1 -0
- package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.d.ts.map +1 -1
- package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.js +1 -0
- package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.scss +13 -9
- package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
- package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js +6 -7
- package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
- package/lib/cjs/appui-react/pickers/ListPicker.d.ts +3 -35
- package/lib/cjs/appui-react/pickers/ListPicker.d.ts.map +1 -1
- package/lib/cjs/appui-react/pickers/ListPicker.js +9 -143
- package/lib/cjs/appui-react/pickers/ListPicker.js.map +1 -1
- package/lib/cjs/appui-react/pickers/ListPicker.scss +15 -17
- package/lib/cjs/appui-react/pickers/ViewSelector.d.ts.map +1 -1
- package/lib/cjs/appui-react/pickers/ViewSelector.js +0 -1
- package/lib/cjs/appui-react/pickers/ViewSelector.js.map +1 -1
- package/lib/cjs/appui-react/popup/PositionPopup.d.ts +2 -0
- package/lib/cjs/appui-react/popup/PositionPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/PositionPopup.js.map +1 -1
- package/lib/cjs/appui-react/redux/FrameworkState.d.ts +1 -1
- package/lib/cjs/appui-react/safearea/SafeAreaContext.d.ts +3 -65
- package/lib/cjs/appui-react/safearea/SafeAreaContext.d.ts.map +1 -1
- package/lib/cjs/appui-react/safearea/SafeAreaContext.js +3 -20
- package/lib/cjs/appui-react/safearea/SafeAreaContext.js.map +1 -1
- package/lib/cjs/appui-react/safearea/SafeAreaHelpers.d.ts +8 -0
- package/lib/cjs/appui-react/safearea/SafeAreaHelpers.d.ts.map +1 -0
- package/lib/cjs/appui-react/{zones/Outline.js → safearea/SafeAreaHelpers.js} +6 -12
- package/lib/cjs/appui-react/safearea/SafeAreaHelpers.js.map +1 -0
- package/lib/cjs/appui-react/safearea/SafeAreaInsets.d.ts +8 -7
- package/lib/cjs/appui-react/safearea/SafeAreaInsets.d.ts.map +1 -1
- package/lib/cjs/appui-react/safearea/SafeAreaInsets.js +9 -3
- package/lib/cjs/appui-react/safearea/SafeAreaInsets.js.map +1 -1
- package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.d.ts +7 -48
- package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.js +25 -172
- package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
- package/lib/cjs/appui-react/selection/SelectionContextItemDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/selection/SelectionContextItemDef.js +0 -12
- package/lib/cjs/appui-react/selection/SelectionContextItemDef.js.map +1 -1
- package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.d.ts.map +1 -1
- package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js +0 -2
- package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
- package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.scss +6 -13
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts +0 -12
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js +26 -26
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.scss +8 -9
- package/lib/cjs/appui-react/shared/ActionButtonItemDef.d.ts +0 -7
- package/lib/cjs/appui-react/shared/ActionButtonItemDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/ActionButtonItemDef.js +0 -19
- package/lib/cjs/appui-react/shared/ActionButtonItemDef.js.map +1 -1
- package/lib/cjs/appui-react/shared/CustomItemDef.d.ts +0 -2
- package/lib/cjs/appui-react/shared/CustomItemDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/CustomItemDef.js +0 -18
- package/lib/cjs/appui-react/shared/CustomItemDef.js.map +1 -1
- package/lib/cjs/appui-react/shared/CustomItemProps.d.ts +0 -1
- package/lib/cjs/appui-react/shared/CustomItemProps.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/CustomItemProps.js.map +1 -1
- package/lib/cjs/appui-react/shared/GroupItemProps.d.ts +0 -3
- package/lib/cjs/appui-react/shared/GroupItemProps.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/GroupItemProps.js.map +1 -1
- package/lib/cjs/appui-react/shared/ItemDefBase.d.ts +0 -8
- package/lib/cjs/appui-react/shared/ItemDefBase.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/ItemDefBase.js +2 -16
- package/lib/cjs/appui-react/shared/ItemDefBase.js.map +1 -1
- package/lib/cjs/appui-react/shared/ItemProps.d.ts +0 -17
- package/lib/cjs/appui-react/shared/ItemProps.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/ItemProps.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts +10 -4
- package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelConfig.js +0 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts +13 -31
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.js +61 -117
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelLocation.d.ts +2 -2
- package/lib/cjs/appui-react/stagepanels/StagePanelLocation.js +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelLocation.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/Indicator.js +2 -4
- package/lib/cjs/appui-react/statusbar/Indicator.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/Overflow.d.ts +1 -1
- package/lib/cjs/appui-react/statusbar/Overflow.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/Overflow.js +2 -3
- package/lib/cjs/appui-react/statusbar/Overflow.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/Separator.d.ts +1 -0
- package/lib/cjs/appui-react/statusbar/Separator.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/Separator.js +4 -3
- package/lib/cjs/appui-react/statusbar/Separator.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/Separator.scss +14 -0
- package/lib/cjs/appui-react/statusbar/StatusBar.d.ts +1 -17
- package/lib/cjs/appui-react/statusbar/StatusBar.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBar.js +6 -55
- package/lib/cjs/appui-react/statusbar/StatusBar.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarComposer.js +12 -16
- package/lib/cjs/appui-react/statusbar/StatusBarComposer.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarItem.d.ts +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarItem.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.d.ts +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.js +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.d.ts +1 -20
- package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/dialog/Dialog.js +1 -1
- package/lib/cjs/appui-react/statusbar/dialog/Dialog.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/dialog/TitleBar.js +1 -1
- package/lib/cjs/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts +3 -2
- package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.js +5 -11
- package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/ActivityCenter.d.ts +3 -21
- package/lib/cjs/appui-react/statusfields/ActivityCenter.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/ActivityCenter.js +39 -47
- package/lib/cjs/appui-react/statusfields/ActivityCenter.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts +5 -16
- package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/MessageCenter.js +10 -38
- package/lib/cjs/appui-react/statusfields/MessageCenter.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SectionsField.d.ts +2 -2
- package/lib/cjs/appui-react/statusfields/SectionsField.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/SectionsField.js +10 -13
- package/lib/cjs/appui-react/statusfields/SectionsField.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SectionsField.scss +5 -6
- package/lib/cjs/appui-react/statusfields/SelectionInfo.d.ts +2 -2
- package/lib/cjs/appui-react/statusfields/SelectionInfo.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionInfo.js +1 -5
- package/lib/cjs/appui-react/statusfields/SelectionInfo.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts +2 -2
- package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionScope.js +4 -9
- package/lib/cjs/appui-react/statusfields/SelectionScope.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionScope.scss +5 -7
- package/lib/cjs/appui-react/statusfields/SnapMode.d.ts +2 -2
- package/lib/cjs/appui-react/statusfields/SnapMode.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/SnapMode.js +2 -3
- package/lib/cjs/appui-react/statusfields/SnapMode.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts +3 -4
- package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/ViewAttributes.js +2 -10
- package/lib/cjs/appui-react/statusfields/ViewAttributes.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +3 -3
- package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.js +1 -4
- package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.scss +9 -22
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +5 -6
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js +22 -38
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.scss +10 -22
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts +5 -29
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js +6 -74
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/GroupItem.d.ts +2 -93
- package/lib/cjs/appui-react/toolbar/GroupItem.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolbar/GroupItem.js +2 -392
- package/lib/cjs/appui-react/toolbar/GroupItem.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarComposer.d.ts +2 -1
- package/lib/cjs/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarComposer.js +4 -27
- package/lib/cjs/appui-react/toolbar/ToolbarComposer.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarHelper.d.ts +1 -2
- package/lib/cjs/appui-react/toolbar/ToolbarHelper.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarHelper.js +2 -16
- package/lib/cjs/appui-react/toolbar/ToolbarHelper.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarItem.d.ts +4 -4
- package/lib/cjs/appui-react/toolbar/ToolbarItem.js +2 -2
- package/lib/cjs/appui-react/toolbar/ToolbarItem.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts +2 -1
- package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js +2 -4
- package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.d.ts +0 -7
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.d.ts.map +1 -1
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.js +1 -43
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.js.map +1 -1
- package/lib/cjs/appui-react/{zones/toolsettings → toolsettings}/DefaultToolSettingsProvider.d.ts +2 -2
- package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -0
- package/lib/cjs/appui-react/{zones/toolsettings → toolsettings}/DefaultToolSettingsProvider.js +4 -5
- package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -0
- package/lib/cjs/appui-react/{zones/toolsettings → toolsettings}/InternalToolSettingsManager.d.ts +1 -1
- package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.d.ts.map +1 -0
- package/lib/cjs/appui-react/{zones/toolsettings → toolsettings}/InternalToolSettingsManager.js +2 -2
- package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.js.map +1 -0
- package/lib/cjs/appui-react/toolsettings/ToolInformation.d.ts.map +1 -0
- package/lib/cjs/appui-react/{zones/toolsettings → toolsettings}/ToolInformation.js +2 -2
- package/lib/cjs/appui-react/toolsettings/ToolInformation.js.map +1 -0
- package/lib/{esm/appui-react/zones → cjs/appui-react}/toolsettings/ToolSettingsManager.d.ts +1 -1
- package/lib/cjs/appui-react/toolsettings/ToolSettingsManager.d.ts.map +1 -0
- package/lib/cjs/appui-react/toolsettings/ToolSettingsManager.js.map +1 -0
- package/lib/{esm/appui-react/zones → cjs/appui-react}/toolsettings/ToolUiProvider.d.ts +3 -3
- package/lib/cjs/appui-react/toolsettings/ToolUiProvider.d.ts.map +1 -0
- package/lib/cjs/appui-react/{zones/toolsettings → toolsettings}/ToolUiProvider.js +1 -1
- package/lib/cjs/appui-react/toolsettings/ToolUiProvider.js.map +1 -0
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js +1 -4
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts +0 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +1 -11
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js +6 -20
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts +1 -0
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +6 -20
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
- package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.js +1 -3
- package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.js.map +1 -1
- package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.scss +0 -3
- package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts +1 -5
- package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
- package/lib/cjs/appui-react/uistate/AppUiSettings.js +0 -6
- package/lib/cjs/appui-react/uistate/AppUiSettings.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Content.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Content.js +5 -3
- package/lib/cjs/appui-react/widget-panels/Content.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts +22 -19
- package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Frontstage.js +125 -231
- package/lib/cjs/appui-react/widget-panels/Frontstage.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/FrontstageContent.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/FrontstageContent.js +3 -3
- package/lib/cjs/appui-react/widget-panels/FrontstageContent.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/StatusBar.js +6 -9
- package/lib/cjs/appui-react/widget-panels/StatusBar.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/ToolSettings.js +7 -7
- package/lib/cjs/appui-react/widget-panels/ToolSettings.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/ToolSettings.scss +3 -2
- package/lib/cjs/appui-react/widget-panels/Toolbars.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Toolbars.js +5 -12
- package/lib/cjs/appui-react/widget-panels/Toolbars.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/useWidgetDirection.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/useWidgetDirection.js +6 -8
- package/lib/cjs/appui-react/widget-panels/useWidgetDirection.js.map +1 -1
- package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/BackstageAppButton.js +4 -7
- package/lib/cjs/appui-react/widgets/BackstageAppButton.js.map +1 -1
- package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.d.ts +1 -1
- package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.js +1 -1
- package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.js.map +1 -1
- package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js +1 -2
- package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
- package/lib/cjs/appui-react/widgets/StableWidgetDef.d.ts +1 -1
- package/lib/cjs/appui-react/widgets/StableWidgetDef.js +1 -1
- package/lib/cjs/appui-react/widgets/StableWidgetDef.js.map +1 -1
- package/lib/cjs/appui-react/widgets/ToolSettingsContent.d.ts +0 -19
- package/lib/cjs/appui-react/widgets/ToolSettingsContent.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/ToolSettingsContent.js +1 -40
- package/lib/cjs/appui-react/widgets/ToolSettingsContent.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetConfig.d.ts +19 -4
- package/lib/cjs/appui-react/widgets/WidgetConfig.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetConfig.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetDef.d.ts +11 -70
- package/lib/cjs/appui-react/widgets/WidgetDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetDef.js +59 -116
- package/lib/cjs/appui-react/widgets/WidgetDef.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetHost.d.ts +3 -3
- package/lib/cjs/appui-react/widgets/WidgetHost.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetHost.js +4 -94
- package/lib/cjs/appui-react/widgets/WidgetHost.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetManager.d.ts +5 -6
- package/lib/cjs/appui-react/widgets/WidgetManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetManager.js +23 -58
- package/lib/cjs/appui-react/widgets/WidgetManager.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetProps.d.ts +1 -22
- package/lib/cjs/appui-react/widgets/WidgetProps.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetProps.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetState.d.ts +2 -2
- package/lib/cjs/appui-react/widgets/WidgetState.js +1 -1
- package/lib/cjs/appui-react/widgets/WidgetState.js.map +1 -1
- package/lib/cjs/appui-react.d.ts +4 -66
- package/lib/cjs/appui-react.d.ts.map +1 -1
- package/lib/cjs/appui-react.js +4 -66
- package/lib/cjs/appui-react.js.map +1 -1
- package/lib/esm/appui-react/UiFramework.d.ts +2 -32
- package/lib/esm/appui-react/UiFramework.d.ts.map +1 -1
- package/lib/esm/appui-react/UiFramework.js +5 -31
- package/lib/esm/appui-react/UiFramework.js.map +1 -1
- package/lib/esm/appui-react/_variables.scss +2 -2
- package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.scss +2 -3
- package/lib/esm/appui-react/accudraw/AccuDrawInputField.scss +9 -4
- package/lib/esm/appui-react/backstage/BackstageComposer.d.ts +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposer.js +3 -2
- package/lib/esm/appui-react/backstage/BackstageComposer.js.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposerItem.js +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposerItem.js.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageItem.d.ts +3 -17
- package/lib/esm/appui-react/backstage/BackstageItem.d.ts.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageItem.js +0 -11
- package/lib/esm/appui-react/backstage/BackstageItem.js.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageItemUtilities.d.ts +3 -8
- package/lib/esm/appui-react/backstage/BackstageItemUtilities.d.ts.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageItemUtilities.js +31 -44
- package/lib/esm/appui-react/backstage/BackstageItemUtilities.js.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageManager.d.ts +6 -0
- package/lib/esm/appui-react/backstage/BackstageManager.d.ts.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageManager.js +7 -0
- package/lib/esm/appui-react/backstage/BackstageManager.js.map +1 -1
- package/lib/esm/appui-react/backstage/InternalBackstageManager.d.ts.map +1 -1
- package/lib/esm/appui-react/backstage/InternalBackstageManager.js +0 -2
- package/lib/esm/appui-react/backstage/InternalBackstageManager.js.map +1 -1
- package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts +2 -1
- package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts.map +1 -1
- package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.js +2 -4
- package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.js.map +1 -1
- package/lib/esm/appui-react/childwindow/ChildWindowManager.d.ts +2 -1
- package/lib/esm/appui-react/childwindow/ChildWindowManager.d.ts.map +1 -1
- package/lib/esm/appui-react/childwindow/ChildWindowManager.js +3 -0
- package/lib/esm/appui-react/childwindow/ChildWindowManager.js.map +1 -1
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts +23 -0
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js +41 -17
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
- package/lib/esm/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
- package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js +1 -4
- package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
- package/lib/esm/appui-react/configurableui/ConfigurableUiManager.d.ts +1 -21
- package/lib/esm/appui-react/configurableui/ConfigurableUiManager.d.ts.map +1 -1
- package/lib/esm/appui-react/configurableui/ConfigurableUiManager.js +1 -27
- package/lib/esm/appui-react/configurableui/ConfigurableUiManager.js.map +1 -1
- package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.d.ts +1 -1
- package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js +2 -2
- package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
- package/lib/esm/appui-react/configurableui/configurableui.scss +5 -7
- package/lib/esm/appui-react/configurableui/state.d.ts +0 -7
- package/lib/esm/appui-react/configurableui/state.d.ts.map +1 -1
- package/lib/esm/appui-react/configurableui/state.js +0 -9
- package/lib/esm/appui-react/configurableui/state.js.map +1 -1
- package/lib/esm/appui-react/content/ContentGroup.d.ts +2 -9
- package/lib/esm/appui-react/content/ContentGroup.d.ts.map +1 -1
- package/lib/esm/appui-react/content/ContentGroup.js.map +1 -1
- package/lib/esm/appui-react/content/ContentLayout.d.ts +0 -4
- package/lib/esm/appui-react/content/ContentLayout.d.ts.map +1 -1
- package/lib/esm/appui-react/content/ContentLayout.js +1 -1
- package/lib/esm/appui-react/content/ContentLayout.js.map +1 -1
- package/lib/esm/appui-react/content/DefaultViewOverlay.scss +4 -5
- package/lib/esm/appui-react/content/FloatingViewportContent.d.ts +19 -7
- package/lib/esm/appui-react/content/FloatingViewportContent.d.ts.map +1 -1
- package/lib/esm/appui-react/content/FloatingViewportContent.js +25 -31
- package/lib/esm/appui-react/content/FloatingViewportContent.js.map +1 -1
- package/lib/esm/appui-react/content/IModelViewport.d.ts +2 -2
- package/lib/esm/appui-react/content/IModelViewport.d.ts.map +1 -1
- package/lib/esm/appui-react/content/IModelViewport.js +2 -6
- package/lib/esm/appui-react/content/IModelViewport.js.map +1 -1
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js +2 -2
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
- package/lib/esm/appui-react/dialog/StandardMessageBox.d.ts +2 -0
- package/lib/esm/appui-react/dialog/StandardMessageBox.d.ts.map +1 -1
- package/lib/esm/appui-react/dialog/StandardMessageBox.js.map +1 -1
- package/lib/esm/appui-react/feedback/ElementTooltip.js +1 -2
- package/lib/esm/appui-react/feedback/ElementTooltip.js.map +1 -1
- package/lib/esm/appui-react/feedback/ValidationTextbox.d.ts +2 -0
- package/lib/esm/appui-react/feedback/ValidationTextbox.d.ts.map +1 -1
- package/lib/esm/appui-react/feedback/ValidationTextbox.js.map +1 -1
- package/lib/esm/appui-react/feedback/ValidationTextbox.scss +4 -4
- package/lib/esm/appui-react/framework/FrameworkChildWindows.d.ts +17 -0
- package/lib/esm/appui-react/framework/FrameworkChildWindows.d.ts.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkChildWindows.js.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkFrontstages.d.ts +1 -1
- package/lib/esm/appui-react/framework/FrameworkFrontstages.d.ts.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkFrontstages.js.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageConfig.d.ts +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageConfig.js.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts +22 -75
- package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageDef.js +89 -303
- package/lib/esm/appui-react/frontstage/FrontstageDef.js.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageManager.d.ts +11 -15
- package/lib/esm/appui-react/frontstage/FrontstageManager.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageManager.js +0 -5
- package/lib/esm/appui-react/frontstage/FrontstageManager.js.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageProvider.d.ts +3 -11
- package/lib/esm/appui-react/frontstage/FrontstageProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageProvider.js.map +1 -1
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts +5 -10
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js +4 -33
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
- package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts +2 -0
- package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/ModalFrontstage.js +2 -1
- package/lib/esm/appui-react/frontstage/ModalFrontstage.js.map +1 -1
- package/lib/esm/appui-react/frontstage/ModalFrontstage.scss +1 -4
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts +5 -16
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js +44 -27
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
- package/lib/esm/appui-react/messages/ActivityMessage.d.ts +1 -36
- package/lib/esm/appui-react/messages/ActivityMessage.d.ts.map +1 -1
- package/lib/esm/appui-react/messages/ActivityMessage.js +24 -34
- package/lib/esm/appui-react/messages/ActivityMessage.js.map +1 -1
- package/lib/esm/appui-react/messages/MessageManager.d.ts.map +1 -1
- package/lib/esm/appui-react/messages/MessageManager.js +2 -3
- package/lib/esm/appui-react/messages/MessageManager.js.map +1 -1
- package/lib/esm/appui-react/messages/Pointer.js +1 -2
- package/lib/esm/appui-react/messages/Pointer.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.d.ts.map +1 -1
- package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.js +1 -0
- package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.d.ts.map +1 -1
- package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.js +1 -0
- package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/SheetNavigationAid.d.ts.map +1 -1
- package/lib/esm/appui-react/navigationaids/SheetNavigationAid.js +1 -0
- package/lib/esm/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/SheetNavigationAid.scss +13 -9
- package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
- package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js +8 -9
- package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
- package/lib/esm/appui-react/pickers/ListPicker.d.ts +3 -35
- package/lib/esm/appui-react/pickers/ListPicker.d.ts.map +1 -1
- package/lib/esm/appui-react/pickers/ListPicker.js +9 -142
- package/lib/esm/appui-react/pickers/ListPicker.js.map +1 -1
- package/lib/esm/appui-react/pickers/ListPicker.scss +15 -17
- package/lib/esm/appui-react/pickers/ViewSelector.d.ts.map +1 -1
- package/lib/esm/appui-react/pickers/ViewSelector.js +0 -1
- package/lib/esm/appui-react/pickers/ViewSelector.js.map +1 -1
- package/lib/esm/appui-react/popup/PositionPopup.d.ts +2 -0
- package/lib/esm/appui-react/popup/PositionPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/PositionPopup.js.map +1 -1
- package/lib/esm/appui-react/redux/FrameworkState.d.ts +1 -1
- package/lib/esm/appui-react/safearea/SafeAreaContext.d.ts +3 -65
- package/lib/esm/appui-react/safearea/SafeAreaContext.d.ts.map +1 -1
- package/lib/esm/appui-react/safearea/SafeAreaContext.js +2 -18
- package/lib/esm/appui-react/safearea/SafeAreaContext.js.map +1 -1
- package/lib/esm/appui-react/safearea/SafeAreaHelpers.d.ts +8 -0
- package/lib/esm/appui-react/safearea/SafeAreaHelpers.d.ts.map +1 -0
- package/lib/{cjs/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.scss → esm/appui-react/safearea/SafeAreaHelpers.js} +7 -4
- package/lib/esm/appui-react/safearea/SafeAreaHelpers.js.map +1 -0
- package/lib/esm/appui-react/safearea/SafeAreaInsets.d.ts +8 -7
- package/lib/esm/appui-react/safearea/SafeAreaInsets.d.ts.map +1 -1
- package/lib/esm/appui-react/safearea/SafeAreaInsets.js +9 -3
- package/lib/esm/appui-react/safearea/SafeAreaInsets.js.map +1 -1
- package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.d.ts +7 -48
- package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.d.ts.map +1 -1
- package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.js +25 -172
- package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
- package/lib/esm/appui-react/selection/SelectionContextItemDef.d.ts.map +1 -1
- package/lib/esm/appui-react/selection/SelectionContextItemDef.js +0 -12
- package/lib/esm/appui-react/selection/SelectionContextItemDef.js.map +1 -1
- package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.d.ts.map +1 -1
- package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js +0 -2
- package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
- package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.scss +6 -13
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts +0 -12
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.js +26 -26
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.scss +8 -9
- package/lib/esm/appui-react/shared/ActionButtonItemDef.d.ts +0 -7
- package/lib/esm/appui-react/shared/ActionButtonItemDef.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/ActionButtonItemDef.js +0 -19
- package/lib/esm/appui-react/shared/ActionButtonItemDef.js.map +1 -1
- package/lib/esm/appui-react/shared/CustomItemDef.d.ts +0 -2
- package/lib/esm/appui-react/shared/CustomItemDef.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/CustomItemDef.js +0 -18
- package/lib/esm/appui-react/shared/CustomItemDef.js.map +1 -1
- package/lib/esm/appui-react/shared/CustomItemProps.d.ts +0 -1
- package/lib/esm/appui-react/shared/CustomItemProps.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/CustomItemProps.js.map +1 -1
- package/lib/esm/appui-react/shared/GroupItemProps.d.ts +0 -3
- package/lib/esm/appui-react/shared/GroupItemProps.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/GroupItemProps.js.map +1 -1
- package/lib/esm/appui-react/shared/ItemDefBase.d.ts +0 -8
- package/lib/esm/appui-react/shared/ItemDefBase.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/ItemDefBase.js +2 -16
- package/lib/esm/appui-react/shared/ItemDefBase.js.map +1 -1
- package/lib/esm/appui-react/shared/ItemProps.d.ts +0 -17
- package/lib/esm/appui-react/shared/ItemProps.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/ItemProps.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts +10 -4
- package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelConfig.js +0 -1
- package/lib/esm/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts +13 -31
- package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelDef.js +54 -109
- package/lib/esm/appui-react/stagepanels/StagePanelDef.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelLocation.d.ts +2 -2
- package/lib/esm/appui-react/stagepanels/StagePanelLocation.js +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelLocation.js.map +1 -1
- package/lib/esm/appui-react/statusbar/Indicator.js +2 -4
- package/lib/esm/appui-react/statusbar/Indicator.js.map +1 -1
- package/lib/esm/appui-react/statusbar/Overflow.d.ts +1 -1
- package/lib/esm/appui-react/statusbar/Overflow.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/Overflow.js +2 -3
- package/lib/esm/appui-react/statusbar/Overflow.js.map +1 -1
- package/lib/esm/appui-react/statusbar/Separator.d.ts +1 -0
- package/lib/esm/appui-react/statusbar/Separator.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/Separator.js +4 -3
- package/lib/esm/appui-react/statusbar/Separator.js.map +1 -1
- package/lib/esm/appui-react/statusbar/Separator.scss +14 -0
- package/lib/esm/appui-react/statusbar/StatusBar.d.ts +1 -17
- package/lib/esm/appui-react/statusbar/StatusBar.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBar.js +6 -55
- package/lib/esm/appui-react/statusbar/StatusBar.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarComposer.js +16 -20
- package/lib/esm/appui-react/statusbar/StatusBarComposer.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarItem.d.ts +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarItem.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.d.ts +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.js +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.d.ts +1 -20
- package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.js.map +1 -1
- package/lib/esm/appui-react/statusbar/dialog/Dialog.js +1 -1
- package/lib/esm/appui-react/statusbar/dialog/Dialog.js.map +1 -1
- package/lib/esm/appui-react/statusbar/dialog/TitleBar.js +1 -1
- package/lib/esm/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
- package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts +3 -2
- package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.js +5 -11
- package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.js.map +1 -1
- package/lib/esm/appui-react/statusfields/ActivityCenter.d.ts +3 -21
- package/lib/esm/appui-react/statusfields/ActivityCenter.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/ActivityCenter.js +39 -47
- package/lib/esm/appui-react/statusfields/ActivityCenter.js.map +1 -1
- package/lib/esm/appui-react/statusfields/MessageCenter.d.ts +5 -16
- package/lib/esm/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/MessageCenter.js +10 -38
- package/lib/esm/appui-react/statusfields/MessageCenter.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SectionsField.d.ts +2 -2
- package/lib/esm/appui-react/statusfields/SectionsField.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/SectionsField.js +10 -13
- package/lib/esm/appui-react/statusfields/SectionsField.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SectionsField.scss +5 -6
- package/lib/esm/appui-react/statusfields/SelectionInfo.d.ts +2 -2
- package/lib/esm/appui-react/statusfields/SelectionInfo.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionInfo.js +1 -5
- package/lib/esm/appui-react/statusfields/SelectionInfo.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionScope.d.ts +2 -2
- package/lib/esm/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionScope.js +4 -9
- package/lib/esm/appui-react/statusfields/SelectionScope.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionScope.scss +5 -7
- package/lib/esm/appui-react/statusfields/SnapMode.d.ts +2 -2
- package/lib/esm/appui-react/statusfields/SnapMode.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/SnapMode.js +2 -3
- package/lib/esm/appui-react/statusfields/SnapMode.js.map +1 -1
- package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts +3 -4
- package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/ViewAttributes.js +2 -10
- package/lib/esm/appui-react/statusfields/ViewAttributes.js.map +1 -1
- package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +3 -3
- package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.js +1 -4
- package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.js.map +1 -1
- package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.scss +9 -22
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +5 -6
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js +23 -39
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.scss +10 -22
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts +5 -29
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js +6 -74
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
- package/lib/esm/appui-react/toolbar/GroupItem.d.ts +2 -93
- package/lib/esm/appui-react/toolbar/GroupItem.d.ts.map +1 -1
- package/lib/esm/appui-react/toolbar/GroupItem.js +1 -387
- package/lib/esm/appui-react/toolbar/GroupItem.js.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarComposer.d.ts +2 -1
- package/lib/esm/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarComposer.js +4 -27
- package/lib/esm/appui-react/toolbar/ToolbarComposer.js.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarHelper.d.ts +1 -2
- package/lib/esm/appui-react/toolbar/ToolbarHelper.d.ts.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarHelper.js +2 -16
- package/lib/esm/appui-react/toolbar/ToolbarHelper.js.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarItem.d.ts +4 -4
- package/lib/esm/appui-react/toolbar/ToolbarItem.js +2 -2
- package/lib/esm/appui-react/toolbar/ToolbarItem.js.map +1 -1
- package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts +2 -1
- package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts.map +1 -1
- package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js +2 -4
- package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
- package/lib/esm/appui-react/tools/CoreToolDefinitions.d.ts +0 -7
- package/lib/esm/appui-react/tools/CoreToolDefinitions.d.ts.map +1 -1
- package/lib/esm/appui-react/tools/CoreToolDefinitions.js +2 -44
- package/lib/esm/appui-react/tools/CoreToolDefinitions.js.map +1 -1
- package/lib/esm/appui-react/{zones/toolsettings → toolsettings}/DefaultToolSettingsProvider.d.ts +2 -2
- package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -0
- package/lib/esm/appui-react/{zones/toolsettings → toolsettings}/DefaultToolSettingsProvider.js +4 -5
- package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -0
- package/lib/esm/appui-react/{zones/toolsettings → toolsettings}/InternalToolSettingsManager.d.ts +1 -1
- package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.d.ts.map +1 -0
- package/lib/esm/appui-react/{zones/toolsettings → toolsettings}/InternalToolSettingsManager.js +2 -2
- package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.js.map +1 -0
- package/lib/esm/appui-react/toolsettings/ToolInformation.d.ts.map +1 -0
- package/lib/esm/appui-react/{zones/toolsettings → toolsettings}/ToolInformation.js +2 -2
- package/lib/esm/appui-react/toolsettings/ToolInformation.js.map +1 -0
- package/lib/{cjs/appui-react/zones → esm/appui-react}/toolsettings/ToolSettingsManager.d.ts +1 -1
- package/lib/esm/appui-react/toolsettings/ToolSettingsManager.d.ts.map +1 -0
- package/lib/esm/appui-react/toolsettings/ToolSettingsManager.js.map +1 -0
- package/lib/{cjs/appui-react/zones → esm/appui-react}/toolsettings/ToolUiProvider.d.ts +3 -3
- package/lib/esm/appui-react/toolsettings/ToolUiProvider.d.ts.map +1 -0
- package/lib/esm/appui-react/{zones/toolsettings → toolsettings}/ToolUiProvider.js +1 -1
- package/lib/esm/appui-react/toolsettings/ToolUiProvider.js.map +1 -0
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js +1 -4
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts +0 -1
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +1 -11
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js +6 -20
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts +1 -0
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +6 -20
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
- package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.js +1 -3
- package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.js.map +1 -1
- package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.scss +0 -3
- package/lib/esm/appui-react/uistate/AppUiSettings.d.ts +1 -5
- package/lib/esm/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
- package/lib/esm/appui-react/uistate/AppUiSettings.js +0 -6
- package/lib/esm/appui-react/uistate/AppUiSettings.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/Content.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/Content.js +4 -2
- package/lib/esm/appui-react/widget-panels/Content.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/Frontstage.d.ts +22 -19
- package/lib/esm/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/Frontstage.js +109 -216
- package/lib/esm/appui-react/widget-panels/Frontstage.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/FrontstageContent.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/FrontstageContent.js +2 -2
- package/lib/esm/appui-react/widget-panels/FrontstageContent.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/StatusBar.js +5 -8
- package/lib/esm/appui-react/widget-panels/StatusBar.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/ToolSettings.js +7 -7
- package/lib/esm/appui-react/widget-panels/ToolSettings.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/ToolSettings.scss +3 -2
- package/lib/esm/appui-react/widget-panels/Toolbars.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/Toolbars.js +4 -11
- package/lib/esm/appui-react/widget-panels/Toolbars.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/useWidgetDirection.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/useWidgetDirection.js +7 -9
- package/lib/esm/appui-react/widget-panels/useWidgetDirection.js.map +1 -1
- package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/BackstageAppButton.js +4 -7
- package/lib/esm/appui-react/widgets/BackstageAppButton.js.map +1 -1
- package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.d.ts +1 -1
- package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.js +1 -1
- package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.js.map +1 -1
- package/lib/esm/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js +1 -2
- package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
- package/lib/esm/appui-react/widgets/StableWidgetDef.d.ts +1 -1
- package/lib/esm/appui-react/widgets/StableWidgetDef.js +1 -1
- package/lib/esm/appui-react/widgets/StableWidgetDef.js.map +1 -1
- package/lib/esm/appui-react/widgets/ToolSettingsContent.d.ts +0 -19
- package/lib/esm/appui-react/widgets/ToolSettingsContent.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/ToolSettingsContent.js +0 -38
- package/lib/esm/appui-react/widgets/ToolSettingsContent.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetConfig.d.ts +19 -4
- package/lib/esm/appui-react/widgets/WidgetConfig.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetConfig.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetDef.d.ts +11 -70
- package/lib/esm/appui-react/widgets/WidgetDef.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetDef.js +59 -116
- package/lib/esm/appui-react/widgets/WidgetDef.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetHost.d.ts +3 -3
- package/lib/esm/appui-react/widgets/WidgetHost.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetHost.js +4 -94
- package/lib/esm/appui-react/widgets/WidgetHost.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetManager.d.ts +5 -6
- package/lib/esm/appui-react/widgets/WidgetManager.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetManager.js +20 -55
- package/lib/esm/appui-react/widgets/WidgetManager.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetProps.d.ts +1 -22
- package/lib/esm/appui-react/widgets/WidgetProps.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetProps.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetState.d.ts +2 -2
- package/lib/esm/appui-react/widgets/WidgetState.js +1 -1
- package/lib/esm/appui-react/widgets/WidgetState.js.map +1 -1
- package/lib/esm/appui-react.d.ts +4 -66
- package/lib/esm/appui-react.d.ts.map +1 -1
- package/lib/esm/appui-react.js +4 -66
- package/lib/esm/appui-react.js.map +1 -1
- package/lib/public/locales/en/UiFramework.json +0 -2
- package/package.json +46 -50
- package/lib/cjs/appui-react/backstage/Backstage.d.ts +0 -62
- package/lib/cjs/appui-react/backstage/Backstage.d.ts.map +0 -1
- package/lib/cjs/appui-react/backstage/Backstage.js +0 -89
- package/lib/cjs/appui-react/backstage/Backstage.js.map +0 -1
- package/lib/cjs/appui-react/backstage/BackstageItemProps.d.ts +0 -49
- package/lib/cjs/appui-react/backstage/BackstageItemProps.d.ts.map +0 -1
- package/lib/cjs/appui-react/backstage/BackstageItemProps.js +0 -22
- package/lib/cjs/appui-react/backstage/BackstageItemProps.js.map +0 -1
- package/lib/cjs/appui-react/backstage/CommandLaunch.d.ts +0 -32
- package/lib/cjs/appui-react/backstage/CommandLaunch.d.ts.map +0 -1
- package/lib/cjs/appui-react/backstage/CommandLaunch.js +0 -87
- package/lib/cjs/appui-react/backstage/CommandLaunch.js.map +0 -1
- package/lib/cjs/appui-react/backstage/FrontstageLaunch.d.ts +0 -34
- package/lib/cjs/appui-react/backstage/FrontstageLaunch.d.ts.map +0 -1
- package/lib/cjs/appui-react/backstage/FrontstageLaunch.js +0 -92
- package/lib/cjs/appui-react/backstage/FrontstageLaunch.js.map +0 -1
- package/lib/cjs/appui-react/backstage/Separator.d.ts +0 -16
- package/lib/cjs/appui-react/backstage/Separator.d.ts.map +0 -1
- package/lib/cjs/appui-react/backstage/Separator.js +0 -28
- package/lib/cjs/appui-react/backstage/Separator.js.map +0 -1
- package/lib/cjs/appui-react/backstage/TaskLaunch.d.ts +0 -35
- package/lib/cjs/appui-react/backstage/TaskLaunch.d.ts.map +0 -1
- package/lib/cjs/appui-react/backstage/TaskLaunch.js +0 -101
- package/lib/cjs/appui-react/backstage/TaskLaunch.js.map +0 -1
- package/lib/cjs/appui-react/content/FloatingViewportContent.css +0 -9
- package/lib/cjs/appui-react/dragdrop/ZoneTargets.d.ts +0 -22
- package/lib/cjs/appui-react/dragdrop/ZoneTargets.d.ts.map +0 -1
- package/lib/cjs/appui-react/dragdrop/ZoneTargets.js +0 -33
- package/lib/cjs/appui-react/dragdrop/ZoneTargets.js.map +0 -1
- package/lib/cjs/appui-react/frontstage/Frontstage.d.ts +0 -159
- package/lib/cjs/appui-react/frontstage/Frontstage.d.ts.map +0 -1
- package/lib/cjs/appui-react/frontstage/Frontstage.js +0 -469
- package/lib/cjs/appui-react/frontstage/Frontstage.js.map +0 -1
- package/lib/cjs/appui-react/frontstage/FrontstageComposer.d.ts +0 -147
- package/lib/cjs/appui-react/frontstage/FrontstageComposer.d.ts.map +0 -1
- package/lib/cjs/appui-react/frontstage/FrontstageComposer.js +0 -668
- package/lib/cjs/appui-react/frontstage/FrontstageComposer.js.map +0 -1
- package/lib/cjs/appui-react/hooks/useFrameworkVersion.d.ts +0 -38
- package/lib/cjs/appui-react/hooks/useFrameworkVersion.d.ts.map +0 -1
- package/lib/cjs/appui-react/hooks/useFrameworkVersion.js +0 -57
- package/lib/cjs/appui-react/hooks/useFrameworkVersion.js.map +0 -1
- package/lib/cjs/appui-react/imodel-components/Common.d.ts +0 -26
- package/lib/cjs/appui-react/imodel-components/Common.d.ts.map +0 -1
- package/lib/cjs/appui-react/imodel-components/Common.js +0 -25
- package/lib/cjs/appui-react/imodel-components/Common.js.map +0 -1
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeBase.scss +0 -53
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeEventHandler.d.ts +0 -72
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeEventHandler.d.ts.map +0 -1
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeEventHandler.js +0 -149
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeEventHandler.js.map +0 -1
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeRenderer.d.ts +0 -52
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeRenderer.d.ts.map +0 -1
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeRenderer.js +0 -71
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeRenderer.js.map +0 -1
- package/lib/cjs/appui-react/imodel-components/category-tree/Categories.json +0 -102
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoriesTree.d.ts +0 -72
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoriesTree.d.ts.map +0 -1
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoriesTree.js +0 -109
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoriesTree.js.map +0 -1
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoriesTree.scss +0 -9
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.d.ts +0 -64
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.d.ts.map +0 -1
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.js +0 -201
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.js.map +0 -1
- package/lib/cjs/appui-react/imodel-components/models-tree/Hierarchy.GroupedByClass.json +0 -392
- package/lib/cjs/appui-react/imodel-components/models-tree/Hierarchy.json +0 -387
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTree.d.ts +0 -85
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTree.d.ts.map +0 -1
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTree.js +0 -130
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTree.js.map +0 -1
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTree.scss +0 -9
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTreeSearch.json +0 -239
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.d.ts +0 -104
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.d.ts.map +0 -1
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.js +0 -482
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.js.map +0 -1
- package/lib/cjs/appui-react/imodel-components/models-tree/Utils.d.ts +0 -10
- package/lib/cjs/appui-react/imodel-components/models-tree/Utils.d.ts.map +0 -1
- package/lib/cjs/appui-react/imodel-components/models-tree/Utils.js +0 -23
- package/lib/cjs/appui-react/imodel-components/models-tree/Utils.js.map +0 -1
- package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialBreakdown.GroupedByClass.json +0 -79
- package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialBreakdown.json +0 -79
- package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.d.ts +0 -36
- package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.d.ts.map +0 -1
- package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.js +0 -44
- package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.js.map +0 -1
- package/lib/cjs/appui-react/keyinbrowser/KeyinBrowser.d.ts +0 -80
- package/lib/cjs/appui-react/keyinbrowser/KeyinBrowser.d.ts.map +0 -1
- package/lib/cjs/appui-react/keyinbrowser/KeyinBrowser.js +0 -239
- package/lib/cjs/appui-react/keyinbrowser/KeyinBrowser.js.map +0 -1
- package/lib/cjs/appui-react/keyinbrowser/KeyinBrowser.scss +0 -11
- package/lib/cjs/appui-react/messages/ActivityMessagePopup.d.ts +0 -20
- package/lib/cjs/appui-react/messages/ActivityMessagePopup.d.ts.map +0 -1
- package/lib/cjs/appui-react/messages/ActivityMessagePopup.js +0 -44
- package/lib/cjs/appui-react/messages/ActivityMessagePopup.js.map +0 -1
- package/lib/cjs/appui-react/messages/ActivityMessagePopup.scss +0 -15
- package/lib/cjs/appui-react/messages/StatusMessageRenderer.d.ts +0 -22
- package/lib/cjs/appui-react/messages/StatusMessageRenderer.d.ts.map +0 -1
- package/lib/cjs/appui-react/messages/StatusMessageRenderer.js +0 -76
- package/lib/cjs/appui-react/messages/StatusMessageRenderer.js.map +0 -1
- package/lib/cjs/appui-react/messages/StatusMessageRenderer.scss +0 -28
- package/lib/cjs/appui-react/messages/StatusMessagesContainer.d.ts +0 -25
- package/lib/cjs/appui-react/messages/StatusMessagesContainer.d.ts.map +0 -1
- package/lib/cjs/appui-react/messages/StatusMessagesContainer.js +0 -68
- package/lib/cjs/appui-react/messages/StatusMessagesContainer.js.map +0 -1
- package/lib/cjs/appui-react/messages/StatusMessagesContainer.scss +0 -53
- package/lib/cjs/appui-react/messages/StickyMessage.d.ts +0 -23
- package/lib/cjs/appui-react/messages/StickyMessage.d.ts.map +0 -1
- package/lib/cjs/appui-react/messages/StickyMessage.js +0 -39
- package/lib/cjs/appui-react/messages/StickyMessage.js.map +0 -1
- package/lib/cjs/appui-react/messages/StickyMessage.scss +0 -22
- package/lib/cjs/appui-react/messages/ToastMessage.d.ts +0 -23
- package/lib/cjs/appui-react/messages/ToastMessage.d.ts.map +0 -1
- package/lib/cjs/appui-react/messages/ToastMessage.js +0 -31
- package/lib/cjs/appui-react/messages/ToastMessage.js.map +0 -1
- package/lib/cjs/appui-react/selection/ClearEmphasisStatusField.d.ts +0 -18
- package/lib/cjs/appui-react/selection/ClearEmphasisStatusField.d.ts.map +0 -1
- package/lib/cjs/appui-react/selection/ClearEmphasisStatusField.js +0 -57
- package/lib/cjs/appui-react/selection/ClearEmphasisStatusField.js.map +0 -1
- package/lib/cjs/appui-react/stagepanels/FrameworkStagePanel.d.ts +0 -62
- package/lib/cjs/appui-react/stagepanels/FrameworkStagePanel.d.ts.map +0 -1
- package/lib/cjs/appui-react/stagepanels/FrameworkStagePanel.js +0 -122
- package/lib/cjs/appui-react/stagepanels/FrameworkStagePanel.js.map +0 -1
- package/lib/cjs/appui-react/stagepanels/FrameworkStagePanel.scss +0 -42
- package/lib/cjs/appui-react/stagepanels/StagePanel.d.ts +0 -142
- package/lib/cjs/appui-react/stagepanels/StagePanel.d.ts.map +0 -1
- package/lib/cjs/appui-react/stagepanels/StagePanel.js +0 -155
- package/lib/cjs/appui-react/stagepanels/StagePanel.js.map +0 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelHeader.d.ts +0 -28
- package/lib/cjs/appui-react/stagepanels/StagePanelHeader.d.ts.map +0 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelHeader.js +0 -46
- package/lib/cjs/appui-react/stagepanels/StagePanelHeader.js.map +0 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelHeader.scss +0 -26
- package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.d.ts +0 -11
- package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.d.ts.map +0 -1
- package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.js +0 -19
- package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.js.map +0 -1
- package/lib/cjs/appui-react/statusbar/withMessageCenterFieldProps.d.ts +0 -10
- package/lib/cjs/appui-react/statusbar/withMessageCenterFieldProps.d.ts.map +0 -1
- package/lib/cjs/appui-react/statusbar/withMessageCenterFieldProps.js +0 -26
- package/lib/cjs/appui-react/statusbar/withMessageCenterFieldProps.js.map +0 -1
- package/lib/cjs/appui-react/statusbar/withStatusFieldProps.d.ts +0 -11
- package/lib/cjs/appui-react/statusbar/withStatusFieldProps.d.ts.map +0 -1
- package/lib/cjs/appui-react/statusbar/withStatusFieldProps.js +0 -27
- package/lib/cjs/appui-react/statusbar/withStatusFieldProps.js.map +0 -1
- package/lib/cjs/appui-react/statusfields/ConditionalField.d.ts +0 -45
- package/lib/cjs/appui-react/statusfields/ConditionalField.d.ts.map +0 -1
- package/lib/cjs/appui-react/statusfields/ConditionalField.js +0 -57
- package/lib/cjs/appui-react/statusfields/ConditionalField.js.map +0 -1
- package/lib/cjs/appui-react/statusfields/FooterModeField.d.ts +0 -19
- package/lib/cjs/appui-react/statusfields/FooterModeField.d.ts.map +0 -1
- package/lib/cjs/appui-react/statusfields/FooterModeField.js +0 -28
- package/lib/cjs/appui-react/statusfields/FooterModeField.js.map +0 -1
- package/lib/cjs/appui-react/statusfields/Indicator.d.ts +0 -44
- package/lib/cjs/appui-react/statusfields/Indicator.d.ts.map +0 -1
- package/lib/cjs/appui-react/statusfields/Indicator.js +0 -46
- package/lib/cjs/appui-react/statusfields/Indicator.js.map +0 -1
- package/lib/cjs/appui-react/statusfields/Indicator.scss +0 -183
- package/lib/cjs/appui-react/statusfields/PromptField.d.ts +0 -31
- package/lib/cjs/appui-react/statusfields/PromptField.d.ts.map +0 -1
- package/lib/cjs/appui-react/statusfields/PromptField.js +0 -52
- package/lib/cjs/appui-react/statusfields/PromptField.js.map +0 -1
- package/lib/cjs/appui-react/statusfields/PromptField.scss +0 -42
- package/lib/cjs/appui-react/statusfields/StatusFieldProps.d.ts +0 -23
- package/lib/cjs/appui-react/statusfields/StatusFieldProps.d.ts.map +0 -1
- package/lib/cjs/appui-react/statusfields/StatusFieldProps.js +0 -3
- package/lib/cjs/appui-react/statusfields/StatusFieldProps.js.map +0 -1
- package/lib/cjs/appui-react/syncui/BooleanListener.d.ts +0 -44
- package/lib/cjs/appui-react/syncui/BooleanListener.d.ts.map +0 -1
- package/lib/cjs/appui-react/syncui/BooleanListener.js +0 -70
- package/lib/cjs/appui-react/syncui/BooleanListener.js.map +0 -1
- package/lib/cjs/appui-react/toolbar/ActionButtonItem.d.ts +0 -18
- package/lib/cjs/appui-react/toolbar/ActionButtonItem.d.ts.map +0 -1
- package/lib/cjs/appui-react/toolbar/ActionButtonItem.js +0 -31
- package/lib/cjs/appui-react/toolbar/ActionButtonItem.js.map +0 -1
- package/lib/cjs/appui-react/toolbar/ActionItemButton.d.ts +0 -40
- package/lib/cjs/appui-react/toolbar/ActionItemButton.d.ts.map +0 -1
- package/lib/cjs/appui-react/toolbar/ActionItemButton.js +0 -104
- package/lib/cjs/appui-react/toolbar/ActionItemButton.js.map +0 -1
- package/lib/cjs/appui-react/toolbar/GroupButtonItem.d.ts +0 -79
- package/lib/cjs/appui-react/toolbar/GroupButtonItem.d.ts.map +0 -1
- package/lib/cjs/appui-react/toolbar/GroupButtonItem.js +0 -329
- package/lib/cjs/appui-react/toolbar/GroupButtonItem.js.map +0 -1
- package/lib/cjs/appui-react/toolbar/PopupButton.d.ts +0 -58
- package/lib/cjs/appui-react/toolbar/PopupButton.d.ts.map +0 -1
- package/lib/cjs/appui-react/toolbar/PopupButton.js +0 -153
- package/lib/cjs/appui-react/toolbar/PopupButton.js.map +0 -1
- package/lib/cjs/appui-react/toolbar/PopupButton.scss +0 -9
- package/lib/cjs/appui-react/toolbar/ToolButton.d.ts +0 -31
- package/lib/cjs/appui-react/toolbar/ToolButton.d.ts.map +0 -1
- package/lib/cjs/appui-react/toolbar/ToolButton.js +0 -99
- package/lib/cjs/appui-react/toolbar/ToolButton.js.map +0 -1
- package/lib/cjs/appui-react/toolbar/Toolbar.d.ts +0 -55
- package/lib/cjs/appui-react/toolbar/Toolbar.d.ts.map +0 -1
- package/lib/cjs/appui-react/toolbar/Toolbar.js +0 -240
- package/lib/cjs/appui-react/toolbar/Toolbar.js.map +0 -1
- package/lib/cjs/appui-react/tools/MarkupToolDefinitions.d.ts +0 -22
- package/lib/cjs/appui-react/tools/MarkupToolDefinitions.d.ts.map +0 -1
- package/lib/cjs/appui-react/tools/MarkupToolDefinitions.js +0 -54
- package/lib/cjs/appui-react/tools/MarkupToolDefinitions.js.map +0 -1
- package/lib/cjs/appui-react/uistate/UserSettingsStorage.d.ts +0 -15
- package/lib/cjs/appui-react/uistate/UserSettingsStorage.d.ts.map +0 -1
- package/lib/cjs/appui-react/uistate/UserSettingsStorage.js +0 -62
- package/lib/cjs/appui-react/uistate/UserSettingsStorage.js.map +0 -1
- package/lib/cjs/appui-react/widgets/DefaultNavigationWidget.d.ts +0 -35
- package/lib/cjs/appui-react/widgets/DefaultNavigationWidget.d.ts.map +0 -1
- package/lib/cjs/appui-react/widgets/DefaultNavigationWidget.js +0 -65
- package/lib/cjs/appui-react/widgets/DefaultNavigationWidget.js.map +0 -1
- package/lib/cjs/appui-react/widgets/NavigationWidget.d.ts +0 -56
- package/lib/cjs/appui-react/widgets/NavigationWidget.d.ts.map +0 -1
- package/lib/cjs/appui-react/widgets/NavigationWidget.js +0 -151
- package/lib/cjs/appui-react/widgets/NavigationWidget.js.map +0 -1
- package/lib/cjs/appui-react/widgets/ReviewToolWidget.d.ts +0 -33
- package/lib/cjs/appui-react/widgets/ReviewToolWidget.d.ts.map +0 -1
- package/lib/cjs/appui-react/widgets/ReviewToolWidget.js +0 -74
- package/lib/cjs/appui-react/widgets/ReviewToolWidget.js.map +0 -1
- package/lib/cjs/appui-react/widgets/ToolSettingsContent.scss +0 -61
- package/lib/cjs/appui-react/widgets/ToolWidget.d.ts +0 -47
- package/lib/cjs/appui-react/widgets/ToolWidget.d.ts.map +0 -1
- package/lib/cjs/appui-react/widgets/ToolWidget.js +0 -88
- package/lib/cjs/appui-react/widgets/ToolWidget.js.map +0 -1
- package/lib/cjs/appui-react/widgets/ToolbarWidgetBase.d.ts +0 -26
- package/lib/cjs/appui-react/widgets/ToolbarWidgetBase.d.ts.map +0 -1
- package/lib/cjs/appui-react/widgets/ToolbarWidgetBase.js +0 -55
- package/lib/cjs/appui-react/widgets/ToolbarWidgetBase.js.map +0 -1
- package/lib/cjs/appui-react/widgets/Widget.d.ts +0 -15
- package/lib/cjs/appui-react/widgets/Widget.d.ts.map +0 -1
- package/lib/cjs/appui-react/widgets/Widget.js +0 -26
- package/lib/cjs/appui-react/widgets/Widget.js.map +0 -1
- package/lib/cjs/appui-react/widgets/WidgetStack.d.ts +0 -135
- package/lib/cjs/appui-react/widgets/WidgetStack.d.ts.map +0 -1
- package/lib/cjs/appui-react/widgets/WidgetStack.js +0 -138
- package/lib/cjs/appui-react/widgets/WidgetStack.js.map +0 -1
- package/lib/cjs/appui-react/workflow/Task.d.ts +0 -48
- package/lib/cjs/appui-react/workflow/Task.d.ts.map +0 -1
- package/lib/cjs/appui-react/workflow/Task.js +0 -73
- package/lib/cjs/appui-react/workflow/Task.js.map +0 -1
- package/lib/cjs/appui-react/workflow/Workflow.d.ts +0 -153
- package/lib/cjs/appui-react/workflow/Workflow.d.ts.map +0 -1
- package/lib/cjs/appui-react/workflow/Workflow.js +0 -238
- package/lib/cjs/appui-react/workflow/Workflow.js.map +0 -1
- package/lib/cjs/appui-react/zones/FrameworkZone.d.ts +0 -44
- package/lib/cjs/appui-react/zones/FrameworkZone.d.ts.map +0 -1
- package/lib/cjs/appui-react/zones/FrameworkZone.js +0 -53
- package/lib/cjs/appui-react/zones/FrameworkZone.js.map +0 -1
- package/lib/cjs/appui-react/zones/Outline.d.ts +0 -14
- package/lib/cjs/appui-react/zones/Outline.d.ts.map +0 -1
- package/lib/cjs/appui-react/zones/Outline.js.map +0 -1
- package/lib/cjs/appui-react/zones/StatusBarZone.d.ts +0 -28
- package/lib/cjs/appui-react/zones/StatusBarZone.d.ts.map +0 -1
- package/lib/cjs/appui-react/zones/StatusBarZone.js +0 -33
- package/lib/cjs/appui-react/zones/StatusBarZone.js.map +0 -1
- package/lib/cjs/appui-react/zones/Zone.d.ts +0 -88
- package/lib/cjs/appui-react/zones/Zone.d.ts.map +0 -1
- package/lib/cjs/appui-react/zones/Zone.js +0 -158
- package/lib/cjs/appui-react/zones/Zone.js.map +0 -1
- package/lib/cjs/appui-react/zones/ZoneDef.d.ts +0 -57
- package/lib/cjs/appui-react/zones/ZoneDef.d.ts.map +0 -1
- package/lib/cjs/appui-react/zones/ZoneDef.js +0 -92
- package/lib/cjs/appui-react/zones/ZoneDef.js.map +0 -1
- package/lib/cjs/appui-react/zones/toolsettings/DefaultToolSettingsProvider.d.ts.map +0 -1
- package/lib/cjs/appui-react/zones/toolsettings/DefaultToolSettingsProvider.js.map +0 -1
- package/lib/cjs/appui-react/zones/toolsettings/InternalToolSettingsManager.d.ts.map +0 -1
- package/lib/cjs/appui-react/zones/toolsettings/InternalToolSettingsManager.js.map +0 -1
- package/lib/cjs/appui-react/zones/toolsettings/ToolInformation.d.ts.map +0 -1
- package/lib/cjs/appui-react/zones/toolsettings/ToolInformation.js.map +0 -1
- package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsManager.d.ts.map +0 -1
- package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsManager.js.map +0 -1
- package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsZone.d.ts +0 -54
- package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsZone.d.ts.map +0 -1
- package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsZone.js +0 -93
- package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsZone.js.map +0 -1
- package/lib/cjs/appui-react/zones/toolsettings/ToolUiProvider.d.ts.map +0 -1
- package/lib/cjs/appui-react/zones/toolsettings/ToolUiProvider.js.map +0 -1
- package/lib/esm/appui-react/backstage/Backstage.d.ts +0 -62
- package/lib/esm/appui-react/backstage/Backstage.d.ts.map +0 -1
- package/lib/esm/appui-react/backstage/Backstage.js +0 -84
- package/lib/esm/appui-react/backstage/Backstage.js.map +0 -1
- package/lib/esm/appui-react/backstage/BackstageItemProps.d.ts +0 -49
- package/lib/esm/appui-react/backstage/BackstageItemProps.d.ts.map +0 -1
- package/lib/esm/appui-react/backstage/BackstageItemProps.js +0 -18
- package/lib/esm/appui-react/backstage/BackstageItemProps.js.map +0 -1
- package/lib/esm/appui-react/backstage/CommandLaunch.d.ts +0 -32
- package/lib/esm/appui-react/backstage/CommandLaunch.d.ts.map +0 -1
- package/lib/esm/appui-react/backstage/CommandLaunch.js +0 -83
- package/lib/esm/appui-react/backstage/CommandLaunch.js.map +0 -1
- package/lib/esm/appui-react/backstage/FrontstageLaunch.d.ts +0 -34
- package/lib/esm/appui-react/backstage/FrontstageLaunch.d.ts.map +0 -1
- package/lib/esm/appui-react/backstage/FrontstageLaunch.js +0 -88
- package/lib/esm/appui-react/backstage/FrontstageLaunch.js.map +0 -1
- package/lib/esm/appui-react/backstage/Separator.d.ts +0 -16
- package/lib/esm/appui-react/backstage/Separator.d.ts.map +0 -1
- package/lib/esm/appui-react/backstage/Separator.js +0 -24
- package/lib/esm/appui-react/backstage/Separator.js.map +0 -1
- package/lib/esm/appui-react/backstage/TaskLaunch.d.ts +0 -35
- package/lib/esm/appui-react/backstage/TaskLaunch.d.ts.map +0 -1
- package/lib/esm/appui-react/backstage/TaskLaunch.js +0 -97
- package/lib/esm/appui-react/backstage/TaskLaunch.js.map +0 -1
- package/lib/esm/appui-react/content/FloatingViewportContent.css +0 -9
- package/lib/esm/appui-react/dragdrop/ZoneTargets.d.ts +0 -22
- package/lib/esm/appui-react/dragdrop/ZoneTargets.d.ts.map +0 -1
- package/lib/esm/appui-react/dragdrop/ZoneTargets.js +0 -29
- package/lib/esm/appui-react/dragdrop/ZoneTargets.js.map +0 -1
- package/lib/esm/appui-react/frontstage/Frontstage.d.ts +0 -159
- package/lib/esm/appui-react/frontstage/Frontstage.d.ts.map +0 -1
- package/lib/esm/appui-react/frontstage/Frontstage.js +0 -461
- package/lib/esm/appui-react/frontstage/Frontstage.js.map +0 -1
- package/lib/esm/appui-react/frontstage/FrontstageComposer.d.ts +0 -147
- package/lib/esm/appui-react/frontstage/FrontstageComposer.d.ts.map +0 -1
- package/lib/esm/appui-react/frontstage/FrontstageComposer.js +0 -662
- package/lib/esm/appui-react/frontstage/FrontstageComposer.js.map +0 -1
- package/lib/esm/appui-react/hooks/useFrameworkVersion.d.ts +0 -38
- package/lib/esm/appui-react/hooks/useFrameworkVersion.d.ts.map +0 -1
- package/lib/esm/appui-react/hooks/useFrameworkVersion.js +0 -51
- package/lib/esm/appui-react/hooks/useFrameworkVersion.js.map +0 -1
- package/lib/esm/appui-react/imodel-components/Common.d.ts +0 -26
- package/lib/esm/appui-react/imodel-components/Common.d.ts.map +0 -1
- package/lib/esm/appui-react/imodel-components/Common.js +0 -22
- package/lib/esm/appui-react/imodel-components/Common.js.map +0 -1
- package/lib/esm/appui-react/imodel-components/VisibilityTreeBase.scss +0 -53
- package/lib/esm/appui-react/imodel-components/VisibilityTreeEventHandler.d.ts +0 -72
- package/lib/esm/appui-react/imodel-components/VisibilityTreeEventHandler.d.ts.map +0 -1
- package/lib/esm/appui-react/imodel-components/VisibilityTreeEventHandler.js +0 -145
- package/lib/esm/appui-react/imodel-components/VisibilityTreeEventHandler.js.map +0 -1
- package/lib/esm/appui-react/imodel-components/VisibilityTreeRenderer.d.ts +0 -52
- package/lib/esm/appui-react/imodel-components/VisibilityTreeRenderer.d.ts.map +0 -1
- package/lib/esm/appui-react/imodel-components/VisibilityTreeRenderer.js +0 -63
- package/lib/esm/appui-react/imodel-components/VisibilityTreeRenderer.js.map +0 -1
- package/lib/esm/appui-react/imodel-components/category-tree/Categories.json +0 -102
- package/lib/esm/appui-react/imodel-components/category-tree/CategoriesTree.d.ts +0 -72
- package/lib/esm/appui-react/imodel-components/category-tree/CategoriesTree.d.ts.map +0 -1
- package/lib/esm/appui-react/imodel-components/category-tree/CategoriesTree.js +0 -103
- package/lib/esm/appui-react/imodel-components/category-tree/CategoriesTree.js.map +0 -1
- package/lib/esm/appui-react/imodel-components/category-tree/CategoriesTree.scss +0 -9
- package/lib/esm/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.d.ts +0 -64
- package/lib/esm/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.d.ts.map +0 -1
- package/lib/esm/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.js +0 -195
- package/lib/esm/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.js.map +0 -1
- package/lib/esm/appui-react/imodel-components/models-tree/Hierarchy.GroupedByClass.json +0 -392
- package/lib/esm/appui-react/imodel-components/models-tree/Hierarchy.json +0 -387
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsTree.d.ts +0 -85
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsTree.d.ts.map +0 -1
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsTree.js +0 -126
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsTree.js.map +0 -1
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsTree.scss +0 -9
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsTreeSearch.json +0 -239
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.d.ts +0 -104
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.d.ts.map +0 -1
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.js +0 -477
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.js.map +0 -1
- package/lib/esm/appui-react/imodel-components/models-tree/Utils.d.ts +0 -10
- package/lib/esm/appui-react/imodel-components/models-tree/Utils.d.ts.map +0 -1
- package/lib/esm/appui-react/imodel-components/models-tree/Utils.js +0 -19
- package/lib/esm/appui-react/imodel-components/models-tree/Utils.js.map +0 -1
- package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialBreakdown.GroupedByClass.json +0 -79
- package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialBreakdown.json +0 -79
- package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.d.ts +0 -36
- package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.d.ts.map +0 -1
- package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.js +0 -40
- package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.js.map +0 -1
- package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.scss +0 -9
- package/lib/esm/appui-react/keyinbrowser/KeyinBrowser.d.ts +0 -80
- package/lib/esm/appui-react/keyinbrowser/KeyinBrowser.d.ts.map +0 -1
- package/lib/esm/appui-react/keyinbrowser/KeyinBrowser.js +0 -235
- package/lib/esm/appui-react/keyinbrowser/KeyinBrowser.js.map +0 -1
- package/lib/esm/appui-react/keyinbrowser/KeyinBrowser.scss +0 -11
- package/lib/esm/appui-react/messages/ActivityMessagePopup.d.ts +0 -20
- package/lib/esm/appui-react/messages/ActivityMessagePopup.d.ts.map +0 -1
- package/lib/esm/appui-react/messages/ActivityMessagePopup.js +0 -40
- package/lib/esm/appui-react/messages/ActivityMessagePopup.js.map +0 -1
- package/lib/esm/appui-react/messages/ActivityMessagePopup.scss +0 -15
- package/lib/esm/appui-react/messages/StatusMessageRenderer.d.ts +0 -22
- package/lib/esm/appui-react/messages/StatusMessageRenderer.d.ts.map +0 -1
- package/lib/esm/appui-react/messages/StatusMessageRenderer.js +0 -72
- package/lib/esm/appui-react/messages/StatusMessageRenderer.js.map +0 -1
- package/lib/esm/appui-react/messages/StatusMessageRenderer.scss +0 -28
- package/lib/esm/appui-react/messages/StatusMessagesContainer.d.ts +0 -25
- package/lib/esm/appui-react/messages/StatusMessagesContainer.d.ts.map +0 -1
- package/lib/esm/appui-react/messages/StatusMessagesContainer.js +0 -64
- package/lib/esm/appui-react/messages/StatusMessagesContainer.js.map +0 -1
- package/lib/esm/appui-react/messages/StatusMessagesContainer.scss +0 -53
- package/lib/esm/appui-react/messages/StickyMessage.d.ts +0 -23
- package/lib/esm/appui-react/messages/StickyMessage.d.ts.map +0 -1
- package/lib/esm/appui-react/messages/StickyMessage.js +0 -35
- package/lib/esm/appui-react/messages/StickyMessage.js.map +0 -1
- package/lib/esm/appui-react/messages/StickyMessage.scss +0 -22
- package/lib/esm/appui-react/messages/ToastMessage.d.ts +0 -23
- package/lib/esm/appui-react/messages/ToastMessage.d.ts.map +0 -1
- package/lib/esm/appui-react/messages/ToastMessage.js +0 -27
- package/lib/esm/appui-react/messages/ToastMessage.js.map +0 -1
- package/lib/esm/appui-react/selection/ClearEmphasisStatusField.d.ts +0 -18
- package/lib/esm/appui-react/selection/ClearEmphasisStatusField.d.ts.map +0 -1
- package/lib/esm/appui-react/selection/ClearEmphasisStatusField.js +0 -53
- package/lib/esm/appui-react/selection/ClearEmphasisStatusField.js.map +0 -1
- package/lib/esm/appui-react/stagepanels/FrameworkStagePanel.d.ts +0 -62
- package/lib/esm/appui-react/stagepanels/FrameworkStagePanel.d.ts.map +0 -1
- package/lib/esm/appui-react/stagepanels/FrameworkStagePanel.js +0 -117
- package/lib/esm/appui-react/stagepanels/FrameworkStagePanel.js.map +0 -1
- package/lib/esm/appui-react/stagepanels/FrameworkStagePanel.scss +0 -42
- package/lib/esm/appui-react/stagepanels/StagePanel.d.ts +0 -142
- package/lib/esm/appui-react/stagepanels/StagePanel.d.ts.map +0 -1
- package/lib/esm/appui-react/stagepanels/StagePanel.js +0 -149
- package/lib/esm/appui-react/stagepanels/StagePanel.js.map +0 -1
- package/lib/esm/appui-react/stagepanels/StagePanelHeader.d.ts +0 -28
- package/lib/esm/appui-react/stagepanels/StagePanelHeader.d.ts.map +0 -1
- package/lib/esm/appui-react/stagepanels/StagePanelHeader.js +0 -42
- package/lib/esm/appui-react/stagepanels/StagePanelHeader.js.map +0 -1
- package/lib/esm/appui-react/stagepanels/StagePanelHeader.scss +0 -26
- package/lib/esm/appui-react/statusbar/StatusBarItemsManager.d.ts +0 -11
- package/lib/esm/appui-react/statusbar/StatusBarItemsManager.d.ts.map +0 -1
- package/lib/esm/appui-react/statusbar/StatusBarItemsManager.js +0 -15
- package/lib/esm/appui-react/statusbar/StatusBarItemsManager.js.map +0 -1
- package/lib/esm/appui-react/statusbar/withMessageCenterFieldProps.d.ts +0 -10
- package/lib/esm/appui-react/statusbar/withMessageCenterFieldProps.d.ts.map +0 -1
- package/lib/esm/appui-react/statusbar/withMessageCenterFieldProps.js +0 -22
- package/lib/esm/appui-react/statusbar/withMessageCenterFieldProps.js.map +0 -1
- package/lib/esm/appui-react/statusbar/withStatusFieldProps.d.ts +0 -11
- package/lib/esm/appui-react/statusbar/withStatusFieldProps.d.ts.map +0 -1
- package/lib/esm/appui-react/statusbar/withStatusFieldProps.js +0 -23
- package/lib/esm/appui-react/statusbar/withStatusFieldProps.js.map +0 -1
- package/lib/esm/appui-react/statusfields/ConditionalField.d.ts +0 -45
- package/lib/esm/appui-react/statusfields/ConditionalField.d.ts.map +0 -1
- package/lib/esm/appui-react/statusfields/ConditionalField.js +0 -53
- package/lib/esm/appui-react/statusfields/ConditionalField.js.map +0 -1
- package/lib/esm/appui-react/statusfields/FooterModeField.d.ts +0 -19
- package/lib/esm/appui-react/statusfields/FooterModeField.d.ts.map +0 -1
- package/lib/esm/appui-react/statusfields/FooterModeField.js +0 -24
- package/lib/esm/appui-react/statusfields/FooterModeField.js.map +0 -1
- package/lib/esm/appui-react/statusfields/Indicator.d.ts +0 -44
- package/lib/esm/appui-react/statusfields/Indicator.d.ts.map +0 -1
- package/lib/esm/appui-react/statusfields/Indicator.js +0 -42
- package/lib/esm/appui-react/statusfields/Indicator.js.map +0 -1
- package/lib/esm/appui-react/statusfields/Indicator.scss +0 -183
- package/lib/esm/appui-react/statusfields/PromptField.d.ts +0 -31
- package/lib/esm/appui-react/statusfields/PromptField.d.ts.map +0 -1
- package/lib/esm/appui-react/statusfields/PromptField.js +0 -49
- package/lib/esm/appui-react/statusfields/PromptField.js.map +0 -1
- package/lib/esm/appui-react/statusfields/PromptField.scss +0 -42
- package/lib/esm/appui-react/statusfields/StatusFieldProps.d.ts +0 -23
- package/lib/esm/appui-react/statusfields/StatusFieldProps.d.ts.map +0 -1
- package/lib/esm/appui-react/statusfields/StatusFieldProps.js +0 -2
- package/lib/esm/appui-react/statusfields/StatusFieldProps.js.map +0 -1
- package/lib/esm/appui-react/syncui/BooleanListener.d.ts +0 -44
- package/lib/esm/appui-react/syncui/BooleanListener.d.ts.map +0 -1
- package/lib/esm/appui-react/syncui/BooleanListener.js +0 -66
- package/lib/esm/appui-react/syncui/BooleanListener.js.map +0 -1
- package/lib/esm/appui-react/toolbar/ActionButtonItem.d.ts +0 -18
- package/lib/esm/appui-react/toolbar/ActionButtonItem.d.ts.map +0 -1
- package/lib/esm/appui-react/toolbar/ActionButtonItem.js +0 -27
- package/lib/esm/appui-react/toolbar/ActionButtonItem.js.map +0 -1
- package/lib/esm/appui-react/toolbar/ActionItemButton.d.ts +0 -40
- package/lib/esm/appui-react/toolbar/ActionItemButton.d.ts.map +0 -1
- package/lib/esm/appui-react/toolbar/ActionItemButton.js +0 -100
- package/lib/esm/appui-react/toolbar/ActionItemButton.js.map +0 -1
- package/lib/esm/appui-react/toolbar/GroupButtonItem.d.ts +0 -79
- package/lib/esm/appui-react/toolbar/GroupButtonItem.d.ts.map +0 -1
- package/lib/esm/appui-react/toolbar/GroupButtonItem.js +0 -324
- package/lib/esm/appui-react/toolbar/GroupButtonItem.js.map +0 -1
- package/lib/esm/appui-react/toolbar/PopupButton.d.ts +0 -58
- package/lib/esm/appui-react/toolbar/PopupButton.d.ts.map +0 -1
- package/lib/esm/appui-react/toolbar/PopupButton.js +0 -149
- package/lib/esm/appui-react/toolbar/PopupButton.js.map +0 -1
- package/lib/esm/appui-react/toolbar/PopupButton.scss +0 -9
- package/lib/esm/appui-react/toolbar/ToolButton.d.ts +0 -31
- package/lib/esm/appui-react/toolbar/ToolButton.d.ts.map +0 -1
- package/lib/esm/appui-react/toolbar/ToolButton.js +0 -95
- package/lib/esm/appui-react/toolbar/ToolButton.js.map +0 -1
- package/lib/esm/appui-react/toolbar/Toolbar.d.ts +0 -55
- package/lib/esm/appui-react/toolbar/Toolbar.d.ts.map +0 -1
- package/lib/esm/appui-react/toolbar/Toolbar.js +0 -236
- package/lib/esm/appui-react/toolbar/Toolbar.js.map +0 -1
- package/lib/esm/appui-react/tools/MarkupToolDefinitions.d.ts +0 -22
- package/lib/esm/appui-react/tools/MarkupToolDefinitions.d.ts.map +0 -1
- package/lib/esm/appui-react/tools/MarkupToolDefinitions.js +0 -50
- package/lib/esm/appui-react/tools/MarkupToolDefinitions.js.map +0 -1
- package/lib/esm/appui-react/uistate/UserSettingsStorage.d.ts +0 -15
- package/lib/esm/appui-react/uistate/UserSettingsStorage.d.ts.map +0 -1
- package/lib/esm/appui-react/uistate/UserSettingsStorage.js +0 -58
- package/lib/esm/appui-react/uistate/UserSettingsStorage.js.map +0 -1
- package/lib/esm/appui-react/widgets/DefaultNavigationWidget.d.ts +0 -35
- package/lib/esm/appui-react/widgets/DefaultNavigationWidget.d.ts.map +0 -1
- package/lib/esm/appui-react/widgets/DefaultNavigationWidget.js +0 -61
- package/lib/esm/appui-react/widgets/DefaultNavigationWidget.js.map +0 -1
- package/lib/esm/appui-react/widgets/NavigationWidget.d.ts +0 -56
- package/lib/esm/appui-react/widgets/NavigationWidget.d.ts.map +0 -1
- package/lib/esm/appui-react/widgets/NavigationWidget.js +0 -146
- package/lib/esm/appui-react/widgets/NavigationWidget.js.map +0 -1
- package/lib/esm/appui-react/widgets/ReviewToolWidget.d.ts +0 -33
- package/lib/esm/appui-react/widgets/ReviewToolWidget.d.ts.map +0 -1
- package/lib/esm/appui-react/widgets/ReviewToolWidget.js +0 -70
- package/lib/esm/appui-react/widgets/ReviewToolWidget.js.map +0 -1
- package/lib/esm/appui-react/widgets/ToolSettingsContent.scss +0 -61
- package/lib/esm/appui-react/widgets/ToolWidget.d.ts +0 -47
- package/lib/esm/appui-react/widgets/ToolWidget.d.ts.map +0 -1
- package/lib/esm/appui-react/widgets/ToolWidget.js +0 -83
- package/lib/esm/appui-react/widgets/ToolWidget.js.map +0 -1
- package/lib/esm/appui-react/widgets/ToolbarWidgetBase.d.ts +0 -26
- package/lib/esm/appui-react/widgets/ToolbarWidgetBase.d.ts.map +0 -1
- package/lib/esm/appui-react/widgets/ToolbarWidgetBase.js +0 -51
- package/lib/esm/appui-react/widgets/ToolbarWidgetBase.js.map +0 -1
- package/lib/esm/appui-react/widgets/Widget.d.ts +0 -15
- package/lib/esm/appui-react/widgets/Widget.d.ts.map +0 -1
- package/lib/esm/appui-react/widgets/Widget.js +0 -22
- package/lib/esm/appui-react/widgets/Widget.js.map +0 -1
- package/lib/esm/appui-react/widgets/WidgetStack.d.ts +0 -135
- package/lib/esm/appui-react/widgets/WidgetStack.d.ts.map +0 -1
- package/lib/esm/appui-react/widgets/WidgetStack.js +0 -131
- package/lib/esm/appui-react/widgets/WidgetStack.js.map +0 -1
- package/lib/esm/appui-react/workflow/Task.d.ts +0 -48
- package/lib/esm/appui-react/workflow/Task.d.ts.map +0 -1
- package/lib/esm/appui-react/workflow/Task.js +0 -68
- package/lib/esm/appui-react/workflow/Task.js.map +0 -1
- package/lib/esm/appui-react/workflow/Workflow.d.ts +0 -153
- package/lib/esm/appui-react/workflow/Workflow.d.ts.map +0 -1
- package/lib/esm/appui-react/workflow/Workflow.js +0 -231
- package/lib/esm/appui-react/workflow/Workflow.js.map +0 -1
- package/lib/esm/appui-react/zones/FrameworkZone.d.ts +0 -44
- package/lib/esm/appui-react/zones/FrameworkZone.d.ts.map +0 -1
- package/lib/esm/appui-react/zones/FrameworkZone.js +0 -47
- package/lib/esm/appui-react/zones/FrameworkZone.js.map +0 -1
- package/lib/esm/appui-react/zones/Outline.d.ts +0 -14
- package/lib/esm/appui-react/zones/Outline.d.ts.map +0 -1
- package/lib/esm/appui-react/zones/Outline.js +0 -18
- package/lib/esm/appui-react/zones/Outline.js.map +0 -1
- package/lib/esm/appui-react/zones/StatusBarZone.d.ts +0 -28
- package/lib/esm/appui-react/zones/StatusBarZone.d.ts.map +0 -1
- package/lib/esm/appui-react/zones/StatusBarZone.js +0 -29
- package/lib/esm/appui-react/zones/StatusBarZone.js.map +0 -1
- package/lib/esm/appui-react/zones/Zone.d.ts +0 -88
- package/lib/esm/appui-react/zones/Zone.d.ts.map +0 -1
- package/lib/esm/appui-react/zones/Zone.js +0 -152
- package/lib/esm/appui-react/zones/Zone.js.map +0 -1
- package/lib/esm/appui-react/zones/ZoneDef.d.ts +0 -57
- package/lib/esm/appui-react/zones/ZoneDef.d.ts.map +0 -1
- package/lib/esm/appui-react/zones/ZoneDef.js +0 -88
- package/lib/esm/appui-react/zones/ZoneDef.js.map +0 -1
- package/lib/esm/appui-react/zones/toolsettings/DefaultToolSettingsProvider.d.ts.map +0 -1
- package/lib/esm/appui-react/zones/toolsettings/DefaultToolSettingsProvider.js.map +0 -1
- package/lib/esm/appui-react/zones/toolsettings/InternalToolSettingsManager.d.ts.map +0 -1
- package/lib/esm/appui-react/zones/toolsettings/InternalToolSettingsManager.js.map +0 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolInformation.d.ts.map +0 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolInformation.js.map +0 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolSettingsManager.d.ts.map +0 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolSettingsManager.js.map +0 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolSettingsZone.d.ts +0 -54
- package/lib/esm/appui-react/zones/toolsettings/ToolSettingsZone.d.ts.map +0 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolSettingsZone.js +0 -89
- package/lib/esm/appui-react/zones/toolsettings/ToolSettingsZone.js.map +0 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolUiProvider.d.ts.map +0 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolUiProvider.js.map +0 -1
- /package/lib/cjs/appui-react/{zones/toolsettings → toolsettings}/ToolInformation.d.ts +0 -0
- /package/lib/cjs/appui-react/{zones/toolsettings → toolsettings}/ToolSettingsManager.js +0 -0
- /package/lib/esm/appui-react/{zones/toolsettings → toolsettings}/ToolInformation.d.ts +0 -0
- /package/lib/esm/appui-react/{zones/toolsettings → toolsettings}/ToolSettingsManager.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StagePanelDef.js","sourceRoot":"","sources":["../../../../src/appui-react/stagepanels/StagePanelDef.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,4CAA4C;AAC5C;;GAEG;AAEH,OAAO,OAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEvF,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,OAAO,EAAE,oBAAoB,EAAgB,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAEpF;;GAEG;AACH,MAAM,CAAN,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,mDAAG,CAAA;IACH,+DAAS,CAAA;IACT,qDAAI,CAAA;IACJ,uDAAK,CAAA;AACP,CAAC,EALW,eAAe,KAAf,eAAe,QAK1B;AAUD;;GAEG;AACH,MAAM,OAAO,sBAAuB,SAAQ,OAAmC;CAAI;AAQnF,gBAAgB;AAChB,MAAM,OAAO,qBAAsB,SAAQ,OAAkC;CAAI;AAEjF;;;GAGG;AACH,MAAM,OAAO,aAAc,SAAQ,UAAU;IAa3C;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AI,SAAS,CAAC,WAAW,CAAC,CAAC;YAC7C,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;QAC/B,CAAC,CAAC,CAAC;IACL,CAAC;CACF;AAED,gBAAgB;AAChB,MAAM,UAAU,WAAW,CAAC,QAA4B;IACtD,QAAQ,QAAQ,EAAE;QAChB,KAAK,kBAAkB,CAAC,MAAM,CAAC;QAC/B,KAAK,kBAAkB,CAAC,UAAU;YAChC,OAAO,QAAQ,CAAC;QAClB,KAAK,kBAAkB,CAAC,IAAI;YAC1B,OAAO,MAAM,CAAC;QAChB,KAAK,kBAAkB,CAAC,KAAK;YAC3B,OAAO,OAAO,CAAC;QACjB,KAAK,kBAAkB,CAAC,GAAG,CAAC;QAC5B,KAAK,kBAAkB,CAAC,OAAO;YAC7B,OAAO,KAAK,CAAC;KAChB;AACH,CAAC;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,YAAY,GAAG,OAAO,CAAC,CAClC,QAA8B,EAC9B,IAAe,EACf,IAAwB,EACxB,EAAE;IACF,MAAM,KAAK,GAAG,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACpC,KAAK,CAAC,IAAI,GAAG,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;AAClG,CAAC,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/* eslint-disable deprecation/deprecation */\r\n/** @packageDocumentation\r\n * @module Frontstage\r\n */\r\n\r\nimport produce, { Draft } from \"immer\";\r\nimport { StagePanelLocation, StagePanelSection, UiEvent } from \"@itwin/appui-abstract\";\r\nimport { NineZoneState, PanelSide } from \"@itwin/appui-layout-react\";\r\nimport { WidgetDef } from \"../widgets/WidgetDef\";\r\nimport { WidgetHost } from \"../widgets/WidgetHost\";\r\nimport { StagePanelMaxSizeSpec, StagePanelProps, StagePanelZoneProps, StagePanelZonesProps } from \"./StagePanel\";\r\nimport { getStableWidgetProps, ZoneLocation } from \"../zones/Zone\";\r\nimport { UiFramework } from \"../UiFramework\";\r\nimport { InternalFrontstageManager } from \"../frontstage/InternalFrontstageManager\";\r\n\r\n/** Enum for StagePanel state.\r\n * @public\r\n */\r\nexport enum StagePanelState {\r\n Off,\r\n Minimized,\r\n Open,\r\n Popup,\r\n}\r\n\r\n/** Panel State Changed Event Args interface.\r\n * @public\r\n */\r\nexport interface PanelStateChangedEventArgs {\r\n panelDef: StagePanelDef;\r\n panelState: StagePanelState;\r\n}\r\n\r\n/** Panel State Changed Event class.\r\n * @beta\r\n */\r\nexport class PanelStateChangedEvent extends UiEvent<PanelStateChangedEventArgs> { }\r\n\r\n/** @internal */\r\nexport interface PanelSizeChangedEventArgs {\r\n panelDef: StagePanelDef;\r\n size: number | undefined;\r\n}\r\n\r\n/** @internal */\r\nexport class PanelSizeChangedEvent extends UiEvent<PanelSizeChangedEventArgs> { }\r\n\r\n/**\r\n * A StagePanelDef represents each Stage Panel within a Frontstage.\r\n * @public\r\n */\r\nexport class StagePanelDef extends WidgetHost {\r\n private _panelState = StagePanelState.Open;\r\n private _defaultState = StagePanelState.Open;\r\n private _maxSizeSpec: StagePanelMaxSizeSpec | undefined;\r\n private _minSize: number | undefined;\r\n private _size: number | undefined;\r\n private _defaultSize: number | undefined;\r\n private _resizable = true;\r\n private _pinned = true;\r\n private _applicationData?: any;\r\n private _location: StagePanelLocation = StagePanelLocation.Left;\r\n private _panelZones = new StagePanelZonesDef();\r\n\r\n /** Constructor for PanelDef.\r\n */\r\n constructor() {\r\n super();\r\n }\r\n\r\n /** @internal */\r\n public get maxSizeSpec() { return this._maxSizeSpec; }\r\n\r\n /** @internal */\r\n public get minSize() { return this._minSize; }\r\n\r\n /** Default size of the panel */\r\n public get size() {\r\n // istanbul ignore next\r\n if (\"1\" === UiFramework.uiVersion)\r\n return this._size;\r\n\r\n // istanbul ignore else\r\n if (UiFramework.frontstages.activeFrontstageDef) {\r\n const [_, size] = UiFramework.frontstages.activeFrontstageDef.getPanelCurrentState(this);\r\n return size;\r\n }\r\n // istanbul ignore next\r\n return this._defaultSize;\r\n }\r\n\r\n public set size(size) {\r\n if (this._size === size)\r\n return;\r\n\r\n // istanbul ignore else\r\n if (UiFramework.uiVersion === \"2\") {\r\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\r\n // istanbul ignore else\r\n if (frontstageDef && frontstageDef.nineZoneState) {\r\n const side = toPanelSide(this.location);\r\n frontstageDef.nineZoneState = setPanelSize(frontstageDef.nineZoneState, side, size);\r\n const panel = frontstageDef.nineZoneState.panels[side];\r\n if (panel.size === this._size)\r\n return;\r\n size = panel.size;\r\n }\r\n }\r\n this._size = size;\r\n InternalFrontstageManager.onPanelSizeChangedEvent.emit({\r\n panelDef: this,\r\n size,\r\n });\r\n }\r\n\r\n /** Indicates whether the panel is resizable. */\r\n // istanbul ignore next\r\n public get resizable(): boolean { return this._resizable; }\r\n\r\n /** Indicates whether the panel is pinned. */\r\n public get pinned(): boolean { return this._pinned; }\r\n\r\n /** Any application data to attach to this Panel. */\r\n public get applicationData(): any | undefined { return this._applicationData; }\r\n /** Location of panel. */\r\n public get location(): StagePanelLocation { return this._location; }\r\n\r\n /** Panel state. Defaults to PanelState.Open. */\r\n public get panelState() {\r\n if (\"1\" === UiFramework.uiVersion)\r\n return this._panelState;\r\n\r\n // istanbul ignore else\r\n if (UiFramework.frontstages.activeFrontstageDef) {\r\n const [state] = UiFramework.frontstages.activeFrontstageDef?.getPanelCurrentState(this);\r\n return state;\r\n }\r\n // istanbul ignore next\r\n return this.defaultState;\r\n }\r\n\r\n public set panelState(panelState: StagePanelState) {\r\n if (panelState === this._panelState)\r\n return;\r\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\r\n if (UiFramework.uiVersion === \"2\" && frontstageDef && frontstageDef.nineZoneState) {\r\n const side = toPanelSide(this.location);\r\n frontstageDef.nineZoneState = produce(frontstageDef.nineZoneState, (nineZone) => {\r\n const panel = nineZone.panels[side];\r\n switch (panelState) {\r\n case StagePanelState.Minimized: {\r\n panel.collapsed = true;\r\n break;\r\n }\r\n case StagePanelState.Open: {\r\n panel.collapsed = false;\r\n break;\r\n }\r\n case StagePanelState.Off: {\r\n panel.collapsed = true;\r\n break;\r\n }\r\n }\r\n });\r\n }\r\n this._panelState = panelState;\r\n UiFramework.frontstages.onPanelStateChangedEvent.emit({\r\n panelDef: this,\r\n panelState,\r\n });\r\n }\r\n\r\n /** @internal */\r\n public get defaultState() { return this._defaultState; }\r\n\r\n /** @internal */\r\n public get defaultSize() { return this._defaultSize; }\r\n\r\n /** Panel zones.\r\n * @internal\r\n */\r\n public get panelZones() {\r\n return this._panelZones;\r\n }\r\n\r\n /** @internal */\r\n public initializeFromProps(props?: StagePanelProps, location?: StagePanelLocation): void {\r\n if (location !== undefined)\r\n this._location = location;\r\n if (!props)\r\n return;\r\n this._size = props.size;\r\n this._defaultSize = props.size;\r\n this._maxSizeSpec = props.maxSize;\r\n this._minSize = props.minSize;\r\n if (props.defaultState !== undefined) {\r\n this._panelState = props.defaultState;\r\n this._defaultState = props.defaultState;\r\n }\r\n this._resizable = props.resizable;\r\n if (props.pinned !== undefined)\r\n this._pinned = props.pinned;\r\n this._applicationData = props.applicationData;\r\n if (props.panelZones) {\r\n this._panelZones.initializeFromProps(props.panelZones, this._location);\r\n }\r\n\r\n if (props.widgets) {\r\n props.widgets.forEach((widgetNode, index) => {\r\n const stableId = `uifw-sp-${StagePanelLocation[this._location]}-${index}`;\r\n const stableProps = getStableWidgetProps(widgetNode.props, stableId);\r\n const widgetDef = new WidgetDef(stableProps);\r\n this.addWidgetDef(widgetDef);\r\n });\r\n }\r\n }\r\n\r\n /** Gets the list of Widgets. */\r\n public override get widgetDefs(): ReadonlyArray<WidgetDef> {\r\n const widgetDefs = [...super.widgetDefs];\r\n for (const [, panelZone] of this.panelZones) {\r\n widgetDefs.push(...panelZone.widgetDefs);\r\n }\r\n return widgetDefs;\r\n }\r\n\r\n /** Gets the list of Widgets (w/o StagePanelZone widgets).\r\n * @internal\r\n */\r\n public get panelWidgetDefs() {\r\n return super.widgetDefs;\r\n }\r\n\r\n /** @internal */\r\n public override updateDynamicWidgetDefs(stageId: string, stageUsage: string, location: ZoneLocation | StagePanelLocation, _section: StagePanelSection | undefined,\r\n allStageWidgetDefs: WidgetDef[], frontstageApplicationData?: any,\r\n ): void {\r\n this.panelZones.start.updateDynamicWidgetDefs(stageId, stageUsage, location, StagePanelSection.Start, allStageWidgetDefs, frontstageApplicationData);\r\n this.panelZones.end.updateDynamicWidgetDefs(stageId, stageUsage, location, StagePanelSection.Middle, allStageWidgetDefs, frontstageApplicationData);\r\n this.panelZones.end.updateDynamicWidgetDefs(stageId, stageUsage, location, StagePanelSection.End, allStageWidgetDefs, frontstageApplicationData);\r\n }\r\n}\r\n\r\n/** @internal */\r\nexport type StagePanelZoneDefKeys = keyof Pick<StagePanelZonesDef, \"start\" | \"end\">;\r\n\r\nconst stagePanelZoneDefKeys: StagePanelZoneDefKeys[] = [\"start\", \"end\"];\r\n\r\n/** @internal */\r\nexport class StagePanelZonesDef {\r\n private _start = new StagePanelZoneDef();\r\n private _end = new StagePanelZoneDef();\r\n\r\n public get start() {\r\n return this._start;\r\n }\r\n\r\n public get end() {\r\n return this._end;\r\n }\r\n\r\n /** @internal */\r\n public initializeFromProps(props: StagePanelZonesProps, panelLocation: StagePanelLocation): void {\r\n if (props.start) {\r\n this.start.initializeFromProps(props.start, panelLocation, \"start\");\r\n }\r\n if (props.middle) {\r\n this.end.initializeFromProps(props.middle, panelLocation, \"end\");\r\n }\r\n if (props.end) {\r\n this.end.initializeFromProps(props.end, panelLocation, \"end\");\r\n }\r\n }\r\n\r\n /** @internal */\r\n public *[Symbol.iterator](): Iterator<[StagePanelZoneDefKeys, StagePanelZoneDef]> {\r\n for (const key of stagePanelZoneDefKeys) {\r\n const value = this[key];\r\n yield [key, value];\r\n }\r\n return undefined;\r\n }\r\n}\r\n\r\n/** @internal */\r\nexport class StagePanelZoneDef extends WidgetHost {\r\n /** @internal */\r\n public initializeFromProps(props: StagePanelZoneProps, panelLocation: StagePanelLocation, panelZone: StagePanelZoneDefKeys): void {\r\n props.widgets.forEach((widgetNode, index) => {\r\n const stableId = `uifw-spz-${StagePanelLocation[panelLocation]}-${panelZone}-${index}`;\r\n const stableProps = getStableWidgetProps(widgetNode.props, stableId);\r\n const widgetDef = new WidgetDef(stableProps);\r\n this.addWidgetDef(widgetDef);\r\n });\r\n }\r\n}\r\n\r\n/** @internal */\r\nexport function toPanelSide(location: StagePanelLocation): PanelSide {\r\n switch (location) {\r\n case StagePanelLocation.Bottom:\r\n case StagePanelLocation.BottomMost:\r\n return \"bottom\";\r\n case StagePanelLocation.Left:\r\n return \"left\";\r\n case StagePanelLocation.Right:\r\n return \"right\";\r\n case StagePanelLocation.Top:\r\n case StagePanelLocation.TopMost:\r\n return \"top\";\r\n }\r\n}\r\n\r\n/** @internal */\r\nexport const setPanelSize = produce((\r\n nineZone: Draft<NineZoneState>,\r\n side: PanelSide,\r\n size: number | undefined,\r\n) => {\r\n const panel = nineZone.panels[side];\r\n panel.size = size === undefined ? size : Math.min(Math.max(size, panel.minSize), panel.maxSize);\r\n});\r\n"]}
|
|
1
|
+
{"version":3,"file":"StagePanelDef.js","sourceRoot":"","sources":["../../../../src/appui-react/stagepanels/StagePanelDef.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,OAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,UAA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AAW,CAAC,QAA4B;IACtD,QAAQ,QAAQ,EAAE;QAChB,KAAK,kBAAkB,CAAC,MAAM;YAC5B,OAAO,QAAQ,CAAC;QAClB,KAAK,kBAAkB,CAAC,IAAI;YAC1B,OAAO,MAAM,CAAC;QAChB,KAAK,kBAAkB,CAAC,KAAK;YAC3B,OAAO,OAAO,CAAC;QACjB,KAAK,kBAAkB,CAAC,GAAG;YACzB,OAAO,KAAK,CAAC;KAChB;AACH,CAAC;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,YAAY,GAAG,OAAO,CAAC,CAClC,QAA8B,EAC9B,IAAe,EACf,IAAwB,EACxB,EAAE;IACF,MAAM,KAAK,GAAG,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACpC,KAAK,CAAC,IAAI,GAAG,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;AAClG,CAAC,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Frontstage\r\n */\r\n\r\nimport produce, { Draft } from \"immer\";\r\nimport { UiEvent } from \"@itwin/appui-abstract\";\r\nimport { NineZoneState, PanelSide } from \"@itwin/appui-layout-react\";\r\nimport { WidgetDef } from \"../widgets/WidgetDef\";\r\nimport { WidgetHost } from \"../widgets/WidgetHost\";\r\nimport { StagePanelConfig, StagePanelMaxSizeSpec, StagePanelSectionConfig } from \"./StagePanelConfig\";\r\nimport { StagePanelLocation } from \"./StagePanelLocation\";\r\nimport { StagePanelSection } from \"./StagePanelSection\";\r\nimport { InternalFrontstageManager } from \"../frontstage/InternalFrontstageManager\";\r\nimport { UiFramework } from \"../UiFramework\";\r\n\r\n/** Enum for StagePanel state.\r\n * @public\r\n */\r\nexport enum StagePanelState {\r\n Off,\r\n Minimized,\r\n Open,\r\n Popup,\r\n}\r\n\r\n/** Panel State Changed Event Args interface.\r\n * @public\r\n */\r\nexport interface PanelStateChangedEventArgs {\r\n panelDef: StagePanelDef;\r\n panelState: StagePanelState;\r\n}\r\n\r\n/** Panel State Changed Event class.\r\n * @beta\r\n */\r\nexport class PanelStateChangedEvent extends UiEvent<PanelStateChangedEventArgs> { }\r\n\r\n/** @internal */\r\nexport interface PanelSizeChangedEventArgs {\r\n panelDef: StagePanelDef;\r\n size: number | undefined;\r\n}\r\n\r\n/** @internal */\r\nexport class PanelSizeChangedEvent extends UiEvent<PanelSizeChangedEventArgs> { }\r\n\r\n/**\r\n * A StagePanelDef represents each Stage Panel within a Frontstage.\r\n * @public\r\n */\r\nexport class StagePanelDef extends WidgetHost {\r\n private _panelState = StagePanelState.Open;\r\n private _defaultState = StagePanelState.Open;\r\n private _maxSizeSpec: StagePanelMaxSizeSpec | undefined;\r\n private _minSize: number | undefined;\r\n private _size: number | undefined;\r\n private _defaultSize: number | undefined;\r\n private _resizable = true;\r\n private _pinned = true;\r\n private _location: StagePanelLocation = StagePanelLocation.Left;\r\n private _start = new StagePanelSectionDef();\r\n private _end = new StagePanelSectionDef();\r\n\r\n /** Constructor for PanelDef.\r\n */\r\n constructor() {\r\n super();\r\n }\r\n\r\n /** @internal */\r\n public get maxSizeSpec() { return this._maxSizeSpec; }\r\n\r\n /** @internal */\r\n public get minSize() { return this._minSize; }\r\n\r\n /** Default size of the panel */\r\n public get size() {\r\n // istanbul ignore else\r\n if (UiFramework.frontstages.activeFrontstageDef) {\r\n const [_, size] = UiFramework.frontstages.activeFrontstageDef.getPanelCurrentState(this);\r\n return size;\r\n }\r\n // istanbul ignore next\r\n return this._defaultSize;\r\n }\r\n\r\n public set size(size) {\r\n if (this._size === size)\r\n return;\r\n\r\n // istanbul ignore else\r\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\r\n // istanbul ignore else\r\n if (frontstageDef && frontstageDef.nineZoneState) {\r\n const side = toPanelSide(this.location);\r\n frontstageDef.nineZoneState = setPanelSize(frontstageDef.nineZoneState, side, size);\r\n const panel = frontstageDef.nineZoneState.panels[side];\r\n if (panel.size === this._size)\r\n return;\r\n size = panel.size;\r\n }\r\n this._size = size;\r\n InternalFrontstageManager.onPanelSizeChangedEvent.emit({\r\n panelDef: this,\r\n size,\r\n });\r\n }\r\n\r\n /** Indicates whether the panel is resizable. */\r\n // istanbul ignore next\r\n public get resizable(): boolean { return this._resizable; }\r\n\r\n /** Indicates whether the panel is pinned. */\r\n public get pinned(): boolean { return this._pinned; }\r\n\r\n /** Location of panel. */\r\n public get location(): StagePanelLocation { return this._location; }\r\n\r\n /** Panel state. Defaults to PanelState.Open. */\r\n public get panelState() {\r\n // istanbul ignore else\r\n if (UiFramework.frontstages.activeFrontstageDef) {\r\n const [state] = UiFramework.frontstages.activeFrontstageDef?.getPanelCurrentState(this);\r\n return state;\r\n }\r\n // istanbul ignore next\r\n return this.defaultState;\r\n }\r\n\r\n public set panelState(panelState: StagePanelState) {\r\n if (panelState === this._panelState)\r\n return;\r\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\r\n if (frontstageDef && frontstageDef.nineZoneState) {\r\n const side = toPanelSide(this.location);\r\n frontstageDef.nineZoneState = produce(frontstageDef.nineZoneState, (nineZone) => {\r\n const panel = nineZone.panels[side];\r\n switch (panelState) {\r\n case StagePanelState.Minimized: {\r\n panel.collapsed = true;\r\n break;\r\n }\r\n case StagePanelState.Open: {\r\n panel.collapsed = false;\r\n break;\r\n }\r\n case StagePanelState.Off: {\r\n panel.collapsed = true;\r\n break;\r\n }\r\n }\r\n });\r\n }\r\n this._panelState = panelState;\r\n UiFramework.frontstages.onPanelStateChangedEvent.emit({\r\n panelDef: this,\r\n panelState,\r\n });\r\n }\r\n\r\n /** @internal */\r\n public get defaultState() { return this._defaultState; }\r\n\r\n /** @internal */\r\n public get defaultSize() { return this._defaultSize; }\r\n\r\n /** @internal */\r\n public static create(config: StagePanelConfig, location: StagePanelLocation) {\r\n const def = new StagePanelDef();\r\n def.initializeFromConfig(config, location);\r\n return def;\r\n }\r\n\r\n /** @internal */\r\n public initializeFromConfig(config: StagePanelConfig | undefined, location: StagePanelLocation): void {\r\n this._location = location;\r\n\r\n if (!config)\r\n return;\r\n this._size = config.size;\r\n this._defaultSize = config.size;\r\n this._maxSizeSpec = config.maxSize;\r\n this._minSize = config.minSize;\r\n if (config.defaultState !== undefined) {\r\n this._panelState = config.defaultState;\r\n this._defaultState = config.defaultState;\r\n }\r\n this._resizable = config.resizable ?? true;\r\n if (config.pinned !== undefined)\r\n this._pinned = config.pinned;\r\n\r\n const sections = config.sections;\r\n this._start.initializeFromConfig(sections?.start);\r\n this._end.initializeFromConfig(sections?.end);\r\n }\r\n\r\n /** Gets the list of Widgets. */\r\n public override get widgetDefs(): ReadonlyArray<WidgetDef> {\r\n return [...super.widgetDefs, ...this._start.widgetDefs, ...this._end.widgetDefs];\r\n }\r\n\r\n /** @internal */\r\n public override updateDynamicWidgetDefs(stageId: string, stageUsage: string, location: StagePanelLocation, _section: StagePanelSection | undefined,\r\n allStageWidgetDefs: WidgetDef[]) {\r\n this._start.updateDynamicWidgetDefs(stageId, stageUsage, location, StagePanelSection.Start, allStageWidgetDefs);\r\n this._end.updateDynamicWidgetDefs(stageId, stageUsage, location, StagePanelSection.End, allStageWidgetDefs);\r\n }\r\n\r\n /** @internal */\r\n public getPanelSectionDef(section: StagePanelSection) {\r\n switch (section) {\r\n case StagePanelSection.Start: {\r\n return this._start;\r\n }\r\n case StagePanelSection.End: {\r\n return this._end;\r\n }\r\n }\r\n }\r\n}\r\n\r\n/** @internal */\r\nexport class StagePanelSectionDef extends WidgetHost {\r\n /** @internal */\r\n public initializeFromConfig(config: StagePanelSectionConfig | undefined) {\r\n config?.forEach((widgetConfig) => {\r\n const widgetDef = WidgetDef.create(widgetConfig);\r\n this.addWidgetDef(widgetDef);\r\n });\r\n }\r\n}\r\n\r\n/** @internal */\r\nexport function toPanelSide(location: StagePanelLocation): PanelSide {\r\n switch (location) {\r\n case StagePanelLocation.Bottom:\r\n return \"bottom\";\r\n case StagePanelLocation.Left:\r\n return \"left\";\r\n case StagePanelLocation.Right:\r\n return \"right\";\r\n case StagePanelLocation.Top:\r\n return \"top\";\r\n }\r\n}\r\n\r\n/** @internal */\r\nexport const setPanelSize = produce((\r\n nineZone: Draft<NineZoneState>,\r\n side: PanelSide,\r\n size: number | undefined,\r\n) => {\r\n const panel = nineZone.panels[side];\r\n panel.size = size === undefined ? size : Math.min(Math.max(size, panel.minSize), panel.maxSize);\r\n});\r\n"]}
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { StagePanelLocation as UIA_StagePanelLocation } from "@itwin/appui-abstract";
|
|
5
5
|
/** Available Stage Panel locations.
|
|
6
|
-
* @
|
|
6
|
+
* @public // TODO: 4.x cleanup
|
|
7
7
|
*/
|
|
8
8
|
export declare type StagePanelLocation = UIA_StagePanelLocation;
|
|
9
9
|
/** Available Stage Panel locations.
|
|
10
|
-
* @
|
|
10
|
+
* @public // TODO: 4.x cleanup
|
|
11
11
|
*/
|
|
12
12
|
export declare const StagePanelLocation: typeof UIA_StagePanelLocation;
|
|
13
13
|
//# sourceMappingURL=StagePanelLocation.d.ts.map
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { StagePanelLocation as UIA_StagePanelLocation } from "@itwin/appui-abstract";
|
|
9
9
|
/** Available Stage Panel locations.
|
|
10
|
-
* @
|
|
10
|
+
* @public // TODO: 4.x cleanup
|
|
11
11
|
*/
|
|
12
12
|
export const StagePanelLocation = UIA_StagePanelLocation; // eslint-disable-line @typescript-eslint/no-redeclare, deprecation/deprecation
|
|
13
13
|
//# sourceMappingURL=StagePanelLocation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StagePanelLocation.js","sourceRoot":"","sources":["../../../../src/appui-react/stagepanels/StagePanelLocation.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,EAAE,kBAAkB,IAAI,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAOrF;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,sBAAsB,CAAC,CAAC,+EAA+E","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Frontstage\r\n */\r\n\r\nimport { StagePanelLocation as UIA_StagePanelLocation } from \"@itwin/appui-abstract\";\r\n\r\n/** Available Stage Panel locations.\r\n * @
|
|
1
|
+
{"version":3,"file":"StagePanelLocation.js","sourceRoot":"","sources":["../../../../src/appui-react/stagepanels/StagePanelLocation.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,EAAE,kBAAkB,IAAI,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAOrF;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,sBAAsB,CAAC,CAAC,+EAA+E","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Frontstage\r\n */\r\n\r\nimport { StagePanelLocation as UIA_StagePanelLocation } from \"@itwin/appui-abstract\";\r\n\r\n/** Available Stage Panel locations.\r\n * @public // TODO: 4.x cleanup\r\n */\r\nexport type StagePanelLocation = UIA_StagePanelLocation; // eslint-disable-line deprecation/deprecation\r\n\r\n/** Available Stage Panel locations.\r\n * @public // TODO: 4.x cleanup\r\n */\r\nexport const StagePanelLocation = UIA_StagePanelLocation; // eslint-disable-line @typescript-eslint/no-redeclare, deprecation/deprecation\r\n"]}
|
|
@@ -23,12 +23,10 @@ export function StatusBarIndicator(props) {
|
|
|
23
23
|
const target = React.useRef(null);
|
|
24
24
|
const classNames = classnames("uifw-statusbar-indicator", hasClickAction && "uifw-action", props.className);
|
|
25
25
|
return (React.createElement(React.Fragment, null,
|
|
26
|
-
React.createElement(FooterIndicator
|
|
27
|
-
, { ref: target, className: classNames, title: props.title, style: props.style, onClick: handleOnIndicatorClick, ...{
|
|
26
|
+
React.createElement(FooterIndicator, { ref: target, className: classNames, title: props.title, style: props.style, onClick: handleOnIndicatorClick, ...{
|
|
28
27
|
role: "button",
|
|
29
28
|
tabIndex: -1,
|
|
30
29
|
} }, props.children),
|
|
31
|
-
props.popup && React.createElement(FooterPopup
|
|
32
|
-
, { target: target.current, onClose: () => setIsOpen(false), isOpen: isOpen }, props.popup)));
|
|
30
|
+
props.popup && React.createElement(FooterPopup, { target: target.current, onClose: () => setIsOpen(false), isOpen: isOpen }, props.popup)));
|
|
33
31
|
}
|
|
34
32
|
//# sourceMappingURL=Indicator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Indicator.js","sourceRoot":"","sources":["../../../../src/appui-react/statusbar/Indicator.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,kBAAkB,CAAC;AAC1B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAkBzE;;GAEG;AACH,MAAM,UAAU,kBAAkB,CAAC,KAA8B;IAC/D,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC;IACxD,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC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,UAAU,GAAG,UAAU,CAC3B,0BAA0B,EAC1B,cAAc,IAAI,aAAa,EAC/B,KAAK,CAAC,SAAS,CAChB,CAAC;IACF,OAAO,CACL;QACE,oBAAC,eAAe,IACd,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,UAAU,EACrB,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,OAAO,EAAE,sBAAsB,KAC3B;gBACF,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,CAAC,CAAC;aACb,IAEA,KAAK,CAAC,QAAQ,CACC;QACjB,KAAK,CAAC,KAAK,IAAI,oBAAC,WAAW,IAC1B,MAAM,EAAE,MAAM,CAAC,OAAO,EACtB,OAAO,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,EAC/B,MAAM,EAAE,MAAM,IAEb,KAAK,CAAC,KAAK,CACA,CACb,CACJ,CAAC;AACJ,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module StatusBar\r\n */\r\n\r\nimport \"./Indicator.scss\";\r\nimport classnames from \"classnames\";\r\nimport * as React from \"react\";\r\nimport { CommonProps } from \"@itwin/core-react\";\r\nimport { FooterIndicator, FooterPopup } from \"@itwin/appui-layout-react\";\r\n\r\n/** Properties of [[StatusBarIndicator]] component.\r\n * @beta\r\n */\r\nexport interface StatusBarIndicatorProps extends CommonProps {\r\n /** Indicator content. */\r\n children?: React.ReactNode;\r\n /** Content to display in a popup when indicator is clicked. */\r\n popup?: React.ReactNode;\r\n /** Function called when indicator is clicked. */\r\n onClick?: () => void;\r\n /** Default state of an indicator popup. */\r\n defaultIsOpen?: boolean;\r\n /** Title of an indicator. */\r\n title?: string;\r\n}\r\n\r\n/** General-purpose [[StatusBar]] indicator.\r\n * @beta\r\n */\r\nexport function StatusBarIndicator(props: StatusBarIndicatorProps) {\r\n const hasClickAction = !!props.onClick || !!props.popup;\r\n const [isOpen, setIsOpen] = React.useState(!!props.defaultIsOpen);\r\n const handleOnIndicatorClick = () => {\r\n setIsOpen(!isOpen);\r\n props.onClick?.();\r\n };\r\n const target = React.useRef<HTMLDivElement>(null);\r\n const classNames = classnames(\r\n \"uifw-statusbar-indicator\",\r\n hasClickAction && \"uifw-action\",\r\n props.className,\r\n );\r\n return (\r\n <>\r\n <FooterIndicator\r\n ref={target}\r\n className={classNames}\r\n title={props.title}\r\n style={props.style}\r\n onClick={handleOnIndicatorClick}\r\n {...{\r\n role: \"button\",\r\n tabIndex: -1,\r\n }}\r\n >\r\n {props.children}\r\n </FooterIndicator>\r\n {props.popup && <FooterPopup\r\n target={target.current}\r\n onClose={() => setIsOpen(false)}\r\n isOpen={isOpen}\r\n >\r\n {props.popup}\r\n </FooterPopup>}\r\n </>\r\n );\r\n}\r\n"]}
|
|
@@ -16,5 +16,5 @@ export interface StatusBarOverflowProps extends CommonProps {
|
|
|
16
16
|
/** Entry point to overflow status bar items of [[StatusBarComposer]] component.
|
|
17
17
|
* @internal
|
|
18
18
|
*/
|
|
19
|
-
export declare const StatusBarOverflow: React.
|
|
19
|
+
export declare const StatusBarOverflow: React.ForwardRefExoticComponent<StatusBarOverflowProps & React.RefAttributes<HTMLDivElement>>;
|
|
20
20
|
//# sourceMappingURL=Overflow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Overflow.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/statusbar/Overflow.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,iBAAiB,CAAC;AAEzB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,WAAW,EAA8B,MAAM,mBAAmB,CAAC;AAI5E;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,WAAW;IACzD,8CAA8C;IAC9C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAChC;AAED;;GAEG;
|
|
1
|
+
{"version":3,"file":"Overflow.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/statusbar/Overflow.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,iBAAiB,CAAC;AAEzB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,WAAW,EAA8B,MAAM,mBAAmB,CAAC;AAI5E;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,WAAW;IACzD,8CAA8C;IAC9C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAChC;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,+FAyB7B,CAAC"}
|
|
@@ -14,8 +14,7 @@ import { UiFramework } from "../UiFramework";
|
|
|
14
14
|
/** Entry point to overflow status bar items of [[StatusBarComposer]] component.
|
|
15
15
|
* @internal
|
|
16
16
|
*/
|
|
17
|
-
|
|
18
|
-
export const StatusBarOverflow = React.memo(React.forwardRef(function StatusBarOverflow(props, ref) {
|
|
17
|
+
export const StatusBarOverflow = React.forwardRef(function StatusBarOverflow(props, ref) {
|
|
19
18
|
const roRef = useResizeObserver(props.onResize);
|
|
20
19
|
const refs = useRefs(roRef, ref);
|
|
21
20
|
const className = classnames("uifw-statusbar-overflow", props.className);
|
|
@@ -24,5 +23,5 @@ export const StatusBarOverflow = React.memo(React.forwardRef(function StatusBarO
|
|
|
24
23
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events
|
|
25
24
|
React.createElement("div", { className: className, onClick: props.onClick, ref: refs, style: props.style, role: "button", tabIndex: -1, title: title.current },
|
|
26
25
|
React.createElement(Ellipsis, null)));
|
|
27
|
-
})
|
|
26
|
+
});
|
|
28
27
|
//# sourceMappingURL=Overflow.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Overflow.js","sourceRoot":"","sources":["../../../../src/appui-react/statusbar/Overflow.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,iBAAiB,CAAC;AACzB,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAe,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAY7C;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"Overflow.js","sourceRoot":"","sources":["../../../../src/appui-react/statusbar/Overflow.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,iBAAiB,CAAC;AACzB,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAe,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAY7C;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,KAAK,CAAC,UAAU,CAC/C,SAAS,iBAAiB,CAAC,KAAK,EAAE,GAAG;IACnC,MAAM,KAAK,GAAG,iBAAiB,CAAiB,KAAK,CAAC,QAAQ,CAAC,CAAC;IAChE,MAAM,IAAI,GAAG,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACjC,MAAM,SAAS,GAAG,UAAU,CAC1B,yBAAyB,EACzB,KAAK,CAAC,SAAS,CAChB,CAAC;IACF,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,oBAAoB,CAAC,CAAC,CAAC;IAExE,OAAO;IACL,iEAAiE;IACjE,6BACE,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,GAAG,EAAE,IAAI,EACT,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAE,KAAK,CAAC,OAAO;QAEpB,oBAAC,QAAQ,OAAG,CACR,CACP,CAAC;AACJ,CAAC,CACF,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module StatusBar\r\n */\r\n\r\nimport \"./Overflow.scss\";\r\nimport classnames from \"classnames\";\r\nimport * as React from \"react\";\r\nimport { CommonProps, useRefs, useResizeObserver } from \"@itwin/core-react\";\r\nimport { Ellipsis } from \"@itwin/appui-layout-react\";\r\nimport { UiFramework } from \"../UiFramework\";\r\n\r\n/** Properties of [[StatusBarOverflow]] component.\r\n * @internal\r\n */\r\nexport interface StatusBarOverflowProps extends CommonProps {\r\n /** Function called when button is clicked. */\r\n onClick?: () => void;\r\n /** Function called when button is resized. */\r\n onResize?: (w: number) => void;\r\n}\r\n\r\n/** Entry point to overflow status bar items of [[StatusBarComposer]] component.\r\n * @internal\r\n */\r\nexport const StatusBarOverflow = React.forwardRef<HTMLDivElement, StatusBarOverflowProps>(\r\n function StatusBarOverflow(props, ref) { // eslint-disable-line @typescript-eslint/no-shadow, @typescript-eslint/naming-convention\r\n const roRef = useResizeObserver<HTMLDivElement>(props.onResize);\r\n const refs = useRefs(roRef, ref);\r\n const className = classnames(\r\n \"uifw-statusbar-overflow\",\r\n props.className,\r\n );\r\n const title = React.useRef(UiFramework.translate(\"statusBar.overflow\"));\r\n\r\n return (\r\n // eslint-disable-next-line jsx-a11y/click-events-have-key-events\r\n <div\r\n className={className}\r\n onClick={props.onClick}\r\n ref={refs}\r\n style={props.style}\r\n role=\"button\"\r\n tabIndex={-1}\r\n title={title.current}\r\n >\r\n <Ellipsis />\r\n </div>\r\n );\r\n },\r\n);\r\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/statusbar/Separator.tsx"],"names":[],"mappings":"AAIA;;GAEG;;
|
|
1
|
+
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/statusbar/Separator.tsx"],"names":[],"mappings":"AAIA;;GAEG;;AAEH,OAAO,kBAAkB,CAAC;AAG1B,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,WAAW,eAWpD"}
|
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
/** @packageDocumentation
|
|
6
6
|
* @module StatusBar
|
|
7
7
|
*/
|
|
8
|
+
import "./Separator.scss";
|
|
8
9
|
import * as React from "react";
|
|
9
|
-
import
|
|
10
|
+
import classnames from "classnames";
|
|
10
11
|
/** Component used to separate status fields in a status bar.
|
|
11
12
|
* @public
|
|
12
13
|
*/
|
|
13
14
|
export function StatusBarSeparator(props) {
|
|
14
|
-
|
|
15
|
-
);
|
|
15
|
+
const className = classnames("uifw-statusbar-separator", props.className);
|
|
16
|
+
return (React.createElement("div", { className: className, style: props.style }));
|
|
16
17
|
}
|
|
17
18
|
//# sourceMappingURL=Separator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Separator.js","sourceRoot":"","sources":["../../../../src/appui-react/statusbar/Separator.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Separator.js","sourceRoot":"","sources":["../../../../src/appui-react/statusbar/Separator.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,kBAAkB,CAAC;AAC1B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,UAAU,MAAM,YAAY,CAAC;AAGpC;;GAEG;AACH,MAAM,UAAU,kBAAkB,CAAC,KAAkB;IACnD,MAAM,SAAS,GAAG,UAAU,CAC1B,0BAA0B,EAC1B,KAAK,CAAC,SAAS,CAChB,CAAC;IACF,OAAO,CACL,6BACE,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK,CAAC,KAAK,GAClB,CACH,CAAC;AACJ,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module StatusBar\r\n */\r\n\r\nimport \"./Separator.scss\";\r\nimport * as React from \"react\";\r\nimport classnames from \"classnames\";\r\nimport { CommonProps } from \"@itwin/core-react\";\r\n\r\n/** Component used to separate status fields in a status bar.\r\n * @public\r\n */\r\nexport function StatusBarSeparator(props: CommonProps) {\r\n const className = classnames(\r\n \"uifw-statusbar-separator\",\r\n props.className\r\n );\r\n return (\r\n <div\r\n className={className}\r\n style={props.style}\r\n />\r\n );\r\n}\r\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
@import "~@itwin/core-react/lib/cjs/core-react/style/themecolors";
|
|
6
|
+
@import "~@itwin/appui-layout-react/lib/cjs/appui-layout-react/footer/variables";
|
|
7
|
+
|
|
8
|
+
.uifw-statusbar-separator {
|
|
9
|
+
height: calc(100% - (#{$nz-footer-indicator-vertical-padding} * 2));
|
|
10
|
+
width: 1px;
|
|
11
|
+
filter: drop-shadow(1px 0 $buic-foreground-body-reverse);
|
|
12
|
+
margin: $nz-footer-indicator-vertical-padding 0;
|
|
13
|
+
background-color: $buic-foreground-disabled;
|
|
14
|
+
}
|
|
@@ -5,12 +5,11 @@ import "./StatusBar.scss";
|
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { CommonDivProps, CommonProps } from "@itwin/core-react";
|
|
7
7
|
import { ActivityMessageEventArgs } from "../messages/MessageManager";
|
|
8
|
-
import {
|
|
8
|
+
import { StatusBarWidgetControl } from "./StatusBarWidgetControl";
|
|
9
9
|
/** State for the [[StatusBar]] React component
|
|
10
10
|
* @internal
|
|
11
11
|
*/
|
|
12
12
|
interface StatusBarState {
|
|
13
|
-
openWidget: StatusBarFieldId;
|
|
14
13
|
activityMessageInfo: ActivityMessageEventArgs | undefined;
|
|
15
14
|
}
|
|
16
15
|
/** Properties for the [[StatusBar]] React component
|
|
@@ -18,10 +17,6 @@ interface StatusBarState {
|
|
|
18
17
|
*/
|
|
19
18
|
export interface StatusBarProps extends CommonProps {
|
|
20
19
|
widgetControl?: StatusBarWidgetControl;
|
|
21
|
-
/** Indicates whether the StatusBar is in footer mode
|
|
22
|
-
* @deprecated in 3.3. In upcoming version, widget mode will be removed. Consider this parameter to always be true.
|
|
23
|
-
*/
|
|
24
|
-
isInFooterMode?: boolean;
|
|
25
20
|
}
|
|
26
21
|
/** Status Bar React component.
|
|
27
22
|
* @public
|
|
@@ -46,14 +41,7 @@ export declare class StatusBar extends React.Component<StatusBarProps, StatusBar
|
|
|
46
41
|
* Hides ActivityMessage after cancellation
|
|
47
42
|
*/
|
|
48
43
|
private _handleActivityMessageCancelledEvent;
|
|
49
|
-
private getFooterMessages;
|
|
50
|
-
/**
|
|
51
|
-
* Ends canceled process and dismisses ActivityMessage
|
|
52
|
-
*/
|
|
53
|
-
private _cancelActivityMessage;
|
|
54
|
-
private _handleOpenWidget;
|
|
55
44
|
private _closeMessage;
|
|
56
|
-
private _handleToastTargetRef;
|
|
57
45
|
}
|
|
58
46
|
/** StatusBar With Space Between Items React functional component
|
|
59
47
|
* @public
|
|
@@ -71,9 +59,5 @@ export declare function StatusBarCenterSection(props: CommonDivProps): JSX.Eleme
|
|
|
71
59
|
* @public
|
|
72
60
|
*/
|
|
73
61
|
export declare function StatusBarRightSection(props: CommonDivProps): JSX.Element;
|
|
74
|
-
/** Context providing values for StatusFieldProps and MessageCenterFieldProps
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
|
-
export declare const StatusBarContext: React.Context<StatusBarWidgetControlArgs>;
|
|
78
62
|
export {};
|
|
79
63
|
//# sourceMappingURL=StatusBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusBar.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/statusbar/StatusBar.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,kBAAkB,CAAC;AAC1B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,WAAW,EAAO,MAAM,mBAAmB,CAAC;AAErE,OAAO,EAAE,wBAAwB,EAAyC,MAAM,4BAA4B,CAAC;AAE7G,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"StatusBar.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/statusbar/StatusBar.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,kBAAkB,CAAC;AAC1B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,WAAW,EAAO,MAAM,mBAAmB,CAAC;AAErE,OAAO,EAAE,wBAAwB,EAAyC,MAAM,4BAA4B,CAAC;AAE7G,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAOlE;;GAEG;AACH,UAAU,cAAc;IACtB,mBAAmB,EAAE,wBAAwB,GAAG,SAAS,CAAC;CAC3D;AAED;;GAEG;AACH,MAAM,WAAW,cAAe,SAAQ,WAAW;IACjD,aAAa,CAAC,EAAE,sBAAsB,CAAC;CACxC;AAUD;;GAEG;AACH,qBAAa,SAAU,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,EAAE,cAAc,CAAC;IAC5E,OAAO,CAAC,QAAQ,CAA0B;IAE1C,gBAAgB;gBACJ,KAAK,EAAE,cAAc;IAQjB,MAAM,IAAI,KAAK,CAAC,SAAS;IAkBzB,iBAAiB;IASjB,oBAAoB;IAOpC,OAAO,CAAC,wBAAwB,CAQ9B;IAEF,OAAO,CAAC,eAAe,CAUrB;IAEF,2CAA2C;IAC3C,OAAO,CAAC,2BAA2B,CAEjC;IAEF;;;OAGG;IACH,OAAO,CAAC,kCAAkC,CAIxC;IAEF;;OAEG;IACH,OAAO,CAAC,oCAAoC,CAI1C;IAEF,OAAO,CAAC,aAAa,CAGnB;CACH;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,cAAc,eAG1D;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,cAAc,eAGzD;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,cAAc,eAG3D;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,cAAc,eAG1D"}
|
|
@@ -11,7 +11,8 @@ import { Div } from "@itwin/core-react";
|
|
|
11
11
|
import { Footer } from "@itwin/appui-layout-react";
|
|
12
12
|
import { MessageManager } from "../messages/MessageManager";
|
|
13
13
|
import { SafeAreaContext } from "../safearea/SafeAreaContext";
|
|
14
|
-
import {
|
|
14
|
+
import { toLayoutSafeAreaInsets } from "../safearea/SafeAreaHelpers";
|
|
15
|
+
import { ActivityMessageRenderer } from "../messages/ActivityMessage";
|
|
15
16
|
import { UiFramework } from "../UiFramework";
|
|
16
17
|
/** Status Bar React component.
|
|
17
18
|
* @public
|
|
@@ -62,57 +63,19 @@ export class StatusBar extends React.Component {
|
|
|
62
63
|
activityMessageInfo: undefined,
|
|
63
64
|
});
|
|
64
65
|
};
|
|
65
|
-
/**
|
|
66
|
-
* Ends canceled process and dismisses ActivityMessage
|
|
67
|
-
*/
|
|
68
|
-
this._cancelActivityMessage = () => {
|
|
69
|
-
MessageManager.endActivityMessage(false);
|
|
70
|
-
};
|
|
71
|
-
this._handleOpenWidget = (openWidget) => {
|
|
72
|
-
this.setState({
|
|
73
|
-
openWidget,
|
|
74
|
-
});
|
|
75
|
-
};
|
|
76
66
|
this._closeMessage = (id) => {
|
|
77
67
|
MessageManager.activeMessageManager.remove(id);
|
|
78
68
|
MessageManager.updateMessages();
|
|
79
69
|
};
|
|
80
|
-
this._handleToastTargetRef = (toastTarget) => {
|
|
81
|
-
MessageManager.registerAnimateOutToElement(toastTarget);
|
|
82
|
-
};
|
|
83
70
|
this.state = {
|
|
84
|
-
openWidget: null,
|
|
85
71
|
activityMessageInfo: undefined,
|
|
86
72
|
};
|
|
87
73
|
}
|
|
88
74
|
render() {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
if (widgetControl && widgetControl.getReactNode) {
|
|
94
|
-
footerSections = widgetControl.getReactNode({
|
|
95
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
96
|
-
isInFooterMode: (_a = this.props.isInFooterMode) !== null && _a !== void 0 ? _a : true,
|
|
97
|
-
openWidget: this.state.openWidget,
|
|
98
|
-
toastTargetRef: this._handleToastTargetRef,
|
|
99
|
-
onOpenWidget: this._handleOpenWidget,
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
return (React.createElement(StatusBarContext.Provider, { value: {
|
|
103
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
104
|
-
isInFooterMode: (_b = this.props.isInFooterMode) !== null && _b !== void 0 ? _b : true,
|
|
105
|
-
openWidget: this.state.openWidget,
|
|
106
|
-
toastTargetRef: this._handleToastTargetRef,
|
|
107
|
-
onOpenWidget: this._handleOpenWidget,
|
|
108
|
-
} },
|
|
109
|
-
React.createElement(SafeAreaContext.Consumer, null, (safeAreaInsets) => {
|
|
110
|
-
var _a;
|
|
111
|
-
return (React.createElement(Footer // eslint-disable-line deprecation/deprecation
|
|
112
|
-
, { className: this.props.className, messages: this.getFooterMessages(),
|
|
113
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
114
|
-
isInFooterMode: (_a = this.props.isInFooterMode) !== null && _a !== void 0 ? _a : true, onMouseEnter: UiFramework.visibility.handleWidgetMouseEnter, safeAreaInsets: safeAreaInsets, style: this.props.style }, footerSections));
|
|
115
|
-
})));
|
|
75
|
+
return (React.createElement(SafeAreaContext.Consumer, null, (safeAreaInsets) => {
|
|
76
|
+
var _a, _b, _c;
|
|
77
|
+
return (React.createElement(Footer, { className: this.props.className, messages: React.createElement(ActivityMessageRenderer, null), onMouseEnter: UiFramework.visibility.handleWidgetMouseEnter, safeAreaInsets: toLayoutSafeAreaInsets(safeAreaInsets), style: this.props.style }, (_c = (_b = (_a = this.props.widgetControl) === null || _a === void 0 ? void 0 : _a.getReactNode) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : null));
|
|
78
|
+
}));
|
|
116
79
|
}
|
|
117
80
|
componentDidMount() {
|
|
118
81
|
MessageManager.onMessageAddedEvent.addListener(this._handleMessageAddedEvent);
|
|
@@ -127,9 +90,6 @@ export class StatusBar extends React.Component {
|
|
|
127
90
|
MessageManager.onActivityMessageCancelledEvent.removeListener(this._handleActivityMessageCancelledEvent);
|
|
128
91
|
MessageManager.onMessagesUpdatedEvent.removeListener(this._handleMessagesUpdatedEvent);
|
|
129
92
|
}
|
|
130
|
-
getFooterMessages() {
|
|
131
|
-
return (React.createElement(CustomActivityMessageRenderer, { settings: { placement: "bottom" }, activityMessageInfo: this.state.activityMessageInfo, cancelActivityMessage: this._cancelActivityMessage }));
|
|
132
|
-
}
|
|
133
93
|
}
|
|
134
94
|
/** StatusBar With Space Between Items React functional component
|
|
135
95
|
* @public
|
|
@@ -159,13 +119,4 @@ export function StatusBarRightSection(props) {
|
|
|
159
119
|
const { className, ...divProps } = props;
|
|
160
120
|
return React.createElement(Div, { ...divProps, mainClassName: className ? className : "uifw-statusbar-right" });
|
|
161
121
|
}
|
|
162
|
-
/** Context providing values for StatusFieldProps and MessageCenterFieldProps
|
|
163
|
-
* @internal
|
|
164
|
-
*/
|
|
165
|
-
export const StatusBarContext = React.createContext({
|
|
166
|
-
isInFooterMode: true,
|
|
167
|
-
onOpenWidget: /* istanbul ignore next */ () => { },
|
|
168
|
-
openWidget: "",
|
|
169
|
-
toastTargetRef: { current: null },
|
|
170
|
-
});
|
|
171
122
|
//# sourceMappingURL=StatusBar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusBar.js","sourceRoot":"","sources":["../../../../src/appui-react/statusbar/StatusBar.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,kBAAkB,CAAC;AAC1B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAA+B,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAmD,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC7G,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AA+B7C;;GAEG;AACH,MAAM,OAAO,SAAU,SAAQ,KAAK,CAAC,SAAyC;IAG5E,gBAAgB;IAChB,YAAY,KAAqB;QAC/B,KAAK,CAAC,KAAK,CAAC,CAAC;QAJP,aAAQ,GAAuB,EAAE,CAAC;QAsElC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E,GAAG,QAAQ,EAAE,GAAG,KAAK,CAAC;IACzC,OAAO,oBAAC,GAAG,OAAK,QAAQ,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,qBAAqB,GAAI,CAAC;AAC7F,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,sBAAsB,CAAC,KAAqB;IAC1D,MAAM,EAAE,SAAS,EAAE,GAAG,QAAQ,EAAE,GAAG,KAAK,CAAC;IACzC,OAAO,oBAAC,GAAG,OAAK,QAAQ,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,uBAAuB,GAAI,CAAC;AAC/F,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,qBAAqB,CAAC,KAAqB;IACzD,MAAM,EAAE,SAAS,EAAE,GAAG,QAAQ,EAAE,GAAG,KAAK,CAAC;IACzC,OAAO,oBAAC,GAAG,OAAK,QAAQ,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,sBAAsB,GAAI,CAAC;AAC9F,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,KAAK,CAAC,aAAa,CAA6B;IAC9E,cAAc,EAAE,IAAI;IACpB,YAAY,EAAE,0BAA0B,CAAC,GAAG,EAAE,GAAG,CAAC;IAClD,UAAU,EAAE,EAAE;IACd,cAAc,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;CAClC,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module StatusBar\r\n */\r\n\r\nimport \"./StatusBar.scss\";\r\nimport * as React from \"react\";\r\nimport { CommonDivProps, CommonProps, Div } from \"@itwin/core-react\";\r\nimport { Footer } from \"@itwin/appui-layout-react\";\r\nimport { ActivityMessageEventArgs, MessageAddedEventArgs, MessageManager } from \"../messages/MessageManager\";\r\nimport { SafeAreaContext } from \"../safearea/SafeAreaContext\";\r\nimport { StatusBarFieldId, StatusBarWidgetControl, StatusBarWidgetControlArgs } from \"./StatusBarWidgetControl\";\r\nimport { CustomActivityMessageRenderer } from \"../messages/ActivityMessage\";\r\nimport { UiFramework } from \"../UiFramework\";\r\n\r\n// cspell:ignore safearea\r\n\r\n/** State for the [[StatusBar]] React component\r\n * @internal\r\n */\r\ninterface StatusBarState {\r\n openWidget: StatusBarFieldId;\r\n activityMessageInfo: ActivityMessageEventArgs | undefined;\r\n}\r\n\r\n/** Properties for the [[StatusBar]] React component\r\n * @public\r\n */\r\nexport interface StatusBarProps extends CommonProps {\r\n widgetControl?: StatusBarWidgetControl;\r\n /** Indicates whether the StatusBar is in footer mode\r\n * @deprecated in 3.3. In upcoming version, widget mode will be removed. Consider this parameter to always be true.\r\n */\r\n isInFooterMode?: boolean;\r\n}\r\n\r\n/** Message type for the [[StatusBar]] React component\r\n * @internal\r\n */\r\ninterface StatusBarMessage {\r\n close: () => void;\r\n id: string;\r\n}\r\n\r\n/** Status Bar React component.\r\n * @public\r\n */\r\nexport class StatusBar extends React.Component<StatusBarProps, StatusBarState> {\r\n private messages: StatusBarMessage[] = [];\r\n\r\n /** @internal */\r\n constructor(props: StatusBarProps) {\r\n super(props);\r\n\r\n this.state = {\r\n openWidget: null,\r\n activityMessageInfo: undefined,\r\n };\r\n }\r\n\r\n public override render(): React.ReactNode {\r\n let footerSections: React.ReactNode = null;\r\n const widgetControl = this.props.widgetControl;\r\n\r\n // istanbul ignore else\r\n if (widgetControl && widgetControl.getReactNode) {\r\n footerSections = widgetControl.getReactNode({\r\n // eslint-disable-next-line deprecation/deprecation\r\n isInFooterMode: this.props.isInFooterMode ?? true,\r\n openWidget: this.state.openWidget,\r\n toastTargetRef: this._handleToastTargetRef,\r\n onOpenWidget: this._handleOpenWidget,\r\n });\r\n }\r\n\r\n return (\r\n <StatusBarContext.Provider value={{\r\n // eslint-disable-next-line deprecation/deprecation\r\n isInFooterMode: this.props.isInFooterMode ?? true,\r\n openWidget: this.state.openWidget,\r\n toastTargetRef: this._handleToastTargetRef,\r\n onOpenWidget: this._handleOpenWidget,\r\n }}>\r\n <SafeAreaContext.Consumer>\r\n {(safeAreaInsets) => (\r\n <Footer // eslint-disable-line deprecation/deprecation\r\n className={this.props.className}\r\n messages={this.getFooterMessages()}\r\n // eslint-disable-next-line deprecation/deprecation\r\n isInFooterMode={this.props.isInFooterMode ?? true}\r\n onMouseEnter={UiFramework.visibility.handleWidgetMouseEnter}\r\n safeAreaInsets={safeAreaInsets}\r\n style={this.props.style}\r\n >\r\n {footerSections}\r\n </Footer>\r\n )}\r\n </SafeAreaContext.Consumer>\r\n </StatusBarContext.Provider>\r\n );\r\n }\r\n\r\n public override componentDidMount() {\r\n MessageManager.onMessageAddedEvent.addListener(this._handleMessageAddedEvent);\r\n MessageManager.onActivityMessageUpdatedEvent.addListener(this._handleActivityMessageUpdatedEvent);\r\n MessageManager.onActivityMessageCancelledEvent.addListener(this._handleActivityMessageCancelledEvent);\r\n MessageManager.onMessagesUpdatedEvent.addListener(this._handleMessagesUpdatedEvent);\r\n\r\n MessageManager.updateMessages();\r\n }\r\n\r\n public override componentWillUnmount() {\r\n MessageManager.onMessageAddedEvent.removeListener(this._handleMessageAddedEvent);\r\n MessageManager.onActivityMessageUpdatedEvent.removeListener(this._handleActivityMessageUpdatedEvent);\r\n MessageManager.onActivityMessageCancelledEvent.removeListener(this._handleActivityMessageCancelledEvent);\r\n MessageManager.onMessagesUpdatedEvent.removeListener(this._handleMessagesUpdatedEvent);\r\n }\r\n\r\n private _handleMessageAddedEvent = (_args: MessageAddedEventArgs) => {\r\n this._updateMessages();\r\n const messagesToAdd = MessageManager.activeMessageManager.messages.filter((msg) => !this.messages.find((m) => m.id === msg.id));\r\n messagesToAdd.forEach((msg) => {\r\n const displayedMessage = MessageManager.displayMessage(msg.messageDetails, { onRemove: () => this._closeMessage(msg.id) });\r\n if(!!displayedMessage)\r\n this.messages.push({close: displayedMessage.close, id: msg.id});\r\n });\r\n };\r\n\r\n private _updateMessages = () => {\r\n const updatedMessages = [...this.messages];\r\n this.messages.forEach((m) => {\r\n if (!MessageManager.activeMessageManager.messages.some((msg) => m.id === msg.id)) {\r\n m.close();\r\n const index = updatedMessages.findIndex((msg) => msg.id === m.id);\r\n updatedMessages.splice(index, 1);\r\n }\r\n });\r\n this.messages = updatedMessages;\r\n };\r\n\r\n /** Respond to clearing the message list */\r\n private _handleMessagesUpdatedEvent = () => {\r\n this._updateMessages();\r\n };\r\n\r\n /**\r\n * Sets state of the status bar to updated values reflecting activity progress.\r\n * @param args New values to set for ActivityMessage\r\n */\r\n private _handleActivityMessageUpdatedEvent = (args: ActivityMessageEventArgs) => {\r\n this.setState({\r\n activityMessageInfo: args,\r\n });\r\n };\r\n\r\n /**\r\n * Hides ActivityMessage after cancellation\r\n */\r\n private _handleActivityMessageCancelledEvent = () => {\r\n this.setState({\r\n activityMessageInfo: undefined,\r\n });\r\n };\r\n\r\n private getFooterMessages(): React.ReactNode {\r\n return (\r\n <CustomActivityMessageRenderer settings={{placement: \"bottom\"}} activityMessageInfo={this.state.activityMessageInfo} cancelActivityMessage={this._cancelActivityMessage} />\r\n );\r\n }\r\n\r\n /**\r\n * Ends canceled process and dismisses ActivityMessage\r\n */\r\n private _cancelActivityMessage = () => {\r\n MessageManager.endActivityMessage(false);\r\n };\r\n\r\n private _handleOpenWidget = (openWidget: StatusBarFieldId) => {\r\n this.setState({\r\n openWidget,\r\n });\r\n };\r\n\r\n private _closeMessage = (id: string) => {\r\n MessageManager.activeMessageManager.remove(id);\r\n MessageManager.updateMessages();\r\n };\r\n\r\n private _handleToastTargetRef = (toastTarget: HTMLElement | null) => {\r\n MessageManager.registerAnimateOutToElement(toastTarget);\r\n };\r\n}\r\n\r\n/** StatusBar With Space Between Items React functional component\r\n * @public\r\n */\r\nexport function StatusBarSpaceBetween(props: CommonDivProps) {\r\n const { className, ...divProps } = props;\r\n return <Div {...divProps} mainClassName={className ? className : \"uifw-statusbar-space-between\"} />;\r\n}\r\n\r\n/** StatusBar Left Section React functional component\r\n * @public\r\n */\r\nexport function StatusBarLeftSection(props: CommonDivProps) {\r\n const { className, ...divProps } = props;\r\n return <Div {...divProps} mainClassName={className ? className : \"uifw-statusbar-left\"} />;\r\n}\r\n\r\n/** StatusBar Center Section React functional component\r\n * @public\r\n */\r\nexport function StatusBarCenterSection(props: CommonDivProps) {\r\n const { className, ...divProps } = props;\r\n return <Div {...divProps} mainClassName={className ? className : \"uifw-statusbar-center\"} />;\r\n}\r\n\r\n/** StatusBar Right Section React functional component\r\n * @public\r\n */\r\nexport function StatusBarRightSection(props: CommonDivProps) {\r\n const { className, ...divProps } = props;\r\n return <Div {...divProps} mainClassName={className ? className : \"uifw-statusbar-right\"} />;\r\n}\r\n\r\n/** Context providing values for StatusFieldProps and MessageCenterFieldProps\r\n * @internal\r\n */\r\nexport const StatusBarContext = React.createContext<StatusBarWidgetControlArgs>({ // eslint-disable-line @typescript-eslint/naming-convention\r\n isInFooterMode: true,\r\n onOpenWidget: /* istanbul ignore next */ () => { },\r\n openWidget: \"\",\r\n toastTargetRef: { current: null },\r\n});\r\n"]}
|
|
1
|
+
{"version":3,"file":"StatusBar.js","sourceRoot":"","sources":["../../../../src/appui-react/statusbar/StatusBar.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,kBAAkB,CAAC;AAC1B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAA+B,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAmD,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC7G,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,OAAO,EAAE,sBAAsB,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,oBAAC,GAAG,OAAK,QAAQ,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,8BAA8B,GAAI,CAAC;AACtG,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,oBAAoB,CAAC,KAAqB;IACxD,MAAM,EAAE,SAAS,EAAE,GAAG,QAAQ,EAAE,GAAG,KAAK,CAAC;IACzC,OAAO,oBAAC,GAAG,OAAK,QAAQ,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,qBAAqB,GAAI,CAAC;AAC7F,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,sBAAsB,CAAC,KAAqB;IAC1D,MAAM,EAAE,SAAS,EAAE,GAAG,QAAQ,EAAE,GAAG,KAAK,CAAC;IACzC,OAAO,oBAAC,GAAG,OAAK,QAAQ,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,uBAAuB,GAAI,CAAC;AAC/F,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,qBAAqB,CAAC,KAAqB;IACzD,MAAM,EAAE,SAAS,EAAE,GAAG,QAAQ,EAAE,GAAG,KAAK,CAAC;IACzC,OAAO,oBAAC,GAAG,OAAK,QAAQ,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,sBAAsB,GAAI,CAAC;AAC9F,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module StatusBar\r\n */\r\n\r\nimport \"./StatusBar.scss\";\r\nimport * as React from \"react\";\r\nimport { CommonDivProps, CommonProps, Div } from \"@itwin/core-react\";\r\nimport { Footer } from \"@itwin/appui-layout-react\";\r\nimport { ActivityMessageEventArgs, MessageAddedEventArgs, MessageManager } from \"../messages/MessageManager\";\r\nimport { SafeAreaContext } from \"../safearea/SafeAreaContext\";\r\nimport { StatusBarWidgetControl } from \"./StatusBarWidgetControl\";\r\nimport { toLayoutSafeAreaInsets } from \"../safearea/SafeAreaHelpers\";\r\nimport { ActivityMessageRenderer } from \"../messages/ActivityMessage\";\r\nimport { UiFramework } from \"../UiFramework\";\r\n\r\n// cspell:ignore safearea\r\n\r\n/** State for the [[StatusBar]] React component\r\n * @internal\r\n */\r\ninterface StatusBarState {\r\n activityMessageInfo: ActivityMessageEventArgs | undefined;\r\n}\r\n\r\n/** Properties for the [[StatusBar]] React component\r\n * @public\r\n */\r\nexport interface StatusBarProps extends CommonProps {\r\n widgetControl?: StatusBarWidgetControl;\r\n}\r\n\r\n/** Message type for the [[StatusBar]] React component\r\n * @internal\r\n */\r\ninterface StatusBarMessage {\r\n close: () => void;\r\n id: string;\r\n}\r\n\r\n/** Status Bar React component.\r\n * @public\r\n */\r\nexport class StatusBar extends React.Component<StatusBarProps, StatusBarState> {\r\n private messages: StatusBarMessage[] = [];\r\n\r\n /** @internal */\r\n constructor(props: StatusBarProps) {\r\n super(props);\r\n\r\n this.state = {\r\n activityMessageInfo: undefined,\r\n };\r\n }\r\n\r\n public override render(): React.ReactNode {\r\n return (\r\n <SafeAreaContext.Consumer>\r\n {(safeAreaInsets) => (\r\n <Footer\r\n className={this.props.className}\r\n messages={<ActivityMessageRenderer />}\r\n onMouseEnter={UiFramework.visibility.handleWidgetMouseEnter}\r\n safeAreaInsets={toLayoutSafeAreaInsets(safeAreaInsets)}\r\n style={this.props.style}\r\n >\r\n {this.props.widgetControl?.getReactNode?.() ?? null}\r\n </Footer>\r\n )}\r\n </SafeAreaContext.Consumer>\r\n );\r\n }\r\n\r\n public override componentDidMount() {\r\n MessageManager.onMessageAddedEvent.addListener(this._handleMessageAddedEvent);\r\n MessageManager.onActivityMessageUpdatedEvent.addListener(this._handleActivityMessageUpdatedEvent);\r\n MessageManager.onActivityMessageCancelledEvent.addListener(this._handleActivityMessageCancelledEvent);\r\n MessageManager.onMessagesUpdatedEvent.addListener(this._handleMessagesUpdatedEvent);\r\n\r\n MessageManager.updateMessages();\r\n }\r\n\r\n public override componentWillUnmount() {\r\n MessageManager.onMessageAddedEvent.removeListener(this._handleMessageAddedEvent);\r\n MessageManager.onActivityMessageUpdatedEvent.removeListener(this._handleActivityMessageUpdatedEvent);\r\n MessageManager.onActivityMessageCancelledEvent.removeListener(this._handleActivityMessageCancelledEvent);\r\n MessageManager.onMessagesUpdatedEvent.removeListener(this._handleMessagesUpdatedEvent);\r\n }\r\n\r\n private _handleMessageAddedEvent = (_args: MessageAddedEventArgs) => {\r\n this._updateMessages();\r\n const messagesToAdd = MessageManager.activeMessageManager.messages.filter((msg) => !this.messages.find((m) => m.id === msg.id));\r\n messagesToAdd.forEach((msg) => {\r\n const displayedMessage = MessageManager.displayMessage(msg.messageDetails, { onRemove: () => this._closeMessage(msg.id) });\r\n if (!!displayedMessage)\r\n this.messages.push({ close: displayedMessage.close, id: msg.id });\r\n });\r\n };\r\n\r\n private _updateMessages = () => {\r\n const updatedMessages = [...this.messages];\r\n this.messages.forEach((m) => {\r\n if (!MessageManager.activeMessageManager.messages.some((msg) => m.id === msg.id)) {\r\n m.close();\r\n const index = updatedMessages.findIndex((msg) => msg.id === m.id);\r\n updatedMessages.splice(index, 1);\r\n }\r\n });\r\n this.messages = updatedMessages;\r\n };\r\n\r\n /** Respond to clearing the message list */\r\n private _handleMessagesUpdatedEvent = () => {\r\n this._updateMessages();\r\n };\r\n\r\n /**\r\n * Sets state of the status bar to updated values reflecting activity progress.\r\n * @param args New values to set for ActivityMessage\r\n */\r\n private _handleActivityMessageUpdatedEvent = (args: ActivityMessageEventArgs) => {\r\n this.setState({\r\n activityMessageInfo: args,\r\n });\r\n };\r\n\r\n /**\r\n * Hides ActivityMessage after cancellation\r\n */\r\n private _handleActivityMessageCancelledEvent = () => {\r\n this.setState({\r\n activityMessageInfo: undefined,\r\n });\r\n };\r\n\r\n private _closeMessage = (id: string) => {\r\n MessageManager.activeMessageManager.remove(id);\r\n MessageManager.updateMessages();\r\n };\r\n}\r\n\r\n/** StatusBar With Space Between Items React functional component\r\n * @public\r\n */\r\nexport function StatusBarSpaceBetween(props: CommonDivProps) {\r\n const { className, ...divProps } = props;\r\n return <Div {...divProps} mainClassName={className ? className : \"uifw-statusbar-space-between\"} />;\r\n}\r\n\r\n/** StatusBar Left Section React functional component\r\n * @public\r\n */\r\nexport function StatusBarLeftSection(props: CommonDivProps) {\r\n const { className, ...divProps } = props;\r\n return <Div {...divProps} mainClassName={className ? className : \"uifw-statusbar-left\"} />;\r\n}\r\n\r\n/** StatusBar Center Section React functional component\r\n * @public\r\n */\r\nexport function StatusBarCenterSection(props: CommonDivProps) {\r\n const { className, ...divProps } = props;\r\n return <Div {...divProps} mainClassName={className ? className : \"uifw-statusbar-center\"} />;\r\n}\r\n\r\n/** StatusBar Right Section React functional component\r\n * @public\r\n */\r\nexport function StatusBarRightSection(props: CommonDivProps) {\r\n const { className, ...divProps } = props;\r\n return <Div {...divProps} mainClassName={className ? className : \"uifw-statusbar-right\"} />;\r\n}\r\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusBarComposer.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/statusbar/StatusBarComposer.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACoD,mBAAmB,EAE7E,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"StatusBarComposer.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/statusbar/StatusBarComposer.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACoD,mBAAmB,EAE7E,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,WAAW,EAA8B,MAAM,mBAAmB,CAAC;AAyB5E,UAAU,8BAA8B;IACtC,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;IAC9B,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAMD,gBAAgB;AAChB,wBAAgB,iBAAiB,mCAEhC;AAED;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,WAAW;IACrD,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,kBAAkB,eAqB5D;AAwID;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,WAAW;IACzD,uBAAuB;IACvB,KAAK,EAAE,mBAAmB,EAAE,CAAC;IAE7B,yDAAyD;IACzD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mDAAmD;IACnD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qDAAqD;IACrD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oDAAoD;IACpD,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,eAiM9D"}
|
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import classnames from "classnames";
|
|
9
9
|
import * as React from "react";
|
|
10
|
-
import { ConditionalBooleanValue, ConditionalStringValue, isAbstractStatusBarActionItem, isAbstractStatusBarLabelItem, StatusBarItemsManager,
|
|
11
|
-
import {
|
|
12
|
-
import { eqlOverflown
|
|
10
|
+
import { ConditionalBooleanValue, ConditionalStringValue, isAbstractStatusBarActionItem, isAbstractStatusBarLabelItem, StatusBarItemsManager, StatusBarSection, } from "@itwin/appui-abstract";
|
|
11
|
+
import { useRefs, useResizeObserver } from "@itwin/core-react";
|
|
12
|
+
import { eqlOverflown } from "@itwin/appui-layout-react";
|
|
13
13
|
import { SyncUiEventDispatcher } from "../syncui/SyncUiEventDispatcher";
|
|
14
|
-
import { Indicator } from "../statusfields/Indicator";
|
|
15
14
|
import { StatusBarOverflow } from "./Overflow";
|
|
16
15
|
import { StatusBarOverflowPanel } from "./OverflowPanel";
|
|
17
|
-
import { StatusBarCenterSection,
|
|
16
|
+
import { StatusBarCenterSection, StatusBarLeftSection, StatusBarRightSection, StatusBarSpaceBetween } from "./StatusBar";
|
|
18
17
|
import { isStatusBarItem } from "./StatusBarItem";
|
|
19
18
|
import { useDefaultStatusBarItems } from "./useDefaultStatusBarItems";
|
|
20
19
|
import { useUiItemsProviderStatusBarItems } from "./useUiItemsProviderStatusBarItems";
|
|
20
|
+
import { StatusBarLabelIndicator } from "../statusbar/LabelIndicator";
|
|
21
21
|
/* eslint-disable deprecation/deprecation */
|
|
22
22
|
/** Private function to generate a value that will allow the proper order to be maintained when items are placed in overflow panel */
|
|
23
23
|
function getCombinedSectionItemPriority(item) {
|
|
@@ -48,14 +48,14 @@ export function DockedStatusBarItem(props) {
|
|
|
48
48
|
}
|
|
49
49
|
/** Wrapper for status bar entries so their size can be used to determine if the status bar container can display them or if they will need to be placed in an overflow panel. */
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/naming-convention, no-shadow
|
|
51
|
-
|
|
51
|
+
function DockedStatusBarEntry({ children, entryKey, getOnResize }) {
|
|
52
52
|
const onResize = React.useMemo(() => getOnResize(entryKey), [getOnResize, entryKey]);
|
|
53
53
|
const entry = React.useMemo(() => ({
|
|
54
54
|
isOverflown: false,
|
|
55
55
|
onResize,
|
|
56
56
|
}), [onResize]);
|
|
57
57
|
return (React.createElement(DockedStatusBarEntryContext.Provider, { value: entry }, children));
|
|
58
|
-
}
|
|
58
|
+
}
|
|
59
59
|
/** Private function to set up sync event monitoring of statusbar items */
|
|
60
60
|
function useStatusBarItemSyncEffect(itemsManager, syncIdsOfInterest) {
|
|
61
61
|
React.useEffect(() => {
|
|
@@ -76,16 +76,14 @@ function useStatusBarItemSyncEffect(itemsManager, syncIdsOfInterest) {
|
|
|
76
76
|
}, [itemsManager, itemsManager.items, syncIdsOfInterest]);
|
|
77
77
|
}
|
|
78
78
|
/** function to produce a StatusBarItem component from an AbstractStatusBarLabelItem */
|
|
79
|
-
function generateActionStatusLabelItem(item
|
|
80
|
-
const
|
|
81
|
-
return (React.createElement(
|
|
82
|
-
, { isInFooterMode: isInFooterMode },
|
|
83
|
-
item.icon && React.createElement(Icon, { iconSpec: item.icon }),
|
|
84
|
-
item.label && React.createElement("span", { className: iconPaddingClass }, ConditionalStringValue.getValue(item.label))));
|
|
79
|
+
function generateActionStatusLabelItem(item) {
|
|
80
|
+
const label = ConditionalStringValue.getValue(item.label);
|
|
81
|
+
return (React.createElement(StatusBarLabelIndicator, { iconSpec: item.icon, label: label }));
|
|
85
82
|
}
|
|
86
83
|
/** function to produce a StatusBarItem component from an AbstractStatusBarActionItem */
|
|
87
|
-
function generateActionStatusBarItem(item
|
|
88
|
-
|
|
84
|
+
function generateActionStatusBarItem(item) {
|
|
85
|
+
const title = ConditionalStringValue.getValue(item.tooltip);
|
|
86
|
+
return (React.createElement(StatusBarLabelIndicator, { title: title, onClick: item.execute, iconSpec: item.icon }));
|
|
89
87
|
}
|
|
90
88
|
/** local function to combine items from Stage and from Extensions */
|
|
91
89
|
function combineItems(stageItems, addonItems) {
|
|
@@ -167,7 +165,6 @@ export function StatusBarComposer(props) {
|
|
|
167
165
|
const defaultItems = useDefaultStatusBarItems(defaultItemsManager);
|
|
168
166
|
const syncIdsOfInterest = React.useMemo(() => StatusBarItemsManager.getSyncIdsOfInterest(defaultItems), [defaultItems]);
|
|
169
167
|
useStatusBarItemSyncEffect(defaultItemsManager, syncIdsOfInterest);
|
|
170
|
-
const statusBarContext = React.useContext(StatusBarContext);
|
|
171
168
|
const [addonItemsManager] = React.useState(() => new StatusBarItemsManager());
|
|
172
169
|
const addonItems = useUiItemsProviderStatusBarItems(addonItemsManager);
|
|
173
170
|
const addonSyncIdsOfInterest = React.useMemo(() => StatusBarItemsManager.getSyncIdsOfInterest(addonItems), [addonItems]);
|
|
@@ -225,10 +222,9 @@ export function StatusBarComposer(props) {
|
|
|
225
222
|
return (React.createElement(DockedStatusBarEntry, { key: key, entryKey: key, getOnResize: handleEntryResize },
|
|
226
223
|
React.createElement(DockedStatusBarItem, { key: key, itemId: item.id, itemPriority: itemPriority, providerId: providerId, section: getSectionName(section) },
|
|
227
224
|
isStatusBarItem(item) && item.reactNode,
|
|
228
|
-
isAbstractStatusBarActionItem(item) && generateActionStatusBarItem(item
|
|
229
|
-
isAbstractStatusBarLabelItem(item) && generateActionStatusLabelItem(item
|
|
230
|
-
|
|
231
|
-
}, [statusBarContext.isInFooterMode, handleEntryResize]);
|
|
225
|
+
isAbstractStatusBarActionItem(item) && generateActionStatusBarItem(item),
|
|
226
|
+
isAbstractStatusBarLabelItem(item) && generateActionStatusLabelItem(item))));
|
|
227
|
+
}, [handleEntryResize]);
|
|
232
228
|
const getSectionItems = React.useCallback((section) => {
|
|
233
229
|
const sectionItems = statusBarItems
|
|
234
230
|
.filter((item) => item.section === section && !isItemInOverflow(item.id, overflown) && !ConditionalBooleanValue.getValue(item.isHidden))
|