@oracle/oraclejet-preact 17.1.0 → 17.1.1

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