@itwin/appui-abstract 4.0.0-dev.48 → 4.0.0-dev.51
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/lib/cjs/appui-abstract/BaseUiItemsProvider.d.ts +30 -30
- package/lib/cjs/appui-abstract/BaseUiItemsProvider.js +79 -79
- package/lib/cjs/appui-abstract/BaseUiItemsProvider.js.map +1 -1
- package/lib/cjs/appui-abstract/UiAdmin.d.ts +221 -221
- package/lib/cjs/appui-abstract/UiAdmin.js +224 -224
- package/lib/cjs/appui-abstract/UiAdmin.js.map +1 -1
- package/lib/cjs/appui-abstract/UiItemsManager.d.ts +113 -113
- package/lib/cjs/appui-abstract/UiItemsManager.js +193 -193
- package/lib/cjs/appui-abstract/UiItemsManager.js.map +1 -1
- package/lib/cjs/appui-abstract/UiItemsProvider.d.ts +29 -29
- package/lib/cjs/appui-abstract/UiItemsProvider.js +9 -9
- package/lib/cjs/appui-abstract/UiItemsProvider.js.map +1 -1
- package/lib/cjs/appui-abstract/backstage/BackstageItem.d.ts +91 -91
- package/lib/cjs/appui-abstract/backstage/BackstageItem.js +70 -70
- package/lib/cjs/appui-abstract/backstage/BackstageItem.js.map +1 -1
- package/lib/cjs/appui-abstract/backstage/BackstageItemsManager.d.ts +38 -38
- package/lib/cjs/appui-abstract/backstage/BackstageItemsManager.js +133 -133
- package/lib/cjs/appui-abstract/backstage/BackstageItemsManager.js.map +1 -1
- package/lib/cjs/appui-abstract/common/KeyboardKey.d.ts +51 -51
- package/lib/cjs/appui-abstract/common/KeyboardKey.js +63 -63
- package/lib/cjs/appui-abstract/common/KeyboardKey.js.map +1 -1
- package/lib/cjs/appui-abstract/content/ContentLayoutProps.d.ts +62 -62
- package/lib/cjs/appui-abstract/content/ContentLayoutProps.js +9 -9
- package/lib/cjs/appui-abstract/content/ContentLayoutProps.js.map +1 -1
- package/lib/cjs/appui-abstract/content/StandardContentLayouts.d.ts +19 -19
- package/lib/cjs/appui-abstract/content/StandardContentLayouts.js +108 -108
- package/lib/cjs/appui-abstract/content/StandardContentLayouts.js.map +1 -1
- package/lib/cjs/appui-abstract/dialogs/DialogItem.d.ts +76 -76
- package/lib/cjs/appui-abstract/dialogs/DialogItem.js +67 -67
- package/lib/cjs/appui-abstract/dialogs/DialogItem.js.map +1 -1
- package/lib/cjs/appui-abstract/dialogs/UiDataProvider.d.ts +55 -55
- package/lib/cjs/appui-abstract/dialogs/UiDataProvider.js +66 -66
- package/lib/cjs/appui-abstract/dialogs/UiDataProvider.js.map +1 -1
- package/lib/cjs/appui-abstract/dialogs/UiLayoutDataProvider.d.ts +97 -97
- package/lib/cjs/appui-abstract/dialogs/UiLayoutDataProvider.js +175 -175
- package/lib/cjs/appui-abstract/dialogs/UiLayoutDataProvider.js.map +1 -1
- package/lib/cjs/appui-abstract/items/AbstractItemProps.d.ts +53 -53
- package/lib/cjs/appui-abstract/items/AbstractItemProps.js +9 -9
- package/lib/cjs/appui-abstract/items/AbstractItemProps.js.map +1 -1
- package/lib/cjs/appui-abstract/items/AbstractMenuItemProps.d.ts +20 -20
- package/lib/cjs/appui-abstract/items/AbstractMenuItemProps.js +9 -9
- package/lib/cjs/appui-abstract/items/AbstractMenuItemProps.js.map +1 -1
- package/lib/cjs/appui-abstract/items/AbstractToolbarProps.d.ts +13 -13
- package/lib/cjs/appui-abstract/items/AbstractToolbarProps.js +9 -9
- package/lib/cjs/appui-abstract/items/AbstractToolbarProps.js.map +1 -1
- package/lib/cjs/appui-abstract/items/BadgeType.d.ts +14 -14
- package/lib/cjs/appui-abstract/items/BadgeType.js +22 -22
- package/lib/cjs/appui-abstract/items/BadgeType.js.map +1 -1
- package/lib/cjs/appui-abstract/items/ConditionalBooleanValue.d.ts +27 -27
- package/lib/cjs/appui-abstract/items/ConditionalBooleanValue.js +60 -60
- package/lib/cjs/appui-abstract/items/ConditionalBooleanValue.js.map +1 -1
- package/lib/cjs/appui-abstract/items/ConditionalStringValue.d.ts +29 -29
- package/lib/cjs/appui-abstract/items/ConditionalStringValue.js +62 -62
- package/lib/cjs/appui-abstract/items/ConditionalStringValue.js.map +1 -1
- package/lib/cjs/appui-abstract/items/ProvidedItem.d.ts +11 -11
- package/lib/cjs/appui-abstract/items/ProvidedItem.js +9 -9
- package/lib/cjs/appui-abstract/items/ProvidedItem.js.map +1 -1
- package/lib/cjs/appui-abstract/items/RelativePosition.d.ts +18 -18
- package/lib/cjs/appui-abstract/items/RelativePosition.js +26 -26
- package/lib/cjs/appui-abstract/items/RelativePosition.js.map +1 -1
- package/lib/cjs/appui-abstract/items/StageUsage.d.ts +16 -16
- package/lib/cjs/appui-abstract/items/StageUsage.js +24 -24
- package/lib/cjs/appui-abstract/items/StageUsage.js.map +1 -1
- package/lib/cjs/appui-abstract/notification/MessagePresenter.d.ts +42 -42
- package/lib/cjs/appui-abstract/notification/MessagePresenter.js +24 -24
- package/lib/cjs/appui-abstract/notification/MessagePresenter.js.map +1 -1
- package/lib/cjs/appui-abstract/notification/MessageSeverity.d.ts +15 -15
- package/lib/cjs/appui-abstract/notification/MessageSeverity.js +23 -23
- package/lib/cjs/appui-abstract/notification/MessageSeverity.js.map +1 -1
- package/lib/cjs/appui-abstract/properties/Description.d.ts +127 -127
- package/lib/cjs/appui-abstract/properties/Description.js +196 -196
- package/lib/cjs/appui-abstract/properties/Description.js.map +1 -1
- package/lib/cjs/appui-abstract/properties/EditorParams.d.ts +260 -260
- package/lib/cjs/appui-abstract/properties/EditorParams.js +106 -106
- package/lib/cjs/appui-abstract/properties/EditorParams.js.map +1 -1
- package/lib/cjs/appui-abstract/properties/PrimitiveTypes.d.ts +60 -60
- package/lib/cjs/appui-abstract/properties/PrimitiveTypes.js +9 -9
- package/lib/cjs/appui-abstract/properties/PrimitiveTypes.js.map +1 -1
- package/lib/cjs/appui-abstract/properties/Record.d.ts +57 -57
- package/lib/cjs/appui-abstract/properties/Record.js +78 -78
- package/lib/cjs/appui-abstract/properties/Record.js.map +1 -1
- package/lib/cjs/appui-abstract/properties/StandardEditorNames.d.ts +22 -22
- package/lib/cjs/appui-abstract/properties/StandardEditorNames.js +30 -30
- package/lib/cjs/appui-abstract/properties/StandardEditorNames.js.map +1 -1
- package/lib/cjs/appui-abstract/properties/StandardTypeNames.d.ts +30 -30
- package/lib/cjs/appui-abstract/properties/StandardTypeNames.js +39 -39
- package/lib/cjs/appui-abstract/properties/StandardTypeNames.js.map +1 -1
- package/lib/cjs/appui-abstract/properties/Value.d.ts +49 -49
- package/lib/cjs/appui-abstract/properties/Value.js +20 -20
- package/lib/cjs/appui-abstract/properties/Value.js.map +1 -1
- package/lib/cjs/appui-abstract/quantity/BaseQuantityDescription.d.ts +22 -22
- package/lib/cjs/appui-abstract/quantity/BaseQuantityDescription.js +48 -48
- package/lib/cjs/appui-abstract/quantity/BaseQuantityDescription.js.map +1 -1
- package/lib/cjs/appui-abstract/statusbar/StatusBarItem.d.ts +128 -128
- package/lib/cjs/appui-abstract/statusbar/StatusBarItem.js +87 -87
- package/lib/cjs/appui-abstract/statusbar/StatusBarItem.js.map +1 -1
- package/lib/cjs/appui-abstract/statusbar/StatusBarItemsManager.d.ts +39 -39
- package/lib/cjs/appui-abstract/statusbar/StatusBarItemsManager.js +135 -135
- package/lib/cjs/appui-abstract/statusbar/StatusBarItemsManager.js.map +1 -1
- package/lib/cjs/appui-abstract/toolbars/ToolbarItem.d.ts +121 -121
- package/lib/cjs/appui-abstract/toolbars/ToolbarItem.js +64 -64
- package/lib/cjs/appui-abstract/toolbars/ToolbarItem.js.map +1 -1
- package/lib/cjs/appui-abstract/toolbars/ToolbarItemsManager.d.ts +45 -45
- package/lib/cjs/appui-abstract/toolbars/ToolbarItemsManager.js +235 -235
- package/lib/cjs/appui-abstract/toolbars/ToolbarItemsManager.js.map +1 -1
- package/lib/cjs/appui-abstract/utils/IconSpecUtilities.d.ts +29 -29
- package/lib/cjs/appui-abstract/utils/IconSpecUtilities.js +51 -51
- package/lib/cjs/appui-abstract/utils/IconSpecUtilities.js.map +1 -1
- package/lib/cjs/appui-abstract/utils/PointProps.d.ts +10 -10
- package/lib/cjs/appui-abstract/utils/PointProps.js +9 -9
- package/lib/cjs/appui-abstract/utils/PointProps.js.map +1 -1
- package/lib/cjs/appui-abstract/utils/UiError.d.ts +12 -12
- package/lib/cjs/appui-abstract/utils/UiError.js +22 -22
- package/lib/cjs/appui-abstract/utils/UiError.js.map +1 -1
- package/lib/cjs/appui-abstract/utils/UiEvent.d.ts +9 -9
- package/lib/cjs/appui-abstract/utils/UiEvent.js +17 -17
- package/lib/cjs/appui-abstract/utils/UiEvent.js.map +1 -1
- package/lib/cjs/appui-abstract/utils/UiEventDispatcher.d.ts +46 -46
- package/lib/cjs/appui-abstract/utils/UiEventDispatcher.js +131 -131
- package/lib/cjs/appui-abstract/utils/UiEventDispatcher.js.map +1 -1
- package/lib/cjs/appui-abstract/utils/callbacks.d.ts +20 -20
- package/lib/cjs/appui-abstract/utils/callbacks.js +9 -9
- package/lib/cjs/appui-abstract/utils/callbacks.js.map +1 -1
- package/lib/cjs/appui-abstract/utils/filter/charCode.d.ts +416 -416
- package/lib/cjs/appui-abstract/utils/filter/charCode.js +6 -6
- package/lib/cjs/appui-abstract/utils/filter/charCode.js.map +1 -1
- package/lib/cjs/appui-abstract/utils/filter/filters.d.ts +98 -98
- package/lib/cjs/appui-abstract/utils/filter/filters.js +709 -709
- package/lib/cjs/appui-abstract/utils/filter/filters.js.map +1 -1
- package/lib/cjs/appui-abstract/utils/filter/map.d.ts +59 -59
- package/lib/cjs/appui-abstract/utils/filter/map.js +402 -402
- package/lib/cjs/appui-abstract/utils/filter/map.js.map +1 -1
- package/lib/cjs/appui-abstract/utils/filter/strings.d.ts +20 -20
- package/lib/cjs/appui-abstract/utils/filter/strings.js +78 -78
- package/lib/cjs/appui-abstract/utils/filter/strings.js.map +1 -1
- package/lib/cjs/appui-abstract/utils/isLetter.d.ts +9 -9
- package/lib/cjs/appui-abstract/utils/isLetter.js +19 -19
- package/lib/cjs/appui-abstract/utils/isLetter.js.map +1 -1
- package/lib/cjs/appui-abstract/utils/misc.d.ts +11 -11
- package/lib/cjs/appui-abstract/utils/misc.js +36 -36
- package/lib/cjs/appui-abstract/utils/misc.js.map +1 -1
- package/lib/cjs/appui-abstract/widget/AbstractWidgetProps.d.ts +86 -86
- package/lib/cjs/appui-abstract/widget/AbstractWidgetProps.js +9 -9
- package/lib/cjs/appui-abstract/widget/AbstractWidgetProps.js.map +1 -1
- package/lib/cjs/appui-abstract/widget/StagePanel.d.ts +36 -36
- package/lib/cjs/appui-abstract/widget/StagePanel.js +46 -46
- package/lib/cjs/appui-abstract/widget/StagePanel.js.map +1 -1
- package/lib/cjs/appui-abstract/widget/WidgetState.d.ts +19 -19
- package/lib/cjs/appui-abstract/widget/WidgetState.js +27 -27
- package/lib/cjs/appui-abstract/widget/WidgetState.js.map +1 -1
- package/lib/cjs/appui-abstract.d.ts +103 -103
- package/lib/cjs/appui-abstract.js +119 -119
- package/lib/cjs/appui-abstract.js.map +1 -1
- package/lib/esm/appui-abstract/BaseUiItemsProvider.d.ts +30 -30
- package/lib/esm/appui-abstract/BaseUiItemsProvider.js +75 -75
- package/lib/esm/appui-abstract/BaseUiItemsProvider.js.map +1 -1
- package/lib/esm/appui-abstract/UiAdmin.d.ts +221 -221
- package/lib/esm/appui-abstract/UiAdmin.js +219 -219
- package/lib/esm/appui-abstract/UiAdmin.js.map +1 -1
- package/lib/esm/appui-abstract/UiItemsManager.d.ts +113 -113
- package/lib/esm/appui-abstract/UiItemsManager.js +189 -189
- package/lib/esm/appui-abstract/UiItemsManager.js.map +1 -1
- package/lib/esm/appui-abstract/UiItemsProvider.d.ts +29 -29
- package/lib/esm/appui-abstract/UiItemsProvider.js +8 -8
- package/lib/esm/appui-abstract/UiItemsProvider.js.map +1 -1
- package/lib/esm/appui-abstract/backstage/BackstageItem.d.ts +91 -91
- package/lib/esm/appui-abstract/backstage/BackstageItem.js +64 -64
- package/lib/esm/appui-abstract/backstage/BackstageItem.js.map +1 -1
- package/lib/esm/appui-abstract/backstage/BackstageItemsManager.d.ts +38 -38
- package/lib/esm/appui-abstract/backstage/BackstageItemsManager.js +129 -129
- package/lib/esm/appui-abstract/backstage/BackstageItemsManager.js.map +1 -1
- package/lib/esm/appui-abstract/common/KeyboardKey.d.ts +51 -51
- package/lib/esm/appui-abstract/common/KeyboardKey.js +59 -59
- package/lib/esm/appui-abstract/common/KeyboardKey.js.map +1 -1
- package/lib/esm/appui-abstract/content/ContentLayoutProps.d.ts +62 -62
- package/lib/esm/appui-abstract/content/ContentLayoutProps.js +8 -8
- package/lib/esm/appui-abstract/content/ContentLayoutProps.js.map +1 -1
- package/lib/esm/appui-abstract/content/StandardContentLayouts.d.ts +19 -19
- package/lib/esm/appui-abstract/content/StandardContentLayouts.js +104 -104
- package/lib/esm/appui-abstract/content/StandardContentLayouts.js.map +1 -1
- package/lib/esm/appui-abstract/dialogs/DialogItem.d.ts +76 -76
- package/lib/esm/appui-abstract/dialogs/DialogItem.js +63 -63
- package/lib/esm/appui-abstract/dialogs/DialogItem.js.map +1 -1
- package/lib/esm/appui-abstract/dialogs/UiDataProvider.d.ts +55 -55
- package/lib/esm/appui-abstract/dialogs/UiDataProvider.js +61 -61
- package/lib/esm/appui-abstract/dialogs/UiDataProvider.js.map +1 -1
- package/lib/esm/appui-abstract/dialogs/UiLayoutDataProvider.d.ts +97 -97
- package/lib/esm/appui-abstract/dialogs/UiLayoutDataProvider.js +170 -170
- package/lib/esm/appui-abstract/dialogs/UiLayoutDataProvider.js.map +1 -1
- package/lib/esm/appui-abstract/items/AbstractItemProps.d.ts +53 -53
- package/lib/esm/appui-abstract/items/AbstractItemProps.js +8 -8
- package/lib/esm/appui-abstract/items/AbstractItemProps.js.map +1 -1
- package/lib/esm/appui-abstract/items/AbstractMenuItemProps.d.ts +20 -20
- package/lib/esm/appui-abstract/items/AbstractMenuItemProps.js +8 -8
- package/lib/esm/appui-abstract/items/AbstractMenuItemProps.js.map +1 -1
- package/lib/esm/appui-abstract/items/AbstractToolbarProps.d.ts +13 -13
- package/lib/esm/appui-abstract/items/AbstractToolbarProps.js +8 -8
- package/lib/esm/appui-abstract/items/AbstractToolbarProps.js.map +1 -1
- package/lib/esm/appui-abstract/items/BadgeType.d.ts +14 -14
- package/lib/esm/appui-abstract/items/BadgeType.js +19 -19
- package/lib/esm/appui-abstract/items/BadgeType.js.map +1 -1
- package/lib/esm/appui-abstract/items/ConditionalBooleanValue.d.ts +27 -27
- package/lib/esm/appui-abstract/items/ConditionalBooleanValue.js +56 -56
- package/lib/esm/appui-abstract/items/ConditionalBooleanValue.js.map +1 -1
- package/lib/esm/appui-abstract/items/ConditionalStringValue.d.ts +29 -29
- package/lib/esm/appui-abstract/items/ConditionalStringValue.js +58 -58
- package/lib/esm/appui-abstract/items/ConditionalStringValue.js.map +1 -1
- package/lib/esm/appui-abstract/items/ProvidedItem.d.ts +11 -11
- package/lib/esm/appui-abstract/items/ProvidedItem.js +8 -8
- package/lib/esm/appui-abstract/items/ProvidedItem.js.map +1 -1
- package/lib/esm/appui-abstract/items/RelativePosition.d.ts +18 -18
- package/lib/esm/appui-abstract/items/RelativePosition.js +23 -23
- package/lib/esm/appui-abstract/items/RelativePosition.js.map +1 -1
- package/lib/esm/appui-abstract/items/StageUsage.d.ts +16 -16
- package/lib/esm/appui-abstract/items/StageUsage.js +21 -21
- package/lib/esm/appui-abstract/items/StageUsage.js.map +1 -1
- package/lib/esm/appui-abstract/notification/MessagePresenter.d.ts +42 -42
- package/lib/esm/appui-abstract/notification/MessagePresenter.js +21 -21
- package/lib/esm/appui-abstract/notification/MessagePresenter.js.map +1 -1
- package/lib/esm/appui-abstract/notification/MessageSeverity.d.ts +15 -15
- package/lib/esm/appui-abstract/notification/MessageSeverity.js +20 -20
- package/lib/esm/appui-abstract/notification/MessageSeverity.js.map +1 -1
- package/lib/esm/appui-abstract/properties/Description.d.ts +127 -127
- package/lib/esm/appui-abstract/properties/Description.js +192 -192
- package/lib/esm/appui-abstract/properties/Description.js.map +1 -1
- package/lib/esm/appui-abstract/properties/EditorParams.d.ts +260 -260
- package/lib/esm/appui-abstract/properties/EditorParams.js +97 -97
- package/lib/esm/appui-abstract/properties/EditorParams.js.map +1 -1
- package/lib/esm/appui-abstract/properties/PrimitiveTypes.d.ts +60 -60
- package/lib/esm/appui-abstract/properties/PrimitiveTypes.js +8 -8
- package/lib/esm/appui-abstract/properties/PrimitiveTypes.js.map +1 -1
- package/lib/esm/appui-abstract/properties/Record.d.ts +57 -57
- package/lib/esm/appui-abstract/properties/Record.js +74 -74
- package/lib/esm/appui-abstract/properties/Record.js.map +1 -1
- package/lib/esm/appui-abstract/properties/StandardEditorNames.d.ts +22 -22
- package/lib/esm/appui-abstract/properties/StandardEditorNames.js +27 -27
- package/lib/esm/appui-abstract/properties/StandardEditorNames.js.map +1 -1
- package/lib/esm/appui-abstract/properties/StandardTypeNames.d.ts +30 -30
- package/lib/esm/appui-abstract/properties/StandardTypeNames.js +36 -36
- package/lib/esm/appui-abstract/properties/StandardTypeNames.js.map +1 -1
- package/lib/esm/appui-abstract/properties/Value.d.ts +49 -49
- package/lib/esm/appui-abstract/properties/Value.js +17 -17
- package/lib/esm/appui-abstract/properties/Value.js.map +1 -1
- package/lib/esm/appui-abstract/quantity/BaseQuantityDescription.d.ts +22 -22
- package/lib/esm/appui-abstract/quantity/BaseQuantityDescription.js +44 -44
- package/lib/esm/appui-abstract/quantity/BaseQuantityDescription.js.map +1 -1
- package/lib/esm/appui-abstract/statusbar/StatusBarItem.d.ts +128 -128
- package/lib/esm/appui-abstract/statusbar/StatusBarItem.js +80 -80
- package/lib/esm/appui-abstract/statusbar/StatusBarItem.js.map +1 -1
- package/lib/esm/appui-abstract/statusbar/StatusBarItemsManager.d.ts +39 -39
- package/lib/esm/appui-abstract/statusbar/StatusBarItemsManager.js +131 -131
- package/lib/esm/appui-abstract/statusbar/StatusBarItemsManager.js.map +1 -1
- package/lib/esm/appui-abstract/toolbars/ToolbarItem.d.ts +121 -121
- package/lib/esm/appui-abstract/toolbars/ToolbarItem.js +60 -60
- package/lib/esm/appui-abstract/toolbars/ToolbarItem.js.map +1 -1
- package/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.d.ts +45 -45
- package/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.js +231 -231
- package/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.js.map +1 -1
- package/lib/esm/appui-abstract/utils/IconSpecUtilities.d.ts +29 -29
- package/lib/esm/appui-abstract/utils/IconSpecUtilities.js +47 -47
- package/lib/esm/appui-abstract/utils/IconSpecUtilities.js.map +1 -1
- package/lib/esm/appui-abstract/utils/PointProps.d.ts +10 -10
- package/lib/esm/appui-abstract/utils/PointProps.js +8 -8
- package/lib/esm/appui-abstract/utils/PointProps.js.map +1 -1
- package/lib/esm/appui-abstract/utils/UiError.d.ts +12 -12
- package/lib/esm/appui-abstract/utils/UiError.js +18 -18
- package/lib/esm/appui-abstract/utils/UiError.js.map +1 -1
- package/lib/esm/appui-abstract/utils/UiEvent.d.ts +9 -9
- package/lib/esm/appui-abstract/utils/UiEvent.js +13 -13
- package/lib/esm/appui-abstract/utils/UiEvent.js.map +1 -1
- package/lib/esm/appui-abstract/utils/UiEventDispatcher.d.ts +46 -46
- package/lib/esm/appui-abstract/utils/UiEventDispatcher.js +126 -126
- package/lib/esm/appui-abstract/utils/UiEventDispatcher.js.map +1 -1
- package/lib/esm/appui-abstract/utils/callbacks.d.ts +20 -20
- package/lib/esm/appui-abstract/utils/callbacks.js +8 -8
- package/lib/esm/appui-abstract/utils/callbacks.js.map +1 -1
- package/lib/esm/appui-abstract/utils/filter/charCode.d.ts +416 -416
- package/lib/esm/appui-abstract/utils/filter/charCode.js +5 -5
- package/lib/esm/appui-abstract/utils/filter/charCode.js.map +1 -1
- package/lib/esm/appui-abstract/utils/filter/filters.d.ts +98 -98
- package/lib/esm/appui-abstract/utils/filter/filters.js +694 -694
- package/lib/esm/appui-abstract/utils/filter/filters.js.map +1 -1
- package/lib/esm/appui-abstract/utils/filter/map.d.ts +59 -59
- package/lib/esm/appui-abstract/utils/filter/map.js +397 -397
- package/lib/esm/appui-abstract/utils/filter/map.js.map +1 -1
- package/lib/esm/appui-abstract/utils/filter/strings.d.ts +20 -20
- package/lib/esm/appui-abstract/utils/filter/strings.js +70 -70
- package/lib/esm/appui-abstract/utils/filter/strings.js.map +1 -1
- package/lib/esm/appui-abstract/utils/isLetter.d.ts +9 -9
- package/lib/esm/appui-abstract/utils/isLetter.js +15 -15
- package/lib/esm/appui-abstract/utils/isLetter.js.map +1 -1
- package/lib/esm/appui-abstract/utils/misc.d.ts +11 -11
- package/lib/esm/appui-abstract/utils/misc.js +31 -31
- package/lib/esm/appui-abstract/utils/misc.js.map +1 -1
- package/lib/esm/appui-abstract/widget/AbstractWidgetProps.d.ts +86 -86
- package/lib/esm/appui-abstract/widget/AbstractWidgetProps.js +8 -8
- package/lib/esm/appui-abstract/widget/AbstractWidgetProps.js.map +1 -1
- package/lib/esm/appui-abstract/widget/StagePanel.d.ts +36 -36
- package/lib/esm/appui-abstract/widget/StagePanel.js +43 -43
- package/lib/esm/appui-abstract/widget/StagePanel.js.map +1 -1
- package/lib/esm/appui-abstract/widget/WidgetState.d.ts +19 -19
- package/lib/esm/appui-abstract/widget/WidgetState.js +24 -24
- package/lib/esm/appui-abstract/widget/WidgetState.js.map +1 -1
- package/lib/esm/appui-abstract.d.ts +103 -103
- package/lib/esm/appui-abstract.js +107 -107
- package/lib/esm/appui-abstract.js.map +1 -1
- package/package.json +4 -4
@@ -1,122 +1,122 @@
|
|
1
|
-
/** @packageDocumentation
|
2
|
-
* @module Toolbar
|
3
|
-
*/
|
4
|
-
import { BadgeType } from "../items/BadgeType";
|
5
|
-
import { ConditionalBooleanValue } from "../items/ConditionalBooleanValue";
|
6
|
-
import { ConditionalStringValue } from "../items/ConditionalStringValue";
|
7
|
-
import { ProvidedItem } from "../items/ProvidedItem";
|
8
|
-
/** Used to specify the usage of the toolbar which determine the toolbar position.
|
9
|
-
* @deprecated in 3.6. Use [ToolbarUsage]($appui-react) instead.
|
10
|
-
* @public
|
11
|
-
*/
|
12
|
-
export declare enum ToolbarUsage {
|
13
|
-
/** Contains tools to Create Update and Delete content - in ninezone this is in top left of content area. */
|
14
|
-
ContentManipulation = 0,
|
15
|
-
/** Manipulate view/camera - in ninezone this is in top right of content area. */
|
16
|
-
ViewNavigation = 1
|
17
|
-
}
|
18
|
-
/** Used to specify the orientation of the toolbar.
|
19
|
-
* @deprecated in 3.6. Use [ToolbarOrientation]($appui-react) instead.
|
20
|
-
* @public
|
21
|
-
*/
|
22
|
-
export declare enum ToolbarOrientation {
|
23
|
-
/** Horizontal toolbar. */
|
24
|
-
Horizontal = 0,
|
25
|
-
/** Vertical toolbar. */
|
26
|
-
Vertical = 1
|
27
|
-
}
|
28
|
-
/** Describes the data needed to insert a UI items into an existing set of UI items.
|
29
|
-
* @public
|
30
|
-
*/
|
31
|
-
export interface ToolbarItem extends ProvidedItem {
|
32
|
-
/** can be used by application to store miscellaneous data. */
|
33
|
-
readonly applicationData?: any;
|
34
|
-
/** Describes badge. Renders no badge if not specified. */
|
35
|
-
readonly badgeType?: BadgeType;
|
36
|
-
/** Optional description */
|
37
|
-
readonly description?: string | ConditionalStringValue;
|
38
|
-
/** Require uniqueId for the item. To ensure uniqueness it is suggested that a namespace prefix of the extension name be used. */
|
39
|
-
readonly id: string;
|
40
|
-
/** optional data to used by item implementor. */
|
41
|
-
readonly internalData?: Map<string, any>;
|
42
|
-
/** Defines if the item is active (shown with an active stripe/bar). */
|
43
|
-
readonly isActive?: boolean;
|
44
|
-
/** Describes if the item is visible or hidden. The default is for the item to be visible. */
|
45
|
-
readonly isHidden?: boolean | ConditionalBooleanValue;
|
46
|
-
/** Describes if the item is enabled or disabled. The default is for the item to be enabled. */
|
47
|
-
readonly isDisabled?: boolean | ConditionalBooleanValue;
|
48
|
-
/** Describes if the item should appear pressed (used for displaying toggle state). This property is NOT used by Toolbars
|
49
|
-
* constructed using the `ToolbarWithOverflow` component, which are used in AppUi 2.0 and later. For these later toolbars
|
50
|
-
* the icon is usually changed to denote the state of a toggle.
|
51
|
-
*/
|
52
|
-
readonly isPressed?: boolean;
|
53
|
-
/** Specifies the item's grouping value. Items are sorted by group and then item priority. When
|
54
|
-
* group priority changes a separator is inserted. It is recommended using values 10 through 100, incrementing by 10. This
|
55
|
-
* allows extensions enough gaps to insert their own groups. If the value is not specified a groupPriority of 0 is used.
|
56
|
-
*/
|
57
|
-
readonly groupPriority?: number;
|
58
|
-
/** Priority within a toolbar or group. */
|
59
|
-
readonly itemPriority: number;
|
60
|
-
/** Optional parent tool group to add tool. */
|
61
|
-
readonly parentToolGroupId?: string;
|
62
|
-
}
|
63
|
-
/** Describes the data needed to insert an action button into a toolbar.
|
64
|
-
* @public
|
65
|
-
*/
|
66
|
-
export interface ActionButton extends ToolbarItem {
|
67
|
-
/** Name of icon WebFont entry or if specifying an imported SVG symbol use "webSvg:" prefix to imported symbol Id. */
|
68
|
-
readonly icon: string | ConditionalStringValue;
|
69
|
-
/** label, shown as tool tip on a button or an item label in a group. */
|
70
|
-
readonly label: string | ConditionalStringValue;
|
71
|
-
/** function to run when the button is pressed. */
|
72
|
-
readonly execute: () => void;
|
73
|
-
}
|
74
|
-
/** Describes the data needed to insert a group button into a toolbar.
|
75
|
-
* @public
|
76
|
-
*/
|
77
|
-
export interface GroupButton extends ToolbarItem {
|
78
|
-
/** Name of icon WebFont entry or if specifying an imported SVG symbol use "webSvg:" prefix to imported symbol Id. */
|
79
|
-
readonly icon: string | ConditionalStringValue;
|
80
|
-
/** label, shown as tool tip on group button or a group button label in a group panel. */
|
81
|
-
readonly label: string | ConditionalStringValue;
|
82
|
-
/** label shown as the title in at top of group panel. */
|
83
|
-
readonly panelLabel?: string | ConditionalStringValue;
|
84
|
-
/** children of the group */
|
85
|
-
readonly items: ReadonlyArray<ActionButton | GroupButton>;
|
86
|
-
}
|
87
|
-
/** Describes the data needed to insert a custom button into a toolbar.
|
88
|
-
* @public
|
89
|
-
*/
|
90
|
-
export interface CustomButtonDefinition extends ToolbarItem {
|
91
|
-
/** Name of icon WebFont entry or if specifying an imported SVG symbol use "webSvg:" prefix to imported symbol Id. */
|
92
|
-
readonly icon?: string | ConditionalStringValue;
|
93
|
-
/** label, shown as tool tip on group button or a group button label in a group panel. */
|
94
|
-
readonly label?: string | ConditionalStringValue;
|
95
|
-
/** parameter that marks data as being a custom definition. */
|
96
|
-
readonly isCustom: true;
|
97
|
-
}
|
98
|
-
/** Any Button Type that can be inserted into a toolbar.
|
99
|
-
* @public
|
100
|
-
*/
|
101
|
-
export declare type CommonToolbarItem = ActionButton | GroupButton | CustomButtonDefinition;
|
102
|
-
/** Type for Toolbar Item Id
|
103
|
-
* @deprecated in 3.6. Please use `ToolbarItem["id"]` from @itwin/appui-react.
|
104
|
-
* @public
|
105
|
-
*/
|
106
|
-
export declare type ToolbarItemId = CommonToolbarItem["id"];
|
107
|
-
/** Helper class to create Abstract StatusBar Item definitions.
|
108
|
-
* @public
|
109
|
-
*/
|
110
|
-
export declare class ToolbarItemUtilities {
|
111
|
-
/** Creates an Action Button */
|
112
|
-
static createActionButton: (id: string, itemPriority: number, icon: string | ConditionalStringValue, label: string | ConditionalStringValue, execute: () => void, overrides?: Partial<ActionButton> | undefined) => ActionButton;
|
113
|
-
/** Creates a Group button. */
|
114
|
-
static createGroupButton: (id: string, itemPriority: number, icon: string | ConditionalStringValue, label: string | ConditionalStringValue, items: ReadonlyArray<ActionButton | GroupButton>, overrides?: Partial<GroupButton> | undefined) => GroupButton;
|
115
|
-
/** ActionButton type guard. */
|
116
|
-
static isActionButton(item: CommonToolbarItem): item is ActionButton;
|
117
|
-
/** GroupButton type guard. */
|
118
|
-
static isGroupButton(item: CommonToolbarItem): item is GroupButton;
|
119
|
-
/** CustomButtonDefinition type guard. */
|
120
|
-
static isCustomDefinition(item: CommonToolbarItem): item is CustomButtonDefinition;
|
121
|
-
}
|
1
|
+
/** @packageDocumentation
|
2
|
+
* @module Toolbar
|
3
|
+
*/
|
4
|
+
import { BadgeType } from "../items/BadgeType";
|
5
|
+
import { ConditionalBooleanValue } from "../items/ConditionalBooleanValue";
|
6
|
+
import { ConditionalStringValue } from "../items/ConditionalStringValue";
|
7
|
+
import { ProvidedItem } from "../items/ProvidedItem";
|
8
|
+
/** Used to specify the usage of the toolbar which determine the toolbar position.
|
9
|
+
* @deprecated in 3.6. Use [ToolbarUsage]($appui-react) instead.
|
10
|
+
* @public
|
11
|
+
*/
|
12
|
+
export declare enum ToolbarUsage {
|
13
|
+
/** Contains tools to Create Update and Delete content - in ninezone this is in top left of content area. */
|
14
|
+
ContentManipulation = 0,
|
15
|
+
/** Manipulate view/camera - in ninezone this is in top right of content area. */
|
16
|
+
ViewNavigation = 1
|
17
|
+
}
|
18
|
+
/** Used to specify the orientation of the toolbar.
|
19
|
+
* @deprecated in 3.6. Use [ToolbarOrientation]($appui-react) instead.
|
20
|
+
* @public
|
21
|
+
*/
|
22
|
+
export declare enum ToolbarOrientation {
|
23
|
+
/** Horizontal toolbar. */
|
24
|
+
Horizontal = 0,
|
25
|
+
/** Vertical toolbar. */
|
26
|
+
Vertical = 1
|
27
|
+
}
|
28
|
+
/** Describes the data needed to insert a UI items into an existing set of UI items.
|
29
|
+
* @public
|
30
|
+
*/
|
31
|
+
export interface ToolbarItem extends ProvidedItem {
|
32
|
+
/** can be used by application to store miscellaneous data. */
|
33
|
+
readonly applicationData?: any;
|
34
|
+
/** Describes badge. Renders no badge if not specified. */
|
35
|
+
readonly badgeType?: BadgeType;
|
36
|
+
/** Optional description */
|
37
|
+
readonly description?: string | ConditionalStringValue;
|
38
|
+
/** Require uniqueId for the item. To ensure uniqueness it is suggested that a namespace prefix of the extension name be used. */
|
39
|
+
readonly id: string;
|
40
|
+
/** optional data to used by item implementor. */
|
41
|
+
readonly internalData?: Map<string, any>;
|
42
|
+
/** Defines if the item is active (shown with an active stripe/bar). */
|
43
|
+
readonly isActive?: boolean;
|
44
|
+
/** Describes if the item is visible or hidden. The default is for the item to be visible. */
|
45
|
+
readonly isHidden?: boolean | ConditionalBooleanValue;
|
46
|
+
/** Describes if the item is enabled or disabled. The default is for the item to be enabled. */
|
47
|
+
readonly isDisabled?: boolean | ConditionalBooleanValue;
|
48
|
+
/** Describes if the item should appear pressed (used for displaying toggle state). This property is NOT used by Toolbars
|
49
|
+
* constructed using the `ToolbarWithOverflow` component, which are used in AppUi 2.0 and later. For these later toolbars
|
50
|
+
* the icon is usually changed to denote the state of a toggle.
|
51
|
+
*/
|
52
|
+
readonly isPressed?: boolean;
|
53
|
+
/** Specifies the item's grouping value. Items are sorted by group and then item priority. When
|
54
|
+
* group priority changes a separator is inserted. It is recommended using values 10 through 100, incrementing by 10. This
|
55
|
+
* allows extensions enough gaps to insert their own groups. If the value is not specified a groupPriority of 0 is used.
|
56
|
+
*/
|
57
|
+
readonly groupPriority?: number;
|
58
|
+
/** Priority within a toolbar or group. */
|
59
|
+
readonly itemPriority: number;
|
60
|
+
/** Optional parent tool group to add tool. */
|
61
|
+
readonly parentToolGroupId?: string;
|
62
|
+
}
|
63
|
+
/** Describes the data needed to insert an action button into a toolbar.
|
64
|
+
* @public
|
65
|
+
*/
|
66
|
+
export interface ActionButton extends ToolbarItem {
|
67
|
+
/** Name of icon WebFont entry or if specifying an imported SVG symbol use "webSvg:" prefix to imported symbol Id. */
|
68
|
+
readonly icon: string | ConditionalStringValue;
|
69
|
+
/** label, shown as tool tip on a button or an item label in a group. */
|
70
|
+
readonly label: string | ConditionalStringValue;
|
71
|
+
/** function to run when the button is pressed. */
|
72
|
+
readonly execute: () => void;
|
73
|
+
}
|
74
|
+
/** Describes the data needed to insert a group button into a toolbar.
|
75
|
+
* @public
|
76
|
+
*/
|
77
|
+
export interface GroupButton extends ToolbarItem {
|
78
|
+
/** Name of icon WebFont entry or if specifying an imported SVG symbol use "webSvg:" prefix to imported symbol Id. */
|
79
|
+
readonly icon: string | ConditionalStringValue;
|
80
|
+
/** label, shown as tool tip on group button or a group button label in a group panel. */
|
81
|
+
readonly label: string | ConditionalStringValue;
|
82
|
+
/** label shown as the title in at top of group panel. */
|
83
|
+
readonly panelLabel?: string | ConditionalStringValue;
|
84
|
+
/** children of the group */
|
85
|
+
readonly items: ReadonlyArray<ActionButton | GroupButton>;
|
86
|
+
}
|
87
|
+
/** Describes the data needed to insert a custom button into a toolbar.
|
88
|
+
* @public
|
89
|
+
*/
|
90
|
+
export interface CustomButtonDefinition extends ToolbarItem {
|
91
|
+
/** Name of icon WebFont entry or if specifying an imported SVG symbol use "webSvg:" prefix to imported symbol Id. */
|
92
|
+
readonly icon?: string | ConditionalStringValue;
|
93
|
+
/** label, shown as tool tip on group button or a group button label in a group panel. */
|
94
|
+
readonly label?: string | ConditionalStringValue;
|
95
|
+
/** parameter that marks data as being a custom definition. */
|
96
|
+
readonly isCustom: true;
|
97
|
+
}
|
98
|
+
/** Any Button Type that can be inserted into a toolbar.
|
99
|
+
* @public
|
100
|
+
*/
|
101
|
+
export declare type CommonToolbarItem = ActionButton | GroupButton | CustomButtonDefinition;
|
102
|
+
/** Type for Toolbar Item Id
|
103
|
+
* @deprecated in 3.6. Please use `ToolbarItem["id"]` from @itwin/appui-react.
|
104
|
+
* @public
|
105
|
+
*/
|
106
|
+
export declare type ToolbarItemId = CommonToolbarItem["id"];
|
107
|
+
/** Helper class to create Abstract StatusBar Item definitions.
|
108
|
+
* @public
|
109
|
+
*/
|
110
|
+
export declare class ToolbarItemUtilities {
|
111
|
+
/** Creates an Action Button */
|
112
|
+
static createActionButton: (id: string, itemPriority: number, icon: string | ConditionalStringValue, label: string | ConditionalStringValue, execute: () => void, overrides?: Partial<ActionButton> | undefined) => ActionButton;
|
113
|
+
/** Creates a Group button. */
|
114
|
+
static createGroupButton: (id: string, itemPriority: number, icon: string | ConditionalStringValue, label: string | ConditionalStringValue, items: ReadonlyArray<ActionButton | GroupButton>, overrides?: Partial<GroupButton> | undefined) => GroupButton;
|
115
|
+
/** ActionButton type guard. */
|
116
|
+
static isActionButton(item: CommonToolbarItem): item is ActionButton;
|
117
|
+
/** GroupButton type guard. */
|
118
|
+
static isGroupButton(item: CommonToolbarItem): item is GroupButton;
|
119
|
+
/** CustomButtonDefinition type guard. */
|
120
|
+
static isCustomDefinition(item: CommonToolbarItem): item is CustomButtonDefinition;
|
121
|
+
}
|
122
122
|
//# sourceMappingURL=ToolbarItem.d.ts.map
|
@@ -1,65 +1,65 @@
|
|
1
|
-
"use strict";
|
2
|
-
/*---------------------------------------------------------------------------------------------
|
3
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
4
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
5
|
-
*--------------------------------------------------------------------------------------------*/
|
6
|
-
/** @packageDocumentation
|
7
|
-
* @module Toolbar
|
8
|
-
*/
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
-
exports.ToolbarItemUtilities = exports.ToolbarOrientation = exports.ToolbarUsage = void 0;
|
11
|
-
/** Used to specify the usage of the toolbar which determine the toolbar position.
|
12
|
-
* @deprecated in 3.6. Use [ToolbarUsage]($appui-react) instead.
|
13
|
-
* @public
|
14
|
-
*/
|
15
|
-
var ToolbarUsage;
|
16
|
-
(function (ToolbarUsage) {
|
17
|
-
/** Contains tools to Create Update and Delete content - in ninezone this is in top left of content area. */
|
18
|
-
ToolbarUsage[ToolbarUsage["ContentManipulation"] = 0] = "ContentManipulation";
|
19
|
-
/** Manipulate view/camera - in ninezone this is in top right of content area. */
|
20
|
-
ToolbarUsage[ToolbarUsage["ViewNavigation"] = 1] = "ViewNavigation";
|
21
|
-
})(ToolbarUsage = exports.ToolbarUsage || (exports.ToolbarUsage = {}));
|
22
|
-
/** Used to specify the orientation of the toolbar.
|
23
|
-
* @deprecated in 3.6. Use [ToolbarOrientation]($appui-react) instead.
|
24
|
-
* @public
|
25
|
-
*/
|
26
|
-
var ToolbarOrientation;
|
27
|
-
(function (ToolbarOrientation) {
|
28
|
-
/** Horizontal toolbar. */
|
29
|
-
ToolbarOrientation[ToolbarOrientation["Horizontal"] = 0] = "Horizontal";
|
30
|
-
/** Vertical toolbar. */
|
31
|
-
ToolbarOrientation[ToolbarOrientation["Vertical"] = 1] = "Vertical";
|
32
|
-
})(ToolbarOrientation = exports.ToolbarOrientation || (exports.ToolbarOrientation = {}));
|
33
|
-
/** Helper class to create Abstract StatusBar Item definitions.
|
34
|
-
* @public
|
35
|
-
*/
|
36
|
-
class ToolbarItemUtilities {
|
37
|
-
/** ActionButton type guard. */
|
38
|
-
static isActionButton(item) {
|
39
|
-
return item.execute !== undefined;
|
40
|
-
}
|
41
|
-
/** GroupButton type guard. */
|
42
|
-
static isGroupButton(item) {
|
43
|
-
return item.items !== undefined;
|
44
|
-
}
|
45
|
-
/** CustomButtonDefinition type guard. */
|
46
|
-
static isCustomDefinition(item) {
|
47
|
-
return !!item.isCustom;
|
48
|
-
}
|
49
|
-
}
|
50
|
-
exports.ToolbarItemUtilities = ToolbarItemUtilities;
|
51
|
-
/** Creates an Action Button */
|
52
|
-
ToolbarItemUtilities.createActionButton = (id, itemPriority, icon, label, execute, overrides) => ({
|
53
|
-
id, itemPriority,
|
54
|
-
icon, label,
|
55
|
-
execute,
|
56
|
-
...overrides,
|
57
|
-
});
|
58
|
-
/** Creates a Group button. */
|
59
|
-
ToolbarItemUtilities.createGroupButton = (id, itemPriority, icon, label, items, overrides) => ({
|
60
|
-
id, itemPriority,
|
61
|
-
icon, label,
|
62
|
-
items,
|
63
|
-
...overrides,
|
64
|
-
});
|
1
|
+
"use strict";
|
2
|
+
/*---------------------------------------------------------------------------------------------
|
3
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
4
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
5
|
+
*--------------------------------------------------------------------------------------------*/
|
6
|
+
/** @packageDocumentation
|
7
|
+
* @module Toolbar
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
exports.ToolbarItemUtilities = exports.ToolbarOrientation = exports.ToolbarUsage = void 0;
|
11
|
+
/** Used to specify the usage of the toolbar which determine the toolbar position.
|
12
|
+
* @deprecated in 3.6. Use [ToolbarUsage]($appui-react) instead.
|
13
|
+
* @public
|
14
|
+
*/
|
15
|
+
var ToolbarUsage;
|
16
|
+
(function (ToolbarUsage) {
|
17
|
+
/** Contains tools to Create Update and Delete content - in ninezone this is in top left of content area. */
|
18
|
+
ToolbarUsage[ToolbarUsage["ContentManipulation"] = 0] = "ContentManipulation";
|
19
|
+
/** Manipulate view/camera - in ninezone this is in top right of content area. */
|
20
|
+
ToolbarUsage[ToolbarUsage["ViewNavigation"] = 1] = "ViewNavigation";
|
21
|
+
})(ToolbarUsage = exports.ToolbarUsage || (exports.ToolbarUsage = {}));
|
22
|
+
/** Used to specify the orientation of the toolbar.
|
23
|
+
* @deprecated in 3.6. Use [ToolbarOrientation]($appui-react) instead.
|
24
|
+
* @public
|
25
|
+
*/
|
26
|
+
var ToolbarOrientation;
|
27
|
+
(function (ToolbarOrientation) {
|
28
|
+
/** Horizontal toolbar. */
|
29
|
+
ToolbarOrientation[ToolbarOrientation["Horizontal"] = 0] = "Horizontal";
|
30
|
+
/** Vertical toolbar. */
|
31
|
+
ToolbarOrientation[ToolbarOrientation["Vertical"] = 1] = "Vertical";
|
32
|
+
})(ToolbarOrientation = exports.ToolbarOrientation || (exports.ToolbarOrientation = {}));
|
33
|
+
/** Helper class to create Abstract StatusBar Item definitions.
|
34
|
+
* @public
|
35
|
+
*/
|
36
|
+
class ToolbarItemUtilities {
|
37
|
+
/** ActionButton type guard. */
|
38
|
+
static isActionButton(item) {
|
39
|
+
return item.execute !== undefined;
|
40
|
+
}
|
41
|
+
/** GroupButton type guard. */
|
42
|
+
static isGroupButton(item) {
|
43
|
+
return item.items !== undefined;
|
44
|
+
}
|
45
|
+
/** CustomButtonDefinition type guard. */
|
46
|
+
static isCustomDefinition(item) {
|
47
|
+
return !!item.isCustom;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
exports.ToolbarItemUtilities = ToolbarItemUtilities;
|
51
|
+
/** Creates an Action Button */
|
52
|
+
ToolbarItemUtilities.createActionButton = (id, itemPriority, icon, label, execute, overrides) => ({
|
53
|
+
id, itemPriority,
|
54
|
+
icon, label,
|
55
|
+
execute,
|
56
|
+
...overrides,
|
57
|
+
});
|
58
|
+
/** Creates a Group button. */
|
59
|
+
ToolbarItemUtilities.createGroupButton = (id, itemPriority, icon, label, items, overrides) => ({
|
60
|
+
id, itemPriority,
|
61
|
+
icon, label,
|
62
|
+
items,
|
63
|
+
...overrides,
|
64
|
+
});
|
65
65
|
//# sourceMappingURL=ToolbarItem.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ToolbarItem.js","sourceRoot":"","sources":["../../../../src/appui-abstract/toolbars/ToolbarItem.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAOH;;;GAGG;AACH,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,4GAA4G;IAC5G,6EAAuB,CAAA;IACvB,iFAAiF;IACjF,mEAAkB,CAAA;AACpB,CAAC,EALW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAKvB;AAED;;;GAGG;AACH,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,0BAA0B;IAC1B,uEAAc,CAAA;IACd,wBAAwB;IACxB,mEAAY,CAAA;AACd,CAAC,EALW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAK7B;AAuFD;;GAEG;AACH,MAAa,oBAAoB;IAiB/B,+BAA+B;IACxB,MAAM,CAAC,cAAc,CAAC,IAAuB;QAClD,OAAQ,IAAqB,CAAC,OAAO,KAAK,SAAS,CAAC;IACtD,CAAC;IAED,8BAA8B;IACvB,MAAM,CAAC,aAAa,CAAC,IAAuB;QACjD,OAAQ,IAAoB,CAAC,KAAK,KAAK,SAAS,CAAC;IACnD,CAAC;IAED,yCAAyC;IAClC,MAAM,CAAC,kBAAkB,CAAC,IAAuB;QACtD,OAAO,CAAC,CAAE,IAA+B,CAAC,QAAQ,CAAC;IACrD,CAAC;;AA9BH,oDA+BC;AA9BC,+BAA+B;AACjB,uCAAkB,GAAG,CAAC,EAAU,EAAE,YAAoB,EAAE,IAAqC,EAAE,KAAsC,EAAE,OAAmB,EAAE,SAAiC,EAAgB,EAAE,CAAC,CAAC;IAC7N,EAAE,EAAE,YAAY;IAChB,IAAI,EAAE,KAAK;IACX,OAAO;IACP,GAAG,SAAS;CACb,CAAC,CAAC;AAEH,8BAA8B;AAChB,sCAAiB,GAAG,CAAC,EAAU,EAAE,YAAoB,EAAE,IAAqC,EAAE,KAAsC,EAAE,KAAgD,EAAE,SAAgC,EAAe,EAAE,CAAC,CAAC;IACvP,EAAE,EAAE,YAAY;IAChB,IAAI,EAAE,KAAK;IACX,KAAK;IACL,GAAG,SAAS;CACb,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Toolbar\n */\n\nimport { BadgeType } from \"../items/BadgeType\";\nimport { ConditionalBooleanValue } from \"../items/ConditionalBooleanValue\";\nimport { ConditionalStringValue } from \"../items/ConditionalStringValue\";\nimport { ProvidedItem } from \"../items/ProvidedItem\";\n\n/** Used to specify the usage of the toolbar which determine the toolbar position.\n * @deprecated in 3.6. Use [ToolbarUsage]($appui-react) instead.\n * @public\n */\nexport enum ToolbarUsage {\n /** Contains tools to Create Update and Delete content - in ninezone this is in top left of content area. */\n ContentManipulation = 0,\n /** Manipulate view/camera - in ninezone this is in top right of content area. */\n ViewNavigation = 1,\n}\n\n/** Used to specify the orientation of the toolbar.\n * @deprecated in 3.6. Use [ToolbarOrientation]($appui-react) instead.\n * @public\n */\nexport enum ToolbarOrientation {\n /** Horizontal toolbar. */\n Horizontal = 0,\n /** Vertical toolbar. */\n Vertical = 1,\n}\n\n/** Describes the data needed to insert a UI items into an existing set of UI items.\n * @public\n */\nexport interface ToolbarItem extends ProvidedItem { // eslint-disable-line deprecation/deprecation\n /** can be used by application to store miscellaneous data. */\n readonly applicationData?: any;\n /** Describes badge. Renders no badge if not specified. */\n readonly badgeType?: BadgeType;\n /** Optional description */\n readonly description?: string | ConditionalStringValue;\n /** Require uniqueId for the item. To ensure uniqueness it is suggested that a namespace prefix of the extension name be used. */\n readonly id: string;\n /** optional data to used by item implementor. */\n readonly internalData?: Map<string, any>;\n /** Defines if the item is active (shown with an active stripe/bar). */\n readonly isActive?: boolean;\n /** Describes if the item is visible or hidden. The default is for the item to be visible. */\n readonly isHidden?: boolean | ConditionalBooleanValue;\n /** Describes if the item is enabled or disabled. The default is for the item to be enabled. */\n readonly isDisabled?: boolean | ConditionalBooleanValue;\n /** Describes if the item should appear pressed (used for displaying toggle state). This property is NOT used by Toolbars\n * constructed using the `ToolbarWithOverflow` component, which are used in AppUi 2.0 and later. For these later toolbars\n * the icon is usually changed to denote the state of a toggle.\n */\n readonly isPressed?: boolean;\n /** Specifies the item's grouping value. Items are sorted by group and then item priority. When\n * group priority changes a separator is inserted. It is recommended using values 10 through 100, incrementing by 10. This\n * allows extensions enough gaps to insert their own groups. If the value is not specified a groupPriority of 0 is used.\n */\n readonly groupPriority?: number;\n /** Priority within a toolbar or group. */\n readonly itemPriority: number;\n /** Optional parent tool group to add tool. */\n readonly parentToolGroupId?: string;\n}\n\n/** Describes the data needed to insert an action button into a toolbar.\n * @public\n */\nexport interface ActionButton extends ToolbarItem {\n /** Name of icon WebFont entry or if specifying an imported SVG symbol use \"webSvg:\" prefix to imported symbol Id. */\n readonly icon: string | ConditionalStringValue;\n /** label, shown as tool tip on a button or an item label in a group. */\n readonly label: string | ConditionalStringValue;\n /** function to run when the button is pressed. */\n readonly execute: () => void;\n}\n\n/** Describes the data needed to insert a group button into a toolbar.\n * @public\n */\nexport interface GroupButton extends ToolbarItem {\n /** Name of icon WebFont entry or if specifying an imported SVG symbol use \"webSvg:\" prefix to imported symbol Id. */\n readonly icon: string | ConditionalStringValue;\n /** label, shown as tool tip on group button or a group button label in a group panel. */\n readonly label: string | ConditionalStringValue;\n /** label shown as the title in at top of group panel. */\n readonly panelLabel?: string | ConditionalStringValue;\n /** children of the group */\n readonly items: ReadonlyArray<ActionButton | GroupButton>; // eslint-disable-line deprecation/deprecation\n}\n\n/** Describes the data needed to insert a custom button into a toolbar.\n * @public\n */\nexport interface CustomButtonDefinition extends ToolbarItem {\n /** Name of icon WebFont entry or if specifying an imported SVG symbol use \"webSvg:\" prefix to imported symbol Id. */\n readonly icon?: string | ConditionalStringValue;\n /** label, shown as tool tip on group button or a group button label in a group panel. */\n readonly label?: string | ConditionalStringValue;\n /** parameter that marks data as being a custom definition. */\n readonly isCustom: true;\n}\n\n/** Any Button Type that can be inserted into a toolbar.\n * @public\n */\nexport type CommonToolbarItem = ActionButton | GroupButton | CustomButtonDefinition;\n\n/** Type for Toolbar Item Id\n * @deprecated in 3.6. Please use `ToolbarItem[\"id\"]` from @itwin/appui-react.\n * @public\n */\nexport type ToolbarItemId = CommonToolbarItem[\"id\"]; // eslint-disable-line deprecation/deprecation\n\n/** Helper class to create Abstract StatusBar Item definitions.\n * @public\n */\nexport class ToolbarItemUtilities {\n /** Creates an Action Button */\n public static createActionButton = (id: string, itemPriority: number, icon: string | ConditionalStringValue, label: string | ConditionalStringValue, execute: () => void, overrides?: Partial<ActionButton>): ActionButton => ({\n id, itemPriority,\n icon, label,\n execute,\n ...overrides,\n });\n\n /** Creates a Group button. */\n public static createGroupButton = (id: string, itemPriority: number, icon: string | ConditionalStringValue, label: string | ConditionalStringValue, items: ReadonlyArray<ActionButton | GroupButton>, overrides?: Partial<GroupButton>): GroupButton => ({\n id, itemPriority,\n icon, label,\n items,\n ...overrides,\n });\n\n /** ActionButton type guard. */\n public static isActionButton(item: CommonToolbarItem): item is ActionButton {\n return (item as ActionButton).execute !== undefined;\n }\n\n /** GroupButton type guard. */\n public static isGroupButton(item: CommonToolbarItem): item is GroupButton {\n return (item as GroupButton).items !== undefined;\n }\n\n /** CustomButtonDefinition type guard. */\n public static isCustomDefinition(item: CommonToolbarItem): item is CustomButtonDefinition {\n return !!(item as CustomButtonDefinition).isCustom;\n }\n}\n"]}
|
1
|
+
{"version":3,"file":"ToolbarItem.js","sourceRoot":"","sources":["../../../../src/appui-abstract/toolbars/ToolbarItem.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAOH;;;GAGG;AACH,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,4GAA4G;IAC5G,6EAAuB,CAAA;IACvB,iFAAiF;IACjF,mEAAkB,CAAA;AACpB,CAAC,EALW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAKvB;AAED;;;GAGG;AACH,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,0BAA0B;IAC1B,uEAAc,CAAA;IACd,wBAAwB;IACxB,mEAAY,CAAA;AACd,CAAC,EALW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAK7B;AAuFD;;GAEG;AACH,MAAa,oBAAoB;IAiB/B,+BAA+B;IACxB,MAAM,CAAC,cAAc,CAAC,IAAuB;QAClD,OAAQ,IAAqB,CAAC,OAAO,KAAK,SAAS,CAAC;IACtD,CAAC;IAED,8BAA8B;IACvB,MAAM,CAAC,aAAa,CAAC,IAAuB;QACjD,OAAQ,IAAoB,CAAC,KAAK,KAAK,SAAS,CAAC;IACnD,CAAC;IAED,yCAAyC;IAClC,MAAM,CAAC,kBAAkB,CAAC,IAAuB;QACtD,OAAO,CAAC,CAAE,IAA+B,CAAC,QAAQ,CAAC;IACrD,CAAC;;AA9BH,oDA+BC;AA9BC,+BAA+B;AACjB,uCAAkB,GAAG,CAAC,EAAU,EAAE,YAAoB,EAAE,IAAqC,EAAE,KAAsC,EAAE,OAAmB,EAAE,SAAiC,EAAgB,EAAE,CAAC,CAAC;IAC7N,EAAE,EAAE,YAAY;IAChB,IAAI,EAAE,KAAK;IACX,OAAO;IACP,GAAG,SAAS;CACb,CAAC,CAAC;AAEH,8BAA8B;AAChB,sCAAiB,GAAG,CAAC,EAAU,EAAE,YAAoB,EAAE,IAAqC,EAAE,KAAsC,EAAE,KAAgD,EAAE,SAAgC,EAAe,EAAE,CAAC,CAAC;IACvP,EAAE,EAAE,YAAY;IAChB,IAAI,EAAE,KAAK;IACX,KAAK;IACL,GAAG,SAAS;CACb,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 Toolbar\r\n */\r\n\r\nimport { BadgeType } from \"../items/BadgeType\";\r\nimport { ConditionalBooleanValue } from \"../items/ConditionalBooleanValue\";\r\nimport { ConditionalStringValue } from \"../items/ConditionalStringValue\";\r\nimport { ProvidedItem } from \"../items/ProvidedItem\";\r\n\r\n/** Used to specify the usage of the toolbar which determine the toolbar position.\r\n * @deprecated in 3.6. Use [ToolbarUsage]($appui-react) instead.\r\n * @public\r\n */\r\nexport enum ToolbarUsage {\r\n /** Contains tools to Create Update and Delete content - in ninezone this is in top left of content area. */\r\n ContentManipulation = 0,\r\n /** Manipulate view/camera - in ninezone this is in top right of content area. */\r\n ViewNavigation = 1,\r\n}\r\n\r\n/** Used to specify the orientation of the toolbar.\r\n * @deprecated in 3.6. Use [ToolbarOrientation]($appui-react) instead.\r\n * @public\r\n */\r\nexport enum ToolbarOrientation {\r\n /** Horizontal toolbar. */\r\n Horizontal = 0,\r\n /** Vertical toolbar. */\r\n Vertical = 1,\r\n}\r\n\r\n/** Describes the data needed to insert a UI items into an existing set of UI items.\r\n * @public\r\n */\r\nexport interface ToolbarItem extends ProvidedItem { // eslint-disable-line deprecation/deprecation\r\n /** can be used by application to store miscellaneous data. */\r\n readonly applicationData?: any;\r\n /** Describes badge. Renders no badge if not specified. */\r\n readonly badgeType?: BadgeType;\r\n /** Optional description */\r\n readonly description?: string | ConditionalStringValue;\r\n /** Require uniqueId for the item. To ensure uniqueness it is suggested that a namespace prefix of the extension name be used. */\r\n readonly id: string;\r\n /** optional data to used by item implementor. */\r\n readonly internalData?: Map<string, any>;\r\n /** Defines if the item is active (shown with an active stripe/bar). */\r\n readonly isActive?: boolean;\r\n /** Describes if the item is visible or hidden. The default is for the item to be visible. */\r\n readonly isHidden?: boolean | ConditionalBooleanValue;\r\n /** Describes if the item is enabled or disabled. The default is for the item to be enabled. */\r\n readonly isDisabled?: boolean | ConditionalBooleanValue;\r\n /** Describes if the item should appear pressed (used for displaying toggle state). This property is NOT used by Toolbars\r\n * constructed using the `ToolbarWithOverflow` component, which are used in AppUi 2.0 and later. For these later toolbars\r\n * the icon is usually changed to denote the state of a toggle.\r\n */\r\n readonly isPressed?: boolean;\r\n /** Specifies the item's grouping value. Items are sorted by group and then item priority. When\r\n * group priority changes a separator is inserted. It is recommended using values 10 through 100, incrementing by 10. This\r\n * allows extensions enough gaps to insert their own groups. If the value is not specified a groupPriority of 0 is used.\r\n */\r\n readonly groupPriority?: number;\r\n /** Priority within a toolbar or group. */\r\n readonly itemPriority: number;\r\n /** Optional parent tool group to add tool. */\r\n readonly parentToolGroupId?: string;\r\n}\r\n\r\n/** Describes the data needed to insert an action button into a toolbar.\r\n * @public\r\n */\r\nexport interface ActionButton extends ToolbarItem {\r\n /** Name of icon WebFont entry or if specifying an imported SVG symbol use \"webSvg:\" prefix to imported symbol Id. */\r\n readonly icon: string | ConditionalStringValue;\r\n /** label, shown as tool tip on a button or an item label in a group. */\r\n readonly label: string | ConditionalStringValue;\r\n /** function to run when the button is pressed. */\r\n readonly execute: () => void;\r\n}\r\n\r\n/** Describes the data needed to insert a group button into a toolbar.\r\n * @public\r\n */\r\nexport interface GroupButton extends ToolbarItem {\r\n /** Name of icon WebFont entry or if specifying an imported SVG symbol use \"webSvg:\" prefix to imported symbol Id. */\r\n readonly icon: string | ConditionalStringValue;\r\n /** label, shown as tool tip on group button or a group button label in a group panel. */\r\n readonly label: string | ConditionalStringValue;\r\n /** label shown as the title in at top of group panel. */\r\n readonly panelLabel?: string | ConditionalStringValue;\r\n /** children of the group */\r\n readonly items: ReadonlyArray<ActionButton | GroupButton>; // eslint-disable-line deprecation/deprecation\r\n}\r\n\r\n/** Describes the data needed to insert a custom button into a toolbar.\r\n * @public\r\n */\r\nexport interface CustomButtonDefinition extends ToolbarItem {\r\n /** Name of icon WebFont entry or if specifying an imported SVG symbol use \"webSvg:\" prefix to imported symbol Id. */\r\n readonly icon?: string | ConditionalStringValue;\r\n /** label, shown as tool tip on group button or a group button label in a group panel. */\r\n readonly label?: string | ConditionalStringValue;\r\n /** parameter that marks data as being a custom definition. */\r\n readonly isCustom: true;\r\n}\r\n\r\n/** Any Button Type that can be inserted into a toolbar.\r\n * @public\r\n */\r\nexport type CommonToolbarItem = ActionButton | GroupButton | CustomButtonDefinition;\r\n\r\n/** Type for Toolbar Item Id\r\n * @deprecated in 3.6. Please use `ToolbarItem[\"id\"]` from @itwin/appui-react.\r\n * @public\r\n */\r\nexport type ToolbarItemId = CommonToolbarItem[\"id\"]; // eslint-disable-line deprecation/deprecation\r\n\r\n/** Helper class to create Abstract StatusBar Item definitions.\r\n * @public\r\n */\r\nexport class ToolbarItemUtilities {\r\n /** Creates an Action Button */\r\n public static createActionButton = (id: string, itemPriority: number, icon: string | ConditionalStringValue, label: string | ConditionalStringValue, execute: () => void, overrides?: Partial<ActionButton>): ActionButton => ({\r\n id, itemPriority,\r\n icon, label,\r\n execute,\r\n ...overrides,\r\n });\r\n\r\n /** Creates a Group button. */\r\n public static createGroupButton = (id: string, itemPriority: number, icon: string | ConditionalStringValue, label: string | ConditionalStringValue, items: ReadonlyArray<ActionButton | GroupButton>, overrides?: Partial<GroupButton>): GroupButton => ({\r\n id, itemPriority,\r\n icon, label,\r\n items,\r\n ...overrides,\r\n });\r\n\r\n /** ActionButton type guard. */\r\n public static isActionButton(item: CommonToolbarItem): item is ActionButton {\r\n return (item as ActionButton).execute !== undefined;\r\n }\r\n\r\n /** GroupButton type guard. */\r\n public static isGroupButton(item: CommonToolbarItem): item is GroupButton {\r\n return (item as GroupButton).items !== undefined;\r\n }\r\n\r\n /** CustomButtonDefinition type guard. */\r\n public static isCustomDefinition(item: CommonToolbarItem): item is CustomButtonDefinition {\r\n return !!(item as CustomButtonDefinition).isCustom;\r\n }\r\n}\r\n"]}
|
@@ -1,46 +1,46 @@
|
|
1
|
-
/** @packageDocumentation
|
2
|
-
* @module Toolbar
|
3
|
-
*/
|
4
|
-
import { BeEvent } from "@itwin/core-bentley";
|
5
|
-
import { CommonToolbarItem, ToolbarItemId } from "./ToolbarItem";
|
6
|
-
/** Arguments of [[ToolbarItemsManager.onChanged]] event.
|
7
|
-
* @internal
|
8
|
-
*/
|
9
|
-
export interface ToolbarItemsChangedArgs {
|
10
|
-
readonly items: ReadonlyArray<CommonToolbarItem>;
|
11
|
-
}
|
12
|
-
/**
|
13
|
-
* Controls status bar items.
|
14
|
-
* @internal
|
15
|
-
*/
|
16
|
-
export declare class ToolbarItemsManager {
|
17
|
-
protected _items: ReadonlyArray<CommonToolbarItem>;
|
18
|
-
constructor(items?: ReadonlyArray<CommonToolbarItem>);
|
19
|
-
/** Event raised when Toolbar items are changed.
|
20
|
-
* @internal
|
21
|
-
*/
|
22
|
-
readonly onItemsChanged: BeEvent<(args: ToolbarItemsChangedArgs) => void>;
|
23
|
-
private loadItemsInternal;
|
24
|
-
/** load items but do not fire onItemsChanged
|
25
|
-
* @internal
|
26
|
-
*/
|
27
|
-
loadItems(items: ReadonlyArray<CommonToolbarItem>): void;
|
28
|
-
/** Get an array of the Toolbar items */
|
29
|
-
get items(): ReadonlyArray<CommonToolbarItem>;
|
30
|
-
set items(items: ReadonlyArray<CommonToolbarItem>);
|
31
|
-
add(itemOrItems: CommonToolbarItem | ReadonlyArray<CommonToolbarItem>): void;
|
32
|
-
/** Remove Toolbar items based on id */
|
33
|
-
remove(itemIdOrItemIds: ToolbarItemId | ReadonlyArray<ToolbarItemId>): void;
|
34
|
-
/** @internal */
|
35
|
-
removeAll(): void;
|
36
|
-
private static gatherSyncIds;
|
37
|
-
static getSyncIdsOfInterest(items: readonly CommonToolbarItem[]): string[];
|
38
|
-
private static refreshChildItems;
|
39
|
-
private internalRefreshAffectedItems;
|
40
|
-
refreshAffectedItems(eventIds: Set<string>): void;
|
41
|
-
private static isActiveToolIdRefreshRequiredForChildren;
|
42
|
-
private isActiveToolIdRefreshRequired;
|
43
|
-
private static refreshActiveToolIdInChildItems;
|
44
|
-
setActiveToolId(toolId: string): void;
|
45
|
-
}
|
1
|
+
/** @packageDocumentation
|
2
|
+
* @module Toolbar
|
3
|
+
*/
|
4
|
+
import { BeEvent } from "@itwin/core-bentley";
|
5
|
+
import { CommonToolbarItem, ToolbarItemId } from "./ToolbarItem";
|
6
|
+
/** Arguments of [[ToolbarItemsManager.onChanged]] event.
|
7
|
+
* @internal
|
8
|
+
*/
|
9
|
+
export interface ToolbarItemsChangedArgs {
|
10
|
+
readonly items: ReadonlyArray<CommonToolbarItem>;
|
11
|
+
}
|
12
|
+
/**
|
13
|
+
* Controls status bar items.
|
14
|
+
* @internal
|
15
|
+
*/
|
16
|
+
export declare class ToolbarItemsManager {
|
17
|
+
protected _items: ReadonlyArray<CommonToolbarItem>;
|
18
|
+
constructor(items?: ReadonlyArray<CommonToolbarItem>);
|
19
|
+
/** Event raised when Toolbar items are changed.
|
20
|
+
* @internal
|
21
|
+
*/
|
22
|
+
readonly onItemsChanged: BeEvent<(args: ToolbarItemsChangedArgs) => void>;
|
23
|
+
private loadItemsInternal;
|
24
|
+
/** load items but do not fire onItemsChanged
|
25
|
+
* @internal
|
26
|
+
*/
|
27
|
+
loadItems(items: ReadonlyArray<CommonToolbarItem>): void;
|
28
|
+
/** Get an array of the Toolbar items */
|
29
|
+
get items(): ReadonlyArray<CommonToolbarItem>;
|
30
|
+
set items(items: ReadonlyArray<CommonToolbarItem>);
|
31
|
+
add(itemOrItems: CommonToolbarItem | ReadonlyArray<CommonToolbarItem>): void;
|
32
|
+
/** Remove Toolbar items based on id */
|
33
|
+
remove(itemIdOrItemIds: ToolbarItemId | ReadonlyArray<ToolbarItemId>): void;
|
34
|
+
/** @internal */
|
35
|
+
removeAll(): void;
|
36
|
+
private static gatherSyncIds;
|
37
|
+
static getSyncIdsOfInterest(items: readonly CommonToolbarItem[]): string[];
|
38
|
+
private static refreshChildItems;
|
39
|
+
private internalRefreshAffectedItems;
|
40
|
+
refreshAffectedItems(eventIds: Set<string>): void;
|
41
|
+
private static isActiveToolIdRefreshRequiredForChildren;
|
42
|
+
private isActiveToolIdRefreshRequired;
|
43
|
+
private static refreshActiveToolIdInChildItems;
|
44
|
+
setActiveToolId(toolId: string): void;
|
45
|
+
}
|
46
46
|
//# sourceMappingURL=ToolbarItemsManager.d.ts.map
|