@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
@@ -1,1998 +0,0 @@
1
- /* @oracle/oraclejet-preact: undefined */
2
- import { jsx, jsxs, Fragment } from 'preact/jsx-runtime';
3
- import { T as TrackResizeContainer } from './TrackResizeContainer-8360f2c2.js';
4
- import { itemStyles, layerStyles, labelStyles, panZoomStyles, outerStyles, dimensionStyle } from './UNSAFE_Diagram/themes/DiagramStyles.css.js';
5
- import { u as useResizeObserver } from './useResizeObserver-260ee12b.js';
6
- import { useRef, useCallback, useState } from 'preact/hooks';
7
- import { g as generateAriaLabel } from './accUtils-dc32d20b.js';
8
- import { c as classNames } from './classNames-4e12b00d.js';
9
- import { u as useTranslationBundle } from './useTranslationBundle-e8a8c4f3.js';
10
- import { u as useUser } from './useUser-fb09e212.js';
11
- import { g as getRandomId } from './layoutUtils-2374ab3e.js';
12
- import { u as useVisHover } from './useVisHover-d7a0b2f3.js';
13
- import { m as mergeProps } from './mergeProps-88ea8306.js';
14
- import { u as useDatatip } from './useDatatip-f9bcaab9.js';
15
- import { c as calculateOffset } from './util-c1d41418.js';
16
- import { u as useTextDimensions } from './useTextDimensions-e48f2781.js';
17
- import { u as useSelection } from './useSelection-48f572e5.js';
18
- import { u as useVisTouchResponse } from './useVisTouchResponse-e9ca4766.js';
19
- import { m as merge } from './stringUtils-16f617bc.js';
20
-
21
- const ZOOM_TO_FIT_PADDING = 20;
22
- /**
23
- * Returns the pan properties for the diagram.
24
- */
25
- function getPanProps(props, contentBounds) {
26
- return {
27
- panning: props.panning ? props.panning : 'off',
28
- panDirection: props.panDirection ? props.panDirection : 'any',
29
- centerX: props.centerX !== undefined ? props.centerX : contentBounds.w / 2 + contentBounds.x,
30
- centerY: props.centerY !== undefined ? props.centerY : contentBounds.h / 2 + contentBounds.y,
31
- onPan: props.onPan
32
- };
33
- }
34
- /**
35
- * Returns the zoom properties for the diagram.
36
- */
37
- function getZoomProps(props, width, height, contentBounds) {
38
- const minZoom = props.minZoom ? props.minZoom : getZoomToFitZoom(width, height, contentBounds);
39
- const maxZoom = props.maxZoom !== undefined ? props.maxZoom : 1;
40
- const zoom = props.zoomValue ? props.zoomValue : getZoomToFitZoom(width, height, contentBounds);
41
- return {
42
- zooming: props.zooming ? props.zooming : 'off',
43
- // default value of 0 indicates zoom-to-fit level
44
- minZoom: minZoom,
45
- maxZoom: maxZoom,
46
- // zoom value of 0 will default to zoom to fit
47
- zoomValue: constrainZoom(zoom, minZoom, maxZoom),
48
- onZoom: props.onZoom
49
- };
50
- }
51
- /**
52
- * Constructs the json object to be passed into the layout function
53
- */
54
- function constructLayoutJSON(nodes, nodeItems, linkItems, dimensions, width, height, getTextDimensions) {
55
- const labelDims = new Map();
56
- const nodeKeys = Array.from(nodeItems.keys());
57
- for (const id of nodeKeys) {
58
- const item = nodeItems.get(id);
59
- if (item && getTextDimensions && item.label) {
60
- const label = item.label;
61
- const fontProps = _getFontProps(item.labelStyle);
62
- labelDims.set(id, getTextDimensions(label, fontProps));
63
- }
64
- }
65
- const linkKeys = Array.from(linkItems.keys());
66
- for (const id of linkKeys) {
67
- const item = linkItems.get(id);
68
- if (item && getTextDimensions && item.label) {
69
- const label = item.label;
70
- const fontProps = _getFontProps(item.labelStyle);
71
- labelDims.set(id, getTextDimensions(label, fontProps));
72
- }
73
- }
74
- const getLabelDimensions = function (data) {
75
- return labelDims.get(data.id);
76
- };
77
- const getNodeDimensions = function (data) {
78
- for (let i = 0; i < nodes.length; i++) {
79
- if (data.id === nodes[i].id) {
80
- return dimensions[i];
81
- }
82
- }
83
- return dimensions[0];
84
- };
85
- return {
86
- layoutJSON: {
87
- getNodeDimensions: getNodeDimensions,
88
- getLabelDimensions: getLabelDimensions,
89
- componentSize: {
90
- width: width,
91
- height: height
92
- }
93
- },
94
- labelDims: labelDims
95
- };
96
- }
97
- /**
98
- * Deconstructs the output of the layout function
99
- */
100
- function deconstructLayoutJSON(layoutJSON, nodeData, linkData) {
101
- const nodes = layoutJSON.nodes;
102
- const links = layoutJSON.links;
103
- const positions = [];
104
- const nodeLabelPos = [];
105
- const linkLabelPos = [];
106
- let hasNodeLabels = false;
107
- let hasLinkLabels = false;
108
- let node, link;
109
- for (let i = 0; i < nodeData.length; i++) {
110
- node = nodes[nodeData[i].id];
111
- positions.push(node.position);
112
- if (node.label)
113
- hasNodeLabels = true;
114
- nodeLabelPos.push(node.label);
115
- }
116
- if (links) {
117
- for (let i = 0; i < linkData.length; i++) {
118
- link = links[linkData[i].id];
119
- if (link.label)
120
- hasLinkLabels = true;
121
- linkLabelPos.push(link.label);
122
- }
123
- }
124
- return {
125
- nodePoints: positions,
126
- nodeLabelPos: hasNodeLabels ? nodeLabelPos : undefined,
127
- linkLabelPos: hasLinkLabels ? linkLabelPos : undefined
128
- };
129
- }
130
- /**
131
- * Merges the node points into the dimensions
132
- */
133
- function mergeDimensions(dimensions, nodePoints) {
134
- const newBounds = [];
135
- for (let i = 0; i < dimensions.length; i++) {
136
- const point = nodePoints[i];
137
- const dim = dimensions[i];
138
- newBounds.push({ x: point.x, y: point.y, w: dim.w, h: dim.h });
139
- }
140
- return newBounds;
141
- }
142
- /**
143
- * Returns the text for the diagram datatip.
144
- */
145
- function getDatatipContent(nodesMap, linksMap, focusedItem, hoveredItem, datatip) {
146
- let itemInfo;
147
- const isPointerActive = hoveredItem?.isCurrent;
148
- if (isPointerActive && hoveredItem.id != null) {
149
- itemInfo = hoveredItem;
150
- }
151
- if (focusedItem && focusedItem.isCurrent) {
152
- itemInfo = focusedItem;
153
- }
154
- if (itemInfo && datatip) {
155
- return datatip(itemInfo.isNode
156
- ? { data: nodesMap.get(itemInfo.id), type: 'node' }
157
- : { data: linksMap.get(itemInfo.id), type: 'link' });
158
- }
159
- if (itemInfo) {
160
- const text = (itemInfo.isNode ? nodesMap.get(itemInfo.id) : linksMap.get(itemInfo.id))?.accessibleLabel;
161
- return {
162
- content: text
163
- };
164
- }
165
- return;
166
- }
167
- /**
168
- * Creates a map with key id and value node or link data
169
- */
170
- function createItemMap(items) {
171
- const itemIdToDataMap = new Map();
172
- const itemIdToIndexMap = new Map();
173
- const itemIndexToIdMap = new Map();
174
- for (let i = 0; i < items.length; i++) {
175
- itemIdToDataMap.set(items[i].id, items[i]);
176
- itemIdToIndexMap.set(items[i].id, i);
177
- itemIndexToIdMap.set(i, items[i].id);
178
- }
179
- return {
180
- itemIdToDataMap,
181
- itemIdToIndexMap,
182
- itemIndexToIdMap
183
- };
184
- }
185
- /**
186
- * Filter out links with no start or end nodes
187
- */
188
- function filterLinksWithNoEndNodes(links, nodesMap) {
189
- const newLinks = [];
190
- for (let i = 0; i < links.length; i++) {
191
- const link = links[i];
192
- if (nodesMap.get(link.startNode) && nodesMap.get(link.endNode)) {
193
- newLinks.push(link);
194
- }
195
- }
196
- return newLinks;
197
- }
198
- /**
199
- * Pulls out the dimensions from an array of bounds
200
- */
201
- function getDimensionsFromBounds(bounds) {
202
- const dims = [];
203
- for (let i = 0; i < bounds.length; i++) {
204
- dims.push({ w: bounds[i].w, h: bounds[i].h });
205
- }
206
- return dims;
207
- }
208
- /**
209
- * Returns the center position of the node or link
210
- * For links, draws a straight line between the centers of the start/end node
211
- * and returns the center of that line
212
- */
213
- function getFocusedItemBounds(focusedItemInfo, bounds, links, nodeIdToIndexMap, linkIdToIndexMap) {
214
- if (focusedItemInfo.isNode) {
215
- const idx = nodeIdToIndexMap.get(focusedItemInfo.id);
216
- // Return the first element if cannot find the Node index
217
- return bounds[idx || 0];
218
- }
219
- else {
220
- // Center of a straight line between start/end node centers
221
- const link = links[linkIdToIndexMap.get(focusedItemInfo.id) || 0];
222
- const startNB = bounds[nodeIdToIndexMap.get(link.startNode) || 0];
223
- const endNB = bounds[nodeIdToIndexMap.get(link.endNode) || 0];
224
- const startNCenter = { x: startNB.x + startNB.w / 2, y: startNB.y + startNB.h / 2 };
225
- const endNCenter = { x: endNB.x + endNB.w / 2, y: endNB.y + endNB.h / 2 };
226
- const minX = Math.min(startNCenter.x, endNCenter.x);
227
- const minY = Math.min(startNCenter.y, endNCenter.y);
228
- return {
229
- x: minX,
230
- y: minY,
231
- w: Math.abs(startNCenter.x - endNCenter.x),
232
- h: Math.abs(startNCenter.y - endNCenter.y)
233
- };
234
- }
235
- }
236
- /**
237
- * Combines the node and link ids into one array
238
- */
239
- function combineIds(nodeIds, linkIds) {
240
- const combinedIds = [];
241
- if (nodeIds) {
242
- for (let i = 0; i < nodeIds.length; i++) {
243
- combinedIds.push(nodeIds[i]);
244
- }
245
- }
246
- if (linkIds) {
247
- for (let i = 0; i < linkIds.length; i++) {
248
- combinedIds.push(linkIds[i]);
249
- }
250
- }
251
- return combinedIds;
252
- }
253
- /**
254
- * Returns the bounds of the diagram content
255
- */
256
- function getContentBounds(nodeBounds, labelBounds) {
257
- if (nodeBounds.length === 0)
258
- return { x: 0, w: Infinity, y: 0, h: Infinity };
259
- let minX = Infinity;
260
- let minY = Infinity;
261
- let maxX = -Infinity;
262
- let maxY = -Infinity;
263
- let dims;
264
- for (let i = 0; i < nodeBounds.length; i++) {
265
- dims = nodeBounds[i];
266
- minX = dims.x < minX ? dims.x : minX;
267
- minY = dims.y < minY ? dims.y : minY;
268
- maxX = dims.x + dims.w > maxX ? dims.x + dims.w : maxX;
269
- maxY = dims.y + dims.h > maxY ? dims.y + dims.h : maxY;
270
- }
271
- if (labelBounds) {
272
- minX = labelBounds.x < minX ? labelBounds.x : minX;
273
- minY = labelBounds.y < minY ? labelBounds.y : minY;
274
- maxX = labelBounds.x + labelBounds.w > maxX ? labelBounds.x + labelBounds.w : maxX;
275
- maxY = labelBounds.y + labelBounds.h > maxY ? labelBounds.y + labelBounds.h : maxY;
276
- }
277
- return { x: minX, w: maxX - minX, y: minY, h: maxY - minY };
278
- }
279
- /**
280
- * Returns the label bounds
281
- */
282
- function getAllLabelBounds(labelDims, nodes, links, nodeLabelPos = [], linkLabelPos = [], isRTL) {
283
- if (nodeLabelPos.length === 0 && linkLabelPos.length === 0)
284
- return undefined;
285
- let minX = Infinity;
286
- let minY = Infinity;
287
- let maxX = -Infinity;
288
- let maxY = -Infinity;
289
- let dims, label;
290
- for (let i = 0; i < nodeLabelPos.length; i++) {
291
- label = nodeLabelPos[i];
292
- if (!label)
293
- continue;
294
- dims = getLabelBounds(label, labelDims.get(nodes[i].id), isRTL);
295
- minX = dims.x < minX ? dims.x : minX;
296
- minY = dims.y < minY ? dims.y : minY;
297
- maxX = dims.x + dims.w > maxX ? dims.x + dims.w : maxX;
298
- maxY = dims.y + dims.h > maxY ? dims.y + dims.h : maxY;
299
- }
300
- for (let i = 0; i < linkLabelPos.length; i++) {
301
- label = linkLabelPos[i];
302
- if (!label)
303
- continue;
304
- dims = getLabelBounds(label, labelDims.get(links[i].id), isRTL);
305
- minX = dims.x < minX ? dims.x : minX;
306
- minY = dims.y < minY ? dims.y : minY;
307
- maxX = dims.x + dims.w > maxX ? dims.x + dims.w : maxX;
308
- maxY = dims.y + dims.h > maxY ? dims.y + dims.h : maxY;
309
- }
310
- return { x: minX, w: maxX - minX, y: minY, h: maxY - minY };
311
- }
312
- function getLabelBounds(label, dims, isRTL) {
313
- const labelPos = getLabelPosition(dims, label, isRTL);
314
- const isRotating = label.rotationAngle;
315
- if (!isRotating) {
316
- return { x: labelPos.x, y: labelPos.y, w: dims.width, h: dims.height };
317
- }
318
- else {
319
- // Find the 4 corners of the label bounds relative to the rotation point
320
- const rotationPoint = label.rotationPoint
321
- ? label.rotationPoint
322
- : { x: dims.width / 2, y: dims.height / 2 };
323
- const angle = label.rotationAngle;
324
- const topLeft = getCoordsRelToRotPoint({ x: 0, y: 0 }, rotationPoint);
325
- const topRight = getCoordsRelToRotPoint({ x: dims.width, y: 0 }, rotationPoint);
326
- const bottomLeft = getCoordsRelToRotPoint({ x: 0, y: dims.height }, rotationPoint);
327
- const bottomRight = getCoordsRelToRotPoint({ x: dims.width, y: dims.height }, rotationPoint);
328
- const rotTopLeft = rotatePoint(topLeft, angle);
329
- const rotBotLeft = rotatePoint(bottomLeft, angle);
330
- const rotTopRight = rotatePoint(topRight, angle);
331
- const rotBotRight = rotatePoint(bottomRight, angle);
332
- const points = [rotTopLeft, rotBotLeft, rotTopRight, rotBotRight].map((pos) => {
333
- return {
334
- x: pos.x + labelPos.x + rotationPoint.x,
335
- y: pos.y + labelPos.y + rotationPoint.y
336
- };
337
- });
338
- return getBoundsFromPoints(points);
339
- }
340
- }
341
- function getCoordsRelToRotPoint(labelPoint, rotPoint) {
342
- return { x: labelPoint.x - rotPoint.x, y: labelPoint.y - rotPoint.y };
343
- }
344
- function rotatePoint(pos, angle) {
345
- return {
346
- x: pos.x * Math.cos(angle) - pos.y * Math.sin(angle),
347
- y: pos.x * Math.sin(angle) + pos.y * Math.cos(angle)
348
- };
349
- }
350
- function getBoundsFromPoints(points) {
351
- let minX = points[0].x;
352
- let minY = points[0].y;
353
- let maxX = points[0].x;
354
- let maxY = points[0].y;
355
- for (let i = 1; i < points.length; i++) {
356
- const point = points[i];
357
- if (point.x < minX)
358
- minX = point.x;
359
- else if (point.x > maxX)
360
- maxX = point.x;
361
- if (point.y < minY)
362
- minY = point.y;
363
- else if (point.y > maxY)
364
- maxY = point.y;
365
- }
366
- return {
367
- x: minX,
368
- y: minY,
369
- w: maxX - minX,
370
- h: maxY - minY
371
- };
372
- }
373
- /**
374
- * Returns the position of the label
375
- * @param dimensions
376
- * @param positionProps
377
- * @returns position of the label
378
- */
379
- function getLabelPosition(dimensions, positionProps, isRTL) {
380
- const position = positionProps.position;
381
- const hAlign = positionProps.hAlign ? positionProps.hAlign : isRTL ? 'right' : 'left';
382
- const vAlign = positionProps.vAlign;
383
- let x, y;
384
- if (hAlign === 'center') {
385
- x = position.x - dimensions.width / 2;
386
- }
387
- else if (hAlign === 'right') {
388
- x = position.x - dimensions.width;
389
- }
390
- else {
391
- x = position.x;
392
- }
393
- if (vAlign === 'middle') {
394
- y = position.y - dimensions.height / 2;
395
- }
396
- else if (vAlign === 'bottom') {
397
- y = position.y - dimensions.height;
398
- }
399
- else if (vAlign === 'baseline') {
400
- y = position.y + dimensions.y;
401
- }
402
- else {
403
- y = position.y;
404
- }
405
- return {
406
- x: x,
407
- y: y
408
- };
409
- }
410
- /**
411
- * Converts centerX,Y coordinates to panX,Y coordinates
412
- */
413
- function centerXYToPanXY(centerX, centerY, zoom, width, height) {
414
- return {
415
- panX: width / 2 - centerX * zoom,
416
- panY: height / 2 - centerY * zoom
417
- };
418
- }
419
- /**
420
- * Converts panX,Y coordinates to centerX,Y coordinates
421
- */
422
- function panXYToCenterXY(panX, panY, zoom, width, height) {
423
- return {
424
- centerX: (width / 2 - panX) / zoom,
425
- centerY: (height / 2 - panY) / zoom
426
- };
427
- }
428
- /**
429
- * Compares if two ItemInfo are equal
430
- */
431
- function isEqualItem(item1, item2) {
432
- return item1?.id === item2?.id && item1?.isNode === item2?.isNode;
433
- }
434
- /**
435
- * Returns the item info of the data-oj-node or data-oj-link attribute for a given element.
436
- */
437
- function getNavigableInfo(element, rootElementRef) {
438
- let isNode = false;
439
- let elem = element;
440
- let navigableId;
441
- while (!navigableId) {
442
- navigableId = elem.dataset['node'];
443
- if (navigableId) {
444
- isNode = true;
445
- }
446
- else {
447
- navigableId = elem.dataset['link'];
448
- }
449
- if (!navigableId) {
450
- if (elem.parentElement && elem.parentElement !== rootElementRef?.current) {
451
- elem = elem.parentElement;
452
- }
453
- else {
454
- break;
455
- }
456
- }
457
- }
458
- return {
459
- id: navigableId,
460
- isNode: isNode
461
- };
462
- }
463
- /**
464
- * Returns the aria label
465
- */
466
- function getItemAriaLabel(translations, supportsSelection, isSelected, accessibleLabel) {
467
- return generateAriaLabel(translations, accessibleLabel || '', {
468
- isSelected: !supportsSelection ? undefined : isSelected
469
- });
470
- }
471
- /**
472
- * Returns the zoom to fit zoom level
473
- */
474
- function getZoomToFitZoom(width, height, contentBounds) {
475
- const zoomX = (width - 2 * ZOOM_TO_FIT_PADDING) / contentBounds.w;
476
- const zoomY = (height - 2 * ZOOM_TO_FIT_PADDING) / contentBounds.h;
477
- return Math.min(zoomX, zoomY);
478
- }
479
- /**
480
- * Constrains the zoom level
481
- */
482
- function constrainZoom(zoom, minZoom, maxZoom) {
483
- let newZoom = Math.max(minZoom, zoom);
484
- newZoom = Math.min(maxZoom, newZoom);
485
- return newZoom;
486
- }
487
- /**
488
- * Returns the font props for a node or link
489
- */
490
- function _getFontProps(styles) {
491
- const fontProps = {};
492
- if (!styles)
493
- return fontProps;
494
- if (styles.fontFamily)
495
- fontProps.fontFamily = styles.fontFamily;
496
- if (styles.fontSize)
497
- fontProps.fontSize = styles.fontSize;
498
- if (styles.fontStyle)
499
- fontProps.fontStyle = styles.fontStyle;
500
- if (styles.fontWeight)
501
- fontProps.fontWeight = styles.fontWeight;
502
- return fontProps;
503
- }
504
- /**
505
- * Returns the panX, panY, and zoom when zooming and centering an item
506
- */
507
- function zoomAndCenterItemFromInfo(info, linkIdToDataMap, bounds, nodeIdToIndex, width, height, maxZoom) {
508
- const isNode = info.isNode;
509
- let totalBounds;
510
- if (isNode) {
511
- const nodeIndex = nodeIdToIndex.get(info.id);
512
- totalBounds = bounds[nodeIndex];
513
- }
514
- else {
515
- const link = linkIdToDataMap.get(info.id);
516
- const startNodeBounds = bounds[nodeIdToIndex.get(link.startNode)];
517
- const endNodeBounds = bounds[nodeIdToIndex.get(link.endNode)];
518
- const minX = Math.min(startNodeBounds.x, endNodeBounds.x);
519
- const minY = Math.min(startNodeBounds.y, endNodeBounds.y);
520
- const maxX = Math.max(startNodeBounds.x + startNodeBounds.w, endNodeBounds.x + startNodeBounds.w);
521
- const maxY = Math.max(startNodeBounds.y + startNodeBounds.h, endNodeBounds.y + endNodeBounds.h);
522
- totalBounds = { x: minX, y: minY, w: maxX - minX, h: maxY - minY };
523
- }
524
- return getPanZoomToCenterNode(totalBounds, maxZoom, width, height);
525
- }
526
- /**
527
- * Returns the pan and zoom values in order
528
- * to center a node or link
529
- */
530
- function getPanZoomToCenterNode(bounds, maxZoom, width, height) {
531
- const zoomX = (width - 2 * ZOOM_TO_FIT_PADDING) / bounds.w;
532
- const zoomY = (height - 2 * ZOOM_TO_FIT_PADDING) / bounds.h;
533
- const zoom = Math.min(zoomX, zoomY, maxZoom);
534
- const cX = bounds.w / 2 + bounds.x;
535
- const cY = bounds.h / 2 + bounds.y;
536
- return { centerX: cX, centerY: cY, zoom: zoom };
537
- }
538
-
539
- const DiagramNodeElement = ({ id, state, previousState, position, activeId, nodeRenderer, onNodeSizeChanged, nodeIndex, data, accessibleLabel, isDimmed, supportsSelection }) => {
540
- const { nodeStyles, dimmedItemStyle } = itemStyles;
541
- const context = {
542
- state: state,
543
- previousState: previousState,
544
- data: data
545
- };
546
- const translations = useTranslationBundle('@oracle/oraclejet-preact');
547
- const ref = useRef(null);
548
- // TODO JET-62472 change to one resize observer function
549
- const optionsRef = useRef({ box: 'border-box' });
550
- useResizeObserver(ref, useCallback((entry) => {
551
- const boxSize = entry.borderBoxSize;
552
- const width = boxSize[0].inlineSize;
553
- const height = boxSize[0].blockSize;
554
- onNodeSizeChanged(width, height, nodeIndex);
555
- }, [nodeIndex, onNodeSizeChanged]), optionsRef.current);
556
- return (jsx("div", { ref: ref, class: classNames([nodeStyles, isDimmed ? dimmedItemStyle : undefined]), "data-node": id, role: "img", "aria-label": getItemAriaLabel(translations, supportsSelection, state.selected, accessibleLabel), style: {
557
- top: position.y,
558
- left: position.x
559
- }, id: state.focused || state.hovered ? activeId : undefined, children: nodeRenderer(context) }, id));
560
- };
561
-
562
- function DiagramNodeLayer({ nodes, states, previousStates, nodeRenderer, nodeBounds, onNodeSizeChanged, supportsSelection }) {
563
- return (jsx("div", { class: layerStyles, children: nodes.map((node, i) => {
564
- // this is for initial render before the layout function so render all nodes at 0,0
565
- const position = nodeBounds && nodeBounds[i] ? { x: nodeBounds[i].x, y: nodeBounds[i].y } : { x: 0, y: 0 };
566
- const state = {
567
- selected: states.selectedNodeIds.includes(node.id),
568
- focused: states.focusedId === node.id,
569
- hovered: states.hoveredId === node.id,
570
- zoom: states.zoom
571
- };
572
- const previousState = {
573
- selected: previousStates.selectedNodeIds.includes(node.id),
574
- focused: previousStates.focusedId === node.id,
575
- hovered: previousStates.hoveredId === node.id,
576
- zoom: previousStates.zoom
577
- };
578
- return (jsx(DiagramNodeElement, { id: node.id, position: position, state: state, previousState: previousState, isDimmed: states.highlightedIds.length !== 0 && !states.highlightedIds.includes(node.id), activeId: states.activeId, nodeRenderer: nodeRenderer, onNodeSizeChanged: onNodeSizeChanged, nodeIndex: i, accessibleLabel: node.accessibleLabel, data: node, supportsSelection: supportsSelection }));
579
- }) }));
580
- }
581
-
582
- const DiagramLinkElement = ({ id, state, previousState, activeId, data, linkRenderer, accessibleLabel, isDimmed, supportsSelection }) => {
583
- const translations = useTranslationBundle('@oracle/oraclejet-preact');
584
- const { dimmedItemStyle, linkStyles } = itemStyles;
585
- const context = {
586
- state: state,
587
- previousState: previousState,
588
- data: data
589
- };
590
- return (jsx("g", { id: state.focused ? activeId : undefined, "aria-label": getItemAriaLabel(translations, supportsSelection, state.selected, accessibleLabel), "data-link": id, role: "img", class: classNames([linkStyles, isDimmed && dimmedItemStyle]), children: linkRenderer(context) }, id));
591
- };
592
-
593
- function DiagramLinkLayer({ links, states, previousStates, linkRenderer, width, height, supportsSelection }) {
594
- return (jsx("svg", { class: layerStyles, width: width, height: height, children: links.map((link) => {
595
- const state = {
596
- selected: states.selectedLinkIds.includes(link.id),
597
- focused: states.focusedId === link.id,
598
- hovered: states.hoveredId === link.id,
599
- zoom: states.zoom
600
- };
601
- const previousState = {
602
- selected: previousStates.selectedLinkIds.includes(link.id),
603
- focused: previousStates.focusedId === link.id,
604
- hovered: previousStates.hoveredId === link.id,
605
- zoom: previousStates.zoom
606
- };
607
- return (jsx(DiagramLinkElement, { id: link.id, label: link.label, state: state, previousState: previousState, isDimmed: states.highlightedIds.length !== 0 && !states.highlightedIds.includes(link.id), activeId: states.activeId, accessibleLabel: link.accessibleLabel, data: link, linkRenderer: linkRenderer, supportsSelection: supportsSelection }));
608
- }) }));
609
- }
610
-
611
- const DiagramLabel = ({ text, position, styles, dimensions, isRTL }) => {
612
- const { labelStyle, labelBorderStyle } = labelStyles;
613
- const labelPosition = getLabelPosition(dimensions, position, isRTL);
614
- const labelRotation = getLabelRotation(position);
615
- return (jsx("div", { class: classNames([labelStyle, styles && styles.borderColor && labelBorderStyle]), style: {
616
- top: labelPosition.y,
617
- left: labelPosition.x,
618
- ...styles,
619
- ...labelRotation
620
- }, children: text }));
621
- };
622
- /**
623
- * Returns the label rotation props
624
- * @param position
625
- * @returns rotation props
626
- */
627
- function getLabelRotation(position) {
628
- const rotationAngle = position.rotationAngle;
629
- const rotationPoint = position.rotationPoint;
630
- const rotation = {};
631
- if (rotationAngle) {
632
- rotation['transform'] = `rotate(${rotationAngle}deg)`;
633
- }
634
- if (rotationPoint) {
635
- rotation['transform-origin'] = `${rotationPoint.x}px ${rotationPoint.y}px`;
636
- }
637
- return rotation;
638
- }
639
-
640
- function DiagramLabelLayer({ labelPosition, itemProps, labelDimensions }) {
641
- const { direction } = useUser();
642
- return (jsx("div", { class: layerStyles, children: itemProps.map((item, i) => {
643
- if (item.label && labelPosition[i]) {
644
- return (jsx(DiagramLabel, { styles: item.labelStyle, text: item.label, position: labelPosition[i], dimensions: labelDimensions.get(item.id), isRTL: direction === 'rtl' }));
645
- }
646
- return undefined;
647
- }) }));
648
- }
649
-
650
- function DiagramLayers({ nodes, links, nodeRenderer, linkRenderer, states, previousStates, nodeBounds, onNodeSizeChanged, width, height, nodeLabelPositions, linkLabelPositions, labelDimensions, supportsSelection }) {
651
- return (jsxs(Fragment, { children: [links.length > 0 && linkRenderer && width !== Infinity && (jsx(DiagramLinkLayer, { links: links, states: states, previousStates: previousStates, linkRenderer: linkRenderer, width: width, height: height, supportsSelection: supportsSelection })), jsx(DiagramNodeLayer, { nodes: nodes, nodeBounds: nodeBounds, states: states, previousStates: previousStates, nodeRenderer: nodeRenderer, onNodeSizeChanged: onNodeSizeChanged, supportsSelection: supportsSelection }), labelDimensions ? (jsxs("div", { children: [nodeLabelPositions ? (jsx(DiagramLabelLayer, { labelPosition: nodeLabelPositions, itemProps: nodes, labelDimensions: labelDimensions })) : undefined, links && linkLabelPositions ? (jsx(DiagramLabelLayer, { labelPosition: linkLabelPositions, itemProps: links, labelDimensions: labelDimensions })) : undefined] })) : undefined] }));
652
- }
653
-
654
- function DiagramPanZoomContainer({ centerX, centerY, children, zoom, width, height }) {
655
- const panValues = centerXYToPanXY(centerX, centerY, zoom, width, height);
656
- return (jsx("div", { class: panZoomStyles, style: {
657
- //TODO JET-62471 look at using matrices or both in transform instead
658
- translate: `${panValues.panX}px ${panValues.panY}px`,
659
- transform: `scale(${zoom})`
660
- }, children: children }));
661
- }
662
-
663
- /**
664
- * @license
665
- * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
666
- * The Universal Permissive License (UPL), Version 1.0
667
- * as shown at https://oss.oracle.com/licenses/upl/
668
- * @ignore
669
- */
670
- /**
671
- * Returns the node data based on node info in a diagram.
672
- * @param itemInfo
673
- * @returns
674
- */
675
- function getNodeDetailFromInfo(itemInfo, nodes) {
676
- let node;
677
- for (let i = 0; i < nodes.length; i++) {
678
- node = nodes[i];
679
- if (itemInfo.id === node.id) {
680
- return node;
681
- }
682
- }
683
- return undefined;
684
- }
685
- /**
686
- * Returns the link data based on link info in a diagram.
687
- * @param itemInfo
688
- * @returns
689
- */
690
- function getLinkDetailFromInfo(itemInfo, links) {
691
- let link;
692
- for (let i = 0; i < links.length; i++) {
693
- link = links[i];
694
- if (itemInfo.id === link.id) {
695
- return link;
696
- }
697
- }
698
- return undefined;
699
- }
700
- /**
701
- * Creates a map with key node id and value node bounds
702
- */
703
- function createNodeBoundsMap(nodes, bounds) {
704
- const nodeBounds = new Map();
705
- for (let i = 0; i < nodes.length; i++) {
706
- nodeBounds.set(nodes[i].id, bounds[i]);
707
- }
708
- return nodeBounds;
709
- }
710
- /**
711
- * Utility method that adds sorting attributes of each link to an array
712
- */
713
- function addSortingAttributes(node, listOfLinks, nodes, nodeBounds) {
714
- let angle, distance, direction;
715
- const linkDetail = [];
716
- for (let i = 0; i < listOfLinks.length; i++) {
717
- const link = listOfLinks[i];
718
- angle = _getClockwiseAngle(node, link, nodes, nodeBounds);
719
- distance = _getNodesDistance(link, nodes, nodeBounds);
720
- direction = _getLinkDirection(node, link);
721
- linkDetail.push({ id: link.id, angle: angle, distance: distance, direction: direction });
722
- }
723
- return linkDetail;
724
- }
725
- /**
726
- * Returns a function that compares two link around a given node
727
- * The links are analyzed by angle, distance from the node and direction. The sorting attributes are added to the links before sorting.
728
- */
729
- function getLinkComparator() {
730
- return (link1, link2) => {
731
- const { angle: linkAngle1, distance: linkDistance1, direction: linkDirection1 } = link1;
732
- const { angle: linkAngle2, distance: linkDistance2, direction: linkDirection2 } = link2;
733
- let res = -1;
734
- if (!_anglesAreEqualWithinTolerance(linkAngle1, linkAngle2) && linkAngle1 > linkAngle2) {
735
- res = 1;
736
- }
737
- else if (_anglesAreEqualWithinTolerance(linkAngle1, linkAngle2)) {
738
- //check distance and direction
739
- if (linkDistance1 > linkDistance2) {
740
- res = 1;
741
- }
742
- else if (linkDistance2 == linkDistance1 && linkDirection1 > linkDirection2) {
743
- //outgoing to ingoing
744
- res = 1;
745
- }
746
- else if (linkDistance2 == linkDistance1 && linkDirection1 == linkDirection2) {
747
- res = 0;
748
- }
749
- }
750
- return res;
751
- };
752
- }
753
- /**
754
- * Returns navigable links for a given node
755
- */
756
- function getNavigableLinksForNodeId(nodeId, listOfLinks) {
757
- const links = [];
758
- listOfLinks.forEach((link) => {
759
- const startId = link.startNode;
760
- const endId = link.endNode;
761
- if (startId == nodeId || endId == nodeId)
762
- links.push(link);
763
- });
764
- return links;
765
- }
766
- /**
767
- * Get the clockwise angle for the link given node as a center
768
- */
769
- function _getClockwiseAngle(node, link, nodes, nodeBounds) {
770
- //find opposite node
771
- let currNode;
772
- let startNode = nodes[0];
773
- let endNode = nodes[0];
774
- for (let i = 0; i < nodes.length; i++) {
775
- currNode = nodes[i];
776
- if (currNode.id === link.startNode) {
777
- startNode = currNode;
778
- }
779
- else if (currNode.id === link.endNode) {
780
- endNode = currNode;
781
- }
782
- }
783
- const oppositeNode = node.id == startNode.id ? endNode : startNode;
784
- const p1 = _getNodeCenter(node, nodeBounds);
785
- const p2 = _getNodeCenter(oppositeNode, nodeBounds);
786
- let angle = Math.atan2(p2.y - p1.y, p2.x - p1.x);
787
- angle = angle < 0 ? angle + Math.PI * 2 : angle;
788
- return angle;
789
- }
790
- /**
791
- * Get the distance between start and end nodes for the given link
792
- */
793
- function _getNodesDistance(link, nodes, nodeBounds) {
794
- let currNode;
795
- let startNode = nodes[0];
796
- let endNode = nodes[0];
797
- for (let i = 0; i < nodes.length; i++) {
798
- currNode = nodes[i];
799
- if (currNode.id === link.startNode) {
800
- startNode = currNode;
801
- }
802
- else if (currNode.id === link.endNode) {
803
- endNode = currNode;
804
- }
805
- }
806
- const p1 = _getNodeCenter(startNode, nodeBounds);
807
- const p2 = _getNodeCenter(endNode, nodeBounds);
808
- return Math.sqrt(Math.pow(p2.x - p1.x, 2) + Math.pow(p2.y - p1.y, 2));
809
- }
810
- /**
811
- * Get link direction for the given node. 1 if the node is the end node
812
- * and 0 if it is the start node
813
- */
814
- function _getLinkDirection(node, link) {
815
- if (link.endNode === node.id) {
816
- return 1;
817
- }
818
- return 0;
819
- }
820
- /**
821
- * Get node center
822
- */
823
- function _getNodeCenter(node, nodeBounds) {
824
- const nodeBB = nodeBounds.get(node.id);
825
- return { x: nodeBB.x + nodeBB.w / 2, y: nodeBB.y + nodeBB.h / 2 };
826
- }
827
- /**
828
- * Calculates the angle weighted by distance
829
- */
830
- function calcDistanceAngleWeighted(objectBB, currentBB, direction) {
831
- // Variables used for calculating penalties when calculating distances between two navigables.
832
- const optimalAngle1 = (15 / 180) * Math.PI;
833
- const optimalAngle2 = (40 / 180) * Math.PI;
834
- const suboptimalAnglePenalty1 = 2; // multiplier to the distance
835
- const suboptimalAnglePenalty2 = 6; // multiplier to the distance
836
- const objCenterX = objectBB.x + objectBB.w / 2;
837
- const objCenterY = objectBB.y + objectBB.h / 2;
838
- const curCenterX = currentBB.x + currentBB.w / 2;
839
- const curCenterY = currentBB.y + currentBB.h / 2;
840
- const x_dist = Math.abs(objCenterX - curCenterX);
841
- const y_dist = Math.abs(objCenterY - curCenterY);
842
- const angle = Math.atan2(y_dist, x_dist);
843
- let distance = Math.sqrt(x_dist * x_dist + y_dist * y_dist);
844
- // Angle penalty based on direction
845
- if ((angle > optimalAngle1 && (direction == 'right' || direction == 'left')) ||
846
- (angle < Math.PI / 2 - optimalAngle1 && (direction == 'up' || direction == 'down'))) {
847
- if ((angle > optimalAngle2 && (direction == 'right' || direction == 'left')) ||
848
- (angle < Math.PI / 2 - optimalAngle2 && (direction == 'up' || direction == 'down'))) {
849
- distance *= suboptimalAnglePenalty2;
850
- }
851
- else {
852
- distance *= suboptimalAnglePenalty1;
853
- }
854
- }
855
- return distance;
856
- }
857
- /**
858
- * Given a direction, is a certain node is a valid destination to navigate to
859
- */
860
- function isValidDestination(objBB, curBB, direction, compareCenters) {
861
- // compare the centers of the navigable and to be valid, the navigable must be in the right direction
862
- // without tolerance
863
- if (compareCenters) {
864
- const objCenterX = objBB.x + 0.5 * objBB.w;
865
- const curCenterX = curBB.x + 0.5 * curBB.w;
866
- const objCenterY = objBB.y + 0.5 * objBB.h;
867
- const curCenterY = curBB.y + 0.5 * curBB.h;
868
- switch (direction) {
869
- case 'up':
870
- return objCenterY < curCenterY;
871
- case 'down':
872
- return objBB.y > curCenterY;
873
- case 'right':
874
- return objCenterX > curCenterX;
875
- case 'left':
876
- return objCenterX < curCenterX;
877
- }
878
- return true;
879
- }
880
- switch (direction) {
881
- case 'up':
882
- return objBB.y < curBB.y || _areEqualWithinTolerance(objBB.y, curBB.y);
883
- case 'down':
884
- return objBB.y > curBB.y || _areEqualWithinTolerance(objBB.y, curBB.y);
885
- case 'right':
886
- return objBB.x > curBB.x || _areEqualWithinTolerance(objBB.x, curBB.x);
887
- case 'left':
888
- return objBB.x < curBB.x || _areEqualWithinTolerance(objBB.x, curBB.x);
889
- }
890
- return true;
891
- }
892
- /**
893
- * Returns true if two nodes are in contact
894
- */
895
- function calcInContact(objRect, curRect, direction) {
896
- switch (direction) {
897
- case 'up':
898
- return (_isVerticallyAligned(objRect, curRect) &&
899
- (curRect.y <= objRect.y + objRect.h ||
900
- _areEqualWithinTolerance(curRect.y, objRect.y + objRect.h)));
901
- case 'down':
902
- return (_isVerticallyAligned(objRect, curRect) &&
903
- (objRect.y <= curRect.y + curRect.h ||
904
- _areEqualWithinTolerance(objRect.y, curRect.y + curRect.h)));
905
- case 'right':
906
- return (_isHorizontallyAligned(objRect, curRect) &&
907
- (objRect.x <= curRect.x + curRect.w ||
908
- _areEqualWithinTolerance(objRect.x, curRect.x + curRect.w)));
909
- case 'left':
910
- return (_isHorizontallyAligned(objRect, curRect) &&
911
- (curRect.x <= objRect.x + objRect.w ||
912
- _areEqualWithinTolerance(curRect.x, objRect.x + objRect.w)));
913
- }
914
- return false;
915
- }
916
- function _isVerticallyAligned(rect1, rect2) {
917
- return ((rect1.x >= rect2.x && rect1.x <= rect2.x + rect2.w) ||
918
- (rect2.x >= rect1.x && rect2.x <= rect1.x + rect1.w));
919
- }
920
- function _isHorizontallyAligned(rect1, rect2) {
921
- return ((rect1.y >= rect2.y && rect1.y <= rect2.y + rect2.h) ||
922
- (rect2.y >= rect1.y && rect2.y <= rect1.y + rect1.h));
923
- }
924
- function _areEqualWithinTolerance(a, b) {
925
- return Math.abs(a - b) <= 0.0000001;
926
- }
927
- function _anglesAreEqualWithinTolerance(a1, a2) {
928
- let res = Math.abs(a1 - a2) <= 0.0000001;
929
- if (!res) {
930
- res = Math.abs(Math.PI * 2 + Math.min(a1, a2) - Math.max(a1, a2)) <= 0.0000001;
931
- }
932
- return res;
933
- }
934
-
935
- /**
936
- * @license
937
- * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
938
- * The Universal Permissive License (UPL), Version 1.0
939
- * as shown at https://oss.oracle.com/licenses/upl/
940
- * @ignore
941
- */
942
- function useDiagramNavigation(nodes, links, bounds, linkIdToDataMap) {
943
- const currentKeyboardFocusNode = useRef();
944
- const nodeBoundsById = createNodeBoundsMap(nodes, bounds);
945
- function getNextNavigableNode(direction, compareCenters, current, listOfObjects) {
946
- if (!listOfObjects)
947
- return current;
948
- if (!current)
949
- return listOfObjects[0];
950
- const currBB = nodeBoundsById.get(current.id);
951
- if (!currBB)
952
- return listOfObjects[0];
953
- let nextObject = current; //init to current object
954
- let nextDistance = Number.MAX_VALUE;
955
- // If an object is in contact it overrules all other attributes
956
- // Only another in contact object with better attributes will have higher precedence
957
- let nextInContact = false;
958
- // Whether or not the for loop has encountered the current object
959
- let hasFoundCurrent = false;
960
- let object, inContact, distance;
961
- for (let i = 0; i < listOfObjects.length; i++) {
962
- object = listOfObjects[i];
963
- if (object === current) {
964
- hasFoundCurrent = true;
965
- continue;
966
- }
967
- const objBB = nodeBoundsById.get(object.id);
968
- if (!objBB)
969
- continue;
970
- const objBounds = { x: objBB.x, y: objBB.y, w: objBB.w, h: objBB.h };
971
- const currBounds = { x: currBB.x, y: currBB.y, w: currBB.w, h: currBB.h };
972
- if (!isValidDestination(objBounds, currBounds, direction, compareCenters))
973
- continue;
974
- inContact = calcInContact(objBounds, currBounds, direction);
975
- if (nextInContact && !inContact)
976
- continue;
977
- distance = calcDistanceAngleWeighted(objBounds, currBounds, direction);
978
- if (distance == 0 && !hasFoundCurrent)
979
- continue;
980
- // Make sure incontact flag have highest precedence
981
- if ((!nextInContact && inContact) ||
982
- (distance < nextDistance && ((nextInContact && inContact) || !nextInContact))) {
983
- nextDistance = distance;
984
- nextObject = object;
985
- nextInContact = inContact;
986
- }
987
- }
988
- return nextObject;
989
- }
990
- /**
991
- * Get next navigavle link depending on direction - clockwise or conter clockwise.
992
- * The decision is made based on location of nodes centers rather than link paths or link angles.
993
- */
994
- function getNextNavigableLink(direction, listOfNodes, currentLink, listOfLinks) {
995
- if (!listOfLinks)
996
- return currentLink;
997
- if (!currentLink)
998
- return listOfLinks[0];
999
- const keyboardFocusNode = currentKeyboardFocusNode.current;
1000
- const nodeId = keyboardFocusNode ? keyboardFocusNode : currentLink.startNode;
1001
- const node = getNodeDetailFromInfo({ id: nodeId, isNode: true }, listOfNodes);
1002
- if (!node)
1003
- return currentLink;
1004
- const adjLinks = getNavigableLinksForNodeId(node.id, listOfLinks);
1005
- listOfLinks = adjLinks;
1006
- const linksWithSortingAttributes = addSortingAttributes(node, listOfLinks, listOfNodes, nodeBoundsById);
1007
- linksWithSortingAttributes.sort(getLinkComparator());
1008
- //clockwise direction
1009
- const bForward = direction == 'down' ? true : false;
1010
- let index = 0;
1011
- for (let i = 0; i < linksWithSortingAttributes.length; i++) {
1012
- const link = linksWithSortingAttributes[i];
1013
- if (link.id === currentLink.id) {
1014
- if (bForward)
1015
- index = i == linksWithSortingAttributes.length - 1 ? 0 : i + 1;
1016
- else
1017
- index = i == 0 ? linksWithSortingAttributes.length - 1 : i - 1;
1018
- break;
1019
- }
1020
- }
1021
- return linksWithSortingAttributes[index];
1022
- }
1023
- /**
1024
- * Returns the link detail when a node to link navigation occurs
1025
- */
1026
- function navigateFromNodeToLink(listOfLinks, event, node) {
1027
- if (!node)
1028
- return undefined;
1029
- const adjLinks = getNavigableLinksForNodeId(node.id, listOfLinks);
1030
- if (adjLinks.length < 1)
1031
- return undefined;
1032
- let link = adjLinks[0];
1033
- const nodeBB = nodeBoundsById.get(node.id);
1034
- let object, currNode, currNodeBB, currNodeBBCenterX;
1035
- const nodeCenterX = nodeBB.x + nodeBB.w / 2;
1036
- currentKeyboardFocusNode.current = node.id;
1037
- for (let i = 0; i < adjLinks.length; i++) {
1038
- object = adjLinks[i];
1039
- currNode = object.startNode === node.id ? object.endNode : object.startNode;
1040
- currNodeBB = nodeBoundsById.get(currNode);
1041
- currNodeBBCenterX = currNodeBB.x + currNodeBB.w / 2;
1042
- if (
1043
- // equivalent of ≤ and ≥
1044
- (event.altKey && event.code === 'Comma' && currNodeBBCenterX <= nodeCenterX) ||
1045
- (event.altKey && event.code === 'Period' && currNodeBBCenterX >= nodeCenterX)) {
1046
- link = object;
1047
- break;
1048
- }
1049
- }
1050
- return { id: link.id, isNode: false };
1051
- }
1052
- /**
1053
- * Returns the node detail when a link to node navigation occurs
1054
- */
1055
- function navigateFromLinkToNode(linkId, event) {
1056
- const key = event.key;
1057
- const linkData = linkIdToDataMap.get(linkId);
1058
- const startNodeBB = nodeBoundsById.get(linkData.startNode);
1059
- const endNodeBB = nodeBoundsById.get(linkData.endNode);
1060
- if (!startNodeBB || !endNodeBB)
1061
- return undefined;
1062
- const startNodeCenterX = startNodeBB.x + startNodeBB.w / 2;
1063
- const endNodeCenterX = endNodeBB.x + endNodeBB.w / 2;
1064
- const newNode = (endNodeCenterX > startNodeCenterX && key === 'ArrowRight') ||
1065
- (endNodeCenterX < startNodeCenterX && key === 'ArrowLeft')
1066
- ? linkData.endNode
1067
- : linkData.startNode;
1068
- return { id: newNode, isNode: true };
1069
- }
1070
- return {
1071
- isNode: (itemInfo) => {
1072
- let node, link;
1073
- for (let i = 0; i < nodes.length; i++) {
1074
- node = nodes[i];
1075
- link = links[i];
1076
- if (itemInfo.id === node.id) {
1077
- return true;
1078
- }
1079
- if (itemInfo.id === link.id) {
1080
- return true;
1081
- }
1082
- }
1083
- return false;
1084
- },
1085
- getNextNavigableNode,
1086
- getNextNavigableLink,
1087
- navigateFromNodeToLink,
1088
- navigateFromLinkToNode
1089
- };
1090
- }
1091
-
1092
- const DEFAULT_KB_PAN = 15;
1093
- const DEFAULT_KB_ZOOM = 0.15;
1094
- function useEvents(touchResponse, initNode, nodes, links, nodeBounds, linkIdToDataMap, nodeIdToDataMap, nodeIdToIndexMap, width, height, maxZoom, onItemHover, onItemFocus, kbPanCallback, kbZoomCallback) {
1095
- const { getNextNavigableNode, getNextNavigableLink, navigateFromNodeToLink, navigateFromLinkToNode } = useDiagramNavigation(nodes, links, nodeBounds, linkIdToDataMap);
1096
- const [focusedItemInfo, setfocusedItemInfo] = useState({
1097
- id: initNode.id,
1098
- isNode: true
1099
- });
1100
- const [hoveredItemInfo, sethoveredItemInfo] = useState();
1101
- const activeId = useRef();
1102
- const cancelEvent = (event) => {
1103
- event.preventDefault();
1104
- event.stopPropagation();
1105
- };
1106
- const keyDownHandler = (event) => {
1107
- const key = event.key;
1108
- let eventConsumed = false;
1109
- // tabbing out of the diagram
1110
- if (key === 'TAB') {
1111
- return;
1112
- }
1113
- // if this a switch from node to link or vice versa
1114
- if (isChangeItemType(event)) {
1115
- const nextItemInfo = focusedItemInfo.isNode
1116
- ? navigateFromNodeToLink(links, event, getNodeDetailFromInfo(focusedItemInfo, nodes))
1117
- : navigateFromLinkToNode(focusedItemInfo.id, event);
1118
- handleKeyboardInput(nextItemInfo);
1119
- eventConsumed = true;
1120
- }
1121
- else if (isNavigationEvent(key)) {
1122
- const nextItemInfo = handleKeyboardNavigationEvent(key);
1123
- handleKeyboardInput(nextItemInfo);
1124
- eventConsumed = true;
1125
- }
1126
- else {
1127
- switch (key) {
1128
- case 'PageUp': {
1129
- kbPanCallback &&
1130
- kbPanCallback({
1131
- dPan: {
1132
- dx: event.shiftKey ? -DEFAULT_KB_PAN : 0,
1133
- dy: event.shiftKey ? 0 : -DEFAULT_KB_PAN
1134
- }
1135
- });
1136
- eventConsumed = true;
1137
- break;
1138
- }
1139
- case 'PageDown': {
1140
- kbPanCallback &&
1141
- kbPanCallback({
1142
- dPan: {
1143
- dx: event.shiftKey ? DEFAULT_KB_PAN : 0,
1144
- dy: event.shiftKey ? 0 : DEFAULT_KB_PAN
1145
- }
1146
- });
1147
- eventConsumed = true;
1148
- eventConsumed = true;
1149
- break;
1150
- }
1151
- case '+':
1152
- case '=': {
1153
- kbZoomCallback && kbZoomCallback({ dZoom: DEFAULT_KB_ZOOM });
1154
- eventConsumed = true;
1155
- break;
1156
- }
1157
- case '-':
1158
- case '_': {
1159
- kbZoomCallback && kbZoomCallback({ dZoom: -DEFAULT_KB_ZOOM });
1160
- eventConsumed = true;
1161
- break;
1162
- }
1163
- case '0': {
1164
- if (event.ctrlKey && event.altKey) {
1165
- const { centerX, centerY, zoom } = zoomAndCenterItemFromInfo(focusedItemInfo, linkIdToDataMap, nodeBounds, nodeIdToIndexMap, width, height, maxZoom);
1166
- kbZoomCallback && kbZoomCallback({ nZoom: zoom });
1167
- kbPanCallback && kbPanCallback({ nPan: { cx: centerX, cy: centerY } });
1168
- }
1169
- else {
1170
- // zoom to fit
1171
- kbZoomCallback && kbZoomCallback({});
1172
- kbPanCallback && kbPanCallback({ center: true });
1173
- }
1174
- eventConsumed = true;
1175
- }
1176
- }
1177
- }
1178
- if (eventConsumed) {
1179
- cancelEvent(event);
1180
- }
1181
- };
1182
- const keyUpHandler = (event) => {
1183
- const key = event.code;
1184
- switch (key) {
1185
- case 'Tab': {
1186
- updatefocusedItemInfo({
1187
- ...focusedItemInfo,
1188
- isCurrent: true,
1189
- isFocusVisible: true
1190
- });
1191
- break;
1192
- }
1193
- }
1194
- };
1195
- const blurHandler = () => {
1196
- if (hoveredItemInfo != null || focusedItemInfo.isCurrent) {
1197
- onItemFocus?.({ id: undefined, data: undefined });
1198
- }
1199
- const itemInfo = { ...focusedItemInfo, isCurrent: false, isFocusVisible: false };
1200
- setfocusedItemInfo(itemInfo);
1201
- };
1202
- const onHover = (event) => {
1203
- const itemInfo = getNavigableInfo(event.target);
1204
- if (itemInfo && !isEqualItem(itemInfo, hoveredItemInfo)) {
1205
- sethoveredItemInfo({ ...itemInfo, isCurrent: true });
1206
- activeId.current = getRandomId();
1207
- setfocusedItemInfo({ ...focusedItemInfo, isCurrent: false });
1208
- if (itemInfo.isNode) {
1209
- onItemHover?.({
1210
- id: itemInfo.id,
1211
- type: 'node',
1212
- data: nodeIdToDataMap.get(itemInfo.id)
1213
- });
1214
- }
1215
- else {
1216
- onItemHover?.({
1217
- id: itemInfo.id,
1218
- type: 'link',
1219
- data: linkIdToDataMap.get(itemInfo.id)
1220
- });
1221
- }
1222
- }
1223
- };
1224
- const onHoverLeave = () => {
1225
- sethoveredItemInfo(undefined);
1226
- activeId.current = undefined;
1227
- onItemHover?.({ id: undefined, data: undefined });
1228
- };
1229
- const hoverHandlers = useVisHover(onHover, undefined, onHoverLeave, touchResponse);
1230
- const pointerUpHandler = (event) => {
1231
- const itemInfo = getNavigableInfo(event.target);
1232
- if (itemInfo.id != null) {
1233
- setfocusedItemInfo(itemInfo);
1234
- activeId.current = getRandomId();
1235
- }
1236
- };
1237
- function updatefocusedItemInfo(itemInfo) {
1238
- if (itemInfo.isNode) {
1239
- onItemFocus?.({
1240
- id: itemInfo.id,
1241
- type: 'node',
1242
- data: nodeIdToDataMap.get(itemInfo.id)
1243
- });
1244
- }
1245
- else {
1246
- onItemFocus?.({
1247
- id: itemInfo.id,
1248
- type: 'link',
1249
- data: linkIdToDataMap.get(itemInfo.id)
1250
- });
1251
- }
1252
- activeId.current = getRandomId();
1253
- setfocusedItemInfo(itemInfo);
1254
- }
1255
- function handleKeyboardInput(item) {
1256
- if (!item)
1257
- return;
1258
- if (!isEqualItem(item, focusedItemInfo)) {
1259
- item.isCurrent = true;
1260
- item.isFocusVisible = true;
1261
- if (hoveredItemInfo) {
1262
- sethoveredItemInfo({ ...hoveredItemInfo, isCurrent: false });
1263
- }
1264
- updatefocusedItemInfo(item);
1265
- }
1266
- }
1267
- function isNavigationEvent(key) {
1268
- switch (key) {
1269
- case 'ArrowDown':
1270
- case 'ArrowUp':
1271
- case 'ArrowRight':
1272
- case 'ArrowLeft': {
1273
- return true;
1274
- }
1275
- }
1276
- return false;
1277
- }
1278
- function isChangeItemType(event) {
1279
- const key = event.code;
1280
- // check if switching from node to link
1281
- // equivalent of ≤ and ≥
1282
- if (focusedItemInfo.isNode && event.altKey && (key === 'Period' || key === 'Comma')) {
1283
- return true;
1284
- // check if switching from link to node
1285
- }
1286
- else if (!focusedItemInfo.isNode && (key === 'ArrowLeft' || key === 'ArrowRight')) {
1287
- return true;
1288
- }
1289
- return false;
1290
- }
1291
- function handleKeyboardNavigationEvent(key) {
1292
- let direction = 'down';
1293
- switch (key) {
1294
- case 'ArrowDown': {
1295
- direction = 'down';
1296
- break;
1297
- }
1298
- case 'ArrowUp': {
1299
- direction = 'up';
1300
- break;
1301
- }
1302
- case 'ArrowRight': {
1303
- direction = 'right';
1304
- break;
1305
- }
1306
- case 'ArrowLeft': {
1307
- direction = 'left';
1308
- break;
1309
- }
1310
- }
1311
- if (focusedItemInfo.isNode) {
1312
- const itemDetail = getNextNavigableNode(direction, true, getNodeDetailFromInfo(focusedItemInfo, nodes), nodes);
1313
- return itemDetail ? { id: itemDetail.id, isNode: true } : focusedItemInfo;
1314
- }
1315
- else {
1316
- const linkDetail = getLinkDetailFromInfo(focusedItemInfo, links);
1317
- const itemDetail = getNextNavigableLink(direction, nodes, linkDetail, links);
1318
- return itemDetail ? { id: itemDetail.id } : { id: focusedItemInfo.id };
1319
- }
1320
- }
1321
- return {
1322
- focusedItemInfo,
1323
- hoveredItemInfo,
1324
- activeId: activeId.current,
1325
- eventsProps: mergeProps(hoverHandlers, {
1326
- onKeyUp: keyUpHandler,
1327
- onKeyDown: keyDownHandler,
1328
- onBlur: blurHandler,
1329
- onPointerUp: pointerUpHandler
1330
- })
1331
- };
1332
- }
1333
-
1334
- /**
1335
- * Returns the datatip.
1336
- * @param text The text string for the diagram item.
1337
- * @param rootRef The ref for root of the diagram.
1338
- * @param focusedItemBoundsRef The ref for focused item bounds.
1339
- * @param focusedItemInfo The ItemInfo for focused item.
1340
- * @returns
1341
- */
1342
- const useDiagramDatatip = ({ touchResponse, datatip, focusedItemBoundsRef, focusedItemInfo, panState, zoom, width, nodesMap, linksMap, hoveredItem }) => {
1343
- const { direction } = useUser();
1344
- const isRtl = direction === 'rtl';
1345
- const datatipC = getDatatipContent(nodesMap, linksMap, focusedItemInfo, hoveredItem, datatip);
1346
- const elementBounds = focusedItemInfo?.isCurrent
1347
- ? {
1348
- x: focusedItemBoundsRef.current.x * zoom + panState.panX,
1349
- y: focusedItemBoundsRef.current.y * zoom + panState.panY,
1350
- width: focusedItemBoundsRef.current.w * zoom,
1351
- height: focusedItemBoundsRef.current.h * zoom
1352
- }
1353
- : undefined;
1354
- const { datatipContent, datatipProps } = useDatatip({
1355
- content: datatipC?.content,
1356
- borderColor: datatipC?.borderColor,
1357
- placement: 'top-start',
1358
- offset: calculateOffset(isRtl, width, elementBounds),
1359
- anchor: focusedItemInfo?.isCurrent ? 'element' : 'pointer',
1360
- touchResponse
1361
- });
1362
- return { datatipContent: datatipContent, datatipProps: datatipProps };
1363
- };
1364
-
1365
- /**
1366
- * @license
1367
- * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
1368
- * Licensed under The Universal Permissive License (UPL), Version 1.0
1369
- * as shown at https://oss.oracle.com/licenses/upl/
1370
- * @ignore
1371
- */
1372
- const usePointerGesture = ({ captureTargetRef, numPointers = 1, onPointerGestureDown, onPointerGestureMove, onPointerGestureEnd, onExtraneousPointerDown, isDisabled = false }) => {
1373
- const activePointers = useRef([]);
1374
- if (isDisabled) {
1375
- activePointers.current = [];
1376
- }
1377
- const onPointerDown = (e) => {
1378
- activePointers.current.push(e);
1379
- if (activePointers.current.length === numPointers) {
1380
- onPointerGestureDown && onPointerGestureDown({ pointers: activePointers.current });
1381
- }
1382
- else if (activePointers.current.length > numPointers) {
1383
- onExtraneousPointerDown && onExtraneousPointerDown({ pointers: activePointers.current });
1384
- }
1385
- };
1386
- const onPointerMove = (e) => {
1387
- if (activePointers.current.length === 0)
1388
- return;
1389
- const index = activePointers.current.findIndex((pointerEvent) => pointerEvent.pointerId === e.pointerId);
1390
- if (index === -1)
1391
- return;
1392
- activePointers.current[index] = e;
1393
- if (activePointers.current.length === numPointers) {
1394
- activePointers.current.forEach((e) => captureTargetRef.current.setPointerCapture(e.pointerId));
1395
- onPointerGestureMove && onPointerGestureMove({ pointers: activePointers.current });
1396
- }
1397
- };
1398
- const onPointerUp = (e) => {
1399
- const index = activePointers.current.findIndex((pointerEvent) => pointerEvent.pointerId === e.pointerId);
1400
- if (index === -1)
1401
- return;
1402
- activePointers.current[index] = e;
1403
- if (activePointers.current.length === numPointers) {
1404
- onPointerGestureEnd && onPointerGestureEnd({ pointers: activePointers.current });
1405
- }
1406
- activePointers.current.splice(index, 1);
1407
- };
1408
- const onPointerCancel = onPointerUp;
1409
- const onPointerLeave = onPointerUp;
1410
- return isDisabled
1411
- ? {}
1412
- : {
1413
- onPointerDown,
1414
- onPointerMove,
1415
- onPointerUp,
1416
- onPointerCancel,
1417
- onPointerLeave
1418
- };
1419
- };
1420
-
1421
- /**
1422
- * @license
1423
- * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
1424
- * Licensed under The Universal Permissive License (UPL), Version 1.0
1425
- * as shown at https://oss.oracle.com/licenses/upl/
1426
- * @ignore
1427
- */
1428
- /**
1429
- * Whether point with coordinates are in the draggable region
1430
- */
1431
- const inDraggableRegion = (x, y, region) => {
1432
- if (!region)
1433
- return true;
1434
- const { xMin, xMax, yMin, yMax } = region;
1435
- return x >= xMin && x <= xMax && y >= yMin && y <= yMax;
1436
- };
1437
- /**
1438
- * Returns region offset
1439
- */
1440
- const getRegionOffset = (x, y, region) => {
1441
- if (!region)
1442
- return { regionOffsetX: x, regionOffsetY: y };
1443
- return { regionOffsetX: x - region.xMin, regionOffsetY: y - region.yMin };
1444
- };
1445
- const useDrag = ({ captureTargetRef, draggableRegion, onDragStart, onDragMove, onDragEnd, isDisabled = false }) => {
1446
- const inactiveState = { isDragging: false, x0: -1, y0: -1, regionOffsetX: -1, regionOffsetY: -1 };
1447
- const dragState = useRef(inactiveState);
1448
- const handlePointerEvent = (e, cb) => {
1449
- const { isDragging, x0, y0, regionOffsetX, regionOffsetY } = dragState.current;
1450
- if (!isDragging)
1451
- return;
1452
- const x = e.pageX;
1453
- const y = e.pageY;
1454
- cb && cb({ x, y, dx: x - x0, dy: y - y0, regionOffsetX, regionOffsetY, originalEvent: e });
1455
- };
1456
- const dragProps = usePointerGesture({
1457
- captureTargetRef,
1458
- numPointers: 1, // Only allow 1 pointer dragging
1459
- onExtraneousPointerDown: () => {
1460
- dragState.current = inactiveState;
1461
- },
1462
- onPointerGestureDown: ({ pointers: [e] }) => {
1463
- const x = e.pageX;
1464
- const y = e.pageY;
1465
- if (e.button !== 0 || !inDraggableRegion(x, y, draggableRegion))
1466
- return;
1467
- const { regionOffsetX, regionOffsetY } = getRegionOffset(x, y, draggableRegion);
1468
- dragState.current = { isDragging: true, x0: x, y0: y, regionOffsetX, regionOffsetY };
1469
- onDragStart && onDragStart({ x, y, regionOffsetX, regionOffsetY, originalEvent: e });
1470
- },
1471
- onPointerGestureMove: ({ pointers: [e] }) => {
1472
- handlePointerEvent(e, onDragMove);
1473
- },
1474
- onPointerGestureEnd: ({ pointers: [e] }) => {
1475
- handlePointerEvent(e, onDragEnd);
1476
- dragState.current = inactiveState;
1477
- }
1478
- });
1479
- return isDisabled ? {} : dragProps;
1480
- };
1481
-
1482
- const constrainPan = (previousPan, nextPan, panBounds, panDirection) => {
1483
- const panX = panDirection !== 'y' ? nextPan.panX : previousPan.panX;
1484
- const panY = panDirection !== 'x' ? nextPan.panY : previousPan.panY;
1485
- return {
1486
- panX: panX > panBounds.maxX || panX < panBounds.minX ? previousPan.panX : panX,
1487
- panY: panY > panBounds.maxY || panY < panBounds.minY ? previousPan.panY : panY
1488
- };
1489
- };
1490
- const pan = (previousPan, nextPan, panDirection, zoom, width, height, panBounds, onPanChange) => {
1491
- if (!panBounds) {
1492
- //On initial render before nodes are rendered
1493
- return { newPan: { panX: 0, panY: 0 } };
1494
- }
1495
- const newPan = constrainPan(previousPan, nextPan, panBounds, panDirection);
1496
- const isPanChanged = newPan.panX !== previousPan.panX || newPan.panY !== previousPan.panY;
1497
- const center = panXYToCenterXY(newPan.panX, newPan.panY, zoom, width, height);
1498
- isPanChanged &&
1499
- onPanChange &&
1500
- onPanChange({
1501
- centerX: center.centerX,
1502
- centerY: center.centerY
1503
- });
1504
- return { newPan };
1505
- };
1506
- const getPanBounds = (width, height, elemBounds, panType, zoom, minZoom, initPanZoomState) => {
1507
- const { x, y, w, h } = elemBounds;
1508
- let minX, maxX, minY, maxY;
1509
- if (panType === 'centerContent') {
1510
- minX = width / 2 - (w + x) * zoom;
1511
- minY = height / 2 - (h + y) * zoom;
1512
- maxX = width / 2 - x * zoom;
1513
- maxY = height / 2 - y * zoom;
1514
- }
1515
- else {
1516
- // panType equals fixed
1517
- const zoomRatio = zoom / minZoom;
1518
- // Find left corner of the content at min zoom and content is centered
1519
- const minZoomX = (width - w * minZoom) / 2 - x * minZoom;
1520
- const minZoomY = (height - h * minZoom) / 2 - y * minZoom;
1521
- // When we pan all the way to the right, the left corner of displayable area is 0,0 as in min zoom.
1522
- // When we pan all the way to the left, lets find the corner of the displayable area
1523
- const leftCornerX = width - width * zoomRatio;
1524
- const leftCornerY = height - height * zoomRatio;
1525
- // Now we have everything to calculate pan zoom constraints
1526
- minX = leftCornerX + minZoomX * zoomRatio;
1527
- minY = leftCornerY + minZoomY * zoomRatio;
1528
- maxX = minZoomX * zoomRatio;
1529
- maxY = minZoomY * zoomRatio;
1530
- }
1531
- const initZoom = initPanZoomState.zoom;
1532
- const initCenterX = initPanZoomState.centerX;
1533
- const initCenterY = initPanZoomState.centerY;
1534
- // If an initial panZoomState is set, should expand pan bounds to include it
1535
- let dx, dy;
1536
- if (initCenterX) {
1537
- const boundsX = initCenterX * initZoom - width / 2;
1538
- if (-boundsX * initZoom < minX) {
1539
- dx = minX - boundsX * initZoom;
1540
- minX -= dx;
1541
- maxX += dx;
1542
- }
1543
- else if (-boundsX * initZoom > maxX) {
1544
- dx = -boundsX * initZoom - maxX;
1545
- minX -= dx;
1546
- maxX += dx;
1547
- }
1548
- }
1549
- if (initCenterY) {
1550
- const boundsY = initCenterY * initZoom - height / 2;
1551
- if (-boundsY * initZoom < minY) {
1552
- dy = minY - boundsY * initZoom;
1553
- minY -= dy;
1554
- maxY += dy;
1555
- }
1556
- else if (-boundsY * initZoom > maxY) {
1557
- dy = -boundsY * initZoom - maxY;
1558
- minY -= dy;
1559
- maxY += dy;
1560
- }
1561
- }
1562
- return {
1563
- minX: minX,
1564
- maxX: maxX,
1565
- minY: minY,
1566
- maxY: maxY
1567
- };
1568
- };
1569
-
1570
- const useDragPan = ({ panProps, captureTargetRef, panBounds, width, height, zoom, onDragPanStart, onDragPanEnd }) => {
1571
- const prevPanState = useRef({ panX: 0, panY: 0 });
1572
- const initialPanState = useRef({ panX: 0, panY: 0 });
1573
- const dragProps = useDrag({
1574
- captureTargetRef,
1575
- onDragStart: () => {
1576
- const panValues = centerXYToPanXY(panProps.centerX, panProps.centerY, zoom, width, height);
1577
- initialPanState.current = {
1578
- panX: panValues.panX,
1579
- panY: panValues.panY
1580
- };
1581
- onDragPanStart && onDragPanStart();
1582
- },
1583
- onDragMove: ({ dx, dy }) => {
1584
- const nextPan = {
1585
- panX: initialPanState.current.panX + dx,
1586
- panY: initialPanState.current.panY + dy
1587
- };
1588
- const { newPan } = pan(prevPanState.current, nextPan, panProps.panDirection, zoom, width, height, panBounds, panProps.onPan);
1589
- prevPanState.current = newPan;
1590
- },
1591
- onDragEnd: ({ originalEvent }) => {
1592
- // If panning occurred, call preventDefault to prevent selection from occurring
1593
- if (initialPanState.current.panX !== prevPanState.current.panX ||
1594
- initialPanState.current.panY !== prevPanState.current.panY)
1595
- originalEvent.preventDefault();
1596
- onDragPanEnd && onDragPanEnd();
1597
- },
1598
- isDisabled: panProps.panning === 'off'
1599
- });
1600
- return dragProps;
1601
- };
1602
-
1603
- const PX_FACTOR_PER_LINE = 15; // Value used in Toolkit
1604
- const PX_FACTOR_PER_PAGE = 40; // Value copied from datagrid; this is not handled in Toolkit
1605
- const getNormalizedDelta = (e) => {
1606
- const { deltaX, deltaY, deltaMode } = e;
1607
- switch (deltaMode) {
1608
- case e.DOM_DELTA_PIXEL:
1609
- return { deltaX: -deltaX, deltaY: -deltaY };
1610
- case e.DOM_DELTA_LINE:
1611
- return { deltaX: -deltaX * PX_FACTOR_PER_LINE, deltaY: -deltaY * PX_FACTOR_PER_LINE };
1612
- case e.DOM_DELTA_PAGE:
1613
- return { deltaX: -deltaX * PX_FACTOR_PER_PAGE, deltaY: -deltaY * PX_FACTOR_PER_PAGE };
1614
- default:
1615
- return { deltaX: -deltaX, deltaY: -deltaY };
1616
- }
1617
- };
1618
- const useWheel = ({ onWheel: onWheelCallback, preventDefault = true, isDisabled = false }) => {
1619
- const onWheel = (e) => {
1620
- const { deltaX, deltaY } = getNormalizedDelta(e);
1621
- if (preventDefault)
1622
- e.preventDefault();
1623
- onWheelCallback({
1624
- x: e.offsetX,
1625
- y: e.offsetY,
1626
- deltaX,
1627
- deltaY,
1628
- ctrlKey: e.ctrlKey || e.metaKey
1629
- });
1630
- };
1631
- return isDisabled ? {} : { onWheel };
1632
- };
1633
-
1634
- /**
1635
- * @license
1636
- * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
1637
- * Licensed under The Universal Permissive License (UPL), Version 1.0
1638
- * as shown at https://oss.oracle.com/licenses/upl/
1639
- * @ignore
1640
- */
1641
- const ZOOM_INCREMENT = 0.05;
1642
- const zoom = (nextZoom, zoom, minZoom, maxZoom, onZoomChange) => {
1643
- const newZoom = nextZoom > maxZoom || nextZoom < minZoom ? zoom : nextZoom;
1644
- const isZoomChanged = newZoom !== zoom;
1645
- isZoomChanged &&
1646
- onZoomChange &&
1647
- onZoomChange({
1648
- zoomValue: newZoom
1649
- });
1650
- };
1651
-
1652
- /**
1653
- * @license
1654
- * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
1655
- * Licensed under The Universal Permissive License (UPL), Version 1.0
1656
- * as shown at https://oss.oracle.com/licenses/upl/
1657
- * @ignore
1658
- */
1659
- const useWheelZoom = ({ zooming, minZoom, maxZoom, zoomValue, onZoom }) => {
1660
- const wheelProps = useWheel({
1661
- onWheel: ({ deltaY }) => {
1662
- const newZoom = zoomValue * (1 + ZOOM_INCREMENT * deltaY);
1663
- zoom(newZoom, zoomValue, minZoom, maxZoom, onZoom);
1664
- },
1665
- isDisabled: zooming === 'off'
1666
- });
1667
- return wheelProps;
1668
- };
1669
-
1670
- /**
1671
- * @license
1672
- * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
1673
- * Licensed under The Universal Permissive License (UPL), Version 1.0
1674
- * as shown at https://oss.oracle.com/licenses/upl/
1675
- * @ignore
1676
- */
1677
- const getMidpoint = (p1, p2) => ({ x: (p1.x + p2.x) / 2, y: (p1.y + p2.y) / 2 });
1678
- const getDistance = (p1, p2) => Math.sqrt((p2.x - p1.x) ** 2 + (p2.y - p2.y) ** 2);
1679
- const usePinch = ({ captureTargetRef, onPinchZoomStart, onPinchZoomChange, onPinchZoomEnd, isDisabled = false }) => {
1680
- const origin = useRef({ x: -1, y: -1 });
1681
- const prevDistance = useRef(-1);
1682
- const reset = () => {
1683
- origin.current = { x: -1, y: -1 };
1684
- prevDistance.current = -1;
1685
- };
1686
- if (isDisabled)
1687
- reset();
1688
- const pinchProps = usePointerGesture({
1689
- captureTargetRef,
1690
- numPointers: 2, // Pinch gesture requires 2 pointers
1691
- onPointerGestureDown: ({ pointers: [pointer1, pointer2] }) => {
1692
- const p1 = { x: pointer1.offsetX, y: pointer1.offsetY };
1693
- const p2 = { x: pointer2.offsetX, y: pointer2.offsetY };
1694
- origin.current = getMidpoint(p1, p2);
1695
- prevDistance.current = getDistance(p1, p2);
1696
- onPinchZoomStart &&
1697
- onPinchZoomStart({
1698
- origin: origin.current,
1699
- delta: 0
1700
- });
1701
- },
1702
- onPointerGestureMove: ({ pointers: [pointer1, pointer2] }) => {
1703
- const p1 = { x: pointer1.offsetX, y: pointer1.offsetY };
1704
- const p2 = { x: pointer2.offsetX, y: pointer2.offsetY };
1705
- const distance = getDistance(p1, p2);
1706
- const delta = distance - prevDistance.current;
1707
- prevDistance.current = distance;
1708
- onPinchZoomChange &&
1709
- onPinchZoomChange({
1710
- origin: origin.current,
1711
- delta
1712
- });
1713
- },
1714
- onPointerGestureEnd: () => {
1715
- reset();
1716
- onPinchZoomEnd && onPinchZoomEnd();
1717
- }
1718
- });
1719
- return isDisabled ? {} : pinchProps;
1720
- };
1721
-
1722
- const usePinchZoom = ({ captureTargetRef, zooming, minZoom, maxZoom, zoomValue, onZoom }) => {
1723
- const pinchProps = usePinch({
1724
- captureTargetRef,
1725
- onPinchZoomChange: ({ delta }) => {
1726
- const newZoom = zoomValue * (1 + ZOOM_INCREMENT * delta);
1727
- zoom(newZoom, zoomValue, minZoom, maxZoom, onZoom);
1728
- },
1729
- isDisabled: zooming === 'off'
1730
- });
1731
- return pinchProps;
1732
- };
1733
-
1734
- const usePanZoom = ({ props, captureTargetRef, width, height, contentBounds }) => {
1735
- const [cursor, setCursor] = useState();
1736
- const zoomProps = getZoomProps(props, width, height, contentBounds);
1737
- const panProps = getPanProps(props, contentBounds);
1738
- const panBounds = useRef();
1739
- const prevZoom = useRef();
1740
- const panning = useRef();
1741
- const initPanZoomState = useRef({
1742
- zoom: props.zoomValue || 0,
1743
- centerX: props.centerX,
1744
- centerY: props.centerY
1745
- });
1746
- if (contentBounds.w !== Infinity &&
1747
- (zoomProps.zoomValue !== prevZoom.current || panProps.panning !== panning.current)) {
1748
- panBounds.current = getPanBounds(width, height, contentBounds, panProps.panning, zoomProps.zoomValue, zoomProps.minZoom, initPanZoomState.current);
1749
- prevZoom.current = zoomProps.zoomValue;
1750
- panning.current = panProps.panning;
1751
- }
1752
- const dragPanProps = useDragPan({
1753
- panProps: panProps,
1754
- captureTargetRef: captureTargetRef,
1755
- panBounds: panBounds.current,
1756
- zoom: zoomProps.zoomValue,
1757
- width,
1758
- height,
1759
- onDragPanStart: () => setCursor('grabbing'),
1760
- onDragPanEnd: () => setCursor('auto')
1761
- });
1762
- //dZoom or nZoom is required
1763
- const kbZoomCallback = (props) => {
1764
- const newZoom = props.dZoom
1765
- ? zoomProps.zoomValue + props.dZoom
1766
- : getZoomToFitZoom(width, height, contentBounds);
1767
- zoom(props.nZoom ? props.nZoom : newZoom, zoomProps.zoomValue, zoomProps.minZoom, zoomProps.maxZoom, zoomProps.onZoom);
1768
- };
1769
- const prevPanState = useRef({ panX: 0, panY: 0 });
1770
- // dPan or nPan is required
1771
- const kbPanCallback = (props) => {
1772
- let centerX;
1773
- let centerY;
1774
- if (props.center) {
1775
- centerX = contentBounds.x + contentBounds.w / 2;
1776
- centerY = contentBounds.y + contentBounds.h / 2;
1777
- }
1778
- else if (props.dPan) {
1779
- centerX = panProps.centerX + props.dPan.dx;
1780
- centerY = panProps.centerY + props.dPan.dy;
1781
- }
1782
- else {
1783
- centerX = props.nPan.cx;
1784
- centerY = props.nPan.cy;
1785
- }
1786
- const panValues = centerXYToPanXY(centerX, centerY, zoomProps.zoomValue, width, height);
1787
- const { newPan } = pan(prevPanState.current, panValues, panProps.panDirection, zoomProps.zoomValue, width, height, panBounds.current, panProps.onPan);
1788
- prevPanState.current = newPan;
1789
- };
1790
- const wheelZoomProps = useWheelZoom(zoomProps);
1791
- const pinchZoomProps = usePinchZoom({
1792
- captureTargetRef,
1793
- zooming: zoomProps.zooming,
1794
- minZoom: zoomProps.minZoom,
1795
- maxZoom: zoomProps.maxZoom,
1796
- zoomValue: zoomProps.zoomValue,
1797
- onZoom: zoomProps.onZoom
1798
- });
1799
- const panZoomProps = mergeProps(dragPanProps, wheelZoomProps, pinchZoomProps);
1800
- return {
1801
- panZoomProps,
1802
- cursor,
1803
- centerX: panProps.centerX,
1804
- centerY: panProps.centerY,
1805
- zoomValue: zoomProps.zoomValue,
1806
- kbPanCallback: panProps.panning !== 'off' ? kbPanCallback : undefined,
1807
- kbZoomCallback: zoomProps.zooming !== 'off' ? kbZoomCallback : undefined
1808
- };
1809
- };
1810
-
1811
- function useDiagramSelection({ selectedIds, selectionMode, nodeMap, linkMap, focusedItemInfo, onSelectionChange, rootRef }) {
1812
- const nodeIdToIndexMap = nodeMap.itemIdToIndexMap;
1813
- const nodeIndexToIdMap = nodeMap.itemIndexToIdMap;
1814
- const linkIdToIndexMap = linkMap.itemIdToIndexMap;
1815
- const linkIndexToIdMap = linkMap.itemIndexToIdMap;
1816
- const encodeNodeId = (id) => `N_${nodeIdToIndexMap.get(id)}`;
1817
- const decodeNodeId = (id) => nodeIndexToIdMap.get(Number(id.slice(2)));
1818
- const encodeLinkId = (id) => `L_${linkIdToIndexMap.get(id)}`;
1819
- const decodeLinkId = (id) => linkIndexToIdMap.get(Number(id.slice(2)));
1820
- const encodedNodesSelection = selectedIds.nodes ? selectedIds.nodes.map(encodeNodeId) : [];
1821
- const encodedLinksSelection = selectedIds.links ? selectedIds.links.map(encodeLinkId) : [];
1822
- const encodedSelection = [...encodedNodesSelection, ...encodedLinksSelection];
1823
- const idExtracter = (event) => {
1824
- // return encodeNodeId(id) or encodeLinkId(id) depending on node or link selection or undefined if clicked on empty space
1825
- const info = event.type === 'keyup'
1826
- ? focusedItemInfo
1827
- : getNavigableInfo(event.target, rootRef);
1828
- return info.id !== undefined
1829
- ? info.isNode
1830
- ? encodeNodeId(info.id)
1831
- : encodeLinkId(info.id)
1832
- : undefined;
1833
- };
1834
- const onEncodedSelectionChange = (detail) => {
1835
- const newSelectedNodeIds = detail.ids
1836
- .filter((encId) => encId[0] === 'N')
1837
- .map((encId) => decodeNodeId(encId));
1838
- const newSelectedLinkIds = detail.ids
1839
- .filter((encId) => encId[0] === 'L')
1840
- .map((encId) => decodeLinkId(encId));
1841
- const nodeData = newSelectedNodeIds.map((selectedId) => {
1842
- return nodeMap.itemIdToDataMap.get(selectedId);
1843
- });
1844
- const linkData = newSelectedLinkIds.map((selectedId) => {
1845
- return linkMap.itemIdToDataMap.get(selectedId);
1846
- });
1847
- return (onSelectionChange &&
1848
- onSelectionChange({
1849
- nodes: newSelectedNodeIds,
1850
- links: newSelectedLinkIds,
1851
- nodeData,
1852
- linkData
1853
- }));
1854
- };
1855
- const getDataById = (id) => {
1856
- let data;
1857
- if (id[0] === 'N') {
1858
- const nodeId = decodeNodeId(id);
1859
- data = nodeMap.itemIdToDataMap.get(nodeId);
1860
- }
1861
- else if (id[0] === 'L') {
1862
- const linkId = decodeLinkId(id);
1863
- data = linkMap.itemIdToDataMap.get(linkId);
1864
- }
1865
- return data;
1866
- };
1867
- const { selectionContent, selectionProps } = useSelection({
1868
- selection: encodedSelection,
1869
- idExtracter,
1870
- selectionMode,
1871
- getDataById,
1872
- onChange: onEncodedSelectionChange
1873
- });
1874
- return { selectionContent, selectionProps };
1875
- }
1876
-
1877
- function DiagramWithDimensions({ nodes = [], links = [], width, height, selectedIds = {}, selectionMode = 'none', layout, nodeRenderer, linkRenderer, onSelectionChange, onItemHover, onItemFocus, highlightedIds = {}, datatip, ...otherProps }) {
1878
- const focusedItemBoundsRef = useRef(null);
1879
- const rootRef = useRef(null);
1880
- //TODO JET-62563 change bounds to a MAP
1881
- const [bounds, setBounds] = useState([]);
1882
- const [combinedLabelBounds, setCombinedLabelBounds] = useState();
1883
- const { direction } = useUser();
1884
- const diagramNodes = nodes;
1885
- const nodeMap = createItemMap(diagramNodes);
1886
- const nodeIdToDataMap = nodeMap.itemIdToDataMap;
1887
- const diagramLinks = filterLinksWithNoEndNodes(links, nodeIdToDataMap);
1888
- const linkMap = createItemMap(diagramLinks);
1889
- const linkIdToDataMap = linkMap.itemIdToDataMap;
1890
- const resizeThrottling = useRef(false);
1891
- const newDimensions = getDimensionsFromBounds(bounds);
1892
- const { textMeasureContent, getTextDimensions } = useTextDimensions();
1893
- const labelDimensions = useRef(new Map());
1894
- const nodeLabelPosRef = useRef([]);
1895
- const linkLabelPosRef = useRef([]);
1896
- const contentBounds = getContentBounds(bounds, combinedLabelBounds);
1897
- const { panZoomProps, cursor, centerX, centerY, zoomValue, kbPanCallback, kbZoomCallback } = usePanZoom({
1898
- props: otherProps,
1899
- captureTargetRef: rootRef,
1900
- width: width,
1901
- height: height,
1902
- contentBounds
1903
- });
1904
- const { touchResponse, touchResponseStyle } = useVisTouchResponse({
1905
- type: 'auto',
1906
- supportsTouchDragGestures: otherProps.zooming === 'on' || (!!otherProps.panning && otherProps.panning !== 'off'),
1907
- rootRef
1908
- });
1909
- 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);
1910
- const { selectionProps, selectionContent } = useDiagramSelection({
1911
- selectedIds,
1912
- selectionMode,
1913
- nodeMap,
1914
- linkMap,
1915
- focusedItemInfo,
1916
- onSelectionChange,
1917
- rootRef
1918
- });
1919
- // This is for the datatip kb position
1920
- if (focusedItemInfo && bounds.length > 0) {
1921
- focusedItemBoundsRef.current = getFocusedItemBounds(focusedItemInfo, bounds, diagramLinks, nodeMap.itemIdToIndexMap, linkMap.itemIdToIndexMap);
1922
- }
1923
- const { datatipContent, datatipProps: { 'aria-describedby': datatipAriaDescribedby, ...datatipProps } } = useDiagramDatatip({
1924
- touchResponse,
1925
- datatip,
1926
- focusedItemInfo,
1927
- focusedItemBoundsRef,
1928
- panState: centerXYToPanXY(centerX, centerY, zoomValue, width, height),
1929
- zoom: zoomValue,
1930
- width: width,
1931
- nodesMap: nodeIdToDataMap,
1932
- linksMap: linkIdToDataMap,
1933
- hoveredItem: hoveredItemInfo
1934
- });
1935
- const style = {
1936
- width: width,
1937
- height: height,
1938
- cursor: cursor,
1939
- ...touchResponseStyle
1940
- };
1941
- const states = useRef();
1942
- const previousState = states.current // states.current is previous state
1943
- ? states.current
1944
- : {
1945
- selectedNodeIds: [],
1946
- selectedLinkIds: [],
1947
- focusedId: undefined,
1948
- hoveredId: undefined,
1949
- activeId: undefined,
1950
- highlightedIds: [],
1951
- zoom: 0
1952
- };
1953
- states.current = {
1954
- // update states to new state
1955
- selectedNodeIds: selectedIds.nodes ?? [],
1956
- selectedLinkIds: selectedIds.links ?? [],
1957
- focusedId: focusedItemInfo.isCurrent && focusedItemInfo.isFocusVisible ? focusedItemInfo.id : undefined,
1958
- hoveredId: hoveredItemInfo?.isCurrent ? hoveredItemInfo.id : undefined,
1959
- activeId,
1960
- highlightedIds: combineIds(highlightedIds.nodes, highlightedIds.links),
1961
- zoom: zoomValue
1962
- };
1963
- const mergedEventProps = mergeProps(panZoomProps, eventsProps, selectionProps, datatipProps);
1964
- // Called anytime node changes size
1965
- const onNodeSizeChanged = (nodeWidth, nodeHeight, idx) => {
1966
- newDimensions[idx] = { w: nodeWidth, h: nodeHeight };
1967
- if (resizeThrottling.current) {
1968
- return;
1969
- }
1970
- resizeThrottling.current = true;
1971
- // performs layout at the next available animation frame when all measurements should be ready
1972
- window.requestAnimationFrame(() => {
1973
- const { labelDims, layoutJSON } = constructLayoutJSON(diagramNodes, nodeIdToDataMap, linkIdToDataMap, newDimensions, width, height, getTextDimensions);
1974
- labelDimensions.current = labelDims;
1975
- const { nodePoints, nodeLabelPos, linkLabelPos } = deconstructLayoutJSON(layout(layoutJSON), diagramNodes, diagramLinks);
1976
- nodeLabelPosRef.current = nodeLabelPos;
1977
- linkLabelPosRef.current = linkLabelPos;
1978
- const nodeBounds = mergeDimensions(newDimensions, nodePoints);
1979
- setBounds(nodeBounds);
1980
- const labelBounds = getAllLabelBounds(labelDims, diagramNodes, diagramLinks, nodeLabelPos, linkLabelPos, direction === 'rtl');
1981
- setCombinedLabelBounds(labelBounds);
1982
- resizeThrottling.current = false;
1983
- });
1984
- };
1985
- return (jsxs("div", { ref: rootRef, class: outerStyles, ...mergedEventProps, style: style, tabIndex: 0, role: "application", "aria-label": otherProps['aria-label'], "aria-labelledby": otherProps['aria-labelledby'], "aria-describedby": merge([otherProps['aria-describedby'], datatipAriaDescribedby]), "aria-activedescendant": activeId, children: [getTextDimensions ? (jsx(DiagramPanZoomContainer, { centerX: centerX, centerY: centerY, zoom: zoomValue, width: width, height: height, children: jsx(DiagramLayers, { nodes: diagramNodes, links: diagramLinks, nodeRenderer: nodeRenderer, linkRenderer: linkRenderer, width: width, height: height, nodeBounds: bounds, states: states.current, previousStates: previousState, onNodeSizeChanged: onNodeSizeChanged, nodeLabelPositions: nodeLabelPosRef.current, linkLabelPositions: linkLabelPosRef.current, labelDimensions: labelDimensions.current, supportsSelection: selectionMode !== 'none' ||
1986
- !!(selectedIds?.nodes && selectedIds.nodes.length > 0) ||
1987
- !!(selectedIds?.links && selectedIds.links.length > 0) }) })) : undefined, textMeasureContent, datatipContent, selectionContent] }));
1988
- }
1989
-
1990
- /**
1991
- * Diagrams are used to display a set of nodes and the links between them.
1992
- */
1993
- function Diagram({ width, height, ...otherProps }) {
1994
- return otherProps.nodes && otherProps.nodes.length > 0 ? (jsx(TrackResizeContainer, { width: width, height: height, class: dimensionStyle, children: (width, height) => jsx(DiagramWithDimensions, { width: width, height: height, ...otherProps }) })) : null;
1995
- }
1996
-
1997
- export { Diagram as D };
1998
- //# sourceMappingURL=Diagram-15e246b6.js.map