@oracle/oraclejet-preact 17.0.0 → 17.0.2

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 (1804) hide show
  1. package/amd/ActionCard-c8070525.js +1 -1
  2. package/amd/BarChart-be1d51d4.js +1 -1
  3. package/amd/BaseButton-83ce1d00.js +1 -1
  4. package/amd/BaseCardView-1aa0d986.js +1 -1
  5. package/amd/BaseCardViewSelectionTest-28e25f08.js +2 -0
  6. package/amd/BaseCardViewSelectionTest-28e25f08.js.map +1 -0
  7. package/amd/BaseNavigationListItem-4a940426.js +1 -1
  8. package/amd/ButtonSet-d8cd5447.js +1 -1
  9. package/amd/ButtonSetIconButton-08612ca6.js +1 -1
  10. package/amd/Center-5f845605.js +2 -0
  11. package/amd/Center-5f845605.js.map +1 -0
  12. package/amd/Chart-4796be31.js +1 -1
  13. package/amd/CheckboxControl-7d539ab3.js +1 -1
  14. package/amd/CheckboxRadioField-da88bd6f.js +1 -1
  15. package/amd/Chip-26339152.js +1 -1
  16. package/amd/ClearIcon-a29e57fb.js +1 -1
  17. package/amd/CollapseIcon-c433fd3e.js +1 -1
  18. package/amd/Collapsible-8f15bec2.js +1 -1
  19. package/amd/CompactHelpSource-7de24d56.js +1 -1
  20. package/amd/CompactLabelAssistance-91aeaa2e.js +2 -0
  21. package/amd/CompactLabelAssistance-91aeaa2e.js.map +1 -0
  22. package/amd/CompactUserAssistance-b2cbdbad.js +1 -1
  23. package/amd/ComponentMessageContainer-dc4b7c7f.js +1 -1
  24. package/amd/ConveyorBeltItem-d398eaa6.js +1 -1
  25. package/amd/DatePicker-3996fc76.js +2 -0
  26. package/amd/DatePicker-3996fc76.js.map +1 -0
  27. package/amd/DatePickerHeader-52c085e6.js +1 -1
  28. package/amd/Diagram-737e9921.js +2 -0
  29. package/amd/Diagram-737e9921.js.map +1 -0
  30. package/amd/DirectionalCollapseArrowIcon-09a24655.js +1 -1
  31. package/amd/DirectionalExpandArrowIcon-c8f2e596.js +1 -1
  32. package/amd/DragHandle-351a20be.js +1 -1
  33. package/amd/Dropdown-de472a1d.js +2 -0
  34. package/amd/Dropdown-de472a1d.js.map +1 -0
  35. package/amd/EnvironmentProvider-46d0a245.js +2 -0
  36. package/amd/EnvironmentProvider-46d0a245.js.map +1 -0
  37. package/amd/FilePicker-9b2fb661.js +1 -1
  38. package/amd/Flex-1f27b601.js +2 -0
  39. package/amd/Flex-1f27b601.js.map +1 -0
  40. package/amd/Floating-85851b1a.js +2 -0
  41. package/amd/Floating-85851b1a.js.map +1 -0
  42. package/amd/FormLayout-80b89e74.js +1 -1
  43. package/amd/Gantt-6fe34398.js +1 -1
  44. package/amd/Grid-85171367.js +2 -0
  45. package/amd/Grid-85171367.js.map +1 -0
  46. package/amd/Gridlines-11a94c28.js +2 -0
  47. package/amd/Gridlines-11a94c28.js.map +1 -0
  48. package/amd/GroupLoadingIndicator-e66ed431.js +1 -1
  49. package/amd/HighlightText-ad9bc1f8.js +2 -0
  50. package/amd/HighlightText-ad9bc1f8.js.map +1 -0
  51. package/amd/Icon-599f55f3.js +1 -1
  52. package/amd/IconButton-1b328b69.js +1 -1
  53. package/amd/IconMenuButton-c275cfbb.js +1 -1
  54. package/amd/IconSwitchButton-0e888503.js +1 -1
  55. package/amd/IconToggleButton-563a5127.js +1 -1
  56. package/amd/IconUserAssistance-5bdaa6bf.js +2 -0
  57. package/amd/IconUserAssistance-5bdaa6bf.js.map +1 -0
  58. package/amd/Indexer-204a6d88.js +1 -1
  59. package/amd/InlineHelpSource-359fd9df.js +1 -1
  60. package/amd/InlineUserAssistance-f4d1fa1b.js +1 -1
  61. package/amd/InputDateMask-b7a27faa.js +1 -1
  62. package/amd/InputDatePicker-0012b304.js +2 -0
  63. package/amd/InputDatePicker-0012b304.js.map +1 -0
  64. package/amd/InputPassword-03f24e78.js +1 -1
  65. package/amd/InputText-da0a5c0f.js +1 -1
  66. package/amd/Label-3f8fc274.js +1 -1
  67. package/amd/LabelValueLayout-89e9f1be.js +1 -1
  68. package/amd/Layer-3cc44164.js +2 -0
  69. package/amd/Layer-3cc44164.js.map +1 -0
  70. package/amd/LayerHost-eab40731.js +2 -0
  71. package/amd/LayerHost-eab40731.js.map +1 -0
  72. package/amd/LayerManager-d0836029.js +2 -0
  73. package/amd/LayerManager-d0836029.js.map +1 -0
  74. package/amd/Legend-42f8653b.js +1 -1
  75. package/amd/LineAreaChart-2057f8b4.js +2 -0
  76. package/amd/LineAreaChart-2057f8b4.js.map +1 -0
  77. package/amd/Link-6f583879.js +1 -1
  78. package/amd/List-5958c802.js +1 -1
  79. package/amd/ListItemLayout-dba9e24b.js +2 -0
  80. package/amd/ListItemLayout-dba9e24b.js.map +1 -0
  81. package/amd/ListView-27d10b67.js +1 -1
  82. package/amd/LiveRegion-be6f36d7.js +2 -0
  83. package/amd/LiveRegion-be6f36d7.js.map +1 -0
  84. package/amd/MaxLengthLiveRegion-23d7e335.js +2 -0
  85. package/amd/MaxLengthLiveRegion-23d7e335.js.map +1 -0
  86. package/amd/Menu-51409b28.js +2 -0
  87. package/amd/Menu-51409b28.js.map +1 -0
  88. package/amd/MenuButton-c8fb534d.js +1 -1
  89. package/amd/MenuItem-644f8619.js +1 -1
  90. package/amd/Message-51d787d0.js +1 -1
  91. package/amd/MessageLayer-d2c49999.js +2 -0
  92. package/amd/MessageLayer-d2c49999.js.map +1 -0
  93. package/amd/MessageToast-e0e07765.js +1 -1
  94. package/amd/MessagesManager-78a10f78.js +1 -1
  95. package/amd/MeterBar-38666619.js +1 -1
  96. package/amd/MeterCircle-f1561632.js +1 -1
  97. package/amd/Modal-8c095bea.js +2 -0
  98. package/amd/Modal-8c095bea.js.map +1 -0
  99. package/amd/MonthView-b5d1d69d.js +2 -0
  100. package/amd/MonthView-b5d1d69d.js.map +1 -0
  101. package/amd/NavigationListItem-0a4f8a9c.js +1 -1
  102. package/amd/NumberInputText-0d8284f8.js +1 -1
  103. package/amd/OverflowTabBarItem-aae4eb2f.js +1 -1
  104. package/amd/PRIVATE_BaseCardView.js +1 -1
  105. package/amd/PRIVATE_Chart.js +1 -1
  106. package/amd/PRIVATE_CheckboxControl.js +1 -1
  107. package/amd/PRIVATE_CheckboxRadioField.js +1 -1
  108. package/amd/PRIVATE_ClearIcon.js +1 -1
  109. package/amd/PRIVATE_DatePickerHeader.js +1 -1
  110. package/amd/PRIVATE_DatePickerLayout.js +1 -1
  111. package/amd/PRIVATE_EmbeddedIconButton.js +1 -1
  112. package/amd/PRIVATE_FormControls.js +1 -1
  113. package/amd/PRIVATE_IconSwitchButton.js +1 -1
  114. package/amd/PRIVATE_Icons/CheckboxMixed.js +1 -1
  115. package/amd/PRIVATE_Icons/CheckboxOff.js +1 -1
  116. package/amd/PRIVATE_Icons/CheckboxOn.js +1 -1
  117. package/amd/PRIVATE_Icons/RadiobuttonOff.js +1 -1
  118. package/amd/PRIVATE_Icons/RadiobuttonOn.js +1 -1
  119. package/amd/PRIVATE_Icons/WarningS.js +1 -1
  120. package/amd/PRIVATE_List.js +1 -1
  121. package/amd/PRIVATE_Message.js +1 -1
  122. package/amd/PRIVATE_MessageLayer.js +1 -1
  123. package/amd/PRIVATE_MonthView.js +1 -1
  124. package/amd/PRIVATE_MonthYearGridView.js +1 -1
  125. package/amd/PRIVATE_PlotArea.js +1 -1
  126. package/amd/PRIVATE_RevealToggleIcon.js +1 -1
  127. package/amd/PRIVATE_SelectCommon.js +1 -1
  128. package/amd/PRIVATE_StyledCheckbox.js +1 -1
  129. package/amd/PRIVATE_Table.js +1 -1
  130. package/amd/PRIVATE_ThemedIcons/CalendarIcon.js +1 -1
  131. package/amd/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +1 -1
  132. package/amd/PRIVATE_ThemedIcons/ChartPanIcon.js +1 -1
  133. package/amd/PRIVATE_ThemedIcons/ChartZoomIcon.js +1 -1
  134. package/amd/PRIVATE_ThemedIcons/CheckIcon.js +1 -1
  135. package/amd/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +1 -1
  136. package/amd/PRIVATE_ThemedIcons/CheckboxOffIcon.js +1 -1
  137. package/amd/PRIVATE_ThemedIcons/CheckboxOnIcon.js +1 -1
  138. package/amd/PRIVATE_ThemedIcons/CloseIcon.js +1 -1
  139. package/amd/PRIVATE_ThemedIcons/CollapseIcon.js +1 -1
  140. package/amd/PRIVATE_ThemedIcons/CollapseUpIcon.js +1 -1
  141. package/amd/PRIVATE_ThemedIcons/DecrementIcon.js +1 -1
  142. package/amd/PRIVATE_ThemedIcons/DeleteIcon.js +1 -1
  143. package/amd/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +1 -1
  144. package/amd/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +1 -1
  145. package/amd/PRIVATE_ThemedIcons/DropdownArrowIcon.js +1 -1
  146. package/amd/PRIVATE_ThemedIcons/ExpandIcon.js +1 -1
  147. package/amd/PRIVATE_ThemedIcons/HelpIcon.js +1 -1
  148. package/amd/PRIVATE_ThemedIcons/IncrementIcon.js +1 -1
  149. package/amd/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +1 -1
  150. package/amd/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +1 -1
  151. package/amd/PRIVATE_ThemedIcons/MessageErrorIcon.js +1 -1
  152. package/amd/PRIVATE_ThemedIcons/MessageInfoIcon.js +1 -1
  153. package/amd/PRIVATE_ThemedIcons/MessageWarningIcon.js +1 -1
  154. package/amd/PRIVATE_ThemedIcons/MinusIcon.js +1 -1
  155. package/amd/PRIVATE_ThemedIcons/NavDownIcon.js +1 -1
  156. package/amd/PRIVATE_ThemedIcons/PlusIcon.js +1 -1
  157. package/amd/PRIVATE_ThemedIcons/RadioOffIcon.js +1 -1
  158. package/amd/PRIVATE_ThemedIcons/RadioOnIcon.js +1 -1
  159. package/amd/PRIVATE_ThemedIcons/SortAscendingIcon.js +1 -1
  160. package/amd/PRIVATE_ThemedIcons/SortDefaultIcon.js +1 -1
  161. package/amd/PRIVATE_ThemedIcons/SortDescendingIcon.js +1 -1
  162. package/amd/PRIVATE_ThemedIcons/ViewHideIcon.js +1 -1
  163. package/amd/PRIVATE_ThemedIcons/ViewIcon.js +1 -1
  164. package/amd/PRIVATE_TimeComponent.js +1 -1
  165. package/amd/PRIVATE_VisTabularDatatip.js +1 -1
  166. package/amd/PictoChart-4d70af90.js +1 -1
  167. package/amd/PieChart-ab4c95f7.js +2 -0
  168. package/amd/PieChart-ab4c95f7.js.map +1 -0
  169. package/amd/Popup-249d77c3.js +2 -0
  170. package/amd/Popup-249d77c3.js.map +1 -0
  171. package/amd/ProgressBar-f82d6b43.js +2 -0
  172. package/amd/ProgressBar-f82d6b43.js.map +1 -0
  173. package/amd/ProgressCircle-fc85cd7c.js +2 -0
  174. package/amd/ProgressCircle-fc85cd7c.js.map +1 -0
  175. package/amd/RadioItem-27c120ba.js +1 -1
  176. package/amd/RatingGauge-dfe9f698.js +1 -1
  177. package/amd/ReadonlyTextFieldInput-a5e85e5d.js +1 -1
  178. package/amd/RemovableNavigationListItem-87ecbae7.js +1 -1
  179. package/amd/RemovableTabBarItem-89287a9b.js +1 -1
  180. package/amd/ReorderableTabBar-05821909.js +1 -1
  181. package/amd/RevealToggleIcon-ef89d654.js +1 -1
  182. package/amd/SectionalLegend-798dbecb.js +1 -1
  183. package/amd/SectionedContent-655a773a.js +2 -0
  184. package/amd/SectionedContent-655a773a.js.map +1 -0
  185. package/amd/SelectMultiple-fabd883c.js +1 -1
  186. package/amd/SelectSingle-34d636a8.js +1 -1
  187. package/amd/SelectionCard-0ecc7773.js +2 -0
  188. package/amd/SelectionCard-0ecc7773.js.map +1 -0
  189. package/amd/Selector-ad2af152.js +1 -1
  190. package/amd/SelectorAll-879d186e.js +1 -1
  191. package/amd/Sheet-6447f399.js +2 -0
  192. package/amd/Sheet-6447f399.js.map +1 -0
  193. package/amd/SplitMenuButton-deb0fc04.js +1 -1
  194. package/amd/StyledTextField-8ac3bbb4.js +1 -1
  195. package/amd/Submenu-b20a55aa.js +1 -1
  196. package/amd/TabBar-10096a0c.js +1 -1
  197. package/amd/TabBarItem-7f4a5e0b.js +1 -1
  198. package/amd/TabBarLayout-f8e0fcad.js +1 -1
  199. package/amd/TabBarMixed-5adc54c4.js +1 -1
  200. package/amd/TabBarMixedSeparator-10a52b13.js +2 -0
  201. package/amd/TabBarMixedSeparator-10a52b13.js.map +1 -0
  202. package/amd/Table-fda0ad21.js +1 -1
  203. package/amd/TagCloud-a37fcea5.js +1 -1
  204. package/amd/TextArea-2c7af40c.js +2 -0
  205. package/amd/TextArea-2c7af40c.js.map +1 -0
  206. package/amd/TextAreaAutosize-9dc5bffe.js +2 -0
  207. package/amd/TextAreaAutosize-9dc5bffe.js.map +1 -0
  208. package/amd/TextField-0fc70892.js +1 -1
  209. package/amd/TextFieldInput-dfd9529f.js +1 -1
  210. package/amd/Theme-redwood/theme.css +227 -227
  211. package/amd/Theme-stable/theme.css +363 -363
  212. package/amd/TimeComponentCanvas2D-d4a5891c.js +1 -1
  213. package/amd/Toolbar-98c1d888.js +1 -1
  214. package/amd/TruncatingBadge-67192c05.js +1 -1
  215. package/amd/TruncatingText-27ffd8e4.js +1 -1
  216. package/amd/UNSAFE_ActionCard.js +1 -1
  217. package/amd/UNSAFE_BarChart/__test__/BarChart.spec.js +1 -1
  218. package/amd/UNSAFE_BarChart.js +1 -1
  219. package/amd/UNSAFE_BaseButton.js +1 -1
  220. package/amd/UNSAFE_Button.js +1 -1
  221. package/amd/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +1 -1
  222. package/amd/UNSAFE_ButtonSet.js +1 -1
  223. package/amd/UNSAFE_ButtonSetButton.js +1 -1
  224. package/amd/UNSAFE_ButtonSetIconButton.js +1 -1
  225. package/amd/UNSAFE_ButtonSetItem.js +1 -1
  226. package/amd/UNSAFE_ButtonSetMultiple.js +1 -1
  227. package/amd/UNSAFE_ButtonSetSingle.js +1 -1
  228. package/amd/UNSAFE_CardFlexView.js +1 -1
  229. package/amd/UNSAFE_CardGridView.js +1 -1
  230. package/amd/UNSAFE_Center.js +1 -1
  231. package/amd/UNSAFE_ChartWithLegend.js +1 -1
  232. package/amd/UNSAFE_Checkbox.js +1 -1
  233. package/amd/UNSAFE_CheckboxItem.js +1 -1
  234. package/amd/UNSAFE_CheckboxSet.js +1 -1
  235. package/amd/UNSAFE_Chip.js +1 -1
  236. package/amd/UNSAFE_Collapsible.js +1 -1
  237. package/amd/UNSAFE_ComponentMessage.js +1 -1
  238. package/amd/UNSAFE_ConveyorBelt.js +1 -1
  239. package/amd/UNSAFE_DatePicker.js +1 -1
  240. package/amd/UNSAFE_Diagram.js +1 -1
  241. package/amd/UNSAFE_Dialog.js +1 -1
  242. package/amd/UNSAFE_DragHandle.js +1 -1
  243. package/amd/UNSAFE_DrawerLayout.js +1 -1
  244. package/amd/UNSAFE_DrawerPopup.js +1 -1
  245. package/amd/UNSAFE_Dropdown.js +1 -1
  246. package/amd/UNSAFE_Environment.js +1 -1
  247. package/amd/UNSAFE_ExpandableList.js +1 -1
  248. package/amd/UNSAFE_FilePicker.js +1 -1
  249. package/amd/UNSAFE_Flex.js +1 -1
  250. package/amd/UNSAFE_Floating.js +1 -1
  251. package/amd/UNSAFE_FormLayout.js +1 -1
  252. package/amd/UNSAFE_Gantt.js +1 -1
  253. package/amd/UNSAFE_Grid.js +1 -1
  254. package/amd/UNSAFE_HighlightText.js +1 -1
  255. package/amd/UNSAFE_Icon.js +1 -1
  256. package/amd/UNSAFE_IconButton.js +1 -1
  257. package/amd/UNSAFE_IconMenuButton.js +1 -1
  258. package/amd/UNSAFE_IconToggleButton.js +1 -1
  259. package/amd/UNSAFE_Indexer.js +1 -1
  260. package/amd/UNSAFE_InputDateMask.js +1 -1
  261. package/amd/UNSAFE_InputDatePicker.js +1 -1
  262. package/amd/UNSAFE_InputPassword.js +1 -1
  263. package/amd/UNSAFE_InputSensitiveText.js +1 -1
  264. package/amd/UNSAFE_InputText.js +1 -1
  265. package/amd/UNSAFE_Label.js +1 -1
  266. package/amd/UNSAFE_LabelValueLayout.js +1 -1
  267. package/amd/UNSAFE_LabelledLink.js +1 -1
  268. package/amd/UNSAFE_Layer.js +1 -1
  269. package/amd/UNSAFE_Legend.js +1 -1
  270. package/amd/UNSAFE_LineAreaChart/__test__/LineChart.spec.js +1 -1
  271. package/amd/UNSAFE_LineAreaChart.js +1 -1
  272. package/amd/UNSAFE_Link.js +1 -1
  273. package/amd/UNSAFE_ListItemLayout.js +1 -1
  274. package/amd/UNSAFE_ListView.js +1 -1
  275. package/amd/UNSAFE_LiveRegion.js +1 -1
  276. package/amd/UNSAFE_Menu.js +1 -1
  277. package/amd/UNSAFE_MenuButton.js +1 -1
  278. package/amd/UNSAFE_MessageBanner.js +1 -1
  279. package/amd/UNSAFE_MessageToast.js +1 -1
  280. package/amd/UNSAFE_MeterBar.js +1 -1
  281. package/amd/UNSAFE_MeterCircle.js +1 -1
  282. package/amd/UNSAFE_Modal.js +1 -1
  283. package/amd/UNSAFE_NavigationList.js +1 -1
  284. package/amd/UNSAFE_NavigationListCommon.js +1 -1
  285. package/amd/UNSAFE_NumberInputText.js +1 -1
  286. package/amd/UNSAFE_OverflowTabBar.js +1 -1
  287. package/amd/UNSAFE_PictoChart.js +1 -1
  288. package/amd/UNSAFE_PieChart/__test__/PieChart.spec.js +1 -1
  289. package/amd/UNSAFE_PieChart.js +1 -1
  290. package/amd/UNSAFE_Popup.js +1 -1
  291. package/amd/UNSAFE_ProgressBar.js +1 -1
  292. package/amd/UNSAFE_ProgressCircle.js +1 -1
  293. package/amd/UNSAFE_RadioItem.js +1 -1
  294. package/amd/UNSAFE_RadioSet.js +1 -1
  295. package/amd/UNSAFE_RatingGauge.js +1 -1
  296. package/amd/UNSAFE_ReorderableTabBar.js +1 -1
  297. package/amd/UNSAFE_SectionalLegend.js +1 -1
  298. package/amd/UNSAFE_SelectMultiple.js +1 -1
  299. package/amd/UNSAFE_SelectSingle.js +1 -1
  300. package/amd/UNSAFE_SelectionCard.js +1 -1
  301. package/amd/UNSAFE_Selector.js +1 -1
  302. package/amd/UNSAFE_SelectorAll.js +1 -1
  303. package/amd/UNSAFE_Sheet/__test__/Sheet.spec.js +1 -1
  304. package/amd/UNSAFE_Sheet.js +1 -1
  305. package/amd/UNSAFE_SplitMenuButton.js +1 -1
  306. package/amd/UNSAFE_TabBar.js +1 -1
  307. package/amd/UNSAFE_TabBarCommon.js +1 -1
  308. package/amd/UNSAFE_TabBarMixed.js +1 -1
  309. package/amd/UNSAFE_TableView.js +1 -1
  310. package/amd/UNSAFE_TagCloud.js +1 -1
  311. package/amd/UNSAFE_TextArea.js +1 -1
  312. package/amd/UNSAFE_TextAreaAutosize.js +1 -1
  313. package/amd/UNSAFE_TextField.js +1 -1
  314. package/amd/UNSAFE_ToggleButton.js +1 -1
  315. package/amd/UNSAFE_Toolbar/tests/Toolbar.spec.js +1 -1
  316. package/amd/UNSAFE_Toolbar.js +1 -1
  317. package/amd/UNSAFE_Train.js +1 -1
  318. package/amd/UNSAFE_TruncatingBadge.js +1 -1
  319. package/amd/UNSAFE_TruncatingText.js +1 -1
  320. package/amd/UNSAFE_UserAssistance.js +1 -1
  321. package/amd/UNSAFE_View.js +1 -1
  322. package/amd/UNSAFE_VirtualizedListView.js +1 -1
  323. package/amd/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +1 -1
  324. package/amd/UNSAFE_VisProgressiveLoader.js +1 -1
  325. package/amd/UNSAFE_VisStatusMessage.js +1 -1
  326. package/amd/UNSAFE_WindowOverlay.js +1 -1
  327. package/amd/View-8701dec6.js +2 -0
  328. package/amd/View-8701dec6.js.map +1 -0
  329. package/amd/VisNoData-bfb5065e.js +2 -0
  330. package/amd/VisNoData-bfb5065e.js.map +1 -0
  331. package/amd/VisProgressiveLoader-ef9de93a.js +2 -0
  332. package/amd/VisProgressiveLoader-ef9de93a.js.map +1 -0
  333. package/amd/VisTabularDatatip-5e43455b.js +2 -0
  334. package/amd/VisTabularDatatip-5e43455b.js.map +1 -0
  335. package/amd/WindowOverlay-c09fece2.js +2 -0
  336. package/amd/WindowOverlay-c09fece2.js.map +1 -0
  337. package/amd/YearsGridView-91e4744d.js +2 -0
  338. package/amd/YearsGridView-91e4744d.js.map +1 -0
  339. package/amd/hoc/PRIVATE_withDirectionIcon.js +1 -1
  340. package/amd/hoc/PRIVATE_withThemeIcon.js +1 -1
  341. package/amd/hoc/UNSAFE_withThemeProps.js +1 -1
  342. package/amd/hooks/PRIVATE_useChartContextMenu.js +1 -1
  343. package/amd/hooks/PRIVATE_useChartDatatip.js +1 -1
  344. package/amd/hooks/PRIVATE_useChartEvents.js +1 -1
  345. package/amd/hooks/PRIVATE_useChartMarquee.js +1 -1
  346. package/amd/hooks/PRIVATE_useCssVars.js +1 -1
  347. package/amd/hooks/PRIVATE_useCurrentKey.js +1 -1
  348. package/amd/hooks/PRIVATE_useDatatip.js +1 -1
  349. package/amd/hooks/PRIVATE_useFloating.js +1 -1
  350. package/amd/hooks/PRIVATE_useReorderable.js +1 -1
  351. package/amd/hooks/PRIVATE_useRovingTabIndexContainer.js +1 -1
  352. package/amd/hooks/PRIVATE_useSelection.js +1 -1
  353. package/amd/hooks/PRIVATE_useTabBar.js +1 -1
  354. package/amd/hooks/PRIVATE_useVisContextMenu.js +1 -1
  355. package/amd/hooks/PRIVATE_useVisEvents.js +1 -1
  356. package/amd/hooks/PRIVATE_useVisMeterEvents.js +1 -1
  357. package/amd/hooks/PRIVATE_useVisSelection.js +1 -1
  358. package/amd/hooks/UNSAFE_useColorScheme.js +1 -1
  359. package/amd/hooks/UNSAFE_useCurrentBgColor.js +1 -1
  360. package/amd/hooks/UNSAFE_useDensity.js +1 -1
  361. package/amd/hooks/UNSAFE_useOutsideClick.js +1 -1
  362. package/amd/hooks/UNSAFE_usePrefixSuffix.js +1 -1
  363. package/amd/hooks/UNSAFE_useScale.js +1 -1
  364. package/amd/hooks/UNSAFE_useTestId.js +1 -1
  365. package/amd/hooks/UNSAFE_useTheme.js +1 -1
  366. package/amd/hooks/UNSAFE_useThemeInterpolations.js +1 -1
  367. package/amd/hooks/UNSAFE_useTooltip.js +1 -1
  368. package/amd/hooks/UNSAFE_useTranslationBundle.js +1 -1
  369. package/amd/hooks/UNSAFE_useUser.js +1 -1
  370. package/amd/index-17fdb080.js +2 -0
  371. package/amd/index-17fdb080.js.map +1 -0
  372. package/amd/listViewSelectionTests-a0132dcc.js +1 -1
  373. package/amd/render-9b32a558.js +2 -0
  374. package/amd/render-9b32a558.js.map +1 -0
  375. package/amd/tabbableUtils-5b5b70da.js +2 -0
  376. package/amd/tabbableUtils-5b5b70da.js.map +1 -0
  377. package/amd/testData-8e20304d.js +2 -0
  378. package/amd/testData-8e20304d.js.map +1 -0
  379. package/amd/useCellNavigation-37e0539a.js +1 -1
  380. package/amd/useChartContextMenu-c50617f2.js +1 -1
  381. package/amd/useChartDatatip-672232af.js +2 -0
  382. package/amd/useChartDatatip-672232af.js.map +1 -0
  383. package/amd/useChartMarquee-0e818e77.js +1 -1
  384. package/amd/useColorScheme-711c1e4b.js +2 -0
  385. package/amd/useColorScheme-711c1e4b.js.map +1 -0
  386. package/amd/useContextMenu-e6b10380.js +1 -1
  387. package/amd/useCssVars-948d1e7c.js +2 -0
  388. package/amd/useCssVars-948d1e7c.js.map +1 -0
  389. package/amd/useCurrentBgColor-40103ccc.js +2 -0
  390. package/amd/useCurrentBgColor-40103ccc.js.map +1 -0
  391. package/amd/useCurrentKey-00f81f0b.js +2 -0
  392. package/amd/useCurrentKey-00f81f0b.js.map +1 -0
  393. package/amd/useDatatip-d00735e9.js +2 -0
  394. package/amd/useDatatip-d00735e9.js.map +1 -0
  395. package/amd/useDensity-435224bb.js +2 -0
  396. package/amd/useDensity-435224bb.js.map +1 -0
  397. package/amd/useFloating-bbd3396b.js +2 -0
  398. package/amd/useFloating-bbd3396b.js.map +1 -0
  399. package/amd/useKeyboardEvents-e9a2b72b.js +2 -0
  400. package/amd/useKeyboardEvents-e9a2b72b.js.map +1 -0
  401. package/amd/useLegendContextMenu-5b1ca75b.js +1 -1
  402. package/amd/useMeterDatatip-60af9281.js +2 -0
  403. package/amd/useMeterDatatip-60af9281.js.map +1 -0
  404. package/amd/useOutsideClick-4519a64e.js +2 -0
  405. package/amd/useOutsideClick-4519a64e.js.map +1 -0
  406. package/amd/usePopupAnimation-273054a0.js +2 -0
  407. package/amd/usePopupAnimation-273054a0.js.map +1 -0
  408. package/amd/usePrefixSuffix-6ad5569e.js +2 -0
  409. package/amd/usePrefixSuffix-6ad5569e.js.map +1 -0
  410. package/amd/useReorderableItem-d977f935.js +1 -1
  411. package/amd/useRovingTabIndexContainer-12784fca.js +2 -0
  412. package/amd/useRovingTabIndexContainer-12784fca.js.map +1 -0
  413. package/amd/useScale-e6b83382.js +2 -0
  414. package/amd/useScale-e6b83382.js.map +1 -0
  415. package/amd/useSelectCommon-8657b927.js +1 -1
  416. package/amd/useSelectDrill-f2ae347c.js +2 -0
  417. package/amd/useSelectDrill-f2ae347c.js.map +1 -0
  418. package/amd/useSelection-0440840d.js +2 -0
  419. package/amd/useSelection-0440840d.js.map +1 -0
  420. package/amd/useSelection-f1d96ce9.js +2 -0
  421. package/amd/useSelection-f1d96ce9.js.map +1 -0
  422. package/amd/useTabBar-451e6953.js +2 -0
  423. package/amd/useTabBar-451e6953.js.map +1 -0
  424. package/amd/useTestId-82cf22a4.js +2 -0
  425. package/amd/useTestId-82cf22a4.js.map +1 -0
  426. package/amd/useTheme-1941efb7.js +2 -0
  427. package/amd/useTheme-1941efb7.js.map +1 -0
  428. package/amd/useThemeInterpolations-41cbd433.js +2 -0
  429. package/amd/useThemeInterpolations-41cbd433.js.map +1 -0
  430. package/amd/useTooltip-d28e9b0f.js +2 -0
  431. package/amd/useTooltip-d28e9b0f.js.map +1 -0
  432. package/amd/useTooltipControlled-abf886f2.js +2 -0
  433. package/amd/useTooltipControlled-abf886f2.js.map +1 -0
  434. package/amd/useTranslationBundle-6ef0dab6.js +2 -0
  435. package/amd/useTranslationBundle-6ef0dab6.js.map +1 -0
  436. package/amd/useUser-6dd85af9.js +2 -0
  437. package/amd/useUser-6dd85af9.js.map +1 -0
  438. package/amd/useVisEvents-75dbf576.js +2 -0
  439. package/amd/useVisEvents-75dbf576.js.map +1 -0
  440. package/amd/utils/PRIVATE_visTestUtils.js +1 -1
  441. package/amd/withDirectionIcon-c0ee0f7e.js +2 -0
  442. package/amd/withDirectionIcon-c0ee0f7e.js.map +1 -0
  443. package/cjs/ActionCard-aade4e40.js +1 -1
  444. package/cjs/BarChart-acda079d.js +2 -2
  445. package/cjs/BaseButton-ff6f39f2.js +2 -2
  446. package/cjs/BaseCardView-badf6df3.js +6 -6
  447. package/cjs/BaseCardViewSelectionTest-fe6cdb4a.js +696 -0
  448. package/cjs/BaseCardViewSelectionTest-fe6cdb4a.js.map +1 -0
  449. package/cjs/BaseNavigationListItem-175a3f35.js +49 -0
  450. package/cjs/BaseNavigationListItem-175a3f35.js.map +1 -0
  451. package/cjs/ButtonSet-dc50f9d4.js +2 -2
  452. package/cjs/ButtonSetIconButton-50543cd6.js +2 -2
  453. package/cjs/Center-dce9d477.js +18 -0
  454. package/cjs/Center-dce9d477.js.map +1 -0
  455. package/cjs/Chart-c55ecfa4.js +9 -9
  456. package/cjs/CheckboxControl-24658cde.js +6 -6
  457. package/cjs/CheckboxRadioField-0d4b2c66.js +5 -5
  458. package/cjs/CheckboxSet-13a5c10c.js +53 -0
  459. package/cjs/CheckboxSet-13a5c10c.js.map +1 -0
  460. package/cjs/Chip-a24817e0.js +1 -1
  461. package/cjs/ClearIcon-50725213.js +1 -1
  462. package/cjs/CollapseIcon-a1da1523.js +1 -1
  463. package/cjs/Collapsible-95f66549.js +2 -2
  464. package/cjs/CompactHelpSource-f4e9198b.js +2 -2
  465. package/cjs/CompactLabelAssistance-ae678fbd.js +29 -0
  466. package/cjs/CompactLabelAssistance-ae678fbd.js.map +1 -0
  467. package/cjs/CompactUserAssistance-f88519f9.js +4 -4
  468. package/cjs/ComponentMessageContainer-a9195577.js +4 -4
  469. package/cjs/ConveyorBeltItem-a0d53a2f.js +2 -2
  470. package/cjs/DatePicker-3be1de5c.js +564 -0
  471. package/cjs/DatePicker-3be1de5c.js.map +1 -0
  472. package/cjs/DatePickerHeader-589e8b78.js +3 -3
  473. package/cjs/Diagram-522fe974.js +2000 -0
  474. package/cjs/Diagram-522fe974.js.map +1 -0
  475. package/cjs/DirectionalCollapseArrowIcon-d2b24ac3.js +1 -1
  476. package/cjs/DirectionalExpandArrowIcon-adf981f6.js +1 -1
  477. package/cjs/DragHandle-d35fc8ac.js +1 -1
  478. package/cjs/Dropdown-820dc3fe.js +82 -0
  479. package/cjs/Dropdown-820dc3fe.js.map +1 -0
  480. package/cjs/EnvironmentProvider-42b2b998.js +61 -0
  481. package/cjs/EnvironmentProvider-42b2b998.js.map +1 -0
  482. package/cjs/FilePicker-47c7bc3f.js +2 -2
  483. package/cjs/Flex-fbba4ad6.js +33 -0
  484. package/cjs/Flex-fbba4ad6.js.map +1 -0
  485. package/cjs/Floating-1280c2ce.js +464 -0
  486. package/cjs/Floating-1280c2ce.js.map +1 -0
  487. package/cjs/FormLayout-ab6f90b8.js +1 -1
  488. package/cjs/Gantt-912df32a.js +9 -9
  489. package/cjs/Grid-03d487e5.js +29 -0
  490. package/cjs/Grid-03d487e5.js.map +1 -0
  491. package/cjs/Gridlines-33618268.js +123 -0
  492. package/cjs/Gridlines-33618268.js.map +1 -0
  493. package/cjs/GroupLoadingIndicator-3c9d8341.js +1 -1
  494. package/cjs/HighlightText-c76eb17a.js +33 -0
  495. package/cjs/HighlightText-c76eb17a.js.map +1 -0
  496. package/cjs/Icon-3ffd13dc.js +2 -2
  497. package/cjs/IconButton-94f8ca5c.js +2 -2
  498. package/cjs/IconMenuButton-426f2aa8.js +4 -4
  499. package/cjs/IconSwitchButton-094ace3a.js +2 -2
  500. package/cjs/IconToggleButton-0c415743.js +2 -2
  501. package/cjs/IconUserAssistance-c31c2875.js +75 -0
  502. package/cjs/IconUserAssistance-c31c2875.js.map +1 -0
  503. package/cjs/Indexer-563ea09d.js +4 -4
  504. package/cjs/InlineHelpSource-7b793104.js +1 -1
  505. package/cjs/InlineUserAssistance-ad3fa8cc.js +5 -5
  506. package/cjs/InputDateMask-f15d926d.js +7 -7
  507. package/cjs/InputDatePicker-005c03d0.js +8 -8
  508. package/cjs/InputPassword-16e31428.js +4 -4
  509. package/cjs/InputText-75ae1f44.js +6 -6
  510. package/cjs/Label-d9ad059f.js +5 -5
  511. package/cjs/LabelValueLayout-24937fa5.js +1 -1
  512. package/cjs/Layer-3700cd37.js +87 -0
  513. package/cjs/Layer-3700cd37.js.map +1 -0
  514. package/cjs/LayerHost-46e4d858.js +45 -0
  515. package/cjs/LayerHost-46e4d858.js.map +1 -0
  516. package/cjs/LayerManager-fa20a462.js +36 -0
  517. package/cjs/LayerManager-fa20a462.js.map +1 -0
  518. package/cjs/Legend-a03cbeb5.js +3 -3
  519. package/cjs/LineAreaChart-2320dafa.js +225 -0
  520. package/cjs/LineAreaChart-2320dafa.js.map +1 -0
  521. package/cjs/Link-98de6624.js +1 -1
  522. package/cjs/List-bd9ecebb.js +5 -5
  523. package/cjs/ListItemLayout-ba6c98cc.js +60 -0
  524. package/cjs/ListItemLayout-ba6c98cc.js.map +1 -0
  525. package/cjs/ListView-d67f49db.js +3 -3
  526. package/cjs/LiveRegion-1315adeb.js +41 -0
  527. package/cjs/LiveRegion-1315adeb.js.map +1 -0
  528. package/cjs/MaxLengthLiveRegion-85913361.js +25 -0
  529. package/cjs/MaxLengthLiveRegion-85913361.js.map +1 -0
  530. package/cjs/Menu-7f8ca235.js +317 -0
  531. package/cjs/Menu-7f8ca235.js.map +1 -0
  532. package/cjs/MenuButton-58fd9f46.js +3 -3
  533. package/cjs/MenuItem-9a73694f.js +1 -1
  534. package/cjs/Message-b703f9e4.js +2 -2
  535. package/cjs/MessageLayer-40ccf675.js +61 -0
  536. package/cjs/MessageLayer-40ccf675.js.map +1 -0
  537. package/cjs/MessageToast-4462ab8d.js +8 -8
  538. package/cjs/MessagesManager-9cc43d3a.js +3 -3
  539. package/cjs/MeterBar-97378f96.js +4 -4
  540. package/cjs/MeterCircle-71fd9b44.js +4 -4
  541. package/cjs/Modal-52fa4530.js +258 -0
  542. package/cjs/Modal-52fa4530.js.map +1 -0
  543. package/cjs/MonthView-94676cd6.js +154 -0
  544. package/cjs/MonthView-94676cd6.js.map +1 -0
  545. package/cjs/NavigationList-5218562e.js +148 -0
  546. package/cjs/NavigationList-5218562e.js.map +1 -0
  547. package/cjs/NavigationListItem-b80c41dc.js +12 -0
  548. package/cjs/NavigationListItem-b80c41dc.js.map +1 -0
  549. package/cjs/NumberInputText-8771fbad.js +6 -6
  550. package/cjs/OverflowTabBarItem-1de46588.js +89 -0
  551. package/cjs/OverflowTabBarItem-1de46588.js.map +1 -0
  552. package/cjs/PRIVATE_BaseCardView.js +19 -19
  553. package/cjs/PRIVATE_Chart.js +29 -29
  554. package/cjs/PRIVATE_CheckboxControl.js +21 -21
  555. package/cjs/PRIVATE_CheckboxRadioField.js +22 -22
  556. package/cjs/PRIVATE_ClearIcon.js +16 -16
  557. package/cjs/PRIVATE_DatePickerHeader.js +18 -18
  558. package/cjs/PRIVATE_DatePickerLayout.js +4 -4
  559. package/cjs/PRIVATE_EmbeddedIconButton.js +3 -3
  560. package/cjs/PRIVATE_FormControls.js +19 -19
  561. package/cjs/PRIVATE_IconSwitchButton.js +14 -14
  562. package/cjs/PRIVATE_Icons/CheckboxMixed.js +14 -14
  563. package/cjs/PRIVATE_Icons/CheckboxOff.js +14 -14
  564. package/cjs/PRIVATE_Icons/CheckboxOn.js +14 -14
  565. package/cjs/PRIVATE_Icons/RadiobuttonOff.js +14 -14
  566. package/cjs/PRIVATE_Icons/RadiobuttonOn.js +14 -14
  567. package/cjs/PRIVATE_Icons/WarningS.js +14 -14
  568. package/cjs/PRIVATE_List.js +18 -18
  569. package/cjs/PRIVATE_Message.js +17 -17
  570. package/cjs/PRIVATE_MessageLayer.js +11 -11
  571. package/cjs/PRIVATE_MonthView.js +7 -7
  572. package/cjs/PRIVATE_MonthYearGridView.js +7 -7
  573. package/cjs/PRIVATE_PlotArea.js +4 -4
  574. package/cjs/PRIVATE_RevealToggleIcon.js +15 -15
  575. package/cjs/PRIVATE_SelectCommon.js +26 -26
  576. package/cjs/PRIVATE_StyledCheckbox.js +14 -14
  577. package/cjs/PRIVATE_Table.js +16 -16
  578. package/cjs/PRIVATE_ThemedIcons/CalendarIcon.js +14 -14
  579. package/cjs/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +14 -14
  580. package/cjs/PRIVATE_ThemedIcons/ChartPanIcon.js +14 -14
  581. package/cjs/PRIVATE_ThemedIcons/ChartZoomIcon.js +14 -14
  582. package/cjs/PRIVATE_ThemedIcons/CheckIcon.js +14 -14
  583. package/cjs/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +14 -14
  584. package/cjs/PRIVATE_ThemedIcons/CheckboxOffIcon.js +14 -14
  585. package/cjs/PRIVATE_ThemedIcons/CheckboxOnIcon.js +14 -14
  586. package/cjs/PRIVATE_ThemedIcons/CloseIcon.js +14 -14
  587. package/cjs/PRIVATE_ThemedIcons/CollapseIcon.js +15 -15
  588. package/cjs/PRIVATE_ThemedIcons/CollapseUpIcon.js +14 -14
  589. package/cjs/PRIVATE_ThemedIcons/DecrementIcon.js +14 -14
  590. package/cjs/PRIVATE_ThemedIcons/DeleteIcon.js +14 -14
  591. package/cjs/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +15 -15
  592. package/cjs/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +15 -15
  593. package/cjs/PRIVATE_ThemedIcons/DropdownArrowIcon.js +14 -14
  594. package/cjs/PRIVATE_ThemedIcons/ExpandIcon.js +14 -14
  595. package/cjs/PRIVATE_ThemedIcons/HelpIcon.js +14 -14
  596. package/cjs/PRIVATE_ThemedIcons/IncrementIcon.js +14 -14
  597. package/cjs/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +14 -14
  598. package/cjs/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +14 -14
  599. package/cjs/PRIVATE_ThemedIcons/MessageErrorIcon.js +14 -14
  600. package/cjs/PRIVATE_ThemedIcons/MessageInfoIcon.js +14 -14
  601. package/cjs/PRIVATE_ThemedIcons/MessageWarningIcon.js +14 -14
  602. package/cjs/PRIVATE_ThemedIcons/MinusIcon.js +14 -14
  603. package/cjs/PRIVATE_ThemedIcons/NavDownIcon.js +14 -14
  604. package/cjs/PRIVATE_ThemedIcons/PlusIcon.js +14 -14
  605. package/cjs/PRIVATE_ThemedIcons/RadioOffIcon.js +14 -14
  606. package/cjs/PRIVATE_ThemedIcons/RadioOnIcon.js +14 -14
  607. package/cjs/PRIVATE_ThemedIcons/SortAscendingIcon.js +14 -14
  608. package/cjs/PRIVATE_ThemedIcons/SortDefaultIcon.js +14 -14
  609. package/cjs/PRIVATE_ThemedIcons/SortDescendingIcon.js +14 -14
  610. package/cjs/PRIVATE_ThemedIcons/ViewHideIcon.js +14 -14
  611. package/cjs/PRIVATE_ThemedIcons/ViewIcon.js +14 -14
  612. package/cjs/PRIVATE_TimeComponent.js +17 -17
  613. package/cjs/PRIVATE_VisTabularDatatip.js +4 -4
  614. package/cjs/PictoChart-bbd66c57.js +6 -6
  615. package/cjs/PieChart-bd68cc0d.js +435 -0
  616. package/cjs/PieChart-bd68cc0d.js.map +1 -0
  617. package/cjs/Popup-881aae20.js +242 -0
  618. package/cjs/Popup-881aae20.js.map +1 -0
  619. package/cjs/ProgressBar-4a4d56b0.js +60 -0
  620. package/cjs/ProgressBar-4a4d56b0.js.map +1 -0
  621. package/cjs/ProgressCircle-2524339b.js +46 -0
  622. package/cjs/ProgressCircle-2524339b.js.map +1 -0
  623. package/cjs/RadioItem-f53a057a.js +6 -6
  624. package/cjs/RatingGauge-bafed83c.js +7 -7
  625. package/cjs/ReadonlyTextFieldInput-fb7ffa5e.js +1 -1
  626. package/cjs/RemovableNavigationListItem-eb2c8156.js +27 -0
  627. package/cjs/RemovableNavigationListItem-eb2c8156.js.map +1 -0
  628. package/cjs/RemovableTabBarItem-df8144f5.js +2 -2
  629. package/cjs/ReorderableTabBar-025a0d71.js +81 -0
  630. package/cjs/ReorderableTabBar-025a0d71.js.map +1 -0
  631. package/cjs/RevealToggleIcon-b5738e5e.js +1 -1
  632. package/cjs/SectionalLegend-959d7977.js +4 -4
  633. package/cjs/SectionedContent-0c0f96fb.js +67 -0
  634. package/cjs/SectionedContent-0c0f96fb.js.map +1 -0
  635. package/cjs/SelectMultiple-3af44d48.js +8 -8
  636. package/cjs/SelectSingle-315c9871.js +7 -7
  637. package/cjs/SelectionCard-aa300118.js +40 -0
  638. package/cjs/SelectionCard-aa300118.js.map +1 -0
  639. package/cjs/Selector-cc35dbb1.js +1 -1
  640. package/cjs/SelectorAll-d8d3cb7b.js +5 -5
  641. package/cjs/Sheet-a6267b5f.js +161 -0
  642. package/cjs/Sheet-a6267b5f.js.map +1 -0
  643. package/cjs/SplitMenuButton-336bb8d6.js +3 -3
  644. package/cjs/StyledTextField-351ea57e.js +3 -3
  645. package/cjs/Submenu-b7daab71.js +1 -1
  646. package/cjs/TabBar-e77706d0.js +70 -0
  647. package/cjs/TabBar-e77706d0.js.map +1 -0
  648. package/cjs/TabBarItem-2b3039aa.js +3 -3
  649. package/cjs/TabBarLayout-c2efbeb3.js +1 -1
  650. package/cjs/TabBarMixed-bc696a46.js +80 -0
  651. package/cjs/TabBarMixed-bc696a46.js.map +1 -0
  652. package/cjs/TabBarMixedSeparator-6388ccda.js +21 -0
  653. package/cjs/TabBarMixedSeparator-6388ccda.js.map +1 -0
  654. package/cjs/Table-ecf57a09.js +3 -3
  655. package/cjs/TagCloud-26a38c04.js +9 -9
  656. package/cjs/TextArea-b2646d51.js +5 -5
  657. package/cjs/TextAreaAutosize-d8cad6ce.js +5 -5
  658. package/cjs/TextField-0f4e945f.js +3 -3
  659. package/cjs/TextFieldInput-4904c227.js +1 -1
  660. package/cjs/Theme-redwood/theme.css +257 -257
  661. package/cjs/Theme-stable/theme.css +190 -190
  662. package/cjs/TimeComponentCanvas2D-babbee35.js +4 -4
  663. package/cjs/Toolbar-415d636a.js +1 -1
  664. package/cjs/TruncatingBadge-7516b73e.js +2 -2
  665. package/cjs/TruncatingText-238fc336.js +2 -2
  666. package/cjs/UNSAFE_ActionCard.js +2 -2
  667. package/cjs/UNSAFE_BarChart/__test__/BarChart.spec.js +29 -29
  668. package/cjs/UNSAFE_BarChart.js +29 -29
  669. package/cjs/UNSAFE_BaseButton.js +3 -3
  670. package/cjs/UNSAFE_Button.js +3 -3
  671. package/cjs/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +18 -18
  672. package/cjs/UNSAFE_ButtonSet.js +4 -4
  673. package/cjs/UNSAFE_ButtonSetButton.js +3 -3
  674. package/cjs/UNSAFE_ButtonSetIconButton.js +14 -14
  675. package/cjs/UNSAFE_ButtonSetItem.js +14 -14
  676. package/cjs/UNSAFE_ButtonSetMultiple.js +4 -4
  677. package/cjs/UNSAFE_ButtonSetSingle.js +4 -4
  678. package/cjs/UNSAFE_CardFlexView.js +19 -19
  679. package/cjs/UNSAFE_CardGridView.js +19 -19
  680. package/cjs/UNSAFE_Center.js +5 -5
  681. package/cjs/UNSAFE_ChartWithLegend.js +4 -4
  682. package/cjs/UNSAFE_Checkbox.js +21 -21
  683. package/cjs/UNSAFE_CheckboxItem.js +100 -50
  684. package/cjs/UNSAFE_CheckboxItem.js.map +1 -1
  685. package/cjs/UNSAFE_CheckboxSet.js +36 -65
  686. package/cjs/UNSAFE_CheckboxSet.js.map +1 -1
  687. package/cjs/UNSAFE_Chip.js +2 -2
  688. package/cjs/UNSAFE_Collapsible.js +16 -16
  689. package/cjs/UNSAFE_ComponentMessage.js +17 -17
  690. package/cjs/UNSAFE_ConveyorBelt.js +14 -14
  691. package/cjs/UNSAFE_DatePicker.js +23 -23
  692. package/cjs/UNSAFE_Diagram.js +15 -15
  693. package/cjs/UNSAFE_Dialog.js +9 -9
  694. package/cjs/UNSAFE_DragHandle.js +15 -15
  695. package/cjs/UNSAFE_DrawerLayout.js +11 -11
  696. package/cjs/UNSAFE_DrawerPopup.js +10 -10
  697. package/cjs/UNSAFE_Dropdown.js +12 -12
  698. package/cjs/UNSAFE_Environment.js +4 -4
  699. package/cjs/UNSAFE_ExpandableList.js +21 -21
  700. package/cjs/UNSAFE_FilePicker.js +4 -4
  701. package/cjs/UNSAFE_Flex.js +4 -4
  702. package/cjs/UNSAFE_Floating.js +10 -10
  703. package/cjs/UNSAFE_FormLayout.js +2 -2
  704. package/cjs/UNSAFE_Gantt.js +21 -21
  705. package/cjs/UNSAFE_Grid.js +4 -4
  706. package/cjs/UNSAFE_HighlightText.js +4 -4
  707. package/cjs/UNSAFE_Icon.js +14 -14
  708. package/cjs/UNSAFE_IconButton.js +14 -14
  709. package/cjs/UNSAFE_IconMenuButton.js +18 -18
  710. package/cjs/UNSAFE_IconToggleButton.js +14 -14
  711. package/cjs/UNSAFE_Indexer.js +6 -6
  712. package/cjs/UNSAFE_InputDateMask.js +22 -22
  713. package/cjs/UNSAFE_InputDatePicker.js +31 -31
  714. package/cjs/UNSAFE_InputPassword.js +21 -21
  715. package/cjs/UNSAFE_InputSensitiveText.js +23 -23
  716. package/cjs/UNSAFE_InputText.js +24 -24
  717. package/cjs/UNSAFE_Label.js +21 -21
  718. package/cjs/UNSAFE_LabelValueLayout.js +4 -4
  719. package/cjs/UNSAFE_LabelledLink.js +23 -23
  720. package/cjs/UNSAFE_Layer.js +7 -7
  721. package/cjs/UNSAFE_Legend.js +22 -22
  722. package/cjs/UNSAFE_LineAreaChart/__test__/LineChart.spec.js +29 -29
  723. package/cjs/UNSAFE_LineAreaChart.js +30 -30
  724. package/cjs/UNSAFE_Link.js +2 -2
  725. package/cjs/UNSAFE_ListItemLayout.js +5 -5
  726. package/cjs/UNSAFE_ListView.js +24 -24
  727. package/cjs/UNSAFE_LiveRegion.js +4 -4
  728. package/cjs/UNSAFE_Menu.js +20 -20
  729. package/cjs/UNSAFE_MenuButton.js +18 -18
  730. package/cjs/UNSAFE_MessageBanner.js +17 -17
  731. package/cjs/UNSAFE_MessageToast.js +20 -20
  732. package/cjs/UNSAFE_MeterBar.js +14 -14
  733. package/cjs/UNSAFE_MeterCircle.js +14 -14
  734. package/cjs/UNSAFE_Modal.js +7 -7
  735. package/cjs/UNSAFE_NavigationList.js +34 -32
  736. package/cjs/UNSAFE_NavigationList.js.map +1 -1
  737. package/cjs/UNSAFE_NavigationListCommon.js +68 -67
  738. package/cjs/UNSAFE_NavigationListCommon.js.map +1 -1
  739. package/cjs/UNSAFE_NumberInputText.js +23 -23
  740. package/cjs/UNSAFE_OverflowTabBar.js +45 -43
  741. package/cjs/UNSAFE_OverflowTabBar.js.map +1 -1
  742. package/cjs/UNSAFE_PictoChart.js +13 -13
  743. package/cjs/UNSAFE_PieChart/__test__/PieChart.spec.js +14 -14
  744. package/cjs/UNSAFE_PieChart.js +14 -14
  745. package/cjs/UNSAFE_Popup.js +15 -15
  746. package/cjs/UNSAFE_ProgressBar.js +5 -5
  747. package/cjs/UNSAFE_ProgressCircle.js +4 -4
  748. package/cjs/UNSAFE_RadioItem.js +21 -21
  749. package/cjs/UNSAFE_RadioSet.js +21 -21
  750. package/cjs/UNSAFE_RatingGauge.js +15 -15
  751. package/cjs/UNSAFE_ReorderableTabBar.js +41 -27
  752. package/cjs/UNSAFE_ReorderableTabBar.js.map +1 -1
  753. package/cjs/UNSAFE_SectionalLegend.js +23 -23
  754. package/cjs/UNSAFE_SelectMultiple.js +29 -29
  755. package/cjs/UNSAFE_SelectSingle.js +29 -29
  756. package/cjs/UNSAFE_SelectionCard.js +4 -4
  757. package/cjs/UNSAFE_Selector.js +14 -14
  758. package/cjs/UNSAFE_SelectorAll.js +17 -17
  759. package/cjs/UNSAFE_Sheet/__test__/Sheet.spec.js +13 -13
  760. package/cjs/UNSAFE_Sheet.js +10 -10
  761. package/cjs/UNSAFE_SplitMenuButton.js +18 -18
  762. package/cjs/UNSAFE_TabBar.js +47 -45
  763. package/cjs/UNSAFE_TabBar.js.map +1 -1
  764. package/cjs/UNSAFE_TabBarCommon.js +42 -40
  765. package/cjs/UNSAFE_TabBarCommon.js.map +1 -1
  766. package/cjs/UNSAFE_TabBarMixed.js +50 -48
  767. package/cjs/UNSAFE_TabBarMixed.js.map +1 -1
  768. package/cjs/UNSAFE_TableView.js +16 -16
  769. package/cjs/UNSAFE_TagCloud.js +22 -22
  770. package/cjs/UNSAFE_TextArea.js +23 -23
  771. package/cjs/UNSAFE_TextAreaAutosize.js +23 -23
  772. package/cjs/UNSAFE_TextField.js +7 -7
  773. package/cjs/UNSAFE_ToggleButton.js +3 -3
  774. package/cjs/UNSAFE_Toolbar/tests/Toolbar.spec.js +20 -20
  775. package/cjs/UNSAFE_Toolbar.js +4 -4
  776. package/cjs/UNSAFE_Train.js +15 -15
  777. package/cjs/UNSAFE_TruncatingBadge.js +15 -15
  778. package/cjs/UNSAFE_TruncatingText.js +15 -15
  779. package/cjs/UNSAFE_UserAssistance.js +22 -22
  780. package/cjs/UNSAFE_View.js +7 -7
  781. package/cjs/UNSAFE_VirtualizedListView.js +18 -18
  782. package/cjs/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +8 -8
  783. package/cjs/UNSAFE_VisProgressiveLoader.js +6 -6
  784. package/cjs/UNSAFE_VisStatusMessage.js +6 -6
  785. package/cjs/UNSAFE_WindowOverlay.js +4 -4
  786. package/cjs/View-011404a7.js +170 -0
  787. package/cjs/View-011404a7.js.map +1 -0
  788. package/cjs/VisNoData-9afdc618.js +35 -0
  789. package/cjs/VisNoData-9afdc618.js.map +1 -0
  790. package/cjs/VisProgressiveLoader-ad546cec.js +53 -0
  791. package/cjs/VisProgressiveLoader-ad546cec.js.map +1 -0
  792. package/cjs/VisTabularDatatip-3b3341f9.js +26 -0
  793. package/cjs/VisTabularDatatip-3b3341f9.js.map +1 -0
  794. package/cjs/WindowOverlay-d255542f.js +112 -0
  795. package/cjs/WindowOverlay-d255542f.js.map +1 -0
  796. package/cjs/YearsGridView-95c9ae3d.js +190 -0
  797. package/cjs/YearsGridView-95c9ae3d.js.map +1 -0
  798. package/cjs/hoc/PRIVATE_withDirectionIcon.js +4 -4
  799. package/cjs/hoc/PRIVATE_withThemeIcon.js +3 -3
  800. package/cjs/hoc/UNSAFE_withThemeProps.js +3 -3
  801. package/cjs/hooks/PRIVATE_useChartContextMenu.js +18 -18
  802. package/cjs/hooks/PRIVATE_useChartDatatip.js +13 -13
  803. package/cjs/hooks/PRIVATE_useChartEvents.js +17 -17
  804. package/cjs/hooks/PRIVATE_useChartMarquee.js +16 -16
  805. package/cjs/hooks/PRIVATE_useCssVars.js +7 -7
  806. package/cjs/hooks/PRIVATE_useCurrentKey.js +4 -4
  807. package/cjs/hooks/PRIVATE_useDatatip.js +11 -11
  808. package/cjs/hooks/PRIVATE_useFloating.js +4 -4
  809. package/cjs/hooks/PRIVATE_useReorderable.js +4 -4
  810. package/cjs/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
  811. package/cjs/hooks/PRIVATE_useSelection.js +4 -4
  812. package/cjs/hooks/PRIVATE_useTabBar.js +5 -5
  813. package/cjs/hooks/PRIVATE_useVisContextMenu.js +18 -18
  814. package/cjs/hooks/PRIVATE_useVisEvents.js +4 -4
  815. package/cjs/hooks/PRIVATE_useVisMeterEvents.js +13 -13
  816. package/cjs/hooks/PRIVATE_useVisSelection.js +12 -12
  817. package/cjs/hooks/UNSAFE_useColorScheme.js +3 -3
  818. package/cjs/hooks/UNSAFE_useCurrentBgColor.js +3 -3
  819. package/cjs/hooks/UNSAFE_useDensity.js +3 -3
  820. package/cjs/hooks/UNSAFE_useOutsideClick.js +7 -7
  821. package/cjs/hooks/UNSAFE_usePrefixSuffix.js +4 -4
  822. package/cjs/hooks/UNSAFE_useScale.js +3 -3
  823. package/cjs/hooks/UNSAFE_useTestId.js +3 -3
  824. package/cjs/hooks/UNSAFE_useTheme.js +3 -3
  825. package/cjs/hooks/UNSAFE_useThemeInterpolations.js +5 -5
  826. package/cjs/hooks/UNSAFE_useTooltip.js +15 -15
  827. package/cjs/hooks/UNSAFE_useTranslationBundle.js +3 -3
  828. package/cjs/hooks/UNSAFE_useUser.js +3 -3
  829. package/cjs/index-c679f28a.js +13 -0
  830. package/cjs/index-c679f28a.js.map +1 -0
  831. package/cjs/listViewSelectionTests-3d07b4e3.js +4 -4
  832. package/cjs/render-7a552b40.js +41 -0
  833. package/cjs/render-7a552b40.js.map +1 -0
  834. package/cjs/tabbableUtils-6d07309a.js +81 -0
  835. package/cjs/tabbableUtils-6d07309a.js.map +1 -0
  836. package/cjs/testData-f91dbc33.js +271 -0
  837. package/cjs/testData-f91dbc33.js.map +1 -0
  838. package/cjs/useCellNavigation-24bff833.js +1 -1
  839. package/cjs/useChartContextMenu-d7ed939f.js +3 -3
  840. package/cjs/useChartDatatip-7b7f757f.js +137 -0
  841. package/cjs/useChartDatatip-7b7f757f.js.map +1 -0
  842. package/cjs/useChartMarquee-ab7c89ea.js +1 -1
  843. package/cjs/useColorScheme-d2c4adcc.js +21 -0
  844. package/cjs/useColorScheme-d2c4adcc.js.map +1 -0
  845. package/cjs/useContextMenu-f3cf0db8.js +3 -3
  846. package/cjs/useCssVars-4f061513.js +60 -0
  847. package/cjs/useCssVars-4f061513.js.map +1 -0
  848. package/cjs/useCurrentBgColor-ccc9db95.js +21 -0
  849. package/cjs/useCurrentBgColor-ccc9db95.js.map +1 -0
  850. package/cjs/useCurrentKey-3b4c8a44.js +83 -0
  851. package/cjs/useCurrentKey-3b4c8a44.js.map +1 -0
  852. package/cjs/useDatatip-ff0c568c.js +85 -0
  853. package/cjs/useDatatip-ff0c568c.js.map +1 -0
  854. package/cjs/useDensity-6e80ddff.js +21 -0
  855. package/cjs/useDensity-6e80ddff.js.map +1 -0
  856. package/cjs/useFloating-7800fd56.js +1926 -0
  857. package/cjs/useFloating-7800fd56.js.map +1 -0
  858. package/cjs/useKeyboardEvents-f1a1dfef.js +81 -0
  859. package/cjs/useKeyboardEvents-f1a1dfef.js.map +1 -0
  860. package/cjs/useLegendContextMenu-a10bd2fc.js +5 -5
  861. package/cjs/useMeterDatatip-5db0b026.js +81 -0
  862. package/cjs/useMeterDatatip-5db0b026.js.map +1 -0
  863. package/cjs/useNavigationListItem-74009187.js +85 -0
  864. package/cjs/useNavigationListItem-74009187.js.map +1 -0
  865. package/cjs/useOutsideClick-7420644b.js +87 -0
  866. package/cjs/useOutsideClick-7420644b.js.map +1 -0
  867. package/cjs/usePopupAnimation-78a173e8.js +87 -0
  868. package/cjs/usePopupAnimation-78a173e8.js.map +1 -0
  869. package/cjs/usePrefixSuffix-edb21dad.js +72 -0
  870. package/cjs/usePrefixSuffix-edb21dad.js.map +1 -0
  871. package/cjs/useReorderableItem-02ed8243.js +2 -2
  872. package/cjs/useRovingTabIndexContainer-ff6fef9d.js +100 -0
  873. package/cjs/useRovingTabIndexContainer-ff6fef9d.js.map +1 -0
  874. package/cjs/useScale-74bd6456.js +21 -0
  875. package/cjs/useScale-74bd6456.js.map +1 -0
  876. package/cjs/useSelectCommon-8aaf62bd.js +11 -11
  877. package/cjs/useSelectDrill-64289234.js +103 -0
  878. package/cjs/useSelectDrill-64289234.js.map +1 -0
  879. package/cjs/useSelection-8f71759b.js +183 -0
  880. package/cjs/useSelection-8f71759b.js.map +1 -0
  881. package/cjs/useSelection-b53f8255.js +243 -0
  882. package/cjs/useSelection-b53f8255.js.map +1 -0
  883. package/cjs/useTabBar-35edcdb1.js +154 -0
  884. package/cjs/useTabBar-35edcdb1.js.map +1 -0
  885. package/cjs/useTestId-8234ec1e.js +23 -0
  886. package/cjs/useTestId-8234ec1e.js.map +1 -0
  887. package/cjs/useTheme-9b0dc066.js +21 -0
  888. package/cjs/useTheme-9b0dc066.js.map +1 -0
  889. package/cjs/useThemeInterpolations-25313f34.js +33 -0
  890. package/cjs/useThemeInterpolations-25313f34.js.map +1 -0
  891. package/cjs/useTooltip-468c1c92.js +53 -0
  892. package/cjs/useTooltip-468c1c92.js.map +1 -0
  893. package/cjs/useTooltipControlled-706a3651.js +456 -0
  894. package/cjs/useTooltipControlled-706a3651.js.map +1 -0
  895. package/cjs/useTranslationBundle-9da032d6.js +31 -0
  896. package/cjs/useTranslationBundle-9da032d6.js.map +1 -0
  897. package/cjs/useUser-a6d15333.js +21 -0
  898. package/cjs/useUser-a6d15333.js.map +1 -0
  899. package/cjs/useVisEvents-3d806e47.js +155 -0
  900. package/cjs/useVisEvents-3d806e47.js.map +1 -0
  901. package/cjs/utils/PRIVATE_visTestUtils.js +5 -5
  902. package/cjs/withDirectionIcon-d9c7c79f.js +16 -0
  903. package/cjs/withDirectionIcon-d9c7c79f.js.map +1 -0
  904. package/es/ActionCard-623c6191.js +1 -1
  905. package/es/BarChart-c8f78f4b.js +2 -2
  906. package/es/BaseButton-5b2791b1.js +2 -2
  907. package/es/BaseCardView-59efba85.js +6 -6
  908. package/es/BaseCardViewSelectionTest-6796b2b4.js +683 -0
  909. package/es/BaseCardViewSelectionTest-6796b2b4.js.map +1 -0
  910. package/es/BaseNavigationListItem-3a377d46.js +1 -1
  911. package/es/ButtonLayoutVariants.styles.css +2 -2
  912. package/es/ButtonLayoutVariants.styles2.css +2 -2
  913. package/es/ButtonSet-fa7e8acd.js +2 -2
  914. package/es/ButtonSetIconButton-c5860cc1.js +2 -2
  915. package/es/Center-2ffc1dcc.js +16 -0
  916. package/es/Center-2ffc1dcc.js.map +1 -0
  917. package/es/Chart-793bd008.js +9 -9
  918. package/es/CheckboxControl-7174e0b2.js +6 -6
  919. package/es/CheckboxRadioField-c7c4643e.js +5 -5
  920. package/es/CheckboxSetContext-1be56556.js +9 -0
  921. package/es/CheckboxSetContext-1be56556.js.map +1 -0
  922. package/es/Chip-2c86a76f.js +1 -1
  923. package/es/ClearIcon-f1f796b4.js +1 -1
  924. package/es/CollapseIcon-b6d7cfd6.js +1 -1
  925. package/es/Collapsible-4cdc17e3.js +2 -2
  926. package/es/CompactHelpSource-548938ff.js +2 -2
  927. package/es/CompactLabelAssistance-fc9478aa.js +27 -0
  928. package/es/CompactLabelAssistance-fc9478aa.js.map +1 -0
  929. package/es/CompactUserAssistance-41c32c6f.js +4 -4
  930. package/es/ComponentMessageContainer-7d9228a3.js +4 -4
  931. package/es/ConveyorBeltItem-3d1d7f3c.js +2 -2
  932. package/es/DatePicker-4356274b.js +562 -0
  933. package/es/DatePicker-4356274b.js.map +1 -0
  934. package/es/DatePickerHeader-7078d6e8.js +3 -3
  935. package/es/Diagram-214e374c.js +1998 -0
  936. package/es/Diagram-214e374c.js.map +1 -0
  937. package/es/DirectionalCollapseArrowIcon-0298f5ef.js +1 -1
  938. package/es/DirectionalExpandArrowIcon-cf8fd7a8.js +1 -1
  939. package/es/DragHandle-9514fcdc.js +1 -1
  940. package/es/Dropdown-717319bb.js +80 -0
  941. package/es/Dropdown-717319bb.js.map +1 -0
  942. package/es/EnvironmentProvider-f543a463.js +58 -0
  943. package/es/EnvironmentProvider-f543a463.js.map +1 -0
  944. package/es/FilePicker-d8a0ad3a.js +2 -2
  945. package/es/Flex-24628925.js +30 -0
  946. package/es/Flex-24628925.js.map +1 -0
  947. package/es/Floating-9703160e.js +462 -0
  948. package/es/Floating-9703160e.js.map +1 -0
  949. package/es/FormLayout-ecd0259b.js +1 -1
  950. package/es/Gantt-b21af627.js +9 -9
  951. package/es/Grid-cfeac922.js +27 -0
  952. package/es/Grid-cfeac922.js.map +1 -0
  953. package/es/Gridlines-428bf909.js +120 -0
  954. package/es/Gridlines-428bf909.js.map +1 -0
  955. package/es/GroupLoadingIndicator-9c995e99.js +1 -1
  956. package/es/HighlightText-180e29f6.js +31 -0
  957. package/es/HighlightText-180e29f6.js.map +1 -0
  958. package/es/Icon-90c3a630.js +2 -2
  959. package/es/IconButton-37310d21.js +2 -2
  960. package/es/IconMenuButton-9fe6cbf9.js +4 -4
  961. package/es/IconSwitchButton-61cabbfe.js +2 -2
  962. package/es/IconToggleButton-f57e5484.js +2 -2
  963. package/es/IconUserAssistance-c226cb4f.js +73 -0
  964. package/es/IconUserAssistance-c226cb4f.js.map +1 -0
  965. package/es/Indexer-a671092c.js +4 -4
  966. package/es/InlineHelpSource-b43def76.js +1 -1
  967. package/es/InlineUserAssistance-bb690d93.js +5 -5
  968. package/es/InputDateMask-7386adfe.js +7 -7
  969. package/es/InputDatePicker-aa02a34c.js +323 -0
  970. package/es/InputDatePicker-aa02a34c.js.map +1 -0
  971. package/es/InputPassword-1f1f80b3.js +4 -4
  972. package/es/InputText-5fb896e7.js +6 -6
  973. package/es/Label-6674b3f2.js +5 -5
  974. package/es/LabelValueLayout-23b74176.js +1 -1
  975. package/es/Layer-9b06412e.js +84 -0
  976. package/es/Layer-9b06412e.js.map +1 -0
  977. package/es/LayerHost-45f545d7.js +40 -0
  978. package/es/LayerHost-45f545d7.js.map +1 -0
  979. package/es/LayerManager-625d2503.js +34 -0
  980. package/es/LayerManager-625d2503.js.map +1 -0
  981. package/es/Legend-98a79c12.js +3 -3
  982. package/es/LineAreaChart-413e0043.js +223 -0
  983. package/es/LineAreaChart-413e0043.js.map +1 -0
  984. package/es/Link-bfa35319.js +1 -1
  985. package/es/List-9026206d.js +5 -5
  986. package/es/ListItemLayout-695ec1a5.js +58 -0
  987. package/es/ListItemLayout-695ec1a5.js.map +1 -0
  988. package/es/ListView-c508c3a4.js +3 -3
  989. package/es/LiveRegion-81216fe6.js +39 -0
  990. package/es/LiveRegion-81216fe6.js.map +1 -0
  991. package/es/MaxLengthLiveRegion-cd15b075.js +23 -0
  992. package/es/MaxLengthLiveRegion-cd15b075.js.map +1 -0
  993. package/es/Menu-c7ab8412.js +313 -0
  994. package/es/Menu-c7ab8412.js.map +1 -0
  995. package/es/MenuButton-39563941.js +3 -3
  996. package/es/MenuItem-a8f9c954.js +1 -1
  997. package/es/Message-be36b84a.js +2 -2
  998. package/es/MessageLayer-0946d6b7.js +58 -0
  999. package/es/MessageLayer-0946d6b7.js.map +1 -0
  1000. package/es/MessageToast-2fa3c9d4.js +8 -8
  1001. package/es/MessagesManager-0d60fea1.js +3 -3
  1002. package/es/MeterBar-bdd7f9da.js +4 -4
  1003. package/es/MeterCircle-fd10f18b.js +4 -4
  1004. package/es/Modal-6b11d8cb.js +255 -0
  1005. package/es/Modal-6b11d8cb.js.map +1 -0
  1006. package/es/MonthView-cc017afe.js +152 -0
  1007. package/es/MonthView-cc017afe.js.map +1 -0
  1008. package/es/NavigationListItem-ea899fab.js +5 -5
  1009. package/es/NumberInputText-21ded33a.js +6 -6
  1010. package/es/OverflowTabBarItem-8f35961d.js +3 -3
  1011. package/es/PRIVATE_BaseCardView.js +19 -19
  1012. package/es/PRIVATE_Chart.js +29 -29
  1013. package/es/PRIVATE_CheckboxControl.js +21 -21
  1014. package/es/PRIVATE_CheckboxRadioField.js +22 -22
  1015. package/es/PRIVATE_ClearIcon.js +16 -16
  1016. package/es/PRIVATE_DatePickerHeader.js +18 -18
  1017. package/es/PRIVATE_DatePickerLayout.js +4 -4
  1018. package/es/PRIVATE_EmbeddedIconButton.js +3 -3
  1019. package/es/PRIVATE_FormControls.js +19 -19
  1020. package/es/PRIVATE_IconSwitchButton.js +14 -14
  1021. package/es/PRIVATE_Icons/CheckboxMixed.js +14 -14
  1022. package/es/PRIVATE_Icons/CheckboxOff.js +14 -14
  1023. package/es/PRIVATE_Icons/CheckboxOn.js +14 -14
  1024. package/es/PRIVATE_Icons/RadiobuttonOff.js +14 -14
  1025. package/es/PRIVATE_Icons/RadiobuttonOn.js +14 -14
  1026. package/es/PRIVATE_Icons/WarningS.js +14 -14
  1027. package/es/PRIVATE_List.js +18 -18
  1028. package/es/PRIVATE_Message.js +17 -17
  1029. package/es/PRIVATE_MessageLayer.js +11 -11
  1030. package/es/PRIVATE_MonthView.js +7 -7
  1031. package/es/PRIVATE_MonthYearGridView.js +7 -7
  1032. package/es/PRIVATE_PlotArea.js +4 -4
  1033. package/es/PRIVATE_RevealToggleIcon.js +15 -15
  1034. package/es/PRIVATE_SelectCommon.js +26 -26
  1035. package/es/PRIVATE_StyledCheckbox.js +14 -14
  1036. package/es/PRIVATE_Table.js +16 -16
  1037. package/es/PRIVATE_ThemedIcons/CalendarIcon.js +14 -14
  1038. package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +14 -14
  1039. package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +14 -14
  1040. package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +14 -14
  1041. package/es/PRIVATE_ThemedIcons/CheckIcon.js +14 -14
  1042. package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +14 -14
  1043. package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +14 -14
  1044. package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +14 -14
  1045. package/es/PRIVATE_ThemedIcons/CloseIcon.js +14 -14
  1046. package/es/PRIVATE_ThemedIcons/CollapseIcon.js +15 -15
  1047. package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +14 -14
  1048. package/es/PRIVATE_ThemedIcons/DecrementIcon.js +14 -14
  1049. package/es/PRIVATE_ThemedIcons/DeleteIcon.js +14 -14
  1050. package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +15 -15
  1051. package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +15 -15
  1052. package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +14 -14
  1053. package/es/PRIVATE_ThemedIcons/ExpandIcon.js +14 -14
  1054. package/es/PRIVATE_ThemedIcons/HelpIcon.js +14 -14
  1055. package/es/PRIVATE_ThemedIcons/IncrementIcon.js +14 -14
  1056. package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +14 -14
  1057. package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +14 -14
  1058. package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +14 -14
  1059. package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +14 -14
  1060. package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +14 -14
  1061. package/es/PRIVATE_ThemedIcons/MinusIcon.js +14 -14
  1062. package/es/PRIVATE_ThemedIcons/NavDownIcon.js +14 -14
  1063. package/es/PRIVATE_ThemedIcons/PlusIcon.js +14 -14
  1064. package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +14 -14
  1065. package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +14 -14
  1066. package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +14 -14
  1067. package/es/PRIVATE_ThemedIcons/SortDefaultIcon.js +14 -14
  1068. package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +14 -14
  1069. package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +14 -14
  1070. package/es/PRIVATE_ThemedIcons/ViewIcon.js +14 -14
  1071. package/es/PRIVATE_TimeComponent.js +17 -17
  1072. package/es/PRIVATE_VisTabularDatatip.js +4 -4
  1073. package/es/PictoChart-20c9a0c2.js +6 -6
  1074. package/es/PieChart-f349498b.js +433 -0
  1075. package/es/PieChart-f349498b.js.map +1 -0
  1076. package/es/Popup-8889a781.js +240 -0
  1077. package/es/Popup-8889a781.js.map +1 -0
  1078. package/es/ProgressBar-afafe39a.js +58 -0
  1079. package/es/ProgressBar-afafe39a.js.map +1 -0
  1080. package/es/ProgressCircle-fa5866a3.js +44 -0
  1081. package/es/ProgressCircle-fa5866a3.js.map +1 -0
  1082. package/es/RadioItem-e5b1f50b.js +6 -6
  1083. package/es/RatingGauge-4d8a68df.js +7 -7
  1084. package/es/ReadonlyTextFieldInput-4392c7aa.js +1 -1
  1085. package/es/RemovableNavigationListItem-4c86bec8.js +1 -1
  1086. package/es/RemovableTabBarItem-217d4a0b.js +2 -2
  1087. package/es/ReorderableTabBar-84640a66.js +2 -2
  1088. package/es/RevealToggleIcon-9236963e.js +1 -1
  1089. package/es/SectionalLegend-6ffb4255.js +4 -4
  1090. package/es/SectionedContent-815e377a.js +64 -0
  1091. package/es/SectionedContent-815e377a.js.map +1 -0
  1092. package/es/SelectMultiple-fd3ea6f8.js +8 -8
  1093. package/es/SelectSingle-8a8d1f5e.js +7 -7
  1094. package/es/SelectionCard-79044c5f.js +38 -0
  1095. package/es/SelectionCard-79044c5f.js.map +1 -0
  1096. package/es/Selector-e56a73a8.js +1 -1
  1097. package/es/SelectorAll-6f080f88.js +5 -5
  1098. package/es/Sheet-e4121f4a.js +158 -0
  1099. package/es/Sheet-e4121f4a.js.map +1 -0
  1100. package/es/SplitMenuButton-79bdfe96.js +3 -3
  1101. package/es/StyledTextField-c79f5438.js +3 -3
  1102. package/es/Submenu-8b3fa593.js +1 -1
  1103. package/es/TabBar-e39e8dbd.js +6 -6
  1104. package/es/TabBarItem-c681fa07.js +3 -3
  1105. package/es/TabBarLayout-a0d89ec4.js +1 -1
  1106. package/es/TabBarMixed-3658d3d2.js +6 -6
  1107. package/es/TabBarMixedSeparator-8ab78880.js +19 -0
  1108. package/es/TabBarMixedSeparator-8ab78880.js.map +1 -0
  1109. package/es/Table-e3ef68ad.js +3 -3
  1110. package/es/TagCloud-78991c29.js +9 -9
  1111. package/es/TextArea-979496a0.js +5 -5
  1112. package/es/TextAreaAutosize-b73aaa2f.js +5 -5
  1113. package/es/TextField-323fe0e9.js +3 -3
  1114. package/es/TextFieldInput-3c39cb7b.js +1 -1
  1115. package/es/Theme-redwood/theme.css +469 -469
  1116. package/es/Theme-stable/theme.css +487 -487
  1117. package/es/TimeComponentCanvas2D-c2ab38ba.js +4 -4
  1118. package/es/Toolbar-f0e57a9d.js +1 -1
  1119. package/es/TruncatingBadge-084c6682.js +2 -2
  1120. package/es/TruncatingText-780cbb19.js +2 -2
  1121. package/es/UNSAFE_ActionCard.js +2 -2
  1122. package/es/UNSAFE_BarChart/__test__/BarChart.spec.js +29 -29
  1123. package/es/UNSAFE_BarChart.js +29 -29
  1124. package/es/UNSAFE_BaseButton.js +3 -3
  1125. package/es/UNSAFE_Button.js +3 -3
  1126. package/es/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +19 -19
  1127. package/es/UNSAFE_ButtonLayout/themes/redwood/ButtonLayoutTheme.js +1 -1
  1128. package/es/UNSAFE_ButtonLayout/themes/redwood/ButtonLayoutVariants.css.js +1 -1
  1129. package/es/UNSAFE_ButtonLayout/themes/stable/ButtonLayoutTheme.js +1 -1
  1130. package/es/UNSAFE_ButtonLayout/themes/stable/ButtonLayoutVariants.css.js +1 -1
  1131. package/es/UNSAFE_ButtonLayout.js +1 -1
  1132. package/es/UNSAFE_ButtonSet.js +4 -4
  1133. package/es/UNSAFE_ButtonSetButton.js +3 -3
  1134. package/es/UNSAFE_ButtonSetIconButton.js +14 -14
  1135. package/es/UNSAFE_ButtonSetItem.js +14 -14
  1136. package/es/UNSAFE_ButtonSetMultiple.js +4 -4
  1137. package/es/UNSAFE_ButtonSetSingle.js +4 -4
  1138. package/es/UNSAFE_CardFlexView.js +19 -19
  1139. package/es/UNSAFE_CardGridView.js +19 -19
  1140. package/es/UNSAFE_Center.js +5 -5
  1141. package/es/UNSAFE_ChartWithLegend.js +4 -4
  1142. package/es/UNSAFE_Checkbox.js +21 -21
  1143. package/es/UNSAFE_CheckboxItem.js +50 -100
  1144. package/es/UNSAFE_CheckboxItem.js.map +1 -1
  1145. package/es/UNSAFE_CheckboxSet.js +65 -31
  1146. package/es/UNSAFE_CheckboxSet.js.map +1 -1
  1147. package/es/UNSAFE_Chip.js +2 -2
  1148. package/es/UNSAFE_Collapsible.js +16 -16
  1149. package/es/UNSAFE_ComponentMessage.js +17 -17
  1150. package/es/UNSAFE_ConveyorBelt.js +14 -14
  1151. package/es/UNSAFE_DatePicker.js +23 -23
  1152. package/es/UNSAFE_Diagram.js +15 -15
  1153. package/es/UNSAFE_Dialog.js +9 -9
  1154. package/es/UNSAFE_DragHandle.js +15 -15
  1155. package/es/UNSAFE_DrawerLayout.js +11 -11
  1156. package/es/UNSAFE_DrawerPopup.js +10 -10
  1157. package/es/UNSAFE_Dropdown.js +12 -12
  1158. package/es/UNSAFE_Environment.js +4 -4
  1159. package/es/UNSAFE_ExpandableList.js +21 -21
  1160. package/es/UNSAFE_FilePicker.js +4 -4
  1161. package/es/UNSAFE_Flex.js +4 -4
  1162. package/es/UNSAFE_Floating.js +10 -10
  1163. package/es/UNSAFE_FormLayout.js +2 -2
  1164. package/es/UNSAFE_Gantt.js +21 -21
  1165. package/es/UNSAFE_Grid.js +4 -4
  1166. package/es/UNSAFE_HighlightText.js +4 -4
  1167. package/es/UNSAFE_Icon.js +14 -14
  1168. package/es/UNSAFE_IconButton.js +14 -14
  1169. package/es/UNSAFE_IconMenuButton.js +18 -18
  1170. package/es/UNSAFE_IconToggleButton.js +14 -14
  1171. package/es/UNSAFE_Indexer.js +6 -6
  1172. package/es/UNSAFE_InputDateMask.js +22 -22
  1173. package/es/UNSAFE_InputDatePicker.js +108 -108
  1174. package/es/UNSAFE_InputPassword.js +21 -21
  1175. package/es/UNSAFE_InputSensitiveText.js +23 -23
  1176. package/es/UNSAFE_InputText.js +24 -24
  1177. package/es/UNSAFE_Label.js +21 -21
  1178. package/es/UNSAFE_LabelValueLayout.js +4 -4
  1179. package/es/UNSAFE_LabelledLink.js +23 -23
  1180. package/es/UNSAFE_Layer.js +7 -7
  1181. package/es/UNSAFE_Legend.js +22 -22
  1182. package/es/UNSAFE_LineAreaChart/__test__/LineChart.spec.js +29 -29
  1183. package/es/UNSAFE_LineAreaChart.js +30 -30
  1184. package/es/UNSAFE_Link.js +2 -2
  1185. package/es/UNSAFE_ListItemLayout.js +5 -5
  1186. package/es/UNSAFE_ListView.js +24 -24
  1187. package/es/UNSAFE_LiveRegion.js +4 -4
  1188. package/es/UNSAFE_Menu.js +20 -20
  1189. package/es/UNSAFE_MenuButton.js +18 -18
  1190. package/es/UNSAFE_MessageBanner.js +17 -17
  1191. package/es/UNSAFE_MessageToast.js +20 -20
  1192. package/es/UNSAFE_MeterBar.js +14 -14
  1193. package/es/UNSAFE_MeterCircle.js +14 -14
  1194. package/es/UNSAFE_Modal.js +7 -7
  1195. package/es/UNSAFE_NavigationList.js +18 -18
  1196. package/es/UNSAFE_NavigationListCommon.js +16 -16
  1197. package/es/UNSAFE_NumberInputText.js +23 -23
  1198. package/es/UNSAFE_OverflowTabBar.js +23 -23
  1199. package/es/UNSAFE_PictoChart.js +13 -13
  1200. package/es/UNSAFE_PieChart/__test__/PieChart.spec.js +14 -14
  1201. package/es/UNSAFE_PieChart.js +14 -14
  1202. package/es/UNSAFE_Popup.js +15 -15
  1203. package/es/UNSAFE_ProgressBar.js +5 -5
  1204. package/es/UNSAFE_ProgressCircle.js +4 -4
  1205. package/es/UNSAFE_RadioItem.js +21 -21
  1206. package/es/UNSAFE_RadioSet.js +21 -21
  1207. package/es/UNSAFE_RatingGauge.js +15 -15
  1208. package/es/UNSAFE_ReorderableTabBar.js +21 -21
  1209. package/es/UNSAFE_SectionalLegend.js +23 -23
  1210. package/es/UNSAFE_SelectMultiple.js +29 -29
  1211. package/es/UNSAFE_SelectSingle.js +29 -29
  1212. package/es/UNSAFE_SelectionCard.js +4 -4
  1213. package/es/UNSAFE_Selector.js +14 -14
  1214. package/es/UNSAFE_SelectorAll.js +17 -17
  1215. package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +13 -13
  1216. package/es/UNSAFE_Sheet.js +10 -10
  1217. package/es/UNSAFE_SplitMenuButton.js +18 -18
  1218. package/es/UNSAFE_TabBar.js +24 -24
  1219. package/es/UNSAFE_TabBarCommon.js +23 -23
  1220. package/es/UNSAFE_TabBarMixed.js +27 -27
  1221. package/es/UNSAFE_TableView.js +16 -16
  1222. package/es/UNSAFE_TagCloud.js +22 -22
  1223. package/es/UNSAFE_TextArea.js +23 -23
  1224. package/es/UNSAFE_TextAreaAutosize.js +23 -23
  1225. package/es/UNSAFE_TextField.js +7 -7
  1226. package/es/UNSAFE_ToggleButton.js +3 -3
  1227. package/es/UNSAFE_Toolbar/tests/Toolbar.spec.js +21 -21
  1228. package/es/UNSAFE_Toolbar.js +5 -5
  1229. package/es/UNSAFE_Train.js +15 -15
  1230. package/es/UNSAFE_TruncatingBadge.js +15 -15
  1231. package/es/UNSAFE_TruncatingText.js +15 -15
  1232. package/es/UNSAFE_UserAssistance.js +22 -22
  1233. package/es/UNSAFE_View.js +7 -7
  1234. package/es/UNSAFE_VirtualizedListView.js +18 -18
  1235. package/es/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +8 -8
  1236. package/es/UNSAFE_VisProgressiveLoader.js +6 -6
  1237. package/es/UNSAFE_VisStatusMessage.js +6 -6
  1238. package/es/UNSAFE_WindowOverlay.js +4 -4
  1239. package/es/View-6013acac.js +167 -0
  1240. package/es/View-6013acac.js.map +1 -0
  1241. package/es/VisNoData-8593beaa.js +32 -0
  1242. package/es/VisNoData-8593beaa.js.map +1 -0
  1243. package/es/VisProgressiveLoader-0d9a0dd0.js +51 -0
  1244. package/es/VisProgressiveLoader-0d9a0dd0.js.map +1 -0
  1245. package/es/VisTabularDatatip-1f16ca1f.js +24 -0
  1246. package/es/VisTabularDatatip-1f16ca1f.js.map +1 -0
  1247. package/es/WindowOverlay-e14f8324.js +110 -0
  1248. package/es/WindowOverlay-e14f8324.js.map +1 -0
  1249. package/es/YearsGridView-165e5eec.js +187 -0
  1250. package/es/YearsGridView-165e5eec.js.map +1 -0
  1251. package/es/hoc/PRIVATE_withDirectionIcon.js +4 -4
  1252. package/es/hoc/PRIVATE_withThemeIcon.js +3 -3
  1253. package/es/hoc/UNSAFE_withThemeProps.js +3 -3
  1254. package/es/hooks/PRIVATE_useChartContextMenu.js +18 -18
  1255. package/es/hooks/PRIVATE_useChartDatatip.js +13 -13
  1256. package/es/hooks/PRIVATE_useChartEvents.js +17 -17
  1257. package/es/hooks/PRIVATE_useChartMarquee.js +16 -16
  1258. package/es/hooks/PRIVATE_useCssVars.js +7 -7
  1259. package/es/hooks/PRIVATE_useCurrentKey.js +4 -4
  1260. package/es/hooks/PRIVATE_useDatatip.js +11 -11
  1261. package/es/hooks/PRIVATE_useFloating.js +4 -4
  1262. package/es/hooks/PRIVATE_useReorderable.js +4 -4
  1263. package/es/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
  1264. package/es/hooks/PRIVATE_useSelection.js +4 -4
  1265. package/es/hooks/PRIVATE_useTabBar.js +5 -5
  1266. package/es/hooks/PRIVATE_useVisContextMenu.js +18 -18
  1267. package/es/hooks/PRIVATE_useVisEvents.js +4 -4
  1268. package/es/hooks/PRIVATE_useVisMeterEvents.js +13 -13
  1269. package/es/hooks/PRIVATE_useVisSelection.js +12 -12
  1270. package/es/hooks/UNSAFE_useColorScheme.js +3 -3
  1271. package/es/hooks/UNSAFE_useContainerBreakpointValues.js +1 -1
  1272. package/es/hooks/UNSAFE_useCurrentBgColor.js +3 -3
  1273. package/es/hooks/UNSAFE_useDensity.js +3 -3
  1274. package/es/hooks/UNSAFE_useOutsideClick.js +7 -7
  1275. package/es/hooks/UNSAFE_usePrefixSuffix.js +4 -4
  1276. package/es/hooks/UNSAFE_useScale.js +3 -3
  1277. package/es/hooks/UNSAFE_useTestId.js +3 -3
  1278. package/es/hooks/UNSAFE_useTheme.js +3 -3
  1279. package/es/hooks/UNSAFE_useThemeInterpolations.js +5 -5
  1280. package/es/hooks/UNSAFE_useTooltip.js +15 -15
  1281. package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
  1282. package/es/hooks/UNSAFE_useUser.js +3 -3
  1283. package/es/index-5f0f1501.js +11 -0
  1284. package/es/index-5f0f1501.js.map +1 -0
  1285. package/es/listViewSelectionTests-ebf987d2.js +4 -4
  1286. package/es/render-c90e85c7.js +34 -0
  1287. package/es/render-c90e85c7.js.map +1 -0
  1288. package/es/tabbableUtils-e6193af2.js +79 -0
  1289. package/es/tabbableUtils-e6193af2.js.map +1 -0
  1290. package/es/testData-2998863b.js +256 -0
  1291. package/es/testData-2998863b.js.map +1 -0
  1292. package/es/useCellNavigation-006fbce0.js +1 -1
  1293. package/es/useChartContextMenu-0014fc73.js +3 -3
  1294. package/es/useChartDatatip-b6b2b00a.js +135 -0
  1295. package/es/useChartDatatip-b6b2b00a.js.map +1 -0
  1296. package/es/useChartMarquee-38dbb5f9.js +1 -1
  1297. package/es/useColorScheme-e1b17324.js +19 -0
  1298. package/es/useColorScheme-e1b17324.js.map +1 -0
  1299. package/es/useContextMenu-81db2534.js +3 -3
  1300. package/es/useCssVars-64d9b696.js +58 -0
  1301. package/es/useCssVars-64d9b696.js.map +1 -0
  1302. package/es/useCurrentBgColor-d89afadb.js +19 -0
  1303. package/es/useCurrentBgColor-d89afadb.js.map +1 -0
  1304. package/es/useCurrentKey-db7d3bb9.js +81 -0
  1305. package/es/useCurrentKey-db7d3bb9.js.map +1 -0
  1306. package/es/useDatatip-7c661980.js +83 -0
  1307. package/es/useDatatip-7c661980.js.map +1 -0
  1308. package/es/useDensity-60cfa748.js +19 -0
  1309. package/es/useDensity-60cfa748.js.map +1 -0
  1310. package/es/useFloating-c99976f8.js +1916 -0
  1311. package/es/useFloating-c99976f8.js.map +1 -0
  1312. package/es/useKeyboardEvents-102b4feb.js +78 -0
  1313. package/es/useKeyboardEvents-102b4feb.js.map +1 -0
  1314. package/es/useLegendContextMenu-d88be99d.js +5 -5
  1315. package/es/useMeterDatatip-262c0e39.js +78 -0
  1316. package/es/useMeterDatatip-262c0e39.js.map +1 -0
  1317. package/es/useOutsideClick-eb8324f6.js +85 -0
  1318. package/es/useOutsideClick-eb8324f6.js.map +1 -0
  1319. package/es/usePopupAnimation-4be04290.js +85 -0
  1320. package/es/usePopupAnimation-4be04290.js.map +1 -0
  1321. package/es/usePrefixSuffix-71a410f4.js +70 -0
  1322. package/es/usePrefixSuffix-71a410f4.js.map +1 -0
  1323. package/es/useReorderableItem-25aa1c34.js +2 -2
  1324. package/es/useRovingTabIndexContainer-e7926bd6.js +98 -0
  1325. package/es/useRovingTabIndexContainer-e7926bd6.js.map +1 -0
  1326. package/es/useScale-d64a1a28.js +19 -0
  1327. package/es/useScale-d64a1a28.js.map +1 -0
  1328. package/es/useSelectCommon-b6d67057.js +11 -11
  1329. package/es/useSelectDrill-9ce5bccf.js +100 -0
  1330. package/es/useSelectDrill-9ce5bccf.js.map +1 -0
  1331. package/es/useSelection-c12f7802.js +181 -0
  1332. package/es/useSelection-c12f7802.js.map +1 -0
  1333. package/es/useSelection-ce0f9a43.js +241 -0
  1334. package/es/useSelection-ce0f9a43.js.map +1 -0
  1335. package/es/useTabBar-8af19c50.js +152 -0
  1336. package/es/useTabBar-8af19c50.js.map +1 -0
  1337. package/es/useTestId-adde554c.js +21 -0
  1338. package/es/useTestId-adde554c.js.map +1 -0
  1339. package/es/useTheme-1f6035d2.js +19 -0
  1340. package/es/useTheme-1f6035d2.js.map +1 -0
  1341. package/es/useThemeInterpolations-9bddc683.js +31 -0
  1342. package/es/useThemeInterpolations-9bddc683.js.map +1 -0
  1343. package/es/useTooltip-9dec25b3.js +51 -0
  1344. package/es/useTooltip-9dec25b3.js.map +1 -0
  1345. package/es/useTooltipControlled-2044f639.js +454 -0
  1346. package/es/useTooltipControlled-2044f639.js.map +1 -0
  1347. package/es/useTranslationBundle-cd815e10.js +29 -0
  1348. package/es/useTranslationBundle-cd815e10.js.map +1 -0
  1349. package/es/useUser-99920e02.js +19 -0
  1350. package/es/useUser-99920e02.js.map +1 -0
  1351. package/es/useVisEvents-4cfe354c.js +153 -0
  1352. package/es/useVisEvents-4cfe354c.js.map +1 -0
  1353. package/es/utils/PRIVATE_visTestUtils.js +6 -6
  1354. package/es/withDirectionIcon-f8ff778c.js +14 -0
  1355. package/es/withDirectionIcon-f8ff778c.js.map +1 -0
  1356. package/package.json +2 -2
  1357. package/amd/BaseCardViewSelectionTest-09799a11.js +0 -2
  1358. package/amd/BaseCardViewSelectionTest-09799a11.js.map +0 -1
  1359. package/amd/Center-ce88b58a.js +0 -2
  1360. package/amd/Center-ce88b58a.js.map +0 -1
  1361. package/amd/CompactLabelAssistance-9b6b3be2.js +0 -2
  1362. package/amd/CompactLabelAssistance-9b6b3be2.js.map +0 -1
  1363. package/amd/DatePicker-70b1aba4.js +0 -2
  1364. package/amd/DatePicker-70b1aba4.js.map +0 -1
  1365. package/amd/Diagram-9627b062.js +0 -2
  1366. package/amd/Diagram-9627b062.js.map +0 -1
  1367. package/amd/Dropdown-c62373dd.js +0 -2
  1368. package/amd/Dropdown-c62373dd.js.map +0 -1
  1369. package/amd/EnvironmentProvider-9e71b5c2.js +0 -2
  1370. package/amd/EnvironmentProvider-9e71b5c2.js.map +0 -1
  1371. package/amd/Flex-db3ddadb.js +0 -2
  1372. package/amd/Flex-db3ddadb.js.map +0 -1
  1373. package/amd/Floating-8f519f4d.js +0 -2
  1374. package/amd/Floating-8f519f4d.js.map +0 -1
  1375. package/amd/Grid-209ab070.js +0 -2
  1376. package/amd/Grid-209ab070.js.map +0 -1
  1377. package/amd/Gridlines-8ca4f9ee.js +0 -2
  1378. package/amd/Gridlines-8ca4f9ee.js.map +0 -1
  1379. package/amd/HighlightText-415dc14f.js +0 -2
  1380. package/amd/HighlightText-415dc14f.js.map +0 -1
  1381. package/amd/IconUserAssistance-f8928f19.js +0 -2
  1382. package/amd/IconUserAssistance-f8928f19.js.map +0 -1
  1383. package/amd/InputDatePicker-da5d8728.js +0 -2
  1384. package/amd/InputDatePicker-da5d8728.js.map +0 -1
  1385. package/amd/Layer-8d7bbd69.js +0 -2
  1386. package/amd/Layer-8d7bbd69.js.map +0 -1
  1387. package/amd/LayerHost-0a244de8.js +0 -2
  1388. package/amd/LayerHost-0a244de8.js.map +0 -1
  1389. package/amd/LayerManager-00983765.js +0 -2
  1390. package/amd/LayerManager-00983765.js.map +0 -1
  1391. package/amd/LineAreaChart-b68c4620.js +0 -2
  1392. package/amd/LineAreaChart-b68c4620.js.map +0 -1
  1393. package/amd/ListItemLayout-12aee4bd.js +0 -2
  1394. package/amd/ListItemLayout-12aee4bd.js.map +0 -1
  1395. package/amd/LiveRegion-09197914.js +0 -2
  1396. package/amd/LiveRegion-09197914.js.map +0 -1
  1397. package/amd/MaxLengthCounter-caafceef.js +0 -2
  1398. package/amd/MaxLengthCounter-caafceef.js.map +0 -1
  1399. package/amd/MaxLengthLiveRegion-e3856a98.js +0 -2
  1400. package/amd/MaxLengthLiveRegion-e3856a98.js.map +0 -1
  1401. package/amd/Menu-6a5d7fce.js +0 -2
  1402. package/amd/Menu-6a5d7fce.js.map +0 -1
  1403. package/amd/MessageLayer-cf2fbea9.js +0 -2
  1404. package/amd/MessageLayer-cf2fbea9.js.map +0 -1
  1405. package/amd/Modal-8f19889c.js +0 -2
  1406. package/amd/Modal-8f19889c.js.map +0 -1
  1407. package/amd/MonthView-297fceb8.js +0 -2
  1408. package/amd/MonthView-297fceb8.js.map +0 -1
  1409. package/amd/PieChart-295e2dbf.js +0 -2
  1410. package/amd/PieChart-295e2dbf.js.map +0 -1
  1411. package/amd/Popup-b5495d55.js +0 -2
  1412. package/amd/Popup-b5495d55.js.map +0 -1
  1413. package/amd/ProgressBar-e9b37565.js +0 -2
  1414. package/amd/ProgressBar-e9b37565.js.map +0 -1
  1415. package/amd/ProgressCircle-3b0d70d1.js +0 -2
  1416. package/amd/ProgressCircle-3b0d70d1.js.map +0 -1
  1417. package/amd/SectionedContent-d896b84f.js +0 -2
  1418. package/amd/SectionedContent-d896b84f.js.map +0 -1
  1419. package/amd/SelectionCard-ec3ee20d.js +0 -2
  1420. package/amd/SelectionCard-ec3ee20d.js.map +0 -1
  1421. package/amd/Sheet-a398d015.js +0 -2
  1422. package/amd/Sheet-a398d015.js.map +0 -1
  1423. package/amd/TabBarMixedSeparator-234c9a75.js +0 -2
  1424. package/amd/TabBarMixedSeparator-234c9a75.js.map +0 -1
  1425. package/amd/TextArea-44c90bc4.js +0 -2
  1426. package/amd/TextArea-44c90bc4.js.map +0 -1
  1427. package/amd/TextAreaAutosize-0a023972.js +0 -2
  1428. package/amd/TextAreaAutosize-0a023972.js.map +0 -1
  1429. package/amd/View-10a5769c.js +0 -2
  1430. package/amd/View-10a5769c.js.map +0 -1
  1431. package/amd/VisNoData-95d951c2.js +0 -2
  1432. package/amd/VisNoData-95d951c2.js.map +0 -1
  1433. package/amd/VisProgressiveLoader-39f1b4ef.js +0 -2
  1434. package/amd/VisProgressiveLoader-39f1b4ef.js.map +0 -1
  1435. package/amd/VisTabularDatatip-e945d6f6.js +0 -2
  1436. package/amd/VisTabularDatatip-e945d6f6.js.map +0 -1
  1437. package/amd/WindowOverlay-ad61cfea.js +0 -2
  1438. package/amd/WindowOverlay-ad61cfea.js.map +0 -1
  1439. package/amd/YearsGridView-c76bb4da.js +0 -2
  1440. package/amd/YearsGridView-c76bb4da.js.map +0 -1
  1441. package/amd/index-8d4da04e.js +0 -2
  1442. package/amd/index-8d4da04e.js.map +0 -1
  1443. package/amd/render-6de552e4.js +0 -2
  1444. package/amd/render-6de552e4.js.map +0 -1
  1445. package/amd/tabbableUtils-78cc49fd.js +0 -2
  1446. package/amd/tabbableUtils-78cc49fd.js.map +0 -1
  1447. package/amd/testData-6d873339.js +0 -2
  1448. package/amd/testData-6d873339.js.map +0 -1
  1449. package/amd/useChartDatatip-34e2636c.js +0 -2
  1450. package/amd/useChartDatatip-34e2636c.js.map +0 -1
  1451. package/amd/useColorScheme-3ffd80c4.js +0 -2
  1452. package/amd/useColorScheme-3ffd80c4.js.map +0 -1
  1453. package/amd/useCssVars-7efb591d.js +0 -2
  1454. package/amd/useCssVars-7efb591d.js.map +0 -1
  1455. package/amd/useCurrentBgColor-44e3f377.js +0 -2
  1456. package/amd/useCurrentBgColor-44e3f377.js.map +0 -1
  1457. package/amd/useCurrentKey-26170e5e.js +0 -2
  1458. package/amd/useCurrentKey-26170e5e.js.map +0 -1
  1459. package/amd/useDatatip-34fb67d2.js +0 -2
  1460. package/amd/useDatatip-34fb67d2.js.map +0 -1
  1461. package/amd/useDensity-be2ff874.js +0 -2
  1462. package/amd/useDensity-be2ff874.js.map +0 -1
  1463. package/amd/useFloating-30975c41.js +0 -2
  1464. package/amd/useFloating-30975c41.js.map +0 -1
  1465. package/amd/useKeyboardEvents-57008a1d.js +0 -2
  1466. package/amd/useKeyboardEvents-57008a1d.js.map +0 -1
  1467. package/amd/useMeterDatatip-1a3890aa.js +0 -2
  1468. package/amd/useMeterDatatip-1a3890aa.js.map +0 -1
  1469. package/amd/useOutsideClick-90052c27.js +0 -2
  1470. package/amd/useOutsideClick-90052c27.js.map +0 -1
  1471. package/amd/usePopupAnimation-a0193874.js +0 -2
  1472. package/amd/usePopupAnimation-a0193874.js.map +0 -1
  1473. package/amd/usePrefixSuffix-da47e340.js +0 -2
  1474. package/amd/usePrefixSuffix-da47e340.js.map +0 -1
  1475. package/amd/useRovingTabIndexContainer-079ed64f.js +0 -2
  1476. package/amd/useRovingTabIndexContainer-079ed64f.js.map +0 -1
  1477. package/amd/useScale-fe3420c6.js +0 -2
  1478. package/amd/useScale-fe3420c6.js.map +0 -1
  1479. package/amd/useSelectDrill-f69d15aa.js +0 -2
  1480. package/amd/useSelectDrill-f69d15aa.js.map +0 -1
  1481. package/amd/useSelection-2c9ff75a.js +0 -2
  1482. package/amd/useSelection-2c9ff75a.js.map +0 -1
  1483. package/amd/useSelection-91c04393.js +0 -2
  1484. package/amd/useSelection-91c04393.js.map +0 -1
  1485. package/amd/useTabBar-254fbf75.js +0 -2
  1486. package/amd/useTabBar-254fbf75.js.map +0 -1
  1487. package/amd/useTestId-f3b8b319.js +0 -2
  1488. package/amd/useTestId-f3b8b319.js.map +0 -1
  1489. package/amd/useTheme-45e3b0b3.js +0 -2
  1490. package/amd/useTheme-45e3b0b3.js.map +0 -1
  1491. package/amd/useThemeInterpolations-1f5fd8f3.js +0 -2
  1492. package/amd/useThemeInterpolations-1f5fd8f3.js.map +0 -1
  1493. package/amd/useTooltip-e965a559.js +0 -2
  1494. package/amd/useTooltip-e965a559.js.map +0 -1
  1495. package/amd/useTooltipControlled-18271c7a.js +0 -2
  1496. package/amd/useTooltipControlled-18271c7a.js.map +0 -1
  1497. package/amd/useTranslationBundle-20bfc0f3.js +0 -2
  1498. package/amd/useTranslationBundle-20bfc0f3.js.map +0 -1
  1499. package/amd/useUser-9b166ca3.js +0 -2
  1500. package/amd/useUser-9b166ca3.js.map +0 -1
  1501. package/amd/useVisEvents-ac97d087.js +0 -2
  1502. package/amd/useVisEvents-ac97d087.js.map +0 -1
  1503. package/amd/withDirectionIcon-9e4dae53.js +0 -2
  1504. package/amd/withDirectionIcon-9e4dae53.js.map +0 -1
  1505. package/cjs/BaseCardViewSelectionTest-1d3dd9f3.js +0 -696
  1506. package/cjs/BaseCardViewSelectionTest-1d3dd9f3.js.map +0 -1
  1507. package/cjs/BaseNavigationListItem-070d75bc.js +0 -123
  1508. package/cjs/BaseNavigationListItem-070d75bc.js.map +0 -1
  1509. package/cjs/Center-a76dcdfe.js +0 -18
  1510. package/cjs/Center-a76dcdfe.js.map +0 -1
  1511. package/cjs/CheckboxSetContext-c62db26d.js +0 -12
  1512. package/cjs/CheckboxSetContext-c62db26d.js.map +0 -1
  1513. package/cjs/CompactLabelAssistance-7dd6ac2c.js +0 -29
  1514. package/cjs/CompactLabelAssistance-7dd6ac2c.js.map +0 -1
  1515. package/cjs/DatePicker-3c46ec73.js +0 -564
  1516. package/cjs/DatePicker-3c46ec73.js.map +0 -1
  1517. package/cjs/Diagram-5e7f1aec.js +0 -2000
  1518. package/cjs/Diagram-5e7f1aec.js.map +0 -1
  1519. package/cjs/Dropdown-7baf2926.js +0 -82
  1520. package/cjs/Dropdown-7baf2926.js.map +0 -1
  1521. package/cjs/EnvironmentProvider-e5a93f24.js +0 -61
  1522. package/cjs/EnvironmentProvider-e5a93f24.js.map +0 -1
  1523. package/cjs/Flex-6529d995.js +0 -33
  1524. package/cjs/Flex-6529d995.js.map +0 -1
  1525. package/cjs/Floating-9e569e63.js +0 -464
  1526. package/cjs/Floating-9e569e63.js.map +0 -1
  1527. package/cjs/Grid-fe4fef40.js +0 -29
  1528. package/cjs/Grid-fe4fef40.js.map +0 -1
  1529. package/cjs/Gridlines-b31d8972.js +0 -123
  1530. package/cjs/Gridlines-b31d8972.js.map +0 -1
  1531. package/cjs/HighlightText-da873ed3.js +0 -33
  1532. package/cjs/HighlightText-da873ed3.js.map +0 -1
  1533. package/cjs/IconUserAssistance-cee464a4.js +0 -75
  1534. package/cjs/IconUserAssistance-cee464a4.js.map +0 -1
  1535. package/cjs/Layer-845cc772.js +0 -87
  1536. package/cjs/Layer-845cc772.js.map +0 -1
  1537. package/cjs/LayerHost-a6007465.js +0 -45
  1538. package/cjs/LayerHost-a6007465.js.map +0 -1
  1539. package/cjs/LayerManager-6fa20e12.js +0 -36
  1540. package/cjs/LayerManager-6fa20e12.js.map +0 -1
  1541. package/cjs/LineAreaChart-5353ed1f.js +0 -225
  1542. package/cjs/LineAreaChart-5353ed1f.js.map +0 -1
  1543. package/cjs/ListItemLayout-24a81393.js +0 -60
  1544. package/cjs/ListItemLayout-24a81393.js.map +0 -1
  1545. package/cjs/LiveRegion-fcb0bb37.js +0 -41
  1546. package/cjs/LiveRegion-fcb0bb37.js.map +0 -1
  1547. package/cjs/MaxLengthLiveRegion-2dba8c9c.js +0 -25
  1548. package/cjs/MaxLengthLiveRegion-2dba8c9c.js.map +0 -1
  1549. package/cjs/Menu-afcc3db8.js +0 -317
  1550. package/cjs/Menu-afcc3db8.js.map +0 -1
  1551. package/cjs/MessageLayer-b2a48a1f.js +0 -61
  1552. package/cjs/MessageLayer-b2a48a1f.js.map +0 -1
  1553. package/cjs/Modal-fd178291.js +0 -258
  1554. package/cjs/Modal-fd178291.js.map +0 -1
  1555. package/cjs/MonthView-de994aa0.js +0 -154
  1556. package/cjs/MonthView-de994aa0.js.map +0 -1
  1557. package/cjs/NavigationListItem-12a76e7d.js +0 -163
  1558. package/cjs/NavigationListItem-12a76e7d.js.map +0 -1
  1559. package/cjs/OverflowTabBarItem-c0a592fd.js +0 -88
  1560. package/cjs/OverflowTabBarItem-c0a592fd.js.map +0 -1
  1561. package/cjs/PieChart-af6fad17.js +0 -435
  1562. package/cjs/PieChart-af6fad17.js.map +0 -1
  1563. package/cjs/Popup-a793c4a2.js +0 -242
  1564. package/cjs/Popup-a793c4a2.js.map +0 -1
  1565. package/cjs/ProgressBar-c1bfc481.js +0 -60
  1566. package/cjs/ProgressBar-c1bfc481.js.map +0 -1
  1567. package/cjs/ProgressCircle-579da214.js +0 -46
  1568. package/cjs/ProgressCircle-579da214.js.map +0 -1
  1569. package/cjs/RemovableNavigationListItem-6231df42.js +0 -26
  1570. package/cjs/RemovableNavigationListItem-6231df42.js.map +0 -1
  1571. package/cjs/ReorderableTabBar-5743c66a.js +0 -81
  1572. package/cjs/ReorderableTabBar-5743c66a.js.map +0 -1
  1573. package/cjs/SectionedContent-5e956228.js +0 -67
  1574. package/cjs/SectionedContent-5e956228.js.map +0 -1
  1575. package/cjs/SelectionCard-9a4f325f.js +0 -40
  1576. package/cjs/SelectionCard-9a4f325f.js.map +0 -1
  1577. package/cjs/Sheet-c3a675fc.js +0 -161
  1578. package/cjs/Sheet-c3a675fc.js.map +0 -1
  1579. package/cjs/TabBar-73bb6c97.js +0 -65
  1580. package/cjs/TabBar-73bb6c97.js.map +0 -1
  1581. package/cjs/TabBarMixed-426fcaf1.js +0 -75
  1582. package/cjs/TabBarMixed-426fcaf1.js.map +0 -1
  1583. package/cjs/TabBarMixedSeparator-e949e3c9.js +0 -21
  1584. package/cjs/TabBarMixedSeparator-e949e3c9.js.map +0 -1
  1585. package/cjs/View-8f49d970.js +0 -170
  1586. package/cjs/View-8f49d970.js.map +0 -1
  1587. package/cjs/VisNoData-b3159e5a.js +0 -35
  1588. package/cjs/VisNoData-b3159e5a.js.map +0 -1
  1589. package/cjs/VisProgressiveLoader-2cf7074b.js +0 -53
  1590. package/cjs/VisProgressiveLoader-2cf7074b.js.map +0 -1
  1591. package/cjs/VisTabularDatatip-96e5fcf3.js +0 -26
  1592. package/cjs/VisTabularDatatip-96e5fcf3.js.map +0 -1
  1593. package/cjs/WindowOverlay-bb51c0ee.js +0 -112
  1594. package/cjs/WindowOverlay-bb51c0ee.js.map +0 -1
  1595. package/cjs/YearsGridView-6affda7f.js +0 -190
  1596. package/cjs/YearsGridView-6affda7f.js.map +0 -1
  1597. package/cjs/index-5049ab6c.js +0 -13
  1598. package/cjs/index-5049ab6c.js.map +0 -1
  1599. package/cjs/render-7538ab25.js +0 -41
  1600. package/cjs/render-7538ab25.js.map +0 -1
  1601. package/cjs/tabbableUtils-5502f80e.js +0 -81
  1602. package/cjs/tabbableUtils-5502f80e.js.map +0 -1
  1603. package/cjs/testData-afbc1647.js +0 -271
  1604. package/cjs/testData-afbc1647.js.map +0 -1
  1605. package/cjs/useChartDatatip-b838368c.js +0 -137
  1606. package/cjs/useChartDatatip-b838368c.js.map +0 -1
  1607. package/cjs/useColorScheme-b0ea4a49.js +0 -21
  1608. package/cjs/useColorScheme-b0ea4a49.js.map +0 -1
  1609. package/cjs/useCssVars-839ce507.js +0 -60
  1610. package/cjs/useCssVars-839ce507.js.map +0 -1
  1611. package/cjs/useCurrentBgColor-2d0db090.js +0 -21
  1612. package/cjs/useCurrentBgColor-2d0db090.js.map +0 -1
  1613. package/cjs/useCurrentKey-9c158ccc.js +0 -83
  1614. package/cjs/useCurrentKey-9c158ccc.js.map +0 -1
  1615. package/cjs/useDatatip-1f5535bb.js +0 -85
  1616. package/cjs/useDatatip-1f5535bb.js.map +0 -1
  1617. package/cjs/useDensity-edb16927.js +0 -21
  1618. package/cjs/useDensity-edb16927.js.map +0 -1
  1619. package/cjs/useFloating-f4bbd8c4.js +0 -1926
  1620. package/cjs/useFloating-f4bbd8c4.js.map +0 -1
  1621. package/cjs/useKeyboardEvents-1b2187c2.js +0 -81
  1622. package/cjs/useKeyboardEvents-1b2187c2.js.map +0 -1
  1623. package/cjs/useMeterDatatip-93d199d6.js +0 -81
  1624. package/cjs/useMeterDatatip-93d199d6.js.map +0 -1
  1625. package/cjs/useOutsideClick-b22e1d4a.js +0 -87
  1626. package/cjs/useOutsideClick-b22e1d4a.js.map +0 -1
  1627. package/cjs/usePopupAnimation-d58b2664.js +0 -87
  1628. package/cjs/usePopupAnimation-d58b2664.js.map +0 -1
  1629. package/cjs/usePrefixSuffix-544b49ad.js +0 -72
  1630. package/cjs/usePrefixSuffix-544b49ad.js.map +0 -1
  1631. package/cjs/useRovingTabIndexContainer-c03da9ff.js +0 -100
  1632. package/cjs/useRovingTabIndexContainer-c03da9ff.js.map +0 -1
  1633. package/cjs/useScale-c5e9172c.js +0 -21
  1634. package/cjs/useScale-c5e9172c.js.map +0 -1
  1635. package/cjs/useSelectDrill-303b8cba.js +0 -103
  1636. package/cjs/useSelectDrill-303b8cba.js.map +0 -1
  1637. package/cjs/useSelection-05fa772e.js +0 -243
  1638. package/cjs/useSelection-05fa772e.js.map +0 -1
  1639. package/cjs/useSelection-1fe0f2c2.js +0 -183
  1640. package/cjs/useSelection-1fe0f2c2.js.map +0 -1
  1641. package/cjs/useTabBar-8bd94c1b.js +0 -154
  1642. package/cjs/useTabBar-8bd94c1b.js.map +0 -1
  1643. package/cjs/useTestId-71c3de70.js +0 -23
  1644. package/cjs/useTestId-71c3de70.js.map +0 -1
  1645. package/cjs/useTheme-f85b8938.js +0 -21
  1646. package/cjs/useTheme-f85b8938.js.map +0 -1
  1647. package/cjs/useThemeInterpolations-50ce3d68.js +0 -33
  1648. package/cjs/useThemeInterpolations-50ce3d68.js.map +0 -1
  1649. package/cjs/useTooltip-29b90247.js +0 -53
  1650. package/cjs/useTooltip-29b90247.js.map +0 -1
  1651. package/cjs/useTooltipControlled-a907e06c.js +0 -456
  1652. package/cjs/useTooltipControlled-a907e06c.js.map +0 -1
  1653. package/cjs/useTranslationBundle-7fcd8bd5.js +0 -31
  1654. package/cjs/useTranslationBundle-7fcd8bd5.js.map +0 -1
  1655. package/cjs/useUser-c8e9a94a.js +0 -21
  1656. package/cjs/useUser-c8e9a94a.js.map +0 -1
  1657. package/cjs/useVisEvents-b000a96f.js +0 -155
  1658. package/cjs/useVisEvents-b000a96f.js.map +0 -1
  1659. package/cjs/withDirectionIcon-b6772ee8.js +0 -16
  1660. package/cjs/withDirectionIcon-b6772ee8.js.map +0 -1
  1661. package/es/BaseCardViewSelectionTest-ab83a0b0.js +0 -683
  1662. package/es/BaseCardViewSelectionTest-ab83a0b0.js.map +0 -1
  1663. package/es/Center-58d4b406.js +0 -16
  1664. package/es/Center-58d4b406.js.map +0 -1
  1665. package/es/CheckboxSet-836e3263.js +0 -49
  1666. package/es/CheckboxSet-836e3263.js.map +0 -1
  1667. package/es/CompactLabelAssistance-933d1d68.js +0 -27
  1668. package/es/CompactLabelAssistance-933d1d68.js.map +0 -1
  1669. package/es/DatePicker-e517dad2.js +0 -562
  1670. package/es/DatePicker-e517dad2.js.map +0 -1
  1671. package/es/Diagram-15e246b6.js +0 -1998
  1672. package/es/Diagram-15e246b6.js.map +0 -1
  1673. package/es/Dropdown-2a328b40.js +0 -80
  1674. package/es/Dropdown-2a328b40.js.map +0 -1
  1675. package/es/EnvironmentProvider-6846a7ff.js +0 -58
  1676. package/es/EnvironmentProvider-6846a7ff.js.map +0 -1
  1677. package/es/Flex-5ff5aa5e.js +0 -30
  1678. package/es/Flex-5ff5aa5e.js.map +0 -1
  1679. package/es/Floating-5b269acc.js +0 -462
  1680. package/es/Floating-5b269acc.js.map +0 -1
  1681. package/es/Grid-5d8f712b.js +0 -27
  1682. package/es/Grid-5d8f712b.js.map +0 -1
  1683. package/es/Gridlines-4b7301e7.js +0 -120
  1684. package/es/Gridlines-4b7301e7.js.map +0 -1
  1685. package/es/HighlightText-39781e79.js +0 -31
  1686. package/es/HighlightText-39781e79.js.map +0 -1
  1687. package/es/IconUserAssistance-744d71a4.js +0 -73
  1688. package/es/IconUserAssistance-744d71a4.js.map +0 -1
  1689. package/es/InputDatePicker-7f9852d0.js +0 -323
  1690. package/es/InputDatePicker-7f9852d0.js.map +0 -1
  1691. package/es/Layer-5d259d3a.js +0 -84
  1692. package/es/Layer-5d259d3a.js.map +0 -1
  1693. package/es/LayerHost-aaed41a1.js +0 -40
  1694. package/es/LayerHost-aaed41a1.js.map +0 -1
  1695. package/es/LayerManager-87beee1e.js +0 -34
  1696. package/es/LayerManager-87beee1e.js.map +0 -1
  1697. package/es/LineAreaChart-35327196.js +0 -223
  1698. package/es/LineAreaChart-35327196.js.map +0 -1
  1699. package/es/ListItemLayout-961c8443.js +0 -58
  1700. package/es/ListItemLayout-961c8443.js.map +0 -1
  1701. package/es/LiveRegion-4646cd7d.js +0 -39
  1702. package/es/LiveRegion-4646cd7d.js.map +0 -1
  1703. package/es/MaxLengthLiveRegion-1278e638.js +0 -23
  1704. package/es/MaxLengthLiveRegion-1278e638.js.map +0 -1
  1705. package/es/Menu-b0c28cfd.js +0 -313
  1706. package/es/Menu-b0c28cfd.js.map +0 -1
  1707. package/es/MessageLayer-322485df.js +0 -58
  1708. package/es/MessageLayer-322485df.js.map +0 -1
  1709. package/es/Modal-986872f3.js +0 -255
  1710. package/es/Modal-986872f3.js.map +0 -1
  1711. package/es/MonthView-99cc26ac.js +0 -152
  1712. package/es/MonthView-99cc26ac.js.map +0 -1
  1713. package/es/PieChart-e41e3463.js +0 -433
  1714. package/es/PieChart-e41e3463.js.map +0 -1
  1715. package/es/Popup-6288438d.js +0 -240
  1716. package/es/Popup-6288438d.js.map +0 -1
  1717. package/es/ProgressBar-ed0c5ba0.js +0 -58
  1718. package/es/ProgressBar-ed0c5ba0.js.map +0 -1
  1719. package/es/ProgressCircle-95a70910.js +0 -44
  1720. package/es/ProgressCircle-95a70910.js.map +0 -1
  1721. package/es/SectionedContent-13d72f4b.js +0 -64
  1722. package/es/SectionedContent-13d72f4b.js.map +0 -1
  1723. package/es/SelectionCard-8496e467.js +0 -38
  1724. package/es/SelectionCard-8496e467.js.map +0 -1
  1725. package/es/Sheet-8914df23.js +0 -158
  1726. package/es/Sheet-8914df23.js.map +0 -1
  1727. package/es/TabBarMixedSeparator-da2254c9.js +0 -19
  1728. package/es/TabBarMixedSeparator-da2254c9.js.map +0 -1
  1729. package/es/View-4dc6ce42.js +0 -167
  1730. package/es/View-4dc6ce42.js.map +0 -1
  1731. package/es/VisNoData-c69e8f5e.js +0 -32
  1732. package/es/VisNoData-c69e8f5e.js.map +0 -1
  1733. package/es/VisProgressiveLoader-cc1ab7cc.js +0 -51
  1734. package/es/VisProgressiveLoader-cc1ab7cc.js.map +0 -1
  1735. package/es/VisTabularDatatip-418525b0.js +0 -24
  1736. package/es/VisTabularDatatip-418525b0.js.map +0 -1
  1737. package/es/WindowOverlay-88b63ede.js +0 -110
  1738. package/es/WindowOverlay-88b63ede.js.map +0 -1
  1739. package/es/YearsGridView-76892288.js +0 -187
  1740. package/es/YearsGridView-76892288.js.map +0 -1
  1741. package/es/index-75f23286.js +0 -11
  1742. package/es/index-75f23286.js.map +0 -1
  1743. package/es/render-8e2a09d1.js +0 -34
  1744. package/es/render-8e2a09d1.js.map +0 -1
  1745. package/es/tabbableUtils-73a9ba14.js +0 -79
  1746. package/es/tabbableUtils-73a9ba14.js.map +0 -1
  1747. package/es/testData-0aee4d83.js +0 -256
  1748. package/es/testData-0aee4d83.js.map +0 -1
  1749. package/es/useChartDatatip-f7bacd9b.js +0 -135
  1750. package/es/useChartDatatip-f7bacd9b.js.map +0 -1
  1751. package/es/useColorScheme-bf110202.js +0 -19
  1752. package/es/useColorScheme-bf110202.js.map +0 -1
  1753. package/es/useCssVars-b3bf30fb.js +0 -58
  1754. package/es/useCssVars-b3bf30fb.js.map +0 -1
  1755. package/es/useCurrentBgColor-b3ebd7be.js +0 -19
  1756. package/es/useCurrentBgColor-b3ebd7be.js.map +0 -1
  1757. package/es/useCurrentKey-1f99b0f6.js +0 -81
  1758. package/es/useCurrentKey-1f99b0f6.js.map +0 -1
  1759. package/es/useDatatip-f9bcaab9.js +0 -83
  1760. package/es/useDatatip-f9bcaab9.js.map +0 -1
  1761. package/es/useDensity-9f6c6bf0.js +0 -19
  1762. package/es/useDensity-9f6c6bf0.js.map +0 -1
  1763. package/es/useFloating-1cca9e4f.js +0 -1916
  1764. package/es/useFloating-1cca9e4f.js.map +0 -1
  1765. package/es/useKeyboardEvents-11b26017.js +0 -78
  1766. package/es/useKeyboardEvents-11b26017.js.map +0 -1
  1767. package/es/useMeterDatatip-7366880d.js +0 -78
  1768. package/es/useMeterDatatip-7366880d.js.map +0 -1
  1769. package/es/useOutsideClick-ab98bfa3.js +0 -85
  1770. package/es/useOutsideClick-ab98bfa3.js.map +0 -1
  1771. package/es/usePopupAnimation-4969107b.js +0 -85
  1772. package/es/usePopupAnimation-4969107b.js.map +0 -1
  1773. package/es/usePrefixSuffix-a14dacb0.js +0 -70
  1774. package/es/usePrefixSuffix-a14dacb0.js.map +0 -1
  1775. package/es/useRovingTabIndexContainer-91fd85f3.js +0 -98
  1776. package/es/useRovingTabIndexContainer-91fd85f3.js.map +0 -1
  1777. package/es/useScale-42018695.js +0 -19
  1778. package/es/useScale-42018695.js.map +0 -1
  1779. package/es/useSelectDrill-333650bd.js +0 -100
  1780. package/es/useSelectDrill-333650bd.js.map +0 -1
  1781. package/es/useSelection-48f572e5.js +0 -181
  1782. package/es/useSelection-48f572e5.js.map +0 -1
  1783. package/es/useSelection-a098b3af.js +0 -241
  1784. package/es/useSelection-a098b3af.js.map +0 -1
  1785. package/es/useTabBar-4b318196.js +0 -152
  1786. package/es/useTabBar-4b318196.js.map +0 -1
  1787. package/es/useTestId-f5aed66c.js +0 -21
  1788. package/es/useTestId-f5aed66c.js.map +0 -1
  1789. package/es/useTheme-e7ea1253.js +0 -19
  1790. package/es/useTheme-e7ea1253.js.map +0 -1
  1791. package/es/useThemeInterpolations-66ce2e56.js +0 -31
  1792. package/es/useThemeInterpolations-66ce2e56.js.map +0 -1
  1793. package/es/useTooltip-30a4a4fc.js +0 -51
  1794. package/es/useTooltip-30a4a4fc.js.map +0 -1
  1795. package/es/useTooltipControlled-eafec36e.js +0 -454
  1796. package/es/useTooltipControlled-eafec36e.js.map +0 -1
  1797. package/es/useTranslationBundle-e8a8c4f3.js +0 -29
  1798. package/es/useTranslationBundle-e8a8c4f3.js.map +0 -1
  1799. package/es/useUser-fb09e212.js +0 -19
  1800. package/es/useUser-fb09e212.js.map +0 -1
  1801. package/es/useVisEvents-e31dcd17.js +0 -153
  1802. package/es/useVisEvents-e31dcd17.js.map +0 -1
  1803. package/es/withDirectionIcon-6eefb71a.js +0 -14
  1804. package/es/withDirectionIcon-6eefb71a.js.map +0 -1
@@ -0,0 +1,2000 @@
1
+ /* @oracle/oraclejet-preact: undefined */
2
+ 'use strict';
3
+
4
+ var jsxRuntime = require('preact/jsx-runtime');
5
+ var TrackResizeContainer = require('./TrackResizeContainer-cd09fc87.js');
6
+ var UNSAFE_Diagram_themes_DiagramStyles_css = require('./UNSAFE_Diagram/themes/DiagramStyles.css.js');
7
+ var useResizeObserver = require('./useResizeObserver-819b1236.js');
8
+ var hooks = require('preact/hooks');
9
+ var accUtils = require('./accUtils-50f26093.js');
10
+ var classNames = require('./classNames-c14c6ef3.js');
11
+ var useTranslationBundle = require('./useTranslationBundle-9da032d6.js');
12
+ var useUser = require('./useUser-a6d15333.js');
13
+ var layoutUtils = require('./layoutUtils-56b6111c.js');
14
+ var useVisHover = require('./useVisHover-ad36112d.js');
15
+ var mergeProps = require('./mergeProps-e3da7237.js');
16
+ var useDatatip = require('./useDatatip-ff0c568c.js');
17
+ var util = require('./util-28dd0315.js');
18
+ var useTextDimensions = require('./useTextDimensions-0eabedd5.js');
19
+ var useSelection = require('./useSelection-8f71759b.js');
20
+ var useVisTouchResponse = require('./useVisTouchResponse-fb9c4e8f.js');
21
+ var stringUtils = require('./stringUtils-4e4a6b2b.js');
22
+
23
+ const ZOOM_TO_FIT_PADDING = 20;
24
+ /**
25
+ * Returns the pan properties for the diagram.
26
+ */
27
+ function getPanProps(props, contentBounds) {
28
+ return {
29
+ panning: props.panning ? props.panning : 'off',
30
+ panDirection: props.panDirection ? props.panDirection : 'any',
31
+ centerX: props.centerX !== undefined ? props.centerX : contentBounds.w / 2 + contentBounds.x,
32
+ centerY: props.centerY !== undefined ? props.centerY : contentBounds.h / 2 + contentBounds.y,
33
+ onPan: props.onPan
34
+ };
35
+ }
36
+ /**
37
+ * Returns the zoom properties for the diagram.
38
+ */
39
+ function getZoomProps(props, width, height, contentBounds) {
40
+ const minZoom = props.minZoom ? props.minZoom : getZoomToFitZoom(width, height, contentBounds);
41
+ const maxZoom = props.maxZoom !== undefined ? props.maxZoom : 1;
42
+ const zoom = props.zoomValue ? props.zoomValue : getZoomToFitZoom(width, height, contentBounds);
43
+ return {
44
+ zooming: props.zooming ? props.zooming : 'off',
45
+ // default value of 0 indicates zoom-to-fit level
46
+ minZoom: minZoom,
47
+ maxZoom: maxZoom,
48
+ // zoom value of 0 will default to zoom to fit
49
+ zoomValue: constrainZoom(zoom, minZoom, maxZoom),
50
+ onZoom: props.onZoom
51
+ };
52
+ }
53
+ /**
54
+ * Constructs the json object to be passed into the layout function
55
+ */
56
+ function constructLayoutJSON(nodes, nodeItems, linkItems, dimensions, width, height, getTextDimensions) {
57
+ const labelDims = new Map();
58
+ const nodeKeys = Array.from(nodeItems.keys());
59
+ for (const id of nodeKeys) {
60
+ const item = nodeItems.get(id);
61
+ if (item && getTextDimensions && item.label) {
62
+ const label = item.label;
63
+ const fontProps = _getFontProps(item.labelStyle);
64
+ labelDims.set(id, getTextDimensions(label, fontProps));
65
+ }
66
+ }
67
+ const linkKeys = Array.from(linkItems.keys());
68
+ for (const id of linkKeys) {
69
+ const item = linkItems.get(id);
70
+ if (item && getTextDimensions && item.label) {
71
+ const label = item.label;
72
+ const fontProps = _getFontProps(item.labelStyle);
73
+ labelDims.set(id, getTextDimensions(label, fontProps));
74
+ }
75
+ }
76
+ const getLabelDimensions = function (data) {
77
+ return labelDims.get(data.id);
78
+ };
79
+ const getNodeDimensions = function (data) {
80
+ for (let i = 0; i < nodes.length; i++) {
81
+ if (data.id === nodes[i].id) {
82
+ return dimensions[i];
83
+ }
84
+ }
85
+ return dimensions[0];
86
+ };
87
+ return {
88
+ layoutJSON: {
89
+ getNodeDimensions: getNodeDimensions,
90
+ getLabelDimensions: getLabelDimensions,
91
+ componentSize: {
92
+ width: width,
93
+ height: height
94
+ }
95
+ },
96
+ labelDims: labelDims
97
+ };
98
+ }
99
+ /**
100
+ * Deconstructs the output of the layout function
101
+ */
102
+ function deconstructLayoutJSON(layoutJSON, nodeData, linkData) {
103
+ const nodes = layoutJSON.nodes;
104
+ const links = layoutJSON.links;
105
+ const positions = [];
106
+ const nodeLabelPos = [];
107
+ const linkLabelPos = [];
108
+ let hasNodeLabels = false;
109
+ let hasLinkLabels = false;
110
+ let node, link;
111
+ for (let i = 0; i < nodeData.length; i++) {
112
+ node = nodes[nodeData[i].id];
113
+ positions.push(node.position);
114
+ if (node.label)
115
+ hasNodeLabels = true;
116
+ nodeLabelPos.push(node.label);
117
+ }
118
+ if (links) {
119
+ for (let i = 0; i < linkData.length; i++) {
120
+ link = links[linkData[i].id];
121
+ if (link.label)
122
+ hasLinkLabels = true;
123
+ linkLabelPos.push(link.label);
124
+ }
125
+ }
126
+ return {
127
+ nodePoints: positions,
128
+ nodeLabelPos: hasNodeLabels ? nodeLabelPos : undefined,
129
+ linkLabelPos: hasLinkLabels ? linkLabelPos : undefined
130
+ };
131
+ }
132
+ /**
133
+ * Merges the node points into the dimensions
134
+ */
135
+ function mergeDimensions(dimensions, nodePoints) {
136
+ const newBounds = [];
137
+ for (let i = 0; i < dimensions.length; i++) {
138
+ const point = nodePoints[i];
139
+ const dim = dimensions[i];
140
+ newBounds.push({ x: point.x, y: point.y, w: dim.w, h: dim.h });
141
+ }
142
+ return newBounds;
143
+ }
144
+ /**
145
+ * Returns the text for the diagram datatip.
146
+ */
147
+ function getDatatipContent(nodesMap, linksMap, focusedItem, hoveredItem, datatip) {
148
+ let itemInfo;
149
+ const isPointerActive = hoveredItem?.isCurrent;
150
+ if (isPointerActive && hoveredItem.id != null) {
151
+ itemInfo = hoveredItem;
152
+ }
153
+ if (focusedItem && focusedItem.isCurrent) {
154
+ itemInfo = focusedItem;
155
+ }
156
+ if (itemInfo && datatip) {
157
+ return datatip(itemInfo.isNode
158
+ ? { data: nodesMap.get(itemInfo.id), type: 'node' }
159
+ : { data: linksMap.get(itemInfo.id), type: 'link' });
160
+ }
161
+ if (itemInfo) {
162
+ const text = (itemInfo.isNode ? nodesMap.get(itemInfo.id) : linksMap.get(itemInfo.id))?.accessibleLabel;
163
+ return {
164
+ content: text
165
+ };
166
+ }
167
+ return;
168
+ }
169
+ /**
170
+ * Creates a map with key id and value node or link data
171
+ */
172
+ function createItemMap(items) {
173
+ const itemIdToDataMap = new Map();
174
+ const itemIdToIndexMap = new Map();
175
+ const itemIndexToIdMap = new Map();
176
+ for (let i = 0; i < items.length; i++) {
177
+ itemIdToDataMap.set(items[i].id, items[i]);
178
+ itemIdToIndexMap.set(items[i].id, i);
179
+ itemIndexToIdMap.set(i, items[i].id);
180
+ }
181
+ return {
182
+ itemIdToDataMap,
183
+ itemIdToIndexMap,
184
+ itemIndexToIdMap
185
+ };
186
+ }
187
+ /**
188
+ * Filter out links with no start or end nodes
189
+ */
190
+ function filterLinksWithNoEndNodes(links, nodesMap) {
191
+ const newLinks = [];
192
+ for (let i = 0; i < links.length; i++) {
193
+ const link = links[i];
194
+ if (nodesMap.get(link.startNode) && nodesMap.get(link.endNode)) {
195
+ newLinks.push(link);
196
+ }
197
+ }
198
+ return newLinks;
199
+ }
200
+ /**
201
+ * Pulls out the dimensions from an array of bounds
202
+ */
203
+ function getDimensionsFromBounds(bounds) {
204
+ const dims = [];
205
+ for (let i = 0; i < bounds.length; i++) {
206
+ dims.push({ w: bounds[i].w, h: bounds[i].h });
207
+ }
208
+ return dims;
209
+ }
210
+ /**
211
+ * Returns the center position of the node or link
212
+ * For links, draws a straight line between the centers of the start/end node
213
+ * and returns the center of that line
214
+ */
215
+ function getFocusedItemBounds(focusedItemInfo, bounds, links, nodeIdToIndexMap, linkIdToIndexMap) {
216
+ if (focusedItemInfo.isNode) {
217
+ const idx = nodeIdToIndexMap.get(focusedItemInfo.id);
218
+ // Return the first element if cannot find the Node index
219
+ return bounds[idx || 0];
220
+ }
221
+ else {
222
+ // Center of a straight line between start/end node centers
223
+ const link = links[linkIdToIndexMap.get(focusedItemInfo.id) || 0];
224
+ const startNB = bounds[nodeIdToIndexMap.get(link.startNode) || 0];
225
+ const endNB = bounds[nodeIdToIndexMap.get(link.endNode) || 0];
226
+ const startNCenter = { x: startNB.x + startNB.w / 2, y: startNB.y + startNB.h / 2 };
227
+ const endNCenter = { x: endNB.x + endNB.w / 2, y: endNB.y + endNB.h / 2 };
228
+ const minX = Math.min(startNCenter.x, endNCenter.x);
229
+ const minY = Math.min(startNCenter.y, endNCenter.y);
230
+ return {
231
+ x: minX,
232
+ y: minY,
233
+ w: Math.abs(startNCenter.x - endNCenter.x),
234
+ h: Math.abs(startNCenter.y - endNCenter.y)
235
+ };
236
+ }
237
+ }
238
+ /**
239
+ * Combines the node and link ids into one array
240
+ */
241
+ function combineIds(nodeIds, linkIds) {
242
+ const combinedIds = [];
243
+ if (nodeIds) {
244
+ for (let i = 0; i < nodeIds.length; i++) {
245
+ combinedIds.push(nodeIds[i]);
246
+ }
247
+ }
248
+ if (linkIds) {
249
+ for (let i = 0; i < linkIds.length; i++) {
250
+ combinedIds.push(linkIds[i]);
251
+ }
252
+ }
253
+ return combinedIds;
254
+ }
255
+ /**
256
+ * Returns the bounds of the diagram content
257
+ */
258
+ function getContentBounds(nodeBounds, labelBounds) {
259
+ if (nodeBounds.length === 0)
260
+ return { x: 0, w: Infinity, y: 0, h: Infinity };
261
+ let minX = Infinity;
262
+ let minY = Infinity;
263
+ let maxX = -Infinity;
264
+ let maxY = -Infinity;
265
+ let dims;
266
+ for (let i = 0; i < nodeBounds.length; i++) {
267
+ dims = nodeBounds[i];
268
+ minX = dims.x < minX ? dims.x : minX;
269
+ minY = dims.y < minY ? dims.y : minY;
270
+ maxX = dims.x + dims.w > maxX ? dims.x + dims.w : maxX;
271
+ maxY = dims.y + dims.h > maxY ? dims.y + dims.h : maxY;
272
+ }
273
+ if (labelBounds) {
274
+ minX = labelBounds.x < minX ? labelBounds.x : minX;
275
+ minY = labelBounds.y < minY ? labelBounds.y : minY;
276
+ maxX = labelBounds.x + labelBounds.w > maxX ? labelBounds.x + labelBounds.w : maxX;
277
+ maxY = labelBounds.y + labelBounds.h > maxY ? labelBounds.y + labelBounds.h : maxY;
278
+ }
279
+ return { x: minX, w: maxX - minX, y: minY, h: maxY - minY };
280
+ }
281
+ /**
282
+ * Returns the label bounds
283
+ */
284
+ function getAllLabelBounds(labelDims, nodes, links, nodeLabelPos = [], linkLabelPos = [], isRTL) {
285
+ if (nodeLabelPos.length === 0 && linkLabelPos.length === 0)
286
+ return undefined;
287
+ let minX = Infinity;
288
+ let minY = Infinity;
289
+ let maxX = -Infinity;
290
+ let maxY = -Infinity;
291
+ let dims, label;
292
+ for (let i = 0; i < nodeLabelPos.length; i++) {
293
+ label = nodeLabelPos[i];
294
+ if (!label)
295
+ continue;
296
+ dims = getLabelBounds(label, labelDims.get(nodes[i].id), isRTL);
297
+ minX = dims.x < minX ? dims.x : minX;
298
+ minY = dims.y < minY ? dims.y : minY;
299
+ maxX = dims.x + dims.w > maxX ? dims.x + dims.w : maxX;
300
+ maxY = dims.y + dims.h > maxY ? dims.y + dims.h : maxY;
301
+ }
302
+ for (let i = 0; i < linkLabelPos.length; i++) {
303
+ label = linkLabelPos[i];
304
+ if (!label)
305
+ continue;
306
+ dims = getLabelBounds(label, labelDims.get(links[i].id), isRTL);
307
+ minX = dims.x < minX ? dims.x : minX;
308
+ minY = dims.y < minY ? dims.y : minY;
309
+ maxX = dims.x + dims.w > maxX ? dims.x + dims.w : maxX;
310
+ maxY = dims.y + dims.h > maxY ? dims.y + dims.h : maxY;
311
+ }
312
+ return { x: minX, w: maxX - minX, y: minY, h: maxY - minY };
313
+ }
314
+ function getLabelBounds(label, dims, isRTL) {
315
+ const labelPos = getLabelPosition(dims, label, isRTL);
316
+ const isRotating = label.rotationAngle;
317
+ if (!isRotating) {
318
+ return { x: labelPos.x, y: labelPos.y, w: dims.width, h: dims.height };
319
+ }
320
+ else {
321
+ // Find the 4 corners of the label bounds relative to the rotation point
322
+ const rotationPoint = label.rotationPoint
323
+ ? label.rotationPoint
324
+ : { x: dims.width / 2, y: dims.height / 2 };
325
+ const angle = label.rotationAngle;
326
+ const topLeft = getCoordsRelToRotPoint({ x: 0, y: 0 }, rotationPoint);
327
+ const topRight = getCoordsRelToRotPoint({ x: dims.width, y: 0 }, rotationPoint);
328
+ const bottomLeft = getCoordsRelToRotPoint({ x: 0, y: dims.height }, rotationPoint);
329
+ const bottomRight = getCoordsRelToRotPoint({ x: dims.width, y: dims.height }, rotationPoint);
330
+ const rotTopLeft = rotatePoint(topLeft, angle);
331
+ const rotBotLeft = rotatePoint(bottomLeft, angle);
332
+ const rotTopRight = rotatePoint(topRight, angle);
333
+ const rotBotRight = rotatePoint(bottomRight, angle);
334
+ const points = [rotTopLeft, rotBotLeft, rotTopRight, rotBotRight].map((pos) => {
335
+ return {
336
+ x: pos.x + labelPos.x + rotationPoint.x,
337
+ y: pos.y + labelPos.y + rotationPoint.y
338
+ };
339
+ });
340
+ return getBoundsFromPoints(points);
341
+ }
342
+ }
343
+ function getCoordsRelToRotPoint(labelPoint, rotPoint) {
344
+ return { x: labelPoint.x - rotPoint.x, y: labelPoint.y - rotPoint.y };
345
+ }
346
+ function rotatePoint(pos, angle) {
347
+ return {
348
+ x: pos.x * Math.cos(angle) - pos.y * Math.sin(angle),
349
+ y: pos.x * Math.sin(angle) + pos.y * Math.cos(angle)
350
+ };
351
+ }
352
+ function getBoundsFromPoints(points) {
353
+ let minX = points[0].x;
354
+ let minY = points[0].y;
355
+ let maxX = points[0].x;
356
+ let maxY = points[0].y;
357
+ for (let i = 1; i < points.length; i++) {
358
+ const point = points[i];
359
+ if (point.x < minX)
360
+ minX = point.x;
361
+ else if (point.x > maxX)
362
+ maxX = point.x;
363
+ if (point.y < minY)
364
+ minY = point.y;
365
+ else if (point.y > maxY)
366
+ maxY = point.y;
367
+ }
368
+ return {
369
+ x: minX,
370
+ y: minY,
371
+ w: maxX - minX,
372
+ h: maxY - minY
373
+ };
374
+ }
375
+ /**
376
+ * Returns the position of the label
377
+ * @param dimensions
378
+ * @param positionProps
379
+ * @returns position of the label
380
+ */
381
+ function getLabelPosition(dimensions, positionProps, isRTL) {
382
+ const position = positionProps.position;
383
+ const hAlign = positionProps.hAlign ? positionProps.hAlign : isRTL ? 'right' : 'left';
384
+ const vAlign = positionProps.vAlign;
385
+ let x, y;
386
+ if (hAlign === 'center') {
387
+ x = position.x - dimensions.width / 2;
388
+ }
389
+ else if (hAlign === 'right') {
390
+ x = position.x - dimensions.width;
391
+ }
392
+ else {
393
+ x = position.x;
394
+ }
395
+ if (vAlign === 'middle') {
396
+ y = position.y - dimensions.height / 2;
397
+ }
398
+ else if (vAlign === 'bottom') {
399
+ y = position.y - dimensions.height;
400
+ }
401
+ else if (vAlign === 'baseline') {
402
+ y = position.y + dimensions.y;
403
+ }
404
+ else {
405
+ y = position.y;
406
+ }
407
+ return {
408
+ x: x,
409
+ y: y
410
+ };
411
+ }
412
+ /**
413
+ * Converts centerX,Y coordinates to panX,Y coordinates
414
+ */
415
+ function centerXYToPanXY(centerX, centerY, zoom, width, height) {
416
+ return {
417
+ panX: width / 2 - centerX * zoom,
418
+ panY: height / 2 - centerY * zoom
419
+ };
420
+ }
421
+ /**
422
+ * Converts panX,Y coordinates to centerX,Y coordinates
423
+ */
424
+ function panXYToCenterXY(panX, panY, zoom, width, height) {
425
+ return {
426
+ centerX: (width / 2 - panX) / zoom,
427
+ centerY: (height / 2 - panY) / zoom
428
+ };
429
+ }
430
+ /**
431
+ * Compares if two ItemInfo are equal
432
+ */
433
+ function isEqualItem(item1, item2) {
434
+ return item1?.id === item2?.id && item1?.isNode === item2?.isNode;
435
+ }
436
+ /**
437
+ * Returns the item info of the data-oj-node or data-oj-link attribute for a given element.
438
+ */
439
+ function getNavigableInfo(element, rootElementRef) {
440
+ let isNode = false;
441
+ let elem = element;
442
+ let navigableId;
443
+ while (!navigableId) {
444
+ navigableId = elem.dataset['node'];
445
+ if (navigableId) {
446
+ isNode = true;
447
+ }
448
+ else {
449
+ navigableId = elem.dataset['link'];
450
+ }
451
+ if (!navigableId) {
452
+ if (elem.parentElement && elem.parentElement !== rootElementRef?.current) {
453
+ elem = elem.parentElement;
454
+ }
455
+ else {
456
+ break;
457
+ }
458
+ }
459
+ }
460
+ return {
461
+ id: navigableId,
462
+ isNode: isNode
463
+ };
464
+ }
465
+ /**
466
+ * Returns the aria label
467
+ */
468
+ function getItemAriaLabel(translations, supportsSelection, isSelected, accessibleLabel) {
469
+ return accUtils.generateAriaLabel(translations, accessibleLabel || '', {
470
+ isSelected: !supportsSelection ? undefined : isSelected
471
+ });
472
+ }
473
+ /**
474
+ * Returns the zoom to fit zoom level
475
+ */
476
+ function getZoomToFitZoom(width, height, contentBounds) {
477
+ const zoomX = (width - 2 * ZOOM_TO_FIT_PADDING) / contentBounds.w;
478
+ const zoomY = (height - 2 * ZOOM_TO_FIT_PADDING) / contentBounds.h;
479
+ return Math.min(zoomX, zoomY);
480
+ }
481
+ /**
482
+ * Constrains the zoom level
483
+ */
484
+ function constrainZoom(zoom, minZoom, maxZoom) {
485
+ let newZoom = Math.max(minZoom, zoom);
486
+ newZoom = Math.min(maxZoom, newZoom);
487
+ return newZoom;
488
+ }
489
+ /**
490
+ * Returns the font props for a node or link
491
+ */
492
+ function _getFontProps(styles) {
493
+ const fontProps = {};
494
+ if (!styles)
495
+ return fontProps;
496
+ if (styles.fontFamily)
497
+ fontProps.fontFamily = styles.fontFamily;
498
+ if (styles.fontSize)
499
+ fontProps.fontSize = styles.fontSize;
500
+ if (styles.fontStyle)
501
+ fontProps.fontStyle = styles.fontStyle;
502
+ if (styles.fontWeight)
503
+ fontProps.fontWeight = styles.fontWeight;
504
+ return fontProps;
505
+ }
506
+ /**
507
+ * Returns the panX, panY, and zoom when zooming and centering an item
508
+ */
509
+ function zoomAndCenterItemFromInfo(info, linkIdToDataMap, bounds, nodeIdToIndex, width, height, maxZoom) {
510
+ const isNode = info.isNode;
511
+ let totalBounds;
512
+ if (isNode) {
513
+ const nodeIndex = nodeIdToIndex.get(info.id);
514
+ totalBounds = bounds[nodeIndex];
515
+ }
516
+ else {
517
+ const link = linkIdToDataMap.get(info.id);
518
+ const startNodeBounds = bounds[nodeIdToIndex.get(link.startNode)];
519
+ const endNodeBounds = bounds[nodeIdToIndex.get(link.endNode)];
520
+ const minX = Math.min(startNodeBounds.x, endNodeBounds.x);
521
+ const minY = Math.min(startNodeBounds.y, endNodeBounds.y);
522
+ const maxX = Math.max(startNodeBounds.x + startNodeBounds.w, endNodeBounds.x + startNodeBounds.w);
523
+ const maxY = Math.max(startNodeBounds.y + startNodeBounds.h, endNodeBounds.y + endNodeBounds.h);
524
+ totalBounds = { x: minX, y: minY, w: maxX - minX, h: maxY - minY };
525
+ }
526
+ return getPanZoomToCenterNode(totalBounds, maxZoom, width, height);
527
+ }
528
+ /**
529
+ * Returns the pan and zoom values in order
530
+ * to center a node or link
531
+ */
532
+ function getPanZoomToCenterNode(bounds, maxZoom, width, height) {
533
+ const zoomX = (width - 2 * ZOOM_TO_FIT_PADDING) / bounds.w;
534
+ const zoomY = (height - 2 * ZOOM_TO_FIT_PADDING) / bounds.h;
535
+ const zoom = Math.min(zoomX, zoomY, maxZoom);
536
+ const cX = bounds.w / 2 + bounds.x;
537
+ const cY = bounds.h / 2 + bounds.y;
538
+ return { centerX: cX, centerY: cY, zoom: zoom };
539
+ }
540
+
541
+ const DiagramNodeElement = ({ id, state, previousState, position, activeId, nodeRenderer, onNodeSizeChanged, nodeIndex, data, accessibleLabel, isDimmed, supportsSelection }) => {
542
+ const { nodeStyles, dimmedItemStyle } = UNSAFE_Diagram_themes_DiagramStyles_css.itemStyles;
543
+ const context = {
544
+ state: state,
545
+ previousState: previousState,
546
+ data: data
547
+ };
548
+ const translations = useTranslationBundle.useTranslationBundle('@oracle/oraclejet-preact');
549
+ const ref = hooks.useRef(null);
550
+ // TODO JET-62472 change to one resize observer function
551
+ const optionsRef = hooks.useRef({ box: 'border-box' });
552
+ useResizeObserver.useResizeObserver(ref, hooks.useCallback((entry) => {
553
+ const boxSize = entry.borderBoxSize;
554
+ const width = boxSize[0].inlineSize;
555
+ const height = boxSize[0].blockSize;
556
+ onNodeSizeChanged(width, height, nodeIndex);
557
+ }, [nodeIndex, onNodeSizeChanged]), optionsRef.current);
558
+ return (jsxRuntime.jsx("div", { ref: ref, class: classNames.classNames([nodeStyles, isDimmed ? dimmedItemStyle : undefined]), "data-node": id, role: "img", "aria-label": getItemAriaLabel(translations, supportsSelection, state.selected, accessibleLabel), style: {
559
+ top: position.y,
560
+ left: position.x
561
+ }, id: state.focused || state.hovered ? activeId : undefined, children: nodeRenderer(context) }, id));
562
+ };
563
+
564
+ function DiagramNodeLayer({ nodes, states, previousStates, nodeRenderer, nodeBounds, onNodeSizeChanged, supportsSelection }) {
565
+ return (jsxRuntime.jsx("div", { class: UNSAFE_Diagram_themes_DiagramStyles_css.layerStyles, children: nodes.map((node, i) => {
566
+ // this is for initial render before the layout function so render all nodes at 0,0
567
+ const position = nodeBounds && nodeBounds[i] ? { x: nodeBounds[i].x, y: nodeBounds[i].y } : { x: 0, y: 0 };
568
+ const state = {
569
+ selected: states.selectedNodeIds.includes(node.id),
570
+ focused: states.focusedId === node.id,
571
+ hovered: states.hoveredId === node.id,
572
+ zoom: states.zoom
573
+ };
574
+ const previousState = {
575
+ selected: previousStates.selectedNodeIds.includes(node.id),
576
+ focused: previousStates.focusedId === node.id,
577
+ hovered: previousStates.hoveredId === node.id,
578
+ zoom: previousStates.zoom
579
+ };
580
+ return (jsxRuntime.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 }));
581
+ }) }));
582
+ }
583
+
584
+ const DiagramLinkElement = ({ id, state, previousState, activeId, data, linkRenderer, accessibleLabel, isDimmed, supportsSelection }) => {
585
+ const translations = useTranslationBundle.useTranslationBundle('@oracle/oraclejet-preact');
586
+ const { dimmedItemStyle, linkStyles } = UNSAFE_Diagram_themes_DiagramStyles_css.itemStyles;
587
+ const context = {
588
+ state: state,
589
+ previousState: previousState,
590
+ data: data
591
+ };
592
+ return (jsxRuntime.jsx("g", { id: state.focused ? activeId : undefined, "aria-label": getItemAriaLabel(translations, supportsSelection, state.selected, accessibleLabel), "data-link": id, role: "img", class: classNames.classNames([linkStyles, isDimmed && dimmedItemStyle]), children: linkRenderer(context) }, id));
593
+ };
594
+
595
+ function DiagramLinkLayer({ links, states, previousStates, linkRenderer, width, height, supportsSelection }) {
596
+ return (jsxRuntime.jsx("svg", { class: UNSAFE_Diagram_themes_DiagramStyles_css.layerStyles, width: width, height: height, children: links.map((link) => {
597
+ const state = {
598
+ selected: states.selectedLinkIds.includes(link.id),
599
+ focused: states.focusedId === link.id,
600
+ hovered: states.hoveredId === link.id,
601
+ zoom: states.zoom
602
+ };
603
+ const previousState = {
604
+ selected: previousStates.selectedLinkIds.includes(link.id),
605
+ focused: previousStates.focusedId === link.id,
606
+ hovered: previousStates.hoveredId === link.id,
607
+ zoom: previousStates.zoom
608
+ };
609
+ return (jsxRuntime.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 }));
610
+ }) }));
611
+ }
612
+
613
+ const DiagramLabel = ({ text, position, styles, dimensions, isRTL }) => {
614
+ const { labelStyle, labelBorderStyle } = UNSAFE_Diagram_themes_DiagramStyles_css.labelStyles;
615
+ const labelPosition = getLabelPosition(dimensions, position, isRTL);
616
+ const labelRotation = getLabelRotation(position);
617
+ return (jsxRuntime.jsx("div", { class: classNames.classNames([labelStyle, styles && styles.borderColor && labelBorderStyle]), style: {
618
+ top: labelPosition.y,
619
+ left: labelPosition.x,
620
+ ...styles,
621
+ ...labelRotation
622
+ }, children: text }));
623
+ };
624
+ /**
625
+ * Returns the label rotation props
626
+ * @param position
627
+ * @returns rotation props
628
+ */
629
+ function getLabelRotation(position) {
630
+ const rotationAngle = position.rotationAngle;
631
+ const rotationPoint = position.rotationPoint;
632
+ const rotation = {};
633
+ if (rotationAngle) {
634
+ rotation['transform'] = `rotate(${rotationAngle}deg)`;
635
+ }
636
+ if (rotationPoint) {
637
+ rotation['transform-origin'] = `${rotationPoint.x}px ${rotationPoint.y}px`;
638
+ }
639
+ return rotation;
640
+ }
641
+
642
+ function DiagramLabelLayer({ labelPosition, itemProps, labelDimensions }) {
643
+ const { direction } = useUser.useUser();
644
+ return (jsxRuntime.jsx("div", { class: UNSAFE_Diagram_themes_DiagramStyles_css.layerStyles, children: itemProps.map((item, i) => {
645
+ if (item.label && labelPosition[i]) {
646
+ return (jsxRuntime.jsx(DiagramLabel, { styles: item.labelStyle, text: item.label, position: labelPosition[i], dimensions: labelDimensions.get(item.id), isRTL: direction === 'rtl' }));
647
+ }
648
+ return undefined;
649
+ }) }));
650
+ }
651
+
652
+ function DiagramLayers({ nodes, links, nodeRenderer, linkRenderer, states, previousStates, nodeBounds, onNodeSizeChanged, width, height, nodeLabelPositions, linkLabelPositions, labelDimensions, supportsSelection }) {
653
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [links.length > 0 && linkRenderer && width !== Infinity && (jsxRuntime.jsx(DiagramLinkLayer, { links: links, states: states, previousStates: previousStates, linkRenderer: linkRenderer, width: width, height: height, supportsSelection: supportsSelection })), jsxRuntime.jsx(DiagramNodeLayer, { nodes: nodes, nodeBounds: nodeBounds, states: states, previousStates: previousStates, nodeRenderer: nodeRenderer, onNodeSizeChanged: onNodeSizeChanged, supportsSelection: supportsSelection }), labelDimensions ? (jsxRuntime.jsxs("div", { children: [nodeLabelPositions ? (jsxRuntime.jsx(DiagramLabelLayer, { labelPosition: nodeLabelPositions, itemProps: nodes, labelDimensions: labelDimensions })) : undefined, links && linkLabelPositions ? (jsxRuntime.jsx(DiagramLabelLayer, { labelPosition: linkLabelPositions, itemProps: links, labelDimensions: labelDimensions })) : undefined] })) : undefined] }));
654
+ }
655
+
656
+ function DiagramPanZoomContainer({ centerX, centerY, children, zoom, width, height }) {
657
+ const panValues = centerXYToPanXY(centerX, centerY, zoom, width, height);
658
+ return (jsxRuntime.jsx("div", { class: UNSAFE_Diagram_themes_DiagramStyles_css.panZoomStyles, style: {
659
+ //TODO JET-62471 look at using matrices or both in transform instead
660
+ translate: `${panValues.panX}px ${panValues.panY}px`,
661
+ transform: `scale(${zoom})`
662
+ }, children: children }));
663
+ }
664
+
665
+ /**
666
+ * @license
667
+ * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
668
+ * The Universal Permissive License (UPL), Version 1.0
669
+ * as shown at https://oss.oracle.com/licenses/upl/
670
+ * @ignore
671
+ */
672
+ /**
673
+ * Returns the node data based on node info in a diagram.
674
+ * @param itemInfo
675
+ * @returns
676
+ */
677
+ function getNodeDetailFromInfo(itemInfo, nodes) {
678
+ let node;
679
+ for (let i = 0; i < nodes.length; i++) {
680
+ node = nodes[i];
681
+ if (itemInfo.id === node.id) {
682
+ return node;
683
+ }
684
+ }
685
+ return undefined;
686
+ }
687
+ /**
688
+ * Returns the link data based on link info in a diagram.
689
+ * @param itemInfo
690
+ * @returns
691
+ */
692
+ function getLinkDetailFromInfo(itemInfo, links) {
693
+ let link;
694
+ for (let i = 0; i < links.length; i++) {
695
+ link = links[i];
696
+ if (itemInfo.id === link.id) {
697
+ return link;
698
+ }
699
+ }
700
+ return undefined;
701
+ }
702
+ /**
703
+ * Creates a map with key node id and value node bounds
704
+ */
705
+ function createNodeBoundsMap(nodes, bounds) {
706
+ const nodeBounds = new Map();
707
+ for (let i = 0; i < nodes.length; i++) {
708
+ nodeBounds.set(nodes[i].id, bounds[i]);
709
+ }
710
+ return nodeBounds;
711
+ }
712
+ /**
713
+ * Utility method that adds sorting attributes of each link to an array
714
+ */
715
+ function addSortingAttributes(node, listOfLinks, nodes, nodeBounds) {
716
+ let angle, distance, direction;
717
+ const linkDetail = [];
718
+ for (let i = 0; i < listOfLinks.length; i++) {
719
+ const link = listOfLinks[i];
720
+ angle = _getClockwiseAngle(node, link, nodes, nodeBounds);
721
+ distance = _getNodesDistance(link, nodes, nodeBounds);
722
+ direction = _getLinkDirection(node, link);
723
+ linkDetail.push({ id: link.id, angle: angle, distance: distance, direction: direction });
724
+ }
725
+ return linkDetail;
726
+ }
727
+ /**
728
+ * Returns a function that compares two link around a given node
729
+ * The links are analyzed by angle, distance from the node and direction. The sorting attributes are added to the links before sorting.
730
+ */
731
+ function getLinkComparator() {
732
+ return (link1, link2) => {
733
+ const { angle: linkAngle1, distance: linkDistance1, direction: linkDirection1 } = link1;
734
+ const { angle: linkAngle2, distance: linkDistance2, direction: linkDirection2 } = link2;
735
+ let res = -1;
736
+ if (!_anglesAreEqualWithinTolerance(linkAngle1, linkAngle2) && linkAngle1 > linkAngle2) {
737
+ res = 1;
738
+ }
739
+ else if (_anglesAreEqualWithinTolerance(linkAngle1, linkAngle2)) {
740
+ //check distance and direction
741
+ if (linkDistance1 > linkDistance2) {
742
+ res = 1;
743
+ }
744
+ else if (linkDistance2 == linkDistance1 && linkDirection1 > linkDirection2) {
745
+ //outgoing to ingoing
746
+ res = 1;
747
+ }
748
+ else if (linkDistance2 == linkDistance1 && linkDirection1 == linkDirection2) {
749
+ res = 0;
750
+ }
751
+ }
752
+ return res;
753
+ };
754
+ }
755
+ /**
756
+ * Returns navigable links for a given node
757
+ */
758
+ function getNavigableLinksForNodeId(nodeId, listOfLinks) {
759
+ const links = [];
760
+ listOfLinks.forEach((link) => {
761
+ const startId = link.startNode;
762
+ const endId = link.endNode;
763
+ if (startId == nodeId || endId == nodeId)
764
+ links.push(link);
765
+ });
766
+ return links;
767
+ }
768
+ /**
769
+ * Get the clockwise angle for the link given node as a center
770
+ */
771
+ function _getClockwiseAngle(node, link, nodes, nodeBounds) {
772
+ //find opposite node
773
+ let currNode;
774
+ let startNode = nodes[0];
775
+ let endNode = nodes[0];
776
+ for (let i = 0; i < nodes.length; i++) {
777
+ currNode = nodes[i];
778
+ if (currNode.id === link.startNode) {
779
+ startNode = currNode;
780
+ }
781
+ else if (currNode.id === link.endNode) {
782
+ endNode = currNode;
783
+ }
784
+ }
785
+ const oppositeNode = node.id == startNode.id ? endNode : startNode;
786
+ const p1 = _getNodeCenter(node, nodeBounds);
787
+ const p2 = _getNodeCenter(oppositeNode, nodeBounds);
788
+ let angle = Math.atan2(p2.y - p1.y, p2.x - p1.x);
789
+ angle = angle < 0 ? angle + Math.PI * 2 : angle;
790
+ return angle;
791
+ }
792
+ /**
793
+ * Get the distance between start and end nodes for the given link
794
+ */
795
+ function _getNodesDistance(link, nodes, nodeBounds) {
796
+ let currNode;
797
+ let startNode = nodes[0];
798
+ let endNode = nodes[0];
799
+ for (let i = 0; i < nodes.length; i++) {
800
+ currNode = nodes[i];
801
+ if (currNode.id === link.startNode) {
802
+ startNode = currNode;
803
+ }
804
+ else if (currNode.id === link.endNode) {
805
+ endNode = currNode;
806
+ }
807
+ }
808
+ const p1 = _getNodeCenter(startNode, nodeBounds);
809
+ const p2 = _getNodeCenter(endNode, nodeBounds);
810
+ return Math.sqrt(Math.pow(p2.x - p1.x, 2) + Math.pow(p2.y - p1.y, 2));
811
+ }
812
+ /**
813
+ * Get link direction for the given node. 1 if the node is the end node
814
+ * and 0 if it is the start node
815
+ */
816
+ function _getLinkDirection(node, link) {
817
+ if (link.endNode === node.id) {
818
+ return 1;
819
+ }
820
+ return 0;
821
+ }
822
+ /**
823
+ * Get node center
824
+ */
825
+ function _getNodeCenter(node, nodeBounds) {
826
+ const nodeBB = nodeBounds.get(node.id);
827
+ return { x: nodeBB.x + nodeBB.w / 2, y: nodeBB.y + nodeBB.h / 2 };
828
+ }
829
+ /**
830
+ * Calculates the angle weighted by distance
831
+ */
832
+ function calcDistanceAngleWeighted(objectBB, currentBB, direction) {
833
+ // Variables used for calculating penalties when calculating distances between two navigables.
834
+ const optimalAngle1 = (15 / 180) * Math.PI;
835
+ const optimalAngle2 = (40 / 180) * Math.PI;
836
+ const suboptimalAnglePenalty1 = 2; // multiplier to the distance
837
+ const suboptimalAnglePenalty2 = 6; // multiplier to the distance
838
+ const objCenterX = objectBB.x + objectBB.w / 2;
839
+ const objCenterY = objectBB.y + objectBB.h / 2;
840
+ const curCenterX = currentBB.x + currentBB.w / 2;
841
+ const curCenterY = currentBB.y + currentBB.h / 2;
842
+ const x_dist = Math.abs(objCenterX - curCenterX);
843
+ const y_dist = Math.abs(objCenterY - curCenterY);
844
+ const angle = Math.atan2(y_dist, x_dist);
845
+ let distance = Math.sqrt(x_dist * x_dist + y_dist * y_dist);
846
+ // Angle penalty based on direction
847
+ if ((angle > optimalAngle1 && (direction == 'right' || direction == 'left')) ||
848
+ (angle < Math.PI / 2 - optimalAngle1 && (direction == 'up' || direction == 'down'))) {
849
+ if ((angle > optimalAngle2 && (direction == 'right' || direction == 'left')) ||
850
+ (angle < Math.PI / 2 - optimalAngle2 && (direction == 'up' || direction == 'down'))) {
851
+ distance *= suboptimalAnglePenalty2;
852
+ }
853
+ else {
854
+ distance *= suboptimalAnglePenalty1;
855
+ }
856
+ }
857
+ return distance;
858
+ }
859
+ /**
860
+ * Given a direction, is a certain node is a valid destination to navigate to
861
+ */
862
+ function isValidDestination(objBB, curBB, direction, compareCenters) {
863
+ // compare the centers of the navigable and to be valid, the navigable must be in the right direction
864
+ // without tolerance
865
+ if (compareCenters) {
866
+ const objCenterX = objBB.x + 0.5 * objBB.w;
867
+ const curCenterX = curBB.x + 0.5 * curBB.w;
868
+ const objCenterY = objBB.y + 0.5 * objBB.h;
869
+ const curCenterY = curBB.y + 0.5 * curBB.h;
870
+ switch (direction) {
871
+ case 'up':
872
+ return objCenterY < curCenterY;
873
+ case 'down':
874
+ return objBB.y > curCenterY;
875
+ case 'right':
876
+ return objCenterX > curCenterX;
877
+ case 'left':
878
+ return objCenterX < curCenterX;
879
+ }
880
+ return true;
881
+ }
882
+ switch (direction) {
883
+ case 'up':
884
+ return objBB.y < curBB.y || _areEqualWithinTolerance(objBB.y, curBB.y);
885
+ case 'down':
886
+ return objBB.y > curBB.y || _areEqualWithinTolerance(objBB.y, curBB.y);
887
+ case 'right':
888
+ return objBB.x > curBB.x || _areEqualWithinTolerance(objBB.x, curBB.x);
889
+ case 'left':
890
+ return objBB.x < curBB.x || _areEqualWithinTolerance(objBB.x, curBB.x);
891
+ }
892
+ return true;
893
+ }
894
+ /**
895
+ * Returns true if two nodes are in contact
896
+ */
897
+ function calcInContact(objRect, curRect, direction) {
898
+ switch (direction) {
899
+ case 'up':
900
+ return (_isVerticallyAligned(objRect, curRect) &&
901
+ (curRect.y <= objRect.y + objRect.h ||
902
+ _areEqualWithinTolerance(curRect.y, objRect.y + objRect.h)));
903
+ case 'down':
904
+ return (_isVerticallyAligned(objRect, curRect) &&
905
+ (objRect.y <= curRect.y + curRect.h ||
906
+ _areEqualWithinTolerance(objRect.y, curRect.y + curRect.h)));
907
+ case 'right':
908
+ return (_isHorizontallyAligned(objRect, curRect) &&
909
+ (objRect.x <= curRect.x + curRect.w ||
910
+ _areEqualWithinTolerance(objRect.x, curRect.x + curRect.w)));
911
+ case 'left':
912
+ return (_isHorizontallyAligned(objRect, curRect) &&
913
+ (curRect.x <= objRect.x + objRect.w ||
914
+ _areEqualWithinTolerance(curRect.x, objRect.x + objRect.w)));
915
+ }
916
+ return false;
917
+ }
918
+ function _isVerticallyAligned(rect1, rect2) {
919
+ return ((rect1.x >= rect2.x && rect1.x <= rect2.x + rect2.w) ||
920
+ (rect2.x >= rect1.x && rect2.x <= rect1.x + rect1.w));
921
+ }
922
+ function _isHorizontallyAligned(rect1, rect2) {
923
+ return ((rect1.y >= rect2.y && rect1.y <= rect2.y + rect2.h) ||
924
+ (rect2.y >= rect1.y && rect2.y <= rect1.y + rect1.h));
925
+ }
926
+ function _areEqualWithinTolerance(a, b) {
927
+ return Math.abs(a - b) <= 0.0000001;
928
+ }
929
+ function _anglesAreEqualWithinTolerance(a1, a2) {
930
+ let res = Math.abs(a1 - a2) <= 0.0000001;
931
+ if (!res) {
932
+ res = Math.abs(Math.PI * 2 + Math.min(a1, a2) - Math.max(a1, a2)) <= 0.0000001;
933
+ }
934
+ return res;
935
+ }
936
+
937
+ /**
938
+ * @license
939
+ * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
940
+ * The Universal Permissive License (UPL), Version 1.0
941
+ * as shown at https://oss.oracle.com/licenses/upl/
942
+ * @ignore
943
+ */
944
+ function useDiagramNavigation(nodes, links, bounds, linkIdToDataMap) {
945
+ const currentKeyboardFocusNode = hooks.useRef();
946
+ const nodeBoundsById = createNodeBoundsMap(nodes, bounds);
947
+ function getNextNavigableNode(direction, compareCenters, current, listOfObjects) {
948
+ if (!listOfObjects)
949
+ return current;
950
+ if (!current)
951
+ return listOfObjects[0];
952
+ const currBB = nodeBoundsById.get(current.id);
953
+ if (!currBB)
954
+ return listOfObjects[0];
955
+ let nextObject = current; //init to current object
956
+ let nextDistance = Number.MAX_VALUE;
957
+ // If an object is in contact it overrules all other attributes
958
+ // Only another in contact object with better attributes will have higher precedence
959
+ let nextInContact = false;
960
+ // Whether or not the for loop has encountered the current object
961
+ let hasFoundCurrent = false;
962
+ let object, inContact, distance;
963
+ for (let i = 0; i < listOfObjects.length; i++) {
964
+ object = listOfObjects[i];
965
+ if (object === current) {
966
+ hasFoundCurrent = true;
967
+ continue;
968
+ }
969
+ const objBB = nodeBoundsById.get(object.id);
970
+ if (!objBB)
971
+ continue;
972
+ const objBounds = { x: objBB.x, y: objBB.y, w: objBB.w, h: objBB.h };
973
+ const currBounds = { x: currBB.x, y: currBB.y, w: currBB.w, h: currBB.h };
974
+ if (!isValidDestination(objBounds, currBounds, direction, compareCenters))
975
+ continue;
976
+ inContact = calcInContact(objBounds, currBounds, direction);
977
+ if (nextInContact && !inContact)
978
+ continue;
979
+ distance = calcDistanceAngleWeighted(objBounds, currBounds, direction);
980
+ if (distance == 0 && !hasFoundCurrent)
981
+ continue;
982
+ // Make sure incontact flag have highest precedence
983
+ if ((!nextInContact && inContact) ||
984
+ (distance < nextDistance && ((nextInContact && inContact) || !nextInContact))) {
985
+ nextDistance = distance;
986
+ nextObject = object;
987
+ nextInContact = inContact;
988
+ }
989
+ }
990
+ return nextObject;
991
+ }
992
+ /**
993
+ * Get next navigavle link depending on direction - clockwise or conter clockwise.
994
+ * The decision is made based on location of nodes centers rather than link paths or link angles.
995
+ */
996
+ function getNextNavigableLink(direction, listOfNodes, currentLink, listOfLinks) {
997
+ if (!listOfLinks)
998
+ return currentLink;
999
+ if (!currentLink)
1000
+ return listOfLinks[0];
1001
+ const keyboardFocusNode = currentKeyboardFocusNode.current;
1002
+ const nodeId = keyboardFocusNode ? keyboardFocusNode : currentLink.startNode;
1003
+ const node = getNodeDetailFromInfo({ id: nodeId, isNode: true }, listOfNodes);
1004
+ if (!node)
1005
+ return currentLink;
1006
+ const adjLinks = getNavigableLinksForNodeId(node.id, listOfLinks);
1007
+ listOfLinks = adjLinks;
1008
+ const linksWithSortingAttributes = addSortingAttributes(node, listOfLinks, listOfNodes, nodeBoundsById);
1009
+ linksWithSortingAttributes.sort(getLinkComparator());
1010
+ //clockwise direction
1011
+ const bForward = direction == 'down' ? true : false;
1012
+ let index = 0;
1013
+ for (let i = 0; i < linksWithSortingAttributes.length; i++) {
1014
+ const link = linksWithSortingAttributes[i];
1015
+ if (link.id === currentLink.id) {
1016
+ if (bForward)
1017
+ index = i == linksWithSortingAttributes.length - 1 ? 0 : i + 1;
1018
+ else
1019
+ index = i == 0 ? linksWithSortingAttributes.length - 1 : i - 1;
1020
+ break;
1021
+ }
1022
+ }
1023
+ return linksWithSortingAttributes[index];
1024
+ }
1025
+ /**
1026
+ * Returns the link detail when a node to link navigation occurs
1027
+ */
1028
+ function navigateFromNodeToLink(listOfLinks, event, node) {
1029
+ if (!node)
1030
+ return undefined;
1031
+ const adjLinks = getNavigableLinksForNodeId(node.id, listOfLinks);
1032
+ if (adjLinks.length < 1)
1033
+ return undefined;
1034
+ let link = adjLinks[0];
1035
+ const nodeBB = nodeBoundsById.get(node.id);
1036
+ let object, currNode, currNodeBB, currNodeBBCenterX;
1037
+ const nodeCenterX = nodeBB.x + nodeBB.w / 2;
1038
+ currentKeyboardFocusNode.current = node.id;
1039
+ for (let i = 0; i < adjLinks.length; i++) {
1040
+ object = adjLinks[i];
1041
+ currNode = object.startNode === node.id ? object.endNode : object.startNode;
1042
+ currNodeBB = nodeBoundsById.get(currNode);
1043
+ currNodeBBCenterX = currNodeBB.x + currNodeBB.w / 2;
1044
+ if (
1045
+ // equivalent of ≤ and ≥
1046
+ (event.altKey && event.code === 'Comma' && currNodeBBCenterX <= nodeCenterX) ||
1047
+ (event.altKey && event.code === 'Period' && currNodeBBCenterX >= nodeCenterX)) {
1048
+ link = object;
1049
+ break;
1050
+ }
1051
+ }
1052
+ return { id: link.id, isNode: false };
1053
+ }
1054
+ /**
1055
+ * Returns the node detail when a link to node navigation occurs
1056
+ */
1057
+ function navigateFromLinkToNode(linkId, event) {
1058
+ const key = event.key;
1059
+ const linkData = linkIdToDataMap.get(linkId);
1060
+ const startNodeBB = nodeBoundsById.get(linkData.startNode);
1061
+ const endNodeBB = nodeBoundsById.get(linkData.endNode);
1062
+ if (!startNodeBB || !endNodeBB)
1063
+ return undefined;
1064
+ const startNodeCenterX = startNodeBB.x + startNodeBB.w / 2;
1065
+ const endNodeCenterX = endNodeBB.x + endNodeBB.w / 2;
1066
+ const newNode = (endNodeCenterX > startNodeCenterX && key === 'ArrowRight') ||
1067
+ (endNodeCenterX < startNodeCenterX && key === 'ArrowLeft')
1068
+ ? linkData.endNode
1069
+ : linkData.startNode;
1070
+ return { id: newNode, isNode: true };
1071
+ }
1072
+ return {
1073
+ isNode: (itemInfo) => {
1074
+ let node, link;
1075
+ for (let i = 0; i < nodes.length; i++) {
1076
+ node = nodes[i];
1077
+ link = links[i];
1078
+ if (itemInfo.id === node.id) {
1079
+ return true;
1080
+ }
1081
+ if (itemInfo.id === link.id) {
1082
+ return true;
1083
+ }
1084
+ }
1085
+ return false;
1086
+ },
1087
+ getNextNavigableNode,
1088
+ getNextNavigableLink,
1089
+ navigateFromNodeToLink,
1090
+ navigateFromLinkToNode
1091
+ };
1092
+ }
1093
+
1094
+ const DEFAULT_KB_PAN = 15;
1095
+ const DEFAULT_KB_ZOOM = 0.15;
1096
+ function useEvents(touchResponse, initNode, nodes, links, nodeBounds, linkIdToDataMap, nodeIdToDataMap, nodeIdToIndexMap, width, height, maxZoom, onItemHover, onItemFocus, kbPanCallback, kbZoomCallback) {
1097
+ const { getNextNavigableNode, getNextNavigableLink, navigateFromNodeToLink, navigateFromLinkToNode } = useDiagramNavigation(nodes, links, nodeBounds, linkIdToDataMap);
1098
+ const [focusedItemInfo, setfocusedItemInfo] = hooks.useState({
1099
+ id: initNode.id,
1100
+ isNode: true
1101
+ });
1102
+ const [hoveredItemInfo, sethoveredItemInfo] = hooks.useState();
1103
+ const activeId = hooks.useRef();
1104
+ const cancelEvent = (event) => {
1105
+ event.preventDefault();
1106
+ event.stopPropagation();
1107
+ };
1108
+ const keyDownHandler = (event) => {
1109
+ const key = event.key;
1110
+ let eventConsumed = false;
1111
+ // tabbing out of the diagram
1112
+ if (key === 'TAB') {
1113
+ return;
1114
+ }
1115
+ // if this a switch from node to link or vice versa
1116
+ if (isChangeItemType(event)) {
1117
+ const nextItemInfo = focusedItemInfo.isNode
1118
+ ? navigateFromNodeToLink(links, event, getNodeDetailFromInfo(focusedItemInfo, nodes))
1119
+ : navigateFromLinkToNode(focusedItemInfo.id, event);
1120
+ handleKeyboardInput(nextItemInfo);
1121
+ eventConsumed = true;
1122
+ }
1123
+ else if (isNavigationEvent(key)) {
1124
+ const nextItemInfo = handleKeyboardNavigationEvent(key);
1125
+ handleKeyboardInput(nextItemInfo);
1126
+ eventConsumed = true;
1127
+ }
1128
+ else {
1129
+ switch (key) {
1130
+ case 'PageUp': {
1131
+ kbPanCallback &&
1132
+ kbPanCallback({
1133
+ dPan: {
1134
+ dx: event.shiftKey ? -DEFAULT_KB_PAN : 0,
1135
+ dy: event.shiftKey ? 0 : -DEFAULT_KB_PAN
1136
+ }
1137
+ });
1138
+ eventConsumed = true;
1139
+ break;
1140
+ }
1141
+ case 'PageDown': {
1142
+ kbPanCallback &&
1143
+ kbPanCallback({
1144
+ dPan: {
1145
+ dx: event.shiftKey ? DEFAULT_KB_PAN : 0,
1146
+ dy: event.shiftKey ? 0 : DEFAULT_KB_PAN
1147
+ }
1148
+ });
1149
+ eventConsumed = true;
1150
+ eventConsumed = true;
1151
+ break;
1152
+ }
1153
+ case '+':
1154
+ case '=': {
1155
+ kbZoomCallback && kbZoomCallback({ dZoom: DEFAULT_KB_ZOOM });
1156
+ eventConsumed = true;
1157
+ break;
1158
+ }
1159
+ case '-':
1160
+ case '_': {
1161
+ kbZoomCallback && kbZoomCallback({ dZoom: -DEFAULT_KB_ZOOM });
1162
+ eventConsumed = true;
1163
+ break;
1164
+ }
1165
+ case '0': {
1166
+ if (event.ctrlKey && event.altKey) {
1167
+ const { centerX, centerY, zoom } = zoomAndCenterItemFromInfo(focusedItemInfo, linkIdToDataMap, nodeBounds, nodeIdToIndexMap, width, height, maxZoom);
1168
+ kbZoomCallback && kbZoomCallback({ nZoom: zoom });
1169
+ kbPanCallback && kbPanCallback({ nPan: { cx: centerX, cy: centerY } });
1170
+ }
1171
+ else {
1172
+ // zoom to fit
1173
+ kbZoomCallback && kbZoomCallback({});
1174
+ kbPanCallback && kbPanCallback({ center: true });
1175
+ }
1176
+ eventConsumed = true;
1177
+ }
1178
+ }
1179
+ }
1180
+ if (eventConsumed) {
1181
+ cancelEvent(event);
1182
+ }
1183
+ };
1184
+ const keyUpHandler = (event) => {
1185
+ const key = event.code;
1186
+ switch (key) {
1187
+ case 'Tab': {
1188
+ updatefocusedItemInfo({
1189
+ ...focusedItemInfo,
1190
+ isCurrent: true,
1191
+ isFocusVisible: true
1192
+ });
1193
+ break;
1194
+ }
1195
+ }
1196
+ };
1197
+ const blurHandler = () => {
1198
+ if (hoveredItemInfo != null || focusedItemInfo.isCurrent) {
1199
+ onItemFocus?.({ id: undefined, data: undefined });
1200
+ }
1201
+ const itemInfo = { ...focusedItemInfo, isCurrent: false, isFocusVisible: false };
1202
+ setfocusedItemInfo(itemInfo);
1203
+ };
1204
+ const onHover = (event) => {
1205
+ const itemInfo = getNavigableInfo(event.target);
1206
+ if (itemInfo && !isEqualItem(itemInfo, hoveredItemInfo)) {
1207
+ sethoveredItemInfo({ ...itemInfo, isCurrent: true });
1208
+ activeId.current = layoutUtils.getRandomId();
1209
+ setfocusedItemInfo({ ...focusedItemInfo, isCurrent: false });
1210
+ if (itemInfo.isNode) {
1211
+ onItemHover?.({
1212
+ id: itemInfo.id,
1213
+ type: 'node',
1214
+ data: nodeIdToDataMap.get(itemInfo.id)
1215
+ });
1216
+ }
1217
+ else {
1218
+ onItemHover?.({
1219
+ id: itemInfo.id,
1220
+ type: 'link',
1221
+ data: linkIdToDataMap.get(itemInfo.id)
1222
+ });
1223
+ }
1224
+ }
1225
+ };
1226
+ const onHoverLeave = () => {
1227
+ sethoveredItemInfo(undefined);
1228
+ activeId.current = undefined;
1229
+ onItemHover?.({ id: undefined, data: undefined });
1230
+ };
1231
+ const hoverHandlers = useVisHover.useVisHover(onHover, undefined, onHoverLeave, touchResponse);
1232
+ const pointerUpHandler = (event) => {
1233
+ const itemInfo = getNavigableInfo(event.target);
1234
+ if (itemInfo.id != null) {
1235
+ setfocusedItemInfo(itemInfo);
1236
+ activeId.current = layoutUtils.getRandomId();
1237
+ }
1238
+ };
1239
+ function updatefocusedItemInfo(itemInfo) {
1240
+ if (itemInfo.isNode) {
1241
+ onItemFocus?.({
1242
+ id: itemInfo.id,
1243
+ type: 'node',
1244
+ data: nodeIdToDataMap.get(itemInfo.id)
1245
+ });
1246
+ }
1247
+ else {
1248
+ onItemFocus?.({
1249
+ id: itemInfo.id,
1250
+ type: 'link',
1251
+ data: linkIdToDataMap.get(itemInfo.id)
1252
+ });
1253
+ }
1254
+ activeId.current = layoutUtils.getRandomId();
1255
+ setfocusedItemInfo(itemInfo);
1256
+ }
1257
+ function handleKeyboardInput(item) {
1258
+ if (!item)
1259
+ return;
1260
+ if (!isEqualItem(item, focusedItemInfo)) {
1261
+ item.isCurrent = true;
1262
+ item.isFocusVisible = true;
1263
+ if (hoveredItemInfo) {
1264
+ sethoveredItemInfo({ ...hoveredItemInfo, isCurrent: false });
1265
+ }
1266
+ updatefocusedItemInfo(item);
1267
+ }
1268
+ }
1269
+ function isNavigationEvent(key) {
1270
+ switch (key) {
1271
+ case 'ArrowDown':
1272
+ case 'ArrowUp':
1273
+ case 'ArrowRight':
1274
+ case 'ArrowLeft': {
1275
+ return true;
1276
+ }
1277
+ }
1278
+ return false;
1279
+ }
1280
+ function isChangeItemType(event) {
1281
+ const key = event.code;
1282
+ // check if switching from node to link
1283
+ // equivalent of ≤ and ≥
1284
+ if (focusedItemInfo.isNode && event.altKey && (key === 'Period' || key === 'Comma')) {
1285
+ return true;
1286
+ // check if switching from link to node
1287
+ }
1288
+ else if (!focusedItemInfo.isNode && (key === 'ArrowLeft' || key === 'ArrowRight')) {
1289
+ return true;
1290
+ }
1291
+ return false;
1292
+ }
1293
+ function handleKeyboardNavigationEvent(key) {
1294
+ let direction = 'down';
1295
+ switch (key) {
1296
+ case 'ArrowDown': {
1297
+ direction = 'down';
1298
+ break;
1299
+ }
1300
+ case 'ArrowUp': {
1301
+ direction = 'up';
1302
+ break;
1303
+ }
1304
+ case 'ArrowRight': {
1305
+ direction = 'right';
1306
+ break;
1307
+ }
1308
+ case 'ArrowLeft': {
1309
+ direction = 'left';
1310
+ break;
1311
+ }
1312
+ }
1313
+ if (focusedItemInfo.isNode) {
1314
+ const itemDetail = getNextNavigableNode(direction, true, getNodeDetailFromInfo(focusedItemInfo, nodes), nodes);
1315
+ return itemDetail ? { id: itemDetail.id, isNode: true } : focusedItemInfo;
1316
+ }
1317
+ else {
1318
+ const linkDetail = getLinkDetailFromInfo(focusedItemInfo, links);
1319
+ const itemDetail = getNextNavigableLink(direction, nodes, linkDetail, links);
1320
+ return itemDetail ? { id: itemDetail.id } : { id: focusedItemInfo.id };
1321
+ }
1322
+ }
1323
+ return {
1324
+ focusedItemInfo,
1325
+ hoveredItemInfo,
1326
+ activeId: activeId.current,
1327
+ eventsProps: mergeProps.mergeProps(hoverHandlers, {
1328
+ onKeyUp: keyUpHandler,
1329
+ onKeyDown: keyDownHandler,
1330
+ onBlur: blurHandler,
1331
+ onPointerUp: pointerUpHandler
1332
+ })
1333
+ };
1334
+ }
1335
+
1336
+ /**
1337
+ * Returns the datatip.
1338
+ * @param text The text string for the diagram item.
1339
+ * @param rootRef The ref for root of the diagram.
1340
+ * @param focusedItemBoundsRef The ref for focused item bounds.
1341
+ * @param focusedItemInfo The ItemInfo for focused item.
1342
+ * @returns
1343
+ */
1344
+ const useDiagramDatatip = ({ touchResponse, datatip, focusedItemBoundsRef, focusedItemInfo, panState, zoom, width, nodesMap, linksMap, hoveredItem }) => {
1345
+ const { direction } = useUser.useUser();
1346
+ const isRtl = direction === 'rtl';
1347
+ const datatipC = getDatatipContent(nodesMap, linksMap, focusedItemInfo, hoveredItem, datatip);
1348
+ const elementBounds = focusedItemInfo?.isCurrent
1349
+ ? {
1350
+ x: focusedItemBoundsRef.current.x * zoom + panState.panX,
1351
+ y: focusedItemBoundsRef.current.y * zoom + panState.panY,
1352
+ width: focusedItemBoundsRef.current.w * zoom,
1353
+ height: focusedItemBoundsRef.current.h * zoom
1354
+ }
1355
+ : undefined;
1356
+ const { datatipContent, datatipProps } = useDatatip.useDatatip({
1357
+ content: datatipC?.content,
1358
+ borderColor: datatipC?.borderColor,
1359
+ placement: 'top-start',
1360
+ offset: util.calculateOffset(isRtl, width, elementBounds),
1361
+ anchor: focusedItemInfo?.isCurrent ? 'element' : 'pointer',
1362
+ touchResponse
1363
+ });
1364
+ return { datatipContent: datatipContent, datatipProps: datatipProps };
1365
+ };
1366
+
1367
+ /**
1368
+ * @license
1369
+ * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
1370
+ * Licensed under The Universal Permissive License (UPL), Version 1.0
1371
+ * as shown at https://oss.oracle.com/licenses/upl/
1372
+ * @ignore
1373
+ */
1374
+ const usePointerGesture = ({ captureTargetRef, numPointers = 1, onPointerGestureDown, onPointerGestureMove, onPointerGestureEnd, onExtraneousPointerDown, isDisabled = false }) => {
1375
+ const activePointers = hooks.useRef([]);
1376
+ if (isDisabled) {
1377
+ activePointers.current = [];
1378
+ }
1379
+ const onPointerDown = (e) => {
1380
+ activePointers.current.push(e);
1381
+ if (activePointers.current.length === numPointers) {
1382
+ onPointerGestureDown && onPointerGestureDown({ pointers: activePointers.current });
1383
+ }
1384
+ else if (activePointers.current.length > numPointers) {
1385
+ onExtraneousPointerDown && onExtraneousPointerDown({ pointers: activePointers.current });
1386
+ }
1387
+ };
1388
+ const onPointerMove = (e) => {
1389
+ if (activePointers.current.length === 0)
1390
+ return;
1391
+ const index = activePointers.current.findIndex((pointerEvent) => pointerEvent.pointerId === e.pointerId);
1392
+ if (index === -1)
1393
+ return;
1394
+ activePointers.current[index] = e;
1395
+ if (activePointers.current.length === numPointers) {
1396
+ activePointers.current.forEach((e) => captureTargetRef.current.setPointerCapture(e.pointerId));
1397
+ onPointerGestureMove && onPointerGestureMove({ pointers: activePointers.current });
1398
+ }
1399
+ };
1400
+ const onPointerUp = (e) => {
1401
+ const index = activePointers.current.findIndex((pointerEvent) => pointerEvent.pointerId === e.pointerId);
1402
+ if (index === -1)
1403
+ return;
1404
+ activePointers.current[index] = e;
1405
+ if (activePointers.current.length === numPointers) {
1406
+ onPointerGestureEnd && onPointerGestureEnd({ pointers: activePointers.current });
1407
+ }
1408
+ activePointers.current.splice(index, 1);
1409
+ };
1410
+ const onPointerCancel = onPointerUp;
1411
+ const onPointerLeave = onPointerUp;
1412
+ return isDisabled
1413
+ ? {}
1414
+ : {
1415
+ onPointerDown,
1416
+ onPointerMove,
1417
+ onPointerUp,
1418
+ onPointerCancel,
1419
+ onPointerLeave
1420
+ };
1421
+ };
1422
+
1423
+ /**
1424
+ * @license
1425
+ * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
1426
+ * Licensed under The Universal Permissive License (UPL), Version 1.0
1427
+ * as shown at https://oss.oracle.com/licenses/upl/
1428
+ * @ignore
1429
+ */
1430
+ /**
1431
+ * Whether point with coordinates are in the draggable region
1432
+ */
1433
+ const inDraggableRegion = (x, y, region) => {
1434
+ if (!region)
1435
+ return true;
1436
+ const { xMin, xMax, yMin, yMax } = region;
1437
+ return x >= xMin && x <= xMax && y >= yMin && y <= yMax;
1438
+ };
1439
+ /**
1440
+ * Returns region offset
1441
+ */
1442
+ const getRegionOffset = (x, y, region) => {
1443
+ if (!region)
1444
+ return { regionOffsetX: x, regionOffsetY: y };
1445
+ return { regionOffsetX: x - region.xMin, regionOffsetY: y - region.yMin };
1446
+ };
1447
+ const useDrag = ({ captureTargetRef, draggableRegion, onDragStart, onDragMove, onDragEnd, isDisabled = false }) => {
1448
+ const inactiveState = { isDragging: false, x0: -1, y0: -1, regionOffsetX: -1, regionOffsetY: -1 };
1449
+ const dragState = hooks.useRef(inactiveState);
1450
+ const handlePointerEvent = (e, cb) => {
1451
+ const { isDragging, x0, y0, regionOffsetX, regionOffsetY } = dragState.current;
1452
+ if (!isDragging)
1453
+ return;
1454
+ const x = e.pageX;
1455
+ const y = e.pageY;
1456
+ cb && cb({ x, y, dx: x - x0, dy: y - y0, regionOffsetX, regionOffsetY, originalEvent: e });
1457
+ };
1458
+ const dragProps = usePointerGesture({
1459
+ captureTargetRef,
1460
+ numPointers: 1, // Only allow 1 pointer dragging
1461
+ onExtraneousPointerDown: () => {
1462
+ dragState.current = inactiveState;
1463
+ },
1464
+ onPointerGestureDown: ({ pointers: [e] }) => {
1465
+ const x = e.pageX;
1466
+ const y = e.pageY;
1467
+ if (e.button !== 0 || !inDraggableRegion(x, y, draggableRegion))
1468
+ return;
1469
+ const { regionOffsetX, regionOffsetY } = getRegionOffset(x, y, draggableRegion);
1470
+ dragState.current = { isDragging: true, x0: x, y0: y, regionOffsetX, regionOffsetY };
1471
+ onDragStart && onDragStart({ x, y, regionOffsetX, regionOffsetY, originalEvent: e });
1472
+ },
1473
+ onPointerGestureMove: ({ pointers: [e] }) => {
1474
+ handlePointerEvent(e, onDragMove);
1475
+ },
1476
+ onPointerGestureEnd: ({ pointers: [e] }) => {
1477
+ handlePointerEvent(e, onDragEnd);
1478
+ dragState.current = inactiveState;
1479
+ }
1480
+ });
1481
+ return isDisabled ? {} : dragProps;
1482
+ };
1483
+
1484
+ const constrainPan = (previousPan, nextPan, panBounds, panDirection) => {
1485
+ const panX = panDirection !== 'y' ? nextPan.panX : previousPan.panX;
1486
+ const panY = panDirection !== 'x' ? nextPan.panY : previousPan.panY;
1487
+ return {
1488
+ panX: panX > panBounds.maxX || panX < panBounds.minX ? previousPan.panX : panX,
1489
+ panY: panY > panBounds.maxY || panY < panBounds.minY ? previousPan.panY : panY
1490
+ };
1491
+ };
1492
+ const pan = (previousPan, nextPan, panDirection, zoom, width, height, panBounds, onPanChange) => {
1493
+ if (!panBounds) {
1494
+ //On initial render before nodes are rendered
1495
+ return { newPan: { panX: 0, panY: 0 } };
1496
+ }
1497
+ const newPan = constrainPan(previousPan, nextPan, panBounds, panDirection);
1498
+ const isPanChanged = newPan.panX !== previousPan.panX || newPan.panY !== previousPan.panY;
1499
+ const center = panXYToCenterXY(newPan.panX, newPan.panY, zoom, width, height);
1500
+ isPanChanged &&
1501
+ onPanChange &&
1502
+ onPanChange({
1503
+ centerX: center.centerX,
1504
+ centerY: center.centerY
1505
+ });
1506
+ return { newPan };
1507
+ };
1508
+ const getPanBounds = (width, height, elemBounds, panType, zoom, minZoom, initPanZoomState) => {
1509
+ const { x, y, w, h } = elemBounds;
1510
+ let minX, maxX, minY, maxY;
1511
+ if (panType === 'centerContent') {
1512
+ minX = width / 2 - (w + x) * zoom;
1513
+ minY = height / 2 - (h + y) * zoom;
1514
+ maxX = width / 2 - x * zoom;
1515
+ maxY = height / 2 - y * zoom;
1516
+ }
1517
+ else {
1518
+ // panType equals fixed
1519
+ const zoomRatio = zoom / minZoom;
1520
+ // Find left corner of the content at min zoom and content is centered
1521
+ const minZoomX = (width - w * minZoom) / 2 - x * minZoom;
1522
+ const minZoomY = (height - h * minZoom) / 2 - y * minZoom;
1523
+ // When we pan all the way to the right, the left corner of displayable area is 0,0 as in min zoom.
1524
+ // When we pan all the way to the left, lets find the corner of the displayable area
1525
+ const leftCornerX = width - width * zoomRatio;
1526
+ const leftCornerY = height - height * zoomRatio;
1527
+ // Now we have everything to calculate pan zoom constraints
1528
+ minX = leftCornerX + minZoomX * zoomRatio;
1529
+ minY = leftCornerY + minZoomY * zoomRatio;
1530
+ maxX = minZoomX * zoomRatio;
1531
+ maxY = minZoomY * zoomRatio;
1532
+ }
1533
+ const initZoom = initPanZoomState.zoom;
1534
+ const initCenterX = initPanZoomState.centerX;
1535
+ const initCenterY = initPanZoomState.centerY;
1536
+ // If an initial panZoomState is set, should expand pan bounds to include it
1537
+ let dx, dy;
1538
+ if (initCenterX) {
1539
+ const boundsX = initCenterX * initZoom - width / 2;
1540
+ if (-boundsX * initZoom < minX) {
1541
+ dx = minX - boundsX * initZoom;
1542
+ minX -= dx;
1543
+ maxX += dx;
1544
+ }
1545
+ else if (-boundsX * initZoom > maxX) {
1546
+ dx = -boundsX * initZoom - maxX;
1547
+ minX -= dx;
1548
+ maxX += dx;
1549
+ }
1550
+ }
1551
+ if (initCenterY) {
1552
+ const boundsY = initCenterY * initZoom - height / 2;
1553
+ if (-boundsY * initZoom < minY) {
1554
+ dy = minY - boundsY * initZoom;
1555
+ minY -= dy;
1556
+ maxY += dy;
1557
+ }
1558
+ else if (-boundsY * initZoom > maxY) {
1559
+ dy = -boundsY * initZoom - maxY;
1560
+ minY -= dy;
1561
+ maxY += dy;
1562
+ }
1563
+ }
1564
+ return {
1565
+ minX: minX,
1566
+ maxX: maxX,
1567
+ minY: minY,
1568
+ maxY: maxY
1569
+ };
1570
+ };
1571
+
1572
+ const useDragPan = ({ panProps, captureTargetRef, panBounds, width, height, zoom, onDragPanStart, onDragPanEnd }) => {
1573
+ const prevPanState = hooks.useRef({ panX: 0, panY: 0 });
1574
+ const initialPanState = hooks.useRef({ panX: 0, panY: 0 });
1575
+ const dragProps = useDrag({
1576
+ captureTargetRef,
1577
+ onDragStart: () => {
1578
+ const panValues = centerXYToPanXY(panProps.centerX, panProps.centerY, zoom, width, height);
1579
+ initialPanState.current = {
1580
+ panX: panValues.panX,
1581
+ panY: panValues.panY
1582
+ };
1583
+ onDragPanStart && onDragPanStart();
1584
+ },
1585
+ onDragMove: ({ dx, dy }) => {
1586
+ const nextPan = {
1587
+ panX: initialPanState.current.panX + dx,
1588
+ panY: initialPanState.current.panY + dy
1589
+ };
1590
+ const { newPan } = pan(prevPanState.current, nextPan, panProps.panDirection, zoom, width, height, panBounds, panProps.onPan);
1591
+ prevPanState.current = newPan;
1592
+ },
1593
+ onDragEnd: ({ originalEvent }) => {
1594
+ // If panning occurred, call preventDefault to prevent selection from occurring
1595
+ if (initialPanState.current.panX !== prevPanState.current.panX ||
1596
+ initialPanState.current.panY !== prevPanState.current.panY)
1597
+ originalEvent.preventDefault();
1598
+ onDragPanEnd && onDragPanEnd();
1599
+ },
1600
+ isDisabled: panProps.panning === 'off'
1601
+ });
1602
+ return dragProps;
1603
+ };
1604
+
1605
+ const PX_FACTOR_PER_LINE = 15; // Value used in Toolkit
1606
+ const PX_FACTOR_PER_PAGE = 40; // Value copied from datagrid; this is not handled in Toolkit
1607
+ const getNormalizedDelta = (e) => {
1608
+ const { deltaX, deltaY, deltaMode } = e;
1609
+ switch (deltaMode) {
1610
+ case e.DOM_DELTA_PIXEL:
1611
+ return { deltaX: -deltaX, deltaY: -deltaY };
1612
+ case e.DOM_DELTA_LINE:
1613
+ return { deltaX: -deltaX * PX_FACTOR_PER_LINE, deltaY: -deltaY * PX_FACTOR_PER_LINE };
1614
+ case e.DOM_DELTA_PAGE:
1615
+ return { deltaX: -deltaX * PX_FACTOR_PER_PAGE, deltaY: -deltaY * PX_FACTOR_PER_PAGE };
1616
+ default:
1617
+ return { deltaX: -deltaX, deltaY: -deltaY };
1618
+ }
1619
+ };
1620
+ const useWheel = ({ onWheel: onWheelCallback, preventDefault = true, isDisabled = false }) => {
1621
+ const onWheel = (e) => {
1622
+ const { deltaX, deltaY } = getNormalizedDelta(e);
1623
+ if (preventDefault)
1624
+ e.preventDefault();
1625
+ onWheelCallback({
1626
+ x: e.offsetX,
1627
+ y: e.offsetY,
1628
+ deltaX,
1629
+ deltaY,
1630
+ ctrlKey: e.ctrlKey || e.metaKey
1631
+ });
1632
+ };
1633
+ return isDisabled ? {} : { onWheel };
1634
+ };
1635
+
1636
+ /**
1637
+ * @license
1638
+ * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
1639
+ * Licensed under The Universal Permissive License (UPL), Version 1.0
1640
+ * as shown at https://oss.oracle.com/licenses/upl/
1641
+ * @ignore
1642
+ */
1643
+ const ZOOM_INCREMENT = 0.05;
1644
+ const zoom = (nextZoom, zoom, minZoom, maxZoom, onZoomChange) => {
1645
+ const newZoom = nextZoom > maxZoom || nextZoom < minZoom ? zoom : nextZoom;
1646
+ const isZoomChanged = newZoom !== zoom;
1647
+ isZoomChanged &&
1648
+ onZoomChange &&
1649
+ onZoomChange({
1650
+ zoomValue: newZoom
1651
+ });
1652
+ };
1653
+
1654
+ /**
1655
+ * @license
1656
+ * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
1657
+ * Licensed under The Universal Permissive License (UPL), Version 1.0
1658
+ * as shown at https://oss.oracle.com/licenses/upl/
1659
+ * @ignore
1660
+ */
1661
+ const useWheelZoom = ({ zooming, minZoom, maxZoom, zoomValue, onZoom }) => {
1662
+ const wheelProps = useWheel({
1663
+ onWheel: ({ deltaY }) => {
1664
+ const newZoom = zoomValue * (1 + ZOOM_INCREMENT * deltaY);
1665
+ zoom(newZoom, zoomValue, minZoom, maxZoom, onZoom);
1666
+ },
1667
+ isDisabled: zooming === 'off'
1668
+ });
1669
+ return wheelProps;
1670
+ };
1671
+
1672
+ /**
1673
+ * @license
1674
+ * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
1675
+ * Licensed under The Universal Permissive License (UPL), Version 1.0
1676
+ * as shown at https://oss.oracle.com/licenses/upl/
1677
+ * @ignore
1678
+ */
1679
+ const getMidpoint = (p1, p2) => ({ x: (p1.x + p2.x) / 2, y: (p1.y + p2.y) / 2 });
1680
+ const getDistance = (p1, p2) => Math.sqrt((p2.x - p1.x) ** 2 + (p2.y - p2.y) ** 2);
1681
+ const usePinch = ({ captureTargetRef, onPinchZoomStart, onPinchZoomChange, onPinchZoomEnd, isDisabled = false }) => {
1682
+ const origin = hooks.useRef({ x: -1, y: -1 });
1683
+ const prevDistance = hooks.useRef(-1);
1684
+ const reset = () => {
1685
+ origin.current = { x: -1, y: -1 };
1686
+ prevDistance.current = -1;
1687
+ };
1688
+ if (isDisabled)
1689
+ reset();
1690
+ const pinchProps = usePointerGesture({
1691
+ captureTargetRef,
1692
+ numPointers: 2, // Pinch gesture requires 2 pointers
1693
+ onPointerGestureDown: ({ pointers: [pointer1, pointer2] }) => {
1694
+ const p1 = { x: pointer1.offsetX, y: pointer1.offsetY };
1695
+ const p2 = { x: pointer2.offsetX, y: pointer2.offsetY };
1696
+ origin.current = getMidpoint(p1, p2);
1697
+ prevDistance.current = getDistance(p1, p2);
1698
+ onPinchZoomStart &&
1699
+ onPinchZoomStart({
1700
+ origin: origin.current,
1701
+ delta: 0
1702
+ });
1703
+ },
1704
+ onPointerGestureMove: ({ pointers: [pointer1, pointer2] }) => {
1705
+ const p1 = { x: pointer1.offsetX, y: pointer1.offsetY };
1706
+ const p2 = { x: pointer2.offsetX, y: pointer2.offsetY };
1707
+ const distance = getDistance(p1, p2);
1708
+ const delta = distance - prevDistance.current;
1709
+ prevDistance.current = distance;
1710
+ onPinchZoomChange &&
1711
+ onPinchZoomChange({
1712
+ origin: origin.current,
1713
+ delta
1714
+ });
1715
+ },
1716
+ onPointerGestureEnd: () => {
1717
+ reset();
1718
+ onPinchZoomEnd && onPinchZoomEnd();
1719
+ }
1720
+ });
1721
+ return isDisabled ? {} : pinchProps;
1722
+ };
1723
+
1724
+ const usePinchZoom = ({ captureTargetRef, zooming, minZoom, maxZoom, zoomValue, onZoom }) => {
1725
+ const pinchProps = usePinch({
1726
+ captureTargetRef,
1727
+ onPinchZoomChange: ({ delta }) => {
1728
+ const newZoom = zoomValue * (1 + ZOOM_INCREMENT * delta);
1729
+ zoom(newZoom, zoomValue, minZoom, maxZoom, onZoom);
1730
+ },
1731
+ isDisabled: zooming === 'off'
1732
+ });
1733
+ return pinchProps;
1734
+ };
1735
+
1736
+ const usePanZoom = ({ props, captureTargetRef, width, height, contentBounds }) => {
1737
+ const [cursor, setCursor] = hooks.useState();
1738
+ const zoomProps = getZoomProps(props, width, height, contentBounds);
1739
+ const panProps = getPanProps(props, contentBounds);
1740
+ const panBounds = hooks.useRef();
1741
+ const prevZoom = hooks.useRef();
1742
+ const panning = hooks.useRef();
1743
+ const initPanZoomState = hooks.useRef({
1744
+ zoom: props.zoomValue || 0,
1745
+ centerX: props.centerX,
1746
+ centerY: props.centerY
1747
+ });
1748
+ if (contentBounds.w !== Infinity &&
1749
+ (zoomProps.zoomValue !== prevZoom.current || panProps.panning !== panning.current)) {
1750
+ panBounds.current = getPanBounds(width, height, contentBounds, panProps.panning, zoomProps.zoomValue, zoomProps.minZoom, initPanZoomState.current);
1751
+ prevZoom.current = zoomProps.zoomValue;
1752
+ panning.current = panProps.panning;
1753
+ }
1754
+ const dragPanProps = useDragPan({
1755
+ panProps: panProps,
1756
+ captureTargetRef: captureTargetRef,
1757
+ panBounds: panBounds.current,
1758
+ zoom: zoomProps.zoomValue,
1759
+ width,
1760
+ height,
1761
+ onDragPanStart: () => setCursor('grabbing'),
1762
+ onDragPanEnd: () => setCursor('auto')
1763
+ });
1764
+ //dZoom or nZoom is required
1765
+ const kbZoomCallback = (props) => {
1766
+ const newZoom = props.dZoom
1767
+ ? zoomProps.zoomValue + props.dZoom
1768
+ : getZoomToFitZoom(width, height, contentBounds);
1769
+ zoom(props.nZoom ? props.nZoom : newZoom, zoomProps.zoomValue, zoomProps.minZoom, zoomProps.maxZoom, zoomProps.onZoom);
1770
+ };
1771
+ const prevPanState = hooks.useRef({ panX: 0, panY: 0 });
1772
+ // dPan or nPan is required
1773
+ const kbPanCallback = (props) => {
1774
+ let centerX;
1775
+ let centerY;
1776
+ if (props.center) {
1777
+ centerX = contentBounds.x + contentBounds.w / 2;
1778
+ centerY = contentBounds.y + contentBounds.h / 2;
1779
+ }
1780
+ else if (props.dPan) {
1781
+ centerX = panProps.centerX + props.dPan.dx;
1782
+ centerY = panProps.centerY + props.dPan.dy;
1783
+ }
1784
+ else {
1785
+ centerX = props.nPan.cx;
1786
+ centerY = props.nPan.cy;
1787
+ }
1788
+ const panValues = centerXYToPanXY(centerX, centerY, zoomProps.zoomValue, width, height);
1789
+ const { newPan } = pan(prevPanState.current, panValues, panProps.panDirection, zoomProps.zoomValue, width, height, panBounds.current, panProps.onPan);
1790
+ prevPanState.current = newPan;
1791
+ };
1792
+ const wheelZoomProps = useWheelZoom(zoomProps);
1793
+ const pinchZoomProps = usePinchZoom({
1794
+ captureTargetRef,
1795
+ zooming: zoomProps.zooming,
1796
+ minZoom: zoomProps.minZoom,
1797
+ maxZoom: zoomProps.maxZoom,
1798
+ zoomValue: zoomProps.zoomValue,
1799
+ onZoom: zoomProps.onZoom
1800
+ });
1801
+ const panZoomProps = mergeProps.mergeProps(dragPanProps, wheelZoomProps, pinchZoomProps);
1802
+ return {
1803
+ panZoomProps,
1804
+ cursor,
1805
+ centerX: panProps.centerX,
1806
+ centerY: panProps.centerY,
1807
+ zoomValue: zoomProps.zoomValue,
1808
+ kbPanCallback: panProps.panning !== 'off' ? kbPanCallback : undefined,
1809
+ kbZoomCallback: zoomProps.zooming !== 'off' ? kbZoomCallback : undefined
1810
+ };
1811
+ };
1812
+
1813
+ function useDiagramSelection({ selectedIds, selectionMode, nodeMap, linkMap, focusedItemInfo, onSelectionChange, rootRef }) {
1814
+ const nodeIdToIndexMap = nodeMap.itemIdToIndexMap;
1815
+ const nodeIndexToIdMap = nodeMap.itemIndexToIdMap;
1816
+ const linkIdToIndexMap = linkMap.itemIdToIndexMap;
1817
+ const linkIndexToIdMap = linkMap.itemIndexToIdMap;
1818
+ const encodeNodeId = (id) => `N_${nodeIdToIndexMap.get(id)}`;
1819
+ const decodeNodeId = (id) => nodeIndexToIdMap.get(Number(id.slice(2)));
1820
+ const encodeLinkId = (id) => `L_${linkIdToIndexMap.get(id)}`;
1821
+ const decodeLinkId = (id) => linkIndexToIdMap.get(Number(id.slice(2)));
1822
+ const encodedNodesSelection = selectedIds.nodes ? selectedIds.nodes.map(encodeNodeId) : [];
1823
+ const encodedLinksSelection = selectedIds.links ? selectedIds.links.map(encodeLinkId) : [];
1824
+ const encodedSelection = [...encodedNodesSelection, ...encodedLinksSelection];
1825
+ const idExtracter = (event) => {
1826
+ // return encodeNodeId(id) or encodeLinkId(id) depending on node or link selection or undefined if clicked on empty space
1827
+ const info = event.type === 'keyup'
1828
+ ? focusedItemInfo
1829
+ : getNavigableInfo(event.target, rootRef);
1830
+ return info.id !== undefined
1831
+ ? info.isNode
1832
+ ? encodeNodeId(info.id)
1833
+ : encodeLinkId(info.id)
1834
+ : undefined;
1835
+ };
1836
+ const onEncodedSelectionChange = (detail) => {
1837
+ const newSelectedNodeIds = detail.ids
1838
+ .filter((encId) => encId[0] === 'N')
1839
+ .map((encId) => decodeNodeId(encId));
1840
+ const newSelectedLinkIds = detail.ids
1841
+ .filter((encId) => encId[0] === 'L')
1842
+ .map((encId) => decodeLinkId(encId));
1843
+ const nodeData = newSelectedNodeIds.map((selectedId) => {
1844
+ return nodeMap.itemIdToDataMap.get(selectedId);
1845
+ });
1846
+ const linkData = newSelectedLinkIds.map((selectedId) => {
1847
+ return linkMap.itemIdToDataMap.get(selectedId);
1848
+ });
1849
+ return (onSelectionChange &&
1850
+ onSelectionChange({
1851
+ nodes: newSelectedNodeIds,
1852
+ links: newSelectedLinkIds,
1853
+ nodeData,
1854
+ linkData
1855
+ }));
1856
+ };
1857
+ const getDataById = (id) => {
1858
+ let data;
1859
+ if (id[0] === 'N') {
1860
+ const nodeId = decodeNodeId(id);
1861
+ data = nodeMap.itemIdToDataMap.get(nodeId);
1862
+ }
1863
+ else if (id[0] === 'L') {
1864
+ const linkId = decodeLinkId(id);
1865
+ data = linkMap.itemIdToDataMap.get(linkId);
1866
+ }
1867
+ return data;
1868
+ };
1869
+ const { selectionContent, selectionProps } = useSelection.useSelection({
1870
+ selection: encodedSelection,
1871
+ idExtracter,
1872
+ selectionMode,
1873
+ getDataById,
1874
+ onChange: onEncodedSelectionChange
1875
+ });
1876
+ return { selectionContent, selectionProps };
1877
+ }
1878
+
1879
+ function DiagramWithDimensions({ nodes = [], links = [], width, height, selectedIds = {}, selectionMode = 'none', layout, nodeRenderer, linkRenderer, onSelectionChange, onItemHover, onItemFocus, highlightedIds = {}, datatip, ...otherProps }) {
1880
+ const focusedItemBoundsRef = hooks.useRef(null);
1881
+ const rootRef = hooks.useRef(null);
1882
+ //TODO JET-62563 change bounds to a MAP
1883
+ const [bounds, setBounds] = hooks.useState([]);
1884
+ const [combinedLabelBounds, setCombinedLabelBounds] = hooks.useState();
1885
+ const { direction } = useUser.useUser();
1886
+ const diagramNodes = nodes;
1887
+ const nodeMap = createItemMap(diagramNodes);
1888
+ const nodeIdToDataMap = nodeMap.itemIdToDataMap;
1889
+ const diagramLinks = filterLinksWithNoEndNodes(links, nodeIdToDataMap);
1890
+ const linkMap = createItemMap(diagramLinks);
1891
+ const linkIdToDataMap = linkMap.itemIdToDataMap;
1892
+ const resizeThrottling = hooks.useRef(false);
1893
+ const newDimensions = getDimensionsFromBounds(bounds);
1894
+ const { textMeasureContent, getTextDimensions } = useTextDimensions.useTextDimensions();
1895
+ const labelDimensions = hooks.useRef(new Map());
1896
+ const nodeLabelPosRef = hooks.useRef([]);
1897
+ const linkLabelPosRef = hooks.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.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 = hooks.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.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 { nodePoints, nodeLabelPos, linkLabelPos } = deconstructLayoutJSON(layout(layoutJSON), diagramNodes, diagramLinks);
1978
+ nodeLabelPosRef.current = nodeLabelPos;
1979
+ linkLabelPosRef.current = linkLabelPos;
1980
+ const nodeBounds = mergeDimensions(newDimensions, nodePoints);
1981
+ setBounds(nodeBounds);
1982
+ const labelBounds = getAllLabelBounds(labelDims, diagramNodes, diagramLinks, nodeLabelPos, linkLabelPos, direction === 'rtl');
1983
+ setCombinedLabelBounds(labelBounds);
1984
+ resizeThrottling.current = false;
1985
+ });
1986
+ };
1987
+ return (jsxRuntime.jsxs("div", { ref: rootRef, class: UNSAFE_Diagram_themes_DiagramStyles_css.outerStyles, ...mergedEventProps, style: style, tabIndex: 0, role: "application", "aria-label": otherProps['aria-label'], "aria-labelledby": otherProps['aria-labelledby'], "aria-describedby": stringUtils.merge([otherProps['aria-describedby'], datatipAriaDescribedby]), "aria-activedescendant": activeId, children: [getTextDimensions ? (jsxRuntime.jsx(DiagramPanZoomContainer, { centerX: centerX, centerY: centerY, zoom: zoomValue, width: width, height: height, children: jsxRuntime.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' ||
1988
+ !!(selectedIds?.nodes && selectedIds.nodes.length > 0) ||
1989
+ !!(selectedIds?.links && selectedIds.links.length > 0) }) })) : undefined, textMeasureContent, datatipContent, selectionContent] }));
1990
+ }
1991
+
1992
+ /**
1993
+ * Diagrams are used to display a set of nodes and the links between them.
1994
+ */
1995
+ function Diagram({ width, height, ...otherProps }) {
1996
+ return otherProps.nodes && otherProps.nodes.length > 0 ? (jsxRuntime.jsx(TrackResizeContainer.TrackResizeContainer, { width: width, height: height, class: UNSAFE_Diagram_themes_DiagramStyles_css.dimensionStyle, children: (width, height) => jsxRuntime.jsx(DiagramWithDimensions, { width: width, height: height, ...otherProps }) })) : null;
1997
+ }
1998
+
1999
+ exports.Diagram = Diagram;
2000
+ //# sourceMappingURL=Diagram-522fe974.js.map