@itwin/appui-react 5.3.1 → 5.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +330 -30
- package/lib/appui-react/UiFramework.d.ts +6 -2
- package/lib/appui-react/UiFramework.d.ts.map +1 -1
- package/lib/appui-react/UiFramework.js +30 -3
- package/lib/appui-react/UiFramework.js.map +1 -1
- package/lib/appui-react/accudraw/AccuDrawFieldContainer.d.ts.map +1 -1
- package/lib/appui-react/accudraw/AccuDrawFieldContainer.js +4 -4
- package/lib/appui-react/accudraw/AccuDrawFieldContainer.js.map +1 -1
- package/lib/appui-react/accudraw/AccuDrawPopupManager.d.ts.map +1 -1
- package/lib/appui-react/accudraw/AccuDrawPopupManager.js +10 -6
- package/lib/appui-react/accudraw/AccuDrawPopupManager.js.map +1 -1
- package/lib/appui-react/accudraw/AccuDrawWidget.d.ts.map +1 -1
- package/lib/appui-react/accudraw/AccuDrawWidget.js +1 -0
- package/lib/appui-react/accudraw/AccuDrawWidget.js.map +1 -1
- package/lib/appui-react/accudraw/Calculator.js +2 -2
- package/lib/appui-react/accudraw/Calculator.js.map +1 -1
- package/lib/appui-react/backstage/BackstageItemUtilities.d.ts.map +1 -1
- package/lib/appui-react/backstage/BackstageItemUtilities.js +2 -0
- package/lib/appui-react/backstage/BackstageItemUtilities.js.map +1 -1
- package/lib/appui-react/childwindow/ChildWindowRenderer.d.ts +2 -0
- package/lib/appui-react/childwindow/ChildWindowRenderer.d.ts.map +1 -1
- package/lib/appui-react/childwindow/ChildWindowRenderer.js +15 -10
- package/lib/appui-react/childwindow/ChildWindowRenderer.js.map +1 -1
- package/lib/appui-react/configurableui/ConfigurableUiContent.d.ts +23 -1
- package/lib/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
- package/lib/appui-react/configurableui/ConfigurableUiContent.js +20 -12
- package/lib/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
- package/lib/appui-react/content/ContentLayout.d.ts.map +1 -1
- package/lib/appui-react/content/ContentLayout.js +10 -11
- package/lib/appui-react/content/ContentLayout.js.map +1 -1
- package/lib/appui-react/content/ContentOverlay.d.ts +1 -0
- package/lib/appui-react/content/ContentOverlay.d.ts.map +1 -1
- package/lib/appui-react/content/ContentOverlay.js +3 -1
- package/lib/appui-react/content/ContentOverlay.js.map +1 -1
- package/lib/appui-react/content/DefaultViewOverlay.d.ts.map +1 -1
- package/lib/appui-react/content/DefaultViewOverlay.js +6 -2
- package/lib/appui-react/content/DefaultViewOverlay.js.map +1 -1
- package/lib/appui-react/content/FloatingViewportContent.d.ts.map +1 -1
- package/lib/appui-react/content/FloatingViewportContent.js +1 -1
- package/lib/appui-react/content/FloatingViewportContent.js.map +1 -1
- package/lib/appui-react/cursor/CursorInformation.d.ts +4 -1
- package/lib/appui-react/cursor/CursorInformation.d.ts.map +1 -1
- package/lib/appui-react/cursor/CursorInformation.js +6 -1
- package/lib/appui-react/cursor/CursorInformation.js.map +1 -1
- package/lib/appui-react/cursor/cursormenu/CursorMenu.d.ts +1 -24
- package/lib/appui-react/cursor/cursormenu/CursorMenu.d.ts.map +1 -1
- package/lib/appui-react/cursor/cursormenu/CursorMenu.js +37 -58
- package/lib/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
- package/lib/appui-react/cursor/cursorpopup/CursorPopup.scss +3 -0
- package/lib/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts +8 -22
- package/lib/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts.map +1 -1
- package/lib/appui-react/cursor/cursorpopup/CursorPopupManager.js +111 -116
- package/lib/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
- package/lib/appui-react/cursor/cursorprompt/CursorPrompt.d.ts +12 -15
- package/lib/appui-react/cursor/cursorprompt/CursorPrompt.d.ts.map +1 -1
- package/lib/appui-react/cursor/cursorprompt/CursorPrompt.js +85 -48
- package/lib/appui-react/cursor/cursorprompt/CursorPrompt.js.map +1 -1
- package/lib/appui-react/framework/FrameworkFrontstages.d.ts +47 -0
- package/lib/appui-react/framework/FrameworkFrontstages.d.ts.map +1 -1
- package/lib/appui-react/framework/FrameworkFrontstages.js +136 -0
- package/lib/appui-react/framework/FrameworkFrontstages.js.map +1 -1
- package/lib/appui-react/framework/FrameworkVisibility.d.ts +2 -0
- package/lib/appui-react/framework/FrameworkVisibility.d.ts.map +1 -1
- package/lib/appui-react/framework/FrameworkVisibility.js.map +1 -1
- package/lib/appui-react/frontstage/InternalFrontstageManager.d.ts.map +1 -1
- package/lib/appui-react/frontstage/InternalFrontstageManager.js +121 -115
- package/lib/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
- package/lib/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
- package/lib/appui-react/frontstage/StandardFrontstageProvider.js +1 -0
- package/lib/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
- package/lib/appui-react/hooks/useActiveTool.d.ts +9 -0
- package/lib/appui-react/hooks/useActiveTool.d.ts.map +1 -0
- package/lib/appui-react/hooks/useActiveTool.js +23 -0
- package/lib/appui-react/hooks/useActiveTool.js.map +1 -0
- package/lib/appui-react/icons/SvgAngle.d.ts +7 -0
- package/lib/appui-react/icons/SvgAngle.d.ts.map +1 -0
- package/lib/appui-react/icons/SvgAngle.js +15 -0
- package/lib/appui-react/icons/SvgAngle.js.map +1 -0
- package/lib/appui-react/icons/SvgBackspace.d.ts +7 -0
- package/lib/appui-react/icons/SvgBackspace.d.ts.map +1 -0
- package/lib/appui-react/icons/SvgBackspace.js +14 -0
- package/lib/appui-react/icons/SvgBackspace.js.map +1 -0
- package/lib/appui-react/icons/SvgDistance.d.ts +7 -0
- package/lib/appui-react/icons/SvgDistance.d.ts.map +1 -0
- package/lib/appui-react/icons/SvgDistance.js +16 -0
- package/lib/appui-react/icons/SvgDistance.js.map +1 -0
- package/lib/appui-react/icons/SvgHeight.d.ts +7 -0
- package/lib/appui-react/icons/SvgHeight.d.ts.map +1 -0
- package/lib/appui-react/icons/SvgHeight.js +17 -0
- package/lib/appui-react/icons/SvgHeight.js.map +1 -0
- package/lib/appui-react/icons/SvgMouseClickLeftDrag.d.ts +7 -0
- package/lib/appui-react/icons/SvgMouseClickLeftDrag.d.ts.map +1 -0
- package/lib/appui-react/icons/SvgMouseClickLeftDrag.js +15 -0
- package/lib/appui-react/icons/SvgMouseClickLeftDrag.js.map +1 -0
- package/lib/appui-react/icons/SvgMouseClickRightDrag.d.ts +7 -0
- package/lib/appui-react/icons/SvgMouseClickRightDrag.d.ts.map +1 -0
- package/lib/appui-react/icons/SvgMouseClickRightDrag.js +15 -0
- package/lib/appui-react/icons/SvgMouseClickRightDrag.js.map +1 -0
- package/lib/appui-react/icons/SvgMouseClickWheelDrag.d.ts +7 -0
- package/lib/appui-react/icons/SvgMouseClickWheelDrag.d.ts.map +1 -0
- package/lib/appui-react/icons/SvgMouseClickWheelDrag.js +15 -0
- package/lib/appui-react/icons/SvgMouseClickWheelDrag.js.map +1 -0
- package/lib/appui-react/icons/SvgTouchCursorPan.d.ts +7 -0
- package/lib/appui-react/icons/SvgTouchCursorPan.d.ts.map +1 -0
- package/lib/appui-react/icons/SvgTouchCursorPan.js +15 -0
- package/lib/appui-react/icons/SvgTouchCursorPan.js.map +1 -0
- package/lib/appui-react/icons/SvgTouchCursorPoint.d.ts +7 -0
- package/lib/appui-react/icons/SvgTouchCursorPoint.d.ts.map +1 -0
- package/lib/appui-react/icons/SvgTouchCursorPoint.js +16 -0
- package/lib/appui-react/icons/SvgTouchCursorPoint.js.map +1 -0
- package/lib/appui-react/layout/StandardLayout.scss +3 -8
- package/lib/appui-react/layout/base/DragManager.d.ts.map +1 -1
- package/lib/appui-react/layout/base/DragManager.js +10 -15
- package/lib/appui-react/layout/base/DragManager.js.map +1 -1
- package/lib/appui-react/layout/state/NineZoneAction.d.ts +1 -0
- package/lib/appui-react/layout/state/NineZoneAction.d.ts.map +1 -1
- package/lib/appui-react/layout/state/NineZoneAction.js.map +1 -1
- package/lib/appui-react/layout/state/NineZoneStateReducer.d.ts.map +1 -1
- package/lib/appui-react/layout/state/NineZoneStateReducer.js +23 -16
- package/lib/appui-react/layout/state/NineZoneStateReducer.js.map +1 -1
- package/lib/appui-react/messages/Pointer.js +1 -1
- package/lib/appui-react/messages/Pointer.js.map +1 -1
- package/lib/appui-react/navigationaids/CubeNavigationAidControl.d.ts.map +1 -1
- package/lib/appui-react/navigationaids/CubeNavigationAidControl.js +1 -0
- package/lib/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
- package/lib/appui-react/navigationaids/DrawingNavigationAidControl.d.ts.map +1 -1
- package/lib/appui-react/navigationaids/DrawingNavigationAidControl.js +1 -0
- package/lib/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
- package/lib/appui-react/navigationaids/SheetNavigationAid.d.ts.map +1 -1
- package/lib/appui-react/navigationaids/SheetNavigationAid.js +1 -0
- package/lib/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
- package/lib/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
- package/lib/appui-react/navigationaids/StandardRotationNavigationAid.js +1 -0
- package/lib/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
- package/lib/appui-react/popup/KeyinPalettePanel.js +1 -1
- package/lib/appui-react/popup/KeyinPalettePanel.js.map +1 -1
- package/lib/appui-react/popup/PopupManager.d.ts.map +1 -1
- package/lib/appui-react/popup/PopupManager.js +9 -3
- package/lib/appui-react/popup/PopupManager.js.map +1 -1
- package/lib/appui-react/preview/PreviewFeatures.d.ts +5 -0
- package/lib/appui-react/preview/PreviewFeatures.d.ts.map +1 -1
- package/lib/appui-react/preview/PreviewFeatures.js +1 -0
- package/lib/appui-react/preview/PreviewFeatures.js.map +1 -1
- package/lib/appui-react/preview/horizontal-panel-alignment/PreviewHorizontalPanelAlign.d.ts.map +1 -1
- package/lib/appui-react/preview/horizontal-panel-alignment/PreviewHorizontalPanelAlign.js +8 -2
- package/lib/appui-react/preview/horizontal-panel-alignment/PreviewHorizontalPanelAlign.js.map +1 -1
- package/lib/appui-react/preview/tool-settings-new-editors/useToolsSettingsNewEditors.d.ts +5 -0
- package/lib/appui-react/preview/tool-settings-new-editors/useToolsSettingsNewEditors.d.ts.map +1 -0
- package/lib/appui-react/preview/tool-settings-new-editors/useToolsSettingsNewEditors.js +13 -0
- package/lib/appui-react/preview/tool-settings-new-editors/useToolsSettingsNewEditors.js.map +1 -0
- package/lib/appui-react/shared/MenuItem.d.ts +3 -0
- package/lib/appui-react/shared/MenuItem.d.ts.map +1 -1
- package/lib/appui-react/shared/MenuItem.js +2 -3
- package/lib/appui-react/shared/MenuItem.js.map +1 -1
- package/lib/appui-react/statusbar/StatusBarItemUtilities.d.ts.map +1 -1
- package/lib/appui-react/statusbar/StatusBarItemUtilities.js +2 -0
- package/lib/appui-react/statusbar/StatusBarItemUtilities.js.map +1 -1
- package/lib/appui-react/statusfields/ActivityCenter.js +1 -1
- package/lib/appui-react/statusfields/ActivityCenter.js.map +1 -1
- package/lib/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +2 -55
- package/lib/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
- package/lib/appui-react/statusfields/toolassistance/ToolAssistanceField.js +333 -403
- package/lib/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
- package/lib/appui-react/toolbar/Toolbar.d.ts.map +1 -1
- package/lib/appui-react/toolbar/Toolbar.js +4 -3
- package/lib/appui-react/toolbar/Toolbar.js.map +1 -1
- package/lib/appui-react/toolbar/ToolbarItemUtilities.d.ts.map +1 -1
- package/lib/appui-react/toolbar/ToolbarItemUtilities.js +3 -0
- package/lib/appui-react/toolbar/ToolbarItemUtilities.js.map +1 -1
- package/lib/appui-react/toolbar/new-toolbars/ActionItem.d.ts.map +1 -1
- package/lib/appui-react/toolbar/new-toolbars/ActionItem.js +3 -0
- package/lib/appui-react/toolbar/new-toolbars/ActionItem.js.map +1 -1
- package/lib/appui-react/toolbar/new-toolbars/GroupItem.d.ts +1 -1
- package/lib/appui-react/toolbar/new-toolbars/GroupItem.d.ts.map +1 -1
- package/lib/appui-react/toolbar/new-toolbars/GroupItem.js +2 -0
- package/lib/appui-react/toolbar/new-toolbars/GroupItem.js.map +1 -1
- package/lib/appui-react/toolbar/new-toolbars/Item.d.ts +2 -2
- package/lib/appui-react/toolbar/new-toolbars/Toolbar.d.ts +6 -3
- package/lib/appui-react/toolbar/new-toolbars/Toolbar.d.ts.map +1 -1
- package/lib/appui-react/toolbar/new-toolbars/Toolbar.js +4 -3
- package/lib/appui-react/toolbar/new-toolbars/Toolbar.js.map +1 -1
- package/lib/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -1
- package/lib/appui-react/toolsettings/DefaultToolSettingsProvider.js +1 -0
- package/lib/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
- package/lib/appui-react/ui-items-provider/AbstractUiItemsManager.d.ts.map +1 -1
- package/lib/appui-react/ui-items-provider/AbstractUiItemsManager.js +9 -2
- package/lib/appui-react/ui-items-provider/AbstractUiItemsManager.js.map +1 -1
- package/lib/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts.map +1 -1
- package/lib/appui-react/ui-items-provider/StandardContentToolsProvider.js +1 -0
- package/lib/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
- package/lib/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts.map +1 -1
- package/lib/appui-react/ui-items-provider/StandardNavigationToolsProvider.js +1 -0
- package/lib/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
- package/lib/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts.map +1 -1
- package/lib/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js +1 -0
- package/lib/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
- package/lib/appui-react/uiprovider/ComponentGenerator.d.ts.map +1 -1
- package/lib/appui-react/uiprovider/ComponentGenerator.js +4 -2
- package/lib/appui-react/uiprovider/ComponentGenerator.js.map +1 -1
- package/lib/appui-react/utils/InternalUiShowHideManager.d.ts +2 -0
- package/lib/appui-react/utils/InternalUiShowHideManager.d.ts.map +1 -1
- package/lib/appui-react/utils/InternalUiShowHideManager.js +6 -0
- package/lib/appui-react/utils/InternalUiShowHideManager.js.map +1 -1
- package/lib/appui-react/utils/PropsHelper.js +1 -1
- package/lib/appui-react/utils/PropsHelper.js.map +1 -1
- package/lib/appui-react/widget-panels/Frontstage.d.ts +7 -2
- package/lib/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
- package/lib/appui-react/widget-panels/Frontstage.js +29 -12
- package/lib/appui-react/widget-panels/Frontstage.js.map +1 -1
- package/lib/appui-react/widgets/BackstageAppButton.scss +8 -3
- package/lib/appui-react/widgets/BasicToolWidget.d.ts.map +1 -1
- package/lib/appui-react/widgets/BasicToolWidget.js +3 -1
- package/lib/appui-react/widgets/BasicToolWidget.js.map +1 -1
- package/lib/appui-react/widgets/WidgetDef.d.ts.map +1 -1
- package/lib/appui-react/widgets/WidgetDef.js +0 -1
- package/lib/appui-react/widgets/WidgetDef.js.map +1 -1
- package/lib/appui-react.d.ts +1 -1
- package/lib/appui-react.d.ts.map +1 -1
- package/lib/appui-react.js +1 -1
- package/lib/appui-react.js.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.scss +3 -0
- package/lib/cjs/appui-react/layout/StandardLayout.scss +3 -8
- package/lib/cjs/appui-react/widgets/BackstageAppButton.scss +8 -3
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.scss +3 -0
- package/lib/esm/appui-react/layout/StandardLayout.scss +3 -8
- package/lib/esm/appui-react/widgets/BackstageAppButton.scss +8 -3
- package/package.json +29 -30
- package/lib/appui-react/accudraw/angle.svg +0 -1
- package/lib/appui-react/accudraw/backspace.svg +0 -9
- package/lib/appui-react/accudraw/constraint-2d.svg +0 -11
- package/lib/appui-react/accudraw/distance.svg +0 -1
- package/lib/appui-react/accudraw/height-2.svg +0 -10
- package/lib/appui-react/accudraw/height.svg +0 -11
- package/lib/appui-react/statusfields/toolassistance/accept-point.svg +0 -1
- package/lib/appui-react/statusfields/toolassistance/cursor-click.svg +0 -1
- package/lib/appui-react/statusfields/toolassistance/gesture-one-finger-drag.svg +0 -1
- package/lib/appui-react/statusfields/toolassistance/gesture-one-finger-tap-double.svg +0 -1
- package/lib/appui-react/statusfields/toolassistance/gesture-one-finger-tap.svg +0 -1
- package/lib/appui-react/statusfields/toolassistance/gesture-pinch.svg +0 -1
- package/lib/appui-react/statusfields/toolassistance/gesture-two-finger-drag.svg +0 -1
- package/lib/appui-react/statusfields/toolassistance/gesture-two-finger-tap.svg +0 -1
- package/lib/appui-react/statusfields/toolassistance/mouse-click-left-drag.svg +0 -1
- package/lib/appui-react/statusfields/toolassistance/mouse-click-left.svg +0 -1
- package/lib/appui-react/statusfields/toolassistance/mouse-click-right-drag.svg +0 -1
- package/lib/appui-react/statusfields/toolassistance/mouse-click-right.svg +0 -1
- package/lib/appui-react/statusfields/toolassistance/mouse-click-wheel-drag.svg +0 -1
- package/lib/appui-react/statusfields/toolassistance/mouse-click-wheel.svg +0 -1
- package/lib/appui-react/statusfields/toolassistance/touch-cursor-pan.svg +0 -1
- package/lib/appui-react/statusfields/toolassistance/touch-cursor-point.svg +0 -1
- package/lib/cjs/appui-react/accudraw/angle.svg +0 -1
- package/lib/cjs/appui-react/accudraw/backspace.svg +0 -9
- package/lib/cjs/appui-react/accudraw/constraint-2d.svg +0 -11
- package/lib/cjs/appui-react/accudraw/distance.svg +0 -1
- package/lib/cjs/appui-react/accudraw/height-2.svg +0 -10
- package/lib/cjs/appui-react/accudraw/height.svg +0 -11
- package/lib/cjs/appui-react/statusfields/toolassistance/accept-point.svg +0 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/cursor-click.svg +0 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/gesture-one-finger-drag.svg +0 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/gesture-one-finger-tap-double.svg +0 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/gesture-one-finger-tap.svg +0 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/gesture-pinch.svg +0 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/gesture-two-finger-drag.svg +0 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/gesture-two-finger-tap.svg +0 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/mouse-click-left-drag.svg +0 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/mouse-click-left.svg +0 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/mouse-click-right-drag.svg +0 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/mouse-click-right.svg +0 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/mouse-click-wheel-drag.svg +0 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/mouse-click-wheel.svg +0 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/touch-cursor-pan.svg +0 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/touch-cursor-point.svg +0 -1
- package/lib/esm/appui-react/accudraw/angle.svg +0 -1
- package/lib/esm/appui-react/accudraw/backspace.svg +0 -9
- package/lib/esm/appui-react/accudraw/constraint-2d.svg +0 -11
- package/lib/esm/appui-react/accudraw/distance.svg +0 -1
- package/lib/esm/appui-react/accudraw/height-2.svg +0 -10
- package/lib/esm/appui-react/accudraw/height.svg +0 -11
- package/lib/esm/appui-react/statusfields/toolassistance/accept-point.svg +0 -1
- package/lib/esm/appui-react/statusfields/toolassistance/cursor-click.svg +0 -1
- package/lib/esm/appui-react/statusfields/toolassistance/gesture-one-finger-drag.svg +0 -1
- package/lib/esm/appui-react/statusfields/toolassistance/gesture-one-finger-tap-double.svg +0 -1
- package/lib/esm/appui-react/statusfields/toolassistance/gesture-one-finger-tap.svg +0 -1
- package/lib/esm/appui-react/statusfields/toolassistance/gesture-pinch.svg +0 -1
- package/lib/esm/appui-react/statusfields/toolassistance/gesture-two-finger-drag.svg +0 -1
- package/lib/esm/appui-react/statusfields/toolassistance/gesture-two-finger-tap.svg +0 -1
- package/lib/esm/appui-react/statusfields/toolassistance/mouse-click-left-drag.svg +0 -1
- package/lib/esm/appui-react/statusfields/toolassistance/mouse-click-left.svg +0 -1
- package/lib/esm/appui-react/statusfields/toolassistance/mouse-click-right-drag.svg +0 -1
- package/lib/esm/appui-react/statusfields/toolassistance/mouse-click-right.svg +0 -1
- package/lib/esm/appui-react/statusfields/toolassistance/mouse-click-wheel-drag.svg +0 -1
- package/lib/esm/appui-react/statusfields/toolassistance/mouse-click-wheel.svg +0 -1
- package/lib/esm/appui-react/statusfields/toolassistance/touch-cursor-pan.svg +0 -1
- package/lib/esm/appui-react/statusfields/toolassistance/touch-cursor-point.svg +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InternalFrontstageManager.js","sourceRoot":"","sources":["../../../src/appui-react/frontstage/InternalFrontstageManager.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAclE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAKhD,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAErE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAc/D,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAKxE;;GAEG;AACH,MAAM,OAAO,yBAAyB;IAuBpC;;OAEG;IACI,MAAM,CAAC,0BAA0B,CAAC,MAAc;QACrD,IAAI,CAAC,yBAAyB,CAAC,mBAAmB,CAAC,GAAG,CAAC,MAA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,mDAAyB,GAAG,IAAI,SAAS,EAAQ,CAAC;AAEzE;;GAEG;AACH,4DAA4D;AACrC,gDAAsB,GAAG,IAAI,SAAS,EAAQ,CAAC;AAEtE,mCAAmC;AACZ,gDAAsB,GAC3C,IAAI,SAAS,EAA4B,CAAC,CAAC,uDAAuD;AAEpG,0CAA0C;AACnB,uDAA6B,GAClD,IAAI,SAAS,EAAmC,CAAC,CAAC,uDAAuD;AAE3G,2CAA2C;AACpB,wDAA8B,GACnD,IAAI,SAAS,EAAoC,CAAC,CAAC,uDAAuD;AAE5G,0CAA0C;AACnB,uDAA6B,GAClD,IAAI,SAAS,EAAmC,CAAC,CAAC,uDAAuD;AAE3G,sCAAsC;AACf,mDAAyB,GAC9C,IAAI,SAAS,EAA+B,CAAC,CAAC,uDAAuD;AAEvG,gBAAgB;AAChB,4DAA4D;AACrC,kDAAwB,GAAG,IAAI,SAAS,EAAQ,CAAC;AAExE,gBAAgB;AACO,+DAAqC;AAC1D,4DAA4D;AAC5D,IAAI,SAAS,EAGT,CAAC;AAEP,gBAAgB;AACO,wDAA8B;AACnD,4DAA4D;AAC5D,IAAI,SAAS,EAET,CAAC;AAEP,gBAAgB;AACO,yDAA+B;AACpD,4DAA4D;AAC5D,IAAI,SAAS,EAET,CAAC;AAEP;;GAEG;AACoB,kDAAwB,GAC7C,IAAI,SAAS,EAA8B,CAAC,CAAC,uDAAuD;AAEtG;;GAEG;AACoB,mDAAyB;AAC9C,4DAA4D;AAC5D,IAAI,SAAS,EAA+B,CAAC;AAE/C,gBAAgB;AACO,iDAAuB,GAC5C,IAAI,SAAS,EAA6B,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Frontstage\n */\n\nimport { BeUiEvent, Logger } from \"@itwin/core-bentley\";\nimport type { IModelConnection, Tool } from \"@itwin/core-frontend\";\nimport { IModelApp, InteractiveTool } from \"@itwin/core-frontend\";\nimport type { ListenerType } from \"@itwin/core-react/internal\";\nimport type { ContentControlActivatedEventArgs } from \"../content/ContentControl.js\";\nimport type { ContentGroup } from \"../content/ContentGroup.js\";\nimport type {\n ContentLayoutActivatedEventArgs,\n ContentLayoutDef,\n} from \"../content/ContentLayout.js\";\nimport type { NavigationAidActivatedEventArgs } from \"../navigationaids/NavigationAidControl.js\";\nimport type {\n PanelPinnedChangedEventArgs,\n PanelSizeChangedEventArgs,\n PanelStateChangedEventArgs,\n} from \"../stagepanels/StagePanelDef.js\";\nimport { UiFramework } from \"../UiFramework.js\";\nimport type {\n WidgetDef,\n WidgetStateChangedEventArgs,\n} from \"../widgets/WidgetDef.js\";\nimport { ToolInformation } from \"../toolsettings/ToolInformation.js\";\nimport type { ToolUiProvider } from \"../toolsettings/ToolUiProvider.js\";\nimport { FrontstageDef } from \"./FrontstageDef.js\";\nimport { FrontstageProvider } from \"./FrontstageProvider.js\";\nimport { TimeTracker } from \"../configurableui/TimeTracker.js\";\nimport type { WidgetState } from \"../widgets/WidgetState.js\";\nimport type {\n FrontstageActivatedEventArgs,\n FrontstageDeactivatedEventArgs,\n FrontstageReadyEventArgs,\n ModalFrontstageChangedEventArgs,\n ModalFrontstageClosedEventArgs,\n ModalFrontstageInfo,\n ModalFrontstageItem,\n ModalFrontstageRequestedCloseEventArgs,\n ToolActivatedEventArgs,\n ToolIconChangedEventArgs,\n} from \"../framework/FrameworkFrontstages.js\";\nimport { UiItemsManager } from \"../ui-items-provider/UiItemsManager.js\";\nimport type { Frontstage } from \"./Frontstage.js\";\nimport type { NineZoneState } from \"../layout/state/NineZoneState.js\";\nimport type { SizeProps } from \"../utils/SizeProps.js\";\n\n/** Frontstage Manager class.\n * @internal\n */\nexport class InternalFrontstageManager {\n private static _initialized = false;\n private static _isLoading = false;\n private static _activeToolId = \"\";\n private static _activeFrontstageDef: FrontstageDef | undefined;\n private static _frontstageDefs = new Map<string, FrontstageDef>();\n private static _modalFrontstages: ModalFrontstageItem[] =\n new Array<ModalFrontstageItem>();\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n private static _frontstageProviders = new Map<string, FrontstageProvider>();\n private static _frontstages = new Map<string, Frontstage>();\n private static _nineZoneSize: SizeProps | undefined = undefined;\n\n private static _nestedFrontstages: FrontstageDef[] =\n new Array<FrontstageDef>();\n private static _activePrimaryFrontstageDef: FrontstageDef | undefined;\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n private static _toolInformationMap: Map<string, ToolInformation> = new Map<\n string,\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n ToolInformation\n >();\n\n /** This should only be called within InternalFrontstageManager and its tests.\n * @internal\n */\n public static ensureToolInformationIsSet(toolId: string): void {\n if (!InternalFrontstageManager._toolInformationMap.get(toolId))\n InternalFrontstageManager._toolInformationMap.set(\n toolId,\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n new ToolInformation(toolId)\n );\n }\n\n private static _handleSyncToolSettingsPropertiesEvent: ListenerType<\n typeof UiFramework.toolSettings.onSyncToolSettingsProperties\n > = (args) => {\n InternalFrontstageManager.activeToolSettingsProvider &&\n InternalFrontstageManager.activeToolSettingsProvider.syncToolSettingsProperties(\n args\n );\n };\n\n // pass on ReloadToolSettingsEvent from ToolAdmin so they are treated by UiProviders\n private static _handleReloadToolSettingsEvent: ListenerType<\n typeof UiFramework.toolSettings.onReloadToolSettingsProperties\n > = () => {\n if (InternalFrontstageManager.activeToolSettingsProvider) {\n InternalFrontstageManager.activeToolSettingsProvider.reloadPropertiesFromTool();\n }\n };\n\n /** Initializes the InternalFrontstageManager\n * @internal\n */\n public static initialize() {\n if (this._initialized) return;\n\n IModelApp.toolAdmin.activeToolChanged.addListener((tool) => {\n // make sure tool settings properties are cached before creating ToolInformation\n UiFramework.toolSettings.clearToolSettingsData();\n if (tool instanceof InteractiveTool)\n UiFramework.toolSettings.initializeDataForTool(tool);\n\n // if the tool data is not already cached then see if there is data to cache\n InternalFrontstageManager.ensureToolInformationIsSet(tool.toolId);\n InternalFrontstageManager.setActiveTool(tool);\n });\n UiFramework.toolSettings.onSyncToolSettingsProperties.addListener(\n InternalFrontstageManager._handleSyncToolSettingsPropertiesEvent\n );\n UiFramework.toolSettings.onReloadToolSettingsProperties.addListener(\n InternalFrontstageManager._handleReloadToolSettingsEvent\n );\n IModelApp.viewManager.onSelectedViewportChanged.addListener(\n InternalFrontstageManager._handleSelectedViewportChanged\n );\n UiItemsManager.onUiProviderRegisteredEvent.addListener(() => {\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n if (!frontstageDef) return;\n frontstageDef.updateWidgetDefs();\n });\n\n this._initialized = true;\n }\n\n /** Handles a Viewport change & sets the active view accordingly */\n private static _handleSelectedViewportChanged: ListenerType<\n typeof IModelApp.viewManager.onSelectedViewportChanged\n > = (args) => {\n if (\n args.current &&\n InternalFrontstageManager.activeFrontstageDef &&\n !InternalFrontstageManager.isLoading\n ) {\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n InternalFrontstageManager.activeFrontstageDef.setActiveViewFromViewport(\n args.current\n );\n }\n };\n\n /** @internal */\n public static get isInitialized(): boolean {\n return InternalFrontstageManager._initialized;\n }\n public static set isInitialized(v: boolean) {\n InternalFrontstageManager._initialized = v;\n }\n\n /** Returns true if Frontstage is loading its controls. If false the Frontstage content and controls have been created. */\n public static get isLoading(): boolean {\n return InternalFrontstageManager._isLoading;\n }\n\n /** @internal */\n public static get nineZoneSize() {\n return InternalFrontstageManager._nineZoneSize;\n }\n\n public static set nineZoneSize(size) {\n InternalFrontstageManager._nineZoneSize = size;\n }\n\n /** @internal */\n public static get frontstageDefs(): ReadonlyMap<string, FrontstageDef> {\n return this._frontstageDefs;\n }\n\n /** Get Frontstage Deactivated event. */\n public static readonly onFrontstageDeactivatedEvent =\n new BeUiEvent<FrontstageDeactivatedEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get Frontstage Activated event. */\n public static readonly onFrontstageActivatedEvent =\n new BeUiEvent<FrontstageActivatedEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get Frontstage Activated event. */\n public static readonly onFrontstageReadyEvent =\n new BeUiEvent<FrontstageReadyEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get Modal Frontstage Changed event. */\n public static readonly onModalFrontstageChangedEvent =\n new BeUiEvent<ModalFrontstageChangedEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get Modal Frontstage Closed event. */\n public static readonly onModalFrontstageClosedEvent =\n new BeUiEvent<ModalFrontstageClosedEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get Modal Frontstage Requested Closed event.\n * @alpha\n */\n public static readonly onCloseModalFrontstageRequestedEvent =\n new BeUiEvent<ModalFrontstageRequestedCloseEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get Tool Activated event. */\n public static readonly onToolActivatedEvent =\n new BeUiEvent<ToolActivatedEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get ToolSetting Reload event. */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n public static readonly onToolSettingsReloadEvent = new BeUiEvent<void>();\n\n /** Get Tool Panel Opened event.\n * @internal\n */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n public static readonly onToolPanelOpenedEvent = new BeUiEvent<void>();\n\n /** Get Tool Icon Changed event. */\n public static readonly onToolIconChangedEvent =\n new BeUiEvent<ToolIconChangedEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get Content Layout Activated event. */\n public static readonly onContentLayoutActivatedEvent =\n new BeUiEvent<ContentLayoutActivatedEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get Content Control Activated event. */\n public static readonly onContentControlActivatedEvent =\n new BeUiEvent<ContentControlActivatedEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get Navigation Aid Activated event. */\n public static readonly onNavigationAidActivatedEvent =\n new BeUiEvent<NavigationAidActivatedEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get Widget State Changed event. */\n public static readonly onWidgetStateChangedEvent =\n new BeUiEvent<WidgetStateChangedEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** @internal */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n public static readonly onWidgetDefsUpdatedEvent = new BeUiEvent<void>();\n\n /** @internal */\n public static readonly onFrontstageNineZoneStateChangedEvent =\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n new BeUiEvent<{\n frontstageDef: FrontstageDef;\n state: NineZoneState | undefined;\n }>();\n\n /** @internal */\n public static readonly onFrontstageRestoreLayoutEvent =\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n new BeUiEvent<{\n frontstageDef: FrontstageDef;\n }>();\n\n /** @internal */\n public static readonly onFrontstageWidgetsChangedEvent =\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n new BeUiEvent<{\n frontstageDef: FrontstageDef;\n }>();\n\n /** Get panel state changed event.\n * @alpha\n */\n public static readonly onPanelStateChangedEvent =\n new BeUiEvent<PanelStateChangedEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get panel pinned changed event.\n * @alpha\n */\n public static readonly onPanelPinnedChangedEvent =\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n new BeUiEvent<PanelPinnedChangedEventArgs>();\n\n /** @internal */\n public static readonly onPanelSizeChangedEvent =\n new BeUiEvent<PanelSizeChangedEventArgs>();\n\n /** Clears the Frontstage map.\n */\n public static clearFrontstageDefs(): void {\n InternalFrontstageManager._frontstageDefs.clear();\n InternalFrontstageManager._activeFrontstageDef = undefined;\n }\n\n /** Clears the Frontstage Providers and the defs that may have been created from them.\n */\n public static clearFrontstageProviders(): void {\n InternalFrontstageManager._frontstageProviders.clear();\n InternalFrontstageManager.clearFrontstageDefs();\n }\n\n /** Clears the Frontstages, Frontstage Providers and the defs that may have been created from them. */\n public static clearFrontstages(): void {\n InternalFrontstageManager._frontstages.clear();\n InternalFrontstageManager.clearFrontstageProviders();\n }\n\n private static getFrontstageKey(frontstageId: string) {\n return frontstageId;\n }\n\n /** @internal */\n public static clearFrontstageDefsForIModelId(iModelId: string | undefined) {\n if (!iModelId) return;\n const keysToRemove: string[] = [];\n InternalFrontstageManager._frontstageDefs.forEach(\n (_: FrontstageDef, key: string) => {\n if (key.startsWith(`[${iModelId}]`)) keysToRemove.push(key);\n }\n );\n keysToRemove.forEach((keyValue) => {\n InternalFrontstageManager._frontstageDefs.delete(keyValue);\n });\n }\n\n public static addFrontstageProvider(\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n frontstageProvider: FrontstageProvider\n ): void {\n const key = InternalFrontstageManager.getFrontstageKey(\n frontstageProvider.id\n );\n key && InternalFrontstageManager._frontstageDefs.delete(key);\n InternalFrontstageManager._frontstageProviders.set(\n frontstageProvider.id,\n frontstageProvider\n );\n }\n\n public static addFrontstage(frontstage: Frontstage) {\n const key = InternalFrontstageManager.getFrontstageKey(frontstage.id);\n key && InternalFrontstageManager._frontstageDefs.delete(key);\n InternalFrontstageManager._frontstages.set(frontstage.id, frontstage);\n }\n\n /** Find a loaded Frontstage with a given id. If the id is not provided, the active Frontstage is returned.\n * If the FrontstageDef has not been cached by FrontstageDef then it will not be found. See async function\n * `getFrontstageDef` to get a FrontstageDef.\n * @param id Id of the Frontstage to find\n * @returns FrontstageDef with a given id if found, or undefined if not found.\n */\n private static findFrontstageDef(id: string): FrontstageDef | undefined {\n const key = InternalFrontstageManager.getFrontstageKey(id);\n const frontstageDef = InternalFrontstageManager._frontstageDefs.get(key);\n if (frontstageDef instanceof FrontstageDef) return frontstageDef;\n return undefined;\n }\n\n private static findFrontstageProvider(\n id?: string\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n ): FrontstageProvider | undefined {\n if (!id) {\n return undefined;\n }\n\n const provider = InternalFrontstageManager._frontstageProviders.get(id);\n if (provider) {\n return provider;\n }\n\n const frontstage = InternalFrontstageManager._frontstages.get(id);\n if (frontstage) {\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n return new (class extends FrontstageProvider {\n public get id() {\n return frontstage?.id ?? \"\";\n }\n\n public frontstageConfig() {\n return frontstage;\n }\n })();\n }\n\n return undefined;\n }\n\n /** Find a loaded Frontstage with a given id. If the id is not provided, the active Frontstage is returned. If\n * no cached FrontstageDef is found but a FrontstageProvider is registered a FrontstageDef will be created, cached, and\n * returned.\n * @param id Id of the Frontstage to find\n * @returns FrontstageDef with a given id if found, or undefined if not found.\n */\n public static async getFrontstageDef(\n id?: string\n ): Promise<FrontstageDef | undefined> {\n if (!id) return InternalFrontstageManager.activeFrontstageDef;\n\n let frontstageDef = InternalFrontstageManager.findFrontstageDef(id);\n if (frontstageDef) return frontstageDef;\n\n const frontstageProvider =\n InternalFrontstageManager.findFrontstageProvider(id);\n if (frontstageProvider) {\n frontstageDef = await FrontstageDef.create(frontstageProvider);\n if (frontstageDef) {\n const key = InternalFrontstageManager.getFrontstageKey(\n frontstageDef.id\n );\n InternalFrontstageManager._frontstageDefs.set(key, frontstageDef);\n }\n return frontstageDef;\n }\n\n return undefined;\n }\n\n /** Gets the active FrontstageDef. If a Frontstage is not active, undefined is returned.\n * @return Active FrontstageDef, or undefined if one is not active.\n */\n public static get activeFrontstageDef(): FrontstageDef | undefined {\n return InternalFrontstageManager._activeFrontstageDef;\n }\n\n /** Gets the Id of the active FrontstageDef. If a Frontstage is not active, blank is returned.\n * @return Id of the active FrontstageDef, or blank if one is not active.\n */\n public static get activeFrontstageId(): string {\n const activeFrontstage = InternalFrontstageManager._activeFrontstageDef;\n return activeFrontstage ? activeFrontstage.id : \"\";\n }\n\n public static hasFrontstage(frontstageId: string) {\n if (InternalFrontstageManager.findFrontstageDef(frontstageId)) return true;\n if (InternalFrontstageManager.findFrontstageProvider(frontstageId))\n return true;\n return false;\n }\n\n /** Sets the active FrontstageDef give the stageId.\n * @param frontstageId Id of the Frontstage to set active.\n * @returns A Promise that is fulfilled when the Frontstage is ready.\n */\n public static async setActiveFrontstage(frontstageId: string): Promise<void> {\n const frontstageDef = await InternalFrontstageManager.getFrontstageDef(\n frontstageId\n );\n if (!frontstageDef) {\n Logger.logError(\n UiFramework.loggerCategory(\"InternalFrontstageManager\"),\n `setActiveFrontstage: Could not load a FrontstageDef with id of '${frontstageId}'`\n );\n return;\n }\n\n return InternalFrontstageManager.setActiveFrontstageDef(frontstageDef);\n }\n\n /** Sets the active FrontstageDef.\n * @param frontstageDef FrontstageDef to set active.\n * @returns A Promise that is fulfilled when the [[FrontstageDef]] is ready.\n */\n public static async setActiveFrontstageDef(\n frontstageDef: FrontstageDef | undefined\n ): Promise<void> {\n if (InternalFrontstageManager._activeFrontstageDef === frontstageDef)\n return;\n\n InternalFrontstageManager._isLoading = true;\n\n const deactivatedFrontstageDef =\n InternalFrontstageManager._activeFrontstageDef;\n if (deactivatedFrontstageDef) {\n await deactivatedFrontstageDef.onDeactivated();\n\n const timeTracker = deactivatedFrontstageDef.timeTracker;\n InternalFrontstageManager.onFrontstageDeactivatedEvent.emit({\n deactivatedFrontstageDef,\n activatedFrontstageDef: frontstageDef,\n totalTime: timeTracker.getTotalTimeSeconds(),\n engagementTime: timeTracker.getEngagementTimeSeconds(),\n idleTime: timeTracker.getIdleTimeSeconds(),\n });\n }\n\n InternalFrontstageManager._activeFrontstageDef = frontstageDef;\n\n if (frontstageDef) {\n await frontstageDef.onActivated();\n\n InternalFrontstageManager.onFrontstageActivatedEvent.emit({\n activatedFrontstageDef: frontstageDef,\n deactivatedFrontstageDef,\n });\n\n await frontstageDef.waitUntilReady();\n InternalFrontstageManager._isLoading = false;\n frontstageDef.onFrontstageReady();\n InternalFrontstageManager.onFrontstageReadyEvent.emit({ frontstageDef });\n UiFramework.visibility.handleFrontstageReady();\n\n await frontstageDef.setActiveContent();\n }\n\n InternalFrontstageManager._isLoading = false;\n }\n\n /** Deactivates the active FrontstageDef.\n */\n public static async deactivateFrontstageDef(): Promise<void> {\n await this.setActiveFrontstageDef(undefined);\n }\n\n /** Gets the Id of the active tool. If a tool is not active, blank is returned.\n * @return Id of the active tool, or blank if one is not active.\n */\n public static get activeToolId(): string {\n return InternalFrontstageManager._activeToolId;\n }\n\n /** Sets the active tool id */\n public static setActiveToolId(toolId: string): void {\n InternalFrontstageManager._activeToolId = toolId;\n const toolSettingsProvider =\n InternalFrontstageManager.activeToolSettingsProvider;\n // ensure the toolSettingsProvider is initialized before emitting onToolActivatedEvent\n if (toolSettingsProvider) toolSettingsProvider.initialize();\n InternalFrontstageManager.onToolActivatedEvent.emit({ toolId });\n }\n\n /** Sets the active tool */\n public static setActiveTool(tool: Tool): void {\n InternalFrontstageManager.setActiveToolId(tool.toolId);\n InternalFrontstageManager.onToolIconChangedEvent.emit({\n iconSpec: tool.iconSpec,\n });\n }\n\n /** Gets the active tool's [[ToolInformation]] */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n public static get activeToolInformation(): ToolInformation | undefined {\n return InternalFrontstageManager._toolInformationMap.get(\n InternalFrontstageManager.activeToolId\n );\n }\n\n /** Gets the Tool Setting React node of the active tool.\n * @return Tool Setting React node of the active tool, or undefined if there is no active tool or Tool Settings for the active tool.\n * @internal\n */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n public static get activeToolSettingsProvider(): ToolUiProvider | undefined {\n const activeToolInformation =\n InternalFrontstageManager.activeToolInformation;\n return activeToolInformation?.toolUiProvider;\n }\n\n /** Sets the active layout, content group and active content.\n * @param contentLayoutDef Content layout to make active\n * @param contentGroup Content Group to make active\n */\n public static async setActiveLayout(\n contentLayoutDef: ContentLayoutDef,\n contentGroup: ContentGroup\n ): Promise<void> {\n const activeFrontstageDef = InternalFrontstageManager.activeFrontstageDef;\n if (activeFrontstageDef) {\n InternalFrontstageManager._isLoading = false;\n\n activeFrontstageDef.setContentLayoutAndGroup(\n contentLayoutDef,\n contentGroup\n );\n InternalFrontstageManager.onContentLayoutActivatedEvent.emit({\n contentLayout: contentLayoutDef,\n contentGroup,\n });\n\n await activeFrontstageDef.waitUntilReady();\n InternalFrontstageManager._isLoading = false;\n\n await activeFrontstageDef.setActiveContent();\n }\n }\n\n /** Sets the active layout, content group and active content.\n * @param contentGroup Content Group to make active\n */\n public static async setActiveContentGroup(\n contentGroup: ContentGroup\n ): Promise<void> {\n const contentLayoutDef =\n UiFramework.content.layouts.getForGroup(contentGroup);\n await InternalFrontstageManager.setActiveLayout(\n contentLayoutDef,\n contentGroup\n );\n }\n\n /** Opens a modal Frontstage. Modal Frontstages can be stacked.\n * @param modalFrontstage Information about the modal Frontstage\n */\n public static openModalFrontstage(\n modalFrontstage: ModalFrontstageInfo\n ): void {\n InternalFrontstageManager.pushModalFrontstage(modalFrontstage);\n }\n\n private static pushModalFrontstage(\n modalFrontstage: ModalFrontstageInfo\n ): void {\n const timeTracker = new TimeTracker();\n timeTracker.startTiming();\n const frontstageItem: ModalFrontstageItem = {\n modalFrontstage,\n timeTracker,\n };\n InternalFrontstageManager._modalFrontstages.push(frontstageItem);\n InternalFrontstageManager.emitModalFrontstageChangedEvent();\n }\n\n /** Closes the top-most modal Frontstage.\n */\n public static closeModalFrontstage(): void {\n if (InternalFrontstageManager._modalFrontstages.length > 0) {\n const topMostStageItem =\n InternalFrontstageManager._modalFrontstages[\n InternalFrontstageManager._modalFrontstages.length - 1\n ];\n if (topMostStageItem.modalFrontstage.notifyCloseRequest)\n InternalFrontstageManager.onCloseModalFrontstageRequestedEvent.emit({\n modalFrontstage: topMostStageItem.modalFrontstage,\n stageCloseFunc: InternalFrontstageManager.popModalFrontstage,\n });\n else InternalFrontstageManager.popModalFrontstage();\n }\n }\n\n private static popModalFrontstage(): void {\n const frontstageItem = InternalFrontstageManager._modalFrontstages.pop();\n if (frontstageItem) {\n const modalFrontstage = frontstageItem.modalFrontstage;\n const timeTracker = frontstageItem.timeTracker;\n timeTracker.stopTiming();\n InternalFrontstageManager.onModalFrontstageClosedEvent.emit({\n modalFrontstage,\n totalTime: timeTracker.getTotalTimeSeconds(),\n engagementTime: timeTracker.getEngagementTimeSeconds(),\n idleTime: timeTracker.getIdleTimeSeconds(),\n });\n }\n\n InternalFrontstageManager.emitModalFrontstageChangedEvent();\n\n UiFramework.visibility.handleFrontstageReady();\n }\n\n private static emitModalFrontstageChangedEvent(): void {\n InternalFrontstageManager.onModalFrontstageChangedEvent.emit({\n modalFrontstageCount: InternalFrontstageManager.modalFrontstageCount,\n });\n }\n\n /** Updates the top-most modal Frontstage.\n */\n public static updateModalFrontstage(): void {\n InternalFrontstageManager.emitModalFrontstageChangedEvent();\n }\n\n /** Gets the top-most modal Frontstage.\n * @returns Top-most modal Frontstage, or undefined if there is none.\n */\n public static get activeModalFrontstage(): ModalFrontstageInfo | undefined {\n if (InternalFrontstageManager._modalFrontstages.length > 0) {\n const frontstageItem =\n InternalFrontstageManager._modalFrontstages[\n InternalFrontstageManager._modalFrontstages.length - 1\n ];\n const modalFrontstage = frontstageItem.modalFrontstage;\n return modalFrontstage;\n } else {\n return undefined;\n }\n }\n\n /** Gets the number of modal Frontstages.\n * @returns Modal Frontstage count\n */\n public static get modalFrontstageCount(): number {\n return InternalFrontstageManager._modalFrontstages.length;\n }\n\n /** Sets the active Navigation Aid via its Id.\n * @param navigationAidId Id of the Navigation Aid to set as active\n * @param iModelConnection IModelConnection to query for view data\n */\n public static setActiveNavigationAid(\n navigationAidId: string,\n iModelConnection: IModelConnection\n ) {\n InternalFrontstageManager.onNavigationAidActivatedEvent.emit({\n navigationAidId,\n iModelConnection,\n });\n }\n\n /** Sets the state of the widget with the given id\n * @param widgetId Id of the Widget for which to set the state\n * @param state New state of the widget\n * @returns true if the widget state was set successfully, or false if not.\n */\n public static setWidgetState(widgetId: string, state: WidgetState): boolean {\n const widgetDef = InternalFrontstageManager.findWidget(widgetId);\n if (widgetDef) {\n widgetDef.setWidgetState(state);\n return true;\n } else {\n Logger.logError(\n UiFramework.loggerCategory(\"InternalFrontstageManager\"),\n `setWidgetState: Could not find Widget with id of '${widgetId}'`\n );\n }\n\n return false;\n }\n\n /** Finds a widget with the given id in the active frontstage\n * @param widgetId Id of the Widget to find\n * @returns The WidgetDef with the given id, or undefined if not found.\n */\n public static findWidget(widgetId: string): WidgetDef | undefined {\n const activeFrontstageDef = InternalFrontstageManager.activeFrontstageDef;\n\n if (activeFrontstageDef) return activeFrontstageDef.findWidgetDef(widgetId);\n\n return undefined;\n }\n\n /** Opens a nested Frontstage. Nested Frontstages can be stacked.\n * @param nestedFrontstage Information about the nested Frontstage\n */\n public static async openNestedFrontstage(\n nestedFrontstage: FrontstageDef\n ): Promise<void> {\n if (InternalFrontstageManager.nestedFrontstageCount === 0)\n InternalFrontstageManager._activePrimaryFrontstageDef =\n InternalFrontstageManager._activeFrontstageDef;\n\n InternalFrontstageManager.pushNestedFrontstage(nestedFrontstage);\n\n await InternalFrontstageManager.setActiveFrontstageDef(nestedFrontstage);\n }\n\n private static pushNestedFrontstage(nestedFrontstage: FrontstageDef): void {\n InternalFrontstageManager._nestedFrontstages.push(nestedFrontstage);\n }\n\n /** Closes the top-most nested Frontstage.\n */\n public static async closeNestedFrontstage(): Promise<void> {\n InternalFrontstageManager.popNestedFrontstage();\n\n if (InternalFrontstageManager.nestedFrontstageCount > 0) {\n await InternalFrontstageManager.setActiveFrontstageDef(\n InternalFrontstageManager.activeNestedFrontstage\n );\n } else {\n await InternalFrontstageManager.setActiveFrontstageDef(\n InternalFrontstageManager._activePrimaryFrontstageDef\n );\n InternalFrontstageManager._activePrimaryFrontstageDef = undefined;\n }\n }\n\n private static popNestedFrontstage(): void {\n InternalFrontstageManager._nestedFrontstages.pop();\n }\n\n /** Gets the top-most nested Frontstage.\n * @returns Top-most nested Frontstage, or undefined if there is none.\n */\n public static get activeNestedFrontstage(): FrontstageDef | undefined {\n if (InternalFrontstageManager._nestedFrontstages.length > 0)\n return InternalFrontstageManager._nestedFrontstages[\n InternalFrontstageManager._nestedFrontstages.length - 1\n ];\n\n return undefined;\n }\n\n /** Gets the number of nested Frontstages.\n * @returns Nested Frontstage count\n */\n public static get nestedFrontstageCount(): number {\n return InternalFrontstageManager._nestedFrontstages.length;\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"InternalFrontstageManager.js","sourceRoot":"","sources":["../../../src/appui-react/frontstage/InternalFrontstageManager.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAclE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAKhD,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAErE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAc/D,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAKxE;;GAEG;AACH,MAAM,OAAO,yBAAyB;IAuBpC;;OAEG;IACI,MAAM,CAAC,0BAA0B,CAAC,MAAc;QACrD,IAAI,IAAI,CAAC,mBAAmB,CAAC,GAAG,CAAC,MAAM,CAAC;YAAE,OAAO;QACjD,IAAI,CAAC,mBAAmB,CAAC,GAAG,CAC1B,MAAM;QACN,4DAA4D;QAC5D,IAAI,eAAe,CAAC,MAAM,CAAC,CAC5B,CAAC;IACJ,CAAC;IAmBD;;OAEG;IACI,MAAM,CAAC,UAAU;QACtB,IAAI,IAAI,CAAC,YAAY;YAAE,OAAO;QAE9B,SAAS,CAAC,SAAS,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC,IAAI,EAAE,EAAE;YACzD,gFAAgF;YAChF,WAAW,CAAC,YAAY,CAAC,qBAAqB,EAAE,CAAC;YACjD,IAAI,IAAI,YAAY,eAAe;gBACjC,W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AAI,SAAS,EAAQ,AAAxB,CAAyB;AAEzE;;GAEG;AACH,4DAA4D;AACrC,gDAAsB,GAAG,IAAI,SAAS,EAAQ,AAAxB,CAAyB;AAEtE,mCAAmC;AACZ,gDAAsB,GAC3C,IAAI,SAAS,EAA4B,AADE,CACD,CAAC,uDAAuD;AAEpG,0CAA0C;AACnB,uDAA6B,GAClD,IAAI,SAAS,EAAmC,AADE,CACD,CAAC,uDAAuD;AAE3G,2CAA2C;AACpB,wDAA8B,GACnD,IAAI,SAAS,EAAoC,AADE,CACD,CAAC,uDAAuD;AAE5G,0CAA0C;AACnB,uDAA6B,GAClD,IAAI,SAAS,EAAmC,AADE,CACD,CAAC,uDAAuD;AAE3G,sCAAsC;AACf,mDAAyB,GAC9C,IAAI,SAAS,EAA+B,AADE,CACD,CAAC,uDAAuD;AAEvG,gBAAgB;AAChB,4DAA4D;AACrC,kDAAwB,GAAG,IAAI,SAAS,EAAQ,AAAxB,CAAyB;AAExE,gBAAgB;AACO,+DAAqC;AAC1D,4DAA4D;AAC5D,IAAI,SAAS,EAGT,AALsD,CAKrD;AAEP,gBAAgB;AACO,wDAA8B;AACnD,4DAA4D;AAC5D,IAAI,SAAS,EAET,AAJ+C,CAI9C;AAEP,gBAAgB;AACO,yDAA+B;AACpD,4DAA4D;AAC5D,IAAI,SAAS,EAET,AAJgD,CAI/C;AAEP;;GAEG;AACoB,kDAAwB,GAC7C,IAAI,SAAS,EAA8B,AADE,CACD,CAAC,uDAAuD;AAEtG;;GAEG;AACoB,mDAAyB;AAC9C,4DAA4D;AAC5D,IAAI,SAAS,EAA+B,AAFE,CAED;AAE/C,gBAAgB;AACO,iDAAuB,GAC5C,IAAI,SAAS,EAA6B,AADE,CACD","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Frontstage\n */\n\nimport { BeUiEvent, Logger } from \"@itwin/core-bentley\";\nimport type { IModelConnection, Tool } from \"@itwin/core-frontend\";\nimport { IModelApp, InteractiveTool } from \"@itwin/core-frontend\";\nimport type { ListenerType } from \"@itwin/core-react/internal\";\nimport type { ContentControlActivatedEventArgs } from \"../content/ContentControl.js\";\nimport type { ContentGroup } from \"../content/ContentGroup.js\";\nimport type {\n ContentLayoutActivatedEventArgs,\n ContentLayoutDef,\n} from \"../content/ContentLayout.js\";\nimport type { NavigationAidActivatedEventArgs } from \"../navigationaids/NavigationAidControl.js\";\nimport type {\n PanelPinnedChangedEventArgs,\n PanelSizeChangedEventArgs,\n PanelStateChangedEventArgs,\n} from \"../stagepanels/StagePanelDef.js\";\nimport { UiFramework } from \"../UiFramework.js\";\nimport type {\n WidgetDef,\n WidgetStateChangedEventArgs,\n} from \"../widgets/WidgetDef.js\";\nimport { ToolInformation } from \"../toolsettings/ToolInformation.js\";\nimport type { ToolUiProvider } from \"../toolsettings/ToolUiProvider.js\";\nimport { FrontstageDef } from \"./FrontstageDef.js\";\nimport { FrontstageProvider } from \"./FrontstageProvider.js\";\nimport { TimeTracker } from \"../configurableui/TimeTracker.js\";\nimport type { WidgetState } from \"../widgets/WidgetState.js\";\nimport type {\n FrontstageActivatedEventArgs,\n FrontstageDeactivatedEventArgs,\n FrontstageReadyEventArgs,\n ModalFrontstageChangedEventArgs,\n ModalFrontstageClosedEventArgs,\n ModalFrontstageInfo,\n ModalFrontstageItem,\n ModalFrontstageRequestedCloseEventArgs,\n ToolActivatedEventArgs,\n ToolIconChangedEventArgs,\n} from \"../framework/FrameworkFrontstages.js\";\nimport { UiItemsManager } from \"../ui-items-provider/UiItemsManager.js\";\nimport type { Frontstage } from \"./Frontstage.js\";\nimport type { NineZoneState } from \"../layout/state/NineZoneState.js\";\nimport type { SizeProps } from \"../utils/SizeProps.js\";\n\n/** Frontstage Manager class.\n * @internal\n */\nexport class InternalFrontstageManager {\n private static _initialized = false;\n private static _isLoading = false;\n private static _activeToolId = \"\";\n private static _activeFrontstageDef: FrontstageDef | undefined;\n private static _frontstageDefs = new Map<string, FrontstageDef>();\n private static _modalFrontstages: ModalFrontstageItem[] =\n new Array<ModalFrontstageItem>();\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n private static _frontstageProviders = new Map<string, FrontstageProvider>();\n private static _frontstages = new Map<string, Frontstage>();\n private static _nineZoneSize: SizeProps | undefined = undefined;\n\n private static _nestedFrontstages: FrontstageDef[] =\n new Array<FrontstageDef>();\n private static _activePrimaryFrontstageDef: FrontstageDef | undefined;\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n private static _toolInformationMap: Map<string, ToolInformation> = new Map<\n string,\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n ToolInformation\n >();\n\n /** This should only be called within InternalFrontstageManager and its tests.\n * @internal\n */\n public static ensureToolInformationIsSet(toolId: string): void {\n if (this._toolInformationMap.has(toolId)) return;\n this._toolInformationMap.set(\n toolId,\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n new ToolInformation(toolId)\n );\n }\n\n private static _handleSyncToolSettingsPropertiesEvent: ListenerType<\n typeof UiFramework.toolSettings.onSyncToolSettingsProperties\n > = (args) => {\n const provider = this.activeToolSettingsProvider;\n if (!provider) return;\n provider.syncToolSettingsProperties(args);\n };\n\n // pass on ReloadToolSettingsEvent from ToolAdmin so they are treated by UiProviders\n private static _handleReloadToolSettingsEvent: ListenerType<\n typeof UiFramework.toolSettings.onReloadToolSettingsProperties\n > = () => {\n const provider = this.activeToolSettingsProvider;\n if (!provider) return;\n provider.reloadPropertiesFromTool();\n };\n\n /** Initializes the InternalFrontstageManager\n * @internal\n */\n public static initialize() {\n if (this._initialized) return;\n\n IModelApp.toolAdmin.activeToolChanged.addListener((tool) => {\n // make sure tool settings properties are cached before creating ToolInformation\n UiFramework.toolSettings.clearToolSettingsData();\n if (tool instanceof InteractiveTool)\n UiFramework.toolSettings.initializeDataForTool(tool);\n\n // if the tool data is not already cached then see if there is data to cache\n this.ensureToolInformationIsSet(tool.toolId);\n UiFramework.frontstages.setActiveTool(tool);\n });\n UiFramework.toolSettings.onSyncToolSettingsProperties.addListener(\n this._handleSyncToolSettingsPropertiesEvent\n );\n UiFramework.toolSettings.onReloadToolSettingsProperties.addListener(\n this._handleReloadToolSettingsEvent\n );\n IModelApp.viewManager.onSelectedViewportChanged.addListener(\n this._handleSelectedViewportChanged\n );\n UiItemsManager.onUiProviderRegisteredEvent.addListener(() => {\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n if (!frontstageDef) return;\n frontstageDef.updateWidgetDefs();\n });\n\n this._initialized = true;\n }\n\n /** Handles a Viewport change & sets the active view accordingly */\n private static _handleSelectedViewportChanged: ListenerType<\n typeof IModelApp.viewManager.onSelectedViewportChanged\n > = (args) => {\n const frontstageDef = this.activeFrontstageDef;\n if (!args.current || !frontstageDef || UiFramework.frontstages.isLoading)\n return;\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n frontstageDef.setActiveViewFromViewport(args.current);\n };\n\n /** @internal */\n public static get isInitialized(): boolean {\n return this._initialized;\n }\n public static set isInitialized(v: boolean) {\n this._initialized = v;\n }\n\n /** Returns true if Frontstage is loading its controls. If false the Frontstage content and controls have been created. */\n public static get isLoading(): boolean {\n return this._isLoading;\n }\n\n /** @internal */\n public static get nineZoneSize() {\n return this._nineZoneSize;\n }\n\n public static set nineZoneSize(size) {\n this._nineZoneSize = size;\n }\n\n /** @internal */\n public static get frontstageDefs(): ReadonlyMap<string, FrontstageDef> {\n return this._frontstageDefs;\n }\n\n /** Get Frontstage Deactivated event. */\n public static readonly onFrontstageDeactivatedEvent =\n new BeUiEvent<FrontstageDeactivatedEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get Frontstage Activated event. */\n public static readonly onFrontstageActivatedEvent =\n new BeUiEvent<FrontstageActivatedEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get Frontstage Activated event. */\n public static readonly onFrontstageReadyEvent =\n new BeUiEvent<FrontstageReadyEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get Modal Frontstage Changed event. */\n public static readonly onModalFrontstageChangedEvent =\n new BeUiEvent<ModalFrontstageChangedEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get Modal Frontstage Closed event. */\n public static readonly onModalFrontstageClosedEvent =\n new BeUiEvent<ModalFrontstageClosedEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get Modal Frontstage Requested Closed event.\n * @alpha\n */\n public static readonly onCloseModalFrontstageRequestedEvent =\n new BeUiEvent<ModalFrontstageRequestedCloseEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get Tool Activated event. */\n public static readonly onToolActivatedEvent =\n new BeUiEvent<ToolActivatedEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get ToolSetting Reload event. */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n public static readonly onToolSettingsReloadEvent = new BeUiEvent<void>();\n\n /** Get Tool Panel Opened event.\n * @internal\n */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n public static readonly onToolPanelOpenedEvent = new BeUiEvent<void>();\n\n /** Get Tool Icon Changed event. */\n public static readonly onToolIconChangedEvent =\n new BeUiEvent<ToolIconChangedEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get Content Layout Activated event. */\n public static readonly onContentLayoutActivatedEvent =\n new BeUiEvent<ContentLayoutActivatedEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get Content Control Activated event. */\n public static readonly onContentControlActivatedEvent =\n new BeUiEvent<ContentControlActivatedEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get Navigation Aid Activated event. */\n public static readonly onNavigationAidActivatedEvent =\n new BeUiEvent<NavigationAidActivatedEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get Widget State Changed event. */\n public static readonly onWidgetStateChangedEvent =\n new BeUiEvent<WidgetStateChangedEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** @internal */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n public static readonly onWidgetDefsUpdatedEvent = new BeUiEvent<void>();\n\n /** @internal */\n public static readonly onFrontstageNineZoneStateChangedEvent =\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n new BeUiEvent<{\n frontstageDef: FrontstageDef;\n state: NineZoneState | undefined;\n }>();\n\n /** @internal */\n public static readonly onFrontstageRestoreLayoutEvent =\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n new BeUiEvent<{\n frontstageDef: FrontstageDef;\n }>();\n\n /** @internal */\n public static readonly onFrontstageWidgetsChangedEvent =\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n new BeUiEvent<{\n frontstageDef: FrontstageDef;\n }>();\n\n /** Get panel state changed event.\n * @alpha\n */\n public static readonly onPanelStateChangedEvent =\n new BeUiEvent<PanelStateChangedEventArgs>(); // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** Get panel pinned changed event.\n * @alpha\n */\n public static readonly onPanelPinnedChangedEvent =\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n new BeUiEvent<PanelPinnedChangedEventArgs>();\n\n /** @internal */\n public static readonly onPanelSizeChangedEvent =\n new BeUiEvent<PanelSizeChangedEventArgs>();\n\n /** Clears the Frontstage map.\n */\n public static clearFrontstageDefs(): void {\n this._frontstageDefs.clear();\n this._activeFrontstageDef = undefined;\n }\n\n /** Clears the Frontstage Providers and the defs that may have been created from them.\n */\n public static clearFrontstageProviders(): void {\n this._frontstageProviders.clear();\n UiFramework.frontstages.clearFrontstageDefs();\n }\n\n /** Clears the Frontstages, Frontstage Providers and the defs that may have been created from them. */\n public static clearFrontstages(): void {\n this._frontstages.clear();\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n UiFramework.frontstages.clearFrontstageProviders();\n }\n\n private static getFrontstageKey(frontstageId: string) {\n return frontstageId;\n }\n\n /** @internal */\n public static clearFrontstageDefsForIModelId(iModelId: string | undefined) {\n if (!iModelId) return;\n const keysToRemove: string[] = [];\n this._frontstageDefs.forEach((_: FrontstageDef, key: string) => {\n if (key.startsWith(`[${iModelId}]`)) keysToRemove.push(key);\n });\n keysToRemove.forEach((keyValue) => {\n this._frontstageDefs.delete(keyValue);\n });\n }\n\n public static addFrontstageProvider(\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n frontstageProvider: FrontstageProvider\n ): void {\n const key = this.getFrontstageKey(frontstageProvider.id);\n key && this._frontstageDefs.delete(key);\n this._frontstageProviders.set(frontstageProvider.id, frontstageProvider);\n }\n\n public static addFrontstage(frontstage: Frontstage) {\n const key = this.getFrontstageKey(frontstage.id);\n key && this._frontstageDefs.delete(key);\n this._frontstages.set(frontstage.id, frontstage);\n }\n\n /** Find a loaded Frontstage with a given id. If the id is not provided, the active Frontstage is returned.\n * If the FrontstageDef has not been cached by FrontstageDef then it will not be found. See async function\n * `getFrontstageDef` to get a FrontstageDef.\n * @param id Id of the Frontstage to find\n * @returns FrontstageDef with a given id if found, or undefined if not found.\n */\n private static findFrontstageDef(id: string): FrontstageDef | undefined {\n const key = this.getFrontstageKey(id);\n const frontstageDef = this._frontstageDefs.get(key);\n if (frontstageDef instanceof FrontstageDef) return frontstageDef;\n return undefined;\n }\n\n private static findFrontstageProvider(\n id?: string\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n ): FrontstageProvider | undefined {\n if (!id) {\n return undefined;\n }\n\n const provider = this._frontstageProviders.get(id);\n if (provider) {\n return provider;\n }\n\n const frontstage = this._frontstages.get(id);\n if (frontstage) {\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n return new (class extends FrontstageProvider {\n public get id() {\n return frontstage?.id ?? \"\";\n }\n\n public frontstageConfig() {\n return frontstage;\n }\n })();\n }\n\n return undefined;\n }\n\n /** Find a loaded Frontstage with a given id. If the id is not provided, the active Frontstage is returned. If\n * no cached FrontstageDef is found but a FrontstageProvider is registered a FrontstageDef will be created, cached, and\n * returned.\n * @param id Id of the Frontstage to find\n * @returns FrontstageDef with a given id if found, or undefined if not found.\n */\n public static async getFrontstageDef(\n id?: string\n ): Promise<FrontstageDef | undefined> {\n if (!id) return UiFramework.frontstages.activeFrontstageDef;\n\n let frontstageDef = this.findFrontstageDef(id);\n if (frontstageDef) return frontstageDef;\n\n const frontstageProvider = this.findFrontstageProvider(id);\n if (frontstageProvider) {\n frontstageDef = await FrontstageDef.create(frontstageProvider);\n if (frontstageDef) {\n const key = this.getFrontstageKey(frontstageDef.id);\n this._frontstageDefs.set(key, frontstageDef);\n }\n return frontstageDef;\n }\n\n return undefined;\n }\n\n /** Gets the active FrontstageDef. If a Frontstage is not active, undefined is returned.\n * @return Active FrontstageDef, or undefined if one is not active.\n */\n public static get activeFrontstageDef(): FrontstageDef | undefined {\n return this._activeFrontstageDef;\n }\n\n /** Gets the Id of the active FrontstageDef. If a Frontstage is not active, blank is returned.\n * @return Id of the active FrontstageDef, or blank if one is not active.\n */\n public static get activeFrontstageId(): string {\n const activeFrontstage = this._activeFrontstageDef;\n return activeFrontstage ? activeFrontstage.id : \"\";\n }\n\n public static hasFrontstage(frontstageId: string) {\n if (this.findFrontstageDef(frontstageId)) return true;\n if (this.findFrontstageProvider(frontstageId)) return true;\n return false;\n }\n\n /** Sets the active FrontstageDef give the stageId.\n * @param frontstageId Id of the Frontstage to set active.\n * @returns A Promise that is fulfilled when the Frontstage is ready.\n */\n public static async setActiveFrontstage(frontstageId: string): Promise<void> {\n const frontstageDef = await UiFramework.frontstages.getFrontstageDef(\n frontstageId\n );\n if (!frontstageDef) {\n Logger.logError(\n UiFramework.loggerCategory(\"InternalFrontstageManager\"),\n `setActiveFrontstage: Could not load a FrontstageDef with id of '${frontstageId}'`\n );\n return;\n }\n\n return UiFramework.frontstages.setActiveFrontstageDef(frontstageDef);\n }\n\n /** Sets the active FrontstageDef.\n * @param frontstageDef FrontstageDef to set active.\n * @returns A Promise that is fulfilled when the [[FrontstageDef]] is ready.\n */\n public static async setActiveFrontstageDef(\n frontstageDef: FrontstageDef | undefined\n ): Promise<void> {\n if (this._activeFrontstageDef === frontstageDef) return;\n\n this._isLoading = true;\n\n const deactivatedFrontstageDef = this._activeFrontstageDef;\n if (deactivatedFrontstageDef) {\n await deactivatedFrontstageDef.onDeactivated();\n\n const timeTracker = deactivatedFrontstageDef.timeTracker;\n UiFramework.frontstages.onFrontstageDeactivatedEvent.emit({\n deactivatedFrontstageDef,\n activatedFrontstageDef: frontstageDef,\n totalTime: timeTracker.getTotalTimeSeconds(),\n engagementTime: timeTracker.getEngagementTimeSeconds(),\n idleTime: timeTracker.getIdleTimeSeconds(),\n });\n }\n\n this._activeFrontstageDef = frontstageDef;\n\n if (frontstageDef) {\n await frontstageDef.onActivated();\n\n UiFramework.frontstages.onFrontstageActivatedEvent.emit({\n activatedFrontstageDef: frontstageDef,\n deactivatedFrontstageDef,\n });\n\n await frontstageDef.waitUntilReady();\n this._isLoading = false;\n frontstageDef.onFrontstageReady();\n UiFramework.frontstages.onFrontstageReadyEvent.emit({ frontstageDef });\n UiFramework.visibility.handleFrontstageReady();\n\n await frontstageDef.setActiveContent();\n }\n\n this._isLoading = false;\n }\n\n /** Deactivates the active FrontstageDef.\n */\n public static async deactivateFrontstageDef(): Promise<void> {\n await UiFramework.frontstages.setActiveFrontstageDef(undefined);\n }\n\n /** Gets the Id of the active tool. If a tool is not active, blank is returned.\n * @return Id of the active tool, or blank if one is not active.\n */\n public static get activeToolId(): string {\n return this._activeToolId;\n }\n\n /** Sets the active tool id */\n public static setActiveToolId(toolId: string): void {\n this._activeToolId = toolId;\n const toolSettingsProvider = this.activeToolSettingsProvider;\n // ensure the toolSettingsProvider is initialized before emitting onToolActivatedEvent\n if (toolSettingsProvider) toolSettingsProvider.initialize();\n UiFramework.frontstages.onToolActivatedEvent.emit({ toolId });\n }\n\n /** Sets the active tool */\n public static setActiveTool(tool: Tool): void {\n UiFramework.frontstages.setActiveToolId(tool.toolId);\n UiFramework.frontstages.onToolIconChangedEvent.emit({\n iconSpec: tool.iconSpec,\n });\n }\n\n /** Gets the active tool's [[ToolInformation]] */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n public static get activeToolInformation(): ToolInformation | undefined {\n return this._toolInformationMap.get(UiFramework.frontstages.activeToolId);\n }\n\n /** Gets the Tool Setting React node of the active tool.\n * @return Tool Setting React node of the active tool, or undefined if there is no active tool or Tool Settings for the active tool.\n * @internal\n */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n public static get activeToolSettingsProvider(): ToolUiProvider | undefined {\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n const activeToolInformation = UiFramework.frontstages.activeToolInformation;\n return activeToolInformation?.toolUiProvider;\n }\n\n /** Sets the active layout, content group and active content.\n * @param contentLayoutDef Content layout to make active\n * @param contentGroup Content Group to make active\n */\n public static async setActiveLayout(\n contentLayoutDef: ContentLayoutDef,\n contentGroup: ContentGroup\n ): Promise<void> {\n const activeFrontstageDef = UiFramework.frontstages.activeFrontstageDef;\n if (activeFrontstageDef) {\n this._isLoading = false;\n\n activeFrontstageDef.setContentLayoutAndGroup(\n contentLayoutDef,\n contentGroup\n );\n UiFramework.frontstages.onContentLayoutActivatedEvent.emit({\n contentLayout: contentLayoutDef,\n contentGroup,\n });\n\n await activeFrontstageDef.waitUntilReady();\n this._isLoading = false;\n\n await activeFrontstageDef.setActiveContent();\n }\n }\n\n /** Sets the active layout, content group and active content.\n * @param contentGroup Content Group to make active\n */\n public static async setActiveContentGroup(\n contentGroup: ContentGroup\n ): Promise<void> {\n const contentLayoutDef =\n UiFramework.content.layouts.getForGroup(contentGroup);\n await this.setActiveLayout(contentLayoutDef, contentGroup);\n }\n\n /** Opens a modal Frontstage. Modal Frontstages can be stacked.\n * @param modalFrontstage Information about the modal Frontstage\n */\n public static openModalFrontstage(\n modalFrontstage: ModalFrontstageInfo\n ): void {\n this.pushModalFrontstage(modalFrontstage);\n }\n\n private static pushModalFrontstage(\n modalFrontstage: ModalFrontstageInfo\n ): void {\n const timeTracker = new TimeTracker();\n timeTracker.startTiming();\n const frontstageItem: ModalFrontstageItem = {\n modalFrontstage,\n timeTracker,\n };\n this._modalFrontstages.push(frontstageItem);\n this.emitModalFrontstageChangedEvent();\n }\n\n /** Closes the top-most modal Frontstage.\n */\n public static closeModalFrontstage(): void {\n if (this._modalFrontstages.length > 0) {\n const topMostStageItem =\n this._modalFrontstages[this._modalFrontstages.length - 1];\n if (topMostStageItem.modalFrontstage.notifyCloseRequest)\n UiFramework.frontstages.onCloseModalFrontstageRequestedEvent.emit({\n modalFrontstage: topMostStageItem.modalFrontstage,\n stageCloseFunc: () => this.popModalFrontstage(),\n });\n else this.popModalFrontstage();\n }\n }\n\n private static popModalFrontstage(): void {\n const frontstageItem = this._modalFrontstages.pop();\n if (frontstageItem) {\n const modalFrontstage = frontstageItem.modalFrontstage;\n const timeTracker = frontstageItem.timeTracker;\n timeTracker.stopTiming();\n UiFramework.frontstages.onModalFrontstageClosedEvent.emit({\n modalFrontstage,\n totalTime: timeTracker.getTotalTimeSeconds(),\n engagementTime: timeTracker.getEngagementTimeSeconds(),\n idleTime: timeTracker.getIdleTimeSeconds(),\n });\n }\n\n this.emitModalFrontstageChangedEvent();\n\n UiFramework.visibility.handleFrontstageReady();\n }\n\n private static emitModalFrontstageChangedEvent(): void {\n UiFramework.frontstages.onModalFrontstageChangedEvent.emit({\n modalFrontstageCount: UiFramework.frontstages.modalFrontstageCount,\n });\n }\n\n /** Updates the top-most modal Frontstage.\n */\n public static updateModalFrontstage(): void {\n this.emitModalFrontstageChangedEvent();\n }\n\n /** Gets the top-most modal Frontstage.\n * @returns Top-most modal Frontstage, or undefined if there is none.\n */\n public static get activeModalFrontstage(): ModalFrontstageInfo | undefined {\n if (this._modalFrontstages.length > 0) {\n const frontstageItem =\n this._modalFrontstages[this._modalFrontstages.length - 1];\n const modalFrontstage = frontstageItem.modalFrontstage;\n return modalFrontstage;\n } else {\n return undefined;\n }\n }\n\n /** Gets the number of modal Frontstages.\n * @returns Modal Frontstage count\n */\n public static get modalFrontstageCount(): number {\n return this._modalFrontstages.length;\n }\n\n /** Sets the active Navigation Aid via its Id.\n * @param navigationAidId Id of the Navigation Aid to set as active\n * @param iModelConnection IModelConnection to query for view data\n */\n public static setActiveNavigationAid(\n navigationAidId: string,\n iModelConnection: IModelConnection\n ) {\n UiFramework.frontstages.onNavigationAidActivatedEvent.emit({\n navigationAidId,\n iModelConnection,\n });\n }\n\n /** Sets the state of the widget with the given id\n * @param widgetId Id of the Widget for which to set the state\n * @param state New state of the widget\n * @returns true if the widget state was set successfully, or false if not.\n */\n public static setWidgetState(widgetId: string, state: WidgetState): boolean {\n const widgetDef = UiFramework.frontstages.findWidget(widgetId);\n if (widgetDef) {\n widgetDef.setWidgetState(state);\n return true;\n } else {\n Logger.logError(\n UiFramework.loggerCategory(\"InternalFrontstageManager\"),\n `setWidgetState: Could not find Widget with id of '${widgetId}'`\n );\n }\n\n return false;\n }\n\n /** Finds a widget with the given id in the active frontstage\n * @param widgetId Id of the Widget to find\n * @returns The WidgetDef with the given id, or undefined if not found.\n */\n public static findWidget(widgetId: string): WidgetDef | undefined {\n const activeFrontstageDef = UiFramework.frontstages.activeFrontstageDef;\n if (!activeFrontstageDef) return undefined;\n\n return activeFrontstageDef.findWidgetDef(widgetId);\n }\n\n /** Opens a nested Frontstage. Nested Frontstages can be stacked.\n * @param nestedFrontstage Information about the nested Frontstage\n */\n public static async openNestedFrontstage(\n nestedFrontstage: FrontstageDef\n ): Promise<void> {\n if (UiFramework.frontstages.nestedFrontstageCount === 0)\n this._activePrimaryFrontstageDef = this._activeFrontstageDef;\n\n this.pushNestedFrontstage(nestedFrontstage);\n\n await UiFramework.frontstages.setActiveFrontstageDef(nestedFrontstage);\n }\n\n private static pushNestedFrontstage(nestedFrontstage: FrontstageDef): void {\n this._nestedFrontstages.push(nestedFrontstage);\n }\n\n /** Closes the top-most nested Frontstage.\n */\n public static async closeNestedFrontstage(): Promise<void> {\n this.popNestedFrontstage();\n\n if (UiFramework.frontstages.nestedFrontstageCount > 0) {\n await UiFramework.frontstages.setActiveFrontstageDef(\n UiFramework.frontstages.activeNestedFrontstage\n );\n } else {\n await UiFramework.frontstages.setActiveFrontstageDef(\n this._activePrimaryFrontstageDef\n );\n this._activePrimaryFrontstageDef = undefined;\n }\n }\n\n private static popNestedFrontstage(): void {\n this._nestedFrontstages.pop();\n }\n\n /** Gets the top-most nested Frontstage.\n * @returns Top-most nested Frontstage, or undefined if there is none.\n */\n public static get activeNestedFrontstage(): FrontstageDef | undefined {\n if (this._nestedFrontstages.length > 0)\n return this._nestedFrontstages[this._nestedFrontstages.length - 1];\n\n return undefined;\n }\n\n /** Gets the number of nested Frontstages.\n * @returns Nested Frontstage count\n */\n public static get nestedFrontstageCount(): number {\n return this._nestedFrontstages.length;\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StandardFrontstageProvider.d.ts","sourceRoot":"","sources":["../../../src/appui-react/frontstage/StandardFrontstageProvider.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAIlD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,IAAI,CACjC,gBAAgB,EAChB,SAAS,GAAG,cAAc,GAAG,QAAQ,GAAG,cAAc,GAAG,YAAY,CACtE,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,0DAA0D;IAC1D,EAAE,EAAE,MAAM,CAAC;IACX,oEAAoE;IACpE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gEAAgE;IAChE,KAAK,EAAE,UAAU,GAAG,MAAM,CAAC;IAC3B,6EAA6E;IAC7E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8EAA8E;IAC9E,iBAAiB,EAAE,iBAAiB,GAAG,oBAAoB,CAAC;IAC5D,2GAA2G;IAC3G,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,8DAA8D;IAC9D,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,4FAA4F;IAC5F,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,wDAAwD;IACxD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,cAAc,CAAC,EAAE,gBAAgB,CAAC;IAClC;;OAEG;IACH,aAAa,CAAC,EAAE,gBAAgB,CAAC;IACjC;;OAEG;IACH,eAAe,CAAC,EAAE,gBAAgB,CAAC;IACnC;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC;AAED;;;;GAIG;AAEH,qBAAa,0BAA2B,SAAQ,kBAAkB;IACpD,OAAO,CAAC,KAAK;gBAAL,KAAK,EAAE,uBAAuB;
|
|
1
|
+
{"version":3,"file":"StandardFrontstageProvider.d.ts","sourceRoot":"","sources":["../../../src/appui-react/frontstage/StandardFrontstageProvider.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAIlD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,IAAI,CACjC,gBAAgB,EAChB,SAAS,GAAG,cAAc,GAAG,QAAQ,GAAG,cAAc,GAAG,YAAY,CACtE,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,0DAA0D;IAC1D,EAAE,EAAE,MAAM,CAAC;IACX,oEAAoE;IACpE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gEAAgE;IAChE,KAAK,EAAE,UAAU,GAAG,MAAM,CAAC;IAC3B,6EAA6E;IAC7E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8EAA8E;IAC9E,iBAAiB,EAAE,iBAAiB,GAAG,oBAAoB,CAAC;IAC5D,2GAA2G;IAC3G,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,8DAA8D;IAC9D,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,4FAA4F;IAC5F,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,wDAAwD;IACxD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,cAAc,CAAC,EAAE,gBAAgB,CAAC;IAClC;;OAEG;IACH,aAAa,CAAC,EAAE,gBAAgB,CAAC;IACjC;;OAEG;IACH,eAAe,CAAC,EAAE,gBAAgB,CAAC;IACnC;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC;AAED;;;;GAIG;AAEH,qBAAa,0BAA2B,SAAQ,kBAAkB;IACpD,OAAO,CAAC,KAAK;gBAAL,KAAK,EAAE,uBAAuB;IAKlD,IAAoB,EAAE,IAAI,MAAM,CAE/B;IAEe,gBAAgB,IAAI,UAAU;CAI/C"}
|
|
@@ -15,6 +15,7 @@ import { FrontstageUtilities } from "./FrontstageUtilities.js";
|
|
|
15
15
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
16
16
|
export class StandardFrontstageProvider extends FrontstageProvider {
|
|
17
17
|
constructor(props) {
|
|
18
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
18
19
|
super();
|
|
19
20
|
this.props = props;
|
|
20
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StandardFrontstageProvider.js","sourceRoot":"","sources":["../../../src/appui-react/frontstage/StandardFrontstageProvider.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAOH,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAI7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAmD/D;;;;GAIG;AACH,4DAA4D;AAC5D,MAAM,OAAO,0BAA2B,SAAQ,kBAAkB;IAChE,YAAoB,KAA8B;QAChD,KAAK,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"StandardFrontstageProvider.js","sourceRoot":"","sources":["../../../src/appui-react/frontstage/StandardFrontstageProvider.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAOH,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAI7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAmD/D;;;;GAIG;AACH,4DAA4D;AAC5D,MAAM,OAAO,0BAA2B,SAAQ,kBAAkB;IAChE,YAAoB,KAA8B;QAChD,4DAA4D;QAC5D,KAAK,EAAE,CAAC;QAFU,UAAK,GAAL,KAAK,CAAyB;IAGlD,CAAC;IAED,IAAoB,EAAE;QACpB,OAAO,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACvB,CAAC;IAEe,gBAAgB;QAC9B,MAAM,MAAM,GAAG,mBAAmB,CAAC,wBAAwB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxE,OAAO,MAAM,CAAC;IAChB,CAAC;CACF","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Frontstage\n */\n\nimport type * as React from \"react\";\nimport type {\n ContentGroupProps,\n ContentGroupProvider,\n} from \"../content/ContentGroup.js\";\nimport { FrontstageProvider } from \"./FrontstageProvider.js\";\nimport type { StagePanelConfig } from \"../stagepanels/StagePanelConfig.js\";\nimport type { StageUsage } from \"./StageUsage.js\";\nimport type { Frontstage } from \"./Frontstage.js\";\nimport { FrontstageUtilities } from \"./FrontstageUtilities.js\";\nimport type { BackstageAppButton } from \"../widgets/BackstageAppButton.js\";\n\n/** Widget panel properties used in a {@link StandardFrontstageProps}.\n * @public\n */\nexport type WidgetPanelProps = Omit<\n StagePanelConfig,\n \"widgets\" | \"runtimeProps\" | \"header\" | \"allowedZones\" | \"panelZones\"\n>;\n\n/** Props of a {@link StandardFrontstageProvider}.\n * @public\n */\nexport interface StandardFrontstageProps {\n /** Id of the frontstage. See {@link Frontstage[\"id\"]}. */\n id: string;\n /** Version of the frontstage. See {@link Frontstage[\"version\"]}. */\n version?: number;\n /** Usage of the frontstage. See {@link Frontstage[\"usage\"]}. */\n usage: StageUsage | string;\n /** Default tool of the frontstage. See {@link Frontstage[\"defaultTool\"]}. */\n defaultTool?: string;\n /** Definition of available content groups or a function that provides them */\n contentGroupProps: ContentGroupProps | ContentGroupProvider;\n /** Specify a corner button. It is typically used to open the backstage, see {@link BackstageAppButton}. */\n cornerButton?: React.ReactNode;\n /** Set to `true` if default navigation aid is not desired. */\n hideNavigationAid?: boolean;\n /** Set to `true` if no tool setting dock is needed. Typically only used in modal stages. */\n hideToolSettings?: boolean;\n /** Set to `true` if no status bar is needed in stage */\n hideStatusBar?: boolean;\n /** Props used to set initial size and state of panel. Defaults to:\n * { sizeSpec: 300, pinned: false, defaultState:StagePanelState.Minimized }\n */\n leftPanelProps?: WidgetPanelProps;\n /** Props used to set initial size and state of panel. Defaults to:\n * { sizeSpec: 90, pinned: false, defaultState:StagePanelState.Minimized }\n */\n topPanelProps?: WidgetPanelProps;\n /** Props used to set initial size and state of panel. Defaults to:\n * { sizeSpec: 200, pinned: true, defaultState:StagePanelState.Open }\n */\n rightPanelProps?: WidgetPanelProps;\n /** Props used to set initial size and state of panel. Defaults to:\n * { sizeSpec: 180, pinned: true, defaultState:StagePanelState.Open }\n */\n bottomPanelProps?: WidgetPanelProps;\n}\n\n/** FrontstageProvider that provides an \"empty\" stage. All tool buttons, statusbar items, and widgets must\n * be provided by one or more item providers, see [[UiItemsProvider]].\n * @public\n * @deprecated in 4.15.0. Use {@link FrontstageUtilities.createStandardFrontstage} instead.\n */\n// eslint-disable-next-line @typescript-eslint/no-deprecated\nexport class StandardFrontstageProvider extends FrontstageProvider {\n constructor(private props: StandardFrontstageProps) {\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n super();\n }\n\n public override get id(): string {\n return this.props.id;\n }\n\n public override frontstageConfig(): Frontstage {\n const config = FrontstageUtilities.createStandardFrontstage(this.props);\n return config;\n }\n}\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module Hooks
|
|
3
|
+
*/
|
|
4
|
+
import type { InteractiveTool } from "@itwin/core-frontend";
|
|
5
|
+
/** React hook that maintains the active tool.
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export declare function useActiveTool(): InteractiveTool | undefined;
|
|
9
|
+
//# sourceMappingURL=useActiveTool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useActiveTool.d.ts","sourceRoot":"","sources":["../../../src/appui-react/hooks/useActiveTool.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAIH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAU5D;;GAEG;AACH,wBAAgB,aAAa,IAAI,eAAe,GAAG,SAAS,CAG3D"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module Hooks
|
|
7
|
+
*/
|
|
8
|
+
import { useSyncExternalStore } from "react";
|
|
9
|
+
import { IModelApp } from "@itwin/core-frontend";
|
|
10
|
+
const subscribe = (onStoreChange) => {
|
|
11
|
+
return IModelApp.toolAdmin.activeToolChanged.addListener(onStoreChange);
|
|
12
|
+
};
|
|
13
|
+
const getSnapshot = () => {
|
|
14
|
+
return IModelApp.toolAdmin.activeTool;
|
|
15
|
+
};
|
|
16
|
+
/** React hook that maintains the active tool.
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
export function useActiveTool() {
|
|
20
|
+
const activeTool = useSyncExternalStore(subscribe, getSnapshot);
|
|
21
|
+
return activeTool;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=useActiveTool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useActiveTool.js","sourceRoot":"","sources":["../../../src/appui-react/hooks/useActiveTool.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,MAAM,SAAS,GAAG,CAAC,aAAyB,EAAE,EAAE;IAC9C,OAAO,SAAS,CAAC,SAAS,CAAC,iBAAiB,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;AAC1E,CAAC,CAAC;AAEF,MAAM,WAAW,GAAG,GAAG,EAAE;IACvB,OAAO,SAAS,CAAC,SAAS,CAAC,UAAU,CAAC;AACxC,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,UAAU,aAAa;IAC3B,MAAM,UAAU,GAAG,oBAAoB,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;IAChE,OAAO,UAAU,CAAC;AACpB,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Hooks\n */\n\nimport { useSyncExternalStore } from \"react\";\nimport { IModelApp } from \"@itwin/core-frontend\";\nimport type { InteractiveTool } from \"@itwin/core-frontend\";\n\nconst subscribe = (onStoreChange: () => void) => {\n return IModelApp.toolAdmin.activeToolChanged.addListener(onStoreChange);\n};\n\nconst getSnapshot = () => {\n return IModelApp.toolAdmin.activeTool;\n};\n\n/** React hook that maintains the active tool.\n * @internal\n */\nexport function useActiveTool(): InteractiveTool | undefined {\n const activeTool = useSyncExternalStore(subscribe, getSnapshot);\n return activeTool;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SvgAngle.d.ts","sourceRoot":"","sources":["../../../src/appui-react/icons/SvgAngle.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,gBAAgB;AAChB,wBAAgB,QAAQ,sBAOvB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module Utilities
|
|
7
|
+
*/
|
|
8
|
+
import * as React from "react";
|
|
9
|
+
/** @internal */
|
|
10
|
+
export function SvgAngle() {
|
|
11
|
+
return (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16" },
|
|
12
|
+
React.createElement("title", null, "angle"),
|
|
13
|
+
React.createElement("path", { d: "M16,10H14a4.9509,4.9509,0,0,0-1.2325-3.2723L14.23,5.2655l-3.4651-.8,2.0773-2.1153-.7139-.7012L0,14H15.9971V13H14.125ZM2.3838,13,9.8974,5.3488l.7967,3.4522,1.3621-1.362A3.95363,3.95363,0,0,1,13,10H11l1.875,3Z" })));
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=SvgAngle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SvgAngle.js","sourceRoot":"","sources":["../../../src/appui-react/icons/SvgAngle.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,gBAAgB;AAChB,MAAM,UAAU,QAAQ;IACtB,OAAO,CACL,6BAAK,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAC,WAAW;QACzD,2CAAoB;QACpB,8BAAM,CAAC,EAAC,iNAAiN,GAAG,CACxN,CACP,CAAC;AACJ,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\nimport * as React from \"react\";\n\n/** @internal */\nexport function SvgAngle() {\n return (\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\">\n <title>angle</title>\n <path d=\"M16,10H14a4.9509,4.9509,0,0,0-1.2325-3.2723L14.23,5.2655l-3.4651-.8,2.0773-2.1153-.7139-.7012L0,14H15.9971V13H14.125ZM2.3838,13,9.8974,5.3488l.7967,3.4522,1.3621-1.362A3.95363,3.95363,0,0,1,13,10H11l1.875,3Z\" />\n </svg>\n );\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SvgBackspace.d.ts","sourceRoot":"","sources":["../../../src/appui-react/icons/SvgBackspace.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,gBAAgB;AAChB,wBAAgB,YAAY,sBAqB3B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module Utilities
|
|
7
|
+
*/
|
|
8
|
+
import * as React from "react";
|
|
9
|
+
/** @internal */
|
|
10
|
+
export function SvgBackspace() {
|
|
11
|
+
return (React.createElement("svg", { version: "1.1", id: "Calque_1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", x: "0px", y: "0px", viewBox: "0 0 16 16", enableBackground: "new 0 0 16 16", xmlSpace: "preserve" },
|
|
12
|
+
React.createElement("path", { d: "M5,2L0,7.5L5,13h11V2H5z M12.21,8.79c0.39,0.39,0.39,1.03,0,1.42c-0.19,0.19-0.44,0.29-0.71,0.29\n\t\t\tc-0.27,0-0.52-0.1-0.71-0.29L9.5,8.91l-1.29,1.3c-0.38,0.37-1.04,0.37-1.42,0c-0.39-0.39-0.39-1.03,0-1.42l1.3-1.29l-1.3-1.29\n\t\t\tc-0.39-0.39-0.39-1.03,0-1.42c0.39-0.39,1.03-0.39,1.42,0l1.29,1.3l1.29-1.3c0.39-0.39,1.03-0.39,1.42,0c0.39,0.39,0.39,1.03,0,1.42\n\t\t\tl-1.3,1.29L12.21,8.79z" })));
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=SvgBackspace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SvgBackspace.js","sourceRoot":"","sources":["../../../src/appui-react/icons/SvgBackspace.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,gBAAgB;AAChB,MAAM,UAAU,YAAY;IAC1B,OAAO,CACL,6BACE,OAAO,EAAC,KAAK,EACb,EAAE,EAAC,UAAU,EACb,KAAK,EAAC,4BAA4B,EAClC,UAAU,EAAC,8BAA8B,EACzC,CAAC,EAAC,KAAK,EACP,CAAC,EAAC,KAAK,EACP,OAAO,EAAC,WAAW,EACnB,gBAAgB,EAAC,eAAe,EAChC,QAAQ,EAAC,UAAU;QAEnB,8BACE,CAAC,EAAC,qYAGgB,GAClB,CACE,CACP,CAAC;AACJ,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\nimport * as React from \"react\";\n\n/** @internal */\nexport function SvgBackspace() {\n return (\n <svg\n version=\"1.1\"\n id=\"Calque_1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlnsXlink=\"http://www.w3.org/1999/xlink\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 16 16\"\n enableBackground=\"new 0 0 16 16\"\n xmlSpace=\"preserve\"\n >\n <path\n d=\"M5,2L0,7.5L5,13h11V2H5z M12.21,8.79c0.39,0.39,0.39,1.03,0,1.42c-0.19,0.19-0.44,0.29-0.71,0.29\n\t\t\tc-0.27,0-0.52-0.1-0.71-0.29L9.5,8.91l-1.29,1.3c-0.38,0.37-1.04,0.37-1.42,0c-0.39-0.39-0.39-1.03,0-1.42l1.3-1.29l-1.3-1.29\n\t\t\tc-0.39-0.39-0.39-1.03,0-1.42c0.39-0.39,1.03-0.39,1.42,0l1.29,1.3l1.29-1.3c0.39-0.39,1.03-0.39,1.42,0c0.39,0.39,0.39,1.03,0,1.42\n\t\t\tl-1.3,1.29L12.21,8.79z\"\n />\n </svg>\n );\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SvgDistance.d.ts","sourceRoot":"","sources":["../../../src/appui-react/icons/SvgDistance.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,gBAAgB;AAChB,wBAAgB,WAAW,sBAQ1B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module Utilities
|
|
7
|
+
*/
|
|
8
|
+
import * as React from "react";
|
|
9
|
+
/** @internal */
|
|
10
|
+
export function SvgDistance() {
|
|
11
|
+
return (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16" },
|
|
12
|
+
React.createElement("title", null, "distance"),
|
|
13
|
+
React.createElement("rect", { y: "11", width: "16", height: "1" }),
|
|
14
|
+
React.createElement("polygon", { points: "15 4 15 5.875 12 4 12 6 4 6 4 4 1 5.875 1 4 0 4 0 9 1 9 1 7.125 4 9 4 7 12 7 12 9 15 7.125 15 9 16 9 16 4 15 4" })));
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=SvgDistance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SvgDistance.js","sourceRoot":"","sources":["../../../src/appui-react/icons/SvgDistance.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,gBAAgB;AAChB,MAAM,UAAU,WAAW;IACzB,OAAO,CACL,6BAAK,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAC,WAAW;QACzD,8CAAuB;QACvB,8BAAM,CAAC,EAAC,IAAI,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,GAAG,GAAG;QACrC,iCAAS,MAAM,EAAC,gHAAgH,GAAG,CAC/H,CACP,CAAC;AACJ,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\nimport * as React from \"react\";\n\n/** @internal */\nexport function SvgDistance() {\n return (\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\">\n <title>distance</title>\n <rect y=\"11\" width=\"16\" height=\"1\" />\n <polygon points=\"15 4 15 5.875 12 4 12 6 4 6 4 4 1 5.875 1 4 0 4 0 9 1 9 1 7.125 4 9 4 7 12 7 12 9 15 7.125 15 9 16 9 16 4 15 4\" />\n </svg>\n );\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SvgHeight.d.ts","sourceRoot":"","sources":["../../../src/appui-react/icons/SvgHeight.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,gBAAgB;AAChB,wBAAgB,SAAS,sBAoBxB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module Utilities
|
|
7
|
+
*/
|
|
8
|
+
import * as React from "react";
|
|
9
|
+
/** @internal */
|
|
10
|
+
export function SvgHeight() {
|
|
11
|
+
return (React.createElement("svg", { version: "1.1", id: "Calque_1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", x: "0px", y: "0px", viewBox: "0 0 16 16", enableBackground: "new 0 0 16 16", xmlSpace: "preserve" },
|
|
12
|
+
React.createElement("title", null, "height"),
|
|
13
|
+
React.createElement("g", null,
|
|
14
|
+
React.createElement("rect", { x: "4", width: "1", height: "16" }),
|
|
15
|
+
React.createElement("polygon", { points: "12,15 10.125,15 12,12 10,12 10,4 12,4 10.125,1 12,1 12,0 7,0 7,1 8.875,1 7,4 9,4 9,12 7,12 8.875,15 7,15 7,16 12,16" }))));
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=SvgHeight.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SvgHeight.js","sourceRoot":"","sources":["../../../src/appui-react/icons/SvgHeight.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,gBAAgB;AAChB,MAAM,UAAU,SAAS;IACvB,OAAO,CACL,6BACE,OAAO,EAAC,KAAK,EACb,EAAE,EAAC,UAAU,EACb,KAAK,EAAC,4BAA4B,EAClC,UAAU,EAAC,8BAA8B,EACzC,CAAC,EAAC,KAAK,EACP,CAAC,EAAC,KAAK,EACP,OAAO,EAAC,WAAW,EACnB,gBAAgB,EAAC,eAAe,EAChC,QAAQ,EAAC,UAAU;QAEnB,4CAAqB;QACrB;YACE,8BAAM,CAAC,EAAC,GAAG,EAAC,KAAK,EAAC,GAAG,EAAC,MAAM,EAAC,IAAI,GAAG;YACpC,iCAAS,MAAM,EAAC,qHAAqH,GAAG,CACtI,CACA,CACP,CAAC;AACJ,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\nimport * as React from \"react\";\n\n/** @internal */\nexport function SvgHeight() {\n return (\n <svg\n version=\"1.1\"\n id=\"Calque_1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlnsXlink=\"http://www.w3.org/1999/xlink\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 16 16\"\n enableBackground=\"new 0 0 16 16\"\n xmlSpace=\"preserve\"\n >\n <title>height</title>\n <g>\n <rect x=\"4\" width=\"1\" height=\"16\" />\n <polygon points=\"12,15 10.125,15 12,12 10,12 10,4 12,4 10.125,1 12,1 12,0 7,0 7,1 8.875,1 7,4 9,4 9,12 7,12 8.875,15 7,15 7,16 12,16\" />\n </g>\n </svg>\n );\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SvgMouseClickLeftDrag.d.ts","sourceRoot":"","sources":["../../../src/appui-react/icons/SvgMouseClickLeftDrag.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,gBAAgB;AAChB,wBAAgB,qBAAqB,sBAWpC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module Utilities
|
|
7
|
+
*/
|
|
8
|
+
import * as React from "react";
|
|
9
|
+
/** @internal */
|
|
10
|
+
export function SvgMouseClickLeftDrag() {
|
|
11
|
+
return (React.createElement("svg", { viewBox: "0 0 22 16", xmlns: "http://www.w3.org/2000/svg" },
|
|
12
|
+
React.createElement("path", { d: "m0 8 2.0625-2.0625v1.375h2.75v1.375h-2.75v1.375zm22 0-2.0625 2.0625v-1.375h-2.75v-1.375h2.75v-1.375z", fillRule: "evenodd", opacity: ".55" }),
|
|
13
|
+
React.createElement("path", { d: "m9.5 9h-2v-1h2zm7-3.5v5a5.5 5.5 0 0 1 -11 0v-5a5.5 5.5 0 0 1 11 0zm-5-4.4494v1.0412a1.49569 1.49569 0 0 1 1 1.4082v2.5h3v-.5a4.49037 4.49037 0 0 0 -4-4.4494zm-.5 1.9494a.50057.50057 0 0 0 -.5.5v3a.5.5 0 0 0 1 0v-3a.50057.50057 0 0 0 -.5-.5zm4.5 7.5v-3.5h-3.0918a1.49151 1.49151 0 0 1 -2.8164 0h-3.0918v3.5a4.5 4.5 0 0 0 9 0z" })));
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=SvgMouseClickLeftDrag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SvgMouseClickLeftDrag.js","sourceRoot":"","sources":["../../../src/appui-react/icons/SvgMouseClickLeftDrag.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,gBAAgB;AAChB,MAAM,UAAU,qBAAqB;IACnC,OAAO,CACL,6BAAK,OAAO,EAAC,WAAW,EAAC,KAAK,EAAC,4BAA4B;QACzD,8BACE,CAAC,EAAC,sGAAsG,EACxG,QAAQ,EAAC,SAAS,EAClB,OAAO,EAAC,KAAK,GACb;QACF,8BAAM,CAAC,EAAC,sUAAsU,GAAG,CAC7U,CACP,CAAC;AACJ,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\nimport * as React from \"react\";\n\n/** @internal */\nexport function SvgMouseClickLeftDrag() {\n return (\n <svg viewBox=\"0 0 22 16\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"m0 8 2.0625-2.0625v1.375h2.75v1.375h-2.75v1.375zm22 0-2.0625 2.0625v-1.375h-2.75v-1.375h2.75v-1.375z\"\n fillRule=\"evenodd\"\n opacity=\".55\"\n />\n <path d=\"m9.5 9h-2v-1h2zm7-3.5v5a5.5 5.5 0 0 1 -11 0v-5a5.5 5.5 0 0 1 11 0zm-5-4.4494v1.0412a1.49569 1.49569 0 0 1 1 1.4082v2.5h3v-.5a4.49037 4.49037 0 0 0 -4-4.4494zm-.5 1.9494a.50057.50057 0 0 0 -.5.5v3a.5.5 0 0 0 1 0v-3a.50057.50057 0 0 0 -.5-.5zm4.5 7.5v-3.5h-3.0918a1.49151 1.49151 0 0 1 -2.8164 0h-3.0918v3.5a4.5 4.5 0 0 0 9 0z\" />\n </svg>\n );\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SvgMouseClickRightDrag.d.ts","sourceRoot":"","sources":["../../../src/appui-react/icons/SvgMouseClickRightDrag.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,gBAAgB;AAChB,wBAAgB,sBAAsB,sBAWrC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module Utilities
|
|
7
|
+
*/
|
|
8
|
+
import * as React from "react";
|
|
9
|
+
/** @internal */
|
|
10
|
+
export function SvgMouseClickRightDrag() {
|
|
11
|
+
return (React.createElement("svg", { viewBox: "0 0 22 16", xmlns: "http://www.w3.org/2000/svg" },
|
|
12
|
+
React.createElement("path", { d: "m0 8 2.0625-2.0625v1.375h2.75v1.375h-2.75v1.375zm22 0-2.0625 2.0625v-1.375h-2.75v-1.375h2.75v-1.375z", fillRule: "evenodd", opacity: ".55" }),
|
|
13
|
+
React.createElement("path", { d: "m12.5 9h2v-1h-2zm-7-3.5v5a5.5 5.5 0 0 0 11 0v-5a5.5 5.5 0 0 0 -11 0zm5-4.4494v1.0412a1.49569 1.49569 0 0 0 -1 1.4082v2.5h-3v-.5a4.49037 4.49037 0 0 1 4-4.4494zm.5 1.9494a.50057.50057 0 0 1 .5.5v3a.5.5 0 0 1 -1 0v-3a.50057.50057 0 0 1 .5-.5zm-4.5 7.5v-3.5h3.0918a1.49151 1.49151 0 0 0 2.8164 0h3.0918v3.5a4.5 4.5 0 0 1 -9 0z" })));
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=SvgMouseClickRightDrag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SvgMouseClickRightDrag.js","sourceRoot":"","sources":["../../../src/appui-react/icons/SvgMouseClickRightDrag.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,gBAAgB;AAChB,MAAM,UAAU,sBAAsB;IACpC,OAAO,CACL,6BAAK,OAAO,EAAC,WAAW,EAAC,KAAK,EAAC,4BAA4B;QACzD,8BACE,CAAC,EAAC,sGAAsG,EACxG,QAAQ,EAAC,SAAS,EAClB,OAAO,EAAC,KAAK,GACb;QACF,8BAAM,CAAC,EAAC,qUAAqU,GAAG,CAC5U,CACP,CAAC;AACJ,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\nimport * as React from \"react\";\n\n/** @internal */\nexport function SvgMouseClickRightDrag() {\n return (\n <svg viewBox=\"0 0 22 16\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"m0 8 2.0625-2.0625v1.375h2.75v1.375h-2.75v1.375zm22 0-2.0625 2.0625v-1.375h-2.75v-1.375h2.75v-1.375z\"\n fillRule=\"evenodd\"\n opacity=\".55\"\n />\n <path d=\"m12.5 9h2v-1h-2zm-7-3.5v5a5.5 5.5 0 0 0 11 0v-5a5.5 5.5 0 0 0 -11 0zm5-4.4494v1.0412a1.49569 1.49569 0 0 0 -1 1.4082v2.5h-3v-.5a4.49037 4.49037 0 0 1 4-4.4494zm.5 1.9494a.50057.50057 0 0 1 .5.5v3a.5.5 0 0 1 -1 0v-3a.50057.50057 0 0 1 .5-.5zm-4.5 7.5v-3.5h3.0918a1.49151 1.49151 0 0 0 2.8164 0h3.0918v3.5a4.5 4.5 0 0 1 -9 0z\" />\n </svg>\n );\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SvgMouseClickWheelDrag.d.ts","sourceRoot":"","sources":["../../../src/appui-react/icons/SvgMouseClickWheelDrag.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,gBAAgB;AAChB,wBAAgB,sBAAsB,sBAWrC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module Utilities
|
|
7
|
+
*/
|
|
8
|
+
import * as React from "react";
|
|
9
|
+
/** @internal */
|
|
10
|
+
export function SvgMouseClickWheelDrag() {
|
|
11
|
+
return (React.createElement("svg", { viewBox: "0 0 22 16", xmlns: "http://www.w3.org/2000/svg" },
|
|
12
|
+
React.createElement("path", { d: "m0 8 2.0625-2.0625v1.375h2.75v1.375h-2.75v1.375zm22 0-2.0625 2.0625v-1.375h-2.75v-1.375h2.75v-1.375z", fillRule: "evenodd", opacity: ".55" }),
|
|
13
|
+
React.createElement("path", { d: "m11 0a5.5 5.5 0 0 0 -5.5 5.5v5a5.5 5.5 0 0 0 11 0v-5a5.5 5.5 0 0 0 -5.5-5.5zm4.5 5.5v.5h-3v-2.5a1.49569 1.49569 0 0 0 -1-1.4082v-1.0412a4.49037 4.49037 0 0 1 4 4.4494zm-5-4.4494v1.0412a1.49569 1.49569 0 0 0 -1 1.4082v2.5h-3v-.5a4.49037 4.49037 0 0 1 4-4.4494zm.5 13.9494a4.50508 4.50508 0 0 1 -4.5-4.5v-3.5h3.0918a1.49151 1.49151 0 0 0 2.8164 0h3.0918v3.5a4.50508 4.50508 0 0 1 -4.5 4.5zm-1.5-5h3v-1h-3z" })));
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=SvgMouseClickWheelDrag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SvgMouseClickWheelDrag.js","sourceRoot":"","sources":["../../../src/appui-react/icons/SvgMouseClickWheelDrag.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,gBAAgB;AAChB,MAAM,UAAU,sBAAsB;IACpC,OAAO,CACL,6BAAK,OAAO,EAAC,WAAW,EAAC,KAAK,EAAC,4BAA4B;QACzD,8BACE,CAAC,EAAC,sGAAsG,EACxG,QAAQ,EAAC,SAAS,EAClB,OAAO,EAAC,KAAK,GACb;QACF,8BAAM,CAAC,EAAC,qZAAqZ,GAAG,CAC5Z,CACP,CAAC;AACJ,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\nimport * as React from \"react\";\n\n/** @internal */\nexport function SvgMouseClickWheelDrag() {\n return (\n <svg viewBox=\"0 0 22 16\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"m0 8 2.0625-2.0625v1.375h2.75v1.375h-2.75v1.375zm22 0-2.0625 2.0625v-1.375h-2.75v-1.375h2.75v-1.375z\"\n fillRule=\"evenodd\"\n opacity=\".55\"\n />\n <path d=\"m11 0a5.5 5.5 0 0 0 -5.5 5.5v5a5.5 5.5 0 0 0 11 0v-5a5.5 5.5 0 0 0 -5.5-5.5zm4.5 5.5v.5h-3v-2.5a1.49569 1.49569 0 0 0 -1-1.4082v-1.0412a4.49037 4.49037 0 0 1 4 4.4494zm-5-4.4494v1.0412a1.49569 1.49569 0 0 0 -1 1.4082v2.5h-3v-.5a4.49037 4.49037 0 0 1 4-4.4494zm.5 13.9494a4.50508 4.50508 0 0 1 -4.5-4.5v-3.5h3.0918a1.49151 1.49151 0 0 0 2.8164 0h3.0918v3.5a4.50508 4.50508 0 0 1 -4.5 4.5zm-1.5-5h3v-1h-3z\" />\n </svg>\n );\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SvgTouchCursorPan.d.ts","sourceRoot":"","sources":["../../../src/appui-react/icons/SvgTouchCursorPan.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,gBAAgB;AAChB,wBAAgB,iBAAiB,sBAahC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module Utilities
|
|
7
|
+
*/
|
|
8
|
+
import * as React from "react";
|
|
9
|
+
/** @internal */
|
|
10
|
+
export function SvgTouchCursorPan() {
|
|
11
|
+
return (React.createElement("svg", { viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg" },
|
|
12
|
+
React.createElement("path", { d: "m11.86364 9h-.00139a9.06327 9.06327 0 0 0 -1.56688-3.6616c-.36107-.54315-1.59904-2.3384-2.29026-2.3384s-1.92918 1.79525-2.30053 2.34762a9.041 9.041 0 0 0 -1.56638 3.65238h-.00184l.00055.02238-.00045.00773h.00065a3.932 3.932 0 0 0 3.86289 3.96989 3.93249 3.93249 0 0 0 3.86314-3.97909h.00035l-.00025-.00406zm-3.86364 2.54167a2.50073 2.50073 0 1 1 2.44019-2.5 2.47063 2.47063 0 0 1 -2.44019 2.5z", fillRule: "evenodd" }),
|
|
13
|
+
React.createElement("path", { d: "m3.16931 8.6875h-1.10681v1.375l-2.0625-2.0625 2.0625-2.0625v1.375h1.46783a5.5664 5.5664 0 0 0 -.36102 1.375zm12.83069-.6875-2.0625-2.0625v1.375h-1.45776a5.476 5.476 0 0 1 .35333 1.375h1.10443v1.375z", opacity: ".55" })));
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=SvgTouchCursorPan.js.map
|