@itwin/appui-abstract 4.0.0-dev.48 → 4.0.0-dev.51
Sign up to get free protection for your applications and to get access to all the features.
- 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,261 +1,261 @@
|
|
1
|
-
/** @packageDocumentation
|
2
|
-
* @module Properties
|
3
|
-
*/
|
4
|
-
/** Interface used to provide a custom Date Time formatter and optional parser
|
5
|
-
* for use by `DatePickerPopup`. If a parseData function is not implemented
|
6
|
-
* then string to date parsing will not be possible when a `DateFormatter` is used.
|
7
|
-
* @public
|
8
|
-
*/
|
9
|
-
export interface DateFormatter {
|
10
|
-
formateDate: (day: Date) => string;
|
11
|
-
parseDate?: (dateString: string) => Date | undefined;
|
12
|
-
}
|
13
|
-
/** Alternate Data Formats that can be provide by javascript. Can be used by Date TypeConverter and TypeEditor.
|
14
|
-
* @public
|
15
|
-
*/
|
16
|
-
export declare enum AlternateDateFormats {
|
17
|
-
None = 0,
|
18
|
-
IsoShort = 1,
|
19
|
-
IsoDateTime = 2,
|
20
|
-
UtcShort = 3,
|
21
|
-
UtcDateTime = 4,
|
22
|
-
UtcShortWithDay = 5,
|
23
|
-
UtcDateTimeWithDay = 6
|
24
|
-
}
|
25
|
-
/** Enum that defines supported time formats.
|
26
|
-
* @public
|
27
|
-
*/
|
28
|
-
export declare enum TimeDisplay {
|
29
|
-
H12MC = "hh:mm aa",
|
30
|
-
H12MSC = "hh:mm:ss aa",
|
31
|
-
H24M = "hh:mm",
|
32
|
-
H24MS = "hh:mm:ss"
|
33
|
-
}
|
34
|
-
/**
|
35
|
-
* Enum for Property Editor Param Types
|
36
|
-
* @public
|
37
|
-
*/
|
38
|
-
export declare enum PropertyEditorParamTypes {
|
39
|
-
ButtonGroupData = "UiAbstract-ButtonGroupData",
|
40
|
-
CheckBoxIcons = "UiAbstract-CheckBoxIcons",
|
41
|
-
Icon = "UiAbstract-Icon",
|
42
|
-
InputEditorSize = "UiAbstract-InputEditorSize",
|
43
|
-
ColorData = "UiAbstract-ColorData",
|
44
|
-
CustomFormattedNumber = "UiAbstract-CustomFormattedNumber",
|
45
|
-
IconListData = "UiAbstract-IconListData",
|
46
|
-
MultilineText = "UiAbstract-MultilineText",
|
47
|
-
Range = "UiAbstract-Range",
|
48
|
-
Slider = "UiAbstract-Slider",
|
49
|
-
SuppressEditorLabel = "UiAbstract-SuppressEditorLabel",
|
50
|
-
CheckBoxImages = "UiAbstract-CheckBoxImages"
|
51
|
-
}
|
52
|
-
/**
|
53
|
-
* [[BasePropertyEditorParams]] Base interface for Property Editor Params
|
54
|
-
* @public
|
55
|
-
*/
|
56
|
-
export interface BasePropertyEditorParams {
|
57
|
-
type: string;
|
58
|
-
}
|
59
|
-
/**
|
60
|
-
* Parameters used by PropertyEditors that use HTML <input> element.
|
61
|
-
* @public
|
62
|
-
*/
|
63
|
-
/** [[InputEditorSizeParams]] type guard.
|
64
|
-
* @public
|
65
|
-
*/
|
66
|
-
export interface InputEditorSizeParams extends BasePropertyEditorParams {
|
67
|
-
type: PropertyEditorParamTypes.InputEditorSize;
|
68
|
-
/** Optionally define the width in characters. */
|
69
|
-
size?: number;
|
70
|
-
/** Optionally define the maximum number of characters allowed. */
|
71
|
-
maxLength?: number;
|
72
|
-
}
|
73
|
-
/** InputEditorSizeParams type guard.
|
74
|
-
* @public
|
75
|
-
*/
|
76
|
-
export declare const isInputEditorSizeParams: (item: BasePropertyEditorParams) => item is InputEditorSizeParams;
|
77
|
-
/**
|
78
|
-
* [[ColorEditorParams]] Parameters used to populate color type editor with a specific set of colors. If not specified the Color
|
79
|
-
* Editor will show a default palette of 16 colors.
|
80
|
-
* @public
|
81
|
-
*/
|
82
|
-
export interface ColorEditorParams extends BasePropertyEditorParams {
|
83
|
-
type: PropertyEditorParamTypes.ColorData;
|
84
|
-
/** array of color values to show in color picker popup. Use [[ColorByName]] enum values. Values should be 32-bit integer in the form 0xBBGGRR. */
|
85
|
-
colorValues: number[];
|
86
|
-
/** number of columns to show in color picker popup. The value of 4 is used if not defined. */
|
87
|
-
numColumns?: number;
|
88
|
-
}
|
89
|
-
/** ColorEditorParams type guard.
|
90
|
-
* @public
|
91
|
-
*/
|
92
|
-
export declare const isColorEditorParams: (item: BasePropertyEditorParams) => item is ColorEditorParams;
|
93
|
-
/**
|
94
|
-
* [[IconListEditorParams]] Parameters used to populate icon type editor with a specific set of icons.
|
95
|
-
* @public
|
96
|
-
*/
|
97
|
-
export interface IconListEditorParams extends BasePropertyEditorParams {
|
98
|
-
type: PropertyEditorParamTypes.IconListData;
|
99
|
-
/** active icon shown in the button */
|
100
|
-
iconValue: string;
|
101
|
-
/** array of icon (svg) names to show in icon picker popup. */
|
102
|
-
iconValues: string[];
|
103
|
-
/** number of columns to show in icon picker popup. The value of 4 is used if not defined. */
|
104
|
-
numColumns?: number;
|
105
|
-
}
|
106
|
-
/** IconListEditorParams type guard.
|
107
|
-
* @public
|
108
|
-
*/
|
109
|
-
export declare const isIconListEditorParams: (item: BasePropertyEditorParams) => item is IconListEditorParams;
|
110
|
-
/**
|
111
|
-
* [[IconDefinition]] Information about an icon displayed next to a property editor.
|
112
|
-
* @public
|
113
|
-
*/
|
114
|
-
export interface IconDefinition {
|
115
|
-
/** Icon specification. The value is the name of an icon WebFont entry, or if specifying an imported SVG symbol use "webSvg:" prefix . */
|
116
|
-
iconSpec: string;
|
117
|
-
/** Function to determine if the item is enabled. */
|
118
|
-
isEnabledFunction?: () => boolean;
|
119
|
-
}
|
120
|
-
/**
|
121
|
-
* [[ButtonGroupEditorParams]] Parameters used by EnumButtonGroupEditor to define icons in button group.
|
122
|
-
* @public
|
123
|
-
*/
|
124
|
-
export interface ButtonGroupEditorParams extends BasePropertyEditorParams {
|
125
|
-
type: PropertyEditorParamTypes.ButtonGroupData;
|
126
|
-
buttons: IconDefinition[];
|
127
|
-
}
|
128
|
-
/** ButtonGroupEditorParams type guard.
|
129
|
-
* @public
|
130
|
-
*/
|
131
|
-
export declare const isButtonGroupEditorParams: (item: BasePropertyEditorParams) => item is ButtonGroupEditorParams;
|
132
|
-
/**
|
133
|
-
* [[SuppressLabelEditorParams]] Parameters used to suppress the label for a type editor in the ToolSettings widget.
|
134
|
-
* @public
|
135
|
-
*/
|
136
|
-
export interface SuppressLabelEditorParams extends BasePropertyEditorParams {
|
137
|
-
type: PropertyEditorParamTypes.SuppressEditorLabel;
|
138
|
-
/** if false then an empty placeholder label is created. This is sometimes necessary to align editor in proper column */
|
139
|
-
suppressLabelPlaceholder?: boolean;
|
140
|
-
}
|
141
|
-
/** SuppressLabelEditorParams type guard.
|
142
|
-
* @public
|
143
|
-
*/
|
144
|
-
export declare const isSuppressLabelEditorParams: (item: BasePropertyEditorParams) => item is SuppressLabelEditorParams;
|
145
|
-
/**
|
146
|
-
* Parameters used by PropertyEditors that support defining a minimum and maximum value.
|
147
|
-
* @public
|
148
|
-
*/
|
149
|
-
export interface RangeEditorParams extends BasePropertyEditorParams {
|
150
|
-
type: PropertyEditorParamTypes.Range;
|
151
|
-
/** Defines the minimum value. Default is Number.MIN_SAFE_INTEGER. */
|
152
|
-
minimum?: number;
|
153
|
-
/** Defines the maximum value. Default is Number.MAX_SAFE_INTEGER. */
|
154
|
-
maximum?: number;
|
155
|
-
/** Defines the step value. Default is 1. */
|
156
|
-
step?: number;
|
157
|
-
/** Defines the precision. Default is 0. */
|
158
|
-
precision?: number;
|
159
|
-
}
|
160
|
-
/**
|
161
|
-
* Parameters used to indicate that a Slider should be presented for the property
|
162
|
-
* and to specify the values needed by the slider.
|
163
|
-
* @public
|
164
|
-
*/
|
165
|
-
export interface SliderEditorParams extends BasePropertyEditorParams {
|
166
|
-
type: PropertyEditorParamTypes.Slider;
|
167
|
-
/** Defines the minimum value. */
|
168
|
-
minimum: number;
|
169
|
-
/** Defines the maximum value. */
|
170
|
-
maximum: number;
|
171
|
-
/** Optionally define the width in pixels. */
|
172
|
-
size?: number;
|
173
|
-
/** Step value. Default is 0.1. */
|
174
|
-
step?: number;
|
175
|
-
/** The interaction mode. Default is 1. Possible values:
|
176
|
-
* 1 - allows handles to cross each other.
|
177
|
-
* 2 - keeps the sliders from crossing and separated by a step.
|
178
|
-
*/
|
179
|
-
mode?: number;
|
180
|
-
/** Indicates whether the display of the Slider values is reversed. */
|
181
|
-
reversed?: boolean;
|
182
|
-
/** Indicates whether to show tooltip with the value. The tooltip will be positioned above the Slider, by default. */
|
183
|
-
showTooltip?: boolean;
|
184
|
-
/** Indicates whether the tooltip should show below the Slider instead of above. */
|
185
|
-
tooltipBelow?: boolean;
|
186
|
-
/** Format a value for the tooltip */
|
187
|
-
formatTooltip?: (value: number) => string;
|
188
|
-
/** Indicates whether to show min & max values to the left & right of the Slider. */
|
189
|
-
showMinMax?: boolean;
|
190
|
-
/** Image to show for min. */
|
191
|
-
minIconSpec?: string;
|
192
|
-
/** Image to show for max. */
|
193
|
-
maxIconSpec?: string;
|
194
|
-
/** Indicates whether to show tick marks under the Slider. */
|
195
|
-
showTicks?: boolean;
|
196
|
-
/** Indicates whether to show tick labels under the tick marks. */
|
197
|
-
showTickLabels?: boolean;
|
198
|
-
/** Format a tick mark value */
|
199
|
-
formatTick?: (tick: number) => string;
|
200
|
-
/** Function to get the tick count. The default tick count is 10. */
|
201
|
-
getTickCount?: () => number;
|
202
|
-
/** Function to get the tick values. This overrides the tick count from getTickCount.
|
203
|
-
* Use this prop if you want to specify your own tick values instead of ticks generated by the slider.
|
204
|
-
* The numbers should be valid numbers in the domain and correspond to the step value.
|
205
|
-
* Invalid values will be coerced to the closet matching value in the domain.
|
206
|
-
*/
|
207
|
-
getTickValues?: () => number[];
|
208
|
-
}
|
209
|
-
/**
|
210
|
-
* Parameter that is used to indicate that a multiline text editor should be created.
|
211
|
-
* The number of rows specified will determine the height of the editor control.
|
212
|
-
* @public
|
213
|
-
*/
|
214
|
-
export interface MultilineTextEditorParams extends BasePropertyEditorParams {
|
215
|
-
type: PropertyEditorParamTypes.MultilineText;
|
216
|
-
rows: number;
|
217
|
-
}
|
218
|
-
/**
|
219
|
-
* Parameters used to display an icon next to property editor.
|
220
|
-
* @public
|
221
|
-
*/
|
222
|
-
export interface IconEditorParams extends BasePropertyEditorParams {
|
223
|
-
type: PropertyEditorParamTypes.Icon;
|
224
|
-
definition: IconDefinition;
|
225
|
-
}
|
226
|
-
/**
|
227
|
-
* Parameters for ImageCheckBoxEditor
|
228
|
-
* @public
|
229
|
-
*/
|
230
|
-
export interface ImageCheckBoxParams extends BasePropertyEditorParams {
|
231
|
-
type: PropertyEditorParamTypes.CheckBoxImages;
|
232
|
-
imageOn: string;
|
233
|
-
imageOff: string;
|
234
|
-
}
|
235
|
-
/**
|
236
|
-
* defines Results of parsing a string input by a user into its desired value type
|
237
|
-
* @public
|
238
|
-
*/
|
239
|
-
export interface ParseResults {
|
240
|
-
value?: string | number | boolean | {} | string[] | Date | [] | undefined;
|
241
|
-
parseError?: string;
|
242
|
-
}
|
243
|
-
/**
|
244
|
-
* Parameters used with properties that want to control parsing and formatting.
|
245
|
-
* @public
|
246
|
-
*/
|
247
|
-
export interface CustomFormattedNumberParams extends BasePropertyEditorParams {
|
248
|
-
type: PropertyEditorParamTypes.CustomFormattedNumber;
|
249
|
-
formatFunction: (numberValue: number) => string;
|
250
|
-
parseFunction: (stringValue: string) => ParseResults;
|
251
|
-
}
|
252
|
-
/** CustomFormattedNumberParams type guard.
|
253
|
-
* @public
|
254
|
-
*/
|
255
|
-
export declare const isCustomFormattedNumberParams: (item: BasePropertyEditorParams) => item is CustomFormattedNumberParams;
|
256
|
-
/**
|
257
|
-
* Type definition for Property Editor params
|
258
|
-
* @public
|
259
|
-
*/
|
260
|
-
export declare type PropertyEditorParams = BasePropertyEditorParams;
|
1
|
+
/** @packageDocumentation
|
2
|
+
* @module Properties
|
3
|
+
*/
|
4
|
+
/** Interface used to provide a custom Date Time formatter and optional parser
|
5
|
+
* for use by `DatePickerPopup`. If a parseData function is not implemented
|
6
|
+
* then string to date parsing will not be possible when a `DateFormatter` is used.
|
7
|
+
* @public
|
8
|
+
*/
|
9
|
+
export interface DateFormatter {
|
10
|
+
formateDate: (day: Date) => string;
|
11
|
+
parseDate?: (dateString: string) => Date | undefined;
|
12
|
+
}
|
13
|
+
/** Alternate Data Formats that can be provide by javascript. Can be used by Date TypeConverter and TypeEditor.
|
14
|
+
* @public
|
15
|
+
*/
|
16
|
+
export declare enum AlternateDateFormats {
|
17
|
+
None = 0,
|
18
|
+
IsoShort = 1,
|
19
|
+
IsoDateTime = 2,
|
20
|
+
UtcShort = 3,
|
21
|
+
UtcDateTime = 4,
|
22
|
+
UtcShortWithDay = 5,
|
23
|
+
UtcDateTimeWithDay = 6
|
24
|
+
}
|
25
|
+
/** Enum that defines supported time formats.
|
26
|
+
* @public
|
27
|
+
*/
|
28
|
+
export declare enum TimeDisplay {
|
29
|
+
H12MC = "hh:mm aa",
|
30
|
+
H12MSC = "hh:mm:ss aa",
|
31
|
+
H24M = "hh:mm",
|
32
|
+
H24MS = "hh:mm:ss"
|
33
|
+
}
|
34
|
+
/**
|
35
|
+
* Enum for Property Editor Param Types
|
36
|
+
* @public
|
37
|
+
*/
|
38
|
+
export declare enum PropertyEditorParamTypes {
|
39
|
+
ButtonGroupData = "UiAbstract-ButtonGroupData",
|
40
|
+
CheckBoxIcons = "UiAbstract-CheckBoxIcons",
|
41
|
+
Icon = "UiAbstract-Icon",
|
42
|
+
InputEditorSize = "UiAbstract-InputEditorSize",
|
43
|
+
ColorData = "UiAbstract-ColorData",
|
44
|
+
CustomFormattedNumber = "UiAbstract-CustomFormattedNumber",
|
45
|
+
IconListData = "UiAbstract-IconListData",
|
46
|
+
MultilineText = "UiAbstract-MultilineText",
|
47
|
+
Range = "UiAbstract-Range",
|
48
|
+
Slider = "UiAbstract-Slider",
|
49
|
+
SuppressEditorLabel = "UiAbstract-SuppressEditorLabel",
|
50
|
+
CheckBoxImages = "UiAbstract-CheckBoxImages"
|
51
|
+
}
|
52
|
+
/**
|
53
|
+
* [[BasePropertyEditorParams]] Base interface for Property Editor Params
|
54
|
+
* @public
|
55
|
+
*/
|
56
|
+
export interface BasePropertyEditorParams {
|
57
|
+
type: string;
|
58
|
+
}
|
59
|
+
/**
|
60
|
+
* Parameters used by PropertyEditors that use HTML <input> element.
|
61
|
+
* @public
|
62
|
+
*/
|
63
|
+
/** [[InputEditorSizeParams]] type guard.
|
64
|
+
* @public
|
65
|
+
*/
|
66
|
+
export interface InputEditorSizeParams extends BasePropertyEditorParams {
|
67
|
+
type: PropertyEditorParamTypes.InputEditorSize;
|
68
|
+
/** Optionally define the width in characters. */
|
69
|
+
size?: number;
|
70
|
+
/** Optionally define the maximum number of characters allowed. */
|
71
|
+
maxLength?: number;
|
72
|
+
}
|
73
|
+
/** InputEditorSizeParams type guard.
|
74
|
+
* @public
|
75
|
+
*/
|
76
|
+
export declare const isInputEditorSizeParams: (item: BasePropertyEditorParams) => item is InputEditorSizeParams;
|
77
|
+
/**
|
78
|
+
* [[ColorEditorParams]] Parameters used to populate color type editor with a specific set of colors. If not specified the Color
|
79
|
+
* Editor will show a default palette of 16 colors.
|
80
|
+
* @public
|
81
|
+
*/
|
82
|
+
export interface ColorEditorParams extends BasePropertyEditorParams {
|
83
|
+
type: PropertyEditorParamTypes.ColorData;
|
84
|
+
/** array of color values to show in color picker popup. Use [[ColorByName]] enum values. Values should be 32-bit integer in the form 0xBBGGRR. */
|
85
|
+
colorValues: number[];
|
86
|
+
/** number of columns to show in color picker popup. The value of 4 is used if not defined. */
|
87
|
+
numColumns?: number;
|
88
|
+
}
|
89
|
+
/** ColorEditorParams type guard.
|
90
|
+
* @public
|
91
|
+
*/
|
92
|
+
export declare const isColorEditorParams: (item: BasePropertyEditorParams) => item is ColorEditorParams;
|
93
|
+
/**
|
94
|
+
* [[IconListEditorParams]] Parameters used to populate icon type editor with a specific set of icons.
|
95
|
+
* @public
|
96
|
+
*/
|
97
|
+
export interface IconListEditorParams extends BasePropertyEditorParams {
|
98
|
+
type: PropertyEditorParamTypes.IconListData;
|
99
|
+
/** active icon shown in the button */
|
100
|
+
iconValue: string;
|
101
|
+
/** array of icon (svg) names to show in icon picker popup. */
|
102
|
+
iconValues: string[];
|
103
|
+
/** number of columns to show in icon picker popup. The value of 4 is used if not defined. */
|
104
|
+
numColumns?: number;
|
105
|
+
}
|
106
|
+
/** IconListEditorParams type guard.
|
107
|
+
* @public
|
108
|
+
*/
|
109
|
+
export declare const isIconListEditorParams: (item: BasePropertyEditorParams) => item is IconListEditorParams;
|
110
|
+
/**
|
111
|
+
* [[IconDefinition]] Information about an icon displayed next to a property editor.
|
112
|
+
* @public
|
113
|
+
*/
|
114
|
+
export interface IconDefinition {
|
115
|
+
/** Icon specification. The value is the name of an icon WebFont entry, or if specifying an imported SVG symbol use "webSvg:" prefix . */
|
116
|
+
iconSpec: string;
|
117
|
+
/** Function to determine if the item is enabled. */
|
118
|
+
isEnabledFunction?: () => boolean;
|
119
|
+
}
|
120
|
+
/**
|
121
|
+
* [[ButtonGroupEditorParams]] Parameters used by EnumButtonGroupEditor to define icons in button group.
|
122
|
+
* @public
|
123
|
+
*/
|
124
|
+
export interface ButtonGroupEditorParams extends BasePropertyEditorParams {
|
125
|
+
type: PropertyEditorParamTypes.ButtonGroupData;
|
126
|
+
buttons: IconDefinition[];
|
127
|
+
}
|
128
|
+
/** ButtonGroupEditorParams type guard.
|
129
|
+
* @public
|
130
|
+
*/
|
131
|
+
export declare const isButtonGroupEditorParams: (item: BasePropertyEditorParams) => item is ButtonGroupEditorParams;
|
132
|
+
/**
|
133
|
+
* [[SuppressLabelEditorParams]] Parameters used to suppress the label for a type editor in the ToolSettings widget.
|
134
|
+
* @public
|
135
|
+
*/
|
136
|
+
export interface SuppressLabelEditorParams extends BasePropertyEditorParams {
|
137
|
+
type: PropertyEditorParamTypes.SuppressEditorLabel;
|
138
|
+
/** if false then an empty placeholder label is created. This is sometimes necessary to align editor in proper column */
|
139
|
+
suppressLabelPlaceholder?: boolean;
|
140
|
+
}
|
141
|
+
/** SuppressLabelEditorParams type guard.
|
142
|
+
* @public
|
143
|
+
*/
|
144
|
+
export declare const isSuppressLabelEditorParams: (item: BasePropertyEditorParams) => item is SuppressLabelEditorParams;
|
145
|
+
/**
|
146
|
+
* Parameters used by PropertyEditors that support defining a minimum and maximum value.
|
147
|
+
* @public
|
148
|
+
*/
|
149
|
+
export interface RangeEditorParams extends BasePropertyEditorParams {
|
150
|
+
type: PropertyEditorParamTypes.Range;
|
151
|
+
/** Defines the minimum value. Default is Number.MIN_SAFE_INTEGER. */
|
152
|
+
minimum?: number;
|
153
|
+
/** Defines the maximum value. Default is Number.MAX_SAFE_INTEGER. */
|
154
|
+
maximum?: number;
|
155
|
+
/** Defines the step value. Default is 1. */
|
156
|
+
step?: number;
|
157
|
+
/** Defines the precision. Default is 0. */
|
158
|
+
precision?: number;
|
159
|
+
}
|
160
|
+
/**
|
161
|
+
* Parameters used to indicate that a Slider should be presented for the property
|
162
|
+
* and to specify the values needed by the slider.
|
163
|
+
* @public
|
164
|
+
*/
|
165
|
+
export interface SliderEditorParams extends BasePropertyEditorParams {
|
166
|
+
type: PropertyEditorParamTypes.Slider;
|
167
|
+
/** Defines the minimum value. */
|
168
|
+
minimum: number;
|
169
|
+
/** Defines the maximum value. */
|
170
|
+
maximum: number;
|
171
|
+
/** Optionally define the width in pixels. */
|
172
|
+
size?: number;
|
173
|
+
/** Step value. Default is 0.1. */
|
174
|
+
step?: number;
|
175
|
+
/** The interaction mode. Default is 1. Possible values:
|
176
|
+
* 1 - allows handles to cross each other.
|
177
|
+
* 2 - keeps the sliders from crossing and separated by a step.
|
178
|
+
*/
|
179
|
+
mode?: number;
|
180
|
+
/** Indicates whether the display of the Slider values is reversed. */
|
181
|
+
reversed?: boolean;
|
182
|
+
/** Indicates whether to show tooltip with the value. The tooltip will be positioned above the Slider, by default. */
|
183
|
+
showTooltip?: boolean;
|
184
|
+
/** Indicates whether the tooltip should show below the Slider instead of above. */
|
185
|
+
tooltipBelow?: boolean;
|
186
|
+
/** Format a value for the tooltip */
|
187
|
+
formatTooltip?: (value: number) => string;
|
188
|
+
/** Indicates whether to show min & max values to the left & right of the Slider. */
|
189
|
+
showMinMax?: boolean;
|
190
|
+
/** Image to show for min. */
|
191
|
+
minIconSpec?: string;
|
192
|
+
/** Image to show for max. */
|
193
|
+
maxIconSpec?: string;
|
194
|
+
/** Indicates whether to show tick marks under the Slider. */
|
195
|
+
showTicks?: boolean;
|
196
|
+
/** Indicates whether to show tick labels under the tick marks. */
|
197
|
+
showTickLabels?: boolean;
|
198
|
+
/** Format a tick mark value */
|
199
|
+
formatTick?: (tick: number) => string;
|
200
|
+
/** Function to get the tick count. The default tick count is 10. */
|
201
|
+
getTickCount?: () => number;
|
202
|
+
/** Function to get the tick values. This overrides the tick count from getTickCount.
|
203
|
+
* Use this prop if you want to specify your own tick values instead of ticks generated by the slider.
|
204
|
+
* The numbers should be valid numbers in the domain and correspond to the step value.
|
205
|
+
* Invalid values will be coerced to the closet matching value in the domain.
|
206
|
+
*/
|
207
|
+
getTickValues?: () => number[];
|
208
|
+
}
|
209
|
+
/**
|
210
|
+
* Parameter that is used to indicate that a multiline text editor should be created.
|
211
|
+
* The number of rows specified will determine the height of the editor control.
|
212
|
+
* @public
|
213
|
+
*/
|
214
|
+
export interface MultilineTextEditorParams extends BasePropertyEditorParams {
|
215
|
+
type: PropertyEditorParamTypes.MultilineText;
|
216
|
+
rows: number;
|
217
|
+
}
|
218
|
+
/**
|
219
|
+
* Parameters used to display an icon next to property editor.
|
220
|
+
* @public
|
221
|
+
*/
|
222
|
+
export interface IconEditorParams extends BasePropertyEditorParams {
|
223
|
+
type: PropertyEditorParamTypes.Icon;
|
224
|
+
definition: IconDefinition;
|
225
|
+
}
|
226
|
+
/**
|
227
|
+
* Parameters for ImageCheckBoxEditor
|
228
|
+
* @public
|
229
|
+
*/
|
230
|
+
export interface ImageCheckBoxParams extends BasePropertyEditorParams {
|
231
|
+
type: PropertyEditorParamTypes.CheckBoxImages;
|
232
|
+
imageOn: string;
|
233
|
+
imageOff: string;
|
234
|
+
}
|
235
|
+
/**
|
236
|
+
* defines Results of parsing a string input by a user into its desired value type
|
237
|
+
* @public
|
238
|
+
*/
|
239
|
+
export interface ParseResults {
|
240
|
+
value?: string | number | boolean | {} | string[] | Date | [] | undefined;
|
241
|
+
parseError?: string;
|
242
|
+
}
|
243
|
+
/**
|
244
|
+
* Parameters used with properties that want to control parsing and formatting.
|
245
|
+
* @public
|
246
|
+
*/
|
247
|
+
export interface CustomFormattedNumberParams extends BasePropertyEditorParams {
|
248
|
+
type: PropertyEditorParamTypes.CustomFormattedNumber;
|
249
|
+
formatFunction: (numberValue: number) => string;
|
250
|
+
parseFunction: (stringValue: string) => ParseResults;
|
251
|
+
}
|
252
|
+
/** CustomFormattedNumberParams type guard.
|
253
|
+
* @public
|
254
|
+
*/
|
255
|
+
export declare const isCustomFormattedNumberParams: (item: BasePropertyEditorParams) => item is CustomFormattedNumberParams;
|
256
|
+
/**
|
257
|
+
* Type definition for Property Editor params
|
258
|
+
* @public
|
259
|
+
*/
|
260
|
+
export declare type PropertyEditorParams = BasePropertyEditorParams;
|
261
261
|
//# sourceMappingURL=EditorParams.d.ts.map
|