@itwin/appui-abstract 4.0.0-dev.2 → 4.0.0-dev.4

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 (339) hide show
  1. package/CHANGELOG.md +90 -1
  2. package/LICENSE.md +1 -1
  3. package/lib/cjs/appui-abstract/BaseUiItemsProvider.d.ts +30 -30
  4. package/lib/cjs/appui-abstract/BaseUiItemsProvider.d.ts.map +1 -1
  5. package/lib/cjs/appui-abstract/BaseUiItemsProvider.js +79 -78
  6. package/lib/cjs/appui-abstract/BaseUiItemsProvider.js.map +1 -1
  7. package/lib/cjs/appui-abstract/UiAdmin.d.ts +221 -221
  8. package/lib/cjs/appui-abstract/UiAdmin.js +224 -224
  9. package/lib/cjs/appui-abstract/UiAdmin.js.map +1 -1
  10. package/lib/cjs/appui-abstract/UiItemsManager.d.ts +113 -110
  11. package/lib/cjs/appui-abstract/UiItemsManager.d.ts.map +1 -1
  12. package/lib/cjs/appui-abstract/UiItemsManager.js +199 -198
  13. package/lib/cjs/appui-abstract/UiItemsManager.js.map +1 -1
  14. package/lib/cjs/appui-abstract/UiItemsProvider.d.ts +29 -27
  15. package/lib/cjs/appui-abstract/UiItemsProvider.d.ts.map +1 -1
  16. package/lib/cjs/appui-abstract/UiItemsProvider.js +9 -9
  17. package/lib/cjs/appui-abstract/UiItemsProvider.js.map +1 -1
  18. package/lib/cjs/appui-abstract/backstage/BackstageItem.d.ts +91 -83
  19. package/lib/cjs/appui-abstract/backstage/BackstageItem.d.ts.map +1 -1
  20. package/lib/cjs/appui-abstract/backstage/BackstageItem.js +70 -64
  21. package/lib/cjs/appui-abstract/backstage/BackstageItem.js.map +1 -1
  22. package/lib/cjs/appui-abstract/backstage/BackstageItemsManager.d.ts +38 -38
  23. package/lib/cjs/appui-abstract/backstage/BackstageItemsManager.d.ts.map +1 -1
  24. package/lib/cjs/appui-abstract/backstage/BackstageItemsManager.js +133 -133
  25. package/lib/cjs/appui-abstract/backstage/BackstageItemsManager.js.map +1 -1
  26. package/lib/cjs/appui-abstract/common/KeyboardKey.d.ts +51 -51
  27. package/lib/cjs/appui-abstract/common/KeyboardKey.js +63 -63
  28. package/lib/cjs/appui-abstract/common/KeyboardKey.js.map +1 -1
  29. package/lib/cjs/appui-abstract/content/ContentLayoutProps.d.ts +62 -62
  30. package/lib/cjs/appui-abstract/content/ContentLayoutProps.js +9 -9
  31. package/lib/cjs/appui-abstract/content/ContentLayoutProps.js.map +1 -1
  32. package/lib/cjs/appui-abstract/content/StandardContentLayouts.d.ts +19 -19
  33. package/lib/cjs/appui-abstract/content/StandardContentLayouts.js +108 -108
  34. package/lib/cjs/appui-abstract/content/StandardContentLayouts.js.map +1 -1
  35. package/lib/cjs/appui-abstract/dialogs/DialogItem.d.ts +76 -76
  36. package/lib/cjs/appui-abstract/dialogs/DialogItem.js +67 -67
  37. package/lib/cjs/appui-abstract/dialogs/DialogItem.js.map +1 -1
  38. package/lib/cjs/appui-abstract/dialogs/UiDataProvider.d.ts +55 -55
  39. package/lib/cjs/appui-abstract/dialogs/UiDataProvider.js +66 -66
  40. package/lib/cjs/appui-abstract/dialogs/UiDataProvider.js.map +1 -1
  41. package/lib/cjs/appui-abstract/dialogs/UiLayoutDataProvider.d.ts +97 -97
  42. package/lib/cjs/appui-abstract/dialogs/UiLayoutDataProvider.js +175 -175
  43. package/lib/cjs/appui-abstract/dialogs/UiLayoutDataProvider.js.map +1 -1
  44. package/lib/cjs/appui-abstract/items/AbstractItemProps.d.ts +53 -53
  45. package/lib/cjs/appui-abstract/items/AbstractItemProps.js +9 -9
  46. package/lib/cjs/appui-abstract/items/AbstractItemProps.js.map +1 -1
  47. package/lib/cjs/appui-abstract/items/AbstractMenuItemProps.d.ts +20 -20
  48. package/lib/cjs/appui-abstract/items/AbstractMenuItemProps.js +9 -9
  49. package/lib/cjs/appui-abstract/items/AbstractMenuItemProps.js.map +1 -1
  50. package/lib/cjs/appui-abstract/items/AbstractToolbarProps.d.ts +13 -13
  51. package/lib/cjs/appui-abstract/items/AbstractToolbarProps.js +9 -9
  52. package/lib/cjs/appui-abstract/items/AbstractToolbarProps.js.map +1 -1
  53. package/lib/cjs/appui-abstract/items/BadgeType.d.ts +14 -14
  54. package/lib/cjs/appui-abstract/items/BadgeType.js +22 -22
  55. package/lib/cjs/appui-abstract/items/BadgeType.js.map +1 -1
  56. package/lib/cjs/appui-abstract/items/ConditionalBooleanValue.d.ts +27 -27
  57. package/lib/cjs/appui-abstract/items/ConditionalBooleanValue.js +60 -60
  58. package/lib/cjs/appui-abstract/items/ConditionalBooleanValue.js.map +1 -1
  59. package/lib/cjs/appui-abstract/items/ConditionalStringValue.d.ts +29 -29
  60. package/lib/cjs/appui-abstract/items/ConditionalStringValue.js +62 -62
  61. package/lib/cjs/appui-abstract/items/ConditionalStringValue.js.map +1 -1
  62. package/lib/cjs/appui-abstract/items/ProvidedItem.d.ts +11 -10
  63. package/lib/cjs/appui-abstract/items/ProvidedItem.d.ts.map +1 -1
  64. package/lib/cjs/appui-abstract/items/ProvidedItem.js +9 -9
  65. package/lib/cjs/appui-abstract/items/ProvidedItem.js.map +1 -1
  66. package/lib/cjs/appui-abstract/items/RelativePosition.d.ts +18 -18
  67. package/lib/cjs/appui-abstract/items/RelativePosition.js +26 -26
  68. package/lib/cjs/appui-abstract/items/RelativePosition.js.map +1 -1
  69. package/lib/cjs/appui-abstract/items/StageUsage.d.ts +16 -15
  70. package/lib/cjs/appui-abstract/items/StageUsage.d.ts.map +1 -1
  71. package/lib/cjs/appui-abstract/items/StageUsage.js +24 -23
  72. package/lib/cjs/appui-abstract/items/StageUsage.js.map +1 -1
  73. package/lib/cjs/appui-abstract/notification/MessagePresenter.d.ts +42 -42
  74. package/lib/cjs/appui-abstract/notification/MessagePresenter.js +24 -24
  75. package/lib/cjs/appui-abstract/notification/MessagePresenter.js.map +1 -1
  76. package/lib/cjs/appui-abstract/notification/MessageSeverity.d.ts +15 -15
  77. package/lib/cjs/appui-abstract/notification/MessageSeverity.js +23 -23
  78. package/lib/cjs/appui-abstract/notification/MessageSeverity.js.map +1 -1
  79. package/lib/cjs/appui-abstract/properties/Description.d.ts +127 -127
  80. package/lib/cjs/appui-abstract/properties/Description.js +196 -196
  81. package/lib/cjs/appui-abstract/properties/Description.js.map +1 -1
  82. package/lib/cjs/appui-abstract/properties/EditorParams.d.ts +260 -260
  83. package/lib/cjs/appui-abstract/properties/EditorParams.js +106 -106
  84. package/lib/cjs/appui-abstract/properties/EditorParams.js.map +1 -1
  85. package/lib/cjs/appui-abstract/properties/PrimitiveTypes.d.ts +60 -60
  86. package/lib/cjs/appui-abstract/properties/PrimitiveTypes.js +9 -9
  87. package/lib/cjs/appui-abstract/properties/PrimitiveTypes.js.map +1 -1
  88. package/lib/cjs/appui-abstract/properties/Record.d.ts +57 -57
  89. package/lib/cjs/appui-abstract/properties/Record.js +78 -78
  90. package/lib/cjs/appui-abstract/properties/Record.js.map +1 -1
  91. package/lib/cjs/appui-abstract/properties/StandardEditorNames.d.ts +22 -22
  92. package/lib/cjs/appui-abstract/properties/StandardEditorNames.js +30 -30
  93. package/lib/cjs/appui-abstract/properties/StandardEditorNames.js.map +1 -1
  94. package/lib/cjs/appui-abstract/properties/StandardTypeNames.d.ts +30 -30
  95. package/lib/cjs/appui-abstract/properties/StandardTypeNames.js +39 -39
  96. package/lib/cjs/appui-abstract/properties/StandardTypeNames.js.map +1 -1
  97. package/lib/cjs/appui-abstract/properties/Value.d.ts +49 -49
  98. package/lib/cjs/appui-abstract/properties/Value.js +20 -20
  99. package/lib/cjs/appui-abstract/properties/Value.js.map +1 -1
  100. package/lib/cjs/appui-abstract/quantity/BaseQuantityDescription.d.ts +22 -22
  101. package/lib/cjs/appui-abstract/quantity/BaseQuantityDescription.js +48 -48
  102. package/lib/cjs/appui-abstract/quantity/BaseQuantityDescription.js.map +1 -1
  103. package/lib/cjs/appui-abstract/statusbar/StatusBarItem.d.ts +128 -116
  104. package/lib/cjs/appui-abstract/statusbar/StatusBarItem.d.ts.map +1 -1
  105. package/lib/cjs/appui-abstract/statusbar/StatusBarItem.js +87 -81
  106. package/lib/cjs/appui-abstract/statusbar/StatusBarItem.js.map +1 -1
  107. package/lib/cjs/appui-abstract/statusbar/StatusBarItemsManager.d.ts +39 -39
  108. package/lib/cjs/appui-abstract/statusbar/StatusBarItemsManager.d.ts.map +1 -1
  109. package/lib/cjs/appui-abstract/statusbar/StatusBarItemsManager.js +135 -135
  110. package/lib/cjs/appui-abstract/statusbar/StatusBarItemsManager.js.map +1 -1
  111. package/lib/cjs/appui-abstract/toolbars/ToolbarItem.d.ts +121 -118
  112. package/lib/cjs/appui-abstract/toolbars/ToolbarItem.d.ts.map +1 -1
  113. package/lib/cjs/appui-abstract/toolbars/ToolbarItem.js +64 -62
  114. package/lib/cjs/appui-abstract/toolbars/ToolbarItem.js.map +1 -1
  115. package/lib/cjs/appui-abstract/toolbars/ToolbarItemsManager.d.ts +45 -45
  116. package/lib/cjs/appui-abstract/toolbars/ToolbarItemsManager.d.ts.map +1 -1
  117. package/lib/cjs/appui-abstract/toolbars/ToolbarItemsManager.js +235 -235
  118. package/lib/cjs/appui-abstract/toolbars/ToolbarItemsManager.js.map +1 -1
  119. package/lib/cjs/appui-abstract/utils/IconSpecUtilities.d.ts +29 -29
  120. package/lib/cjs/appui-abstract/utils/IconSpecUtilities.js +51 -51
  121. package/lib/cjs/appui-abstract/utils/IconSpecUtilities.js.map +1 -1
  122. package/lib/cjs/appui-abstract/utils/PointProps.d.ts +10 -10
  123. package/lib/cjs/appui-abstract/utils/PointProps.js +9 -9
  124. package/lib/cjs/appui-abstract/utils/PointProps.js.map +1 -1
  125. package/lib/cjs/appui-abstract/utils/UiError.d.ts +12 -12
  126. package/lib/cjs/appui-abstract/utils/UiError.js +22 -22
  127. package/lib/cjs/appui-abstract/utils/UiError.js.map +1 -1
  128. package/lib/cjs/appui-abstract/utils/UiEvent.d.ts +9 -9
  129. package/lib/cjs/appui-abstract/utils/UiEvent.js +17 -17
  130. package/lib/cjs/appui-abstract/utils/UiEvent.js.map +1 -1
  131. package/lib/cjs/appui-abstract/utils/UiEventDispatcher.d.ts +46 -46
  132. package/lib/cjs/appui-abstract/utils/UiEventDispatcher.js +131 -131
  133. package/lib/cjs/appui-abstract/utils/UiEventDispatcher.js.map +1 -1
  134. package/lib/cjs/appui-abstract/utils/callbacks.d.ts +20 -20
  135. package/lib/cjs/appui-abstract/utils/callbacks.js +9 -9
  136. package/lib/cjs/appui-abstract/utils/callbacks.js.map +1 -1
  137. package/lib/cjs/appui-abstract/utils/filter/charCode.d.ts +416 -416
  138. package/lib/cjs/appui-abstract/utils/filter/charCode.js +6 -6
  139. package/lib/cjs/appui-abstract/utils/filter/charCode.js.map +1 -1
  140. package/lib/cjs/appui-abstract/utils/filter/filters.d.ts +98 -98
  141. package/lib/cjs/appui-abstract/utils/filter/filters.js +709 -709
  142. package/lib/cjs/appui-abstract/utils/filter/filters.js.map +1 -1
  143. package/lib/cjs/appui-abstract/utils/filter/map.d.ts +59 -59
  144. package/lib/cjs/appui-abstract/utils/filter/map.js +404 -404
  145. package/lib/cjs/appui-abstract/utils/filter/map.js.map +1 -1
  146. package/lib/cjs/appui-abstract/utils/filter/strings.d.ts +20 -20
  147. package/lib/cjs/appui-abstract/utils/filter/strings.js +78 -78
  148. package/lib/cjs/appui-abstract/utils/filter/strings.js.map +1 -1
  149. package/lib/cjs/appui-abstract/utils/isLetter.d.ts +9 -9
  150. package/lib/cjs/appui-abstract/utils/isLetter.js +19 -19
  151. package/lib/cjs/appui-abstract/utils/isLetter.js.map +1 -1
  152. package/lib/cjs/appui-abstract/utils/misc.d.ts +11 -11
  153. package/lib/cjs/appui-abstract/utils/misc.js +36 -36
  154. package/lib/cjs/appui-abstract/utils/misc.js.map +1 -1
  155. package/lib/cjs/appui-abstract/widget/AbstractWidgetProps.d.ts +86 -68
  156. package/lib/cjs/appui-abstract/widget/AbstractWidgetProps.d.ts.map +1 -1
  157. package/lib/cjs/appui-abstract/widget/AbstractWidgetProps.js +9 -9
  158. package/lib/cjs/appui-abstract/widget/AbstractWidgetProps.js.map +1 -1
  159. package/lib/cjs/appui-abstract/widget/StagePanel.d.ts +36 -19
  160. package/lib/cjs/appui-abstract/widget/StagePanel.d.ts.map +1 -1
  161. package/lib/cjs/appui-abstract/widget/StagePanel.js +46 -28
  162. package/lib/cjs/appui-abstract/widget/StagePanel.js.map +1 -1
  163. package/lib/cjs/appui-abstract/widget/WidgetState.d.ts +19 -18
  164. package/lib/cjs/appui-abstract/widget/WidgetState.d.ts.map +1 -1
  165. package/lib/cjs/appui-abstract/widget/WidgetState.js +27 -26
  166. package/lib/cjs/appui-abstract/widget/WidgetState.js.map +1 -1
  167. package/lib/cjs/appui-abstract.d.ts +103 -105
  168. package/lib/cjs/appui-abstract.d.ts.map +1 -1
  169. package/lib/cjs/appui-abstract.js +119 -121
  170. package/lib/cjs/appui-abstract.js.map +1 -1
  171. package/lib/esm/appui-abstract/BaseUiItemsProvider.d.ts +30 -30
  172. package/lib/esm/appui-abstract/BaseUiItemsProvider.d.ts.map +1 -1
  173. package/lib/esm/appui-abstract/BaseUiItemsProvider.js +75 -74
  174. package/lib/esm/appui-abstract/BaseUiItemsProvider.js.map +1 -1
  175. package/lib/esm/appui-abstract/UiAdmin.d.ts +221 -221
  176. package/lib/esm/appui-abstract/UiAdmin.js +219 -219
  177. package/lib/esm/appui-abstract/UiAdmin.js.map +1 -1
  178. package/lib/esm/appui-abstract/UiItemsManager.d.ts +113 -110
  179. package/lib/esm/appui-abstract/UiItemsManager.d.ts.map +1 -1
  180. package/lib/esm/appui-abstract/UiItemsManager.js +195 -194
  181. package/lib/esm/appui-abstract/UiItemsManager.js.map +1 -1
  182. package/lib/esm/appui-abstract/UiItemsProvider.d.ts +29 -27
  183. package/lib/esm/appui-abstract/UiItemsProvider.d.ts.map +1 -1
  184. package/lib/esm/appui-abstract/UiItemsProvider.js +8 -8
  185. package/lib/esm/appui-abstract/UiItemsProvider.js.map +1 -1
  186. package/lib/esm/appui-abstract/backstage/BackstageItem.d.ts +91 -83
  187. package/lib/esm/appui-abstract/backstage/BackstageItem.d.ts.map +1 -1
  188. package/lib/esm/appui-abstract/backstage/BackstageItem.js +64 -58
  189. package/lib/esm/appui-abstract/backstage/BackstageItem.js.map +1 -1
  190. package/lib/esm/appui-abstract/backstage/BackstageItemsManager.d.ts +38 -38
  191. package/lib/esm/appui-abstract/backstage/BackstageItemsManager.d.ts.map +1 -1
  192. package/lib/esm/appui-abstract/backstage/BackstageItemsManager.js +129 -129
  193. package/lib/esm/appui-abstract/backstage/BackstageItemsManager.js.map +1 -1
  194. package/lib/esm/appui-abstract/common/KeyboardKey.d.ts +51 -51
  195. package/lib/esm/appui-abstract/common/KeyboardKey.js +59 -59
  196. package/lib/esm/appui-abstract/common/KeyboardKey.js.map +1 -1
  197. package/lib/esm/appui-abstract/content/ContentLayoutProps.d.ts +62 -62
  198. package/lib/esm/appui-abstract/content/ContentLayoutProps.js +8 -8
  199. package/lib/esm/appui-abstract/content/ContentLayoutProps.js.map +1 -1
  200. package/lib/esm/appui-abstract/content/StandardContentLayouts.d.ts +19 -19
  201. package/lib/esm/appui-abstract/content/StandardContentLayouts.js +104 -104
  202. package/lib/esm/appui-abstract/content/StandardContentLayouts.js.map +1 -1
  203. package/lib/esm/appui-abstract/dialogs/DialogItem.d.ts +76 -76
  204. package/lib/esm/appui-abstract/dialogs/DialogItem.js +63 -63
  205. package/lib/esm/appui-abstract/dialogs/DialogItem.js.map +1 -1
  206. package/lib/esm/appui-abstract/dialogs/UiDataProvider.d.ts +55 -55
  207. package/lib/esm/appui-abstract/dialogs/UiDataProvider.js +61 -61
  208. package/lib/esm/appui-abstract/dialogs/UiDataProvider.js.map +1 -1
  209. package/lib/esm/appui-abstract/dialogs/UiLayoutDataProvider.d.ts +97 -97
  210. package/lib/esm/appui-abstract/dialogs/UiLayoutDataProvider.js +170 -170
  211. package/lib/esm/appui-abstract/dialogs/UiLayoutDataProvider.js.map +1 -1
  212. package/lib/esm/appui-abstract/items/AbstractItemProps.d.ts +53 -53
  213. package/lib/esm/appui-abstract/items/AbstractItemProps.js +8 -8
  214. package/lib/esm/appui-abstract/items/AbstractItemProps.js.map +1 -1
  215. package/lib/esm/appui-abstract/items/AbstractMenuItemProps.d.ts +20 -20
  216. package/lib/esm/appui-abstract/items/AbstractMenuItemProps.js +8 -8
  217. package/lib/esm/appui-abstract/items/AbstractMenuItemProps.js.map +1 -1
  218. package/lib/esm/appui-abstract/items/AbstractToolbarProps.d.ts +13 -13
  219. package/lib/esm/appui-abstract/items/AbstractToolbarProps.js +8 -8
  220. package/lib/esm/appui-abstract/items/AbstractToolbarProps.js.map +1 -1
  221. package/lib/esm/appui-abstract/items/BadgeType.d.ts +14 -14
  222. package/lib/esm/appui-abstract/items/BadgeType.js +19 -19
  223. package/lib/esm/appui-abstract/items/BadgeType.js.map +1 -1
  224. package/lib/esm/appui-abstract/items/ConditionalBooleanValue.d.ts +27 -27
  225. package/lib/esm/appui-abstract/items/ConditionalBooleanValue.js +56 -56
  226. package/lib/esm/appui-abstract/items/ConditionalBooleanValue.js.map +1 -1
  227. package/lib/esm/appui-abstract/items/ConditionalStringValue.d.ts +29 -29
  228. package/lib/esm/appui-abstract/items/ConditionalStringValue.js +58 -58
  229. package/lib/esm/appui-abstract/items/ConditionalStringValue.js.map +1 -1
  230. package/lib/esm/appui-abstract/items/ProvidedItem.d.ts +11 -10
  231. package/lib/esm/appui-abstract/items/ProvidedItem.d.ts.map +1 -1
  232. package/lib/esm/appui-abstract/items/ProvidedItem.js +8 -8
  233. package/lib/esm/appui-abstract/items/ProvidedItem.js.map +1 -1
  234. package/lib/esm/appui-abstract/items/RelativePosition.d.ts +18 -18
  235. package/lib/esm/appui-abstract/items/RelativePosition.js +23 -23
  236. package/lib/esm/appui-abstract/items/RelativePosition.js.map +1 -1
  237. package/lib/esm/appui-abstract/items/StageUsage.d.ts +16 -15
  238. package/lib/esm/appui-abstract/items/StageUsage.d.ts.map +1 -1
  239. package/lib/esm/appui-abstract/items/StageUsage.js +21 -20
  240. package/lib/esm/appui-abstract/items/StageUsage.js.map +1 -1
  241. package/lib/esm/appui-abstract/notification/MessagePresenter.d.ts +42 -42
  242. package/lib/esm/appui-abstract/notification/MessagePresenter.js +21 -21
  243. package/lib/esm/appui-abstract/notification/MessagePresenter.js.map +1 -1
  244. package/lib/esm/appui-abstract/notification/MessageSeverity.d.ts +15 -15
  245. package/lib/esm/appui-abstract/notification/MessageSeverity.js +20 -20
  246. package/lib/esm/appui-abstract/notification/MessageSeverity.js.map +1 -1
  247. package/lib/esm/appui-abstract/properties/Description.d.ts +127 -127
  248. package/lib/esm/appui-abstract/properties/Description.js +192 -192
  249. package/lib/esm/appui-abstract/properties/Description.js.map +1 -1
  250. package/lib/esm/appui-abstract/properties/EditorParams.d.ts +260 -260
  251. package/lib/esm/appui-abstract/properties/EditorParams.js +97 -97
  252. package/lib/esm/appui-abstract/properties/EditorParams.js.map +1 -1
  253. package/lib/esm/appui-abstract/properties/PrimitiveTypes.d.ts +60 -60
  254. package/lib/esm/appui-abstract/properties/PrimitiveTypes.js +8 -8
  255. package/lib/esm/appui-abstract/properties/PrimitiveTypes.js.map +1 -1
  256. package/lib/esm/appui-abstract/properties/Record.d.ts +57 -57
  257. package/lib/esm/appui-abstract/properties/Record.js +74 -74
  258. package/lib/esm/appui-abstract/properties/Record.js.map +1 -1
  259. package/lib/esm/appui-abstract/properties/StandardEditorNames.d.ts +22 -22
  260. package/lib/esm/appui-abstract/properties/StandardEditorNames.js +27 -27
  261. package/lib/esm/appui-abstract/properties/StandardEditorNames.js.map +1 -1
  262. package/lib/esm/appui-abstract/properties/StandardTypeNames.d.ts +30 -30
  263. package/lib/esm/appui-abstract/properties/StandardTypeNames.js +36 -36
  264. package/lib/esm/appui-abstract/properties/StandardTypeNames.js.map +1 -1
  265. package/lib/esm/appui-abstract/properties/Value.d.ts +49 -49
  266. package/lib/esm/appui-abstract/properties/Value.js +17 -17
  267. package/lib/esm/appui-abstract/properties/Value.js.map +1 -1
  268. package/lib/esm/appui-abstract/quantity/BaseQuantityDescription.d.ts +22 -22
  269. package/lib/esm/appui-abstract/quantity/BaseQuantityDescription.js +44 -44
  270. package/lib/esm/appui-abstract/quantity/BaseQuantityDescription.js.map +1 -1
  271. package/lib/esm/appui-abstract/statusbar/StatusBarItem.d.ts +128 -116
  272. package/lib/esm/appui-abstract/statusbar/StatusBarItem.d.ts.map +1 -1
  273. package/lib/esm/appui-abstract/statusbar/StatusBarItem.js +80 -74
  274. package/lib/esm/appui-abstract/statusbar/StatusBarItem.js.map +1 -1
  275. package/lib/esm/appui-abstract/statusbar/StatusBarItemsManager.d.ts +39 -39
  276. package/lib/esm/appui-abstract/statusbar/StatusBarItemsManager.d.ts.map +1 -1
  277. package/lib/esm/appui-abstract/statusbar/StatusBarItemsManager.js +131 -131
  278. package/lib/esm/appui-abstract/statusbar/StatusBarItemsManager.js.map +1 -1
  279. package/lib/esm/appui-abstract/toolbars/ToolbarItem.d.ts +121 -118
  280. package/lib/esm/appui-abstract/toolbars/ToolbarItem.d.ts.map +1 -1
  281. package/lib/esm/appui-abstract/toolbars/ToolbarItem.js +60 -58
  282. package/lib/esm/appui-abstract/toolbars/ToolbarItem.js.map +1 -1
  283. package/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.d.ts +45 -45
  284. package/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.d.ts.map +1 -1
  285. package/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.js +231 -231
  286. package/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.js.map +1 -1
  287. package/lib/esm/appui-abstract/utils/IconSpecUtilities.d.ts +29 -29
  288. package/lib/esm/appui-abstract/utils/IconSpecUtilities.js +47 -47
  289. package/lib/esm/appui-abstract/utils/IconSpecUtilities.js.map +1 -1
  290. package/lib/esm/appui-abstract/utils/PointProps.d.ts +10 -10
  291. package/lib/esm/appui-abstract/utils/PointProps.js +8 -8
  292. package/lib/esm/appui-abstract/utils/PointProps.js.map +1 -1
  293. package/lib/esm/appui-abstract/utils/UiError.d.ts +12 -12
  294. package/lib/esm/appui-abstract/utils/UiError.js +18 -18
  295. package/lib/esm/appui-abstract/utils/UiError.js.map +1 -1
  296. package/lib/esm/appui-abstract/utils/UiEvent.d.ts +9 -9
  297. package/lib/esm/appui-abstract/utils/UiEvent.js +13 -13
  298. package/lib/esm/appui-abstract/utils/UiEvent.js.map +1 -1
  299. package/lib/esm/appui-abstract/utils/UiEventDispatcher.d.ts +46 -46
  300. package/lib/esm/appui-abstract/utils/UiEventDispatcher.js +126 -126
  301. package/lib/esm/appui-abstract/utils/UiEventDispatcher.js.map +1 -1
  302. package/lib/esm/appui-abstract/utils/callbacks.d.ts +20 -20
  303. package/lib/esm/appui-abstract/utils/callbacks.js +8 -8
  304. package/lib/esm/appui-abstract/utils/callbacks.js.map +1 -1
  305. package/lib/esm/appui-abstract/utils/filter/charCode.d.ts +416 -416
  306. package/lib/esm/appui-abstract/utils/filter/charCode.js +5 -5
  307. package/lib/esm/appui-abstract/utils/filter/charCode.js.map +1 -1
  308. package/lib/esm/appui-abstract/utils/filter/filters.d.ts +98 -98
  309. package/lib/esm/appui-abstract/utils/filter/filters.js +694 -694
  310. package/lib/esm/appui-abstract/utils/filter/filters.js.map +1 -1
  311. package/lib/esm/appui-abstract/utils/filter/map.d.ts +59 -59
  312. package/lib/esm/appui-abstract/utils/filter/map.js +399 -399
  313. package/lib/esm/appui-abstract/utils/filter/map.js.map +1 -1
  314. package/lib/esm/appui-abstract/utils/filter/strings.d.ts +20 -20
  315. package/lib/esm/appui-abstract/utils/filter/strings.js +70 -70
  316. package/lib/esm/appui-abstract/utils/filter/strings.js.map +1 -1
  317. package/lib/esm/appui-abstract/utils/isLetter.d.ts +9 -9
  318. package/lib/esm/appui-abstract/utils/isLetter.js +15 -15
  319. package/lib/esm/appui-abstract/utils/isLetter.js.map +1 -1
  320. package/lib/esm/appui-abstract/utils/misc.d.ts +11 -11
  321. package/lib/esm/appui-abstract/utils/misc.js +31 -31
  322. package/lib/esm/appui-abstract/utils/misc.js.map +1 -1
  323. package/lib/esm/appui-abstract/widget/AbstractWidgetProps.d.ts +86 -68
  324. package/lib/esm/appui-abstract/widget/AbstractWidgetProps.d.ts.map +1 -1
  325. package/lib/esm/appui-abstract/widget/AbstractWidgetProps.js +8 -8
  326. package/lib/esm/appui-abstract/widget/AbstractWidgetProps.js.map +1 -1
  327. package/lib/esm/appui-abstract/widget/StagePanel.d.ts +36 -19
  328. package/lib/esm/appui-abstract/widget/StagePanel.d.ts.map +1 -1
  329. package/lib/esm/appui-abstract/widget/StagePanel.js +43 -25
  330. package/lib/esm/appui-abstract/widget/StagePanel.js.map +1 -1
  331. package/lib/esm/appui-abstract/widget/WidgetState.d.ts +19 -18
  332. package/lib/esm/appui-abstract/widget/WidgetState.d.ts.map +1 -1
  333. package/lib/esm/appui-abstract/widget/WidgetState.js +24 -23
  334. package/lib/esm/appui-abstract/widget/WidgetState.js.map +1 -1
  335. package/lib/esm/appui-abstract.d.ts +103 -105
  336. package/lib/esm/appui-abstract.d.ts.map +1 -1
  337. package/lib/esm/appui-abstract.js +107 -109
  338. package/lib/esm/appui-abstract.js.map +1 -1
  339. package/package.json +17 -7
@@ -1,69 +1,87 @@
1
- /** @packageDocumentation
2
- * @module Widget
3
- */
4
- import { ConditionalStringValue } from "../items/ConditionalStringValue";
5
- import { BadgeType } from "../items/BadgeType";
6
- import { ProvidedItem } from "../items/ProvidedItem";
7
- import { WidgetState } from "./WidgetState";
8
- /** Properties for a Widget.
9
- * @public
10
- */
11
- export interface AbstractWidgetProps extends ProvidedItem {
12
- /** Gets the widget content */
13
- readonly getWidgetContent: () => any;
14
- /** Name of icon WebFont entry or if specifying an imported SVG symbol use "webSvg:" prefix to imported symbol Id. */
15
- readonly icon?: string | ConditionalStringValue;
16
- /** Id used to uniquely identify the widget.
17
- * @note It is recommended to provide unique widget id to correctly save/restore App layout.
18
- */
19
- readonly id?: string;
20
- /** Default Widget state. Controls how the Widget is initially displayed. Defaults to WidgetState.Unloaded. */
21
- readonly defaultState?: WidgetState;
22
- /** 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. */
23
- readonly label?: string | ConditionalStringValue;
24
- /** used to explicitly set the tooltip shown by a component. */
25
- readonly tooltip?: string | ConditionalStringValue;
26
- /** Application data attached to the Widget. */
27
- readonly applicationData?: any;
28
- /** optional data to used by item implementor. */
29
- readonly internalData?: Map<string, any>;
30
- /** Indicates if widget can be popped out to a child window. Defaults to false. */
31
- readonly canPopout?: boolean;
32
- /** If the widget state is changed to `floating` and the floatingContainerId is defined, the widget will be added to a
33
- * floating panel by that name. If no name is specified, a GUID is used. */
34
- readonly floatingContainerId?: string;
35
- /** Indicates if widget can be in floating state, default to true. */
36
- readonly isFloatingStateSupported?: boolean;
37
- /** Indicates if floating widget is resizable, defaults to false which caused the widget to be auto-sized.. */
38
- readonly isFloatingStateWindowResizable?: boolean;
39
- /** Defines that default Top Left position when widget is floated via API calls */
40
- readonly defaultFloatingPosition?: {
41
- readonly x: number;
42
- readonly y: number;
43
- };
44
- /** Widget priority */
45
- readonly priority?: number;
46
- /** Badge to be overlaid on the widget tab. */
47
- readonly badgeType?: BadgeType;
48
- /** Handler for widget state changed event */
49
- readonly onWidgetStateChanged?: () => void;
50
- /** Save transient DOM state (i.e. scroll offset). */
51
- readonly saveTransientState?: () => void;
52
- /** Restore transient DOM state.
53
- * @note Return true if the state is restored or the Widget will remount.
54
- */
55
- readonly restoreTransientState?: () => boolean;
56
- /** Optional default size to use when floating a widget. If not specified then the default is to size to content if possible.
57
- * Certain widget can't be intrinsically sized and must specify a content. These are typically ones that use a canvas element
58
- * internally. */
59
- readonly defaultFloatingSize?: {
60
- readonly width: number;
61
- readonly height: number;
62
- };
63
- /** Optional prop that tells the widget system to fade this widget out with the rest of the UI when it is in floating state */
64
- readonly hideWithUiWhenFloating?: boolean;
65
- /** Optional prop specifying which Panel sides can be docking targets for this widget. If this prop is not specified, all sides are allowed.
66
- * An empty array is treated the same as an undefined prop, allowing all targets. */
67
- readonly allowedPanelTargets?: ReadonlyArray<"left" | "right" | "bottom" | "top">;
68
- }
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 [CommonWidgetProps]($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.
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.
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
+ }
69
87
  //# sourceMappingURL=AbstractWidgetProps.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractWidgetProps.d.ts","sourceRoot":"","sources":["../../../../src/appui-abstract/widget/AbstractWidgetProps.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACvD,8BAA8B;IAC9B,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,+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,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,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9E,sBAAsB;IACtB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,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,QAAQ,CAAC,mBAAmB,CAAC,EAAE;QAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACnF,8HAA8H;IAC9H,QAAQ,CAAC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAC1C;yFACqF;IACrF,QAAQ,CAAC,mBAAmB,CAAC,EAAE,aAAa,CAAC,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC,CAAC;CACnF"}
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 +1,9 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- /** @packageDocumentation
6
- * @module Widget
7
- */
8
- export {};
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
9
  //# sourceMappingURL=AbstractWidgetProps.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractWidgetProps.js","sourceRoot":"","sources":["../../../../src/appui-abstract/widget/AbstractWidgetProps.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG","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 Widget\n */\n\nimport { ConditionalStringValue } from \"../items/ConditionalStringValue\";\nimport { BadgeType } from \"../items/BadgeType\";\nimport { ProvidedItem } from \"../items/ProvidedItem\";\nimport { WidgetState } from \"./WidgetState\";\n\n/** Properties for a Widget.\n * @public\n */\nexport interface AbstractWidgetProps extends ProvidedItem {\n /** Gets the widget content */\n readonly getWidgetContent: () => any;\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 /** Id used to uniquely identify the widget.\n * @note It is recommended to provide unique widget id to correctly save/restore App layout.\n */\n readonly id?: string;\n /** Default Widget state. Controls how the Widget is initially displayed. Defaults to WidgetState.Unloaded. */\n readonly defaultState?: WidgetState;\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. */\n readonly label?: string | ConditionalStringValue;\n /** used to explicitly set the tooltip shown by a component. */\n readonly tooltip?: string | ConditionalStringValue;\n /** Application data attached to the Widget. */\n readonly applicationData?: any;\n /** optional data to used by item implementor. */\n readonly internalData?: Map<string, any>;\n /** Indicates if widget can be popped out to a child window. Defaults to false. */\n readonly canPopout?: boolean;\n /** If the widget state is changed to `floating` and the floatingContainerId is defined, the widget will be added to a\n * floating panel by that name. If no name is specified, a GUID is used. */\n readonly floatingContainerId?: string;\n /** Indicates if widget can be in floating state, default to true. */\n readonly isFloatingStateSupported?: boolean;\n /** Indicates if floating widget is resizable, defaults to false which caused the widget to be auto-sized.. */\n readonly isFloatingStateWindowResizable?: boolean;\n /** Defines that default Top Left position when widget is floated via API calls */\n readonly defaultFloatingPosition?: { readonly x: number, readonly y: number };\n /** Widget priority */\n readonly priority?: number;\n /** Badge to be overlaid on the widget tab. */\n readonly badgeType?: BadgeType;\n /** Handler for widget state changed event */\n readonly onWidgetStateChanged?: () => void;\n /** Save transient DOM state (i.e. scroll offset). */\n readonly saveTransientState?: () => void;\n /** Restore transient DOM state.\n * @note Return true if the state is restored or the Widget will remount.\n */\n readonly restoreTransientState?: () => boolean;\n /** Optional default size to use when floating a widget. If not specified then the default is to size to content if possible.\n * Certain widget can't be intrinsically sized and must specify a content. These are typically ones that use a canvas element\n * internally. */\n readonly defaultFloatingSize?: { readonly width: number, readonly height: number };\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 */\n readonly hideWithUiWhenFloating?: boolean;\n /** Optional prop specifying which Panel sides can be docking targets for this widget. If this prop is not specified, all sides are allowed.\n * An empty array is treated the same as an undefined prop, allowing all targets. */\n readonly allowedPanelTargets?: ReadonlyArray<\"left\" | \"right\" | \"bottom\" | \"top\">;\n}\n"]}
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 [CommonWidgetProps]($appui-react) instead.\r\n * @public\r\n */\r\nexport interface AbstractWidgetProps extends ProvidedItem { // eslint-disable-line deprecation/deprecation\r\n /** Gets the widget content. */\r\n readonly getWidgetContent: () => any;\r\n /** Name of icon WebFont entry or if specifying an imported SVG symbol use \"webSvg:\" prefix to imported symbol Id. */\r\n readonly icon?: string | ConditionalStringValue;\r\n /** Id used to uniquely identify the widget.\r\n * @note It is recommended to provide unique widget id to correctly save/restore App layout.\r\n */\r\n readonly id?: string;\r\n /** Default Widget state. Controls how the Widget is initially displayed. Defaults to WidgetState.Unloaded. */\r\n readonly defaultState?: WidgetState; // eslint-disable-line deprecation/deprecation\r\n /** if set, component will be considered selected but will NOT display an \"active stripe\" - defaults to false. Typically used by buttons that toggle between two states. */\r\n readonly label?: string | ConditionalStringValue;\r\n /** used to explicitly set the tooltip shown by a component. */\r\n readonly tooltip?: string | ConditionalStringValue;\r\n /** Indicates whether the Widget is free-form or rectangular. Defaults to false for rectangular. The default is false.\r\n * @deprecated in 3.0.\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.\r\n */\r\n readonly stateFunc?: (state: Readonly<WidgetState>) => WidgetState; // eslint-disable-line deprecation/deprecation\r\n /** Badge to be overlaid on the widget tab. */\r\n readonly badgeType?: BadgeType;\r\n /** Handler for widget state changed event */\r\n readonly onWidgetStateChanged?: () => void;\r\n /** Save transient DOM state (i.e. scroll offset). */\r\n readonly saveTransientState?: () => void;\r\n /** Restore transient DOM state.\r\n * @note Return true if the state is restored or the Widget will remount.\r\n */\r\n readonly restoreTransientState?: () => boolean;\r\n /** Optional default size to use when floating a widget. If not specified then the default is to size to content if possible.\r\n * Certain widget can't be intrinsically sized and must specify a content. These are typically ones that use a canvas element\r\n * internally. */\r\n defaultFloatingSize?: { width: number, height: number };\r\n /** Optional prop that tells the widget system to fade this widget out with the rest of the UI when it is in floating state */\r\n hideWithUiWhenFloating?: boolean;\r\n /** Optional prop specifying which Panel sides can be docking targets for this widget. If this prop is not specified, all sides are allowed.\r\n * An empty array is treated the same as an undefined prop, allowing all targets. */\r\n readonly allowedPanelTargets?: ReadonlyArray<\"left\"|\"right\"|\"bottom\"|\"top\">;\r\n}\r\n"]}
@@ -1,20 +1,37 @@
1
- /** @packageDocumentation
2
- * @module Widget
3
- */
4
- /** Available Stage Panel locations.
5
- * @public
6
- */
7
- export declare enum StagePanelLocation {
8
- Top = 101,
9
- Left = 102,
10
- Right = 103,
11
- Bottom = 104
12
- }
13
- /** Enum for Stage Panel Sections
14
- * @public
15
- */
16
- export declare enum StagePanelSection {
17
- Start = 0,
18
- End = 1
19
- }
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.
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 Used in UI1.0 only. */
20
+ TopMost = 102,
21
+ Left = 103,
22
+ Right = 104,
23
+ Bottom = 105,
24
+ /** @deprecated Used in UI1.0 only. */
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
+ }
20
37
  //# sourceMappingURL=StagePanel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StagePanel.d.ts","sourceRoot":"","sources":["../../../../src/appui-abstract/widget/StagePanel.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;GAEG;AACH,oBAAY,kBAAkB;IAC5B,GAAG,MAAM;IACT,IAAI,MAAA;IACJ,KAAK,MAAA;IACL,MAAM,MAAA;CACP;AAED;;GAEG;AACH,oBAAY,iBAAiB;IAC3B,KAAK,IAAA;IACL,GAAG,IAAA;CACJ"}
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,sCAAsC;IACtC,OAAO,MAAA;IACP,IAAI,MAAA;IACJ,KAAK,MAAA;IACL,MAAM,MAAA;IACN,sCAAsC;IACtC,UAAU,MAAA;CACX;AAED;;;GAGG;AACH,oBAAY,iBAAiB;IAC3B,KAAK,IAAA;IACL,mGAAmG;IACnG,MAAM,IAAA;IACN,GAAG,IAAA;CACJ"}
@@ -1,26 +1,44 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- /** @packageDocumentation
6
- * @module Widget
7
- */
8
- /** Available Stage Panel locations.
9
- * @public
10
- */
11
- export var StagePanelLocation;
12
- (function (StagePanelLocation) {
13
- StagePanelLocation[StagePanelLocation["Top"] = 101] = "Top";
14
- StagePanelLocation[StagePanelLocation["Left"] = 102] = "Left";
15
- StagePanelLocation[StagePanelLocation["Right"] = 103] = "Right";
16
- StagePanelLocation[StagePanelLocation["Bottom"] = 104] = "Bottom";
17
- })(StagePanelLocation || (StagePanelLocation = {}));
18
- /** Enum for Stage Panel Sections
19
- * @public
20
- */
21
- export var StagePanelSection;
22
- (function (StagePanelSection) {
23
- StagePanelSection[StagePanelSection["Start"] = 0] = "Start";
24
- StagePanelSection[StagePanelSection["End"] = 1] = "End";
25
- })(StagePanelSection || (StagePanelSection = {}));
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.
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 Used in UI1.0 only. */
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 Used in UI1.0 only. */
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 = {}));
26
44
  //# sourceMappingURL=StagePanel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StagePanel.js","sourceRoot":"","sources":["../../../../src/appui-abstract/widget/StagePanel.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH;;GAEG;AACH,MAAM,CAAN,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,2DAAS,CAAA;IACT,6DAAI,CAAA;IACJ,+DAAK,CAAA;IACL,iEAAM,CAAA;AACR,CAAC,EALW,kBAAkB,KAAlB,kBAAkB,QAK7B;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,2DAAK,CAAA;IACL,uDAAG,CAAA;AACL,CAAC,EAHW,iBAAiB,KAAjB,iBAAiB,QAG5B","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 Widget\n */\n\n/** Available Stage Panel locations.\n * @public\n */\nexport enum StagePanelLocation {\n Top = 101,\n Left,\n Right,\n Bottom,\n}\n\n/** Enum for Stage Panel Sections\n * @public\n */\nexport enum StagePanelSection {\n Start,\n End,\n}\n"]}
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,sCAAsC;IACtC,mEAAO,CAAA;IACP,6DAAI,CAAA;IACJ,+DAAK,CAAA;IACL,iEAAM,CAAA;IACN,sCAAsC;IACtC,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.\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 Used in UI1.0 only. */\r\n TopMost,\r\n Left,\r\n Right,\r\n Bottom,\r\n /** @deprecated Used in UI1.0 only. */\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,19 +1,20 @@
1
- /** @packageDocumentation
2
- * @module Widget
3
- */
4
- /** Widget state enum.
5
- * @public
6
- */
7
- export declare enum WidgetState {
8
- /** Widget tab is visible and active and its contents are visible */
9
- Open = 0,
10
- /** Widget tab is visible but its contents are not visible */
11
- Closed = 1,
12
- /** Widget tab nor its contents are visible */
13
- Hidden = 2,
14
- /** Widget tab is in a 'floating' state and is not docked in zone's tab stack */
15
- Floating = 3,
16
- /** Widget tab is visible but its contents are not loaded */
17
- Unloaded = 4
18
- }
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
+ }
19
20
  //# sourceMappingURL=WidgetState.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetState.d.ts","sourceRoot":"","sources":["../../../../src/appui-abstract/widget/WidgetState.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;GAEG;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
+ {"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,24 +1,25 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- /** @packageDocumentation
6
- * @module Widget
7
- */
8
- /** Widget state enum.
9
- * @public
10
- */
11
- export var WidgetState;
12
- (function (WidgetState) {
13
- /** Widget tab is visible and active and its contents are visible */
14
- WidgetState[WidgetState["Open"] = 0] = "Open";
15
- /** Widget tab is visible but its contents are not visible */
16
- WidgetState[WidgetState["Closed"] = 1] = "Closed";
17
- /** Widget tab nor its contents are visible */
18
- WidgetState[WidgetState["Hidden"] = 2] = "Hidden";
19
- /** Widget tab is in a 'floating' state and is not docked in zone's tab stack */
20
- WidgetState[WidgetState["Floating"] = 3] = "Floating";
21
- /** Widget tab is visible but its contents are not loaded */
22
- WidgetState[WidgetState["Unloaded"] = 4] = "Unloaded";
23
- })(WidgetState || (WidgetState = {}));
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 = {}));
24
25
  //# sourceMappingURL=WidgetState.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetState.js","sourceRoot":"","sources":["../../../../src/appui-abstract/widget/WidgetState.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH;;GAEG;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":["/*---------------------------------------------------------------------------------------------\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 Widget\n */\n\n/** Widget state enum.\n * @public\n */\nexport enum WidgetState {\n /** Widget tab is visible and active and its contents are visible */\n Open,\n /** Widget tab is visible but its contents are not visible */\n Closed,\n /** Widget tab nor its contents are visible */\n Hidden,\n /** Widget tab is in a 'floating' state and is not docked in zone's tab stack */\n Floating,\n /** Widget tab is visible but its contents are not loaded */\n Unloaded,\n}\n"]}
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"]}