@itwin/appui-abstract 5.0.0-dev.40 → 5.0.0-dev.49

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.
Files changed (130) hide show
  1. package/CHANGELOG.md +11 -1
  2. package/lib/cjs/appui-abstract/toolbars/ToolbarItem.d.ts +3 -27
  3. package/lib/cjs/appui-abstract/toolbars/ToolbarItem.d.ts.map +1 -1
  4. package/lib/cjs/appui-abstract/toolbars/ToolbarItem.js +1 -23
  5. package/lib/cjs/appui-abstract/toolbars/ToolbarItem.js.map +1 -1
  6. package/lib/cjs/appui-abstract/utils/IconSpecUtilities.d.ts +0 -10
  7. package/lib/cjs/appui-abstract/utils/IconSpecUtilities.d.ts.map +1 -1
  8. package/lib/cjs/appui-abstract/utils/IconSpecUtilities.js +0 -17
  9. package/lib/cjs/appui-abstract/utils/IconSpecUtilities.js.map +1 -1
  10. package/lib/cjs/appui-abstract.d.ts +1 -28
  11. package/lib/cjs/appui-abstract.d.ts.map +1 -1
  12. package/lib/cjs/appui-abstract.js +1 -28
  13. package/lib/cjs/appui-abstract.js.map +1 -1
  14. package/lib/esm/appui-abstract/toolbars/ToolbarItem.d.ts +3 -27
  15. package/lib/esm/appui-abstract/toolbars/ToolbarItem.d.ts.map +1 -1
  16. package/lib/esm/appui-abstract/toolbars/ToolbarItem.js +0 -22
  17. package/lib/esm/appui-abstract/toolbars/ToolbarItem.js.map +1 -1
  18. package/lib/esm/appui-abstract/utils/IconSpecUtilities.d.ts +0 -10
  19. package/lib/esm/appui-abstract/utils/IconSpecUtilities.d.ts.map +1 -1
  20. package/lib/esm/appui-abstract/utils/IconSpecUtilities.js +0 -17
  21. package/lib/esm/appui-abstract/utils/IconSpecUtilities.js.map +1 -1
  22. package/lib/esm/appui-abstract.d.ts +1 -28
  23. package/lib/esm/appui-abstract.d.ts.map +1 -1
  24. package/lib/esm/appui-abstract.js +1 -28
  25. package/lib/esm/appui-abstract.js.map +1 -1
  26. package/package.json +5 -5
  27. package/lib/cjs/appui-abstract/BaseUiItemsProvider.d.ts +0 -31
  28. package/lib/cjs/appui-abstract/BaseUiItemsProvider.d.ts.map +0 -1
  29. package/lib/cjs/appui-abstract/BaseUiItemsProvider.js +0 -80
  30. package/lib/cjs/appui-abstract/BaseUiItemsProvider.js.map +0 -1
  31. package/lib/cjs/appui-abstract/UiItemsManager.d.ts +0 -111
  32. package/lib/cjs/appui-abstract/UiItemsManager.d.ts.map +0 -1
  33. package/lib/cjs/appui-abstract/UiItemsManager.js +0 -194
  34. package/lib/cjs/appui-abstract/UiItemsManager.js.map +0 -1
  35. package/lib/cjs/appui-abstract/UiItemsProvider.d.ts +0 -30
  36. package/lib/cjs/appui-abstract/UiItemsProvider.d.ts.map +0 -1
  37. package/lib/cjs/appui-abstract/UiItemsProvider.js +0 -10
  38. package/lib/cjs/appui-abstract/UiItemsProvider.js.map +0 -1
  39. package/lib/cjs/appui-abstract/backstage/BackstageItem.d.ts +0 -92
  40. package/lib/cjs/appui-abstract/backstage/BackstageItem.d.ts.map +0 -1
  41. package/lib/cjs/appui-abstract/backstage/BackstageItem.js +0 -69
  42. package/lib/cjs/appui-abstract/backstage/BackstageItem.js.map +0 -1
  43. package/lib/cjs/appui-abstract/backstage/BackstageItemsManager.d.ts +0 -43
  44. package/lib/cjs/appui-abstract/backstage/BackstageItemsManager.d.ts.map +0 -1
  45. package/lib/cjs/appui-abstract/backstage/BackstageItemsManager.js +0 -136
  46. package/lib/cjs/appui-abstract/backstage/BackstageItemsManager.js.map +0 -1
  47. package/lib/cjs/appui-abstract/items/ProvidedItem.d.ts +0 -12
  48. package/lib/cjs/appui-abstract/items/ProvidedItem.d.ts.map +0 -1
  49. package/lib/cjs/appui-abstract/items/ProvidedItem.js +0 -10
  50. package/lib/cjs/appui-abstract/items/ProvidedItem.js.map +0 -1
  51. package/lib/cjs/appui-abstract/items/StageUsage.d.ts +0 -17
  52. package/lib/cjs/appui-abstract/items/StageUsage.d.ts.map +0 -1
  53. package/lib/cjs/appui-abstract/items/StageUsage.js +0 -25
  54. package/lib/cjs/appui-abstract/items/StageUsage.js.map +0 -1
  55. package/lib/cjs/appui-abstract/statusbar/StatusBarItem.d.ts +0 -129
  56. package/lib/cjs/appui-abstract/statusbar/StatusBarItem.d.ts.map +0 -1
  57. package/lib/cjs/appui-abstract/statusbar/StatusBarItem.js +0 -88
  58. package/lib/cjs/appui-abstract/statusbar/StatusBarItem.js.map +0 -1
  59. package/lib/cjs/appui-abstract/statusbar/StatusBarItemsManager.d.ts +0 -40
  60. package/lib/cjs/appui-abstract/statusbar/StatusBarItemsManager.d.ts.map +0 -1
  61. package/lib/cjs/appui-abstract/statusbar/StatusBarItemsManager.js +0 -136
  62. package/lib/cjs/appui-abstract/statusbar/StatusBarItemsManager.js.map +0 -1
  63. package/lib/cjs/appui-abstract/toolbars/ToolbarItemsManager.d.ts +0 -46
  64. package/lib/cjs/appui-abstract/toolbars/ToolbarItemsManager.d.ts.map +0 -1
  65. package/lib/cjs/appui-abstract/toolbars/ToolbarItemsManager.js +0 -236
  66. package/lib/cjs/appui-abstract/toolbars/ToolbarItemsManager.js.map +0 -1
  67. package/lib/cjs/appui-abstract/widget/AbstractWidgetProps.d.ts +0 -87
  68. package/lib/cjs/appui-abstract/widget/AbstractWidgetProps.d.ts.map +0 -1
  69. package/lib/cjs/appui-abstract/widget/AbstractWidgetProps.js +0 -10
  70. package/lib/cjs/appui-abstract/widget/AbstractWidgetProps.js.map +0 -1
  71. package/lib/cjs/appui-abstract/widget/StagePanel.d.ts +0 -37
  72. package/lib/cjs/appui-abstract/widget/StagePanel.d.ts.map +0 -1
  73. package/lib/cjs/appui-abstract/widget/StagePanel.js +0 -47
  74. package/lib/cjs/appui-abstract/widget/StagePanel.js.map +0 -1
  75. package/lib/cjs/appui-abstract/widget/WidgetState.d.ts +0 -20
  76. package/lib/cjs/appui-abstract/widget/WidgetState.d.ts.map +0 -1
  77. package/lib/cjs/appui-abstract/widget/WidgetState.js +0 -28
  78. package/lib/cjs/appui-abstract/widget/WidgetState.js.map +0 -1
  79. package/lib/esm/appui-abstract/BaseUiItemsProvider.d.ts +0 -31
  80. package/lib/esm/appui-abstract/BaseUiItemsProvider.d.ts.map +0 -1
  81. package/lib/esm/appui-abstract/BaseUiItemsProvider.js +0 -76
  82. package/lib/esm/appui-abstract/BaseUiItemsProvider.js.map +0 -1
  83. package/lib/esm/appui-abstract/UiItemsManager.d.ts +0 -111
  84. package/lib/esm/appui-abstract/UiItemsManager.d.ts.map +0 -1
  85. package/lib/esm/appui-abstract/UiItemsManager.js +0 -190
  86. package/lib/esm/appui-abstract/UiItemsManager.js.map +0 -1
  87. package/lib/esm/appui-abstract/UiItemsProvider.d.ts +0 -30
  88. package/lib/esm/appui-abstract/UiItemsProvider.d.ts.map +0 -1
  89. package/lib/esm/appui-abstract/UiItemsProvider.js +0 -9
  90. package/lib/esm/appui-abstract/UiItemsProvider.js.map +0 -1
  91. package/lib/esm/appui-abstract/backstage/BackstageItem.d.ts +0 -92
  92. package/lib/esm/appui-abstract/backstage/BackstageItem.d.ts.map +0 -1
  93. package/lib/esm/appui-abstract/backstage/BackstageItem.js +0 -63
  94. package/lib/esm/appui-abstract/backstage/BackstageItem.js.map +0 -1
  95. package/lib/esm/appui-abstract/backstage/BackstageItemsManager.d.ts +0 -43
  96. package/lib/esm/appui-abstract/backstage/BackstageItemsManager.d.ts.map +0 -1
  97. package/lib/esm/appui-abstract/backstage/BackstageItemsManager.js +0 -132
  98. package/lib/esm/appui-abstract/backstage/BackstageItemsManager.js.map +0 -1
  99. package/lib/esm/appui-abstract/items/ProvidedItem.d.ts +0 -12
  100. package/lib/esm/appui-abstract/items/ProvidedItem.d.ts.map +0 -1
  101. package/lib/esm/appui-abstract/items/ProvidedItem.js +0 -9
  102. package/lib/esm/appui-abstract/items/ProvidedItem.js.map +0 -1
  103. package/lib/esm/appui-abstract/items/StageUsage.d.ts +0 -17
  104. package/lib/esm/appui-abstract/items/StageUsage.d.ts.map +0 -1
  105. package/lib/esm/appui-abstract/items/StageUsage.js +0 -22
  106. package/lib/esm/appui-abstract/items/StageUsage.js.map +0 -1
  107. package/lib/esm/appui-abstract/statusbar/StatusBarItem.d.ts +0 -129
  108. package/lib/esm/appui-abstract/statusbar/StatusBarItem.d.ts.map +0 -1
  109. package/lib/esm/appui-abstract/statusbar/StatusBarItem.js +0 -81
  110. package/lib/esm/appui-abstract/statusbar/StatusBarItem.js.map +0 -1
  111. package/lib/esm/appui-abstract/statusbar/StatusBarItemsManager.d.ts +0 -40
  112. package/lib/esm/appui-abstract/statusbar/StatusBarItemsManager.d.ts.map +0 -1
  113. package/lib/esm/appui-abstract/statusbar/StatusBarItemsManager.js +0 -132
  114. package/lib/esm/appui-abstract/statusbar/StatusBarItemsManager.js.map +0 -1
  115. package/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.d.ts +0 -46
  116. package/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.d.ts.map +0 -1
  117. package/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.js +0 -232
  118. package/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.js.map +0 -1
  119. package/lib/esm/appui-abstract/widget/AbstractWidgetProps.d.ts +0 -87
  120. package/lib/esm/appui-abstract/widget/AbstractWidgetProps.d.ts.map +0 -1
  121. package/lib/esm/appui-abstract/widget/AbstractWidgetProps.js +0 -9
  122. package/lib/esm/appui-abstract/widget/AbstractWidgetProps.js.map +0 -1
  123. package/lib/esm/appui-abstract/widget/StagePanel.d.ts +0 -37
  124. package/lib/esm/appui-abstract/widget/StagePanel.d.ts.map +0 -1
  125. package/lib/esm/appui-abstract/widget/StagePanel.js +0 -44
  126. package/lib/esm/appui-abstract/widget/StagePanel.js.map +0 -1
  127. package/lib/esm/appui-abstract/widget/WidgetState.d.ts +0 -20
  128. package/lib/esm/appui-abstract/widget/WidgetState.d.ts.map +0 -1
  129. package/lib/esm/appui-abstract/widget/WidgetState.js +0 -25
  130. package/lib/esm/appui-abstract/widget/WidgetState.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  # Change Log - @itwin/appui-abstract
2
2
 
3
- This log was last generated on Mon, 13 Jan 2025 14:09:29 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 24 Jan 2025 08:05:17 GMT and should not be manually modified.
4
+
5
+ ## 4.10.6
6
+ Fri, 24 Jan 2025 08:02:40 GMT
7
+
8
+ _Version update only_
9
+
10
+ ## 4.10.5
11
+ Tue, 21 Jan 2025 21:56:45 GMT
12
+
13
+ _Version update only_
4
14
 
5
15
  ## 4.10.4
6
16
  Mon, 13 Jan 2025 14:06:43 GMT
@@ -4,33 +4,14 @@
4
4
  import { BadgeType } from "../items/BadgeType";
5
5
  import { ConditionalBooleanValue } from "../items/ConditionalBooleanValue";
6
6
  import { ConditionalStringValue } from "../items/ConditionalStringValue";
7
- import { ProvidedItem } from "../items/ProvidedItem";
8
- /** Used to specify the usage of the toolbar which determine the toolbar position.
9
- * @deprecated in 3.6. Use [ToolbarUsage]($appui-react) instead.
10
- * @public
11
- */
12
- export declare enum ToolbarUsage {
13
- /** Contains tools to Create Update and Delete content - in ninezone this is in top left of content area. */
14
- ContentManipulation = 0,
15
- /** Manipulate view/camera - in ninezone this is in top right of content area. */
16
- ViewNavigation = 1
17
- }
18
- /** Used to specify the orientation of the toolbar.
19
- * @deprecated in 3.6. Use [ToolbarOrientation]($appui-react) instead.
20
- * @public
21
- */
22
- export declare enum ToolbarOrientation {
23
- /** Horizontal toolbar. */
24
- Horizontal = 0,
25
- /** Vertical toolbar. */
26
- Vertical = 1
27
- }
28
7
  /** Describes the data needed to insert a UI items into an existing set of UI items.
29
8
  * @public
30
9
  */
31
- export interface ToolbarItem extends ProvidedItem {
10
+ export interface ToolbarItem {
32
11
  /** can be used by application to store miscellaneous data. */
33
12
  readonly applicationData?: any;
13
+ /** id of UiItemsProvider */
14
+ readonly providerId?: string;
34
15
  /** Describes badge. Renders no badge if not specified. */
35
16
  readonly badgeType?: BadgeType;
36
17
  /** Optional description */
@@ -99,11 +80,6 @@ export interface CustomButtonDefinition extends ToolbarItem {
99
80
  * @public
100
81
  */
101
82
  export type CommonToolbarItem = ActionButton | GroupButton | CustomButtonDefinition;
102
- /** Type for Toolbar Item Id
103
- * @deprecated in 3.6. Please use `ToolbarItem["id"]` from @itwin/appui-react.
104
- * @public
105
- */
106
- export type ToolbarItemId = CommonToolbarItem["id"];
107
83
  /** Helper class to create Abstract StatusBar Item definitions.
108
84
  * @public
109
85
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ToolbarItem.d.ts","sourceRoot":"","sources":["../../../../src/appui-abstract/toolbars/ToolbarItem.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD;;;GAGG;AACH,oBAAY,YAAY;IACtB,4GAA4G;IAC5G,mBAAmB,IAAI;IACvB,iFAAiF;IACjF,cAAc,IAAI;CACnB;AAED;;;GAGG;AACH,oBAAY,kBAAkB;IAC5B,0BAA0B;IAC1B,UAAU,IAAI;IACd,wBAAwB;IACxB,QAAQ,IAAI;CACb;AAED;;GAEG;AACH,MAAM,WAAW,WAAY,SAAQ,YAAY;IAC/C,8DAA8D;IAC9D,QAAQ,CAAC,eAAe,CAAC,EAAE,GAAG,CAAC;IAC/B,0DAA0D;IAC1D,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC;IAC/B,2BAA2B;IAC3B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,sBAAsB,CAAC;IACvD,iIAAiI;IACjI,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,iDAAiD;IACjD,QAAQ,CAAC,YAAY,CAAC,EAAE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BAA+B;WACjB,cAAc,CAAC,IAAI,EAAE,iBAAiB,GAAG,IAAI,IAAI,YAAY;IAI3E,8BAA8B;WAChB,aAAa,CAAC,IAAI,EAAE,iBAAiB,GAAG,IAAI,IAAI,WAAW;IAIzE,yCAAyC;WAC3B,kBAAkB,CAAC,IAAI,EAAE,iBAAiB,GAAG,IAAI,IAAI,sBAAsB;CAG1F"}
@@ -7,29 +7,7 @@
7
7
  * @module Toolbar
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.ToolbarItemUtilities = exports.ToolbarOrientation = exports.ToolbarUsage = void 0;
11
- /** Used to specify the usage of the toolbar which determine the toolbar position.
12
- * @deprecated in 3.6. Use [ToolbarUsage]($appui-react) instead.
13
- * @public
14
- */
15
- var ToolbarUsage;
16
- (function (ToolbarUsage) {
17
- /** Contains tools to Create Update and Delete content - in ninezone this is in top left of content area. */
18
- ToolbarUsage[ToolbarUsage["ContentManipulation"] = 0] = "ContentManipulation";
19
- /** Manipulate view/camera - in ninezone this is in top right of content area. */
20
- ToolbarUsage[ToolbarUsage["ViewNavigation"] = 1] = "ViewNavigation";
21
- })(ToolbarUsage || (exports.ToolbarUsage = ToolbarUsage = {}));
22
- /** Used to specify the orientation of the toolbar.
23
- * @deprecated in 3.6. Use [ToolbarOrientation]($appui-react) instead.
24
- * @public
25
- */
26
- var ToolbarOrientation;
27
- (function (ToolbarOrientation) {
28
- /** Horizontal toolbar. */
29
- ToolbarOrientation[ToolbarOrientation["Horizontal"] = 0] = "Horizontal";
30
- /** Vertical toolbar. */
31
- ToolbarOrientation[ToolbarOrientation["Vertical"] = 1] = "Vertical";
32
- })(ToolbarOrientation || (exports.ToolbarOrientation = ToolbarOrientation = {}));
10
+ exports.ToolbarItemUtilities = void 0;
33
11
  /** Helper class to create Abstract StatusBar Item definitions.
34
12
  * @public
35
13
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ToolbarItem.js","sourceRoot":"","sources":["../../../../src/appui-abstract/toolbars/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AA9BH,oDA+BC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Toolbar\n */\n\nimport { BadgeType } from \"../items/BadgeType\";\nimport { ConditionalBooleanValue } from \"../items/ConditionalBooleanValue\";\nimport { ConditionalStringValue } from \"../items/ConditionalStringValue\";\nimport { ProvidedItem } from \"../items/ProvidedItem\";\n\n/** Used to specify the usage of the toolbar which determine the toolbar position.\n * @deprecated in 3.6. Use [ToolbarUsage]($appui-react) instead.\n * @public\n */\nexport enum ToolbarUsage {\n /** Contains tools to Create Update and Delete content - in ninezone this is in top left of content area. */\n ContentManipulation = 0,\n /** Manipulate view/camera - in ninezone this is in top right of content area. */\n ViewNavigation = 1,\n}\n\n/** Used to specify the orientation of the toolbar.\n * @deprecated in 3.6. Use [ToolbarOrientation]($appui-react) instead.\n * @public\n */\nexport enum ToolbarOrientation {\n /** Horizontal toolbar. */\n Horizontal = 0,\n /** Vertical toolbar. */\n Vertical = 1,\n}\n\n/** Describes the data needed to insert a UI items into an existing set of UI items.\n * @public\n */\nexport interface ToolbarItem extends ProvidedItem { // eslint-disable-line @typescript-eslint/no-deprecated\n /** can be used by application to store miscellaneous data. */\n readonly applicationData?: any;\n /** Describes badge. Renders no badge if not specified. */\n readonly badgeType?: BadgeType;\n /** Optional description */\n readonly description?: string | ConditionalStringValue;\n /** Require uniqueId for the item. To ensure uniqueness it is suggested that a namespace prefix of the extension name be used. */\n readonly id: string;\n /** optional data to used by item implementor. */\n readonly internalData?: Map<string, any>;\n /** Defines if the item is active (shown with an active stripe/bar). */\n readonly isActive?: boolean;\n /** Describes if the item is visible or hidden. The default is for the item to be visible. */\n readonly isHidden?: boolean | ConditionalBooleanValue;\n /** Describes if the item is enabled or disabled. The default is for the item to be enabled. */\n readonly isDisabled?: boolean | ConditionalBooleanValue;\n /** Describes if the item should appear pressed (used for displaying toggle state). This property is NOT used by Toolbars\n * constructed using the `ToolbarWithOverflow` component, which are used in AppUi 2.0 and later. For these later toolbars\n * the icon is usually changed to denote the state of a toggle.\n */\n readonly isPressed?: boolean;\n /** Specifies the item's grouping value. Items are sorted by group and then item priority. When\n * group priority changes a separator is inserted. It is recommended using values 10 through 100, incrementing by 10. This\n * allows extensions enough gaps to insert their own groups. If the value is not specified a groupPriority of 0 is used.\n */\n readonly groupPriority?: number;\n /** Priority within a toolbar or group. */\n readonly itemPriority: number;\n /** Optional parent tool group to add tool. */\n readonly parentToolGroupId?: string;\n}\n\n/** Describes the data needed to insert an action button into a toolbar.\n * @public\n */\nexport interface ActionButton extends ToolbarItem {\n /** Name of icon WebFont entry or if specifying an imported SVG symbol use \"webSvg:\" prefix to imported symbol Id. */\n readonly icon: string | ConditionalStringValue;\n /** label, shown as tool tip on a button or an item label in a group. */\n readonly label: string | ConditionalStringValue;\n /** function to run when the button is pressed. */\n readonly execute: () => void;\n}\n\n/** Describes the data needed to insert a group button into a toolbar.\n * @public\n */\nexport interface GroupButton extends ToolbarItem {\n /** Name of icon WebFont entry or if specifying an imported SVG symbol use \"webSvg:\" prefix to imported symbol Id. */\n readonly icon: string | ConditionalStringValue;\n /** label, shown as tool tip on group button or a group button label in a group panel. */\n readonly label: string | ConditionalStringValue;\n /** label shown as the title in at top of group panel. */\n readonly panelLabel?: string | ConditionalStringValue;\n /** children of the group */\n readonly items: ReadonlyArray<ActionButton | GroupButton>;\n}\n\n/** Describes the data needed to insert a custom button into a toolbar.\n * @public\n */\nexport interface CustomButtonDefinition extends ToolbarItem {\n /** Name of icon WebFont entry or if specifying an imported SVG symbol use \"webSvg:\" prefix to imported symbol Id. */\n readonly icon?: string | ConditionalStringValue;\n /** label, shown as tool tip on group button or a group button label in a group panel. */\n readonly label?: string | ConditionalStringValue;\n /** parameter that marks data as being a custom definition. */\n readonly isCustom: true;\n}\n\n/** Any Button Type that can be inserted into a toolbar.\n * @public\n */\nexport type CommonToolbarItem = ActionButton | GroupButton | CustomButtonDefinition;\n\n/** Type for Toolbar Item Id\n * @deprecated in 3.6. Please use `ToolbarItem[\"id\"]` from @itwin/appui-react.\n * @public\n */\nexport type ToolbarItemId = CommonToolbarItem[\"id\"];\n\n/** Helper class to create Abstract StatusBar Item definitions.\n * @public\n */\nexport class ToolbarItemUtilities {\n /** Creates an Action Button */\n public static createActionButton = (id: string, itemPriority: number, icon: string | ConditionalStringValue, label: string | ConditionalStringValue, execute: () => void, overrides?: Partial<ActionButton>): ActionButton => ({\n id, itemPriority,\n icon, label,\n execute,\n ...overrides,\n });\n\n /** Creates a Group button. */\n public static createGroupButton = (id: string, itemPriority: number, icon: string | ConditionalStringValue, label: string | ConditionalStringValue, items: ReadonlyArray<ActionButton | GroupButton>, overrides?: Partial<GroupButton>): GroupButton => ({\n id, itemPriority,\n icon, label,\n items,\n ...overrides,\n });\n\n /** ActionButton type guard. */\n public static isActionButton(item: CommonToolbarItem): item is ActionButton {\n return (item as ActionButton).execute !== undefined;\n }\n\n /** GroupButton type guard. */\n public static isGroupButton(item: CommonToolbarItem): item is GroupButton {\n return (item as GroupButton).items !== undefined;\n }\n\n /** CustomButtonDefinition type guard. */\n public static isCustomDefinition(item: CommonToolbarItem): item is CustomButtonDefinition {\n return !!(item as CustomButtonDefinition).isCustom;\n }\n}\n"]}
1
+ {"version":3,"file":"ToolbarItem.js","sourceRoot":"","sources":["../../../../src/appui-abstract/toolbars/ToolbarItem.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAuFH;;GAEG;AACH,MAAa,oBAAoB;IAC/B,+BAA+B;aACjB,uBAAkB,GAAG,CAAC,EAAU,EAAE,YAAoB,EAAE,IAAqC,EAAE,KAAsC,EAAE,OAAmB,EAAE,SAAiC,EAAgB,EAAE,CAAC,CAAC;QAC7N,EAAE,EAAE,YAAY;QAChB,IAAI,EAAE,KAAK;QACX,OAAO;QACP,GAAG,SAAS;KACb,CAAC,CAAC;IAEH,8BAA8B;aAChB,sBAAiB,GAAG,CAAC,EAAU,EAAE,YAAoB,EAAE,IAAqC,EAAE,KAAsC,EAAE,KAAgD,EAAE,SAAgC,EAAe,EAAE,CAAC,CAAC;QACvP,EAAE,EAAE,YAAY;QAChB,IAAI,EAAE,KAAK;QACX,KAAK;QACL,GAAG,SAAS;KACb,CAAC,CAAC;IAEH,+BAA+B;IACxB,MAAM,CAAC,cAAc,CAAC,IAAuB;QAClD,OAAQ,IAAqB,CAAC,OAAO,KAAK,SAAS,CAAC;IACtD,CAAC;IAED,8BAA8B;IACvB,MAAM,CAAC,aAAa,CAAC,IAAuB;QACjD,OAAQ,IAAoB,CAAC,KAAK,KAAK,SAAS,CAAC;IACnD,CAAC;IAED,yCAAyC;IAClC,MAAM,CAAC,kBAAkB,CAAC,IAAuB;QACtD,OAAO,CAAC,CAAE,IAA+B,CAAC,QAAQ,CAAC;IACrD,CAAC;;AA9BH,oDA+BC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Toolbar\n */\n\nimport { BadgeType } from \"../items/BadgeType\";\nimport { ConditionalBooleanValue } from \"../items/ConditionalBooleanValue\";\nimport { ConditionalStringValue } from \"../items/ConditionalStringValue\";\n\n/** Describes the data needed to insert a UI items into an existing set of UI items.\n * @public\n */\nexport interface ToolbarItem {\n /** can be used by application to store miscellaneous data. */\n readonly applicationData?: any;\n /** id of UiItemsProvider */\n readonly providerId?: string;\n /** Describes badge. Renders no badge if not specified. */\n readonly badgeType?: BadgeType;\n /** Optional description */\n readonly description?: string | ConditionalStringValue;\n /** Require uniqueId for the item. To ensure uniqueness it is suggested that a namespace prefix of the extension name be used. */\n readonly id: string;\n /** optional data to used by item implementor. */\n readonly internalData?: Map<string, any>;\n /** Defines if the item is active (shown with an active stripe/bar). */\n readonly isActive?: boolean;\n /** Describes if the item is visible or hidden. The default is for the item to be visible. */\n readonly isHidden?: boolean | ConditionalBooleanValue;\n /** Describes if the item is enabled or disabled. The default is for the item to be enabled. */\n readonly isDisabled?: boolean | ConditionalBooleanValue;\n /** Describes if the item should appear pressed (used for displaying toggle state). This property is NOT used by Toolbars\n * constructed using the `ToolbarWithOverflow` component, which are used in AppUi 2.0 and later. For these later toolbars\n * the icon is usually changed to denote the state of a toggle.\n */\n readonly isPressed?: boolean;\n /** Specifies the item's grouping value. Items are sorted by group and then item priority. When\n * group priority changes a separator is inserted. It is recommended using values 10 through 100, incrementing by 10. This\n * allows extensions enough gaps to insert their own groups. If the value is not specified a groupPriority of 0 is used.\n */\n readonly groupPriority?: number;\n /** Priority within a toolbar or group. */\n readonly itemPriority: number;\n /** Optional parent tool group to add tool. */\n readonly parentToolGroupId?: string;\n}\n\n/** Describes the data needed to insert an action button into a toolbar.\n * @public\n */\nexport interface ActionButton extends ToolbarItem {\n /** Name of icon WebFont entry or if specifying an imported SVG symbol use \"webSvg:\" prefix to imported symbol Id. */\n readonly icon: string | ConditionalStringValue;\n /** label, shown as tool tip on a button or an item label in a group. */\n readonly label: string | ConditionalStringValue;\n /** function to run when the button is pressed. */\n readonly execute: () => void;\n}\n\n/** Describes the data needed to insert a group button into a toolbar.\n * @public\n */\nexport interface GroupButton extends ToolbarItem {\n /** Name of icon WebFont entry or if specifying an imported SVG symbol use \"webSvg:\" prefix to imported symbol Id. */\n readonly icon: string | ConditionalStringValue;\n /** label, shown as tool tip on group button or a group button label in a group panel. */\n readonly label: string | ConditionalStringValue;\n /** label shown as the title in at top of group panel. */\n readonly panelLabel?: string | ConditionalStringValue;\n /** children of the group */\n readonly items: ReadonlyArray<ActionButton | GroupButton>;\n}\n\n/** Describes the data needed to insert a custom button into a toolbar.\n * @public\n */\nexport interface CustomButtonDefinition extends ToolbarItem {\n /** Name of icon WebFont entry or if specifying an imported SVG symbol use \"webSvg:\" prefix to imported symbol Id. */\n readonly icon?: string | ConditionalStringValue;\n /** label, shown as tool tip on group button or a group button label in a group panel. */\n readonly label?: string | ConditionalStringValue;\n /** parameter that marks data as being a custom definition. */\n readonly isCustom: true;\n}\n\n/** Any Button Type that can be inserted into a toolbar.\n * @public\n */\nexport type CommonToolbarItem = ActionButton | GroupButton | CustomButtonDefinition;\n\n/** Helper class to create Abstract StatusBar Item definitions.\n * @public\n */\nexport class ToolbarItemUtilities {\n /** Creates an Action Button */\n public static createActionButton = (id: string, itemPriority: number, icon: string | ConditionalStringValue, label: string | ConditionalStringValue, execute: () => void, overrides?: Partial<ActionButton>): ActionButton => ({\n id, itemPriority,\n icon, label,\n execute,\n ...overrides,\n });\n\n /** Creates a Group button. */\n public static createGroupButton = (id: string, itemPriority: number, icon: string | ConditionalStringValue, label: string | ConditionalStringValue, items: ReadonlyArray<ActionButton | GroupButton>, overrides?: Partial<GroupButton>): GroupButton => ({\n id, itemPriority,\n icon, label,\n items,\n ...overrides,\n });\n\n /** ActionButton type guard. */\n public static isActionButton(item: CommonToolbarItem): item is ActionButton {\n return (item as ActionButton).execute !== undefined;\n }\n\n /** GroupButton type guard. */\n public static isGroupButton(item: CommonToolbarItem): item is GroupButton {\n return (item as GroupButton).items !== undefined;\n }\n\n /** CustomButtonDefinition type guard. */\n public static isCustomDefinition(item: CommonToolbarItem): item is CustomButtonDefinition {\n return !!(item as CustomButtonDefinition).isCustom;\n }\n}"]}
@@ -8,20 +8,10 @@ export declare class IconSpecUtilities {
8
8
  /** Prefix for an SVG IconSpec loaded with the Sprite loader */
9
9
  static readonly SVG_PREFIX = "svg:";
10
10
  static readonly WEB_COMPONENT_PREFIX = "webSvg:";
11
- /** Create an IconSpec for an SVG loaded into web component with sprite loader
12
- * This method is deprecated -- use createWebComponentIconSpec()
13
- * @public @deprecated in 3.2. Please avoid using the Sprite loader and use IconSpecUtilities.createWebComponentIconSpec() instead.
14
- */
15
- static createSvgIconSpec(svgSrc: string): string;
16
11
  /** Create an IconSpec for an SVG loaded into web component with svg-loader
17
12
  * @public @deprecated in 4.3. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
18
13
  */
19
14
  static createWebComponentIconSpec(srcString: string): string;
20
- /** Get the SVG Source from an sprite IconSpec
21
- * This method is deprecated -- use getWebComponentSource()
22
- * @public @deprecated in 3.2. avoid using the Sprite loader and use IconSpecUtilities.getWebComponentSource() instead.
23
- */
24
- static getSvgSource(iconSpec: string): string | undefined;
25
15
  /** Get the SVG Source from an svg-loader IconSpec
26
16
  * @public @deprecated in 4.3. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
27
17
  */
@@ -1 +1 @@
1
- {"version":3,"file":"IconSpecUtilities.d.ts","sourceRoot":"","sources":["../../../../src/appui-abstract/utils/IconSpecUtilities.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH;;GAEG;AACH,qBAAa,iBAAiB;IAC5B,+DAA+D;IAC/D,gBAAuB,UAAU,UAAU;IAC3C,gBAAuB,oBAAoB,aAAa;IAExD;;;MAGE;WACY,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM;IAGvD;;MAEE;WACY,0BAA0B,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;IAInE;;;MAGE;WACY,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAOhE;;MAEE;WAEY,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;CAQ1E"}
1
+ {"version":3,"file":"IconSpecUtilities.d.ts","sourceRoot":"","sources":["../../../../src/appui-abstract/utils/IconSpecUtilities.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH;;GAEG;AACH,qBAAa,iBAAiB;IAC5B,+DAA+D;IAC/D,gBAAuB,UAAU,UAAU;IAC3C,gBAAuB,oBAAoB,aAAa;IAExD;;MAEE;WACY,0BAA0B,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;IAInE;;MAEE;WAEY,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;CAQ1E"}
@@ -16,29 +16,12 @@ class IconSpecUtilities {
16
16
  /** Prefix for an SVG IconSpec loaded with the Sprite loader */
17
17
  static { this.SVG_PREFIX = "svg:"; }
18
18
  static { this.WEB_COMPONENT_PREFIX = "webSvg:"; }
19
- /** Create an IconSpec for an SVG loaded into web component with sprite loader
20
- * This method is deprecated -- use createWebComponentIconSpec()
21
- * @public @deprecated in 3.2. Please avoid using the Sprite loader and use IconSpecUtilities.createWebComponentIconSpec() instead.
22
- */
23
- static createSvgIconSpec(svgSrc) {
24
- return `${IconSpecUtilities.SVG_PREFIX}${svgSrc}`;
25
- }
26
19
  /** Create an IconSpec for an SVG loaded into web component with svg-loader
27
20
  * @public @deprecated in 4.3. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
28
21
  */
29
22
  static createWebComponentIconSpec(srcString) {
30
23
  return `${IconSpecUtilities.WEB_COMPONENT_PREFIX}${srcString}`;
31
24
  }
32
- /** Get the SVG Source from an sprite IconSpec
33
- * This method is deprecated -- use getWebComponentSource()
34
- * @public @deprecated in 3.2. avoid using the Sprite loader and use IconSpecUtilities.getWebComponentSource() instead.
35
- */
36
- static getSvgSource(iconSpec) {
37
- if (iconSpec.startsWith(IconSpecUtilities.SVG_PREFIX) && iconSpec.length > 4) {
38
- return iconSpec.slice(4);
39
- }
40
- return undefined;
41
- }
42
25
  /** Get the SVG Source from an svg-loader IconSpec
43
26
  * @public @deprecated in 4.3. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
44
27
  */
@@ -1 +1 @@
1
- {"version":3,"file":"IconSpecUtilities.js","sourceRoot":"","sources":["../../../../src/appui-abstract/utils/IconSpecUtilities.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,qDAAqD;AAErD;;GAEG;AACH,MAAa,iBAAiB;IAC5B,+DAA+D;aACxC,eAAU,GAAG,MAAM,CAAC;aACpB,yBAAoB,GAAG,SAAS,CAAC;IAExD;;;MAGE;IACK,MAAM,CAAC,iBAAiB,CAAC,MAAc;QAC5C,OAAO,GAAG,iBAAiB,CAAC,UAAU,GAAG,MAAM,EAAE,CAAC;IACpD,CAAC;IACD;;MAEE;IACK,MAAM,CAAC,0BAA0B,CAAC,SAAiB;QACxD,OAAO,GAAG,iBAAiB,CAAC,oBAAoB,GAAG,SAAS,EAAE,CAAC;IACjE,CAAC;IAED;;;MAGE;IACK,MAAM,CAAC,YAAY,CAAC,QAAgB;QACzC,IAAI,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC,UAAU,CAAC,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC7E,OAAO,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAC3B,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IACD;;MAEE;IAEK,MAAM,CAAC,qBAAqB,CAAC,QAAgB;QAClD,IAAI,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACvF,OAAO,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAC3B,CAAC;QAED,OAAO,SAAS,CAAC;IAEnB,CAAC;;AAzCH,8CA0CC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\n/* eslint-disable @typescript-eslint/no-deprecated */\n\n/** Creates an IconSpec with an SVG source and gets the SVG source from an IconSpec.\n * @public @deprecated in 4.3. AppUI libraries >= 4.7.x support loading SVGs sources without prefixes, eliminating the need for these utilities.\n */\nexport class IconSpecUtilities {\n /** Prefix for an SVG IconSpec loaded with the Sprite loader */\n public static readonly SVG_PREFIX = \"svg:\";\n public static readonly WEB_COMPONENT_PREFIX = \"webSvg:\";\n\n /** Create an IconSpec for an SVG loaded into web component with sprite loader\n * This method is deprecated -- use createWebComponentIconSpec()\n * @public @deprecated in 3.2. Please avoid using the Sprite loader and use IconSpecUtilities.createWebComponentIconSpec() instead.\n */\n public static createSvgIconSpec(svgSrc: string): string {\n return `${IconSpecUtilities.SVG_PREFIX}${svgSrc}`;\n }\n /** Create an IconSpec for an SVG loaded into web component with svg-loader\n * @public @deprecated in 4.3. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.\n */\n public static createWebComponentIconSpec(srcString: string): string {\n return `${IconSpecUtilities.WEB_COMPONENT_PREFIX}${srcString}`;\n }\n\n /** Get the SVG Source from an sprite IconSpec\n * This method is deprecated -- use getWebComponentSource()\n * @public @deprecated in 3.2. avoid using the Sprite loader and use IconSpecUtilities.getWebComponentSource() instead.\n */\n public static getSvgSource(iconSpec: string): string | undefined {\n if (iconSpec.startsWith(IconSpecUtilities.SVG_PREFIX) && iconSpec.length > 4) {\n return iconSpec.slice(4);\n }\n\n return undefined;\n }\n /** Get the SVG Source from an svg-loader IconSpec\n * @public @deprecated in 4.3. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.\n */\n\n public static getWebComponentSource(iconSpec: string): string | undefined {\n if (iconSpec.startsWith(IconSpecUtilities.WEB_COMPONENT_PREFIX) && iconSpec.length > 7) {\n return iconSpec.slice(7);\n }\n\n return undefined;\n\n }\n}\n"]}
1
+ {"version":3,"file":"IconSpecUtilities.js","sourceRoot":"","sources":["../../../../src/appui-abstract/utils/IconSpecUtilities.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,qDAAqD;AAErD;;GAEG;AACH,MAAa,iBAAiB;IAC5B,+DAA+D;aACxC,eAAU,GAAG,MAAM,CAAC;aACpB,yBAAoB,GAAG,SAAS,CAAC;IAExD;;MAEE;IACK,MAAM,CAAC,0BAA0B,CAAC,SAAiB;QACxD,OAAO,GAAG,iBAAiB,CAAC,oBAAoB,GAAG,SAAS,EAAE,CAAC;IACjE,CAAC;IAED;;MAEE;IAEK,MAAM,CAAC,qBAAqB,CAAC,QAAgB;QAClD,IAAI,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACvF,OAAO,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAC3B,CAAC;QAED,OAAO,SAAS,CAAC;IAEnB,CAAC;;AAvBH,8CAwBC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\n\n/* eslint-disable @typescript-eslint/no-deprecated */\n\n/** Creates an IconSpec with an SVG source and gets the SVG source from an IconSpec.\n * @public @deprecated in 4.3. AppUI libraries >= 4.7.x support loading SVGs sources without prefixes, eliminating the need for these utilities.\n */\nexport class IconSpecUtilities {\n /** Prefix for an SVG IconSpec loaded with the Sprite loader */\n public static readonly SVG_PREFIX = \"svg:\";\n public static readonly WEB_COMPONENT_PREFIX = \"webSvg:\";\n\n /** Create an IconSpec for an SVG loaded into web component with svg-loader\n * @public @deprecated in 4.3. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.\n */\n public static createWebComponentIconSpec(srcString: string): string {\n return `${IconSpecUtilities.WEB_COMPONENT_PREFIX}${srcString}`;\n }\n\n /** Get the SVG Source from an svg-loader IconSpec\n * @public @deprecated in 4.3. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.\n */\n\n public static getWebComponentSource(iconSpec: string): string | undefined {\n if (iconSpec.startsWith(IconSpecUtilities.WEB_COMPONENT_PREFIX) && iconSpec.length > 7) {\n return iconSpec.slice(7);\n }\n\n return undefined;\n\n }\n}"]}
@@ -1,9 +1,4 @@
1
- export * from "./appui-abstract/BaseUiItemsProvider";
2
1
  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";
7
2
  export * from "./appui-abstract/common/KeyboardKey";
8
3
  export * from "./appui-abstract/content/ContentLayoutProps";
9
4
  export * from "./appui-abstract/content/StandardContentLayouts";
@@ -16,9 +11,7 @@ export * from "./appui-abstract/items/AbstractToolbarProps";
16
11
  export * from "./appui-abstract/items/BadgeType";
17
12
  export * from "./appui-abstract/items/ConditionalBooleanValue";
18
13
  export * from "./appui-abstract/items/ConditionalStringValue";
19
- export * from "./appui-abstract/items/ProvidedItem";
20
14
  export * from "./appui-abstract/items/RelativePosition";
21
- export * from "./appui-abstract/items/StageUsage";
22
15
  export * from "./appui-abstract/notification/MessagePresenter";
23
16
  export * from "./appui-abstract/notification/MessageSeverity";
24
17
  export * from "./appui-abstract/properties/Description";
@@ -29,12 +22,7 @@ export * from "./appui-abstract/properties/StandardEditorNames";
29
22
  export * from "./appui-abstract/properties/StandardTypeNames";
30
23
  export * from "./appui-abstract/properties/Value";
31
24
  export * from "./appui-abstract/quantity/BaseQuantityDescription";
32
- export * from "./appui-abstract/statusbar/StatusBarItem";
33
- export * from "./appui-abstract/statusbar/StatusBarItemsManager";
34
25
  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";
38
26
  export * from "./appui-abstract/utils/callbacks";
39
27
  export * from "./appui-abstract/utils/misc";
40
28
  export * from "./appui-abstract/utils/IconSpecUtilities";
@@ -43,17 +31,10 @@ export * from "./appui-abstract/utils/UiError";
43
31
  export * from "./appui-abstract/utils/UiEventDispatcher";
44
32
  export * from "./appui-abstract/utils/UiEvent";
45
33
  export * from "./appui-abstract/utils/filter/filters";
46
- export * from "./appui-abstract/widget/AbstractWidgetProps";
47
- export * from "./appui-abstract/widget/StagePanel";
48
- export * from "./appui-abstract/widget/WidgetState";
49
34
  /** @docs-package-description
50
35
  * The appui-abstract package contains abstractions for UI controls, such as toolbars, buttons and menus.
51
36
  * For more information, see [UI]($docs/ui/index.md).
52
37
  */
53
- /**
54
- * @docs-group-description Backstage
55
- * Abstractions used by appui-react package to create and manage the display Backstage menu items.
56
- */
57
38
  /**
58
39
  * @docs-group-description ContentView
59
40
  * Classes and interfaces used with Content Layouts.
@@ -74,10 +55,6 @@ export * from "./appui-abstract/widget/WidgetState";
74
55
  * @docs-group-description Properties
75
56
  * Properties system for data input and formatting.
76
57
  */
77
- /**
78
- * @docs-group-description StatusBar
79
- * Classes for creating and managing items in the status bar.
80
- */
81
58
  /**
82
59
  * @docs-group-description Toolbar
83
60
  * Classes for creating and managing items in a toolbar.
@@ -93,9 +70,5 @@ export * from "./appui-abstract/widget/WidgetState";
93
70
  /**
94
71
  * @docs-group-description Utilities
95
72
  * Various utility classes for working with a UI.
96
- */
97
- /**
98
- * @docs-group-description Widget
99
- * Classes for creating and providing Widgets.
100
- */
73
+ */
101
74
  //# 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,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,CAA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KA,cAAc,0BAA0B,CAAC;AAEzC,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,yCAAyC,CAAC;AAExD,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;AAElE,cAAc,uCAAuC,CAAC;AAEtD,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0CAA0C,CAAC;AACzD,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0CAA0C,CAAC;AACzD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uCAAuC,CAAC;AAEtD;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG"}
@@ -18,12 +18,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
18
18
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
19
19
  };
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
- __exportStar(require("./appui-abstract/BaseUiItemsProvider"), exports);
22
21
  __exportStar(require("./appui-abstract/UiAdmin"), exports);
23
- __exportStar(require("./appui-abstract/UiItemsManager"), exports);
24
- __exportStar(require("./appui-abstract/UiItemsProvider"), exports);
25
- __exportStar(require("./appui-abstract/backstage/BackstageItem"), exports);
26
- __exportStar(require("./appui-abstract/backstage/BackstageItemsManager"), exports);
27
22
  __exportStar(require("./appui-abstract/common/KeyboardKey"), exports);
28
23
  __exportStar(require("./appui-abstract/content/ContentLayoutProps"), exports);
29
24
  __exportStar(require("./appui-abstract/content/StandardContentLayouts"), exports);
@@ -36,9 +31,7 @@ __exportStar(require("./appui-abstract/items/AbstractToolbarProps"), exports);
36
31
  __exportStar(require("./appui-abstract/items/BadgeType"), exports);
37
32
  __exportStar(require("./appui-abstract/items/ConditionalBooleanValue"), exports);
38
33
  __exportStar(require("./appui-abstract/items/ConditionalStringValue"), exports);
39
- __exportStar(require("./appui-abstract/items/ProvidedItem"), exports);
40
34
  __exportStar(require("./appui-abstract/items/RelativePosition"), exports);
41
- __exportStar(require("./appui-abstract/items/StageUsage"), exports);
42
35
  __exportStar(require("./appui-abstract/notification/MessagePresenter"), exports);
43
36
  __exportStar(require("./appui-abstract/notification/MessageSeverity"), exports);
44
37
  __exportStar(require("./appui-abstract/properties/Description"), exports);
@@ -49,12 +42,7 @@ __exportStar(require("./appui-abstract/properties/StandardEditorNames"), exports
49
42
  __exportStar(require("./appui-abstract/properties/StandardTypeNames"), exports);
50
43
  __exportStar(require("./appui-abstract/properties/Value"), exports);
51
44
  __exportStar(require("./appui-abstract/quantity/BaseQuantityDescription"), exports);
52
- __exportStar(require("./appui-abstract/statusbar/StatusBarItem"), exports);
53
- __exportStar(require("./appui-abstract/statusbar/StatusBarItemsManager"), exports);
54
45
  __exportStar(require("./appui-abstract/toolbars/ToolbarItem"), exports);
55
- __exportStar(require("./appui-abstract/toolbars/ToolbarItemsManager"), exports);
56
- __exportStar(require("./appui-abstract/statusbar/StatusBarItem"), exports);
57
- __exportStar(require("./appui-abstract/statusbar/StatusBarItemsManager"), exports);
58
46
  __exportStar(require("./appui-abstract/utils/callbacks"), exports);
59
47
  __exportStar(require("./appui-abstract/utils/misc"), exports);
60
48
  __exportStar(require("./appui-abstract/utils/IconSpecUtilities"), exports);
@@ -63,17 +51,10 @@ __exportStar(require("./appui-abstract/utils/UiError"), exports);
63
51
  __exportStar(require("./appui-abstract/utils/UiEventDispatcher"), exports);
64
52
  __exportStar(require("./appui-abstract/utils/UiEvent"), exports);
65
53
  __exportStar(require("./appui-abstract/utils/filter/filters"), exports);
66
- __exportStar(require("./appui-abstract/widget/AbstractWidgetProps"), exports);
67
- __exportStar(require("./appui-abstract/widget/StagePanel"), exports);
68
- __exportStar(require("./appui-abstract/widget/WidgetState"), exports);
69
54
  /** @docs-package-description
70
55
  * The appui-abstract package contains abstractions for UI controls, such as toolbars, buttons and menus.
71
56
  * For more information, see [UI]($docs/ui/index.md).
72
57
  */
73
- /**
74
- * @docs-group-description Backstage
75
- * Abstractions used by appui-react package to create and manage the display Backstage menu items.
76
- */
77
58
  /**
78
59
  * @docs-group-description ContentView
79
60
  * Classes and interfaces used with Content Layouts.
@@ -94,10 +75,6 @@ __exportStar(require("./appui-abstract/widget/WidgetState"), exports);
94
75
  * @docs-group-description Properties
95
76
  * Properties system for data input and formatting.
96
77
  */
97
- /**
98
- * @docs-group-description StatusBar
99
- * Classes for creating and managing items in the status bar.
100
- */
101
78
  /**
102
79
  * @docs-group-description Toolbar
103
80
  * Classes for creating and managing items in a toolbar.
@@ -113,9 +90,5 @@ __exportStar(require("./appui-abstract/widget/WidgetState"), exports);
113
90
  /**
114
91
  * @docs-group-description Utilities
115
92
  * Various utility classes for working with a UI.
116
- */
117
- /**
118
- * @docs-group-description Widget
119
- * Classes for creating and providing Widgets.
120
- */
93
+ */
121
94
  //# 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,uEAAqD;AACrD,2DAAyC;AACzC,kEAAgD;AAChD,mEAAiD;AAEjD,2EAAyD;AACzD,mFAAiE;AAEjE,sEAAoD;AAEpD,8EAA4D;AAC5D,kFAAgE;AAEhE,sEAAoD;AACpD,gFAA8D;AAC9D,0EAAwD;AAExD,2EAAyD;AACzD,+EAA6D;AAC7D,8EAA4D;AAC5D,mEAAiD;AACjD,iFAA+D;AAC/D,gFAA8D;AAC9D,sEAAoD;AACpD,0EAAwD;AACxD,oEAAkD;AAElD,iFAA+D;AAC/D,gFAA8D;AAE9D,0EAAwD;AACxD,2EAAyD;AACzD,6EAA2D;AAC3D,qEAAmD;AACnD,kFAAgE;AAChE,gFAA8D;AAC9D,oEAAkD;AAElD,oFAAkE;AAClE,2EAAyD;AACzD,mFAAiE;AAEjE,wEAAsD;AACtD,gFAA8D;AAE9D,2EAAyD;AACzD,mFAAiE;AAEjE,mEAAiD;AACjD,8DAA4C;AAC5C,2EAAyD;AACzD,oEAAkD;AAClD,iEAA+C;AAC/C,2EAAyD;AACzD,iEAA+C;AAC/C,wEAAsD;AAEtD,8EAA4D;AAC5D,qEAAmD;AACnD,sEAAoD;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":["/*---------------------------------------------------------------------------------------------\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\nexport * from \"./appui-abstract/BaseUiItemsProvider\";\nexport * from \"./appui-abstract/UiAdmin\";\nexport * from \"./appui-abstract/UiItemsManager\";\nexport * from \"./appui-abstract/UiItemsProvider\";\n\nexport * from \"./appui-abstract/backstage/BackstageItem\";\nexport * from \"./appui-abstract/backstage/BackstageItemsManager\";\n\nexport * from \"./appui-abstract/common/KeyboardKey\";\n\nexport * from \"./appui-abstract/content/ContentLayoutProps\";\nexport * from \"./appui-abstract/content/StandardContentLayouts\";\n\nexport * from \"./appui-abstract/dialogs/DialogItem\";\nexport * from \"./appui-abstract/dialogs/UiLayoutDataProvider\";\nexport * from \"./appui-abstract/dialogs/UiDataProvider\";\n\nexport * from \"./appui-abstract/items/AbstractItemProps\";\nexport * from \"./appui-abstract/items/AbstractMenuItemProps\";\nexport * from \"./appui-abstract/items/AbstractToolbarProps\";\nexport * from \"./appui-abstract/items/BadgeType\";\nexport * from \"./appui-abstract/items/ConditionalBooleanValue\";\nexport * from \"./appui-abstract/items/ConditionalStringValue\";\nexport * from \"./appui-abstract/items/ProvidedItem\";\nexport * from \"./appui-abstract/items/RelativePosition\";\nexport * from \"./appui-abstract/items/StageUsage\";\n\nexport * from \"./appui-abstract/notification/MessagePresenter\";\nexport * from \"./appui-abstract/notification/MessageSeverity\";\n\nexport * from \"./appui-abstract/properties/Description\";\nexport * from \"./appui-abstract/properties/EditorParams\";\nexport * from \"./appui-abstract/properties/PrimitiveTypes\";\nexport * from \"./appui-abstract/properties/Record\";\nexport * from \"./appui-abstract/properties/StandardEditorNames\";\nexport * from \"./appui-abstract/properties/StandardTypeNames\";\nexport * from \"./appui-abstract/properties/Value\";\n\nexport * from \"./appui-abstract/quantity/BaseQuantityDescription\";\nexport * from \"./appui-abstract/statusbar/StatusBarItem\";\nexport * from \"./appui-abstract/statusbar/StatusBarItemsManager\";\n\nexport * from \"./appui-abstract/toolbars/ToolbarItem\";\nexport * from \"./appui-abstract/toolbars/ToolbarItemsManager\";\n\nexport * from \"./appui-abstract/statusbar/StatusBarItem\";\nexport * from \"./appui-abstract/statusbar/StatusBarItemsManager\";\n\nexport * from \"./appui-abstract/utils/callbacks\";\nexport * from \"./appui-abstract/utils/misc\";\nexport * from \"./appui-abstract/utils/IconSpecUtilities\";\nexport * from \"./appui-abstract/utils/PointProps\";\nexport * from \"./appui-abstract/utils/UiError\";\nexport * from \"./appui-abstract/utils/UiEventDispatcher\";\nexport * from \"./appui-abstract/utils/UiEvent\";\nexport * from \"./appui-abstract/utils/filter/filters\";\n\nexport * from \"./appui-abstract/widget/AbstractWidgetProps\";\nexport * from \"./appui-abstract/widget/StagePanel\";\nexport * from \"./appui-abstract/widget/WidgetState\";\n\n/** @docs-package-description\n * The appui-abstract package contains abstractions for UI controls, such as toolbars, buttons and menus.\n * For more information, see [UI]($docs/ui/index.md).\n */\n/**\n * @docs-group-description Backstage\n * Abstractions used by appui-react package to create and manage the display Backstage menu items.\n */\n/**\n * @docs-group-description ContentView\n * Classes and interfaces used with Content Layouts.\n */\n/**\n * @docs-group-description Dialog\n * Interfaces and classes for generating UI items for Dialogs.\n */\n/**\n * @docs-group-description Item\n * Classes for working with an Item in a Toolbar, Widget, Backstage or Context Menu\n */\n/**\n * @docs-group-description Notification\n * Interfaces and enums for working with a message\n */\n/**\n * @docs-group-description Properties\n * Properties system for data input and formatting.\n */\n/**\n * @docs-group-description StatusBar\n * Classes for creating and managing items in the status bar.\n */\n/**\n * @docs-group-description Toolbar\n * Classes for creating and managing items in a toolbar.\n */\n/**\n * @docs-group-description UiAdmin\n * Abstractions for UI controls, such as toolbars, buttons and menus and are callable from IModelApp.uiAdmin in core-frontend.\n */\n/**\n * @docs-group-description UiItemsProvider\n * Interface for specifying UI items to be inserted at runtime.\n */\n/**\n * @docs-group-description Utilities\n * Various utility classes for working with a UI.\n */\n/**\n * @docs-group-description Widget\n * Classes for creating and providing Widgets.\n */\n"]}
1
+ {"version":3,"file":"appui-abstract.js","sourceRoot":"","sources":["../../src/appui-abstract.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;;;;;;;;;;;;;;;;AAE/F,2DAAyC;AAEzC,sEAAoD;AAEpD,8EAA4D;AAC5D,kFAAgE;AAEhE,sEAAoD;AACpD,gFAA8D;AAC9D,0EAAwD;AAExD,2EAAyD;AACzD,+EAA6D;AAC7D,8EAA4D;AAC5D,mEAAiD;AACjD,iFAA+D;AAC/D,gFAA8D;AAC9D,0EAAwD;AAExD,iFAA+D;AAC/D,gFAA8D;AAE9D,0EAAwD;AACxD,2EAAyD;AACzD,6EAA2D;AAC3D,qEAAmD;AACnD,kFAAgE;AAChE,gFAA8D;AAC9D,oEAAkD;AAElD,oFAAkE;AAElE,wEAAsD;AAEtD,mEAAiD;AACjD,8DAA4C;AAC5C,2EAAyD;AACzD,oEAAkD;AAClD,iEAA+C;AAC/C,2EAAyD;AACzD,iEAA+C;AAC/C,wEAAsD;AAEtD;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG","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\nexport * from \"./appui-abstract/UiAdmin\";\n\nexport * from \"./appui-abstract/common/KeyboardKey\";\n\nexport * from \"./appui-abstract/content/ContentLayoutProps\";\nexport * from \"./appui-abstract/content/StandardContentLayouts\";\n\nexport * from \"./appui-abstract/dialogs/DialogItem\";\nexport * from \"./appui-abstract/dialogs/UiLayoutDataProvider\";\nexport * from \"./appui-abstract/dialogs/UiDataProvider\";\n\nexport * from \"./appui-abstract/items/AbstractItemProps\";\nexport * from \"./appui-abstract/items/AbstractMenuItemProps\";\nexport * from \"./appui-abstract/items/AbstractToolbarProps\";\nexport * from \"./appui-abstract/items/BadgeType\";\nexport * from \"./appui-abstract/items/ConditionalBooleanValue\";\nexport * from \"./appui-abstract/items/ConditionalStringValue\";\nexport * from \"./appui-abstract/items/RelativePosition\";\n\nexport * from \"./appui-abstract/notification/MessagePresenter\";\nexport * from \"./appui-abstract/notification/MessageSeverity\";\n\nexport * from \"./appui-abstract/properties/Description\";\nexport * from \"./appui-abstract/properties/EditorParams\";\nexport * from \"./appui-abstract/properties/PrimitiveTypes\";\nexport * from \"./appui-abstract/properties/Record\";\nexport * from \"./appui-abstract/properties/StandardEditorNames\";\nexport * from \"./appui-abstract/properties/StandardTypeNames\";\nexport * from \"./appui-abstract/properties/Value\";\n\nexport * from \"./appui-abstract/quantity/BaseQuantityDescription\";\n\nexport * from \"./appui-abstract/toolbars/ToolbarItem\";\n\nexport * from \"./appui-abstract/utils/callbacks\";\nexport * from \"./appui-abstract/utils/misc\";\nexport * from \"./appui-abstract/utils/IconSpecUtilities\";\nexport * from \"./appui-abstract/utils/PointProps\";\nexport * from \"./appui-abstract/utils/UiError\";\nexport * from \"./appui-abstract/utils/UiEventDispatcher\";\nexport * from \"./appui-abstract/utils/UiEvent\";\nexport * from \"./appui-abstract/utils/filter/filters\";\n\n/** @docs-package-description\n * The appui-abstract package contains abstractions for UI controls, such as toolbars, buttons and menus.\n * For more information, see [UI]($docs/ui/index.md).\n */\n/**\n * @docs-group-description ContentView\n * Classes and interfaces used with Content Layouts.\n */\n/**\n * @docs-group-description Dialog\n * Interfaces and classes for generating UI items for Dialogs.\n */\n/**\n * @docs-group-description Item\n * Classes for working with an Item in a Toolbar, Widget, Backstage or Context Menu\n */\n/**\n * @docs-group-description Notification\n * Interfaces and enums for working with a message\n */\n/**\n * @docs-group-description Properties\n * Properties system for data input and formatting.\n */\n/**\n * @docs-group-description Toolbar\n * Classes for creating and managing items in a toolbar.\n */\n/**\n * @docs-group-description UiAdmin\n * Abstractions for UI controls, such as toolbars, buttons and menus and are callable from IModelApp.uiAdmin in core-frontend.\n */\n/**\n * @docs-group-description UiItemsProvider\n * Interface for specifying UI items to be inserted at runtime.\n */\n/**\n * @docs-group-description Utilities\n * Various utility classes for working with a UI.\n */"]}
@@ -4,33 +4,14 @@
4
4
  import { BadgeType } from "../items/BadgeType";
5
5
  import { ConditionalBooleanValue } from "../items/ConditionalBooleanValue";
6
6
  import { ConditionalStringValue } from "../items/ConditionalStringValue";
7
- import { ProvidedItem } from "../items/ProvidedItem";
8
- /** Used to specify the usage of the toolbar which determine the toolbar position.
9
- * @deprecated in 3.6. Use [ToolbarUsage]($appui-react) instead.
10
- * @public
11
- */
12
- export declare enum ToolbarUsage {
13
- /** Contains tools to Create Update and Delete content - in ninezone this is in top left of content area. */
14
- ContentManipulation = 0,
15
- /** Manipulate view/camera - in ninezone this is in top right of content area. */
16
- ViewNavigation = 1
17
- }
18
- /** Used to specify the orientation of the toolbar.
19
- * @deprecated in 3.6. Use [ToolbarOrientation]($appui-react) instead.
20
- * @public
21
- */
22
- export declare enum ToolbarOrientation {
23
- /** Horizontal toolbar. */
24
- Horizontal = 0,
25
- /** Vertical toolbar. */
26
- Vertical = 1
27
- }
28
7
  /** Describes the data needed to insert a UI items into an existing set of UI items.
29
8
  * @public
30
9
  */
31
- export interface ToolbarItem extends ProvidedItem {
10
+ export interface ToolbarItem {
32
11
  /** can be used by application to store miscellaneous data. */
33
12
  readonly applicationData?: any;
13
+ /** id of UiItemsProvider */
14
+ readonly providerId?: string;
34
15
  /** Describes badge. Renders no badge if not specified. */
35
16
  readonly badgeType?: BadgeType;
36
17
  /** Optional description */
@@ -99,11 +80,6 @@ export interface CustomButtonDefinition extends ToolbarItem {
99
80
  * @public
100
81
  */
101
82
  export type CommonToolbarItem = ActionButton | GroupButton | CustomButtonDefinition;
102
- /** Type for Toolbar Item Id
103
- * @deprecated in 3.6. Please use `ToolbarItem["id"]` from @itwin/appui-react.
104
- * @public
105
- */
106
- export type ToolbarItemId = CommonToolbarItem["id"];
107
83
  /** Helper class to create Abstract StatusBar Item definitions.
108
84
  * @public
109
85
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ToolbarItem.d.ts","sourceRoot":"","sources":["../../../../src/appui-abstract/toolbars/ToolbarItem.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,uBAAuB,EAAE,M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AI,CAAC,EAAE,MAAM,GAAG,sBAAsB,CAAC;IAChD,yFAAyF;IACzF,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,sBAAsB,CAAC;IACjD,8DAA8D;IAC9D,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG,WAAW,GAAG,sBAAsB,CAAC;AAEpF;;GAEG;AACH,qBAAa,oBAAoB;IAC/B,+BAA+B;IAC/B,OAAc,kBAAkB,OAAQ,MAAM,gBAAgB,MAAM,QAAQ,MAAM,GAAG,sBAAsB,SAAS,MAAM,GAAG,sBAAsB,WAAW,MAAM,IAAI,cAAc,OAAO,CAAC,YAAY,CAAC,KAAG,YAAY,CAKvN;IAEH,8BAA8B;IAC9B,OAAc,iBAAiB,OAAQ,MAAM,gBAAgB,MAAM,QAAQ,MAAM,GAAG,sBAAsB,SAAS,MAAM,GAAG,sBAAsB,SAAS,aAAa,CAAC,YAAY,GAAG,WAAW,CAAC,cAAc,OAAO,CAAC,WAAW,CAAC,KAAG,WAAW,CAKjP;IAEH,+BAA+B;WACjB,cAAc,CAAC,IAAI,EAAE,iBAAiB,GAAG,IAAI,IAAI,YAAY;IAI3E,8BAA8B;WAChB,aAAa,CAAC,IAAI,EAAE,iBAAiB,GAAG,IAAI,IAAI,WAAW;IAIzE,yCAAyC;WAC3B,kBAAkB,CAAC,IAAI,EAAE,iBAAiB,GAAG,IAAI,IAAI,sBAAsB;CAG1F"}
@@ -5,28 +5,6 @@
5
5
  /** @packageDocumentation
6
6
  * @module Toolbar
7
7
  */
8
- /** Used to specify the usage of the toolbar which determine the toolbar position.
9
- * @deprecated in 3.6. Use [ToolbarUsage]($appui-react) instead.
10
- * @public
11
- */
12
- export var ToolbarUsage;
13
- (function (ToolbarUsage) {
14
- /** Contains tools to Create Update and Delete content - in ninezone this is in top left of content area. */
15
- ToolbarUsage[ToolbarUsage["ContentManipulation"] = 0] = "ContentManipulation";
16
- /** Manipulate view/camera - in ninezone this is in top right of content area. */
17
- ToolbarUsage[ToolbarUsage["ViewNavigation"] = 1] = "ViewNavigation";
18
- })(ToolbarUsage || (ToolbarUsage = {}));
19
- /** Used to specify the orientation of the toolbar.
20
- * @deprecated in 3.6. Use [ToolbarOrientation]($appui-react) instead.
21
- * @public
22
- */
23
- export var ToolbarOrientation;
24
- (function (ToolbarOrientation) {
25
- /** Horizontal toolbar. */
26
- ToolbarOrientation[ToolbarOrientation["Horizontal"] = 0] = "Horizontal";
27
- /** Vertical toolbar. */
28
- ToolbarOrientation[ToolbarOrientation["Vertical"] = 1] = "Vertical";
29
- })(ToolbarOrientation || (ToolbarOrientation = {}));
30
8
  /** Helper class to create Abstract StatusBar Item definitions.
31
9
  * @public
32
10
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ToolbarItem.js","sourceRoot":"","sources":["../../../../src/appui-abstract/toolbars/ToolbarItem.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAOH;;;GAGG;AACH,MAAM,CAAN,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,4GAA4G;IAC5G,6EAAuB,CAAA;IACvB,iFAAiF;IACjF,mEAAkB,CAAA;AACpB,CAAC,EALW,YAAY,KAAZ,YAAY,QAKvB;AAED;;;GAGG;AACH,MAAM,CAAN,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,0BAA0B;IAC1B,uEAAc,CAAA;IACd,wBAAwB;IACxB,mEAAY,CAAA;AACd,CAAC,EALW,kBAAkB,KAAlB,kBAAkB,QAK7B;AAuFD;;GAEG;AACH,MAAM,OAAO,oBAAoB;IAC/B,+BAA+B;aACjB,uBAAkB,GAAG,CAAC,EAAU,EAAE,YAAoB,EAAE,IAAqC,EAAE,KAAsC,EAAE,OAAmB,EAAE,SAAiC,EAAgB,EAAE,CAAC,CAAC;QAC7N,EAAE,EAAE,YAAY;QAChB,IAAI,EAAE,KAAK;QACX,OAAO;QACP,GAAG,SAAS;KACb,CAAC,CAAC;IAEH,8BAA8B;aAChB,sBAAiB,GAAG,CAAC,EAAU,EAAE,YAAoB,EAAE,IAAqC,EAAE,KAAsC,EAAE,KAAgD,EAAE,SAAgC,EAAe,EAAE,CAAC,CAAC;QACvP,EAAE,EAAE,YAAY;QAChB,IAAI,EAAE,KAAK;QACX,KAAK;QACL,GAAG,SAAS;KACb,CAAC,CAAC;IAEH,+BAA+B;IACxB,MAAM,CAAC,cAAc,CAAC,IAAuB;QAClD,OAAQ,IAAqB,CAAC,OAAO,KAAK,SAAS,CAAC;IACtD,CAAC;IAED,8BAA8B;IACvB,MAAM,CAAC,aAAa,CAAC,IAAuB;QACjD,OAAQ,IAAoB,CAAC,KAAK,KAAK,SAAS,CAAC;IACnD,CAAC;IAED,yCAAyC;IAClC,MAAM,CAAC,kBAAkB,CAAC,IAAuB;QACtD,OAAO,CAAC,CAAE,IAA+B,CAAC,QAAQ,CAAC;IACrD,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Toolbar\n */\n\nimport { BadgeType } from \"../items/BadgeType\";\nimport { ConditionalBooleanValue } from \"../items/ConditionalBooleanValue\";\nimport { ConditionalStringValue } from \"../items/ConditionalStringValue\";\nimport { ProvidedItem } from \"../items/ProvidedItem\";\n\n/** Used to specify the usage of the toolbar which determine the toolbar position.\n * @deprecated in 3.6. Use [ToolbarUsage]($appui-react) instead.\n * @public\n */\nexport enum ToolbarUsage {\n /** Contains tools to Create Update and Delete content - in ninezone this is in top left of content area. */\n ContentManipulation = 0,\n /** Manipulate view/camera - in ninezone this is in top right of content area. */\n ViewNavigation = 1,\n}\n\n/** Used to specify the orientation of the toolbar.\n * @deprecated in 3.6. Use [ToolbarOrientation]($appui-react) instead.\n * @public\n */\nexport enum ToolbarOrientation {\n /** Horizontal toolbar. */\n Horizontal = 0,\n /** Vertical toolbar. */\n Vertical = 1,\n}\n\n/** Describes the data needed to insert a UI items into an existing set of UI items.\n * @public\n */\nexport interface ToolbarItem extends ProvidedItem { // eslint-disable-line @typescript-eslint/no-deprecated\n /** can be used by application to store miscellaneous data. */\n readonly applicationData?: any;\n /** Describes badge. Renders no badge if not specified. */\n readonly badgeType?: BadgeType;\n /** Optional description */\n readonly description?: string | ConditionalStringValue;\n /** Require uniqueId for the item. To ensure uniqueness it is suggested that a namespace prefix of the extension name be used. */\n readonly id: string;\n /** optional data to used by item implementor. */\n readonly internalData?: Map<string, any>;\n /** Defines if the item is active (shown with an active stripe/bar). */\n readonly isActive?: boolean;\n /** Describes if the item is visible or hidden. The default is for the item to be visible. */\n readonly isHidden?: boolean | ConditionalBooleanValue;\n /** Describes if the item is enabled or disabled. The default is for the item to be enabled. */\n readonly isDisabled?: boolean | ConditionalBooleanValue;\n /** Describes if the item should appear pressed (used for displaying toggle state). This property is NOT used by Toolbars\n * constructed using the `ToolbarWithOverflow` component, which are used in AppUi 2.0 and later. For these later toolbars\n * the icon is usually changed to denote the state of a toggle.\n */\n readonly isPressed?: boolean;\n /** Specifies the item's grouping value. Items are sorted by group and then item priority. When\n * group priority changes a separator is inserted. It is recommended using values 10 through 100, incrementing by 10. This\n * allows extensions enough gaps to insert their own groups. If the value is not specified a groupPriority of 0 is used.\n */\n readonly groupPriority?: number;\n /** Priority within a toolbar or group. */\n readonly itemPriority: number;\n /** Optional parent tool group to add tool. */\n readonly parentToolGroupId?: string;\n}\n\n/** Describes the data needed to insert an action button into a toolbar.\n * @public\n */\nexport interface ActionButton extends ToolbarItem {\n /** Name of icon WebFont entry or if specifying an imported SVG symbol use \"webSvg:\" prefix to imported symbol Id. */\n readonly icon: string | ConditionalStringValue;\n /** label, shown as tool tip on a button or an item label in a group. */\n readonly label: string | ConditionalStringValue;\n /** function to run when the button is pressed. */\n readonly execute: () => void;\n}\n\n/** Describes the data needed to insert a group button into a toolbar.\n * @public\n */\nexport interface GroupButton extends ToolbarItem {\n /** Name of icon WebFont entry or if specifying an imported SVG symbol use \"webSvg:\" prefix to imported symbol Id. */\n readonly icon: string | ConditionalStringValue;\n /** label, shown as tool tip on group button or a group button label in a group panel. */\n readonly label: string | ConditionalStringValue;\n /** label shown as the title in at top of group panel. */\n readonly panelLabel?: string | ConditionalStringValue;\n /** children of the group */\n readonly items: ReadonlyArray<ActionButton | GroupButton>;\n}\n\n/** Describes the data needed to insert a custom button into a toolbar.\n * @public\n */\nexport interface CustomButtonDefinition extends ToolbarItem {\n /** Name of icon WebFont entry or if specifying an imported SVG symbol use \"webSvg:\" prefix to imported symbol Id. */\n readonly icon?: string | ConditionalStringValue;\n /** label, shown as tool tip on group button or a group button label in a group panel. */\n readonly label?: string | ConditionalStringValue;\n /** parameter that marks data as being a custom definition. */\n readonly isCustom: true;\n}\n\n/** Any Button Type that can be inserted into a toolbar.\n * @public\n */\nexport type CommonToolbarItem = ActionButton | GroupButton | CustomButtonDefinition;\n\n/** Type for Toolbar Item Id\n * @deprecated in 3.6. Please use `ToolbarItem[\"id\"]` from @itwin/appui-react.\n * @public\n */\nexport type ToolbarItemId = CommonToolbarItem[\"id\"];\n\n/** Helper class to create Abstract StatusBar Item definitions.\n * @public\n */\nexport class ToolbarItemUtilities {\n /** Creates an Action Button */\n public static createActionButton = (id: string, itemPriority: number, icon: string | ConditionalStringValue, label: string | ConditionalStringValue, execute: () => void, overrides?: Partial<ActionButton>): ActionButton => ({\n id, itemPriority,\n icon, label,\n execute,\n ...overrides,\n });\n\n /** Creates a Group button. */\n public static createGroupButton = (id: string, itemPriority: number, icon: string | ConditionalStringValue, label: string | ConditionalStringValue, items: ReadonlyArray<ActionButton | GroupButton>, overrides?: Partial<GroupButton>): GroupButton => ({\n id, itemPriority,\n icon, label,\n items,\n ...overrides,\n });\n\n /** ActionButton type guard. */\n public static isActionButton(item: CommonToolbarItem): item is ActionButton {\n return (item as ActionButton).execute !== undefined;\n }\n\n /** GroupButton type guard. */\n public static isGroupButton(item: CommonToolbarItem): item is GroupButton {\n return (item as GroupButton).items !== undefined;\n }\n\n /** CustomButtonDefinition type guard. */\n public static isCustomDefinition(item: CommonToolbarItem): item is CustomButtonDefinition {\n return !!(item as CustomButtonDefinition).isCustom;\n }\n}\n"]}
1
+ {"version":3,"file":"ToolbarItem.js","sourceRoot":"","sources":["../../../../src/appui-abstract/toolbars/ToolbarItem.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAuFH;;GAEG;AACH,MAAM,OAAO,oBAAoB;IAC/B,+BAA+B;aACjB,uBAAkB,GAAG,CAAC,EAAU,EAAE,YAAoB,EAAE,IAAqC,EAAE,KAAsC,EAAE,OAAmB,EAAE,SAAiC,EAAgB,EAAE,CAAC,CAAC;QAC7N,EAAE,EAAE,YAAY;QAChB,IAAI,EAAE,KAAK;QACX,OAAO;QACP,GAAG,SAAS;KACb,CAAC,CAAC;IAEH,8BAA8B;aAChB,sBAAiB,GAAG,CAAC,EAAU,EAAE,YAAoB,EAAE,IAAqC,EAAE,KAAsC,EAAE,KAAgD,EAAE,SAAgC,EAAe,EAAE,CAAC,CAAC;QACvP,EAAE,EAAE,YAAY;QAChB,IAAI,EAAE,KAAK;QACX,KAAK;QACL,GAAG,SAAS;KACb,CAAC,CAAC;IAEH,+BAA+B;IACxB,MAAM,CAAC,cAAc,CAAC,IAAuB;QAClD,OAAQ,IAAqB,CAAC,OAAO,KAAK,SAAS,CAAC;IACtD,CAAC;IAED,8BAA8B;IACvB,MAAM,CAAC,aAAa,CAAC,IAAuB;QACjD,OAAQ,IAAoB,CAAC,KAAK,KAAK,SAAS,CAAC;IACnD,CAAC;IAED,yCAAyC;IAClC,MAAM,CAAC,kBAAkB,CAAC,IAAuB;QACtD,OAAO,CAAC,CAAE,IAA+B,CAAC,QAAQ,CAAC;IACrD,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Toolbar\n */\n\nimport { BadgeType } from \"../items/BadgeType\";\nimport { ConditionalBooleanValue } from \"../items/ConditionalBooleanValue\";\nimport { ConditionalStringValue } from \"../items/ConditionalStringValue\";\n\n/** Describes the data needed to insert a UI items into an existing set of UI items.\n * @public\n */\nexport interface ToolbarItem {\n /** can be used by application to store miscellaneous data. */\n readonly applicationData?: any;\n /** id of UiItemsProvider */\n readonly providerId?: string;\n /** Describes badge. Renders no badge if not specified. */\n readonly badgeType?: BadgeType;\n /** Optional description */\n readonly description?: string | ConditionalStringValue;\n /** Require uniqueId for the item. To ensure uniqueness it is suggested that a namespace prefix of the extension name be used. */\n readonly id: string;\n /** optional data to used by item implementor. */\n readonly internalData?: Map<string, any>;\n /** Defines if the item is active (shown with an active stripe/bar). */\n readonly isActive?: boolean;\n /** Describes if the item is visible or hidden. The default is for the item to be visible. */\n readonly isHidden?: boolean | ConditionalBooleanValue;\n /** Describes if the item is enabled or disabled. The default is for the item to be enabled. */\n readonly isDisabled?: boolean | ConditionalBooleanValue;\n /** Describes if the item should appear pressed (used for displaying toggle state). This property is NOT used by Toolbars\n * constructed using the `ToolbarWithOverflow` component, which are used in AppUi 2.0 and later. For these later toolbars\n * the icon is usually changed to denote the state of a toggle.\n */\n readonly isPressed?: boolean;\n /** Specifies the item's grouping value. Items are sorted by group and then item priority. When\n * group priority changes a separator is inserted. It is recommended using values 10 through 100, incrementing by 10. This\n * allows extensions enough gaps to insert their own groups. If the value is not specified a groupPriority of 0 is used.\n */\n readonly groupPriority?: number;\n /** Priority within a toolbar or group. */\n readonly itemPriority: number;\n /** Optional parent tool group to add tool. */\n readonly parentToolGroupId?: string;\n}\n\n/** Describes the data needed to insert an action button into a toolbar.\n * @public\n */\nexport interface ActionButton extends ToolbarItem {\n /** Name of icon WebFont entry or if specifying an imported SVG symbol use \"webSvg:\" prefix to imported symbol Id. */\n readonly icon: string | ConditionalStringValue;\n /** label, shown as tool tip on a button or an item label in a group. */\n readonly label: string | ConditionalStringValue;\n /** function to run when the button is pressed. */\n readonly execute: () => void;\n}\n\n/** Describes the data needed to insert a group button into a toolbar.\n * @public\n */\nexport interface GroupButton extends ToolbarItem {\n /** Name of icon WebFont entry or if specifying an imported SVG symbol use \"webSvg:\" prefix to imported symbol Id. */\n readonly icon: string | ConditionalStringValue;\n /** label, shown as tool tip on group button or a group button label in a group panel. */\n readonly label: string | ConditionalStringValue;\n /** label shown as the title in at top of group panel. */\n readonly panelLabel?: string | ConditionalStringValue;\n /** children of the group */\n readonly items: ReadonlyArray<ActionButton | GroupButton>;\n}\n\n/** Describes the data needed to insert a custom button into a toolbar.\n * @public\n */\nexport interface CustomButtonDefinition extends ToolbarItem {\n /** Name of icon WebFont entry or if specifying an imported SVG symbol use \"webSvg:\" prefix to imported symbol Id. */\n readonly icon?: string | ConditionalStringValue;\n /** label, shown as tool tip on group button or a group button label in a group panel. */\n readonly label?: string | ConditionalStringValue;\n /** parameter that marks data as being a custom definition. */\n readonly isCustom: true;\n}\n\n/** Any Button Type that can be inserted into a toolbar.\n * @public\n */\nexport type CommonToolbarItem = ActionButton | GroupButton | CustomButtonDefinition;\n\n/** Helper class to create Abstract StatusBar Item definitions.\n * @public\n */\nexport class ToolbarItemUtilities {\n /** Creates an Action Button */\n public static createActionButton = (id: string, itemPriority: number, icon: string | ConditionalStringValue, label: string | ConditionalStringValue, execute: () => void, overrides?: Partial<ActionButton>): ActionButton => ({\n id, itemPriority,\n icon, label,\n execute,\n ...overrides,\n });\n\n /** Creates a Group button. */\n public static createGroupButton = (id: string, itemPriority: number, icon: string | ConditionalStringValue, label: string | ConditionalStringValue, items: ReadonlyArray<ActionButton | GroupButton>, overrides?: Partial<GroupButton>): GroupButton => ({\n id, itemPriority,\n icon, label,\n items,\n ...overrides,\n });\n\n /** ActionButton type guard. */\n public static isActionButton(item: CommonToolbarItem): item is ActionButton {\n return (item as ActionButton).execute !== undefined;\n }\n\n /** GroupButton type guard. */\n public static isGroupButton(item: CommonToolbarItem): item is GroupButton {\n return (item as GroupButton).items !== undefined;\n }\n\n /** CustomButtonDefinition type guard. */\n public static isCustomDefinition(item: CommonToolbarItem): item is CustomButtonDefinition {\n return !!(item as CustomButtonDefinition).isCustom;\n }\n}"]}
@@ -8,20 +8,10 @@ export declare class IconSpecUtilities {
8
8
  /** Prefix for an SVG IconSpec loaded with the Sprite loader */
9
9
  static readonly SVG_PREFIX = "svg:";
10
10
  static readonly WEB_COMPONENT_PREFIX = "webSvg:";
11
- /** Create an IconSpec for an SVG loaded into web component with sprite loader
12
- * This method is deprecated -- use createWebComponentIconSpec()
13
- * @public @deprecated in 3.2. Please avoid using the Sprite loader and use IconSpecUtilities.createWebComponentIconSpec() instead.
14
- */
15
- static createSvgIconSpec(svgSrc: string): string;
16
11
  /** Create an IconSpec for an SVG loaded into web component with svg-loader
17
12
  * @public @deprecated in 4.3. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
18
13
  */
19
14
  static createWebComponentIconSpec(srcString: string): string;
20
- /** Get the SVG Source from an sprite IconSpec
21
- * This method is deprecated -- use getWebComponentSource()
22
- * @public @deprecated in 3.2. avoid using the Sprite loader and use IconSpecUtilities.getWebComponentSource() instead.
23
- */
24
- static getSvgSource(iconSpec: string): string | undefined;
25
15
  /** Get the SVG Source from an svg-loader IconSpec
26
16
  * @public @deprecated in 4.3. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
27
17
  */
@@ -1 +1 @@
1
- {"version":3,"file":"IconSpecUtilities.d.ts","sourceRoot":"","sources":["../../../../src/appui-abstract/utils/IconSpecUtilities.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH;;GAEG;AACH,qBAAa,iBAAiB;IAC5B,+DAA+D;IAC/D,gBAAuB,UAAU,UAAU;IAC3C,gBAAuB,oBAAoB,aAAa;IAExD;;;MAGE;WACY,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM;IAGvD;;MAEE;WACY,0BAA0B,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;IAInE;;;MAGE;WACY,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAOhE;;MAEE;WAEY,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;CAQ1E"}
1
+ {"version":3,"file":"IconSpecUtilities.d.ts","sourceRoot":"","sources":["../../../../src/appui-abstract/utils/IconSpecUtilities.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH;;GAEG;AACH,qBAAa,iBAAiB;IAC5B,+DAA+D;IAC/D,gBAAuB,UAAU,UAAU;IAC3C,gBAAuB,oBAAoB,aAAa;IAExD;;MAEE;WACY,0BAA0B,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;IAInE;;MAEE;WAEY,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;CAQ1E"}
@@ -13,29 +13,12 @@ export class IconSpecUtilities {
13
13
  /** Prefix for an SVG IconSpec loaded with the Sprite loader */
14
14
  static { this.SVG_PREFIX = "svg:"; }
15
15
  static { this.WEB_COMPONENT_PREFIX = "webSvg:"; }
16
- /** Create an IconSpec for an SVG loaded into web component with sprite loader
17
- * This method is deprecated -- use createWebComponentIconSpec()
18
- * @public @deprecated in 3.2. Please avoid using the Sprite loader and use IconSpecUtilities.createWebComponentIconSpec() instead.
19
- */
20
- static createSvgIconSpec(svgSrc) {
21
- return `${IconSpecUtilities.SVG_PREFIX}${svgSrc}`;
22
- }
23
16
  /** Create an IconSpec for an SVG loaded into web component with svg-loader
24
17
  * @public @deprecated in 4.3. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
25
18
  */
26
19
  static createWebComponentIconSpec(srcString) {
27
20
  return `${IconSpecUtilities.WEB_COMPONENT_PREFIX}${srcString}`;
28
21
  }
29
- /** Get the SVG Source from an sprite IconSpec
30
- * This method is deprecated -- use getWebComponentSource()
31
- * @public @deprecated in 3.2. avoid using the Sprite loader and use IconSpecUtilities.getWebComponentSource() instead.
32
- */
33
- static getSvgSource(iconSpec) {
34
- if (iconSpec.startsWith(IconSpecUtilities.SVG_PREFIX) && iconSpec.length > 4) {
35
- return iconSpec.slice(4);
36
- }
37
- return undefined;
38
- }
39
22
  /** Get the SVG Source from an svg-loader IconSpec
40
23
  * @public @deprecated in 4.3. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
41
24
  */