@itwin/appui-react 3.0.0-extension.0 → 3.1.0-dev.11
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 +80 -1
- package/LICENSE.md +1 -1
- package/README.md +3 -3
- package/lib/cjs/appui-react/UiFramework.d.ts +37 -22
- package/lib/cjs/appui-react/UiFramework.d.ts.map +1 -1
- package/lib/cjs/appui-react/UiFramework.js +53 -38
- package/lib/cjs/appui-react/UiFramework.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.d.ts +3 -3
- package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.d.ts.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.js +3 -3
- package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawInputField.js +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawInputField.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/Calculator.js +1 -1
- package/lib/cjs/appui-react/accudraw/Calculator.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.d.ts +4 -4
- package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.d.ts.map +1 -1
- package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.js +5 -4
- package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.js.map +1 -1
- package/lib/cjs/appui-react/backstage/Backstage.d.ts +0 -4
- package/lib/cjs/appui-react/backstage/Backstage.d.ts.map +1 -1
- package/lib/cjs/appui-react/backstage/Backstage.js +0 -1
- package/lib/cjs/appui-react/backstage/Backstage.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts +2 -0
- package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposer.js +26 -8
- package/lib/cjs/appui-react/backstage/BackstageComposer.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposerItem.d.ts +2 -2
- package/lib/cjs/appui-react/backstage/BackstageComposerItem.js +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposerItem.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageItemProps.d.ts +3 -3
- package/lib/cjs/appui-react/backstage/BackstageItemProps.js +1 -1
- package/lib/cjs/appui-react/backstage/BackstageItemProps.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageItemUtilities.d.ts +5 -5
- package/lib/cjs/appui-react/backstage/BackstageItemUtilities.js +3 -3
- package/lib/cjs/appui-react/backstage/BackstageItemUtilities.js.map +1 -1
- package/lib/cjs/appui-react/backstage/CommandLaunch.d.ts +2 -0
- package/lib/cjs/appui-react/backstage/CommandLaunch.d.ts.map +1 -1
- package/lib/cjs/appui-react/backstage/CommandLaunch.js +1 -0
- package/lib/cjs/appui-react/backstage/CommandLaunch.js.map +1 -1
- package/lib/cjs/appui-react/backstage/FrontstageLaunch.d.ts +4 -0
- package/lib/cjs/appui-react/backstage/FrontstageLaunch.d.ts.map +1 -1
- package/lib/cjs/appui-react/backstage/FrontstageLaunch.js +5 -6
- package/lib/cjs/appui-react/backstage/FrontstageLaunch.js.map +1 -1
- package/lib/cjs/appui-react/backstage/Separator.d.ts +1 -0
- package/lib/cjs/appui-react/backstage/Separator.d.ts.map +1 -1
- package/lib/cjs/appui-react/backstage/Separator.js +3 -2
- package/lib/cjs/appui-react/backstage/Separator.js.map +1 -1
- package/lib/cjs/appui-react/childwindow/ChildWindowManager.d.ts +1 -1
- package/lib/cjs/appui-react/childwindow/ChildWindowManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/childwindow/ChildWindowManager.js +4 -5
- package/lib/cjs/appui-react/childwindow/ChildWindowManager.js.map +1 -1
- package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
- package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js +2 -0
- package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
- package/lib/cjs/appui-react/configurableui/ConfigurableUiManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/configurableui/ConfigurableUiManager.js +6 -1
- package/lib/cjs/appui-react/configurableui/ConfigurableUiManager.js.map +1 -1
- package/lib/cjs/appui-react/configurableui/state.d.ts +10 -3
- package/lib/cjs/appui-react/configurableui/state.d.ts.map +1 -1
- package/lib/cjs/appui-react/configurableui/state.js +15 -2
- package/lib/cjs/appui-react/configurableui/state.js.map +1 -1
- package/lib/cjs/appui-react/content/ContentControl.d.ts +7 -1
- package/lib/cjs/appui-react/content/ContentControl.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/ContentControl.js +13 -3
- package/lib/cjs/appui-react/content/ContentControl.js.map +1 -1
- package/lib/cjs/appui-react/content/ContentLayout.d.ts +10 -2
- package/lib/cjs/appui-react/content/ContentLayout.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/ContentLayout.js +47 -39
- package/lib/cjs/appui-react/content/ContentLayout.js.map +1 -1
- package/lib/cjs/appui-react/content/ContentLayout.scss +27 -27
- package/lib/cjs/appui-react/content/ContentViewManager.d.ts +8 -1
- package/lib/cjs/appui-react/content/ContentViewManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/ContentViewManager.js +49 -25
- package/lib/cjs/appui-react/content/ContentViewManager.js.map +1 -1
- package/lib/cjs/appui-react/content/FloatingViewportContent.css +9 -0
- package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts +25 -0
- package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts.map +1 -0
- package/lib/cjs/appui-react/content/FloatingViewportContent.js +73 -0
- package/lib/cjs/appui-react/content/FloatingViewportContent.js.map +1 -0
- package/lib/cjs/appui-react/content/IModelViewport.d.ts +13 -1
- package/lib/cjs/appui-react/content/IModelViewport.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/IModelViewport.js +18 -5
- package/lib/cjs/appui-react/content/IModelViewport.js.map +1 -1
- package/lib/cjs/appui-react/content/{SavedViewLayout.d.ts → StageContentLayout.d.ts} +11 -11
- package/lib/cjs/appui-react/content/StageContentLayout.d.ts.map +1 -0
- package/lib/cjs/appui-react/content/{SavedViewLayout.js → StageContentLayout.js} +19 -17
- package/lib/cjs/appui-react/content/StageContentLayout.js.map +1 -0
- package/lib/cjs/appui-react/content/{SavedView.d.ts → ViewStateHelper.d.ts} +7 -7
- package/lib/cjs/appui-react/content/ViewStateHelper.d.ts.map +1 -0
- package/lib/cjs/appui-react/content/{SavedView.js → ViewStateHelper.js} +4 -4
- package/lib/cjs/appui-react/content/ViewStateHelper.js.map +1 -0
- package/lib/cjs/appui-react/content/ViewportContentControl.d.ts +9 -0
- package/lib/cjs/appui-react/content/ViewportContentControl.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/ViewportContentControl.js +24 -1
- package/lib/cjs/appui-react/content/ViewportContentControl.js.map +1 -1
- package/lib/cjs/appui-react/content/split-pane/Pane.d.ts +21 -0
- package/lib/cjs/appui-react/content/split-pane/Pane.d.ts.map +1 -0
- package/lib/cjs/appui-react/content/split-pane/Pane.js +43 -0
- package/lib/cjs/appui-react/content/split-pane/Pane.js.map +1 -0
- package/lib/cjs/appui-react/content/split-pane/Resizer.d.ts +23 -0
- package/lib/cjs/appui-react/content/split-pane/Resizer.d.ts.map +1 -0
- package/lib/cjs/appui-react/content/split-pane/Resizer.js +39 -0
- package/lib/cjs/appui-react/content/split-pane/Resizer.js.map +1 -0
- package/lib/cjs/appui-react/content/split-pane/SplitPane.d.ts +70 -0
- package/lib/cjs/appui-react/content/split-pane/SplitPane.d.ts.map +1 -0
- package/lib/cjs/appui-react/content/split-pane/SplitPane.js +243 -0
- package/lib/cjs/appui-react/content/split-pane/SplitPane.js.map +1 -0
- package/lib/cjs/appui-react/cursor/CursorInformation.d.ts +1 -2
- package/lib/cjs/appui-react/cursor/CursorInformation.d.ts.map +1 -1
- package/lib/cjs/appui-react/cursor/CursorInformation.js +1 -1
- package/lib/cjs/appui-react/cursor/CursorInformation.js.map +1 -1
- package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.d.ts.map +1 -1
- package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts +2 -2
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.js +3 -3
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
- package/lib/cjs/appui-react/dialog/ContentDialog.d.ts +24 -0
- package/lib/cjs/appui-react/dialog/ContentDialog.d.ts.map +1 -0
- package/lib/cjs/appui-react/dialog/ContentDialog.js +72 -0
- package/lib/cjs/appui-react/dialog/ContentDialog.js.map +1 -0
- package/lib/cjs/appui-react/dialog/ContentDialog.scss +25 -0
- package/lib/cjs/appui-react/dialog/ContentDialogManager.d.ts +65 -0
- package/lib/cjs/appui-react/dialog/ContentDialogManager.d.ts.map +1 -0
- package/lib/cjs/appui-react/dialog/ContentDialogManager.js +148 -0
- package/lib/cjs/appui-react/dialog/ContentDialogManager.js.map +1 -0
- package/lib/cjs/appui-react/dialog/DialogManagerBase.d.ts +1 -1
- package/lib/cjs/appui-react/dialog/DialogManagerBase.d.ts.map +1 -1
- package/lib/cjs/appui-react/dialog/DialogManagerBase.js +2 -2
- package/lib/cjs/appui-react/dialog/DialogManagerBase.js.map +1 -1
- package/lib/cjs/appui-react/dialog/StandardMessageBox.d.ts.map +1 -1
- package/lib/cjs/appui-react/dialog/StandardMessageBox.js +3 -0
- package/lib/cjs/appui-react/dialog/StandardMessageBox.js.map +1 -1
- package/lib/cjs/appui-react/dragdrop/ZoneTargets.d.ts.map +1 -1
- package/lib/cjs/appui-react/dragdrop/ZoneTargets.js +8 -4
- package/lib/cjs/appui-react/dragdrop/ZoneTargets.js.map +1 -1
- package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts +2 -2
- package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
- package/lib/cjs/appui-react/feedback/ElementTooltip.js +4 -2
- package/lib/cjs/appui-react/feedback/ElementTooltip.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/Frontstage.d.ts +1 -0
- package/lib/cjs/appui-react/frontstage/Frontstage.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/Frontstage.js +32 -13
- package/lib/cjs/appui-react/frontstage/Frontstage.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageComposer.d.ts +3 -0
- package/lib/cjs/appui-react/frontstage/FrontstageComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageComposer.js +15 -1
- package/lib/cjs/appui-react/frontstage/FrontstageComposer.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts +19 -2
- package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageDef.js +168 -6
- package/lib/cjs/appui-react/frontstage/FrontstageDef.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageManager.js +2 -1
- package/lib/cjs/appui-react/frontstage/FrontstageManager.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts +6 -0
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useActiveIModelConnection.d.ts.map +1 -1
- package/lib/cjs/appui-react/hooks/useActiveIModelConnection.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useActiveViewport.d.ts.map +1 -1
- package/lib/cjs/appui-react/hooks/useActiveViewport.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useFrameworkVersion.d.ts +12 -9
- package/lib/cjs/appui-react/hooks/useFrameworkVersion.d.ts.map +1 -1
- package/lib/cjs/appui-react/hooks/useFrameworkVersion.js +19 -21
- package/lib/cjs/appui-react/hooks/useFrameworkVersion.js.map +1 -1
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeEventHandler.d.ts +1 -1
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeEventHandler.d.ts.map +1 -1
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeEventHandler.js +6 -7
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeEventHandler.js.map +1 -1
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.d.ts +3 -3
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.d.ts.map +1 -1
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.js +1 -1
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.js.map +1 -1
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTree.d.ts +0 -5
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTree.d.ts.map +1 -1
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTree.js.map +1 -1
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.d.ts +1 -1
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.d.ts.map +1 -1
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.js +81 -68
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.js.map +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.d.ts.map +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.js.map +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts +2 -1
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts.map +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.js +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
- package/lib/cjs/appui-react/keyinbrowser/KeyinBrowser.d.ts +5 -5
- package/lib/cjs/appui-react/keyinbrowser/KeyinBrowser.d.ts.map +1 -1
- package/lib/cjs/appui-react/keyinbrowser/KeyinBrowser.js +3 -2
- package/lib/cjs/appui-react/keyinbrowser/KeyinBrowser.js.map +1 -1
- package/lib/cjs/appui-react/messages/AppNotificationManager.d.ts +1 -1
- package/lib/cjs/appui-react/messages/AppNotificationManager.js +1 -1
- package/lib/cjs/appui-react/messages/AppNotificationManager.js.map +1 -1
- package/lib/cjs/appui-react/messages/MessageManager.d.ts +1 -2
- package/lib/cjs/appui-react/messages/MessageManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/messages/MessageManager.js +15 -9
- package/lib/cjs/appui-react/messages/MessageManager.js.map +1 -1
- package/lib/cjs/appui-react/messages/Pointer.d.ts +2 -2
- package/lib/cjs/appui-react/messages/Pointer.d.ts.map +1 -1
- package/lib/cjs/appui-react/messages/Pointer.js +4 -3
- package/lib/cjs/appui-react/messages/Pointer.js.map +1 -1
- package/lib/cjs/appui-react/messages/ToastMessage.js +2 -1
- package/lib/cjs/appui-react/messages/ToastMessage.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/NavigationAidControl.d.ts +1 -1
- package/lib/cjs/appui-react/navigationaids/NavigationAidControl.d.ts.map +1 -1
- package/lib/cjs/appui-react/navigationaids/NavigationAidControl.js +2 -2
- package/lib/cjs/appui-react/navigationaids/NavigationAidControl.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.d.ts +2 -1
- package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.d.ts.map +1 -1
- package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.js +2 -1
- package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js +6 -4
- package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
- package/lib/cjs/appui-react/pickers/ListPicker.d.ts +3 -0
- package/lib/cjs/appui-react/pickers/ListPicker.d.ts.map +1 -1
- package/lib/cjs/appui-react/pickers/ListPicker.js +24 -9
- package/lib/cjs/appui-react/pickers/ListPicker.js.map +1 -1
- package/lib/cjs/appui-react/pickers/ViewSelector.d.ts +1 -1
- package/lib/cjs/appui-react/pickers/ViewSelector.d.ts.map +1 -1
- package/lib/cjs/appui-react/pickers/ViewSelector.js +9 -9
- package/lib/cjs/appui-react/pickers/ViewSelector.js.map +1 -1
- package/lib/cjs/appui-react/popup/CardPopup.d.ts +7 -4
- package/lib/cjs/appui-react/popup/CardPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/CardPopup.js +3 -2
- package/lib/cjs/appui-react/popup/CardPopup.js.map +1 -1
- package/lib/cjs/appui-react/popup/CardPopup.scss +3 -1
- package/lib/cjs/appui-react/popup/InputEditorPopup.d.ts +3 -2
- package/lib/cjs/appui-react/popup/InputEditorPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/InputEditorPopup.js +1 -1
- package/lib/cjs/appui-react/popup/InputEditorPopup.js.map +1 -1
- package/lib/cjs/appui-react/popup/KeyinPalettePanel.js +6 -6
- package/lib/cjs/appui-react/popup/KeyinPalettePanel.js.map +1 -1
- package/lib/cjs/appui-react/popup/KeyinPalettePopup.d.ts +3 -2
- package/lib/cjs/appui-react/popup/KeyinPalettePopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/KeyinPalettePopup.js +1 -1
- package/lib/cjs/appui-react/popup/KeyinPalettePopup.js.map +1 -1
- package/lib/cjs/appui-react/popup/PopupManager.d.ts +10 -10
- package/lib/cjs/appui-react/popup/PopupManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/PopupManager.js +4 -4
- package/lib/cjs/appui-react/popup/PopupManager.js.map +1 -1
- package/lib/cjs/appui-react/popup/PositionPopup.d.ts +5 -3
- package/lib/cjs/appui-react/popup/PositionPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/PositionPopup.js +3 -2
- package/lib/cjs/appui-react/popup/PositionPopup.js.map +1 -1
- package/lib/cjs/appui-react/popup/ToolSettingsPopup.d.ts +3 -2
- package/lib/cjs/appui-react/popup/ToolSettingsPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/ToolSettingsPopup.js +1 -1
- package/lib/cjs/appui-react/popup/ToolSettingsPopup.js.map +1 -1
- package/lib/cjs/appui-react/popup/ToolbarPopup.d.ts +4 -3
- package/lib/cjs/appui-react/popup/ToolbarPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/ToolbarPopup.js +2 -2
- package/lib/cjs/appui-react/popup/ToolbarPopup.js.map +1 -1
- package/lib/cjs/appui-react/redux/FrameworkState.d.ts +1 -1
- package/lib/cjs/appui-react/redux/SessionState.d.ts +0 -6
- package/lib/cjs/appui-react/redux/SessionState.d.ts.map +1 -1
- package/lib/cjs/appui-react/redux/SessionState.js +0 -8
- package/lib/cjs/appui-react/redux/SessionState.js.map +1 -1
- package/lib/cjs/appui-react/redux/StateManager.d.ts +1 -1
- package/lib/cjs/appui-react/redux/StateManager.js.map +1 -1
- package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.js +7 -7
- package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
- package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts.map +1 -1
- package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.js +1 -1
- package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.js.map +1 -1
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js +28 -19
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
- package/lib/cjs/appui-react/shared/CustomItemDef.js.map +1 -1
- package/lib/cjs/appui-react/shared/CustomItemProps.js.map +1 -1
- package/lib/cjs/appui-react/shared/GroupItemProps.js.map +1 -1
- package/lib/cjs/appui-react/shared/ItemDefBase.d.ts +2 -2
- package/lib/cjs/appui-react/shared/ItemDefBase.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/ItemDefBase.js +1 -1
- package/lib/cjs/appui-react/shared/ItemDefBase.js.map +1 -1
- package/lib/cjs/appui-react/shared/ItemProps.d.ts +2 -2
- package/lib/cjs/appui-react/shared/ItemProps.js.map +1 -1
- package/lib/cjs/appui-react/shared/ToolItemDef.d.ts +1 -1
- package/lib/cjs/appui-react/shared/ToolItemDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/ToolItemDef.js +2 -2
- package/lib/cjs/appui-react/shared/ToolItemDef.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/FrameworkStagePanel.d.ts.map +1 -1
- package/lib/cjs/appui-react/stagepanels/FrameworkStagePanel.js +1 -0
- package/lib/cjs/appui-react/stagepanels/FrameworkStagePanel.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanel.d.ts +2 -2
- package/lib/cjs/appui-react/stagepanels/StagePanel.d.ts.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanel.js +1 -0
- package/lib/cjs/appui-react/stagepanels/StagePanel.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts +26 -2
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.js +24 -3
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelHeader.d.ts +2 -2
- package/lib/cjs/appui-react/stagepanels/StagePanelHeader.d.ts.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelHeader.js +2 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelHeader.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBar.js +2 -1
- 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 +17 -5
- package/lib/cjs/appui-react/statusbar/StatusBarComposer.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.d.ts +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.js +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/Indicator.d.ts +15 -14
- package/lib/cjs/appui-react/statusfields/Indicator.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/Indicator.js +23 -21
- package/lib/cjs/appui-react/statusfields/Indicator.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/Indicator.scss +29 -18
- package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/MessageCenter.js +2 -1
- package/lib/cjs/appui-react/statusfields/MessageCenter.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts +1 -0
- package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionScope.js +6 -4
- package/lib/cjs/appui-react/statusfields/SelectionScope.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionScope.scss +13 -3
- package/lib/cjs/appui-react/statusfields/SnapMode.d.ts +2 -10
- package/lib/cjs/appui-react/statusfields/SnapMode.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/SnapMode.js +4 -34
- package/lib/cjs/appui-react/statusfields/SnapMode.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts +0 -6
- package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/ViewAttributes.js +1 -25
- package/lib/cjs/appui-react/statusfields/ViewAttributes.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +7 -7
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js +13 -12
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.scss +8 -3
- package/lib/cjs/appui-react/syncui/BooleanListener.d.ts +2 -2
- package/lib/cjs/appui-react/syncui/BooleanListener.d.ts.map +1 -1
- package/lib/cjs/appui-react/syncui/BooleanListener.js +2 -1
- package/lib/cjs/appui-react/syncui/BooleanListener.js.map +1 -1
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts +8 -18
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js +30 -103
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/ActionButtonItem.js +2 -1
- package/lib/cjs/appui-react/toolbar/ActionButtonItem.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/ActionItemButton.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolbar/ActionItemButton.js +2 -1
- package/lib/cjs/appui-react/toolbar/ActionItemButton.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/GroupButtonItem.js +24 -20
- package/lib/cjs/appui-react/toolbar/GroupButtonItem.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/GroupItem.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolbar/GroupItem.js +33 -29
- package/lib/cjs/appui-react/toolbar/GroupItem.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolButton.js +3 -2
- package/lib/cjs/appui-react/toolbar/ToolButton.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/Toolbar.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolbar/Toolbar.js +3 -2
- package/lib/cjs/appui-react/toolbar/Toolbar.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarComposer.js +22 -20
- package/lib/cjs/appui-react/toolbar/ToolbarComposer.js.map +1 -1
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.d.ts +1 -1
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.js +4 -4
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.js.map +1 -1
- package/lib/cjs/appui-react/tools/MarkupToolDefinitions.d.ts +2 -2
- package/lib/cjs/appui-react/tools/MarkupToolDefinitions.js +2 -2
- package/lib/cjs/appui-react/tools/MarkupToolDefinitions.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts +8 -10
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js +17 -36
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts +7 -9
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.js +12 -20
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts +7 -9
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js +39 -50
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.scss +4 -4
- package/lib/{esm/appui-react/uisettings → cjs/appui-react/uistate}/AppUiSettings.d.ts +11 -9
- package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts.map +1 -0
- package/lib/cjs/appui-react/{uisettings → uistate}/AppUiSettings.js +12 -8
- package/lib/cjs/appui-react/uistate/AppUiSettings.js.map +1 -0
- package/lib/cjs/appui-react/uistate/UserSettingsStorage.d.ts +15 -0
- package/lib/cjs/appui-react/uistate/UserSettingsStorage.d.ts.map +1 -0
- package/lib/cjs/appui-react/uistate/UserSettingsStorage.js +59 -0
- package/lib/cjs/appui-react/uistate/UserSettingsStorage.js.map +1 -0
- package/lib/cjs/appui-react/uistate/useUiStateStorage.d.ts +20 -0
- package/lib/cjs/appui-react/uistate/useUiStateStorage.d.ts.map +1 -0
- package/lib/cjs/appui-react/uistate/useUiStateStorage.js +38 -0
- package/lib/cjs/appui-react/uistate/useUiStateStorage.js.map +1 -0
- package/lib/cjs/appui-react/utils/UiShowHideManager.d.ts +5 -5
- package/lib/cjs/appui-react/utils/UiShowHideManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/utils/UiShowHideManager.js +8 -8
- package/lib/cjs/appui-react/utils/UiShowHideManager.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 +1 -4
- package/lib/cjs/appui-react/widget-panels/Content.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts +98 -8
- package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Frontstage.js +92 -97
- package/lib/cjs/appui-react/widget-panels/Frontstage.js.map +1 -1
- package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts +22 -0
- package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts.map +1 -0
- package/lib/cjs/appui-react/widgets/BackstageAppButton.js +56 -0
- package/lib/cjs/appui-react/widgets/BackstageAppButton.js.map +1 -0
- package/lib/cjs/appui-react/widgets/BasicNavigationWidget.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/BasicNavigationWidget.js +1 -0
- package/lib/cjs/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
- package/lib/cjs/appui-react/widgets/BasicToolWidget.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/BasicToolWidget.js +3 -1
- package/lib/cjs/appui-react/widgets/BasicToolWidget.js.map +1 -1
- package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.d.ts +9 -0
- package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.js +10 -0
- package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.js.map +1 -1
- package/lib/cjs/appui-react/widgets/NavigationWidget.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/NavigationWidget.js +2 -1
- package/lib/cjs/appui-react/widgets/NavigationWidget.js.map +1 -1
- package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js +1 -0
- 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.js +2 -1
- package/lib/cjs/appui-react/widgets/ToolSettingsContent.js.map +1 -1
- package/lib/cjs/appui-react/widgets/ToolWidget.js +3 -2
- package/lib/cjs/appui-react/widgets/ToolWidget.js.map +1 -1
- package/lib/cjs/appui-react/widgets/ToolWidgetComposer.d.ts +0 -12
- package/lib/cjs/appui-react/widgets/ToolWidgetComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/ToolWidgetComposer.js +1 -36
- package/lib/cjs/appui-react/widgets/ToolWidgetComposer.js.map +1 -1
- package/lib/cjs/appui-react/widgets/ToolbarWidgetBase.d.ts +1 -0
- package/lib/cjs/appui-react/widgets/ToolbarWidgetBase.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/ToolbarWidgetBase.js +5 -2
- package/lib/cjs/appui-react/widgets/ToolbarWidgetBase.js.map +1 -1
- package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.d.ts +0 -1
- package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.js +1 -1
- package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetDef.d.ts +2 -3
- package/lib/cjs/appui-react/widgets/WidgetDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetDef.js +18 -7
- package/lib/cjs/appui-react/widgets/WidgetDef.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetHost.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetHost.js +1 -0
- package/lib/cjs/appui-react/widgets/WidgetHost.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetStack.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetStack.js +2 -0
- package/lib/cjs/appui-react/widgets/WidgetStack.js.map +1 -1
- package/lib/cjs/appui-react/zones/FrameworkZone.js.map +1 -1
- package/lib/cjs/appui-react/zones/StatusBarZone.js.map +1 -1
- package/lib/cjs/appui-react/zones/Zone.d.ts +1 -1
- package/lib/cjs/appui-react/zones/Zone.d.ts.map +1 -1
- package/lib/cjs/appui-react/zones/Zone.js +2 -1
- package/lib/cjs/appui-react/zones/Zone.js.map +1 -1
- package/lib/cjs/appui-react/zones/ZoneDef.d.ts +4 -4
- package/lib/cjs/appui-react/zones/ZoneDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/zones/ZoneDef.js +5 -4
- package/lib/cjs/appui-react/zones/ZoneDef.js.map +1 -1
- package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsManager.d.ts +1 -2
- package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsManager.js +3 -2
- package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsManager.js.map +1 -1
- package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsZone.js.map +1 -1
- package/lib/cjs/appui-react.d.ts +18 -18
- package/lib/cjs/appui-react.d.ts.map +1 -1
- package/lib/cjs/appui-react.js +18 -18
- package/lib/cjs/appui-react.js.map +1 -1
- package/lib/esm/appui-react/UiFramework.d.ts +37 -22
- package/lib/esm/appui-react/UiFramework.d.ts.map +1 -1
- package/lib/esm/appui-react/UiFramework.js +52 -37
- package/lib/esm/appui-react/UiFramework.js.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.d.ts +3 -3
- package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.d.ts.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.js +3 -3
- package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.js.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawInputField.js +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawInputField.js.map +1 -1
- package/lib/esm/appui-react/accudraw/Calculator.js +1 -1
- package/lib/esm/appui-react/accudraw/Calculator.js.map +1 -1
- package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.d.ts +4 -4
- package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.d.ts.map +1 -1
- package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.js +6 -5
- package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.js.map +1 -1
- package/lib/esm/appui-react/backstage/Backstage.d.ts +0 -4
- package/lib/esm/appui-react/backstage/Backstage.d.ts.map +1 -1
- package/lib/esm/appui-react/backstage/Backstage.js +0 -1
- package/lib/esm/appui-react/backstage/Backstage.js.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposer.d.ts +2 -0
- package/lib/esm/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposer.js +27 -9
- package/lib/esm/appui-react/backstage/BackstageComposer.js.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposerItem.d.ts +2 -2
- 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/BackstageItemProps.d.ts +3 -3
- package/lib/esm/appui-react/backstage/BackstageItemProps.js +1 -1
- package/lib/esm/appui-react/backstage/BackstageItemProps.js.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageItemUtilities.d.ts +5 -5
- package/lib/esm/appui-react/backstage/BackstageItemUtilities.js +3 -3
- package/lib/esm/appui-react/backstage/BackstageItemUtilities.js.map +1 -1
- package/lib/esm/appui-react/backstage/CommandLaunch.d.ts +2 -0
- package/lib/esm/appui-react/backstage/CommandLaunch.d.ts.map +1 -1
- package/lib/esm/appui-react/backstage/CommandLaunch.js +1 -0
- package/lib/esm/appui-react/backstage/CommandLaunch.js.map +1 -1
- package/lib/esm/appui-react/backstage/FrontstageLaunch.d.ts +4 -0
- package/lib/esm/appui-react/backstage/FrontstageLaunch.d.ts.map +1 -1
- package/lib/esm/appui-react/backstage/FrontstageLaunch.js +5 -6
- package/lib/esm/appui-react/backstage/FrontstageLaunch.js.map +1 -1
- package/lib/esm/appui-react/backstage/Separator.d.ts +1 -0
- package/lib/esm/appui-react/backstage/Separator.d.ts.map +1 -1
- package/lib/esm/appui-react/backstage/Separator.js +3 -2
- package/lib/esm/appui-react/backstage/Separator.js.map +1 -1
- package/lib/esm/appui-react/childwindow/ChildWindowManager.d.ts +1 -1
- package/lib/esm/appui-react/childwindow/ChildWindowManager.d.ts.map +1 -1
- package/lib/esm/appui-react/childwindow/ChildWindowManager.js +4 -5
- package/lib/esm/appui-react/childwindow/ChildWindowManager.js.map +1 -1
- package/lib/esm/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
- package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js +2 -0
- package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
- package/lib/esm/appui-react/configurableui/ConfigurableUiManager.d.ts.map +1 -1
- package/lib/esm/appui-react/configurableui/ConfigurableUiManager.js +6 -1
- package/lib/esm/appui-react/configurableui/ConfigurableUiManager.js.map +1 -1
- package/lib/esm/appui-react/configurableui/state.d.ts +10 -3
- package/lib/esm/appui-react/configurableui/state.d.ts.map +1 -1
- package/lib/esm/appui-react/configurableui/state.js +15 -2
- package/lib/esm/appui-react/configurableui/state.js.map +1 -1
- package/lib/esm/appui-react/content/ContentControl.d.ts +7 -1
- package/lib/esm/appui-react/content/ContentControl.d.ts.map +1 -1
- package/lib/esm/appui-react/content/ContentControl.js +11 -2
- package/lib/esm/appui-react/content/ContentControl.js.map +1 -1
- package/lib/esm/appui-react/content/ContentLayout.d.ts +10 -2
- package/lib/esm/appui-react/content/ContentLayout.d.ts.map +1 -1
- package/lib/esm/appui-react/content/ContentLayout.js +44 -37
- package/lib/esm/appui-react/content/ContentLayout.js.map +1 -1
- package/lib/esm/appui-react/content/ContentLayout.scss +27 -27
- package/lib/esm/appui-react/content/ContentViewManager.d.ts +8 -1
- package/lib/esm/appui-react/content/ContentViewManager.d.ts.map +1 -1
- package/lib/esm/appui-react/content/ContentViewManager.js +47 -23
- package/lib/esm/appui-react/content/ContentViewManager.js.map +1 -1
- package/lib/esm/appui-react/content/FloatingViewportContent.css +9 -0
- package/lib/esm/appui-react/content/FloatingViewportContent.d.ts +25 -0
- package/lib/esm/appui-react/content/FloatingViewportContent.d.ts.map +1 -0
- package/lib/esm/appui-react/content/FloatingViewportContent.js +69 -0
- package/lib/esm/appui-react/content/FloatingViewportContent.js.map +1 -0
- package/lib/esm/appui-react/content/IModelViewport.d.ts +13 -1
- package/lib/esm/appui-react/content/IModelViewport.d.ts.map +1 -1
- package/lib/esm/appui-react/content/IModelViewport.js +16 -4
- package/lib/esm/appui-react/content/IModelViewport.js.map +1 -1
- package/lib/esm/appui-react/content/{SavedViewLayout.d.ts → StageContentLayout.d.ts} +11 -11
- package/lib/esm/appui-react/content/StageContentLayout.d.ts.map +1 -0
- package/lib/esm/appui-react/content/{SavedViewLayout.js → StageContentLayout.js} +17 -15
- package/lib/esm/appui-react/content/StageContentLayout.js.map +1 -0
- package/lib/esm/appui-react/content/{SavedView.d.ts → ViewStateHelper.d.ts} +7 -7
- package/lib/esm/appui-react/content/ViewStateHelper.d.ts.map +1 -0
- package/lib/esm/appui-react/content/{SavedView.js → ViewStateHelper.js} +2 -2
- package/lib/esm/appui-react/content/ViewStateHelper.js.map +1 -0
- package/lib/esm/appui-react/content/ViewportContentControl.d.ts +9 -0
- package/lib/esm/appui-react/content/ViewportContentControl.d.ts.map +1 -1
- package/lib/esm/appui-react/content/ViewportContentControl.js +23 -1
- package/lib/esm/appui-react/content/ViewportContentControl.js.map +1 -1
- package/lib/esm/appui-react/content/split-pane/Pane.d.ts +21 -0
- package/lib/esm/appui-react/content/split-pane/Pane.d.ts.map +1 -0
- package/lib/esm/appui-react/content/split-pane/Pane.js +39 -0
- package/lib/esm/appui-react/content/split-pane/Pane.js.map +1 -0
- package/lib/esm/appui-react/content/split-pane/Resizer.d.ts +23 -0
- package/lib/esm/appui-react/content/split-pane/Resizer.d.ts.map +1 -0
- package/lib/esm/appui-react/content/split-pane/Resizer.js +35 -0
- package/lib/esm/appui-react/content/split-pane/Resizer.js.map +1 -0
- package/lib/esm/appui-react/content/split-pane/SplitPane.d.ts +70 -0
- package/lib/esm/appui-react/content/split-pane/SplitPane.d.ts.map +1 -0
- package/lib/esm/appui-react/content/split-pane/SplitPane.js +239 -0
- package/lib/esm/appui-react/content/split-pane/SplitPane.js.map +1 -0
- package/lib/esm/appui-react/cursor/CursorInformation.d.ts +1 -2
- package/lib/esm/appui-react/cursor/CursorInformation.d.ts.map +1 -1
- package/lib/esm/appui-react/cursor/CursorInformation.js +2 -2
- package/lib/esm/appui-react/cursor/CursorInformation.js.map +1 -1
- package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.d.ts.map +1 -1
- package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts +2 -2
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts.map +1 -1
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.js +2 -2
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
- package/lib/esm/appui-react/dialog/ContentDialog.d.ts +24 -0
- package/lib/esm/appui-react/dialog/ContentDialog.d.ts.map +1 -0
- package/lib/esm/appui-react/dialog/ContentDialog.js +67 -0
- package/lib/esm/appui-react/dialog/ContentDialog.js.map +1 -0
- package/lib/esm/appui-react/dialog/ContentDialog.scss +25 -0
- package/lib/esm/appui-react/dialog/ContentDialogManager.d.ts +65 -0
- package/lib/esm/appui-react/dialog/ContentDialogManager.d.ts.map +1 -0
- package/lib/esm/appui-react/dialog/ContentDialogManager.js +142 -0
- package/lib/esm/appui-react/dialog/ContentDialogManager.js.map +1 -0
- package/lib/esm/appui-react/dialog/DialogManagerBase.d.ts +1 -1
- package/lib/esm/appui-react/dialog/DialogManagerBase.d.ts.map +1 -1
- package/lib/esm/appui-react/dialog/DialogManagerBase.js +1 -1
- package/lib/esm/appui-react/dialog/DialogManagerBase.js.map +1 -1
- package/lib/esm/appui-react/dialog/StandardMessageBox.d.ts.map +1 -1
- package/lib/esm/appui-react/dialog/StandardMessageBox.js +3 -0
- package/lib/esm/appui-react/dialog/StandardMessageBox.js.map +1 -1
- package/lib/esm/appui-react/dragdrop/ZoneTargets.d.ts.map +1 -1
- package/lib/esm/appui-react/dragdrop/ZoneTargets.js +8 -4
- package/lib/esm/appui-react/dragdrop/ZoneTargets.js.map +1 -1
- package/lib/esm/appui-react/feedback/ElementTooltip.d.ts +2 -2
- package/lib/esm/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
- package/lib/esm/appui-react/feedback/ElementTooltip.js +4 -2
- package/lib/esm/appui-react/feedback/ElementTooltip.js.map +1 -1
- package/lib/esm/appui-react/frontstage/Frontstage.d.ts +1 -0
- package/lib/esm/appui-react/frontstage/Frontstage.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/Frontstage.js +32 -13
- package/lib/esm/appui-react/frontstage/Frontstage.js.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageComposer.d.ts +3 -0
- package/lib/esm/appui-react/frontstage/FrontstageComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageComposer.js +15 -1
- package/lib/esm/appui-react/frontstage/FrontstageComposer.js.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts +19 -2
- package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageDef.js +170 -8
- package/lib/esm/appui-react/frontstage/FrontstageDef.js.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageManager.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageManager.js +2 -1
- package/lib/esm/appui-react/frontstage/FrontstageManager.js.map +1 -1
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts +6 -0
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
- package/lib/esm/appui-react/hooks/useActiveIModelConnection.d.ts.map +1 -1
- package/lib/esm/appui-react/hooks/useActiveIModelConnection.js.map +1 -1
- package/lib/esm/appui-react/hooks/useActiveViewport.d.ts.map +1 -1
- package/lib/esm/appui-react/hooks/useActiveViewport.js.map +1 -1
- package/lib/esm/appui-react/hooks/useFrameworkVersion.d.ts +12 -9
- package/lib/esm/appui-react/hooks/useFrameworkVersion.d.ts.map +1 -1
- package/lib/esm/appui-react/hooks/useFrameworkVersion.js +19 -21
- package/lib/esm/appui-react/hooks/useFrameworkVersion.js.map +1 -1
- package/lib/esm/appui-react/imodel-components/VisibilityTreeEventHandler.d.ts +1 -1
- package/lib/esm/appui-react/imodel-components/VisibilityTreeEventHandler.d.ts.map +1 -1
- package/lib/esm/appui-react/imodel-components/VisibilityTreeEventHandler.js +6 -7
- package/lib/esm/appui-react/imodel-components/VisibilityTreeEventHandler.js.map +1 -1
- package/lib/esm/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.d.ts +3 -3
- package/lib/esm/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.d.ts.map +1 -1
- package/lib/esm/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.js +1 -1
- package/lib/esm/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.js.map +1 -1
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsTree.d.ts +0 -5
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsTree.d.ts.map +1 -1
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsTree.js.map +1 -1
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.d.ts +1 -1
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.d.ts.map +1 -1
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.js +83 -70
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.js.map +1 -1
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.d.ts.map +1 -1
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.js.map +1 -1
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts +2 -1
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts.map +1 -1
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.js +2 -2
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
- package/lib/esm/appui-react/keyinbrowser/KeyinBrowser.d.ts +5 -5
- package/lib/esm/appui-react/keyinbrowser/KeyinBrowser.d.ts.map +1 -1
- package/lib/esm/appui-react/keyinbrowser/KeyinBrowser.js +3 -2
- package/lib/esm/appui-react/keyinbrowser/KeyinBrowser.js.map +1 -1
- package/lib/esm/appui-react/messages/AppNotificationManager.d.ts +1 -1
- package/lib/esm/appui-react/messages/AppNotificationManager.js +1 -1
- package/lib/esm/appui-react/messages/AppNotificationManager.js.map +1 -1
- package/lib/esm/appui-react/messages/MessageManager.d.ts +1 -2
- package/lib/esm/appui-react/messages/MessageManager.d.ts.map +1 -1
- package/lib/esm/appui-react/messages/MessageManager.js +9 -3
- package/lib/esm/appui-react/messages/MessageManager.js.map +1 -1
- package/lib/esm/appui-react/messages/Pointer.d.ts +2 -2
- package/lib/esm/appui-react/messages/Pointer.d.ts.map +1 -1
- package/lib/esm/appui-react/messages/Pointer.js +4 -3
- package/lib/esm/appui-react/messages/Pointer.js.map +1 -1
- package/lib/esm/appui-react/messages/ToastMessage.js +2 -1
- package/lib/esm/appui-react/messages/ToastMessage.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/NavigationAidControl.d.ts +1 -1
- package/lib/esm/appui-react/navigationaids/NavigationAidControl.d.ts.map +1 -1
- package/lib/esm/appui-react/navigationaids/NavigationAidControl.js +1 -1
- package/lib/esm/appui-react/navigationaids/NavigationAidControl.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.d.ts +2 -1
- package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.d.ts.map +1 -1
- package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.js +2 -1
- package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js +6 -4
- package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
- package/lib/esm/appui-react/pickers/ListPicker.d.ts +3 -0
- package/lib/esm/appui-react/pickers/ListPicker.d.ts.map +1 -1
- package/lib/esm/appui-react/pickers/ListPicker.js +23 -9
- package/lib/esm/appui-react/pickers/ListPicker.js.map +1 -1
- package/lib/esm/appui-react/pickers/ViewSelector.d.ts +1 -1
- package/lib/esm/appui-react/pickers/ViewSelector.d.ts.map +1 -1
- package/lib/esm/appui-react/pickers/ViewSelector.js +7 -7
- package/lib/esm/appui-react/pickers/ViewSelector.js.map +1 -1
- package/lib/esm/appui-react/popup/CardPopup.d.ts +7 -4
- package/lib/esm/appui-react/popup/CardPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/CardPopup.js +3 -2
- package/lib/esm/appui-react/popup/CardPopup.js.map +1 -1
- package/lib/esm/appui-react/popup/CardPopup.scss +3 -1
- package/lib/esm/appui-react/popup/InputEditorPopup.d.ts +3 -2
- package/lib/esm/appui-react/popup/InputEditorPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/InputEditorPopup.js +1 -1
- package/lib/esm/appui-react/popup/InputEditorPopup.js.map +1 -1
- package/lib/esm/appui-react/popup/KeyinPalettePanel.js +7 -7
- package/lib/esm/appui-react/popup/KeyinPalettePanel.js.map +1 -1
- package/lib/esm/appui-react/popup/KeyinPalettePopup.d.ts +3 -2
- package/lib/esm/appui-react/popup/KeyinPalettePopup.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/KeyinPalettePopup.js +1 -1
- package/lib/esm/appui-react/popup/KeyinPalettePopup.js.map +1 -1
- package/lib/esm/appui-react/popup/PopupManager.d.ts +10 -10
- package/lib/esm/appui-react/popup/PopupManager.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/PopupManager.js +5 -5
- package/lib/esm/appui-react/popup/PopupManager.js.map +1 -1
- package/lib/esm/appui-react/popup/PositionPopup.d.ts +5 -3
- package/lib/esm/appui-react/popup/PositionPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/PositionPopup.js +3 -2
- package/lib/esm/appui-react/popup/PositionPopup.js.map +1 -1
- package/lib/esm/appui-react/popup/ToolSettingsPopup.d.ts +3 -2
- package/lib/esm/appui-react/popup/ToolSettingsPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/ToolSettingsPopup.js +1 -1
- package/lib/esm/appui-react/popup/ToolSettingsPopup.js.map +1 -1
- package/lib/esm/appui-react/popup/ToolbarPopup.d.ts +4 -3
- package/lib/esm/appui-react/popup/ToolbarPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/ToolbarPopup.js +2 -2
- package/lib/esm/appui-react/popup/ToolbarPopup.js.map +1 -1
- package/lib/esm/appui-react/redux/FrameworkState.d.ts +1 -1
- package/lib/esm/appui-react/redux/SessionState.d.ts +0 -6
- package/lib/esm/appui-react/redux/SessionState.d.ts.map +1 -1
- package/lib/esm/appui-react/redux/SessionState.js +0 -8
- package/lib/esm/appui-react/redux/SessionState.js.map +1 -1
- package/lib/esm/appui-react/redux/StateManager.d.ts +1 -1
- package/lib/esm/appui-react/redux/StateManager.js.map +1 -1
- package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.js +7 -7
- package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
- package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts.map +1 -1
- package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.js +1 -1
- package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.js.map +1 -1
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.js +28 -19
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
- package/lib/esm/appui-react/shared/CustomItemDef.js.map +1 -1
- package/lib/esm/appui-react/shared/CustomItemProps.js.map +1 -1
- package/lib/esm/appui-react/shared/GroupItemProps.js.map +1 -1
- package/lib/esm/appui-react/shared/ItemDefBase.d.ts +2 -2
- package/lib/esm/appui-react/shared/ItemDefBase.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/ItemDefBase.js +1 -1
- package/lib/esm/appui-react/shared/ItemDefBase.js.map +1 -1
- package/lib/esm/appui-react/shared/ItemProps.d.ts +2 -2
- package/lib/esm/appui-react/shared/ItemProps.js.map +1 -1
- package/lib/esm/appui-react/shared/ToolItemDef.d.ts +1 -1
- package/lib/esm/appui-react/shared/ToolItemDef.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/ToolItemDef.js +2 -2
- package/lib/esm/appui-react/shared/ToolItemDef.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/FrameworkStagePanel.d.ts.map +1 -1
- package/lib/esm/appui-react/stagepanels/FrameworkStagePanel.js +1 -0
- package/lib/esm/appui-react/stagepanels/FrameworkStagePanel.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanel.d.ts +2 -2
- package/lib/esm/appui-react/stagepanels/StagePanel.d.ts.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanel.js +1 -0
- package/lib/esm/appui-react/stagepanels/StagePanel.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts +26 -2
- package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelDef.js +24 -3
- package/lib/esm/appui-react/stagepanels/StagePanelDef.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelHeader.d.ts +2 -2
- package/lib/esm/appui-react/stagepanels/StagePanelHeader.d.ts.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelHeader.js +2 -1
- package/lib/esm/appui-react/stagepanels/StagePanelHeader.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBar.js +2 -1
- 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 +17 -5
- package/lib/esm/appui-react/statusbar/StatusBarComposer.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarItemsManager.d.ts +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarItemsManager.js +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarItemsManager.js.map +1 -1
- package/lib/esm/appui-react/statusfields/Indicator.d.ts +15 -14
- package/lib/esm/appui-react/statusfields/Indicator.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/Indicator.js +23 -21
- package/lib/esm/appui-react/statusfields/Indicator.js.map +1 -1
- package/lib/esm/appui-react/statusfields/Indicator.scss +29 -18
- package/lib/esm/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/MessageCenter.js +2 -1
- package/lib/esm/appui-react/statusfields/MessageCenter.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionScope.d.ts +1 -0
- package/lib/esm/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionScope.js +6 -4
- package/lib/esm/appui-react/statusfields/SelectionScope.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionScope.scss +13 -3
- package/lib/esm/appui-react/statusfields/SnapMode.d.ts +2 -10
- package/lib/esm/appui-react/statusfields/SnapMode.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/SnapMode.js +5 -35
- package/lib/esm/appui-react/statusfields/SnapMode.js.map +1 -1
- package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts +0 -6
- package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/ViewAttributes.js +2 -26
- package/lib/esm/appui-react/statusfields/ViewAttributes.js.map +1 -1
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +7 -7
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js +14 -13
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.scss +8 -3
- package/lib/esm/appui-react/syncui/BooleanListener.d.ts +2 -2
- package/lib/esm/appui-react/syncui/BooleanListener.d.ts.map +1 -1
- package/lib/esm/appui-react/syncui/BooleanListener.js +2 -1
- package/lib/esm/appui-react/syncui/BooleanListener.js.map +1 -1
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts +8 -18
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js +29 -101
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
- package/lib/esm/appui-react/toolbar/ActionButtonItem.js +2 -1
- package/lib/esm/appui-react/toolbar/ActionButtonItem.js.map +1 -1
- package/lib/esm/appui-react/toolbar/ActionItemButton.d.ts.map +1 -1
- package/lib/esm/appui-react/toolbar/ActionItemButton.js +2 -1
- package/lib/esm/appui-react/toolbar/ActionItemButton.js.map +1 -1
- package/lib/esm/appui-react/toolbar/GroupButtonItem.js +24 -20
- package/lib/esm/appui-react/toolbar/GroupButtonItem.js.map +1 -1
- package/lib/esm/appui-react/toolbar/GroupItem.d.ts.map +1 -1
- package/lib/esm/appui-react/toolbar/GroupItem.js +33 -29
- package/lib/esm/appui-react/toolbar/GroupItem.js.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolButton.js +3 -2
- package/lib/esm/appui-react/toolbar/ToolButton.js.map +1 -1
- package/lib/esm/appui-react/toolbar/Toolbar.d.ts.map +1 -1
- package/lib/esm/appui-react/toolbar/Toolbar.js +3 -2
- package/lib/esm/appui-react/toolbar/Toolbar.js.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarComposer.js +22 -20
- package/lib/esm/appui-react/toolbar/ToolbarComposer.js.map +1 -1
- package/lib/esm/appui-react/tools/CoreToolDefinitions.d.ts +1 -1
- package/lib/esm/appui-react/tools/CoreToolDefinitions.js +4 -4
- package/lib/esm/appui-react/tools/CoreToolDefinitions.js.map +1 -1
- package/lib/esm/appui-react/tools/MarkupToolDefinitions.d.ts +2 -2
- package/lib/esm/appui-react/tools/MarkupToolDefinitions.js +2 -2
- package/lib/esm/appui-react/tools/MarkupToolDefinitions.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts +8 -10
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js +18 -37
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts +7 -9
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.js +13 -21
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts +7 -9
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js +40 -51
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.scss +4 -4
- package/lib/{cjs/appui-react/uisettings → esm/appui-react/uistate}/AppUiSettings.d.ts +11 -9
- package/lib/esm/appui-react/uistate/AppUiSettings.d.ts.map +1 -0
- package/lib/esm/appui-react/{uisettings → uistate}/AppUiSettings.js +13 -9
- package/lib/esm/appui-react/uistate/AppUiSettings.js.map +1 -0
- package/lib/esm/appui-react/uistate/UserSettingsStorage.d.ts +15 -0
- package/lib/esm/appui-react/uistate/UserSettingsStorage.d.ts.map +1 -0
- package/lib/esm/appui-react/uistate/UserSettingsStorage.js +55 -0
- package/lib/esm/appui-react/uistate/UserSettingsStorage.js.map +1 -0
- package/lib/esm/appui-react/uistate/useUiStateStorage.d.ts +20 -0
- package/lib/esm/appui-react/uistate/useUiStateStorage.d.ts.map +1 -0
- package/lib/esm/appui-react/uistate/useUiStateStorage.js +33 -0
- package/lib/esm/appui-react/uistate/useUiStateStorage.js.map +1 -0
- package/lib/esm/appui-react/utils/UiShowHideManager.d.ts +5 -5
- package/lib/esm/appui-react/utils/UiShowHideManager.d.ts.map +1 -1
- package/lib/esm/appui-react/utils/UiShowHideManager.js +9 -9
- package/lib/esm/appui-react/utils/UiShowHideManager.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 +1 -4
- package/lib/esm/appui-react/widget-panels/Content.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/Frontstage.d.ts +98 -8
- package/lib/esm/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/Frontstage.js +92 -96
- package/lib/esm/appui-react/widget-panels/Frontstage.js.map +1 -1
- package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts +22 -0
- package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts.map +1 -0
- package/lib/esm/appui-react/widgets/BackstageAppButton.js +52 -0
- package/lib/esm/appui-react/widgets/BackstageAppButton.js.map +1 -0
- package/lib/esm/appui-react/widgets/BasicNavigationWidget.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/BasicNavigationWidget.js +1 -0
- package/lib/esm/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
- package/lib/esm/appui-react/widgets/BasicToolWidget.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/BasicToolWidget.js +3 -1
- package/lib/esm/appui-react/widgets/BasicToolWidget.js.map +1 -1
- package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.d.ts +9 -0
- package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.js +10 -0
- package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.js.map +1 -1
- package/lib/esm/appui-react/widgets/NavigationWidget.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/NavigationWidget.js +2 -1
- package/lib/esm/appui-react/widgets/NavigationWidget.js.map +1 -1
- package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js +1 -0
- 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.js +2 -1
- package/lib/esm/appui-react/widgets/ToolSettingsContent.js.map +1 -1
- package/lib/esm/appui-react/widgets/ToolWidget.js +3 -2
- package/lib/esm/appui-react/widgets/ToolWidget.js.map +1 -1
- package/lib/esm/appui-react/widgets/ToolWidgetComposer.d.ts +0 -12
- package/lib/esm/appui-react/widgets/ToolWidgetComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/ToolWidgetComposer.js +2 -36
- package/lib/esm/appui-react/widgets/ToolWidgetComposer.js.map +1 -1
- package/lib/esm/appui-react/widgets/ToolbarWidgetBase.d.ts +1 -0
- package/lib/esm/appui-react/widgets/ToolbarWidgetBase.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/ToolbarWidgetBase.js +5 -2
- package/lib/esm/appui-react/widgets/ToolbarWidgetBase.js.map +1 -1
- package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.d.ts +0 -1
- package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.js +1 -1
- package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetDef.d.ts +2 -3
- package/lib/esm/appui-react/widgets/WidgetDef.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetDef.js +18 -7
- package/lib/esm/appui-react/widgets/WidgetDef.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetHost.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetHost.js +1 -0
- package/lib/esm/appui-react/widgets/WidgetHost.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetStack.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetStack.js +2 -0
- package/lib/esm/appui-react/widgets/WidgetStack.js.map +1 -1
- package/lib/esm/appui-react/zones/FrameworkZone.js.map +1 -1
- package/lib/esm/appui-react/zones/StatusBarZone.js.map +1 -1
- package/lib/esm/appui-react/zones/Zone.d.ts +1 -1
- package/lib/esm/appui-react/zones/Zone.d.ts.map +1 -1
- package/lib/esm/appui-react/zones/Zone.js +2 -1
- package/lib/esm/appui-react/zones/Zone.js.map +1 -1
- package/lib/esm/appui-react/zones/ZoneDef.d.ts +4 -4
- package/lib/esm/appui-react/zones/ZoneDef.d.ts.map +1 -1
- package/lib/esm/appui-react/zones/ZoneDef.js +5 -4
- package/lib/esm/appui-react/zones/ZoneDef.js.map +1 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolSettingsManager.d.ts +1 -2
- package/lib/esm/appui-react/zones/toolsettings/ToolSettingsManager.d.ts.map +1 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolSettingsManager.js +2 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolSettingsManager.js.map +1 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolSettingsZone.js.map +1 -1
- package/lib/esm/appui-react.d.ts +18 -18
- package/lib/esm/appui-react.d.ts.map +1 -1
- package/lib/esm/appui-react.js +18 -18
- package/lib/esm/appui-react.js.map +1 -1
- package/lib/public/locales/en/UiFramework.json +9 -2
- package/package.json +46 -53
- package/lib/cjs/appui-react/UserInfo.d.ts +0 -58
- package/lib/cjs/appui-react/UserInfo.d.ts.map +0 -1
- package/lib/cjs/appui-react/UserInfo.js +0 -34
- package/lib/cjs/appui-react/UserInfo.js.map +0 -1
- package/lib/cjs/appui-react/content/SavedView.d.ts.map +0 -1
- package/lib/cjs/appui-react/content/SavedView.js.map +0 -1
- package/lib/cjs/appui-react/content/SavedViewLayout.d.ts.map +0 -1
- package/lib/cjs/appui-react/content/SavedViewLayout.js.map +0 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelEnums.d.ts +0 -25
- package/lib/cjs/appui-react/stagepanels/StagePanelEnums.d.ts.map +0 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelEnums.js +0 -34
- package/lib/cjs/appui-react/stagepanels/StagePanelEnums.js.map +0 -1
- package/lib/cjs/appui-react/uisettings/AppUiSettings.d.ts.map +0 -1
- package/lib/cjs/appui-react/uisettings/AppUiSettings.js.map +0 -1
- package/lib/cjs/appui-react/uisettings/UserSettingsStorage.d.ts +0 -23
- package/lib/cjs/appui-react/uisettings/UserSettingsStorage.d.ts.map +0 -1
- package/lib/cjs/appui-react/uisettings/UserSettingsStorage.js +0 -74
- package/lib/cjs/appui-react/uisettings/UserSettingsStorage.js.map +0 -1
- package/lib/cjs/appui-react/uisettings/useUiSettings.d.ts +0 -21
- package/lib/cjs/appui-react/uisettings/useUiSettings.d.ts.map +0 -1
- package/lib/cjs/appui-react/uisettings/useUiSettings.js +0 -28
- package/lib/cjs/appui-react/uisettings/useUiSettings.js.map +0 -1
- package/lib/esm/appui-react/UserInfo.d.ts +0 -58
- package/lib/esm/appui-react/UserInfo.d.ts.map +0 -1
- package/lib/esm/appui-react/UserInfo.js +0 -30
- package/lib/esm/appui-react/UserInfo.js.map +0 -1
- package/lib/esm/appui-react/content/SavedView.d.ts.map +0 -1
- package/lib/esm/appui-react/content/SavedView.js.map +0 -1
- package/lib/esm/appui-react/content/SavedViewLayout.d.ts.map +0 -1
- package/lib/esm/appui-react/content/SavedViewLayout.js.map +0 -1
- package/lib/esm/appui-react/stagepanels/StagePanelEnums.d.ts +0 -25
- package/lib/esm/appui-react/stagepanels/StagePanelEnums.d.ts.map +0 -1
- package/lib/esm/appui-react/stagepanels/StagePanelEnums.js +0 -31
- package/lib/esm/appui-react/stagepanels/StagePanelEnums.js.map +0 -1
- package/lib/esm/appui-react/uisettings/AppUiSettings.d.ts.map +0 -1
- package/lib/esm/appui-react/uisettings/AppUiSettings.js.map +0 -1
- package/lib/esm/appui-react/uisettings/UserSettingsStorage.d.ts +0 -23
- package/lib/esm/appui-react/uisettings/UserSettingsStorage.d.ts.map +0 -1
- package/lib/esm/appui-react/uisettings/UserSettingsStorage.js +0 -68
- package/lib/esm/appui-react/uisettings/UserSettingsStorage.js.map +0 -1
- package/lib/esm/appui-react/uisettings/useUiSettings.d.ts +0 -21
- package/lib/esm/appui-react/uisettings/useUiSettings.d.ts.map +0 -1
- package/lib/esm/appui-react/uisettings/useUiSettings.js +0 -23
- package/lib/esm/appui-react/uisettings/useUiSettings.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusBarZone.js","sourceRoot":"","sources":["../../../../src/appui-react/zones/StatusBarZone.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAE/B,kEAAmF;AAEnF,iEAA8D;AAC9D,sDAAmD;AAEnD,mDAAwD;AACxD,uCAAoC;AACpC,yDAAsD;AAkBtD;;GAEG;AACH,MAAa,aAAc,SAAQ,KAAK,CAAC,aAAiC;IACxD,MAAM;QACpB,MAAM,MAAM,GAAG,IAAA,qCAAqB,EAAC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QAC3D,OAAO,CACL,oBAAC,iCAAe,CAAC,QAAQ,QACtB,CAAC,cAAc,EAAE,EAAE,CAAC,CACnB;YACE,oBAAC,yBAAI,IACH,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,EACtD,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,EAC/B,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,EAC3B,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,EAC7B,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,EACzC,cAAc,EAAE,cAAc,IAG5B,IAAI,CAAC,KAAK,CAAC,aAAa;gBACxB,oBAAC,qBAAS,IACR,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,EACzC,aAAa,EAAE,IAAI,CAAC,KAAK,CAAC,aAAa,GACvC,CAEC;YACP,oBAAC,yBAAI,IACH,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,MAAM,EACnC,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,EAC3B,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,EACzC,cAAc,EAAE,cAAc;gBAE9B,oBAAC,yBAAW,IACV,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,EAC/B,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,EACjC,mBAAmB,EAAE,IAAI,CAAC,KAAK,CAAC,mBAAmB,GACnD,CACG;YACP,oBAAC,iBAAO,IAAC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,GAAI,CAC7C,CACJ,CACwB,CAC5B,CAAC;IACJ,CAAC;CACF;AAzCD,sCAyCC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module StatusBar\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { CommonProps, RectangleProps } from \"@itwin/core-react\";\r\nimport { Zone, ZoneManagerProps, ZoneTargetType } from \"@itwin/appui-layout-react\";\r\nimport { TargetChangeHandler, WidgetChangeHandler } from \"../frontstage/FrontstageComposer\";\r\nimport { SafeAreaContext } from \"../safearea/SafeAreaContext\";\r\nimport { StatusBar } from \"../statusbar/StatusBar\";\r\nimport { StatusBarWidgetControl } from \"../statusbar/StatusBarWidgetControl\";\r\nimport { getFloatingZoneBounds } from \"./FrameworkZone\";\r\nimport { Outline } from \"./Outline\";\r\nimport { ZoneTargets } from \"../dragdrop/ZoneTargets\";\r\n\r\n// cspell:ignore safearea\r\n\r\n/** Properties for the [[StatusBarZone]] component\r\n * @internal\r\n */\r\nexport interface StatusBarZoneProps extends CommonProps {\r\n dropTarget: ZoneTargetType | undefined
|
|
1
|
+
{"version":3,"file":"StatusBarZone.js","sourceRoot":"","sources":["../../../../src/appui-react/zones/StatusBarZone.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAE/B,kEAAmF;AAEnF,iEAA8D;AAC9D,sDAAmD;AAEnD,mDAAwD;AACxD,uCAAoC;AACpC,yDAAsD;AAkBtD;;GAEG;AACH,MAAa,aAAc,SAAQ,KAAK,CAAC,aAAiC;IACxD,MAAM;QACpB,MAAM,MAAM,GAAG,IAAA,qCAAqB,EAAC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QAC3D,OAAO,CACL,oBAAC,iCAAe,CAAC,QAAQ,QACtB,CAAC,cAAc,EAAE,EAAE,CAAC,CACnB;YACE,oBAAC,yBAAI,IACH,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,EACtD,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,EAC/B,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,EAC3B,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,EAC7B,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,EACzC,cAAc,EAAE,cAAc,IAG5B,IAAI,CAAC,KAAK,CAAC,aAAa;gBACxB,oBAAC,qBAAS,IACR,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,EACzC,aAAa,EAAE,IAAI,CAAC,KAAK,CAAC,aAAa,GACvC,CAEC;YACP,oBAAC,yBAAI,IACH,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,MAAM,EACnC,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,EAC3B,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,EACzC,cAAc,EAAE,cAAc;gBAE9B,oBAAC,yBAAW,IACV,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,EAC/B,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,EACjC,mBAAmB,EAAE,IAAI,CAAC,KAAK,CAAC,mBAAmB,GACnD,CACG;YACP,oBAAC,iBAAO,IAAC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,GAAI,CAC7C,CACJ,CACwB,CAC5B,CAAC;IACJ,CAAC;CACF;AAzCD,sCAyCC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module StatusBar\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { CommonProps, RectangleProps } from \"@itwin/core-react\";\r\nimport { Zone, ZoneManagerProps, ZoneTargetType } from \"@itwin/appui-layout-react\";\r\nimport { TargetChangeHandler, WidgetChangeHandler } from \"../frontstage/FrontstageComposer\";\r\nimport { SafeAreaContext } from \"../safearea/SafeAreaContext\";\r\nimport { StatusBar } from \"../statusbar/StatusBar\";\r\nimport { StatusBarWidgetControl } from \"../statusbar/StatusBarWidgetControl\";\r\nimport { getFloatingZoneBounds } from \"./FrameworkZone\";\r\nimport { Outline } from \"./Outline\";\r\nimport { ZoneTargets } from \"../dragdrop/ZoneTargets\";\r\n\r\n// cspell:ignore safearea\r\n\r\n/** Properties for the [[StatusBarZone]] component\r\n * @internal\r\n */\r\nexport interface StatusBarZoneProps extends CommonProps {\r\n dropTarget: ZoneTargetType | undefined; // eslint-disable-line deprecation/deprecation\r\n isHidden: boolean;\r\n isInFooterMode: boolean;\r\n targetChangeHandler: TargetChangeHandler; // eslint-disable-line deprecation/deprecation\r\n targetedBounds: RectangleProps | undefined;\r\n widgetChangeHandler: WidgetChangeHandler; // eslint-disable-line deprecation/deprecation\r\n widgetControl?: StatusBarWidgetControl;\r\n zoneProps: ZoneManagerProps;\r\n}\r\n\r\n/** Status Bar Zone React component.\r\n * @internal\r\n */\r\nexport class StatusBarZone extends React.PureComponent<StatusBarZoneProps> {\r\n public override render(): React.ReactNode {\r\n const bounds = getFloatingZoneBounds(this.props.zoneProps);\r\n return (\r\n <SafeAreaContext.Consumer>\r\n {(safeAreaInsets) => (\r\n <>\r\n <Zone\r\n bounds={this.props.isInFooterMode ? undefined : bounds}\r\n className={this.props.className}\r\n id={this.props.zoneProps.id}\r\n isHidden={this.props.isHidden}\r\n isInFooterMode={this.props.isInFooterMode}\r\n safeAreaInsets={safeAreaInsets}\r\n >\r\n {\r\n this.props.widgetControl &&\r\n <StatusBar\r\n isInFooterMode={this.props.isInFooterMode}\r\n widgetControl={this.props.widgetControl}\r\n />\r\n }\r\n </Zone>\r\n <Zone\r\n bounds={this.props.zoneProps.bounds}\r\n id={this.props.zoneProps.id}\r\n isInFooterMode={this.props.isInFooterMode}\r\n safeAreaInsets={safeAreaInsets}\r\n >\r\n <ZoneTargets\r\n zoneId={this.props.zoneProps.id}\r\n dropTarget={this.props.dropTarget}\r\n targetChangeHandler={this.props.targetChangeHandler}\r\n />\r\n </Zone>\r\n <Outline bounds={this.props.targetedBounds} />\r\n </>\r\n )}\r\n </SafeAreaContext.Consumer>\r\n );\r\n }\r\n}\r\n"]}
|
|
@@ -9,7 +9,7 @@ import { WidgetProps } from "../widgets/WidgetProps";
|
|
|
9
9
|
import { WidgetTabs } from "../widgets/WidgetStack";
|
|
10
10
|
import { ZoneDef, ZoneState } from "./ZoneDef";
|
|
11
11
|
/** Enum for [[Zone]] Location.
|
|
12
|
-
* @public
|
|
12
|
+
* @public @deprecated
|
|
13
13
|
*/
|
|
14
14
|
export declare enum ZoneLocation {
|
|
15
15
|
TopLeft = 1,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Zone.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/zones/Zone.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Zone.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/zones/Zone.tsx"],"names":[],"mappings":"AAKA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EACL,qBAAqB,EAAE,yBAAyB,EAAE,8BAA8B,EAA0B,kBAAkB,EAAE,YAAY,EAC1I,gBAAgB,EAAE,cAAc,EACjC,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAI7G,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAIpD,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAE/C;;GAEG;AACH,oBAAY,YAAY;IACtB,OAAO,IAAI;IACX,SAAS,IAAI;IACb,QAAQ,IAAI;IACZ,UAAU,IAAI;IACd,WAAW,IAAI;IACf,UAAU,IAAI;IACd,YAAY,IAAI;IAChB,WAAW,IAAI;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,SAAU,SAAQ,WAAW;IAC5C,oGAAoG;IACpG,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,iFAAiF;IACjF,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,mDAAmD;IACnD,eAAe,CAAC,EAAE,GAAG,CAAC;IAC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IAAI;IAIzB,oBAAoB,IAAI,IAAI;IAI5B,MAAM,IAAI,KAAK,CAAC,SAAS;IA6FzC,OAAO,CAAC,8BAA8B,CA6BpC;IAEF,OAAO,CAAC,iBAAiB;CAa1B;AAED,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,UAAW,kBAAkB,GAAG,SAAS,4CAErF,CAAC"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
4
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
5
|
*--------------------------------------------------------------------------------------------*/
|
|
6
|
+
/* eslint-disable deprecation/deprecation */
|
|
6
7
|
/** @packageDocumentation
|
|
7
8
|
* @module Zone
|
|
8
9
|
*/
|
|
@@ -18,7 +19,7 @@ const FrameworkZone_1 = require("./FrameworkZone");
|
|
|
18
19
|
const StatusBarZone_1 = require("./StatusBarZone");
|
|
19
20
|
const ToolSettingsZone_1 = require("./toolsettings/ToolSettingsZone");
|
|
20
21
|
/** Enum for [[Zone]] Location.
|
|
21
|
-
* @public
|
|
22
|
+
* @public @deprecated
|
|
22
23
|
*/
|
|
23
24
|
var ZoneLocation;
|
|
24
25
|
(function (ZoneLocation) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Zone.js","sourceRoot":"","sources":["../../../../src/appui-react/zones/Zone.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAC/B,0DAAoD;AAEpD,kEAGmC;AACnC,mFAAoF;AAEpF,uEAAoE;AAEpE,oDAA0F;AAG1F,mDAAgD;AAChD,mDAAgD;AAChD,sEAAmE;AAGnE;;GAEG;AACH,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qDAAW,CAAA;IACX,yDAAa,CAAA;IACb,uDAAY,CAAA;IACZ,2DAAc,CAAA;IACd,6DAAe,CAAA;IACf,2DAAc,CAAA;IACd,+DAAgB,CAAA;IAChB,6DAAe,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IAAI,OAAO,IAAI,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,IAAe,EAAE,EAAE,CAAC,IAAI,KAAK,SAAS,CAAC;gBAC7E,OAAO,GAAG,CAAC;SACd;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;CACF;AAxKD,oBAwKC;AAED,gBAAgB;AACT,MAAM,gCAAgC,GAAG,CAAC,KAAqC,EAA2C,EAAE;IACjI,OAAO,CAAC,CAAC,KAAK,IAAI,KAAK,CAAC,EAAE,KAAK,CAAC,CAAC;AACnC,CAAC,CAAC;AAFW,QAAA,gCAAgC,oCAE3C","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 Zone\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { WidgetState } from \"@itwin/appui-abstract\";\r\nimport { CommonProps, RectangleProps } from \"@itwin/core-react\";\r\nimport {\r\n DisabledResizeHandles, DraggedWidgetManagerProps, ToolSettingsWidgetManagerProps, ToolSettingsWidgetMode, WidgetManagerProps, WidgetZoneId,\r\n ZoneManagerProps, ZoneTargetType,\r\n} from \"@itwin/appui-layout-react\";\r\nimport { ConfigurableUiControlType } from \"../configurableui/ConfigurableUiControl\";\r\nimport { TargetChangeHandler, WidgetChangeHandler, ZoneDefProvider } from \"../frontstage/FrontstageComposer\";\r\nimport { FrontstageManager } from \"../frontstage/FrontstageManager\";\r\nimport { StatusBarWidgetControl } from \"../statusbar/StatusBarWidgetControl\";\r\nimport { WidgetDef, WidgetStateChangedEventArgs, WidgetType } from \"../widgets/WidgetDef\";\r\nimport { WidgetProps } from \"../widgets/WidgetProps\";\r\nimport { WidgetTabs } from \"../widgets/WidgetStack\";\r\nimport { FrameworkZone } from \"./FrameworkZone\";\r\nimport { StatusBarZone } from \"./StatusBarZone\";\r\nimport { ToolSettingsZone } from \"./toolsettings/ToolSettingsZone\";\r\nimport { ZoneDef, ZoneState } from \"./ZoneDef\";\r\n\r\n/** Enum for [[Zone]] Location.\r\n * @public\r\n */\r\nexport enum ZoneLocation {\r\n TopLeft = 1,\r\n TopCenter = 2,\r\n TopRight = 3,\r\n CenterLeft = 4,\r\n CenterRight = 6,\r\n BottomLeft = 7,\r\n BottomCenter = 8,\r\n BottomRight = 9,\r\n}\r\n\r\n/** Properties of a [[Zone]] component\r\n * @public\r\n */\r\nexport interface ZoneProps extends CommonProps {\r\n /** Default Zone state. Controls how the Zone is initially displayed. Defaults to ZoneState.Open. */\r\n defaultState?: ZoneState;\r\n /** Indicates if other Zones may be merged with this Zone. Defaults to false. */\r\n allowsMerging?: boolean;\r\n /** Any application data to attach to this Zone. */\r\n applicationData?: any;\r\n /** Indicates with which other zone to merge. */\r\n mergeWithZone?: ZoneLocation;\r\n /** Describes preferred initial width of the zone. */\r\n initialWidth?: number;\r\n\r\n /** Properties for the Widgets in this Zone.\r\n * @note Stable `WidgetProps[\"id\"]` is generated if id is not provided to correctly save and restore App layout.\r\n * [[Frontstage]] version must be increased when Widget location is changed or new widgets are added/removed.\r\n */\r\n widgets?: Array<React.ReactElement<WidgetProps>>;\r\n\r\n /** @internal */\r\n runtimeProps?: ZoneRuntimeProps;\r\n}\r\n\r\n/** Runtime Properties for the [[Zone]] component.\r\n * @internal\r\n */\r\nexport interface ZoneRuntimeProps {\r\n activeTabIndex: number;\r\n disabledResizeHandles: DisabledResizeHandles | undefined;\r\n draggedWidget: DraggedWidgetManagerProps | undefined;\r\n dropTarget: ZoneTargetType | undefined;\r\n getWidgetContentRef: (id: WidgetZoneId) => React.Ref<HTMLDivElement>;\r\n ghostOutline: RectangleProps | undefined;\r\n isHidden: boolean;\r\n isInFooterMode: boolean;\r\n openWidgetId: WidgetZoneId | undefined;\r\n targetChangeHandler: TargetChangeHandler;\r\n widget: WidgetManagerProps | undefined;\r\n widgetTabs: WidgetTabs;\r\n widgetChangeHandler: WidgetChangeHandler;\r\n zoneDefProvider: ZoneDefProvider;\r\n zoneDef: ZoneDef;\r\n zone: ZoneManagerProps;\r\n}\r\n\r\n/** @internal */\r\nexport function getStableWidgetProps(widgetProps: WidgetProps, stableId: string) {\r\n let props = widgetProps;\r\n if (props.id === undefined)\r\n props = {\r\n ...props,\r\n id: stableId,\r\n };\r\n return props;\r\n}\r\n\r\n/** Zone React component.\r\n * A Zone is a standard area on the screen for users to read and interact with data applicable to the current task. Each Zone has a defined purpose.\r\n * @public\r\n */\r\nexport class Zone extends React.Component<ZoneProps> {\r\n constructor(props: ZoneProps) {\r\n super(props);\r\n }\r\n\r\n public static initializeZoneDef(zoneDef: ZoneDef, props: ZoneProps): void {\r\n zoneDef.initializeFromProps(props);\r\n\r\n // istanbul ignore else\r\n if (props.widgets) {\r\n props.widgets.forEach((widgetNode, index) => {\r\n // istanbul ignore if\r\n if (!React.isValidElement(widgetNode))\r\n return;\r\n\r\n const stableId = `uifw-z-${ZoneLocation[zoneDef.zoneLocation]}-${index}`;\r\n const stableProps = getStableWidgetProps(widgetNode.props, stableId);\r\n const widgetDef = new WidgetDef(stableProps);\r\n zoneDef.addWidgetDef(widgetDef);\r\n });\r\n }\r\n }\r\n\r\n public override componentDidMount(): void {\r\n FrontstageManager.onWidgetStateChangedEvent.addListener(this._handleWidgetStateChangedEvent);\r\n }\r\n\r\n public override componentWillUnmount(): void {\r\n FrontstageManager.onWidgetStateChangedEvent.removeListener(this._handleWidgetStateChangedEvent);\r\n }\r\n\r\n public override render(): React.ReactNode {\r\n const { runtimeProps } = this.props;\r\n\r\n if (!runtimeProps)\r\n return null;\r\n\r\n const { zoneDef } = runtimeProps;\r\n\r\n let widgetElement: React.ReactNode;\r\n // istanbul ignore else\r\n if (runtimeProps.zone.widgets.length === 1) {\r\n if (zoneDef.isToolSettings && isToolSettingsWidgetManagerProps(runtimeProps.widget) && runtimeProps.widget.mode === ToolSettingsWidgetMode.TitleBar) {\r\n const widgetDef = zoneDef.getSingleWidgetDef();\r\n const isClosed = widgetDef ? (widgetDef.state === WidgetState.Closed || widgetDef.state === WidgetState.Hidden)\r\n : /* istanbul ignore next */ false;\r\n return (\r\n <ToolSettingsZone\r\n className={this.props.className}\r\n dropTarget={runtimeProps.dropTarget}\r\n getWidgetContentRef={runtimeProps.getWidgetContentRef}\r\n isClosed={isClosed}\r\n isHidden={runtimeProps.isHidden}\r\n lastPosition={runtimeProps.draggedWidget && /* istanbul ignore next */ runtimeProps.draggedWidget.lastPosition}\r\n style={this.props.style}\r\n targetChangeHandler={runtimeProps.targetChangeHandler}\r\n targetedBounds={runtimeProps.ghostOutline}\r\n widgetChangeHandler={runtimeProps.widgetChangeHandler}\r\n zone={runtimeProps.zone}\r\n />\r\n );\r\n } else if (zoneDef.isStatusBar) {\r\n // istanbul ignore next\r\n if (runtimeProps.zone.id !== 8)\r\n throw new TypeError();\r\n\r\n let widgetControl: StatusBarWidgetControl | undefined;\r\n const widgetDef = zoneDef.getSingleWidgetDef();\r\n\r\n // istanbul ignore else\r\n if (widgetDef)\r\n widgetControl = widgetDef.getWidgetControl(ConfigurableUiControlType.StatusBarWidget) as StatusBarWidgetControl;\r\n\r\n return (\r\n <StatusBarZone\r\n className={this.props.className}\r\n dropTarget={runtimeProps.dropTarget}\r\n isHidden={runtimeProps.isHidden}\r\n isInFooterMode={runtimeProps.isInFooterMode}\r\n style={this.props.style}\r\n targetChangeHandler={runtimeProps.targetChangeHandler}\r\n targetedBounds={runtimeProps.ghostOutline}\r\n widgetChangeHandler={runtimeProps.widgetChangeHandler}\r\n widgetControl={widgetControl}\r\n zoneProps={runtimeProps.zone}\r\n />\r\n );\r\n }\r\n\r\n const zDef = runtimeProps.zoneDefProvider.getZoneDef(runtimeProps.zone.widgets[0]);\r\n // istanbul ignore if\r\n if (!zDef) {\r\n widgetElement = null;\r\n } else if (zDef.widgetCount === 1 && zDef.widgetDefs[0].widgetType !== WidgetType.Rectangular) {\r\n /** Return free-form nzWidgetProps */\r\n const widgetDef = zDef.widgetDefs[0];\r\n widgetElement = (widgetDef.isVisible) ? widgetDef.reactNode : /* istanbul ignore next */ null;\r\n }\r\n }\r\n\r\n return (\r\n <FrameworkZone\r\n activeTabIndex={runtimeProps.activeTabIndex}\r\n className={this.props.className}\r\n disabledResizeHandles={runtimeProps.disabledResizeHandles}\r\n draggedWidget={runtimeProps.draggedWidget}\r\n dropTarget={runtimeProps.dropTarget}\r\n fillZone={zoneDef.shouldFillZone}\r\n getWidgetContentRef={runtimeProps.getWidgetContentRef}\r\n isHidden={runtimeProps.isHidden}\r\n isInFooterMode={runtimeProps.isInFooterMode}\r\n openWidgetId={runtimeProps.openWidgetId}\r\n style={this.props.style}\r\n targetedBounds={runtimeProps.ghostOutline}\r\n targetChangeHandler={runtimeProps.targetChangeHandler}\r\n widget={runtimeProps.widget}\r\n widgetElement={widgetElement}\r\n widgetTabs={runtimeProps.widgetTabs}\r\n widgetChangeHandler={runtimeProps.widgetChangeHandler}\r\n zone={runtimeProps.zone}\r\n />\r\n );\r\n }\r\n\r\n private _handleWidgetStateChangedEvent = (args: WidgetStateChangedEventArgs) => {\r\n const runtimeProps = this.props.runtimeProps;\r\n if (!runtimeProps)\r\n return;\r\n\r\n const widgetDef = args.widgetDef;\r\n const id = this.getWidgetIdForDef(widgetDef);\r\n if (!id)\r\n return;\r\n\r\n const zoneDef = runtimeProps.zoneDefProvider.getZoneDef(id);\r\n // istanbul ignore if\r\n if (!zoneDef)\r\n return;\r\n\r\n const visibleWidgets = zoneDef.widgetDefs.filter((wd) => wd.isVisible || wd === widgetDef);\r\n for (let index = 0; index < visibleWidgets.length; index++) {\r\n const wDef = visibleWidgets[index];\r\n if (wDef !== widgetDef)\r\n continue;\r\n\r\n if (widgetDef.state === WidgetState.Hidden && index < runtimeProps.activeTabIndex && id === runtimeProps.openWidgetId) {\r\n // Need to decrease active tab index, since removed tab was rendered before active tab and we want to maintain active tab.\r\n runtimeProps.widgetChangeHandler.handleTabClick(id, runtimeProps.activeTabIndex - 1);\r\n break;\r\n }\r\n runtimeProps.widgetChangeHandler.handleWidgetStateChange(id, index, widgetDef.state === WidgetState.Open);\r\n break;\r\n }\r\n };\r\n\r\n private getWidgetIdForDef(widgetDef: WidgetDef): WidgetZoneId | undefined {\r\n // istanbul ignore if\r\n if (!this.props.runtimeProps)\r\n return undefined;\r\n\r\n for (const wId of this.props.runtimeProps.zone.widgets) {\r\n const zoneDef = this.props.runtimeProps.zoneDefProvider.getZoneDef(wId);\r\n if (zoneDef && zoneDef.widgetDefs.some((wDef: WidgetDef) => wDef === widgetDef))\r\n return wId;\r\n }\r\n\r\n return undefined;\r\n }\r\n}\r\n\r\n/** @internal */\r\nexport const isToolSettingsWidgetManagerProps = (props: WidgetManagerProps | undefined): props is ToolSettingsWidgetManagerProps => {\r\n return !!props && props.id === 2;\r\n};\r\n"]}
|
|
1
|
+
{"version":3,"file":"Zone.js","sourceRoot":"","sources":["../../../../src/appui-react/zones/Zone.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F,4CAA4C;AAC5C;;GAEG;;;AAEH,+BAA+B;AAC/B,0DAAoD;AAEpD,kEAGmC;AACnC,mFAAoF;AAEpF,uEAAoE;AAEpE,oDAA0F;AAG1F,mDAAgD;AAChD,mDAAgD;AAChD,sEAAmE;AAGnE;;GAEG;AACH,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qDAAW,CAAA;IACX,yDAAa,CAAA;IACb,uDAAY,CAAA;IACZ,2DAAc,CAAA;IACd,6DAAe,CAAA;IACf,2DAAc,CAAA;IACd,+DAAgB,CAAA;IAChB,6DAAe,CAAA;AACjB,CAAC,EATW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QASvB;AAiDD,gBAAgB;AAChB,SAAgB,oBAAoB,CAAC,WAAwB,EAAE,QAAgB;IAC7E,IAAI,KAAK,GAAG,WAAW,CAAC;IACxB,IAAI,KAAK,CAAC,EAAE,KAAK,SAAS;QACxB,KAAK,GAAG;YACN,GAAG,KAAK;YACR,E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AA2C,EAAE;IACjI,OAAO,CAAC,CAAC,KAAK,IAAI,KAAK,CAAC,EAAE,KAAK,CAAC,CAAC;AACnC,CAAC,CAAC;AAFW,QAAA,gCAAgC,oCAE3C","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/* eslint-disable deprecation/deprecation */\r\n/** @packageDocumentation\r\n * @module Zone\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { WidgetState } from \"@itwin/appui-abstract\";\r\nimport { CommonProps, RectangleProps } from \"@itwin/core-react\";\r\nimport {\r\n DisabledResizeHandles, DraggedWidgetManagerProps, ToolSettingsWidgetManagerProps, ToolSettingsWidgetMode, WidgetManagerProps, WidgetZoneId,\r\n ZoneManagerProps, ZoneTargetType,\r\n} from \"@itwin/appui-layout-react\";\r\nimport { ConfigurableUiControlType } from \"../configurableui/ConfigurableUiControl\";\r\nimport { TargetChangeHandler, WidgetChangeHandler, ZoneDefProvider } from \"../frontstage/FrontstageComposer\";\r\nimport { FrontstageManager } from \"../frontstage/FrontstageManager\";\r\nimport { StatusBarWidgetControl } from \"../statusbar/StatusBarWidgetControl\";\r\nimport { WidgetDef, WidgetStateChangedEventArgs, WidgetType } from \"../widgets/WidgetDef\";\r\nimport { WidgetProps } from \"../widgets/WidgetProps\";\r\nimport { WidgetTabs } from \"../widgets/WidgetStack\";\r\nimport { FrameworkZone } from \"./FrameworkZone\";\r\nimport { StatusBarZone } from \"./StatusBarZone\";\r\nimport { ToolSettingsZone } from \"./toolsettings/ToolSettingsZone\";\r\nimport { ZoneDef, ZoneState } from \"./ZoneDef\";\r\n\r\n/** Enum for [[Zone]] Location.\r\n * @public @deprecated\r\n */\r\nexport enum ZoneLocation {\r\n TopLeft = 1,\r\n TopCenter = 2,\r\n TopRight = 3,\r\n CenterLeft = 4,\r\n CenterRight = 6,\r\n BottomLeft = 7,\r\n BottomCenter = 8,\r\n BottomRight = 9,\r\n}\r\n\r\n/** Properties of a [[Zone]] component\r\n * @public\r\n */\r\nexport interface ZoneProps extends CommonProps {\r\n /** Default Zone state. Controls how the Zone is initially displayed. Defaults to ZoneState.Open. */\r\n defaultState?: ZoneState;\r\n /** Indicates if other Zones may be merged with this Zone. Defaults to false. */\r\n allowsMerging?: boolean;\r\n /** Any application data to attach to this Zone. */\r\n applicationData?: any;\r\n /** Indicates with which other zone to merge. */\r\n mergeWithZone?: ZoneLocation;\r\n /** Describes preferred initial width of the zone. */\r\n initialWidth?: number;\r\n\r\n /** Properties for the Widgets in this Zone.\r\n * @note Stable `WidgetProps[\"id\"]` is generated if id is not provided to correctly save and restore App layout.\r\n * [[Frontstage]] version must be increased when Widget location is changed or new widgets are added/removed.\r\n */\r\n widgets?: Array<React.ReactElement<WidgetProps>>;\r\n\r\n /** @internal */\r\n runtimeProps?: ZoneRuntimeProps;\r\n}\r\n\r\n/** Runtime Properties for the [[Zone]] component.\r\n * @internal\r\n */\r\nexport interface ZoneRuntimeProps {\r\n activeTabIndex: number;\r\n disabledResizeHandles: DisabledResizeHandles | undefined;\r\n draggedWidget: DraggedWidgetManagerProps | undefined;\r\n dropTarget: ZoneTargetType | undefined; // eslint-disable-line deprecation/deprecation\r\n getWidgetContentRef: (id: WidgetZoneId) => React.Ref<HTMLDivElement>; // eslint-disable-line deprecation/deprecation\r\n ghostOutline: RectangleProps | undefined;\r\n isHidden: boolean;\r\n isInFooterMode: boolean;\r\n openWidgetId: WidgetZoneId | undefined; // eslint-disable-line deprecation/deprecation\r\n targetChangeHandler: TargetChangeHandler; // eslint-disable-line deprecation/deprecation\r\n widget: WidgetManagerProps | undefined;\r\n widgetTabs: WidgetTabs;\r\n widgetChangeHandler: WidgetChangeHandler; // eslint-disable-line deprecation/deprecation\r\n zoneDefProvider: ZoneDefProvider;\r\n zoneDef: ZoneDef;\r\n zone: ZoneManagerProps;\r\n}\r\n\r\n/** @internal */\r\nexport function getStableWidgetProps(widgetProps: WidgetProps, stableId: string) {\r\n let props = widgetProps;\r\n if (props.id === undefined)\r\n props = {\r\n ...props,\r\n id: stableId,\r\n };\r\n return props;\r\n}\r\n\r\n/** Zone React component.\r\n * A Zone is a standard area on the screen for users to read and interact with data applicable to the current task. Each Zone has a defined purpose.\r\n * @public\r\n */\r\nexport class Zone extends React.Component<ZoneProps> {\r\n constructor(props: ZoneProps) {\r\n super(props);\r\n }\r\n\r\n public static initializeZoneDef(zoneDef: ZoneDef, props: ZoneProps): void {\r\n zoneDef.initializeFromProps(props);\r\n\r\n // istanbul ignore else\r\n if (props.widgets) {\r\n props.widgets.forEach((widgetNode, index) => {\r\n // istanbul ignore if\r\n if (!React.isValidElement(widgetNode))\r\n return;\r\n\r\n const stableId = `uifw-z-${ZoneLocation[zoneDef.zoneLocation]}-${index}`;\r\n const stableProps = getStableWidgetProps(widgetNode.props, stableId);\r\n const widgetDef = new WidgetDef(stableProps);\r\n zoneDef.addWidgetDef(widgetDef);\r\n });\r\n }\r\n }\r\n\r\n public override componentDidMount(): void {\r\n FrontstageManager.onWidgetStateChangedEvent.addListener(this._handleWidgetStateChangedEvent);\r\n }\r\n\r\n public override componentWillUnmount(): void {\r\n FrontstageManager.onWidgetStateChangedEvent.removeListener(this._handleWidgetStateChangedEvent);\r\n }\r\n\r\n public override render(): React.ReactNode {\r\n const { runtimeProps } = this.props;\r\n\r\n if (!runtimeProps)\r\n return null;\r\n\r\n const { zoneDef } = runtimeProps;\r\n\r\n let widgetElement: React.ReactNode;\r\n // istanbul ignore else\r\n if (runtimeProps.zone.widgets.length === 1) {\r\n if (zoneDef.isToolSettings && isToolSettingsWidgetManagerProps(runtimeProps.widget) && runtimeProps.widget.mode === ToolSettingsWidgetMode.TitleBar) {\r\n const widgetDef = zoneDef.getSingleWidgetDef();\r\n const isClosed = widgetDef ? (widgetDef.state === WidgetState.Closed || widgetDef.state === WidgetState.Hidden)\r\n : /* istanbul ignore next */ false;\r\n return (\r\n <ToolSettingsZone\r\n className={this.props.className}\r\n dropTarget={runtimeProps.dropTarget}\r\n getWidgetContentRef={runtimeProps.getWidgetContentRef}\r\n isClosed={isClosed}\r\n isHidden={runtimeProps.isHidden}\r\n lastPosition={runtimeProps.draggedWidget && /* istanbul ignore next */ runtimeProps.draggedWidget.lastPosition}\r\n style={this.props.style}\r\n targetChangeHandler={runtimeProps.targetChangeHandler}\r\n targetedBounds={runtimeProps.ghostOutline}\r\n widgetChangeHandler={runtimeProps.widgetChangeHandler}\r\n zone={runtimeProps.zone}\r\n />\r\n );\r\n } else if (zoneDef.isStatusBar) {\r\n // istanbul ignore next\r\n if (runtimeProps.zone.id !== 8)\r\n throw new TypeError();\r\n\r\n let widgetControl: StatusBarWidgetControl | undefined;\r\n const widgetDef = zoneDef.getSingleWidgetDef();\r\n\r\n // istanbul ignore else\r\n if (widgetDef)\r\n widgetControl = widgetDef.getWidgetControl(ConfigurableUiControlType.StatusBarWidget) as StatusBarWidgetControl;\r\n\r\n return (\r\n <StatusBarZone\r\n className={this.props.className}\r\n dropTarget={runtimeProps.dropTarget}\r\n isHidden={runtimeProps.isHidden}\r\n isInFooterMode={runtimeProps.isInFooterMode}\r\n style={this.props.style}\r\n targetChangeHandler={runtimeProps.targetChangeHandler}\r\n targetedBounds={runtimeProps.ghostOutline}\r\n widgetChangeHandler={runtimeProps.widgetChangeHandler}\r\n widgetControl={widgetControl}\r\n zoneProps={runtimeProps.zone}\r\n />\r\n );\r\n }\r\n\r\n const zDef = runtimeProps.zoneDefProvider.getZoneDef(runtimeProps.zone.widgets[0]);\r\n // istanbul ignore if\r\n if (!zDef) {\r\n widgetElement = null;\r\n } else if (zDef.widgetCount === 1 && zDef.widgetDefs[0].widgetType !== WidgetType.Rectangular) {\r\n /** Return free-form nzWidgetProps */\r\n const widgetDef = zDef.widgetDefs[0];\r\n widgetElement = (widgetDef.isVisible) ? widgetDef.reactNode : /* istanbul ignore next */ null;\r\n }\r\n }\r\n\r\n return (\r\n <FrameworkZone\r\n activeTabIndex={runtimeProps.activeTabIndex}\r\n className={this.props.className}\r\n disabledResizeHandles={runtimeProps.disabledResizeHandles}\r\n draggedWidget={runtimeProps.draggedWidget}\r\n dropTarget={runtimeProps.dropTarget}\r\n fillZone={zoneDef.shouldFillZone}\r\n getWidgetContentRef={runtimeProps.getWidgetContentRef}\r\n isHidden={runtimeProps.isHidden}\r\n isInFooterMode={runtimeProps.isInFooterMode}\r\n openWidgetId={runtimeProps.openWidgetId}\r\n style={this.props.style}\r\n targetedBounds={runtimeProps.ghostOutline}\r\n targetChangeHandler={runtimeProps.targetChangeHandler}\r\n widget={runtimeProps.widget}\r\n widgetElement={widgetElement}\r\n widgetTabs={runtimeProps.widgetTabs}\r\n widgetChangeHandler={runtimeProps.widgetChangeHandler}\r\n zone={runtimeProps.zone}\r\n />\r\n );\r\n }\r\n\r\n private _handleWidgetStateChangedEvent = (args: WidgetStateChangedEventArgs) => {\r\n const runtimeProps = this.props.runtimeProps;\r\n if (!runtimeProps)\r\n return;\r\n\r\n const widgetDef = args.widgetDef;\r\n const id = this.getWidgetIdForDef(widgetDef);\r\n if (!id)\r\n return;\r\n\r\n const zoneDef = runtimeProps.zoneDefProvider.getZoneDef(id);\r\n // istanbul ignore if\r\n if (!zoneDef)\r\n return;\r\n\r\n const visibleWidgets = zoneDef.widgetDefs.filter((wd) => wd.isVisible || wd === widgetDef);\r\n for (let index = 0; index < visibleWidgets.length; index++) {\r\n const wDef = visibleWidgets[index];\r\n if (wDef !== widgetDef)\r\n continue;\r\n\r\n if (widgetDef.state === WidgetState.Hidden && index < runtimeProps.activeTabIndex && id === runtimeProps.openWidgetId) {\r\n // Need to decrease active tab index, since removed tab was rendered before active tab and we want to maintain active tab.\r\n runtimeProps.widgetChangeHandler.handleTabClick(id, runtimeProps.activeTabIndex - 1);\r\n break;\r\n }\r\n runtimeProps.widgetChangeHandler.handleWidgetStateChange(id, index, widgetDef.state === WidgetState.Open);\r\n break;\r\n }\r\n };\r\n\r\n private getWidgetIdForDef(widgetDef: WidgetDef): WidgetZoneId | undefined { // eslint-disable-line deprecation/deprecation\r\n // istanbul ignore if\r\n if (!this.props.runtimeProps)\r\n return undefined;\r\n\r\n for (const wId of this.props.runtimeProps.zone.widgets) {\r\n const zoneDef = this.props.runtimeProps.zoneDefProvider.getZoneDef(wId);\r\n if (zoneDef && zoneDef.widgetDefs.some((wDef: WidgetDef) => wDef === widgetDef))\r\n return wId;\r\n }\r\n\r\n return undefined;\r\n }\r\n}\r\n\r\n/** @internal */\r\nexport const isToolSettingsWidgetManagerProps = (props: WidgetManagerProps | undefined): props is ToolSettingsWidgetManagerProps => {\r\n return !!props && props.id === 2;\r\n};\r\n"]}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { WidgetHost } from "../widgets/WidgetHost";
|
|
5
5
|
import { ZoneLocation, ZoneProps } from "./Zone";
|
|
6
6
|
/** Zone State enum.
|
|
7
|
-
* @public
|
|
7
|
+
* @public @deprecated
|
|
8
8
|
*/
|
|
9
9
|
export declare enum ZoneState {
|
|
10
10
|
Off = 0,
|
|
@@ -24,13 +24,13 @@ export declare class ZoneDef extends WidgetHost {
|
|
|
24
24
|
private _applicationData?;
|
|
25
25
|
private _mergeWithZone?;
|
|
26
26
|
private _zoneLocation;
|
|
27
|
-
/** Zone state. Defaults to ZoneState.Open. */
|
|
27
|
+
/** Zone state. Defaults to ZoneState.Open. @deprecated */
|
|
28
28
|
get zoneState(): ZoneState;
|
|
29
|
-
/** Indicates if other Zones may be merged with this Zone. Defaults to false.
|
|
29
|
+
/** Indicates if other Zones may be merged with this Zone. Defaults to false. @deprecated */
|
|
30
30
|
get allowsMerging(): boolean;
|
|
31
31
|
/** Any application data to attach to this Zone. */
|
|
32
32
|
get applicationData(): any | undefined;
|
|
33
|
-
/** Indicates with which other zone to merge. */
|
|
33
|
+
/** Indicates with which other zone to merge. @deprecated */
|
|
34
34
|
get mergeWithZone(): ZoneLocation | undefined;
|
|
35
35
|
/** The Zone's location.
|
|
36
36
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZoneDef.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/zones/ZoneDef.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ZoneDef.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/zones/ZoneDef.ts"],"names":[],"mappings":"AAKA;;GAEG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD;;GAEG;AACH,oBAAY,SAAS;IACnB,GAAG,IAAA;IACH,SAAS,IAAA;IACT,IAAI,IAAA;IACJ,KAAK,IAAA;IACL,QAAQ,IAAA;CACT;AAED;;;GAGG;AACH,qBAAa,OAAQ,SAAQ,UAAU;IACrC,OAAO,CAAC,aAAa,CAAiC;IACtD,OAAO,CAAC,UAAU,CAA6B;IAC/C,OAAO,CAAC,cAAc,CAAkB;IACxC,OAAO,CAAC,gBAAgB,CAAC,CAAM;IAC/B,OAAO,CAAC,cAAc,CAAC,CAAe;IACtC,OAAO,CAAC,aAAa,CAAsC;IAE3D,2DAA2D;IAC3D,IAAW,SAAS,IAAI,SAAS,CAA4B;IAC7D,4FAA4F;IAC5F,IAAW,aAAa,IAAI,OAAO,CAAgC;IACnE,mDAAmD;IACnD,IAAW,eAAe,IAAI,GAAG,GAAG,SAAS,CAAkC;IAC/E,4DAA4D;IAC5D,IAAW,aAAa,IAAI,YAAY,GAAG,SAAS,CAAgC;IAEpF;;OAEG;IACH,IAAW,YAAY,IAAI,YAAY,CAA+B;IACtE,IAAW,YAAY,CAAC,YAAY,EAAE,YAAY,EAAwC;IAE1F,0BAA0B;IAC1B,IAAW,YAAY,IAAI,MAAM,GAAG,SAAS,CAE5C;IAED;OACG;;IAKH,oDAAoD;IACpD,IAAW,cAAc,IAAI,OAAO,CAKnC;IAED,qDAAqD;IACrD,IAAW,WAAW,IAAI,OAAO,CAKhC;IAED,8DAA8D;IAC9D,IAAW,cAAc,IAAI,OAAO,CAEnC;IAED,gBAAgB;IACT,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS;IAIhD,gBAAgB;IACT,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;CAWnD"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
4
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
5
|
*--------------------------------------------------------------------------------------------*/
|
|
6
|
+
/* eslint-disable deprecation/deprecation */
|
|
6
7
|
/** @packageDocumentation
|
|
7
8
|
* @module Zone
|
|
8
9
|
*/
|
|
@@ -11,7 +12,7 @@ exports.ZoneDef = exports.ZoneState = void 0;
|
|
|
11
12
|
const WidgetHost_1 = require("../widgets/WidgetHost");
|
|
12
13
|
const Zone_1 = require("./Zone");
|
|
13
14
|
/** Zone State enum.
|
|
14
|
-
* @public
|
|
15
|
+
* @public @deprecated
|
|
15
16
|
*/
|
|
16
17
|
var ZoneState;
|
|
17
18
|
(function (ZoneState) {
|
|
@@ -35,13 +36,13 @@ class ZoneDef extends WidgetHost_1.WidgetHost {
|
|
|
35
36
|
this._allowsMerging = false;
|
|
36
37
|
this._zoneLocation = Zone_1.ZoneLocation.TopLeft;
|
|
37
38
|
}
|
|
38
|
-
/** Zone state. Defaults to ZoneState.Open. */
|
|
39
|
+
/** Zone state. Defaults to ZoneState.Open. @deprecated */
|
|
39
40
|
get zoneState() { return this._zoneState; }
|
|
40
|
-
/** Indicates if other Zones may be merged with this Zone. Defaults to false.
|
|
41
|
+
/** Indicates if other Zones may be merged with this Zone. Defaults to false. @deprecated */
|
|
41
42
|
get allowsMerging() { return this._allowsMerging; }
|
|
42
43
|
/** Any application data to attach to this Zone. */
|
|
43
44
|
get applicationData() { return this._applicationData; }
|
|
44
|
-
/** Indicates with which other zone to merge. */
|
|
45
|
+
/** Indicates with which other zone to merge. @deprecated */
|
|
45
46
|
get mergeWithZone() { return this._mergeWithZone; }
|
|
46
47
|
/** The Zone's location.
|
|
47
48
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZoneDef.js","sourceRoot":"","sources":["../../../../src/appui-react/zones/ZoneDef.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAGH,sDAAmD;AACnD,iCAAiD;AAEjD;;GAEG;AACH,IAAY,SAMX;AAND,WAAY,SAAS;IACnB,uCAAG,CAAA;IACH,mDAAS,CAAA;IACT,yCAAI,CAAA;IACJ,2CAAK,CAAA;IACL,iDAAQ,CAAA;AACV,CAAC,EANW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAMpB;AAED;;;GAGG;AACH,MAAa,OAAQ,SAAQ,uBAAU;IA4BrC;OACG;IACH;QACE,KAAK,EAAE,CAAC;QA9BF,kBAAa,GAAuB,SAAS,CAAC;QAC9C,eAAU,GAAc,SAAS,CAAC,IAAI,CAAC;QACvC,mBAAc,GAAY,KAAK,CAAC;QAGhC,kBAAa,GAAiB,mBAAY,CAAC,OAAO,CAAC;IA0B3D,CAAC;IAxBD
|
|
1
|
+
{"version":3,"file":"ZoneDef.js","sourceRoot":"","sources":["../../../../src/appui-react/zones/ZoneDef.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F,4CAA4C;AAC5C;;GAEG;;;AAGH,sDAAmD;AACnD,iCAAiD;AAEjD;;GAEG;AACH,IAAY,SAMX;AAND,WAAY,SAAS;IACnB,uCAAG,CAAA;IACH,mDAAS,CAAA;IACT,yCAAI,CAAA;IACJ,2CAAK,CAAA;IACL,iDAAQ,CAAA;AACV,CAAC,EANW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAMpB;AAED;;;GAGG;AACH,MAAa,OAAQ,SAAQ,uBAAU;IA4BrC;OACG;IACH;QACE,KAAK,EAAE,CAAC;QA9BF,kBAAa,GAAuB,SAAS,CAAC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C;IAED,gBAAgB;IACT,eAAe,CAAC,KAAyB;QAC9C,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;IAC7B,CAAC;IAED,gBAAgB;IACT,mBAAmB,CAAC,KAAgB;QACzC,IAAI,KAAK,CAAC,YAAY;YACpB,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,YAAY,CAAC;QACvC,IAAI,KAAK,CAAC,aAAa,KAAK,SAAS;YACnC,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC,aAAa,CAAC;QAC5C,IAAI,KAAK,CAAC,eAAe,KAAK,SAAS;YACrC,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC,eAAe,CAAC;QAChD,IAAI,KAAK,CAAC,aAAa,KAAK,SAAS;YACnC,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC,aAAa,CAAC;QAC5C,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IAC3C,CAAC;CACF;AAxED,0BAwEC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/* eslint-disable deprecation/deprecation */\r\n/** @packageDocumentation\r\n * @module Zone\r\n */\r\n\r\nimport { WidgetDef } from \"../widgets/WidgetDef\";\r\nimport { WidgetHost } from \"../widgets/WidgetHost\";\r\nimport { ZoneLocation, ZoneProps } from \"./Zone\";\r\n\r\n/** Zone State enum.\r\n * @public @deprecated\r\n */\r\nexport enum ZoneState {\r\n Off,\r\n Minimized,\r\n Open,\r\n Popup,\r\n Floating,\r\n}\r\n\r\n/**\r\n * A ZoneDef represents each zone within a Frontstage.\r\n * @public\r\n */\r\nexport class ZoneDef extends WidgetHost {\r\n private _initialWidth: number | undefined = undefined;\r\n private _zoneState: ZoneState = ZoneState.Open;\r\n private _allowsMerging: boolean = false;\r\n private _applicationData?: any;\r\n private _mergeWithZone?: ZoneLocation;\r\n private _zoneLocation: ZoneLocation = ZoneLocation.TopLeft;\r\n\r\n /** Zone state. Defaults to ZoneState.Open. @deprecated */\r\n public get zoneState(): ZoneState { return this._zoneState; }\r\n /** Indicates if other Zones may be merged with this Zone. Defaults to false. @deprecated */\r\n public get allowsMerging(): boolean { return this._allowsMerging; }\r\n /** Any application data to attach to this Zone. */\r\n public get applicationData(): any | undefined { return this._applicationData; }\r\n /** Indicates with which other zone to merge. @deprecated */\r\n public get mergeWithZone(): ZoneLocation | undefined { return this._mergeWithZone; }\r\n\r\n /** The Zone's location.\r\n * @internal\r\n */\r\n public get zoneLocation(): ZoneLocation { return this._zoneLocation; }\r\n public set zoneLocation(zoneLocation: ZoneLocation) { this._zoneLocation = zoneLocation; }\r\n\r\n /** Initial zone width. */\r\n public get initialWidth(): number | undefined {\r\n return this._initialWidth;\r\n }\r\n\r\n /** Constructor for ZoneDef.\r\n */\r\n constructor() {\r\n super();\r\n }\r\n\r\n /** Determines if this Zone is for Tool Settings. */\r\n public get isToolSettings(): boolean {\r\n const singleWidgetDef = this.getSingleWidgetDef();\r\n if (singleWidgetDef)\r\n return singleWidgetDef.isToolSettings;\r\n return false;\r\n }\r\n\r\n /** Determines if this Zone is for the Status Bar. */\r\n public get isStatusBar(): boolean {\r\n const singleWidgetDef = this.getSingleWidgetDef();\r\n if (singleWidgetDef)\r\n return singleWidgetDef.isStatusBar;\r\n return false;\r\n }\r\n\r\n /** Determines if the Zone should fill the available space. */\r\n public get shouldFillZone(): boolean {\r\n return this.widgetDefs.some((widgetDef: WidgetDef) => widgetDef.fillZone);\r\n }\r\n\r\n /** @internal */\r\n public setInitialWidth(width: number | undefined) {\r\n this._initialWidth = width;\r\n }\r\n\r\n /** @internal */\r\n public initializeFromProps(props: ZoneProps): void {\r\n if (props.defaultState)\r\n this._zoneState = props.defaultState;\r\n if (props.allowsMerging !== undefined)\r\n this._allowsMerging = props.allowsMerging;\r\n if (props.applicationData !== undefined)\r\n this._applicationData = props.applicationData;\r\n if (props.mergeWithZone !== undefined)\r\n this._mergeWithZone = props.mergeWithZone;\r\n this.setInitialWidth(props.initialWidth);\r\n }\r\n}\r\n"]}
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
* @module ToolSettings
|
|
3
3
|
*/
|
|
4
4
|
import { InteractiveTool } from "@itwin/core-frontend";
|
|
5
|
-
import { DialogItem, DialogPropertySyncItem } from "@itwin/appui-abstract";
|
|
6
|
-
import { UiEvent } from "@itwin/core-react";
|
|
5
|
+
import { DialogItem, DialogPropertySyncItem, UiEvent } from "@itwin/appui-abstract";
|
|
7
6
|
/** Sync Tool Settings Properties Event Args interface.
|
|
8
7
|
* @public
|
|
9
8
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolSettingsManager.d.ts","sourceRoot":"","sources":["../../../../../src/appui-react/zones/toolsettings/ToolSettingsManager.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAa,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,sBAAsB,EAAE,
|
|
1
|
+
{"version":3,"file":"ToolSettingsManager.d.ts","sourceRoot":"","sources":["../../../../../src/appui-react/zones/toolsettings/ToolSettingsManager.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAa,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,sBAAsB,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAQpF;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAClD,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,sBAAsB,EAAE,CAAC;CAC1C;AAED;;GAEG;AACH,qBAAa,+BAAgC,SAAQ,OAAO,CAAC,mCAAmC,CAAC;CAAI;AAMrG;;GAEG;AACH,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,MAAM,CAAC,+BAA+B,CAAS;IACvD,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAc;IACnD,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAc;IAC7C,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAc;IAGnD,OAAO,CAAC,MAAM,CAAC,0BAA0B;IAKzC,OAAO,CAAC,MAAM,CAAC,4BAA4B;IAI3C,OAAO,CAAC,MAAM,CAAC,mBAAmB;IAOlC,0CAA0C;WAC5B,UAAU;IASxB,6CAA6C;WAC/B,qBAAqB;IAOnC,qCAAqC;WACvB,0BAA0B,CAAC,sBAAsB,EAAE,UAAU,EAAE,GAAG,SAAS,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,eAAe,CAAC,EAAE,MAAM,GAAG,OAAO;IAsBlK;OACG;WACW,qBAAqB,CAAC,IAAI,EAAE,eAAe;IAIzD,iGAAiG;IACjG,WAAkB,sBAAsB,IAAI,UAAU,EAAE,CASvD;IAED;;OAEG;IACH,WAAkB,8BAA8B,IAAI,OAAO,CAAgE;IAC3H,WAAkB,8BAA8B,CAAC,sBAAsB,EAAE,OAAO,EAAmF;IAEnK,8FAA8F;IAC9F,WAAkB,eAAe,IAAI,MAAM,CAAiD;IAC5F,WAAkB,eAAe,CAAC,KAAK,EAAE,MAAM,EAAmD;IAElG,kDAAkD;IAClD,WAAkB,qBAAqB,IAAI,MAAM,CAAuD;IAExG,8CAA8C;IAC9C,gBAAuB,4BAA4B,kCAAyC;IAC5F,gBAAuB,8BAA8B,gBAAuB;IAE5E;;OAEG;IACH,WAAkB,qBAAqB,IAAI,MAAM,CAEhD;WAEa,qBAAqB,IAAI,OAAO;CAe/C"}
|
|
@@ -9,12 +9,13 @@
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.ToolSettingsManager = exports.SyncToolSettingsPropertiesEvent = void 0;
|
|
11
11
|
const core_frontend_1 = require("@itwin/core-frontend");
|
|
12
|
+
const appui_abstract_1 = require("@itwin/appui-abstract");
|
|
12
13
|
const core_react_1 = require("@itwin/core-react");
|
|
13
14
|
const SyncUiEventDispatcher_1 = require("../../syncui/SyncUiEventDispatcher");
|
|
14
15
|
/** Sync Tool Settings Properties Event class.
|
|
15
16
|
* @public
|
|
16
17
|
*/
|
|
17
|
-
class SyncToolSettingsPropertiesEvent extends
|
|
18
|
+
class SyncToolSettingsPropertiesEvent extends appui_abstract_1.UiEvent {
|
|
18
19
|
}
|
|
19
20
|
exports.SyncToolSettingsPropertiesEvent = SyncToolSettingsPropertiesEvent;
|
|
20
21
|
// -----------------------------------------------------------------------------
|
|
@@ -125,5 +126,5 @@ ToolSettingsManager._activeToolLabel = "";
|
|
|
125
126
|
ToolSettingsManager._activeToolDescription = "";
|
|
126
127
|
/** Get ToolSettings Properties sync event. */
|
|
127
128
|
ToolSettingsManager.onSyncToolSettingsProperties = new SyncToolSettingsPropertiesEvent();
|
|
128
|
-
ToolSettingsManager.onReloadToolSettingsProperties = new
|
|
129
|
+
ToolSettingsManager.onReloadToolSettingsProperties = new appui_abstract_1.UiEvent();
|
|
129
130
|
//# sourceMappingURL=ToolSettingsManager.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolSettingsManager.js","sourceRoot":"","sources":["../../../../../src/appui-react/zones/toolsettings/ToolSettingsManager.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,wDAAkE;AAElE,kDAAgE;AAChE,8EAA2E;AAc3E;;GAEG;AACH,MAAa,+BAAgC,SAAQ,oBAA4C;CAAI;AAArG,0EAAqG;AAErG,gFAAgF;AAChF,4BAA4B;AAC5B,gFAAgF;AAEhF;;GAEG;AACH,MAAa,mBAAmB;IAM9B,uBAAuB;IACf,MAAM,CAAC,0BAA0B,CAAC,MAAc,EAAE,cAAwC;QAChG,mBAAmB,CAAC,4BAA4B,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC,CAAC;IACpF,CAAC;IAED,uBAAuB;IACf,MAAM,CAA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sB,CAAC,CAAC,CAAC;IAMxG;;OAEG;IACI,MAAM,KAAK,qBAAqB;QACrC,OAAO,mBAAmB,CAAC,sBAAsB,CAAC;IACpD,CAAC;IAEM,MAAM,CAAC,qBAAqB;QACjC,IAAI,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC,4BAA4B,CAAC,CAAC;QACtE,IAAI,UAAU,EAAE;YACd,IAAI,IAAA,+BAAkB,EAAC,UAA4B,CAAC;gBAClD,OAAO,IAAI,CAAC;SACf;QAED,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC,uCAAuC,CAAC,CAAC;QAC7E,IAAI,UAAU,EAAE;YACd,IAAI,IAAA,+BAAkB,EAAC,UAA4B,CAAC;gBAClD,OAAO,IAAI,CAAC;SACf;QAED,OAAO,KAAK,CAAC;IACf,CAAC;;AAxHH,kDAyHC;AAxHgB,mDAA+B,GAAG,KAAK,CAAC;AACxC,0CAAsB,GAAW,EAAE,CAAC;AACpC,oCAAgB,GAAW,EAAE,CAAC;AAC9B,0CAAsB,GAAW,EAAE,CAAC;AA2FnD,8CAA8C;AACvB,gDAA4B,GAAG,IAAI,+BAA+B,EAAE,CAAC;AACrE,kDAA8B,GAAG,IAAI,oBAAO,EAAQ,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 ToolSettings\r\n */\r\n\r\nimport { IModelApp, InteractiveTool } from \"@itwin/core-frontend\";\r\nimport { DialogItem, DialogPropertySyncItem } from \"@itwin/appui-abstract\";\r\nimport { focusIntoContainer, UiEvent } from \"@itwin/core-react\";\r\nimport { SyncUiEventDispatcher } from \"../../syncui/SyncUiEventDispatcher\";\r\n\r\n// -----------------------------------------------------------------------------\r\n// Events\r\n// -----------------------------------------------------------------------------\r\n\r\n/** Sync Tool Settings Properties Event Args interface.\r\n * @public\r\n */\r\nexport interface SyncToolSettingsPropertiesEventArgs {\r\n toolId: string;\r\n syncProperties: DialogPropertySyncItem[];\r\n}\r\n\r\n/** Sync Tool Settings Properties Event class.\r\n * @public\r\n */\r\nexport class SyncToolSettingsPropertiesEvent extends UiEvent<SyncToolSettingsPropertiesEventArgs> { }\r\n\r\n// -----------------------------------------------------------------------------\r\n// ToolSettingsManager class\r\n// -----------------------------------------------------------------------------\r\n\r\n/** Tool Settings Manager class. Used to generate UI components for Tool Settings.\r\n * @public\r\n */\r\nexport class ToolSettingsManager {\r\n private static _useDefaultToolSettingsProvider = false;\r\n private static _toolIdForToolSettings: string = \"\";\r\n private static _activeToolLabel: string = \"\";\r\n private static _activeToolDescription: string = \"\";\r\n\r\n // istanbul ignore next\r\n private static syncToolSettingsProperties(toolId: string, syncProperties: DialogPropertySyncItem[]): void {\r\n ToolSettingsManager.onSyncToolSettingsProperties.emit({ toolId, syncProperties });\r\n }\r\n\r\n // istanbul ignore next\r\n private static reloadToolSettingsProperties(): void {\r\n ToolSettingsManager.onReloadToolSettingsProperties.emit();\r\n }\r\n\r\n private static dispatchSyncUiEvent(syncEventId: string, useImmediateDispatch?: boolean): void {\r\n if (useImmediateDispatch)\r\n SyncUiEventDispatcher.dispatchImmediateSyncUiEvent(syncEventId);\r\n else\r\n SyncUiEventDispatcher.dispatchSyncUiEvent(syncEventId);\r\n }\r\n\r\n /** Initializes the ToolSettingsManager */\r\n public static initialize() {\r\n // istanbul ignore else\r\n if (IModelApp && IModelApp.toolAdmin) {\r\n IModelApp.toolAdmin.toolSettingsChangeHandler = ToolSettingsManager.syncToolSettingsProperties;\r\n IModelApp.toolAdmin.reloadToolSettingsHandler = ToolSettingsManager.reloadToolSettingsProperties;\r\n IModelApp.toolAdmin.toolSyncUiEventDispatcher = ToolSettingsManager.dispatchSyncUiEvent;\r\n }\r\n }\r\n\r\n /** clear cached Tool Settings properties. */\r\n public static clearToolSettingsData() {\r\n ToolSettingsManager.useDefaultToolSettingsProvider = false;\r\n ToolSettingsManager._activeToolLabel = \"\";\r\n ToolSettingsManager._activeToolDescription = \"\";\r\n ToolSettingsManager._toolIdForToolSettings = \"\";\r\n }\r\n\r\n /** Cache Tool Settings properties */\r\n public static initializeToolSettingsData(toolSettingsProperties: DialogItem[] | undefined, toolId?: string, toolLabel?: string, toolDescription?: string): boolean {\r\n ToolSettingsManager.clearToolSettingsData();\r\n // istanbul ignore else\r\n if (toolLabel)\r\n ToolSettingsManager._activeToolLabel = toolLabel;\r\n\r\n // istanbul ignore else\r\n if (toolDescription)\r\n ToolSettingsManager._activeToolDescription = toolDescription;\r\n\r\n /* istanbul ignore else */\r\n if (toolSettingsProperties && toolSettingsProperties.length > 0) {\r\n // istanbul ignore else\r\n if (toolId)\r\n ToolSettingsManager._toolIdForToolSettings = toolId;\r\n\r\n ToolSettingsManager._useDefaultToolSettingsProvider = true;\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n /** Set of data used in Tool Settings for the specified tool. The tool specified should be the \"active\" tool.\r\n */\r\n public static initializeDataForTool(tool: InteractiveTool) {\r\n ToolSettingsManager.initializeToolSettingsData(tool.supplyToolSettingsProperties(), tool.toolId, tool.flyover, tool.description);\r\n }\r\n\r\n /** Returns the toolSettings properties that can be used to populate the tool settings widget. */\r\n public static get toolSettingsProperties(): DialogItem[] {\r\n if (IModelApp.toolAdmin && IModelApp.toolAdmin.activeTool && IModelApp.toolAdmin.activeTool.toolId === ToolSettingsManager._toolIdForToolSettings) {\r\n const properties = IModelApp.toolAdmin.activeTool.supplyToolSettingsProperties();\r\n // istanbul ignore else\r\n if (properties)\r\n return properties;\r\n }\r\n\r\n return [];\r\n }\r\n\r\n /** Returns true if the Tool Settings are to be auto populated from the toolSettingsProperties.\r\n * The setter is chiefly for testing.\r\n */\r\n public static get useDefaultToolSettingsProvider(): boolean { return ToolSettingsManager._useDefaultToolSettingsProvider; }\r\n public static set useDefaultToolSettingsProvider(useDefaultToolSettings: boolean) { ToolSettingsManager._useDefaultToolSettingsProvider = useDefaultToolSettings; }\r\n\r\n /** The name of the active tool. This is typically the flyover text specified for the tool. */\r\n public static get activeToolLabel(): string { return ToolSettingsManager._activeToolLabel; }\r\n public static set activeToolLabel(label: string) { ToolSettingsManager._activeToolLabel = label; }\r\n\r\n /** Returns the description of the active tool. */\r\n public static get activeToolDescription(): string { return ToolSettingsManager._activeToolDescription; }\r\n\r\n /** Get ToolSettings Properties sync event. */\r\n public static readonly onSyncToolSettingsProperties = new SyncToolSettingsPropertiesEvent();\r\n public static readonly onReloadToolSettingsProperties = new UiEvent<void>();\r\n\r\n /** Gets the Id of the active tool. If a tool is not active, blank is returned.\r\n * @return Id of the active tool, or blank if one is not active.\r\n */\r\n public static get toolIdForToolSettings(): string {\r\n return ToolSettingsManager._toolIdForToolSettings;\r\n }\r\n\r\n public static focusIntoToolSettings(): boolean {\r\n let divElement = document.querySelector(\"div.nz-toolSettings-docked\");\r\n if (divElement) {\r\n if (focusIntoContainer(divElement as HTMLDivElement))\r\n return true;\r\n }\r\n\r\n divElement = document.querySelector(\"div.uifw-tool-settings-grid-container\");\r\n if (divElement) {\r\n if (focusIntoContainer(divElement as HTMLDivElement))\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n}\r\n"]}
|
|
1
|
+
{"version":3,"file":"ToolSettingsManager.js","sourceRoot":"","sources":["../../../../../src/appui-react/zones/toolsettings/ToolSettingsManager.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,wDAAkE;AAClE,0DAAoF;AACpF,kDAAuD;AACvD,8EAA2E;AAc3E;;GAEG;AACH,MAAa,+BAAgC,SAAQ,wBAA4C;CAAI;AAArG,0EAAqG;AAErG,gFAAgF;AAChF,4BAA4B;AAC5B,gFAAgF;AAEhF;;GAEG;AACH,MAAa,mBAAmB;IAM9B,uBAAuB;IACf,MAAM,CAAC,0BAA0B,CAAC,MAAc,EAAE,cAAwC;QAChG,mBAAmB,CAAC,4BAA4B,CAAC,IAAI,CAA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AAC,CAAC;IAElG,kDAAkD;IAC3C,MAAM,KAAK,qBAAqB,KAAa,OAAO,mBAAmB,CAAC,sBAAsB,CAAC,CAAC,CAAC;IAMxG;;OAEG;IACI,MAAM,KAAK,qBAAqB;QACrC,OAAO,mBAAmB,CAAC,sBAAsB,CAAC;IACpD,CAAC;IAEM,MAAM,CAAC,qBAAqB;QACjC,IAAI,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC,4BAA4B,CAAC,CAAC;QACtE,IAAI,UAAU,EAAE;YACd,IAAI,IAAA,+BAAkB,EAAC,UAA4B,CAAC;gBAClD,OAAO,IAAI,CAAC;SACf;QAED,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC,uCAAuC,CAAC,CAAC;QAC7E,IAAI,UAAU,EAAE;YACd,IAAI,IAAA,+BAAkB,EAAC,UAA4B,CAAC;gBAClD,OAAO,IAAI,CAAC;SACf;QAED,OAAO,KAAK,CAAC;IACf,CAAC;;AAxHH,kDAyHC;AAxHgB,mDAA+B,GAAG,KAAK,CAAC;AACxC,0CAAsB,GAAW,EAAE,CAAC;AACpC,oCAAgB,GAAW,EAAE,CAAC;AAC9B,0CAAsB,GAAW,EAAE,CAAC;AA2FnD,8CAA8C;AACvB,gDAA4B,GAAG,IAAI,+BAA+B,EAAE,CAAC;AACrE,kDAA8B,GAAG,IAAI,wBAAO,EAAQ,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 ToolSettings\r\n */\r\n\r\nimport { IModelApp, InteractiveTool } from \"@itwin/core-frontend\";\r\nimport { DialogItem, DialogPropertySyncItem, UiEvent } from \"@itwin/appui-abstract\";\r\nimport { focusIntoContainer } from \"@itwin/core-react\";\r\nimport { SyncUiEventDispatcher } from \"../../syncui/SyncUiEventDispatcher\";\r\n\r\n// -----------------------------------------------------------------------------\r\n// Events\r\n// -----------------------------------------------------------------------------\r\n\r\n/** Sync Tool Settings Properties Event Args interface.\r\n * @public\r\n */\r\nexport interface SyncToolSettingsPropertiesEventArgs {\r\n toolId: string;\r\n syncProperties: DialogPropertySyncItem[];\r\n}\r\n\r\n/** Sync Tool Settings Properties Event class.\r\n * @public\r\n */\r\nexport class SyncToolSettingsPropertiesEvent extends UiEvent<SyncToolSettingsPropertiesEventArgs> { }\r\n\r\n// -----------------------------------------------------------------------------\r\n// ToolSettingsManager class\r\n// -----------------------------------------------------------------------------\r\n\r\n/** Tool Settings Manager class. Used to generate UI components for Tool Settings.\r\n * @public\r\n */\r\nexport class ToolSettingsManager {\r\n private static _useDefaultToolSettingsProvider = false;\r\n private static _toolIdForToolSettings: string = \"\";\r\n private static _activeToolLabel: string = \"\";\r\n private static _activeToolDescription: string = \"\";\r\n\r\n // istanbul ignore next\r\n private static syncToolSettingsProperties(toolId: string, syncProperties: DialogPropertySyncItem[]): void {\r\n ToolSettingsManager.onSyncToolSettingsProperties.emit({ toolId, syncProperties });\r\n }\r\n\r\n // istanbul ignore next\r\n private static reloadToolSettingsProperties(): void {\r\n ToolSettingsManager.onReloadToolSettingsProperties.emit();\r\n }\r\n\r\n private static dispatchSyncUiEvent(syncEventId: string, useImmediateDispatch?: boolean): void {\r\n if (useImmediateDispatch)\r\n SyncUiEventDispatcher.dispatchImmediateSyncUiEvent(syncEventId);\r\n else\r\n SyncUiEventDispatcher.dispatchSyncUiEvent(syncEventId);\r\n }\r\n\r\n /** Initializes the ToolSettingsManager */\r\n public static initialize() {\r\n // istanbul ignore else\r\n if (IModelApp && IModelApp.toolAdmin) {\r\n IModelApp.toolAdmin.toolSettingsChangeHandler = ToolSettingsManager.syncToolSettingsProperties;\r\n IModelApp.toolAdmin.reloadToolSettingsHandler = ToolSettingsManager.reloadToolSettingsProperties;\r\n IModelApp.toolAdmin.toolSyncUiEventDispatcher = ToolSettingsManager.dispatchSyncUiEvent;\r\n }\r\n }\r\n\r\n /** clear cached Tool Settings properties. */\r\n public static clearToolSettingsData() {\r\n ToolSettingsManager.useDefaultToolSettingsProvider = false;\r\n ToolSettingsManager._activeToolLabel = \"\";\r\n ToolSettingsManager._activeToolDescription = \"\";\r\n ToolSettingsManager._toolIdForToolSettings = \"\";\r\n }\r\n\r\n /** Cache Tool Settings properties */\r\n public static initializeToolSettingsData(toolSettingsProperties: DialogItem[] | undefined, toolId?: string, toolLabel?: string, toolDescription?: string): boolean {\r\n ToolSettingsManager.clearToolSettingsData();\r\n // istanbul ignore else\r\n if (toolLabel)\r\n ToolSettingsManager._activeToolLabel = toolLabel;\r\n\r\n // istanbul ignore else\r\n if (toolDescription)\r\n ToolSettingsManager._activeToolDescription = toolDescription;\r\n\r\n /* istanbul ignore else */\r\n if (toolSettingsProperties && toolSettingsProperties.length > 0) {\r\n // istanbul ignore else\r\n if (toolId)\r\n ToolSettingsManager._toolIdForToolSettings = toolId;\r\n\r\n ToolSettingsManager._useDefaultToolSettingsProvider = true;\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n /** Set of data used in Tool Settings for the specified tool. The tool specified should be the \"active\" tool.\r\n */\r\n public static initializeDataForTool(tool: InteractiveTool) {\r\n ToolSettingsManager.initializeToolSettingsData(tool.supplyToolSettingsProperties(), tool.toolId, tool.flyover, tool.description);\r\n }\r\n\r\n /** Returns the toolSettings properties that can be used to populate the tool settings widget. */\r\n public static get toolSettingsProperties(): DialogItem[] {\r\n if (IModelApp.toolAdmin && IModelApp.toolAdmin.activeTool && IModelApp.toolAdmin.activeTool.toolId === ToolSettingsManager._toolIdForToolSettings) {\r\n const properties = IModelApp.toolAdmin.activeTool.supplyToolSettingsProperties();\r\n // istanbul ignore else\r\n if (properties)\r\n return properties;\r\n }\r\n\r\n return [];\r\n }\r\n\r\n /** Returns true if the Tool Settings are to be auto populated from the toolSettingsProperties.\r\n * The setter is chiefly for testing.\r\n */\r\n public static get useDefaultToolSettingsProvider(): boolean { return ToolSettingsManager._useDefaultToolSettingsProvider; }\r\n public static set useDefaultToolSettingsProvider(useDefaultToolSettings: boolean) { ToolSettingsManager._useDefaultToolSettingsProvider = useDefaultToolSettings; }\r\n\r\n /** The name of the active tool. This is typically the flyover text specified for the tool. */\r\n public static get activeToolLabel(): string { return ToolSettingsManager._activeToolLabel; }\r\n public static set activeToolLabel(label: string) { ToolSettingsManager._activeToolLabel = label; }\r\n\r\n /** Returns the description of the active tool. */\r\n public static get activeToolDescription(): string { return ToolSettingsManager._activeToolDescription; }\r\n\r\n /** Get ToolSettings Properties sync event. */\r\n public static readonly onSyncToolSettingsProperties = new SyncToolSettingsPropertiesEvent();\r\n public static readonly onReloadToolSettingsProperties = new UiEvent<void>();\r\n\r\n /** Gets the Id of the active tool. If a tool is not active, blank is returned.\r\n * @return Id of the active tool, or blank if one is not active.\r\n */\r\n public static get toolIdForToolSettings(): string {\r\n return ToolSettingsManager._toolIdForToolSettings;\r\n }\r\n\r\n public static focusIntoToolSettings(): boolean {\r\n let divElement = document.querySelector(\"div.nz-toolSettings-docked\");\r\n if (divElement) {\r\n if (focusIntoContainer(divElement as HTMLDivElement))\r\n return true;\r\n }\r\n\r\n divElement = document.querySelector(\"div.uifw-tool-settings-grid-container\");\r\n if (divElement) {\r\n if (focusIntoContainer(divElement as HTMLDivElement))\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n}\r\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolSettingsZone.js","sourceRoot":"","sources":["../../../../../src/appui-react/zones/toolsettings/ToolSettingsZone.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAG/B,kEAEmC;AAEnC,0EAAuE;AACvE,oEAAiE;AACjE,mDAAgD;AAChD,qEAAkE;AAClE,oDAA+E;AAC/E,wCAAqC;AACrC,+DAA4D;AAC5D,iFAA6E;AAC7E,4DAAyD;AAEzD,yBAAyB;AAEzB;GACG;AACH,IAAK,uBAGJ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sB,GAAI,CACzB,CACb,EAER,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,EAC9D,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,eAAe,IAAI,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EACvE,YAAY,EAAE,IAAI,CAAC,KAAK,CAAC,YAAY,EACrC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,EAChG,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,EAC1D,WAAW,EAAE,IAAI,CAAC,gBAAgB,EAClC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,aAAa,EACxD,YAAY,EAAE,qCAAiB,CAAC,sBAAsB,EACtD,GAAG,EAAE,IAAI,CAAC,OAAO,EACjB,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,GACvB,CACH,CAAC;IACJ,CAAC;CAYF;AArID,4CAqIC","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 ToolSettings\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { PointProps } from \"@itwin/appui-abstract\";\r\nimport { CommonProps, RectangleProps } from \"@itwin/core-react\";\r\nimport {\r\n ResizeHandle, TitleBarButton, ToolSettings, ToolSettingsTab, WidgetZoneId, Zone, ZoneManagerProps, ZoneTargetType,\r\n} from \"@itwin/appui-layout-react\";\r\nimport { TargetChangeHandler, WidgetChangeHandler } from \"../../frontstage/FrontstageComposer\";\r\nimport { FrontstageManager } from \"../../frontstage/FrontstageManager\";\r\nimport { SafeAreaContext } from \"../../safearea/SafeAreaContext\";\r\nimport { UiFramework } from \"../../UiFramework\";\r\nimport { UiShowHideManager } from \"../../utils/UiShowHideManager\";\r\nimport { getFloatingZoneBounds, getFloatingZoneStyle } from \"../FrameworkZone\";\r\nimport { Outline } from \"../Outline\";\r\nimport { ToolSettingsManager } from \"./ToolSettingsManager\";\r\nimport { onEscapeSetFocusToHome } from \"../../hooks/useEscapeSetFocusToHome\";\r\nimport { ZoneTargets } from \"../../dragdrop/ZoneTargets\";\r\n\r\n// cSpell:ignore safearea\r\n\r\n/** State for the ToolSettingsZone content.\r\n */\r\nenum ToolSettingsZoneContent {\r\n Closed,\r\n ToolSettings, // eslint-disable-line @typescript-eslint/no-shadow\r\n}\r\n\r\n/** State for the [[ToolSettingsZone]].\r\n */\r\ninterface ToolSettingsZoneState {\r\n toolSettingsZoneContent: ToolSettingsZoneContent;\r\n title: string;\r\n}\r\n\r\n/** Properties for the [[ToolSettingsZone]] React component.\r\n * @internal\r\n */\r\nexport interface ToolSettingsZoneProps extends CommonProps {\r\n dropTarget: ZoneTargetType | undefined;\r\n getWidgetContentRef: (id: WidgetZoneId) => React.Ref<HTMLDivElement>;\r\n isHidden: boolean;\r\n isClosed: boolean;\r\n lastPosition: PointProps | undefined;\r\n targetChangeHandler: TargetChangeHandler;\r\n targetedBounds: RectangleProps | undefined;\r\n widgetChangeHandler: WidgetChangeHandler;\r\n zone: ZoneManagerProps;\r\n}\r\n\r\n/** Tool Settings Zone React component.\r\n * @internal\r\n */\r\nexport class ToolSettingsZone extends React.PureComponent<ToolSettingsZoneProps, ToolSettingsZoneState> {\r\n private _hiddenVisibility: React.CSSProperties = {\r\n visibility: \"hidden\",\r\n };\r\n private _widget = React.createRef<ToolSettings>();\r\n\r\n /** @internal */\r\n public override readonly state: Readonly<ToolSettingsZoneState>;\r\n\r\n constructor(props: ToolSettingsZoneProps) {\r\n super(props);\r\n\r\n const title = `${ToolSettingsManager.activeToolLabel}`;\r\n\r\n this.state = {\r\n toolSettingsZoneContent: this.props.isClosed ? ToolSettingsZoneContent.Closed : ToolSettingsZoneContent.ToolSettings,\r\n title,\r\n };\r\n }\r\n\r\n private _handleToolActivatedEvent = (): void => {\r\n // Update tool settings title when active tool changes.\r\n const title = `${ToolSettingsManager.activeToolLabel}`;\r\n this.setState({ title });\r\n };\r\n\r\n public override componentDidMount(): void {\r\n FrontstageManager.onToolActivatedEvent.addListener(this._handleToolActivatedEvent);\r\n }\r\n\r\n public override componentWillUnmount(): void {\r\n FrontstageManager.onToolActivatedEvent.removeListener(this._handleToolActivatedEvent);\r\n }\r\n\r\n public override render(): React.ReactNode {\r\n const bounds = getFloatingZoneBounds(this.props.zone);\r\n const zIndexStyle = getFloatingZoneStyle(this.props.zone);\r\n return (\r\n <SafeAreaContext.Consumer>\r\n {(safeAreaInsets) => (\r\n <span style={zIndexStyle}>\r\n <Zone\r\n bounds={bounds}\r\n className={this.props.className}\r\n id={this.props.zone.id}\r\n isFloating={!!this.props.zone.floating}\r\n isHidden={this.props.isHidden}\r\n safeAreaInsets={safeAreaInsets}\r\n style={this.props.style}\r\n >\r\n {this.getToolSettingsWidget()}\r\n </Zone>\r\n <Zone\r\n bounds={this.props.zone.bounds}\r\n id={this.props.zone.id}\r\n safeAreaInsets={safeAreaInsets}\r\n >\r\n <ZoneTargets\r\n zoneId={this.props.zone.id}\r\n dropTarget={this.props.dropTarget}\r\n targetChangeHandler={this.props.targetChangeHandler}\r\n />\r\n </Zone>\r\n <Outline bounds={this.props.targetedBounds} />\r\n </span>\r\n )}\r\n </SafeAreaContext.Consumer>\r\n );\r\n }\r\n\r\n private _processClick = () => {\r\n this.setState((prevState) => {\r\n let toolSettingsZoneContent = ToolSettingsZoneContent.Closed;\r\n\r\n if (prevState.toolSettingsZoneContent === ToolSettingsZoneContent.Closed)\r\n toolSettingsZoneContent = ToolSettingsZoneContent.ToolSettings;\r\n return {\r\n toolSettingsZoneContent,\r\n };\r\n });\r\n };\r\n\r\n private getToolSettingsWidget(): React.ReactNode {\r\n if (this.state.toolSettingsZoneContent === ToolSettingsZoneContent.Closed) {\r\n\r\n return (\r\n <ToolSettingsTab\r\n onClick={this._processClick}\r\n onKeyDown={onEscapeSetFocusToHome}\r\n title={this.state.title}\r\n onMouseEnter={UiShowHideManager.handleWidgetMouseEnter}\r\n >\r\n <i className=\"icon icon-settings\" />\r\n </ToolSettingsTab>\r\n );\r\n }\r\n\r\n return (\r\n <ToolSettings\r\n buttons={\r\n <div style={this.props.zone.floating && this._hiddenVisibility}>\r\n <TitleBarButton\r\n onClick={this._processClick}\r\n title={UiFramework.translate(\"general.minimize\")}\r\n >\r\n <i className={\"icon icon-chevron-up\"} />\r\n </TitleBarButton>\r\n </div>\r\n }\r\n contentRef={this.props.getWidgetContentRef(this.props.zone.id)}\r\n fillZone={this.props.zone.isLayoutChanged && !!this.props.zone.floating}\r\n lastPosition={this.props.lastPosition}\r\n onDrag={this.props.zone.allowsMerging ? this.props.widgetChangeHandler.handleTabDrag : undefined}\r\n onDragEnd={this.props.widgetChangeHandler.handleTabDragEnd}\r\n onDragStart={this._handleDragStart}\r\n onResize={this.props.zone.floating && this._handleResize}\r\n onMouseEnter={UiShowHideManager.handleWidgetMouseEnter}\r\n ref={this._widget}\r\n title={this.state.title}\r\n />\r\n );\r\n }\r\n\r\n private _handleDragStart = (initialPosition: PointProps) => {\r\n if (!this._widget.current)\r\n return;\r\n const bounds = this._widget.current.getBounds();\r\n this.props.widgetChangeHandler.handleTabDragStart(this.props.zone.id, 0, initialPosition, bounds);\r\n };\r\n\r\n private _handleResize = (resizeBy: number, handle: ResizeHandle) => {\r\n this.props.widgetChangeHandler.handleResize(this.props.zone.id, resizeBy, handle, 0);\r\n };\r\n}\r\n"]}
|
|
1
|
+
{"version":3,"file":"ToolSettingsZone.js","sourceRoot":"","sources":["../../../../../src/appui-react/zones/toolsettings/ToolSettingsZone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C,iCAAY,IACX,OAAO,EACL,6BAAK,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,iBAAiB;gBAC5D,oBAAC,mCAAc,IACb,OAAO,EAAE,IAAI,CAAC,aAAa,EAC3B,KAAK,EAAE,yBAAW,CAAC,SAAS,CAAC,kBAAkB,CAAC;oBAEhD,2BAAG,SAAS,EAAE,sBAAsB,GAAI,CACzB,CACb,EAER,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,EAC9D,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,eAAe,IAAI,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EACvE,YAAY,EAAE,IAAI,CAAC,KAAK,CAAC,YAAY,EACrC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,EAChG,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,EAC1D,WAAW,EAAE,IAAI,CAAC,gBAAgB,EAClC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,aAAa,EACxD,YAAY,EAAE,qCAAiB,CAAC,sBAAsB,EACtD,GAAG,EAAE,IAAI,CAAC,OAAO,EACjB,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,GACvB,CACH,CAAC;IACJ,CAAC;CAYF;AArID,4CAqIC","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 ToolSettings\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { PointProps } from \"@itwin/appui-abstract\";\r\nimport { CommonProps, RectangleProps } from \"@itwin/core-react\";\r\nimport {\r\n ResizeHandle, TitleBarButton, ToolSettings, ToolSettingsTab, WidgetZoneId, Zone, ZoneManagerProps, ZoneTargetType,\r\n} from \"@itwin/appui-layout-react\";\r\nimport { TargetChangeHandler, WidgetChangeHandler } from \"../../frontstage/FrontstageComposer\";\r\nimport { FrontstageManager } from \"../../frontstage/FrontstageManager\";\r\nimport { SafeAreaContext } from \"../../safearea/SafeAreaContext\";\r\nimport { UiFramework } from \"../../UiFramework\";\r\nimport { UiShowHideManager } from \"../../utils/UiShowHideManager\";\r\nimport { getFloatingZoneBounds, getFloatingZoneStyle } from \"../FrameworkZone\";\r\nimport { Outline } from \"../Outline\";\r\nimport { ToolSettingsManager } from \"./ToolSettingsManager\";\r\nimport { onEscapeSetFocusToHome } from \"../../hooks/useEscapeSetFocusToHome\";\r\nimport { ZoneTargets } from \"../../dragdrop/ZoneTargets\";\r\n\r\n// cSpell:ignore safearea\r\n\r\n/** State for the ToolSettingsZone content.\r\n */\r\nenum ToolSettingsZoneContent {\r\n Closed,\r\n ToolSettings, // eslint-disable-line @typescript-eslint/no-shadow\r\n}\r\n\r\n/** State for the [[ToolSettingsZone]].\r\n */\r\ninterface ToolSettingsZoneState {\r\n toolSettingsZoneContent: ToolSettingsZoneContent;\r\n title: string;\r\n}\r\n\r\n/** Properties for the [[ToolSettingsZone]] React component.\r\n * @internal\r\n */\r\nexport interface ToolSettingsZoneProps extends CommonProps {\r\n dropTarget: ZoneTargetType | undefined; // eslint-disable-line deprecation/deprecation\r\n getWidgetContentRef: (id: WidgetZoneId) => React.Ref<HTMLDivElement>; // eslint-disable-line deprecation/deprecation\r\n isHidden: boolean;\r\n isClosed: boolean;\r\n lastPosition: PointProps | undefined;\r\n targetChangeHandler: TargetChangeHandler; // eslint-disable-line deprecation/deprecation\r\n targetedBounds: RectangleProps | undefined;\r\n widgetChangeHandler: WidgetChangeHandler; // eslint-disable-line deprecation/deprecation\r\n zone: ZoneManagerProps;\r\n}\r\n\r\n/** Tool Settings Zone React component.\r\n * @internal\r\n */\r\nexport class ToolSettingsZone extends React.PureComponent<ToolSettingsZoneProps, ToolSettingsZoneState> {\r\n private _hiddenVisibility: React.CSSProperties = {\r\n visibility: \"hidden\",\r\n };\r\n private _widget = React.createRef<ToolSettings>();\r\n\r\n /** @internal */\r\n public override readonly state: Readonly<ToolSettingsZoneState>;\r\n\r\n constructor(props: ToolSettingsZoneProps) {\r\n super(props);\r\n\r\n const title = `${ToolSettingsManager.activeToolLabel}`;\r\n\r\n this.state = {\r\n toolSettingsZoneContent: this.props.isClosed ? ToolSettingsZoneContent.Closed : ToolSettingsZoneContent.ToolSettings,\r\n title,\r\n };\r\n }\r\n\r\n private _handleToolActivatedEvent = (): void => {\r\n // Update tool settings title when active tool changes.\r\n const title = `${ToolSettingsManager.activeToolLabel}`;\r\n this.setState({ title });\r\n };\r\n\r\n public override componentDidMount(): void {\r\n FrontstageManager.onToolActivatedEvent.addListener(this._handleToolActivatedEvent);\r\n }\r\n\r\n public override componentWillUnmount(): void {\r\n FrontstageManager.onToolActivatedEvent.removeListener(this._handleToolActivatedEvent);\r\n }\r\n\r\n public override render(): React.ReactNode {\r\n const bounds = getFloatingZoneBounds(this.props.zone);\r\n const zIndexStyle = getFloatingZoneStyle(this.props.zone);\r\n return (\r\n <SafeAreaContext.Consumer>\r\n {(safeAreaInsets) => (\r\n <span style={zIndexStyle}>\r\n <Zone\r\n bounds={bounds}\r\n className={this.props.className}\r\n id={this.props.zone.id}\r\n isFloating={!!this.props.zone.floating}\r\n isHidden={this.props.isHidden}\r\n safeAreaInsets={safeAreaInsets}\r\n style={this.props.style}\r\n >\r\n {this.getToolSettingsWidget()}\r\n </Zone>\r\n <Zone\r\n bounds={this.props.zone.bounds}\r\n id={this.props.zone.id}\r\n safeAreaInsets={safeAreaInsets}\r\n >\r\n <ZoneTargets\r\n zoneId={this.props.zone.id}\r\n dropTarget={this.props.dropTarget}\r\n targetChangeHandler={this.props.targetChangeHandler}\r\n />\r\n </Zone>\r\n <Outline bounds={this.props.targetedBounds} />\r\n </span>\r\n )}\r\n </SafeAreaContext.Consumer>\r\n );\r\n }\r\n\r\n private _processClick = () => {\r\n this.setState((prevState) => {\r\n let toolSettingsZoneContent = ToolSettingsZoneContent.Closed;\r\n\r\n if (prevState.toolSettingsZoneContent === ToolSettingsZoneContent.Closed)\r\n toolSettingsZoneContent = ToolSettingsZoneContent.ToolSettings;\r\n return {\r\n toolSettingsZoneContent,\r\n };\r\n });\r\n };\r\n\r\n private getToolSettingsWidget(): React.ReactNode {\r\n if (this.state.toolSettingsZoneContent === ToolSettingsZoneContent.Closed) {\r\n\r\n return (\r\n <ToolSettingsTab\r\n onClick={this._processClick}\r\n onKeyDown={onEscapeSetFocusToHome}\r\n title={this.state.title}\r\n onMouseEnter={UiShowHideManager.handleWidgetMouseEnter}\r\n >\r\n <i className=\"icon icon-settings\" />\r\n </ToolSettingsTab>\r\n );\r\n }\r\n\r\n return (\r\n <ToolSettings\r\n buttons={\r\n <div style={this.props.zone.floating && this._hiddenVisibility}>\r\n <TitleBarButton\r\n onClick={this._processClick}\r\n title={UiFramework.translate(\"general.minimize\")}\r\n >\r\n <i className={\"icon icon-chevron-up\"} />\r\n </TitleBarButton>\r\n </div>\r\n }\r\n contentRef={this.props.getWidgetContentRef(this.props.zone.id)}\r\n fillZone={this.props.zone.isLayoutChanged && !!this.props.zone.floating}\r\n lastPosition={this.props.lastPosition}\r\n onDrag={this.props.zone.allowsMerging ? this.props.widgetChangeHandler.handleTabDrag : undefined}\r\n onDragEnd={this.props.widgetChangeHandler.handleTabDragEnd}\r\n onDragStart={this._handleDragStart}\r\n onResize={this.props.zone.floating && this._handleResize}\r\n onMouseEnter={UiShowHideManager.handleWidgetMouseEnter}\r\n ref={this._widget}\r\n title={this.state.title}\r\n />\r\n );\r\n }\r\n\r\n private _handleDragStart = (initialPosition: PointProps) => {\r\n if (!this._widget.current)\r\n return;\r\n const bounds = this._widget.current.getBounds();\r\n this.props.widgetChangeHandler.handleTabDragStart(this.props.zone.id, 0, initialPosition, bounds);\r\n };\r\n\r\n private _handleResize = (resizeBy: number, handle: ResizeHandle) => {\r\n this.props.widgetChangeHandler.handleResize(this.props.zone.id, resizeBy, handle, 0);\r\n };\r\n}\r\n"]}
|
package/lib/cjs/appui-react.d.ts
CHANGED
|
@@ -32,11 +32,13 @@ export * from "./appui-react/content/ContentGroup";
|
|
|
32
32
|
export * from "./appui-react/content/ContentLayout";
|
|
33
33
|
export * from "./appui-react/content/ContentLayoutManager";
|
|
34
34
|
export * from "./appui-react/content/ContentViewManager";
|
|
35
|
-
export * from "./appui-react/content/
|
|
36
|
-
export * from "./appui-react/content/
|
|
35
|
+
export * from "./appui-react/content/FloatingViewportContent";
|
|
36
|
+
export * from "./appui-react/content/ViewStateHelper";
|
|
37
|
+
export * from "./appui-react/content/StageContentLayout";
|
|
37
38
|
export * from "./appui-react/content/ViewportContentControl";
|
|
38
39
|
export * from "./appui-react/content/IModelViewport";
|
|
39
40
|
export * from "./appui-react/content/DefaultViewOverlay";
|
|
41
|
+
export * from "./appui-react/content/split-pane/SplitPane";
|
|
40
42
|
export * from "./appui-react/cursor/CursorInformation";
|
|
41
43
|
export * from "./appui-react/cursor/cursorprompt/CursorPrompt";
|
|
42
44
|
export * from "./appui-react/cursor/cursorpopup/CursorPopup";
|
|
@@ -44,6 +46,8 @@ export * from "./appui-react/cursor/cursorpopup/CursorPopupManager";
|
|
|
44
46
|
export * from "./appui-react/cursor/cursormenu/CursorMenu";
|
|
45
47
|
export * from "./appui-react/dialog/DialogManagerBase";
|
|
46
48
|
export * from "./appui-react/dialog/ModalDialogManager";
|
|
49
|
+
export * from "./appui-react/dialog/ContentDialogManager";
|
|
50
|
+
export * from "./appui-react/dialog/ContentDialog";
|
|
47
51
|
export * from "./appui-react/dialog/ModelessDialog";
|
|
48
52
|
export * from "./appui-react/dialog/ModelessDialogManager";
|
|
49
53
|
export * from "./appui-react/dialog/StandardMessageBox";
|
|
@@ -69,6 +73,7 @@ export * from "./appui-react/hooks/useScheduleAnimationDataProvider";
|
|
|
69
73
|
export * from "./appui-react/hooks/useSolarDataProvider";
|
|
70
74
|
export * from "./appui-react/imodel-components/spatial-tree/SpatialContainmentTree";
|
|
71
75
|
export * from "./appui-react/imodel-components/category-tree/CategoriesTree";
|
|
76
|
+
export * from "./appui-react/imodel-components/category-tree/CategoryVisibilityHandler";
|
|
72
77
|
export * from "./appui-react/imodel-components/models-tree/ModelsTree";
|
|
73
78
|
export * from "./appui-react/imodel-components/models-tree/ModelsVisibilityHandler";
|
|
74
79
|
export * from "./appui-react/imodel-components/Common";
|
|
@@ -133,7 +138,6 @@ export * from "./appui-react/stagepanels/FrameworkStagePanel";
|
|
|
133
138
|
export * from "./appui-react/stagepanels/StagePanel";
|
|
134
139
|
export * from "./appui-react/stagepanels/StagePanelDef";
|
|
135
140
|
export * from "./appui-react/stagepanels/StagePanelHeader";
|
|
136
|
-
export * from "./appui-react/stagepanels/StagePanelEnums";
|
|
137
141
|
export * from "./appui-react/statusbar/StatusBar";
|
|
138
142
|
export * from "./appui-react/statusbar/StatusBarWidgetControl";
|
|
139
143
|
export * from "./appui-react/statusbar/StatusBarComposer";
|
|
@@ -187,10 +191,9 @@ export * from "./appui-react/ui-items-provider/StandardContentToolsProvider";
|
|
|
187
191
|
export * from "./appui-react/ui-items-provider/StandardNavigationToolsProvider";
|
|
188
192
|
export * from "./appui-react/ui-items-provider/StandardStatusbarItemsProvider";
|
|
189
193
|
export * from "./appui-react/uiprovider/DefaultDialogGridContainer";
|
|
190
|
-
export * from "./appui-react/
|
|
191
|
-
export * from "./appui-react/
|
|
192
|
-
export * from "./appui-react/
|
|
193
|
-
export * from "./appui-react/UserInfo";
|
|
194
|
+
export * from "./appui-react/uistate/AppUiSettings";
|
|
195
|
+
export * from "./appui-react/uistate/UserSettingsStorage";
|
|
196
|
+
export * from "./appui-react/uistate/useUiStateStorage";
|
|
194
197
|
export * from "./appui-react/utils/ViewUtilities";
|
|
195
198
|
export * from "./appui-react/utils/PropsHelper";
|
|
196
199
|
export * from "./appui-react/utils/UiShowHideManager";
|
|
@@ -204,6 +207,7 @@ export * from "./appui-react/widget-panels/Tab";
|
|
|
204
207
|
export * from "./appui-react/widget-panels/Toolbars";
|
|
205
208
|
export * from "./appui-react/widget-panels/ToolSettings";
|
|
206
209
|
export * from "./appui-react/widget-panels/useWidgetDirection";
|
|
210
|
+
export * from "./appui-react/widgets/BackstageAppButton";
|
|
207
211
|
export * from "./appui-react/widgets/BasicNavigationWidget";
|
|
208
212
|
export * from "./appui-react/widgets/BasicToolWidget";
|
|
209
213
|
export * from "./appui-react/widgets/DefaultNavigationWidget";
|
|
@@ -238,7 +242,7 @@ export * from "./appui-react/zones/ZoneDef";
|
|
|
238
242
|
/** @docs-package-description
|
|
239
243
|
* The ui-framework package contains classes and components for specifying the application UI consisting of the
|
|
240
244
|
* Backstage, Frontstages, Content Views, Tool Bars, Status Bars, Widgets and Panels.
|
|
241
|
-
* For more information, see [learning about
|
|
245
|
+
* For more information, see [learning about appui-react]($docs/learning/ui/appui-react/index.md).
|
|
242
246
|
*/
|
|
243
247
|
/**
|
|
244
248
|
* @docs-group-description AccuDraw
|
|
@@ -268,10 +272,6 @@ export * from "./appui-react/zones/ZoneDef";
|
|
|
268
272
|
* @docs-group-description Dialog
|
|
269
273
|
* Classes for working with a dialog
|
|
270
274
|
*/
|
|
271
|
-
/**
|
|
272
|
-
* @docs-group-description DragDrop
|
|
273
|
-
* Classes for managing DragDrop API drag layers
|
|
274
|
-
*/
|
|
275
275
|
/**
|
|
276
276
|
* @docs-group-description Frontstage
|
|
277
277
|
* Classes for working with a Frontstage
|
|
@@ -300,10 +300,6 @@ export * from "./appui-react/zones/ZoneDef";
|
|
|
300
300
|
* @docs-group-description Notification
|
|
301
301
|
* Classes for working with a Notification or Message
|
|
302
302
|
*/
|
|
303
|
-
/**
|
|
304
|
-
* @docs-group-description ChildWindow
|
|
305
|
-
* Classes for working with child windows.
|
|
306
|
-
*/
|
|
307
303
|
/**
|
|
308
304
|
* @docs-group-description ChildWindowManager
|
|
309
305
|
* Classes for working with child windows.
|
|
@@ -312,6 +308,10 @@ export * from "./appui-react/zones/ZoneDef";
|
|
|
312
308
|
* @docs-group-description Picker
|
|
313
309
|
* Classes for working with various pickers
|
|
314
310
|
*/
|
|
311
|
+
/**
|
|
312
|
+
* @docs-group-description Popup
|
|
313
|
+
* Classes for working with popup components
|
|
314
|
+
*/
|
|
315
315
|
/**
|
|
316
316
|
* @docs-group-description State
|
|
317
317
|
* Classes for maintaining state
|
|
@@ -346,14 +346,14 @@ export * from "./appui-react/zones/ZoneDef";
|
|
|
346
346
|
*/
|
|
347
347
|
/**
|
|
348
348
|
* @docs-group-description ToolSettings
|
|
349
|
-
* Classes for working Tool Settings. See learning documentation [Tool Settings]($docs/learning/ui/
|
|
349
|
+
* Classes for working Tool Settings. See learning documentation [Tool Settings]($docs/learning/ui/appui-react/toolsettings.md).
|
|
350
350
|
*/
|
|
351
351
|
/**
|
|
352
352
|
* @docs-group-description UiProvider
|
|
353
353
|
* Interfaces and classes for specifying UI items to be inserted at runtime.
|
|
354
354
|
*/
|
|
355
355
|
/**
|
|
356
|
-
* @docs-group-description
|
|
356
|
+
* @docs-group-description UiStateStorage
|
|
357
357
|
* Interfaces and classes for persisting UI settings.
|
|
358
358
|
*/
|
|
359
359
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appui-react.d.ts","sourceRoot":"","sources":["../../src/appui-react.ts"],"names":[],"mappings":"AAOA,cAAc,2BAA2B,CAAC;AAE1C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,uCAAuC,CAAC;AACtD,cAAc,kDAAkD,CAAC;AACjE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,uCAAuC,CAAC;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