@itwin/appui-react 4.9.0-dev.1 → 4.10.0-dev.1

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 (1757) hide show
  1. package/CHANGELOG.md +32 -1
  2. package/README.md +1 -1
  3. package/lib/cjs/appui-react/UiFramework.js +4 -7
  4. package/lib/cjs/appui-react/UiFramework.js.map +1 -1
  5. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.d.ts +2 -2
  6. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.d.ts.map +1 -1
  7. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.d.ts +2 -2
  8. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.d.ts.map +1 -1
  9. package/lib/cjs/appui-react/accudraw/AccuDrawWidget.d.ts +2 -2
  10. package/lib/cjs/appui-react/accudraw/AccuDrawWidget.d.ts.map +1 -1
  11. package/lib/cjs/appui-react/accudraw/Calculator.d.ts +1 -1
  12. package/lib/cjs/appui-react/accudraw/CalculatorPopup.d.ts +1 -1
  13. package/lib/cjs/appui-react/accudraw/MenuButton.d.ts +1 -1
  14. package/lib/cjs/appui-react/accudraw/MenuButtonPopup.d.ts +1 -1
  15. package/lib/cjs/appui-react/accudraw/SquareButton.d.ts +1 -1
  16. package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts +1 -1
  17. package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
  18. package/lib/cjs/appui-react/backstage/BackstageComposer.js +7 -7
  19. package/lib/cjs/appui-react/backstage/BackstageComposer.js.map +1 -1
  20. package/lib/cjs/appui-react/backstage/BackstageComposerItem.d.ts +4 -4
  21. package/lib/cjs/appui-react/backstage/BackstageComposerItem.d.ts.map +1 -1
  22. package/lib/cjs/appui-react/backstage/BackstageComposerItem.js +8 -9
  23. package/lib/cjs/appui-react/backstage/BackstageComposerItem.js.map +1 -1
  24. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts +1 -1
  25. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
  26. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js +10 -10
  27. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
  28. package/lib/cjs/appui-react/childwindow/PopoutWidget.d.ts +2 -2
  29. package/lib/cjs/appui-react/childwindow/PopoutWidget.d.ts.map +1 -1
  30. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.d.ts +1 -1
  31. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
  32. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js +1 -1
  33. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
  34. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.scss +15 -1
  35. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js +1 -1
  36. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
  37. package/lib/cjs/appui-react/configurableui/TimeTracker.js +1 -2
  38. package/lib/cjs/appui-react/configurableui/TimeTracker.js.map +1 -1
  39. package/lib/cjs/appui-react/content/ContentLayout.d.ts +1 -1
  40. package/lib/cjs/appui-react/content/ContentLayout.d.ts.map +1 -1
  41. package/lib/cjs/appui-react/content/ContentLayout.js +9 -12
  42. package/lib/cjs/appui-react/content/ContentLayout.js.map +1 -1
  43. package/lib/cjs/appui-react/content/DefaultViewOverlay.d.ts +2 -2
  44. package/lib/cjs/appui-react/content/DefaultViewOverlay.d.ts.map +1 -1
  45. package/lib/cjs/appui-react/content/DefaultViewOverlay.js +3 -4
  46. package/lib/cjs/appui-react/content/DefaultViewOverlay.js.map +1 -1
  47. package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts +3 -3
  48. package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts.map +1 -1
  49. package/lib/cjs/appui-react/content/FloatingViewportContent.js +1 -2
  50. package/lib/cjs/appui-react/content/FloatingViewportContent.js.map +1 -1
  51. package/lib/cjs/appui-react/content/IModelViewport.d.ts +1 -1
  52. package/lib/cjs/appui-react/content/IModelViewport.d.ts.map +1 -1
  53. package/lib/cjs/appui-react/content/IModelViewport.js +4 -7
  54. package/lib/cjs/appui-react/content/IModelViewport.js.map +1 -1
  55. package/lib/cjs/appui-react/content/InternalContentLayoutManager.js +1 -2
  56. package/lib/cjs/appui-react/content/InternalContentLayoutManager.js.map +1 -1
  57. package/lib/cjs/appui-react/content/InternalContentViewManager.js +2 -2
  58. package/lib/cjs/appui-react/content/InternalContentViewManager.js.map +1 -1
  59. package/lib/cjs/appui-react/content/split-pane/Pane.d.ts +1 -1
  60. package/lib/cjs/appui-react/content/split-pane/Pane.d.ts.map +1 -1
  61. package/lib/cjs/appui-react/content/split-pane/Resizer.d.ts +1 -1
  62. package/lib/cjs/appui-react/content/split-pane/Resizer.d.ts.map +1 -1
  63. package/lib/cjs/appui-react/content/split-pane/SplitPane.d.ts +1 -1
  64. package/lib/cjs/appui-react/content/split-pane/SplitPane.d.ts.map +1 -1
  65. package/lib/cjs/appui-react/content/split-pane/SplitPane.js +10 -12
  66. package/lib/cjs/appui-react/content/split-pane/SplitPane.js.map +1 -1
  67. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js +2 -3
  68. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
  69. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.d.ts +5 -5
  70. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.d.ts.map +1 -1
  71. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js +5 -5
  72. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
  73. package/lib/cjs/appui-react/dialog/ContentDialog.d.ts +1 -1
  74. package/lib/cjs/appui-react/dialog/ContentDialog.d.ts.map +1 -1
  75. package/lib/cjs/appui-react/dialog/ContentDialog.js +3 -6
  76. package/lib/cjs/appui-react/dialog/ContentDialog.js.map +1 -1
  77. package/lib/cjs/appui-react/dialog/DialogManagerBase.js +2 -3
  78. package/lib/cjs/appui-react/dialog/DialogManagerBase.js.map +1 -1
  79. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.d.ts +2 -2
  80. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.d.ts.map +1 -1
  81. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.js +6 -6
  82. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.js.map +1 -1
  83. package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts +4 -4
  84. package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
  85. package/lib/cjs/appui-react/feedback/ElementTooltip.js +5 -5
  86. package/lib/cjs/appui-react/feedback/ElementTooltip.js.map +1 -1
  87. package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts +7 -6
  88. package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
  89. package/lib/cjs/appui-react/frontstage/FrontstageDef.js +44 -45
  90. package/lib/cjs/appui-react/frontstage/FrontstageDef.js.map +1 -1
  91. package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts +3 -3
  92. package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
  93. package/lib/cjs/appui-react/frontstage/ModalFrontstage.js +6 -6
  94. package/lib/cjs/appui-react/frontstage/ModalFrontstage.js.map +1 -1
  95. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js +2 -3
  96. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
  97. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js +1 -2
  98. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
  99. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.js +7 -11
  100. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.js.map +1 -1
  101. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.js +7 -11
  102. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.js.map +1 -1
  103. package/lib/cjs/appui-react/hooks/useSolarDataProvider.js +8 -13
  104. package/lib/cjs/appui-react/hooks/useSolarDataProvider.js.map +1 -1
  105. package/lib/cjs/appui-react/layout/_prefix.scss +33 -0
  106. package/lib/cjs/appui-react/layout/_safearea.scss +26 -0
  107. package/lib/cjs/appui-react/layout/_scrollbar.scss +20 -0
  108. package/lib/cjs/appui-react/layout/_target.scss +10 -0
  109. package/lib/cjs/appui-react/layout/_widgetopacity.scss +13 -0
  110. package/lib/cjs/appui-react/layout/backstage/Backstage.d.ts +42 -0
  111. package/lib/cjs/appui-react/layout/backstage/Backstage.d.ts.map +1 -0
  112. package/lib/cjs/appui-react/layout/backstage/Backstage.js +53 -0
  113. package/lib/cjs/appui-react/layout/backstage/Backstage.js.map +1 -0
  114. package/lib/cjs/appui-react/layout/backstage/Backstage.scss +90 -0
  115. package/lib/cjs/appui-react/layout/backstage/Item.d.ts +38 -0
  116. package/lib/cjs/appui-react/layout/backstage/Item.d.ts.map +1 -0
  117. package/lib/cjs/appui-react/layout/backstage/Item.js +33 -0
  118. package/lib/cjs/appui-react/layout/backstage/Item.js.map +1 -0
  119. package/lib/cjs/appui-react/layout/backstage/Item.scss +103 -0
  120. package/lib/cjs/appui-react/layout/backstage/Separator.d.ts +13 -0
  121. package/lib/cjs/appui-react/layout/backstage/Separator.d.ts.map +1 -0
  122. package/lib/cjs/appui-react/layout/backstage/Separator.js +24 -0
  123. package/lib/cjs/appui-react/layout/backstage/Separator.js.map +1 -0
  124. package/lib/cjs/appui-react/layout/backstage/Separator.scss +10 -0
  125. package/lib/cjs/appui-react/layout/backstage/_variables.scss +32 -0
  126. package/lib/cjs/appui-react/layout/base/DragManager.d.ts +183 -0
  127. package/lib/cjs/appui-react/layout/base/DragManager.d.ts.map +1 -0
  128. package/lib/cjs/appui-react/layout/base/DragManager.js +496 -0
  129. package/lib/cjs/appui-react/layout/base/DragManager.js.map +1 -0
  130. package/lib/cjs/appui-react/layout/base/Ellipsis.d.ts +11 -0
  131. package/lib/cjs/appui-react/layout/base/Ellipsis.d.ts.map +1 -0
  132. package/lib/cjs/appui-react/layout/base/Ellipsis.js +25 -0
  133. package/lib/cjs/appui-react/layout/base/Ellipsis.js.map +1 -0
  134. package/lib/cjs/appui-react/layout/base/Ellipsis.scss +20 -0
  135. package/lib/cjs/appui-react/layout/base/LayoutStore.d.ts +19 -0
  136. package/lib/cjs/appui-react/layout/base/LayoutStore.d.ts.map +1 -0
  137. package/lib/cjs/appui-react/layout/base/LayoutStore.js +38 -0
  138. package/lib/cjs/appui-react/layout/base/LayoutStore.js.map +1 -0
  139. package/lib/cjs/appui-react/layout/base/NineZone.d.ts +80 -0
  140. package/lib/cjs/appui-react/layout/base/NineZone.d.ts.map +1 -0
  141. package/lib/cjs/appui-react/layout/base/NineZone.js +174 -0
  142. package/lib/cjs/appui-react/layout/base/NineZone.js.map +1 -0
  143. package/lib/cjs/appui-react/layout/base/SafeAreaInsets.d.ts +18 -0
  144. package/lib/cjs/appui-react/layout/base/SafeAreaInsets.d.ts.map +1 -0
  145. package/lib/cjs/appui-react/layout/base/SafeAreaInsets.js +36 -0
  146. package/lib/cjs/appui-react/layout/base/SafeAreaInsets.js.map +1 -0
  147. package/lib/cjs/appui-react/layout/base/usePointerCaptor.d.ts +15 -0
  148. package/lib/cjs/appui-react/layout/base/usePointerCaptor.d.ts.map +1 -0
  149. package/lib/cjs/appui-react/layout/base/usePointerCaptor.js +106 -0
  150. package/lib/cjs/appui-react/layout/base/usePointerCaptor.js.map +1 -0
  151. package/lib/cjs/appui-react/layout/footer/Footer.d.ts +33 -0
  152. package/lib/cjs/appui-react/layout/footer/Footer.d.ts.map +1 -0
  153. package/lib/cjs/appui-react/layout/footer/Footer.js +30 -0
  154. package/lib/cjs/appui-react/layout/footer/Footer.js.map +1 -0
  155. package/lib/cjs/appui-react/layout/footer/Footer.scss +61 -0
  156. package/lib/cjs/appui-react/layout/footer/Indicator.d.ts +23 -0
  157. package/lib/cjs/appui-react/layout/footer/Indicator.d.ts.map +1 -0
  158. package/lib/cjs/appui-react/layout/footer/Indicator.js +23 -0
  159. package/lib/cjs/appui-react/layout/footer/Indicator.js.map +1 -0
  160. package/lib/cjs/appui-react/layout/footer/Indicator.scss +39 -0
  161. package/lib/cjs/appui-react/layout/footer/Popup.d.ts +12 -0
  162. package/lib/cjs/appui-react/layout/footer/Popup.d.ts.map +1 -0
  163. package/lib/cjs/appui-react/layout/footer/Popup.js +25 -0
  164. package/lib/cjs/appui-react/layout/footer/Popup.js.map +1 -0
  165. package/lib/cjs/appui-react/layout/footer/Popup.scss +19 -0
  166. package/lib/cjs/appui-react/layout/footer/_variables.scss +43 -0
  167. package/lib/cjs/appui-react/layout/footer/dialog/Button.d.ts +23 -0
  168. package/lib/cjs/appui-react/layout/footer/dialog/Button.d.ts.map +1 -0
  169. package/lib/cjs/appui-react/layout/footer/dialog/Button.js +25 -0
  170. package/lib/cjs/appui-react/layout/footer/dialog/Button.js.map +1 -0
  171. package/lib/cjs/appui-react/layout/footer/dialog/Button.scss +23 -0
  172. package/lib/cjs/appui-react/layout/footer/dialog/Dialog.d.ts +22 -0
  173. package/lib/cjs/appui-react/layout/footer/dialog/Dialog.d.ts.map +1 -0
  174. package/lib/cjs/appui-react/layout/footer/dialog/Dialog.js +26 -0
  175. package/lib/cjs/appui-react/layout/footer/dialog/Dialog.js.map +1 -0
  176. package/lib/cjs/appui-react/layout/footer/dialog/Dialog.scss +14 -0
  177. package/lib/cjs/appui-react/layout/footer/dialog/TitleBar.d.ts +21 -0
  178. package/lib/cjs/appui-react/layout/footer/dialog/TitleBar.d.ts.map +1 -0
  179. package/lib/cjs/appui-react/layout/footer/dialog/TitleBar.js +25 -0
  180. package/lib/cjs/appui-react/layout/footer/dialog/TitleBar.js.map +1 -0
  181. package/lib/cjs/appui-react/layout/footer/dialog/TitleBar.scss +30 -0
  182. package/lib/cjs/appui-react/layout/footer/dialog/_variables.scss +8 -0
  183. package/lib/cjs/appui-react/layout/footer/message-center/Dialog.d.ts +29 -0
  184. package/lib/cjs/appui-react/layout/footer/message-center/Dialog.d.ts.map +1 -0
  185. package/lib/cjs/appui-react/layout/footer/message-center/Dialog.js +32 -0
  186. package/lib/cjs/appui-react/layout/footer/message-center/Dialog.js.map +1 -0
  187. package/lib/cjs/appui-react/layout/footer/message-center/Dialog.scss +64 -0
  188. package/lib/cjs/appui-react/layout/footer/message-center/Indicator.d.ts +29 -0
  189. package/lib/cjs/appui-react/layout/footer/message-center/Indicator.d.ts.map +1 -0
  190. package/lib/cjs/appui-react/layout/footer/message-center/Indicator.js +33 -0
  191. package/lib/cjs/appui-react/layout/footer/message-center/Indicator.js.map +1 -0
  192. package/lib/cjs/appui-react/layout/footer/message-center/Indicator.scss +106 -0
  193. package/lib/cjs/appui-react/layout/footer/message-center/Message.d.ts +22 -0
  194. package/lib/cjs/appui-react/layout/footer/message-center/Message.d.ts.map +1 -0
  195. package/lib/cjs/appui-react/layout/footer/message-center/Message.js +26 -0
  196. package/lib/cjs/appui-react/layout/footer/message-center/Message.js.map +1 -0
  197. package/lib/cjs/appui-react/layout/footer/message-center/Message.scss +41 -0
  198. package/lib/cjs/appui-react/layout/footer/message-center/Tab.d.ts +24 -0
  199. package/lib/cjs/appui-react/layout/footer/message-center/Tab.d.ts.map +1 -0
  200. package/lib/cjs/appui-react/layout/footer/message-center/Tab.js +26 -0
  201. package/lib/cjs/appui-react/layout/footer/message-center/Tab.js.map +1 -0
  202. package/lib/cjs/appui-react/layout/footer/message-center/Tab.scss +60 -0
  203. package/lib/cjs/appui-react/layout/footer/message-center/_variables.scss +5 -0
  204. package/lib/cjs/appui-react/layout/footer/snap-mode/Indicator.d.ts +27 -0
  205. package/lib/cjs/appui-react/layout/footer/snap-mode/Indicator.d.ts.map +1 -0
  206. package/lib/cjs/appui-react/layout/footer/snap-mode/Indicator.js +29 -0
  207. package/lib/cjs/appui-react/layout/footer/snap-mode/Indicator.js.map +1 -0
  208. package/lib/cjs/appui-react/layout/footer/snap-mode/Indicator.scss +44 -0
  209. package/lib/cjs/appui-react/layout/footer/snap-mode/Panel.d.ts +24 -0
  210. package/lib/cjs/appui-react/layout/footer/snap-mode/Panel.d.ts.map +1 -0
  211. package/lib/cjs/appui-react/layout/footer/snap-mode/Panel.js +29 -0
  212. package/lib/cjs/appui-react/layout/footer/snap-mode/Panel.js.map +1 -0
  213. package/lib/cjs/appui-react/layout/footer/snap-mode/Panel.scss +22 -0
  214. package/lib/cjs/appui-react/layout/footer/snap-mode/Snap.d.ts +26 -0
  215. package/lib/cjs/appui-react/layout/footer/snap-mode/Snap.d.ts.map +1 -0
  216. package/lib/cjs/appui-react/layout/footer/snap-mode/Snap.js +28 -0
  217. package/lib/cjs/appui-react/layout/footer/snap-mode/Snap.js.map +1 -0
  218. package/lib/cjs/appui-react/layout/footer/snap-mode/Snap.scss +48 -0
  219. package/lib/cjs/appui-react/layout/footer/tool-assistance/Dialog.d.ts +26 -0
  220. package/lib/cjs/appui-react/layout/footer/tool-assistance/Dialog.d.ts.map +1 -0
  221. package/lib/cjs/appui-react/layout/footer/tool-assistance/Dialog.js +29 -0
  222. package/lib/cjs/appui-react/layout/footer/tool-assistance/Dialog.js.map +1 -0
  223. package/lib/cjs/appui-react/layout/footer/tool-assistance/Dialog.scss +18 -0
  224. package/lib/cjs/appui-react/layout/footer/tool-assistance/Indicator.d.ts +27 -0
  225. package/lib/cjs/appui-react/layout/footer/tool-assistance/Indicator.d.ts.map +1 -0
  226. package/lib/cjs/appui-react/layout/footer/tool-assistance/Indicator.js +30 -0
  227. package/lib/cjs/appui-react/layout/footer/tool-assistance/Indicator.js.map +1 -0
  228. package/lib/cjs/appui-react/layout/footer/tool-assistance/Indicator.scss +80 -0
  229. package/lib/cjs/appui-react/layout/footer/tool-assistance/Instruction.d.ts +24 -0
  230. package/lib/cjs/appui-react/layout/footer/tool-assistance/Instruction.d.ts.map +1 -0
  231. package/lib/cjs/appui-react/layout/footer/tool-assistance/Instruction.js +31 -0
  232. package/lib/cjs/appui-react/layout/footer/tool-assistance/Instruction.js.map +1 -0
  233. package/lib/cjs/appui-react/layout/footer/tool-assistance/Instruction.scss +30 -0
  234. package/lib/cjs/appui-react/layout/footer/tool-assistance/Item.d.ts +20 -0
  235. package/lib/cjs/appui-react/layout/footer/tool-assistance/Item.d.ts.map +1 -0
  236. package/lib/cjs/appui-react/layout/footer/tool-assistance/Item.js +24 -0
  237. package/lib/cjs/appui-react/layout/footer/tool-assistance/Item.js.map +1 -0
  238. package/lib/cjs/appui-react/layout/footer/tool-assistance/Item.scss +13 -0
  239. package/lib/cjs/appui-react/layout/footer/tool-assistance/NewDot.d.ts +13 -0
  240. package/lib/cjs/appui-react/layout/footer/tool-assistance/NewDot.d.ts.map +1 -0
  241. package/lib/cjs/appui-react/layout/footer/tool-assistance/NewDot.js +24 -0
  242. package/lib/cjs/appui-react/layout/footer/tool-assistance/NewDot.js.map +1 -0
  243. package/lib/cjs/appui-react/layout/footer/tool-assistance/NewDot.scss +13 -0
  244. package/lib/cjs/appui-react/layout/footer/tool-assistance/Separator.d.ts +20 -0
  245. package/lib/cjs/appui-react/layout/footer/tool-assistance/Separator.d.ts.map +1 -0
  246. package/lib/cjs/appui-react/layout/footer/tool-assistance/Separator.js +26 -0
  247. package/lib/cjs/appui-react/layout/footer/tool-assistance/Separator.js.map +1 -0
  248. package/lib/cjs/appui-react/layout/footer/tool-assistance/Separator.scss +20 -0
  249. package/lib/cjs/appui-react/layout/outline/PanelOutline.d.ts +10 -0
  250. package/lib/cjs/appui-react/layout/outline/PanelOutline.d.ts.map +1 -0
  251. package/lib/cjs/appui-react/layout/outline/PanelOutline.js +69 -0
  252. package/lib/cjs/appui-react/layout/outline/PanelOutline.js.map +1 -0
  253. package/lib/cjs/appui-react/layout/outline/PanelOutline.scss +72 -0
  254. package/lib/cjs/appui-react/layout/outline/SectionOutline.d.ts +13 -0
  255. package/lib/cjs/appui-react/layout/outline/SectionOutline.d.ts.map +1 -0
  256. package/lib/cjs/appui-react/layout/outline/SectionOutline.js +73 -0
  257. package/lib/cjs/appui-react/layout/outline/SectionOutline.js.map +1 -0
  258. package/lib/cjs/appui-react/layout/outline/SectionOutline.scss +47 -0
  259. package/lib/cjs/appui-react/layout/outline/TabOutline.d.ts +8 -0
  260. package/lib/cjs/appui-react/layout/outline/TabOutline.d.ts.map +1 -0
  261. package/lib/cjs/appui-react/layout/outline/TabOutline.js +42 -0
  262. package/lib/cjs/appui-react/layout/outline/TabOutline.js.map +1 -0
  263. package/lib/cjs/appui-react/layout/outline/TabOutline.scss +18 -0
  264. package/lib/cjs/appui-react/layout/outline/WidgetOutline.d.ts +8 -0
  265. package/lib/cjs/appui-react/layout/outline/WidgetOutline.d.ts.map +1 -0
  266. package/lib/cjs/appui-react/layout/outline/WidgetOutline.js +42 -0
  267. package/lib/cjs/appui-react/layout/outline/WidgetOutline.js.map +1 -0
  268. package/lib/cjs/appui-react/layout/outline/WidgetOutline.scss +16 -0
  269. package/lib/cjs/appui-react/layout/outline/_variables.scss +7 -0
  270. package/lib/cjs/appui-react/layout/popup/Tooltip.d.ts +42 -0
  271. package/lib/cjs/appui-react/layout/popup/Tooltip.d.ts.map +1 -0
  272. package/lib/cjs/appui-react/layout/popup/Tooltip.js +73 -0
  273. package/lib/cjs/appui-react/layout/popup/Tooltip.js.map +1 -0
  274. package/lib/cjs/appui-react/layout/popup/Tooltip.scss +24 -0
  275. package/lib/cjs/appui-react/layout/state/DropTargetState.d.ts +67 -0
  276. package/lib/cjs/appui-react/layout/state/DropTargetState.d.ts.map +1 -0
  277. package/lib/cjs/appui-react/layout/state/DropTargetState.js +50 -0
  278. package/lib/cjs/appui-react/layout/state/DropTargetState.js.map +1 -0
  279. package/lib/cjs/appui-react/layout/state/NineZoneAction.d.ts +274 -0
  280. package/lib/cjs/appui-react/layout/state/NineZoneAction.d.ts.map +1 -0
  281. package/lib/{esm/appui-react/safearea/SafeAreaHelpers.js → cjs/appui-react/layout/state/NineZoneAction.js} +4 -6
  282. package/lib/cjs/appui-react/layout/state/NineZoneAction.js.map +1 -0
  283. package/lib/cjs/appui-react/layout/state/NineZoneState.d.ts +24 -0
  284. package/lib/cjs/appui-react/layout/state/NineZoneState.d.ts.map +1 -0
  285. package/lib/cjs/appui-react/layout/state/NineZoneState.js +40 -0
  286. package/lib/cjs/appui-react/layout/state/NineZoneState.js.map +1 -0
  287. package/lib/cjs/appui-react/layout/state/NineZoneStateReducer.d.ts +8 -0
  288. package/lib/cjs/appui-react/layout/state/NineZoneStateReducer.d.ts.map +1 -0
  289. package/lib/cjs/appui-react/layout/state/NineZoneStateReducer.js +812 -0
  290. package/lib/cjs/appui-react/layout/state/NineZoneStateReducer.js.map +1 -0
  291. package/lib/cjs/appui-react/layout/state/PanelState.d.ts +44 -0
  292. package/lib/cjs/appui-react/layout/state/PanelState.d.ts.map +1 -0
  293. package/lib/cjs/appui-react/layout/state/PanelState.js +22 -0
  294. package/lib/cjs/appui-react/layout/state/PanelState.js.map +1 -0
  295. package/lib/cjs/appui-react/layout/state/SavedTabState.d.ts +24 -0
  296. package/lib/cjs/appui-react/layout/state/SavedTabState.d.ts.map +1 -0
  297. package/lib/cjs/appui-react/{safearea/SafeAreaHelpers.js → layout/state/SavedTabState.js} +2 -8
  298. package/lib/cjs/appui-react/layout/state/SavedTabState.js.map +1 -0
  299. package/lib/cjs/appui-react/layout/state/TabLocation.d.ts +35 -0
  300. package/lib/cjs/appui-react/layout/state/TabLocation.d.ts.map +1 -0
  301. package/lib/cjs/appui-react/layout/state/TabLocation.js +60 -0
  302. package/lib/cjs/appui-react/layout/state/TabLocation.js.map +1 -0
  303. package/lib/cjs/appui-react/layout/state/TabState.d.ts +34 -0
  304. package/lib/cjs/appui-react/layout/state/TabState.d.ts.map +1 -0
  305. package/lib/cjs/appui-react/layout/state/TabState.js +10 -0
  306. package/lib/cjs/appui-react/layout/state/TabState.js.map +1 -0
  307. package/lib/cjs/appui-react/layout/state/ToolSettingsState.d.ts +18 -0
  308. package/lib/cjs/appui-react/layout/state/ToolSettingsState.d.ts.map +1 -0
  309. package/lib/cjs/appui-react/layout/state/ToolSettingsState.js +10 -0
  310. package/lib/cjs/appui-react/layout/state/ToolSettingsState.js.map +1 -0
  311. package/lib/cjs/appui-react/layout/state/WidgetLocation.d.ts +32 -0
  312. package/lib/cjs/appui-react/layout/state/WidgetLocation.d.ts.map +1 -0
  313. package/lib/cjs/appui-react/layout/state/WidgetLocation.js +57 -0
  314. package/lib/cjs/appui-react/layout/state/WidgetLocation.js.map +1 -0
  315. package/lib/cjs/appui-react/layout/state/WidgetRestoreState.d.ts +23 -0
  316. package/lib/cjs/appui-react/layout/state/WidgetRestoreState.d.ts.map +1 -0
  317. package/lib/cjs/appui-react/layout/state/WidgetRestoreState.js +21 -0
  318. package/lib/cjs/appui-react/layout/state/WidgetRestoreState.js.map +1 -0
  319. package/lib/cjs/appui-react/layout/state/WidgetState.d.ts +48 -0
  320. package/lib/cjs/appui-react/layout/state/WidgetState.d.ts.map +1 -0
  321. package/lib/cjs/appui-react/layout/state/WidgetState.js +10 -0
  322. package/lib/cjs/appui-react/layout/state/WidgetState.js.map +1 -0
  323. package/lib/cjs/appui-react/layout/state/activateDroppedTab.d.ts +5 -0
  324. package/lib/cjs/appui-react/layout/state/activateDroppedTab.d.ts.map +1 -0
  325. package/lib/cjs/appui-react/layout/state/activateDroppedTab.js +38 -0
  326. package/lib/cjs/appui-react/layout/state/activateDroppedTab.js.map +1 -0
  327. package/lib/cjs/appui-react/layout/state/internal/NineZoneStateHelpers.d.ts +39 -0
  328. package/lib/cjs/appui-react/layout/state/internal/NineZoneStateHelpers.d.ts.map +1 -0
  329. package/lib/cjs/appui-react/layout/state/internal/NineZoneStateHelpers.js +99 -0
  330. package/lib/cjs/appui-react/layout/state/internal/NineZoneStateHelpers.js.map +1 -0
  331. package/lib/cjs/appui-react/layout/state/internal/PanelStateHelpers.d.ts +26 -0
  332. package/lib/cjs/appui-react/layout/state/internal/PanelStateHelpers.d.ts.map +1 -0
  333. package/lib/cjs/appui-react/layout/state/internal/PanelStateHelpers.js +107 -0
  334. package/lib/cjs/appui-react/layout/state/internal/PanelStateHelpers.js.map +1 -0
  335. package/lib/cjs/appui-react/layout/state/internal/TabStateHelpers.d.ts +41 -0
  336. package/lib/cjs/appui-react/layout/state/internal/TabStateHelpers.d.ts.map +1 -0
  337. package/lib/cjs/appui-react/layout/state/internal/TabStateHelpers.js +196 -0
  338. package/lib/cjs/appui-react/layout/state/internal/TabStateHelpers.js.map +1 -0
  339. package/lib/cjs/appui-react/layout/state/internal/ToolSettingsStateHelpers.d.ts +14 -0
  340. package/lib/cjs/appui-react/layout/state/internal/ToolSettingsStateHelpers.d.ts.map +1 -0
  341. package/lib/cjs/appui-react/layout/state/internal/ToolSettingsStateHelpers.js +60 -0
  342. package/lib/cjs/appui-react/layout/state/internal/ToolSettingsStateHelpers.js.map +1 -0
  343. package/lib/cjs/appui-react/layout/state/internal/WidgetStateHelpers.d.ts +48 -0
  344. package/lib/cjs/appui-react/layout/state/internal/WidgetStateHelpers.d.ts.map +1 -0
  345. package/lib/cjs/appui-react/layout/state/internal/WidgetStateHelpers.js +319 -0
  346. package/lib/cjs/appui-react/layout/state/internal/WidgetStateHelpers.js.map +1 -0
  347. package/lib/cjs/appui-react/layout/target/MergeTarget.d.ts +13 -0
  348. package/lib/cjs/appui-react/layout/target/MergeTarget.d.ts.map +1 -0
  349. package/lib/cjs/appui-react/layout/target/MergeTarget.js +47 -0
  350. package/lib/cjs/appui-react/layout/target/MergeTarget.js.map +1 -0
  351. package/lib/cjs/appui-react/layout/target/MergeTarget.scss +17 -0
  352. package/lib/cjs/appui-react/layout/target/PanelTarget.d.ts +13 -0
  353. package/lib/cjs/appui-react/layout/target/PanelTarget.d.ts.map +1 -0
  354. package/lib/cjs/appui-react/layout/target/PanelTarget.js +45 -0
  355. package/lib/cjs/appui-react/layout/target/PanelTarget.js.map +1 -0
  356. package/lib/cjs/appui-react/layout/target/PanelTarget.scss +27 -0
  357. package/lib/cjs/appui-react/layout/target/PanelTargets.d.ts +8 -0
  358. package/lib/cjs/appui-react/layout/target/PanelTargets.d.ts.map +1 -0
  359. package/lib/cjs/appui-react/layout/target/PanelTargets.js +67 -0
  360. package/lib/cjs/appui-react/layout/target/PanelTargets.js.map +1 -0
  361. package/lib/cjs/appui-react/layout/target/PanelTargets.scss +50 -0
  362. package/lib/cjs/appui-react/layout/target/SectionTarget.d.ts +17 -0
  363. package/lib/cjs/appui-react/layout/target/SectionTarget.d.ts.map +1 -0
  364. package/lib/cjs/appui-react/layout/target/SectionTarget.js +67 -0
  365. package/lib/cjs/appui-react/layout/target/SectionTarget.js.map +1 -0
  366. package/lib/cjs/appui-react/layout/target/SectionTarget.scss +50 -0
  367. package/lib/cjs/appui-react/layout/target/SectionTargets.d.ts +13 -0
  368. package/lib/cjs/appui-react/layout/target/SectionTargets.d.ts.map +1 -0
  369. package/lib/cjs/appui-react/layout/target/SectionTargets.js +26 -0
  370. package/lib/cjs/appui-react/layout/target/SectionTargets.js.map +1 -0
  371. package/lib/cjs/appui-react/layout/target/SectionTargets.scss +13 -0
  372. package/lib/cjs/appui-react/layout/target/TabTarget.d.ts +8 -0
  373. package/lib/cjs/appui-react/layout/target/TabTarget.d.ts.map +1 -0
  374. package/lib/cjs/appui-react/layout/target/TabTarget.js +63 -0
  375. package/lib/cjs/appui-react/layout/target/TabTarget.js.map +1 -0
  376. package/lib/cjs/appui-react/layout/target/TabTarget.scss +30 -0
  377. package/lib/cjs/appui-react/layout/target/TargetContainer.d.ts +14 -0
  378. package/lib/cjs/appui-react/layout/target/TargetContainer.d.ts.map +1 -0
  379. package/lib/cjs/appui-react/layout/target/TargetContainer.js +20 -0
  380. package/lib/cjs/appui-react/layout/target/TargetContainer.js.map +1 -0
  381. package/lib/cjs/appui-react/layout/target/TargetContainer.scss +17 -0
  382. package/lib/cjs/appui-react/layout/target/TitleBarTarget.d.ts +8 -0
  383. package/lib/cjs/appui-react/layout/target/TitleBarTarget.d.ts.map +1 -0
  384. package/lib/cjs/appui-react/layout/target/TitleBarTarget.js +52 -0
  385. package/lib/cjs/appui-react/layout/target/TitleBarTarget.js.map +1 -0
  386. package/lib/cjs/appui-react/layout/target/TitleBarTarget.scss +17 -0
  387. package/lib/cjs/appui-react/layout/target/WidgetTarget.d.ts +8 -0
  388. package/lib/cjs/appui-react/layout/target/WidgetTarget.d.ts.map +1 -0
  389. package/lib/cjs/appui-react/layout/target/WidgetTarget.js +25 -0
  390. package/lib/cjs/appui-react/layout/target/WidgetTarget.js.map +1 -0
  391. package/lib/cjs/appui-react/layout/target/WidgetTarget.scss +11 -0
  392. package/lib/cjs/appui-react/layout/target/_variables.scss +64 -0
  393. package/lib/cjs/appui-react/layout/target/useAllowedPanelTarget.d.ts +5 -0
  394. package/lib/cjs/appui-react/layout/target/useAllowedPanelTarget.d.ts.map +1 -0
  395. package/lib/cjs/appui-react/layout/target/useAllowedPanelTarget.js +24 -0
  396. package/lib/cjs/appui-react/layout/target/useAllowedPanelTarget.js.map +1 -0
  397. package/lib/cjs/appui-react/layout/target/useAllowedSideTarget.d.ts +9 -0
  398. package/lib/cjs/appui-react/layout/target/useAllowedSideTarget.d.ts.map +1 -0
  399. package/lib/cjs/appui-react/layout/target/useAllowedSideTarget.js +56 -0
  400. package/lib/cjs/appui-react/layout/target/useAllowedSideTarget.js.map +1 -0
  401. package/lib/cjs/appui-react/layout/target/useAllowedWidgetTarget.d.ts +6 -0
  402. package/lib/cjs/appui-react/layout/target/useAllowedWidgetTarget.d.ts.map +1 -0
  403. package/lib/cjs/appui-react/layout/target/useAllowedWidgetTarget.js +33 -0
  404. package/lib/cjs/appui-react/layout/target/useAllowedWidgetTarget.js.map +1 -0
  405. package/lib/cjs/appui-react/layout/tool-settings/Docked.d.ts +50 -0
  406. package/lib/cjs/appui-react/layout/tool-settings/Docked.d.ts.map +1 -0
  407. package/lib/cjs/appui-react/layout/tool-settings/Docked.js +265 -0
  408. package/lib/cjs/appui-react/layout/tool-settings/Docked.js.map +1 -0
  409. package/lib/cjs/appui-react/layout/tool-settings/Docked.scss +48 -0
  410. package/lib/cjs/appui-react/layout/tool-settings/Handle.d.ts +17 -0
  411. package/lib/cjs/appui-react/layout/tool-settings/Handle.d.ts.map +1 -0
  412. package/lib/cjs/appui-react/layout/tool-settings/Handle.js +45 -0
  413. package/lib/cjs/appui-react/layout/tool-settings/Handle.js.map +1 -0
  414. package/lib/cjs/appui-react/layout/tool-settings/Handle.scss +23 -0
  415. package/lib/cjs/appui-react/layout/tool-settings/Overflow.d.ts +20 -0
  416. package/lib/cjs/appui-react/layout/tool-settings/Overflow.d.ts.map +1 -0
  417. package/lib/cjs/appui-react/layout/tool-settings/Overflow.js +30 -0
  418. package/lib/cjs/appui-react/layout/tool-settings/Overflow.js.map +1 -0
  419. package/lib/cjs/appui-react/layout/tool-settings/Overflow.scss +28 -0
  420. package/lib/cjs/appui-react/layout/tool-settings/Panel.d.ts +21 -0
  421. package/lib/cjs/appui-react/layout/tool-settings/Panel.d.ts.map +1 -0
  422. package/lib/cjs/appui-react/layout/tool-settings/Panel.js +23 -0
  423. package/lib/cjs/appui-react/layout/tool-settings/Panel.js.map +1 -0
  424. package/lib/cjs/appui-react/layout/tool-settings/Panel.scss +11 -0
  425. package/lib/cjs/appui-react/layout/tool-settings/Setting.d.ts +18 -0
  426. package/lib/cjs/appui-react/layout/tool-settings/Setting.d.ts.map +1 -0
  427. package/lib/cjs/appui-react/layout/tool-settings/Setting.js +26 -0
  428. package/lib/cjs/appui-react/layout/tool-settings/Setting.js.map +1 -0
  429. package/lib/cjs/appui-react/layout/tool-settings/Setting.scss +22 -0
  430. package/lib/cjs/appui-react/layout/widget/Button.d.ts +7 -0
  431. package/lib/cjs/appui-react/layout/widget/Button.d.ts.map +1 -0
  432. package/lib/cjs/appui-react/layout/widget/Button.js +17 -0
  433. package/lib/cjs/appui-react/layout/widget/Button.js.map +1 -0
  434. package/lib/cjs/appui-react/layout/widget/Buttons.d.ts +12 -0
  435. package/lib/cjs/appui-react/layout/widget/Buttons.d.ts.map +1 -0
  436. package/lib/cjs/appui-react/layout/widget/Buttons.js +85 -0
  437. package/lib/cjs/appui-react/layout/widget/Buttons.js.map +1 -0
  438. package/lib/cjs/appui-react/layout/widget/Buttons.scss +10 -0
  439. package/lib/cjs/appui-react/layout/widget/Content.d.ts +19 -0
  440. package/lib/cjs/appui-react/layout/widget/Content.d.ts.map +1 -0
  441. package/lib/cjs/appui-react/layout/widget/Content.js +36 -0
  442. package/lib/cjs/appui-react/layout/widget/Content.js.map +1 -0
  443. package/lib/cjs/appui-react/layout/widget/Content.scss +13 -0
  444. package/lib/cjs/appui-react/layout/widget/ContentContainer.d.ts +12 -0
  445. package/lib/cjs/appui-react/layout/widget/ContentContainer.d.ts.map +1 -0
  446. package/lib/cjs/appui-react/layout/widget/ContentContainer.js +39 -0
  447. package/lib/cjs/appui-react/layout/widget/ContentContainer.js.map +1 -0
  448. package/lib/cjs/appui-react/layout/widget/ContentContainer.scss +24 -0
  449. package/lib/cjs/appui-react/layout/widget/ContentManager.d.ts +30 -0
  450. package/lib/cjs/appui-react/layout/widget/ContentManager.d.ts.map +1 -0
  451. package/lib/cjs/appui-react/layout/widget/ContentManager.js +44 -0
  452. package/lib/cjs/appui-react/layout/widget/ContentManager.js.map +1 -0
  453. package/lib/cjs/appui-react/layout/widget/ContentRenderer.d.ts +20 -0
  454. package/lib/cjs/appui-react/layout/widget/ContentRenderer.d.ts.map +1 -0
  455. package/lib/cjs/appui-react/layout/widget/ContentRenderer.js +81 -0
  456. package/lib/cjs/appui-react/layout/widget/ContentRenderer.js.map +1 -0
  457. package/lib/cjs/appui-react/layout/widget/ContentRenderer.scss +18 -0
  458. package/lib/cjs/appui-react/layout/widget/Dock.d.ts +7 -0
  459. package/lib/cjs/appui-react/layout/widget/Dock.d.ts.map +1 -0
  460. package/lib/cjs/appui-react/layout/widget/Dock.js +26 -0
  461. package/lib/cjs/appui-react/layout/widget/Dock.js.map +1 -0
  462. package/lib/cjs/appui-react/layout/widget/FloatingTab.d.ts +10 -0
  463. package/lib/cjs/appui-react/layout/widget/FloatingTab.d.ts.map +1 -0
  464. package/lib/cjs/appui-react/layout/widget/FloatingTab.js +68 -0
  465. package/lib/cjs/appui-react/layout/widget/FloatingTab.js.map +1 -0
  466. package/lib/cjs/appui-react/layout/widget/FloatingTab.scss +35 -0
  467. package/lib/cjs/appui-react/layout/widget/FloatingWidget.d.ts +33 -0
  468. package/lib/cjs/appui-react/layout/widget/FloatingWidget.d.ts.map +1 -0
  469. package/lib/cjs/appui-react/layout/widget/FloatingWidget.js +276 -0
  470. package/lib/cjs/appui-react/layout/widget/FloatingWidget.js.map +1 -0
  471. package/lib/cjs/appui-react/layout/widget/FloatingWidget.scss +140 -0
  472. package/lib/cjs/appui-react/layout/widget/FloatingWidgets.d.ts +9 -0
  473. package/lib/cjs/appui-react/layout/widget/FloatingWidgets.d.ts.map +1 -0
  474. package/lib/cjs/appui-react/layout/widget/FloatingWidgets.js +27 -0
  475. package/lib/cjs/appui-react/layout/widget/FloatingWidgets.js.map +1 -0
  476. package/lib/cjs/appui-react/layout/widget/Menu.d.ts +16 -0
  477. package/lib/cjs/appui-react/layout/widget/Menu.d.ts.map +1 -0
  478. package/lib/cjs/appui-react/layout/widget/Menu.js +23 -0
  479. package/lib/cjs/appui-react/layout/widget/Menu.js.map +1 -0
  480. package/lib/cjs/appui-react/layout/widget/Menu.scss +14 -0
  481. package/lib/cjs/appui-react/layout/widget/MenuTab.d.ts +13 -0
  482. package/lib/cjs/appui-react/layout/widget/MenuTab.d.ts.map +1 -0
  483. package/lib/cjs/appui-react/layout/widget/MenuTab.js +56 -0
  484. package/lib/cjs/appui-react/layout/widget/MenuTab.js.map +1 -0
  485. package/lib/cjs/appui-react/layout/widget/MenuTab.scss +58 -0
  486. package/lib/cjs/appui-react/layout/widget/NavigationArea.d.ts +30 -0
  487. package/lib/cjs/appui-react/layout/widget/NavigationArea.d.ts.map +1 -0
  488. package/lib/cjs/appui-react/layout/widget/NavigationArea.js +26 -0
  489. package/lib/cjs/appui-react/layout/widget/NavigationArea.js.map +1 -0
  490. package/lib/cjs/appui-react/layout/widget/NavigationArea.scss +55 -0
  491. package/lib/cjs/appui-react/layout/widget/Overflow.d.ts +20 -0
  492. package/lib/cjs/appui-react/layout/widget/Overflow.d.ts.map +1 -0
  493. package/lib/cjs/appui-react/layout/widget/Overflow.js +60 -0
  494. package/lib/cjs/appui-react/layout/widget/Overflow.js.map +1 -0
  495. package/lib/cjs/appui-react/layout/widget/Overflow.scss +59 -0
  496. package/lib/cjs/appui-react/layout/widget/PanelWidget.d.ts +22 -0
  497. package/lib/cjs/appui-react/layout/widget/PanelWidget.d.ts.map +1 -0
  498. package/lib/cjs/appui-react/layout/widget/PanelWidget.js +154 -0
  499. package/lib/cjs/appui-react/layout/widget/PanelWidget.js.map +1 -0
  500. package/lib/cjs/appui-react/layout/widget/PanelWidget.scss +62 -0
  501. package/lib/cjs/appui-react/layout/widget/PinToggle.d.ts +7 -0
  502. package/lib/cjs/appui-react/layout/widget/PinToggle.d.ts.map +1 -0
  503. package/lib/cjs/appui-react/layout/widget/PinToggle.js +34 -0
  504. package/lib/cjs/appui-react/layout/widget/PinToggle.js.map +1 -0
  505. package/lib/cjs/appui-react/layout/widget/PopoutToggle.d.ts +9 -0
  506. package/lib/cjs/appui-react/layout/widget/PopoutToggle.d.ts.map +1 -0
  507. package/lib/cjs/appui-react/layout/widget/PopoutToggle.js +39 -0
  508. package/lib/cjs/appui-react/layout/widget/PopoutToggle.js.map +1 -0
  509. package/lib/cjs/appui-react/layout/widget/PreviewHorizontalPanelAlign.d.ts +29 -0
  510. package/lib/cjs/appui-react/layout/widget/PreviewHorizontalPanelAlign.d.ts.map +1 -0
  511. package/lib/cjs/appui-react/layout/widget/PreviewHorizontalPanelAlign.js +120 -0
  512. package/lib/cjs/appui-react/layout/widget/PreviewHorizontalPanelAlign.js.map +1 -0
  513. package/lib/cjs/appui-react/layout/widget/PreviewMaximizeToggle.d.ts +30 -0
  514. package/lib/cjs/appui-react/layout/widget/PreviewMaximizeToggle.d.ts.map +1 -0
  515. package/lib/cjs/appui-react/layout/widget/PreviewMaximizeToggle.js +65 -0
  516. package/lib/cjs/appui-react/layout/widget/PreviewMaximizeToggle.js.map +1 -0
  517. package/lib/cjs/appui-react/layout/widget/SendBack.d.ts +41 -0
  518. package/lib/cjs/appui-react/layout/widget/SendBack.d.ts.map +1 -0
  519. package/lib/cjs/appui-react/layout/widget/SendBack.js +111 -0
  520. package/lib/cjs/appui-react/layout/widget/SendBack.js.map +1 -0
  521. package/lib/cjs/appui-react/layout/widget/Tab.d.ts +44 -0
  522. package/lib/cjs/appui-react/layout/widget/Tab.d.ts.map +1 -0
  523. package/lib/cjs/appui-react/layout/widget/Tab.js +252 -0
  524. package/lib/cjs/appui-react/layout/widget/Tab.js.map +1 -0
  525. package/lib/cjs/appui-react/layout/widget/Tab.scss +82 -0
  526. package/lib/cjs/appui-react/layout/widget/TabBar.d.ts +18 -0
  527. package/lib/cjs/appui-react/layout/widget/TabBar.d.ts.map +1 -0
  528. package/lib/cjs/appui-react/layout/widget/TabBar.js +127 -0
  529. package/lib/cjs/appui-react/layout/widget/TabBar.js.map +1 -0
  530. package/lib/cjs/appui-react/layout/widget/TabBar.scss +30 -0
  531. package/lib/cjs/appui-react/layout/widget/Tabs.d.ts +24 -0
  532. package/lib/cjs/appui-react/layout/widget/Tabs.d.ts.map +1 -0
  533. package/lib/cjs/appui-react/layout/widget/Tabs.js +88 -0
  534. package/lib/cjs/appui-react/layout/widget/Tabs.js.map +1 -0
  535. package/lib/cjs/appui-react/layout/widget/Tabs.scss +10 -0
  536. package/lib/cjs/appui-react/layout/widget/ToolsArea.d.ts +32 -0
  537. package/lib/cjs/appui-react/layout/widget/ToolsArea.d.ts.map +1 -0
  538. package/lib/cjs/appui-react/layout/widget/ToolsArea.js +32 -0
  539. package/lib/cjs/appui-react/layout/widget/ToolsArea.js.map +1 -0
  540. package/lib/cjs/appui-react/layout/widget/ToolsArea.scss +49 -0
  541. package/lib/cjs/appui-react/layout/widget/Widget.d.ts +38 -0
  542. package/lib/cjs/appui-react/layout/widget/Widget.d.ts.map +1 -0
  543. package/lib/cjs/appui-react/layout/widget/Widget.js +150 -0
  544. package/lib/cjs/appui-react/layout/widget/Widget.js.map +1 -0
  545. package/lib/cjs/appui-react/layout/widget/Widget.scss +12 -0
  546. package/lib/cjs/appui-react/layout/widget/_variables.scss +46 -0
  547. package/lib/cjs/appui-react/layout/widget/tools/button/App.d.ts +24 -0
  548. package/lib/cjs/appui-react/layout/widget/tools/button/App.d.ts.map +1 -0
  549. package/lib/cjs/appui-react/layout/widget/tools/button/App.js +33 -0
  550. package/lib/cjs/appui-react/layout/widget/tools/button/App.js.map +1 -0
  551. package/lib/cjs/appui-react/layout/widget/tools/button/App.scss +79 -0
  552. package/lib/cjs/appui-react/layout/widget/tools/button/Back.d.ts +20 -0
  553. package/lib/cjs/appui-react/layout/widget/tools/button/Back.d.ts.map +1 -0
  554. package/lib/cjs/appui-react/layout/widget/tools/button/Back.js +27 -0
  555. package/lib/cjs/appui-react/layout/widget/tools/button/Back.js.map +1 -0
  556. package/lib/cjs/appui-react/layout/widget/tools/button/Back.scss +9 -0
  557. package/lib/cjs/appui-react/layout/widget/tools/button/Button.d.ts +28 -0
  558. package/lib/cjs/appui-react/layout/widget/tools/button/Button.d.ts.map +1 -0
  559. package/lib/cjs/appui-react/layout/widget/tools/button/Button.js +44 -0
  560. package/lib/cjs/appui-react/layout/widget/tools/button/Button.js.map +1 -0
  561. package/lib/cjs/appui-react/layout/widget/tools/button/Button.scss +52 -0
  562. package/lib/cjs/appui-react/layout/widget/tools/button/Expandable.d.ts +20 -0
  563. package/lib/cjs/appui-react/layout/widget/tools/button/Expandable.d.ts.map +1 -0
  564. package/lib/cjs/appui-react/layout/widget/tools/button/Expandable.js +26 -0
  565. package/lib/cjs/appui-react/layout/widget/tools/button/Expandable.js.map +1 -0
  566. package/lib/cjs/appui-react/layout/widget/tools/button/Expandable.scss +46 -0
  567. package/lib/cjs/appui-react/layout/widget/tools/button/Icon.d.ts +25 -0
  568. package/lib/cjs/appui-react/layout/widget/tools/button/Icon.d.ts.map +1 -0
  569. package/lib/cjs/appui-react/layout/widget/tools/button/Icon.js +29 -0
  570. package/lib/cjs/appui-react/layout/widget/tools/button/Icon.js.map +1 -0
  571. package/lib/cjs/appui-react/layout/widget/tools/button/Icon.scss +49 -0
  572. package/lib/cjs/appui-react/layout/widget/tools/button/_variables.scss +38 -0
  573. package/lib/cjs/appui-react/layout/widget/useIsToolSettingsTab.d.ts +6 -0
  574. package/lib/cjs/appui-react/layout/widget/useIsToolSettingsTab.d.ts.map +1 -0
  575. package/lib/cjs/appui-react/layout/widget/useIsToolSettingsTab.js +20 -0
  576. package/lib/cjs/appui-react/layout/widget/useIsToolSettingsTab.js.map +1 -0
  577. package/lib/cjs/appui-react/layout/widget-panels/AppContent.d.ts +11 -0
  578. package/lib/cjs/appui-react/layout/widget-panels/AppContent.d.ts.map +1 -0
  579. package/lib/cjs/appui-react/layout/widget-panels/AppContent.js +80 -0
  580. package/lib/cjs/appui-react/layout/widget-panels/AppContent.js.map +1 -0
  581. package/lib/cjs/appui-react/layout/widget-panels/CenterContent.d.ts +10 -0
  582. package/lib/cjs/appui-react/layout/widget-panels/CenterContent.d.ts.map +1 -0
  583. package/lib/cjs/appui-react/layout/widget-panels/CenterContent.js +23 -0
  584. package/lib/cjs/appui-react/layout/widget-panels/CenterContent.js.map +1 -0
  585. package/lib/cjs/appui-react/layout/widget-panels/CenterContent.scss +7 -0
  586. package/lib/cjs/appui-react/layout/widget-panels/Content.d.ts +21 -0
  587. package/lib/cjs/appui-react/layout/widget-panels/Content.d.ts.map +1 -0
  588. package/lib/cjs/appui-react/layout/widget-panels/Content.js +21 -0
  589. package/lib/cjs/appui-react/layout/widget-panels/Content.js.map +1 -0
  590. package/lib/cjs/appui-react/layout/widget-panels/Content.scss +37 -0
  591. package/lib/cjs/appui-react/layout/widget-panels/CursorOverlay.d.ts +14 -0
  592. package/lib/cjs/appui-react/layout/widget-panels/CursorOverlay.d.ts.map +1 -0
  593. package/lib/cjs/appui-react/layout/widget-panels/CursorOverlay.js +34 -0
  594. package/lib/cjs/appui-react/layout/widget-panels/CursorOverlay.js.map +1 -0
  595. package/lib/cjs/appui-react/layout/widget-panels/CursorOverlay.scss +26 -0
  596. package/lib/cjs/appui-react/layout/widget-panels/Expander.d.ts +17 -0
  597. package/lib/cjs/appui-react/layout/widget-panels/Expander.d.ts.map +1 -0
  598. package/lib/cjs/appui-react/layout/widget-panels/Expander.js +63 -0
  599. package/lib/cjs/appui-react/layout/widget-panels/Expander.js.map +1 -0
  600. package/lib/cjs/appui-react/layout/widget-panels/Expander.scss +37 -0
  601. package/lib/cjs/appui-react/layout/widget-panels/Grip.d.ts +15 -0
  602. package/lib/cjs/appui-react/layout/widget-panels/Grip.d.ts.map +1 -0
  603. package/lib/cjs/appui-react/layout/widget-panels/Grip.js +209 -0
  604. package/lib/cjs/appui-react/layout/widget-panels/Grip.js.map +1 -0
  605. package/lib/cjs/appui-react/layout/widget-panels/Grip.scss +138 -0
  606. package/lib/cjs/appui-react/layout/widget-panels/Panel.d.ts +37 -0
  607. package/lib/cjs/appui-react/layout/widget-panels/Panel.d.ts.map +1 -0
  608. package/lib/cjs/appui-react/layout/widget-panels/Panel.js +124 -0
  609. package/lib/cjs/appui-react/layout/widget-panels/Panel.js.map +1 -0
  610. package/lib/cjs/appui-react/layout/widget-panels/Panel.scss +327 -0
  611. package/lib/cjs/appui-react/layout/widget-panels/PanelSections.d.ts +7 -0
  612. package/lib/cjs/appui-react/layout/widget-panels/PanelSections.d.ts.map +1 -0
  613. package/lib/cjs/appui-react/layout/widget-panels/PanelSections.js +118 -0
  614. package/lib/cjs/appui-react/layout/widget-panels/PanelSections.js.map +1 -0
  615. package/lib/cjs/appui-react/layout/widget-panels/PanelTypes.d.ts +15 -0
  616. package/lib/cjs/appui-react/layout/widget-panels/PanelTypes.d.ts.map +1 -0
  617. package/lib/cjs/appui-react/layout/widget-panels/PanelTypes.js +3 -0
  618. package/lib/cjs/appui-react/layout/widget-panels/PanelTypes.js.map +1 -0
  619. package/lib/cjs/appui-react/layout/widget-panels/Panels.d.ts +24 -0
  620. package/lib/cjs/appui-react/layout/widget-panels/Panels.d.ts.map +1 -0
  621. package/lib/cjs/appui-react/layout/widget-panels/Panels.js +48 -0
  622. package/lib/cjs/appui-react/layout/widget-panels/Panels.js.map +1 -0
  623. package/lib/cjs/appui-react/layout/widget-panels/Panels.scss +70 -0
  624. package/lib/cjs/appui-react/layout/widget-panels/_variables.scss +6 -0
  625. package/lib/cjs/appui-react/layout/widget-panels/useAnimatePanel.d.ts +13 -0
  626. package/lib/cjs/appui-react/layout/widget-panels/useAnimatePanel.d.ts.map +1 -0
  627. package/lib/cjs/appui-react/layout/widget-panels/useAnimatePanel.js +171 -0
  628. package/lib/cjs/appui-react/layout/widget-panels/useAnimatePanel.js.map +1 -0
  629. package/lib/cjs/appui-react/messages/HollowIcon.d.ts +2 -2
  630. package/lib/cjs/appui-react/messages/HollowIcon.d.ts.map +1 -1
  631. package/lib/cjs/appui-react/messages/MessageLabel.d.ts +2 -2
  632. package/lib/cjs/appui-react/messages/MessageLabel.d.ts.map +1 -1
  633. package/lib/cjs/appui-react/messages/MessageManager.js +2 -4
  634. package/lib/cjs/appui-react/messages/MessageManager.js.map +1 -1
  635. package/lib/cjs/appui-react/messages/MessageRenderer.js +5 -7
  636. package/lib/cjs/appui-react/messages/MessageRenderer.js.map +1 -1
  637. package/lib/cjs/appui-react/messages/Pointer.d.ts +2 -2
  638. package/lib/cjs/appui-react/messages/Pointer.d.ts.map +1 -1
  639. package/lib/cjs/appui-react/messages/Pointer.js +4 -4
  640. package/lib/cjs/appui-react/messages/Pointer.js.map +1 -1
  641. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.d.ts +2 -2
  642. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.d.ts +2 -2
  643. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
  644. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js +18 -17
  645. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
  646. package/lib/cjs/appui-react/pickers/ListPicker.d.ts +3 -3
  647. package/lib/cjs/appui-react/pickers/ListPicker.scss +1 -1
  648. package/lib/cjs/appui-react/pickers/ViewSelector.d.ts +1 -1
  649. package/lib/cjs/appui-react/pickers/ViewSelector.js +5 -6
  650. package/lib/cjs/appui-react/pickers/ViewSelector.js.map +1 -1
  651. package/lib/cjs/appui-react/popup/CardPopup.d.ts +2 -2
  652. package/lib/cjs/appui-react/popup/CardPopup.d.ts.map +1 -1
  653. package/lib/cjs/appui-react/popup/HTMLElementPopup.d.ts +1 -1
  654. package/lib/cjs/appui-react/popup/InputEditorPopup.d.ts +1 -1
  655. package/lib/cjs/appui-react/popup/KeyinPalettePanel.d.ts +2 -2
  656. package/lib/cjs/appui-react/popup/KeyinPalettePanel.d.ts.map +1 -1
  657. package/lib/cjs/appui-react/popup/KeyinPalettePanel.js +1 -2
  658. package/lib/cjs/appui-react/popup/KeyinPalettePanel.js.map +1 -1
  659. package/lib/cjs/appui-react/popup/KeyinPalettePopup.d.ts +2 -2
  660. package/lib/cjs/appui-react/popup/KeyinPalettePopup.d.ts.map +1 -1
  661. package/lib/cjs/appui-react/popup/PopupManager.d.ts +2 -2
  662. package/lib/cjs/appui-react/popup/PopupManager.d.ts.map +1 -1
  663. package/lib/cjs/appui-react/popup/PopupManager.js +5 -6
  664. package/lib/cjs/appui-react/popup/PopupManager.js.map +1 -1
  665. package/lib/cjs/appui-react/popup/PositionPopup.d.ts +2 -2
  666. package/lib/cjs/appui-react/popup/PositionPopup.d.ts.map +1 -1
  667. package/lib/cjs/appui-react/popup/ToolSettingsPopup.d.ts +1 -1
  668. package/lib/cjs/appui-react/popup/ToolbarPopup.d.ts +1 -1
  669. package/lib/cjs/appui-react/preview/PreviewFeatures.d.ts +30 -3
  670. package/lib/cjs/appui-react/preview/PreviewFeatures.d.ts.map +1 -1
  671. package/lib/cjs/appui-react/preview/PreviewFeatures.js +4 -1
  672. package/lib/cjs/appui-react/preview/PreviewFeatures.js.map +1 -1
  673. package/lib/cjs/appui-react/preview/widget-action-dropdown/Button.d.ts +17 -0
  674. package/lib/cjs/appui-react/preview/widget-action-dropdown/Button.d.ts.map +1 -0
  675. package/lib/cjs/appui-react/preview/widget-action-dropdown/Button.js +24 -0
  676. package/lib/cjs/appui-react/preview/widget-action-dropdown/Button.js.map +1 -0
  677. package/lib/cjs/appui-react/preview/widget-action-dropdown/MoreButton.d.ts +13 -0
  678. package/lib/cjs/appui-react/preview/widget-action-dropdown/MoreButton.d.ts.map +1 -0
  679. package/lib/cjs/appui-react/preview/widget-action-dropdown/MoreButton.js +68 -0
  680. package/lib/cjs/appui-react/preview/widget-action-dropdown/MoreButton.js.map +1 -0
  681. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.d.ts +2 -2
  682. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.d.ts.map +1 -1
  683. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.js +3 -1
  684. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
  685. package/lib/cjs/appui-react/selection/SelectionContextItemDef.js +2 -2
  686. package/lib/cjs/appui-react/selection/SelectionContextItemDef.js.map +1 -1
  687. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.d.ts +2 -2
  688. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.d.ts.map +1 -1
  689. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js +2 -1
  690. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
  691. package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts +2 -2
  692. package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts.map +1 -1
  693. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts +2 -2
  694. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
  695. package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts +2 -1
  696. package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
  697. package/lib/cjs/appui-react/stagepanels/StagePanelDef.js +14 -19
  698. package/lib/cjs/appui-react/stagepanels/StagePanelDef.js.map +1 -1
  699. package/lib/cjs/appui-react/statusbar/Field.d.ts +2 -2
  700. package/lib/cjs/appui-react/statusbar/Field.d.ts.map +1 -1
  701. package/lib/cjs/appui-react/statusbar/Field.js +3 -3
  702. package/lib/cjs/appui-react/statusbar/Field.js.map +1 -1
  703. package/lib/cjs/appui-react/statusbar/Field.scss +1 -1
  704. package/lib/cjs/appui-react/statusbar/Indicator.d.ts +1 -1
  705. package/lib/cjs/appui-react/statusbar/Indicator.d.ts.map +1 -1
  706. package/lib/cjs/appui-react/statusbar/Indicator.js +1 -2
  707. package/lib/cjs/appui-react/statusbar/Indicator.js.map +1 -1
  708. package/lib/cjs/appui-react/statusbar/LabelIndicator.d.ts +2 -2
  709. package/lib/cjs/appui-react/statusbar/LabelIndicator.d.ts.map +1 -1
  710. package/lib/cjs/appui-react/statusbar/LabelIndicator.scss +1 -1
  711. package/lib/cjs/appui-react/statusbar/Overflow.d.ts +2 -2
  712. package/lib/cjs/appui-react/statusbar/Overflow.d.ts.map +1 -1
  713. package/lib/cjs/appui-react/statusbar/Overflow.js +4 -4
  714. package/lib/cjs/appui-react/statusbar/Overflow.js.map +1 -1
  715. package/lib/cjs/appui-react/statusbar/OverflowPanel.d.ts +1 -1
  716. package/lib/cjs/appui-react/statusbar/OverflowPanel.d.ts.map +1 -1
  717. package/lib/cjs/appui-react/statusbar/Popup.d.ts +2 -2
  718. package/lib/cjs/appui-react/statusbar/Popup.d.ts.map +1 -1
  719. package/lib/cjs/appui-react/statusbar/Popup.js +2 -2
  720. package/lib/cjs/appui-react/statusbar/Popup.js.map +1 -1
  721. package/lib/cjs/appui-react/statusbar/Separator.d.ts +2 -2
  722. package/lib/cjs/appui-react/statusbar/Separator.d.ts.map +1 -1
  723. package/lib/cjs/appui-react/statusbar/Separator.scss +1 -1
  724. package/lib/cjs/appui-react/statusbar/StatusBar.d.ts +7 -7
  725. package/lib/cjs/appui-react/statusbar/StatusBar.d.ts.map +1 -1
  726. package/lib/cjs/appui-react/statusbar/StatusBar.js +7 -10
  727. package/lib/cjs/appui-react/statusbar/StatusBar.js.map +1 -1
  728. package/lib/cjs/appui-react/statusbar/StatusBarComposer.d.ts +3 -3
  729. package/lib/cjs/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
  730. package/lib/cjs/appui-react/statusbar/StatusBarComposer.js +7 -7
  731. package/lib/cjs/appui-react/statusbar/StatusBarComposer.js.map +1 -1
  732. package/lib/cjs/appui-react/statusbar/dialog/Button.d.ts +2 -2
  733. package/lib/cjs/appui-react/statusbar/dialog/Button.d.ts.map +1 -1
  734. package/lib/cjs/appui-react/statusbar/dialog/Button.js +2 -2
  735. package/lib/cjs/appui-react/statusbar/dialog/Button.js.map +1 -1
  736. package/lib/cjs/appui-react/statusbar/dialog/Dialog.d.ts +3 -3
  737. package/lib/cjs/appui-react/statusbar/dialog/Dialog.d.ts.map +1 -1
  738. package/lib/cjs/appui-react/statusbar/dialog/Dialog.js +3 -3
  739. package/lib/cjs/appui-react/statusbar/dialog/Dialog.js.map +1 -1
  740. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.d.ts +2 -2
  741. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.d.ts.map +1 -1
  742. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.js +2 -2
  743. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
  744. package/lib/cjs/appui-react/statusfields/ActivityCenter.d.ts +2 -2
  745. package/lib/cjs/appui-react/statusfields/ActivityCenter.d.ts.map +1 -1
  746. package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
  747. package/lib/cjs/appui-react/statusfields/MessageCenter.js +12 -8
  748. package/lib/cjs/appui-react/statusfields/MessageCenter.js.map +1 -1
  749. package/lib/cjs/appui-react/statusfields/SectionsField.d.ts +3 -3
  750. package/lib/cjs/appui-react/statusfields/SectionsField.d.ts.map +1 -1
  751. package/lib/cjs/appui-react/statusfields/SectionsField.js +9 -8
  752. package/lib/cjs/appui-react/statusfields/SectionsField.js.map +1 -1
  753. package/lib/cjs/appui-react/statusfields/SelectionCount.d.ts +3 -3
  754. package/lib/cjs/appui-react/statusfields/SelectionCount.d.ts.map +1 -1
  755. package/lib/cjs/appui-react/statusfields/SelectionCount.js +5 -5
  756. package/lib/cjs/appui-react/statusfields/SelectionCount.js.map +1 -1
  757. package/lib/cjs/appui-react/statusfields/SelectionInfo.d.ts +2 -2
  758. package/lib/cjs/appui-react/statusfields/SelectionInfo.d.ts.map +1 -1
  759. package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts +4 -4
  760. package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
  761. package/lib/cjs/appui-react/statusfields/SelectionScope.js +4 -4
  762. package/lib/cjs/appui-react/statusfields/SelectionScope.js.map +1 -1
  763. package/lib/cjs/appui-react/statusfields/SelectionScope.scss +1 -1
  764. package/lib/cjs/appui-react/statusfields/SnapMode.d.ts +2 -2
  765. package/lib/cjs/appui-react/statusfields/SnapMode.d.ts.map +1 -1
  766. package/lib/cjs/appui-react/statusfields/SnapMode.js +12 -11
  767. package/lib/cjs/appui-react/statusfields/SnapMode.js.map +1 -1
  768. package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts +1 -1
  769. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +1 -1
  770. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +2 -2
  771. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
  772. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js +23 -18
  773. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
  774. package/lib/cjs/appui-react/theme/ThemeManager.d.ts +1 -0
  775. package/lib/cjs/appui-react/theme/ThemeManager.d.ts.map +1 -1
  776. package/lib/cjs/appui-react/theme/ThemeManager.js +3 -2
  777. package/lib/cjs/appui-react/theme/ThemeManager.js.map +1 -1
  778. package/lib/cjs/appui-react/theme/ThemeManager.scss +9 -0
  779. package/lib/cjs/appui-react/toolbar/Toolbar.d.ts +1 -1
  780. package/lib/cjs/appui-react/toolbar/Toolbar.d.ts.map +1 -1
  781. package/lib/cjs/appui-react/toolbar/ToolbarComposer.d.ts +2 -2
  782. package/lib/cjs/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
  783. package/lib/cjs/appui-react/toolbar/ToolbarHelper.js +6 -4
  784. package/lib/cjs/appui-react/toolbar/ToolbarHelper.js.map +1 -1
  785. package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.d.ts +1 -1
  786. package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.d.ts.map +1 -1
  787. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js +3 -4
  788. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
  789. package/lib/cjs/appui-react/tools/CoreToolDefinitions.js +10 -17
  790. package/lib/cjs/appui-react/tools/CoreToolDefinitions.js.map +1 -1
  791. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js +3 -2
  792. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
  793. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.js +20 -22
  794. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.js.map +1 -1
  795. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +9 -10
  796. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
  797. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +1 -2
  798. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
  799. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js +8 -14
  800. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
  801. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js +1 -1
  802. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
  803. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.js +1 -1
  804. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.js.map +1 -1
  805. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.d.ts +4 -4
  806. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
  807. package/lib/cjs/appui-react/uistate/useUiStateStorage.d.ts +1 -1
  808. package/lib/cjs/appui-react/uistate/useUiStateStorage.d.ts.map +1 -1
  809. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.js +3 -3
  810. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.js.map +1 -1
  811. package/lib/cjs/appui-react/widget-panels/Content.d.ts +2 -2
  812. package/lib/cjs/appui-react/widget-panels/Content.d.ts.map +1 -1
  813. package/lib/cjs/appui-react/widget-panels/Content.js +19 -19
  814. package/lib/cjs/appui-react/widget-panels/Content.js.map +1 -1
  815. package/lib/cjs/appui-react/widget-panels/FloatingWidget.d.ts +2 -2
  816. package/lib/cjs/appui-react/widget-panels/FloatingWidget.d.ts.map +1 -1
  817. package/lib/cjs/appui-react/widget-panels/FloatingWidget.js +2 -2
  818. package/lib/cjs/appui-react/widget-panels/FloatingWidget.js.map +1 -1
  819. package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts +9 -7
  820. package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
  821. package/lib/cjs/appui-react/widget-panels/Frontstage.js +54 -43
  822. package/lib/cjs/appui-react/widget-panels/Frontstage.js.map +1 -1
  823. package/lib/cjs/appui-react/widget-panels/Frontstage.scss +6 -2
  824. package/lib/cjs/appui-react/widget-panels/FrontstageContent.d.ts +5 -2
  825. package/lib/cjs/appui-react/widget-panels/FrontstageContent.d.ts.map +1 -1
  826. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.d.ts +5 -2
  827. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.d.ts.map +1 -1
  828. package/lib/cjs/appui-react/widget-panels/StatusBar.d.ts +2 -2
  829. package/lib/cjs/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
  830. package/lib/cjs/appui-react/widget-panels/StatusBar.js +1 -1
  831. package/lib/cjs/appui-react/widget-panels/StatusBar.js.map +1 -1
  832. package/lib/cjs/appui-react/widget-panels/Tab.d.ts +3 -3
  833. package/lib/cjs/appui-react/widget-panels/Tab.d.ts.map +1 -1
  834. package/lib/cjs/appui-react/widget-panels/Tab.js +6 -6
  835. package/lib/cjs/appui-react/widget-panels/Tab.js.map +1 -1
  836. package/lib/cjs/appui-react/widget-panels/ToolSettings.d.ts +6 -6
  837. package/lib/cjs/appui-react/widget-panels/ToolSettings.d.ts.map +1 -1
  838. package/lib/cjs/appui-react/widget-panels/ToolSettings.js +24 -29
  839. package/lib/cjs/appui-react/widget-panels/ToolSettings.js.map +1 -1
  840. package/lib/cjs/appui-react/widget-panels/Toolbars.d.ts +2 -2
  841. package/lib/cjs/appui-react/widget-panels/Toolbars.d.ts.map +1 -1
  842. package/lib/cjs/appui-react/widget-panels/Toolbars.js +2 -3
  843. package/lib/cjs/appui-react/widget-panels/Toolbars.js.map +1 -1
  844. package/lib/cjs/appui-react/widget-panels/useTransientState.d.ts.map +1 -1
  845. package/lib/cjs/appui-react/widget-panels/useTransientState.js +6 -2
  846. package/lib/cjs/appui-react/widget-panels/useTransientState.js.map +1 -1
  847. package/lib/cjs/appui-react/widget-panels/useWidgetDirection.d.ts.map +1 -1
  848. package/lib/cjs/appui-react/widget-panels/useWidgetDirection.js +9 -6
  849. package/lib/cjs/appui-react/widget-panels/useWidgetDirection.js.map +1 -1
  850. package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts +2 -2
  851. package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
  852. package/lib/cjs/appui-react/widgets/BackstageAppButton.js +3 -3
  853. package/lib/cjs/appui-react/widgets/BackstageAppButton.js.map +1 -1
  854. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.d.ts +2 -2
  855. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.d.ts.map +1 -1
  856. package/lib/cjs/appui-react/widgets/BasicToolWidget.d.ts +2 -2
  857. package/lib/cjs/appui-react/widgets/BasicToolWidget.d.ts.map +1 -1
  858. package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.d.ts +1 -1
  859. package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.d.ts.map +1 -1
  860. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.d.ts +3 -3
  861. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
  862. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js +6 -6
  863. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
  864. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.d.ts +2 -2
  865. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.d.ts.map +1 -1
  866. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.js +3 -3
  867. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.js.map +1 -1
  868. package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.d.ts +2 -2
  869. package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.d.ts.map +1 -1
  870. package/lib/cjs/appui-react/widgets/WidgetDef.js +4 -5
  871. package/lib/cjs/appui-react/widgets/WidgetDef.js.map +1 -1
  872. package/lib/cjs/appui-react/widgets/WidgetHost.js +2 -3
  873. package/lib/cjs/appui-react/widgets/WidgetHost.js.map +1 -1
  874. package/lib/cjs/appui-react/widgets/useWidget.d.ts.map +1 -1
  875. package/lib/cjs/appui-react/widgets/useWidget.js +14 -13
  876. package/lib/cjs/appui-react/widgets/useWidget.js.map +1 -1
  877. package/lib/esm/appui-react/UiFramework.js +4 -7
  878. package/lib/esm/appui-react/UiFramework.js.map +1 -1
  879. package/lib/esm/appui-react/accudraw/AccuDrawDialog.d.ts +2 -2
  880. package/lib/esm/appui-react/accudraw/AccuDrawDialog.d.ts.map +1 -1
  881. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.d.ts +2 -2
  882. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.d.ts.map +1 -1
  883. package/lib/esm/appui-react/accudraw/AccuDrawWidget.d.ts +2 -2
  884. package/lib/esm/appui-react/accudraw/AccuDrawWidget.d.ts.map +1 -1
  885. package/lib/esm/appui-react/accudraw/Calculator.d.ts +1 -1
  886. package/lib/esm/appui-react/accudraw/CalculatorPopup.d.ts +1 -1
  887. package/lib/esm/appui-react/accudraw/MenuButton.d.ts +1 -1
  888. package/lib/esm/appui-react/accudraw/MenuButtonPopup.d.ts +1 -1
  889. package/lib/esm/appui-react/accudraw/SquareButton.d.ts +1 -1
  890. package/lib/esm/appui-react/backstage/BackstageComposer.d.ts +1 -1
  891. package/lib/esm/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
  892. package/lib/esm/appui-react/backstage/BackstageComposer.js +6 -6
  893. package/lib/esm/appui-react/backstage/BackstageComposer.js.map +1 -1
  894. package/lib/esm/appui-react/backstage/BackstageComposerItem.d.ts +4 -4
  895. package/lib/esm/appui-react/backstage/BackstageComposerItem.d.ts.map +1 -1
  896. package/lib/esm/appui-react/backstage/BackstageComposerItem.js +6 -7
  897. package/lib/esm/appui-react/backstage/BackstageComposerItem.js.map +1 -1
  898. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts +1 -1
  899. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
  900. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js +9 -9
  901. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
  902. package/lib/esm/appui-react/childwindow/PopoutWidget.d.ts +2 -2
  903. package/lib/esm/appui-react/childwindow/PopoutWidget.d.ts.map +1 -1
  904. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.d.ts +1 -1
  905. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
  906. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js +1 -1
  907. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
  908. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.scss +15 -1
  909. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js +1 -1
  910. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
  911. package/lib/esm/appui-react/configurableui/TimeTracker.js +1 -2
  912. package/lib/esm/appui-react/configurableui/TimeTracker.js.map +1 -1
  913. package/lib/esm/appui-react/content/ContentLayout.d.ts +1 -1
  914. package/lib/esm/appui-react/content/ContentLayout.d.ts.map +1 -1
  915. package/lib/esm/appui-react/content/ContentLayout.js +9 -12
  916. package/lib/esm/appui-react/content/ContentLayout.js.map +1 -1
  917. package/lib/esm/appui-react/content/DefaultViewOverlay.d.ts +2 -2
  918. package/lib/esm/appui-react/content/DefaultViewOverlay.d.ts.map +1 -1
  919. package/lib/esm/appui-react/content/DefaultViewOverlay.js +3 -4
  920. package/lib/esm/appui-react/content/DefaultViewOverlay.js.map +1 -1
  921. package/lib/esm/appui-react/content/FloatingViewportContent.d.ts +3 -3
  922. package/lib/esm/appui-react/content/FloatingViewportContent.d.ts.map +1 -1
  923. package/lib/esm/appui-react/content/FloatingViewportContent.js +1 -2
  924. package/lib/esm/appui-react/content/FloatingViewportContent.js.map +1 -1
  925. package/lib/esm/appui-react/content/IModelViewport.d.ts +1 -1
  926. package/lib/esm/appui-react/content/IModelViewport.d.ts.map +1 -1
  927. package/lib/esm/appui-react/content/IModelViewport.js +4 -7
  928. package/lib/esm/appui-react/content/IModelViewport.js.map +1 -1
  929. package/lib/esm/appui-react/content/InternalContentLayoutManager.js +1 -2
  930. package/lib/esm/appui-react/content/InternalContentLayoutManager.js.map +1 -1
  931. package/lib/esm/appui-react/content/InternalContentViewManager.js +2 -2
  932. package/lib/esm/appui-react/content/InternalContentViewManager.js.map +1 -1
  933. package/lib/esm/appui-react/content/split-pane/Pane.d.ts +1 -1
  934. package/lib/esm/appui-react/content/split-pane/Pane.d.ts.map +1 -1
  935. package/lib/esm/appui-react/content/split-pane/Resizer.d.ts +1 -1
  936. package/lib/esm/appui-react/content/split-pane/Resizer.d.ts.map +1 -1
  937. package/lib/esm/appui-react/content/split-pane/SplitPane.d.ts +1 -1
  938. package/lib/esm/appui-react/content/split-pane/SplitPane.d.ts.map +1 -1
  939. package/lib/esm/appui-react/content/split-pane/SplitPane.js +10 -12
  940. package/lib/esm/appui-react/content/split-pane/SplitPane.js.map +1 -1
  941. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js +2 -3
  942. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
  943. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.d.ts +5 -5
  944. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.d.ts.map +1 -1
  945. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js +5 -5
  946. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
  947. package/lib/esm/appui-react/dialog/ContentDialog.d.ts +1 -1
  948. package/lib/esm/appui-react/dialog/ContentDialog.d.ts.map +1 -1
  949. package/lib/esm/appui-react/dialog/ContentDialog.js +3 -6
  950. package/lib/esm/appui-react/dialog/ContentDialog.js.map +1 -1
  951. package/lib/esm/appui-react/dialog/DialogManagerBase.js +2 -3
  952. package/lib/esm/appui-react/dialog/DialogManagerBase.js.map +1 -1
  953. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.d.ts +2 -2
  954. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.d.ts.map +1 -1
  955. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.js +5 -5
  956. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.js.map +1 -1
  957. package/lib/esm/appui-react/feedback/ElementTooltip.d.ts +4 -4
  958. package/lib/esm/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
  959. package/lib/esm/appui-react/feedback/ElementTooltip.js +3 -3
  960. package/lib/esm/appui-react/feedback/ElementTooltip.js.map +1 -1
  961. package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts +7 -6
  962. package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
  963. package/lib/esm/appui-react/frontstage/FrontstageDef.js +22 -23
  964. package/lib/esm/appui-react/frontstage/FrontstageDef.js.map +1 -1
  965. package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts +3 -3
  966. package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
  967. package/lib/esm/appui-react/frontstage/ModalFrontstage.js +5 -5
  968. package/lib/esm/appui-react/frontstage/ModalFrontstage.js.map +1 -1
  969. package/lib/esm/appui-react/frontstage/ModalSettingsStage.js +2 -3
  970. package/lib/esm/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
  971. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js +1 -2
  972. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
  973. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.js +7 -11
  974. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.js.map +1 -1
  975. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.js +7 -11
  976. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.js.map +1 -1
  977. package/lib/esm/appui-react/hooks/useSolarDataProvider.js +8 -13
  978. package/lib/esm/appui-react/hooks/useSolarDataProvider.js.map +1 -1
  979. package/lib/esm/appui-react/layout/_prefix.scss +33 -0
  980. package/lib/esm/appui-react/layout/_safearea.scss +26 -0
  981. package/lib/esm/appui-react/layout/_scrollbar.scss +20 -0
  982. package/lib/esm/appui-react/layout/_target.scss +10 -0
  983. package/lib/esm/appui-react/layout/_widgetopacity.scss +13 -0
  984. package/lib/esm/appui-react/layout/backstage/Backstage.d.ts +42 -0
  985. package/lib/esm/appui-react/layout/backstage/Backstage.d.ts.map +1 -0
  986. package/lib/esm/appui-react/layout/backstage/Backstage.js +50 -0
  987. package/lib/esm/appui-react/layout/backstage/Backstage.js.map +1 -0
  988. package/lib/esm/appui-react/layout/backstage/Backstage.scss +90 -0
  989. package/lib/esm/appui-react/layout/backstage/Item.d.ts +38 -0
  990. package/lib/esm/appui-react/layout/backstage/Item.d.ts.map +1 -0
  991. package/lib/esm/appui-react/layout/backstage/Item.js +29 -0
  992. package/lib/esm/appui-react/layout/backstage/Item.js.map +1 -0
  993. package/lib/esm/appui-react/layout/backstage/Item.scss +103 -0
  994. package/lib/esm/appui-react/layout/backstage/Separator.d.ts +13 -0
  995. package/lib/esm/appui-react/layout/backstage/Separator.d.ts.map +1 -0
  996. package/lib/esm/appui-react/layout/backstage/Separator.js +20 -0
  997. package/lib/esm/appui-react/layout/backstage/Separator.js.map +1 -0
  998. package/lib/esm/appui-react/layout/backstage/Separator.scss +10 -0
  999. package/lib/esm/appui-react/layout/backstage/_variables.scss +32 -0
  1000. package/lib/esm/appui-react/layout/base/DragManager.d.ts +183 -0
  1001. package/lib/esm/appui-react/layout/base/DragManager.d.ts.map +1 -0
  1002. package/lib/esm/appui-react/layout/base/DragManager.js +477 -0
  1003. package/lib/esm/appui-react/layout/base/DragManager.js.map +1 -0
  1004. package/lib/esm/appui-react/layout/base/Ellipsis.d.ts +11 -0
  1005. package/lib/esm/appui-react/layout/base/Ellipsis.d.ts.map +1 -0
  1006. package/lib/esm/appui-react/layout/base/Ellipsis.js +21 -0
  1007. package/lib/esm/appui-react/layout/base/Ellipsis.js.map +1 -0
  1008. package/lib/esm/appui-react/layout/base/Ellipsis.scss +20 -0
  1009. package/lib/esm/appui-react/layout/base/LayoutStore.d.ts +19 -0
  1010. package/lib/esm/appui-react/layout/base/LayoutStore.d.ts.map +1 -0
  1011. package/lib/esm/appui-react/layout/base/LayoutStore.js +32 -0
  1012. package/lib/esm/appui-react/layout/base/LayoutStore.js.map +1 -0
  1013. package/lib/esm/appui-react/layout/base/NineZone.d.ts +80 -0
  1014. package/lib/esm/appui-react/layout/base/NineZone.d.ts.map +1 -0
  1015. package/lib/esm/appui-react/layout/base/NineZone.js +165 -0
  1016. package/lib/esm/appui-react/layout/base/NineZone.js.map +1 -0
  1017. package/lib/esm/appui-react/layout/base/SafeAreaInsets.d.ts +18 -0
  1018. package/lib/esm/appui-react/layout/base/SafeAreaInsets.d.ts.map +1 -0
  1019. package/lib/esm/appui-react/layout/base/SafeAreaInsets.js +33 -0
  1020. package/lib/esm/appui-react/layout/base/SafeAreaInsets.js.map +1 -0
  1021. package/lib/esm/appui-react/layout/base/usePointerCaptor.d.ts +15 -0
  1022. package/lib/esm/appui-react/layout/base/usePointerCaptor.d.ts.map +1 -0
  1023. package/lib/esm/appui-react/layout/base/usePointerCaptor.js +102 -0
  1024. package/lib/esm/appui-react/layout/base/usePointerCaptor.js.map +1 -0
  1025. package/lib/esm/appui-react/layout/footer/Footer.d.ts +33 -0
  1026. package/lib/esm/appui-react/layout/footer/Footer.d.ts.map +1 -0
  1027. package/lib/esm/appui-react/layout/footer/Footer.js +26 -0
  1028. package/lib/esm/appui-react/layout/footer/Footer.js.map +1 -0
  1029. package/lib/esm/appui-react/layout/footer/Footer.scss +61 -0
  1030. package/lib/esm/appui-react/layout/footer/Indicator.d.ts +23 -0
  1031. package/lib/esm/appui-react/layout/footer/Indicator.d.ts.map +1 -0
  1032. package/lib/esm/appui-react/layout/footer/Indicator.js +20 -0
  1033. package/lib/esm/appui-react/layout/footer/Indicator.js.map +1 -0
  1034. package/lib/esm/appui-react/layout/footer/Indicator.scss +39 -0
  1035. package/lib/esm/appui-react/layout/footer/Popup.d.ts +12 -0
  1036. package/lib/esm/appui-react/layout/footer/Popup.d.ts.map +1 -0
  1037. package/lib/esm/appui-react/layout/footer/Popup.js +21 -0
  1038. package/lib/esm/appui-react/layout/footer/Popup.js.map +1 -0
  1039. package/lib/esm/appui-react/layout/footer/Popup.scss +19 -0
  1040. package/lib/esm/appui-react/layout/footer/_variables.scss +43 -0
  1041. package/lib/esm/appui-react/layout/footer/dialog/Button.d.ts +23 -0
  1042. package/lib/esm/appui-react/layout/footer/dialog/Button.d.ts.map +1 -0
  1043. package/lib/esm/appui-react/layout/footer/dialog/Button.js +21 -0
  1044. package/lib/esm/appui-react/layout/footer/dialog/Button.js.map +1 -0
  1045. package/lib/esm/appui-react/layout/footer/dialog/Button.scss +23 -0
  1046. package/lib/esm/appui-react/layout/footer/dialog/Dialog.d.ts +22 -0
  1047. package/lib/esm/appui-react/layout/footer/dialog/Dialog.d.ts.map +1 -0
  1048. package/lib/esm/appui-react/layout/footer/dialog/Dialog.js +22 -0
  1049. package/lib/esm/appui-react/layout/footer/dialog/Dialog.js.map +1 -0
  1050. package/lib/esm/appui-react/layout/footer/dialog/Dialog.scss +14 -0
  1051. package/lib/esm/appui-react/layout/footer/dialog/TitleBar.d.ts +21 -0
  1052. package/lib/esm/appui-react/layout/footer/dialog/TitleBar.d.ts.map +1 -0
  1053. package/lib/esm/appui-react/layout/footer/dialog/TitleBar.js +21 -0
  1054. package/lib/esm/appui-react/layout/footer/dialog/TitleBar.js.map +1 -0
  1055. package/lib/esm/appui-react/layout/footer/dialog/TitleBar.scss +30 -0
  1056. package/lib/esm/appui-react/layout/footer/dialog/_variables.scss +8 -0
  1057. package/lib/esm/appui-react/layout/footer/message-center/Dialog.d.ts +29 -0
  1058. package/lib/esm/appui-react/layout/footer/message-center/Dialog.d.ts.map +1 -0
  1059. package/lib/esm/appui-react/layout/footer/message-center/Dialog.js +28 -0
  1060. package/lib/esm/appui-react/layout/footer/message-center/Dialog.js.map +1 -0
  1061. package/lib/esm/appui-react/layout/footer/message-center/Dialog.scss +64 -0
  1062. package/lib/esm/appui-react/layout/footer/message-center/Indicator.d.ts +29 -0
  1063. package/lib/esm/appui-react/layout/footer/message-center/Indicator.d.ts.map +1 -0
  1064. package/lib/esm/appui-react/layout/footer/message-center/Indicator.js +29 -0
  1065. package/lib/esm/appui-react/layout/footer/message-center/Indicator.js.map +1 -0
  1066. package/lib/esm/appui-react/layout/footer/message-center/Indicator.scss +106 -0
  1067. package/lib/esm/appui-react/layout/footer/message-center/Message.d.ts +22 -0
  1068. package/lib/esm/appui-react/layout/footer/message-center/Message.d.ts.map +1 -0
  1069. package/lib/esm/appui-react/layout/footer/message-center/Message.js +22 -0
  1070. package/lib/esm/appui-react/layout/footer/message-center/Message.js.map +1 -0
  1071. package/lib/esm/appui-react/layout/footer/message-center/Message.scss +41 -0
  1072. package/lib/esm/appui-react/layout/footer/message-center/Tab.d.ts +24 -0
  1073. package/lib/esm/appui-react/layout/footer/message-center/Tab.d.ts.map +1 -0
  1074. package/lib/esm/appui-react/layout/footer/message-center/Tab.js +22 -0
  1075. package/lib/esm/appui-react/layout/footer/message-center/Tab.js.map +1 -0
  1076. package/lib/esm/appui-react/layout/footer/message-center/Tab.scss +60 -0
  1077. package/lib/esm/appui-react/layout/footer/message-center/_variables.scss +5 -0
  1078. package/lib/esm/appui-react/layout/footer/snap-mode/Indicator.d.ts +27 -0
  1079. package/lib/esm/appui-react/layout/footer/snap-mode/Indicator.d.ts.map +1 -0
  1080. package/lib/esm/appui-react/layout/footer/snap-mode/Indicator.js +25 -0
  1081. package/lib/esm/appui-react/layout/footer/snap-mode/Indicator.js.map +1 -0
  1082. package/lib/esm/appui-react/layout/footer/snap-mode/Indicator.scss +44 -0
  1083. package/lib/esm/appui-react/layout/footer/snap-mode/Panel.d.ts +24 -0
  1084. package/lib/esm/appui-react/layout/footer/snap-mode/Panel.d.ts.map +1 -0
  1085. package/lib/esm/appui-react/layout/footer/snap-mode/Panel.js +25 -0
  1086. package/lib/esm/appui-react/layout/footer/snap-mode/Panel.js.map +1 -0
  1087. package/lib/esm/appui-react/layout/footer/snap-mode/Panel.scss +22 -0
  1088. package/lib/esm/appui-react/layout/footer/snap-mode/Snap.d.ts +26 -0
  1089. package/lib/esm/appui-react/layout/footer/snap-mode/Snap.d.ts.map +1 -0
  1090. package/lib/esm/appui-react/layout/footer/snap-mode/Snap.js +24 -0
  1091. package/lib/esm/appui-react/layout/footer/snap-mode/Snap.js.map +1 -0
  1092. package/lib/esm/appui-react/layout/footer/snap-mode/Snap.scss +48 -0
  1093. package/lib/esm/appui-react/layout/footer/tool-assistance/Dialog.d.ts +26 -0
  1094. package/lib/esm/appui-react/layout/footer/tool-assistance/Dialog.d.ts.map +1 -0
  1095. package/lib/esm/appui-react/layout/footer/tool-assistance/Dialog.js +25 -0
  1096. package/lib/esm/appui-react/layout/footer/tool-assistance/Dialog.js.map +1 -0
  1097. package/lib/esm/appui-react/layout/footer/tool-assistance/Dialog.scss +18 -0
  1098. package/lib/esm/appui-react/layout/footer/tool-assistance/Indicator.d.ts +27 -0
  1099. package/lib/esm/appui-react/layout/footer/tool-assistance/Indicator.d.ts.map +1 -0
  1100. package/lib/esm/appui-react/layout/footer/tool-assistance/Indicator.js +26 -0
  1101. package/lib/esm/appui-react/layout/footer/tool-assistance/Indicator.js.map +1 -0
  1102. package/lib/esm/appui-react/layout/footer/tool-assistance/Indicator.scss +80 -0
  1103. package/lib/esm/appui-react/layout/footer/tool-assistance/Instruction.d.ts +24 -0
  1104. package/lib/esm/appui-react/layout/footer/tool-assistance/Instruction.d.ts.map +1 -0
  1105. package/lib/esm/appui-react/layout/footer/tool-assistance/Instruction.js +27 -0
  1106. package/lib/esm/appui-react/layout/footer/tool-assistance/Instruction.js.map +1 -0
  1107. package/lib/esm/appui-react/layout/footer/tool-assistance/Instruction.scss +30 -0
  1108. package/lib/esm/appui-react/layout/footer/tool-assistance/Item.d.ts +20 -0
  1109. package/lib/esm/appui-react/layout/footer/tool-assistance/Item.d.ts.map +1 -0
  1110. package/lib/esm/appui-react/layout/footer/tool-assistance/Item.js +20 -0
  1111. package/lib/esm/appui-react/layout/footer/tool-assistance/Item.js.map +1 -0
  1112. package/lib/esm/appui-react/layout/footer/tool-assistance/Item.scss +13 -0
  1113. package/lib/esm/appui-react/layout/footer/tool-assistance/NewDot.d.ts +13 -0
  1114. package/lib/esm/appui-react/layout/footer/tool-assistance/NewDot.d.ts.map +1 -0
  1115. package/lib/esm/appui-react/layout/footer/tool-assistance/NewDot.js +20 -0
  1116. package/lib/esm/appui-react/layout/footer/tool-assistance/NewDot.js.map +1 -0
  1117. package/lib/esm/appui-react/layout/footer/tool-assistance/NewDot.scss +13 -0
  1118. package/lib/esm/appui-react/layout/footer/tool-assistance/Separator.d.ts +20 -0
  1119. package/lib/esm/appui-react/layout/footer/tool-assistance/Separator.d.ts.map +1 -0
  1120. package/lib/esm/appui-react/layout/footer/tool-assistance/Separator.js +22 -0
  1121. package/lib/esm/appui-react/layout/footer/tool-assistance/Separator.js.map +1 -0
  1122. package/lib/esm/appui-react/layout/footer/tool-assistance/Separator.scss +20 -0
  1123. package/lib/esm/appui-react/layout/outline/PanelOutline.d.ts +10 -0
  1124. package/lib/esm/appui-react/layout/outline/PanelOutline.d.ts.map +1 -0
  1125. package/lib/esm/appui-react/layout/outline/PanelOutline.js +64 -0
  1126. package/lib/esm/appui-react/layout/outline/PanelOutline.js.map +1 -0
  1127. package/lib/esm/appui-react/layout/outline/PanelOutline.scss +72 -0
  1128. package/lib/esm/appui-react/layout/outline/SectionOutline.d.ts +13 -0
  1129. package/lib/esm/appui-react/layout/outline/SectionOutline.d.ts.map +1 -0
  1130. package/lib/esm/appui-react/layout/outline/SectionOutline.js +69 -0
  1131. package/lib/esm/appui-react/layout/outline/SectionOutline.js.map +1 -0
  1132. package/lib/esm/appui-react/layout/outline/SectionOutline.scss +47 -0
  1133. package/lib/esm/appui-react/layout/outline/TabOutline.d.ts +8 -0
  1134. package/lib/esm/appui-react/layout/outline/TabOutline.d.ts.map +1 -0
  1135. package/lib/esm/appui-react/layout/outline/TabOutline.js +38 -0
  1136. package/lib/esm/appui-react/layout/outline/TabOutline.js.map +1 -0
  1137. package/lib/esm/appui-react/layout/outline/TabOutline.scss +18 -0
  1138. package/lib/esm/appui-react/layout/outline/WidgetOutline.d.ts +8 -0
  1139. package/lib/esm/appui-react/layout/outline/WidgetOutline.d.ts.map +1 -0
  1140. package/lib/esm/appui-react/layout/outline/WidgetOutline.js +38 -0
  1141. package/lib/esm/appui-react/layout/outline/WidgetOutline.js.map +1 -0
  1142. package/lib/esm/appui-react/layout/outline/WidgetOutline.scss +16 -0
  1143. package/lib/esm/appui-react/layout/outline/_variables.scss +7 -0
  1144. package/lib/esm/appui-react/layout/popup/Tooltip.d.ts +42 -0
  1145. package/lib/esm/appui-react/layout/popup/Tooltip.d.ts.map +1 -0
  1146. package/lib/esm/appui-react/layout/popup/Tooltip.js +69 -0
  1147. package/lib/esm/appui-react/layout/popup/Tooltip.js.map +1 -0
  1148. package/lib/esm/appui-react/layout/popup/Tooltip.scss +24 -0
  1149. package/lib/esm/appui-react/layout/state/DropTargetState.d.ts +67 -0
  1150. package/lib/esm/appui-react/layout/state/DropTargetState.d.ts.map +1 -0
  1151. package/lib/esm/appui-react/layout/state/DropTargetState.js +40 -0
  1152. package/lib/esm/appui-react/layout/state/DropTargetState.js.map +1 -0
  1153. package/lib/esm/appui-react/layout/state/NineZoneAction.d.ts +274 -0
  1154. package/lib/esm/appui-react/layout/state/NineZoneAction.d.ts.map +1 -0
  1155. package/lib/esm/appui-react/layout/state/NineZoneAction.js +9 -0
  1156. package/lib/esm/appui-react/layout/state/NineZoneAction.js.map +1 -0
  1157. package/lib/esm/appui-react/layout/state/NineZoneState.d.ts +24 -0
  1158. package/lib/esm/appui-react/layout/state/NineZoneState.d.ts.map +1 -0
  1159. package/lib/esm/appui-react/layout/state/NineZoneState.js +36 -0
  1160. package/lib/esm/appui-react/layout/state/NineZoneState.js.map +1 -0
  1161. package/lib/esm/appui-react/layout/state/NineZoneStateReducer.d.ts +8 -0
  1162. package/lib/esm/appui-react/layout/state/NineZoneStateReducer.d.ts.map +1 -0
  1163. package/lib/esm/appui-react/layout/state/NineZoneStateReducer.js +808 -0
  1164. package/lib/esm/appui-react/layout/state/NineZoneStateReducer.js.map +1 -0
  1165. package/lib/esm/appui-react/layout/state/PanelState.d.ts +44 -0
  1166. package/lib/esm/appui-react/layout/state/PanelState.d.ts.map +1 -0
  1167. package/lib/esm/appui-react/layout/state/PanelState.js +17 -0
  1168. package/lib/esm/appui-react/layout/state/PanelState.js.map +1 -0
  1169. package/lib/esm/appui-react/layout/state/SavedTabState.d.ts +24 -0
  1170. package/lib/esm/appui-react/layout/state/SavedTabState.d.ts.map +1 -0
  1171. package/lib/esm/appui-react/layout/state/SavedTabState.js +9 -0
  1172. package/lib/esm/appui-react/layout/state/SavedTabState.js.map +1 -0
  1173. package/lib/esm/appui-react/layout/state/TabLocation.d.ts +35 -0
  1174. package/lib/esm/appui-react/layout/state/TabLocation.d.ts.map +1 -0
  1175. package/lib/esm/appui-react/layout/state/TabLocation.js +53 -0
  1176. package/lib/esm/appui-react/layout/state/TabLocation.js.map +1 -0
  1177. package/lib/esm/appui-react/layout/state/TabState.d.ts +34 -0
  1178. package/lib/esm/appui-react/layout/state/TabState.d.ts.map +1 -0
  1179. package/lib/esm/appui-react/layout/state/TabState.js +9 -0
  1180. package/lib/esm/appui-react/layout/state/TabState.js.map +1 -0
  1181. package/lib/esm/appui-react/layout/state/ToolSettingsState.d.ts +18 -0
  1182. package/lib/esm/appui-react/layout/state/ToolSettingsState.d.ts.map +1 -0
  1183. package/lib/esm/appui-react/layout/state/ToolSettingsState.js +9 -0
  1184. package/lib/esm/appui-react/layout/state/ToolSettingsState.js.map +1 -0
  1185. package/lib/esm/appui-react/layout/state/WidgetLocation.d.ts +32 -0
  1186. package/lib/esm/appui-react/layout/state/WidgetLocation.d.ts.map +1 -0
  1187. package/lib/esm/appui-react/layout/state/WidgetLocation.js +50 -0
  1188. package/lib/esm/appui-react/layout/state/WidgetLocation.js.map +1 -0
  1189. package/lib/esm/appui-react/layout/state/WidgetRestoreState.d.ts +23 -0
  1190. package/lib/esm/appui-react/layout/state/WidgetRestoreState.d.ts.map +1 -0
  1191. package/lib/esm/appui-react/layout/state/WidgetRestoreState.js +16 -0
  1192. package/lib/esm/appui-react/layout/state/WidgetRestoreState.js.map +1 -0
  1193. package/lib/esm/appui-react/layout/state/WidgetState.d.ts +48 -0
  1194. package/lib/esm/appui-react/layout/state/WidgetState.d.ts.map +1 -0
  1195. package/lib/esm/appui-react/layout/state/WidgetState.js +9 -0
  1196. package/lib/esm/appui-react/layout/state/WidgetState.js.map +1 -0
  1197. package/lib/esm/appui-react/layout/state/activateDroppedTab.d.ts +5 -0
  1198. package/lib/esm/appui-react/layout/state/activateDroppedTab.d.ts.map +1 -0
  1199. package/lib/esm/appui-react/layout/state/activateDroppedTab.js +34 -0
  1200. package/lib/esm/appui-react/layout/state/activateDroppedTab.js.map +1 -0
  1201. package/lib/esm/appui-react/layout/state/internal/NineZoneStateHelpers.d.ts +39 -0
  1202. package/lib/esm/appui-react/layout/state/internal/NineZoneStateHelpers.d.ts.map +1 -0
  1203. package/lib/esm/appui-react/layout/state/internal/NineZoneStateHelpers.js +88 -0
  1204. package/lib/esm/appui-react/layout/state/internal/NineZoneStateHelpers.js.map +1 -0
  1205. package/lib/esm/appui-react/layout/state/internal/PanelStateHelpers.d.ts +26 -0
  1206. package/lib/esm/appui-react/layout/state/internal/PanelStateHelpers.d.ts.map +1 -0
  1207. package/lib/esm/appui-react/layout/state/internal/PanelStateHelpers.js +96 -0
  1208. package/lib/esm/appui-react/layout/state/internal/PanelStateHelpers.js.map +1 -0
  1209. package/lib/esm/appui-react/layout/state/internal/TabStateHelpers.d.ts +41 -0
  1210. package/lib/esm/appui-react/layout/state/internal/TabStateHelpers.d.ts.map +1 -0
  1211. package/lib/esm/appui-react/layout/state/internal/TabStateHelpers.js +183 -0
  1212. package/lib/esm/appui-react/layout/state/internal/TabStateHelpers.js.map +1 -0
  1213. package/lib/esm/appui-react/layout/state/internal/ToolSettingsStateHelpers.d.ts +14 -0
  1214. package/lib/esm/appui-react/layout/state/internal/ToolSettingsStateHelpers.d.ts.map +1 -0
  1215. package/lib/esm/appui-react/layout/state/internal/ToolSettingsStateHelpers.js +55 -0
  1216. package/lib/esm/appui-react/layout/state/internal/ToolSettingsStateHelpers.js.map +1 -0
  1217. package/lib/esm/appui-react/layout/state/internal/WidgetStateHelpers.d.ts +48 -0
  1218. package/lib/esm/appui-react/layout/state/internal/WidgetStateHelpers.d.ts.map +1 -0
  1219. package/lib/esm/appui-react/layout/state/internal/WidgetStateHelpers.js +298 -0
  1220. package/lib/esm/appui-react/layout/state/internal/WidgetStateHelpers.js.map +1 -0
  1221. package/lib/esm/appui-react/layout/target/MergeTarget.d.ts +13 -0
  1222. package/lib/esm/appui-react/layout/target/MergeTarget.d.ts.map +1 -0
  1223. package/lib/esm/appui-react/layout/target/MergeTarget.js +43 -0
  1224. package/lib/esm/appui-react/layout/target/MergeTarget.js.map +1 -0
  1225. package/lib/esm/appui-react/layout/target/MergeTarget.scss +17 -0
  1226. package/lib/esm/appui-react/layout/target/PanelTarget.d.ts +13 -0
  1227. package/lib/esm/appui-react/layout/target/PanelTarget.d.ts.map +1 -0
  1228. package/lib/esm/appui-react/layout/target/PanelTarget.js +41 -0
  1229. package/lib/esm/appui-react/layout/target/PanelTarget.js.map +1 -0
  1230. package/lib/esm/appui-react/layout/target/PanelTarget.scss +27 -0
  1231. package/lib/esm/appui-react/layout/target/PanelTargets.d.ts +8 -0
  1232. package/lib/esm/appui-react/layout/target/PanelTargets.d.ts.map +1 -0
  1233. package/lib/esm/appui-react/layout/target/PanelTargets.js +63 -0
  1234. package/lib/esm/appui-react/layout/target/PanelTargets.js.map +1 -0
  1235. package/lib/esm/appui-react/layout/target/PanelTargets.scss +50 -0
  1236. package/lib/esm/appui-react/layout/target/SectionTarget.d.ts +17 -0
  1237. package/lib/esm/appui-react/layout/target/SectionTarget.d.ts.map +1 -0
  1238. package/lib/esm/appui-react/layout/target/SectionTarget.js +61 -0
  1239. package/lib/esm/appui-react/layout/target/SectionTarget.js.map +1 -0
  1240. package/lib/esm/appui-react/layout/target/SectionTarget.scss +50 -0
  1241. package/lib/esm/appui-react/layout/target/SectionTargets.d.ts +13 -0
  1242. package/lib/esm/appui-react/layout/target/SectionTargets.d.ts.map +1 -0
  1243. package/lib/esm/appui-react/layout/target/SectionTargets.js +22 -0
  1244. package/lib/esm/appui-react/layout/target/SectionTargets.js.map +1 -0
  1245. package/lib/esm/appui-react/layout/target/SectionTargets.scss +13 -0
  1246. package/lib/esm/appui-react/layout/target/TabTarget.d.ts +8 -0
  1247. package/lib/esm/appui-react/layout/target/TabTarget.d.ts.map +1 -0
  1248. package/lib/esm/appui-react/layout/target/TabTarget.js +59 -0
  1249. package/lib/esm/appui-react/layout/target/TabTarget.js.map +1 -0
  1250. package/lib/esm/appui-react/layout/target/TabTarget.scss +30 -0
  1251. package/lib/esm/appui-react/layout/target/TargetContainer.d.ts +14 -0
  1252. package/lib/esm/appui-react/layout/target/TargetContainer.d.ts.map +1 -0
  1253. package/lib/esm/appui-react/layout/target/TargetContainer.js +16 -0
  1254. package/lib/esm/appui-react/layout/target/TargetContainer.js.map +1 -0
  1255. package/lib/esm/appui-react/layout/target/TargetContainer.scss +17 -0
  1256. package/lib/esm/appui-react/layout/target/TitleBarTarget.d.ts +8 -0
  1257. package/lib/esm/appui-react/layout/target/TitleBarTarget.d.ts.map +1 -0
  1258. package/lib/esm/appui-react/layout/target/TitleBarTarget.js +48 -0
  1259. package/lib/esm/appui-react/layout/target/TitleBarTarget.js.map +1 -0
  1260. package/lib/esm/appui-react/layout/target/TitleBarTarget.scss +17 -0
  1261. package/lib/esm/appui-react/layout/target/WidgetTarget.d.ts +8 -0
  1262. package/lib/esm/appui-react/layout/target/WidgetTarget.d.ts.map +1 -0
  1263. package/lib/esm/appui-react/layout/target/WidgetTarget.js +21 -0
  1264. package/lib/esm/appui-react/layout/target/WidgetTarget.js.map +1 -0
  1265. package/lib/esm/appui-react/layout/target/WidgetTarget.scss +11 -0
  1266. package/lib/esm/appui-react/layout/target/_variables.scss +64 -0
  1267. package/lib/esm/appui-react/layout/target/useAllowedPanelTarget.d.ts +5 -0
  1268. package/lib/esm/appui-react/layout/target/useAllowedPanelTarget.d.ts.map +1 -0
  1269. package/lib/esm/appui-react/layout/target/useAllowedPanelTarget.js +20 -0
  1270. package/lib/esm/appui-react/layout/target/useAllowedPanelTarget.js.map +1 -0
  1271. package/lib/esm/appui-react/layout/target/useAllowedSideTarget.d.ts +9 -0
  1272. package/lib/esm/appui-react/layout/target/useAllowedSideTarget.d.ts.map +1 -0
  1273. package/lib/esm/appui-react/layout/target/useAllowedSideTarget.js +51 -0
  1274. package/lib/esm/appui-react/layout/target/useAllowedSideTarget.js.map +1 -0
  1275. package/lib/esm/appui-react/layout/target/useAllowedWidgetTarget.d.ts +6 -0
  1276. package/lib/esm/appui-react/layout/target/useAllowedWidgetTarget.d.ts.map +1 -0
  1277. package/lib/esm/appui-react/layout/target/useAllowedWidgetTarget.js +29 -0
  1278. package/lib/esm/appui-react/layout/target/useAllowedWidgetTarget.js.map +1 -0
  1279. package/lib/esm/appui-react/layout/tool-settings/Docked.d.ts +50 -0
  1280. package/lib/esm/appui-react/layout/tool-settings/Docked.d.ts.map +1 -0
  1281. package/lib/esm/appui-react/layout/tool-settings/Docked.js +255 -0
  1282. package/lib/esm/appui-react/layout/tool-settings/Docked.js.map +1 -0
  1283. package/lib/esm/appui-react/layout/tool-settings/Docked.scss +48 -0
  1284. package/lib/esm/appui-react/layout/tool-settings/Handle.d.ts +17 -0
  1285. package/lib/esm/appui-react/layout/tool-settings/Handle.d.ts.map +1 -0
  1286. package/lib/esm/appui-react/layout/tool-settings/Handle.js +41 -0
  1287. package/lib/esm/appui-react/layout/tool-settings/Handle.js.map +1 -0
  1288. package/lib/esm/appui-react/layout/tool-settings/Handle.scss +23 -0
  1289. package/lib/esm/appui-react/layout/tool-settings/Overflow.d.ts +20 -0
  1290. package/lib/esm/appui-react/layout/tool-settings/Overflow.d.ts.map +1 -0
  1291. package/lib/esm/appui-react/layout/tool-settings/Overflow.js +27 -0
  1292. package/lib/esm/appui-react/layout/tool-settings/Overflow.js.map +1 -0
  1293. package/lib/esm/appui-react/layout/tool-settings/Overflow.scss +28 -0
  1294. package/lib/esm/appui-react/layout/tool-settings/Panel.d.ts +21 -0
  1295. package/lib/esm/appui-react/layout/tool-settings/Panel.d.ts.map +1 -0
  1296. package/lib/esm/appui-react/layout/tool-settings/Panel.js +19 -0
  1297. package/lib/esm/appui-react/layout/tool-settings/Panel.js.map +1 -0
  1298. package/lib/esm/appui-react/layout/tool-settings/Panel.scss +11 -0
  1299. package/lib/esm/appui-react/layout/tool-settings/Setting.d.ts +18 -0
  1300. package/lib/esm/appui-react/layout/tool-settings/Setting.d.ts.map +1 -0
  1301. package/lib/esm/appui-react/layout/tool-settings/Setting.js +22 -0
  1302. package/lib/esm/appui-react/layout/tool-settings/Setting.js.map +1 -0
  1303. package/lib/esm/appui-react/layout/tool-settings/Setting.scss +22 -0
  1304. package/lib/esm/appui-react/layout/widget/Button.d.ts +7 -0
  1305. package/lib/esm/appui-react/layout/widget/Button.d.ts.map +1 -0
  1306. package/lib/esm/appui-react/layout/widget/Button.js +14 -0
  1307. package/lib/esm/appui-react/layout/widget/Button.js.map +1 -0
  1308. package/lib/esm/appui-react/layout/widget/Buttons.d.ts +12 -0
  1309. package/lib/esm/appui-react/layout/widget/Buttons.d.ts.map +1 -0
  1310. package/lib/esm/appui-react/layout/widget/Buttons.js +79 -0
  1311. package/lib/esm/appui-react/layout/widget/Buttons.js.map +1 -0
  1312. package/lib/esm/appui-react/layout/widget/Buttons.scss +10 -0
  1313. package/lib/esm/appui-react/layout/widget/Content.d.ts +19 -0
  1314. package/lib/esm/appui-react/layout/widget/Content.d.ts.map +1 -0
  1315. package/lib/esm/appui-react/layout/widget/Content.js +32 -0
  1316. package/lib/esm/appui-react/layout/widget/Content.js.map +1 -0
  1317. package/lib/esm/appui-react/layout/widget/Content.scss +13 -0
  1318. package/lib/esm/appui-react/layout/widget/ContentContainer.d.ts +12 -0
  1319. package/lib/esm/appui-react/layout/widget/ContentContainer.d.ts.map +1 -0
  1320. package/lib/esm/appui-react/layout/widget/ContentContainer.js +35 -0
  1321. package/lib/esm/appui-react/layout/widget/ContentContainer.js.map +1 -0
  1322. package/lib/esm/appui-react/layout/widget/ContentContainer.scss +24 -0
  1323. package/lib/esm/appui-react/layout/widget/ContentManager.d.ts +30 -0
  1324. package/lib/esm/appui-react/layout/widget/ContentManager.d.ts.map +1 -0
  1325. package/lib/esm/appui-react/layout/widget/ContentManager.js +40 -0
  1326. package/lib/esm/appui-react/layout/widget/ContentManager.js.map +1 -0
  1327. package/lib/esm/appui-react/layout/widget/ContentRenderer.d.ts +20 -0
  1328. package/lib/esm/appui-react/layout/widget/ContentRenderer.d.ts.map +1 -0
  1329. package/lib/esm/appui-react/layout/widget/ContentRenderer.js +75 -0
  1330. package/lib/esm/appui-react/layout/widget/ContentRenderer.js.map +1 -0
  1331. package/lib/esm/appui-react/layout/widget/ContentRenderer.scss +18 -0
  1332. package/lib/esm/appui-react/layout/widget/Dock.d.ts +7 -0
  1333. package/lib/esm/appui-react/layout/widget/Dock.d.ts.map +1 -0
  1334. package/lib/esm/appui-react/layout/widget/Dock.js +22 -0
  1335. package/lib/esm/appui-react/layout/widget/Dock.js.map +1 -0
  1336. package/lib/esm/appui-react/layout/widget/FloatingTab.d.ts +10 -0
  1337. package/lib/esm/appui-react/layout/widget/FloatingTab.d.ts.map +1 -0
  1338. package/lib/esm/appui-react/layout/widget/FloatingTab.js +64 -0
  1339. package/lib/esm/appui-react/layout/widget/FloatingTab.js.map +1 -0
  1340. package/lib/esm/appui-react/layout/widget/FloatingTab.scss +35 -0
  1341. package/lib/esm/appui-react/layout/widget/FloatingWidget.d.ts +33 -0
  1342. package/lib/esm/appui-react/layout/widget/FloatingWidget.d.ts.map +1 -0
  1343. package/lib/esm/appui-react/layout/widget/FloatingWidget.js +268 -0
  1344. package/lib/esm/appui-react/layout/widget/FloatingWidget.js.map +1 -0
  1345. package/lib/esm/appui-react/layout/widget/FloatingWidget.scss +140 -0
  1346. package/lib/esm/appui-react/layout/widget/FloatingWidgets.d.ts +9 -0
  1347. package/lib/esm/appui-react/layout/widget/FloatingWidgets.d.ts.map +1 -0
  1348. package/lib/esm/appui-react/layout/widget/FloatingWidgets.js +23 -0
  1349. package/lib/esm/appui-react/layout/widget/FloatingWidgets.js.map +1 -0
  1350. package/lib/esm/appui-react/layout/widget/Menu.d.ts +16 -0
  1351. package/lib/esm/appui-react/layout/widget/Menu.d.ts.map +1 -0
  1352. package/lib/esm/appui-react/layout/widget/Menu.js +19 -0
  1353. package/lib/esm/appui-react/layout/widget/Menu.js.map +1 -0
  1354. package/lib/esm/appui-react/layout/widget/Menu.scss +14 -0
  1355. package/lib/esm/appui-react/layout/widget/MenuTab.d.ts +13 -0
  1356. package/lib/esm/appui-react/layout/widget/MenuTab.d.ts.map +1 -0
  1357. package/lib/esm/appui-react/layout/widget/MenuTab.js +52 -0
  1358. package/lib/esm/appui-react/layout/widget/MenuTab.js.map +1 -0
  1359. package/lib/esm/appui-react/layout/widget/MenuTab.scss +58 -0
  1360. package/lib/esm/appui-react/layout/widget/NavigationArea.d.ts +30 -0
  1361. package/lib/esm/appui-react/layout/widget/NavigationArea.d.ts.map +1 -0
  1362. package/lib/esm/appui-react/layout/widget/NavigationArea.js +22 -0
  1363. package/lib/esm/appui-react/layout/widget/NavigationArea.js.map +1 -0
  1364. package/lib/esm/appui-react/layout/widget/NavigationArea.scss +55 -0
  1365. package/lib/esm/appui-react/layout/widget/Overflow.d.ts +20 -0
  1366. package/lib/esm/appui-react/layout/widget/Overflow.d.ts.map +1 -0
  1367. package/lib/esm/appui-react/layout/widget/Overflow.js +56 -0
  1368. package/lib/esm/appui-react/layout/widget/Overflow.js.map +1 -0
  1369. package/lib/esm/appui-react/layout/widget/Overflow.scss +59 -0
  1370. package/lib/esm/appui-react/layout/widget/PanelWidget.d.ts +22 -0
  1371. package/lib/esm/appui-react/layout/widget/PanelWidget.d.ts.map +1 -0
  1372. package/lib/esm/appui-react/layout/widget/PanelWidget.js +149 -0
  1373. package/lib/esm/appui-react/layout/widget/PanelWidget.js.map +1 -0
  1374. package/lib/esm/appui-react/layout/widget/PanelWidget.scss +62 -0
  1375. package/lib/esm/appui-react/layout/widget/PinToggle.d.ts +7 -0
  1376. package/lib/esm/appui-react/layout/widget/PinToggle.d.ts.map +1 -0
  1377. package/lib/esm/appui-react/layout/widget/PinToggle.js +30 -0
  1378. package/lib/esm/appui-react/layout/widget/PinToggle.js.map +1 -0
  1379. package/lib/esm/appui-react/layout/widget/PopoutToggle.d.ts +9 -0
  1380. package/lib/esm/appui-react/layout/widget/PopoutToggle.d.ts.map +1 -0
  1381. package/lib/esm/appui-react/layout/widget/PopoutToggle.js +34 -0
  1382. package/lib/esm/appui-react/layout/widget/PopoutToggle.js.map +1 -0
  1383. package/lib/esm/appui-react/layout/widget/PreviewHorizontalPanelAlign.d.ts +29 -0
  1384. package/lib/esm/appui-react/layout/widget/PreviewHorizontalPanelAlign.d.ts.map +1 -0
  1385. package/lib/esm/appui-react/layout/widget/PreviewHorizontalPanelAlign.js +113 -0
  1386. package/lib/esm/appui-react/layout/widget/PreviewHorizontalPanelAlign.js.map +1 -0
  1387. package/lib/esm/appui-react/layout/widget/PreviewMaximizeToggle.d.ts +30 -0
  1388. package/lib/esm/appui-react/layout/widget/PreviewMaximizeToggle.d.ts.map +1 -0
  1389. package/lib/esm/appui-react/layout/widget/PreviewMaximizeToggle.js +58 -0
  1390. package/lib/esm/appui-react/layout/widget/PreviewMaximizeToggle.js.map +1 -0
  1391. package/lib/esm/appui-react/layout/widget/SendBack.d.ts +41 -0
  1392. package/lib/esm/appui-react/layout/widget/SendBack.d.ts.map +1 -0
  1393. package/lib/esm/appui-react/layout/widget/SendBack.js +104 -0
  1394. package/lib/esm/appui-react/layout/widget/SendBack.js.map +1 -0
  1395. package/lib/esm/appui-react/layout/widget/Tab.d.ts +44 -0
  1396. package/lib/esm/appui-react/layout/widget/Tab.d.ts.map +1 -0
  1397. package/lib/esm/appui-react/layout/widget/Tab.js +246 -0
  1398. package/lib/esm/appui-react/layout/widget/Tab.js.map +1 -0
  1399. package/lib/esm/appui-react/layout/widget/Tab.scss +82 -0
  1400. package/lib/esm/appui-react/layout/widget/TabBar.d.ts +18 -0
  1401. package/lib/esm/appui-react/layout/widget/TabBar.d.ts.map +1 -0
  1402. package/lib/esm/appui-react/layout/widget/TabBar.js +122 -0
  1403. package/lib/esm/appui-react/layout/widget/TabBar.js.map +1 -0
  1404. package/lib/esm/appui-react/layout/widget/TabBar.scss +30 -0
  1405. package/lib/esm/appui-react/layout/widget/Tabs.d.ts +24 -0
  1406. package/lib/esm/appui-react/layout/widget/Tabs.d.ts.map +1 -0
  1407. package/lib/esm/appui-react/layout/widget/Tabs.js +83 -0
  1408. package/lib/esm/appui-react/layout/widget/Tabs.js.map +1 -0
  1409. package/lib/esm/appui-react/layout/widget/Tabs.scss +10 -0
  1410. package/lib/esm/appui-react/layout/widget/ToolsArea.d.ts +32 -0
  1411. package/lib/esm/appui-react/layout/widget/ToolsArea.d.ts.map +1 -0
  1412. package/lib/esm/appui-react/layout/widget/ToolsArea.js +28 -0
  1413. package/lib/esm/appui-react/layout/widget/ToolsArea.js.map +1 -0
  1414. package/lib/esm/appui-react/layout/widget/ToolsArea.scss +49 -0
  1415. package/lib/esm/appui-react/layout/widget/Widget.d.ts +38 -0
  1416. package/lib/esm/appui-react/layout/widget/Widget.d.ts.map +1 -0
  1417. package/lib/esm/appui-react/layout/widget/Widget.js +144 -0
  1418. package/lib/esm/appui-react/layout/widget/Widget.js.map +1 -0
  1419. package/lib/esm/appui-react/layout/widget/Widget.scss +12 -0
  1420. package/lib/esm/appui-react/layout/widget/_variables.scss +46 -0
  1421. package/lib/esm/appui-react/layout/widget/tools/button/App.d.ts +24 -0
  1422. package/lib/esm/appui-react/layout/widget/tools/button/App.d.ts.map +1 -0
  1423. package/lib/esm/appui-react/layout/widget/tools/button/App.js +29 -0
  1424. package/lib/esm/appui-react/layout/widget/tools/button/App.js.map +1 -0
  1425. package/lib/esm/appui-react/layout/widget/tools/button/App.scss +79 -0
  1426. package/lib/esm/appui-react/layout/widget/tools/button/Back.d.ts +20 -0
  1427. package/lib/esm/appui-react/layout/widget/tools/button/Back.d.ts.map +1 -0
  1428. package/lib/esm/appui-react/layout/widget/tools/button/Back.js +23 -0
  1429. package/lib/esm/appui-react/layout/widget/tools/button/Back.js.map +1 -0
  1430. package/lib/esm/appui-react/layout/widget/tools/button/Back.scss +9 -0
  1431. package/lib/esm/appui-react/layout/widget/tools/button/Button.d.ts +28 -0
  1432. package/lib/esm/appui-react/layout/widget/tools/button/Button.d.ts.map +1 -0
  1433. package/lib/esm/appui-react/layout/widget/tools/button/Button.js +40 -0
  1434. package/lib/esm/appui-react/layout/widget/tools/button/Button.js.map +1 -0
  1435. package/lib/esm/appui-react/layout/widget/tools/button/Button.scss +52 -0
  1436. package/lib/esm/appui-react/layout/widget/tools/button/Expandable.d.ts +20 -0
  1437. package/lib/esm/appui-react/layout/widget/tools/button/Expandable.d.ts.map +1 -0
  1438. package/lib/esm/appui-react/layout/widget/tools/button/Expandable.js +22 -0
  1439. package/lib/esm/appui-react/layout/widget/tools/button/Expandable.js.map +1 -0
  1440. package/lib/esm/appui-react/layout/widget/tools/button/Expandable.scss +46 -0
  1441. package/lib/esm/appui-react/layout/widget/tools/button/Icon.d.ts +25 -0
  1442. package/lib/esm/appui-react/layout/widget/tools/button/Icon.d.ts.map +1 -0
  1443. package/lib/esm/appui-react/layout/widget/tools/button/Icon.js +25 -0
  1444. package/lib/esm/appui-react/layout/widget/tools/button/Icon.js.map +1 -0
  1445. package/lib/esm/appui-react/layout/widget/tools/button/Icon.scss +49 -0
  1446. package/lib/esm/appui-react/layout/widget/tools/button/_variables.scss +38 -0
  1447. package/lib/esm/appui-react/layout/widget/useIsToolSettingsTab.d.ts +6 -0
  1448. package/lib/esm/appui-react/layout/widget/useIsToolSettingsTab.d.ts.map +1 -0
  1449. package/lib/esm/appui-react/layout/widget/useIsToolSettingsTab.js +16 -0
  1450. package/lib/esm/appui-react/layout/widget/useIsToolSettingsTab.js.map +1 -0
  1451. package/lib/esm/appui-react/layout/widget-panels/AppContent.d.ts +11 -0
  1452. package/lib/esm/appui-react/layout/widget-panels/AppContent.d.ts.map +1 -0
  1453. package/lib/esm/appui-react/layout/widget-panels/AppContent.js +75 -0
  1454. package/lib/esm/appui-react/layout/widget-panels/AppContent.js.map +1 -0
  1455. package/lib/esm/appui-react/layout/widget-panels/CenterContent.d.ts +10 -0
  1456. package/lib/esm/appui-react/layout/widget-panels/CenterContent.d.ts.map +1 -0
  1457. package/lib/esm/appui-react/layout/widget-panels/CenterContent.js +19 -0
  1458. package/lib/esm/appui-react/layout/widget-panels/CenterContent.js.map +1 -0
  1459. package/lib/esm/appui-react/layout/widget-panels/CenterContent.scss +7 -0
  1460. package/lib/esm/appui-react/layout/widget-panels/Content.d.ts +21 -0
  1461. package/lib/esm/appui-react/layout/widget-panels/Content.d.ts.map +1 -0
  1462. package/lib/esm/appui-react/layout/widget-panels/Content.js +18 -0
  1463. package/lib/esm/appui-react/layout/widget-panels/Content.js.map +1 -0
  1464. package/lib/esm/appui-react/layout/widget-panels/Content.scss +37 -0
  1465. package/lib/esm/appui-react/layout/widget-panels/CursorOverlay.d.ts +14 -0
  1466. package/lib/esm/appui-react/layout/widget-panels/CursorOverlay.d.ts.map +1 -0
  1467. package/lib/esm/appui-react/layout/widget-panels/CursorOverlay.js +29 -0
  1468. package/lib/esm/appui-react/layout/widget-panels/CursorOverlay.js.map +1 -0
  1469. package/lib/esm/appui-react/layout/widget-panels/CursorOverlay.scss +26 -0
  1470. package/lib/esm/appui-react/layout/widget-panels/Expander.d.ts +17 -0
  1471. package/lib/esm/appui-react/layout/widget-panels/Expander.d.ts.map +1 -0
  1472. package/lib/esm/appui-react/layout/widget-panels/Expander.js +58 -0
  1473. package/lib/esm/appui-react/layout/widget-panels/Expander.js.map +1 -0
  1474. package/lib/esm/appui-react/layout/widget-panels/Expander.scss +37 -0
  1475. package/lib/esm/appui-react/layout/widget-panels/Grip.d.ts +15 -0
  1476. package/lib/esm/appui-react/layout/widget-panels/Grip.d.ts.map +1 -0
  1477. package/lib/esm/appui-react/layout/widget-panels/Grip.js +203 -0
  1478. package/lib/esm/appui-react/layout/widget-panels/Grip.js.map +1 -0
  1479. package/lib/esm/appui-react/layout/widget-panels/Grip.scss +138 -0
  1480. package/lib/esm/appui-react/layout/widget-panels/Panel.d.ts +37 -0
  1481. package/lib/esm/appui-react/layout/widget-panels/Panel.d.ts.map +1 -0
  1482. package/lib/esm/appui-react/layout/widget-panels/Panel.js +118 -0
  1483. package/lib/esm/appui-react/layout/widget-panels/Panel.js.map +1 -0
  1484. package/lib/esm/appui-react/layout/widget-panels/Panel.scss +327 -0
  1485. package/lib/esm/appui-react/layout/widget-panels/PanelSections.d.ts +7 -0
  1486. package/lib/esm/appui-react/layout/widget-panels/PanelSections.d.ts.map +1 -0
  1487. package/lib/esm/appui-react/layout/widget-panels/PanelSections.js +114 -0
  1488. package/lib/esm/appui-react/layout/widget-panels/PanelSections.js.map +1 -0
  1489. package/lib/esm/appui-react/layout/widget-panels/PanelTypes.d.ts +15 -0
  1490. package/lib/esm/appui-react/layout/widget-panels/PanelTypes.d.ts.map +1 -0
  1491. package/lib/esm/appui-react/layout/widget-panels/PanelTypes.js +2 -0
  1492. package/lib/esm/appui-react/layout/widget-panels/PanelTypes.js.map +1 -0
  1493. package/lib/esm/appui-react/layout/widget-panels/Panels.d.ts +24 -0
  1494. package/lib/esm/appui-react/layout/widget-panels/Panels.d.ts.map +1 -0
  1495. package/lib/esm/appui-react/layout/widget-panels/Panels.js +44 -0
  1496. package/lib/esm/appui-react/layout/widget-panels/Panels.js.map +1 -0
  1497. package/lib/esm/appui-react/layout/widget-panels/Panels.scss +70 -0
  1498. package/lib/esm/appui-react/layout/widget-panels/_variables.scss +6 -0
  1499. package/lib/esm/appui-react/layout/widget-panels/useAnimatePanel.d.ts +13 -0
  1500. package/lib/esm/appui-react/layout/widget-panels/useAnimatePanel.d.ts.map +1 -0
  1501. package/lib/esm/appui-react/layout/widget-panels/useAnimatePanel.js +167 -0
  1502. package/lib/esm/appui-react/layout/widget-panels/useAnimatePanel.js.map +1 -0
  1503. package/lib/esm/appui-react/messages/HollowIcon.d.ts +2 -2
  1504. package/lib/esm/appui-react/messages/HollowIcon.d.ts.map +1 -1
  1505. package/lib/esm/appui-react/messages/MessageLabel.d.ts +2 -2
  1506. package/lib/esm/appui-react/messages/MessageLabel.d.ts.map +1 -1
  1507. package/lib/esm/appui-react/messages/MessageManager.js +2 -4
  1508. package/lib/esm/appui-react/messages/MessageManager.js.map +1 -1
  1509. package/lib/esm/appui-react/messages/MessageRenderer.js +5 -7
  1510. package/lib/esm/appui-react/messages/MessageRenderer.js.map +1 -1
  1511. package/lib/esm/appui-react/messages/Pointer.d.ts +2 -2
  1512. package/lib/esm/appui-react/messages/Pointer.d.ts.map +1 -1
  1513. package/lib/esm/appui-react/messages/Pointer.js +2 -2
  1514. package/lib/esm/appui-react/messages/Pointer.js.map +1 -1
  1515. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.d.ts +2 -2
  1516. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.d.ts +2 -2
  1517. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
  1518. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js +16 -15
  1519. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
  1520. package/lib/esm/appui-react/pickers/ListPicker.d.ts +3 -3
  1521. package/lib/esm/appui-react/pickers/ListPicker.scss +1 -1
  1522. package/lib/esm/appui-react/pickers/ViewSelector.d.ts +1 -1
  1523. package/lib/esm/appui-react/pickers/ViewSelector.js +5 -6
  1524. package/lib/esm/appui-react/pickers/ViewSelector.js.map +1 -1
  1525. package/lib/esm/appui-react/popup/CardPopup.d.ts +2 -2
  1526. package/lib/esm/appui-react/popup/CardPopup.d.ts.map +1 -1
  1527. package/lib/esm/appui-react/popup/HTMLElementPopup.d.ts +1 -1
  1528. package/lib/esm/appui-react/popup/InputEditorPopup.d.ts +1 -1
  1529. package/lib/esm/appui-react/popup/KeyinPalettePanel.d.ts +2 -2
  1530. package/lib/esm/appui-react/popup/KeyinPalettePanel.d.ts.map +1 -1
  1531. package/lib/esm/appui-react/popup/KeyinPalettePanel.js +1 -2
  1532. package/lib/esm/appui-react/popup/KeyinPalettePanel.js.map +1 -1
  1533. package/lib/esm/appui-react/popup/KeyinPalettePopup.d.ts +2 -2
  1534. package/lib/esm/appui-react/popup/KeyinPalettePopup.d.ts.map +1 -1
  1535. package/lib/esm/appui-react/popup/PopupManager.d.ts +2 -2
  1536. package/lib/esm/appui-react/popup/PopupManager.d.ts.map +1 -1
  1537. package/lib/esm/appui-react/popup/PopupManager.js +4 -5
  1538. package/lib/esm/appui-react/popup/PopupManager.js.map +1 -1
  1539. package/lib/esm/appui-react/popup/PositionPopup.d.ts +2 -2
  1540. package/lib/esm/appui-react/popup/PositionPopup.d.ts.map +1 -1
  1541. package/lib/esm/appui-react/popup/ToolSettingsPopup.d.ts +1 -1
  1542. package/lib/esm/appui-react/popup/ToolbarPopup.d.ts +1 -1
  1543. package/lib/esm/appui-react/preview/PreviewFeatures.d.ts +30 -3
  1544. package/lib/esm/appui-react/preview/PreviewFeatures.d.ts.map +1 -1
  1545. package/lib/esm/appui-react/preview/PreviewFeatures.js +4 -1
  1546. package/lib/esm/appui-react/preview/PreviewFeatures.js.map +1 -1
  1547. package/lib/esm/appui-react/preview/widget-action-dropdown/Button.d.ts +17 -0
  1548. package/lib/esm/appui-react/preview/widget-action-dropdown/Button.d.ts.map +1 -0
  1549. package/lib/esm/appui-react/preview/widget-action-dropdown/Button.js +20 -0
  1550. package/lib/esm/appui-react/preview/widget-action-dropdown/Button.js.map +1 -0
  1551. package/lib/esm/appui-react/preview/widget-action-dropdown/MoreButton.d.ts +13 -0
  1552. package/lib/esm/appui-react/preview/widget-action-dropdown/MoreButton.d.ts.map +1 -0
  1553. package/lib/esm/appui-react/preview/widget-action-dropdown/MoreButton.js +63 -0
  1554. package/lib/esm/appui-react/preview/widget-action-dropdown/MoreButton.js.map +1 -0
  1555. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.d.ts +2 -2
  1556. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.d.ts.map +1 -1
  1557. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.js +3 -1
  1558. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
  1559. package/lib/esm/appui-react/selection/SelectionContextItemDef.js +2 -2
  1560. package/lib/esm/appui-react/selection/SelectionContextItemDef.js.map +1 -1
  1561. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.d.ts +2 -2
  1562. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.d.ts.map +1 -1
  1563. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js +2 -1
  1564. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
  1565. package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts +2 -2
  1566. package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts.map +1 -1
  1567. package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts +2 -2
  1568. package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
  1569. package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts +2 -1
  1570. package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
  1571. package/lib/esm/appui-react/stagepanels/StagePanelDef.js +14 -19
  1572. package/lib/esm/appui-react/stagepanels/StagePanelDef.js.map +1 -1
  1573. package/lib/esm/appui-react/statusbar/Field.d.ts +2 -2
  1574. package/lib/esm/appui-react/statusbar/Field.d.ts.map +1 -1
  1575. package/lib/esm/appui-react/statusbar/Field.js +2 -2
  1576. package/lib/esm/appui-react/statusbar/Field.js.map +1 -1
  1577. package/lib/esm/appui-react/statusbar/Field.scss +1 -1
  1578. package/lib/esm/appui-react/statusbar/Indicator.d.ts +1 -1
  1579. package/lib/esm/appui-react/statusbar/Indicator.d.ts.map +1 -1
  1580. package/lib/esm/appui-react/statusbar/Indicator.js +1 -2
  1581. package/lib/esm/appui-react/statusbar/Indicator.js.map +1 -1
  1582. package/lib/esm/appui-react/statusbar/LabelIndicator.d.ts +2 -2
  1583. package/lib/esm/appui-react/statusbar/LabelIndicator.d.ts.map +1 -1
  1584. package/lib/esm/appui-react/statusbar/LabelIndicator.scss +1 -1
  1585. package/lib/esm/appui-react/statusbar/Overflow.d.ts +2 -2
  1586. package/lib/esm/appui-react/statusbar/Overflow.d.ts.map +1 -1
  1587. package/lib/esm/appui-react/statusbar/Overflow.js +3 -3
  1588. package/lib/esm/appui-react/statusbar/Overflow.js.map +1 -1
  1589. package/lib/esm/appui-react/statusbar/OverflowPanel.d.ts +1 -1
  1590. package/lib/esm/appui-react/statusbar/OverflowPanel.d.ts.map +1 -1
  1591. package/lib/esm/appui-react/statusbar/Popup.d.ts +2 -2
  1592. package/lib/esm/appui-react/statusbar/Popup.d.ts.map +1 -1
  1593. package/lib/esm/appui-react/statusbar/Popup.js +1 -1
  1594. package/lib/esm/appui-react/statusbar/Popup.js.map +1 -1
  1595. package/lib/esm/appui-react/statusbar/Separator.d.ts +2 -2
  1596. package/lib/esm/appui-react/statusbar/Separator.d.ts.map +1 -1
  1597. package/lib/esm/appui-react/statusbar/Separator.scss +1 -1
  1598. package/lib/esm/appui-react/statusbar/StatusBar.d.ts +7 -7
  1599. package/lib/esm/appui-react/statusbar/StatusBar.d.ts.map +1 -1
  1600. package/lib/esm/appui-react/statusbar/StatusBar.js +7 -10
  1601. package/lib/esm/appui-react/statusbar/StatusBar.js.map +1 -1
  1602. package/lib/esm/appui-react/statusbar/StatusBarComposer.d.ts +3 -3
  1603. package/lib/esm/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
  1604. package/lib/esm/appui-react/statusbar/StatusBarComposer.js +6 -6
  1605. package/lib/esm/appui-react/statusbar/StatusBarComposer.js.map +1 -1
  1606. package/lib/esm/appui-react/statusbar/dialog/Button.d.ts +2 -2
  1607. package/lib/esm/appui-react/statusbar/dialog/Button.d.ts.map +1 -1
  1608. package/lib/esm/appui-react/statusbar/dialog/Button.js +1 -1
  1609. package/lib/esm/appui-react/statusbar/dialog/Button.js.map +1 -1
  1610. package/lib/esm/appui-react/statusbar/dialog/Dialog.d.ts +3 -3
  1611. package/lib/esm/appui-react/statusbar/dialog/Dialog.d.ts.map +1 -1
  1612. package/lib/esm/appui-react/statusbar/dialog/Dialog.js +2 -2
  1613. package/lib/esm/appui-react/statusbar/dialog/Dialog.js.map +1 -1
  1614. package/lib/esm/appui-react/statusbar/dialog/TitleBar.d.ts +2 -2
  1615. package/lib/esm/appui-react/statusbar/dialog/TitleBar.d.ts.map +1 -1
  1616. package/lib/esm/appui-react/statusbar/dialog/TitleBar.js +1 -1
  1617. package/lib/esm/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
  1618. package/lib/esm/appui-react/statusfields/ActivityCenter.d.ts +2 -2
  1619. package/lib/esm/appui-react/statusfields/ActivityCenter.d.ts.map +1 -1
  1620. package/lib/esm/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
  1621. package/lib/esm/appui-react/statusfields/MessageCenter.js +7 -3
  1622. package/lib/esm/appui-react/statusfields/MessageCenter.js.map +1 -1
  1623. package/lib/esm/appui-react/statusfields/SectionsField.d.ts +3 -3
  1624. package/lib/esm/appui-react/statusfields/SectionsField.d.ts.map +1 -1
  1625. package/lib/esm/appui-react/statusfields/SectionsField.js +9 -8
  1626. package/lib/esm/appui-react/statusfields/SectionsField.js.map +1 -1
  1627. package/lib/esm/appui-react/statusfields/SelectionCount.d.ts +3 -3
  1628. package/lib/esm/appui-react/statusfields/SelectionCount.d.ts.map +1 -1
  1629. package/lib/esm/appui-react/statusfields/SelectionCount.js +4 -4
  1630. package/lib/esm/appui-react/statusfields/SelectionCount.js.map +1 -1
  1631. package/lib/esm/appui-react/statusfields/SelectionInfo.d.ts +2 -2
  1632. package/lib/esm/appui-react/statusfields/SelectionInfo.d.ts.map +1 -1
  1633. package/lib/esm/appui-react/statusfields/SelectionScope.d.ts +4 -4
  1634. package/lib/esm/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
  1635. package/lib/esm/appui-react/statusfields/SelectionScope.js +3 -3
  1636. package/lib/esm/appui-react/statusfields/SelectionScope.js.map +1 -1
  1637. package/lib/esm/appui-react/statusfields/SelectionScope.scss +1 -1
  1638. package/lib/esm/appui-react/statusfields/SnapMode.d.ts +2 -2
  1639. package/lib/esm/appui-react/statusfields/SnapMode.d.ts.map +1 -1
  1640. package/lib/esm/appui-react/statusfields/SnapMode.js +11 -10
  1641. package/lib/esm/appui-react/statusfields/SnapMode.js.map +1 -1
  1642. package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts +1 -1
  1643. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +1 -1
  1644. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +2 -2
  1645. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
  1646. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js +14 -9
  1647. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
  1648. package/lib/esm/appui-react/theme/ThemeManager.d.ts +1 -0
  1649. package/lib/esm/appui-react/theme/ThemeManager.d.ts.map +1 -1
  1650. package/lib/esm/appui-react/theme/ThemeManager.js +3 -2
  1651. package/lib/esm/appui-react/theme/ThemeManager.js.map +1 -1
  1652. package/lib/esm/appui-react/theme/ThemeManager.scss +9 -0
  1653. package/lib/esm/appui-react/toolbar/Toolbar.d.ts +1 -1
  1654. package/lib/esm/appui-react/toolbar/Toolbar.d.ts.map +1 -1
  1655. package/lib/esm/appui-react/toolbar/ToolbarComposer.d.ts +2 -2
  1656. package/lib/esm/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
  1657. package/lib/esm/appui-react/toolbar/ToolbarHelper.js +6 -4
  1658. package/lib/esm/appui-react/toolbar/ToolbarHelper.js.map +1 -1
  1659. package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.d.ts +1 -1
  1660. package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.d.ts.map +1 -1
  1661. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js +3 -4
  1662. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
  1663. package/lib/esm/appui-react/tools/CoreToolDefinitions.js +10 -17
  1664. package/lib/esm/appui-react/tools/CoreToolDefinitions.js.map +1 -1
  1665. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js +3 -2
  1666. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
  1667. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.js +20 -22
  1668. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.js.map +1 -1
  1669. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +9 -10
  1670. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
  1671. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +1 -2
  1672. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
  1673. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js +8 -14
  1674. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
  1675. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js +1 -1
  1676. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
  1677. package/lib/esm/appui-react/uiprovider/ComponentGenerator.js +1 -1
  1678. package/lib/esm/appui-react/uiprovider/ComponentGenerator.js.map +1 -1
  1679. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.d.ts +4 -4
  1680. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
  1681. package/lib/esm/appui-react/uistate/useUiStateStorage.d.ts +1 -1
  1682. package/lib/esm/appui-react/uistate/useUiStateStorage.d.ts.map +1 -1
  1683. package/lib/esm/appui-react/utils/InternalUiShowHideManager.js +3 -3
  1684. package/lib/esm/appui-react/utils/InternalUiShowHideManager.js.map +1 -1
  1685. package/lib/esm/appui-react/widget-panels/Content.d.ts +2 -2
  1686. package/lib/esm/appui-react/widget-panels/Content.d.ts.map +1 -1
  1687. package/lib/esm/appui-react/widget-panels/Content.js +17 -17
  1688. package/lib/esm/appui-react/widget-panels/Content.js.map +1 -1
  1689. package/lib/esm/appui-react/widget-panels/FloatingWidget.d.ts +2 -2
  1690. package/lib/esm/appui-react/widget-panels/FloatingWidget.d.ts.map +1 -1
  1691. package/lib/esm/appui-react/widget-panels/FloatingWidget.js +1 -1
  1692. package/lib/esm/appui-react/widget-panels/FloatingWidget.js.map +1 -1
  1693. package/lib/esm/appui-react/widget-panels/Frontstage.d.ts +9 -7
  1694. package/lib/esm/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
  1695. package/lib/esm/appui-react/widget-panels/Frontstage.js +47 -36
  1696. package/lib/esm/appui-react/widget-panels/Frontstage.js.map +1 -1
  1697. package/lib/esm/appui-react/widget-panels/Frontstage.scss +6 -2
  1698. package/lib/esm/appui-react/widget-panels/FrontstageContent.d.ts +5 -2
  1699. package/lib/esm/appui-react/widget-panels/FrontstageContent.d.ts.map +1 -1
  1700. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.d.ts +5 -2
  1701. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.d.ts.map +1 -1
  1702. package/lib/esm/appui-react/widget-panels/StatusBar.d.ts +2 -2
  1703. package/lib/esm/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
  1704. package/lib/esm/appui-react/widget-panels/StatusBar.js +1 -1
  1705. package/lib/esm/appui-react/widget-panels/StatusBar.js.map +1 -1
  1706. package/lib/esm/appui-react/widget-panels/Tab.d.ts +3 -3
  1707. package/lib/esm/appui-react/widget-panels/Tab.d.ts.map +1 -1
  1708. package/lib/esm/appui-react/widget-panels/Tab.js +5 -5
  1709. package/lib/esm/appui-react/widget-panels/Tab.js.map +1 -1
  1710. package/lib/esm/appui-react/widget-panels/ToolSettings.d.ts +6 -6
  1711. package/lib/esm/appui-react/widget-panels/ToolSettings.d.ts.map +1 -1
  1712. package/lib/esm/appui-react/widget-panels/ToolSettings.js +21 -26
  1713. package/lib/esm/appui-react/widget-panels/ToolSettings.js.map +1 -1
  1714. package/lib/esm/appui-react/widget-panels/Toolbars.d.ts +2 -2
  1715. package/lib/esm/appui-react/widget-panels/Toolbars.d.ts.map +1 -1
  1716. package/lib/esm/appui-react/widget-panels/Toolbars.js +2 -3
  1717. package/lib/esm/appui-react/widget-panels/Toolbars.js.map +1 -1
  1718. package/lib/esm/appui-react/widget-panels/useTransientState.d.ts.map +1 -1
  1719. package/lib/esm/appui-react/widget-panels/useTransientState.js +6 -2
  1720. package/lib/esm/appui-react/widget-panels/useTransientState.js.map +1 -1
  1721. package/lib/esm/appui-react/widget-panels/useWidgetDirection.d.ts.map +1 -1
  1722. package/lib/esm/appui-react/widget-panels/useWidgetDirection.js +5 -2
  1723. package/lib/esm/appui-react/widget-panels/useWidgetDirection.js.map +1 -1
  1724. package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts +2 -2
  1725. package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
  1726. package/lib/esm/appui-react/widgets/BackstageAppButton.js +2 -2
  1727. package/lib/esm/appui-react/widgets/BackstageAppButton.js.map +1 -1
  1728. package/lib/esm/appui-react/widgets/BasicNavigationWidget.d.ts +2 -2
  1729. package/lib/esm/appui-react/widgets/BasicNavigationWidget.d.ts.map +1 -1
  1730. package/lib/esm/appui-react/widgets/BasicToolWidget.d.ts +2 -2
  1731. package/lib/esm/appui-react/widgets/BasicToolWidget.d.ts.map +1 -1
  1732. package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.d.ts +1 -1
  1733. package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.d.ts.map +1 -1
  1734. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.d.ts +3 -3
  1735. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
  1736. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js +5 -5
  1737. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
  1738. package/lib/esm/appui-react/widgets/ToolWidgetComposer.d.ts +2 -2
  1739. package/lib/esm/appui-react/widgets/ToolWidgetComposer.d.ts.map +1 -1
  1740. package/lib/esm/appui-react/widgets/ToolWidgetComposer.js +2 -2
  1741. package/lib/esm/appui-react/widgets/ToolWidgetComposer.js.map +1 -1
  1742. package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.d.ts +2 -2
  1743. package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.d.ts.map +1 -1
  1744. package/lib/esm/appui-react/widgets/WidgetDef.js +4 -5
  1745. package/lib/esm/appui-react/widgets/WidgetDef.js.map +1 -1
  1746. package/lib/esm/appui-react/widgets/WidgetHost.js +2 -3
  1747. package/lib/esm/appui-react/widgets/WidgetHost.js.map +1 -1
  1748. package/lib/esm/appui-react/widgets/useWidget.d.ts.map +1 -1
  1749. package/lib/esm/appui-react/widgets/useWidget.js +4 -3
  1750. package/lib/esm/appui-react/widgets/useWidget.js.map +1 -1
  1751. package/package.json +13 -14
  1752. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.d.ts +0 -8
  1753. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.d.ts.map +0 -1
  1754. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.js.map +0 -1
  1755. package/lib/esm/appui-react/safearea/SafeAreaHelpers.d.ts +0 -8
  1756. package/lib/esm/appui-react/safearea/SafeAreaHelpers.d.ts.map +0 -1
  1757. package/lib/esm/appui-react/safearea/SafeAreaHelpers.js.map +0 -1
@@ -1,8 +1,8 @@
1
1
  /** @packageDocumentation
2
2
  * @module Widget
3
3
  */
4
- import * as React from "react";
5
4
  import type { CommonProps } from "@itwin/core-react";
5
+ import * as React from "react";
6
6
  /** Properties for the [[NavigationAidHost]] React component
7
7
  * @public
8
8
  */
@@ -16,7 +16,7 @@ export interface NavigationAidHostProps {
16
16
  * NavigationAidHost is a component that hosts a NavigationAid that is specific to the active content control.
17
17
  * @public
18
18
  */
19
- export declare function NavigationAidHost(props: NavigationAidHostProps): JSX.Element;
19
+ export declare function NavigationAidHost(props: NavigationAidHostProps): React.JSX.Element;
20
20
  /** Properties for the [[NavigationWidgetComposer]] React components
21
21
  * @public
22
22
  */
@@ -35,5 +35,5 @@ export interface NavigationWidgetComposerProps extends CommonProps {
35
35
  * and typically holds tools to visually navigate, orient, and zoom to specific content.
36
36
  * @public
37
37
  */
38
- export declare function NavigationWidgetComposer(props: NavigationWidgetComposerProps): JSX.Element;
38
+ export declare function NavigationWidgetComposer(props: NavigationWidgetComposerProps): React.JSX.Element;
39
39
  //# sourceMappingURL=NavigationWidgetComposer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationWidgetComposer.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/NavigationWidgetComposer.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AA0CrD;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,eAoG9D;AAED;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,WAAW;IAChE,kCAAkC;IAClC,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC,gCAAgC;IAChC,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,8MAA8M;IAC9M,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC,kEAAkE;IAClE,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,6BAA6B,eAwC5E"}
1
+ {"version":3,"file":"NavigationWidgetComposer.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/NavigationWidgetComposer.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AASrD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoC/B;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,qBAoG9D;AAED;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,WAAW;IAChE,kCAAkC;IAClC,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC,gCAAgC;IAChC,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,8MAA8M;IAC9M,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC,kEAAkE;IAClE,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,6BAA6B,qBAwC5E"}
@@ -8,10 +8,10 @@
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.NavigationWidgetComposer = exports.NavigationAidHost = void 0;
11
- const React = require("react");
12
- const imodel_components_react_1 = require("@itwin/imodel-components-react");
13
11
  const core_react_1 = require("@itwin/core-react");
14
- const appui_layout_react_1 = require("@itwin/appui-layout-react");
12
+ const imodel_components_react_1 = require("@itwin/imodel-components-react");
13
+ const React = require("react");
14
+ const NavigationArea_1 = require("../layout/widget/NavigationArea");
15
15
  const UiFramework_1 = require("../UiFramework");
16
16
  function createNavigationAidControl(activeContentControl, navigationAidId, activeViewport) {
17
17
  // istanbul ignore else
@@ -33,7 +33,7 @@ function createNavigationAidControl(activeContentControl, navigationAidId, activ
33
33
  */
34
34
  function NavigationAidHost(props) {
35
35
  const [activeContentControl, setActiveContentControl] = React.useState(() => UiFramework_1.UiFramework.content.getActiveContentControl());
36
- const [activeContentViewport, setActiveContentViewport] = React.useState(() => /* istanbul ignore next */ activeContentControl === null || activeContentControl === void 0 ? void 0 : activeContentControl.viewport);
36
+ const [activeContentViewport, setActiveContentViewport] = React.useState(() => /* istanbul ignore next */ activeContentControl?.viewport);
37
37
  const [navigationAidId, setNavigationAidId] = React.useState(() => activeContentControl
38
38
  ? activeContentControl.navigationAidControl
39
39
  : /* istanbul ignore next */ "");
@@ -107,12 +107,12 @@ function NavigationWidgetComposer(props) {
107
107
  /* istanbul ignore next */
108
108
  const navigationAid = hideNavigationAid
109
109
  ? undefined
110
- : navigationAidHost !== null && navigationAidHost !== void 0 ? navigationAidHost : React.createElement(NavigationAidHost, null);
110
+ : navigationAidHost ?? React.createElement(NavigationAidHost, null);
111
111
  return (React.createElement(core_react_1.WidgetOpacityContext.Provider, { value: {
112
112
  onElementRef: handleChildRef,
113
113
  proximityScale,
114
114
  } },
115
- React.createElement(appui_layout_react_1.NavigationArea, { navigationAid: navigationAid, horizontalToolbar: horizontalToolbar, verticalToolbar: verticalToolbar, ...otherProps, onMouseEnter: UiFramework_1.UiFramework.visibility.handleWidgetMouseEnter })));
115
+ React.createElement(NavigationArea_1.NavigationArea, { navigationAid: navigationAid, horizontalToolbar: horizontalToolbar, verticalToolbar: verticalToolbar, ...otherProps, onMouseEnter: UiFramework_1.UiFramework.visibility.handleWidgetMouseEnter })));
116
116
  }
117
117
  exports.NavigationWidgetComposer = NavigationWidgetComposer;
118
118
  //# sourceMappingURL=NavigationWidgetComposer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationWidgetComposer.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/NavigationWidgetComposer.tsx"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAEH,+BAA+B;AAG/B,4EAAyE;AAEzE,kDAK2B;AAC3B,kEAA2D;AAM3D,gDAA6C;AAE7C,SAAS,0BAA0B,CACjC,oBAAgD,EAChD,eAAuB,EACvB,cAA0C;IAE1C,uBAAuB;IACvB,IACE,CAAC,oBAAoB;QACrB,CAAC,eAAe;QAChB,cAAc,KAAK,oBAAoB,CAAC,QAAQ;QAEhD,OAAO,SAAS,CAAC;IAEnB,MAAM,QAAQ,GAAG,oBAAoB,CAAC,QAAQ,CAAC;IAC/C,MAAM,MAAM,GAAG,QAAQ;QACrB,CAAC,CAAC,QAAQ,CAAC,MAAM;QACjB,CAAC,CAAC,0BAA0B,CAAC,yBAAW,CAAC,mBAAmB,EAAE,CAAC;IACjE,MAAM,oBAAoB,GAAG,yBAAW,CAAC,Q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AAM,cAAc,GAAG,IAAA,gCAAmB,EACxC,UAAU,EACV,yBAAW,CAAC,UAAU,CAAC,iBAAiB,CACzC,CAAC;IACF,0BAA0B;IAC1B,MAAM,aAAa,GAAG,iBAAiB;QACrC,CAAC,CAAC,SAAS;QACX,CAAC,CAAC,iBAAiB,aAAjB,iBAAiB,cAAjB,iBAAiB,GAAI,oBAAC,iBAAiB,OAAG,CAAC;IAE/C,OAAO,CACL,oBAAC,iCAAoB,CAAC,QAAQ,IAC5B,KAAK,EAAE;YACL,YAAY,EAAE,cAAc;YAC5B,cAAc;SACf;QAED,oBAAC,mCAAc,IACb,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,eAAe,KAC5B,UAAU,EACd,YAAY,EAAE,yBAAW,CAAC,UAAU,CAAC,sBAAsB,GAC3D,CAC4B,CACjC,CAAC;AACJ,CAAC;AAxCD,4DAwCC","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 * as React from \"react\";\nimport type { ScreenViewport } from \"@itwin/core-frontend\";\nimport type { ViewClassFullNameChangedEventArgs } from \"@itwin/imodel-components-react\";\nimport { ViewportComponentEvents } from \"@itwin/imodel-components-react\";\nimport type { CommonProps } from \"@itwin/core-react\";\nimport {\n useProximityToMouse,\n useWidgetOpacityContext,\n WidgetElementSet,\n WidgetOpacityContext,\n} from \"@itwin/core-react\";\nimport { NavigationArea } from \"@itwin/appui-layout-react\";\nimport type {\n ContentControl,\n ContentControlActivatedEventArgs,\n} from \"../content/ContentControl\";\nimport type { NavigationAidControl } from \"../navigationaids/NavigationAidControl\";\nimport { UiFramework } from \"../UiFramework\";\n\nfunction createNavigationAidControl(\n activeContentControl: ContentControl | undefined,\n navigationAidId: string,\n activeViewport: ScreenViewport | undefined\n): NavigationAidControl | undefined {\n // istanbul ignore else\n if (\n !activeContentControl ||\n !navigationAidId ||\n activeViewport !== activeContentControl.viewport\n )\n return undefined;\n\n const viewport = activeContentControl.viewport;\n const imodel = viewport\n ? viewport.iModel\n : /* istanbul ignore next */ UiFramework.getIModelConnection();\n const navigationAidControl = UiFramework.controls.create(\n navigationAidId,\n navigationAidId,\n { imodel, viewport }\n ) as NavigationAidControl;\n\n navigationAidControl.initialize();\n return navigationAidControl;\n}\n\n/** Properties for the [[NavigationAidHost]] React component\n * @public\n */\nexport interface NavigationAidHostProps {\n /** Navigation Aid Host minimum width. Defaults to \"64px\". */\n minWidth?: string;\n /** Navigation Aid Host minimum height. Defaults to \"64px\". */\n minHeight?: string;\n}\n\n/**\n * NavigationAidHost is a component that hosts a NavigationAid that is specific to the active content control.\n * @public\n */\nexport function NavigationAidHost(props: NavigationAidHostProps) {\n const [activeContentControl, setActiveContentControl] = React.useState(() =>\n UiFramework.content.getActiveContentControl()\n );\n const [activeContentViewport, setActiveContentViewport] = React.useState(\n () => /* istanbul ignore next */ activeContentControl?.viewport\n );\n const [navigationAidId, setNavigationAidId] = React.useState(() =>\n activeContentControl\n ? activeContentControl.navigationAidControl\n : /* istanbul ignore next */ \"\"\n );\n\n React.useEffect(() => {\n // istanbul ignore next\n const handleContentControlActivated = (\n args: ContentControlActivatedEventArgs\n ) => {\n setActiveContentControl(args.activeContentControl);\n setActiveContentViewport(args.activeContentControl.viewport);\n setNavigationAidId(args.activeContentControl.navigationAidControl);\n };\n\n UiFramework.frontstages.onContentControlActivatedEvent.addListener(\n handleContentControlActivated\n );\n return () => {\n UiFramework.frontstages.onContentControlActivatedEvent.removeListener(\n handleContentControlActivated\n );\n };\n }, []);\n\n const [activeViewClass, setActiveViewClass] = React.useState(() => {\n const content = UiFramework.content.getActiveContentControl();\n if (content && content.viewport) return content.viewport.view.classFullName;\n return \"\";\n });\n\n React.useEffect(() => {\n // istanbul ignore next\n const handleViewClassFullNameChange = (\n args: ViewClassFullNameChangedEventArgs\n ) => {\n setActiveViewClass(args.newName);\n };\n\n ViewportComponentEvents.onViewClassFullNameChangedEvent.addListener(\n handleViewClassFullNameChange\n );\n return () => {\n ViewportComponentEvents.onViewClassFullNameChangedEvent.removeListener(\n handleViewClassFullNameChange\n );\n };\n }, [activeViewClass]);\n\n const navigationAidControl = React.useMemo(\n () =>\n createNavigationAidControl(\n activeContentControl,\n navigationAidId,\n activeContentViewport\n ),\n [activeContentControl, navigationAidId, activeContentViewport]\n );\n\n const ref = React.useRef<HTMLDivElement>(null);\n\n const isInitialMount = React.useRef(true);\n const { onElementRef, proximityScale } = useWidgetOpacityContext();\n\n React.useEffect(() => {\n // istanbul ignore else\n if (isInitialMount.current) {\n isInitialMount.current = false;\n onElementRef(ref);\n }\n }, [onElementRef]);\n\n const divStyle: React.CSSProperties = {\n minWidth: props.minWidth\n ? /* istanbul ignore next */ props.minWidth\n : \"64px\",\n minHeight: props.minHeight\n ? /* istanbul ignore next */ props.minHeight\n : \"64px\",\n };\n\n // istanbul ignore else\n if (UiFramework.visibility.useProximityOpacity && !UiFramework.isMobile()) {\n const navigationAidOpacity = 0.3 * proximityScale + 0.7;\n divStyle.opacity = `${navigationAidOpacity}`;\n }\n\n return (\n <div style={divStyle} ref={ref}>\n {navigationAidControl && navigationAidControl.reactNode}\n </div>\n );\n}\n\n/** Properties for the [[NavigationWidgetComposer]] React components\n * @public\n */\nexport interface NavigationWidgetComposerProps extends CommonProps {\n /** Optional Horizontal Toolbar */\n horizontalToolbar?: React.ReactNode;\n /** Optional Vertical Toolbar */\n verticalToolbar?: React.ReactNode;\n /** Optional Navigation Aid host. If not specified a default host is provided which will use registered Navigation Aids and the active content control to determine which if any Navigation Aid to display. */\n navigationAidHost?: React.ReactNode;\n /** If true no navigation aid will be shown. Defaults to false. */\n hideNavigationAid?: boolean;\n}\n\n/**\n * Component that Composes a NavigationWidget typically using toolbars generated via [[ToolbarComposer]] class. The Navigation widget is shown in the top right of the content area\n * and typically holds tools to visually navigate, orient, and zoom to specific content.\n * @public\n */\nexport function NavigationWidgetComposer(props: NavigationWidgetComposerProps) {\n const {\n navigationAidHost,\n horizontalToolbar,\n verticalToolbar,\n hideNavigationAid,\n ...otherProps\n } = props;\n const [elementSet] = React.useState(new WidgetElementSet());\n const handleChildRef = React.useCallback(\n (elementRef: React.RefObject<Element>) => {\n elementSet.add(elementRef);\n },\n [elementSet]\n );\n const proximityScale = useProximityToMouse(\n elementSet,\n UiFramework.visibility.snapWidgetOpacity\n );\n /* istanbul ignore next */\n const navigationAid = hideNavigationAid\n ? undefined\n : navigationAidHost ?? <NavigationAidHost />;\n\n return (\n <WidgetOpacityContext.Provider\n value={{\n onElementRef: handleChildRef,\n proximityScale,\n }}\n >\n <NavigationArea\n navigationAid={navigationAid}\n horizontalToolbar={horizontalToolbar}\n verticalToolbar={verticalToolbar}\n {...otherProps}\n onMouseEnter={UiFramework.visibility.handleWidgetMouseEnter}\n />\n </WidgetOpacityContext.Provider>\n );\n}\n"]}
1
+ {"version":3,"file":"NavigationWidgetComposer.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/NavigationWidgetComposer.tsx"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAIH,kDAK2B;AAE3B,4EAAyE;AACzE,+BAA+B;AAK/B,oEAAiE;AAEjE,gDAA6C;AAE7C,SAAS,0BAA0B,CACjC,oBAAgD,EAChD,eAAuB,EACvB,cAA0C;IAE1C,uBAAuB;IACvB,IACE,CAAC,oBAAoB;QACrB,CAAC,eAAe;QAChB,cAAc,KAAK,oBAAoB,CAAC,QAAQ;QAEhD,OAAO,SAAS,CAAC;IAEnB,MAAM,QAAQ,GAAG,oBAAoB,CAAC,QAAQ,CAAC;IAC/C,MAAM,MAAM,GAAG,QAAQ;QACrB,CAAC,CAAC,QAAQ,CAAC,MAAM;QACjB,CAAC,CAAC,0BAA0B,CAAC,yBAAW,CAAC,mBAAmB,EAAE,CAAC;IACjE,MAAM,oBAAoB,GAAG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G,IAAA,gCAAmB,EACxC,UAAU,EACV,yBAAW,CAAC,UAAU,CAAC,iBAAiB,CACzC,CAAC;IACF,0BAA0B;IAC1B,MAAM,aAAa,GAAG,iBAAiB;QACrC,CAAC,CAAC,SAAS;QACX,CAAC,CAAC,iBAAiB,IAAI,oBAAC,iBAAiB,OAAG,CAAC;IAE/C,OAAO,CACL,oBAAC,iCAAoB,CAAC,QAAQ,IAC5B,KAAK,EAAE;YACL,YAAY,EAAE,cAAc;YAC5B,cAAc;SACf;QAED,oBAAC,+BAAc,IACb,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,eAAe,KAC5B,UAAU,EACd,YAAY,EAAE,yBAAW,CAAC,UAAU,CAAC,sBAAsB,GAC3D,CAC4B,CACjC,CAAC;AACJ,CAAC;AAxCD,4DAwCC","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 type { ScreenViewport } from \"@itwin/core-frontend\";\nimport type { CommonProps } from \"@itwin/core-react\";\nimport {\n useProximityToMouse,\n useWidgetOpacityContext,\n WidgetElementSet,\n WidgetOpacityContext,\n} from \"@itwin/core-react\";\nimport type { ViewClassFullNameChangedEventArgs } from \"@itwin/imodel-components-react\";\nimport { ViewportComponentEvents } from \"@itwin/imodel-components-react\";\nimport * as React from \"react\";\nimport type {\n ContentControl,\n ContentControlActivatedEventArgs,\n} from \"../content/ContentControl\";\nimport { NavigationArea } from \"../layout/widget/NavigationArea\";\nimport type { NavigationAidControl } from \"../navigationaids/NavigationAidControl\";\nimport { UiFramework } from \"../UiFramework\";\n\nfunction createNavigationAidControl(\n activeContentControl: ContentControl | undefined,\n navigationAidId: string,\n activeViewport: ScreenViewport | undefined\n): NavigationAidControl | undefined {\n // istanbul ignore else\n if (\n !activeContentControl ||\n !navigationAidId ||\n activeViewport !== activeContentControl.viewport\n )\n return undefined;\n\n const viewport = activeContentControl.viewport;\n const imodel = viewport\n ? viewport.iModel\n : /* istanbul ignore next */ UiFramework.getIModelConnection();\n const navigationAidControl = UiFramework.controls.create(\n navigationAidId,\n navigationAidId,\n { imodel, viewport }\n ) as NavigationAidControl;\n\n navigationAidControl.initialize();\n return navigationAidControl;\n}\n\n/** Properties for the [[NavigationAidHost]] React component\n * @public\n */\nexport interface NavigationAidHostProps {\n /** Navigation Aid Host minimum width. Defaults to \"64px\". */\n minWidth?: string;\n /** Navigation Aid Host minimum height. Defaults to \"64px\". */\n minHeight?: string;\n}\n\n/**\n * NavigationAidHost is a component that hosts a NavigationAid that is specific to the active content control.\n * @public\n */\nexport function NavigationAidHost(props: NavigationAidHostProps) {\n const [activeContentControl, setActiveContentControl] = React.useState(() =>\n UiFramework.content.getActiveContentControl()\n );\n const [activeContentViewport, setActiveContentViewport] = React.useState(\n () => /* istanbul ignore next */ activeContentControl?.viewport\n );\n const [navigationAidId, setNavigationAidId] = React.useState(() =>\n activeContentControl\n ? activeContentControl.navigationAidControl\n : /* istanbul ignore next */ \"\"\n );\n\n React.useEffect(() => {\n // istanbul ignore next\n const handleContentControlActivated = (\n args: ContentControlActivatedEventArgs\n ) => {\n setActiveContentControl(args.activeContentControl);\n setActiveContentViewport(args.activeContentControl.viewport);\n setNavigationAidId(args.activeContentControl.navigationAidControl);\n };\n\n UiFramework.frontstages.onContentControlActivatedEvent.addListener(\n handleContentControlActivated\n );\n return () => {\n UiFramework.frontstages.onContentControlActivatedEvent.removeListener(\n handleContentControlActivated\n );\n };\n }, []);\n\n const [activeViewClass, setActiveViewClass] = React.useState(() => {\n const content = UiFramework.content.getActiveContentControl();\n if (content && content.viewport) return content.viewport.view.classFullName;\n return \"\";\n });\n\n React.useEffect(() => {\n // istanbul ignore next\n const handleViewClassFullNameChange = (\n args: ViewClassFullNameChangedEventArgs\n ) => {\n setActiveViewClass(args.newName);\n };\n\n ViewportComponentEvents.onViewClassFullNameChangedEvent.addListener(\n handleViewClassFullNameChange\n );\n return () => {\n ViewportComponentEvents.onViewClassFullNameChangedEvent.removeListener(\n handleViewClassFullNameChange\n );\n };\n }, [activeViewClass]);\n\n const navigationAidControl = React.useMemo(\n () =>\n createNavigationAidControl(\n activeContentControl,\n navigationAidId,\n activeContentViewport\n ),\n [activeContentControl, navigationAidId, activeContentViewport]\n );\n\n const ref = React.useRef<HTMLDivElement>(null);\n\n const isInitialMount = React.useRef(true);\n const { onElementRef, proximityScale } = useWidgetOpacityContext();\n\n React.useEffect(() => {\n // istanbul ignore else\n if (isInitialMount.current) {\n isInitialMount.current = false;\n onElementRef(ref);\n }\n }, [onElementRef]);\n\n const divStyle: React.CSSProperties = {\n minWidth: props.minWidth\n ? /* istanbul ignore next */ props.minWidth\n : \"64px\",\n minHeight: props.minHeight\n ? /* istanbul ignore next */ props.minHeight\n : \"64px\",\n };\n\n // istanbul ignore else\n if (UiFramework.visibility.useProximityOpacity && !UiFramework.isMobile()) {\n const navigationAidOpacity = 0.3 * proximityScale + 0.7;\n divStyle.opacity = `${navigationAidOpacity}`;\n }\n\n return (\n <div style={divStyle} ref={ref}>\n {navigationAidControl && navigationAidControl.reactNode}\n </div>\n );\n}\n\n/** Properties for the [[NavigationWidgetComposer]] React components\n * @public\n */\nexport interface NavigationWidgetComposerProps extends CommonProps {\n /** Optional Horizontal Toolbar */\n horizontalToolbar?: React.ReactNode;\n /** Optional Vertical Toolbar */\n verticalToolbar?: React.ReactNode;\n /** Optional Navigation Aid host. If not specified a default host is provided which will use registered Navigation Aids and the active content control to determine which if any Navigation Aid to display. */\n navigationAidHost?: React.ReactNode;\n /** If true no navigation aid will be shown. Defaults to false. */\n hideNavigationAid?: boolean;\n}\n\n/**\n * Component that Composes a NavigationWidget typically using toolbars generated via [[ToolbarComposer]] class. The Navigation widget is shown in the top right of the content area\n * and typically holds tools to visually navigate, orient, and zoom to specific content.\n * @public\n */\nexport function NavigationWidgetComposer(props: NavigationWidgetComposerProps) {\n const {\n navigationAidHost,\n horizontalToolbar,\n verticalToolbar,\n hideNavigationAid,\n ...otherProps\n } = props;\n const [elementSet] = React.useState(new WidgetElementSet());\n const handleChildRef = React.useCallback(\n (elementRef: React.RefObject<Element>) => {\n elementSet.add(elementRef);\n },\n [elementSet]\n );\n const proximityScale = useProximityToMouse(\n elementSet,\n UiFramework.visibility.snapWidgetOpacity\n );\n /* istanbul ignore next */\n const navigationAid = hideNavigationAid\n ? undefined\n : navigationAidHost ?? <NavigationAidHost />;\n\n return (\n <WidgetOpacityContext.Provider\n value={{\n onElementRef: handleChildRef,\n proximityScale,\n }}\n >\n <NavigationArea\n navigationAid={navigationAid}\n horizontalToolbar={horizontalToolbar}\n verticalToolbar={verticalToolbar}\n {...otherProps}\n onMouseEnter={UiFramework.visibility.handleWidgetMouseEnter}\n />\n </WidgetOpacityContext.Provider>\n );\n}\n"]}
@@ -1,8 +1,8 @@
1
1
  /** @packageDocumentation
2
2
  * @module Widget
3
3
  */
4
- import * as React from "react";
5
4
  import type { CommonProps } from "@itwin/core-react";
5
+ import * as React from "react";
6
6
  /** Properties for the [[ToolbarComposer]] React components
7
7
  * @public
8
8
  */
@@ -20,5 +20,5 @@ export interface ToolWidgetComposerProps extends CommonProps {
20
20
  * selected items. The vertical toolbar typically contains a more fixed list of tools.
21
21
  * @public
22
22
  */
23
- export declare function ToolWidgetComposer(props: ToolWidgetComposerProps): JSX.Element;
23
+ export declare function ToolWidgetComposer(props: ToolWidgetComposerProps): React.JSX.Element;
24
24
  //# sourceMappingURL=ToolWidgetComposer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ToolWidgetComposer.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/ToolWidgetComposer.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AASrD;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,WAAW;IAC1D,iIAAiI;IACjI,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,kCAAkC;IAClC,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC,gCAAgC;IAChC,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACnC;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,eA+BhE"}
1
+ {"version":3,"file":"ToolWidgetComposer.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/ToolWidgetComposer.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAMrD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,WAAW;IAC1D,iIAAiI;IACjI,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,kCAAkC;IAClC,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC,gCAAgC;IAChC,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACnC;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,qBA+BhE"}
@@ -8,9 +8,9 @@
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.ToolWidgetComposer = void 0;
11
- const React = require("react");
12
11
  const core_react_1 = require("@itwin/core-react");
13
- const appui_layout_react_1 = require("@itwin/appui-layout-react");
12
+ const React = require("react");
13
+ const ToolsArea_1 = require("../layout/widget/ToolsArea");
14
14
  const UiFramework_1 = require("../UiFramework");
15
15
  /**
16
16
  * ToolWidget component that supports use of ToolbarComposer-based Toolbars. The ToolWidget is shown in the top left of the content area
@@ -29,7 +29,7 @@ function ToolWidgetComposer(props) {
29
29
  onElementRef: handleChildRef,
30
30
  proximityScale,
31
31
  } },
32
- React.createElement(appui_layout_react_1.ToolsArea, { button: cornerItem, horizontalToolbar: horizontalToolbar, verticalToolbar: verticalToolbar, ...otherProps, onMouseEnter: UiFramework_1.UiFramework.visibility.handleWidgetMouseEnter })));
32
+ React.createElement(ToolsArea_1.ToolsArea, { button: cornerItem, horizontalToolbar: horizontalToolbar, verticalToolbar: verticalToolbar, ...otherProps, onMouseEnter: UiFramework_1.UiFramework.visibility.handleWidgetMouseEnter })));
33
33
  }
34
34
  exports.ToolWidgetComposer = ToolWidgetComposer;
35
35
  //# sourceMappingURL=ToolWidgetComposer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ToolWidgetComposer.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/ToolWidgetComposer.tsx"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAEH,+BAA+B;AAE/B,kDAI2B;AAC3B,kEAAsD;AACtD,gDAA6C;AAc7C;;;;;GAKG;AACH,SAAgB,kBAAkB,CAAC,KAA8B;IAC/D,MAAM,EAAE,UAAU,EAAE,iBAAiB,EAAE,eAAe,EAAE,GAAG,UAAU,EAAE,GACrE,KAAK,CAAC;IACR,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,6BAAgB,EAAE,CAAC,CAAC;IAC5D,MAAM,cAAc,GAAG,KAAK,CAAC,WAAW,CACtC,CAAC,UAAoC,EAAE,EAAE;QACvC,UAAU,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IAC7B,CAAC,EACD,CAAC,UAAU,CAAC,CACb,CAAC;IACF,MAAM,cAAc,GAAG,IAAA,gCAAmB,EACxC,UAAU,EACV,yBAAW,CAAC,UAAU,CAAC,iBAAiB,CACzC,CAAC;IAEF,OAAO,CACL,oBAAC,iCAAoB,CAAC,QAAQ,IAC5B,KAAK,EAAE;YACL,YAAY,EAAE,cAAc;YAC5B,cAAc;SACf;QAED,oBAAC,8BAAS,IACR,MAAM,EAAE,UAAU,EAClB,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,eAAe,KAC5B,UAAU,EACd,YAAY,EAAE,yBAAW,CAAC,UAAU,CAAC,sBAAsB,GAC3D,CAC4B,CACjC,CAAC;AACJ,CAAC;AA/BD,gDA+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 Widget\n */\n\nimport * as React from \"react\";\nimport type { CommonProps } from \"@itwin/core-react\";\nimport {\n useProximityToMouse,\n WidgetElementSet,\n WidgetOpacityContext,\n} from \"@itwin/core-react\";\nimport { ToolsArea } from \"@itwin/appui-layout-react\";\nimport { UiFramework } from \"../UiFramework\";\n\n/** Properties for the [[ToolbarComposer]] React components\n * @public\n */\nexport interface ToolWidgetComposerProps extends CommonProps {\n /** Optional Corner Item which for most stages is the [[BackstageAppButton]] used to toggle the display of the backstage menu. */\n cornerItem?: React.ReactNode;\n /** Optional Horizontal Toolbar */\n horizontalToolbar?: React.ReactNode;\n /** Optional Vertical Toolbar */\n verticalToolbar?: React.ReactNode;\n}\n\n/**\n * ToolWidget component that supports use of ToolbarComposer-based Toolbars. The ToolWidget is shown in the top left of the content area\n * and typically holds tools to manipulate or interrogate content. The horizontal toolbar often includes context specific tools based on\n * selected items. The vertical toolbar typically contains a more fixed list of tools.\n * @public\n */\nexport function ToolWidgetComposer(props: ToolWidgetComposerProps) {\n const { cornerItem, horizontalToolbar, verticalToolbar, ...otherProps } =\n props;\n const [elementSet] = React.useState(new WidgetElementSet());\n const handleChildRef = React.useCallback(\n (elementRef: React.RefObject<Element>) => {\n elementSet.add(elementRef);\n },\n [elementSet]\n );\n const proximityScale = useProximityToMouse(\n elementSet,\n UiFramework.visibility.snapWidgetOpacity\n );\n\n return (\n <WidgetOpacityContext.Provider\n value={{\n onElementRef: handleChildRef,\n proximityScale,\n }}\n >\n <ToolsArea\n button={cornerItem}\n horizontalToolbar={horizontalToolbar}\n verticalToolbar={verticalToolbar}\n {...otherProps}\n onMouseEnter={UiFramework.visibility.handleWidgetMouseEnter}\n />\n </WidgetOpacityContext.Provider>\n );\n}\n"]}
1
+ {"version":3,"file":"ToolWidgetComposer.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/ToolWidgetComposer.tsx"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAGH,kDAI2B;AAC3B,+BAA+B;AAC/B,0DAAuD;AACvD,gDAA6C;AAc7C;;;;;GAKG;AACH,SAAgB,kBAAkB,CAAC,KAA8B;IAC/D,MAAM,EAAE,UAAU,EAAE,iBAAiB,EAAE,eAAe,EAAE,GAAG,UAAU,EAAE,GACrE,KAAK,CAAC;IACR,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,6BAAgB,EAAE,CAAC,CAAC;IAC5D,MAAM,cAAc,GAAG,KAAK,CAAC,WAAW,CACtC,CAAC,UAAoC,EAAE,EAAE;QACvC,UAAU,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IAC7B,CAAC,EACD,CAAC,UAAU,CAAC,CACb,CAAC;IACF,MAAM,cAAc,GAAG,IAAA,gCAAmB,EACxC,UAAU,EACV,yBAAW,CAAC,UAAU,CAAC,iBAAiB,CACzC,CAAC;IAEF,OAAO,CACL,oBAAC,iCAAoB,CAAC,QAAQ,IAC5B,KAAK,EAAE;YACL,YAAY,EAAE,cAAc;YAC5B,cAAc;SACf;QAED,oBAAC,qBAAS,IACR,MAAM,EAAE,UAAU,EAClB,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,eAAe,KAC5B,UAAU,EACd,YAAY,EAAE,yBAAW,CAAC,UAAU,CAAC,sBAAsB,GAC3D,CAC4B,CACjC,CAAC;AACJ,CAAC;AA/BD,gDA+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 Widget\n */\n\nimport type { CommonProps } from \"@itwin/core-react\";\nimport {\n useProximityToMouse,\n WidgetElementSet,\n WidgetOpacityContext,\n} from \"@itwin/core-react\";\nimport * as React from \"react\";\nimport { ToolsArea } from \"../layout/widget/ToolsArea\";\nimport { UiFramework } from \"../UiFramework\";\n\n/** Properties for the [[ToolbarComposer]] React components\n * @public\n */\nexport interface ToolWidgetComposerProps extends CommonProps {\n /** Optional Corner Item which for most stages is the [[BackstageAppButton]] used to toggle the display of the backstage menu. */\n cornerItem?: React.ReactNode;\n /** Optional Horizontal Toolbar */\n horizontalToolbar?: React.ReactNode;\n /** Optional Vertical Toolbar */\n verticalToolbar?: React.ReactNode;\n}\n\n/**\n * ToolWidget component that supports use of ToolbarComposer-based Toolbars. The ToolWidget is shown in the top left of the content area\n * and typically holds tools to manipulate or interrogate content. The horizontal toolbar often includes context specific tools based on\n * selected items. The vertical toolbar typically contains a more fixed list of tools.\n * @public\n */\nexport function ToolWidgetComposer(props: ToolWidgetComposerProps) {\n const { cornerItem, horizontalToolbar, verticalToolbar, ...otherProps } =\n props;\n const [elementSet] = React.useState(new WidgetElementSet());\n const handleChildRef = React.useCallback(\n (elementRef: React.RefObject<Element>) => {\n elementSet.add(elementRef);\n },\n [elementSet]\n );\n const proximityScale = useProximityToMouse(\n elementSet,\n UiFramework.visibility.snapWidgetOpacity\n );\n\n return (\n <WidgetOpacityContext.Provider\n value={{\n onElementRef: handleChildRef,\n proximityScale,\n }}\n >\n <ToolsArea\n button={cornerItem}\n horizontalToolbar={horizontalToolbar}\n verticalToolbar={verticalToolbar}\n {...otherProps}\n onMouseEnter={UiFramework.visibility.handleWidgetMouseEnter}\n />\n </WidgetOpacityContext.Provider>\n );\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  /** @packageDocumentation
2
2
  * @module Widget
3
3
  */
4
- /// <reference types="react" />
4
+ import * as React from "react";
5
5
  /**
6
6
  * Props for [[ViewToolWidgetComposer]].
7
7
  * @public
@@ -23,5 +23,5 @@ export interface ViewToolWidgetComposerProps {
23
23
  * ```
24
24
  * @public
25
25
  */
26
- export declare function ViewToolWidgetComposer(props: ViewToolWidgetComposerProps): JSX.Element;
26
+ export declare function ViewToolWidgetComposer(props: ViewToolWidgetComposerProps): React.JSX.Element;
27
27
  //# sourceMappingURL=ViewToolWidgetComposer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ViewToolWidgetComposer.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/ViewToolWidgetComposer.tsx"],"names":[],"mappings":"AAIA;;GAEG;;AASH;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IAC1C,kEAAkE;IAClE,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,eAyBxE"}
1
+ {"version":3,"file":"ViewToolWidgetComposer.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/ViewToolWidgetComposer.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IAC1C,kEAAkE;IAClE,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,qBAyBxE"}
@@ -71,8 +71,7 @@ class WidgetDef {
71
71
  return !!canFloat;
72
72
  }
73
73
  get isFloatingStateWindowResizable() {
74
- var _a;
75
- const canFloat = (_a = this.initialConfig) === null || _a === void 0 ? void 0 : _a.canFloat;
74
+ const canFloat = this.initialConfig?.canFloat;
76
75
  if (typeof canFloat === "object") {
77
76
  return canFloat.isResizable === undefined ? true : canFloat.isResizable;
78
77
  }
@@ -283,7 +282,7 @@ class WidgetDef {
283
282
  }
284
283
  setWidgetState(newState) {
285
284
  const frontstageDef = UiFramework_1.UiFramework.frontstages.activeFrontstageDef;
286
- const state = frontstageDef === null || frontstageDef === void 0 ? void 0 : frontstageDef.nineZoneState;
285
+ const state = frontstageDef?.nineZoneState;
287
286
  if (!state || this.isStatusBar)
288
287
  return;
289
288
  if (!frontstageDef.findWidgetDef(this.id))
@@ -401,7 +400,7 @@ class WidgetDef {
401
400
  */
402
401
  show() {
403
402
  const frontstageDef = UiFramework_1.UiFramework.frontstages.activeFrontstageDef;
404
- const state = frontstageDef === null || frontstageDef === void 0 ? void 0 : frontstageDef.nineZoneState;
403
+ const state = frontstageDef?.nineZoneState;
405
404
  if (!state)
406
405
  return;
407
406
  if (!frontstageDef.findWidgetDef(this.id))
@@ -416,7 +415,7 @@ class WidgetDef {
416
415
  */
417
416
  expand() {
418
417
  const frontstageDef = UiFramework_1.UiFramework.frontstages.activeFrontstageDef;
419
- const state = frontstageDef === null || frontstageDef === void 0 ? void 0 : frontstageDef.nineZoneState;
418
+ const state = frontstageDef?.nineZoneState;
420
419
  if (!state)
421
420
  return;
422
421
  if (!frontstageDef.findWidgetDef(this.id))
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetDef.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetDef.tsx"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAQH,0DAAyD;AAGzD,mFAGiD;AACjD,gDAA6C;AAC7C,sDAAmD;AAGnD,kDAA+C;AAE/C,+CAA4C;AAC5C,0EAAuE;AACvE,qFAAkF;AAUlF;;GAEG;AACH,mDAAmD;AACnD,MAAa,uBAAwB,SAAQ,wBAAoC;CAAG;AAApF,0DAAoF;AAYpF;;GAEG;AACH,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,2CAAI,CAAA;IACJ,uDAAU,CAAA;IACV,yDAAW,CAAA;IACX,2DAAY,C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MAAM,aAAa,GAAG,yBAAW,CAAC,WAAW,CAAC,mBAAmB,CAAC;QAClE,MAAM,KAAK,GAAG,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,aAAa,CAAC;QAC3C,IAAI,CAAC,KAAK;YAAE,OAAO;QACnB,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC;YAAE,OAAO;QAElD,aAAa,CAAC,QAAQ,CAAC;YACrB,IAAI,EAAE,mBAAmB;YACzB,EAAE,EAAE,IAAI,CAAC,EAAE;SACZ,CAAC,CAAC;IACL,CAAC;;AA5ec,cAAI,GAAG,CAAC,AAAJ,CAAK;AADb,8BAAS","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 type * as React from \"react\";\nimport type {\n BadgeType,\n ConditionalStringValue,\n StringGetter,\n} from \"@itwin/appui-abstract\";\nimport { UiError, UiEvent } from \"@itwin/appui-abstract\";\nimport type { XAndY } from \"@itwin/core-geometry\";\nimport type { ConfigurableUiControlConstructor } from \"../configurableui/ConfigurableUiControl\";\nimport {\n ConfigurableCreateInfo,\n ConfigurableUiControlType,\n} from \"../configurableui/ConfigurableUiControl\";\nimport { UiFramework } from \"../UiFramework\";\nimport { PropsHelper } from \"../utils/PropsHelper\";\nimport type { WidgetControl } from \"./WidgetControl\";\nimport type { IconSpec, SizeProps } from \"@itwin/core-react\";\nimport { IconHelper } from \"@itwin/core-react\";\nimport type { WidgetConfig } from \"./WidgetConfig\";\nimport { WidgetState } from \"./WidgetState\";\nimport { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\nimport { StatusBarWidgetComposerControl } from \"./StatusBarWidgetComposerControl\";\n\n/** Widget State Changed Event Args interface.\n * @public\n */\nexport interface WidgetStateChangedEventArgs {\n widgetDef: WidgetDef;\n widgetState: WidgetState;\n}\n\n/** Widget State Changed Event class.\n * @public\n */\n// eslint-disable-next-line deprecation/deprecation\nexport class WidgetStateChangedEvent extends UiEvent<WidgetStateChangedEventArgs> {}\n\n/** @internal */\nexport interface WidgetChangedEventArgs {\n widgetDef: WidgetDef;\n}\n\n/** @internal */\nexport interface WidgetEventArgs {\n widgetDef: WidgetDef;\n}\n\n/** Widget type enum.\n * @public\n */\nexport enum WidgetType {\n Tool,\n Navigation,\n Rectangular,\n ToolSettings,\n StatusBar,\n}\n\n// -----------------------------------------------------------------------------\n\n/** A Widget Definition in the 9-Zone Layout system.\n * @public\n */\nexport class WidgetDef {\n private static _sId = 0;\n private _label: string | ConditionalStringValue | StringGetter = \"\";\n private _tooltip: string | ConditionalStringValue | StringGetter = \"\";\n private _widgetReactNode: React.ReactNode;\n private _widgetControl!: WidgetControl;\n private _defaultState: WidgetState = WidgetState.Closed;\n private _id: string;\n private _classId: string | ConfigurableUiControlConstructor | undefined =\n undefined;\n private _priority: number = 0;\n private _stateChanged: boolean = false;\n private _widgetType: WidgetType = WidgetType.Rectangular;\n private _applicationData?: any;\n private _icon?: IconSpec;\n private _internalData?: Map<string, any>;\n private _badge?: BadgeType;\n private _saveTransientState?: () => void;\n private _restoreTransientState?: () => boolean;\n private _preferredPanelSize: \"fit-content\" | undefined;\n private _defaultFloatingSize: SizeProps | undefined;\n private _canPopout?: boolean;\n private _floatingContainerId?: string;\n private _defaultFloatingPosition: XAndY | undefined;\n\n private _hideWithUiWhenFloating?: boolean;\n private _allowedPanelTargets?: ReadonlyArray<StagePanelLocation>;\n private _initialConfig?: WidgetConfig;\n\n public get state(): WidgetState {\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n if (frontstageDef && frontstageDef.findWidgetDef(this.id)) {\n const currentState = frontstageDef.getWidgetCurrentState(this);\n // istanbul ignore else\n if (undefined !== currentState) return currentState;\n }\n return this.defaultState;\n }\n\n public get id(): string {\n return this._id;\n }\n public get classId(): string | ConfigurableUiControlConstructor | undefined {\n return this._classId;\n }\n public get priority(): number {\n return this._priority;\n }\n\n public get isFloatingStateSupported(): boolean {\n if (!this.initialConfig) return true;\n\n const allowedPanels = this.initialConfig.allowedPanels;\n if (allowedPanels && allowedPanels.length === 0) {\n return true;\n }\n\n const canFloat = this.initialConfig.canFloat;\n if (canFloat === undefined) return true;\n return !!canFloat;\n }\n\n public get isFloatingStateWindowResizable(): boolean {\n const canFloat = this.initialConfig?.canFloat;\n if (typeof canFloat === \"object\") {\n return canFloat.isResizable === undefined ? true : canFloat.isResizable;\n }\n\n return true;\n }\n\n public get isToolSettings(): boolean {\n return this._widgetType === WidgetType.ToolSettings;\n }\n public get isStatusBar(): boolean {\n return this._widgetType === WidgetType.StatusBar;\n }\n public get stateChanged(): boolean {\n return this._stateChanged;\n }\n public get applicationData(): any | undefined {\n return this._applicationData;\n }\n public get isFloating(): boolean {\n return this.state === WidgetState.Floating;\n }\n public get iconSpec(): IconSpec {\n return this._icon === IconHelper.reactIconKey\n ? IconHelper.getIconReactNode(this._icon, this._internalData)\n : this._icon;\n }\n public set iconSpec(spec: IconSpec) {\n this._icon = this._internalData\n ? IconHelper.getIconData(spec, this._internalData)\n : spec;\n }\n public get badgeType(): BadgeType | undefined {\n return this._badge;\n }\n public get initialConfig(): WidgetConfig | undefined {\n return this._initialConfig;\n }\n\n public get widgetType(): WidgetType {\n return this._widgetType;\n }\n public set widgetType(type: WidgetType) {\n this._widgetType = type;\n }\n\n /** @internal */\n public get defaultFloatingPosition() {\n return this._defaultFloatingPosition;\n }\n public set defaultFloatingPosition(position: XAndY | undefined) {\n this._defaultFloatingPosition = position;\n }\n\n /** @internal */\n public get defaultFloatingSize() {\n return this._defaultFloatingSize;\n }\n public set defaultFloatingSize(size: SizeProps | undefined) {\n this._defaultFloatingSize = size;\n }\n\n /** @internal */\n public get defaultState() {\n return this._defaultState;\n }\n\n constructor() {\n WidgetDef._sId++;\n this._id = `Widget-${WidgetDef._sId}`;\n }\n\n /** @internal */\n public static create(\n config: WidgetConfig,\n type: WidgetType = WidgetType.Rectangular\n ) {\n const def = new WidgetDef();\n def.initializeFromConfig(config, type);\n return def;\n }\n\n private initializeFromConfig(config: WidgetConfig, type: WidgetType) {\n this._widgetType = type;\n this._initialConfig = config;\n this._id = config.id;\n\n if (config.label) this._label = config.label;\n else if (config.labelKey)\n this._label = UiFramework.localization.getLocalizedString(\n config.labelKey\n );\n else if (type === WidgetType.ToolSettings) this._label = \"Tool Settings\";\n\n this.setCanPopout(config.canPopout);\n\n const canFloat = config.canFloat;\n if (typeof canFloat === \"object\") {\n this.setFloatingContainerId(canFloat.containerId);\n this.defaultFloatingPosition = canFloat.defaultPosition;\n this._hideWithUiWhenFloating = !!canFloat.hideWithUi;\n this._defaultFloatingSize = canFloat.defaultSize;\n }\n\n if (\"allowedPanels\" in config) {\n this.allowedPanelTargets = config.allowedPanels;\n } else if (type === WidgetType.ToolSettings)\n this.allowedPanelTargets = [\n StagePanelLocation.Bottom,\n StagePanelLocation.Left,\n StagePanelLocation.Right,\n ];\n\n if (config.priority !== undefined) this._priority = config.priority;\n\n if (config.tooltip) this.setTooltip(config.tooltip);\n else if (config.tooltipKey)\n this._tooltip = UiFramework.localization.getLocalizedString(\n config.tooltipKey\n );\n\n if (config.defaultState !== undefined) {\n this._defaultState = config.defaultState;\n }\n\n if (\n config.allowedPanels &&\n config.allowedPanels.length === 0 &&\n config.defaultState === WidgetState.Open\n ) {\n this._defaultState = WidgetState.Floating;\n }\n\n this._widgetReactNode = config.content;\n this._icon = config.icon;\n\n // istanbul ignore next\n if (config.icon !== undefined && this._icon === undefined)\n this._icon = config.icon;\n\n if (config.badge !== undefined) this._badge = config.badge;\n\n this._preferredPanelSize = config.preferredPanelSize;\n }\n\n /** @alpha */\n public get preferredPanelSize() {\n return this._preferredPanelSize;\n }\n\n /** Get the label string */\n public get label(): string {\n return PropsHelper.getStringFromSpec(this._label);\n }\n\n /** Set the label.\n * @param labelSpec A string or a function to get the string.\n */\n public setLabel(labelSpec: string | ConditionalStringValue | StringGetter) {\n this._label = labelSpec; // TODO: handle ConditionalStringValue\n\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n if (!frontstageDef) return;\n\n const label = PropsHelper.getStringFromSpec(labelSpec);\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_SET_LABEL\",\n id: this.id,\n label,\n });\n }\n\n /** Get the tooltip string */\n public get tooltip(): string {\n return PropsHelper.getStringFromSpec(this._tooltip);\n }\n\n /** Set the tooltip.\n * @param v A string or a function to get the string.\n */\n public setTooltip(v: string | ConditionalStringValue | StringGetter) {\n this._tooltip = v;\n }\n\n public get widgetControl(): WidgetControl | undefined {\n return this._widgetControl;\n }\n\n public getWidgetControl(\n type: ConfigurableUiControlType\n ): WidgetControl | undefined {\n if (!this._widgetControl && this.classId) {\n let usedClassId: string = \"\";\n\n if (typeof this.classId === \"string\") {\n // istanbul ignore else\n if (this.classId)\n this._widgetControl = UiFramework.controls.create(\n this.classId,\n this.id,\n this.applicationData\n ) as WidgetControl;\n usedClassId = this.classId;\n } else {\n const info = new ConfigurableCreateInfo(\n this.classId.name,\n this.id,\n this.id\n );\n usedClassId = this.classId.name;\n this._widgetControl = new this.classId(\n info,\n this.applicationData\n ) as WidgetControl;\n }\n\n // istanbul ignore else\n if (this._widgetControl) {\n if (this._widgetControl.getType() !== type) {\n // eslint-disable-next-line deprecation/deprecation\n throw new UiError(\n UiFramework.loggerCategory(this),\n `getWidgetControl: '${usedClassId}' is NOT a ${type}; it is a ${this._widgetControl.getType()}`\n );\n }\n\n this._widgetControl.widgetDef = this;\n this._widgetControl.initialize();\n }\n }\n\n // istanbul ignore next - To avoid breaking API changes, if a WidgetControl is not specified for a status bar use Default one.\n if (!this._widgetControl && this.isStatusBar) {\n const info = new ConfigurableCreateInfo(\n \"StatusBarWidgetComposerControl\",\n StatusBarWidgetComposerControl.controlId,\n StatusBarWidgetComposerControl.controlId\n );\n this._widgetControl = new StatusBarWidgetComposerControl(info, undefined);\n this._widgetControl.widgetDef = this;\n this._widgetControl.initialize();\n }\n\n return this._widgetControl;\n }\n\n public get reactNode(): React.ReactNode {\n if (!this._widgetReactNode) {\n const widgetControl = this.getWidgetControl(\n ConfigurableUiControlType.Widget\n );\n\n // istanbul ignore else\n if (widgetControl && widgetControl.reactNode)\n this._widgetReactNode = widgetControl.reactNode;\n }\n\n return this._widgetReactNode;\n }\n\n public set reactNode(node: React.ReactNode) {\n this._widgetReactNode = node;\n }\n\n public setWidgetState(newState: WidgetState): void {\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n const state = frontstageDef?.nineZoneState;\n if (!state || this.isStatusBar) return;\n if (!frontstageDef.findWidgetDef(this.id)) return;\n\n switch (newState) {\n case WidgetState.Closed: {\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_CLOSE\",\n id: this.id,\n });\n break;\n }\n case WidgetState.Floating: {\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_FLOAT\",\n id: this.id,\n position: this._defaultFloatingPosition,\n });\n break;\n }\n case WidgetState.Hidden: {\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_HIDE\",\n id: this.id,\n });\n break;\n }\n case WidgetState.Open: {\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_OPEN\",\n id: this.id,\n });\n break;\n }\n case WidgetState.Unloaded: {\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_UNLOAD\",\n id: this.id,\n });\n break;\n }\n }\n }\n\n /** @internal */\n public handleWidgetStateChanged(newState: WidgetState) {\n this._stateChanged = true;\n UiFramework.frontstages.onWidgetStateChangedEvent.emit({\n widgetDef: this,\n widgetState: newState,\n });\n this.onWidgetStateChanged();\n }\n\n public setCanPopout(value: boolean | undefined) {\n this._canPopout = value;\n }\n\n public get canPopout(): boolean | undefined {\n return this._canPopout;\n }\n\n public setFloatingContainerId(value: string | undefined) {\n this._floatingContainerId = value;\n }\n\n public get floatingContainerId(): string | undefined {\n return this._floatingContainerId;\n }\n\n public canOpen(): boolean {\n return this.isFloating || this.isActive;\n }\n\n public get isVisible(): boolean {\n return (\n WidgetState.Hidden !== this.state && WidgetState.Unloaded !== this.state\n );\n }\n\n public get activeState(): WidgetState {\n return this.state;\n }\n\n public get isActive(): boolean {\n return WidgetState.Open === this.activeState;\n }\n\n public set hideWithUiWhenFloating(hide: boolean | undefined) {\n this._hideWithUiWhenFloating = !!hide;\n }\n\n public get hideWithUiWhenFloating(): boolean {\n return !!this._hideWithUiWhenFloating;\n }\n\n public get allowedPanelTargets():\n | ReadonlyArray<StagePanelLocation>\n | undefined {\n return this._allowedPanelTargets;\n }\n\n public set allowedPanelTargets(\n targets: ReadonlyArray<StagePanelLocation> | undefined\n ) {\n this._allowedPanelTargets = targets;\n }\n\n public onWidgetStateChanged(): void {\n this.widgetControl && this.widgetControl.onWidgetStateChanged();\n }\n\n /** Overwrite to save transient DOM state (i.e. scroll offset). */\n public saveTransientState(): void {\n this.widgetControl && this.widgetControl.saveTransientState();\n this._saveTransientState && this._saveTransientState();\n }\n\n /** Overwrite to restore transient DOM state.\n * @note Return true if the state is restored or the Widget will remount.\n */\n public restoreTransientState(): boolean {\n let result = true;\n if (this.widgetControl || this._restoreTransientState) {\n let result1 = false,\n result2 = false;\n if (this.widgetControl)\n result1 = this.widgetControl.restoreTransientState();\n if (this._restoreTransientState) result2 = this._restoreTransientState();\n result = !(result1 || result2);\n }\n return result;\n }\n\n /** Opens the widget and makes it visible to the user.\n * I.e. opens the stage panel or brings the floating widget to front of the screen.\n * @public\n */\n public show() {\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n const state = frontstageDef?.nineZoneState;\n if (!state) return;\n if (!frontstageDef.findWidgetDef(this.id)) return;\n\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_SHOW\",\n id: this.id,\n });\n }\n\n /** Opens the widget and expands it to fill full size of the stage panel.\n * @public\n */\n public expand() {\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n const state = frontstageDef?.nineZoneState;\n if (!state) return;\n if (!frontstageDef.findWidgetDef(this.id)) return;\n\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_EXPAND\",\n id: this.id,\n });\n }\n}\n"]}
1
+ {"version":3,"file":"WidgetDef.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetDef.tsx"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAQH,0DAAyD;AAGzD,mFAGiD;AACjD,gDAA6C;AAC7C,sDAAmD;AAGnD,kDAA+C;AAE/C,+CAA4C;AAC5C,0EAAuE;AACvE,qFAAkF;AAUlF;;GAEG;AACH,mDAAmD;AACnD,MAAa,uBAAwB,SAAQ,wBAAoC;CAAG;AAApF,0DAAoF;AAYpF;;GAEG;AACH,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,2CAAI,CAAA;IACJ,uDAAU,CAAA;IACV,yDAAW,CAAA;IACX,2DAAY,CAAA;IACZ,qDAAS,CAAA;AACX,CAAC,EANW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAMrB;AAED,gFAAgF;AAEhF;;GAEG;AACH,MAAa,SAAS;IA6BpB,IAAW,KAAK;QACd,MAAM,aAAa,GAAG,yBAAW,CAAC,WAAW,CAAC,mBAAmB,CAAC;QAClE,IAAI,aAAa,IAAI,aAAa,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;YACzD,MAAM,YAAY,GAAG,aAAa,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;YAC/D,uBAAuB;YACvB,IAAI,SAAS,KAAK,YAAY;gBAAE,OAAO,YAAY,CAAC;SACrD;QACD,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAED,IAAW,EAAE;QACX,OAAO,IAAI,CAAC,GAAG,CAAC;IAClB,CAAC;IACD,IAAW,OAAO;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IACD,IAAW,QAAQ;QACjB,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,IAAW,wBAAw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AC,CAAC,OAAO,IAAI,OAAO,CAAC,CAAC;SAChC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,IAAI;QACT,MAAM,aAAa,GAAG,yBAAW,CAAC,WAAW,CAAC,mBAAmB,CAAC;QAClE,MAAM,KAAK,GAAG,aAAa,EAAE,aAAa,CAAC;QAC3C,IAAI,CAAC,KAAK;YAAE,OAAO;QACnB,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC;YAAE,OAAO;QAElD,aAAa,CAAC,QAAQ,CAAC;YACrB,IAAI,EAAE,iBAAiB;YACvB,EAAE,EAAE,IAAI,CAAC,EAAE;SACZ,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACI,MAAM;QACX,MAAM,aAAa,GAAG,yBAAW,CAAC,WAAW,CAAC,mBAAmB,CAAC;QAClE,MAAM,KAAK,GAAG,aAAa,EAAE,aAAa,CAAC;QAC3C,IAAI,CAAC,KAAK;YAAE,OAAO;QACnB,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC;YAAE,OAAO;QAElD,aAAa,CAAC,QAAQ,CAAC;YACrB,IAAI,EAAE,mBAAmB;YACzB,EAAE,EAAE,IAAI,CAAC,EAAE;SACZ,CAAC,CAAC;IACL,CAAC;;AA5ec,cAAI,GAAG,CAAC,AAAJ,CAAK;AADb,8BAAS","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 type * as React from \"react\";\nimport type {\n BadgeType,\n ConditionalStringValue,\n StringGetter,\n} from \"@itwin/appui-abstract\";\nimport { UiError, UiEvent } from \"@itwin/appui-abstract\";\nimport type { XAndY } from \"@itwin/core-geometry\";\nimport type { ConfigurableUiControlConstructor } from \"../configurableui/ConfigurableUiControl\";\nimport {\n ConfigurableCreateInfo,\n ConfigurableUiControlType,\n} from \"../configurableui/ConfigurableUiControl\";\nimport { UiFramework } from \"../UiFramework\";\nimport { PropsHelper } from \"../utils/PropsHelper\";\nimport type { WidgetControl } from \"./WidgetControl\";\nimport type { IconSpec, SizeProps } from \"@itwin/core-react\";\nimport { IconHelper } from \"@itwin/core-react\";\nimport type { WidgetConfig } from \"./WidgetConfig\";\nimport { WidgetState } from \"./WidgetState\";\nimport { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\nimport { StatusBarWidgetComposerControl } from \"./StatusBarWidgetComposerControl\";\n\n/** Widget State Changed Event Args interface.\n * @public\n */\nexport interface WidgetStateChangedEventArgs {\n widgetDef: WidgetDef;\n widgetState: WidgetState;\n}\n\n/** Widget State Changed Event class.\n * @public\n */\n// eslint-disable-next-line deprecation/deprecation\nexport class WidgetStateChangedEvent extends UiEvent<WidgetStateChangedEventArgs> {}\n\n/** @internal */\nexport interface WidgetChangedEventArgs {\n widgetDef: WidgetDef;\n}\n\n/** @internal */\nexport interface WidgetEventArgs {\n widgetDef: WidgetDef;\n}\n\n/** Widget type enum.\n * @public\n */\nexport enum WidgetType {\n Tool,\n Navigation,\n Rectangular,\n ToolSettings,\n StatusBar,\n}\n\n// -----------------------------------------------------------------------------\n\n/** A Widget Definition in the 9-Zone Layout system.\n * @public\n */\nexport class WidgetDef {\n private static _sId = 0;\n private _label: string | ConditionalStringValue | StringGetter = \"\";\n private _tooltip: string | ConditionalStringValue | StringGetter = \"\";\n private _widgetReactNode: React.ReactNode;\n private _widgetControl!: WidgetControl;\n private _defaultState: WidgetState = WidgetState.Closed;\n private _id: string;\n private _classId: string | ConfigurableUiControlConstructor | undefined =\n undefined;\n private _priority: number = 0;\n private _stateChanged: boolean = false;\n private _widgetType: WidgetType = WidgetType.Rectangular;\n private _applicationData?: any;\n private _icon?: IconSpec;\n private _internalData?: Map<string, any>;\n private _badge?: BadgeType;\n private _saveTransientState?: () => void;\n private _restoreTransientState?: () => boolean;\n private _preferredPanelSize: \"fit-content\" | undefined;\n private _defaultFloatingSize: SizeProps | undefined;\n private _canPopout?: boolean;\n private _floatingContainerId?: string;\n private _defaultFloatingPosition: XAndY | undefined;\n\n private _hideWithUiWhenFloating?: boolean;\n private _allowedPanelTargets?: ReadonlyArray<StagePanelLocation>;\n private _initialConfig?: WidgetConfig;\n\n public get state(): WidgetState {\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n if (frontstageDef && frontstageDef.findWidgetDef(this.id)) {\n const currentState = frontstageDef.getWidgetCurrentState(this);\n // istanbul ignore else\n if (undefined !== currentState) return currentState;\n }\n return this.defaultState;\n }\n\n public get id(): string {\n return this._id;\n }\n public get classId(): string | ConfigurableUiControlConstructor | undefined {\n return this._classId;\n }\n public get priority(): number {\n return this._priority;\n }\n\n public get isFloatingStateSupported(): boolean {\n if (!this.initialConfig) return true;\n\n const allowedPanels = this.initialConfig.allowedPanels;\n if (allowedPanels && allowedPanels.length === 0) {\n return true;\n }\n\n const canFloat = this.initialConfig.canFloat;\n if (canFloat === undefined) return true;\n return !!canFloat;\n }\n\n public get isFloatingStateWindowResizable(): boolean {\n const canFloat = this.initialConfig?.canFloat;\n if (typeof canFloat === \"object\") {\n return canFloat.isResizable === undefined ? true : canFloat.isResizable;\n }\n\n return true;\n }\n\n public get isToolSettings(): boolean {\n return this._widgetType === WidgetType.ToolSettings;\n }\n public get isStatusBar(): boolean {\n return this._widgetType === WidgetType.StatusBar;\n }\n public get stateChanged(): boolean {\n return this._stateChanged;\n }\n public get applicationData(): any | undefined {\n return this._applicationData;\n }\n public get isFloating(): boolean {\n return this.state === WidgetState.Floating;\n }\n public get iconSpec(): IconSpec {\n return this._icon === IconHelper.reactIconKey\n ? IconHelper.getIconReactNode(this._icon, this._internalData)\n : this._icon;\n }\n public set iconSpec(spec: IconSpec) {\n this._icon = this._internalData\n ? IconHelper.getIconData(spec, this._internalData)\n : spec;\n }\n public get badgeType(): BadgeType | undefined {\n return this._badge;\n }\n public get initialConfig(): WidgetConfig | undefined {\n return this._initialConfig;\n }\n\n public get widgetType(): WidgetType {\n return this._widgetType;\n }\n public set widgetType(type: WidgetType) {\n this._widgetType = type;\n }\n\n /** @internal */\n public get defaultFloatingPosition() {\n return this._defaultFloatingPosition;\n }\n public set defaultFloatingPosition(position: XAndY | undefined) {\n this._defaultFloatingPosition = position;\n }\n\n /** @internal */\n public get defaultFloatingSize() {\n return this._defaultFloatingSize;\n }\n public set defaultFloatingSize(size: SizeProps | undefined) {\n this._defaultFloatingSize = size;\n }\n\n /** @internal */\n public get defaultState() {\n return this._defaultState;\n }\n\n constructor() {\n WidgetDef._sId++;\n this._id = `Widget-${WidgetDef._sId}`;\n }\n\n /** @internal */\n public static create(\n config: WidgetConfig,\n type: WidgetType = WidgetType.Rectangular\n ) {\n const def = new WidgetDef();\n def.initializeFromConfig(config, type);\n return def;\n }\n\n private initializeFromConfig(config: WidgetConfig, type: WidgetType) {\n this._widgetType = type;\n this._initialConfig = config;\n this._id = config.id;\n\n if (config.label) this._label = config.label;\n else if (config.labelKey)\n this._label = UiFramework.localization.getLocalizedString(\n config.labelKey\n );\n else if (type === WidgetType.ToolSettings) this._label = \"Tool Settings\";\n\n this.setCanPopout(config.canPopout);\n\n const canFloat = config.canFloat;\n if (typeof canFloat === \"object\") {\n this.setFloatingContainerId(canFloat.containerId);\n this.defaultFloatingPosition = canFloat.defaultPosition;\n this._hideWithUiWhenFloating = !!canFloat.hideWithUi;\n this._defaultFloatingSize = canFloat.defaultSize;\n }\n\n if (\"allowedPanels\" in config) {\n this.allowedPanelTargets = config.allowedPanels;\n } else if (type === WidgetType.ToolSettings)\n this.allowedPanelTargets = [\n StagePanelLocation.Bottom,\n StagePanelLocation.Left,\n StagePanelLocation.Right,\n ];\n\n if (config.priority !== undefined) this._priority = config.priority;\n\n if (config.tooltip) this.setTooltip(config.tooltip);\n else if (config.tooltipKey)\n this._tooltip = UiFramework.localization.getLocalizedString(\n config.tooltipKey\n );\n\n if (config.defaultState !== undefined) {\n this._defaultState = config.defaultState;\n }\n\n if (\n config.allowedPanels &&\n config.allowedPanels.length === 0 &&\n config.defaultState === WidgetState.Open\n ) {\n this._defaultState = WidgetState.Floating;\n }\n\n this._widgetReactNode = config.content;\n this._icon = config.icon;\n\n // istanbul ignore next\n if (config.icon !== undefined && this._icon === undefined)\n this._icon = config.icon;\n\n if (config.badge !== undefined) this._badge = config.badge;\n\n this._preferredPanelSize = config.preferredPanelSize;\n }\n\n /** @alpha */\n public get preferredPanelSize() {\n return this._preferredPanelSize;\n }\n\n /** Get the label string */\n public get label(): string {\n return PropsHelper.getStringFromSpec(this._label);\n }\n\n /** Set the label.\n * @param labelSpec A string or a function to get the string.\n */\n public setLabel(labelSpec: string | ConditionalStringValue | StringGetter) {\n this._label = labelSpec; // TODO: handle ConditionalStringValue\n\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n if (!frontstageDef) return;\n\n const label = PropsHelper.getStringFromSpec(labelSpec);\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_SET_LABEL\",\n id: this.id,\n label,\n });\n }\n\n /** Get the tooltip string */\n public get tooltip(): string {\n return PropsHelper.getStringFromSpec(this._tooltip);\n }\n\n /** Set the tooltip.\n * @param v A string or a function to get the string.\n */\n public setTooltip(v: string | ConditionalStringValue | StringGetter) {\n this._tooltip = v;\n }\n\n public get widgetControl(): WidgetControl | undefined {\n return this._widgetControl;\n }\n\n public getWidgetControl(\n type: ConfigurableUiControlType\n ): WidgetControl | undefined {\n if (!this._widgetControl && this.classId) {\n let usedClassId: string = \"\";\n\n if (typeof this.classId === \"string\") {\n // istanbul ignore else\n if (this.classId)\n this._widgetControl = UiFramework.controls.create(\n this.classId,\n this.id,\n this.applicationData\n ) as WidgetControl;\n usedClassId = this.classId;\n } else {\n const info = new ConfigurableCreateInfo(\n this.classId.name,\n this.id,\n this.id\n );\n usedClassId = this.classId.name;\n this._widgetControl = new this.classId(\n info,\n this.applicationData\n ) as WidgetControl;\n }\n\n // istanbul ignore else\n if (this._widgetControl) {\n if (this._widgetControl.getType() !== type) {\n // eslint-disable-next-line deprecation/deprecation\n throw new UiError(\n UiFramework.loggerCategory(this),\n `getWidgetControl: '${usedClassId}' is NOT a ${type}; it is a ${this._widgetControl.getType()}`\n );\n }\n\n this._widgetControl.widgetDef = this;\n this._widgetControl.initialize();\n }\n }\n\n // istanbul ignore next - To avoid breaking API changes, if a WidgetControl is not specified for a status bar use Default one.\n if (!this._widgetControl && this.isStatusBar) {\n const info = new ConfigurableCreateInfo(\n \"StatusBarWidgetComposerControl\",\n StatusBarWidgetComposerControl.controlId,\n StatusBarWidgetComposerControl.controlId\n );\n this._widgetControl = new StatusBarWidgetComposerControl(info, undefined);\n this._widgetControl.widgetDef = this;\n this._widgetControl.initialize();\n }\n\n return this._widgetControl;\n }\n\n public get reactNode(): React.ReactNode {\n if (!this._widgetReactNode) {\n const widgetControl = this.getWidgetControl(\n ConfigurableUiControlType.Widget\n );\n\n // istanbul ignore else\n if (widgetControl && widgetControl.reactNode)\n this._widgetReactNode = widgetControl.reactNode;\n }\n\n return this._widgetReactNode;\n }\n\n public set reactNode(node: React.ReactNode) {\n this._widgetReactNode = node;\n }\n\n public setWidgetState(newState: WidgetState): void {\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n const state = frontstageDef?.nineZoneState;\n if (!state || this.isStatusBar) return;\n if (!frontstageDef.findWidgetDef(this.id)) return;\n\n switch (newState) {\n case WidgetState.Closed: {\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_CLOSE\",\n id: this.id,\n });\n break;\n }\n case WidgetState.Floating: {\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_FLOAT\",\n id: this.id,\n position: this._defaultFloatingPosition,\n });\n break;\n }\n case WidgetState.Hidden: {\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_HIDE\",\n id: this.id,\n });\n break;\n }\n case WidgetState.Open: {\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_OPEN\",\n id: this.id,\n });\n break;\n }\n case WidgetState.Unloaded: {\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_UNLOAD\",\n id: this.id,\n });\n break;\n }\n }\n }\n\n /** @internal */\n public handleWidgetStateChanged(newState: WidgetState) {\n this._stateChanged = true;\n UiFramework.frontstages.onWidgetStateChangedEvent.emit({\n widgetDef: this,\n widgetState: newState,\n });\n this.onWidgetStateChanged();\n }\n\n public setCanPopout(value: boolean | undefined) {\n this._canPopout = value;\n }\n\n public get canPopout(): boolean | undefined {\n return this._canPopout;\n }\n\n public setFloatingContainerId(value: string | undefined) {\n this._floatingContainerId = value;\n }\n\n public get floatingContainerId(): string | undefined {\n return this._floatingContainerId;\n }\n\n public canOpen(): boolean {\n return this.isFloating || this.isActive;\n }\n\n public get isVisible(): boolean {\n return (\n WidgetState.Hidden !== this.state && WidgetState.Unloaded !== this.state\n );\n }\n\n public get activeState(): WidgetState {\n return this.state;\n }\n\n public get isActive(): boolean {\n return WidgetState.Open === this.activeState;\n }\n\n public set hideWithUiWhenFloating(hide: boolean | undefined) {\n this._hideWithUiWhenFloating = !!hide;\n }\n\n public get hideWithUiWhenFloating(): boolean {\n return !!this._hideWithUiWhenFloating;\n }\n\n public get allowedPanelTargets():\n | ReadonlyArray<StagePanelLocation>\n | undefined {\n return this._allowedPanelTargets;\n }\n\n public set allowedPanelTargets(\n targets: ReadonlyArray<StagePanelLocation> | undefined\n ) {\n this._allowedPanelTargets = targets;\n }\n\n public onWidgetStateChanged(): void {\n this.widgetControl && this.widgetControl.onWidgetStateChanged();\n }\n\n /** Overwrite to save transient DOM state (i.e. scroll offset). */\n public saveTransientState(): void {\n this.widgetControl && this.widgetControl.saveTransientState();\n this._saveTransientState && this._saveTransientState();\n }\n\n /** Overwrite to restore transient DOM state.\n * @note Return true if the state is restored or the Widget will remount.\n */\n public restoreTransientState(): boolean {\n let result = true;\n if (this.widgetControl || this._restoreTransientState) {\n let result1 = false,\n result2 = false;\n if (this.widgetControl)\n result1 = this.widgetControl.restoreTransientState();\n if (this._restoreTransientState) result2 = this._restoreTransientState();\n result = !(result1 || result2);\n }\n return result;\n }\n\n /** Opens the widget and makes it visible to the user.\n * I.e. opens the stage panel or brings the floating widget to front of the screen.\n * @public\n */\n public show() {\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n const state = frontstageDef?.nineZoneState;\n if (!state) return;\n if (!frontstageDef.findWidgetDef(this.id)) return;\n\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_SHOW\",\n id: this.id,\n });\n }\n\n /** Opens the widget and expands it to fill full size of the stage panel.\n * @public\n */\n public expand() {\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n const state = frontstageDef?.nineZoneState;\n if (!state) return;\n if (!frontstageDef.findWidgetDef(this.id)) return;\n\n frontstageDef.dispatch({\n type: \"WIDGET_TAB_EXPAND\",\n id: this.id,\n });\n }\n}\n"]}
@@ -55,7 +55,6 @@ class WidgetHost {
55
55
  * @internal
56
56
  */
57
57
  updateDynamicWidgetDefs(stageId, stageUsage, location, section, allStageWidgetDefs) {
58
- var _a;
59
58
  // get widgetDefs not already in allStageWidgetDefs and add them
60
59
  const uniqueWidgets = this._widgetDefs.filter((widgetDef) => {
61
60
  return !allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id);
@@ -64,9 +63,9 @@ class WidgetHost {
64
63
  let dynamicWidgetDefs;
65
64
  if (section !== undefined) {
66
65
  dynamicWidgetDefs =
67
- (_a = UiFramework_1.UiFramework.widgetManager.getWidgetDefs(stageId, stageUsage, location, section)) !== null && _a !== void 0 ? _a : [];
66
+ UiFramework_1.UiFramework.widgetManager.getWidgetDefs(stageId, stageUsage, location, section) ?? [];
68
67
  }
69
- const uniqueDynamicWidgetDefs = dynamicWidgetDefs === null || dynamicWidgetDefs === void 0 ? void 0 : dynamicWidgetDefs.filter((widgetDef) => {
68
+ const uniqueDynamicWidgetDefs = dynamicWidgetDefs?.filter((widgetDef) => {
70
69
  return !allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id);
71
70
  });
72
71
  // Now that we no longer support a middle panel section, yet we have existing API that allows a middle section to be
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetHost.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetHost.tsx"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAIH,gDAA6C;AAG7C;;;GAGG;AACH,MAAa,UAAU;IAKrB;OACG;IACH;QANQ,gBAAW,GAAgB,IAAI,KAAK,EAAa,CAAC;QAElD,sBAAiB,GAA6B,EAAE,CAAC;IAI1C,CAAC;IAEhB;;OAEG;IACI,YAAY,CAAC,SAAoB;QACtC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACjC,IAAI,CAAC,cAAc,EAAE,CAAC;IACxB,CAAC;IAED,gCAAgC;IAChC,IAAW,UAAU;QACnB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAChC,CAAC;IAED,kCAAkC;IAClC,IAAW,WAAW;QACpB,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC;IAChC,CAAC;IAED;;OAEG;IACI,kBAAkB;QACvB,IAAI,IAAI,CAAC,WAAW,KAAK,CAAC,EAAE;YAC1B,OAAO,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;SAC3B;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;IAED;;;OAGG;IACI,aAAa,CAAC,EAAU;QAC7B,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,SAAoB,EAAE,EAAE,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;OAEG;IACI,uBAAuB,CAC5B,OAAe,EACf,UAAkB,EAClB,QAA4B,EAC5B,OAAsC,EACtC,kBAA+B;;QAE/B,gEAAgE;QAChE,MAAM,aAAa,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,EAAE;YAC1D,OAAO,CAA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AG,CAAC,CAAC,QAAQ,CAAC,CAAC;QAEzD,IAAI,CAAC,iBAAiB,GAAG,gBAAgB,CAAC;IAC5C,CAAC;CACF;AAjGD,gCAiGC","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 type { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\nimport type { StagePanelSection } from \"../stagepanels/StagePanelSection\";\nimport { UiFramework } from \"../UiFramework\";\nimport type { WidgetDef } from \"./WidgetDef\";\n\n/**\n * A WidgetHost represents a definition that hosts one or most Widgets in a Frontstage.\n * @public\n */\nexport class WidgetHost {\n private _widgetDefs: WidgetDef[] = new Array<WidgetDef>();\n private _dynamicWidgetDefs: ReadonlyArray<WidgetDef> | undefined;\n private _sortedWidgetDefs: ReadonlyArray<WidgetDef> = [];\n\n /** Constructor for WidgetHost.\n */\n constructor() {}\n\n /** Adds a WidgetDef to the list of Widgets.\n * @param widgetDef Definition of the Widget to add\n */\n public addWidgetDef(widgetDef: WidgetDef) {\n this._widgetDefs.push(widgetDef);\n this.sortWidgetDefs();\n }\n\n /** Gets the list of Widgets. */\n public get widgetDefs(): ReadonlyArray<WidgetDef> {\n return this._sortedWidgetDefs;\n }\n\n /** Gets the number of Widgets. */\n public get widgetCount(): number {\n return this.widgetDefs.length;\n }\n\n /** If there is only one Widget in the Panel, gets the single WidgetDef.\n * @returns The single WidgetDef if there is only one Widget; otherwise, undefined is returned.\n */\n public getSingleWidgetDef(): WidgetDef | undefined {\n if (this.widgetCount === 1) {\n return this.widgetDefs[0];\n }\n return undefined;\n }\n\n /** Finds a WidgetDef with a given Id.\n * @param id Id of the WidgetDef to find\n * @returns The WidgetDef if found; otherwise, undefined is returned.\n */\n public findWidgetDef(id: string): WidgetDef | undefined {\n return this.widgetDefs.find((widgetDef: WidgetDef) => widgetDef.id === id);\n }\n\n /** Updates the WidgetHost with dynamic widgets\n * @internal\n */\n public updateDynamicWidgetDefs(\n stageId: string,\n stageUsage: string,\n location: StagePanelLocation,\n section: StagePanelSection | undefined,\n allStageWidgetDefs: WidgetDef[]\n ): void {\n // get widgetDefs not already in allStageWidgetDefs and add them\n const uniqueWidgets = this._widgetDefs.filter((widgetDef) => {\n return !allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id);\n });\n\n allStageWidgetDefs.push(...uniqueWidgets);\n\n let dynamicWidgetDefs: readonly WidgetDef[] | undefined;\n if (section !== undefined) {\n dynamicWidgetDefs =\n UiFramework.widgetManager.getWidgetDefs(\n stageId,\n stageUsage,\n location,\n section\n ) ?? [];\n }\n\n const uniqueDynamicWidgetDefs = dynamicWidgetDefs?.filter((widgetDef) => {\n return !allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id);\n });\n\n // Now that we no longer support a middle panel section, yet we have existing API that allows a middle section to be\n // defined, the following is needed to combining middle and end panel section widgets into a single set of widgets\n if (uniqueDynamicWidgetDefs) {\n allStageWidgetDefs.push(...uniqueDynamicWidgetDefs);\n this._dynamicWidgetDefs = [...uniqueDynamicWidgetDefs];\n }\n this.sortWidgetDefs();\n }\n\n /** Sorts all widgets */\n private sortWidgetDefs(): void {\n let sortedWidgetDefs = [];\n if (this._dynamicWidgetDefs)\n sortedWidgetDefs = this._widgetDefs.concat(this._dynamicWidgetDefs);\n else sortedWidgetDefs = this._widgetDefs.slice();\n\n sortedWidgetDefs.sort((a, b) => a.priority - b.priority);\n\n this._sortedWidgetDefs = sortedWidgetDefs;\n }\n}\n"]}
1
+ {"version":3,"file":"WidgetHost.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetHost.tsx"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAIH,gDAA6C;AAG7C;;;GAGG;AACH,MAAa,UAAU;IAKrB;OACG;IACH;QANQ,gBAAW,GAAgB,IAAI,KAAK,EAAa,CAAC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rC,OAAO,EACP,UAAU,EACV,QAAQ,EACR,OAAO,CACR,IAAI,EAAE,CAAC;SACX;QAED,MAAM,uBAAuB,GAAG,iBAAiB,EAAE,MAAM,CAAC,CAAC,SAAS,EAAE,EAAE;YACtE,OAAO,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,SAAS,CAAC,EAAE,CAAC,CAAC;QACtE,CAAC,CAAC,CAAC;QAEH,oHAAoH;QACpH,kHAAkH;QAClH,IAAI,uBAAuB,EAAE;YAC3B,kBAAkB,CAAC,IAAI,CAAC,GAAG,uBAAuB,CAAC,CAAC;YACpD,IAAI,CAAC,kBAAkB,GAAG,CAAC,GAAG,uBAAuB,CAAC,CAAC;SACxD;QACD,IAAI,CAAC,cAAc,EAAE,CAAC;IACxB,CAAC;IAED,wBAAwB;IAChB,cAAc;QACpB,IAAI,gBAAgB,GAAG,EAAE,CAAC;QAC1B,IAAI,IAAI,CAAC,kBAAkB;YACzB,gBAAgB,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;;YACjE,gBAAgB,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC;QAEjD,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC;QAEzD,IAAI,CAAC,iBAAiB,GAAG,gBAAgB,CAAC;IAC5C,CAAC;CACF;AAjGD,gCAiGC","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 type { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\nimport type { StagePanelSection } from \"../stagepanels/StagePanelSection\";\nimport { UiFramework } from \"../UiFramework\";\nimport type { WidgetDef } from \"./WidgetDef\";\n\n/**\n * A WidgetHost represents a definition that hosts one or most Widgets in a Frontstage.\n * @public\n */\nexport class WidgetHost {\n private _widgetDefs: WidgetDef[] = new Array<WidgetDef>();\n private _dynamicWidgetDefs: ReadonlyArray<WidgetDef> | undefined;\n private _sortedWidgetDefs: ReadonlyArray<WidgetDef> = [];\n\n /** Constructor for WidgetHost.\n */\n constructor() {}\n\n /** Adds a WidgetDef to the list of Widgets.\n * @param widgetDef Definition of the Widget to add\n */\n public addWidgetDef(widgetDef: WidgetDef) {\n this._widgetDefs.push(widgetDef);\n this.sortWidgetDefs();\n }\n\n /** Gets the list of Widgets. */\n public get widgetDefs(): ReadonlyArray<WidgetDef> {\n return this._sortedWidgetDefs;\n }\n\n /** Gets the number of Widgets. */\n public get widgetCount(): number {\n return this.widgetDefs.length;\n }\n\n /** If there is only one Widget in the Panel, gets the single WidgetDef.\n * @returns The single WidgetDef if there is only one Widget; otherwise, undefined is returned.\n */\n public getSingleWidgetDef(): WidgetDef | undefined {\n if (this.widgetCount === 1) {\n return this.widgetDefs[0];\n }\n return undefined;\n }\n\n /** Finds a WidgetDef with a given Id.\n * @param id Id of the WidgetDef to find\n * @returns The WidgetDef if found; otherwise, undefined is returned.\n */\n public findWidgetDef(id: string): WidgetDef | undefined {\n return this.widgetDefs.find((widgetDef: WidgetDef) => widgetDef.id === id);\n }\n\n /** Updates the WidgetHost with dynamic widgets\n * @internal\n */\n public updateDynamicWidgetDefs(\n stageId: string,\n stageUsage: string,\n location: StagePanelLocation,\n section: StagePanelSection | undefined,\n allStageWidgetDefs: WidgetDef[]\n ): void {\n // get widgetDefs not already in allStageWidgetDefs and add them\n const uniqueWidgets = this._widgetDefs.filter((widgetDef) => {\n return !allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id);\n });\n\n allStageWidgetDefs.push(...uniqueWidgets);\n\n let dynamicWidgetDefs: readonly WidgetDef[] | undefined;\n if (section !== undefined) {\n dynamicWidgetDefs =\n UiFramework.widgetManager.getWidgetDefs(\n stageId,\n stageUsage,\n location,\n section\n ) ?? [];\n }\n\n const uniqueDynamicWidgetDefs = dynamicWidgetDefs?.filter((widgetDef) => {\n return !allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id);\n });\n\n // Now that we no longer support a middle panel section, yet we have existing API that allows a middle section to be\n // defined, the following is needed to combining middle and end panel section widgets into a single set of widgets\n if (uniqueDynamicWidgetDefs) {\n allStageWidgetDefs.push(...uniqueDynamicWidgetDefs);\n this._dynamicWidgetDefs = [...uniqueDynamicWidgetDefs];\n }\n this.sortWidgetDefs();\n }\n\n /** Sorts all widgets */\n private sortWidgetDefs(): void {\n let sortedWidgetDefs = [];\n if (this._dynamicWidgetDefs)\n sortedWidgetDefs = this._widgetDefs.concat(this._dynamicWidgetDefs);\n else sortedWidgetDefs = this._widgetDefs.slice();\n\n sortedWidgetDefs.sort((a, b) => a.priority - b.priority);\n\n this._sortedWidgetDefs = sortedWidgetDefs;\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"useWidget.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/useWidget.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAGjD;;;;GAIG;AACH,wBAAgB,SAAS;IA0CrB,0BAA0B;;IAE1B,sEAAsE;;IAEtE;;OAEG;4BAbW,KAAK,WAAW,EAAE,YAAY,QAAQ,CAAC;EAgBxD"}
1
+ {"version":3,"file":"useWidget.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/useWidget.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD;;;;GAIG;AACH,wBAAgB,SAAS;IA0CrB,0BAA0B;;IAE1B,sEAAsE;;IAEtE;;OAEG;4BAbW,KAAK,WAAW,EAAE,YAAY,QAAQ,CAAC;EAgBxD"}
@@ -5,11 +5,12 @@
5
5
  *--------------------------------------------------------------------------------------------*/
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.useWidget = void 0;
8
- const react_1 = require("react");
9
- const appui_layout_react_1 = require("@itwin/appui-layout-react");
10
8
  const core_bentley_1 = require("@itwin/core-bentley");
9
+ const React = require("react");
11
10
  const FrontstageDef_1 = require("../frontstage/FrontstageDef");
12
11
  const InternalFrontstageManager_1 = require("../frontstage/InternalFrontstageManager");
12
+ const TabLocation_1 = require("../layout/state/TabLocation");
13
+ const ContentRenderer_1 = require("../layout/widget/ContentRenderer");
13
14
  const Content_1 = require("../widget-panels/Content");
14
15
  /** Hook that returns information about the Widget in the current context.
15
16
  * @returns object that contains the WidgetLocation, WidgetState, and
@@ -17,27 +18,27 @@ const Content_1 = require("../widget-panels/Content");
17
18
  * @alpha
18
19
  */
19
20
  function useWidget() {
20
- const tabId = react_1.default.useContext(appui_layout_react_1.TabIdContext);
21
+ const tabId = React.useContext(ContentRenderer_1.TabIdContext);
21
22
  (0, core_bentley_1.assert)(!!tabId);
22
23
  const frontstage = (0, FrontstageDef_1.useActiveFrontstageDef)();
23
24
  (0, core_bentley_1.assert)(!!frontstage);
24
25
  const widgetDef = (0, Content_1.useWidgetDef)();
25
26
  (0, core_bentley_1.assert)(!!widgetDef);
26
- const [widgetLocation, setWidgetLocation] = react_1.default.useState(findLocation(tabId, frontstage));
27
- const [state, setState] = react_1.default.useState(widgetDef.state);
28
- react_1.default.useEffect(() => {
27
+ const [widgetLocation, setWidgetLocation] = React.useState(findLocation(tabId, frontstage));
28
+ const [state, setState] = React.useState(widgetDef.state);
29
+ React.useEffect(() => {
29
30
  return InternalFrontstageManager_1.InternalFrontstageManager.onFrontstageNineZoneStateChangedEvent.addListener(() => {
30
31
  if (widgetDef)
31
32
  return setState(widgetDef.state);
32
33
  });
33
34
  }, [frontstage, widgetDef]);
34
- react_1.default.useEffect(() => {
35
+ React.useEffect(() => {
35
36
  return InternalFrontstageManager_1.InternalFrontstageManager.onFrontstageNineZoneStateChangedEvent.addListener(() => {
36
37
  setWidgetLocation(findLocation(tabId, frontstage));
37
38
  });
38
39
  }, [frontstage, tabId]);
39
- const setWidgetState = react_1.default.useCallback((widgetState) => {
40
- widgetDef === null || widgetDef === void 0 ? void 0 : widgetDef.setWidgetState(widgetState);
40
+ const setWidgetState = React.useCallback((widgetState) => {
41
+ widgetDef?.setWidgetState(widgetState);
41
42
  }, [widgetDef]);
42
43
  return {
43
44
  /** State of the Widget */
@@ -53,15 +54,15 @@ function useWidget() {
53
54
  exports.useWidget = useWidget;
54
55
  function findLocation(locationTabId, frontstage) {
55
56
  (0, core_bentley_1.assert)(!!frontstage.nineZoneState);
56
- const tabLocation = (0, appui_layout_react_1.getTabLocation)(frontstage.nineZoneState, locationTabId);
57
+ const tabLocation = (0, TabLocation_1.getTabLocation)(frontstage.nineZoneState, locationTabId);
57
58
  if (tabLocation) {
58
- if ((0, appui_layout_react_1.isFloatingTabLocation)(tabLocation)) {
59
+ if ((0, TabLocation_1.isFloatingTabLocation)(tabLocation)) {
59
60
  return "floating";
60
61
  }
61
- if ((0, appui_layout_react_1.isPopoutTabLocation)(tabLocation)) {
62
+ if ((0, TabLocation_1.isPopoutTabLocation)(tabLocation)) {
62
63
  return "popout";
63
64
  }
64
- if ((0, appui_layout_react_1.isPanelTabLocation)(tabLocation)) {
65
+ if ((0, TabLocation_1.isPanelTabLocation)(tabLocation)) {
65
66
  return "docked";
66
67
  }
67
68
  }
@@ -1 +1 @@
1
- {"version":3,"file":"useWidget.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/useWidget.tsx"],"names":[],"mappings":";AAAA;;;gGAGgG;;;AAEhG,iCAA0B;AAC1B,kEAMmC;AACnC,sDAA6C;AAE7C,+DAAqE;AACrE,uFAAoF;AAEpF,sDAAwD;AAExD;;;;GAIG;AACH,SAAgB,SAAS;IACvB,MAAM,KAAK,GAAG,eAAK,CAAC,UAAU,CAAC,iCAAY,CAAC,CA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AO;QACL,0BAA0B;QAC1B,KAAK;QACL,sEAAsE;QACtE,cAAc;QACd;;WAEG;QACH,QAAQ,EAAE,cAAc;KACzB,CAAC;AACJ,CAAC;AAnDD,8BAmDC;AAED,SAAS,YAAY,CAAC,aAAqB,EAAE,UAAyB;IACpE,IAAA,qBAAM,EAAC,CAAC,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IACnC,MAAM,WAAW,GAAG,IAAA,mCAAc,EAAC,UAAU,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC;IAE5E,IAAI,WAAW,EAAE;QACf,IAAI,IAAA,0CAAqB,EAAC,WAAW,CAAC,EAAE;YACtC,OAAO,UAAU,CAAC;SACnB;QAED,IAAI,IAAA,wCAAmB,EAAC,WAAW,CAAC,EAAE;YACpC,OAAO,QAAQ,CAAC;SACjB;QAED,IAAI,IAAA,uCAAkB,EAAC,WAAW,CAAC,EAAE;YACnC,OAAO,QAAQ,CAAC;SACjB;KACF;IAED,OAAO,UAAU,CAAC;AACpB,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\nimport React from \"react\";\nimport {\n getTabLocation,\n isFloatingTabLocation,\n isPanelTabLocation,\n isPopoutTabLocation,\n TabIdContext,\n} from \"@itwin/appui-layout-react\";\nimport { assert } from \"@itwin/core-bentley\";\nimport type { FrontstageDef } from \"../frontstage/FrontstageDef\";\nimport { useActiveFrontstageDef } from \"../frontstage/FrontstageDef\";\nimport { InternalFrontstageManager } from \"../frontstage/InternalFrontstageManager\";\nimport type { WidgetState } from \"./WidgetState\";\nimport { useWidgetDef } from \"../widget-panels/Content\";\n\n/** Hook that returns information about the Widget in the current context.\n * @returns object that contains the WidgetLocation, WidgetState, and\n * the ability to set the state of the widget.\n * @alpha\n */\nexport function useWidget() {\n const tabId = React.useContext(TabIdContext);\n assert(!!tabId);\n\n const frontstage = useActiveFrontstageDef();\n\n assert(!!frontstage);\n\n const widgetDef = useWidgetDef();\n\n assert(!!widgetDef);\n\n const [widgetLocation, setWidgetLocation] = React.useState<\n \"docked\" | \"floating\" | \"popout\"\n >(findLocation(tabId, frontstage));\n\n const [state, setState] = React.useState(widgetDef.state);\n\n React.useEffect(() => {\n return InternalFrontstageManager.onFrontstageNineZoneStateChangedEvent.addListener(\n () => {\n if (widgetDef) return setState(widgetDef.state);\n }\n );\n }, [frontstage, widgetDef]);\n\n React.useEffect(() => {\n return InternalFrontstageManager.onFrontstageNineZoneStateChangedEvent.addListener(\n () => {\n setWidgetLocation(findLocation(tabId, frontstage));\n }\n );\n }, [frontstage, tabId]);\n\n const setWidgetState = React.useCallback(\n (widgetState: Omit<WidgetState, WidgetState.Floating>) => {\n widgetDef?.setWidgetState(widgetState as WidgetState);\n },\n [widgetDef]\n );\n\n return {\n /** State of the Widget */\n state,\n /** Where the widget is located (\"docked\" | \"popout\" | \"floating\"). */\n widgetLocation,\n /** Set widget to different state\n * @param WidgetState that you want to set the widget to.\n */\n setState: setWidgetState,\n };\n}\n\nfunction findLocation(locationTabId: string, frontstage: FrontstageDef) {\n assert(!!frontstage.nineZoneState);\n const tabLocation = getTabLocation(frontstage.nineZoneState, locationTabId);\n\n if (tabLocation) {\n if (isFloatingTabLocation(tabLocation)) {\n return \"floating\";\n }\n\n if (isPopoutTabLocation(tabLocation)) {\n return \"popout\";\n }\n\n if (isPanelTabLocation(tabLocation)) {\n return \"docked\";\n }\n }\n\n return \"floating\";\n}\n"]}
1
+ {"version":3,"file":"useWidget.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/useWidget.tsx"],"names":[],"mappings":";AAAA;;;gGAGgG;;;AAEhG,sDAA6C;AAC7C,+BAA+B;AAE/B,+DAAqE;AACrE,uFAAoF;AACpF,6DAKqC;AACrC,sEAAgE;AAChE,sDAAwD;AAGxD;;;;GAIG;AACH,SAAgB,SAAS;IACvB,MAAM,KAAK,GAAG,K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AAC;IAEF,OAAO;QACL,0BAA0B;QAC1B,KAAK;QACL,sEAAsE;QACtE,cAAc;QACd;;WAEG;QACH,QAAQ,EAAE,cAAc;KACzB,CAAC;AACJ,CAAC;AAnDD,8BAmDC;AAED,SAAS,YAAY,CAAC,aAAqB,EAAE,UAAyB;IACpE,IAAA,qBAAM,EAAC,CAAC,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IACnC,MAAM,WAAW,GAAG,IAAA,4BAAc,EAAC,UAAU,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC;IAE5E,IAAI,WAAW,EAAE;QACf,IAAI,IAAA,mCAAqB,EAAC,WAAW,CAAC,EAAE;YACtC,OAAO,UAAU,CAAC;SACnB;QAED,IAAI,IAAA,iCAAmB,EAAC,WAAW,CAAC,EAAE;YACpC,OAAO,QAAQ,CAAC;SACjB;QAED,IAAI,IAAA,gCAAkB,EAAC,WAAW,CAAC,EAAE;YACnC,OAAO,QAAQ,CAAC;SACjB;KACF;IAED,OAAO,UAAU,CAAC;AACpB,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\nimport { assert } from \"@itwin/core-bentley\";\nimport * as React from \"react\";\nimport type { FrontstageDef } from \"../frontstage/FrontstageDef\";\nimport { useActiveFrontstageDef } from \"../frontstage/FrontstageDef\";\nimport { InternalFrontstageManager } from \"../frontstage/InternalFrontstageManager\";\nimport {\n getTabLocation,\n isFloatingTabLocation,\n isPanelTabLocation,\n isPopoutTabLocation,\n} from \"../layout/state/TabLocation\";\nimport { TabIdContext } from \"../layout/widget/ContentRenderer\";\nimport { useWidgetDef } from \"../widget-panels/Content\";\nimport type { WidgetState } from \"./WidgetState\";\n\n/** Hook that returns information about the Widget in the current context.\n * @returns object that contains the WidgetLocation, WidgetState, and\n * the ability to set the state of the widget.\n * @alpha\n */\nexport function useWidget() {\n const tabId = React.useContext(TabIdContext);\n assert(!!tabId);\n\n const frontstage = useActiveFrontstageDef();\n\n assert(!!frontstage);\n\n const widgetDef = useWidgetDef();\n\n assert(!!widgetDef);\n\n const [widgetLocation, setWidgetLocation] = React.useState<\n \"docked\" | \"floating\" | \"popout\"\n >(findLocation(tabId, frontstage));\n\n const [state, setState] = React.useState(widgetDef.state);\n\n React.useEffect(() => {\n return InternalFrontstageManager.onFrontstageNineZoneStateChangedEvent.addListener(\n () => {\n if (widgetDef) return setState(widgetDef.state);\n }\n );\n }, [frontstage, widgetDef]);\n\n React.useEffect(() => {\n return InternalFrontstageManager.onFrontstageNineZoneStateChangedEvent.addListener(\n () => {\n setWidgetLocation(findLocation(tabId, frontstage));\n }\n );\n }, [frontstage, tabId]);\n\n const setWidgetState = React.useCallback(\n (widgetState: Omit<WidgetState, WidgetState.Floating>) => {\n widgetDef?.setWidgetState(widgetState as WidgetState);\n },\n [widgetDef]\n );\n\n return {\n /** State of the Widget */\n state,\n /** Where the widget is located (\"docked\" | \"popout\" | \"floating\"). */\n widgetLocation,\n /** Set widget to different state\n * @param WidgetState that you want to set the widget to.\n */\n setState: setWidgetState,\n };\n}\n\nfunction findLocation(locationTabId: string, frontstage: FrontstageDef) {\n assert(!!frontstage.nineZoneState);\n const tabLocation = getTabLocation(frontstage.nineZoneState, locationTabId);\n\n if (tabLocation) {\n if (isFloatingTabLocation(tabLocation)) {\n return \"floating\";\n }\n\n if (isPopoutTabLocation(tabLocation)) {\n return \"popout\";\n }\n\n if (isPanelTabLocation(tabLocation)) {\n return \"docked\";\n }\n }\n\n return \"floating\";\n}\n"]}