@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":"ContentLayout.js","sourceRoot":"","sources":["../../../../src/appui-react/content/ContentLayout.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,8BAA8B;AAE9B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAE,WAAW,E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AAC,eAAe,EAAE,CAAC;QACpD,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,mBAAmB,CAC3D,YAAY,EACZ,IAAI,CACL,CAAC;QAEF,IAAI,CAAC,KAAK,GAAG;YACX,gBAAgB,EAAE,IAAI,CAAC,KAAK,CAAC,aAAa;YAC1C,gBAAgB;YAChB,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO;SAChD,CAAC;IACJ,CAAC;IAEe,iBAAiB;QAC/B,WAAW,CAAC,WAAW,CAAC,6BAA6B,CAAC,WAAW,CAC/D,IAAI,CAAC,6BAA6B,CACnC,CAAC;IACJ,CAAC;IAEe,oBAAoB;QAClC,WAAW,CAAC,WAAW,CAAC,6BAA6B,CAAC,cAAc,CAClE,IAAI,CAAC,6BAA6B,CACnC,CAAC;IACJ,CAAC;IAqBe,MAAM;QACpB,IAAI,IAAI,CAAC,KAAK,CAAC,gBAAgB,EAAE;YAC/B,OAAO,CACL,6BACE,EAAE,EAAC,wBAAwB,EAC3B,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,EAC/B,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EACvB,GAAG,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,IAAI,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,EAAE,EAAE,EACrE,WAAW,EAAE,IAAI,CAAC,YAAY,EAC9B,SAAS,EAAE,IAAI,CAAC,UAAU,EAC1B,IAAI,EAAC,cAAc,IAElB,IAAI,CAAC,KAAK,CAAC,gBAAgB,CACxB,CACP,CAAC;SACH;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CASF","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 ContentView\n */\n\n// cSpell:ignore contentlayout\n\nimport \"./ContentLayout.scss\";\nimport classnames from \"classnames\";\nimport * as React from \"react\";\nimport { SplitPane } from \"./split-pane/SplitPane\";\nimport type { CommonProps } from \"@itwin/core-react\";\nimport { Orientation } from \"@itwin/core-react\";\nimport type { ContentGroup } from \"./ContentGroup\";\nimport type {\n ContentLayoutProps,\n LayoutFragmentProps,\n LayoutHorizontalSplitProps,\n LayoutSplitPropsBase,\n LayoutVerticalSplitProps,\n} from \"@itwin/appui-abstract\";\nimport { UiEvent } from \"@itwin/appui-abstract\";\nimport type { ActiveContentChangedEventArgs } from \"../framework/FrameworkContent\";\nimport { useActiveFrontstageDef } from \"../frontstage/FrontstageDef\";\nimport { UiFramework } from \"../UiFramework\";\n\n/** Properties for [[ContentWrapper]] */\ninterface ContentWrapperProps extends CommonProps {\n content: React.ReactNode;\n}\n\n/** ContentWrapper React component.\n * @internal\n */\nexport function ContentWrapper(props: ContentWrapperProps) {\n const { content } = props;\n const [isActive, setIsActive] = React.useState(\n content === UiFramework.content.getActive()\n );\n const activeFrontstageDef = useActiveFrontstageDef();\n\n const contentControlKey = (\n contentControl: React.ReactNode\n ): string | undefined => {\n let controlId: string | undefined;\n if (contentControl && (contentControl as React.ReactElement<any>).key) {\n const key = (contentControl as React.ReactElement<any>).key as string;\n // key has format `${contentProps.id}::${this.groupId}` which is stored as unique id\n controlId = key.split(\"::\", 1)[0];\n }\n return controlId;\n };\n\n // istanbul ignore next\n const [hasMultipleContents, setHasMultipleContents] = React.useState(\n () =>\n (activeFrontstageDef &&\n !!activeFrontstageDef.floatingContentControls?.length) ||\n (activeFrontstageDef?.contentGroup?.getContentControls().length ?? 0) > 1\n );\n\n React.useEffect(() => {\n setIsActive(content === UiFramework.content.getActive());\n }, [content]);\n\n React.useEffect(() => {\n const handleActiveContentChanged = (\n args: ActiveContentChangedEventArgs\n ) => {\n const contentIsIdentical = content === args.activeContent;\n if (contentIsIdentical) setIsActive(contentIsIdentical);\n else {\n const contentId = contentControlKey(content);\n const activeContentId = contentControlKey(args.activeContent);\n setIsActive(contentId === activeContentId);\n }\n // istanbul ignore next\n setHasMultipleContents(\n (activeFrontstageDef &&\n !!activeFrontstageDef.floatingContentControls?.length) ||\n (activeFrontstageDef?.contentGroup?.getContentControls().length ??\n 0) > 1\n );\n };\n return UiFramework.content.onActiveContentChangedEvent.addListener(\n handleActiveContentChanged\n );\n }, [activeFrontstageDef, content]);\n\n const handleMouseDown = React.useCallback(() => {\n UiFramework.content.setActive(content);\n setIsActive(true);\n }, [content]);\n\n React.useEffect(() => {\n const onAvailableContentChanged = () => {\n // istanbul ignore next\n setHasMultipleContents(\n (activeFrontstageDef &&\n !!activeFrontstageDef.floatingContentControls?.length) ||\n (activeFrontstageDef?.contentGroup?.getContentControls().length ??\n 0) > 1\n );\n };\n return UiFramework.content.onAvailableContentChangedEvent.addListener(\n onAvailableContentChanged\n );\n }, [activeFrontstageDef]);\n\n const overlayClassName = classnames(\n \"uifw-contentlayout-overlay-div\",\n isActive && hasMultipleContents\n ? \"uifw-contentlayout-overlay-active\"\n : \"uifw-contentlayout-overlay-inactive\"\n );\n\n return (\n <div\n className={classnames(\"uifw-contentlayout-wrapper\", props.className)}\n style={props.style}\n onMouseDown={handleMouseDown}\n onMouseMove={UiFramework.visibility.handleContentMouseMove}\n role=\"presentation\"\n >\n {content}\n <div className={overlayClassName} />\n </div>\n );\n}\n\n/** Properties for the [[SplitContainer]] component */\ninterface SplitContainerProps extends CommonProps {\n contentA: React.ReactNode;\n contentB: React.ReactNode;\n orientation: Orientation;\n percentage: number;\n resizable: boolean;\n minSizeTopLeft: number;\n minSizeBottomRight: number;\n splitterStateId?: string;\n onSplitterChange?: (size: number, percentage: number) => void;\n}\n\n/** Split Container class.\n */\nclass SplitContainer extends React.Component<SplitContainerProps> {\n private _containerDiv: HTMLDivElement | null = null;\n\n constructor(props: SplitContainerProps) {\n super(props);\n }\n\n private _onSplitterChange = (size: number): void => {\n let percentage = 0;\n\n // istanbul ignore else\n if (this._containerDiv && size > 0) {\n if (this.props.orientation === Orientation.Horizontal) {\n const height = this._containerDiv.getBoundingClientRect().height;\n // istanbul ignore if\n if (height > 0) percentage = size / height;\n } else {\n const width = this._containerDiv.getBoundingClientRect().width;\n // istanbul ignore if\n if (width > 0) percentage = size / width;\n }\n\n // istanbul ignore else\n if (this.props.onSplitterChange)\n this.props.onSplitterChange(size, percentage);\n }\n };\n\n public override render(): React.ReactNode {\n const orientation =\n this.props.orientation === Orientation.Horizontal\n ? \"horizontal\"\n : \"vertical\";\n const defaultSize = `${(this.props.percentage * 100).toString()}%`;\n const minSizeTopLeft = this.props.minSizeTopLeft;\n const minSizeBottomRight = -this.props.minSizeBottomRight;\n\n return (\n <div\n ref={(e) => {\n this._containerDiv = e;\n }}\n className={classnames(\n \"uifw-contentlayout-full-size\",\n this.props.className\n )}\n style={this.props.style}\n >\n <SplitPane\n split={orientation}\n minSize={minSizeTopLeft}\n maxSize={minSizeBottomRight}\n defaultSize={defaultSize}\n onChange={this._onSplitterChange}\n allowResize={this.props.resizable}\n >\n {this.props.contentA}\n {this.props.contentB}\n </SplitPane>\n </div>\n );\n }\n}\n\n/** Properties for [[SingleContentContainer]] component\n */\ninterface SingleContentProps extends CommonProps {\n content: React.ReactNode;\n}\n\n/** Single Content Container class.\n */\nclass SingleContentContainer extends React.Component<SingleContentProps> {\n public override render(): React.ReactNode {\n return (\n <div\n className={classnames(\n \"uifw-contentlayout-full-size\",\n this.props.className\n )}\n style={this.props.style}\n data-testid=\"single-content-container\"\n onMouseMove={UiFramework.visibility.handleContentMouseMove}\n >\n <ContentWrapper\n content={this.props.content}\n style={{ height: \"100%\", position: \"relative\" }}\n />\n </div>\n );\n }\n}\n\n/** Common interface for HorizontalSplit and VerticalSplit\n */\ninterface LayoutSplit {\n createContentContainer(\n contentNodes: React.ReactNode[],\n resizable: boolean\n ): React.ReactNode;\n isLocked: boolean;\n}\n\n/** Minimum split size */\nconst MIN_SPLIT_SIZE = 6;\n\n/** Base Split class.\n */\nclass BaseSplit {\n public defaultPercentage: number;\n public stateId: string = \"\";\n public isLocked: boolean = false;\n\n constructor(props: LayoutSplitPropsBase) {\n this.defaultPercentage = props.percentage;\n\n // istanbul ignore else\n if (props.id) this.stateId = props.id;\n\n // istanbul ignore else\n if (props.lock) this.isLocked = props.lock;\n }\n}\n\n/** Horizontal Split class.\n */\nclass HorizontalSplit extends BaseSplit implements LayoutSplit {\n private _topIndex: number = -1;\n private _bottomIndex: number = -1;\n private _topSplit?: LayoutSplit;\n private _bottomSplit?: LayoutSplit;\n private _props: LayoutHorizontalSplitProps;\n private _minSizeTop: number = MIN_SPLIT_SIZE;\n private _minSizeBottom: number = MIN_SPLIT_SIZE;\n\n constructor(props: LayoutHorizontalSplitProps) {\n super(props);\n\n this._props = props;\n\n if (typeof props.top === \"number\") {\n this._topIndex = props.top;\n } else {\n this._topSplit = ContentLayoutDef.createSplit(props.top);\n }\n\n if (typeof props.bottom === \"number\") {\n this._bottomIndex = props.bottom;\n } else {\n this._bottomSplit = ContentLayoutDef.createSplit(props.bottom);\n }\n\n if (props.minSizeTop)\n this._minSizeTop = Math.max(props.minSizeTop, MIN_SPLIT_SIZE);\n\n if (props.minSizeBottom)\n this._minSizeBottom = Math.max(props.minSizeBottom, MIN_SPLIT_SIZE);\n }\n\n private _handleSplitterChange = (_size: number, percentage: number): void => {\n this._props.percentage = percentage;\n };\n\n public createContentContainer(\n contentNodes: React.ReactNode[],\n resizable: boolean\n ): React.ReactNode {\n if (this.isLocked) resizable = false;\n\n const topContent = !this._topSplit ? (\n <ContentWrapper content={contentNodes[this._topIndex]} />\n ) : (\n this._topSplit.createContentContainer(contentNodes, resizable)\n );\n const bottomContent = !this._bottomSplit ? (\n <ContentWrapper content={contentNodes[this._bottomIndex]} />\n ) : (\n this._bottomSplit.createContentContainer(contentNodes, resizable)\n );\n\n return (\n <SplitContainer\n contentA={topContent}\n contentB={bottomContent}\n orientation={Orientation.Horizontal}\n percentage={this.defaultPercentage}\n resizable={resizable}\n minSizeTopLeft={this._minSizeTop}\n minSizeBottomRight={this._minSizeBottom}\n splitterStateId={this.stateId}\n onSplitterChange={this._handleSplitterChange}\n />\n );\n }\n}\n\n/** Vertical Split class.\n */\nclass VerticalSplit extends BaseSplit implements LayoutSplit {\n private _leftIndex: number = -1;\n private _rightIndex: number = -1;\n private _leftSplit?: LayoutSplit;\n private _rightSplit?: LayoutSplit;\n private _props: LayoutVerticalSplitProps;\n private _minSizeLeft: number = MIN_SPLIT_SIZE;\n private _minSizeRight: number = MIN_SPLIT_SIZE;\n\n constructor(props: LayoutVerticalSplitProps) {\n super(props);\n\n this._props = props;\n\n if (typeof props.left === \"number\") {\n this._leftIndex = props.left;\n } else {\n this._leftSplit = ContentLayoutDef.createSplit(props.left);\n }\n\n if (typeof props.right === \"number\") {\n this._rightIndex = props.right;\n } else {\n this._rightSplit = ContentLayoutDef.createSplit(props.right);\n }\n\n if (props.minSizeLeft)\n this._minSizeLeft = Math.max(props.minSizeLeft, MIN_SPLIT_SIZE);\n\n if (props.minSizeRight)\n this._minSizeRight = Math.max(props.minSizeRight, MIN_SPLIT_SIZE);\n }\n\n private _handleSplitterChange = (_size: number, percentage: number): void => {\n this._props.percentage = percentage;\n };\n\n public createContentContainer(\n contentNodes: React.ReactNode[],\n resizable: boolean\n ): React.ReactNode {\n if (this.isLocked) resizable = false;\n\n const leftContent = !this._leftSplit ? (\n <ContentWrapper content={contentNodes[this._leftIndex]} />\n ) : (\n this._leftSplit.createContentContainer(contentNodes, resizable)\n );\n const rightContent = !this._rightSplit ? (\n <ContentWrapper content={contentNodes[this._rightIndex]} />\n ) : (\n this._rightSplit.createContentContainer(contentNodes, resizable)\n );\n\n return (\n <SplitContainer\n contentA={leftContent}\n contentB={rightContent}\n orientation={Orientation.Vertical}\n percentage={this.defaultPercentage}\n resizable={resizable}\n minSizeTopLeft={this._minSizeLeft}\n minSizeBottomRight={this._minSizeRight}\n splitterStateId={this.stateId}\n onSplitterChange={this._handleSplitterChange}\n />\n );\n }\n}\n\n/** Content Layout Definition class.\n * @public\n */\nexport class ContentLayoutDef {\n private _layoutProps: ContentLayoutProps;\n private _rootSplit?: LayoutSplit;\n\n /** ID for this Content Layout */\n public id: string = \"\";\n /** Description of the layout. */\n public description: string = \"\";\n constructor(layoutProps: ContentLayoutProps) {\n this._layoutProps = layoutProps;\n this.id = layoutProps.id;\n if (layoutProps.description !== undefined)\n this.description = layoutProps.description;\n }\n\n public get rootSplit(): LayoutSplit | undefined {\n return this._rootSplit;\n }\n\n /** Creates [[ContentLayoutProps]] for JSON purposes\n * @public\n */\n public toJSON(): ContentLayoutProps {\n return this._layoutProps;\n }\n\n /** Fill a layout container with React nodes for each content view\n */\n public fillLayoutContainer(\n contentNodes: React.ReactNode[],\n resizable: boolean\n ): React.ReactNode | undefined {\n this._rootSplit = ContentLayoutDef.createSplit(this._layoutProps);\n\n if (this.rootSplit) {\n return this.rootSplit.createContentContainer(contentNodes, resizable);\n }\n\n if (contentNodes.length > 0)\n return <SingleContentContainer content={contentNodes[0]} />;\n\n return undefined;\n }\n\n /** Gets the indexes of content views used in this Content Layout\n */\n public getUsedContentIndexes(): number[] {\n let allContentIndexes: number[] = [];\n\n if (!this._layoutProps.horizontalSplit && !this._layoutProps.verticalSplit)\n allContentIndexes.push(0);\n else {\n allContentIndexes = allContentIndexes.concat(\n this.getHorizontalSplitContentIndexes(this._layoutProps.horizontalSplit)\n );\n allContentIndexes = allContentIndexes.concat(\n this.getVerticalSplitContentIndexes(this._layoutProps.verticalSplit)\n );\n }\n\n const uniqueContentIndexes = [...new Set(allContentIndexes)];\n\n return uniqueContentIndexes;\n }\n\n private getHorizontalSplitContentIndexes(\n splitProps?: LayoutHorizontalSplitProps\n ): number[] {\n let contentIndexes: number[] = [];\n\n if (!splitProps) return contentIndexes;\n\n if (typeof splitProps.top === \"number\") contentIndexes.push(splitProps.top);\n else {\n contentIndexes = contentIndexes.concat(\n this.getHorizontalSplitContentIndexes(splitProps.top.horizontalSplit)\n );\n contentIndexes = contentIndexes.concat(\n this.getVerticalSplitContentIndexes(splitProps.top.verticalSplit)\n );\n }\n\n if (typeof splitProps.bottom === \"number\")\n contentIndexes.push(splitProps.bottom);\n else {\n contentIndexes = contentIndexes.concat(\n this.getHorizontalSplitContentIndexes(splitProps.bottom.horizontalSplit)\n );\n contentIndexes = contentIndexes.concat(\n this.getVerticalSplitContentIndexes(splitProps.bottom.verticalSplit)\n );\n }\n\n return contentIndexes;\n }\n\n private getVerticalSplitContentIndexes(\n splitProps?: LayoutVerticalSplitProps\n ): number[] {\n let contentIndexes: number[] = [];\n\n if (!splitProps) return contentIndexes;\n\n if (typeof splitProps.left === \"number\")\n contentIndexes.push(splitProps.left);\n else {\n contentIndexes = contentIndexes.concat(\n this.getHorizontalSplitContentIndexes(splitProps.left.horizontalSplit)\n );\n contentIndexes = contentIndexes.concat(\n this.getVerticalSplitContentIndexes(splitProps.left.verticalSplit)\n );\n }\n\n if (typeof splitProps.right === \"number\")\n contentIndexes.push(splitProps.right);\n else {\n contentIndexes = contentIndexes.concat(\n this.getHorizontalSplitContentIndexes(splitProps.right.horizontalSplit)\n );\n contentIndexes = contentIndexes.concat(\n this.getVerticalSplitContentIndexes(splitProps.right.verticalSplit)\n );\n }\n\n return contentIndexes;\n }\n\n /** @internal */\n public static createSplit(\n fragmentDef: LayoutFragmentProps\n ): LayoutSplit | undefined {\n if (fragmentDef.horizontalSplit) {\n return new HorizontalSplit(fragmentDef.horizontalSplit);\n } else if (fragmentDef.verticalSplit) {\n return new VerticalSplit(fragmentDef.verticalSplit);\n }\n\n return undefined;\n }\n}\n\n/** Content Layout Activated Event Args class.\n * @public\n */\nexport interface ContentLayoutActivatedEventArgs {\n contentLayout: ContentLayoutDef;\n contentGroup: ContentGroup;\n}\n\n/** Content Layout Activated Event class.\n * @public\n */\nexport class ContentLayoutActivatedEvent extends UiEvent<ContentLayoutActivatedEventArgs> {}\n\n/** State for the [[ContentLayout]].\n */\ninterface ContentLayoutState {\n contentLayoutDef: ContentLayoutDef;\n contentContainer?: React.ReactNode;\n contentGroupId?: string;\n}\n\n/** Properties for the [[ContentLayout]] React component.\n * @public\n */\nexport interface ContentLayoutComponentProps extends CommonProps {\n contentLayout: ContentLayoutDef;\n contentGroup: ContentGroup;\n}\n\n/** Content Layout React component.\n * @public\n */\nexport class ContentLayout extends React.Component<\n ContentLayoutComponentProps,\n ContentLayoutState\n> {\n /** @internal */\n public override readonly state: Readonly<ContentLayoutState>;\n\n constructor(props: ContentLayoutComponentProps) {\n super(props);\n\n const contentLayoutDef = this.props.contentLayout;\n const contentGroup = this.props.contentGroup;\n\n const contentNodes = contentGroup.getContentNodes();\n const contentContainer = contentLayoutDef.fillLayoutContainer(\n contentNodes,\n true\n );\n\n this.state = {\n contentLayoutDef: this.props.contentLayout,\n contentContainer,\n contentGroupId: this.props.contentGroup.groupId,\n };\n }\n\n public override componentDidMount() {\n UiFramework.frontstages.onContentLayoutActivatedEvent.addListener(\n this._handleContentLayoutActivated\n );\n }\n\n public override componentWillUnmount() {\n UiFramework.frontstages.onContentLayoutActivatedEvent.removeListener(\n this._handleContentLayoutActivated\n );\n }\n\n private _handleContentLayoutActivated = (\n args: ContentLayoutActivatedEventArgs\n ) => {\n const contentLayoutDef = args.contentLayout;\n const contentGroup = args.contentGroup;\n\n const contentNodes = contentGroup.getContentNodes();\n const contentContainer = contentLayoutDef.fillLayoutContainer(\n contentNodes,\n true\n );\n\n this.setState({\n contentLayoutDef: args.contentLayout,\n contentContainer,\n contentGroupId: contentGroup.groupId,\n });\n };\n\n public override render(): React.ReactNode {\n if (this.state.contentContainer) {\n return (\n <div\n id=\"uifw-contentlayout-div\"\n className={this.props.className}\n style={this.props.style}\n key={`${this.state.contentGroupId}-${this.state.contentLayoutDef.id}`}\n onMouseDown={this._onMouseDown}\n onMouseUp={this._onMouseUp}\n role=\"presentation\"\n >\n {this.state.contentContainer}\n </div>\n );\n }\n\n return null;\n }\n\n private _onMouseDown = (_event: React.MouseEvent<HTMLDivElement>) => {\n UiFramework.content.setMouseDown(true);\n };\n\n private _onMouseUp = (_event: React.MouseEvent<HTMLDivElement>) => {\n UiFramework.content.setMouseDown(false);\n };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"ContentLayout.js","sourceRoot":"","sources":["../../../../src/appui-react/content/ContentLayout.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,8BAA8B;AAE9B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAShD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAO7C;;GAEG;AACH,MAAM,UAAU,cAAc,CAAC,KAA0B;IACvD,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAC1B,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,KAAK,CAAC,QAAQ,CAC5C,OAAO,KAAK,WAAW,CAAC,OAAO,CAAC,SAAS,EAAE,CAC5C,CAAC;IACF,MAAM,mBAAmB,GAAG,sBAAsB,EAAE,CAAC;IAErD,MAAM,iBAAiB,GAAG,CACxB,cAA+B,EACX,EAAE;QACtB,IAAI,SAA6B,CAAC;QAClC,IAAI,cAAc,IAAK,cAA0C,CAAC,GAAG,EAAE;YACrE,MAAM,GAAG,GAAI,cAA0C,CAAC,GAAa,CAAC;YACtE,oFAAoF;YACpF,SAAS,GAAG,GAAG,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;SACnC;QACD,OAAO,SAAS,CAAC;IACnB,CAAC,CAAC;IAEF,uBAAuB;IACvB,MAAM,CAAC,mBA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,gBAAgB,CAAC,EAAE,EAAE,EACrE,WAAW,EAAE,IAAI,CAAC,YAAY,EAC9B,SAAS,EAAE,IAAI,CAAC,UAAU,EAC1B,IAAI,EAAC,cAAc,IAElB,IAAI,CAAC,KAAK,CAAC,gBAAgB,CACxB,CACP,CAAC;SACH;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CASF","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 ContentView\n */\n\n// cSpell:ignore contentlayout\n\nimport \"./ContentLayout.scss\";\nimport classnames from \"classnames\";\nimport * as React from \"react\";\nimport { SplitPane } from \"./split-pane/SplitPane\";\nimport type { CommonProps } from \"@itwin/core-react\";\nimport { Orientation } from \"@itwin/core-react\";\nimport type { ContentGroup } from \"./ContentGroup\";\nimport type {\n ContentLayoutProps,\n LayoutFragmentProps,\n LayoutHorizontalSplitProps,\n LayoutSplitPropsBase,\n LayoutVerticalSplitProps,\n} from \"@itwin/appui-abstract\";\nimport { UiEvent } from \"@itwin/appui-abstract\";\nimport type { ActiveContentChangedEventArgs } from \"../framework/FrameworkContent\";\nimport { useActiveFrontstageDef } from \"../frontstage/FrontstageDef\";\nimport { UiFramework } from \"../UiFramework\";\n\n/** Properties for [[ContentWrapper]] */\ninterface ContentWrapperProps extends CommonProps {\n content: React.ReactNode;\n}\n\n/** ContentWrapper React component.\n * @internal\n */\nexport function ContentWrapper(props: ContentWrapperProps) {\n const { content } = props;\n const [isActive, setIsActive] = React.useState(\n content === UiFramework.content.getActive()\n );\n const activeFrontstageDef = useActiveFrontstageDef();\n\n const contentControlKey = (\n contentControl: React.ReactNode\n ): string | undefined => {\n let controlId: string | undefined;\n if (contentControl && (contentControl as React.ReactElement<any>).key) {\n const key = (contentControl as React.ReactElement<any>).key as string;\n // key has format `${contentProps.id}::${this.groupId}` which is stored as unique id\n controlId = key.split(\"::\", 1)[0];\n }\n return controlId;\n };\n\n // istanbul ignore next\n const [hasMultipleContents, setHasMultipleContents] = React.useState(\n () =>\n (activeFrontstageDef &&\n !!activeFrontstageDef.floatingContentControls?.length) ||\n (activeFrontstageDef?.contentGroup?.getContentControls().length ?? 0) > 1\n );\n\n React.useEffect(() => {\n setIsActive(content === UiFramework.content.getActive());\n }, [content]);\n\n React.useEffect(() => {\n const handleActiveContentChanged = (\n args: ActiveContentChangedEventArgs\n ) => {\n const contentIsIdentical = content === args.activeContent;\n if (contentIsIdentical) setIsActive(contentIsIdentical);\n else {\n const contentId = contentControlKey(content);\n const activeContentId = contentControlKey(args.activeContent);\n setIsActive(contentId === activeContentId);\n }\n // istanbul ignore next\n setHasMultipleContents(\n (activeFrontstageDef &&\n !!activeFrontstageDef.floatingContentControls?.length) ||\n (activeFrontstageDef?.contentGroup?.getContentControls().length ??\n 0) > 1\n );\n };\n return UiFramework.content.onActiveContentChangedEvent.addListener(\n handleActiveContentChanged\n );\n }, [activeFrontstageDef, content]);\n\n const handleMouseDown = React.useCallback(() => {\n UiFramework.content.setActive(content);\n setIsActive(true);\n }, [content]);\n\n React.useEffect(() => {\n const onAvailableContentChanged = () => {\n // istanbul ignore next\n setHasMultipleContents(\n (activeFrontstageDef &&\n !!activeFrontstageDef.floatingContentControls?.length) ||\n (activeFrontstageDef?.contentGroup?.getContentControls().length ??\n 0) > 1\n );\n };\n return UiFramework.content.onAvailableContentChangedEvent.addListener(\n onAvailableContentChanged\n );\n }, [activeFrontstageDef]);\n\n const overlayClassName = classnames(\n \"uifw-contentlayout-overlay-div\",\n isActive && hasMultipleContents\n ? \"uifw-contentlayout-overlay-active\"\n : \"uifw-contentlayout-overlay-inactive\"\n );\n\n return (\n <div\n className={classnames(\"uifw-contentlayout-wrapper\", props.className)}\n style={props.style}\n onMouseDown={handleMouseDown}\n onMouseMove={UiFramework.visibility.handleContentMouseMove}\n role=\"presentation\"\n >\n {content}\n <div className={overlayClassName} />\n </div>\n );\n}\n\n/** Properties for the [[SplitContainer]] component */\ninterface SplitContainerProps extends CommonProps {\n contentA: React.ReactNode;\n contentB: React.ReactNode;\n orientation: Orientation;\n percentage: number;\n resizable: boolean;\n minSizeTopLeft: number;\n minSizeBottomRight: number;\n splitterStateId?: string;\n onSplitterChange?: (size: number, percentage: number) => void;\n}\n\n/** Split Container class.\n */\nclass SplitContainer extends React.Component<SplitContainerProps> {\n private _containerDiv: HTMLDivElement | null = null;\n\n constructor(props: SplitContainerProps) {\n super(props);\n }\n\n private _onSplitterChange = (size: number): void => {\n let percentage = 0;\n\n // istanbul ignore else\n if (this._containerDiv && size > 0) {\n if (this.props.orientation === Orientation.Horizontal) {\n const height = this._containerDiv.getBoundingClientRect().height;\n // istanbul ignore if\n if (height > 0) percentage = size / height;\n } else {\n const width = this._containerDiv.getBoundingClientRect().width;\n // istanbul ignore if\n if (width > 0) percentage = size / width;\n }\n\n // istanbul ignore else\n if (this.props.onSplitterChange)\n this.props.onSplitterChange(size, percentage);\n }\n };\n\n public override render(): React.ReactNode {\n const orientation =\n this.props.orientation === Orientation.Horizontal\n ? \"horizontal\"\n : \"vertical\";\n const defaultSize = `${(this.props.percentage * 100).toString()}%`;\n const minSizeTopLeft = this.props.minSizeTopLeft;\n const minSizeBottomRight = -this.props.minSizeBottomRight;\n\n return (\n <div\n ref={(e) => {\n this._containerDiv = e;\n }}\n className={classnames(\n \"uifw-contentlayout-full-size\",\n this.props.className\n )}\n style={this.props.style}\n >\n <SplitPane\n split={orientation}\n minSize={minSizeTopLeft}\n maxSize={minSizeBottomRight}\n defaultSize={defaultSize}\n onChange={this._onSplitterChange}\n allowResize={this.props.resizable}\n >\n {this.props.contentA}\n {this.props.contentB}\n </SplitPane>\n </div>\n );\n }\n}\n\n/** Properties for [[SingleContentContainer]] component\n */\ninterface SingleContentProps extends CommonProps {\n content: React.ReactNode;\n}\n\n/** Single Content Container class.\n */\nclass SingleContentContainer extends React.Component<SingleContentProps> {\n public override render(): React.ReactNode {\n return (\n <div\n className={classnames(\n \"uifw-contentlayout-full-size\",\n this.props.className\n )}\n style={this.props.style}\n data-testid=\"single-content-container\"\n onMouseMove={UiFramework.visibility.handleContentMouseMove}\n >\n <ContentWrapper\n content={this.props.content}\n style={{ height: \"100%\", position: \"relative\" }}\n />\n </div>\n );\n }\n}\n\n/** Common interface for HorizontalSplit and VerticalSplit\n */\ninterface LayoutSplit {\n createContentContainer(\n contentNodes: React.ReactNode[],\n resizable: boolean\n ): React.ReactNode;\n isLocked: boolean;\n}\n\n/** Minimum split size */\nconst MIN_SPLIT_SIZE = 6;\n\n/** Base Split class.\n */\nclass BaseSplit {\n public defaultPercentage: number;\n public stateId: string = \"\";\n public isLocked: boolean = false;\n\n constructor(props: LayoutSplitPropsBase) {\n this.defaultPercentage = props.percentage;\n\n // istanbul ignore else\n if (props.id) this.stateId = props.id;\n\n // istanbul ignore else\n if (props.lock) this.isLocked = props.lock;\n }\n}\n\n/** Horizontal Split class.\n */\nclass HorizontalSplit extends BaseSplit implements LayoutSplit {\n private _topIndex: number = -1;\n private _bottomIndex: number = -1;\n private _topSplit?: LayoutSplit;\n private _bottomSplit?: LayoutSplit;\n private _props: LayoutHorizontalSplitProps;\n private _minSizeTop: number = MIN_SPLIT_SIZE;\n private _minSizeBottom: number = MIN_SPLIT_SIZE;\n\n constructor(props: LayoutHorizontalSplitProps) {\n super(props);\n\n this._props = props;\n\n if (typeof props.top === \"number\") {\n this._topIndex = props.top;\n } else {\n this._topSplit = ContentLayoutDef.createSplit(props.top);\n }\n\n if (typeof props.bottom === \"number\") {\n this._bottomIndex = props.bottom;\n } else {\n this._bottomSplit = ContentLayoutDef.createSplit(props.bottom);\n }\n\n if (props.minSizeTop)\n this._minSizeTop = Math.max(props.minSizeTop, MIN_SPLIT_SIZE);\n\n if (props.minSizeBottom)\n this._minSizeBottom = Math.max(props.minSizeBottom, MIN_SPLIT_SIZE);\n }\n\n private _handleSplitterChange = (_size: number, percentage: number): void => {\n this._props.percentage = percentage;\n };\n\n public createContentContainer(\n contentNodes: React.ReactNode[],\n resizable: boolean\n ): React.ReactNode {\n if (this.isLocked) resizable = false;\n\n const topContent = !this._topSplit ? (\n <ContentWrapper content={contentNodes[this._topIndex]} />\n ) : (\n this._topSplit.createContentContainer(contentNodes, resizable)\n );\n const bottomContent = !this._bottomSplit ? (\n <ContentWrapper content={contentNodes[this._bottomIndex]} />\n ) : (\n this._bottomSplit.createContentContainer(contentNodes, resizable)\n );\n\n return (\n <SplitContainer\n contentA={topContent}\n contentB={bottomContent}\n orientation={Orientation.Horizontal}\n percentage={this.defaultPercentage}\n resizable={resizable}\n minSizeTopLeft={this._minSizeTop}\n minSizeBottomRight={this._minSizeBottom}\n splitterStateId={this.stateId}\n onSplitterChange={this._handleSplitterChange}\n />\n );\n }\n}\n\n/** Vertical Split class.\n */\nclass VerticalSplit extends BaseSplit implements LayoutSplit {\n private _leftIndex: number = -1;\n private _rightIndex: number = -1;\n private _leftSplit?: LayoutSplit;\n private _rightSplit?: LayoutSplit;\n private _props: LayoutVerticalSplitProps;\n private _minSizeLeft: number = MIN_SPLIT_SIZE;\n private _minSizeRight: number = MIN_SPLIT_SIZE;\n\n constructor(props: LayoutVerticalSplitProps) {\n super(props);\n\n this._props = props;\n\n if (typeof props.left === \"number\") {\n this._leftIndex = props.left;\n } else {\n this._leftSplit = ContentLayoutDef.createSplit(props.left);\n }\n\n if (typeof props.right === \"number\") {\n this._rightIndex = props.right;\n } else {\n this._rightSplit = ContentLayoutDef.createSplit(props.right);\n }\n\n if (props.minSizeLeft)\n this._minSizeLeft = Math.max(props.minSizeLeft, MIN_SPLIT_SIZE);\n\n if (props.minSizeRight)\n this._minSizeRight = Math.max(props.minSizeRight, MIN_SPLIT_SIZE);\n }\n\n private _handleSplitterChange = (_size: number, percentage: number): void => {\n this._props.percentage = percentage;\n };\n\n public createContentContainer(\n contentNodes: React.ReactNode[],\n resizable: boolean\n ): React.ReactNode {\n if (this.isLocked) resizable = false;\n\n const leftContent = !this._leftSplit ? (\n <ContentWrapper content={contentNodes[this._leftIndex]} />\n ) : (\n this._leftSplit.createContentContainer(contentNodes, resizable)\n );\n const rightContent = !this._rightSplit ? (\n <ContentWrapper content={contentNodes[this._rightIndex]} />\n ) : (\n this._rightSplit.createContentContainer(contentNodes, resizable)\n );\n\n return (\n <SplitContainer\n contentA={leftContent}\n contentB={rightContent}\n orientation={Orientation.Vertical}\n percentage={this.defaultPercentage}\n resizable={resizable}\n minSizeTopLeft={this._minSizeLeft}\n minSizeBottomRight={this._minSizeRight}\n splitterStateId={this.stateId}\n onSplitterChange={this._handleSplitterChange}\n />\n );\n }\n}\n\n/** Content Layout Definition class.\n * @public\n */\nexport class ContentLayoutDef {\n private _layoutProps: ContentLayoutProps;\n private _rootSplit?: LayoutSplit;\n\n /** ID for this Content Layout */\n public id: string = \"\";\n /** Description of the layout. */\n public description: string = \"\";\n constructor(layoutProps: ContentLayoutProps) {\n this._layoutProps = layoutProps;\n this.id = layoutProps.id;\n if (layoutProps.description !== undefined)\n this.description = layoutProps.description;\n }\n\n public get rootSplit(): LayoutSplit | undefined {\n return this._rootSplit;\n }\n\n /** Creates [[ContentLayoutProps]] for JSON purposes\n * @public\n */\n public toJSON(): ContentLayoutProps {\n return this._layoutProps;\n }\n\n /** Fill a layout container with React nodes for each content view\n */\n public fillLayoutContainer(\n contentNodes: React.ReactNode[],\n resizable: boolean\n ): React.ReactNode | undefined {\n this._rootSplit = ContentLayoutDef.createSplit(this._layoutProps);\n\n if (this.rootSplit) {\n return this.rootSplit.createContentContainer(contentNodes, resizable);\n }\n\n if (contentNodes.length > 0)\n return <SingleContentContainer content={contentNodes[0]} />;\n\n return undefined;\n }\n\n /** Gets the indexes of content views used in this Content Layout\n */\n public getUsedContentIndexes(): number[] {\n let allContentIndexes: number[] = [];\n\n if (!this._layoutProps.horizontalSplit && !this._layoutProps.verticalSplit)\n allContentIndexes.push(0);\n else {\n allContentIndexes = allContentIndexes.concat(\n this.getHorizontalSplitContentIndexes(this._layoutProps.horizontalSplit)\n );\n allContentIndexes = allContentIndexes.concat(\n this.getVerticalSplitContentIndexes(this._layoutProps.verticalSplit)\n );\n }\n\n const uniqueContentIndexes = [...new Set(allContentIndexes)];\n\n return uniqueContentIndexes;\n }\n\n private getHorizontalSplitContentIndexes(\n splitProps?: LayoutHorizontalSplitProps\n ): number[] {\n let contentIndexes: number[] = [];\n\n if (!splitProps) return contentIndexes;\n\n if (typeof splitProps.top === \"number\") contentIndexes.push(splitProps.top);\n else {\n contentIndexes = contentIndexes.concat(\n this.getHorizontalSplitContentIndexes(splitProps.top.horizontalSplit)\n );\n contentIndexes = contentIndexes.concat(\n this.getVerticalSplitContentIndexes(splitProps.top.verticalSplit)\n );\n }\n\n if (typeof splitProps.bottom === \"number\")\n contentIndexes.push(splitProps.bottom);\n else {\n contentIndexes = contentIndexes.concat(\n this.getHorizontalSplitContentIndexes(splitProps.bottom.horizontalSplit)\n );\n contentIndexes = contentIndexes.concat(\n this.getVerticalSplitContentIndexes(splitProps.bottom.verticalSplit)\n );\n }\n\n return contentIndexes;\n }\n\n private getVerticalSplitContentIndexes(\n splitProps?: LayoutVerticalSplitProps\n ): number[] {\n let contentIndexes: number[] = [];\n\n if (!splitProps) return contentIndexes;\n\n if (typeof splitProps.left === \"number\")\n contentIndexes.push(splitProps.left);\n else {\n contentIndexes = contentIndexes.concat(\n this.getHorizontalSplitContentIndexes(splitProps.left.horizontalSplit)\n );\n contentIndexes = contentIndexes.concat(\n this.getVerticalSplitContentIndexes(splitProps.left.verticalSplit)\n );\n }\n\n if (typeof splitProps.right === \"number\")\n contentIndexes.push(splitProps.right);\n else {\n contentIndexes = contentIndexes.concat(\n this.getHorizontalSplitContentIndexes(splitProps.right.horizontalSplit)\n );\n contentIndexes = contentIndexes.concat(\n this.getVerticalSplitContentIndexes(splitProps.right.verticalSplit)\n );\n }\n\n return contentIndexes;\n }\n\n /** @internal */\n public static createSplit(\n fragmentDef: LayoutFragmentProps\n ): LayoutSplit | undefined {\n if (fragmentDef.horizontalSplit) {\n return new HorizontalSplit(fragmentDef.horizontalSplit);\n } else if (fragmentDef.verticalSplit) {\n return new VerticalSplit(fragmentDef.verticalSplit);\n }\n\n return undefined;\n }\n}\n\n/** Content Layout Activated Event Args class.\n * @public\n */\nexport interface ContentLayoutActivatedEventArgs {\n contentLayout: ContentLayoutDef;\n contentGroup: ContentGroup;\n}\n\n/** Content Layout Activated Event class.\n * @public\n */\n// eslint-disable-next-line deprecation/deprecation\nexport class ContentLayoutActivatedEvent extends UiEvent<ContentLayoutActivatedEventArgs> {}\n\n/** State for the [[ContentLayout]].\n */\ninterface ContentLayoutState {\n contentLayoutDef: ContentLayoutDef;\n contentContainer?: React.ReactNode;\n contentGroupId?: string;\n}\n\n/** Properties for the [[ContentLayout]] React component.\n * @public\n */\nexport interface ContentLayoutComponentProps extends CommonProps {\n contentLayout: ContentLayoutDef;\n contentGroup: ContentGroup;\n}\n\n/** Content Layout React component.\n * @public\n */\nexport class ContentLayout extends React.Component<\n ContentLayoutComponentProps,\n ContentLayoutState\n> {\n /** @internal */\n public override readonly state: Readonly<ContentLayoutState>;\n\n constructor(props: ContentLayoutComponentProps) {\n super(props);\n\n const contentLayoutDef = this.props.contentLayout;\n const contentGroup = this.props.contentGroup;\n\n const contentNodes = contentGroup.getContentNodes();\n const contentContainer = contentLayoutDef.fillLayoutContainer(\n contentNodes,\n true\n );\n\n this.state = {\n contentLayoutDef: this.props.contentLayout,\n contentContainer,\n contentGroupId: this.props.contentGroup.groupId,\n };\n }\n\n public override componentDidMount() {\n UiFramework.frontstages.onContentLayoutActivatedEvent.addListener(\n this._handleContentLayoutActivated\n );\n }\n\n public override componentWillUnmount() {\n UiFramework.frontstages.onContentLayoutActivatedEvent.removeListener(\n this._handleContentLayoutActivated\n );\n }\n\n private _handleContentLayoutActivated = (\n args: ContentLayoutActivatedEventArgs\n ) => {\n const contentLayoutDef = args.contentLayout;\n const contentGroup = args.contentGroup;\n\n const contentNodes = contentGroup.getContentNodes();\n const contentContainer = contentLayoutDef.fillLayoutContainer(\n contentNodes,\n true\n );\n\n this.setState({\n contentLayoutDef: args.contentLayout,\n contentContainer,\n contentGroupId: contentGroup.groupId,\n });\n };\n\n public override render(): React.ReactNode {\n if (this.state.contentContainer) {\n return (\n <div\n id=\"uifw-contentlayout-div\"\n className={this.props.className}\n style={this.props.style}\n key={`${this.state.contentGroupId}-${this.state.contentLayoutDef.id}`}\n onMouseDown={this._onMouseDown}\n onMouseUp={this._onMouseUp}\n role=\"presentation\"\n >\n {this.state.contentContainer}\n </div>\n );\n }\n\n return null;\n }\n\n private _onMouseDown = (_event: React.MouseEvent<HTMLDivElement>) => {\n UiFramework.content.setMouseDown(true);\n };\n\n private _onMouseUp = (_event: React.MouseEvent<HTMLDivElement>) => {\n UiFramework.content.setMouseDown(false);\n };\n}\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** @packageDocumentation
|
|
2
2
|
* @module ContentView
|
|
3
3
|
*/
|
|
4
|
-
/// <reference types="react" />
|
|
5
4
|
import "./DefaultViewOverlay.scss";
|
|
5
|
+
import * as React from "react";
|
|
6
6
|
import type { ScreenViewport } from "@itwin/core-frontend";
|
|
7
7
|
/** Props of Viewport Overlay Control that show timelines
|
|
8
8
|
* @public
|
|
@@ -19,5 +19,5 @@ export interface ViewOverlayProps {
|
|
|
19
19
|
* data provider is attached to the TimelineComponent and the overlay is made visible.
|
|
20
20
|
* @public
|
|
21
21
|
*/
|
|
22
|
-
export declare function DefaultViewOverlay({ viewport, onPlayPause, featureOptions, }: ViewOverlayProps): JSX.Element | null;
|
|
22
|
+
export declare function DefaultViewOverlay({ viewport, onPlayPause, featureOptions, }: ViewOverlayProps): React.JSX.Element | null;
|
|
23
23
|
//# sourceMappingURL=DefaultViewOverlay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultViewOverlay.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/content/DefaultViewOverlay.tsx"],"names":[],"mappings":"AAIA;;GAEG
|
|
1
|
+
{"version":3,"file":"DefaultViewOverlay.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/content/DefaultViewOverlay.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,2BAA2B,CAAC;AACnC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAU3D;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,cAAc,CAAC;IACzB,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,cAAc,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;CACzC;AAED;;;;GAIG;AAEH,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,WAAW,EACX,cAAc,GACf,EAAE,gBAAgB,4BAuElB"}
|
|
@@ -18,15 +18,15 @@ export interface FloatingViewportContentProps {
|
|
|
18
18
|
viewportRef?: React.Ref<ScreenViewport>;
|
|
19
19
|
}
|
|
20
20
|
/** @beta */
|
|
21
|
-
export declare function FloatingViewportContent(props: FloatingViewportContentProps): JSX.Element;
|
|
21
|
+
export declare function FloatingViewportContent(props: FloatingViewportContentProps): React.JSX.Element;
|
|
22
22
|
/** @alpha */
|
|
23
23
|
export interface FloatingViewportContentWrapperProps {
|
|
24
24
|
readonly children?: React.ReactNode;
|
|
25
25
|
}
|
|
26
26
|
/** @alpha */
|
|
27
|
-
export declare function FloatingViewportContentWrapper({ children, }: FloatingViewportContentWrapperProps): JSX.Element;
|
|
27
|
+
export declare function FloatingViewportContentWrapper({ children, }: FloatingViewportContentWrapperProps): React.JSX.Element;
|
|
28
28
|
/** @alpha */
|
|
29
29
|
export declare function useFloatingViewport(args: FloatingViewportContentProps): {
|
|
30
|
-
viewportControl: JSX.Element;
|
|
30
|
+
viewportControl: React.JSX.Element;
|
|
31
31
|
};
|
|
32
32
|
//# sourceMappingURL=FloatingViewportContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FloatingViewportContent.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/content/FloatingViewportContent.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAOpE;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,wFAAwF;IACxF,aAAa,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,OAAO,CAAC;IACjD,wCAAwC;IACxC,SAAS,EAAE,MAAM,CAAC;IAClB,iIAAiI;IACjI,gBAAgB,EAAE,aAAa,CAAC;IAChC,wDAAwD;IACxD,WAAW,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;CACzC;AAED,YAAY;AACZ,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,4BAA4B,
|
|
1
|
+
{"version":3,"file":"FloatingViewportContent.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/content/FloatingViewportContent.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAOpE;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,wFAAwF;IACxF,aAAa,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,OAAO,CAAC;IACjD,wCAAwC;IACxC,SAAS,EAAE,MAAM,CAAC;IAClB,iIAAiI;IACjI,gBAAgB,EAAE,aAAa,CAAC;IAChC,wDAAwD;IACxD,WAAW,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;CACzC;AAED,YAAY;AACZ,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,4BAA4B,qBAO1E;AAED,aAAa;AACb,MAAM,WAAW,mCAAmC;IAClD,QAAQ,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACrC;AAED,aAAa;AACb,wBAAgB,8BAA8B,CAAC,EAC7C,QAAQ,GACT,EAAE,mCAAmC,qBAarC;AAED,aAAa;AACb,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,4BAA4B;;EAwErE"}
|
|
@@ -43,7 +43,7 @@ interface ViewOverlayHostProps {
|
|
|
43
43
|
/** View Overlay component -- exported for testing
|
|
44
44
|
* @internal
|
|
45
45
|
*/
|
|
46
|
-
export declare function ViewOverlayHost({ viewport, featureOptions, userSuppliedOverlay, }: ViewOverlayHostProps): JSX.Element | null;
|
|
46
|
+
export declare function ViewOverlayHost({ viewport, featureOptions, userSuppliedOverlay, }: ViewOverlayHostProps): React.JSX.Element | null;
|
|
47
47
|
/** iModel Viewport Control
|
|
48
48
|
* @public
|
|
49
49
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IModelViewport.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/content/IModelViewport.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,EACV,gBAAgB,EAChB,cAAc,EACd,SAAS,EACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAGnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,yCAAy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|
+
// eslint-disable-next-line deprecation/deprecation
|
|
65
66
|
else
|
|
66
67
|
throw new UiError(UiFramework.loggerCategory(this), "No ViewState could be determined");
|
|
67
68
|
return viewState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IModelViewport.js","sourceRoot":"","sources":["../../../../src/appui-react/content/IModelViewport.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGjD,OAAO,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,oCAAoC,EAAE,MAAM,iDAAiD,CAAC;AACvG,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG1C;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,mCAAmC,CACxE,IAAI,EACJ,IAAI,CACL,CAAC,iBAAiB,CAAC,CAAC;AA2BrB;;GAEG;AACH,uBAAuB;AACvB,MAAM,UAAU,eAAe,CAAC,EAC9B,QAAQ,EACR,cAAc,EACd,mBAAmB,GACE;IACrB,MAAM,kBAAkB,GAAG,WAAW,CAAC,CAAC,KAAqB,EAAE,EAAE;QAC/D,MAAM,cAAc,GAAoB,KAAa,CACnD,WAAW,CAAC,iBAAiB,CAC9B,CAAC;QACF,OAAO,cAAc;YACnB,CAAC,CAAC,cAAc,CAAC,mBAAmB,CAAC,kBAAkB;YACvD,CAAC,CAAC,IAAI,CAAC;IAC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yB,CACpE,CAAC,CACF,CAAC;YACN,CAAC,EACD,cAAc,EAAE,IAAI,CAAC,eAAe,GACpC,CACH,CAAC;IACJ,CAAC;IAED,kFAAkF;IACxE,wBAAwB,CAChC,QAAsC;QAEtC,MAAM,SAAS,GAAG,WAAW,CAAC,SAAS,CAAC,oBAAoB,CAAC,CAAC;QAC9D,OAAO,oBAAC,YAAY;;YAAG,SAAS;gBAAiB,CAAC;IACpD,CAAC;IAED,uDAAuD;IACvC,oCAAoC,CAClD,gBAAkC,EAClC,uBAAmC,EACnC,SAAoB,EACpB,KAAa;QAEb,OAAO,IAAI,CAAC,6BAA6B,CAAC,gBAAgB,EAAE,SAAS,CAAC,CAAC;IACzE,CAAC;IAcD,uEAAuE;IACvE,IAAoB,oBAAoB;QACtC,IAAI,IAAI,CAAC,QAAQ;YAAE,OAAO,KAAK,CAAC,oBAAoB,CAAC;;YAChD,OAAO,oCAAoC,CAAC,eAAe,CAAC;IACnE,CAAC;CACF;AAED,WAAW,CAAC,QAAQ,CAAC,QAAQ,CAAC,qBAAqB,CAAC,EAAE,EAAE,qBAAqB,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module ContentView\n */\n\nimport * as React from \"react\";\nimport type { Id64String } from \"@itwin/core-bentley\";\nimport type {\n IModelConnection,\n ScreenViewport,\n ViewState,\n} from \"@itwin/core-frontend\";\nimport type { ViewStateProp } from \"@itwin/imodel-components-react\";\nimport { ViewportComponent } from \"@itwin/imodel-components-react\";\nimport { FillCentered } from \"@itwin/core-react\";\n\nimport type { ConfigurableCreateInfo } from \"../configurableui/ConfigurableUiControl\";\nimport { connectIModelConnectionAndViewState } from \"../redux/connectIModel\";\nimport { UiFramework } from \"../UiFramework\";\nimport { DefaultViewOverlay } from \"./DefaultViewOverlay\";\nimport { ViewportContentControl } from \"./ViewportContentControl\";\nimport { StandardRotationNavigationAidControl } from \"../navigationaids/StandardRotationNavigationAid\";\nimport { UiError } from \"@itwin/appui-abstract\";\nimport { useSelector } from \"react-redux\";\nimport type { FrameworkState } from \"../redux/FrameworkState\";\n\n/** Viewport that is connected to the IModelConnection property in the Redux store. The application must set up the Redux store and include the FrameworkReducer.\n * @public\n */\nexport const IModelConnectedViewport = connectIModelConnectionAndViewState(\n null,\n null\n)(ViewportComponent);\n\n/** [[IModelViewportControl]] options. These options are set in the applicationData property of the [[ContentProps]].\n * @public\n */\nexport interface IModelViewportControlOptions {\n /** ViewState or a function to return a ViewState */\n viewState?: ViewStateProp;\n /** IModelConnection of data in Viewport */\n iModelConnection?: IModelConnection | (() => IModelConnection);\n /** Map of options that can be used to enable/disable features within the view */\n featureOptions?: { [key: string]: any };\n /** Optional background color which may be used if viewState and iModelConnection are undefined */\n bgColor?: string;\n /** Optional property to always use the supplied `viewState` property instead of using viewport.view when set */\n alwaysUseSuppliedViewState?: boolean;\n /** Optional property to supply custom view overlay. Uses when caller want to supply custom overlay component. */\n supplyViewOverlay?: (_viewport: ScreenViewport) => React.ReactNode;\n /** Optional property to defer reactNode initialization until first reactNode property is needed. Useful when subclassing the `IModelViewportControl`. */\n deferNodeInitialization?: boolean;\n}\n\ninterface ViewOverlayHostProps {\n viewport: ScreenViewport;\n featureOptions?: { [key: string]: any };\n userSuppliedOverlay?: (_viewport: ScreenViewport) => React.ReactNode;\n}\n/** View Overlay component -- exported for testing\n * @internal\n */\n// istanbul ignore next\nexport function ViewOverlayHost({\n viewport,\n featureOptions,\n userSuppliedOverlay,\n}: ViewOverlayHostProps) {\n const displayViewOverlay = useSelector((state: FrameworkState) => {\n const frameworkState: FrameworkState = (state as any)[\n UiFramework.frameworkStateKey\n ];\n return frameworkState\n ? frameworkState.configurableUiState.viewOverlayDisplay\n : true;\n });\n if (!displayViewOverlay) return null;\n return userSuppliedOverlay ? (\n <React.Fragment>{userSuppliedOverlay(viewport)}</React.Fragment>\n ) : (\n <DefaultViewOverlay viewport={viewport} featureOptions={featureOptions} />\n );\n}\n/** iModel Viewport Control\n * @public\n */\n// istanbul ignore next\nexport class IModelViewportControl extends ViewportContentControl {\n public static get id() {\n return \"UiFramework.IModelViewportControl\";\n }\n protected _featureOptions: { [key: string]: boolean | string } = {};\n protected _viewState: ViewStateProp | undefined;\n protected _iModelConnection: IModelConnection | undefined;\n protected _alwaysUseSuppliedViewState: boolean;\n private _userSuppliedViewOverlay?: (\n _viewport: ScreenViewport\n ) => React.ReactNode;\n\n constructor(\n info: ConfigurableCreateInfo,\n protected _options: IModelViewportControlOptions\n ) {\n _options = _options ?? {};\n super(info, _options);\n this._options = _options;\n\n if (_options.featureOptions) this._featureOptions = _options.featureOptions;\n this._alwaysUseSuppliedViewState =\n _options.alwaysUseSuppliedViewState ?? false;\n this._userSuppliedViewOverlay = _options.supplyViewOverlay;\n\n if (!_options.deferNodeInitialization) this.initializeReactNode();\n }\n\n protected initializeReactNode() {\n const options = this._options;\n\n if (options.viewState) this._viewState = options.viewState;\n\n const iModelConnection =\n typeof options.iModelConnection === \"function\"\n ? options.iModelConnection()\n : options.iModelConnection;\n\n if (this._viewState && iModelConnection) {\n /** Passing _determineViewState as a function reference; it is not called here. */\n this._reactNode = this.getImodelViewportReactElement(\n iModelConnection,\n this._determineViewState\n );\n } else {\n if (\n UiFramework.getIModelConnection() &&\n UiFramework.getDefaultViewState()\n ) {\n this._reactNode = this.getImodelConnectedViewportReactElement();\n } else {\n this._reactNode = this.getNoContentReactElement(options);\n this.setIsReady();\n }\n }\n }\n\n protected override getReactNode(): React.ReactNode {\n if (\n !React.isValidElement(this._reactNode) &&\n this._options.deferNodeInitialization\n )\n this.initializeReactNode();\n\n return this.getKeyedReactNode();\n }\n\n /**\n * This is passed as a function to the ViewportComponent as the `viewState` prop in getImodelViewportReactElement().\n * It is called by ViewportComponent on a mount to resolve the viewState.\n */\n private _determineViewState = (): ViewState => {\n let viewState: ViewState;\n\n if (this.viewport && !this._alwaysUseSuppliedViewState)\n viewState = this.viewport.view;\n else if (this._viewState) {\n if (typeof this._viewState === \"function\") viewState = this._viewState();\n else viewState = this._viewState;\n } else\n throw new UiError(\n UiFramework.loggerCategory(this),\n \"No ViewState could be determined\"\n );\n\n return viewState!;\n };\n\n /** Get the React component that will contain the Viewport */\n protected getImodelConnectedViewportReactElement(): React.ReactNode {\n return (\n <IModelConnectedViewport\n viewportRef={(v: ScreenViewport) => {\n this.viewport = v;\n // for convenience, if window defined bind viewport to window\n if (undefined !== window) (window as any).viewport = v;\n if (!UiFramework.frontstages.isLoading)\n UiFramework.frontstages.activeFrontstageDef?.setActiveViewFromViewport(\n v\n );\n }}\n getViewOverlay={this._getViewOverlay}\n />\n );\n }\n\n /** Get the React component that will contain the Viewport */\n protected getImodelViewportReactElement(\n iModelConnection: IModelConnection,\n viewState: ViewStateProp\n ): React.ReactNode {\n return (\n <ViewportComponent\n viewState={viewState}\n imodel={iModelConnection}\n controlId={this.controlId}\n viewportRef={(v: ScreenViewport) => {\n this.viewport = v;\n // for convenience, if window defined bind viewport to window\n if (undefined !== window) (window as any).viewport = v;\n if (!UiFramework.frontstages.isLoading)\n UiFramework.frontstages.activeFrontstageDef?.setActiveViewFromViewport(\n v\n );\n }}\n getViewOverlay={this._getViewOverlay}\n />\n );\n }\n\n /** Get the React component that will be shown when no iModel data is available */\n protected getNoContentReactElement(\n _options: IModelViewportControlOptions\n ): React.ReactNode {\n const noContent = UiFramework.translate(\"general.no-content\");\n return <FillCentered> {noContent} </FillCentered>;\n }\n\n /** Get the React.Element for a ViewSelector change. */\n public override getReactElementForViewSelectorChange(\n iModelConnection: IModelConnection,\n _unusedViewDefinitionId: Id64String,\n viewState: ViewState,\n _name: string\n ): React.ReactNode {\n return this.getImodelViewportReactElement(iModelConnection, viewState);\n }\n\n /** Get the default ViewOverlay unless parameter is set to not use it. May be override in an application specific sub-class */\n protected _getViewOverlay = (vp: ScreenViewport): React.ReactNode => {\n return (\n <ViewOverlayHost\n viewport={vp}\n featureOptions={this._featureOptions}\n userSuppliedOverlay={this._userSuppliedViewOverlay}\n data-testid=\"ViewOverlay\"\n />\n );\n };\n\n /** Get the NavigationAidControl associated with this ContentControl */\n public override get navigationAidControl(): string {\n if (this.viewport) return super.navigationAidControl;\n else return StandardRotationNavigationAidControl.navigationAidId;\n }\n}\n\nUiFramework.controls.register(IModelViewportControl.id, IModelViewportControl);\n"]}
|
|
1
|
+
{"version":3,"file":"IModelViewport.js","sourceRoot":"","sources":["../../../../src/appui-react/content/IModelViewport.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGjD,OAAO,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,oCAAoC,EAAE,MAAM,iDAAiD,CAAC;AACvG,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG1C;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,mCAAmC,CACxE,IAAI,EACJ,IAAI,CACL,CAAC,iBAAiB,CAAC,CAAC;AA2BrB;;GAEG;AACH,uBAAuB;AACvB,MAAM,UAAU,eAAe,CAAC,EAC9B,QAAQ,EACR,cAAc,EACd,mBAAmB,GACE;IACrB,MAAM,kBAAkB,GAAG,WAAW,CAAC,CAAC,KAAqB,EAAE,EAAE;QAC/D,MAAM,cAAc,GAAoB,KAAa,CACnD,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oBAAG,MAAc,CAAC,QAAQ,GAAG,CAAC,CAAC;gBACvD,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,SAAS;oBACpC,MAAA,WAAW,CAAC,WAAW,CAAC,mBAAmB,0CAAE,yBAAyB,CACpE,CAAC,CACF,CAAC;YACN,CAAC,EACD,cAAc,EAAE,IAAI,CAAC,eAAe,GACpC,CACH,CAAC;IACJ,CAAC;IAED,kFAAkF;IACxE,wBAAwB,CAChC,QAAsC;QAEtC,MAAM,SAAS,GAAG,WAAW,CAAC,SAAS,CAAC,oBAAoB,CAAC,CAAC;QAC9D,OAAO,oBAAC,YAAY;;YAAG,SAAS;gBAAiB,CAAC;IACpD,CAAC;IAED,uDAAuD;IACvC,oCAAoC,CAClD,gBAAkC,EAClC,uBAAmC,EACnC,SAAoB,EACpB,KAAa;QAEb,OAAO,IAAI,CAAC,6BAA6B,CAAC,gBAAgB,EAAE,SAAS,CAAC,CAAC;IACzE,CAAC;IAcD,uEAAuE;IACvE,IAAoB,oBAAoB;QACtC,IAAI,IAAI,CAAC,QAAQ;YAAE,OAAO,KAAK,CAAC,oBAAoB,CAAC;;YAChD,OAAO,oCAAoC,CAAC,eAAe,CAAC;IACnE,CAAC;CACF;AAED,WAAW,CAAC,QAAQ,CAAC,QAAQ,CAAC,qBAAqB,CAAC,EAAE,EAAE,qBAAqB,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module ContentView\n */\n\nimport * as React from \"react\";\nimport type { Id64String } from \"@itwin/core-bentley\";\nimport type {\n IModelConnection,\n ScreenViewport,\n ViewState,\n} from \"@itwin/core-frontend\";\nimport type { ViewStateProp } from \"@itwin/imodel-components-react\";\nimport { ViewportComponent } from \"@itwin/imodel-components-react\";\nimport { FillCentered } from \"@itwin/core-react\";\n\nimport type { ConfigurableCreateInfo } from \"../configurableui/ConfigurableUiControl\";\nimport { connectIModelConnectionAndViewState } from \"../redux/connectIModel\";\nimport { UiFramework } from \"../UiFramework\";\nimport { DefaultViewOverlay } from \"./DefaultViewOverlay\";\nimport { ViewportContentControl } from \"./ViewportContentControl\";\nimport { StandardRotationNavigationAidControl } from \"../navigationaids/StandardRotationNavigationAid\";\nimport { UiError } from \"@itwin/appui-abstract\";\nimport { useSelector } from \"react-redux\";\nimport type { FrameworkState } from \"../redux/FrameworkState\";\n\n/** Viewport that is connected to the IModelConnection property in the Redux store. The application must set up the Redux store and include the FrameworkReducer.\n * @public\n */\nexport const IModelConnectedViewport = connectIModelConnectionAndViewState(\n null,\n null\n)(ViewportComponent);\n\n/** [[IModelViewportControl]] options. These options are set in the applicationData property of the [[ContentProps]].\n * @public\n */\nexport interface IModelViewportControlOptions {\n /** ViewState or a function to return a ViewState */\n viewState?: ViewStateProp;\n /** IModelConnection of data in Viewport */\n iModelConnection?: IModelConnection | (() => IModelConnection);\n /** Map of options that can be used to enable/disable features within the view */\n featureOptions?: { [key: string]: any };\n /** Optional background color which may be used if viewState and iModelConnection are undefined */\n bgColor?: string;\n /** Optional property to always use the supplied `viewState` property instead of using viewport.view when set */\n alwaysUseSuppliedViewState?: boolean;\n /** Optional property to supply custom view overlay. Uses when caller want to supply custom overlay component. */\n supplyViewOverlay?: (_viewport: ScreenViewport) => React.ReactNode;\n /** Optional property to defer reactNode initialization until first reactNode property is needed. Useful when subclassing the `IModelViewportControl`. */\n deferNodeInitialization?: boolean;\n}\n\ninterface ViewOverlayHostProps {\n viewport: ScreenViewport;\n featureOptions?: { [key: string]: any };\n userSuppliedOverlay?: (_viewport: ScreenViewport) => React.ReactNode;\n}\n/** View Overlay component -- exported for testing\n * @internal\n */\n// istanbul ignore next\nexport function ViewOverlayHost({\n viewport,\n featureOptions,\n userSuppliedOverlay,\n}: ViewOverlayHostProps) {\n const displayViewOverlay = useSelector((state: FrameworkState) => {\n const frameworkState: FrameworkState = (state as any)[\n UiFramework.frameworkStateKey\n ];\n return frameworkState\n ? frameworkState.configurableUiState.viewOverlayDisplay\n : true;\n });\n if (!displayViewOverlay) return null;\n return userSuppliedOverlay ? (\n <React.Fragment>{userSuppliedOverlay(viewport)}</React.Fragment>\n ) : (\n <DefaultViewOverlay viewport={viewport} featureOptions={featureOptions} />\n );\n}\n/** iModel Viewport Control\n * @public\n */\n// istanbul ignore next\nexport class IModelViewportControl extends ViewportContentControl {\n public static get id() {\n return \"UiFramework.IModelViewportControl\";\n }\n protected _featureOptions: { [key: string]: boolean | string } = {};\n protected _viewState: ViewStateProp | undefined;\n protected _iModelConnection: IModelConnection | undefined;\n protected _alwaysUseSuppliedViewState: boolean;\n private _userSuppliedViewOverlay?: (\n _viewport: ScreenViewport\n ) => React.ReactNode;\n\n constructor(\n info: ConfigurableCreateInfo,\n protected _options: IModelViewportControlOptions\n ) {\n _options = _options ?? {};\n super(info, _options);\n this._options = _options;\n\n if (_options.featureOptions) this._featureOptions = _options.featureOptions;\n this._alwaysUseSuppliedViewState =\n _options.alwaysUseSuppliedViewState ?? false;\n this._userSuppliedViewOverlay = _options.supplyViewOverlay;\n\n if (!_options.deferNodeInitialization) this.initializeReactNode();\n }\n\n protected initializeReactNode() {\n const options = this._options;\n\n if (options.viewState) this._viewState = options.viewState;\n\n const iModelConnection =\n typeof options.iModelConnection === \"function\"\n ? options.iModelConnection()\n : options.iModelConnection;\n\n if (this._viewState && iModelConnection) {\n /** Passing _determineViewState as a function reference; it is not called here. */\n this._reactNode = this.getImodelViewportReactElement(\n iModelConnection,\n this._determineViewState\n );\n } else {\n if (\n UiFramework.getIModelConnection() &&\n UiFramework.getDefaultViewState()\n ) {\n this._reactNode = this.getImodelConnectedViewportReactElement();\n } else {\n this._reactNode = this.getNoContentReactElement(options);\n this.setIsReady();\n }\n }\n }\n\n protected override getReactNode(): React.ReactNode {\n if (\n !React.isValidElement(this._reactNode) &&\n this._options.deferNodeInitialization\n )\n this.initializeReactNode();\n\n return this.getKeyedReactNode();\n }\n\n /**\n * This is passed as a function to the ViewportComponent as the `viewState` prop in getImodelViewportReactElement().\n * It is called by ViewportComponent on a mount to resolve the viewState.\n */\n private _determineViewState = (): ViewState => {\n let viewState: ViewState;\n\n if (this.viewport && !this._alwaysUseSuppliedViewState)\n viewState = this.viewport.view;\n else if (this._viewState) {\n if (typeof this._viewState === \"function\") viewState = this._viewState();\n else viewState = this._viewState;\n }\n // eslint-disable-next-line deprecation/deprecation\n else\n throw new UiError(\n UiFramework.loggerCategory(this),\n \"No ViewState could be determined\"\n );\n\n return viewState!;\n };\n\n /** Get the React component that will contain the Viewport */\n protected getImodelConnectedViewportReactElement(): React.ReactNode {\n return (\n <IModelConnectedViewport\n viewportRef={(v: ScreenViewport) => {\n this.viewport = v;\n // for convenience, if window defined bind viewport to window\n if (undefined !== window) (window as any).viewport = v;\n if (!UiFramework.frontstages.isLoading)\n UiFramework.frontstages.activeFrontstageDef?.setActiveViewFromViewport(\n v\n );\n }}\n getViewOverlay={this._getViewOverlay}\n />\n );\n }\n\n /** Get the React component that will contain the Viewport */\n protected getImodelViewportReactElement(\n iModelConnection: IModelConnection,\n viewState: ViewStateProp\n ): React.ReactNode {\n return (\n <ViewportComponent\n viewState={viewState}\n imodel={iModelConnection}\n controlId={this.controlId}\n viewportRef={(v: ScreenViewport) => {\n this.viewport = v;\n // for convenience, if window defined bind viewport to window\n if (undefined !== window) (window as any).viewport = v;\n if (!UiFramework.frontstages.isLoading)\n UiFramework.frontstages.activeFrontstageDef?.setActiveViewFromViewport(\n v\n );\n }}\n getViewOverlay={this._getViewOverlay}\n />\n );\n }\n\n /** Get the React component that will be shown when no iModel data is available */\n protected getNoContentReactElement(\n _options: IModelViewportControlOptions\n ): React.ReactNode {\n const noContent = UiFramework.translate(\"general.no-content\");\n return <FillCentered> {noContent} </FillCentered>;\n }\n\n /** Get the React.Element for a ViewSelector change. */\n public override getReactElementForViewSelectorChange(\n iModelConnection: IModelConnection,\n _unusedViewDefinitionId: Id64String,\n viewState: ViewState,\n _name: string\n ): React.ReactNode {\n return this.getImodelViewportReactElement(iModelConnection, viewState);\n }\n\n /** Get the default ViewOverlay unless parameter is set to not use it. May be override in an application specific sub-class */\n protected _getViewOverlay = (vp: ScreenViewport): React.ReactNode => {\n return (\n <ViewOverlayHost\n viewport={vp}\n featureOptions={this._featureOptions}\n userSuppliedOverlay={this._userSuppliedViewOverlay}\n data-testid=\"ViewOverlay\"\n />\n );\n };\n\n /** Get the NavigationAidControl associated with this ContentControl */\n public override get navigationAidControl(): string {\n if (this.viewport) return super.navigationAidControl;\n else return StandardRotationNavigationAidControl.navigationAidId;\n }\n}\n\nUiFramework.controls.register(IModelViewportControl.id, IModelViewportControl);\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InternalContentViewManager.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/content/InternalContentViewManager.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAK9E,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AAEtF;;GAEG;AACH,qBAAa,0BAA0B;IACrC,OAAO,CAAC,MAAM,CAAC,UAAU,CAAkB;IAC3C,OAAO,CAAC,MAAM,CAAC,cAAc,CAAC,CAAkB;IAEhD,yCAAyC;IACzC,gBAAuB,uBAAuB,wBAA+B;IAE7E,wDAAwD;IACxD,WAAkB,WAAW,IAAI,OAAO,CAEvC;IAED,oDAAoD;WACtC,YAAY,CAAC,SAAS,EAAE,OAAO,GAAG,IAAI;IAKpD,6CAA6C;IAC7C,gBAAuB,2BAA2B,4BAChB;IAElC,wDAAwD;
|
|
1
|
+
{"version":3,"file":"InternalContentViewManager.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/content/InternalContentViewManager.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAK9E,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AAEtF;;GAEG;AACH,qBAAa,0BAA0B;IACrC,OAAO,CAAC,MAAM,CAAC,UAAU,CAAkB;IAC3C,OAAO,CAAC,MAAM,CAAC,cAAc,CAAC,CAAkB;IAEhD,yCAAyC;IACzC,gBAAuB,uBAAuB,wBAA+B;IAE7E,wDAAwD;IACxD,WAAkB,WAAW,IAAI,OAAO,CAEvC;IAED,oDAAoD;WACtC,YAAY,CAAC,SAAS,EAAE,OAAO,GAAG,IAAI;IAKpD,6CAA6C;IAC7C,gBAAuB,2BAA2B,4BAChB;IAElC,wDAAwD;IAGxD,gBAAuB,8BAA8B;mBACxC,MAAM;OACd;IAEL,oDAAoD;WACtC,SAAS,IAAI,KAAK,CAAC,SAAS,GAAG,SAAS;IAItD,OAAO,CAAC,MAAM,CAAC,qBAAqB;IA8CpC,wCAAwC;WAC1B,uBAAuB,IAAI,cAAc,GAAG,SAAS;WAiBrD,yBAAyB,CAAC,cAAc,CAAC,EAAE,cAAc;WAQzD,0BAA0B,CAAC,cAAc,CAAC,EAAE,cAAc;IAOxE,yCAAyC;WAC3B,SAAS,CACrB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,EAC/B,oBAAoB,UAAQ,GAC3B,IAAI;IA6DP,8CAA8C;WAChC,aAAa,CAAC,aAAa,EAAE,KAAK,CAAC,SAAS;IAK1D;;;OAGG;WACW,kBAAkB,CAC9B,OAAO,EAAE,cAAc,GAAG,SAAS,GAClC,OAAO;IAKV;;;OAGG;WACW,oBAAoB,CAChC,OAAO,EAAE,cAAc,GAAG,SAAS,GAClC,OAAO;IAKV;;;OAGG;WACW,oBAAoB,CAChC,OAAO,EAAE,cAAc,GAAG,SAAS,GAClC,OAAO;IAKV;;;OAGG;WACW,yBAAyB,CACrC,OAAO,EAAE,cAAc,GAAG,SAAS,GAClC,OAAO;IAKV;;;OAGG;WACW,eAAe,CAAC,OAAO,EAAE,cAAc,GAAG,SAAS,GAAG,OAAO;IAK3E;;;OAGG;WACW,qBAAqB,CACjC,OAAO,EAAE,cAAc,GAAG,SAAS,GAClC,OAAO;IAKV;;;OAGG;IACH,WAAkB,OAAO,wCAExB;IACD;;;OAGG;IACH,WAAkB,OAAO,wCAExB;CACF"}
|
|
@@ -208,6 +208,7 @@ InternalContentViewManager.onMouseDownChangedEvent = new MouseDownChangedEvent()
|
|
|
208
208
|
/** Gets the [[ActiveContentChangedEvent]] */
|
|
209
209
|
InternalContentViewManager.onActiveContentChangedEvent = new ActiveContentChangedEvent();
|
|
210
210
|
/** Fires when floating contents are added or removed */
|
|
211
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
211
212
|
InternalContentViewManager.onAvailableContentChangedEvent = new UiEvent();
|
|
212
213
|
export { InternalContentViewManager };
|
|
213
214
|
//# sourceMappingURL=InternalContentViewManager.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InternalContentViewManager.js","sourceRoot":"","sources":["../../../../src/appui-react/content/InternalContentViewManager.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE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------------------------------\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 ContentView\n */\n\nimport type * as React from \"react\";\nimport { UiEvent } from \"@itwin/appui-abstract\";\nimport { ViewUtilities } from \"../utils/ViewUtilities\";\nimport type { ContentControl } from \"./ContentControl\";\nimport { InternalContentLayoutManager } from \"./InternalContentLayoutManager\";\nimport { IModelApp } from \"@itwin/core-frontend\";\nimport type { ContentGroup } from \"./ContentGroup\";\nimport { Logger } from \"@itwin/core-bentley\";\nimport { UiFramework } from \"../UiFramework\";\nimport {\n ActiveContentChangedEvent,\n MouseDownChangedEvent,\n} from \"../framework/FrameworkContent\";\nimport { InternalContentDialogManager } from \"../dialog/InternalContentDialogManager\";\n\n/** Content View Manager class.\n * @internal\n */\nexport class InternalContentViewManager {\n private static _mouseDown: boolean = false;\n private static _activeContent?: React.ReactNode;\n\n /** Gets the [[MouseDownChangedEvent]] */\n public static readonly onMouseDownChangedEvent = new MouseDownChangedEvent();\n\n /** Determines if the mouse is down in a content view */\n public static get isMouseDown(): boolean {\n return this._mouseDown;\n }\n\n /** Sets the mouse down status for a content view */\n public static setMouseDown(mouseDown: boolean): void {\n this._mouseDown = mouseDown;\n this.onMouseDownChangedEvent.emit({ mouseDown });\n }\n\n /** Gets the [[ActiveContentChangedEvent]] */\n public static readonly onActiveContentChangedEvent =\n new ActiveContentChangedEvent();\n\n /** Fires when floating contents are added or removed */\n\n public static readonly onAvailableContentChangedEvent = new UiEvent<{\n contentId: string;\n }>();\n\n /** Gets the active content as a React.ReactNode. */\n public static getActive(): React.ReactNode | undefined {\n return this._activeContent;\n }\n\n private static getControlFromElement(\n content: React.ReactNode,\n activeContentGroup: ContentGroup | undefined,\n floatingControls: ContentControl[] | undefined,\n logIfNotFound = false\n ) {\n if (floatingControls?.length) {\n // if we find a React node that matches exactly, return its containing control\n let control = floatingControls.find(\n (contentControl) => contentControl.reactNode === content\n );\n if (control) return control;\n\n // if we don't find a React node that matches exactly, rely on the id specified by the creator\n let controlId: string;\n if (content && (content as React.ReactElement<any>).key) {\n const key = (content as React.ReactElement<any>).key as string;\n // key has format `${contentProps.id}::${this.groupId}` which is stored as unique id\n controlId = key.split(\"::\", 1)[0];\n }\n floatingControls.forEach((contentControl: ContentControl) => {\n const node = contentControl.reactNode;\n const key = (node as React.ReactElement<any>)?.key as string;\n const nodeId = key && key.split(\"::\", 1)[0];\n if (nodeId === controlId) control = contentControl;\n });\n if (control) return control;\n }\n\n // if it's not a floating control, look through the content area views\n // istanbul ignore else\n if (activeContentGroup) {\n const activeContentControl =\n activeContentGroup.getControlFromElement(content);\n if (activeContentControl) return activeContentControl;\n }\n\n if (logIfNotFound)\n Logger.logError(\n UiFramework.loggerCategory(this),\n `getControlFromElement: no control found for element`\n );\n\n return undefined;\n }\n\n /** Return the active ContentControl. */\n public static getActiveContentControl(): ContentControl | undefined {\n let activeContentControl: ContentControl | undefined;\n const activeFrontstageDef = UiFramework.frontstages.activeFrontstageDef;\n\n // istanbul ignore else\n if (this._activeContent && activeFrontstageDef) {\n const activeContentGroup = activeFrontstageDef.contentGroup;\n activeContentControl = this.getControlFromElement(\n this._activeContent,\n activeContentGroup,\n activeFrontstageDef.floatingContentControls\n );\n }\n\n return activeContentControl;\n }\n\n public static addFloatingContentControl(contentControl?: ContentControl) {\n const activeFrontstageDef = UiFramework.frontstages.activeFrontstageDef;\n // istanbul ignore else\n if (activeFrontstageDef && contentControl) {\n activeFrontstageDef.addFloatingContentControl(contentControl);\n }\n }\n\n public static dropFloatingContentControl(contentControl?: ContentControl) {\n const activeFrontstageDef = UiFramework.frontstages.activeFrontstageDef;\n // istanbul ignore else\n if (activeFrontstageDef && contentControl)\n activeFrontstageDef.dropFloatingContentControl(contentControl);\n }\n\n /** Sets the active [[ContentControl]] */\n public static setActive(\n activeContent?: React.ReactNode,\n forceEventProcessing = false\n ): void {\n // istanbul ignore else\n if (this._activeContent !== activeContent || forceEventProcessing) {\n const oldContent = this._activeContent;\n this._activeContent = activeContent;\n\n const activeFrontstageDef = UiFramework.frontstages.activeFrontstageDef;\n\n // istanbul ignore else\n if (activeFrontstageDef) {\n const activeContentGroup = activeFrontstageDef.contentGroup;\n\n // istanbul ignore else\n const oldContentControl = this.getControlFromElement(\n oldContent,\n activeContentGroup,\n activeFrontstageDef.floatingContentControls\n );\n const activeContentControl = this.getControlFromElement(\n activeContent,\n activeContentGroup,\n activeFrontstageDef.floatingContentControls,\n true\n );\n\n // Only call setActiveView if going to or coming from a non-viewport ContentControl\n // istanbul ignore else\n if (activeContentControl) {\n // istanbul ignore next\n const doSetActiveView =\n forceEventProcessing ||\n !activeContentControl.viewport ||\n /* istanbul ignore next */ (oldContentControl &&\n /* istanbul ignore next */ !oldContentControl.viewport);\n\n // istanbul ignore else\n if (doSetActiveView) {\n activeFrontstageDef.setActiveView(\n activeContentControl,\n oldContentControl\n );\n this.onActiveContentChangedEvent.emit({\n activeContent,\n oldContent,\n });\n } else {\n if (\n activeContentControl.viewport &&\n activeContentControl.viewport !==\n IModelApp.viewManager.selectedView\n ) {\n void IModelApp.viewManager.setSelectedView(\n activeContentControl.viewport\n );\n }\n }\n }\n }\n }\n }\n\n /** Refreshes the active [[ContentControl]] */\n public static refreshActive(activeContent: React.ReactNode) {\n this.layouts.refreshActive();\n this.setActive(activeContent, true);\n }\n\n /**\n * Determines if content displays a Sheet view.\n * @param content ContentControl to check\n */\n public static isContentSheetView(\n content: ContentControl | undefined\n ): boolean {\n if (!content || !content.viewport) return false;\n return ViewUtilities.isSheetView(content.viewport);\n }\n\n /**\n * Determines if content displays a Drawing view.\n * @param content ContentControl to check\n */\n public static isContentDrawingView(\n content: ContentControl | undefined\n ): boolean {\n if (!content || !content.viewport) return false;\n return ViewUtilities.isDrawingView(content.viewport);\n }\n\n /**\n * Determines if content displays a Spatial view.\n * @param content ContentControl to check\n */\n public static isContentSpatialView(\n content: ContentControl | undefined\n ): boolean {\n if (!content || !content.viewport) return false;\n return ViewUtilities.isSpatialView(content.viewport);\n }\n\n /**\n * Determines if content displays a Orthographic view.\n * @param content ContentControl to check\n */\n public static isContentOrthographicView(\n content: ContentControl | undefined\n ): boolean {\n if (!content || !content.viewport) return false;\n return ViewUtilities.isOrthographicView(content.viewport);\n }\n\n /**\n * Determines if content displays a 3d view.\n * @param content ContentControl to check\n */\n public static isContent3dView(content: ContentControl | undefined): boolean {\n if (!content || !content.viewport) return false;\n return ViewUtilities.is3dView(content.viewport);\n }\n\n /**\n * Determines if viewport supports use of a camera.\n * @param content ContentControl to check\n */\n public static contentSupportsCamera(\n content: ContentControl | undefined\n ): boolean {\n if (!content || !content.viewport) return false;\n return ViewUtilities.viewSupportsCamera(content.viewport);\n }\n\n /**\n * Manage content layouts.\n * @beta\n */\n public static get layouts() {\n return InternalContentLayoutManager;\n }\n /**\n * Manage dialogs displaying managed content.\n * @beta\n */\n public static get dialogs() {\n return InternalContentDialogManager;\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"InternalContentViewManager.js","sourceRoot":"","sources":["../../../../src/appui-react/content/InternalContentViewManager.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EACL,yBAAyB,EACzB,qBAAqB,GACtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AAEtF;;GAEG;AACH,MAAa,0BAA0B;IAOrC,wDAAwD;IACj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AC;IAC5D,CAAC;IAED;;;OAGG;IACI,MAAM,CAAC,eAAe,CAAC,OAAmC;QAC/D,IAAI,CAAC,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ;YAAE,OAAO,KAAK,CAAC;QAChD,OAAO,aAAa,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClD,CAAC;IAED;;;OAGG;IACI,MAAM,CAAC,qBAAqB,CACjC,OAAmC;QAEnC,IAAI,CAAC,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ;YAAE,OAAO,KAAK,CAAC;QAChD,OAAO,aAAa,CAAC,kBAAkB,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC5D,CAAC;IAED;;;OAGG;IACI,MAAM,KAAK,OAAO;QACvB,OAAO,4BAA4B,CAAC;IACtC,CAAC;IACD;;;OAGG;IACI,MAAM,KAAK,OAAO;QACvB,OAAO,4BAA4B,CAAC;IACtC,CAAC;;AApQc,qCAAU,GAAY,KAAK,CAAC;AAG3C,yCAAyC;AAClB,kDAAuB,GAAG,IAAI,qBAAqB,EAAE,CAAC;AAa7E,6CAA6C;AACtB,sDAA2B,GAChD,IAAI,yBAAyB,EAAE,CAAC;AAElC,wDAAwD;AAExD,mDAAmD;AAC5B,yDAA8B,GAAG,IAAI,OAAO,EAE/D,CAAC;SA3BM,0BAA0B","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 ContentView\n */\n\nimport type * as React from \"react\";\nimport { UiEvent } from \"@itwin/appui-abstract\";\nimport { ViewUtilities } from \"../utils/ViewUtilities\";\nimport type { ContentControl } from \"./ContentControl\";\nimport { InternalContentLayoutManager } from \"./InternalContentLayoutManager\";\nimport { IModelApp } from \"@itwin/core-frontend\";\nimport type { ContentGroup } from \"./ContentGroup\";\nimport { Logger } from \"@itwin/core-bentley\";\nimport { UiFramework } from \"../UiFramework\";\nimport {\n ActiveContentChangedEvent,\n MouseDownChangedEvent,\n} from \"../framework/FrameworkContent\";\nimport { InternalContentDialogManager } from \"../dialog/InternalContentDialogManager\";\n\n/** Content View Manager class.\n * @internal\n */\nexport class InternalContentViewManager {\n private static _mouseDown: boolean = false;\n private static _activeContent?: React.ReactNode;\n\n /** Gets the [[MouseDownChangedEvent]] */\n public static readonly onMouseDownChangedEvent = new MouseDownChangedEvent();\n\n /** Determines if the mouse is down in a content view */\n public static get isMouseDown(): boolean {\n return this._mouseDown;\n }\n\n /** Sets the mouse down status for a content view */\n public static setMouseDown(mouseDown: boolean): void {\n this._mouseDown = mouseDown;\n this.onMouseDownChangedEvent.emit({ mouseDown });\n }\n\n /** Gets the [[ActiveContentChangedEvent]] */\n public static readonly onActiveContentChangedEvent =\n new ActiveContentChangedEvent();\n\n /** Fires when floating contents are added or removed */\n\n // eslint-disable-next-line deprecation/deprecation\n public static readonly onAvailableContentChangedEvent = new UiEvent<{\n contentId: string;\n }>();\n\n /** Gets the active content as a React.ReactNode. */\n public static getActive(): React.ReactNode | undefined {\n return this._activeContent;\n }\n\n private static getControlFromElement(\n content: React.ReactNode,\n activeContentGroup: ContentGroup | undefined,\n floatingControls: ContentControl[] | undefined,\n logIfNotFound = false\n ) {\n if (floatingControls?.length) {\n // if we find a React node that matches exactly, return its containing control\n let control = floatingControls.find(\n (contentControl) => contentControl.reactNode === content\n );\n if (control) return control;\n\n // if we don't find a React node that matches exactly, rely on the id specified by the creator\n let controlId: string;\n if (content && (content as React.ReactElement<any>).key) {\n const key = (content as React.ReactElement<any>).key as string;\n // key has format `${contentProps.id}::${this.groupId}` which is stored as unique id\n controlId = key.split(\"::\", 1)[0];\n }\n floatingControls.forEach((contentControl: ContentControl) => {\n const node = contentControl.reactNode;\n const key = (node as React.ReactElement<any>)?.key as string;\n const nodeId = key && key.split(\"::\", 1)[0];\n if (nodeId === controlId) control = contentControl;\n });\n if (control) return control;\n }\n\n // if it's not a floating control, look through the content area views\n // istanbul ignore else\n if (activeContentGroup) {\n const activeContentControl =\n activeContentGroup.getControlFromElement(content);\n if (activeContentControl) return activeContentControl;\n }\n\n if (logIfNotFound)\n Logger.logError(\n UiFramework.loggerCategory(this),\n `getControlFromElement: no control found for element`\n );\n\n return undefined;\n }\n\n /** Return the active ContentControl. */\n public static getActiveContentControl(): ContentControl | undefined {\n let activeContentControl: ContentControl | undefined;\n const activeFrontstageDef = UiFramework.frontstages.activeFrontstageDef;\n\n // istanbul ignore else\n if (this._activeContent && activeFrontstageDef) {\n const activeContentGroup = activeFrontstageDef.contentGroup;\n activeContentControl = this.getControlFromElement(\n this._activeContent,\n activeContentGroup,\n activeFrontstageDef.floatingContentControls\n );\n }\n\n return activeContentControl;\n }\n\n public static addFloatingContentControl(contentControl?: ContentControl) {\n const activeFrontstageDef = UiFramework.frontstages.activeFrontstageDef;\n // istanbul ignore else\n if (activeFrontstageDef && contentControl) {\n activeFrontstageDef.addFloatingContentControl(contentControl);\n }\n }\n\n public static dropFloatingContentControl(contentControl?: ContentControl) {\n const activeFrontstageDef = UiFramework.frontstages.activeFrontstageDef;\n // istanbul ignore else\n if (activeFrontstageDef && contentControl)\n activeFrontstageDef.dropFloatingContentControl(contentControl);\n }\n\n /** Sets the active [[ContentControl]] */\n public static setActive(\n activeContent?: React.ReactNode,\n forceEventProcessing = false\n ): void {\n // istanbul ignore else\n if (this._activeContent !== activeContent || forceEventProcessing) {\n const oldContent = this._activeContent;\n this._activeContent = activeContent;\n\n const activeFrontstageDef = UiFramework.frontstages.activeFrontstageDef;\n\n // istanbul ignore else\n if (activeFrontstageDef) {\n const activeContentGroup = activeFrontstageDef.contentGroup;\n\n // istanbul ignore else\n const oldContentControl = this.getControlFromElement(\n oldContent,\n activeContentGroup,\n activeFrontstageDef.floatingContentControls\n );\n const activeContentControl = this.getControlFromElement(\n activeContent,\n activeContentGroup,\n activeFrontstageDef.floatingContentControls,\n true\n );\n\n // Only call setActiveView if going to or coming from a non-viewport ContentControl\n // istanbul ignore else\n if (activeContentControl) {\n // istanbul ignore next\n const doSetActiveView =\n forceEventProcessing ||\n !activeContentControl.viewport ||\n /* istanbul ignore next */ (oldContentControl &&\n /* istanbul ignore next */ !oldContentControl.viewport);\n\n // istanbul ignore else\n if (doSetActiveView) {\n activeFrontstageDef.setActiveView(\n activeContentControl,\n oldContentControl\n );\n this.onActiveContentChangedEvent.emit({\n activeContent,\n oldContent,\n });\n } else {\n if (\n activeContentControl.viewport &&\n activeContentControl.viewport !==\n IModelApp.viewManager.selectedView\n ) {\n void IModelApp.viewManager.setSelectedView(\n activeContentControl.viewport\n );\n }\n }\n }\n }\n }\n }\n\n /** Refreshes the active [[ContentControl]] */\n public static refreshActive(activeContent: React.ReactNode) {\n this.layouts.refreshActive();\n this.setActive(activeContent, true);\n }\n\n /**\n * Determines if content displays a Sheet view.\n * @param content ContentControl to check\n */\n public static isContentSheetView(\n content: ContentControl | undefined\n ): boolean {\n if (!content || !content.viewport) return false;\n return ViewUtilities.isSheetView(content.viewport);\n }\n\n /**\n * Determines if content displays a Drawing view.\n * @param content ContentControl to check\n */\n public static isContentDrawingView(\n content: ContentControl | undefined\n ): boolean {\n if (!content || !content.viewport) return false;\n return ViewUtilities.isDrawingView(content.viewport);\n }\n\n /**\n * Determines if content displays a Spatial view.\n * @param content ContentControl to check\n */\n public static isContentSpatialView(\n content: ContentControl | undefined\n ): boolean {\n if (!content || !content.viewport) return false;\n return ViewUtilities.isSpatialView(content.viewport);\n }\n\n /**\n * Determines if content displays a Orthographic view.\n * @param content ContentControl to check\n */\n public static isContentOrthographicView(\n content: ContentControl | undefined\n ): boolean {\n if (!content || !content.viewport) return false;\n return ViewUtilities.isOrthographicView(content.viewport);\n }\n\n /**\n * Determines if content displays a 3d view.\n * @param content ContentControl to check\n */\n public static isContent3dView(content: ContentControl | undefined): boolean {\n if (!content || !content.viewport) return false;\n return ViewUtilities.is3dView(content.viewport);\n }\n\n /**\n * Determines if viewport supports use of a camera.\n * @param content ContentControl to check\n */\n public static contentSupportsCamera(\n content: ContentControl | undefined\n ): boolean {\n if (!content || !content.viewport) return false;\n return ViewUtilities.viewSupportsCamera(content.viewport);\n }\n\n /**\n * Manage content layouts.\n * @beta\n */\n public static get layouts() {\n return InternalContentLayoutManager;\n }\n /**\n * Manage dialogs displaying managed content.\n * @beta\n */\n public static get dialogs() {\n return InternalContentDialogManager;\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pane.d.ts","sourceRoot":"","sources":["../../../../../src/appui-react/content/split-pane/Pane.tsx"],"names":[],"mappings":"AAIA;;GAEG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,2GAA2G;AAE3G;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IAClC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IACxC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;GAEG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"Pane.d.ts","sourceRoot":"","sources":["../../../../../src/appui-react/content/split-pane/Pane.tsx"],"names":[],"mappings":"AAIA;;GAEG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,2GAA2G;AAE3G;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IAClC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IACxC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;GAEG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,qBAoCpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Resizer.d.ts","sourceRoot":"","sources":["../../../../../src/appui-react/content/split-pane/Resizer.tsx"],"names":[],"mappings":"AAIA;;GAEG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,2GAA2G;AAE3G;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IAClC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IACzC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,YAAY,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IAC1C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IACtC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;CAC7C;AAED;;GAEG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"Resizer.d.ts","sourceRoot":"","sources":["../../../../../src/appui-react/content/split-pane/Resizer.tsx"],"names":[],"mappings":"AAIA;;GAEG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,2GAA2G;AAE3G;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IAClC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IACzC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,YAAY,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IAC1C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IACtC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;CAC7C;AAED;;GAEG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,qBAgD1C"}
|
|
@@ -66,5 +66,5 @@ export interface SplitPaneProps {
|
|
|
66
66
|
* See https://github.com/tomkp/react-split-pane/blob/master/LICENSE.
|
|
67
67
|
* @public
|
|
68
68
|
*/
|
|
69
|
-
export declare function SplitPane(props: SplitPaneProps): JSX.Element;
|
|
69
|
+
export declare function SplitPane(props: SplitPaneProps): React.JSX.Element;
|
|
70
70
|
//# sourceMappingURL=SplitPane.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SplitPane.d.ts","sourceRoot":"","sources":["../../../../../src/appui-react/content/split-pane/SplitPane.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,qCAAqC;IACrC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,uDAAuD;IACvD,QAAQ,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IAC5B,8EAA8E;IAC9E,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAE7B,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B;;;;;;;;kCAQ8B;IAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,2CAA2C;IAC3C,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC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AC/E,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACjC,+CAA+C;IAC/C,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACnC,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gDAAgD;IAChD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,4CAA4C;IAC5C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,4CAA4C;IAC5C,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AA0CD;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,qBAqU9C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CursorInformation.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/cursor/CursorInformation.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGlE;;GAEG;AACH,oBAAY,oBAAoB;IAC9B,GAAG,OAAS;IACZ,IAAI,MAAS;IACb,KAAK,KAAS;IACd,MAAM,IAAS;CAChB;AAED;;GAEG;AACH,oBAAY,eAAe;IACzB,IAAI,IAAI;IACR,GAAG,OAA2B;IAC9B,IAAI,MAA4B;IAChC,KAAK,KAA6B;IAClC,MAAM,IAA8B;IACpC,OAAO,OAAuD;IAC9D,QAAQ,OAAwD;IAChE,UAAU,MAA0D;IACpE,WAAW,KAA2D;CACvE;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,KAAK,CAAC;IACb,SAAS,EAAE,eAAe,CAAC;CAC5B;AAED;;GAEG;
|
|
1
|
+
{"version":3,"file":"CursorInformation.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/cursor/CursorInformation.ts"],"names":[],"mappings":"AAIA;;GAEG;A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AAO,CAAC,MAAM,CAAC,aAAa;IAuB5B,OAAO,CAAC,MAAM,CAAC,yBAAyB;IAiBxC,gEAAgE;WAClD,sCAAsC,CAClD,eAAe,EAAE,eAAe,GAC/B,gBAAgB;IAiCnB,8BAA8B;WAChB,qBAAqB,IAAI,IAAI;CAG5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CursorInformation.js","sourceRoot":"","sources":["../../../../src/appui-react/cursor/CursorInformation.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAGH,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C;;GAEG;AACH,MAAM,CAAN,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,gEAAY,CAAA;IACZ,iEAAa,CAAA;IACb,kEAAc,CAAA;IACd,mEAAe,CAAA;AACjB,CAAC,EALW,oBAAoB,KAApB,oBAAoB,QAK/B;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,eAUX;AAVD,WAAY,eAAe;IACzB,qDAAQ,CAAA;IACR,sDAA8B,CAAA;IAC9B,uDAAgC,CAAA;IAChC,wDAAkC,CAAA;IAClC,yDAAoC,CAAA;IACpC,8DAA8D,CAAA;IAC9D,gEAAgE,CAAA;IAChE,mEAAoE,CAAA;IACpE,oEAAsE,CAAA;AACxE,CAAC,EAVW,eAAe,KAAf,eAAe,QAU1B;AAWD;;GAEG;AACH,MAAM,OAAO,kBAAmB,SAAQ,OAA+B;CAAG;AAE1E;;GAEG;AACH,MAAa,iBAAiB;IAO5B,2BAA2B;IACpB,MAAM,KAAK,cAAc;QAC9B,OAAO,IAAI,CAAC,eAAe,CAAC;IAC9B,CAAC;IACM,MAAM,KAAK,cAAc,CAAC,EAAS;QACxC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAC1C,CAAC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AG;gBACtB,gBAAgB,GAAG,gBAAgB,CAAC,GAAG,CAAC;gBACxC,MAAM;YACR,KAAK,eAAe,CAAC,IAAI;gBACvB,gBAAgB,GAAG,gBAAgB,CAAC,IAAI,CAAC;gBACzC,MAAM;YACR,KAAK,eAAe,CAAC,KAAK;gBACxB,gBAAgB,GAAG,gBAAgB,CAAC,KAAK,CAAC;gBAC1C,MAAM;YACR,KAAK,eAAe,CAAC,MAAM;gBACzB,gBAAgB,GAAG,gBAAgB,CAAC,MAAM,CAAC;gBAC3C,MAAM;YACR,KAAK,eAAe,CAAC,OAAO;gBAC1B,gBAAgB,GAAG,gBAAgB,CAAC,OAAO,CAAC;gBAC5C,MAAM;YACR,KAAK,eAAe,CAAC,QAAQ;gBAC3B,gBAAgB,GAAG,gBAAgB,CAAC,QAAQ,CAAC;gBAC7C,MAAM;YACR,KAAK,eAAe,CAAC,UAAU;gBAC7B,gBAAgB,GAAG,gBAAgB,CAAC,UAAU,CAAC;gBAC/C,MAAM;YACR,KAAK,eAAe,CAAC,WAAW;gBAC9B,gBAAgB,GAAG,gBAAgB,CAAC,WAAW,CAAC;gBAChD,MAAM;SACT;QAED,OAAO,gBAAgB,CAAC;IAC1B,CAAC;IAED,8BAA8B;IACvB,MAAM,CAAC,qBAAqB;QACjC,IAAI,CAAC,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC;IACpC,CAAC;;AAxIc,iCAAe,GAAU,IAAI,KAAK,EAAE,CAAC;AACrC,kCAAgB,GAC7B,eAAe,CAAC,WAAW,CAAC;AAEf,mCAAiB,GAAG,IAAI,KAAK,EAAmB,CAAC;AAwBhE,uCAAuC;AAChB,sCAAoB,GAAG,IAAI,kBAAkB,EAAE,CAAC;SA9B5D,iBAAiB","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 Cursor\n */\n\nimport type { XAndY } from \"@itwin/core-geometry\";\nimport { RelativePosition, UiEvent } from \"@itwin/appui-abstract\";\nimport { Point } from \"@itwin/core-react\";\n\n/** Enum for Cursor Direction parts\n * @public\n */\nexport enum CursorDirectionParts {\n Top = 0x1000,\n Left = 0x0100,\n Right = 0x0010,\n Bottom = 0x0001,\n}\n\n/** Enum for Cursor Direction\n * @public\n */\nexport enum CursorDirection {\n None = 0,\n Top = CursorDirectionParts.Top,\n Left = CursorDirectionParts.Left,\n Right = CursorDirectionParts.Right,\n Bottom = CursorDirectionParts.Bottom,\n TopLeft = CursorDirectionParts.Top | CursorDirectionParts.Left,\n TopRight = CursorDirectionParts.Top | CursorDirectionParts.Right,\n BottomLeft = CursorDirectionParts.Bottom | CursorDirectionParts.Left,\n BottomRight = CursorDirectionParts.Bottom | CursorDirectionParts.Right,\n}\n\n/** Cursor Updated Event Args interface.\n * @public\n */\nexport interface CursorUpdatedEventArgs {\n oldPt: XAndY;\n newPt: XAndY;\n direction: CursorDirection;\n}\n\n/** Cursor Updated Event class.\n * @public\n */\nexport class CursorUpdatedEvent extends UiEvent<CursorUpdatedEventArgs> {}\n\n/** Cursor Information class\n * @public\n */\nexport class CursorInformation {\n private static _cursorPosition: Point = new Point();\n private static _cursorDirection: CursorDirection =\n CursorDirection.BottomRight;\n\n private static _cursorDirections = new Array<CursorDirection>();\n\n /** The cursor position. */\n public static get cursorPosition(): XAndY {\n return this._cursorPosition;\n }\n public static set cursorPosition(pt: XAndY) {\n this._cursorPosition = Point.create(pt);\n }\n\n /** Gets the cursor X position. */\n public static get cursorX(): number {\n return this._cursorPosition.x;\n }\n /** Gets the cursor Y position. */\n public static get cursorY(): number {\n return this._cursorPosition.y;\n }\n\n /** Gets the general cursor movement direction. */\n public static get cursorDirection(): CursorDirection {\n return this._cursorDirection;\n }\n\n /** Gets the [[CursorUpdatedEvent]]. */\n public static readonly onCursorUpdatedEvent = new CursorUpdatedEvent();\n\n /** Handles the mouse movement. Sets the cursor position and direction and emits onCursorUpdatedEvent. */\n public static handleMouseMove(point: XAndY): void {\n const oldPt = CursorInformation.cursorPosition;\n const direction = this._determineMostFrequentDirection(\n this._cursorDirections,\n this._cursorPosition,\n Point.create(point)\n );\n\n this.cursorPosition = point;\n this._cursorDirection = direction;\n\n this.onCursorUpdatedEvent.emit({ oldPt, newPt: point, direction });\n }\n\n private static _determineMostFrequentDirection(\n cursorDirections: CursorDirection[],\n oldPt: Point,\n newPt: Point\n ): CursorDirection {\n const cursorDirection = this._determineCursorDirection(oldPt, newPt);\n cursorDirections.push(cursorDirection);\n if (cursorDirections.length > 10) cursorDirections.shift();\n return this._mostFrequent(cursorDirections);\n }\n\n private static _mostFrequent(array: CursorDirection[]): CursorDirection {\n const hashMap = new Map<CursorDirection, number>();\n let maxCount = 0,\n mostFrequent = CursorDirection.None;\n\n array.forEach((value: CursorDirection) => {\n const key = value;\n let frequency = hashMap.get(key);\n\n if (frequency !== undefined) frequency++;\n else frequency = 1;\n\n hashMap.set(key, frequency);\n\n if (frequency > maxCount) {\n mostFrequent = key;\n maxCount = frequency;\n }\n });\n\n return mostFrequent;\n }\n\n private static _determineCursorDirection(\n oldPt: Point,\n newPt: Point\n ): CursorDirection {\n let directionParts: number = 0;\n\n if (newPt.x < oldPt.x) directionParts |= CursorDirectionParts.Left;\n else if (newPt.x > oldPt.x) directionParts |= CursorDirectionParts.Right;\n\n if (newPt.y < oldPt.y) directionParts |= CursorDirectionParts.Top;\n else if (newPt.y > oldPt.y) directionParts |= CursorDirectionParts.Bottom;\n\n const direction = directionParts as CursorDirection;\n\n return direction;\n }\n\n /** Gets the relative position based on the cursor direction. */\n public static getRelativePositionFromCursorDirection(\n cursorDirection: CursorDirection\n ): RelativePosition {\n let relativePosition: RelativePosition = RelativePosition.BottomRight;\n\n switch (cursorDirection) {\n case CursorDirection.Top:\n relativePosition = RelativePosition.Top;\n break;\n case CursorDirection.Left:\n relativePosition = RelativePosition.Left;\n break;\n case CursorDirection.Right:\n relativePosition = RelativePosition.Right;\n break;\n case CursorDirection.Bottom:\n relativePosition = RelativePosition.Bottom;\n break;\n case CursorDirection.TopLeft:\n relativePosition = RelativePosition.TopLeft;\n break;\n case CursorDirection.TopRight:\n relativePosition = RelativePosition.TopRight;\n break;\n case CursorDirection.BottomLeft:\n relativePosition = RelativePosition.BottomLeft;\n break;\n case CursorDirection.BottomRight:\n relativePosition = RelativePosition.BottomRight;\n break;\n }\n\n return relativePosition;\n }\n\n /** @internal - for testing */\n public static clearCursorDirections(): void {\n this._cursorDirections.length = 0;\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"CursorInformation.js","sourceRoot":"","sources":["../../../../src/appui-react/cursor/CursorInformation.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAGH,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C;;GAEG;AACH,MAAM,CAAN,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,gEAAY,CAAA;IACZ,iEAAa,CAAA;IACb,kEAAc,CAAA;IACd,mEAAe,CAAA;AACjB,CAAC,EALW,oBAAoB,KAApB,oBAAoB,QAK/B;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,eAUX;AAVD,WAAY,eAAe;IACzB,qDAAQ,CAAA;IACR,sDAA8B,CAAA;IAC9B,uDAAgC,CAAA;IAChC,wDAAkC,CAAA;IAClC,yDAAoC,CAAA;IACpC,8DAA8D,CAAA;IAC9D,gEAAgE,CAAA;IAChE,mEAAoE,CAAA;IACpE,oEAAsE,CAAA;AACxE,CAAC,EAVW,eAAe,KAAf,eAAe,QAU1B;AAWD;;GAEG;AACH,mDAAmD;AACnD,MAAM,OAAO,kBAAmB,SAAQ,OAA+B;CAAG;AAE1E;;GAEG;AACH,MAAa,iBAAiB;IAO5B,2BAA2B;IACpB,MAAM,KAAK,cAAc;QAC9B,OAAO,IAA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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 Cursor\n */\n\nimport type { XAndY } from \"@itwin/core-geometry\";\nimport { RelativePosition, UiEvent } from \"@itwin/appui-abstract\";\nimport { Point } from \"@itwin/core-react\";\n\n/** Enum for Cursor Direction parts\n * @public\n */\nexport enum CursorDirectionParts {\n Top = 0x1000,\n Left = 0x0100,\n Right = 0x0010,\n Bottom = 0x0001,\n}\n\n/** Enum for Cursor Direction\n * @public\n */\nexport enum CursorDirection {\n None = 0,\n Top = CursorDirectionParts.Top,\n Left = CursorDirectionParts.Left,\n Right = CursorDirectionParts.Right,\n Bottom = CursorDirectionParts.Bottom,\n TopLeft = CursorDirectionParts.Top | CursorDirectionParts.Left,\n TopRight = CursorDirectionParts.Top | CursorDirectionParts.Right,\n BottomLeft = CursorDirectionParts.Bottom | CursorDirectionParts.Left,\n BottomRight = CursorDirectionParts.Bottom | CursorDirectionParts.Right,\n}\n\n/** Cursor Updated Event Args interface.\n * @public\n */\nexport interface CursorUpdatedEventArgs {\n oldPt: XAndY;\n newPt: XAndY;\n direction: CursorDirection;\n}\n\n/** Cursor Updated Event class.\n * @public\n */\n// eslint-disable-next-line deprecation/deprecation\nexport class CursorUpdatedEvent extends UiEvent<CursorUpdatedEventArgs> {}\n\n/** Cursor Information class\n * @public\n */\nexport class CursorInformation {\n private static _cursorPosition: Point = new Point();\n private static _cursorDirection: CursorDirection =\n CursorDirection.BottomRight;\n\n private static _cursorDirections = new Array<CursorDirection>();\n\n /** The cursor position. */\n public static get cursorPosition(): XAndY {\n return this._cursorPosition;\n }\n public static set cursorPosition(pt: XAndY) {\n this._cursorPosition = Point.create(pt);\n }\n\n /** Gets the cursor X position. */\n public static get cursorX(): number {\n return this._cursorPosition.x;\n }\n /** Gets the cursor Y position. */\n public static get cursorY(): number {\n return this._cursorPosition.y;\n }\n\n /** Gets the general cursor movement direction. */\n public static get cursorDirection(): CursorDirection {\n return this._cursorDirection;\n }\n\n /** Gets the [[CursorUpdatedEvent]]. */\n public static readonly onCursorUpdatedEvent = new CursorUpdatedEvent();\n\n /** Handles the mouse movement. Sets the cursor position and direction and emits onCursorUpdatedEvent. */\n public static handleMouseMove(point: XAndY): void {\n const oldPt = CursorInformation.cursorPosition;\n const direction = this._determineMostFrequentDirection(\n this._cursorDirections,\n this._cursorPosition,\n Point.create(point)\n );\n\n this.cursorPosition = point;\n this._cursorDirection = direction;\n\n this.onCursorUpdatedEvent.emit({ oldPt, newPt: point, direction });\n }\n\n private static _determineMostFrequentDirection(\n cursorDirections: CursorDirection[],\n oldPt: Point,\n newPt: Point\n ): CursorDirection {\n const cursorDirection = this._determineCursorDirection(oldPt, newPt);\n cursorDirections.push(cursorDirection);\n if (cursorDirections.length > 10) cursorDirections.shift();\n return this._mostFrequent(cursorDirections);\n }\n\n private static _mostFrequent(array: CursorDirection[]): CursorDirection {\n const hashMap = new Map<CursorDirection, number>();\n let maxCount = 0,\n mostFrequent = CursorDirection.None;\n\n array.forEach((value: CursorDirection) => {\n const key = value;\n let frequency = hashMap.get(key);\n\n if (frequency !== undefined) frequency++;\n else frequency = 1;\n\n hashMap.set(key, frequency);\n\n if (frequency > maxCount) {\n mostFrequent = key;\n maxCount = frequency;\n }\n });\n\n return mostFrequent;\n }\n\n private static _determineCursorDirection(\n oldPt: Point,\n newPt: Point\n ): CursorDirection {\n let directionParts: number = 0;\n\n if (newPt.x < oldPt.x) directionParts |= CursorDirectionParts.Left;\n else if (newPt.x > oldPt.x) directionParts |= CursorDirectionParts.Right;\n\n if (newPt.y < oldPt.y) directionParts |= CursorDirectionParts.Top;\n else if (newPt.y > oldPt.y) directionParts |= CursorDirectionParts.Bottom;\n\n const direction = directionParts as CursorDirection;\n\n return direction;\n }\n\n /** Gets the relative position based on the cursor direction. */\n public static getRelativePositionFromCursorDirection(\n cursorDirection: CursorDirection\n ): RelativePosition {\n let relativePosition: RelativePosition = RelativePosition.BottomRight;\n\n switch (cursorDirection) {\n case CursorDirection.Top:\n relativePosition = RelativePosition.Top;\n break;\n case CursorDirection.Left:\n relativePosition = RelativePosition.Left;\n break;\n case CursorDirection.Right:\n relativePosition = RelativePosition.Right;\n break;\n case CursorDirection.Bottom:\n relativePosition = RelativePosition.Bottom;\n break;\n case CursorDirection.TopLeft:\n relativePosition = RelativePosition.TopLeft;\n break;\n case CursorDirection.TopRight:\n relativePosition = RelativePosition.TopRight;\n break;\n case CursorDirection.BottomLeft:\n relativePosition = RelativePosition.BottomLeft;\n break;\n case CursorDirection.BottomRight:\n relativePosition = RelativePosition.BottomRight;\n break;\n }\n\n return relativePosition;\n }\n\n /** @internal - for testing */\n public static clearCursorDirections(): void {\n this._cursorDirections.length = 0;\n }\n}\n"]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/** @packageDocumentation
|
|
2
2
|
* @module Cursor
|
|
3
3
|
*/
|
|
4
|
-
import "./CursorPopup.scss";
|
|
5
|
-
import * as React from "react";
|
|
6
|
-
import type { XAndY } from "@itwin/core-geometry";
|
|
7
4
|
import { RelativePosition } from "@itwin/appui-abstract";
|
|
5
|
+
import type { XAndY } from "@itwin/core-geometry";
|
|
8
6
|
import type { CommonDivProps, CommonProps, RectangleProps, SizeProps } from "@itwin/core-react";
|
|
9
7
|
import { Size } from "@itwin/core-react";
|
|
8
|
+
import * as React from "react";
|
|
9
|
+
import "./CursorPopup.scss";
|
|
10
10
|
/** Properties for the [[CursorPopup]] React component
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
@@ -51,11 +51,11 @@ export declare class CursorPopup extends React.Component<CursorPopupProps, Curso
|
|
|
51
51
|
static getPopupRect(pt: XAndY, offset: XAndY, popupSize: SizeProps | undefined, relativePosition: RelativePosition): RectangleProps;
|
|
52
52
|
private setDivRef;
|
|
53
53
|
/** @internal */
|
|
54
|
-
render(): JSX.Element;
|
|
54
|
+
render(): React.JSX.Element;
|
|
55
55
|
}
|
|
56
56
|
/** CursorPopup content with padding
|
|
57
57
|
* @public
|
|
58
58
|
*/
|
|
59
|
-
export declare function CursorPopupContent(props: CommonDivProps): JSX.Element;
|
|
59
|
+
export declare function CursorPopupContent(props: CommonDivProps): React.JSX.Element;
|
|
60
60
|
export {};
|
|
61
61
|
//# sourceMappingURL=CursorPopup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CursorPopup.d.ts","sourceRoot":"","sources":["../../../../../src/appui-react/cursor/cursorpopup/CursorPopup.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"CursorPopup.d.ts","sourceRoot":"","sources":["../../../../../src/appui-react/cursor/cursorpopup/CursorPopup.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACX,cAAc,EACd,SAAS,EACV,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAO,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,oBAAoB,CAAC;AAI5B;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,WAAW;IACnD,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,EAAE,EAAE,KAAK,CAAC;IACV,MAAM,EAAE,KAAK,CAAC;IACd,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;CACzC;AAED;;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