@itwin/appui-react 4.1.0-dev.0 → 4.1.0

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 (1427) hide show
  1. package/CHANGELOG.md +85 -18
  2. package/lib/cjs/appui-react/UiFramework.d.ts +19 -17
  3. package/lib/cjs/appui-react/UiFramework.d.ts.map +1 -1
  4. package/lib/cjs/appui-react/UiFramework.js +9 -5
  5. package/lib/cjs/appui-react/UiFramework.js.map +1 -1
  6. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.d.ts +2 -1
  7. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.d.ts.map +1 -1
  8. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.js.map +1 -1
  9. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.d.ts +2 -1
  10. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.d.ts.map +1 -1
  11. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.js.map +1 -1
  12. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.d.ts +2 -2
  13. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.d.ts.map +1 -1
  14. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.js +4 -1
  15. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.js.map +1 -1
  16. package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts +1 -1
  17. package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts.map +1 -1
  18. package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.js.map +1 -1
  19. package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.d.ts +2 -2
  20. package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.d.ts.map +1 -1
  21. package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.js.map +1 -1
  22. package/lib/cjs/appui-react/accudraw/AccuDrawUiSettings.d.ts +2 -2
  23. package/lib/cjs/appui-react/accudraw/AccuDrawUiSettings.d.ts.map +1 -1
  24. package/lib/cjs/appui-react/accudraw/AccuDrawUiSettings.js.map +1 -1
  25. package/lib/cjs/appui-react/accudraw/AccuDrawWidget.d.ts +1 -1
  26. package/lib/cjs/appui-react/accudraw/AccuDrawWidget.d.ts.map +1 -1
  27. package/lib/cjs/appui-react/accudraw/AccuDrawWidget.js.map +1 -1
  28. package/lib/cjs/appui-react/accudraw/Calculator.d.ts +2 -2
  29. package/lib/cjs/appui-react/accudraw/Calculator.d.ts.map +1 -1
  30. package/lib/cjs/appui-react/accudraw/Calculator.js.map +1 -1
  31. package/lib/cjs/appui-react/accudraw/CalculatorPopup.d.ts +2 -2
  32. package/lib/cjs/appui-react/accudraw/CalculatorPopup.d.ts.map +1 -1
  33. package/lib/cjs/appui-react/accudraw/CalculatorPopup.js.map +1 -1
  34. package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.d.ts +5 -4
  35. package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.d.ts.map +1 -1
  36. package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.js.map +1 -1
  37. package/lib/cjs/appui-react/accudraw/MenuButton.d.ts +3 -3
  38. package/lib/cjs/appui-react/accudraw/MenuButton.d.ts.map +1 -1
  39. package/lib/cjs/appui-react/accudraw/MenuButton.js.map +1 -1
  40. package/lib/cjs/appui-react/accudraw/MenuButtonPopup.d.ts +1 -1
  41. package/lib/cjs/appui-react/accudraw/MenuButtonPopup.d.ts.map +1 -1
  42. package/lib/cjs/appui-react/accudraw/MenuButtonPopup.js.map +1 -1
  43. package/lib/cjs/appui-react/accudraw/SquareButton.d.ts +2 -2
  44. package/lib/cjs/appui-react/accudraw/SquareButton.d.ts.map +1 -1
  45. package/lib/cjs/appui-react/accudraw/SquareButton.js.map +1 -1
  46. package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts +2 -2
  47. package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
  48. package/lib/cjs/appui-react/backstage/BackstageComposer.js.map +1 -1
  49. package/lib/cjs/appui-react/backstage/BackstageComposerItem.d.ts +1 -1
  50. package/lib/cjs/appui-react/backstage/BackstageComposerItem.d.ts.map +1 -1
  51. package/lib/cjs/appui-react/backstage/BackstageComposerItem.js +2 -1
  52. package/lib/cjs/appui-react/backstage/BackstageComposerItem.js.map +1 -1
  53. package/lib/cjs/appui-react/backstage/BackstageItem.d.ts +2 -2
  54. package/lib/cjs/appui-react/backstage/BackstageItem.d.ts.map +1 -1
  55. package/lib/cjs/appui-react/backstage/BackstageItem.js.map +1 -1
  56. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.d.ts +2 -2
  57. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.d.ts.map +1 -1
  58. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.js.map +1 -1
  59. package/lib/cjs/appui-react/backstage/BackstageItemsManager.d.ts +1 -1
  60. package/lib/cjs/appui-react/backstage/BackstageItemsManager.d.ts.map +1 -1
  61. package/lib/cjs/appui-react/backstage/BackstageItemsManager.js.map +1 -1
  62. package/lib/cjs/appui-react/backstage/BackstageManager.d.ts +2 -2
  63. package/lib/cjs/appui-react/backstage/BackstageManager.d.ts.map +1 -1
  64. package/lib/cjs/appui-react/backstage/BackstageManager.js.map +1 -1
  65. package/lib/cjs/appui-react/backstage/InternalBackstageManager.d.ts +2 -2
  66. package/lib/cjs/appui-react/backstage/InternalBackstageManager.d.ts.map +1 -1
  67. package/lib/cjs/appui-react/backstage/InternalBackstageManager.js.map +1 -1
  68. package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.d.ts +2 -2
  69. package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.d.ts.map +1 -1
  70. package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.js.map +1 -1
  71. package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts +2 -2
  72. package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts.map +1 -1
  73. package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.js.map +1 -1
  74. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts +1 -1
  75. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
  76. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js +5 -4
  77. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
  78. package/lib/cjs/appui-react/childwindow/PopoutWidget.d.ts +1 -1
  79. package/lib/cjs/appui-react/childwindow/PopoutWidget.d.ts.map +1 -1
  80. package/lib/cjs/appui-react/childwindow/PopoutWidget.js.map +1 -1
  81. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.d.ts +1 -1
  82. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
  83. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
  84. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.d.ts +1 -1
  85. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.d.ts.map +1 -1
  86. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js +1 -1
  87. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
  88. package/lib/cjs/appui-react/configurableui/TimeTracker.d.ts.map +1 -1
  89. package/lib/cjs/appui-react/configurableui/TimeTracker.js +2 -1
  90. package/lib/cjs/appui-react/configurableui/TimeTracker.js.map +1 -1
  91. package/lib/cjs/appui-react/configurableui/state.d.ts +1 -1
  92. package/lib/cjs/appui-react/configurableui/state.d.ts.map +1 -1
  93. package/lib/cjs/appui-react/configurableui/state.js.map +1 -1
  94. package/lib/cjs/appui-react/content/ContentControl.d.ts +2 -2
  95. package/lib/cjs/appui-react/content/ContentControl.d.ts.map +1 -1
  96. package/lib/cjs/appui-react/content/ContentControl.js.map +1 -1
  97. package/lib/cjs/appui-react/content/ContentGroup.d.ts +6 -6
  98. package/lib/cjs/appui-react/content/ContentGroup.d.ts.map +1 -1
  99. package/lib/cjs/appui-react/content/ContentGroup.js.map +1 -1
  100. package/lib/cjs/appui-react/content/ContentLayout.d.ts +4 -3
  101. package/lib/cjs/appui-react/content/ContentLayout.d.ts.map +1 -1
  102. package/lib/cjs/appui-react/content/ContentLayout.js +11 -6
  103. package/lib/cjs/appui-react/content/ContentLayout.js.map +1 -1
  104. package/lib/cjs/appui-react/content/ContentLayout.scss +50 -21
  105. package/lib/cjs/appui-react/content/DefaultViewOverlay.d.ts +1 -1
  106. package/lib/cjs/appui-react/content/DefaultViewOverlay.d.ts.map +1 -1
  107. package/lib/cjs/appui-react/content/DefaultViewOverlay.js +4 -3
  108. package/lib/cjs/appui-react/content/DefaultViewOverlay.js.map +1 -1
  109. package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts +2 -2
  110. package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts.map +1 -1
  111. package/lib/cjs/appui-react/content/FloatingViewportContent.js +2 -1
  112. package/lib/cjs/appui-react/content/FloatingViewportContent.js.map +1 -1
  113. package/lib/cjs/appui-react/content/IModelViewport.d.ts +5 -4
  114. package/lib/cjs/appui-react/content/IModelViewport.d.ts.map +1 -1
  115. package/lib/cjs/appui-react/content/IModelViewport.js +6 -3
  116. package/lib/cjs/appui-react/content/IModelViewport.js.map +1 -1
  117. package/lib/cjs/appui-react/content/InternalContentLayoutManager.d.ts +2 -2
  118. package/lib/cjs/appui-react/content/InternalContentLayoutManager.d.ts.map +1 -1
  119. package/lib/cjs/appui-react/content/InternalContentLayoutManager.js +2 -1
  120. package/lib/cjs/appui-react/content/InternalContentLayoutManager.js.map +1 -1
  121. package/lib/cjs/appui-react/content/InternalContentViewManager.d.ts +2 -2
  122. package/lib/cjs/appui-react/content/InternalContentViewManager.d.ts.map +1 -1
  123. package/lib/cjs/appui-react/content/InternalContentViewManager.js +1 -1
  124. package/lib/cjs/appui-react/content/InternalContentViewManager.js.map +1 -1
  125. package/lib/cjs/appui-react/content/StageContentLayout.d.ts +5 -5
  126. package/lib/cjs/appui-react/content/StageContentLayout.d.ts.map +1 -1
  127. package/lib/cjs/appui-react/content/StageContentLayout.js.map +1 -1
  128. package/lib/cjs/appui-react/content/ViewStateHelper.d.ts +2 -2
  129. package/lib/cjs/appui-react/content/ViewStateHelper.d.ts.map +1 -1
  130. package/lib/cjs/appui-react/content/ViewStateHelper.js.map +1 -1
  131. package/lib/cjs/appui-react/content/ViewportContentControl.d.ts +4 -3
  132. package/lib/cjs/appui-react/content/ViewportContentControl.d.ts.map +1 -1
  133. package/lib/cjs/appui-react/content/ViewportContentControl.js.map +1 -1
  134. package/lib/cjs/appui-react/content/split-pane/Resizer.d.ts.map +1 -1
  135. package/lib/cjs/appui-react/content/split-pane/Resizer.js +2 -1
  136. package/lib/cjs/appui-react/content/split-pane/Resizer.js.map +1 -1
  137. package/lib/cjs/appui-react/content/split-pane/SplitPane.js +12 -8
  138. package/lib/cjs/appui-react/content/split-pane/SplitPane.js.map +1 -1
  139. package/lib/cjs/appui-react/cursor/CursorInformation.d.ts +2 -1
  140. package/lib/cjs/appui-react/cursor/CursorInformation.d.ts.map +1 -1
  141. package/lib/cjs/appui-react/cursor/CursorInformation.js.map +1 -1
  142. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.d.ts +2 -2
  143. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.d.ts.map +1 -1
  144. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js +3 -2
  145. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
  146. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.d.ts +4 -2
  147. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.d.ts.map +1 -1
  148. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
  149. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts +2 -1
  150. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts.map +1 -1
  151. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
  152. package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.d.ts +3 -2
  153. package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.d.ts.map +1 -1
  154. package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.js.map +1 -1
  155. package/lib/cjs/appui-react/dialog/ContentDialog.d.ts +1 -1
  156. package/lib/cjs/appui-react/dialog/ContentDialog.d.ts.map +1 -1
  157. package/lib/cjs/appui-react/dialog/ContentDialog.js +6 -3
  158. package/lib/cjs/appui-react/dialog/ContentDialog.js.map +1 -1
  159. package/lib/cjs/appui-react/dialog/ContentDialogManager.d.ts +1 -1
  160. package/lib/cjs/appui-react/dialog/ContentDialogManager.d.ts.map +1 -1
  161. package/lib/cjs/appui-react/dialog/ContentDialogManager.js.map +1 -1
  162. package/lib/cjs/appui-react/dialog/DialogManagerBase.js +3 -2
  163. package/lib/cjs/appui-react/dialog/DialogManagerBase.js.map +1 -1
  164. package/lib/cjs/appui-react/dialog/InternalContentDialogManager.d.ts +3 -2
  165. package/lib/cjs/appui-react/dialog/InternalContentDialogManager.d.ts.map +1 -1
  166. package/lib/cjs/appui-react/dialog/InternalContentDialogManager.js.map +1 -1
  167. package/lib/cjs/appui-react/dialog/InternalModalDialogManager.d.ts +1 -1
  168. package/lib/cjs/appui-react/dialog/InternalModalDialogManager.d.ts.map +1 -1
  169. package/lib/cjs/appui-react/dialog/InternalModalDialogManager.js.map +1 -1
  170. package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.d.ts +3 -2
  171. package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.d.ts.map +1 -1
  172. package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.js.map +1 -1
  173. package/lib/cjs/appui-react/dialog/ModalDialogManager.d.ts +1 -1
  174. package/lib/cjs/appui-react/dialog/ModalDialogManager.d.ts.map +1 -1
  175. package/lib/cjs/appui-react/dialog/ModalDialogManager.js.map +1 -1
  176. package/lib/cjs/appui-react/dialog/ModelessDialog.d.ts +1 -1
  177. package/lib/cjs/appui-react/dialog/ModelessDialog.d.ts.map +1 -1
  178. package/lib/cjs/appui-react/dialog/ModelessDialog.js.map +1 -1
  179. package/lib/cjs/appui-react/dialog/ModelessDialogManager.d.ts +1 -1
  180. package/lib/cjs/appui-react/dialog/ModelessDialogManager.d.ts.map +1 -1
  181. package/lib/cjs/appui-react/dialog/ModelessDialogManager.js.map +1 -1
  182. package/lib/cjs/appui-react/dialog/StandardMessageBox.d.ts +1 -1
  183. package/lib/cjs/appui-react/dialog/StandardMessageBox.d.ts.map +1 -1
  184. package/lib/cjs/appui-react/dialog/StandardMessageBox.js.map +1 -1
  185. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.d.ts +1 -1
  186. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.d.ts.map +1 -1
  187. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.js.map +1 -1
  188. package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts +6 -5
  189. package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
  190. package/lib/cjs/appui-react/feedback/ElementTooltip.js.map +1 -1
  191. package/lib/cjs/appui-react/feedback/ValidationTextbox.d.ts +1 -1
  192. package/lib/cjs/appui-react/feedback/ValidationTextbox.d.ts.map +1 -1
  193. package/lib/cjs/appui-react/feedback/ValidationTextbox.js.map +1 -1
  194. package/lib/cjs/appui-react/framework/FrameworkBackstage.d.ts +3 -3
  195. package/lib/cjs/appui-react/framework/FrameworkBackstage.d.ts.map +1 -1
  196. package/lib/cjs/appui-react/framework/FrameworkBackstage.js.map +1 -1
  197. package/lib/cjs/appui-react/framework/FrameworkContent.d.ts +6 -5
  198. package/lib/cjs/appui-react/framework/FrameworkContent.d.ts.map +1 -1
  199. package/lib/cjs/appui-react/framework/FrameworkContent.js.map +1 -1
  200. package/lib/cjs/appui-react/framework/FrameworkControls.d.ts +1 -1
  201. package/lib/cjs/appui-react/framework/FrameworkControls.d.ts.map +1 -1
  202. package/lib/cjs/appui-react/framework/FrameworkControls.js.map +1 -1
  203. package/lib/cjs/appui-react/framework/FrameworkDialogs.d.ts +2 -1
  204. package/lib/cjs/appui-react/framework/FrameworkDialogs.d.ts.map +1 -1
  205. package/lib/cjs/appui-react/framework/FrameworkDialogs.js +0 -7
  206. package/lib/cjs/appui-react/framework/FrameworkDialogs.js.map +1 -1
  207. package/lib/cjs/appui-react/framework/FrameworkFrontstages.d.ts +11 -11
  208. package/lib/cjs/appui-react/framework/FrameworkFrontstages.d.ts.map +1 -1
  209. package/lib/cjs/appui-react/framework/FrameworkFrontstages.js.map +1 -1
  210. package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.d.ts +4 -4
  211. package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.d.ts.map +1 -1
  212. package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.js.map +1 -1
  213. package/lib/cjs/appui-react/framework/FrameworkToolSettings.d.ts +3 -2
  214. package/lib/cjs/appui-react/framework/FrameworkToolSettings.d.ts.map +1 -1
  215. package/lib/cjs/appui-react/framework/FrameworkToolSettings.js +0 -7
  216. package/lib/cjs/appui-react/framework/FrameworkToolSettings.js.map +1 -1
  217. package/lib/cjs/appui-react/frontstage/FrontstageConfig.d.ts +4 -4
  218. package/lib/cjs/appui-react/frontstage/FrontstageConfig.d.ts.map +1 -1
  219. package/lib/cjs/appui-react/frontstage/FrontstageConfig.js.map +1 -1
  220. package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts +11 -10
  221. package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
  222. package/lib/cjs/appui-react/frontstage/FrontstageDef.js +4 -3
  223. package/lib/cjs/appui-react/frontstage/FrontstageDef.js.map +1 -1
  224. package/lib/cjs/appui-react/frontstage/FrontstageProvider.d.ts +1 -1
  225. package/lib/cjs/appui-react/frontstage/FrontstageProvider.d.ts.map +1 -1
  226. package/lib/cjs/appui-react/frontstage/FrontstageProvider.js.map +1 -1
  227. package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts +16 -11
  228. package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts.map +1 -1
  229. package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
  230. package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts +1 -1
  231. package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
  232. package/lib/cjs/appui-react/frontstage/ModalFrontstage.js.map +1 -1
  233. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.d.ts +1 -1
  234. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.d.ts.map +1 -1
  235. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js +3 -2
  236. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
  237. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts +6 -5
  238. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
  239. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js +3 -2
  240. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
  241. package/lib/cjs/appui-react/hooks/useActiveIModelConnection.d.ts +1 -1
  242. package/lib/cjs/appui-react/hooks/useActiveIModelConnection.d.ts.map +1 -1
  243. package/lib/cjs/appui-react/hooks/useActiveIModelConnection.js.map +1 -1
  244. package/lib/cjs/appui-react/hooks/useActiveStageId.js.map +1 -1
  245. package/lib/cjs/appui-react/hooks/useActiveViewport.d.ts +1 -1
  246. package/lib/cjs/appui-react/hooks/useActiveViewport.d.ts.map +1 -1
  247. package/lib/cjs/appui-react/hooks/useActiveViewport.js.map +1 -1
  248. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts +1 -1
  249. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts.map +1 -1
  250. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.js +11 -7
  251. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.js.map +1 -1
  252. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.d.ts +1 -1
  253. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.d.ts.map +1 -1
  254. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.js +11 -7
  255. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.js.map +1 -1
  256. package/lib/cjs/appui-react/hooks/useSolarDataProvider.d.ts +2 -2
  257. package/lib/cjs/appui-react/hooks/useSolarDataProvider.d.ts.map +1 -1
  258. package/lib/cjs/appui-react/hooks/useSolarDataProvider.js +13 -8
  259. package/lib/cjs/appui-react/hooks/useSolarDataProvider.js.map +1 -1
  260. package/lib/cjs/appui-react/hooks/useUiVisibility.d.ts.map +1 -1
  261. package/lib/cjs/appui-react/hooks/useUiVisibility.js.map +1 -1
  262. package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts +1 -1
  263. package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts.map +1 -1
  264. package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.js.map +1 -1
  265. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.d.ts +2 -2
  266. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.d.ts.map +1 -1
  267. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.js.map +1 -1
  268. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts +2 -2
  269. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts.map +1 -1
  270. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
  271. package/lib/cjs/appui-react/messages/ActivityMessage.d.ts.map +1 -1
  272. package/lib/cjs/appui-react/messages/ActivityMessage.js +7 -5
  273. package/lib/cjs/appui-react/messages/ActivityMessage.js.map +1 -1
  274. package/lib/cjs/appui-react/messages/AppNotificationManager.d.ts +4 -3
  275. package/lib/cjs/appui-react/messages/AppNotificationManager.d.ts.map +1 -1
  276. package/lib/cjs/appui-react/messages/AppNotificationManager.js.map +1 -1
  277. package/lib/cjs/appui-react/messages/HollowIcon.d.ts +1 -1
  278. package/lib/cjs/appui-react/messages/HollowIcon.d.ts.map +1 -1
  279. package/lib/cjs/appui-react/messages/HollowIcon.js.map +1 -1
  280. package/lib/cjs/appui-react/messages/InputField.d.ts +1 -1
  281. package/lib/cjs/appui-react/messages/InputField.d.ts.map +1 -1
  282. package/lib/cjs/appui-react/messages/InputField.js.map +1 -1
  283. package/lib/cjs/appui-react/messages/MessageLabel.d.ts +1 -1
  284. package/lib/cjs/appui-react/messages/MessageLabel.d.ts.map +1 -1
  285. package/lib/cjs/appui-react/messages/MessageLabel.js.map +1 -1
  286. package/lib/cjs/appui-react/messages/MessageManager.d.ts +7 -6
  287. package/lib/cjs/appui-react/messages/MessageManager.d.ts.map +1 -1
  288. package/lib/cjs/appui-react/messages/MessageManager.js.map +1 -1
  289. package/lib/cjs/appui-react/messages/MessageSpan.d.ts +2 -2
  290. package/lib/cjs/appui-react/messages/MessageSpan.d.ts.map +1 -1
  291. package/lib/cjs/appui-react/messages/MessageSpan.js.map +1 -1
  292. package/lib/cjs/appui-react/messages/Pointer.d.ts +5 -4
  293. package/lib/cjs/appui-react/messages/Pointer.d.ts.map +1 -1
  294. package/lib/cjs/appui-react/messages/Pointer.js.map +1 -1
  295. package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.d.ts +5 -4
  296. package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.d.ts.map +1 -1
  297. package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.js.map +1 -1
  298. package/lib/cjs/appui-react/messages/StatusMessageManager.d.ts +2 -2
  299. package/lib/cjs/appui-react/messages/StatusMessageManager.d.ts.map +1 -1
  300. package/lib/cjs/appui-react/messages/StatusMessageManager.js.map +1 -1
  301. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.d.ts +1 -1
  302. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.d.ts.map +1 -1
  303. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
  304. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.d.ts +1 -1
  305. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.d.ts.map +1 -1
  306. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
  307. package/lib/cjs/appui-react/navigationaids/NavigationAidControl.d.ts +4 -3
  308. package/lib/cjs/appui-react/navigationaids/NavigationAidControl.d.ts.map +1 -1
  309. package/lib/cjs/appui-react/navigationaids/NavigationAidControl.js.map +1 -1
  310. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.d.ts +3 -3
  311. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.d.ts.map +1 -1
  312. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
  313. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.d.ts +4 -4
  314. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.d.ts.map +1 -1
  315. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
  316. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.d.ts +2 -2
  317. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
  318. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
  319. package/lib/cjs/appui-react/pickers/ListPicker.d.ts +3 -1
  320. package/lib/cjs/appui-react/pickers/ListPicker.d.ts.map +1 -1
  321. package/lib/cjs/appui-react/pickers/ListPicker.js +6 -1
  322. package/lib/cjs/appui-react/pickers/ListPicker.js.map +1 -1
  323. package/lib/cjs/appui-react/pickers/ViewSelector.d.ts +4 -3
  324. package/lib/cjs/appui-react/pickers/ViewSelector.d.ts.map +1 -1
  325. package/lib/cjs/appui-react/pickers/ViewSelector.js +19 -6
  326. package/lib/cjs/appui-react/pickers/ViewSelector.js.map +1 -1
  327. package/lib/cjs/appui-react/popup/CardPopup.d.ts +4 -3
  328. package/lib/cjs/appui-react/popup/CardPopup.d.ts.map +1 -1
  329. package/lib/cjs/appui-react/popup/CardPopup.js.map +1 -1
  330. package/lib/cjs/appui-react/popup/HTMLElementPopup.d.ts +4 -3
  331. package/lib/cjs/appui-react/popup/HTMLElementPopup.d.ts.map +1 -1
  332. package/lib/cjs/appui-react/popup/HTMLElementPopup.js.map +1 -1
  333. package/lib/cjs/appui-react/popup/InputEditorPopup.d.ts +3 -3
  334. package/lib/cjs/appui-react/popup/InputEditorPopup.d.ts.map +1 -1
  335. package/lib/cjs/appui-react/popup/InputEditorPopup.js.map +1 -1
  336. package/lib/cjs/appui-react/popup/KeyinPalettePanel.d.ts +2 -2
  337. package/lib/cjs/appui-react/popup/KeyinPalettePanel.d.ts.map +1 -1
  338. package/lib/cjs/appui-react/popup/KeyinPalettePanel.js +2 -1
  339. package/lib/cjs/appui-react/popup/KeyinPalettePanel.js.map +1 -1
  340. package/lib/cjs/appui-react/popup/KeyinPalettePopup.d.ts +2 -2
  341. package/lib/cjs/appui-react/popup/KeyinPalettePopup.d.ts.map +1 -1
  342. package/lib/cjs/appui-react/popup/KeyinPalettePopup.js.map +1 -1
  343. package/lib/cjs/appui-react/popup/PopupManager.d.ts +5 -4
  344. package/lib/cjs/appui-react/popup/PopupManager.d.ts.map +1 -1
  345. package/lib/cjs/appui-react/popup/PopupManager.js +2 -1
  346. package/lib/cjs/appui-react/popup/PopupManager.js.map +1 -1
  347. package/lib/cjs/appui-react/popup/PositionPopup.d.ts +2 -2
  348. package/lib/cjs/appui-react/popup/PositionPopup.d.ts.map +1 -1
  349. package/lib/cjs/appui-react/popup/PositionPopup.js.map +1 -1
  350. package/lib/cjs/appui-react/popup/ToolSettingsPopup.d.ts +4 -3
  351. package/lib/cjs/appui-react/popup/ToolSettingsPopup.d.ts.map +1 -1
  352. package/lib/cjs/appui-react/popup/ToolSettingsPopup.js.map +1 -1
  353. package/lib/cjs/appui-react/popup/ToolbarPopup.d.ts +5 -4
  354. package/lib/cjs/appui-react/popup/ToolbarPopup.d.ts.map +1 -1
  355. package/lib/cjs/appui-react/popup/ToolbarPopup.js.map +1 -1
  356. package/lib/cjs/appui-react/redux/FrameworkState.d.ts +4 -2
  357. package/lib/cjs/appui-react/redux/FrameworkState.d.ts.map +1 -1
  358. package/lib/cjs/appui-react/redux/FrameworkState.js.map +1 -1
  359. package/lib/cjs/appui-react/redux/SessionState.d.ts +3 -3
  360. package/lib/cjs/appui-react/redux/SessionState.d.ts.map +1 -1
  361. package/lib/cjs/appui-react/redux/SessionState.js.map +1 -1
  362. package/lib/cjs/appui-react/redux/StateManager.d.ts +3 -3
  363. package/lib/cjs/appui-react/redux/StateManager.d.ts.map +1 -1
  364. package/lib/cjs/appui-react/redux/StateManager.js +0 -1
  365. package/lib/cjs/appui-react/redux/StateManager.js.map +1 -1
  366. package/lib/cjs/appui-react/safearea/SafeAreaContext.d.ts +1 -1
  367. package/lib/cjs/appui-react/safearea/SafeAreaContext.d.ts.map +1 -1
  368. package/lib/cjs/appui-react/safearea/SafeAreaContext.js.map +1 -1
  369. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.d.ts +2 -2
  370. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.d.ts.map +1 -1
  371. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.js.map +1 -1
  372. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.d.ts +1 -1
  373. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.d.ts.map +1 -1
  374. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
  375. package/lib/cjs/appui-react/selection/SelectionContextItemDef.d.ts +1 -1
  376. package/lib/cjs/appui-react/selection/SelectionContextItemDef.d.ts.map +1 -1
  377. package/lib/cjs/appui-react/selection/SelectionContextItemDef.js.map +1 -1
  378. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.d.ts +3 -3
  379. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.d.ts.map +1 -1
  380. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js +1 -1
  381. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
  382. package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts +1 -1
  383. package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts.map +1 -1
  384. package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.js.map +1 -1
  385. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts +1 -1
  386. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
  387. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
  388. package/lib/cjs/appui-react/shared/ActionButtonItemDef.d.ts +4 -3
  389. package/lib/cjs/appui-react/shared/ActionButtonItemDef.d.ts.map +1 -1
  390. package/lib/cjs/appui-react/shared/ActionButtonItemDef.js.map +1 -1
  391. package/lib/cjs/appui-react/shared/AnyItemDef.d.ts +4 -4
  392. package/lib/cjs/appui-react/shared/AnyItemDef.d.ts.map +1 -1
  393. package/lib/cjs/appui-react/shared/AnyItemDef.js.map +1 -1
  394. package/lib/cjs/appui-react/shared/AnyToolbarItemDef.d.ts +2 -2
  395. package/lib/cjs/appui-react/shared/AnyToolbarItemDef.d.ts.map +1 -1
  396. package/lib/cjs/appui-react/shared/AnyToolbarItemDef.js.map +1 -1
  397. package/lib/cjs/appui-react/shared/CommandItemDef.d.ts +2 -2
  398. package/lib/cjs/appui-react/shared/CommandItemDef.d.ts.map +1 -1
  399. package/lib/cjs/appui-react/shared/CommandItemDef.js.map +1 -1
  400. package/lib/cjs/appui-react/shared/CustomItemDef.d.ts +2 -2
  401. package/lib/cjs/appui-react/shared/CustomItemDef.d.ts.map +1 -1
  402. package/lib/cjs/appui-react/shared/CustomItemDef.js.map +1 -1
  403. package/lib/cjs/appui-react/shared/CustomItemProps.d.ts +1 -1
  404. package/lib/cjs/appui-react/shared/CustomItemProps.d.ts.map +1 -1
  405. package/lib/cjs/appui-react/shared/CustomItemProps.js.map +1 -1
  406. package/lib/cjs/appui-react/shared/GroupItemProps.d.ts +3 -3
  407. package/lib/cjs/appui-react/shared/GroupItemProps.d.ts.map +1 -1
  408. package/lib/cjs/appui-react/shared/GroupItemProps.js.map +1 -1
  409. package/lib/cjs/appui-react/shared/ItemDefBase.d.ts +4 -4
  410. package/lib/cjs/appui-react/shared/ItemDefBase.d.ts.map +1 -1
  411. package/lib/cjs/appui-react/shared/ItemDefBase.js.map +1 -1
  412. package/lib/cjs/appui-react/shared/ItemMap.d.ts +1 -1
  413. package/lib/cjs/appui-react/shared/ItemMap.d.ts.map +1 -1
  414. package/lib/cjs/appui-react/shared/ItemMap.js.map +1 -1
  415. package/lib/cjs/appui-react/shared/ItemProps.d.ts +2 -2
  416. package/lib/cjs/appui-react/shared/ItemProps.d.ts.map +1 -1
  417. package/lib/cjs/appui-react/shared/ItemProps.js.map +1 -1
  418. package/lib/cjs/appui-react/shared/MenuItem.d.ts +3 -3
  419. package/lib/cjs/appui-react/shared/MenuItem.d.ts.map +1 -1
  420. package/lib/cjs/appui-react/shared/MenuItem.js.map +1 -1
  421. package/lib/cjs/appui-react/shared/ToolItemDef.d.ts +3 -3
  422. package/lib/cjs/appui-react/shared/ToolItemDef.d.ts.map +1 -1
  423. package/lib/cjs/appui-react/shared/ToolItemDef.js.map +1 -1
  424. package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts +2 -2
  425. package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts.map +1 -1
  426. package/lib/cjs/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
  427. package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts +2 -2
  428. package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
  429. package/lib/cjs/appui-react/stagepanels/StagePanelDef.js +7 -5
  430. package/lib/cjs/appui-react/stagepanels/StagePanelDef.js.map +1 -1
  431. package/lib/cjs/appui-react/statusbar/Field.d.ts +1 -1
  432. package/lib/cjs/appui-react/statusbar/Field.d.ts.map +1 -1
  433. package/lib/cjs/appui-react/statusbar/Field.js.map +1 -1
  434. package/lib/cjs/appui-react/statusbar/Indicator.d.ts +1 -1
  435. package/lib/cjs/appui-react/statusbar/Indicator.d.ts.map +1 -1
  436. package/lib/cjs/appui-react/statusbar/Indicator.js +2 -1
  437. package/lib/cjs/appui-react/statusbar/Indicator.js.map +1 -1
  438. package/lib/cjs/appui-react/statusbar/LabelIndicator.d.ts +2 -2
  439. package/lib/cjs/appui-react/statusbar/LabelIndicator.d.ts.map +1 -1
  440. package/lib/cjs/appui-react/statusbar/LabelIndicator.js.map +1 -1
  441. package/lib/cjs/appui-react/statusbar/Overflow.d.ts +1 -1
  442. package/lib/cjs/appui-react/statusbar/Overflow.d.ts.map +1 -1
  443. package/lib/cjs/appui-react/statusbar/Overflow.js.map +1 -1
  444. package/lib/cjs/appui-react/statusbar/OverflowPanel.d.ts +1 -1
  445. package/lib/cjs/appui-react/statusbar/OverflowPanel.d.ts.map +1 -1
  446. package/lib/cjs/appui-react/statusbar/OverflowPanel.js.map +1 -1
  447. package/lib/cjs/appui-react/statusbar/Popup.d.ts +1 -1
  448. package/lib/cjs/appui-react/statusbar/Popup.d.ts.map +1 -1
  449. package/lib/cjs/appui-react/statusbar/Popup.js.map +1 -1
  450. package/lib/cjs/appui-react/statusbar/Separator.d.ts +1 -1
  451. package/lib/cjs/appui-react/statusbar/Separator.d.ts.map +1 -1
  452. package/lib/cjs/appui-react/statusbar/Separator.js.map +1 -1
  453. package/lib/cjs/appui-react/statusbar/StatusBar.d.ts +3 -3
  454. package/lib/cjs/appui-react/statusbar/StatusBar.d.ts.map +1 -1
  455. package/lib/cjs/appui-react/statusbar/StatusBar.js +5 -3
  456. package/lib/cjs/appui-react/statusbar/StatusBar.js.map +1 -1
  457. package/lib/cjs/appui-react/statusbar/StatusBarComposer.d.ts +2 -2
  458. package/lib/cjs/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
  459. package/lib/cjs/appui-react/statusbar/StatusBarComposer.js.map +1 -1
  460. package/lib/cjs/appui-react/statusbar/StatusBarItem.d.ts +3 -3
  461. package/lib/cjs/appui-react/statusbar/StatusBarItem.d.ts.map +1 -1
  462. package/lib/cjs/appui-react/statusbar/StatusBarItem.js.map +1 -1
  463. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.d.ts +5 -4
  464. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.d.ts.map +1 -1
  465. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.js.map +1 -1
  466. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.d.ts +1 -1
  467. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.d.ts.map +1 -1
  468. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.js.map +1 -1
  469. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.d.ts +2 -1
  470. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.d.ts.map +1 -1
  471. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.js.map +1 -1
  472. package/lib/cjs/appui-react/statusbar/dialog/Button.d.ts +1 -1
  473. package/lib/cjs/appui-react/statusbar/dialog/Button.d.ts.map +1 -1
  474. package/lib/cjs/appui-react/statusbar/dialog/Button.js.map +1 -1
  475. package/lib/cjs/appui-react/statusbar/dialog/Dialog.d.ts +1 -1
  476. package/lib/cjs/appui-react/statusbar/dialog/Dialog.d.ts.map +1 -1
  477. package/lib/cjs/appui-react/statusbar/dialog/Dialog.js.map +1 -1
  478. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.d.ts +1 -1
  479. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.d.ts.map +1 -1
  480. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
  481. package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.d.ts +2 -2
  482. package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.d.ts.map +1 -1
  483. package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.js.map +1 -1
  484. package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts +2 -2
  485. package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts.map +1 -1
  486. package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.js.map +1 -1
  487. package/lib/cjs/appui-react/statusfields/ActivityCenter.d.ts +1 -1
  488. package/lib/cjs/appui-react/statusfields/ActivityCenter.d.ts.map +1 -1
  489. package/lib/cjs/appui-react/statusfields/ActivityCenter.js.map +1 -1
  490. package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts +1 -1
  491. package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
  492. package/lib/cjs/appui-react/statusfields/MessageCenter.js.map +1 -1
  493. package/lib/cjs/appui-react/statusfields/SectionsField.d.ts +1 -1
  494. package/lib/cjs/appui-react/statusfields/SectionsField.d.ts.map +1 -1
  495. package/lib/cjs/appui-react/statusfields/SectionsField.js.map +1 -1
  496. package/lib/cjs/appui-react/statusfields/SelectionCount.d.ts +29 -0
  497. package/lib/cjs/appui-react/statusfields/SelectionCount.d.ts.map +1 -0
  498. package/lib/cjs/appui-react/statusfields/SelectionCount.js +51 -0
  499. package/lib/cjs/appui-react/statusfields/SelectionCount.js.map +1 -0
  500. package/lib/cjs/appui-react/statusfields/{SelectionInfo.scss → SelectionCount.scss} +5 -8
  501. package/lib/cjs/appui-react/statusfields/SelectionInfo.d.ts +6 -19
  502. package/lib/cjs/appui-react/statusfields/SelectionInfo.d.ts.map +1 -1
  503. package/lib/cjs/appui-react/statusfields/SelectionInfo.js +14 -31
  504. package/lib/cjs/appui-react/statusfields/SelectionInfo.js.map +1 -1
  505. package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts +2 -2
  506. package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
  507. package/lib/cjs/appui-react/statusfields/SelectionScope.js.map +1 -1
  508. package/lib/cjs/appui-react/statusfields/SnapMode.d.ts +1 -1
  509. package/lib/cjs/appui-react/statusfields/SnapMode.d.ts.map +1 -1
  510. package/lib/cjs/appui-react/statusfields/SnapMode.js.map +1 -1
  511. package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts +2 -2
  512. package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts.map +1 -1
  513. package/lib/cjs/appui-react/statusfields/ViewAttributes.js.map +1 -1
  514. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +1 -1
  515. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts.map +1 -1
  516. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.js.map +1 -1
  517. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +2 -2
  518. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
  519. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js +1 -1
  520. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
  521. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts +2 -2
  522. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
  523. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
  524. package/lib/cjs/appui-react/theme/ThemeManager.d.ts.map +1 -1
  525. package/lib/cjs/appui-react/theme/ThemeManager.js +2 -1
  526. package/lib/cjs/appui-react/theme/ThemeManager.js.map +1 -1
  527. package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.d.ts +3 -2
  528. package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.d.ts.map +1 -1
  529. package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.js.map +1 -1
  530. package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.d.ts +3 -2
  531. package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.d.ts.map +1 -1
  532. package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.js.map +1 -1
  533. package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.d.ts +1 -1
  534. package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.d.ts.map +1 -1
  535. package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.js.map +1 -1
  536. package/lib/cjs/appui-react/toolbar/GroupItem.d.ts +4 -4
  537. package/lib/cjs/appui-react/toolbar/GroupItem.d.ts.map +1 -1
  538. package/lib/cjs/appui-react/toolbar/GroupItem.js.map +1 -1
  539. package/lib/cjs/appui-react/toolbar/Toolbar.d.ts +4 -4
  540. package/lib/cjs/appui-react/toolbar/Toolbar.d.ts.map +1 -1
  541. package/lib/cjs/appui-react/toolbar/Toolbar.js.map +1 -1
  542. package/lib/cjs/appui-react/toolbar/ToolbarComposer.d.ts +2 -1
  543. package/lib/cjs/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
  544. package/lib/cjs/appui-react/toolbar/ToolbarComposer.js.map +1 -1
  545. package/lib/cjs/appui-react/toolbar/ToolbarHelper.d.ts +4 -4
  546. package/lib/cjs/appui-react/toolbar/ToolbarHelper.d.ts.map +1 -1
  547. package/lib/cjs/appui-react/toolbar/ToolbarHelper.js.map +1 -1
  548. package/lib/cjs/appui-react/toolbar/ToolbarItem.d.ts +2 -2
  549. package/lib/cjs/appui-react/toolbar/ToolbarItem.d.ts.map +1 -1
  550. package/lib/cjs/appui-react/toolbar/ToolbarItem.js.map +1 -1
  551. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.d.ts +1 -1
  552. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.d.ts.map +1 -1
  553. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.js.map +1 -1
  554. package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.d.ts +1 -1
  555. package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.d.ts.map +1 -1
  556. package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.js.map +1 -1
  557. package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.d.ts +4 -4
  558. package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.d.ts.map +1 -1
  559. package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.js.map +1 -1
  560. package/lib/cjs/appui-react/toolbar/toUIAToolbarItem.d.ts +2 -2
  561. package/lib/cjs/appui-react/toolbar/toUIAToolbarItem.d.ts.map +1 -1
  562. package/lib/cjs/appui-react/toolbar/toUIAToolbarItem.js.map +1 -1
  563. package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.d.ts +2 -2
  564. package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.d.ts.map +1 -1
  565. package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.js.map +1 -1
  566. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts +2 -2
  567. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts.map +1 -1
  568. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
  569. package/lib/cjs/appui-react/tools/CoreToolDefinitions.js +14 -7
  570. package/lib/cjs/appui-react/tools/CoreToolDefinitions.js.map +1 -1
  571. package/lib/cjs/appui-react/tools/RestoreLayoutTool.js.map +1 -1
  572. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts +4 -3
  573. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -1
  574. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js +2 -1
  575. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
  576. package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.d.ts +3 -2
  577. package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.d.ts.map +1 -1
  578. package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.js.map +1 -1
  579. package/lib/cjs/appui-react/toolsettings/ToolInformation.d.ts +1 -1
  580. package/lib/cjs/appui-react/toolsettings/ToolInformation.d.ts.map +1 -1
  581. package/lib/cjs/appui-react/toolsettings/ToolInformation.js.map +1 -1
  582. package/lib/cjs/appui-react/toolsettings/ToolUiProvider.d.ts +6 -5
  583. package/lib/cjs/appui-react/toolsettings/ToolUiProvider.d.ts.map +1 -1
  584. package/lib/cjs/appui-react/toolsettings/ToolUiProvider.js.map +1 -1
  585. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.d.ts +7 -7
  586. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.d.ts.map +1 -1
  587. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.js +28 -17
  588. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.js.map +1 -1
  589. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts +6 -6
  590. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts.map +1 -1
  591. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.js.map +1 -1
  592. package/lib/cjs/appui-react/ui-items-provider/ProviderItem.d.ts +1 -1
  593. package/lib/cjs/appui-react/ui-items-provider/ProviderItem.js.map +1 -1
  594. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts +3 -3
  595. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts.map +1 -1
  596. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
  597. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts +4 -3
  598. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts.map +1 -1
  599. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +10 -8
  600. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
  601. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts +2 -2
  602. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts.map +1 -1
  603. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
  604. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts +3 -2
  605. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts.map +1 -1
  606. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js.map +1 -1
  607. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts +2 -2
  608. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts.map +1 -1
  609. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
  610. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts +2 -2
  611. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts.map +1 -1
  612. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +3 -2
  613. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
  614. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.d.ts +14 -13
  615. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.d.ts.map +1 -1
  616. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js +15 -9
  617. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
  618. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.d.ts +6 -6
  619. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.d.ts.map +1 -1
  620. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.js.map +1 -1
  621. package/lib/cjs/appui-react/ui-items-provider/isProviderItem.d.ts +1 -1
  622. package/lib/cjs/appui-react/ui-items-provider/isProviderItem.d.ts.map +1 -1
  623. package/lib/cjs/appui-react/ui-items-provider/isProviderItem.js.map +1 -1
  624. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.d.ts +3 -2
  625. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.d.ts.map +1 -1
  626. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js +1 -1
  627. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
  628. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.d.ts +3 -2
  629. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.d.ts.map +1 -1
  630. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.js +1 -1
  631. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.js.map +1 -1
  632. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.d.ts +1 -1
  633. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
  634. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.js.map +1 -1
  635. package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts +3 -2
  636. package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
  637. package/lib/cjs/appui-react/uistate/AppUiSettings.js.map +1 -1
  638. package/lib/cjs/appui-react/uistate/useUiStateStorage.d.ts +1 -1
  639. package/lib/cjs/appui-react/uistate/useUiStateStorage.d.ts.map +1 -1
  640. package/lib/cjs/appui-react/uistate/useUiStateStorage.js.map +1 -1
  641. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.d.ts +2 -2
  642. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.d.ts.map +1 -1
  643. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.js +3 -3
  644. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.js.map +1 -1
  645. package/lib/cjs/appui-react/utils/PropsHelper.d.ts +3 -2
  646. package/lib/cjs/appui-react/utils/PropsHelper.d.ts.map +1 -1
  647. package/lib/cjs/appui-react/utils/PropsHelper.js +2 -1
  648. package/lib/cjs/appui-react/utils/PropsHelper.js.map +1 -1
  649. package/lib/cjs/appui-react/utils/ViewUtilities.d.ts +1 -1
  650. package/lib/cjs/appui-react/utils/ViewUtilities.d.ts.map +1 -1
  651. package/lib/cjs/appui-react/utils/ViewUtilities.js +0 -1
  652. package/lib/cjs/appui-react/utils/ViewUtilities.js.map +1 -1
  653. package/lib/cjs/appui-react/widget-panels/Content.d.ts +1 -1
  654. package/lib/cjs/appui-react/widget-panels/Content.d.ts.map +1 -1
  655. package/lib/cjs/appui-react/widget-panels/Content.js +18 -7
  656. package/lib/cjs/appui-react/widget-panels/Content.js.map +1 -1
  657. package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts +5 -4
  658. package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
  659. package/lib/cjs/appui-react/widget-panels/Frontstage.js +39 -30
  660. package/lib/cjs/appui-react/widget-panels/Frontstage.js.map +1 -1
  661. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.d.ts +1 -1
  662. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.d.ts.map +1 -1
  663. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.js.map +1 -1
  664. package/lib/cjs/appui-react/widget-panels/StatusBar.d.ts +1 -1
  665. package/lib/cjs/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
  666. package/lib/cjs/appui-react/widget-panels/StatusBar.js +1 -1
  667. package/lib/cjs/appui-react/widget-panels/StatusBar.js.map +1 -1
  668. package/lib/cjs/appui-react/widget-panels/Tab.js +1 -1
  669. package/lib/cjs/appui-react/widget-panels/Tab.js.map +1 -1
  670. package/lib/cjs/appui-react/widget-panels/ToolSettings.js +17 -9
  671. package/lib/cjs/appui-react/widget-panels/ToolSettings.js.map +1 -1
  672. package/lib/cjs/appui-react/widget-panels/Toolbars.js +3 -2
  673. package/lib/cjs/appui-react/widget-panels/Toolbars.js.map +1 -1
  674. package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts +1 -1
  675. package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
  676. package/lib/cjs/appui-react/widgets/BackstageAppButton.js.map +1 -1
  677. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.d.ts +1 -1
  678. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.d.ts.map +1 -1
  679. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
  680. package/lib/cjs/appui-react/widgets/BasicToolWidget.d.ts +1 -1
  681. package/lib/cjs/appui-react/widgets/BasicToolWidget.d.ts.map +1 -1
  682. package/lib/cjs/appui-react/widgets/BasicToolWidget.js.map +1 -1
  683. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.d.ts +1 -1
  684. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
  685. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js +2 -2
  686. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
  687. package/lib/cjs/appui-react/widgets/StableWidgetDef.d.ts +1 -1
  688. package/lib/cjs/appui-react/widgets/StableWidgetDef.d.ts.map +1 -1
  689. package/lib/cjs/appui-react/widgets/StableWidgetDef.js.map +1 -1
  690. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.d.ts +1 -1
  691. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.d.ts.map +1 -1
  692. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.js.map +1 -1
  693. package/lib/cjs/appui-react/widgets/Widget.d.ts +4 -4
  694. package/lib/cjs/appui-react/widgets/Widget.d.ts.map +1 -1
  695. package/lib/cjs/appui-react/widgets/Widget.js.map +1 -1
  696. package/lib/cjs/appui-react/widgets/WidgetConfig.d.ts +1 -1
  697. package/lib/cjs/appui-react/widgets/WidgetConfig.d.ts.map +1 -1
  698. package/lib/cjs/appui-react/widgets/WidgetConfig.js.map +1 -1
  699. package/lib/cjs/appui-react/widgets/WidgetControl.d.ts +5 -4
  700. package/lib/cjs/appui-react/widgets/WidgetControl.d.ts.map +1 -1
  701. package/lib/cjs/appui-react/widgets/WidgetControl.js.map +1 -1
  702. package/lib/cjs/appui-react/widgets/WidgetDef.d.ts +10 -8
  703. package/lib/cjs/appui-react/widgets/WidgetDef.d.ts.map +1 -1
  704. package/lib/cjs/appui-react/widgets/WidgetDef.js +1 -1
  705. package/lib/cjs/appui-react/widgets/WidgetDef.js.map +1 -1
  706. package/lib/cjs/appui-react/widgets/WidgetHost.d.ts +3 -3
  707. package/lib/cjs/appui-react/widgets/WidgetHost.d.ts.map +1 -1
  708. package/lib/cjs/appui-react/widgets/WidgetHost.js +3 -2
  709. package/lib/cjs/appui-react/widgets/WidgetHost.js.map +1 -1
  710. package/lib/cjs/appui-react.d.ts +1 -0
  711. package/lib/cjs/appui-react.d.ts.map +1 -1
  712. package/lib/cjs/appui-react.js +1 -0
  713. package/lib/cjs/appui-react.js.map +1 -1
  714. package/lib/esm/appui-react/UiFramework.d.ts +19 -17
  715. package/lib/esm/appui-react/UiFramework.d.ts.map +1 -1
  716. package/lib/esm/appui-react/UiFramework.js +9 -5
  717. package/lib/esm/appui-react/UiFramework.js.map +1 -1
  718. package/lib/esm/appui-react/accudraw/AccuDrawDialog.d.ts +2 -1
  719. package/lib/esm/appui-react/accudraw/AccuDrawDialog.d.ts.map +1 -1
  720. package/lib/esm/appui-react/accudraw/AccuDrawDialog.js.map +1 -1
  721. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.d.ts +2 -1
  722. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.d.ts.map +1 -1
  723. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.js.map +1 -1
  724. package/lib/esm/appui-react/accudraw/AccuDrawInputField.d.ts +2 -2
  725. package/lib/esm/appui-react/accudraw/AccuDrawInputField.d.ts.map +1 -1
  726. package/lib/esm/appui-react/accudraw/AccuDrawInputField.js +4 -1
  727. package/lib/esm/appui-react/accudraw/AccuDrawInputField.js.map +1 -1
  728. package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts +1 -1
  729. package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts.map +1 -1
  730. package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.js.map +1 -1
  731. package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.d.ts +2 -2
  732. package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.d.ts.map +1 -1
  733. package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.js.map +1 -1
  734. package/lib/esm/appui-react/accudraw/AccuDrawUiSettings.d.ts +2 -2
  735. package/lib/esm/appui-react/accudraw/AccuDrawUiSettings.d.ts.map +1 -1
  736. package/lib/esm/appui-react/accudraw/AccuDrawUiSettings.js.map +1 -1
  737. package/lib/esm/appui-react/accudraw/AccuDrawWidget.d.ts +1 -1
  738. package/lib/esm/appui-react/accudraw/AccuDrawWidget.d.ts.map +1 -1
  739. package/lib/esm/appui-react/accudraw/AccuDrawWidget.js.map +1 -1
  740. package/lib/esm/appui-react/accudraw/Calculator.d.ts +2 -2
  741. package/lib/esm/appui-react/accudraw/Calculator.d.ts.map +1 -1
  742. package/lib/esm/appui-react/accudraw/Calculator.js.map +1 -1
  743. package/lib/esm/appui-react/accudraw/CalculatorPopup.d.ts +2 -2
  744. package/lib/esm/appui-react/accudraw/CalculatorPopup.d.ts.map +1 -1
  745. package/lib/esm/appui-react/accudraw/CalculatorPopup.js.map +1 -1
  746. package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.d.ts +5 -4
  747. package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.d.ts.map +1 -1
  748. package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.js.map +1 -1
  749. package/lib/esm/appui-react/accudraw/MenuButton.d.ts +3 -3
  750. package/lib/esm/appui-react/accudraw/MenuButton.d.ts.map +1 -1
  751. package/lib/esm/appui-react/accudraw/MenuButton.js.map +1 -1
  752. package/lib/esm/appui-react/accudraw/MenuButtonPopup.d.ts +1 -1
  753. package/lib/esm/appui-react/accudraw/MenuButtonPopup.d.ts.map +1 -1
  754. package/lib/esm/appui-react/accudraw/MenuButtonPopup.js.map +1 -1
  755. package/lib/esm/appui-react/accudraw/SquareButton.d.ts +2 -2
  756. package/lib/esm/appui-react/accudraw/SquareButton.d.ts.map +1 -1
  757. package/lib/esm/appui-react/accudraw/SquareButton.js.map +1 -1
  758. package/lib/esm/appui-react/backstage/BackstageComposer.d.ts +2 -2
  759. package/lib/esm/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
  760. package/lib/esm/appui-react/backstage/BackstageComposer.js.map +1 -1
  761. package/lib/esm/appui-react/backstage/BackstageComposerItem.d.ts +1 -1
  762. package/lib/esm/appui-react/backstage/BackstageComposerItem.d.ts.map +1 -1
  763. package/lib/esm/appui-react/backstage/BackstageComposerItem.js +2 -1
  764. package/lib/esm/appui-react/backstage/BackstageComposerItem.js.map +1 -1
  765. package/lib/esm/appui-react/backstage/BackstageItem.d.ts +2 -2
  766. package/lib/esm/appui-react/backstage/BackstageItem.d.ts.map +1 -1
  767. package/lib/esm/appui-react/backstage/BackstageItem.js.map +1 -1
  768. package/lib/esm/appui-react/backstage/BackstageItemUtilities.d.ts +2 -2
  769. package/lib/esm/appui-react/backstage/BackstageItemUtilities.d.ts.map +1 -1
  770. package/lib/esm/appui-react/backstage/BackstageItemUtilities.js.map +1 -1
  771. package/lib/esm/appui-react/backstage/BackstageItemsManager.d.ts +1 -1
  772. package/lib/esm/appui-react/backstage/BackstageItemsManager.d.ts.map +1 -1
  773. package/lib/esm/appui-react/backstage/BackstageItemsManager.js.map +1 -1
  774. package/lib/esm/appui-react/backstage/BackstageManager.d.ts +2 -2
  775. package/lib/esm/appui-react/backstage/BackstageManager.d.ts.map +1 -1
  776. package/lib/esm/appui-react/backstage/BackstageManager.js.map +1 -1
  777. package/lib/esm/appui-react/backstage/InternalBackstageManager.d.ts +2 -2
  778. package/lib/esm/appui-react/backstage/InternalBackstageManager.d.ts.map +1 -1
  779. package/lib/esm/appui-react/backstage/InternalBackstageManager.js.map +1 -1
  780. package/lib/esm/appui-react/backstage/useDefaultBackstageItems.d.ts +2 -2
  781. package/lib/esm/appui-react/backstage/useDefaultBackstageItems.d.ts.map +1 -1
  782. package/lib/esm/appui-react/backstage/useDefaultBackstageItems.js.map +1 -1
  783. package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts +2 -2
  784. package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts.map +1 -1
  785. package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.js.map +1 -1
  786. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts +1 -1
  787. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
  788. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js +5 -4
  789. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
  790. package/lib/esm/appui-react/childwindow/PopoutWidget.d.ts +1 -1
  791. package/lib/esm/appui-react/childwindow/PopoutWidget.d.ts.map +1 -1
  792. package/lib/esm/appui-react/childwindow/PopoutWidget.js.map +1 -1
  793. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.d.ts +1 -1
  794. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
  795. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
  796. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.d.ts +1 -1
  797. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.d.ts.map +1 -1
  798. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js +1 -1
  799. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
  800. package/lib/esm/appui-react/configurableui/TimeTracker.d.ts.map +1 -1
  801. package/lib/esm/appui-react/configurableui/TimeTracker.js +2 -1
  802. package/lib/esm/appui-react/configurableui/TimeTracker.js.map +1 -1
  803. package/lib/esm/appui-react/configurableui/state.d.ts +1 -1
  804. package/lib/esm/appui-react/configurableui/state.d.ts.map +1 -1
  805. package/lib/esm/appui-react/configurableui/state.js.map +1 -1
  806. package/lib/esm/appui-react/content/ContentControl.d.ts +2 -2
  807. package/lib/esm/appui-react/content/ContentControl.d.ts.map +1 -1
  808. package/lib/esm/appui-react/content/ContentControl.js.map +1 -1
  809. package/lib/esm/appui-react/content/ContentGroup.d.ts +6 -6
  810. package/lib/esm/appui-react/content/ContentGroup.d.ts.map +1 -1
  811. package/lib/esm/appui-react/content/ContentGroup.js.map +1 -1
  812. package/lib/esm/appui-react/content/ContentLayout.d.ts +4 -3
  813. package/lib/esm/appui-react/content/ContentLayout.d.ts.map +1 -1
  814. package/lib/esm/appui-react/content/ContentLayout.js +11 -6
  815. package/lib/esm/appui-react/content/ContentLayout.js.map +1 -1
  816. package/lib/esm/appui-react/content/ContentLayout.scss +50 -21
  817. package/lib/esm/appui-react/content/DefaultViewOverlay.d.ts +1 -1
  818. package/lib/esm/appui-react/content/DefaultViewOverlay.d.ts.map +1 -1
  819. package/lib/esm/appui-react/content/DefaultViewOverlay.js +4 -3
  820. package/lib/esm/appui-react/content/DefaultViewOverlay.js.map +1 -1
  821. package/lib/esm/appui-react/content/FloatingViewportContent.d.ts +2 -2
  822. package/lib/esm/appui-react/content/FloatingViewportContent.d.ts.map +1 -1
  823. package/lib/esm/appui-react/content/FloatingViewportContent.js +2 -1
  824. package/lib/esm/appui-react/content/FloatingViewportContent.js.map +1 -1
  825. package/lib/esm/appui-react/content/IModelViewport.d.ts +5 -4
  826. package/lib/esm/appui-react/content/IModelViewport.d.ts.map +1 -1
  827. package/lib/esm/appui-react/content/IModelViewport.js +6 -3
  828. package/lib/esm/appui-react/content/IModelViewport.js.map +1 -1
  829. package/lib/esm/appui-react/content/InternalContentLayoutManager.d.ts +2 -2
  830. package/lib/esm/appui-react/content/InternalContentLayoutManager.d.ts.map +1 -1
  831. package/lib/esm/appui-react/content/InternalContentLayoutManager.js +2 -1
  832. package/lib/esm/appui-react/content/InternalContentLayoutManager.js.map +1 -1
  833. package/lib/esm/appui-react/content/InternalContentViewManager.d.ts +2 -2
  834. package/lib/esm/appui-react/content/InternalContentViewManager.d.ts.map +1 -1
  835. package/lib/esm/appui-react/content/InternalContentViewManager.js +1 -1
  836. package/lib/esm/appui-react/content/InternalContentViewManager.js.map +1 -1
  837. package/lib/esm/appui-react/content/StageContentLayout.d.ts +5 -5
  838. package/lib/esm/appui-react/content/StageContentLayout.d.ts.map +1 -1
  839. package/lib/esm/appui-react/content/StageContentLayout.js.map +1 -1
  840. package/lib/esm/appui-react/content/ViewStateHelper.d.ts +2 -2
  841. package/lib/esm/appui-react/content/ViewStateHelper.d.ts.map +1 -1
  842. package/lib/esm/appui-react/content/ViewStateHelper.js.map +1 -1
  843. package/lib/esm/appui-react/content/ViewportContentControl.d.ts +4 -3
  844. package/lib/esm/appui-react/content/ViewportContentControl.d.ts.map +1 -1
  845. package/lib/esm/appui-react/content/ViewportContentControl.js.map +1 -1
  846. package/lib/esm/appui-react/content/split-pane/Resizer.d.ts.map +1 -1
  847. package/lib/esm/appui-react/content/split-pane/Resizer.js +2 -1
  848. package/lib/esm/appui-react/content/split-pane/Resizer.js.map +1 -1
  849. package/lib/esm/appui-react/content/split-pane/SplitPane.js +12 -8
  850. package/lib/esm/appui-react/content/split-pane/SplitPane.js.map +1 -1
  851. package/lib/esm/appui-react/cursor/CursorInformation.d.ts +2 -1
  852. package/lib/esm/appui-react/cursor/CursorInformation.d.ts.map +1 -1
  853. package/lib/esm/appui-react/cursor/CursorInformation.js.map +1 -1
  854. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.d.ts +2 -2
  855. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.d.ts.map +1 -1
  856. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js +3 -2
  857. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
  858. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.d.ts +4 -2
  859. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.d.ts.map +1 -1
  860. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
  861. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts +2 -1
  862. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts.map +1 -1
  863. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
  864. package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.d.ts +3 -2
  865. package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.d.ts.map +1 -1
  866. package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.js.map +1 -1
  867. package/lib/esm/appui-react/dialog/ContentDialog.d.ts +1 -1
  868. package/lib/esm/appui-react/dialog/ContentDialog.d.ts.map +1 -1
  869. package/lib/esm/appui-react/dialog/ContentDialog.js +6 -3
  870. package/lib/esm/appui-react/dialog/ContentDialog.js.map +1 -1
  871. package/lib/esm/appui-react/dialog/ContentDialogManager.d.ts +1 -1
  872. package/lib/esm/appui-react/dialog/ContentDialogManager.d.ts.map +1 -1
  873. package/lib/esm/appui-react/dialog/ContentDialogManager.js.map +1 -1
  874. package/lib/esm/appui-react/dialog/DialogManagerBase.js +3 -2
  875. package/lib/esm/appui-react/dialog/DialogManagerBase.js.map +1 -1
  876. package/lib/esm/appui-react/dialog/InternalContentDialogManager.d.ts +3 -2
  877. package/lib/esm/appui-react/dialog/InternalContentDialogManager.d.ts.map +1 -1
  878. package/lib/esm/appui-react/dialog/InternalContentDialogManager.js.map +1 -1
  879. package/lib/esm/appui-react/dialog/InternalModalDialogManager.d.ts +1 -1
  880. package/lib/esm/appui-react/dialog/InternalModalDialogManager.d.ts.map +1 -1
  881. package/lib/esm/appui-react/dialog/InternalModalDialogManager.js.map +1 -1
  882. package/lib/esm/appui-react/dialog/InternalModelessDialogManager.d.ts +3 -2
  883. package/lib/esm/appui-react/dialog/InternalModelessDialogManager.d.ts.map +1 -1
  884. package/lib/esm/appui-react/dialog/InternalModelessDialogManager.js.map +1 -1
  885. package/lib/esm/appui-react/dialog/ModalDialogManager.d.ts +1 -1
  886. package/lib/esm/appui-react/dialog/ModalDialogManager.d.ts.map +1 -1
  887. package/lib/esm/appui-react/dialog/ModalDialogManager.js.map +1 -1
  888. package/lib/esm/appui-react/dialog/ModelessDialog.d.ts +1 -1
  889. package/lib/esm/appui-react/dialog/ModelessDialog.d.ts.map +1 -1
  890. package/lib/esm/appui-react/dialog/ModelessDialog.js.map +1 -1
  891. package/lib/esm/appui-react/dialog/ModelessDialogManager.d.ts +1 -1
  892. package/lib/esm/appui-react/dialog/ModelessDialogManager.d.ts.map +1 -1
  893. package/lib/esm/appui-react/dialog/ModelessDialogManager.js.map +1 -1
  894. package/lib/esm/appui-react/dialog/StandardMessageBox.d.ts +1 -1
  895. package/lib/esm/appui-react/dialog/StandardMessageBox.d.ts.map +1 -1
  896. package/lib/esm/appui-react/dialog/StandardMessageBox.js.map +1 -1
  897. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.d.ts +1 -1
  898. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.d.ts.map +1 -1
  899. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.js.map +1 -1
  900. package/lib/esm/appui-react/feedback/ElementTooltip.d.ts +6 -5
  901. package/lib/esm/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
  902. package/lib/esm/appui-react/feedback/ElementTooltip.js.map +1 -1
  903. package/lib/esm/appui-react/feedback/ValidationTextbox.d.ts +1 -1
  904. package/lib/esm/appui-react/feedback/ValidationTextbox.d.ts.map +1 -1
  905. package/lib/esm/appui-react/feedback/ValidationTextbox.js.map +1 -1
  906. package/lib/esm/appui-react/framework/FrameworkBackstage.d.ts +3 -3
  907. package/lib/esm/appui-react/framework/FrameworkBackstage.d.ts.map +1 -1
  908. package/lib/esm/appui-react/framework/FrameworkBackstage.js.map +1 -1
  909. package/lib/esm/appui-react/framework/FrameworkContent.d.ts +6 -5
  910. package/lib/esm/appui-react/framework/FrameworkContent.d.ts.map +1 -1
  911. package/lib/esm/appui-react/framework/FrameworkContent.js.map +1 -1
  912. package/lib/esm/appui-react/framework/FrameworkControls.d.ts +1 -1
  913. package/lib/esm/appui-react/framework/FrameworkControls.d.ts.map +1 -1
  914. package/lib/esm/appui-react/framework/FrameworkControls.js.map +1 -1
  915. package/lib/esm/appui-react/framework/FrameworkDialogs.d.ts +2 -1
  916. package/lib/esm/appui-react/framework/FrameworkDialogs.d.ts.map +1 -1
  917. package/lib/esm/appui-react/framework/FrameworkDialogs.js +0 -7
  918. package/lib/esm/appui-react/framework/FrameworkDialogs.js.map +1 -1
  919. package/lib/esm/appui-react/framework/FrameworkFrontstages.d.ts +11 -11
  920. package/lib/esm/appui-react/framework/FrameworkFrontstages.d.ts.map +1 -1
  921. package/lib/esm/appui-react/framework/FrameworkFrontstages.js.map +1 -1
  922. package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.d.ts +4 -4
  923. package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.d.ts.map +1 -1
  924. package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.js.map +1 -1
  925. package/lib/esm/appui-react/framework/FrameworkToolSettings.d.ts +3 -2
  926. package/lib/esm/appui-react/framework/FrameworkToolSettings.d.ts.map +1 -1
  927. package/lib/esm/appui-react/framework/FrameworkToolSettings.js +0 -7
  928. package/lib/esm/appui-react/framework/FrameworkToolSettings.js.map +1 -1
  929. package/lib/esm/appui-react/frontstage/FrontstageConfig.d.ts +4 -4
  930. package/lib/esm/appui-react/frontstage/FrontstageConfig.d.ts.map +1 -1
  931. package/lib/esm/appui-react/frontstage/FrontstageConfig.js.map +1 -1
  932. package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts +11 -10
  933. package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
  934. package/lib/esm/appui-react/frontstage/FrontstageDef.js +4 -3
  935. package/lib/esm/appui-react/frontstage/FrontstageDef.js.map +1 -1
  936. package/lib/esm/appui-react/frontstage/FrontstageProvider.d.ts +1 -1
  937. package/lib/esm/appui-react/frontstage/FrontstageProvider.d.ts.map +1 -1
  938. package/lib/esm/appui-react/frontstage/FrontstageProvider.js.map +1 -1
  939. package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts +16 -11
  940. package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts.map +1 -1
  941. package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
  942. package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts +1 -1
  943. package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
  944. package/lib/esm/appui-react/frontstage/ModalFrontstage.js.map +1 -1
  945. package/lib/esm/appui-react/frontstage/ModalSettingsStage.d.ts +1 -1
  946. package/lib/esm/appui-react/frontstage/ModalSettingsStage.d.ts.map +1 -1
  947. package/lib/esm/appui-react/frontstage/ModalSettingsStage.js +3 -2
  948. package/lib/esm/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
  949. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts +6 -5
  950. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
  951. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js +3 -2
  952. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
  953. package/lib/esm/appui-react/hooks/useActiveIModelConnection.d.ts +1 -1
  954. package/lib/esm/appui-react/hooks/useActiveIModelConnection.d.ts.map +1 -1
  955. package/lib/esm/appui-react/hooks/useActiveIModelConnection.js.map +1 -1
  956. package/lib/esm/appui-react/hooks/useActiveStageId.js.map +1 -1
  957. package/lib/esm/appui-react/hooks/useActiveViewport.d.ts +1 -1
  958. package/lib/esm/appui-react/hooks/useActiveViewport.d.ts.map +1 -1
  959. package/lib/esm/appui-react/hooks/useActiveViewport.js.map +1 -1
  960. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts +1 -1
  961. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts.map +1 -1
  962. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.js +11 -7
  963. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.js.map +1 -1
  964. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.d.ts +1 -1
  965. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.d.ts.map +1 -1
  966. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.js +11 -7
  967. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.js.map +1 -1
  968. package/lib/esm/appui-react/hooks/useSolarDataProvider.d.ts +2 -2
  969. package/lib/esm/appui-react/hooks/useSolarDataProvider.d.ts.map +1 -1
  970. package/lib/esm/appui-react/hooks/useSolarDataProvider.js +13 -8
  971. package/lib/esm/appui-react/hooks/useSolarDataProvider.js.map +1 -1
  972. package/lib/esm/appui-react/hooks/useUiVisibility.d.ts.map +1 -1
  973. package/lib/esm/appui-react/hooks/useUiVisibility.js.map +1 -1
  974. package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts +1 -1
  975. package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts.map +1 -1
  976. package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.js.map +1 -1
  977. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.d.ts +2 -2
  978. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.d.ts.map +1 -1
  979. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.js.map +1 -1
  980. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts +2 -2
  981. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts.map +1 -1
  982. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
  983. package/lib/esm/appui-react/messages/ActivityMessage.d.ts.map +1 -1
  984. package/lib/esm/appui-react/messages/ActivityMessage.js +7 -5
  985. package/lib/esm/appui-react/messages/ActivityMessage.js.map +1 -1
  986. package/lib/esm/appui-react/messages/AppNotificationManager.d.ts +4 -3
  987. package/lib/esm/appui-react/messages/AppNotificationManager.d.ts.map +1 -1
  988. package/lib/esm/appui-react/messages/AppNotificationManager.js.map +1 -1
  989. package/lib/esm/appui-react/messages/HollowIcon.d.ts +1 -1
  990. package/lib/esm/appui-react/messages/HollowIcon.d.ts.map +1 -1
  991. package/lib/esm/appui-react/messages/HollowIcon.js.map +1 -1
  992. package/lib/esm/appui-react/messages/InputField.d.ts +1 -1
  993. package/lib/esm/appui-react/messages/InputField.d.ts.map +1 -1
  994. package/lib/esm/appui-react/messages/InputField.js.map +1 -1
  995. package/lib/esm/appui-react/messages/MessageLabel.d.ts +1 -1
  996. package/lib/esm/appui-react/messages/MessageLabel.d.ts.map +1 -1
  997. package/lib/esm/appui-react/messages/MessageLabel.js.map +1 -1
  998. package/lib/esm/appui-react/messages/MessageManager.d.ts +7 -6
  999. package/lib/esm/appui-react/messages/MessageManager.d.ts.map +1 -1
  1000. package/lib/esm/appui-react/messages/MessageManager.js.map +1 -1
  1001. package/lib/esm/appui-react/messages/MessageSpan.d.ts +2 -2
  1002. package/lib/esm/appui-react/messages/MessageSpan.d.ts.map +1 -1
  1003. package/lib/esm/appui-react/messages/MessageSpan.js.map +1 -1
  1004. package/lib/esm/appui-react/messages/Pointer.d.ts +5 -4
  1005. package/lib/esm/appui-react/messages/Pointer.d.ts.map +1 -1
  1006. package/lib/esm/appui-react/messages/Pointer.js.map +1 -1
  1007. package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.d.ts +5 -4
  1008. package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.d.ts.map +1 -1
  1009. package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.js.map +1 -1
  1010. package/lib/esm/appui-react/messages/StatusMessageManager.d.ts +2 -2
  1011. package/lib/esm/appui-react/messages/StatusMessageManager.d.ts.map +1 -1
  1012. package/lib/esm/appui-react/messages/StatusMessageManager.js.map +1 -1
  1013. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.d.ts +1 -1
  1014. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.d.ts.map +1 -1
  1015. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
  1016. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.d.ts +1 -1
  1017. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.d.ts.map +1 -1
  1018. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
  1019. package/lib/esm/appui-react/navigationaids/NavigationAidControl.d.ts +4 -3
  1020. package/lib/esm/appui-react/navigationaids/NavigationAidControl.d.ts.map +1 -1
  1021. package/lib/esm/appui-react/navigationaids/NavigationAidControl.js.map +1 -1
  1022. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.d.ts +3 -3
  1023. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.d.ts.map +1 -1
  1024. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
  1025. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.d.ts +4 -4
  1026. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.d.ts.map +1 -1
  1027. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
  1028. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.d.ts +2 -2
  1029. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
  1030. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
  1031. package/lib/esm/appui-react/pickers/ListPicker.d.ts +3 -1
  1032. package/lib/esm/appui-react/pickers/ListPicker.d.ts.map +1 -1
  1033. package/lib/esm/appui-react/pickers/ListPicker.js +6 -1
  1034. package/lib/esm/appui-react/pickers/ListPicker.js.map +1 -1
  1035. package/lib/esm/appui-react/pickers/ViewSelector.d.ts +4 -3
  1036. package/lib/esm/appui-react/pickers/ViewSelector.d.ts.map +1 -1
  1037. package/lib/esm/appui-react/pickers/ViewSelector.js +20 -7
  1038. package/lib/esm/appui-react/pickers/ViewSelector.js.map +1 -1
  1039. package/lib/esm/appui-react/popup/CardPopup.d.ts +4 -3
  1040. package/lib/esm/appui-react/popup/CardPopup.d.ts.map +1 -1
  1041. package/lib/esm/appui-react/popup/CardPopup.js.map +1 -1
  1042. package/lib/esm/appui-react/popup/HTMLElementPopup.d.ts +4 -3
  1043. package/lib/esm/appui-react/popup/HTMLElementPopup.d.ts.map +1 -1
  1044. package/lib/esm/appui-react/popup/HTMLElementPopup.js.map +1 -1
  1045. package/lib/esm/appui-react/popup/InputEditorPopup.d.ts +3 -3
  1046. package/lib/esm/appui-react/popup/InputEditorPopup.d.ts.map +1 -1
  1047. package/lib/esm/appui-react/popup/InputEditorPopup.js.map +1 -1
  1048. package/lib/esm/appui-react/popup/KeyinPalettePanel.d.ts +2 -2
  1049. package/lib/esm/appui-react/popup/KeyinPalettePanel.d.ts.map +1 -1
  1050. package/lib/esm/appui-react/popup/KeyinPalettePanel.js +2 -1
  1051. package/lib/esm/appui-react/popup/KeyinPalettePanel.js.map +1 -1
  1052. package/lib/esm/appui-react/popup/KeyinPalettePopup.d.ts +2 -2
  1053. package/lib/esm/appui-react/popup/KeyinPalettePopup.d.ts.map +1 -1
  1054. package/lib/esm/appui-react/popup/KeyinPalettePopup.js.map +1 -1
  1055. package/lib/esm/appui-react/popup/PopupManager.d.ts +5 -4
  1056. package/lib/esm/appui-react/popup/PopupManager.d.ts.map +1 -1
  1057. package/lib/esm/appui-react/popup/PopupManager.js +2 -1
  1058. package/lib/esm/appui-react/popup/PopupManager.js.map +1 -1
  1059. package/lib/esm/appui-react/popup/PositionPopup.d.ts +2 -2
  1060. package/lib/esm/appui-react/popup/PositionPopup.d.ts.map +1 -1
  1061. package/lib/esm/appui-react/popup/PositionPopup.js.map +1 -1
  1062. package/lib/esm/appui-react/popup/ToolSettingsPopup.d.ts +4 -3
  1063. package/lib/esm/appui-react/popup/ToolSettingsPopup.d.ts.map +1 -1
  1064. package/lib/esm/appui-react/popup/ToolSettingsPopup.js.map +1 -1
  1065. package/lib/esm/appui-react/popup/ToolbarPopup.d.ts +5 -4
  1066. package/lib/esm/appui-react/popup/ToolbarPopup.d.ts.map +1 -1
  1067. package/lib/esm/appui-react/popup/ToolbarPopup.js.map +1 -1
  1068. package/lib/esm/appui-react/redux/FrameworkState.d.ts +4 -2
  1069. package/lib/esm/appui-react/redux/FrameworkState.d.ts.map +1 -1
  1070. package/lib/esm/appui-react/redux/FrameworkState.js.map +1 -1
  1071. package/lib/esm/appui-react/redux/SessionState.d.ts +3 -3
  1072. package/lib/esm/appui-react/redux/SessionState.d.ts.map +1 -1
  1073. package/lib/esm/appui-react/redux/SessionState.js.map +1 -1
  1074. package/lib/esm/appui-react/redux/StateManager.d.ts +3 -3
  1075. package/lib/esm/appui-react/redux/StateManager.d.ts.map +1 -1
  1076. package/lib/esm/appui-react/redux/StateManager.js +0 -1
  1077. package/lib/esm/appui-react/redux/StateManager.js.map +1 -1
  1078. package/lib/esm/appui-react/safearea/SafeAreaContext.d.ts +1 -1
  1079. package/lib/esm/appui-react/safearea/SafeAreaContext.d.ts.map +1 -1
  1080. package/lib/esm/appui-react/safearea/SafeAreaContext.js.map +1 -1
  1081. package/lib/esm/appui-react/safearea/SafeAreaHelpers.d.ts +2 -2
  1082. package/lib/esm/appui-react/safearea/SafeAreaHelpers.d.ts.map +1 -1
  1083. package/lib/esm/appui-react/safearea/SafeAreaHelpers.js.map +1 -1
  1084. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.d.ts +1 -1
  1085. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.d.ts.map +1 -1
  1086. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
  1087. package/lib/esm/appui-react/selection/SelectionContextItemDef.d.ts +1 -1
  1088. package/lib/esm/appui-react/selection/SelectionContextItemDef.d.ts.map +1 -1
  1089. package/lib/esm/appui-react/selection/SelectionContextItemDef.js.map +1 -1
  1090. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.d.ts +3 -3
  1091. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.d.ts.map +1 -1
  1092. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js +1 -1
  1093. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
  1094. package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts +1 -1
  1095. package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts.map +1 -1
  1096. package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.js.map +1 -1
  1097. package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts +1 -1
  1098. package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
  1099. package/lib/esm/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
  1100. package/lib/esm/appui-react/shared/ActionButtonItemDef.d.ts +4 -3
  1101. package/lib/esm/appui-react/shared/ActionButtonItemDef.d.ts.map +1 -1
  1102. package/lib/esm/appui-react/shared/ActionButtonItemDef.js.map +1 -1
  1103. package/lib/esm/appui-react/shared/AnyItemDef.d.ts +4 -4
  1104. package/lib/esm/appui-react/shared/AnyItemDef.d.ts.map +1 -1
  1105. package/lib/esm/appui-react/shared/AnyItemDef.js.map +1 -1
  1106. package/lib/esm/appui-react/shared/AnyToolbarItemDef.d.ts +2 -2
  1107. package/lib/esm/appui-react/shared/AnyToolbarItemDef.d.ts.map +1 -1
  1108. package/lib/esm/appui-react/shared/AnyToolbarItemDef.js.map +1 -1
  1109. package/lib/esm/appui-react/shared/CommandItemDef.d.ts +2 -2
  1110. package/lib/esm/appui-react/shared/CommandItemDef.d.ts.map +1 -1
  1111. package/lib/esm/appui-react/shared/CommandItemDef.js.map +1 -1
  1112. package/lib/esm/appui-react/shared/CustomItemDef.d.ts +2 -2
  1113. package/lib/esm/appui-react/shared/CustomItemDef.d.ts.map +1 -1
  1114. package/lib/esm/appui-react/shared/CustomItemDef.js.map +1 -1
  1115. package/lib/esm/appui-react/shared/CustomItemProps.d.ts +1 -1
  1116. package/lib/esm/appui-react/shared/CustomItemProps.d.ts.map +1 -1
  1117. package/lib/esm/appui-react/shared/CustomItemProps.js.map +1 -1
  1118. package/lib/esm/appui-react/shared/GroupItemProps.d.ts +3 -3
  1119. package/lib/esm/appui-react/shared/GroupItemProps.d.ts.map +1 -1
  1120. package/lib/esm/appui-react/shared/GroupItemProps.js.map +1 -1
  1121. package/lib/esm/appui-react/shared/ItemDefBase.d.ts +4 -4
  1122. package/lib/esm/appui-react/shared/ItemDefBase.d.ts.map +1 -1
  1123. package/lib/esm/appui-react/shared/ItemDefBase.js.map +1 -1
  1124. package/lib/esm/appui-react/shared/ItemMap.d.ts +1 -1
  1125. package/lib/esm/appui-react/shared/ItemMap.d.ts.map +1 -1
  1126. package/lib/esm/appui-react/shared/ItemMap.js.map +1 -1
  1127. package/lib/esm/appui-react/shared/ItemProps.d.ts +2 -2
  1128. package/lib/esm/appui-react/shared/ItemProps.d.ts.map +1 -1
  1129. package/lib/esm/appui-react/shared/ItemProps.js.map +1 -1
  1130. package/lib/esm/appui-react/shared/MenuItem.d.ts +3 -3
  1131. package/lib/esm/appui-react/shared/MenuItem.d.ts.map +1 -1
  1132. package/lib/esm/appui-react/shared/MenuItem.js.map +1 -1
  1133. package/lib/esm/appui-react/shared/ToolItemDef.d.ts +3 -3
  1134. package/lib/esm/appui-react/shared/ToolItemDef.d.ts.map +1 -1
  1135. package/lib/esm/appui-react/shared/ToolItemDef.js.map +1 -1
  1136. package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts +2 -2
  1137. package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts.map +1 -1
  1138. package/lib/esm/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
  1139. package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts +2 -2
  1140. package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
  1141. package/lib/esm/appui-react/stagepanels/StagePanelDef.js +7 -5
  1142. package/lib/esm/appui-react/stagepanels/StagePanelDef.js.map +1 -1
  1143. package/lib/esm/appui-react/statusbar/Field.d.ts +1 -1
  1144. package/lib/esm/appui-react/statusbar/Field.d.ts.map +1 -1
  1145. package/lib/esm/appui-react/statusbar/Field.js.map +1 -1
  1146. package/lib/esm/appui-react/statusbar/Indicator.d.ts +1 -1
  1147. package/lib/esm/appui-react/statusbar/Indicator.d.ts.map +1 -1
  1148. package/lib/esm/appui-react/statusbar/Indicator.js +2 -1
  1149. package/lib/esm/appui-react/statusbar/Indicator.js.map +1 -1
  1150. package/lib/esm/appui-react/statusbar/LabelIndicator.d.ts +2 -2
  1151. package/lib/esm/appui-react/statusbar/LabelIndicator.d.ts.map +1 -1
  1152. package/lib/esm/appui-react/statusbar/LabelIndicator.js.map +1 -1
  1153. package/lib/esm/appui-react/statusbar/Overflow.d.ts +1 -1
  1154. package/lib/esm/appui-react/statusbar/Overflow.d.ts.map +1 -1
  1155. package/lib/esm/appui-react/statusbar/Overflow.js.map +1 -1
  1156. package/lib/esm/appui-react/statusbar/OverflowPanel.d.ts +1 -1
  1157. package/lib/esm/appui-react/statusbar/OverflowPanel.d.ts.map +1 -1
  1158. package/lib/esm/appui-react/statusbar/OverflowPanel.js.map +1 -1
  1159. package/lib/esm/appui-react/statusbar/Popup.d.ts +1 -1
  1160. package/lib/esm/appui-react/statusbar/Popup.d.ts.map +1 -1
  1161. package/lib/esm/appui-react/statusbar/Popup.js.map +1 -1
  1162. package/lib/esm/appui-react/statusbar/Separator.d.ts +1 -1
  1163. package/lib/esm/appui-react/statusbar/Separator.d.ts.map +1 -1
  1164. package/lib/esm/appui-react/statusbar/Separator.js.map +1 -1
  1165. package/lib/esm/appui-react/statusbar/StatusBar.d.ts +3 -3
  1166. package/lib/esm/appui-react/statusbar/StatusBar.d.ts.map +1 -1
  1167. package/lib/esm/appui-react/statusbar/StatusBar.js +5 -3
  1168. package/lib/esm/appui-react/statusbar/StatusBar.js.map +1 -1
  1169. package/lib/esm/appui-react/statusbar/StatusBarComposer.d.ts +2 -2
  1170. package/lib/esm/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
  1171. package/lib/esm/appui-react/statusbar/StatusBarComposer.js.map +1 -1
  1172. package/lib/esm/appui-react/statusbar/StatusBarItem.d.ts +3 -3
  1173. package/lib/esm/appui-react/statusbar/StatusBarItem.d.ts.map +1 -1
  1174. package/lib/esm/appui-react/statusbar/StatusBarItem.js.map +1 -1
  1175. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.d.ts +5 -4
  1176. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.d.ts.map +1 -1
  1177. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.js.map +1 -1
  1178. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.d.ts +1 -1
  1179. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.d.ts.map +1 -1
  1180. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.js.map +1 -1
  1181. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.d.ts +2 -1
  1182. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.d.ts.map +1 -1
  1183. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.js.map +1 -1
  1184. package/lib/esm/appui-react/statusbar/dialog/Button.d.ts +1 -1
  1185. package/lib/esm/appui-react/statusbar/dialog/Button.d.ts.map +1 -1
  1186. package/lib/esm/appui-react/statusbar/dialog/Button.js.map +1 -1
  1187. package/lib/esm/appui-react/statusbar/dialog/Dialog.d.ts +1 -1
  1188. package/lib/esm/appui-react/statusbar/dialog/Dialog.d.ts.map +1 -1
  1189. package/lib/esm/appui-react/statusbar/dialog/Dialog.js.map +1 -1
  1190. package/lib/esm/appui-react/statusbar/dialog/TitleBar.d.ts +1 -1
  1191. package/lib/esm/appui-react/statusbar/dialog/TitleBar.d.ts.map +1 -1
  1192. package/lib/esm/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
  1193. package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.d.ts +2 -2
  1194. package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.d.ts.map +1 -1
  1195. package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.js.map +1 -1
  1196. package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts +2 -2
  1197. package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts.map +1 -1
  1198. package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.js.map +1 -1
  1199. package/lib/esm/appui-react/statusfields/ActivityCenter.d.ts +1 -1
  1200. package/lib/esm/appui-react/statusfields/ActivityCenter.d.ts.map +1 -1
  1201. package/lib/esm/appui-react/statusfields/ActivityCenter.js.map +1 -1
  1202. package/lib/esm/appui-react/statusfields/MessageCenter.d.ts +1 -1
  1203. package/lib/esm/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
  1204. package/lib/esm/appui-react/statusfields/MessageCenter.js.map +1 -1
  1205. package/lib/esm/appui-react/statusfields/SectionsField.d.ts +1 -1
  1206. package/lib/esm/appui-react/statusfields/SectionsField.d.ts.map +1 -1
  1207. package/lib/esm/appui-react/statusfields/SectionsField.js.map +1 -1
  1208. package/lib/esm/appui-react/statusfields/SelectionCount.d.ts +29 -0
  1209. package/lib/esm/appui-react/statusfields/SelectionCount.d.ts.map +1 -0
  1210. package/lib/esm/appui-react/statusfields/SelectionCount.js +46 -0
  1211. package/lib/esm/appui-react/statusfields/SelectionCount.js.map +1 -0
  1212. package/lib/esm/appui-react/statusfields/{SelectionInfo.scss → SelectionCount.scss} +5 -8
  1213. package/lib/esm/appui-react/statusfields/SelectionInfo.d.ts +6 -19
  1214. package/lib/esm/appui-react/statusfields/SelectionInfo.d.ts.map +1 -1
  1215. package/lib/esm/appui-react/statusfields/SelectionInfo.js +14 -32
  1216. package/lib/esm/appui-react/statusfields/SelectionInfo.js.map +1 -1
  1217. package/lib/esm/appui-react/statusfields/SelectionScope.d.ts +2 -2
  1218. package/lib/esm/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
  1219. package/lib/esm/appui-react/statusfields/SelectionScope.js.map +1 -1
  1220. package/lib/esm/appui-react/statusfields/SnapMode.d.ts +1 -1
  1221. package/lib/esm/appui-react/statusfields/SnapMode.d.ts.map +1 -1
  1222. package/lib/esm/appui-react/statusfields/SnapMode.js.map +1 -1
  1223. package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts +2 -2
  1224. package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts.map +1 -1
  1225. package/lib/esm/appui-react/statusfields/ViewAttributes.js.map +1 -1
  1226. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +1 -1
  1227. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts.map +1 -1
  1228. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.js.map +1 -1
  1229. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +2 -2
  1230. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
  1231. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js +1 -1
  1232. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
  1233. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts +2 -2
  1234. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
  1235. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
  1236. package/lib/esm/appui-react/theme/ThemeManager.d.ts.map +1 -1
  1237. package/lib/esm/appui-react/theme/ThemeManager.js +2 -1
  1238. package/lib/esm/appui-react/theme/ThemeManager.js.map +1 -1
  1239. package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.d.ts +3 -2
  1240. package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.d.ts.map +1 -1
  1241. package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.js.map +1 -1
  1242. package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.d.ts +3 -2
  1243. package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.d.ts.map +1 -1
  1244. package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.js.map +1 -1
  1245. package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.d.ts +1 -1
  1246. package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.d.ts.map +1 -1
  1247. package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.js.map +1 -1
  1248. package/lib/esm/appui-react/toolbar/GroupItem.d.ts +4 -4
  1249. package/lib/esm/appui-react/toolbar/GroupItem.d.ts.map +1 -1
  1250. package/lib/esm/appui-react/toolbar/GroupItem.js.map +1 -1
  1251. package/lib/esm/appui-react/toolbar/Toolbar.d.ts +4 -4
  1252. package/lib/esm/appui-react/toolbar/Toolbar.d.ts.map +1 -1
  1253. package/lib/esm/appui-react/toolbar/Toolbar.js.map +1 -1
  1254. package/lib/esm/appui-react/toolbar/ToolbarComposer.d.ts +2 -1
  1255. package/lib/esm/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
  1256. package/lib/esm/appui-react/toolbar/ToolbarComposer.js.map +1 -1
  1257. package/lib/esm/appui-react/toolbar/ToolbarHelper.d.ts +4 -4
  1258. package/lib/esm/appui-react/toolbar/ToolbarHelper.d.ts.map +1 -1
  1259. package/lib/esm/appui-react/toolbar/ToolbarHelper.js.map +1 -1
  1260. package/lib/esm/appui-react/toolbar/ToolbarItem.d.ts +2 -2
  1261. package/lib/esm/appui-react/toolbar/ToolbarItem.d.ts.map +1 -1
  1262. package/lib/esm/appui-react/toolbar/ToolbarItem.js.map +1 -1
  1263. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.d.ts +1 -1
  1264. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.d.ts.map +1 -1
  1265. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.js.map +1 -1
  1266. package/lib/esm/appui-react/toolbar/ToolbarItemsManager.d.ts +1 -1
  1267. package/lib/esm/appui-react/toolbar/ToolbarItemsManager.d.ts.map +1 -1
  1268. package/lib/esm/appui-react/toolbar/ToolbarItemsManager.js.map +1 -1
  1269. package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.d.ts +4 -4
  1270. package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.d.ts.map +1 -1
  1271. package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.js.map +1 -1
  1272. package/lib/esm/appui-react/toolbar/toUIAToolbarItem.d.ts +2 -2
  1273. package/lib/esm/appui-react/toolbar/toUIAToolbarItem.d.ts.map +1 -1
  1274. package/lib/esm/appui-react/toolbar/toUIAToolbarItem.js.map +1 -1
  1275. package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.d.ts +2 -2
  1276. package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.d.ts.map +1 -1
  1277. package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.js.map +1 -1
  1278. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts +2 -2
  1279. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts.map +1 -1
  1280. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
  1281. package/lib/esm/appui-react/tools/CoreToolDefinitions.js +14 -7
  1282. package/lib/esm/appui-react/tools/CoreToolDefinitions.js.map +1 -1
  1283. package/lib/esm/appui-react/tools/RestoreLayoutTool.js.map +1 -1
  1284. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts +4 -3
  1285. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -1
  1286. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js +2 -1
  1287. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
  1288. package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.d.ts +3 -2
  1289. package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.d.ts.map +1 -1
  1290. package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.js.map +1 -1
  1291. package/lib/esm/appui-react/toolsettings/ToolInformation.d.ts +1 -1
  1292. package/lib/esm/appui-react/toolsettings/ToolInformation.d.ts.map +1 -1
  1293. package/lib/esm/appui-react/toolsettings/ToolInformation.js.map +1 -1
  1294. package/lib/esm/appui-react/toolsettings/ToolUiProvider.d.ts +6 -5
  1295. package/lib/esm/appui-react/toolsettings/ToolUiProvider.d.ts.map +1 -1
  1296. package/lib/esm/appui-react/toolsettings/ToolUiProvider.js.map +1 -1
  1297. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.d.ts +7 -7
  1298. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.d.ts.map +1 -1
  1299. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.js +28 -17
  1300. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.js.map +1 -1
  1301. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts +6 -6
  1302. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts.map +1 -1
  1303. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.js.map +1 -1
  1304. package/lib/esm/appui-react/ui-items-provider/ProviderItem.d.ts +1 -1
  1305. package/lib/esm/appui-react/ui-items-provider/ProviderItem.js.map +1 -1
  1306. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts +3 -3
  1307. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts.map +1 -1
  1308. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
  1309. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts +4 -3
  1310. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts.map +1 -1
  1311. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +10 -8
  1312. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
  1313. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts +2 -2
  1314. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts.map +1 -1
  1315. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
  1316. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts +3 -2
  1317. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts.map +1 -1
  1318. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js.map +1 -1
  1319. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts +2 -2
  1320. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts.map +1 -1
  1321. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
  1322. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts +2 -2
  1323. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts.map +1 -1
  1324. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +3 -2
  1325. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
  1326. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.d.ts +14 -13
  1327. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.d.ts.map +1 -1
  1328. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js +15 -9
  1329. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
  1330. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.d.ts +6 -6
  1331. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.d.ts.map +1 -1
  1332. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.js.map +1 -1
  1333. package/lib/esm/appui-react/ui-items-provider/isProviderItem.d.ts +1 -1
  1334. package/lib/esm/appui-react/ui-items-provider/isProviderItem.d.ts.map +1 -1
  1335. package/lib/esm/appui-react/ui-items-provider/isProviderItem.js.map +1 -1
  1336. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.d.ts +3 -2
  1337. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.d.ts.map +1 -1
  1338. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js +1 -1
  1339. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
  1340. package/lib/esm/appui-react/uiprovider/ComponentGenerator.d.ts +3 -2
  1341. package/lib/esm/appui-react/uiprovider/ComponentGenerator.d.ts.map +1 -1
  1342. package/lib/esm/appui-react/uiprovider/ComponentGenerator.js +1 -1
  1343. package/lib/esm/appui-react/uiprovider/ComponentGenerator.js.map +1 -1
  1344. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.d.ts +1 -1
  1345. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
  1346. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.js.map +1 -1
  1347. package/lib/esm/appui-react/uistate/AppUiSettings.d.ts +3 -2
  1348. package/lib/esm/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
  1349. package/lib/esm/appui-react/uistate/AppUiSettings.js.map +1 -1
  1350. package/lib/esm/appui-react/uistate/useUiStateStorage.d.ts +1 -1
  1351. package/lib/esm/appui-react/uistate/useUiStateStorage.d.ts.map +1 -1
  1352. package/lib/esm/appui-react/uistate/useUiStateStorage.js.map +1 -1
  1353. package/lib/esm/appui-react/utils/InternalUiShowHideManager.d.ts +2 -2
  1354. package/lib/esm/appui-react/utils/InternalUiShowHideManager.d.ts.map +1 -1
  1355. package/lib/esm/appui-react/utils/InternalUiShowHideManager.js +3 -3
  1356. package/lib/esm/appui-react/utils/InternalUiShowHideManager.js.map +1 -1
  1357. package/lib/esm/appui-react/utils/PropsHelper.d.ts +3 -2
  1358. package/lib/esm/appui-react/utils/PropsHelper.d.ts.map +1 -1
  1359. package/lib/esm/appui-react/utils/PropsHelper.js +2 -1
  1360. package/lib/esm/appui-react/utils/PropsHelper.js.map +1 -1
  1361. package/lib/esm/appui-react/utils/ViewUtilities.d.ts +1 -1
  1362. package/lib/esm/appui-react/utils/ViewUtilities.d.ts.map +1 -1
  1363. package/lib/esm/appui-react/utils/ViewUtilities.js +0 -1
  1364. package/lib/esm/appui-react/utils/ViewUtilities.js.map +1 -1
  1365. package/lib/esm/appui-react/widget-panels/Content.d.ts +1 -1
  1366. package/lib/esm/appui-react/widget-panels/Content.d.ts.map +1 -1
  1367. package/lib/esm/appui-react/widget-panels/Content.js +18 -7
  1368. package/lib/esm/appui-react/widget-panels/Content.js.map +1 -1
  1369. package/lib/esm/appui-react/widget-panels/Frontstage.d.ts +5 -4
  1370. package/lib/esm/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
  1371. package/lib/esm/appui-react/widget-panels/Frontstage.js +39 -30
  1372. package/lib/esm/appui-react/widget-panels/Frontstage.js.map +1 -1
  1373. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.d.ts +1 -1
  1374. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.d.ts.map +1 -1
  1375. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.js.map +1 -1
  1376. package/lib/esm/appui-react/widget-panels/StatusBar.d.ts +1 -1
  1377. package/lib/esm/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
  1378. package/lib/esm/appui-react/widget-panels/StatusBar.js +1 -1
  1379. package/lib/esm/appui-react/widget-panels/StatusBar.js.map +1 -1
  1380. package/lib/esm/appui-react/widget-panels/Tab.js +1 -1
  1381. package/lib/esm/appui-react/widget-panels/Tab.js.map +1 -1
  1382. package/lib/esm/appui-react/widget-panels/ToolSettings.js +17 -9
  1383. package/lib/esm/appui-react/widget-panels/ToolSettings.js.map +1 -1
  1384. package/lib/esm/appui-react/widget-panels/Toolbars.js +3 -2
  1385. package/lib/esm/appui-react/widget-panels/Toolbars.js.map +1 -1
  1386. package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts +1 -1
  1387. package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
  1388. package/lib/esm/appui-react/widgets/BackstageAppButton.js.map +1 -1
  1389. package/lib/esm/appui-react/widgets/BasicNavigationWidget.d.ts +1 -1
  1390. package/lib/esm/appui-react/widgets/BasicNavigationWidget.d.ts.map +1 -1
  1391. package/lib/esm/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
  1392. package/lib/esm/appui-react/widgets/BasicToolWidget.d.ts +1 -1
  1393. package/lib/esm/appui-react/widgets/BasicToolWidget.d.ts.map +1 -1
  1394. package/lib/esm/appui-react/widgets/BasicToolWidget.js.map +1 -1
  1395. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.d.ts +1 -1
  1396. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
  1397. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js +2 -2
  1398. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
  1399. package/lib/esm/appui-react/widgets/StableWidgetDef.d.ts +1 -1
  1400. package/lib/esm/appui-react/widgets/StableWidgetDef.d.ts.map +1 -1
  1401. package/lib/esm/appui-react/widgets/StableWidgetDef.js.map +1 -1
  1402. package/lib/esm/appui-react/widgets/ToolWidgetComposer.d.ts +1 -1
  1403. package/lib/esm/appui-react/widgets/ToolWidgetComposer.d.ts.map +1 -1
  1404. package/lib/esm/appui-react/widgets/ToolWidgetComposer.js.map +1 -1
  1405. package/lib/esm/appui-react/widgets/Widget.d.ts +4 -4
  1406. package/lib/esm/appui-react/widgets/Widget.d.ts.map +1 -1
  1407. package/lib/esm/appui-react/widgets/Widget.js.map +1 -1
  1408. package/lib/esm/appui-react/widgets/WidgetConfig.d.ts +1 -1
  1409. package/lib/esm/appui-react/widgets/WidgetConfig.d.ts.map +1 -1
  1410. package/lib/esm/appui-react/widgets/WidgetConfig.js.map +1 -1
  1411. package/lib/esm/appui-react/widgets/WidgetControl.d.ts +5 -4
  1412. package/lib/esm/appui-react/widgets/WidgetControl.d.ts.map +1 -1
  1413. package/lib/esm/appui-react/widgets/WidgetControl.js.map +1 -1
  1414. package/lib/esm/appui-react/widgets/WidgetDef.d.ts +10 -8
  1415. package/lib/esm/appui-react/widgets/WidgetDef.d.ts.map +1 -1
  1416. package/lib/esm/appui-react/widgets/WidgetDef.js +1 -1
  1417. package/lib/esm/appui-react/widgets/WidgetDef.js.map +1 -1
  1418. package/lib/esm/appui-react/widgets/WidgetHost.d.ts +3 -3
  1419. package/lib/esm/appui-react/widgets/WidgetHost.d.ts.map +1 -1
  1420. package/lib/esm/appui-react/widgets/WidgetHost.js +3 -2
  1421. package/lib/esm/appui-react/widgets/WidgetHost.js.map +1 -1
  1422. package/lib/esm/appui-react.d.ts +1 -0
  1423. package/lib/esm/appui-react.d.ts.map +1 -1
  1424. package/lib/esm/appui-react.js +1 -0
  1425. package/lib/esm/appui-react.js.map +1 -1
  1426. package/lib/public/locales/en/UiFramework.json +4 -1
  1427. package/package.json +22 -23
@@ -1 +1 @@
1
- {"version":3,"file":"QuantityFormat.js","sourceRoot":"","sources":["../../../../../src/appui-react/settings/quantityformatting/QuantityFormat.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;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;QAClC,aAAa,IAAI,aAAa,CAAC,iBAAiB,CAAC,CAAC;IACpD,CAAC,EAAE,CAAC,aAAa,EAAE,iBAAiB,CAAC,CAAC,CAAC;IAEvC,MAAM,QAAQ,GAAG,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE;QACtC,SAAS,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,EAAE,WAAW,CAAC,CAAC,CAAC,8DAA8D;QACxI,WAAW,EAAE,CAAC;IAChB,CAAC,EAAE,CAAC,WAAW,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC,CAAC;IAE7C,MAAM,YAAY,GAAG,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE;QAC1C,WAAW,EAAE,CAAC;IAChB,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;IAElB,OAAO,CACL,oBAAC,MAAM,IACL,KAAK,EAAE,qBAAqB,EAC5B,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,KAAK,EAChB,OAAO,EAAE,KAAK,EACd,KAAK,EAAE,IAAI,EACX,aAAa,EAAE;YACb,EAAE,IAAI,EAAE,gBAAgB,CAAC,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE;YACjD,EAAE,IAAI,EAAE,gBAAgB,CAAC,EAAE,EAAE,OAAO,EAAE,YAAY,EAAE;SACrD,EACD,QAAQ,EAAE,YAAY,EACtB,OAAO,EAAE,YAAY,EACrB,cAAc,EAAE,YAAY,EAC5B,SAAS,EAAE,GAAG,EACd,SAAS,EAAE,GAAG,EACd,QAAQ,EAAE,GAAG,EACb,QAAQ,EAAE,GAAG;QAEb,6BAAK,SAAS,EAAC,eAAe,6EAExB,CACE,CACX,CAAC;AACJ,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Settings\r\n */\r\n\r\nimport \"./QuantityFormat.scss\";\r\nimport * as React from \"react\";\r\nimport { DeepCompare } from \"@itwin/core-geometry\";\r\nimport {\r\n getQuantityTypeKey, IModelApp, QuantityFormatsChangedArgs, QuantityType, QuantityTypeArg, QuantityTypeKey,\r\n} from \"@itwin/core-frontend\";\r\nimport { FormatProps, FormatterSpec, UnitSystemKey } from \"@itwin/core-quantity\";\r\nimport { DialogButtonType } from \"@itwin/appui-abstract\";\r\nimport { FormatSample, QuantityFormatPanel } from \"@itwin/imodel-components-react\";\r\nimport {\r\n Dialog, Listbox, ListboxItem, SettingsTabEntry,\r\n useSaveBeforeActivatingNewSettingsTab, useSaveBeforeClosingSettingsContainer,\r\n} from \"@itwin/core-react\";\r\nimport { UiFramework } from \"../../UiFramework\";\r\nimport { UnitSystemSelector } from \"./UnitSystemSelector\";\r\nimport { Button } from \"@itwin/itwinui-react\";\r\nimport { SvgMeasure } from \"@itwin/itwinui-icons-react\";\r\n\r\nfunction formatAreEqual(obj1: FormatProps, obj2: FormatProps) {\r\n const compare = new DeepCompare();\r\n return compare.compare(obj1, obj2);\r\n}\r\n\r\n/** Options to initialize the settings page that allows users to set Quantity formatting overrides.\r\n * @beta\r\n */\r\nexport interface QuantityFormatterSettingsOptions {\r\n initialQuantityType: QuantityTypeArg;\r\n availableUnitSystems: Set<UnitSystemKey>;\r\n}\r\n\r\n/**\r\n * Return a SettingsTabEntry that can be used to define the available settings that can be set for an application.\r\n * @param itemPriority - Used to define the order of the entry in the Settings Stage\r\n * @param opts - Options to initialize the settings page that allows users to set Quantity formatting overrides.\r\n * @beta\r\n */\r\nexport function getQuantityFormatsSettingsManagerEntry(itemPriority: number, opts?: Partial<QuantityFormatterSettingsOptions>): SettingsTabEntry {\r\n const { availableUnitSystems, initialQuantityType } = { ...opts };\r\n return {\r\n itemPriority, tabId: \"uifw:Quantity\",\r\n label: UiFramework.translate(\"settings.quantity-formatting.label\"),\r\n subLabel: UiFramework.translate(\"settings.quantity-formatting.subLabel\"),\r\n page: <QuantityFormatSettingsPage initialQuantityType={initialQuantityType ?? QuantityType.Length}\r\n availableUnitSystems={availableUnitSystems ?? new Set([\"metric\", \"imperial\", \"usCustomary\", \"usSurvey\"])} />,\r\n isDisabled: false,\r\n icon: <SvgMeasure />,\r\n tooltip: UiFramework.translate(\"settings.quantity-formatting.tooltip\"),\r\n pageWillHandleCloseRequest: true,\r\n };\r\n}\r\n\r\n/** UI Component shown in settings page to set the active Presentation Unit System and to set format overrides.\r\n * @beta\r\n */\r\nexport function QuantityFormatSettingsPage({ initialQuantityType, availableUnitSystems }: QuantityFormatterSettingsOptions) {\r\n const [activeUnitSystemKey, setActiveUnitSystemKey] = React.useState(IModelApp.quantityFormatter.activeUnitSystem);\r\n const [activeQuantityType, setActiveQuantityType] = React.useState(getQuantityTypeKey(initialQuantityType));\r\n const [activeFormatterSpec, setActiveFormatterSpec] = React.useState<FormatterSpec | undefined>(IModelApp.quantityFormatter.findFormatterSpecByQuantityType(getQuantityTypeKey(activeQuantityType)));\r\n const [saveEnabled, setSaveEnabled] = React.useState(false);\r\n const [clearEnabled, setClearEnabled] = React.useState(IModelApp.quantityFormatter.hasActiveOverride(initialQuantityType, true));\r\n const newQuantityTypeRef = React.useRef<QuantityTypeKey>();\r\n const formatSectionLabel = React.useRef(UiFramework.translate(\"settings.quantity-formatting.formatSectionLabel\"));\r\n const setButtonLabel = React.useRef(UiFramework.translate(\"settings.quantity-formatting.setButtonLabel\"));\r\n const clearButtonLabel = React.useRef(UiFramework.translate(\"settings.quantity-formatting.clearButtonLabel\"));\r\n\r\n React.useEffect(() => {\r\n const handleUnitSystemChanged = ((): void => {\r\n // istanbul ignore else\r\n if (activeUnitSystemKey !== IModelApp.quantityFormatter.activeUnitSystem) {\r\n setActiveUnitSystemKey(IModelApp.quantityFormatter.activeUnitSystem);\r\n setActiveFormatterSpec(IModelApp.quantityFormatter.findFormatterSpecByQuantityType(activeQuantityType));\r\n setSaveEnabled(false);\r\n setClearEnabled(IModelApp.quantityFormatter.hasActiveOverride(activeQuantityType, true));\r\n }\r\n });\r\n\r\n IModelApp.quantityFormatter.onActiveFormattingUnitSystemChanged.addListener(handleUnitSystemChanged);\r\n return () => {\r\n IModelApp.quantityFormatter.onActiveFormattingUnitSystemChanged.removeListener(handleUnitSystemChanged);\r\n };\r\n }, [activeQuantityType, activeUnitSystemKey]);\r\n\r\n React.useEffect(() => {\r\n const handleFormatChanged = ((args: QuantityFormatsChangedArgs): void => {\r\n if (!newQuantityTypeRef.current) {\r\n const quantityKey = IModelApp.quantityFormatter.getQuantityTypeKey(activeQuantityType);\r\n // istanbul ignore else\r\n if (args.quantityType === quantityKey) {\r\n setActiveFormatterSpec(IModelApp.quantityFormatter.findFormatterSpecByQuantityType(activeQuantityType));\r\n setSaveEnabled(false);\r\n setClearEnabled(IModelApp.quantityFormatter.hasActiveOverride(activeQuantityType, true));\r\n }\r\n }\r\n newQuantityTypeRef.current = undefined;\r\n });\r\n IModelApp.quantityFormatter.onQuantityFormatsChanged.addListener(handleFormatChanged);\r\n return () => {\r\n IModelApp.quantityFormatter.onQuantityFormatsChanged.removeListener(handleFormatChanged);\r\n };\r\n }, [activeQuantityType]);\r\n\r\n const saveChanges = React.useCallback((afterSaveFunction: (args: any) => void, args?: any) => {\r\n // istanbul ignore else\r\n if (activeFormatterSpec) {\r\n const formatProps = activeFormatterSpec.format.toJSON();\r\n const formatPropsInUse = IModelApp.quantityFormatter.findFormatterSpecByQuantityType(activeQuantityType)!.format.toJSON();\r\n if (formatPropsInUse && !formatAreEqual(formatProps, formatPropsInUse)) {\r\n UiFramework.dialogs.modal.open(<SaveFormatModalDialog formatProps={formatProps} quantityType={activeQuantityType} onDialogCloseArgs={args} onDialogClose={afterSaveFunction} />, \"saveQuantityFormat\");\r\n return;\r\n }\r\n }\r\n afterSaveFunction(args);\r\n }, [activeFormatterSpec, activeQuantityType]);\r\n\r\n useSaveBeforeActivatingNewSettingsTab(UiFramework.settingsManager, saveChanges);\r\n useSaveBeforeClosingSettingsContainer(UiFramework.settingsManager, saveChanges);\r\n\r\n const processListboxValueChange = React.useCallback((newQuantityType: QuantityTypeKey) => {\r\n const volumeFormatterSpec = IModelApp.quantityFormatter.findFormatterSpecByQuantityType(newQuantityType);\r\n setActiveFormatterSpec(volumeFormatterSpec);\r\n setActiveQuantityType(newQuantityType);\r\n setSaveEnabled(false);\r\n setClearEnabled(IModelApp.quantityFormatter.hasActiveOverride(newQuantityType, true));\r\n }, []);\r\n\r\n const onListboxValueChange = React.useCallback((newQuantityType: string) => {\r\n // istanbul ignore else\r\n if (activeFormatterSpec) {\r\n const formatProps = activeFormatterSpec.format.toJSON();\r\n const formatPropsInUse = IModelApp.quantityFormatter.findFormatterSpecByQuantityType(activeQuantityType)!.format.toJSON();\r\n if (formatPropsInUse && !formatAreEqual(formatProps, formatPropsInUse)) {\r\n newQuantityTypeRef.current = newQuantityType;\r\n UiFramework.dialogs.modal.open(<SaveFormatModalDialog formatProps={formatProps} quantityType={activeQuantityType} onDialogCloseArgs={newQuantityType} onDialogClose={processListboxValueChange} />, \"saveQuantityFormat\");\r\n return;\r\n }\r\n }\r\n processListboxValueChange(newQuantityType);\r\n }, [activeFormatterSpec, activeQuantityType, processListboxValueChange]);\r\n\r\n const handleOnFormatChanged = React.useCallback(async (formatProps: FormatProps) => {\r\n // istanbul ignore else\r\n if (activeFormatterSpec) {\r\n const newSpec = await IModelApp.quantityFormatter.generateFormatterSpecByType(activeQuantityType, formatProps);\r\n const formatPropsInUse = IModelApp.quantityFormatter.getFormatPropsByQuantityType(activeQuantityType);\r\n // istanbul ignore else\r\n if (formatPropsInUse)\r\n setSaveEnabled(!formatAreEqual(formatProps, formatPropsInUse));\r\n setActiveFormatterSpec(newSpec);\r\n }\r\n }, [activeFormatterSpec, activeQuantityType]);\r\n\r\n const handleOnFormatSave = React.useCallback(async () => {\r\n // istanbul ignore else\r\n if (activeFormatterSpec) {\r\n const format = activeFormatterSpec.format.toJSON();\r\n await IModelApp.quantityFormatter.setOverrideFormat(activeQuantityType, format);\r\n setClearEnabled(true);\r\n }\r\n }, [activeFormatterSpec, activeQuantityType]);\r\n\r\n const handleOnFormatReset = React.useCallback(async () => {\r\n await IModelApp.quantityFormatter.clearOverrideFormats(activeQuantityType);\r\n setClearEnabled(false);\r\n }, [activeQuantityType]);\r\n\r\n const processNewUnitSystem = React.useCallback(async (unitSystem: UnitSystemKey) => {\r\n await IModelApp.quantityFormatter.setActiveUnitSystem(unitSystem);\r\n }, []);\r\n\r\n const handleUnitSystemSelected = React.useCallback(async (unitSystem: UnitSystemKey) => {\r\n if (unitSystem === activeUnitSystemKey)\r\n return;\r\n saveChanges(processNewUnitSystem, unitSystem);\r\n }, [activeUnitSystemKey, processNewUnitSystem, saveChanges]);\r\n\r\n return (\r\n <div className=\"quantity-formatting-container\">\r\n <UnitSystemSelector selectedUnitSystemKey={activeUnitSystemKey} availableUnitSystems={availableUnitSystems} onUnitSystemSelected={handleUnitSystemSelected} />\r\n <span className=\"uifw-quantity-format-section-label\">{formatSectionLabel.current}</span>\r\n <div className=\"uifw-quantity-types-container\">\r\n <div className=\"left-panel\">\r\n <Listbox id=\"uifw-quantity-types-list\" className=\"uifw-quantity-types\"\r\n onListboxValueChange={onListboxValueChange} selectedValue={activeQuantityType} >\r\n {\r\n [...IModelApp.quantityFormatter.quantityTypesRegistry.keys()].map((key) => {\r\n const entry = IModelApp.quantityFormatter.quantityTypesRegistry.get(key)!;\r\n const description = entry.description;\r\n const label = entry.label;\r\n return (\r\n <ListboxItem key={entry.key} className=\"quantity-type-list-entry\" value={entry.key}>\r\n <span className=\"map-source-list-entry-name\" title={description}>{label}</span>\r\n </ListboxItem>\r\n );\r\n })\r\n }\r\n </Listbox>\r\n </div>\r\n <div className=\"right-panel\">\r\n {activeFormatterSpec &&\r\n <>\r\n <div className=\"uifw-quantity-types-right-top\">\r\n <div className=\"uifw-quantity-types-right-top-sample\">\r\n <FormatSample formatSpec={activeFormatterSpec} initialMagnitude={1234.56} hideLabels />\r\n </div>\r\n </div>\r\n <div className=\"uifw-quantity-types-formats\">\r\n <QuantityFormatPanel onFormatChange={handleOnFormatChanged} quantityType={activeQuantityType} />\r\n </div>\r\n <div className=\"components-button-panel\">\r\n <Button styleType=\"cta\" onClick={handleOnFormatSave} disabled={!saveEnabled}>{setButtonLabel.current}</Button>\r\n <Button styleType=\"default\" onClick={handleOnFormatReset} disabled={!clearEnabled}>{clearButtonLabel.current}</Button>\r\n </div>\r\n </>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n );\r\n}\r\n\r\nfunction SaveFormatModalDialog({ formatProps, quantityType, onDialogCloseArgs, onDialogClose }: { formatProps: FormatProps, quantityType: QuantityTypeKey, onDialogCloseArgs?: any, onDialogClose: (args?: any) => void }) {\r\n const [isOpen, setIsOpen] = React.useState(true);\r\n\r\n const handleClose = React.useCallback(() => {\r\n setIsOpen(false);\r\n UiFramework.dialogs.modal.close();\r\n onDialogClose && onDialogClose(onDialogCloseArgs);\r\n }, [onDialogClose, onDialogCloseArgs]);\r\n\r\n const handleOK = React.useCallback(() => {\r\n IModelApp.quantityFormatter.setOverrideFormat(quantityType, formatProps); // eslint-disable-line @typescript-eslint/no-floating-promises\r\n handleClose();\r\n }, [formatProps, handleClose, quantityType]);\r\n\r\n const handleCancel = React.useCallback(() => {\r\n handleClose();\r\n }, [handleClose]);\r\n\r\n return (\r\n <Dialog\r\n title={\"Save Format Changes\"}\r\n opened={isOpen}\r\n resizable={false}\r\n movable={false}\r\n modal={true}\r\n buttonCluster={[\r\n { type: DialogButtonType.Yes, onClick: handleOK },\r\n { type: DialogButtonType.No, onClick: handleCancel },\r\n ]}\r\n onEscape={handleCancel}\r\n onClose={handleCancel}\r\n onOutsideClick={handleCancel}\r\n minHeight={150}\r\n maxHeight={400}\r\n maxWidth={400}\r\n minWidth={200}\r\n >\r\n <div className=\"modal-dialog2\">\r\n Do you want to save changes to format before changing to another type?\r\n </div>\r\n </Dialog >\r\n );\r\n}\r\n"]}
1
+ {"version":3,"file":"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","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Settings\r\n */\r\n\r\nimport \"./QuantityFormat.scss\";\r\nimport * as React from \"react\";\r\nimport { DeepCompare } from \"@itwin/core-geometry\";\r\nimport type { QuantityFormatsChangedArgs, QuantityTypeArg, QuantityTypeKey} from \"@itwin/core-frontend\";\r\nimport {\r\n getQuantityTypeKey, IModelApp, QuantityType,\r\n} from \"@itwin/core-frontend\";\r\nimport type { FormatProps, FormatterSpec, UnitSystemKey } from \"@itwin/core-quantity\";\r\nimport { DialogButtonType } from \"@itwin/appui-abstract\";\r\nimport { FormatSample, QuantityFormatPanel } from \"@itwin/imodel-components-react\";\r\nimport type { SettingsTabEntry} from \"@itwin/core-react\";\r\nimport {\r\n Dialog, Listbox, ListboxItem,\r\n useSaveBeforeActivatingNewSettingsTab, useSaveBeforeClosingSettingsContainer,\r\n} from \"@itwin/core-react\";\r\nimport { UiFramework } from \"../../UiFramework\";\r\nimport { UnitSystemSelector } from \"./UnitSystemSelector\";\r\nimport { Button } from \"@itwin/itwinui-react\";\r\nimport { SvgMeasure } from \"@itwin/itwinui-icons-react\";\r\n\r\nfunction formatAreEqual(obj1: FormatProps, obj2: FormatProps) {\r\n const compare = new DeepCompare();\r\n return compare.compare(obj1, obj2);\r\n}\r\n\r\n/** Options to initialize the settings page that allows users to set Quantity formatting overrides.\r\n * @beta\r\n */\r\nexport interface QuantityFormatterSettingsOptions {\r\n initialQuantityType: QuantityTypeArg;\r\n availableUnitSystems: Set<UnitSystemKey>;\r\n}\r\n\r\n/**\r\n * Return a SettingsTabEntry that can be used to define the available settings that can be set for an application.\r\n * @param itemPriority - Used to define the order of the entry in the Settings Stage\r\n * @param opts - Options to initialize the settings page that allows users to set Quantity formatting overrides.\r\n * @beta\r\n */\r\nexport function getQuantityFormatsSettingsManagerEntry(itemPriority: number, opts?: Partial<QuantityFormatterSettingsOptions>): SettingsTabEntry {\r\n const { availableUnitSystems, initialQuantityType } = { ...opts };\r\n return {\r\n itemPriority, tabId: \"uifw:Quantity\",\r\n label: UiFramework.translate(\"settings.quantity-formatting.label\"),\r\n subLabel: UiFramework.translate(\"settings.quantity-formatting.subLabel\"),\r\n page: <QuantityFormatSettingsPage initialQuantityType={initialQuantityType ?? QuantityType.Length}\r\n availableUnitSystems={availableUnitSystems ?? new Set([\"metric\", \"imperial\", \"usCustomary\", \"usSurvey\"])} />,\r\n isDisabled: false,\r\n icon: <SvgMeasure />,\r\n tooltip: UiFramework.translate(\"settings.quantity-formatting.tooltip\"),\r\n pageWillHandleCloseRequest: true,\r\n };\r\n}\r\n\r\n/** UI Component shown in settings page to set the active Presentation Unit System and to set format overrides.\r\n * @beta\r\n */\r\nexport function QuantityFormatSettingsPage({ initialQuantityType, availableUnitSystems }: QuantityFormatterSettingsOptions) {\r\n const [activeUnitSystemKey, setActiveUnitSystemKey] = React.useState(IModelApp.quantityFormatter.activeUnitSystem);\r\n const [activeQuantityType, setActiveQuantityType] = React.useState(getQuantityTypeKey(initialQuantityType));\r\n const [activeFormatterSpec, setActiveFormatterSpec] = React.useState<FormatterSpec | undefined>(IModelApp.quantityFormatter.findFormatterSpecByQuantityType(getQuantityTypeKey(activeQuantityType)));\r\n const [saveEnabled, setSaveEnabled] = React.useState(false);\r\n const [clearEnabled, setClearEnabled] = React.useState(IModelApp.quantityFormatter.hasActiveOverride(initialQuantityType, true));\r\n const newQuantityTypeRef = React.useRef<QuantityTypeKey>();\r\n const formatSectionLabel = React.useRef(UiFramework.translate(\"settings.quantity-formatting.formatSectionLabel\"));\r\n const setButtonLabel = React.useRef(UiFramework.translate(\"settings.quantity-formatting.setButtonLabel\"));\r\n const clearButtonLabel = React.useRef(UiFramework.translate(\"settings.quantity-formatting.clearButtonLabel\"));\r\n\r\n React.useEffect(() => {\r\n const handleUnitSystemChanged = ((): void => {\r\n // istanbul ignore else\r\n if (activeUnitSystemKey !== IModelApp.quantityFormatter.activeUnitSystem) {\r\n setActiveUnitSystemKey(IModelApp.quantityFormatter.activeUnitSystem);\r\n setActiveFormatterSpec(IModelApp.quantityFormatter.findFormatterSpecByQuantityType(activeQuantityType));\r\n setSaveEnabled(false);\r\n setClearEnabled(IModelApp.quantityFormatter.hasActiveOverride(activeQuantityType, true));\r\n }\r\n });\r\n\r\n IModelApp.quantityFormatter.onActiveFormattingUnitSystemChanged.addListener(handleUnitSystemChanged);\r\n return () => {\r\n IModelApp.quantityFormatter.onActiveFormattingUnitSystemChanged.removeListener(handleUnitSystemChanged);\r\n };\r\n }, [activeQuantityType, activeUnitSystemKey]);\r\n\r\n React.useEffect(() => {\r\n const handleFormatChanged = ((args: QuantityFormatsChangedArgs): void => {\r\n if (!newQuantityTypeRef.current) {\r\n const quantityKey = IModelApp.quantityFormatter.getQuantityTypeKey(activeQuantityType);\r\n // istanbul ignore else\r\n if (args.quantityType === quantityKey) {\r\n setActiveFormatterSpec(IModelApp.quantityFormatter.findFormatterSpecByQuantityType(activeQuantityType));\r\n setSaveEnabled(false);\r\n setClearEnabled(IModelApp.quantityFormatter.hasActiveOverride(activeQuantityType, true));\r\n }\r\n }\r\n newQuantityTypeRef.current = undefined;\r\n });\r\n IModelApp.quantityFormatter.onQuantityFormatsChanged.addListener(handleFormatChanged);\r\n return () => {\r\n IModelApp.quantityFormatter.onQuantityFormatsChanged.removeListener(handleFormatChanged);\r\n };\r\n }, [activeQuantityType]);\r\n\r\n const saveChanges = React.useCallback((afterSaveFunction: (args: any) => void, args?: any) => {\r\n // istanbul ignore else\r\n if (activeFormatterSpec) {\r\n const formatProps = activeFormatterSpec.format.toJSON();\r\n const formatPropsInUse = IModelApp.quantityFormatter.findFormatterSpecByQuantityType(activeQuantityType)!.format.toJSON();\r\n if (formatPropsInUse && !formatAreEqual(formatProps, formatPropsInUse)) {\r\n UiFramework.dialogs.modal.open(<SaveFormatModalDialog formatProps={formatProps} quantityType={activeQuantityType} onDialogCloseArgs={args} onDialogClose={afterSaveFunction} />, \"saveQuantityFormat\");\r\n return;\r\n }\r\n }\r\n afterSaveFunction(args);\r\n }, [activeFormatterSpec, activeQuantityType]);\r\n\r\n useSaveBeforeActivatingNewSettingsTab(UiFramework.settingsManager, saveChanges);\r\n useSaveBeforeClosingSettingsContainer(UiFramework.settingsManager, saveChanges);\r\n\r\n const processListboxValueChange = React.useCallback((newQuantityType: QuantityTypeKey) => {\r\n const volumeFormatterSpec = IModelApp.quantityFormatter.findFormatterSpecByQuantityType(newQuantityType);\r\n setActiveFormatterSpec(volumeFormatterSpec);\r\n setActiveQuantityType(newQuantityType);\r\n setSaveEnabled(false);\r\n setClearEnabled(IModelApp.quantityFormatter.hasActiveOverride(newQuantityType, true));\r\n }, []);\r\n\r\n const onListboxValueChange = React.useCallback((newQuantityType: string) => {\r\n // istanbul ignore else\r\n if (activeFormatterSpec) {\r\n const formatProps = activeFormatterSpec.format.toJSON();\r\n const formatPropsInUse = IModelApp.quantityFormatter.findFormatterSpecByQuantityType(activeQuantityType)!.format.toJSON();\r\n if (formatPropsInUse && !formatAreEqual(formatProps, formatPropsInUse)) {\r\n newQuantityTypeRef.current = newQuantityType;\r\n UiFramework.dialogs.modal.open(<SaveFormatModalDialog formatProps={formatProps} quantityType={activeQuantityType} onDialogCloseArgs={newQuantityType} onDialogClose={processListboxValueChange} />, \"saveQuantityFormat\");\r\n return;\r\n }\r\n }\r\n processListboxValueChange(newQuantityType);\r\n }, [activeFormatterSpec, activeQuantityType, processListboxValueChange]);\r\n\r\n const handleOnFormatChanged = React.useCallback(async (formatProps: FormatProps) => {\r\n // istanbul ignore else\r\n if (activeFormatterSpec) {\r\n const newSpec = await IModelApp.quantityFormatter.generateFormatterSpecByType(activeQuantityType, formatProps);\r\n const formatPropsInUse = IModelApp.quantityFormatter.getFormatPropsByQuantityType(activeQuantityType);\r\n // istanbul ignore else\r\n if (formatPropsInUse)\r\n setSaveEnabled(!formatAreEqual(formatProps, formatPropsInUse));\r\n setActiveFormatterSpec(newSpec);\r\n }\r\n }, [activeFormatterSpec, activeQuantityType]);\r\n\r\n const handleOnFormatSave = React.useCallback(async () => {\r\n // istanbul ignore else\r\n if (activeFormatterSpec) {\r\n const format = activeFormatterSpec.format.toJSON();\r\n await IModelApp.quantityFormatter.setOverrideFormat(activeQuantityType, format);\r\n setClearEnabled(true);\r\n }\r\n }, [activeFormatterSpec, activeQuantityType]);\r\n\r\n const handleOnFormatReset = React.useCallback(async () => {\r\n await IModelApp.quantityFormatter.clearOverrideFormats(activeQuantityType);\r\n setClearEnabled(false);\r\n }, [activeQuantityType]);\r\n\r\n const processNewUnitSystem = React.useCallback(async (unitSystem: UnitSystemKey) => {\r\n await IModelApp.quantityFormatter.setActiveUnitSystem(unitSystem);\r\n }, []);\r\n\r\n const handleUnitSystemSelected = React.useCallback(async (unitSystem: UnitSystemKey) => {\r\n if (unitSystem === activeUnitSystemKey)\r\n return;\r\n saveChanges(processNewUnitSystem, unitSystem);\r\n }, [activeUnitSystemKey, processNewUnitSystem, saveChanges]);\r\n\r\n return (\r\n <div className=\"quantity-formatting-container\">\r\n <UnitSystemSelector selectedUnitSystemKey={activeUnitSystemKey} availableUnitSystems={availableUnitSystems} onUnitSystemSelected={handleUnitSystemSelected} />\r\n <span className=\"uifw-quantity-format-section-label\">{formatSectionLabel.current}</span>\r\n <div className=\"uifw-quantity-types-container\">\r\n <div className=\"left-panel\">\r\n <Listbox id=\"uifw-quantity-types-list\" className=\"uifw-quantity-types\"\r\n onListboxValueChange={onListboxValueChange} selectedValue={activeQuantityType} >\r\n {\r\n [...IModelApp.quantityFormatter.quantityTypesRegistry.keys()].map((key) => {\r\n const entry = IModelApp.quantityFormatter.quantityTypesRegistry.get(key)!;\r\n const description = entry.description;\r\n const label = entry.label;\r\n return (\r\n <ListboxItem key={entry.key} className=\"quantity-type-list-entry\" value={entry.key}>\r\n <span className=\"map-source-list-entry-name\" title={description}>{label}</span>\r\n </ListboxItem>\r\n );\r\n })\r\n }\r\n </Listbox>\r\n </div>\r\n <div className=\"right-panel\">\r\n {activeFormatterSpec &&\r\n <>\r\n <div className=\"uifw-quantity-types-right-top\">\r\n <div className=\"uifw-quantity-types-right-top-sample\">\r\n <FormatSample formatSpec={activeFormatterSpec} initialMagnitude={1234.56} hideLabels />\r\n </div>\r\n </div>\r\n <div className=\"uifw-quantity-types-formats\">\r\n <QuantityFormatPanel onFormatChange={handleOnFormatChanged} quantityType={activeQuantityType} />\r\n </div>\r\n <div className=\"components-button-panel\">\r\n <Button styleType=\"cta\" onClick={handleOnFormatSave} disabled={!saveEnabled}>{setButtonLabel.current}</Button>\r\n <Button styleType=\"default\" onClick={handleOnFormatReset} disabled={!clearEnabled}>{clearButtonLabel.current}</Button>\r\n </div>\r\n </>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n );\r\n}\r\n\r\nfunction SaveFormatModalDialog({ formatProps, quantityType, onDialogCloseArgs, onDialogClose }: { formatProps: FormatProps, quantityType: QuantityTypeKey, onDialogCloseArgs?: any, onDialogClose: (args?: any) => void }) {\r\n const [isOpen, setIsOpen] = React.useState(true);\r\n\r\n const handleClose = React.useCallback(() => {\r\n setIsOpen(false);\r\n UiFramework.dialogs.modal.close();\r\n onDialogClose && onDialogClose(onDialogCloseArgs);\r\n }, [onDialogClose, onDialogCloseArgs]);\r\n\r\n const handleOK = React.useCallback(() => {\r\n IModelApp.quantityFormatter.setOverrideFormat(quantityType, formatProps); // eslint-disable-line @typescript-eslint/no-floating-promises\r\n handleClose();\r\n }, [formatProps, handleClose, quantityType]);\r\n\r\n const handleCancel = React.useCallback(() => {\r\n handleClose();\r\n }, [handleClose]);\r\n\r\n return (\r\n <Dialog\r\n title={\"Save Format Changes\"}\r\n opened={isOpen}\r\n resizable={false}\r\n movable={false}\r\n modal={true}\r\n buttonCluster={[\r\n { type: DialogButtonType.Yes, onClick: handleOK },\r\n { type: DialogButtonType.No, onClick: handleCancel },\r\n ]}\r\n onEscape={handleCancel}\r\n onClose={handleCancel}\r\n onOutsideClick={handleCancel}\r\n minHeight={150}\r\n maxHeight={400}\r\n maxWidth={400}\r\n minWidth={200}\r\n >\r\n <div className=\"modal-dialog2\">\r\n Do you want to save changes to format before changing to another type?\r\n </div>\r\n </Dialog >\r\n );\r\n}\r\n"]}
@@ -2,7 +2,7 @@
2
2
  * @module Settings
3
3
  */
4
4
  /// <reference types="react" />
5
- import { UnitSystemKey } from "@itwin/core-quantity";
5
+ import type { UnitSystemKey } from "@itwin/core-quantity";
6
6
  /** Props for [[UnitSystemSelector]]
7
7
  * @beta
8
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"UnitSystemSelector.d.ts","sourceRoot":"","sources":["../../../../../src/appui-react/settings/quantityformatting/UnitSystemSelector.tsx"],"names":[],"mappings":"AAIA;;GAEG;;AAIH,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAGrD;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,qBAAqB,EAAE,aAAa,CAAC;IACrC,oBAAoB,EAAE,CAAC,UAAU,EAAE,aAAa,KAAK,IAAI,CAAC;IAC1D,oBAAoB,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC;CAC1C;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,eA6ChE"}
1
+ {"version":3,"file":"UnitSystemSelector.d.ts","sourceRoot":"","sources":["../../../../../src/appui-react/settings/quantityformatting/UnitSystemSelector.tsx"],"names":[],"mappings":"AAIA;;GAEG;;AAIH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAI1D;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,qBAAqB,EAAE,aAAa,CAAC;IACrC,oBAAoB,EAAE,CAAC,UAAU,EAAE,aAAa,KAAK,IAAI,CAAC;IAC1D,oBAAoB,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC;CAC1C;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,eA6ChE"}
@@ -1 +1 @@
1
- {"version":3,"file":"UnitSystemSelector.js","sourceRoot":"","sources":["../../../../../src/appui-react/settings/quantityformatting/UnitSystemSelector.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,MAAM,EAAgB,MAAM,sBAAsB,CAAC;AAW5D;;GAEG;AACH,MAAM,UAAU,kBAAkB,CAAC,KAA8B;IAC/D,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,uCAAuC,CAAC,CAAC,CAAC;IAC3F,MAAM,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,GAAG,KAAK,CAAC;IACpF,MAAM,wBAAwB,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC,QAAuB,EAAE,EAAE;QAC7E,oBAAoB,IAAI,oBAAoB,CAAC,QAAQ,CAAC,CAAC;IACzD,CAAC,EAAE,CAAC,oBAAoB,CAAC,CAAC,CAAC;IAE3B,MAAM,kBAAkB,GAAkC,CAAC,GAAG,oBAAoB,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;QACvG,QAAQ,GAAG,EAAE;YACX,KAAK,UAAU;gBACb,OAAO;oBACL,KAAK,EAAE,UAAU;oBACjB,KAAK,EAAE,WAAW,CAAC,SAAS,CAAC,wCAAwC,CAAC;iBACvE,CAAC;YACJ,KAAK,aAAa;gBAChB,OAAO;oBACL,KAAK,EAAE,aAAa;oBACpB,KAAK,EAAE,WAAW,CAAC,SAAS,CAAC,oCAAoC,CAAC;iBACnE,CAAC;YACJ,KAAK,UAAU;gBACb,OAAO;oBACL,KAAK,EAAE,UAAU;oBACjB,KAAK,EAAE,WAAW,CAAC,SAAS,CAAC,iCAAiC,CAAC;iBAChE,CAAC;YACJ,KAAK,QAAQ,CAAC;YACd;gBACE,OAAO;oBACL,KAAK,EAAE,QAAQ;oBACf,KAAK,EAAE,WAAW,CAAC,SAAS,CAAC,+BAA+B,CAAC;iBAC9D,CAAC;SACL;IACH,CAAC,CAAC,CAAC;IAEH,MAAM,aAAa,GAAG,oBAAoB,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IAE5H,OAAO,CACL,6BAAK,SAAS,EAAC,yCAAyC;QACtD,8BAAM,SAAS,EAAE,cAAc,IAAG,KAAK,CAAC,OAAO,CAAQ;QACvD,oBAAC,MAAM,mBAAa,oBAAoB,EACtC,KAAK,EAAE,aAAa,EACpB,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,wBAAwB,EAC/D,IAAI,EAAC,OAAO,GACZ,CACE,CACP,CAAC;AACJ,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Settings\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { UiFramework } from \"../../UiFramework\";\r\nimport { UnitSystemKey } from \"@itwin/core-quantity\";\r\nimport { Select, SelectOption } from \"@itwin/itwinui-react\";\r\n\r\n/** Props for [[UnitSystemSelector]]\r\n * @beta\r\n */\r\nexport interface UnitSystemSelectorProps {\r\n selectedUnitSystemKey: UnitSystemKey;\r\n onUnitSystemSelected: (unitSystem: UnitSystemKey) => void;\r\n availableUnitSystems: Set<UnitSystemKey>;\r\n}\r\n\r\n/** Select control to set the \"active\" Presentation Unit System. This setting determine what units are display for quantity values (i.e. foot vs meter).\r\n * @alpha\r\n */\r\nexport function UnitSystemSelector(props: UnitSystemSelectorProps) { // eslint-disable-line @typescript-eslint/naming-convention\r\n const label = React.useRef(UiFramework.translate(\"presentationUnitSystem.selector-label\"));\r\n const { selectedUnitSystemKey, onUnitSystemSelected, availableUnitSystems } = props;\r\n const handleUnitSystemSelected = React.useCallback((newValue: UnitSystemKey) => {\r\n onUnitSystemSelected && onUnitSystemSelected(newValue);\r\n }, [onUnitSystemSelected]);\r\n\r\n const displayUnitSystems: SelectOption<UnitSystemKey>[] = [...availableUnitSystems.values()].map((sys) => {\r\n switch (sys) {\r\n case \"imperial\":\r\n return {\r\n value: \"imperial\",\r\n label: UiFramework.translate(\"presentationUnitSystem.BritishImperial\"),\r\n };\r\n case \"usCustomary\":\r\n return {\r\n value: \"usCustomary\",\r\n label: UiFramework.translate(\"presentationUnitSystem.USCustomary\"),\r\n };\r\n case \"usSurvey\":\r\n return {\r\n value: \"usSurvey\",\r\n label: UiFramework.translate(\"presentationUnitSystem.USSurvey\"),\r\n };\r\n case \"metric\":\r\n default:\r\n return {\r\n value: \"metric\",\r\n label: UiFramework.translate(\"presentationUnitSystem.Metric\"),\r\n };\r\n }\r\n });\r\n\r\n const unitSystemKey = availableUnitSystems.has(selectedUnitSystemKey) ? selectedUnitSystemKey : displayUnitSystems[0].value;\r\n\r\n return (\r\n <div className=\"quantity-unit-system-selector-container\">\r\n <span className={\"uicore-label\"}>{label.current}</span>\r\n <Select data-testid=\"unitSystemSelector\"\r\n value={unitSystemKey}\r\n options={displayUnitSystems} onChange={handleUnitSystemSelected}\r\n size=\"small\"\r\n />\r\n </div>\r\n );\r\n}\r\n\r\n"]}
1
+ {"version":3,"file":"UnitSystemSelector.js","sourceRoot":"","sources":["../../../../../src/appui-react/settings/quantityformatting/UnitSystemSelector.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGhD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B,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IAE5H,OAAO,CACL,6BAAK,SAAS,EAAC,yCAAyC;QACtD,8BAAM,SAAS,EAAE,cAAc,IAAG,KAAK,CAAC,OAAO,CAAQ;QACvD,oBAAC,MAAM,mBAAa,oBAAoB,EACtC,KAAK,EAAE,aAAa,EACpB,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,wBAAwB,EAC/D,IAAI,EAAC,OAAO,GACZ,CACE,CACP,CAAC;AACJ,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Settings\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { UiFramework } from \"../../UiFramework\";\r\nimport type { UnitSystemKey } from \"@itwin/core-quantity\";\r\nimport type { SelectOption } from \"@itwin/itwinui-react\";\r\nimport { Select } from \"@itwin/itwinui-react\";\r\n\r\n/** Props for [[UnitSystemSelector]]\r\n * @beta\r\n */\r\nexport interface UnitSystemSelectorProps {\r\n selectedUnitSystemKey: UnitSystemKey;\r\n onUnitSystemSelected: (unitSystem: UnitSystemKey) => void;\r\n availableUnitSystems: Set<UnitSystemKey>;\r\n}\r\n\r\n/** Select control to set the \"active\" Presentation Unit System. This setting determine what units are display for quantity values (i.e. foot vs meter).\r\n * @alpha\r\n */\r\nexport function UnitSystemSelector(props: UnitSystemSelectorProps) { // eslint-disable-line @typescript-eslint/naming-convention\r\n const label = React.useRef(UiFramework.translate(\"presentationUnitSystem.selector-label\"));\r\n const { selectedUnitSystemKey, onUnitSystemSelected, availableUnitSystems } = props;\r\n const handleUnitSystemSelected = React.useCallback((newValue: UnitSystemKey) => {\r\n onUnitSystemSelected && onUnitSystemSelected(newValue);\r\n }, [onUnitSystemSelected]);\r\n\r\n const displayUnitSystems: SelectOption<UnitSystemKey>[] = [...availableUnitSystems.values()].map((sys) => {\r\n switch (sys) {\r\n case \"imperial\":\r\n return {\r\n value: \"imperial\",\r\n label: UiFramework.translate(\"presentationUnitSystem.BritishImperial\"),\r\n };\r\n case \"usCustomary\":\r\n return {\r\n value: \"usCustomary\",\r\n label: UiFramework.translate(\"presentationUnitSystem.USCustomary\"),\r\n };\r\n case \"usSurvey\":\r\n return {\r\n value: \"usSurvey\",\r\n label: UiFramework.translate(\"presentationUnitSystem.USSurvey\"),\r\n };\r\n case \"metric\":\r\n default:\r\n return {\r\n value: \"metric\",\r\n label: UiFramework.translate(\"presentationUnitSystem.Metric\"),\r\n };\r\n }\r\n });\r\n\r\n const unitSystemKey = availableUnitSystems.has(selectedUnitSystemKey) ? selectedUnitSystemKey : displayUnitSystems[0].value;\r\n\r\n return (\r\n <div className=\"quantity-unit-system-selector-container\">\r\n <span className={\"uicore-label\"}>{label.current}</span>\r\n <Select data-testid=\"unitSystemSelector\"\r\n value={unitSystemKey}\r\n options={displayUnitSystems} onChange={handleUnitSystemSelected}\r\n size=\"small\"\r\n />\r\n </div>\r\n );\r\n}\r\n\r\n"]}
@@ -3,7 +3,7 @@
3
3
  */
4
4
  /// <reference types="react" />
5
5
  import "./UiSettingsPage.scss";
6
- import { SettingsTabEntry } from "@itwin/core-react";
6
+ import type { SettingsTabEntry } from "@itwin/core-react";
7
7
  /** UiSettingsPage displaying the active UI settings. This page lets users set the following settings.
8
8
  *
9
9
  * - theme - Dark, Light, or based on OS preference.
@@ -1 +1 @@
1
- {"version":3,"file":"UiSettingsPage.d.ts","sourceRoot":"","sources":["../../../../../src/appui-react/settings/ui/UiSettingsPage.tsx"],"names":[],"mappings":"AAIA;;GAEG;;AAKH,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAOrD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,cAAc,gBA6L7B;AAwBD;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,YAAY,EAAE,MAAM,GAAG,gBAAgB,CAShF"}
1
+ {"version":3,"file":"UiSettingsPage.d.ts","sourceRoot":"","sources":["../../../../../src/appui-react/settings/ui/UiSettingsPage.tsx"],"names":[],"mappings":"AAIA;;GAEG;;AAKH,OAAO,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAS1D;;;;;;;;;;;;;GAaG;AACH,wBAAgB,cAAc,gBA6L7B;AAwBD;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,YAAY,EAAE,MAAM,GAAG,gBAAgB,CAShF"}
@@ -1 +1 @@
1
- {"version":3,"file":"UiSettingsPage.js","sourceRoot":"","sources":["../../../../../src/appui-react/settings/ui/UiSettingsPage.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,yCAAyC;AAEzC,OAAO,oBAAoB,MAAM,kDAAkD,CAAC;AACpF,OAAO,uBAAuB,CAAC;AAC/B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AACpF,OAAO,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAC1F,OAAO,EAAE,iBAAiB,EAAmB,MAAM,uBAAuB,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAgB,MAAM,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAElF;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,cAAc;IAC5B,MAAM,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,oCAAoC,CAAC,CAAC,CAAC;IAC7F,MAAM,gBAAgB,GAAG,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,0CAA0C,CAAC,CAAC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AC;AAQD,SAAS,YAAY,CAAC,KAAwB;IAC5C,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAEhD,OAAO,CACL,6BAAK,SAAS,EAAC,oBAAoB;QACjC,6BAAK,SAAS,EAAC,kBAAkB;YAC/B,8BAAM,SAAS,EAAC,OAAO,IAAE,KAAK,CAAQ;YACtC,8BAAM,SAAS,EAAC,aAAa,IAAE,WAAW,CAAQ,CAC9C;QACN,6BAAK,SAAS,EAAC,mBAAmB,IAC/B,SAAS,CACN,CACF,CACP,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,yBAAyB,CAAC,YAAoB;IAC5D,OAAO;QACL,YAAY,EAAE,KAAK,EAAE,qBAAqB;QAC1C,KAAK,EAAE,WAAW,CAAC,SAAS,CAAC,+BAA+B,CAAC;QAC7D,IAAI,EAAE,iBAAiB,CAAC,0BAA0B,CAAC,oBAAoB,CAAC;QACxE,IAAI,EAAE,oBAAC,cAAc,OAAG;QACxB,UAAU,EAAE,KAAK;QACjB,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,iCAAiC,CAAC;KAClE,CAAC;AACJ,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Settings\r\n */\r\n\r\n// cSpell:ignore configurableui checkmark\r\n\r\nimport widowSettingsIconSvg from \"@bentley/icons-generic/icons/window-settings.svg\";\r\nimport \"./UiSettingsPage.scss\";\r\nimport * as React from \"react\";\r\nimport { SettingsTabEntry } from \"@itwin/core-react\";\r\nimport { UiFramework } from \"../../UiFramework\";\r\nimport { ColorTheme, SYSTEM_PREFERRED_COLOR_THEME } from \"../../theme/ThemeManager\";\r\nimport { SyncUiEventDispatcher, SyncUiEventId } from \"../../syncui/SyncUiEventDispatcher\";\r\nimport { IconSpecUtilities, UiSyncEventArgs } from \"@itwin/appui-abstract\";\r\nimport { Select, SelectOption, Slider, ToggleSwitch } from \"@itwin/itwinui-react\";\r\n\r\n/** UiSettingsPage displaying the active UI settings. This page lets users set the following settings.\r\n *\r\n * - theme - Dark, Light, or based on OS preference.\r\n * - auto hide - Starts a timer and blanks out ui components that overlay content if there is no mouse movement for a period of time.\r\n * - drag interaction - If set, toolbar group buttons require a press and drag or a long press to open. In this mode a child action\r\n * item is shown as the group button and is activated when button is clicked. If a different child item is selected, it becomes the\r\n * active group button item.\r\n * - use proximity - Changes the opacity of toolbar from transparent to opaque as the mouse moves closer.\r\n * - snap widget opacity - triggers an abrupt change from transparent to opaque for tool and navigation widgets, instead of a gradual change based on mouse location.\r\n * - widget opacity - determines how transparent floating widgets in V2 and all widgets in V1 become when the mouse in not in them.\r\n * - UI version - if allowed by props, the UI version can be toggled between V1 and V2.\r\n *\r\n * @beta\r\n */\r\nexport function UiSettingsPage() {\r\n const themeTitle = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.themeTitle\"));\r\n const themeDescription = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.themeDescription\"));\r\n const autoHideTitle = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.autoHideTitle\"));\r\n const autoHideDescription = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.autoHideDescription\"));\r\n const dragInteractionTitle = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.dragInteractionTitle\"));\r\n const dragInteractionDescription = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.dragInteractionDescription\"));\r\n const useProximityOpacityTitle = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.useProximityOpacityTitle\"));\r\n const useProximityOpacityDescription = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.useProximityOpacityDescription\"));\r\n const snapWidgetOpacityTitle = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.snapWidgetOpacityTitle\"));\r\n const snapWidgetOpacityDescription = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.snapWidgetOpacityDescription\"));\r\n const darkLabel = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.dark\"));\r\n const lightLabel = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.light\"));\r\n const systemPreferredLabel = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.systemPreferred\"));\r\n const widgetOpacityTitle = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.widgetOpacityTitle\"));\r\n const widgetOpacityDescription = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.widgetOpacityDescription\"));\r\n const widgetIconTitle = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.widgetIconTitle\"));\r\n const widgetIconDescription = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.widgetIconDescription\"));\r\n const autoCollapseUnpinnedPanelsTitle = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.autoCollapseUnpinnedPanelsTitle\"));\r\n const autoCollapseUnpinnedPanelsDescription = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.autoCollapseUnpinnedPanelsDescription\"));\r\n const animateToolSettingsTitle = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.animateToolSettingsTitle\"));\r\n const animateToolSettingsDescription = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.animateToolSettingsDescription\"));\r\n const useToolAsToolSettingsLabelTitle = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.useToolAsToolSettingsLabelTitle\"));\r\n const useToolAsToolSettingsLabelDescription = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.useToolAsToolSettingsLabelDescription\"));\r\n const toolbarOpacityTitle = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.toolbarOpacityTitle\"));\r\n const toolbarOpacityDescription = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.toolbarOpacityDescription\"));\r\n\r\n const [theme, setTheme] = React.useState(() => UiFramework.getColorTheme());\r\n const [useDragInteraction, setUseDragInteraction] = React.useState(() => UiFramework.useDragInteraction);\r\n const [showWidgetIcon, setShowWidgetIcon] = React.useState(() => UiFramework.showWidgetIcon);\r\n const [autoCollapseUnpinnedPanels, setAutoCollapseUnpinnedPanels] = React.useState(() => UiFramework.autoCollapseUnpinnedPanels);\r\n const [animateToolSettings, setAnimateToolSettings] = React.useState(() => UiFramework.animateToolSettings);\r\n const [useToolAsToolSettingsLabel, setUseToolAsToolSettingsLabel] = React.useState(() => UiFramework.useToolAsToolSettingsLabel);\r\n const [widgetOpacity, setWidgetOpacity] = React.useState(() => UiFramework.getWidgetOpacity());\r\n const [autoHideUi, setAutoHideUi] = React.useState(() => UiFramework.visibility.autoHideUi);\r\n const [useProximityOpacity, setUseProximityOpacity] = React.useState(() => UiFramework.visibility.useProximityOpacity);\r\n const [snapWidgetOpacity, setSnapWidgetOpacity] = React.useState(() => UiFramework.visibility.snapWidgetOpacity);\r\n const [toolbarOpacity, setToolbarOpacity] = React.useState(() => UiFramework.getToolbarOpacity());\r\n\r\n React.useEffect(() => {\r\n const syncIdsOfInterest = [\"configurableui:set_theme\", \"configurableui:set_widget_opacity\", \"configurableui:set-show-widget-icon\",\r\n \"configurableui:set-drag-interaction\", \"configurableui:set-framework-version\",\r\n \"configurableui:set-auto-collapse-unpinned-panels\", \"configurableui:set-animate-tool-settings\",\r\n \"configurableui:set-use-tool-as-tool-settings-label\", \"configurableui:set-toolbar-opacity\", SyncUiEventId.ShowHideManagerSettingChange];\r\n\r\n const handleSyncUiEvent = (args: UiSyncEventArgs) => {\r\n // istanbul ignore else\r\n if (syncIdsOfInterest.some((value: string): boolean => args.eventIds.has(value))) {\r\n if (UiFramework.getColorTheme() !== theme)\r\n setTheme(UiFramework.getColorTheme());\r\n if (UiFramework.visibility.autoHideUi !== autoHideUi)\r\n setAutoHideUi(UiFramework.visibility.autoHideUi);\r\n if (UiFramework.useDragInteraction !== useDragInteraction)\r\n setUseDragInteraction(UiFramework.useDragInteraction);\r\n if (UiFramework.showWidgetIcon !== showWidgetIcon)\r\n setShowWidgetIcon(UiFramework.showWidgetIcon);\r\n if (UiFramework.autoCollapseUnpinnedPanels !== autoCollapseUnpinnedPanels)\r\n setAutoCollapseUnpinnedPanels(UiFramework.autoCollapseUnpinnedPanels);\r\n if (UiFramework.getWidgetOpacity() !== widgetOpacity)\r\n setWidgetOpacity(UiFramework.getWidgetOpacity());\r\n if (UiFramework.visibility.autoHideUi !== autoHideUi)\r\n setAutoHideUi(UiFramework.visibility.autoHideUi);\r\n if (UiFramework.visibility.useProximityOpacity !== useProximityOpacity)\r\n setUseProximityOpacity(UiFramework.visibility.useProximityOpacity);\r\n if (UiFramework.visibility.snapWidgetOpacity !== snapWidgetOpacity)\r\n setSnapWidgetOpacity(UiFramework.visibility.snapWidgetOpacity);\r\n if (UiFramework.animateToolSettings !== animateToolSettings)\r\n setAnimateToolSettings(UiFramework.animateToolSettings);\r\n if (UiFramework.useToolAsToolSettingsLabel !== useToolAsToolSettingsLabel)\r\n setUseToolAsToolSettingsLabel(UiFramework.useToolAsToolSettingsLabel);\r\n if (UiFramework.getToolbarOpacity() !== toolbarOpacity)\r\n setToolbarOpacity(UiFramework.getToolbarOpacity());\r\n }\r\n };\r\n return SyncUiEventDispatcher.onSyncUiEvent.addListener(handleSyncUiEvent);\r\n }, [autoCollapseUnpinnedPanels, autoHideUi, showWidgetIcon, snapWidgetOpacity, theme,\r\n useDragInteraction, useProximityOpacity, widgetOpacity, animateToolSettings, useToolAsToolSettingsLabel, toolbarOpacity]);\r\n\r\n const defaultThemeOption = { label: systemPreferredLabel.current, value: SYSTEM_PREFERRED_COLOR_THEME };\r\n const themeOptions: SelectOption<string>[] = [\r\n defaultThemeOption,\r\n { label: lightLabel.current, value: ColorTheme.Light },\r\n { label: darkLabel.current, value: ColorTheme.Dark },\r\n ];\r\n\r\n const onThemeChange = React.useCallback((newValue: string) => {\r\n UiFramework.setColorTheme(newValue);\r\n }, []);\r\n\r\n const onAutoHideChange = React.useCallback(async () => {\r\n UiFramework.visibility.autoHideUi = !autoHideUi;\r\n }, [autoHideUi]);\r\n\r\n const onUseProximityOpacityChange = React.useCallback(async () => {\r\n UiFramework.visibility.useProximityOpacity = !useProximityOpacity;\r\n }, [useProximityOpacity]);\r\n\r\n const onSnapWidgetOpacityChange = React.useCallback(async () => {\r\n UiFramework.visibility.snapWidgetOpacity = !snapWidgetOpacity;\r\n }, [snapWidgetOpacity]);\r\n\r\n const onWidgetIconChange = React.useCallback(async () => {\r\n UiFramework.setShowWidgetIcon(!showWidgetIcon);\r\n }, [showWidgetIcon]);\r\n\r\n const onAutoCollapseUnpinnedPanelsChange = React.useCallback(async () => {\r\n UiFramework.setAutoCollapseUnpinnedPanels(!autoCollapseUnpinnedPanels);\r\n }, [autoCollapseUnpinnedPanels]);\r\n\r\n const onWidgetOpacityChange = React.useCallback(async (values: readonly number[]) => {\r\n // istanbul ignore else\r\n if (values.length > 0) {\r\n UiFramework.setWidgetOpacity(values[0]);\r\n }\r\n }, []);\r\n\r\n const onToggleDragInteraction = React.useCallback(async () => {\r\n UiFramework.setUseDragInteraction(!useDragInteraction);\r\n }, [useDragInteraction]);\r\n\r\n const OnToggleAnimateToolSettings = React.useCallback(async () => {\r\n UiFramework.setAnimateToolSettings(!animateToolSettings);\r\n }, [animateToolSettings]);\r\n const currentTheme = UiFramework.getColorTheme();\r\n\r\n const OnToggleUseToolAsToolSettingsLabel = React.useCallback(async () => {\r\n UiFramework.setUseToolAsToolSettingsLabel(!useToolAsToolSettingsLabel);\r\n }, [useToolAsToolSettingsLabel]);\r\n\r\n const onToolbarOpacityChange = React.useCallback(async (values: readonly number[]) => {\r\n // istanbul ignore else\r\n if (values.length > 0) {\r\n UiFramework.setToolbarOpacity(values[0]);\r\n }\r\n }, []);\r\n\r\n return (\r\n <div className=\"uifw-settings\">\r\n <SettingsItem title={themeTitle.current} description={themeDescription.current}\r\n settingUi={\r\n <div data-testid=\"select-theme-container\" className=\"select-theme-container\">\r\n <Select\r\n value={currentTheme}\r\n onChange={onThemeChange}\r\n options={themeOptions}\r\n data-testid=\"select-theme\"\r\n size=\"small\"\r\n />\r\n </div>\r\n }\r\n />\r\n <SettingsItem title={autoHideTitle.current} description={autoHideDescription.current}\r\n settingUi={<ToggleSwitch checked={autoHideUi} onChange={onAutoHideChange} />}\r\n />\r\n <SettingsItem title={dragInteractionTitle.current} description={dragInteractionDescription.current}\r\n settingUi={<ToggleSwitch checked={useDragInteraction} onChange={onToggleDragInteraction} />}\r\n />\r\n <SettingsItem title={useProximityOpacityTitle.current} description={useProximityOpacityDescription.current}\r\n settingUi={<ToggleSwitch checked={useProximityOpacity} onChange={onUseProximityOpacityChange} />}\r\n />\r\n <SettingsItem title={snapWidgetOpacityTitle.current} description={snapWidgetOpacityDescription.current}\r\n settingUi={<ToggleSwitch checked={snapWidgetOpacity} onChange={onSnapWidgetOpacityChange} />}\r\n />\r\n <SettingsItem title={widgetIconTitle.current} description={widgetIconDescription.current}\r\n settingUi={<ToggleSwitch checked={showWidgetIcon} onChange={onWidgetIconChange} />}\r\n />\r\n <SettingsItem title={autoCollapseUnpinnedPanelsTitle.current} description={autoCollapseUnpinnedPanelsDescription.current}\r\n settingUi={<ToggleSwitch checked={autoCollapseUnpinnedPanels} onChange={onAutoCollapseUnpinnedPanelsChange} />}\r\n />\r\n <SettingsItem title={animateToolSettingsTitle.current} description={animateToolSettingsDescription.current}\r\n settingUi={<ToggleSwitch checked={animateToolSettings} onChange={OnToggleAnimateToolSettings} />}\r\n />\r\n <SettingsItem title={useToolAsToolSettingsLabelTitle.current} description={useToolAsToolSettingsLabelDescription.current}\r\n settingUi={<ToggleSwitch checked={useToolAsToolSettingsLabel} onChange={OnToggleUseToolAsToolSettingsLabel} />}\r\n />\r\n <SettingsItem title={toolbarOpacityTitle.current} description={toolbarOpacityDescription.current}\r\n settingUi={\r\n <Slider style={{ flex: \"1\" }} values={[toolbarOpacity]} step={0.05} onChange={onToolbarOpacityChange}\r\n min={0.20} max={1.0} maxLabel=\"1.0\" tickLabels={[\"\", \"\", \"\", \"\", \"\"]} />\r\n }\r\n />\r\n <SettingsItem title={widgetOpacityTitle.current} description={widgetOpacityDescription.current}\r\n settingUi={\r\n <Slider style={{ flex: \"1\" }} values={[widgetOpacity]} step={0.05} onChange={onWidgetOpacityChange}\r\n min={0.20} max={1.0} maxLabel=\"1.0\" tickLabels={[\"\", \"\", \"\", \"\", \"\"]} />\r\n }\r\n />\r\n </div>\r\n );\r\n}\r\n\r\ninterface SettingsItemProps {\r\n title: string;\r\n description: string;\r\n settingUi: React.ReactNode;\r\n}\r\n\r\nfunction SettingsItem(props: SettingsItemProps) {\r\n const { title, description, settingUi } = props;\r\n\r\n return (\r\n <div className=\"uifw-settings-item\">\r\n <div className=\"panel left-panel\">\r\n <span className=\"title\">{title}</span>\r\n <span className=\"description\">{description}</span>\r\n </div>\r\n <div className=\"panel right-panel\">\r\n {settingUi}\r\n </div>\r\n </div>\r\n );\r\n}\r\n\r\n/**\r\n * Return a SettingsTabEntry that can be used to define the available settings that can be set for an application.\r\n * @param itemPriority - Used to define the order of the entry in the Settings Stage\r\n * @beta\r\n */\r\nexport function getUiSettingsManagerEntry(itemPriority: number): SettingsTabEntry {\r\n return {\r\n itemPriority, tabId: \"uifw:UiStateStorage\",\r\n label: UiFramework.translate(\"settings.uiSettingsPage.label\"),\r\n icon: IconSpecUtilities.createWebComponentIconSpec(widowSettingsIconSvg),\r\n page: <UiSettingsPage />,\r\n isDisabled: false,\r\n tooltip: UiFramework.translate(\"settings.uiSettingsPage.tooltip\"),\r\n };\r\n}\r\n"]}
1
+ {"version":3,"file":"UiSettingsPage.js","sourceRoot":"","sources":["../../../../../src/appui-react/settings/ui/UiSettingsPage.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,yCAAyC;AAEzC,OAAO,oBAAoB,MAAM,kDAAkD,CAAC;AACpF,OAAO,uBAAuB,CAAC;AAC/B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE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AAiC,CAAC;KAClE,CAAC;AACJ,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Settings\r\n */\r\n\r\n// cSpell:ignore configurableui checkmark\r\n\r\nimport widowSettingsIconSvg from \"@bentley/icons-generic/icons/window-settings.svg\";\r\nimport \"./UiSettingsPage.scss\";\r\nimport * as React from \"react\";\r\nimport type { SettingsTabEntry } from \"@itwin/core-react\";\r\nimport { UiFramework } from \"../../UiFramework\";\r\nimport { ColorTheme, SYSTEM_PREFERRED_COLOR_THEME } from \"../../theme/ThemeManager\";\r\nimport { SyncUiEventDispatcher, SyncUiEventId } from \"../../syncui/SyncUiEventDispatcher\";\r\nimport type { UiSyncEventArgs } from \"@itwin/appui-abstract\";\r\nimport { IconSpecUtilities } from \"@itwin/appui-abstract\";\r\nimport type { SelectOption} from \"@itwin/itwinui-react\";\r\nimport { Select, Slider, ToggleSwitch } from \"@itwin/itwinui-react\";\r\n\r\n/** UiSettingsPage displaying the active UI settings. This page lets users set the following settings.\r\n *\r\n * - theme - Dark, Light, or based on OS preference.\r\n * - auto hide - Starts a timer and blanks out ui components that overlay content if there is no mouse movement for a period of time.\r\n * - drag interaction - If set, toolbar group buttons require a press and drag or a long press to open. In this mode a child action\r\n * item is shown as the group button and is activated when button is clicked. If a different child item is selected, it becomes the\r\n * active group button item.\r\n * - use proximity - Changes the opacity of toolbar from transparent to opaque as the mouse moves closer.\r\n * - snap widget opacity - triggers an abrupt change from transparent to opaque for tool and navigation widgets, instead of a gradual change based on mouse location.\r\n * - widget opacity - determines how transparent floating widgets in V2 and all widgets in V1 become when the mouse in not in them.\r\n * - UI version - if allowed by props, the UI version can be toggled between V1 and V2.\r\n *\r\n * @beta\r\n */\r\nexport function UiSettingsPage() {\r\n const themeTitle = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.themeTitle\"));\r\n const themeDescription = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.themeDescription\"));\r\n const autoHideTitle = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.autoHideTitle\"));\r\n const autoHideDescription = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.autoHideDescription\"));\r\n const dragInteractionTitle = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.dragInteractionTitle\"));\r\n const dragInteractionDescription = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.dragInteractionDescription\"));\r\n const useProximityOpacityTitle = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.useProximityOpacityTitle\"));\r\n const useProximityOpacityDescription = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.useProximityOpacityDescription\"));\r\n const snapWidgetOpacityTitle = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.snapWidgetOpacityTitle\"));\r\n const snapWidgetOpacityDescription = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.snapWidgetOpacityDescription\"));\r\n const darkLabel = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.dark\"));\r\n const lightLabel = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.light\"));\r\n const systemPreferredLabel = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.systemPreferred\"));\r\n const widgetOpacityTitle = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.widgetOpacityTitle\"));\r\n const widgetOpacityDescription = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.widgetOpacityDescription\"));\r\n const widgetIconTitle = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.widgetIconTitle\"));\r\n const widgetIconDescription = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.widgetIconDescription\"));\r\n const autoCollapseUnpinnedPanelsTitle = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.autoCollapseUnpinnedPanelsTitle\"));\r\n const autoCollapseUnpinnedPanelsDescription = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.autoCollapseUnpinnedPanelsDescription\"));\r\n const animateToolSettingsTitle = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.animateToolSettingsTitle\"));\r\n const animateToolSettingsDescription = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.animateToolSettingsDescription\"));\r\n const useToolAsToolSettingsLabelTitle = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.useToolAsToolSettingsLabelTitle\"));\r\n const useToolAsToolSettingsLabelDescription = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.useToolAsToolSettingsLabelDescription\"));\r\n const toolbarOpacityTitle = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.toolbarOpacityTitle\"));\r\n const toolbarOpacityDescription = React.useRef(UiFramework.translate(\"settings.uiSettingsPage.toolbarOpacityDescription\"));\r\n\r\n const [theme, setTheme] = React.useState(() => UiFramework.getColorTheme());\r\n const [useDragInteraction, setUseDragInteraction] = React.useState(() => UiFramework.useDragInteraction);\r\n const [showWidgetIcon, setShowWidgetIcon] = React.useState(() => UiFramework.showWidgetIcon);\r\n const [autoCollapseUnpinnedPanels, setAutoCollapseUnpinnedPanels] = React.useState(() => UiFramework.autoCollapseUnpinnedPanels);\r\n const [animateToolSettings, setAnimateToolSettings] = React.useState(() => UiFramework.animateToolSettings);\r\n const [useToolAsToolSettingsLabel, setUseToolAsToolSettingsLabel] = React.useState(() => UiFramework.useToolAsToolSettingsLabel);\r\n const [widgetOpacity, setWidgetOpacity] = React.useState(() => UiFramework.getWidgetOpacity());\r\n const [autoHideUi, setAutoHideUi] = React.useState(() => UiFramework.visibility.autoHideUi);\r\n const [useProximityOpacity, setUseProximityOpacity] = React.useState(() => UiFramework.visibility.useProximityOpacity);\r\n const [snapWidgetOpacity, setSnapWidgetOpacity] = React.useState(() => UiFramework.visibility.snapWidgetOpacity);\r\n const [toolbarOpacity, setToolbarOpacity] = React.useState(() => UiFramework.getToolbarOpacity());\r\n\r\n React.useEffect(() => {\r\n const syncIdsOfInterest = [\"configurableui:set_theme\", \"configurableui:set_widget_opacity\", \"configurableui:set-show-widget-icon\",\r\n \"configurableui:set-drag-interaction\", \"configurableui:set-framework-version\",\r\n \"configurableui:set-auto-collapse-unpinned-panels\", \"configurableui:set-animate-tool-settings\",\r\n \"configurableui:set-use-tool-as-tool-settings-label\", \"configurableui:set-toolbar-opacity\", SyncUiEventId.ShowHideManagerSettingChange];\r\n\r\n const handleSyncUiEvent = (args: UiSyncEventArgs) => {\r\n // istanbul ignore else\r\n if (syncIdsOfInterest.some((value: string): boolean => args.eventIds.has(value))) {\r\n if (UiFramework.getColorTheme() !== theme)\r\n setTheme(UiFramework.getColorTheme());\r\n if (UiFramework.visibility.autoHideUi !== autoHideUi)\r\n setAutoHideUi(UiFramework.visibility.autoHideUi);\r\n if (UiFramework.useDragInteraction !== useDragInteraction)\r\n setUseDragInteraction(UiFramework.useDragInteraction);\r\n if (UiFramework.showWidgetIcon !== showWidgetIcon)\r\n setShowWidgetIcon(UiFramework.showWidgetIcon);\r\n if (UiFramework.autoCollapseUnpinnedPanels !== autoCollapseUnpinnedPanels)\r\n setAutoCollapseUnpinnedPanels(UiFramework.autoCollapseUnpinnedPanels);\r\n if (UiFramework.getWidgetOpacity() !== widgetOpacity)\r\n setWidgetOpacity(UiFramework.getWidgetOpacity());\r\n if (UiFramework.visibility.autoHideUi !== autoHideUi)\r\n setAutoHideUi(UiFramework.visibility.autoHideUi);\r\n if (UiFramework.visibility.useProximityOpacity !== useProximityOpacity)\r\n setUseProximityOpacity(UiFramework.visibility.useProximityOpacity);\r\n if (UiFramework.visibility.snapWidgetOpacity !== snapWidgetOpacity)\r\n setSnapWidgetOpacity(UiFramework.visibility.snapWidgetOpacity);\r\n if (UiFramework.animateToolSettings !== animateToolSettings)\r\n setAnimateToolSettings(UiFramework.animateToolSettings);\r\n if (UiFramework.useToolAsToolSettingsLabel !== useToolAsToolSettingsLabel)\r\n setUseToolAsToolSettingsLabel(UiFramework.useToolAsToolSettingsLabel);\r\n if (UiFramework.getToolbarOpacity() !== toolbarOpacity)\r\n setToolbarOpacity(UiFramework.getToolbarOpacity());\r\n }\r\n };\r\n return SyncUiEventDispatcher.onSyncUiEvent.addListener(handleSyncUiEvent);\r\n }, [autoCollapseUnpinnedPanels, autoHideUi, showWidgetIcon, snapWidgetOpacity, theme,\r\n useDragInteraction, useProximityOpacity, widgetOpacity, animateToolSettings, useToolAsToolSettingsLabel, toolbarOpacity]);\r\n\r\n const defaultThemeOption = { label: systemPreferredLabel.current, value: SYSTEM_PREFERRED_COLOR_THEME };\r\n const themeOptions: SelectOption<string>[] = [\r\n defaultThemeOption,\r\n { label: lightLabel.current, value: ColorTheme.Light },\r\n { label: darkLabel.current, value: ColorTheme.Dark },\r\n ];\r\n\r\n const onThemeChange = React.useCallback((newValue: string) => {\r\n UiFramework.setColorTheme(newValue);\r\n }, []);\r\n\r\n const onAutoHideChange = React.useCallback(async () => {\r\n UiFramework.visibility.autoHideUi = !autoHideUi;\r\n }, [autoHideUi]);\r\n\r\n const onUseProximityOpacityChange = React.useCallback(async () => {\r\n UiFramework.visibility.useProximityOpacity = !useProximityOpacity;\r\n }, [useProximityOpacity]);\r\n\r\n const onSnapWidgetOpacityChange = React.useCallback(async () => {\r\n UiFramework.visibility.snapWidgetOpacity = !snapWidgetOpacity;\r\n }, [snapWidgetOpacity]);\r\n\r\n const onWidgetIconChange = React.useCallback(async () => {\r\n UiFramework.setShowWidgetIcon(!showWidgetIcon);\r\n }, [showWidgetIcon]);\r\n\r\n const onAutoCollapseUnpinnedPanelsChange = React.useCallback(async () => {\r\n UiFramework.setAutoCollapseUnpinnedPanels(!autoCollapseUnpinnedPanels);\r\n }, [autoCollapseUnpinnedPanels]);\r\n\r\n const onWidgetOpacityChange = React.useCallback(async (values: readonly number[]) => {\r\n // istanbul ignore else\r\n if (values.length > 0) {\r\n UiFramework.setWidgetOpacity(values[0]);\r\n }\r\n }, []);\r\n\r\n const onToggleDragInteraction = React.useCallback(async () => {\r\n UiFramework.setUseDragInteraction(!useDragInteraction);\r\n }, [useDragInteraction]);\r\n\r\n const OnToggleAnimateToolSettings = React.useCallback(async () => {\r\n UiFramework.setAnimateToolSettings(!animateToolSettings);\r\n }, [animateToolSettings]);\r\n const currentTheme = UiFramework.getColorTheme();\r\n\r\n const OnToggleUseToolAsToolSettingsLabel = React.useCallback(async () => {\r\n UiFramework.setUseToolAsToolSettingsLabel(!useToolAsToolSettingsLabel);\r\n }, [useToolAsToolSettingsLabel]);\r\n\r\n const onToolbarOpacityChange = React.useCallback(async (values: readonly number[]) => {\r\n // istanbul ignore else\r\n if (values.length > 0) {\r\n UiFramework.setToolbarOpacity(values[0]);\r\n }\r\n }, []);\r\n\r\n return (\r\n <div className=\"uifw-settings\">\r\n <SettingsItem title={themeTitle.current} description={themeDescription.current}\r\n settingUi={\r\n <div data-testid=\"select-theme-container\" className=\"select-theme-container\">\r\n <Select\r\n value={currentTheme}\r\n onChange={onThemeChange}\r\n options={themeOptions}\r\n data-testid=\"select-theme\"\r\n size=\"small\"\r\n />\r\n </div>\r\n }\r\n />\r\n <SettingsItem title={autoHideTitle.current} description={autoHideDescription.current}\r\n settingUi={<ToggleSwitch checked={autoHideUi} onChange={onAutoHideChange} />}\r\n />\r\n <SettingsItem title={dragInteractionTitle.current} description={dragInteractionDescription.current}\r\n settingUi={<ToggleSwitch checked={useDragInteraction} onChange={onToggleDragInteraction} />}\r\n />\r\n <SettingsItem title={useProximityOpacityTitle.current} description={useProximityOpacityDescription.current}\r\n settingUi={<ToggleSwitch checked={useProximityOpacity} onChange={onUseProximityOpacityChange} />}\r\n />\r\n <SettingsItem title={snapWidgetOpacityTitle.current} description={snapWidgetOpacityDescription.current}\r\n settingUi={<ToggleSwitch checked={snapWidgetOpacity} onChange={onSnapWidgetOpacityChange} />}\r\n />\r\n <SettingsItem title={widgetIconTitle.current} description={widgetIconDescription.current}\r\n settingUi={<ToggleSwitch checked={showWidgetIcon} onChange={onWidgetIconChange} />}\r\n />\r\n <SettingsItem title={autoCollapseUnpinnedPanelsTitle.current} description={autoCollapseUnpinnedPanelsDescription.current}\r\n settingUi={<ToggleSwitch checked={autoCollapseUnpinnedPanels} onChange={onAutoCollapseUnpinnedPanelsChange} />}\r\n />\r\n <SettingsItem title={animateToolSettingsTitle.current} description={animateToolSettingsDescription.current}\r\n settingUi={<ToggleSwitch checked={animateToolSettings} onChange={OnToggleAnimateToolSettings} />}\r\n />\r\n <SettingsItem title={useToolAsToolSettingsLabelTitle.current} description={useToolAsToolSettingsLabelDescription.current}\r\n settingUi={<ToggleSwitch checked={useToolAsToolSettingsLabel} onChange={OnToggleUseToolAsToolSettingsLabel} />}\r\n />\r\n <SettingsItem title={toolbarOpacityTitle.current} description={toolbarOpacityDescription.current}\r\n settingUi={\r\n <Slider style={{ flex: \"1\" }} values={[toolbarOpacity]} step={0.05} onChange={onToolbarOpacityChange}\r\n min={0.20} max={1.0} maxLabel=\"1.0\" tickLabels={[\"\", \"\", \"\", \"\", \"\"]} />\r\n }\r\n />\r\n <SettingsItem title={widgetOpacityTitle.current} description={widgetOpacityDescription.current}\r\n settingUi={\r\n <Slider style={{ flex: \"1\" }} values={[widgetOpacity]} step={0.05} onChange={onWidgetOpacityChange}\r\n min={0.20} max={1.0} maxLabel=\"1.0\" tickLabels={[\"\", \"\", \"\", \"\", \"\"]} />\r\n }\r\n />\r\n </div>\r\n );\r\n}\r\n\r\ninterface SettingsItemProps {\r\n title: string;\r\n description: string;\r\n settingUi: React.ReactNode;\r\n}\r\n\r\nfunction SettingsItem(props: SettingsItemProps) {\r\n const { title, description, settingUi } = props;\r\n\r\n return (\r\n <div className=\"uifw-settings-item\">\r\n <div className=\"panel left-panel\">\r\n <span className=\"title\">{title}</span>\r\n <span className=\"description\">{description}</span>\r\n </div>\r\n <div className=\"panel right-panel\">\r\n {settingUi}\r\n </div>\r\n </div>\r\n );\r\n}\r\n\r\n/**\r\n * Return a SettingsTabEntry that can be used to define the available settings that can be set for an application.\r\n * @param itemPriority - Used to define the order of the entry in the Settings Stage\r\n * @beta\r\n */\r\nexport function getUiSettingsManagerEntry(itemPriority: number): SettingsTabEntry {\r\n return {\r\n itemPriority, tabId: \"uifw:UiStateStorage\",\r\n label: UiFramework.translate(\"settings.uiSettingsPage.label\"),\r\n icon: IconSpecUtilities.createWebComponentIconSpec(widowSettingsIconSvg),\r\n page: <UiSettingsPage />,\r\n isDisabled: false,\r\n tooltip: UiFramework.translate(\"settings.uiSettingsPage.tooltip\"),\r\n };\r\n}\r\n"]}
@@ -1,10 +1,11 @@
1
1
  /** @packageDocumentation
2
2
  * @module Item
3
3
  */
4
- import { CommandHandler, OnItemExecutedFunc } from "@itwin/appui-abstract";
5
- import { Orientation, SizeProps } from "@itwin/core-react";
4
+ import type { CommandHandler, OnItemExecutedFunc } from "@itwin/appui-abstract";
5
+ import type { SizeProps } from "@itwin/core-react";
6
+ import { Orientation } from "@itwin/core-react";
6
7
  import { ItemDefBase } from "./ItemDefBase";
7
- import { ItemProps } from "./ItemProps";
8
+ import type { ItemProps } from "./ItemProps";
8
9
  /** Abstract base class that is used by classes to execute an action when pressed.
9
10
  * @public
10
11
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ActionButtonItemDef.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/shared/ActionButtonItemDef.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC;;GAEG;AACH,8BAAsB,mBAAoB,SAAQ,WAAW;IAC3D,OAAO,CAAC,eAAe,CAAC,CAAqB;IAE7C,4CAA4C;IAC5C,SAAS,CAAC,eAAe,CAAC,EAAE,cAAc,CAAC;IAC3C,+CAA+C;IACxC,UAAU,CAAC,EA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AAU,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC;QAE5F,OAAO,SAAS,CAAC;IACnB,CAAC;;AApCD,qDAAqD;AACvC,qCAAiB,GAAG,EAAE,AAAL,CAAM;SAVjB,mBAAmB","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Item\r\n */\r\n\r\nimport { CommandHandler, OnItemExecutedFunc } from \"@itwin/appui-abstract\";\r\nimport { Orientation, SizeProps } from \"@itwin/core-react\";\r\nimport { ItemDefBase } from \"./ItemDefBase\";\r\nimport { ItemProps } from \"./ItemProps\";\r\n\r\n/** Abstract base class that is used by classes to execute an action when pressed.\r\n * @public\r\n */\r\nexport abstract class ActionButtonItemDef extends ItemDefBase {\r\n private _onItemExecuted?: OnItemExecutedFunc;\r\n\r\n /** Command Handler for the action button */\r\n protected _commandHandler?: CommandHandler;\r\n /** Parameters passed to the Command Handler */\r\n public parameters?: any;\r\n /** Size of the action button, as set by handleSizeKnown */\r\n public size?: SizeProps;\r\n /** The default button size for all action buttons */\r\n public static defaultButtonSize = 42;\r\n\r\n constructor(itemProps: ItemProps, onItemExecuted?: OnItemExecutedFunc) {\r\n super(itemProps);\r\n\r\n this.execute = this.execute.bind(this);\r\n this._onItemExecuted = onItemExecuted;\r\n }\r\n\r\n /** Called when the action button is invoked by a click or touch */\r\n public execute(): void {\r\n if (this._commandHandler && this._commandHandler.execute) {\r\n if (this._commandHandler.getCommandArgs)\r\n this._commandHandler.execute(this._commandHandler.getCommandArgs());\r\n else\r\n this._commandHandler.execute(this._commandHandler.parameters);\r\n }\r\n\r\n // istanbul ignore else\r\n if (this._onItemExecuted)\r\n this._onItemExecuted(this);\r\n }\r\n\r\n /** Called when the size of the action button is initialized and the size is known */\r\n public handleSizeKnown = (size: SizeProps) => {\r\n this.size = size;\r\n };\r\n\r\n /** Determines the dimension in a given orientation */\r\n public getDimension(orientation: Orientation): number {\r\n let dimension = ActionButtonItemDef.defaultButtonSize;\r\n if (this.size)\r\n dimension = (orientation === Orientation.Horizontal) ? this.size.width : this.size.height;\r\n\r\n return dimension;\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"ActionButtonItemDef.js","sourceRoot":"","sources":["../../../../src/appui-react/shared/ActionButtonItemDef.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAIH,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C;;GAEG;AACH,MAAsB,mBAAoB,SAAQ,WAAW;IAY3D,YAAY,SAAoB,EAAE,cAAmC;QACnE,KAAK,CAAC,SAAS,CAAC,CAAC;QAoBnB,qFAAqF;QAC9E,oBAAe,GAAG,CAAC,IAAe,EAAE,EAAE;YAC3C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACnB,CAAC,CAAC;QArBA,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,eAAe,GAAG,cAAc,CAAC;IACxC,CAAC;IAED,mEAAmE;IAC5D,OAAO;QACZ,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,CAAC,eAAe,CAAC,OAAO,EAAE;YACxD,IAAI,IAAI,CAAC,eAAe,CAAC,cAAc;gBACrC,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,CAAC,cAAc,EAAE,CAAC,CAAC;;gBAEpE,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;SACjE;QAED,uBAAuB;QACvB,IAAI,IAAI,CAAC,eAAe;YACtB,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IAOD,sDAAsD;IAC/C,YAAY,CAAC,WAAwB;QAC1C,IAAI,SAAS,GAAG,mBAAmB,CAAC,iBAAiB,CAAC;QACtD,IAAI,IAAI,CAAC,IAAI;YACX,SAAS,GAAG,CAAC,WAAW,KAAK,WAAW,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC;QAE5F,OAAO,SAAS,CAAC;IACnB,CAAC;;AApCD,qDAAqD;AACvC,qCAAiB,GAAG,EAAE,AAAL,CAAM;SAVjB,mBAAmB","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Item\r\n */\r\n\r\nimport type { CommandHandler, OnItemExecutedFunc } from \"@itwin/appui-abstract\";\r\nimport type { SizeProps } from \"@itwin/core-react\";\r\nimport { Orientation } from \"@itwin/core-react\";\r\nimport { ItemDefBase } from \"./ItemDefBase\";\r\nimport type { ItemProps } from \"./ItemProps\";\r\n\r\n/** Abstract base class that is used by classes to execute an action when pressed.\r\n * @public\r\n */\r\nexport abstract class ActionButtonItemDef extends ItemDefBase {\r\n private _onItemExecuted?: OnItemExecutedFunc;\r\n\r\n /** Command Handler for the action button */\r\n protected _commandHandler?: CommandHandler;\r\n /** Parameters passed to the Command Handler */\r\n public parameters?: any;\r\n /** Size of the action button, as set by handleSizeKnown */\r\n public size?: SizeProps;\r\n /** The default button size for all action buttons */\r\n public static defaultButtonSize = 42;\r\n\r\n constructor(itemProps: ItemProps, onItemExecuted?: OnItemExecutedFunc) {\r\n super(itemProps);\r\n\r\n this.execute = this.execute.bind(this);\r\n this._onItemExecuted = onItemExecuted;\r\n }\r\n\r\n /** Called when the action button is invoked by a click or touch */\r\n public execute(): void {\r\n if (this._commandHandler && this._commandHandler.execute) {\r\n if (this._commandHandler.getCommandArgs)\r\n this._commandHandler.execute(this._commandHandler.getCommandArgs());\r\n else\r\n this._commandHandler.execute(this._commandHandler.parameters);\r\n }\r\n\r\n // istanbul ignore else\r\n if (this._onItemExecuted)\r\n this._onItemExecuted(this);\r\n }\r\n\r\n /** Called when the size of the action button is initialized and the size is known */\r\n public handleSizeKnown = (size: SizeProps) => {\r\n this.size = size;\r\n };\r\n\r\n /** Determines the dimension in a given orientation */\r\n public getDimension(orientation: Orientation): number {\r\n let dimension = ActionButtonItemDef.defaultButtonSize;\r\n if (this.size)\r\n dimension = (orientation === Orientation.Horizontal) ? this.size.width : this.size.height;\r\n\r\n return dimension;\r\n }\r\n}\r\n"]}
@@ -1,10 +1,10 @@
1
1
  /** @packageDocumentation
2
2
  * @module Item
3
3
  */
4
- import { GroupItemDef } from "../toolbar/GroupItem";
5
- import { ActionButtonItemDef } from "./ActionButtonItemDef";
6
- import { CommandItemDef } from "./CommandItemDef";
7
- import { ToolItemDef } from "./ToolItemDef";
4
+ import type { GroupItemDef } from "../toolbar/GroupItem";
5
+ import type { ActionButtonItemDef } from "./ActionButtonItemDef";
6
+ import type { CommandItemDef } from "./CommandItemDef";
7
+ import type { ToolItemDef } from "./ToolItemDef";
8
8
  /** Union of all Item definitions that can be specified in a GroupItem
9
9
  * @public
10
10
  */
@@ -1 +1 @@
1
- {"version":3,"file":"AnyItemDef.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/shared/AnyItemDef.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,YAAY,GAAG,cAAc,GAAG,WAAW,GAAG,mBAAmB,CAAC"}
1
+ {"version":3,"file":"AnyItemDef.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/shared/AnyItemDef.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,YAAY,GAAG,cAAc,GAAG,WAAW,GAAG,mBAAmB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AnyItemDef.js","sourceRoot":"","sources":["../../../../src/appui-react/shared/AnyItemDef.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Item\r\n */\r\n\r\nimport { GroupItemDef } from \"../toolbar/GroupItem\";\r\nimport { ActionButtonItemDef } from \"./ActionButtonItemDef\";\r\nimport { CommandItemDef } from \"./CommandItemDef\";\r\nimport { ToolItemDef } from \"./ToolItemDef\";\r\n\r\n/** Union of all Item definitions that can be specified in a GroupItem\r\n * @public\r\n */\r\nexport type AnyItemDef = GroupItemDef | CommandItemDef | ToolItemDef | ActionButtonItemDef;\r\n"]}
1
+ {"version":3,"file":"AnyItemDef.js","sourceRoot":"","sources":["../../../../src/appui-react/shared/AnyItemDef.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Item\r\n */\r\n\r\nimport type { GroupItemDef } from \"../toolbar/GroupItem\";\r\nimport type { ActionButtonItemDef } from \"./ActionButtonItemDef\";\r\nimport type { CommandItemDef } from \"./CommandItemDef\";\r\nimport type { ToolItemDef } from \"./ToolItemDef\";\r\n\r\n/** Union of all Item definitions that can be specified in a GroupItem\r\n * @public\r\n */\r\nexport type AnyItemDef = GroupItemDef | CommandItemDef | ToolItemDef | ActionButtonItemDef;\r\n"]}
@@ -1,8 +1,8 @@
1
1
  /** @packageDocumentation
2
2
  * @module Item
3
3
  */
4
- import { AnyItemDef } from "./AnyItemDef";
5
- import { CustomItemDef } from "./CustomItemDef";
4
+ import type { AnyItemDef } from "./AnyItemDef";
5
+ import type { CustomItemDef } from "./CustomItemDef";
6
6
  /** Union of all Item definitions that can be specified in a Toolbar
7
7
  * @public
8
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"AnyToolbarItemDef.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/shared/AnyToolbarItemDef.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,aAAa,CAAC"}
1
+ {"version":3,"file":"AnyToolbarItemDef.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/shared/AnyToolbarItemDef.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,aAAa,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AnyToolbarItemDef.js","sourceRoot":"","sources":["../../../../src/appui-react/shared/AnyToolbarItemDef.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Item\r\n */\r\n\r\nimport { AnyItemDef } from \"./AnyItemDef\";\r\nimport { CustomItemDef } from \"./CustomItemDef\";\r\n\r\n/** Union of all Item definitions that can be specified in a Toolbar\r\n * @public\r\n */\r\nexport type AnyToolbarItemDef = AnyItemDef | CustomItemDef;\r\n"]}
1
+ {"version":3,"file":"AnyToolbarItemDef.js","sourceRoot":"","sources":["../../../../src/appui-react/shared/AnyToolbarItemDef.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Item\r\n */\r\n\r\nimport type { AnyItemDef } from \"./AnyItemDef\";\r\nimport type { CustomItemDef } from \"./CustomItemDef\";\r\n\r\n/** Union of all Item definitions that can be specified in a Toolbar\r\n * @public\r\n */\r\nexport type AnyToolbarItemDef = AnyItemDef | CustomItemDef;\r\n"]}
@@ -1,9 +1,9 @@
1
1
  /** @packageDocumentation
2
2
  * @module Item
3
3
  */
4
- import { OnItemExecutedFunc } from "@itwin/appui-abstract";
4
+ import type { OnItemExecutedFunc } from "@itwin/appui-abstract";
5
5
  import { ActionButtonItemDef } from "./ActionButtonItemDef";
6
- import { CommandItemProps } from "./ItemProps";
6
+ import type { CommandItemProps } from "./ItemProps";
7
7
  /** An Item that executes a Command.
8
8
  * @public
9
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"CommandItemDef.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/shared/CommandItemDef.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/C;;GAEG;AACH,qBAAa,cAAe,SAAQ,mBAAmB;IACrD,OAAO,CAAC,MAAM,CAAC,IAAI,CAAK;IACxB,OAAc,eAAe,SAAc;IACpC,SAAS,EAAE,MAAM,CAAM;gBAElB,gBAAgB,EAAE,gBAAgB,EAAE,cAAc,CAAC,EAAE,kBAAkB;IAenF,IAAW,EAAE,IAAI,MAAM,CAEtB;CACF"}
1
+ {"version":3,"file":"CommandItemDef.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/shared/CommandItemDef.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD;;GAEG;AACH,qBAAa,cAAe,SAAQ,mBAAmB;IACrD,OAAO,CAAC,MAAM,CAAC,IAAI,CAAK;IACxB,OAAc,eAAe,SAAc;IACpC,SAAS,EAAE,MAAM,CAAM;gBAElB,gBAAgB,EAAE,gBAAgB,EAAE,cAAc,CAAC,EAAE,kBAAkB;IAenF,IAAW,EAAE,IAAI,MAAM,CAEtB;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"CommandItemDef.js","sourceRoot":"","sources":["../../../../src/appui-react/shared/CommandItemDef.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAGH,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAG5D;;GAEG;AACH,MAAa,cAAe,SAAQ,mBAAmB;IAKrD,YAAY,gBAAkC,EAAE,cAAmC;QACjF,KAAK,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC;QAHnC,cAAS,GAAW,EAAE,CAAC;QAK5B,IAAI,gBAAgB,CAAC,OAAO,EAAE;YAC5B,IAAI,CAAC,eAAe,GAAG,EAAE,OAAO,EAAE,gBAAgB,CAAC,OAAO,EAAE,UAAU,EAAE,gBAAgB,CAAC,UAAU,EAAE,cAAc,EAAE,gBAAgB,CAAC,cAAc,EAAE,CAAC;SACxJ;QAED,IAAI,gBAAgB,CAAC,SAAS;YAC5B,IAAI,CAAC,SAAS,GAAG,gBAAgB,CAAC,SAAS,CAAC;aACzC;YACH,cAAc,CAAC,IAAI,EAAE,CAAC;YACtB,IAAI,CAAC,SAAS,GAAG,cAAc,CAAC,eAAe,GAAG,cAAc,CAAC,IAAI,CAAC;SACvE;IACH,CAAC;IAED,IAAW,EAAE;QACX,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;;AArBc,mBAAI,GAAG,CAAC,AAAJ,CAAK;AACV,8BAAe,GAAG,UAAU,AAAb,CAAc;SAFhC,cAAc","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Item\r\n */\r\n\r\nimport { OnItemExecutedFunc } from \"@itwin/appui-abstract\";\r\nimport { ActionButtonItemDef } from \"./ActionButtonItemDef\";\r\nimport { CommandItemProps } from \"./ItemProps\";\r\n\r\n/** An Item that executes a Command.\r\n * @public\r\n */\r\nexport class CommandItemDef extends ActionButtonItemDef {\r\n private static _sId = 0;\r\n public static commandIdPrefix = \"Command-\";\r\n public commandId: string = \"\";\r\n\r\n constructor(commandItemProps: CommandItemProps, onItemExecuted?: OnItemExecutedFunc) {\r\n super(commandItemProps, onItemExecuted);\r\n\r\n if (commandItemProps.execute) {\r\n this._commandHandler = { execute: commandItemProps.execute, parameters: commandItemProps.parameters, getCommandArgs: commandItemProps.getCommandArgs };\r\n }\r\n\r\n if (commandItemProps.commandId)\r\n this.commandId = commandItemProps.commandId;\r\n else {\r\n CommandItemDef._sId++;\r\n this.commandId = CommandItemDef.commandIdPrefix + CommandItemDef._sId;\r\n }\r\n }\r\n\r\n public get id(): string {\r\n return this.commandId;\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"CommandItemDef.js","sourceRoot":"","sources":["../../../../src/appui-react/shared/CommandItemDef.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAGH,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAG5D;;GAEG;AACH,MAAa,cAAe,SAAQ,mBAAmB;IAKrD,YAAY,gBAAkC,EAAE,cAAmC;QACjF,KAAK,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC;QAHnC,cAAS,GAAW,EAAE,CAAC;QAK5B,IAAI,gBAAgB,CAAC,OAAO,EAAE;YAC5B,IAAI,CAAC,eAAe,GAAG,EAAE,OAAO,EAAE,gBAAgB,CAAC,OAAO,EAAE,UAAU,EAAE,gBAAgB,CAAC,UAAU,EAAE,cAAc,EAAE,gBAAgB,CAAC,cAAc,EAAE,CAAC;SACxJ;QAED,IAAI,gBAAgB,CAAC,SAAS;YAC5B,IAAI,CAAC,SAAS,GAAG,gBAAgB,CAAC,SAAS,CAAC;aACzC;YACH,cAAc,CAAC,IAAI,EAAE,CAAC;YACtB,IAAI,CAAC,SAAS,GAAG,cAAc,CAAC,eAAe,GAAG,cAAc,CAAC,IAAI,CAAC;SACvE;IACH,CAAC;IAED,IAAW,EAAE;QACX,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;;AArBc,mBAAI,GAAG,CAAC,AAAJ,CAAK;AACV,8BAAe,GAAG,UAAU,AAAb,CAAc;SAFhC,cAAc","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Item\r\n */\r\n\r\nimport type { OnItemExecutedFunc } from \"@itwin/appui-abstract\";\r\nimport { ActionButtonItemDef } from \"./ActionButtonItemDef\";\r\nimport type { CommandItemProps } from \"./ItemProps\";\r\n\r\n/** An Item that executes a Command.\r\n * @public\r\n */\r\nexport class CommandItemDef extends ActionButtonItemDef {\r\n private static _sId = 0;\r\n public static commandIdPrefix = \"Command-\";\r\n public commandId: string = \"\";\r\n\r\n constructor(commandItemProps: CommandItemProps, onItemExecuted?: OnItemExecutedFunc) {\r\n super(commandItemProps, onItemExecuted);\r\n\r\n if (commandItemProps.execute) {\r\n this._commandHandler = { execute: commandItemProps.execute, parameters: commandItemProps.parameters, getCommandArgs: commandItemProps.getCommandArgs };\r\n }\r\n\r\n if (commandItemProps.commandId)\r\n this.commandId = commandItemProps.commandId;\r\n else {\r\n CommandItemDef._sId++;\r\n this.commandId = CommandItemDef.commandIdPrefix + CommandItemDef._sId;\r\n }\r\n }\r\n\r\n public get id(): string {\r\n return this.commandId;\r\n }\r\n}\r\n"]}
@@ -1,9 +1,9 @@
1
1
  /** @packageDocumentation
2
2
  * @module Item
3
3
  */
4
- import * as React from "react";
4
+ import type * as React from "react";
5
5
  import { ActionButtonItemDef } from "./ActionButtonItemDef";
6
- import { CustomItemProps } from "./CustomItemProps";
6
+ import type { CustomItemProps } from "./CustomItemProps";
7
7
  /** An Item that renders a React component.
8
8
  * @public
9
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"CustomItemDef.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/shared/CustomItemDef.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD;;GAEG;AACH,qBAAa,aAAc,SAAQ,mBAAmB;IACpD,OAAO,CAAC,MAAM,CAAC,IAAI,CAAK;IACxB,OAAc,cAAc,SAAa;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;gBAE5B,KAAK,EAAE,eAAe;IAalC,IAAW,EAAE,IAAI,MAAM,CAEtB;CACF"}
1
+ {"version":3,"file":"CustomItemDef.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/shared/CustomItemDef.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD;;GAEG;AACH,qBAAa,aAAc,SAAQ,mBAAmB;IACpD,OAAO,CAAC,MAAM,CAAC,IAAI,CAAK;IACxB,OAAc,cAAc,SAAa;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;gBAE5B,KAAK,EAAE,eAAe;IAalC,IAAW,EAAE,IAAI,MAAM,CAEtB;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"CustomItemDef.js","sourceRoot":"","sources":["../../../../src/appui-react/shared/CustomItemDef.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAGH,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAG5D;;GAEG;AACH,MAAa,aAAc,SAAQ,mBAAmB;IAMpD,YAAY,KAAsB;QAChC,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,IAAI,KAAK,CAAC,QAAQ;YAChB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;aAC5B;YACH,aAAa,CAAC,IAAI,EAAE,CAAC;YACrB,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC,cAAc,GAAG,aAAa,CAAC,IAAI,CAAC;SACnE;QAED,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC,cAAc,CAAC;IAC7C,CAAC;IAED,IAAW,EAAE;QACX,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;;AApBc,kBAAI,GAAG,CAAC,CAAC;AACV,4BAAc,GAAG,SAAS,CAAC;SAF9B,aAAa","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Item\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { ActionButtonItemDef } from \"./ActionButtonItemDef\";\r\nimport { CustomItemProps } from \"./CustomItemProps\";\r\n\r\n/** An Item that renders a React component.\r\n * @public\r\n */\r\nexport class CustomItemDef extends ActionButtonItemDef {\r\n private static _sId = 0;\r\n public static customIdPrefix = \"Custom-\";\r\n public customId: string;\r\n public popupPanelNode?: React.ReactNode;\r\n\r\n constructor(props: CustomItemProps) {\r\n super(props);\r\n\r\n if (props.customId)\r\n this.customId = props.customId;\r\n else {\r\n CustomItemDef._sId++;\r\n this.customId = CustomItemDef.customIdPrefix + CustomItemDef._sId;\r\n }\r\n\r\n this.popupPanelNode = props.popupPanelNode;\r\n }\r\n\r\n public get id(): string {\r\n return this.customId;\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"CustomItemDef.js","sourceRoot":"","sources":["../../../../src/appui-react/shared/CustomItemDef.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAGH,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAG5D;;GAEG;AACH,MAAa,aAAc,SAAQ,mBAAmB;IAMpD,YAAY,KAAsB;QAChC,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,IAAI,KAAK,CAAC,QAAQ;YAChB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;aAC5B;YACH,aAAa,CAAC,IAAI,EAAE,CAAC;YACrB,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC,cAAc,GAAG,aAAa,CAAC,IAAI,CAAC;SACnE;QAED,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC,cAAc,CAAC;IAC7C,CAAC;IAED,IAAW,EAAE;QACX,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;;AApBc,kBAAI,GAAG,CAAC,CAAC;AACV,4BAAc,GAAG,SAAS,CAAC;SAF9B,aAAa","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Item\r\n */\r\n\r\nimport type * as React from \"react\";\r\nimport { ActionButtonItemDef } from \"./ActionButtonItemDef\";\r\nimport type { CustomItemProps } from \"./CustomItemProps\";\r\n\r\n/** An Item that renders a React component.\r\n * @public\r\n */\r\nexport class CustomItemDef extends ActionButtonItemDef {\r\n private static _sId = 0;\r\n public static customIdPrefix = \"Custom-\";\r\n public customId: string;\r\n public popupPanelNode?: React.ReactNode;\r\n\r\n constructor(props: CustomItemProps) {\r\n super(props);\r\n\r\n if (props.customId)\r\n this.customId = props.customId;\r\n else {\r\n CustomItemDef._sId++;\r\n this.customId = CustomItemDef.customIdPrefix + CustomItemDef._sId;\r\n }\r\n\r\n this.popupPanelNode = props.popupPanelNode;\r\n }\r\n\r\n public get id(): string {\r\n return this.customId;\r\n }\r\n}\r\n"]}
@@ -2,7 +2,7 @@
2
2
  * @module Item
3
3
  */
4
4
  /// <reference types="react" />
5
- import { ItemProps } from "./ItemProps";
5
+ import type { ItemProps } from "./ItemProps";
6
6
  /** Definition for a Custom item that renders a React component.
7
7
  * @public
8
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"CustomItemProps.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/shared/CustomItemProps.ts"],"names":[],"mappings":"AAIA;;GAEG;;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAClC"}
1
+ {"version":3,"file":"CustomItemProps.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/shared/CustomItemProps.ts"],"names":[],"mappings":"AAIA;;GAEG;;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAClC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CustomItemProps.js","sourceRoot":"","sources":["../../../../src/appui-react/shared/CustomItemProps.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Item\r\n */\r\n\r\nimport { ItemProps } from \"./ItemProps\";\r\n\r\n/** Definition for a Custom item that renders a React component.\r\n * @public\r\n */\r\nexport interface CustomItemProps extends ItemProps {\r\n customId?: string;\r\n popupPanelNode?: React.ReactNode;\r\n}\r\n"]}
1
+ {"version":3,"file":"CustomItemProps.js","sourceRoot":"","sources":["../../../../src/appui-react/shared/CustomItemProps.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Item\r\n */\r\n\r\nimport type { ItemProps } from \"./ItemProps\";\r\n\r\n/** Definition for a Custom item that renders a React component.\r\n * @public\r\n */\r\nexport interface CustomItemProps extends ItemProps {\r\n customId?: string;\r\n popupPanelNode?: React.ReactNode;\r\n}\r\n"]}
@@ -1,9 +1,9 @@
1
1
  /** @packageDocumentation
2
2
  * @module Item
3
3
  */
4
- import { StringGetter } from "@itwin/appui-abstract";
5
- import { AnyItemDef } from "./AnyItemDef";
6
- import { ItemProps } from "./ItemProps";
4
+ import type { StringGetter } from "@itwin/appui-abstract";
5
+ import type { AnyItemDef } from "./AnyItemDef";
6
+ import type { ItemProps } from "./ItemProps";
7
7
  /** Definition for a Group item that opens a group of items.
8
8
  * @public
9
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"GroupItemProps.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/shared/GroupItemProps.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC;;GAEG;AACH,MAAM,WAAW,cAAe,SAAQ,SAAS;IAC/C,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mFAAmF;IACnF,UAAU,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;IACnC,kJAAkJ;IAClJ,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
1
+ {"version":3,"file":"GroupItemProps.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/shared/GroupItemProps.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C;;GAEG;AACH,MAAM,WAAW,cAAe,SAAQ,SAAS;IAC/C,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mFAAmF;IACnF,UAAU,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;IACnC,kJAAkJ;IAClJ,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"GroupItemProps.js","sourceRoot":"","sources":["../../../../src/appui-react/shared/GroupItemProps.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Item\r\n */\r\n\r\nimport { StringGetter } from \"@itwin/appui-abstract\";\r\nimport { AnyItemDef } from \"./AnyItemDef\";\r\nimport { ItemProps } from \"./ItemProps\";\r\n\r\n/** Definition for a Group item that opens a group of items.\r\n * @public\r\n */\r\nexport interface GroupItemProps extends ItemProps {\r\n defaultActiveItemId?: string;\r\n groupId?: string;\r\n items: AnyItemDef[];\r\n itemsInColumn?: number;\r\n /** if set, it is used to explicitly set a label at top of open group component. */\r\n panelLabel?: string | StringGetter;\r\n /** if set, it is used to define a key that is used to look up a localized string. This value is used only if panelLabel is not explicitly set. */\r\n panelLabelKey?: string;\r\n}\r\n"]}
1
+ {"version":3,"file":"GroupItemProps.js","sourceRoot":"","sources":["../../../../src/appui-react/shared/GroupItemProps.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Item\r\n */\r\n\r\nimport type { StringGetter } from \"@itwin/appui-abstract\";\r\nimport type { AnyItemDef } from \"./AnyItemDef\";\r\nimport type { ItemProps } from \"./ItemProps\";\r\n\r\n/** Definition for a Group item that opens a group of items.\r\n * @public\r\n */\r\nexport interface GroupItemProps extends ItemProps {\r\n defaultActiveItemId?: string;\r\n groupId?: string;\r\n items: AnyItemDef[];\r\n itemsInColumn?: number;\r\n /** if set, it is used to explicitly set a label at top of open group component. */\r\n panelLabel?: string | StringGetter;\r\n /** if set, it is used to define a key that is used to look up a localized string. This value is used only if panelLabel is not explicitly set. */\r\n panelLabelKey?: string;\r\n}\r\n"]}
@@ -1,10 +1,10 @@
1
1
  /** @packageDocumentation
2
2
  * @module Item
3
3
  */
4
- import * as React from "react";
5
- import { BadgeType, ConditionalBooleanValue, ConditionalStringValue, StringGetter } from "@itwin/appui-abstract";
6
- import { ItemProps } from "./ItemProps";
7
- import { IconSpec } from "@itwin/core-react";
4
+ import type * as React from "react";
5
+ import type { BadgeType, ConditionalBooleanValue, ConditionalStringValue, StringGetter } from "@itwin/appui-abstract";
6
+ import type { ItemProps } from "./ItemProps";
7
+ import type { IconSpec } from "@itwin/core-react";
8
8
  /** Base state for any 'stateful' React component
9
9
  * @public
10
10
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ItemDefBase.d.ts","sourceRoot":"","sources":["../../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