@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":"SyncUiEventDispatcher.js","sourceRoot":"","sources":["../../../../src/appui-react/syncui/SyncUiEventDispatcher.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAgC,MAAM,uBAAuB,CAAC;AACxF,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAoE,MAAM,sBAAsB,CAAC;AACnH,OAAO,EAAE,iBAAiB,EAAkB,MAAM,4BAA4B,CAAC;AAC/E,OAAO,EAAsB,YAAY,EAA4B,MAAM,8BAA8B,CAAC;AAC1G,+BAA+B;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAA8B,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AACzF,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,8KAA8K;AAC9K,yJAAyJ;AACzJ,2JAA2J;AAC3J,wHAAwH;AACxH,8GAA8G;AAE9G;;GAEG;AACH,MAAM,CAAN,IAAY,aAoDX;AApDD,WAAY,aAAa;IACvB,yCAAyC;IACzC,0EAAyD,CAAA;IACzD,qCAAqC;IACrC,oEAAmD,CAAA;IACnD,8EAA8E;IAC9E,8DAA6C,CAAA;IAC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,OAAO,CAAC,oBAAoB,CAAC,KAAK,QAAQ,EAAE;oBAC9C,WAAW,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,EAAE,CAAC,CAAC;iBACpG;qBAAM;oBACL,WAAW,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,CAAC;iBACjG;aACF;SACF;QAAC,MAAM,GAAG;IAEb,CAAC;;AArMc,wCAAkB,GAAG,IAAI,iBAAiB,EAAE,CAAC;AAE7C,8CAAwB,GAAsB,EAAE,CAAC;AACjD,iCAAW,GAAG,KAAK,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 SyncUi\r\n */\r\n\r\nimport { UiEventDispatcher, UiSyncEvent, UiSyncEventArgs } from \"@itwin/appui-abstract\";\r\nimport { Logger } from \"@itwin/core-bentley\";\r\nimport { IModelApp, IModelConnection, SelectedViewportChangedArgs, SelectionSetEvent } from \"@itwin/core-frontend\";\r\nimport { getInstancesCount, SelectionScope } from \"@itwin/presentation-common\";\r\nimport { ISelectionProvider, Presentation, SelectionChangeEventArgs } from \"@itwin/presentation-frontend\";\r\n// cSpell:ignore configurableui\r\nimport { Backstage } from \"../backstage/Backstage\";\r\nimport { PresentationSelectionScope, SessionStateActionId } from \"../redux/SessionState\";\r\nimport { UiFramework } from \"../UiFramework\";\r\nimport { WorkflowManager } from \"../workflow/Workflow\";\r\n\r\n// cSpell:ignore activecontentchanged, activitymessageupdated, activitymessagecancelled, backstagecloseevent, backstageevent, contentlayoutactivated, contentcontrolactivated,\r\n// cSpell:ignore elementtooltipchanged, frontstageactivated, inputfieldmessageadded, inputfieldmessageremoved, modalfrontstagechanged, modaldialogchanged\r\n// cSpell:ignore navigationaidactivated, notificationmessageadded, toolactivated, taskactivated, widgetstatechanged, workflowactivated frontstageactivating\r\n// cSpell:ignore frontstageready activeviewportchanged selectionsetchanged presentationselectionchanged viewstatechanged\r\n// cSpell:ignore accudrawcompassmodechanged accudrawfieldlockchanged accudrawrotationchanged uisettingschanged\r\n\r\n/** Event Id used to sync UI components. Used to refresh visibility or enable state of control.\r\n * @public\r\n */\r\nexport enum SyncUiEventId {\r\n /** AccuDraw compass mode has changed. */\r\n AccuDrawCompassModeChanged = \"accudrawcompassmodechanged\",\r\n /** AccuDraw rotation has changed. */\r\n AccuDrawRotationChanged = \"accudrawrotationchanged\",\r\n /** The active content as maintained by the ContentViewManager has changed. */\r\n ActiveContentChanged = \"activecontentchanged\",\r\n /** The active view maintained by the ViewManager has changed. */\r\n ActiveViewportChanged = \"activeviewportchanged\",\r\n /** Backstage has been closed.\r\n * @deprecated in 3.7. Use BackstageEvent instead\r\n */\r\n BackstageCloseEvent = \"backstagecloseevent\",\r\n /** Backstage has been closed. */\r\n BackstageEvent = \"backstageevent\",\r\n /** A Content Layout has been activated. */\r\n ContentLayoutActivated = \"contentlayoutactivated\",\r\n /** A Content Control maintained by FrontstageManager has been activated. */\r\n ContentControlActivated = \"contentcontrolactivated\",\r\n /** A Frontstage is activating. */\r\n FrontstageActivating = \"frontstageactivating\",\r\n /** A Frontstage has been activated and the content has been assigned. */\r\n FrontstageReady = \"frontstageready\",\r\n /** A Modal Frontstage has been opened or closed. */\r\n ModalFrontstageChanged = \"modalfrontstagechanged\",\r\n /** A Modal Dialog has been opened or closed. */\r\n ModalDialogChanged = \"modaldialogchanged\",\r\n /** A NavigationAid has been activated. */\r\n NavigationAidActivated = \"navigationaidactivated\",\r\n /** An InteractiveTool has been activated via the ToolAdmin. */\r\n ToolActivated = \"toolactivated\",\r\n /** A Task has been activated.\r\n * @deprecated in 3.0. Task is obsolete. */\r\n TaskActivated = \"taskactivated\",\r\n /** The state of a Widget has changed. */\r\n WidgetStateChanged = \"widgetstatechanged\",\r\n /** A Workflow has been activated.\r\n * @deprecated in 3.0. Workflow is obsolete. */\r\n WorkflowActivated = \"workflowactivated\",\r\n /** The SelectionSet for the active IModelConnection has changed. */\r\n SelectionSetChanged = \"selectionsetchanged\",\r\n /** The list of settings providers registered with SettingsManager has changed. */\r\n SettingsProvidersChanged = \"settingsproviderschanged\",\r\n /** The current view state has changed (used by view undo/redo toolbar buttons). */\r\n ViewStateChanged = \"viewstatechanged\",\r\n /** The current object the reads and write UI State has changed. */\r\n UiStateStorageChanged = \"uistatestoragechanged\",\r\n ShowHideManagerSettingChange = \"show-hide-setting-change\",\r\n /** The list of feature overrides applied has been changed\r\n * @alpha\r\n */\r\n FeatureOverridesChanged = \"featureoverrideschanged\"\r\n}\r\n\r\n/** SyncUi Event arguments. Contains a set of lower case event Ids.\r\n * @public @deprecated in 3.7, use UiSyncEventArgs in appui-abstract instead\r\n */\r\nexport type SyncUiEventArgs = UiSyncEventArgs;\r\n\r\n/** SyncUi Event class.\r\n * @public @deprecated in 3.7, use UiSyncEvent in appui-abstract instead\r\n */\r\nexport type SyncUiEvent = UiSyncEvent;\r\n\r\n/** This class is used to send eventIds to interested UI components so the component can determine if it needs\r\n * to refresh its display by calling setState on itself.\r\n * @public\r\n */\r\nexport class SyncUiEventDispatcher {\r\n private static _uiEventDispatcher = new UiEventDispatcher();\r\n private static _unregisterListenerFunc?: () => void;\r\n private static _unregisterListenerFuncs: Array<() => void> = [];\r\n private static initialized = false;\r\n\r\n /** @internal - used for testing only */\r\n /* istanbul ignore next */\r\n public static setTimeoutPeriod(period: number): void {\r\n SyncUiEventDispatcher._uiEventDispatcher.setTimeoutPeriod(period);\r\n }\r\n\r\n /** Return set of event ids that will be sent to listeners/. */\r\n public static get syncEventIds(): Set<string> {\r\n return SyncUiEventDispatcher._uiEventDispatcher.syncEventIds;\r\n }\r\n\r\n /** Return SyncUiEvent so callers can register an event callback. */\r\n // eslint-disable-next-line deprecation/deprecation\r\n public static get onSyncUiEvent(): SyncUiEvent {\r\n return SyncUiEventDispatcher._uiEventDispatcher.onSyncUiEvent;\r\n }\r\n\r\n /** Immediately trigger sync event processing. */\r\n public static dispatchImmediateSyncUiEvent(eventId: string): void {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchImmediateSyncUiEvent(eventId);\r\n }\r\n\r\n /** Save eventId in Set for processing. */\r\n public static dispatchSyncUiEvent(eventId: string): void {\r\n if (0 === SyncUiEventDispatcher._uiEventDispatcher.timeoutPeriod) {\r\n Logger.logInfo(UiFramework.loggerCategory(this), `[dispatchSyncUiEvent] not processed because timeoutPeriod=0`);\r\n return;\r\n }\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(eventId);\r\n }\r\n\r\n /** Save multiple eventIds in Set for processing. */\r\n public static dispatchSyncUiEvents(eventIds: string[]): void {\r\n // istanbul ignore if\r\n if (0 === SyncUiEventDispatcher._uiEventDispatcher.timeoutPeriod) {\r\n Logger.logInfo(UiFramework.loggerCategory(this), `[dispatchSyncUiEvents] not processed because _timeoutPeriod=0`);\r\n }\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvents(eventIds);\r\n }\r\n\r\n /** Checks to see if an eventId of interest is contained in the set of eventIds */\r\n public static hasEventOfInterest(eventIds: Set<string>, idsOfInterest: string[]) {\r\n return SyncUiEventDispatcher._uiEventDispatcher.hasEventOfInterest(eventIds, idsOfInterest);\r\n }\r\n\r\n // istanbul ignore next\r\n private static _dispatchViewChange() {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.ViewStateChanged);\r\n }\r\n\r\n // istanbul ignore next\r\n private static _dispatchFeatureOverridesChange() {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.FeatureOverridesChanged);\r\n }\r\n\r\n /** Initializes the Monitoring of Events that trigger dispatching sync events */\r\n public static initialize() {\r\n // clear any registered listeners - this should only be encountered in unit test scenarios\r\n this._unregisterListenerFuncs.forEach((unregisterListenerFunc) => unregisterListenerFunc());\r\n\r\n this._unregisterListenerFuncs.push(UiFramework.frontstages.onContentControlActivatedEvent.addListener(() => {\r\n SyncUiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.ContentControlActivated);\r\n }));\r\n\r\n this._unregisterListenerFuncs.push(UiFramework.frontstages.onContentLayoutActivatedEvent.addListener(() => {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.ContentLayoutActivated);\r\n }));\r\n\r\n this._unregisterListenerFuncs.push(UiFramework.frontstages.onFrontstageActivatedEvent.addListener(() => {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.FrontstageActivating);\r\n }));\r\n\r\n this._unregisterListenerFuncs.push(UiFramework.frontstages.onFrontstageReadyEvent.addListener(() => {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.FrontstageReady);\r\n }));\r\n\r\n this._unregisterListenerFuncs.push(UiFramework.frontstages.onModalFrontstageChangedEvent.addListener(() => {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.ModalFrontstageChanged);\r\n }));\r\n\r\n this._unregisterListenerFuncs.push(UiFramework.frontstages.onNavigationAidActivatedEvent.addListener(() => {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.NavigationAidActivated);\r\n }));\r\n\r\n this._unregisterListenerFuncs.push(UiFramework.frontstages.onToolActivatedEvent.addListener(() => {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.ToolActivated);\r\n }));\r\n\r\n this._unregisterListenerFuncs.push(UiFramework.frontstages.onWidgetStateChangedEvent.addListener(() => {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.WidgetStateChanged);\r\n }));\r\n\r\n this._unregisterListenerFuncs.push(Backstage.onBackstageEvent.addListener(() => { // eslint-disable-line deprecation/deprecation\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.BackstageEvent);\r\n }));\r\n\r\n this._unregisterListenerFuncs.push(WorkflowManager.onTaskActivatedEvent.addListener(() => { // eslint-disable-line deprecation/deprecation\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.TaskActivated); // eslint-disable-line deprecation/deprecation\r\n }));\r\n\r\n this._unregisterListenerFuncs.push(WorkflowManager.onWorkflowActivatedEvent.addListener(() => { // eslint-disable-line deprecation/deprecation\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.WorkflowActivated); // eslint-disable-line deprecation/deprecation\r\n }));\r\n\r\n this._unregisterListenerFuncs.push(UiFramework.content.onActiveContentChangedEvent.addListener(() => {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.ActiveContentChanged);\r\n }));\r\n\r\n // istanbul ignore else\r\n if (IModelApp && IModelApp.viewManager) {\r\n this._unregisterListenerFuncs.push(IModelApp.viewManager.onSelectedViewportChanged.addListener((args: SelectedViewportChangedArgs) => {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.ActiveViewportChanged);\r\n\r\n // if this is the first view being opened up start the default tool so tool admin is happy.\r\n if (undefined === args.previous) {\r\n IModelApp.toolAdmin.startDefaultTool();// eslint-disable-line @typescript-eslint/no-floating-promises\r\n } else {\r\n // istanbul ignore next\r\n if (args.previous.onViewChanged && typeof args.previous.onViewChanged.removeListener === \"function\") // not set during unit test\r\n args.previous.onViewChanged.removeListener(SyncUiEventDispatcher._dispatchViewChange);\r\n // istanbul ignore next\r\n if (args.previous.onFeatureOverridesChanged && typeof args.previous.onFeatureOverridesChanged.removeListener === \"function\") // not set during unit test\r\n args.previous.onFeatureOverridesChanged.removeListener(SyncUiEventDispatcher._dispatchFeatureOverridesChange);\r\n }\r\n // istanbul ignore next\r\n if (args.current) {\r\n if (args.current.onViewChanged && typeof args.current.onViewChanged.addListener === \"function\") // not set during unit test\r\n args.current.onViewChanged.addListener(SyncUiEventDispatcher._dispatchViewChange);\r\n // istanbul ignore next\r\n if (args.current.onFeatureOverridesChanged && typeof args.current.onFeatureOverridesChanged.addListener === \"function\") // not set during unit test\r\n args.current.onFeatureOverridesChanged.addListener(SyncUiEventDispatcher._dispatchFeatureOverridesChange);\r\n }\r\n }));\r\n }\r\n }\r\n\r\n private static selectionChangedHandler(_ev: SelectionSetEvent) {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.SelectionSetChanged);\r\n }\r\n\r\n /** This should be called by IModelApp when the active IModelConnection is closed. */\r\n public static clearConnectionEvents(iModelConnection: IModelConnection) {\r\n iModelConnection.selectionSet.onChanged.removeListener(SyncUiEventDispatcher.selectionChangedHandler);\r\n SyncUiEventDispatcher._unregisterListenerFunc && SyncUiEventDispatcher._unregisterListenerFunc();\r\n }\r\n\r\n /** This should be called by IModelApp when the active IModelConnection is established. */\r\n public static initializeConnectionEvents(iModelConnection: IModelConnection) {\r\n if (SyncUiEventDispatcher._unregisterListenerFunc)\r\n SyncUiEventDispatcher._unregisterListenerFunc();\r\n\r\n if (iModelConnection.isBlankConnection() || !iModelConnection.isOpen) {\r\n UiFramework.dispatchActionToStore(SessionStateActionId.SetNumItemsSelected, 0);\r\n return;\r\n }\r\n\r\n iModelConnection.selectionSet.onChanged.removeListener(SyncUiEventDispatcher.selectionChangedHandler);\r\n iModelConnection.selectionSet.onChanged.addListener(SyncUiEventDispatcher.selectionChangedHandler);\r\n (iModelConnection.iModelId) ? UiFramework.setActiveIModelId(iModelConnection.iModelId) : /* istanbul ignore next */ \"\";\r\n\r\n // listen for changes from presentation rules selection manager (this is done once an iModelConnection is available to ensure Presentation.selection is valid)\r\n SyncUiEventDispatcher._unregisterListenerFunc = Presentation.selection.selectionChange.addListener((args: SelectionChangeEventArgs, provider: ISelectionProvider) => {\r\n // istanbul ignore if\r\n if (args.level !== 0) {\r\n // don't need to handle sub-selections\r\n return;\r\n }\r\n const selection = provider.getSelection(args.imodel, args.level);\r\n const numSelected = getInstancesCount(selection);\r\n UiFramework.dispatchActionToStore(SessionStateActionId.SetNumItemsSelected, numSelected);\r\n });\r\n\r\n try {\r\n Presentation.selection.scopes.getSelectionScopes(iModelConnection).then((availableScopes: SelectionScope[]) => { // eslint-disable-line @typescript-eslint/no-floating-promises\r\n // istanbul ignore else\r\n if (availableScopes) {\r\n const presentationScopes: PresentationSelectionScope[] = [];\r\n availableScopes.map((scope) => presentationScopes.push(scope));\r\n UiFramework.dispatchActionToStore(SessionStateActionId.SetAvailableSelectionScopes, presentationScopes);\r\n }\r\n });\r\n\r\n const activeSelectionScope = Presentation.selection.scopes.activeScope;\r\n if (activeSelectionScope) {\r\n if (typeof (activeSelectionScope) === \"object\") {\r\n UiFramework.dispatchActionToStore(SessionStateActionId.SetSelectionScope, activeSelectionScope.id);\r\n } else {\r\n UiFramework.dispatchActionToStore(SessionStateActionId.SetSelectionScope, activeSelectionScope);\r\n }\r\n }\r\n } catch { }\r\n\r\n }\r\n\r\n}\r\n"]}
|
|
1
|
+
{"version":3,"file":"SyncUiEventDispatcher.js","sourceRoot":"","sources":["../../../../src/appui-react/syncui/SyncUiEventDispatcher.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAe,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAoE,MAAM,sBAAsB,CAAC;AACnH,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,yJAAyJ;AACzJ,yJAAyJ;AACzJ,2JAA2J;AAC3J,wHAAwH;AACxH,6HAA6H;AAE7H;;GAEG;AACH,MAAM,CAAN,IAAY,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AO;SACR;QAED,gBAAgB,CAAC,YAAY,CAAC,SAAS,CAAC,cAAc,CAAC,qBAAqB,CAAC,uBAAuB,CAAC,CAAC;QACtG,gBAAgB,CAAC,YAAY,CAAC,SAAS,CAAC,WAAW,CAAC,qBAAqB,CAAC,uBAAuB,CAAC,CAAC;QACnG,gBAAgB,CAAC,QAAQ,IAAI,WAAW,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IACxF,CAAC;;AA/Ic,wCAAkB,GAAG,IAAI,iBAAiB,EAAE,CAAC;AAE7C,8CAAwB,GAAsB,EAAE,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 SyncUi\r\n */\r\n\r\nimport { UiEventDispatcher, UiSyncEvent } from \"@itwin/appui-abstract\";\r\nimport { Logger } from \"@itwin/core-bentley\";\r\nimport { IModelApp, IModelConnection, SelectedViewportChangedArgs, SelectionSetEvent } from \"@itwin/core-frontend\";\r\nimport { SessionStateActionId } from \"../redux/SessionState\";\r\nimport { UiFramework } from \"../UiFramework\";\r\n\r\n// cSpell:ignore activecontentchanged, activitymessageupdated, activitymessagecancelled, backstageevent, contentlayoutactivated, contentcontrolactivated,\r\n// cSpell:ignore elementtooltipchanged, frontstageactivated, inputfieldmessageadded, inputfieldmessageremoved, modalfrontstagechanged, modaldialogchanged\r\n// cSpell:ignore navigationaidactivated, notificationmessageadded, toolactivated, taskactivated, widgetstatechanged, workflowactivated frontstageactivating\r\n// cSpell:ignore frontstageready activeviewportchanged selectionsetchanged presentationselectionchanged viewstatechanged\r\n// cSpell:ignore accudrawcompassmodechanged accudrawfieldlockchanged accudrawrotationchanged uisettingschanged configurableui\r\n\r\n/** Event Id used to sync UI components. Used to refresh visibility or enable state of control.\r\n * @public\r\n */\r\nexport enum SyncUiEventId {\r\n /** AccuDraw compass mode has changed. */\r\n AccuDrawCompassModeChanged = \"accudrawcompassmodechanged\",\r\n /** AccuDraw rotation has changed. */\r\n AccuDrawRotationChanged = \"accudrawrotationchanged\",\r\n /** The active content as maintained by the ContentViewManager has changed. */\r\n ActiveContentChanged = \"activecontentchanged\",\r\n /** The active view maintained by the ViewManager has changed. */\r\n ActiveViewportChanged = \"activeviewportchanged\",\r\n /** Backstage has been toggled. */\r\n BackstageEvent = \"backstageevent\",\r\n /** A Content Layout has been activated. */\r\n ContentLayoutActivated = \"contentlayoutactivated\",\r\n /** A Content Control maintained by UiFramework.frontstages has been activated. */\r\n ContentControlActivated = \"contentcontrolactivated\",\r\n /** A Frontstage is activating. */\r\n FrontstageActivating = \"frontstageactivating\",\r\n /** A Frontstage has been activated and the content has been assigned. */\r\n FrontstageReady = \"frontstageready\",\r\n /** A Modal Frontstage has been opened or closed. */\r\n ModalFrontstageChanged = \"modalfrontstagechanged\",\r\n /** A Modal Dialog has been opened or closed. */\r\n ModalDialogChanged = \"modaldialogchanged\",\r\n /** A NavigationAid has been activated. */\r\n NavigationAidActivated = \"navigationaidactivated\",\r\n /** An InteractiveTool has been activated via the ToolAdmin. */\r\n ToolActivated = \"toolactivated\",\r\n /** The state of a Widget has changed. */\r\n WidgetStateChanged = \"widgetstatechanged\",\r\n /** The SelectionSet for the active IModelConnection has changed. */\r\n SelectionSetChanged = \"selectionsetchanged\",\r\n /** The list of settings providers registered with SettingsManager has changed. */\r\n SettingsProvidersChanged = \"settingsproviderschanged\",\r\n /** The current view state has changed (used by view undo/redo toolbar buttons). */\r\n ViewStateChanged = \"viewstatechanged\",\r\n /** The current object the reads and write UI State has changed. */\r\n UiStateStorageChanged = \"uistatestoragechanged\",\r\n ShowHideManagerSettingChange = \"show-hide-setting-change\",\r\n}\r\n\r\n/** This class is used to send eventIds to interested UI components so the component can determine if it needs\r\n * to refresh its display by calling setState on itself.\r\n * @public\r\n */\r\nexport class SyncUiEventDispatcher {\r\n private static _uiEventDispatcher = new UiEventDispatcher();\r\n private static _unregisterListenerFunc?: () => void;\r\n private static _unregisterListenerFuncs: Array<() => void> = [];\r\n\r\n /** @internal - used for testing only */\r\n /* istanbul ignore next */\r\n public static setTimeoutPeriod(period: number): void {\r\n SyncUiEventDispatcher._uiEventDispatcher.setTimeoutPeriod(period);\r\n }\r\n\r\n /** Return set of event ids that will be sent to listeners/. */\r\n public static get syncEventIds(): Set<string> {\r\n return SyncUiEventDispatcher._uiEventDispatcher.syncEventIds;\r\n }\r\n\r\n /** Return SyncUiEvent so callers can register an event callback. */\r\n public static get onSyncUiEvent(): UiSyncEvent {\r\n return SyncUiEventDispatcher._uiEventDispatcher.onSyncUiEvent;\r\n }\r\n\r\n /** Immediately trigger sync event processing. */\r\n public static dispatchImmediateSyncUiEvent(eventId: string): void {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchImmediateSyncUiEvent(eventId);\r\n }\r\n\r\n /** Save eventId in Set for processing. */\r\n public static dispatchSyncUiEvent(eventId: string): void {\r\n if (0 === SyncUiEventDispatcher._uiEventDispatcher.timeoutPeriod) {\r\n Logger.logInfo(UiFramework.loggerCategory(this), `[dispatchSyncUiEvent] not processed because timeoutPeriod=0`);\r\n return;\r\n }\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(eventId);\r\n }\r\n\r\n /** Save multiple eventIds in Set for processing. */\r\n public static dispatchSyncUiEvents(eventIds: string[]): void {\r\n // istanbul ignore if\r\n if (0 === SyncUiEventDispatcher._uiEventDispatcher.timeoutPeriod) {\r\n Logger.logInfo(UiFramework.loggerCategory(this), `[dispatchSyncUiEvents] not processed because _timeoutPeriod=0`);\r\n }\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvents(eventIds);\r\n }\r\n\r\n /** Checks to see if an eventId of interest is contained in the set of eventIds */\r\n public static hasEventOfInterest(eventIds: Set<string>, idsOfInterest: string[]) {\r\n return SyncUiEventDispatcher._uiEventDispatcher.hasEventOfInterest(eventIds, idsOfInterest);\r\n }\r\n\r\n // istanbul ignore next\r\n private static _dispatchViewChange() {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.ViewStateChanged);\r\n }\r\n\r\n /** Initializes the Monitoring of Events that trigger dispatching sync events */\r\n public static initialize() {\r\n // clear any registered listeners - this should only be encountered in unit test scenarios\r\n this._unregisterListenerFuncs.forEach((unregisterListenerFunc) => unregisterListenerFunc());\r\n\r\n this._unregisterListenerFuncs.push(UiFramework.frontstages.onContentControlActivatedEvent.addListener(() => {\r\n SyncUiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.ContentControlActivated);\r\n }));\r\n\r\n this._unregisterListenerFuncs.push(UiFramework.frontstages.onContentLayoutActivatedEvent.addListener(() => {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.ContentLayoutActivated);\r\n }));\r\n\r\n this._unregisterListenerFuncs.push(UiFramework.frontstages.onFrontstageActivatedEvent.addListener(() => {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.FrontstageActivating);\r\n }));\r\n\r\n this._unregisterListenerFuncs.push(UiFramework.frontstages.onFrontstageReadyEvent.addListener(() => {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.FrontstageReady);\r\n }));\r\n\r\n this._unregisterListenerFuncs.push(UiFramework.frontstages.onModalFrontstageChangedEvent.addListener(() => {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.ModalFrontstageChanged);\r\n }));\r\n\r\n this._unregisterListenerFuncs.push(UiFramework.frontstages.onNavigationAidActivatedEvent.addListener(() => {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.NavigationAidActivated);\r\n }));\r\n\r\n this._unregisterListenerFuncs.push(UiFramework.frontstages.onToolActivatedEvent.addListener(() => {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.ToolActivated);\r\n }));\r\n\r\n this._unregisterListenerFuncs.push(UiFramework.frontstages.onWidgetStateChangedEvent.addListener(() => {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.WidgetStateChanged);\r\n }));\r\n\r\n this._unregisterListenerFuncs.push(UiFramework.backstage.onToggled.addListener(() => {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.BackstageEvent);\r\n }));\r\n\r\n this._unregisterListenerFuncs.push(UiFramework.content.onActiveContentChangedEvent.addListener(() => {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.ActiveContentChanged);\r\n }));\r\n\r\n // istanbul ignore else\r\n if (IModelApp && IModelApp.viewManager) {\r\n this._unregisterListenerFuncs.push(IModelApp.viewManager.onSelectedViewportChanged.addListener((args: SelectedViewportChangedArgs) => {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.ActiveViewportChanged);\r\n\r\n // if this is the first view being opened up start the default tool so tool admin is happy.\r\n if (undefined === args.previous) {\r\n IModelApp.toolAdmin.startDefaultTool();// eslint-disable-line @typescript-eslint/no-floating-promises\r\n } else {\r\n // istanbul ignore next\r\n if (args.previous.onViewChanged && typeof args.previous.onViewChanged.removeListener === \"function\") // not set during unit test\r\n args.previous.onViewChanged.removeListener(SyncUiEventDispatcher._dispatchViewChange);\r\n }\r\n // istanbul ignore next\r\n if (args.current) {\r\n if (args.current.onViewChanged && typeof args.current.onViewChanged.addListener === \"function\") // not set during unit test\r\n args.current.onViewChanged.addListener(SyncUiEventDispatcher._dispatchViewChange);\r\n }\r\n }));\r\n }\r\n }\r\n\r\n private static selectionChangedHandler(_ev: SelectionSetEvent) {\r\n SyncUiEventDispatcher._uiEventDispatcher.dispatchSyncUiEvent(SyncUiEventId.SelectionSetChanged);\r\n }\r\n\r\n /** This should be called by IModelApp when the active IModelConnection is closed. */\r\n public static clearConnectionEvents(iModelConnection: IModelConnection) {\r\n iModelConnection.selectionSet.onChanged.removeListener(SyncUiEventDispatcher.selectionChangedHandler);\r\n SyncUiEventDispatcher._unregisterListenerFunc && SyncUiEventDispatcher._unregisterListenerFunc();\r\n }\r\n\r\n /** This should be called by IModelApp when the active IModelConnection is established. */\r\n public static initializeConnectionEvents(iModelConnection: IModelConnection) {\r\n if (SyncUiEventDispatcher._unregisterListenerFunc)\r\n SyncUiEventDispatcher._unregisterListenerFunc();\r\n\r\n if (iModelConnection.isBlankConnection() || !iModelConnection.isOpen) {\r\n UiFramework.dispatchActionToStore(SessionStateActionId.SetNumItemsSelected, 0);\r\n return;\r\n }\r\n\r\n iModelConnection.selectionSet.onChanged.removeListener(SyncUiEventDispatcher.selectionChangedHandler);\r\n iModelConnection.selectionSet.onChanged.addListener(SyncUiEventDispatcher.selectionChangedHandler);\r\n iModelConnection.iModelId && UiFramework.setActiveIModelId(iModelConnection.iModelId);\r\n }\r\n}\r\n"]}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
/** @packageDocumentation
|
|
2
2
|
* @module Item
|
|
3
3
|
*/
|
|
4
|
-
import
|
|
5
|
-
import { BadgeType, ConditionalStringValue, OnItemExecutedFunc, StringGetter } from "@itwin/appui-abstract";
|
|
6
|
-
import { CommonProps, IconSpec, SizeProps } from "@itwin/core-react";
|
|
7
|
-
import { Direction } from "@itwin/appui-layout-react";
|
|
4
|
+
import { ConditionalStringValue, OnItemExecutedFunc, StringGetter } from "@itwin/appui-abstract";
|
|
8
5
|
import { ActionButtonItemDef } from "../shared/ActionButtonItemDef";
|
|
9
6
|
import { AnyItemDef } from "../shared/AnyItemDef";
|
|
10
7
|
import { GroupItemProps } from "../shared/GroupItemProps";
|
|
11
|
-
import {
|
|
8
|
+
import { ItemDefBase } from "../shared/ItemDefBase";
|
|
12
9
|
/** An Item that opens a group of items.
|
|
13
10
|
* @public
|
|
14
11
|
*/
|
|
@@ -16,12 +13,8 @@ export declare class GroupItemDef extends ActionButtonItemDef {
|
|
|
16
13
|
private static _sId;
|
|
17
14
|
static groupIdPrefix: string;
|
|
18
15
|
groupId: string;
|
|
19
|
-
/** @deprecated in 3.6. Used in UI1.0 only. */
|
|
20
|
-
direction: Direction;
|
|
21
16
|
itemsInColumn: number;
|
|
22
17
|
items: AnyItemDef[];
|
|
23
|
-
/** @deprecated in 3.6. Used in UI1.0 only. */
|
|
24
|
-
directionExplicit: boolean;
|
|
25
18
|
defaultActiveItemId?: string;
|
|
26
19
|
/** @internal */
|
|
27
20
|
overflow: boolean;
|
|
@@ -41,89 +34,5 @@ export declare class GroupItemDef extends ActionButtonItemDef {
|
|
|
41
34
|
getItemByIndex(index: number): ItemDefBase | undefined;
|
|
42
35
|
get itemCount(): number;
|
|
43
36
|
execute(): void;
|
|
44
|
-
/** @deprecated in 3.6. Used in UI1.0 only. */
|
|
45
|
-
toolbarReactNode(index?: number): React.ReactNode;
|
|
46
37
|
}
|
|
47
|
-
interface ToolGroupItem {
|
|
48
|
-
iconSpec?: IconSpec;
|
|
49
|
-
label: string;
|
|
50
|
-
trayId?: string;
|
|
51
|
-
badgeType?: BadgeType;
|
|
52
|
-
}
|
|
53
|
-
interface ToolGroupTray {
|
|
54
|
-
title: string;
|
|
55
|
-
items: Map<string, ToolGroupItem>;
|
|
56
|
-
groupItemDef: GroupItemDef;
|
|
57
|
-
}
|
|
58
|
-
declare type ToolGroupTrayMap = Map<string, ToolGroupTray>;
|
|
59
|
-
interface GroupItemComponentProps extends CommonProps {
|
|
60
|
-
groupItemDef: GroupItemDef;
|
|
61
|
-
onSizeKnown?: (size: SizeProps) => void;
|
|
62
|
-
}
|
|
63
|
-
interface GroupItemState extends BaseItemState {
|
|
64
|
-
activeItemId: string;
|
|
65
|
-
activeToolId: string;
|
|
66
|
-
groupItemDef: GroupItemDef;
|
|
67
|
-
trayId: string;
|
|
68
|
-
backTrays: ReadonlyArray<string>;
|
|
69
|
-
trays: ToolGroupTrayMap;
|
|
70
|
-
}
|
|
71
|
-
/** Group Item React component.
|
|
72
|
-
* @internal
|
|
73
|
-
*/
|
|
74
|
-
export declare class GroupItem extends React.Component<GroupItemComponentProps, GroupItemState> {
|
|
75
|
-
/** @internal */
|
|
76
|
-
readonly state: Readonly<GroupItemState>;
|
|
77
|
-
private _componentUnmounting;
|
|
78
|
-
private _childSyncIds?;
|
|
79
|
-
private _childRefreshRequired;
|
|
80
|
-
private _trayIndex;
|
|
81
|
-
private _closeOnPanelOpened;
|
|
82
|
-
private _ref;
|
|
83
|
-
constructor(props: GroupItemComponentProps);
|
|
84
|
-
private _loadChildSyncIds;
|
|
85
|
-
private _handleSyncUiEvent;
|
|
86
|
-
componentDidMount(): void;
|
|
87
|
-
componentWillUnmount(): void;
|
|
88
|
-
shouldComponentUpdate(nextProps: GroupItemComponentProps, nextState: GroupItemState): boolean;
|
|
89
|
-
private getGroupItemState;
|
|
90
|
-
private resetTrayId;
|
|
91
|
-
private generateTrayId;
|
|
92
|
-
private processGroupItemDef;
|
|
93
|
-
componentDidUpdate(prevProps: GroupItemComponentProps, _prevState: GroupItemState): void;
|
|
94
|
-
private get _tray();
|
|
95
|
-
private getTray;
|
|
96
|
-
private _handleKeyDown;
|
|
97
|
-
render(): React.ReactNode;
|
|
98
|
-
private _handleOpenPanel;
|
|
99
|
-
private _handleClick;
|
|
100
|
-
private _handleDragInteractionClick;
|
|
101
|
-
private _handleOverflowClick;
|
|
102
|
-
private _handleDragInteractionOutsideClick;
|
|
103
|
-
private _handleOutsideClick;
|
|
104
|
-
private _handleToolActivatedEvent;
|
|
105
|
-
private _handleToolPanelOpenedEvent;
|
|
106
|
-
private closeGroupButton;
|
|
107
|
-
private handleToolGroupItemClicked;
|
|
108
|
-
private getGroupTray;
|
|
109
|
-
getItemById(id: string): ItemDefBase | undefined;
|
|
110
|
-
private _handleBack;
|
|
111
|
-
private _handleExpanderClick;
|
|
112
|
-
}
|
|
113
|
-
/** Properties for the [[GroupButton]] React component
|
|
114
|
-
* @deprecated in 3.5. Props of a deprecated component.
|
|
115
|
-
* @public
|
|
116
|
-
*/
|
|
117
|
-
export interface GroupButtonProps extends GroupItemProps, CommonProps {
|
|
118
|
-
}
|
|
119
|
-
/** Group Button React component
|
|
120
|
-
* @deprecated in 3.5. Use [GroupButton]($appui-abstract) instead.
|
|
121
|
-
* @public
|
|
122
|
-
*/
|
|
123
|
-
export declare function GroupButton(props: GroupButtonProps): JSX.Element;
|
|
124
|
-
/** @internal */
|
|
125
|
-
export declare const getFirstItem: (groupItemDef: GroupItemDef) => AnyItemDef | undefined;
|
|
126
|
-
/** @internal */
|
|
127
|
-
export declare const getFirstItemId: (groupItemDef: GroupItemDef) => string;
|
|
128
|
-
export {};
|
|
129
38
|
//# sourceMappingURL=GroupItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GroupItem.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/toolbar/GroupItem.tsx"],"names":[],"mappings":"AAIA;;GAEG;
|
|
1
|
+
{"version":3,"file":"GroupItem.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/toolbar/GroupItem.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACjG,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAQpD;;GAEG;AACH,qBAAa,YAAa,SAAQ,mBAAmB;IACnD,OAAO,CAAC,MAAM,CAAC,IAAI,CAAK;IACxB,OAAc,aAAa,SAAY;IAEhC,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAEpC,gBAAgB;IACT,QAAQ,EAAE,OAAO,CAAS;IAEjC,OAAO,CAAC,SAAS,CAAY;IAC7B,OAAO,CAAC,QAAQ,CAAW;IAC3B,OAAO,CAAC,WAAW,CAAsD;gBAE7D,cAAc,EAAE,cAAc,EAAE,cAAc,CAAC,EAAE,kBAAkB;IAiB/E,IAAW,EAAE,IAAI,MAAM,CAEtB;IAED,gCAAgC;IAChC,IAAW,UAAU,IAAI,MAAM,CAE9B;IAED;;OAEG;IACI,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,YAAY,GAAG,sBAAsB;IAI/D,YAAY,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI;IAcnC,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS;IAIhD,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS;IAI7D,IAAW,SAAS,IAAI,MAAM,CAE7B;IAEe,OAAO,IAAI,IAAI;CAEhC"}
|
|
@@ -5,27 +5,9 @@
|
|
|
5
5
|
/** @packageDocumentation
|
|
6
6
|
* @module Item
|
|
7
7
|
*/
|
|
8
|
-
import classnames from "classnames";
|
|
9
|
-
import * as React from "react";
|
|
10
|
-
import { Logger } from "@itwin/core-bentley";
|
|
11
|
-
import { SpecialKey } from "@itwin/appui-abstract";
|
|
12
|
-
import { BadgeUtilities, Icon, withOnOutsideClick } from "@itwin/core-react";
|
|
13
|
-
import { Direction, ExpandableItem, GroupColumn, GroupTool, GroupToolExpander, Item, NestedGroup as NestedToolGroupComponent, ToolbarDirectionContext, Group as ToolGroupComponent, withDragInteraction, } from "@itwin/appui-layout-react";
|
|
14
|
-
import { ToolGroupPanelContext } from "../frontstage/FrontstageComposer";
|
|
15
8
|
import { ActionButtonItemDef } from "../shared/ActionButtonItemDef";
|
|
16
|
-
import { ItemDefBase } from "../shared/ItemDefBase";
|
|
17
9
|
import { ItemList, ItemMap } from "../shared/ItemMap";
|
|
18
|
-
import { SyncUiEventDispatcher } from "../syncui/SyncUiEventDispatcher";
|
|
19
|
-
import { UiFramework } from "../UiFramework";
|
|
20
10
|
import { PropsHelper } from "../utils/PropsHelper";
|
|
21
|
-
import { ToolbarDragInteractionContext } from "./DragInteraction";
|
|
22
|
-
import { InternalFrontstageManager } from "../frontstage/InternalFrontstageManager";
|
|
23
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention, deprecation/deprecation
|
|
24
|
-
const ToolGroup = withOnOutsideClick(ToolGroupComponent, undefined, false);
|
|
25
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention, deprecation/deprecation
|
|
26
|
-
const NestedToolGroup = withOnOutsideClick(NestedToolGroupComponent, undefined, false);
|
|
27
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention, deprecation/deprecation
|
|
28
|
-
const ItemWithDragInteraction = withDragInteraction(Item);
|
|
29
11
|
// -----------------------------------------------------------------------------
|
|
30
12
|
// GroupItemDef class
|
|
31
13
|
// -----------------------------------------------------------------------------
|
|
@@ -45,10 +27,8 @@ export class GroupItemDef extends ActionButtonItemDef {
|
|
|
45
27
|
GroupItemDef._sId++;
|
|
46
28
|
this.groupId = GroupItemDef.groupIdPrefix + GroupItemDef._sId;
|
|
47
29
|
}
|
|
48
|
-
this.directionExplicit = (groupItemProps.direction !== undefined); // eslint-disable-line deprecation/deprecation
|
|
49
|
-
this.direction = (groupItemProps.direction !== undefined) ? groupItemProps.direction : Direction.Bottom; // eslint-disable-line deprecation/deprecation
|
|
50
30
|
this.itemsInColumn = (groupItemProps.itemsInColumn !== undefined) ? groupItemProps.itemsInColumn : 7;
|
|
51
|
-
this._panelLabel = PropsHelper.getStringSpec(groupItemProps.panelLabel, groupItemProps.panelLabelKey);
|
|
31
|
+
this._panelLabel = PropsHelper.getStringSpec(groupItemProps.panelLabel, groupItemProps.panelLabelKey);
|
|
52
32
|
this.items = groupItemProps.items;
|
|
53
33
|
this.defaultActiveItemId = groupItemProps.defaultActiveItemId;
|
|
54
34
|
}
|
|
@@ -87,373 +67,7 @@ export class GroupItemDef extends ActionButtonItemDef {
|
|
|
87
67
|
}
|
|
88
68
|
execute() {
|
|
89
69
|
}
|
|
90
|
-
/** @deprecated in 3.6. Used in UI1.0 only. */
|
|
91
|
-
toolbarReactNode(index) {
|
|
92
|
-
this.resolveItems();
|
|
93
|
-
const key = this.getKey(index);
|
|
94
|
-
return (React.createElement(GroupItem, { groupItemDef: this, key: key, onSizeKnown: this.handleSizeKnown }));
|
|
95
|
-
}
|
|
96
70
|
}
|
|
97
71
|
GroupItemDef._sId = 0;
|
|
98
72
|
GroupItemDef.groupIdPrefix = "Group-";
|
|
99
|
-
/** Group Item React component.
|
|
100
|
-
* @internal
|
|
101
|
-
*/
|
|
102
|
-
export class GroupItem extends React.Component {
|
|
103
|
-
constructor(props) {
|
|
104
|
-
super(props);
|
|
105
|
-
this._componentUnmounting = false;
|
|
106
|
-
this._childRefreshRequired = false;
|
|
107
|
-
this._trayIndex = 0;
|
|
108
|
-
this._closeOnPanelOpened = true;
|
|
109
|
-
this._ref = React.createRef();
|
|
110
|
-
this._handleSyncUiEvent = (args) => {
|
|
111
|
-
// istanbul ignore next
|
|
112
|
-
if (this._componentUnmounting)
|
|
113
|
-
return;
|
|
114
|
-
let refreshState = false;
|
|
115
|
-
// istanbul ignore else
|
|
116
|
-
if (this._childSyncIds && this._childSyncIds.size > 0)
|
|
117
|
-
if ([...this._childSyncIds].some((value) => args.eventIds.has(value.toLowerCase())))
|
|
118
|
-
this._childRefreshRequired = true; // this is cleared when render occurs
|
|
119
|
-
let newState = { ...this.state };
|
|
120
|
-
if (this.props.groupItemDef.stateSyncIds && this.props.groupItemDef.stateSyncIds.length > 0) // eslint-disable-line deprecation/deprecation
|
|
121
|
-
refreshState = this.props.groupItemDef.stateSyncIds.some((value) => args.eventIds.has(value.toLowerCase())); // eslint-disable-line deprecation/deprecation
|
|
122
|
-
if (refreshState || this._childRefreshRequired) {
|
|
123
|
-
if (this.props.groupItemDef.stateFunc) // eslint-disable-line deprecation/deprecation
|
|
124
|
-
newState = this.props.groupItemDef.stateFunc(newState); // eslint-disable-line deprecation/deprecation
|
|
125
|
-
// istanbul ignore else
|
|
126
|
-
if ((this.state.isActive !== newState.isActive) || (this.state.isEnabled !== newState.isEnabled) || (this.state.isVisible !== newState.isVisible)
|
|
127
|
-
|| this._childRefreshRequired) {
|
|
128
|
-
this.setState({ isActive: newState.isActive, isEnabled: newState.isEnabled, isVisible: newState.isVisible, isPressed: newState.isPressed });
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
};
|
|
132
|
-
this._handleKeyDown = (e) => {
|
|
133
|
-
// istanbul ignore else
|
|
134
|
-
if (e.key === SpecialKey.Escape) {
|
|
135
|
-
this.closeGroupButton();
|
|
136
|
-
UiFramework.keyboardShortcuts.setFocusToHome();
|
|
137
|
-
}
|
|
138
|
-
};
|
|
139
|
-
this._handleOpenPanel = () => {
|
|
140
|
-
this.setState({
|
|
141
|
-
isPressed: true,
|
|
142
|
-
});
|
|
143
|
-
this._closeOnPanelOpened = false;
|
|
144
|
-
InternalFrontstageManager.onToolPanelOpenedEvent.emit();
|
|
145
|
-
this._closeOnPanelOpened = true;
|
|
146
|
-
};
|
|
147
|
-
this._handleClick = () => {
|
|
148
|
-
this.setState((prevState) => ({
|
|
149
|
-
isPressed: !prevState.isPressed,
|
|
150
|
-
}));
|
|
151
|
-
};
|
|
152
|
-
this._handleDragInteractionClick = () => {
|
|
153
|
-
const activeItem = this.getItemById(this.state.activeItemId);
|
|
154
|
-
activeItem && activeItem instanceof ActionButtonItemDef && activeItem.execute();
|
|
155
|
-
};
|
|
156
|
-
this._handleOverflowClick = () => {
|
|
157
|
-
this.setState((prevState) => {
|
|
158
|
-
const isPressed = !prevState.isPressed;
|
|
159
|
-
return {
|
|
160
|
-
isPressed,
|
|
161
|
-
};
|
|
162
|
-
}, () => {
|
|
163
|
-
this._closeOnPanelOpened = false;
|
|
164
|
-
!!this.state.isPressed && InternalFrontstageManager.onToolPanelOpenedEvent.emit();
|
|
165
|
-
this._closeOnPanelOpened = true;
|
|
166
|
-
});
|
|
167
|
-
};
|
|
168
|
-
this._handleDragInteractionOutsideClick = (e) => {
|
|
169
|
-
if (this.props.groupItemDef.overflow) {
|
|
170
|
-
this._ref.current && (e.target instanceof Node) && !this._ref.current.contains(e.target) && this.closeGroupButton();
|
|
171
|
-
return;
|
|
172
|
-
}
|
|
173
|
-
this.closeGroupButton();
|
|
174
|
-
};
|
|
175
|
-
this._handleOutsideClick = (e) => {
|
|
176
|
-
this._ref.current && (e.target instanceof Node) && !this._ref.current.contains(e.target) && this.closeGroupButton();
|
|
177
|
-
};
|
|
178
|
-
this._handleToolActivatedEvent = ({ toolId }) => {
|
|
179
|
-
this.setState({
|
|
180
|
-
activeToolId: toolId,
|
|
181
|
-
});
|
|
182
|
-
};
|
|
183
|
-
this._handleToolPanelOpenedEvent = () => {
|
|
184
|
-
// istanbul ignore else
|
|
185
|
-
if (!this._closeOnPanelOpened)
|
|
186
|
-
return;
|
|
187
|
-
// istanbul ignore next
|
|
188
|
-
this.closeGroupButton();
|
|
189
|
-
};
|
|
190
|
-
this._handleBack = () => {
|
|
191
|
-
this.setState((prevState) => {
|
|
192
|
-
const trayId = prevState.backTrays.length > 0 ? prevState.backTrays[prevState.backTrays.length - 1] : prevState.trayId;
|
|
193
|
-
const backTrays = prevState.backTrays.slice(0, -1);
|
|
194
|
-
return {
|
|
195
|
-
trayId,
|
|
196
|
-
backTrays,
|
|
197
|
-
};
|
|
198
|
-
});
|
|
199
|
-
};
|
|
200
|
-
this._handleExpanderClick = (trayId) => {
|
|
201
|
-
this.setState((prevState) => {
|
|
202
|
-
return {
|
|
203
|
-
trayId,
|
|
204
|
-
backTrays: [...prevState.backTrays, prevState.trayId],
|
|
205
|
-
};
|
|
206
|
-
});
|
|
207
|
-
};
|
|
208
|
-
this._loadChildSyncIds(props);
|
|
209
|
-
const state = this.getGroupItemState(this.props);
|
|
210
|
-
const activeItemId = this.props.groupItemDef.defaultActiveItemId !== undefined ? this.props.groupItemDef.defaultActiveItemId : getFirstItemId(this.props.groupItemDef);
|
|
211
|
-
this.state = {
|
|
212
|
-
...state,
|
|
213
|
-
activeItemId,
|
|
214
|
-
};
|
|
215
|
-
}
|
|
216
|
-
_loadChildSyncIds(props) {
|
|
217
|
-
// istanbul ignore else
|
|
218
|
-
if (props.groupItemDef && props.groupItemDef.items.length > 0) {
|
|
219
|
-
props.groupItemDef.items.forEach((itemDef) => {
|
|
220
|
-
const item = itemDef;
|
|
221
|
-
if (item.stateSyncIds.length > 0) { // eslint-disable-line deprecation/deprecation
|
|
222
|
-
if (undefined === this._childSyncIds)
|
|
223
|
-
this._childSyncIds = new Set();
|
|
224
|
-
item.stateSyncIds.forEach((value) => this._childSyncIds.add(value)); // eslint-disable-line deprecation/deprecation
|
|
225
|
-
}
|
|
226
|
-
});
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
componentDidMount() {
|
|
230
|
-
SyncUiEventDispatcher.onSyncUiEvent.addListener(this._handleSyncUiEvent);
|
|
231
|
-
UiFramework.frontstages.onToolActivatedEvent.addListener(this._handleToolActivatedEvent);
|
|
232
|
-
InternalFrontstageManager.onToolPanelOpenedEvent.addListener(this._handleToolPanelOpenedEvent);
|
|
233
|
-
}
|
|
234
|
-
componentWillUnmount() {
|
|
235
|
-
this._componentUnmounting = true;
|
|
236
|
-
SyncUiEventDispatcher.onSyncUiEvent.removeListener(this._handleSyncUiEvent);
|
|
237
|
-
UiFramework.frontstages.onToolActivatedEvent.removeListener(this._handleToolActivatedEvent);
|
|
238
|
-
InternalFrontstageManager.onToolPanelOpenedEvent.removeListener(this._handleToolPanelOpenedEvent);
|
|
239
|
-
}
|
|
240
|
-
shouldComponentUpdate(nextProps, nextState) {
|
|
241
|
-
if (!PropsHelper.isShallowEqual(nextState, this.state))
|
|
242
|
-
return true;
|
|
243
|
-
if (!PropsHelper.isShallowEqual(nextProps, this.props))
|
|
244
|
-
return true;
|
|
245
|
-
// istanbul ignore else
|
|
246
|
-
if (this._childRefreshRequired) {
|
|
247
|
-
this._childRefreshRequired = false;
|
|
248
|
-
return true;
|
|
249
|
-
}
|
|
250
|
-
// istanbul ignore next
|
|
251
|
-
return false;
|
|
252
|
-
}
|
|
253
|
-
getGroupItemState(props) {
|
|
254
|
-
const groupItemDef = props.groupItemDef;
|
|
255
|
-
// Separate into trays
|
|
256
|
-
const trays = new Map();
|
|
257
|
-
const trayId = this.resetTrayId();
|
|
258
|
-
this.processGroupItemDef(groupItemDef, trayId, trays);
|
|
259
|
-
return {
|
|
260
|
-
activeToolId: UiFramework.frontstages.activeToolId,
|
|
261
|
-
groupItemDef,
|
|
262
|
-
isEnabled: groupItemDef.isEnabled,
|
|
263
|
-
isPressed: groupItemDef.isPressed,
|
|
264
|
-
isVisible: groupItemDef.isVisible,
|
|
265
|
-
trayId,
|
|
266
|
-
backTrays: [],
|
|
267
|
-
trays,
|
|
268
|
-
};
|
|
269
|
-
}
|
|
270
|
-
resetTrayId() {
|
|
271
|
-
this._trayIndex = 1;
|
|
272
|
-
return `tray-${this._trayIndex}`;
|
|
273
|
-
}
|
|
274
|
-
generateTrayId() {
|
|
275
|
-
return `tray-${this._trayIndex}`;
|
|
276
|
-
}
|
|
277
|
-
processGroupItemDef(groupItemDef, trayId, trays) {
|
|
278
|
-
// Separate into column items
|
|
279
|
-
const items = new Map();
|
|
280
|
-
for (let itemIndex = 0; itemIndex < groupItemDef.itemCount; itemIndex++) {
|
|
281
|
-
const item = groupItemDef.getItemByIndex(itemIndex);
|
|
282
|
-
if (item instanceof GroupItemDef) {
|
|
283
|
-
item.resolveItems();
|
|
284
|
-
this._trayIndex++;
|
|
285
|
-
const itemTrayId = this.generateTrayId();
|
|
286
|
-
const groupItem = {
|
|
287
|
-
iconSpec: item.iconSpec, label: item.label, trayId: itemTrayId,
|
|
288
|
-
badgeType: item.badgeType,
|
|
289
|
-
};
|
|
290
|
-
items.set(item.id, groupItem);
|
|
291
|
-
this.processGroupItemDef(item, itemTrayId, trays);
|
|
292
|
-
}
|
|
293
|
-
else {
|
|
294
|
-
items.set(item.id, item);
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
trays.set(trayId, {
|
|
298
|
-
items,
|
|
299
|
-
title: groupItemDef.panelLabel ? groupItemDef.panelLabel : groupItemDef.tooltip,
|
|
300
|
-
groupItemDef,
|
|
301
|
-
});
|
|
302
|
-
}
|
|
303
|
-
componentDidUpdate(prevProps, _prevState) {
|
|
304
|
-
if (this.props !== prevProps) {
|
|
305
|
-
// istanbul ignore next
|
|
306
|
-
if (this.props.groupItemDef !== prevProps.groupItemDef)
|
|
307
|
-
Logger.logTrace(UiFramework.loggerCategory(this), `Different GroupItemDef for same groupId of ${this.state.groupItemDef.groupId}`);
|
|
308
|
-
this.setState((_, props) => this.getGroupItemState(props));
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
get _tray() {
|
|
312
|
-
const tray = this.state.trays.get(this.state.trayId);
|
|
313
|
-
// istanbul ignore next
|
|
314
|
-
if (!tray)
|
|
315
|
-
throw new RangeError();
|
|
316
|
-
return tray;
|
|
317
|
-
}
|
|
318
|
-
getTray(trayId) {
|
|
319
|
-
const tray = this.state.trays.get(trayId);
|
|
320
|
-
// istanbul ignore next
|
|
321
|
-
if (!tray)
|
|
322
|
-
throw new RangeError();
|
|
323
|
-
return tray;
|
|
324
|
-
}
|
|
325
|
-
render() {
|
|
326
|
-
if (!this.state.isVisible)
|
|
327
|
-
return null;
|
|
328
|
-
const activeItem = this.getItemById(this.state.activeItemId);
|
|
329
|
-
if (!activeItem)
|
|
330
|
-
return null;
|
|
331
|
-
const { groupItemDef, className, ...props } = this.props;
|
|
332
|
-
const classNames = classnames(className, groupItemDef.overflow && "nz-toolbar-item-overflow");
|
|
333
|
-
const badge = BadgeUtilities.getComponentForBadgeType(groupItemDef.badgeType);
|
|
334
|
-
return (React.createElement(ToolbarDirectionContext.Consumer, null, (direction) => (React.createElement(ToolbarDragInteractionContext.Consumer, null, (dragInteraction) => (React.createElement(ExpandableItem // eslint-disable-line deprecation/deprecation
|
|
335
|
-
, { ...props, className: classNames, key: this.state.groupItemDef.id, panel: this.getGroupTray(dragInteraction) }, dragInteraction ?
|
|
336
|
-
(React.createElement("div", { ref: this._ref },
|
|
337
|
-
React.createElement(ItemWithDragInteraction, { badge: badge, className: groupItemDef.overflow ? "nz-ellipsis-icon" : undefined, direction: direction, icon: React.createElement(Icon, { iconSpec: groupItemDef.overflow ? "nz-ellipsis" : activeItem.iconSpec }), isActive: groupItemDef.overflow ? false : this.state.activeToolId === this.state.activeItemId, isDisabled: !this.state.isEnabled, onClick: groupItemDef.overflow ? this._handleOverflowClick : this._handleDragInteractionClick, onKeyDown: this._handleKeyDown, onOpenPanel: this._handleOpenPanel, onSizeKnown: this.props.onSizeKnown, title: groupItemDef.overflow ? groupItemDef.label : activeItem.label }))) :
|
|
338
|
-
(React.createElement("div", { ref: this._ref },
|
|
339
|
-
React.createElement(Item // eslint-disable-line deprecation/deprecation
|
|
340
|
-
, { badge: badge, className: groupItemDef.overflow ? "nz-ellipsis-icon" : undefined, icon: React.createElement(Icon, { iconSpec: groupItemDef.overflow ? "nz-ellipsis" : groupItemDef.iconSpec }), isDisabled: !this.state.isEnabled, onClick: this._handleClick, onKeyDown: this._handleKeyDown, onSizeKnown: this.props.onSizeKnown, title: this.state.groupItemDef.label })))))))));
|
|
341
|
-
}
|
|
342
|
-
closeGroupButton() {
|
|
343
|
-
const trayId = this.resetTrayId();
|
|
344
|
-
this.setState({
|
|
345
|
-
isPressed: false,
|
|
346
|
-
trayId,
|
|
347
|
-
backTrays: [],
|
|
348
|
-
});
|
|
349
|
-
}
|
|
350
|
-
handleToolGroupItemClicked(trayKey, itemKey) {
|
|
351
|
-
const trayId = this.resetTrayId();
|
|
352
|
-
this.setState({
|
|
353
|
-
activeItemId: itemKey,
|
|
354
|
-
isPressed: false,
|
|
355
|
-
trayId,
|
|
356
|
-
backTrays: [],
|
|
357
|
-
}, () => {
|
|
358
|
-
const tray = this.getTray(trayKey);
|
|
359
|
-
const childItem = tray.groupItemDef.getItemById(itemKey);
|
|
360
|
-
childItem && childItem instanceof ActionButtonItemDef && childItem.execute();
|
|
361
|
-
});
|
|
362
|
-
}
|
|
363
|
-
getGroupTray(dragInteraction) {
|
|
364
|
-
if (!this.state.isPressed)
|
|
365
|
-
return undefined;
|
|
366
|
-
return (React.createElement(ToolGroupPanelContext.Consumer, null, (activateOnPointerUp) => {
|
|
367
|
-
const tray = this._tray;
|
|
368
|
-
const itemsInColumn = tray.groupItemDef.itemsInColumn;
|
|
369
|
-
const items = [...tray.items.keys()];
|
|
370
|
-
activateOnPointerUp = activateOnPointerUp && dragInteraction;
|
|
371
|
-
// Divide items equally between columns.
|
|
372
|
-
const numberOfColumns = Math.ceil(items.length / itemsInColumn);
|
|
373
|
-
const numberItemsInColumn = Math.ceil(items.length / numberOfColumns);
|
|
374
|
-
const columnToItems = items.reduce((acc, item, index) => {
|
|
375
|
-
const columnIndex = Math.floor(index / numberItemsInColumn);
|
|
376
|
-
if (columnIndex >= acc.length) {
|
|
377
|
-
return [
|
|
378
|
-
...acc,
|
|
379
|
-
[item],
|
|
380
|
-
];
|
|
381
|
-
}
|
|
382
|
-
return [
|
|
383
|
-
...acc.slice(0, columnIndex),
|
|
384
|
-
[
|
|
385
|
-
...acc[columnIndex],
|
|
386
|
-
item,
|
|
387
|
-
],
|
|
388
|
-
...acc.slice(columnIndex + 1),
|
|
389
|
-
];
|
|
390
|
-
}, []);
|
|
391
|
-
const columns = (columnToItems.map((columnItems, columnIndex) => React.createElement(GroupColumn, { key: columnIndex },
|
|
392
|
-
" ",
|
|
393
|
-
columnItems.map((itemKey) => {
|
|
394
|
-
const item = tray.items.get(itemKey);
|
|
395
|
-
const icon = React.createElement(Icon, { iconSpec: item.iconSpec });
|
|
396
|
-
let isVisible = true;
|
|
397
|
-
let isActive = itemKey === this.state.activeToolId;
|
|
398
|
-
let isEnabled = true;
|
|
399
|
-
const badge = BadgeUtilities.getComponentForBadgeType(item.badgeType);
|
|
400
|
-
if (item instanceof ItemDefBase) {
|
|
401
|
-
isVisible = item.isVisible; // eslint-disable-line deprecation/deprecation
|
|
402
|
-
isEnabled = item.isEnabled; // eslint-disable-line deprecation/deprecation
|
|
403
|
-
if (item.stateFunc) { // eslint-disable-line deprecation/deprecation
|
|
404
|
-
const newState = item.stateFunc({ isVisible, isActive, isEnabled }); // eslint-disable-line deprecation/deprecation
|
|
405
|
-
isVisible = undefined !== newState.isVisible ? newState.isVisible : /* istanbul ignore next */ isVisible;
|
|
406
|
-
isEnabled = undefined !== newState.isEnabled ? newState.isEnabled : /* istanbul ignore next */ isEnabled;
|
|
407
|
-
isActive = undefined !== newState.isActive ? newState.isActive : /* istanbul ignore next */ isActive;
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
const trayId = item.trayId;
|
|
411
|
-
if (trayId) {
|
|
412
|
-
return (isVisible &&
|
|
413
|
-
React.createElement(GroupToolExpander, { isDisabled: !isEnabled, key: itemKey, label: item.label, icon: icon, badge: badge, onClick: () => this._handleExpanderClick(trayId), onPointerUp: activateOnPointerUp ? () => this._handleExpanderClick(trayId) : undefined }));
|
|
414
|
-
}
|
|
415
|
-
return (isVisible &&
|
|
416
|
-
React.createElement(GroupTool, { isDisabled: !isEnabled, isActive: isActive, key: itemKey, label: item.label, onClick: () => this.handleToolGroupItemClicked(this.state.trayId, itemKey), onPointerUp: activateOnPointerUp ? () => this.handleToolGroupItemClicked(this.state.trayId, itemKey) : undefined, icon: icon, badge: badge }));
|
|
417
|
-
}))));
|
|
418
|
-
if (this.state.backTrays.length > 0)
|
|
419
|
-
return (React.createElement(NestedToolGroup, { columns: columns, onBack: this._handleBack, onBackPointerUp: activateOnPointerUp ? this._handleBack : undefined, onOutsideClick: dragInteraction ? this._handleDragInteractionOutsideClick : this._handleOutsideClick, title: tray.title }));
|
|
420
|
-
return (React.createElement(ToolGroup, { columns: columns, onOutsideClick: dragInteraction ? this._handleDragInteractionOutsideClick : this._handleOutsideClick, title: tray.title }));
|
|
421
|
-
}));
|
|
422
|
-
}
|
|
423
|
-
getItemById(id) {
|
|
424
|
-
for (const [, tray] of this.state.trays) {
|
|
425
|
-
const item = tray.groupItemDef.getItemById(id);
|
|
426
|
-
if (item)
|
|
427
|
-
return item;
|
|
428
|
-
}
|
|
429
|
-
return undefined;
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
/** Group Button React component
|
|
433
|
-
* @deprecated in 3.5. Use [GroupButton]($appui-abstract) instead.
|
|
434
|
-
* @public
|
|
435
|
-
*/
|
|
436
|
-
export function GroupButton(props) {
|
|
437
|
-
const groupItemDef = new GroupItemDef(props);
|
|
438
|
-
groupItemDef.resolveItems();
|
|
439
|
-
return (React.createElement(GroupItem, { ...props, groupItemDef: groupItemDef, key: groupItemDef.id }));
|
|
440
|
-
}
|
|
441
|
-
/** @internal */
|
|
442
|
-
export const getFirstItem = (groupItemDef) => {
|
|
443
|
-
for (const item of groupItemDef.items) {
|
|
444
|
-
if (item instanceof GroupItemDef) {
|
|
445
|
-
const firstItem = getFirstItem(item);
|
|
446
|
-
if (firstItem)
|
|
447
|
-
return firstItem;
|
|
448
|
-
continue;
|
|
449
|
-
}
|
|
450
|
-
return item;
|
|
451
|
-
}
|
|
452
|
-
return undefined;
|
|
453
|
-
};
|
|
454
|
-
/** @internal */
|
|
455
|
-
export const getFirstItemId = (groupItemDef) => {
|
|
456
|
-
const item = getFirstItem(groupItemDef);
|
|
457
|
-
return item ? item.id : "";
|
|
458
|
-
};
|
|
459
73
|
//# sourceMappingURL=GroupItem.js.map
|