@itwin/appui-react 4.0.0-dev.1 → 4.0.0-dev.3
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 +1 -119
- package/lib/cjs/appui-react/UiFramework.d.ts +2 -33
- package/lib/cjs/appui-react/UiFramework.d.ts.map +1 -1
- package/lib/cjs/appui-react/UiFramework.js +5 -30
- package/lib/cjs/appui-react/UiFramework.js.map +1 -1
- package/lib/cjs/appui-react/_variables.scss +2 -2
- package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.scss +2 -3
- package/lib/cjs/appui-react/accudraw/AccuDrawInputField.scss +9 -4
- package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposer.js +2 -2
- package/lib/cjs/appui-react/backstage/BackstageComposer.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposerItem.js +3 -3
- package/lib/cjs/appui-react/backstage/BackstageComposerItem.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageManager.js +0 -2
- package/lib/cjs/appui-react/backstage/BackstageManager.js.map +1 -1
- package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.js.map +1 -1
- package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts.map +1 -1
- package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.js +1 -3
- package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.js.map +1 -1
- package/lib/cjs/appui-react/childwindow/ChildWindowManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/childwindow/ChildWindowManager.js +6 -9
- package/lib/cjs/appui-react/childwindow/ChildWindowManager.js.map +1 -1
- package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
- package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js +1 -4
- package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
- package/lib/cjs/appui-react/configurableui/ConfigurableUiManager.d.ts +1 -21
- package/lib/cjs/appui-react/configurableui/ConfigurableUiManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/configurableui/ConfigurableUiManager.js +2 -28
- package/lib/cjs/appui-react/configurableui/ConfigurableUiManager.js.map +1 -1
- package/lib/cjs/appui-react/configurableui/configurableui.scss +5 -7
- package/lib/cjs/appui-react/configurableui/state.d.ts +0 -7
- package/lib/cjs/appui-react/configurableui/state.d.ts.map +1 -1
- package/lib/cjs/appui-react/configurableui/state.js +0 -9
- package/lib/cjs/appui-react/configurableui/state.js.map +1 -1
- package/lib/cjs/appui-react/content/ContentGroup.d.ts +2 -9
- package/lib/cjs/appui-react/content/ContentGroup.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/ContentGroup.js.map +1 -1
- package/lib/cjs/appui-react/content/ContentLayout.d.ts +0 -4
- package/lib/cjs/appui-react/content/ContentLayout.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/ContentLayout.js +2 -2
- package/lib/cjs/appui-react/content/ContentLayout.js.map +1 -1
- package/lib/cjs/appui-react/content/DefaultViewOverlay.scss +4 -5
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js +2 -2
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
- package/lib/cjs/appui-react/dialog/StandardMessageBox.d.ts +2 -0
- package/lib/cjs/appui-react/dialog/StandardMessageBox.d.ts.map +1 -1
- package/lib/cjs/appui-react/dialog/StandardMessageBox.js.map +1 -1
- package/lib/cjs/appui-react/feedback/ElementTooltip.js +1 -2
- package/lib/cjs/appui-react/feedback/ElementTooltip.js.map +1 -1
- package/lib/cjs/appui-react/feedback/ValidationTextbox.d.ts +2 -0
- package/lib/cjs/appui-react/feedback/ValidationTextbox.d.ts.map +1 -1
- package/lib/cjs/appui-react/feedback/ValidationTextbox.js.map +1 -1
- package/lib/cjs/appui-react/feedback/ValidationTextbox.scss +4 -4
- package/lib/cjs/appui-react/frontstage/FrontstageConfig.d.ts +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageConfig.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts +19 -74
- package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageDef.js +91 -305
- package/lib/cjs/appui-react/frontstage/FrontstageDef.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageManager.d.ts +4 -10
- package/lib/cjs/appui-react/frontstage/FrontstageManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageManager.js +21 -47
- package/lib/cjs/appui-react/frontstage/FrontstageManager.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageProvider.d.ts +3 -11
- package/lib/cjs/appui-react/frontstage/FrontstageProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageProvider.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts +2 -0
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.js +2 -1
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/ModalFrontstage.scss +1 -4
- package/lib/cjs/appui-react/frontstage/ModalSettingsStage.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js +2 -4
- package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts +4 -15
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js +44 -27
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useAvailableUiItemsProviders.js +4 -4
- package/lib/cjs/appui-react/hooks/useAvailableUiItemsProviders.js.map +1 -1
- package/lib/cjs/appui-react/messages/ActivityMessage.d.ts +1 -36
- package/lib/cjs/appui-react/messages/ActivityMessage.d.ts.map +1 -1
- package/lib/cjs/appui-react/messages/ActivityMessage.js +25 -38
- package/lib/cjs/appui-react/messages/ActivityMessage.js.map +1 -1
- package/lib/cjs/appui-react/messages/MessageManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/messages/MessageManager.js +2 -3
- package/lib/cjs/appui-react/messages/MessageManager.js.map +1 -1
- package/lib/cjs/appui-react/messages/Pointer.js +1 -2
- package/lib/cjs/appui-react/messages/Pointer.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.d.ts.map +1 -1
- package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.js +1 -0
- package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.d.ts.map +1 -1
- package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.js +1 -0
- package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.d.ts.map +1 -1
- package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.js +1 -0
- package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.scss +13 -9
- package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
- package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js +6 -7
- package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
- package/lib/cjs/appui-react/pickers/ListPicker.d.ts +3 -35
- package/lib/cjs/appui-react/pickers/ListPicker.d.ts.map +1 -1
- package/lib/cjs/appui-react/pickers/ListPicker.js +9 -143
- package/lib/cjs/appui-react/pickers/ListPicker.js.map +1 -1
- package/lib/cjs/appui-react/pickers/ListPicker.scss +15 -17
- package/lib/cjs/appui-react/pickers/ViewSelector.d.ts.map +1 -1
- package/lib/cjs/appui-react/pickers/ViewSelector.js +0 -1
- package/lib/cjs/appui-react/pickers/ViewSelector.js.map +1 -1
- package/lib/cjs/appui-react/popup/PositionPopup.d.ts +2 -0
- package/lib/cjs/appui-react/popup/PositionPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/PositionPopup.js.map +1 -1
- package/lib/cjs/appui-react/redux/FrameworkState.d.ts +1 -1
- package/lib/cjs/appui-react/safearea/SafeAreaContext.d.ts +3 -65
- package/lib/cjs/appui-react/safearea/SafeAreaContext.d.ts.map +1 -1
- package/lib/cjs/appui-react/safearea/SafeAreaContext.js +3 -20
- package/lib/cjs/appui-react/safearea/SafeAreaContext.js.map +1 -1
- package/lib/cjs/appui-react/safearea/SafeAreaHelpers.d.ts +8 -0
- package/lib/cjs/appui-react/safearea/SafeAreaHelpers.d.ts.map +1 -0
- package/lib/cjs/appui-react/{widgets/WidgetProps.js → safearea/SafeAreaHelpers.js} +8 -2
- package/lib/cjs/appui-react/safearea/SafeAreaHelpers.js.map +1 -0
- package/lib/cjs/appui-react/safearea/SafeAreaInsets.d.ts +8 -7
- package/lib/cjs/appui-react/safearea/SafeAreaInsets.d.ts.map +1 -1
- package/lib/cjs/appui-react/safearea/SafeAreaInsets.js +9 -3
- package/lib/cjs/appui-react/safearea/SafeAreaInsets.js.map +1 -1
- package/lib/cjs/appui-react/selection/SelectionContextItemDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/selection/SelectionContextItemDef.js +0 -12
- package/lib/cjs/appui-react/selection/SelectionContextItemDef.js.map +1 -1
- package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.scss +6 -13
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts +0 -12
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js +26 -26
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.scss +8 -9
- package/lib/cjs/appui-react/shared/ActionButtonItemDef.d.ts +0 -7
- package/lib/cjs/appui-react/shared/ActionButtonItemDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/ActionButtonItemDef.js +0 -19
- package/lib/cjs/appui-react/shared/ActionButtonItemDef.js.map +1 -1
- package/lib/cjs/appui-react/shared/CustomItemDef.d.ts +0 -2
- package/lib/cjs/appui-react/shared/CustomItemDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/CustomItemDef.js +0 -18
- package/lib/cjs/appui-react/shared/CustomItemDef.js.map +1 -1
- package/lib/cjs/appui-react/shared/CustomItemProps.d.ts +0 -1
- package/lib/cjs/appui-react/shared/CustomItemProps.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/CustomItemProps.js.map +1 -1
- package/lib/cjs/appui-react/shared/GroupItemProps.d.ts +0 -3
- package/lib/cjs/appui-react/shared/GroupItemProps.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/GroupItemProps.js.map +1 -1
- package/lib/cjs/appui-react/shared/ItemDefBase.d.ts +0 -8
- package/lib/cjs/appui-react/shared/ItemDefBase.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/ItemDefBase.js +2 -16
- package/lib/cjs/appui-react/shared/ItemDefBase.js.map +1 -1
- package/lib/cjs/appui-react/shared/ItemProps.d.ts +0 -17
- package/lib/cjs/appui-react/shared/ItemProps.d.ts.map +1 -1
- package/lib/cjs/appui-react/shared/ItemProps.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts +10 -4
- package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelConfig.js +0 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts +10 -30
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.js +53 -112
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/Indicator.js +2 -4
- package/lib/cjs/appui-react/statusbar/Indicator.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/LabelIndicator.js +1 -2
- package/lib/cjs/appui-react/statusbar/LabelIndicator.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/Overflow.d.ts +1 -1
- package/lib/cjs/appui-react/statusbar/Overflow.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/Overflow.js +2 -3
- package/lib/cjs/appui-react/statusbar/Overflow.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/Separator.d.ts +1 -0
- package/lib/cjs/appui-react/statusbar/Separator.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/Separator.js +4 -3
- package/lib/cjs/appui-react/statusbar/Separator.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/Separator.scss +14 -0
- package/lib/cjs/appui-react/statusbar/StatusBar.d.ts +1 -17
- package/lib/cjs/appui-react/statusbar/StatusBar.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBar.js +6 -55
- package/lib/cjs/appui-react/statusbar/StatusBar.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarComposer.js +12 -17
- package/lib/cjs/appui-react/statusbar/StatusBarComposer.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarItem.d.ts +2 -52
- package/lib/cjs/appui-react/statusbar/StatusBarItem.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarItem.js +2 -33
- package/lib/cjs/appui-react/statusbar/StatusBarItem.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.d.ts +4 -23
- package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.js +1 -31
- package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.d.ts +1 -20
- package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/dialog/Dialog.js +1 -1
- package/lib/cjs/appui-react/statusbar/dialog/Dialog.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/dialog/TitleBar.js +1 -1
- package/lib/cjs/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.js +1 -2
- package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/ActivityCenter.d.ts +3 -21
- package/lib/cjs/appui-react/statusfields/ActivityCenter.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/ActivityCenter.js +39 -47
- package/lib/cjs/appui-react/statusfields/ActivityCenter.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts +5 -16
- package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/MessageCenter.js +10 -38
- package/lib/cjs/appui-react/statusfields/MessageCenter.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SectionsField.d.ts +2 -2
- package/lib/cjs/appui-react/statusfields/SectionsField.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/SectionsField.js +10 -13
- package/lib/cjs/appui-react/statusfields/SectionsField.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SectionsField.scss +5 -6
- 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/SelectionInfo.js +1 -5
- package/lib/cjs/appui-react/statusfields/SelectionInfo.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts +2 -2
- package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionScope.js +4 -9
- package/lib/cjs/appui-react/statusfields/SelectionScope.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionScope.scss +5 -7
- 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 +2 -3
- package/lib/cjs/appui-react/statusfields/SnapMode.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts +3 -4
- package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/ViewAttributes.js +2 -10
- package/lib/cjs/appui-react/statusfields/ViewAttributes.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +3 -3
- package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.js +1 -4
- package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.scss +9 -22
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +5 -6
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js +22 -38
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.scss +10 -22
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts +4 -27
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js +4 -38
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/GroupItem.d.ts +2 -93
- package/lib/cjs/appui-react/toolbar/GroupItem.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolbar/GroupItem.js +2 -393
- package/lib/cjs/appui-react/toolbar/GroupItem.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarComposer.js +3 -27
- package/lib/cjs/appui-react/toolbar/ToolbarComposer.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarHelper.d.ts +1 -2
- package/lib/cjs/appui-react/toolbar/ToolbarHelper.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarHelper.js +2 -16
- package/lib/cjs/appui-react/toolbar/ToolbarHelper.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js +1 -3
- package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.d.ts +0 -7
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.d.ts.map +1 -1
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.js +1 -43
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.js.map +1 -1
- package/lib/cjs/appui-react/tools/ToolSettingsTools.js +1 -1
- package/lib/cjs/appui-react/tools/ToolSettingsTools.js.map +1 -1
- package/lib/cjs/appui-react/{zones/toolsettings → toolsettings}/DefaultToolSettingsProvider.d.ts +1 -1
- package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -0
- package/lib/cjs/appui-react/{zones/toolsettings → toolsettings}/DefaultToolSettingsProvider.js +5 -6
- package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -0
- package/lib/cjs/appui-react/{zones/toolsettings → toolsettings}/ToolInformation.d.ts +0 -0
- package/lib/cjs/appui-react/toolsettings/ToolInformation.d.ts.map +1 -0
- package/lib/cjs/appui-react/{zones/toolsettings → toolsettings}/ToolInformation.js +3 -3
- package/lib/cjs/appui-react/toolsettings/ToolInformation.js.map +1 -0
- package/lib/cjs/appui-react/{zones/toolsettings → toolsettings}/ToolSettingsManager.d.ts +0 -0
- package/lib/cjs/appui-react/toolsettings/ToolSettingsManager.d.ts.map +1 -0
- package/lib/cjs/appui-react/{zones/toolsettings → toolsettings}/ToolSettingsManager.js +1 -1
- package/lib/cjs/appui-react/toolsettings/ToolSettingsManager.js.map +1 -0
- package/lib/{esm/appui-react/zones → cjs/appui-react}/toolsettings/ToolUiProvider.d.ts +2 -2
- package/lib/cjs/appui-react/toolsettings/ToolUiProvider.d.ts.map +1 -0
- package/lib/cjs/appui-react/{zones/toolsettings → toolsettings}/ToolUiProvider.js +1 -1
- package/lib/cjs/appui-react/toolsettings/ToolUiProvider.js.map +1 -0
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js +1 -4
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts +0 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +1 -11
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.js +0 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js +2 -2
- package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js +6 -21
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts +1 -0
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +6 -20
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
- package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.js +1 -3
- package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.js.map +1 -1
- package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.scss +0 -3
- package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts +1 -5
- package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
- package/lib/cjs/appui-react/uistate/AppUiSettings.js +0 -6
- package/lib/cjs/appui-react/uistate/AppUiSettings.js.map +1 -1
- package/lib/cjs/appui-react/utils/PropsHelper.js.map +1 -1
- package/lib/cjs/appui-react/utils/UiShowHideManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/utils/UiShowHideManager.js +7 -8
- package/lib/cjs/appui-react/utils/UiShowHideManager.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Content.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Content.js +6 -4
- package/lib/cjs/appui-react/widget-panels/Content.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts +20 -19
- package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Frontstage.js +108 -217
- package/lib/cjs/appui-react/widget-panels/Frontstage.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/FrontstageContent.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/FrontstageContent.js +3 -3
- package/lib/cjs/appui-react/widget-panels/FrontstageContent.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/StatusBar.js +6 -9
- package/lib/cjs/appui-react/widget-panels/StatusBar.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/ToolSettings.js +7 -7
- package/lib/cjs/appui-react/widget-panels/ToolSettings.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/ToolSettings.scss +3 -2
- package/lib/cjs/appui-react/widget-panels/Toolbars.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Toolbars.js +5 -12
- package/lib/cjs/appui-react/widget-panels/Toolbars.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 +6 -8
- package/lib/cjs/appui-react/widget-panels/useWidgetDirection.js.map +1 -1
- package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/BackstageAppButton.js +3 -5
- package/lib/cjs/appui-react/widgets/BackstageAppButton.js.map +1 -1
- package/lib/cjs/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
- package/lib/cjs/appui-react/widgets/BasicToolWidget.js.map +1 -1
- package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.js.map +1 -1
- package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js +1 -2
- package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
- package/lib/cjs/appui-react/widgets/StableWidgetDef.d.ts +1 -1
- package/lib/cjs/appui-react/widgets/StableWidgetDef.js +1 -1
- package/lib/cjs/appui-react/widgets/StableWidgetDef.js.map +1 -1
- package/lib/cjs/appui-react/widgets/ToolSettingsContent.d.ts +0 -19
- package/lib/cjs/appui-react/widgets/ToolSettingsContent.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/ToolSettingsContent.js +1 -40
- package/lib/cjs/appui-react/widgets/ToolSettingsContent.js.map +1 -1
- package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetConfig.d.ts +19 -4
- package/lib/cjs/appui-react/widgets/WidgetConfig.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetConfig.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetControl.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetDef.d.ts +11 -70
- package/lib/cjs/appui-react/widgets/WidgetDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetDef.js +59 -117
- package/lib/cjs/appui-react/widgets/WidgetDef.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetHost.d.ts +1 -2
- package/lib/cjs/appui-react/widgets/WidgetHost.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetHost.js +4 -94
- package/lib/cjs/appui-react/widgets/WidgetHost.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetManager.d.ts +3 -5
- package/lib/cjs/appui-react/widgets/WidgetManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetManager.js +17 -54
- package/lib/cjs/appui-react/widgets/WidgetManager.js.map +1 -1
- package/lib/cjs/appui-react.d.ts +9 -84
- package/lib/cjs/appui-react.d.ts.map +1 -1
- package/lib/cjs/appui-react.js +9 -84
- package/lib/cjs/appui-react.js.map +1 -1
- package/lib/esm/appui-react/UiFramework.d.ts +2 -33
- package/lib/esm/appui-react/UiFramework.d.ts.map +1 -1
- package/lib/esm/appui-react/UiFramework.js +4 -28
- package/lib/esm/appui-react/UiFramework.js.map +1 -1
- package/lib/esm/appui-react/_variables.scss +2 -2
- package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.scss +2 -3
- package/lib/esm/appui-react/accudraw/AccuDrawInputField.scss +9 -4
- package/lib/esm/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposer.js +2 -2
- package/lib/esm/appui-react/backstage/BackstageComposer.js.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposerItem.js +2 -2
- package/lib/esm/appui-react/backstage/BackstageComposerItem.js.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageManager.d.ts.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageManager.js +0 -2
- package/lib/esm/appui-react/backstage/BackstageManager.js.map +1 -1
- package/lib/esm/appui-react/backstage/useDefaultBackstageItems.js.map +1 -1
- package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts.map +1 -1
- package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.js +1 -3
- package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.js.map +1 -1
- package/lib/esm/appui-react/childwindow/ChildWindowManager.d.ts.map +1 -1
- package/lib/esm/appui-react/childwindow/ChildWindowManager.js +6 -9
- package/lib/esm/appui-react/childwindow/ChildWindowManager.js.map +1 -1
- package/lib/esm/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
- package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js +1 -4
- package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
- package/lib/esm/appui-react/configurableui/ConfigurableUiManager.d.ts +1 -21
- package/lib/esm/appui-react/configurableui/ConfigurableUiManager.d.ts.map +1 -1
- package/lib/esm/appui-react/configurableui/ConfigurableUiManager.js +2 -28
- package/lib/esm/appui-react/configurableui/ConfigurableUiManager.js.map +1 -1
- package/lib/esm/appui-react/configurableui/configurableui.scss +5 -7
- package/lib/esm/appui-react/configurableui/state.d.ts +0 -7
- package/lib/esm/appui-react/configurableui/state.d.ts.map +1 -1
- package/lib/esm/appui-react/configurableui/state.js +0 -9
- package/lib/esm/appui-react/configurableui/state.js.map +1 -1
- package/lib/esm/appui-react/content/ContentGroup.d.ts +2 -9
- package/lib/esm/appui-react/content/ContentGroup.d.ts.map +1 -1
- package/lib/esm/appui-react/content/ContentGroup.js.map +1 -1
- package/lib/esm/appui-react/content/ContentLayout.d.ts +0 -4
- package/lib/esm/appui-react/content/ContentLayout.d.ts.map +1 -1
- package/lib/esm/appui-react/content/ContentLayout.js +1 -1
- package/lib/esm/appui-react/content/ContentLayout.js.map +1 -1
- package/lib/esm/appui-react/content/DefaultViewOverlay.scss +4 -5
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js +2 -2
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
- package/lib/esm/appui-react/dialog/StandardMessageBox.d.ts +2 -0
- package/lib/esm/appui-react/dialog/StandardMessageBox.d.ts.map +1 -1
- package/lib/esm/appui-react/dialog/StandardMessageBox.js.map +1 -1
- package/lib/esm/appui-react/feedback/ElementTooltip.js +1 -2
- package/lib/esm/appui-react/feedback/ElementTooltip.js.map +1 -1
- package/lib/esm/appui-react/feedback/ValidationTextbox.d.ts +2 -0
- package/lib/esm/appui-react/feedback/ValidationTextbox.d.ts.map +1 -1
- package/lib/esm/appui-react/feedback/ValidationTextbox.js.map +1 -1
- package/lib/esm/appui-react/feedback/ValidationTextbox.scss +4 -4
- package/lib/esm/appui-react/frontstage/FrontstageConfig.d.ts +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageConfig.js.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts +19 -74
- package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageDef.js +85 -302
- package/lib/esm/appui-react/frontstage/FrontstageDef.js.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageManager.d.ts +4 -10
- package/lib/esm/appui-react/frontstage/FrontstageManager.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageManager.js +5 -31
- package/lib/esm/appui-react/frontstage/FrontstageManager.js.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageProvider.d.ts +3 -11
- package/lib/esm/appui-react/frontstage/FrontstageProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageProvider.js.map +1 -1
- package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts +2 -0
- package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/ModalFrontstage.js +2 -1
- package/lib/esm/appui-react/frontstage/ModalFrontstage.js.map +1 -1
- package/lib/esm/appui-react/frontstage/ModalFrontstage.scss +1 -4
- package/lib/esm/appui-react/frontstage/ModalSettingsStage.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/ModalSettingsStage.js +2 -4
- package/lib/esm/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts +4 -15
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js +44 -27
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
- package/lib/esm/appui-react/hooks/useAvailableUiItemsProviders.js +4 -4
- package/lib/esm/appui-react/hooks/useAvailableUiItemsProviders.js.map +1 -1
- package/lib/esm/appui-react/messages/ActivityMessage.d.ts +1 -36
- package/lib/esm/appui-react/messages/ActivityMessage.d.ts.map +1 -1
- package/lib/esm/appui-react/messages/ActivityMessage.js +24 -34
- package/lib/esm/appui-react/messages/ActivityMessage.js.map +1 -1
- package/lib/esm/appui-react/messages/MessageManager.d.ts.map +1 -1
- package/lib/esm/appui-react/messages/MessageManager.js +2 -3
- package/lib/esm/appui-react/messages/MessageManager.js.map +1 -1
- package/lib/esm/appui-react/messages/Pointer.js +1 -2
- package/lib/esm/appui-react/messages/Pointer.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.d.ts.map +1 -1
- package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.js +1 -0
- package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.d.ts.map +1 -1
- package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.js +1 -0
- package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/SheetNavigationAid.d.ts.map +1 -1
- package/lib/esm/appui-react/navigationaids/SheetNavigationAid.js +1 -0
- package/lib/esm/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/SheetNavigationAid.scss +13 -9
- package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
- package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js +8 -9
- package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
- package/lib/esm/appui-react/pickers/ListPicker.d.ts +3 -35
- package/lib/esm/appui-react/pickers/ListPicker.d.ts.map +1 -1
- package/lib/esm/appui-react/pickers/ListPicker.js +9 -142
- package/lib/esm/appui-react/pickers/ListPicker.js.map +1 -1
- package/lib/esm/appui-react/pickers/ListPicker.scss +15 -17
- package/lib/esm/appui-react/pickers/ViewSelector.d.ts.map +1 -1
- package/lib/esm/appui-react/pickers/ViewSelector.js +0 -1
- package/lib/esm/appui-react/pickers/ViewSelector.js.map +1 -1
- package/lib/esm/appui-react/popup/PositionPopup.d.ts +2 -0
- package/lib/esm/appui-react/popup/PositionPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/PositionPopup.js.map +1 -1
- package/lib/esm/appui-react/redux/FrameworkState.d.ts +1 -1
- package/lib/esm/appui-react/safearea/SafeAreaContext.d.ts +3 -65
- package/lib/esm/appui-react/safearea/SafeAreaContext.d.ts.map +1 -1
- package/lib/esm/appui-react/safearea/SafeAreaContext.js +2 -18
- package/lib/esm/appui-react/safearea/SafeAreaContext.js.map +1 -1
- package/lib/esm/appui-react/safearea/SafeAreaHelpers.d.ts +8 -0
- package/lib/esm/appui-react/safearea/SafeAreaHelpers.d.ts.map +1 -0
- package/lib/{cjs/appui-react/ui-items-provider/ProviderItem.js → esm/appui-react/safearea/SafeAreaHelpers.js} +6 -4
- package/lib/esm/appui-react/safearea/SafeAreaHelpers.js.map +1 -0
- package/lib/esm/appui-react/safearea/SafeAreaInsets.d.ts +8 -7
- package/lib/esm/appui-react/safearea/SafeAreaInsets.d.ts.map +1 -1
- package/lib/esm/appui-react/safearea/SafeAreaInsets.js +9 -3
- package/lib/esm/appui-react/safearea/SafeAreaInsets.js.map +1 -1
- package/lib/esm/appui-react/selection/SelectionContextItemDef.d.ts.map +1 -1
- package/lib/esm/appui-react/selection/SelectionContextItemDef.js +0 -12
- package/lib/esm/appui-react/selection/SelectionContextItemDef.js.map +1 -1
- package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.scss +6 -13
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts +0 -12
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.js +26 -26
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.scss +8 -9
- package/lib/esm/appui-react/shared/ActionButtonItemDef.d.ts +0 -7
- package/lib/esm/appui-react/shared/ActionButtonItemDef.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/ActionButtonItemDef.js +0 -19
- package/lib/esm/appui-react/shared/ActionButtonItemDef.js.map +1 -1
- package/lib/esm/appui-react/shared/CustomItemDef.d.ts +0 -2
- package/lib/esm/appui-react/shared/CustomItemDef.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/CustomItemDef.js +0 -18
- package/lib/esm/appui-react/shared/CustomItemDef.js.map +1 -1
- package/lib/esm/appui-react/shared/CustomItemProps.d.ts +0 -1
- package/lib/esm/appui-react/shared/CustomItemProps.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/CustomItemProps.js.map +1 -1
- package/lib/esm/appui-react/shared/GroupItemProps.d.ts +0 -3
- package/lib/esm/appui-react/shared/GroupItemProps.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/GroupItemProps.js.map +1 -1
- package/lib/esm/appui-react/shared/ItemDefBase.d.ts +0 -8
- package/lib/esm/appui-react/shared/ItemDefBase.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/ItemDefBase.js +2 -16
- package/lib/esm/appui-react/shared/ItemDefBase.js.map +1 -1
- package/lib/esm/appui-react/shared/ItemProps.d.ts +0 -17
- package/lib/esm/appui-react/shared/ItemProps.d.ts.map +1 -1
- package/lib/esm/appui-react/shared/ItemProps.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts +10 -4
- package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelConfig.js +0 -1
- package/lib/esm/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts +10 -30
- package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelDef.js +50 -108
- package/lib/esm/appui-react/stagepanels/StagePanelDef.js.map +1 -1
- package/lib/esm/appui-react/statusbar/Indicator.js +2 -4
- package/lib/esm/appui-react/statusbar/Indicator.js.map +1 -1
- package/lib/esm/appui-react/statusbar/LabelIndicator.js +1 -2
- package/lib/esm/appui-react/statusbar/LabelIndicator.js.map +1 -1
- package/lib/esm/appui-react/statusbar/Overflow.d.ts +1 -1
- package/lib/esm/appui-react/statusbar/Overflow.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/Overflow.js +2 -3
- package/lib/esm/appui-react/statusbar/Overflow.js.map +1 -1
- package/lib/esm/appui-react/statusbar/Separator.d.ts +1 -0
- package/lib/esm/appui-react/statusbar/Separator.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/Separator.js +4 -3
- package/lib/esm/appui-react/statusbar/Separator.js.map +1 -1
- package/lib/esm/appui-react/statusbar/Separator.scss +14 -0
- package/lib/esm/appui-react/statusbar/StatusBar.d.ts +1 -17
- package/lib/esm/appui-react/statusbar/StatusBar.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBar.js +6 -55
- package/lib/esm/appui-react/statusbar/StatusBar.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarComposer.js +16 -21
- package/lib/esm/appui-react/statusbar/StatusBarComposer.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarItem.d.ts +2 -52
- package/lib/esm/appui-react/statusbar/StatusBarItem.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarItem.js +1 -29
- package/lib/esm/appui-react/statusbar/StatusBarItem.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.d.ts +4 -23
- package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.js +1 -31
- package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.d.ts +1 -20
- package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.js.map +1 -1
- package/lib/esm/appui-react/statusbar/dialog/Dialog.js +1 -1
- package/lib/esm/appui-react/statusbar/dialog/Dialog.js.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/statusbar/useDefaultStatusBarItems.js.map +1 -1
- package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.js +1 -2
- package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.js.map +1 -1
- package/lib/esm/appui-react/statusfields/ActivityCenter.d.ts +3 -21
- package/lib/esm/appui-react/statusfields/ActivityCenter.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/ActivityCenter.js +39 -47
- package/lib/esm/appui-react/statusfields/ActivityCenter.js.map +1 -1
- package/lib/esm/appui-react/statusfields/MessageCenter.d.ts +5 -16
- package/lib/esm/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/MessageCenter.js +10 -38
- package/lib/esm/appui-react/statusfields/MessageCenter.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SectionsField.d.ts +2 -2
- package/lib/esm/appui-react/statusfields/SectionsField.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/SectionsField.js +10 -13
- package/lib/esm/appui-react/statusfields/SectionsField.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SectionsField.scss +5 -6
- 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/SelectionInfo.js +1 -5
- package/lib/esm/appui-react/statusfields/SelectionInfo.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionScope.d.ts +2 -2
- package/lib/esm/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionScope.js +4 -9
- package/lib/esm/appui-react/statusfields/SelectionScope.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionScope.scss +5 -7
- 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 +2 -3
- package/lib/esm/appui-react/statusfields/SnapMode.js.map +1 -1
- package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts +3 -4
- package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/ViewAttributes.js +2 -10
- package/lib/esm/appui-react/statusfields/ViewAttributes.js.map +1 -1
- package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +3 -3
- package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.js +1 -4
- package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.js.map +1 -1
- package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.scss +9 -22
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +5 -6
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js +23 -39
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.scss +10 -22
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts +4 -27
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js +4 -38
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
- package/lib/esm/appui-react/toolbar/GroupItem.d.ts +2 -93
- package/lib/esm/appui-react/toolbar/GroupItem.d.ts.map +1 -1
- package/lib/esm/appui-react/toolbar/GroupItem.js +1 -388
- package/lib/esm/appui-react/toolbar/GroupItem.js.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarComposer.js +2 -26
- package/lib/esm/appui-react/toolbar/ToolbarComposer.js.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarHelper.d.ts +1 -2
- package/lib/esm/appui-react/toolbar/ToolbarHelper.d.ts.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarHelper.js +2 -16
- package/lib/esm/appui-react/toolbar/ToolbarHelper.js.map +1 -1
- package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts.map +1 -1
- package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js +1 -3
- package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
- package/lib/esm/appui-react/tools/CoreToolDefinitions.d.ts +0 -7
- package/lib/esm/appui-react/tools/CoreToolDefinitions.d.ts.map +1 -1
- package/lib/esm/appui-react/tools/CoreToolDefinitions.js +2 -44
- package/lib/esm/appui-react/tools/CoreToolDefinitions.js.map +1 -1
- package/lib/esm/appui-react/tools/ToolSettingsTools.js +1 -1
- package/lib/esm/appui-react/tools/ToolSettingsTools.js.map +1 -1
- package/lib/esm/appui-react/{zones/toolsettings → toolsettings}/DefaultToolSettingsProvider.d.ts +1 -1
- package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -0
- package/lib/esm/appui-react/{zones/toolsettings → toolsettings}/DefaultToolSettingsProvider.js +5 -6
- package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -0
- package/lib/esm/appui-react/{zones/toolsettings → toolsettings}/ToolInformation.d.ts +0 -0
- package/lib/esm/appui-react/toolsettings/ToolInformation.d.ts.map +1 -0
- package/lib/esm/appui-react/{zones/toolsettings → toolsettings}/ToolInformation.js +3 -3
- package/lib/esm/appui-react/toolsettings/ToolInformation.js.map +1 -0
- package/lib/esm/appui-react/{zones/toolsettings → toolsettings}/ToolSettingsManager.d.ts +0 -0
- package/lib/esm/appui-react/toolsettings/ToolSettingsManager.d.ts.map +1 -0
- package/lib/esm/appui-react/{zones/toolsettings → toolsettings}/ToolSettingsManager.js +1 -1
- package/lib/esm/appui-react/toolsettings/ToolSettingsManager.js.map +1 -0
- package/lib/{cjs/appui-react/zones → esm/appui-react}/toolsettings/ToolUiProvider.d.ts +2 -2
- package/lib/esm/appui-react/toolsettings/ToolUiProvider.d.ts.map +1 -0
- package/lib/esm/appui-react/{zones/toolsettings → toolsettings}/ToolUiProvider.js +1 -1
- package/lib/esm/appui-react/toolsettings/ToolUiProvider.js.map +1 -0
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js +1 -4
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts +0 -1
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +1 -11
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.js +0 -1
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js +2 -2
- package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js +6 -21
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts +1 -0
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +6 -20
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
- package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.js +1 -3
- package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.js.map +1 -1
- package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.scss +0 -3
- package/lib/esm/appui-react/uistate/AppUiSettings.d.ts +1 -5
- package/lib/esm/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
- package/lib/esm/appui-react/uistate/AppUiSettings.js +0 -6
- package/lib/esm/appui-react/uistate/AppUiSettings.js.map +1 -1
- package/lib/esm/appui-react/utils/PropsHelper.js.map +1 -1
- package/lib/esm/appui-react/utils/UiShowHideManager.d.ts.map +1 -1
- package/lib/esm/appui-react/utils/UiShowHideManager.js +7 -8
- package/lib/esm/appui-react/utils/UiShowHideManager.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/Content.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/Content.js +5 -3
- package/lib/esm/appui-react/widget-panels/Content.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/Frontstage.d.ts +20 -19
- package/lib/esm/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/Frontstage.js +106 -216
- package/lib/esm/appui-react/widget-panels/Frontstage.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/FrontstageContent.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/FrontstageContent.js +2 -2
- package/lib/esm/appui-react/widget-panels/FrontstageContent.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/StatusBar.js +5 -8
- package/lib/esm/appui-react/widget-panels/StatusBar.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/ToolSettings.js +7 -7
- package/lib/esm/appui-react/widget-panels/ToolSettings.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/ToolSettings.scss +3 -2
- package/lib/esm/appui-react/widget-panels/Toolbars.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/Toolbars.js +4 -11
- package/lib/esm/appui-react/widget-panels/Toolbars.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 +7 -9
- package/lib/esm/appui-react/widget-panels/useWidgetDirection.js.map +1 -1
- package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/BackstageAppButton.js +3 -5
- package/lib/esm/appui-react/widgets/BackstageAppButton.js.map +1 -1
- package/lib/esm/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
- package/lib/esm/appui-react/widgets/BasicToolWidget.js.map +1 -1
- package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.js.map +1 -1
- package/lib/esm/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js +1 -2
- package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
- package/lib/esm/appui-react/widgets/StableWidgetDef.d.ts +1 -1
- package/lib/esm/appui-react/widgets/StableWidgetDef.js +1 -1
- package/lib/esm/appui-react/widgets/StableWidgetDef.js.map +1 -1
- package/lib/esm/appui-react/widgets/ToolSettingsContent.d.ts +0 -19
- package/lib/esm/appui-react/widgets/ToolSettingsContent.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/ToolSettingsContent.js +0 -38
- package/lib/esm/appui-react/widgets/ToolSettingsContent.js.map +1 -1
- package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetConfig.d.ts +19 -4
- package/lib/esm/appui-react/widgets/WidgetConfig.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetConfig.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetControl.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetDef.d.ts +11 -70
- package/lib/esm/appui-react/widgets/WidgetDef.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetDef.js +59 -117
- package/lib/esm/appui-react/widgets/WidgetDef.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetHost.d.ts +1 -2
- package/lib/esm/appui-react/widgets/WidgetHost.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetHost.js +4 -94
- package/lib/esm/appui-react/widgets/WidgetHost.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetManager.d.ts +3 -5
- package/lib/esm/appui-react/widgets/WidgetManager.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetManager.js +18 -55
- package/lib/esm/appui-react/widgets/WidgetManager.js.map +1 -1
- package/lib/esm/appui-react.d.ts +9 -84
- package/lib/esm/appui-react.d.ts.map +1 -1
- package/lib/esm/appui-react.js +9 -84
- package/lib/esm/appui-react.js.map +1 -1
- package/lib/public/locales/en/UiFramework.json +0 -2
- package/package.json +45 -55
- package/lib/cjs/appui-react/backstage/Backstage.d.ts +0 -62
- package/lib/cjs/appui-react/backstage/Backstage.d.ts.map +0 -1
- package/lib/cjs/appui-react/backstage/Backstage.js +0 -89
- package/lib/cjs/appui-react/backstage/Backstage.js.map +0 -1
- package/lib/cjs/appui-react/backstage/BackstageItem.d.ts +0 -43
- package/lib/cjs/appui-react/backstage/BackstageItem.d.ts.map +0 -1
- package/lib/cjs/appui-react/backstage/BackstageItem.js +0 -37
- package/lib/cjs/appui-react/backstage/BackstageItem.js.map +0 -1
- package/lib/cjs/appui-react/backstage/BackstageItemProps.d.ts +0 -49
- package/lib/cjs/appui-react/backstage/BackstageItemProps.d.ts.map +0 -1
- package/lib/cjs/appui-react/backstage/BackstageItemProps.js +0 -22
- package/lib/cjs/appui-react/backstage/BackstageItemProps.js.map +0 -1
- package/lib/cjs/appui-react/backstage/BackstageItemUtilities.d.ts +0 -19
- package/lib/cjs/appui-react/backstage/BackstageItemUtilities.d.ts.map +0 -1
- package/lib/cjs/appui-react/backstage/BackstageItemUtilities.js +0 -59
- package/lib/cjs/appui-react/backstage/BackstageItemUtilities.js.map +0 -1
- package/lib/cjs/appui-react/backstage/CommandLaunch.d.ts +0 -32
- package/lib/cjs/appui-react/backstage/CommandLaunch.d.ts.map +0 -1
- package/lib/cjs/appui-react/backstage/CommandLaunch.js +0 -87
- package/lib/cjs/appui-react/backstage/CommandLaunch.js.map +0 -1
- package/lib/cjs/appui-react/backstage/FrontstageLaunch.d.ts +0 -34
- package/lib/cjs/appui-react/backstage/FrontstageLaunch.d.ts.map +0 -1
- package/lib/cjs/appui-react/backstage/FrontstageLaunch.js +0 -93
- package/lib/cjs/appui-react/backstage/FrontstageLaunch.js.map +0 -1
- package/lib/cjs/appui-react/backstage/Separator.d.ts +0 -16
- package/lib/cjs/appui-react/backstage/Separator.d.ts.map +0 -1
- package/lib/cjs/appui-react/backstage/Separator.js +0 -28
- package/lib/cjs/appui-react/backstage/Separator.js.map +0 -1
- package/lib/cjs/appui-react/backstage/TaskLaunch.d.ts +0 -35
- package/lib/cjs/appui-react/backstage/TaskLaunch.d.ts.map +0 -1
- package/lib/cjs/appui-react/backstage/TaskLaunch.js +0 -101
- package/lib/cjs/appui-react/backstage/TaskLaunch.js.map +0 -1
- package/lib/cjs/appui-react/dragdrop/ZoneTargets.d.ts +0 -22
- package/lib/cjs/appui-react/dragdrop/ZoneTargets.d.ts.map +0 -1
- package/lib/cjs/appui-react/dragdrop/ZoneTargets.js +0 -33
- package/lib/cjs/appui-react/dragdrop/ZoneTargets.js.map +0 -1
- package/lib/cjs/appui-react/frontstage/Frontstage.d.ts +0 -159
- package/lib/cjs/appui-react/frontstage/Frontstage.d.ts.map +0 -1
- package/lib/cjs/appui-react/frontstage/Frontstage.js +0 -470
- package/lib/cjs/appui-react/frontstage/Frontstage.js.map +0 -1
- package/lib/cjs/appui-react/frontstage/FrontstageComposer.d.ts +0 -147
- package/lib/cjs/appui-react/frontstage/FrontstageComposer.d.ts.map +0 -1
- package/lib/cjs/appui-react/frontstage/FrontstageComposer.js +0 -668
- package/lib/cjs/appui-react/frontstage/FrontstageComposer.js.map +0 -1
- package/lib/cjs/appui-react/frontstage/StageUsage.d.ts +0 -15
- package/lib/cjs/appui-react/frontstage/StageUsage.d.ts.map +0 -1
- package/lib/cjs/appui-react/frontstage/StageUsage.js +0 -17
- package/lib/cjs/appui-react/frontstage/StageUsage.js.map +0 -1
- package/lib/cjs/appui-react/hooks/useFrameworkVersion.d.ts +0 -38
- package/lib/cjs/appui-react/hooks/useFrameworkVersion.d.ts.map +0 -1
- package/lib/cjs/appui-react/hooks/useFrameworkVersion.js +0 -57
- package/lib/cjs/appui-react/hooks/useFrameworkVersion.js.map +0 -1
- package/lib/cjs/appui-react/imodel-components/Common.d.ts +0 -26
- package/lib/cjs/appui-react/imodel-components/Common.d.ts.map +0 -1
- package/lib/cjs/appui-react/imodel-components/Common.js +0 -25
- package/lib/cjs/appui-react/imodel-components/Common.js.map +0 -1
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeBase.scss +0 -53
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeEventHandler.d.ts +0 -72
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeEventHandler.d.ts.map +0 -1
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeEventHandler.js +0 -149
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeEventHandler.js.map +0 -1
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeRenderer.d.ts +0 -52
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeRenderer.d.ts.map +0 -1
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeRenderer.js +0 -71
- package/lib/cjs/appui-react/imodel-components/VisibilityTreeRenderer.js.map +0 -1
- package/lib/cjs/appui-react/imodel-components/category-tree/Categories.json +0 -102
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoriesTree.d.ts +0 -72
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoriesTree.d.ts.map +0 -1
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoriesTree.js +0 -109
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoriesTree.js.map +0 -1
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoriesTree.scss +0 -9
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.d.ts +0 -64
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.d.ts.map +0 -1
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.js +0 -201
- package/lib/cjs/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.js.map +0 -1
- package/lib/cjs/appui-react/imodel-components/models-tree/Hierarchy.GroupedByClass.json +0 -392
- package/lib/cjs/appui-react/imodel-components/models-tree/Hierarchy.json +0 -387
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTree.d.ts +0 -85
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTree.d.ts.map +0 -1
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTree.js +0 -130
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTree.js.map +0 -1
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTree.scss +0 -9
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTreeSearch.json +0 -239
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.d.ts +0 -104
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.d.ts.map +0 -1
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.js +0 -482
- package/lib/cjs/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.js.map +0 -1
- package/lib/cjs/appui-react/imodel-components/models-tree/Utils.d.ts +0 -10
- package/lib/cjs/appui-react/imodel-components/models-tree/Utils.d.ts.map +0 -1
- package/lib/cjs/appui-react/imodel-components/models-tree/Utils.js +0 -23
- package/lib/cjs/appui-react/imodel-components/models-tree/Utils.js.map +0 -1
- package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialBreakdown.GroupedByClass.json +0 -79
- package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialBreakdown.json +0 -79
- package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.d.ts +0 -36
- package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.d.ts.map +0 -1
- package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.js +0 -44
- package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.js.map +0 -1
- package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.scss +0 -9
- package/lib/cjs/appui-react/keyinbrowser/KeyinBrowser.d.ts +0 -80
- package/lib/cjs/appui-react/keyinbrowser/KeyinBrowser.d.ts.map +0 -1
- package/lib/cjs/appui-react/keyinbrowser/KeyinBrowser.js +0 -239
- package/lib/cjs/appui-react/keyinbrowser/KeyinBrowser.js.map +0 -1
- package/lib/cjs/appui-react/keyinbrowser/KeyinBrowser.scss +0 -11
- package/lib/cjs/appui-react/messages/ActivityMessagePopup.d.ts +0 -20
- package/lib/cjs/appui-react/messages/ActivityMessagePopup.d.ts.map +0 -1
- package/lib/cjs/appui-react/messages/ActivityMessagePopup.js +0 -44
- package/lib/cjs/appui-react/messages/ActivityMessagePopup.js.map +0 -1
- package/lib/cjs/appui-react/messages/ActivityMessagePopup.scss +0 -15
- package/lib/cjs/appui-react/messages/StatusMessageRenderer.d.ts +0 -22
- package/lib/cjs/appui-react/messages/StatusMessageRenderer.d.ts.map +0 -1
- package/lib/cjs/appui-react/messages/StatusMessageRenderer.js +0 -76
- package/lib/cjs/appui-react/messages/StatusMessageRenderer.js.map +0 -1
- package/lib/cjs/appui-react/messages/StatusMessageRenderer.scss +0 -28
- package/lib/cjs/appui-react/messages/StatusMessagesContainer.d.ts +0 -25
- package/lib/cjs/appui-react/messages/StatusMessagesContainer.d.ts.map +0 -1
- package/lib/cjs/appui-react/messages/StatusMessagesContainer.js +0 -68
- package/lib/cjs/appui-react/messages/StatusMessagesContainer.js.map +0 -1
- package/lib/cjs/appui-react/messages/StatusMessagesContainer.scss +0 -53
- package/lib/cjs/appui-react/messages/StickyMessage.d.ts +0 -23
- package/lib/cjs/appui-react/messages/StickyMessage.d.ts.map +0 -1
- package/lib/cjs/appui-react/messages/StickyMessage.js +0 -39
- package/lib/cjs/appui-react/messages/StickyMessage.js.map +0 -1
- package/lib/cjs/appui-react/messages/StickyMessage.scss +0 -22
- package/lib/cjs/appui-react/messages/ToastMessage.d.ts +0 -23
- package/lib/cjs/appui-react/messages/ToastMessage.d.ts.map +0 -1
- package/lib/cjs/appui-react/messages/ToastMessage.js +0 -31
- package/lib/cjs/appui-react/messages/ToastMessage.js.map +0 -1
- package/lib/cjs/appui-react/selection/ClearEmphasisStatusField.d.ts +0 -18
- package/lib/cjs/appui-react/selection/ClearEmphasisStatusField.d.ts.map +0 -1
- package/lib/cjs/appui-react/selection/ClearEmphasisStatusField.js +0 -57
- package/lib/cjs/appui-react/selection/ClearEmphasisStatusField.js.map +0 -1
- package/lib/cjs/appui-react/stagepanels/FrameworkStagePanel.d.ts +0 -62
- package/lib/cjs/appui-react/stagepanels/FrameworkStagePanel.d.ts.map +0 -1
- package/lib/cjs/appui-react/stagepanels/FrameworkStagePanel.js +0 -122
- package/lib/cjs/appui-react/stagepanels/FrameworkStagePanel.js.map +0 -1
- package/lib/cjs/appui-react/stagepanels/FrameworkStagePanel.scss +0 -42
- package/lib/cjs/appui-react/stagepanels/StagePanel.d.ts +0 -142
- package/lib/cjs/appui-react/stagepanels/StagePanel.d.ts.map +0 -1
- package/lib/cjs/appui-react/stagepanels/StagePanel.js +0 -155
- package/lib/cjs/appui-react/stagepanels/StagePanel.js.map +0 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelHeader.d.ts +0 -28
- package/lib/cjs/appui-react/stagepanels/StagePanelHeader.d.ts.map +0 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelHeader.js +0 -46
- package/lib/cjs/appui-react/stagepanels/StagePanelHeader.js.map +0 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelHeader.scss +0 -26
- package/lib/cjs/appui-react/stagepanels/StagePanelLocation.d.ts +0 -13
- package/lib/cjs/appui-react/stagepanels/StagePanelLocation.d.ts.map +0 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelLocation.js +0 -16
- package/lib/cjs/appui-react/stagepanels/StagePanelLocation.js.map +0 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelSection.d.ts +0 -13
- package/lib/cjs/appui-react/stagepanels/StagePanelSection.d.ts.map +0 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelSection.js +0 -16
- package/lib/cjs/appui-react/stagepanels/StagePanelSection.js.map +0 -1
- package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.d.ts +0 -11
- package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.d.ts.map +0 -1
- package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.js +0 -19
- package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.js.map +0 -1
- package/lib/cjs/appui-react/statusbar/withMessageCenterFieldProps.d.ts +0 -10
- package/lib/cjs/appui-react/statusbar/withMessageCenterFieldProps.d.ts.map +0 -1
- package/lib/cjs/appui-react/statusbar/withMessageCenterFieldProps.js +0 -26
- package/lib/cjs/appui-react/statusbar/withMessageCenterFieldProps.js.map +0 -1
- package/lib/cjs/appui-react/statusbar/withStatusFieldProps.d.ts +0 -11
- package/lib/cjs/appui-react/statusbar/withStatusFieldProps.d.ts.map +0 -1
- package/lib/cjs/appui-react/statusbar/withStatusFieldProps.js +0 -27
- package/lib/cjs/appui-react/statusbar/withStatusFieldProps.js.map +0 -1
- package/lib/cjs/appui-react/statusfields/ConditionalField.d.ts +0 -45
- package/lib/cjs/appui-react/statusfields/ConditionalField.d.ts.map +0 -1
- package/lib/cjs/appui-react/statusfields/ConditionalField.js +0 -57
- package/lib/cjs/appui-react/statusfields/ConditionalField.js.map +0 -1
- package/lib/cjs/appui-react/statusfields/FooterModeField.d.ts +0 -19
- package/lib/cjs/appui-react/statusfields/FooterModeField.d.ts.map +0 -1
- package/lib/cjs/appui-react/statusfields/FooterModeField.js +0 -28
- package/lib/cjs/appui-react/statusfields/FooterModeField.js.map +0 -1
- package/lib/cjs/appui-react/statusfields/Indicator.d.ts +0 -44
- package/lib/cjs/appui-react/statusfields/Indicator.d.ts.map +0 -1
- package/lib/cjs/appui-react/statusfields/Indicator.js +0 -46
- package/lib/cjs/appui-react/statusfields/Indicator.js.map +0 -1
- package/lib/cjs/appui-react/statusfields/Indicator.scss +0 -183
- package/lib/cjs/appui-react/statusfields/PromptField.d.ts +0 -31
- package/lib/cjs/appui-react/statusfields/PromptField.d.ts.map +0 -1
- package/lib/cjs/appui-react/statusfields/PromptField.js +0 -52
- package/lib/cjs/appui-react/statusfields/PromptField.js.map +0 -1
- package/lib/cjs/appui-react/statusfields/PromptField.scss +0 -42
- package/lib/cjs/appui-react/statusfields/StatusFieldProps.d.ts +0 -23
- package/lib/cjs/appui-react/statusfields/StatusFieldProps.d.ts.map +0 -1
- package/lib/cjs/appui-react/statusfields/StatusFieldProps.js +0 -3
- package/lib/cjs/appui-react/statusfields/StatusFieldProps.js.map +0 -1
- package/lib/cjs/appui-react/syncui/BooleanListener.d.ts +0 -44
- package/lib/cjs/appui-react/syncui/BooleanListener.d.ts.map +0 -1
- package/lib/cjs/appui-react/syncui/BooleanListener.js +0 -70
- package/lib/cjs/appui-react/syncui/BooleanListener.js.map +0 -1
- package/lib/cjs/appui-react/toolbar/ActionButtonItem.d.ts +0 -18
- package/lib/cjs/appui-react/toolbar/ActionButtonItem.d.ts.map +0 -1
- package/lib/cjs/appui-react/toolbar/ActionButtonItem.js +0 -31
- package/lib/cjs/appui-react/toolbar/ActionButtonItem.js.map +0 -1
- package/lib/cjs/appui-react/toolbar/ActionItemButton.d.ts +0 -40
- package/lib/cjs/appui-react/toolbar/ActionItemButton.d.ts.map +0 -1
- package/lib/cjs/appui-react/toolbar/ActionItemButton.js +0 -104
- package/lib/cjs/appui-react/toolbar/ActionItemButton.js.map +0 -1
- package/lib/cjs/appui-react/toolbar/GroupButtonItem.d.ts +0 -79
- package/lib/cjs/appui-react/toolbar/GroupButtonItem.d.ts.map +0 -1
- package/lib/cjs/appui-react/toolbar/GroupButtonItem.js +0 -329
- package/lib/cjs/appui-react/toolbar/GroupButtonItem.js.map +0 -1
- package/lib/cjs/appui-react/toolbar/PopupButton.d.ts +0 -58
- package/lib/cjs/appui-react/toolbar/PopupButton.d.ts.map +0 -1
- package/lib/cjs/appui-react/toolbar/PopupButton.js +0 -154
- package/lib/cjs/appui-react/toolbar/PopupButton.js.map +0 -1
- package/lib/cjs/appui-react/toolbar/PopupButton.scss +0 -9
- package/lib/cjs/appui-react/toolbar/ToolButton.d.ts +0 -31
- package/lib/cjs/appui-react/toolbar/ToolButton.d.ts.map +0 -1
- package/lib/cjs/appui-react/toolbar/ToolButton.js +0 -100
- package/lib/cjs/appui-react/toolbar/ToolButton.js.map +0 -1
- package/lib/cjs/appui-react/toolbar/Toolbar.d.ts +0 -55
- package/lib/cjs/appui-react/toolbar/Toolbar.d.ts.map +0 -1
- package/lib/cjs/appui-react/toolbar/Toolbar.js +0 -240
- package/lib/cjs/appui-react/toolbar/Toolbar.js.map +0 -1
- package/lib/cjs/appui-react/toolbar/ToolbarItem.d.ts +0 -53
- package/lib/cjs/appui-react/toolbar/ToolbarItem.d.ts.map +0 -1
- package/lib/cjs/appui-react/toolbar/ToolbarItem.js +0 -41
- package/lib/cjs/appui-react/toolbar/ToolbarItem.js.map +0 -1
- package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.d.ts +0 -14
- package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.d.ts.map +0 -1
- package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.js +0 -28
- package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.js.map +0 -1
- package/lib/cjs/appui-react/tools/MarkupToolDefinitions.d.ts +0 -22
- package/lib/cjs/appui-react/tools/MarkupToolDefinitions.d.ts.map +0 -1
- package/lib/cjs/appui-react/tools/MarkupToolDefinitions.js +0 -54
- package/lib/cjs/appui-react/tools/MarkupToolDefinitions.js.map +0 -1
- package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts +0 -11
- package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts.map +0 -1
- package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.js +0 -20
- package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.js.map +0 -1
- package/lib/cjs/appui-react/ui-items-provider/ProviderItem.d.ts +0 -9
- package/lib/cjs/appui-react/ui-items-provider/ProviderItem.d.ts.map +0 -1
- package/lib/cjs/appui-react/ui-items-provider/ProviderItem.js.map +0 -1
- package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.d.ts +0 -24
- package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.d.ts.map +0 -1
- package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js +0 -19
- package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js.map +0 -1
- package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.d.ts +0 -9
- package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.d.ts.map +0 -1
- package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.js +0 -10
- package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.js.map +0 -1
- package/lib/cjs/appui-react/uistate/UserSettingsStorage.d.ts +0 -15
- package/lib/cjs/appui-react/uistate/UserSettingsStorage.d.ts.map +0 -1
- package/lib/cjs/appui-react/uistate/UserSettingsStorage.js +0 -62
- package/lib/cjs/appui-react/uistate/UserSettingsStorage.js.map +0 -1
- package/lib/cjs/appui-react/widgets/DefaultNavigationWidget.d.ts +0 -35
- package/lib/cjs/appui-react/widgets/DefaultNavigationWidget.d.ts.map +0 -1
- package/lib/cjs/appui-react/widgets/DefaultNavigationWidget.js +0 -65
- package/lib/cjs/appui-react/widgets/DefaultNavigationWidget.js.map +0 -1
- package/lib/cjs/appui-react/widgets/NavigationWidget.d.ts +0 -56
- package/lib/cjs/appui-react/widgets/NavigationWidget.d.ts.map +0 -1
- package/lib/cjs/appui-react/widgets/NavigationWidget.js +0 -155
- package/lib/cjs/appui-react/widgets/NavigationWidget.js.map +0 -1
- package/lib/cjs/appui-react/widgets/ReviewToolWidget.d.ts +0 -33
- package/lib/cjs/appui-react/widgets/ReviewToolWidget.d.ts.map +0 -1
- package/lib/cjs/appui-react/widgets/ReviewToolWidget.js +0 -74
- package/lib/cjs/appui-react/widgets/ReviewToolWidget.js.map +0 -1
- package/lib/cjs/appui-react/widgets/ToolSettingsContent.scss +0 -61
- package/lib/cjs/appui-react/widgets/ToolWidget.d.ts +0 -47
- package/lib/cjs/appui-react/widgets/ToolWidget.d.ts.map +0 -1
- package/lib/cjs/appui-react/widgets/ToolWidget.js +0 -90
- package/lib/cjs/appui-react/widgets/ToolWidget.js.map +0 -1
- package/lib/cjs/appui-react/widgets/ToolbarWidgetBase.d.ts +0 -26
- package/lib/cjs/appui-react/widgets/ToolbarWidgetBase.d.ts.map +0 -1
- package/lib/cjs/appui-react/widgets/ToolbarWidgetBase.js +0 -55
- package/lib/cjs/appui-react/widgets/ToolbarWidgetBase.js.map +0 -1
- package/lib/cjs/appui-react/widgets/Widget.d.ts +0 -15
- package/lib/cjs/appui-react/widgets/Widget.d.ts.map +0 -1
- package/lib/cjs/appui-react/widgets/Widget.js +0 -26
- package/lib/cjs/appui-react/widgets/Widget.js.map +0 -1
- package/lib/cjs/appui-react/widgets/WidgetProps.d.ts +0 -33
- package/lib/cjs/appui-react/widgets/WidgetProps.d.ts.map +0 -1
- package/lib/cjs/appui-react/widgets/WidgetProps.js.map +0 -1
- package/lib/cjs/appui-react/widgets/WidgetStack.d.ts +0 -135
- package/lib/cjs/appui-react/widgets/WidgetStack.d.ts.map +0 -1
- package/lib/cjs/appui-react/widgets/WidgetStack.js +0 -138
- package/lib/cjs/appui-react/widgets/WidgetStack.js.map +0 -1
- package/lib/cjs/appui-react/widgets/WidgetState.d.ts +0 -13
- package/lib/cjs/appui-react/widgets/WidgetState.d.ts.map +0 -1
- package/lib/cjs/appui-react/widgets/WidgetState.js +0 -16
- package/lib/cjs/appui-react/widgets/WidgetState.js.map +0 -1
- package/lib/cjs/appui-react/workflow/Task.d.ts +0 -48
- package/lib/cjs/appui-react/workflow/Task.d.ts.map +0 -1
- package/lib/cjs/appui-react/workflow/Task.js +0 -73
- package/lib/cjs/appui-react/workflow/Task.js.map +0 -1
- package/lib/cjs/appui-react/workflow/Workflow.d.ts +0 -153
- package/lib/cjs/appui-react/workflow/Workflow.d.ts.map +0 -1
- package/lib/cjs/appui-react/workflow/Workflow.js +0 -238
- package/lib/cjs/appui-react/workflow/Workflow.js.map +0 -1
- package/lib/cjs/appui-react/zones/FrameworkZone.d.ts +0 -44
- package/lib/cjs/appui-react/zones/FrameworkZone.d.ts.map +0 -1
- package/lib/cjs/appui-react/zones/FrameworkZone.js +0 -53
- package/lib/cjs/appui-react/zones/FrameworkZone.js.map +0 -1
- package/lib/cjs/appui-react/zones/Outline.d.ts +0 -14
- package/lib/cjs/appui-react/zones/Outline.d.ts.map +0 -1
- package/lib/cjs/appui-react/zones/Outline.js +0 -22
- package/lib/cjs/appui-react/zones/Outline.js.map +0 -1
- package/lib/cjs/appui-react/zones/StatusBarZone.d.ts +0 -28
- package/lib/cjs/appui-react/zones/StatusBarZone.d.ts.map +0 -1
- package/lib/cjs/appui-react/zones/StatusBarZone.js +0 -33
- package/lib/cjs/appui-react/zones/StatusBarZone.js.map +0 -1
- package/lib/cjs/appui-react/zones/Zone.d.ts +0 -88
- package/lib/cjs/appui-react/zones/Zone.d.ts.map +0 -1
- package/lib/cjs/appui-react/zones/Zone.js +0 -158
- package/lib/cjs/appui-react/zones/Zone.js.map +0 -1
- package/lib/cjs/appui-react/zones/ZoneDef.d.ts +0 -57
- package/lib/cjs/appui-react/zones/ZoneDef.d.ts.map +0 -1
- package/lib/cjs/appui-react/zones/ZoneDef.js +0 -92
- package/lib/cjs/appui-react/zones/ZoneDef.js.map +0 -1
- package/lib/cjs/appui-react/zones/toolsettings/DefaultToolSettingsProvider.d.ts.map +0 -1
- package/lib/cjs/appui-react/zones/toolsettings/DefaultToolSettingsProvider.js.map +0 -1
- package/lib/cjs/appui-react/zones/toolsettings/ToolInformation.d.ts.map +0 -1
- package/lib/cjs/appui-react/zones/toolsettings/ToolInformation.js.map +0 -1
- package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsManager.d.ts.map +0 -1
- package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsManager.js.map +0 -1
- package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsZone.d.ts +0 -54
- package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsZone.d.ts.map +0 -1
- package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsZone.js +0 -96
- package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsZone.js.map +0 -1
- package/lib/cjs/appui-react/zones/toolsettings/ToolUiProvider.d.ts.map +0 -1
- package/lib/cjs/appui-react/zones/toolsettings/ToolUiProvider.js.map +0 -1
- package/lib/esm/appui-react/backstage/Backstage.d.ts +0 -62
- package/lib/esm/appui-react/backstage/Backstage.d.ts.map +0 -1
- package/lib/esm/appui-react/backstage/Backstage.js +0 -84
- package/lib/esm/appui-react/backstage/Backstage.js.map +0 -1
- package/lib/esm/appui-react/backstage/BackstageItem.d.ts +0 -43
- package/lib/esm/appui-react/backstage/BackstageItem.d.ts.map +0 -1
- package/lib/esm/appui-react/backstage/BackstageItem.js +0 -32
- package/lib/esm/appui-react/backstage/BackstageItem.js.map +0 -1
- package/lib/esm/appui-react/backstage/BackstageItemProps.d.ts +0 -49
- package/lib/esm/appui-react/backstage/BackstageItemProps.d.ts.map +0 -1
- package/lib/esm/appui-react/backstage/BackstageItemProps.js +0 -18
- package/lib/esm/appui-react/backstage/BackstageItemProps.js.map +0 -1
- package/lib/esm/appui-react/backstage/BackstageItemUtilities.d.ts +0 -19
- package/lib/esm/appui-react/backstage/BackstageItemUtilities.d.ts.map +0 -1
- package/lib/esm/appui-react/backstage/BackstageItemUtilities.js +0 -55
- package/lib/esm/appui-react/backstage/BackstageItemUtilities.js.map +0 -1
- package/lib/esm/appui-react/backstage/CommandLaunch.d.ts +0 -32
- package/lib/esm/appui-react/backstage/CommandLaunch.d.ts.map +0 -1
- package/lib/esm/appui-react/backstage/CommandLaunch.js +0 -83
- package/lib/esm/appui-react/backstage/CommandLaunch.js.map +0 -1
- package/lib/esm/appui-react/backstage/FrontstageLaunch.d.ts +0 -34
- package/lib/esm/appui-react/backstage/FrontstageLaunch.d.ts.map +0 -1
- package/lib/esm/appui-react/backstage/FrontstageLaunch.js +0 -89
- package/lib/esm/appui-react/backstage/FrontstageLaunch.js.map +0 -1
- package/lib/esm/appui-react/backstage/Separator.d.ts +0 -16
- package/lib/esm/appui-react/backstage/Separator.d.ts.map +0 -1
- package/lib/esm/appui-react/backstage/Separator.js +0 -24
- package/lib/esm/appui-react/backstage/Separator.js.map +0 -1
- package/lib/esm/appui-react/backstage/TaskLaunch.d.ts +0 -35
- package/lib/esm/appui-react/backstage/TaskLaunch.d.ts.map +0 -1
- package/lib/esm/appui-react/backstage/TaskLaunch.js +0 -97
- package/lib/esm/appui-react/backstage/TaskLaunch.js.map +0 -1
- package/lib/esm/appui-react/dragdrop/ZoneTargets.d.ts +0 -22
- package/lib/esm/appui-react/dragdrop/ZoneTargets.d.ts.map +0 -1
- package/lib/esm/appui-react/dragdrop/ZoneTargets.js +0 -29
- package/lib/esm/appui-react/dragdrop/ZoneTargets.js.map +0 -1
- package/lib/esm/appui-react/frontstage/Frontstage.d.ts +0 -159
- package/lib/esm/appui-react/frontstage/Frontstage.d.ts.map +0 -1
- package/lib/esm/appui-react/frontstage/Frontstage.js +0 -462
- package/lib/esm/appui-react/frontstage/Frontstage.js.map +0 -1
- package/lib/esm/appui-react/frontstage/FrontstageComposer.d.ts +0 -147
- package/lib/esm/appui-react/frontstage/FrontstageComposer.d.ts.map +0 -1
- package/lib/esm/appui-react/frontstage/FrontstageComposer.js +0 -662
- package/lib/esm/appui-react/frontstage/FrontstageComposer.js.map +0 -1
- package/lib/esm/appui-react/frontstage/StageUsage.d.ts +0 -15
- package/lib/esm/appui-react/frontstage/StageUsage.d.ts.map +0 -1
- package/lib/esm/appui-react/frontstage/StageUsage.js +0 -14
- package/lib/esm/appui-react/frontstage/StageUsage.js.map +0 -1
- package/lib/esm/appui-react/hooks/useFrameworkVersion.d.ts +0 -38
- package/lib/esm/appui-react/hooks/useFrameworkVersion.d.ts.map +0 -1
- package/lib/esm/appui-react/hooks/useFrameworkVersion.js +0 -51
- package/lib/esm/appui-react/hooks/useFrameworkVersion.js.map +0 -1
- package/lib/esm/appui-react/imodel-components/Common.d.ts +0 -26
- package/lib/esm/appui-react/imodel-components/Common.d.ts.map +0 -1
- package/lib/esm/appui-react/imodel-components/Common.js +0 -22
- package/lib/esm/appui-react/imodel-components/Common.js.map +0 -1
- package/lib/esm/appui-react/imodel-components/VisibilityTreeBase.scss +0 -53
- package/lib/esm/appui-react/imodel-components/VisibilityTreeEventHandler.d.ts +0 -72
- package/lib/esm/appui-react/imodel-components/VisibilityTreeEventHandler.d.ts.map +0 -1
- package/lib/esm/appui-react/imodel-components/VisibilityTreeEventHandler.js +0 -145
- package/lib/esm/appui-react/imodel-components/VisibilityTreeEventHandler.js.map +0 -1
- package/lib/esm/appui-react/imodel-components/VisibilityTreeRenderer.d.ts +0 -52
- package/lib/esm/appui-react/imodel-components/VisibilityTreeRenderer.d.ts.map +0 -1
- package/lib/esm/appui-react/imodel-components/VisibilityTreeRenderer.js +0 -63
- package/lib/esm/appui-react/imodel-components/VisibilityTreeRenderer.js.map +0 -1
- package/lib/esm/appui-react/imodel-components/category-tree/Categories.json +0 -102
- package/lib/esm/appui-react/imodel-components/category-tree/CategoriesTree.d.ts +0 -72
- package/lib/esm/appui-react/imodel-components/category-tree/CategoriesTree.d.ts.map +0 -1
- package/lib/esm/appui-react/imodel-components/category-tree/CategoriesTree.js +0 -103
- package/lib/esm/appui-react/imodel-components/category-tree/CategoriesTree.js.map +0 -1
- package/lib/esm/appui-react/imodel-components/category-tree/CategoriesTree.scss +0 -9
- package/lib/esm/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.d.ts +0 -64
- package/lib/esm/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.d.ts.map +0 -1
- package/lib/esm/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.js +0 -195
- package/lib/esm/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.js.map +0 -1
- package/lib/esm/appui-react/imodel-components/models-tree/Hierarchy.GroupedByClass.json +0 -392
- package/lib/esm/appui-react/imodel-components/models-tree/Hierarchy.json +0 -387
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsTree.d.ts +0 -85
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsTree.d.ts.map +0 -1
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsTree.js +0 -126
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsTree.js.map +0 -1
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsTree.scss +0 -9
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsTreeSearch.json +0 -239
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.d.ts +0 -104
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.d.ts.map +0 -1
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.js +0 -477
- package/lib/esm/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.js.map +0 -1
- package/lib/esm/appui-react/imodel-components/models-tree/Utils.d.ts +0 -10
- package/lib/esm/appui-react/imodel-components/models-tree/Utils.d.ts.map +0 -1
- package/lib/esm/appui-react/imodel-components/models-tree/Utils.js +0 -19
- package/lib/esm/appui-react/imodel-components/models-tree/Utils.js.map +0 -1
- package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialBreakdown.GroupedByClass.json +0 -79
- package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialBreakdown.json +0 -79
- package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.d.ts +0 -36
- package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.d.ts.map +0 -1
- package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.js +0 -40
- package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.js.map +0 -1
- package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.scss +0 -9
- package/lib/esm/appui-react/keyinbrowser/KeyinBrowser.d.ts +0 -80
- package/lib/esm/appui-react/keyinbrowser/KeyinBrowser.d.ts.map +0 -1
- package/lib/esm/appui-react/keyinbrowser/KeyinBrowser.js +0 -235
- package/lib/esm/appui-react/keyinbrowser/KeyinBrowser.js.map +0 -1
- package/lib/esm/appui-react/keyinbrowser/KeyinBrowser.scss +0 -11
- package/lib/esm/appui-react/messages/ActivityMessagePopup.d.ts +0 -20
- package/lib/esm/appui-react/messages/ActivityMessagePopup.d.ts.map +0 -1
- package/lib/esm/appui-react/messages/ActivityMessagePopup.js +0 -40
- package/lib/esm/appui-react/messages/ActivityMessagePopup.js.map +0 -1
- package/lib/esm/appui-react/messages/ActivityMessagePopup.scss +0 -15
- package/lib/esm/appui-react/messages/StatusMessageRenderer.d.ts +0 -22
- package/lib/esm/appui-react/messages/StatusMessageRenderer.d.ts.map +0 -1
- package/lib/esm/appui-react/messages/StatusMessageRenderer.js +0 -72
- package/lib/esm/appui-react/messages/StatusMessageRenderer.js.map +0 -1
- package/lib/esm/appui-react/messages/StatusMessageRenderer.scss +0 -28
- package/lib/esm/appui-react/messages/StatusMessagesContainer.d.ts +0 -25
- package/lib/esm/appui-react/messages/StatusMessagesContainer.d.ts.map +0 -1
- package/lib/esm/appui-react/messages/StatusMessagesContainer.js +0 -64
- package/lib/esm/appui-react/messages/StatusMessagesContainer.js.map +0 -1
- package/lib/esm/appui-react/messages/StatusMessagesContainer.scss +0 -53
- package/lib/esm/appui-react/messages/StickyMessage.d.ts +0 -23
- package/lib/esm/appui-react/messages/StickyMessage.d.ts.map +0 -1
- package/lib/esm/appui-react/messages/StickyMessage.js +0 -35
- package/lib/esm/appui-react/messages/StickyMessage.js.map +0 -1
- package/lib/esm/appui-react/messages/StickyMessage.scss +0 -22
- package/lib/esm/appui-react/messages/ToastMessage.d.ts +0 -23
- package/lib/esm/appui-react/messages/ToastMessage.d.ts.map +0 -1
- package/lib/esm/appui-react/messages/ToastMessage.js +0 -27
- package/lib/esm/appui-react/messages/ToastMessage.js.map +0 -1
- package/lib/esm/appui-react/selection/ClearEmphasisStatusField.d.ts +0 -18
- package/lib/esm/appui-react/selection/ClearEmphasisStatusField.d.ts.map +0 -1
- package/lib/esm/appui-react/selection/ClearEmphasisStatusField.js +0 -53
- package/lib/esm/appui-react/selection/ClearEmphasisStatusField.js.map +0 -1
- package/lib/esm/appui-react/stagepanels/FrameworkStagePanel.d.ts +0 -62
- package/lib/esm/appui-react/stagepanels/FrameworkStagePanel.d.ts.map +0 -1
- package/lib/esm/appui-react/stagepanels/FrameworkStagePanel.js +0 -117
- package/lib/esm/appui-react/stagepanels/FrameworkStagePanel.js.map +0 -1
- package/lib/esm/appui-react/stagepanels/FrameworkStagePanel.scss +0 -42
- package/lib/esm/appui-react/stagepanels/StagePanel.d.ts +0 -142
- package/lib/esm/appui-react/stagepanels/StagePanel.d.ts.map +0 -1
- package/lib/esm/appui-react/stagepanels/StagePanel.js +0 -149
- package/lib/esm/appui-react/stagepanels/StagePanel.js.map +0 -1
- package/lib/esm/appui-react/stagepanels/StagePanelHeader.d.ts +0 -28
- package/lib/esm/appui-react/stagepanels/StagePanelHeader.d.ts.map +0 -1
- package/lib/esm/appui-react/stagepanels/StagePanelHeader.js +0 -42
- package/lib/esm/appui-react/stagepanels/StagePanelHeader.js.map +0 -1
- package/lib/esm/appui-react/stagepanels/StagePanelHeader.scss +0 -26
- package/lib/esm/appui-react/stagepanels/StagePanelLocation.d.ts +0 -13
- package/lib/esm/appui-react/stagepanels/StagePanelLocation.d.ts.map +0 -1
- package/lib/esm/appui-react/stagepanels/StagePanelLocation.js +0 -13
- package/lib/esm/appui-react/stagepanels/StagePanelLocation.js.map +0 -1
- package/lib/esm/appui-react/stagepanels/StagePanelSection.d.ts +0 -13
- package/lib/esm/appui-react/stagepanels/StagePanelSection.d.ts.map +0 -1
- package/lib/esm/appui-react/stagepanels/StagePanelSection.js +0 -13
- package/lib/esm/appui-react/stagepanels/StagePanelSection.js.map +0 -1
- package/lib/esm/appui-react/statusbar/StatusBarItemsManager.d.ts +0 -11
- package/lib/esm/appui-react/statusbar/StatusBarItemsManager.d.ts.map +0 -1
- package/lib/esm/appui-react/statusbar/StatusBarItemsManager.js +0 -15
- package/lib/esm/appui-react/statusbar/StatusBarItemsManager.js.map +0 -1
- package/lib/esm/appui-react/statusbar/withMessageCenterFieldProps.d.ts +0 -10
- package/lib/esm/appui-react/statusbar/withMessageCenterFieldProps.d.ts.map +0 -1
- package/lib/esm/appui-react/statusbar/withMessageCenterFieldProps.js +0 -22
- package/lib/esm/appui-react/statusbar/withMessageCenterFieldProps.js.map +0 -1
- package/lib/esm/appui-react/statusbar/withStatusFieldProps.d.ts +0 -11
- package/lib/esm/appui-react/statusbar/withStatusFieldProps.d.ts.map +0 -1
- package/lib/esm/appui-react/statusbar/withStatusFieldProps.js +0 -23
- package/lib/esm/appui-react/statusbar/withStatusFieldProps.js.map +0 -1
- package/lib/esm/appui-react/statusfields/ConditionalField.d.ts +0 -45
- package/lib/esm/appui-react/statusfields/ConditionalField.d.ts.map +0 -1
- package/lib/esm/appui-react/statusfields/ConditionalField.js +0 -53
- package/lib/esm/appui-react/statusfields/ConditionalField.js.map +0 -1
- package/lib/esm/appui-react/statusfields/FooterModeField.d.ts +0 -19
- package/lib/esm/appui-react/statusfields/FooterModeField.d.ts.map +0 -1
- package/lib/esm/appui-react/statusfields/FooterModeField.js +0 -24
- package/lib/esm/appui-react/statusfields/FooterModeField.js.map +0 -1
- package/lib/esm/appui-react/statusfields/Indicator.d.ts +0 -44
- package/lib/esm/appui-react/statusfields/Indicator.d.ts.map +0 -1
- package/lib/esm/appui-react/statusfields/Indicator.js +0 -42
- package/lib/esm/appui-react/statusfields/Indicator.js.map +0 -1
- package/lib/esm/appui-react/statusfields/Indicator.scss +0 -183
- package/lib/esm/appui-react/statusfields/PromptField.d.ts +0 -31
- package/lib/esm/appui-react/statusfields/PromptField.d.ts.map +0 -1
- package/lib/esm/appui-react/statusfields/PromptField.js +0 -49
- package/lib/esm/appui-react/statusfields/PromptField.js.map +0 -1
- package/lib/esm/appui-react/statusfields/PromptField.scss +0 -42
- package/lib/esm/appui-react/statusfields/StatusFieldProps.d.ts +0 -23
- package/lib/esm/appui-react/statusfields/StatusFieldProps.d.ts.map +0 -1
- package/lib/esm/appui-react/statusfields/StatusFieldProps.js +0 -2
- package/lib/esm/appui-react/statusfields/StatusFieldProps.js.map +0 -1
- package/lib/esm/appui-react/syncui/BooleanListener.d.ts +0 -44
- package/lib/esm/appui-react/syncui/BooleanListener.d.ts.map +0 -1
- package/lib/esm/appui-react/syncui/BooleanListener.js +0 -66
- package/lib/esm/appui-react/syncui/BooleanListener.js.map +0 -1
- package/lib/esm/appui-react/toolbar/ActionButtonItem.d.ts +0 -18
- package/lib/esm/appui-react/toolbar/ActionButtonItem.d.ts.map +0 -1
- package/lib/esm/appui-react/toolbar/ActionButtonItem.js +0 -27
- package/lib/esm/appui-react/toolbar/ActionButtonItem.js.map +0 -1
- package/lib/esm/appui-react/toolbar/ActionItemButton.d.ts +0 -40
- package/lib/esm/appui-react/toolbar/ActionItemButton.d.ts.map +0 -1
- package/lib/esm/appui-react/toolbar/ActionItemButton.js +0 -100
- package/lib/esm/appui-react/toolbar/ActionItemButton.js.map +0 -1
- package/lib/esm/appui-react/toolbar/GroupButtonItem.d.ts +0 -79
- package/lib/esm/appui-react/toolbar/GroupButtonItem.d.ts.map +0 -1
- package/lib/esm/appui-react/toolbar/GroupButtonItem.js +0 -324
- package/lib/esm/appui-react/toolbar/GroupButtonItem.js.map +0 -1
- package/lib/esm/appui-react/toolbar/PopupButton.d.ts +0 -58
- package/lib/esm/appui-react/toolbar/PopupButton.d.ts.map +0 -1
- package/lib/esm/appui-react/toolbar/PopupButton.js +0 -150
- package/lib/esm/appui-react/toolbar/PopupButton.js.map +0 -1
- package/lib/esm/appui-react/toolbar/PopupButton.scss +0 -9
- package/lib/esm/appui-react/toolbar/ToolButton.d.ts +0 -31
- package/lib/esm/appui-react/toolbar/ToolButton.d.ts.map +0 -1
- package/lib/esm/appui-react/toolbar/ToolButton.js +0 -96
- package/lib/esm/appui-react/toolbar/ToolButton.js.map +0 -1
- package/lib/esm/appui-react/toolbar/Toolbar.d.ts +0 -55
- package/lib/esm/appui-react/toolbar/Toolbar.d.ts.map +0 -1
- package/lib/esm/appui-react/toolbar/Toolbar.js +0 -236
- package/lib/esm/appui-react/toolbar/Toolbar.js.map +0 -1
- package/lib/esm/appui-react/toolbar/ToolbarItem.d.ts +0 -53
- package/lib/esm/appui-react/toolbar/ToolbarItem.d.ts.map +0 -1
- package/lib/esm/appui-react/toolbar/ToolbarItem.js +0 -35
- package/lib/esm/appui-react/toolbar/ToolbarItem.js.map +0 -1
- package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.d.ts +0 -14
- package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.d.ts.map +0 -1
- package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.js +0 -25
- package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.js.map +0 -1
- package/lib/esm/appui-react/tools/MarkupToolDefinitions.d.ts +0 -22
- package/lib/esm/appui-react/tools/MarkupToolDefinitions.d.ts.map +0 -1
- package/lib/esm/appui-react/tools/MarkupToolDefinitions.js +0 -50
- package/lib/esm/appui-react/tools/MarkupToolDefinitions.js.map +0 -1
- package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts +0 -11
- package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts.map +0 -1
- package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.js +0 -16
- package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.js.map +0 -1
- package/lib/esm/appui-react/ui-items-provider/ProviderItem.d.ts +0 -9
- package/lib/esm/appui-react/ui-items-provider/ProviderItem.d.ts.map +0 -1
- package/lib/esm/appui-react/ui-items-provider/ProviderItem.js +0 -9
- package/lib/esm/appui-react/ui-items-provider/ProviderItem.js.map +0 -1
- package/lib/esm/appui-react/ui-items-provider/UiItemsManager.d.ts +0 -24
- package/lib/esm/appui-react/ui-items-provider/UiItemsManager.d.ts.map +0 -1
- package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js +0 -15
- package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js.map +0 -1
- package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.d.ts +0 -9
- package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.d.ts.map +0 -1
- package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.js +0 -9
- package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.js.map +0 -1
- package/lib/esm/appui-react/uistate/UserSettingsStorage.d.ts +0 -15
- package/lib/esm/appui-react/uistate/UserSettingsStorage.d.ts.map +0 -1
- package/lib/esm/appui-react/uistate/UserSettingsStorage.js +0 -58
- package/lib/esm/appui-react/uistate/UserSettingsStorage.js.map +0 -1
- package/lib/esm/appui-react/widgets/DefaultNavigationWidget.d.ts +0 -35
- package/lib/esm/appui-react/widgets/DefaultNavigationWidget.d.ts.map +0 -1
- package/lib/esm/appui-react/widgets/DefaultNavigationWidget.js +0 -61
- package/lib/esm/appui-react/widgets/DefaultNavigationWidget.js.map +0 -1
- package/lib/esm/appui-react/widgets/NavigationWidget.d.ts +0 -56
- package/lib/esm/appui-react/widgets/NavigationWidget.d.ts.map +0 -1
- package/lib/esm/appui-react/widgets/NavigationWidget.js +0 -150
- package/lib/esm/appui-react/widgets/NavigationWidget.js.map +0 -1
- package/lib/esm/appui-react/widgets/ReviewToolWidget.d.ts +0 -33
- package/lib/esm/appui-react/widgets/ReviewToolWidget.d.ts.map +0 -1
- package/lib/esm/appui-react/widgets/ReviewToolWidget.js +0 -70
- package/lib/esm/appui-react/widgets/ReviewToolWidget.js.map +0 -1
- package/lib/esm/appui-react/widgets/ToolSettingsContent.scss +0 -61
- package/lib/esm/appui-react/widgets/ToolWidget.d.ts +0 -47
- package/lib/esm/appui-react/widgets/ToolWidget.d.ts.map +0 -1
- package/lib/esm/appui-react/widgets/ToolWidget.js +0 -85
- package/lib/esm/appui-react/widgets/ToolWidget.js.map +0 -1
- package/lib/esm/appui-react/widgets/ToolbarWidgetBase.d.ts +0 -26
- package/lib/esm/appui-react/widgets/ToolbarWidgetBase.d.ts.map +0 -1
- package/lib/esm/appui-react/widgets/ToolbarWidgetBase.js +0 -51
- package/lib/esm/appui-react/widgets/ToolbarWidgetBase.js.map +0 -1
- package/lib/esm/appui-react/widgets/Widget.d.ts +0 -15
- package/lib/esm/appui-react/widgets/Widget.d.ts.map +0 -1
- package/lib/esm/appui-react/widgets/Widget.js +0 -22
- package/lib/esm/appui-react/widgets/Widget.js.map +0 -1
- package/lib/esm/appui-react/widgets/WidgetProps.d.ts +0 -33
- package/lib/esm/appui-react/widgets/WidgetProps.d.ts.map +0 -1
- package/lib/esm/appui-react/widgets/WidgetProps.js +0 -9
- package/lib/esm/appui-react/widgets/WidgetProps.js.map +0 -1
- package/lib/esm/appui-react/widgets/WidgetStack.d.ts +0 -135
- package/lib/esm/appui-react/widgets/WidgetStack.d.ts.map +0 -1
- package/lib/esm/appui-react/widgets/WidgetStack.js +0 -131
- package/lib/esm/appui-react/widgets/WidgetStack.js.map +0 -1
- package/lib/esm/appui-react/widgets/WidgetState.d.ts +0 -13
- package/lib/esm/appui-react/widgets/WidgetState.d.ts.map +0 -1
- package/lib/esm/appui-react/widgets/WidgetState.js +0 -13
- package/lib/esm/appui-react/widgets/WidgetState.js.map +0 -1
- package/lib/esm/appui-react/workflow/Task.d.ts +0 -48
- package/lib/esm/appui-react/workflow/Task.d.ts.map +0 -1
- package/lib/esm/appui-react/workflow/Task.js +0 -68
- package/lib/esm/appui-react/workflow/Task.js.map +0 -1
- package/lib/esm/appui-react/workflow/Workflow.d.ts +0 -153
- package/lib/esm/appui-react/workflow/Workflow.d.ts.map +0 -1
- package/lib/esm/appui-react/workflow/Workflow.js +0 -231
- package/lib/esm/appui-react/workflow/Workflow.js.map +0 -1
- package/lib/esm/appui-react/zones/FrameworkZone.d.ts +0 -44
- package/lib/esm/appui-react/zones/FrameworkZone.d.ts.map +0 -1
- package/lib/esm/appui-react/zones/FrameworkZone.js +0 -47
- package/lib/esm/appui-react/zones/FrameworkZone.js.map +0 -1
- package/lib/esm/appui-react/zones/Outline.d.ts +0 -14
- package/lib/esm/appui-react/zones/Outline.d.ts.map +0 -1
- package/lib/esm/appui-react/zones/Outline.js +0 -18
- package/lib/esm/appui-react/zones/Outline.js.map +0 -1
- package/lib/esm/appui-react/zones/StatusBarZone.d.ts +0 -28
- package/lib/esm/appui-react/zones/StatusBarZone.d.ts.map +0 -1
- package/lib/esm/appui-react/zones/StatusBarZone.js +0 -29
- package/lib/esm/appui-react/zones/StatusBarZone.js.map +0 -1
- package/lib/esm/appui-react/zones/Zone.d.ts +0 -88
- package/lib/esm/appui-react/zones/Zone.d.ts.map +0 -1
- package/lib/esm/appui-react/zones/Zone.js +0 -152
- package/lib/esm/appui-react/zones/Zone.js.map +0 -1
- package/lib/esm/appui-react/zones/ZoneDef.d.ts +0 -57
- package/lib/esm/appui-react/zones/ZoneDef.d.ts.map +0 -1
- package/lib/esm/appui-react/zones/ZoneDef.js +0 -88
- package/lib/esm/appui-react/zones/ZoneDef.js.map +0 -1
- package/lib/esm/appui-react/zones/toolsettings/DefaultToolSettingsProvider.d.ts.map +0 -1
- package/lib/esm/appui-react/zones/toolsettings/DefaultToolSettingsProvider.js.map +0 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolInformation.d.ts.map +0 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolInformation.js.map +0 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolSettingsManager.d.ts.map +0 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolSettingsManager.js.map +0 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolSettingsZone.d.ts +0 -54
- package/lib/esm/appui-react/zones/toolsettings/ToolSettingsZone.d.ts.map +0 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolSettingsZone.js +0 -92
- package/lib/esm/appui-react/zones/toolsettings/ToolSettingsZone.js.map +0 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolUiProvider.d.ts.map +0 -1
- package/lib/esm/appui-react/zones/toolsettings/ToolUiProvider.js.map +0 -1
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
/* eslint-disable deprecation/deprecation */
|
|
6
|
-
/** @packageDocumentation
|
|
7
|
-
* @module Zone
|
|
8
|
-
*/
|
|
9
|
-
import * as React from "react";
|
|
10
|
-
import { WidgetState } from "@itwin/appui-abstract";
|
|
11
|
-
import { ToolSettingsWidgetMode, } from "@itwin/appui-layout-react";
|
|
12
|
-
import { ConfigurableUiControlType } from "../configurableui/ConfigurableUiControl";
|
|
13
|
-
import { FrontstageManager } from "../frontstage/FrontstageManager";
|
|
14
|
-
import { WidgetDef, WidgetType } from "../widgets/WidgetDef";
|
|
15
|
-
import { FrameworkZone } from "./FrameworkZone";
|
|
16
|
-
import { StatusBarZone } from "./StatusBarZone";
|
|
17
|
-
import { ToolSettingsZone } from "./toolsettings/ToolSettingsZone";
|
|
18
|
-
/** Enum for [[Zone]] Location.
|
|
19
|
-
* @public @deprecated in 3.0.
|
|
20
|
-
*/
|
|
21
|
-
export var ZoneLocation;
|
|
22
|
-
(function (ZoneLocation) {
|
|
23
|
-
ZoneLocation[ZoneLocation["TopLeft"] = 1] = "TopLeft";
|
|
24
|
-
ZoneLocation[ZoneLocation["TopCenter"] = 2] = "TopCenter";
|
|
25
|
-
ZoneLocation[ZoneLocation["TopRight"] = 3] = "TopRight";
|
|
26
|
-
ZoneLocation[ZoneLocation["CenterLeft"] = 4] = "CenterLeft";
|
|
27
|
-
ZoneLocation[ZoneLocation["CenterRight"] = 6] = "CenterRight";
|
|
28
|
-
ZoneLocation[ZoneLocation["BottomLeft"] = 7] = "BottomLeft";
|
|
29
|
-
ZoneLocation[ZoneLocation["BottomCenter"] = 8] = "BottomCenter";
|
|
30
|
-
ZoneLocation[ZoneLocation["BottomRight"] = 9] = "BottomRight";
|
|
31
|
-
})(ZoneLocation || (ZoneLocation = {}));
|
|
32
|
-
/** @internal */
|
|
33
|
-
export function getStableWidgetProps(widgetProps, stableId) {
|
|
34
|
-
let props = widgetProps;
|
|
35
|
-
if (props.id === undefined)
|
|
36
|
-
props = {
|
|
37
|
-
...props,
|
|
38
|
-
id: stableId,
|
|
39
|
-
};
|
|
40
|
-
return props;
|
|
41
|
-
}
|
|
42
|
-
/** Zone React component.
|
|
43
|
-
* A Zone is a standard area on the screen for users to read and interact with data applicable to the current task. Each Zone has a defined purpose.
|
|
44
|
-
* @deprecated in 3.6. Use [[WidgetConfig]] or [[StagePanelConfig]] instead.
|
|
45
|
-
* @public
|
|
46
|
-
*/
|
|
47
|
-
export class Zone extends React.Component {
|
|
48
|
-
constructor(props) {
|
|
49
|
-
super(props);
|
|
50
|
-
this._handleWidgetStateChangedEvent = (args) => {
|
|
51
|
-
const runtimeProps = this.props.runtimeProps;
|
|
52
|
-
if (!runtimeProps)
|
|
53
|
-
return;
|
|
54
|
-
const widgetDef = args.widgetDef;
|
|
55
|
-
const id = this.getWidgetIdForDef(widgetDef);
|
|
56
|
-
if (!id)
|
|
57
|
-
return;
|
|
58
|
-
const zoneDef = runtimeProps.zoneDefProvider.getZoneDef(id);
|
|
59
|
-
// istanbul ignore if
|
|
60
|
-
if (!zoneDef)
|
|
61
|
-
return;
|
|
62
|
-
const visibleWidgets = zoneDef.widgetDefs.filter((wd) => wd.isVisible || wd === widgetDef);
|
|
63
|
-
for (let index = 0; index < visibleWidgets.length; index++) {
|
|
64
|
-
const wDef = visibleWidgets[index];
|
|
65
|
-
if (wDef !== widgetDef)
|
|
66
|
-
continue;
|
|
67
|
-
if (widgetDef.state === WidgetState.Hidden && index < runtimeProps.activeTabIndex && id === runtimeProps.openWidgetId) {
|
|
68
|
-
// Need to decrease active tab index, since removed tab was rendered before active tab and we want to maintain active tab.
|
|
69
|
-
runtimeProps.widgetChangeHandler.handleTabClick(id, runtimeProps.activeTabIndex - 1);
|
|
70
|
-
break;
|
|
71
|
-
}
|
|
72
|
-
runtimeProps.widgetChangeHandler.handleWidgetStateChange(id, index, widgetDef.state === WidgetState.Open);
|
|
73
|
-
break;
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
static initializeZoneDef(zoneDef, props) {
|
|
78
|
-
zoneDef.initializeFromProps(props);
|
|
79
|
-
// istanbul ignore else
|
|
80
|
-
if (props.widgets) {
|
|
81
|
-
props.widgets.forEach((widgetNode, index) => {
|
|
82
|
-
// istanbul ignore if
|
|
83
|
-
if (!React.isValidElement(widgetNode))
|
|
84
|
-
return;
|
|
85
|
-
const stableId = `uifw-z-${ZoneLocation[zoneDef.zoneLocation]}-${index}`;
|
|
86
|
-
const stableProps = getStableWidgetProps(widgetNode.props, stableId);
|
|
87
|
-
const widgetDef = new WidgetDef(stableProps);
|
|
88
|
-
zoneDef.addWidgetDef(widgetDef);
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
componentDidMount() {
|
|
93
|
-
FrontstageManager.onWidgetStateChangedEvent.addListener(this._handleWidgetStateChangedEvent);
|
|
94
|
-
}
|
|
95
|
-
componentWillUnmount() {
|
|
96
|
-
FrontstageManager.onWidgetStateChangedEvent.removeListener(this._handleWidgetStateChangedEvent);
|
|
97
|
-
}
|
|
98
|
-
render() {
|
|
99
|
-
const { runtimeProps } = this.props;
|
|
100
|
-
if (!runtimeProps)
|
|
101
|
-
return null;
|
|
102
|
-
const { zoneDef } = runtimeProps;
|
|
103
|
-
let widgetElement;
|
|
104
|
-
// istanbul ignore else
|
|
105
|
-
if (runtimeProps.zone.widgets.length === 1) {
|
|
106
|
-
if (zoneDef.isToolSettings && isToolSettingsWidgetManagerProps(runtimeProps.widget) && runtimeProps.widget.mode === ToolSettingsWidgetMode.TitleBar) {
|
|
107
|
-
const widgetDef = zoneDef.getSingleWidgetDef();
|
|
108
|
-
const isClosed = widgetDef ? (widgetDef.state === WidgetState.Closed || widgetDef.state === WidgetState.Hidden)
|
|
109
|
-
: /* istanbul ignore next */ false;
|
|
110
|
-
return (React.createElement(ToolSettingsZone, { className: this.props.className, dropTarget: runtimeProps.dropTarget, getWidgetContentRef: runtimeProps.getWidgetContentRef, isClosed: isClosed, isHidden: runtimeProps.isHidden, lastPosition: runtimeProps.draggedWidget && /* istanbul ignore next */ runtimeProps.draggedWidget.lastPosition, style: this.props.style, targetChangeHandler: runtimeProps.targetChangeHandler, targetedBounds: runtimeProps.ghostOutline, widgetChangeHandler: runtimeProps.widgetChangeHandler, zone: runtimeProps.zone }));
|
|
111
|
-
}
|
|
112
|
-
else if (zoneDef.isStatusBar) {
|
|
113
|
-
// istanbul ignore next
|
|
114
|
-
if (runtimeProps.zone.id !== 8)
|
|
115
|
-
throw new TypeError();
|
|
116
|
-
let widgetControl;
|
|
117
|
-
const widgetDef = zoneDef.getSingleWidgetDef();
|
|
118
|
-
// istanbul ignore else
|
|
119
|
-
if (widgetDef)
|
|
120
|
-
widgetControl = widgetDef.getWidgetControl(ConfigurableUiControlType.StatusBarWidget);
|
|
121
|
-
return (React.createElement(StatusBarZone, { className: this.props.className, dropTarget: runtimeProps.dropTarget, isHidden: runtimeProps.isHidden, isInFooterMode: runtimeProps.isInFooterMode, style: this.props.style, targetChangeHandler: runtimeProps.targetChangeHandler, targetedBounds: runtimeProps.ghostOutline, widgetChangeHandler: runtimeProps.widgetChangeHandler, widgetControl: widgetControl, zoneProps: runtimeProps.zone }));
|
|
122
|
-
}
|
|
123
|
-
const zDef = runtimeProps.zoneDefProvider.getZoneDef(runtimeProps.zone.widgets[0]);
|
|
124
|
-
// istanbul ignore if
|
|
125
|
-
if (!zDef) {
|
|
126
|
-
widgetElement = null;
|
|
127
|
-
}
|
|
128
|
-
else if (zDef.widgetCount === 1 && zDef.widgetDefs[0].widgetType !== WidgetType.Rectangular) {
|
|
129
|
-
/** Return free-form nzWidgetProps */
|
|
130
|
-
const widgetDef = zDef.widgetDefs[0];
|
|
131
|
-
widgetElement = (widgetDef.isVisible) ? widgetDef.reactNode : /* istanbul ignore next */ null;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
return (React.createElement(FrameworkZone, { activeTabIndex: runtimeProps.activeTabIndex, className: this.props.className, disabledResizeHandles: runtimeProps.disabledResizeHandles, draggedWidget: runtimeProps.draggedWidget, dropTarget: runtimeProps.dropTarget, fillZone: zoneDef.shouldFillZone, getWidgetContentRef: runtimeProps.getWidgetContentRef, isHidden: runtimeProps.isHidden, isInFooterMode: runtimeProps.isInFooterMode, openWidgetId: runtimeProps.openWidgetId, style: this.props.style, targetedBounds: runtimeProps.ghostOutline, targetChangeHandler: runtimeProps.targetChangeHandler, widget: runtimeProps.widget, widgetElement: widgetElement, widgetTabs: runtimeProps.widgetTabs, widgetChangeHandler: runtimeProps.widgetChangeHandler, zone: runtimeProps.zone }));
|
|
135
|
-
}
|
|
136
|
-
getWidgetIdForDef(widgetDef) {
|
|
137
|
-
// istanbul ignore if
|
|
138
|
-
if (!this.props.runtimeProps)
|
|
139
|
-
return undefined;
|
|
140
|
-
for (const wId of this.props.runtimeProps.zone.widgets) {
|
|
141
|
-
const zoneDef = this.props.runtimeProps.zoneDefProvider.getZoneDef(wId);
|
|
142
|
-
if (zoneDef && zoneDef.widgetDefs.some((wDef) => wDef === widgetDef))
|
|
143
|
-
return wId;
|
|
144
|
-
}
|
|
145
|
-
return undefined;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
/** @internal */
|
|
149
|
-
export const isToolSettingsWidgetManagerProps = (props) => {
|
|
150
|
-
return !!props && props.id === 2;
|
|
151
|
-
};
|
|
152
|
-
//# sourceMappingURL=Zone.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Zone.js","sourceRoot":"","sources":["../../../../src/appui-react/zones/Zone.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,4CAA4C;AAC5C;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,OAAO,EAC6E,sBAAsB,GAEzG,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAEpF,OAAO,EAAE,iBAAiB,EAAE,MAA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AAE,YAAY,CAAC,mBAAmB,EACrD,IAAI,EAAE,YAAY,CAAC,IAAI,GACvB,CACH,CAAC;IACJ,CAAC;IAiCO,iBAAiB,CAAC,SAAoB;QAC5C,qBAAqB;QACrB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,YAAY;YAC1B,OAAO,SAAS,CAAC;QAEnB,KAAK,MAAM,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,EAAE;YACtD,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,eAAe,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;YACxE,IAAI,OAAO,IAAI,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,IAAe,EAAE,EAAE,CAAC,IAAI,KAAK,SAAS,CAAC;gBAC7E,OAAO,GAAG,CAAC;SACd;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;CACF;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,KAAqC,EAA2C,EAAE;IACjI,OAAO,CAAC,CAAC,KAAK,IAAI,KAAK,CAAC,EAAE,KAAK,CAAC,CAAC;AACnC,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/* eslint-disable deprecation/deprecation */\r\n/** @packageDocumentation\r\n * @module Zone\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { WidgetState } from \"@itwin/appui-abstract\";\r\nimport { CommonProps, RectangleProps } from \"@itwin/core-react\";\r\nimport {\r\n DisabledResizeHandles, DraggedWidgetManagerProps, ToolSettingsWidgetManagerProps, ToolSettingsWidgetMode, WidgetManagerProps, WidgetZoneId,\r\n ZoneManagerProps, ZoneTargetType,\r\n} from \"@itwin/appui-layout-react\";\r\nimport { ConfigurableUiControlType } from \"../configurableui/ConfigurableUiControl\";\r\nimport { TargetChangeHandler, WidgetChangeHandler, ZoneDefProvider } from \"../frontstage/FrontstageComposer\";\r\nimport { FrontstageManager } from \"../frontstage/FrontstageManager\";\r\nimport { StatusBarWidgetControl } from \"../statusbar/StatusBarWidgetControl\";\r\nimport { WidgetDef, WidgetStateChangedEventArgs, WidgetType } from \"../widgets/WidgetDef\";\r\nimport { WidgetProps } from \"../widgets/WidgetProps\";\r\nimport { WidgetTabs } from \"../widgets/WidgetStack\";\r\nimport { FrameworkZone } from \"./FrameworkZone\";\r\nimport { StatusBarZone } from \"./StatusBarZone\";\r\nimport { ToolSettingsZone } from \"./toolsettings/ToolSettingsZone\";\r\nimport { ZoneDef, ZoneState } from \"./ZoneDef\";\r\n\r\n/** Enum for [[Zone]] Location.\r\n * @public @deprecated in 3.0.\r\n */\r\nexport enum ZoneLocation {\r\n TopLeft = 1,\r\n TopCenter = 2,\r\n TopRight = 3,\r\n CenterLeft = 4,\r\n CenterRight = 6,\r\n BottomLeft = 7,\r\n BottomCenter = 8,\r\n BottomRight = 9,\r\n}\r\n\r\n/** Properties of a [[Zone]] component\r\n * @deprecated in 3.5. Props of a deprecated component.\r\n * @public\r\n */\r\nexport interface ZoneProps extends CommonProps {\r\n /** Default Zone state. Controls how the Zone is initially displayed. Defaults to ZoneState.Open. */\r\n defaultState?: ZoneState;\r\n /** Indicates if other Zones may be merged with this Zone. Defaults to false. */\r\n allowsMerging?: boolean;\r\n /** Any application data to attach to this Zone. */\r\n applicationData?: any;\r\n /** Indicates with which other zone to merge. */\r\n mergeWithZone?: ZoneLocation;\r\n /** Describes preferred initial width of the zone. */\r\n initialWidth?: number;\r\n\r\n /** Properties for the Widgets in this Zone.\r\n * @note Stable `WidgetProps[\"id\"]` is generated if id is not provided to correctly save and restore App layout.\r\n * [[Frontstage]] version must be increased when Widget location is changed or new widgets are added/removed.\r\n */\r\n widgets?: Array<React.ReactElement<WidgetProps>>;\r\n\r\n /** @internal */\r\n runtimeProps?: ZoneRuntimeProps;\r\n}\r\n\r\n/** Runtime Properties for the [[Zone]] component.\r\n * @internal\r\n */\r\nexport interface ZoneRuntimeProps {\r\n activeTabIndex: number;\r\n disabledResizeHandles: DisabledResizeHandles | undefined;\r\n draggedWidget: DraggedWidgetManagerProps | undefined;\r\n dropTarget: ZoneTargetType | undefined; // eslint-disable-line deprecation/deprecation\r\n getWidgetContentRef: (id: WidgetZoneId) => React.Ref<HTMLDivElement>; // eslint-disable-line deprecation/deprecation\r\n ghostOutline: RectangleProps | undefined;\r\n isHidden: boolean;\r\n isInFooterMode: boolean;\r\n openWidgetId: WidgetZoneId | undefined; // eslint-disable-line deprecation/deprecation\r\n targetChangeHandler: TargetChangeHandler; // eslint-disable-line deprecation/deprecation\r\n widget: WidgetManagerProps | undefined;\r\n widgetTabs: WidgetTabs;\r\n widgetChangeHandler: WidgetChangeHandler; // eslint-disable-line deprecation/deprecation\r\n zoneDefProvider: ZoneDefProvider;\r\n zoneDef: ZoneDef;\r\n zone: ZoneManagerProps;\r\n}\r\n\r\n/** @internal */\r\nexport function getStableWidgetProps<T extends { id?: string }>(widgetProps: T, stableId: string) {\r\n let props = widgetProps;\r\n if (props.id === undefined)\r\n props = {\r\n ...props,\r\n id: stableId,\r\n };\r\n return props;\r\n}\r\n\r\n/** Zone React component.\r\n * A Zone is a standard area on the screen for users to read and interact with data applicable to the current task. Each Zone has a defined purpose.\r\n * @deprecated in 3.6. Use [[WidgetConfig]] or [[StagePanelConfig]] instead.\r\n * @public\r\n */\r\nexport class Zone extends React.Component<ZoneProps> {\r\n constructor(props: ZoneProps) {\r\n super(props);\r\n }\r\n\r\n public static initializeZoneDef(zoneDef: ZoneDef, props: ZoneProps): void {\r\n zoneDef.initializeFromProps(props);\r\n\r\n // istanbul ignore else\r\n if (props.widgets) {\r\n props.widgets.forEach((widgetNode, index) => {\r\n // istanbul ignore if\r\n if (!React.isValidElement(widgetNode))\r\n return;\r\n\r\n const stableId = `uifw-z-${ZoneLocation[zoneDef.zoneLocation]}-${index}`;\r\n const stableProps = getStableWidgetProps(widgetNode.props, stableId);\r\n const widgetDef = new WidgetDef(stableProps);\r\n zoneDef.addWidgetDef(widgetDef);\r\n });\r\n }\r\n }\r\n\r\n public override componentDidMount(): void {\r\n FrontstageManager.onWidgetStateChangedEvent.addListener(this._handleWidgetStateChangedEvent);\r\n }\r\n\r\n public override componentWillUnmount(): void {\r\n FrontstageManager.onWidgetStateChangedEvent.removeListener(this._handleWidgetStateChangedEvent);\r\n }\r\n\r\n public override render(): React.ReactNode {\r\n const { runtimeProps } = this.props;\r\n\r\n if (!runtimeProps)\r\n return null;\r\n\r\n const { zoneDef } = runtimeProps;\r\n\r\n let widgetElement: React.ReactNode;\r\n // istanbul ignore else\r\n if (runtimeProps.zone.widgets.length === 1) {\r\n if (zoneDef.isToolSettings && isToolSettingsWidgetManagerProps(runtimeProps.widget) && runtimeProps.widget.mode === ToolSettingsWidgetMode.TitleBar) {\r\n const widgetDef = zoneDef.getSingleWidgetDef();\r\n const isClosed = widgetDef ? (widgetDef.state === WidgetState.Closed || widgetDef.state === WidgetState.Hidden)\r\n : /* istanbul ignore next */ false;\r\n return (\r\n <ToolSettingsZone\r\n className={this.props.className}\r\n dropTarget={runtimeProps.dropTarget}\r\n getWidgetContentRef={runtimeProps.getWidgetContentRef}\r\n isClosed={isClosed}\r\n isHidden={runtimeProps.isHidden}\r\n lastPosition={runtimeProps.draggedWidget && /* istanbul ignore next */ runtimeProps.draggedWidget.lastPosition}\r\n style={this.props.style}\r\n targetChangeHandler={runtimeProps.targetChangeHandler}\r\n targetedBounds={runtimeProps.ghostOutline}\r\n widgetChangeHandler={runtimeProps.widgetChangeHandler}\r\n zone={runtimeProps.zone}\r\n />\r\n );\r\n } else if (zoneDef.isStatusBar) {\r\n // istanbul ignore next\r\n if (runtimeProps.zone.id !== 8)\r\n throw new TypeError();\r\n\r\n let widgetControl: StatusBarWidgetControl | undefined;\r\n const widgetDef = zoneDef.getSingleWidgetDef();\r\n\r\n // istanbul ignore else\r\n if (widgetDef)\r\n widgetControl = widgetDef.getWidgetControl(ConfigurableUiControlType.StatusBarWidget) as StatusBarWidgetControl;\r\n\r\n return (\r\n <StatusBarZone\r\n className={this.props.className}\r\n dropTarget={runtimeProps.dropTarget}\r\n isHidden={runtimeProps.isHidden}\r\n isInFooterMode={runtimeProps.isInFooterMode}\r\n style={this.props.style}\r\n targetChangeHandler={runtimeProps.targetChangeHandler}\r\n targetedBounds={runtimeProps.ghostOutline}\r\n widgetChangeHandler={runtimeProps.widgetChangeHandler}\r\n widgetControl={widgetControl}\r\n zoneProps={runtimeProps.zone}\r\n />\r\n );\r\n }\r\n\r\n const zDef = runtimeProps.zoneDefProvider.getZoneDef(runtimeProps.zone.widgets[0]);\r\n // istanbul ignore if\r\n if (!zDef) {\r\n widgetElement = null;\r\n } else if (zDef.widgetCount === 1 && zDef.widgetDefs[0].widgetType !== WidgetType.Rectangular) {\r\n /** Return free-form nzWidgetProps */\r\n const widgetDef = zDef.widgetDefs[0];\r\n widgetElement = (widgetDef.isVisible) ? widgetDef.reactNode : /* istanbul ignore next */ null;\r\n }\r\n }\r\n\r\n return (\r\n <FrameworkZone\r\n activeTabIndex={runtimeProps.activeTabIndex}\r\n className={this.props.className}\r\n disabledResizeHandles={runtimeProps.disabledResizeHandles}\r\n draggedWidget={runtimeProps.draggedWidget}\r\n dropTarget={runtimeProps.dropTarget}\r\n fillZone={zoneDef.shouldFillZone}\r\n getWidgetContentRef={runtimeProps.getWidgetContentRef}\r\n isHidden={runtimeProps.isHidden}\r\n isInFooterMode={runtimeProps.isInFooterMode}\r\n openWidgetId={runtimeProps.openWidgetId}\r\n style={this.props.style}\r\n targetedBounds={runtimeProps.ghostOutline}\r\n targetChangeHandler={runtimeProps.targetChangeHandler}\r\n widget={runtimeProps.widget}\r\n widgetElement={widgetElement}\r\n widgetTabs={runtimeProps.widgetTabs}\r\n widgetChangeHandler={runtimeProps.widgetChangeHandler}\r\n zone={runtimeProps.zone}\r\n />\r\n );\r\n }\r\n\r\n private _handleWidgetStateChangedEvent = (args: WidgetStateChangedEventArgs) => {\r\n const runtimeProps = this.props.runtimeProps;\r\n if (!runtimeProps)\r\n return;\r\n\r\n const widgetDef = args.widgetDef;\r\n const id = this.getWidgetIdForDef(widgetDef);\r\n if (!id)\r\n return;\r\n\r\n const zoneDef = runtimeProps.zoneDefProvider.getZoneDef(id);\r\n // istanbul ignore if\r\n if (!zoneDef)\r\n return;\r\n\r\n const visibleWidgets = zoneDef.widgetDefs.filter((wd) => wd.isVisible || wd === widgetDef);\r\n for (let index = 0; index < visibleWidgets.length; index++) {\r\n const wDef = visibleWidgets[index];\r\n if (wDef !== widgetDef)\r\n continue;\r\n\r\n if (widgetDef.state === WidgetState.Hidden && index < runtimeProps.activeTabIndex && id === runtimeProps.openWidgetId) {\r\n // Need to decrease active tab index, since removed tab was rendered before active tab and we want to maintain active tab.\r\n runtimeProps.widgetChangeHandler.handleTabClick(id, runtimeProps.activeTabIndex - 1);\r\n break;\r\n }\r\n runtimeProps.widgetChangeHandler.handleWidgetStateChange(id, index, widgetDef.state === WidgetState.Open);\r\n break;\r\n }\r\n };\r\n\r\n private getWidgetIdForDef(widgetDef: WidgetDef): WidgetZoneId | undefined { // eslint-disable-line deprecation/deprecation\r\n // istanbul ignore if\r\n if (!this.props.runtimeProps)\r\n return undefined;\r\n\r\n for (const wId of this.props.runtimeProps.zone.widgets) {\r\n const zoneDef = this.props.runtimeProps.zoneDefProvider.getZoneDef(wId);\r\n if (zoneDef && zoneDef.widgetDefs.some((wDef: WidgetDef) => wDef === widgetDef))\r\n return wId;\r\n }\r\n\r\n return undefined;\r\n }\r\n}\r\n\r\n/** @internal */\r\nexport const isToolSettingsWidgetManagerProps = (props: WidgetManagerProps | undefined): props is ToolSettingsWidgetManagerProps => {\r\n return !!props && props.id === 2;\r\n};\r\n"]}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module Zone
|
|
3
|
-
*/
|
|
4
|
-
import { WidgetHost } from "../widgets/WidgetHost";
|
|
5
|
-
import { ZoneLocation, ZoneProps } from "./Zone";
|
|
6
|
-
/** Zone State enum.
|
|
7
|
-
* @public @deprecated in 3.0.
|
|
8
|
-
*/
|
|
9
|
-
export declare enum ZoneState {
|
|
10
|
-
Off = 0,
|
|
11
|
-
Minimized = 1,
|
|
12
|
-
Open = 2,
|
|
13
|
-
Popup = 3,
|
|
14
|
-
Floating = 4
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* A ZoneDef represents each zone within a Frontstage.
|
|
18
|
-
* @deprecated in 3.6. Use [[StagePanelDef]] or [[WidgetDef]] instead.
|
|
19
|
-
* @public
|
|
20
|
-
*/
|
|
21
|
-
export declare class ZoneDef extends WidgetHost {
|
|
22
|
-
private _initialWidth;
|
|
23
|
-
private _zoneState;
|
|
24
|
-
private _allowsMerging;
|
|
25
|
-
private _applicationData?;
|
|
26
|
-
private _mergeWithZone?;
|
|
27
|
-
private _zoneLocation;
|
|
28
|
-
/** Zone state. Defaults to ZoneState.Open. @deprecated in 3.0. */
|
|
29
|
-
get zoneState(): ZoneState;
|
|
30
|
-
/** Indicates if other Zones may be merged with this Zone. Defaults to false. @deprecated in 3.0. */
|
|
31
|
-
get allowsMerging(): boolean;
|
|
32
|
-
/** Any application data to attach to this Zone. */
|
|
33
|
-
get applicationData(): any | undefined;
|
|
34
|
-
/** Indicates with which other zone to merge. @deprecated in 3.0. */
|
|
35
|
-
get mergeWithZone(): ZoneLocation | undefined;
|
|
36
|
-
/** The Zone's location.
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
|
-
get zoneLocation(): ZoneLocation;
|
|
40
|
-
set zoneLocation(zoneLocation: ZoneLocation);
|
|
41
|
-
/** Initial zone width. */
|
|
42
|
-
get initialWidth(): number | undefined;
|
|
43
|
-
/** Constructor for ZoneDef.
|
|
44
|
-
*/
|
|
45
|
-
constructor();
|
|
46
|
-
/** Determines if this Zone is for Tool Settings. */
|
|
47
|
-
get isToolSettings(): boolean;
|
|
48
|
-
/** Determines if this Zone is for the Status Bar. */
|
|
49
|
-
get isStatusBar(): boolean;
|
|
50
|
-
/** Determines if the Zone should fill the available space. */
|
|
51
|
-
get shouldFillZone(): boolean;
|
|
52
|
-
/** @internal */
|
|
53
|
-
setInitialWidth(width: number | undefined): void;
|
|
54
|
-
/** @internal */
|
|
55
|
-
initializeFromProps(props: ZoneProps): void;
|
|
56
|
-
}
|
|
57
|
-
//# sourceMappingURL=ZoneDef.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ZoneDef.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/zones/ZoneDef.ts"],"names":[],"mappings":"AAKA;;GAEG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD;;GAEG;AACH,oBAAY,SAAS;IACnB,GAAG,IAAA;IACH,SAAS,IAAA;IACT,IAAI,IAAA;IACJ,KAAK,IAAA;IACL,QAAQ,IAAA;CACT;AAED;;;;GAIG;AACH,qBAAa,OAAQ,SAAQ,UAAU;IACrC,OAAO,CAAC,aAAa,CAAiC;IACtD,OAAO,CAAC,UAAU,CAA6B;IAC/C,OAAO,CAAC,cAAc,CAAkB;IACxC,OAAO,CAAC,gBAAgB,CAAC,CAAM;IAC/B,OAAO,CAAC,cAAc,CAAC,CAAe;IACtC,OAAO,CAAC,aAAa,CAAsC;IAE3D,mEAAmE;IACnE,IAAW,SAAS,IAAI,SAAS,CAA4B;IAC7D,oGAAoG;IACpG,IAAW,aAAa,IAAI,OAAO,CAAgC;IACnE,mDAAmD;IACnD,IAAW,eAAe,IAAI,GAAG,GAAG,SAAS,CAAkC;IAC/E,oEAAoE;IACpE,IAAW,aAAa,IAAI,YAAY,GAAG,SAAS,CAAgC;IAEpF;;OAEG;IACH,IAAW,YAAY,IAAI,YAAY,CAA+B;IACtE,IAAW,YAAY,CAAC,YAAY,EAAE,YAAY,EAAwC;IAE1F,0BAA0B;IAC1B,IAAW,YAAY,IAAI,MAAM,GAAG,SAAS,CAE5C;IAED;OACG;;IAKH,oDAAoD;IACpD,IAAW,cAAc,IAAI,OAAO,CAKnC;IAED,qDAAqD;IACrD,IAAW,WAAW,IAAI,OAAO,CAKhC;IAED,8DAA8D;IAC9D,IAAW,cAAc,IAAI,OAAO,CAEnC;IAED,gBAAgB;IACT,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS;IAIhD,gBAAgB;IACT,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;CAUnD"}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
/* eslint-disable deprecation/deprecation */
|
|
6
|
-
/** @packageDocumentation
|
|
7
|
-
* @module Zone
|
|
8
|
-
*/
|
|
9
|
-
import { WidgetHost } from "../widgets/WidgetHost";
|
|
10
|
-
import { ZoneLocation } from "./Zone";
|
|
11
|
-
/** Zone State enum.
|
|
12
|
-
* @public @deprecated in 3.0.
|
|
13
|
-
*/
|
|
14
|
-
export var ZoneState;
|
|
15
|
-
(function (ZoneState) {
|
|
16
|
-
ZoneState[ZoneState["Off"] = 0] = "Off";
|
|
17
|
-
ZoneState[ZoneState["Minimized"] = 1] = "Minimized";
|
|
18
|
-
ZoneState[ZoneState["Open"] = 2] = "Open";
|
|
19
|
-
ZoneState[ZoneState["Popup"] = 3] = "Popup";
|
|
20
|
-
ZoneState[ZoneState["Floating"] = 4] = "Floating";
|
|
21
|
-
})(ZoneState || (ZoneState = {}));
|
|
22
|
-
/**
|
|
23
|
-
* A ZoneDef represents each zone within a Frontstage.
|
|
24
|
-
* @deprecated in 3.6. Use [[StagePanelDef]] or [[WidgetDef]] instead.
|
|
25
|
-
* @public
|
|
26
|
-
*/
|
|
27
|
-
export class ZoneDef extends WidgetHost {
|
|
28
|
-
/** Constructor for ZoneDef.
|
|
29
|
-
*/
|
|
30
|
-
constructor() {
|
|
31
|
-
super();
|
|
32
|
-
this._initialWidth = undefined;
|
|
33
|
-
this._zoneState = ZoneState.Open;
|
|
34
|
-
this._allowsMerging = false;
|
|
35
|
-
this._zoneLocation = ZoneLocation.TopLeft;
|
|
36
|
-
}
|
|
37
|
-
/** Zone state. Defaults to ZoneState.Open. @deprecated in 3.0. */
|
|
38
|
-
get zoneState() { return this._zoneState; }
|
|
39
|
-
/** Indicates if other Zones may be merged with this Zone. Defaults to false. @deprecated in 3.0. */
|
|
40
|
-
get allowsMerging() { return this._allowsMerging; }
|
|
41
|
-
/** Any application data to attach to this Zone. */
|
|
42
|
-
get applicationData() { return this._applicationData; }
|
|
43
|
-
/** Indicates with which other zone to merge. @deprecated in 3.0. */
|
|
44
|
-
get mergeWithZone() { return this._mergeWithZone; }
|
|
45
|
-
/** The Zone's location.
|
|
46
|
-
* @internal
|
|
47
|
-
*/
|
|
48
|
-
get zoneLocation() { return this._zoneLocation; }
|
|
49
|
-
set zoneLocation(zoneLocation) { this._zoneLocation = zoneLocation; }
|
|
50
|
-
/** Initial zone width. */
|
|
51
|
-
get initialWidth() {
|
|
52
|
-
return this._initialWidth;
|
|
53
|
-
}
|
|
54
|
-
/** Determines if this Zone is for Tool Settings. */
|
|
55
|
-
get isToolSettings() {
|
|
56
|
-
const singleWidgetDef = this.getSingleWidgetDef();
|
|
57
|
-
if (singleWidgetDef)
|
|
58
|
-
return singleWidgetDef.isToolSettings;
|
|
59
|
-
return false;
|
|
60
|
-
}
|
|
61
|
-
/** Determines if this Zone is for the Status Bar. */
|
|
62
|
-
get isStatusBar() {
|
|
63
|
-
const singleWidgetDef = this.getSingleWidgetDef();
|
|
64
|
-
if (singleWidgetDef)
|
|
65
|
-
return singleWidgetDef.isStatusBar;
|
|
66
|
-
return false;
|
|
67
|
-
}
|
|
68
|
-
/** Determines if the Zone should fill the available space. */
|
|
69
|
-
get shouldFillZone() {
|
|
70
|
-
return this.widgetDefs.some((widgetDef) => widgetDef.fillZone);
|
|
71
|
-
}
|
|
72
|
-
/** @internal */
|
|
73
|
-
setInitialWidth(width) {
|
|
74
|
-
this._initialWidth = width;
|
|
75
|
-
}
|
|
76
|
-
/** @internal */
|
|
77
|
-
initializeFromProps(props) {
|
|
78
|
-
if (props.defaultState)
|
|
79
|
-
this._zoneState = props.defaultState;
|
|
80
|
-
if (props.allowsMerging !== undefined)
|
|
81
|
-
this._allowsMerging = props.allowsMerging;
|
|
82
|
-
this._applicationData = props.applicationData;
|
|
83
|
-
if (props.mergeWithZone !== undefined)
|
|
84
|
-
this._mergeWithZone = props.mergeWithZone;
|
|
85
|
-
this.setInitialWidth(props.initialWidth);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
//# sourceMappingURL=ZoneDef.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ZoneDef.js","sourceRoot":"","sources":["../../../../src/appui-react/zones/ZoneDef.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,4CAA4C;AAC5C;;GAEG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAa,MAAM,QAAQ,CAAC;AAEjD;;GAEG;AACH,MAAM,CAAN,IAAY,SAMX;AAND,WAAY,SAAS;IACnB,uCAAG,CAAA;IACH,mDAAS,CAAA;IACT,yCAAI,CAAA;IACJ,2CAAK,CAAA;IACL,iDAAQ,CAAA;AACV,CAAC,EANW,SAAS,KAAT,SAAS,QAMpB;AAED;;;;GAIG;AACH,MAAM,OAAO,OAAQ,SAAQ,UAAU;IA4BrC;OACG;IACH;QACE,KAAK,EAAE,CAAC;QA9BF,kBAAa,GAAuB,SAAS,CA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IAED,gBAAgB;IACT,eAAe,CAAC,KAAyB;QAC9C,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;IAC7B,CAAC;IAED,gBAAgB;IACT,mBAAmB,CAAC,KAAgB;QACzC,IAAI,KAAK,CAAC,YAAY;YACpB,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,YAAY,CAAC;QACvC,IAAI,KAAK,CAAC,aAAa,KAAK,SAAS;YACnC,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC,aAAa,CAAC;QAC5C,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC,eAAe,CAAC;QAC9C,IAAI,KAAK,CAAC,aAAa,KAAK,SAAS;YACnC,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC,aAAa,CAAC;QAC5C,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IAC3C,CAAC;CACF","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/* eslint-disable deprecation/deprecation */\r\n/** @packageDocumentation\r\n * @module Zone\r\n */\r\n\r\nimport { WidgetDef } from \"../widgets/WidgetDef\";\r\nimport { WidgetHost } from \"../widgets/WidgetHost\";\r\nimport { ZoneLocation, ZoneProps } from \"./Zone\";\r\n\r\n/** Zone State enum.\r\n * @public @deprecated in 3.0.\r\n */\r\nexport enum ZoneState {\r\n Off,\r\n Minimized,\r\n Open,\r\n Popup,\r\n Floating,\r\n}\r\n\r\n/**\r\n * A ZoneDef represents each zone within a Frontstage.\r\n * @deprecated in 3.6. Use [[StagePanelDef]] or [[WidgetDef]] instead.\r\n * @public\r\n */\r\nexport class ZoneDef extends WidgetHost {\r\n private _initialWidth: number | undefined = undefined;\r\n private _zoneState: ZoneState = ZoneState.Open;\r\n private _allowsMerging: boolean = false;\r\n private _applicationData?: any;\r\n private _mergeWithZone?: ZoneLocation;\r\n private _zoneLocation: ZoneLocation = ZoneLocation.TopLeft;\r\n\r\n /** Zone state. Defaults to ZoneState.Open. @deprecated in 3.0. */\r\n public get zoneState(): ZoneState { return this._zoneState; }\r\n /** Indicates if other Zones may be merged with this Zone. Defaults to false. @deprecated in 3.0. */\r\n public get allowsMerging(): boolean { return this._allowsMerging; }\r\n /** Any application data to attach to this Zone. */\r\n public get applicationData(): any | undefined { return this._applicationData; }\r\n /** Indicates with which other zone to merge. @deprecated in 3.0. */\r\n public get mergeWithZone(): ZoneLocation | undefined { return this._mergeWithZone; }\r\n\r\n /** The Zone's location.\r\n * @internal\r\n */\r\n public get zoneLocation(): ZoneLocation { return this._zoneLocation; }\r\n public set zoneLocation(zoneLocation: ZoneLocation) { this._zoneLocation = zoneLocation; }\r\n\r\n /** Initial zone width. */\r\n public get initialWidth(): number | undefined {\r\n return this._initialWidth;\r\n }\r\n\r\n /** Constructor for ZoneDef.\r\n */\r\n constructor() {\r\n super();\r\n }\r\n\r\n /** Determines if this Zone is for Tool Settings. */\r\n public get isToolSettings(): boolean {\r\n const singleWidgetDef = this.getSingleWidgetDef();\r\n if (singleWidgetDef)\r\n return singleWidgetDef.isToolSettings;\r\n return false;\r\n }\r\n\r\n /** Determines if this Zone is for the Status Bar. */\r\n public get isStatusBar(): boolean {\r\n const singleWidgetDef = this.getSingleWidgetDef();\r\n if (singleWidgetDef)\r\n return singleWidgetDef.isStatusBar;\r\n return false;\r\n }\r\n\r\n /** Determines if the Zone should fill the available space. */\r\n public get shouldFillZone(): boolean {\r\n return this.widgetDefs.some((widgetDef: WidgetDef) => widgetDef.fillZone);\r\n }\r\n\r\n /** @internal */\r\n public setInitialWidth(width: number | undefined) {\r\n this._initialWidth = width;\r\n }\r\n\r\n /** @internal */\r\n public initializeFromProps(props: ZoneProps): void {\r\n if (props.defaultState)\r\n this._zoneState = props.defaultState;\r\n if (props.allowsMerging !== undefined)\r\n this._allowsMerging = props.allowsMerging;\r\n this._applicationData = props.applicationData;\r\n if (props.mergeWithZone !== undefined)\r\n this._mergeWithZone = props.mergeWithZone;\r\n this.setInitialWidth(props.initialWidth);\r\n }\r\n}\r\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultToolSettingsProvider.d.ts","sourceRoot":"","sources":["../../../../../src/appui-react/zones/toolsettings/DefaultToolSettingsProvider.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAKH,OAAO,EAAE,UAAU,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AACjG,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AAIpF,OAAO,EAAE,mCAAmC,EAAuB,MAAM,uBAAuB,CAAC;AACjG,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD,gBAAgB;AAEhB,yEAAyE;AACzE,cAAM,0BAA2B,SAAQ,oBAAoB;IAC3C,iBAAiB,IAAI,UAAU,EAAE,GAAG,SAAS;IAK7C,qBAAqB,aAAc,sBAAsB,UAGvE;CACH;AAED;;GAEG;AACH,qBAAa,2BAA4B,SAAQ,cAAc;gBACjD,IAAI,EAAE,sBAAsB,EAAE,OAAO,EAAE,GAAG;IAKtD,IAAW,cAAc,+BAA+D;IAEjF,uBAAuB,IAAI,IAAI;IAkBtB,wBAAwB,IAAI,IAAI;IAOhC,YAAY,IAAI,IAAI;IAKpB,0BAA0B,CAAC,IAAI,EAAE,mCAAmC,GAAG,IAAI;CAG5F"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultToolSettingsProvider.js","sourceRoot":"","sources":["../../../../../src/appui-react/zones/toolsettings/DefaultToolSettingsProvider.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,yCAAyC;AACzC,OAAO,EAAsC,o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AAkB,EAAE,cAAc,EAAE,IAAI,GAAI,CAC7F,CAAC;YACF,IAAI,CAAC,0BAA0B,GAAG,kBAAkB,CAAC,sBAAsB,EAAE,CAAC;SAC/E;aAAM;YACL,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;YAC7B,IAAI,CAAC,0BAA0B,GAAG,EAAE,CAAC;SACtC;QACD,+GAA+G;QAC/G,0DAA0D;QAC1D,iBAAiB,CAAC,yBAAyB,CAAC,IAAI,EAAE,CAAC;IACrD,CAAC;IAEe,wBAAwB;QACtC,wDAAwD;QACxD,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC;QAC7C,IAAI,CAAC,uBAAuB,EAAE,CAAC;IACjC,CAAC;IAED,6DAA6D;IAC7C,YAAY;QAC1B,IAAI,CAAC,wBAAwB,EAAE,CAAC;IAClC,CAAC;IAED,2EAA2E;IAC3D,0BAA0B,CAAC,IAAyC;QAClF,IAAI,CAAC,cAAc,CAAC,uBAAuB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IACnE,CAAC;CACF;AAED,qBAAqB,CAAC,eAAe,CAAC,qBAAqB,EAAE,2BAA2B,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module ToolSettings\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { IModelApp } from \"@itwin/core-frontend\";\r\n// cSpell:Ignore configurableui Fronstage\r\nimport { DialogItem, DialogPropertySyncItem, UiLayoutDataProvider } from \"@itwin/appui-abstract\";\r\nimport { ConfigurableCreateInfo } from \"../../configurableui/ConfigurableUiControl\";\r\nimport { ConfigurableUiManager } from \"../../configurableui/ConfigurableUiManager\";\r\nimport { ComponentGenerator } from \"../../uiprovider/ComponentGenerator\";\r\nimport { DefaultDialogGridContainer } from \"../../uiprovider/DefaultDialogGridContainer\";\r\nimport { SyncToolSettingsPropertiesEventArgs, ToolSettingsManager } from \"./ToolSettingsManager\";\r\nimport { ToolUiProvider } from \"./ToolUiProvider\";\r\nimport { FrontstageManager } from \"../../frontstage/FrontstageManager\";\r\n\r\n/** @internal */\r\n\r\n/** ToolSettingsUiDataProvider keeps tool data in sync with UI display */\r\nclass ToolSettingsUiDataProvider extends UiLayoutDataProvider {\r\n public override supplyDialogItems(): DialogItem[] | undefined {\r\n return ToolSettingsManager.toolSettingsProperties;\r\n }\r\n\r\n // send property changes from UI back to tool\r\n public override applyUiPropertyChange = (syncItem: DialogPropertySyncItem) => {\r\n // istanbul ignore next\r\n IModelApp.toolAdmin.activeTool && IModelApp.toolAdmin.activeTool.applyToolSettingPropertyChange(syncItem);\r\n };\r\n}\r\n\r\n/** ToolUiProvider class that informs ConfigurableUi that Tool Settings are provided for the specified tool.\r\n * @internal\r\n */\r\nexport class DefaultToolSettingsProvider extends ToolUiProvider {\r\n constructor(info: ConfigurableCreateInfo, options: any) {\r\n super(info, options);\r\n this._dataProvider = new ToolSettingsUiDataProvider();\r\n }\r\n\r\n public get uiDataProvider() { return this._dataProvider as ToolSettingsUiDataProvider; }\r\n\r\n public updateToolSettingsNodes(): void {\r\n // istanbul ignore else\r\n if (this.uiDataProvider.layoutDialogRows()) {\r\n const componentGenerator = new ComponentGenerator(this.uiDataProvider);\r\n\r\n this.toolSettingsNode = (\r\n <DefaultDialogGridContainer componentGenerator={componentGenerator} isToolSettings={true} />\r\n );\r\n this.horizontalToolSettingNodes = componentGenerator.getToolSettingsEntries();\r\n } else {\r\n this.toolSettingsNode = null;\r\n this.horizontalToolSettingNodes = [];\r\n }\r\n // We emit the FrontstageManager.onToolSettingsReloadEvent event here because the Fronstage Manager is a static\r\n // class that UI components can easily register listeners.\r\n FrontstageManager.onToolSettingsReloadEvent.emit();\r\n }\r\n\r\n public override reloadPropertiesFromTool(): void {\r\n // trigger the items to be reloaded from the active tool\r\n this.uiDataProvider.reloadDialogItems(false);\r\n this.updateToolSettingsNodes();\r\n }\r\n\r\n // called when tool is activated to repopulate tool settings.\r\n public override onInitialize(): void {\r\n this.reloadPropertiesFromTool();\r\n }\r\n\r\n // called to process ToolSettingsManager.onSyncToolSettingsProperties event\r\n public override syncToolSettingsProperties(args: SyncToolSettingsPropertiesEventArgs): void {\r\n this.uiDataProvider.fireSyncPropertiesEvent(args.syncProperties);\r\n }\r\n}\r\n\r\nConfigurableUiManager.registerControl(\"DefaultToolSettings\", DefaultToolSettingsProvider);\r\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ToolInformation.d.ts","sourceRoot":"","sources":["../../../../../src/appui-react/zones/toolsettings/ToolInformation.ts"],"names":[],"mappings":"AAIA;;GAEG;AAOH,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD;;GAEG;AACH,qBAAa,eAAe;IAGP,MAAM,EAAE,MAAM;IAFjC,OAAO,CAAC,eAAe,CAA6B;gBAEjC,MAAM,EAAE,MAAM;IAGjC,sDAAsD;IACtD,IAAW,cAAc,IAAI,cAAc,GAAG,SAAS,CAqBtD;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ToolInformation.js","sourceRoot":"","sources":["../../../../../src/appui-react/zones/toolsettings/ToolInformation.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AACvF,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AACnF,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAG5D;;GAEG;AACH,MAAM,OAAO,eAAe;IAG1B,YAAmB,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;IACjC,CAAC;IAED,sDAAsD;IACtD,IAAW,cAAc;QACvB,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE;YACzB,IAAI,QAAoC,CAAC;YAEzC,IAAI,qBAAqB,CAAC,mBAAmB,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE;gBAC1D,QAAQ,GAAG,qBAAqB,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,CAAmB,CAAC;aAC5F;iBAAM;gBACL,IAAI,mBAAmB,CAAC,8BAA8B,IAAI,IAAI,CAAC,MAAM,KAAK,mBAAmB,CAAC,qBAAqB;oBACjH,QAAQ,GAAG,qBAAqB,CAAC,aAAa,CAAC,qBAAqB,EAAE,IAAI,CAAC,MAAM,CAAmB,CAAC;aACxG;YACD,uBAAuB;YACvB,IAAI,QAAQ,EAAE;gBACZ,IAAI,QAAQ,CAAC,OAAO,EAAE,KAAK,yBAAyB,CAAC,cAAc,EAAE;oBACnE,MAAM,IAAI,OAAO,CAAC,WAAW,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,2BAA2B,IAAI,CAAC,MAAM,2DAA2D,CAAC,CAAC;iBACxJ;gBAED,IAAI,CAAC,eAAe,GAAG,QAAQ,CAAC;aACjC;SACF;QAED,OAAO,IAAI,CAAC,eAAe,CAAC;IAC9B,CAAC;CACF","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Item\r\n */\r\n\r\nimport { UiError } from \"@itwin/appui-abstract\";\r\nimport { ConfigurableUiControlType } from \"../../configurableui/ConfigurableUiControl\";\r\nimport { ConfigurableUiManager } from \"../../configurableui/ConfigurableUiManager\";\r\nimport { UiFramework } from \"../../UiFramework\";\r\nimport { ToolSettingsManager } from \"./ToolSettingsManager\";\r\nimport { ToolUiProvider } from \"./ToolUiProvider\";\r\n\r\n/** Provides information about a tool with a given id, including the ToolUiProvider.\r\n * @public\r\n */\r\nexport class ToolInformation {\r\n private _toolUiProvider: ToolUiProvider | undefined;\r\n\r\n constructor(public toolId: string) {\r\n }\r\n\r\n /** Get the ToolUiProvider registered for this tool */\r\n public get toolUiProvider(): ToolUiProvider | undefined {\r\n if (!this._toolUiProvider) {\r\n let provider: ToolUiProvider | undefined;\r\n\r\n if (ConfigurableUiManager.isControlRegistered(this.toolId)) {\r\n provider = ConfigurableUiManager.createControl(this.toolId, this.toolId) as ToolUiProvider;\r\n } else {\r\n if (ToolSettingsManager.useDefaultToolSettingsProvider && this.toolId === ToolSettingsManager.toolIdForToolSettings)\r\n provider = ConfigurableUiManager.createControl(\"DefaultToolSettings\", this.toolId) as ToolUiProvider;\r\n }\r\n // istanbul ignore else\r\n if (provider) {\r\n if (provider.getType() !== ConfigurableUiControlType.ToolUiProvider) {\r\n throw new UiError(UiFramework.loggerCategory(this), `toolUiProvider: toolId '${this.toolId}' is registered to a control that is NOT a ToolUiProvider`);\r\n }\r\n\r\n this._toolUiProvider = provider;\r\n }\r\n }\r\n\r\n return this._toolUiProvider;\r\n }\r\n}\r\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ToolSettingsManager.d.ts","sourceRoot":"","sources":["../../../../../src/appui-react/zones/toolsettings/ToolSettingsManager.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAa,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,sBAAsB,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAQpF;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAClD,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,sBAAsB,EAAE,CAAC;CAC1C;AAED;;GAEG;AACH,qBAAa,+BAAgC,SAAQ,OAAO,CAAC,mCAAmC,CAAC;CAAI;AAMrG;;GAEG;AACH,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,MAAM,CAAC,+BAA+B,CAAS;IACvD,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAc;IACnD,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAc;IAC7C,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAc;IAGnD,OAAO,CAAC,MAAM,CAAC,0BAA0B;IAKzC,OAAO,CAAC,MAAM,CAAC,4BAA4B;IAI3C,OAAO,CAAC,MAAM,CAAC,mBAAmB;IAOlC,0CAA0C;WAC5B,UAAU;IASxB,6CAA6C;WAC/B,qBAAqB;IAOnC,qCAAqC;WACvB,0BAA0B,CAAC,sBAAsB,EAAE,UAAU,EAAE,GAAG,SAAS,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,eAAe,CAAC,EAAE,MAAM,GAAG,OAAO;IAsBlK;OACG;WACW,qBAAqB,CAAC,IAAI,EAAE,eAAe;IAIzD,iGAAiG;IACjG,WAAkB,sBAAsB,IAAI,UAAU,EAAE,CASvD;IAED;;OAEG;IACH,WAAkB,8BAA8B,IAAI,OAAO,CAAgE;IAC3H,WAAkB,8BAA8B,CAAC,sBAAsB,EAAE,OAAO,EAAmF;IAEnK,8FAA8F;IAC9F,WAAkB,eAAe,IAAI,MAAM,CAAiD;IAC5F,WAAkB,eAAe,CAAC,KAAK,EAAE,MAAM,EAAmD;IAElG,kDAAkD;IAClD,WAAkB,qBAAqB,IAAI,MAAM,CAAuD;IAExG,8CAA8C;IAC9C,gBAAuB,4BAA4B,kCAAyC;IAC5F,gBAAuB,8BAA8B,gBAAuB;IAE5E;;OAEG;IACH,WAAkB,qBAAqB,IAAI,MAAM,CAEhD;WAEa,qBAAqB,IAAI,OAAO;CAe/C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ToolSettingsManager.js","sourceRoot":"","sources":["../../../../../src/appui-react/zones/toolsettings/ToolSettingsManager.ts"],"names":[],"mappings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AG,IAAI,+BAA+B,EAAE,CAAC;AACrE,kDAA8B,GAAG,IAAI,OAAO,EAAQ,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module ToolSettings\r\n */\r\n\r\nimport { IModelApp, InteractiveTool } from \"@itwin/core-frontend\";\r\nimport { DialogItem, DialogPropertySyncItem, UiEvent } from \"@itwin/appui-abstract\";\r\nimport { focusIntoContainer } from \"@itwin/core-react\";\r\nimport { SyncUiEventDispatcher } from \"../../syncui/SyncUiEventDispatcher\";\r\n\r\n// -----------------------------------------------------------------------------\r\n// Events\r\n// -----------------------------------------------------------------------------\r\n\r\n/** Sync Tool Settings Properties Event Args interface.\r\n * @public\r\n */\r\nexport interface SyncToolSettingsPropertiesEventArgs {\r\n toolId: string;\r\n syncProperties: DialogPropertySyncItem[];\r\n}\r\n\r\n/** Sync Tool Settings Properties Event class.\r\n * @public\r\n */\r\nexport class SyncToolSettingsPropertiesEvent extends UiEvent<SyncToolSettingsPropertiesEventArgs> { }\r\n\r\n// -----------------------------------------------------------------------------\r\n// ToolSettingsManager class\r\n// -----------------------------------------------------------------------------\r\n\r\n/** Tool Settings Manager class. Used to generate UI components for Tool Settings.\r\n * @public\r\n */\r\nexport class ToolSettingsManager {\r\n private static _useDefaultToolSettingsProvider = false;\r\n private static _toolIdForToolSettings: string = \"\";\r\n private static _activeToolLabel: string = \"\";\r\n private static _activeToolDescription: string = \"\";\r\n\r\n // istanbul ignore next\r\n private static syncToolSettingsProperties(toolId: string, syncProperties: DialogPropertySyncItem[]): void {\r\n ToolSettingsManager.onSyncToolSettingsProperties.emit({ toolId, syncProperties });\r\n }\r\n\r\n // istanbul ignore next\r\n private static reloadToolSettingsProperties(): void {\r\n ToolSettingsManager.onReloadToolSettingsProperties.emit();\r\n }\r\n\r\n private static dispatchSyncUiEvent(syncEventId: string, useImmediateDispatch?: boolean): void {\r\n if (useImmediateDispatch)\r\n SyncUiEventDispatcher.dispatchImmediateSyncUiEvent(syncEventId);\r\n else\r\n SyncUiEventDispatcher.dispatchSyncUiEvent(syncEventId);\r\n }\r\n\r\n /** Initializes the ToolSettingsManager */\r\n public static initialize() {\r\n // istanbul ignore else\r\n if (IModelApp && IModelApp.toolAdmin) {\r\n IModelApp.toolAdmin.toolSettingsChangeHandler = ToolSettingsManager.syncToolSettingsProperties;\r\n IModelApp.toolAdmin.reloadToolSettingsHandler = ToolSettingsManager.reloadToolSettingsProperties;\r\n IModelApp.toolAdmin.toolSyncUiEventDispatcher = ToolSettingsManager.dispatchSyncUiEvent;\r\n }\r\n }\r\n\r\n /** clear cached Tool Settings properties. */\r\n public static clearToolSettingsData() {\r\n ToolSettingsManager.useDefaultToolSettingsProvider = false;\r\n ToolSettingsManager._activeToolLabel = \"\";\r\n ToolSettingsManager._activeToolDescription = \"\";\r\n ToolSettingsManager._toolIdForToolSettings = \"\";\r\n }\r\n\r\n /** Cache Tool Settings properties */\r\n public static initializeToolSettingsData(toolSettingsProperties: DialogItem[] | undefined, toolId?: string, toolLabel?: string, toolDescription?: string): boolean {\r\n ToolSettingsManager.clearToolSettingsData();\r\n // istanbul ignore else\r\n if (toolLabel)\r\n ToolSettingsManager._activeToolLabel = toolLabel;\r\n\r\n // istanbul ignore else\r\n if (toolDescription)\r\n ToolSettingsManager._activeToolDescription = toolDescription;\r\n\r\n /* istanbul ignore else */\r\n if (toolSettingsProperties && toolSettingsProperties.length > 0) {\r\n // istanbul ignore else\r\n if (toolId)\r\n ToolSettingsManager._toolIdForToolSettings = toolId;\r\n\r\n ToolSettingsManager._useDefaultToolSettingsProvider = true;\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n /** Set of data used in Tool Settings for the specified tool. The tool specified should be the \"active\" tool.\r\n */\r\n public static initializeDataForTool(tool: InteractiveTool) {\r\n ToolSettingsManager.initializeToolSettingsData(tool.supplyToolSettingsProperties(), tool.toolId, tool.flyover, tool.description);\r\n }\r\n\r\n /** Returns the toolSettings properties that can be used to populate the tool settings widget. */\r\n public static get toolSettingsProperties(): DialogItem[] {\r\n if (IModelApp.toolAdmin && IModelApp.toolAdmin.activeTool && IModelApp.toolAdmin.activeTool.toolId === ToolSettingsManager._toolIdForToolSettings) {\r\n const properties = IModelApp.toolAdmin.activeTool.supplyToolSettingsProperties();\r\n // istanbul ignore else\r\n if (properties)\r\n return properties;\r\n }\r\n\r\n return [];\r\n }\r\n\r\n /** Returns true if the Tool Settings are to be auto populated from the toolSettingsProperties.\r\n * The setter is chiefly for testing.\r\n */\r\n public static get useDefaultToolSettingsProvider(): boolean { return ToolSettingsManager._useDefaultToolSettingsProvider; }\r\n public static set useDefaultToolSettingsProvider(useDefaultToolSettings: boolean) { ToolSettingsManager._useDefaultToolSettingsProvider = useDefaultToolSettings; }\r\n\r\n /** The name of the active tool. This is typically the flyover text specified for the tool. */\r\n public static get activeToolLabel(): string { return ToolSettingsManager._activeToolLabel; }\r\n public static set activeToolLabel(label: string) { ToolSettingsManager._activeToolLabel = label; }\r\n\r\n /** Returns the description of the active tool. */\r\n public static get activeToolDescription(): string { return ToolSettingsManager._activeToolDescription; }\r\n\r\n /** Get ToolSettings Properties sync event. */\r\n public static readonly onSyncToolSettingsProperties = new SyncToolSettingsPropertiesEvent();\r\n public static readonly onReloadToolSettingsProperties = new UiEvent<void>();\r\n\r\n /** Gets the Id of the active tool. If a tool is not active, blank is returned.\r\n * @return Id of the active tool, or blank if one is not active.\r\n */\r\n public static get toolIdForToolSettings(): string {\r\n return ToolSettingsManager._toolIdForToolSettings;\r\n }\r\n\r\n public static focusIntoToolSettings(): boolean {\r\n let divElement = document.querySelector(\"div.nz-toolSettings-docked\");\r\n if (divElement) {\r\n if (focusIntoContainer(divElement as HTMLDivElement))\r\n return true;\r\n }\r\n\r\n divElement = document.querySelector(\"div.uifw-tool-settings-grid-container\");\r\n if (divElement) {\r\n if (focusIntoContainer(divElement as HTMLDivElement))\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n}\r\n"]}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module ToolSettings
|
|
3
|
-
*/
|
|
4
|
-
import * as React from "react";
|
|
5
|
-
import { PointProps } from "@itwin/appui-abstract";
|
|
6
|
-
import { CommonProps, RectangleProps } from "@itwin/core-react";
|
|
7
|
-
import { WidgetZoneId, ZoneManagerProps, ZoneTargetType } from "@itwin/appui-layout-react";
|
|
8
|
-
import { TargetChangeHandler, WidgetChangeHandler } from "../../frontstage/FrontstageComposer";
|
|
9
|
-
/** State for the ToolSettingsZone content.
|
|
10
|
-
*/
|
|
11
|
-
declare enum ToolSettingsZoneContent {
|
|
12
|
-
Closed = 0,
|
|
13
|
-
ToolSettings = 1
|
|
14
|
-
}
|
|
15
|
-
/** State for the [[ToolSettingsZone]].
|
|
16
|
-
*/
|
|
17
|
-
interface ToolSettingsZoneState {
|
|
18
|
-
toolSettingsZoneContent: ToolSettingsZoneContent;
|
|
19
|
-
title: string;
|
|
20
|
-
}
|
|
21
|
-
/** Properties for the [[ToolSettingsZone]] React component.
|
|
22
|
-
* @internal
|
|
23
|
-
*/
|
|
24
|
-
export interface ToolSettingsZoneProps extends CommonProps {
|
|
25
|
-
dropTarget: ZoneTargetType | undefined;
|
|
26
|
-
getWidgetContentRef: (id: WidgetZoneId) => React.Ref<HTMLDivElement>;
|
|
27
|
-
isHidden: boolean;
|
|
28
|
-
isClosed: boolean;
|
|
29
|
-
lastPosition: PointProps | undefined;
|
|
30
|
-
targetChangeHandler: TargetChangeHandler;
|
|
31
|
-
targetedBounds: RectangleProps | undefined;
|
|
32
|
-
widgetChangeHandler: WidgetChangeHandler;
|
|
33
|
-
zone: ZoneManagerProps;
|
|
34
|
-
}
|
|
35
|
-
/** Tool Settings Zone React component.
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
|
-
export declare class ToolSettingsZone extends React.PureComponent<ToolSettingsZoneProps, ToolSettingsZoneState> {
|
|
39
|
-
private _hiddenVisibility;
|
|
40
|
-
private _widget;
|
|
41
|
-
/** @internal */
|
|
42
|
-
readonly state: Readonly<ToolSettingsZoneState>;
|
|
43
|
-
constructor(props: ToolSettingsZoneProps);
|
|
44
|
-
private _handleToolActivatedEvent;
|
|
45
|
-
componentDidMount(): void;
|
|
46
|
-
componentWillUnmount(): void;
|
|
47
|
-
render(): React.ReactNode;
|
|
48
|
-
private _processClick;
|
|
49
|
-
private getToolSettingsWidget;
|
|
50
|
-
private _handleDragStart;
|
|
51
|
-
private _handleResize;
|
|
52
|
-
}
|
|
53
|
-
export {};
|
|
54
|
-
//# sourceMappingURL=ToolSettingsZone.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ToolSettingsZone.d.ts","sourceRoot":"","sources":["../../../../../src/appui-react/zones/toolsettings/ToolSettingsZone.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EACwD,YAAY,EAAQ,gBAAgB,EAAE,cAAc,EAClH,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAa/F;GACG;AACH,aAAK,uBAAuB;IAC1B,MAAM,IAAA;IACN,YAAY,IAAA;CACb;AAED;GACG;AACH,UAAU,qBAAqB;IAC7B,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,WAAW;IACxD,UAAU,EAAE,cAAc,GAAG,SAAS,CAAC;IACvC,mBAAmB,EAAE,CAAC,EAAE,EAAE,YAAY,KAAK,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACrE,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,UAAU,GAAG,SAAS,CAAC;IACrC,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,cAAc,EAAE,cAAc,GAAG,SAAS,CAAC;IAC3C,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,IAAI,EAAE,gBAAgB,CAAC;CACxB;AAED;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,KAAK,CAAC,aAAa,CAAC,qBAAqB,EAAE,qBAAqB,CAAC;IACrG,OAAO,CAAC,iBAAiB,CAEvB;IACF,OAAO,CAAC,OAAO,CAAmC;IAElD,gBAAgB;IAChB,SAAyB,KAAK,EAAE,QAAQ,CAAC,qBAAqB,CAAC,CAAC;gBAEpD,KAAK,EAAE,qBAAqB;IAWxC,OAAO,CAAC,yBAAyB,CAI/B;IAEc,iBAAiB,IAAI,IAAI;IAIzB,oBAAoB,IAAI,IAAI;IAI5B,MAAM,IAAI,KAAK,CAAC,SAAS;IAoCzC,OAAO,CAAC,aAAa,CAUnB;IAEF,OAAO,CAAC,qBAAqB;IAyC7B,OAAO,CAAC,gBAAgB,CAKtB;IAEF,OAAO,CAAC,aAAa,CAEnB;CACH"}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
/** @packageDocumentation
|
|
6
|
-
* @module ToolSettings
|
|
7
|
-
*/
|
|
8
|
-
import * as React from "react";
|
|
9
|
-
import { TitleBarButton, ToolSettings, ToolSettingsTab, Zone, } from "@itwin/appui-layout-react";
|
|
10
|
-
import { FrontstageManager } from "../../frontstage/FrontstageManager";
|
|
11
|
-
import { SafeAreaContext } from "../../safearea/SafeAreaContext";
|
|
12
|
-
import { UiFramework } from "../../UiFramework";
|
|
13
|
-
import { UiShowHideManager } from "../../utils/UiShowHideManager";
|
|
14
|
-
import { getFloatingZoneBounds, getFloatingZoneStyle } from "../FrameworkZone";
|
|
15
|
-
import { Outline } from "../Outline";
|
|
16
|
-
import { ToolSettingsManager } from "./ToolSettingsManager";
|
|
17
|
-
import { onEscapeSetFocusToHome } from "../../hooks/useEscapeSetFocusToHome";
|
|
18
|
-
import { ZoneTargets } from "../../dragdrop/ZoneTargets";
|
|
19
|
-
// cSpell:ignore safearea
|
|
20
|
-
/** State for the ToolSettingsZone content.
|
|
21
|
-
*/
|
|
22
|
-
var ToolSettingsZoneContent;
|
|
23
|
-
(function (ToolSettingsZoneContent) {
|
|
24
|
-
ToolSettingsZoneContent[ToolSettingsZoneContent["Closed"] = 0] = "Closed";
|
|
25
|
-
ToolSettingsZoneContent[ToolSettingsZoneContent["ToolSettings"] = 1] = "ToolSettings";
|
|
26
|
-
})(ToolSettingsZoneContent || (ToolSettingsZoneContent = {}));
|
|
27
|
-
/** Tool Settings Zone React component.
|
|
28
|
-
* @internal
|
|
29
|
-
*/
|
|
30
|
-
export class ToolSettingsZone extends React.PureComponent {
|
|
31
|
-
constructor(props) {
|
|
32
|
-
super(props);
|
|
33
|
-
this._hiddenVisibility = {
|
|
34
|
-
visibility: "hidden",
|
|
35
|
-
};
|
|
36
|
-
this._widget = React.createRef();
|
|
37
|
-
this._handleToolActivatedEvent = () => {
|
|
38
|
-
// Update tool settings title when active tool changes.
|
|
39
|
-
const title = `${ToolSettingsManager.activeToolLabel}`;
|
|
40
|
-
this.setState({ title });
|
|
41
|
-
};
|
|
42
|
-
this._processClick = () => {
|
|
43
|
-
this.setState((prevState) => {
|
|
44
|
-
let toolSettingsZoneContent = ToolSettingsZoneContent.Closed;
|
|
45
|
-
if (prevState.toolSettingsZoneContent === ToolSettingsZoneContent.Closed)
|
|
46
|
-
toolSettingsZoneContent = ToolSettingsZoneContent.ToolSettings;
|
|
47
|
-
return {
|
|
48
|
-
toolSettingsZoneContent,
|
|
49
|
-
};
|
|
50
|
-
});
|
|
51
|
-
};
|
|
52
|
-
this._handleDragStart = (initialPosition) => {
|
|
53
|
-
if (!this._widget.current)
|
|
54
|
-
return;
|
|
55
|
-
const bounds = this._widget.current.getBounds();
|
|
56
|
-
this.props.widgetChangeHandler.handleTabDragStart(this.props.zone.id, 0, initialPosition, bounds);
|
|
57
|
-
};
|
|
58
|
-
this._handleResize = (resizeBy, handle) => {
|
|
59
|
-
this.props.widgetChangeHandler.handleResize(this.props.zone.id, resizeBy, handle, 0);
|
|
60
|
-
};
|
|
61
|
-
const title = `${ToolSettingsManager.activeToolLabel}`;
|
|
62
|
-
this.state = {
|
|
63
|
-
toolSettingsZoneContent: this.props.isClosed ? ToolSettingsZoneContent.Closed : ToolSettingsZoneContent.ToolSettings,
|
|
64
|
-
title,
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
componentDidMount() {
|
|
68
|
-
FrontstageManager.onToolActivatedEvent.addListener(this._handleToolActivatedEvent);
|
|
69
|
-
}
|
|
70
|
-
componentWillUnmount() {
|
|
71
|
-
FrontstageManager.onToolActivatedEvent.removeListener(this._handleToolActivatedEvent);
|
|
72
|
-
}
|
|
73
|
-
render() {
|
|
74
|
-
const bounds = getFloatingZoneBounds(this.props.zone);
|
|
75
|
-
const zIndexStyle = getFloatingZoneStyle(this.props.zone);
|
|
76
|
-
return (React.createElement(SafeAreaContext.Consumer, null, (safeAreaInsets) => (React.createElement("span", { style: zIndexStyle },
|
|
77
|
-
React.createElement(Zone, { bounds: bounds, className: this.props.className, id: this.props.zone.id, isFloating: !!this.props.zone.floating, isHidden: this.props.isHidden, safeAreaInsets: safeAreaInsets, style: this.props.style }, this.getToolSettingsWidget()),
|
|
78
|
-
React.createElement(Zone, { bounds: this.props.zone.bounds, id: this.props.zone.id, safeAreaInsets: safeAreaInsets },
|
|
79
|
-
React.createElement(ZoneTargets, { zoneId: this.props.zone.id, dropTarget: this.props.dropTarget, targetChangeHandler: this.props.targetChangeHandler })),
|
|
80
|
-
React.createElement(Outline, { bounds: this.props.targetedBounds })))));
|
|
81
|
-
}
|
|
82
|
-
getToolSettingsWidget() {
|
|
83
|
-
if (this.state.toolSettingsZoneContent === ToolSettingsZoneContent.Closed) {
|
|
84
|
-
return (React.createElement(ToolSettingsTab, { onClick: this._processClick, onKeyDown: onEscapeSetFocusToHome, title: this.state.title, onMouseEnter: UiShowHideManager.handleWidgetMouseEnter },
|
|
85
|
-
React.createElement("i", { className: "icon icon-settings" })));
|
|
86
|
-
}
|
|
87
|
-
return (React.createElement(ToolSettings, { buttons: React.createElement("div", { style: this.props.zone.floating && this._hiddenVisibility },
|
|
88
|
-
React.createElement(TitleBarButton, { onClick: this._processClick, title: UiFramework.translate("general.minimize") },
|
|
89
|
-
React.createElement("i", { className: "icon icon-chevron-up" }))), contentRef: this.props.getWidgetContentRef(this.props.zone.id), fillZone: this.props.zone.isLayoutChanged && !!this.props.zone.floating, lastPosition: this.props.lastPosition, onDrag: this.props.zone.allowsMerging ? this.props.widgetChangeHandler.handleTabDrag : undefined, onDragEnd: this.props.widgetChangeHandler.handleTabDragEnd, onDragStart: this._handleDragStart, onResize: this.props.zone.floating && this._handleResize, onMouseEnter: UiShowHideManager.handleWidgetMouseEnter, ref: this._widget, title: this.state.title }));
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
//# sourceMappingURL=ToolSettingsZone.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ToolSettingsZone.js","sourceRoot":"","sources":["../../../../../src/appui-react/zones/toolsettings/ToolSettingsZone.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EACS,cAAc,EAAE,YAAY,EAAE,eAAe,EAAgB,IAAI,GAChF,MAAM,2BAA2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ACjB,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,GACvB,CACH,CAAC;IACJ,CAAC;CAYF","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module ToolSettings\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { PointProps } from \"@itwin/appui-abstract\";\r\nimport { CommonProps, RectangleProps } from \"@itwin/core-react\";\r\nimport {\r\n ResizeHandle, TitleBarButton, ToolSettings, ToolSettingsTab, WidgetZoneId, Zone, ZoneManagerProps, ZoneTargetType,\r\n} from \"@itwin/appui-layout-react\";\r\nimport { TargetChangeHandler, WidgetChangeHandler } from \"../../frontstage/FrontstageComposer\";\r\nimport { FrontstageManager } from \"../../frontstage/FrontstageManager\";\r\nimport { SafeAreaContext } from \"../../safearea/SafeAreaContext\";\r\nimport { UiFramework } from \"../../UiFramework\";\r\nimport { UiShowHideManager } from \"../../utils/UiShowHideManager\";\r\nimport { getFloatingZoneBounds, getFloatingZoneStyle } from \"../FrameworkZone\";\r\nimport { Outline } from \"../Outline\";\r\nimport { ToolSettingsManager } from \"./ToolSettingsManager\";\r\nimport { onEscapeSetFocusToHome } from \"../../hooks/useEscapeSetFocusToHome\";\r\nimport { ZoneTargets } from \"../../dragdrop/ZoneTargets\";\r\n\r\n// cSpell:ignore safearea\r\n\r\n/** State for the ToolSettingsZone content.\r\n */\r\nenum ToolSettingsZoneContent {\r\n Closed,\r\n ToolSettings, // eslint-disable-line @typescript-eslint/no-shadow\r\n}\r\n\r\n/** State for the [[ToolSettingsZone]].\r\n */\r\ninterface ToolSettingsZoneState {\r\n toolSettingsZoneContent: ToolSettingsZoneContent;\r\n title: string;\r\n}\r\n\r\n/** Properties for the [[ToolSettingsZone]] React component.\r\n * @internal\r\n */\r\nexport interface ToolSettingsZoneProps extends CommonProps {\r\n dropTarget: ZoneTargetType | undefined; // eslint-disable-line deprecation/deprecation\r\n getWidgetContentRef: (id: WidgetZoneId) => React.Ref<HTMLDivElement>; // eslint-disable-line deprecation/deprecation\r\n isHidden: boolean;\r\n isClosed: boolean;\r\n lastPosition: PointProps | undefined;\r\n targetChangeHandler: TargetChangeHandler; // eslint-disable-line deprecation/deprecation\r\n targetedBounds: RectangleProps | undefined;\r\n widgetChangeHandler: WidgetChangeHandler; // eslint-disable-line deprecation/deprecation\r\n zone: ZoneManagerProps;\r\n}\r\n\r\n/** Tool Settings Zone React component.\r\n * @internal\r\n */\r\nexport class ToolSettingsZone extends React.PureComponent<ToolSettingsZoneProps, ToolSettingsZoneState> {\r\n private _hiddenVisibility: React.CSSProperties = {\r\n visibility: \"hidden\",\r\n };\r\n private _widget = React.createRef<ToolSettings>();\r\n\r\n /** @internal */\r\n public override readonly state: Readonly<ToolSettingsZoneState>;\r\n\r\n constructor(props: ToolSettingsZoneProps) {\r\n super(props);\r\n\r\n const title = `${ToolSettingsManager.activeToolLabel}`;\r\n\r\n this.state = {\r\n toolSettingsZoneContent: this.props.isClosed ? ToolSettingsZoneContent.Closed : ToolSettingsZoneContent.ToolSettings,\r\n title,\r\n };\r\n }\r\n\r\n private _handleToolActivatedEvent = (): void => {\r\n // Update tool settings title when active tool changes.\r\n const title = `${ToolSettingsManager.activeToolLabel}`;\r\n this.setState({ title });\r\n };\r\n\r\n public override componentDidMount(): void {\r\n FrontstageManager.onToolActivatedEvent.addListener(this._handleToolActivatedEvent);\r\n }\r\n\r\n public override componentWillUnmount(): void {\r\n FrontstageManager.onToolActivatedEvent.removeListener(this._handleToolActivatedEvent);\r\n }\r\n\r\n public override render(): React.ReactNode {\r\n const bounds = getFloatingZoneBounds(this.props.zone);\r\n const zIndexStyle = getFloatingZoneStyle(this.props.zone);\r\n return (\r\n <SafeAreaContext.Consumer>\r\n {(safeAreaInsets) => (\r\n <span style={zIndexStyle}>\r\n <Zone\r\n bounds={bounds}\r\n className={this.props.className}\r\n id={this.props.zone.id}\r\n isFloating={!!this.props.zone.floating}\r\n isHidden={this.props.isHidden}\r\n safeAreaInsets={safeAreaInsets}\r\n style={this.props.style}\r\n >\r\n {this.getToolSettingsWidget()}\r\n </Zone>\r\n <Zone\r\n bounds={this.props.zone.bounds}\r\n id={this.props.zone.id}\r\n safeAreaInsets={safeAreaInsets}\r\n >\r\n <ZoneTargets\r\n zoneId={this.props.zone.id}\r\n dropTarget={this.props.dropTarget}\r\n targetChangeHandler={this.props.targetChangeHandler}\r\n />\r\n </Zone>\r\n <Outline bounds={this.props.targetedBounds} />\r\n </span>\r\n )}\r\n </SafeAreaContext.Consumer>\r\n );\r\n }\r\n\r\n private _processClick = () => {\r\n this.setState((prevState) => {\r\n let toolSettingsZoneContent = ToolSettingsZoneContent.Closed;\r\n\r\n if (prevState.toolSettingsZoneContent === ToolSettingsZoneContent.Closed)\r\n toolSettingsZoneContent = ToolSettingsZoneContent.ToolSettings;\r\n return {\r\n toolSettingsZoneContent,\r\n };\r\n });\r\n };\r\n\r\n private getToolSettingsWidget(): React.ReactNode {\r\n if (this.state.toolSettingsZoneContent === ToolSettingsZoneContent.Closed) {\r\n\r\n return (\r\n <ToolSettingsTab\r\n onClick={this._processClick}\r\n onKeyDown={onEscapeSetFocusToHome}\r\n title={this.state.title}\r\n onMouseEnter={UiShowHideManager.handleWidgetMouseEnter}\r\n >\r\n <i className=\"icon icon-settings\" />\r\n </ToolSettingsTab>\r\n );\r\n }\r\n\r\n return (\r\n <ToolSettings\r\n buttons={\r\n <div style={this.props.zone.floating && this._hiddenVisibility}>\r\n <TitleBarButton\r\n onClick={this._processClick}\r\n title={UiFramework.translate(\"general.minimize\")}\r\n >\r\n <i className={\"icon icon-chevron-up\"} />\r\n </TitleBarButton>\r\n </div>\r\n }\r\n contentRef={this.props.getWidgetContentRef(this.props.zone.id)}\r\n fillZone={this.props.zone.isLayoutChanged && !!this.props.zone.floating}\r\n lastPosition={this.props.lastPosition}\r\n onDrag={this.props.zone.allowsMerging ? this.props.widgetChangeHandler.handleTabDrag : undefined}\r\n onDragEnd={this.props.widgetChangeHandler.handleTabDragEnd}\r\n onDragStart={this._handleDragStart}\r\n onResize={this.props.zone.floating && this._handleResize}\r\n onMouseEnter={UiShowHideManager.handleWidgetMouseEnter}\r\n ref={this._widget}\r\n title={this.state.title}\r\n />\r\n );\r\n }\r\n\r\n private _handleDragStart = (initialPosition: PointProps) => {\r\n if (!this._widget.current)\r\n return;\r\n const bounds = this._widget.current.getBounds();\r\n this.props.widgetChangeHandler.handleTabDragStart(this.props.zone.id, 0, initialPosition, bounds);\r\n };\r\n\r\n private _handleResize = (resizeBy: number, handle: ResizeHandle) => {\r\n this.props.widgetChangeHandler.handleResize(this.props.zone.id, resizeBy, handle, 0);\r\n };\r\n}\r\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ToolUiProvider.d.ts","sourceRoot":"","sources":["../../../../../src/appui-react/zones/toolsettings/ToolUiProvider.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AACtI,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,mCAAmC,EAAE,MAAM,uBAAuB,CAAC;AAE5E;;;;GAIG;AACH,qBAAa,cAAe,SAAQ,qBAAqB;IACvD,OAAO,CAAC,iBAAiB,CAAkB;IAC3C,OAAO,CAAC,2BAA2B,CAAkC;IACrE,SAAS,CAAC,aAAa,EAAE,cAAc,GAAG,SAAS,CAAC;gBACxC,IAAI,EAAE,sBAAsB,EAAE,OAAO,EAAE,GAAG;IAItD,IAAoB,QAAQ,IAAI,MAAM,CAA0D;IAEhG,yIAAyI;IACzI,IAAW,gBAAg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