@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":"ViewSelector.js","sourceRoot":"","sources":["../../../../src/appui-react/pickers/ViewSelector.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAC/B,sDAAyD;AACzD,wDAA8E;AAC9E,0DAAmE;AAEnE,0DAAiE;AACjE,gDAA6C;AAC7C,0DAAuD;AACvD,6CAAkE;AAClE,gFAAuE;AAcvE;;GAEG;AACH,MAAa,wBAAyB,SAAQ,wBAAqC;CAAI;AAAvF,4DAAuF;AA0CvF;GACG;AACH,MAAM,2BAA4B,SAAQ,wBAAwC;CAAI;AAEtF;;GAEG;AACH,MAAa,YAAa,SAAQ,KAAK,CAAC,SAA+C;IAsBrF,6BAA6B;IAC7B,YAAY,KAAwB;QAClC,KAAK,CAAC,KAAK,CAAC,CAAC;QApBP,eAAU,GAAG,KAAK,CAAC;QAsDnB,uCAAkC,GAAG,CAAC,IAAqC,EAAQ,EAAE;YAC3F,uBAAuB;YACvB,IAAI,CAAC,IAAI,CAAC,UAAU;gBAClB,OAAO;YAET,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,IAAI,EAAE,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;QACpD,CAAC,CAAC;QAsHF,4BAA4B;QAC5B,uBAAuB;QACf,gBAAW,GAAG,KAAK,EAAE,IAAc,EAAE,QAAiB,EAAE,EAAE;YAChE,MAAM,oBAAoB,GAAG,yBAAW,CAAC,OAAO,CAAC,uBAAuB,EAA2C,CAAC;YACpH,IAAI,CAAC,oBAAoB,IAAI,CAAC,oBAAoB,CAAC,0BAA0B,E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EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EACvB,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,IAAI,CAAC,WAAW,GAC5B,CACH,CAAC;IACJ,CAAC;;AAvQH,oCAwQC;AAtQyB,2CAA8B,GAAG,IAAI,2BAA2B,EAAE,CAAC;AAIpE,yBAAY,GAA6B;IAC9D,YAAY,EAAE,IAAI;IAClB,YAAY,EAAE,IAAI;IAClB,UAAU,EAAE,IAAI;IAChB,WAAW,EAAE,IAAI;CAClB,CAAC;AAEF,4CAA4C;AACrB,uCAA0B,GAAG,IAAI,wBAAwB,EAAE,CAAC;AA4PrF;;GAEG;AACU,QAAA,2BAA2B,GAAG,IAAA,uCAAuB,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,2DAA2D","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 Picker\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { Id64String, Logger } from \"@itwin/core-bentley\";\r\nimport { IModelApp, IModelConnection, ViewState } from \"@itwin/core-frontend\";\r\nimport { IconSpecUtilities, UiEvent } from \"@itwin/appui-abstract\";\r\nimport { SupportsViewSelectorChange } from \"../content/ContentControl\";\r\nimport { connectIModelConnection } from \"../redux/connectIModel\";\r\nimport { UiFramework } from \"../UiFramework\";\r\nimport { ViewUtilities } from \"../utils/ViewUtilities\";\r\nimport { ListItem, ListItemType, ListPicker } from \"./ListPicker\";\r\nimport svgSavedView from \"@bentley/icons-generic/icons/saved-view.svg\";\r\n\r\n// cSpell:ignore Spatials\r\n\r\n/** [[ViewSelectorChangedEvent]] Args interface.\r\n * @beta\r\n */\r\nexport interface ViewSelectorChangedEventArgs {\r\n iModelConnection: IModelConnection;\r\n viewDefinitionId: Id64String;\r\n viewState: ViewState;\r\n name: string;\r\n}\r\n\r\n/** ViewSelector Changed Event class.\r\n * @beta\r\n */\r\nexport class ViewSelectorChangedEvent extends UiEvent<ViewSelectorChangedEventArgs> { }\r\n\r\n/** Properties for the [[ViewSelector]] component\r\n * @beta\r\n */\r\nexport interface ViewSelectorProps {\r\n imodel?: IModelConnection;\r\n listenForShowUpdates?: boolean;\r\n\r\n showSpatials: boolean;\r\n showDrawings: boolean;\r\n showSheets: boolean;\r\n showUnknown: boolean;\r\n}\r\n\r\n/** State for the [[ViewSelector]] component\r\n * @beta\r\n */\r\ninterface ViewSelectorState {\r\n items: ListItem[];\r\n title: string;\r\n initialized: boolean;\r\n showSpatials: boolean;\r\n showDrawings: boolean;\r\n showSheets: boolean;\r\n showUnknown: boolean;\r\n}\r\n\r\n/** Default properties of [[ViewSelector]] component.\r\n * @beta\r\n */\r\nexport type ViewSelectorDefaultProps = Pick<ViewSelectorProps, \"showSpatials\" | \"showDrawings\" | \"showSheets\" | \"showUnknown\">;\r\n\r\n/** ViewSelector Show Update Event Args interface.\r\n */\r\ninterface ViewSelectorShowUpdateEventArgs {\r\n showSpatials: boolean;\r\n showDrawings: boolean;\r\n showSheets: boolean;\r\n showUnknown: boolean;\r\n}\r\n\r\n/** ViewSelector Show Update Event class.\r\n */\r\nclass ViewSelectorShowUpdateEvent extends UiEvent<ViewSelectorShowUpdateEventArgs> { }\r\n\r\n/** View Selector React component\r\n * @beta\r\n */\r\nexport class ViewSelector extends React.Component<ViewSelectorProps, ViewSelectorState> {\r\n\r\n private static readonly _onViewSelectorShowUpdateEvent = new ViewSelectorShowUpdateEvent();\r\n private _removeShowUpdateListener?: () => void;\r\n private _isMounted = false;\r\n\r\n public static readonly defaultProps: ViewSelectorDefaultProps = {\r\n showSpatials: true,\r\n showDrawings: true,\r\n showSheets: true,\r\n showUnknown: true,\r\n };\r\n\r\n /** Gets the [[ViewSelectorChangedEvent]] */\r\n public static readonly onViewSelectorChangedEvent = new ViewSelectorChangedEvent();\r\n\r\n /** Updates the ViewSelector show settings.\r\n */\r\n public static updateShowSettings(showSpatials: boolean, showDrawings: boolean, showSheets: boolean, showUnknown: boolean): void {\r\n ViewSelector._onViewSelectorShowUpdateEvent.emit({ showSpatials, showDrawings, showSheets, showUnknown });\r\n }\r\n\r\n /** Creates a ViewSelector */\r\n constructor(props: ViewSelectorProps) {\r\n super(props);\r\n\r\n this.state = {\r\n items: new Array<ListItem>(),\r\n title: UiFramework.translate(\"viewTypes.views\"),\r\n initialized: false,\r\n showSpatials: props.showSpatials,\r\n showDrawings: props.showDrawings,\r\n showSheets: props.showSheets,\r\n showUnknown: props.showUnknown,\r\n };\r\n }\r\n\r\n public override async componentDidMount() {\r\n this._isMounted = true;\r\n if (this.props.listenForShowUpdates)\r\n this._removeShowUpdateListener = ViewSelector._onViewSelectorShowUpdateEvent.addListener(this._handleViewSelectorShowUpdateEvent);\r\n\r\n await this.loadViews();\r\n }\r\n\r\n public override async componentDidUpdate(prevProps: ViewSelectorProps) {\r\n if (this.props.imodel !== prevProps.imodel) {\r\n await this.loadViews();\r\n }\r\n }\r\n\r\n public override componentWillUnmount() {\r\n this._isMounted = false;\r\n // istanbul ignore else\r\n if (this._removeShowUpdateListener)\r\n this._removeShowUpdateListener();\r\n }\r\n\r\n private _handleViewSelectorShowUpdateEvent = (args: ViewSelectorShowUpdateEventArgs): void => {\r\n // istanbul ignore next\r\n if (!this._isMounted)\r\n return;\r\n\r\n this.setState(args, async () => this.loadViews());\r\n };\r\n\r\n private setStateContainers(views3d: ListItem[], views2d: ListItem[], sheets: ListItem[], unknown?: ListItem[]) {\r\n const views3dContainer: ListItem = {\r\n key: \"views3dContainer\",\r\n name: UiFramework.translate(\"viewTypes.spatialViews\"),\r\n enabled: false,\r\n type: ListItemType.Container,\r\n children: views3d,\r\n };\r\n\r\n const views2dContainer: ListItem = {\r\n key: \"views2dContainer\",\r\n name: UiFramework.translate(\"viewTypes.drawings\"),\r\n enabled: false,\r\n type: ListItemType.Container,\r\n children: views2d,\r\n };\r\n\r\n const sheetContainer: ListItem = {\r\n key: \"sheetContainer\",\r\n name: UiFramework.translate(\"viewTypes.sheets\"),\r\n enabled: false,\r\n type: ListItemType.Container,\r\n children: sheets,\r\n };\r\n\r\n const containers = [views3dContainer, views2dContainer, sheetContainer];\r\n\r\n // istanbul ignore if\r\n if (unknown && unknown.length > 0) {\r\n // This should never show, but just in case we missed a type of view state\r\n const unknownContainer: ListItem = {\r\n key: \"unknownContainer\",\r\n name: UiFramework.translate(\"viewTypes.others\"),\r\n enabled: false,\r\n type: ListItemType.Container,\r\n children: unknown,\r\n };\r\n\r\n if (unknown.length !== 0)\r\n containers.push(unknownContainer);\r\n }\r\n\r\n // istanbul ignore next\r\n if (!this._isMounted)\r\n return;\r\n\r\n this.setState({\r\n items: containers,\r\n title: UiFramework.translate(\"viewTypes.views\"),\r\n initialized: true,\r\n });\r\n }\r\n /**\r\n * Query the views and set the initial state with the iModel's views.\r\n */\r\n public async loadViews(): Promise<void> {\r\n // Query views and add them to state\r\n const views3d: ListItem[] = [];\r\n const views2d: ListItem[] = [];\r\n const sheets: ListItem[] = [];\r\n const unknown: ListItem[] = [];\r\n\r\n if (this.props.imodel && this.props.imodel.views.getViewList) {\r\n const query = { wantPrivate: false };\r\n const specs = await this.props.imodel.views.getViewList(query);\r\n\r\n specs.forEach((spec: IModelConnection.ViewSpec) => {\r\n const viewItem: ListItem = {\r\n key: spec.id,\r\n name: spec.name,\r\n enabled: false,\r\n type: ListItemType.Item,\r\n };\r\n\r\n const className = ViewUtilities.getBisBaseClass(spec.class);\r\n\r\n if (ViewUtilities.isSpatial(className) && this.state.showSpatials)\r\n views3d.push(viewItem);\r\n else if (ViewUtilities.isDrawing(className) && this.state.showDrawings)\r\n views2d.push(viewItem);\r\n else if (ViewUtilities.isSheet(className) && this.state.showSheets)\r\n sheets.push(viewItem);\r\n else if (this.state.showUnknown)\r\n unknown.push(viewItem);\r\n });\r\n }\r\n\r\n this.setStateContainers(views3d, views2d, sheets, unknown);\r\n }\r\n\r\n /**\r\n * Update state of the entries in the widget.\r\n * @param viewId Identifier for the relevant view\r\n */\r\n // istanbul ignore next\r\n public async updateState(viewId?: any): Promise<void> {\r\n // Wait for initialization finished\r\n if (!this.state.initialized)\r\n return;\r\n\r\n // Query views and add them to state\r\n const views3d: ListItem[] = this.state.items[0].children!;\r\n const views2d: ListItem[] = this.state.items[1].children!;\r\n const sheets: ListItem[] = this.state.items[2].children!;\r\n const unknown: ListItem[] = this.state.items.length > 3 ? this.state.items[3].children! : [];\r\n\r\n const updateChildren = (item: ListItem) => {\r\n if (item.key === viewId)\r\n return { ...item, enabled: true };\r\n else\r\n return { ...item, enabled: false };\r\n };\r\n\r\n this.setStateContainers(views3d.map(updateChildren), views2d.map(updateChildren), sheets.map(updateChildren), unknown.map(updateChildren));\r\n }\r\n\r\n // enable/disable the models\r\n // istanbul ignore next\r\n private _setEnabled = async (item: ListItem, _enabled: boolean) => {\r\n const activeContentControl = UiFramework.content.getActiveContentControl() as unknown as SupportsViewSelectorChange;\r\n if (!activeContentControl || !activeContentControl.supportsViewSelectorChange) {\r\n Logger.logError(UiFramework.loggerCategory(this), `No active ContentControl for ViewSelector change`);\r\n return;\r\n }\r\n\r\n // Enable the item temporarily to let user see that their click was registered\r\n // while we query for view state and change the current view which may take a bit\r\n if (_enabled && item.type !== ListItemType.Container) {\r\n // This itemMapper simply looks through all the list items and their nested children and enables the one\r\n // that we have registered to enable\r\n // Also disable all other items\r\n const itemMapper: (tempItem: ListItem) => ListItem = (tempItem: ListItem) => {\r\n if (tempItem.type === ListItemType.Container) {\r\n return { ...tempItem, children: tempItem.children!.map(itemMapper) };\r\n } else if (tempItem.key === item.key) {\r\n return { ...tempItem, enabled: true };\r\n } else {\r\n return { ...tempItem, enabled: false };\r\n }\r\n };\r\n\r\n // Create the new array with the current item enabled\r\n const itemsWithEnabled = this.state.items.map(itemMapper);\r\n\r\n // istanbul ignore next\r\n if (!this._isMounted)\r\n return;\r\n\r\n // Update the state so that we show the user it was enabled while we work in the background\r\n this.setState({ items: itemsWithEnabled });\r\n }\r\n\r\n // Load the view state using the viewSpec's ID\r\n const viewState = await this.props.imodel!.views.load(item.key);\r\n\r\n // Let activeContentControl process the ViewSelector change\r\n await activeContentControl.processViewSelectorChange(this.props.imodel!, item.key, viewState, item.name!);\r\n\r\n // Emit a change event\r\n ViewSelector.onViewSelectorChangedEvent.emit({\r\n iModelConnection: this.props.imodel!,\r\n viewDefinitionId: item.key,\r\n viewState,\r\n name: item.name!,\r\n });\r\n\r\n // Set state to show enabled the view that got selected\r\n this.updateState(item.key); // eslint-disable-line @typescript-eslint/no-floating-promises\r\n };\r\n\r\n // Hook on the category selector being expanded so that we may initialize if needed\r\n // istanbul ignore next\r\n private _onExpanded = (expand: boolean) => {\r\n if (expand)\r\n this.updateState(IModelApp.viewManager.selectedView ? IModelApp.viewManager.selectedView.view.id : undefined); // eslint-disable-line @typescript-eslint/no-floating-promises\r\n };\r\n\r\n /**\r\n * Renders ViewSelector component\r\n */\r\n public override render() {\r\n if (!this.state.initialized)\r\n return null;\r\n const iconSpec = IconSpecUtilities.createWebComponentIconSpec(svgSavedView);\r\n\r\n const { imodel, ...props } = this.props; // eslint-disable-line @typescript-eslint/no-unused-vars\r\n\r\n return (\r\n <ListPicker\r\n {...props}\r\n title={this.state.title}\r\n setEnabled={this._setEnabled}\r\n items={this.state.items}\r\n iconSpec={iconSpec}\r\n onExpanded={this._onExpanded}\r\n />\r\n );\r\n }\r\n}\r\n\r\n/** ViewSelector that is connected to the IModelConnection property in the Redux store. The application must set up the Redux store and include the FrameworkReducer.\r\n * @beta\r\n */\r\nexport const IModelConnectedViewSelector = connectIModelConnection(null, null)(ViewSelector); // eslint-disable-line @typescript-eslint/naming-convention\r\n"]}
|
|
1
|
+
{"version":3,"file":"ViewSelector.js","sourceRoot":"","sources":["../../../../src/appui-react/pickers/ViewSelector.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+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AAC,YAAY,GAAG,MAAM,CAAC;gBAC3B,KAAK,IAAI,CAAC,SAAS,EAAE,CAAC;YACxB,CAAC,EAAE,GAAG,CAAC,EACP,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,GAC/B,CACH,CAAC;IACJ,CAAC;;AAxRuB,2CAA8B,GAAG,IAAI,2BAA2B,EAAE,AAApC,CAAqC;AAKpE,yBAAY,GAA6B;IAC9D,YAAY,EAAE,IAAI;IAClB,YAAY,EAAE,IAAI;IAClB,UAAU,EAAE,IAAI;IAChB,WAAW,EAAE,IAAI;CAClB,AALkC,CAKjC;AAEF,4CAA4C;AACrB,uCAA0B,GAAG,IAAI,wBAAwB,EAAE,AAAjC,CAAkC;AAfxE,oCAAY;AA6RzB;;GAEG;AACU,QAAA,2BAA2B,GAAG,IAAA,uCAAuB,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,2DAA2D","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 Picker\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { Id64String, Logger } from \"@itwin/core-bentley\";\r\nimport { IModelApp, IModelConnection, ViewState } from \"@itwin/core-frontend\";\r\nimport { IconSpecUtilities, UiEvent } from \"@itwin/appui-abstract\";\r\nimport { SupportsViewSelectorChange } from \"../content/ContentControl\";\r\nimport { connectIModelConnection } from \"../redux/connectIModel\";\r\nimport { UiFramework } from \"../UiFramework\";\r\nimport { ViewUtilities } from \"../utils/ViewUtilities\";\r\nimport { ListItem, ListItemType, ListPicker } from \"./ListPicker\";\r\nimport { debounce } from \"lodash\";\r\nimport svgSavedView from \"@bentley/icons-generic/icons/saved-view.svg\";\r\n\r\n// cSpell:ignore Spatials\r\n\r\n/** [[ViewSelectorChangedEvent]] Args interface.\r\n * @beta\r\n */\r\nexport interface ViewSelectorChangedEventArgs {\r\n iModelConnection: IModelConnection;\r\n viewDefinitionId: Id64String;\r\n viewState: ViewState;\r\n name: string;\r\n}\r\n\r\n/** ViewSelector Changed Event class.\r\n * @beta\r\n */\r\nexport class ViewSelectorChangedEvent extends UiEvent<ViewSelectorChangedEventArgs> { }\r\n\r\n/** Properties for the [[ViewSelector]] component\r\n * @beta\r\n */\r\nexport interface ViewSelectorProps {\r\n imodel?: IModelConnection;\r\n listenForShowUpdates?: boolean;\r\n\r\n showSpatials: boolean;\r\n showDrawings: boolean;\r\n showSheets: boolean;\r\n showUnknown: boolean;\r\n searchBox?: boolean;\r\n panelOnly?: boolean;\r\n}\r\n\r\n/** State for the [[ViewSelector]] component\r\n * @beta\r\n */\r\ninterface ViewSelectorState {\r\n items: ListItem[];\r\n title: string;\r\n initialized: boolean;\r\n showSpatials: boolean;\r\n showDrawings: boolean;\r\n showSheets: boolean;\r\n showUnknown: boolean;\r\n searchBox: boolean;\r\n panelOnly: boolean;\r\n}\r\n\r\n/** Default properties of [[ViewSelector]] component.\r\n * @beta\r\n */\r\nexport type ViewSelectorDefaultProps = Pick<ViewSelectorProps, \"showSpatials\" | \"showDrawings\" | \"showSheets\" | \"showUnknown\">;\r\n\r\n/** ViewSelector Show Update Event Args interface.\r\n */\r\ninterface ViewSelectorShowUpdateEventArgs {\r\n showSpatials: boolean;\r\n showDrawings: boolean;\r\n showSheets: boolean;\r\n showUnknown: boolean;\r\n}\r\n\r\n/** ViewSelector Show Update Event class.\r\n */\r\nclass ViewSelectorShowUpdateEvent extends UiEvent<ViewSelectorShowUpdateEventArgs> { }\r\n\r\n/** View Selector React component\r\n * @beta\r\n */\r\nexport class ViewSelector extends React.Component<ViewSelectorProps, ViewSelectorState> {\r\n\r\n private static readonly _onViewSelectorShowUpdateEvent = new ViewSelectorShowUpdateEvent();\r\n private _removeShowUpdateListener?: () => void;\r\n private _isMounted = false;\r\n private _searchInput = \"\";\r\n\r\n public static readonly defaultProps: ViewSelectorDefaultProps = {\r\n showSpatials: true,\r\n showDrawings: true,\r\n showSheets: true,\r\n showUnknown: true,\r\n };\r\n\r\n /** Gets the [[ViewSelectorChangedEvent]] */\r\n public static readonly onViewSelectorChangedEvent = new ViewSelectorChangedEvent();\r\n\r\n /** Updates the ViewSelector show settings.\r\n */\r\n public static updateShowSettings(showSpatials: boolean, showDrawings: boolean, showSheets: boolean, showUnknown: boolean): void {\r\n ViewSelector._onViewSelectorShowUpdateEvent.emit({ showSpatials, showDrawings, showSheets, showUnknown });\r\n }\r\n\r\n /** Creates a ViewSelector */\r\n constructor(props: ViewSelectorProps) {\r\n super(props);\r\n\r\n this.state = {\r\n items: new Array<ListItem>(),\r\n title: UiFramework.translate(\"viewTypes.views\"),\r\n initialized: false,\r\n showSpatials: props.showSpatials,\r\n showDrawings: props.showDrawings,\r\n showSheets: props.showSheets,\r\n showUnknown: props.showUnknown,\r\n searchBox: props.searchBox ? props.searchBox : true,\r\n panelOnly: props.panelOnly ? props.panelOnly : false,\r\n };\r\n }\r\n\r\n public override async componentDidMount() {\r\n this._isMounted = true;\r\n if (this.props.listenForShowUpdates)\r\n this._removeShowUpdateListener = ViewSelector._onViewSelectorShowUpdateEvent.addListener(this._handleViewSelectorShowUpdateEvent);\r\n\r\n await this.loadViews();\r\n }\r\n\r\n public override async componentDidUpdate(prevProps: ViewSelectorProps) {\r\n if (this.props.imodel !== prevProps.imodel) {\r\n await this.loadViews();\r\n }\r\n }\r\n\r\n public override componentWillUnmount() {\r\n this._isMounted = false;\r\n // istanbul ignore else\r\n if (this._removeShowUpdateListener)\r\n this._removeShowUpdateListener();\r\n }\r\n\r\n private _handleViewSelectorShowUpdateEvent = (args: ViewSelectorShowUpdateEventArgs): void => {\r\n // istanbul ignore next\r\n if (!this._isMounted)\r\n return;\r\n\r\n this.setState(args, async () => this.loadViews());\r\n };\r\n\r\n private setStateContainers(views3d: ListItem[], views2d: ListItem[], sheets: ListItem[], unknown?: ListItem[],\r\n views3dFiltered?: ListItem[], views2dFiltered?: ListItem[], sheetsFiltered?: ListItem[], unknownFiltered?: ListItem[]) {\r\n const views3dContainer: ListItem = {\r\n key: \"views3dContainer\",\r\n name: UiFramework.translate(\"viewTypes.spatialViews\"),\r\n enabled: false,\r\n type: ListItemType.Container,\r\n children: views3dFiltered ? views3dFiltered : views3d,\r\n };\r\n\r\n const views2dContainer: ListItem = {\r\n key: \"views2dContainer\",\r\n name: UiFramework.translate(\"viewTypes.drawings\"),\r\n enabled: false,\r\n type: ListItemType.Container,\r\n children: views2dFiltered ? views2dFiltered : views2d,\r\n };\r\n\r\n const sheetContainer: ListItem = {\r\n key: \"sheetContainer\",\r\n name: UiFramework.translate(\"viewTypes.sheets\"),\r\n enabled: false,\r\n type: ListItemType.Container,\r\n children: sheetsFiltered ? sheetsFiltered : sheets,\r\n };\r\n\r\n const containers = [views3dContainer, views2dContainer, sheetContainer];\r\n\r\n // istanbul ignore if\r\n if (unknown && unknown.length > 0) {\r\n // This should never show, but just in case we missed a type of view state\r\n const unknownContainer: ListItem = {\r\n key: \"unknownContainer\",\r\n name: UiFramework.translate(\"viewTypes.others\"),\r\n enabled: false,\r\n type: ListItemType.Container,\r\n children: unknownFiltered ? unknownFiltered : unknown,\r\n };\r\n\r\n if (unknown.length !== 0)\r\n containers.push(unknownContainer);\r\n }\r\n\r\n // istanbul ignore next\r\n if (!this._isMounted)\r\n return;\r\n\r\n this.setState({\r\n items: containers,\r\n title: UiFramework.translate(\"viewTypes.views\"),\r\n initialized: true,\r\n });\r\n }\r\n /**\r\n * Query the views and set the initial state with the iModel's views.\r\n */\r\n public async loadViews(): Promise<void> {\r\n // Query views and add them to state\r\n const views3d: ListItem[] = [];\r\n const views2d: ListItem[] = [];\r\n const sheets: ListItem[] = [];\r\n const unknown: ListItem[] = [];\r\n let views3dFiltered: ListItem[] | undefined;\r\n let views2dFiltered: ListItem[] | undefined;\r\n let sheetsFiltered: ListItem[] | undefined;\r\n let unknownFiltered: ListItem[] | undefined;\r\n\r\n if (this.props.imodel && this.props.imodel.views.getViewList) {\r\n const query = { wantPrivate: false };\r\n const specs = await this.props.imodel.views.getViewList(query);\r\n\r\n specs.forEach((spec: IModelConnection.ViewSpec) => {\r\n const viewItem: ListItem = {\r\n key: spec.id,\r\n name: spec.name,\r\n enabled: false,\r\n type: ListItemType.Item,\r\n };\r\n\r\n const className = ViewUtilities.getBisBaseClass(spec.class);\r\n\r\n if (ViewUtilities.isSpatial(className) && this.state.showSpatials)\r\n views3d.push(viewItem);\r\n else if (ViewUtilities.isDrawing(className) && this.state.showDrawings)\r\n views2d.push(viewItem);\r\n else if (ViewUtilities.isSheet(className) && this.state.showSheets)\r\n sheets.push(viewItem);\r\n else if (this.state.showUnknown)\r\n unknown.push(viewItem);\r\n });\r\n\r\n if(this._searchInput.length > 0){\r\n views3dFiltered = views3d.filter((view) => view.name?.toLowerCase().includes(this._searchInput.toLowerCase()));\r\n views2dFiltered = views2d.filter((view) => view.name?.toLowerCase().includes(this._searchInput.toLowerCase()));\r\n sheetsFiltered = sheets.filter((view) => view.name?.toLowerCase().includes(this._searchInput.toLowerCase()));\r\n unknownFiltered = unknown.filter((view) => view.name?. toLowerCase().includes(this._searchInput.toLowerCase()));\r\n }\r\n }\r\n\r\n this.setStateContainers(views3d, views2d, sheets, unknown, views3dFiltered, views2dFiltered, sheetsFiltered, unknownFiltered);\r\n }\r\n\r\n /**\r\n * Update state of the entries in the widget.\r\n * @param viewId Identifier for the relevant view\r\n */\r\n // istanbul ignore next\r\n public async updateState(viewId?: any): Promise<void> {\r\n // Wait for initialization finished\r\n if (!this.state.initialized)\r\n return;\r\n\r\n // Query views and add them to state\r\n const views3d: ListItem[] = this.state.items[0].children!;\r\n const views2d: ListItem[] = this.state.items[1].children!;\r\n const sheets: ListItem[] = this.state.items[2].children!;\r\n const unknown: ListItem[] = this.state.items.length > 3 ? this.state.items[3].children! : [];\r\n\r\n const updateChildren = (item: ListItem) => {\r\n if (item.key === viewId)\r\n return { ...item, enabled: true };\r\n else\r\n return { ...item, enabled: false };\r\n };\r\n\r\n this.setStateContainers(views3d.map(updateChildren), views2d.map(updateChildren), sheets.map(updateChildren), unknown.map(updateChildren));\r\n }\r\n\r\n // enable/disable the models\r\n // istanbul ignore next\r\n private _setEnabled = async (item: ListItem, _enabled: boolean) => {\r\n const activeContentControl = UiFramework.content.getActiveContentControl() as unknown as SupportsViewSelectorChange;\r\n if (!activeContentControl || !activeContentControl.supportsViewSelectorChange) {\r\n Logger.logError(UiFramework.loggerCategory(this), `No active ContentControl for ViewSelector change`);\r\n return;\r\n }\r\n\r\n // Enable the item temporarily to let user see that their click was registered\r\n // while we query for view state and change the current view which may take a bit\r\n if (_enabled && item.type !== ListItemType.Container) {\r\n // This itemMapper simply looks through all the list items and their nested children and enables the one\r\n // that we have registered to enable\r\n // Also disable all other items\r\n const itemMapper: (tempItem: ListItem) => ListItem = (tempItem: ListItem) => {\r\n if (tempItem.type === ListItemType.Container) {\r\n return { ...tempItem, children: tempItem.children!.map(itemMapper) };\r\n } else if (tempItem.key === item.key) {\r\n return { ...tempItem, enabled: true };\r\n } else {\r\n return { ...tempItem, enabled: false };\r\n }\r\n };\r\n\r\n // Create the new array with the current item enabled\r\n const itemsWithEnabled = this.state.items.map(itemMapper);\r\n\r\n // istanbul ignore next\r\n if (!this._isMounted)\r\n return;\r\n\r\n // Update the state so that we show the user it was enabled while we work in the background\r\n this.setState({ items: itemsWithEnabled });\r\n }\r\n\r\n // Load the view state using the viewSpec's ID\r\n const viewState = await this.props.imodel!.views.load(item.key);\r\n\r\n // Let activeContentControl process the ViewSelector change\r\n await activeContentControl.processViewSelectorChange(this.props.imodel!, item.key, viewState, item.name!);\r\n\r\n // Emit a change event\r\n ViewSelector.onViewSelectorChangedEvent.emit({\r\n iModelConnection: this.props.imodel!,\r\n viewDefinitionId: item.key,\r\n viewState,\r\n name: item.name!,\r\n });\r\n\r\n // Set state to show enabled the view that got selected\r\n this.updateState(item.key); // eslint-disable-line @typescript-eslint/no-floating-promises\r\n };\r\n\r\n // Hook on the category selector being expanded so that we may initialize if needed\r\n // istanbul ignore next\r\n private _onExpanded = (expand: boolean) => {\r\n if (expand)\r\n this.updateState(IModelApp.viewManager.selectedView ? IModelApp.viewManager.selectedView.view.id : undefined); // eslint-disable-line @typescript-eslint/no-floating-promises\r\n };\r\n\r\n /**\r\n * Renders ViewSelector component\r\n */\r\n public override render() {\r\n const iconSpec = IconSpecUtilities.createWebComponentIconSpec(svgSavedView);\r\n\r\n const { imodel, ...props } = this.props; // eslint-disable-line @typescript-eslint/no-unused-vars\r\n\r\n return (\r\n <ListPicker\r\n {...props}\r\n title={this.state.title}\r\n setEnabled={this._setEnabled}\r\n items={this.state.items}\r\n iconSpec={iconSpec}\r\n onExpanded={this._onExpanded}\r\n searchBox={this.state.searchBox}\r\n onSearchValueChange={debounce((search: string) => {\r\n this._searchInput = search;\r\n void this.loadViews();\r\n }, 300)}\r\n panelOnly={this.state.panelOnly}\r\n />\r\n );\r\n }\r\n}\r\n\r\n/** ViewSelector that is connected to the IModelConnection property in the Redux store. The application must set up the Redux store and include the FrameworkReducer.\r\n * @beta\r\n */\r\nexport const IModelConnectedViewSelector = connectIModelConnection(null, null)(ViewSelector); // eslint-disable-line @typescript-eslint/naming-convention\r\n"]}
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module Popup
|
|
3
|
-
*/
|
|
4
|
-
import "./CardPopup.scss";
|
|
5
|
-
import * as React from "react";
|
|
6
|
-
import { CommonToolbarItem, OnCancelFunc, OnItemExecutedFunc, PropertyRecord, RelativePosition } from "@itwin/appui-abstract";
|
|
7
|
-
import { Orientation, Size } from "@itwin/core-react";
|
|
8
|
-
import { PopupContentType, PopupPropsBase } from "./PopupManager";
|
|
9
|
-
/** Props for defining a CardPopup editor
|
|
10
|
-
* @beta */
|
|
11
|
-
export interface CardPopupProps extends PopupPropsBase {
|
|
12
|
-
content: PopupContentType;
|
|
13
|
-
title: string | PropertyRecord | undefined;
|
|
14
|
-
items: CommonToolbarItem[] | undefined;
|
|
15
|
-
relativePosition: RelativePosition;
|
|
16
|
-
orientation: Orientation;
|
|
17
|
-
onCancel: OnCancelFunc;
|
|
18
|
-
onItemExecuted: OnItemExecutedFunc;
|
|
19
|
-
}
|
|
20
|
-
/** @internal */
|
|
21
|
-
interface CardPopupState {
|
|
22
|
-
size: Size;
|
|
23
|
-
}
|
|
24
|
-
/** Popup component for Input Editor
|
|
25
|
-
* @beta
|
|
26
|
-
*/
|
|
27
|
-
export declare class CardPopup extends React.PureComponent<CardPopupProps, CardPopupState> {
|
|
28
|
-
/** @internal */
|
|
29
|
-
readonly state: {
|
|
30
|
-
size: Size;
|
|
31
|
-
};
|
|
32
|
-
private _onSizeKnown;
|
|
33
|
-
private _handleKeyDown;
|
|
34
|
-
private _cancel;
|
|
35
|
-
render(): JSX.Element;
|
|
36
|
-
}
|
|
37
|
-
/** Props defining a Card component
|
|
38
|
-
* @beta */
|
|
39
|
-
export interface CardProps {
|
|
40
|
-
content: PopupContentType;
|
|
41
|
-
title: string | PropertyRecord | undefined;
|
|
42
|
-
items: CommonToolbarItem[] | undefined;
|
|
43
|
-
onItemExecuted: OnItemExecutedFunc;
|
|
44
|
-
}
|
|
45
|
-
/** Card component
|
|
46
|
-
* @beta */
|
|
47
|
-
export declare function Card(props: CardProps): JSX.Element;
|
|
48
|
-
export {};
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module Popup
|
|
3
|
+
*/
|
|
4
|
+
import "./CardPopup.scss";
|
|
5
|
+
import * as React from "react";
|
|
6
|
+
import { CommonToolbarItem, OnCancelFunc, OnItemExecutedFunc, PropertyRecord, RelativePosition } from "@itwin/appui-abstract";
|
|
7
|
+
import { Orientation, Size } from "@itwin/core-react";
|
|
8
|
+
import { PopupContentType, PopupPropsBase } from "./PopupManager";
|
|
9
|
+
/** Props for defining a CardPopup editor
|
|
10
|
+
* @beta */
|
|
11
|
+
export interface CardPopupProps extends PopupPropsBase {
|
|
12
|
+
content: PopupContentType;
|
|
13
|
+
title: string | PropertyRecord | undefined;
|
|
14
|
+
items: CommonToolbarItem[] | undefined;
|
|
15
|
+
relativePosition: RelativePosition;
|
|
16
|
+
orientation: Orientation;
|
|
17
|
+
onCancel: OnCancelFunc;
|
|
18
|
+
onItemExecuted: OnItemExecutedFunc;
|
|
19
|
+
}
|
|
20
|
+
/** @internal */
|
|
21
|
+
interface CardPopupState {
|
|
22
|
+
size: Size;
|
|
23
|
+
}
|
|
24
|
+
/** Popup component for Input Editor
|
|
25
|
+
* @beta
|
|
26
|
+
*/
|
|
27
|
+
export declare class CardPopup extends React.PureComponent<CardPopupProps, CardPopupState> {
|
|
28
|
+
/** @internal */
|
|
29
|
+
readonly state: {
|
|
30
|
+
size: Size;
|
|
31
|
+
};
|
|
32
|
+
private _onSizeKnown;
|
|
33
|
+
private _handleKeyDown;
|
|
34
|
+
private _cancel;
|
|
35
|
+
render(): JSX.Element;
|
|
36
|
+
}
|
|
37
|
+
/** Props defining a Card component
|
|
38
|
+
* @beta */
|
|
39
|
+
export interface CardProps {
|
|
40
|
+
content: PopupContentType;
|
|
41
|
+
title: string | PropertyRecord | undefined;
|
|
42
|
+
items: CommonToolbarItem[] | undefined;
|
|
43
|
+
onItemExecuted: OnItemExecutedFunc;
|
|
44
|
+
}
|
|
45
|
+
/** Card component
|
|
46
|
+
* @beta */
|
|
47
|
+
export declare function Card(props: CardProps): JSX.Element;
|
|
48
|
+
export {};
|
|
49
49
|
//# sourceMappingURL=CardPopup.d.ts.map
|
|
@@ -1,90 +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 Popup
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.Card = exports.CardPopup = void 0;
|
|
11
|
-
require("./CardPopup.scss");
|
|
12
|
-
const React = require("react");
|
|
13
|
-
const classnames_1 = require("classnames");
|
|
14
|
-
const appui_abstract_1 = require("@itwin/appui-abstract");
|
|
15
|
-
const core_react_1 = require("@itwin/core-react");
|
|
16
|
-
const itwinui_react_1 = require("@itwin/itwinui-react");
|
|
17
|
-
const CursorPopup_1 = require("../cursor/cursorpopup/CursorPopup");
|
|
18
|
-
const PopupManager_1 = require("./PopupManager");
|
|
19
|
-
const PositionPopup_1 = require("./PositionPopup");
|
|
20
|
-
const MessageSpan_1 = require("../messages/MessageSpan");
|
|
21
|
-
const components_react_1 = require("@itwin/components-react");
|
|
22
|
-
/** Popup component for Input Editor
|
|
23
|
-
* @beta
|
|
24
|
-
*/
|
|
25
|
-
class CardPopup extends React.PureComponent {
|
|
26
|
-
constructor() {
|
|
27
|
-
super(...arguments);
|
|
28
|
-
/** @internal */
|
|
29
|
-
this.state = {
|
|
30
|
-
size: new core_react_1.Size(-1, -1),
|
|
31
|
-
};
|
|
32
|
-
this._onSizeKnown = (newSize) => {
|
|
33
|
-
// istanbul ignore else
|
|
34
|
-
if (!this.state.size.equals(newSize))
|
|
35
|
-
this.setState({ size: core_react_1.Size.create(newSize) });
|
|
36
|
-
};
|
|
37
|
-
this._handleKeyDown = (event) => {
|
|
38
|
-
switch (event.key) {
|
|
39
|
-
case appui_abstract_1.SpecialKey.Escape:
|
|
40
|
-
this._cancel();
|
|
41
|
-
break;
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
_cancel() {
|
|
46
|
-
// istanbul ignore else
|
|
47
|
-
if (this.props.onCancel) {
|
|
48
|
-
this.props.onCancel();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
render() {
|
|
52
|
-
let point = PopupManager_1.PopupManager.getPopupPosition(this.props.el, this.props.pt, new core_react_1.Point(), this.state.size);
|
|
53
|
-
const popupRect = CursorPopup_1.CursorPopup.getPopupRect(point, this.props.offset, this.state.size, this.props.relativePosition);
|
|
54
|
-
point = new core_react_1.Point(popupRect.left, popupRect.top);
|
|
55
|
-
return (React.createElement(PositionPopup_1.PositionPopup, { key: this.props.id, className: (0, classnames_1.default)("uifw-no-border", "uifw-card"), point: point, onSizeKnown: this._onSizeKnown },
|
|
56
|
-
React.createElement(core_react_1.DivWithOutsideClick, { onOutsideClick: this.props.onCancel, onKeyDown: this._handleKeyDown },
|
|
57
|
-
React.createElement(core_react_1.FocusTrap, { active: true, returnFocusOnDeactivate: true },
|
|
58
|
-
React.createElement(Card, { content: this.props.content, title: this.props.title, items: this.props.items, onItemExecuted: this.props.onItemExecuted })))));
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
exports.CardPopup = CardPopup;
|
|
62
|
-
/** Card component
|
|
63
|
-
* @beta */
|
|
64
|
-
function Card(props) {
|
|
65
|
-
let titleNode;
|
|
66
|
-
// istanbul ignore else
|
|
67
|
-
if (props.title) {
|
|
68
|
-
if (typeof props.title === "string")
|
|
69
|
-
titleNode = React.createElement(itwinui_react_1.Text, { variant: "leading" }, props.title);
|
|
70
|
-
else {
|
|
71
|
-
const propertyValueRendererManager = components_react_1.PropertyValueRendererManager.defaultManager;
|
|
72
|
-
const titleValue = propertyValueRendererManager.render(props.title);
|
|
73
|
-
titleNode = React.createElement(itwinui_react_1.Text, { variant: "leading" }, titleValue);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
const content = (0, PopupManager_1.isReactContent)(props.content) ? props.content.reactNode : React.createElement(MessageSpan_1.MessageDiv, { message: props.content });
|
|
77
|
-
return (React.createElement(React.Fragment, null,
|
|
78
|
-
React.createElement("div", { className: "uifw-card-content" },
|
|
79
|
-
props.title &&
|
|
80
|
-
React.createElement(React.Fragment, null,
|
|
81
|
-
titleNode,
|
|
82
|
-
React.createElement("div", { className: "uifw-card-gap" })),
|
|
83
|
-
content),
|
|
84
|
-
props.items &&
|
|
85
|
-
React.createElement(React.Fragment, null,
|
|
86
|
-
React.createElement("div", { className: "uifw-card-separator" }),
|
|
87
|
-
React.createElement(components_react_1.ToolbarWithOverflow, { expandsTo: components_react_1.Direction.Bottom, panelAlignment: components_react_1.ToolbarPanelAlignment.Start, items: props.items, useDragInteraction: true, toolbarOpacitySetting: components_react_1.ToolbarOpacitySetting.Transparent, onItemExecuted: props.onItemExecuted }))));
|
|
88
|
-
}
|
|
89
|
-
exports.Card = Card;
|
|
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 Popup
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.Card = exports.CardPopup = void 0;
|
|
11
|
+
require("./CardPopup.scss");
|
|
12
|
+
const React = require("react");
|
|
13
|
+
const classnames_1 = require("classnames");
|
|
14
|
+
const appui_abstract_1 = require("@itwin/appui-abstract");
|
|
15
|
+
const core_react_1 = require("@itwin/core-react");
|
|
16
|
+
const itwinui_react_1 = require("@itwin/itwinui-react");
|
|
17
|
+
const CursorPopup_1 = require("../cursor/cursorpopup/CursorPopup");
|
|
18
|
+
const PopupManager_1 = require("./PopupManager");
|
|
19
|
+
const PositionPopup_1 = require("./PositionPopup");
|
|
20
|
+
const MessageSpan_1 = require("../messages/MessageSpan");
|
|
21
|
+
const components_react_1 = require("@itwin/components-react");
|
|
22
|
+
/** Popup component for Input Editor
|
|
23
|
+
* @beta
|
|
24
|
+
*/
|
|
25
|
+
class CardPopup extends React.PureComponent {
|
|
26
|
+
constructor() {
|
|
27
|
+
super(...arguments);
|
|
28
|
+
/** @internal */
|
|
29
|
+
this.state = {
|
|
30
|
+
size: new core_react_1.Size(-1, -1),
|
|
31
|
+
};
|
|
32
|
+
this._onSizeKnown = (newSize) => {
|
|
33
|
+
// istanbul ignore else
|
|
34
|
+
if (!this.state.size.equals(newSize))
|
|
35
|
+
this.setState({ size: core_react_1.Size.create(newSize) });
|
|
36
|
+
};
|
|
37
|
+
this._handleKeyDown = (event) => {
|
|
38
|
+
switch (event.key) {
|
|
39
|
+
case appui_abstract_1.SpecialKey.Escape:
|
|
40
|
+
this._cancel();
|
|
41
|
+
break;
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
_cancel() {
|
|
46
|
+
// istanbul ignore else
|
|
47
|
+
if (this.props.onCancel) {
|
|
48
|
+
this.props.onCancel();
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
render() {
|
|
52
|
+
let point = PopupManager_1.PopupManager.getPopupPosition(this.props.el, this.props.pt, new core_react_1.Point(), this.state.size);
|
|
53
|
+
const popupRect = CursorPopup_1.CursorPopup.getPopupRect(point, this.props.offset, this.state.size, this.props.relativePosition);
|
|
54
|
+
point = new core_react_1.Point(popupRect.left, popupRect.top);
|
|
55
|
+
return (React.createElement(PositionPopup_1.PositionPopup, { key: this.props.id, className: (0, classnames_1.default)("uifw-no-border", "uifw-card"), point: point, onSizeKnown: this._onSizeKnown },
|
|
56
|
+
React.createElement(core_react_1.DivWithOutsideClick, { onOutsideClick: this.props.onCancel, onKeyDown: this._handleKeyDown },
|
|
57
|
+
React.createElement(core_react_1.FocusTrap, { active: true, returnFocusOnDeactivate: true },
|
|
58
|
+
React.createElement(Card, { content: this.props.content, title: this.props.title, items: this.props.items, onItemExecuted: this.props.onItemExecuted })))));
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.CardPopup = CardPopup;
|
|
62
|
+
/** Card component
|
|
63
|
+
* @beta */
|
|
64
|
+
function Card(props) {
|
|
65
|
+
let titleNode;
|
|
66
|
+
// istanbul ignore else
|
|
67
|
+
if (props.title) {
|
|
68
|
+
if (typeof props.title === "string")
|
|
69
|
+
titleNode = React.createElement(itwinui_react_1.Text, { variant: "leading" }, props.title);
|
|
70
|
+
else {
|
|
71
|
+
const propertyValueRendererManager = components_react_1.PropertyValueRendererManager.defaultManager;
|
|
72
|
+
const titleValue = propertyValueRendererManager.render(props.title);
|
|
73
|
+
titleNode = React.createElement(itwinui_react_1.Text, { variant: "leading" }, titleValue);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
const content = (0, PopupManager_1.isReactContent)(props.content) ? props.content.reactNode : React.createElement(MessageSpan_1.MessageDiv, { message: props.content });
|
|
77
|
+
return (React.createElement(React.Fragment, null,
|
|
78
|
+
React.createElement("div", { className: "uifw-card-content" },
|
|
79
|
+
props.title &&
|
|
80
|
+
React.createElement(React.Fragment, null,
|
|
81
|
+
titleNode,
|
|
82
|
+
React.createElement("div", { className: "uifw-card-gap" })),
|
|
83
|
+
content),
|
|
84
|
+
props.items &&
|
|
85
|
+
React.createElement(React.Fragment, null,
|
|
86
|
+
React.createElement("div", { className: "uifw-card-separator" }),
|
|
87
|
+
React.createElement(components_react_1.ToolbarWithOverflow, { expandsTo: components_react_1.Direction.Bottom, panelAlignment: components_react_1.ToolbarPanelAlignment.Start, items: props.items, useDragInteraction: true, toolbarOpacitySetting: components_react_1.ToolbarOpacitySetting.Transparent, onItemExecuted: props.onItemExecuted }))));
|
|
88
|
+
}
|
|
89
|
+
exports.Card = Card;
|
|
90
90
|
//# sourceMappingURL=CardPopup.js.map
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module Popup
|
|
3
|
-
*/
|
|
4
|
-
import * as React from "react";
|
|
5
|
-
import { OnCancelFunc, RelativePosition } from "@itwin/appui-abstract";
|
|
6
|
-
import { Orientation, Size } from "@itwin/core-react";
|
|
7
|
-
import { PopupPropsBase } from "./PopupManager";
|
|
8
|
-
/** @alpha */
|
|
9
|
-
export interface HTMLElementPopupProps extends PopupPropsBase {
|
|
10
|
-
element: HTMLElement;
|
|
11
|
-
relativePosition: RelativePosition;
|
|
12
|
-
orientation: Orientation;
|
|
13
|
-
onCancel: OnCancelFunc;
|
|
14
|
-
}
|
|
15
|
-
/** @internal */
|
|
16
|
-
interface HTMLElementPopupState {
|
|
17
|
-
size: Size;
|
|
18
|
-
}
|
|
19
|
-
/** Popup component for HTMLElement
|
|
20
|
-
* @alpha
|
|
21
|
-
*/
|
|
22
|
-
export declare class HTMLElementPopup extends React.PureComponent<HTMLElementPopupProps, HTMLElementPopupState> {
|
|
23
|
-
/** @internal */
|
|
24
|
-
readonly state: {
|
|
25
|
-
size: Size;
|
|
26
|
-
};
|
|
27
|
-
private _onSizeKnown;
|
|
28
|
-
render(): JSX.Element;
|
|
29
|
-
}
|
|
30
|
-
export {};
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module Popup
|
|
3
|
+
*/
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import { OnCancelFunc, RelativePosition } from "@itwin/appui-abstract";
|
|
6
|
+
import { Orientation, Size } from "@itwin/core-react";
|
|
7
|
+
import { PopupPropsBase } from "./PopupManager";
|
|
8
|
+
/** @alpha */
|
|
9
|
+
export interface HTMLElementPopupProps extends PopupPropsBase {
|
|
10
|
+
element: HTMLElement;
|
|
11
|
+
relativePosition: RelativePosition;
|
|
12
|
+
orientation: Orientation;
|
|
13
|
+
onCancel: OnCancelFunc;
|
|
14
|
+
}
|
|
15
|
+
/** @internal */
|
|
16
|
+
interface HTMLElementPopupState {
|
|
17
|
+
size: Size;
|
|
18
|
+
}
|
|
19
|
+
/** Popup component for HTMLElement
|
|
20
|
+
* @alpha
|
|
21
|
+
*/
|
|
22
|
+
export declare class HTMLElementPopup extends React.PureComponent<HTMLElementPopupProps, HTMLElementPopupState> {
|
|
23
|
+
/** @internal */
|
|
24
|
+
readonly state: {
|
|
25
|
+
size: Size;
|
|
26
|
+
};
|
|
27
|
+
private _onSizeKnown;
|
|
28
|
+
render(): JSX.Element;
|
|
29
|
+
}
|
|
30
|
+
export {};
|
|
31
31
|
//# sourceMappingURL=HTMLElementPopup.d.ts.map
|
|
@@ -1,43 +1,43 @@
|
|
|
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 Popup
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.HTMLElementPopup = void 0;
|
|
11
|
-
const React = require("react");
|
|
12
|
-
const core_react_1 = require("@itwin/core-react");
|
|
13
|
-
const CursorPopup_1 = require("../cursor/cursorpopup/CursorPopup");
|
|
14
|
-
const PopupManager_1 = require("./PopupManager");
|
|
15
|
-
const PositionPopup_1 = require("./PositionPopup");
|
|
16
|
-
const MessageSpan_1 = require("../messages/MessageSpan");
|
|
17
|
-
/** Popup component for HTMLElement
|
|
18
|
-
* @alpha
|
|
19
|
-
*/
|
|
20
|
-
class HTMLElementPopup extends React.PureComponent {
|
|
21
|
-
constructor() {
|
|
22
|
-
super(...arguments);
|
|
23
|
-
/** @internal */
|
|
24
|
-
this.state = {
|
|
25
|
-
size: new core_react_1.Size(-1, -1),
|
|
26
|
-
};
|
|
27
|
-
this._onSizeKnown = (newSize) => {
|
|
28
|
-
// istanbul ignore else
|
|
29
|
-
if (!this.state.size.equals(newSize))
|
|
30
|
-
this.setState({ size: core_react_1.Size.create(newSize) });
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
render() {
|
|
34
|
-
let point = PopupManager_1.PopupManager.getPopupPosition(this.props.el, this.props.pt, new core_react_1.Point(), this.state.size);
|
|
35
|
-
const popupRect = CursorPopup_1.CursorPopup.getPopupRect(point, this.props.offset, this.state.size, this.props.relativePosition);
|
|
36
|
-
point = new core_react_1.Point(popupRect.left, popupRect.top);
|
|
37
|
-
return (React.createElement(PositionPopup_1.PositionPopup, { key: this.props.id, className: "uifw-no-border", point: point, onSizeKnown: this._onSizeKnown },
|
|
38
|
-
React.createElement(core_react_1.DivWithOutsideClick, { onOutsideClick: this.props.onCancel },
|
|
39
|
-
React.createElement(MessageSpan_1.MessageDiv, { message: this.props.element }))));
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
exports.HTMLElementPopup = HTMLElementPopup;
|
|
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 Popup
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.HTMLElementPopup = void 0;
|
|
11
|
+
const React = require("react");
|
|
12
|
+
const core_react_1 = require("@itwin/core-react");
|
|
13
|
+
const CursorPopup_1 = require("../cursor/cursorpopup/CursorPopup");
|
|
14
|
+
const PopupManager_1 = require("./PopupManager");
|
|
15
|
+
const PositionPopup_1 = require("./PositionPopup");
|
|
16
|
+
const MessageSpan_1 = require("../messages/MessageSpan");
|
|
17
|
+
/** Popup component for HTMLElement
|
|
18
|
+
* @alpha
|
|
19
|
+
*/
|
|
20
|
+
class HTMLElementPopup extends React.PureComponent {
|
|
21
|
+
constructor() {
|
|
22
|
+
super(...arguments);
|
|
23
|
+
/** @internal */
|
|
24
|
+
this.state = {
|
|
25
|
+
size: new core_react_1.Size(-1, -1),
|
|
26
|
+
};
|
|
27
|
+
this._onSizeKnown = (newSize) => {
|
|
28
|
+
// istanbul ignore else
|
|
29
|
+
if (!this.state.size.equals(newSize))
|
|
30
|
+
this.setState({ size: core_react_1.Size.create(newSize) });
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
render() {
|
|
34
|
+
let point = PopupManager_1.PopupManager.getPopupPosition(this.props.el, this.props.pt, new core_react_1.Point(), this.state.size);
|
|
35
|
+
const popupRect = CursorPopup_1.CursorPopup.getPopupRect(point, this.props.offset, this.state.size, this.props.relativePosition);
|
|
36
|
+
point = new core_react_1.Point(popupRect.left, popupRect.top);
|
|
37
|
+
return (React.createElement(PositionPopup_1.PositionPopup, { key: this.props.id, className: "uifw-no-border", point: point, onSizeKnown: this._onSizeKnown },
|
|
38
|
+
React.createElement(core_react_1.DivWithOutsideClick, { onOutsideClick: this.props.onCancel },
|
|
39
|
+
React.createElement(MessageSpan_1.MessageDiv, { message: this.props.element }))));
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.HTMLElementPopup = HTMLElementPopup;
|
|
43
43
|
//# sourceMappingURL=HTMLElementPopup.js.map
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module Popup
|
|
3
|
-
*/
|
|
4
|
-
import * as React from "react";
|
|
5
|
-
import { OnCancelFunc, OnValueCommitFunc, PropertyRecord } from "@itwin/appui-abstract";
|
|
6
|
-
import { PropertyUpdatedArgs } from "@itwin/components-react";
|
|
7
|
-
import { Size } from "@itwin/core-react";
|
|
8
|
-
import { PopupPropsBase } from "./PopupManager";
|
|
9
|
-
/** @beta */
|
|
10
|
-
export declare class InputEditorCommitHandler {
|
|
11
|
-
readonly onCommit: OnValueCommitFunc;
|
|
12
|
-
constructor(onCommit: OnValueCommitFunc);
|
|
13
|
-
handleCommit: (args: PropertyUpdatedArgs) => void;
|
|
14
|
-
}
|
|
15
|
-
/** Props for popup editor
|
|
16
|
-
* @beta */
|
|
17
|
-
export interface InputEditorPopupProps extends PopupPropsBase {
|
|
18
|
-
record: PropertyRecord;
|
|
19
|
-
onCancel: OnCancelFunc;
|
|
20
|
-
commitHandler: InputEditorCommitHandler;
|
|
21
|
-
}
|
|
22
|
-
/** @internal */
|
|
23
|
-
interface InputEditorPopupState {
|
|
24
|
-
size: Size;
|
|
25
|
-
}
|
|
26
|
-
/** Popup component for Input Editor
|
|
27
|
-
* @alpha
|
|
28
|
-
*/
|
|
29
|
-
export declare class InputEditorPopup extends React.PureComponent<InputEditorPopupProps, InputEditorPopupState> {
|
|
30
|
-
/** @internal */
|
|
31
|
-
readonly state: {
|
|
32
|
-
size: Size;
|
|
33
|
-
};
|
|
34
|
-
private _onSizeKnown;
|
|
35
|
-
/** @internal */
|
|
36
|
-
render(): JSX.Element;
|
|
37
|
-
}
|
|
38
|
-
export {};
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module Popup
|
|
3
|
+
*/
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import { OnCancelFunc, OnValueCommitFunc, PropertyRecord } from "@itwin/appui-abstract";
|
|
6
|
+
import { PropertyUpdatedArgs } from "@itwin/components-react";
|
|
7
|
+
import { Size } from "@itwin/core-react";
|
|
8
|
+
import { PopupPropsBase } from "./PopupManager";
|
|
9
|
+
/** @beta */
|
|
10
|
+
export declare class InputEditorCommitHandler {
|
|
11
|
+
readonly onCommit: OnValueCommitFunc;
|
|
12
|
+
constructor(onCommit: OnValueCommitFunc);
|
|
13
|
+
handleCommit: (args: PropertyUpdatedArgs) => void;
|
|
14
|
+
}
|
|
15
|
+
/** Props for popup editor
|
|
16
|
+
* @beta */
|
|
17
|
+
export interface InputEditorPopupProps extends PopupPropsBase {
|
|
18
|
+
record: PropertyRecord;
|
|
19
|
+
onCancel: OnCancelFunc;
|
|
20
|
+
commitHandler: InputEditorCommitHandler;
|
|
21
|
+
}
|
|
22
|
+
/** @internal */
|
|
23
|
+
interface InputEditorPopupState {
|
|
24
|
+
size: Size;
|
|
25
|
+
}
|
|
26
|
+
/** Popup component for Input Editor
|
|
27
|
+
* @alpha
|
|
28
|
+
*/
|
|
29
|
+
export declare class InputEditorPopup extends React.PureComponent<InputEditorPopupProps, InputEditorPopupState> {
|
|
30
|
+
/** @internal */
|
|
31
|
+
readonly state: {
|
|
32
|
+
size: Size;
|
|
33
|
+
};
|
|
34
|
+
private _onSizeKnown;
|
|
35
|
+
/** @internal */
|
|
36
|
+
render(): JSX.Element;
|
|
37
|
+
}
|
|
38
|
+
export {};
|
|
39
39
|
//# sourceMappingURL=InputEditorPopup.d.ts.map
|