@itwin/appui-react 4.14.1 → 4.15.1
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 +33 -1
- package/lib/cjs/appui-react/UiFramework.d.ts +202 -140
- package/lib/cjs/appui-react/UiFramework.d.ts.map +1 -1
- package/lib/cjs/appui-react/UiFramework.js +432 -301
- package/lib/cjs/appui-react/UiFramework.js.map +1 -1
- package/lib/cjs/appui-react/UiFramework.json +8 -4
- package/lib/cjs/appui-react/accudraw/AccuDrawCommandItems.d.ts +1 -0
- package/lib/cjs/appui-react/accudraw/AccuDrawCommandItems.d.ts.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawCommandItems.js +2 -0
- package/lib/cjs/appui-react/accudraw/AccuDrawCommandItems.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawDialog.d.ts +4 -2
- package/lib/cjs/appui-react/accudraw/AccuDrawDialog.d.ts.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawDialog.js +6 -7
- package/lib/cjs/appui-react/accudraw/AccuDrawDialog.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawDialog.scss +0 -4
- package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.d.ts.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawInputField.d.ts.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawInputField.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.js +28 -65
- package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.js +2 -0
- package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/Calculator.d.ts.map +1 -1
- package/lib/cjs/appui-react/accudraw/Calculator.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.d.ts +12 -12
- package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.js +7 -7
- package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/SquareButton.d.ts +0 -1
- package/lib/cjs/appui-react/accudraw/SquareButton.d.ts.map +1 -1
- package/lib/cjs/appui-react/accudraw/SquareButton.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposer.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageManager.d.ts +3 -2
- package/lib/cjs/appui-react/backstage/BackstageManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageManager.js +5 -7
- package/lib/cjs/appui-react/backstage/BackstageManager.js.map +1 -1
- package/lib/cjs/appui-react/backstage/InternalBackstageManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/backstage/InternalBackstageManager.js +1 -0
- package/lib/cjs/appui-react/backstage/InternalBackstageManager.js.map +1 -1
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js +8 -18
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.scss +4 -0
- package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.d.ts +16 -0
- package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
- package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js +64 -18
- package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
- package/lib/cjs/appui-react/content/ContentControl.d.ts +2 -2
- package/lib/cjs/appui-react/content/ContentControl.js +1 -1
- package/lib/cjs/appui-react/content/ContentControl.js.map +1 -1
- package/lib/cjs/appui-react/content/ContentGroup.d.ts +3 -3
- package/lib/cjs/appui-react/content/ContentGroup.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/ContentGroup.js.map +1 -1
- package/lib/cjs/appui-react/content/ContentLayout.d.ts +2 -2
- package/lib/cjs/appui-react/content/ContentLayout.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/ContentLayout.js +1 -1
- package/lib/cjs/appui-react/content/ContentLayout.js.map +1 -1
- package/lib/cjs/appui-react/content/IModelViewport.d.ts +5 -6
- package/lib/cjs/appui-react/content/IModelViewport.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/IModelViewport.js +25 -13
- package/lib/cjs/appui-react/content/IModelViewport.js.map +1 -1
- package/lib/cjs/appui-react/content/split-pane/SplitPane.d.ts +1 -1
- package/lib/cjs/appui-react/content/split-pane/SplitPane.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/split-pane/SplitPane.js.map +1 -1
- package/lib/cjs/appui-react/cursor/CursorInformation.d.ts +2 -2
- package/lib/cjs/appui-react/cursor/CursorInformation.js +1 -1
- package/lib/cjs/appui-react/cursor/CursorInformation.js.map +1 -1
- package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.d.ts +2 -1
- package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.d.ts.map +1 -1
- package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js +4 -1
- package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.d.ts +3 -2
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js +1 -0
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.d.ts.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.js +1 -0
- package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.js.map +1 -1
- package/lib/cjs/appui-react/dialog/ContentDialog.d.ts +2 -5
- package/lib/cjs/appui-react/dialog/ContentDialog.d.ts.map +1 -1
- package/lib/cjs/appui-react/dialog/ContentDialog.js +3 -46
- package/lib/cjs/appui-react/dialog/ContentDialog.js.map +1 -1
- package/lib/cjs/appui-react/dialog/ContentDialogManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/dialog/ContentDialogManager.js +2 -0
- package/lib/cjs/appui-react/dialog/ContentDialogManager.js.map +1 -1
- package/lib/cjs/appui-react/dialog/DialogManagerBase.d.ts +2 -2
- package/lib/cjs/appui-react/dialog/DialogManagerBase.d.ts.map +1 -1
- package/lib/cjs/appui-react/dialog/DialogManagerBase.js +2 -1
- package/lib/cjs/appui-react/dialog/DialogManagerBase.js.map +1 -1
- package/lib/cjs/appui-react/dialog/InternalContentDialogManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/dialog/InternalContentDialogManager.js +1 -0
- package/lib/cjs/appui-react/dialog/InternalContentDialogManager.js.map +1 -1
- package/lib/cjs/appui-react/dialog/ModalDialogManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/dialog/ModalDialogManager.js +2 -0
- package/lib/cjs/appui-react/dialog/ModalDialogManager.js.map +1 -1
- package/lib/cjs/appui-react/dialog/ModelessDialog.d.ts +2 -0
- package/lib/cjs/appui-react/dialog/ModelessDialog.d.ts.map +1 -1
- package/lib/cjs/appui-react/dialog/ModelessDialog.js +1 -0
- package/lib/cjs/appui-react/dialog/ModelessDialog.js.map +1 -1
- package/lib/cjs/appui-react/dialog/ModelessDialogManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/dialog/ModelessDialogManager.js +2 -0
- package/lib/cjs/appui-react/dialog/ModelessDialogManager.js.map +1 -1
- package/lib/cjs/appui-react/dialog/StandardMessageBox.d.ts +9 -22
- package/lib/cjs/appui-react/dialog/StandardMessageBox.d.ts.map +1 -1
- package/lib/cjs/appui-react/dialog/StandardMessageBox.js +135 -92
- package/lib/cjs/appui-react/dialog/StandardMessageBox.js.map +1 -1
- package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.d.ts +5 -1
- package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.d.ts.map +1 -1
- package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.js +69 -6
- package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.js.map +1 -1
- package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts +4 -3
- package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
- package/lib/cjs/appui-react/feedback/ElementTooltip.js +1 -1
- package/lib/cjs/appui-react/feedback/ElementTooltip.js.map +1 -1
- package/lib/cjs/appui-react/feedback/ValidationTextbox.d.ts.map +1 -1
- package/lib/cjs/appui-react/feedback/ValidationTextbox.js.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkBackstage.d.ts +2 -2
- package/lib/cjs/appui-react/framework/FrameworkBackstage.d.ts.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkBackstage.js.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkContent.d.ts +6 -5
- package/lib/cjs/appui-react/framework/FrameworkContent.d.ts.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkContent.js +3 -3
- package/lib/cjs/appui-react/framework/FrameworkContent.js.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkDialogs.d.ts +2 -2
- package/lib/cjs/appui-react/framework/FrameworkDialogs.js +2 -2
- package/lib/cjs/appui-react/framework/FrameworkDialogs.js.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkFrontstages.d.ts +24 -19
- package/lib/cjs/appui-react/framework/FrameworkFrontstages.d.ts.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkFrontstages.js +8 -8
- package/lib/cjs/appui-react/framework/FrameworkFrontstages.js.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.d.ts +25 -24
- package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.d.ts.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.js.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkToolSettings.d.ts +2 -2
- package/lib/cjs/appui-react/framework/FrameworkToolSettings.js +1 -1
- package/lib/cjs/appui-react/framework/FrameworkToolSettings.js.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkVisibility.d.ts +1 -1
- package/lib/cjs/appui-react/framework/FrameworkVisibility.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/Frontstage.d.ts +9 -0
- package/lib/cjs/appui-react/frontstage/Frontstage.d.ts.map +1 -0
- package/lib/cjs/appui-react/frontstage/Frontstage.js +10 -0
- package/lib/cjs/appui-react/frontstage/Frontstage.js.map +1 -0
- package/lib/cjs/appui-react/frontstage/FrontstageConfig.d.ts +1 -0
- package/lib/cjs/appui-react/frontstage/FrontstageConfig.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageConfig.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts +7 -6
- package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageDef.js +19 -7
- package/lib/cjs/appui-react/frontstage/FrontstageDef.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageProvider.d.ts +3 -2
- package/lib/cjs/appui-react/frontstage/FrontstageProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageProvider.js +1 -0
- package/lib/cjs/appui-react/frontstage/FrontstageProvider.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageUtilities.d.ts +13 -0
- package/lib/cjs/appui-react/frontstage/FrontstageUtilities.d.ts.map +1 -0
- package/lib/cjs/appui-react/frontstage/FrontstageUtilities.js +77 -0
- package/lib/cjs/appui-react/frontstage/FrontstageUtilities.js.map +1 -0
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts +4 -4
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js +41 -17
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts +2 -2
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/NestedFrontstage.d.ts +2 -3
- package/lib/cjs/appui-react/frontstage/NestedFrontstage.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/NestedFrontstage.js +6 -5
- package/lib/cjs/appui-react/frontstage/NestedFrontstage.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/NestedFrontstageAppButton.d.ts +19 -0
- package/lib/cjs/appui-react/frontstage/NestedFrontstageAppButton.d.ts.map +1 -0
- package/lib/cjs/appui-react/frontstage/NestedFrontstageAppButton.js +32 -0
- package/lib/cjs/appui-react/frontstage/NestedFrontstageAppButton.js.map +1 -0
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts +8 -10
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js +6 -58
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useActiveIModelConnection.d.ts.map +1 -1
- package/lib/cjs/appui-react/hooks/useActiveIModelConnection.js +1 -0
- package/lib/cjs/appui-react/hooks/useActiveIModelConnection.js.map +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts.map +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.js +0 -1
- package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.js.map +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.d.ts +4 -1
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.d.ts.map +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.js +9 -2
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.js.map +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts +4 -2
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts.map +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.js +3 -3
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutProps.d.ts +60 -0
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutProps.d.ts.map +1 -0
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutProps.js +3 -0
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutProps.js.map +1 -0
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutUtilities.d.ts +13 -0
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutUtilities.d.ts.map +1 -0
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutUtilities.js +32 -0
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutUtilities.js.map +1 -0
- package/lib/cjs/appui-react/layout/StandardLayout.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/StandardLayout.js.map +1 -1
- package/lib/cjs/appui-react/layout/backstage/Backstage.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/backstage/Backstage.js.map +1 -1
- package/lib/cjs/appui-react/layout/backstage/Item.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/backstage/Item.js.map +1 -1
- package/lib/cjs/appui-react/layout/backstage/Separator.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/backstage/Separator.js +1 -0
- package/lib/cjs/appui-react/layout/backstage/Separator.js.map +1 -1
- package/lib/cjs/appui-react/layout/footer/dialog/Dialog.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/footer/dialog/Dialog.js.map +1 -1
- package/lib/cjs/appui-react/layout/footer/dialog/TitleBar.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/footer/dialog/TitleBar.js.map +1 -1
- package/lib/cjs/appui-react/layout/footer/snap-mode/Panel.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/footer/snap-mode/Panel.js.map +1 -1
- package/lib/cjs/appui-react/layout/footer/snap-mode/Snap.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/footer/snap-mode/Snap.js.map +1 -1
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Dialog.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Dialog.js.map +1 -1
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Instruction.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Instruction.js.map +1 -1
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Item.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Item.js.map +1 -1
- package/lib/cjs/appui-react/layout/footer/tool-assistance/NewDot.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/footer/tool-assistance/NewDot.js +1 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/NewDot.js.map +1 -1
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Separator.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Separator.js.map +1 -1
- package/lib/cjs/appui-react/layout/outline/SectionOutline.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/outline/SectionOutline.js.map +1 -1
- package/lib/cjs/appui-react/layout/popup/Tooltip.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/popup/Tooltip.js.map +1 -1
- package/lib/cjs/appui-react/layout/target/TargetContainer.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/target/TargetContainer.js.map +1 -1
- package/lib/cjs/appui-react/layout/tool-settings/Docked.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/tool-settings/Docked.js +1 -0
- package/lib/cjs/appui-react/layout/tool-settings/Docked.js.map +1 -1
- package/lib/cjs/appui-react/layout/tool-settings/Handle.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/tool-settings/Handle.js.map +1 -1
- package/lib/cjs/appui-react/layout/tool-settings/Overflow.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/tool-settings/Overflow.js.map +1 -1
- package/lib/cjs/appui-react/layout/tool-settings/Panel.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/tool-settings/Panel.js +3 -1
- package/lib/cjs/appui-react/layout/tool-settings/Panel.js.map +1 -1
- package/lib/cjs/appui-react/layout/tool-settings/Setting.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/tool-settings/Setting.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget/Menu.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/widget/Menu.js +3 -1
- package/lib/cjs/appui-react/layout/widget/Menu.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget/MenuTab.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/widget/MenuTab.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget/NavigationArea.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/widget/NavigationArea.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget/Tab.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/widget/Tab.js +1 -0
- package/lib/cjs/appui-react/layout/widget/Tab.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget/TabBar.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/widget/TabBar.js +1 -0
- package/lib/cjs/appui-react/layout/widget/TabBar.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget/ToolsArea.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/widget/ToolsArea.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget/Widget.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/widget/Widget.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget/tools/button/App.d.ts +2 -1
- package/lib/cjs/appui-react/layout/widget/tools/button/App.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/widget/tools/button/App.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget/tools/button/Back.d.ts +2 -1
- package/lib/cjs/appui-react/layout/widget/tools/button/Back.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/widget/tools/button/Back.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget/tools/button/Button.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/widget/tools/button/Button.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget/tools/button/Expandable.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/widget/tools/button/Expandable.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget-panels/Expander.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/widget-panels/Expander.js +1 -0
- package/lib/cjs/appui-react/layout/widget-panels/Expander.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget-panels/Grip.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/widget-panels/Grip.js +3 -0
- package/lib/cjs/appui-react/layout/widget-panels/Grip.js.map +1 -1
- package/lib/cjs/appui-react/messages/InputField.d.ts.map +1 -1
- package/lib/cjs/appui-react/messages/InputField.js +6 -2
- package/lib/cjs/appui-react/messages/InputField.js.map +1 -1
- package/lib/cjs/appui-react/messages/MessageLabel.d.ts.map +1 -1
- package/lib/cjs/appui-react/messages/MessageLabel.js +1 -0
- package/lib/cjs/appui-react/messages/MessageLabel.js.map +1 -1
- package/lib/cjs/appui-react/messages/MessageManager.d.ts +12 -12
- package/lib/cjs/appui-react/messages/MessageManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/messages/MessageManager.js +22 -11
- package/lib/cjs/appui-react/messages/MessageManager.js.map +1 -1
- package/lib/cjs/appui-react/messages/MessageRenderer.js.map +1 -1
- package/lib/cjs/appui-react/messages/Pointer.d.ts +2 -2
- package/lib/cjs/appui-react/messages/Pointer.d.ts.map +1 -1
- package/lib/cjs/appui-react/messages/Pointer.js +11 -3
- package/lib/cjs/appui-react/messages/Pointer.js.map +1 -1
- package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.d.ts.map +1 -1
- package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.js.map +1 -1
- package/lib/cjs/appui-react/messages/getToastCategory.d.ts +1 -1
- package/lib/cjs/appui-react/navigationaids/NavigationAidControl.d.ts +2 -2
- package/lib/cjs/appui-react/navigationaids/NavigationAidControl.js +1 -1
- package/lib/cjs/appui-react/navigationaids/NavigationAidControl.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.d.ts.map +1 -1
- package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.d.ts +2 -2
- package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.d.ts.map +1 -1
- package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.js +1 -1
- package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.d.ts +2 -1
- package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
- package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
- package/lib/cjs/appui-react/pickers/ListPicker.d.ts.map +1 -1
- package/lib/cjs/appui-react/pickers/ListPicker.js.map +1 -1
- package/lib/cjs/appui-react/pickers/ViewSelector.d.ts +6 -3
- package/lib/cjs/appui-react/pickers/ViewSelector.d.ts.map +1 -1
- package/lib/cjs/appui-react/pickers/ViewSelector.js +11 -3
- package/lib/cjs/appui-react/pickers/ViewSelector.js.map +1 -1
- package/lib/cjs/appui-react/popup/CardPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/CardPopup.js +3 -1
- package/lib/cjs/appui-react/popup/CardPopup.js.map +1 -1
- package/lib/cjs/appui-react/popup/HTMLElementPopup.d.ts +2 -2
- package/lib/cjs/appui-react/popup/HTMLElementPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/HTMLElementPopup.js +1 -1
- package/lib/cjs/appui-react/popup/HTMLElementPopup.js.map +1 -1
- package/lib/cjs/appui-react/popup/KeyinPalettePanel.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/KeyinPalettePanel.js.map +1 -1
- package/lib/cjs/appui-react/popup/KeyinPalettePopup.d.ts +1 -1
- package/lib/cjs/appui-react/popup/KeyinPalettePopup.js.map +1 -1
- package/lib/cjs/appui-react/popup/PopupManager.d.ts +2 -2
- package/lib/cjs/appui-react/popup/PopupManager.js +5 -5
- package/lib/cjs/appui-react/popup/PopupManager.js.map +1 -1
- package/lib/cjs/appui-react/popup/PositionPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/PositionPopup.js +1 -0
- package/lib/cjs/appui-react/popup/PositionPopup.js.map +1 -1
- package/lib/cjs/appui-react/popup/ToolbarPopup.js.map +1 -1
- package/lib/cjs/appui-react/preview/horizontal-panel-alignment/PreviewHorizontalPanelAlign.d.ts.map +1 -1
- package/lib/cjs/appui-react/preview/horizontal-panel-alignment/PreviewHorizontalPanelAlign.js +15 -9
- package/lib/cjs/appui-react/preview/horizontal-panel-alignment/PreviewHorizontalPanelAlign.js.map +1 -1
- package/lib/cjs/appui-react/preview/new-toolbars/GroupItem.d.ts +1 -1
- package/lib/cjs/appui-react/preview/new-toolbars/ToolGroup.d.ts.map +1 -1
- package/lib/cjs/appui-react/preview/new-toolbars/ToolGroup.js.map +1 -1
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.js +7 -3
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.js.map +1 -1
- package/lib/cjs/appui-react/redux/ConfigurableUiState.d.ts +79 -0
- package/lib/cjs/appui-react/redux/ConfigurableUiState.d.ts.map +1 -0
- package/lib/cjs/appui-react/{configurableui/state.js → redux/ConfigurableUiState.js} +14 -10
- package/lib/cjs/appui-react/redux/ConfigurableUiState.js.map +1 -0
- package/lib/cjs/appui-react/redux/FrameworkState.d.ts +7 -10
- package/lib/cjs/appui-react/redux/FrameworkState.d.ts.map +1 -1
- package/lib/cjs/appui-react/redux/FrameworkState.js +5 -4
- package/lib/cjs/appui-react/redux/FrameworkState.js.map +1 -1
- package/lib/cjs/appui-react/redux/ReducerRegistry.d.ts +3 -0
- package/lib/cjs/appui-react/redux/ReducerRegistry.d.ts.map +1 -1
- package/lib/cjs/appui-react/redux/ReducerRegistry.js +2 -0
- package/lib/cjs/appui-react/redux/ReducerRegistry.js.map +1 -1
- package/lib/cjs/appui-react/redux/SessionState.d.ts +29 -12
- package/lib/cjs/appui-react/redux/SessionState.d.ts.map +1 -1
- package/lib/cjs/appui-react/redux/SessionState.js +11 -10
- package/lib/cjs/appui-react/redux/SessionState.js.map +1 -1
- package/lib/cjs/appui-react/redux/StateManager.d.ts +5 -4
- package/lib/cjs/appui-react/redux/StateManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/redux/StateManager.js +3 -3
- package/lib/cjs/appui-react/redux/StateManager.js.map +1 -1
- package/lib/cjs/appui-react/redux/connectIModel.d.ts +5 -1
- package/lib/cjs/appui-react/redux/connectIModel.d.ts.map +1 -1
- package/lib/cjs/appui-react/redux/connectIModel.js +5 -3
- package/lib/cjs/appui-react/redux/connectIModel.js.map +1 -1
- package/lib/cjs/appui-react/redux/redux-ts.d.ts +35 -32
- package/lib/cjs/appui-react/redux/redux-ts.d.ts.map +1 -1
- package/lib/cjs/appui-react/redux/redux-ts.js +3 -2
- package/lib/cjs/appui-react/redux/redux-ts.js.map +1 -1
- package/lib/cjs/appui-react/selection/SelectionContextItemDef.d.ts +17 -8
- package/lib/cjs/appui-react/selection/SelectionContextItemDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/selection/SelectionContextItemDef.js +21 -18
- package/lib/cjs/appui-react/selection/SelectionContextItemDef.js.map +1 -1
- package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.d.ts.map +1 -1
- package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js +9 -8
- package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
- package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.scss +5 -0
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts +1 -1
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js +18 -17
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
- package/lib/cjs/appui-react/shared/ActionButtonItemDef.d.ts +1 -0
- package/lib/cjs/appui-react/shared/ActionButtonItemDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/ActionButtonItemDef.js +2 -0
- package/lib/cjs/appui-react/shared/ActionButtonItemDef.js.map +1 -1
- package/lib/cjs/appui-react/shared/AnyItemDef.d.ts +1 -0
- package/lib/cjs/appui-react/shared/AnyItemDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/AnyItemDef.js.map +1 -1
- package/lib/cjs/appui-react/shared/AnyToolbarItemDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/AnyToolbarItemDef.js.map +1 -1
- package/lib/cjs/appui-react/shared/CommandItemDef.d.ts +1 -0
- package/lib/cjs/appui-react/shared/CommandItemDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/CommandItemDef.js +2 -0
- package/lib/cjs/appui-react/shared/CommandItemDef.js.map +1 -1
- package/lib/cjs/appui-react/shared/CustomItemDef.d.ts +1 -0
- package/lib/cjs/appui-react/shared/CustomItemDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/CustomItemDef.js +2 -0
- package/lib/cjs/appui-react/shared/CustomItemDef.js.map +1 -1
- package/lib/cjs/appui-react/shared/CustomItemProps.d.ts +1 -3
- package/lib/cjs/appui-react/shared/CustomItemProps.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/CustomItemProps.js +0 -7
- package/lib/cjs/appui-react/shared/CustomItemProps.js.map +1 -1
- package/lib/cjs/appui-react/shared/GroupItemProps.d.ts +1 -0
- package/lib/cjs/appui-react/shared/GroupItemProps.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/GroupItemProps.js.map +1 -1
- package/lib/cjs/appui-react/shared/ItemDefBase.d.ts +3 -1
- package/lib/cjs/appui-react/shared/ItemDefBase.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/ItemDefBase.js +1 -0
- package/lib/cjs/appui-react/shared/ItemDefBase.js.map +1 -1
- package/lib/cjs/appui-react/shared/ItemMap.d.ts +2 -0
- package/lib/cjs/appui-react/shared/ItemMap.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/ItemMap.js +3 -0
- package/lib/cjs/appui-react/shared/ItemMap.js.map +1 -1
- package/lib/cjs/appui-react/shared/ItemProps.d.ts +4 -0
- package/lib/cjs/appui-react/shared/ItemProps.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/ItemProps.js.map +1 -1
- package/lib/cjs/appui-react/shared/MenuItem.d.ts +45 -12
- package/lib/cjs/appui-react/shared/MenuItem.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/MenuItem.js +8 -1
- package/lib/cjs/appui-react/shared/MenuItem.js.map +1 -1
- package/lib/cjs/appui-react/shared/ToolItemDef.d.ts +4 -1
- package/lib/cjs/appui-react/shared/ToolItemDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/ToolItemDef.js +5 -1
- package/lib/cjs/appui-react/shared/ToolItemDef.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts +4 -4
- package/lib/cjs/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts +4 -4
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.js +2 -2
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/Field.d.ts +2 -2
- package/lib/cjs/appui-react/statusbar/Field.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/Field.js +1 -1
- package/lib/cjs/appui-react/statusbar/Field.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/Indicator.d.ts +2 -2
- package/lib/cjs/appui-react/statusbar/Indicator.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/Indicator.js +1 -1
- package/lib/cjs/appui-react/statusbar/Indicator.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/LabelIndicator.d.ts +2 -2
- package/lib/cjs/appui-react/statusbar/LabelIndicator.js +1 -1
- package/lib/cjs/appui-react/statusbar/LabelIndicator.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/Overflow.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/Overflow.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/Separator.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/Separator.js +1 -0
- package/lib/cjs/appui-react/statusbar/Separator.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBar.d.ts +4 -4
- package/lib/cjs/appui-react/statusbar/StatusBar.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBar.js +8 -4
- package/lib/cjs/appui-react/statusbar/StatusBar.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarComposer.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/dialog/Button.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/dialog/Button.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/dialog/Dialog.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/dialog/Dialog.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/dialog/TitleBar.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/popup/Popup.d.ts +1 -1
- package/lib/cjs/appui-react/statusbar/popup/Popup.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/popup/Popup.js +5 -2
- package/lib/cjs/appui-react/statusbar/popup/Popup.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/popup/StatusBarPopover.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/popup/StatusBarPopover.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/ActivityCenter.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/ActivityCenter.js +1 -0
- package/lib/cjs/appui-react/statusfields/ActivityCenter.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SectionsField.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/SectionsField.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionCount.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionCount.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionInfo.d.ts +3 -4
- package/lib/cjs/appui-react/statusfields/SelectionInfo.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionInfo.js +9 -13
- package/lib/cjs/appui-react/statusfields/SelectionInfo.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts +14 -19
- package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionScope.js +27 -29
- package/lib/cjs/appui-react/statusfields/SelectionScope.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SnapMode.d.ts +9 -12
- package/lib/cjs/appui-react/statusfields/SnapMode.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/SnapMode.js +29 -31
- package/lib/cjs/appui-react/statusfields/SnapMode.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts +2 -1
- package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/ViewAttributes.js +1 -0
- package/lib/cjs/appui-react/statusfields/ViewAttributes.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/message-center/MessageCenterField.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/message-center/MessageCenterField.js +1 -0
- package/lib/cjs/appui-react/statusfields/message-center/MessageCenterField.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/message-center/MessageCenterMessage.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/message-center/MessageCenterMessage.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +2 -1
- package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.js +1 -0
- package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js +1 -2
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
- package/lib/cjs/appui-react/syncui/UiSyncEvent.d.ts +2 -2
- package/lib/cjs/appui-react/syncui/UiSyncEvent.js +1 -1
- package/lib/cjs/appui-react/syncui/UiSyncEvent.js.map +1 -1
- package/lib/cjs/appui-react/theme/ThemeId.d.ts +38 -0
- package/lib/cjs/appui-react/theme/ThemeId.d.ts.map +1 -0
- package/lib/cjs/appui-react/theme/ThemeId.js +41 -0
- package/lib/cjs/appui-react/theme/ThemeId.js.map +1 -0
- package/lib/cjs/appui-react/theme/ThemeManager.d.ts +8 -58
- package/lib/cjs/appui-react/theme/ThemeManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/theme/ThemeManager.js +33 -108
- package/lib/cjs/appui-react/theme/ThemeManager.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/GroupItem.d.ts +1 -0
- package/lib/cjs/appui-react/toolbar/GroupItem.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolbar/GroupItem.js +2 -3
- package/lib/cjs/appui-react/toolbar/GroupItem.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/Toolbar.d.ts +1 -1
- package/lib/cjs/appui-react/toolbar/Toolbar.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolbar/Toolbar.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarHelper.d.ts +20 -5
- package/lib/cjs/appui-react/toolbar/ToolbarHelper.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarHelper.js +39 -8
- package/lib/cjs/appui-react/toolbar/ToolbarHelper.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarItem.d.ts +3 -4
- package/lib/cjs/appui-react/toolbar/ToolbarItem.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarItem.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.d.ts +4 -1
- package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.js +12 -1
- package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.js +3 -3
- package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.js.map +1 -1
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.d.ts +1 -0
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.d.ts.map +1 -1
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.js +2 -0
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.js.map +1 -1
- package/lib/cjs/appui-react/tools/ToolbarItems.d.ts +76 -0
- package/lib/cjs/appui-react/tools/ToolbarItems.d.ts.map +1 -0
- package/lib/cjs/appui-react/tools/ToolbarItems.js +186 -0
- package/lib/cjs/appui-react/tools/ToolbarItems.js.map +1 -0
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js +2 -0
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +41 -13
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.js +1 -0
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js +28 -11
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js +1 -0
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +3 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.d.ts +1 -1
- package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.d.ts +8 -14
- package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.d.ts +19 -19
- package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js +19 -19
- package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
- package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts +3 -2
- package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
- package/lib/cjs/appui-react/uistate/AppUiSettings.js +10 -9
- package/lib/cjs/appui-react/uistate/AppUiSettings.js.map +1 -1
- package/lib/cjs/appui-react/uistate/useGlobalStore.d.ts +17 -0
- package/lib/cjs/appui-react/uistate/useGlobalStore.d.ts.map +1 -0
- package/lib/cjs/appui-react/uistate/useGlobalStore.js +21 -0
- package/lib/cjs/appui-react/uistate/useGlobalStore.js.map +1 -0
- package/lib/cjs/appui-react/uistate/useReduxFrameworkState.d.ts +7 -0
- package/lib/cjs/appui-react/uistate/useReduxFrameworkState.d.ts.map +1 -0
- package/lib/cjs/appui-react/uistate/useReduxFrameworkState.js +32 -0
- package/lib/cjs/appui-react/uistate/useReduxFrameworkState.js.map +1 -0
- package/lib/cjs/appui-react/utils/PropsHelper.d.ts.map +1 -1
- package/lib/cjs/appui-react/utils/PropsHelper.js +1 -0
- package/lib/cjs/appui-react/utils/PropsHelper.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/DockedBar.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/DockedBar.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Frontstage.js +21 -17
- package/lib/cjs/appui-react/widget-panels/Frontstage.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/StatusBar.js +1 -0
- package/lib/cjs/appui-react/widget-panels/StatusBar.js.map +1 -1
- package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts +7 -9
- package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/BackstageAppButton.js +17 -19
- package/lib/cjs/appui-react/widgets/BackstageAppButton.js.map +1 -1
- package/lib/cjs/appui-react/widgets/BasicNavigationWidget.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/BasicNavigationWidget.js +26 -11
- package/lib/cjs/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
- package/lib/cjs/appui-react/widgets/BasicToolWidget.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/BasicToolWidget.js +30 -6
- package/lib/cjs/appui-react/widgets/BasicToolWidget.js.map +1 -1
- package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
- package/lib/cjs/appui-react/widgets/ToolWidgetComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/ToolWidgetComposer.js.map +1 -1
- package/lib/cjs/appui-react/widgets/Widget.d.ts +3 -4
- package/lib/cjs/appui-react/widgets/Widget.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/Widget.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetDef.d.ts +2 -2
- package/lib/cjs/appui-react/widgets/WidgetDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetDef.js +4 -3
- package/lib/cjs/appui-react/widgets/WidgetDef.js.map +1 -1
- package/lib/cjs/appui-react.d.ts +10 -3
- package/lib/cjs/appui-react.d.ts.map +1 -1
- package/lib/cjs/appui-react.js +10 -3
- package/lib/cjs/appui-react.js.map +1 -1
- package/lib/esm/appui-react/UiFramework.d.ts +202 -140
- package/lib/esm/appui-react/UiFramework.d.ts.map +1 -1
- package/lib/esm/appui-react/UiFramework.js +428 -297
- package/lib/esm/appui-react/UiFramework.js.map +1 -1
- package/lib/esm/appui-react/UiFramework.json +8 -4
- package/lib/esm/appui-react/accudraw/AccuDrawCommandItems.d.ts +1 -0
- package/lib/esm/appui-react/accudraw/AccuDrawCommandItems.d.ts.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawCommandItems.js +2 -0
- package/lib/esm/appui-react/accudraw/AccuDrawCommandItems.js.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawDialog.d.ts +4 -2
- package/lib/esm/appui-react/accudraw/AccuDrawDialog.d.ts.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawDialog.js +6 -7
- package/lib/esm/appui-react/accudraw/AccuDrawDialog.js.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawDialog.scss +0 -4
- package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.d.ts.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.js.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawInputField.d.ts.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawInputField.js.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.js +28 -65
- package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.js.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.d.ts.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.js +2 -0
- package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.js.map +1 -1
- package/lib/esm/appui-react/accudraw/Calculator.d.ts.map +1 -1
- package/lib/esm/appui-react/accudraw/Calculator.js.map +1 -1
- package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.d.ts +12 -12
- package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.js +7 -7
- package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.js.map +1 -1
- package/lib/esm/appui-react/accudraw/SquareButton.d.ts +0 -1
- package/lib/esm/appui-react/accudraw/SquareButton.d.ts.map +1 -1
- package/lib/esm/appui-react/accudraw/SquareButton.js.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposer.js.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageManager.d.ts +3 -2
- package/lib/esm/appui-react/backstage/BackstageManager.d.ts.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageManager.js +5 -7
- package/lib/esm/appui-react/backstage/BackstageManager.js.map +1 -1
- package/lib/esm/appui-react/backstage/InternalBackstageManager.d.ts.map +1 -1
- package/lib/esm/appui-react/backstage/InternalBackstageManager.js +1 -0
- package/lib/esm/appui-react/backstage/InternalBackstageManager.js.map +1 -1
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js +8 -18
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.scss +4 -0
- package/lib/esm/appui-react/configurableui/ConfigurableUiContent.d.ts +16 -0
- package/lib/esm/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
- package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js +63 -17
- package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
- package/lib/esm/appui-react/content/ContentControl.d.ts +2 -2
- package/lib/esm/appui-react/content/ContentControl.js +1 -1
- package/lib/esm/appui-react/content/ContentControl.js.map +1 -1
- package/lib/esm/appui-react/content/ContentGroup.d.ts +3 -3
- package/lib/esm/appui-react/content/ContentGroup.d.ts.map +1 -1
- package/lib/esm/appui-react/content/ContentGroup.js.map +1 -1
- package/lib/esm/appui-react/content/ContentLayout.d.ts +2 -2
- package/lib/esm/appui-react/content/ContentLayout.d.ts.map +1 -1
- package/lib/esm/appui-react/content/ContentLayout.js +1 -1
- package/lib/esm/appui-react/content/ContentLayout.js.map +1 -1
- package/lib/esm/appui-react/content/IModelViewport.d.ts +5 -6
- package/lib/esm/appui-react/content/IModelViewport.d.ts.map +1 -1
- package/lib/esm/appui-react/content/IModelViewport.js +24 -13
- package/lib/esm/appui-react/content/IModelViewport.js.map +1 -1
- package/lib/esm/appui-react/content/split-pane/SplitPane.d.ts +1 -1
- package/lib/esm/appui-react/content/split-pane/SplitPane.d.ts.map +1 -1
- package/lib/esm/appui-react/content/split-pane/SplitPane.js.map +1 -1
- package/lib/esm/appui-react/cursor/CursorInformation.d.ts +2 -2
- package/lib/esm/appui-react/cursor/CursorInformation.js +1 -1
- package/lib/esm/appui-react/cursor/CursorInformation.js.map +1 -1
- package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.d.ts +2 -1
- package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.d.ts.map +1 -1
- package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js +4 -1
- package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.d.ts +3 -2
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js +1 -0
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
- package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.d.ts.map +1 -1
- package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.js +1 -0
- package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.js.map +1 -1
- package/lib/esm/appui-react/dialog/ContentDialog.d.ts +2 -5
- package/lib/esm/appui-react/dialog/ContentDialog.d.ts.map +1 -1
- package/lib/esm/appui-react/dialog/ContentDialog.js +2 -44
- package/lib/esm/appui-react/dialog/ContentDialog.js.map +1 -1
- package/lib/esm/appui-react/dialog/ContentDialogManager.d.ts.map +1 -1
- package/lib/esm/appui-react/dialog/ContentDialogManager.js +2 -0
- package/lib/esm/appui-react/dialog/ContentDialogManager.js.map +1 -1
- package/lib/esm/appui-react/dialog/DialogManagerBase.d.ts +2 -2
- package/lib/esm/appui-react/dialog/DialogManagerBase.d.ts.map +1 -1
- package/lib/esm/appui-react/dialog/DialogManagerBase.js +2 -1
- package/lib/esm/appui-react/dialog/DialogManagerBase.js.map +1 -1
- package/lib/esm/appui-react/dialog/InternalContentDialogManager.d.ts.map +1 -1
- package/lib/esm/appui-react/dialog/InternalContentDialogManager.js +1 -0
- package/lib/esm/appui-react/dialog/InternalContentDialogManager.js.map +1 -1
- package/lib/esm/appui-react/dialog/ModalDialogManager.d.ts.map +1 -1
- package/lib/esm/appui-react/dialog/ModalDialogManager.js +2 -0
- package/lib/esm/appui-react/dialog/ModalDialogManager.js.map +1 -1
- package/lib/esm/appui-react/dialog/ModelessDialog.d.ts +2 -0
- package/lib/esm/appui-react/dialog/ModelessDialog.d.ts.map +1 -1
- package/lib/esm/appui-react/dialog/ModelessDialog.js +1 -0
- package/lib/esm/appui-react/dialog/ModelessDialog.js.map +1 -1
- package/lib/esm/appui-react/dialog/ModelessDialogManager.d.ts.map +1 -1
- package/lib/esm/appui-react/dialog/ModelessDialogManager.js +2 -0
- package/lib/esm/appui-react/dialog/ModelessDialogManager.js.map +1 -1
- package/lib/esm/appui-react/dialog/StandardMessageBox.d.ts +9 -22
- package/lib/esm/appui-react/dialog/StandardMessageBox.d.ts.map +1 -1
- package/lib/esm/appui-react/dialog/StandardMessageBox.js +135 -92
- package/lib/esm/appui-react/dialog/StandardMessageBox.js.map +1 -1
- package/lib/esm/appui-react/dialog/UiDataProvidedDialog.d.ts +5 -1
- package/lib/esm/appui-react/dialog/UiDataProvidedDialog.d.ts.map +1 -1
- package/lib/esm/appui-react/dialog/UiDataProvidedDialog.js +69 -6
- package/lib/esm/appui-react/dialog/UiDataProvidedDialog.js.map +1 -1
- package/lib/esm/appui-react/feedback/ElementTooltip.d.ts +4 -3
- package/lib/esm/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
- package/lib/esm/appui-react/feedback/ElementTooltip.js +1 -1
- package/lib/esm/appui-react/feedback/ElementTooltip.js.map +1 -1
- package/lib/esm/appui-react/feedback/ValidationTextbox.d.ts.map +1 -1
- package/lib/esm/appui-react/feedback/ValidationTextbox.js.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkBackstage.d.ts +2 -2
- package/lib/esm/appui-react/framework/FrameworkBackstage.d.ts.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkBackstage.js.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkContent.d.ts +6 -5
- package/lib/esm/appui-react/framework/FrameworkContent.d.ts.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkContent.js +3 -3
- package/lib/esm/appui-react/framework/FrameworkContent.js.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkDialogs.d.ts +2 -2
- package/lib/esm/appui-react/framework/FrameworkDialogs.js +2 -2
- package/lib/esm/appui-react/framework/FrameworkDialogs.js.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkFrontstages.d.ts +24 -19
- package/lib/esm/appui-react/framework/FrameworkFrontstages.d.ts.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkFrontstages.js +8 -8
- package/lib/esm/appui-react/framework/FrameworkFrontstages.js.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.d.ts +25 -24
- package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.d.ts.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.js.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkToolSettings.d.ts +2 -2
- package/lib/esm/appui-react/framework/FrameworkToolSettings.js +1 -1
- package/lib/esm/appui-react/framework/FrameworkToolSettings.js.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkVisibility.d.ts +1 -1
- package/lib/esm/appui-react/framework/FrameworkVisibility.js.map +1 -1
- package/lib/esm/appui-react/frontstage/Frontstage.d.ts +9 -0
- package/lib/esm/appui-react/frontstage/Frontstage.d.ts.map +1 -0
- package/lib/esm/appui-react/frontstage/Frontstage.js +9 -0
- package/lib/esm/appui-react/frontstage/Frontstage.js.map +1 -0
- package/lib/esm/appui-react/frontstage/FrontstageConfig.d.ts +1 -0
- package/lib/esm/appui-react/frontstage/FrontstageConfig.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageConfig.js.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts +7 -6
- package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageDef.js +19 -7
- package/lib/esm/appui-react/frontstage/FrontstageDef.js.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageProvider.d.ts +3 -2
- package/lib/esm/appui-react/frontstage/FrontstageProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageProvider.js +1 -0
- package/lib/esm/appui-react/frontstage/FrontstageProvider.js.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageUtilities.d.ts +13 -0
- package/lib/esm/appui-react/frontstage/FrontstageUtilities.d.ts.map +1 -0
- package/lib/esm/appui-react/frontstage/FrontstageUtilities.js +74 -0
- package/lib/esm/appui-react/frontstage/FrontstageUtilities.js.map +1 -0
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts +4 -4
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js +41 -17
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
- package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts +2 -2
- package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/ModalFrontstage.js.map +1 -1
- package/lib/esm/appui-react/frontstage/NestedFrontstage.d.ts +2 -3
- package/lib/esm/appui-react/frontstage/NestedFrontstage.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/NestedFrontstage.js +6 -5
- package/lib/esm/appui-react/frontstage/NestedFrontstage.js.map +1 -1
- package/lib/esm/appui-react/frontstage/NestedFrontstageAppButton.d.ts +19 -0
- package/lib/esm/appui-react/frontstage/NestedFrontstageAppButton.d.ts.map +1 -0
- package/lib/esm/appui-react/frontstage/NestedFrontstageAppButton.js +28 -0
- package/lib/esm/appui-react/frontstage/NestedFrontstageAppButton.js.map +1 -0
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts +8 -10
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js +6 -58
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
- package/lib/esm/appui-react/hooks/useActiveIModelConnection.d.ts.map +1 -1
- package/lib/esm/appui-react/hooks/useActiveIModelConnection.js +1 -0
- package/lib/esm/appui-react/hooks/useActiveIModelConnection.js.map +1 -1
- package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts +1 -1
- package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts.map +1 -1
- package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.js +0 -1
- package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.js.map +1 -1
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.d.ts +4 -1
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.d.ts.map +1 -1
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.js +9 -2
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.js.map +1 -1
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts +4 -2
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts.map +1 -1
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.js +3 -3
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutProps.d.ts +60 -0
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutProps.d.ts.map +1 -0
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutProps.js +2 -0
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutProps.js.map +1 -0
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutUtilities.d.ts +13 -0
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutUtilities.d.ts.map +1 -0
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutUtilities.js +29 -0
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutUtilities.js.map +1 -0
- package/lib/esm/appui-react/layout/StandardLayout.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/StandardLayout.js.map +1 -1
- package/lib/esm/appui-react/layout/backstage/Backstage.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/backstage/Backstage.js.map +1 -1
- package/lib/esm/appui-react/layout/backstage/Item.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/backstage/Item.js.map +1 -1
- package/lib/esm/appui-react/layout/backstage/Separator.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/backstage/Separator.js +1 -0
- package/lib/esm/appui-react/layout/backstage/Separator.js.map +1 -1
- package/lib/esm/appui-react/layout/footer/dialog/Dialog.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/footer/dialog/Dialog.js.map +1 -1
- package/lib/esm/appui-react/layout/footer/dialog/TitleBar.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/footer/dialog/TitleBar.js.map +1 -1
- package/lib/esm/appui-react/layout/footer/snap-mode/Panel.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/footer/snap-mode/Panel.js.map +1 -1
- package/lib/esm/appui-react/layout/footer/snap-mode/Snap.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/footer/snap-mode/Snap.js.map +1 -1
- package/lib/esm/appui-react/layout/footer/tool-assistance/Dialog.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/footer/tool-assistance/Dialog.js.map +1 -1
- package/lib/esm/appui-react/layout/footer/tool-assistance/Instruction.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/footer/tool-assistance/Instruction.js.map +1 -1
- package/lib/esm/appui-react/layout/footer/tool-assistance/Item.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/footer/tool-assistance/Item.js.map +1 -1
- package/lib/esm/appui-react/layout/footer/tool-assistance/NewDot.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/footer/tool-assistance/NewDot.js +1 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/NewDot.js.map +1 -1
- package/lib/esm/appui-react/layout/footer/tool-assistance/Separator.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/footer/tool-assistance/Separator.js.map +1 -1
- package/lib/esm/appui-react/layout/outline/SectionOutline.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/outline/SectionOutline.js.map +1 -1
- package/lib/esm/appui-react/layout/popup/Tooltip.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/popup/Tooltip.js.map +1 -1
- package/lib/esm/appui-react/layout/target/TargetContainer.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/target/TargetContainer.js.map +1 -1
- package/lib/esm/appui-react/layout/tool-settings/Docked.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/tool-settings/Docked.js +1 -0
- package/lib/esm/appui-react/layout/tool-settings/Docked.js.map +1 -1
- package/lib/esm/appui-react/layout/tool-settings/Handle.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/tool-settings/Handle.js.map +1 -1
- package/lib/esm/appui-react/layout/tool-settings/Overflow.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/tool-settings/Overflow.js.map +1 -1
- package/lib/esm/appui-react/layout/tool-settings/Panel.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/tool-settings/Panel.js +3 -1
- package/lib/esm/appui-react/layout/tool-settings/Panel.js.map +1 -1
- package/lib/esm/appui-react/layout/tool-settings/Setting.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/tool-settings/Setting.js.map +1 -1
- package/lib/esm/appui-react/layout/widget/Menu.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/widget/Menu.js +3 -1
- package/lib/esm/appui-react/layout/widget/Menu.js.map +1 -1
- package/lib/esm/appui-react/layout/widget/MenuTab.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/widget/MenuTab.js.map +1 -1
- package/lib/esm/appui-react/layout/widget/NavigationArea.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/widget/NavigationArea.js.map +1 -1
- package/lib/esm/appui-react/layout/widget/Tab.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/widget/Tab.js +1 -0
- package/lib/esm/appui-react/layout/widget/Tab.js.map +1 -1
- package/lib/esm/appui-react/layout/widget/TabBar.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/widget/TabBar.js +1 -0
- package/lib/esm/appui-react/layout/widget/TabBar.js.map +1 -1
- package/lib/esm/appui-react/layout/widget/ToolsArea.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/widget/ToolsArea.js.map +1 -1
- package/lib/esm/appui-react/layout/widget/Widget.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/widget/Widget.js.map +1 -1
- package/lib/esm/appui-react/layout/widget/tools/button/App.d.ts +2 -1
- package/lib/esm/appui-react/layout/widget/tools/button/App.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/widget/tools/button/App.js.map +1 -1
- package/lib/esm/appui-react/layout/widget/tools/button/Back.d.ts +2 -1
- package/lib/esm/appui-react/layout/widget/tools/button/Back.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/widget/tools/button/Back.js.map +1 -1
- package/lib/esm/appui-react/layout/widget/tools/button/Button.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/widget/tools/button/Button.js.map +1 -1
- package/lib/esm/appui-react/layout/widget/tools/button/Expandable.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/widget/tools/button/Expandable.js.map +1 -1
- package/lib/esm/appui-react/layout/widget-panels/Expander.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/widget-panels/Expander.js +1 -0
- package/lib/esm/appui-react/layout/widget-panels/Expander.js.map +1 -1
- package/lib/esm/appui-react/layout/widget-panels/Grip.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/widget-panels/Grip.js +3 -0
- package/lib/esm/appui-react/layout/widget-panels/Grip.js.map +1 -1
- package/lib/esm/appui-react/messages/InputField.d.ts.map +1 -1
- package/lib/esm/appui-react/messages/InputField.js +6 -2
- package/lib/esm/appui-react/messages/InputField.js.map +1 -1
- package/lib/esm/appui-react/messages/MessageLabel.d.ts.map +1 -1
- package/lib/esm/appui-react/messages/MessageLabel.js +1 -0
- package/lib/esm/appui-react/messages/MessageLabel.js.map +1 -1
- package/lib/esm/appui-react/messages/MessageManager.d.ts +12 -12
- package/lib/esm/appui-react/messages/MessageManager.d.ts.map +1 -1
- package/lib/esm/appui-react/messages/MessageManager.js +22 -11
- package/lib/esm/appui-react/messages/MessageManager.js.map +1 -1
- package/lib/esm/appui-react/messages/MessageRenderer.js.map +1 -1
- package/lib/esm/appui-react/messages/Pointer.d.ts +2 -2
- package/lib/esm/appui-react/messages/Pointer.d.ts.map +1 -1
- package/lib/esm/appui-react/messages/Pointer.js +11 -3
- package/lib/esm/appui-react/messages/Pointer.js.map +1 -1
- package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.d.ts.map +1 -1
- package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.js.map +1 -1
- package/lib/esm/appui-react/messages/getToastCategory.d.ts +1 -1
- package/lib/esm/appui-react/navigationaids/NavigationAidControl.d.ts +2 -2
- package/lib/esm/appui-react/navigationaids/NavigationAidControl.js +1 -1
- package/lib/esm/appui-react/navigationaids/NavigationAidControl.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/SheetNavigationAid.d.ts.map +1 -1
- package/lib/esm/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.d.ts +2 -2
- package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.d.ts.map +1 -1
- package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.js +1 -1
- package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.d.ts +2 -1
- package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
- package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
- package/lib/esm/appui-react/pickers/ListPicker.d.ts.map +1 -1
- package/lib/esm/appui-react/pickers/ListPicker.js.map +1 -1
- package/lib/esm/appui-react/pickers/ViewSelector.d.ts +6 -3
- package/lib/esm/appui-react/pickers/ViewSelector.d.ts.map +1 -1
- package/lib/esm/appui-react/pickers/ViewSelector.js +10 -3
- package/lib/esm/appui-react/pickers/ViewSelector.js.map +1 -1
- package/lib/esm/appui-react/popup/CardPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/CardPopup.js +3 -1
- package/lib/esm/appui-react/popup/CardPopup.js.map +1 -1
- package/lib/esm/appui-react/popup/HTMLElementPopup.d.ts +2 -2
- package/lib/esm/appui-react/popup/HTMLElementPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/HTMLElementPopup.js +1 -1
- package/lib/esm/appui-react/popup/HTMLElementPopup.js.map +1 -1
- package/lib/esm/appui-react/popup/KeyinPalettePanel.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/KeyinPalettePanel.js.map +1 -1
- package/lib/esm/appui-react/popup/KeyinPalettePopup.d.ts +1 -1
- package/lib/esm/appui-react/popup/KeyinPalettePopup.js.map +1 -1
- package/lib/esm/appui-react/popup/PopupManager.d.ts +2 -2
- package/lib/esm/appui-react/popup/PopupManager.js +5 -5
- package/lib/esm/appui-react/popup/PopupManager.js.map +1 -1
- package/lib/esm/appui-react/popup/PositionPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/PositionPopup.js +1 -0
- package/lib/esm/appui-react/popup/PositionPopup.js.map +1 -1
- package/lib/esm/appui-react/popup/ToolbarPopup.js.map +1 -1
- package/lib/esm/appui-react/preview/horizontal-panel-alignment/PreviewHorizontalPanelAlign.d.ts.map +1 -1
- package/lib/esm/appui-react/preview/horizontal-panel-alignment/PreviewHorizontalPanelAlign.js +15 -9
- package/lib/esm/appui-react/preview/horizontal-panel-alignment/PreviewHorizontalPanelAlign.js.map +1 -1
- package/lib/esm/appui-react/preview/new-toolbars/GroupItem.d.ts +1 -1
- package/lib/esm/appui-react/preview/new-toolbars/ToolGroup.d.ts.map +1 -1
- package/lib/esm/appui-react/preview/new-toolbars/ToolGroup.js.map +1 -1
- package/lib/esm/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.js +7 -3
- package/lib/esm/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.js.map +1 -1
- package/lib/esm/appui-react/redux/ConfigurableUiState.d.ts +79 -0
- package/lib/esm/appui-react/redux/ConfigurableUiState.d.ts.map +1 -0
- package/lib/esm/appui-react/{configurableui/state.js → redux/ConfigurableUiState.js} +11 -7
- package/lib/esm/appui-react/redux/ConfigurableUiState.js.map +1 -0
- package/lib/esm/appui-react/redux/FrameworkState.d.ts +7 -10
- package/lib/esm/appui-react/redux/FrameworkState.d.ts.map +1 -1
- package/lib/esm/appui-react/redux/FrameworkState.js +3 -2
- package/lib/esm/appui-react/redux/FrameworkState.js.map +1 -1
- package/lib/esm/appui-react/redux/ReducerRegistry.d.ts +3 -0
- package/lib/esm/appui-react/redux/ReducerRegistry.d.ts.map +1 -1
- package/lib/esm/appui-react/redux/ReducerRegistry.js +2 -0
- package/lib/esm/appui-react/redux/ReducerRegistry.js.map +1 -1
- package/lib/esm/appui-react/redux/SessionState.d.ts +29 -12
- package/lib/esm/appui-react/redux/SessionState.d.ts.map +1 -1
- package/lib/esm/appui-react/redux/SessionState.js +11 -10
- package/lib/esm/appui-react/redux/SessionState.js.map +1 -1
- package/lib/esm/appui-react/redux/StateManager.d.ts +5 -4
- package/lib/esm/appui-react/redux/StateManager.d.ts.map +1 -1
- package/lib/esm/appui-react/redux/StateManager.js +3 -3
- package/lib/esm/appui-react/redux/StateManager.js.map +1 -1
- package/lib/esm/appui-react/redux/connectIModel.d.ts +5 -1
- package/lib/esm/appui-react/redux/connectIModel.d.ts.map +1 -1
- package/lib/esm/appui-react/redux/connectIModel.js +3 -1
- package/lib/esm/appui-react/redux/connectIModel.js.map +1 -1
- package/lib/esm/appui-react/redux/redux-ts.d.ts +35 -32
- package/lib/esm/appui-react/redux/redux-ts.d.ts.map +1 -1
- package/lib/esm/appui-react/redux/redux-ts.js +3 -2
- package/lib/esm/appui-react/redux/redux-ts.js.map +1 -1
- package/lib/esm/appui-react/selection/SelectionContextItemDef.d.ts +17 -8
- package/lib/esm/appui-react/selection/SelectionContextItemDef.d.ts.map +1 -1
- package/lib/esm/appui-react/selection/SelectionContextItemDef.js +21 -18
- package/lib/esm/appui-react/selection/SelectionContextItemDef.js.map +1 -1
- package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.d.ts.map +1 -1
- package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js +11 -10
- package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
- package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.scss +5 -0
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts +1 -1
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.js +12 -11
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
- package/lib/esm/appui-react/shared/ActionButtonItemDef.d.ts +1 -0
- package/lib/esm/appui-react/shared/ActionButtonItemDef.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/ActionButtonItemDef.js +2 -0
- package/lib/esm/appui-react/shared/ActionButtonItemDef.js.map +1 -1
- package/lib/esm/appui-react/shared/AnyItemDef.d.ts +1 -0
- package/lib/esm/appui-react/shared/AnyItemDef.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/AnyItemDef.js.map +1 -1
- package/lib/esm/appui-react/shared/AnyToolbarItemDef.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/AnyToolbarItemDef.js.map +1 -1
- package/lib/esm/appui-react/shared/CommandItemDef.d.ts +1 -0
- package/lib/esm/appui-react/shared/CommandItemDef.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/CommandItemDef.js +2 -0
- package/lib/esm/appui-react/shared/CommandItemDef.js.map +1 -1
- package/lib/esm/appui-react/shared/CustomItemDef.d.ts +1 -0
- package/lib/esm/appui-react/shared/CustomItemDef.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/CustomItemDef.js +2 -0
- package/lib/esm/appui-react/shared/CustomItemDef.js.map +1 -1
- package/lib/esm/appui-react/shared/CustomItemProps.d.ts +1 -3
- package/lib/esm/appui-react/shared/CustomItemProps.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/CustomItemProps.js +0 -7
- package/lib/esm/appui-react/shared/CustomItemProps.js.map +1 -1
- package/lib/esm/appui-react/shared/GroupItemProps.d.ts +1 -0
- package/lib/esm/appui-react/shared/GroupItemProps.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/GroupItemProps.js.map +1 -1
- package/lib/esm/appui-react/shared/ItemDefBase.d.ts +3 -1
- package/lib/esm/appui-react/shared/ItemDefBase.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/ItemDefBase.js +1 -0
- package/lib/esm/appui-react/shared/ItemDefBase.js.map +1 -1
- package/lib/esm/appui-react/shared/ItemMap.d.ts +2 -0
- package/lib/esm/appui-react/shared/ItemMap.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/ItemMap.js +3 -0
- package/lib/esm/appui-react/shared/ItemMap.js.map +1 -1
- package/lib/esm/appui-react/shared/ItemProps.d.ts +4 -0
- package/lib/esm/appui-react/shared/ItemProps.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/ItemProps.js.map +1 -1
- package/lib/esm/appui-react/shared/MenuItem.d.ts +45 -12
- package/lib/esm/appui-react/shared/MenuItem.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/MenuItem.js +8 -1
- package/lib/esm/appui-react/shared/MenuItem.js.map +1 -1
- package/lib/esm/appui-react/shared/ToolItemDef.d.ts +4 -1
- package/lib/esm/appui-react/shared/ToolItemDef.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/ToolItemDef.js +5 -1
- package/lib/esm/appui-react/shared/ToolItemDef.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts +4 -4
- package/lib/esm/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts +4 -4
- package/lib/esm/appui-react/stagepanels/StagePanelDef.js +2 -2
- package/lib/esm/appui-react/stagepanels/StagePanelDef.js.map +1 -1
- package/lib/esm/appui-react/statusbar/Field.d.ts +2 -2
- package/lib/esm/appui-react/statusbar/Field.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/Field.js +1 -1
- package/lib/esm/appui-react/statusbar/Field.js.map +1 -1
- package/lib/esm/appui-react/statusbar/Indicator.d.ts +2 -2
- package/lib/esm/appui-react/statusbar/Indicator.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/Indicator.js +1 -1
- package/lib/esm/appui-react/statusbar/Indicator.js.map +1 -1
- package/lib/esm/appui-react/statusbar/LabelIndicator.d.ts +2 -2
- package/lib/esm/appui-react/statusbar/LabelIndicator.js +1 -1
- package/lib/esm/appui-react/statusbar/LabelIndicator.js.map +1 -1
- package/lib/esm/appui-react/statusbar/Overflow.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/Overflow.js.map +1 -1
- package/lib/esm/appui-react/statusbar/Separator.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/Separator.js +1 -0
- package/lib/esm/appui-react/statusbar/Separator.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBar.d.ts +4 -4
- package/lib/esm/appui-react/statusbar/StatusBar.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBar.js +8 -4
- package/lib/esm/appui-react/statusbar/StatusBar.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarComposer.js.map +1 -1
- package/lib/esm/appui-react/statusbar/dialog/Button.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/dialog/Button.js.map +1 -1
- package/lib/esm/appui-react/statusbar/dialog/Dialog.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/dialog/Dialog.js.map +1 -1
- package/lib/esm/appui-react/statusbar/dialog/TitleBar.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
- package/lib/esm/appui-react/statusbar/popup/Popup.d.ts +1 -1
- package/lib/esm/appui-react/statusbar/popup/Popup.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/popup/Popup.js +5 -2
- package/lib/esm/appui-react/statusbar/popup/Popup.js.map +1 -1
- package/lib/esm/appui-react/statusbar/popup/StatusBarPopover.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/popup/StatusBarPopover.js.map +1 -1
- package/lib/esm/appui-react/statusfields/ActivityCenter.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/ActivityCenter.js +1 -0
- package/lib/esm/appui-react/statusfields/ActivityCenter.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SectionsField.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/SectionsField.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionCount.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionCount.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionInfo.d.ts +3 -4
- package/lib/esm/appui-react/statusfields/SelectionInfo.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionInfo.js +9 -13
- package/lib/esm/appui-react/statusfields/SelectionInfo.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionScope.d.ts +14 -19
- package/lib/esm/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionScope.js +26 -29
- package/lib/esm/appui-react/statusfields/SelectionScope.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SnapMode.d.ts +9 -12
- package/lib/esm/appui-react/statusfields/SnapMode.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/SnapMode.js +28 -31
- package/lib/esm/appui-react/statusfields/SnapMode.js.map +1 -1
- package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts +2 -1
- package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/ViewAttributes.js +1 -0
- package/lib/esm/appui-react/statusfields/ViewAttributes.js.map +1 -1
- package/lib/esm/appui-react/statusfields/message-center/MessageCenterField.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/message-center/MessageCenterField.js +1 -0
- package/lib/esm/appui-react/statusfields/message-center/MessageCenterField.js.map +1 -1
- package/lib/esm/appui-react/statusfields/message-center/MessageCenterMessage.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/message-center/MessageCenterMessage.js.map +1 -1
- package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +2 -1
- package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.js +1 -0
- package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.js.map +1 -1
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js +1 -2
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
- package/lib/esm/appui-react/syncui/UiSyncEvent.d.ts +2 -2
- package/lib/esm/appui-react/syncui/UiSyncEvent.js +1 -1
- package/lib/esm/appui-react/syncui/UiSyncEvent.js.map +1 -1
- package/lib/esm/appui-react/theme/ThemeId.d.ts +38 -0
- package/lib/esm/appui-react/theme/ThemeId.d.ts.map +1 -0
- package/lib/esm/appui-react/theme/ThemeId.js +38 -0
- package/lib/esm/appui-react/theme/ThemeId.js.map +1 -0
- package/lib/esm/appui-react/theme/ThemeManager.d.ts +8 -58
- package/lib/esm/appui-react/theme/ThemeManager.d.ts.map +1 -1
- package/lib/esm/appui-react/theme/ThemeManager.js +24 -100
- package/lib/esm/appui-react/theme/ThemeManager.js.map +1 -1
- package/lib/esm/appui-react/toolbar/GroupItem.d.ts +1 -0
- package/lib/esm/appui-react/toolbar/GroupItem.d.ts.map +1 -1
- package/lib/esm/appui-react/toolbar/GroupItem.js +2 -3
- package/lib/esm/appui-react/toolbar/GroupItem.js.map +1 -1
- package/lib/esm/appui-react/toolbar/Toolbar.d.ts +1 -1
- package/lib/esm/appui-react/toolbar/Toolbar.d.ts.map +1 -1
- package/lib/esm/appui-react/toolbar/Toolbar.js.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarHelper.d.ts +20 -5
- package/lib/esm/appui-react/toolbar/ToolbarHelper.d.ts.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarHelper.js +36 -7
- package/lib/esm/appui-react/toolbar/ToolbarHelper.js.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarItem.d.ts +3 -4
- package/lib/esm/appui-react/toolbar/ToolbarItem.d.ts.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarItem.js.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.d.ts +4 -1
- package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.d.ts.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.js +12 -1
- package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.js.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarItemsManager.js +3 -3
- package/lib/esm/appui-react/toolbar/ToolbarItemsManager.js.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.d.ts.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.js.map +1 -1
- package/lib/esm/appui-react/tools/CoreToolDefinitions.d.ts +1 -0
- package/lib/esm/appui-react/tools/CoreToolDefinitions.d.ts.map +1 -1
- package/lib/esm/appui-react/tools/CoreToolDefinitions.js +2 -0
- package/lib/esm/appui-react/tools/CoreToolDefinitions.js.map +1 -1
- package/lib/esm/appui-react/tools/ToolbarItems.d.ts +76 -0
- package/lib/esm/appui-react/tools/ToolbarItems.d.ts.map +1 -0
- package/lib/esm/appui-react/tools/ToolbarItems.js +183 -0
- package/lib/esm/appui-react/tools/ToolbarItems.js.map +1 -0
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js +2 -0
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +41 -13
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.js +1 -0
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js +28 -11
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js +1 -0
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +3 -1
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/UiItemsManager.d.ts +1 -1
- package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.d.ts +8 -14
- package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.d.ts +19 -19
- package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js +19 -19
- package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
- package/lib/esm/appui-react/uistate/AppUiSettings.d.ts +3 -2
- package/lib/esm/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
- package/lib/esm/appui-react/uistate/AppUiSettings.js +10 -9
- package/lib/esm/appui-react/uistate/AppUiSettings.js.map +1 -1
- package/lib/esm/appui-react/uistate/useGlobalStore.d.ts +17 -0
- package/lib/esm/appui-react/uistate/useGlobalStore.d.ts.map +1 -0
- package/lib/esm/appui-react/uistate/useGlobalStore.js +18 -0
- package/lib/esm/appui-react/uistate/useGlobalStore.js.map +1 -0
- package/lib/esm/appui-react/uistate/useReduxFrameworkState.d.ts +7 -0
- package/lib/esm/appui-react/uistate/useReduxFrameworkState.d.ts.map +1 -0
- package/lib/esm/appui-react/uistate/useReduxFrameworkState.js +28 -0
- package/lib/esm/appui-react/uistate/useReduxFrameworkState.js.map +1 -0
- package/lib/esm/appui-react/utils/PropsHelper.d.ts.map +1 -1
- package/lib/esm/appui-react/utils/PropsHelper.js +1 -0
- package/lib/esm/appui-react/utils/PropsHelper.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/DockedBar.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/DockedBar.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/Frontstage.js +21 -17
- package/lib/esm/appui-react/widget-panels/Frontstage.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/StatusBar.js +1 -0
- package/lib/esm/appui-react/widget-panels/StatusBar.js.map +1 -1
- package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts +7 -9
- package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/BackstageAppButton.js +17 -19
- package/lib/esm/appui-react/widgets/BackstageAppButton.js.map +1 -1
- package/lib/esm/appui-react/widgets/BasicNavigationWidget.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/BasicNavigationWidget.js +26 -11
- package/lib/esm/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
- package/lib/esm/appui-react/widgets/BasicToolWidget.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/BasicToolWidget.js +30 -6
- package/lib/esm/appui-react/widgets/BasicToolWidget.js.map +1 -1
- package/lib/esm/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
- package/lib/esm/appui-react/widgets/ToolWidgetComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/ToolWidgetComposer.js.map +1 -1
- package/lib/esm/appui-react/widgets/Widget.d.ts +3 -4
- package/lib/esm/appui-react/widgets/Widget.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/Widget.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetDef.d.ts +2 -2
- package/lib/esm/appui-react/widgets/WidgetDef.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetDef.js +4 -3
- package/lib/esm/appui-react/widgets/WidgetDef.js.map +1 -1
- package/lib/esm/appui-react.d.ts +10 -3
- package/lib/esm/appui-react.d.ts.map +1 -1
- package/lib/esm/appui-react.js +10 -3
- package/lib/esm/appui-react.js.map +1 -1
- package/lib/public/locales/en/UiFramework.json +8 -4
- package/package.json +8 -8
- package/lib/cjs/appui-react/configurableui/state.d.ts +0 -62
- package/lib/cjs/appui-react/configurableui/state.d.ts.map +0 -1
- package/lib/cjs/appui-react/configurableui/state.js.map +0 -1
- package/lib/cjs/appui-react/dialog/ContentDialog.scss +0 -25
- package/lib/esm/appui-react/configurableui/state.d.ts +0 -62
- package/lib/esm/appui-react/configurableui/state.d.ts.map +0 -1
- package/lib/esm/appui-react/configurableui/state.js.map +0 -1
- package/lib/esm/appui-react/dialog/ContentDialog.scss +0 -25
package/lib/cjs/appui-react/preview/horizontal-panel-alignment/PreviewHorizontalPanelAlign.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreviewHorizontalPanelAlign.js","sourceRoot":"","sources":["../../../../../src/appui-react/preview/horizontal-panel-alignment/PreviewHorizontalPanelAlign.tsx"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAEH,+BAA+B;AAC/B,sDAA6C;AAC7C,kDAAwD;AACxD,wDAA8D;AAC9D,4DAG0C;AAK1C,qEAAmF;AACnF,uDAA0D;AAC1D,2EAA4E;AAC5E,sFAAqF;AAErF,wDAAwD;AACxD,MAAM,iBAAiB,GAAG;IACxB,GAAG,EAAE,gCAAmB,CAAC,OAAO;IAChC,MAAM,EAAE,gCAAmB,CAAC,OAAO;CACpC,CAAC;AAEF,gBAAgB;AACH,QAAA,2BAA2B,GAAG,KAAK,CAAC,aAAa,CAS3D;IACD,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,iBAAiB;IAC7B,YAAY,EAAE,GAAG,EAAE,GAAE,CAAC;CACvB,CAAC,CAAC;AAEH;;GAEG;AACH,SAAgB,0CAA0C,CAAC,EACzD,OAAO,EACP,QAAQ,GAIT;IACC,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,KAAK,CAAC,QAAQ,CAE/C;QACD,GAAG,EAAE,gCAAmB,CAAC,OAAO;QAChC,MAAM,EAAE,gCAAmB,CAAC,OAAO;KACpC,CAAC,CAAC;IACH,MAAM,YAAY,GAAG,KAAK,CAAC,WAAW,CACpC,CAAC,KAA4B,EAAE,SAA8B,EAAE,EAAE;QAC/D,IAAI,CAAC,KAAK,IAAI,CAAC,IAAA,6BAAqB,EAAC,KAAK,CAAC;YAAE,OAAO;QACpD,aAAa,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;YACvB,GAAG,IAAI;YACP,CAAC,KAAK,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AAA,6BAAqB,EAAC,IAAI,CAAC,CAAC;IACtD,OAAO,CACL,OAAO,IAAI,iBAAiB,IAAI,iBAAiB,IAAI,CAAC,iBAAiB,CACxE,CAAC;AACJ,CAAC;AAXD,sEAWC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport * as React from \"react\";\nimport { assert } from \"@itwin/core-bentley\";\nimport { HorizontalAlignment } from \"@itwin/core-react\";\nimport { DropdownMenu, MenuItem } from \"@itwin/itwinui-react\";\nimport {\n isHorizontalPanelSide,\n PanelSideContext,\n} from \"../../layout/widget-panels/Panel\";\nimport type {\n HorizontalPanelSide,\n PanelSide,\n} from \"../../layout/widget-panels/PanelTypes\";\nimport { WidgetActionDropdownContext } from \"../widget-action-dropdown/MoreButton\";\nimport { TabBarButton } from \"../../layout/widget/Button\";\nimport { useMainPanelWidgetId } from \"../../layout/widget/usePanelWidgetId\";\nimport { useIsMaximizedWidget } from \"../enable-maximized-widget/useMaximizedWidget\";\n\n/** Default value used when not provided or disabled. */\nconst defaultAlignments = {\n top: HorizontalAlignment.Justify,\n bottom: HorizontalAlignment.Justify,\n};\n\n/** @internal */\nexport const HorizontalPanelAlignContext = React.createContext<{\n enabled: boolean;\n alignments: {\n [side in HorizontalPanelSide]: HorizontalAlignment;\n };\n setAlignment: (\n panel: PanelSide | undefined,\n alignment: HorizontalAlignment\n ) => void;\n}>({\n enabled: false,\n alignments: defaultAlignments,\n setAlignment: () => {},\n});\n\n/** Preview horizontal panel alignment feature provider.\n * @internal\n */\nexport function PreviewHorizontalPanelAlignFeatureProvider({\n enabled,\n children,\n}: {\n enabled?: boolean;\n children?: React.ReactNode;\n}) {\n const [alignments, setAlignments] = React.useState<{\n [x in HorizontalPanelSide]: HorizontalAlignment;\n }>({\n top: HorizontalAlignment.Justify,\n bottom: HorizontalAlignment.Justify,\n });\n const setAlignment = React.useCallback(\n (panel: PanelSide | undefined, alignment: HorizontalAlignment) => {\n if (!panel || !isHorizontalPanelSide(panel)) return;\n setAlignments((prev) => ({\n ...prev,\n [panel]: alignment,\n }));\n },\n []\n );\n return (\n <HorizontalPanelAlignContext.Provider\n value={{\n enabled: !!enabled,\n alignments: enabled ? alignments : defaultAlignments,\n setAlignment,\n }}\n >\n {children}\n </HorizontalPanelAlignContext.Provider>\n );\n}\n\nfunction SvgSide(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"1rem\"\n height=\"1rem\"\n viewBox=\"0 0 16 16\"\n fill=\"var(--iui-color-icon-muted, currentColor)\"\n {...props}\n >\n <path d=\"M0 2v12h16V2H0Zm11 7H1V3h10v6Zm4 4h-3V3h3v10Z\" />\n </svg>\n );\n}\n\nfunction SvgJustify(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"1rem\"\n height=\"1rem\"\n viewBox=\"0 0 16 16\"\n fill=\"var(--iui-color-icon-muted, currentColor)\"\n {...props}\n >\n <path d=\"M0 2v12h16V2H0Zm4 7H1V3h3v6Zm1 0V3h6v6H5Zm10 0h-3V3h3v6Z\" />\n </svg>\n );\n}\n\nfunction SvgCenter(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"1rem\"\n height=\"1rem\"\n viewBox=\"0 0 16 16\"\n fill=\"var(--iui-color-icon-muted, currentColor)\"\n {...props}\n >\n <path d=\"M0 2v12h16V2H0Zm4 11H1V3h3v10Zm1-4V3h6v6H5Zm10 4h-3V3h3v10Z\" />\n </svg>\n );\n}\n\nfunction getIcon(side: HorizontalPanelSide, alignment: HorizontalAlignment) {\n const scaleY = side === \"top\" ? \"-1\" : \"1\";\n if (alignment === HorizontalAlignment.Justify)\n return <SvgJustify transform={`scale(1, ${scaleY})`} />;\n if (alignment === HorizontalAlignment.Center)\n return <SvgCenter transform={`scale(1, ${scaleY})`} />;\n const scaleX = alignment === HorizontalAlignment.Left ? \"1\" : \"-1\";\n return <SvgSide transform={`scale(${scaleX}, ${scaleY})`} />;\n}\n\nfunction capitalize(s: string) {\n return s.charAt(0).toUpperCase() + s.slice(1);\n}\n\n/** @internal */\nexport function PreviewHorizontalPanelAlignButton() {\n const side = React.useContext(PanelSideContext);\n assert(!!side);\n assert(isHorizontalPanelSide(side));\n const { alignments, setAlignment } = React.useContext(\n HorizontalPanelAlignContext\n );\n const label = \"Align panel\";\n\n const getMenuItems = (onClose?: () => void) =>\n [\n HorizontalAlignment.Justify,\n HorizontalAlignment.Center,\n HorizontalAlignment.Left,\n HorizontalAlignment.Right,\n ].map((align) => {\n return (\n <MenuItem\n key={align}\n onClick={() => {\n setAlignment(side, align);\n onClose?.();\n }}\n icon={getIcon(side, align)}\n isSelected={alignments[side] === align}\n >\n {capitalize(align)}\n </MenuItem>\n );\n });\n const dropdownContext = React.useContext(WidgetActionDropdownContext);\n if (dropdownContext !== undefined) {\n return (\n <MenuItem\n icon={getIcon(side, alignments[side])}\n subMenuItems={getMenuItems(dropdownContext.onClose)}\n >\n {label}\n </MenuItem>\n );\n }\n return (\n <DropdownMenu menuItems={(close) => getMenuItems(close)}>\n <TabBarButton label={label}>\n {getIcon(side, alignments[side])}\n </TabBarButton>\n </DropdownMenu>\n );\n}\n\n/** @internal */\nexport function useHorizontalPanelAlignButton() {\n const side = React.useContext(PanelSideContext);\n const { enabled } = React.useContext(HorizontalPanelAlignContext);\n const isMainPanelWidget = !!useMainPanelWidgetId();\n const isMaximizedWidget = useIsMaximizedWidget();\n\n if (!side) return false;\n const isHorizontalPanel = isHorizontalPanelSide(side);\n return (\n enabled && isHorizontalPanel && isMainPanelWidget && !isMaximizedWidget\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"PreviewHorizontalPanelAlign.js","sourceRoot":"","sources":["../../../../../src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EAAC,IAAI,CAAC,CAAC;IACtD,OAAO,CACL,OAAO,IAAI,iBAAiB,IAAI,iBAAiB,IAAI,CAAC,iBAAiB,CACxE,CAAC;AACJ,CAAC;AAXD,sEAWC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport * as React from \"react\";\nimport { assert } from \"@itwin/core-bentley\";\nimport { HorizontalAlignment } from \"@itwin/core-react\";\nimport { DropdownMenu, MenuItem } from \"@itwin/itwinui-react\";\nimport {\n isHorizontalPanelSide,\n PanelSideContext,\n} from \"../../layout/widget-panels/Panel\";\nimport type {\n HorizontalPanelSide,\n PanelSide,\n} from \"../../layout/widget-panels/PanelTypes\";\nimport { WidgetActionDropdownContext } from \"../widget-action-dropdown/MoreButton\";\nimport { TabBarButton } from \"../../layout/widget/Button\";\nimport { useMainPanelWidgetId } from \"../../layout/widget/usePanelWidgetId\";\nimport { useIsMaximizedWidget } from \"../enable-maximized-widget/useMaximizedWidget\";\n\n/** Default value used when not provided or disabled. */\nconst defaultAlignments = {\n top: HorizontalAlignment.Justify, // eslint-disable-line deprecation/deprecation\n bottom: HorizontalAlignment.Justify, // eslint-disable-line deprecation/deprecation\n};\n\n/** @internal */\nexport const HorizontalPanelAlignContext = React.createContext<{\n enabled: boolean;\n alignments: {\n [side in HorizontalPanelSide]: HorizontalAlignment; // eslint-disable-line deprecation/deprecation\n };\n setAlignment: (\n panel: PanelSide | undefined,\n alignment: HorizontalAlignment // eslint-disable-line deprecation/deprecation\n ) => void;\n}>({\n enabled: false,\n alignments: defaultAlignments,\n setAlignment: () => {},\n});\n\n/** Preview horizontal panel alignment feature provider.\n * @internal\n */\nexport function PreviewHorizontalPanelAlignFeatureProvider({\n enabled,\n children,\n}: {\n enabled?: boolean;\n children?: React.ReactNode;\n}) {\n const [alignments, setAlignments] = React.useState<{\n [x in HorizontalPanelSide]: HorizontalAlignment; // eslint-disable-line deprecation/deprecation\n }>({\n top: HorizontalAlignment.Justify, // eslint-disable-line deprecation/deprecation\n bottom: HorizontalAlignment.Justify, // eslint-disable-line deprecation/deprecation\n });\n const setAlignment = React.useCallback(\n // eslint-disable-next-line deprecation/deprecation\n (panel: PanelSide | undefined, alignment: HorizontalAlignment) => {\n if (!panel || !isHorizontalPanelSide(panel)) return;\n setAlignments((prev) => ({\n ...prev,\n [panel]: alignment,\n }));\n },\n []\n );\n return (\n <HorizontalPanelAlignContext.Provider\n value={{\n enabled: !!enabled,\n alignments: enabled ? alignments : defaultAlignments,\n setAlignment,\n }}\n >\n {children}\n </HorizontalPanelAlignContext.Provider>\n );\n}\n\nfunction SvgSide(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"1rem\"\n height=\"1rem\"\n viewBox=\"0 0 16 16\"\n fill=\"var(--iui-color-icon-muted, currentColor)\"\n {...props}\n >\n <path d=\"M0 2v12h16V2H0Zm11 7H1V3h10v6Zm4 4h-3V3h3v10Z\" />\n </svg>\n );\n}\n\nfunction SvgJustify(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"1rem\"\n height=\"1rem\"\n viewBox=\"0 0 16 16\"\n fill=\"var(--iui-color-icon-muted, currentColor)\"\n {...props}\n >\n <path d=\"M0 2v12h16V2H0Zm4 7H1V3h3v6Zm1 0V3h6v6H5Zm10 0h-3V3h3v6Z\" />\n </svg>\n );\n}\n\nfunction SvgCenter(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"1rem\"\n height=\"1rem\"\n viewBox=\"0 0 16 16\"\n fill=\"var(--iui-color-icon-muted, currentColor)\"\n {...props}\n >\n <path d=\"M0 2v12h16V2H0Zm4 11H1V3h3v10Zm1-4V3h6v6H5Zm10 4h-3V3h3v10Z\" />\n </svg>\n );\n}\n\n// eslint-disable-next-line deprecation/deprecation\nfunction getIcon(side: HorizontalPanelSide, alignment: HorizontalAlignment) {\n const scaleY = side === \"top\" ? \"-1\" : \"1\";\n // eslint-disable-next-line deprecation/deprecation\n if (alignment === HorizontalAlignment.Justify)\n return <SvgJustify transform={`scale(1, ${scaleY})`} />;\n // eslint-disable-next-line deprecation/deprecation\n if (alignment === HorizontalAlignment.Center)\n return <SvgCenter transform={`scale(1, ${scaleY})`} />;\n // eslint-disable-next-line deprecation/deprecation\n const scaleX = alignment === HorizontalAlignment.Left ? \"1\" : \"-1\";\n return <SvgSide transform={`scale(${scaleX}, ${scaleY})`} />;\n}\n\nfunction capitalize(s: string) {\n return s.charAt(0).toUpperCase() + s.slice(1);\n}\n\n/** @internal */\nexport function PreviewHorizontalPanelAlignButton() {\n const side = React.useContext(PanelSideContext);\n assert(!!side);\n assert(isHorizontalPanelSide(side));\n const { alignments, setAlignment } = React.useContext(\n HorizontalPanelAlignContext\n );\n const label = \"Align panel\";\n\n const getMenuItems = (onClose?: () => void) =>\n [\n HorizontalAlignment.Justify, // eslint-disable-line deprecation/deprecation\n HorizontalAlignment.Center, // eslint-disable-line deprecation/deprecation\n HorizontalAlignment.Left, // eslint-disable-line deprecation/deprecation\n HorizontalAlignment.Right, // eslint-disable-line deprecation/deprecation\n ].map((align) => {\n return (\n <MenuItem\n key={align}\n onClick={() => {\n setAlignment(side, align);\n onClose?.();\n }}\n icon={getIcon(side, align)}\n isSelected={alignments[side] === align}\n >\n {capitalize(align)}\n </MenuItem>\n );\n });\n const dropdownContext = React.useContext(WidgetActionDropdownContext);\n if (dropdownContext !== undefined) {\n return (\n <MenuItem\n icon={getIcon(side, alignments[side])}\n subMenuItems={getMenuItems(dropdownContext.onClose)}\n >\n {label}\n </MenuItem>\n );\n }\n return (\n <DropdownMenu menuItems={(close) => getMenuItems(close)}>\n <TabBarButton label={label}>\n {getIcon(side, alignments[side])}\n </TabBarButton>\n </DropdownMenu>\n );\n}\n\n/** @internal */\nexport function useHorizontalPanelAlignButton() {\n const side = React.useContext(PanelSideContext);\n const { enabled } = React.useContext(HorizontalPanelAlignContext);\n const isMainPanelWidget = !!useMainPanelWidgetId();\n const isMaximizedWidget = useIsMaximizedWidget();\n\n if (!side) return false;\n const isHorizontalPanel = isHorizontalPanelSide(side);\n return (\n enabled && isHorizontalPanel && isMainPanelWidget && !isMaximizedWidget\n );\n}\n"]}
|
|
@@ -11,7 +11,7 @@ export interface GroupItemProps {
|
|
|
11
11
|
/** @internal */
|
|
12
12
|
export declare const GroupItem: React.ForwardRefExoticComponent<GroupItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
13
13
|
/** @internal */
|
|
14
|
-
export declare function usePopoverPlacement(): "left-
|
|
14
|
+
export declare function usePopoverPlacement(): "left-end" | "left-start" | "right-end" | "right-start" | "bottom-end" | "bottom-start" | "top-end" | "top-start" | undefined;
|
|
15
15
|
interface GroupMenuItemProps {
|
|
16
16
|
item: ToolbarItem;
|
|
17
17
|
onClose?: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolGroup.d.ts","sourceRoot":"","sources":["../../../../../src/appui-react/preview/new-toolbars/ToolGroup.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,kBAAkB,CAAC;AAE1B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"ToolGroup.d.ts","sourceRoot":"","sources":["../../../../../src/appui-react/preview/new-toolbars/ToolGroup.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,kBAAkB,CAAC;AAE1B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAWrD,UAAU,cAAe,SAAQ,WAAW;IAC1C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAID,gBAAgB;AAChB,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,qBA2E1E;yBA3Ee,SAAS"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolGroup.js","sourceRoot":"","sources":["../../../../../src/appui-react/preview/new-toolbars/ToolGroup.tsx"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAEH,4BAA0B;AAC1B,2CAAoC;AACpC,+BAA+B;AAE/B,wDAA+C;AAC/C,6CAA0C;AAC1C,2CAAwC;AACxC,6CAA0C;AAC1C,qDAAkD;AAClD,+CAA4C;AAC5C,8DAAgE;AAChE,uCAA2C;
|
|
1
|
+
{"version":3,"file":"ToolGroup.js","sourceRoot":"","sources":["../../../../../src/appui-react/preview/new-toolbars/ToolGroup.tsx"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAEH,4BAA0B;AAC1B,2CAAoC;AACpC,+BAA+B;AAE/B,wDAA+C;AAC/C,6CAA0C;AAC1C,2CAAwC;AACxC,6CAA0C;AAC1C,qDAAkD;AAClD,+CAA4C;AAC5C,8DAAgE;AAChE,uCAA2C;AAS3C,gBAAgB;AAChB,SAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAkB;IACzE,MAAM,OAAO,GAAG,KAAK,CAAC,UAAU,CAAC,wBAAc,CAAC,CAAC;IACjD,MAAM,SAAS,GAAG,OAAO,EAAE,SAAS,IAAI,QAAQ,CAAC;IACjD,MAAM,cAAc,GAAG,OAAO,EAAE,cAAc,IAAI,OAAO,CAAC;IAC1D,MAAM,WAAW,GAAG,cAAc,CAAC,SAAS,CAAC,CAAC;IAC9C,MAAM,aAAa,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAEvD,MAAM,aAA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AC,CACtB,CAClB,CACO,CACN,CACP,CAAC;AACJ,CAAC;AA3ED,8BA2EC;AAED,SAAS,CAAC,UAAU,GAAG,uBAAU,CAAC;AAClC,SAAS,CAAC,SAAS,GAAG,qBAAS,CAAC;AAChC,SAAS,CAAC,UAAU,GAAG,uBAAU,CAAC;AAIlC,SAAS,cAAc,CACrB,SAAwD;IAExD,QAAQ,SAAS,EAAE,CAAC;QAClB,KAAK,MAAM,CAAC;QACZ,KAAK,OAAO;YACV,OAAO,UAAU,CAAC;QACpB,KAAK,KAAK,CAAC;QACX,KAAK,QAAQ;YACX,OAAO,YAAY,CAAC;IACxB,CAAC;AACH,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Toolbar\n */\n\nimport \"./ToolGroup.scss\";\nimport classnames from \"classnames\";\nimport * as React from \"react\";\nimport type { CommonProps } from \"@itwin/core-react\";\nimport { Surface } from \"@itwin/itwinui-react\";\nimport { ActionItem } from \"./ActionItem\";\nimport { GroupItem } from \"./GroupItem\";\nimport { CustomItem } from \"./CustomItem\";\nimport { OverflowButton } from \"./OverflowButton\";\nimport { useOverflow } from \"./useOverflow\";\nimport { getChildKey } from \"../../layout/tool-settings/Docked\";\nimport { ToolbarContext } from \"./Toolbar\";\n\n// eslint-disable-next-line deprecation/deprecation\ninterface ToolGroupProps extends CommonProps {\n children?: React.ReactNode;\n}\n\ntype Child = ReturnType<typeof React.Children.toArray>[0];\n\n/** @internal */\nexport function ToolGroup({ children, className, ...props }: ToolGroupProps) {\n const context = React.useContext(ToolbarContext);\n const expandsTo = context?.expandsTo ?? \"bottom\";\n const panelAlignment = context?.panelAlignment ?? \"start\";\n const orientation = getOrientation(expandsTo);\n const childrenArray = React.Children.toArray(children);\n\n const keyToChildMap = childrenArray.reduce<Map<string, Child>>(\n (acc, child, index) => {\n const childKey = getChildKey(child, index);\n acc.set(childKey, child);\n return acc;\n },\n new Map()\n );\n const childrenKeys = Array.from(keyToChildMap.keys());\n const itemRefs = React.useRef<Map<string, Element>>(new Map());\n const overflowRef = React.useRef<HTMLButtonElement>(null);\n\n const getItemSize = React.useCallback((item: string) => {\n const element = itemRefs.current.get(item);\n if (!element) return { width: 0, height: 0 };\n return element.getBoundingClientRect();\n }, []);\n const getOverflowSize = React.useCallback(() => {\n const element = overflowRef.current;\n if (!element) return { width: 0, height: 0 };\n return element.getBoundingClientRect();\n }, []);\n\n const [containerRef, componentRef, visibleCount, renderOverflow] =\n useOverflow(childrenKeys, orientation, getItemSize, getOverflowSize);\n\n const keyToChildEntries = Array.from(keyToChildMap.entries());\n const visibleChildren = keyToChildEntries.slice(0, visibleCount);\n const overflown = keyToChildEntries.slice(visibleCount);\n return (\n <div\n className={classnames(\n \"uifw-toolbar-group-toolGroup_container\",\n `uifw-${orientation}`,\n `uifw-${panelAlignment}`,\n className\n )}\n ref={containerRef}\n >\n <Surface\n className={classnames(\n \"uifw-toolbar-group-toolGroup\",\n `uifw-${orientation}`\n )}\n ref={componentRef}\n {...props}\n >\n {visibleChildren.map(([item, child]) => {\n if (!React.isValidElement<{ ref: React.Ref<Element> }>(child))\n return child;\n return React.cloneElement(child, {\n ref: (el: Element | null) => {\n if (!el) {\n itemRefs.current.delete(item);\n return;\n }\n itemRefs.current.set(item, el);\n },\n });\n })}\n {renderOverflow && (\n <OverflowButton ref={overflowRef}>\n {overflown.map(([_, child]) => child)}\n </OverflowButton>\n )}\n </Surface>\n </div>\n );\n}\n\nToolGroup.ActionItem = ActionItem;\nToolGroup.GroupItem = GroupItem;\nToolGroup.CustomItem = CustomItem;\n\ntype ToolbarContextProps = React.ContextType<typeof ToolbarContext>;\n\nfunction getOrientation(\n expandsTo: NonNullable<ToolbarContextProps>[\"expandsTo\"]\n) {\n switch (expandsTo) {\n case \"left\":\n case \"right\":\n return \"vertical\";\n case \"top\":\n case \"bottom\":\n return \"horizontal\";\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopoutThemeProvider.d.ts","sourceRoot":"","sources":["../../../../../src/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,4BAA4B,CAAC;AACpC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAAE,EAAE,KAAK,CAAC,iBAAiB,CAAC,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"PopoutThemeProvider.d.ts","sourceRoot":"","sources":["../../../../../src/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,4BAA4B,CAAC;AACpC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAAE,EAAE,KAAK,CAAC,iBAAiB,CAAC,EAAE,CAAC,qBA8B5E"}
|
|
@@ -24,7 +24,7 @@ function PopoutThemeProvider({ children }) {
|
|
|
24
24
|
const layoutStore = (0, LayoutStore_1.useLayoutStore)();
|
|
25
25
|
const stateRef = React.useRef(layoutStore.getState());
|
|
26
26
|
React.useEffect(() => layoutStore.subscribe((state) => (stateRef.current = state)), [layoutStore]);
|
|
27
|
-
const
|
|
27
|
+
const portalContainer = (0, usePopoutsStore_1.usePopoutsStore)((state) => {
|
|
28
28
|
if (!tabId)
|
|
29
29
|
return undefined;
|
|
30
30
|
const tabLocation = (0, TabLocation_1.getTabLocation)(stateRef.current, tabId);
|
|
@@ -32,9 +32,13 @@ function PopoutThemeProvider({ children }) {
|
|
|
32
32
|
return undefined;
|
|
33
33
|
if (!(0, TabLocation_1.isPopoutTabLocation)(tabLocation))
|
|
34
34
|
return undefined;
|
|
35
|
-
|
|
35
|
+
const popout = state.popouts[tabLocation.popoutWidgetId];
|
|
36
|
+
if (!popout)
|
|
37
|
+
return undefined;
|
|
38
|
+
const container = popout.ownerDocument.querySelector(".uifw-childwindow-internalChildWindowManager_portalContainer");
|
|
39
|
+
return container ?? undefined;
|
|
36
40
|
});
|
|
37
|
-
return (React.createElement(itwinui_react_1.ThemeProvider, { portalContainer:
|
|
41
|
+
return (React.createElement(itwinui_react_1.ThemeProvider, { portalContainer: portalContainer, className: "uifw-preview-reparentPopoutWidgets-popoutThemeProvider" }, children));
|
|
38
42
|
}
|
|
39
43
|
exports.PopoutThemeProvider = PopoutThemeProvider;
|
|
40
44
|
//# sourceMappingURL=PopoutThemeProvider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopoutThemeProvider.js","sourceRoot":"","sources":["../../../../../src/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.tsx"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAEH,sCAAoC;AACpC,+BAA+B;AAC/B,wDAAqD;AACrD,yEAAmE;AACnE,+DAA+D;AAC/D,gEAGwC;AACxC,uDAAoD;AAEpD;;;GAGG;AACH,SAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAA+B;IAC3E,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAAC,8BAAY,CAAC,CAAC;IAC7C,MAAM,WAAW,GAAG,IAAA,4BAAc,GAAE,CAAC;IACrC,MAAM,QAAQ,GAAG,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;IACtD,KAAK,CAAC,SAAS,CACb,GAAG,EAAE,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,EAClE,CAAC,WAAW,CAAC,CACd,CAAC;IACF,MAAM,eAAe,GAAG,IAAA,iCAAe,EAAC,CAAC,KAAK,EAAE,EAAE;QAChD,IAAI,CAAC,KAAK;YAAE,OAAO,SAAS,CAAC;QAC7B,MAAM,WAAW,GAAG,IAAA,4BAAc,EAAC,QAAQ,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;QAC5D,IAAI,CAAC,WAAW;YAAE,OAAO,SAAS,CAAC;QACnC,IAAI,CAAC,IAAA,iCAAmB,EAAC,WAAW,CAAC;YAAE,OAAO,SAAS,CAAC;QACxD,
|
|
1
|
+
{"version":3,"file":"PopoutThemeProvider.js","sourceRoot":"","sources":["../../../../../src/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.tsx"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAEH,sCAAoC;AACpC,+BAA+B;AAC/B,wDAAqD;AACrD,yEAAmE;AACnE,+DAA+D;AAC/D,gEAGwC;AACxC,uDAAoD;AAEpD;;;GAGG;AACH,SAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAA+B;IAC3E,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAAC,8BAAY,CAAC,CAAC;IAC7C,MAAM,WAAW,GAAG,IAAA,4BAAc,GAAE,CAAC;IACrC,MAAM,QAAQ,GAAG,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;IACtD,KAAK,CAAC,SAAS,CACb,GAAG,EAAE,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,EAClE,CAAC,WAAW,CAAC,CACd,CAAC;IACF,MAAM,eAAe,GAAG,IAAA,iCAAe,EAAC,CAAC,KAAK,EAAE,EAAE;QAChD,IAAI,CAAC,KAAK;YAAE,OAAO,SAAS,CAAC;QAC7B,MAAM,WAAW,GAAG,IAAA,4BAAc,EAAC,QAAQ,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;QAC5D,IAAI,CAAC,WAAW;YAAE,OAAO,SAAS,CAAC;QACnC,IAAI,CAAC,IAAA,iCAAmB,EAAC,WAAW,CAAC;YAAE,OAAO,SAAS,CAAC;QACxD,MAAM,MAAM,GAAG,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;QACzD,IAAI,CAAC,MAAM;YAAE,OAAO,SAAS,CAAC;QAE9B,MAAM,SAAS,GAAG,MAAM,CAAC,aAAa,CAAC,aAAa,CAClD,8DAA8D,CAC/D,CAAC;QACF,OAAO,SAAS,IAAI,SAAS,CAAC;IAChC,CAAC,CAAC,CAAC;IAEH,OAAO,CACL,oBAAC,6BAAa,IACZ,eAAe,EAAE,eAAe,EAChC,SAAS,EAAC,wDAAwD,IAEjE,QAAQ,CACK,CACjB,CAAC;AACJ,CAAC;AA9BD,kDA8BC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport \"./PopoutThemeProvider.scss\";\nimport * as React from \"react\";\nimport { ThemeProvider } from \"@itwin/itwinui-react\";\nimport { TabIdContext } from \"../../layout/widget/ContentRenderer\";\nimport { useLayoutStore } from \"../../layout/base/LayoutStore\";\nimport {\n getTabLocation,\n isPopoutTabLocation,\n} from \"../../layout/state/TabLocation\";\nimport { usePopoutsStore } from \"./usePopoutsStore\";\n\n/** Theme provider is required to open floating/popover elements in a popout widget window (instead of a main window).\n * @note iTwinUI v2 `ThemeProvider` is not used because of https://github.com/iTwin/appui/issues/612\n * @internal\n */\nexport function PopoutThemeProvider({ children }: React.PropsWithChildren<{}>) {\n const tabId = React.useContext(TabIdContext);\n const layoutStore = useLayoutStore();\n const stateRef = React.useRef(layoutStore.getState());\n React.useEffect(\n () => layoutStore.subscribe((state) => (stateRef.current = state)),\n [layoutStore]\n );\n const portalContainer = usePopoutsStore((state) => {\n if (!tabId) return undefined;\n const tabLocation = getTabLocation(stateRef.current, tabId);\n if (!tabLocation) return undefined;\n if (!isPopoutTabLocation(tabLocation)) return undefined;\n const popout = state.popouts[tabLocation.popoutWidgetId];\n if (!popout) return undefined;\n\n const container = popout.ownerDocument.querySelector<HTMLDivElement>(\n \".uifw-childwindow-internalChildWindowManager_portalContainer\"\n );\n return container ?? undefined;\n });\n\n return (\n <ThemeProvider\n portalContainer={portalContainer}\n className=\"uifw-preview-reparentPopoutWidgets-popoutThemeProvider\"\n >\n {children}\n </ThemeProvider>\n );\n}\n"]}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module State
|
|
3
|
+
*/
|
|
4
|
+
import type { ActionsUnion } from "./redux-ts";
|
|
5
|
+
/** Action Ids used by Redux and to send sync UI components. Typically used to refresh visibility or enable state of control.
|
|
6
|
+
* Since these are also used as sync ids they should be in lowercase.
|
|
7
|
+
* @note This is used by sync UI event APIs.
|
|
8
|
+
* @public
|
|
9
|
+
* @deprecated in 4.15.0. Use your preferred state management library instead.
|
|
10
|
+
*/
|
|
11
|
+
export declare enum ConfigurableUiActionId {
|
|
12
|
+
SetSnapMode = "configurableui:set_snapmode",
|
|
13
|
+
SetTheme = "configurableui:set_theme",
|
|
14
|
+
SetToolPrompt = "configurableui:set_toolprompt",
|
|
15
|
+
SetWidgetOpacity = "configurableui:set_widget_opacity",
|
|
16
|
+
SetDragInteraction = "configurableui:set-drag-interaction",
|
|
17
|
+
SetShowWidgetIcon = "configurableui:set-show-widget-icon",
|
|
18
|
+
AutoCollapseUnpinnedPanels = "configurableui:set-auto-collapse-unpinned-panels",
|
|
19
|
+
SetViewOverlayDisplay = "configurableui:set-view-overlay-display",
|
|
20
|
+
AnimateToolSettings = "configurableui:set-animate-tool-settings",
|
|
21
|
+
UseToolAsToolSettingsLabel = "configurableui:set-use-tool-as-tool-settings-label",
|
|
22
|
+
SetToolbarOpacity = "configurableui:set-toolbar-opacity"
|
|
23
|
+
}
|
|
24
|
+
/** The portion of state managed by the ConfigurableUiReducer.
|
|
25
|
+
* @public
|
|
26
|
+
* @deprecated in 4.15.0. Use your preferred state management library instead.
|
|
27
|
+
*/
|
|
28
|
+
export interface ConfigurableUiState {
|
|
29
|
+
/** @deprecated in 4.15.0. Use `snapMode` prop of {@link SnapModeField} instead. */
|
|
30
|
+
snapMode: number;
|
|
31
|
+
/** @deprecated in 4.15.0. Not used by AppUI components. */
|
|
32
|
+
toolPrompt: string;
|
|
33
|
+
/** @deprecated in 4.15.0. Use `theme` prop of {@link ThemeManager} instead. */
|
|
34
|
+
theme: string;
|
|
35
|
+
/** @deprecated in 4.15.0. Use `widgetOpacity` prop of {@link ConfigurableUiContent} instead. */
|
|
36
|
+
widgetOpacity: number;
|
|
37
|
+
/** @deprecated in 4.15.0. Use `useDragInteraction` prop of {@link Toolbar} or {@link ToolbarDragInteractionContext}. */
|
|
38
|
+
useDragInteraction: boolean;
|
|
39
|
+
/** @deprecated in 4.15.0. Use `widgetIcon` prop of {@link ConfigurableUiContent} instead. */
|
|
40
|
+
showWidgetIcon: boolean;
|
|
41
|
+
/** @deprecated in 4.15.0. Use `collapsePanels` prop of {@link ConfigurableUiContent} instead. */
|
|
42
|
+
autoCollapseUnpinnedPanels: boolean;
|
|
43
|
+
/** @deprecated in 4.15.0. Use `viewOverlay` prop of {@link ConfigurableUiContent} instead. */
|
|
44
|
+
viewOverlayDisplay: boolean;
|
|
45
|
+
/** @deprecated in 4.15.0. Use `animateToolSettings` prop of {@link ConfigurableUiContent} instead. */
|
|
46
|
+
animateToolSettings: boolean;
|
|
47
|
+
/** @deprecated in 4.15.0. Use `animateToolSettings` prop of {@link ConfigurableUiContent} instead. */
|
|
48
|
+
useToolAsToolSettingsLabel: boolean;
|
|
49
|
+
/** @deprecated in 4.15.0. Use `toolbarOpacity` prop of {@link ConfigurableUiContent}. */
|
|
50
|
+
toolbarOpacity: number;
|
|
51
|
+
}
|
|
52
|
+
/** An object with a function that creates each ConfigurableUiReducer that can be handled by our reducer.
|
|
53
|
+
* @public
|
|
54
|
+
* @deprecated in 4.15.0. Use your preferred state management library instead.
|
|
55
|
+
*/
|
|
56
|
+
export declare const ConfigurableUiActions: {
|
|
57
|
+
setSnapMode: (snapMode: number) => import("./redux-ts").ActionWithPayload<ConfigurableUiActionId.SetSnapMode, number>;
|
|
58
|
+
setTheme: (theme: string) => import("./redux-ts").ActionWithPayload<ConfigurableUiActionId.SetTheme, string>;
|
|
59
|
+
setToolPrompt: (toolPrompt: string) => import("./redux-ts").ActionWithPayload<ConfigurableUiActionId.SetToolPrompt, string>;
|
|
60
|
+
setWidgetOpacity: (opacity: number) => import("./redux-ts").ActionWithPayload<ConfigurableUiActionId.SetWidgetOpacity, number>;
|
|
61
|
+
setDragInteraction: (dragInteraction: boolean) => import("./redux-ts").ActionWithPayload<ConfigurableUiActionId.SetDragInteraction, boolean>;
|
|
62
|
+
setShowWidgetIcon: (showWidgetIcon: boolean) => import("./redux-ts").ActionWithPayload<ConfigurableUiActionId.SetShowWidgetIcon, boolean>;
|
|
63
|
+
setAutoCollapseUnpinnedPanels: (autoCollapse: boolean) => import("./redux-ts").ActionWithPayload<ConfigurableUiActionId.AutoCollapseUnpinnedPanels, boolean>;
|
|
64
|
+
setViewOverlayDisplay: (displayViewOverlay: boolean) => import("./redux-ts").ActionWithPayload<ConfigurableUiActionId.SetViewOverlayDisplay, boolean>;
|
|
65
|
+
setAnimateToolSettings: (animateToolSettings: boolean) => import("./redux-ts").ActionWithPayload<ConfigurableUiActionId.AnimateToolSettings, boolean>;
|
|
66
|
+
setUseToolAsToolSettingsLabel: (useToolAsToolSettingsLabel: boolean) => import("./redux-ts").ActionWithPayload<ConfigurableUiActionId.UseToolAsToolSettingsLabel, boolean>;
|
|
67
|
+
setToolbarOpacity: (opacity: number) => import("./redux-ts").ActionWithPayload<ConfigurableUiActionId.SetToolbarOpacity, number>;
|
|
68
|
+
};
|
|
69
|
+
/** Union of ConfigurableUi Redux actions
|
|
70
|
+
* @public
|
|
71
|
+
* @deprecated in 4.15.0. Use your preferred state management library instead.
|
|
72
|
+
*/
|
|
73
|
+
export type ConfigurableUiActionsUnion = ActionsUnion<typeof ConfigurableUiActions>;
|
|
74
|
+
/** Handles actions to update ConfigurableUiState.
|
|
75
|
+
* @public
|
|
76
|
+
* @deprecated in 4.15.0. Use your preferred state management library instead.
|
|
77
|
+
*/
|
|
78
|
+
export declare function ConfigurableUiReducer(state: ConfigurableUiState | undefined, action: ConfigurableUiActionsUnion): ConfigurableUiState;
|
|
79
|
+
//# sourceMappingURL=ConfigurableUiState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfigurableUiState.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/redux/ConfigurableUiState.ts"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAgB/C;;;;;GAKG;AACH,oBAAY,sBAAsB;IAChC,WAAW,gCAAgC;IAC3C,QAAQ,6BAA6B;IACrC,aAAa,kCAAkC;IAC/C,gBAAgB,sCAAsC;IACtD,kBAAkB,wCAAwC;IAC1D,iBAAiB,wCAAwC;IACzD,0BAA0B,qDAAqD;IAC/E,qBAAqB,4CAA4C;IACjE,mBAAmB,6CAA6C;IAChE,0BAA0B,uDAAuD;IACjF,iBAAiB,uCAAuC;CACzD;AAED;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,mFAAmF;IACnF,QAAQ,EAAE,MAAM,CAAC;IACjB,2DAA2D;IAC3D,UAAU,EAAE,MAAM,CAAC;IACnB,+EAA+E;IAC/E,KAAK,EAAE,MAAM,CAAC;IACd,gGAAgG;IAChG,aAAa,EAAE,MAAM,CAAC;IACtB,wHAAwH;IACxH,kBAAkB,EAAE,OAAO,CAAC;IAC5B,6FAA6F;IAC7F,cAAc,EAAE,OAAO,CAAC;IACxB,iGAAiG;IACjG,0BAA0B,EAAE,OAAO,CAAC;IACpC,8FAA8F;IAC9F,kBAAkB,EAAE,OAAO,CAAC;IAC5B,sGAAsG;IACtG,mBAAmB,EAAE,OAAO,CAAC;IAC7B,sGAAsG;IACtG,0BAA0B,EAAE,OAAO,CAAC;IACpC,yFAAyF;IACzF,cAAc,EAAE,MAAM,CAAC;CACxB;AAiBD;;;GAGG;AACH,eAAO,MAAM,qBAAqB;4BACR,MAAM;sBAOpB,MAAM;gCACY,MAAM;gCAEN,MAAM;0CAEI,OAAO;wCAET,OAAO;kDAEG,OAAO;gDAKT,OAAO;kDAKL,OAAO;gEAKO,OAAO;iCAKtC,MAAM;CAEpC,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,0BAA0B,GAAG,YAAY,CACnD,OAAO,qBAAqB,CAC7B,CAAC;AAEF;;;GAGG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,iCAAkD,EACvD,MAAM,EAAE,0BAA0B,GACjC,mBAAmB,CAuCrB"}
|
|
@@ -9,12 +9,14 @@
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.ConfigurableUiReducer = exports.ConfigurableUiActions = exports.ConfigurableUiActionId = void 0;
|
|
11
11
|
const core_frontend_1 = require("@itwin/core-frontend");
|
|
12
|
-
const redux_ts_1 = require("
|
|
13
|
-
const
|
|
14
|
-
|
|
12
|
+
const redux_ts_1 = require("./redux-ts");
|
|
13
|
+
const ThemeId_1 = require("../theme/ThemeId");
|
|
14
|
+
/* eslint-disable deprecation/deprecation */
|
|
15
15
|
/** Action Ids used by Redux and to send sync UI components. Typically used to refresh visibility or enable state of control.
|
|
16
16
|
* Since these are also used as sync ids they should be in lowercase.
|
|
17
|
+
* @note This is used by sync UI event APIs.
|
|
17
18
|
* @public
|
|
19
|
+
* @deprecated in 4.15.0. Use your preferred state management library instead.
|
|
18
20
|
*/
|
|
19
21
|
var ConfigurableUiActionId;
|
|
20
22
|
(function (ConfigurableUiActionId) {
|
|
@@ -30,22 +32,23 @@ var ConfigurableUiActionId;
|
|
|
30
32
|
ConfigurableUiActionId["UseToolAsToolSettingsLabel"] = "configurableui:set-use-tool-as-tool-settings-label";
|
|
31
33
|
ConfigurableUiActionId["SetToolbarOpacity"] = "configurableui:set-toolbar-opacity";
|
|
32
34
|
})(ConfigurableUiActionId || (exports.ConfigurableUiActionId = ConfigurableUiActionId = {}));
|
|
33
|
-
/**
|
|
34
|
-
const
|
|
35
|
+
/** Used on first call of ConfigurableUiReducer. */
|
|
36
|
+
const initialConfigurableUiState = {
|
|
35
37
|
snapMode: core_frontend_1.SnapMode.NearestKeypoint,
|
|
36
38
|
toolPrompt: "",
|
|
37
|
-
theme:
|
|
38
|
-
widgetOpacity:
|
|
39
|
+
theme: ThemeId_1.SYSTEM_PREFERRED_COLOR_THEME,
|
|
40
|
+
widgetOpacity: ThemeId_1.WIDGET_OPACITY_DEFAULT,
|
|
39
41
|
useDragInteraction: false,
|
|
40
42
|
showWidgetIcon: true,
|
|
41
43
|
autoCollapseUnpinnedPanels: false,
|
|
42
44
|
viewOverlayDisplay: true,
|
|
43
45
|
animateToolSettings: false,
|
|
44
46
|
useToolAsToolSettingsLabel: false,
|
|
45
|
-
toolbarOpacity:
|
|
47
|
+
toolbarOpacity: ThemeId_1.TOOLBAR_OPACITY_DEFAULT,
|
|
46
48
|
};
|
|
47
49
|
/** An object with a function that creates each ConfigurableUiReducer that can be handled by our reducer.
|
|
48
50
|
* @public
|
|
51
|
+
* @deprecated in 4.15.0. Use your preferred state management library instead.
|
|
49
52
|
*/
|
|
50
53
|
exports.ConfigurableUiActions = {
|
|
51
54
|
setSnapMode: (snapMode) => (0, redux_ts_1.createAction)(ConfigurableUiActionId.SetSnapMode, snapMode),
|
|
@@ -67,8 +70,9 @@ exports.ConfigurableUiActions = {
|
|
|
67
70
|
};
|
|
68
71
|
/** Handles actions to update ConfigurableUiState.
|
|
69
72
|
* @public
|
|
73
|
+
* @deprecated in 4.15.0. Use your preferred state management library instead.
|
|
70
74
|
*/
|
|
71
|
-
function ConfigurableUiReducer(state =
|
|
75
|
+
function ConfigurableUiReducer(state = initialConfigurableUiState, action) {
|
|
72
76
|
const outState = state;
|
|
73
77
|
switch (action.type) {
|
|
74
78
|
case ConfigurableUiActionId.SetSnapMode: {
|
|
@@ -108,4 +112,4 @@ function ConfigurableUiReducer(state = initialState, action) {
|
|
|
108
112
|
return outState;
|
|
109
113
|
}
|
|
110
114
|
exports.ConfigurableUiReducer = ConfigurableUiReducer;
|
|
111
|
-
//# sourceMappingURL=
|
|
115
|
+
//# sourceMappingURL=ConfigurableUiState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfigurableUiState.js","sourceRoot":"","sources":["../../../../src/appui-react/redux/ConfigurableUiState.ts"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAEH,wDAAgD;AAEhD,yCAA0C;AAC1C,8CAK0B;AAO1B,4CAA4C;AAE5C;;;;;GAKG;AACH,IAAY,sBAYX;AAZD,WAAY,sBAAsB;IAChC,qEAA2C,CAAA;IAC3C,+DAAqC,CAAA;IACrC,yEAA+C,CAAA;IAC/C,gFAAsD,CAAA;IACtD,oFAA0D,CAAA;IAC1D,mFAAyD,CAAA;IACzD,yGAA+E,CAAA;IAC/E,2FAAiE,CAAA;IACjE,0FAAgE,CAAA;IAChE,2GAAiF,CAAA;IACjF,kFAAwD,CAAA;AAC1D,CAAC,EAZW,sBAAsB,sCAAtB,sBAAsB,QAYjC;AA+BD,mDAAmD;AACnD,MAAM,0BAA0B,GAAwB;IACtD,QAAQ,EAAE,wBAAQ,CAAC,eAAyB;IAC5C,UAAU,EAAE,EAAE;IACd,KAAK,EAAE,sCAA4B;IACnC,aAAa,EAAE,gCAAsB;IACrC,kBAAkB,EAAE,KAAK;IACzB,cAAc,EAAE,IAAI;IACpB,0BAA0B,EAAE,KAAK;IACjC,kBAAkB,EAAE,IAAI;IACxB,mBAAmB,EAAE,KAAK;IAC1B,0BAA0B,EAAE,KAAK;IACjC,cAAc,EAAE,iCAAuB;CACxC,CAAC;AAEF;;;GAG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,CAAC,qBAAqB,CAAC,CAAC,CAAC;YAClD,OAAO,EAAE,GAAG,KAAK,EAAE,kBAAkB,EAAE,MAAM,CAAC,OAAO,EAAE,CAAC;QAC1D,CAAC;QACD,KAAK,sBAAsB,CAAC,mBAAmB,CAAC,CAAC,CAAC;YAChD,OAAO,EAAE,GAAG,KAAK,EAAE,mBAAmB,EAAE,MAAM,CAAC,OAAO,EAAE,CAAC;QAC3D,CAAC;QACD,KAAK,sBAAsB,CAAC,0BAA0B,CAAC,CAAC,CAAC;YACvD,OAAO,EAAE,GAAG,KAAK,EAAE,0BAA0B,EAAE,MAAM,CAAC,OAAO,EAAE,CAAC;QAClE,CAAC;QACD,KAAK,sBAAsB,CAAC,iBAAiB,CAAC,CAAC,CAAC;YAC9C,OAAO,EAAE,GAAG,KAAK,EAAE,cAAc,EAAE,MAAM,CAAC,OAAO,EAAE,CAAC;QACtD,CAAC;IACH,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AA1CD,sDA0CC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module State\n */\n\nimport { SnapMode } from \"@itwin/core-frontend\";\nimport type { ActionsUnion } from \"./redux-ts\";\nimport { createAction } from \"./redux-ts\";\nimport {\n SYSTEM_PREFERRED_COLOR_THEME,\n type ThemeId,\n TOOLBAR_OPACITY_DEFAULT,\n WIDGET_OPACITY_DEFAULT,\n} from \"../theme/ThemeId\";\nimport type { ConfigurableUiContent } from \"../configurableui/ConfigurableUiContent\";\nimport type { Toolbar } from \"../toolbar/Toolbar\";\nimport type { ThemeManager } from \"../theme/ThemeManager\";\nimport type { SnapModeField } from \"../statusfields/SnapMode\";\nimport type { ToolbarDragInteractionContext } from \"../toolbar/DragInteraction\";\n\n/* eslint-disable deprecation/deprecation */\n\n/** Action Ids used by Redux and to send sync UI components. Typically used to refresh visibility or enable state of control.\n * Since these are also used as sync ids they should be in lowercase.\n * @note This is used by sync UI event APIs.\n * @public\n * @deprecated in 4.15.0. Use your preferred state management library instead.\n */\nexport enum ConfigurableUiActionId {\n SetSnapMode = \"configurableui:set_snapmode\",\n SetTheme = \"configurableui:set_theme\",\n SetToolPrompt = \"configurableui:set_toolprompt\",\n SetWidgetOpacity = \"configurableui:set_widget_opacity\",\n SetDragInteraction = \"configurableui:set-drag-interaction\",\n SetShowWidgetIcon = \"configurableui:set-show-widget-icon\",\n AutoCollapseUnpinnedPanels = \"configurableui:set-auto-collapse-unpinned-panels\",\n SetViewOverlayDisplay = \"configurableui:set-view-overlay-display\",\n AnimateToolSettings = \"configurableui:set-animate-tool-settings\",\n UseToolAsToolSettingsLabel = \"configurableui:set-use-tool-as-tool-settings-label\",\n SetToolbarOpacity = \"configurableui:set-toolbar-opacity\",\n}\n\n/** The portion of state managed by the ConfigurableUiReducer.\n * @public\n * @deprecated in 4.15.0. Use your preferred state management library instead.\n */\nexport interface ConfigurableUiState {\n /** @deprecated in 4.15.0. Use `snapMode` prop of {@link SnapModeField} instead. */\n snapMode: number;\n /** @deprecated in 4.15.0. Not used by AppUI components. */\n toolPrompt: string;\n /** @deprecated in 4.15.0. Use `theme` prop of {@link ThemeManager} instead. */\n theme: string;\n /** @deprecated in 4.15.0. Use `widgetOpacity` prop of {@link ConfigurableUiContent} instead. */\n widgetOpacity: number;\n /** @deprecated in 4.15.0. Use `useDragInteraction` prop of {@link Toolbar} or {@link ToolbarDragInteractionContext}. */\n useDragInteraction: boolean;\n /** @deprecated in 4.15.0. Use `widgetIcon` prop of {@link ConfigurableUiContent} instead. */\n showWidgetIcon: boolean;\n /** @deprecated in 4.15.0. Use `collapsePanels` prop of {@link ConfigurableUiContent} instead. */\n autoCollapseUnpinnedPanels: boolean;\n /** @deprecated in 4.15.0. Use `viewOverlay` prop of {@link ConfigurableUiContent} instead. */\n viewOverlayDisplay: boolean;\n /** @deprecated in 4.15.0. Use `animateToolSettings` prop of {@link ConfigurableUiContent} instead. */\n animateToolSettings: boolean;\n /** @deprecated in 4.15.0. Use `animateToolSettings` prop of {@link ConfigurableUiContent} instead. */\n useToolAsToolSettingsLabel: boolean;\n /** @deprecated in 4.15.0. Use `toolbarOpacity` prop of {@link ConfigurableUiContent}. */\n toolbarOpacity: number;\n}\n\n/** Used on first call of ConfigurableUiReducer. */\nconst initialConfigurableUiState: ConfigurableUiState = {\n snapMode: SnapMode.NearestKeypoint as number,\n toolPrompt: \"\",\n theme: SYSTEM_PREFERRED_COLOR_THEME,\n widgetOpacity: WIDGET_OPACITY_DEFAULT,\n useDragInteraction: false,\n showWidgetIcon: true,\n autoCollapseUnpinnedPanels: false,\n viewOverlayDisplay: true,\n animateToolSettings: false,\n useToolAsToolSettingsLabel: false,\n toolbarOpacity: TOOLBAR_OPACITY_DEFAULT,\n};\n\n/** An object with a function that creates each ConfigurableUiReducer that can be handled by our reducer.\n * @public\n * @deprecated in 4.15.0. Use your preferred state management library instead.\n */\nexport const ConfigurableUiActions = {\n setSnapMode: (snapMode: number) =>\n createAction(ConfigurableUiActionId.SetSnapMode, snapMode),\n setTheme:\n /**\n * Use `UiFramework.setColorTheme` instead which is conveniently typed with available theme union.\n * @param theme ThemeId\n */\n (theme: string) => createAction(ConfigurableUiActionId.SetTheme, theme),\n setToolPrompt: (toolPrompt: string) =>\n createAction(ConfigurableUiActionId.SetToolPrompt, toolPrompt),\n setWidgetOpacity: (opacity: number) =>\n createAction(ConfigurableUiActionId.SetWidgetOpacity, opacity),\n setDragInteraction: (dragInteraction: boolean) =>\n createAction(ConfigurableUiActionId.SetDragInteraction, dragInteraction),\n setShowWidgetIcon: (showWidgetIcon: boolean) =>\n createAction(ConfigurableUiActionId.SetShowWidgetIcon, showWidgetIcon),\n setAutoCollapseUnpinnedPanels: (autoCollapse: boolean) =>\n createAction(\n ConfigurableUiActionId.AutoCollapseUnpinnedPanels,\n autoCollapse\n ),\n setViewOverlayDisplay: (displayViewOverlay: boolean) =>\n createAction(\n ConfigurableUiActionId.SetViewOverlayDisplay,\n displayViewOverlay\n ),\n setAnimateToolSettings: (animateToolSettings: boolean) =>\n createAction(\n ConfigurableUiActionId.AnimateToolSettings,\n animateToolSettings\n ),\n setUseToolAsToolSettingsLabel: (useToolAsToolSettingsLabel: boolean) =>\n createAction(\n ConfigurableUiActionId.UseToolAsToolSettingsLabel,\n useToolAsToolSettingsLabel\n ),\n setToolbarOpacity: (opacity: number) =>\n createAction(ConfigurableUiActionId.SetToolbarOpacity, opacity),\n};\n\n/** Union of ConfigurableUi Redux actions\n * @public\n * @deprecated in 4.15.0. Use your preferred state management library instead.\n */\nexport type ConfigurableUiActionsUnion = ActionsUnion<\n typeof ConfigurableUiActions\n>;\n\n/** Handles actions to update ConfigurableUiState.\n * @public\n * @deprecated in 4.15.0. Use your preferred state management library instead.\n */\nexport function ConfigurableUiReducer(\n state: ConfigurableUiState = initialConfigurableUiState,\n action: ConfigurableUiActionsUnion\n): ConfigurableUiState {\n const outState = state;\n\n switch (action.type) {\n case ConfigurableUiActionId.SetSnapMode: {\n return { ...state, snapMode: action.payload };\n }\n case ConfigurableUiActionId.SetToolPrompt: {\n return { ...state, toolPrompt: action.payload };\n }\n case ConfigurableUiActionId.SetTheme: {\n return { ...state, theme: action.payload as ThemeId }; // Need to cast because of the (string & {}) trick.\n }\n case ConfigurableUiActionId.SetWidgetOpacity: {\n return { ...state, widgetOpacity: action.payload };\n }\n case ConfigurableUiActionId.SetDragInteraction: {\n return { ...state, useDragInteraction: action.payload };\n }\n case ConfigurableUiActionId.SetShowWidgetIcon: {\n return { ...state, showWidgetIcon: action.payload };\n }\n case ConfigurableUiActionId.AutoCollapseUnpinnedPanels: {\n return { ...state, autoCollapseUnpinnedPanels: action.payload };\n }\n case ConfigurableUiActionId.SetViewOverlayDisplay: {\n return { ...state, viewOverlayDisplay: action.payload };\n }\n case ConfigurableUiActionId.AnimateToolSettings: {\n return { ...state, animateToolSettings: action.payload };\n }\n case ConfigurableUiActionId.UseToolAsToolSettingsLabel: {\n return { ...state, useToolAsToolSettingsLabel: action.payload };\n }\n case ConfigurableUiActionId.SetToolbarOpacity: {\n return { ...state, toolbarOpacity: action.payload };\n }\n }\n return outState;\n}\n"]}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/** @packageDocumentation
|
|
2
2
|
* @module State
|
|
3
3
|
*/
|
|
4
|
-
import type { ConfigurableUiState } from "
|
|
5
|
-
import { ConfigurableUiReducer } from "../configurableui/state";
|
|
4
|
+
import type { ConfigurableUiState } from "./ConfigurableUiState";
|
|
6
5
|
import type { SessionState } from "./SessionState";
|
|
7
|
-
import { SessionStateReducer } from "./SessionState";
|
|
8
6
|
/** Interface combining all the Framework state interfaces.
|
|
9
7
|
* @public
|
|
8
|
+
* @deprecated in 4.15.0. Use your preferred state management library instead.
|
|
10
9
|
*/
|
|
11
10
|
export interface FrameworkState {
|
|
12
11
|
configurableUiState: ConfigurableUiState;
|
|
@@ -14,12 +13,10 @@ export interface FrameworkState {
|
|
|
14
13
|
}
|
|
15
14
|
/** Framework reducer that combines the [[ConfigurableUiReducer]] and [[SessionStateReducer]].
|
|
16
15
|
* @public
|
|
16
|
+
* @deprecated in 4.15.0. Use your preferred state management library instead.
|
|
17
17
|
*/
|
|
18
|
-
export declare const FrameworkReducer: (
|
|
19
|
-
configurableUiState:
|
|
20
|
-
sessionState:
|
|
21
|
-
}>,
|
|
22
|
-
configurableUiState: typeof ConfigurableUiReducer;
|
|
23
|
-
sessionState: typeof SessionStateReducer;
|
|
24
|
-
}>;
|
|
18
|
+
export declare const FrameworkReducer: import("redux").Reducer<import("redux").CombinedState<{
|
|
19
|
+
configurableUiState: ConfigurableUiState;
|
|
20
|
+
sessionState: never;
|
|
21
|
+
}>, import("./ConfigurableUiState").ConfigurableUiActionsUnion | import("./SessionState").SessionStateActionsUnion>;
|
|
25
22
|
//# sourceMappingURL=FrameworkState.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FrameworkState.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/redux/FrameworkState.ts"],"names":[],"mappings":"AAIA;;GAEG;
|
|
1
|
+
{"version":3,"file":"FrameworkState.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/redux/FrameworkState.ts"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAKnD;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,YAAY,EAAE,YAAY,CAAC;CAC5B;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;mHAG3B,CAAC"}
|
|
@@ -8,14 +8,15 @@
|
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.FrameworkReducer = void 0;
|
|
11
|
-
const
|
|
12
|
-
const
|
|
11
|
+
const redux_1 = require("redux");
|
|
12
|
+
const ConfigurableUiState_1 = require("./ConfigurableUiState");
|
|
13
13
|
const SessionState_1 = require("./SessionState");
|
|
14
14
|
/** Framework reducer that combines the [[ConfigurableUiReducer]] and [[SessionStateReducer]].
|
|
15
15
|
* @public
|
|
16
|
+
* @deprecated in 4.15.0. Use your preferred state management library instead.
|
|
16
17
|
*/
|
|
17
|
-
exports.FrameworkReducer = (0,
|
|
18
|
-
configurableUiState:
|
|
18
|
+
exports.FrameworkReducer = (0, redux_1.combineReducers)({
|
|
19
|
+
configurableUiState: ConfigurableUiState_1.ConfigurableUiReducer,
|
|
19
20
|
sessionState: SessionState_1.SessionStateReducer,
|
|
20
21
|
});
|
|
21
22
|
//# sourceMappingURL=FrameworkState.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FrameworkState.js","sourceRoot":"","sources":["../../../../src/appui-react/redux/FrameworkState.ts"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;
|
|
1
|
+
{"version":3,"file":"FrameworkState.js","sourceRoot":"","sources":["../../../../src/appui-react/redux/FrameworkState.ts"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAEH,iCAAwC;AAExC,+DAA8D;AAE9D,iDAAqD;AAarD;;;GAGG;AACU,QAAA,gBAAgB,GAAG,IAAA,uBAAe,EAAC;IAC9C,mBAAmB,EAAE,2CAAqB;IAC1C,YAAY,EAAE,kCAAmB;CAClC,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module State\n */\n\nimport { combineReducers } from \"redux\";\nimport type { ConfigurableUiState } from \"./ConfigurableUiState\";\nimport { ConfigurableUiReducer } from \"./ConfigurableUiState\";\nimport type { SessionState } from \"./SessionState\";\nimport { SessionStateReducer } from \"./SessionState\";\n\n/* eslint-disable deprecation/deprecation */\n\n/** Interface combining all the Framework state interfaces.\n * @public\n * @deprecated in 4.15.0. Use your preferred state management library instead.\n */\nexport interface FrameworkState {\n configurableUiState: ConfigurableUiState;\n sessionState: SessionState;\n}\n\n/** Framework reducer that combines the [[ConfigurableUiReducer]] and [[SessionStateReducer]].\n * @public\n * @deprecated in 4.15.0. Use your preferred state management library instead.\n */\nexport const FrameworkReducer = combineReducers({\n configurableUiState: ConfigurableUiReducer,\n sessionState: SessionStateReducer,\n});\n"]}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/** NameToReducerMap used by Reducer Registry
|
|
5
5
|
* @public
|
|
6
|
+
* @deprecated in 4.15.0. Use your preferred state management library instead.
|
|
6
7
|
*/
|
|
7
8
|
export interface NameToReducerMap {
|
|
8
9
|
[name: string]: (state: any, action: any) => any;
|
|
@@ -11,6 +12,7 @@ export interface NameToReducerMap {
|
|
|
11
12
|
* Follows the example at http://nicolasgallagher.com/redux-modules-and-code-splitting/
|
|
12
13
|
* Allows for small modules to provide their own reducers so that the they can manage their own state
|
|
13
14
|
* @beta
|
|
15
|
+
* @deprecated in 4.15.0. Use your preferred state management library instead.
|
|
14
16
|
*/
|
|
15
17
|
export declare class ReducerRegistry {
|
|
16
18
|
private _onReducerListChanged;
|
|
@@ -32,6 +34,7 @@ export declare class ReducerRegistry {
|
|
|
32
34
|
}
|
|
33
35
|
/** ReducerRegistryInstance singleton instance of Reducer Registry
|
|
34
36
|
* @beta
|
|
37
|
+
* @deprecated in 4.15.0. Use your preferred state management library instead.
|
|
35
38
|
*/
|
|
36
39
|
export declare const ReducerRegistryInstance: ReducerRegistry;
|
|
37
40
|
//# sourceMappingURL=ReducerRegistry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReducerRegistry.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/redux/ReducerRegistry.ts"],"names":[],"mappings":"AAIA;;GAEG;
|
|
1
|
+
{"version":3,"file":"ReducerRegistry.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/redux/ReducerRegistry.ts"],"names":[],"mappings":"AAIA;;GAEG;AAOH;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,CAAC,IAAI,EAAE,MAAM,GAAG,CAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,KAAK,GAAG,CAAC;CAClD;AAED;;;;;GAKG;AACH,qBAAa,eAAe;IAC1B,OAAO,CAAC,qBAAqB,CAEf;IACd,OAAO,CAAC,SAAS,CAAmB;IAEpC,sHAAsH;;IAKtH,+CAA+C;IACxC,eAAe,CACpB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,KAAK,GAAG;IAgB3C;;OAEG;IACI,iBAAiB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,gBAAgB,KAAK,IAAI;IAIvE,0CAA0C;IACnC,WAAW;IAIlB;;OAEG;IACI,aAAa;CAMrB;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB,iBAAwB,CAAC"}
|
|
@@ -14,6 +14,7 @@ const UiFramework_1 = require("../UiFramework");
|
|
|
14
14
|
* Follows the example at http://nicolasgallagher.com/redux-modules-and-code-splitting/
|
|
15
15
|
* Allows for small modules to provide their own reducers so that the they can manage their own state
|
|
16
16
|
* @beta
|
|
17
|
+
* @deprecated in 4.15.0. Use your preferred state management library instead.
|
|
17
18
|
*/
|
|
18
19
|
class ReducerRegistry {
|
|
19
20
|
/** ReducerRegistry constructor that initializes an empty reducer map to be populated by called to registerReducer. */
|
|
@@ -54,6 +55,7 @@ class ReducerRegistry {
|
|
|
54
55
|
exports.ReducerRegistry = ReducerRegistry;
|
|
55
56
|
/** ReducerRegistryInstance singleton instance of Reducer Registry
|
|
56
57
|
* @beta
|
|
58
|
+
* @deprecated in 4.15.0. Use your preferred state management library instead.
|
|
57
59
|
*/
|
|
58
60
|
exports.ReducerRegistryInstance = new ReducerRegistry();
|
|
59
61
|
//# sourceMappingURL=ReducerRegistry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReducerRegistry.js","sourceRoot":"","sources":["../../../../src/appui-react/redux/ReducerRegistry.ts"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAEH,0DAAgD;AAChD,gDAA6C;
|
|
1
|
+
{"version":3,"file":"ReducerRegistry.js","sourceRoot":"","sources":["../../../../src/appui-react/redux/ReducerRegistry.ts"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAEH,0DAAgD;AAChD,gDAA6C;AAY7C;;;;;GAKG;AACH,MAAa,eAAe;IAM1B,sHAAsH;IACtH;QACE,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;IACtB,CAAC;IAED,+CAA+C;IACxC,eAAe,CACpB,IAAY,EACZ,OAAyC;QAEzC,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;YACzB,mDAAmD;YACnD,MAAM,IAAI,wBAAO,CACf,yBAAW,CAAC,cAAc,CAAC,IAAI,CAAC,EAChC,wCAAwC,IAAI,yBAAyB,CACtE,CAAC;QACJ,CAAC;QAED,IAAI,CAAC,SAAS,GAAG,EAAE,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,CAAC;QACxD,IAAI,IAAI,CAAC,qBAAqB,EAAE,CAAC;YAC/B,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC7C,CAAC;IACH,CAAC;IAED;;OAEG;IACI,iBAAiB,CAAC,QAA8C;QACrE,IAAI,CAAC,qBAAqB,GAAG,QAAQ,CAAC;IACxC,CAAC;IAED,0CAA0C;IACnC,WAAW;QAChB,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED;;OAEG;IACI,aAAa;QAClB,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;QACpB,IAAI,IAAI,CAAC,qBAAqB,EAAE,CAAC;YAC/B,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC7C,CAAC;IACH,CAAC;CACF;AAnDD,0CAmDC;AAED;;;GAGG;AACU,QAAA,uBAAuB,GAAG,IAAI,eAAe,EAAE,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module State\n */\n\nimport { UiError } from \"@itwin/appui-abstract\";\nimport { UiFramework } from \"../UiFramework\";\n\n/* eslint-disable deprecation/deprecation */\n\n/** NameToReducerMap used by Reducer Registry\n * @public\n * @deprecated in 4.15.0. Use your preferred state management library instead.\n */\nexport interface NameToReducerMap {\n [name: string]: (state: any, action: any) => any;\n}\n\n/** Redux Reducer Registry.\n * Follows the example at http://nicolasgallagher.com/redux-modules-and-code-splitting/\n * Allows for small modules to provide their own reducers so that the they can manage their own state\n * @beta\n * @deprecated in 4.15.0. Use your preferred state management library instead.\n */\nexport class ReducerRegistry {\n private _onReducerListChanged:\n | ((reducers: NameToReducerMap) => void)\n | undefined;\n private _reducers: NameToReducerMap;\n\n /** ReducerRegistry constructor that initializes an empty reducer map to be populated by called to registerReducer. */\n constructor() {\n this._reducers = {};\n }\n\n /** Call to register a reducer and its name. */\n public registerReducer(\n name: string,\n reducer: (state: any, action: any) => any\n ) {\n if (this._reducers[name]) {\n // eslint-disable-next-line deprecation/deprecation\n throw new UiError(\n UiFramework.loggerCategory(this),\n `Redux Reducer with matching name of '${name}' is already registered`\n );\n }\n\n this._reducers = { ...this._reducers, [name]: reducer };\n if (this._onReducerListChanged) {\n this._onReducerListChanged(this._reducers);\n }\n }\n\n /** Supports a single listener which should be the Redux store, see [[StoreManager]].\n * @internal\n */\n public setChangeListener(listener: (reducers: NameToReducerMap) => void) {\n this._onReducerListChanged = listener;\n }\n\n /** Returns map of registered Reducers. */\n public getReducers() {\n return this._reducers;\n }\n\n /** Clear reducers only required for unit testing\n * @internal\n */\n public clearReducers() {\n this._reducers = {};\n if (this._onReducerListChanged) {\n this._onReducerListChanged(this._reducers);\n }\n }\n}\n\n/** ReducerRegistryInstance singleton instance of Reducer Registry\n * @beta\n * @deprecated in 4.15.0. Use your preferred state management library instead.\n */\nexport const ReducerRegistryInstance = new ReducerRegistry();\n"]}
|
|
@@ -4,9 +4,18 @@
|
|
|
4
4
|
import type { XAndY } from "@itwin/core-geometry";
|
|
5
5
|
import type { CursorMenuItemProps, MenuItemProps } from "../shared/MenuItem";
|
|
6
6
|
import type { ActionsUnion, DeepReadonly } from "./redux-ts";
|
|
7
|
+
/** Definition of a cursor menu. If menuItems are empty the menu control is not displayed.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export interface CursorMenuPayload {
|
|
11
|
+
position: XAndY;
|
|
12
|
+
childWindowId?: string;
|
|
13
|
+
items: CursorMenuItemProps[];
|
|
14
|
+
}
|
|
7
15
|
/** PresentationSelectionScope holds the id and the localized label for a selection scope supported for a specific iModel.
|
|
8
16
|
* Added to avoid an api-extract error caused by using SelectionScope.
|
|
9
17
|
* @public
|
|
18
|
+
* @deprecated in 4.15.0. Use `selectionScopes` prop of {@link SelectionScopeField} component.
|
|
10
19
|
*/
|
|
11
20
|
export interface PresentationSelectionScope {
|
|
12
21
|
id: string;
|
|
@@ -15,26 +24,18 @@ export interface PresentationSelectionScope {
|
|
|
15
24
|
/** Definition of data added to Redux store to define cursor menu. If menuItems are empty the menu control is not displayed.
|
|
16
25
|
* To close the menu clear the menuItems or pass in undefined as the CursorData.
|
|
17
26
|
* @public
|
|
18
|
-
* @deprecated in 4.11.
|
|
27
|
+
* @deprecated in 4.11.0. Use {@link CursorMenuPayload} instead.
|
|
19
28
|
*/
|
|
20
29
|
export interface CursorMenuData {
|
|
21
30
|
position: XAndY;
|
|
22
31
|
childWindowId?: string;
|
|
23
32
|
items: MenuItemProps[];
|
|
24
33
|
}
|
|
25
|
-
/**
|
|
26
|
-
* Definition of data added to Redux store to define cursor menu. If menuItems are empty the menu control is not displayed.
|
|
27
|
-
* To close the menu clear the menuItems or pass in undefined as the CursorData.
|
|
28
|
-
* @public
|
|
29
|
-
*/
|
|
30
|
-
export interface CursorMenuPayload {
|
|
31
|
-
position: XAndY;
|
|
32
|
-
childWindowId?: string;
|
|
33
|
-
items: CursorMenuItemProps[];
|
|
34
|
-
}
|
|
35
34
|
/** Action Ids used by Redux and to send sync UI components. Typically used to refresh visibility or enable state of control.
|
|
36
|
-
*
|
|
35
|
+
* Since these are also used as sync ids they should be in lowercase.
|
|
36
|
+
* @note This is used by sync UI event APIs.
|
|
37
37
|
* @public
|
|
38
|
+
* @deprecated in 4.15.0. Use your preferred state management library instead.
|
|
38
39
|
*/
|
|
39
40
|
export declare enum SessionStateActionId {
|
|
40
41
|
SetNumItemsSelected = "sessionstate:set-num-items-selected",
|
|
@@ -49,21 +50,33 @@ export declare enum SessionStateActionId {
|
|
|
49
50
|
}
|
|
50
51
|
/** The portion of state managed by the SessionStateReducer.
|
|
51
52
|
* @public
|
|
53
|
+
* @deprecated in 4.15.0. Use your preferred state management library instead.
|
|
52
54
|
*/
|
|
53
55
|
export interface SessionState {
|
|
56
|
+
/** @deprecated in 4.15.0. Use {@link UiFramework.getNumItemsSelected} instead. */
|
|
54
57
|
numItemsSelected: number;
|
|
58
|
+
/** @deprecated in 4.15.0. Use `selectionScopes` prop of {@link SelectionScopeField} instead. */
|
|
55
59
|
availableSelectionScopes: PresentationSelectionScope[];
|
|
60
|
+
/** @deprecated in 4.15.0. Use `activeScope` prop of {@link SelectionScopeField} instead. */
|
|
56
61
|
activeSelectionScope: string;
|
|
62
|
+
/** @deprecated in 4.15.0. Not used by AppUI components. */
|
|
57
63
|
iModelId: string;
|
|
64
|
+
/** @deprecated in 4.15.0. Not used by AppUI components. */
|
|
58
65
|
defaultIModelViewportControlId: string | undefined;
|
|
66
|
+
/** @deprecated in 4.15.0. Not used by AppUI components. */
|
|
59
67
|
defaultViewId: string | undefined;
|
|
68
|
+
/** @deprecated in 4.15.0. Use {@link UiFramework.getDefaultViewState} or {@link useActiveIModelConnection} instead. */
|
|
60
69
|
defaultViewState: any;
|
|
70
|
+
/** @deprecated in 4.15.0. Use {@link UiFramework.getIModelConnection} or {@link useActiveIModelConnection} instead. */
|
|
61
71
|
iModelConnection: any;
|
|
72
|
+
/** @deprecated in 4.11.0. Use {@link CursorMenuPayload} instead */
|
|
62
73
|
cursorMenuData: CursorMenuData | undefined;
|
|
74
|
+
/** @deprecated in 4.15.0. Use cursor APIs of {@link UiFramework}. */
|
|
63
75
|
cursorMenuPayload: CursorMenuPayload | undefined;
|
|
64
76
|
}
|
|
65
77
|
/** An interface that allows redux connected object to dispatch changes to the SessionState reducer.
|
|
66
78
|
* @beta
|
|
79
|
+
* @deprecated in 4.15.0. Use your preferred state management library instead.
|
|
67
80
|
*/
|
|
68
81
|
export interface SessionStateActionsProps {
|
|
69
82
|
setActiveIModelId: typeof SessionStateActions.setActiveIModelId;
|
|
@@ -78,6 +91,7 @@ export interface SessionStateActionsProps {
|
|
|
78
91
|
}
|
|
79
92
|
/** An object with a function that creates each SessionStateReducer that can be handled by our reducer.
|
|
80
93
|
* @public
|
|
94
|
+
* @deprecated in 4.15.0. Use your preferred state management library instead.
|
|
81
95
|
*/
|
|
82
96
|
export declare const SessionStateActions: {
|
|
83
97
|
setActiveIModelId: (iModelId: string) => import("./redux-ts").ActionWithPayload<SessionStateActionId.SetActiveIModelId, string>;
|
|
@@ -93,6 +107,7 @@ export declare const SessionStateActions: {
|
|
|
93
107
|
/** Object that contains available actions that modify SessionState. Parent control's props should
|
|
94
108
|
* extend from SessionStateActionsProps before using this in Redux 'connect' function.
|
|
95
109
|
* @beta
|
|
110
|
+
* @deprecated in 4.15.0. Use your preferred state management library instead.
|
|
96
111
|
*/
|
|
97
112
|
export declare const sessionStateMapDispatchToProps: {
|
|
98
113
|
setActiveIModelId: (iModelId: string) => import("./redux-ts").ActionWithPayload<SessionStateActionId.SetActiveIModelId, string>;
|
|
@@ -107,10 +122,12 @@ export declare const sessionStateMapDispatchToProps: {
|
|
|
107
122
|
};
|
|
108
123
|
/** Union of SessionState Redux actions
|
|
109
124
|
* @public
|
|
125
|
+
* @deprecated in 4.15.0. Use your preferred state management library instead.
|
|
110
126
|
*/
|
|
111
127
|
export type SessionStateActionsUnion = ActionsUnion<typeof SessionStateActions>;
|
|
112
128
|
/** Handles actions to update SessionState.
|
|
113
129
|
* @public
|
|
130
|
+
* @deprecated in 4.15.0. Use your preferred state management library instead.
|
|
114
131
|
*/
|
|
115
132
|
export declare function SessionStateReducer(state: SessionState | undefined, action: SessionStateActionsUnion): DeepReadonly<SessionState>;
|
|
116
133
|
//# sourceMappingURL=SessionState.d.ts.map
|