@itwin/appui-abstract 5.0.0-dev.7 → 5.0.0-dev.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -1
- package/lib/cjs/appui-abstract/UiAdmin.js +4 -5
- package/lib/cjs/appui-abstract/UiAdmin.js.map +1 -1
- package/lib/cjs/appui-abstract/content/StandardContentLayouts.js +91 -91
- package/lib/cjs/appui-abstract/content/StandardContentLayouts.js.map +1 -1
- package/lib/cjs/appui-abstract/dialogs/DialogItem.d.ts +1 -5
- package/lib/cjs/appui-abstract/dialogs/DialogItem.d.ts.map +1 -1
- package/lib/cjs/appui-abstract/dialogs/DialogItem.js +4 -0
- package/lib/cjs/appui-abstract/dialogs/DialogItem.js.map +1 -1
- package/lib/cjs/appui-abstract/dialogs/UiDataProvider.js +3 -5
- package/lib/cjs/appui-abstract/dialogs/UiDataProvider.js.map +1 -1
- package/lib/cjs/appui-abstract/dialogs/UiLayoutDataProvider.js +15 -19
- package/lib/cjs/appui-abstract/dialogs/UiLayoutDataProvider.js.map +1 -1
- package/lib/cjs/appui-abstract/items/ConditionalBooleanValue.js +3 -0
- package/lib/cjs/appui-abstract/items/ConditionalBooleanValue.js.map +1 -1
- package/lib/cjs/appui-abstract/items/ConditionalStringValue.js +3 -0
- package/lib/cjs/appui-abstract/items/ConditionalStringValue.js.map +1 -1
- package/lib/cjs/appui-abstract/properties/Record.js +18 -0
- package/lib/cjs/appui-abstract/properties/Record.js.map +1 -1
- package/lib/cjs/appui-abstract/quantity/BaseQuantityDescription.js +10 -6
- package/lib/cjs/appui-abstract/quantity/BaseQuantityDescription.js.map +1 -1
- package/lib/cjs/appui-abstract/toolbars/ToolbarItem.d.ts +3 -27
- package/lib/cjs/appui-abstract/toolbars/ToolbarItem.d.ts.map +1 -1
- package/lib/cjs/appui-abstract/toolbars/ToolbarItem.js +15 -37
- package/lib/cjs/appui-abstract/toolbars/ToolbarItem.js.map +1 -1
- package/lib/cjs/appui-abstract/utils/IconSpecUtilities.d.ts +0 -10
- package/lib/cjs/appui-abstract/utils/IconSpecUtilities.d.ts.map +1 -1
- package/lib/cjs/appui-abstract/utils/IconSpecUtilities.js +3 -20
- package/lib/cjs/appui-abstract/utils/IconSpecUtilities.js.map +1 -1
- package/lib/cjs/appui-abstract/utils/UiError.js +1 -0
- package/lib/cjs/appui-abstract/utils/UiError.js.map +1 -1
- package/lib/cjs/appui-abstract/utils/UiEventDispatcher.js +7 -0
- package/lib/cjs/appui-abstract/utils/UiEventDispatcher.js.map +1 -1
- package/lib/cjs/appui-abstract.d.ts +1 -28
- package/lib/cjs/appui-abstract.d.ts.map +1 -1
- package/lib/cjs/appui-abstract.js +1 -28
- package/lib/cjs/appui-abstract.js.map +1 -1
- package/lib/esm/appui-abstract/UiAdmin.js +4 -5
- package/lib/esm/appui-abstract/UiAdmin.js.map +1 -1
- package/lib/esm/appui-abstract/content/StandardContentLayouts.js +91 -91
- package/lib/esm/appui-abstract/content/StandardContentLayouts.js.map +1 -1
- package/lib/esm/appui-abstract/dialogs/DialogItem.d.ts +1 -5
- package/lib/esm/appui-abstract/dialogs/DialogItem.d.ts.map +1 -1
- package/lib/esm/appui-abstract/dialogs/DialogItem.js +4 -0
- package/lib/esm/appui-abstract/dialogs/DialogItem.js.map +1 -1
- package/lib/esm/appui-abstract/dialogs/UiDataProvider.js +3 -5
- package/lib/esm/appui-abstract/dialogs/UiDataProvider.js.map +1 -1
- package/lib/esm/appui-abstract/dialogs/UiLayoutDataProvider.js +15 -19
- package/lib/esm/appui-abstract/dialogs/UiLayoutDataProvider.js.map +1 -1
- package/lib/esm/appui-abstract/items/ConditionalBooleanValue.js +3 -0
- package/lib/esm/appui-abstract/items/ConditionalBooleanValue.js.map +1 -1
- package/lib/esm/appui-abstract/items/ConditionalStringValue.js +3 -0
- package/lib/esm/appui-abstract/items/ConditionalStringValue.js.map +1 -1
- package/lib/esm/appui-abstract/properties/Record.js +18 -0
- package/lib/esm/appui-abstract/properties/Record.js.map +1 -1
- package/lib/esm/appui-abstract/quantity/BaseQuantityDescription.js +10 -6
- package/lib/esm/appui-abstract/quantity/BaseQuantityDescription.js.map +1 -1
- package/lib/esm/appui-abstract/toolbars/ToolbarItem.d.ts +3 -27
- package/lib/esm/appui-abstract/toolbars/ToolbarItem.d.ts.map +1 -1
- package/lib/esm/appui-abstract/toolbars/ToolbarItem.js +14 -36
- package/lib/esm/appui-abstract/toolbars/ToolbarItem.js.map +1 -1
- package/lib/esm/appui-abstract/utils/IconSpecUtilities.d.ts +0 -10
- package/lib/esm/appui-abstract/utils/IconSpecUtilities.d.ts.map +1 -1
- package/lib/esm/appui-abstract/utils/IconSpecUtilities.js +3 -20
- package/lib/esm/appui-abstract/utils/IconSpecUtilities.js.map +1 -1
- package/lib/esm/appui-abstract/utils/UiError.js +1 -0
- package/lib/esm/appui-abstract/utils/UiError.js.map +1 -1
- package/lib/esm/appui-abstract/utils/UiEventDispatcher.js +7 -0
- package/lib/esm/appui-abstract/utils/UiEventDispatcher.js.map +1 -1
- package/lib/esm/appui-abstract.d.ts +1 -28
- package/lib/esm/appui-abstract.d.ts.map +1 -1
- package/lib/esm/appui-abstract.js +1 -28
- package/lib/esm/appui-abstract.js.map +1 -1
- package/package.json +7 -7
- package/lib/cjs/appui-abstract/BaseUiItemsProvider.d.ts +0 -31
- package/lib/cjs/appui-abstract/BaseUiItemsProvider.d.ts.map +0 -1
- package/lib/cjs/appui-abstract/BaseUiItemsProvider.js +0 -80
- package/lib/cjs/appui-abstract/BaseUiItemsProvider.js.map +0 -1
- package/lib/cjs/appui-abstract/UiItemsManager.d.ts +0 -111
- package/lib/cjs/appui-abstract/UiItemsManager.d.ts.map +0 -1
- package/lib/cjs/appui-abstract/UiItemsManager.js +0 -194
- package/lib/cjs/appui-abstract/UiItemsManager.js.map +0 -1
- package/lib/cjs/appui-abstract/UiItemsProvider.d.ts +0 -30
- package/lib/cjs/appui-abstract/UiItemsProvider.d.ts.map +0 -1
- package/lib/cjs/appui-abstract/UiItemsProvider.js +0 -10
- package/lib/cjs/appui-abstract/UiItemsProvider.js.map +0 -1
- package/lib/cjs/appui-abstract/backstage/BackstageItem.d.ts +0 -92
- package/lib/cjs/appui-abstract/backstage/BackstageItem.d.ts.map +0 -1
- package/lib/cjs/appui-abstract/backstage/BackstageItem.js +0 -69
- package/lib/cjs/appui-abstract/backstage/BackstageItem.js.map +0 -1
- package/lib/cjs/appui-abstract/backstage/BackstageItemsManager.d.ts +0 -43
- package/lib/cjs/appui-abstract/backstage/BackstageItemsManager.d.ts.map +0 -1
- package/lib/cjs/appui-abstract/backstage/BackstageItemsManager.js +0 -136
- package/lib/cjs/appui-abstract/backstage/BackstageItemsManager.js.map +0 -1
- package/lib/cjs/appui-abstract/items/ProvidedItem.d.ts +0 -12
- package/lib/cjs/appui-abstract/items/ProvidedItem.d.ts.map +0 -1
- package/lib/cjs/appui-abstract/items/ProvidedItem.js +0 -10
- package/lib/cjs/appui-abstract/items/ProvidedItem.js.map +0 -1
- package/lib/cjs/appui-abstract/items/StageUsage.d.ts +0 -17
- package/lib/cjs/appui-abstract/items/StageUsage.d.ts.map +0 -1
- package/lib/cjs/appui-abstract/items/StageUsage.js +0 -25
- package/lib/cjs/appui-abstract/items/StageUsage.js.map +0 -1
- package/lib/cjs/appui-abstract/statusbar/StatusBarItem.d.ts +0 -129
- package/lib/cjs/appui-abstract/statusbar/StatusBarItem.d.ts.map +0 -1
- package/lib/cjs/appui-abstract/statusbar/StatusBarItem.js +0 -88
- package/lib/cjs/appui-abstract/statusbar/StatusBarItem.js.map +0 -1
- package/lib/cjs/appui-abstract/statusbar/StatusBarItemsManager.d.ts +0 -40
- package/lib/cjs/appui-abstract/statusbar/StatusBarItemsManager.d.ts.map +0 -1
- package/lib/cjs/appui-abstract/statusbar/StatusBarItemsManager.js +0 -136
- package/lib/cjs/appui-abstract/statusbar/StatusBarItemsManager.js.map +0 -1
- package/lib/cjs/appui-abstract/toolbars/ToolbarItemsManager.d.ts +0 -46
- package/lib/cjs/appui-abstract/toolbars/ToolbarItemsManager.d.ts.map +0 -1
- package/lib/cjs/appui-abstract/toolbars/ToolbarItemsManager.js +0 -236
- package/lib/cjs/appui-abstract/toolbars/ToolbarItemsManager.js.map +0 -1
- package/lib/cjs/appui-abstract/widget/AbstractWidgetProps.d.ts +0 -87
- package/lib/cjs/appui-abstract/widget/AbstractWidgetProps.d.ts.map +0 -1
- package/lib/cjs/appui-abstract/widget/AbstractWidgetProps.js +0 -10
- package/lib/cjs/appui-abstract/widget/AbstractWidgetProps.js.map +0 -1
- package/lib/cjs/appui-abstract/widget/StagePanel.d.ts +0 -37
- package/lib/cjs/appui-abstract/widget/StagePanel.d.ts.map +0 -1
- package/lib/cjs/appui-abstract/widget/StagePanel.js +0 -47
- package/lib/cjs/appui-abstract/widget/StagePanel.js.map +0 -1
- package/lib/cjs/appui-abstract/widget/WidgetState.d.ts +0 -20
- package/lib/cjs/appui-abstract/widget/WidgetState.d.ts.map +0 -1
- package/lib/cjs/appui-abstract/widget/WidgetState.js +0 -28
- package/lib/cjs/appui-abstract/widget/WidgetState.js.map +0 -1
- package/lib/esm/appui-abstract/BaseUiItemsProvider.d.ts +0 -31
- package/lib/esm/appui-abstract/BaseUiItemsProvider.d.ts.map +0 -1
- package/lib/esm/appui-abstract/BaseUiItemsProvider.js +0 -76
- package/lib/esm/appui-abstract/BaseUiItemsProvider.js.map +0 -1
- package/lib/esm/appui-abstract/UiItemsManager.d.ts +0 -111
- package/lib/esm/appui-abstract/UiItemsManager.d.ts.map +0 -1
- package/lib/esm/appui-abstract/UiItemsManager.js +0 -190
- package/lib/esm/appui-abstract/UiItemsManager.js.map +0 -1
- package/lib/esm/appui-abstract/UiItemsProvider.d.ts +0 -30
- package/lib/esm/appui-abstract/UiItemsProvider.d.ts.map +0 -1
- package/lib/esm/appui-abstract/UiItemsProvider.js +0 -9
- package/lib/esm/appui-abstract/UiItemsProvider.js.map +0 -1
- package/lib/esm/appui-abstract/backstage/BackstageItem.d.ts +0 -92
- package/lib/esm/appui-abstract/backstage/BackstageItem.d.ts.map +0 -1
- package/lib/esm/appui-abstract/backstage/BackstageItem.js +0 -63
- package/lib/esm/appui-abstract/backstage/BackstageItem.js.map +0 -1
- package/lib/esm/appui-abstract/backstage/BackstageItemsManager.d.ts +0 -43
- package/lib/esm/appui-abstract/backstage/BackstageItemsManager.d.ts.map +0 -1
- package/lib/esm/appui-abstract/backstage/BackstageItemsManager.js +0 -132
- package/lib/esm/appui-abstract/backstage/BackstageItemsManager.js.map +0 -1
- package/lib/esm/appui-abstract/items/ProvidedItem.d.ts +0 -12
- package/lib/esm/appui-abstract/items/ProvidedItem.d.ts.map +0 -1
- package/lib/esm/appui-abstract/items/ProvidedItem.js +0 -9
- package/lib/esm/appui-abstract/items/ProvidedItem.js.map +0 -1
- package/lib/esm/appui-abstract/items/StageUsage.d.ts +0 -17
- package/lib/esm/appui-abstract/items/StageUsage.d.ts.map +0 -1
- package/lib/esm/appui-abstract/items/StageUsage.js +0 -22
- package/lib/esm/appui-abstract/items/StageUsage.js.map +0 -1
- package/lib/esm/appui-abstract/statusbar/StatusBarItem.d.ts +0 -129
- package/lib/esm/appui-abstract/statusbar/StatusBarItem.d.ts.map +0 -1
- package/lib/esm/appui-abstract/statusbar/StatusBarItem.js +0 -81
- package/lib/esm/appui-abstract/statusbar/StatusBarItem.js.map +0 -1
- package/lib/esm/appui-abstract/statusbar/StatusBarItemsManager.d.ts +0 -40
- package/lib/esm/appui-abstract/statusbar/StatusBarItemsManager.d.ts.map +0 -1
- package/lib/esm/appui-abstract/statusbar/StatusBarItemsManager.js +0 -132
- package/lib/esm/appui-abstract/statusbar/StatusBarItemsManager.js.map +0 -1
- package/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.d.ts +0 -46
- package/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.d.ts.map +0 -1
- package/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.js +0 -232
- package/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.js.map +0 -1
- package/lib/esm/appui-abstract/widget/AbstractWidgetProps.d.ts +0 -87
- package/lib/esm/appui-abstract/widget/AbstractWidgetProps.d.ts.map +0 -1
- package/lib/esm/appui-abstract/widget/AbstractWidgetProps.js +0 -9
- package/lib/esm/appui-abstract/widget/AbstractWidgetProps.js.map +0 -1
- package/lib/esm/appui-abstract/widget/StagePanel.d.ts +0 -37
- package/lib/esm/appui-abstract/widget/StagePanel.d.ts.map +0 -1
- package/lib/esm/appui-abstract/widget/StagePanel.js +0 -44
- package/lib/esm/appui-abstract/widget/StagePanel.js.map +0 -1
- package/lib/esm/appui-abstract/widget/WidgetState.d.ts +0 -20
- package/lib/esm/appui-abstract/widget/WidgetState.d.ts.map +0 -1
- package/lib/esm/appui-abstract/widget/WidgetState.js +0 -25
- package/lib/esm/appui-abstract/widget/WidgetState.js.map +0 -1
@@ -1,87 +0,0 @@
|
|
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 [Widget]($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
|
@@ -1 +0,0 @@
|
|
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"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
2
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
3
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
5
|
-
/** @packageDocumentation
|
6
|
-
* @module Widget
|
7
|
-
*/
|
8
|
-
export {};
|
9
|
-
//# sourceMappingURL=AbstractWidgetProps.js.map
|
@@ -1 +0,0 @@
|
|
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 [Widget]($appui-react) instead.\r\n * @public\r\n */\r\nexport interface AbstractWidgetProps extends ProvidedItem { // eslint-disable-line @typescript-eslint/no-deprecated\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 @typescript-eslint/no-deprecated\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 @typescript-eslint/no-deprecated\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"]}
|
@@ -1,37 +0,0 @@
|
|
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
|
@@ -1 +0,0 @@
|
|
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"}
|
@@ -1,44 +0,0 @@
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
2
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
3
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
5
|
-
/** @packageDocumentation
|
6
|
-
* @module 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
|
@@ -1 +0,0 @@
|
|
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"]}
|
@@ -1,20 +0,0 @@
|
|
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
|
@@ -1 +0,0 @@
|
|
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"}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
2
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
3
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
5
|
-
/** @packageDocumentation
|
6
|
-
* @module 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
|
@@ -1 +0,0 @@
|
|
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"]}
|