@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,6 +1,6 @@
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
2
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
3
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
5
|
-
export {};
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
5
|
+
export {};
|
6
6
|
//# sourceMappingURL=charCode.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"charCode.js","sourceRoot":"","sources":["../../../../../src/appui-abstract/utils/filter/charCode.ts"],"names":[],"mappings":"AAAA;;;+FAG+F","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\n// file copied from https://github.com/microsoft/vscode/blob/master/src/vs/base/common/charCode.ts\n/* eslint-disable no-restricted-syntax */\n\n// Names from https://blog.codinghorror.com/ascii-pronunciation-rules-for-programmers/\n\n/**\n * An inlined enum containing useful character codes (to be used with String.charCodeAt).\n * Please leave the const keyword such that it gets inlined when compiled to JavaScript!\n * @internal\n */\nexport const enum CharCode {\n Null = 0,\n /**\n * The `\\b` character.\n */\n Backspace = 8,\n /**\n * The `\\t` character.\n */\n Tab = 9,\n /**\n * The `\\n` character.\n */\n LineFeed = 10,\n /**\n * The `\\r` character.\n */\n CarriageReturn = 13,\n Space = 32,\n /**\n * The `!` character.\n */\n ExclamationMark = 33,\n /**\n * The `\"` character.\n */\n DoubleQuote = 34,\n /**\n * The `#` character.\n */\n Hash = 35,\n /**\n * The `$` character.\n */\n DollarSign = 36,\n /**\n * The `%` character.\n */\n PercentSign = 37,\n /**\n * The `&` character.\n */\n Ampersand = 38,\n /**\n * The `'` character.\n */\n SingleQuote = 39,\n /**\n * The `(` character.\n */\n OpenParen = 40,\n /**\n * The `)` character.\n */\n CloseParen = 41,\n /**\n * The `*` character.\n */\n Asterisk = 42,\n /**\n * The `+` character.\n */\n Plus = 43,\n /**\n * The `,` character.\n */\n Comma = 44,\n /**\n * The `-` character.\n */\n Dash = 45,\n /**\n * The `.` character.\n */\n Period = 46,\n /**\n * The `/` character.\n */\n Slash = 47,\n\n Digit0 = 48,\n Digit1 = 49,\n Digit2 = 50,\n Digit3 = 51,\n Digit4 = 52,\n Digit5 = 53,\n Digit6 = 54,\n Digit7 = 55,\n Digit8 = 56,\n Digit9 = 57,\n\n /**\n * The `:` character.\n */\n Colon = 58,\n /**\n * The `;` character.\n */\n Semicolon = 59,\n /**\n * The `<` character.\n */\n LessThan = 60,\n /**\n * The `=` character.\n */\n Equals = 61,\n /**\n * The `>` character.\n */\n GreaterThan = 62,\n /**\n * The `?` character.\n */\n QuestionMark = 63,\n /**\n * The `@` character.\n */\n AtSign = 64,\n\n A = 65,\n B = 66,\n C = 67,\n D = 68,\n E = 69,\n F = 70,\n G = 71,\n H = 72,\n I = 73,\n J = 74,\n K = 75,\n L = 76,\n M = 77,\n N = 78,\n O = 79,\n P = 80,\n Q = 81,\n R = 82,\n S = 83,\n T = 84,\n U = 85,\n V = 86,\n W = 87,\n X = 88,\n Y = 89,\n Z = 90,\n\n /**\n * The `[` character.\n */\n OpenSquareBracket = 91,\n /**\n * The `\\` character.\n */\n Backslash = 92,\n /**\n * The `]` character.\n */\n CloseSquareBracket = 93,\n /**\n * The `^` character.\n */\n Caret = 94,\n /**\n * The `_` character.\n */\n Underline = 95,\n /**\n * The ``(`)`` character.\n */\n BackTick = 96,\n\n a = 97,\n b = 98,\n c = 99,\n d = 100,\n e = 101,\n f = 102,\n g = 103,\n h = 104,\n i = 105,\n j = 106,\n k = 107,\n l = 108,\n m = 109,\n n = 110,\n o = 111,\n p = 112,\n q = 113,\n r = 114,\n s = 115,\n t = 116,\n u = 117,\n v = 118,\n w = 119,\n x = 120,\n y = 121,\n z = 122,\n\n /**\n * The `{` character.\n */\n OpenCurlyBrace = 123,\n /**\n * The `|` character.\n */\n Pipe = 124,\n /**\n * The `}` character.\n */\n CloseCurlyBrace = 125,\n /**\n * The `~` character.\n */\n Tilde = 126,\n\n U_Combining_Grave_Accent = 0x0300,// U+0300Combining Grave Accent\n U_Combining_Acute_Accent = 0x0301,// U+0301Combining Acute Accent\n U_Combining_Circumflex_Accent = 0x0302,// U+0302Combining Circumflex Accent\n U_Combining_Tilde = 0x0303,// U+0303Combining Tilde\n U_Combining_Macron = 0x0304,// U+0304Combining Macron\n U_Combining_Overline = 0x0305,// U+0305Combining Overline\n U_Combining_Breve = 0x0306,// U+0306Combining Breve\n U_Combining_Dot_Above = 0x0307,// U+0307Combining Dot Above\n U_Combining_Diaeresis = 0x0308,// U+0308Combining Diaeresis\n U_Combining_Hook_Above = 0x0309,// U+0309Combining Hook Above\n U_Combining_Ring_Above = 0x030A,// U+030ACombining Ring Above\n U_Combining_Double_Acute_Accent = 0x030B,// U+030BCombining Double Acute Accent\n U_Combining_Caron = 0x030C,// U+030CCombining Caron\n U_Combining_Vertical_Line_Above = 0x030D,// U+030DCombining Vertical Line Above\n U_Combining_Double_Vertical_Line_Above = 0x030E,// U+030ECombining Double Vertical Line Above\n U_Combining_Double_Grave_Accent = 0x030F,// U+030FCombining Double Grave Accent\n U_Combining_Candrabindu = 0x0310,// U+0310Combining Candrabindu\n U_Combining_Inverted_Breve = 0x0311,// U+0311Combining Inverted Breve\n U_Combining_Turned_Comma_Above = 0x0312,// U+0312Combining Turned Comma Above\n U_Combining_Comma_Above = 0x0313,// U+0313Combining Comma Above\n U_Combining_Reversed_Comma_Above = 0x0314,// U+0314Combining Reversed Comma Above\n U_Combining_Comma_Above_Right = 0x0315,// U+0315Combining Comma Above Right\n U_Combining_Grave_Accent_Below = 0x0316,// U+0316Combining Grave Accent Below\n U_Combining_Acute_Accent_Below = 0x0317,// U+0317Combining Acute Accent Below\n U_Combining_Left_Tack_Below = 0x0318,// U+0318Combining Left Tack Below\n U_Combining_Right_Tack_Below = 0x0319,// U+0319Combining Right Tack Below\n U_Combining_Left_Angle_Above = 0x031A,// U+031ACombining Left Angle Above\n U_Combining_Horn = 0x031B,// U+031BCombining Horn\n U_Combining_Left_Half_Ring_Below = 0x031C,// U+031CCombining Left Half Ring Below\n U_Combining_Up_Tack_Below = 0x031D,// U+031DCombining Up Tack Below\n U_Combining_Down_Tack_Below = 0x031E,// U+031ECombining Down Tack Below\n U_Combining_Plus_Sign_Below = 0x031F,// U+031FCombining Plus Sign Below\n U_Combining_Minus_Sign_Below = 0x0320,// U+0320Combining Minus Sign Below\n U_Combining_Palatalized_Hook_Below = 0x0321,// U+0321Combining Palatalized Hook Below\n U_Combining_Retroflex_Hook_Below = 0x0322,// U+0322Combining Retroflex Hook Below\n U_Combining_Dot_Below = 0x0323,// U+0323Combining Dot Below\n U_Combining_Diaeresis_Below = 0x0324,// U+0324Combining Diaeresis Below\n U_Combining_Ring_Below = 0x0325,// U+0325Combining Ring Below\n U_Combining_Comma_Below = 0x0326,// U+0326Combining Comma Below\n U_Combining_Cedilla = 0x0327,// U+0327Combining Cedilla\n U_Combining_Ogonek = 0x0328,// U+0328Combining Ogonek\n U_Combining_Vertical_Line_Below = 0x0329,// U+0329Combining Vertical Line Below\n U_Combining_Bridge_Below = 0x032A,// U+032ACombining Bridge Below\n U_Combining_Inverted_Double_Arch_Below = 0x032B,// U+032BCombining Inverted Double Arch Below\n U_Combining_Caron_Below = 0x032C,// U+032CCombining Caron Below\n U_Combining_Circumflex_Accent_Below = 0x032D,// U+032DCombining Circumflex Accent Below\n U_Combining_Breve_Below = 0x032E,// U+032ECombining Breve Below\n U_Combining_Inverted_Breve_Below = 0x032F,// U+032FCombining Inverted Breve Below\n U_Combining_Tilde_Below = 0x0330,// U+0330Combining Tilde Below\n U_Combining_Macron_Below = 0x0331,// U+0331Combining Macron Below\n U_Combining_Low_Line = 0x0332,// U+0332Combining Low Line\n U_Combining_Double_Low_Line = 0x0333,// U+0333Combining Double Low Line\n U_Combining_Tilde_Overlay = 0x0334,// U+0334Combining Tilde Overlay\n U_Combining_Short_Stroke_Overlay = 0x0335,// U+0335Combining Short Stroke Overlay\n U_Combining_Long_Stroke_Overlay = 0x0336,// U+0336Combining Long Stroke Overlay\n U_Combining_Short_Solidus_Overlay = 0x0337,// U+0337Combining Short Solidus Overlay\n U_Combining_Long_Solidus_Overlay = 0x0338,// U+0338Combining Long Solidus Overlay\n U_Combining_Right_Half_Ring_Below = 0x0339,// U+0339Combining Right Half Ring Below\n U_Combining_Inverted_Bridge_Below = 0x033A,// U+033ACombining Inverted Bridge Below\n U_Combining_Square_Below = 0x033B,// U+033BCombining Square Below\n U_Combining_Seagull_Below = 0x033C,// U+033CCombining Seagull Below\n U_Combining_X_Above = 0x033D,// U+033DCombining X Above\n U_Combining_Vertical_Tilde = 0x033E,// U+033ECombining Vertical Tilde\n U_Combining_Double_Overline = 0x033F,// U+033FCombining Double Overline\n U_Combining_Grave_Tone_Mark = 0x0340,// U+0340Combining Grave Tone Mark\n U_Combining_Acute_Tone_Mark = 0x0341,// U+0341Combining Acute Tone Mark\n U_Combining_Greek_Perispomeni = 0x0342,// U+0342Combining Greek Perispomeni\n U_Combining_Greek_Koronis = 0x0343,// U+0343Combining Greek Koronis\n U_Combining_Greek_Dialytika_Tonos = 0x0344,// U+0344Combining Greek Dialytika Tonos\n U_Combining_Greek_Ypogegrammeni = 0x0345,// U+0345Combining Greek Ypogegrammeni\n U_Combining_Bridge_Above = 0x0346,// U+0346Combining Bridge Above\n U_Combining_Equals_Sign_Below = 0x0347,// U+0347Combining Equals Sign Below\n U_Combining_Double_Vertical_Line_Below = 0x0348,// U+0348Combining Double Vertical Line Below\n U_Combining_Left_Angle_Below = 0x0349,// U+0349Combining Left Angle Below\n U_Combining_Not_Tilde_Above = 0x034A,// U+034ACombining Not Tilde Above\n U_Combining_Homothetic_Above = 0x034B,// U+034BCombining Homothetic Above\n U_Combining_Almost_Equal_To_Above = 0x034C,// U+034CCombining Almost Equal To Above\n U_Combining_Left_Right_Arrow_Below = 0x034D,// U+034DCombining Left Right Arrow Below\n U_Combining_Upwards_Arrow_Below = 0x034E,// U+034ECombining Upwards Arrow Below\n U_Combining_Grapheme_Joiner = 0x034F,// U+034FCombining Grapheme Joiner\n U_Combining_Right_Arrowhead_Above = 0x0350,// U+0350Combining Right Arrowhead Above\n U_Combining_Left_Half_Ring_Above = 0x0351,// U+0351Combining Left Half Ring Above\n U_Combining_Fermata = 0x0352,// U+0352Combining Fermata\n U_Combining_X_Below = 0x0353,// U+0353Combining X Below\n U_Combining_Left_Arrowhead_Below = 0x0354,// U+0354Combining Left Arrowhead Below\n U_Combining_Right_Arrowhead_Below = 0x0355,// U+0355Combining Right Arrowhead Below\n U_Combining_Right_Arrowhead_And_Up_Arrowhead_Below = 0x0356,// U+0356Combining Right Arrowhead And Up Arrowhead Below\n U_Combining_Right_Half_Ring_Above = 0x0357,// U+0357Combining Right Half Ring Above\n U_Combining_Dot_Above_Right = 0x0358,// U+0358Combining Dot Above Right\n U_Combining_Asterisk_Below = 0x0359,// U+0359Combining Asterisk Below\n U_Combining_Double_Ring_Below = 0x035A,// U+035ACombining Double Ring Below\n U_Combining_Zigzag_Above = 0x035B,// U+035BCombining Zigzag Above\n U_Combining_Double_Breve_Below = 0x035C,// U+035CCombining Double Breve Below\n U_Combining_Double_Breve = 0x035D,// U+035DCombining Double Breve\n U_Combining_Double_Macron = 0x035E,// U+035ECombining Double Macron\n U_Combining_Double_Macron_Below = 0x035F,// U+035FCombining Double Macron Below\n U_Combining_Double_Tilde = 0x0360,// U+0360Combining Double Tilde\n U_Combining_Double_Inverted_Breve = 0x0361,// U+0361Combining Double Inverted Breve\n U_Combining_Double_Rightwards_Arrow_Below = 0x0362,// U+0362Combining Double Rightwards Arrow Below\n U_Combining_Latin_Small_Letter_A = 0x0363, // U+0363Combining Latin Small Letter A\n U_Combining_Latin_Small_Letter_E = 0x0364, // U+0364Combining Latin Small Letter E\n U_Combining_Latin_Small_Letter_I = 0x0365, // U+0365Combining Latin Small Letter I\n U_Combining_Latin_Small_Letter_O = 0x0366, // U+0366Combining Latin Small Letter O\n U_Combining_Latin_Small_Letter_U = 0x0367, // U+0367Combining Latin Small Letter U\n U_Combining_Latin_Small_Letter_C = 0x0368, // U+0368Combining Latin Small Letter C\n U_Combining_Latin_Small_Letter_D = 0x0369, // U+0369Combining Latin Small Letter D\n U_Combining_Latin_Small_Letter_H = 0x036A, // U+036ACombining Latin Small Letter H\n U_Combining_Latin_Small_Letter_M = 0x036B, // U+036BCombining Latin Small Letter M\n U_Combining_Latin_Small_Letter_R = 0x036C, // U+036CCombining Latin Small Letter R\n U_Combining_Latin_Small_Letter_T = 0x036D, // U+036DCombining Latin Small Letter T\n U_Combining_Latin_Small_Letter_V = 0x036E, // U+036ECombining Latin Small Letter V\n U_Combining_Latin_Small_Letter_X = 0x036F, // U+036FCombining Latin Small Letter X\n\n /**\n * Unicode Character 'LINE SEPARATOR' (U+2028)\n * http://www.fileformat.info/info/unicode/char/2028/index.htm\n */\n LINE_SEPARATOR = 0x2028,\n /**\n * Unicode Character 'PARAGRAPH SEPARATOR' (U+2029)\n * http://www.fileformat.info/info/unicode/char/2029/index.htm\n */\n PARAGRAPH_SEPARATOR = 0x2029,\n /**\n * Unicode Character 'NEXT LINE' (U+0085)\n * http://www.fileformat.info/info/unicode/char/0085/index.htm\n */\n NEXT_LINE = 0x0085,\n\n // http://www.fileformat.info/info/unicode/category/Sk/list.htm\n U_CIRCUMFLEX = 0x005E,// U+005ECIRCUMFLEX\n U_GRAVE_ACCENT = 0x0060,// U+0060GRAVE ACCENT\n U_DIAERESIS = 0x00A8,// U+00A8DIAERESIS\n U_MACRON = 0x00AF,// U+00AFMACRON\n U_ACUTE_ACCENT = 0x00B4,// U+00B4ACUTE ACCENT\n U_CEDILLA = 0x00B8,// U+00B8CEDILLA\n U_MODIFIER_LETTER_LEFT_ARROWHEAD = 0x02C2,// U+02C2MODIFIER LETTER LEFT ARROWHEAD\n U_MODIFIER_LETTER_RIGHT_ARROWHEAD = 0x02C3,// U+02C3MODIFIER LETTER RIGHT ARROWHEAD\n U_MODIFIER_LETTER_UP_ARROWHEAD = 0x02C4,// U+02C4MODIFIER LETTER UP ARROWHEAD\n U_MODIFIER_LETTER_DOWN_ARROWHEAD = 0x02C5,// U+02C5MODIFIER LETTER DOWN ARROWHEAD\n U_MODIFIER_LETTER_CENTRED_RIGHT_HALF_RING = 0x02D2,// U+02D2MODIFIER LETTER CENTRED RIGHT HALF RING\n U_MODIFIER_LETTER_CENTRED_LEFT_HALF_RING = 0x02D3,// U+02D3MODIFIER LETTER CENTRED LEFT HALF RING\n U_MODIFIER_LETTER_UP_TACK = 0x02D4,// U+02D4MODIFIER LETTER UP TACK\n U_MODIFIER_LETTER_DOWN_TACK = 0x02D5,// U+02D5MODIFIER LETTER DOWN TACK\n U_MODIFIER_LETTER_PLUS_SIGN = 0x02D6,// U+02D6MODIFIER LETTER PLUS SIGN\n U_MODIFIER_LETTER_MINUS_SIGN = 0x02D7,// U+02D7MODIFIER LETTER MINUS SIGN\n U_BREVE = 0x02D8,// U+02D8BREVE\n U_DOT_ABOVE = 0x02D9,// U+02D9DOT ABOVE\n U_RING_ABOVE = 0x02DA,// U+02DARING ABOVE\n U_OGONEK = 0x02DB,// U+02DBOGONEK\n U_SMALL_TILDE = 0x02DC,// U+02DCSMALL TILDE\n U_DOUBLE_ACUTE_ACCENT = 0x02DD,// U+02DDDOUBLE ACUTE ACCENT\n U_MODIFIER_LETTER_RHOTIC_HOOK = 0x02DE,// U+02DEMODIFIER LETTER RHOTIC HOOK\n U_MODIFIER_LETTER_CROSS_ACCENT = 0x02DF,// U+02DFMODIFIER LETTER CROSS ACCENT\n U_MODIFIER_LETTER_EXTRA_HIGH_TONE_BAR = 0x02E5,// U+02E5MODIFIER LETTER EXTRA-HIGH TONE BAR\n U_MODIFIER_LETTER_HIGH_TONE_BAR = 0x02E6,// U+02E6MODIFIER LETTER HIGH TONE BAR\n U_MODIFIER_LETTER_MID_TONE_BAR = 0x02E7,// U+02E7MODIFIER LETTER MID TONE BAR\n U_MODIFIER_LETTER_LOW_TONE_BAR = 0x02E8,// U+02E8MODIFIER LETTER LOW TONE BAR\n U_MODIFIER_LETTER_EXTRA_LOW_TONE_BAR = 0x02E9,// U+02E9MODIFIER LETTER EXTRA-LOW TONE BAR\n U_MODIFIER_LETTER_YIN_DEPARTING_TONE_MARK = 0x02EA,// U+02EAMODIFIER LETTER YIN DEPARTING TONE MARK\n U_MODIFIER_LETTER_YANG_DEPARTING_TONE_MARK = 0x02EB,// U+02EBMODIFIER LETTER YANG DEPARTING TONE MARK\n U_MODIFIER_LETTER_UNASPIRATED = 0x02ED,// U+02EDMODIFIER LETTER UNASPIRATED\n U_MODIFIER_LETTER_LOW_DOWN_ARROWHEAD = 0x02EF,// U+02EFMODIFIER LETTER LOW DOWN ARROWHEAD\n U_MODIFIER_LETTER_LOW_UP_ARROWHEAD = 0x02F0,// U+02F0MODIFIER LETTER LOW UP ARROWHEAD\n U_MODIFIER_LETTER_LOW_LEFT_ARROWHEAD = 0x02F1,// U+02F1MODIFIER LETTER LOW LEFT ARROWHEAD\n U_MODIFIER_LETTER_LOW_RIGHT_ARROWHEAD = 0x02F2,// U+02F2MODIFIER LETTER LOW RIGHT ARROWHEAD\n U_MODIFIER_LETTER_LOW_RING = 0x02F3,// U+02F3MODIFIER LETTER LOW RING\n U_MODIFIER_LETTER_MIDDLE_GRAVE_ACCENT = 0x02F4,// U+02F4MODIFIER LETTER MIDDLE GRAVE ACCENT\n U_MODIFIER_LETTER_MIDDLE_DOUBLE_GRAVE_ACCENT = 0x02F5,// U+02F5MODIFIER LETTER MIDDLE DOUBLE GRAVE ACCENT\n U_MODIFIER_LETTER_MIDDLE_DOUBLE_ACUTE_ACCENT = 0x02F6,// U+02F6MODIFIER LETTER MIDDLE DOUBLE ACUTE ACCENT\n U_MODIFIER_LETTER_LOW_TILDE = 0x02F7,// U+02F7MODIFIER LETTER LOW TILDE\n U_MODIFIER_LETTER_RAISED_COLON = 0x02F8,// U+02F8MODIFIER LETTER RAISED COLON\n U_MODIFIER_LETTER_BEGIN_HIGH_TONE = 0x02F9,// U+02F9MODIFIER LETTER BEGIN HIGH TONE\n U_MODIFIER_LETTER_END_HIGH_TONE = 0x02FA,// U+02FAMODIFIER LETTER END HIGH TONE\n U_MODIFIER_LETTER_BEGIN_LOW_TONE = 0x02FB,// U+02FBMODIFIER LETTER BEGIN LOW TONE\n U_MODIFIER_LETTER_END_LOW_TONE = 0x02FC,// U+02FCMODIFIER LETTER END LOW TONE\n U_MODIFIER_LETTER_SHELF = 0x02FD,// U+02FDMODIFIER LETTER SHELF\n U_MODIFIER_LETTER_OPEN_SHELF = 0x02FE,// U+02FEMODIFIER LETTER OPEN SHELF\n U_MODIFIER_LETTER_LOW_LEFT_ARROW = 0x02FF,// U+02FFMODIFIER LETTER LOW LEFT ARROW\n U_GREEK_LOWER_NUMERAL_SIGN = 0x0375,// U+0375GREEK LOWER NUMERAL SIGN\n U_GREEK_TONOS = 0x0384,// U+0384GREEK TONOS\n U_GREEK_DIALYTIKA_TONOS = 0x0385,// U+0385GREEK DIALYTIKA TONOS\n U_GREEK_KORONIS = 0x1FBD,// U+1FBDGREEK KORONIS\n U_GREEK_PSILI = 0x1FBF,// U+1FBFGREEK PSILI\n U_GREEK_PERISPOMENI = 0x1FC0,// U+1FC0GREEK PERISPOMENI\n U_GREEK_DIALYTIKA_AND_PERISPOMENI = 0x1FC1,// U+1FC1GREEK DIALYTIKA AND PERISPOMENI\n U_GREEK_PSILI_AND_VARIA = 0x1FCD,// U+1FCDGREEK PSILI AND VARIA\n U_GREEK_PSILI_AND_OXIA = 0x1FCE,// U+1FCEGREEK PSILI AND OXIA\n U_GREEK_PSILI_AND_PERISPOMENI = 0x1FCF,// U+1FCFGREEK PSILI AND PERISPOMENI\n U_GREEK_DASIA_AND_VARIA = 0x1FDD,// U+1FDDGREEK DASIA AND VARIA\n U_GREEK_DASIA_AND_OXIA = 0x1FDE,// U+1FDEGREEK DASIA AND OXIA\n U_GREEK_DASIA_AND_PERISPOMENI = 0x1FDF,// U+1FDFGREEK DASIA AND PERISPOMENI\n U_GREEK_DIALYTIKA_AND_VARIA = 0x1FED,// U+1FEDGREEK DIALYTIKA AND VARIA\n U_GREEK_DIALYTIKA_AND_OXIA = 0x1FEE,// U+1FEEGREEK DIALYTIKA AND OXIA\n U_GREEK_VARIA = 0x1FEF,// U+1FEFGREEK VARIA\n U_GREEK_OXIA = 0x1FFD,// U+1FFDGREEK OXIA\n U_GREEK_DASIA = 0x1FFE,// U+1FFEGREEK DASIA\n\n U_OVERLINE = 0x203E, // Unicode Character 'OVERLINE'\n\n /**\n * UTF-8 BOM\n * Unicode Character 'ZERO WIDTH NO-BREAK SPACE' (U+FEFF)\n * http://www.fileformat.info/info/unicode/char/feff/index.htm\n */\n UTF8_BOM = 65279\n}\n"]}
|
1
|
+
{"version":3,"file":"charCode.js","sourceRoot":"","sources":["../../../../../src/appui-abstract/utils/filter/charCode.ts"],"names":[],"mappings":"AAAA;;;+FAG+F","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\r\n// file copied from https://github.com/microsoft/vscode/blob/master/src/vs/base/common/charCode.ts\r\n/* eslint-disable no-restricted-syntax */\r\n\r\n// Names from https://blog.codinghorror.com/ascii-pronunciation-rules-for-programmers/\r\n\r\n/**\r\n * An inlined enum containing useful character codes (to be used with String.charCodeAt).\r\n * Please leave the const keyword such that it gets inlined when compiled to JavaScript!\r\n * @internal\r\n */\r\nexport const enum CharCode {\r\n Null = 0,\r\n /**\r\n * The `\\b` character.\r\n */\r\n Backspace = 8,\r\n /**\r\n * The `\\t` character.\r\n */\r\n Tab = 9,\r\n /**\r\n * The `\\n` character.\r\n */\r\n LineFeed = 10,\r\n /**\r\n * The `\\r` character.\r\n */\r\n CarriageReturn = 13,\r\n Space = 32,\r\n /**\r\n * The `!` character.\r\n */\r\n ExclamationMark = 33,\r\n /**\r\n * The `\"` character.\r\n */\r\n DoubleQuote = 34,\r\n /**\r\n * The `#` character.\r\n */\r\n Hash = 35,\r\n /**\r\n * The `$` character.\r\n */\r\n DollarSign = 36,\r\n /**\r\n * The `%` character.\r\n */\r\n PercentSign = 37,\r\n /**\r\n * The `&` character.\r\n */\r\n Ampersand = 38,\r\n /**\r\n * The `'` character.\r\n */\r\n SingleQuote = 39,\r\n /**\r\n * The `(` character.\r\n */\r\n OpenParen = 40,\r\n /**\r\n * The `)` character.\r\n */\r\n CloseParen = 41,\r\n /**\r\n * The `*` character.\r\n */\r\n Asterisk = 42,\r\n /**\r\n * The `+` character.\r\n */\r\n Plus = 43,\r\n /**\r\n * The `,` character.\r\n */\r\n Comma = 44,\r\n /**\r\n * The `-` character.\r\n */\r\n Dash = 45,\r\n /**\r\n * The `.` character.\r\n */\r\n Period = 46,\r\n /**\r\n * The `/` character.\r\n */\r\n Slash = 47,\r\n\r\n Digit0 = 48,\r\n Digit1 = 49,\r\n Digit2 = 50,\r\n Digit3 = 51,\r\n Digit4 = 52,\r\n Digit5 = 53,\r\n Digit6 = 54,\r\n Digit7 = 55,\r\n Digit8 = 56,\r\n Digit9 = 57,\r\n\r\n /**\r\n * The `:` character.\r\n */\r\n Colon = 58,\r\n /**\r\n * The `;` character.\r\n */\r\n Semicolon = 59,\r\n /**\r\n * The `<` character.\r\n */\r\n LessThan = 60,\r\n /**\r\n * The `=` character.\r\n */\r\n Equals = 61,\r\n /**\r\n * The `>` character.\r\n */\r\n GreaterThan = 62,\r\n /**\r\n * The `?` character.\r\n */\r\n QuestionMark = 63,\r\n /**\r\n * The `@` character.\r\n */\r\n AtSign = 64,\r\n\r\n A = 65,\r\n B = 66,\r\n C = 67,\r\n D = 68,\r\n E = 69,\r\n F = 70,\r\n G = 71,\r\n H = 72,\r\n I = 73,\r\n J = 74,\r\n K = 75,\r\n L = 76,\r\n M = 77,\r\n N = 78,\r\n O = 79,\r\n P = 80,\r\n Q = 81,\r\n R = 82,\r\n S = 83,\r\n T = 84,\r\n U = 85,\r\n V = 86,\r\n W = 87,\r\n X = 88,\r\n Y = 89,\r\n Z = 90,\r\n\r\n /**\r\n * The `[` character.\r\n */\r\n OpenSquareBracket = 91,\r\n /**\r\n * The `\\` character.\r\n */\r\n Backslash = 92,\r\n /**\r\n * The `]` character.\r\n */\r\n CloseSquareBracket = 93,\r\n /**\r\n * The `^` character.\r\n */\r\n Caret = 94,\r\n /**\r\n * The `_` character.\r\n */\r\n Underline = 95,\r\n /**\r\n * The ``(`)`` character.\r\n */\r\n BackTick = 96,\r\n\r\n a = 97,\r\n b = 98,\r\n c = 99,\r\n d = 100,\r\n e = 101,\r\n f = 102,\r\n g = 103,\r\n h = 104,\r\n i = 105,\r\n j = 106,\r\n k = 107,\r\n l = 108,\r\n m = 109,\r\n n = 110,\r\n o = 111,\r\n p = 112,\r\n q = 113,\r\n r = 114,\r\n s = 115,\r\n t = 116,\r\n u = 117,\r\n v = 118,\r\n w = 119,\r\n x = 120,\r\n y = 121,\r\n z = 122,\r\n\r\n /**\r\n * The `{` character.\r\n */\r\n OpenCurlyBrace = 123,\r\n /**\r\n * The `|` character.\r\n */\r\n Pipe = 124,\r\n /**\r\n * The `}` character.\r\n */\r\n CloseCurlyBrace = 125,\r\n /**\r\n * The `~` character.\r\n */\r\n Tilde = 126,\r\n\r\n U_Combining_Grave_Accent = 0x0300,// U+0300Combining Grave Accent\r\n U_Combining_Acute_Accent = 0x0301,// U+0301Combining Acute Accent\r\n U_Combining_Circumflex_Accent = 0x0302,// U+0302Combining Circumflex Accent\r\n U_Combining_Tilde = 0x0303,// U+0303Combining Tilde\r\n U_Combining_Macron = 0x0304,// U+0304Combining Macron\r\n U_Combining_Overline = 0x0305,// U+0305Combining Overline\r\n U_Combining_Breve = 0x0306,// U+0306Combining Breve\r\n U_Combining_Dot_Above = 0x0307,// U+0307Combining Dot Above\r\n U_Combining_Diaeresis = 0x0308,// U+0308Combining Diaeresis\r\n U_Combining_Hook_Above = 0x0309,// U+0309Combining Hook Above\r\n U_Combining_Ring_Above = 0x030A,// U+030ACombining Ring Above\r\n U_Combining_Double_Acute_Accent = 0x030B,// U+030BCombining Double Acute Accent\r\n U_Combining_Caron = 0x030C,// U+030CCombining Caron\r\n U_Combining_Vertical_Line_Above = 0x030D,// U+030DCombining Vertical Line Above\r\n U_Combining_Double_Vertical_Line_Above = 0x030E,// U+030ECombining Double Vertical Line Above\r\n U_Combining_Double_Grave_Accent = 0x030F,// U+030FCombining Double Grave Accent\r\n U_Combining_Candrabindu = 0x0310,// U+0310Combining Candrabindu\r\n U_Combining_Inverted_Breve = 0x0311,// U+0311Combining Inverted Breve\r\n U_Combining_Turned_Comma_Above = 0x0312,// U+0312Combining Turned Comma Above\r\n U_Combining_Comma_Above = 0x0313,// U+0313Combining Comma Above\r\n U_Combining_Reversed_Comma_Above = 0x0314,// U+0314Combining Reversed Comma Above\r\n U_Combining_Comma_Above_Right = 0x0315,// U+0315Combining Comma Above Right\r\n U_Combining_Grave_Accent_Below = 0x0316,// U+0316Combining Grave Accent Below\r\n U_Combining_Acute_Accent_Below = 0x0317,// U+0317Combining Acute Accent Below\r\n U_Combining_Left_Tack_Below = 0x0318,// U+0318Combining Left Tack Below\r\n U_Combining_Right_Tack_Below = 0x0319,// U+0319Combining Right Tack Below\r\n U_Combining_Left_Angle_Above = 0x031A,// U+031ACombining Left Angle Above\r\n U_Combining_Horn = 0x031B,// U+031BCombining Horn\r\n U_Combining_Left_Half_Ring_Below = 0x031C,// U+031CCombining Left Half Ring Below\r\n U_Combining_Up_Tack_Below = 0x031D,// U+031DCombining Up Tack Below\r\n U_Combining_Down_Tack_Below = 0x031E,// U+031ECombining Down Tack Below\r\n U_Combining_Plus_Sign_Below = 0x031F,// U+031FCombining Plus Sign Below\r\n U_Combining_Minus_Sign_Below = 0x0320,// U+0320Combining Minus Sign Below\r\n U_Combining_Palatalized_Hook_Below = 0x0321,// U+0321Combining Palatalized Hook Below\r\n U_Combining_Retroflex_Hook_Below = 0x0322,// U+0322Combining Retroflex Hook Below\r\n U_Combining_Dot_Below = 0x0323,// U+0323Combining Dot Below\r\n U_Combining_Diaeresis_Below = 0x0324,// U+0324Combining Diaeresis Below\r\n U_Combining_Ring_Below = 0x0325,// U+0325Combining Ring Below\r\n U_Combining_Comma_Below = 0x0326,// U+0326Combining Comma Below\r\n U_Combining_Cedilla = 0x0327,// U+0327Combining Cedilla\r\n U_Combining_Ogonek = 0x0328,// U+0328Combining Ogonek\r\n U_Combining_Vertical_Line_Below = 0x0329,// U+0329Combining Vertical Line Below\r\n U_Combining_Bridge_Below = 0x032A,// U+032ACombining Bridge Below\r\n U_Combining_Inverted_Double_Arch_Below = 0x032B,// U+032BCombining Inverted Double Arch Below\r\n U_Combining_Caron_Below = 0x032C,// U+032CCombining Caron Below\r\n U_Combining_Circumflex_Accent_Below = 0x032D,// U+032DCombining Circumflex Accent Below\r\n U_Combining_Breve_Below = 0x032E,// U+032ECombining Breve Below\r\n U_Combining_Inverted_Breve_Below = 0x032F,// U+032FCombining Inverted Breve Below\r\n U_Combining_Tilde_Below = 0x0330,// U+0330Combining Tilde Below\r\n U_Combining_Macron_Below = 0x0331,// U+0331Combining Macron Below\r\n U_Combining_Low_Line = 0x0332,// U+0332Combining Low Line\r\n U_Combining_Double_Low_Line = 0x0333,// U+0333Combining Double Low Line\r\n U_Combining_Tilde_Overlay = 0x0334,// U+0334Combining Tilde Overlay\r\n U_Combining_Short_Stroke_Overlay = 0x0335,// U+0335Combining Short Stroke Overlay\r\n U_Combining_Long_Stroke_Overlay = 0x0336,// U+0336Combining Long Stroke Overlay\r\n U_Combining_Short_Solidus_Overlay = 0x0337,// U+0337Combining Short Solidus Overlay\r\n U_Combining_Long_Solidus_Overlay = 0x0338,// U+0338Combining Long Solidus Overlay\r\n U_Combining_Right_Half_Ring_Below = 0x0339,// U+0339Combining Right Half Ring Below\r\n U_Combining_Inverted_Bridge_Below = 0x033A,// U+033ACombining Inverted Bridge Below\r\n U_Combining_Square_Below = 0x033B,// U+033BCombining Square Below\r\n U_Combining_Seagull_Below = 0x033C,// U+033CCombining Seagull Below\r\n U_Combining_X_Above = 0x033D,// U+033DCombining X Above\r\n U_Combining_Vertical_Tilde = 0x033E,// U+033ECombining Vertical Tilde\r\n U_Combining_Double_Overline = 0x033F,// U+033FCombining Double Overline\r\n U_Combining_Grave_Tone_Mark = 0x0340,// U+0340Combining Grave Tone Mark\r\n U_Combining_Acute_Tone_Mark = 0x0341,// U+0341Combining Acute Tone Mark\r\n U_Combining_Greek_Perispomeni = 0x0342,// U+0342Combining Greek Perispomeni\r\n U_Combining_Greek_Koronis = 0x0343,// U+0343Combining Greek Koronis\r\n U_Combining_Greek_Dialytika_Tonos = 0x0344,// U+0344Combining Greek Dialytika Tonos\r\n U_Combining_Greek_Ypogegrammeni = 0x0345,// U+0345Combining Greek Ypogegrammeni\r\n U_Combining_Bridge_Above = 0x0346,// U+0346Combining Bridge Above\r\n U_Combining_Equals_Sign_Below = 0x0347,// U+0347Combining Equals Sign Below\r\n U_Combining_Double_Vertical_Line_Below = 0x0348,// U+0348Combining Double Vertical Line Below\r\n U_Combining_Left_Angle_Below = 0x0349,// U+0349Combining Left Angle Below\r\n U_Combining_Not_Tilde_Above = 0x034A,// U+034ACombining Not Tilde Above\r\n U_Combining_Homothetic_Above = 0x034B,// U+034BCombining Homothetic Above\r\n U_Combining_Almost_Equal_To_Above = 0x034C,// U+034CCombining Almost Equal To Above\r\n U_Combining_Left_Right_Arrow_Below = 0x034D,// U+034DCombining Left Right Arrow Below\r\n U_Combining_Upwards_Arrow_Below = 0x034E,// U+034ECombining Upwards Arrow Below\r\n U_Combining_Grapheme_Joiner = 0x034F,// U+034FCombining Grapheme Joiner\r\n U_Combining_Right_Arrowhead_Above = 0x0350,// U+0350Combining Right Arrowhead Above\r\n U_Combining_Left_Half_Ring_Above = 0x0351,// U+0351Combining Left Half Ring Above\r\n U_Combining_Fermata = 0x0352,// U+0352Combining Fermata\r\n U_Combining_X_Below = 0x0353,// U+0353Combining X Below\r\n U_Combining_Left_Arrowhead_Below = 0x0354,// U+0354Combining Left Arrowhead Below\r\n U_Combining_Right_Arrowhead_Below = 0x0355,// U+0355Combining Right Arrowhead Below\r\n U_Combining_Right_Arrowhead_And_Up_Arrowhead_Below = 0x0356,// U+0356Combining Right Arrowhead And Up Arrowhead Below\r\n U_Combining_Right_Half_Ring_Above = 0x0357,// U+0357Combining Right Half Ring Above\r\n U_Combining_Dot_Above_Right = 0x0358,// U+0358Combining Dot Above Right\r\n U_Combining_Asterisk_Below = 0x0359,// U+0359Combining Asterisk Below\r\n U_Combining_Double_Ring_Below = 0x035A,// U+035ACombining Double Ring Below\r\n U_Combining_Zigzag_Above = 0x035B,// U+035BCombining Zigzag Above\r\n U_Combining_Double_Breve_Below = 0x035C,// U+035CCombining Double Breve Below\r\n U_Combining_Double_Breve = 0x035D,// U+035DCombining Double Breve\r\n U_Combining_Double_Macron = 0x035E,// U+035ECombining Double Macron\r\n U_Combining_Double_Macron_Below = 0x035F,// U+035FCombining Double Macron Below\r\n U_Combining_Double_Tilde = 0x0360,// U+0360Combining Double Tilde\r\n U_Combining_Double_Inverted_Breve = 0x0361,// U+0361Combining Double Inverted Breve\r\n U_Combining_Double_Rightwards_Arrow_Below = 0x0362,// U+0362Combining Double Rightwards Arrow Below\r\n U_Combining_Latin_Small_Letter_A = 0x0363, // U+0363Combining Latin Small Letter A\r\n U_Combining_Latin_Small_Letter_E = 0x0364, // U+0364Combining Latin Small Letter E\r\n U_Combining_Latin_Small_Letter_I = 0x0365, // U+0365Combining Latin Small Letter I\r\n U_Combining_Latin_Small_Letter_O = 0x0366, // U+0366Combining Latin Small Letter O\r\n U_Combining_Latin_Small_Letter_U = 0x0367, // U+0367Combining Latin Small Letter U\r\n U_Combining_Latin_Small_Letter_C = 0x0368, // U+0368Combining Latin Small Letter C\r\n U_Combining_Latin_Small_Letter_D = 0x0369, // U+0369Combining Latin Small Letter D\r\n U_Combining_Latin_Small_Letter_H = 0x036A, // U+036ACombining Latin Small Letter H\r\n U_Combining_Latin_Small_Letter_M = 0x036B, // U+036BCombining Latin Small Letter M\r\n U_Combining_Latin_Small_Letter_R = 0x036C, // U+036CCombining Latin Small Letter R\r\n U_Combining_Latin_Small_Letter_T = 0x036D, // U+036DCombining Latin Small Letter T\r\n U_Combining_Latin_Small_Letter_V = 0x036E, // U+036ECombining Latin Small Letter V\r\n U_Combining_Latin_Small_Letter_X = 0x036F, // U+036FCombining Latin Small Letter X\r\n\r\n /**\r\n * Unicode Character 'LINE SEPARATOR' (U+2028)\r\n * http://www.fileformat.info/info/unicode/char/2028/index.htm\r\n */\r\n LINE_SEPARATOR = 0x2028,\r\n /**\r\n * Unicode Character 'PARAGRAPH SEPARATOR' (U+2029)\r\n * http://www.fileformat.info/info/unicode/char/2029/index.htm\r\n */\r\n PARAGRAPH_SEPARATOR = 0x2029,\r\n /**\r\n * Unicode Character 'NEXT LINE' (U+0085)\r\n * http://www.fileformat.info/info/unicode/char/0085/index.htm\r\n */\r\n NEXT_LINE = 0x0085,\r\n\r\n // http://www.fileformat.info/info/unicode/category/Sk/list.htm\r\n U_CIRCUMFLEX = 0x005E,// U+005ECIRCUMFLEX\r\n U_GRAVE_ACCENT = 0x0060,// U+0060GRAVE ACCENT\r\n U_DIAERESIS = 0x00A8,// U+00A8DIAERESIS\r\n U_MACRON = 0x00AF,// U+00AFMACRON\r\n U_ACUTE_ACCENT = 0x00B4,// U+00B4ACUTE ACCENT\r\n U_CEDILLA = 0x00B8,// U+00B8CEDILLA\r\n U_MODIFIER_LETTER_LEFT_ARROWHEAD = 0x02C2,// U+02C2MODIFIER LETTER LEFT ARROWHEAD\r\n U_MODIFIER_LETTER_RIGHT_ARROWHEAD = 0x02C3,// U+02C3MODIFIER LETTER RIGHT ARROWHEAD\r\n U_MODIFIER_LETTER_UP_ARROWHEAD = 0x02C4,// U+02C4MODIFIER LETTER UP ARROWHEAD\r\n U_MODIFIER_LETTER_DOWN_ARROWHEAD = 0x02C5,// U+02C5MODIFIER LETTER DOWN ARROWHEAD\r\n U_MODIFIER_LETTER_CENTRED_RIGHT_HALF_RING = 0x02D2,// U+02D2MODIFIER LETTER CENTRED RIGHT HALF RING\r\n U_MODIFIER_LETTER_CENTRED_LEFT_HALF_RING = 0x02D3,// U+02D3MODIFIER LETTER CENTRED LEFT HALF RING\r\n U_MODIFIER_LETTER_UP_TACK = 0x02D4,// U+02D4MODIFIER LETTER UP TACK\r\n U_MODIFIER_LETTER_DOWN_TACK = 0x02D5,// U+02D5MODIFIER LETTER DOWN TACK\r\n U_MODIFIER_LETTER_PLUS_SIGN = 0x02D6,// U+02D6MODIFIER LETTER PLUS SIGN\r\n U_MODIFIER_LETTER_MINUS_SIGN = 0x02D7,// U+02D7MODIFIER LETTER MINUS SIGN\r\n U_BREVE = 0x02D8,// U+02D8BREVE\r\n U_DOT_ABOVE = 0x02D9,// U+02D9DOT ABOVE\r\n U_RING_ABOVE = 0x02DA,// U+02DARING ABOVE\r\n U_OGONEK = 0x02DB,// U+02DBOGONEK\r\n U_SMALL_TILDE = 0x02DC,// U+02DCSMALL TILDE\r\n U_DOUBLE_ACUTE_ACCENT = 0x02DD,// U+02DDDOUBLE ACUTE ACCENT\r\n U_MODIFIER_LETTER_RHOTIC_HOOK = 0x02DE,// U+02DEMODIFIER LETTER RHOTIC HOOK\r\n U_MODIFIER_LETTER_CROSS_ACCENT = 0x02DF,// U+02DFMODIFIER LETTER CROSS ACCENT\r\n U_MODIFIER_LETTER_EXTRA_HIGH_TONE_BAR = 0x02E5,// U+02E5MODIFIER LETTER EXTRA-HIGH TONE BAR\r\n U_MODIFIER_LETTER_HIGH_TONE_BAR = 0x02E6,// U+02E6MODIFIER LETTER HIGH TONE BAR\r\n U_MODIFIER_LETTER_MID_TONE_BAR = 0x02E7,// U+02E7MODIFIER LETTER MID TONE BAR\r\n U_MODIFIER_LETTER_LOW_TONE_BAR = 0x02E8,// U+02E8MODIFIER LETTER LOW TONE BAR\r\n U_MODIFIER_LETTER_EXTRA_LOW_TONE_BAR = 0x02E9,// U+02E9MODIFIER LETTER EXTRA-LOW TONE BAR\r\n U_MODIFIER_LETTER_YIN_DEPARTING_TONE_MARK = 0x02EA,// U+02EAMODIFIER LETTER YIN DEPARTING TONE MARK\r\n U_MODIFIER_LETTER_YANG_DEPARTING_TONE_MARK = 0x02EB,// U+02EBMODIFIER LETTER YANG DEPARTING TONE MARK\r\n U_MODIFIER_LETTER_UNASPIRATED = 0x02ED,// U+02EDMODIFIER LETTER UNASPIRATED\r\n U_MODIFIER_LETTER_LOW_DOWN_ARROWHEAD = 0x02EF,// U+02EFMODIFIER LETTER LOW DOWN ARROWHEAD\r\n U_MODIFIER_LETTER_LOW_UP_ARROWHEAD = 0x02F0,// U+02F0MODIFIER LETTER LOW UP ARROWHEAD\r\n U_MODIFIER_LETTER_LOW_LEFT_ARROWHEAD = 0x02F1,// U+02F1MODIFIER LETTER LOW LEFT ARROWHEAD\r\n U_MODIFIER_LETTER_LOW_RIGHT_ARROWHEAD = 0x02F2,// U+02F2MODIFIER LETTER LOW RIGHT ARROWHEAD\r\n U_MODIFIER_LETTER_LOW_RING = 0x02F3,// U+02F3MODIFIER LETTER LOW RING\r\n U_MODIFIER_LETTER_MIDDLE_GRAVE_ACCENT = 0x02F4,// U+02F4MODIFIER LETTER MIDDLE GRAVE ACCENT\r\n U_MODIFIER_LETTER_MIDDLE_DOUBLE_GRAVE_ACCENT = 0x02F5,// U+02F5MODIFIER LETTER MIDDLE DOUBLE GRAVE ACCENT\r\n U_MODIFIER_LETTER_MIDDLE_DOUBLE_ACUTE_ACCENT = 0x02F6,// U+02F6MODIFIER LETTER MIDDLE DOUBLE ACUTE ACCENT\r\n U_MODIFIER_LETTER_LOW_TILDE = 0x02F7,// U+02F7MODIFIER LETTER LOW TILDE\r\n U_MODIFIER_LETTER_RAISED_COLON = 0x02F8,// U+02F8MODIFIER LETTER RAISED COLON\r\n U_MODIFIER_LETTER_BEGIN_HIGH_TONE = 0x02F9,// U+02F9MODIFIER LETTER BEGIN HIGH TONE\r\n U_MODIFIER_LETTER_END_HIGH_TONE = 0x02FA,// U+02FAMODIFIER LETTER END HIGH TONE\r\n U_MODIFIER_LETTER_BEGIN_LOW_TONE = 0x02FB,// U+02FBMODIFIER LETTER BEGIN LOW TONE\r\n U_MODIFIER_LETTER_END_LOW_TONE = 0x02FC,// U+02FCMODIFIER LETTER END LOW TONE\r\n U_MODIFIER_LETTER_SHELF = 0x02FD,// U+02FDMODIFIER LETTER SHELF\r\n U_MODIFIER_LETTER_OPEN_SHELF = 0x02FE,// U+02FEMODIFIER LETTER OPEN SHELF\r\n U_MODIFIER_LETTER_LOW_LEFT_ARROW = 0x02FF,// U+02FFMODIFIER LETTER LOW LEFT ARROW\r\n U_GREEK_LOWER_NUMERAL_SIGN = 0x0375,// U+0375GREEK LOWER NUMERAL SIGN\r\n U_GREEK_TONOS = 0x0384,// U+0384GREEK TONOS\r\n U_GREEK_DIALYTIKA_TONOS = 0x0385,// U+0385GREEK DIALYTIKA TONOS\r\n U_GREEK_KORONIS = 0x1FBD,// U+1FBDGREEK KORONIS\r\n U_GREEK_PSILI = 0x1FBF,// U+1FBFGREEK PSILI\r\n U_GREEK_PERISPOMENI = 0x1FC0,// U+1FC0GREEK PERISPOMENI\r\n U_GREEK_DIALYTIKA_AND_PERISPOMENI = 0x1FC1,// U+1FC1GREEK DIALYTIKA AND PERISPOMENI\r\n U_GREEK_PSILI_AND_VARIA = 0x1FCD,// U+1FCDGREEK PSILI AND VARIA\r\n U_GREEK_PSILI_AND_OXIA = 0x1FCE,// U+1FCEGREEK PSILI AND OXIA\r\n U_GREEK_PSILI_AND_PERISPOMENI = 0x1FCF,// U+1FCFGREEK PSILI AND PERISPOMENI\r\n U_GREEK_DASIA_AND_VARIA = 0x1FDD,// U+1FDDGREEK DASIA AND VARIA\r\n U_GREEK_DASIA_AND_OXIA = 0x1FDE,// U+1FDEGREEK DASIA AND OXIA\r\n U_GREEK_DASIA_AND_PERISPOMENI = 0x1FDF,// U+1FDFGREEK DASIA AND PERISPOMENI\r\n U_GREEK_DIALYTIKA_AND_VARIA = 0x1FED,// U+1FEDGREEK DIALYTIKA AND VARIA\r\n U_GREEK_DIALYTIKA_AND_OXIA = 0x1FEE,// U+1FEEGREEK DIALYTIKA AND OXIA\r\n U_GREEK_VARIA = 0x1FEF,// U+1FEFGREEK VARIA\r\n U_GREEK_OXIA = 0x1FFD,// U+1FFDGREEK OXIA\r\n U_GREEK_DASIA = 0x1FFE,// U+1FFEGREEK DASIA\r\n\r\n U_OVERLINE = 0x203E, // Unicode Character 'OVERLINE'\r\n\r\n /**\r\n * UTF-8 BOM\r\n * Unicode Character 'ZERO WIDTH NO-BREAK SPACE' (U+FEFF)\r\n * http://www.fileformat.info/info/unicode/char/feff/index.htm\r\n */\r\n UTF8_BOM = 65279\r\n}\r\n"]}
|
@@ -1,99 +1,99 @@
|
|
1
|
-
/** @packageDocumentation
|
2
|
-
* @module Utilities
|
3
|
-
*/
|
4
|
-
/** Interface that returns indices of matches
|
5
|
-
* @public
|
6
|
-
*/
|
7
|
-
export interface IMatch {
|
8
|
-
start: number;
|
9
|
-
end: number;
|
10
|
-
}
|
11
|
-
/**
|
12
|
-
* IFilter defines filter function type
|
13
|
-
* @param word filter string
|
14
|
-
* @param wordToMatchAgainst string to search for matches
|
15
|
-
* @internal
|
16
|
-
*/
|
17
|
-
export declare type IFilter = (word: string, wordToMatchAgainst: string) => IMatch[] | null;
|
18
|
-
/**
|
19
|
-
* @returns A filter which combines the provided set
|
20
|
-
* of filters with an or. The *first* filters that
|
21
|
-
* matches defined the return value of the returned
|
22
|
-
* filter.
|
23
|
-
* @internal
|
24
|
-
*/
|
25
|
-
export declare function or(...filter: IFilter[]): IFilter;
|
26
|
-
/** @internal */
|
27
|
-
export declare const matchesStrictPrefix: IFilter;
|
28
|
-
/** @internal */
|
29
|
-
export declare const matchesPrefix: IFilter;
|
30
|
-
/** @internal */
|
31
|
-
export declare function matchesContiguousSubString(word: string, wordToMatchAgainst: string): IMatch[] | null;
|
32
|
-
/**
|
33
|
-
* Return case insensitive substring matches
|
34
|
-
* @param word filter string
|
35
|
-
* @param wordToMatchAgainst string to test
|
36
|
-
* @internal
|
37
|
-
*/
|
38
|
-
export declare function matchesSubString(word: string, wordToMatchAgainst: string): IMatch[] | null;
|
39
|
-
/**
|
40
|
-
* Return matches treating "camelCase" words separately. For example the filter string "gp" would return two matches in string "Git Pull".
|
41
|
-
* @param word filter string
|
42
|
-
* @param wordToMatchAgainst string to test
|
43
|
-
* @internal
|
44
|
-
*/
|
45
|
-
export declare function matchesCamelCase(word: string, camelCaseWord: string): IMatch[] | null;
|
46
|
-
/**
|
47
|
-
* Matches beginning of words supporting non-ASCII languages.
|
48
|
-
* @param word Filter string
|
49
|
-
* @param target String being searched
|
50
|
-
* @param contiguous - If true the filter string must be found "contiguous" in the searched string (E.g. "pul" will match "Git: Pull").
|
51
|
-
* Otherwise also matches sub string of the word with beginnings of the words in the target (e.g. "gp" or "g p" will match "Git: Pull").
|
52
|
-
* Useful in cases where the target is words (e.g. command labels)
|
53
|
-
* @internal
|
54
|
-
*/
|
55
|
-
export declare function matchesWords(word: string, target: string, contiguous?: boolean): IMatch[] | null;
|
56
|
-
/**
|
57
|
-
* Match pattern against word in a fuzzy way. This will only return a single match.
|
58
|
-
* @internal
|
59
|
-
*/
|
60
|
-
export declare function matchesFuzzy(word: string, wordToMatchAgainst: string, enableSeparateSubstringMatching?: boolean): IMatch[] | null;
|
61
|
-
/**
|
62
|
-
* Match pattern against word in a fuzzy way. As in IntelliSense and faster and more
|
63
|
-
* powerful than `matchesFuzzy`. This will only return a single match.
|
64
|
-
* @internal
|
65
|
-
*/
|
66
|
-
export declare function matchesFuzzy2(pattern: string, word: string): IMatch[] | null;
|
67
|
-
/**
|
68
|
-
* @internal
|
69
|
-
*/
|
70
|
-
export declare function createMatches(score: undefined | FuzzyScore): IMatch[];
|
71
|
-
/** @internal */
|
72
|
-
export declare function isPatternInWord(patternLow: string, patternPos: number, patternLen: number, wordLow: string, wordPos: number, wordLen: number): boolean;
|
73
|
-
/**
|
74
|
-
* A tuple of three values.
|
75
|
-
* 0. the score
|
76
|
-
* 1. the matches encoded as bitmask (2^53)
|
77
|
-
* 2. the offset at which matching started
|
78
|
-
* @internal
|
79
|
-
*/
|
80
|
-
export declare type FuzzyScore = [number, number, number];
|
81
|
-
/** @internal */
|
82
|
-
export declare namespace FuzzyScore {
|
83
|
-
/**
|
84
|
-
* No matches and value `-100`
|
85
|
-
* @internal
|
86
|
-
*/
|
87
|
-
const Default: [-100, 0, 0];
|
88
|
-
/** @internal */
|
89
|
-
function isDefault(score?: FuzzyScore): score is [-100, 0, 0];
|
90
|
-
}
|
91
|
-
/** @internal */
|
92
|
-
export declare type FuzzyScorer = (pattern: string, lowPattern: string, patternPos: number, word: string, lowWord: string, wordPos: number, firstMatchCanBeWeak: boolean) => FuzzyScore | undefined;
|
93
|
-
/** @internal */
|
94
|
-
export declare function fuzzyScore(pattern: string, patternLow: string, patternStart: number, word: string, wordLow: string, wordStart: number, firstMatchCanBeWeak: boolean): FuzzyScore | undefined;
|
95
|
-
/** @internal */
|
96
|
-
export declare function fuzzyScoreGracefulAggressive(pattern: string, lowPattern: string, patternPos: number, word: string, lowWord: string, wordPos: number, firstMatchCanBeWeak: boolean): FuzzyScore | undefined;
|
97
|
-
/** @internal */
|
98
|
-
export declare function fuzzyScoreGraceful(pattern: string, lowPattern: string, patternPos: number, word: string, lowWord: string, wordPos: number, firstMatchCanBeWeak: boolean): FuzzyScore | undefined;
|
1
|
+
/** @packageDocumentation
|
2
|
+
* @module Utilities
|
3
|
+
*/
|
4
|
+
/** Interface that returns indices of matches
|
5
|
+
* @public
|
6
|
+
*/
|
7
|
+
export interface IMatch {
|
8
|
+
start: number;
|
9
|
+
end: number;
|
10
|
+
}
|
11
|
+
/**
|
12
|
+
* IFilter defines filter function type
|
13
|
+
* @param word filter string
|
14
|
+
* @param wordToMatchAgainst string to search for matches
|
15
|
+
* @internal
|
16
|
+
*/
|
17
|
+
export declare type IFilter = (word: string, wordToMatchAgainst: string) => IMatch[] | null;
|
18
|
+
/**
|
19
|
+
* @returns A filter which combines the provided set
|
20
|
+
* of filters with an or. The *first* filters that
|
21
|
+
* matches defined the return value of the returned
|
22
|
+
* filter.
|
23
|
+
* @internal
|
24
|
+
*/
|
25
|
+
export declare function or(...filter: IFilter[]): IFilter;
|
26
|
+
/** @internal */
|
27
|
+
export declare const matchesStrictPrefix: IFilter;
|
28
|
+
/** @internal */
|
29
|
+
export declare const matchesPrefix: IFilter;
|
30
|
+
/** @internal */
|
31
|
+
export declare function matchesContiguousSubString(word: string, wordToMatchAgainst: string): IMatch[] | null;
|
32
|
+
/**
|
33
|
+
* Return case insensitive substring matches
|
34
|
+
* @param word filter string
|
35
|
+
* @param wordToMatchAgainst string to test
|
36
|
+
* @internal
|
37
|
+
*/
|
38
|
+
export declare function matchesSubString(word: string, wordToMatchAgainst: string): IMatch[] | null;
|
39
|
+
/**
|
40
|
+
* Return matches treating "camelCase" words separately. For example the filter string "gp" would return two matches in string "Git Pull".
|
41
|
+
* @param word filter string
|
42
|
+
* @param wordToMatchAgainst string to test
|
43
|
+
* @internal
|
44
|
+
*/
|
45
|
+
export declare function matchesCamelCase(word: string, camelCaseWord: string): IMatch[] | null;
|
46
|
+
/**
|
47
|
+
* Matches beginning of words supporting non-ASCII languages.
|
48
|
+
* @param word Filter string
|
49
|
+
* @param target String being searched
|
50
|
+
* @param contiguous - If true the filter string must be found "contiguous" in the searched string (E.g. "pul" will match "Git: Pull").
|
51
|
+
* Otherwise also matches sub string of the word with beginnings of the words in the target (e.g. "gp" or "g p" will match "Git: Pull").
|
52
|
+
* Useful in cases where the target is words (e.g. command labels)
|
53
|
+
* @internal
|
54
|
+
*/
|
55
|
+
export declare function matchesWords(word: string, target: string, contiguous?: boolean): IMatch[] | null;
|
56
|
+
/**
|
57
|
+
* Match pattern against word in a fuzzy way. This will only return a single match.
|
58
|
+
* @internal
|
59
|
+
*/
|
60
|
+
export declare function matchesFuzzy(word: string, wordToMatchAgainst: string, enableSeparateSubstringMatching?: boolean): IMatch[] | null;
|
61
|
+
/**
|
62
|
+
* Match pattern against word in a fuzzy way. As in IntelliSense and faster and more
|
63
|
+
* powerful than `matchesFuzzy`. This will only return a single match.
|
64
|
+
* @internal
|
65
|
+
*/
|
66
|
+
export declare function matchesFuzzy2(pattern: string, word: string): IMatch[] | null;
|
67
|
+
/**
|
68
|
+
* @internal
|
69
|
+
*/
|
70
|
+
export declare function createMatches(score: undefined | FuzzyScore): IMatch[];
|
71
|
+
/** @internal */
|
72
|
+
export declare function isPatternInWord(patternLow: string, patternPos: number, patternLen: number, wordLow: string, wordPos: number, wordLen: number): boolean;
|
73
|
+
/**
|
74
|
+
* A tuple of three values.
|
75
|
+
* 0. the score
|
76
|
+
* 1. the matches encoded as bitmask (2^53)
|
77
|
+
* 2. the offset at which matching started
|
78
|
+
* @internal
|
79
|
+
*/
|
80
|
+
export declare type FuzzyScore = [number, number, number];
|
81
|
+
/** @internal */
|
82
|
+
export declare namespace FuzzyScore {
|
83
|
+
/**
|
84
|
+
* No matches and value `-100`
|
85
|
+
* @internal
|
86
|
+
*/
|
87
|
+
const Default: [-100, 0, 0];
|
88
|
+
/** @internal */
|
89
|
+
function isDefault(score?: FuzzyScore): score is [-100, 0, 0];
|
90
|
+
}
|
91
|
+
/** @internal */
|
92
|
+
export declare type FuzzyScorer = (pattern: string, lowPattern: string, patternPos: number, word: string, lowWord: string, wordPos: number, firstMatchCanBeWeak: boolean) => FuzzyScore | undefined;
|
93
|
+
/** @internal */
|
94
|
+
export declare function fuzzyScore(pattern: string, patternLow: string, patternStart: number, word: string, wordLow: string, wordStart: number, firstMatchCanBeWeak: boolean): FuzzyScore | undefined;
|
95
|
+
/** @internal */
|
96
|
+
export declare function fuzzyScoreGracefulAggressive(pattern: string, lowPattern: string, patternPos: number, word: string, lowWord: string, wordPos: number, firstMatchCanBeWeak: boolean): FuzzyScore | undefined;
|
97
|
+
/** @internal */
|
98
|
+
export declare function fuzzyScoreGraceful(pattern: string, lowPattern: string, patternPos: number, word: string, lowWord: string, wordPos: number, firstMatchCanBeWeak: boolean): FuzzyScore | undefined;
|
99
99
|
//# sourceMappingURL=filters.d.ts.map
|