@itwin/appui-abstract 4.1.0-dev.6 → 4.1.0-dev.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/appui-abstract/BaseUiItemsProvider.d.ts +31 -0
- package/lib/cjs/appui-abstract/BaseUiItemsProvider.d.ts.map +1 -0
- package/lib/cjs/appui-abstract/BaseUiItemsProvider.js +80 -0
- package/lib/cjs/appui-abstract/BaseUiItemsProvider.js.map +1 -0
- package/lib/cjs/appui-abstract/UiItemsManager.d.ts +114 -0
- package/lib/cjs/appui-abstract/UiItemsManager.d.ts.map +1 -0
- package/lib/cjs/appui-abstract/UiItemsManager.js +194 -0
- package/lib/cjs/appui-abstract/UiItemsManager.js.map +1 -0
- package/lib/cjs/appui-abstract/UiItemsProvider.d.ts +30 -0
- package/lib/cjs/appui-abstract/UiItemsProvider.d.ts.map +1 -0
- package/lib/cjs/appui-abstract/UiItemsProvider.js +10 -0
- package/lib/cjs/appui-abstract/UiItemsProvider.js.map +1 -0
- package/lib/cjs/appui-abstract/backstage/BackstageItem.d.ts +92 -0
- package/lib/cjs/appui-abstract/backstage/BackstageItem.d.ts.map +1 -0
- package/lib/cjs/appui-abstract/backstage/BackstageItem.js +71 -0
- package/lib/cjs/appui-abstract/backstage/BackstageItem.js.map +1 -0
- package/lib/cjs/appui-abstract/backstage/BackstageItemsManager.d.ts +39 -0
- package/lib/cjs/appui-abstract/backstage/BackstageItemsManager.d.ts.map +1 -0
- package/lib/cjs/appui-abstract/backstage/BackstageItemsManager.js +134 -0
- package/lib/cjs/appui-abstract/backstage/BackstageItemsManager.js.map +1 -0
- package/lib/cjs/appui-abstract/items/ProvidedItem.d.ts +12 -0
- package/lib/cjs/appui-abstract/items/ProvidedItem.d.ts.map +1 -0
- package/lib/cjs/appui-abstract/items/ProvidedItem.js +10 -0
- package/lib/cjs/appui-abstract/items/ProvidedItem.js.map +1 -0
- package/lib/cjs/appui-abstract/items/StageUsage.d.ts +17 -0
- package/lib/cjs/appui-abstract/items/StageUsage.d.ts.map +1 -0
- package/lib/cjs/appui-abstract/items/StageUsage.js +25 -0
- package/lib/cjs/appui-abstract/items/StageUsage.js.map +1 -0
- package/lib/cjs/appui-abstract/statusbar/StatusBarItem.d.ts +129 -0
- package/lib/cjs/appui-abstract/statusbar/StatusBarItem.d.ts.map +1 -0
- package/lib/cjs/appui-abstract/statusbar/StatusBarItem.js +88 -0
- package/lib/cjs/appui-abstract/statusbar/StatusBarItem.js.map +1 -0
- package/lib/cjs/appui-abstract/statusbar/StatusBarItemsManager.d.ts +40 -0
- package/lib/cjs/appui-abstract/statusbar/StatusBarItemsManager.d.ts.map +1 -0
- package/lib/cjs/appui-abstract/statusbar/StatusBarItemsManager.js +136 -0
- package/lib/cjs/appui-abstract/statusbar/StatusBarItemsManager.js.map +1 -0
- package/lib/cjs/appui-abstract/toolbars/ToolbarItem.d.ts +27 -1
- package/lib/cjs/appui-abstract/toolbars/ToolbarItem.d.ts.map +1 -1
- package/lib/cjs/appui-abstract/toolbars/ToolbarItem.js +23 -1
- package/lib/cjs/appui-abstract/toolbars/ToolbarItem.js.map +1 -1
- package/lib/cjs/appui-abstract/toolbars/ToolbarItemsManager.d.ts +46 -0
- package/lib/cjs/appui-abstract/toolbars/ToolbarItemsManager.d.ts.map +1 -0
- package/lib/cjs/appui-abstract/toolbars/ToolbarItemsManager.js +236 -0
- package/lib/cjs/appui-abstract/toolbars/ToolbarItemsManager.js.map +1 -0
- package/lib/cjs/appui-abstract/utils/isLetter.d.ts +10 -0
- package/lib/cjs/appui-abstract/utils/isLetter.d.ts.map +1 -0
- package/lib/cjs/appui-abstract/utils/isLetter.js +20 -0
- package/lib/cjs/appui-abstract/utils/isLetter.js.map +1 -0
- package/lib/cjs/appui-abstract/widget/AbstractWidgetProps.d.ts +87 -0
- package/lib/cjs/appui-abstract/widget/AbstractWidgetProps.d.ts.map +1 -0
- package/lib/cjs/appui-abstract/widget/AbstractWidgetProps.js +10 -0
- package/lib/cjs/appui-abstract/widget/AbstractWidgetProps.js.map +1 -0
- package/lib/cjs/appui-abstract/widget/StagePanel.d.ts +37 -0
- package/lib/cjs/appui-abstract/widget/StagePanel.d.ts.map +1 -0
- package/lib/cjs/appui-abstract/widget/StagePanel.js +47 -0
- package/lib/cjs/appui-abstract/widget/StagePanel.js.map +1 -0
- package/lib/cjs/appui-abstract/widget/WidgetState.d.ts +20 -0
- package/lib/cjs/appui-abstract/widget/WidgetState.d.ts.map +1 -0
- package/lib/cjs/appui-abstract/widget/WidgetState.js +28 -0
- package/lib/cjs/appui-abstract/widget/WidgetState.js.map +1 -0
- package/lib/cjs/appui-abstract.d.ts +32 -0
- package/lib/cjs/appui-abstract.d.ts.map +1 -1
- package/lib/cjs/appui-abstract.js +32 -0
- package/lib/cjs/appui-abstract.js.map +1 -1
- package/lib/esm/appui-abstract/BaseUiItemsProvider.d.ts +31 -0
- package/lib/esm/appui-abstract/BaseUiItemsProvider.d.ts.map +1 -0
- package/lib/esm/appui-abstract/BaseUiItemsProvider.js +76 -0
- package/lib/esm/appui-abstract/BaseUiItemsProvider.js.map +1 -0
- package/lib/esm/appui-abstract/UiItemsManager.d.ts +114 -0
- package/lib/esm/appui-abstract/UiItemsManager.d.ts.map +1 -0
- package/lib/esm/appui-abstract/UiItemsManager.js +191 -0
- package/lib/esm/appui-abstract/UiItemsManager.js.map +1 -0
- package/lib/esm/appui-abstract/UiItemsProvider.d.ts +30 -0
- package/lib/esm/appui-abstract/UiItemsProvider.d.ts.map +1 -0
- package/lib/esm/appui-abstract/UiItemsProvider.js +9 -0
- package/lib/esm/appui-abstract/UiItemsProvider.js.map +1 -0
- package/lib/esm/appui-abstract/backstage/BackstageItem.d.ts +92 -0
- package/lib/esm/appui-abstract/backstage/BackstageItem.d.ts.map +1 -0
- package/lib/esm/appui-abstract/backstage/BackstageItem.js +66 -0
- package/lib/esm/appui-abstract/backstage/BackstageItem.js.map +1 -0
- package/lib/esm/appui-abstract/backstage/BackstageItemsManager.d.ts +39 -0
- package/lib/esm/appui-abstract/backstage/BackstageItemsManager.d.ts.map +1 -0
- package/lib/esm/appui-abstract/backstage/BackstageItemsManager.js +130 -0
- package/lib/esm/appui-abstract/backstage/BackstageItemsManager.js.map +1 -0
- package/lib/esm/appui-abstract/items/ProvidedItem.d.ts +12 -0
- package/lib/esm/appui-abstract/items/ProvidedItem.d.ts.map +1 -0
- package/lib/esm/appui-abstract/items/ProvidedItem.js +9 -0
- package/lib/esm/appui-abstract/items/ProvidedItem.js.map +1 -0
- package/lib/esm/appui-abstract/items/StageUsage.d.ts +17 -0
- package/lib/esm/appui-abstract/items/StageUsage.d.ts.map +1 -0
- package/lib/esm/appui-abstract/items/StageUsage.js +22 -0
- package/lib/esm/appui-abstract/items/StageUsage.js.map +1 -0
- package/lib/esm/appui-abstract/statusbar/StatusBarItem.d.ts +129 -0
- package/lib/esm/appui-abstract/statusbar/StatusBarItem.d.ts.map +1 -0
- package/lib/esm/appui-abstract/statusbar/StatusBarItem.js +82 -0
- package/lib/esm/appui-abstract/statusbar/StatusBarItem.js.map +1 -0
- package/lib/esm/appui-abstract/statusbar/StatusBarItemsManager.d.ts +40 -0
- package/lib/esm/appui-abstract/statusbar/StatusBarItemsManager.d.ts.map +1 -0
- package/lib/esm/appui-abstract/statusbar/StatusBarItemsManager.js +132 -0
- package/lib/esm/appui-abstract/statusbar/StatusBarItemsManager.js.map +1 -0
- package/lib/esm/appui-abstract/toolbars/ToolbarItem.d.ts +27 -1
- package/lib/esm/appui-abstract/toolbars/ToolbarItem.d.ts.map +1 -1
- package/lib/esm/appui-abstract/toolbars/ToolbarItem.js +22 -0
- package/lib/esm/appui-abstract/toolbars/ToolbarItem.js.map +1 -1
- package/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.d.ts +46 -0
- package/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.d.ts.map +1 -0
- package/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.js +232 -0
- package/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.js.map +1 -0
- package/lib/esm/appui-abstract/utils/isLetter.d.ts +10 -0
- package/lib/esm/appui-abstract/utils/isLetter.d.ts.map +1 -0
- package/lib/esm/appui-abstract/utils/isLetter.js +16 -0
- package/lib/esm/appui-abstract/utils/isLetter.js.map +1 -0
- package/lib/esm/appui-abstract/widget/AbstractWidgetProps.d.ts +87 -0
- package/lib/esm/appui-abstract/widget/AbstractWidgetProps.d.ts.map +1 -0
- package/lib/esm/appui-abstract/widget/AbstractWidgetProps.js +9 -0
- package/lib/esm/appui-abstract/widget/AbstractWidgetProps.js.map +1 -0
- package/lib/esm/appui-abstract/widget/StagePanel.d.ts +37 -0
- package/lib/esm/appui-abstract/widget/StagePanel.d.ts.map +1 -0
- package/lib/esm/appui-abstract/widget/StagePanel.js +44 -0
- package/lib/esm/appui-abstract/widget/StagePanel.js.map +1 -0
- package/lib/esm/appui-abstract/widget/WidgetState.d.ts +20 -0
- package/lib/esm/appui-abstract/widget/WidgetState.d.ts.map +1 -0
- package/lib/esm/appui-abstract/widget/WidgetState.js +25 -0
- package/lib/esm/appui-abstract/widget/WidgetState.js.map +1 -0
- package/lib/esm/appui-abstract.d.ts +32 -0
- package/lib/esm/appui-abstract.d.ts.map +1 -1
- package/lib/esm/appui-abstract.js +32 -0
- package/lib/esm/appui-abstract.js.map +1 -1
- package/package.json +5 -5
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"isLetter.js","sourceRoot":"","sources":["../../../../src/appui-abstract/utils/isLetter.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH;;;;GAIG;AACH,MAAM,UAAU,QAAQ,CAAC,IAAY;IACnC,OAAO,IAAI,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,WAAW,EAAE,KAAK,IAAI,CAAC,WAAW,EAAE,CAAC;AACxE,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Utilities\r\n */\r\n\r\n/** Uses ECMAScript case transformation (toLowerCase() and toUpperCase()) to check whether or not a given character is a letter.\r\n * Beyond the English alphabet, this solution will also work for most Greek, Armenian, Cyrillic, and Latin characters.\r\n * But, it will not work for Chinese or Japanese characters since those languages do not have uppercase and lowercase letters.\r\n * @alpha\r\n */\r\nexport function isLetter(char: string): boolean {\r\n return char.length === 1 && char.toLowerCase() !== char.toUpperCase();\r\n}\r\n"]}
|
@@ -0,0 +1,87 @@
|
|
1
|
+
/** @packageDocumentation
|
2
|
+
* @module Widget
|
3
|
+
*/
|
4
|
+
import { ConditionalStringValue } from "../items/ConditionalStringValue";
|
5
|
+
import { BadgeType } from "../items/BadgeType";
|
6
|
+
import { ProvidedItem } from "../items/ProvidedItem";
|
7
|
+
import { WidgetState } from "./WidgetState";
|
8
|
+
/** Properties for a Widget.
|
9
|
+
* @deprecated in 3.6. Use [WidgetProps]($appui-react) instead.
|
10
|
+
* @public
|
11
|
+
*/
|
12
|
+
export interface AbstractWidgetProps extends ProvidedItem {
|
13
|
+
/** Gets the widget content. */
|
14
|
+
readonly getWidgetContent: () => any;
|
15
|
+
/** Name of icon WebFont entry or if specifying an imported SVG symbol use "webSvg:" prefix to imported symbol Id. */
|
16
|
+
readonly icon?: string | ConditionalStringValue;
|
17
|
+
/** Id used to uniquely identify the widget.
|
18
|
+
* @note It is recommended to provide unique widget id to correctly save/restore App layout.
|
19
|
+
*/
|
20
|
+
readonly id?: string;
|
21
|
+
/** Default Widget state. Controls how the Widget is initially displayed. Defaults to WidgetState.Unloaded. */
|
22
|
+
readonly defaultState?: WidgetState;
|
23
|
+
/** if set, component will be considered selected but will NOT display an "active stripe" - defaults to false. Typically used by buttons that toggle between two states. */
|
24
|
+
readonly label?: string | ConditionalStringValue;
|
25
|
+
/** used to explicitly set the tooltip shown by a component. */
|
26
|
+
readonly tooltip?: string | ConditionalStringValue;
|
27
|
+
/** Indicates whether the Widget is free-form or rectangular. Defaults to false for rectangular. The default is false.
|
28
|
+
* @deprecated in 3.0. Free-form widgets are obsolete.
|
29
|
+
* */
|
30
|
+
readonly isFreeform?: boolean;
|
31
|
+
/** Application data attached to the Widget. */
|
32
|
+
readonly applicationData?: any;
|
33
|
+
/** optional data to used by item implementor. */
|
34
|
+
readonly internalData?: Map<string, any>;
|
35
|
+
/** Indicates whether this Widget is for the Tool Settings. */
|
36
|
+
readonly isToolSettings?: boolean;
|
37
|
+
/** Indicates whether this Widget is for the Status Bar. */
|
38
|
+
readonly isStatusBar?: boolean;
|
39
|
+
/** Indicates whether this Widget should fill the available space in the Zone. */
|
40
|
+
readonly fillZone?: boolean;
|
41
|
+
/** Indicates if widget can be popped out to a child window. Defaults to false. */
|
42
|
+
readonly canPopout?: boolean;
|
43
|
+
/** If the widget state is changed to `floating` and the floatingContainerId is defined, the widget will be added to a
|
44
|
+
* floating panel by that name. If no name is specified, a GUID is used. */
|
45
|
+
readonly floatingContainerId?: string;
|
46
|
+
/** Indicates if widget can be in floating state, default to true. */
|
47
|
+
readonly isFloatingStateSupported?: boolean;
|
48
|
+
/** Indicates if floating widget is resizable, defaults to false which caused the widget to be auto-sized.. */
|
49
|
+
readonly isFloatingStateWindowResizable?: boolean;
|
50
|
+
/** Defines that default Top Left position when widget is floated via API calls */
|
51
|
+
readonly defaultFloatingPosition?: {
|
52
|
+
x: number;
|
53
|
+
y: number;
|
54
|
+
};
|
55
|
+
/** Widget priority */
|
56
|
+
readonly priority?: number;
|
57
|
+
/** Defines the SyncUi event Ids that will trigger the stateFunc to run to determine the state of the widget. */
|
58
|
+
readonly syncEventIds?: string[];
|
59
|
+
/** Function executed to determine the state of the widget.
|
60
|
+
* Used by UI 1.0 widgets ONLY.
|
61
|
+
* @deprecated in 3.3. UI 1.0 support will be removed in AppUi 4.0.
|
62
|
+
*/
|
63
|
+
readonly stateFunc?: (state: Readonly<WidgetState>) => WidgetState;
|
64
|
+
/** Badge to be overlaid on the widget tab. */
|
65
|
+
readonly badgeType?: BadgeType;
|
66
|
+
/** Handler for widget state changed event */
|
67
|
+
readonly onWidgetStateChanged?: () => void;
|
68
|
+
/** Save transient DOM state (i.e. scroll offset). */
|
69
|
+
readonly saveTransientState?: () => void;
|
70
|
+
/** Restore transient DOM state.
|
71
|
+
* @note Return true if the state is restored or the Widget will remount.
|
72
|
+
*/
|
73
|
+
readonly restoreTransientState?: () => boolean;
|
74
|
+
/** Optional default size to use when floating a widget. If not specified then the default is to size to content if possible.
|
75
|
+
* Certain widget can't be intrinsically sized and must specify a content. These are typically ones that use a canvas element
|
76
|
+
* internally. */
|
77
|
+
defaultFloatingSize?: {
|
78
|
+
width: number;
|
79
|
+
height: number;
|
80
|
+
};
|
81
|
+
/** Optional prop that tells the widget system to fade this widget out with the rest of the UI when it is in floating state */
|
82
|
+
hideWithUiWhenFloating?: boolean;
|
83
|
+
/** Optional prop specifying which Panel sides can be docking targets for this widget. If this prop is not specified, all sides are allowed.
|
84
|
+
* An empty array is treated the same as an undefined prop, allowing all targets. */
|
85
|
+
readonly allowedPanelTargets?: ReadonlyArray<"left" | "right" | "bottom" | "top">;
|
86
|
+
}
|
87
|
+
//# sourceMappingURL=AbstractWidgetProps.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AbstractWidgetProps.d.ts","sourceRoot":"","sources":["../../../../src/appui-abstract/widget/AbstractWidgetProps.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C;;;GAGG;AACH,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACvD,+BAA+B;IAC/B,QAAQ,CAAC,gBAAgB,EAAE,MAAM,GAAG,CAAC;IACrC,qHAAqH;IACrH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,sBAAsB,CAAC;IAChD;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IACrB,8GAA8G;IAC9G,QAAQ,CAAC,YAAY,CAAC,EAAE,WAAW,CAAC;IACpC,2KAA2K;IAC3K,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,sBAAsB,CAAC;IACjD,+DAA+D;IAC/D,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,sBAAsB,CAAC;IACnD;;SAEK;IACL,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;IAC9B,+CAA+C;IAC/C,QAAQ,CAAC,eAAe,CAAC,EAAE,GAAG,CAAC;IAC/B,iDAAiD;IACjD,QAAQ,CAAC,YAAY,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACzC,8DAA8D;IAC9D,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IAClC,2DAA2D;IAC3D,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAC/B,iFAAiF;IACjF,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAC5B,kFAAkF;IAClF,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;IAC7B;+EAC2E;IAC3E,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IACtC,qEAAqE;IACrE,QAAQ,CAAC,wBAAwB,CAAC,EAAE,OAAO,CAAC;IAC5C,8GAA8G;IAC9G,QAAQ,CAAC,8BAA8B,CAAC,EAAE,OAAO,CAAC;IAClD,kFAAkF;IAClF,QAAQ,CAAC,uBAAuB,CAAC,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC5D,sBAAsB;IACtB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,gHAAgH;IAChH,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACjC;;;MAGE;IACF,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,WAAW,CAAC,KAAK,WAAW,CAAC;IACnE,8CAA8C;IAC9C,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC;IAC/B,6CAA6C;IAC7C,QAAQ,CAAC,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3C,qDAAqD;IACrD,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IACzC;;OAEG;IACH,QAAQ,CAAC,qBAAqB,CAAC,EAAE,MAAM,OAAO,CAAC;IAC/C;;qBAEiB;IACjB,mBAAmB,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACxD,8HAA8H;IAC9H,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC;yFACqF;IACrF,QAAQ,CAAC,mBAAmB,CAAC,EAAG,aAAa,CAAC,MAAM,GAAC,OAAO,GAAC,QAAQ,GAAC,KAAK,CAAC,CAAC;CAC9E"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
5
|
+
/** @packageDocumentation
|
6
|
+
* @module Widget
|
7
|
+
*/
|
8
|
+
export {};
|
9
|
+
//# sourceMappingURL=AbstractWidgetProps.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AbstractWidgetProps.js","sourceRoot":"","sources":["../../../../src/appui-abstract/widget/AbstractWidgetProps.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Widget\r\n */\r\n\r\nimport { ConditionalStringValue } from \"../items/ConditionalStringValue\";\r\nimport { BadgeType } from \"../items/BadgeType\";\r\nimport { ProvidedItem } from \"../items/ProvidedItem\";\r\nimport { WidgetState } from \"./WidgetState\";\r\n\r\n/** Properties for a Widget.\r\n * @deprecated in 3.6. Use [WidgetProps]($appui-react) instead.\r\n * @public\r\n */\r\nexport interface AbstractWidgetProps extends ProvidedItem { // eslint-disable-line deprecation/deprecation\r\n /** Gets the widget content. */\r\n readonly getWidgetContent: () => any;\r\n /** Name of icon WebFont entry or if specifying an imported SVG symbol use \"webSvg:\" prefix to imported symbol Id. */\r\n readonly icon?: string | ConditionalStringValue;\r\n /** Id used to uniquely identify the widget.\r\n * @note It is recommended to provide unique widget id to correctly save/restore App layout.\r\n */\r\n readonly id?: string;\r\n /** Default Widget state. Controls how the Widget is initially displayed. Defaults to WidgetState.Unloaded. */\r\n readonly defaultState?: WidgetState; // eslint-disable-line deprecation/deprecation\r\n /** if set, component will be considered selected but will NOT display an \"active stripe\" - defaults to false. Typically used by buttons that toggle between two states. */\r\n readonly label?: string | ConditionalStringValue;\r\n /** used to explicitly set the tooltip shown by a component. */\r\n readonly tooltip?: string | ConditionalStringValue;\r\n /** Indicates whether the Widget is free-form or rectangular. Defaults to false for rectangular. The default is false.\r\n * @deprecated in 3.0. Free-form widgets are obsolete.\r\n * */\r\n readonly isFreeform?: boolean;\r\n /** Application data attached to the Widget. */\r\n readonly applicationData?: any;\r\n /** optional data to used by item implementor. */\r\n readonly internalData?: Map<string, any>;\r\n /** Indicates whether this Widget is for the Tool Settings. */\r\n readonly isToolSettings?: boolean;\r\n /** Indicates whether this Widget is for the Status Bar. */\r\n readonly isStatusBar?: boolean;\r\n /** Indicates whether this Widget should fill the available space in the Zone. */\r\n readonly fillZone?: boolean;\r\n /** Indicates if widget can be popped out to a child window. Defaults to false. */\r\n readonly canPopout?: boolean;\r\n /** If the widget state is changed to `floating` and the floatingContainerId is defined, the widget will be added to a\r\n * floating panel by that name. If no name is specified, a GUID is used. */\r\n readonly floatingContainerId?: string;\r\n /** Indicates if widget can be in floating state, default to true. */\r\n readonly isFloatingStateSupported?: boolean;\r\n /** Indicates if floating widget is resizable, defaults to false which caused the widget to be auto-sized.. */\r\n readonly isFloatingStateWindowResizable?: boolean;\r\n /** Defines that default Top Left position when widget is floated via API calls */\r\n readonly defaultFloatingPosition?: { x: number, y: number };\r\n /** Widget priority */\r\n readonly priority?: number;\r\n /** Defines the SyncUi event Ids that will trigger the stateFunc to run to determine the state of the widget. */\r\n readonly syncEventIds?: string[];\r\n /** Function executed to determine the state of the widget.\r\n * Used by UI 1.0 widgets ONLY.\r\n * @deprecated in 3.3. UI 1.0 support will be removed in AppUi 4.0.\r\n */\r\n readonly stateFunc?: (state: Readonly<WidgetState>) => WidgetState; // eslint-disable-line deprecation/deprecation\r\n /** Badge to be overlaid on the widget tab. */\r\n readonly badgeType?: BadgeType;\r\n /** Handler for widget state changed event */\r\n readonly onWidgetStateChanged?: () => void;\r\n /** Save transient DOM state (i.e. scroll offset). */\r\n readonly saveTransientState?: () => void;\r\n /** Restore transient DOM state.\r\n * @note Return true if the state is restored or the Widget will remount.\r\n */\r\n readonly restoreTransientState?: () => boolean;\r\n /** Optional default size to use when floating a widget. If not specified then the default is to size to content if possible.\r\n * Certain widget can't be intrinsically sized and must specify a content. These are typically ones that use a canvas element\r\n * internally. */\r\n defaultFloatingSize?: { width: number, height: number };\r\n /** Optional prop that tells the widget system to fade this widget out with the rest of the UI when it is in floating state */\r\n hideWithUiWhenFloating?: boolean;\r\n /** Optional prop specifying which Panel sides can be docking targets for this widget. If this prop is not specified, all sides are allowed.\r\n * An empty array is treated the same as an undefined prop, allowing all targets. */\r\n readonly allowedPanelTargets?: ReadonlyArray<\"left\"|\"right\"|\"bottom\"|\"top\">;\r\n}\r\n"]}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/** @packageDocumentation
|
2
|
+
* @module Widget
|
3
|
+
*/
|
4
|
+
/** Enum for AppUi 1 `Zone` locations that can have widgets added to them at run-time via [[UiItemsProvider]].
|
5
|
+
* @public @deprecated in 3.0. UI 1.0 support will be removed in AppUi 4.0.
|
6
|
+
*/
|
7
|
+
export declare enum AbstractZoneLocation {
|
8
|
+
CenterLeft = 4,
|
9
|
+
CenterRight = 6,
|
10
|
+
BottomLeft = 7,
|
11
|
+
BottomRight = 9
|
12
|
+
}
|
13
|
+
/** Available Stage Panel locations.
|
14
|
+
* @deprecated in 3.6. Use [StagePanelLocation]($appui-react) instead.
|
15
|
+
* @public
|
16
|
+
*/
|
17
|
+
export declare enum StagePanelLocation {
|
18
|
+
Top = 101,
|
19
|
+
/** @deprecated in 3.6 UI 1.0 support will be removed in AppUi 4.0. */
|
20
|
+
TopMost = 102,
|
21
|
+
Left = 103,
|
22
|
+
Right = 104,
|
23
|
+
Bottom = 105,
|
24
|
+
/** @deprecated in 3.6 UI 1.0 support will be removed in AppUi 4.0. */
|
25
|
+
BottomMost = 106
|
26
|
+
}
|
27
|
+
/** Enum for Stage Panel Sections
|
28
|
+
* @deprecated in 3.6. Use [StagePanelSection]($appui-react) instead.
|
29
|
+
* @public
|
30
|
+
*/
|
31
|
+
export declare enum StagePanelSection {
|
32
|
+
Start = 0,
|
33
|
+
/** @deprecated in 3.2. - all widgets that a targeted for Middle will be placed in `End` section */
|
34
|
+
Middle = 1,
|
35
|
+
End = 2
|
36
|
+
}
|
37
|
+
//# sourceMappingURL=StagePanel.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"StagePanel.d.ts","sourceRoot":"","sources":["../../../../src/appui-abstract/widget/StagePanel.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;GAEG;AACH,oBAAY,oBAAoB;IAC9B,UAAU,IAAI;IACd,WAAW,IAAI;IACf,UAAU,IAAI;IACd,WAAW,IAAI;CAChB;AAED;;;GAGG;AACH,oBAAY,kBAAkB;IAC5B,GAAG,MAAM;IACT,sEAAsE;IACtE,OAAO,MAAA;IACP,IAAI,MAAA;IACJ,KAAK,MAAA;IACL,MAAM,MAAA;IACN,sEAAsE;IACtE,UAAU,MAAA;CACX;AAED;;;GAGG;AACH,oBAAY,iBAAiB;IAC3B,KAAK,IAAA;IACL,mGAAmG;IACnG,MAAM,IAAA;IACN,GAAG,IAAA;CACJ"}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
5
|
+
/** @packageDocumentation
|
6
|
+
* @module Widget
|
7
|
+
*/
|
8
|
+
/** Enum for AppUi 1 `Zone` locations that can have widgets added to them at run-time via [[UiItemsProvider]].
|
9
|
+
* @public @deprecated in 3.0. UI 1.0 support will be removed in AppUi 4.0.
|
10
|
+
*/
|
11
|
+
export var AbstractZoneLocation;
|
12
|
+
(function (AbstractZoneLocation) {
|
13
|
+
AbstractZoneLocation[AbstractZoneLocation["CenterLeft"] = 4] = "CenterLeft";
|
14
|
+
AbstractZoneLocation[AbstractZoneLocation["CenterRight"] = 6] = "CenterRight";
|
15
|
+
AbstractZoneLocation[AbstractZoneLocation["BottomLeft"] = 7] = "BottomLeft";
|
16
|
+
AbstractZoneLocation[AbstractZoneLocation["BottomRight"] = 9] = "BottomRight";
|
17
|
+
})(AbstractZoneLocation || (AbstractZoneLocation = {}));
|
18
|
+
/** Available Stage Panel locations.
|
19
|
+
* @deprecated in 3.6. Use [StagePanelLocation]($appui-react) instead.
|
20
|
+
* @public
|
21
|
+
*/
|
22
|
+
export var StagePanelLocation;
|
23
|
+
(function (StagePanelLocation) {
|
24
|
+
StagePanelLocation[StagePanelLocation["Top"] = 101] = "Top";
|
25
|
+
/** @deprecated in 3.6 UI 1.0 support will be removed in AppUi 4.0. */
|
26
|
+
StagePanelLocation[StagePanelLocation["TopMost"] = 102] = "TopMost";
|
27
|
+
StagePanelLocation[StagePanelLocation["Left"] = 103] = "Left";
|
28
|
+
StagePanelLocation[StagePanelLocation["Right"] = 104] = "Right";
|
29
|
+
StagePanelLocation[StagePanelLocation["Bottom"] = 105] = "Bottom";
|
30
|
+
/** @deprecated in 3.6 UI 1.0 support will be removed in AppUi 4.0. */
|
31
|
+
StagePanelLocation[StagePanelLocation["BottomMost"] = 106] = "BottomMost";
|
32
|
+
})(StagePanelLocation || (StagePanelLocation = {}));
|
33
|
+
/** Enum for Stage Panel Sections
|
34
|
+
* @deprecated in 3.6. Use [StagePanelSection]($appui-react) instead.
|
35
|
+
* @public
|
36
|
+
*/
|
37
|
+
export var StagePanelSection;
|
38
|
+
(function (StagePanelSection) {
|
39
|
+
StagePanelSection[StagePanelSection["Start"] = 0] = "Start";
|
40
|
+
/** @deprecated in 3.2. - all widgets that a targeted for Middle will be placed in `End` section */
|
41
|
+
StagePanelSection[StagePanelSection["Middle"] = 1] = "Middle";
|
42
|
+
StagePanelSection[StagePanelSection["End"] = 2] = "End";
|
43
|
+
})(StagePanelSection || (StagePanelSection = {}));
|
44
|
+
//# sourceMappingURL=StagePanel.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"StagePanel.js","sourceRoot":"","sources":["../../../../src/appui-abstract/widget/StagePanel.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH;;GAEG;AACH,MAAM,CAAN,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,2EAAc,CAAA;IACd,6EAAe,CAAA;IACf,2EAAc,CAAA;IACd,6EAAe,CAAA;AACjB,CAAC,EALW,oBAAoB,KAApB,oBAAoB,QAK/B;AAED;;;GAGG;AACH,MAAM,CAAN,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,2DAAS,CAAA;IACT,sEAAsE;IACtE,mEAAO,CAAA;IACP,6DAAI,CAAA;IACJ,+DAAK,CAAA;IACL,iEAAM,CAAA;IACN,sEAAsE;IACtE,yEAAU,CAAA;AACZ,CAAC,EATW,kBAAkB,KAAlB,kBAAkB,QAS7B;AAED;;;GAGG;AACH,MAAM,CAAN,IAAY,iBAKX;AALD,WAAY,iBAAiB;IAC3B,2DAAK,CAAA;IACL,mGAAmG;IACnG,6DAAM,CAAA;IACN,uDAAG,CAAA;AACL,CAAC,EALW,iBAAiB,KAAjB,iBAAiB,QAK5B","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Widget\r\n */\r\n\r\n/** Enum for AppUi 1 `Zone` locations that can have widgets added to them at run-time via [[UiItemsProvider]].\r\n * @public @deprecated in 3.0. UI 1.0 support will be removed in AppUi 4.0.\r\n */\r\nexport enum AbstractZoneLocation {\r\n CenterLeft = 4,\r\n CenterRight = 6,\r\n BottomLeft = 7,\r\n BottomRight = 9,\r\n}\r\n\r\n/** Available Stage Panel locations.\r\n * @deprecated in 3.6. Use [StagePanelLocation]($appui-react) instead.\r\n * @public\r\n */\r\nexport enum StagePanelLocation {\r\n Top = 101,\r\n /** @deprecated in 3.6 UI 1.0 support will be removed in AppUi 4.0. */\r\n TopMost,\r\n Left,\r\n Right,\r\n Bottom,\r\n /** @deprecated in 3.6 UI 1.0 support will be removed in AppUi 4.0. */\r\n BottomMost,\r\n}\r\n\r\n/** Enum for Stage Panel Sections\r\n * @deprecated in 3.6. Use [StagePanelSection]($appui-react) instead.\r\n * @public\r\n */\r\nexport enum StagePanelSection {\r\n Start,\r\n /** @deprecated in 3.2. - all widgets that a targeted for Middle will be placed in `End` section */\r\n Middle,\r\n End,\r\n}\r\n"]}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/** @packageDocumentation
|
2
|
+
* @module Widget
|
3
|
+
*/
|
4
|
+
/** Widget state enum.
|
5
|
+
* @deprecated in 3.6. Use [WidgetState]($appui-react) instead.
|
6
|
+
* @public
|
7
|
+
*/
|
8
|
+
export declare enum WidgetState {
|
9
|
+
/** Widget tab is visible and active and its contents are visible */
|
10
|
+
Open = 0,
|
11
|
+
/** Widget tab is visible but its contents are not visible */
|
12
|
+
Closed = 1,
|
13
|
+
/** Widget tab nor its contents are visible */
|
14
|
+
Hidden = 2,
|
15
|
+
/** Widget tab is in a 'floating' state and is not docked in zone's tab stack */
|
16
|
+
Floating = 3,
|
17
|
+
/** Widget tab is visible but its contents are not loaded */
|
18
|
+
Unloaded = 4
|
19
|
+
}
|
20
|
+
//# sourceMappingURL=WidgetState.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WidgetState.d.ts","sourceRoot":"","sources":["../../../../src/appui-abstract/widget/WidgetState.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;;GAGG;AACH,oBAAY,WAAW;IACrB,oEAAoE;IACpE,IAAI,IAAA;IACJ,6DAA6D;IAC7D,MAAM,IAAA;IACN,8CAA8C;IAC9C,MAAM,IAAA;IACN,gFAAgF;IAChF,QAAQ,IAAA;IACR,4DAA4D;IAC5D,QAAQ,IAAA;CACT"}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
5
|
+
/** @packageDocumentation
|
6
|
+
* @module Widget
|
7
|
+
*/
|
8
|
+
/** Widget state enum.
|
9
|
+
* @deprecated in 3.6. Use [WidgetState]($appui-react) instead.
|
10
|
+
* @public
|
11
|
+
*/
|
12
|
+
export var WidgetState;
|
13
|
+
(function (WidgetState) {
|
14
|
+
/** Widget tab is visible and active and its contents are visible */
|
15
|
+
WidgetState[WidgetState["Open"] = 0] = "Open";
|
16
|
+
/** Widget tab is visible but its contents are not visible */
|
17
|
+
WidgetState[WidgetState["Closed"] = 1] = "Closed";
|
18
|
+
/** Widget tab nor its contents are visible */
|
19
|
+
WidgetState[WidgetState["Hidden"] = 2] = "Hidden";
|
20
|
+
/** Widget tab is in a 'floating' state and is not docked in zone's tab stack */
|
21
|
+
WidgetState[WidgetState["Floating"] = 3] = "Floating";
|
22
|
+
/** Widget tab is visible but its contents are not loaded */
|
23
|
+
WidgetState[WidgetState["Unloaded"] = 4] = "Unloaded";
|
24
|
+
})(WidgetState || (WidgetState = {}));
|
25
|
+
//# sourceMappingURL=WidgetState.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WidgetState.js","sourceRoot":"","sources":["../../../../src/appui-abstract/widget/WidgetState.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH;;;GAGG;AACH,MAAM,CAAN,IAAY,WAWX;AAXD,WAAY,WAAW;IACrB,oEAAoE;IACpE,6CAAI,CAAA;IACJ,6DAA6D;IAC7D,iDAAM,CAAA;IACN,8CAA8C;IAC9C,iDAAM,CAAA;IACN,gFAAgF;IAChF,qDAAQ,CAAA;IACR,4DAA4D;IAC5D,qDAAQ,CAAA;AACV,CAAC,EAXW,WAAW,KAAX,WAAW,QAWtB","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Widget\r\n */\r\n\r\n/** Widget state enum.\r\n * @deprecated in 3.6. Use [WidgetState]($appui-react) instead.\r\n * @public\r\n */\r\nexport enum WidgetState {\r\n /** Widget tab is visible and active and its contents are visible */\r\n Open,\r\n /** Widget tab is visible but its contents are not visible */\r\n Closed,\r\n /** Widget tab nor its contents are visible */\r\n Hidden,\r\n /** Widget tab is in a 'floating' state and is not docked in zone's tab stack */\r\n Floating,\r\n /** Widget tab is visible but its contents are not loaded */\r\n Unloaded,\r\n}\r\n"]}
|
@@ -1,4 +1,9 @@
|
|
1
|
+
export * from "./appui-abstract/BaseUiItemsProvider";
|
1
2
|
export * from "./appui-abstract/UiAdmin";
|
3
|
+
export * from "./appui-abstract/UiItemsManager";
|
4
|
+
export * from "./appui-abstract/UiItemsProvider";
|
5
|
+
export * from "./appui-abstract/backstage/BackstageItem";
|
6
|
+
export * from "./appui-abstract/backstage/BackstageItemsManager";
|
2
7
|
export * from "./appui-abstract/common/KeyboardKey";
|
3
8
|
export * from "./appui-abstract/content/ContentLayoutProps";
|
4
9
|
export * from "./appui-abstract/content/StandardContentLayouts";
|
@@ -11,7 +16,9 @@ export * from "./appui-abstract/items/AbstractToolbarProps";
|
|
11
16
|
export * from "./appui-abstract/items/BadgeType";
|
12
17
|
export * from "./appui-abstract/items/ConditionalBooleanValue";
|
13
18
|
export * from "./appui-abstract/items/ConditionalStringValue";
|
19
|
+
export * from "./appui-abstract/items/ProvidedItem";
|
14
20
|
export * from "./appui-abstract/items/RelativePosition";
|
21
|
+
export * from "./appui-abstract/items/StageUsage";
|
15
22
|
export * from "./appui-abstract/notification/MessagePresenter";
|
16
23
|
export * from "./appui-abstract/notification/MessageSeverity";
|
17
24
|
export * from "./appui-abstract/properties/Description";
|
@@ -22,9 +29,15 @@ export * from "./appui-abstract/properties/StandardEditorNames";
|
|
22
29
|
export * from "./appui-abstract/properties/StandardTypeNames";
|
23
30
|
export * from "./appui-abstract/properties/Value";
|
24
31
|
export * from "./appui-abstract/quantity/BaseQuantityDescription";
|
32
|
+
export * from "./appui-abstract/statusbar/StatusBarItem";
|
33
|
+
export * from "./appui-abstract/statusbar/StatusBarItemsManager";
|
25
34
|
export * from "./appui-abstract/toolbars/ToolbarItem";
|
35
|
+
export * from "./appui-abstract/toolbars/ToolbarItemsManager";
|
36
|
+
export * from "./appui-abstract/statusbar/StatusBarItem";
|
37
|
+
export * from "./appui-abstract/statusbar/StatusBarItemsManager";
|
26
38
|
export * from "./appui-abstract/utils/callbacks";
|
27
39
|
export * from "./appui-abstract/utils/misc";
|
40
|
+
export * from "./appui-abstract/utils/isLetter";
|
28
41
|
export * from "./appui-abstract/utils/IconSpecUtilities";
|
29
42
|
export * from "./appui-abstract/utils/PointProps";
|
30
43
|
export * from "./appui-abstract/utils/UiError";
|
@@ -33,10 +46,17 @@ export * from "./appui-abstract/utils/UiEvent";
|
|
33
46
|
export * from "./appui-abstract/utils/filter/charCode";
|
34
47
|
export * from "./appui-abstract/utils/filter/filters";
|
35
48
|
export * from "./appui-abstract/utils/filter/strings";
|
49
|
+
export * from "./appui-abstract/widget/AbstractWidgetProps";
|
50
|
+
export * from "./appui-abstract/widget/StagePanel";
|
51
|
+
export * from "./appui-abstract/widget/WidgetState";
|
36
52
|
/** @docs-package-description
|
37
53
|
* The appui-abstract package contains abstractions for UI controls, such as toolbars, buttons and menus.
|
38
54
|
* For more information, see [learning about appui-abstract]($docs/learning/ui/abstract/index.md).
|
39
55
|
*/
|
56
|
+
/**
|
57
|
+
* @docs-group-description Backstage
|
58
|
+
* Abstractions used by appui-react package to create and manage the display Backstage menu items.
|
59
|
+
*/
|
40
60
|
/**
|
41
61
|
* @docs-group-description ContentView
|
42
62
|
* Classes and interfaces used with Content Layouts.
|
@@ -57,6 +77,10 @@ export * from "./appui-abstract/utils/filter/strings";
|
|
57
77
|
* @docs-group-description Properties
|
58
78
|
* Properties system for data input and formatting.
|
59
79
|
*/
|
80
|
+
/**
|
81
|
+
* @docs-group-description StatusBar
|
82
|
+
* Classes for creating and managing items in the status bar.
|
83
|
+
*/
|
60
84
|
/**
|
61
85
|
* @docs-group-description Toolbar
|
62
86
|
* Classes for creating and managing items in a toolbar.
|
@@ -65,8 +89,16 @@ export * from "./appui-abstract/utils/filter/strings";
|
|
65
89
|
* @docs-group-description UiAdmin
|
66
90
|
* Abstractions for UI controls, such as toolbars, buttons and menus and are callable from IModelApp.uiAdmin in core-frontend.
|
67
91
|
*/
|
92
|
+
/**
|
93
|
+
* @docs-group-description UiItemsProvider
|
94
|
+
* Interface for specifying UI items to be inserted at runtime.
|
95
|
+
*/
|
68
96
|
/**
|
69
97
|
* @docs-group-description Utilities
|
70
98
|
* Various utility classes for working with a UI.
|
71
99
|
*/
|
100
|
+
/**
|
101
|
+
* @docs-group-description Widget
|
102
|
+
* Classes for creating and providing Widgets.
|
103
|
+
*/
|
72
104
|
//# sourceMappingURL=appui-abstract.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"appui-abstract.d.ts","sourceRoot":"","sources":["../../src/appui-abstract.ts"],"names":[],"mappings":"AAKA,cAAc,0BAA0B,CAAC;
|
1
|
+
{"version":3,"file":"appui-abstract.d.ts","sourceRoot":"","sources":["../../src/appui-abstract.ts"],"names":[],"mappings":"AAKA,cAAc,sCAAsC,CAAC;AACrD,cAAc,0BAA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AAEjD,cAAc,0CAA0C,CAAC;AACzD,cAAc,kDAAkD,CAAC;AAEjE,cAAc,qCAAqC,CAAC;AAEpD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,iDAAiD,CAAC;AAEhE,cAAc,qCAAqC,CAAC;AACpD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,yCAAyC,CAAC;AAExD,cAAc,0CAA0C,CAAC;AACzD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,kCAAkC,CAAC;AACjD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qCAAqC,CAAC;AACpD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAElD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,+CAA+C,CAAC;AAE9D,cAAc,yCAAyC,CAAC;AACxD,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,oCAAoC,CAAC;AACnD,cAAc,iDAAiD,CAAC;AAChE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mCAAmC,CAAC;AAElD,cAAc,mDAAmD,CAAC;AAClE,cAAc,0CAA0C,CAAC;AACzD,cAAc,kDAAkD,CAAC;AAEjE,cAAc,uCAAuC,CAAC;AACtD,cAAc,+CAA+C,CAAC;AAE9D,cAAc,0CAA0C,CAAC;AACzD,cAAc,kDAAkD,CAAC;AAEjE,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,0CAA0C,CAAC;AACzD,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0CAA0C,CAAC;AACzD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wCAAwC,CAAC;AACvD,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AAEtD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AAEpD;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG"}
|
@@ -2,7 +2,12 @@
|
|
2
2
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
3
3
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
5
|
+
export * from "./appui-abstract/BaseUiItemsProvider";
|
5
6
|
export * from "./appui-abstract/UiAdmin";
|
7
|
+
export * from "./appui-abstract/UiItemsManager";
|
8
|
+
export * from "./appui-abstract/UiItemsProvider";
|
9
|
+
export * from "./appui-abstract/backstage/BackstageItem";
|
10
|
+
export * from "./appui-abstract/backstage/BackstageItemsManager";
|
6
11
|
export * from "./appui-abstract/common/KeyboardKey";
|
7
12
|
export * from "./appui-abstract/content/ContentLayoutProps";
|
8
13
|
export * from "./appui-abstract/content/StandardContentLayouts";
|
@@ -15,7 +20,9 @@ export * from "./appui-abstract/items/AbstractToolbarProps";
|
|
15
20
|
export * from "./appui-abstract/items/BadgeType";
|
16
21
|
export * from "./appui-abstract/items/ConditionalBooleanValue";
|
17
22
|
export * from "./appui-abstract/items/ConditionalStringValue";
|
23
|
+
export * from "./appui-abstract/items/ProvidedItem";
|
18
24
|
export * from "./appui-abstract/items/RelativePosition";
|
25
|
+
export * from "./appui-abstract/items/StageUsage";
|
19
26
|
export * from "./appui-abstract/notification/MessagePresenter";
|
20
27
|
export * from "./appui-abstract/notification/MessageSeverity";
|
21
28
|
export * from "./appui-abstract/properties/Description";
|
@@ -26,9 +33,15 @@ export * from "./appui-abstract/properties/StandardEditorNames";
|
|
26
33
|
export * from "./appui-abstract/properties/StandardTypeNames";
|
27
34
|
export * from "./appui-abstract/properties/Value";
|
28
35
|
export * from "./appui-abstract/quantity/BaseQuantityDescription";
|
36
|
+
export * from "./appui-abstract/statusbar/StatusBarItem";
|
37
|
+
export * from "./appui-abstract/statusbar/StatusBarItemsManager";
|
29
38
|
export * from "./appui-abstract/toolbars/ToolbarItem";
|
39
|
+
export * from "./appui-abstract/toolbars/ToolbarItemsManager";
|
40
|
+
export * from "./appui-abstract/statusbar/StatusBarItem";
|
41
|
+
export * from "./appui-abstract/statusbar/StatusBarItemsManager";
|
30
42
|
export * from "./appui-abstract/utils/callbacks";
|
31
43
|
export * from "./appui-abstract/utils/misc";
|
44
|
+
export * from "./appui-abstract/utils/isLetter";
|
32
45
|
export * from "./appui-abstract/utils/IconSpecUtilities";
|
33
46
|
export * from "./appui-abstract/utils/PointProps";
|
34
47
|
export * from "./appui-abstract/utils/UiError";
|
@@ -37,10 +50,17 @@ export * from "./appui-abstract/utils/UiEvent";
|
|
37
50
|
export * from "./appui-abstract/utils/filter/charCode";
|
38
51
|
export * from "./appui-abstract/utils/filter/filters";
|
39
52
|
export * from "./appui-abstract/utils/filter/strings";
|
53
|
+
export * from "./appui-abstract/widget/AbstractWidgetProps";
|
54
|
+
export * from "./appui-abstract/widget/StagePanel";
|
55
|
+
export * from "./appui-abstract/widget/WidgetState";
|
40
56
|
/** @docs-package-description
|
41
57
|
* The appui-abstract package contains abstractions for UI controls, such as toolbars, buttons and menus.
|
42
58
|
* For more information, see [learning about appui-abstract]($docs/learning/ui/abstract/index.md).
|
43
59
|
*/
|
60
|
+
/**
|
61
|
+
* @docs-group-description Backstage
|
62
|
+
* Abstractions used by appui-react package to create and manage the display Backstage menu items.
|
63
|
+
*/
|
44
64
|
/**
|
45
65
|
* @docs-group-description ContentView
|
46
66
|
* Classes and interfaces used with Content Layouts.
|
@@ -61,6 +81,10 @@ export * from "./appui-abstract/utils/filter/strings";
|
|
61
81
|
* @docs-group-description Properties
|
62
82
|
* Properties system for data input and formatting.
|
63
83
|
*/
|
84
|
+
/**
|
85
|
+
* @docs-group-description StatusBar
|
86
|
+
* Classes for creating and managing items in the status bar.
|
87
|
+
*/
|
64
88
|
/**
|
65
89
|
* @docs-group-description Toolbar
|
66
90
|
* Classes for creating and managing items in a toolbar.
|
@@ -69,8 +93,16 @@ export * from "./appui-abstract/utils/filter/strings";
|
|
69
93
|
* @docs-group-description UiAdmin
|
70
94
|
* Abstractions for UI controls, such as toolbars, buttons and menus and are callable from IModelApp.uiAdmin in core-frontend.
|
71
95
|
*/
|
96
|
+
/**
|
97
|
+
* @docs-group-description UiItemsProvider
|
98
|
+
* Interface for specifying UI items to be inserted at runtime.
|
99
|
+
*/
|
72
100
|
/**
|
73
101
|
* @docs-group-description Utilities
|
74
102
|
* Various utility classes for working with a UI.
|
75
103
|
*/
|
104
|
+
/**
|
105
|
+
* @docs-group-description Widget
|
106
|
+
* Classes for creating and providing Widgets.
|
107
|
+
*/
|
76
108
|
//# sourceMappingURL=appui-abstract.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"appui-abstract.js","sourceRoot":"","sources":["../../src/appui-abstract.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F,cAAc,0BAA0B,CAAC;
|
1
|
+
{"version":3,"file":"appui-abstract.js","sourceRoot":"","sources":["../../src/appui-abstract.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F,cAAc,sCAAsC,CAAC;AACrD,cAAc,0BAA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AAEjD,cAAc,0CAA0C,CAAC;AACzD,cAAc,kDAAkD,CAAC;AAEjE,cAAc,qCAAqC,CAAC;AAEpD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,iDAAiD,CAAC;AAEhE,cAAc,qCAAqC,CAAC;AACpD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,yCAAyC,CAAC;AAExD,cAAc,0CAA0C,CAAC;AACzD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,kCAAkC,CAAC;AACjD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qCAAqC,CAAC;AACpD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAElD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,+CAA+C,CAAC;AAE9D,cAAc,yCAAyC,CAAC;AACxD,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,oCAAoC,CAAC;AACnD,cAAc,iDAAiD,CAAC;AAChE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mCAAmC,CAAC;AAElD,cAAc,mDAAmD,CAAC;AAClE,cAAc,0CAA0C,CAAC;AACzD,cAAc,kDAAkD,CAAC;AAEjE,cAAc,uCAAuC,CAAC;AACtD,cAAc,+CAA+C,CAAC;AAE9D,cAAc,0CAA0C,CAAC;AACzD,cAAc,kDAAkD,CAAC;AAEjE,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,0CAA0C,CAAC;AACzD,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0CAA0C,CAAC;AACzD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wCAAwC,CAAC;AACvD,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AAEtD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AAEpD;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG","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\nexport * from \"./appui-abstract/BaseUiItemsProvider\";\r\nexport * from \"./appui-abstract/UiAdmin\";\r\nexport * from \"./appui-abstract/UiItemsManager\";\r\nexport * from \"./appui-abstract/UiItemsProvider\";\r\n\r\nexport * from \"./appui-abstract/backstage/BackstageItem\";\r\nexport * from \"./appui-abstract/backstage/BackstageItemsManager\";\r\n\r\nexport * from \"./appui-abstract/common/KeyboardKey\";\r\n\r\nexport * from \"./appui-abstract/content/ContentLayoutProps\";\r\nexport * from \"./appui-abstract/content/StandardContentLayouts\";\r\n\r\nexport * from \"./appui-abstract/dialogs/DialogItem\";\r\nexport * from \"./appui-abstract/dialogs/UiLayoutDataProvider\";\r\nexport * from \"./appui-abstract/dialogs/UiDataProvider\";\r\n\r\nexport * from \"./appui-abstract/items/AbstractItemProps\";\r\nexport * from \"./appui-abstract/items/AbstractMenuItemProps\";\r\nexport * from \"./appui-abstract/items/AbstractToolbarProps\";\r\nexport * from \"./appui-abstract/items/BadgeType\";\r\nexport * from \"./appui-abstract/items/ConditionalBooleanValue\";\r\nexport * from \"./appui-abstract/items/ConditionalStringValue\";\r\nexport * from \"./appui-abstract/items/ProvidedItem\";\r\nexport * from \"./appui-abstract/items/RelativePosition\";\r\nexport * from \"./appui-abstract/items/StageUsage\";\r\n\r\nexport * from \"./appui-abstract/notification/MessagePresenter\";\r\nexport * from \"./appui-abstract/notification/MessageSeverity\";\r\n\r\nexport * from \"./appui-abstract/properties/Description\";\r\nexport * from \"./appui-abstract/properties/EditorParams\";\r\nexport * from \"./appui-abstract/properties/PrimitiveTypes\";\r\nexport * from \"./appui-abstract/properties/Record\";\r\nexport * from \"./appui-abstract/properties/StandardEditorNames\";\r\nexport * from \"./appui-abstract/properties/StandardTypeNames\";\r\nexport * from \"./appui-abstract/properties/Value\";\r\n\r\nexport * from \"./appui-abstract/quantity/BaseQuantityDescription\";\r\nexport * from \"./appui-abstract/statusbar/StatusBarItem\";\r\nexport * from \"./appui-abstract/statusbar/StatusBarItemsManager\";\r\n\r\nexport * from \"./appui-abstract/toolbars/ToolbarItem\";\r\nexport * from \"./appui-abstract/toolbars/ToolbarItemsManager\";\r\n\r\nexport * from \"./appui-abstract/statusbar/StatusBarItem\";\r\nexport * from \"./appui-abstract/statusbar/StatusBarItemsManager\";\r\n\r\nexport * from \"./appui-abstract/utils/callbacks\";\r\nexport * from \"./appui-abstract/utils/misc\";\r\nexport * from \"./appui-abstract/utils/isLetter\";\r\nexport * from \"./appui-abstract/utils/IconSpecUtilities\";\r\nexport * from \"./appui-abstract/utils/PointProps\";\r\nexport * from \"./appui-abstract/utils/UiError\";\r\nexport * from \"./appui-abstract/utils/UiEventDispatcher\";\r\nexport * from \"./appui-abstract/utils/UiEvent\";\r\nexport * from \"./appui-abstract/utils/filter/charCode\";\r\nexport * from \"./appui-abstract/utils/filter/filters\";\r\nexport * from \"./appui-abstract/utils/filter/strings\";\r\n\r\nexport * from \"./appui-abstract/widget/AbstractWidgetProps\";\r\nexport * from \"./appui-abstract/widget/StagePanel\";\r\nexport * from \"./appui-abstract/widget/WidgetState\";\r\n\r\n/** @docs-package-description\r\n * The appui-abstract package contains abstractions for UI controls, such as toolbars, buttons and menus.\r\n * For more information, see [learning about appui-abstract]($docs/learning/ui/abstract/index.md).\r\n */\r\n/**\r\n * @docs-group-description Backstage\r\n * Abstractions used by appui-react package to create and manage the display Backstage menu items.\r\n */\r\n/**\r\n * @docs-group-description ContentView\r\n * Classes and interfaces used with Content Layouts.\r\n */\r\n/**\r\n * @docs-group-description Dialog\r\n * Interfaces and classes for generating UI items for Dialogs.\r\n */\r\n/**\r\n * @docs-group-description Item\r\n * Classes for working with an Item in a Toolbar, Widget, Backstage or Context Menu\r\n */\r\n/**\r\n * @docs-group-description Notification\r\n * Interfaces and enums for working with a message\r\n */\r\n/**\r\n * @docs-group-description Properties\r\n * Properties system for data input and formatting.\r\n */\r\n/**\r\n * @docs-group-description StatusBar\r\n * Classes for creating and managing items in the status bar.\r\n */\r\n/**\r\n * @docs-group-description Toolbar\r\n * Classes for creating and managing items in a toolbar.\r\n */\r\n/**\r\n * @docs-group-description UiAdmin\r\n * Abstractions for UI controls, such as toolbars, buttons and menus and are callable from IModelApp.uiAdmin in core-frontend.\r\n */\r\n/**\r\n * @docs-group-description UiItemsProvider\r\n * Interface for specifying UI items to be inserted at runtime.\r\n */\r\n/**\r\n * @docs-group-description Utilities\r\n * Various utility classes for working with a UI.\r\n */\r\n/**\r\n * @docs-group-description Widget\r\n * Classes for creating and providing Widgets.\r\n */\r\n"]}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@itwin/appui-abstract",
|
3
|
-
"version": "4.1.0-dev.
|
3
|
+
"version": "4.1.0-dev.7",
|
4
4
|
"description": "iTwin.js UI abstractions",
|
5
5
|
"main": "lib/cjs/appui-abstract.js",
|
6
6
|
"module": "lib/esm/appui-abstract.js",
|
@@ -22,7 +22,7 @@
|
|
22
22
|
"url": "http://www.bentley.com"
|
23
23
|
},
|
24
24
|
"peerDependencies": {
|
25
|
-
"@itwin/core-bentley": "^4.1.0-dev.
|
25
|
+
"@itwin/core-bentley": "^4.1.0-dev.7"
|
26
26
|
},
|
27
27
|
"//devDependencies": [
|
28
28
|
"NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install",
|
@@ -50,9 +50,9 @@
|
|
50
50
|
"source-map-loader": "^4.0.0",
|
51
51
|
"typescript": "~5.0.2",
|
52
52
|
"webpack": "^5.76.0",
|
53
|
-
"@itwin/build-tools": "4.1.0-dev.
|
54
|
-
"@itwin/
|
55
|
-
"@itwin/
|
53
|
+
"@itwin/build-tools": "4.1.0-dev.7",
|
54
|
+
"@itwin/certa": "4.1.0-dev.7",
|
55
|
+
"@itwin/core-bentley": "4.1.0-dev.7"
|
56
56
|
},
|
57
57
|
"//dependencies": [
|
58
58
|
"NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API",
|