@itwin/appui-react 4.8.3 → 4.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -2
- package/README.md +1 -1
- package/lib/cjs/appui-react/UiFramework.d.ts.map +1 -1
- package/lib/cjs/appui-react/UiFramework.js +6 -0
- package/lib/cjs/appui-react/UiFramework.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawDialog.d.ts +2 -2
- package/lib/cjs/appui-react/accudraw/AccuDrawDialog.d.ts.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.d.ts +2 -2
- package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.d.ts.map +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawWidget.d.ts +2 -2
- package/lib/cjs/appui-react/accudraw/AccuDrawWidget.d.ts.map +1 -1
- package/lib/cjs/appui-react/accudraw/Calculator.d.ts +1 -1
- package/lib/cjs/appui-react/accudraw/CalculatorPopup.d.ts +1 -1
- package/lib/cjs/appui-react/accudraw/MenuButton.d.ts +1 -1
- package/lib/cjs/appui-react/accudraw/MenuButtonPopup.d.ts +1 -1
- package/lib/cjs/appui-react/accudraw/SquareButton.d.ts +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposer.js +7 -7
- package/lib/cjs/appui-react/backstage/BackstageComposer.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposerItem.d.ts +4 -4
- package/lib/cjs/appui-react/backstage/BackstageComposerItem.d.ts.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposerItem.js +7 -7
- package/lib/cjs/appui-react/backstage/BackstageComposerItem.js.map +1 -1
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts +1 -1
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js +31 -13
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
- package/lib/cjs/appui-react/childwindow/PopoutWidget.d.ts +2 -2
- package/lib/cjs/appui-react/childwindow/PopoutWidget.d.ts.map +1 -1
- package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.d.ts +1 -1
- package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
- package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js +2 -0
- package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
- package/lib/cjs/appui-react/configurableui/configurableui.scss +1 -1
- package/lib/cjs/appui-react/content/ContentControl.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/ContentControl.js +1 -0
- package/lib/cjs/appui-react/content/ContentControl.js.map +1 -1
- package/lib/cjs/appui-react/content/ContentGroup.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/ContentGroup.js +2 -0
- package/lib/cjs/appui-react/content/ContentGroup.js.map +1 -1
- package/lib/cjs/appui-react/content/ContentLayout.d.ts +1 -1
- package/lib/cjs/appui-react/content/ContentLayout.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/ContentLayout.js +1 -0
- package/lib/cjs/appui-react/content/ContentLayout.js.map +1 -1
- package/lib/cjs/appui-react/content/DefaultViewOverlay.d.ts +2 -2
- package/lib/cjs/appui-react/content/DefaultViewOverlay.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts +3 -3
- package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/IModelViewport.d.ts +1 -1
- package/lib/cjs/appui-react/content/IModelViewport.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/IModelViewport.js +1 -0
- package/lib/cjs/appui-react/content/IModelViewport.js.map +1 -1
- package/lib/cjs/appui-react/content/InternalContentViewManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/InternalContentViewManager.js +1 -0
- package/lib/cjs/appui-react/content/InternalContentViewManager.js.map +1 -1
- package/lib/cjs/appui-react/content/split-pane/Pane.d.ts +1 -1
- package/lib/cjs/appui-react/content/split-pane/Pane.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/split-pane/Resizer.d.ts +1 -1
- package/lib/cjs/appui-react/content/split-pane/Resizer.d.ts.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/cursor/CursorInformation.d.ts.map +1 -1
- package/lib/cjs/appui-react/cursor/CursorInformation.js +1 -0
- package/lib/cjs/appui-react/cursor/CursorInformation.js.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.d.ts +5 -5
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js +5 -5
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.js +3 -0
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
- package/lib/cjs/appui-react/dialog/ContentDialog.d.ts +1 -1
- package/lib/cjs/appui-react/dialog/ContentDialog.d.ts.map +1 -1
- package/lib/cjs/appui-react/dialog/DialogManagerBase.d.ts.map +1 -1
- package/lib/cjs/appui-react/dialog/DialogManagerBase.js +1 -0
- package/lib/cjs/appui-react/dialog/DialogManagerBase.js.map +1 -1
- package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.d.ts +2 -2
- package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.d.ts.map +1 -1
- package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.js +6 -6
- package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.js.map +1 -1
- package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts +4 -4
- package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
- package/lib/cjs/appui-react/feedback/ElementTooltip.js +6 -5
- package/lib/cjs/appui-react/feedback/ElementTooltip.js.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkContent.d.ts.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkContent.js +2 -0
- package/lib/cjs/appui-react/framework/FrameworkContent.js.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkFrontstages.d.ts.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkFrontstages.js +8 -0
- package/lib/cjs/appui-react/framework/FrameworkFrontstages.js.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkToolSettings.d.ts.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkToolSettings.js +1 -0
- package/lib/cjs/appui-react/framework/FrameworkToolSettings.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts +14 -7
- package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageDef.js +57 -37
- package/lib/cjs/appui-react/frontstage/FrontstageDef.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js +15 -4
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts +3 -3
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.js +6 -6
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js +5 -5
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.d.ts.map +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.js +1 -0
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.js.map +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts.map +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.js +1 -0
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
- package/lib/cjs/appui-react/layout/_prefix.scss +33 -0
- package/lib/cjs/appui-react/layout/_safearea.scss +26 -0
- package/lib/cjs/appui-react/layout/_scrollbar.scss +20 -0
- package/lib/cjs/appui-react/layout/_target.scss +10 -0
- package/lib/cjs/appui-react/layout/_widgetopacity.scss +13 -0
- package/lib/cjs/appui-react/layout/backstage/Backstage.d.ts +42 -0
- package/lib/cjs/appui-react/layout/backstage/Backstage.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/backstage/Backstage.js +53 -0
- package/lib/cjs/appui-react/layout/backstage/Backstage.js.map +1 -0
- package/lib/cjs/appui-react/layout/backstage/Backstage.scss +90 -0
- package/lib/cjs/appui-react/layout/backstage/Item.d.ts +38 -0
- package/lib/cjs/appui-react/layout/backstage/Item.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/backstage/Item.js +33 -0
- package/lib/cjs/appui-react/layout/backstage/Item.js.map +1 -0
- package/lib/cjs/appui-react/layout/backstage/Item.scss +103 -0
- package/lib/cjs/appui-react/layout/backstage/Separator.d.ts +13 -0
- package/lib/cjs/appui-react/layout/backstage/Separator.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/backstage/Separator.js +24 -0
- package/lib/cjs/appui-react/layout/backstage/Separator.js.map +1 -0
- package/lib/cjs/appui-react/layout/backstage/Separator.scss +10 -0
- package/lib/cjs/appui-react/layout/backstage/_variables.scss +32 -0
- package/lib/cjs/appui-react/layout/base/DragManager.d.ts +183 -0
- package/lib/cjs/appui-react/layout/base/DragManager.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/base/DragManager.js +497 -0
- package/lib/cjs/appui-react/layout/base/DragManager.js.map +1 -0
- package/lib/cjs/appui-react/layout/base/Ellipsis.d.ts +11 -0
- package/lib/cjs/appui-react/layout/base/Ellipsis.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/base/Ellipsis.js +25 -0
- package/lib/cjs/appui-react/layout/base/Ellipsis.js.map +1 -0
- package/lib/cjs/appui-react/layout/base/Ellipsis.scss +20 -0
- package/lib/cjs/appui-react/layout/base/LayoutStore.d.ts +19 -0
- package/lib/cjs/appui-react/layout/base/LayoutStore.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/base/LayoutStore.js +38 -0
- package/lib/cjs/appui-react/layout/base/LayoutStore.js.map +1 -0
- package/lib/cjs/appui-react/layout/base/NineZone.d.ts +80 -0
- package/lib/cjs/appui-react/layout/base/NineZone.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/base/NineZone.js +174 -0
- package/lib/cjs/appui-react/layout/base/NineZone.js.map +1 -0
- package/lib/cjs/appui-react/layout/base/SafeAreaInsets.d.ts +18 -0
- package/lib/cjs/appui-react/layout/base/SafeAreaInsets.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/base/SafeAreaInsets.js +36 -0
- package/lib/cjs/appui-react/layout/base/SafeAreaInsets.js.map +1 -0
- package/lib/cjs/appui-react/layout/base/usePointerCaptor.d.ts +15 -0
- package/lib/cjs/appui-react/layout/base/usePointerCaptor.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/base/usePointerCaptor.js +106 -0
- package/lib/cjs/appui-react/layout/base/usePointerCaptor.js.map +1 -0
- package/lib/cjs/appui-react/layout/footer/Footer.d.ts +33 -0
- package/lib/cjs/appui-react/layout/footer/Footer.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/footer/Footer.js +30 -0
- package/lib/cjs/appui-react/layout/footer/Footer.js.map +1 -0
- package/lib/cjs/appui-react/layout/footer/Footer.scss +61 -0
- package/lib/cjs/appui-react/layout/footer/Indicator.d.ts +23 -0
- package/lib/cjs/appui-react/layout/footer/Indicator.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/footer/Indicator.js +23 -0
- package/lib/cjs/appui-react/layout/footer/Indicator.js.map +1 -0
- package/lib/cjs/appui-react/layout/footer/Indicator.scss +39 -0
- package/lib/cjs/appui-react/layout/footer/Popup.d.ts +12 -0
- package/lib/cjs/appui-react/layout/footer/Popup.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/footer/Popup.js +25 -0
- package/lib/cjs/appui-react/layout/footer/Popup.js.map +1 -0
- package/lib/cjs/appui-react/layout/footer/Popup.scss +19 -0
- package/lib/cjs/appui-react/layout/footer/_variables.scss +43 -0
- package/lib/cjs/appui-react/layout/footer/dialog/Button.d.ts +23 -0
- package/lib/cjs/appui-react/layout/footer/dialog/Button.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/footer/dialog/Button.js +25 -0
- package/lib/cjs/appui-react/layout/footer/dialog/Button.js.map +1 -0
- package/lib/cjs/appui-react/layout/footer/dialog/Button.scss +23 -0
- package/lib/cjs/appui-react/layout/footer/dialog/Dialog.d.ts +22 -0
- package/lib/cjs/appui-react/layout/footer/dialog/Dialog.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/footer/dialog/Dialog.js +26 -0
- package/lib/cjs/appui-react/layout/footer/dialog/Dialog.js.map +1 -0
- package/lib/cjs/appui-react/layout/footer/dialog/Dialog.scss +14 -0
- package/lib/cjs/appui-react/layout/footer/dialog/TitleBar.d.ts +21 -0
- package/lib/cjs/appui-react/layout/footer/dialog/TitleBar.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/footer/dialog/TitleBar.js +25 -0
- package/lib/cjs/appui-react/layout/footer/dialog/TitleBar.js.map +1 -0
- package/lib/cjs/appui-react/layout/footer/dialog/TitleBar.scss +30 -0
- package/lib/cjs/appui-react/layout/footer/dialog/_variables.scss +8 -0
- package/lib/cjs/appui-react/layout/footer/message-center/Dialog.d.ts +29 -0
- package/lib/cjs/appui-react/layout/footer/message-center/Dialog.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/footer/message-center/Dialog.js +32 -0
- package/lib/cjs/appui-react/layout/footer/message-center/Dialog.js.map +1 -0
- package/lib/cjs/appui-react/layout/footer/message-center/Dialog.scss +64 -0
- package/lib/cjs/appui-react/layout/footer/message-center/Indicator.d.ts +29 -0
- package/lib/cjs/appui-react/layout/footer/message-center/Indicator.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/footer/message-center/Indicator.js +33 -0
- package/lib/cjs/appui-react/layout/footer/message-center/Indicator.js.map +1 -0
- package/lib/cjs/appui-react/layout/footer/message-center/Indicator.scss +106 -0
- package/lib/cjs/appui-react/layout/footer/message-center/Message.d.ts +22 -0
- package/lib/cjs/appui-react/layout/footer/message-center/Message.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/footer/message-center/Message.js +26 -0
- package/lib/cjs/appui-react/layout/footer/message-center/Message.js.map +1 -0
- package/lib/cjs/appui-react/layout/footer/message-center/Message.scss +41 -0
- package/lib/cjs/appui-react/layout/footer/message-center/Tab.d.ts +24 -0
- package/lib/cjs/appui-react/layout/footer/message-center/Tab.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/footer/message-center/Tab.js +26 -0
- package/lib/cjs/appui-react/layout/footer/message-center/Tab.js.map +1 -0
- package/lib/cjs/appui-react/layout/footer/message-center/Tab.scss +60 -0
- package/lib/cjs/appui-react/layout/footer/message-center/_variables.scss +5 -0
- package/lib/cjs/appui-react/layout/footer/snap-mode/Indicator.d.ts +27 -0
- package/lib/cjs/appui-react/layout/footer/snap-mode/Indicator.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/footer/snap-mode/Indicator.js +29 -0
- package/lib/cjs/appui-react/layout/footer/snap-mode/Indicator.js.map +1 -0
- package/lib/cjs/appui-react/layout/footer/snap-mode/Indicator.scss +44 -0
- package/lib/cjs/appui-react/layout/footer/snap-mode/Panel.d.ts +24 -0
- package/lib/cjs/appui-react/layout/footer/snap-mode/Panel.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/footer/snap-mode/Panel.js +29 -0
- package/lib/cjs/appui-react/layout/footer/snap-mode/Panel.js.map +1 -0
- package/lib/cjs/appui-react/layout/footer/snap-mode/Panel.scss +22 -0
- package/lib/cjs/appui-react/layout/footer/snap-mode/Snap.d.ts +26 -0
- package/lib/cjs/appui-react/layout/footer/snap-mode/Snap.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/footer/snap-mode/Snap.js +28 -0
- package/lib/cjs/appui-react/layout/footer/snap-mode/Snap.js.map +1 -0
- package/lib/cjs/appui-react/layout/footer/snap-mode/Snap.scss +48 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Dialog.d.ts +26 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Dialog.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Dialog.js +29 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Dialog.js.map +1 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Dialog.scss +18 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Indicator.d.ts +27 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Indicator.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Indicator.js +30 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Indicator.js.map +1 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Indicator.scss +80 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Instruction.d.ts +24 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Instruction.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Instruction.js +31 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Instruction.js.map +1 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Instruction.scss +30 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Item.d.ts +20 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Item.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Item.js +24 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Item.js.map +1 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Item.scss +13 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/NewDot.d.ts +13 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/NewDot.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/NewDot.js +24 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/NewDot.js.map +1 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/NewDot.scss +13 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Separator.d.ts +20 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Separator.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Separator.js +26 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Separator.js.map +1 -0
- package/lib/cjs/appui-react/layout/footer/tool-assistance/Separator.scss +20 -0
- package/lib/cjs/appui-react/layout/outline/PanelOutline.d.ts +10 -0
- package/lib/cjs/appui-react/layout/outline/PanelOutline.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/outline/PanelOutline.js +69 -0
- package/lib/cjs/appui-react/layout/outline/PanelOutline.js.map +1 -0
- package/lib/cjs/appui-react/layout/outline/PanelOutline.scss +72 -0
- package/lib/cjs/appui-react/layout/outline/SectionOutline.d.ts +13 -0
- package/lib/cjs/appui-react/layout/outline/SectionOutline.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/outline/SectionOutline.js +73 -0
- package/lib/cjs/appui-react/layout/outline/SectionOutline.js.map +1 -0
- package/lib/cjs/appui-react/layout/outline/SectionOutline.scss +47 -0
- package/lib/cjs/appui-react/layout/outline/TabOutline.d.ts +8 -0
- package/lib/cjs/appui-react/layout/outline/TabOutline.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/outline/TabOutline.js +42 -0
- package/lib/cjs/appui-react/layout/outline/TabOutline.js.map +1 -0
- package/lib/cjs/appui-react/layout/outline/TabOutline.scss +18 -0
- package/lib/cjs/appui-react/layout/outline/WidgetOutline.d.ts +8 -0
- package/lib/cjs/appui-react/layout/outline/WidgetOutline.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/outline/WidgetOutline.js +42 -0
- package/lib/cjs/appui-react/layout/outline/WidgetOutline.js.map +1 -0
- package/lib/cjs/appui-react/layout/outline/WidgetOutline.scss +16 -0
- package/lib/cjs/appui-react/layout/outline/_variables.scss +7 -0
- package/lib/cjs/appui-react/layout/popup/Tooltip.d.ts +42 -0
- package/lib/cjs/appui-react/layout/popup/Tooltip.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/popup/Tooltip.js +73 -0
- package/lib/cjs/appui-react/layout/popup/Tooltip.js.map +1 -0
- package/lib/cjs/appui-react/layout/popup/Tooltip.scss +24 -0
- package/lib/cjs/appui-react/layout/state/DropTargetState.d.ts +67 -0
- package/lib/cjs/appui-react/layout/state/DropTargetState.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/state/DropTargetState.js +50 -0
- package/lib/cjs/appui-react/layout/state/DropTargetState.js.map +1 -0
- package/lib/cjs/appui-react/layout/state/NineZoneAction.d.ts +274 -0
- package/lib/cjs/appui-react/layout/state/NineZoneAction.d.ts.map +1 -0
- package/lib/{esm/appui-react/safearea/SafeAreaHelpers.js → cjs/appui-react/layout/state/NineZoneAction.js} +4 -6
- package/lib/cjs/appui-react/layout/state/NineZoneAction.js.map +1 -0
- package/lib/cjs/appui-react/layout/state/NineZoneState.d.ts +24 -0
- package/lib/cjs/appui-react/layout/state/NineZoneState.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/state/NineZoneState.js +40 -0
- package/lib/cjs/appui-react/layout/state/NineZoneState.js.map +1 -0
- package/lib/cjs/appui-react/layout/state/NineZoneStateReducer.d.ts +8 -0
- package/lib/cjs/appui-react/layout/state/NineZoneStateReducer.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/state/NineZoneStateReducer.js +814 -0
- package/lib/cjs/appui-react/layout/state/NineZoneStateReducer.js.map +1 -0
- package/lib/cjs/appui-react/layout/state/PanelState.d.ts +44 -0
- package/lib/cjs/appui-react/layout/state/PanelState.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/state/PanelState.js +22 -0
- package/lib/cjs/appui-react/layout/state/PanelState.js.map +1 -0
- package/lib/cjs/appui-react/layout/state/SavedTabState.d.ts +24 -0
- package/lib/cjs/appui-react/layout/state/SavedTabState.d.ts.map +1 -0
- package/lib/cjs/appui-react/{safearea/SafeAreaHelpers.js → layout/state/SavedTabState.js} +2 -8
- package/lib/cjs/appui-react/layout/state/SavedTabState.js.map +1 -0
- package/lib/cjs/appui-react/layout/state/TabLocation.d.ts +35 -0
- package/lib/cjs/appui-react/layout/state/TabLocation.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/state/TabLocation.js +60 -0
- package/lib/cjs/appui-react/layout/state/TabLocation.js.map +1 -0
- package/lib/cjs/appui-react/layout/state/TabState.d.ts +34 -0
- package/lib/cjs/appui-react/layout/state/TabState.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/state/TabState.js +10 -0
- package/lib/cjs/appui-react/layout/state/TabState.js.map +1 -0
- package/lib/cjs/appui-react/layout/state/ToolSettingsState.d.ts +18 -0
- package/lib/cjs/appui-react/layout/state/ToolSettingsState.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/state/ToolSettingsState.js +10 -0
- package/lib/cjs/appui-react/layout/state/ToolSettingsState.js.map +1 -0
- package/lib/cjs/appui-react/layout/state/WidgetLocation.d.ts +32 -0
- package/lib/cjs/appui-react/layout/state/WidgetLocation.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/state/WidgetLocation.js +57 -0
- package/lib/cjs/appui-react/layout/state/WidgetLocation.js.map +1 -0
- package/lib/cjs/appui-react/layout/state/WidgetRestoreState.d.ts +23 -0
- package/lib/cjs/appui-react/layout/state/WidgetRestoreState.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/state/WidgetRestoreState.js +21 -0
- package/lib/cjs/appui-react/layout/state/WidgetRestoreState.js.map +1 -0
- package/lib/cjs/appui-react/layout/state/WidgetState.d.ts +48 -0
- package/lib/cjs/appui-react/layout/state/WidgetState.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/state/WidgetState.js +10 -0
- package/lib/cjs/appui-react/layout/state/WidgetState.js.map +1 -0
- package/lib/cjs/appui-react/layout/state/activateDroppedTab.d.ts +5 -0
- package/lib/cjs/appui-react/layout/state/activateDroppedTab.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/state/activateDroppedTab.js +38 -0
- package/lib/cjs/appui-react/layout/state/activateDroppedTab.js.map +1 -0
- package/lib/cjs/appui-react/layout/state/internal/NineZoneStateHelpers.d.ts +39 -0
- package/lib/cjs/appui-react/layout/state/internal/NineZoneStateHelpers.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/state/internal/NineZoneStateHelpers.js +100 -0
- package/lib/cjs/appui-react/layout/state/internal/NineZoneStateHelpers.js.map +1 -0
- package/lib/cjs/appui-react/layout/state/internal/PanelStateHelpers.d.ts +26 -0
- package/lib/cjs/appui-react/layout/state/internal/PanelStateHelpers.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/state/internal/PanelStateHelpers.js +107 -0
- package/lib/cjs/appui-react/layout/state/internal/PanelStateHelpers.js.map +1 -0
- package/lib/cjs/appui-react/layout/state/internal/TabStateHelpers.d.ts +41 -0
- package/lib/cjs/appui-react/layout/state/internal/TabStateHelpers.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/state/internal/TabStateHelpers.js +197 -0
- package/lib/cjs/appui-react/layout/state/internal/TabStateHelpers.js.map +1 -0
- package/lib/cjs/appui-react/layout/state/internal/ToolSettingsStateHelpers.d.ts +14 -0
- package/lib/cjs/appui-react/layout/state/internal/ToolSettingsStateHelpers.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/state/internal/ToolSettingsStateHelpers.js +60 -0
- package/lib/cjs/appui-react/layout/state/internal/ToolSettingsStateHelpers.js.map +1 -0
- package/lib/cjs/appui-react/layout/state/internal/WidgetStateHelpers.d.ts +48 -0
- package/lib/cjs/appui-react/layout/state/internal/WidgetStateHelpers.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/state/internal/WidgetStateHelpers.js +319 -0
- package/lib/cjs/appui-react/layout/state/internal/WidgetStateHelpers.js.map +1 -0
- package/lib/cjs/appui-react/layout/target/MergeTarget.d.ts +13 -0
- package/lib/cjs/appui-react/layout/target/MergeTarget.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/target/MergeTarget.js +47 -0
- package/lib/cjs/appui-react/layout/target/MergeTarget.js.map +1 -0
- package/lib/cjs/appui-react/layout/target/MergeTarget.scss +17 -0
- package/lib/cjs/appui-react/layout/target/PanelTarget.d.ts +13 -0
- package/lib/cjs/appui-react/layout/target/PanelTarget.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/target/PanelTarget.js +45 -0
- package/lib/cjs/appui-react/layout/target/PanelTarget.js.map +1 -0
- package/lib/cjs/appui-react/layout/target/PanelTarget.scss +27 -0
- package/lib/cjs/appui-react/layout/target/PanelTargets.d.ts +8 -0
- package/lib/cjs/appui-react/layout/target/PanelTargets.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/target/PanelTargets.js +67 -0
- package/lib/cjs/appui-react/layout/target/PanelTargets.js.map +1 -0
- package/lib/cjs/appui-react/layout/target/PanelTargets.scss +50 -0
- package/lib/cjs/appui-react/layout/target/SectionTarget.d.ts +17 -0
- package/lib/cjs/appui-react/layout/target/SectionTarget.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/target/SectionTarget.js +67 -0
- package/lib/cjs/appui-react/layout/target/SectionTarget.js.map +1 -0
- package/lib/cjs/appui-react/layout/target/SectionTarget.scss +50 -0
- package/lib/cjs/appui-react/layout/target/SectionTargets.d.ts +13 -0
- package/lib/cjs/appui-react/layout/target/SectionTargets.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/target/SectionTargets.js +26 -0
- package/lib/cjs/appui-react/layout/target/SectionTargets.js.map +1 -0
- package/lib/cjs/appui-react/layout/target/SectionTargets.scss +13 -0
- package/lib/cjs/appui-react/layout/target/TabTarget.d.ts +8 -0
- package/lib/cjs/appui-react/layout/target/TabTarget.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/target/TabTarget.js +63 -0
- package/lib/cjs/appui-react/layout/target/TabTarget.js.map +1 -0
- package/lib/cjs/appui-react/layout/target/TabTarget.scss +30 -0
- package/lib/cjs/appui-react/layout/target/TargetContainer.d.ts +14 -0
- package/lib/cjs/appui-react/layout/target/TargetContainer.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/target/TargetContainer.js +20 -0
- package/lib/cjs/appui-react/layout/target/TargetContainer.js.map +1 -0
- package/lib/cjs/appui-react/layout/target/TargetContainer.scss +17 -0
- package/lib/cjs/appui-react/layout/target/TitleBarTarget.d.ts +8 -0
- package/lib/cjs/appui-react/layout/target/TitleBarTarget.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/target/TitleBarTarget.js +52 -0
- package/lib/cjs/appui-react/layout/target/TitleBarTarget.js.map +1 -0
- package/lib/cjs/appui-react/layout/target/TitleBarTarget.scss +17 -0
- package/lib/cjs/appui-react/layout/target/WidgetTarget.d.ts +8 -0
- package/lib/cjs/appui-react/layout/target/WidgetTarget.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/target/WidgetTarget.js +25 -0
- package/lib/cjs/appui-react/layout/target/WidgetTarget.js.map +1 -0
- package/lib/cjs/appui-react/layout/target/WidgetTarget.scss +11 -0
- package/lib/cjs/appui-react/layout/target/_variables.scss +64 -0
- package/lib/cjs/appui-react/layout/target/useAllowedPanelTarget.d.ts +5 -0
- package/lib/cjs/appui-react/layout/target/useAllowedPanelTarget.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/target/useAllowedPanelTarget.js +24 -0
- package/lib/cjs/appui-react/layout/target/useAllowedPanelTarget.js.map +1 -0
- package/lib/cjs/appui-react/layout/target/useAllowedSideTarget.d.ts +9 -0
- package/lib/cjs/appui-react/layout/target/useAllowedSideTarget.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/target/useAllowedSideTarget.js +56 -0
- package/lib/cjs/appui-react/layout/target/useAllowedSideTarget.js.map +1 -0
- package/lib/cjs/appui-react/layout/target/useAllowedWidgetTarget.d.ts +6 -0
- package/lib/cjs/appui-react/layout/target/useAllowedWidgetTarget.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/target/useAllowedWidgetTarget.js +33 -0
- package/lib/cjs/appui-react/layout/target/useAllowedWidgetTarget.js.map +1 -0
- package/lib/cjs/appui-react/layout/tool-settings/Docked.d.ts +50 -0
- package/lib/cjs/appui-react/layout/tool-settings/Docked.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/tool-settings/Docked.js +265 -0
- package/lib/cjs/appui-react/layout/tool-settings/Docked.js.map +1 -0
- package/lib/cjs/appui-react/layout/tool-settings/Docked.scss +48 -0
- package/lib/cjs/appui-react/layout/tool-settings/Handle.d.ts +17 -0
- package/lib/cjs/appui-react/layout/tool-settings/Handle.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/tool-settings/Handle.js +45 -0
- package/lib/cjs/appui-react/layout/tool-settings/Handle.js.map +1 -0
- package/lib/cjs/appui-react/layout/tool-settings/Handle.scss +23 -0
- package/lib/cjs/appui-react/layout/tool-settings/Overflow.d.ts +20 -0
- package/lib/cjs/appui-react/layout/tool-settings/Overflow.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/tool-settings/Overflow.js +30 -0
- package/lib/cjs/appui-react/layout/tool-settings/Overflow.js.map +1 -0
- package/lib/cjs/appui-react/layout/tool-settings/Overflow.scss +28 -0
- package/lib/cjs/appui-react/layout/tool-settings/Panel.d.ts +21 -0
- package/lib/cjs/appui-react/layout/tool-settings/Panel.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/tool-settings/Panel.js +23 -0
- package/lib/cjs/appui-react/layout/tool-settings/Panel.js.map +1 -0
- package/lib/cjs/appui-react/layout/tool-settings/Panel.scss +11 -0
- package/lib/cjs/appui-react/layout/tool-settings/Setting.d.ts +18 -0
- package/lib/cjs/appui-react/layout/tool-settings/Setting.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/tool-settings/Setting.js +26 -0
- package/lib/cjs/appui-react/layout/tool-settings/Setting.js.map +1 -0
- package/lib/cjs/appui-react/layout/tool-settings/Setting.scss +22 -0
- package/lib/cjs/appui-react/layout/widget/Button.d.ts +14 -0
- package/lib/cjs/appui-react/layout/widget/Button.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/Button.js +17 -0
- package/lib/cjs/appui-react/layout/widget/Button.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/Buttons.d.ts +12 -0
- package/lib/cjs/appui-react/layout/widget/Buttons.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/Buttons.js +85 -0
- package/lib/cjs/appui-react/layout/widget/Buttons.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/Buttons.scss +10 -0
- package/lib/cjs/appui-react/layout/widget/Content.d.ts +19 -0
- package/lib/cjs/appui-react/layout/widget/Content.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/Content.js +36 -0
- package/lib/cjs/appui-react/layout/widget/Content.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/Content.scss +13 -0
- package/lib/cjs/appui-react/layout/widget/ContentContainer.d.ts +12 -0
- package/lib/cjs/appui-react/layout/widget/ContentContainer.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/ContentContainer.js +39 -0
- package/lib/cjs/appui-react/layout/widget/ContentContainer.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/ContentContainer.scss +24 -0
- package/lib/cjs/appui-react/layout/widget/ContentManager.d.ts +30 -0
- package/lib/cjs/appui-react/layout/widget/ContentManager.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/ContentManager.js +44 -0
- package/lib/cjs/appui-react/layout/widget/ContentManager.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/ContentRenderer.d.ts +20 -0
- package/lib/cjs/appui-react/layout/widget/ContentRenderer.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/ContentRenderer.js +81 -0
- package/lib/cjs/appui-react/layout/widget/ContentRenderer.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/ContentRenderer.scss +18 -0
- package/lib/cjs/appui-react/layout/widget/Dock.d.ts +7 -0
- package/lib/cjs/appui-react/layout/widget/Dock.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/Dock.js +26 -0
- package/lib/cjs/appui-react/layout/widget/Dock.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/FloatingTab.d.ts +10 -0
- package/lib/cjs/appui-react/layout/widget/FloatingTab.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/FloatingTab.js +69 -0
- package/lib/cjs/appui-react/layout/widget/FloatingTab.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/FloatingTab.scss +35 -0
- package/lib/cjs/appui-react/layout/widget/FloatingWidget.d.ts +33 -0
- package/lib/cjs/appui-react/layout/widget/FloatingWidget.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/FloatingWidget.js +278 -0
- package/lib/cjs/appui-react/layout/widget/FloatingWidget.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/FloatingWidget.scss +140 -0
- package/lib/cjs/appui-react/layout/widget/FloatingWidgets.d.ts +9 -0
- package/lib/cjs/appui-react/layout/widget/FloatingWidgets.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/FloatingWidgets.js +27 -0
- package/lib/cjs/appui-react/layout/widget/FloatingWidgets.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/Menu.d.ts +16 -0
- package/lib/cjs/appui-react/layout/widget/Menu.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/Menu.js +23 -0
- package/lib/cjs/appui-react/layout/widget/Menu.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/Menu.scss +14 -0
- package/lib/cjs/appui-react/layout/widget/MenuTab.d.ts +13 -0
- package/lib/cjs/appui-react/layout/widget/MenuTab.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/MenuTab.js +56 -0
- package/lib/cjs/appui-react/layout/widget/MenuTab.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/MenuTab.scss +58 -0
- package/lib/cjs/appui-react/layout/widget/NavigationArea.d.ts +30 -0
- package/lib/cjs/appui-react/layout/widget/NavigationArea.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/NavigationArea.js +26 -0
- package/lib/cjs/appui-react/layout/widget/NavigationArea.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/NavigationArea.scss +55 -0
- package/lib/cjs/appui-react/layout/widget/Overflow.d.ts +20 -0
- package/lib/cjs/appui-react/layout/widget/Overflow.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/Overflow.js +60 -0
- package/lib/cjs/appui-react/layout/widget/Overflow.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/Overflow.scss +59 -0
- package/lib/cjs/appui-react/layout/widget/PanelWidget.d.ts +22 -0
- package/lib/cjs/appui-react/layout/widget/PanelWidget.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/PanelWidget.js +154 -0
- package/lib/cjs/appui-react/layout/widget/PanelWidget.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/PanelWidget.scss +62 -0
- package/lib/cjs/appui-react/layout/widget/PinToggle.d.ts +7 -0
- package/lib/cjs/appui-react/layout/widget/PinToggle.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/PinToggle.js +34 -0
- package/lib/cjs/appui-react/layout/widget/PinToggle.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/PopoutToggle.d.ts +9 -0
- package/lib/cjs/appui-react/layout/widget/PopoutToggle.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/PopoutToggle.js +39 -0
- package/lib/cjs/appui-react/layout/widget/PopoutToggle.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/PreviewHorizontalPanelAlign.d.ts +29 -0
- package/lib/cjs/appui-react/layout/widget/PreviewHorizontalPanelAlign.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/PreviewHorizontalPanelAlign.js +120 -0
- package/lib/cjs/appui-react/layout/widget/PreviewHorizontalPanelAlign.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/PreviewMaximizeToggle.d.ts +30 -0
- package/lib/cjs/appui-react/layout/widget/PreviewMaximizeToggle.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/PreviewMaximizeToggle.js +65 -0
- package/lib/cjs/appui-react/layout/widget/PreviewMaximizeToggle.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/SendBack.d.ts +41 -0
- package/lib/cjs/appui-react/layout/widget/SendBack.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/SendBack.js +111 -0
- package/lib/cjs/appui-react/layout/widget/SendBack.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/Tab.d.ts +44 -0
- package/lib/cjs/appui-react/layout/widget/Tab.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/Tab.js +252 -0
- package/lib/cjs/appui-react/layout/widget/Tab.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/Tab.scss +82 -0
- package/lib/cjs/appui-react/layout/widget/TabBar.d.ts +18 -0
- package/lib/cjs/appui-react/layout/widget/TabBar.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/TabBar.js +127 -0
- package/lib/cjs/appui-react/layout/widget/TabBar.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/TabBar.scss +30 -0
- package/lib/cjs/appui-react/layout/widget/Tabs.d.ts +24 -0
- package/lib/cjs/appui-react/layout/widget/Tabs.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/Tabs.js +88 -0
- package/lib/cjs/appui-react/layout/widget/Tabs.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/Tabs.scss +10 -0
- package/lib/cjs/appui-react/layout/widget/ToolsArea.d.ts +32 -0
- package/lib/cjs/appui-react/layout/widget/ToolsArea.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/ToolsArea.js +32 -0
- package/lib/cjs/appui-react/layout/widget/ToolsArea.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/ToolsArea.scss +49 -0
- package/lib/cjs/appui-react/layout/widget/Widget.d.ts +38 -0
- package/lib/cjs/appui-react/layout/widget/Widget.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/Widget.js +150 -0
- package/lib/cjs/appui-react/layout/widget/Widget.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/Widget.scss +12 -0
- package/lib/cjs/appui-react/layout/widget/_variables.scss +46 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/App.d.ts +24 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/App.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/App.js +33 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/App.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/App.scss +79 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Back.d.ts +20 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Back.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Back.js +27 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Back.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Back.scss +9 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Button.d.ts +28 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Button.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Button.js +44 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Button.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Button.scss +52 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Expandable.d.ts +20 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Expandable.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Expandable.js +26 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Expandable.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Expandable.scss +46 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Icon.d.ts +25 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Icon.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Icon.js +29 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Icon.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/Icon.scss +49 -0
- package/lib/cjs/appui-react/layout/widget/tools/button/_variables.scss +38 -0
- package/lib/cjs/appui-react/layout/widget/useIsToolSettingsTab.d.ts +6 -0
- package/lib/cjs/appui-react/layout/widget/useIsToolSettingsTab.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget/useIsToolSettingsTab.js +20 -0
- package/lib/cjs/appui-react/layout/widget/useIsToolSettingsTab.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget-panels/AppContent.d.ts +11 -0
- package/lib/cjs/appui-react/layout/widget-panels/AppContent.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget-panels/AppContent.js +80 -0
- package/lib/cjs/appui-react/layout/widget-panels/AppContent.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget-panels/CenterContent.d.ts +10 -0
- package/lib/cjs/appui-react/layout/widget-panels/CenterContent.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget-panels/CenterContent.js +23 -0
- package/lib/cjs/appui-react/layout/widget-panels/CenterContent.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget-panels/CenterContent.scss +7 -0
- package/lib/cjs/appui-react/layout/widget-panels/Content.d.ts +21 -0
- package/lib/cjs/appui-react/layout/widget-panels/Content.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget-panels/Content.js +21 -0
- package/lib/cjs/appui-react/layout/widget-panels/Content.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget-panels/Content.scss +37 -0
- package/lib/cjs/appui-react/layout/widget-panels/CursorOverlay.d.ts +14 -0
- package/lib/cjs/appui-react/layout/widget-panels/CursorOverlay.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget-panels/CursorOverlay.js +34 -0
- package/lib/cjs/appui-react/layout/widget-panels/CursorOverlay.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget-panels/CursorOverlay.scss +26 -0
- package/lib/cjs/appui-react/layout/widget-panels/Expander.d.ts +17 -0
- package/lib/cjs/appui-react/layout/widget-panels/Expander.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget-panels/Expander.js +63 -0
- package/lib/cjs/appui-react/layout/widget-panels/Expander.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget-panels/Expander.scss +37 -0
- package/lib/cjs/appui-react/layout/widget-panels/Grip.d.ts +15 -0
- package/lib/cjs/appui-react/layout/widget-panels/Grip.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget-panels/Grip.js +209 -0
- package/lib/cjs/appui-react/layout/widget-panels/Grip.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget-panels/Grip.scss +138 -0
- package/lib/cjs/appui-react/layout/widget-panels/Panel.d.ts +37 -0
- package/lib/cjs/appui-react/layout/widget-panels/Panel.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget-panels/Panel.js +124 -0
- package/lib/cjs/appui-react/layout/widget-panels/Panel.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget-panels/Panel.scss +327 -0
- package/lib/cjs/appui-react/layout/widget-panels/PanelSections.d.ts +7 -0
- package/lib/cjs/appui-react/layout/widget-panels/PanelSections.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget-panels/PanelSections.js +121 -0
- package/lib/cjs/appui-react/layout/widget-panels/PanelSections.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget-panels/PanelTypes.d.ts +15 -0
- package/lib/cjs/appui-react/layout/widget-panels/PanelTypes.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget-panels/PanelTypes.js +3 -0
- package/lib/cjs/appui-react/layout/widget-panels/PanelTypes.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget-panels/Panels.d.ts +24 -0
- package/lib/cjs/appui-react/layout/widget-panels/Panels.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget-panels/Panels.js +48 -0
- package/lib/cjs/appui-react/layout/widget-panels/Panels.js.map +1 -0
- package/lib/cjs/appui-react/layout/widget-panels/Panels.scss +70 -0
- package/lib/cjs/appui-react/layout/widget-panels/_variables.scss +6 -0
- package/lib/cjs/appui-react/layout/widget-panels/useAnimatePanel.d.ts +13 -0
- package/lib/cjs/appui-react/layout/widget-panels/useAnimatePanel.d.ts.map +1 -0
- package/lib/cjs/appui-react/layout/widget-panels/useAnimatePanel.js +172 -0
- package/lib/cjs/appui-react/layout/widget-panels/useAnimatePanel.js.map +1 -0
- package/lib/cjs/appui-react/messages/ActivityMessage.d.ts +2 -2
- package/lib/cjs/appui-react/messages/ActivityMessage.d.ts.map +1 -1
- package/lib/cjs/appui-react/messages/HollowIcon.d.ts +2 -2
- package/lib/cjs/appui-react/messages/HollowIcon.d.ts.map +1 -1
- package/lib/cjs/appui-react/messages/MessageLabel.d.ts +2 -2
- package/lib/cjs/appui-react/messages/MessageLabel.d.ts.map +1 -1
- package/lib/cjs/appui-react/messages/MessageManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/messages/MessageManager.js +8 -0
- package/lib/cjs/appui-react/messages/MessageManager.js.map +1 -1
- package/lib/cjs/appui-react/messages/MessageSpan.d.ts +3 -3
- package/lib/cjs/appui-react/messages/MessageSpan.d.ts.map +1 -1
- package/lib/cjs/appui-react/messages/Pointer.d.ts +4 -4
- package/lib/cjs/appui-react/messages/Pointer.d.ts.map +1 -1
- package/lib/cjs/appui-react/messages/Pointer.js +9 -7
- package/lib/cjs/appui-react/messages/Pointer.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/NavigationAidControl.d.ts.map +1 -1
- package/lib/cjs/appui-react/navigationaids/NavigationAidControl.js +1 -0
- package/lib/cjs/appui-react/navigationaids/NavigationAidControl.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 -0
- package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.d.ts +2 -2
- package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
- package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js +18 -17
- package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
- package/lib/cjs/appui-react/pickers/ListPicker.d.ts +3 -3
- package/lib/cjs/appui-react/pickers/ListPicker.scss +1 -1
- package/lib/cjs/appui-react/pickers/ViewSelector.d.ts +1 -1
- package/lib/cjs/appui-react/pickers/ViewSelector.d.ts.map +1 -1
- package/lib/cjs/appui-react/pickers/ViewSelector.js +2 -0
- package/lib/cjs/appui-react/pickers/ViewSelector.js.map +1 -1
- package/lib/cjs/appui-react/popup/CardPopup.d.ts +2 -2
- package/lib/cjs/appui-react/popup/CardPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/HTMLElementPopup.d.ts +1 -1
- package/lib/cjs/appui-react/popup/InputEditorPopup.d.ts +1 -1
- package/lib/cjs/appui-react/popup/KeyinPalettePanel.d.ts +2 -2
- package/lib/cjs/appui-react/popup/KeyinPalettePanel.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/KeyinPalettePopup.d.ts +2 -2
- package/lib/cjs/appui-react/popup/KeyinPalettePopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/PopupManager.d.ts +2 -2
- package/lib/cjs/appui-react/popup/PopupManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/PopupManager.js +5 -4
- package/lib/cjs/appui-react/popup/PopupManager.js.map +1 -1
- package/lib/cjs/appui-react/popup/PositionPopup.d.ts +2 -2
- package/lib/cjs/appui-react/popup/PositionPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/ToolSettingsPopup.d.ts +1 -1
- package/lib/cjs/appui-react/popup/ToolbarPopup.d.ts +1 -1
- package/lib/cjs/appui-react/preview/PreviewFeatures.d.ts +30 -3
- package/lib/cjs/appui-react/preview/PreviewFeatures.d.ts.map +1 -1
- package/lib/cjs/appui-react/preview/PreviewFeatures.js +3 -0
- package/lib/cjs/appui-react/preview/PreviewFeatures.js.map +1 -1
- package/lib/cjs/appui-react/preview/widget-action-dropdown/Button.d.ts +17 -0
- package/lib/cjs/appui-react/preview/widget-action-dropdown/Button.d.ts.map +1 -0
- package/lib/cjs/appui-react/preview/widget-action-dropdown/Button.js +24 -0
- package/lib/cjs/appui-react/preview/widget-action-dropdown/Button.js.map +1 -0
- package/lib/cjs/appui-react/preview/widget-action-dropdown/MoreButton.d.ts +13 -0
- package/lib/cjs/appui-react/preview/widget-action-dropdown/MoreButton.d.ts.map +1 -0
- package/lib/cjs/appui-react/preview/widget-action-dropdown/MoreButton.js +68 -0
- package/lib/cjs/appui-react/preview/widget-action-dropdown/MoreButton.js.map +1 -0
- package/lib/cjs/appui-react/redux/ReducerRegistry.d.ts.map +1 -1
- package/lib/cjs/appui-react/redux/ReducerRegistry.js +1 -0
- package/lib/cjs/appui-react/redux/ReducerRegistry.js.map +1 -1
- package/lib/cjs/appui-react/redux/StateManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/redux/StateManager.js +1 -0
- package/lib/cjs/appui-react/redux/StateManager.js.map +1 -1
- package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.d.ts +2 -2
- package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.js +3 -1
- package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
- package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.d.ts +2 -2
- package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.d.ts.map +1 -1
- package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts +2 -2
- package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts.map +1 -1
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts +2 -2
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/MenuItem.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/MenuItem.js +1 -0
- package/lib/cjs/appui-react/shared/MenuItem.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts +7 -10
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.js +22 -21
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelState.d.ts +13 -0
- package/lib/cjs/appui-react/stagepanels/StagePanelState.d.ts.map +1 -0
- package/lib/cjs/appui-react/stagepanels/StagePanelState.js +21 -0
- package/lib/cjs/appui-react/stagepanels/StagePanelState.js.map +1 -0
- 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 +3 -3
- package/lib/cjs/appui-react/statusbar/Field.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/Field.scss +1 -1
- package/lib/cjs/appui-react/statusbar/Indicator.d.ts +1 -1
- package/lib/cjs/appui-react/statusbar/Indicator.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/LabelIndicator.d.ts +2 -2
- package/lib/cjs/appui-react/statusbar/LabelIndicator.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/LabelIndicator.scss +1 -1
- package/lib/cjs/appui-react/statusbar/Overflow.d.ts +2 -2
- package/lib/cjs/appui-react/statusbar/Overflow.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/Overflow.js +4 -4
- package/lib/cjs/appui-react/statusbar/Overflow.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/OverflowPanel.d.ts +1 -1
- package/lib/cjs/appui-react/statusbar/OverflowPanel.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/Popup.d.ts +2 -2
- package/lib/cjs/appui-react/statusbar/Popup.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/Popup.js +2 -2
- package/lib/cjs/appui-react/statusbar/Popup.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/Separator.d.ts +2 -2
- package/lib/cjs/appui-react/statusbar/Separator.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/Separator.scss +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBar.d.ts +7 -7
- package/lib/cjs/appui-react/statusbar/StatusBar.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBar.js +5 -6
- package/lib/cjs/appui-react/statusbar/StatusBar.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarComposer.d.ts +3 -3
- package/lib/cjs/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarComposer.js +7 -7
- package/lib/cjs/appui-react/statusbar/StatusBarComposer.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/dialog/Button.d.ts +2 -2
- package/lib/cjs/appui-react/statusbar/dialog/Button.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/dialog/Button.js +2 -2
- package/lib/cjs/appui-react/statusbar/dialog/Button.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/dialog/Dialog.d.ts +3 -3
- package/lib/cjs/appui-react/statusbar/dialog/Dialog.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/dialog/Dialog.js +3 -3
- package/lib/cjs/appui-react/statusbar/dialog/Dialog.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/dialog/TitleBar.d.ts +2 -2
- package/lib/cjs/appui-react/statusbar/dialog/TitleBar.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/dialog/TitleBar.js +2 -2
- package/lib/cjs/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/ActivityCenter.d.ts +2 -2
- package/lib/cjs/appui-react/statusfields/ActivityCenter.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts +1 -1
- package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/MessageCenter.js +14 -10
- package/lib/cjs/appui-react/statusfields/MessageCenter.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SectionsField.d.ts +3 -3
- package/lib/cjs/appui-react/statusfields/SectionsField.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/SectionsField.js +9 -8
- package/lib/cjs/appui-react/statusfields/SectionsField.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionCount.d.ts +3 -3
- package/lib/cjs/appui-react/statusfields/SelectionCount.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionCount.js +5 -5
- package/lib/cjs/appui-react/statusfields/SelectionCount.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionInfo.d.ts +2 -2
- package/lib/cjs/appui-react/statusfields/SelectionInfo.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts +4 -4
- package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionScope.js +4 -4
- package/lib/cjs/appui-react/statusfields/SelectionScope.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionScope.scss +1 -1
- package/lib/cjs/appui-react/statusfields/SnapMode.d.ts +2 -2
- package/lib/cjs/appui-react/statusfields/SnapMode.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/SnapMode.js +12 -11
- package/lib/cjs/appui-react/statusfields/SnapMode.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts +1 -1
- package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +1 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +2 -2
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js +22 -17
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.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/ToolbarComposer.d.ts +2 -2
- package/lib/cjs/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.d.ts +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.js +1 -0
- package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.js.map +1 -1
- package/lib/cjs/appui-react/toolsettings/ToolInformation.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolsettings/ToolInformation.js +1 -0
- package/lib/cjs/appui-react/toolsettings/ToolInformation.js.map +1 -1
- package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.d.ts +4 -4
- package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
- package/lib/cjs/appui-react/uistate/useUiStateStorage.d.ts +1 -1
- package/lib/cjs/appui-react/uistate/useUiStateStorage.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Content.d.ts +2 -2
- package/lib/cjs/appui-react/widget-panels/Content.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Content.js +11 -10
- package/lib/cjs/appui-react/widget-panels/Content.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/FloatingWidget.d.ts +2 -2
- package/lib/cjs/appui-react/widget-panels/FloatingWidget.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/FloatingWidget.js +2 -2
- package/lib/cjs/appui-react/widget-panels/FloatingWidget.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts +23 -38
- package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Frontstage.js +283 -411
- package/lib/cjs/appui-react/widget-panels/Frontstage.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Frontstage.scss +6 -2
- package/lib/cjs/appui-react/widget-panels/FrontstageContent.d.ts +5 -2
- package/lib/cjs/appui-react/widget-panels/FrontstageContent.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.d.ts +5 -2
- package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/StatusBar.d.ts +2 -2
- package/lib/cjs/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Tab.d.ts +3 -3
- package/lib/cjs/appui-react/widget-panels/Tab.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Tab.js +5 -5
- package/lib/cjs/appui-react/widget-panels/Tab.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/ToolSettings.d.ts +6 -6
- package/lib/cjs/appui-react/widget-panels/ToolSettings.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/ToolSettings.js +11 -8
- package/lib/cjs/appui-react/widget-panels/ToolSettings.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Toolbars.d.ts +2 -2
- package/lib/cjs/appui-react/widget-panels/Toolbars.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/useTransientState.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/useTransientState.js +6 -2
- package/lib/cjs/appui-react/widget-panels/useTransientState.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/useWidgetDirection.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/useWidgetDirection.js +9 -6
- package/lib/cjs/appui-react/widget-panels/useWidgetDirection.js.map +1 -1
- package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts +2 -2
- package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/BackstageAppButton.js +3 -3
- package/lib/cjs/appui-react/widgets/BackstageAppButton.js.map +1 -1
- package/lib/cjs/appui-react/widgets/BasicNavigationWidget.d.ts +2 -2
- package/lib/cjs/appui-react/widgets/BasicNavigationWidget.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/BasicToolWidget.d.ts +2 -2
- package/lib/cjs/appui-react/widgets/BasicToolWidget.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.d.ts +1 -1
- package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.d.ts +3 -3
- package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js +4 -4
- package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
- package/lib/cjs/appui-react/widgets/ToolWidgetComposer.d.ts +2 -2
- package/lib/cjs/appui-react/widgets/ToolWidgetComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/ToolWidgetComposer.js +3 -3
- package/lib/cjs/appui-react/widgets/ToolWidgetComposer.js.map +1 -1
- package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.d.ts +2 -2
- package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetDef.js +2 -0
- package/lib/cjs/appui-react/widgets/WidgetDef.js.map +1 -1
- package/lib/cjs/appui-react/widgets/useWidget.d.ts +17 -0
- package/lib/cjs/appui-react/widgets/useWidget.d.ts.map +1 -0
- package/lib/cjs/appui-react/widgets/useWidget.js +71 -0
- package/lib/cjs/appui-react/widgets/useWidget.js.map +1 -0
- package/lib/cjs/appui-react.d.ts +2 -0
- package/lib/cjs/appui-react.d.ts.map +1 -1
- package/lib/cjs/appui-react.js +2 -0
- package/lib/cjs/appui-react.js.map +1 -1
- package/lib/esm/appui-react/UiFramework.d.ts.map +1 -1
- package/lib/esm/appui-react/UiFramework.js +6 -0
- package/lib/esm/appui-react/UiFramework.js.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawDialog.d.ts +2 -2
- package/lib/esm/appui-react/accudraw/AccuDrawDialog.d.ts.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.d.ts +2 -2
- package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.d.ts.map +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawWidget.d.ts +2 -2
- package/lib/esm/appui-react/accudraw/AccuDrawWidget.d.ts.map +1 -1
- package/lib/esm/appui-react/accudraw/Calculator.d.ts +1 -1
- package/lib/esm/appui-react/accudraw/CalculatorPopup.d.ts +1 -1
- package/lib/esm/appui-react/accudraw/MenuButton.d.ts +1 -1
- package/lib/esm/appui-react/accudraw/MenuButtonPopup.d.ts +1 -1
- package/lib/esm/appui-react/accudraw/SquareButton.d.ts +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposer.d.ts +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposer.js +6 -6
- package/lib/esm/appui-react/backstage/BackstageComposer.js.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposerItem.d.ts +4 -4
- package/lib/esm/appui-react/backstage/BackstageComposerItem.d.ts.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposerItem.js +5 -5
- package/lib/esm/appui-react/backstage/BackstageComposerItem.js.map +1 -1
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts +1 -1
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js +31 -13
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
- package/lib/esm/appui-react/childwindow/PopoutWidget.d.ts +2 -2
- package/lib/esm/appui-react/childwindow/PopoutWidget.d.ts.map +1 -1
- package/lib/esm/appui-react/configurableui/ConfigurableUiContent.d.ts +1 -1
- package/lib/esm/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
- package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.d.ts.map +1 -1
- package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js +2 -0
- package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
- package/lib/esm/appui-react/configurableui/configurableui.scss +1 -1
- package/lib/esm/appui-react/content/ContentControl.d.ts.map +1 -1
- package/lib/esm/appui-react/content/ContentControl.js +1 -0
- package/lib/esm/appui-react/content/ContentControl.js.map +1 -1
- package/lib/esm/appui-react/content/ContentGroup.d.ts.map +1 -1
- package/lib/esm/appui-react/content/ContentGroup.js +2 -0
- package/lib/esm/appui-react/content/ContentGroup.js.map +1 -1
- package/lib/esm/appui-react/content/ContentLayout.d.ts +1 -1
- package/lib/esm/appui-react/content/ContentLayout.d.ts.map +1 -1
- package/lib/esm/appui-react/content/ContentLayout.js +1 -0
- package/lib/esm/appui-react/content/ContentLayout.js.map +1 -1
- package/lib/esm/appui-react/content/DefaultViewOverlay.d.ts +2 -2
- package/lib/esm/appui-react/content/DefaultViewOverlay.d.ts.map +1 -1
- package/lib/esm/appui-react/content/FloatingViewportContent.d.ts +3 -3
- package/lib/esm/appui-react/content/FloatingViewportContent.d.ts.map +1 -1
- package/lib/esm/appui-react/content/IModelViewport.d.ts +1 -1
- package/lib/esm/appui-react/content/IModelViewport.d.ts.map +1 -1
- package/lib/esm/appui-react/content/IModelViewport.js +1 -0
- package/lib/esm/appui-react/content/IModelViewport.js.map +1 -1
- package/lib/esm/appui-react/content/InternalContentViewManager.d.ts.map +1 -1
- package/lib/esm/appui-react/content/InternalContentViewManager.js +1 -0
- package/lib/esm/appui-react/content/InternalContentViewManager.js.map +1 -1
- package/lib/esm/appui-react/content/split-pane/Pane.d.ts +1 -1
- package/lib/esm/appui-react/content/split-pane/Pane.d.ts.map +1 -1
- package/lib/esm/appui-react/content/split-pane/Resizer.d.ts +1 -1
- package/lib/esm/appui-react/content/split-pane/Resizer.d.ts.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/cursor/CursorInformation.d.ts.map +1 -1
- package/lib/esm/appui-react/cursor/CursorInformation.js +1 -0
- package/lib/esm/appui-react/cursor/CursorInformation.js.map +1 -1
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.d.ts +5 -5
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js +5 -5
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts.map +1 -1
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.js +3 -0
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
- package/lib/esm/appui-react/dialog/ContentDialog.d.ts +1 -1
- package/lib/esm/appui-react/dialog/ContentDialog.d.ts.map +1 -1
- package/lib/esm/appui-react/dialog/DialogManagerBase.d.ts.map +1 -1
- package/lib/esm/appui-react/dialog/DialogManagerBase.js +1 -0
- package/lib/esm/appui-react/dialog/DialogManagerBase.js.map +1 -1
- package/lib/esm/appui-react/dialog/UiDataProvidedDialog.d.ts +2 -2
- package/lib/esm/appui-react/dialog/UiDataProvidedDialog.d.ts.map +1 -1
- package/lib/esm/appui-react/dialog/UiDataProvidedDialog.js +5 -5
- package/lib/esm/appui-react/dialog/UiDataProvidedDialog.js.map +1 -1
- package/lib/esm/appui-react/feedback/ElementTooltip.d.ts +4 -4
- package/lib/esm/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
- package/lib/esm/appui-react/feedback/ElementTooltip.js +4 -3
- package/lib/esm/appui-react/feedback/ElementTooltip.js.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkContent.d.ts.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkContent.js +2 -0
- package/lib/esm/appui-react/framework/FrameworkContent.js.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkFrontstages.d.ts.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkFrontstages.js +8 -0
- package/lib/esm/appui-react/framework/FrameworkFrontstages.js.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkToolSettings.d.ts.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkToolSettings.js +1 -0
- package/lib/esm/appui-react/framework/FrameworkToolSettings.js.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts +14 -7
- package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageDef.js +34 -14
- package/lib/esm/appui-react/frontstage/FrontstageDef.js.map +1 -1
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js +15 -4
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
- package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts +3 -3
- package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/ModalFrontstage.js +5 -5
- package/lib/esm/appui-react/frontstage/ModalFrontstage.js.map +1 -1
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js +1 -1
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.d.ts.map +1 -1
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.js +1 -0
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.js.map +1 -1
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts.map +1 -1
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.js +1 -0
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
- package/lib/esm/appui-react/layout/_prefix.scss +33 -0
- package/lib/esm/appui-react/layout/_safearea.scss +26 -0
- package/lib/esm/appui-react/layout/_scrollbar.scss +20 -0
- package/lib/esm/appui-react/layout/_target.scss +10 -0
- package/lib/esm/appui-react/layout/_widgetopacity.scss +13 -0
- package/lib/esm/appui-react/layout/backstage/Backstage.d.ts +42 -0
- package/lib/esm/appui-react/layout/backstage/Backstage.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/backstage/Backstage.js +50 -0
- package/lib/esm/appui-react/layout/backstage/Backstage.js.map +1 -0
- package/lib/esm/appui-react/layout/backstage/Backstage.scss +90 -0
- package/lib/esm/appui-react/layout/backstage/Item.d.ts +38 -0
- package/lib/esm/appui-react/layout/backstage/Item.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/backstage/Item.js +29 -0
- package/lib/esm/appui-react/layout/backstage/Item.js.map +1 -0
- package/lib/esm/appui-react/layout/backstage/Item.scss +103 -0
- package/lib/esm/appui-react/layout/backstage/Separator.d.ts +13 -0
- package/lib/esm/appui-react/layout/backstage/Separator.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/backstage/Separator.js +20 -0
- package/lib/esm/appui-react/layout/backstage/Separator.js.map +1 -0
- package/lib/esm/appui-react/layout/backstage/Separator.scss +10 -0
- package/lib/esm/appui-react/layout/backstage/_variables.scss +32 -0
- package/lib/esm/appui-react/layout/base/DragManager.d.ts +183 -0
- package/lib/esm/appui-react/layout/base/DragManager.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/base/DragManager.js +478 -0
- package/lib/esm/appui-react/layout/base/DragManager.js.map +1 -0
- package/lib/esm/appui-react/layout/base/Ellipsis.d.ts +11 -0
- package/lib/esm/appui-react/layout/base/Ellipsis.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/base/Ellipsis.js +21 -0
- package/lib/esm/appui-react/layout/base/Ellipsis.js.map +1 -0
- package/lib/esm/appui-react/layout/base/Ellipsis.scss +20 -0
- package/lib/esm/appui-react/layout/base/LayoutStore.d.ts +19 -0
- package/lib/esm/appui-react/layout/base/LayoutStore.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/base/LayoutStore.js +32 -0
- package/lib/esm/appui-react/layout/base/LayoutStore.js.map +1 -0
- package/lib/esm/appui-react/layout/base/NineZone.d.ts +80 -0
- package/lib/esm/appui-react/layout/base/NineZone.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/base/NineZone.js +165 -0
- package/lib/esm/appui-react/layout/base/NineZone.js.map +1 -0
- package/lib/esm/appui-react/layout/base/SafeAreaInsets.d.ts +18 -0
- package/lib/esm/appui-react/layout/base/SafeAreaInsets.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/base/SafeAreaInsets.js +33 -0
- package/lib/esm/appui-react/layout/base/SafeAreaInsets.js.map +1 -0
- package/lib/esm/appui-react/layout/base/usePointerCaptor.d.ts +15 -0
- package/lib/esm/appui-react/layout/base/usePointerCaptor.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/base/usePointerCaptor.js +102 -0
- package/lib/esm/appui-react/layout/base/usePointerCaptor.js.map +1 -0
- package/lib/esm/appui-react/layout/footer/Footer.d.ts +33 -0
- package/lib/esm/appui-react/layout/footer/Footer.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/footer/Footer.js +26 -0
- package/lib/esm/appui-react/layout/footer/Footer.js.map +1 -0
- package/lib/esm/appui-react/layout/footer/Footer.scss +61 -0
- package/lib/esm/appui-react/layout/footer/Indicator.d.ts +23 -0
- package/lib/esm/appui-react/layout/footer/Indicator.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/footer/Indicator.js +20 -0
- package/lib/esm/appui-react/layout/footer/Indicator.js.map +1 -0
- package/lib/esm/appui-react/layout/footer/Indicator.scss +39 -0
- package/lib/esm/appui-react/layout/footer/Popup.d.ts +12 -0
- package/lib/esm/appui-react/layout/footer/Popup.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/footer/Popup.js +21 -0
- package/lib/esm/appui-react/layout/footer/Popup.js.map +1 -0
- package/lib/esm/appui-react/layout/footer/Popup.scss +19 -0
- package/lib/esm/appui-react/layout/footer/_variables.scss +43 -0
- package/lib/esm/appui-react/layout/footer/dialog/Button.d.ts +23 -0
- package/lib/esm/appui-react/layout/footer/dialog/Button.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/footer/dialog/Button.js +21 -0
- package/lib/esm/appui-react/layout/footer/dialog/Button.js.map +1 -0
- package/lib/esm/appui-react/layout/footer/dialog/Button.scss +23 -0
- package/lib/esm/appui-react/layout/footer/dialog/Dialog.d.ts +22 -0
- package/lib/esm/appui-react/layout/footer/dialog/Dialog.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/footer/dialog/Dialog.js +22 -0
- package/lib/esm/appui-react/layout/footer/dialog/Dialog.js.map +1 -0
- package/lib/esm/appui-react/layout/footer/dialog/Dialog.scss +14 -0
- package/lib/esm/appui-react/layout/footer/dialog/TitleBar.d.ts +21 -0
- package/lib/esm/appui-react/layout/footer/dialog/TitleBar.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/footer/dialog/TitleBar.js +21 -0
- package/lib/esm/appui-react/layout/footer/dialog/TitleBar.js.map +1 -0
- package/lib/esm/appui-react/layout/footer/dialog/TitleBar.scss +30 -0
- package/lib/esm/appui-react/layout/footer/dialog/_variables.scss +8 -0
- package/lib/esm/appui-react/layout/footer/message-center/Dialog.d.ts +29 -0
- package/lib/esm/appui-react/layout/footer/message-center/Dialog.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/footer/message-center/Dialog.js +28 -0
- package/lib/esm/appui-react/layout/footer/message-center/Dialog.js.map +1 -0
- package/lib/esm/appui-react/layout/footer/message-center/Dialog.scss +64 -0
- package/lib/esm/appui-react/layout/footer/message-center/Indicator.d.ts +29 -0
- package/lib/esm/appui-react/layout/footer/message-center/Indicator.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/footer/message-center/Indicator.js +29 -0
- package/lib/esm/appui-react/layout/footer/message-center/Indicator.js.map +1 -0
- package/lib/esm/appui-react/layout/footer/message-center/Indicator.scss +106 -0
- package/lib/esm/appui-react/layout/footer/message-center/Message.d.ts +22 -0
- package/lib/esm/appui-react/layout/footer/message-center/Message.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/footer/message-center/Message.js +22 -0
- package/lib/esm/appui-react/layout/footer/message-center/Message.js.map +1 -0
- package/lib/esm/appui-react/layout/footer/message-center/Message.scss +41 -0
- package/lib/esm/appui-react/layout/footer/message-center/Tab.d.ts +24 -0
- package/lib/esm/appui-react/layout/footer/message-center/Tab.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/footer/message-center/Tab.js +22 -0
- package/lib/esm/appui-react/layout/footer/message-center/Tab.js.map +1 -0
- package/lib/esm/appui-react/layout/footer/message-center/Tab.scss +60 -0
- package/lib/esm/appui-react/layout/footer/message-center/_variables.scss +5 -0
- package/lib/esm/appui-react/layout/footer/snap-mode/Indicator.d.ts +27 -0
- package/lib/esm/appui-react/layout/footer/snap-mode/Indicator.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/footer/snap-mode/Indicator.js +25 -0
- package/lib/esm/appui-react/layout/footer/snap-mode/Indicator.js.map +1 -0
- package/lib/esm/appui-react/layout/footer/snap-mode/Indicator.scss +44 -0
- package/lib/esm/appui-react/layout/footer/snap-mode/Panel.d.ts +24 -0
- package/lib/esm/appui-react/layout/footer/snap-mode/Panel.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/footer/snap-mode/Panel.js +25 -0
- package/lib/esm/appui-react/layout/footer/snap-mode/Panel.js.map +1 -0
- package/lib/esm/appui-react/layout/footer/snap-mode/Panel.scss +22 -0
- package/lib/esm/appui-react/layout/footer/snap-mode/Snap.d.ts +26 -0
- package/lib/esm/appui-react/layout/footer/snap-mode/Snap.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/footer/snap-mode/Snap.js +24 -0
- package/lib/esm/appui-react/layout/footer/snap-mode/Snap.js.map +1 -0
- package/lib/esm/appui-react/layout/footer/snap-mode/Snap.scss +48 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Dialog.d.ts +26 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Dialog.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Dialog.js +25 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Dialog.js.map +1 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Dialog.scss +18 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Indicator.d.ts +27 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Indicator.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Indicator.js +26 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Indicator.js.map +1 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Indicator.scss +80 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Instruction.d.ts +24 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Instruction.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Instruction.js +27 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Instruction.js.map +1 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Instruction.scss +30 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Item.d.ts +20 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Item.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Item.js +20 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Item.js.map +1 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Item.scss +13 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/NewDot.d.ts +13 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/NewDot.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/NewDot.js +20 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/NewDot.js.map +1 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/NewDot.scss +13 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Separator.d.ts +20 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Separator.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Separator.js +22 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Separator.js.map +1 -0
- package/lib/esm/appui-react/layout/footer/tool-assistance/Separator.scss +20 -0
- package/lib/esm/appui-react/layout/outline/PanelOutline.d.ts +10 -0
- package/lib/esm/appui-react/layout/outline/PanelOutline.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/outline/PanelOutline.js +64 -0
- package/lib/esm/appui-react/layout/outline/PanelOutline.js.map +1 -0
- package/lib/esm/appui-react/layout/outline/PanelOutline.scss +72 -0
- package/lib/esm/appui-react/layout/outline/SectionOutline.d.ts +13 -0
- package/lib/esm/appui-react/layout/outline/SectionOutline.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/outline/SectionOutline.js +69 -0
- package/lib/esm/appui-react/layout/outline/SectionOutline.js.map +1 -0
- package/lib/esm/appui-react/layout/outline/SectionOutline.scss +47 -0
- package/lib/esm/appui-react/layout/outline/TabOutline.d.ts +8 -0
- package/lib/esm/appui-react/layout/outline/TabOutline.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/outline/TabOutline.js +38 -0
- package/lib/esm/appui-react/layout/outline/TabOutline.js.map +1 -0
- package/lib/esm/appui-react/layout/outline/TabOutline.scss +18 -0
- package/lib/esm/appui-react/layout/outline/WidgetOutline.d.ts +8 -0
- package/lib/esm/appui-react/layout/outline/WidgetOutline.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/outline/WidgetOutline.js +38 -0
- package/lib/esm/appui-react/layout/outline/WidgetOutline.js.map +1 -0
- package/lib/esm/appui-react/layout/outline/WidgetOutline.scss +16 -0
- package/lib/esm/appui-react/layout/outline/_variables.scss +7 -0
- package/lib/esm/appui-react/layout/popup/Tooltip.d.ts +42 -0
- package/lib/esm/appui-react/layout/popup/Tooltip.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/popup/Tooltip.js +69 -0
- package/lib/esm/appui-react/layout/popup/Tooltip.js.map +1 -0
- package/lib/esm/appui-react/layout/popup/Tooltip.scss +24 -0
- package/lib/esm/appui-react/layout/state/DropTargetState.d.ts +67 -0
- package/lib/esm/appui-react/layout/state/DropTargetState.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/state/DropTargetState.js +40 -0
- package/lib/esm/appui-react/layout/state/DropTargetState.js.map +1 -0
- package/lib/esm/appui-react/layout/state/NineZoneAction.d.ts +274 -0
- package/lib/esm/appui-react/layout/state/NineZoneAction.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/state/NineZoneAction.js +9 -0
- package/lib/esm/appui-react/layout/state/NineZoneAction.js.map +1 -0
- package/lib/esm/appui-react/layout/state/NineZoneState.d.ts +24 -0
- package/lib/esm/appui-react/layout/state/NineZoneState.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/state/NineZoneState.js +36 -0
- package/lib/esm/appui-react/layout/state/NineZoneState.js.map +1 -0
- package/lib/esm/appui-react/layout/state/NineZoneStateReducer.d.ts +8 -0
- package/lib/esm/appui-react/layout/state/NineZoneStateReducer.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/state/NineZoneStateReducer.js +810 -0
- package/lib/esm/appui-react/layout/state/NineZoneStateReducer.js.map +1 -0
- package/lib/esm/appui-react/layout/state/PanelState.d.ts +44 -0
- package/lib/esm/appui-react/layout/state/PanelState.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/state/PanelState.js +17 -0
- package/lib/esm/appui-react/layout/state/PanelState.js.map +1 -0
- package/lib/esm/appui-react/layout/state/SavedTabState.d.ts +24 -0
- package/lib/esm/appui-react/layout/state/SavedTabState.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/state/SavedTabState.js +9 -0
- package/lib/esm/appui-react/layout/state/SavedTabState.js.map +1 -0
- package/lib/esm/appui-react/layout/state/TabLocation.d.ts +35 -0
- package/lib/esm/appui-react/layout/state/TabLocation.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/state/TabLocation.js +53 -0
- package/lib/esm/appui-react/layout/state/TabLocation.js.map +1 -0
- package/lib/esm/appui-react/layout/state/TabState.d.ts +34 -0
- package/lib/esm/appui-react/layout/state/TabState.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/state/TabState.js +9 -0
- package/lib/esm/appui-react/layout/state/TabState.js.map +1 -0
- package/lib/esm/appui-react/layout/state/ToolSettingsState.d.ts +18 -0
- package/lib/esm/appui-react/layout/state/ToolSettingsState.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/state/ToolSettingsState.js +9 -0
- package/lib/esm/appui-react/layout/state/ToolSettingsState.js.map +1 -0
- package/lib/esm/appui-react/layout/state/WidgetLocation.d.ts +32 -0
- package/lib/esm/appui-react/layout/state/WidgetLocation.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/state/WidgetLocation.js +50 -0
- package/lib/esm/appui-react/layout/state/WidgetLocation.js.map +1 -0
- package/lib/esm/appui-react/layout/state/WidgetRestoreState.d.ts +23 -0
- package/lib/esm/appui-react/layout/state/WidgetRestoreState.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/state/WidgetRestoreState.js +16 -0
- package/lib/esm/appui-react/layout/state/WidgetRestoreState.js.map +1 -0
- package/lib/esm/appui-react/layout/state/WidgetState.d.ts +48 -0
- package/lib/esm/appui-react/layout/state/WidgetState.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/state/WidgetState.js +9 -0
- package/lib/esm/appui-react/layout/state/WidgetState.js.map +1 -0
- package/lib/esm/appui-react/layout/state/activateDroppedTab.d.ts +5 -0
- package/lib/esm/appui-react/layout/state/activateDroppedTab.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/state/activateDroppedTab.js +34 -0
- package/lib/esm/appui-react/layout/state/activateDroppedTab.js.map +1 -0
- package/lib/esm/appui-react/layout/state/internal/NineZoneStateHelpers.d.ts +39 -0
- package/lib/esm/appui-react/layout/state/internal/NineZoneStateHelpers.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/state/internal/NineZoneStateHelpers.js +89 -0
- package/lib/esm/appui-react/layout/state/internal/NineZoneStateHelpers.js.map +1 -0
- package/lib/esm/appui-react/layout/state/internal/PanelStateHelpers.d.ts +26 -0
- package/lib/esm/appui-react/layout/state/internal/PanelStateHelpers.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/state/internal/PanelStateHelpers.js +96 -0
- package/lib/esm/appui-react/layout/state/internal/PanelStateHelpers.js.map +1 -0
- package/lib/esm/appui-react/layout/state/internal/TabStateHelpers.d.ts +41 -0
- package/lib/esm/appui-react/layout/state/internal/TabStateHelpers.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/state/internal/TabStateHelpers.js +184 -0
- package/lib/esm/appui-react/layout/state/internal/TabStateHelpers.js.map +1 -0
- package/lib/esm/appui-react/layout/state/internal/ToolSettingsStateHelpers.d.ts +14 -0
- package/lib/esm/appui-react/layout/state/internal/ToolSettingsStateHelpers.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/state/internal/ToolSettingsStateHelpers.js +55 -0
- package/lib/esm/appui-react/layout/state/internal/ToolSettingsStateHelpers.js.map +1 -0
- package/lib/esm/appui-react/layout/state/internal/WidgetStateHelpers.d.ts +48 -0
- package/lib/esm/appui-react/layout/state/internal/WidgetStateHelpers.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/state/internal/WidgetStateHelpers.js +298 -0
- package/lib/esm/appui-react/layout/state/internal/WidgetStateHelpers.js.map +1 -0
- package/lib/esm/appui-react/layout/target/MergeTarget.d.ts +13 -0
- package/lib/esm/appui-react/layout/target/MergeTarget.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/target/MergeTarget.js +43 -0
- package/lib/esm/appui-react/layout/target/MergeTarget.js.map +1 -0
- package/lib/esm/appui-react/layout/target/MergeTarget.scss +17 -0
- package/lib/esm/appui-react/layout/target/PanelTarget.d.ts +13 -0
- package/lib/esm/appui-react/layout/target/PanelTarget.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/target/PanelTarget.js +41 -0
- package/lib/esm/appui-react/layout/target/PanelTarget.js.map +1 -0
- package/lib/esm/appui-react/layout/target/PanelTarget.scss +27 -0
- package/lib/esm/appui-react/layout/target/PanelTargets.d.ts +8 -0
- package/lib/esm/appui-react/layout/target/PanelTargets.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/target/PanelTargets.js +63 -0
- package/lib/esm/appui-react/layout/target/PanelTargets.js.map +1 -0
- package/lib/esm/appui-react/layout/target/PanelTargets.scss +50 -0
- package/lib/esm/appui-react/layout/target/SectionTarget.d.ts +17 -0
- package/lib/esm/appui-react/layout/target/SectionTarget.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/target/SectionTarget.js +61 -0
- package/lib/esm/appui-react/layout/target/SectionTarget.js.map +1 -0
- package/lib/esm/appui-react/layout/target/SectionTarget.scss +50 -0
- package/lib/esm/appui-react/layout/target/SectionTargets.d.ts +13 -0
- package/lib/esm/appui-react/layout/target/SectionTargets.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/target/SectionTargets.js +22 -0
- package/lib/esm/appui-react/layout/target/SectionTargets.js.map +1 -0
- package/lib/esm/appui-react/layout/target/SectionTargets.scss +13 -0
- package/lib/esm/appui-react/layout/target/TabTarget.d.ts +8 -0
- package/lib/esm/appui-react/layout/target/TabTarget.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/target/TabTarget.js +59 -0
- package/lib/esm/appui-react/layout/target/TabTarget.js.map +1 -0
- package/lib/esm/appui-react/layout/target/TabTarget.scss +30 -0
- package/lib/esm/appui-react/layout/target/TargetContainer.d.ts +14 -0
- package/lib/esm/appui-react/layout/target/TargetContainer.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/target/TargetContainer.js +16 -0
- package/lib/esm/appui-react/layout/target/TargetContainer.js.map +1 -0
- package/lib/esm/appui-react/layout/target/TargetContainer.scss +17 -0
- package/lib/esm/appui-react/layout/target/TitleBarTarget.d.ts +8 -0
- package/lib/esm/appui-react/layout/target/TitleBarTarget.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/target/TitleBarTarget.js +48 -0
- package/lib/esm/appui-react/layout/target/TitleBarTarget.js.map +1 -0
- package/lib/esm/appui-react/layout/target/TitleBarTarget.scss +17 -0
- package/lib/esm/appui-react/layout/target/WidgetTarget.d.ts +8 -0
- package/lib/esm/appui-react/layout/target/WidgetTarget.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/target/WidgetTarget.js +21 -0
- package/lib/esm/appui-react/layout/target/WidgetTarget.js.map +1 -0
- package/lib/esm/appui-react/layout/target/WidgetTarget.scss +11 -0
- package/lib/esm/appui-react/layout/target/_variables.scss +64 -0
- package/lib/esm/appui-react/layout/target/useAllowedPanelTarget.d.ts +5 -0
- package/lib/esm/appui-react/layout/target/useAllowedPanelTarget.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/target/useAllowedPanelTarget.js +20 -0
- package/lib/esm/appui-react/layout/target/useAllowedPanelTarget.js.map +1 -0
- package/lib/esm/appui-react/layout/target/useAllowedSideTarget.d.ts +9 -0
- package/lib/esm/appui-react/layout/target/useAllowedSideTarget.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/target/useAllowedSideTarget.js +51 -0
- package/lib/esm/appui-react/layout/target/useAllowedSideTarget.js.map +1 -0
- package/lib/esm/appui-react/layout/target/useAllowedWidgetTarget.d.ts +6 -0
- package/lib/esm/appui-react/layout/target/useAllowedWidgetTarget.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/target/useAllowedWidgetTarget.js +29 -0
- package/lib/esm/appui-react/layout/target/useAllowedWidgetTarget.js.map +1 -0
- package/lib/esm/appui-react/layout/tool-settings/Docked.d.ts +50 -0
- package/lib/esm/appui-react/layout/tool-settings/Docked.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/tool-settings/Docked.js +255 -0
- package/lib/esm/appui-react/layout/tool-settings/Docked.js.map +1 -0
- package/lib/esm/appui-react/layout/tool-settings/Docked.scss +48 -0
- package/lib/esm/appui-react/layout/tool-settings/Handle.d.ts +17 -0
- package/lib/esm/appui-react/layout/tool-settings/Handle.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/tool-settings/Handle.js +41 -0
- package/lib/esm/appui-react/layout/tool-settings/Handle.js.map +1 -0
- package/lib/esm/appui-react/layout/tool-settings/Handle.scss +23 -0
- package/lib/esm/appui-react/layout/tool-settings/Overflow.d.ts +20 -0
- package/lib/esm/appui-react/layout/tool-settings/Overflow.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/tool-settings/Overflow.js +27 -0
- package/lib/esm/appui-react/layout/tool-settings/Overflow.js.map +1 -0
- package/lib/esm/appui-react/layout/tool-settings/Overflow.scss +28 -0
- package/lib/esm/appui-react/layout/tool-settings/Panel.d.ts +21 -0
- package/lib/esm/appui-react/layout/tool-settings/Panel.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/tool-settings/Panel.js +19 -0
- package/lib/esm/appui-react/layout/tool-settings/Panel.js.map +1 -0
- package/lib/esm/appui-react/layout/tool-settings/Panel.scss +11 -0
- package/lib/esm/appui-react/layout/tool-settings/Setting.d.ts +18 -0
- package/lib/esm/appui-react/layout/tool-settings/Setting.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/tool-settings/Setting.js +22 -0
- package/lib/esm/appui-react/layout/tool-settings/Setting.js.map +1 -0
- package/lib/esm/appui-react/layout/tool-settings/Setting.scss +22 -0
- package/lib/esm/appui-react/layout/widget/Button.d.ts +14 -0
- package/lib/esm/appui-react/layout/widget/Button.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/Button.js +14 -0
- package/lib/esm/appui-react/layout/widget/Button.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/Buttons.d.ts +12 -0
- package/lib/esm/appui-react/layout/widget/Buttons.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/Buttons.js +79 -0
- package/lib/esm/appui-react/layout/widget/Buttons.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/Buttons.scss +10 -0
- package/lib/esm/appui-react/layout/widget/Content.d.ts +19 -0
- package/lib/esm/appui-react/layout/widget/Content.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/Content.js +32 -0
- package/lib/esm/appui-react/layout/widget/Content.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/Content.scss +13 -0
- package/lib/esm/appui-react/layout/widget/ContentContainer.d.ts +12 -0
- package/lib/esm/appui-react/layout/widget/ContentContainer.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/ContentContainer.js +35 -0
- package/lib/esm/appui-react/layout/widget/ContentContainer.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/ContentContainer.scss +24 -0
- package/lib/esm/appui-react/layout/widget/ContentManager.d.ts +30 -0
- package/lib/esm/appui-react/layout/widget/ContentManager.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/ContentManager.js +40 -0
- package/lib/esm/appui-react/layout/widget/ContentManager.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/ContentRenderer.d.ts +20 -0
- package/lib/esm/appui-react/layout/widget/ContentRenderer.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/ContentRenderer.js +75 -0
- package/lib/esm/appui-react/layout/widget/ContentRenderer.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/ContentRenderer.scss +18 -0
- package/lib/esm/appui-react/layout/widget/Dock.d.ts +7 -0
- package/lib/esm/appui-react/layout/widget/Dock.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/Dock.js +22 -0
- package/lib/esm/appui-react/layout/widget/Dock.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/FloatingTab.d.ts +10 -0
- package/lib/esm/appui-react/layout/widget/FloatingTab.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/FloatingTab.js +65 -0
- package/lib/esm/appui-react/layout/widget/FloatingTab.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/FloatingTab.scss +35 -0
- package/lib/esm/appui-react/layout/widget/FloatingWidget.d.ts +33 -0
- package/lib/esm/appui-react/layout/widget/FloatingWidget.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/FloatingWidget.js +270 -0
- package/lib/esm/appui-react/layout/widget/FloatingWidget.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/FloatingWidget.scss +140 -0
- package/lib/esm/appui-react/layout/widget/FloatingWidgets.d.ts +9 -0
- package/lib/esm/appui-react/layout/widget/FloatingWidgets.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/FloatingWidgets.js +23 -0
- package/lib/esm/appui-react/layout/widget/FloatingWidgets.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/Menu.d.ts +16 -0
- package/lib/esm/appui-react/layout/widget/Menu.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/Menu.js +19 -0
- package/lib/esm/appui-react/layout/widget/Menu.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/Menu.scss +14 -0
- package/lib/esm/appui-react/layout/widget/MenuTab.d.ts +13 -0
- package/lib/esm/appui-react/layout/widget/MenuTab.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/MenuTab.js +52 -0
- package/lib/esm/appui-react/layout/widget/MenuTab.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/MenuTab.scss +58 -0
- package/lib/esm/appui-react/layout/widget/NavigationArea.d.ts +30 -0
- package/lib/esm/appui-react/layout/widget/NavigationArea.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/NavigationArea.js +22 -0
- package/lib/esm/appui-react/layout/widget/NavigationArea.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/NavigationArea.scss +55 -0
- package/lib/esm/appui-react/layout/widget/Overflow.d.ts +20 -0
- package/lib/esm/appui-react/layout/widget/Overflow.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/Overflow.js +56 -0
- package/lib/esm/appui-react/layout/widget/Overflow.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/Overflow.scss +59 -0
- package/lib/esm/appui-react/layout/widget/PanelWidget.d.ts +22 -0
- package/lib/esm/appui-react/layout/widget/PanelWidget.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/PanelWidget.js +149 -0
- package/lib/esm/appui-react/layout/widget/PanelWidget.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/PanelWidget.scss +62 -0
- package/lib/esm/appui-react/layout/widget/PinToggle.d.ts +7 -0
- package/lib/esm/appui-react/layout/widget/PinToggle.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/PinToggle.js +30 -0
- package/lib/esm/appui-react/layout/widget/PinToggle.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/PopoutToggle.d.ts +9 -0
- package/lib/esm/appui-react/layout/widget/PopoutToggle.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/PopoutToggle.js +34 -0
- package/lib/esm/appui-react/layout/widget/PopoutToggle.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/PreviewHorizontalPanelAlign.d.ts +29 -0
- package/lib/esm/appui-react/layout/widget/PreviewHorizontalPanelAlign.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/PreviewHorizontalPanelAlign.js +113 -0
- package/lib/esm/appui-react/layout/widget/PreviewHorizontalPanelAlign.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/PreviewMaximizeToggle.d.ts +30 -0
- package/lib/esm/appui-react/layout/widget/PreviewMaximizeToggle.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/PreviewMaximizeToggle.js +58 -0
- package/lib/esm/appui-react/layout/widget/PreviewMaximizeToggle.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/SendBack.d.ts +41 -0
- package/lib/esm/appui-react/layout/widget/SendBack.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/SendBack.js +104 -0
- package/lib/esm/appui-react/layout/widget/SendBack.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/Tab.d.ts +44 -0
- package/lib/esm/appui-react/layout/widget/Tab.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/Tab.js +246 -0
- package/lib/esm/appui-react/layout/widget/Tab.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/Tab.scss +82 -0
- package/lib/esm/appui-react/layout/widget/TabBar.d.ts +18 -0
- package/lib/esm/appui-react/layout/widget/TabBar.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/TabBar.js +122 -0
- package/lib/esm/appui-react/layout/widget/TabBar.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/TabBar.scss +30 -0
- package/lib/esm/appui-react/layout/widget/Tabs.d.ts +24 -0
- package/lib/esm/appui-react/layout/widget/Tabs.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/Tabs.js +83 -0
- package/lib/esm/appui-react/layout/widget/Tabs.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/Tabs.scss +10 -0
- package/lib/esm/appui-react/layout/widget/ToolsArea.d.ts +32 -0
- package/lib/esm/appui-react/layout/widget/ToolsArea.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/ToolsArea.js +28 -0
- package/lib/esm/appui-react/layout/widget/ToolsArea.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/ToolsArea.scss +49 -0
- package/lib/esm/appui-react/layout/widget/Widget.d.ts +38 -0
- package/lib/esm/appui-react/layout/widget/Widget.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/Widget.js +144 -0
- package/lib/esm/appui-react/layout/widget/Widget.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/Widget.scss +12 -0
- package/lib/esm/appui-react/layout/widget/_variables.scss +46 -0
- package/lib/esm/appui-react/layout/widget/tools/button/App.d.ts +24 -0
- package/lib/esm/appui-react/layout/widget/tools/button/App.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/tools/button/App.js +29 -0
- package/lib/esm/appui-react/layout/widget/tools/button/App.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/tools/button/App.scss +79 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Back.d.ts +20 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Back.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Back.js +23 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Back.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Back.scss +9 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Button.d.ts +28 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Button.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Button.js +40 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Button.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Button.scss +52 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Expandable.d.ts +20 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Expandable.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Expandable.js +22 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Expandable.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Expandable.scss +46 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Icon.d.ts +25 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Icon.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Icon.js +25 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Icon.js.map +1 -0
- package/lib/esm/appui-react/layout/widget/tools/button/Icon.scss +49 -0
- package/lib/esm/appui-react/layout/widget/tools/button/_variables.scss +38 -0
- package/lib/esm/appui-react/layout/widget/useIsToolSettingsTab.d.ts +6 -0
- package/lib/esm/appui-react/layout/widget/useIsToolSettingsTab.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget/useIsToolSettingsTab.js +16 -0
- package/lib/esm/appui-react/layout/widget/useIsToolSettingsTab.js.map +1 -0
- package/lib/esm/appui-react/layout/widget-panels/AppContent.d.ts +11 -0
- package/lib/esm/appui-react/layout/widget-panels/AppContent.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget-panels/AppContent.js +75 -0
- package/lib/esm/appui-react/layout/widget-panels/AppContent.js.map +1 -0
- package/lib/esm/appui-react/layout/widget-panels/CenterContent.d.ts +10 -0
- package/lib/esm/appui-react/layout/widget-panels/CenterContent.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget-panels/CenterContent.js +19 -0
- package/lib/esm/appui-react/layout/widget-panels/CenterContent.js.map +1 -0
- package/lib/esm/appui-react/layout/widget-panels/CenterContent.scss +7 -0
- package/lib/esm/appui-react/layout/widget-panels/Content.d.ts +21 -0
- package/lib/esm/appui-react/layout/widget-panels/Content.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget-panels/Content.js +18 -0
- package/lib/esm/appui-react/layout/widget-panels/Content.js.map +1 -0
- package/lib/esm/appui-react/layout/widget-panels/Content.scss +37 -0
- package/lib/esm/appui-react/layout/widget-panels/CursorOverlay.d.ts +14 -0
- package/lib/esm/appui-react/layout/widget-panels/CursorOverlay.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget-panels/CursorOverlay.js +29 -0
- package/lib/esm/appui-react/layout/widget-panels/CursorOverlay.js.map +1 -0
- package/lib/esm/appui-react/layout/widget-panels/CursorOverlay.scss +26 -0
- package/lib/esm/appui-react/layout/widget-panels/Expander.d.ts +17 -0
- package/lib/esm/appui-react/layout/widget-panels/Expander.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget-panels/Expander.js +58 -0
- package/lib/esm/appui-react/layout/widget-panels/Expander.js.map +1 -0
- package/lib/esm/appui-react/layout/widget-panels/Expander.scss +37 -0
- package/lib/esm/appui-react/layout/widget-panels/Grip.d.ts +15 -0
- package/lib/esm/appui-react/layout/widget-panels/Grip.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget-panels/Grip.js +203 -0
- package/lib/esm/appui-react/layout/widget-panels/Grip.js.map +1 -0
- package/lib/esm/appui-react/layout/widget-panels/Grip.scss +138 -0
- package/lib/esm/appui-react/layout/widget-panels/Panel.d.ts +37 -0
- package/lib/esm/appui-react/layout/widget-panels/Panel.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget-panels/Panel.js +118 -0
- package/lib/esm/appui-react/layout/widget-panels/Panel.js.map +1 -0
- package/lib/esm/appui-react/layout/widget-panels/Panel.scss +327 -0
- package/lib/esm/appui-react/layout/widget-panels/PanelSections.d.ts +7 -0
- package/lib/esm/appui-react/layout/widget-panels/PanelSections.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget-panels/PanelSections.js +117 -0
- package/lib/esm/appui-react/layout/widget-panels/PanelSections.js.map +1 -0
- package/lib/esm/appui-react/layout/widget-panels/PanelTypes.d.ts +15 -0
- package/lib/esm/appui-react/layout/widget-panels/PanelTypes.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget-panels/PanelTypes.js +2 -0
- package/lib/esm/appui-react/layout/widget-panels/PanelTypes.js.map +1 -0
- package/lib/esm/appui-react/layout/widget-panels/Panels.d.ts +24 -0
- package/lib/esm/appui-react/layout/widget-panels/Panels.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget-panels/Panels.js +44 -0
- package/lib/esm/appui-react/layout/widget-panels/Panels.js.map +1 -0
- package/lib/esm/appui-react/layout/widget-panels/Panels.scss +70 -0
- package/lib/esm/appui-react/layout/widget-panels/_variables.scss +6 -0
- package/lib/esm/appui-react/layout/widget-panels/useAnimatePanel.d.ts +13 -0
- package/lib/esm/appui-react/layout/widget-panels/useAnimatePanel.d.ts.map +1 -0
- package/lib/esm/appui-react/layout/widget-panels/useAnimatePanel.js +168 -0
- package/lib/esm/appui-react/layout/widget-panels/useAnimatePanel.js.map +1 -0
- package/lib/esm/appui-react/messages/ActivityMessage.d.ts +2 -2
- package/lib/esm/appui-react/messages/ActivityMessage.d.ts.map +1 -1
- package/lib/esm/appui-react/messages/HollowIcon.d.ts +2 -2
- package/lib/esm/appui-react/messages/HollowIcon.d.ts.map +1 -1
- package/lib/esm/appui-react/messages/MessageLabel.d.ts +2 -2
- package/lib/esm/appui-react/messages/MessageLabel.d.ts.map +1 -1
- package/lib/esm/appui-react/messages/MessageManager.d.ts.map +1 -1
- package/lib/esm/appui-react/messages/MessageManager.js +8 -0
- package/lib/esm/appui-react/messages/MessageManager.js.map +1 -1
- package/lib/esm/appui-react/messages/MessageSpan.d.ts +3 -3
- package/lib/esm/appui-react/messages/MessageSpan.d.ts.map +1 -1
- package/lib/esm/appui-react/messages/Pointer.d.ts +4 -4
- package/lib/esm/appui-react/messages/Pointer.d.ts.map +1 -1
- package/lib/esm/appui-react/messages/Pointer.js +7 -5
- package/lib/esm/appui-react/messages/Pointer.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/NavigationAidControl.d.ts.map +1 -1
- package/lib/esm/appui-react/navigationaids/NavigationAidControl.js +1 -0
- package/lib/esm/appui-react/navigationaids/NavigationAidControl.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 -0
- package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.d.ts +2 -2
- package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
- package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js +16 -15
- package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
- package/lib/esm/appui-react/pickers/ListPicker.d.ts +3 -3
- package/lib/esm/appui-react/pickers/ListPicker.scss +1 -1
- package/lib/esm/appui-react/pickers/ViewSelector.d.ts +1 -1
- package/lib/esm/appui-react/pickers/ViewSelector.d.ts.map +1 -1
- package/lib/esm/appui-react/pickers/ViewSelector.js +2 -0
- package/lib/esm/appui-react/pickers/ViewSelector.js.map +1 -1
- package/lib/esm/appui-react/popup/CardPopup.d.ts +2 -2
- package/lib/esm/appui-react/popup/CardPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/HTMLElementPopup.d.ts +1 -1
- package/lib/esm/appui-react/popup/InputEditorPopup.d.ts +1 -1
- package/lib/esm/appui-react/popup/KeyinPalettePanel.d.ts +2 -2
- package/lib/esm/appui-react/popup/KeyinPalettePanel.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/KeyinPalettePopup.d.ts +2 -2
- package/lib/esm/appui-react/popup/KeyinPalettePopup.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/PopupManager.d.ts +2 -2
- package/lib/esm/appui-react/popup/PopupManager.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/PopupManager.js +4 -3
- package/lib/esm/appui-react/popup/PopupManager.js.map +1 -1
- package/lib/esm/appui-react/popup/PositionPopup.d.ts +2 -2
- package/lib/esm/appui-react/popup/PositionPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/ToolSettingsPopup.d.ts +1 -1
- package/lib/esm/appui-react/popup/ToolbarPopup.d.ts +1 -1
- package/lib/esm/appui-react/preview/PreviewFeatures.d.ts +30 -3
- package/lib/esm/appui-react/preview/PreviewFeatures.d.ts.map +1 -1
- package/lib/esm/appui-react/preview/PreviewFeatures.js +3 -0
- package/lib/esm/appui-react/preview/PreviewFeatures.js.map +1 -1
- package/lib/esm/appui-react/preview/widget-action-dropdown/Button.d.ts +17 -0
- package/lib/esm/appui-react/preview/widget-action-dropdown/Button.d.ts.map +1 -0
- package/lib/esm/appui-react/preview/widget-action-dropdown/Button.js +20 -0
- package/lib/esm/appui-react/preview/widget-action-dropdown/Button.js.map +1 -0
- package/lib/esm/appui-react/preview/widget-action-dropdown/MoreButton.d.ts +13 -0
- package/lib/esm/appui-react/preview/widget-action-dropdown/MoreButton.d.ts.map +1 -0
- package/lib/esm/appui-react/preview/widget-action-dropdown/MoreButton.js +63 -0
- package/lib/esm/appui-react/preview/widget-action-dropdown/MoreButton.js.map +1 -0
- package/lib/esm/appui-react/redux/ReducerRegistry.d.ts.map +1 -1
- package/lib/esm/appui-react/redux/ReducerRegistry.js +1 -0
- package/lib/esm/appui-react/redux/ReducerRegistry.js.map +1 -1
- package/lib/esm/appui-react/redux/StateManager.d.ts.map +1 -1
- package/lib/esm/appui-react/redux/StateManager.js +1 -0
- package/lib/esm/appui-react/redux/StateManager.js.map +1 -1
- package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.d.ts +2 -2
- package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.d.ts.map +1 -1
- package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.js +3 -1
- package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
- package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.d.ts +2 -2
- package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.d.ts.map +1 -1
- package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts +2 -2
- package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts.map +1 -1
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts +2 -2
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/MenuItem.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/MenuItem.js +1 -0
- package/lib/esm/appui-react/shared/MenuItem.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts +7 -10
- package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelDef.js +18 -17
- package/lib/esm/appui-react/stagepanels/StagePanelDef.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelState.d.ts +13 -0
- package/lib/esm/appui-react/stagepanels/StagePanelState.d.ts.map +1 -0
- package/lib/esm/appui-react/stagepanels/StagePanelState.js +18 -0
- package/lib/esm/appui-react/stagepanels/StagePanelState.js.map +1 -0
- 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 +2 -2
- package/lib/esm/appui-react/statusbar/Field.js.map +1 -1
- package/lib/esm/appui-react/statusbar/Field.scss +1 -1
- package/lib/esm/appui-react/statusbar/Indicator.d.ts +1 -1
- package/lib/esm/appui-react/statusbar/Indicator.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/LabelIndicator.d.ts +2 -2
- package/lib/esm/appui-react/statusbar/LabelIndicator.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/LabelIndicator.scss +1 -1
- package/lib/esm/appui-react/statusbar/Overflow.d.ts +2 -2
- package/lib/esm/appui-react/statusbar/Overflow.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/Overflow.js +3 -3
- package/lib/esm/appui-react/statusbar/Overflow.js.map +1 -1
- package/lib/esm/appui-react/statusbar/OverflowPanel.d.ts +1 -1
- package/lib/esm/appui-react/statusbar/OverflowPanel.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/Popup.d.ts +2 -2
- package/lib/esm/appui-react/statusbar/Popup.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/Popup.js +1 -1
- package/lib/esm/appui-react/statusbar/Popup.js.map +1 -1
- package/lib/esm/appui-react/statusbar/Separator.d.ts +2 -2
- package/lib/esm/appui-react/statusbar/Separator.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/Separator.scss +1 -1
- package/lib/esm/appui-react/statusbar/StatusBar.d.ts +7 -7
- package/lib/esm/appui-react/statusbar/StatusBar.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBar.js +5 -6
- package/lib/esm/appui-react/statusbar/StatusBar.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarComposer.d.ts +3 -3
- package/lib/esm/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarComposer.js +6 -6
- package/lib/esm/appui-react/statusbar/StatusBarComposer.js.map +1 -1
- package/lib/esm/appui-react/statusbar/dialog/Button.d.ts +2 -2
- package/lib/esm/appui-react/statusbar/dialog/Button.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/dialog/Button.js +1 -1
- package/lib/esm/appui-react/statusbar/dialog/Button.js.map +1 -1
- package/lib/esm/appui-react/statusbar/dialog/Dialog.d.ts +3 -3
- package/lib/esm/appui-react/statusbar/dialog/Dialog.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/dialog/Dialog.js +2 -2
- package/lib/esm/appui-react/statusbar/dialog/Dialog.js.map +1 -1
- package/lib/esm/appui-react/statusbar/dialog/TitleBar.d.ts +2 -2
- package/lib/esm/appui-react/statusbar/dialog/TitleBar.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/dialog/TitleBar.js +1 -1
- package/lib/esm/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
- package/lib/esm/appui-react/statusfields/ActivityCenter.d.ts +2 -2
- package/lib/esm/appui-react/statusfields/ActivityCenter.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/MessageCenter.d.ts +1 -1
- package/lib/esm/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/MessageCenter.js +9 -5
- package/lib/esm/appui-react/statusfields/MessageCenter.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SectionsField.d.ts +3 -3
- package/lib/esm/appui-react/statusfields/SectionsField.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/SectionsField.js +9 -8
- package/lib/esm/appui-react/statusfields/SectionsField.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionCount.d.ts +3 -3
- package/lib/esm/appui-react/statusfields/SelectionCount.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionCount.js +4 -4
- package/lib/esm/appui-react/statusfields/SelectionCount.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionInfo.d.ts +2 -2
- package/lib/esm/appui-react/statusfields/SelectionInfo.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionScope.d.ts +4 -4
- package/lib/esm/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionScope.js +3 -3
- package/lib/esm/appui-react/statusfields/SelectionScope.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionScope.scss +1 -1
- package/lib/esm/appui-react/statusfields/SnapMode.d.ts +2 -2
- package/lib/esm/appui-react/statusfields/SnapMode.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/SnapMode.js +11 -10
- package/lib/esm/appui-react/statusfields/SnapMode.js.map +1 -1
- package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts +1 -1
- package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +1 -1
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +2 -2
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js +13 -8
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.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/ToolbarComposer.d.ts +2 -2
- package/lib/esm/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.d.ts +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.d.ts.map +1 -1
- package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.d.ts.map +1 -1
- package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.js +1 -0
- package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.js.map +1 -1
- package/lib/esm/appui-react/toolsettings/ToolInformation.d.ts.map +1 -1
- package/lib/esm/appui-react/toolsettings/ToolInformation.js +1 -0
- package/lib/esm/appui-react/toolsettings/ToolInformation.js.map +1 -1
- package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.d.ts +4 -4
- package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
- package/lib/esm/appui-react/uistate/useUiStateStorage.d.ts +1 -1
- package/lib/esm/appui-react/uistate/useUiStateStorage.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/Content.d.ts +2 -2
- package/lib/esm/appui-react/widget-panels/Content.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/Content.js +9 -8
- package/lib/esm/appui-react/widget-panels/Content.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/FloatingWidget.d.ts +2 -2
- package/lib/esm/appui-react/widget-panels/FloatingWidget.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/FloatingWidget.js +1 -1
- package/lib/esm/appui-react/widget-panels/FloatingWidget.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/Frontstage.d.ts +23 -38
- package/lib/esm/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/Frontstage.js +275 -398
- package/lib/esm/appui-react/widget-panels/Frontstage.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/Frontstage.scss +6 -2
- package/lib/esm/appui-react/widget-panels/FrontstageContent.d.ts +5 -2
- package/lib/esm/appui-react/widget-panels/FrontstageContent.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.d.ts +5 -2
- package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/StatusBar.d.ts +2 -2
- package/lib/esm/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/Tab.d.ts +3 -3
- package/lib/esm/appui-react/widget-panels/Tab.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/Tab.js +4 -4
- package/lib/esm/appui-react/widget-panels/Tab.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/ToolSettings.d.ts +6 -6
- package/lib/esm/appui-react/widget-panels/ToolSettings.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/ToolSettings.js +6 -3
- package/lib/esm/appui-react/widget-panels/ToolSettings.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/Toolbars.d.ts +2 -2
- package/lib/esm/appui-react/widget-panels/Toolbars.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/useTransientState.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/useTransientState.js +6 -2
- package/lib/esm/appui-react/widget-panels/useTransientState.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/useWidgetDirection.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/useWidgetDirection.js +5 -2
- package/lib/esm/appui-react/widget-panels/useWidgetDirection.js.map +1 -1
- package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts +2 -2
- package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/BackstageAppButton.js +2 -2
- package/lib/esm/appui-react/widgets/BackstageAppButton.js.map +1 -1
- package/lib/esm/appui-react/widgets/BasicNavigationWidget.d.ts +2 -2
- package/lib/esm/appui-react/widgets/BasicNavigationWidget.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/BasicToolWidget.d.ts +2 -2
- package/lib/esm/appui-react/widgets/BasicToolWidget.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.d.ts +1 -1
- package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/NavigationWidgetComposer.d.ts +3 -3
- package/lib/esm/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js +3 -3
- package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
- package/lib/esm/appui-react/widgets/ToolWidgetComposer.d.ts +2 -2
- package/lib/esm/appui-react/widgets/ToolWidgetComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/ToolWidgetComposer.js +2 -2
- package/lib/esm/appui-react/widgets/ToolWidgetComposer.js.map +1 -1
- package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.d.ts +2 -2
- package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetDef.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetDef.js +2 -0
- package/lib/esm/appui-react/widgets/WidgetDef.js.map +1 -1
- package/lib/esm/appui-react/widgets/useWidget.d.ts +17 -0
- package/lib/esm/appui-react/widgets/useWidget.d.ts.map +1 -0
- package/lib/esm/appui-react/widgets/useWidget.js +67 -0
- package/lib/esm/appui-react/widgets/useWidget.js.map +1 -0
- package/lib/esm/appui-react.d.ts +2 -0
- package/lib/esm/appui-react.d.ts.map +1 -1
- package/lib/esm/appui-react.js +2 -0
- package/lib/esm/appui-react.js.map +1 -1
- package/package.json +14 -14
- package/lib/cjs/appui-react/safearea/SafeAreaHelpers.d.ts +0 -8
- package/lib/cjs/appui-react/safearea/SafeAreaHelpers.d.ts.map +0 -1
- package/lib/cjs/appui-react/safearea/SafeAreaHelpers.js.map +0 -1
- package/lib/esm/appui-react/safearea/SafeAreaHelpers.d.ts +0 -8
- package/lib/esm/appui-react/safearea/SafeAreaHelpers.d.ts.map +0 -1
- package/lib/esm/appui-react/safearea/SafeAreaHelpers.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTransientState.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widget-panels/useTransientState.tsx"],"names":[],"mappings":"AAIA;;GAEG;
|
|
1
|
+
{"version":3,"file":"useTransientState.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widget-panels/useTransientState.tsx"],"names":[],"mappings":"AAIA;;GAEG;AASH;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,CAAC,EAAE,MAAM,IAAI,EAAE,SAAS,CAAC,EAAE,MAAM,IAAI,QAI5E"}
|
|
@@ -5,11 +5,15 @@
|
|
|
5
5
|
/** @packageDocumentation
|
|
6
6
|
* @module Widget
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
8
|
+
import { assert } from "@itwin/core-bentley";
|
|
9
|
+
import * as React from "react";
|
|
10
|
+
import { TabIdContext, useTabTransientState, } from "../layout/widget/ContentRenderer";
|
|
9
11
|
/** Hook that allows to save and restore transient DOM state (i.e. scroll offset) of a widget.
|
|
10
12
|
* @beta
|
|
11
13
|
*/
|
|
12
14
|
export function useTransientState(onSave, onRestore) {
|
|
13
|
-
|
|
15
|
+
const tabId = React.useContext(TabIdContext);
|
|
16
|
+
assert(!!tabId);
|
|
17
|
+
return useTabTransientState(tabId, onSave, onRestore);
|
|
14
18
|
}
|
|
15
19
|
//# sourceMappingURL=useTransientState.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTransientState.js","sourceRoot":"","sources":["../../../../src/appui-react/widget-panels/useTransientState.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"useTransientState.js","sourceRoot":"","sources":["../../../../src/appui-react/widget-panels/useTransientState.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,YAAY,EACZ,oBAAoB,GACrB,MAAM,kCAAkC,CAAC;AAE1C;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,MAAmB,EAAE,SAAsB;IAC3E,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;IAC7C,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IAChB,OAAO,oBAAoB,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,CAAC,CAAC;AACxD,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 Widget\n */\n\nimport { assert } from \"@itwin/core-bentley\";\nimport * as React from \"react\";\nimport {\n TabIdContext,\n useTabTransientState,\n} from \"../layout/widget/ContentRenderer\";\n\n/** Hook that allows to save and restore transient DOM state (i.e. scroll offset) of a widget.\n * @beta\n */\nexport function useTransientState(onSave?: () => void, onRestore?: () => void) {\n const tabId = React.useContext(TabIdContext);\n assert(!!tabId);\n return useTabTransientState(tabId, onSave, onRestore);\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWidgetDirection.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widget-panels/useWidgetDirection.tsx"],"names":[],"mappings":"AAIA;;GAEG;
|
|
1
|
+
{"version":3,"file":"useWidgetDirection.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widget-panels/useWidgetDirection.tsx"],"names":[],"mappings":"AAIA;;GAEG;AASH;;;GAGG;AACH,wBAAgB,kBAAkB,IAAI,YAAY,GAAG,UAAU,CAc9D"}
|
|
@@ -5,9 +5,12 @@
|
|
|
5
5
|
/** @packageDocumentation
|
|
6
6
|
* @module Widget
|
|
7
7
|
*/
|
|
8
|
-
import * as React from "react";
|
|
9
|
-
import { getTabLocation, isHorizontalPanelSide, TabIdContext, useLayout, } from "@itwin/appui-layout-react";
|
|
10
8
|
import { assert } from "@itwin/core-bentley";
|
|
9
|
+
import * as React from "react";
|
|
10
|
+
import { useLayout } from "../layout/base/LayoutStore";
|
|
11
|
+
import { getTabLocation } from "../layout/state/TabLocation";
|
|
12
|
+
import { isHorizontalPanelSide } from "../layout/widget-panels/Panel";
|
|
13
|
+
import { TabIdContext } from "../layout/widget/ContentRenderer";
|
|
11
14
|
/** Returns widget direction.
|
|
12
15
|
* I.e. "horizontal" when widget is in bottom/top stage panel.
|
|
13
16
|
* @alpha
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWidgetDirection.js","sourceRoot":"","sources":["../../../../src/appui-react/widget-panels/useWidgetDirection.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,
|
|
1
|
+
{"version":3,"file":"useWidgetDirection.js","sourceRoot":"","sources":["../../../../src/appui-react/widget-panels/useWidgetDirection.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAEhE;;;GAGG;AACH,MAAM,UAAU,kBAAkB;IAChC,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;IAC7C,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IAChB,OAAO,SAAS,CAAC,CAAC,KAAK,EAAE,EAAE;QACzB,MAAM,WAAW,GAAG,cAAc,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;QACjD,IACE,WAAW;YACX,MAAM,IAAI,WAAW;YACrB,qBAAqB,CAAC,WAAW,CAAC,IAAI,CAAC,EACvC;YACA,OAAO,YAAY,CAAC;SACrB;QACD,OAAO,UAAU,CAAC;IACpB,CAAC,CAAC,CAAC;AACL,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 Widget\n */\n\nimport { assert } from \"@itwin/core-bentley\";\nimport * as React from \"react\";\nimport { useLayout } from \"../layout/base/LayoutStore\";\nimport { getTabLocation } from \"../layout/state/TabLocation\";\nimport { isHorizontalPanelSide } from \"../layout/widget-panels/Panel\";\nimport { TabIdContext } from \"../layout/widget/ContentRenderer\";\n\n/** Returns widget direction.\n * I.e. \"horizontal\" when widget is in bottom/top stage panel.\n * @alpha\n */\nexport function useWidgetDirection(): \"horizontal\" | \"vertical\" {\n const tabId = React.useContext(TabIdContext);\n assert(!!tabId);\n return useLayout((state) => {\n const tabLocation = getTabLocation(state, tabId);\n if (\n tabLocation &&\n \"side\" in tabLocation &&\n isHorizontalPanelSide(tabLocation.side)\n ) {\n return \"horizontal\";\n }\n return \"vertical\";\n });\n}\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** @packageDocumentation
|
|
2
2
|
* @module Widget
|
|
3
3
|
*/
|
|
4
|
-
/// <reference types="react" />
|
|
5
4
|
import type { IconSpec } from "@itwin/core-react";
|
|
5
|
+
import * as React from "react";
|
|
6
6
|
/**
|
|
7
7
|
* Properties for the [[BackstageAppButton]] React component
|
|
8
8
|
* @public
|
|
@@ -19,5 +19,5 @@ export interface BackstageAppButtonProps {
|
|
|
19
19
|
* BackstageAppButton used to toggle display of Backstage and is shown in the corner of the ToolWidget.
|
|
20
20
|
* @public
|
|
21
21
|
*/
|
|
22
|
-
export declare function BackstageAppButton(props: BackstageAppButtonProps): JSX.Element;
|
|
22
|
+
export declare function BackstageAppButton(props: BackstageAppButtonProps): React.JSX.Element;
|
|
23
23
|
//# sourceMappingURL=BackstageAppButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BackstageAppButton.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/BackstageAppButton.tsx"],"names":[],"mappings":"AAIA;;GAEG
|
|
1
|
+
{"version":3,"file":"BackstageAppButton.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/BackstageAppButton.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,4CAA4C;IAC5C,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,iEAAiE;IACjE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6EAA6E;IAC7E,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,qBAgDhE"}
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
/** @packageDocumentation
|
|
6
6
|
* @module Widget
|
|
7
7
|
*/
|
|
8
|
-
import * as React from "react";
|
|
9
8
|
import widgetIconSvg from "@bentley/icons-generic/icons/home.svg";
|
|
10
9
|
import { Icon, useWidgetOpacityContext } from "@itwin/core-react";
|
|
11
|
-
import
|
|
10
|
+
import * as React from "react";
|
|
12
11
|
import { UiFramework } from "../UiFramework";
|
|
12
|
+
import { AppButton } from "../layout/widget/tools/button/App";
|
|
13
13
|
/**
|
|
14
14
|
* BackstageAppButton used to toggle display of Backstage and is shown in the corner of the ToolWidget.
|
|
15
15
|
* @public
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BackstageAppButton.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/BackstageAppButton.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"BackstageAppButton.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/BackstageAppButton.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,aAAa,MAAM,uCAAuC,CAAC;AAElE,OAAO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AAK,CAAC,CAAC,CAAC;IAEpC,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,IAAI,cAAc,CAAC,OAAO,EAAE;YAC1B,cAAc,CAAC,OAAO,GAAG,KAAK,CAAC;YAC/B,YAAY,CAAC,GAAG,CAAC,CAAC;SACnB;aAAM;YACL,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;SAClD;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC;IAE/B,IAAI,oBAAwC,CAAC;IAE7C,IAAI,WAAW,CAAC,UAAU,CAAC,mBAAmB,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,EAAE;QACzE,oBAAoB,GAAG,cAAc,CAAC;KACvC;IAED,OAAO,CACL,6BAAK,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,YAAY;QACpC,oBAAC,SAAS,IACR,KAAK,EAAE,IAAI,EACX,cAAc,EAAE,oBAAoB,EACpC,OAAO,EAAE,WAAW,EACpB,IAAI,EAAE,oBAAC,IAAI,IAAC,QAAQ,EAAE,IAAI,GAAI,EAC9B,KAAK,EAAE,cAAc,GACrB,CACE,CACP,CAAC;AACJ,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport widgetIconSvg from \"@bentley/icons-generic/icons/home.svg\";\nimport type { IconSpec } from \"@itwin/core-react\";\nimport { Icon, useWidgetOpacityContext } from \"@itwin/core-react\";\nimport * as React from \"react\";\nimport { UiFramework } from \"../UiFramework\";\nimport { AppButton } from \"../layout/widget/tools/button/App\";\n\n/**\n * Properties for the [[BackstageAppButton]] React component\n * @public\n */\nexport interface BackstageAppButtonProps {\n /** Icon specification for the App button */\n icon?: IconSpec;\n /** If specified overrides the default label shown in tooltip. */\n label?: string;\n /** If specified overrides the default action that displays the backstage. */\n execute?: () => void;\n}\n\n/**\n * BackstageAppButton used to toggle display of Backstage and is shown in the corner of the ToolWidget.\n * @public\n */\nexport function BackstageAppButton(props: BackstageAppButtonProps) {\n const backstageToggleCommand = React.useMemo(\n () => UiFramework.backstage.getBackstageToggleCommand(props.icon),\n [props.icon]\n );\n const backstageLabel = React.useMemo(\n () => props.label || backstageToggleCommand.tooltip,\n [backstageToggleCommand.tooltip, props.label]\n );\n const [icon, setIcon] = React.useState(\n props.icon ? props.icon : widgetIconSvg\n );\n const isInitialMount = React.useRef(true);\n const divClassName = \"uifw-app-button-small\";\n const { onElementRef, proximityScale } = useWidgetOpacityContext();\n const ref = React.useRef<HTMLDivElement>(null);\n\n const handleClick = React.useCallback(() => {\n if (props.execute) props.execute();\n else backstageToggleCommand.execute();\n }, [backstageToggleCommand, props]);\n\n React.useEffect(() => {\n if (isInitialMount.current) {\n isInitialMount.current = false;\n onElementRef(ref);\n } else {\n setIcon(props.icon ? props.icon : widgetIconSvg);\n }\n }, [props.icon, onElementRef]);\n\n let buttonProximityScale: number | undefined;\n\n if (UiFramework.visibility.useProximityOpacity && !UiFramework.isMobile()) {\n buttonProximityScale = proximityScale;\n }\n\n return (\n <div ref={ref} className={divClassName}>\n <AppButton\n small={true}\n mouseProximity={buttonProximityScale}\n onClick={handleClick}\n icon={<Icon iconSpec={icon} />}\n title={backstageLabel}\n />\n </div>\n );\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @packageDocumentation
|
|
2
2
|
* @module Widget
|
|
3
3
|
*/
|
|
4
|
-
|
|
4
|
+
import * as React from "react";
|
|
5
5
|
import type { ToolbarItem } from "../toolbar/ToolbarItem";
|
|
6
6
|
/** Properties that can be used to append items to the default set of toolbar items.
|
|
7
7
|
* @public
|
|
@@ -16,5 +16,5 @@ export interface BasicNavigationWidgetProps {
|
|
|
16
16
|
* Supports the specification of additional horizontal and vertical toolbar items through props.
|
|
17
17
|
* @public
|
|
18
18
|
*/
|
|
19
|
-
export declare function BasicNavigationWidget(props: BasicNavigationWidgetProps): JSX.Element;
|
|
19
|
+
export declare function BasicNavigationWidget(props: BasicNavigationWidgetProps): React.JSX.Element;
|
|
20
20
|
//# sourceMappingURL=BasicNavigationWidget.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasicNavigationWidget.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/BasicNavigationWidget.tsx"],"names":[],"mappings":"AAIA;;GAEG
|
|
1
|
+
{"version":3,"file":"BasicNavigationWidget.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/BasicNavigationWidget.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAG1D;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,wEAAwE;IACxE,yBAAyB,CAAC,EAAE,WAAW,EAAE,CAAC;IAC1C,sEAAsE;IACtE,uBAAuB,CAAC,EAAE,WAAW,EAAE,CAAC;CACzC;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,0BAA0B,qBAyEtE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @packageDocumentation
|
|
2
2
|
* @module Widget
|
|
3
3
|
*/
|
|
4
|
-
|
|
4
|
+
import * as React from "react";
|
|
5
5
|
import type { ToolbarItem } from "../toolbar/ToolbarItem";
|
|
6
6
|
/** Properties that can be used to append items to the default set of toolbar items.
|
|
7
7
|
* @public
|
|
@@ -20,5 +20,5 @@ export interface BasicToolWidgetProps {
|
|
|
20
20
|
* This definition will also show a overflow button if there is not enough room to display all the toolbar buttons.
|
|
21
21
|
* @public
|
|
22
22
|
*/
|
|
23
|
-
export declare function BasicToolWidget(props: BasicToolWidgetProps): JSX.Element;
|
|
23
|
+
export declare function BasicToolWidget(props: BasicToolWidgetProps): React.JSX.Element;
|
|
24
24
|
//# sourceMappingURL=BasicToolWidget.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasicToolWidget.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/BasicToolWidget.tsx"],"names":[],"mappings":"AAIA;;GAEG
|
|
1
|
+
{"version":3,"file":"BasicToolWidget.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/BasicToolWidget.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAG1D;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,yDAAyD;IACzD,iCAAiC,CAAC,EAAE,OAAO,CAAC;IAC5C,qHAAqH;IACrH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,wEAAwE;IACxE,yBAAyB,CAAC,EAAE,WAAW,EAAE,CAAC;IAC1C,sEAAsE;IACtE,uBAAuB,CAAC,EAAE,WAAW,EAAE,CAAC;CACzC;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,qBA2H1D"}
|
|
@@ -34,5 +34,5 @@ export interface ContentToolWidgetComposerProps {
|
|
|
34
34
|
* BackstageCornerButton,
|
|
35
35
|
* @public
|
|
36
36
|
*/
|
|
37
|
-
export declare function ContentToolWidgetComposer(props: ContentToolWidgetComposerProps): JSX.Element;
|
|
37
|
+
export declare function ContentToolWidgetComposer(props: ContentToolWidgetComposerProps): React.JSX.Element;
|
|
38
38
|
//# sourceMappingURL=ContentToolWidgetComposer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentToolWidgetComposer.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/ContentToolWidgetComposer.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B;;;GAGG;AACH,MAAM,WAAW,8BAA8B;IAC7C,yEAAyE;IACzE,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAChC;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,8BAA8B,
|
|
1
|
+
{"version":3,"file":"ContentToolWidgetComposer.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/ContentToolWidgetComposer.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B;;;GAGG;AACH,MAAM,WAAW,8BAA8B;IAC7C,yEAAyE;IACzE,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAChC;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,8BAA8B,qBA0BtC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** @packageDocumentation
|
|
2
2
|
* @module Widget
|
|
3
3
|
*/
|
|
4
|
-
import * as React from "react";
|
|
5
4
|
import type { CommonProps } from "@itwin/core-react";
|
|
5
|
+
import * as React from "react";
|
|
6
6
|
/** Properties for the [[NavigationAidHost]] React component
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -16,7 +16,7 @@ export interface NavigationAidHostProps {
|
|
|
16
16
|
* NavigationAidHost is a component that hosts a NavigationAid that is specific to the active content control.
|
|
17
17
|
* @public
|
|
18
18
|
*/
|
|
19
|
-
export declare function NavigationAidHost(props: NavigationAidHostProps): JSX.Element;
|
|
19
|
+
export declare function NavigationAidHost(props: NavigationAidHostProps): React.JSX.Element;
|
|
20
20
|
/** Properties for the [[NavigationWidgetComposer]] React components
|
|
21
21
|
* @public
|
|
22
22
|
*/
|
|
@@ -35,5 +35,5 @@ export interface NavigationWidgetComposerProps extends CommonProps {
|
|
|
35
35
|
* and typically holds tools to visually navigate, orient, and zoom to specific content.
|
|
36
36
|
* @public
|
|
37
37
|
*/
|
|
38
|
-
export declare function NavigationWidgetComposer(props: NavigationWidgetComposerProps): JSX.Element;
|
|
38
|
+
export declare function NavigationWidgetComposer(props: NavigationWidgetComposerProps): React.JSX.Element;
|
|
39
39
|
//# sourceMappingURL=NavigationWidgetComposer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationWidgetComposer.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/NavigationWidgetComposer.tsx"],"names":[],"mappings":"AAIA;;GAEG;
|
|
1
|
+
{"version":3,"file":"NavigationWidgetComposer.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/NavigationWidgetComposer.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AASrD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoC/B;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,qBAoG9D;AAED;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,WAAW;IAChE,kCAAkC;IAClC,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC,gCAAgC;IAChC,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,8MAA8M;IAC9M,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC,kEAAkE;IAClE,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,6BAA6B,qBAwC5E"}
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
/** @packageDocumentation
|
|
6
6
|
* @module Widget
|
|
7
7
|
*/
|
|
8
|
-
import * as React from "react";
|
|
9
|
-
import { ViewportComponentEvents } from "@itwin/imodel-components-react";
|
|
10
8
|
import { useProximityToMouse, useWidgetOpacityContext, WidgetElementSet, WidgetOpacityContext, } from "@itwin/core-react";
|
|
11
|
-
import {
|
|
9
|
+
import { ViewportComponentEvents } from "@itwin/imodel-components-react";
|
|
10
|
+
import * as React from "react";
|
|
11
|
+
import { NavigationArea } from "../layout/widget/NavigationArea";
|
|
12
12
|
import { UiFramework } from "../UiFramework";
|
|
13
13
|
function createNavigationAidControl(activeContentControl, navigationAidId, activeViewport) {
|
|
14
14
|
// istanbul ignore else
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationWidgetComposer.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/NavigationWidgetComposer.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACvB,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAM3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,SAAS,0BAA0B,CACjC,oBAAgD,EAChD,eAAuB,EACvB,cAA0C;IAE1C,uBAAuB;IACvB,IACE,CAAC,oBAAoB;QACrB,CAAC,eAAe;QAChB,cAAc,KAAK,oBAAoB,CAAC,QAAQ;QAEhD,OAAO,SAAS,CAAC;IAEnB,MAAM,QAAQ,GAAG,oBAAoB,CAAC,QAAQ,CAAC;IAC/C,MAAM,MAAM,GAAG,QAAQ;QACrB,CAAC,CA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E,EAAE;QACvC,UAAU,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IAC7B,CAAC,EACD,CAAC,UAAU,CAAC,CACb,CAAC;IACF,MAAM,cAAc,GAAG,mBAAmB,CACxC,UAAU,EACV,WAAW,CAAC,UAAU,CAAC,iBAAiB,CACzC,CAAC;IACF,0BAA0B;IAC1B,MAAM,aAAa,GAAG,iBAAiB;QACrC,CAAC,CAAC,SAAS;QACX,CAAC,CAAC,iBAAiB,aAAjB,iBAAiB,cAAjB,iBAAiB,GAAI,oBAAC,iBAAiB,OAAG,CAAC;IAE/C,OAAO,CACL,oBAAC,oBAAoB,CAAC,QAAQ,IAC5B,KAAK,EAAE;YACL,YAAY,EAAE,cAAc;YAC5B,cAAc;SACf;QAED,oBAAC,cAAc,IACb,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,eAAe,KAC5B,UAAU,EACd,YAAY,EAAE,WAAW,CAAC,UAAU,CAAC,sBAAsB,GAC3D,CAC4B,CACjC,CAAC;AACJ,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport * as React from \"react\";\nimport type { ScreenViewport } from \"@itwin/core-frontend\";\nimport type { ViewClassFullNameChangedEventArgs } from \"@itwin/imodel-components-react\";\nimport { ViewportComponentEvents } from \"@itwin/imodel-components-react\";\nimport type { CommonProps } from \"@itwin/core-react\";\nimport {\n useProximityToMouse,\n useWidgetOpacityContext,\n WidgetElementSet,\n WidgetOpacityContext,\n} from \"@itwin/core-react\";\nimport { NavigationArea } from \"@itwin/appui-layout-react\";\nimport type {\n ContentControl,\n ContentControlActivatedEventArgs,\n} from \"../content/ContentControl\";\nimport type { NavigationAidControl } from \"../navigationaids/NavigationAidControl\";\nimport { UiFramework } from \"../UiFramework\";\n\nfunction createNavigationAidControl(\n activeContentControl: ContentControl | undefined,\n navigationAidId: string,\n activeViewport: ScreenViewport | undefined\n): NavigationAidControl | undefined {\n // istanbul ignore else\n if (\n !activeContentControl ||\n !navigationAidId ||\n activeViewport !== activeContentControl.viewport\n )\n return undefined;\n\n const viewport = activeContentControl.viewport;\n const imodel = viewport\n ? viewport.iModel\n : /* istanbul ignore next */ UiFramework.getIModelConnection();\n const navigationAidControl = UiFramework.controls.create(\n navigationAidId,\n navigationAidId,\n { imodel, viewport }\n ) as NavigationAidControl;\n\n navigationAidControl.initialize();\n return navigationAidControl;\n}\n\n/** Properties for the [[NavigationAidHost]] React component\n * @public\n */\nexport interface NavigationAidHostProps {\n /** Navigation Aid Host minimum width. Defaults to \"64px\". */\n minWidth?: string;\n /** Navigation Aid Host minimum height. Defaults to \"64px\". */\n minHeight?: string;\n}\n\n/**\n * NavigationAidHost is a component that hosts a NavigationAid that is specific to the active content control.\n * @public\n */\nexport function NavigationAidHost(props: NavigationAidHostProps) {\n const [activeContentControl, setActiveContentControl] = React.useState(() =>\n UiFramework.content.getActiveContentControl()\n );\n const [activeContentViewport, setActiveContentViewport] = React.useState(\n () => /* istanbul ignore next */ activeContentControl?.viewport\n );\n const [navigationAidId, setNavigationAidId] = React.useState(() =>\n activeContentControl\n ? activeContentControl.navigationAidControl\n : /* istanbul ignore next */ \"\"\n );\n\n React.useEffect(() => {\n // istanbul ignore next\n const handleContentControlActivated = (\n args: ContentControlActivatedEventArgs\n ) => {\n setActiveContentControl(args.activeContentControl);\n setActiveContentViewport(args.activeContentControl.viewport);\n setNavigationAidId(args.activeContentControl.navigationAidControl);\n };\n\n UiFramework.frontstages.onContentControlActivatedEvent.addListener(\n handleContentControlActivated\n );\n return () => {\n UiFramework.frontstages.onContentControlActivatedEvent.removeListener(\n handleContentControlActivated\n );\n };\n }, []);\n\n const [activeViewClass, setActiveViewClass] = React.useState(() => {\n const content = UiFramework.content.getActiveContentControl();\n if (content && content.viewport) return content.viewport.view.classFullName;\n return \"\";\n });\n\n React.useEffect(() => {\n // istanbul ignore next\n const handleViewClassFullNameChange = (\n args: ViewClassFullNameChangedEventArgs\n ) => {\n setActiveViewClass(args.newName);\n };\n\n ViewportComponentEvents.onViewClassFullNameChangedEvent.addListener(\n handleViewClassFullNameChange\n );\n return () => {\n ViewportComponentEvents.onViewClassFullNameChangedEvent.removeListener(\n handleViewClassFullNameChange\n );\n };\n }, [activeViewClass]);\n\n const navigationAidControl = React.useMemo(\n () =>\n createNavigationAidControl(\n activeContentControl,\n navigationAidId,\n activeContentViewport\n ),\n [activeContentControl, navigationAidId, activeContentViewport]\n );\n\n const ref = React.useRef<HTMLDivElement>(null);\n\n const isInitialMount = React.useRef(true);\n const { onElementRef, proximityScale } = useWidgetOpacityContext();\n\n React.useEffect(() => {\n // istanbul ignore else\n if (isInitialMount.current) {\n isInitialMount.current = false;\n onElementRef(ref);\n }\n }, [onElementRef]);\n\n const divStyle: React.CSSProperties = {\n minWidth: props.minWidth\n ? /* istanbul ignore next */ props.minWidth\n : \"64px\",\n minHeight: props.minHeight\n ? /* istanbul ignore next */ props.minHeight\n : \"64px\",\n };\n\n // istanbul ignore else\n if (UiFramework.visibility.useProximityOpacity && !UiFramework.isMobile()) {\n const navigationAidOpacity = 0.3 * proximityScale + 0.7;\n divStyle.opacity = `${navigationAidOpacity}`;\n }\n\n return (\n <div style={divStyle} ref={ref}>\n {navigationAidControl && navigationAidControl.reactNode}\n </div>\n );\n}\n\n/** Properties for the [[NavigationWidgetComposer]] React components\n * @public\n */\nexport interface NavigationWidgetComposerProps extends CommonProps {\n /** Optional Horizontal Toolbar */\n horizontalToolbar?: React.ReactNode;\n /** Optional Vertical Toolbar */\n verticalToolbar?: React.ReactNode;\n /** Optional Navigation Aid host. If not specified a default host is provided which will use registered Navigation Aids and the active content control to determine which if any Navigation Aid to display. */\n navigationAidHost?: React.ReactNode;\n /** If true no navigation aid will be shown. Defaults to false. */\n hideNavigationAid?: boolean;\n}\n\n/**\n * Component that Composes a NavigationWidget typically using toolbars generated via [[ToolbarComposer]] class. The Navigation widget is shown in the top right of the content area\n * and typically holds tools to visually navigate, orient, and zoom to specific content.\n * @public\n */\nexport function NavigationWidgetComposer(props: NavigationWidgetComposerProps) {\n const {\n navigationAidHost,\n horizontalToolbar,\n verticalToolbar,\n hideNavigationAid,\n ...otherProps\n } = props;\n const [elementSet] = React.useState(new WidgetElementSet());\n const handleChildRef = React.useCallback(\n (elementRef: React.RefObject<Element>) => {\n elementSet.add(elementRef);\n },\n [elementSet]\n );\n const proximityScale = useProximityToMouse(\n elementSet,\n UiFramework.visibility.snapWidgetOpacity\n );\n /* istanbul ignore next */\n const navigationAid = hideNavigationAid\n ? undefined\n : navigationAidHost ?? <NavigationAidHost />;\n\n return (\n <WidgetOpacityContext.Provider\n value={{\n onElementRef: handleChildRef,\n proximityScale,\n }}\n >\n <NavigationArea\n navigationAid={navigationAid}\n horizontalToolbar={horizontalToolbar}\n verticalToolbar={verticalToolbar}\n {...otherProps}\n onMouseEnter={UiFramework.visibility.handleWidgetMouseEnter}\n />\n </WidgetOpacityContext.Provider>\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"NavigationWidgetComposer.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/NavigationWidgetComposer.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAIH,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACvB,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEjE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,SAAS,0BAA0B,CACjC,oBAAgD,EAChD,eAAuB,EACvB,cAA0C;IAE1C,uBAAuB;IACvB,IACE,CAAC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GAAG,UAAU,EACd,GAAG,KAAK,CAAC;IACV,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,gBAAgB,EAAE,CAAC,CAAC;IAC5D,MAAM,cAAc,GAAG,KAAK,CAAC,WAAW,CACtC,CAAC,UAAoC,EAAE,EAAE;QACvC,UAAU,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IAC7B,CAAC,EACD,CAAC,UAAU,CAAC,CACb,CAAC;IACF,MAAM,cAAc,GAAG,mBAAmB,CACxC,UAAU,EACV,WAAW,CAAC,UAAU,CAAC,iBAAiB,CACzC,CAAC;IACF,0BAA0B;IAC1B,MAAM,aAAa,GAAG,iBAAiB;QACrC,CAAC,CAAC,SAAS;QACX,CAAC,CAAC,iBAAiB,aAAjB,iBAAiB,cAAjB,iBAAiB,GAAI,oBAAC,iBAAiB,OAAG,CAAC;IAE/C,OAAO,CACL,oBAAC,oBAAoB,CAAC,QAAQ,IAC5B,KAAK,EAAE;YACL,YAAY,EAAE,cAAc;YAC5B,cAAc;SACf;QAED,oBAAC,cAAc,IACb,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,eAAe,KAC5B,UAAU,EACd,YAAY,EAAE,WAAW,CAAC,UAAU,CAAC,sBAAsB,GAC3D,CAC4B,CACjC,CAAC;AACJ,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport type { ScreenViewport } from \"@itwin/core-frontend\";\nimport type { CommonProps } from \"@itwin/core-react\";\nimport {\n useProximityToMouse,\n useWidgetOpacityContext,\n WidgetElementSet,\n WidgetOpacityContext,\n} from \"@itwin/core-react\";\nimport type { ViewClassFullNameChangedEventArgs } from \"@itwin/imodel-components-react\";\nimport { ViewportComponentEvents } from \"@itwin/imodel-components-react\";\nimport * as React from \"react\";\nimport type {\n ContentControl,\n ContentControlActivatedEventArgs,\n} from \"../content/ContentControl\";\nimport { NavigationArea } from \"../layout/widget/NavigationArea\";\nimport type { NavigationAidControl } from \"../navigationaids/NavigationAidControl\";\nimport { UiFramework } from \"../UiFramework\";\n\nfunction createNavigationAidControl(\n activeContentControl: ContentControl | undefined,\n navigationAidId: string,\n activeViewport: ScreenViewport | undefined\n): NavigationAidControl | undefined {\n // istanbul ignore else\n if (\n !activeContentControl ||\n !navigationAidId ||\n activeViewport !== activeContentControl.viewport\n )\n return undefined;\n\n const viewport = activeContentControl.viewport;\n const imodel = viewport\n ? viewport.iModel\n : /* istanbul ignore next */ UiFramework.getIModelConnection();\n const navigationAidControl = UiFramework.controls.create(\n navigationAidId,\n navigationAidId,\n { imodel, viewport }\n ) as NavigationAidControl;\n\n navigationAidControl.initialize();\n return navigationAidControl;\n}\n\n/** Properties for the [[NavigationAidHost]] React component\n * @public\n */\nexport interface NavigationAidHostProps {\n /** Navigation Aid Host minimum width. Defaults to \"64px\". */\n minWidth?: string;\n /** Navigation Aid Host minimum height. Defaults to \"64px\". */\n minHeight?: string;\n}\n\n/**\n * NavigationAidHost is a component that hosts a NavigationAid that is specific to the active content control.\n * @public\n */\nexport function NavigationAidHost(props: NavigationAidHostProps) {\n const [activeContentControl, setActiveContentControl] = React.useState(() =>\n UiFramework.content.getActiveContentControl()\n );\n const [activeContentViewport, setActiveContentViewport] = React.useState(\n () => /* istanbul ignore next */ activeContentControl?.viewport\n );\n const [navigationAidId, setNavigationAidId] = React.useState(() =>\n activeContentControl\n ? activeContentControl.navigationAidControl\n : /* istanbul ignore next */ \"\"\n );\n\n React.useEffect(() => {\n // istanbul ignore next\n const handleContentControlActivated = (\n args: ContentControlActivatedEventArgs\n ) => {\n setActiveContentControl(args.activeContentControl);\n setActiveContentViewport(args.activeContentControl.viewport);\n setNavigationAidId(args.activeContentControl.navigationAidControl);\n };\n\n UiFramework.frontstages.onContentControlActivatedEvent.addListener(\n handleContentControlActivated\n );\n return () => {\n UiFramework.frontstages.onContentControlActivatedEvent.removeListener(\n handleContentControlActivated\n );\n };\n }, []);\n\n const [activeViewClass, setActiveViewClass] = React.useState(() => {\n const content = UiFramework.content.getActiveContentControl();\n if (content && content.viewport) return content.viewport.view.classFullName;\n return \"\";\n });\n\n React.useEffect(() => {\n // istanbul ignore next\n const handleViewClassFullNameChange = (\n args: ViewClassFullNameChangedEventArgs\n ) => {\n setActiveViewClass(args.newName);\n };\n\n ViewportComponentEvents.onViewClassFullNameChangedEvent.addListener(\n handleViewClassFullNameChange\n );\n return () => {\n ViewportComponentEvents.onViewClassFullNameChangedEvent.removeListener(\n handleViewClassFullNameChange\n );\n };\n }, [activeViewClass]);\n\n const navigationAidControl = React.useMemo(\n () =>\n createNavigationAidControl(\n activeContentControl,\n navigationAidId,\n activeContentViewport\n ),\n [activeContentControl, navigationAidId, activeContentViewport]\n );\n\n const ref = React.useRef<HTMLDivElement>(null);\n\n const isInitialMount = React.useRef(true);\n const { onElementRef, proximityScale } = useWidgetOpacityContext();\n\n React.useEffect(() => {\n // istanbul ignore else\n if (isInitialMount.current) {\n isInitialMount.current = false;\n onElementRef(ref);\n }\n }, [onElementRef]);\n\n const divStyle: React.CSSProperties = {\n minWidth: props.minWidth\n ? /* istanbul ignore next */ props.minWidth\n : \"64px\",\n minHeight: props.minHeight\n ? /* istanbul ignore next */ props.minHeight\n : \"64px\",\n };\n\n // istanbul ignore else\n if (UiFramework.visibility.useProximityOpacity && !UiFramework.isMobile()) {\n const navigationAidOpacity = 0.3 * proximityScale + 0.7;\n divStyle.opacity = `${navigationAidOpacity}`;\n }\n\n return (\n <div style={divStyle} ref={ref}>\n {navigationAidControl && navigationAidControl.reactNode}\n </div>\n );\n}\n\n/** Properties for the [[NavigationWidgetComposer]] React components\n * @public\n */\nexport interface NavigationWidgetComposerProps extends CommonProps {\n /** Optional Horizontal Toolbar */\n horizontalToolbar?: React.ReactNode;\n /** Optional Vertical Toolbar */\n verticalToolbar?: React.ReactNode;\n /** Optional Navigation Aid host. If not specified a default host is provided which will use registered Navigation Aids and the active content control to determine which if any Navigation Aid to display. */\n navigationAidHost?: React.ReactNode;\n /** If true no navigation aid will be shown. Defaults to false. */\n hideNavigationAid?: boolean;\n}\n\n/**\n * Component that Composes a NavigationWidget typically using toolbars generated via [[ToolbarComposer]] class. The Navigation widget is shown in the top right of the content area\n * and typically holds tools to visually navigate, orient, and zoom to specific content.\n * @public\n */\nexport function NavigationWidgetComposer(props: NavigationWidgetComposerProps) {\n const {\n navigationAidHost,\n horizontalToolbar,\n verticalToolbar,\n hideNavigationAid,\n ...otherProps\n } = props;\n const [elementSet] = React.useState(new WidgetElementSet());\n const handleChildRef = React.useCallback(\n (elementRef: React.RefObject<Element>) => {\n elementSet.add(elementRef);\n },\n [elementSet]\n );\n const proximityScale = useProximityToMouse(\n elementSet,\n UiFramework.visibility.snapWidgetOpacity\n );\n /* istanbul ignore next */\n const navigationAid = hideNavigationAid\n ? undefined\n : navigationAidHost ?? <NavigationAidHost />;\n\n return (\n <WidgetOpacityContext.Provider\n value={{\n onElementRef: handleChildRef,\n proximityScale,\n }}\n >\n <NavigationArea\n navigationAid={navigationAid}\n horizontalToolbar={horizontalToolbar}\n verticalToolbar={verticalToolbar}\n {...otherProps}\n onMouseEnter={UiFramework.visibility.handleWidgetMouseEnter}\n />\n </WidgetOpacityContext.Provider>\n );\n}\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** @packageDocumentation
|
|
2
2
|
* @module Widget
|
|
3
3
|
*/
|
|
4
|
-
import * as React from "react";
|
|
5
4
|
import type { CommonProps } from "@itwin/core-react";
|
|
5
|
+
import * as React from "react";
|
|
6
6
|
/** Properties for the [[ToolbarComposer]] React components
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -20,5 +20,5 @@ export interface ToolWidgetComposerProps extends CommonProps {
|
|
|
20
20
|
* selected items. The vertical toolbar typically contains a more fixed list of tools.
|
|
21
21
|
* @public
|
|
22
22
|
*/
|
|
23
|
-
export declare function ToolWidgetComposer(props: ToolWidgetComposerProps): JSX.Element;
|
|
23
|
+
export declare function ToolWidgetComposer(props: ToolWidgetComposerProps): React.JSX.Element;
|
|
24
24
|
//# sourceMappingURL=ToolWidgetComposer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolWidgetComposer.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/ToolWidgetComposer.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"ToolWidgetComposer.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/ToolWidgetComposer.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAMrD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,WAAW;IAC1D,iIAAiI;IACjI,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,kCAAkC;IAClC,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC,gCAAgC;IAChC,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACnC;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,qBA+BhE"}
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/** @packageDocumentation
|
|
6
6
|
* @module Widget
|
|
7
7
|
*/
|
|
8
|
-
import * as React from "react";
|
|
9
8
|
import { useProximityToMouse, WidgetElementSet, WidgetOpacityContext, } from "@itwin/core-react";
|
|
10
|
-
import
|
|
9
|
+
import * as React from "react";
|
|
10
|
+
import { ToolsArea } from "../layout/widget/ToolsArea";
|
|
11
11
|
import { UiFramework } from "../UiFramework";
|
|
12
12
|
/**
|
|
13
13
|
* ToolWidget component that supports use of ToolbarComposer-based Toolbars. The ToolWidget is shown in the top left of the content area
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolWidgetComposer.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/ToolWidgetComposer.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;
|
|
1
|
+
{"version":3,"file":"ToolWidgetComposer.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/ToolWidgetComposer.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAGH,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAc7C;;;;;GAKG;AACH,MAAM,UAAU,kBAAkB,CAAC,KAA8B;IAC/D,MAAM,EAAE,UAAU,EAAE,iBAAiB,EAAE,eAAe,EAAE,GAAG,UAAU,EAAE,GACrE,KAAK,CAAC;IACR,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,gBAAgB,EAAE,CAAC,CAAC;IAC5D,MAAM,cAAc,GAAG,KAAK,CAAC,WAAW,CACtC,CAAC,UAAoC,EAAE,EAAE;QACvC,UAAU,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IAC7B,CAAC,EACD,CAAC,UAAU,CAAC,CACb,CAAC;IACF,MAAM,cAAc,GAAG,mBAAmB,CACxC,UAAU,EACV,WAAW,CAAC,UAAU,CAAC,iBAAiB,CACzC,CAAC;IAEF,OAAO,CACL,oBAAC,oBAAoB,CAAC,QAAQ,IAC5B,KAAK,EAAE;YACL,YAAY,EAAE,cAAc;YAC5B,cAAc;SACf;QAED,oBAAC,SAAS,IACR,MAAM,EAAE,UAAU,EAClB,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,eAAe,KAC5B,UAAU,EACd,YAAY,EAAE,WAAW,CAAC,UAAU,CAAC,sBAAsB,GAC3D,CAC4B,CACjC,CAAC;AACJ,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport type { CommonProps } from \"@itwin/core-react\";\nimport {\n useProximityToMouse,\n WidgetElementSet,\n WidgetOpacityContext,\n} from \"@itwin/core-react\";\nimport * as React from \"react\";\nimport { ToolsArea } from \"../layout/widget/ToolsArea\";\nimport { UiFramework } from \"../UiFramework\";\n\n/** Properties for the [[ToolbarComposer]] React components\n * @public\n */\nexport interface ToolWidgetComposerProps extends CommonProps {\n /** Optional Corner Item which for most stages is the [[BackstageAppButton]] used to toggle the display of the backstage menu. */\n cornerItem?: React.ReactNode;\n /** Optional Horizontal Toolbar */\n horizontalToolbar?: React.ReactNode;\n /** Optional Vertical Toolbar */\n verticalToolbar?: React.ReactNode;\n}\n\n/**\n * ToolWidget component that supports use of ToolbarComposer-based Toolbars. The ToolWidget is shown in the top left of the content area\n * and typically holds tools to manipulate or interrogate content. The horizontal toolbar often includes context specific tools based on\n * selected items. The vertical toolbar typically contains a more fixed list of tools.\n * @public\n */\nexport function ToolWidgetComposer(props: ToolWidgetComposerProps) {\n const { cornerItem, horizontalToolbar, verticalToolbar, ...otherProps } =\n props;\n const [elementSet] = React.useState(new WidgetElementSet());\n const handleChildRef = React.useCallback(\n (elementRef: React.RefObject<Element>) => {\n elementSet.add(elementRef);\n },\n [elementSet]\n );\n const proximityScale = useProximityToMouse(\n elementSet,\n UiFramework.visibility.snapWidgetOpacity\n );\n\n return (\n <WidgetOpacityContext.Provider\n value={{\n onElementRef: handleChildRef,\n proximityScale,\n }}\n >\n <ToolsArea\n button={cornerItem}\n horizontalToolbar={horizontalToolbar}\n verticalToolbar={verticalToolbar}\n {...otherProps}\n onMouseEnter={UiFramework.visibility.handleWidgetMouseEnter}\n />\n </WidgetOpacityContext.Provider>\n );\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @packageDocumentation
|
|
2
2
|
* @module Widget
|
|
3
3
|
*/
|
|
4
|
-
|
|
4
|
+
import * as React from "react";
|
|
5
5
|
/**
|
|
6
6
|
* Props for [[ViewToolWidgetComposer]].
|
|
7
7
|
* @public
|
|
@@ -23,5 +23,5 @@ export interface ViewToolWidgetComposerProps {
|
|
|
23
23
|
* ```
|
|
24
24
|
* @public
|
|
25
25
|
*/
|
|
26
|
-
export declare function ViewToolWidgetComposer(props: ViewToolWidgetComposerProps): JSX.Element;
|
|
26
|
+
export declare function ViewToolWidgetComposer(props: ViewToolWidgetComposerProps): React.JSX.Element;
|
|
27
27
|
//# sourceMappingURL=ViewToolWidgetComposer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewToolWidgetComposer.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/ViewToolWidgetComposer.tsx"],"names":[],"mappings":"AAIA;;GAEG
|
|
1
|
+
{"version":3,"file":"ViewToolWidgetComposer.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/ViewToolWidgetComposer.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IAC1C,kEAAkE;IAClE,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,qBAyBxE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WidgetDef.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetDef.tsx"],"names":[],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,CAEpC;IAED,IAAW,QAAQ,IAAI,OAAO,CAE7B;IAED,IAAW,sBAAsB,CAAC,IAAI,EAAE,OAAO,GAAG,SAAS,EAE1D;IAED,IAAW,sBAAsB,IAAI,OAAO,CAE3C;IAED,IAAW,mBAAmB,IAC1B,aAAa,CAAC,kBAAkB,CAAC,GACjC,SAAS,CAEZ;IAED,IAAW,mBAAmB,CAC5B,OAAO,EAAE,aAAa,CAAC,kBAAkB,CAAC,GAAG,SAAS,EAGvD;IAEM,oBAAoB,IAAI,IAAI;IAInC,kEAAkE;IAC3D,kBAAkB,IAAI,IAAI;IAKjC;;OAEG;IACI,qBAAqB,IAAI,OAAO;IAavC;;;OAGG;IACI,IAAI;IAYX;;OAEG;IACI,MAAM;CAWd"}
|
|
@@ -16,6 +16,7 @@ import { StatusBarWidgetComposerControl } from "./StatusBarWidgetComposerControl
|
|
|
16
16
|
/** Widget State Changed Event class.
|
|
17
17
|
* @public
|
|
18
18
|
*/
|
|
19
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
19
20
|
export class WidgetStateChangedEvent extends UiEvent {
|
|
20
21
|
}
|
|
21
22
|
/** Widget type enum.
|
|
@@ -248,6 +249,7 @@ class WidgetDef {
|
|
|
248
249
|
// istanbul ignore else
|
|
249
250
|
if (this._widgetControl) {
|
|
250
251
|
if (this._widgetControl.getType() !== type) {
|
|
252
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
251
253
|
throw new UiError(UiFramework.loggerCategory(this), `getWidgetControl: '${usedClassId}' is NOT a ${type}; it is a ${this._widgetControl.getType()}`);
|
|
252
254
|
}
|
|
253
255
|
this._widgetControl.widgetDef = this;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WidgetDef.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetDef.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAQH,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAG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CAAC,OAAO,IAAI,OAAO,CAAC,CAAC;SAChC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,IAAI;QACT,MAAM,aAAa,GAAG,WAAW,CAAC,WAAW,CAAC,mBAAmB,CAAC;QAClE,MAAM,KAAK,GAAG,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,aAAa,CAAC;QAC3C,IAAI,CAAC,KAAK;YAAE,OAAO;QACnB,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC;YAAE,OAAO;QAElD,aAAa,CAAC,QAAQ,CAAC;YACrB,IAAI,EAAE,iBAAiB;YACvB,EAAE,EAAE,IAAI,CAAC,EAAE;SACZ,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACI,MAAM;QACX,MAAM,aAAa,GAAG,WAAW,CAAC,WAAW,CAAC,mBAAmB,CAAC;QAClE,MAAM,KAAK,GAAG,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,aAAa,CAAC;QAC3C,IAAI,CAAC,KAAK;YAAE,OAAO;QACnB,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC;YAAE,OAAO;QAElD,aAAa,CAAC,QAAQ,CAAC;YACrB,IAAI,EAAE,mBAAmB;YACzB,EAAE,EAAE,IAAI,CAAC,EAAE;SACZ,CAAC,CAAC;IACL,CAAC;;AA3ec,cAAI,GAAG,CAAC,AAAJ,CAAK;SADb,SAAS","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 type * as React from \"react\";\nimport type {\n BadgeType,\n ConditionalStringValue,\n StringGetter,\n} from \"@itwin/appui-abstract\";\nimport { UiError, UiEvent } from \"@itwin/appui-abstract\";\nimport type { XAndY } from \"@itwin/core-geometry\";\nimport type { ConfigurableUiControlConstructor } from \"../configurableui/ConfigurableUiControl\";\nimport {\n ConfigurableCreateInfo,\n ConfigurableUiControlType,\n} from \"../configurableui/ConfigurableUiControl\";\nimport { UiFramework } from \"../UiFramework\";\nimport { PropsHelper } from \"../utils/PropsHelper\";\nimport type { WidgetControl } from \"./WidgetControl\";\nimport type { IconSpec, SizeProps } from \"@itwin/core-react\";\nimport { IconHelper } from \"@itwin/core-react\";\nimport type { WidgetConfig } from \"./WidgetConfig\";\nimport { WidgetState } from \"./WidgetState\";\nimport { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\nimport { StatusBarWidgetComposerControl } from \"./StatusBarWidgetComposerControl\";\n\n/** Widget State Changed Event Args interface.\n * @public\n */\nexport interface WidgetStateChangedEventArgs {\n widgetDef: WidgetDef;\n widgetState: WidgetState;\n}\n\n/** Widget State Changed Event class.\n * @public\n */\nexport class WidgetStateChangedEvent extends UiEvent<WidgetStateChangedEventArgs> {}\n\n/** @internal */\nexport interface WidgetChangedEventArgs {\n widgetDef: WidgetDef;\n}\n\n/** @internal */\nexport interface WidgetEventArgs {\n widgetDef: WidgetDef;\n}\n\n/** Widget type enum.\n * @public\n */\nexport enum WidgetType {\n Tool,\n Navigation,\n Rectangular,\n ToolSettings,\n StatusBar,\n}\n\n// -----------------------------------------------------------------------------\n\n/** A Widget Definition in the 9-Zone Layout system.\n * @public\n */\nexport class WidgetDef {\n private static _sId = 0;\n private _label: string | ConditionalStringValue | StringGetter = \"\";\n private _tooltip: string | ConditionalStringValue | StringGetter = \"\";\n private _widgetReactNode: React.ReactNode;\n private _widgetControl!: WidgetControl;\n private _defaultState: WidgetState = WidgetState.Closed;\n private _id: string;\n private _classId: string | ConfigurableUiControlConstructor | undefined =\n undefined;\n private _priority: number = 0;\n private _stateChanged: boolean = false;\n private _widgetType: WidgetType = WidgetType.Rectangular;\n private _applicationData?: any;\n private _icon?: IconSpec;\n private _internalData?: Map<string, any>;\n private _badge?: BadgeType;\n private _saveTransientState?: () => void;\n private _restoreTransientState?: () => boolean;\n private _preferredPanelSize: \"fit-content\" | undefined;\n private _defaultFloatingSize: SizeProps | undefined;\n private _canPopout?: boolean;\n private _floatingContainerId?: string;\n private _defaultFloatingPosition: XAndY | undefined;\n\n private _hideWithUiWhenFloating?: boolean;\n private _allowedPanelTargets?: ReadonlyArray<StagePanelLocation>;\n private _initialConfig?: WidgetConfig;\n\n public get state(): WidgetState {\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n if (frontstageDef && frontstageDef.findWidgetDef(this.id)) {\n const currentState = frontstageDef.getWidgetCurrentState(this);\n // istanbul ignore else\n if (undefined !== currentState) return currentState;\n }\n return this.defaultState;\n }\n\n public get id(): string {\n return this._id;\n }\n public get classId(): string | ConfigurableUiControlConstructor | undefined {\n return this._classId;\n }\n public get priority(): number {\n return this._priority;\n }\n\n public get isFloatingStateSupported(): boolean {\n if (!this.initialConfig) return true;\n\n const allowedPanels = this.initialConfig.allowedPanels;\n if (allowedPanels && allowedPanels.length === 0) {\n return true;\n }\n\n const canFloat = this.initialConfig.canFloat;\n if (canFloat === undefined) return true;\n return !!canFloat;\n }\n\n public get isFloatingStateWindowResizable(): boolean {\n const canFloat = this.initialConfig?.canFloat;\n if (typeof canFloat === \"object\") {\n return canFloat.isResizable === undefined ? true : canFloat.isResizable;\n }\n\n return true;\n }\n\n public get isToolSettings(): boolean {\n return this._widgetType === WidgetType.ToolSettings;\n }\n public get isStatusBar(): boolean {\n return this._widgetType === WidgetType.StatusBar;\n }\n public get stateChanged(): boolean {\n return this._stateChanged;\n }\n public get applicationData(): any | undefined {\n return this._applicationData;\n }\n public get isFloating(): boolean {\n return this.state === WidgetState.Floating;\n }\n public get iconSpec(): IconSpec {\n return this._icon === IconHelper.reactIconKey\n ? IconHelper.getIconReactNode(this._icon, this._internalData)\n : this._icon;\n }\n public set iconSpec(spec: IconSpec) {\n this._icon = this._internalData\n ? IconHelper.getIconData(spec, this._internalData)\n : spec;\n }\n public get badgeType(): BadgeType | undefined {\n return this._badge;\n }\n public get initialConfig(): WidgetConfig | undefined {\n return this._initialConfig;\n }\n\n public get widgetType(): WidgetType {\n return this._widgetType;\n }\n public set widgetType(type: WidgetType) {\n this._widgetType = type;\n }\n\n /** @internal */\n public get defaultFloatingPosition() {\n return this._defaultFloatingPosition;\n }\n public set defaultFloatingPosition(position: XAndY | undefined) {\n this._defaultFloatingPosition = position;\n }\n\n /** @internal */\n public get defaultFloatingSize() {\n return this._defaultFloatingSize;\n }\n public set defaultFloatingSize(size: SizeProps | undefined) {\n this._defaultFloatingSize = size;\n }\n\n /** @internal */\n public get defaultState() {\n return this._defaultState;\n }\n\n constructor() {\n WidgetDef._sId++;\n this._id = `Widget-${WidgetDef._sId}`;\n }\n\n /** @internal */\n public static create(\n config: WidgetConfig,\n type: WidgetType = WidgetType.Rectangular\n ) {\n const def = new WidgetDef();\n def.initializeFromConfig(config, type);\n return def;\n }\n\n private initializeFromConfig(config: WidgetConfig, type: WidgetType) {\n this._widgetType = type;\n this._initialConfig = config;\n this._id = config.id;\n\n if (config.label) this._label = config.label;\n else if (config.labelKey)\n this._label = UiFramework.localization.getLocalizedString(\n config.labelKey\n );\n else if (type === WidgetType.ToolSettings) this._label = \"Tool Settings\";\n\n this.setCanPopout(config.canPopout);\n\n const canFloat = config.canFloat;\n if (typeof canFloat === \"object\") {\n this.setFloatingContainerId(canFloat.containerId);\n this.defaultFloatingPosition = canFloat.defaultPosition;\n this._hideWithUiWhenFloating = !!canFloat.hideWithUi;\n this._defaultFloatingSize = canFloat.defaultSize;\n }\n\n if (\"allowedPanels\" in config) {\n this.allowedPanelTargets = config.allowedPanels;\n } else if (type === WidgetType.ToolSettings)\n this.allowedPanelTargets = [\n StagePanelLocation.Bottom,\n StagePanelLocation.Left,\n StagePanelLocation.Right,\n ];\n\n if (config.priority !== undefined) this._priority = config.priority;\n\n if (config.tooltip) this.setTooltip(config.tooltip);\n else if (config.tooltipKey)\n this._tooltip = UiFramework.localization.getLocalizedString(\n config.tooltipKey\n );\n\n if (config.defaultState !== undefined) {\n this._defaultState = config.defaultState;\n }\n\n if (\n config.allowedPanels &&\n config.allowedPanels.length === 0 &&\n config.defaultState === WidgetState.Open\n ) {\n this._defaultState = WidgetState.Floating;\n }\n\n this._widgetReactNode = config.content;\n this._icon = config.icon;\n\n // istanbul ignore next\n if (config.icon !== undefined && this._icon === undefined)\n this._icon = config.icon;\n\n if (config.badge !== undefined) this._badge = config.badge;\n\n this._preferredPanelSize = config.preferredPanelSize;\n }\n\n /** @alpha */\n public get preferredPanelSize() {\n return this._preferredPanelSize;\n }\n\n /** Get the label string */\n public get label(): string {\n return PropsHelper.getStringFromSpec(this._label);\n }\n\n /** Set the label.\n * @param labelSpec A string or a function to get the string.\n */\n public setLabel(labelSpec: string | ConditionalStringValue | StringGetter) {\n this._label = labelSpec; // TODO: handle ConditionalStringValue\n\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n if (!frontstageDef) return;\n\n const label = PropsHelper.getStringFromSpec(labelSpec);\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_SET_LABEL\",\n id: this.id,\n label,\n });\n }\n\n /** Get the tooltip string */\n public get tooltip(): string {\n return PropsHelper.getStringFromSpec(this._tooltip);\n }\n\n /** Set the tooltip.\n * @param v A string or a function to get the string.\n */\n public setTooltip(v: string | ConditionalStringValue | StringGetter) {\n this._tooltip = v;\n }\n\n public get widgetControl(): WidgetControl | undefined {\n return this._widgetControl;\n }\n\n public getWidgetControl(\n type: ConfigurableUiControlType\n ): WidgetControl | undefined {\n if (!this._widgetControl && this.classId) {\n let usedClassId: string = \"\";\n\n if (typeof this.classId === \"string\") {\n // istanbul ignore else\n if (this.classId)\n this._widgetControl = UiFramework.controls.create(\n this.classId,\n this.id,\n this.applicationData\n ) as WidgetControl;\n usedClassId = this.classId;\n } else {\n const info = new ConfigurableCreateInfo(\n this.classId.name,\n this.id,\n this.id\n );\n usedClassId = this.classId.name;\n this._widgetControl = new this.classId(\n info,\n this.applicationData\n ) as WidgetControl;\n }\n\n // istanbul ignore else\n if (this._widgetControl) {\n if (this._widgetControl.getType() !== type) {\n throw new UiError(\n UiFramework.loggerCategory(this),\n `getWidgetControl: '${usedClassId}' is NOT a ${type}; it is a ${this._widgetControl.getType()}`\n );\n }\n\n this._widgetControl.widgetDef = this;\n this._widgetControl.initialize();\n }\n }\n\n // istanbul ignore next - To avoid breaking API changes, if a WidgetControl is not specified for a status bar use Default one.\n if (!this._widgetControl && this.isStatusBar) {\n const info = new ConfigurableCreateInfo(\n \"StatusBarWidgetComposerControl\",\n StatusBarWidgetComposerControl.controlId,\n StatusBarWidgetComposerControl.controlId\n );\n this._widgetControl = new StatusBarWidgetComposerControl(info, undefined);\n this._widgetControl.widgetDef = this;\n this._widgetControl.initialize();\n }\n\n return this._widgetControl;\n }\n\n public get reactNode(): React.ReactNode {\n if (!this._widgetReactNode) {\n const widgetControl = this.getWidgetControl(\n ConfigurableUiControlType.Widget\n );\n\n // istanbul ignore else\n if (widgetControl && widgetControl.reactNode)\n this._widgetReactNode = widgetControl.reactNode;\n }\n\n return this._widgetReactNode;\n }\n\n public set reactNode(node: React.ReactNode) {\n this._widgetReactNode = node;\n }\n\n public setWidgetState(newState: WidgetState): void {\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n const state = frontstageDef?.nineZoneState;\n if (!state || this.isStatusBar) return;\n if (!frontstageDef.findWidgetDef(this.id)) return;\n\n switch (newState) {\n case WidgetState.Closed: {\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_CLOSE\",\n id: this.id,\n });\n break;\n }\n case WidgetState.Floating: {\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_FLOAT\",\n id: this.id,\n position: this._defaultFloatingPosition,\n });\n break;\n }\n case WidgetState.Hidden: {\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_HIDE\",\n id: this.id,\n });\n break;\n }\n case WidgetState.Open: {\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_OPEN\",\n id: this.id,\n });\n break;\n }\n case WidgetState.Unloaded: {\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_UNLOAD\",\n id: this.id,\n });\n break;\n }\n }\n }\n\n /** @internal */\n public handleWidgetStateChanged(newState: WidgetState) {\n this._stateChanged = true;\n UiFramework.frontstages.onWidgetStateChangedEvent.emit({\n widgetDef: this,\n widgetState: newState,\n });\n this.onWidgetStateChanged();\n }\n\n public setCanPopout(value: boolean | undefined) {\n this._canPopout = value;\n }\n\n public get canPopout(): boolean | undefined {\n return this._canPopout;\n }\n\n public setFloatingContainerId(value: string | undefined) {\n this._floatingContainerId = value;\n }\n\n public get floatingContainerId(): string | undefined {\n return this._floatingContainerId;\n }\n\n public canOpen(): boolean {\n return this.isFloating || this.isActive;\n }\n\n public get isVisible(): boolean {\n return (\n WidgetState.Hidden !== this.state && WidgetState.Unloaded !== this.state\n );\n }\n\n public get activeState(): WidgetState {\n return this.state;\n }\n\n public get isActive(): boolean {\n return WidgetState.Open === this.activeState;\n }\n\n public set hideWithUiWhenFloating(hide: boolean | undefined) {\n this._hideWithUiWhenFloating = !!hide;\n }\n\n public get hideWithUiWhenFloating(): boolean {\n return !!this._hideWithUiWhenFloating;\n }\n\n public get allowedPanelTargets():\n | ReadonlyArray<StagePanelLocation>\n | undefined {\n return this._allowedPanelTargets;\n }\n\n public set allowedPanelTargets(\n targets: ReadonlyArray<StagePanelLocation> | undefined\n ) {\n this._allowedPanelTargets = targets;\n }\n\n public onWidgetStateChanged(): void {\n this.widgetControl && this.widgetControl.onWidgetStateChanged();\n }\n\n /** Overwrite to save transient DOM state (i.e. scroll offset). */\n public saveTransientState(): void {\n this.widgetControl && this.widgetControl.saveTransientState();\n this._saveTransientState && this._saveTransientState();\n }\n\n /** Overwrite to restore transient DOM state.\n * @note Return true if the state is restored or the Widget will remount.\n */\n public restoreTransientState(): boolean {\n let result = true;\n if (this.widgetControl || this._restoreTransientState) {\n let result1 = false,\n result2 = false;\n if (this.widgetControl)\n result1 = this.widgetControl.restoreTransientState();\n if (this._restoreTransientState) result2 = this._restoreTransientState();\n result = !(result1 || result2);\n }\n return result;\n }\n\n /** Opens the widget and makes it visible to the user.\n * I.e. opens the stage panel or brings the floating widget to front of the screen.\n * @public\n */\n public show() {\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n const state = frontstageDef?.nineZoneState;\n if (!state) return;\n if (!frontstageDef.findWidgetDef(this.id)) return;\n\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_SHOW\",\n id: this.id,\n });\n }\n\n /** Opens the widget and expands it to fill full size of the stage panel.\n * @public\n */\n public expand() {\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n const state = frontstageDef?.nineZoneState;\n if (!state) return;\n if (!frontstageDef.findWidgetDef(this.id)) return;\n\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_EXPAND\",\n id: this.id,\n });\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"WidgetDef.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetDef.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAQH,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGzD,OAAO,EACL,sBAAsB,EACtB,yBAAyB,GAC1B,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGnD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAUlF;;GAEG;AACH,mDAAmD;AACnD,MAAM,OAAO,uBAAwB,SAAQ,OAAoC;CAAG;AAYpF;;GAEG;AACH,MAAM,CAAN,IAAY,UAMX;AAND,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CAAC;IAED;;OAEG;IACI,MAAM;QACX,MAAM,aAAa,GAAG,WAAW,CAAC,WAAW,CAAC,mBAAmB,CAAC;QAClE,MAAM,KAAK,GAAG,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,aAAa,CAAC;QAC3C,IAAI,CAAC,KAAK;YAAE,OAAO;QACnB,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC;YAAE,OAAO;QAElD,aAAa,CAAC,QAAQ,CAAC;YACrB,IAAI,EAAE,mBAAmB;YACzB,EAAE,EAAE,IAAI,CAAC,EAAE;SACZ,CAAC,CAAC;IACL,CAAC;;AA5ec,cAAI,GAAG,CAAC,AAAJ,CAAK;SADb,SAAS","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 type * as React from \"react\";\nimport type {\n BadgeType,\n ConditionalStringValue,\n StringGetter,\n} from \"@itwin/appui-abstract\";\nimport { UiError, UiEvent } from \"@itwin/appui-abstract\";\nimport type { XAndY } from \"@itwin/core-geometry\";\nimport type { ConfigurableUiControlConstructor } from \"../configurableui/ConfigurableUiControl\";\nimport {\n ConfigurableCreateInfo,\n ConfigurableUiControlType,\n} from \"../configurableui/ConfigurableUiControl\";\nimport { UiFramework } from \"../UiFramework\";\nimport { PropsHelper } from \"../utils/PropsHelper\";\nimport type { WidgetControl } from \"./WidgetControl\";\nimport type { IconSpec, SizeProps } from \"@itwin/core-react\";\nimport { IconHelper } from \"@itwin/core-react\";\nimport type { WidgetConfig } from \"./WidgetConfig\";\nimport { WidgetState } from \"./WidgetState\";\nimport { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\nimport { StatusBarWidgetComposerControl } from \"./StatusBarWidgetComposerControl\";\n\n/** Widget State Changed Event Args interface.\n * @public\n */\nexport interface WidgetStateChangedEventArgs {\n widgetDef: WidgetDef;\n widgetState: WidgetState;\n}\n\n/** Widget State Changed Event class.\n * @public\n */\n// eslint-disable-next-line deprecation/deprecation\nexport class WidgetStateChangedEvent extends UiEvent<WidgetStateChangedEventArgs> {}\n\n/** @internal */\nexport interface WidgetChangedEventArgs {\n widgetDef: WidgetDef;\n}\n\n/** @internal */\nexport interface WidgetEventArgs {\n widgetDef: WidgetDef;\n}\n\n/** Widget type enum.\n * @public\n */\nexport enum WidgetType {\n Tool,\n Navigation,\n Rectangular,\n ToolSettings,\n StatusBar,\n}\n\n// -----------------------------------------------------------------------------\n\n/** A Widget Definition in the 9-Zone Layout system.\n * @public\n */\nexport class WidgetDef {\n private static _sId = 0;\n private _label: string | ConditionalStringValue | StringGetter = \"\";\n private _tooltip: string | ConditionalStringValue | StringGetter = \"\";\n private _widgetReactNode: React.ReactNode;\n private _widgetControl!: WidgetControl;\n private _defaultState: WidgetState = WidgetState.Closed;\n private _id: string;\n private _classId: string | ConfigurableUiControlConstructor | undefined =\n undefined;\n private _priority: number = 0;\n private _stateChanged: boolean = false;\n private _widgetType: WidgetType = WidgetType.Rectangular;\n private _applicationData?: any;\n private _icon?: IconSpec;\n private _internalData?: Map<string, any>;\n private _badge?: BadgeType;\n private _saveTransientState?: () => void;\n private _restoreTransientState?: () => boolean;\n private _preferredPanelSize: \"fit-content\" | undefined;\n private _defaultFloatingSize: SizeProps | undefined;\n private _canPopout?: boolean;\n private _floatingContainerId?: string;\n private _defaultFloatingPosition: XAndY | undefined;\n\n private _hideWithUiWhenFloating?: boolean;\n private _allowedPanelTargets?: ReadonlyArray<StagePanelLocation>;\n private _initialConfig?: WidgetConfig;\n\n public get state(): WidgetState {\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n if (frontstageDef && frontstageDef.findWidgetDef(this.id)) {\n const currentState = frontstageDef.getWidgetCurrentState(this);\n // istanbul ignore else\n if (undefined !== currentState) return currentState;\n }\n return this.defaultState;\n }\n\n public get id(): string {\n return this._id;\n }\n public get classId(): string | ConfigurableUiControlConstructor | undefined {\n return this._classId;\n }\n public get priority(): number {\n return this._priority;\n }\n\n public get isFloatingStateSupported(): boolean {\n if (!this.initialConfig) return true;\n\n const allowedPanels = this.initialConfig.allowedPanels;\n if (allowedPanels && allowedPanels.length === 0) {\n return true;\n }\n\n const canFloat = this.initialConfig.canFloat;\n if (canFloat === undefined) return true;\n return !!canFloat;\n }\n\n public get isFloatingStateWindowResizable(): boolean {\n const canFloat = this.initialConfig?.canFloat;\n if (typeof canFloat === \"object\") {\n return canFloat.isResizable === undefined ? true : canFloat.isResizable;\n }\n\n return true;\n }\n\n public get isToolSettings(): boolean {\n return this._widgetType === WidgetType.ToolSettings;\n }\n public get isStatusBar(): boolean {\n return this._widgetType === WidgetType.StatusBar;\n }\n public get stateChanged(): boolean {\n return this._stateChanged;\n }\n public get applicationData(): any | undefined {\n return this._applicationData;\n }\n public get isFloating(): boolean {\n return this.state === WidgetState.Floating;\n }\n public get iconSpec(): IconSpec {\n return this._icon === IconHelper.reactIconKey\n ? IconHelper.getIconReactNode(this._icon, this._internalData)\n : this._icon;\n }\n public set iconSpec(spec: IconSpec) {\n this._icon = this._internalData\n ? IconHelper.getIconData(spec, this._internalData)\n : spec;\n }\n public get badgeType(): BadgeType | undefined {\n return this._badge;\n }\n public get initialConfig(): WidgetConfig | undefined {\n return this._initialConfig;\n }\n\n public get widgetType(): WidgetType {\n return this._widgetType;\n }\n public set widgetType(type: WidgetType) {\n this._widgetType = type;\n }\n\n /** @internal */\n public get defaultFloatingPosition() {\n return this._defaultFloatingPosition;\n }\n public set defaultFloatingPosition(position: XAndY | undefined) {\n this._defaultFloatingPosition = position;\n }\n\n /** @internal */\n public get defaultFloatingSize() {\n return this._defaultFloatingSize;\n }\n public set defaultFloatingSize(size: SizeProps | undefined) {\n this._defaultFloatingSize = size;\n }\n\n /** @internal */\n public get defaultState() {\n return this._defaultState;\n }\n\n constructor() {\n WidgetDef._sId++;\n this._id = `Widget-${WidgetDef._sId}`;\n }\n\n /** @internal */\n public static create(\n config: WidgetConfig,\n type: WidgetType = WidgetType.Rectangular\n ) {\n const def = new WidgetDef();\n def.initializeFromConfig(config, type);\n return def;\n }\n\n private initializeFromConfig(config: WidgetConfig, type: WidgetType) {\n this._widgetType = type;\n this._initialConfig = config;\n this._id = config.id;\n\n if (config.label) this._label = config.label;\n else if (config.labelKey)\n this._label = UiFramework.localization.getLocalizedString(\n config.labelKey\n );\n else if (type === WidgetType.ToolSettings) this._label = \"Tool Settings\";\n\n this.setCanPopout(config.canPopout);\n\n const canFloat = config.canFloat;\n if (typeof canFloat === \"object\") {\n this.setFloatingContainerId(canFloat.containerId);\n this.defaultFloatingPosition = canFloat.defaultPosition;\n this._hideWithUiWhenFloating = !!canFloat.hideWithUi;\n this._defaultFloatingSize = canFloat.defaultSize;\n }\n\n if (\"allowedPanels\" in config) {\n this.allowedPanelTargets = config.allowedPanels;\n } else if (type === WidgetType.ToolSettings)\n this.allowedPanelTargets = [\n StagePanelLocation.Bottom,\n StagePanelLocation.Left,\n StagePanelLocation.Right,\n ];\n\n if (config.priority !== undefined) this._priority = config.priority;\n\n if (config.tooltip) this.setTooltip(config.tooltip);\n else if (config.tooltipKey)\n this._tooltip = UiFramework.localization.getLocalizedString(\n config.tooltipKey\n );\n\n if (config.defaultState !== undefined) {\n this._defaultState = config.defaultState;\n }\n\n if (\n config.allowedPanels &&\n config.allowedPanels.length === 0 &&\n config.defaultState === WidgetState.Open\n ) {\n this._defaultState = WidgetState.Floating;\n }\n\n this._widgetReactNode = config.content;\n this._icon = config.icon;\n\n // istanbul ignore next\n if (config.icon !== undefined && this._icon === undefined)\n this._icon = config.icon;\n\n if (config.badge !== undefined) this._badge = config.badge;\n\n this._preferredPanelSize = config.preferredPanelSize;\n }\n\n /** @alpha */\n public get preferredPanelSize() {\n return this._preferredPanelSize;\n }\n\n /** Get the label string */\n public get label(): string {\n return PropsHelper.getStringFromSpec(this._label);\n }\n\n /** Set the label.\n * @param labelSpec A string or a function to get the string.\n */\n public setLabel(labelSpec: string | ConditionalStringValue | StringGetter) {\n this._label = labelSpec; // TODO: handle ConditionalStringValue\n\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n if (!frontstageDef) return;\n\n const label = PropsHelper.getStringFromSpec(labelSpec);\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_SET_LABEL\",\n id: this.id,\n label,\n });\n }\n\n /** Get the tooltip string */\n public get tooltip(): string {\n return PropsHelper.getStringFromSpec(this._tooltip);\n }\n\n /** Set the tooltip.\n * @param v A string or a function to get the string.\n */\n public setTooltip(v: string | ConditionalStringValue | StringGetter) {\n this._tooltip = v;\n }\n\n public get widgetControl(): WidgetControl | undefined {\n return this._widgetControl;\n }\n\n public getWidgetControl(\n type: ConfigurableUiControlType\n ): WidgetControl | undefined {\n if (!this._widgetControl && this.classId) {\n let usedClassId: string = \"\";\n\n if (typeof this.classId === \"string\") {\n // istanbul ignore else\n if (this.classId)\n this._widgetControl = UiFramework.controls.create(\n this.classId,\n this.id,\n this.applicationData\n ) as WidgetControl;\n usedClassId = this.classId;\n } else {\n const info = new ConfigurableCreateInfo(\n this.classId.name,\n this.id,\n this.id\n );\n usedClassId = this.classId.name;\n this._widgetControl = new this.classId(\n info,\n this.applicationData\n ) as WidgetControl;\n }\n\n // istanbul ignore else\n if (this._widgetControl) {\n if (this._widgetControl.getType() !== type) {\n // eslint-disable-next-line deprecation/deprecation\n throw new UiError(\n UiFramework.loggerCategory(this),\n `getWidgetControl: '${usedClassId}' is NOT a ${type}; it is a ${this._widgetControl.getType()}`\n );\n }\n\n this._widgetControl.widgetDef = this;\n this._widgetControl.initialize();\n }\n }\n\n // istanbul ignore next - To avoid breaking API changes, if a WidgetControl is not specified for a status bar use Default one.\n if (!this._widgetControl && this.isStatusBar) {\n const info = new ConfigurableCreateInfo(\n \"StatusBarWidgetComposerControl\",\n StatusBarWidgetComposerControl.controlId,\n StatusBarWidgetComposerControl.controlId\n );\n this._widgetControl = new StatusBarWidgetComposerControl(info, undefined);\n this._widgetControl.widgetDef = this;\n this._widgetControl.initialize();\n }\n\n return this._widgetControl;\n }\n\n public get reactNode(): React.ReactNode {\n if (!this._widgetReactNode) {\n const widgetControl = this.getWidgetControl(\n ConfigurableUiControlType.Widget\n );\n\n // istanbul ignore else\n if (widgetControl && widgetControl.reactNode)\n this._widgetReactNode = widgetControl.reactNode;\n }\n\n return this._widgetReactNode;\n }\n\n public set reactNode(node: React.ReactNode) {\n this._widgetReactNode = node;\n }\n\n public setWidgetState(newState: WidgetState): void {\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n const state = frontstageDef?.nineZoneState;\n if (!state || this.isStatusBar) return;\n if (!frontstageDef.findWidgetDef(this.id)) return;\n\n switch (newState) {\n case WidgetState.Closed: {\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_CLOSE\",\n id: this.id,\n });\n break;\n }\n case WidgetState.Floating: {\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_FLOAT\",\n id: this.id,\n position: this._defaultFloatingPosition,\n });\n break;\n }\n case WidgetState.Hidden: {\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_HIDE\",\n id: this.id,\n });\n break;\n }\n case WidgetState.Open: {\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_OPEN\",\n id: this.id,\n });\n break;\n }\n case WidgetState.Unloaded: {\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_UNLOAD\",\n id: this.id,\n });\n break;\n }\n }\n }\n\n /** @internal */\n public handleWidgetStateChanged(newState: WidgetState) {\n this._stateChanged = true;\n UiFramework.frontstages.onWidgetStateChangedEvent.emit({\n widgetDef: this,\n widgetState: newState,\n });\n this.onWidgetStateChanged();\n }\n\n public setCanPopout(value: boolean | undefined) {\n this._canPopout = value;\n }\n\n public get canPopout(): boolean | undefined {\n return this._canPopout;\n }\n\n public setFloatingContainerId(value: string | undefined) {\n this._floatingContainerId = value;\n }\n\n public get floatingContainerId(): string | undefined {\n return this._floatingContainerId;\n }\n\n public canOpen(): boolean {\n return this.isFloating || this.isActive;\n }\n\n public get isVisible(): boolean {\n return (\n WidgetState.Hidden !== this.state && WidgetState.Unloaded !== this.state\n );\n }\n\n public get activeState(): WidgetState {\n return this.state;\n }\n\n public get isActive(): boolean {\n return WidgetState.Open === this.activeState;\n }\n\n public set hideWithUiWhenFloating(hide: boolean | undefined) {\n this._hideWithUiWhenFloating = !!hide;\n }\n\n public get hideWithUiWhenFloating(): boolean {\n return !!this._hideWithUiWhenFloating;\n }\n\n public get allowedPanelTargets():\n | ReadonlyArray<StagePanelLocation>\n | undefined {\n return this._allowedPanelTargets;\n }\n\n public set allowedPanelTargets(\n targets: ReadonlyArray<StagePanelLocation> | undefined\n ) {\n this._allowedPanelTargets = targets;\n }\n\n public onWidgetStateChanged(): void {\n this.widgetControl && this.widgetControl.onWidgetStateChanged();\n }\n\n /** Overwrite to save transient DOM state (i.e. scroll offset). */\n public saveTransientState(): void {\n this.widgetControl && this.widgetControl.saveTransientState();\n this._saveTransientState && this._saveTransientState();\n }\n\n /** Overwrite to restore transient DOM state.\n * @note Return true if the state is restored or the Widget will remount.\n */\n public restoreTransientState(): boolean {\n let result = true;\n if (this.widgetControl || this._restoreTransientState) {\n let result1 = false,\n result2 = false;\n if (this.widgetControl)\n result1 = this.widgetControl.restoreTransientState();\n if (this._restoreTransientState) result2 = this._restoreTransientState();\n result = !(result1 || result2);\n }\n return result;\n }\n\n /** Opens the widget and makes it visible to the user.\n * I.e. opens the stage panel or brings the floating widget to front of the screen.\n * @public\n */\n public show() {\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n const state = frontstageDef?.nineZoneState;\n if (!state) return;\n if (!frontstageDef.findWidgetDef(this.id)) return;\n\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_SHOW\",\n id: this.id,\n });\n }\n\n /** Opens the widget and expands it to fill full size of the stage panel.\n * @public\n */\n public expand() {\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n const state = frontstageDef?.nineZoneState;\n if (!state) return;\n if (!frontstageDef.findWidgetDef(this.id)) return;\n\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_EXPAND\",\n id: this.id,\n });\n }\n}\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { WidgetState } from "./WidgetState";
|
|
2
|
+
/** Hook that returns information about the Widget in the current context.
|
|
3
|
+
* @returns object that contains the WidgetLocation, WidgetState, and
|
|
4
|
+
* the ability to set the state of the widget.
|
|
5
|
+
* @alpha
|
|
6
|
+
*/
|
|
7
|
+
export declare function useWidget(): {
|
|
8
|
+
/** State of the Widget */
|
|
9
|
+
state: WidgetState;
|
|
10
|
+
/** Where the widget is located ("docked" | "popout" | "floating"). */
|
|
11
|
+
widgetLocation: "floating" | "docked" | "popout";
|
|
12
|
+
/** Set widget to different state
|
|
13
|
+
* @param WidgetState that you want to set the widget to.
|
|
14
|
+
*/
|
|
15
|
+
setState: (widgetState: Omit<WidgetState, WidgetState.Floating>) => void;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=useWidget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useWidget.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/useWidget.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD;;;;GAIG;AACH,wBAAgB,SAAS;IA0CrB,0BAA0B;;IAE1B,sEAAsE;;IAEtE;;OAEG;4BAbW,KAAK,WAAW,EAAE,YAAY,QAAQ,CAAC;EAgBxD"}
|