@oracle/oraclejet-preact 17.1.0 → 17.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1930) hide show
  1. package/amd/ActionCard-01322111.js +1 -1
  2. package/amd/BarChart-aba4a793.js +1 -1
  3. package/amd/BaseButton-51e50f77.js +1 -1
  4. package/amd/BaseCardView-c5624c8a.js +1 -1
  5. package/amd/BaseCardViewSelectionTest-9627e4ab.js +2 -0
  6. package/amd/BaseCardViewSelectionTest-9627e4ab.js.map +1 -0
  7. package/amd/BaseNavigationListItem-368284be.js +1 -1
  8. package/amd/ButtonSet-c389d5c7.js +1 -1
  9. package/amd/ButtonSetIconButton-141a8745.js +1 -1
  10. package/amd/Center-b449a95c.js +2 -0
  11. package/amd/Center-b449a95c.js.map +1 -0
  12. package/amd/Chart-1046ac5b.js +1 -1
  13. package/amd/CheckboxControl-74a7fead.js +1 -1
  14. package/amd/CheckboxRadioField-005a110c.js +1 -1
  15. package/amd/Chip-3062b3d3.js +1 -1
  16. package/amd/ClearIcon-c13664cd.js +1 -1
  17. package/amd/CollapseIcon-38899da0.js +1 -1
  18. package/amd/Collapsible-ba4eef8f.js +1 -1
  19. package/amd/CompactHelpSource-be790e15.js +1 -1
  20. package/amd/CompactLabelAssistance-7db2fde2.js +2 -0
  21. package/amd/CompactLabelAssistance-7db2fde2.js.map +1 -0
  22. package/amd/CompactUserAssistance-a7b3ffc0.js +1 -1
  23. package/amd/ComponentMessageContainer-3b691959.js +1 -1
  24. package/amd/ConveyorBeltItem-bc128f62.js +1 -1
  25. package/amd/DatePicker-d7802b3e.js +2 -0
  26. package/amd/DatePicker-d7802b3e.js.map +1 -0
  27. package/amd/DatePickerHeader-c03ca6b4.js +1 -1
  28. package/amd/Diagram-14fd94c3.js +2 -0
  29. package/amd/Diagram-14fd94c3.js.map +1 -0
  30. package/amd/Dialog-f6da299c.js +2 -0
  31. package/amd/Dialog-f6da299c.js.map +1 -0
  32. package/amd/DirectionalCollapseArrowIcon-1c72e459.js +1 -1
  33. package/amd/DirectionalExpandArrowIcon-198cec2b.js +1 -1
  34. package/amd/DragHandle-e4959d2b.js +1 -1
  35. package/amd/Dropdown-5f68516d.js +2 -0
  36. package/amd/Dropdown-5f68516d.js.map +1 -0
  37. package/amd/EnvironmentProvider-8f6fc388.js +2 -0
  38. package/amd/EnvironmentProvider-8f6fc388.js.map +1 -0
  39. package/amd/FilePicker-e13f405f.js +1 -1
  40. package/amd/Flex-56ecdf4c.js +2 -0
  41. package/amd/Flex-56ecdf4c.js.map +1 -0
  42. package/amd/Floating-a658b79c.js +2 -0
  43. package/amd/Floating-a658b79c.js.map +1 -0
  44. package/amd/FormLayout-c6f1fdff.js +1 -1
  45. package/amd/Gantt-7be8d8bc.js +1 -1
  46. package/amd/Grid-160f4885.js +2 -0
  47. package/amd/Grid-160f4885.js.map +1 -0
  48. package/amd/Gridlines-b1d59999.js +2 -0
  49. package/amd/Gridlines-b1d59999.js.map +1 -0
  50. package/amd/GroupLoadingIndicator-cd9192c9.js +1 -1
  51. package/amd/HighlightText-bd4c0101.js +2 -0
  52. package/amd/HighlightText-bd4c0101.js.map +1 -0
  53. package/amd/Icon-2d805acb.js +1 -1
  54. package/amd/IconButton-81c8463f.js +1 -1
  55. package/amd/IconMenuButton-3e3db121.js +1 -1
  56. package/amd/IconProgressButton-04979469.js +1 -1
  57. package/amd/IconSwitchButton-bc007cbd.js +1 -1
  58. package/amd/IconToggleButton-28960894.js +1 -1
  59. package/amd/IconUserAssistance-2f809060.js +2 -0
  60. package/amd/IconUserAssistance-2f809060.js.map +1 -0
  61. package/amd/Indexer-74c989ce.js +1 -1
  62. package/amd/InlineHelpSource-85961e81.js +1 -1
  63. package/amd/InlineUserAssistance-2a480664.js +1 -1
  64. package/amd/InputDateMask-9aba967d.js +1 -1
  65. package/amd/InputDatePicker-6167ff45.js +2 -0
  66. package/amd/InputDatePicker-6167ff45.js.map +1 -0
  67. package/amd/InputPassword-bf533999.js +1 -1
  68. package/amd/InputText-a4234d1f.js +1 -1
  69. package/amd/Label-a4172af7.js +1 -1
  70. package/amd/LabelValueLayout-194e64d9.js +1 -1
  71. package/amd/Layer-276d62e8.js +2 -0
  72. package/amd/Layer-276d62e8.js.map +1 -0
  73. package/amd/LayerHost-e95c5f30.js +2 -0
  74. package/amd/LayerHost-e95c5f30.js.map +1 -0
  75. package/amd/LayerManager-76fcfb58.js +2 -0
  76. package/amd/LayerManager-76fcfb58.js.map +1 -0
  77. package/amd/Legend-cd2f78b2.js +1 -1
  78. package/amd/LineAreaChart-07630832.js +2 -0
  79. package/amd/LineAreaChart-07630832.js.map +1 -0
  80. package/amd/Link-cb232696.js +1 -1
  81. package/amd/List-61d64cd6.js +1 -1
  82. package/amd/ListItemLayout-90873fb8.js +2 -0
  83. package/amd/ListItemLayout-90873fb8.js.map +1 -0
  84. package/amd/ListView-a49e52c3.js +1 -1
  85. package/amd/LiveRegion-8142ed0d.js +2 -0
  86. package/amd/LiveRegion-8142ed0d.js.map +1 -0
  87. package/amd/MaxLengthLiveRegion-8954fc30.js +2 -0
  88. package/amd/MaxLengthLiveRegion-8954fc30.js.map +1 -0
  89. package/amd/Menu-8f3a1e8c.js +2 -0
  90. package/amd/Menu-8f3a1e8c.js.map +1 -0
  91. package/amd/MenuButton-e4d7ec34.js +1 -1
  92. package/amd/MenuItem-44b2547b.js +1 -1
  93. package/amd/Message-1b166e4f.js +1 -1
  94. package/amd/MessageLayer-cf9265e0.js +2 -0
  95. package/amd/MessageLayer-cf9265e0.js.map +1 -0
  96. package/amd/MessageToast-7aba4a66.js +1 -1
  97. package/amd/MessagesManager-d6d43884.js +1 -1
  98. package/amd/MeterBar-90569d10.js +1 -1
  99. package/amd/MeterCircle-b14ff590.js +1 -1
  100. package/amd/Modal-36acfc12.js +2 -0
  101. package/amd/Modal-36acfc12.js.map +1 -0
  102. package/amd/MonthView-ac27389f.js +2 -0
  103. package/amd/MonthView-ac27389f.js.map +1 -0
  104. package/amd/NavigationListItem-1742f912.js +1 -1
  105. package/amd/NumberInputText-83ba7a58.js +1 -1
  106. package/amd/OverflowTabBarItem-4c4b75e0.js +1 -1
  107. package/amd/PRIVATE_BaseCardView.js +1 -1
  108. package/amd/PRIVATE_Chart.js +1 -1
  109. package/amd/PRIVATE_CheckboxControl.js +1 -1
  110. package/amd/PRIVATE_CheckboxRadioField.js +1 -1
  111. package/amd/PRIVATE_ClearIcon.js +1 -1
  112. package/amd/PRIVATE_DatePickerHeader.js +1 -1
  113. package/amd/PRIVATE_DatePickerLayout.js +1 -1
  114. package/amd/PRIVATE_EmbeddedIconButton.js +1 -1
  115. package/amd/PRIVATE_FormControls.js +1 -1
  116. package/amd/PRIVATE_IconSwitchButton.js +1 -1
  117. package/amd/PRIVATE_Icons/CheckboxMixed.js +1 -1
  118. package/amd/PRIVATE_Icons/CheckboxOff.js +1 -1
  119. package/amd/PRIVATE_Icons/CheckboxOn.js +1 -1
  120. package/amd/PRIVATE_Icons/RadiobuttonOff.js +1 -1
  121. package/amd/PRIVATE_Icons/RadiobuttonOn.js +1 -1
  122. package/amd/PRIVATE_Icons/WarningS.js +1 -1
  123. package/amd/PRIVATE_List.js +1 -1
  124. package/amd/PRIVATE_Message.js +1 -1
  125. package/amd/PRIVATE_MessageLayer.js +1 -1
  126. package/amd/PRIVATE_MonthView.js +1 -1
  127. package/amd/PRIVATE_MonthYearGridView.js +1 -1
  128. package/amd/PRIVATE_PlotArea.js +1 -1
  129. package/amd/PRIVATE_RevealToggleIcon.js +1 -1
  130. package/amd/PRIVATE_SelectCommon.js +1 -1
  131. package/amd/PRIVATE_StyledCheckbox.js +1 -1
  132. package/amd/PRIVATE_Table.js +1 -1
  133. package/amd/PRIVATE_ThemedIcons/CalendarIcon.js +1 -1
  134. package/amd/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +1 -1
  135. package/amd/PRIVATE_ThemedIcons/ChartPanIcon.js +1 -1
  136. package/amd/PRIVATE_ThemedIcons/ChartZoomIcon.js +1 -1
  137. package/amd/PRIVATE_ThemedIcons/CheckIcon.js +1 -1
  138. package/amd/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +1 -1
  139. package/amd/PRIVATE_ThemedIcons/CheckboxOffIcon.js +1 -1
  140. package/amd/PRIVATE_ThemedIcons/CheckboxOnIcon.js +1 -1
  141. package/amd/PRIVATE_ThemedIcons/CloseIcon.js +1 -1
  142. package/amd/PRIVATE_ThemedIcons/CollapseIcon.js +1 -1
  143. package/amd/PRIVATE_ThemedIcons/CollapseUpIcon.js +1 -1
  144. package/amd/PRIVATE_ThemedIcons/DecrementIcon.js +1 -1
  145. package/amd/PRIVATE_ThemedIcons/DeleteIcon.js +1 -1
  146. package/amd/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +1 -1
  147. package/amd/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +1 -1
  148. package/amd/PRIVATE_ThemedIcons/DropdownArrowIcon.js +1 -1
  149. package/amd/PRIVATE_ThemedIcons/ExpandIcon.js +1 -1
  150. package/amd/PRIVATE_ThemedIcons/HelpIcon.js +1 -1
  151. package/amd/PRIVATE_ThemedIcons/IncrementIcon.js +1 -1
  152. package/amd/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +1 -1
  153. package/amd/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +1 -1
  154. package/amd/PRIVATE_ThemedIcons/MessageErrorIcon.js +1 -1
  155. package/amd/PRIVATE_ThemedIcons/MessageInfoIcon.js +1 -1
  156. package/amd/PRIVATE_ThemedIcons/MessageWarningIcon.js +1 -1
  157. package/amd/PRIVATE_ThemedIcons/MinusIcon.js +1 -1
  158. package/amd/PRIVATE_ThemedIcons/NavDownIcon.js +1 -1
  159. package/amd/PRIVATE_ThemedIcons/PlusIcon.js +1 -1
  160. package/amd/PRIVATE_ThemedIcons/RadioOffIcon.js +1 -1
  161. package/amd/PRIVATE_ThemedIcons/RadioOnIcon.js +1 -1
  162. package/amd/PRIVATE_ThemedIcons/SortAscendingIcon.js +1 -1
  163. package/amd/PRIVATE_ThemedIcons/SortDefaultIcon.js +1 -1
  164. package/amd/PRIVATE_ThemedIcons/SortDescendingIcon.js +1 -1
  165. package/amd/PRIVATE_ThemedIcons/ViewHideIcon.js +1 -1
  166. package/amd/PRIVATE_ThemedIcons/ViewIcon.js +1 -1
  167. package/amd/PRIVATE_TimeComponent.js +1 -1
  168. package/amd/PRIVATE_VisTabularDatatip.js +1 -1
  169. package/amd/PictoChart-98b54953.js +1 -1
  170. package/amd/PieChart-cbe2806f.js +2 -0
  171. package/amd/PieChart-cbe2806f.js.map +1 -0
  172. package/amd/Popup-956e6d7d.js +2 -0
  173. package/amd/Popup-956e6d7d.js.map +1 -0
  174. package/amd/ProgressBar-d7cfdb63.js +2 -0
  175. package/amd/ProgressBar-d7cfdb63.js.map +1 -0
  176. package/amd/ProgressButton-c98e276b.js +1 -1
  177. package/amd/ProgressButtonLabelLayout-3a78ba61.js +1 -1
  178. package/amd/ProgressCircle-1e4cefde.js +2 -0
  179. package/amd/ProgressCircle-1e4cefde.js.map +1 -0
  180. package/amd/RadioItem-ce699d94.js +1 -1
  181. package/amd/RatingGauge-138a7d8b.js +1 -1
  182. package/amd/ReadonlyTextFieldInput-608bddc1.js +1 -1
  183. package/amd/RemovableNavigationListItem-dd14305f.js +1 -1
  184. package/amd/RemovableTabBarItem-6a25d890.js +1 -1
  185. package/amd/ReorderableTabBar-e40ffae9.js +1 -1
  186. package/amd/RevealToggleIcon-c5b17f49.js +1 -1
  187. package/amd/SectionalLegend-5d4afed4.js +1 -1
  188. package/amd/SectionedContent-6031f8f7.js +2 -0
  189. package/amd/SectionedContent-6031f8f7.js.map +1 -0
  190. package/amd/SelectMultiple-1ff92cc3.js +1 -1
  191. package/amd/SelectSingle-641a4cac.js +1 -1
  192. package/amd/SelectionCard-062e1c6f.js +2 -0
  193. package/amd/SelectionCard-062e1c6f.js.map +1 -0
  194. package/amd/Selector-039f7481.js +1 -1
  195. package/amd/SelectorAll-53efae22.js +2 -0
  196. package/amd/SelectorAll-53efae22.js.map +1 -0
  197. package/amd/Sheet-e6308643.js +2 -0
  198. package/amd/Sheet-e6308643.js.map +1 -0
  199. package/amd/SplitMenuButton-09d7b66f.js +1 -1
  200. package/amd/StyledTextField-a51060bb.js +1 -1
  201. package/amd/Submenu-8cb31b61.js +1 -1
  202. package/amd/TabBar-1c002b5b.js +1 -1
  203. package/amd/TabBarItem-16383a92.js +1 -1
  204. package/amd/TabBarLayout-685ac295.js +1 -1
  205. package/amd/TabBarMixed-4e0326f5.js +1 -1
  206. package/amd/TabBarMixedSeparator-8c278254.js +2 -0
  207. package/amd/TabBarMixedSeparator-8c278254.js.map +1 -0
  208. package/amd/Table-986ae70c.js +1 -1
  209. package/amd/TagCloud-58b4a81b.js +1 -1
  210. package/amd/TextArea-916c5bb1.js +2 -0
  211. package/amd/TextArea-916c5bb1.js.map +1 -0
  212. package/amd/TextAreaAutosize-1f47b470.js +2 -0
  213. package/amd/TextAreaAutosize-1f47b470.js.map +1 -0
  214. package/amd/TextField-51daf13e.js +1 -1
  215. package/amd/TextFieldInput-d6645f5b.js +1 -1
  216. package/amd/Theme-redwood/theme.css +266 -266
  217. package/amd/Theme-stable/theme.css +240 -240
  218. package/amd/TimeComponentCanvas2D-2f1cede4.js +1 -1
  219. package/amd/Toolbar-e84c90ac.js +1 -1
  220. package/amd/TruncatingBadge-5b720ad3.js +2 -0
  221. package/amd/TruncatingBadge-5b720ad3.js.map +1 -0
  222. package/amd/TruncatingText-17a6d4b6.js +2 -0
  223. package/amd/TruncatingText-17a6d4b6.js.map +1 -0
  224. package/amd/UNSAFE_ActionCard.js +1 -1
  225. package/amd/UNSAFE_BarChart/__test__/BarChart.spec.js +1 -1
  226. package/amd/UNSAFE_BarChart.js +1 -1
  227. package/amd/UNSAFE_BaseButton.js +1 -1
  228. package/amd/UNSAFE_Button.js +1 -1
  229. package/amd/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +1 -1
  230. package/amd/UNSAFE_ButtonSet.js +1 -1
  231. package/amd/UNSAFE_ButtonSetButton.js +1 -1
  232. package/amd/UNSAFE_ButtonSetIconButton.js +1 -1
  233. package/amd/UNSAFE_ButtonSetItem.js +1 -1
  234. package/amd/UNSAFE_ButtonSetMultiple.js +1 -1
  235. package/amd/UNSAFE_ButtonSetSingle.js +1 -1
  236. package/amd/UNSAFE_CardFlexView.js +1 -1
  237. package/amd/UNSAFE_CardGridView.js +1 -1
  238. package/amd/UNSAFE_Center.js +1 -1
  239. package/amd/UNSAFE_ChartWithLegend.js +1 -1
  240. package/amd/UNSAFE_Checkbox.js +1 -1
  241. package/amd/UNSAFE_CheckboxItem.js +1 -1
  242. package/amd/UNSAFE_CheckboxSet.js +1 -1
  243. package/amd/UNSAFE_Chip.js +1 -1
  244. package/amd/UNSAFE_Collapsible.js +1 -1
  245. package/amd/UNSAFE_ComponentMessage.js +1 -1
  246. package/amd/UNSAFE_ConveyorBelt.js +1 -1
  247. package/amd/UNSAFE_DatePicker.js +1 -1
  248. package/amd/UNSAFE_Diagram.js +1 -1
  249. package/amd/UNSAFE_Dialog.js +1 -1
  250. package/amd/UNSAFE_DragHandle.js +1 -1
  251. package/amd/UNSAFE_DrawerLayout.js +1 -1
  252. package/amd/UNSAFE_DrawerPopup.js +1 -1
  253. package/amd/UNSAFE_Dropdown.js +1 -1
  254. package/amd/UNSAFE_Environment.js +1 -1
  255. package/amd/UNSAFE_ExpandableList.js +1 -1
  256. package/amd/UNSAFE_FilePicker.js +1 -1
  257. package/amd/UNSAFE_Flex.js +1 -1
  258. package/amd/UNSAFE_Floating.js +1 -1
  259. package/amd/UNSAFE_FormLayout.js +1 -1
  260. package/amd/UNSAFE_Gantt.js +1 -1
  261. package/amd/UNSAFE_Grid.js +1 -1
  262. package/amd/UNSAFE_HighlightText.js +1 -1
  263. package/amd/UNSAFE_Icon.js +1 -1
  264. package/amd/UNSAFE_IconButton.js +1 -1
  265. package/amd/UNSAFE_IconMenuButton.js +1 -1
  266. package/amd/UNSAFE_IconProgressButton.js +1 -1
  267. package/amd/UNSAFE_IconToggleButton.js +1 -1
  268. package/amd/UNSAFE_Indexer.js +1 -1
  269. package/amd/UNSAFE_InputDateMask.js +1 -1
  270. package/amd/UNSAFE_InputDatePicker.js +1 -1
  271. package/amd/UNSAFE_InputPassword.js +1 -1
  272. package/amd/UNSAFE_InputSensitiveText.js +1 -1
  273. package/amd/UNSAFE_InputText.js +1 -1
  274. package/amd/UNSAFE_Label.js +1 -1
  275. package/amd/UNSAFE_LabelValueLayout.js +1 -1
  276. package/amd/UNSAFE_LabelledLink.js +1 -1
  277. package/amd/UNSAFE_Layer.js +1 -1
  278. package/amd/UNSAFE_Legend.js +1 -1
  279. package/amd/UNSAFE_LineAreaChart/__test__/LineChart.spec.js +1 -1
  280. package/amd/UNSAFE_LineAreaChart.js +1 -1
  281. package/amd/UNSAFE_Link.js +1 -1
  282. package/amd/UNSAFE_ListItemLayout.js +1 -1
  283. package/amd/UNSAFE_ListView.js +1 -1
  284. package/amd/UNSAFE_LiveRegion.js +1 -1
  285. package/amd/UNSAFE_Menu.js +1 -1
  286. package/amd/UNSAFE_MenuButton.js +1 -1
  287. package/amd/UNSAFE_MessageBanner.js +1 -1
  288. package/amd/UNSAFE_MessageToast.js +1 -1
  289. package/amd/UNSAFE_MeterBar.js +1 -1
  290. package/amd/UNSAFE_MeterCircle.js +1 -1
  291. package/amd/UNSAFE_Modal.js +1 -1
  292. package/amd/UNSAFE_NavigationList.js +1 -1
  293. package/amd/UNSAFE_NavigationListCommon.js +1 -1
  294. package/amd/UNSAFE_NumberInputText.js +1 -1
  295. package/amd/UNSAFE_OverflowTabBar.js +1 -1
  296. package/amd/UNSAFE_PictoChart.js +1 -1
  297. package/amd/UNSAFE_PieChart/__test__/PieChart.spec.js +1 -1
  298. package/amd/UNSAFE_PieChart.js +1 -1
  299. package/amd/UNSAFE_Popup.js +1 -1
  300. package/amd/UNSAFE_ProgressBar.js +1 -1
  301. package/amd/UNSAFE_ProgressButton.js +1 -1
  302. package/amd/UNSAFE_ProgressButtonLabelLayout.js +1 -1
  303. package/amd/UNSAFE_ProgressCircle.js +1 -1
  304. package/amd/UNSAFE_RadioItem.js +1 -1
  305. package/amd/UNSAFE_RadioSet.js +1 -1
  306. package/amd/UNSAFE_RatingGauge.js +1 -1
  307. package/amd/UNSAFE_ReorderableTabBar.js +1 -1
  308. package/amd/UNSAFE_SectionalLegend.js +1 -1
  309. package/amd/UNSAFE_SelectMultiple.js +1 -1
  310. package/amd/UNSAFE_SelectSingle.js +1 -1
  311. package/amd/UNSAFE_SelectionCard.js +1 -1
  312. package/amd/UNSAFE_Selector.js +1 -1
  313. package/amd/UNSAFE_SelectorAll.js +1 -1
  314. package/amd/UNSAFE_Sheet/__test__/Sheet.spec.js +1 -1
  315. package/amd/UNSAFE_Sheet.js +1 -1
  316. package/amd/UNSAFE_SplitMenuButton.js +1 -1
  317. package/amd/UNSAFE_TabBar.js +1 -1
  318. package/amd/UNSAFE_TabBarCommon.js +1 -1
  319. package/amd/UNSAFE_TabBarMixed.js +1 -1
  320. package/amd/UNSAFE_TableView.js +1 -1
  321. package/amd/UNSAFE_TagCloud.js +1 -1
  322. package/amd/UNSAFE_TextArea.js +1 -1
  323. package/amd/UNSAFE_TextAreaAutosize.js +1 -1
  324. package/amd/UNSAFE_TextField.js +1 -1
  325. package/amd/UNSAFE_ToggleButton.js +1 -1
  326. package/amd/UNSAFE_Toolbar/tests/Toolbar.spec.js +1 -1
  327. package/amd/UNSAFE_Toolbar.js +1 -1
  328. package/amd/UNSAFE_Train.js +1 -1
  329. package/amd/UNSAFE_TruncatingBadge.js +1 -1
  330. package/amd/UNSAFE_TruncatingText.js +1 -1
  331. package/amd/UNSAFE_UserAssistance.js +1 -1
  332. package/amd/UNSAFE_View.js +1 -1
  333. package/amd/UNSAFE_VirtualizedListView.js +1 -1
  334. package/amd/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +1 -1
  335. package/amd/UNSAFE_VisProgressiveLoader.js +1 -1
  336. package/amd/UNSAFE_VisStatusMessage.js +1 -1
  337. package/amd/UNSAFE_WindowOverlay.js +1 -1
  338. package/amd/View-ce970ed7.js +2 -0
  339. package/amd/View-ce970ed7.js.map +1 -0
  340. package/amd/VisNoData-7d5f77c3.js +2 -0
  341. package/amd/VisNoData-7d5f77c3.js.map +1 -0
  342. package/amd/VisProgressiveLoader-68d8d8b3.js +2 -0
  343. package/amd/VisProgressiveLoader-68d8d8b3.js.map +1 -0
  344. package/amd/VisTabularDatatip-1051eaca.js +2 -0
  345. package/amd/VisTabularDatatip-1051eaca.js.map +1 -0
  346. package/amd/WindowOverlay-a2d80d55.js +2 -0
  347. package/amd/WindowOverlay-a2d80d55.js.map +1 -0
  348. package/amd/YearsGridView-e758c73a.js +2 -0
  349. package/amd/YearsGridView-e758c73a.js.map +1 -0
  350. package/amd/hoc/PRIVATE_withDirectionIcon.js +1 -1
  351. package/amd/hoc/PRIVATE_withThemeIcon.js +1 -1
  352. package/amd/hoc/UNSAFE_withThemeProps.js +1 -1
  353. package/amd/hooks/PRIVATE_useChartContextMenu.js +1 -1
  354. package/amd/hooks/PRIVATE_useChartDatatip.js +1 -1
  355. package/amd/hooks/PRIVATE_useChartEvents.js +1 -1
  356. package/amd/hooks/PRIVATE_useChartMarquee.js +1 -1
  357. package/amd/hooks/PRIVATE_useCssVars.js +1 -1
  358. package/amd/hooks/PRIVATE_useCurrentKey.js +1 -1
  359. package/amd/hooks/PRIVATE_useDatatip.js +1 -1
  360. package/amd/hooks/PRIVATE_useFloating.js +1 -1
  361. package/amd/hooks/PRIVATE_useReorderable.js +1 -1
  362. package/amd/hooks/PRIVATE_useRovingTabIndexContainer.js +1 -1
  363. package/amd/hooks/PRIVATE_useSelection.js +1 -1
  364. package/amd/hooks/PRIVATE_useTabBar.js +1 -1
  365. package/amd/hooks/PRIVATE_useVisContextMenu.js +1 -1
  366. package/amd/hooks/PRIVATE_useVisEvents.js +1 -1
  367. package/amd/hooks/PRIVATE_useVisMeterEvents.js +1 -1
  368. package/amd/hooks/PRIVATE_useVisSelection.js +1 -1
  369. package/amd/hooks/UNSAFE_useColorScheme.js +1 -1
  370. package/amd/hooks/UNSAFE_useCurrentBgColor.js +1 -1
  371. package/amd/hooks/UNSAFE_useDensity.js +1 -1
  372. package/amd/hooks/UNSAFE_useOutsideClick.js +1 -1
  373. package/amd/hooks/UNSAFE_usePrefixSuffix.js +1 -1
  374. package/amd/hooks/UNSAFE_useScale.js +1 -1
  375. package/amd/hooks/UNSAFE_useTestId.js +1 -1
  376. package/amd/hooks/UNSAFE_useTheme.js +1 -1
  377. package/amd/hooks/UNSAFE_useThemeInterpolations.js +1 -1
  378. package/amd/hooks/UNSAFE_useTooltip.js +1 -1
  379. package/amd/hooks/UNSAFE_useTranslationBundle.js +1 -1
  380. package/amd/hooks/UNSAFE_useUser.js +1 -1
  381. package/amd/index-735cad6d.js +2 -0
  382. package/amd/index-735cad6d.js.map +1 -0
  383. package/amd/listViewSelectionTests-a8209843.js +1 -1
  384. package/amd/render-4250c759.js +2 -0
  385. package/amd/render-4250c759.js.map +1 -0
  386. package/amd/tabbableUtils-9887f50b.js +2 -0
  387. package/amd/tabbableUtils-9887f50b.js.map +1 -0
  388. package/amd/testData-71364772.js +2 -0
  389. package/amd/testData-71364772.js.map +1 -0
  390. package/amd/tooltipUtils-3b34c2bc.js +2 -0
  391. package/amd/tooltipUtils-3b34c2bc.js.map +1 -0
  392. package/amd/useCellNavigation-1feec094.js +1 -1
  393. package/amd/useChartContextMenu-673e3de0.js +1 -1
  394. package/amd/useChartDatatip-c702890c.js +2 -0
  395. package/amd/useChartDatatip-c702890c.js.map +1 -0
  396. package/amd/useChartMarquee-62e7676c.js +1 -1
  397. package/amd/useColorScheme-10dc88de.js +2 -0
  398. package/amd/useColorScheme-10dc88de.js.map +1 -0
  399. package/amd/useContextMenu-57f18e97.js +1 -1
  400. package/amd/useCssVars-c043f8da.js +2 -0
  401. package/amd/useCssVars-c043f8da.js.map +1 -0
  402. package/amd/useCurrentBgColor-2426ee24.js +2 -0
  403. package/amd/useCurrentBgColor-2426ee24.js.map +1 -0
  404. package/amd/useCurrentKey-1d869ff4.js +2 -0
  405. package/amd/useCurrentKey-1d869ff4.js.map +1 -0
  406. package/amd/useDatatip-87792500.js +2 -0
  407. package/amd/useDatatip-87792500.js.map +1 -0
  408. package/amd/useDensity-c83df7b4.js +2 -0
  409. package/amd/useDensity-c83df7b4.js.map +1 -0
  410. package/amd/useFloating-8726c4bb.js +2 -0
  411. package/amd/useFloating-8726c4bb.js.map +1 -0
  412. package/amd/useKeyboardEvents-d87e3587.js +2 -0
  413. package/amd/useKeyboardEvents-d87e3587.js.map +1 -0
  414. package/amd/useLegendContextMenu-09c7a5a9.js +1 -1
  415. package/amd/useMeterDatatip-3abdf66a.js +2 -0
  416. package/amd/useMeterDatatip-3abdf66a.js.map +1 -0
  417. package/amd/useOutsideClick-5c2a47be.js +2 -0
  418. package/amd/useOutsideClick-5c2a47be.js.map +1 -0
  419. package/amd/usePopupAnimation-916ff96d.js +2 -0
  420. package/amd/usePopupAnimation-916ff96d.js.map +1 -0
  421. package/amd/usePrefixSuffix-09bd5925.js +2 -0
  422. package/amd/usePrefixSuffix-09bd5925.js.map +1 -0
  423. package/amd/useReorderableItem-7fd4d629.js +1 -1
  424. package/amd/useRovingTabIndexContainer-05e87912.js +2 -0
  425. package/amd/useRovingTabIndexContainer-05e87912.js.map +1 -0
  426. package/amd/useScale-37d42c9d.js +2 -0
  427. package/amd/useScale-37d42c9d.js.map +1 -0
  428. package/amd/useSelectCommon-4e256cf0.js +1 -1
  429. package/amd/useSelectDrill-a7d833b6.js +2 -0
  430. package/amd/useSelectDrill-a7d833b6.js.map +1 -0
  431. package/amd/useSelection-396ce75f.js +2 -0
  432. package/amd/useSelection-396ce75f.js.map +1 -0
  433. package/amd/useSelection-e2791513.js +2 -0
  434. package/amd/useSelection-e2791513.js.map +1 -0
  435. package/amd/useTabBar-423a0c03.js +2 -0
  436. package/amd/useTabBar-423a0c03.js.map +1 -0
  437. package/amd/useTestId-3a316499.js +2 -0
  438. package/amd/useTestId-3a316499.js.map +1 -0
  439. package/amd/useTheme-ac980f9a.js +2 -0
  440. package/amd/useTheme-ac980f9a.js.map +1 -0
  441. package/amd/useThemeInterpolations-b1d98ea4.js +2 -0
  442. package/amd/useThemeInterpolations-b1d98ea4.js.map +1 -0
  443. package/amd/useTooltip-6a5fedfa.js +2 -0
  444. package/amd/useTooltip-6a5fedfa.js.map +1 -0
  445. package/amd/useTooltipControlled-fb57eb02.js +2 -0
  446. package/amd/useTooltipControlled-fb57eb02.js.map +1 -0
  447. package/amd/useTranslationBundle-516b1b83.js +2 -0
  448. package/amd/useTranslationBundle-516b1b83.js.map +1 -0
  449. package/amd/useUser-85c781ea.js +2 -0
  450. package/amd/useUser-85c781ea.js.map +1 -0
  451. package/amd/useVisEvents-954dcd88.js +2 -0
  452. package/amd/useVisEvents-954dcd88.js.map +1 -0
  453. package/amd/utils/PRIVATE_tooltipUtils.js +1 -1
  454. package/amd/utils/PRIVATE_visTestUtils.js +1 -1
  455. package/amd/withDirectionIcon-ce0c7432.js +2 -0
  456. package/amd/withDirectionIcon-ce0c7432.js.map +1 -0
  457. package/amd/withThemeProps-4c23997e.js +1 -1
  458. package/cjs/ActionCard-ad0ecc2f.js +1 -1
  459. package/cjs/BarChart-f132cd7c.js +2 -2
  460. package/cjs/BaseButton-ae653e88.js +2 -2
  461. package/cjs/BaseCardView-55bc5e6f.js +633 -0
  462. package/cjs/BaseCardView-55bc5e6f.js.map +1 -0
  463. package/cjs/BaseCardViewSelectionTest-361f021d.js +696 -0
  464. package/cjs/BaseCardViewSelectionTest-361f021d.js.map +1 -0
  465. package/cjs/BaseNavigationListItem-4b28f14e.js +1 -1
  466. package/cjs/ButtonSet-ce6a890f.js +2 -2
  467. package/cjs/ButtonSetIconButton-d1fb3616.js +3 -3
  468. package/cjs/CardFlexView-ae79f8f1.js +29 -0
  469. package/cjs/CardFlexView-ae79f8f1.js.map +1 -0
  470. package/cjs/CardGridView-4936ffd6.js +17 -0
  471. package/cjs/CardGridView-4936ffd6.js.map +1 -0
  472. package/cjs/Center-c0baccb0.js +18 -0
  473. package/cjs/Center-c0baccb0.js.map +1 -0
  474. package/cjs/Chart-42a979a7.js +9 -9
  475. package/cjs/CheckboxControl-2e5aac8b.js +6 -6
  476. package/cjs/CheckboxRadioField-0242222e.js +6 -6
  477. package/cjs/CheckboxSet-368b907b.js +53 -0
  478. package/cjs/CheckboxSet-368b907b.js.map +1 -0
  479. package/cjs/Chip-c49b21a5.js +1 -1
  480. package/cjs/ClearIcon-c8a14c1e.js +1 -1
  481. package/cjs/CollapseIcon-9480e8dd.js +1 -1
  482. package/cjs/Collapsible-ab17d063.js +2 -2
  483. package/cjs/CompactHelpSource-42019592.js +2 -2
  484. package/cjs/CompactLabelAssistance-fa0fd800.js +36 -0
  485. package/cjs/CompactLabelAssistance-fa0fd800.js.map +1 -0
  486. package/cjs/CompactUserAssistance-62055a51.js +4 -4
  487. package/cjs/ComponentMessageContainer-b6683330.js +4 -4
  488. package/cjs/ConveyorBeltItem-6ec033ae.js +2 -2
  489. package/cjs/DatePicker-433b80d2.js +566 -0
  490. package/cjs/DatePicker-433b80d2.js.map +1 -0
  491. package/cjs/DatePickerHeader-1030b799.js +3 -3
  492. package/cjs/Diagram-5fd0306a.js +2004 -0
  493. package/cjs/Diagram-5fd0306a.js.map +1 -0
  494. package/cjs/Dialog-c75ebc82.js +121 -0
  495. package/cjs/Dialog-c75ebc82.js.map +1 -0
  496. package/cjs/DirectionalCollapseArrowIcon-6f4b267e.js +1 -1
  497. package/cjs/DirectionalExpandArrowIcon-da3e55cc.js +1 -1
  498. package/cjs/DragHandle-473e7e10.js +1 -1
  499. package/cjs/Dropdown-4554e9f9.js +82 -0
  500. package/cjs/Dropdown-4554e9f9.js.map +1 -0
  501. package/cjs/EnvironmentProvider-75eb79f3.js +61 -0
  502. package/cjs/EnvironmentProvider-75eb79f3.js.map +1 -0
  503. package/cjs/FilePicker-7414764e.js +2 -2
  504. package/cjs/Flex-e7a85bef.js +33 -0
  505. package/cjs/Flex-e7a85bef.js.map +1 -0
  506. package/cjs/Floating-25f4e655.js +464 -0
  507. package/cjs/Floating-25f4e655.js.map +1 -0
  508. package/cjs/FormLayout-a7ac29be.js +1 -1
  509. package/cjs/Gantt-efe026b9.js +9 -9
  510. package/cjs/Grid-a7316edd.js +29 -0
  511. package/cjs/Grid-a7316edd.js.map +1 -0
  512. package/cjs/Gridlines-b69b67fb.js +123 -0
  513. package/cjs/Gridlines-b69b67fb.js.map +1 -0
  514. package/cjs/GroupLoadingIndicator-397feb37.js +2 -2
  515. package/cjs/HighlightText-dd11dd32.js +33 -0
  516. package/cjs/HighlightText-dd11dd32.js.map +1 -0
  517. package/cjs/Icon-0420d662.js +3 -3
  518. package/cjs/IconButton-e120d23e.js +3 -3
  519. package/cjs/IconMenuButton-64fa2ef1.js +4 -4
  520. package/cjs/IconProgressButton-d6e5198e.js +3 -3
  521. package/cjs/IconSwitchButton-7ff785b5.js +3 -3
  522. package/cjs/IconToggleButton-2661226f.js +3 -3
  523. package/cjs/IconUserAssistance-4728958a.js +75 -0
  524. package/cjs/IconUserAssistance-4728958a.js.map +1 -0
  525. package/cjs/Indexer-1dfa7ec4.js +339 -0
  526. package/cjs/Indexer-1dfa7ec4.js.map +1 -0
  527. package/cjs/InlineHelpSource-0549100d.js +1 -1
  528. package/cjs/InlineUserAssistance-5c7fe16e.js +5 -5
  529. package/cjs/InputDateMask-3642bfa3.js +7 -7
  530. package/cjs/InputDatePicker-fe21408c.js +8 -8
  531. package/cjs/InputPassword-ed0dcf1a.js +4 -4
  532. package/cjs/InputText-77261829.js +6 -6
  533. package/cjs/Label-47446013.js +5 -5
  534. package/cjs/LabelValueLayout-4049c1a1.js +1 -1
  535. package/cjs/Layer-06ec1119.js +87 -0
  536. package/cjs/Layer-06ec1119.js.map +1 -0
  537. package/cjs/LayerHost-a8c7f182.js +45 -0
  538. package/cjs/LayerHost-a8c7f182.js.map +1 -0
  539. package/cjs/LayerManager-2d0b83ac.js +36 -0
  540. package/cjs/LayerManager-2d0b83ac.js.map +1 -0
  541. package/cjs/Legend-fe6cc085.js +3 -3
  542. package/cjs/LineAreaChart-70fae163.js +250 -0
  543. package/cjs/LineAreaChart-70fae163.js.map +1 -0
  544. package/cjs/Link-41805241.js +1 -1
  545. package/cjs/List-2baf37ae.js +633 -0
  546. package/cjs/List-2baf37ae.js.map +1 -0
  547. package/cjs/ListItemLayout-a4f562c6.js +92 -0
  548. package/cjs/ListItemLayout-a4f562c6.js.map +1 -0
  549. package/cjs/ListView-4db96cfd.js +426 -0
  550. package/cjs/ListView-4db96cfd.js.map +1 -0
  551. package/cjs/LiveRegion-567427c5.js +41 -0
  552. package/cjs/LiveRegion-567427c5.js.map +1 -0
  553. package/cjs/LoadMoreCollection-73112ff0.js +34 -0
  554. package/cjs/LoadMoreCollection-73112ff0.js.map +1 -0
  555. package/cjs/MaxLengthCounter-a5370f66.js +27 -0
  556. package/cjs/MaxLengthCounter-a5370f66.js.map +1 -0
  557. package/cjs/MaxLengthLiveRegion-f03f07c6.js +25 -0
  558. package/cjs/MaxLengthLiveRegion-f03f07c6.js.map +1 -0
  559. package/cjs/Menu-f3a85f19.js +317 -0
  560. package/cjs/Menu-f3a85f19.js.map +1 -0
  561. package/cjs/MenuButton-03bc20b0.js +3 -3
  562. package/cjs/MenuItem-45d2edd5.js +1 -1
  563. package/cjs/Message-2c831019.js +2 -2
  564. package/cjs/MessageLayer-a3792fec.js +61 -0
  565. package/cjs/MessageLayer-a3792fec.js.map +1 -0
  566. package/cjs/MessageToast-3596e8d2.js +8 -8
  567. package/cjs/MessagesManager-a607a228.js +3 -3
  568. package/cjs/MeterBar-48231b79.js +5 -5
  569. package/cjs/MeterCircle-54562c98.js +5 -5
  570. package/cjs/Modal-1c5c46ca.js +258 -0
  571. package/cjs/Modal-1c5c46ca.js.map +1 -0
  572. package/cjs/MonthView-f587275e.js +188 -0
  573. package/cjs/MonthView-f587275e.js.map +1 -0
  574. package/cjs/NavigationListItem-7550547a.js +5 -5
  575. package/cjs/NumberInputText-17d50e9d.js +6 -6
  576. package/cjs/OverflowTabBarItem-76059bad.js +3 -3
  577. package/cjs/PRIVATE_BaseCardView.js +23 -23
  578. package/cjs/PRIVATE_Chart.js +30 -30
  579. package/cjs/PRIVATE_CheckboxControl.js +22 -22
  580. package/cjs/PRIVATE_CheckboxRadioField.js +23 -23
  581. package/cjs/PRIVATE_ClearIcon.js +17 -17
  582. package/cjs/PRIVATE_DatePickerHeader.js +19 -19
  583. package/cjs/PRIVATE_DatePickerLayout.js +4 -4
  584. package/cjs/PRIVATE_EmbeddedIconButton.js +3 -3
  585. package/cjs/PRIVATE_FormControls.js +19 -19
  586. package/cjs/PRIVATE_IconSwitchButton.js +15 -15
  587. package/cjs/PRIVATE_Icons/CheckboxMixed.js +15 -15
  588. package/cjs/PRIVATE_Icons/CheckboxOff.js +15 -15
  589. package/cjs/PRIVATE_Icons/CheckboxOn.js +15 -15
  590. package/cjs/PRIVATE_Icons/RadiobuttonOff.js +15 -15
  591. package/cjs/PRIVATE_Icons/RadiobuttonOn.js +15 -15
  592. package/cjs/PRIVATE_Icons/WarningS.js +15 -15
  593. package/cjs/PRIVATE_List.js +23 -23
  594. package/cjs/PRIVATE_LoadMoreCollection.js +2 -2
  595. package/cjs/PRIVATE_Message.js +18 -18
  596. package/cjs/PRIVATE_MessageLayer.js +11 -11
  597. package/cjs/PRIVATE_MonthView.js +7 -7
  598. package/cjs/PRIVATE_MonthYearGridView.js +7 -7
  599. package/cjs/PRIVATE_PlotArea.js +4 -4
  600. package/cjs/PRIVATE_RevealToggleIcon.js +16 -16
  601. package/cjs/PRIVATE_SelectCommon.js +32 -32
  602. package/cjs/PRIVATE_StyledCheckbox.js +15 -15
  603. package/cjs/PRIVATE_Table.js +21 -21
  604. package/cjs/PRIVATE_ThemedIcons/CalendarIcon.js +15 -15
  605. package/cjs/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +15 -15
  606. package/cjs/PRIVATE_ThemedIcons/ChartPanIcon.js +15 -15
  607. package/cjs/PRIVATE_ThemedIcons/ChartZoomIcon.js +15 -15
  608. package/cjs/PRIVATE_ThemedIcons/CheckIcon.js +15 -15
  609. package/cjs/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +15 -15
  610. package/cjs/PRIVATE_ThemedIcons/CheckboxOffIcon.js +15 -15
  611. package/cjs/PRIVATE_ThemedIcons/CheckboxOnIcon.js +15 -15
  612. package/cjs/PRIVATE_ThemedIcons/CloseIcon.js +15 -15
  613. package/cjs/PRIVATE_ThemedIcons/CollapseIcon.js +16 -16
  614. package/cjs/PRIVATE_ThemedIcons/CollapseUpIcon.js +15 -15
  615. package/cjs/PRIVATE_ThemedIcons/DecrementIcon.js +15 -15
  616. package/cjs/PRIVATE_ThemedIcons/DeleteIcon.js +15 -15
  617. package/cjs/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +16 -16
  618. package/cjs/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +16 -16
  619. package/cjs/PRIVATE_ThemedIcons/DropdownArrowIcon.js +15 -15
  620. package/cjs/PRIVATE_ThemedIcons/ExpandIcon.js +15 -15
  621. package/cjs/PRIVATE_ThemedIcons/HelpIcon.js +15 -15
  622. package/cjs/PRIVATE_ThemedIcons/IncrementIcon.js +15 -15
  623. package/cjs/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +15 -15
  624. package/cjs/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +15 -15
  625. package/cjs/PRIVATE_ThemedIcons/MessageErrorIcon.js +15 -15
  626. package/cjs/PRIVATE_ThemedIcons/MessageInfoIcon.js +15 -15
  627. package/cjs/PRIVATE_ThemedIcons/MessageWarningIcon.js +15 -15
  628. package/cjs/PRIVATE_ThemedIcons/MinusIcon.js +15 -15
  629. package/cjs/PRIVATE_ThemedIcons/NavDownIcon.js +15 -15
  630. package/cjs/PRIVATE_ThemedIcons/PlusIcon.js +15 -15
  631. package/cjs/PRIVATE_ThemedIcons/RadioOffIcon.js +15 -15
  632. package/cjs/PRIVATE_ThemedIcons/RadioOnIcon.js +15 -15
  633. package/cjs/PRIVATE_ThemedIcons/SortAscendingIcon.js +15 -15
  634. package/cjs/PRIVATE_ThemedIcons/SortDefaultIcon.js +15 -15
  635. package/cjs/PRIVATE_ThemedIcons/SortDescendingIcon.js +15 -15
  636. package/cjs/PRIVATE_ThemedIcons/ViewHideIcon.js +15 -15
  637. package/cjs/PRIVATE_ThemedIcons/ViewIcon.js +15 -15
  638. package/cjs/PRIVATE_TimeComponent.js +18 -18
  639. package/cjs/PRIVATE_VirtualizedCollection.js +2 -2
  640. package/cjs/PRIVATE_VisTabularDatatip.js +4 -4
  641. package/cjs/PictoChart-e9be6f36.js +6 -6
  642. package/cjs/PieChart-31a4d639.js +435 -0
  643. package/cjs/PieChart-31a4d639.js.map +1 -0
  644. package/cjs/Popup-5bf59d47.js +242 -0
  645. package/cjs/Popup-5bf59d47.js.map +1 -0
  646. package/cjs/ProgressBar-8a5dc398.js +60 -0
  647. package/cjs/ProgressBar-8a5dc398.js.map +1 -0
  648. package/cjs/ProgressButton-b33d7947.js +3 -3
  649. package/cjs/ProgressButtonLabelLayout-26719e28.js +3 -3
  650. package/cjs/ProgressCircle-ea17b6f7.js +46 -0
  651. package/cjs/ProgressCircle-ea17b6f7.js.map +1 -0
  652. package/cjs/RadioItem-b15d604f.js +6 -6
  653. package/cjs/RatingGauge-0e0b34d4.js +7 -7
  654. package/cjs/ReadonlyTextFieldInput-af4ddced.js +1 -1
  655. package/cjs/ReadonlyTextFieldVariants.styles.css +20 -20
  656. package/cjs/ReadonlyTextFieldVariants.styles2.css +20 -20
  657. package/cjs/RemovableNavigationListItem-727e53e8.js +1 -1
  658. package/cjs/RemovableTabBarItem-da075122.js +2 -2
  659. package/cjs/ReorderableTabBar-ded69f11.js +2 -2
  660. package/cjs/RevealToggleIcon-02ef5d24.js +1 -1
  661. package/cjs/SectionalLegend-fba43a68.js +4 -4
  662. package/cjs/SectionedContent-855ddd57.js +67 -0
  663. package/cjs/SectionedContent-855ddd57.js.map +1 -0
  664. package/cjs/SelectMultiple-2d4eba14.js +1305 -0
  665. package/cjs/SelectMultiple-2d4eba14.js.map +1 -0
  666. package/cjs/SelectSingle-731c2ecd.js +731 -0
  667. package/cjs/SelectSingle-731c2ecd.js.map +1 -0
  668. package/cjs/SelectionCard-f26fdc87.js +40 -0
  669. package/cjs/SelectionCard-f26fdc87.js.map +1 -0
  670. package/cjs/Selector-66230e31.js +1 -1
  671. package/cjs/SelectorAll-f391f675.js +71 -0
  672. package/cjs/SelectorAll-f391f675.js.map +1 -0
  673. package/cjs/Sheet-d9371321.js +161 -0
  674. package/cjs/Sheet-d9371321.js.map +1 -0
  675. package/cjs/SplitMenuButton-0cf8e5a6.js +3 -3
  676. package/cjs/StyledTextField-c9e9ba81.js +3 -3
  677. package/cjs/Submenu-fbcfb818.js +1 -1
  678. package/cjs/TabBar-c13ce35f.js +6 -6
  679. package/cjs/TabBarItem-5a7d5d03.js +3 -3
  680. package/cjs/TabBarLayout-846a4d9a.js +1 -1
  681. package/cjs/TabBarMixed-81309400.js +6 -6
  682. package/cjs/TabBarMixedSeparator-0e258647.js +21 -0
  683. package/cjs/TabBarMixedSeparator-0e258647.js.map +1 -0
  684. package/cjs/Table-b137c360.js +4885 -0
  685. package/cjs/Table-b137c360.js.map +1 -0
  686. package/cjs/TableView-3a1f0c38.js +29 -0
  687. package/cjs/TableView-3a1f0c38.js.map +1 -0
  688. package/cjs/TagCloud-013c9587.js +9 -9
  689. package/cjs/TextArea-096f18ad.js +161 -0
  690. package/cjs/TextArea-096f18ad.js.map +1 -0
  691. package/cjs/TextAreaAutosize-4d30faec.js +245 -0
  692. package/cjs/TextAreaAutosize-4d30faec.js.map +1 -0
  693. package/cjs/TextField-bb91aeef.js +3 -3
  694. package/cjs/TextFieldInput-a2e8dd01.js +1 -1
  695. package/cjs/Theme-redwood/theme.css +138 -138
  696. package/cjs/Theme-stable/theme.css +383 -383
  697. package/cjs/TimeComponentCanvas2D-4de3cd67.js +5 -5
  698. package/cjs/Toolbar-3be490b0.js +1 -1
  699. package/cjs/TruncatingBadge-bc95a171.js +35 -0
  700. package/cjs/TruncatingBadge-bc95a171.js.map +1 -0
  701. package/cjs/TruncatingText-ba11c4fe.js +46 -0
  702. package/cjs/TruncatingText-ba11c4fe.js.map +1 -0
  703. package/cjs/UNSAFE_ActionCard.js +2 -2
  704. package/cjs/UNSAFE_BarChart/__test__/BarChart.spec.js +30 -30
  705. package/cjs/UNSAFE_BarChart.js +30 -30
  706. package/cjs/UNSAFE_BaseButton.js +3 -3
  707. package/cjs/UNSAFE_Button.js +3 -3
  708. package/cjs/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +19 -19
  709. package/cjs/UNSAFE_ButtonSet.js +4 -4
  710. package/cjs/UNSAFE_ButtonSetButton.js +3 -3
  711. package/cjs/UNSAFE_ButtonSetIconButton.js +15 -15
  712. package/cjs/UNSAFE_ButtonSetItem.js +15 -15
  713. package/cjs/UNSAFE_ButtonSetMultiple.js +4 -4
  714. package/cjs/UNSAFE_ButtonSetSingle.js +4 -4
  715. package/cjs/UNSAFE_CardFlexView.js +24 -24
  716. package/cjs/UNSAFE_CardGridView.js +24 -24
  717. package/cjs/UNSAFE_Center.js +5 -5
  718. package/cjs/UNSAFE_ChartWithLegend.js +4 -4
  719. package/cjs/UNSAFE_Checkbox.js +22 -22
  720. package/cjs/UNSAFE_CheckboxItem.js +101 -51
  721. package/cjs/UNSAFE_CheckboxItem.js.map +1 -1
  722. package/cjs/UNSAFE_CheckboxSet.js +37 -66
  723. package/cjs/UNSAFE_CheckboxSet.js.map +1 -1
  724. package/cjs/UNSAFE_Chip.js +2 -2
  725. package/cjs/UNSAFE_Collapsible.js +17 -17
  726. package/cjs/UNSAFE_ComponentMessage.js +18 -18
  727. package/cjs/UNSAFE_ConveyorBelt.js +15 -15
  728. package/cjs/UNSAFE_DatePicker.js +24 -24
  729. package/cjs/UNSAFE_Diagram.js +15 -15
  730. package/cjs/UNSAFE_Dialog.js +11 -11
  731. package/cjs/UNSAFE_DragHandle.js +16 -16
  732. package/cjs/UNSAFE_DrawerLayout.js +11 -11
  733. package/cjs/UNSAFE_DrawerPopup.js +10 -10
  734. package/cjs/UNSAFE_Dropdown.js +12 -12
  735. package/cjs/UNSAFE_Environment.js +4 -4
  736. package/cjs/UNSAFE_ExpandableList.js +25 -25
  737. package/cjs/UNSAFE_FilePicker.js +4 -4
  738. package/cjs/UNSAFE_Flex.js +4 -4
  739. package/cjs/UNSAFE_Floating.js +10 -10
  740. package/cjs/UNSAFE_FormLayout.js +2 -2
  741. package/cjs/UNSAFE_Gantt.js +22 -22
  742. package/cjs/UNSAFE_Grid.js +4 -4
  743. package/cjs/UNSAFE_HighlightText.js +4 -4
  744. package/cjs/UNSAFE_Icon.js +15 -15
  745. package/cjs/UNSAFE_IconButton.js +15 -15
  746. package/cjs/UNSAFE_IconMenuButton.js +19 -19
  747. package/cjs/UNSAFE_IconProgressButton.js +19 -19
  748. package/cjs/UNSAFE_IconToggleButton.js +15 -15
  749. package/cjs/UNSAFE_Indexer.js +8 -8
  750. package/cjs/UNSAFE_InputDateMask.js +23 -23
  751. package/cjs/UNSAFE_InputDatePicker.js +32 -32
  752. package/cjs/UNSAFE_InputPassword.js +22 -22
  753. package/cjs/UNSAFE_InputSensitiveText.js +24 -24
  754. package/cjs/UNSAFE_InputText.js +25 -25
  755. package/cjs/UNSAFE_Label.js +22 -22
  756. package/cjs/UNSAFE_LabelValueLayout.js +4 -4
  757. package/cjs/UNSAFE_LabelledLink.js +24 -24
  758. package/cjs/UNSAFE_Layer.js +7 -7
  759. package/cjs/UNSAFE_Legend.js +22 -22
  760. package/cjs/UNSAFE_LineAreaChart/__test__/LineChart.spec.js +30 -30
  761. package/cjs/UNSAFE_LineAreaChart.js +31 -31
  762. package/cjs/UNSAFE_Link.js +2 -2
  763. package/cjs/UNSAFE_ListItemLayout.js +5 -5
  764. package/cjs/UNSAFE_ListView.js +30 -30
  765. package/cjs/UNSAFE_LiveRegion.js +4 -4
  766. package/cjs/UNSAFE_Menu.js +21 -21
  767. package/cjs/UNSAFE_MenuButton.js +19 -19
  768. package/cjs/UNSAFE_MessageBanner.js +18 -18
  769. package/cjs/UNSAFE_MessageToast.js +21 -21
  770. package/cjs/UNSAFE_MeterBar.js +16 -16
  771. package/cjs/UNSAFE_MeterCircle.js +16 -16
  772. package/cjs/UNSAFE_Modal.js +7 -7
  773. package/cjs/UNSAFE_NavigationList.js +19 -19
  774. package/cjs/UNSAFE_NavigationListCommon.js +17 -17
  775. package/cjs/UNSAFE_NumberInputText.js +24 -24
  776. package/cjs/UNSAFE_OverflowTabBar.js +24 -24
  777. package/cjs/UNSAFE_PictoChart.js +13 -13
  778. package/cjs/UNSAFE_PieChart/__test__/PieChart.spec.js +14 -14
  779. package/cjs/UNSAFE_PieChart.js +14 -14
  780. package/cjs/UNSAFE_Popup.js +15 -15
  781. package/cjs/UNSAFE_ProgressBar.js +5 -5
  782. package/cjs/UNSAFE_ProgressButton.js +19 -19
  783. package/cjs/UNSAFE_ProgressButtonLabelLayout.js +10 -10
  784. package/cjs/UNSAFE_ProgressCircle.js +4 -4
  785. package/cjs/UNSAFE_RadioItem.js +22 -22
  786. package/cjs/UNSAFE_RadioSet.js +22 -22
  787. package/cjs/UNSAFE_RatingGauge.js +16 -16
  788. package/cjs/UNSAFE_ReorderableTabBar.js +21 -21
  789. package/cjs/UNSAFE_SectionalLegend.js +23 -23
  790. package/cjs/UNSAFE_SelectMultiple.js +36 -36
  791. package/cjs/UNSAFE_SelectSingle.js +36 -36
  792. package/cjs/UNSAFE_SelectionCard.js +4 -4
  793. package/cjs/UNSAFE_Selector.js +15 -15
  794. package/cjs/UNSAFE_SelectorAll.js +19 -19
  795. package/cjs/UNSAFE_Sheet/__test__/Sheet.spec.js +13 -13
  796. package/cjs/UNSAFE_Sheet.js +10 -10
  797. package/cjs/UNSAFE_SplitMenuButton.js +19 -19
  798. package/cjs/UNSAFE_TabBar.js +25 -25
  799. package/cjs/UNSAFE_TabBarCommon.js +24 -24
  800. package/cjs/UNSAFE_TabBarMixed.js +28 -28
  801. package/cjs/UNSAFE_TableView.js +22 -22
  802. package/cjs/UNSAFE_TagCloud.js +22 -22
  803. package/cjs/UNSAFE_TextArea.js +28 -27
  804. package/cjs/UNSAFE_TextArea.js.map +1 -1
  805. package/cjs/UNSAFE_TextAreaAutosize.js +27 -27
  806. package/cjs/UNSAFE_TextField.js +7 -7
  807. package/cjs/UNSAFE_ToggleButton.js +3 -3
  808. package/cjs/UNSAFE_Toolbar/tests/Toolbar.spec.js +21 -21
  809. package/cjs/UNSAFE_Toolbar.js +4 -4
  810. package/cjs/UNSAFE_Train.js +16 -16
  811. package/cjs/UNSAFE_TruncatingBadge.js +17 -17
  812. package/cjs/UNSAFE_TruncatingText.js +17 -17
  813. package/cjs/UNSAFE_UserAssistance.js +23 -23
  814. package/cjs/UNSAFE_View.js +7 -7
  815. package/cjs/UNSAFE_VirtualizedListView.js +24 -24
  816. package/cjs/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +8 -8
  817. package/cjs/UNSAFE_VisProgressiveLoader.js +6 -6
  818. package/cjs/UNSAFE_VisStatusMessage.js +6 -6
  819. package/cjs/UNSAFE_WindowOverlay.js +4 -4
  820. package/cjs/View-5930179e.js +170 -0
  821. package/cjs/View-5930179e.js.map +1 -0
  822. package/cjs/VirtualizedCollection-00aedb8b.js +180 -0
  823. package/cjs/VirtualizedCollection-00aedb8b.js.map +1 -0
  824. package/cjs/VirtualizedListView-75610c90.js +16 -0
  825. package/cjs/VirtualizedListView-75610c90.js.map +1 -0
  826. package/cjs/VisNoData-2a2477d9.js +35 -0
  827. package/cjs/VisNoData-2a2477d9.js.map +1 -0
  828. package/cjs/VisProgressiveLoader-dacfe618.js +53 -0
  829. package/cjs/VisProgressiveLoader-dacfe618.js.map +1 -0
  830. package/cjs/VisTabularDatatip-eca8aa8f.js +26 -0
  831. package/cjs/VisTabularDatatip-eca8aa8f.js.map +1 -0
  832. package/cjs/WindowOverlay-06408f56.js +112 -0
  833. package/cjs/WindowOverlay-06408f56.js.map +1 -0
  834. package/cjs/YearsGridView-a80db2d0.js +190 -0
  835. package/cjs/YearsGridView-a80db2d0.js.map +1 -0
  836. package/cjs/hoc/PRIVATE_withDirectionIcon.js +4 -4
  837. package/cjs/hoc/PRIVATE_withThemeIcon.js +3 -3
  838. package/cjs/hoc/UNSAFE_withThemeProps.js +3 -3
  839. package/cjs/hooks/PRIVATE_useChartContextMenu.js +18 -18
  840. package/cjs/hooks/PRIVATE_useChartDatatip.js +13 -13
  841. package/cjs/hooks/PRIVATE_useChartEvents.js +17 -17
  842. package/cjs/hooks/PRIVATE_useChartMarquee.js +17 -17
  843. package/cjs/hooks/PRIVATE_useCssVars.js +7 -7
  844. package/cjs/hooks/PRIVATE_useCurrentKey.js +4 -4
  845. package/cjs/hooks/PRIVATE_useDatatip.js +11 -11
  846. package/cjs/hooks/PRIVATE_useFloating.js +4 -4
  847. package/cjs/hooks/PRIVATE_useReorderable.js +4 -4
  848. package/cjs/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
  849. package/cjs/hooks/PRIVATE_useSelection.js +4 -4
  850. package/cjs/hooks/PRIVATE_useTabBar.js +5 -5
  851. package/cjs/hooks/PRIVATE_useVisContextMenu.js +18 -18
  852. package/cjs/hooks/PRIVATE_useVisEvents.js +4 -4
  853. package/cjs/hooks/PRIVATE_useVisMeterEvents.js +13 -13
  854. package/cjs/hooks/PRIVATE_useVisSelection.js +12 -12
  855. package/cjs/hooks/UNSAFE_useColorScheme.js +3 -3
  856. package/cjs/hooks/UNSAFE_useCurrentBgColor.js +3 -3
  857. package/cjs/hooks/UNSAFE_useDensity.js +3 -3
  858. package/cjs/hooks/UNSAFE_useOutsideClick.js +7 -7
  859. package/cjs/hooks/UNSAFE_usePrefixSuffix.js +4 -4
  860. package/cjs/hooks/UNSAFE_useScale.js +3 -3
  861. package/cjs/hooks/UNSAFE_useTestId.js +3 -3
  862. package/cjs/hooks/UNSAFE_useTheme.js +3 -3
  863. package/cjs/hooks/UNSAFE_useThemeInterpolations.js +5 -5
  864. package/cjs/hooks/UNSAFE_useTooltip.js +16 -16
  865. package/cjs/hooks/UNSAFE_useTranslationBundle.js +3 -3
  866. package/cjs/hooks/UNSAFE_useUser.js +3 -3
  867. package/cjs/index-3be205e4.js +13 -0
  868. package/cjs/index-3be205e4.js.map +1 -0
  869. package/cjs/listViewSelectionTests-b4a48819.js +4 -4
  870. package/cjs/render-1f26ad67.js +41 -0
  871. package/cjs/render-1f26ad67.js.map +1 -0
  872. package/cjs/tabbableUtils-885d29a2.js +81 -0
  873. package/cjs/tabbableUtils-885d29a2.js.map +1 -0
  874. package/cjs/testData-d3502546.js +271 -0
  875. package/cjs/testData-d3502546.js.map +1 -0
  876. package/cjs/tooltipUtils-80224e2c.js +95 -0
  877. package/cjs/tooltipUtils-80224e2c.js.map +1 -0
  878. package/cjs/useCellNavigation-6f7cd4c8.js +1 -1
  879. package/cjs/useChartContextMenu-1b415a9b.js +3 -3
  880. package/cjs/useChartDatatip-95ef7e3b.js +144 -0
  881. package/cjs/useChartDatatip-95ef7e3b.js.map +1 -0
  882. package/cjs/useChartMarquee-0900e36a.js +1 -1
  883. package/cjs/useColorScheme-ce2a88b1.js +21 -0
  884. package/cjs/useColorScheme-ce2a88b1.js.map +1 -0
  885. package/cjs/useContextMenu-0b63c292.js +3 -3
  886. package/cjs/useCssVars-bd95e715.js +60 -0
  887. package/cjs/useCssVars-bd95e715.js.map +1 -0
  888. package/cjs/useCurrentBgColor-6e39eb3a.js +21 -0
  889. package/cjs/useCurrentBgColor-6e39eb3a.js.map +1 -0
  890. package/cjs/useCurrentKey-821dd4cf.js +83 -0
  891. package/cjs/useCurrentKey-821dd4cf.js.map +1 -0
  892. package/cjs/useDatatip-3d87ecae.js +89 -0
  893. package/cjs/useDatatip-3d87ecae.js.map +1 -0
  894. package/cjs/useDensity-1f8cc921.js +21 -0
  895. package/cjs/useDensity-1f8cc921.js.map +1 -0
  896. package/cjs/useFloating-f89e60f9.js +1926 -0
  897. package/cjs/useFloating-f89e60f9.js.map +1 -0
  898. package/cjs/useKeyboardEvents-5e808fe3.js +81 -0
  899. package/cjs/useKeyboardEvents-5e808fe3.js.map +1 -0
  900. package/cjs/useLegendContextMenu-44b38b7d.js +5 -5
  901. package/cjs/useMeterDatatip-bb4cbbdb.js +85 -0
  902. package/cjs/useMeterDatatip-bb4cbbdb.js.map +1 -0
  903. package/cjs/useOutsideClick-fe4d642b.js +87 -0
  904. package/cjs/useOutsideClick-fe4d642b.js.map +1 -0
  905. package/cjs/usePopupAnimation-db67ce3c.js +87 -0
  906. package/cjs/usePopupAnimation-db67ce3c.js.map +1 -0
  907. package/cjs/usePrefixSuffix-23341de3.js +72 -0
  908. package/cjs/usePrefixSuffix-23341de3.js.map +1 -0
  909. package/cjs/useReorderableItem-bd9f073e.js +2 -2
  910. package/cjs/useRovingTabIndexContainer-1e61d935.js +100 -0
  911. package/cjs/useRovingTabIndexContainer-1e61d935.js.map +1 -0
  912. package/cjs/useScale-a681a5cb.js +21 -0
  913. package/cjs/useScale-a681a5cb.js.map +1 -0
  914. package/cjs/useSelectCommon-12313cdd.js +713 -0
  915. package/cjs/useSelectCommon-12313cdd.js.map +1 -0
  916. package/cjs/useSelectDrill-46b40346.js +105 -0
  917. package/cjs/useSelectDrill-46b40346.js.map +1 -0
  918. package/cjs/useSelection-b45ea7ae.js +243 -0
  919. package/cjs/useSelection-b45ea7ae.js.map +1 -0
  920. package/cjs/useSelection-c2d93034.js +183 -0
  921. package/cjs/useSelection-c2d93034.js.map +1 -0
  922. package/cjs/useTabBar-336e81bf.js +154 -0
  923. package/cjs/useTabBar-336e81bf.js.map +1 -0
  924. package/cjs/useTestId-5e6af45d.js +23 -0
  925. package/cjs/useTestId-5e6af45d.js.map +1 -0
  926. package/cjs/useTheme-8fb5546b.js +21 -0
  927. package/cjs/useTheme-8fb5546b.js.map +1 -0
  928. package/cjs/useThemeInterpolations-799504a1.js +33 -0
  929. package/cjs/useThemeInterpolations-799504a1.js.map +1 -0
  930. package/cjs/useTooltip-f27c5cd0.js +51 -0
  931. package/cjs/useTooltip-f27c5cd0.js.map +1 -0
  932. package/cjs/useTooltipControlled-31213955.js +393 -0
  933. package/cjs/useTooltipControlled-31213955.js.map +1 -0
  934. package/cjs/useTranslationBundle-51f4c22c.js +31 -0
  935. package/cjs/useTranslationBundle-51f4c22c.js.map +1 -0
  936. package/cjs/useUser-a4bfc560.js +21 -0
  937. package/cjs/useUser-a4bfc560.js.map +1 -0
  938. package/cjs/useVisEvents-fe2344c8.js +155 -0
  939. package/cjs/useVisEvents-fe2344c8.js.map +1 -0
  940. package/cjs/utils/PRIVATE_tooltipUtils.js +13 -13
  941. package/cjs/utils/PRIVATE_visTestUtils.js +5 -5
  942. package/cjs/withDirectionIcon-1affce30.js +16 -0
  943. package/cjs/withDirectionIcon-1affce30.js.map +1 -0
  944. package/cjs/withThemeProps-6e15f1c3.js +2 -2
  945. package/es/ActionCard-ba1c946e.js +1 -1
  946. package/es/BarChart-c68a559c.js +2 -2
  947. package/es/BaseButton-5a3335d9.js +2 -2
  948. package/es/BaseCardView-e0e8a69b.js +6 -6
  949. package/es/BaseCardViewSelectionTest-120542e8.js +683 -0
  950. package/es/BaseCardViewSelectionTest-120542e8.js.map +1 -0
  951. package/es/BaseNavigationListItem-d2a00c8f.js +47 -0
  952. package/es/BaseNavigationListItem-d2a00c8f.js.map +1 -0
  953. package/es/ButtonSet-ac76e6e2.js +2 -2
  954. package/es/ButtonSetIconButton-9241b9fb.js +3 -3
  955. package/es/Center-8b48ab02.js +16 -0
  956. package/es/Center-8b48ab02.js.map +1 -0
  957. package/es/Chart-f2438968.js +9 -9
  958. package/es/CheckboxControl-f5e36d0d.js +6 -6
  959. package/es/CheckboxRadioField-bdda2573.js +6 -6
  960. package/es/Chip-f2df2078.js +1 -1
  961. package/es/ClearIcon-b5083cc8.js +1 -1
  962. package/es/CollapseIcon-de129943.js +1 -1
  963. package/es/Collapsible-09cc493a.js +2 -2
  964. package/es/CompactHelpSource-1686edf6.js +2 -2
  965. package/es/CompactLabelAssistance-fa8264fa.js +34 -0
  966. package/es/CompactLabelAssistance-fa8264fa.js.map +1 -0
  967. package/es/CompactUserAssistance-3a10afd4.js +4 -4
  968. package/es/ComponentMessageContainer-18e7fe34.js +4 -4
  969. package/es/ConveyorBeltItem-c8d4ba1b.js +2 -2
  970. package/es/DatePicker-26b8d37b.js +564 -0
  971. package/es/DatePicker-26b8d37b.js.map +1 -0
  972. package/es/DatePickerHeader-79f0b61b.js +3 -3
  973. package/es/Diagram-6f1ad2ea.js +2002 -0
  974. package/es/Diagram-6f1ad2ea.js.map +1 -0
  975. package/es/Dialog-5e92dcd1.js +119 -0
  976. package/es/Dialog-5e92dcd1.js.map +1 -0
  977. package/es/DirectionalCollapseArrowIcon-20259aab.js +1 -1
  978. package/es/DirectionalExpandArrowIcon-36ba273c.js +1 -1
  979. package/es/DragHandle-3b768189.js +1 -1
  980. package/es/Dropdown-f45f823c.js +80 -0
  981. package/es/Dropdown-f45f823c.js.map +1 -0
  982. package/es/EnvironmentProvider-0fc2fd0c.js +58 -0
  983. package/es/EnvironmentProvider-0fc2fd0c.js.map +1 -0
  984. package/es/FilePicker-f4582615.js +2 -2
  985. package/es/Flex-8696b27b.js +30 -0
  986. package/es/Flex-8696b27b.js.map +1 -0
  987. package/es/Floating-f9bbd276.js +462 -0
  988. package/es/Floating-f9bbd276.js.map +1 -0
  989. package/es/FormLayout-221e1aa8.js +1 -1
  990. package/es/Gantt-46f5f954.js +9 -9
  991. package/es/Grid-7fd29a9e.js +27 -0
  992. package/es/Grid-7fd29a9e.js.map +1 -0
  993. package/es/Gridlines-dcdc34bc.js +120 -0
  994. package/es/Gridlines-dcdc34bc.js.map +1 -0
  995. package/es/GroupLoadingIndicator-2bfdba44.js +1 -1
  996. package/es/HighlightText-cc043982.js +31 -0
  997. package/es/HighlightText-cc043982.js.map +1 -0
  998. package/es/Icon-4171c0d7.js +3 -3
  999. package/es/IconButton-451a225c.js +3 -3
  1000. package/es/IconMenuButton-e46f8d54.js +4 -4
  1001. package/es/IconProgressButton-8f2f6b27.js +3 -3
  1002. package/es/IconSwitchButton-5ff7b0fe.js +3 -3
  1003. package/es/IconToggleButton-375f006f.js +3 -3
  1004. package/es/IconUserAssistance-dd56b812.js +73 -0
  1005. package/es/IconUserAssistance-dd56b812.js.map +1 -0
  1006. package/es/Indexer-658cee69.js +4 -4
  1007. package/es/InlineHelpSource-fcdcd122.js +1 -1
  1008. package/es/InlineUserAssistance-e6deb149.js +5 -5
  1009. package/es/InputDateMask-3d511e39.js +7 -7
  1010. package/es/InputDatePicker-6a5d95c8.js +307 -0
  1011. package/es/InputDatePicker-6a5d95c8.js.map +1 -0
  1012. package/es/InputPassword-47130b3c.js +4 -4
  1013. package/es/InputText-4799b2ed.js +6 -6
  1014. package/es/Label-ab276ca9.js +5 -5
  1015. package/es/LabelValueLayout-bcf482be.js +1 -1
  1016. package/es/Layer-71fc666f.js +84 -0
  1017. package/es/Layer-71fc666f.js.map +1 -0
  1018. package/es/LayerHost-15b42a3e.js +40 -0
  1019. package/es/LayerHost-15b42a3e.js.map +1 -0
  1020. package/es/LayerManager-af39e736.js +34 -0
  1021. package/es/LayerManager-af39e736.js.map +1 -0
  1022. package/es/Legend-ae0296f0.js +3 -3
  1023. package/es/LineAreaChart-3a7bc509.js +248 -0
  1024. package/es/LineAreaChart-3a7bc509.js.map +1 -0
  1025. package/es/Link-9072aa54.js +1 -1
  1026. package/es/List-1d23e84f.js +5 -5
  1027. package/es/ListItemLayout-32895900.js +90 -0
  1028. package/es/ListItemLayout-32895900.js.map +1 -0
  1029. package/es/ListView-8eba90e8.js +3 -3
  1030. package/es/LiveRegion-cb4f8a54.js +39 -0
  1031. package/es/LiveRegion-cb4f8a54.js.map +1 -0
  1032. package/es/MaxLengthLiveRegion-59087064.js +23 -0
  1033. package/es/MaxLengthLiveRegion-59087064.js.map +1 -0
  1034. package/es/Menu-b5deea24.js +313 -0
  1035. package/es/Menu-b5deea24.js.map +1 -0
  1036. package/es/MenuButton-49b7965d.js +3 -3
  1037. package/es/MenuItem-be46866f.js +1 -1
  1038. package/es/Message-322f8d63.js +2 -2
  1039. package/es/MessageLayer-34a390eb.js +58 -0
  1040. package/es/MessageLayer-34a390eb.js.map +1 -0
  1041. package/es/MessageToast-66bdffe6.js +8 -8
  1042. package/es/MessagesManager-a1c3e92e.js +3 -3
  1043. package/es/MeterBar-9ad34b98.js +5 -5
  1044. package/es/MeterCircle-6bd257c8.js +5 -5
  1045. package/es/Modal-3fd86d5a.js +255 -0
  1046. package/es/Modal-3fd86d5a.js.map +1 -0
  1047. package/es/MonthView-7521b583.js +186 -0
  1048. package/es/MonthView-7521b583.js.map +1 -0
  1049. package/es/NavigationList-d8f472fe.js +146 -0
  1050. package/es/NavigationList-d8f472fe.js.map +1 -0
  1051. package/es/NavigationListItem-20ff5d75.js +10 -0
  1052. package/es/NavigationListItem-20ff5d75.js.map +1 -0
  1053. package/es/NumberInputText-eca11601.js +6 -6
  1054. package/es/OverflowTabBar-5f7698bb.js +78 -0
  1055. package/es/OverflowTabBar-5f7698bb.js.map +1 -0
  1056. package/es/OverflowTabBarItem-c0ef2c6b.js +87 -0
  1057. package/es/OverflowTabBarItem-c0ef2c6b.js.map +1 -0
  1058. package/es/PRIVATE_BaseCardView.js +20 -20
  1059. package/es/PRIVATE_Chart.js +30 -30
  1060. package/es/PRIVATE_CheckboxControl.js +22 -22
  1061. package/es/PRIVATE_CheckboxRadioField.js +23 -23
  1062. package/es/PRIVATE_ClearIcon.js +17 -17
  1063. package/es/PRIVATE_DatePickerHeader.js +19 -19
  1064. package/es/PRIVATE_DatePickerLayout.js +4 -4
  1065. package/es/PRIVATE_EmbeddedIconButton.js +3 -3
  1066. package/es/PRIVATE_FormControls.js +19 -19
  1067. package/es/PRIVATE_IconSwitchButton.js +15 -15
  1068. package/es/PRIVATE_Icons/CheckboxMixed.js +15 -15
  1069. package/es/PRIVATE_Icons/CheckboxOff.js +15 -15
  1070. package/es/PRIVATE_Icons/CheckboxOn.js +15 -15
  1071. package/es/PRIVATE_Icons/RadiobuttonOff.js +15 -15
  1072. package/es/PRIVATE_Icons/RadiobuttonOn.js +15 -15
  1073. package/es/PRIVATE_Icons/WarningS.js +15 -15
  1074. package/es/PRIVATE_List.js +19 -19
  1075. package/es/PRIVATE_Message.js +18 -18
  1076. package/es/PRIVATE_MessageLayer.js +11 -11
  1077. package/es/PRIVATE_MonthView.js +15 -15
  1078. package/es/PRIVATE_MonthYearGridView.js +13 -13
  1079. package/es/PRIVATE_PlotArea.js +4 -4
  1080. package/es/PRIVATE_RevealToggleIcon.js +16 -16
  1081. package/es/PRIVATE_SelectCommon.js +27 -27
  1082. package/es/PRIVATE_StyledCheckbox.js +15 -15
  1083. package/es/PRIVATE_Table.js +18 -18
  1084. package/es/PRIVATE_ThemedIcons/CalendarIcon.js +15 -15
  1085. package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +15 -15
  1086. package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +15 -15
  1087. package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +15 -15
  1088. package/es/PRIVATE_ThemedIcons/CheckIcon.js +15 -15
  1089. package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +15 -15
  1090. package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +15 -15
  1091. package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +15 -15
  1092. package/es/PRIVATE_ThemedIcons/CloseIcon.js +15 -15
  1093. package/es/PRIVATE_ThemedIcons/CollapseIcon.js +16 -16
  1094. package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +15 -15
  1095. package/es/PRIVATE_ThemedIcons/DecrementIcon.js +15 -15
  1096. package/es/PRIVATE_ThemedIcons/DeleteIcon.js +15 -15
  1097. package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +16 -16
  1098. package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +16 -16
  1099. package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +15 -15
  1100. package/es/PRIVATE_ThemedIcons/ExpandIcon.js +15 -15
  1101. package/es/PRIVATE_ThemedIcons/HelpIcon.js +15 -15
  1102. package/es/PRIVATE_ThemedIcons/IncrementIcon.js +15 -15
  1103. package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +15 -15
  1104. package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +15 -15
  1105. package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +15 -15
  1106. package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +15 -15
  1107. package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +15 -15
  1108. package/es/PRIVATE_ThemedIcons/MinusIcon.js +15 -15
  1109. package/es/PRIVATE_ThemedIcons/NavDownIcon.js +15 -15
  1110. package/es/PRIVATE_ThemedIcons/PlusIcon.js +15 -15
  1111. package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +15 -15
  1112. package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +15 -15
  1113. package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +15 -15
  1114. package/es/PRIVATE_ThemedIcons/SortDefaultIcon.js +15 -15
  1115. package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +15 -15
  1116. package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +15 -15
  1117. package/es/PRIVATE_ThemedIcons/ViewIcon.js +15 -15
  1118. package/es/PRIVATE_TimeComponent.js +18 -18
  1119. package/es/PRIVATE_VisTabularDatatip.js +4 -4
  1120. package/es/PictoChart-3dd90503.js +6 -6
  1121. package/es/PieChart-cdb56906.js +433 -0
  1122. package/es/PieChart-cdb56906.js.map +1 -0
  1123. package/es/Popup-8becd87a.js +240 -0
  1124. package/es/Popup-8becd87a.js.map +1 -0
  1125. package/es/ProgressBar-2565d814.js +58 -0
  1126. package/es/ProgressBar-2565d814.js.map +1 -0
  1127. package/es/ProgressButton-645ce827.js +3 -3
  1128. package/es/ProgressButtonLabelLayout-6cf150e0.js +3 -3
  1129. package/es/ProgressCircle-c7f945c0.js +44 -0
  1130. package/es/ProgressCircle-c7f945c0.js.map +1 -0
  1131. package/es/RadioItem-af1bbece.js +6 -6
  1132. package/es/RatingGauge-82a6a416.js +7 -7
  1133. package/es/ReadonlyTextFieldInput-a15badb6.js +1 -1
  1134. package/es/RemovableNavigationListItem-1675a880.js +25 -0
  1135. package/es/RemovableNavigationListItem-1675a880.js.map +1 -0
  1136. package/es/RemovableTabBarItem-16d04210.js +2 -2
  1137. package/es/ReorderableTabBar-8b432272.js +80 -0
  1138. package/es/ReorderableTabBar-8b432272.js.map +1 -0
  1139. package/es/RevealToggleIcon-563c241c.js +1 -1
  1140. package/es/SectionalLegend-a9b719ff.js +4 -4
  1141. package/es/SectionedContent-237bf539.js +64 -0
  1142. package/es/SectionedContent-237bf539.js.map +1 -0
  1143. package/es/SelectMultiple-c1264885.js +8 -8
  1144. package/es/SelectSingle-8336ec24.js +7 -7
  1145. package/es/SelectionCard-1711aae6.js +38 -0
  1146. package/es/SelectionCard-1711aae6.js.map +1 -0
  1147. package/es/Selector-9f40e909.js +1 -1
  1148. package/es/SelectorAll-42ce8707.js +69 -0
  1149. package/es/SelectorAll-42ce8707.js.map +1 -0
  1150. package/es/Sheet-f7117b12.js +158 -0
  1151. package/es/Sheet-f7117b12.js.map +1 -0
  1152. package/es/SplitMenuButton-74913bcc.js +3 -3
  1153. package/es/StyledTextField-9df27ab4.js +3 -3
  1154. package/es/Submenu-c6663c1d.js +1 -1
  1155. package/es/TabBar-dd778e55.js +71 -0
  1156. package/es/TabBar-dd778e55.js.map +1 -0
  1157. package/es/TabBarItem-ba695c75.js +3 -3
  1158. package/es/TabBarLayout-8caaa060.js +1 -1
  1159. package/es/TabBarMixed-995f2781.js +81 -0
  1160. package/es/TabBarMixed-995f2781.js.map +1 -0
  1161. package/es/TabBarMixedSeparator-da56f4c0.js +19 -0
  1162. package/es/TabBarMixedSeparator-da56f4c0.js.map +1 -0
  1163. package/es/Table-3d484e2c.js +8 -8
  1164. package/es/TagCloud-823b3d82.js +9 -9
  1165. package/es/TextArea-6f18b955.js +5 -5
  1166. package/es/TextAreaAutosize-4cf2754b.js +5 -5
  1167. package/es/TextField-d4b4661d.js +3 -3
  1168. package/es/TextFieldInput-84280715.js +1 -1
  1169. package/es/Theme-redwood/theme.css +476 -476
  1170. package/es/Theme-stable/theme.css +889 -889
  1171. package/es/TimeComponentCanvas2D-72f4af98.js +5 -5
  1172. package/es/Toolbar-85379f64.js +1 -1
  1173. package/es/TruncatingBadge-7eb77ed3.js +33 -0
  1174. package/es/TruncatingBadge-7eb77ed3.js.map +1 -0
  1175. package/es/TruncatingText-93807530.js +44 -0
  1176. package/es/TruncatingText-93807530.js.map +1 -0
  1177. package/es/UNSAFE_ActionCard.js +2 -2
  1178. package/es/UNSAFE_BarChart/__test__/BarChart.spec.js +30 -30
  1179. package/es/UNSAFE_BarChart.js +30 -30
  1180. package/es/UNSAFE_BaseButton.js +3 -3
  1181. package/es/UNSAFE_Button.js +3 -3
  1182. package/es/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +19 -19
  1183. package/es/UNSAFE_ButtonSet.js +4 -4
  1184. package/es/UNSAFE_ButtonSetButton.js +3 -3
  1185. package/es/UNSAFE_ButtonSetIconButton.js +15 -15
  1186. package/es/UNSAFE_ButtonSetItem.js +15 -15
  1187. package/es/UNSAFE_ButtonSetMultiple.js +4 -4
  1188. package/es/UNSAFE_ButtonSetSingle.js +4 -4
  1189. package/es/UNSAFE_CardFlexView.js +20 -20
  1190. package/es/UNSAFE_CardGridView.js +20 -20
  1191. package/es/UNSAFE_Center.js +5 -5
  1192. package/es/UNSAFE_ChartWithLegend.js +4 -4
  1193. package/es/UNSAFE_Checkbox.js +22 -22
  1194. package/es/UNSAFE_CheckboxItem.js +23 -23
  1195. package/es/UNSAFE_CheckboxSet.js +22 -22
  1196. package/es/UNSAFE_Chip.js +2 -2
  1197. package/es/UNSAFE_Collapsible.js +17 -17
  1198. package/es/UNSAFE_ComponentMessage.js +18 -18
  1199. package/es/UNSAFE_ConveyorBelt.js +15 -15
  1200. package/es/UNSAFE_DatePicker.js +27 -27
  1201. package/es/UNSAFE_Diagram.js +15 -15
  1202. package/es/UNSAFE_Dialog.js +11 -11
  1203. package/es/UNSAFE_DragHandle.js +16 -16
  1204. package/es/UNSAFE_DrawerLayout.js +11 -11
  1205. package/es/UNSAFE_DrawerPopup.js +10 -10
  1206. package/es/UNSAFE_Dropdown.js +12 -12
  1207. package/es/UNSAFE_Environment.js +4 -4
  1208. package/es/UNSAFE_ExpandableList.js +22 -22
  1209. package/es/UNSAFE_FilePicker.js +4 -4
  1210. package/es/UNSAFE_Flex.js +4 -4
  1211. package/es/UNSAFE_Floating.js +10 -10
  1212. package/es/UNSAFE_FormLayout.js +2 -2
  1213. package/es/UNSAFE_Gantt.js +22 -22
  1214. package/es/UNSAFE_Grid.js +4 -4
  1215. package/es/UNSAFE_HighlightText.js +4 -4
  1216. package/es/UNSAFE_Icon.js +15 -15
  1217. package/es/UNSAFE_IconButton.js +15 -15
  1218. package/es/UNSAFE_IconMenuButton.js +19 -19
  1219. package/es/UNSAFE_IconProgressButton.js +19 -19
  1220. package/es/UNSAFE_IconToggleButton.js +15 -15
  1221. package/es/UNSAFE_Indexer.js +6 -6
  1222. package/es/UNSAFE_InputDateMask.js +23 -23
  1223. package/es/UNSAFE_InputDatePicker.js +112 -112
  1224. package/es/UNSAFE_InputPassword.js +22 -22
  1225. package/es/UNSAFE_InputSensitiveText.js +24 -24
  1226. package/es/UNSAFE_InputText.js +25 -25
  1227. package/es/UNSAFE_Label.js +22 -22
  1228. package/es/UNSAFE_LabelValueLayout.js +4 -4
  1229. package/es/UNSAFE_LabelledLink.js +24 -24
  1230. package/es/UNSAFE_Layer.js +7 -7
  1231. package/es/UNSAFE_Legend.js +22 -22
  1232. package/es/UNSAFE_LineAreaChart/__test__/LineChart.spec.js +30 -30
  1233. package/es/UNSAFE_LineAreaChart.js +31 -31
  1234. package/es/UNSAFE_Link.js +2 -2
  1235. package/es/UNSAFE_ListItemLayout.js +5 -5
  1236. package/es/UNSAFE_ListView.js +25 -25
  1237. package/es/UNSAFE_LiveRegion.js +4 -4
  1238. package/es/UNSAFE_Menu.js +21 -21
  1239. package/es/UNSAFE_MenuButton.js +19 -19
  1240. package/es/UNSAFE_MessageBanner.js +18 -18
  1241. package/es/UNSAFE_MessageToast.js +21 -21
  1242. package/es/UNSAFE_MeterBar.js +16 -16
  1243. package/es/UNSAFE_MeterCircle.js +16 -16
  1244. package/es/UNSAFE_Modal.js +7 -7
  1245. package/es/UNSAFE_NavigationList.js +34 -32
  1246. package/es/UNSAFE_NavigationList.js.map +1 -1
  1247. package/es/UNSAFE_NavigationListCommon.js +68 -67
  1248. package/es/UNSAFE_NavigationListCommon.js.map +1 -1
  1249. package/es/UNSAFE_NumberInputText.js +24 -24
  1250. package/es/UNSAFE_OverflowTabBar.js +52 -50
  1251. package/es/UNSAFE_OverflowTabBar.js.map +1 -1
  1252. package/es/UNSAFE_PictoChart.js +13 -13
  1253. package/es/UNSAFE_PieChart/__test__/PieChart.spec.js +14 -14
  1254. package/es/UNSAFE_PieChart.js +14 -14
  1255. package/es/UNSAFE_Popup.js +15 -15
  1256. package/es/UNSAFE_ProgressBar.js +5 -5
  1257. package/es/UNSAFE_ProgressButton.js +19 -19
  1258. package/es/UNSAFE_ProgressButtonLabelLayout.js +10 -10
  1259. package/es/UNSAFE_ProgressCircle.js +4 -4
  1260. package/es/UNSAFE_RadioItem.js +22 -22
  1261. package/es/UNSAFE_RadioSet.js +22 -22
  1262. package/es/UNSAFE_RatingGauge.js +16 -16
  1263. package/es/UNSAFE_ReorderableTabBar.js +45 -29
  1264. package/es/UNSAFE_ReorderableTabBar.js.map +1 -1
  1265. package/es/UNSAFE_SectionalLegend.js +23 -23
  1266. package/es/UNSAFE_SelectMultiple.js +30 -30
  1267. package/es/UNSAFE_SelectSingle.js +30 -30
  1268. package/es/UNSAFE_SelectionCard.js +4 -4
  1269. package/es/UNSAFE_Selector.js +15 -15
  1270. package/es/UNSAFE_SelectorAll.js +19 -19
  1271. package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +13 -13
  1272. package/es/UNSAFE_Sheet.js +10 -10
  1273. package/es/UNSAFE_SplitMenuButton.js +19 -19
  1274. package/es/UNSAFE_TabBar.js +52 -50
  1275. package/es/UNSAFE_TabBar.js.map +1 -1
  1276. package/es/UNSAFE_TabBarCommon.js +43 -41
  1277. package/es/UNSAFE_TabBarCommon.js.map +1 -1
  1278. package/es/UNSAFE_TabBarMixed.js +55 -53
  1279. package/es/UNSAFE_TabBarMixed.js.map +1 -1
  1280. package/es/UNSAFE_TableView.js +18 -18
  1281. package/es/UNSAFE_TagCloud.js +22 -22
  1282. package/es/UNSAFE_TextArea.js +24 -24
  1283. package/es/UNSAFE_TextAreaAutosize.js +24 -24
  1284. package/es/UNSAFE_TextField.js +7 -7
  1285. package/es/UNSAFE_ToggleButton.js +3 -3
  1286. package/es/UNSAFE_Toolbar/tests/Toolbar.spec.js +21 -21
  1287. package/es/UNSAFE_Toolbar.js +4 -4
  1288. package/es/UNSAFE_Train.js +16 -16
  1289. package/es/UNSAFE_TruncatingBadge.js +17 -17
  1290. package/es/UNSAFE_TruncatingText.js +17 -17
  1291. package/es/UNSAFE_UserAssistance.js +23 -23
  1292. package/es/UNSAFE_View.js +7 -7
  1293. package/es/UNSAFE_VirtualizedListView.js +19 -19
  1294. package/es/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +8 -8
  1295. package/es/UNSAFE_VisProgressiveLoader.js +6 -6
  1296. package/es/UNSAFE_VisStatusMessage.js +6 -6
  1297. package/es/UNSAFE_WindowOverlay.js +4 -4
  1298. package/es/View-63980a9b.js +167 -0
  1299. package/es/View-63980a9b.js.map +1 -0
  1300. package/es/VisNoData-da540cbd.js +32 -0
  1301. package/es/VisNoData-da540cbd.js.map +1 -0
  1302. package/es/VisProgressiveLoader-2b2103c8.js +51 -0
  1303. package/es/VisProgressiveLoader-2b2103c8.js.map +1 -0
  1304. package/es/VisTabularDatatip-2ae7ee48.js +24 -0
  1305. package/es/VisTabularDatatip-2ae7ee48.js.map +1 -0
  1306. package/es/WindowOverlay-9b43e658.js +110 -0
  1307. package/es/WindowOverlay-9b43e658.js.map +1 -0
  1308. package/es/YearsGridView-e3bde50c.js +187 -0
  1309. package/es/YearsGridView-e3bde50c.js.map +1 -0
  1310. package/es/hoc/PRIVATE_withDirectionIcon.js +4 -4
  1311. package/es/hoc/PRIVATE_withThemeIcon.js +3 -3
  1312. package/es/hoc/UNSAFE_withThemeProps.js +3 -3
  1313. package/es/hooks/PRIVATE_useChartContextMenu.js +18 -18
  1314. package/es/hooks/PRIVATE_useChartDatatip.js +13 -13
  1315. package/es/hooks/PRIVATE_useChartEvents.js +17 -17
  1316. package/es/hooks/PRIVATE_useChartMarquee.js +17 -17
  1317. package/es/hooks/PRIVATE_useCssVars.js +7 -7
  1318. package/es/hooks/PRIVATE_useCurrentKey.js +4 -4
  1319. package/es/hooks/PRIVATE_useDatatip.js +11 -11
  1320. package/es/hooks/PRIVATE_useFloating.js +4 -4
  1321. package/es/hooks/PRIVATE_useReorderable.js +4 -4
  1322. package/es/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
  1323. package/es/hooks/PRIVATE_useSelection.js +4 -4
  1324. package/es/hooks/PRIVATE_useTabBar.js +5 -5
  1325. package/es/hooks/PRIVATE_useVisContextMenu.js +18 -18
  1326. package/es/hooks/PRIVATE_useVisEvents.js +4 -4
  1327. package/es/hooks/PRIVATE_useVisMeterEvents.js +13 -13
  1328. package/es/hooks/PRIVATE_useVisSelection.js +12 -12
  1329. package/es/hooks/UNSAFE_useColorScheme.js +3 -3
  1330. package/es/hooks/UNSAFE_useCurrentBgColor.js +3 -3
  1331. package/es/hooks/UNSAFE_useDensity.js +3 -3
  1332. package/es/hooks/UNSAFE_useOutsideClick.js +7 -7
  1333. package/es/hooks/UNSAFE_usePrefixSuffix.js +4 -4
  1334. package/es/hooks/UNSAFE_useScale.js +3 -3
  1335. package/es/hooks/UNSAFE_useTestId.js +3 -3
  1336. package/es/hooks/UNSAFE_useTheme.js +3 -3
  1337. package/es/hooks/UNSAFE_useThemeInterpolations.js +5 -5
  1338. package/es/hooks/UNSAFE_useTooltip.js +16 -16
  1339. package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
  1340. package/es/hooks/UNSAFE_useUser.js +3 -3
  1341. package/es/index-e65c9009.js +11 -0
  1342. package/es/index-e65c9009.js.map +1 -0
  1343. package/es/listViewSelectionTests-0dfdcc5d.js +4 -4
  1344. package/es/render-ff141a3d.js +34 -0
  1345. package/es/render-ff141a3d.js.map +1 -0
  1346. package/es/tabbableUtils-375a33ee.js +79 -0
  1347. package/es/tabbableUtils-375a33ee.js.map +1 -0
  1348. package/es/testData-748c19ef.js +256 -0
  1349. package/es/testData-748c19ef.js.map +1 -0
  1350. package/es/tooltipUtils-1131b3ca.js +91 -0
  1351. package/es/tooltipUtils-1131b3ca.js.map +1 -0
  1352. package/es/useCellNavigation-00d575ca.js +1 -1
  1353. package/es/useChartContextMenu-8c49f584.js +3 -3
  1354. package/es/useChartDatatip-25f6bc69.js +142 -0
  1355. package/es/useChartDatatip-25f6bc69.js.map +1 -0
  1356. package/es/useChartMarquee-08025a83.js +1 -1
  1357. package/es/useColorScheme-d8a80e2b.js +19 -0
  1358. package/es/useColorScheme-d8a80e2b.js.map +1 -0
  1359. package/es/useContextMenu-12845847.js +3 -3
  1360. package/es/useCssVars-8e6932f8.js +58 -0
  1361. package/es/useCssVars-8e6932f8.js.map +1 -0
  1362. package/es/useCurrentBgColor-5418492b.js +19 -0
  1363. package/es/useCurrentBgColor-5418492b.js.map +1 -0
  1364. package/es/useCurrentKey-76e7d7b1.js +81 -0
  1365. package/es/useCurrentKey-76e7d7b1.js.map +1 -0
  1366. package/es/useDatatip-73566627.js +87 -0
  1367. package/es/useDatatip-73566627.js.map +1 -0
  1368. package/es/useDensity-64ecb649.js +19 -0
  1369. package/es/useDensity-64ecb649.js.map +1 -0
  1370. package/es/useFloating-d60cc8b4.js +1916 -0
  1371. package/es/useFloating-d60cc8b4.js.map +1 -0
  1372. package/es/useKeyboardEvents-5c311766.js +78 -0
  1373. package/es/useKeyboardEvents-5c311766.js.map +1 -0
  1374. package/es/useLegendContextMenu-926aca66.js +5 -5
  1375. package/es/useMeterDatatip-2cedbd5c.js +82 -0
  1376. package/es/useMeterDatatip-2cedbd5c.js.map +1 -0
  1377. package/es/useNavigationListItem-31226722.js +81 -0
  1378. package/es/useNavigationListItem-31226722.js.map +1 -0
  1379. package/es/useOutsideClick-725542a2.js +85 -0
  1380. package/es/useOutsideClick-725542a2.js.map +1 -0
  1381. package/es/usePopupAnimation-340f04b6.js +85 -0
  1382. package/es/usePopupAnimation-340f04b6.js.map +1 -0
  1383. package/es/usePrefixSuffix-435a9c59.js +70 -0
  1384. package/es/usePrefixSuffix-435a9c59.js.map +1 -0
  1385. package/es/useReorderableItem-c715c504.js +2 -2
  1386. package/es/useRovingTabIndexContainer-b9833086.js +98 -0
  1387. package/es/useRovingTabIndexContainer-b9833086.js.map +1 -0
  1388. package/es/useScale-c86ecc6e.js +19 -0
  1389. package/es/useScale-c86ecc6e.js.map +1 -0
  1390. package/es/useSelectCommon-7ebc86eb.js +11 -11
  1391. package/es/useSelectDrill-fbe57d95.js +102 -0
  1392. package/es/useSelectDrill-fbe57d95.js.map +1 -0
  1393. package/es/useSelection-1e1e89df.js +241 -0
  1394. package/es/useSelection-1e1e89df.js.map +1 -0
  1395. package/es/useSelection-dfbd140d.js +181 -0
  1396. package/es/useSelection-dfbd140d.js.map +1 -0
  1397. package/es/useTabBar-b826570d.js +152 -0
  1398. package/es/useTabBar-b826570d.js.map +1 -0
  1399. package/es/useTestId-3bc3958c.js +21 -0
  1400. package/es/useTestId-3bc3958c.js.map +1 -0
  1401. package/es/useTheme-4b0f211c.js +19 -0
  1402. package/es/useTheme-4b0f211c.js.map +1 -0
  1403. package/es/useThemeInterpolations-41ac870d.js +31 -0
  1404. package/es/useThemeInterpolations-41ac870d.js.map +1 -0
  1405. package/es/useTooltip-227887ea.js +49 -0
  1406. package/es/useTooltip-227887ea.js.map +1 -0
  1407. package/es/useTooltipControlled-7ccb5919.js +390 -0
  1408. package/es/useTooltipControlled-7ccb5919.js.map +1 -0
  1409. package/es/useTranslationBundle-98df6291.js +29 -0
  1410. package/es/useTranslationBundle-98df6291.js.map +1 -0
  1411. package/es/useUser-a15426fc.js +19 -0
  1412. package/es/useUser-a15426fc.js.map +1 -0
  1413. package/es/useVisEvents-ff4204b5.js +153 -0
  1414. package/es/useVisEvents-ff4204b5.js.map +1 -0
  1415. package/es/utils/PRIVATE_tooltipUtils.js +13 -13
  1416. package/es/utils/PRIVATE_visTestUtils.js +6 -6
  1417. package/es/withDirectionIcon-90d7c798.js +14 -0
  1418. package/es/withDirectionIcon-90d7c798.js.map +1 -0
  1419. package/es/withThemeProps-6545df54.js +2 -2
  1420. package/package.json +2 -2
  1421. package/amd/BaseCardViewSelectionTest-b80dd91b.js +0 -2
  1422. package/amd/BaseCardViewSelectionTest-b80dd91b.js.map +0 -1
  1423. package/amd/Center-9ec5524e.js +0 -2
  1424. package/amd/Center-9ec5524e.js.map +0 -1
  1425. package/amd/CompactLabelAssistance-bc14e060.js +0 -2
  1426. package/amd/CompactLabelAssistance-bc14e060.js.map +0 -1
  1427. package/amd/DatePicker-dd358026.js +0 -2
  1428. package/amd/DatePicker-dd358026.js.map +0 -1
  1429. package/amd/Diagram-1b48168a.js +0 -2
  1430. package/amd/Diagram-1b48168a.js.map +0 -1
  1431. package/amd/Dialog-c34f9e89.js +0 -2
  1432. package/amd/Dialog-c34f9e89.js.map +0 -1
  1433. package/amd/Dropdown-b36aa071.js +0 -2
  1434. package/amd/Dropdown-b36aa071.js.map +0 -1
  1435. package/amd/EnvironmentProvider-c0e1e39b.js +0 -2
  1436. package/amd/EnvironmentProvider-c0e1e39b.js.map +0 -1
  1437. package/amd/Flex-3421f0df.js +0 -2
  1438. package/amd/Flex-3421f0df.js.map +0 -1
  1439. package/amd/Floating-25e0092b.js +0 -2
  1440. package/amd/Floating-25e0092b.js.map +0 -1
  1441. package/amd/Grid-8911aa0f.js +0 -2
  1442. package/amd/Grid-8911aa0f.js.map +0 -1
  1443. package/amd/Gridlines-071ff524.js +0 -2
  1444. package/amd/Gridlines-071ff524.js.map +0 -1
  1445. package/amd/HighlightText-644bc74e.js +0 -2
  1446. package/amd/HighlightText-644bc74e.js.map +0 -1
  1447. package/amd/IconUserAssistance-dda606e6.js +0 -2
  1448. package/amd/IconUserAssistance-dda606e6.js.map +0 -1
  1449. package/amd/InputDatePicker-97756bcd.js +0 -2
  1450. package/amd/InputDatePicker-97756bcd.js.map +0 -1
  1451. package/amd/Layer-e835aed8.js +0 -2
  1452. package/amd/Layer-e835aed8.js.map +0 -1
  1453. package/amd/LayerHost-639b3284.js +0 -2
  1454. package/amd/LayerHost-639b3284.js.map +0 -1
  1455. package/amd/LayerManager-2972de92.js +0 -2
  1456. package/amd/LayerManager-2972de92.js.map +0 -1
  1457. package/amd/LineAreaChart-5224fce6.js +0 -2
  1458. package/amd/LineAreaChart-5224fce6.js.map +0 -1
  1459. package/amd/ListItemLayout-1d8f166a.js +0 -2
  1460. package/amd/ListItemLayout-1d8f166a.js.map +0 -1
  1461. package/amd/LiveRegion-9a362373.js +0 -2
  1462. package/amd/LiveRegion-9a362373.js.map +0 -1
  1463. package/amd/MaxLengthCounter-caafceef.js +0 -2
  1464. package/amd/MaxLengthCounter-caafceef.js.map +0 -1
  1465. package/amd/MaxLengthLiveRegion-bb956138.js +0 -2
  1466. package/amd/MaxLengthLiveRegion-bb956138.js.map +0 -1
  1467. package/amd/Menu-e682ccb9.js +0 -2
  1468. package/amd/Menu-e682ccb9.js.map +0 -1
  1469. package/amd/MessageLayer-3742e608.js +0 -2
  1470. package/amd/MessageLayer-3742e608.js.map +0 -1
  1471. package/amd/Modal-2b6ce101.js +0 -2
  1472. package/amd/Modal-2b6ce101.js.map +0 -1
  1473. package/amd/MonthView-8a1fde80.js +0 -2
  1474. package/amd/MonthView-8a1fde80.js.map +0 -1
  1475. package/amd/PieChart-45cc3798.js +0 -2
  1476. package/amd/PieChart-45cc3798.js.map +0 -1
  1477. package/amd/Popup-059eb48a.js +0 -2
  1478. package/amd/Popup-059eb48a.js.map +0 -1
  1479. package/amd/ProgressBar-479b35e5.js +0 -2
  1480. package/amd/ProgressBar-479b35e5.js.map +0 -1
  1481. package/amd/ProgressCircle-365c4568.js +0 -2
  1482. package/amd/ProgressCircle-365c4568.js.map +0 -1
  1483. package/amd/SectionedContent-2b89af7b.js +0 -2
  1484. package/amd/SectionedContent-2b89af7b.js.map +0 -1
  1485. package/amd/SelectionCard-3973de1b.js +0 -2
  1486. package/amd/SelectionCard-3973de1b.js.map +0 -1
  1487. package/amd/SelectorAll-7288e923.js +0 -2
  1488. package/amd/SelectorAll-7288e923.js.map +0 -1
  1489. package/amd/Sheet-c6fc15b2.js +0 -2
  1490. package/amd/Sheet-c6fc15b2.js.map +0 -1
  1491. package/amd/TabBarMixedSeparator-ed764207.js +0 -2
  1492. package/amd/TabBarMixedSeparator-ed764207.js.map +0 -1
  1493. package/amd/TextArea-259d741c.js +0 -2
  1494. package/amd/TextArea-259d741c.js.map +0 -1
  1495. package/amd/TextAreaAutosize-e8dc13b4.js +0 -2
  1496. package/amd/TextAreaAutosize-e8dc13b4.js.map +0 -1
  1497. package/amd/TruncatingBadge-b6a271ea.js +0 -2
  1498. package/amd/TruncatingBadge-b6a271ea.js.map +0 -1
  1499. package/amd/TruncatingText-e1aceee7.js +0 -2
  1500. package/amd/TruncatingText-e1aceee7.js.map +0 -1
  1501. package/amd/View-bd5c7fa7.js +0 -2
  1502. package/amd/View-bd5c7fa7.js.map +0 -1
  1503. package/amd/VisNoData-ed2bd5cf.js +0 -2
  1504. package/amd/VisNoData-ed2bd5cf.js.map +0 -1
  1505. package/amd/VisProgressiveLoader-06a60c8f.js +0 -2
  1506. package/amd/VisProgressiveLoader-06a60c8f.js.map +0 -1
  1507. package/amd/VisTabularDatatip-55bbd19f.js +0 -2
  1508. package/amd/VisTabularDatatip-55bbd19f.js.map +0 -1
  1509. package/amd/WindowOverlay-43c10424.js +0 -2
  1510. package/amd/WindowOverlay-43c10424.js.map +0 -1
  1511. package/amd/YearsGridView-ddc90c36.js +0 -2
  1512. package/amd/YearsGridView-ddc90c36.js.map +0 -1
  1513. package/amd/index-a444ef75.js +0 -2
  1514. package/amd/index-a444ef75.js.map +0 -1
  1515. package/amd/render-a1ae323f.js +0 -2
  1516. package/amd/render-a1ae323f.js.map +0 -1
  1517. package/amd/tabbableUtils-f5e521c8.js +0 -2
  1518. package/amd/tabbableUtils-f5e521c8.js.map +0 -1
  1519. package/amd/testData-b22c8f34.js +0 -2
  1520. package/amd/testData-b22c8f34.js.map +0 -1
  1521. package/amd/tooltipUtils-79293e46.js +0 -2
  1522. package/amd/tooltipUtils-79293e46.js.map +0 -1
  1523. package/amd/useChartDatatip-04fa72c7.js +0 -2
  1524. package/amd/useChartDatatip-04fa72c7.js.map +0 -1
  1525. package/amd/useColorScheme-443e7cc7.js +0 -2
  1526. package/amd/useColorScheme-443e7cc7.js.map +0 -1
  1527. package/amd/useCssVars-dc52806c.js +0 -2
  1528. package/amd/useCssVars-dc52806c.js.map +0 -1
  1529. package/amd/useCurrentBgColor-50142bd8.js +0 -2
  1530. package/amd/useCurrentBgColor-50142bd8.js.map +0 -1
  1531. package/amd/useCurrentKey-db6f418a.js +0 -2
  1532. package/amd/useCurrentKey-db6f418a.js.map +0 -1
  1533. package/amd/useDatatip-748e233f.js +0 -2
  1534. package/amd/useDatatip-748e233f.js.map +0 -1
  1535. package/amd/useDensity-f0f7ae9a.js +0 -2
  1536. package/amd/useDensity-f0f7ae9a.js.map +0 -1
  1537. package/amd/useFloating-a2399a51.js +0 -2
  1538. package/amd/useFloating-a2399a51.js.map +0 -1
  1539. package/amd/useKeyboardEvents-8ada7a1f.js +0 -2
  1540. package/amd/useKeyboardEvents-8ada7a1f.js.map +0 -1
  1541. package/amd/useMeterDatatip-3b5a5112.js +0 -2
  1542. package/amd/useMeterDatatip-3b5a5112.js.map +0 -1
  1543. package/amd/useOutsideClick-476e0577.js +0 -2
  1544. package/amd/useOutsideClick-476e0577.js.map +0 -1
  1545. package/amd/usePopupAnimation-6445a247.js +0 -2
  1546. package/amd/usePopupAnimation-6445a247.js.map +0 -1
  1547. package/amd/usePrefixSuffix-f7544e05.js +0 -2
  1548. package/amd/usePrefixSuffix-f7544e05.js.map +0 -1
  1549. package/amd/useRovingTabIndexContainer-94cc3710.js +0 -2
  1550. package/amd/useRovingTabIndexContainer-94cc3710.js.map +0 -1
  1551. package/amd/useScale-e311d35f.js +0 -2
  1552. package/amd/useScale-e311d35f.js.map +0 -1
  1553. package/amd/useSelectDrill-65d98139.js +0 -2
  1554. package/amd/useSelectDrill-65d98139.js.map +0 -1
  1555. package/amd/useSelection-4d3a1ea8.js +0 -2
  1556. package/amd/useSelection-4d3a1ea8.js.map +0 -1
  1557. package/amd/useSelection-a6fd13cf.js +0 -2
  1558. package/amd/useSelection-a6fd13cf.js.map +0 -1
  1559. package/amd/useTabBar-40842fb9.js +0 -2
  1560. package/amd/useTabBar-40842fb9.js.map +0 -1
  1561. package/amd/useTestId-b5cd4766.js +0 -2
  1562. package/amd/useTestId-b5cd4766.js.map +0 -1
  1563. package/amd/useTheme-a8334e06.js +0 -2
  1564. package/amd/useTheme-a8334e06.js.map +0 -1
  1565. package/amd/useThemeInterpolations-e20f8cfa.js +0 -2
  1566. package/amd/useThemeInterpolations-e20f8cfa.js.map +0 -1
  1567. package/amd/useTooltip-e4089d1a.js +0 -2
  1568. package/amd/useTooltip-e4089d1a.js.map +0 -1
  1569. package/amd/useTooltipControlled-fafb2f01.js +0 -2
  1570. package/amd/useTooltipControlled-fafb2f01.js.map +0 -1
  1571. package/amd/useTranslationBundle-d07d4b20.js +0 -2
  1572. package/amd/useTranslationBundle-d07d4b20.js.map +0 -1
  1573. package/amd/useUser-3ef25571.js +0 -2
  1574. package/amd/useUser-3ef25571.js.map +0 -1
  1575. package/amd/useVisEvents-48144382.js +0 -2
  1576. package/amd/useVisEvents-48144382.js.map +0 -1
  1577. package/amd/withDirectionIcon-74c39ee3.js +0 -2
  1578. package/amd/withDirectionIcon-74c39ee3.js.map +0 -1
  1579. package/cjs/BaseCardView-b5471a69.js +0 -633
  1580. package/cjs/BaseCardView-b5471a69.js.map +0 -1
  1581. package/cjs/BaseCardViewSelectionTest-7b06bd30.js +0 -696
  1582. package/cjs/BaseCardViewSelectionTest-7b06bd30.js.map +0 -1
  1583. package/cjs/CardFlexView-075d4013.js +0 -29
  1584. package/cjs/CardFlexView-075d4013.js.map +0 -1
  1585. package/cjs/CardGridView-3c07cf2a.js +0 -17
  1586. package/cjs/CardGridView-3c07cf2a.js.map +0 -1
  1587. package/cjs/Center-9f407cb2.js +0 -18
  1588. package/cjs/Center-9f407cb2.js.map +0 -1
  1589. package/cjs/CheckboxSetContext-c62db26d.js +0 -12
  1590. package/cjs/CheckboxSetContext-c62db26d.js.map +0 -1
  1591. package/cjs/CompactLabelAssistance-2e1cd369.js +0 -36
  1592. package/cjs/CompactLabelAssistance-2e1cd369.js.map +0 -1
  1593. package/cjs/DatePicker-670a2473.js +0 -566
  1594. package/cjs/DatePicker-670a2473.js.map +0 -1
  1595. package/cjs/Diagram-240bfa89.js +0 -2004
  1596. package/cjs/Diagram-240bfa89.js.map +0 -1
  1597. package/cjs/Dialog-be0da1e4.js +0 -121
  1598. package/cjs/Dialog-be0da1e4.js.map +0 -1
  1599. package/cjs/Dropdown-62cd15ca.js +0 -82
  1600. package/cjs/Dropdown-62cd15ca.js.map +0 -1
  1601. package/cjs/EnvironmentProvider-bfd5febc.js +0 -61
  1602. package/cjs/EnvironmentProvider-bfd5febc.js.map +0 -1
  1603. package/cjs/Flex-ce16a2fa.js +0 -33
  1604. package/cjs/Flex-ce16a2fa.js.map +0 -1
  1605. package/cjs/Floating-43033e19.js +0 -464
  1606. package/cjs/Floating-43033e19.js.map +0 -1
  1607. package/cjs/Grid-b8fadf4a.js +0 -29
  1608. package/cjs/Grid-b8fadf4a.js.map +0 -1
  1609. package/cjs/Gridlines-2dfe546a.js +0 -123
  1610. package/cjs/Gridlines-2dfe546a.js.map +0 -1
  1611. package/cjs/HighlightText-2061d12d.js +0 -33
  1612. package/cjs/HighlightText-2061d12d.js.map +0 -1
  1613. package/cjs/IconUserAssistance-9cb25135.js +0 -75
  1614. package/cjs/IconUserAssistance-9cb25135.js.map +0 -1
  1615. package/cjs/Indexer-8ba89fa5.js +0 -339
  1616. package/cjs/Indexer-8ba89fa5.js.map +0 -1
  1617. package/cjs/Layer-c0d7bdec.js +0 -87
  1618. package/cjs/Layer-c0d7bdec.js.map +0 -1
  1619. package/cjs/LayerHost-7182bfaf.js +0 -45
  1620. package/cjs/LayerHost-7182bfaf.js.map +0 -1
  1621. package/cjs/LayerManager-db087520.js +0 -36
  1622. package/cjs/LayerManager-db087520.js.map +0 -1
  1623. package/cjs/LineAreaChart-4f443939.js +0 -250
  1624. package/cjs/LineAreaChart-4f443939.js.map +0 -1
  1625. package/cjs/List-5374e621.js +0 -632
  1626. package/cjs/List-5374e621.js.map +0 -1
  1627. package/cjs/ListItemLayout-b29d8e9c.js +0 -92
  1628. package/cjs/ListItemLayout-b29d8e9c.js.map +0 -1
  1629. package/cjs/ListView-a8278334.js +0 -426
  1630. package/cjs/ListView-a8278334.js.map +0 -1
  1631. package/cjs/LiveRegion-3bc583c6.js +0 -41
  1632. package/cjs/LiveRegion-3bc583c6.js.map +0 -1
  1633. package/cjs/LoadMoreCollection-69bc038c.js +0 -34
  1634. package/cjs/LoadMoreCollection-69bc038c.js.map +0 -1
  1635. package/cjs/MaxLengthLiveRegion-5e31c44e.js +0 -25
  1636. package/cjs/MaxLengthLiveRegion-5e31c44e.js.map +0 -1
  1637. package/cjs/Menu-748e93bd.js +0 -317
  1638. package/cjs/Menu-748e93bd.js.map +0 -1
  1639. package/cjs/MessageLayer-4e21820a.js +0 -61
  1640. package/cjs/MessageLayer-4e21820a.js.map +0 -1
  1641. package/cjs/Modal-3a5d6576.js +0 -258
  1642. package/cjs/Modal-3a5d6576.js.map +0 -1
  1643. package/cjs/MonthView-dea031e2.js +0 -188
  1644. package/cjs/MonthView-dea031e2.js.map +0 -1
  1645. package/cjs/PieChart-6d6e6330.js +0 -435
  1646. package/cjs/PieChart-6d6e6330.js.map +0 -1
  1647. package/cjs/Popup-cc742f4a.js +0 -242
  1648. package/cjs/Popup-cc742f4a.js.map +0 -1
  1649. package/cjs/ProgressBar-3fa6bb2c.js +0 -60
  1650. package/cjs/ProgressBar-3fa6bb2c.js.map +0 -1
  1651. package/cjs/ProgressCircle-d5c3fb49.js +0 -46
  1652. package/cjs/ProgressCircle-d5c3fb49.js.map +0 -1
  1653. package/cjs/SectionedContent-97955b41.js +0 -67
  1654. package/cjs/SectionedContent-97955b41.js.map +0 -1
  1655. package/cjs/SelectMultiple-79cebd04.js +0 -1305
  1656. package/cjs/SelectMultiple-79cebd04.js.map +0 -1
  1657. package/cjs/SelectSingle-d8cf56db.js +0 -731
  1658. package/cjs/SelectSingle-d8cf56db.js.map +0 -1
  1659. package/cjs/SelectionCard-45a56f1b.js +0 -40
  1660. package/cjs/SelectionCard-45a56f1b.js.map +0 -1
  1661. package/cjs/SelectorAll-f2d03afc.js +0 -71
  1662. package/cjs/SelectorAll-f2d03afc.js.map +0 -1
  1663. package/cjs/Sheet-1650f94c.js +0 -161
  1664. package/cjs/Sheet-1650f94c.js.map +0 -1
  1665. package/cjs/TabBarMixedSeparator-0f55c6f6.js +0 -21
  1666. package/cjs/TabBarMixedSeparator-0f55c6f6.js.map +0 -1
  1667. package/cjs/Table-d70de040.js +0 -4885
  1668. package/cjs/Table-d70de040.js.map +0 -1
  1669. package/cjs/TableView-d91ebb19.js +0 -29
  1670. package/cjs/TableView-d91ebb19.js.map +0 -1
  1671. package/cjs/TextArea-792069d7.js +0 -179
  1672. package/cjs/TextArea-792069d7.js.map +0 -1
  1673. package/cjs/TextAreaAutosize-1989de68.js +0 -245
  1674. package/cjs/TextAreaAutosize-1989de68.js.map +0 -1
  1675. package/cjs/TruncatingBadge-6e6a04cd.js +0 -35
  1676. package/cjs/TruncatingBadge-6e6a04cd.js.map +0 -1
  1677. package/cjs/TruncatingText-c7ab9968.js +0 -46
  1678. package/cjs/TruncatingText-c7ab9968.js.map +0 -1
  1679. package/cjs/View-145a402d.js +0 -170
  1680. package/cjs/View-145a402d.js.map +0 -1
  1681. package/cjs/VirtualizedCollection-9e8c48b9.js +0 -180
  1682. package/cjs/VirtualizedCollection-9e8c48b9.js.map +0 -1
  1683. package/cjs/VirtualizedListView-16222e22.js +0 -16
  1684. package/cjs/VirtualizedListView-16222e22.js.map +0 -1
  1685. package/cjs/VisNoData-d9717007.js +0 -35
  1686. package/cjs/VisNoData-d9717007.js.map +0 -1
  1687. package/cjs/VisProgressiveLoader-5ed4eb9d.js +0 -53
  1688. package/cjs/VisProgressiveLoader-5ed4eb9d.js.map +0 -1
  1689. package/cjs/VisTabularDatatip-a06f4ca3.js +0 -26
  1690. package/cjs/VisTabularDatatip-a06f4ca3.js.map +0 -1
  1691. package/cjs/WindowOverlay-de3bd373.js +0 -112
  1692. package/cjs/WindowOverlay-de3bd373.js.map +0 -1
  1693. package/cjs/YearsGridView-c0c0a96d.js +0 -190
  1694. package/cjs/YearsGridView-c0c0a96d.js.map +0 -1
  1695. package/cjs/index-0693e95d.js +0 -13
  1696. package/cjs/index-0693e95d.js.map +0 -1
  1697. package/cjs/render-0c893805.js +0 -41
  1698. package/cjs/render-0c893805.js.map +0 -1
  1699. package/cjs/tabbableUtils-63f5918b.js +0 -81
  1700. package/cjs/tabbableUtils-63f5918b.js.map +0 -1
  1701. package/cjs/testData-f0b1927d.js +0 -271
  1702. package/cjs/testData-f0b1927d.js.map +0 -1
  1703. package/cjs/tooltipUtils-7857f698.js +0 -95
  1704. package/cjs/tooltipUtils-7857f698.js.map +0 -1
  1705. package/cjs/useChartDatatip-bbe0ccc2.js +0 -144
  1706. package/cjs/useChartDatatip-bbe0ccc2.js.map +0 -1
  1707. package/cjs/useColorScheme-e6bef5a4.js +0 -21
  1708. package/cjs/useColorScheme-e6bef5a4.js.map +0 -1
  1709. package/cjs/useCssVars-9bea15a9.js +0 -60
  1710. package/cjs/useCssVars-9bea15a9.js.map +0 -1
  1711. package/cjs/useCurrentBgColor-6835bf45.js +0 -21
  1712. package/cjs/useCurrentBgColor-6835bf45.js.map +0 -1
  1713. package/cjs/useCurrentKey-3c1736a2.js +0 -83
  1714. package/cjs/useCurrentKey-3c1736a2.js.map +0 -1
  1715. package/cjs/useDatatip-36741e5a.js +0 -89
  1716. package/cjs/useDatatip-36741e5a.js.map +0 -1
  1717. package/cjs/useDensity-38283c57.js +0 -21
  1718. package/cjs/useDensity-38283c57.js.map +0 -1
  1719. package/cjs/useFloating-2b73fcfb.js +0 -1926
  1720. package/cjs/useFloating-2b73fcfb.js.map +0 -1
  1721. package/cjs/useKeyboardEvents-7ab0d8ee.js +0 -81
  1722. package/cjs/useKeyboardEvents-7ab0d8ee.js.map +0 -1
  1723. package/cjs/useMeterDatatip-7a14c350.js +0 -85
  1724. package/cjs/useMeterDatatip-7a14c350.js.map +0 -1
  1725. package/cjs/useOutsideClick-cc17641a.js +0 -87
  1726. package/cjs/useOutsideClick-cc17641a.js.map +0 -1
  1727. package/cjs/usePopupAnimation-c88cbb64.js +0 -87
  1728. package/cjs/usePopupAnimation-c88cbb64.js.map +0 -1
  1729. package/cjs/usePrefixSuffix-1de3a724.js +0 -72
  1730. package/cjs/usePrefixSuffix-1de3a724.js.map +0 -1
  1731. package/cjs/useRovingTabIndexContainer-fcf1e77b.js +0 -100
  1732. package/cjs/useRovingTabIndexContainer-fcf1e77b.js.map +0 -1
  1733. package/cjs/useScale-a47864b4.js +0 -21
  1734. package/cjs/useScale-a47864b4.js.map +0 -1
  1735. package/cjs/useSelectCommon-309c1746.js +0 -713
  1736. package/cjs/useSelectCommon-309c1746.js.map +0 -1
  1737. package/cjs/useSelectDrill-fef4f69b.js +0 -105
  1738. package/cjs/useSelectDrill-fef4f69b.js.map +0 -1
  1739. package/cjs/useSelection-53bc100d.js +0 -243
  1740. package/cjs/useSelection-53bc100d.js.map +0 -1
  1741. package/cjs/useSelection-82cc9108.js +0 -183
  1742. package/cjs/useSelection-82cc9108.js.map +0 -1
  1743. package/cjs/useTabBar-c4835f2d.js +0 -154
  1744. package/cjs/useTabBar-c4835f2d.js.map +0 -1
  1745. package/cjs/useTestId-e267a39d.js +0 -23
  1746. package/cjs/useTestId-e267a39d.js.map +0 -1
  1747. package/cjs/useTheme-6cedf9c8.js +0 -21
  1748. package/cjs/useTheme-6cedf9c8.js.map +0 -1
  1749. package/cjs/useThemeInterpolations-67125573.js +0 -33
  1750. package/cjs/useThemeInterpolations-67125573.js.map +0 -1
  1751. package/cjs/useTooltip-e96e07ae.js +0 -51
  1752. package/cjs/useTooltip-e96e07ae.js.map +0 -1
  1753. package/cjs/useTooltipControlled-24a9c567.js +0 -393
  1754. package/cjs/useTooltipControlled-24a9c567.js.map +0 -1
  1755. package/cjs/useTranslationBundle-6b0281a9.js +0 -31
  1756. package/cjs/useTranslationBundle-6b0281a9.js.map +0 -1
  1757. package/cjs/useUser-8aaad5a7.js +0 -21
  1758. package/cjs/useUser-8aaad5a7.js.map +0 -1
  1759. package/cjs/useVisEvents-63ddac11.js +0 -155
  1760. package/cjs/useVisEvents-63ddac11.js.map +0 -1
  1761. package/cjs/withDirectionIcon-7f758093.js +0 -16
  1762. package/cjs/withDirectionIcon-7f758093.js.map +0 -1
  1763. package/es/BaseCardViewSelectionTest-2159b609.js +0 -683
  1764. package/es/BaseCardViewSelectionTest-2159b609.js.map +0 -1
  1765. package/es/BaseNavigationListItem-ac7ef3c3.js +0 -119
  1766. package/es/BaseNavigationListItem-ac7ef3c3.js.map +0 -1
  1767. package/es/Center-9f355d44.js +0 -16
  1768. package/es/Center-9f355d44.js.map +0 -1
  1769. package/es/CompactLabelAssistance-61df6dbf.js +0 -34
  1770. package/es/CompactLabelAssistance-61df6dbf.js.map +0 -1
  1771. package/es/DatePicker-d4e027c2.js +0 -564
  1772. package/es/DatePicker-d4e027c2.js.map +0 -1
  1773. package/es/Diagram-d7fdc75f.js +0 -2002
  1774. package/es/Diagram-d7fdc75f.js.map +0 -1
  1775. package/es/Dialog-cf69547f.js +0 -119
  1776. package/es/Dialog-cf69547f.js.map +0 -1
  1777. package/es/Dropdown-d017dd0a.js +0 -80
  1778. package/es/Dropdown-d017dd0a.js.map +0 -1
  1779. package/es/EnvironmentProvider-a3819bde.js +0 -58
  1780. package/es/EnvironmentProvider-a3819bde.js.map +0 -1
  1781. package/es/Flex-2d51e914.js +0 -30
  1782. package/es/Flex-2d51e914.js.map +0 -1
  1783. package/es/Floating-aebc0f85.js +0 -462
  1784. package/es/Floating-aebc0f85.js.map +0 -1
  1785. package/es/Grid-c2385b22.js +0 -27
  1786. package/es/Grid-c2385b22.js.map +0 -1
  1787. package/es/Gridlines-0e7b33f5.js +0 -120
  1788. package/es/Gridlines-0e7b33f5.js.map +0 -1
  1789. package/es/HighlightText-d505bf35.js +0 -31
  1790. package/es/HighlightText-d505bf35.js.map +0 -1
  1791. package/es/IconUserAssistance-7cfd1ed2.js +0 -73
  1792. package/es/IconUserAssistance-7cfd1ed2.js.map +0 -1
  1793. package/es/InputDatePicker-81a18a57.js +0 -307
  1794. package/es/InputDatePicker-81a18a57.js.map +0 -1
  1795. package/es/Layer-915d986a.js +0 -84
  1796. package/es/Layer-915d986a.js.map +0 -1
  1797. package/es/LayerHost-7a2149f5.js +0 -40
  1798. package/es/LayerHost-7a2149f5.js.map +0 -1
  1799. package/es/LayerManager-be34be40.js +0 -34
  1800. package/es/LayerManager-be34be40.js.map +0 -1
  1801. package/es/LineAreaChart-e2e762e8.js +0 -248
  1802. package/es/LineAreaChart-e2e762e8.js.map +0 -1
  1803. package/es/ListItemLayout-01286b56.js +0 -90
  1804. package/es/ListItemLayout-01286b56.js.map +0 -1
  1805. package/es/LiveRegion-5302331c.js +0 -39
  1806. package/es/LiveRegion-5302331c.js.map +0 -1
  1807. package/es/MaxLengthLiveRegion-9b386b63.js +0 -23
  1808. package/es/MaxLengthLiveRegion-9b386b63.js.map +0 -1
  1809. package/es/Menu-e44a3e0b.js +0 -313
  1810. package/es/Menu-e44a3e0b.js.map +0 -1
  1811. package/es/MessageLayer-f09b0a1b.js +0 -58
  1812. package/es/MessageLayer-f09b0a1b.js.map +0 -1
  1813. package/es/Modal-862b8167.js +0 -255
  1814. package/es/Modal-862b8167.js.map +0 -1
  1815. package/es/MonthView-3d90f424.js +0 -186
  1816. package/es/MonthView-3d90f424.js.map +0 -1
  1817. package/es/NavigationListItem-a336f06f.js +0 -163
  1818. package/es/NavigationListItem-a336f06f.js.map +0 -1
  1819. package/es/OverflowTabBar-7d5212e3.js +0 -78
  1820. package/es/OverflowTabBar-7d5212e3.js.map +0 -1
  1821. package/es/OverflowTabBarItem-12249753.js +0 -86
  1822. package/es/OverflowTabBarItem-12249753.js.map +0 -1
  1823. package/es/PieChart-d4f63bd8.js +0 -433
  1824. package/es/PieChart-d4f63bd8.js.map +0 -1
  1825. package/es/Popup-7cc4028b.js +0 -240
  1826. package/es/Popup-7cc4028b.js.map +0 -1
  1827. package/es/ProgressBar-d647bba4.js +0 -58
  1828. package/es/ProgressBar-d647bba4.js.map +0 -1
  1829. package/es/ProgressCircle-13dc0e4f.js +0 -44
  1830. package/es/ProgressCircle-13dc0e4f.js.map +0 -1
  1831. package/es/RemovableNavigationListItem-7032ce3e.js +0 -24
  1832. package/es/RemovableNavigationListItem-7032ce3e.js.map +0 -1
  1833. package/es/ReorderableTabBar-981af0f2.js +0 -80
  1834. package/es/ReorderableTabBar-981af0f2.js.map +0 -1
  1835. package/es/SectionedContent-7e36073f.js +0 -64
  1836. package/es/SectionedContent-7e36073f.js.map +0 -1
  1837. package/es/SelectionCard-a27bce15.js +0 -38
  1838. package/es/SelectionCard-a27bce15.js.map +0 -1
  1839. package/es/SelectorAll-40c76f0b.js +0 -69
  1840. package/es/SelectorAll-40c76f0b.js.map +0 -1
  1841. package/es/Sheet-34f3bcb4.js +0 -158
  1842. package/es/Sheet-34f3bcb4.js.map +0 -1
  1843. package/es/TabBar-90cea652.js +0 -66
  1844. package/es/TabBar-90cea652.js.map +0 -1
  1845. package/es/TabBarMixed-52ac388e.js +0 -76
  1846. package/es/TabBarMixed-52ac388e.js.map +0 -1
  1847. package/es/TabBarMixedSeparator-16c88691.js +0 -19
  1848. package/es/TabBarMixedSeparator-16c88691.js.map +0 -1
  1849. package/es/TruncatingBadge-e5f38bc8.js +0 -33
  1850. package/es/TruncatingBadge-e5f38bc8.js.map +0 -1
  1851. package/es/TruncatingText-c3719839.js +0 -44
  1852. package/es/TruncatingText-c3719839.js.map +0 -1
  1853. package/es/View-a8a64eb1.js +0 -167
  1854. package/es/View-a8a64eb1.js.map +0 -1
  1855. package/es/VisNoData-673b58e9.js +0 -32
  1856. package/es/VisNoData-673b58e9.js.map +0 -1
  1857. package/es/VisProgressiveLoader-66dde1ff.js +0 -51
  1858. package/es/VisProgressiveLoader-66dde1ff.js.map +0 -1
  1859. package/es/VisTabularDatatip-6aa607bb.js +0 -24
  1860. package/es/VisTabularDatatip-6aa607bb.js.map +0 -1
  1861. package/es/WindowOverlay-de5d0819.js +0 -110
  1862. package/es/WindowOverlay-de5d0819.js.map +0 -1
  1863. package/es/YearsGridView-5b5c1746.js +0 -187
  1864. package/es/YearsGridView-5b5c1746.js.map +0 -1
  1865. package/es/index-fee93bf9.js +0 -11
  1866. package/es/index-fee93bf9.js.map +0 -1
  1867. package/es/render-d92a7051.js +0 -34
  1868. package/es/render-d92a7051.js.map +0 -1
  1869. package/es/tabbableUtils-1b4c2eea.js +0 -79
  1870. package/es/tabbableUtils-1b4c2eea.js.map +0 -1
  1871. package/es/testData-ca9503e6.js +0 -256
  1872. package/es/testData-ca9503e6.js.map +0 -1
  1873. package/es/tooltipUtils-06c93436.js +0 -91
  1874. package/es/tooltipUtils-06c93436.js.map +0 -1
  1875. package/es/useChartDatatip-82dba484.js +0 -142
  1876. package/es/useChartDatatip-82dba484.js.map +0 -1
  1877. package/es/useColorScheme-f69d53b5.js +0 -19
  1878. package/es/useColorScheme-f69d53b5.js.map +0 -1
  1879. package/es/useCssVars-48595cd2.js +0 -58
  1880. package/es/useCssVars-48595cd2.js.map +0 -1
  1881. package/es/useCurrentBgColor-894d059b.js +0 -19
  1882. package/es/useCurrentBgColor-894d059b.js.map +0 -1
  1883. package/es/useCurrentKey-55123e83.js +0 -81
  1884. package/es/useCurrentKey-55123e83.js.map +0 -1
  1885. package/es/useDatatip-01d7ddeb.js +0 -87
  1886. package/es/useDatatip-01d7ddeb.js.map +0 -1
  1887. package/es/useDensity-04a01caf.js +0 -19
  1888. package/es/useDensity-04a01caf.js.map +0 -1
  1889. package/es/useFloating-c9278755.js +0 -1916
  1890. package/es/useFloating-c9278755.js.map +0 -1
  1891. package/es/useKeyboardEvents-b02e5fda.js +0 -78
  1892. package/es/useKeyboardEvents-b02e5fda.js.map +0 -1
  1893. package/es/useMeterDatatip-43e31c05.js +0 -82
  1894. package/es/useMeterDatatip-43e31c05.js.map +0 -1
  1895. package/es/useOutsideClick-388c62bd.js +0 -85
  1896. package/es/useOutsideClick-388c62bd.js.map +0 -1
  1897. package/es/usePopupAnimation-b4577940.js +0 -85
  1898. package/es/usePopupAnimation-b4577940.js.map +0 -1
  1899. package/es/usePrefixSuffix-995d4cda.js +0 -70
  1900. package/es/usePrefixSuffix-995d4cda.js.map +0 -1
  1901. package/es/useRovingTabIndexContainer-097f96a6.js +0 -98
  1902. package/es/useRovingTabIndexContainer-097f96a6.js.map +0 -1
  1903. package/es/useScale-3b323ab2.js +0 -19
  1904. package/es/useScale-3b323ab2.js.map +0 -1
  1905. package/es/useSelectDrill-8b53d932.js +0 -102
  1906. package/es/useSelectDrill-8b53d932.js.map +0 -1
  1907. package/es/useSelection-7c94a24f.js +0 -241
  1908. package/es/useSelection-7c94a24f.js.map +0 -1
  1909. package/es/useSelection-b7c3e75e.js +0 -181
  1910. package/es/useSelection-b7c3e75e.js.map +0 -1
  1911. package/es/useTabBar-6c6847ef.js +0 -152
  1912. package/es/useTabBar-6c6847ef.js.map +0 -1
  1913. package/es/useTestId-af32a9eb.js +0 -21
  1914. package/es/useTestId-af32a9eb.js.map +0 -1
  1915. package/es/useTheme-73aca0e4.js +0 -19
  1916. package/es/useTheme-73aca0e4.js.map +0 -1
  1917. package/es/useThemeInterpolations-4f6cc83c.js +0 -31
  1918. package/es/useThemeInterpolations-4f6cc83c.js.map +0 -1
  1919. package/es/useTooltip-e258ea41.js +0 -49
  1920. package/es/useTooltip-e258ea41.js.map +0 -1
  1921. package/es/useTooltipControlled-50d5dac9.js +0 -390
  1922. package/es/useTooltipControlled-50d5dac9.js.map +0 -1
  1923. package/es/useTranslationBundle-6da03e52.js +0 -29
  1924. package/es/useTranslationBundle-6da03e52.js.map +0 -1
  1925. package/es/useUser-bca8cf2d.js +0 -19
  1926. package/es/useUser-bca8cf2d.js.map +0 -1
  1927. package/es/useVisEvents-cd3616aa.js +0 -153
  1928. package/es/useVisEvents-cd3616aa.js.map +0 -1
  1929. package/es/withDirectionIcon-389870a2.js +0 -14
  1930. package/es/withDirectionIcon-389870a2.js.map +0 -1
@@ -0,0 +1,2002 @@
1
+ /* @oracle/oraclejet-preact: undefined */
2
+ import { jsx, jsxs, Fragment } from 'preact/jsx-runtime';
3
+ import { T as TrackResizeContainer } from './TrackResizeContainer-6a6eb330.js';
4
+ import { itemStyles, layerStyles, labelStyles, panZoomStyles, outerStyles, dimensionStyle } from './UNSAFE_Diagram/themes/DiagramStyles.css.js';
5
+ import { u as useResizeObserver } from './useResizeObserver-260ee12b.js';
6
+ import { useRef, useCallback, useState } from 'preact/hooks';
7
+ import { g as generateAriaLabel } from './accUtils-dc32d20b.js';
8
+ import { c as classNames } from './classNames-4e12b00d.js';
9
+ import { u as useTranslationBundle } from './useTranslationBundle-98df6291.js';
10
+ import { u as useUser } from './useUser-a15426fc.js';
11
+ import { g as getRandomId } from './layoutUtils-2374ab3e.js';
12
+ import { u as useVisHover } from './useVisHover-d7a0b2f3.js';
13
+ import { m as mergeProps } from './mergeProps-88ea8306.js';
14
+ import { u as useDatatip } from './useDatatip-73566627.js';
15
+ import { c as calculateOffset } from './util-c1d41418.js';
16
+ import { u as useTextDimensions } from './useTextDimensions-e48f2781.js';
17
+ import { u as useSelection } from './useSelection-dfbd140d.js';
18
+ import { u as useVisTouchResponse } from './useVisTouchResponse-e9ca4766.js';
19
+ import { m as merge } from './stringUtils-16f617bc.js';
20
+
21
+ const ZOOM_TO_FIT_PADDING = 20;
22
+ /**
23
+ * Returns the pan properties for the diagram.
24
+ */
25
+ function getPanProps(props, contentBounds) {
26
+ return {
27
+ panning: props.panning ? props.panning : 'off',
28
+ panDirection: props.panDirection ? props.panDirection : 'any',
29
+ centerX: props.centerX !== undefined ? props.centerX : contentBounds.w / 2 + contentBounds.x,
30
+ centerY: props.centerY !== undefined ? props.centerY : contentBounds.h / 2 + contentBounds.y,
31
+ onPan: props.onPan
32
+ };
33
+ }
34
+ /**
35
+ * Returns the zoom properties for the diagram.
36
+ */
37
+ function getZoomProps(props, width, height, contentBounds) {
38
+ const minZoom = props.minZoom ? props.minZoom : getZoomToFitZoom(width, height, contentBounds);
39
+ const maxZoom = props.maxZoom !== undefined ? props.maxZoom : 1;
40
+ const zoom = props.zoomValue ? props.zoomValue : getZoomToFitZoom(width, height, contentBounds);
41
+ return {
42
+ zooming: props.zooming ? props.zooming : 'off',
43
+ // default value of 0 indicates zoom-to-fit level
44
+ minZoom: minZoom,
45
+ maxZoom: maxZoom,
46
+ // zoom value of 0 will default to zoom to fit
47
+ zoomValue: constrainZoom(zoom, minZoom, maxZoom),
48
+ onZoom: props.onZoom
49
+ };
50
+ }
51
+ /**
52
+ * Constructs the json object to be passed into the layout function
53
+ */
54
+ function constructLayoutJSON(nodes, nodeItems, linkItems, dimensions, width, height, getTextDimensions) {
55
+ const labelDims = new Map();
56
+ const nodeKeys = Array.from(nodeItems.keys());
57
+ for (const id of nodeKeys) {
58
+ const item = nodeItems.get(id);
59
+ if (item && getTextDimensions && item.label) {
60
+ const label = item.label;
61
+ const fontProps = _getFontProps(item.labelStyle);
62
+ labelDims.set(id, getTextDimensions(label, fontProps));
63
+ }
64
+ }
65
+ const linkKeys = Array.from(linkItems.keys());
66
+ for (const id of linkKeys) {
67
+ const item = linkItems.get(id);
68
+ if (item && getTextDimensions && item.label) {
69
+ const label = item.label;
70
+ const fontProps = _getFontProps(item.labelStyle);
71
+ labelDims.set(id, getTextDimensions(label, fontProps));
72
+ }
73
+ }
74
+ const getLabelDimensions = function (data) {
75
+ return labelDims.get(data.id);
76
+ };
77
+ const getNodeDimensions = function (data) {
78
+ for (let i = 0; i < nodes.length; i++) {
79
+ if (data.id === nodes[i].id) {
80
+ return dimensions[i];
81
+ }
82
+ }
83
+ return dimensions[0];
84
+ };
85
+ return {
86
+ layoutJSON: {
87
+ getNodeDimensions: getNodeDimensions,
88
+ getLabelDimensions: getLabelDimensions,
89
+ componentSize: {
90
+ width: width,
91
+ height: height
92
+ }
93
+ },
94
+ labelDims: labelDims
95
+ };
96
+ }
97
+ /**
98
+ * Deconstructs the output of the layout function
99
+ */
100
+ function deconstructLayoutJSON(layoutJSON, nodeData, linkData) {
101
+ const nodes = layoutJSON.nodes;
102
+ const links = layoutJSON.links;
103
+ const positions = [];
104
+ const nodeLabelPos = [];
105
+ const linkLabelPos = [];
106
+ let hasNodeLabels = false;
107
+ let hasLinkLabels = false;
108
+ let node, link;
109
+ for (let i = 0; i < nodeData.length; i++) {
110
+ node = nodes[nodeData[i].id];
111
+ positions.push(node.position);
112
+ if (node.label)
113
+ hasNodeLabels = true;
114
+ nodeLabelPos.push(node.label);
115
+ }
116
+ if (links) {
117
+ for (let i = 0; i < linkData.length; i++) {
118
+ link = links[linkData[i].id];
119
+ if (link.label)
120
+ hasLinkLabels = true;
121
+ linkLabelPos.push(link.label);
122
+ }
123
+ }
124
+ return {
125
+ nodePoints: positions,
126
+ nodeLabelPos: hasNodeLabels ? nodeLabelPos : undefined,
127
+ linkLabelPos: hasLinkLabels ? linkLabelPos : undefined
128
+ };
129
+ }
130
+ /**
131
+ * Merges the node points into the dimensions
132
+ */
133
+ function mergeDimensions(dimensions, nodePoints) {
134
+ const newBounds = [];
135
+ for (let i = 0; i < dimensions.length; i++) {
136
+ const point = nodePoints[i];
137
+ const dim = dimensions[i];
138
+ newBounds.push({ x: point.x, y: point.y, w: dim.w, h: dim.h });
139
+ }
140
+ return newBounds;
141
+ }
142
+ /**
143
+ * Returns the text for the diagram datatip.
144
+ */
145
+ function getDatatipContent(nodesMap, linksMap, focusedItem, hoveredItem, datatip) {
146
+ let itemInfo;
147
+ const isPointerActive = hoveredItem?.isCurrent;
148
+ if (isPointerActive && hoveredItem.id != null) {
149
+ itemInfo = hoveredItem;
150
+ }
151
+ if (focusedItem && focusedItem.isCurrent) {
152
+ itemInfo = focusedItem;
153
+ }
154
+ if (itemInfo && datatip) {
155
+ return datatip(itemInfo.isNode
156
+ ? { data: nodesMap.get(itemInfo.id), type: 'node' }
157
+ : { data: linksMap.get(itemInfo.id), type: 'link' });
158
+ }
159
+ if (itemInfo) {
160
+ const text = (itemInfo.isNode ? nodesMap.get(itemInfo.id) : linksMap.get(itemInfo.id))?.accessibleLabel;
161
+ return {
162
+ content: text
163
+ };
164
+ }
165
+ return;
166
+ }
167
+ /**
168
+ * Creates a map with key id and value node or link data
169
+ */
170
+ function createItemMap(items) {
171
+ const itemIdToDataMap = new Map();
172
+ const itemIdToIndexMap = new Map();
173
+ const itemIndexToIdMap = new Map();
174
+ for (let i = 0; i < items.length; i++) {
175
+ itemIdToDataMap.set(items[i].id, items[i]);
176
+ itemIdToIndexMap.set(items[i].id, i);
177
+ itemIndexToIdMap.set(i, items[i].id);
178
+ }
179
+ return {
180
+ itemIdToDataMap,
181
+ itemIdToIndexMap,
182
+ itemIndexToIdMap
183
+ };
184
+ }
185
+ /**
186
+ * Filter out links with no start or end nodes
187
+ */
188
+ function filterLinksWithNoEndNodes(links, nodesMap) {
189
+ const newLinks = [];
190
+ for (let i = 0; i < links.length; i++) {
191
+ const link = links[i];
192
+ if (nodesMap.get(link.startNode) && nodesMap.get(link.endNode)) {
193
+ newLinks.push(link);
194
+ }
195
+ }
196
+ return newLinks;
197
+ }
198
+ /**
199
+ * Pulls out the dimensions from an array of bounds
200
+ */
201
+ function getDimensionsFromBounds(bounds) {
202
+ const dims = [];
203
+ for (let i = 0; i < bounds.length; i++) {
204
+ dims.push({ w: bounds[i].w, h: bounds[i].h });
205
+ }
206
+ return dims;
207
+ }
208
+ /**
209
+ * Returns the center position of the node or link
210
+ * For links, draws a straight line between the centers of the start/end node
211
+ * and returns the center of that line
212
+ */
213
+ function getFocusedItemBounds(focusedItemInfo, bounds, links, nodeIdToIndexMap, linkIdToIndexMap) {
214
+ if (focusedItemInfo.isNode) {
215
+ const idx = nodeIdToIndexMap.get(focusedItemInfo.id);
216
+ // Return the first element if cannot find the Node index
217
+ return bounds[idx || 0];
218
+ }
219
+ else {
220
+ // Center of a straight line between start/end node centers
221
+ const link = links[linkIdToIndexMap.get(focusedItemInfo.id) || 0];
222
+ const startNB = bounds[nodeIdToIndexMap.get(link.startNode) || 0];
223
+ const endNB = bounds[nodeIdToIndexMap.get(link.endNode) || 0];
224
+ const startNCenter = { x: startNB.x + startNB.w / 2, y: startNB.y + startNB.h / 2 };
225
+ const endNCenter = { x: endNB.x + endNB.w / 2, y: endNB.y + endNB.h / 2 };
226
+ const minX = Math.min(startNCenter.x, endNCenter.x);
227
+ const minY = Math.min(startNCenter.y, endNCenter.y);
228
+ return {
229
+ x: minX,
230
+ y: minY,
231
+ w: Math.abs(startNCenter.x - endNCenter.x),
232
+ h: Math.abs(startNCenter.y - endNCenter.y)
233
+ };
234
+ }
235
+ }
236
+ /**
237
+ * Combines the node and link ids into one array
238
+ */
239
+ function combineIds(nodeIds, linkIds) {
240
+ const combinedIds = [];
241
+ if (nodeIds) {
242
+ for (let i = 0; i < nodeIds.length; i++) {
243
+ combinedIds.push(nodeIds[i]);
244
+ }
245
+ }
246
+ if (linkIds) {
247
+ for (let i = 0; i < linkIds.length; i++) {
248
+ combinedIds.push(linkIds[i]);
249
+ }
250
+ }
251
+ return combinedIds;
252
+ }
253
+ /**
254
+ * Returns the bounds of the diagram content
255
+ */
256
+ function getContentBounds(nodeBounds, labelBounds) {
257
+ if (nodeBounds.length === 0)
258
+ return { x: 0, w: Infinity, y: 0, h: Infinity };
259
+ let minX = Infinity;
260
+ let minY = Infinity;
261
+ let maxX = -Infinity;
262
+ let maxY = -Infinity;
263
+ let dims;
264
+ for (let i = 0; i < nodeBounds.length; i++) {
265
+ dims = nodeBounds[i];
266
+ minX = dims.x < minX ? dims.x : minX;
267
+ minY = dims.y < minY ? dims.y : minY;
268
+ maxX = dims.x + dims.w > maxX ? dims.x + dims.w : maxX;
269
+ maxY = dims.y + dims.h > maxY ? dims.y + dims.h : maxY;
270
+ }
271
+ if (labelBounds) {
272
+ minX = labelBounds.x < minX ? labelBounds.x : minX;
273
+ minY = labelBounds.y < minY ? labelBounds.y : minY;
274
+ maxX = labelBounds.x + labelBounds.w > maxX ? labelBounds.x + labelBounds.w : maxX;
275
+ maxY = labelBounds.y + labelBounds.h > maxY ? labelBounds.y + labelBounds.h : maxY;
276
+ }
277
+ return { x: minX, w: maxX - minX, y: minY, h: maxY - minY };
278
+ }
279
+ /**
280
+ * Returns the label bounds
281
+ */
282
+ function getAllLabelBounds(labelDims, nodes, links, nodeLabelPos = [], linkLabelPos = [], isRTL) {
283
+ if (nodeLabelPos.length === 0 && linkLabelPos.length === 0)
284
+ return undefined;
285
+ let minX = Infinity;
286
+ let minY = Infinity;
287
+ let maxX = -Infinity;
288
+ let maxY = -Infinity;
289
+ let dims, label;
290
+ for (let i = 0; i < nodeLabelPos.length; i++) {
291
+ label = nodeLabelPos[i];
292
+ if (!label)
293
+ continue;
294
+ dims = getLabelBounds(label, labelDims.get(nodes[i].id), isRTL);
295
+ minX = dims.x < minX ? dims.x : minX;
296
+ minY = dims.y < minY ? dims.y : minY;
297
+ maxX = dims.x + dims.w > maxX ? dims.x + dims.w : maxX;
298
+ maxY = dims.y + dims.h > maxY ? dims.y + dims.h : maxY;
299
+ }
300
+ for (let i = 0; i < linkLabelPos.length; i++) {
301
+ label = linkLabelPos[i];
302
+ if (!label)
303
+ continue;
304
+ dims = getLabelBounds(label, labelDims.get(links[i].id), isRTL);
305
+ minX = dims.x < minX ? dims.x : minX;
306
+ minY = dims.y < minY ? dims.y : minY;
307
+ maxX = dims.x + dims.w > maxX ? dims.x + dims.w : maxX;
308
+ maxY = dims.y + dims.h > maxY ? dims.y + dims.h : maxY;
309
+ }
310
+ return { x: minX, w: maxX - minX, y: minY, h: maxY - minY };
311
+ }
312
+ function getLabelBounds(label, dims, isRTL) {
313
+ const labelPos = getLabelPosition(dims, label, isRTL);
314
+ const isRotating = label.rotationAngle;
315
+ if (!isRotating) {
316
+ return { x: labelPos.x, y: labelPos.y, w: dims.width, h: dims.height };
317
+ }
318
+ else {
319
+ // Find the 4 corners of the label bounds relative to the rotation point
320
+ const rotationPoint = label.rotationPoint
321
+ ? label.rotationPoint
322
+ : { x: dims.width / 2, y: dims.height / 2 };
323
+ const angle = label.rotationAngle;
324
+ const topLeft = getCoordsRelToRotPoint({ x: 0, y: 0 }, rotationPoint);
325
+ const topRight = getCoordsRelToRotPoint({ x: dims.width, y: 0 }, rotationPoint);
326
+ const bottomLeft = getCoordsRelToRotPoint({ x: 0, y: dims.height }, rotationPoint);
327
+ const bottomRight = getCoordsRelToRotPoint({ x: dims.width, y: dims.height }, rotationPoint);
328
+ const rotTopLeft = rotatePoint(topLeft, angle);
329
+ const rotBotLeft = rotatePoint(bottomLeft, angle);
330
+ const rotTopRight = rotatePoint(topRight, angle);
331
+ const rotBotRight = rotatePoint(bottomRight, angle);
332
+ const points = [rotTopLeft, rotBotLeft, rotTopRight, rotBotRight].map((pos) => {
333
+ return {
334
+ x: pos.x + labelPos.x + rotationPoint.x,
335
+ y: pos.y + labelPos.y + rotationPoint.y
336
+ };
337
+ });
338
+ return getBoundsFromPoints(points);
339
+ }
340
+ }
341
+ function getCoordsRelToRotPoint(labelPoint, rotPoint) {
342
+ return { x: labelPoint.x - rotPoint.x, y: labelPoint.y - rotPoint.y };
343
+ }
344
+ function rotatePoint(pos, angle) {
345
+ return {
346
+ x: pos.x * Math.cos(angle) - pos.y * Math.sin(angle),
347
+ y: pos.x * Math.sin(angle) + pos.y * Math.cos(angle)
348
+ };
349
+ }
350
+ function getBoundsFromPoints(points) {
351
+ let minX = points[0].x;
352
+ let minY = points[0].y;
353
+ let maxX = points[0].x;
354
+ let maxY = points[0].y;
355
+ for (let i = 1; i < points.length; i++) {
356
+ const point = points[i];
357
+ if (point.x < minX)
358
+ minX = point.x;
359
+ else if (point.x > maxX)
360
+ maxX = point.x;
361
+ if (point.y < minY)
362
+ minY = point.y;
363
+ else if (point.y > maxY)
364
+ maxY = point.y;
365
+ }
366
+ return {
367
+ x: minX,
368
+ y: minY,
369
+ w: maxX - minX,
370
+ h: maxY - minY
371
+ };
372
+ }
373
+ /**
374
+ * Returns the position of the label
375
+ * @param dimensions
376
+ * @param positionProps
377
+ * @returns position of the label
378
+ */
379
+ function getLabelPosition(dimensions, positionProps, isRTL) {
380
+ const position = positionProps.position;
381
+ const hAlign = positionProps.hAlign ? positionProps.hAlign : isRTL ? 'right' : 'left';
382
+ const vAlign = positionProps.vAlign;
383
+ let x, y;
384
+ if (hAlign === 'center') {
385
+ x = position.x - dimensions.width / 2;
386
+ }
387
+ else if (hAlign === 'right') {
388
+ x = position.x - dimensions.width;
389
+ }
390
+ else {
391
+ x = position.x;
392
+ }
393
+ if (vAlign === 'middle') {
394
+ y = position.y - dimensions.height / 2;
395
+ }
396
+ else if (vAlign === 'bottom') {
397
+ y = position.y - dimensions.height;
398
+ }
399
+ else if (vAlign === 'baseline') {
400
+ y = position.y + dimensions.y;
401
+ }
402
+ else {
403
+ y = position.y;
404
+ }
405
+ return {
406
+ x: x,
407
+ y: y
408
+ };
409
+ }
410
+ /**
411
+ * Converts centerX,Y coordinates to panX,Y coordinates
412
+ */
413
+ function centerXYToPanXY(centerX, centerY, zoom, width, height) {
414
+ return {
415
+ panX: width / 2 - centerX * zoom,
416
+ panY: height / 2 - centerY * zoom
417
+ };
418
+ }
419
+ /**
420
+ * Converts panX,Y coordinates to centerX,Y coordinates
421
+ */
422
+ function panXYToCenterXY(panX, panY, zoom, width, height) {
423
+ return {
424
+ centerX: (width / 2 - panX) / zoom,
425
+ centerY: (height / 2 - panY) / zoom
426
+ };
427
+ }
428
+ /**
429
+ * Compares if two ItemInfo are equal
430
+ */
431
+ function isEqualItem(item1, item2) {
432
+ return item1?.id === item2?.id && item1?.isNode === item2?.isNode;
433
+ }
434
+ /**
435
+ * Returns the item info of the data-oj-node or data-oj-link attribute for a given element.
436
+ */
437
+ function getNavigableInfo(element, rootElementRef) {
438
+ let isNode = false;
439
+ let elem = element;
440
+ let navigableId;
441
+ while (!navigableId) {
442
+ navigableId = elem.dataset['node'];
443
+ if (navigableId) {
444
+ isNode = true;
445
+ }
446
+ else {
447
+ navigableId = elem.dataset['link'];
448
+ }
449
+ if (!navigableId) {
450
+ if (elem.parentElement && elem.parentElement !== rootElementRef?.current) {
451
+ elem = elem.parentElement;
452
+ }
453
+ else {
454
+ break;
455
+ }
456
+ }
457
+ }
458
+ return {
459
+ id: navigableId,
460
+ isNode: isNode
461
+ };
462
+ }
463
+ /**
464
+ * Returns the aria label
465
+ */
466
+ function getItemAriaLabel(translations, supportsSelection, isSelected, accessibleLabel) {
467
+ return generateAriaLabel(translations, accessibleLabel || '', {
468
+ isSelected: !supportsSelection ? undefined : isSelected
469
+ });
470
+ }
471
+ /**
472
+ * Returns the zoom to fit zoom level
473
+ */
474
+ function getZoomToFitZoom(width, height, contentBounds) {
475
+ const zoomX = (width - 2 * ZOOM_TO_FIT_PADDING) / contentBounds.w;
476
+ const zoomY = (height - 2 * ZOOM_TO_FIT_PADDING) / contentBounds.h;
477
+ return Math.min(zoomX, zoomY);
478
+ }
479
+ /**
480
+ * Constrains the zoom level
481
+ */
482
+ function constrainZoom(zoom, minZoom, maxZoom) {
483
+ let newZoom = Math.max(minZoom, zoom);
484
+ newZoom = Math.min(maxZoom, newZoom);
485
+ return newZoom;
486
+ }
487
+ /**
488
+ * Returns the font props for a node or link
489
+ */
490
+ function _getFontProps(styles) {
491
+ const fontProps = {};
492
+ if (!styles)
493
+ return fontProps;
494
+ if (styles.fontFamily)
495
+ fontProps.fontFamily = styles.fontFamily;
496
+ if (styles.fontSize)
497
+ fontProps.fontSize = styles.fontSize;
498
+ if (styles.fontStyle)
499
+ fontProps.fontStyle = styles.fontStyle;
500
+ if (styles.fontWeight)
501
+ fontProps.fontWeight = styles.fontWeight;
502
+ return fontProps;
503
+ }
504
+ /**
505
+ * Returns the panX, panY, and zoom when zooming and centering an item
506
+ */
507
+ function zoomAndCenterItemFromInfo(info, linkIdToDataMap, bounds, nodeIdToIndex, width, height, maxZoom) {
508
+ const isNode = info.isNode;
509
+ let totalBounds;
510
+ if (isNode) {
511
+ const nodeIndex = nodeIdToIndex.get(info.id);
512
+ totalBounds = bounds[nodeIndex];
513
+ }
514
+ else {
515
+ const link = linkIdToDataMap.get(info.id);
516
+ const startNodeBounds = bounds[nodeIdToIndex.get(link.startNode)];
517
+ const endNodeBounds = bounds[nodeIdToIndex.get(link.endNode)];
518
+ const minX = Math.min(startNodeBounds.x, endNodeBounds.x);
519
+ const minY = Math.min(startNodeBounds.y, endNodeBounds.y);
520
+ const maxX = Math.max(startNodeBounds.x + startNodeBounds.w, endNodeBounds.x + startNodeBounds.w);
521
+ const maxY = Math.max(startNodeBounds.y + startNodeBounds.h, endNodeBounds.y + endNodeBounds.h);
522
+ totalBounds = { x: minX, y: minY, w: maxX - minX, h: maxY - minY };
523
+ }
524
+ return getPanZoomToCenterNode(totalBounds, maxZoom, width, height);
525
+ }
526
+ /**
527
+ * Returns the pan and zoom values in order
528
+ * to center a node or link
529
+ */
530
+ function getPanZoomToCenterNode(bounds, maxZoom, width, height) {
531
+ const zoomX = (width - 2 * ZOOM_TO_FIT_PADDING) / bounds.w;
532
+ const zoomY = (height - 2 * ZOOM_TO_FIT_PADDING) / bounds.h;
533
+ const zoom = Math.min(zoomX, zoomY, maxZoom);
534
+ const cX = bounds.w / 2 + bounds.x;
535
+ const cY = bounds.h / 2 + bounds.y;
536
+ return { centerX: cX, centerY: cY, zoom: zoom };
537
+ }
538
+
539
+ const DiagramNodeElement = ({ id, state, previousState, position, activeId, nodeRenderer, onNodeSizeChanged, nodeIndex, data, accessibleLabel, isDimmed, supportsSelection }) => {
540
+ const { nodeStyles, dimmedItemStyle } = itemStyles;
541
+ const context = {
542
+ state: state,
543
+ previousState: previousState,
544
+ data: data
545
+ };
546
+ const translations = useTranslationBundle('@oracle/oraclejet-preact');
547
+ const ref = useRef(null);
548
+ // TODO JET-62472 change to one resize observer function
549
+ const optionsRef = useRef({ box: 'border-box' });
550
+ useResizeObserver(ref, useCallback((entry) => {
551
+ const boxSize = entry.borderBoxSize;
552
+ const width = boxSize[0].inlineSize;
553
+ const height = boxSize[0].blockSize;
554
+ onNodeSizeChanged(width, height, nodeIndex);
555
+ }, [nodeIndex, onNodeSizeChanged]), optionsRef.current);
556
+ return (jsx("div", { ref: ref, class: classNames([nodeStyles, isDimmed ? dimmedItemStyle : undefined]), "data-node": id, role: "img", "aria-label": getItemAriaLabel(translations, supportsSelection, state.selected, accessibleLabel), style: {
557
+ top: position.y,
558
+ left: position.x
559
+ }, id: state.focused || state.hovered ? activeId : undefined, children: nodeRenderer(context) }, id));
560
+ };
561
+
562
+ function DiagramNodeLayer({ nodes, states, previousStates, nodeRenderer, nodeBounds, onNodeSizeChanged, supportsSelection }) {
563
+ return (jsx("div", { class: layerStyles, children: nodes.map((node, i) => {
564
+ // this is for initial render before the layout function so render all nodes at 0,0
565
+ const position = nodeBounds && nodeBounds[i] ? { x: nodeBounds[i].x, y: nodeBounds[i].y } : { x: 0, y: 0 };
566
+ const state = {
567
+ selected: states.selectedNodeIds.includes(node.id),
568
+ focused: states.focusedId === node.id,
569
+ hovered: states.hoveredId === node.id,
570
+ zoom: states.zoom
571
+ };
572
+ const previousState = {
573
+ selected: previousStates.selectedNodeIds.includes(node.id),
574
+ focused: previousStates.focusedId === node.id,
575
+ hovered: previousStates.hoveredId === node.id,
576
+ zoom: previousStates.zoom
577
+ };
578
+ return (jsx(DiagramNodeElement, { id: node.id, position: position, state: state, previousState: previousState, isDimmed: states.highlightedIds.length !== 0 && !states.highlightedIds.includes(node.id), activeId: states.activeId, nodeRenderer: nodeRenderer, onNodeSizeChanged: onNodeSizeChanged, nodeIndex: i, accessibleLabel: node.accessibleLabel, data: node, supportsSelection: supportsSelection }));
579
+ }) }));
580
+ }
581
+
582
+ const DiagramLinkElement = ({ id, state, previousState, activeId, data, linkRenderer, accessibleLabel, isDimmed, supportsSelection, layoutOutput }) => {
583
+ const translations = useTranslationBundle('@oracle/oraclejet-preact');
584
+ const { dimmedItemStyle, linkStyles } = itemStyles;
585
+ const context = {
586
+ state: state,
587
+ previousState: previousState,
588
+ data: data,
589
+ layoutOutput: layoutOutput
590
+ };
591
+ return (jsx("g", { id: state.focused ? activeId : undefined, "aria-label": getItemAriaLabel(translations, supportsSelection, state.selected, accessibleLabel), "data-link": id, role: "img", class: classNames([linkStyles, isDimmed && dimmedItemStyle]), children: linkRenderer(context) }, id));
592
+ };
593
+
594
+ function DiagramLinkLayer({ links, states, previousStates, linkRenderer, width, height, supportsSelection, layoutOutput }) {
595
+ return (jsx("svg", { class: layerStyles, width: width, height: height, children: links.map((link) => {
596
+ const state = {
597
+ selected: states.selectedLinkIds.includes(link.id),
598
+ focused: states.focusedId === link.id,
599
+ hovered: states.hoveredId === link.id,
600
+ zoom: states.zoom
601
+ };
602
+ const previousState = {
603
+ selected: previousStates.selectedLinkIds.includes(link.id),
604
+ focused: previousStates.focusedId === link.id,
605
+ hovered: previousStates.hoveredId === link.id,
606
+ zoom: previousStates.zoom
607
+ };
608
+ return (jsx(DiagramLinkElement, { id: link.id, label: link.label, state: state, previousState: previousState, isDimmed: states.highlightedIds.length !== 0 && !states.highlightedIds.includes(link.id), activeId: states.activeId, accessibleLabel: link.accessibleLabel, data: link, linkRenderer: linkRenderer, supportsSelection: supportsSelection, layoutOutput: layoutOutput }));
609
+ }) }));
610
+ }
611
+
612
+ const DiagramLabel = ({ text, position, styles, dimensions, isRTL }) => {
613
+ const { labelStyle, labelBorderStyle } = labelStyles;
614
+ const labelPosition = getLabelPosition(dimensions, position, isRTL);
615
+ const labelRotation = getLabelRotation(position);
616
+ return (jsx("div", { class: classNames([labelStyle, styles && styles.borderColor && labelBorderStyle]), style: {
617
+ top: labelPosition.y,
618
+ left: labelPosition.x,
619
+ ...styles,
620
+ ...labelRotation
621
+ }, children: text }));
622
+ };
623
+ /**
624
+ * Returns the label rotation props
625
+ * @param position
626
+ * @returns rotation props
627
+ */
628
+ function getLabelRotation(position) {
629
+ const rotationAngle = position.rotationAngle;
630
+ const rotationPoint = position.rotationPoint;
631
+ const rotation = {};
632
+ if (rotationAngle) {
633
+ rotation['transform'] = `rotate(${rotationAngle}deg)`;
634
+ }
635
+ if (rotationPoint) {
636
+ rotation['transform-origin'] = `${rotationPoint.x}px ${rotationPoint.y}px`;
637
+ }
638
+ return rotation;
639
+ }
640
+
641
+ function DiagramLabelLayer({ labelPosition, itemProps, labelDimensions }) {
642
+ const { direction } = useUser();
643
+ return (jsx("div", { class: layerStyles, children: itemProps.map((item, i) => {
644
+ if (item.label && labelPosition[i]) {
645
+ return (jsx(DiagramLabel, { styles: item.labelStyle, text: item.label, position: labelPosition[i], dimensions: labelDimensions.get(item.id), isRTL: direction === 'rtl' }));
646
+ }
647
+ return undefined;
648
+ }) }));
649
+ }
650
+
651
+ function DiagramLayers({ nodes, links, nodeRenderer, linkRenderer, states, previousStates, nodeBounds, onNodeSizeChanged, width, height, nodeLabelPositions, linkLabelPositions, labelDimensions, supportsSelection, layoutOutput }) {
652
+ return (jsxs(Fragment, { children: [links.length > 0 && layoutOutput && linkRenderer && width !== Infinity && (jsx(DiagramLinkLayer, { links: links, states: states, previousStates: previousStates, linkRenderer: linkRenderer, width: width, height: height, supportsSelection: supportsSelection, layoutOutput: layoutOutput })), jsx(DiagramNodeLayer, { nodes: nodes, nodeBounds: nodeBounds, states: states, previousStates: previousStates, nodeRenderer: nodeRenderer, onNodeSizeChanged: onNodeSizeChanged, supportsSelection: supportsSelection }), labelDimensions ? (jsxs("div", { children: [nodeLabelPositions ? (jsx(DiagramLabelLayer, { labelPosition: nodeLabelPositions, itemProps: nodes, labelDimensions: labelDimensions })) : undefined, links && linkLabelPositions ? (jsx(DiagramLabelLayer, { labelPosition: linkLabelPositions, itemProps: links, labelDimensions: labelDimensions })) : undefined] })) : undefined] }));
653
+ }
654
+
655
+ function DiagramPanZoomContainer({ centerX, centerY, children, zoom, width, height }) {
656
+ const panValues = centerXYToPanXY(centerX, centerY, zoom, width, height);
657
+ return (jsx("div", { class: panZoomStyles, style: {
658
+ //TODO JET-62471 look at using matrices or both in transform instead
659
+ translate: `${panValues.panX}px ${panValues.panY}px`,
660
+ transform: `scale(${zoom})`
661
+ }, children: children }));
662
+ }
663
+
664
+ /**
665
+ * @license
666
+ * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
667
+ * The Universal Permissive License (UPL), Version 1.0
668
+ * as shown at https://oss.oracle.com/licenses/upl/
669
+ * @ignore
670
+ */
671
+ /**
672
+ * Returns the node data based on node info in a diagram.
673
+ * @param itemInfo
674
+ * @returns
675
+ */
676
+ function getNodeDetailFromInfo(itemInfo, nodes) {
677
+ let node;
678
+ for (let i = 0; i < nodes.length; i++) {
679
+ node = nodes[i];
680
+ if (itemInfo.id === node.id) {
681
+ return node;
682
+ }
683
+ }
684
+ return undefined;
685
+ }
686
+ /**
687
+ * Returns the link data based on link info in a diagram.
688
+ * @param itemInfo
689
+ * @returns
690
+ */
691
+ function getLinkDetailFromInfo(itemInfo, links) {
692
+ let link;
693
+ for (let i = 0; i < links.length; i++) {
694
+ link = links[i];
695
+ if (itemInfo.id === link.id) {
696
+ return link;
697
+ }
698
+ }
699
+ return undefined;
700
+ }
701
+ /**
702
+ * Creates a map with key node id and value node bounds
703
+ */
704
+ function createNodeBoundsMap(nodes, bounds) {
705
+ const nodeBounds = new Map();
706
+ for (let i = 0; i < nodes.length; i++) {
707
+ nodeBounds.set(nodes[i].id, bounds[i]);
708
+ }
709
+ return nodeBounds;
710
+ }
711
+ /**
712
+ * Utility method that adds sorting attributes of each link to an array
713
+ */
714
+ function addSortingAttributes(node, listOfLinks, nodes, nodeBounds) {
715
+ let angle, distance, direction;
716
+ const linkDetail = [];
717
+ for (let i = 0; i < listOfLinks.length; i++) {
718
+ const link = listOfLinks[i];
719
+ angle = _getClockwiseAngle(node, link, nodes, nodeBounds);
720
+ distance = _getNodesDistance(link, nodes, nodeBounds);
721
+ direction = _getLinkDirection(node, link);
722
+ linkDetail.push({ id: link.id, angle: angle, distance: distance, direction: direction });
723
+ }
724
+ return linkDetail;
725
+ }
726
+ /**
727
+ * Returns a function that compares two link around a given node
728
+ * The links are analyzed by angle, distance from the node and direction. The sorting attributes are added to the links before sorting.
729
+ */
730
+ function getLinkComparator() {
731
+ return (link1, link2) => {
732
+ const { angle: linkAngle1, distance: linkDistance1, direction: linkDirection1 } = link1;
733
+ const { angle: linkAngle2, distance: linkDistance2, direction: linkDirection2 } = link2;
734
+ let res = -1;
735
+ if (!_anglesAreEqualWithinTolerance(linkAngle1, linkAngle2) && linkAngle1 > linkAngle2) {
736
+ res = 1;
737
+ }
738
+ else if (_anglesAreEqualWithinTolerance(linkAngle1, linkAngle2)) {
739
+ //check distance and direction
740
+ if (linkDistance1 > linkDistance2) {
741
+ res = 1;
742
+ }
743
+ else if (linkDistance2 == linkDistance1 && linkDirection1 > linkDirection2) {
744
+ //outgoing to ingoing
745
+ res = 1;
746
+ }
747
+ else if (linkDistance2 == linkDistance1 && linkDirection1 == linkDirection2) {
748
+ res = 0;
749
+ }
750
+ }
751
+ return res;
752
+ };
753
+ }
754
+ /**
755
+ * Returns navigable links for a given node
756
+ */
757
+ function getNavigableLinksForNodeId(nodeId, listOfLinks) {
758
+ const links = [];
759
+ listOfLinks.forEach((link) => {
760
+ const startId = link.startNode;
761
+ const endId = link.endNode;
762
+ if (startId == nodeId || endId == nodeId)
763
+ links.push(link);
764
+ });
765
+ return links;
766
+ }
767
+ /**
768
+ * Get the clockwise angle for the link given node as a center
769
+ */
770
+ function _getClockwiseAngle(node, link, nodes, nodeBounds) {
771
+ //find opposite node
772
+ let currNode;
773
+ let startNode = nodes[0];
774
+ let endNode = nodes[0];
775
+ for (let i = 0; i < nodes.length; i++) {
776
+ currNode = nodes[i];
777
+ if (currNode.id === link.startNode) {
778
+ startNode = currNode;
779
+ }
780
+ else if (currNode.id === link.endNode) {
781
+ endNode = currNode;
782
+ }
783
+ }
784
+ const oppositeNode = node.id == startNode.id ? endNode : startNode;
785
+ const p1 = _getNodeCenter(node, nodeBounds);
786
+ const p2 = _getNodeCenter(oppositeNode, nodeBounds);
787
+ let angle = Math.atan2(p2.y - p1.y, p2.x - p1.x);
788
+ angle = angle < 0 ? angle + Math.PI * 2 : angle;
789
+ return angle;
790
+ }
791
+ /**
792
+ * Get the distance between start and end nodes for the given link
793
+ */
794
+ function _getNodesDistance(link, nodes, nodeBounds) {
795
+ let currNode;
796
+ let startNode = nodes[0];
797
+ let endNode = nodes[0];
798
+ for (let i = 0; i < nodes.length; i++) {
799
+ currNode = nodes[i];
800
+ if (currNode.id === link.startNode) {
801
+ startNode = currNode;
802
+ }
803
+ else if (currNode.id === link.endNode) {
804
+ endNode = currNode;
805
+ }
806
+ }
807
+ const p1 = _getNodeCenter(startNode, nodeBounds);
808
+ const p2 = _getNodeCenter(endNode, nodeBounds);
809
+ return Math.sqrt(Math.pow(p2.x - p1.x, 2) + Math.pow(p2.y - p1.y, 2));
810
+ }
811
+ /**
812
+ * Get link direction for the given node. 1 if the node is the end node
813
+ * and 0 if it is the start node
814
+ */
815
+ function _getLinkDirection(node, link) {
816
+ if (link.endNode === node.id) {
817
+ return 1;
818
+ }
819
+ return 0;
820
+ }
821
+ /**
822
+ * Get node center
823
+ */
824
+ function _getNodeCenter(node, nodeBounds) {
825
+ const nodeBB = nodeBounds.get(node.id);
826
+ return { x: nodeBB.x + nodeBB.w / 2, y: nodeBB.y + nodeBB.h / 2 };
827
+ }
828
+ /**
829
+ * Calculates the angle weighted by distance
830
+ */
831
+ function calcDistanceAngleWeighted(objectBB, currentBB, direction) {
832
+ // Variables used for calculating penalties when calculating distances between two navigables.
833
+ const optimalAngle1 = (15 / 180) * Math.PI;
834
+ const optimalAngle2 = (40 / 180) * Math.PI;
835
+ const suboptimalAnglePenalty1 = 2; // multiplier to the distance
836
+ const suboptimalAnglePenalty2 = 6; // multiplier to the distance
837
+ const objCenterX = objectBB.x + objectBB.w / 2;
838
+ const objCenterY = objectBB.y + objectBB.h / 2;
839
+ const curCenterX = currentBB.x + currentBB.w / 2;
840
+ const curCenterY = currentBB.y + currentBB.h / 2;
841
+ const x_dist = Math.abs(objCenterX - curCenterX);
842
+ const y_dist = Math.abs(objCenterY - curCenterY);
843
+ const angle = Math.atan2(y_dist, x_dist);
844
+ let distance = Math.sqrt(x_dist * x_dist + y_dist * y_dist);
845
+ // Angle penalty based on direction
846
+ if ((angle > optimalAngle1 && (direction == 'right' || direction == 'left')) ||
847
+ (angle < Math.PI / 2 - optimalAngle1 && (direction == 'up' || direction == 'down'))) {
848
+ if ((angle > optimalAngle2 && (direction == 'right' || direction == 'left')) ||
849
+ (angle < Math.PI / 2 - optimalAngle2 && (direction == 'up' || direction == 'down'))) {
850
+ distance *= suboptimalAnglePenalty2;
851
+ }
852
+ else {
853
+ distance *= suboptimalAnglePenalty1;
854
+ }
855
+ }
856
+ return distance;
857
+ }
858
+ /**
859
+ * Given a direction, is a certain node is a valid destination to navigate to
860
+ */
861
+ function isValidDestination(objBB, curBB, direction, compareCenters) {
862
+ // compare the centers of the navigable and to be valid, the navigable must be in the right direction
863
+ // without tolerance
864
+ if (compareCenters) {
865
+ const objCenterX = objBB.x + 0.5 * objBB.w;
866
+ const curCenterX = curBB.x + 0.5 * curBB.w;
867
+ const objCenterY = objBB.y + 0.5 * objBB.h;
868
+ const curCenterY = curBB.y + 0.5 * curBB.h;
869
+ switch (direction) {
870
+ case 'up':
871
+ return objCenterY < curCenterY;
872
+ case 'down':
873
+ return objBB.y > curCenterY;
874
+ case 'right':
875
+ return objCenterX > curCenterX;
876
+ case 'left':
877
+ return objCenterX < curCenterX;
878
+ }
879
+ return true;
880
+ }
881
+ switch (direction) {
882
+ case 'up':
883
+ return objBB.y < curBB.y || _areEqualWithinTolerance(objBB.y, curBB.y);
884
+ case 'down':
885
+ return objBB.y > curBB.y || _areEqualWithinTolerance(objBB.y, curBB.y);
886
+ case 'right':
887
+ return objBB.x > curBB.x || _areEqualWithinTolerance(objBB.x, curBB.x);
888
+ case 'left':
889
+ return objBB.x < curBB.x || _areEqualWithinTolerance(objBB.x, curBB.x);
890
+ }
891
+ return true;
892
+ }
893
+ /**
894
+ * Returns true if two nodes are in contact
895
+ */
896
+ function calcInContact(objRect, curRect, direction) {
897
+ switch (direction) {
898
+ case 'up':
899
+ return (_isVerticallyAligned(objRect, curRect) &&
900
+ (curRect.y <= objRect.y + objRect.h ||
901
+ _areEqualWithinTolerance(curRect.y, objRect.y + objRect.h)));
902
+ case 'down':
903
+ return (_isVerticallyAligned(objRect, curRect) &&
904
+ (objRect.y <= curRect.y + curRect.h ||
905
+ _areEqualWithinTolerance(objRect.y, curRect.y + curRect.h)));
906
+ case 'right':
907
+ return (_isHorizontallyAligned(objRect, curRect) &&
908
+ (objRect.x <= curRect.x + curRect.w ||
909
+ _areEqualWithinTolerance(objRect.x, curRect.x + curRect.w)));
910
+ case 'left':
911
+ return (_isHorizontallyAligned(objRect, curRect) &&
912
+ (curRect.x <= objRect.x + objRect.w ||
913
+ _areEqualWithinTolerance(curRect.x, objRect.x + objRect.w)));
914
+ }
915
+ return false;
916
+ }
917
+ function _isVerticallyAligned(rect1, rect2) {
918
+ return ((rect1.x >= rect2.x && rect1.x <= rect2.x + rect2.w) ||
919
+ (rect2.x >= rect1.x && rect2.x <= rect1.x + rect1.w));
920
+ }
921
+ function _isHorizontallyAligned(rect1, rect2) {
922
+ return ((rect1.y >= rect2.y && rect1.y <= rect2.y + rect2.h) ||
923
+ (rect2.y >= rect1.y && rect2.y <= rect1.y + rect1.h));
924
+ }
925
+ function _areEqualWithinTolerance(a, b) {
926
+ return Math.abs(a - b) <= 0.0000001;
927
+ }
928
+ function _anglesAreEqualWithinTolerance(a1, a2) {
929
+ let res = Math.abs(a1 - a2) <= 0.0000001;
930
+ if (!res) {
931
+ res = Math.abs(Math.PI * 2 + Math.min(a1, a2) - Math.max(a1, a2)) <= 0.0000001;
932
+ }
933
+ return res;
934
+ }
935
+
936
+ /**
937
+ * @license
938
+ * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
939
+ * The Universal Permissive License (UPL), Version 1.0
940
+ * as shown at https://oss.oracle.com/licenses/upl/
941
+ * @ignore
942
+ */
943
+ function useDiagramNavigation(nodes, links, bounds, linkIdToDataMap) {
944
+ const currentKeyboardFocusNode = useRef();
945
+ const nodeBoundsById = createNodeBoundsMap(nodes, bounds);
946
+ function getNextNavigableNode(direction, compareCenters, current, listOfObjects) {
947
+ if (!listOfObjects)
948
+ return current;
949
+ if (!current)
950
+ return listOfObjects[0];
951
+ const currBB = nodeBoundsById.get(current.id);
952
+ if (!currBB)
953
+ return listOfObjects[0];
954
+ let nextObject = current; //init to current object
955
+ let nextDistance = Number.MAX_VALUE;
956
+ // If an object is in contact it overrules all other attributes
957
+ // Only another in contact object with better attributes will have higher precedence
958
+ let nextInContact = false;
959
+ // Whether or not the for loop has encountered the current object
960
+ let hasFoundCurrent = false;
961
+ let object, inContact, distance;
962
+ for (let i = 0; i < listOfObjects.length; i++) {
963
+ object = listOfObjects[i];
964
+ if (object === current) {
965
+ hasFoundCurrent = true;
966
+ continue;
967
+ }
968
+ const objBB = nodeBoundsById.get(object.id);
969
+ if (!objBB)
970
+ continue;
971
+ const objBounds = { x: objBB.x, y: objBB.y, w: objBB.w, h: objBB.h };
972
+ const currBounds = { x: currBB.x, y: currBB.y, w: currBB.w, h: currBB.h };
973
+ if (!isValidDestination(objBounds, currBounds, direction, compareCenters))
974
+ continue;
975
+ inContact = calcInContact(objBounds, currBounds, direction);
976
+ if (nextInContact && !inContact)
977
+ continue;
978
+ distance = calcDistanceAngleWeighted(objBounds, currBounds, direction);
979
+ if (distance == 0 && !hasFoundCurrent)
980
+ continue;
981
+ // Make sure incontact flag have highest precedence
982
+ if ((!nextInContact && inContact) ||
983
+ (distance < nextDistance && ((nextInContact && inContact) || !nextInContact))) {
984
+ nextDistance = distance;
985
+ nextObject = object;
986
+ nextInContact = inContact;
987
+ }
988
+ }
989
+ return nextObject;
990
+ }
991
+ /**
992
+ * Get next navigavle link depending on direction - clockwise or conter clockwise.
993
+ * The decision is made based on location of nodes centers rather than link paths or link angles.
994
+ */
995
+ function getNextNavigableLink(direction, listOfNodes, currentLink, listOfLinks) {
996
+ if (!listOfLinks)
997
+ return currentLink;
998
+ if (!currentLink)
999
+ return listOfLinks[0];
1000
+ const keyboardFocusNode = currentKeyboardFocusNode.current;
1001
+ const nodeId = keyboardFocusNode ? keyboardFocusNode : currentLink.startNode;
1002
+ const node = getNodeDetailFromInfo({ id: nodeId, isNode: true }, listOfNodes);
1003
+ if (!node)
1004
+ return currentLink;
1005
+ const adjLinks = getNavigableLinksForNodeId(node.id, listOfLinks);
1006
+ listOfLinks = adjLinks;
1007
+ const linksWithSortingAttributes = addSortingAttributes(node, listOfLinks, listOfNodes, nodeBoundsById);
1008
+ linksWithSortingAttributes.sort(getLinkComparator());
1009
+ //clockwise direction
1010
+ const bForward = direction == 'down' ? true : false;
1011
+ let index = 0;
1012
+ for (let i = 0; i < linksWithSortingAttributes.length; i++) {
1013
+ const link = linksWithSortingAttributes[i];
1014
+ if (link.id === currentLink.id) {
1015
+ if (bForward)
1016
+ index = i == linksWithSortingAttributes.length - 1 ? 0 : i + 1;
1017
+ else
1018
+ index = i == 0 ? linksWithSortingAttributes.length - 1 : i - 1;
1019
+ break;
1020
+ }
1021
+ }
1022
+ return linksWithSortingAttributes[index];
1023
+ }
1024
+ /**
1025
+ * Returns the link detail when a node to link navigation occurs
1026
+ */
1027
+ function navigateFromNodeToLink(listOfLinks, event, node) {
1028
+ if (!node)
1029
+ return undefined;
1030
+ const adjLinks = getNavigableLinksForNodeId(node.id, listOfLinks);
1031
+ if (adjLinks.length < 1)
1032
+ return undefined;
1033
+ let link = adjLinks[0];
1034
+ const nodeBB = nodeBoundsById.get(node.id);
1035
+ let object, currNode, currNodeBB, currNodeBBCenterX;
1036
+ const nodeCenterX = nodeBB.x + nodeBB.w / 2;
1037
+ currentKeyboardFocusNode.current = node.id;
1038
+ for (let i = 0; i < adjLinks.length; i++) {
1039
+ object = adjLinks[i];
1040
+ currNode = object.startNode === node.id ? object.endNode : object.startNode;
1041
+ currNodeBB = nodeBoundsById.get(currNode);
1042
+ currNodeBBCenterX = currNodeBB.x + currNodeBB.w / 2;
1043
+ if (
1044
+ // equivalent of ≤ and ≥
1045
+ (event.altKey && event.code === 'Comma' && currNodeBBCenterX <= nodeCenterX) ||
1046
+ (event.altKey && event.code === 'Period' && currNodeBBCenterX >= nodeCenterX)) {
1047
+ link = object;
1048
+ break;
1049
+ }
1050
+ }
1051
+ return { id: link.id, isNode: false };
1052
+ }
1053
+ /**
1054
+ * Returns the node detail when a link to node navigation occurs
1055
+ */
1056
+ function navigateFromLinkToNode(linkId, event) {
1057
+ const key = event.key;
1058
+ const linkData = linkIdToDataMap.get(linkId);
1059
+ const startNodeBB = nodeBoundsById.get(linkData.startNode);
1060
+ const endNodeBB = nodeBoundsById.get(linkData.endNode);
1061
+ if (!startNodeBB || !endNodeBB)
1062
+ return undefined;
1063
+ const startNodeCenterX = startNodeBB.x + startNodeBB.w / 2;
1064
+ const endNodeCenterX = endNodeBB.x + endNodeBB.w / 2;
1065
+ const newNode = (endNodeCenterX > startNodeCenterX && key === 'ArrowRight') ||
1066
+ (endNodeCenterX < startNodeCenterX && key === 'ArrowLeft')
1067
+ ? linkData.endNode
1068
+ : linkData.startNode;
1069
+ return { id: newNode, isNode: true };
1070
+ }
1071
+ return {
1072
+ isNode: (itemInfo) => {
1073
+ let node, link;
1074
+ for (let i = 0; i < nodes.length; i++) {
1075
+ node = nodes[i];
1076
+ link = links[i];
1077
+ if (itemInfo.id === node.id) {
1078
+ return true;
1079
+ }
1080
+ if (itemInfo.id === link.id) {
1081
+ return true;
1082
+ }
1083
+ }
1084
+ return false;
1085
+ },
1086
+ getNextNavigableNode,
1087
+ getNextNavigableLink,
1088
+ navigateFromNodeToLink,
1089
+ navigateFromLinkToNode
1090
+ };
1091
+ }
1092
+
1093
+ const DEFAULT_KB_PAN = 15;
1094
+ const DEFAULT_KB_ZOOM = 0.15;
1095
+ function useEvents(touchResponse, initNode, nodes, links, nodeBounds, linkIdToDataMap, nodeIdToDataMap, nodeIdToIndexMap, width, height, maxZoom, onItemHover, onItemFocus, kbPanCallback, kbZoomCallback) {
1096
+ const { getNextNavigableNode, getNextNavigableLink, navigateFromNodeToLink, navigateFromLinkToNode } = useDiagramNavigation(nodes, links, nodeBounds, linkIdToDataMap);
1097
+ const [focusedItemInfo, setfocusedItemInfo] = useState({
1098
+ id: initNode.id,
1099
+ isNode: true
1100
+ });
1101
+ const [hoveredItemInfo, sethoveredItemInfo] = useState();
1102
+ const activeId = useRef();
1103
+ const cancelEvent = (event) => {
1104
+ event.preventDefault();
1105
+ event.stopPropagation();
1106
+ };
1107
+ const keyDownHandler = (event) => {
1108
+ const key = event.key;
1109
+ let eventConsumed = false;
1110
+ // tabbing out of the diagram
1111
+ if (key === 'TAB') {
1112
+ return;
1113
+ }
1114
+ // if this a switch from node to link or vice versa
1115
+ if (isChangeItemType(event)) {
1116
+ const nextItemInfo = focusedItemInfo.isNode
1117
+ ? navigateFromNodeToLink(links, event, getNodeDetailFromInfo(focusedItemInfo, nodes))
1118
+ : navigateFromLinkToNode(focusedItemInfo.id, event);
1119
+ handleKeyboardInput(nextItemInfo);
1120
+ eventConsumed = true;
1121
+ }
1122
+ else if (isNavigationEvent(key)) {
1123
+ const nextItemInfo = handleKeyboardNavigationEvent(key);
1124
+ handleKeyboardInput(nextItemInfo);
1125
+ eventConsumed = true;
1126
+ }
1127
+ else {
1128
+ switch (key) {
1129
+ case 'PageUp': {
1130
+ kbPanCallback &&
1131
+ kbPanCallback({
1132
+ dPan: {
1133
+ dx: event.shiftKey ? -DEFAULT_KB_PAN : 0,
1134
+ dy: event.shiftKey ? 0 : -DEFAULT_KB_PAN
1135
+ }
1136
+ });
1137
+ eventConsumed = true;
1138
+ break;
1139
+ }
1140
+ case 'PageDown': {
1141
+ kbPanCallback &&
1142
+ kbPanCallback({
1143
+ dPan: {
1144
+ dx: event.shiftKey ? DEFAULT_KB_PAN : 0,
1145
+ dy: event.shiftKey ? 0 : DEFAULT_KB_PAN
1146
+ }
1147
+ });
1148
+ eventConsumed = true;
1149
+ eventConsumed = true;
1150
+ break;
1151
+ }
1152
+ case '+':
1153
+ case '=': {
1154
+ kbZoomCallback && kbZoomCallback({ dZoom: DEFAULT_KB_ZOOM });
1155
+ eventConsumed = true;
1156
+ break;
1157
+ }
1158
+ case '-':
1159
+ case '_': {
1160
+ kbZoomCallback && kbZoomCallback({ dZoom: -DEFAULT_KB_ZOOM });
1161
+ eventConsumed = true;
1162
+ break;
1163
+ }
1164
+ case '0': {
1165
+ if (event.ctrlKey && event.altKey) {
1166
+ const { centerX, centerY, zoom } = zoomAndCenterItemFromInfo(focusedItemInfo, linkIdToDataMap, nodeBounds, nodeIdToIndexMap, width, height, maxZoom);
1167
+ kbZoomCallback && kbZoomCallback({ nZoom: zoom });
1168
+ kbPanCallback && kbPanCallback({ nPan: { cx: centerX, cy: centerY } });
1169
+ }
1170
+ else {
1171
+ // zoom to fit
1172
+ kbZoomCallback && kbZoomCallback({});
1173
+ kbPanCallback && kbPanCallback({ center: true });
1174
+ }
1175
+ eventConsumed = true;
1176
+ }
1177
+ }
1178
+ }
1179
+ if (eventConsumed) {
1180
+ cancelEvent(event);
1181
+ }
1182
+ };
1183
+ const keyUpHandler = (event) => {
1184
+ const key = event.code;
1185
+ switch (key) {
1186
+ case 'Tab': {
1187
+ updatefocusedItemInfo({
1188
+ ...focusedItemInfo,
1189
+ isCurrent: true,
1190
+ isFocusVisible: true
1191
+ });
1192
+ break;
1193
+ }
1194
+ }
1195
+ };
1196
+ const blurHandler = () => {
1197
+ if (hoveredItemInfo != null || focusedItemInfo.isCurrent) {
1198
+ onItemFocus?.({ id: undefined, data: undefined });
1199
+ }
1200
+ const itemInfo = { ...focusedItemInfo, isCurrent: false, isFocusVisible: false };
1201
+ setfocusedItemInfo(itemInfo);
1202
+ };
1203
+ const onHover = (event) => {
1204
+ const itemInfo = getNavigableInfo(event.target);
1205
+ if (itemInfo && !isEqualItem(itemInfo, hoveredItemInfo)) {
1206
+ sethoveredItemInfo({ ...itemInfo, isCurrent: true });
1207
+ activeId.current = getRandomId();
1208
+ setfocusedItemInfo({ ...focusedItemInfo, isCurrent: false });
1209
+ if (itemInfo.isNode) {
1210
+ onItemHover?.({
1211
+ id: itemInfo.id,
1212
+ type: 'node',
1213
+ data: nodeIdToDataMap.get(itemInfo.id)
1214
+ });
1215
+ }
1216
+ else {
1217
+ onItemHover?.({
1218
+ id: itemInfo.id,
1219
+ type: 'link',
1220
+ data: linkIdToDataMap.get(itemInfo.id)
1221
+ });
1222
+ }
1223
+ }
1224
+ };
1225
+ const onHoverLeave = () => {
1226
+ sethoveredItemInfo(undefined);
1227
+ activeId.current = undefined;
1228
+ onItemHover?.({ id: undefined, data: undefined });
1229
+ };
1230
+ const hoverHandlers = useVisHover(onHover, undefined, onHoverLeave, touchResponse);
1231
+ const pointerUpHandler = (event) => {
1232
+ const itemInfo = getNavigableInfo(event.target);
1233
+ if (itemInfo.id != null) {
1234
+ setfocusedItemInfo(itemInfo);
1235
+ activeId.current = getRandomId();
1236
+ }
1237
+ };
1238
+ function updatefocusedItemInfo(itemInfo) {
1239
+ if (itemInfo.isNode) {
1240
+ onItemFocus?.({
1241
+ id: itemInfo.id,
1242
+ type: 'node',
1243
+ data: nodeIdToDataMap.get(itemInfo.id)
1244
+ });
1245
+ }
1246
+ else {
1247
+ onItemFocus?.({
1248
+ id: itemInfo.id,
1249
+ type: 'link',
1250
+ data: linkIdToDataMap.get(itemInfo.id)
1251
+ });
1252
+ }
1253
+ activeId.current = getRandomId();
1254
+ setfocusedItemInfo(itemInfo);
1255
+ }
1256
+ function handleKeyboardInput(item) {
1257
+ if (!item)
1258
+ return;
1259
+ if (!isEqualItem(item, focusedItemInfo)) {
1260
+ item.isCurrent = true;
1261
+ item.isFocusVisible = true;
1262
+ if (hoveredItemInfo) {
1263
+ sethoveredItemInfo({ ...hoveredItemInfo, isCurrent: false });
1264
+ }
1265
+ updatefocusedItemInfo(item);
1266
+ }
1267
+ }
1268
+ function isNavigationEvent(key) {
1269
+ switch (key) {
1270
+ case 'ArrowDown':
1271
+ case 'ArrowUp':
1272
+ case 'ArrowRight':
1273
+ case 'ArrowLeft': {
1274
+ return true;
1275
+ }
1276
+ }
1277
+ return false;
1278
+ }
1279
+ function isChangeItemType(event) {
1280
+ const key = event.code;
1281
+ // check if switching from node to link
1282
+ // equivalent of ≤ and ≥
1283
+ if (focusedItemInfo.isNode && event.altKey && (key === 'Period' || key === 'Comma')) {
1284
+ return true;
1285
+ // check if switching from link to node
1286
+ }
1287
+ else if (!focusedItemInfo.isNode && (key === 'ArrowLeft' || key === 'ArrowRight')) {
1288
+ return true;
1289
+ }
1290
+ return false;
1291
+ }
1292
+ function handleKeyboardNavigationEvent(key) {
1293
+ let direction = 'down';
1294
+ switch (key) {
1295
+ case 'ArrowDown': {
1296
+ direction = 'down';
1297
+ break;
1298
+ }
1299
+ case 'ArrowUp': {
1300
+ direction = 'up';
1301
+ break;
1302
+ }
1303
+ case 'ArrowRight': {
1304
+ direction = 'right';
1305
+ break;
1306
+ }
1307
+ case 'ArrowLeft': {
1308
+ direction = 'left';
1309
+ break;
1310
+ }
1311
+ }
1312
+ if (focusedItemInfo.isNode) {
1313
+ const itemDetail = getNextNavigableNode(direction, true, getNodeDetailFromInfo(focusedItemInfo, nodes), nodes);
1314
+ return itemDetail ? { id: itemDetail.id, isNode: true } : focusedItemInfo;
1315
+ }
1316
+ else {
1317
+ const linkDetail = getLinkDetailFromInfo(focusedItemInfo, links);
1318
+ const itemDetail = getNextNavigableLink(direction, nodes, linkDetail, links);
1319
+ return itemDetail ? { id: itemDetail.id } : { id: focusedItemInfo.id };
1320
+ }
1321
+ }
1322
+ return {
1323
+ focusedItemInfo,
1324
+ hoveredItemInfo,
1325
+ activeId: activeId.current,
1326
+ eventsProps: mergeProps(hoverHandlers, {
1327
+ onKeyUp: keyUpHandler,
1328
+ onKeyDown: keyDownHandler,
1329
+ onBlur: blurHandler,
1330
+ onPointerUp: pointerUpHandler
1331
+ })
1332
+ };
1333
+ }
1334
+
1335
+ /**
1336
+ * Returns the datatip.
1337
+ * @param text The text string for the diagram item.
1338
+ * @param rootRef The ref for root of the diagram.
1339
+ * @param focusedItemBoundsRef The ref for focused item bounds.
1340
+ * @param focusedItemInfo The ItemInfo for focused item.
1341
+ * @returns
1342
+ */
1343
+ const useDiagramDatatip = ({ touchResponse, datatip, focusedItemBoundsRef, focusedItemInfo, panState, zoom, width, nodesMap, linksMap, hoveredItem }) => {
1344
+ const { direction } = useUser();
1345
+ const isRtl = direction === 'rtl';
1346
+ const datatipC = getDatatipContent(nodesMap, linksMap, focusedItemInfo, hoveredItem, datatip);
1347
+ const elementBounds = focusedItemInfo?.isCurrent
1348
+ ? {
1349
+ x: focusedItemBoundsRef.current.x * zoom + panState.panX,
1350
+ y: focusedItemBoundsRef.current.y * zoom + panState.panY,
1351
+ width: focusedItemBoundsRef.current.w * zoom,
1352
+ height: focusedItemBoundsRef.current.h * zoom
1353
+ }
1354
+ : undefined;
1355
+ const { datatipContent, datatipProps } = useDatatip({
1356
+ content: datatipC?.content,
1357
+ borderColor: datatipC?.borderColor,
1358
+ placement: 'top-start',
1359
+ offset: calculateOffset(isRtl, width, elementBounds),
1360
+ anchor: focusedItemInfo?.isCurrent ? 'element' : 'pointer',
1361
+ touchResponse
1362
+ });
1363
+ return { datatipContent: datatipContent, datatipProps: datatipProps };
1364
+ };
1365
+
1366
+ /**
1367
+ * @license
1368
+ * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
1369
+ * Licensed under The Universal Permissive License (UPL), Version 1.0
1370
+ * as shown at https://oss.oracle.com/licenses/upl/
1371
+ * @ignore
1372
+ */
1373
+ const usePointerGesture = ({ captureTargetRef, numPointers = 1, onPointerGestureDown, onPointerGestureMove, onPointerGestureEnd, onExtraneousPointerDown, isDisabled = false }) => {
1374
+ const activePointers = useRef([]);
1375
+ if (isDisabled) {
1376
+ activePointers.current = [];
1377
+ }
1378
+ const onPointerDown = (e) => {
1379
+ activePointers.current.push(e);
1380
+ if (activePointers.current.length === numPointers) {
1381
+ onPointerGestureDown && onPointerGestureDown({ pointers: activePointers.current });
1382
+ }
1383
+ else if (activePointers.current.length > numPointers) {
1384
+ onExtraneousPointerDown && onExtraneousPointerDown({ pointers: activePointers.current });
1385
+ }
1386
+ };
1387
+ const onPointerMove = (e) => {
1388
+ if (activePointers.current.length === 0)
1389
+ return;
1390
+ const index = activePointers.current.findIndex((pointerEvent) => pointerEvent.pointerId === e.pointerId);
1391
+ if (index === -1)
1392
+ return;
1393
+ activePointers.current[index] = e;
1394
+ if (activePointers.current.length === numPointers) {
1395
+ activePointers.current.forEach((e) => captureTargetRef.current.setPointerCapture(e.pointerId));
1396
+ onPointerGestureMove && onPointerGestureMove({ pointers: activePointers.current });
1397
+ }
1398
+ };
1399
+ const onPointerUp = (e) => {
1400
+ const index = activePointers.current.findIndex((pointerEvent) => pointerEvent.pointerId === e.pointerId);
1401
+ if (index === -1)
1402
+ return;
1403
+ activePointers.current[index] = e;
1404
+ if (activePointers.current.length === numPointers) {
1405
+ onPointerGestureEnd && onPointerGestureEnd({ pointers: activePointers.current });
1406
+ }
1407
+ activePointers.current.splice(index, 1);
1408
+ };
1409
+ const onPointerCancel = onPointerUp;
1410
+ const onPointerLeave = onPointerUp;
1411
+ return isDisabled
1412
+ ? {}
1413
+ : {
1414
+ onPointerDown,
1415
+ onPointerMove,
1416
+ onPointerUp,
1417
+ onPointerCancel,
1418
+ onPointerLeave
1419
+ };
1420
+ };
1421
+
1422
+ /**
1423
+ * @license
1424
+ * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
1425
+ * Licensed under The Universal Permissive License (UPL), Version 1.0
1426
+ * as shown at https://oss.oracle.com/licenses/upl/
1427
+ * @ignore
1428
+ */
1429
+ /**
1430
+ * Whether point with coordinates are in the draggable region
1431
+ */
1432
+ const inDraggableRegion = (x, y, region) => {
1433
+ if (!region)
1434
+ return true;
1435
+ const { xMin, xMax, yMin, yMax } = region;
1436
+ return x >= xMin && x <= xMax && y >= yMin && y <= yMax;
1437
+ };
1438
+ /**
1439
+ * Returns region offset
1440
+ */
1441
+ const getRegionOffset = (x, y, region) => {
1442
+ if (!region)
1443
+ return { regionOffsetX: x, regionOffsetY: y };
1444
+ return { regionOffsetX: x - region.xMin, regionOffsetY: y - region.yMin };
1445
+ };
1446
+ const useDrag = ({ captureTargetRef, draggableRegion, onDragStart, onDragMove, onDragEnd, isDisabled = false }) => {
1447
+ const inactiveState = { isDragging: false, x0: -1, y0: -1, regionOffsetX: -1, regionOffsetY: -1 };
1448
+ const dragState = useRef(inactiveState);
1449
+ const handlePointerEvent = (e, cb) => {
1450
+ const { isDragging, x0, y0, regionOffsetX, regionOffsetY } = dragState.current;
1451
+ if (!isDragging)
1452
+ return;
1453
+ const x = e.pageX;
1454
+ const y = e.pageY;
1455
+ cb && cb({ x, y, dx: x - x0, dy: y - y0, regionOffsetX, regionOffsetY, originalEvent: e });
1456
+ };
1457
+ const dragProps = usePointerGesture({
1458
+ captureTargetRef,
1459
+ numPointers: 1, // Only allow 1 pointer dragging
1460
+ onExtraneousPointerDown: () => {
1461
+ dragState.current = inactiveState;
1462
+ },
1463
+ onPointerGestureDown: ({ pointers: [e] }) => {
1464
+ const x = e.pageX;
1465
+ const y = e.pageY;
1466
+ if (e.button !== 0 || !inDraggableRegion(x, y, draggableRegion))
1467
+ return;
1468
+ const { regionOffsetX, regionOffsetY } = getRegionOffset(x, y, draggableRegion);
1469
+ dragState.current = { isDragging: true, x0: x, y0: y, regionOffsetX, regionOffsetY };
1470
+ onDragStart && onDragStart({ x, y, regionOffsetX, regionOffsetY, originalEvent: e });
1471
+ },
1472
+ onPointerGestureMove: ({ pointers: [e] }) => {
1473
+ handlePointerEvent(e, onDragMove);
1474
+ },
1475
+ onPointerGestureEnd: ({ pointers: [e] }) => {
1476
+ handlePointerEvent(e, onDragEnd);
1477
+ dragState.current = inactiveState;
1478
+ }
1479
+ });
1480
+ return isDisabled ? {} : dragProps;
1481
+ };
1482
+
1483
+ const constrainPan = (previousPan, nextPan, panBounds, panDirection) => {
1484
+ const panX = panDirection !== 'y' ? nextPan.panX : previousPan.panX;
1485
+ const panY = panDirection !== 'x' ? nextPan.panY : previousPan.panY;
1486
+ return {
1487
+ panX: panX > panBounds.maxX || panX < panBounds.minX ? previousPan.panX : panX,
1488
+ panY: panY > panBounds.maxY || panY < panBounds.minY ? previousPan.panY : panY
1489
+ };
1490
+ };
1491
+ const pan = (previousPan, nextPan, panDirection, zoom, width, height, panBounds, onPanChange) => {
1492
+ if (!panBounds) {
1493
+ //On initial render before nodes are rendered
1494
+ return { newPan: { panX: 0, panY: 0 } };
1495
+ }
1496
+ const newPan = constrainPan(previousPan, nextPan, panBounds, panDirection);
1497
+ const isPanChanged = newPan.panX !== previousPan.panX || newPan.panY !== previousPan.panY;
1498
+ const center = panXYToCenterXY(newPan.panX, newPan.panY, zoom, width, height);
1499
+ isPanChanged &&
1500
+ onPanChange &&
1501
+ onPanChange({
1502
+ centerX: center.centerX,
1503
+ centerY: center.centerY
1504
+ });
1505
+ return { newPan };
1506
+ };
1507
+ const getPanBounds = (width, height, elemBounds, panType, zoom, minZoom, initPanZoomState) => {
1508
+ const { x, y, w, h } = elemBounds;
1509
+ let minX, maxX, minY, maxY;
1510
+ if (panType === 'centerContent') {
1511
+ minX = width / 2 - (w + x) * zoom;
1512
+ minY = height / 2 - (h + y) * zoom;
1513
+ maxX = width / 2 - x * zoom;
1514
+ maxY = height / 2 - y * zoom;
1515
+ }
1516
+ else {
1517
+ // panType equals fixed
1518
+ const zoomRatio = zoom / minZoom;
1519
+ // Find left corner of the content at min zoom and content is centered
1520
+ const minZoomX = (width - w * minZoom) / 2 - x * minZoom;
1521
+ const minZoomY = (height - h * minZoom) / 2 - y * minZoom;
1522
+ // When we pan all the way to the right, the left corner of displayable area is 0,0 as in min zoom.
1523
+ // When we pan all the way to the left, lets find the corner of the displayable area
1524
+ const leftCornerX = width - width * zoomRatio;
1525
+ const leftCornerY = height - height * zoomRatio;
1526
+ // Now we have everything to calculate pan zoom constraints
1527
+ minX = leftCornerX + minZoomX * zoomRatio;
1528
+ minY = leftCornerY + minZoomY * zoomRatio;
1529
+ maxX = minZoomX * zoomRatio;
1530
+ maxY = minZoomY * zoomRatio;
1531
+ }
1532
+ const initZoom = initPanZoomState.zoom;
1533
+ const initCenterX = initPanZoomState.centerX;
1534
+ const initCenterY = initPanZoomState.centerY;
1535
+ // If an initial panZoomState is set, should expand pan bounds to include it
1536
+ let dx, dy;
1537
+ if (initCenterX) {
1538
+ const boundsX = initCenterX * initZoom - width / 2;
1539
+ if (-boundsX * initZoom < minX) {
1540
+ dx = minX - boundsX * initZoom;
1541
+ minX -= dx;
1542
+ maxX += dx;
1543
+ }
1544
+ else if (-boundsX * initZoom > maxX) {
1545
+ dx = -boundsX * initZoom - maxX;
1546
+ minX -= dx;
1547
+ maxX += dx;
1548
+ }
1549
+ }
1550
+ if (initCenterY) {
1551
+ const boundsY = initCenterY * initZoom - height / 2;
1552
+ if (-boundsY * initZoom < minY) {
1553
+ dy = minY - boundsY * initZoom;
1554
+ minY -= dy;
1555
+ maxY += dy;
1556
+ }
1557
+ else if (-boundsY * initZoom > maxY) {
1558
+ dy = -boundsY * initZoom - maxY;
1559
+ minY -= dy;
1560
+ maxY += dy;
1561
+ }
1562
+ }
1563
+ return {
1564
+ minX: minX,
1565
+ maxX: maxX,
1566
+ minY: minY,
1567
+ maxY: maxY
1568
+ };
1569
+ };
1570
+
1571
+ const useDragPan = ({ panProps, captureTargetRef, panBounds, width, height, zoom, onDragPanStart, onDragPanEnd }) => {
1572
+ const prevPanState = useRef({ panX: 0, panY: 0 });
1573
+ const initialPanState = useRef({ panX: 0, panY: 0 });
1574
+ const dragProps = useDrag({
1575
+ captureTargetRef,
1576
+ onDragStart: () => {
1577
+ const panValues = centerXYToPanXY(panProps.centerX, panProps.centerY, zoom, width, height);
1578
+ initialPanState.current = {
1579
+ panX: panValues.panX,
1580
+ panY: panValues.panY
1581
+ };
1582
+ onDragPanStart && onDragPanStart();
1583
+ },
1584
+ onDragMove: ({ dx, dy }) => {
1585
+ const nextPan = {
1586
+ panX: initialPanState.current.panX + dx,
1587
+ panY: initialPanState.current.panY + dy
1588
+ };
1589
+ const { newPan } = pan(prevPanState.current, nextPan, panProps.panDirection, zoom, width, height, panBounds, panProps.onPan);
1590
+ prevPanState.current = newPan;
1591
+ },
1592
+ onDragEnd: ({ originalEvent }) => {
1593
+ // If panning occurred, call preventDefault to prevent selection from occurring
1594
+ if (initialPanState.current.panX !== prevPanState.current.panX ||
1595
+ initialPanState.current.panY !== prevPanState.current.panY)
1596
+ originalEvent.preventDefault();
1597
+ onDragPanEnd && onDragPanEnd();
1598
+ },
1599
+ isDisabled: panProps.panning === 'off'
1600
+ });
1601
+ return dragProps;
1602
+ };
1603
+
1604
+ const PX_FACTOR_PER_LINE = 15; // Value used in Toolkit
1605
+ const PX_FACTOR_PER_PAGE = 40; // Value copied from datagrid; this is not handled in Toolkit
1606
+ const getNormalizedDelta = (e) => {
1607
+ const { deltaX, deltaY, deltaMode } = e;
1608
+ switch (deltaMode) {
1609
+ case e.DOM_DELTA_PIXEL:
1610
+ return { deltaX: -deltaX, deltaY: -deltaY };
1611
+ case e.DOM_DELTA_LINE:
1612
+ return { deltaX: -deltaX * PX_FACTOR_PER_LINE, deltaY: -deltaY * PX_FACTOR_PER_LINE };
1613
+ case e.DOM_DELTA_PAGE:
1614
+ return { deltaX: -deltaX * PX_FACTOR_PER_PAGE, deltaY: -deltaY * PX_FACTOR_PER_PAGE };
1615
+ default:
1616
+ return { deltaX: -deltaX, deltaY: -deltaY };
1617
+ }
1618
+ };
1619
+ const useWheel = ({ onWheel: onWheelCallback, preventDefault = true, isDisabled = false }) => {
1620
+ const onWheel = (e) => {
1621
+ const { deltaX, deltaY } = getNormalizedDelta(e);
1622
+ if (preventDefault)
1623
+ e.preventDefault();
1624
+ onWheelCallback({
1625
+ x: e.offsetX,
1626
+ y: e.offsetY,
1627
+ deltaX,
1628
+ deltaY,
1629
+ ctrlKey: e.ctrlKey || e.metaKey
1630
+ });
1631
+ };
1632
+ return isDisabled ? {} : { onWheel };
1633
+ };
1634
+
1635
+ /**
1636
+ * @license
1637
+ * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
1638
+ * Licensed under The Universal Permissive License (UPL), Version 1.0
1639
+ * as shown at https://oss.oracle.com/licenses/upl/
1640
+ * @ignore
1641
+ */
1642
+ const ZOOM_INCREMENT = 0.05;
1643
+ const zoom = (nextZoom, zoom, minZoom, maxZoom, onZoomChange) => {
1644
+ const newZoom = nextZoom > maxZoom || nextZoom < minZoom ? zoom : nextZoom;
1645
+ const isZoomChanged = newZoom !== zoom;
1646
+ isZoomChanged &&
1647
+ onZoomChange &&
1648
+ onZoomChange({
1649
+ zoomValue: newZoom
1650
+ });
1651
+ };
1652
+
1653
+ /**
1654
+ * @license
1655
+ * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
1656
+ * Licensed under The Universal Permissive License (UPL), Version 1.0
1657
+ * as shown at https://oss.oracle.com/licenses/upl/
1658
+ * @ignore
1659
+ */
1660
+ const useWheelZoom = ({ zooming, minZoom, maxZoom, zoomValue, onZoom }) => {
1661
+ const wheelProps = useWheel({
1662
+ onWheel: ({ deltaY }) => {
1663
+ const newZoom = zoomValue * (1 + ZOOM_INCREMENT * deltaY);
1664
+ zoom(newZoom, zoomValue, minZoom, maxZoom, onZoom);
1665
+ },
1666
+ isDisabled: zooming === 'off'
1667
+ });
1668
+ return wheelProps;
1669
+ };
1670
+
1671
+ /**
1672
+ * @license
1673
+ * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
1674
+ * Licensed under The Universal Permissive License (UPL), Version 1.0
1675
+ * as shown at https://oss.oracle.com/licenses/upl/
1676
+ * @ignore
1677
+ */
1678
+ const getMidpoint = (p1, p2) => ({ x: (p1.x + p2.x) / 2, y: (p1.y + p2.y) / 2 });
1679
+ const getDistance = (p1, p2) => Math.sqrt((p2.x - p1.x) ** 2 + (p2.y - p2.y) ** 2);
1680
+ const usePinch = ({ captureTargetRef, onPinchZoomStart, onPinchZoomChange, onPinchZoomEnd, isDisabled = false }) => {
1681
+ const origin = useRef({ x: -1, y: -1 });
1682
+ const prevDistance = useRef(-1);
1683
+ const reset = () => {
1684
+ origin.current = { x: -1, y: -1 };
1685
+ prevDistance.current = -1;
1686
+ };
1687
+ if (isDisabled)
1688
+ reset();
1689
+ const pinchProps = usePointerGesture({
1690
+ captureTargetRef,
1691
+ numPointers: 2, // Pinch gesture requires 2 pointers
1692
+ onPointerGestureDown: ({ pointers: [pointer1, pointer2] }) => {
1693
+ const p1 = { x: pointer1.offsetX, y: pointer1.offsetY };
1694
+ const p2 = { x: pointer2.offsetX, y: pointer2.offsetY };
1695
+ origin.current = getMidpoint(p1, p2);
1696
+ prevDistance.current = getDistance(p1, p2);
1697
+ onPinchZoomStart &&
1698
+ onPinchZoomStart({
1699
+ origin: origin.current,
1700
+ delta: 0
1701
+ });
1702
+ },
1703
+ onPointerGestureMove: ({ pointers: [pointer1, pointer2] }) => {
1704
+ const p1 = { x: pointer1.offsetX, y: pointer1.offsetY };
1705
+ const p2 = { x: pointer2.offsetX, y: pointer2.offsetY };
1706
+ const distance = getDistance(p1, p2);
1707
+ const delta = distance - prevDistance.current;
1708
+ prevDistance.current = distance;
1709
+ onPinchZoomChange &&
1710
+ onPinchZoomChange({
1711
+ origin: origin.current,
1712
+ delta
1713
+ });
1714
+ },
1715
+ onPointerGestureEnd: () => {
1716
+ reset();
1717
+ onPinchZoomEnd && onPinchZoomEnd();
1718
+ }
1719
+ });
1720
+ return isDisabled ? {} : pinchProps;
1721
+ };
1722
+
1723
+ const usePinchZoom = ({ captureTargetRef, zooming, minZoom, maxZoom, zoomValue, onZoom }) => {
1724
+ const pinchProps = usePinch({
1725
+ captureTargetRef,
1726
+ onPinchZoomChange: ({ delta }) => {
1727
+ const newZoom = zoomValue * (1 + ZOOM_INCREMENT * delta);
1728
+ zoom(newZoom, zoomValue, minZoom, maxZoom, onZoom);
1729
+ },
1730
+ isDisabled: zooming === 'off'
1731
+ });
1732
+ return pinchProps;
1733
+ };
1734
+
1735
+ const usePanZoom = ({ props, captureTargetRef, width, height, contentBounds }) => {
1736
+ const [cursor, setCursor] = useState();
1737
+ const zoomProps = getZoomProps(props, width, height, contentBounds);
1738
+ const panProps = getPanProps(props, contentBounds);
1739
+ const panBounds = useRef();
1740
+ const prevZoom = useRef();
1741
+ const panning = useRef();
1742
+ const initPanZoomState = useRef({
1743
+ zoom: props.zoomValue || 0,
1744
+ centerX: props.centerX,
1745
+ centerY: props.centerY
1746
+ });
1747
+ if (contentBounds.w !== Infinity &&
1748
+ (zoomProps.zoomValue !== prevZoom.current || panProps.panning !== panning.current)) {
1749
+ panBounds.current = getPanBounds(width, height, contentBounds, panProps.panning, zoomProps.zoomValue, zoomProps.minZoom, initPanZoomState.current);
1750
+ prevZoom.current = zoomProps.zoomValue;
1751
+ panning.current = panProps.panning;
1752
+ }
1753
+ const dragPanProps = useDragPan({
1754
+ panProps: panProps,
1755
+ captureTargetRef: captureTargetRef,
1756
+ panBounds: panBounds.current,
1757
+ zoom: zoomProps.zoomValue,
1758
+ width,
1759
+ height,
1760
+ onDragPanStart: () => setCursor('grabbing'),
1761
+ onDragPanEnd: () => setCursor('auto')
1762
+ });
1763
+ //dZoom or nZoom is required
1764
+ const kbZoomCallback = (props) => {
1765
+ const newZoom = props.dZoom
1766
+ ? zoomProps.zoomValue + props.dZoom
1767
+ : getZoomToFitZoom(width, height, contentBounds);
1768
+ zoom(props.nZoom ? props.nZoom : newZoom, zoomProps.zoomValue, zoomProps.minZoom, zoomProps.maxZoom, zoomProps.onZoom);
1769
+ };
1770
+ const prevPanState = useRef({ panX: 0, panY: 0 });
1771
+ // dPan or nPan is required
1772
+ const kbPanCallback = (props) => {
1773
+ let centerX;
1774
+ let centerY;
1775
+ if (props.center) {
1776
+ centerX = contentBounds.x + contentBounds.w / 2;
1777
+ centerY = contentBounds.y + contentBounds.h / 2;
1778
+ }
1779
+ else if (props.dPan) {
1780
+ centerX = panProps.centerX + props.dPan.dx;
1781
+ centerY = panProps.centerY + props.dPan.dy;
1782
+ }
1783
+ else {
1784
+ centerX = props.nPan.cx;
1785
+ centerY = props.nPan.cy;
1786
+ }
1787
+ const panValues = centerXYToPanXY(centerX, centerY, zoomProps.zoomValue, width, height);
1788
+ const { newPan } = pan(prevPanState.current, panValues, panProps.panDirection, zoomProps.zoomValue, width, height, panBounds.current, panProps.onPan);
1789
+ prevPanState.current = newPan;
1790
+ };
1791
+ const wheelZoomProps = useWheelZoom(zoomProps);
1792
+ const pinchZoomProps = usePinchZoom({
1793
+ captureTargetRef,
1794
+ zooming: zoomProps.zooming,
1795
+ minZoom: zoomProps.minZoom,
1796
+ maxZoom: zoomProps.maxZoom,
1797
+ zoomValue: zoomProps.zoomValue,
1798
+ onZoom: zoomProps.onZoom
1799
+ });
1800
+ const panZoomProps = mergeProps(dragPanProps, wheelZoomProps, pinchZoomProps);
1801
+ return {
1802
+ panZoomProps,
1803
+ cursor,
1804
+ centerX: panProps.centerX,
1805
+ centerY: panProps.centerY,
1806
+ zoomValue: zoomProps.zoomValue,
1807
+ kbPanCallback: panProps.panning !== 'off' ? kbPanCallback : undefined,
1808
+ kbZoomCallback: zoomProps.zooming !== 'off' ? kbZoomCallback : undefined
1809
+ };
1810
+ };
1811
+
1812
+ function useDiagramSelection({ selectedIds, selectionMode, nodeMap, linkMap, focusedItemInfo, onSelectionChange, rootRef }) {
1813
+ const nodeIdToIndexMap = nodeMap.itemIdToIndexMap;
1814
+ const nodeIndexToIdMap = nodeMap.itemIndexToIdMap;
1815
+ const linkIdToIndexMap = linkMap.itemIdToIndexMap;
1816
+ const linkIndexToIdMap = linkMap.itemIndexToIdMap;
1817
+ const encodeNodeId = (id) => `N_${nodeIdToIndexMap.get(id)}`;
1818
+ const decodeNodeId = (id) => nodeIndexToIdMap.get(Number(id.slice(2)));
1819
+ const encodeLinkId = (id) => `L_${linkIdToIndexMap.get(id)}`;
1820
+ const decodeLinkId = (id) => linkIndexToIdMap.get(Number(id.slice(2)));
1821
+ const encodedNodesSelection = selectedIds.nodes ? selectedIds.nodes.map(encodeNodeId) : [];
1822
+ const encodedLinksSelection = selectedIds.links ? selectedIds.links.map(encodeLinkId) : [];
1823
+ const encodedSelection = [...encodedNodesSelection, ...encodedLinksSelection];
1824
+ const idExtracter = (event) => {
1825
+ // return encodeNodeId(id) or encodeLinkId(id) depending on node or link selection or undefined if clicked on empty space
1826
+ const info = event.type === 'keyup'
1827
+ ? focusedItemInfo
1828
+ : getNavigableInfo(event.target, rootRef);
1829
+ return info.id !== undefined
1830
+ ? info.isNode
1831
+ ? encodeNodeId(info.id)
1832
+ : encodeLinkId(info.id)
1833
+ : undefined;
1834
+ };
1835
+ const onEncodedSelectionChange = (detail) => {
1836
+ const newSelectedNodeIds = detail.ids
1837
+ .filter((encId) => encId[0] === 'N')
1838
+ .map((encId) => decodeNodeId(encId));
1839
+ const newSelectedLinkIds = detail.ids
1840
+ .filter((encId) => encId[0] === 'L')
1841
+ .map((encId) => decodeLinkId(encId));
1842
+ const nodeData = newSelectedNodeIds.map((selectedId) => {
1843
+ return nodeMap.itemIdToDataMap.get(selectedId);
1844
+ });
1845
+ const linkData = newSelectedLinkIds.map((selectedId) => {
1846
+ return linkMap.itemIdToDataMap.get(selectedId);
1847
+ });
1848
+ return (onSelectionChange &&
1849
+ onSelectionChange({
1850
+ nodes: newSelectedNodeIds,
1851
+ links: newSelectedLinkIds,
1852
+ nodeData,
1853
+ linkData
1854
+ }));
1855
+ };
1856
+ const getDataById = (id) => {
1857
+ let data;
1858
+ if (id[0] === 'N') {
1859
+ const nodeId = decodeNodeId(id);
1860
+ data = nodeMap.itemIdToDataMap.get(nodeId);
1861
+ }
1862
+ else if (id[0] === 'L') {
1863
+ const linkId = decodeLinkId(id);
1864
+ data = linkMap.itemIdToDataMap.get(linkId);
1865
+ }
1866
+ return data;
1867
+ };
1868
+ const { selectionContent, selectionProps } = useSelection({
1869
+ selection: encodedSelection,
1870
+ idExtracter,
1871
+ selectionMode,
1872
+ getDataById,
1873
+ onChange: onEncodedSelectionChange
1874
+ });
1875
+ return { selectionContent, selectionProps };
1876
+ }
1877
+
1878
+ function DiagramWithDimensions({ nodes = [], links = [], width, height, selectedIds = {}, selectionMode = 'none', layout, nodeRenderer, linkRenderer, onSelectionChange, onItemHover, onItemFocus, highlightedIds = {}, datatip, ...otherProps }) {
1879
+ const focusedItemBoundsRef = useRef(null);
1880
+ const rootRef = useRef(null);
1881
+ //TODO JET-62563 change bounds to a MAP
1882
+ const [bounds, setBounds] = useState([]);
1883
+ const [combinedLabelBounds, setCombinedLabelBounds] = useState();
1884
+ const { direction } = useUser();
1885
+ const diagramNodes = nodes;
1886
+ const nodeMap = createItemMap(diagramNodes);
1887
+ const nodeIdToDataMap = nodeMap.itemIdToDataMap;
1888
+ const diagramLinks = filterLinksWithNoEndNodes(links, nodeIdToDataMap);
1889
+ const linkMap = createItemMap(diagramLinks);
1890
+ const linkIdToDataMap = linkMap.itemIdToDataMap;
1891
+ const resizeThrottling = useRef(false);
1892
+ const newDimensions = getDimensionsFromBounds(bounds);
1893
+ const { textMeasureContent, getTextDimensions } = useTextDimensions();
1894
+ const labelDimensions = useRef(new Map());
1895
+ const nodeLabelPosRef = useRef([]);
1896
+ const linkLabelPosRef = useRef([]);
1897
+ const layoutOutputRef = useRef();
1898
+ const contentBounds = getContentBounds(bounds, combinedLabelBounds);
1899
+ const { panZoomProps, cursor, centerX, centerY, zoomValue, kbPanCallback, kbZoomCallback } = usePanZoom({
1900
+ props: otherProps,
1901
+ captureTargetRef: rootRef,
1902
+ width: width,
1903
+ height: height,
1904
+ contentBounds
1905
+ });
1906
+ const { touchResponse, touchResponseStyle } = useVisTouchResponse({
1907
+ type: 'auto',
1908
+ supportsTouchDragGestures: otherProps.zooming === 'on' || (!!otherProps.panning && otherProps.panning !== 'off'),
1909
+ rootRef
1910
+ });
1911
+ const { focusedItemInfo, hoveredItemInfo, activeId, eventsProps } = useEvents(touchResponse, diagramNodes[0], diagramNodes, diagramLinks, bounds, linkIdToDataMap, nodeIdToDataMap, nodeMap.itemIdToIndexMap, width, height, otherProps.maxZoom || 1, onItemHover, onItemFocus, kbPanCallback, kbZoomCallback);
1912
+ const { selectionProps, selectionContent } = useDiagramSelection({
1913
+ selectedIds,
1914
+ selectionMode,
1915
+ nodeMap,
1916
+ linkMap,
1917
+ focusedItemInfo,
1918
+ onSelectionChange,
1919
+ rootRef
1920
+ });
1921
+ // This is for the datatip kb position
1922
+ if (focusedItemInfo && bounds.length > 0) {
1923
+ focusedItemBoundsRef.current = getFocusedItemBounds(focusedItemInfo, bounds, diagramLinks, nodeMap.itemIdToIndexMap, linkMap.itemIdToIndexMap);
1924
+ }
1925
+ const { datatipContent, datatipProps: { 'aria-describedby': datatipAriaDescribedby, ...datatipProps } } = useDiagramDatatip({
1926
+ touchResponse,
1927
+ datatip,
1928
+ focusedItemInfo,
1929
+ focusedItemBoundsRef,
1930
+ panState: centerXYToPanXY(centerX, centerY, zoomValue, width, height),
1931
+ zoom: zoomValue,
1932
+ width: width,
1933
+ nodesMap: nodeIdToDataMap,
1934
+ linksMap: linkIdToDataMap,
1935
+ hoveredItem: hoveredItemInfo
1936
+ });
1937
+ const style = {
1938
+ width: width,
1939
+ height: height,
1940
+ cursor: cursor,
1941
+ ...touchResponseStyle
1942
+ };
1943
+ const states = useRef();
1944
+ const previousState = states.current // states.current is previous state
1945
+ ? states.current
1946
+ : {
1947
+ selectedNodeIds: [],
1948
+ selectedLinkIds: [],
1949
+ focusedId: undefined,
1950
+ hoveredId: undefined,
1951
+ activeId: undefined,
1952
+ highlightedIds: [],
1953
+ zoom: 0
1954
+ };
1955
+ states.current = {
1956
+ // update states to new state
1957
+ selectedNodeIds: selectedIds.nodes ?? [],
1958
+ selectedLinkIds: selectedIds.links ?? [],
1959
+ focusedId: focusedItemInfo.isCurrent && focusedItemInfo.isFocusVisible ? focusedItemInfo.id : undefined,
1960
+ hoveredId: hoveredItemInfo?.isCurrent ? hoveredItemInfo.id : undefined,
1961
+ activeId,
1962
+ highlightedIds: combineIds(highlightedIds.nodes, highlightedIds.links),
1963
+ zoom: zoomValue
1964
+ };
1965
+ const mergedEventProps = mergeProps(panZoomProps, eventsProps, selectionProps, datatipProps);
1966
+ // Called anytime node changes size
1967
+ const onNodeSizeChanged = (nodeWidth, nodeHeight, idx) => {
1968
+ newDimensions[idx] = { w: nodeWidth, h: nodeHeight };
1969
+ if (resizeThrottling.current) {
1970
+ return;
1971
+ }
1972
+ resizeThrottling.current = true;
1973
+ // performs layout at the next available animation frame when all measurements should be ready
1974
+ window.requestAnimationFrame(() => {
1975
+ const { labelDims, layoutJSON } = constructLayoutJSON(diagramNodes, nodeIdToDataMap, linkIdToDataMap, newDimensions, width, height, getTextDimensions);
1976
+ labelDimensions.current = labelDims;
1977
+ const layoutOutput = layout(layoutJSON);
1978
+ const { nodePoints, nodeLabelPos, linkLabelPos } = deconstructLayoutJSON(layoutOutput, diagramNodes, diagramLinks);
1979
+ nodeLabelPosRef.current = nodeLabelPos;
1980
+ linkLabelPosRef.current = linkLabelPos;
1981
+ layoutOutputRef.current = layoutOutput;
1982
+ const nodeBounds = mergeDimensions(newDimensions, nodePoints);
1983
+ setBounds(nodeBounds);
1984
+ const labelBounds = getAllLabelBounds(labelDims, diagramNodes, diagramLinks, nodeLabelPos, linkLabelPos, direction === 'rtl');
1985
+ setCombinedLabelBounds(labelBounds);
1986
+ resizeThrottling.current = false;
1987
+ });
1988
+ };
1989
+ return (jsxs("div", { ref: rootRef, class: outerStyles, ...mergedEventProps, style: style, tabIndex: 0, role: "application", "aria-label": otherProps['aria-label'], "aria-labelledby": otherProps['aria-labelledby'], "aria-describedby": merge([otherProps['aria-describedby'], datatipAriaDescribedby]), "aria-activedescendant": activeId, children: [getTextDimensions ? (jsx(DiagramPanZoomContainer, { centerX: centerX, centerY: centerY, zoom: zoomValue, width: width, height: height, children: jsx(DiagramLayers, { nodes: diagramNodes, links: diagramLinks, nodeRenderer: nodeRenderer, linkRenderer: linkRenderer, width: width, height: height, nodeBounds: bounds, states: states.current, previousStates: previousState, onNodeSizeChanged: onNodeSizeChanged, nodeLabelPositions: nodeLabelPosRef.current, linkLabelPositions: linkLabelPosRef.current, labelDimensions: labelDimensions.current, supportsSelection: selectionMode !== 'none' ||
1990
+ !!(selectedIds?.nodes && selectedIds.nodes.length > 0) ||
1991
+ !!(selectedIds?.links && selectedIds.links.length > 0), layoutOutput: layoutOutputRef.current }) })) : undefined, textMeasureContent, datatipContent, selectionContent] }));
1992
+ }
1993
+
1994
+ /**
1995
+ * Diagrams are used to display a set of nodes and the links between them.
1996
+ */
1997
+ function Diagram({ width, height, ...otherProps }) {
1998
+ return otherProps.nodes && otherProps.nodes.length > 0 ? (jsx(TrackResizeContainer, { width: width, height: height, class: dimensionStyle, children: (width, height) => jsx(DiagramWithDimensions, { width: width, height: height, ...otherProps }) })) : null;
1999
+ }
2000
+
2001
+ export { Diagram as D };
2002
+ //# sourceMappingURL=Diagram-6f1ad2ea.js.map