@itwin/appui-react 4.0.0-dev.12 → 4.0.0-dev.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 +154 -1
- package/README.md +2 -2
- package/lib/cjs/appui-react/UiFramework.d.ts +269 -269
- package/lib/cjs/appui-react/UiFramework.js +551 -555
- package/lib/cjs/appui-react/UiFramework.js.map +1 -1
- 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/AccuDrawDialog.d.ts +21 -21
- package/lib/cjs/appui-react/accudraw/AccuDrawDialog.js +39 -39
- 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/AccuDrawInputField.d.ts +42 -42
- package/lib/cjs/appui-react/accudraw/AccuDrawInputField.js +123 -123
- 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/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/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.d.ts.map +1 -1
- package/lib/cjs/appui-react/accudraw/Calculator.js +218 -218
- package/lib/cjs/appui-react/accudraw/Calculator.js.map +1 -1
- 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/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 +67 -67
- 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/SquareButton.d.ts +14 -14
- package/lib/cjs/appui-react/accudraw/SquareButton.js +26 -26
- package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts +27 -27
- package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposer.js +139 -139
- package/lib/cjs/appui-react/backstage/BackstageComposerItem.d.ts +28 -28
- package/lib/cjs/appui-react/backstage/BackstageComposerItem.js +54 -55
- package/lib/cjs/appui-react/backstage/BackstageComposerItem.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageItem.d.ts +59 -59
- package/lib/cjs/appui-react/backstage/BackstageItem.d.ts.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageItem.js +24 -24
- package/lib/cjs/appui-react/backstage/BackstageItemUtilities.d.ts +13 -13
- package/lib/cjs/appui-react/backstage/BackstageItemUtilities.js +44 -44
- package/lib/cjs/appui-react/backstage/BackstageItemsManager.d.ts +38 -38
- package/lib/cjs/appui-react/backstage/BackstageItemsManager.js +129 -129
- package/lib/cjs/appui-react/backstage/BackstageManager.d.ts +35 -35
- package/lib/cjs/appui-react/backstage/BackstageManager.js +77 -77
- package/lib/cjs/appui-react/backstage/InternalBackstageManager.d.ts +22 -22
- package/lib/cjs/appui-react/backstage/InternalBackstageManager.js +55 -55
- package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.d.ts +9 -9
- package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.js +32 -32
- package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts +9 -9
- package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.js +41 -41
- package/lib/cjs/appui-react/childwindow/ChildWindowManager.d.ts +73 -73
- package/lib/cjs/appui-react/childwindow/ChildWindowManager.js +106 -106
- 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/InternalChildWindowManager.d.ts +71 -71
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js +207 -208
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
- 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/configurableui/ActivityTracker.d.ts +29 -29
- package/lib/cjs/appui-react/configurableui/ActivityTracker.js +71 -71
- package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.d.ts +21 -21
- package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js +59 -59
- package/lib/cjs/appui-react/configurableui/ConfigurableUiControl.d.ts +95 -95
- package/lib/cjs/appui-react/configurableui/ConfigurableUiControl.d.ts.map +1 -1
- package/lib/cjs/appui-react/configurableui/ConfigurableUiControl.js +95 -95
- package/lib/cjs/appui-react/configurableui/ConfigurableUiManager.d.ts +65 -65
- package/lib/cjs/appui-react/configurableui/ConfigurableUiManager.js +92 -92
- 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 +80 -81
- package/lib/cjs/appui-react/configurableui/TimeTracker.js.map +1 -1
- package/lib/cjs/appui-react/configurableui/configurableui.scss +0 -1
- package/lib/cjs/appui-react/configurableui/state.d.ts +61 -61
- package/lib/cjs/appui-react/configurableui/state.d.ts.map +1 -1
- package/lib/cjs/appui-react/configurableui/state.js +111 -111
- 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/ContentGroup.d.ts +93 -93
- package/lib/cjs/appui-react/content/ContentGroup.d.ts.map +1 -1
- 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 +90 -90
- package/lib/cjs/appui-react/content/ContentLayout.js +367 -372
- package/lib/cjs/appui-react/content/ContentLayout.js.map +1 -1
- 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/ContentViewManager.d.ts +62 -62
- package/lib/cjs/appui-react/content/ContentViewManager.js +95 -95
- package/lib/cjs/appui-react/content/DefaultViewOverlay.d.ts +22 -22
- package/lib/cjs/appui-react/content/DefaultViewOverlay.js +49 -50
- package/lib/cjs/appui-react/content/DefaultViewOverlay.js.map +1 -1
- package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts +31 -31
- package/lib/cjs/appui-react/content/FloatingViewportContent.js +78 -79
- 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 +147 -150
- 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 +94 -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/ViewStateHelper.d.ts +25 -25
- package/lib/cjs/appui-react/content/ViewStateHelper.js +50 -50
- 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/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/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/SplitPane.d.ts +69 -69
- package/lib/cjs/appui-react/content/split-pane/SplitPane.js +238 -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 +75 -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/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 +64 -64
- package/lib/cjs/appui-react/dialog/ContentDialog.d.ts +23 -23
- package/lib/cjs/appui-react/dialog/ContentDialog.js +67 -70
- package/lib/cjs/appui-react/dialog/ContentDialog.js.map +1 -1
- 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/DialogManagerBase.d.ts +84 -84
- package/lib/cjs/appui-react/dialog/DialogManagerBase.js +140 -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/ModelessDialog.d.ts +21 -21
- package/lib/cjs/appui-react/dialog/ModelessDialog.js +30 -30
- 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/StandardMessageBox.d.ts +42 -42
- package/lib/cjs/appui-react/dialog/StandardMessageBox.js +93 -93
- 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/feedback/ElementTooltip.d.ts +61 -61
- package/lib/cjs/appui-react/feedback/ElementTooltip.js +131 -131
- package/lib/cjs/appui-react/feedback/ElementTooltip.js.map +1 -1
- package/lib/cjs/appui-react/feedback/ValidationTextbox.d.ts +73 -73
- package/lib/cjs/appui-react/feedback/ValidationTextbox.js +115 -115
- package/lib/cjs/appui-react/feedback/ValidationTextbox.scss +1 -2
- 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/FrameworkChildWindows.d.ts +75 -75
- package/lib/cjs/appui-react/framework/FrameworkChildWindows.d.ts.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkChildWindows.js +9 -9
- 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/FrameworkControls.d.ts +42 -42
- package/lib/cjs/appui-react/framework/FrameworkControls.js +2 -2
- 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/FrameworkFrontstages.d.ts +285 -285
- package/lib/cjs/appui-react/framework/FrameworkFrontstages.js +63 -63
- 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/FrameworkToolSettings.d.ts +51 -51
- package/lib/cjs/appui-react/framework/FrameworkToolSettings.js +17 -17
- 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/frontstage/FrontstageConfig.d.ts +39 -39
- package/lib/cjs/appui-react/frontstage/FrontstageConfig.js +9 -9
- package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts +205 -205
- package/lib/cjs/appui-react/frontstage/FrontstageDef.js +824 -825
- package/lib/cjs/appui-react/frontstage/FrontstageDef.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageManager.d.ts +201 -201
- package/lib/cjs/appui-react/frontstage/FrontstageManager.js +268 -268
- package/lib/cjs/appui-react/frontstage/FrontstageProvider.d.ts +13 -13
- package/lib/cjs/appui-react/frontstage/FrontstageProvider.js +16 -16
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts +234 -234
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js +508 -508
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts +34 -34
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.js +46 -46
- package/lib/cjs/appui-react/frontstage/ModalSettingsStage.d.ts +21 -21
- package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js +86 -87
- package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/NestedFrontstage.d.ts +13 -13
- package/lib/cjs/appui-react/frontstage/NestedFrontstage.js +33 -33
- package/lib/cjs/appui-react/frontstage/NestedFrontstage.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/StageUsage.d.ts +15 -15
- package/lib/cjs/appui-react/frontstage/StageUsage.js +23 -23
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts +65 -65
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js +77 -78
- 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/useActiveStageId.d.ts +7 -7
- package/lib/cjs/appui-react/hooks/useActiveStageId.js +29 -29
- 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/useAnalysisAnimationDataProvider.d.ts +9 -9
- package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.js +67 -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 +26 -26
- 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/useScheduleAnimationDataProvider.d.ts +9 -9
- package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.js +67 -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 +60 -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/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/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/messages/ActivityMessage.d.ts +9 -9
- package/lib/cjs/appui-react/messages/ActivityMessage.js +77 -79
- package/lib/cjs/appui-react/messages/ActivityMessage.js.map +1 -1
- 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/HollowIcon.d.ts +9 -9
- package/lib/cjs/appui-react/messages/HollowIcon.js +20 -20
- package/lib/cjs/appui-react/messages/InputField.d.ts +37 -37
- package/lib/cjs/appui-react/messages/InputField.js +92 -92
- 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/MessageManager.d.ts +253 -253
- package/lib/cjs/appui-react/messages/MessageManager.js +466 -466
- 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/Pointer.d.ts +69 -69
- package/lib/cjs/appui-react/messages/Pointer.js +173 -173
- package/lib/cjs/appui-react/messages/Pointer.js.map +1 -1
- package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.d.ts +62 -62
- package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.d.ts.map +1 -1
- 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/getToastCategory.d.ts +6 -6
- package/lib/cjs/appui-react/messages/getToastCategory.js +27 -27
- package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.d.ts +13 -13
- package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.js +26 -26
- 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 +26 -26
- 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/SheetNavigationAid.d.ts +71 -71
- package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.js +187 -187
- package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.d.ts +117 -117
- package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.js +151 -151
- package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.d.ts +44 -44
- package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js +113 -113
- package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
- package/lib/cjs/appui-react/pickers/ListPicker.d.ts +114 -111
- package/lib/cjs/appui-react/pickers/ListPicker.d.ts.map +1 -1
- package/lib/cjs/appui-react/pickers/ListPicker.js +197 -195
- package/lib/cjs/appui-react/pickers/ListPicker.js.map +1 -1
- package/lib/cjs/appui-react/pickers/ListPicker.scss +7 -0
- package/lib/cjs/appui-react/pickers/ViewSelector.d.ts +95 -90
- package/lib/cjs/appui-react/pickers/ViewSelector.d.ts.map +1 -1
- package/lib/cjs/appui-react/pickers/ViewSelector.js +267 -252
- 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/HTMLElementPopup.d.ts +30 -30
- package/lib/cjs/appui-react/popup/HTMLElementPopup.js +42 -42
- 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/KeyinPalettePanel.d.ts +19 -19
- package/lib/cjs/appui-react/popup/KeyinPalettePanel.js +252 -253
- package/lib/cjs/appui-react/popup/KeyinPalettePanel.js.map +1 -1
- 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/PopupManager.d.ts +105 -105
- package/lib/cjs/appui-react/popup/PopupManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/PopupManager.js +231 -232
- package/lib/cjs/appui-react/popup/PopupManager.js.map +1 -1
- package/lib/cjs/appui-react/popup/PositionPopup.d.ts +28 -28
- package/lib/cjs/appui-react/popup/PositionPopup.js +48 -48
- 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/ToolbarPopup.d.ts +35 -35
- package/lib/cjs/appui-react/popup/ToolbarPopup.js +59 -59
- 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/ReducerRegistry.d.ts +36 -36
- package/lib/cjs/appui-react/redux/ReducerRegistry.js +60 -60
- package/lib/cjs/appui-react/redux/SessionState.d.ts +103 -103
- package/lib/cjs/appui-react/redux/SessionState.d.ts.map +1 -1
- package/lib/cjs/appui-react/redux/SessionState.js +130 -130
- 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/redux-ts.d.ts +197 -197
- package/lib/cjs/appui-react/redux/redux-ts.d.ts.map +1 -1
- package/lib/cjs/appui-react/redux/redux-ts.js +36 -36
- package/lib/cjs/appui-react/safearea/SafeAreaContext.d.ts +10 -10
- package/lib/cjs/appui-react/safearea/SafeAreaContext.js +16 -16
- package/lib/cjs/appui-react/safearea/SafeAreaHelpers.d.ts +7 -7
- package/lib/cjs/appui-react/safearea/SafeAreaHelpers.js +15 -15
- package/lib/cjs/appui-react/safearea/SafeAreaInsets.d.ts +13 -13
- package/lib/cjs/appui-react/safearea/SafeAreaInsets.js +21 -21
- package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.d.ts +265 -265
- package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.js +548 -548
- 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 +209 -209
- package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.d.ts +26 -26
- package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js +200 -200
- package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
- 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/ui/UiSettingsPage.d.ts +27 -27
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js +192 -192
- package/lib/cjs/appui-react/shared/ActionButtonItemDef.d.ts +28 -28
- package/lib/cjs/appui-react/shared/ActionButtonItemDef.js +48 -48
- 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.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/AnyItemDef.js +9 -9
- package/lib/cjs/appui-react/shared/AnyToolbarItemDef.d.ts +9 -9
- package/lib/cjs/appui-react/shared/AnyToolbarItemDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/AnyToolbarItemDef.js +9 -9
- 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 +17 -17
- package/lib/cjs/appui-react/shared/CustomItemDef.js +32 -32
- package/lib/cjs/appui-react/shared/CustomItemDef.js.map +1 -1
- package/lib/cjs/appui-react/shared/CustomItemProps.d.ts +12 -12
- package/lib/cjs/appui-react/shared/CustomItemProps.js +9 -9
- package/lib/cjs/appui-react/shared/GroupItemProps.d.ts +19 -19
- package/lib/cjs/appui-react/shared/GroupItemProps.js +9 -9
- package/lib/cjs/appui-react/shared/ItemDefBase.d.ts +58 -58
- package/lib/cjs/appui-react/shared/ItemDefBase.js +78 -78
- 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/ItemProps.d.ts +48 -48
- package/lib/cjs/appui-react/shared/ItemProps.js +9 -9
- package/lib/cjs/appui-react/shared/MenuItem.d.ts +36 -36
- package/lib/cjs/appui-react/shared/MenuItem.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/MenuItem.js +112 -112
- 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/ToolItemDef.d.ts +17 -17
- package/lib/cjs/appui-react/shared/ToolItemDef.js +39 -39
- package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts +44 -44
- package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelConfig.js +9 -9
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts +292 -292
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.js +218 -220
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelLocation.d.ts +12 -12
- package/lib/cjs/appui-react/stagepanels/StagePanelLocation.js +20 -20
- package/lib/cjs/appui-react/stagepanels/StagePanelSection.d.ts +10 -10
- package/lib/cjs/appui-react/stagepanels/StagePanelSection.js +18 -18
- package/lib/cjs/appui-react/statusbar/Field.d.ts +22 -0
- package/lib/cjs/appui-react/statusbar/Field.d.ts.map +1 -0
- package/lib/cjs/appui-react/statusbar/Field.js +26 -0
- package/lib/cjs/appui-react/statusbar/Field.js.map +1 -0
- package/lib/cjs/appui-react/statusbar/{Indicator.scss → Field.scss} +12 -12
- package/lib/cjs/appui-react/statusbar/Indicator.d.ts +24 -25
- package/lib/cjs/appui-react/statusbar/Indicator.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/Indicator.js +28 -35
- package/lib/cjs/appui-react/statusbar/Indicator.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/LabelIndicator.d.ts +23 -23
- package/lib/cjs/appui-react/statusbar/LabelIndicator.js +28 -28
- package/lib/cjs/appui-react/statusbar/Overflow.d.ts +19 -19
- package/lib/cjs/appui-react/statusbar/Overflow.js +29 -29
- 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/Popup.d.ts +10 -0
- package/lib/cjs/appui-react/statusbar/Popup.d.ts.map +1 -0
- package/lib/cjs/appui-react/statusbar/Popup.js +20 -0
- package/lib/cjs/appui-react/statusbar/Popup.js.map +1 -0
- package/lib/cjs/appui-react/statusbar/Separator.d.ts +10 -10
- package/lib/cjs/appui-react/statusbar/Separator.js +21 -21
- package/lib/cjs/appui-react/statusbar/StatusBar.d.ts +77 -63
- package/lib/cjs/appui-react/statusbar/StatusBar.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBar.js +143 -130
- package/lib/cjs/appui-react/statusbar/StatusBar.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarComposer.d.ts +46 -46
- package/lib/cjs/appui-react/statusbar/StatusBarComposer.js +282 -282
- package/lib/cjs/appui-react/statusbar/StatusBarItem.d.ts +98 -98
- package/lib/cjs/appui-react/statusbar/StatusBarItem.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarItem.js +61 -61
- package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.d.ts +23 -23
- package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.js +60 -60
- package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.d.ts +39 -39
- package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.js +134 -134
- package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.d.ts +20 -20
- package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.js +23 -23
- 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/Dialog.d.ts +29 -29
- package/lib/cjs/appui-react/statusbar/dialog/Dialog.js +30 -30
- 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/useDefaultStatusBarItems.d.ts +9 -9
- package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.js +32 -32
- package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts +9 -9
- package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.js +50 -50
- package/lib/cjs/appui-react/statusfields/ActivityCenter.d.ts +9 -9
- package/lib/cjs/appui-react/statusfields/ActivityCenter.js +61 -61
- package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts +46 -46
- package/lib/cjs/appui-react/statusfields/MessageCenter.js +126 -126
- 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/SelectionInfo.d.ts +26 -26
- package/lib/cjs/appui-react/statusfields/SelectionInfo.js +48 -48
- package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts +37 -37
- package/lib/cjs/appui-react/statusfields/SelectionScope.js +66 -66
- package/lib/cjs/appui-react/statusfields/SnapMode.d.ts +43 -43
- package/lib/cjs/appui-react/statusfields/SnapMode.js +126 -126
- package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts +30 -30
- package/lib/cjs/appui-react/statusfields/ViewAttributes.js +93 -93
- package/lib/cjs/appui-react/statusfields/ViewAttributes.scss +0 -4
- package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +31 -31
- package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.js +91 -91
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +95 -95
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js +443 -443
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts +78 -78
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js +188 -188
- 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 +95 -96
- 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/ScheduleAnimationProvider.d.ts +15 -15
- package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.js +58 -58
- 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/DragInteraction.d.ts +8 -8
- package/lib/cjs/appui-react/toolbar/DragInteraction.js +15 -15
- package/lib/cjs/appui-react/toolbar/GroupItem.d.ts +37 -37
- package/lib/cjs/appui-react/toolbar/GroupItem.js +76 -76
- package/lib/cjs/appui-react/toolbar/GroupItem.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarComposer.d.ts +19 -19
- package/lib/cjs/appui-react/toolbar/ToolbarComposer.js +221 -221
- package/lib/cjs/appui-react/toolbar/ToolbarHelper.d.ts +22 -22
- package/lib/cjs/appui-react/toolbar/ToolbarHelper.js +128 -128
- package/lib/cjs/appui-react/toolbar/ToolbarItem.d.ts +103 -103
- package/lib/cjs/appui-react/toolbar/ToolbarItem.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarItem.js +51 -51
- package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.d.ts +15 -15
- package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.js +52 -52
- package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.d.ts +45 -45
- package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.js +247 -247
- package/lib/cjs/appui-react/toolbar/toUIAToolbarItem.d.ts +7 -7
- package/lib/cjs/appui-react/toolbar/toUIAToolbarItem.js +25 -25
- package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.d.ts +9 -9
- package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.js +32 -32
- package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts +9 -9
- package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js +48 -48
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.d.ts +36 -36
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.js +365 -372
- 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/KeyinPaletteTools.d.ts +16 -16
- package/lib/cjs/appui-react/tools/KeyinPaletteTools.js +32 -32
- package/lib/cjs/appui-react/tools/KeyinPaletteTools.js.map +1 -1
- package/lib/cjs/appui-react/tools/OpenSettingsTool.d.ts +16 -16
- package/lib/cjs/appui-react/tools/OpenSettingsTool.js +34 -34
- 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 +62 -62
- 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/toolsettings/DefaultToolSettingsProvider.d.ts +25 -25
- package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js +73 -72
- package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
- package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.d.ts +49 -49
- package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.js +123 -123
- package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.js.map +1 -1
- package/lib/cjs/appui-react/toolsettings/ToolInformation.d.ts +14 -14
- package/lib/cjs/appui-react/toolsettings/ToolInformation.js +43 -43
- package/lib/cjs/appui-react/toolsettings/ToolSettingsManager.d.ts +43 -43
- package/lib/cjs/appui-react/toolsettings/ToolSettingsManager.js +63 -63
- package/lib/cjs/appui-react/toolsettings/ToolUiProvider.d.ts +35 -35
- package/lib/cjs/appui-react/toolsettings/ToolUiProvider.js +38 -38
- package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts +27 -27
- package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.js +73 -73
- package/lib/cjs/appui-react/ui-items-provider/ProviderItem.d.ts +9 -9
- package/lib/cjs/appui-react/ui-items-provider/ProviderItem.d.ts.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/ProviderItem.js +9 -9
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts +64 -64
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js +47 -47
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts +38 -38
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +85 -87
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts +25 -25
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.js +41 -41
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts +34 -34
- 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 +25 -25
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js +41 -41
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts +32 -32
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +61 -62
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.d.ts +91 -91
- package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js +171 -177
- package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.d.ts +26 -26
- package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.js +9 -9
- package/lib/cjs/appui-react/ui-items-provider/isProviderItem.d.ts +6 -6
- package/lib/cjs/appui-react/ui-items-provider/isProviderItem.js +15 -15
- 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 +53 -53
- package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts +49 -49
- package/lib/cjs/appui-react/uistate/AppUiSettings.js +89 -89
- package/lib/cjs/appui-react/uistate/AppUiSettings.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/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 +21 -21
- package/lib/cjs/appui-react/utils/PropsHelper.d.ts.map +1 -1
- package/lib/cjs/appui-react/utils/PropsHelper.js +67 -67
- 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/UiShowHideManager.d.ts +53 -53
- package/lib/cjs/appui-react/utils/UiShowHideManager.js +107 -107
- 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/widget-panels/Content.d.ts +6 -6
- package/lib/cjs/appui-react/widget-panels/Content.js +57 -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/Frontstage.d.ts +125 -125
- package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Frontstage.js +1082 -1091
- package/lib/cjs/appui-react/widget-panels/Frontstage.js.map +1 -1
- 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/ModalFrontstageComposer.d.ts +8 -8
- package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.js +38 -38
- package/lib/cjs/appui-react/widget-panels/StatusBar.d.ts +8 -8
- package/lib/cjs/appui-react/widget-panels/StatusBar.js +28 -28
- package/lib/cjs/appui-react/widget-panels/StatusBar.js.map +1 -1
- 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/ToolSettings.d.ts +37 -37
- package/lib/cjs/appui-react/widget-panels/ToolSettings.js +148 -156
- package/lib/cjs/appui-react/widget-panels/ToolSettings.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Toolbars.d.ts +7 -7
- package/lib/cjs/appui-react/widget-panels/Toolbars.js +23 -24
- package/lib/cjs/appui-react/widget-panels/Toolbars.js.map +1 -1
- 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/useWidgetDirection.d.ts +8 -8
- package/lib/cjs/appui-react/widget-panels/useWidgetDirection.js +29 -29
- package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts +22 -22
- package/lib/cjs/appui-react/widgets/BackstageAppButton.js +51 -51
- 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/BasicToolWidget.d.ts +23 -23
- package/lib/cjs/appui-react/widgets/BasicToolWidget.js +61 -61
- 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/NavigationWidgetComposer.d.ts +38 -38
- package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js +105 -105
- package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.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/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 +10 -10
- package/lib/cjs/appui-react/widgets/ToolSettingsContent.js +15 -15
- 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/ViewToolWidgetComposer.d.ts +26 -26
- package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.js +36 -36
- package/lib/cjs/appui-react/widgets/Widget.d.ts +38 -38
- package/lib/cjs/appui-react/widgets/Widget.js +9 -9
- package/lib/cjs/appui-react/widgets/WidgetConfig.d.ts +15 -15
- package/lib/cjs/appui-react/widgets/WidgetConfig.js +9 -9
- 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/WidgetDef.d.ts +170 -170
- package/lib/cjs/appui-react/widgets/WidgetDef.js +311 -311
- 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 +89 -90
- package/lib/cjs/appui-react/widgets/WidgetHost.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetManager.d.ts +55 -55
- package/lib/cjs/appui-react/widgets/WidgetManager.js +106 -106
- package/lib/cjs/appui-react/widgets/WidgetState.d.ts +13 -13
- package/lib/cjs/appui-react/widgets/WidgetState.js +21 -21
- package/lib/cjs/appui-react.d.ts +341 -341
- package/lib/cjs/appui-react.js +362 -358
- package/lib/cjs/appui-react.js.map +1 -1
- package/lib/esm/appui-react/UiFramework.d.ts +269 -269
- package/lib/esm/appui-react/UiFramework.js +547 -550
- package/lib/esm/appui-react/UiFramework.js.map +1 -1
- 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/AccuDrawDialog.d.ts +21 -21
- package/lib/esm/appui-react/accudraw/AccuDrawDialog.js +35 -35
- 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/AccuDrawInputField.d.ts +42 -42
- package/lib/esm/appui-react/accudraw/AccuDrawInputField.js +120 -120
- 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/AccuDrawPopupManager.d.ts +18 -18
- package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.js +61 -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/AccuDrawWidget.d.ts +18 -18
- package/lib/esm/appui-react/accudraw/AccuDrawWidget.js +40 -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.d.ts.map +1 -1
- package/lib/esm/appui-react/accudraw/Calculator.js +215 -214
- package/lib/esm/appui-react/accudraw/Calculator.js.map +1 -1
- 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/FrameworkAccuDraw.d.ts +147 -147
- package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.js +221 -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 +63 -63
- 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/SquareButton.d.ts +14 -14
- package/lib/esm/appui-react/accudraw/SquareButton.js +22 -22
- package/lib/esm/appui-react/backstage/BackstageComposer.d.ts +27 -27
- package/lib/esm/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposer.js +134 -134
- package/lib/esm/appui-react/backstage/BackstageComposerItem.d.ts +28 -28
- package/lib/esm/appui-react/backstage/BackstageComposerItem.js +48 -49
- package/lib/esm/appui-react/backstage/BackstageComposerItem.js.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageItem.d.ts +59 -59
- package/lib/esm/appui-react/backstage/BackstageItem.d.ts.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageItem.js +19 -19
- package/lib/esm/appui-react/backstage/BackstageItemUtilities.d.ts +13 -13
- package/lib/esm/appui-react/backstage/BackstageItemUtilities.js +41 -41
- package/lib/esm/appui-react/backstage/BackstageItemsManager.d.ts +38 -38
- package/lib/esm/appui-react/backstage/BackstageItemsManager.js +125 -125
- package/lib/esm/appui-react/backstage/BackstageManager.d.ts +35 -35
- package/lib/esm/appui-react/backstage/BackstageManager.js +71 -71
- package/lib/esm/appui-react/backstage/InternalBackstageManager.d.ts +22 -22
- package/lib/esm/appui-react/backstage/InternalBackstageManager.js +51 -51
- package/lib/esm/appui-react/backstage/useDefaultBackstageItems.d.ts +9 -9
- package/lib/esm/appui-react/backstage/useDefaultBackstageItems.js +28 -28
- package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts +9 -9
- package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.js +37 -37
- package/lib/esm/appui-react/childwindow/ChildWindowManager.d.ts +73 -73
- package/lib/esm/appui-react/childwindow/ChildWindowManager.js +102 -102
- 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/InternalChildWindowManager.d.ts +71 -71
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js +203 -204
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
- 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/configurableui/ActivityTracker.d.ts +29 -29
- package/lib/esm/appui-react/configurableui/ActivityTracker.js +67 -67
- package/lib/esm/appui-react/configurableui/ConfigurableUiContent.d.ts +21 -21
- package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js +55 -55
- package/lib/esm/appui-react/configurableui/ConfigurableUiControl.d.ts +95 -95
- package/lib/esm/appui-react/configurableui/ConfigurableUiControl.d.ts.map +1 -1
- package/lib/esm/appui-react/configurableui/ConfigurableUiControl.js +89 -89
- package/lib/esm/appui-react/configurableui/ConfigurableUiManager.d.ts +65 -65
- package/lib/esm/appui-react/configurableui/ConfigurableUiManager.js +88 -88
- package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.d.ts +81 -81
- package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js +149 -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 +76 -77
- package/lib/esm/appui-react/configurableui/TimeTracker.js.map +1 -1
- package/lib/esm/appui-react/configurableui/configurableui.scss +0 -1
- package/lib/esm/appui-react/configurableui/state.d.ts +61 -61
- package/lib/esm/appui-react/configurableui/state.d.ts.map +1 -1
- package/lib/esm/appui-react/configurableui/state.js +107 -107
- 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/ContentGroup.d.ts +93 -93
- package/lib/esm/appui-react/content/ContentGroup.d.ts.map +1 -1
- package/lib/esm/appui-react/content/ContentGroup.js +170 -169
- package/lib/esm/appui-react/content/ContentGroup.js.map +1 -1
- package/lib/esm/appui-react/content/ContentLayout.d.ts +90 -90
- package/lib/esm/appui-react/content/ContentLayout.js +360 -365
- package/lib/esm/appui-react/content/ContentLayout.js.map +1 -1
- 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/ContentViewManager.d.ts +62 -62
- package/lib/esm/appui-react/content/ContentViewManager.js +91 -91
- package/lib/esm/appui-react/content/DefaultViewOverlay.d.ts +22 -22
- package/lib/esm/appui-react/content/DefaultViewOverlay.js +45 -46
- package/lib/esm/appui-react/content/DefaultViewOverlay.js.map +1 -1
- package/lib/esm/appui-react/content/FloatingViewportContent.d.ts +31 -31
- package/lib/esm/appui-react/content/FloatingViewportContent.js +72 -73
- 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 +142 -145
- 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 +206 -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/ViewStateHelper.d.ts +25 -25
- package/lib/esm/appui-react/content/ViewStateHelper.js +46 -46
- 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/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/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/SplitPane.d.ts +69 -69
- package/lib/esm/appui-react/content/split-pane/SplitPane.js +234 -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 +140 -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 +71 -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 +146 -145
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts +114 -114
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.js +319 -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 +60 -60
- package/lib/esm/appui-react/dialog/ContentDialog.d.ts +23 -23
- package/lib/esm/appui-react/dialog/ContentDialog.js +62 -65
- package/lib/esm/appui-react/dialog/ContentDialog.js.map +1 -1
- 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/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 +128 -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 +51 -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 +116 -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/ModelessDialog.d.ts +21 -21
- package/lib/esm/appui-react/dialog/ModelessDialog.js +26 -26
- 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/StandardMessageBox.d.ts +42 -42
- package/lib/esm/appui-react/dialog/StandardMessageBox.js +89 -89
- 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/feedback/ElementTooltip.d.ts +61 -61
- package/lib/esm/appui-react/feedback/ElementTooltip.js +127 -126
- package/lib/esm/appui-react/feedback/ElementTooltip.js.map +1 -1
- package/lib/esm/appui-react/feedback/ValidationTextbox.d.ts +73 -73
- package/lib/esm/appui-react/feedback/ValidationTextbox.js +111 -111
- package/lib/esm/appui-react/feedback/ValidationTextbox.scss +1 -2
- 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/FrameworkChildWindows.d.ts +75 -75
- package/lib/esm/appui-react/framework/FrameworkChildWindows.d.ts.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkChildWindows.js +8 -8
- 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/FrameworkControls.d.ts +42 -42
- package/lib/esm/appui-react/framework/FrameworkControls.js +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/FrameworkFrontstages.d.ts +285 -285
- package/lib/esm/appui-react/framework/FrameworkFrontstages.js +52 -52
- 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/FrameworkToolSettings.d.ts +51 -51
- package/lib/esm/appui-react/framework/FrameworkToolSettings.js +13 -13
- 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/frontstage/FrontstageConfig.d.ts +39 -39
- package/lib/esm/appui-react/frontstage/FrontstageConfig.js +8 -8
- package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts +205 -205
- package/lib/esm/appui-react/frontstage/FrontstageDef.js +817 -818
- package/lib/esm/appui-react/frontstage/FrontstageDef.js.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageManager.d.ts +201 -201
- package/lib/esm/appui-react/frontstage/FrontstageManager.js +264 -264
- package/lib/esm/appui-react/frontstage/FrontstageProvider.d.ts +13 -13
- package/lib/esm/appui-react/frontstage/FrontstageProvider.js +12 -12
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts +234 -234
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js +505 -504
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
- package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts +34 -34
- package/lib/esm/appui-react/frontstage/ModalFrontstage.js +42 -42
- 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/NestedFrontstage.d.ts +13 -13
- package/lib/esm/appui-react/frontstage/NestedFrontstage.js +30 -29
- package/lib/esm/appui-react/frontstage/NestedFrontstage.js.map +1 -1
- package/lib/esm/appui-react/frontstage/StageUsage.d.ts +15 -15
- package/lib/esm/appui-react/frontstage/StageUsage.js +20 -20
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts +65 -65
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js +73 -74
- 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/useActiveStageId.d.ts +7 -7
- package/lib/esm/appui-react/hooks/useActiveStageId.js +25 -25
- 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/useAnalysisAnimationDataProvider.d.ts +9 -9
- package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.js +63 -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 +22 -22
- 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/useScheduleAnimationDataProvider.d.ts +9 -9
- package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.js +63 -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 +56 -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/keyboardshortcut/InternalKeyboardShortcut.d.ts +39 -39
- package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.js +108 -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/KeyboardShortcutMenu.d.ts +38 -38
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.js +91 -90
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
- package/lib/esm/appui-react/messages/ActivityMessage.d.ts +9 -9
- package/lib/esm/appui-react/messages/ActivityMessage.js +73 -75
- package/lib/esm/appui-react/messages/ActivityMessage.js.map +1 -1
- 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/HollowIcon.d.ts +9 -9
- package/lib/esm/appui-react/messages/HollowIcon.js +16 -16
- package/lib/esm/appui-react/messages/InputField.d.ts +37 -37
- package/lib/esm/appui-react/messages/InputField.js +88 -88
- 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/MessageManager.d.ts +253 -253
- package/lib/esm/appui-react/messages/MessageManager.js +455 -454
- 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/Pointer.d.ts +69 -69
- package/lib/esm/appui-react/messages/Pointer.js +169 -168
- package/lib/esm/appui-react/messages/Pointer.js.map +1 -1
- package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.d.ts +62 -62
- package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.d.ts.map +1 -1
- 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/getToastCategory.d.ts +6 -6
- package/lib/esm/appui-react/messages/getToastCategory.js +23 -23
- package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.d.ts +13 -13
- package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.js +23 -22
- 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 +23 -22
- 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/SheetNavigationAid.d.ts +71 -71
- package/lib/esm/appui-react/navigationaids/SheetNavigationAid.js +183 -182
- package/lib/esm/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.d.ts +117 -117
- package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.js +145 -144
- package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.d.ts +44 -44
- package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js +109 -108
- package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
- package/lib/esm/appui-react/pickers/ListPicker.d.ts +114 -111
- package/lib/esm/appui-react/pickers/ListPicker.d.ts.map +1 -1
- package/lib/esm/appui-react/pickers/ListPicker.js +190 -188
- package/lib/esm/appui-react/pickers/ListPicker.js.map +1 -1
- package/lib/esm/appui-react/pickers/ListPicker.scss +7 -0
- package/lib/esm/appui-react/pickers/ViewSelector.d.ts +95 -90
- package/lib/esm/appui-react/pickers/ViewSelector.d.ts.map +1 -1
- package/lib/esm/appui-react/pickers/ViewSelector.js +263 -247
- 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/HTMLElementPopup.d.ts +30 -30
- package/lib/esm/appui-react/popup/HTMLElementPopup.js +38 -38
- 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/KeyinPalettePanel.d.ts +19 -19
- package/lib/esm/appui-react/popup/KeyinPalettePanel.js +247 -248
- package/lib/esm/appui-react/popup/KeyinPalettePanel.js.map +1 -1
- 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/PopupManager.d.ts +105 -105
- package/lib/esm/appui-react/popup/PopupManager.d.ts.map +1 -1
- 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 +28 -28
- package/lib/esm/appui-react/popup/PositionPopup.js +43 -43
- 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/ToolbarPopup.d.ts +35 -35
- package/lib/esm/appui-react/popup/ToolbarPopup.js +55 -55
- 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/ReducerRegistry.d.ts +36 -36
- package/lib/esm/appui-react/redux/ReducerRegistry.js +56 -56
- package/lib/esm/appui-react/redux/SessionState.d.ts +103 -103
- package/lib/esm/appui-react/redux/SessionState.d.ts.map +1 -1
- package/lib/esm/appui-react/redux/SessionState.js +126 -126
- package/lib/esm/appui-react/redux/StateManager.d.ts +43 -43
- package/lib/esm/appui-react/redux/StateManager.js +94 -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/redux-ts.d.ts +197 -197
- package/lib/esm/appui-react/redux/redux-ts.d.ts.map +1 -1
- package/lib/esm/appui-react/redux/redux-ts.js +32 -32
- package/lib/esm/appui-react/safearea/SafeAreaContext.d.ts +10 -10
- package/lib/esm/appui-react/safearea/SafeAreaContext.js +13 -13
- package/lib/esm/appui-react/safearea/SafeAreaHelpers.d.ts +7 -7
- package/lib/esm/appui-react/safearea/SafeAreaHelpers.js +11 -11
- package/lib/esm/appui-react/safearea/SafeAreaInsets.d.ts +13 -13
- package/lib/esm/appui-react/safearea/SafeAreaInsets.js +18 -18
- package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.d.ts +265 -265
- package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.js +545 -543
- 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 +197 -197
- package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.d.ts +26 -26
- package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js +195 -195
- package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
- 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/ui/UiSettingsPage.d.ts +27 -27
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.js +187 -187
- package/lib/esm/appui-react/shared/ActionButtonItemDef.d.ts +28 -28
- package/lib/esm/appui-react/shared/ActionButtonItemDef.js +45 -44
- 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.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/AnyItemDef.js +8 -8
- package/lib/esm/appui-react/shared/AnyToolbarItemDef.d.ts +9 -9
- package/lib/esm/appui-react/shared/AnyToolbarItemDef.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/AnyToolbarItemDef.js +8 -8
- package/lib/esm/appui-react/shared/CommandItemDef.d.ts +16 -16
- package/lib/esm/appui-react/shared/CommandItemDef.js +32 -31
- package/lib/esm/appui-react/shared/CommandItemDef.js.map +1 -1
- package/lib/esm/appui-react/shared/CustomItemDef.d.ts +17 -17
- package/lib/esm/appui-react/shared/CustomItemDef.js +29 -28
- package/lib/esm/appui-react/shared/CustomItemDef.js.map +1 -1
- package/lib/esm/appui-react/shared/CustomItemProps.d.ts +12 -12
- package/lib/esm/appui-react/shared/CustomItemProps.js +8 -8
- package/lib/esm/appui-react/shared/GroupItemProps.d.ts +19 -19
- package/lib/esm/appui-react/shared/GroupItemProps.js +8 -8
- package/lib/esm/appui-react/shared/ItemDefBase.d.ts +58 -58
- package/lib/esm/appui-react/shared/ItemDefBase.js +74 -74
- 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/ItemProps.d.ts +48 -48
- package/lib/esm/appui-react/shared/ItemProps.js +8 -8
- package/lib/esm/appui-react/shared/MenuItem.d.ts +36 -36
- package/lib/esm/appui-react/shared/MenuItem.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/MenuItem.js +107 -107
- 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/ToolItemDef.d.ts +17 -17
- package/lib/esm/appui-react/shared/ToolItemDef.js +35 -35
- package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts +44 -44
- package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelConfig.js +8 -8
- package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts +292 -292
- package/lib/esm/appui-react/stagepanels/StagePanelDef.js +210 -212
- package/lib/esm/appui-react/stagepanels/StagePanelDef.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelLocation.d.ts +12 -12
- package/lib/esm/appui-react/stagepanels/StagePanelLocation.js +17 -17
- package/lib/esm/appui-react/stagepanels/StagePanelSection.d.ts +10 -10
- package/lib/esm/appui-react/stagepanels/StagePanelSection.js +15 -15
- package/lib/esm/appui-react/statusbar/Field.d.ts +22 -0
- package/lib/esm/appui-react/statusbar/Field.d.ts.map +1 -0
- package/lib/esm/appui-react/statusbar/Field.js +23 -0
- package/lib/esm/appui-react/statusbar/Field.js.map +1 -0
- package/lib/esm/appui-react/statusbar/{Indicator.scss → Field.scss} +12 -12
- package/lib/esm/appui-react/statusbar/Indicator.d.ts +24 -25
- package/lib/esm/appui-react/statusbar/Indicator.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/Indicator.js +24 -31
- package/lib/esm/appui-react/statusbar/Indicator.js.map +1 -1
- package/lib/esm/appui-react/statusbar/LabelIndicator.d.ts +23 -23
- package/lib/esm/appui-react/statusbar/LabelIndicator.js +24 -24
- package/lib/esm/appui-react/statusbar/Overflow.d.ts +19 -19
- package/lib/esm/appui-react/statusbar/Overflow.js +26 -26
- 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/Popup.d.ts +10 -0
- package/lib/esm/appui-react/statusbar/Popup.d.ts.map +1 -0
- package/lib/esm/appui-react/statusbar/Popup.js +16 -0
- package/lib/esm/appui-react/statusbar/Popup.js.map +1 -0
- package/lib/esm/appui-react/statusbar/Separator.d.ts +10 -10
- package/lib/esm/appui-react/statusbar/Separator.js +17 -17
- package/lib/esm/appui-react/statusbar/StatusBar.d.ts +77 -63
- package/lib/esm/appui-react/statusbar/StatusBar.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBar.js +135 -122
- package/lib/esm/appui-react/statusbar/StatusBar.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarComposer.d.ts +46 -46
- package/lib/esm/appui-react/statusbar/StatusBarComposer.js +276 -276
- package/lib/esm/appui-react/statusbar/StatusBarItem.d.ts +98 -98
- package/lib/esm/appui-react/statusbar/StatusBarItem.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarItem.js +55 -55
- package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.d.ts +23 -23
- package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.js +57 -57
- package/lib/esm/appui-react/statusbar/StatusBarItemsManager.d.ts +39 -39
- package/lib/esm/appui-react/statusbar/StatusBarItemsManager.js +130 -130
- package/lib/esm/appui-react/statusbar/StatusBarItemsManager.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.d.ts +20 -20
- package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.js +19 -19
- 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/Dialog.d.ts +29 -29
- package/lib/esm/appui-react/statusbar/dialog/Dialog.js +26 -26
- 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/useDefaultStatusBarItems.d.ts +9 -9
- package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.js +28 -28
- package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts +9 -9
- package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.js +46 -46
- package/lib/esm/appui-react/statusfields/ActivityCenter.d.ts +9 -9
- package/lib/esm/appui-react/statusfields/ActivityCenter.js +57 -57
- package/lib/esm/appui-react/statusfields/MessageCenter.d.ts +46 -46
- package/lib/esm/appui-react/statusfields/MessageCenter.js +122 -122
- 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/SelectionInfo.d.ts +26 -26
- package/lib/esm/appui-react/statusfields/SelectionInfo.js +45 -45
- package/lib/esm/appui-react/statusfields/SelectionScope.d.ts +37 -37
- package/lib/esm/appui-react/statusfields/SelectionScope.js +63 -63
- package/lib/esm/appui-react/statusfields/SnapMode.d.ts +43 -43
- package/lib/esm/appui-react/statusfields/SnapMode.js +123 -123
- package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts +30 -30
- package/lib/esm/appui-react/statusfields/ViewAttributes.js +89 -89
- package/lib/esm/appui-react/statusfields/ViewAttributes.scss +0 -4
- package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +31 -31
- package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.js +87 -87
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +95 -95
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js +440 -439
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts +78 -78
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js +185 -184
- 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 +92 -93
- 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/ScheduleAnimationProvider.d.ts +15 -15
- package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.js +54 -54
- 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/DragInteraction.d.ts +8 -8
- package/lib/esm/appui-react/toolbar/DragInteraction.js +12 -12
- package/lib/esm/appui-react/toolbar/GroupItem.d.ts +37 -37
- package/lib/esm/appui-react/toolbar/GroupItem.js +73 -72
- package/lib/esm/appui-react/toolbar/GroupItem.js.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarComposer.d.ts +19 -19
- package/lib/esm/appui-react/toolbar/ToolbarComposer.js +217 -217
- package/lib/esm/appui-react/toolbar/ToolbarHelper.d.ts +22 -22
- package/lib/esm/appui-react/toolbar/ToolbarHelper.js +124 -124
- package/lib/esm/appui-react/toolbar/ToolbarItem.d.ts +103 -103
- package/lib/esm/appui-react/toolbar/ToolbarItem.d.ts.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarItem.js +45 -45
- package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.d.ts +15 -15
- package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.js +49 -49
- package/lib/esm/appui-react/toolbar/ToolbarItemsManager.d.ts +45 -45
- package/lib/esm/appui-react/toolbar/ToolbarItemsManager.js +243 -243
- package/lib/esm/appui-react/toolbar/toUIAToolbarItem.d.ts +7 -7
- package/lib/esm/appui-react/toolbar/toUIAToolbarItem.js +21 -21
- package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.d.ts +9 -9
- package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.js +28 -28
- package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts +9 -9
- package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js +44 -44
- package/lib/esm/appui-react/tools/CoreToolDefinitions.d.ts +36 -36
- package/lib/esm/appui-react/tools/CoreToolDefinitions.js +361 -368
- 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/KeyinPaletteTools.d.ts +16 -16
- package/lib/esm/appui-react/tools/KeyinPaletteTools.js +29 -28
- package/lib/esm/appui-react/tools/KeyinPaletteTools.js.map +1 -1
- package/lib/esm/appui-react/tools/OpenSettingsTool.d.ts +16 -16
- package/lib/esm/appui-react/tools/OpenSettingsTool.js +31 -30
- 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 +59 -57
- 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 +43 -41
- package/lib/esm/appui-react/tools/ToolSettingsTools.js.map +1 -1
- package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts +25 -25
- package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js +69 -68
- package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
- package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.d.ts +49 -49
- package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.js +120 -119
- package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.js.map +1 -1
- package/lib/esm/appui-react/toolsettings/ToolInformation.d.ts +14 -14
- package/lib/esm/appui-react/toolsettings/ToolInformation.js +39 -39
- package/lib/esm/appui-react/toolsettings/ToolSettingsManager.d.ts +43 -43
- package/lib/esm/appui-react/toolsettings/ToolSettingsManager.js +59 -59
- package/lib/esm/appui-react/toolsettings/ToolUiProvider.d.ts +35 -35
- package/lib/esm/appui-react/toolsettings/ToolUiProvider.js +34 -34
- package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts +27 -27
- package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.js +69 -69
- package/lib/esm/appui-react/ui-items-provider/ProviderItem.d.ts +9 -9
- package/lib/esm/appui-react/ui-items-provider/ProviderItem.d.ts.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/ProviderItem.js +8 -8
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts +64 -64
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js +43 -43
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts +38 -38
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +81 -83
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts +25 -25
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.js +37 -37
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts +34 -34
- 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 +25 -25
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js +37 -37
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts +32 -32
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +57 -58
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/UiItemsManager.d.ts +91 -91
- package/lib/esm/appui-react/ui-items-provider/UiItemsManager.d.ts.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js +168 -173
- package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.d.ts +26 -26
- package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.js +8 -8
- package/lib/esm/appui-react/ui-items-provider/isProviderItem.d.ts +6 -6
- package/lib/esm/appui-react/ui-items-provider/isProviderItem.js +11 -11
- 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 +47 -47
- package/lib/esm/appui-react/uistate/AppUiSettings.d.ts +49 -49
- package/lib/esm/appui-react/uistate/AppUiSettings.js +86 -85
- package/lib/esm/appui-react/uistate/AppUiSettings.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/utils/InternalUiShowHideManager.d.ts +83 -83
- package/lib/esm/appui-react/utils/InternalUiShowHideManager.js +194 -192
- package/lib/esm/appui-react/utils/InternalUiShowHideManager.js.map +1 -1
- package/lib/esm/appui-react/utils/PropsHelper.d.ts +21 -21
- package/lib/esm/appui-react/utils/PropsHelper.d.ts.map +1 -1
- package/lib/esm/appui-react/utils/PropsHelper.js +63 -63
- 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/UiShowHideManager.d.ts +53 -53
- package/lib/esm/appui-react/utils/UiShowHideManager.js +104 -104
- 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/widget-panels/Content.d.ts +6 -6
- package/lib/esm/appui-react/widget-panels/Content.js +52 -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/Frontstage.d.ts +125 -125
- package/lib/esm/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/Frontstage.js +1050 -1059
- package/lib/esm/appui-react/widget-panels/Frontstage.js.map +1 -1
- 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/ModalFrontstageComposer.d.ts +8 -8
- package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.js +33 -33
- package/lib/esm/appui-react/widget-panels/StatusBar.d.ts +8 -8
- package/lib/esm/appui-react/widget-panels/StatusBar.js +24 -24
- package/lib/esm/appui-react/widget-panels/StatusBar.js.map +1 -1
- 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/ToolSettings.d.ts +37 -37
- package/lib/esm/appui-react/widget-panels/ToolSettings.js +138 -146
- package/lib/esm/appui-react/widget-panels/ToolSettings.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/Toolbars.d.ts +7 -7
- package/lib/esm/appui-react/widget-panels/Toolbars.js +19 -20
- package/lib/esm/appui-react/widget-panels/Toolbars.js.map +1 -1
- 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/useWidgetDirection.d.ts +8 -8
- package/lib/esm/appui-react/widget-panels/useWidgetDirection.js +25 -25
- package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts +22 -22
- package/lib/esm/appui-react/widgets/BackstageAppButton.js +47 -47
- 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/BasicToolWidget.d.ts +23 -23
- package/lib/esm/appui-react/widgets/BasicToolWidget.js +57 -57
- 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/NavigationWidgetComposer.d.ts +38 -38
- package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js +100 -100
- package/lib/esm/appui-react/widgets/NavigationWidgetComposer.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/StatusBarWidgetComposerControl.d.ts +27 -27
- package/lib/esm/appui-react/widgets/StatusBarWidgetComposerControl.js +39 -38
- package/lib/esm/appui-react/widgets/StatusBarWidgetComposerControl.js.map +1 -1
- package/lib/esm/appui-react/widgets/ToolSettingsContent.d.ts +10 -10
- package/lib/esm/appui-react/widgets/ToolSettingsContent.js +12 -12
- 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/ViewToolWidgetComposer.d.ts +26 -26
- package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.js +32 -32
- package/lib/esm/appui-react/widgets/Widget.d.ts +38 -38
- package/lib/esm/appui-react/widgets/Widget.js +8 -8
- package/lib/esm/appui-react/widgets/WidgetConfig.d.ts +15 -15
- package/lib/esm/appui-react/widgets/WidgetConfig.js +8 -8
- 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/WidgetDef.d.ts +170 -170
- package/lib/esm/appui-react/widgets/WidgetDef.js +307 -306
- 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 +85 -86
- package/lib/esm/appui-react/widgets/WidgetHost.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetManager.d.ts +55 -55
- package/lib/esm/appui-react/widgets/WidgetManager.js +101 -101
- package/lib/esm/appui-react/widgets/WidgetState.d.ts +13 -13
- package/lib/esm/appui-react/widgets/WidgetState.js +18 -18
- package/lib/esm/appui-react.d.ts +341 -341
- package/lib/esm/appui-react.js +346 -346
- package/package.json +32 -30
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WidgetDef.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetDef.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAGH,0DAAsH;AAEtH,mFAA8I;AAC9I,gDAA6C;AAC7C,sDAAmD;AAEnD,kDAA+E;AAC/E,uFAAoF;AAEpF,+CAA4C;AAE5C,qFAAkF;AAElF,MAAM,kBAAkB,GAAG,IAAI,GAAG,CAAsB;IACtD,CAAC,yBAAW,CAAC,MAAM,EAAE,QAAQ,CAAC;IAC9B,CAAC,yBAAW,CAAC,QAAQ,EAAE,UAAU,CAAC;IAClC,CAAC,yBAAW,CAAC,MAAM,EAAE,QAAQ,CAAC;IAC9B,CAAC,yBAAW,CAAC,IAAI,EAAE,MAAM,CAAC;IAC1B,CAAC,yBAAW,CAAC,QAAQ,EAAE,UAAU,CAAC;CACnC,CAAC,CAAC;AAUH;;GAEG;AACH,MAAa,uBAAwB,SAAQ,wBAAoC;CAAI;AAArF,0DAAqF;AAYrF;;GAEG;AACH,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,2CAAI,CAAA;IACJ,uDAAU,CAAA;IACV,yDAAW,CAAA;IACX,2DAAY,CAAA;IACZ,qDAAS,CAAA;AACX,CAAC,EANW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAMrB;AAWD,gFAAgF;AAEhF;;GAEG;AACH,MAAa,SAAS;IA2FpB;QAzFQ,WAAM,GAAmD,EAAE,CAAC;QAC5D,aAAQ,GAAmD,EAAE,CAAC;QAG9D,kBAAa,GAAgB,yBAAW,CAAC,QAAQ,CAAC;QAElD,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,CAAC,mBAAmB,IAAI,IAAI,CAAC,mBAAmB,EAAE,CAAC;IACzD,CAAC;IAED;;OAEG;IACI,qBAAqB;QAC1B,IAAI,MAAM,GAAG,IAAI,CAAC;QAClB,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,sBAAsB,EAAE;YACrD,IAAI,OAAO,GAAG,KAAK,EAAE,OAAO,GAAG,KAAK,CAAC;YACrC,IAAI,IAAI,CAAC,aAAa;gBACpB,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,qBAAqB,EAAE,CAAC;YACvD,IAAI,IAAI,CAAC,sBAAsB;gBAC7B,OAAO,GAAG,IAAI,CAAC,sBAAsB,EAAE,CAAC;YAC1C,MAAM,GAAG,CAAC,CAAC,OAAO,IAAI,OAAO,CAAC,CAAC;SAChC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,IAAI;QACT,qDAAyB,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;OAEG;IACI,MAAM;QACX,qDAAyB,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAC1E,CAAC;;AApVH,8BAqVC;AApVgB,cAAI,GAAG,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Widget\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { BadgeType, ConditionalStringValue, PointProps, StringGetter, UiError, UiEvent } from \"@itwin/appui-abstract\";\r\nimport { FloatingWidgetState, PanelSide } from \"@itwin/appui-layout-react\";\r\nimport { ConfigurableCreateInfo, ConfigurableUiControlConstructor, ConfigurableUiControlType } from \"../configurableui/ConfigurableUiControl\";\r\nimport { UiFramework } from \"../UiFramework\";\r\nimport { PropsHelper } from \"../utils/PropsHelper\";\r\nimport { WidgetControl } from \"./WidgetControl\";\r\nimport { IconHelper, IconSpec, Rectangle, SizeProps } from \"@itwin/core-react\";\r\nimport { InternalFrontstageManager } from \"../frontstage/InternalFrontstageManager\";\r\nimport { WidgetConfig } from \"./WidgetConfig\";\r\nimport { WidgetState } from \"./WidgetState\";\r\nimport { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\r\nimport { StatusBarWidgetComposerControl } from \"./StatusBarWidgetComposerControl\";\r\n\r\nconst widgetStateNameMap = new Map<WidgetState, string>([\r\n [WidgetState.Closed, \"Closed\"],\r\n [WidgetState.Floating, \"Floating\"],\r\n [WidgetState.Hidden, \"Hidden\"],\r\n [WidgetState.Open, \"Open\"],\r\n [WidgetState.Unloaded, \"Unloaded\"],\r\n]);\r\n\r\n/** Widget State Changed Event Args interface.\r\n * @public\r\n */\r\nexport interface WidgetStateChangedEventArgs {\r\n widgetDef: WidgetDef;\r\n widgetState: WidgetState;\r\n}\r\n\r\n/** Widget State Changed Event class.\r\n * @public\r\n */\r\nexport class WidgetStateChangedEvent extends UiEvent<WidgetStateChangedEventArgs> { }\r\n\r\n/** @internal */\r\nexport interface WidgetChangedEventArgs {\r\n widgetDef: WidgetDef;\r\n}\r\n\r\n/** @internal */\r\nexport interface WidgetEventArgs {\r\n widgetDef: WidgetDef;\r\n}\r\n\r\n/** Widget type enum.\r\n * @public\r\n */\r\nexport enum WidgetType {\r\n Tool,\r\n Navigation,\r\n Rectangular,\r\n ToolSettings,\r\n StatusBar,\r\n}\r\n\r\n/** @internal */\r\nexport interface TabLocation {\r\n widgetId: string;\r\n widgetIndex: number;\r\n side: PanelSide;\r\n tabIndex: number;\r\n floatingWidget?: FloatingWidgetState;\r\n}\r\n\r\n// -----------------------------------------------------------------------------\r\n\r\n/** A Widget Definition in the 9-Zone Layout system.\r\n * @public\r\n */\r\nexport class WidgetDef {\r\n private static _sId = 0;\r\n private _label: string | ConditionalStringValue | StringGetter = \"\";\r\n private _tooltip: string | ConditionalStringValue | StringGetter = \"\";\r\n private _widgetReactNode: React.ReactNode;\r\n private _widgetControl!: WidgetControl;\r\n private _defaultState: WidgetState = WidgetState.Unloaded;\r\n private _id: string;\r\n private _classId: string | ConfigurableUiControlConstructor | undefined = undefined;\r\n private _priority: number = 0;\r\n private _isFloatingStateSupported: boolean = false;\r\n private _isFloatingStateWindowResizable: boolean = true;\r\n private _stateChanged: boolean = false;\r\n private _widgetType: WidgetType = WidgetType.Rectangular;\r\n private _applicationData?: any;\r\n private _icon?: IconSpec;\r\n private _internalData?: Map<string, any>;\r\n private _badge?: BadgeType;\r\n private _onWidgetStateChanged?: () => void;\r\n private _saveTransientState?: () => void;\r\n private _restoreTransientState?: () => boolean;\r\n private _preferredPanelSize: \"fit-content\" | undefined;\r\n private _defaultFloatingSize: SizeProps | undefined;\r\n private _canPopout?: boolean;\r\n private _floatingContainerId?: string;\r\n private _defaultFloatingPosition: PointProps | undefined;\r\n\r\n private _hideWithUiWhenFloating?: boolean;\r\n private _allowedPanelTargets?: ReadonlyArray<StagePanelLocation>;\r\n private _initialConfig?: WidgetConfig;\r\n\r\n private _tabLocation?: TabLocation;\r\n private _defaultTabLocation: TabLocation = {\r\n side: \"left\",\r\n tabIndex: 0,\r\n widgetId: \"\",\r\n widgetIndex: 0,\r\n };\r\n private _popoutBounds?: Rectangle;\r\n\r\n public get state(): WidgetState {\r\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\r\n if (frontstageDef && frontstageDef.findWidgetDef(this.id)) {\r\n const currentState = frontstageDef.getWidgetCurrentState(this);\r\n // istanbul ignore else\r\n if (undefined !== currentState)\r\n return currentState;\r\n }\r\n return this.defaultState;\r\n }\r\n\r\n public get id(): string { return this._id; }\r\n public get classId(): string | ConfigurableUiControlConstructor | undefined { return this._classId; }\r\n public get priority(): number { return this._priority; }\r\n public get isFloatingStateSupported(): boolean { return this._isFloatingStateSupported; }\r\n public get isFloatingStateWindowResizable(): boolean { return this._isFloatingStateWindowResizable; }\r\n public get isToolSettings(): boolean { return this._widgetType === WidgetType.ToolSettings; }\r\n public get isStatusBar(): boolean { return this._widgetType === WidgetType.StatusBar; }\r\n public get stateChanged(): boolean { return this._stateChanged; }\r\n public get applicationData(): any | undefined { return this._applicationData; }\r\n public get isFloating(): boolean { return this.state === WidgetState.Floating; }\r\n public get iconSpec(): IconSpec { return this._icon === IconHelper.reactIconKey ? IconHelper.getIconReactNode(this._icon, this._internalData) : this._icon; }\r\n public set iconSpec(spec: IconSpec) { this._icon = this._internalData ? IconHelper.getIconData(spec, this._internalData) : spec; }\r\n public get badgeType(): BadgeType | undefined { return this._badge; }\r\n public get initialConfig(): WidgetConfig | undefined { return this._initialConfig; }\r\n\r\n public get widgetType(): WidgetType { return this._widgetType; }\r\n public set widgetType(type: WidgetType) { this._widgetType = type; }\r\n\r\n /** @internal */\r\n public get tabLocation() { return this._tabLocation; }\r\n public set tabLocation(tabLocation: TabLocation | undefined) { this._tabLocation = tabLocation; }\r\n\r\n /** @internal */\r\n public get defaultTabLocation() { return this._defaultTabLocation; }\r\n\r\n /** @internal */\r\n public get defaultFloatingPosition() { return this._defaultFloatingPosition; }\r\n public set defaultFloatingPosition(position: PointProps | undefined) { this._defaultFloatingPosition = position; }\r\n\r\n /** @internal */\r\n public get defaultFloatingSize() { return this._defaultFloatingSize; }\r\n public set defaultFloatingSize(size: SizeProps | undefined) { this._defaultFloatingSize = size; }\r\n\r\n /** @internal */\r\n public get defaultState() { return this._defaultState; }\r\n\r\n /** @internal */\r\n public get popoutBounds() { return this._popoutBounds; }\r\n public set popoutBounds(bounds: Rectangle | undefined) { this._popoutBounds = bounds; }\r\n\r\n constructor() {\r\n WidgetDef._sId++;\r\n this._id = `Widget-${WidgetDef._sId}`;\r\n }\r\n\r\n /** @internal */\r\n public static create(config: WidgetConfig, type: WidgetType = WidgetType.Rectangular) {\r\n const def = new WidgetDef();\r\n def.initializeFromConfig(config, type);\r\n return def;\r\n }\r\n\r\n private initializeFromConfig(config: WidgetConfig, type: WidgetType) {\r\n this._widgetType = type;\r\n this._initialConfig = config;\r\n this._id = config.id;\r\n\r\n if (config.label)\r\n this.setLabel(config.label);\r\n else if (config.labelKey)\r\n this._label = UiFramework.localization.getLocalizedString(config.labelKey);\r\n\r\n this.setCanPopout(config.canPopout);\r\n\r\n const canFloat = config.canFloat;\r\n this._isFloatingStateSupported = !!canFloat;\r\n if (typeof canFloat === \"object\") {\r\n this.setFloatingContainerId(canFloat.containerId);\r\n this.defaultFloatingPosition = canFloat.defaultPosition;\r\n this._hideWithUiWhenFloating = !!canFloat.hideWithUi;\r\n this._isFloatingStateWindowResizable = !!canFloat.isResizable;\r\n this._defaultFloatingSize = canFloat.defaultSize;\r\n }\r\n\r\n this.allowedPanelTargets = config.allowedPanels;\r\n\r\n if (config.priority !== undefined)\r\n this._priority = config.priority;\r\n\r\n if (config.tooltip)\r\n this.setTooltip(config.tooltip);\r\n else if (config.tooltipKey)\r\n this._tooltip = UiFramework.localization.getLocalizedString(config.tooltipKey);\r\n\r\n if (config.defaultState !== undefined) {\r\n this._defaultState = config.defaultState;\r\n }\r\n\r\n this._widgetReactNode = config.content;\r\n this._icon = config.icon;\r\n\r\n // istanbul ignore next\r\n if (config.icon !== undefined && this._icon === undefined)\r\n this._icon = config.icon;\r\n\r\n if (config.badge !== undefined)\r\n this._badge = config.badge;\r\n\r\n this._preferredPanelSize = config.preferredPanelSize;\r\n }\r\n\r\n /** @alpha */\r\n public get preferredPanelSize() {\r\n return this._preferredPanelSize;\r\n }\r\n\r\n /** Get the label string */\r\n public get label(): string {\r\n return PropsHelper.getStringFromSpec(this._label);\r\n }\r\n\r\n /** Set the label.\r\n * @param v A string or a function to get the string.\r\n */\r\n public setLabel(v: string | ConditionalStringValue | StringGetter) {\r\n if (this._label === v)\r\n return;\r\n this._label = v;\r\n InternalFrontstageManager.onWidgetLabelChangedEvent.emit({ widgetDef: this });\r\n }\r\n\r\n /** Get the tooltip string */\r\n public get tooltip(): string {\r\n return PropsHelper.getStringFromSpec(this._tooltip);\r\n }\r\n\r\n /** Set the tooltip.\r\n * @param v A string or a function to get the string.\r\n */\r\n public setTooltip(v: string | ConditionalStringValue | StringGetter) {\r\n this._tooltip = v;\r\n }\r\n\r\n public get widgetControl(): WidgetControl | undefined {\r\n return this._widgetControl;\r\n }\r\n\r\n public getWidgetControl(type: ConfigurableUiControlType): WidgetControl | undefined {\r\n if (!this._widgetControl && this.classId) {\r\n let usedClassId: string = \"\";\r\n\r\n if (typeof this.classId === \"string\") {\r\n // istanbul ignore else\r\n if (this.classId)\r\n this._widgetControl = UiFramework.controls.create(this.classId, this.id, this.applicationData) as WidgetControl;\r\n usedClassId = this.classId;\r\n } else {\r\n const info = new ConfigurableCreateInfo(this.classId.name, this.id, this.id);\r\n usedClassId = this.classId.name;\r\n this._widgetControl = new this.classId(info, this.applicationData) as WidgetControl;\r\n }\r\n\r\n // istanbul ignore else\r\n if (this._widgetControl) {\r\n if (this._widgetControl.getType() !== type) {\r\n throw new UiError(UiFramework.loggerCategory(this), `getWidgetControl: '${usedClassId}' is NOT a ${type}; it is a ${this._widgetControl.getType()}`);\r\n }\r\n\r\n this._widgetControl.widgetDef = this;\r\n this._widgetControl.initialize();\r\n }\r\n }\r\n\r\n // istanbul ignore next - To avoid breaking API changes, if a WidgetControl is not specified for a status bar use Default one.\r\n if (!this._widgetControl && this.isStatusBar) {\r\n const info = new ConfigurableCreateInfo(\"StatusBarWidgetComposerControl\", StatusBarWidgetComposerControl.controlId, StatusBarWidgetComposerControl.controlId);\r\n this._widgetControl = new StatusBarWidgetComposerControl(info, undefined);\r\n this._widgetControl.widgetDef = this;\r\n this._widgetControl.initialize();\r\n }\r\n\r\n return this._widgetControl;\r\n }\r\n\r\n public get reactNode(): React.ReactNode {\r\n if (!this._widgetReactNode) {\r\n const widgetControl = this.getWidgetControl(ConfigurableUiControlType.Widget);\r\n\r\n // istanbul ignore else\r\n if (widgetControl && widgetControl.reactNode)\r\n this._widgetReactNode = widgetControl.reactNode;\r\n }\r\n\r\n return this._widgetReactNode;\r\n }\r\n\r\n public set reactNode(node: React.ReactNode) {\r\n this._widgetReactNode = node;\r\n }\r\n\r\n public setWidgetState(newState: WidgetState): void {\r\n if (this.state === newState)\r\n return;\r\n this._stateChanged = true;\r\n UiFramework.frontstages.onWidgetStateChangedEvent.emit({ widgetDef: this, widgetState: newState });\r\n this.onWidgetStateChanged();\r\n }\r\n\r\n public setCanPopout(value: boolean | undefined) {\r\n this._canPopout = value;\r\n }\r\n\r\n public get canPopout(): boolean | undefined {\r\n return (this._canPopout);\r\n }\r\n\r\n public setFloatingContainerId(value: string | undefined) {\r\n this._floatingContainerId = value;\r\n }\r\n\r\n public get floatingContainerId(): string | undefined {\r\n return (this._floatingContainerId);\r\n }\r\n\r\n public canOpen(): boolean {\r\n return (this.isFloating || this.isActive);\r\n }\r\n\r\n public get isVisible(): boolean {\r\n return WidgetState.Hidden !== this.state;\r\n }\r\n\r\n public get activeState(): WidgetState {\r\n return this.state;\r\n }\r\n\r\n public get isActive(): boolean {\r\n return WidgetState.Open === this.activeState;\r\n }\r\n\r\n public set hideWithUiWhenFloating(hide: boolean | undefined) {\r\n this._hideWithUiWhenFloating = !!hide;\r\n }\r\n\r\n public get hideWithUiWhenFloating(): boolean {\r\n return !!this._hideWithUiWhenFloating;\r\n }\r\n\r\n public get allowedPanelTargets(): ReadonlyArray<StagePanelLocation> | undefined {\r\n return this._allowedPanelTargets;\r\n }\r\n\r\n public set allowedPanelTargets(targets: ReadonlyArray<StagePanelLocation> | undefined) {\r\n this._allowedPanelTargets = (targets && targets?.length > 0) ? targets : undefined;\r\n }\r\n\r\n public onWidgetStateChanged(): void {\r\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\r\n this.widgetControl && UiFramework.postTelemetry(`Widget ${this.widgetControl.classId} state set to ${widgetStateNameMap.get(this.state)}`, \"35402486-9839-441E-A5C7-46D546142D11\");\r\n this.widgetControl && this.widgetControl.onWidgetStateChanged();\r\n // istanbul ignore next\r\n this._onWidgetStateChanged && this._onWidgetStateChanged();\r\n }\r\n\r\n /** Overwrite to save transient DOM state (i.e. scroll offset). */\r\n public saveTransientState(): void {\r\n this.widgetControl && this.widgetControl.saveTransientState();\r\n this._saveTransientState && this._saveTransientState();\r\n }\r\n\r\n /** Overwrite to restore transient DOM state.\r\n * @note Return true if the state is restored or the Widget will remount.\r\n */\r\n public restoreTransientState(): boolean {\r\n let result = true;\r\n if (this.widgetControl || this._restoreTransientState) {\r\n let result1 = false, result2 = false;\r\n if (this.widgetControl)\r\n result1 = this.widgetControl.restoreTransientState();\r\n if (this._restoreTransientState)\r\n result2 = this._restoreTransientState();\r\n result = !(result1 || result2);\r\n }\r\n return result;\r\n }\r\n\r\n /** Opens the widget and makes it visible to the user.\r\n * I.e. opens the stage panel or brings the floating widget to front of the screen.\r\n * @alpha\r\n */\r\n public show() {\r\n InternalFrontstageManager.onWidgetShowEvent.emit({ widgetDef: this });\r\n }\r\n\r\n /** Opens the widget and expands it to fill full size of the stage panel.\r\n * @alpha\r\n */\r\n public expand() {\r\n InternalFrontstageManager.onWidgetExpandEvent.emit({ widgetDef: this });\r\n }\r\n}\r\n"]}
|
|
1
|
+
{"version":3,"file":"WidgetDef.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetDef.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAGH,0DAAsH;AAEtH,mFAA8I;AAC9I,gDAA6C;AAC7C,sDAAmD;AAEnD,kDAA+E;AAC/E,uFAAoF;AAEpF,+CAA4C;AAE5C,qFAAkF;AAElF,MAAM,kBAAkB,GAAG,IAAI,GAAG,CAAsB;IACtD,CAAC,yBAAW,CAAC,MAAM,EAAE,QAAQ,CAAC;IAC9B,CAAC,yBAAW,CAAC,QAAQ,EAAE,UAAU,CAAC;IAClC,CAAC,yBAAW,CAAC,MAAM,EAAE,QAAQ,CAAC;IAC9B,CAAC,yBAAW,C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EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAC1E,CAAC;;AAnVc,cAAI,GAAG,CAAC,AAAJ,CAAK;AADb,8BAAS","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Widget\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { BadgeType, ConditionalStringValue, PointProps, StringGetter, UiError, UiEvent } from \"@itwin/appui-abstract\";\r\nimport { FloatingWidgetState, PanelSide } from \"@itwin/appui-layout-react\";\r\nimport { ConfigurableCreateInfo, ConfigurableUiControlConstructor, ConfigurableUiControlType } from \"../configurableui/ConfigurableUiControl\";\r\nimport { UiFramework } from \"../UiFramework\";\r\nimport { PropsHelper } from \"../utils/PropsHelper\";\r\nimport { WidgetControl } from \"./WidgetControl\";\r\nimport { IconHelper, IconSpec, Rectangle, SizeProps } from \"@itwin/core-react\";\r\nimport { InternalFrontstageManager } from \"../frontstage/InternalFrontstageManager\";\r\nimport { WidgetConfig } from \"./WidgetConfig\";\r\nimport { WidgetState } from \"./WidgetState\";\r\nimport { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\r\nimport { StatusBarWidgetComposerControl } from \"./StatusBarWidgetComposerControl\";\r\n\r\nconst widgetStateNameMap = new Map<WidgetState, string>([\r\n [WidgetState.Closed, \"Closed\"],\r\n [WidgetState.Floating, \"Floating\"],\r\n [WidgetState.Hidden, \"Hidden\"],\r\n [WidgetState.Open, \"Open\"],\r\n [WidgetState.Unloaded, \"Unloaded\"],\r\n]);\r\n\r\n/** Widget State Changed Event Args interface.\r\n * @public\r\n */\r\nexport interface WidgetStateChangedEventArgs {\r\n widgetDef: WidgetDef;\r\n widgetState: WidgetState;\r\n}\r\n\r\n/** Widget State Changed Event class.\r\n * @public\r\n */\r\nexport class WidgetStateChangedEvent extends UiEvent<WidgetStateChangedEventArgs> { }\r\n\r\n/** @internal */\r\nexport interface WidgetChangedEventArgs {\r\n widgetDef: WidgetDef;\r\n}\r\n\r\n/** @internal */\r\nexport interface WidgetEventArgs {\r\n widgetDef: WidgetDef;\r\n}\r\n\r\n/** Widget type enum.\r\n * @public\r\n */\r\nexport enum WidgetType {\r\n Tool,\r\n Navigation,\r\n Rectangular,\r\n ToolSettings,\r\n StatusBar,\r\n}\r\n\r\n/** @internal */\r\nexport interface TabLocation {\r\n widgetId: string;\r\n widgetIndex: number;\r\n side: PanelSide;\r\n tabIndex: number;\r\n floatingWidget?: FloatingWidgetState;\r\n}\r\n\r\n// -----------------------------------------------------------------------------\r\n\r\n/** A Widget Definition in the 9-Zone Layout system.\r\n * @public\r\n */\r\nexport class WidgetDef {\r\n private static _sId = 0;\r\n private _label: string | ConditionalStringValue | StringGetter = \"\";\r\n private _tooltip: string | ConditionalStringValue | StringGetter = \"\";\r\n private _widgetReactNode: React.ReactNode;\r\n private _widgetControl!: WidgetControl;\r\n private _defaultState: WidgetState = WidgetState.Unloaded;\r\n private _id: string;\r\n private _classId: string | ConfigurableUiControlConstructor | undefined = undefined;\r\n private _priority: number = 0;\r\n private _isFloatingStateSupported: boolean = false;\r\n private _isFloatingStateWindowResizable: boolean = true;\r\n private _stateChanged: boolean = false;\r\n private _widgetType: WidgetType = WidgetType.Rectangular;\r\n private _applicationData?: any;\r\n private _icon?: IconSpec;\r\n private _internalData?: Map<string, any>;\r\n private _badge?: BadgeType;\r\n private _onWidgetStateChanged?: () => void;\r\n private _saveTransientState?: () => void;\r\n private _restoreTransientState?: () => boolean;\r\n private _preferredPanelSize: \"fit-content\" | undefined;\r\n private _defaultFloatingSize: SizeProps | undefined;\r\n private _canPopout?: boolean;\r\n private _floatingContainerId?: string;\r\n private _defaultFloatingPosition: PointProps | undefined;\r\n\r\n private _hideWithUiWhenFloating?: boolean;\r\n private _allowedPanelTargets?: ReadonlyArray<StagePanelLocation>;\r\n private _initialConfig?: WidgetConfig;\r\n\r\n private _tabLocation?: TabLocation;\r\n private _defaultTabLocation: TabLocation = {\r\n side: \"left\",\r\n tabIndex: 0,\r\n widgetId: \"\",\r\n widgetIndex: 0,\r\n };\r\n private _popoutBounds?: Rectangle;\r\n\r\n public get state(): WidgetState {\r\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\r\n if (frontstageDef && frontstageDef.findWidgetDef(this.id)) {\r\n const currentState = frontstageDef.getWidgetCurrentState(this);\r\n // istanbul ignore else\r\n if (undefined !== currentState)\r\n return currentState;\r\n }\r\n return this.defaultState;\r\n }\r\n\r\n public get id(): string { return this._id; }\r\n public get classId(): string | ConfigurableUiControlConstructor | undefined { return this._classId; }\r\n public get priority(): number { return this._priority; }\r\n public get isFloatingStateSupported(): boolean { return this._isFloatingStateSupported; }\r\n public get isFloatingStateWindowResizable(): boolean { return this._isFloatingStateWindowResizable; }\r\n public get isToolSettings(): boolean { return this._widgetType === WidgetType.ToolSettings; }\r\n public get isStatusBar(): boolean { return this._widgetType === WidgetType.StatusBar; }\r\n public get stateChanged(): boolean { return this._stateChanged; }\r\n public get applicationData(): any | undefined { return this._applicationData; }\r\n public get isFloating(): boolean { return this.state === WidgetState.Floating; }\r\n public get iconSpec(): IconSpec { return this._icon === IconHelper.reactIconKey ? IconHelper.getIconReactNode(this._icon, this._internalData) : this._icon; }\r\n public set iconSpec(spec: IconSpec) { this._icon = this._internalData ? IconHelper.getIconData(spec, this._internalData) : spec; }\r\n public get badgeType(): BadgeType | undefined { return this._badge; }\r\n public get initialConfig(): WidgetConfig | undefined { return this._initialConfig; }\r\n\r\n public get widgetType(): WidgetType { return this._widgetType; }\r\n public set widgetType(type: WidgetType) { this._widgetType = type; }\r\n\r\n /** @internal */\r\n public get tabLocation() { return this._tabLocation; }\r\n public set tabLocation(tabLocation: TabLocation | undefined) { this._tabLocation = tabLocation; }\r\n\r\n /** @internal */\r\n public get defaultTabLocation() { return this._defaultTabLocation; }\r\n\r\n /** @internal */\r\n public get defaultFloatingPosition() { return this._defaultFloatingPosition; }\r\n public set defaultFloatingPosition(position: PointProps | undefined) { this._defaultFloatingPosition = position; }\r\n\r\n /** @internal */\r\n public get defaultFloatingSize() { return this._defaultFloatingSize; }\r\n public set defaultFloatingSize(size: SizeProps | undefined) { this._defaultFloatingSize = size; }\r\n\r\n /** @internal */\r\n public get defaultState() { return this._defaultState; }\r\n\r\n /** @internal */\r\n public get popoutBounds() { return this._popoutBounds; }\r\n public set popoutBounds(bounds: Rectangle | undefined) { this._popoutBounds = bounds; }\r\n\r\n constructor() {\r\n WidgetDef._sId++;\r\n this._id = `Widget-${WidgetDef._sId}`;\r\n }\r\n\r\n /** @internal */\r\n public static create(config: WidgetConfig, type: WidgetType = WidgetType.Rectangular) {\r\n const def = new WidgetDef();\r\n def.initializeFromConfig(config, type);\r\n return def;\r\n }\r\n\r\n private initializeFromConfig(config: WidgetConfig, type: WidgetType) {\r\n this._widgetType = type;\r\n this._initialConfig = config;\r\n this._id = config.id;\r\n\r\n if (config.label)\r\n this.setLabel(config.label);\r\n else if (config.labelKey)\r\n this._label = UiFramework.localization.getLocalizedString(config.labelKey);\r\n\r\n this.setCanPopout(config.canPopout);\r\n\r\n const canFloat = config.canFloat;\r\n this._isFloatingStateSupported = !!canFloat;\r\n if (typeof canFloat === \"object\") {\r\n this.setFloatingContainerId(canFloat.containerId);\r\n this.defaultFloatingPosition = canFloat.defaultPosition;\r\n this._hideWithUiWhenFloating = !!canFloat.hideWithUi;\r\n this._isFloatingStateWindowResizable = !!canFloat.isResizable;\r\n this._defaultFloatingSize = canFloat.defaultSize;\r\n }\r\n\r\n this.allowedPanelTargets = config.allowedPanels;\r\n\r\n if (config.priority !== undefined)\r\n this._priority = config.priority;\r\n\r\n if (config.tooltip)\r\n this.setTooltip(config.tooltip);\r\n else if (config.tooltipKey)\r\n this._tooltip = UiFramework.localization.getLocalizedString(config.tooltipKey);\r\n\r\n if (config.defaultState !== undefined) {\r\n this._defaultState = config.defaultState;\r\n }\r\n\r\n this._widgetReactNode = config.content;\r\n this._icon = config.icon;\r\n\r\n // istanbul ignore next\r\n if (config.icon !== undefined && this._icon === undefined)\r\n this._icon = config.icon;\r\n\r\n if (config.badge !== undefined)\r\n this._badge = config.badge;\r\n\r\n this._preferredPanelSize = config.preferredPanelSize;\r\n }\r\n\r\n /** @alpha */\r\n public get preferredPanelSize() {\r\n return this._preferredPanelSize;\r\n }\r\n\r\n /** Get the label string */\r\n public get label(): string {\r\n return PropsHelper.getStringFromSpec(this._label);\r\n }\r\n\r\n /** Set the label.\r\n * @param v A string or a function to get the string.\r\n */\r\n public setLabel(v: string | ConditionalStringValue | StringGetter) {\r\n if (this._label === v)\r\n return;\r\n this._label = v;\r\n InternalFrontstageManager.onWidgetLabelChangedEvent.emit({ widgetDef: this });\r\n }\r\n\r\n /** Get the tooltip string */\r\n public get tooltip(): string {\r\n return PropsHelper.getStringFromSpec(this._tooltip);\r\n }\r\n\r\n /** Set the tooltip.\r\n * @param v A string or a function to get the string.\r\n */\r\n public setTooltip(v: string | ConditionalStringValue | StringGetter) {\r\n this._tooltip = v;\r\n }\r\n\r\n public get widgetControl(): WidgetControl | undefined {\r\n return this._widgetControl;\r\n }\r\n\r\n public getWidgetControl(type: ConfigurableUiControlType): WidgetControl | undefined {\r\n if (!this._widgetControl && this.classId) {\r\n let usedClassId: string = \"\";\r\n\r\n if (typeof this.classId === \"string\") {\r\n // istanbul ignore else\r\n if (this.classId)\r\n this._widgetControl = UiFramework.controls.create(this.classId, this.id, this.applicationData) as WidgetControl;\r\n usedClassId = this.classId;\r\n } else {\r\n const info = new ConfigurableCreateInfo(this.classId.name, this.id, this.id);\r\n usedClassId = this.classId.name;\r\n this._widgetControl = new this.classId(info, this.applicationData) as WidgetControl;\r\n }\r\n\r\n // istanbul ignore else\r\n if (this._widgetControl) {\r\n if (this._widgetControl.getType() !== type) {\r\n throw new UiError(UiFramework.loggerCategory(this), `getWidgetControl: '${usedClassId}' is NOT a ${type}; it is a ${this._widgetControl.getType()}`);\r\n }\r\n\r\n this._widgetControl.widgetDef = this;\r\n this._widgetControl.initialize();\r\n }\r\n }\r\n\r\n // istanbul ignore next - To avoid breaking API changes, if a WidgetControl is not specified for a status bar use Default one.\r\n if (!this._widgetControl && this.isStatusBar) {\r\n const info = new ConfigurableCreateInfo(\"StatusBarWidgetComposerControl\", StatusBarWidgetComposerControl.controlId, StatusBarWidgetComposerControl.controlId);\r\n this._widgetControl = new StatusBarWidgetComposerControl(info, undefined);\r\n this._widgetControl.widgetDef = this;\r\n this._widgetControl.initialize();\r\n }\r\n\r\n return this._widgetControl;\r\n }\r\n\r\n public get reactNode(): React.ReactNode {\r\n if (!this._widgetReactNode) {\r\n const widgetControl = this.getWidgetControl(ConfigurableUiControlType.Widget);\r\n\r\n // istanbul ignore else\r\n if (widgetControl && widgetControl.reactNode)\r\n this._widgetReactNode = widgetControl.reactNode;\r\n }\r\n\r\n return this._widgetReactNode;\r\n }\r\n\r\n public set reactNode(node: React.ReactNode) {\r\n this._widgetReactNode = node;\r\n }\r\n\r\n public setWidgetState(newState: WidgetState): void {\r\n if (this.state === newState)\r\n return;\r\n this._stateChanged = true;\r\n UiFramework.frontstages.onWidgetStateChangedEvent.emit({ widgetDef: this, widgetState: newState });\r\n this.onWidgetStateChanged();\r\n }\r\n\r\n public setCanPopout(value: boolean | undefined) {\r\n this._canPopout = value;\r\n }\r\n\r\n public get canPopout(): boolean | undefined {\r\n return (this._canPopout);\r\n }\r\n\r\n public setFloatingContainerId(value: string | undefined) {\r\n this._floatingContainerId = value;\r\n }\r\n\r\n public get floatingContainerId(): string | undefined {\r\n return (this._floatingContainerId);\r\n }\r\n\r\n public canOpen(): boolean {\r\n return (this.isFloating || this.isActive);\r\n }\r\n\r\n public get isVisible(): boolean {\r\n return WidgetState.Hidden !== this.state;\r\n }\r\n\r\n public get activeState(): WidgetState {\r\n return this.state;\r\n }\r\n\r\n public get isActive(): boolean {\r\n return WidgetState.Open === this.activeState;\r\n }\r\n\r\n public set hideWithUiWhenFloating(hide: boolean | undefined) {\r\n this._hideWithUiWhenFloating = !!hide;\r\n }\r\n\r\n public get hideWithUiWhenFloating(): boolean {\r\n return !!this._hideWithUiWhenFloating;\r\n }\r\n\r\n public get allowedPanelTargets(): ReadonlyArray<StagePanelLocation> | undefined {\r\n return this._allowedPanelTargets;\r\n }\r\n\r\n public set allowedPanelTargets(targets: ReadonlyArray<StagePanelLocation> | undefined) {\r\n this._allowedPanelTargets = (targets && targets?.length > 0) ? targets : undefined;\r\n }\r\n\r\n public onWidgetStateChanged(): void {\r\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\r\n this.widgetControl && UiFramework.postTelemetry(`Widget ${this.widgetControl.classId} state set to ${widgetStateNameMap.get(this.state)}`, \"35402486-9839-441E-A5C7-46D546142D11\");\r\n this.widgetControl && this.widgetControl.onWidgetStateChanged();\r\n // istanbul ignore next\r\n this._onWidgetStateChanged && this._onWidgetStateChanged();\r\n }\r\n\r\n /** Overwrite to save transient DOM state (i.e. scroll offset). */\r\n public saveTransientState(): void {\r\n this.widgetControl && this.widgetControl.saveTransientState();\r\n this._saveTransientState && this._saveTransientState();\r\n }\r\n\r\n /** Overwrite to restore transient DOM state.\r\n * @note Return true if the state is restored or the Widget will remount.\r\n */\r\n public restoreTransientState(): boolean {\r\n let result = true;\r\n if (this.widgetControl || this._restoreTransientState) {\r\n let result1 = false, result2 = false;\r\n if (this.widgetControl)\r\n result1 = this.widgetControl.restoreTransientState();\r\n if (this._restoreTransientState)\r\n result2 = this._restoreTransientState();\r\n result = !(result1 || result2);\r\n }\r\n return result;\r\n }\r\n\r\n /** Opens the widget and makes it visible to the user.\r\n * I.e. opens the stage panel or brings the floating widget to front of the screen.\r\n * @alpha\r\n */\r\n public show() {\r\n InternalFrontstageManager.onWidgetShowEvent.emit({ widgetDef: this });\r\n }\r\n\r\n /** Opens the widget and expands it to fill full size of the stage panel.\r\n * @alpha\r\n */\r\n public expand() {\r\n InternalFrontstageManager.onWidgetExpandEvent.emit({ widgetDef: this });\r\n }\r\n}\r\n"]}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module Widget
|
|
3
|
-
*/
|
|
4
|
-
import { StagePanelLocation } from "../stagepanels/StagePanelLocation";
|
|
5
|
-
import { StagePanelSection } from "../stagepanels/StagePanelSection";
|
|
6
|
-
import { WidgetDef } from "./WidgetDef";
|
|
7
|
-
/**
|
|
8
|
-
* A WidgetHost represents a definition that hosts one or most Widgets in a Frontstage.
|
|
9
|
-
* @public
|
|
10
|
-
*/
|
|
11
|
-
export declare class WidgetHost {
|
|
12
|
-
private _widgetDefs;
|
|
13
|
-
private _dynamicWidgetDefs;
|
|
14
|
-
private _sortedWidgetDefs;
|
|
15
|
-
/** Constructor for WidgetHost.
|
|
16
|
-
*/
|
|
17
|
-
constructor();
|
|
18
|
-
/** Adds a WidgetDef to the list of Widgets.
|
|
19
|
-
* @param widgetDef Definition of the Widget to add
|
|
20
|
-
*/
|
|
21
|
-
addWidgetDef(widgetDef: WidgetDef): void;
|
|
22
|
-
/** Gets the list of Widgets. */
|
|
23
|
-
get widgetDefs(): ReadonlyArray<WidgetDef>;
|
|
24
|
-
/** Gets the number of Widgets. */
|
|
25
|
-
get widgetCount(): number;
|
|
26
|
-
/** If there is only one Widget in the Panel, gets the single WidgetDef.
|
|
27
|
-
* @returns The single WidgetDef if there is only one Widget; otherwise, undefined is returned.
|
|
28
|
-
*/
|
|
29
|
-
getSingleWidgetDef(): WidgetDef | undefined;
|
|
30
|
-
/** Finds a WidgetDef with a given Id.
|
|
31
|
-
* @param id Id of the WidgetDef to find
|
|
32
|
-
* @returns The WidgetDef if found; otherwise, undefined is returned.
|
|
33
|
-
*/
|
|
34
|
-
findWidgetDef(id: string): WidgetDef | undefined;
|
|
35
|
-
/** Updates the WidgetHost with dynamic widgets
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
|
-
updateDynamicWidgetDefs(stageId: string, stageUsage: string, location: StagePanelLocation, section: StagePanelSection | undefined, allStageWidgetDefs: WidgetDef[]): void;
|
|
39
|
-
/** Sorts all widgets */
|
|
40
|
-
private sortWidgetDefs;
|
|
41
|
-
}
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module Widget
|
|
3
|
+
*/
|
|
4
|
+
import { StagePanelLocation } from "../stagepanels/StagePanelLocation";
|
|
5
|
+
import { StagePanelSection } from "../stagepanels/StagePanelSection";
|
|
6
|
+
import { WidgetDef } from "./WidgetDef";
|
|
7
|
+
/**
|
|
8
|
+
* A WidgetHost represents a definition that hosts one or most Widgets in a Frontstage.
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export declare class WidgetHost {
|
|
12
|
+
private _widgetDefs;
|
|
13
|
+
private _dynamicWidgetDefs;
|
|
14
|
+
private _sortedWidgetDefs;
|
|
15
|
+
/** Constructor for WidgetHost.
|
|
16
|
+
*/
|
|
17
|
+
constructor();
|
|
18
|
+
/** Adds a WidgetDef to the list of Widgets.
|
|
19
|
+
* @param widgetDef Definition of the Widget to add
|
|
20
|
+
*/
|
|
21
|
+
addWidgetDef(widgetDef: WidgetDef): void;
|
|
22
|
+
/** Gets the list of Widgets. */
|
|
23
|
+
get widgetDefs(): ReadonlyArray<WidgetDef>;
|
|
24
|
+
/** Gets the number of Widgets. */
|
|
25
|
+
get widgetCount(): number;
|
|
26
|
+
/** If there is only one Widget in the Panel, gets the single WidgetDef.
|
|
27
|
+
* @returns The single WidgetDef if there is only one Widget; otherwise, undefined is returned.
|
|
28
|
+
*/
|
|
29
|
+
getSingleWidgetDef(): WidgetDef | undefined;
|
|
30
|
+
/** Finds a WidgetDef with a given Id.
|
|
31
|
+
* @param id Id of the WidgetDef to find
|
|
32
|
+
* @returns The WidgetDef if found; otherwise, undefined is returned.
|
|
33
|
+
*/
|
|
34
|
+
findWidgetDef(id: string): WidgetDef | undefined;
|
|
35
|
+
/** Updates the WidgetHost with dynamic widgets
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
updateDynamicWidgetDefs(stageId: string, stageUsage: string, location: StagePanelLocation, section: StagePanelSection | undefined, allStageWidgetDefs: WidgetDef[]): void;
|
|
39
|
+
/** Sorts all widgets */
|
|
40
|
+
private sortWidgetDefs;
|
|
41
|
+
}
|
|
42
42
|
//# sourceMappingURL=WidgetHost.d.ts.map
|
|
@@ -1,91 +1,90 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*---------------------------------------------------------------------------------------------
|
|
3
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
|
-
*--------------------------------------------------------------------------------------------*/
|
|
6
|
-
/** @packageDocumentation
|
|
7
|
-
* @module Widget
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.WidgetHost = void 0;
|
|
11
|
-
const UiFramework_1 = require("../UiFramework");
|
|
12
|
-
/**
|
|
13
|
-
* A WidgetHost represents a definition that hosts one or most Widgets in a Frontstage.
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
|
-
class WidgetHost {
|
|
17
|
-
/** Constructor for WidgetHost.
|
|
18
|
-
*/
|
|
19
|
-
constructor() {
|
|
20
|
-
this._widgetDefs = new Array();
|
|
21
|
-
this._sortedWidgetDefs = [];
|
|
22
|
-
}
|
|
23
|
-
/** Adds a WidgetDef to the list of Widgets.
|
|
24
|
-
* @param widgetDef Definition of the Widget to add
|
|
25
|
-
*/
|
|
26
|
-
addWidgetDef(widgetDef) {
|
|
27
|
-
this._widgetDefs.push(widgetDef);
|
|
28
|
-
this.sortWidgetDefs();
|
|
29
|
-
}
|
|
30
|
-
/** Gets the list of Widgets. */
|
|
31
|
-
get widgetDefs() {
|
|
32
|
-
return this._sortedWidgetDefs;
|
|
33
|
-
}
|
|
34
|
-
/** Gets the number of Widgets. */
|
|
35
|
-
get widgetCount() {
|
|
36
|
-
return this.widgetDefs.length;
|
|
37
|
-
}
|
|
38
|
-
/** If there is only one Widget in the Panel, gets the single WidgetDef.
|
|
39
|
-
* @returns The single WidgetDef if there is only one Widget; otherwise, undefined is returned.
|
|
40
|
-
*/
|
|
41
|
-
getSingleWidgetDef() {
|
|
42
|
-
if (this.widgetCount === 1) {
|
|
43
|
-
return this.widgetDefs[0];
|
|
44
|
-
}
|
|
45
|
-
return undefined;
|
|
46
|
-
}
|
|
47
|
-
/** Finds a WidgetDef with a given Id.
|
|
48
|
-
* @param id Id of the WidgetDef to find
|
|
49
|
-
* @returns The WidgetDef if found; otherwise, undefined is returned.
|
|
50
|
-
*/
|
|
51
|
-
findWidgetDef(id) {
|
|
52
|
-
return this.widgetDefs.find((widgetDef) => widgetDef.id === id);
|
|
53
|
-
}
|
|
54
|
-
/** Updates the WidgetHost with dynamic widgets
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
updateDynamicWidgetDefs(stageId, stageUsage, location, section, allStageWidgetDefs) {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
//
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
exports.WidgetHost = WidgetHost;
|
|
1
|
+
"use strict";
|
|
2
|
+
/*---------------------------------------------------------------------------------------------
|
|
3
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
|
+
*--------------------------------------------------------------------------------------------*/
|
|
6
|
+
/** @packageDocumentation
|
|
7
|
+
* @module Widget
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.WidgetHost = void 0;
|
|
11
|
+
const UiFramework_1 = require("../UiFramework");
|
|
12
|
+
/**
|
|
13
|
+
* A WidgetHost represents a definition that hosts one or most Widgets in a Frontstage.
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
class WidgetHost {
|
|
17
|
+
/** Constructor for WidgetHost.
|
|
18
|
+
*/
|
|
19
|
+
constructor() {
|
|
20
|
+
this._widgetDefs = new Array();
|
|
21
|
+
this._sortedWidgetDefs = [];
|
|
22
|
+
}
|
|
23
|
+
/** Adds a WidgetDef to the list of Widgets.
|
|
24
|
+
* @param widgetDef Definition of the Widget to add
|
|
25
|
+
*/
|
|
26
|
+
addWidgetDef(widgetDef) {
|
|
27
|
+
this._widgetDefs.push(widgetDef);
|
|
28
|
+
this.sortWidgetDefs();
|
|
29
|
+
}
|
|
30
|
+
/** Gets the list of Widgets. */
|
|
31
|
+
get widgetDefs() {
|
|
32
|
+
return this._sortedWidgetDefs;
|
|
33
|
+
}
|
|
34
|
+
/** Gets the number of Widgets. */
|
|
35
|
+
get widgetCount() {
|
|
36
|
+
return this.widgetDefs.length;
|
|
37
|
+
}
|
|
38
|
+
/** If there is only one Widget in the Panel, gets the single WidgetDef.
|
|
39
|
+
* @returns The single WidgetDef if there is only one Widget; otherwise, undefined is returned.
|
|
40
|
+
*/
|
|
41
|
+
getSingleWidgetDef() {
|
|
42
|
+
if (this.widgetCount === 1) {
|
|
43
|
+
return this.widgetDefs[0];
|
|
44
|
+
}
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
/** Finds a WidgetDef with a given Id.
|
|
48
|
+
* @param id Id of the WidgetDef to find
|
|
49
|
+
* @returns The WidgetDef if found; otherwise, undefined is returned.
|
|
50
|
+
*/
|
|
51
|
+
findWidgetDef(id) {
|
|
52
|
+
return this.widgetDefs.find((widgetDef) => widgetDef.id === id);
|
|
53
|
+
}
|
|
54
|
+
/** Updates the WidgetHost with dynamic widgets
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
updateDynamicWidgetDefs(stageId, stageUsage, location, section, allStageWidgetDefs) {
|
|
58
|
+
// get widgetDefs not already in allStageWidgetDefs and add them
|
|
59
|
+
const uniqueWidgets = this._widgetDefs.filter((widgetDef) => {
|
|
60
|
+
return !allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id);
|
|
61
|
+
});
|
|
62
|
+
allStageWidgetDefs.push(...uniqueWidgets);
|
|
63
|
+
let dynamicWidgetDefs;
|
|
64
|
+
if (section !== undefined) {
|
|
65
|
+
dynamicWidgetDefs = UiFramework_1.UiFramework.widgetManager.getWidgetDefs(stageId, stageUsage, location, section) ?? [];
|
|
66
|
+
}
|
|
67
|
+
const uniqueDynamicWidgetDefs = dynamicWidgetDefs?.filter((widgetDef) => {
|
|
68
|
+
return ((!allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id)));
|
|
69
|
+
});
|
|
70
|
+
// Now that we no longer support a middle panel section, yet we have existing API that allows a middle section to be
|
|
71
|
+
// defined, the following is needed to combining middle and end panel section widgets into a single set of widgets
|
|
72
|
+
if (uniqueDynamicWidgetDefs) {
|
|
73
|
+
allStageWidgetDefs.push(...uniqueDynamicWidgetDefs);
|
|
74
|
+
this._dynamicWidgetDefs = [...uniqueDynamicWidgetDefs];
|
|
75
|
+
}
|
|
76
|
+
this.sortWidgetDefs();
|
|
77
|
+
}
|
|
78
|
+
/** Sorts all widgets */
|
|
79
|
+
sortWidgetDefs() {
|
|
80
|
+
let sortedWidgetDefs = [];
|
|
81
|
+
if (this._dynamicWidgetDefs)
|
|
82
|
+
sortedWidgetDefs = this._widgetDefs.concat(this._dynamicWidgetDefs);
|
|
83
|
+
else
|
|
84
|
+
sortedWidgetDefs = this._widgetDefs.slice();
|
|
85
|
+
sortedWidgetDefs.sort((a, b) => a.priority - b.priority);
|
|
86
|
+
this._sortedWidgetDefs = sortedWidgetDefs;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
exports.WidgetHost = WidgetHost;
|
|
91
90
|
//# sourceMappingURL=WidgetHost.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WidgetHost.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetHost.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAIH,gDAA6C;AAG7C;;;GAGG;AACH,MAAa,UAAU;IAMrB;OACG;IACH;QANQ,gBAAW,GAAgB,IAAI,KAAK,EAAa,CAAC;QAElD,sBAAiB,GAA6B,EAAE,CAAC;IAIzC,CAAC;IAEjB;;OAEG;IACI,YAAY,CAAC,SAAoB;QACtC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACjC,IAAI,CAAC,cAAc,EAAE,CAAC;IACxB,CAAC;IAED,gCAAgC;IAChC,IAAW,UAAU;QACnB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAChC,CAAC;IAED,kCAAkC;IAClC,IAAW,WAAW;QACpB,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC;IAChC,CAAC;IAED;;OAEG;IACI,kBAAkB;QACvB,IAAI,IAAI,CAAC,WAAW,KAAK,CAAC,EAAE;YAC1B,OAAO,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;SAC3B;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;IAED;;;OAGG;IACI,aAAa,CAAC,EAAU;QAC7B,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,SAAoB,EAAE,EAAE,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;OAEG;IACI,uBAAuB,CAAC,OAAe,EAAE,UAAkB,EAAE,QAA4B,EAAE,OAAsC,EACtI,kBAA+B
|
|
1
|
+
{"version":3,"file":"Widg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CAwFC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Widget\r\n */\r\n\r\nimport { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\r\nimport { StagePanelSection } from \"../stagepanels/StagePanelSection\";\r\nimport { UiFramework } from \"../UiFramework\";\r\nimport { WidgetDef } from \"./WidgetDef\";\r\n\r\n/**\r\n * A WidgetHost represents a definition that hosts one or most Widgets in a Frontstage.\r\n * @public\r\n */\r\nexport class WidgetHost {\r\n\r\n private _widgetDefs: WidgetDef[] = new Array<WidgetDef>();\r\n private _dynamicWidgetDefs: ReadonlyArray<WidgetDef> | undefined;\r\n private _sortedWidgetDefs: ReadonlyArray<WidgetDef> = [];\r\n\r\n /** Constructor for WidgetHost.\r\n */\r\n constructor() { }\r\n\r\n /** Adds a WidgetDef to the list of Widgets.\r\n * @param widgetDef Definition of the Widget to add\r\n */\r\n public addWidgetDef(widgetDef: WidgetDef) {\r\n this._widgetDefs.push(widgetDef);\r\n this.sortWidgetDefs();\r\n }\r\n\r\n /** Gets the list of Widgets. */\r\n public get widgetDefs(): ReadonlyArray<WidgetDef> {\r\n return this._sortedWidgetDefs;\r\n }\r\n\r\n /** Gets the number of Widgets. */\r\n public get widgetCount(): number {\r\n return this.widgetDefs.length;\r\n }\r\n\r\n /** If there is only one Widget in the Panel, gets the single WidgetDef.\r\n * @returns The single WidgetDef if there is only one Widget; otherwise, undefined is returned.\r\n */\r\n public getSingleWidgetDef(): WidgetDef | undefined {\r\n if (this.widgetCount === 1) {\r\n return this.widgetDefs[0];\r\n }\r\n return undefined;\r\n }\r\n\r\n /** Finds a WidgetDef with a given Id.\r\n * @param id Id of the WidgetDef to find\r\n * @returns The WidgetDef if found; otherwise, undefined is returned.\r\n */\r\n public findWidgetDef(id: string): WidgetDef | undefined {\r\n return this.widgetDefs.find((widgetDef: WidgetDef) => widgetDef.id === id);\r\n }\r\n\r\n /** Updates the WidgetHost with dynamic widgets\r\n * @internal\r\n */\r\n public updateDynamicWidgetDefs(stageId: string, stageUsage: string, location: StagePanelLocation, section: StagePanelSection | undefined,\r\n allStageWidgetDefs: WidgetDef[]): void {\r\n // get widgetDefs not already in allStageWidgetDefs and add them\r\n const uniqueWidgets = this._widgetDefs.filter((widgetDef) => {\r\n return !allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id);\r\n });\r\n\r\n allStageWidgetDefs.push(...uniqueWidgets);\r\n\r\n let dynamicWidgetDefs: readonly WidgetDef[] | undefined;\r\n if (section !== undefined) {\r\n dynamicWidgetDefs = UiFramework.widgetManager.getWidgetDefs(stageId, stageUsage, location, section) ?? [];\r\n }\r\n\r\n const uniqueDynamicWidgetDefs = dynamicWidgetDefs?.filter((widgetDef) => {\r\n return ((!allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id)));\r\n });\r\n\r\n // Now that we no longer support a middle panel section, yet we have existing API that allows a middle section to be\r\n // defined, the following is needed to combining middle and end panel section widgets into a single set of widgets\r\n if (uniqueDynamicWidgetDefs) {\r\n allStageWidgetDefs.push(...uniqueDynamicWidgetDefs);\r\n this._dynamicWidgetDefs = [...uniqueDynamicWidgetDefs];\r\n }\r\n this.sortWidgetDefs();\r\n }\r\n\r\n /** Sorts all widgets */\r\n private sortWidgetDefs(): void {\r\n let sortedWidgetDefs = [];\r\n if (this._dynamicWidgetDefs)\r\n sortedWidgetDefs = this._widgetDefs.concat(this._dynamicWidgetDefs);\r\n else\r\n sortedWidgetDefs = this._widgetDefs.slice();\r\n\r\n sortedWidgetDefs.sort((a, b) => a.priority - b.priority);\r\n\r\n this._sortedWidgetDefs = sortedWidgetDefs;\r\n }\r\n}\r\n"]}
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module Widget
|
|
3
|
-
*/
|
|
4
|
-
import { BeUiEvent } from "@itwin/core-bentley";
|
|
5
|
-
import { WidgetDef } from "./WidgetDef";
|
|
6
|
-
import { StagePanelLocation } from "../stagepanels/StagePanelLocation";
|
|
7
|
-
import { StagePanelSection } from "../stagepanels/StagePanelSection";
|
|
8
|
-
/** Information about WidgetDefs in the WidgetManager
|
|
9
|
-
* @internal
|
|
10
|
-
*/
|
|
11
|
-
export interface WidgetInfo {
|
|
12
|
-
widgetDef: WidgetDef;
|
|
13
|
-
stageId?: string;
|
|
14
|
-
stageUsage?: string;
|
|
15
|
-
location: StagePanelLocation;
|
|
16
|
-
section: StagePanelSection;
|
|
17
|
-
}
|
|
18
|
-
/** Arguments of [[this.onWidgetsChanged]] event.
|
|
19
|
-
* @internal
|
|
20
|
-
*/
|
|
21
|
-
export interface WidgetsChangedEventArgs {
|
|
22
|
-
readonly items: ReadonlyArray<WidgetInfo>;
|
|
23
|
-
}
|
|
24
|
-
/** Event class for [[this.onWidgetsChanged]].
|
|
25
|
-
* @internal
|
|
26
|
-
*/
|
|
27
|
-
export declare class WidgetsChangedEvent extends BeUiEvent<WidgetsChangedEventArgs> {
|
|
28
|
-
}
|
|
29
|
-
/** Widget Manager class.
|
|
30
|
-
* @beta
|
|
31
|
-
*/
|
|
32
|
-
export declare class WidgetManager {
|
|
33
|
-
private _widgets;
|
|
34
|
-
/** Event raised when Widgets are changed.
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
|
-
readonly onWidgetsChanged: WidgetsChangedEvent;
|
|
38
|
-
/** @internal */
|
|
39
|
-
get widgetCount(): number;
|
|
40
|
-
/** @internal */
|
|
41
|
-
get widgets(): ReadonlyArray<WidgetInfo>;
|
|
42
|
-
set widgets(w: ReadonlyArray<WidgetInfo>);
|
|
43
|
-
/** Adds a WidgetDef for use in a Frontstage.
|
|
44
|
-
* @note Added `widgetDef` must return unique id to correctly save/restore App layout.
|
|
45
|
-
* Semi-stable id is generated when auto-generated `widgetDef` id is detected,
|
|
46
|
-
* but correctness of such id depends on `addWidgetDef` call order and widget location.
|
|
47
|
-
*/
|
|
48
|
-
addWidgetDef(widgetDef: WidgetDef, stageId: string | undefined, stageUsage: string | undefined, location: StagePanelLocation, section?: StagePanelSection): boolean;
|
|
49
|
-
/** Removes a WidgetDef.
|
|
50
|
-
*/
|
|
51
|
-
removeWidgetDef(widgetId: string): boolean;
|
|
52
|
-
/** Gets WidgetDefs for a Frontstage location.
|
|
53
|
-
*/
|
|
54
|
-
getWidgetDefs(stageId: string, stageUsage: string, location: StagePanelLocation, section?: StagePanelSection): ReadonlyArray<WidgetDef> | undefined;
|
|
55
|
-
}
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module Widget
|
|
3
|
+
*/
|
|
4
|
+
import { BeUiEvent } from "@itwin/core-bentley";
|
|
5
|
+
import { WidgetDef } from "./WidgetDef";
|
|
6
|
+
import { StagePanelLocation } from "../stagepanels/StagePanelLocation";
|
|
7
|
+
import { StagePanelSection } from "../stagepanels/StagePanelSection";
|
|
8
|
+
/** Information about WidgetDefs in the WidgetManager
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
export interface WidgetInfo {
|
|
12
|
+
widgetDef: WidgetDef;
|
|
13
|
+
stageId?: string;
|
|
14
|
+
stageUsage?: string;
|
|
15
|
+
location: StagePanelLocation;
|
|
16
|
+
section: StagePanelSection;
|
|
17
|
+
}
|
|
18
|
+
/** Arguments of [[this.onWidgetsChanged]] event.
|
|
19
|
+
* @internal
|
|
20
|
+
*/
|
|
21
|
+
export interface WidgetsChangedEventArgs {
|
|
22
|
+
readonly items: ReadonlyArray<WidgetInfo>;
|
|
23
|
+
}
|
|
24
|
+
/** Event class for [[this.onWidgetsChanged]].
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare class WidgetsChangedEvent extends BeUiEvent<WidgetsChangedEventArgs> {
|
|
28
|
+
}
|
|
29
|
+
/** Widget Manager class.
|
|
30
|
+
* @beta
|
|
31
|
+
*/
|
|
32
|
+
export declare class WidgetManager {
|
|
33
|
+
private _widgets;
|
|
34
|
+
/** Event raised when Widgets are changed.
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
readonly onWidgetsChanged: WidgetsChangedEvent;
|
|
38
|
+
/** @internal */
|
|
39
|
+
get widgetCount(): number;
|
|
40
|
+
/** @internal */
|
|
41
|
+
get widgets(): ReadonlyArray<WidgetInfo>;
|
|
42
|
+
set widgets(w: ReadonlyArray<WidgetInfo>);
|
|
43
|
+
/** Adds a WidgetDef for use in a Frontstage.
|
|
44
|
+
* @note Added `widgetDef` must return unique id to correctly save/restore App layout.
|
|
45
|
+
* Semi-stable id is generated when auto-generated `widgetDef` id is detected,
|
|
46
|
+
* but correctness of such id depends on `addWidgetDef` call order and widget location.
|
|
47
|
+
*/
|
|
48
|
+
addWidgetDef(widgetDef: WidgetDef, stageId: string | undefined, stageUsage: string | undefined, location: StagePanelLocation, section?: StagePanelSection): boolean;
|
|
49
|
+
/** Removes a WidgetDef.
|
|
50
|
+
*/
|
|
51
|
+
removeWidgetDef(widgetId: string): boolean;
|
|
52
|
+
/** Gets WidgetDefs for a Frontstage location.
|
|
53
|
+
*/
|
|
54
|
+
getWidgetDefs(stageId: string, stageUsage: string, location: StagePanelLocation, section?: StagePanelSection): ReadonlyArray<WidgetDef> | undefined;
|
|
55
|
+
}
|
|
56
56
|
//# sourceMappingURL=WidgetManager.d.ts.map
|