@itwin/appui-react 3.7.12 → 3.7.14
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 +11 -1
- package/lib/cjs/appui-react/UiFramework.d.ts +299 -299
- package/lib/cjs/appui-react/UiFramework.js +582 -582
- package/lib/cjs/appui-react/UiFramework.js.map +1 -1
- package/lib/cjs/appui-react/_variables.scss +11 -11
- package/lib/cjs/appui-react/accudraw/AccuDrawCommandItems.d.ts +27 -27
- package/lib/cjs/appui-react/accudraw/AccuDrawCommandItems.js +74 -74
- package/lib/cjs/appui-react/accudraw/AccuDrawCommandItems.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawDialog.d.ts +21 -21
- package/lib/cjs/appui-react/accudraw/AccuDrawDialog.js +39 -39
- package/lib/cjs/appui-react/accudraw/AccuDrawDialog.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawDialog.scss +14 -14
- package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.d.ts +19 -19
- package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.js +216 -216
- package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.scss +27 -27
- package/lib/cjs/appui-react/accudraw/AccuDrawInputField.d.ts +42 -42
- package/lib/cjs/appui-react/accudraw/AccuDrawInputField.js +122 -122
- package/lib/cjs/appui-react/accudraw/AccuDrawInputField.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawInputField.scss +55 -55
- package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts +12 -12
- package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.js +110 -110
- package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.d.ts +18 -18
- package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.js +64 -64
- package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawUiSettings.d.ts +61 -61
- package/lib/cjs/appui-react/accudraw/AccuDrawUiSettings.js +9 -9
- package/lib/cjs/appui-react/accudraw/AccuDrawUiSettings.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawWidget.d.ts +18 -18
- package/lib/cjs/appui-react/accudraw/AccuDrawWidget.js +44 -44
- package/lib/cjs/appui-react/accudraw/AccuDrawWidget.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/Calculator.d.ts +46 -46
- package/lib/cjs/appui-react/accudraw/Calculator.js +217 -217
- package/lib/cjs/appui-react/accudraw/Calculator.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/Calculator.scss +86 -86
- package/lib/cjs/appui-react/accudraw/CalculatorEngine.d.ts +41 -41
- package/lib/cjs/appui-react/accudraw/CalculatorEngine.js +195 -195
- package/lib/cjs/appui-react/accudraw/CalculatorEngine.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/CalculatorPopup.d.ts +31 -31
- package/lib/cjs/appui-react/accudraw/CalculatorPopup.js +41 -41
- package/lib/cjs/appui-react/accudraw/CalculatorPopup.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.d.ts +147 -147
- package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.js +231 -231
- package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/MenuButton.d.ts +30 -30
- package/lib/cjs/appui-react/accudraw/MenuButton.js +66 -66
- package/lib/cjs/appui-react/accudraw/MenuButton.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/MenuButton.scss +18 -18
- package/lib/cjs/appui-react/accudraw/MenuButtonPopup.d.ts +27 -27
- package/lib/cjs/appui-react/accudraw/MenuButtonPopup.js +37 -37
- package/lib/cjs/appui-react/accudraw/MenuButtonPopup.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/SquareButton.d.ts +14 -14
- package/lib/cjs/appui-react/accudraw/SquareButton.js +26 -26
- package/lib/cjs/appui-react/accudraw/SquareButton.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/SquareButton.scss +44 -44
- package/lib/cjs/appui-react/accudraw/backspace.svg +9 -9
- package/lib/cjs/appui-react/accudraw/constraint-2d.svg +11 -11
- package/lib/cjs/appui-react/accudraw/height-2.svg +10 -10
- package/lib/cjs/appui-react/accudraw/height.svg +11 -11
- package/lib/cjs/appui-react/backstage/Backstage.d.ts +61 -61
- package/lib/cjs/appui-react/backstage/Backstage.js +88 -88
- package/lib/cjs/appui-react/backstage/Backstage.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts +27 -27
- package/lib/cjs/appui-react/backstage/BackstageComposer.js +141 -141
- package/lib/cjs/appui-react/backstage/BackstageComposer.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposerItem.d.ts +29 -29
- package/lib/cjs/appui-react/backstage/BackstageComposerItem.js +55 -55
- package/lib/cjs/appui-react/backstage/BackstageComposerItem.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageItem.d.ts +42 -42
- package/lib/cjs/appui-react/backstage/BackstageItem.js +36 -36
- package/lib/cjs/appui-react/backstage/BackstageItem.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageItemProps.d.ts +48 -48
- package/lib/cjs/appui-react/backstage/BackstageItemProps.js +21 -21
- package/lib/cjs/appui-react/backstage/BackstageItemProps.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageItemUtilities.d.ts +18 -18
- package/lib/cjs/appui-react/backstage/BackstageItemUtilities.js +58 -58
- package/lib/cjs/appui-react/backstage/BackstageItemUtilities.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageManager.d.ts +29 -29
- package/lib/cjs/appui-react/backstage/BackstageManager.js +70 -70
- package/lib/cjs/appui-react/backstage/BackstageManager.js.map +1 -1
- package/lib/cjs/appui-react/backstage/CommandLaunch.d.ts +31 -31
- package/lib/cjs/appui-react/backstage/CommandLaunch.js +86 -86
- package/lib/cjs/appui-react/backstage/CommandLaunch.js.map +1 -1
- package/lib/cjs/appui-react/backstage/FrontstageLaunch.d.ts +33 -33
- package/lib/cjs/appui-react/backstage/FrontstageLaunch.js +91 -91
- package/lib/cjs/appui-react/backstage/FrontstageLaunch.js.map +1 -1
- package/lib/cjs/appui-react/backstage/InternalBackstageManager.d.ts +22 -22
- package/lib/cjs/appui-react/backstage/InternalBackstageManager.js +57 -57
- package/lib/cjs/appui-react/backstage/InternalBackstageManager.js.map +1 -1
- package/lib/cjs/appui-react/backstage/Separator.d.ts +15 -15
- package/lib/cjs/appui-react/backstage/Separator.js +27 -27
- package/lib/cjs/appui-react/backstage/Separator.js.map +1 -1
- package/lib/cjs/appui-react/backstage/TaskLaunch.d.ts +34 -34
- package/lib/cjs/appui-react/backstage/TaskLaunch.js +100 -100
- package/lib/cjs/appui-react/backstage/TaskLaunch.js.map +1 -1
- package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.d.ts +8 -8
- package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.js +36 -36
- package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.js.map +1 -1
- package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts +8 -8
- package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.js +47 -47
- package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.js.map +1 -1
- package/lib/cjs/appui-react/childwindow/ChildWindowManager.d.ts +72 -72
- package/lib/cjs/appui-react/childwindow/ChildWindowManager.js +103 -103
- package/lib/cjs/appui-react/childwindow/ChildWindowManager.js.map +1 -1
- package/lib/cjs/appui-react/childwindow/CopyStyles.d.ts +7 -7
- package/lib/cjs/appui-react/childwindow/CopyStyles.js +42 -42
- package/lib/cjs/appui-react/childwindow/CopyStyles.js.map +1 -1
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts +48 -48
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js +205 -205
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.scss +14 -14
- package/lib/cjs/appui-react/childwindow/PopoutWidget.d.ts +15 -15
- package/lib/cjs/appui-react/childwindow/PopoutWidget.js +19 -19
- package/lib/cjs/appui-react/childwindow/PopoutWidget.js.map +1 -1
- package/lib/cjs/appui-react/childwindow/PopoutWidget.scss +10 -10
- package/lib/cjs/appui-react/configurableui/ActivityTracker.d.ts +29 -29
- package/lib/cjs/appui-react/configurableui/ActivityTracker.js +71 -71
- package/lib/cjs/appui-react/configurableui/ActivityTracker.js.map +1 -1
- package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.d.ts +21 -21
- package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js +62 -62
- package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
- package/lib/cjs/appui-react/configurableui/ConfigurableUiControl.d.ts +95 -95
- package/lib/cjs/appui-react/configurableui/ConfigurableUiControl.js +95 -95
- package/lib/cjs/appui-react/configurableui/ConfigurableUiControl.js.map +1 -1
- package/lib/cjs/appui-react/configurableui/ConfigurableUiManager.d.ts +85 -85
- package/lib/cjs/appui-react/configurableui/ConfigurableUiManager.js +118 -118
- package/lib/cjs/appui-react/configurableui/ConfigurableUiManager.js.map +1 -1
- package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.d.ts +81 -81
- package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js +154 -154
- package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
- package/lib/cjs/appui-react/configurableui/TimeTracker.d.ts +33 -33
- package/lib/cjs/appui-react/configurableui/TimeTracker.js +81 -81
- package/lib/cjs/appui-react/configurableui/TimeTracker.js.map +1 -1
- package/lib/cjs/appui-react/configurableui/configurableui.scss +79 -79
- package/lib/cjs/appui-react/configurableui/state.d.ts +68 -68
- package/lib/cjs/appui-react/configurableui/state.js +120 -120
- package/lib/cjs/appui-react/configurableui/state.js.map +1 -1
- package/lib/cjs/appui-react/content/ContentControl.d.ts +64 -64
- package/lib/cjs/appui-react/content/ContentControl.js +78 -78
- package/lib/cjs/appui-react/content/ContentControl.js.map +1 -1
- package/lib/cjs/appui-react/content/ContentGroup.d.ts +100 -100
- package/lib/cjs/appui-react/content/ContentGroup.js +174 -174
- package/lib/cjs/appui-react/content/ContentGroup.js.map +1 -1
- package/lib/cjs/appui-react/content/ContentLayout.d.ts +94 -94
- package/lib/cjs/appui-react/content/ContentLayout.js +372 -372
- package/lib/cjs/appui-react/content/ContentLayout.js.map +1 -1
- package/lib/cjs/appui-react/content/ContentLayout.scss +99 -99
- package/lib/cjs/appui-react/content/ContentLayoutManager.d.ts +47 -47
- package/lib/cjs/appui-react/content/ContentLayoutManager.js +68 -68
- package/lib/cjs/appui-react/content/ContentLayoutManager.js.map +1 -1
- package/lib/cjs/appui-react/content/ContentViewManager.d.ts +62 -62
- package/lib/cjs/appui-react/content/ContentViewManager.js +95 -95
- package/lib/cjs/appui-react/content/ContentViewManager.js.map +1 -1
- package/lib/cjs/appui-react/content/DefaultViewOverlay.d.ts +22 -22
- package/lib/cjs/appui-react/content/DefaultViewOverlay.js +50 -50
- package/lib/cjs/appui-react/content/DefaultViewOverlay.js.map +1 -1
- package/lib/cjs/appui-react/content/DefaultViewOverlay.scss +43 -43
- package/lib/cjs/appui-react/content/FloatingViewportContent.css +9 -9
- package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts +27 -27
- package/lib/cjs/appui-react/content/FloatingViewportContent.js +82 -82
- package/lib/cjs/appui-react/content/FloatingViewportContent.js.map +1 -1
- package/lib/cjs/appui-react/content/IModelViewport.d.ts +80 -80
- package/lib/cjs/appui-react/content/IModelViewport.js +154 -154
- package/lib/cjs/appui-react/content/IModelViewport.js.map +1 -1
- package/lib/cjs/appui-react/content/InternalContentLayoutManager.d.ts +47 -47
- package/lib/cjs/appui-react/content/InternalContentLayoutManager.js +95 -95
- package/lib/cjs/appui-react/content/InternalContentLayoutManager.js.map +1 -1
- package/lib/cjs/appui-react/content/InternalContentViewManager.d.ts +79 -79
- package/lib/cjs/appui-react/content/InternalContentViewManager.js +209 -209
- package/lib/cjs/appui-react/content/InternalContentViewManager.js.map +1 -1
- package/lib/cjs/appui-react/content/StageContentLayout.d.ts +35 -35
- package/lib/cjs/appui-react/content/StageContentLayout.js +66 -66
- package/lib/cjs/appui-react/content/StageContentLayout.js.map +1 -1
- package/lib/cjs/appui-react/content/ViewStateHelper.d.ts +25 -25
- package/lib/cjs/appui-react/content/ViewStateHelper.js +50 -50
- package/lib/cjs/appui-react/content/ViewStateHelper.js.map +1 -1
- package/lib/cjs/appui-react/content/ViewportContentControl.d.ts +61 -61
- package/lib/cjs/appui-react/content/ViewportContentControl.js +131 -131
- package/lib/cjs/appui-react/content/ViewportContentControl.js.map +1 -1
- package/lib/cjs/appui-react/content/split-pane/Pane.d.ts +20 -20
- package/lib/cjs/appui-react/content/split-pane/Pane.js +42 -42
- package/lib/cjs/appui-react/content/split-pane/Pane.js.map +1 -1
- package/lib/cjs/appui-react/content/split-pane/Resizer.d.ts +22 -22
- package/lib/cjs/appui-react/content/split-pane/Resizer.js +38 -38
- package/lib/cjs/appui-react/content/split-pane/Resizer.js.map +1 -1
- package/lib/cjs/appui-react/content/split-pane/SplitPane.d.ts +69 -69
- package/lib/cjs/appui-react/content/split-pane/SplitPane.js +242 -242
- package/lib/cjs/appui-react/content/split-pane/SplitPane.js.map +1 -1
- package/lib/cjs/appui-react/cursor/CursorInformation.d.ts +68 -68
- package/lib/cjs/appui-react/cursor/CursorInformation.js +144 -144
- package/lib/cjs/appui-react/cursor/CursorInformation.js.map +1 -1
- package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.d.ts +32 -32
- package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js +76 -76
- package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.d.ts +58 -58
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js +150 -150
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.scss +34 -34
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts +114 -114
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.js +325 -325
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.d.ts +22 -22
- package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.js +63 -63
- package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.js.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.scss +30 -30
- package/lib/cjs/appui-react/dialog/ContentDialog.d.ts +23 -23
- package/lib/cjs/appui-react/dialog/ContentDialog.js +70 -70
- package/lib/cjs/appui-react/dialog/ContentDialog.js.map +1 -1
- package/lib/cjs/appui-react/dialog/ContentDialog.scss +25 -25
- package/lib/cjs/appui-react/dialog/ContentDialogManager.d.ts +51 -51
- package/lib/cjs/appui-react/dialog/ContentDialogManager.js +85 -85
- package/lib/cjs/appui-react/dialog/ContentDialogManager.js.map +1 -1
- package/lib/cjs/appui-react/dialog/DialogManagerBase.d.ts +84 -84
- package/lib/cjs/appui-react/dialog/DialogManagerBase.js +141 -141
- package/lib/cjs/appui-react/dialog/DialogManagerBase.js.map +1 -1
- package/lib/cjs/appui-react/dialog/InternalContentDialogManager.d.ts +47 -47
- package/lib/cjs/appui-react/dialog/InternalContentDialogManager.js +131 -131
- package/lib/cjs/appui-react/dialog/InternalContentDialogManager.js.map +1 -1
- package/lib/cjs/appui-react/dialog/InternalModalDialogManager.d.ts +35 -35
- package/lib/cjs/appui-react/dialog/InternalModalDialogManager.js +54 -54
- package/lib/cjs/appui-react/dialog/InternalModalDialogManager.js.map +1 -1
- package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.d.ts +45 -45
- package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.js +119 -119
- package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.js.map +1 -1
- package/lib/cjs/appui-react/dialog/ModalDialogManager.d.ts +42 -42
- package/lib/cjs/appui-react/dialog/ModalDialogManager.js +68 -68
- package/lib/cjs/appui-react/dialog/ModalDialogManager.js.map +1 -1
- package/lib/cjs/appui-react/dialog/ModelessDialog.d.ts +21 -21
- package/lib/cjs/appui-react/dialog/ModelessDialog.js +30 -30
- package/lib/cjs/appui-react/dialog/ModelessDialog.js.map +1 -1
- package/lib/cjs/appui-react/dialog/ModelessDialogManager.d.ts +51 -51
- package/lib/cjs/appui-react/dialog/ModelessDialogManager.js +85 -85
- package/lib/cjs/appui-react/dialog/ModelessDialogManager.js.map +1 -1
- package/lib/cjs/appui-react/dialog/StandardMessageBox.d.ts +40 -40
- package/lib/cjs/appui-react/dialog/StandardMessageBox.js +93 -93
- package/lib/cjs/appui-react/dialog/StandardMessageBox.js.map +1 -1
- package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.d.ts +38 -38
- package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.js +81 -81
- package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.js.map +1 -1
- package/lib/cjs/appui-react/dragdrop/ZoneTargets.d.ts +21 -21
- package/lib/cjs/appui-react/dragdrop/ZoneTargets.js +32 -32
- package/lib/cjs/appui-react/dragdrop/ZoneTargets.js.map +1 -1
- package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts +61 -61
- package/lib/cjs/appui-react/feedback/ElementTooltip.js +132 -132
- package/lib/cjs/appui-react/feedback/ElementTooltip.js.map +1 -1
- package/lib/cjs/appui-react/feedback/ValidationTextbox.d.ts +71 -71
- package/lib/cjs/appui-react/feedback/ValidationTextbox.js +114 -114
- package/lib/cjs/appui-react/feedback/ValidationTextbox.js.map +1 -1
- package/lib/cjs/appui-react/feedback/ValidationTextbox.scss +53 -53
- package/lib/cjs/appui-react/framework/FrameworkBackstage.d.ts +43 -43
- package/lib/cjs/appui-react/framework/FrameworkBackstage.js +9 -9
- package/lib/cjs/appui-react/framework/FrameworkBackstage.js.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkChildWindows.d.ts +58 -58
- package/lib/cjs/appui-react/framework/FrameworkChildWindows.js +9 -9
- package/lib/cjs/appui-react/framework/FrameworkChildWindows.js.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkContent.d.ts +154 -154
- package/lib/cjs/appui-react/framework/FrameworkContent.js +30 -30
- package/lib/cjs/appui-react/framework/FrameworkContent.js.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkControls.d.ts +42 -42
- package/lib/cjs/appui-react/framework/FrameworkControls.js +2 -2
- package/lib/cjs/appui-react/framework/FrameworkControls.js.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkDialogs.d.ts +78 -78
- package/lib/cjs/appui-react/framework/FrameworkDialogs.js +23 -23
- package/lib/cjs/appui-react/framework/FrameworkDialogs.js.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkFrontstages.d.ts +285 -285
- package/lib/cjs/appui-react/framework/FrameworkFrontstages.js +63 -63
- package/lib/cjs/appui-react/framework/FrameworkFrontstages.js.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.d.ts +99 -99
- package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.js +2 -2
- package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.js.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkToolSettings.d.ts +51 -51
- package/lib/cjs/appui-react/framework/FrameworkToolSettings.js +17 -17
- package/lib/cjs/appui-react/framework/FrameworkToolSettings.js.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkVisibility.d.ts +36 -36
- package/lib/cjs/appui-react/framework/FrameworkVisibility.js +2 -2
- package/lib/cjs/appui-react/framework/FrameworkVisibility.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/Frontstage.d.ts +158 -158
- package/lib/cjs/appui-react/frontstage/Frontstage.js +468 -468
- package/lib/cjs/appui-react/frontstage/Frontstage.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageComposer.d.ts +146 -146
- package/lib/cjs/appui-react/frontstage/FrontstageComposer.js +667 -667
- package/lib/cjs/appui-react/frontstage/FrontstageComposer.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageConfig.d.ts +39 -39
- package/lib/cjs/appui-react/frontstage/FrontstageConfig.js +9 -9
- package/lib/cjs/appui-react/frontstage/FrontstageConfig.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts +258 -258
- package/lib/cjs/appui-react/frontstage/FrontstageDef.js +1036 -1036
- package/lib/cjs/appui-react/frontstage/FrontstageDef.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageManager.d.ts +205 -205
- package/lib/cjs/appui-react/frontstage/FrontstageManager.js +273 -273
- package/lib/cjs/appui-react/frontstage/FrontstageManager.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageProvider.d.ts +21 -21
- package/lib/cjs/appui-react/frontstage/FrontstageProvider.js +16 -16
- package/lib/cjs/appui-react/frontstage/FrontstageProvider.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts +239 -239
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js +537 -537
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts +32 -32
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.js +43 -43
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.scss +86 -86
- package/lib/cjs/appui-react/frontstage/ModalSettingsStage.d.ts +21 -21
- package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js +87 -87
- package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/ModalSettingsStage.scss +13 -13
- package/lib/cjs/appui-react/frontstage/NestedFrontstage.d.ts +12 -12
- package/lib/cjs/appui-react/frontstage/NestedFrontstage.js +30 -30
- package/lib/cjs/appui-react/frontstage/NestedFrontstage.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/StageUsage.d.ts +14 -14
- package/lib/cjs/appui-react/frontstage/StageUsage.js +16 -16
- package/lib/cjs/appui-react/frontstage/StageUsage.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts +76 -76
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js +61 -61
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useActiveIModelConnection.d.ts +10 -10
- package/lib/cjs/appui-react/hooks/useActiveIModelConnection.js +37 -37
- package/lib/cjs/appui-react/hooks/useActiveIModelConnection.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useActiveStageId.d.ts +7 -7
- package/lib/cjs/appui-react/hooks/useActiveStageId.js +29 -29
- package/lib/cjs/appui-react/hooks/useActiveStageId.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useActiveViewport.d.ts +8 -8
- package/lib/cjs/appui-react/hooks/useActiveViewport.js +46 -46
- package/lib/cjs/appui-react/hooks/useActiveViewport.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts +9 -9
- package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.js +71 -71
- package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useAvailableUiItemsProviders.d.ts +8 -8
- package/lib/cjs/appui-react/hooks/useAvailableUiItemsProviders.js +30 -30
- package/lib/cjs/appui-react/hooks/useAvailableUiItemsProviders.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useEscapeSetFocusToHome.d.ts +12 -12
- package/lib/cjs/appui-react/hooks/useEscapeSetFocusToHome.js +30 -30
- package/lib/cjs/appui-react/hooks/useEscapeSetFocusToHome.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useFrameworkVersion.d.ts +37 -37
- package/lib/cjs/appui-react/hooks/useFrameworkVersion.js +56 -56
- package/lib/cjs/appui-react/hooks/useFrameworkVersion.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.d.ts +9 -9
- package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.js +71 -71
- package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useSolarDataProvider.d.ts +9 -9
- package/lib/cjs/appui-react/hooks/useSolarDataProvider.js +65 -65
- package/lib/cjs/appui-react/hooks/useSolarDataProvider.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useUiVisibility.d.ts +5 -5
- package/lib/cjs/appui-react/hooks/useUiVisibility.js +26 -26
- package/lib/cjs/appui-react/hooks/useUiVisibility.js.map +1 -1
- package/lib/cjs/appui-react/imodel-components/Common.d.ts +25 -25
- package/lib/cjs/appui-react/imodel-components/Common.js +24 -24
- package/lib/cjs/appui-react/imodel-components/Common.js.map +1 -1
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeBase.scss +53 -53
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeEventHandler.d.ts +71 -71
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeEventHandler.js +148 -148
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeEventHandler.js.map +1 -1
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeRenderer.d.ts +51 -51
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeRenderer.js +70 -70
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeRenderer.js.map +1 -1
- package/lib/cjs/appui-react/imodel-components/category-tree/Categories.json +102 -102
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoriesTree.d.ts +71 -71
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoriesTree.js +108 -108
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoriesTree.js.map +1 -1
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoriesTree.scss +9 -9
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.d.ts +63 -63
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.js +200 -200
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.js.map +1 -1
- package/lib/cjs/appui-react/imodel-components/models-tree/Hierarchy.GroupedByClass.json +392 -392
- package/lib/cjs/appui-react/imodel-components/models-tree/Hierarchy.json +387 -387
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTree.d.ts +84 -84
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTree.js +129 -129
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTree.js.map +1 -1
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTree.scss +9 -9
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTreeSearch.json +239 -239
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.d.ts +103 -103
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.js +481 -481
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.js.map +1 -1
- package/lib/cjs/appui-react/imodel-components/models-tree/Utils.d.ts +9 -9
- package/lib/cjs/appui-react/imodel-components/models-tree/Utils.js +22 -22
- package/lib/cjs/appui-react/imodel-components/models-tree/Utils.js.map +1 -1
- package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialBreakdown.GroupedByClass.json +78 -78
- package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialBreakdown.json +78 -78
- package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.d.ts +35 -35
- package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.js +43 -43
- package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.js.map +1 -1
- package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.scss +9 -9
- package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts +39 -39
- package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.js +111 -111
- package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.js.map +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.d.ts +96 -96
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.js +230 -230
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.js.map +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts +38 -38
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.js +95 -95
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
- package/lib/cjs/appui-react/keyinbrowser/KeyinBrowser.d.ts +79 -79
- package/lib/cjs/appui-react/keyinbrowser/KeyinBrowser.js +238 -238
- package/lib/cjs/appui-react/keyinbrowser/KeyinBrowser.js.map +1 -1
- package/lib/cjs/appui-react/keyinbrowser/KeyinBrowser.scss +11 -11
- package/lib/cjs/appui-react/messages/ActivityMessage.d.ts +44 -44
- package/lib/cjs/appui-react/messages/ActivityMessage.js +92 -92
- package/lib/cjs/appui-react/messages/ActivityMessage.js.map +1 -1
- package/lib/cjs/appui-react/messages/ActivityMessagePopup.d.ts +19 -19
- package/lib/cjs/appui-react/messages/ActivityMessagePopup.js +43 -43
- package/lib/cjs/appui-react/messages/ActivityMessagePopup.js.map +1 -1
- package/lib/cjs/appui-react/messages/ActivityMessagePopup.scss +14 -14
- package/lib/cjs/appui-react/messages/AppNotificationManager.d.ts +74 -74
- package/lib/cjs/appui-react/messages/AppNotificationManager.js +125 -125
- package/lib/cjs/appui-react/messages/AppNotificationManager.js.map +1 -1
- package/lib/cjs/appui-react/messages/HollowIcon.d.ts +9 -9
- package/lib/cjs/appui-react/messages/HollowIcon.js +20 -20
- package/lib/cjs/appui-react/messages/HollowIcon.js.map +1 -1
- package/lib/cjs/appui-react/messages/InputField.d.ts +37 -37
- package/lib/cjs/appui-react/messages/InputField.js +91 -91
- package/lib/cjs/appui-react/messages/InputField.js.map +1 -1
- package/lib/cjs/appui-react/messages/InputField.scss +82 -82
- package/lib/cjs/appui-react/messages/MessageLabel.d.ts +12 -12
- package/lib/cjs/appui-react/messages/MessageLabel.js +21 -21
- package/lib/cjs/appui-react/messages/MessageLabel.js.map +1 -1
- package/lib/cjs/appui-react/messages/MessageManager.d.ts +244 -244
- package/lib/cjs/appui-react/messages/MessageManager.js +440 -440
- package/lib/cjs/appui-react/messages/MessageManager.js.map +1 -1
- package/lib/cjs/appui-react/messages/MessageSpan.d.ts +14 -14
- package/lib/cjs/appui-react/messages/MessageSpan.js +22 -22
- package/lib/cjs/appui-react/messages/MessageSpan.js.map +1 -1
- package/lib/cjs/appui-react/messages/Pointer.d.ts +69 -69
- package/lib/cjs/appui-react/messages/Pointer.js +174 -174
- package/lib/cjs/appui-react/messages/Pointer.js.map +1 -1
- package/lib/cjs/appui-react/messages/Pointer.scss +42 -42
- package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.d.ts +62 -62
- package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.js +68 -68
- package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.js.map +1 -1
- package/lib/cjs/appui-react/messages/StatusMessageManager.d.ts +24 -24
- package/lib/cjs/appui-react/messages/StatusMessageManager.js +55 -55
- package/lib/cjs/appui-react/messages/StatusMessageManager.js.map +1 -1
- package/lib/cjs/appui-react/messages/StatusMessageRenderer.d.ts +21 -21
- package/lib/cjs/appui-react/messages/StatusMessageRenderer.js +75 -75
- package/lib/cjs/appui-react/messages/StatusMessageRenderer.js.map +1 -1
- package/lib/cjs/appui-react/messages/StatusMessageRenderer.scss +27 -27
- package/lib/cjs/appui-react/messages/StatusMessagesContainer.d.ts +24 -24
- package/lib/cjs/appui-react/messages/StatusMessagesContainer.js +67 -67
- package/lib/cjs/appui-react/messages/StatusMessagesContainer.js.map +1 -1
- package/lib/cjs/appui-react/messages/StatusMessagesContainer.scss +52 -52
- package/lib/cjs/appui-react/messages/StickyMessage.d.ts +22 -22
- package/lib/cjs/appui-react/messages/StickyMessage.js +38 -38
- package/lib/cjs/appui-react/messages/StickyMessage.js.map +1 -1
- package/lib/cjs/appui-react/messages/StickyMessage.scss +22 -22
- package/lib/cjs/appui-react/messages/ToastMessage.d.ts +22 -22
- package/lib/cjs/appui-react/messages/ToastMessage.js +30 -30
- package/lib/cjs/appui-react/messages/ToastMessage.js.map +1 -1
- package/lib/cjs/appui-react/messages/getToastCategory.d.ts +6 -6
- package/lib/cjs/appui-react/messages/getToastCategory.js +27 -27
- package/lib/cjs/appui-react/messages/getToastCategory.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.d.ts +13 -13
- package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.js +25 -25
- package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.d.ts +13 -13
- package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.js +25 -25
- package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/NavigationAidControl.d.ts +33 -33
- package/lib/cjs/appui-react/navigationaids/NavigationAidControl.js +34 -34
- package/lib/cjs/appui-react/navigationaids/NavigationAidControl.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.d.ts +71 -71
- package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.js +183 -183
- package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.scss +82 -82
- package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.d.ts +117 -117
- package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.js +149 -149
- package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.scss +72 -72
- package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.d.ts +44 -44
- package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js +105 -105
- package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.scss +13 -13
- package/lib/cjs/appui-react/pickers/ListPicker.d.ts +145 -145
- package/lib/cjs/appui-react/pickers/ListPicker.js +329 -329
- package/lib/cjs/appui-react/pickers/ListPicker.js.map +1 -1
- package/lib/cjs/appui-react/pickers/ListPicker.scss +307 -307
- package/lib/cjs/appui-react/pickers/ViewSelector.d.ts +93 -93
- package/lib/cjs/appui-react/pickers/ViewSelector.js +267 -267
- package/lib/cjs/appui-react/pickers/ViewSelector.js.map +1 -1
- package/lib/cjs/appui-react/popup/CardPopup.d.ts +48 -48
- package/lib/cjs/appui-react/popup/CardPopup.js +89 -89
- package/lib/cjs/appui-react/popup/CardPopup.js.map +1 -1
- package/lib/cjs/appui-react/popup/CardPopup.scss +25 -25
- package/lib/cjs/appui-react/popup/HTMLElementPopup.d.ts +30 -30
- package/lib/cjs/appui-react/popup/HTMLElementPopup.js +42 -42
- package/lib/cjs/appui-react/popup/HTMLElementPopup.js.map +1 -1
- package/lib/cjs/appui-react/popup/InputEditorPopup.d.ts +38 -38
- package/lib/cjs/appui-react/popup/InputEditorPopup.js +57 -57
- package/lib/cjs/appui-react/popup/InputEditorPopup.js.map +1 -1
- package/lib/cjs/appui-react/popup/KeyinPalettePanel.d.ts +19 -19
- package/lib/cjs/appui-react/popup/KeyinPalettePanel.js +253 -253
- package/lib/cjs/appui-react/popup/KeyinPalettePanel.js.map +1 -1
- package/lib/cjs/appui-react/popup/KeyinPalettePanel.scss +30 -30
- package/lib/cjs/appui-react/popup/KeyinPalettePopup.d.ts +19 -19
- package/lib/cjs/appui-react/popup/KeyinPalettePopup.js +47 -47
- package/lib/cjs/appui-react/popup/KeyinPalettePopup.js.map +1 -1
- package/lib/cjs/appui-react/popup/PopupManager.d.ts +105 -105
- package/lib/cjs/appui-react/popup/PopupManager.js +232 -232
- package/lib/cjs/appui-react/popup/PopupManager.js.map +1 -1
- package/lib/cjs/appui-react/popup/PositionPopup.d.ts +26 -26
- package/lib/cjs/appui-react/popup/PositionPopup.js +48 -48
- package/lib/cjs/appui-react/popup/PositionPopup.js.map +1 -1
- package/lib/cjs/appui-react/popup/PositionPopup.scss +28 -28
- package/lib/cjs/appui-react/popup/ToolSettingsPopup.d.ts +33 -33
- package/lib/cjs/appui-react/popup/ToolSettingsPopup.js +56 -56
- package/lib/cjs/appui-react/popup/ToolSettingsPopup.js.map +1 -1
- package/lib/cjs/appui-react/popup/ToolbarPopup.d.ts +34 -34
- package/lib/cjs/appui-react/popup/ToolbarPopup.js +57 -57
- package/lib/cjs/appui-react/popup/ToolbarPopup.js.map +1 -1
- package/lib/cjs/appui-react/redux/FrameworkState.d.ts +22 -22
- package/lib/cjs/appui-react/redux/FrameworkState.js +20 -20
- package/lib/cjs/appui-react/redux/FrameworkState.js.map +1 -1
- package/lib/cjs/appui-react/redux/ReducerRegistry.d.ts +36 -36
- package/lib/cjs/appui-react/redux/ReducerRegistry.js +60 -60
- package/lib/cjs/appui-react/redux/ReducerRegistry.js.map +1 -1
- package/lib/cjs/appui-react/redux/SessionState.d.ts +103 -103
- package/lib/cjs/appui-react/redux/SessionState.js +130 -130
- package/lib/cjs/appui-react/redux/SessionState.js.map +1 -1
- package/lib/cjs/appui-react/redux/StateManager.d.ts +43 -43
- package/lib/cjs/appui-react/redux/StateManager.js +97 -97
- package/lib/cjs/appui-react/redux/StateManager.js.map +1 -1
- package/lib/cjs/appui-react/redux/connectIModel.d.ts +26 -26
- package/lib/cjs/appui-react/redux/connectIModel.js +94 -94
- package/lib/cjs/appui-react/redux/connectIModel.js.map +1 -1
- package/lib/cjs/appui-react/redux/redux-ts.d.ts +197 -197
- package/lib/cjs/appui-react/redux/redux-ts.js +36 -36
- package/lib/cjs/appui-react/redux/redux-ts.js.map +1 -1
- package/lib/cjs/appui-react/safearea/SafeAreaContext.d.ts +72 -72
- package/lib/cjs/appui-react/safearea/SafeAreaContext.js +33 -33
- package/lib/cjs/appui-react/safearea/SafeAreaContext.js.map +1 -1
- package/lib/cjs/appui-react/safearea/SafeAreaInsets.d.ts +12 -12
- package/lib/cjs/appui-react/safearea/SafeAreaInsets.js +15 -15
- package/lib/cjs/appui-react/safearea/SafeAreaInsets.js.map +1 -1
- package/lib/cjs/appui-react/selection/ClearEmphasisStatusField.d.ts +17 -17
- package/lib/cjs/appui-react/selection/ClearEmphasisStatusField.js +56 -56
- package/lib/cjs/appui-react/selection/ClearEmphasisStatusField.js.map +1 -1
- package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.d.ts +306 -306
- package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.js +697 -697
- package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
- package/lib/cjs/appui-react/selection/SelectionContextItemDef.d.ts +54 -54
- package/lib/cjs/appui-react/selection/SelectionContextItemDef.js +211 -211
- package/lib/cjs/appui-react/selection/SelectionContextItemDef.js.map +1 -1
- package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.d.ts +26 -26
- package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js +201 -201
- package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
- package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.scss +125 -125
- package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts +17 -17
- package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.js +53 -53
- package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.js.map +1 -1
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts +39 -39
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js +192 -192
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.scss +66 -66
- package/lib/cjs/appui-react/shared/ActionButtonItemDef.d.ts +35 -35
- package/lib/cjs/appui-react/shared/ActionButtonItemDef.js +67 -67
- package/lib/cjs/appui-react/shared/ActionButtonItemDef.js.map +1 -1
- package/lib/cjs/appui-react/shared/AnyItemDef.d.ts +11 -11
- package/lib/cjs/appui-react/shared/AnyItemDef.js +9 -9
- package/lib/cjs/appui-react/shared/AnyItemDef.js.map +1 -1
- package/lib/cjs/appui-react/shared/AnyToolbarItemDef.d.ts +9 -9
- package/lib/cjs/appui-react/shared/AnyToolbarItemDef.js +9 -9
- package/lib/cjs/appui-react/shared/AnyToolbarItemDef.js.map +1 -1
- package/lib/cjs/appui-react/shared/CommandItemDef.d.ts +16 -16
- package/lib/cjs/appui-react/shared/CommandItemDef.js +35 -35
- package/lib/cjs/appui-react/shared/CommandItemDef.js.map +1 -1
- package/lib/cjs/appui-react/shared/CustomItemDef.d.ts +19 -19
- package/lib/cjs/appui-react/shared/CustomItemDef.js +50 -50
- package/lib/cjs/appui-react/shared/CustomItemDef.js.map +1 -1
- package/lib/cjs/appui-react/shared/CustomItemProps.d.ts +13 -13
- package/lib/cjs/appui-react/shared/CustomItemProps.js +9 -9
- package/lib/cjs/appui-react/shared/CustomItemProps.js.map +1 -1
- package/lib/cjs/appui-react/shared/GroupItemProps.d.ts +22 -22
- package/lib/cjs/appui-react/shared/GroupItemProps.js +9 -9
- package/lib/cjs/appui-react/shared/GroupItemProps.js.map +1 -1
- package/lib/cjs/appui-react/shared/ItemDefBase.d.ts +66 -66
- package/lib/cjs/appui-react/shared/ItemDefBase.js +92 -92
- package/lib/cjs/appui-react/shared/ItemDefBase.js.map +1 -1
- package/lib/cjs/appui-react/shared/ItemMap.d.ts +21 -21
- package/lib/cjs/appui-react/shared/ItemMap.js +51 -51
- package/lib/cjs/appui-react/shared/ItemMap.js.map +1 -1
- package/lib/cjs/appui-react/shared/ItemProps.d.ts +65 -65
- package/lib/cjs/appui-react/shared/ItemProps.js +9 -9
- package/lib/cjs/appui-react/shared/ItemProps.js.map +1 -1
- package/lib/cjs/appui-react/shared/MenuItem.d.ts +36 -36
- package/lib/cjs/appui-react/shared/MenuItem.js +112 -112
- package/lib/cjs/appui-react/shared/MenuItem.js.map +1 -1
- package/lib/cjs/appui-react/shared/SelectionScope.d.ts +13 -13
- package/lib/cjs/appui-react/shared/SelectionScope.js +21 -21
- package/lib/cjs/appui-react/shared/SelectionScope.js.map +1 -1
- package/lib/cjs/appui-react/shared/ToolItemDef.d.ts +17 -17
- package/lib/cjs/appui-react/shared/ToolItemDef.js +39 -39
- package/lib/cjs/appui-react/shared/ToolItemDef.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/FrameworkStagePanel.d.ts +61 -61
- package/lib/cjs/appui-react/stagepanels/FrameworkStagePanel.js +121 -121
- package/lib/cjs/appui-react/stagepanels/FrameworkStagePanel.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/FrameworkStagePanel.scss +41 -41
- package/lib/cjs/appui-react/stagepanels/StagePanel.d.ts +141 -141
- package/lib/cjs/appui-react/stagepanels/StagePanel.js +154 -154
- package/lib/cjs/appui-react/stagepanels/StagePanel.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts +38 -38
- package/lib/cjs/appui-react/stagepanels/StagePanelConfig.js +10 -10
- package/lib/cjs/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts +283 -283
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.js +276 -276
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelHeader.d.ts +27 -27
- package/lib/cjs/appui-react/stagepanels/StagePanelHeader.js +45 -45
- package/lib/cjs/appui-react/stagepanels/StagePanelHeader.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelHeader.scss +25 -25
- package/lib/cjs/appui-react/stagepanels/StagePanelLocation.d.ts +12 -12
- package/lib/cjs/appui-react/stagepanels/StagePanelLocation.js +15 -15
- package/lib/cjs/appui-react/stagepanels/StagePanelLocation.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelSection.d.ts +12 -12
- package/lib/cjs/appui-react/stagepanels/StagePanelSection.js +15 -15
- package/lib/cjs/appui-react/stagepanels/StagePanelSection.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/Indicator.d.ts +25 -25
- package/lib/cjs/appui-react/statusbar/Indicator.js +37 -37
- package/lib/cjs/appui-react/statusbar/Indicator.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/Indicator.scss +110 -110
- package/lib/cjs/appui-react/statusbar/LabelIndicator.d.ts +23 -23
- package/lib/cjs/appui-react/statusbar/LabelIndicator.js +29 -29
- package/lib/cjs/appui-react/statusbar/LabelIndicator.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/LabelIndicator.scss +43 -43
- package/lib/cjs/appui-react/statusbar/Overflow.d.ts +19 -19
- package/lib/cjs/appui-react/statusbar/Overflow.js +30 -30
- package/lib/cjs/appui-react/statusbar/Overflow.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/Overflow.scss +27 -27
- package/lib/cjs/appui-react/statusbar/OverflowPanel.d.ts +20 -20
- package/lib/cjs/appui-react/statusbar/OverflowPanel.js +22 -22
- package/lib/cjs/appui-react/statusbar/OverflowPanel.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/OverflowPanel.scss +22 -22
- package/lib/cjs/appui-react/statusbar/Separator.d.ts +9 -9
- package/lib/cjs/appui-react/statusbar/Separator.js +20 -20
- package/lib/cjs/appui-react/statusbar/Separator.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBar.d.ts +78 -78
- package/lib/cjs/appui-react/statusbar/StatusBar.js +178 -178
- package/lib/cjs/appui-react/statusbar/StatusBar.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBar.scss +43 -43
- package/lib/cjs/appui-react/statusbar/StatusBarComposer.d.ts +46 -46
- package/lib/cjs/appui-react/statusbar/StatusBarComposer.js +287 -287
- package/lib/cjs/appui-react/statusbar/StatusBarComposer.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarItem.d.ts +66 -66
- package/lib/cjs/appui-react/statusbar/StatusBarItem.js +48 -48
- package/lib/cjs/appui-react/statusbar/StatusBarItem.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.d.ts +32 -32
- package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.js +52 -52
- package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.d.ts +10 -10
- package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.js +18 -18
- package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.d.ts +39 -39
- package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.js +23 -23
- package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/dialog/Button.d.ts +20 -20
- package/lib/cjs/appui-react/statusbar/dialog/Button.js +19 -19
- package/lib/cjs/appui-react/statusbar/dialog/Button.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/dialog/Dialog.d.ts +29 -29
- package/lib/cjs/appui-react/statusbar/dialog/Dialog.js +30 -30
- package/lib/cjs/appui-react/statusbar/dialog/Dialog.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/dialog/TitleBar.d.ts +18 -18
- package/lib/cjs/appui-react/statusbar/dialog/TitleBar.js +19 -19
- package/lib/cjs/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.d.ts +8 -8
- package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.js +37 -37
- package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts +8 -8
- package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.js +56 -56
- package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/withMessageCenterFieldProps.d.ts +9 -9
- package/lib/cjs/appui-react/statusbar/withMessageCenterFieldProps.js +25 -25
- package/lib/cjs/appui-react/statusbar/withMessageCenterFieldProps.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/withStatusFieldProps.d.ts +10 -10
- package/lib/cjs/appui-react/statusbar/withStatusFieldProps.js +26 -26
- package/lib/cjs/appui-react/statusbar/withStatusFieldProps.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/ActivityCenter.d.ts +27 -27
- package/lib/cjs/appui-react/statusfields/ActivityCenter.js +67 -67
- package/lib/cjs/appui-react/statusfields/ActivityCenter.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/ConditionalField.d.ts +44 -44
- package/lib/cjs/appui-react/statusfields/ConditionalField.js +56 -56
- package/lib/cjs/appui-react/statusfields/ConditionalField.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/FooterModeField.d.ts +18 -18
- package/lib/cjs/appui-react/statusfields/FooterModeField.js +27 -27
- package/lib/cjs/appui-react/statusfields/FooterModeField.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/Indicator.d.ts +43 -43
- package/lib/cjs/appui-react/statusfields/Indicator.js +45 -45
- package/lib/cjs/appui-react/statusfields/Indicator.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/Indicator.scss +183 -183
- package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts +57 -57
- package/lib/cjs/appui-react/statusfields/MessageCenter.js +151 -151
- package/lib/cjs/appui-react/statusfields/MessageCenter.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/PromptField.d.ts +30 -30
- package/lib/cjs/appui-react/statusfields/PromptField.js +51 -51
- package/lib/cjs/appui-react/statusfields/PromptField.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/PromptField.scss +42 -42
- package/lib/cjs/appui-react/statusfields/SectionsField.d.ts +16 -16
- package/lib/cjs/appui-react/statusfields/SectionsField.js +80 -80
- package/lib/cjs/appui-react/statusfields/SectionsField.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SectionsField.scss +36 -36
- package/lib/cjs/appui-react/statusfields/SelectionInfo.d.ts +26 -26
- package/lib/cjs/appui-react/statusfields/SelectionInfo.js +51 -51
- package/lib/cjs/appui-react/statusfields/SelectionInfo.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionInfo.scss +14 -14
- package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts +30 -30
- package/lib/cjs/appui-react/statusfields/SelectionScope.js +64 -64
- package/lib/cjs/appui-react/statusfields/SelectionScope.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionScope.scss +48 -48
- package/lib/cjs/appui-react/statusfields/SnapMode.d.ts +41 -41
- package/lib/cjs/appui-react/statusfields/SnapMode.js +89 -89
- package/lib/cjs/appui-react/statusfields/SnapMode.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/StatusFieldProps.d.ts +22 -22
- package/lib/cjs/appui-react/statusfields/StatusFieldProps.js +2 -2
- package/lib/cjs/appui-react/statusfields/StatusFieldProps.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts +31 -31
- package/lib/cjs/appui-react/statusfields/ViewAttributes.js +100 -100
- package/lib/cjs/appui-react/statusfields/ViewAttributes.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/ViewAttributes.scss +14 -14
- package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +31 -31
- package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.js +94 -94
- package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.scss +57 -57
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +96 -96
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js +458 -458
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.scss +206 -206
- package/lib/cjs/appui-react/syncui/BooleanListener.d.ts +43 -43
- package/lib/cjs/appui-react/syncui/BooleanListener.js +69 -69
- package/lib/cjs/appui-react/syncui/BooleanListener.js.map +1 -1
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts +102 -102
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js +256 -256
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
- package/lib/cjs/appui-react/theme/ThemeManager.d.ts +55 -55
- package/lib/cjs/appui-react/theme/ThemeManager.js +97 -97
- package/lib/cjs/appui-react/theme/ThemeManager.js.map +1 -1
- package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.d.ts +15 -15
- package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.js +52 -52
- package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.js.map +1 -1
- package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.d.ts +15 -15
- package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.js +58 -58
- package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.js.map +1 -1
- package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.d.ts +19 -19
- package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.js +65 -65
- package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/ActionButtonItem.d.ts +17 -17
- package/lib/cjs/appui-react/toolbar/ActionButtonItem.js +30 -30
- package/lib/cjs/appui-react/toolbar/ActionButtonItem.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/ActionItemButton.d.ts +39 -39
- package/lib/cjs/appui-react/toolbar/ActionItemButton.js +103 -103
- package/lib/cjs/appui-react/toolbar/ActionItemButton.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/DragInteraction.d.ts +8 -8
- package/lib/cjs/appui-react/toolbar/DragInteraction.js +15 -15
- package/lib/cjs/appui-react/toolbar/DragInteraction.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/GroupButtonItem.d.ts +78 -78
- package/lib/cjs/appui-react/toolbar/GroupButtonItem.js +328 -328
- package/lib/cjs/appui-react/toolbar/GroupButtonItem.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/GroupItem.d.ts +128 -128
- package/lib/cjs/appui-react/toolbar/GroupItem.js +466 -466
- package/lib/cjs/appui-react/toolbar/GroupItem.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/PopupButton.d.ts +57 -57
- package/lib/cjs/appui-react/toolbar/PopupButton.js +152 -152
- package/lib/cjs/appui-react/toolbar/PopupButton.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/PopupButton.scss +9 -9
- package/lib/cjs/appui-react/toolbar/ToolButton.d.ts +30 -30
- package/lib/cjs/appui-react/toolbar/ToolButton.js +98 -98
- package/lib/cjs/appui-react/toolbar/ToolButton.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/Toolbar.d.ts +54 -54
- package/lib/cjs/appui-react/toolbar/Toolbar.js +239 -239
- package/lib/cjs/appui-react/toolbar/Toolbar.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarComposer.d.ts +19 -19
- package/lib/cjs/appui-react/toolbar/ToolbarComposer.js +247 -247
- package/lib/cjs/appui-react/toolbar/ToolbarComposer.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarHelper.d.ts +27 -27
- package/lib/cjs/appui-react/toolbar/ToolbarHelper.js +152 -152
- package/lib/cjs/appui-react/toolbar/ToolbarHelper.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarItem.d.ts +52 -52
- package/lib/cjs/appui-react/toolbar/ToolbarItem.js +40 -40
- package/lib/cjs/appui-react/toolbar/ToolbarItem.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.d.ts +13 -13
- package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.js +27 -27
- package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.d.ts +8 -8
- package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.js +36 -36
- package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts +8 -8
- package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js +54 -54
- package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.d.ts +43 -43
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.js +409 -409
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.js.map +1 -1
- package/lib/cjs/appui-react/tools/FrameworkToolAdmin.d.ts +11 -11
- package/lib/cjs/appui-react/tools/FrameworkToolAdmin.js +30 -30
- package/lib/cjs/appui-react/tools/FrameworkToolAdmin.js.map +1 -1
- package/lib/cjs/appui-react/tools/KeyinPaletteTools.d.ts +16 -16
- package/lib/cjs/appui-react/tools/KeyinPaletteTools.js +30 -30
- package/lib/cjs/appui-react/tools/KeyinPaletteTools.js.map +1 -1
- package/lib/cjs/appui-react/tools/MarkupToolDefinitions.d.ts +21 -21
- package/lib/cjs/appui-react/tools/MarkupToolDefinitions.js +53 -53
- package/lib/cjs/appui-react/tools/MarkupToolDefinitions.js.map +1 -1
- package/lib/cjs/appui-react/tools/OpenSettingsTool.d.ts +16 -16
- package/lib/cjs/appui-react/tools/OpenSettingsTool.js +32 -32
- package/lib/cjs/appui-react/tools/OpenSettingsTool.js.map +1 -1
- package/lib/cjs/appui-react/tools/RestoreLayoutTool.d.ts +26 -26
- package/lib/cjs/appui-react/tools/RestoreLayoutTool.js +60 -60
- package/lib/cjs/appui-react/tools/RestoreLayoutTool.js.map +1 -1
- package/lib/cjs/appui-react/tools/ToolSettingsTools.d.ts +22 -22
- package/lib/cjs/appui-react/tools/ToolSettingsTools.js +46 -46
- package/lib/cjs/appui-react/tools/ToolSettingsTools.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts +10 -10
- package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.js +19 -19
- package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/ProviderItem.d.ts +8 -8
- package/lib/cjs/appui-react/ui-items-provider/ProviderItem.js +9 -9
- package/lib/cjs/appui-react/ui-items-provider/ProviderItem.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts +62 -62
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js +106 -106
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts +37 -37
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +96 -96
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts +24 -24
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.js +67 -67
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts +33 -33
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js +52 -52
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts +24 -24
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js +91 -91
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts +30 -30
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +83 -83
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.d.ts +23 -23
- package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js +18 -18
- package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.d.ts +8 -8
- package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.js +9 -9
- package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.d.ts +201 -201
- package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js +344 -344
- package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
- package/lib/cjs/appui-react/uiprovider/ComponentGenerator.d.ts +27 -27
- package/lib/cjs/appui-react/uiprovider/ComponentGenerator.js +206 -206
- package/lib/cjs/appui-react/uiprovider/ComponentGenerator.js.map +1 -1
- package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.d.ts +27 -27
- package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.js +55 -55
- package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.js.map +1 -1
- package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.scss +216 -216
- package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts +53 -53
- package/lib/cjs/appui-react/uistate/AppUiSettings.js +95 -95
- package/lib/cjs/appui-react/uistate/AppUiSettings.js.map +1 -1
- package/lib/cjs/appui-react/uistate/UserSettingsStorage.d.ts +14 -14
- package/lib/cjs/appui-react/uistate/UserSettingsStorage.js +61 -61
- package/lib/cjs/appui-react/uistate/UserSettingsStorage.js.map +1 -1
- package/lib/cjs/appui-react/uistate/useUiStateStorage.d.ts +19 -19
- package/lib/cjs/appui-react/uistate/useUiStateStorage.js +38 -38
- package/lib/cjs/appui-react/uistate/useUiStateStorage.js.map +1 -1
- package/lib/cjs/appui-react/utils/InternalUiShowHideManager.d.ts +83 -83
- package/lib/cjs/appui-react/utils/InternalUiShowHideManager.js +197 -197
- package/lib/cjs/appui-react/utils/InternalUiShowHideManager.js.map +1 -1
- package/lib/cjs/appui-react/utils/PropsHelper.d.ts +20 -20
- package/lib/cjs/appui-react/utils/PropsHelper.js +66 -66
- package/lib/cjs/appui-react/utils/PropsHelper.js.map +1 -1
- package/lib/cjs/appui-react/utils/ToolbarButtonHelper.d.ts +17 -17
- package/lib/cjs/appui-react/utils/ToolbarButtonHelper.js +60 -60
- package/lib/cjs/appui-react/utils/ToolbarButtonHelper.js.map +1 -1
- package/lib/cjs/appui-react/utils/UiShowHideManager.d.ts +53 -53
- package/lib/cjs/appui-react/utils/UiShowHideManager.js +107 -107
- package/lib/cjs/appui-react/utils/UiShowHideManager.js.map +1 -1
- package/lib/cjs/appui-react/utils/ViewUtilities.d.ts +66 -66
- package/lib/cjs/appui-react/utils/ViewUtilities.js +98 -98
- package/lib/cjs/appui-react/utils/ViewUtilities.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Content.d.ts +6 -6
- package/lib/cjs/appui-react/widget-panels/Content.js +58 -58
- package/lib/cjs/appui-react/widget-panels/Content.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/FloatingWidget.d.ts +6 -6
- package/lib/cjs/appui-react/widget-panels/FloatingWidget.js +18 -18
- package/lib/cjs/appui-react/widget-panels/FloatingWidget.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts +122 -122
- package/lib/cjs/appui-react/widget-panels/Frontstage.js +1195 -1195
- package/lib/cjs/appui-react/widget-panels/Frontstage.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Frontstage.scss +19 -19
- package/lib/cjs/appui-react/widget-panels/FrontstageContent.d.ts +3 -3
- package/lib/cjs/appui-react/widget-panels/FrontstageContent.js +21 -21
- package/lib/cjs/appui-react/widget-panels/FrontstageContent.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.d.ts +8 -8
- package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.js +38 -38
- package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/StatusBar.d.ts +8 -8
- package/lib/cjs/appui-react/widget-panels/StatusBar.js +30 -30
- package/lib/cjs/appui-react/widget-panels/StatusBar.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/StatusBar.scss +10 -10
- package/lib/cjs/appui-react/widget-panels/Tab.d.ts +10 -10
- package/lib/cjs/appui-react/widget-panels/Tab.js +34 -34
- package/lib/cjs/appui-react/widget-panels/Tab.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Tab.scss +14 -14
- package/lib/cjs/appui-react/widget-panels/ToolSettings.d.ts +37 -37
- package/lib/cjs/appui-react/widget-panels/ToolSettings.js +156 -156
- package/lib/cjs/appui-react/widget-panels/ToolSettings.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/ToolSettings.scss +40 -40
- package/lib/cjs/appui-react/widget-panels/Toolbars.d.ts +7 -7
- package/lib/cjs/appui-react/widget-panels/Toolbars.js +31 -31
- package/lib/cjs/appui-react/widget-panels/Toolbars.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Toolbars.scss +20 -20
- package/lib/cjs/appui-react/widget-panels/useTransientState.d.ts +7 -7
- package/lib/cjs/appui-react/widget-panels/useTransientState.js +18 -18
- package/lib/cjs/appui-react/widget-panels/useTransientState.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/useWidgetDirection.d.ts +8 -8
- package/lib/cjs/appui-react/widget-panels/useWidgetDirection.js +31 -31
- package/lib/cjs/appui-react/widget-panels/useWidgetDirection.js.map +1 -1
- package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts +21 -21
- package/lib/cjs/appui-react/widgets/BackstageAppButton.js +54 -54
- package/lib/cjs/appui-react/widgets/BackstageAppButton.js.map +1 -1
- package/lib/cjs/appui-react/widgets/BasicNavigationWidget.d.ts +19 -19
- package/lib/cjs/appui-react/widgets/BasicNavigationWidget.js +60 -60
- package/lib/cjs/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
- package/lib/cjs/appui-react/widgets/BasicToolWidget.d.ts +23 -23
- package/lib/cjs/appui-react/widgets/BasicToolWidget.js +61 -61
- package/lib/cjs/appui-react/widgets/BasicToolWidget.js.map +1 -1
- package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.d.ts +37 -37
- package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.js +48 -48
- package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.js.map +1 -1
- package/lib/cjs/appui-react/widgets/DefaultNavigationWidget.d.ts +34 -34
- package/lib/cjs/appui-react/widgets/DefaultNavigationWidget.js +64 -64
- package/lib/cjs/appui-react/widgets/DefaultNavigationWidget.js.map +1 -1
- package/lib/cjs/appui-react/widgets/NavigationWidget.d.ts +55 -55
- package/lib/cjs/appui-react/widgets/NavigationWidget.js +150 -150
- package/lib/cjs/appui-react/widgets/NavigationWidget.js.map +1 -1
- package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.d.ts +38 -38
- package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js +106 -106
- package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
- package/lib/cjs/appui-react/widgets/ReviewToolWidget.d.ts +32 -32
- package/lib/cjs/appui-react/widgets/ReviewToolWidget.js +73 -73
- package/lib/cjs/appui-react/widgets/ReviewToolWidget.js.map +1 -1
- package/lib/cjs/appui-react/widgets/StableWidgetDef.d.ts +8 -8
- package/lib/cjs/appui-react/widgets/StableWidgetDef.js +29 -29
- package/lib/cjs/appui-react/widgets/StableWidgetDef.js.map +1 -1
- package/lib/cjs/appui-react/widgets/StatusBarWidgetComposerControl.d.ts +27 -27
- package/lib/cjs/appui-react/widgets/StatusBarWidgetComposerControl.js +42 -42
- package/lib/cjs/appui-react/widgets/StatusBarWidgetComposerControl.js.map +1 -1
- package/lib/cjs/appui-react/widgets/ToolSettingsContent.d.ts +29 -29
- package/lib/cjs/appui-react/widgets/ToolSettingsContent.js +54 -54
- package/lib/cjs/appui-react/widgets/ToolSettingsContent.js.map +1 -1
- package/lib/cjs/appui-react/widgets/ToolSettingsContent.scss +60 -60
- package/lib/cjs/appui-react/widgets/ToolWidget.d.ts +46 -46
- package/lib/cjs/appui-react/widgets/ToolWidget.js +87 -87
- package/lib/cjs/appui-react/widgets/ToolWidget.js.map +1 -1
- package/lib/cjs/appui-react/widgets/ToolWidgetComposer.d.ts +23 -23
- package/lib/cjs/appui-react/widgets/ToolWidgetComposer.js +34 -34
- package/lib/cjs/appui-react/widgets/ToolWidgetComposer.js.map +1 -1
- package/lib/cjs/appui-react/widgets/ToolbarWidgetBase.d.ts +25 -25
- package/lib/cjs/appui-react/widgets/ToolbarWidgetBase.js +54 -54
- package/lib/cjs/appui-react/widgets/ToolbarWidgetBase.js.map +1 -1
- package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.d.ts +26 -26
- package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.js +36 -36
- package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.js.map +1 -1
- package/lib/cjs/appui-react/widgets/Widget.d.ts +14 -14
- package/lib/cjs/appui-react/widgets/Widget.js +25 -25
- package/lib/cjs/appui-react/widgets/Widget.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetConfig.d.ts +10 -10
- package/lib/cjs/appui-react/widgets/WidgetConfig.js +9 -9
- package/lib/cjs/appui-react/widgets/WidgetConfig.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetControl.d.ts +33 -33
- package/lib/cjs/appui-react/widgets/WidgetControl.js +44 -44
- package/lib/cjs/appui-react/widgets/WidgetControl.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetDef.d.ts +227 -227
- package/lib/cjs/appui-react/widgets/WidgetDef.js +380 -380
- package/lib/cjs/appui-react/widgets/WidgetDef.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetHost.d.ts +41 -41
- package/lib/cjs/appui-react/widgets/WidgetHost.js +180 -180
- package/lib/cjs/appui-react/widgets/WidgetHost.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetManager.d.ts +56 -56
- package/lib/cjs/appui-react/widgets/WidgetManager.js +154 -154
- package/lib/cjs/appui-react/widgets/WidgetManager.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetProps.d.ts +32 -32
- package/lib/cjs/appui-react/widgets/WidgetProps.js +9 -9
- package/lib/cjs/appui-react/widgets/WidgetProps.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetStack.d.ts +134 -134
- package/lib/cjs/appui-react/widgets/WidgetStack.js +137 -137
- package/lib/cjs/appui-react/widgets/WidgetStack.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetState.d.ts +12 -12
- package/lib/cjs/appui-react/widgets/WidgetState.js +15 -15
- package/lib/cjs/appui-react/widgets/WidgetState.js.map +1 -1
- package/lib/cjs/appui-react/workflow/Task.d.ts +47 -47
- package/lib/cjs/appui-react/workflow/Task.js +72 -72
- package/lib/cjs/appui-react/workflow/Task.js.map +1 -1
- package/lib/cjs/appui-react/workflow/Workflow.d.ts +152 -152
- package/lib/cjs/appui-react/workflow/Workflow.js +237 -237
- package/lib/cjs/appui-react/workflow/Workflow.js.map +1 -1
- package/lib/cjs/appui-react/zones/FrameworkZone.d.ts +43 -43
- package/lib/cjs/appui-react/zones/FrameworkZone.js +52 -52
- package/lib/cjs/appui-react/zones/FrameworkZone.js.map +1 -1
- package/lib/cjs/appui-react/zones/Outline.d.ts +13 -13
- package/lib/cjs/appui-react/zones/Outline.js +21 -21
- package/lib/cjs/appui-react/zones/Outline.js.map +1 -1
- package/lib/cjs/appui-react/zones/StatusBarZone.d.ts +27 -27
- package/lib/cjs/appui-react/zones/StatusBarZone.js +32 -32
- package/lib/cjs/appui-react/zones/StatusBarZone.js.map +1 -1
- package/lib/cjs/appui-react/zones/Zone.d.ts +87 -87
- package/lib/cjs/appui-react/zones/Zone.js +157 -157
- package/lib/cjs/appui-react/zones/Zone.js.map +1 -1
- package/lib/cjs/appui-react/zones/ZoneDef.d.ts +56 -56
- package/lib/cjs/appui-react/zones/ZoneDef.js +91 -91
- package/lib/cjs/appui-react/zones/ZoneDef.js.map +1 -1
- package/lib/cjs/appui-react/zones/toolsettings/DefaultToolSettingsProvider.d.ts +25 -25
- package/lib/cjs/appui-react/zones/toolsettings/DefaultToolSettingsProvider.js +73 -73
- package/lib/cjs/appui-react/zones/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
- package/lib/cjs/appui-react/zones/toolsettings/InternalToolSettingsManager.d.ts +49 -49
- package/lib/cjs/appui-react/zones/toolsettings/InternalToolSettingsManager.js +123 -123
- package/lib/cjs/appui-react/zones/toolsettings/InternalToolSettingsManager.js.map +1 -1
- package/lib/cjs/appui-react/zones/toolsettings/ToolInformation.d.ts +14 -14
- package/lib/cjs/appui-react/zones/toolsettings/ToolInformation.js +43 -43
- package/lib/cjs/appui-react/zones/toolsettings/ToolInformation.js.map +1 -1
- package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsManager.d.ts +43 -43
- package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsManager.js +63 -63
- package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsManager.js.map +1 -1
- package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsZone.d.ts +53 -53
- package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsZone.js +92 -92
- package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsZone.js.map +1 -1
- package/lib/cjs/appui-react/zones/toolsettings/ToolUiProvider.d.ts +35 -35
- package/lib/cjs/appui-react/zones/toolsettings/ToolUiProvider.js +38 -38
- package/lib/cjs/appui-react/zones/toolsettings/ToolUiProvider.js.map +1 -1
- package/lib/cjs/appui-react.d.ts +403 -403
- package/lib/cjs/appui-react.js +420 -420
- package/lib/cjs/appui-react.js.map +1 -1
- package/lib/esm/appui-react/UiFramework.d.ts +299 -299
- package/lib/esm/appui-react/UiFramework.js +576 -576
- package/lib/esm/appui-react/UiFramework.js.map +1 -1
- package/lib/esm/appui-react/_variables.scss +11 -11
- package/lib/esm/appui-react/accudraw/AccuDrawCommandItems.d.ts +27 -27
- package/lib/esm/appui-react/accudraw/AccuDrawCommandItems.js +70 -70
- package/lib/esm/appui-react/accudraw/AccuDrawCommandItems.js.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawDialog.d.ts +21 -21
- package/lib/esm/appui-react/accudraw/AccuDrawDialog.js +35 -35
- package/lib/esm/appui-react/accudraw/AccuDrawDialog.js.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawDialog.scss +14 -14
- package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.d.ts +19 -19
- package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.js +212 -212
- package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.js.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.scss +27 -27
- package/lib/esm/appui-react/accudraw/AccuDrawInputField.d.ts +42 -42
- package/lib/esm/appui-react/accudraw/AccuDrawInputField.js +119 -119
- package/lib/esm/appui-react/accudraw/AccuDrawInputField.js.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawInputField.scss +55 -55
- package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts +12 -12
- package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.js +106 -106
- package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.js.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.d.ts +18 -18
- package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.js +60 -60
- package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.js.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawUiSettings.d.ts +61 -61
- package/lib/esm/appui-react/accudraw/AccuDrawUiSettings.js +8 -8
- package/lib/esm/appui-react/accudraw/AccuDrawUiSettings.js.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawWidget.d.ts +18 -18
- package/lib/esm/appui-react/accudraw/AccuDrawWidget.js +39 -39
- package/lib/esm/appui-react/accudraw/AccuDrawWidget.js.map +1 -1
- package/lib/esm/appui-react/accudraw/Calculator.d.ts +46 -46
- package/lib/esm/appui-react/accudraw/Calculator.js +213 -213
- package/lib/esm/appui-react/accudraw/Calculator.js.map +1 -1
- package/lib/esm/appui-react/accudraw/Calculator.scss +86 -86
- package/lib/esm/appui-react/accudraw/CalculatorEngine.d.ts +41 -41
- package/lib/esm/appui-react/accudraw/CalculatorEngine.js +191 -191
- package/lib/esm/appui-react/accudraw/CalculatorEngine.js.map +1 -1
- package/lib/esm/appui-react/accudraw/CalculatorPopup.d.ts +31 -31
- package/lib/esm/appui-react/accudraw/CalculatorPopup.js +37 -37
- package/lib/esm/appui-react/accudraw/CalculatorPopup.js.map +1 -1
- package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.d.ts +147 -147
- package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.js +220 -220
- package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.js.map +1 -1
- package/lib/esm/appui-react/accudraw/MenuButton.d.ts +30 -30
- package/lib/esm/appui-react/accudraw/MenuButton.js +62 -62
- package/lib/esm/appui-react/accudraw/MenuButton.js.map +1 -1
- package/lib/esm/appui-react/accudraw/MenuButton.scss +18 -18
- package/lib/esm/appui-react/accudraw/MenuButtonPopup.d.ts +27 -27
- package/lib/esm/appui-react/accudraw/MenuButtonPopup.js +33 -33
- package/lib/esm/appui-react/accudraw/MenuButtonPopup.js.map +1 -1
- package/lib/esm/appui-react/accudraw/SquareButton.d.ts +14 -14
- package/lib/esm/appui-react/accudraw/SquareButton.js +22 -22
- package/lib/esm/appui-react/accudraw/SquareButton.js.map +1 -1
- package/lib/esm/appui-react/accudraw/SquareButton.scss +44 -44
- package/lib/esm/appui-react/accudraw/backspace.svg +9 -9
- package/lib/esm/appui-react/accudraw/constraint-2d.svg +11 -11
- package/lib/esm/appui-react/accudraw/height-2.svg +10 -10
- package/lib/esm/appui-react/accudraw/height.svg +11 -11
- package/lib/esm/appui-react/backstage/Backstage.d.ts +61 -61
- package/lib/esm/appui-react/backstage/Backstage.js +83 -83
- package/lib/esm/appui-react/backstage/Backstage.js.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposer.d.ts +27 -27
- package/lib/esm/appui-react/backstage/BackstageComposer.js +136 -136
- package/lib/esm/appui-react/backstage/BackstageComposer.js.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposerItem.d.ts +29 -29
- package/lib/esm/appui-react/backstage/BackstageComposerItem.js +49 -49
- package/lib/esm/appui-react/backstage/BackstageComposerItem.js.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageItem.d.ts +42 -42
- package/lib/esm/appui-react/backstage/BackstageItem.js +31 -31
- package/lib/esm/appui-react/backstage/BackstageItem.js.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageItemProps.d.ts +48 -48
- package/lib/esm/appui-react/backstage/BackstageItemProps.js +17 -17
- package/lib/esm/appui-react/backstage/BackstageItemProps.js.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageItemUtilities.d.ts +18 -18
- package/lib/esm/appui-react/backstage/BackstageItemUtilities.js +54 -54
- package/lib/esm/appui-react/backstage/BackstageItemUtilities.js.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageManager.d.ts +29 -29
- package/lib/esm/appui-react/backstage/BackstageManager.js +64 -64
- package/lib/esm/appui-react/backstage/BackstageManager.js.map +1 -1
- package/lib/esm/appui-react/backstage/CommandLaunch.d.ts +31 -31
- package/lib/esm/appui-react/backstage/CommandLaunch.js +82 -82
- package/lib/esm/appui-react/backstage/CommandLaunch.js.map +1 -1
- package/lib/esm/appui-react/backstage/FrontstageLaunch.d.ts +33 -33
- package/lib/esm/appui-react/backstage/FrontstageLaunch.js +87 -87
- package/lib/esm/appui-react/backstage/FrontstageLaunch.js.map +1 -1
- package/lib/esm/appui-react/backstage/InternalBackstageManager.d.ts +22 -22
- package/lib/esm/appui-react/backstage/InternalBackstageManager.js +53 -53
- package/lib/esm/appui-react/backstage/InternalBackstageManager.js.map +1 -1
- package/lib/esm/appui-react/backstage/Separator.d.ts +15 -15
- package/lib/esm/appui-react/backstage/Separator.js +23 -23
- package/lib/esm/appui-react/backstage/Separator.js.map +1 -1
- package/lib/esm/appui-react/backstage/TaskLaunch.d.ts +34 -34
- package/lib/esm/appui-react/backstage/TaskLaunch.js +96 -96
- package/lib/esm/appui-react/backstage/TaskLaunch.js.map +1 -1
- package/lib/esm/appui-react/backstage/useDefaultBackstageItems.d.ts +8 -8
- package/lib/esm/appui-react/backstage/useDefaultBackstageItems.js +32 -32
- package/lib/esm/appui-react/backstage/useDefaultBackstageItems.js.map +1 -1
- package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts +8 -8
- package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.js +43 -43
- package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.js.map +1 -1
- package/lib/esm/appui-react/childwindow/ChildWindowManager.d.ts +72 -72
- package/lib/esm/appui-react/childwindow/ChildWindowManager.js +99 -99
- package/lib/esm/appui-react/childwindow/ChildWindowManager.js.map +1 -1
- package/lib/esm/appui-react/childwindow/CopyStyles.d.ts +7 -7
- package/lib/esm/appui-react/childwindow/CopyStyles.js +38 -38
- package/lib/esm/appui-react/childwindow/CopyStyles.js.map +1 -1
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts +48 -48
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js +201 -201
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.scss +14 -14
- package/lib/esm/appui-react/childwindow/PopoutWidget.d.ts +15 -15
- package/lib/esm/appui-react/childwindow/PopoutWidget.js +15 -15
- package/lib/esm/appui-react/childwindow/PopoutWidget.js.map +1 -1
- package/lib/esm/appui-react/childwindow/PopoutWidget.scss +10 -10
- package/lib/esm/appui-react/configurableui/ActivityTracker.d.ts +29 -29
- package/lib/esm/appui-react/configurableui/ActivityTracker.js +67 -67
- package/lib/esm/appui-react/configurableui/ActivityTracker.js.map +1 -1
- package/lib/esm/appui-react/configurableui/ConfigurableUiContent.d.ts +21 -21
- package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js +58 -58
- package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
- package/lib/esm/appui-react/configurableui/ConfigurableUiControl.d.ts +95 -95
- package/lib/esm/appui-react/configurableui/ConfigurableUiControl.js +89 -89
- package/lib/esm/appui-react/configurableui/ConfigurableUiControl.js.map +1 -1
- package/lib/esm/appui-react/configurableui/ConfigurableUiManager.d.ts +85 -85
- package/lib/esm/appui-react/configurableui/ConfigurableUiManager.js +114 -114
- package/lib/esm/appui-react/configurableui/ConfigurableUiManager.js.map +1 -1
- package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.d.ts +81 -81
- package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js +148 -148
- package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
- package/lib/esm/appui-react/configurableui/TimeTracker.d.ts +33 -33
- package/lib/esm/appui-react/configurableui/TimeTracker.js +77 -77
- package/lib/esm/appui-react/configurableui/TimeTracker.js.map +1 -1
- package/lib/esm/appui-react/configurableui/configurableui.scss +79 -79
- package/lib/esm/appui-react/configurableui/state.d.ts +68 -68
- package/lib/esm/appui-react/configurableui/state.js +116 -116
- package/lib/esm/appui-react/configurableui/state.js.map +1 -1
- package/lib/esm/appui-react/content/ContentControl.d.ts +64 -64
- package/lib/esm/appui-react/content/ContentControl.js +72 -72
- package/lib/esm/appui-react/content/ContentControl.js.map +1 -1
- package/lib/esm/appui-react/content/ContentGroup.d.ts +100 -100
- package/lib/esm/appui-react/content/ContentGroup.js +169 -169
- package/lib/esm/appui-react/content/ContentGroup.js.map +1 -1
- package/lib/esm/appui-react/content/ContentLayout.d.ts +94 -94
- package/lib/esm/appui-react/content/ContentLayout.js +365 -365
- package/lib/esm/appui-react/content/ContentLayout.js.map +1 -1
- package/lib/esm/appui-react/content/ContentLayout.scss +99 -99
- package/lib/esm/appui-react/content/ContentLayoutManager.d.ts +47 -47
- package/lib/esm/appui-react/content/ContentLayoutManager.js +64 -64
- package/lib/esm/appui-react/content/ContentLayoutManager.js.map +1 -1
- package/lib/esm/appui-react/content/ContentViewManager.d.ts +62 -62
- package/lib/esm/appui-react/content/ContentViewManager.js +91 -91
- package/lib/esm/appui-react/content/ContentViewManager.js.map +1 -1
- package/lib/esm/appui-react/content/DefaultViewOverlay.d.ts +22 -22
- package/lib/esm/appui-react/content/DefaultViewOverlay.js +46 -46
- package/lib/esm/appui-react/content/DefaultViewOverlay.js.map +1 -1
- package/lib/esm/appui-react/content/DefaultViewOverlay.scss +43 -43
- package/lib/esm/appui-react/content/FloatingViewportContent.css +9 -9
- package/lib/esm/appui-react/content/FloatingViewportContent.d.ts +27 -27
- package/lib/esm/appui-react/content/FloatingViewportContent.js +78 -78
- package/lib/esm/appui-react/content/FloatingViewportContent.js.map +1 -1
- package/lib/esm/appui-react/content/IModelViewport.d.ts +80 -80
- package/lib/esm/appui-react/content/IModelViewport.js +149 -149
- package/lib/esm/appui-react/content/IModelViewport.js.map +1 -1
- package/lib/esm/appui-react/content/InternalContentLayoutManager.d.ts +47 -47
- package/lib/esm/appui-react/content/InternalContentLayoutManager.js +91 -91
- package/lib/esm/appui-react/content/InternalContentLayoutManager.js.map +1 -1
- package/lib/esm/appui-react/content/InternalContentViewManager.d.ts +79 -79
- package/lib/esm/appui-react/content/InternalContentViewManager.js +205 -205
- package/lib/esm/appui-react/content/InternalContentViewManager.js.map +1 -1
- package/lib/esm/appui-react/content/StageContentLayout.d.ts +35 -35
- package/lib/esm/appui-react/content/StageContentLayout.js +62 -62
- package/lib/esm/appui-react/content/StageContentLayout.js.map +1 -1
- package/lib/esm/appui-react/content/ViewStateHelper.d.ts +25 -25
- package/lib/esm/appui-react/content/ViewStateHelper.js +46 -46
- package/lib/esm/appui-react/content/ViewStateHelper.js.map +1 -1
- package/lib/esm/appui-react/content/ViewportContentControl.d.ts +61 -61
- package/lib/esm/appui-react/content/ViewportContentControl.js +126 -126
- package/lib/esm/appui-react/content/ViewportContentControl.js.map +1 -1
- package/lib/esm/appui-react/content/split-pane/Pane.d.ts +20 -20
- package/lib/esm/appui-react/content/split-pane/Pane.js +38 -38
- package/lib/esm/appui-react/content/split-pane/Pane.js.map +1 -1
- package/lib/esm/appui-react/content/split-pane/Resizer.d.ts +22 -22
- package/lib/esm/appui-react/content/split-pane/Resizer.js +34 -34
- package/lib/esm/appui-react/content/split-pane/Resizer.js.map +1 -1
- package/lib/esm/appui-react/content/split-pane/SplitPane.d.ts +69 -69
- package/lib/esm/appui-react/content/split-pane/SplitPane.js +238 -238
- package/lib/esm/appui-react/content/split-pane/SplitPane.js.map +1 -1
- package/lib/esm/appui-react/cursor/CursorInformation.d.ts +68 -68
- package/lib/esm/appui-react/cursor/CursorInformation.js +139 -139
- package/lib/esm/appui-react/cursor/CursorInformation.js.map +1 -1
- package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.d.ts +32 -32
- package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js +72 -72
- package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.d.ts +58 -58
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js +145 -145
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.scss +34 -34
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts +114 -114
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.js +318 -318
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
- package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.d.ts +22 -22
- package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.js +59 -59
- package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.js.map +1 -1
- package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.scss +30 -30
- package/lib/esm/appui-react/dialog/ContentDialog.d.ts +23 -23
- package/lib/esm/appui-react/dialog/ContentDialog.js +65 -65
- package/lib/esm/appui-react/dialog/ContentDialog.js.map +1 -1
- package/lib/esm/appui-react/dialog/ContentDialog.scss +25 -25
- package/lib/esm/appui-react/dialog/ContentDialogManager.d.ts +51 -51
- package/lib/esm/appui-react/dialog/ContentDialogManager.js +80 -80
- package/lib/esm/appui-react/dialog/ContentDialogManager.js.map +1 -1
- package/lib/esm/appui-react/dialog/DialogManagerBase.d.ts +84 -84
- package/lib/esm/appui-react/dialog/DialogManagerBase.js +135 -135
- package/lib/esm/appui-react/dialog/DialogManagerBase.js.map +1 -1
- package/lib/esm/appui-react/dialog/InternalContentDialogManager.d.ts +47 -47
- package/lib/esm/appui-react/dialog/InternalContentDialogManager.js +127 -127
- package/lib/esm/appui-react/dialog/InternalContentDialogManager.js.map +1 -1
- package/lib/esm/appui-react/dialog/InternalModalDialogManager.d.ts +35 -35
- package/lib/esm/appui-react/dialog/InternalModalDialogManager.js +50 -50
- package/lib/esm/appui-react/dialog/InternalModalDialogManager.js.map +1 -1
- package/lib/esm/appui-react/dialog/InternalModelessDialogManager.d.ts +45 -45
- package/lib/esm/appui-react/dialog/InternalModelessDialogManager.js +115 -115
- package/lib/esm/appui-react/dialog/InternalModelessDialogManager.js.map +1 -1
- package/lib/esm/appui-react/dialog/ModalDialogManager.d.ts +42 -42
- package/lib/esm/appui-react/dialog/ModalDialogManager.js +63 -63
- package/lib/esm/appui-react/dialog/ModalDialogManager.js.map +1 -1
- package/lib/esm/appui-react/dialog/ModelessDialog.d.ts +21 -21
- package/lib/esm/appui-react/dialog/ModelessDialog.js +26 -26
- package/lib/esm/appui-react/dialog/ModelessDialog.js.map +1 -1
- package/lib/esm/appui-react/dialog/ModelessDialogManager.d.ts +51 -51
- package/lib/esm/appui-react/dialog/ModelessDialogManager.js +80 -80
- package/lib/esm/appui-react/dialog/ModelessDialogManager.js.map +1 -1
- package/lib/esm/appui-react/dialog/StandardMessageBox.d.ts +40 -40
- package/lib/esm/appui-react/dialog/StandardMessageBox.js +89 -89
- package/lib/esm/appui-react/dialog/StandardMessageBox.js.map +1 -1
- package/lib/esm/appui-react/dialog/UiDataProvidedDialog.d.ts +38 -38
- package/lib/esm/appui-react/dialog/UiDataProvidedDialog.js +77 -77
- package/lib/esm/appui-react/dialog/UiDataProvidedDialog.js.map +1 -1
- package/lib/esm/appui-react/dragdrop/ZoneTargets.d.ts +21 -21
- package/lib/esm/appui-react/dragdrop/ZoneTargets.js +28 -28
- package/lib/esm/appui-react/dragdrop/ZoneTargets.js.map +1 -1
- package/lib/esm/appui-react/feedback/ElementTooltip.d.ts +61 -61
- package/lib/esm/appui-react/feedback/ElementTooltip.js +127 -127
- package/lib/esm/appui-react/feedback/ElementTooltip.js.map +1 -1
- package/lib/esm/appui-react/feedback/ValidationTextbox.d.ts +71 -71
- package/lib/esm/appui-react/feedback/ValidationTextbox.js +110 -110
- package/lib/esm/appui-react/feedback/ValidationTextbox.js.map +1 -1
- package/lib/esm/appui-react/feedback/ValidationTextbox.scss +53 -53
- package/lib/esm/appui-react/framework/FrameworkBackstage.d.ts +43 -43
- package/lib/esm/appui-react/framework/FrameworkBackstage.js +8 -8
- package/lib/esm/appui-react/framework/FrameworkBackstage.js.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkChildWindows.d.ts +58 -58
- package/lib/esm/appui-react/framework/FrameworkChildWindows.js +8 -8
- package/lib/esm/appui-react/framework/FrameworkChildWindows.js.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkContent.d.ts +154 -154
- package/lib/esm/appui-react/framework/FrameworkContent.js +24 -24
- package/lib/esm/appui-react/framework/FrameworkContent.js.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkControls.d.ts +42 -42
- package/lib/esm/appui-react/framework/FrameworkControls.js +1 -1
- package/lib/esm/appui-react/framework/FrameworkControls.js.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkDialogs.d.ts +78 -78
- package/lib/esm/appui-react/framework/FrameworkDialogs.js +18 -18
- package/lib/esm/appui-react/framework/FrameworkDialogs.js.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkFrontstages.d.ts +285 -285
- package/lib/esm/appui-react/framework/FrameworkFrontstages.js +52 -52
- package/lib/esm/appui-react/framework/FrameworkFrontstages.js.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.d.ts +99 -99
- package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.js +1 -1
- package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.js.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkToolSettings.d.ts +51 -51
- package/lib/esm/appui-react/framework/FrameworkToolSettings.js +13 -13
- package/lib/esm/appui-react/framework/FrameworkToolSettings.js.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkVisibility.d.ts +36 -36
- package/lib/esm/appui-react/framework/FrameworkVisibility.js +1 -1
- package/lib/esm/appui-react/framework/FrameworkVisibility.js.map +1 -1
- package/lib/esm/appui-react/frontstage/Frontstage.d.ts +158 -158
- package/lib/esm/appui-react/frontstage/Frontstage.js +460 -460
- package/lib/esm/appui-react/frontstage/Frontstage.js.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageComposer.d.ts +146 -146
- package/lib/esm/appui-react/frontstage/FrontstageComposer.js +661 -661
- package/lib/esm/appui-react/frontstage/FrontstageComposer.js.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageConfig.d.ts +39 -39
- package/lib/esm/appui-react/frontstage/FrontstageConfig.js +8 -8
- package/lib/esm/appui-react/frontstage/FrontstageConfig.js.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts +258 -258
- package/lib/esm/appui-react/frontstage/FrontstageDef.js +1032 -1032
- package/lib/esm/appui-react/frontstage/FrontstageDef.js.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageManager.d.ts +205 -205
- package/lib/esm/appui-react/frontstage/FrontstageManager.js +269 -269
- package/lib/esm/appui-react/frontstage/FrontstageManager.js.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageProvider.d.ts +21 -21
- package/lib/esm/appui-react/frontstage/FrontstageProvider.js +12 -12
- package/lib/esm/appui-react/frontstage/FrontstageProvider.js.map +1 -1
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts +239 -239
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js +533 -533
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
- package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts +32 -32
- package/lib/esm/appui-react/frontstage/ModalFrontstage.js +39 -39
- package/lib/esm/appui-react/frontstage/ModalFrontstage.js.map +1 -1
- package/lib/esm/appui-react/frontstage/ModalFrontstage.scss +86 -86
- package/lib/esm/appui-react/frontstage/ModalSettingsStage.d.ts +21 -21
- package/lib/esm/appui-react/frontstage/ModalSettingsStage.js +83 -83
- package/lib/esm/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
- package/lib/esm/appui-react/frontstage/ModalSettingsStage.scss +13 -13
- package/lib/esm/appui-react/frontstage/NestedFrontstage.d.ts +12 -12
- package/lib/esm/appui-react/frontstage/NestedFrontstage.js +26 -26
- package/lib/esm/appui-react/frontstage/NestedFrontstage.js.map +1 -1
- package/lib/esm/appui-react/frontstage/StageUsage.d.ts +14 -14
- package/lib/esm/appui-react/frontstage/StageUsage.js +13 -13
- package/lib/esm/appui-react/frontstage/StageUsage.js.map +1 -1
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts +76 -76
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js +57 -57
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
- package/lib/esm/appui-react/hooks/useActiveIModelConnection.d.ts +10 -10
- package/lib/esm/appui-react/hooks/useActiveIModelConnection.js +33 -33
- package/lib/esm/appui-react/hooks/useActiveIModelConnection.js.map +1 -1
- package/lib/esm/appui-react/hooks/useActiveStageId.d.ts +7 -7
- package/lib/esm/appui-react/hooks/useActiveStageId.js +25 -25
- package/lib/esm/appui-react/hooks/useActiveStageId.js.map +1 -1
- package/lib/esm/appui-react/hooks/useActiveViewport.d.ts +8 -8
- package/lib/esm/appui-react/hooks/useActiveViewport.js +42 -42
- package/lib/esm/appui-react/hooks/useActiveViewport.js.map +1 -1
- package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts +9 -9
- package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.js +67 -67
- package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.js.map +1 -1
- package/lib/esm/appui-react/hooks/useAvailableUiItemsProviders.d.ts +8 -8
- package/lib/esm/appui-react/hooks/useAvailableUiItemsProviders.js +26 -26
- package/lib/esm/appui-react/hooks/useAvailableUiItemsProviders.js.map +1 -1
- package/lib/esm/appui-react/hooks/useEscapeSetFocusToHome.d.ts +12 -12
- package/lib/esm/appui-react/hooks/useEscapeSetFocusToHome.js +25 -25
- package/lib/esm/appui-react/hooks/useEscapeSetFocusToHome.js.map +1 -1
- package/lib/esm/appui-react/hooks/useFrameworkVersion.d.ts +37 -37
- package/lib/esm/appui-react/hooks/useFrameworkVersion.js +50 -50
- package/lib/esm/appui-react/hooks/useFrameworkVersion.js.map +1 -1
- package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.d.ts +9 -9
- package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.js +67 -67
- package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.js.map +1 -1
- package/lib/esm/appui-react/hooks/useSolarDataProvider.d.ts +9 -9
- package/lib/esm/appui-react/hooks/useSolarDataProvider.js +61 -61
- package/lib/esm/appui-react/hooks/useSolarDataProvider.js.map +1 -1
- package/lib/esm/appui-react/hooks/useUiVisibility.d.ts +5 -5
- package/lib/esm/appui-react/hooks/useUiVisibility.js +22 -22
- package/lib/esm/appui-react/hooks/useUiVisibility.js.map +1 -1
- package/lib/esm/appui-react/imodel-components/Common.d.ts +25 -25
- package/lib/esm/appui-react/imodel-components/Common.js +21 -21
- package/lib/esm/appui-react/imodel-components/Common.js.map +1 -1
- package/lib/esm/appui-react/imodel-components/VisibilityTreeBase.scss +53 -53
- package/lib/esm/appui-react/imodel-components/VisibilityTreeEventHandler.d.ts +71 -71
- package/lib/esm/appui-react/imodel-components/VisibilityTreeEventHandler.js +144 -144
- package/lib/esm/appui-react/imodel-components/VisibilityTreeEventHandler.js.map +1 -1
- package/lib/esm/appui-react/imodel-components/VisibilityTreeRenderer.d.ts +51 -51
- package/lib/esm/appui-react/imodel-components/VisibilityTreeRenderer.js +62 -62
- package/lib/esm/appui-react/imodel-components/VisibilityTreeRenderer.js.map +1 -1
- package/lib/esm/appui-react/imodel-components/category-tree/Categories.json +102 -102
- package/lib/esm/appui-react/imodel-components/category-tree/CategoriesTree.d.ts +71 -71
- package/lib/esm/appui-react/imodel-components/category-tree/CategoriesTree.js +102 -102
- package/lib/esm/appui-react/imodel-components/category-tree/CategoriesTree.js.map +1 -1
- package/lib/esm/appui-react/imodel-components/category-tree/CategoriesTree.scss +9 -9
- package/lib/esm/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.d.ts +63 -63
- package/lib/esm/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.js +194 -194
- package/lib/esm/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.js.map +1 -1
- package/lib/esm/appui-react/imodel-components/models-tree/Hierarchy.GroupedByClass.json +392 -392
- package/lib/esm/appui-react/imodel-components/models-tree/Hierarchy.json +387 -387
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsTree.d.ts +84 -84
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsTree.js +125 -125
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsTree.js.map +1 -1
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsTree.scss +9 -9
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsTreeSearch.json +239 -239
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.d.ts +103 -103
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.js +476 -476
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.js.map +1 -1
- package/lib/esm/appui-react/imodel-components/models-tree/Utils.d.ts +9 -9
- package/lib/esm/appui-react/imodel-components/models-tree/Utils.js +18 -18
- package/lib/esm/appui-react/imodel-components/models-tree/Utils.js.map +1 -1
- package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialBreakdown.GroupedByClass.json +78 -78
- package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialBreakdown.json +78 -78
- package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.d.ts +35 -35
- package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.js +39 -39
- package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.js.map +1 -1
- package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.scss +9 -9
- package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts +39 -39
- package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.js +107 -107
- package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.js.map +1 -1
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.d.ts +96 -96
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.js +224 -224
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.js.map +1 -1
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts +38 -38
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.js +90 -90
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
- package/lib/esm/appui-react/keyinbrowser/KeyinBrowser.d.ts +79 -79
- package/lib/esm/appui-react/keyinbrowser/KeyinBrowser.js +234 -234
- package/lib/esm/appui-react/keyinbrowser/KeyinBrowser.js.map +1 -1
- package/lib/esm/appui-react/keyinbrowser/KeyinBrowser.scss +11 -11
- package/lib/esm/appui-react/messages/ActivityMessage.d.ts +44 -44
- package/lib/esm/appui-react/messages/ActivityMessage.js +85 -85
- package/lib/esm/appui-react/messages/ActivityMessage.js.map +1 -1
- package/lib/esm/appui-react/messages/ActivityMessagePopup.d.ts +19 -19
- package/lib/esm/appui-react/messages/ActivityMessagePopup.js +39 -39
- package/lib/esm/appui-react/messages/ActivityMessagePopup.js.map +1 -1
- package/lib/esm/appui-react/messages/ActivityMessagePopup.scss +14 -14
- package/lib/esm/appui-react/messages/AppNotificationManager.d.ts +74 -74
- package/lib/esm/appui-react/messages/AppNotificationManager.js +121 -121
- package/lib/esm/appui-react/messages/AppNotificationManager.js.map +1 -1
- package/lib/esm/appui-react/messages/HollowIcon.d.ts +9 -9
- package/lib/esm/appui-react/messages/HollowIcon.js +16 -16
- package/lib/esm/appui-react/messages/HollowIcon.js.map +1 -1
- package/lib/esm/appui-react/messages/InputField.d.ts +37 -37
- package/lib/esm/appui-react/messages/InputField.js +87 -87
- package/lib/esm/appui-react/messages/InputField.js.map +1 -1
- package/lib/esm/appui-react/messages/InputField.scss +82 -82
- package/lib/esm/appui-react/messages/MessageLabel.d.ts +12 -12
- package/lib/esm/appui-react/messages/MessageLabel.js +17 -17
- package/lib/esm/appui-react/messages/MessageLabel.js.map +1 -1
- package/lib/esm/appui-react/messages/MessageManager.d.ts +244 -244
- package/lib/esm/appui-react/messages/MessageManager.js +428 -428
- package/lib/esm/appui-react/messages/MessageManager.js.map +1 -1
- package/lib/esm/appui-react/messages/MessageSpan.d.ts +14 -14
- package/lib/esm/appui-react/messages/MessageSpan.js +17 -17
- package/lib/esm/appui-react/messages/MessageSpan.js.map +1 -1
- package/lib/esm/appui-react/messages/Pointer.d.ts +69 -69
- package/lib/esm/appui-react/messages/Pointer.js +169 -169
- package/lib/esm/appui-react/messages/Pointer.js.map +1 -1
- package/lib/esm/appui-react/messages/Pointer.scss +42 -42
- package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.d.ts +62 -62
- package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.js +63 -63
- package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.js.map +1 -1
- package/lib/esm/appui-react/messages/StatusMessageManager.d.ts +24 -24
- package/lib/esm/appui-react/messages/StatusMessageManager.js +51 -51
- package/lib/esm/appui-react/messages/StatusMessageManager.js.map +1 -1
- package/lib/esm/appui-react/messages/StatusMessageRenderer.d.ts +21 -21
- package/lib/esm/appui-react/messages/StatusMessageRenderer.js +71 -71
- package/lib/esm/appui-react/messages/StatusMessageRenderer.js.map +1 -1
- package/lib/esm/appui-react/messages/StatusMessageRenderer.scss +27 -27
- package/lib/esm/appui-react/messages/StatusMessagesContainer.d.ts +24 -24
- package/lib/esm/appui-react/messages/StatusMessagesContainer.js +63 -63
- package/lib/esm/appui-react/messages/StatusMessagesContainer.js.map +1 -1
- package/lib/esm/appui-react/messages/StatusMessagesContainer.scss +52 -52
- package/lib/esm/appui-react/messages/StickyMessage.d.ts +22 -22
- package/lib/esm/appui-react/messages/StickyMessage.js +34 -34
- package/lib/esm/appui-react/messages/StickyMessage.js.map +1 -1
- package/lib/esm/appui-react/messages/StickyMessage.scss +22 -22
- package/lib/esm/appui-react/messages/ToastMessage.d.ts +22 -22
- package/lib/esm/appui-react/messages/ToastMessage.js +26 -26
- package/lib/esm/appui-react/messages/ToastMessage.js.map +1 -1
- package/lib/esm/appui-react/messages/getToastCategory.d.ts +6 -6
- package/lib/esm/appui-react/messages/getToastCategory.js +23 -23
- package/lib/esm/appui-react/messages/getToastCategory.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.d.ts +13 -13
- package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.js +21 -21
- package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.d.ts +13 -13
- package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.js +21 -21
- package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/NavigationAidControl.d.ts +33 -33
- package/lib/esm/appui-react/navigationaids/NavigationAidControl.js +29 -29
- package/lib/esm/appui-react/navigationaids/NavigationAidControl.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/SheetNavigationAid.d.ts +71 -71
- package/lib/esm/appui-react/navigationaids/SheetNavigationAid.js +178 -178
- package/lib/esm/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/SheetNavigationAid.scss +82 -82
- package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.d.ts +117 -117
- package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.js +142 -142
- package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.scss +72 -72
- package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.d.ts +44 -44
- package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js +100 -100
- package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.scss +13 -13
- package/lib/esm/appui-react/pickers/ListPicker.d.ts +145 -145
- package/lib/esm/appui-react/pickers/ListPicker.js +321 -321
- package/lib/esm/appui-react/pickers/ListPicker.js.map +1 -1
- package/lib/esm/appui-react/pickers/ListPicker.scss +307 -307
- package/lib/esm/appui-react/pickers/ViewSelector.d.ts +93 -93
- package/lib/esm/appui-react/pickers/ViewSelector.js +262 -262
- package/lib/esm/appui-react/pickers/ViewSelector.js.map +1 -1
- package/lib/esm/appui-react/popup/CardPopup.d.ts +48 -48
- package/lib/esm/appui-react/popup/CardPopup.js +84 -84
- package/lib/esm/appui-react/popup/CardPopup.js.map +1 -1
- package/lib/esm/appui-react/popup/CardPopup.scss +25 -25
- package/lib/esm/appui-react/popup/HTMLElementPopup.d.ts +30 -30
- package/lib/esm/appui-react/popup/HTMLElementPopup.js +38 -38
- package/lib/esm/appui-react/popup/HTMLElementPopup.js.map +1 -1
- package/lib/esm/appui-react/popup/InputEditorPopup.d.ts +38 -38
- package/lib/esm/appui-react/popup/InputEditorPopup.js +52 -52
- package/lib/esm/appui-react/popup/InputEditorPopup.js.map +1 -1
- package/lib/esm/appui-react/popup/KeyinPalettePanel.d.ts +19 -19
- package/lib/esm/appui-react/popup/KeyinPalettePanel.js +248 -248
- package/lib/esm/appui-react/popup/KeyinPalettePanel.js.map +1 -1
- package/lib/esm/appui-react/popup/KeyinPalettePanel.scss +30 -30
- package/lib/esm/appui-react/popup/KeyinPalettePopup.d.ts +19 -19
- package/lib/esm/appui-react/popup/KeyinPalettePopup.js +43 -43
- package/lib/esm/appui-react/popup/KeyinPalettePopup.js.map +1 -1
- package/lib/esm/appui-react/popup/PopupManager.d.ts +105 -105
- package/lib/esm/appui-react/popup/PopupManager.js +225 -225
- package/lib/esm/appui-react/popup/PopupManager.js.map +1 -1
- package/lib/esm/appui-react/popup/PositionPopup.d.ts +26 -26
- package/lib/esm/appui-react/popup/PositionPopup.js +43 -43
- package/lib/esm/appui-react/popup/PositionPopup.js.map +1 -1
- package/lib/esm/appui-react/popup/PositionPopup.scss +28 -28
- package/lib/esm/appui-react/popup/ToolSettingsPopup.d.ts +33 -33
- package/lib/esm/appui-react/popup/ToolSettingsPopup.js +52 -52
- package/lib/esm/appui-react/popup/ToolSettingsPopup.js.map +1 -1
- package/lib/esm/appui-react/popup/ToolbarPopup.d.ts +34 -34
- package/lib/esm/appui-react/popup/ToolbarPopup.js +53 -53
- package/lib/esm/appui-react/popup/ToolbarPopup.js.map +1 -1
- package/lib/esm/appui-react/redux/FrameworkState.d.ts +22 -22
- package/lib/esm/appui-react/redux/FrameworkState.js +17 -17
- package/lib/esm/appui-react/redux/FrameworkState.js.map +1 -1
- package/lib/esm/appui-react/redux/ReducerRegistry.d.ts +36 -36
- package/lib/esm/appui-react/redux/ReducerRegistry.js +56 -56
- package/lib/esm/appui-react/redux/ReducerRegistry.js.map +1 -1
- package/lib/esm/appui-react/redux/SessionState.d.ts +103 -103
- package/lib/esm/appui-react/redux/SessionState.js +126 -126
- package/lib/esm/appui-react/redux/SessionState.js.map +1 -1
- package/lib/esm/appui-react/redux/StateManager.d.ts +43 -43
- package/lib/esm/appui-react/redux/StateManager.js +93 -93
- package/lib/esm/appui-react/redux/StateManager.js.map +1 -1
- package/lib/esm/appui-react/redux/connectIModel.d.ts +26 -26
- package/lib/esm/appui-react/redux/connectIModel.js +89 -89
- package/lib/esm/appui-react/redux/connectIModel.js.map +1 -1
- package/lib/esm/appui-react/redux/redux-ts.d.ts +197 -197
- package/lib/esm/appui-react/redux/redux-ts.js +32 -32
- package/lib/esm/appui-react/redux/redux-ts.js.map +1 -1
- package/lib/esm/appui-react/safearea/SafeAreaContext.d.ts +72 -72
- package/lib/esm/appui-react/safearea/SafeAreaContext.js +29 -29
- package/lib/esm/appui-react/safearea/SafeAreaContext.js.map +1 -1
- package/lib/esm/appui-react/safearea/SafeAreaInsets.d.ts +12 -12
- package/lib/esm/appui-react/safearea/SafeAreaInsets.js +12 -12
- package/lib/esm/appui-react/safearea/SafeAreaInsets.js.map +1 -1
- package/lib/esm/appui-react/selection/ClearEmphasisStatusField.d.ts +17 -17
- package/lib/esm/appui-react/selection/ClearEmphasisStatusField.js +52 -52
- package/lib/esm/appui-react/selection/ClearEmphasisStatusField.js.map +1 -1
- package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.d.ts +306 -306
- package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.js +692 -692
- package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
- package/lib/esm/appui-react/selection/SelectionContextItemDef.d.ts +54 -54
- package/lib/esm/appui-react/selection/SelectionContextItemDef.js +199 -199
- package/lib/esm/appui-react/selection/SelectionContextItemDef.js.map +1 -1
- package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.d.ts +26 -26
- package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js +196 -196
- package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
- package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.scss +125 -125
- package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts +17 -17
- package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.js +49 -49
- package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.js.map +1 -1
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts +39 -39
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.js +187 -187
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.scss +66 -66
- package/lib/esm/appui-react/shared/ActionButtonItemDef.d.ts +35 -35
- package/lib/esm/appui-react/shared/ActionButtonItemDef.js +63 -63
- package/lib/esm/appui-react/shared/ActionButtonItemDef.js.map +1 -1
- package/lib/esm/appui-react/shared/AnyItemDef.d.ts +11 -11
- package/lib/esm/appui-react/shared/AnyItemDef.js +8 -8
- package/lib/esm/appui-react/shared/AnyItemDef.js.map +1 -1
- package/lib/esm/appui-react/shared/AnyToolbarItemDef.d.ts +9 -9
- package/lib/esm/appui-react/shared/AnyToolbarItemDef.js +8 -8
- package/lib/esm/appui-react/shared/AnyToolbarItemDef.js.map +1 -1
- package/lib/esm/appui-react/shared/CommandItemDef.d.ts +16 -16
- package/lib/esm/appui-react/shared/CommandItemDef.js +31 -31
- package/lib/esm/appui-react/shared/CommandItemDef.js.map +1 -1
- package/lib/esm/appui-react/shared/CustomItemDef.d.ts +19 -19
- package/lib/esm/appui-react/shared/CustomItemDef.js +46 -46
- package/lib/esm/appui-react/shared/CustomItemDef.js.map +1 -1
- package/lib/esm/appui-react/shared/CustomItemProps.d.ts +13 -13
- package/lib/esm/appui-react/shared/CustomItemProps.js +8 -8
- package/lib/esm/appui-react/shared/CustomItemProps.js.map +1 -1
- package/lib/esm/appui-react/shared/GroupItemProps.d.ts +22 -22
- package/lib/esm/appui-react/shared/GroupItemProps.js +8 -8
- package/lib/esm/appui-react/shared/GroupItemProps.js.map +1 -1
- package/lib/esm/appui-react/shared/ItemDefBase.d.ts +66 -66
- package/lib/esm/appui-react/shared/ItemDefBase.js +88 -88
- package/lib/esm/appui-react/shared/ItemDefBase.js.map +1 -1
- package/lib/esm/appui-react/shared/ItemMap.d.ts +21 -21
- package/lib/esm/appui-react/shared/ItemMap.js +46 -46
- package/lib/esm/appui-react/shared/ItemMap.js.map +1 -1
- package/lib/esm/appui-react/shared/ItemProps.d.ts +65 -65
- package/lib/esm/appui-react/shared/ItemProps.js +8 -8
- package/lib/esm/appui-react/shared/ItemProps.js.map +1 -1
- package/lib/esm/appui-react/shared/MenuItem.d.ts +36 -36
- package/lib/esm/appui-react/shared/MenuItem.js +107 -107
- package/lib/esm/appui-react/shared/MenuItem.js.map +1 -1
- package/lib/esm/appui-react/shared/SelectionScope.d.ts +13 -13
- package/lib/esm/appui-react/shared/SelectionScope.js +18 -18
- package/lib/esm/appui-react/shared/SelectionScope.js.map +1 -1
- package/lib/esm/appui-react/shared/ToolItemDef.d.ts +17 -17
- package/lib/esm/appui-react/shared/ToolItemDef.js +35 -35
- package/lib/esm/appui-react/shared/ToolItemDef.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/FrameworkStagePanel.d.ts +61 -61
- package/lib/esm/appui-react/stagepanels/FrameworkStagePanel.js +116 -116
- package/lib/esm/appui-react/stagepanels/FrameworkStagePanel.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/FrameworkStagePanel.scss +41 -41
- package/lib/esm/appui-react/stagepanels/StagePanel.d.ts +141 -141
- package/lib/esm/appui-react/stagepanels/StagePanel.js +148 -148
- package/lib/esm/appui-react/stagepanels/StagePanel.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts +38 -38
- package/lib/esm/appui-react/stagepanels/StagePanelConfig.js +9 -9
- package/lib/esm/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts +283 -283
- package/lib/esm/appui-react/stagepanels/StagePanelDef.js +267 -267
- package/lib/esm/appui-react/stagepanels/StagePanelDef.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelHeader.d.ts +27 -27
- package/lib/esm/appui-react/stagepanels/StagePanelHeader.js +41 -41
- package/lib/esm/appui-react/stagepanels/StagePanelHeader.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelHeader.scss +25 -25
- package/lib/esm/appui-react/stagepanels/StagePanelLocation.d.ts +12 -12
- package/lib/esm/appui-react/stagepanels/StagePanelLocation.js +12 -12
- package/lib/esm/appui-react/stagepanels/StagePanelLocation.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelSection.d.ts +12 -12
- package/lib/esm/appui-react/stagepanels/StagePanelSection.js +12 -12
- package/lib/esm/appui-react/stagepanels/StagePanelSection.js.map +1 -1
- package/lib/esm/appui-react/statusbar/Indicator.d.ts +25 -25
- package/lib/esm/appui-react/statusbar/Indicator.js +33 -33
- package/lib/esm/appui-react/statusbar/Indicator.js.map +1 -1
- package/lib/esm/appui-react/statusbar/Indicator.scss +110 -110
- package/lib/esm/appui-react/statusbar/LabelIndicator.d.ts +23 -23
- package/lib/esm/appui-react/statusbar/LabelIndicator.js +25 -25
- package/lib/esm/appui-react/statusbar/LabelIndicator.js.map +1 -1
- package/lib/esm/appui-react/statusbar/LabelIndicator.scss +43 -43
- package/lib/esm/appui-react/statusbar/Overflow.d.ts +19 -19
- package/lib/esm/appui-react/statusbar/Overflow.js +27 -27
- package/lib/esm/appui-react/statusbar/Overflow.js.map +1 -1
- package/lib/esm/appui-react/statusbar/Overflow.scss +27 -27
- package/lib/esm/appui-react/statusbar/OverflowPanel.d.ts +20 -20
- package/lib/esm/appui-react/statusbar/OverflowPanel.js +18 -18
- package/lib/esm/appui-react/statusbar/OverflowPanel.js.map +1 -1
- package/lib/esm/appui-react/statusbar/OverflowPanel.scss +22 -22
- package/lib/esm/appui-react/statusbar/Separator.d.ts +9 -9
- package/lib/esm/appui-react/statusbar/Separator.js +16 -16
- package/lib/esm/appui-react/statusbar/Separator.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBar.d.ts +78 -78
- package/lib/esm/appui-react/statusbar/StatusBar.js +170 -170
- package/lib/esm/appui-react/statusbar/StatusBar.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBar.scss +43 -43
- package/lib/esm/appui-react/statusbar/StatusBarComposer.d.ts +46 -46
- package/lib/esm/appui-react/statusbar/StatusBarComposer.js +281 -281
- package/lib/esm/appui-react/statusbar/StatusBarComposer.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarItem.d.ts +66 -66
- package/lib/esm/appui-react/statusbar/StatusBarItem.js +41 -41
- package/lib/esm/appui-react/statusbar/StatusBarItem.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.d.ts +32 -32
- package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.js +48 -48
- package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarItemsManager.d.ts +10 -10
- package/lib/esm/appui-react/statusbar/StatusBarItemsManager.js +14 -14
- package/lib/esm/appui-react/statusbar/StatusBarItemsManager.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.d.ts +39 -39
- package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.js +19 -19
- package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.js.map +1 -1
- package/lib/esm/appui-react/statusbar/dialog/Button.d.ts +20 -20
- package/lib/esm/appui-react/statusbar/dialog/Button.js +15 -15
- package/lib/esm/appui-react/statusbar/dialog/Button.js.map +1 -1
- package/lib/esm/appui-react/statusbar/dialog/Dialog.d.ts +29 -29
- package/lib/esm/appui-react/statusbar/dialog/Dialog.js +26 -26
- package/lib/esm/appui-react/statusbar/dialog/Dialog.js.map +1 -1
- package/lib/esm/appui-react/statusbar/dialog/TitleBar.d.ts +18 -18
- package/lib/esm/appui-react/statusbar/dialog/TitleBar.js +15 -15
- package/lib/esm/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
- package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.d.ts +8 -8
- package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.js +33 -33
- package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.js.map +1 -1
- package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts +8 -8
- package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.js +52 -52
- package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.js.map +1 -1
- package/lib/esm/appui-react/statusbar/withMessageCenterFieldProps.d.ts +9 -9
- package/lib/esm/appui-react/statusbar/withMessageCenterFieldProps.js +21 -21
- package/lib/esm/appui-react/statusbar/withMessageCenterFieldProps.js.map +1 -1
- package/lib/esm/appui-react/statusbar/withStatusFieldProps.d.ts +10 -10
- package/lib/esm/appui-react/statusbar/withStatusFieldProps.js +22 -22
- package/lib/esm/appui-react/statusbar/withStatusFieldProps.js.map +1 -1
- package/lib/esm/appui-react/statusfields/ActivityCenter.d.ts +27 -27
- package/lib/esm/appui-react/statusfields/ActivityCenter.js +63 -63
- package/lib/esm/appui-react/statusfields/ActivityCenter.js.map +1 -1
- package/lib/esm/appui-react/statusfields/ConditionalField.d.ts +44 -44
- package/lib/esm/appui-react/statusfields/ConditionalField.js +52 -52
- package/lib/esm/appui-react/statusfields/ConditionalField.js.map +1 -1
- package/lib/esm/appui-react/statusfields/FooterModeField.d.ts +18 -18
- package/lib/esm/appui-react/statusfields/FooterModeField.js +23 -23
- package/lib/esm/appui-react/statusfields/FooterModeField.js.map +1 -1
- package/lib/esm/appui-react/statusfields/Indicator.d.ts +43 -43
- package/lib/esm/appui-react/statusfields/Indicator.js +41 -41
- package/lib/esm/appui-react/statusfields/Indicator.js.map +1 -1
- package/lib/esm/appui-react/statusfields/Indicator.scss +183 -183
- package/lib/esm/appui-react/statusfields/MessageCenter.d.ts +57 -57
- package/lib/esm/appui-react/statusfields/MessageCenter.js +147 -147
- package/lib/esm/appui-react/statusfields/MessageCenter.js.map +1 -1
- package/lib/esm/appui-react/statusfields/PromptField.d.ts +30 -30
- package/lib/esm/appui-react/statusfields/PromptField.js +48 -48
- package/lib/esm/appui-react/statusfields/PromptField.js.map +1 -1
- package/lib/esm/appui-react/statusfields/PromptField.scss +42 -42
- package/lib/esm/appui-react/statusfields/SectionsField.d.ts +16 -16
- package/lib/esm/appui-react/statusfields/SectionsField.js +76 -76
- package/lib/esm/appui-react/statusfields/SectionsField.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SectionsField.scss +36 -36
- package/lib/esm/appui-react/statusfields/SelectionInfo.d.ts +26 -26
- package/lib/esm/appui-react/statusfields/SelectionInfo.js +48 -48
- package/lib/esm/appui-react/statusfields/SelectionInfo.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionInfo.scss +14 -14
- package/lib/esm/appui-react/statusfields/SelectionScope.d.ts +30 -30
- package/lib/esm/appui-react/statusfields/SelectionScope.js +61 -61
- package/lib/esm/appui-react/statusfields/SelectionScope.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionScope.scss +48 -48
- package/lib/esm/appui-react/statusfields/SnapMode.d.ts +41 -41
- package/lib/esm/appui-react/statusfields/SnapMode.js +86 -86
- package/lib/esm/appui-react/statusfields/SnapMode.js.map +1 -1
- package/lib/esm/appui-react/statusfields/StatusFieldProps.d.ts +22 -22
- package/lib/esm/appui-react/statusfields/StatusFieldProps.js +1 -1
- package/lib/esm/appui-react/statusfields/StatusFieldProps.js.map +1 -1
- package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts +31 -31
- package/lib/esm/appui-react/statusfields/ViewAttributes.js +96 -96
- package/lib/esm/appui-react/statusfields/ViewAttributes.js.map +1 -1
- package/lib/esm/appui-react/statusfields/ViewAttributes.scss +14 -14
- package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +31 -31
- package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.js +90 -90
- package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.js.map +1 -1
- package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.scss +57 -57
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +96 -96
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js +454 -454
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.scss +206 -206
- package/lib/esm/appui-react/syncui/BooleanListener.d.ts +43 -43
- package/lib/esm/appui-react/syncui/BooleanListener.js +65 -65
- package/lib/esm/appui-react/syncui/BooleanListener.js.map +1 -1
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts +102 -102
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js +252 -252
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
- package/lib/esm/appui-react/theme/ThemeManager.d.ts +55 -55
- package/lib/esm/appui-react/theme/ThemeManager.js +94 -94
- package/lib/esm/appui-react/theme/ThemeManager.js.map +1 -1
- package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.d.ts +15 -15
- package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.js +48 -48
- package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.js.map +1 -1
- package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.d.ts +15 -15
- package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.js +54 -54
- package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.js.map +1 -1
- package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.d.ts +19 -19
- package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.js +61 -61
- package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.js.map +1 -1
- package/lib/esm/appui-react/toolbar/ActionButtonItem.d.ts +17 -17
- package/lib/esm/appui-react/toolbar/ActionButtonItem.js +26 -26
- package/lib/esm/appui-react/toolbar/ActionButtonItem.js.map +1 -1
- package/lib/esm/appui-react/toolbar/ActionItemButton.d.ts +39 -39
- package/lib/esm/appui-react/toolbar/ActionItemButton.js +99 -99
- package/lib/esm/appui-react/toolbar/ActionItemButton.js.map +1 -1
- package/lib/esm/appui-react/toolbar/DragInteraction.d.ts +8 -8
- package/lib/esm/appui-react/toolbar/DragInteraction.js +12 -12
- package/lib/esm/appui-react/toolbar/DragInteraction.js.map +1 -1
- package/lib/esm/appui-react/toolbar/GroupButtonItem.d.ts +78 -78
- package/lib/esm/appui-react/toolbar/GroupButtonItem.js +323 -323
- package/lib/esm/appui-react/toolbar/GroupButtonItem.js.map +1 -1
- package/lib/esm/appui-react/toolbar/GroupItem.d.ts +128 -128
- package/lib/esm/appui-react/toolbar/GroupItem.js +458 -458
- package/lib/esm/appui-react/toolbar/GroupItem.js.map +1 -1
- package/lib/esm/appui-react/toolbar/PopupButton.d.ts +57 -57
- package/lib/esm/appui-react/toolbar/PopupButton.js +148 -148
- package/lib/esm/appui-react/toolbar/PopupButton.js.map +1 -1
- package/lib/esm/appui-react/toolbar/PopupButton.scss +9 -9
- package/lib/esm/appui-react/toolbar/ToolButton.d.ts +30 -30
- package/lib/esm/appui-react/toolbar/ToolButton.js +94 -94
- package/lib/esm/appui-react/toolbar/ToolButton.js.map +1 -1
- package/lib/esm/appui-react/toolbar/Toolbar.d.ts +54 -54
- package/lib/esm/appui-react/toolbar/Toolbar.js +235 -235
- package/lib/esm/appui-react/toolbar/Toolbar.js.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarComposer.d.ts +19 -19
- package/lib/esm/appui-react/toolbar/ToolbarComposer.js +243 -243
- package/lib/esm/appui-react/toolbar/ToolbarComposer.js.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarHelper.d.ts +27 -27
- package/lib/esm/appui-react/toolbar/ToolbarHelper.js +148 -148
- package/lib/esm/appui-react/toolbar/ToolbarHelper.js.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarItem.d.ts +52 -52
- package/lib/esm/appui-react/toolbar/ToolbarItem.js +34 -34
- package/lib/esm/appui-react/toolbar/ToolbarItem.js.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.d.ts +13 -13
- package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.js +24 -24
- package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.js.map +1 -1
- package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.d.ts +8 -8
- package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.js +32 -32
- package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.js.map +1 -1
- package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts +8 -8
- package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js +50 -50
- package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
- package/lib/esm/appui-react/tools/CoreToolDefinitions.d.ts +43 -43
- package/lib/esm/appui-react/tools/CoreToolDefinitions.js +405 -405
- package/lib/esm/appui-react/tools/CoreToolDefinitions.js.map +1 -1
- package/lib/esm/appui-react/tools/FrameworkToolAdmin.d.ts +11 -11
- package/lib/esm/appui-react/tools/FrameworkToolAdmin.js +26 -26
- package/lib/esm/appui-react/tools/FrameworkToolAdmin.js.map +1 -1
- package/lib/esm/appui-react/tools/KeyinPaletteTools.d.ts +16 -16
- package/lib/esm/appui-react/tools/KeyinPaletteTools.js +26 -26
- package/lib/esm/appui-react/tools/KeyinPaletteTools.js.map +1 -1
- package/lib/esm/appui-react/tools/MarkupToolDefinitions.d.ts +21 -21
- package/lib/esm/appui-react/tools/MarkupToolDefinitions.js +49 -49
- package/lib/esm/appui-react/tools/MarkupToolDefinitions.js.map +1 -1
- package/lib/esm/appui-react/tools/OpenSettingsTool.d.ts +16 -16
- package/lib/esm/appui-react/tools/OpenSettingsTool.js +28 -28
- package/lib/esm/appui-react/tools/OpenSettingsTool.js.map +1 -1
- package/lib/esm/appui-react/tools/RestoreLayoutTool.d.ts +26 -26
- package/lib/esm/appui-react/tools/RestoreLayoutTool.js +55 -55
- package/lib/esm/appui-react/tools/RestoreLayoutTool.js.map +1 -1
- package/lib/esm/appui-react/tools/ToolSettingsTools.d.ts +22 -22
- package/lib/esm/appui-react/tools/ToolSettingsTools.js +41 -41
- package/lib/esm/appui-react/tools/ToolSettingsTools.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts +10 -10
- package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.js +15 -15
- package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/ProviderItem.d.ts +8 -8
- package/lib/esm/appui-react/ui-items-provider/ProviderItem.js +8 -8
- package/lib/esm/appui-react/ui-items-provider/ProviderItem.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts +62 -62
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js +102 -102
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts +37 -37
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +92 -92
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts +24 -24
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.js +63 -63
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts +33 -33
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js +48 -48
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts +24 -24
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js +87 -87
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts +30 -30
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +79 -79
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/UiItemsManager.d.ts +23 -23
- package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js +14 -14
- package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.d.ts +8 -8
- package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.js +8 -8
- package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.d.ts +201 -201
- package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js +340 -340
- package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
- package/lib/esm/appui-react/uiprovider/ComponentGenerator.d.ts +27 -27
- package/lib/esm/appui-react/uiprovider/ComponentGenerator.js +202 -202
- package/lib/esm/appui-react/uiprovider/ComponentGenerator.js.map +1 -1
- package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.d.ts +27 -27
- package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.js +49 -49
- package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.js.map +1 -1
- package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.scss +216 -216
- package/lib/esm/appui-react/uistate/AppUiSettings.d.ts +53 -53
- package/lib/esm/appui-react/uistate/AppUiSettings.js +91 -91
- package/lib/esm/appui-react/uistate/AppUiSettings.js.map +1 -1
- package/lib/esm/appui-react/uistate/UserSettingsStorage.d.ts +14 -14
- package/lib/esm/appui-react/uistate/UserSettingsStorage.js +57 -57
- package/lib/esm/appui-react/uistate/UserSettingsStorage.js.map +1 -1
- package/lib/esm/appui-react/uistate/useUiStateStorage.d.ts +19 -19
- package/lib/esm/appui-react/uistate/useUiStateStorage.js +33 -33
- package/lib/esm/appui-react/uistate/useUiStateStorage.js.map +1 -1
- package/lib/esm/appui-react/utils/InternalUiShowHideManager.d.ts +83 -83
- package/lib/esm/appui-react/utils/InternalUiShowHideManager.js +192 -192
- package/lib/esm/appui-react/utils/InternalUiShowHideManager.js.map +1 -1
- package/lib/esm/appui-react/utils/PropsHelper.d.ts +20 -20
- package/lib/esm/appui-react/utils/PropsHelper.js +62 -62
- package/lib/esm/appui-react/utils/PropsHelper.js.map +1 -1
- package/lib/esm/appui-react/utils/ToolbarButtonHelper.d.ts +17 -17
- package/lib/esm/appui-react/utils/ToolbarButtonHelper.js +56 -56
- package/lib/esm/appui-react/utils/ToolbarButtonHelper.js.map +1 -1
- package/lib/esm/appui-react/utils/UiShowHideManager.d.ts +53 -53
- package/lib/esm/appui-react/utils/UiShowHideManager.js +104 -104
- package/lib/esm/appui-react/utils/UiShowHideManager.js.map +1 -1
- package/lib/esm/appui-react/utils/ViewUtilities.d.ts +66 -66
- package/lib/esm/appui-react/utils/ViewUtilities.js +94 -94
- package/lib/esm/appui-react/utils/ViewUtilities.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/Content.d.ts +6 -6
- package/lib/esm/appui-react/widget-panels/Content.js +53 -53
- package/lib/esm/appui-react/widget-panels/Content.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/FloatingWidget.d.ts +6 -6
- package/lib/esm/appui-react/widget-panels/FloatingWidget.js +14 -14
- package/lib/esm/appui-react/widget-panels/FloatingWidget.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/Frontstage.d.ts +122 -122
- package/lib/esm/appui-react/widget-panels/Frontstage.js +1164 -1164
- package/lib/esm/appui-react/widget-panels/Frontstage.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/Frontstage.scss +19 -19
- package/lib/esm/appui-react/widget-panels/FrontstageContent.d.ts +3 -3
- package/lib/esm/appui-react/widget-panels/FrontstageContent.js +17 -17
- package/lib/esm/appui-react/widget-panels/FrontstageContent.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.d.ts +8 -8
- package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.js +33 -33
- package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/StatusBar.d.ts +8 -8
- package/lib/esm/appui-react/widget-panels/StatusBar.js +26 -26
- package/lib/esm/appui-react/widget-panels/StatusBar.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/StatusBar.scss +10 -10
- package/lib/esm/appui-react/widget-panels/Tab.d.ts +10 -10
- package/lib/esm/appui-react/widget-panels/Tab.js +29 -29
- package/lib/esm/appui-react/widget-panels/Tab.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/Tab.scss +14 -14
- package/lib/esm/appui-react/widget-panels/ToolSettings.d.ts +37 -37
- package/lib/esm/appui-react/widget-panels/ToolSettings.js +146 -146
- package/lib/esm/appui-react/widget-panels/ToolSettings.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/ToolSettings.scss +40 -40
- package/lib/esm/appui-react/widget-panels/Toolbars.d.ts +7 -7
- package/lib/esm/appui-react/widget-panels/Toolbars.js +27 -27
- package/lib/esm/appui-react/widget-panels/Toolbars.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/Toolbars.scss +20 -20
- package/lib/esm/appui-react/widget-panels/useTransientState.d.ts +7 -7
- package/lib/esm/appui-react/widget-panels/useTransientState.js +14 -14
- package/lib/esm/appui-react/widget-panels/useTransientState.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/useWidgetDirection.d.ts +8 -8
- package/lib/esm/appui-react/widget-panels/useWidgetDirection.js +27 -27
- package/lib/esm/appui-react/widget-panels/useWidgetDirection.js.map +1 -1
- package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts +21 -21
- package/lib/esm/appui-react/widgets/BackstageAppButton.js +50 -50
- package/lib/esm/appui-react/widgets/BackstageAppButton.js.map +1 -1
- package/lib/esm/appui-react/widgets/BasicNavigationWidget.d.ts +19 -19
- package/lib/esm/appui-react/widgets/BasicNavigationWidget.js +56 -56
- package/lib/esm/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
- package/lib/esm/appui-react/widgets/BasicToolWidget.d.ts +23 -23
- package/lib/esm/appui-react/widgets/BasicToolWidget.js +57 -57
- package/lib/esm/appui-react/widgets/BasicToolWidget.js.map +1 -1
- package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.d.ts +37 -37
- package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.js +44 -44
- package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.js.map +1 -1
- package/lib/esm/appui-react/widgets/DefaultNavigationWidget.d.ts +34 -34
- package/lib/esm/appui-react/widgets/DefaultNavigationWidget.js +60 -60
- package/lib/esm/appui-react/widgets/DefaultNavigationWidget.js.map +1 -1
- package/lib/esm/appui-react/widgets/NavigationWidget.d.ts +55 -55
- package/lib/esm/appui-react/widgets/NavigationWidget.js +145 -145
- package/lib/esm/appui-react/widgets/NavigationWidget.js.map +1 -1
- package/lib/esm/appui-react/widgets/NavigationWidgetComposer.d.ts +38 -38
- package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js +101 -101
- package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
- package/lib/esm/appui-react/widgets/ReviewToolWidget.d.ts +32 -32
- package/lib/esm/appui-react/widgets/ReviewToolWidget.js +69 -69
- package/lib/esm/appui-react/widgets/ReviewToolWidget.js.map +1 -1
- package/lib/esm/appui-react/widgets/StableWidgetDef.d.ts +8 -8
- package/lib/esm/appui-react/widgets/StableWidgetDef.js +25 -25
- package/lib/esm/appui-react/widgets/StableWidgetDef.js.map +1 -1
- package/lib/esm/appui-react/widgets/StatusBarWidgetComposerControl.d.ts +27 -27
- package/lib/esm/appui-react/widgets/StatusBarWidgetComposerControl.js +38 -38
- package/lib/esm/appui-react/widgets/StatusBarWidgetComposerControl.js.map +1 -1
- package/lib/esm/appui-react/widgets/ToolSettingsContent.d.ts +29 -29
- package/lib/esm/appui-react/widgets/ToolSettingsContent.js +50 -50
- package/lib/esm/appui-react/widgets/ToolSettingsContent.js.map +1 -1
- package/lib/esm/appui-react/widgets/ToolSettingsContent.scss +60 -60
- package/lib/esm/appui-react/widgets/ToolWidget.d.ts +46 -46
- package/lib/esm/appui-react/widgets/ToolWidget.js +82 -82
- package/lib/esm/appui-react/widgets/ToolWidget.js.map +1 -1
- package/lib/esm/appui-react/widgets/ToolWidgetComposer.d.ts +23 -23
- package/lib/esm/appui-react/widgets/ToolWidgetComposer.js +30 -30
- package/lib/esm/appui-react/widgets/ToolWidgetComposer.js.map +1 -1
- package/lib/esm/appui-react/widgets/ToolbarWidgetBase.d.ts +25 -25
- package/lib/esm/appui-react/widgets/ToolbarWidgetBase.js +50 -50
- package/lib/esm/appui-react/widgets/ToolbarWidgetBase.js.map +1 -1
- package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.d.ts +26 -26
- package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.js +32 -32
- package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.js.map +1 -1
- package/lib/esm/appui-react/widgets/Widget.d.ts +14 -14
- package/lib/esm/appui-react/widgets/Widget.js +21 -21
- package/lib/esm/appui-react/widgets/Widget.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetConfig.d.ts +10 -10
- package/lib/esm/appui-react/widgets/WidgetConfig.js +8 -8
- package/lib/esm/appui-react/widgets/WidgetConfig.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetControl.d.ts +33 -33
- package/lib/esm/appui-react/widgets/WidgetControl.js +40 -40
- package/lib/esm/appui-react/widgets/WidgetControl.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetDef.d.ts +227 -227
- package/lib/esm/appui-react/widgets/WidgetDef.js +375 -375
- package/lib/esm/appui-react/widgets/WidgetDef.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetHost.d.ts +41 -41
- package/lib/esm/appui-react/widgets/WidgetHost.js +176 -176
- package/lib/esm/appui-react/widgets/WidgetHost.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetManager.d.ts +56 -56
- package/lib/esm/appui-react/widgets/WidgetManager.js +149 -149
- package/lib/esm/appui-react/widgets/WidgetManager.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetProps.d.ts +32 -32
- package/lib/esm/appui-react/widgets/WidgetProps.js +8 -8
- package/lib/esm/appui-react/widgets/WidgetProps.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetStack.d.ts +134 -134
- package/lib/esm/appui-react/widgets/WidgetStack.js +130 -130
- package/lib/esm/appui-react/widgets/WidgetStack.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetState.d.ts +12 -12
- package/lib/esm/appui-react/widgets/WidgetState.js +12 -12
- package/lib/esm/appui-react/widgets/WidgetState.js.map +1 -1
- package/lib/esm/appui-react/workflow/Task.d.ts +47 -47
- package/lib/esm/appui-react/workflow/Task.js +67 -67
- package/lib/esm/appui-react/workflow/Task.js.map +1 -1
- package/lib/esm/appui-react/workflow/Workflow.d.ts +152 -152
- package/lib/esm/appui-react/workflow/Workflow.js +230 -230
- package/lib/esm/appui-react/workflow/Workflow.js.map +1 -1
- package/lib/esm/appui-react/zones/FrameworkZone.d.ts +43 -43
- package/lib/esm/appui-react/zones/FrameworkZone.js +46 -46
- package/lib/esm/appui-react/zones/FrameworkZone.js.map +1 -1
- package/lib/esm/appui-react/zones/Outline.d.ts +13 -13
- package/lib/esm/appui-react/zones/Outline.js +17 -17
- package/lib/esm/appui-react/zones/Outline.js.map +1 -1
- package/lib/esm/appui-react/zones/StatusBarZone.d.ts +27 -27
- package/lib/esm/appui-react/zones/StatusBarZone.js +28 -28
- package/lib/esm/appui-react/zones/StatusBarZone.js.map +1 -1
- package/lib/esm/appui-react/zones/Zone.d.ts +87 -87
- package/lib/esm/appui-react/zones/Zone.js +151 -151
- package/lib/esm/appui-react/zones/Zone.js.map +1 -1
- package/lib/esm/appui-react/zones/ZoneDef.d.ts +56 -56
- package/lib/esm/appui-react/zones/ZoneDef.js +87 -87
- package/lib/esm/appui-react/zones/ZoneDef.js.map +1 -1
- package/lib/esm/appui-react/zones/toolsettings/DefaultToolSettingsProvider.d.ts +25 -25
- package/lib/esm/appui-react/zones/toolsettings/DefaultToolSettingsProvider.js +69 -69
- package/lib/esm/appui-react/zones/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
- package/lib/esm/appui-react/zones/toolsettings/InternalToolSettingsManager.d.ts +49 -49
- package/lib/esm/appui-react/zones/toolsettings/InternalToolSettingsManager.js +119 -119
- package/lib/esm/appui-react/zones/toolsettings/InternalToolSettingsManager.js.map +1 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolInformation.d.ts +14 -14
- package/lib/esm/appui-react/zones/toolsettings/ToolInformation.js +39 -39
- package/lib/esm/appui-react/zones/toolsettings/ToolInformation.js.map +1 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolSettingsManager.d.ts +43 -43
- package/lib/esm/appui-react/zones/toolsettings/ToolSettingsManager.js +59 -59
- package/lib/esm/appui-react/zones/toolsettings/ToolSettingsManager.js.map +1 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolSettingsZone.d.ts +53 -53
- package/lib/esm/appui-react/zones/toolsettings/ToolSettingsZone.js +88 -88
- package/lib/esm/appui-react/zones/toolsettings/ToolSettingsZone.js.map +1 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolUiProvider.d.ts +35 -35
- package/lib/esm/appui-react/zones/toolsettings/ToolUiProvider.js +34 -34
- package/lib/esm/appui-react/zones/toolsettings/ToolUiProvider.js.map +1 -1
- package/lib/esm/appui-react.d.ts +403 -403
- package/lib/esm/appui-react.js +408 -408
- package/lib/esm/appui-react.js.map +1 -1
- package/lib/public/locales/en/UiFramework.json +378 -378
- package/package.json +33 -33
|
@@ -1,1033 +1,1033 @@
|
|
|
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
|
-
/* eslint-disable deprecation/deprecation */
|
|
6
|
-
/** @packageDocumentation
|
|
7
|
-
* @module Frontstage
|
|
8
|
-
*/
|
|
9
|
-
// cSpell:ignore popout
|
|
10
|
-
import * as React from "react";
|
|
11
|
-
import { IModelApp } from "@itwin/core-frontend";
|
|
12
|
-
import { StagePanelLocation, StageUsage, UiError, WidgetState } from "@itwin/appui-abstract";
|
|
13
|
-
import { Rectangle } from "@itwin/core-react";
|
|
14
|
-
import { dockWidgetContainer, floatWidget, getTabLocation, getWidgetLocation, isFloatingTabLocation, isPanelTabLocation, isPopoutTabLocation, isPopoutWidgetLocation, panelSides, popoutWidgetToChildWindow, } from "@itwin/appui-layout-react";
|
|
15
|
-
import { ContentGroupProvider } from "../content/ContentGroup";
|
|
16
|
-
import { StagePanelState, toPanelSide } from "../stagepanels/StagePanelDef";
|
|
17
|
-
import { UiFramework } from "../UiFramework";
|
|
18
|
-
import { Zone, ZoneLocation } from "../zones/Zone";
|
|
19
|
-
import { Frontstage } from "./Frontstage";
|
|
20
|
-
import { TimeTracker } from "../configurableui/TimeTracker";
|
|
21
|
-
import { PopoutWidget } from "../childwindow/PopoutWidget";
|
|
22
|
-
import { FrameworkStateReducer } from "../widget-panels/Frontstage";
|
|
23
|
-
import { assert, BentleyStatus, ProcessDetector } from "@itwin/core-bentley";
|
|
24
|
-
import { Widget } from "../widgets/Widget";
|
|
25
|
-
import { StagePanel } from "../stagepanels/StagePanel";
|
|
26
|
-
import { InternalFrontstageManager } from "./InternalFrontstageManager";
|
|
27
|
-
import { InternalContentDialogManager } from "../dialog/InternalContentDialogManager";
|
|
28
|
-
/** FrontstageDef class provides an API for a Frontstage.
|
|
29
|
-
* @public
|
|
30
|
-
*/
|
|
31
|
-
export class FrontstageDef {
|
|
32
|
-
constructor() {
|
|
33
|
-
this._id = "";
|
|
34
|
-
this._defaultContentId = "";
|
|
35
|
-
this._isInFooterMode = true;
|
|
36
|
-
this._isStageClosing = false;
|
|
37
|
-
this._isReady = false;
|
|
38
|
-
this._isApplicationClosing = false;
|
|
39
|
-
this._version = 0;
|
|
40
|
-
this._timeTracker = new TimeTracker();
|
|
41
|
-
}
|
|
42
|
-
get id() { return this._id; }
|
|
43
|
-
/** @deprecated in 3.6. UI 1.0 will be removed in AppUi 4.0.*/
|
|
44
|
-
get defaultTool() { return this._defaultTool; }
|
|
45
|
-
/** @deprecated in 3.6. UI 1.0 will be removed in AppUi 4.0.*/
|
|
46
|
-
get defaultContentId() { return this._defaultContentId; }
|
|
47
|
-
get isInFooterMode() { return this._isInFooterMode; }
|
|
48
|
-
/** @deprecated in 3.6. UI 1.0 will be removed in AppUi 4.0.*/
|
|
49
|
-
get applicationData() { return this._applicationData; }
|
|
50
|
-
get usage() { return this._usage !== undefined ? this._usage : StageUsage.General; }
|
|
51
|
-
get version() { return this._version; }
|
|
52
|
-
get contentGroupProvider() { return this._contentGroupProvider; }
|
|
53
|
-
get floatingContentControls() { return this._floatingContentControls; }
|
|
54
|
-
/** @deprecated in 3.6. Use [[FrontstageDef.contentManipulation]] instead. */
|
|
55
|
-
get topLeft() { return this._topLeft; }
|
|
56
|
-
/** @deprecated in 3.6. Use [[FrontstageDef.toolSettings]] instead. */
|
|
57
|
-
get topCenter() { return this._topCenter; }
|
|
58
|
-
/** @deprecated in 3.6. Use [[FrontstageDef.viewNavigation]] instead. */
|
|
59
|
-
get topRight() { return this._topRight; }
|
|
60
|
-
/** @deprecated in 3.6. Use [[FrontstageDef.leftPanel]] instead. */
|
|
61
|
-
get centerLeft() { return this._centerLeft; }
|
|
62
|
-
/** @deprecated in 3.6. Use [[FrontstageDef.rightPanel]] instead. */
|
|
63
|
-
get centerRight() { return this._centerRight; }
|
|
64
|
-
/** @deprecated in 3.6. Use [[FrontstageDef.leftPanel]] instead. */
|
|
65
|
-
get bottomLeft() { return this._bottomLeft; }
|
|
66
|
-
/** @deprecated in 3.6. Use [[FrontstageDef.statusBar]] instead. */
|
|
67
|
-
get bottomCenter() { return this._bottomCenter; }
|
|
68
|
-
/** @deprecated in 3.6. Use [[FrontstageDef.rightPanel]] instead. */
|
|
69
|
-
get bottomRight() { return this._bottomRight; }
|
|
70
|
-
/** @beta */
|
|
71
|
-
get toolSettings() { var _a; return (_a = this.topCenter) === null || _a === void 0 ? void 0 : _a.getSingleWidgetDef(); }
|
|
72
|
-
/** @beta */
|
|
73
|
-
get statusBar() { var _a; return (_a = this.bottomCenter) === null || _a === void 0 ? void 0 : _a.getSingleWidgetDef(); }
|
|
74
|
-
/** @beta */
|
|
75
|
-
get contentManipulation() { var _a; return (_a = this.topLeft) === null || _a === void 0 ? void 0 : _a.getSingleWidgetDef(); }
|
|
76
|
-
/** @beta */
|
|
77
|
-
get viewNavigation() { var _a; return (_a = this.topRight) === null || _a === void 0 ? void 0 : _a.getSingleWidgetDef(); }
|
|
78
|
-
/** @beta */
|
|
79
|
-
get topPanel() { return this._topPanel; }
|
|
80
|
-
/** @beta
|
|
81
|
-
* @deprecated in 3.0. Only topPanel is supported in UI 2.0 */
|
|
82
|
-
get topMostPanel() { return this._topMostPanel; }
|
|
83
|
-
/** @beta */
|
|
84
|
-
get leftPanel() { return this._leftPanel; }
|
|
85
|
-
/** @beta */
|
|
86
|
-
get rightPanel() { return this._rightPanel; }
|
|
87
|
-
/** @beta */
|
|
88
|
-
get bottomPanel() { return this._bottomPanel; }
|
|
89
|
-
/** @beta
|
|
90
|
-
* @deprecated in 3.0. Only bottomPanel is supported in UI 2.0 */
|
|
91
|
-
get bottomMostPanel() { return this._bottomMostPanel; }
|
|
92
|
-
get contentLayoutDef() { return this._contentLayoutDef; }
|
|
93
|
-
get contentGroup() { return this._contentGroup; }
|
|
94
|
-
get frontstageProvider() { return this._frontstageProvider; }
|
|
95
|
-
/** @internal */
|
|
96
|
-
get nineZone() { return this._nineZone; } // istanbul ignore next
|
|
97
|
-
set nineZone(props) { this._nineZone = props; }
|
|
98
|
-
toStagePanelLocation(side) {
|
|
99
|
-
switch (side) {
|
|
100
|
-
case "bottom":
|
|
101
|
-
return StagePanelLocation.Bottom;
|
|
102
|
-
case "left":
|
|
103
|
-
return StagePanelLocation.Left;
|
|
104
|
-
case "right":
|
|
105
|
-
return StagePanelLocation.Right;
|
|
106
|
-
case "top":
|
|
107
|
-
return StagePanelLocation.Top;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
populateStateMaps(nineZone, panelMap, widgetMap) {
|
|
111
|
-
for (const panelSide of panelSides) {
|
|
112
|
-
const panel = nineZone.panels[panelSide];
|
|
113
|
-
const location = this.toStagePanelLocation(panelSide);
|
|
114
|
-
const panelDef = this.getStagePanelDef(location);
|
|
115
|
-
if (panelDef) {
|
|
116
|
-
const panelState = panel.collapsed ? StagePanelState.Minimized : StagePanelState.Open;
|
|
117
|
-
panelMap.set(panelDef, panelState);
|
|
118
|
-
}
|
|
119
|
-
for (const widgetId of panel.widgets) {
|
|
120
|
-
const widget = nineZone.widgets[widgetId];
|
|
121
|
-
// istanbul ignore else
|
|
122
|
-
if (widget) {
|
|
123
|
-
for (const tabId of widget.tabs) {
|
|
124
|
-
const widgetDef = this.findWidgetDef(tabId);
|
|
125
|
-
if (widgetDef) {
|
|
126
|
-
let widgetState = WidgetState.Open;
|
|
127
|
-
if (widget.minimized || tabId !== widget.activeTabId)
|
|
128
|
-
widgetState = WidgetState.Closed;
|
|
129
|
-
widgetMap.set(widgetDef, widgetState);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
// istanbul ignore next
|
|
136
|
-
for (const widgetId of nineZone.floatingWidgets.allIds) {
|
|
137
|
-
const widget = nineZone.widgets[widgetId];
|
|
138
|
-
if (widget) {
|
|
139
|
-
for (const tabId of widget.tabs) {
|
|
140
|
-
const widgetDef = this.findWidgetDef(tabId);
|
|
141
|
-
if (widgetDef) {
|
|
142
|
-
let widgetState = WidgetState.Open;
|
|
143
|
-
if (widget.minimized || tabId !== widget.activeTabId)
|
|
144
|
-
widgetState = WidgetState.Closed;
|
|
145
|
-
widgetMap.set(widgetDef, widgetState);
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
triggerStateChangeEventForWidgetsAndPanels(state) {
|
|
152
|
-
// istanbul ignore else
|
|
153
|
-
if (!(this._isStageClosing || this._isApplicationClosing)) {
|
|
154
|
-
if (state) {
|
|
155
|
-
const originalPanelStateMap = new Map();
|
|
156
|
-
const originalWidgetStateMap = new Map();
|
|
157
|
-
const newPanelStateMap = new Map();
|
|
158
|
-
const newWidgetStateMap = new Map();
|
|
159
|
-
this._nineZoneState && this.populateStateMaps(this._nineZoneState, originalPanelStateMap, originalWidgetStateMap);
|
|
160
|
-
this.populateStateMaps(state, newPanelStateMap, newWidgetStateMap);
|
|
161
|
-
// set internal state value before triggering events
|
|
162
|
-
this._nineZoneState = state;
|
|
163
|
-
// now walk and trigger set state events
|
|
164
|
-
newWidgetStateMap.forEach((stateValue, widgetDef) => {
|
|
165
|
-
const originalState = originalWidgetStateMap.get(widgetDef);
|
|
166
|
-
if (originalState !== stateValue) {
|
|
167
|
-
UiFramework.frontstages.onWidgetStateChangedEvent.emit({ widgetDef, widgetState: stateValue });
|
|
168
|
-
widgetDef.onWidgetStateChanged();
|
|
169
|
-
}
|
|
170
|
-
});
|
|
171
|
-
newPanelStateMap.forEach((stateValue, panelDef) => {
|
|
172
|
-
const originalState = originalPanelStateMap.get(panelDef);
|
|
173
|
-
if (originalState !== stateValue) {
|
|
174
|
-
UiFramework.frontstages.onPanelStateChangedEvent.emit({
|
|
175
|
-
panelDef,
|
|
176
|
-
panelState: stateValue,
|
|
177
|
-
});
|
|
178
|
-
}
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
|
-
else {
|
|
182
|
-
this._nineZoneState = state;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
/** @internal */
|
|
187
|
-
get nineZoneState() { return this._nineZoneState; }
|
|
188
|
-
set nineZoneState(state) {
|
|
189
|
-
if (this._nineZoneState === state)
|
|
190
|
-
return;
|
|
191
|
-
if ("1" === UiFramework.uiVersion || !this._nineZoneState) {
|
|
192
|
-
this._nineZoneState = state;
|
|
193
|
-
}
|
|
194
|
-
else {
|
|
195
|
-
this.triggerStateChangeEventForWidgetsAndPanels(state);
|
|
196
|
-
}
|
|
197
|
-
// istanbul ignore next - don't trigger any side effects until stage "isReady"
|
|
198
|
-
if (!(this._isStageClosing || this._isApplicationClosing) || this.isReady) {
|
|
199
|
-
InternalFrontstageManager.onFrontstageNineZoneStateChangedEvent.emit({
|
|
200
|
-
frontstageDef: this,
|
|
201
|
-
state,
|
|
202
|
-
});
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
/** @internal */
|
|
206
|
-
get savedWidgetDefs() { return this._savedWidgetDefs; }
|
|
207
|
-
set savedWidgetDefs(widgets) {
|
|
208
|
-
this._savedWidgetDefs = widgets;
|
|
209
|
-
}
|
|
210
|
-
/** @internal */
|
|
211
|
-
get timeTracker() { return this._timeTracker; }
|
|
212
|
-
/** Created a [[FrontstageDef]] and initialize it */
|
|
213
|
-
static async create(provider) {
|
|
214
|
-
const def = new FrontstageDef();
|
|
215
|
-
def._frontstageProvider = provider;
|
|
216
|
-
if (provider.frontstageConfig) {
|
|
217
|
-
const config = provider.frontstageConfig();
|
|
218
|
-
const props = toFrontstageProps(config);
|
|
219
|
-
await def.initializeFromProps(props);
|
|
220
|
-
}
|
|
221
|
-
else {
|
|
222
|
-
await def.initializeFromProps(provider.frontstage.props);
|
|
223
|
-
}
|
|
224
|
-
return def;
|
|
225
|
-
}
|
|
226
|
-
/** Handles when the Frontstage becomes activated */
|
|
227
|
-
async _onActivated() { }
|
|
228
|
-
/** Handles when the Frontstage becomes activated */
|
|
229
|
-
async onActivated() {
|
|
230
|
-
this.updateWidgetDefs();
|
|
231
|
-
const provider = this._contentGroupProvider;
|
|
232
|
-
if (provider && this._initialProps) {
|
|
233
|
-
if (provider.contentGroup) {
|
|
234
|
-
const config = toFrontstageConfig(this._initialProps);
|
|
235
|
-
this._contentGroup = await provider.contentGroup(config);
|
|
236
|
-
}
|
|
237
|
-
else {
|
|
238
|
-
this._contentGroup = await provider.provideContentGroup(this._initialProps);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
// istanbul ignore next
|
|
242
|
-
if (!this._contentGroup)
|
|
243
|
-
throw new UiError(UiFramework.loggerCategory(this), `onActivated: Content Group not defined`);
|
|
244
|
-
this._contentLayoutDef = UiFramework.content.layouts.getForGroup(this._contentGroup);
|
|
245
|
-
UiFramework.frontstages.onContentLayoutActivatedEvent.emit({ contentLayout: this._contentLayoutDef, contentGroup: this._contentGroup });
|
|
246
|
-
this._timeTracker.startTiming();
|
|
247
|
-
await this._onActivated();
|
|
248
|
-
}
|
|
249
|
-
/** Handles when the Frontstage becomes inactive */
|
|
250
|
-
async _onDeactivated() { }
|
|
251
|
-
/** Handles when the Frontstage becomes inactive */
|
|
252
|
-
async onDeactivated() {
|
|
253
|
-
for (const control of this._widgetControls) {
|
|
254
|
-
control.onFrontstageDeactivated();
|
|
255
|
-
}
|
|
256
|
-
for (const control of this.contentControls) {
|
|
257
|
-
control.onFrontstageDeactivated();
|
|
258
|
-
}
|
|
259
|
-
// istanbul ignore else
|
|
260
|
-
if (this.contentGroup)
|
|
261
|
-
this.contentGroup.onFrontstageDeactivated();
|
|
262
|
-
// istanbul ignore next
|
|
263
|
-
if (this.contentGroupProvider)
|
|
264
|
-
await this.contentGroupProvider.onFrontstageDeactivated();
|
|
265
|
-
this._timeTracker.stopTiming();
|
|
266
|
-
this._isStageClosing = true; // this keeps widgets in child windows from automatically re-docking
|
|
267
|
-
UiFramework.childWindows.closeAll();
|
|
268
|
-
if (this._floatingContentControls) {
|
|
269
|
-
InternalContentDialogManager.closeAll();
|
|
270
|
-
this._floatingContentControls = undefined;
|
|
271
|
-
}
|
|
272
|
-
await this._onDeactivated();
|
|
273
|
-
this._isStageClosing = false;
|
|
274
|
-
}
|
|
275
|
-
/** @internal */
|
|
276
|
-
setIsApplicationClosing(value) {
|
|
277
|
-
this._isApplicationClosing = value;
|
|
278
|
-
}
|
|
279
|
-
/** Returns once the contained widgets and content controls are ready to use */
|
|
280
|
-
async waitUntilReady() {
|
|
281
|
-
this._isReady = false;
|
|
282
|
-
// create an array of control-ready promises
|
|
283
|
-
const controlReadyPromises = new Array();
|
|
284
|
-
this._widgetControls.forEach((control) => {
|
|
285
|
-
controlReadyPromises.push(control.isReady);
|
|
286
|
-
});
|
|
287
|
-
// istanbul ignore else
|
|
288
|
-
if (this.contentLayoutDef) {
|
|
289
|
-
const usedContentIndexes = this.contentLayoutDef.getUsedContentIndexes();
|
|
290
|
-
this.contentControls.forEach((control, index) => {
|
|
291
|
-
// istanbul ignore else
|
|
292
|
-
if (usedContentIndexes.includes(index))
|
|
293
|
-
controlReadyPromises.push(control.isReady);
|
|
294
|
-
});
|
|
295
|
-
}
|
|
296
|
-
await Promise.all(controlReadyPromises);
|
|
297
|
-
// Frontstage ready
|
|
298
|
-
this._isReady = true;
|
|
299
|
-
}
|
|
300
|
-
/** Handles when the Frontstage becomes active */
|
|
301
|
-
_onFrontstageReady() { }
|
|
302
|
-
/** Handles when the Frontstage becomes active */
|
|
303
|
-
onFrontstageReady() {
|
|
304
|
-
for (const control of this._widgetControls) {
|
|
305
|
-
control.onFrontstageReady();
|
|
306
|
-
}
|
|
307
|
-
for (const control of this.contentControls) {
|
|
308
|
-
control.onFrontstageReady();
|
|
309
|
-
}
|
|
310
|
-
// istanbul ignore else
|
|
311
|
-
if (this.contentGroup)
|
|
312
|
-
this.contentGroup.onFrontstageReady();
|
|
313
|
-
this._onFrontstageReady();
|
|
314
|
-
}
|
|
315
|
-
/** Starts the default tool for the Frontstage.
|
|
316
|
-
* @deprecated in 3.6. UI 1.0 will be removed in AppUi 4.0.
|
|
317
|
-
*/
|
|
318
|
-
startDefaultTool() {
|
|
319
|
-
// Start the default tool
|
|
320
|
-
// istanbul ignore next
|
|
321
|
-
if (IModelApp.toolAdmin && IModelApp.viewManager) {
|
|
322
|
-
if (this.defaultTool) {
|
|
323
|
-
IModelApp.toolAdmin.defaultToolId = this.defaultTool.toolId;
|
|
324
|
-
this.defaultTool.execute();
|
|
325
|
-
}
|
|
326
|
-
else {
|
|
327
|
-
IModelApp.toolAdmin.startDefaultTool(); // eslint-disable-line @typescript-eslint/no-floating-promises
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
/** Sets the Content Layout and Content Group */
|
|
332
|
-
setContentLayoutAndGroup(contentLayoutDef, contentGroup) {
|
|
333
|
-
this._contentLayoutDef = contentLayoutDef;
|
|
334
|
-
this._contentGroup = contentGroup;
|
|
335
|
-
}
|
|
336
|
-
/** Sets the active view content control to the default or first */
|
|
337
|
-
async setActiveContent() {
|
|
338
|
-
let contentControl;
|
|
339
|
-
let activated = false;
|
|
340
|
-
if (this.contentGroup && this.defaultContentId) {
|
|
341
|
-
contentControl = this.contentGroup.getContentControlById(this.defaultContentId);
|
|
342
|
-
}
|
|
343
|
-
// istanbul ignore else
|
|
344
|
-
if (!contentControl && this.contentControls.length >= 0) {
|
|
345
|
-
contentControl = this.contentControls[0];
|
|
346
|
-
}
|
|
347
|
-
if (contentControl) {
|
|
348
|
-
UiFramework.content.setActive(contentControl.reactNode, true);
|
|
349
|
-
if (contentControl.viewport) {
|
|
350
|
-
const status = await IModelApp.viewManager.setSelectedView(contentControl.viewport);
|
|
351
|
-
activated = status === BentleyStatus.SUCCESS;
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
return activated;
|
|
355
|
-
}
|
|
356
|
-
/** Sets the active view content control */
|
|
357
|
-
setActiveView(newContent, oldContent) {
|
|
358
|
-
if (oldContent)
|
|
359
|
-
oldContent.onDeactivated();
|
|
360
|
-
newContent.onActivated();
|
|
361
|
-
UiFramework.frontstages.onContentControlActivatedEvent.emit({ activeContentControl: newContent, oldContentControl: oldContent });
|
|
362
|
-
}
|
|
363
|
-
/** Sets the active view content control based on the selected viewport. */
|
|
364
|
-
setActiveViewFromViewport(viewport) {
|
|
365
|
-
const contentControl = this.contentControls.find((control) => control.viewport === viewport);
|
|
366
|
-
// istanbul ignore else
|
|
367
|
-
if (contentControl) {
|
|
368
|
-
UiFramework.content.setActive(contentControl.reactNode, true);
|
|
369
|
-
return true;
|
|
370
|
-
}
|
|
371
|
-
// istanbul ignore next
|
|
372
|
-
return false;
|
|
373
|
-
}
|
|
374
|
-
/** Gets a [[ZoneDef]] based on a given zone id.
|
|
375
|
-
* @deprecated in 3.6. UI1.0 is deprecated.
|
|
376
|
-
*/
|
|
377
|
-
getZoneDef(zoneId) {
|
|
378
|
-
let zoneDef;
|
|
379
|
-
switch (zoneId) {
|
|
380
|
-
case 1:
|
|
381
|
-
zoneDef = this.topLeft;
|
|
382
|
-
break;
|
|
383
|
-
case 2:
|
|
384
|
-
zoneDef = this.topCenter;
|
|
385
|
-
break;
|
|
386
|
-
case 3:
|
|
387
|
-
zoneDef = this.topRight;
|
|
388
|
-
break;
|
|
389
|
-
case 4:
|
|
390
|
-
zoneDef = this.centerLeft;
|
|
391
|
-
break;
|
|
392
|
-
case 6:
|
|
393
|
-
zoneDef = this.centerRight;
|
|
394
|
-
break;
|
|
395
|
-
case 7:
|
|
396
|
-
zoneDef = this.bottomLeft;
|
|
397
|
-
break;
|
|
398
|
-
case 8:
|
|
399
|
-
zoneDef = this.bottomCenter;
|
|
400
|
-
break;
|
|
401
|
-
case 9:
|
|
402
|
-
zoneDef = this.bottomRight;
|
|
403
|
-
break;
|
|
404
|
-
// istanbul ignore next
|
|
405
|
-
default:
|
|
406
|
-
throw new RangeError();
|
|
407
|
-
}
|
|
408
|
-
// Zones can be undefined in a Frontstage
|
|
409
|
-
return zoneDef;
|
|
410
|
-
}
|
|
411
|
-
/** Gets a list of [[ZoneDef]]s.
|
|
412
|
-
* @deprecated in 3.6. UI1.0 is deprecated.
|
|
413
|
-
*/
|
|
414
|
-
get zoneDefs() {
|
|
415
|
-
const zones = [1, 2, 3, 4, 6, 7, 8, 9];
|
|
416
|
-
const zoneDefs = [];
|
|
417
|
-
zones.forEach((zoneId) => {
|
|
418
|
-
const zoneDef = this.getZoneDef(zoneId);
|
|
419
|
-
if (zoneDef)
|
|
420
|
-
zoneDefs.push(zoneDef);
|
|
421
|
-
});
|
|
422
|
-
return zoneDefs;
|
|
423
|
-
}
|
|
424
|
-
/** Gets a [[StagePanelDef]] based on a given panel location
|
|
425
|
-
* @beta
|
|
426
|
-
*/
|
|
427
|
-
getStagePanelDef(location) {
|
|
428
|
-
let panelDef;
|
|
429
|
-
switch (location) {
|
|
430
|
-
case StagePanelLocation.Top:
|
|
431
|
-
panelDef = this.topPanel;
|
|
432
|
-
break;
|
|
433
|
-
case StagePanelLocation.TopMost:
|
|
434
|
-
panelDef = this.topMostPanel; // eslint-disable-line deprecation/deprecation
|
|
435
|
-
break;
|
|
436
|
-
case StagePanelLocation.Left:
|
|
437
|
-
panelDef = this.leftPanel;
|
|
438
|
-
break;
|
|
439
|
-
case StagePanelLocation.Right:
|
|
440
|
-
panelDef = this.rightPanel;
|
|
441
|
-
break;
|
|
442
|
-
case StagePanelLocation.Bottom:
|
|
443
|
-
panelDef = this.bottomPanel;
|
|
444
|
-
break;
|
|
445
|
-
case StagePanelLocation.BottomMost:
|
|
446
|
-
panelDef = this.bottomMostPanel; // eslint-disable-line deprecation/deprecation
|
|
447
|
-
break;
|
|
448
|
-
// istanbul ignore next
|
|
449
|
-
default:
|
|
450
|
-
throw new RangeError();
|
|
451
|
-
}
|
|
452
|
-
// Panels can be undefined in a Frontstage
|
|
453
|
-
return panelDef;
|
|
454
|
-
}
|
|
455
|
-
/** Gets a list of [[StagePanelDef]]s
|
|
456
|
-
* @beta
|
|
457
|
-
*/
|
|
458
|
-
get panelDefs() {
|
|
459
|
-
const panels = [
|
|
460
|
-
StagePanelLocation.Left, StagePanelLocation.Right,
|
|
461
|
-
StagePanelLocation.Top, StagePanelLocation.TopMost,
|
|
462
|
-
StagePanelLocation.Bottom, StagePanelLocation.BottomMost,
|
|
463
|
-
];
|
|
464
|
-
const panelDefs = [];
|
|
465
|
-
panels.forEach((location) => {
|
|
466
|
-
const panelDef = this.getStagePanelDef(location);
|
|
467
|
-
if (panelDef)
|
|
468
|
-
panelDefs.push(panelDef);
|
|
469
|
-
});
|
|
470
|
-
return panelDefs;
|
|
471
|
-
}
|
|
472
|
-
/** Finds a [[WidgetDef]] based on a given id */
|
|
473
|
-
findWidgetDef(id) {
|
|
474
|
-
for (const zoneDef of this.zoneDefs) {
|
|
475
|
-
const widgetDef = zoneDef.findWidgetDef(id);
|
|
476
|
-
if (widgetDef)
|
|
477
|
-
return widgetDef;
|
|
478
|
-
}
|
|
479
|
-
for (const panelDef of this.panelDefs) {
|
|
480
|
-
const widgetDef = panelDef.findWidgetDef(id);
|
|
481
|
-
if (widgetDef)
|
|
482
|
-
return widgetDef;
|
|
483
|
-
}
|
|
484
|
-
// istanbul ignore next
|
|
485
|
-
return undefined;
|
|
486
|
-
}
|
|
487
|
-
/** Gets the list of [[WidgetControl]]s */
|
|
488
|
-
get _widgetControls() {
|
|
489
|
-
const widgetControls = new Array();
|
|
490
|
-
this.zoneDefs.forEach((zoneDef) => {
|
|
491
|
-
zoneDef.widgetDefs.forEach((widgetDef) => {
|
|
492
|
-
const widgetControl = widgetDef.widgetControl;
|
|
493
|
-
if (widgetControl)
|
|
494
|
-
widgetControls.push(widgetControl);
|
|
495
|
-
});
|
|
496
|
-
});
|
|
497
|
-
this.panelDefs.forEach((panelDef) => {
|
|
498
|
-
panelDef.widgetDefs.forEach((widgetDef) => {
|
|
499
|
-
const widgetControl = widgetDef.widgetControl;
|
|
500
|
-
// istanbul ignore if
|
|
501
|
-
if (widgetControl)
|
|
502
|
-
widgetControls.push(widgetControl);
|
|
503
|
-
});
|
|
504
|
-
});
|
|
505
|
-
return widgetControls;
|
|
506
|
-
}
|
|
507
|
-
addFloatingContentControl(contentControl) {
|
|
508
|
-
// istanbul ignore next
|
|
509
|
-
if (!contentControl)
|
|
510
|
-
return;
|
|
511
|
-
if (!this._floatingContentControls)
|
|
512
|
-
this._floatingContentControls = new Array();
|
|
513
|
-
this._floatingContentControls.push(contentControl);
|
|
514
|
-
UiFramework.content.onAvailableContentChangedEvent.emit({ contentId: contentControl.uniqueId });
|
|
515
|
-
}
|
|
516
|
-
dropFloatingContentControl(contentControl) {
|
|
517
|
-
// istanbul ignore next
|
|
518
|
-
if (!contentControl || !this._floatingContentControls)
|
|
519
|
-
return;
|
|
520
|
-
const index = this._floatingContentControls.indexOf(contentControl);
|
|
521
|
-
// istanbul ignore else
|
|
522
|
-
if (index > -1) {
|
|
523
|
-
this._floatingContentControls.splice(index, 1);
|
|
524
|
-
UiFramework.content.onAvailableContentChangedEvent.emit({ contentId: contentControl.uniqueId });
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
/** Gets the list of [[ContentControl]]s */
|
|
528
|
-
get contentControls() {
|
|
529
|
-
const contentControls = new Array();
|
|
530
|
-
// istanbul ignore else
|
|
531
|
-
if (this.contentGroup) {
|
|
532
|
-
contentControls.push(...this.contentGroup.getContentControls());
|
|
533
|
-
}
|
|
534
|
-
if (this._floatingContentControls) {
|
|
535
|
-
contentControls.push(...this._floatingContentControls);
|
|
536
|
-
}
|
|
537
|
-
return contentControls;
|
|
538
|
-
}
|
|
539
|
-
/** Initializes a FrontstageDef from FrontstageProps
|
|
540
|
-
* @internal
|
|
541
|
-
*/
|
|
542
|
-
async initializeFromProps(props) {
|
|
543
|
-
this._id = props.id;
|
|
544
|
-
this._initialProps = props;
|
|
545
|
-
this._defaultTool = props.defaultTool; // Might be `undefined`, see `toFrontstageProps`.
|
|
546
|
-
if (props.defaultContentId !== undefined)
|
|
547
|
-
this._defaultContentId = props.defaultContentId;
|
|
548
|
-
if (props.contentGroup instanceof ContentGroupProvider) {
|
|
549
|
-
this._contentGroupProvider = props.contentGroup;
|
|
550
|
-
}
|
|
551
|
-
else {
|
|
552
|
-
this._contentGroup = props.contentGroup;
|
|
553
|
-
}
|
|
554
|
-
if (props.isInFooterMode !== undefined)
|
|
555
|
-
this._isInFooterMode = props.isInFooterMode;
|
|
556
|
-
this._applicationData = props.applicationData;
|
|
557
|
-
this._usage = props.usage;
|
|
558
|
-
this._version = props.version || 0;
|
|
559
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
560
|
-
this._topLeft = Frontstage.createZoneDef(props.contentManipulationTools ? props.contentManipulationTools : props.topLeft, ZoneLocation.TopLeft, props);
|
|
561
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
562
|
-
this._topCenter = Frontstage.createZoneDef(props.toolSettings ? props.toolSettings : props.topCenter, ZoneLocation.TopCenter, props);
|
|
563
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
564
|
-
this._topRight = Frontstage.createZoneDef(props.viewNavigationTools ? /* istanbul ignore next */ props.viewNavigationTools : props.topRight, ZoneLocation.TopRight, props);
|
|
565
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
566
|
-
this._centerLeft = Frontstage.createZoneDef(props.centerLeft, ZoneLocation.CenterLeft, props);
|
|
567
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
568
|
-
this._centerRight = Frontstage.createZoneDef(props.centerRight, ZoneLocation.CenterRight, props);
|
|
569
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
570
|
-
this._bottomLeft = Frontstage.createZoneDef(props.bottomLeft, ZoneLocation.BottomLeft, props);
|
|
571
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
572
|
-
this._bottomCenter = Frontstage.createZoneDef(props.statusBar ? props.statusBar : props.bottomCenter, ZoneLocation.BottomCenter, props);
|
|
573
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
574
|
-
this._bottomRight = Frontstage.createZoneDef(props.bottomRight, ZoneLocation.BottomRight, props);
|
|
575
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
576
|
-
this._topPanel = Frontstage.createStagePanelDef(StagePanelLocation.Top, props);
|
|
577
|
-
this._topMostPanel = Frontstage.createStagePanelDef(StagePanelLocation.TopMost, props);
|
|
578
|
-
this._leftPanel = Frontstage.createStagePanelDef(StagePanelLocation.Left, props);
|
|
579
|
-
this._rightPanel = Frontstage.createStagePanelDef(StagePanelLocation.Right, props);
|
|
580
|
-
this._bottomPanel = Frontstage.createStagePanelDef(StagePanelLocation.Bottom, props);
|
|
581
|
-
this._bottomMostPanel = Frontstage.createStagePanelDef(StagePanelLocation.BottomMost, props);
|
|
582
|
-
}
|
|
583
|
-
/** @internal */
|
|
584
|
-
updateWidgetDefs() {
|
|
585
|
-
// Tracks provided widgets to prevent duplicates.
|
|
586
|
-
const allStageWidgetDefs = [];
|
|
587
|
-
// Process panels before zones so in uiVersion="2" extension can explicitly target a widget for a StagePanelSection
|
|
588
|
-
this.panelDefs.forEach((stagePanelDef) => {
|
|
589
|
-
stagePanelDef.updateDynamicWidgetDefs(this.id, this.usage, stagePanelDef.location, undefined, allStageWidgetDefs, this.applicationData);
|
|
590
|
-
});
|
|
591
|
-
this.zoneDefs.forEach((zoneDef) => {
|
|
592
|
-
zoneDef.updateDynamicWidgetDefs(this.id, this.usage, zoneDef.zoneLocation, undefined, allStageWidgetDefs, this.applicationData);
|
|
593
|
-
});
|
|
594
|
-
}
|
|
595
|
-
/** @beta */
|
|
596
|
-
restoreLayout() {
|
|
597
|
-
for (const panelDef of this.panelDefs) {
|
|
598
|
-
panelDef.size = panelDef.defaultSize;
|
|
599
|
-
panelDef.panelState = panelDef.defaultState;
|
|
600
|
-
}
|
|
601
|
-
for (const widgetDef of this.widgetDefs) {
|
|
602
|
-
widgetDef.setWidgetState(widgetDef.defaultState);
|
|
603
|
-
}
|
|
604
|
-
InternalFrontstageManager.onFrontstageRestoreLayoutEvent.emit({ frontstageDef: this });
|
|
605
|
-
}
|
|
606
|
-
/** Used only in UI 2.0 to determine WidgetState from NinezoneState
|
|
607
|
-
* @internal
|
|
608
|
-
*/
|
|
609
|
-
getWidgetCurrentState(widgetDef) {
|
|
610
|
-
// istanbul ignore else
|
|
611
|
-
if (this.nineZoneState) {
|
|
612
|
-
const location = getTabLocation(this.nineZoneState, widgetDef.id);
|
|
613
|
-
// istanbul ignore next
|
|
614
|
-
if (!location)
|
|
615
|
-
return WidgetState.Hidden;
|
|
616
|
-
if (isFloatingTabLocation(location)) {
|
|
617
|
-
const floatingWidget = this.nineZoneState.floatingWidgets.byId[location.floatingWidgetId];
|
|
618
|
-
if (floatingWidget && floatingWidget.hidden)
|
|
619
|
-
return WidgetState.Hidden;
|
|
620
|
-
else
|
|
621
|
-
return WidgetState.Floating;
|
|
622
|
-
}
|
|
623
|
-
let collapsedPanel = false;
|
|
624
|
-
// istanbul ignore else
|
|
625
|
-
if ("side" in location) {
|
|
626
|
-
const panel = this.nineZoneState.panels[location.side];
|
|
627
|
-
collapsedPanel = panel.collapsed || undefined === panel.size || 0 === panel.size;
|
|
628
|
-
}
|
|
629
|
-
const widgetContainer = this.nineZoneState.widgets[location.widgetId];
|
|
630
|
-
if (widgetDef.id === widgetContainer.activeTabId && !collapsedPanel)
|
|
631
|
-
return WidgetState.Open;
|
|
632
|
-
else
|
|
633
|
-
return WidgetState.Closed;
|
|
634
|
-
}
|
|
635
|
-
return widgetDef.defaultState;
|
|
636
|
-
}
|
|
637
|
-
/** Used only in UI 2.0 to determine StagePanelState and size from NinezoneState
|
|
638
|
-
* @internal
|
|
639
|
-
*/
|
|
640
|
-
getPanelCurrentState(panelDef) {
|
|
641
|
-
var _a, _b;
|
|
642
|
-
// istanbul ignore next
|
|
643
|
-
if (this.nineZoneState) {
|
|
644
|
-
const side = toPanelSide(panelDef.location);
|
|
645
|
-
const panel = this.nineZoneState.panels[side];
|
|
646
|
-
if (panel)
|
|
647
|
-
return [panel.collapsed ? StagePanelState.Minimized : StagePanelState.Open, (_a = panel.size) !== null && _a !== void 0 ? _a : 0];
|
|
648
|
-
return [StagePanelState.Off, 0];
|
|
649
|
-
}
|
|
650
|
-
return [panelDef.defaultState, (_b = panelDef.defaultSize) !== null && _b !== void 0 ? _b : 0];
|
|
651
|
-
}
|
|
652
|
-
isPopoutWidget(widgetId) {
|
|
653
|
-
// istanbul ignore else
|
|
654
|
-
if (this.nineZoneState) {
|
|
655
|
-
const location = getTabLocation(this.nineZoneState, widgetId);
|
|
656
|
-
// istanbul ignore else
|
|
657
|
-
if (location)
|
|
658
|
-
return isPopoutTabLocation(location);
|
|
659
|
-
}
|
|
660
|
-
return false;
|
|
661
|
-
}
|
|
662
|
-
isFloatingWidget(widgetId) {
|
|
663
|
-
// istanbul ignore else
|
|
664
|
-
if (this.nineZoneState) {
|
|
665
|
-
const location = getTabLocation(this.nineZoneState, widgetId);
|
|
666
|
-
// istanbul ignore else
|
|
667
|
-
if (location)
|
|
668
|
-
return isFloatingTabLocation(location);
|
|
669
|
-
}
|
|
670
|
-
return false;
|
|
671
|
-
}
|
|
672
|
-
/** Create a new floating panel that contains the widget specified by its Id. Supported only when in
|
|
673
|
-
* UI 2.0 or higher.
|
|
674
|
-
* @param widgetId case sensitive Widget Id
|
|
675
|
-
* @param point Position of top left corner of floating panel in pixels. If undefined {x:50, y:100} is used.
|
|
676
|
-
* @param size defines the width and height of the floating panel. If undefined and widget has been floated before
|
|
677
|
-
* the previous size is used, else {height:400, width:400} is used.
|
|
678
|
-
* @beta
|
|
679
|
-
*/
|
|
680
|
-
floatWidget(widgetId, point, size) {
|
|
681
|
-
// istanbul ignore else
|
|
682
|
-
if (this.nineZoneState) {
|
|
683
|
-
const location = getTabLocation(this.nineZoneState, widgetId);
|
|
684
|
-
if (location) {
|
|
685
|
-
let popoutWidgetContainerId;
|
|
686
|
-
if (isPopoutTabLocation(location)) {
|
|
687
|
-
popoutWidgetContainerId = location.popoutWidgetId;
|
|
688
|
-
}
|
|
689
|
-
const state = floatWidget(this.nineZoneState, widgetId, point, size);
|
|
690
|
-
// istanbul ignore else
|
|
691
|
-
if (state) {
|
|
692
|
-
this.nineZoneState = state;
|
|
693
|
-
setTimeout(() => {
|
|
694
|
-
popoutWidgetContainerId && UiFramework.childWindows.close(popoutWidgetContainerId, true);
|
|
695
|
-
}, 600);
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
/** Check widget and panel state to determine whether the widget is currently displayed
|
|
701
|
-
* @param widgetId case-sensitive Widget Id
|
|
702
|
-
* @public
|
|
703
|
-
*/
|
|
704
|
-
isWidgetDisplayed(widgetId) {
|
|
705
|
-
let widgetIsVisible = false;
|
|
706
|
-
// istanbul ignore else
|
|
707
|
-
if (this.nineZoneState) {
|
|
708
|
-
const tabLocation = getTabLocation(this.nineZoneState, widgetId);
|
|
709
|
-
// istanbul ignore else
|
|
710
|
-
if (tabLocation) {
|
|
711
|
-
if (isFloatingTabLocation(tabLocation)) {
|
|
712
|
-
const floatingWidget = this.nineZoneState.floatingWidgets.byId[tabLocation.floatingWidgetId];
|
|
713
|
-
// istanbul ignore else
|
|
714
|
-
if (!!!floatingWidget.hidden)
|
|
715
|
-
widgetIsVisible = true;
|
|
716
|
-
}
|
|
717
|
-
else if (isPopoutTabLocation(tabLocation)) {
|
|
718
|
-
widgetIsVisible = true;
|
|
719
|
-
}
|
|
720
|
-
else {
|
|
721
|
-
// istanbul ignore else
|
|
722
|
-
if (isPanelTabLocation(tabLocation)) {
|
|
723
|
-
const panel = this.nineZoneState.panels[tabLocation.side];
|
|
724
|
-
const widgetDef = this.findWidgetDef(widgetId);
|
|
725
|
-
if (widgetDef && widgetDef.state === WidgetState.Open && !panel.collapsed)
|
|
726
|
-
widgetIsVisible = true;
|
|
727
|
-
}
|
|
728
|
-
}
|
|
729
|
-
}
|
|
730
|
-
}
|
|
731
|
-
return widgetIsVisible;
|
|
732
|
-
}
|
|
733
|
-
/** Opens window for specified PopoutWidget container. Used to reopen popout when running in Electron.
|
|
734
|
-
* @internal */
|
|
735
|
-
openPopoutWidgetContainer(state, widgetContainerId) {
|
|
736
|
-
const location = getWidgetLocation(state, widgetContainerId);
|
|
737
|
-
// istanbul ignore next
|
|
738
|
-
if (!location)
|
|
739
|
-
return;
|
|
740
|
-
// istanbul ignore next
|
|
741
|
-
if (!isPopoutWidgetLocation(location))
|
|
742
|
-
return;
|
|
743
|
-
const widget = state.widgets[widgetContainerId];
|
|
744
|
-
const popoutWidget = state.popoutWidgets.byId[location.popoutWidgetId];
|
|
745
|
-
// Popout widget should only contain a single tab.
|
|
746
|
-
// istanbul ignore next
|
|
747
|
-
if (widget.tabs.length !== 1)
|
|
748
|
-
return;
|
|
749
|
-
const tabId = widget.tabs[0];
|
|
750
|
-
const widgetDef = this.findWidgetDef(tabId);
|
|
751
|
-
// istanbul ignore next
|
|
752
|
-
if (!widgetDef)
|
|
753
|
-
return;
|
|
754
|
-
const popoutContent = (React.createElement(PopoutWidget, { widgetContainerId: widgetContainerId, widgetDef: widgetDef }));
|
|
755
|
-
const bounds = Rectangle.create(popoutWidget.bounds);
|
|
756
|
-
const position = {
|
|
757
|
-
width: bounds.getWidth(),
|
|
758
|
-
height: bounds.getHeight(),
|
|
759
|
-
left: bounds.left,
|
|
760
|
-
top: bounds.top,
|
|
761
|
-
};
|
|
762
|
-
UiFramework.childWindows.open(widgetContainerId, widgetDef.label, popoutContent, position, UiFramework.useDefaultPopoutUrl);
|
|
763
|
-
}
|
|
764
|
-
/** Create a new popout/child window that contains the widget specified by its Id. Supported only when in
|
|
765
|
-
* UI 2.0 or higher.
|
|
766
|
-
* @param widgetId case sensitive Widget Id
|
|
767
|
-
* @param point Position of top left corner of floating panel in pixels. If undefined {x:0, y:0} is used.
|
|
768
|
-
* @param size defines the width and height of the floating panel. If undefined and widget has been floated before
|
|
769
|
-
* the previous size is used, else {height:800, width:600} is used.
|
|
770
|
-
* @beta
|
|
771
|
-
*/
|
|
772
|
-
popoutWidget(widgetId, point, size) {
|
|
773
|
-
// istanbul ignore next
|
|
774
|
-
if (!this.nineZoneState)
|
|
775
|
-
return;
|
|
776
|
-
let location = getTabLocation(this.nineZoneState, widgetId);
|
|
777
|
-
if (!location || isPopoutTabLocation(location))
|
|
778
|
-
return;
|
|
779
|
-
const widgetDef = this.findWidgetDef(widgetId);
|
|
780
|
-
// istanbul ignore next
|
|
781
|
-
if (!widgetDef)
|
|
782
|
-
return;
|
|
783
|
-
// get the state to apply that will pop-out the specified WidgetTab to child window.
|
|
784
|
-
let preferredBounds = Rectangle.createFromSize({ height: 800, width: 600 });
|
|
785
|
-
// istanbul ignore next
|
|
786
|
-
if (widgetDef.popoutBounds)
|
|
787
|
-
preferredBounds = widgetDef.popoutBounds;
|
|
788
|
-
if (size)
|
|
789
|
-
preferredBounds = preferredBounds.setSize(size);
|
|
790
|
-
if (point)
|
|
791
|
-
preferredBounds = preferredBounds.setPosition(point);
|
|
792
|
-
const state = popoutWidgetToChildWindow(this.nineZoneState, widgetId, preferredBounds);
|
|
793
|
-
this.nineZoneState = state;
|
|
794
|
-
// now that the state is updated get the id of the container that houses the widgetTab/widgetId
|
|
795
|
-
location = getTabLocation(state, widgetId);
|
|
796
|
-
assert(!!location && isPopoutTabLocation(location));
|
|
797
|
-
const widgetContainerId = location.widgetId;
|
|
798
|
-
const popoutWidget = state.popoutWidgets.byId[widgetContainerId];
|
|
799
|
-
const bounds = Rectangle.create(popoutWidget.bounds);
|
|
800
|
-
setTimeout(() => {
|
|
801
|
-
const popoutContent = (React.createElement(PopoutWidget, { widgetContainerId: widgetContainerId, widgetDef: widgetDef }));
|
|
802
|
-
const position = {
|
|
803
|
-
width: bounds.getWidth(),
|
|
804
|
-
height: bounds.getHeight(),
|
|
805
|
-
left: bounds.left,
|
|
806
|
-
top: bounds.top,
|
|
807
|
-
};
|
|
808
|
-
UiFramework.childWindows.open(widgetContainerId, widgetDef.label, popoutContent, position, UiFramework.useDefaultPopoutUrl);
|
|
809
|
-
});
|
|
810
|
-
}
|
|
811
|
-
get isStageClosing() {
|
|
812
|
-
return this._isStageClosing;
|
|
813
|
-
}
|
|
814
|
-
get isApplicationClosing() {
|
|
815
|
-
return this._isApplicationClosing;
|
|
816
|
-
}
|
|
817
|
-
get isReady() {
|
|
818
|
-
return this._isReady;
|
|
819
|
-
}
|
|
820
|
-
/** @internal */
|
|
821
|
-
saveChildWindowSizeAndPosition(childWindowId, childWindow) {
|
|
822
|
-
if (!this.nineZoneState)
|
|
823
|
-
return;
|
|
824
|
-
const location = getWidgetLocation(this.nineZoneState, childWindowId);
|
|
825
|
-
if (!location || !isPopoutWidgetLocation(location))
|
|
826
|
-
return;
|
|
827
|
-
const widget = this.nineZoneState.widgets[location.popoutWidgetId];
|
|
828
|
-
const tabId = widget.tabs[0];
|
|
829
|
-
const widgetDef = this.findWidgetDef(tabId);
|
|
830
|
-
if (!widgetDef)
|
|
831
|
-
return;
|
|
832
|
-
const adjustmentWidth = ProcessDetector.isElectronAppFrontend ? 16 : 0;
|
|
833
|
-
const adjustmentHeight = ProcessDetector.isElectronAppFrontend ? 39 : 0;
|
|
834
|
-
const width = childWindow.innerWidth + adjustmentWidth;
|
|
835
|
-
const height = childWindow.innerHeight + adjustmentHeight;
|
|
836
|
-
const bounds = Rectangle.createFromSize({ width, height }).offset({ x: childWindow.screenX, y: childWindow.screenY });
|
|
837
|
-
widgetDef.popoutBounds = bounds;
|
|
838
|
-
}
|
|
839
|
-
/** Method used to possibly change a Popout Widget back to a docked widget if the user was the one closing the popout's child
|
|
840
|
-
* window.
|
|
841
|
-
* @internal
|
|
842
|
-
*/
|
|
843
|
-
dockPopoutWidgetContainer(widgetContainerId) {
|
|
844
|
-
if (!this.nineZoneState)
|
|
845
|
-
return;
|
|
846
|
-
// Make sure the widgetContainerId is still in popout state. We don't want to set it to docked if the window is being closed because
|
|
847
|
-
// an API call has moved the widget from a popout state to a floating state.
|
|
848
|
-
// istanbul ignore else
|
|
849
|
-
const location = getWidgetLocation(this.nineZoneState, widgetContainerId);
|
|
850
|
-
if (!location || !isPopoutWidgetLocation(location))
|
|
851
|
-
return;
|
|
852
|
-
const state = dockWidgetContainer(this.nineZoneState, widgetContainerId, true);
|
|
853
|
-
this.nineZoneState = state;
|
|
854
|
-
}
|
|
855
|
-
/** Finds the container with the specified widget and re-docks all widgets
|
|
856
|
-
* back to the panel zone location that was used when the floating container
|
|
857
|
-
* was generated. Supported only when in UI 2.0 or higher.
|
|
858
|
-
* @param widgetId case sensitive Widget Id.
|
|
859
|
-
* @beta
|
|
860
|
-
*/
|
|
861
|
-
dockWidgetContainer(widgetId) {
|
|
862
|
-
// istanbul ignore else
|
|
863
|
-
if (this.nineZoneState) {
|
|
864
|
-
const location = getTabLocation(this.nineZoneState, widgetId);
|
|
865
|
-
if (location) {
|
|
866
|
-
const widgetContainerId = location.widgetId;
|
|
867
|
-
const state = dockWidgetContainer(this.nineZoneState, widgetContainerId, true);
|
|
868
|
-
state && (this.nineZoneState = state);
|
|
869
|
-
if (isPopoutTabLocation(location)) {
|
|
870
|
-
UiFramework.childWindows.close(location.widgetId, true);
|
|
871
|
-
}
|
|
872
|
-
}
|
|
873
|
-
}
|
|
874
|
-
}
|
|
875
|
-
setFloatingWidgetContainerBounds(floatingWidgetId, bounds) {
|
|
876
|
-
if (!this.nineZoneState || !(floatingWidgetId in this.nineZoneState.floatingWidgets.byId))
|
|
877
|
-
return false;
|
|
878
|
-
let state = FrameworkStateReducer(this.nineZoneState, {
|
|
879
|
-
type: "FLOATING_WIDGET_SET_BOUNDS",
|
|
880
|
-
id: floatingWidgetId,
|
|
881
|
-
bounds,
|
|
882
|
-
}, this);
|
|
883
|
-
state = FrameworkStateReducer(state, {
|
|
884
|
-
type: "FLOATING_WIDGET_SET_USER_SIZED",
|
|
885
|
-
id: floatingWidgetId,
|
|
886
|
-
userSized: true,
|
|
887
|
-
}, this);
|
|
888
|
-
this.nineZoneState = state;
|
|
889
|
-
return true;
|
|
890
|
-
}
|
|
891
|
-
getFloatingWidgetContainerIds() {
|
|
892
|
-
if (!this.nineZoneState)
|
|
893
|
-
return [];
|
|
894
|
-
return [...this.nineZoneState.floatingWidgets.allIds];
|
|
895
|
-
}
|
|
896
|
-
getFloatingWidgetContainerIdByWidgetId(widgetId) {
|
|
897
|
-
if (!this.nineZoneState)
|
|
898
|
-
return undefined;
|
|
899
|
-
const location = getTabLocation(this.nineZoneState, widgetId);
|
|
900
|
-
// istanbul ignore else
|
|
901
|
-
if (location && isFloatingTabLocation(location)) {
|
|
902
|
-
return location.floatingWidgetId;
|
|
903
|
-
}
|
|
904
|
-
// istanbul ignore next
|
|
905
|
-
return undefined;
|
|
906
|
-
}
|
|
907
|
-
getFloatingWidgetContainerBounds(floatingWidgetId) {
|
|
908
|
-
if (!floatingWidgetId)
|
|
909
|
-
return undefined;
|
|
910
|
-
// istanbul ignore else
|
|
911
|
-
if (this.nineZoneState && (floatingWidgetId in this.nineZoneState.floatingWidgets.byId)) {
|
|
912
|
-
const foundWidget = document.querySelector(`div.nz-widget-floatingWidget[data-widget-id='${floatingWidgetId}']`);
|
|
913
|
-
// istanbul ignore next
|
|
914
|
-
if (foundWidget) {
|
|
915
|
-
const domRect = foundWidget.getBoundingClientRect();
|
|
916
|
-
return { left: domRect.left, right: domRect.right, top: domRect.top, bottom: domRect.bottom };
|
|
917
|
-
}
|
|
918
|
-
return this.nineZoneState.floatingWidgets.byId[floatingWidgetId].bounds;
|
|
919
|
-
}
|
|
920
|
-
return undefined;
|
|
921
|
-
}
|
|
922
|
-
*_widgetDefs() {
|
|
923
|
-
for (const zoneDef of this.zoneDefs) {
|
|
924
|
-
for (const widgetDef of zoneDef.widgetDefs) {
|
|
925
|
-
yield widgetDef;
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
for (const panelDef of this.panelDefs) {
|
|
929
|
-
for (const widgetDef of panelDef.widgetDefs) {
|
|
930
|
-
yield widgetDef;
|
|
931
|
-
}
|
|
932
|
-
}
|
|
933
|
-
return undefined;
|
|
934
|
-
}
|
|
935
|
-
/** Iterable of all widget definitions in a frontstage.
|
|
936
|
-
* @internal
|
|
937
|
-
*/
|
|
938
|
-
get widgetDefs() {
|
|
939
|
-
const defs = this._widgetDefs();
|
|
940
|
-
return {
|
|
941
|
-
[Symbol.iterator]() {
|
|
942
|
-
return defs;
|
|
943
|
-
},
|
|
944
|
-
};
|
|
945
|
-
}
|
|
946
|
-
}
|
|
947
|
-
function toFrontstageProps(config) {
|
|
948
|
-
const { contentManipulation, viewNavigation, toolSettings, statusBar, topPanel, leftPanel, bottomPanel, rightPanel, ...other } = config;
|
|
949
|
-
const props = {
|
|
950
|
-
...other,
|
|
951
|
-
defaultTool: undefined,
|
|
952
|
-
toolSettings: toolSettings ? toZoneElement(toolSettings) : undefined,
|
|
953
|
-
statusBar: statusBar ? toZoneElement(statusBar) : undefined,
|
|
954
|
-
contentManipulationTools: contentManipulation ? toZoneElement(contentManipulation) : undefined,
|
|
955
|
-
viewNavigationTools: viewNavigation ? toZoneElement(viewNavigation) : undefined,
|
|
956
|
-
topPanel: topPanel ? toStagePanelElement(topPanel) : undefined,
|
|
957
|
-
leftPanel: leftPanel ? toStagePanelElement(leftPanel) : undefined,
|
|
958
|
-
bottomPanel: bottomPanel ? toStagePanelElement(bottomPanel) : undefined,
|
|
959
|
-
rightPanel: rightPanel ? toStagePanelElement(rightPanel) : undefined,
|
|
960
|
-
};
|
|
961
|
-
return props;
|
|
962
|
-
}
|
|
963
|
-
function toWidgetElement(config) {
|
|
964
|
-
return (React.createElement(Widget, { key: config.id, ...config }));
|
|
965
|
-
}
|
|
966
|
-
function toZoneElement(config) {
|
|
967
|
-
return (React.createElement(Zone, { widgets: [
|
|
968
|
-
toWidgetElement(config),
|
|
969
|
-
] }));
|
|
970
|
-
}
|
|
971
|
-
function toStagePanelElement(config) {
|
|
972
|
-
var _a, _b;
|
|
973
|
-
const { sections, ...other } = config;
|
|
974
|
-
const startWidgets = (_a = sections === null || sections === void 0 ? void 0 : sections.start) === null || _a === void 0 ? void 0 : _a.map((widget) => toWidgetElement(widget));
|
|
975
|
-
const endWidgets = (_b = sections === null || sections === void 0 ? void 0 : sections.end) === null || _b === void 0 ? void 0 : _b.map((widget) => toWidgetElement(widget));
|
|
976
|
-
const panelZones = {};
|
|
977
|
-
if (startWidgets)
|
|
978
|
-
panelZones.start = {
|
|
979
|
-
widgets: startWidgets,
|
|
980
|
-
};
|
|
981
|
-
if (endWidgets)
|
|
982
|
-
panelZones.end = {
|
|
983
|
-
widgets: endWidgets,
|
|
984
|
-
};
|
|
985
|
-
return (React.createElement(StagePanel, { panelZones: panelZones, ...other }));
|
|
986
|
-
}
|
|
987
|
-
let widgetConfigId = 0;
|
|
988
|
-
function toWidgetConfig(widget) {
|
|
989
|
-
const props = widget.props;
|
|
990
|
-
return {
|
|
991
|
-
...props,
|
|
992
|
-
id: props.id ? props.id : `widget-config-${++widgetConfigId}`,
|
|
993
|
-
};
|
|
994
|
-
}
|
|
995
|
-
function toWidgetConfigFromZone(zone) {
|
|
996
|
-
const widgets = zone.props.widgets;
|
|
997
|
-
if (!widgets || widgets.length === 0)
|
|
998
|
-
return undefined;
|
|
999
|
-
const widget = widgets[0];
|
|
1000
|
-
return toWidgetConfig(widget);
|
|
1001
|
-
}
|
|
1002
|
-
function toPanelConfig(panel) {
|
|
1003
|
-
var _a, _b, _c, _d;
|
|
1004
|
-
const props = panel.props;
|
|
1005
|
-
const { panelZones, ...other } = props;
|
|
1006
|
-
const start = (_b = (_a = panelZones === null || panelZones === void 0 ? void 0 : panelZones.start) === null || _a === void 0 ? void 0 : _a.widgets) === null || _b === void 0 ? void 0 : _b.map((w) => toWidgetConfig(w));
|
|
1007
|
-
const end = (_d = (_c = panelZones === null || panelZones === void 0 ? void 0 : panelZones.end) === null || _c === void 0 ? void 0 : _c.widgets) === null || _d === void 0 ? void 0 : _d.map((w) => toWidgetConfig(w));
|
|
1008
|
-
const config = {
|
|
1009
|
-
...other,
|
|
1010
|
-
sections: {
|
|
1011
|
-
start,
|
|
1012
|
-
end,
|
|
1013
|
-
},
|
|
1014
|
-
};
|
|
1015
|
-
return config;
|
|
1016
|
-
}
|
|
1017
|
-
function toFrontstageConfig(props) {
|
|
1018
|
-
const { contentManipulationTools, viewNavigationTools, toolSettings, statusBar, topPanel, leftPanel, bottomPanel, rightPanel, ...other } = props;
|
|
1019
|
-
const config = {
|
|
1020
|
-
...other,
|
|
1021
|
-
version: props.version || 0,
|
|
1022
|
-
contentManipulation: contentManipulationTools ? toWidgetConfigFromZone(contentManipulationTools) : undefined,
|
|
1023
|
-
viewNavigation: viewNavigationTools ? toWidgetConfigFromZone(viewNavigationTools) : undefined,
|
|
1024
|
-
toolSettings: toolSettings ? toWidgetConfigFromZone(toolSettings) : undefined,
|
|
1025
|
-
statusBar: statusBar ? toWidgetConfigFromZone(statusBar) : undefined,
|
|
1026
|
-
topPanel: topPanel ? toPanelConfig(topPanel) : undefined,
|
|
1027
|
-
leftPanel: leftPanel ? toPanelConfig(leftPanel) : undefined,
|
|
1028
|
-
bottomPanel: bottomPanel ? toPanelConfig(bottomPanel) : undefined,
|
|
1029
|
-
rightPanel: rightPanel ? toPanelConfig(rightPanel) : undefined,
|
|
1030
|
-
};
|
|
1031
|
-
return config;
|
|
1032
|
-
}
|
|
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
|
+
/* eslint-disable deprecation/deprecation */
|
|
6
|
+
/** @packageDocumentation
|
|
7
|
+
* @module Frontstage
|
|
8
|
+
*/
|
|
9
|
+
// cSpell:ignore popout
|
|
10
|
+
import * as React from "react";
|
|
11
|
+
import { IModelApp } from "@itwin/core-frontend";
|
|
12
|
+
import { StagePanelLocation, StageUsage, UiError, WidgetState } from "@itwin/appui-abstract";
|
|
13
|
+
import { Rectangle } from "@itwin/core-react";
|
|
14
|
+
import { dockWidgetContainer, floatWidget, getTabLocation, getWidgetLocation, isFloatingTabLocation, isPanelTabLocation, isPopoutTabLocation, isPopoutWidgetLocation, panelSides, popoutWidgetToChildWindow, } from "@itwin/appui-layout-react";
|
|
15
|
+
import { ContentGroupProvider } from "../content/ContentGroup";
|
|
16
|
+
import { StagePanelState, toPanelSide } from "../stagepanels/StagePanelDef";
|
|
17
|
+
import { UiFramework } from "../UiFramework";
|
|
18
|
+
import { Zone, ZoneLocation } from "../zones/Zone";
|
|
19
|
+
import { Frontstage } from "./Frontstage";
|
|
20
|
+
import { TimeTracker } from "../configurableui/TimeTracker";
|
|
21
|
+
import { PopoutWidget } from "../childwindow/PopoutWidget";
|
|
22
|
+
import { FrameworkStateReducer } from "../widget-panels/Frontstage";
|
|
23
|
+
import { assert, BentleyStatus, ProcessDetector } from "@itwin/core-bentley";
|
|
24
|
+
import { Widget } from "../widgets/Widget";
|
|
25
|
+
import { StagePanel } from "../stagepanels/StagePanel";
|
|
26
|
+
import { InternalFrontstageManager } from "./InternalFrontstageManager";
|
|
27
|
+
import { InternalContentDialogManager } from "../dialog/InternalContentDialogManager";
|
|
28
|
+
/** FrontstageDef class provides an API for a Frontstage.
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export class FrontstageDef {
|
|
32
|
+
constructor() {
|
|
33
|
+
this._id = "";
|
|
34
|
+
this._defaultContentId = "";
|
|
35
|
+
this._isInFooterMode = true;
|
|
36
|
+
this._isStageClosing = false;
|
|
37
|
+
this._isReady = false;
|
|
38
|
+
this._isApplicationClosing = false;
|
|
39
|
+
this._version = 0;
|
|
40
|
+
this._timeTracker = new TimeTracker();
|
|
41
|
+
}
|
|
42
|
+
get id() { return this._id; }
|
|
43
|
+
/** @deprecated in 3.6. UI 1.0 will be removed in AppUi 4.0.*/
|
|
44
|
+
get defaultTool() { return this._defaultTool; }
|
|
45
|
+
/** @deprecated in 3.6. UI 1.0 will be removed in AppUi 4.0.*/
|
|
46
|
+
get defaultContentId() { return this._defaultContentId; }
|
|
47
|
+
get isInFooterMode() { return this._isInFooterMode; }
|
|
48
|
+
/** @deprecated in 3.6. UI 1.0 will be removed in AppUi 4.0.*/
|
|
49
|
+
get applicationData() { return this._applicationData; }
|
|
50
|
+
get usage() { return this._usage !== undefined ? this._usage : StageUsage.General; }
|
|
51
|
+
get version() { return this._version; }
|
|
52
|
+
get contentGroupProvider() { return this._contentGroupProvider; }
|
|
53
|
+
get floatingContentControls() { return this._floatingContentControls; }
|
|
54
|
+
/** @deprecated in 3.6. Use [[FrontstageDef.contentManipulation]] instead. */
|
|
55
|
+
get topLeft() { return this._topLeft; }
|
|
56
|
+
/** @deprecated in 3.6. Use [[FrontstageDef.toolSettings]] instead. */
|
|
57
|
+
get topCenter() { return this._topCenter; }
|
|
58
|
+
/** @deprecated in 3.6. Use [[FrontstageDef.viewNavigation]] instead. */
|
|
59
|
+
get topRight() { return this._topRight; }
|
|
60
|
+
/** @deprecated in 3.6. Use [[FrontstageDef.leftPanel]] instead. */
|
|
61
|
+
get centerLeft() { return this._centerLeft; }
|
|
62
|
+
/** @deprecated in 3.6. Use [[FrontstageDef.rightPanel]] instead. */
|
|
63
|
+
get centerRight() { return this._centerRight; }
|
|
64
|
+
/** @deprecated in 3.6. Use [[FrontstageDef.leftPanel]] instead. */
|
|
65
|
+
get bottomLeft() { return this._bottomLeft; }
|
|
66
|
+
/** @deprecated in 3.6. Use [[FrontstageDef.statusBar]] instead. */
|
|
67
|
+
get bottomCenter() { return this._bottomCenter; }
|
|
68
|
+
/** @deprecated in 3.6. Use [[FrontstageDef.rightPanel]] instead. */
|
|
69
|
+
get bottomRight() { return this._bottomRight; }
|
|
70
|
+
/** @beta */
|
|
71
|
+
get toolSettings() { var _a; return (_a = this.topCenter) === null || _a === void 0 ? void 0 : _a.getSingleWidgetDef(); }
|
|
72
|
+
/** @beta */
|
|
73
|
+
get statusBar() { var _a; return (_a = this.bottomCenter) === null || _a === void 0 ? void 0 : _a.getSingleWidgetDef(); }
|
|
74
|
+
/** @beta */
|
|
75
|
+
get contentManipulation() { var _a; return (_a = this.topLeft) === null || _a === void 0 ? void 0 : _a.getSingleWidgetDef(); }
|
|
76
|
+
/** @beta */
|
|
77
|
+
get viewNavigation() { var _a; return (_a = this.topRight) === null || _a === void 0 ? void 0 : _a.getSingleWidgetDef(); }
|
|
78
|
+
/** @beta */
|
|
79
|
+
get topPanel() { return this._topPanel; }
|
|
80
|
+
/** @beta
|
|
81
|
+
* @deprecated in 3.0. Only topPanel is supported in UI 2.0 */
|
|
82
|
+
get topMostPanel() { return this._topMostPanel; }
|
|
83
|
+
/** @beta */
|
|
84
|
+
get leftPanel() { return this._leftPanel; }
|
|
85
|
+
/** @beta */
|
|
86
|
+
get rightPanel() { return this._rightPanel; }
|
|
87
|
+
/** @beta */
|
|
88
|
+
get bottomPanel() { return this._bottomPanel; }
|
|
89
|
+
/** @beta
|
|
90
|
+
* @deprecated in 3.0. Only bottomPanel is supported in UI 2.0 */
|
|
91
|
+
get bottomMostPanel() { return this._bottomMostPanel; }
|
|
92
|
+
get contentLayoutDef() { return this._contentLayoutDef; }
|
|
93
|
+
get contentGroup() { return this._contentGroup; }
|
|
94
|
+
get frontstageProvider() { return this._frontstageProvider; }
|
|
95
|
+
/** @internal */
|
|
96
|
+
get nineZone() { return this._nineZone; } // istanbul ignore next
|
|
97
|
+
set nineZone(props) { this._nineZone = props; }
|
|
98
|
+
toStagePanelLocation(side) {
|
|
99
|
+
switch (side) {
|
|
100
|
+
case "bottom":
|
|
101
|
+
return StagePanelLocation.Bottom;
|
|
102
|
+
case "left":
|
|
103
|
+
return StagePanelLocation.Left;
|
|
104
|
+
case "right":
|
|
105
|
+
return StagePanelLocation.Right;
|
|
106
|
+
case "top":
|
|
107
|
+
return StagePanelLocation.Top;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
populateStateMaps(nineZone, panelMap, widgetMap) {
|
|
111
|
+
for (const panelSide of panelSides) {
|
|
112
|
+
const panel = nineZone.panels[panelSide];
|
|
113
|
+
const location = this.toStagePanelLocation(panelSide);
|
|
114
|
+
const panelDef = this.getStagePanelDef(location);
|
|
115
|
+
if (panelDef) {
|
|
116
|
+
const panelState = panel.collapsed ? StagePanelState.Minimized : StagePanelState.Open;
|
|
117
|
+
panelMap.set(panelDef, panelState);
|
|
118
|
+
}
|
|
119
|
+
for (const widgetId of panel.widgets) {
|
|
120
|
+
const widget = nineZone.widgets[widgetId];
|
|
121
|
+
// istanbul ignore else
|
|
122
|
+
if (widget) {
|
|
123
|
+
for (const tabId of widget.tabs) {
|
|
124
|
+
const widgetDef = this.findWidgetDef(tabId);
|
|
125
|
+
if (widgetDef) {
|
|
126
|
+
let widgetState = WidgetState.Open;
|
|
127
|
+
if (widget.minimized || tabId !== widget.activeTabId)
|
|
128
|
+
widgetState = WidgetState.Closed;
|
|
129
|
+
widgetMap.set(widgetDef, widgetState);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
// istanbul ignore next
|
|
136
|
+
for (const widgetId of nineZone.floatingWidgets.allIds) {
|
|
137
|
+
const widget = nineZone.widgets[widgetId];
|
|
138
|
+
if (widget) {
|
|
139
|
+
for (const tabId of widget.tabs) {
|
|
140
|
+
const widgetDef = this.findWidgetDef(tabId);
|
|
141
|
+
if (widgetDef) {
|
|
142
|
+
let widgetState = WidgetState.Open;
|
|
143
|
+
if (widget.minimized || tabId !== widget.activeTabId)
|
|
144
|
+
widgetState = WidgetState.Closed;
|
|
145
|
+
widgetMap.set(widgetDef, widgetState);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
triggerStateChangeEventForWidgetsAndPanels(state) {
|
|
152
|
+
// istanbul ignore else
|
|
153
|
+
if (!(this._isStageClosing || this._isApplicationClosing)) {
|
|
154
|
+
if (state) {
|
|
155
|
+
const originalPanelStateMap = new Map();
|
|
156
|
+
const originalWidgetStateMap = new Map();
|
|
157
|
+
const newPanelStateMap = new Map();
|
|
158
|
+
const newWidgetStateMap = new Map();
|
|
159
|
+
this._nineZoneState && this.populateStateMaps(this._nineZoneState, originalPanelStateMap, originalWidgetStateMap);
|
|
160
|
+
this.populateStateMaps(state, newPanelStateMap, newWidgetStateMap);
|
|
161
|
+
// set internal state value before triggering events
|
|
162
|
+
this._nineZoneState = state;
|
|
163
|
+
// now walk and trigger set state events
|
|
164
|
+
newWidgetStateMap.forEach((stateValue, widgetDef) => {
|
|
165
|
+
const originalState = originalWidgetStateMap.get(widgetDef);
|
|
166
|
+
if (originalState !== stateValue) {
|
|
167
|
+
UiFramework.frontstages.onWidgetStateChangedEvent.emit({ widgetDef, widgetState: stateValue });
|
|
168
|
+
widgetDef.onWidgetStateChanged();
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
newPanelStateMap.forEach((stateValue, panelDef) => {
|
|
172
|
+
const originalState = originalPanelStateMap.get(panelDef);
|
|
173
|
+
if (originalState !== stateValue) {
|
|
174
|
+
UiFramework.frontstages.onPanelStateChangedEvent.emit({
|
|
175
|
+
panelDef,
|
|
176
|
+
panelState: stateValue,
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
else {
|
|
182
|
+
this._nineZoneState = state;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
/** @internal */
|
|
187
|
+
get nineZoneState() { return this._nineZoneState; }
|
|
188
|
+
set nineZoneState(state) {
|
|
189
|
+
if (this._nineZoneState === state)
|
|
190
|
+
return;
|
|
191
|
+
if ("1" === UiFramework.uiVersion || !this._nineZoneState) {
|
|
192
|
+
this._nineZoneState = state;
|
|
193
|
+
}
|
|
194
|
+
else {
|
|
195
|
+
this.triggerStateChangeEventForWidgetsAndPanels(state);
|
|
196
|
+
}
|
|
197
|
+
// istanbul ignore next - don't trigger any side effects until stage "isReady"
|
|
198
|
+
if (!(this._isStageClosing || this._isApplicationClosing) || this.isReady) {
|
|
199
|
+
InternalFrontstageManager.onFrontstageNineZoneStateChangedEvent.emit({
|
|
200
|
+
frontstageDef: this,
|
|
201
|
+
state,
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
/** @internal */
|
|
206
|
+
get savedWidgetDefs() { return this._savedWidgetDefs; }
|
|
207
|
+
set savedWidgetDefs(widgets) {
|
|
208
|
+
this._savedWidgetDefs = widgets;
|
|
209
|
+
}
|
|
210
|
+
/** @internal */
|
|
211
|
+
get timeTracker() { return this._timeTracker; }
|
|
212
|
+
/** Created a [[FrontstageDef]] and initialize it */
|
|
213
|
+
static async create(provider) {
|
|
214
|
+
const def = new FrontstageDef();
|
|
215
|
+
def._frontstageProvider = provider;
|
|
216
|
+
if (provider.frontstageConfig) {
|
|
217
|
+
const config = provider.frontstageConfig();
|
|
218
|
+
const props = toFrontstageProps(config);
|
|
219
|
+
await def.initializeFromProps(props);
|
|
220
|
+
}
|
|
221
|
+
else {
|
|
222
|
+
await def.initializeFromProps(provider.frontstage.props);
|
|
223
|
+
}
|
|
224
|
+
return def;
|
|
225
|
+
}
|
|
226
|
+
/** Handles when the Frontstage becomes activated */
|
|
227
|
+
async _onActivated() { }
|
|
228
|
+
/** Handles when the Frontstage becomes activated */
|
|
229
|
+
async onActivated() {
|
|
230
|
+
this.updateWidgetDefs();
|
|
231
|
+
const provider = this._contentGroupProvider;
|
|
232
|
+
if (provider && this._initialProps) {
|
|
233
|
+
if (provider.contentGroup) {
|
|
234
|
+
const config = toFrontstageConfig(this._initialProps);
|
|
235
|
+
this._contentGroup = await provider.contentGroup(config);
|
|
236
|
+
}
|
|
237
|
+
else {
|
|
238
|
+
this._contentGroup = await provider.provideContentGroup(this._initialProps);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
// istanbul ignore next
|
|
242
|
+
if (!this._contentGroup)
|
|
243
|
+
throw new UiError(UiFramework.loggerCategory(this), `onActivated: Content Group not defined`);
|
|
244
|
+
this._contentLayoutDef = UiFramework.content.layouts.getForGroup(this._contentGroup);
|
|
245
|
+
UiFramework.frontstages.onContentLayoutActivatedEvent.emit({ contentLayout: this._contentLayoutDef, contentGroup: this._contentGroup });
|
|
246
|
+
this._timeTracker.startTiming();
|
|
247
|
+
await this._onActivated();
|
|
248
|
+
}
|
|
249
|
+
/** Handles when the Frontstage becomes inactive */
|
|
250
|
+
async _onDeactivated() { }
|
|
251
|
+
/** Handles when the Frontstage becomes inactive */
|
|
252
|
+
async onDeactivated() {
|
|
253
|
+
for (const control of this._widgetControls) {
|
|
254
|
+
control.onFrontstageDeactivated();
|
|
255
|
+
}
|
|
256
|
+
for (const control of this.contentControls) {
|
|
257
|
+
control.onFrontstageDeactivated();
|
|
258
|
+
}
|
|
259
|
+
// istanbul ignore else
|
|
260
|
+
if (this.contentGroup)
|
|
261
|
+
this.contentGroup.onFrontstageDeactivated();
|
|
262
|
+
// istanbul ignore next
|
|
263
|
+
if (this.contentGroupProvider)
|
|
264
|
+
await this.contentGroupProvider.onFrontstageDeactivated();
|
|
265
|
+
this._timeTracker.stopTiming();
|
|
266
|
+
this._isStageClosing = true; // this keeps widgets in child windows from automatically re-docking
|
|
267
|
+
UiFramework.childWindows.closeAll();
|
|
268
|
+
if (this._floatingContentControls) {
|
|
269
|
+
InternalContentDialogManager.closeAll();
|
|
270
|
+
this._floatingContentControls = undefined;
|
|
271
|
+
}
|
|
272
|
+
await this._onDeactivated();
|
|
273
|
+
this._isStageClosing = false;
|
|
274
|
+
}
|
|
275
|
+
/** @internal */
|
|
276
|
+
setIsApplicationClosing(value) {
|
|
277
|
+
this._isApplicationClosing = value;
|
|
278
|
+
}
|
|
279
|
+
/** Returns once the contained widgets and content controls are ready to use */
|
|
280
|
+
async waitUntilReady() {
|
|
281
|
+
this._isReady = false;
|
|
282
|
+
// create an array of control-ready promises
|
|
283
|
+
const controlReadyPromises = new Array();
|
|
284
|
+
this._widgetControls.forEach((control) => {
|
|
285
|
+
controlReadyPromises.push(control.isReady);
|
|
286
|
+
});
|
|
287
|
+
// istanbul ignore else
|
|
288
|
+
if (this.contentLayoutDef) {
|
|
289
|
+
const usedContentIndexes = this.contentLayoutDef.getUsedContentIndexes();
|
|
290
|
+
this.contentControls.forEach((control, index) => {
|
|
291
|
+
// istanbul ignore else
|
|
292
|
+
if (usedContentIndexes.includes(index))
|
|
293
|
+
controlReadyPromises.push(control.isReady);
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
await Promise.all(controlReadyPromises);
|
|
297
|
+
// Frontstage ready
|
|
298
|
+
this._isReady = true;
|
|
299
|
+
}
|
|
300
|
+
/** Handles when the Frontstage becomes active */
|
|
301
|
+
_onFrontstageReady() { }
|
|
302
|
+
/** Handles when the Frontstage becomes active */
|
|
303
|
+
onFrontstageReady() {
|
|
304
|
+
for (const control of this._widgetControls) {
|
|
305
|
+
control.onFrontstageReady();
|
|
306
|
+
}
|
|
307
|
+
for (const control of this.contentControls) {
|
|
308
|
+
control.onFrontstageReady();
|
|
309
|
+
}
|
|
310
|
+
// istanbul ignore else
|
|
311
|
+
if (this.contentGroup)
|
|
312
|
+
this.contentGroup.onFrontstageReady();
|
|
313
|
+
this._onFrontstageReady();
|
|
314
|
+
}
|
|
315
|
+
/** Starts the default tool for the Frontstage.
|
|
316
|
+
* @deprecated in 3.6. UI 1.0 will be removed in AppUi 4.0.
|
|
317
|
+
*/
|
|
318
|
+
startDefaultTool() {
|
|
319
|
+
// Start the default tool
|
|
320
|
+
// istanbul ignore next
|
|
321
|
+
if (IModelApp.toolAdmin && IModelApp.viewManager) {
|
|
322
|
+
if (this.defaultTool) {
|
|
323
|
+
IModelApp.toolAdmin.defaultToolId = this.defaultTool.toolId;
|
|
324
|
+
this.defaultTool.execute();
|
|
325
|
+
}
|
|
326
|
+
else {
|
|
327
|
+
IModelApp.toolAdmin.startDefaultTool(); // eslint-disable-line @typescript-eslint/no-floating-promises
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
/** Sets the Content Layout and Content Group */
|
|
332
|
+
setContentLayoutAndGroup(contentLayoutDef, contentGroup) {
|
|
333
|
+
this._contentLayoutDef = contentLayoutDef;
|
|
334
|
+
this._contentGroup = contentGroup;
|
|
335
|
+
}
|
|
336
|
+
/** Sets the active view content control to the default or first */
|
|
337
|
+
async setActiveContent() {
|
|
338
|
+
let contentControl;
|
|
339
|
+
let activated = false;
|
|
340
|
+
if (this.contentGroup && this.defaultContentId) {
|
|
341
|
+
contentControl = this.contentGroup.getContentControlById(this.defaultContentId);
|
|
342
|
+
}
|
|
343
|
+
// istanbul ignore else
|
|
344
|
+
if (!contentControl && this.contentControls.length >= 0) {
|
|
345
|
+
contentControl = this.contentControls[0];
|
|
346
|
+
}
|
|
347
|
+
if (contentControl) {
|
|
348
|
+
UiFramework.content.setActive(contentControl.reactNode, true);
|
|
349
|
+
if (contentControl.viewport) {
|
|
350
|
+
const status = await IModelApp.viewManager.setSelectedView(contentControl.viewport);
|
|
351
|
+
activated = status === BentleyStatus.SUCCESS;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
return activated;
|
|
355
|
+
}
|
|
356
|
+
/** Sets the active view content control */
|
|
357
|
+
setActiveView(newContent, oldContent) {
|
|
358
|
+
if (oldContent)
|
|
359
|
+
oldContent.onDeactivated();
|
|
360
|
+
newContent.onActivated();
|
|
361
|
+
UiFramework.frontstages.onContentControlActivatedEvent.emit({ activeContentControl: newContent, oldContentControl: oldContent });
|
|
362
|
+
}
|
|
363
|
+
/** Sets the active view content control based on the selected viewport. */
|
|
364
|
+
setActiveViewFromViewport(viewport) {
|
|
365
|
+
const contentControl = this.contentControls.find((control) => control.viewport === viewport);
|
|
366
|
+
// istanbul ignore else
|
|
367
|
+
if (contentControl) {
|
|
368
|
+
UiFramework.content.setActive(contentControl.reactNode, true);
|
|
369
|
+
return true;
|
|
370
|
+
}
|
|
371
|
+
// istanbul ignore next
|
|
372
|
+
return false;
|
|
373
|
+
}
|
|
374
|
+
/** Gets a [[ZoneDef]] based on a given zone id.
|
|
375
|
+
* @deprecated in 3.6. UI1.0 is deprecated.
|
|
376
|
+
*/
|
|
377
|
+
getZoneDef(zoneId) {
|
|
378
|
+
let zoneDef;
|
|
379
|
+
switch (zoneId) {
|
|
380
|
+
case 1:
|
|
381
|
+
zoneDef = this.topLeft;
|
|
382
|
+
break;
|
|
383
|
+
case 2:
|
|
384
|
+
zoneDef = this.topCenter;
|
|
385
|
+
break;
|
|
386
|
+
case 3:
|
|
387
|
+
zoneDef = this.topRight;
|
|
388
|
+
break;
|
|
389
|
+
case 4:
|
|
390
|
+
zoneDef = this.centerLeft;
|
|
391
|
+
break;
|
|
392
|
+
case 6:
|
|
393
|
+
zoneDef = this.centerRight;
|
|
394
|
+
break;
|
|
395
|
+
case 7:
|
|
396
|
+
zoneDef = this.bottomLeft;
|
|
397
|
+
break;
|
|
398
|
+
case 8:
|
|
399
|
+
zoneDef = this.bottomCenter;
|
|
400
|
+
break;
|
|
401
|
+
case 9:
|
|
402
|
+
zoneDef = this.bottomRight;
|
|
403
|
+
break;
|
|
404
|
+
// istanbul ignore next
|
|
405
|
+
default:
|
|
406
|
+
throw new RangeError();
|
|
407
|
+
}
|
|
408
|
+
// Zones can be undefined in a Frontstage
|
|
409
|
+
return zoneDef;
|
|
410
|
+
}
|
|
411
|
+
/** Gets a list of [[ZoneDef]]s.
|
|
412
|
+
* @deprecated in 3.6. UI1.0 is deprecated.
|
|
413
|
+
*/
|
|
414
|
+
get zoneDefs() {
|
|
415
|
+
const zones = [1, 2, 3, 4, 6, 7, 8, 9];
|
|
416
|
+
const zoneDefs = [];
|
|
417
|
+
zones.forEach((zoneId) => {
|
|
418
|
+
const zoneDef = this.getZoneDef(zoneId);
|
|
419
|
+
if (zoneDef)
|
|
420
|
+
zoneDefs.push(zoneDef);
|
|
421
|
+
});
|
|
422
|
+
return zoneDefs;
|
|
423
|
+
}
|
|
424
|
+
/** Gets a [[StagePanelDef]] based on a given panel location
|
|
425
|
+
* @beta
|
|
426
|
+
*/
|
|
427
|
+
getStagePanelDef(location) {
|
|
428
|
+
let panelDef;
|
|
429
|
+
switch (location) {
|
|
430
|
+
case StagePanelLocation.Top:
|
|
431
|
+
panelDef = this.topPanel;
|
|
432
|
+
break;
|
|
433
|
+
case StagePanelLocation.TopMost:
|
|
434
|
+
panelDef = this.topMostPanel; // eslint-disable-line deprecation/deprecation
|
|
435
|
+
break;
|
|
436
|
+
case StagePanelLocation.Left:
|
|
437
|
+
panelDef = this.leftPanel;
|
|
438
|
+
break;
|
|
439
|
+
case StagePanelLocation.Right:
|
|
440
|
+
panelDef = this.rightPanel;
|
|
441
|
+
break;
|
|
442
|
+
case StagePanelLocation.Bottom:
|
|
443
|
+
panelDef = this.bottomPanel;
|
|
444
|
+
break;
|
|
445
|
+
case StagePanelLocation.BottomMost:
|
|
446
|
+
panelDef = this.bottomMostPanel; // eslint-disable-line deprecation/deprecation
|
|
447
|
+
break;
|
|
448
|
+
// istanbul ignore next
|
|
449
|
+
default:
|
|
450
|
+
throw new RangeError();
|
|
451
|
+
}
|
|
452
|
+
// Panels can be undefined in a Frontstage
|
|
453
|
+
return panelDef;
|
|
454
|
+
}
|
|
455
|
+
/** Gets a list of [[StagePanelDef]]s
|
|
456
|
+
* @beta
|
|
457
|
+
*/
|
|
458
|
+
get panelDefs() {
|
|
459
|
+
const panels = [
|
|
460
|
+
StagePanelLocation.Left, StagePanelLocation.Right,
|
|
461
|
+
StagePanelLocation.Top, StagePanelLocation.TopMost,
|
|
462
|
+
StagePanelLocation.Bottom, StagePanelLocation.BottomMost,
|
|
463
|
+
];
|
|
464
|
+
const panelDefs = [];
|
|
465
|
+
panels.forEach((location) => {
|
|
466
|
+
const panelDef = this.getStagePanelDef(location);
|
|
467
|
+
if (panelDef)
|
|
468
|
+
panelDefs.push(panelDef);
|
|
469
|
+
});
|
|
470
|
+
return panelDefs;
|
|
471
|
+
}
|
|
472
|
+
/** Finds a [[WidgetDef]] based on a given id */
|
|
473
|
+
findWidgetDef(id) {
|
|
474
|
+
for (const zoneDef of this.zoneDefs) {
|
|
475
|
+
const widgetDef = zoneDef.findWidgetDef(id);
|
|
476
|
+
if (widgetDef)
|
|
477
|
+
return widgetDef;
|
|
478
|
+
}
|
|
479
|
+
for (const panelDef of this.panelDefs) {
|
|
480
|
+
const widgetDef = panelDef.findWidgetDef(id);
|
|
481
|
+
if (widgetDef)
|
|
482
|
+
return widgetDef;
|
|
483
|
+
}
|
|
484
|
+
// istanbul ignore next
|
|
485
|
+
return undefined;
|
|
486
|
+
}
|
|
487
|
+
/** Gets the list of [[WidgetControl]]s */
|
|
488
|
+
get _widgetControls() {
|
|
489
|
+
const widgetControls = new Array();
|
|
490
|
+
this.zoneDefs.forEach((zoneDef) => {
|
|
491
|
+
zoneDef.widgetDefs.forEach((widgetDef) => {
|
|
492
|
+
const widgetControl = widgetDef.widgetControl;
|
|
493
|
+
if (widgetControl)
|
|
494
|
+
widgetControls.push(widgetControl);
|
|
495
|
+
});
|
|
496
|
+
});
|
|
497
|
+
this.panelDefs.forEach((panelDef) => {
|
|
498
|
+
panelDef.widgetDefs.forEach((widgetDef) => {
|
|
499
|
+
const widgetControl = widgetDef.widgetControl;
|
|
500
|
+
// istanbul ignore if
|
|
501
|
+
if (widgetControl)
|
|
502
|
+
widgetControls.push(widgetControl);
|
|
503
|
+
});
|
|
504
|
+
});
|
|
505
|
+
return widgetControls;
|
|
506
|
+
}
|
|
507
|
+
addFloatingContentControl(contentControl) {
|
|
508
|
+
// istanbul ignore next
|
|
509
|
+
if (!contentControl)
|
|
510
|
+
return;
|
|
511
|
+
if (!this._floatingContentControls)
|
|
512
|
+
this._floatingContentControls = new Array();
|
|
513
|
+
this._floatingContentControls.push(contentControl);
|
|
514
|
+
UiFramework.content.onAvailableContentChangedEvent.emit({ contentId: contentControl.uniqueId });
|
|
515
|
+
}
|
|
516
|
+
dropFloatingContentControl(contentControl) {
|
|
517
|
+
// istanbul ignore next
|
|
518
|
+
if (!contentControl || !this._floatingContentControls)
|
|
519
|
+
return;
|
|
520
|
+
const index = this._floatingContentControls.indexOf(contentControl);
|
|
521
|
+
// istanbul ignore else
|
|
522
|
+
if (index > -1) {
|
|
523
|
+
this._floatingContentControls.splice(index, 1);
|
|
524
|
+
UiFramework.content.onAvailableContentChangedEvent.emit({ contentId: contentControl.uniqueId });
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
/** Gets the list of [[ContentControl]]s */
|
|
528
|
+
get contentControls() {
|
|
529
|
+
const contentControls = new Array();
|
|
530
|
+
// istanbul ignore else
|
|
531
|
+
if (this.contentGroup) {
|
|
532
|
+
contentControls.push(...this.contentGroup.getContentControls());
|
|
533
|
+
}
|
|
534
|
+
if (this._floatingContentControls) {
|
|
535
|
+
contentControls.push(...this._floatingContentControls);
|
|
536
|
+
}
|
|
537
|
+
return contentControls;
|
|
538
|
+
}
|
|
539
|
+
/** Initializes a FrontstageDef from FrontstageProps
|
|
540
|
+
* @internal
|
|
541
|
+
*/
|
|
542
|
+
async initializeFromProps(props) {
|
|
543
|
+
this._id = props.id;
|
|
544
|
+
this._initialProps = props;
|
|
545
|
+
this._defaultTool = props.defaultTool; // Might be `undefined`, see `toFrontstageProps`.
|
|
546
|
+
if (props.defaultContentId !== undefined)
|
|
547
|
+
this._defaultContentId = props.defaultContentId;
|
|
548
|
+
if (props.contentGroup instanceof ContentGroupProvider) {
|
|
549
|
+
this._contentGroupProvider = props.contentGroup;
|
|
550
|
+
}
|
|
551
|
+
else {
|
|
552
|
+
this._contentGroup = props.contentGroup;
|
|
553
|
+
}
|
|
554
|
+
if (props.isInFooterMode !== undefined)
|
|
555
|
+
this._isInFooterMode = props.isInFooterMode;
|
|
556
|
+
this._applicationData = props.applicationData;
|
|
557
|
+
this._usage = props.usage;
|
|
558
|
+
this._version = props.version || 0;
|
|
559
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
560
|
+
this._topLeft = Frontstage.createZoneDef(props.contentManipulationTools ? props.contentManipulationTools : props.topLeft, ZoneLocation.TopLeft, props);
|
|
561
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
562
|
+
this._topCenter = Frontstage.createZoneDef(props.toolSettings ? props.toolSettings : props.topCenter, ZoneLocation.TopCenter, props);
|
|
563
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
564
|
+
this._topRight = Frontstage.createZoneDef(props.viewNavigationTools ? /* istanbul ignore next */ props.viewNavigationTools : props.topRight, ZoneLocation.TopRight, props);
|
|
565
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
566
|
+
this._centerLeft = Frontstage.createZoneDef(props.centerLeft, ZoneLocation.CenterLeft, props);
|
|
567
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
568
|
+
this._centerRight = Frontstage.createZoneDef(props.centerRight, ZoneLocation.CenterRight, props);
|
|
569
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
570
|
+
this._bottomLeft = Frontstage.createZoneDef(props.bottomLeft, ZoneLocation.BottomLeft, props);
|
|
571
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
572
|
+
this._bottomCenter = Frontstage.createZoneDef(props.statusBar ? props.statusBar : props.bottomCenter, ZoneLocation.BottomCenter, props);
|
|
573
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
574
|
+
this._bottomRight = Frontstage.createZoneDef(props.bottomRight, ZoneLocation.BottomRight, props);
|
|
575
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
576
|
+
this._topPanel = Frontstage.createStagePanelDef(StagePanelLocation.Top, props);
|
|
577
|
+
this._topMostPanel = Frontstage.createStagePanelDef(StagePanelLocation.TopMost, props);
|
|
578
|
+
this._leftPanel = Frontstage.createStagePanelDef(StagePanelLocation.Left, props);
|
|
579
|
+
this._rightPanel = Frontstage.createStagePanelDef(StagePanelLocation.Right, props);
|
|
580
|
+
this._bottomPanel = Frontstage.createStagePanelDef(StagePanelLocation.Bottom, props);
|
|
581
|
+
this._bottomMostPanel = Frontstage.createStagePanelDef(StagePanelLocation.BottomMost, props);
|
|
582
|
+
}
|
|
583
|
+
/** @internal */
|
|
584
|
+
updateWidgetDefs() {
|
|
585
|
+
// Tracks provided widgets to prevent duplicates.
|
|
586
|
+
const allStageWidgetDefs = [];
|
|
587
|
+
// Process panels before zones so in uiVersion="2" extension can explicitly target a widget for a StagePanelSection
|
|
588
|
+
this.panelDefs.forEach((stagePanelDef) => {
|
|
589
|
+
stagePanelDef.updateDynamicWidgetDefs(this.id, this.usage, stagePanelDef.location, undefined, allStageWidgetDefs, this.applicationData);
|
|
590
|
+
});
|
|
591
|
+
this.zoneDefs.forEach((zoneDef) => {
|
|
592
|
+
zoneDef.updateDynamicWidgetDefs(this.id, this.usage, zoneDef.zoneLocation, undefined, allStageWidgetDefs, this.applicationData);
|
|
593
|
+
});
|
|
594
|
+
}
|
|
595
|
+
/** @beta */
|
|
596
|
+
restoreLayout() {
|
|
597
|
+
for (const panelDef of this.panelDefs) {
|
|
598
|
+
panelDef.size = panelDef.defaultSize;
|
|
599
|
+
panelDef.panelState = panelDef.defaultState;
|
|
600
|
+
}
|
|
601
|
+
for (const widgetDef of this.widgetDefs) {
|
|
602
|
+
widgetDef.setWidgetState(widgetDef.defaultState);
|
|
603
|
+
}
|
|
604
|
+
InternalFrontstageManager.onFrontstageRestoreLayoutEvent.emit({ frontstageDef: this });
|
|
605
|
+
}
|
|
606
|
+
/** Used only in UI 2.0 to determine WidgetState from NinezoneState
|
|
607
|
+
* @internal
|
|
608
|
+
*/
|
|
609
|
+
getWidgetCurrentState(widgetDef) {
|
|
610
|
+
// istanbul ignore else
|
|
611
|
+
if (this.nineZoneState) {
|
|
612
|
+
const location = getTabLocation(this.nineZoneState, widgetDef.id);
|
|
613
|
+
// istanbul ignore next
|
|
614
|
+
if (!location)
|
|
615
|
+
return WidgetState.Hidden;
|
|
616
|
+
if (isFloatingTabLocation(location)) {
|
|
617
|
+
const floatingWidget = this.nineZoneState.floatingWidgets.byId[location.floatingWidgetId];
|
|
618
|
+
if (floatingWidget && floatingWidget.hidden)
|
|
619
|
+
return WidgetState.Hidden;
|
|
620
|
+
else
|
|
621
|
+
return WidgetState.Floating;
|
|
622
|
+
}
|
|
623
|
+
let collapsedPanel = false;
|
|
624
|
+
// istanbul ignore else
|
|
625
|
+
if ("side" in location) {
|
|
626
|
+
const panel = this.nineZoneState.panels[location.side];
|
|
627
|
+
collapsedPanel = panel.collapsed || undefined === panel.size || 0 === panel.size;
|
|
628
|
+
}
|
|
629
|
+
const widgetContainer = this.nineZoneState.widgets[location.widgetId];
|
|
630
|
+
if (widgetDef.id === widgetContainer.activeTabId && !collapsedPanel)
|
|
631
|
+
return WidgetState.Open;
|
|
632
|
+
else
|
|
633
|
+
return WidgetState.Closed;
|
|
634
|
+
}
|
|
635
|
+
return widgetDef.defaultState;
|
|
636
|
+
}
|
|
637
|
+
/** Used only in UI 2.0 to determine StagePanelState and size from NinezoneState
|
|
638
|
+
* @internal
|
|
639
|
+
*/
|
|
640
|
+
getPanelCurrentState(panelDef) {
|
|
641
|
+
var _a, _b;
|
|
642
|
+
// istanbul ignore next
|
|
643
|
+
if (this.nineZoneState) {
|
|
644
|
+
const side = toPanelSide(panelDef.location);
|
|
645
|
+
const panel = this.nineZoneState.panels[side];
|
|
646
|
+
if (panel)
|
|
647
|
+
return [panel.collapsed ? StagePanelState.Minimized : StagePanelState.Open, (_a = panel.size) !== null && _a !== void 0 ? _a : 0];
|
|
648
|
+
return [StagePanelState.Off, 0];
|
|
649
|
+
}
|
|
650
|
+
return [panelDef.defaultState, (_b = panelDef.defaultSize) !== null && _b !== void 0 ? _b : 0];
|
|
651
|
+
}
|
|
652
|
+
isPopoutWidget(widgetId) {
|
|
653
|
+
// istanbul ignore else
|
|
654
|
+
if (this.nineZoneState) {
|
|
655
|
+
const location = getTabLocation(this.nineZoneState, widgetId);
|
|
656
|
+
// istanbul ignore else
|
|
657
|
+
if (location)
|
|
658
|
+
return isPopoutTabLocation(location);
|
|
659
|
+
}
|
|
660
|
+
return false;
|
|
661
|
+
}
|
|
662
|
+
isFloatingWidget(widgetId) {
|
|
663
|
+
// istanbul ignore else
|
|
664
|
+
if (this.nineZoneState) {
|
|
665
|
+
const location = getTabLocation(this.nineZoneState, widgetId);
|
|
666
|
+
// istanbul ignore else
|
|
667
|
+
if (location)
|
|
668
|
+
return isFloatingTabLocation(location);
|
|
669
|
+
}
|
|
670
|
+
return false;
|
|
671
|
+
}
|
|
672
|
+
/** Create a new floating panel that contains the widget specified by its Id. Supported only when in
|
|
673
|
+
* UI 2.0 or higher.
|
|
674
|
+
* @param widgetId case sensitive Widget Id
|
|
675
|
+
* @param point Position of top left corner of floating panel in pixels. If undefined {x:50, y:100} is used.
|
|
676
|
+
* @param size defines the width and height of the floating panel. If undefined and widget has been floated before
|
|
677
|
+
* the previous size is used, else {height:400, width:400} is used.
|
|
678
|
+
* @beta
|
|
679
|
+
*/
|
|
680
|
+
floatWidget(widgetId, point, size) {
|
|
681
|
+
// istanbul ignore else
|
|
682
|
+
if (this.nineZoneState) {
|
|
683
|
+
const location = getTabLocation(this.nineZoneState, widgetId);
|
|
684
|
+
if (location) {
|
|
685
|
+
let popoutWidgetContainerId;
|
|
686
|
+
if (isPopoutTabLocation(location)) {
|
|
687
|
+
popoutWidgetContainerId = location.popoutWidgetId;
|
|
688
|
+
}
|
|
689
|
+
const state = floatWidget(this.nineZoneState, widgetId, point, size);
|
|
690
|
+
// istanbul ignore else
|
|
691
|
+
if (state) {
|
|
692
|
+
this.nineZoneState = state;
|
|
693
|
+
setTimeout(() => {
|
|
694
|
+
popoutWidgetContainerId && UiFramework.childWindows.close(popoutWidgetContainerId, true);
|
|
695
|
+
}, 600);
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
/** Check widget and panel state to determine whether the widget is currently displayed
|
|
701
|
+
* @param widgetId case-sensitive Widget Id
|
|
702
|
+
* @public
|
|
703
|
+
*/
|
|
704
|
+
isWidgetDisplayed(widgetId) {
|
|
705
|
+
let widgetIsVisible = false;
|
|
706
|
+
// istanbul ignore else
|
|
707
|
+
if (this.nineZoneState) {
|
|
708
|
+
const tabLocation = getTabLocation(this.nineZoneState, widgetId);
|
|
709
|
+
// istanbul ignore else
|
|
710
|
+
if (tabLocation) {
|
|
711
|
+
if (isFloatingTabLocation(tabLocation)) {
|
|
712
|
+
const floatingWidget = this.nineZoneState.floatingWidgets.byId[tabLocation.floatingWidgetId];
|
|
713
|
+
// istanbul ignore else
|
|
714
|
+
if (!!!floatingWidget.hidden)
|
|
715
|
+
widgetIsVisible = true;
|
|
716
|
+
}
|
|
717
|
+
else if (isPopoutTabLocation(tabLocation)) {
|
|
718
|
+
widgetIsVisible = true;
|
|
719
|
+
}
|
|
720
|
+
else {
|
|
721
|
+
// istanbul ignore else
|
|
722
|
+
if (isPanelTabLocation(tabLocation)) {
|
|
723
|
+
const panel = this.nineZoneState.panels[tabLocation.side];
|
|
724
|
+
const widgetDef = this.findWidgetDef(widgetId);
|
|
725
|
+
if (widgetDef && widgetDef.state === WidgetState.Open && !panel.collapsed)
|
|
726
|
+
widgetIsVisible = true;
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
return widgetIsVisible;
|
|
732
|
+
}
|
|
733
|
+
/** Opens window for specified PopoutWidget container. Used to reopen popout when running in Electron.
|
|
734
|
+
* @internal */
|
|
735
|
+
openPopoutWidgetContainer(state, widgetContainerId) {
|
|
736
|
+
const location = getWidgetLocation(state, widgetContainerId);
|
|
737
|
+
// istanbul ignore next
|
|
738
|
+
if (!location)
|
|
739
|
+
return;
|
|
740
|
+
// istanbul ignore next
|
|
741
|
+
if (!isPopoutWidgetLocation(location))
|
|
742
|
+
return;
|
|
743
|
+
const widget = state.widgets[widgetContainerId];
|
|
744
|
+
const popoutWidget = state.popoutWidgets.byId[location.popoutWidgetId];
|
|
745
|
+
// Popout widget should only contain a single tab.
|
|
746
|
+
// istanbul ignore next
|
|
747
|
+
if (widget.tabs.length !== 1)
|
|
748
|
+
return;
|
|
749
|
+
const tabId = widget.tabs[0];
|
|
750
|
+
const widgetDef = this.findWidgetDef(tabId);
|
|
751
|
+
// istanbul ignore next
|
|
752
|
+
if (!widgetDef)
|
|
753
|
+
return;
|
|
754
|
+
const popoutContent = (React.createElement(PopoutWidget, { widgetContainerId: widgetContainerId, widgetDef: widgetDef }));
|
|
755
|
+
const bounds = Rectangle.create(popoutWidget.bounds);
|
|
756
|
+
const position = {
|
|
757
|
+
width: bounds.getWidth(),
|
|
758
|
+
height: bounds.getHeight(),
|
|
759
|
+
left: bounds.left,
|
|
760
|
+
top: bounds.top,
|
|
761
|
+
};
|
|
762
|
+
UiFramework.childWindows.open(widgetContainerId, widgetDef.label, popoutContent, position, UiFramework.useDefaultPopoutUrl);
|
|
763
|
+
}
|
|
764
|
+
/** Create a new popout/child window that contains the widget specified by its Id. Supported only when in
|
|
765
|
+
* UI 2.0 or higher.
|
|
766
|
+
* @param widgetId case sensitive Widget Id
|
|
767
|
+
* @param point Position of top left corner of floating panel in pixels. If undefined {x:0, y:0} is used.
|
|
768
|
+
* @param size defines the width and height of the floating panel. If undefined and widget has been floated before
|
|
769
|
+
* the previous size is used, else {height:800, width:600} is used.
|
|
770
|
+
* @beta
|
|
771
|
+
*/
|
|
772
|
+
popoutWidget(widgetId, point, size) {
|
|
773
|
+
// istanbul ignore next
|
|
774
|
+
if (!this.nineZoneState)
|
|
775
|
+
return;
|
|
776
|
+
let location = getTabLocation(this.nineZoneState, widgetId);
|
|
777
|
+
if (!location || isPopoutTabLocation(location))
|
|
778
|
+
return;
|
|
779
|
+
const widgetDef = this.findWidgetDef(widgetId);
|
|
780
|
+
// istanbul ignore next
|
|
781
|
+
if (!widgetDef)
|
|
782
|
+
return;
|
|
783
|
+
// get the state to apply that will pop-out the specified WidgetTab to child window.
|
|
784
|
+
let preferredBounds = Rectangle.createFromSize({ height: 800, width: 600 });
|
|
785
|
+
// istanbul ignore next
|
|
786
|
+
if (widgetDef.popoutBounds)
|
|
787
|
+
preferredBounds = widgetDef.popoutBounds;
|
|
788
|
+
if (size)
|
|
789
|
+
preferredBounds = preferredBounds.setSize(size);
|
|
790
|
+
if (point)
|
|
791
|
+
preferredBounds = preferredBounds.setPosition(point);
|
|
792
|
+
const state = popoutWidgetToChildWindow(this.nineZoneState, widgetId, preferredBounds);
|
|
793
|
+
this.nineZoneState = state;
|
|
794
|
+
// now that the state is updated get the id of the container that houses the widgetTab/widgetId
|
|
795
|
+
location = getTabLocation(state, widgetId);
|
|
796
|
+
assert(!!location && isPopoutTabLocation(location));
|
|
797
|
+
const widgetContainerId = location.widgetId;
|
|
798
|
+
const popoutWidget = state.popoutWidgets.byId[widgetContainerId];
|
|
799
|
+
const bounds = Rectangle.create(popoutWidget.bounds);
|
|
800
|
+
setTimeout(() => {
|
|
801
|
+
const popoutContent = (React.createElement(PopoutWidget, { widgetContainerId: widgetContainerId, widgetDef: widgetDef }));
|
|
802
|
+
const position = {
|
|
803
|
+
width: bounds.getWidth(),
|
|
804
|
+
height: bounds.getHeight(),
|
|
805
|
+
left: bounds.left,
|
|
806
|
+
top: bounds.top,
|
|
807
|
+
};
|
|
808
|
+
UiFramework.childWindows.open(widgetContainerId, widgetDef.label, popoutContent, position, UiFramework.useDefaultPopoutUrl);
|
|
809
|
+
});
|
|
810
|
+
}
|
|
811
|
+
get isStageClosing() {
|
|
812
|
+
return this._isStageClosing;
|
|
813
|
+
}
|
|
814
|
+
get isApplicationClosing() {
|
|
815
|
+
return this._isApplicationClosing;
|
|
816
|
+
}
|
|
817
|
+
get isReady() {
|
|
818
|
+
return this._isReady;
|
|
819
|
+
}
|
|
820
|
+
/** @internal */
|
|
821
|
+
saveChildWindowSizeAndPosition(childWindowId, childWindow) {
|
|
822
|
+
if (!this.nineZoneState)
|
|
823
|
+
return;
|
|
824
|
+
const location = getWidgetLocation(this.nineZoneState, childWindowId);
|
|
825
|
+
if (!location || !isPopoutWidgetLocation(location))
|
|
826
|
+
return;
|
|
827
|
+
const widget = this.nineZoneState.widgets[location.popoutWidgetId];
|
|
828
|
+
const tabId = widget.tabs[0];
|
|
829
|
+
const widgetDef = this.findWidgetDef(tabId);
|
|
830
|
+
if (!widgetDef)
|
|
831
|
+
return;
|
|
832
|
+
const adjustmentWidth = ProcessDetector.isElectronAppFrontend ? 16 : 0;
|
|
833
|
+
const adjustmentHeight = ProcessDetector.isElectronAppFrontend ? 39 : 0;
|
|
834
|
+
const width = childWindow.innerWidth + adjustmentWidth;
|
|
835
|
+
const height = childWindow.innerHeight + adjustmentHeight;
|
|
836
|
+
const bounds = Rectangle.createFromSize({ width, height }).offset({ x: childWindow.screenX, y: childWindow.screenY });
|
|
837
|
+
widgetDef.popoutBounds = bounds;
|
|
838
|
+
}
|
|
839
|
+
/** Method used to possibly change a Popout Widget back to a docked widget if the user was the one closing the popout's child
|
|
840
|
+
* window.
|
|
841
|
+
* @internal
|
|
842
|
+
*/
|
|
843
|
+
dockPopoutWidgetContainer(widgetContainerId) {
|
|
844
|
+
if (!this.nineZoneState)
|
|
845
|
+
return;
|
|
846
|
+
// Make sure the widgetContainerId is still in popout state. We don't want to set it to docked if the window is being closed because
|
|
847
|
+
// an API call has moved the widget from a popout state to a floating state.
|
|
848
|
+
// istanbul ignore else
|
|
849
|
+
const location = getWidgetLocation(this.nineZoneState, widgetContainerId);
|
|
850
|
+
if (!location || !isPopoutWidgetLocation(location))
|
|
851
|
+
return;
|
|
852
|
+
const state = dockWidgetContainer(this.nineZoneState, widgetContainerId, true);
|
|
853
|
+
this.nineZoneState = state;
|
|
854
|
+
}
|
|
855
|
+
/** Finds the container with the specified widget and re-docks all widgets
|
|
856
|
+
* back to the panel zone location that was used when the floating container
|
|
857
|
+
* was generated. Supported only when in UI 2.0 or higher.
|
|
858
|
+
* @param widgetId case sensitive Widget Id.
|
|
859
|
+
* @beta
|
|
860
|
+
*/
|
|
861
|
+
dockWidgetContainer(widgetId) {
|
|
862
|
+
// istanbul ignore else
|
|
863
|
+
if (this.nineZoneState) {
|
|
864
|
+
const location = getTabLocation(this.nineZoneState, widgetId);
|
|
865
|
+
if (location) {
|
|
866
|
+
const widgetContainerId = location.widgetId;
|
|
867
|
+
const state = dockWidgetContainer(this.nineZoneState, widgetContainerId, true);
|
|
868
|
+
state && (this.nineZoneState = state);
|
|
869
|
+
if (isPopoutTabLocation(location)) {
|
|
870
|
+
UiFramework.childWindows.close(location.widgetId, true);
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
setFloatingWidgetContainerBounds(floatingWidgetId, bounds) {
|
|
876
|
+
if (!this.nineZoneState || !(floatingWidgetId in this.nineZoneState.floatingWidgets.byId))
|
|
877
|
+
return false;
|
|
878
|
+
let state = FrameworkStateReducer(this.nineZoneState, {
|
|
879
|
+
type: "FLOATING_WIDGET_SET_BOUNDS",
|
|
880
|
+
id: floatingWidgetId,
|
|
881
|
+
bounds,
|
|
882
|
+
}, this);
|
|
883
|
+
state = FrameworkStateReducer(state, {
|
|
884
|
+
type: "FLOATING_WIDGET_SET_USER_SIZED",
|
|
885
|
+
id: floatingWidgetId,
|
|
886
|
+
userSized: true,
|
|
887
|
+
}, this);
|
|
888
|
+
this.nineZoneState = state;
|
|
889
|
+
return true;
|
|
890
|
+
}
|
|
891
|
+
getFloatingWidgetContainerIds() {
|
|
892
|
+
if (!this.nineZoneState)
|
|
893
|
+
return [];
|
|
894
|
+
return [...this.nineZoneState.floatingWidgets.allIds];
|
|
895
|
+
}
|
|
896
|
+
getFloatingWidgetContainerIdByWidgetId(widgetId) {
|
|
897
|
+
if (!this.nineZoneState)
|
|
898
|
+
return undefined;
|
|
899
|
+
const location = getTabLocation(this.nineZoneState, widgetId);
|
|
900
|
+
// istanbul ignore else
|
|
901
|
+
if (location && isFloatingTabLocation(location)) {
|
|
902
|
+
return location.floatingWidgetId;
|
|
903
|
+
}
|
|
904
|
+
// istanbul ignore next
|
|
905
|
+
return undefined;
|
|
906
|
+
}
|
|
907
|
+
getFloatingWidgetContainerBounds(floatingWidgetId) {
|
|
908
|
+
if (!floatingWidgetId)
|
|
909
|
+
return undefined;
|
|
910
|
+
// istanbul ignore else
|
|
911
|
+
if (this.nineZoneState && (floatingWidgetId in this.nineZoneState.floatingWidgets.byId)) {
|
|
912
|
+
const foundWidget = document.querySelector(`div.nz-widget-floatingWidget[data-widget-id='${floatingWidgetId}']`);
|
|
913
|
+
// istanbul ignore next
|
|
914
|
+
if (foundWidget) {
|
|
915
|
+
const domRect = foundWidget.getBoundingClientRect();
|
|
916
|
+
return { left: domRect.left, right: domRect.right, top: domRect.top, bottom: domRect.bottom };
|
|
917
|
+
}
|
|
918
|
+
return this.nineZoneState.floatingWidgets.byId[floatingWidgetId].bounds;
|
|
919
|
+
}
|
|
920
|
+
return undefined;
|
|
921
|
+
}
|
|
922
|
+
*_widgetDefs() {
|
|
923
|
+
for (const zoneDef of this.zoneDefs) {
|
|
924
|
+
for (const widgetDef of zoneDef.widgetDefs) {
|
|
925
|
+
yield widgetDef;
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
for (const panelDef of this.panelDefs) {
|
|
929
|
+
for (const widgetDef of panelDef.widgetDefs) {
|
|
930
|
+
yield widgetDef;
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
return undefined;
|
|
934
|
+
}
|
|
935
|
+
/** Iterable of all widget definitions in a frontstage.
|
|
936
|
+
* @internal
|
|
937
|
+
*/
|
|
938
|
+
get widgetDefs() {
|
|
939
|
+
const defs = this._widgetDefs();
|
|
940
|
+
return {
|
|
941
|
+
[Symbol.iterator]() {
|
|
942
|
+
return defs;
|
|
943
|
+
},
|
|
944
|
+
};
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
function toFrontstageProps(config) {
|
|
948
|
+
const { contentManipulation, viewNavigation, toolSettings, statusBar, topPanel, leftPanel, bottomPanel, rightPanel, ...other } = config;
|
|
949
|
+
const props = {
|
|
950
|
+
...other,
|
|
951
|
+
defaultTool: undefined,
|
|
952
|
+
toolSettings: toolSettings ? toZoneElement(toolSettings) : undefined,
|
|
953
|
+
statusBar: statusBar ? toZoneElement(statusBar) : undefined,
|
|
954
|
+
contentManipulationTools: contentManipulation ? toZoneElement(contentManipulation) : undefined,
|
|
955
|
+
viewNavigationTools: viewNavigation ? toZoneElement(viewNavigation) : undefined,
|
|
956
|
+
topPanel: topPanel ? toStagePanelElement(topPanel) : undefined,
|
|
957
|
+
leftPanel: leftPanel ? toStagePanelElement(leftPanel) : undefined,
|
|
958
|
+
bottomPanel: bottomPanel ? toStagePanelElement(bottomPanel) : undefined,
|
|
959
|
+
rightPanel: rightPanel ? toStagePanelElement(rightPanel) : undefined,
|
|
960
|
+
};
|
|
961
|
+
return props;
|
|
962
|
+
}
|
|
963
|
+
function toWidgetElement(config) {
|
|
964
|
+
return (React.createElement(Widget, { key: config.id, ...config }));
|
|
965
|
+
}
|
|
966
|
+
function toZoneElement(config) {
|
|
967
|
+
return (React.createElement(Zone, { widgets: [
|
|
968
|
+
toWidgetElement(config),
|
|
969
|
+
] }));
|
|
970
|
+
}
|
|
971
|
+
function toStagePanelElement(config) {
|
|
972
|
+
var _a, _b;
|
|
973
|
+
const { sections, ...other } = config;
|
|
974
|
+
const startWidgets = (_a = sections === null || sections === void 0 ? void 0 : sections.start) === null || _a === void 0 ? void 0 : _a.map((widget) => toWidgetElement(widget));
|
|
975
|
+
const endWidgets = (_b = sections === null || sections === void 0 ? void 0 : sections.end) === null || _b === void 0 ? void 0 : _b.map((widget) => toWidgetElement(widget));
|
|
976
|
+
const panelZones = {};
|
|
977
|
+
if (startWidgets)
|
|
978
|
+
panelZones.start = {
|
|
979
|
+
widgets: startWidgets,
|
|
980
|
+
};
|
|
981
|
+
if (endWidgets)
|
|
982
|
+
panelZones.end = {
|
|
983
|
+
widgets: endWidgets,
|
|
984
|
+
};
|
|
985
|
+
return (React.createElement(StagePanel, { panelZones: panelZones, ...other }));
|
|
986
|
+
}
|
|
987
|
+
let widgetConfigId = 0;
|
|
988
|
+
function toWidgetConfig(widget) {
|
|
989
|
+
const props = widget.props;
|
|
990
|
+
return {
|
|
991
|
+
...props,
|
|
992
|
+
id: props.id ? props.id : `widget-config-${++widgetConfigId}`,
|
|
993
|
+
};
|
|
994
|
+
}
|
|
995
|
+
function toWidgetConfigFromZone(zone) {
|
|
996
|
+
const widgets = zone.props.widgets;
|
|
997
|
+
if (!widgets || widgets.length === 0)
|
|
998
|
+
return undefined;
|
|
999
|
+
const widget = widgets[0];
|
|
1000
|
+
return toWidgetConfig(widget);
|
|
1001
|
+
}
|
|
1002
|
+
function toPanelConfig(panel) {
|
|
1003
|
+
var _a, _b, _c, _d;
|
|
1004
|
+
const props = panel.props;
|
|
1005
|
+
const { panelZones, ...other } = props;
|
|
1006
|
+
const start = (_b = (_a = panelZones === null || panelZones === void 0 ? void 0 : panelZones.start) === null || _a === void 0 ? void 0 : _a.widgets) === null || _b === void 0 ? void 0 : _b.map((w) => toWidgetConfig(w));
|
|
1007
|
+
const end = (_d = (_c = panelZones === null || panelZones === void 0 ? void 0 : panelZones.end) === null || _c === void 0 ? void 0 : _c.widgets) === null || _d === void 0 ? void 0 : _d.map((w) => toWidgetConfig(w));
|
|
1008
|
+
const config = {
|
|
1009
|
+
...other,
|
|
1010
|
+
sections: {
|
|
1011
|
+
start,
|
|
1012
|
+
end,
|
|
1013
|
+
},
|
|
1014
|
+
};
|
|
1015
|
+
return config;
|
|
1016
|
+
}
|
|
1017
|
+
function toFrontstageConfig(props) {
|
|
1018
|
+
const { contentManipulationTools, viewNavigationTools, toolSettings, statusBar, topPanel, leftPanel, bottomPanel, rightPanel, ...other } = props;
|
|
1019
|
+
const config = {
|
|
1020
|
+
...other,
|
|
1021
|
+
version: props.version || 0,
|
|
1022
|
+
contentManipulation: contentManipulationTools ? toWidgetConfigFromZone(contentManipulationTools) : undefined,
|
|
1023
|
+
viewNavigation: viewNavigationTools ? toWidgetConfigFromZone(viewNavigationTools) : undefined,
|
|
1024
|
+
toolSettings: toolSettings ? toWidgetConfigFromZone(toolSettings) : undefined,
|
|
1025
|
+
statusBar: statusBar ? toWidgetConfigFromZone(statusBar) : undefined,
|
|
1026
|
+
topPanel: topPanel ? toPanelConfig(topPanel) : undefined,
|
|
1027
|
+
leftPanel: leftPanel ? toPanelConfig(leftPanel) : undefined,
|
|
1028
|
+
bottomPanel: bottomPanel ? toPanelConfig(bottomPanel) : undefined,
|
|
1029
|
+
rightPanel: rightPanel ? toPanelConfig(rightPanel) : undefined,
|
|
1030
|
+
};
|
|
1031
|
+
return config;
|
|
1032
|
+
}
|
|
1033
1033
|
//# sourceMappingURL=FrontstageDef.js.map
|