@oracle/oraclejet-preact 18.1.5 → 18.1.6

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 (1758) hide show
  1. package/amd/BarChart-0ad4ca6d.js +2 -0
  2. package/amd/BarChart-0ad4ca6d.js.map +1 -0
  3. package/amd/BaseButton-c86afd54.js +2 -0
  4. package/amd/BaseButton-c86afd54.js.map +1 -0
  5. package/amd/BaseCardView-a1c5a21d.js +2 -0
  6. package/amd/BaseCardView-a1c5a21d.js.map +1 -0
  7. package/amd/BaseCardViewSelectionTest-36a03079.js +2 -0
  8. package/amd/BaseCardViewSelectionTest-36a03079.js.map +1 -0
  9. package/amd/BaseRichSelection-33a97275.js +2 -0
  10. package/amd/BaseRichSelection-33a97275.js.map +1 -0
  11. package/amd/Button-cb88d20f.js +2 -0
  12. package/amd/Button-cb88d20f.js.map +1 -0
  13. package/amd/ButtonSetButton-819e99a8.js +2 -0
  14. package/amd/ButtonSetButton-819e99a8.js.map +1 -0
  15. package/amd/ButtonSetIconButton-9f171b1e.js +2 -0
  16. package/amd/ButtonSetIconButton-9f171b1e.js.map +1 -0
  17. package/amd/ButtonSetItem-8a51cd2a.js +2 -0
  18. package/amd/ButtonSetItem-8a51cd2a.js.map +1 -0
  19. package/amd/CardFlexView-f7fdfac8.js +2 -0
  20. package/amd/CardFlexView-f7fdfac8.js.map +1 -0
  21. package/amd/CardGridView-b8a60fae.js +2 -0
  22. package/amd/CardGridView-b8a60fae.js.map +1 -0
  23. package/amd/Chart-79cfc878.js +2 -0
  24. package/amd/Chart-79cfc878.js.map +1 -0
  25. package/amd/Checkbox-49753599.js +2 -0
  26. package/amd/Checkbox-49753599.js.map +1 -0
  27. package/amd/CheckboxControl-c6a380b3.js +2 -0
  28. package/amd/CheckboxControl-c6a380b3.js.map +1 -0
  29. package/amd/CheckboxRadioField-1987c75d.js +2 -0
  30. package/amd/CheckboxRadioField-1987c75d.js.map +1 -0
  31. package/amd/CheckboxSet-05423d28.js +2 -0
  32. package/amd/CheckboxSet-05423d28.js.map +1 -0
  33. package/amd/CheckboxStyles.styles.css +6 -0
  34. package/amd/ClearIcon-d73689cc.js +2 -0
  35. package/amd/ClearIcon-d73689cc.js.map +1 -0
  36. package/amd/ComboChart-72eda15f.js +2 -0
  37. package/amd/ComboChart-72eda15f.js.map +1 -0
  38. package/amd/CompactUserAssistance-3799998f.js +2 -0
  39. package/amd/CompactUserAssistance-3799998f.js.map +1 -0
  40. package/amd/ComponentMessageContainer-cf186eeb.js +2 -0
  41. package/amd/ComponentMessageContainer-cf186eeb.js.map +1 -0
  42. package/amd/ConveyorBeltItem-e3002f4a.js +2 -0
  43. package/amd/ConveyorBeltItem-e3002f4a.js.map +1 -0
  44. package/amd/DatePicker-9115226e.js +2 -0
  45. package/amd/DatePicker-9115226e.js.map +1 -0
  46. package/amd/DatePickerHeader-a0da70a0.js +2 -0
  47. package/amd/DatePickerHeader-a0da70a0.js.map +1 -0
  48. package/amd/Diagram-14fa4924.js +2 -0
  49. package/amd/Diagram-14fa4924.js.map +1 -0
  50. package/amd/Dialog-896c0bfd.js +2 -0
  51. package/amd/Dialog-896c0bfd.js.map +1 -0
  52. package/amd/EmbeddedIconButton-3608bfb4.js +2 -0
  53. package/amd/EmbeddedIconButton-3608bfb4.js.map +1 -0
  54. package/amd/ExpandableList-daabc548.js +2 -0
  55. package/amd/ExpandableList-daabc548.js.map +1 -0
  56. package/amd/Gantt-7265d4ce.js +2 -0
  57. package/amd/Gantt-7265d4ce.js.map +1 -0
  58. package/amd/GroupLoadingIndicator-9fd33355.js +1 -1
  59. package/amd/IconButton-368fba34.js +2 -0
  60. package/amd/IconButton-368fba34.js.map +1 -0
  61. package/amd/IconMenuButton-3f3c2386.js +2 -0
  62. package/amd/IconMenuButton-3f3c2386.js.map +1 -0
  63. package/amd/IconProgressButton-11c44c28.js +2 -0
  64. package/amd/IconProgressButton-11c44c28.js.map +1 -0
  65. package/amd/IconSwitchButton-1a400cdf.js +2 -0
  66. package/amd/IconSwitchButton-1a400cdf.js.map +1 -0
  67. package/amd/IconToggleButton-ea46b246.js +2 -0
  68. package/amd/IconToggleButton-ea46b246.js.map +1 -0
  69. package/amd/Indexer-5df524f2.js +2 -0
  70. package/amd/Indexer-5df524f2.js.map +1 -0
  71. package/amd/InlineUserAssistance-a97e0011.js +2 -0
  72. package/amd/InlineUserAssistance-a97e0011.js.map +1 -0
  73. package/amd/InputDateMask-09989b51.js +2 -0
  74. package/amd/InputDateMask-09989b51.js.map +1 -0
  75. package/amd/InputDatePicker-03bdeb95.js +2 -0
  76. package/amd/InputDatePicker-03bdeb95.js.map +1 -0
  77. package/amd/InputPassword-57a5e072.js +2 -0
  78. package/amd/InputPassword-57a5e072.js.map +1 -0
  79. package/amd/InputText-a72eb1c3.js +2 -0
  80. package/amd/InputText-a72eb1c3.js.map +1 -0
  81. package/amd/Label-41b672b4.js +2 -0
  82. package/amd/Label-41b672b4.js.map +1 -0
  83. package/amd/LineAreaChart-3aff0c1a.js +2 -0
  84. package/amd/LineAreaChart-3aff0c1a.js.map +1 -0
  85. package/amd/Link-1f126248.js +2 -0
  86. package/amd/Link-1f126248.js.map +1 -0
  87. package/amd/LinkVariants.styles.css +2 -1
  88. package/amd/LinkVariants.styles2.css +2 -1
  89. package/amd/List-0da6ee9c.js +2 -0
  90. package/amd/List-0da6ee9c.js.map +1 -0
  91. package/amd/ListView-cdfac903.js +2 -0
  92. package/amd/ListView-cdfac903.js.map +1 -0
  93. package/amd/LoadMoreCollection-a6adbc3f.js +2 -0
  94. package/amd/LoadMoreCollection-a6adbc3f.js.map +1 -0
  95. package/amd/MenuButton-66e5430a.js +2 -0
  96. package/amd/MenuButton-66e5430a.js.map +1 -0
  97. package/amd/Message-d66cc7e9.js +2 -0
  98. package/amd/Message-d66cc7e9.js.map +1 -0
  99. package/amd/MessageToast-19703f73.js +2 -0
  100. package/amd/MessageToast-19703f73.js.map +1 -0
  101. package/amd/MonthView-67179db3.js +2 -0
  102. package/amd/MonthView-67179db3.js.map +1 -0
  103. package/amd/NumberInputText-e2cf1795.js +2 -0
  104. package/amd/NumberInputText-e2cf1795.js.map +1 -0
  105. package/amd/OverflowTabBar-1dd5c327.js +2 -0
  106. package/amd/OverflowTabBar-1dd5c327.js.map +1 -0
  107. package/amd/OverflowTabBarItem-f8128e3d.js +2 -0
  108. package/amd/OverflowTabBarItem-f8128e3d.js.map +1 -0
  109. package/amd/PRIVATE_BaseCardView.js +1 -1
  110. package/amd/PRIVATE_Chart.js +1 -1
  111. package/amd/PRIVATE_CheckboxControl.js +1 -1
  112. package/amd/PRIVATE_CheckboxRadioField.js +1 -1
  113. package/amd/PRIVATE_ClearIcon.js +1 -1
  114. package/amd/PRIVATE_DatePickerHeader.js +1 -1
  115. package/amd/PRIVATE_EmbeddedIconButton.js +1 -1
  116. package/amd/PRIVATE_IconSwitchButton.js +1 -1
  117. package/amd/PRIVATE_List.js +1 -1
  118. package/amd/PRIVATE_LoadMoreCollection.js +1 -1
  119. package/amd/PRIVATE_Message.js +1 -1
  120. package/amd/PRIVATE_MonthView.js +1 -1
  121. package/amd/PRIVATE_MonthYearGridView.js +1 -1
  122. package/amd/PRIVATE_RevealToggleIcon.js +1 -1
  123. package/amd/PRIVATE_RichSelectionCommon.js +1 -1
  124. package/amd/PRIVATE_SelectCommon.js +1 -1
  125. package/amd/PRIVATE_Table.js +1 -1
  126. package/amd/PRIVATE_TimeComponent.js +1 -1
  127. package/amd/PRIVATE_VirtualizedCollection.js +1 -1
  128. package/amd/PictoChart-98b892fb.js +2 -0
  129. package/amd/PictoChart-98b892fb.js.map +1 -0
  130. package/amd/ProgressButton-cd0c21df.js +2 -0
  131. package/amd/ProgressButton-cd0c21df.js.map +1 -0
  132. package/amd/RadioItem-1a02d3dc.js +2 -0
  133. package/amd/RadioItem-1a02d3dc.js.map +1 -0
  134. package/amd/RadioSet-94d12876.js +2 -0
  135. package/amd/RadioSet-94d12876.js.map +1 -0
  136. package/amd/RemovableNavigationListItem-1f69907c.js +2 -0
  137. package/amd/RemovableNavigationListItem-1f69907c.js.map +1 -0
  138. package/amd/RemovableTabBarItem-5c240801.js +2 -0
  139. package/amd/RemovableTabBarItem-5c240801.js.map +1 -0
  140. package/amd/RevealToggleIcon-c22626da.js +2 -0
  141. package/amd/RevealToggleIcon-c22626da.js.map +1 -0
  142. package/amd/ScatterChart-e6f8d49a.js +2 -0
  143. package/amd/ScatterChart-e6f8d49a.js.map +1 -0
  144. package/amd/SelectMultiple-a159ccbf.js +2 -0
  145. package/amd/SelectMultiple-a159ccbf.js.map +1 -0
  146. package/amd/SelectSingle-e3d0d8d2.js +2 -0
  147. package/amd/SelectSingle-e3d0d8d2.js.map +1 -0
  148. package/amd/SplitMenuButton-a2001b04.js +2 -0
  149. package/amd/SplitMenuButton-a2001b04.js.map +1 -0
  150. package/amd/Table-f5ebf3d4.js +2 -0
  151. package/amd/Table-f5ebf3d4.js.map +1 -0
  152. package/amd/TableView-e8cab364.js +2 -0
  153. package/amd/TableView-e8cab364.js.map +1 -0
  154. package/amd/TagCloud-39552a78.js +2 -0
  155. package/amd/TagCloud-39552a78.js.map +1 -0
  156. package/amd/TextArea-0ec1a311.js +2 -0
  157. package/amd/TextArea-0ec1a311.js.map +1 -0
  158. package/amd/TextAreaAutosize-8cac0a54.js +2 -0
  159. package/amd/TextAreaAutosize-8cac0a54.js.map +1 -0
  160. package/amd/Theme-redwood/theme.css +209 -209
  161. package/amd/Theme-stable/theme.css +415 -415
  162. package/amd/TimeComponentCanvas2D-82ebf0c7.js +2 -0
  163. package/amd/TimeComponentCanvas2D-82ebf0c7.js.map +1 -0
  164. package/amd/ToggleButton-f8845804.js +2 -0
  165. package/amd/ToggleButton-f8845804.js.map +1 -0
  166. package/amd/UNSAFE_BarChart/__test__/BarChart.spec.js +1 -1
  167. package/amd/UNSAFE_BarChart.js +1 -1
  168. package/amd/UNSAFE_BaseButton.js +1 -1
  169. package/amd/UNSAFE_Button.js +1 -1
  170. package/amd/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +1 -1
  171. package/amd/UNSAFE_ButtonSetButton.js +1 -1
  172. package/amd/UNSAFE_ButtonSetIconButton.js +1 -1
  173. package/amd/UNSAFE_ButtonSetItem.js +1 -1
  174. package/amd/UNSAFE_CardFlexView.js +1 -1
  175. package/amd/UNSAFE_CardGridView.js +1 -1
  176. package/amd/UNSAFE_Checkbox/themes/CheckboxStyles.css.js +1 -1
  177. package/amd/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js +1 -1
  178. package/amd/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js.map +1 -1
  179. package/amd/UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js +1 -1
  180. package/amd/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js +1 -1
  181. package/amd/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js.map +1 -1
  182. package/amd/UNSAFE_Checkbox/themes/stable/CheckboxVariants.css.js +1 -1
  183. package/amd/UNSAFE_Checkbox.js +1 -1
  184. package/amd/UNSAFE_CheckboxItem.js +1 -1
  185. package/amd/UNSAFE_CheckboxItem.js.map +1 -1
  186. package/amd/UNSAFE_CheckboxSet.js +1 -1
  187. package/amd/UNSAFE_CheckboxSet.js.map +1 -1
  188. package/amd/UNSAFE_ComboChart.js +1 -1
  189. package/amd/UNSAFE_ComponentMessage.js +1 -1
  190. package/amd/UNSAFE_ConveyorBelt.js +1 -1
  191. package/amd/UNSAFE_DatePicker.js +1 -1
  192. package/amd/UNSAFE_Diagram.js +1 -1
  193. package/amd/UNSAFE_Dialog.js +1 -1
  194. package/amd/UNSAFE_ExpandableList.js +1 -1
  195. package/amd/UNSAFE_Gantt.js +1 -1
  196. package/amd/UNSAFE_IconButton.js +1 -1
  197. package/amd/UNSAFE_IconMenuButton.js +1 -1
  198. package/amd/UNSAFE_IconProgressButton.js +1 -1
  199. package/amd/UNSAFE_IconToggleButton.js +1 -1
  200. package/amd/UNSAFE_Indexer.js +1 -1
  201. package/amd/UNSAFE_InputDateMask.js +1 -1
  202. package/amd/UNSAFE_InputDatePicker.js +1 -1
  203. package/amd/UNSAFE_InputPassword.js +1 -1
  204. package/amd/UNSAFE_InputSensitiveText.js +1 -1
  205. package/amd/UNSAFE_InputText.js +1 -1
  206. package/amd/UNSAFE_InputTimeMask.js +1 -1
  207. package/amd/UNSAFE_Label.js +1 -1
  208. package/amd/UNSAFE_LabelledLink.js +1 -1
  209. package/amd/UNSAFE_LineAreaChart.js +1 -1
  210. package/amd/UNSAFE_Link/themes/LinkStyles.css.js +1 -1
  211. package/amd/UNSAFE_Link.js +1 -1
  212. package/amd/UNSAFE_ListView.js +1 -1
  213. package/amd/UNSAFE_MenuButton.js +1 -1
  214. package/amd/UNSAFE_MessageBanner.js +1 -1
  215. package/amd/UNSAFE_MessageToast.js +1 -1
  216. package/amd/UNSAFE_NavigationList.js +1 -1
  217. package/amd/UNSAFE_NavigationListCommon.js +1 -1
  218. package/amd/UNSAFE_NumberInputText.js +1 -1
  219. package/amd/UNSAFE_OverflowTabBar.js +1 -1
  220. package/amd/UNSAFE_PictoChart.js +1 -1
  221. package/amd/UNSAFE_ProgressButton.js +1 -1
  222. package/amd/UNSAFE_RadioItem.js +1 -1
  223. package/amd/UNSAFE_RadioSet.js +1 -1
  224. package/amd/UNSAFE_RichCheckboxSet.js +1 -1
  225. package/amd/UNSAFE_RichCheckboxSet.js.map +1 -1
  226. package/amd/UNSAFE_RichRadioSet.js +1 -1
  227. package/amd/UNSAFE_RichRadioSet.js.map +1 -1
  228. package/amd/UNSAFE_RichSelectionItem.js +1 -1
  229. package/amd/UNSAFE_RichSelectionItem.js.map +1 -1
  230. package/amd/UNSAFE_ScatterChart.js +1 -1
  231. package/amd/UNSAFE_SelectMultiple.js +1 -1
  232. package/amd/UNSAFE_SelectSingle.js +1 -1
  233. package/amd/UNSAFE_Sheet/__test__/Sheet.spec.js +1 -1
  234. package/amd/UNSAFE_SplitMenuButton.js +1 -1
  235. package/amd/UNSAFE_TabBar.js +1 -1
  236. package/amd/UNSAFE_TabBarCommon.js +1 -1
  237. package/amd/UNSAFE_TabBarMixed.js +1 -1
  238. package/amd/UNSAFE_TableView.js +1 -1
  239. package/amd/UNSAFE_TagCloud.js +1 -1
  240. package/amd/UNSAFE_TextArea.js +1 -1
  241. package/amd/UNSAFE_TextAreaAutosize.js +1 -1
  242. package/amd/UNSAFE_ToggleButton.js +1 -1
  243. package/amd/UNSAFE_Toolbar/tests/Toolbar.spec.js +1 -1
  244. package/amd/UNSAFE_UserAssistance.js +1 -1
  245. package/amd/UNSAFE_VirtualizedListView.js +1 -1
  246. package/amd/VirtualizedCollection-63223f5e.js +2 -0
  247. package/amd/VirtualizedCollection-63223f5e.js.map +1 -0
  248. package/amd/VirtualizedListView-d353d174.js +2 -0
  249. package/amd/VirtualizedListView-d353d174.js.map +1 -0
  250. package/amd/YearsGridView-e645d5de.js +2 -0
  251. package/amd/YearsGridView-e645d5de.js.map +1 -0
  252. package/amd/hooks/PRIVATE_useChartEvents.js +1 -1
  253. package/amd/hooks/PRIVATE_useChartMarquee.js +1 -1
  254. package/amd/hooks/PRIVATE_useVisDragModeControls.js +1 -1
  255. package/amd/hooks/PRIVATE_useVisSelection.js +1 -1
  256. package/amd/hooks/UNSAFE_usePressClick.js +1 -1
  257. package/amd/useCellNavigation-4138513e.js +2 -0
  258. package/amd/useCellNavigation-4138513e.js.map +1 -0
  259. package/amd/useChartMarquee-2f7d51c4.js +2 -0
  260. package/amd/useChartMarquee-2f7d51c4.js.map +1 -0
  261. package/amd/usePressClick-b5bf4243.js +2 -0
  262. package/amd/usePressClick-b5bf4243.js.map +1 -0
  263. package/amd/useSelectCommon-380baecd.js +2 -0
  264. package/amd/useSelectCommon-380baecd.js.map +1 -0
  265. package/amd/useSelectDrill-113ae3ae.js +2 -0
  266. package/amd/useSelectDrill-113ae3ae.js.map +1 -0
  267. package/amd/useSelection-80e262f2.js +2 -0
  268. package/amd/useSelection-80e262f2.js.map +1 -0
  269. package/amd/useVisDragModeControls-f187d8b2.js +2 -0
  270. package/amd/useVisDragModeControls-f187d8b2.js.map +1 -0
  271. package/cjs/BarChart-66dbe5be.js +181 -0
  272. package/cjs/BarChart-66dbe5be.js.map +1 -0
  273. package/cjs/BaseButton-590432e4.js +174 -0
  274. package/cjs/BaseButton-590432e4.js.map +1 -0
  275. package/cjs/BaseCardView-5c483f52.js +687 -0
  276. package/cjs/BaseCardView-5c483f52.js.map +1 -0
  277. package/cjs/BaseCardViewSelectionTest-f29b3ecf.js +734 -0
  278. package/cjs/BaseCardViewSelectionTest-f29b3ecf.js.map +1 -0
  279. package/cjs/BaseRichSelection-07d33b2a.js +344 -0
  280. package/cjs/BaseRichSelection-07d33b2a.js.map +1 -0
  281. package/cjs/Button-2427b7df.js +24 -0
  282. package/cjs/Button-2427b7df.js.map +1 -0
  283. package/cjs/ButtonSetButton-a23b6b7d.js +35 -0
  284. package/cjs/ButtonSetButton-a23b6b7d.js.map +1 -0
  285. package/cjs/ButtonSetIconButton-c632a294.js +42 -0
  286. package/cjs/ButtonSetIconButton-c632a294.js.map +1 -0
  287. package/cjs/ButtonSetItem-b260b6a5.js +67 -0
  288. package/cjs/ButtonSetItem-b260b6a5.js.map +1 -0
  289. package/cjs/CardFlexView-385f1b2d.js +29 -0
  290. package/cjs/CardFlexView-385f1b2d.js.map +1 -0
  291. package/cjs/CardGridView-d337b9f4.js +17 -0
  292. package/cjs/CardGridView-d337b9f4.js.map +1 -0
  293. package/cjs/Chart-13ccd345.js +493 -0
  294. package/cjs/Chart-13ccd345.js.map +1 -0
  295. package/cjs/Checkbox-07e4794b.js +106 -0
  296. package/cjs/Checkbox-07e4794b.js.map +1 -0
  297. package/cjs/CheckboxControl-697725cb.js +111 -0
  298. package/cjs/CheckboxControl-697725cb.js.map +1 -0
  299. package/cjs/CheckboxRadioField-1bb0d57d.js +185 -0
  300. package/cjs/CheckboxRadioField-1bb0d57d.js.map +1 -0
  301. package/cjs/CheckboxStyles.styles.css +6 -0
  302. package/cjs/ClearIcon-22a24975.js +23 -0
  303. package/cjs/ClearIcon-22a24975.js.map +1 -0
  304. package/cjs/ComboChart-7188af92.js +174 -0
  305. package/cjs/ComboChart-7188af92.js.map +1 -0
  306. package/cjs/CompactUserAssistance-54247e7e.js +49 -0
  307. package/cjs/CompactUserAssistance-54247e7e.js.map +1 -0
  308. package/cjs/ComponentMessageContainer-f8dc57aa.js +71 -0
  309. package/cjs/ComponentMessageContainer-f8dc57aa.js.map +1 -0
  310. package/cjs/ConveyorBeltItem-324014ba.js +641 -0
  311. package/cjs/ConveyorBeltItem-324014ba.js.map +1 -0
  312. package/cjs/DatePicker-9c362a68.js +566 -0
  313. package/cjs/DatePicker-9c362a68.js.map +1 -0
  314. package/cjs/DatePickerHeader-4223c919.js +46 -0
  315. package/cjs/DatePickerHeader-4223c919.js.map +1 -0
  316. package/cjs/Diagram-151103ac.js +2037 -0
  317. package/cjs/Diagram-151103ac.js.map +1 -0
  318. package/cjs/Dialog-40a1b708.js +346 -0
  319. package/cjs/Dialog-40a1b708.js.map +1 -0
  320. package/cjs/EmbeddedIconButton-f3f6e8f6.js +13 -0
  321. package/cjs/EmbeddedIconButton-f3f6e8f6.js.map +1 -0
  322. package/cjs/ExpandableList-0a0d75b3.js +169 -0
  323. package/cjs/ExpandableList-0a0d75b3.js.map +1 -0
  324. package/cjs/Gantt-aa6f41d6.js +3819 -0
  325. package/cjs/Gantt-aa6f41d6.js.map +1 -0
  326. package/cjs/GroupLoadingIndicator-824d658f.js +1 -1
  327. package/cjs/IconButton-fad4e4b2.js +39 -0
  328. package/cjs/IconButton-fad4e4b2.js.map +1 -0
  329. package/cjs/IconMenuButton-70ef4775.js +58 -0
  330. package/cjs/IconMenuButton-70ef4775.js.map +1 -0
  331. package/cjs/IconProgressButton-b4116a09.js +49 -0
  332. package/cjs/IconProgressButton-b4116a09.js.map +1 -0
  333. package/cjs/IconSwitchButton-2f946274.js +46 -0
  334. package/cjs/IconSwitchButton-2f946274.js.map +1 -0
  335. package/cjs/IconToggleButton-493cf27c.js +45 -0
  336. package/cjs/IconToggleButton-493cf27c.js.map +1 -0
  337. package/cjs/Indexer-a4a2d6b8.js +339 -0
  338. package/cjs/Indexer-a4a2d6b8.js.map +1 -0
  339. package/cjs/InlineUserAssistance-6c6d3250.js +85 -0
  340. package/cjs/InlineUserAssistance-6c6d3250.js.map +1 -0
  341. package/cjs/InputDateMask-d6b1a660.js +1060 -0
  342. package/cjs/InputDateMask-d6b1a660.js.map +1 -0
  343. package/cjs/InputDatePicker-7eb5931a.js +309 -0
  344. package/cjs/InputDatePicker-7eb5931a.js.map +1 -0
  345. package/cjs/InputPassword-e15aa37b.js +157 -0
  346. package/cjs/InputPassword-e15aa37b.js.map +1 -0
  347. package/cjs/InputText-6a6ae7e5.js +199 -0
  348. package/cjs/InputText-6a6ae7e5.js.map +1 -0
  349. package/cjs/Label-c51bd5de.js +85 -0
  350. package/cjs/Label-c51bd5de.js.map +1 -0
  351. package/cjs/LineAreaChart-05a58ac5.js +172 -0
  352. package/cjs/LineAreaChart-05a58ac5.js.map +1 -0
  353. package/cjs/Link-c928d5f1.js +35 -0
  354. package/cjs/Link-c928d5f1.js.map +1 -0
  355. package/cjs/LinkVariants.styles.css +2 -1
  356. package/cjs/LinkVariants.styles2.css +2 -1
  357. package/cjs/List-bad74e43.js +723 -0
  358. package/cjs/List-bad74e43.js.map +1 -0
  359. package/cjs/ListView-80a9c725.js +430 -0
  360. package/cjs/ListView-80a9c725.js.map +1 -0
  361. package/cjs/LoadMoreCollection-73112ff0.js +34 -0
  362. package/cjs/LoadMoreCollection-73112ff0.js.map +1 -0
  363. package/cjs/MenuButton-e6eb6e3e.js +63 -0
  364. package/cjs/MenuButton-e6eb6e3e.js.map +1 -0
  365. package/cjs/Message-20bc90cd.js +208 -0
  366. package/cjs/Message-20bc90cd.js.map +1 -0
  367. package/cjs/MessageToast-c0730ed5.js +243 -0
  368. package/cjs/MessageToast-c0730ed5.js.map +1 -0
  369. package/cjs/MonthView-03da0bd2.js +210 -0
  370. package/cjs/MonthView-03da0bd2.js.map +1 -0
  371. package/cjs/NavigationListItem-0a49d6b5.js +166 -0
  372. package/cjs/NavigationListItem-0a49d6b5.js.map +1 -0
  373. package/cjs/NumberInputText-c58f78da.js +223 -0
  374. package/cjs/NumberInputText-c58f78da.js.map +1 -0
  375. package/cjs/OverflowTabBar-c70fb3bf.js +71 -0
  376. package/cjs/OverflowTabBar-c70fb3bf.js.map +1 -0
  377. package/cjs/OverflowTabBarItem-70484f54.js +88 -0
  378. package/cjs/OverflowTabBarItem-70484f54.js.map +1 -0
  379. package/cjs/PRIVATE_BaseCardView.js +3 -3
  380. package/cjs/PRIVATE_Chart.js +14 -14
  381. package/cjs/PRIVATE_CheckboxControl.js +5 -4
  382. package/cjs/PRIVATE_CheckboxControl.js.map +1 -1
  383. package/cjs/PRIVATE_CheckboxRadioField.js +8 -7
  384. package/cjs/PRIVATE_CheckboxRadioField.js.map +1 -1
  385. package/cjs/PRIVATE_ClearIcon.js +4 -4
  386. package/cjs/PRIVATE_DatePickerHeader.js +5 -5
  387. package/cjs/PRIVATE_EmbeddedIconButton.js +3 -3
  388. package/cjs/PRIVATE_IconSwitchButton.js +3 -3
  389. package/cjs/PRIVATE_List.js +4 -4
  390. package/cjs/PRIVATE_LoadMoreCollection.js +2 -2
  391. package/cjs/PRIVATE_Message.js +4 -4
  392. package/cjs/PRIVATE_MonthView.js +2 -2
  393. package/cjs/PRIVATE_MonthYearGridView.js +2 -2
  394. package/cjs/PRIVATE_RevealToggleIcon.js +4 -4
  395. package/cjs/PRIVATE_RichSelectionCommon.js +8 -7
  396. package/cjs/PRIVATE_RichSelectionCommon.js.map +1 -1
  397. package/cjs/PRIVATE_SelectCommon.js +11 -11
  398. package/cjs/PRIVATE_Table.js +6 -6
  399. package/cjs/PRIVATE_TimeComponent.js +3 -3
  400. package/cjs/PRIVATE_VirtualizedCollection.js +2 -2
  401. package/cjs/PictoChart-fd613c80.js +747 -0
  402. package/cjs/PictoChart-fd613c80.js.map +1 -0
  403. package/cjs/ProgressButton-81474622.js +58 -0
  404. package/cjs/ProgressButton-81474622.js.map +1 -0
  405. package/cjs/RadioItem-3cc743ff.js +115 -0
  406. package/cjs/RadioItem-3cc743ff.js.map +1 -0
  407. package/cjs/RadioSet-f4ee4f80.js +45 -0
  408. package/cjs/RadioSet-f4ee4f80.js.map +1 -0
  409. package/cjs/RemovableNavigationListItem-f3ad6e8e.js +26 -0
  410. package/cjs/RemovableNavigationListItem-f3ad6e8e.js.map +1 -0
  411. package/cjs/RemovableTabBarItem-5c05fa32.js +38 -0
  412. package/cjs/RemovableTabBarItem-5c05fa32.js.map +1 -0
  413. package/cjs/RevealToggleIcon-4ec10dbe.js +28 -0
  414. package/cjs/RevealToggleIcon-4ec10dbe.js.map +1 -0
  415. package/cjs/ScatterChart-9226c20d.js +105 -0
  416. package/cjs/ScatterChart-9226c20d.js.map +1 -0
  417. package/cjs/SelectMultiple-3569988d.js +1299 -0
  418. package/cjs/SelectMultiple-3569988d.js.map +1 -0
  419. package/cjs/SelectSingle-43d6953e.js +732 -0
  420. package/cjs/SelectSingle-43d6953e.js.map +1 -0
  421. package/cjs/SplitMenuButton-9c1b081c.js +141 -0
  422. package/cjs/SplitMenuButton-9c1b081c.js.map +1 -0
  423. package/cjs/Table-6987731e.js +5499 -0
  424. package/cjs/Table-6987731e.js.map +1 -0
  425. package/cjs/TableView-1bed3e0b.js +33 -0
  426. package/cjs/TableView-1bed3e0b.js.map +1 -0
  427. package/cjs/TagCloud-2715c0e8.js +826 -0
  428. package/cjs/TagCloud-2715c0e8.js.map +1 -0
  429. package/cjs/TextArea-d8516f11.js +162 -0
  430. package/cjs/TextArea-d8516f11.js.map +1 -0
  431. package/cjs/TextAreaAutosize-1797d5b7.js +246 -0
  432. package/cjs/TextAreaAutosize-1797d5b7.js.map +1 -0
  433. package/cjs/Theme-redwood/theme.css +157 -157
  434. package/cjs/Theme-stable/theme.css +252 -252
  435. package/cjs/TimeComponentCanvas2D-13c06086.js +591 -0
  436. package/cjs/TimeComponentCanvas2D-13c06086.js.map +1 -0
  437. package/cjs/ToggleButton-c614bbec.js +30 -0
  438. package/cjs/ToggleButton-c614bbec.js.map +1 -0
  439. package/cjs/UNSAFE_BarChart/__test__/BarChart.spec.js +15 -15
  440. package/cjs/UNSAFE_BarChart.js +15 -15
  441. package/cjs/UNSAFE_BaseButton.js +2 -2
  442. package/cjs/UNSAFE_Button.js +3 -3
  443. package/cjs/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +5 -5
  444. package/cjs/UNSAFE_ButtonSetButton.js +3 -3
  445. package/cjs/UNSAFE_ButtonSetIconButton.js +3 -3
  446. package/cjs/UNSAFE_ButtonSetItem.js +5 -5
  447. package/cjs/UNSAFE_CardFlexView.js +4 -4
  448. package/cjs/UNSAFE_CardGridView.js +4 -4
  449. package/cjs/UNSAFE_Checkbox/themes/CheckboxStyles.css.js +1 -0
  450. package/cjs/UNSAFE_Checkbox/themes/CheckboxStyles.css.js.map +1 -1
  451. package/cjs/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js +1 -0
  452. package/cjs/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js.map +1 -1
  453. package/cjs/UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js +1 -0
  454. package/cjs/UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js.map +1 -1
  455. package/cjs/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js +1 -0
  456. package/cjs/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js.map +1 -1
  457. package/cjs/UNSAFE_Checkbox/themes/stable/CheckboxVariants.css.js +1 -0
  458. package/cjs/UNSAFE_Checkbox/themes/stable/CheckboxVariants.css.js.map +1 -1
  459. package/cjs/UNSAFE_Checkbox.js +8 -7
  460. package/cjs/UNSAFE_Checkbox.js.map +1 -1
  461. package/cjs/UNSAFE_CheckboxItem.js +5 -4
  462. package/cjs/UNSAFE_CheckboxItem.js.map +1 -1
  463. package/cjs/UNSAFE_CheckboxSet.js +8 -7
  464. package/cjs/UNSAFE_CheckboxSet.js.map +1 -1
  465. package/cjs/UNSAFE_ComboChart.js +15 -15
  466. package/cjs/UNSAFE_ComponentMessage.js +4 -4
  467. package/cjs/UNSAFE_ConveyorBelt.js +3 -3
  468. package/cjs/UNSAFE_DatePicker.js +10 -10
  469. package/cjs/UNSAFE_Diagram.js +9 -9
  470. package/cjs/UNSAFE_Dialog.js +4 -4
  471. package/cjs/UNSAFE_ExpandableList.js +7 -7
  472. package/cjs/UNSAFE_Gantt.js +5 -5
  473. package/cjs/UNSAFE_IconButton.js +3 -3
  474. package/cjs/UNSAFE_IconMenuButton.js +3 -3
  475. package/cjs/UNSAFE_IconProgressButton.js +3 -3
  476. package/cjs/UNSAFE_IconToggleButton.js +3 -3
  477. package/cjs/UNSAFE_Indexer.js +2 -2
  478. package/cjs/UNSAFE_InputDateMask.js +8 -8
  479. package/cjs/UNSAFE_InputDatePicker.js +95 -95
  480. package/cjs/UNSAFE_InputPassword.js +11 -11
  481. package/cjs/UNSAFE_InputSensitiveText.js +10 -10
  482. package/cjs/UNSAFE_InputText.js +9 -9
  483. package/cjs/UNSAFE_InputTimeMask.js +7 -7
  484. package/cjs/UNSAFE_Label.js +4 -4
  485. package/cjs/UNSAFE_LabelledLink.js +7 -7
  486. package/cjs/UNSAFE_LineAreaChart.js +15 -15
  487. package/cjs/UNSAFE_Link/themes/LinkStyles.css.js +1 -1
  488. package/cjs/UNSAFE_Link.js +2 -2
  489. package/cjs/UNSAFE_ListView.js +5 -5
  490. package/cjs/UNSAFE_MenuButton.js +3 -3
  491. package/cjs/UNSAFE_MessageBanner.js +4 -4
  492. package/cjs/UNSAFE_MessageToast.js +5 -5
  493. package/cjs/UNSAFE_NavigationList.js +8 -8
  494. package/cjs/UNSAFE_NavigationListCommon.js +4 -4
  495. package/cjs/UNSAFE_NumberInputText.js +8 -8
  496. package/cjs/UNSAFE_OverflowTabBar.js +8 -8
  497. package/cjs/UNSAFE_PictoChart.js +4 -4
  498. package/cjs/UNSAFE_ProgressButton.js +3 -3
  499. package/cjs/UNSAFE_RadioItem.js +4 -4
  500. package/cjs/UNSAFE_RadioSet.js +9 -8
  501. package/cjs/UNSAFE_RadioSet.js.map +1 -1
  502. package/cjs/UNSAFE_RichCheckboxSet.js +8 -7
  503. package/cjs/UNSAFE_RichCheckboxSet.js.map +1 -1
  504. package/cjs/UNSAFE_RichRadioSet.js +8 -7
  505. package/cjs/UNSAFE_RichRadioSet.js.map +1 -1
  506. package/cjs/UNSAFE_ScatterChart.js +15 -15
  507. package/cjs/UNSAFE_SelectMultiple.js +15 -15
  508. package/cjs/UNSAFE_SelectSingle.js +14 -14
  509. package/cjs/UNSAFE_Sheet/__test__/Sheet.spec.js +3 -3
  510. package/cjs/UNSAFE_SplitMenuButton.js +3 -3
  511. package/cjs/UNSAFE_TabBar.js +7 -7
  512. package/cjs/UNSAFE_TabBarCommon.js +7 -7
  513. package/cjs/UNSAFE_TabBarMixed.js +7 -7
  514. package/cjs/UNSAFE_TableView.js +7 -7
  515. package/cjs/UNSAFE_TagCloud.js +4 -4
  516. package/cjs/UNSAFE_TextArea.js +8 -8
  517. package/cjs/UNSAFE_TextAreaAutosize.js +8 -8
  518. package/cjs/UNSAFE_ToggleButton.js +3 -3
  519. package/cjs/UNSAFE_Toolbar/tests/Toolbar.spec.js +5 -5
  520. package/cjs/UNSAFE_UserAssistance.js +6 -6
  521. package/cjs/UNSAFE_VirtualizedListView.js +5 -5
  522. package/cjs/VirtualizedCollection-00aedb8b.js +180 -0
  523. package/cjs/VirtualizedCollection-00aedb8b.js.map +1 -0
  524. package/cjs/VirtualizedListView-ad3219ba.js +16 -0
  525. package/cjs/VirtualizedListView-ad3219ba.js.map +1 -0
  526. package/cjs/YearsGridView-67ce0a3a.js +190 -0
  527. package/cjs/YearsGridView-67ce0a3a.js.map +1 -0
  528. package/cjs/hooks/PRIVATE_useChartEvents.js +4 -4
  529. package/cjs/hooks/PRIVATE_useChartMarquee.js +8 -8
  530. package/cjs/hooks/PRIVATE_useVisDragModeControls.js +7 -7
  531. package/cjs/hooks/PRIVATE_useVisSelection.js +3 -3
  532. package/cjs/hooks/UNSAFE_usePressClick.js +1 -1
  533. package/cjs/useCellNavigation-d503e35f.js +124 -0
  534. package/cjs/useCellNavigation-d503e35f.js.map +1 -0
  535. package/cjs/useChartMarquee-7ffcda9e.js +295 -0
  536. package/cjs/useChartMarquee-7ffcda9e.js.map +1 -0
  537. package/cjs/usePressClick-7a34624a.js +41 -0
  538. package/cjs/usePressClick-7a34624a.js.map +1 -0
  539. package/cjs/useSelectCommon-38a38427.js +709 -0
  540. package/cjs/useSelectCommon-38a38427.js.map +1 -0
  541. package/cjs/useSelectDrill-ad5864fd.js +107 -0
  542. package/cjs/useSelectDrill-ad5864fd.js.map +1 -0
  543. package/cjs/useSelection-8f68a23a.js +188 -0
  544. package/cjs/useSelection-8f68a23a.js.map +1 -0
  545. package/cjs/useVisDragModeControls-d3a7aa57.js +89 -0
  546. package/cjs/useVisDragModeControls-d3a7aa57.js.map +1 -0
  547. package/es/ActionCard-bac27bb9.js +1 -1
  548. package/es/BarChart-43dec3b7.js +179 -0
  549. package/es/BarChart-43dec3b7.js.map +1 -0
  550. package/es/BarGroup-dbf70e2c.js +1 -1
  551. package/es/BaseButton-61f6baa8.js +172 -0
  552. package/es/BaseButton-61f6baa8.js.map +1 -0
  553. package/es/BaseCardView-724422f3.js +7 -7
  554. package/es/BaseCardViewSelectionTest-ef070684.js +721 -0
  555. package/es/BaseCardViewSelectionTest-ef070684.js.map +1 -0
  556. package/es/BaseNavigationListItem-1c75c13f.js +47 -0
  557. package/es/BaseNavigationListItem-1c75c13f.js.map +1 -0
  558. package/es/BaseRichSelection-72edca7c.js +342 -0
  559. package/es/BaseRichSelection-72edca7c.js.map +1 -0
  560. package/es/Button-f90514b2.js +22 -0
  561. package/es/Button-f90514b2.js.map +1 -0
  562. package/es/ButtonSet-9b2c41be.js +2 -2
  563. package/es/ButtonSetButton-974fc462.js +33 -0
  564. package/es/ButtonSetButton-974fc462.js.map +1 -0
  565. package/es/ButtonSetIconButton-0081167a.js +40 -0
  566. package/es/ButtonSetIconButton-0081167a.js.map +1 -0
  567. package/es/ButtonSetItem-eb2d43d4.js +65 -0
  568. package/es/ButtonSetItem-eb2d43d4.js.map +1 -0
  569. package/es/Card-31dc8dc2.js +15 -0
  570. package/es/Card-31dc8dc2.js.map +1 -0
  571. package/es/Center-2be68188.js +16 -0
  572. package/es/Center-2be68188.js.map +1 -0
  573. package/es/Chart-4ec13697.js +491 -0
  574. package/es/Chart-4ec13697.js.map +1 -0
  575. package/es/Checkbox-74259575.js +104 -0
  576. package/es/Checkbox-74259575.js.map +1 -0
  577. package/es/CheckboxControl-c3c34028.js +109 -0
  578. package/es/CheckboxControl-c3c34028.js.map +1 -0
  579. package/es/CheckboxRadioField-294463ba.js +183 -0
  580. package/es/CheckboxRadioField-294463ba.js.map +1 -0
  581. package/es/CheckboxSetContext-1be56556.js +9 -0
  582. package/es/CheckboxSetContext-1be56556.js.map +1 -0
  583. package/es/CheckboxStyles.styles.css +6 -0
  584. package/es/Chip-8fd813ce.js +1 -1
  585. package/es/ClearIcon-acca9670.js +21 -0
  586. package/es/ClearIcon-acca9670.js.map +1 -0
  587. package/es/CollapseIcon-152e59b4.js +1 -1
  588. package/es/Collapsible-4dddc4f7.js +2 -2
  589. package/es/ComboChart-d1c3e17a.js +172 -0
  590. package/es/ComboChart-d1c3e17a.js.map +1 -0
  591. package/es/CompactHelpSource-c3044924.js +2 -2
  592. package/es/CompactLabelAssistance-0d70fceb.js +34 -0
  593. package/es/CompactLabelAssistance-0d70fceb.js.map +1 -0
  594. package/es/CompactUserAssistance-4f0ff3fc.js +47 -0
  595. package/es/CompactUserAssistance-4f0ff3fc.js.map +1 -0
  596. package/es/ComponentMessageContainer-13005c12.js +68 -0
  597. package/es/ComponentMessageContainer-13005c12.js.map +1 -0
  598. package/es/ConveyorBeltItem-53f383e1.js +638 -0
  599. package/es/ConveyorBeltItem-53f383e1.js.map +1 -0
  600. package/es/DatePicker-a57b08b1.js +564 -0
  601. package/es/DatePicker-a57b08b1.js.map +1 -0
  602. package/es/DatePickerHeader-8eee60aa.js +44 -0
  603. package/es/DatePickerHeader-8eee60aa.js.map +1 -0
  604. package/es/Diagram-29d78c10.js +2035 -0
  605. package/es/Diagram-29d78c10.js.map +1 -0
  606. package/es/Dialog-8a9a90a2.js +344 -0
  607. package/es/Dialog-8a9a90a2.js.map +1 -0
  608. package/es/DirectionalCollapseArrowIcon-e1b04846.js +1 -1
  609. package/es/DirectionalExpandArrowIcon-c9218fa7.js +1 -1
  610. package/es/DragHandle-198c3118.js +22 -0
  611. package/es/DragHandle-198c3118.js.map +1 -0
  612. package/es/DrawerPopup-5292bdfc.js +381 -0
  613. package/es/DrawerPopup-5292bdfc.js.map +1 -0
  614. package/es/Dropdown-698afbc6.js +80 -0
  615. package/es/Dropdown-698afbc6.js.map +1 -0
  616. package/es/EmbeddedIconButton-7215a912.js +11 -0
  617. package/es/EmbeddedIconButton-7215a912.js.map +1 -0
  618. package/es/EnvironmentProvider-713d0dec.js +58 -0
  619. package/es/EnvironmentProvider-713d0dec.js.map +1 -0
  620. package/es/ExpandableList-27f4f0d4.js +167 -0
  621. package/es/ExpandableList-27f4f0d4.js.map +1 -0
  622. package/es/FilePicker-c3f06d6f.js +2 -2
  623. package/es/Flex-2d9ebee9.js +30 -0
  624. package/es/Flex-2d9ebee9.js.map +1 -0
  625. package/es/Floating-5191a9e6.js +462 -0
  626. package/es/Floating-5191a9e6.js.map +1 -0
  627. package/es/FormLayout-b2993e0c.js +1 -1
  628. package/es/Gantt-e156bd33.js +3817 -0
  629. package/es/Gantt-e156bd33.js.map +1 -0
  630. package/es/Grid-238d8757.js +27 -0
  631. package/es/Grid-238d8757.js.map +1 -0
  632. package/es/Gridlines-d37f55d2.js +168 -0
  633. package/es/Gridlines-d37f55d2.js.map +1 -0
  634. package/es/GroupLoadingIndicator-93bcf33f.js +1 -1
  635. package/es/HighlightText-fef35694.js +31 -0
  636. package/es/HighlightText-fef35694.js.map +1 -0
  637. package/es/Icon-030b6dd4.js +3 -3
  638. package/es/IconButton-19fcf0a8.js +37 -0
  639. package/es/IconButton-19fcf0a8.js.map +1 -0
  640. package/es/IconMenuButton-4118bde6.js +56 -0
  641. package/es/IconMenuButton-4118bde6.js.map +1 -0
  642. package/es/IconProgressButton-a595c052.js +47 -0
  643. package/es/IconProgressButton-a595c052.js.map +1 -0
  644. package/es/IconSwitchButton-dcafa86c.js +44 -0
  645. package/es/IconSwitchButton-dcafa86c.js.map +1 -0
  646. package/es/IconToggleButton-94cbea2b.js +43 -0
  647. package/es/IconToggleButton-94cbea2b.js.map +1 -0
  648. package/es/IconUserAssistance-d9bc82d4.js +73 -0
  649. package/es/IconUserAssistance-d9bc82d4.js.map +1 -0
  650. package/es/Indexer-18ec7af3.js +4 -4
  651. package/es/InlineHelpSource-5ed4bb7d.js +1 -1
  652. package/es/InlineUserAssistance-65ca8810.js +81 -0
  653. package/es/InlineUserAssistance-65ca8810.js.map +1 -0
  654. package/es/InputDateMask-8258be53.js +1056 -0
  655. package/es/InputDateMask-8258be53.js.map +1 -0
  656. package/es/InputDatePicker-a659ed3a.js +307 -0
  657. package/es/InputDatePicker-a659ed3a.js.map +1 -0
  658. package/es/InputPassword-65336899.js +155 -0
  659. package/es/InputPassword-65336899.js.map +1 -0
  660. package/es/InputText-21591785.js +197 -0
  661. package/es/InputText-21591785.js.map +1 -0
  662. package/es/Label-25eba25e.js +83 -0
  663. package/es/Label-25eba25e.js.map +1 -0
  664. package/es/LabelValueLayout-1db91391.js +1 -1
  665. package/es/Layer-1eb18747.js +91 -0
  666. package/es/Layer-1eb18747.js.map +1 -0
  667. package/es/LayerHost-8b98d97d.js +41 -0
  668. package/es/LayerHost-8b98d97d.js.map +1 -0
  669. package/es/LayerManager-221afe20.js +34 -0
  670. package/es/LayerManager-221afe20.js.map +1 -0
  671. package/es/Legend-0e274097.js +3 -3
  672. package/es/LineAreaChart-6fabda31.js +170 -0
  673. package/es/LineAreaChart-6fabda31.js.map +1 -0
  674. package/es/LineSeries-139bda1a.js +109 -0
  675. package/es/LineSeries-139bda1a.js.map +1 -0
  676. package/es/Link-c7061441.js +33 -0
  677. package/es/Link-c7061441.js.map +1 -0
  678. package/es/LinkVariants.styles.css +2 -1
  679. package/es/LinkVariants.styles2.css +2 -1
  680. package/es/List-58b8d3c9.js +5 -5
  681. package/es/ListItemLayout-af86b17d.js +110 -0
  682. package/es/ListItemLayout-af86b17d.js.map +1 -0
  683. package/es/ListView-be2e2736.js +3 -3
  684. package/es/LiveRegion-c7bf2f21.js +39 -0
  685. package/es/LiveRegion-c7bf2f21.js.map +1 -0
  686. package/es/MaxLengthLiveRegion-d790e55c.js +23 -0
  687. package/es/MaxLengthLiveRegion-d790e55c.js.map +1 -0
  688. package/es/Menu-a5bf756f.js +6 -6
  689. package/es/MenuButton-e012a909.js +61 -0
  690. package/es/MenuButton-e012a909.js.map +1 -0
  691. package/es/MenuItem-54015ca3.js +1 -1
  692. package/es/Message-b0150c6f.js +203 -0
  693. package/es/Message-b0150c6f.js.map +1 -0
  694. package/es/MessageLayer-d9129e22.js +58 -0
  695. package/es/MessageLayer-d9129e22.js.map +1 -0
  696. package/es/MessageToast-933a0339.js +241 -0
  697. package/es/MessageToast-933a0339.js.map +1 -0
  698. package/es/MessagesManager-91ade5dc.js +3 -3
  699. package/es/MeterBar-732e3b2c.js +5 -5
  700. package/es/MeterCircle-2156d7ff.js +5 -5
  701. package/es/Modal-9980f6d1.js +288 -0
  702. package/es/Modal-9980f6d1.js.map +1 -0
  703. package/es/MonthView-d60a5df7.js +208 -0
  704. package/es/MonthView-d60a5df7.js.map +1 -0
  705. package/es/NavigationList-fb05e081.js +159 -0
  706. package/es/NavigationList-fb05e081.js.map +1 -0
  707. package/es/NavigationListItem-193a315a.js +10 -0
  708. package/es/NavigationListItem-193a315a.js.map +1 -0
  709. package/es/NumberInputText-2d1aef12.js +220 -0
  710. package/es/NumberInputText-2d1aef12.js.map +1 -0
  711. package/es/OverflowTabBar-894c7cd9.js +69 -0
  712. package/es/OverflowTabBar-894c7cd9.js.map +1 -0
  713. package/es/OverflowTabBarItem-a578401b.js +87 -0
  714. package/es/OverflowTabBarItem-a578401b.js.map +1 -0
  715. package/es/PRIVATE_BaseCardView.js +21 -21
  716. package/es/PRIVATE_Chart.js +43 -43
  717. package/es/PRIVATE_CheckboxControl.js +28 -27
  718. package/es/PRIVATE_CheckboxControl.js.map +1 -1
  719. package/es/PRIVATE_CheckboxRadioField.js +33 -32
  720. package/es/PRIVATE_CheckboxRadioField.js.map +1 -1
  721. package/es/PRIVATE_ClearIcon.js +21 -21
  722. package/es/PRIVATE_DatePickerHeader.js +23 -23
  723. package/es/PRIVATE_DatePickerLayout.js +4 -4
  724. package/es/PRIVATE_EmbeddedIconButton.js +6 -6
  725. package/es/PRIVATE_FormControls.js +19 -19
  726. package/es/PRIVATE_IconSwitchButton.js +18 -18
  727. package/es/PRIVATE_Icons/CheckboxMixed.js +15 -15
  728. package/es/PRIVATE_Icons/CheckboxOff.js +15 -15
  729. package/es/PRIVATE_Icons/CheckboxOn.js +15 -15
  730. package/es/PRIVATE_Icons/DragV.js +15 -15
  731. package/es/PRIVATE_Icons/WarningS.js +15 -15
  732. package/es/PRIVATE_List.js +19 -19
  733. package/es/PRIVATE_Message.js +22 -22
  734. package/es/PRIVATE_MessageLayer.js +12 -12
  735. package/es/PRIVATE_MonthView.js +8 -8
  736. package/es/PRIVATE_MonthYearGridView.js +8 -8
  737. package/es/PRIVATE_PlotArea.js +4 -4
  738. package/es/PRIVATE_RevealToggleIcon.js +20 -20
  739. package/es/PRIVATE_RichSelectionCommon.js +34 -33
  740. package/es/PRIVATE_RichSelectionCommon.js.map +1 -1
  741. package/es/PRIVATE_SelectCommon.js +35 -35
  742. package/es/PRIVATE_StyledCard.js +4 -4
  743. package/es/PRIVATE_StyledCheckbox.js +15 -15
  744. package/es/PRIVATE_Table.js +28 -28
  745. package/es/PRIVATE_ThemedIcons/CalendarIcon.js +15 -15
  746. package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +15 -15
  747. package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +15 -15
  748. package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +15 -15
  749. package/es/PRIVATE_ThemedIcons/CheckIcon.js +15 -15
  750. package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +15 -15
  751. package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +15 -15
  752. package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +15 -15
  753. package/es/PRIVATE_ThemedIcons/CloseIcon.js +15 -15
  754. package/es/PRIVATE_ThemedIcons/CollapseIcon.js +16 -16
  755. package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +15 -15
  756. package/es/PRIVATE_ThemedIcons/DecrementIcon.js +15 -15
  757. package/es/PRIVATE_ThemedIcons/DeleteIcon.js +15 -15
  758. package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +16 -16
  759. package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +16 -16
  760. package/es/PRIVATE_ThemedIcons/DragHandleIcon.js +15 -15
  761. package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +15 -15
  762. package/es/PRIVATE_ThemedIcons/ExpandIcon.js +15 -15
  763. package/es/PRIVATE_ThemedIcons/HelpIcon.js +15 -15
  764. package/es/PRIVATE_ThemedIcons/IncrementIcon.js +15 -15
  765. package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +15 -15
  766. package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +15 -15
  767. package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +15 -15
  768. package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +15 -15
  769. package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +15 -15
  770. package/es/PRIVATE_ThemedIcons/MinusIcon.js +15 -15
  771. package/es/PRIVATE_ThemedIcons/NavDownIcon.js +15 -15
  772. package/es/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +15 -15
  773. package/es/PRIVATE_ThemedIcons/PlusIcon.js +15 -15
  774. package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +15 -15
  775. package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +15 -15
  776. package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +15 -15
  777. package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +15 -15
  778. package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +15 -15
  779. package/es/PRIVATE_ThemedIcons/ViewIcon.js +15 -15
  780. package/es/PRIVATE_TimeComponent.js +20 -20
  781. package/es/PRIVATE_VisOverview.js +15 -15
  782. package/es/PRIVATE_VisTabularDatatip.js +4 -4
  783. package/es/PictoChart-9624c62e.js +744 -0
  784. package/es/PictoChart-9624c62e.js.map +1 -0
  785. package/es/PieChart-87a2913f.js +6 -6
  786. package/es/Popup-f6774b40.js +258 -0
  787. package/es/Popup-f6774b40.js.map +1 -0
  788. package/es/ProgressBar-6d816723.js +62 -0
  789. package/es/ProgressBar-6d816723.js.map +1 -0
  790. package/es/ProgressButton-bb52347a.js +56 -0
  791. package/es/ProgressButton-bb52347a.js.map +1 -0
  792. package/es/ProgressButtonLabelLayout-f1d097d6.js +3 -3
  793. package/es/ProgressCircle-bbcf67fd.js +48 -0
  794. package/es/ProgressCircle-bbcf67fd.js.map +1 -0
  795. package/es/RadioItem-81e9e082.js +113 -0
  796. package/es/RadioItem-81e9e082.js.map +1 -0
  797. package/es/RadioSet-d2820846.js +43 -0
  798. package/es/RadioSet-d2820846.js.map +1 -0
  799. package/es/RatingGauge-5e1e75b4.js +8 -8
  800. package/es/ReadonlyTextFieldInput-f407b86c.js +1 -1
  801. package/es/RemovableNavigationListItem-21cd36b7.js +25 -0
  802. package/es/RemovableNavigationListItem-21cd36b7.js.map +1 -0
  803. package/es/RemovableTabBarItem-60574a52.js +36 -0
  804. package/es/RemovableTabBarItem-60574a52.js.map +1 -0
  805. package/es/ReorderableTabBar-c280e7d4.js +77 -0
  806. package/es/ReorderableTabBar-c280e7d4.js.map +1 -0
  807. package/es/RevealToggleIcon-8e650973.js +26 -0
  808. package/es/RevealToggleIcon-8e650973.js.map +1 -0
  809. package/es/ScatterChart-1f818935.js +103 -0
  810. package/es/ScatterChart-1f818935.js.map +1 -0
  811. package/es/SectionalLegend-64670096.js +4 -4
  812. package/es/SectionedContent-48fa242f.js +64 -0
  813. package/es/SectionedContent-48fa242f.js.map +1 -0
  814. package/es/SelectMultiple-c7f9e747.js +1297 -0
  815. package/es/SelectMultiple-c7f9e747.js.map +1 -0
  816. package/es/SelectSingle-75270526.js +730 -0
  817. package/es/SelectSingle-75270526.js.map +1 -0
  818. package/es/SelectionCard-ce3012e8.js +16 -0
  819. package/es/SelectionCard-ce3012e8.js.map +1 -0
  820. package/es/Selector-41618991.js +1 -1
  821. package/es/SelectorAll-27744634.js +69 -0
  822. package/es/SelectorAll-27744634.js.map +1 -0
  823. package/es/Sheet-924cfdab.js +158 -0
  824. package/es/Sheet-924cfdab.js.map +1 -0
  825. package/es/SplitMenuButton-5cb6e8db.js +139 -0
  826. package/es/SplitMenuButton-5cb6e8db.js.map +1 -0
  827. package/es/StyledCard-c8d9836f.js +105 -0
  828. package/es/StyledCard-c8d9836f.js.map +1 -0
  829. package/es/StyledLabelValueLayout-5b9a731a.js +18 -0
  830. package/es/StyledLabelValueLayout-5b9a731a.js.map +1 -0
  831. package/es/StyledTextField-6d6dd43e.js +3 -3
  832. package/es/TabBar-4d7054f7.js +82 -0
  833. package/es/TabBar-4d7054f7.js.map +1 -0
  834. package/es/TabBarItem-b97091e4.js +3 -3
  835. package/es/TabBarLayout-bb3f9f69.js +1 -1
  836. package/es/TabBarMixed-b8e2427c.js +83 -0
  837. package/es/TabBarMixed-b8e2427c.js.map +1 -0
  838. package/es/TabBarMixedSeparator-7669e2f0.js +19 -0
  839. package/es/TabBarMixedSeparator-7669e2f0.js.map +1 -0
  840. package/es/Table-b8c41429.js +5497 -0
  841. package/es/Table-b8c41429.js.map +1 -0
  842. package/es/TableView-2261b9de.js +31 -0
  843. package/es/TableView-2261b9de.js.map +1 -0
  844. package/es/TagCloud-0fe9b648.js +824 -0
  845. package/es/TagCloud-0fe9b648.js.map +1 -0
  846. package/es/TextArea-6584935d.js +177 -0
  847. package/es/TextArea-6584935d.js.map +1 -0
  848. package/es/TextAreaAutosize-2ca5256e.js +244 -0
  849. package/es/TextAreaAutosize-2ca5256e.js.map +1 -0
  850. package/es/TextField-500c0227.js +3 -3
  851. package/es/TextFieldInput-cb551f4e.js +1 -1
  852. package/es/Theme-redwood/theme.css +590 -590
  853. package/es/Theme-stable/theme.css +476 -476
  854. package/es/TimeComponentCanvas2D-a5baa5f6.js +568 -0
  855. package/es/TimeComponentCanvas2D-a5baa5f6.js.map +1 -0
  856. package/es/ToggleButton-c50ac048.js +28 -0
  857. package/es/ToggleButton-c50ac048.js.map +1 -0
  858. package/es/Toolbar-35426a1b.js +1 -1
  859. package/es/TruncatingBadge-69621d89.js +1 -1
  860. package/es/TruncatingText-fd66e0e0.js +1 -1
  861. package/es/UNSAFE_ActionCard.js +3 -3
  862. package/es/UNSAFE_BarChart/__test__/BarChart.spec.js +44 -44
  863. package/es/UNSAFE_BarChart.js +44 -44
  864. package/es/UNSAFE_BaseButton.js +5 -5
  865. package/es/UNSAFE_Button.js +6 -6
  866. package/es/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +26 -26
  867. package/es/UNSAFE_ButtonSet.js +4 -4
  868. package/es/UNSAFE_ButtonSetButton.js +6 -6
  869. package/es/UNSAFE_ButtonSetIconButton.js +18 -18
  870. package/es/UNSAFE_ButtonSetItem.js +20 -20
  871. package/es/UNSAFE_ButtonSetMultiple.js +4 -4
  872. package/es/UNSAFE_ButtonSetSingle.js +4 -4
  873. package/es/UNSAFE_Card.js +5 -5
  874. package/es/UNSAFE_CardFlexView.js +21 -21
  875. package/es/UNSAFE_CardGridView.js +21 -21
  876. package/es/UNSAFE_Center.js +5 -5
  877. package/es/UNSAFE_Checkbox/themes/CheckboxStyles.css.js +1 -0
  878. package/es/UNSAFE_Checkbox/themes/CheckboxStyles.css.js.map +1 -1
  879. package/es/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js +1 -0
  880. package/es/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js.map +1 -1
  881. package/es/UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js +1 -0
  882. package/es/UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js.map +1 -1
  883. package/es/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js +1 -0
  884. package/es/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js.map +1 -1
  885. package/es/UNSAFE_Checkbox/themes/stable/CheckboxVariants.css.js +1 -0
  886. package/es/UNSAFE_Checkbox/themes/stable/CheckboxVariants.css.js.map +1 -1
  887. package/es/UNSAFE_Checkbox.js +31 -30
  888. package/es/UNSAFE_Checkbox.js.map +1 -1
  889. package/es/UNSAFE_CheckboxItem.js +57 -108
  890. package/es/UNSAFE_CheckboxItem.js.map +1 -1
  891. package/es/UNSAFE_CheckboxSet.js +75 -40
  892. package/es/UNSAFE_CheckboxSet.js.map +1 -1
  893. package/es/UNSAFE_Chip.js +2 -2
  894. package/es/UNSAFE_Collapsible.js +17 -17
  895. package/es/UNSAFE_ComboChart.js +46 -46
  896. package/es/UNSAFE_ComponentMessage.js +22 -22
  897. package/es/UNSAFE_ConveyorBelt.js +18 -18
  898. package/es/UNSAFE_DatePicker.js +30 -30
  899. package/es/UNSAFE_Diagram.js +27 -27
  900. package/es/UNSAFE_Dialog.js +24 -24
  901. package/es/UNSAFE_DragHandle.js +17 -17
  902. package/es/UNSAFE_DrawerLayout.js +12 -12
  903. package/es/UNSAFE_DrawerPopup.js +13 -13
  904. package/es/UNSAFE_Dropdown.js +13 -13
  905. package/es/UNSAFE_Environment.js +4 -4
  906. package/es/UNSAFE_ExpandableList.js +26 -26
  907. package/es/UNSAFE_FilePicker.js +4 -4
  908. package/es/UNSAFE_Flex.js +4 -4
  909. package/es/UNSAFE_Floating.js +11 -11
  910. package/es/UNSAFE_FormLayout.js +2 -2
  911. package/es/UNSAFE_Gantt.js +26 -26
  912. package/es/UNSAFE_Grid.js +4 -4
  913. package/es/UNSAFE_HighlightText.js +4 -4
  914. package/es/UNSAFE_Icon.js +15 -15
  915. package/es/UNSAFE_IconButton.js +18 -18
  916. package/es/UNSAFE_IconMenuButton.js +24 -24
  917. package/es/UNSAFE_IconProgressButton.js +21 -21
  918. package/es/UNSAFE_IconToggleButton.js +18 -18
  919. package/es/UNSAFE_Indexer.js +6 -6
  920. package/es/UNSAFE_InputDateMask.js +33 -33
  921. package/es/UNSAFE_InputDatePicker.js +119 -119
  922. package/es/UNSAFE_InputPassword.js +35 -35
  923. package/es/UNSAFE_InputSensitiveText.js +36 -36
  924. package/es/UNSAFE_InputText.js +36 -36
  925. package/es/UNSAFE_InputTimeMask.js +32 -32
  926. package/es/UNSAFE_Label.js +27 -27
  927. package/es/UNSAFE_LabelValueLayout.js +4 -4
  928. package/es/UNSAFE_LabelledLink.js +32 -32
  929. package/es/UNSAFE_Layer.js +8 -8
  930. package/es/UNSAFE_Legend.js +25 -25
  931. package/es/UNSAFE_LineAreaChart.js +46 -46
  932. package/es/UNSAFE_Link/themes/LinkStyles.css.js +1 -1
  933. package/es/UNSAFE_Link.js +4 -4
  934. package/es/UNSAFE_ListItemLayout.js +5 -5
  935. package/es/UNSAFE_ListView.js +28 -28
  936. package/es/UNSAFE_LiveRegion.js +4 -4
  937. package/es/UNSAFE_Menu.js +23 -23
  938. package/es/UNSAFE_MenuButton.js +24 -24
  939. package/es/UNSAFE_MessageBanner.js +22 -22
  940. package/es/UNSAFE_MessageToast.js +26 -26
  941. package/es/UNSAFE_MeterBar.js +16 -16
  942. package/es/UNSAFE_MeterCircle.js +17 -17
  943. package/es/UNSAFE_Modal.js +9 -9
  944. package/es/UNSAFE_NavigationList.js +45 -43
  945. package/es/UNSAFE_NavigationList.js.map +1 -1
  946. package/es/UNSAFE_NavigationListCommon.js +74 -73
  947. package/es/UNSAFE_NavigationListCommon.js.map +1 -1
  948. package/es/UNSAFE_NumberInputText.js +34 -34
  949. package/es/UNSAFE_OverflowTabBar.js +56 -54
  950. package/es/UNSAFE_OverflowTabBar.js.map +1 -1
  951. package/es/UNSAFE_PictoChart.js +17 -17
  952. package/es/UNSAFE_PieChart/__test__/PieChart.spec.js +22 -22
  953. package/es/UNSAFE_PieChart.js +22 -22
  954. package/es/UNSAFE_Popup.js +17 -17
  955. package/es/UNSAFE_ProgressBar.js +5 -5
  956. package/es/UNSAFE_ProgressButton.js +21 -21
  957. package/es/UNSAFE_ProgressButtonLabelLayout.js +10 -10
  958. package/es/UNSAFE_ProgressCircle.js +4 -4
  959. package/es/UNSAFE_RadioItem.js +27 -27
  960. package/es/UNSAFE_RadioSet.js +33 -32
  961. package/es/UNSAFE_RadioSet.js.map +1 -1
  962. package/es/UNSAFE_RatingGauge.js +17 -17
  963. package/es/UNSAFE_ReorderableTabBar.js +49 -38
  964. package/es/UNSAFE_ReorderableTabBar.js.map +1 -1
  965. package/es/UNSAFE_RichCheckboxSet.js +54 -56
  966. package/es/UNSAFE_RichCheckboxSet.js.map +1 -1
  967. package/es/UNSAFE_RichRadioSet.js +34 -33
  968. package/es/UNSAFE_RichRadioSet.js.map +1 -1
  969. package/es/UNSAFE_RichSelectionItem.js +58 -196
  970. package/es/UNSAFE_RichSelectionItem.js.map +1 -1
  971. package/es/UNSAFE_ScatterChart.js +46 -46
  972. package/es/UNSAFE_SectionalLegend.js +26 -26
  973. package/es/UNSAFE_SelectMultiple.js +42 -42
  974. package/es/UNSAFE_SelectSingle.js +41 -41
  975. package/es/UNSAFE_SelectionCard.js +5 -5
  976. package/es/UNSAFE_Selector.js +15 -15
  977. package/es/UNSAFE_SelectorAll.js +19 -19
  978. package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +18 -18
  979. package/es/UNSAFE_Sheet.js +12 -12
  980. package/es/UNSAFE_SplitMenuButton.js +24 -24
  981. package/es/UNSAFE_TabBar.js +56 -54
  982. package/es/UNSAFE_TabBar.js.map +1 -1
  983. package/es/UNSAFE_TabBarCommon.js +48 -46
  984. package/es/UNSAFE_TabBarCommon.js.map +1 -1
  985. package/es/UNSAFE_TabBarMixed.js +66 -64
  986. package/es/UNSAFE_TabBarMixed.js.map +1 -1
  987. package/es/UNSAFE_TableView.js +29 -29
  988. package/es/UNSAFE_TagCloud.js +27 -27
  989. package/es/UNSAFE_TextArea.js +35 -36
  990. package/es/UNSAFE_TextArea.js.map +1 -1
  991. package/es/UNSAFE_TextAreaAutosize.js +36 -36
  992. package/es/UNSAFE_TextField.js +8 -8
  993. package/es/UNSAFE_ToggleButton.js +6 -6
  994. package/es/UNSAFE_Toolbar/tests/Toolbar.spec.js +28 -28
  995. package/es/UNSAFE_Toolbar.js +4 -4
  996. package/es/UNSAFE_Train.js +16 -16
  997. package/es/UNSAFE_TruncatingBadge.js +16 -16
  998. package/es/UNSAFE_TruncatingText.js +16 -16
  999. package/es/UNSAFE_UserAssistance.js +30 -30
  1000. package/es/UNSAFE_View.js +7 -7
  1001. package/es/UNSAFE_VirtualizedListView.js +19 -19
  1002. package/es/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +8 -8
  1003. package/es/UNSAFE_VisProgressiveLoader.js +6 -6
  1004. package/es/UNSAFE_VisStatusMessage.js +6 -6
  1005. package/es/UNSAFE_WindowOverlay.js +4 -4
  1006. package/es/View-cf6dfd8e.js +167 -0
  1007. package/es/View-cf6dfd8e.js.map +1 -0
  1008. package/es/VisNoData-d6e475d8.js +32 -0
  1009. package/es/VisNoData-d6e475d8.js.map +1 -0
  1010. package/es/VisProgressiveLoader-36053d5a.js +51 -0
  1011. package/es/VisProgressiveLoader-36053d5a.js.map +1 -0
  1012. package/es/VisTabularDatatip-3497f5ff.js +24 -0
  1013. package/es/VisTabularDatatip-3497f5ff.js.map +1 -0
  1014. package/es/WindowOverlay-ca2baa48.js +110 -0
  1015. package/es/WindowOverlay-ca2baa48.js.map +1 -0
  1016. package/es/YearsGridView-2c978d9f.js +187 -0
  1017. package/es/YearsGridView-2c978d9f.js.map +1 -0
  1018. package/es/hoc/PRIVATE_withDirectionIcon.js +4 -4
  1019. package/es/hoc/PRIVATE_withThemeIcon.js +3 -3
  1020. package/es/hoc/UNSAFE_withThemeProps.js +3 -3
  1021. package/es/hooks/PRIVATE_useChartContextMenu.js +21 -21
  1022. package/es/hooks/PRIVATE_useChartDatatip.js +14 -14
  1023. package/es/hooks/PRIVATE_useChartEvents.js +20 -20
  1024. package/es/hooks/PRIVATE_useChartMarquee.js +25 -25
  1025. package/es/hooks/PRIVATE_useCssVars.js +7 -7
  1026. package/es/hooks/PRIVATE_useCurrentKey.js +4 -4
  1027. package/es/hooks/PRIVATE_useDatatip.js +12 -12
  1028. package/es/hooks/PRIVATE_useFloating.js +4 -4
  1029. package/es/hooks/PRIVATE_useReorderable.js +5 -5
  1030. package/es/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
  1031. package/es/hooks/PRIVATE_useSelection.js +4 -4
  1032. package/es/hooks/PRIVATE_useTabBar.js +4 -4
  1033. package/es/hooks/PRIVATE_useTooltipOnTruncation.js +16 -16
  1034. package/es/hooks/PRIVATE_useVisContextMenu.js +21 -21
  1035. package/es/hooks/PRIVATE_useVisDragModeControls.js +24 -24
  1036. package/es/hooks/PRIVATE_useVisEvents.js +4 -4
  1037. package/es/hooks/PRIVATE_useVisMeterEvents.js +14 -14
  1038. package/es/hooks/PRIVATE_useVisSelection.js +15 -15
  1039. package/es/hooks/UNSAFE_useColorScheme.js +3 -3
  1040. package/es/hooks/UNSAFE_useCurrentBgColor.js +3 -3
  1041. package/es/hooks/UNSAFE_useDensity.js +3 -3
  1042. package/es/hooks/UNSAFE_useOutsideClick.js +8 -8
  1043. package/es/hooks/UNSAFE_usePrefixSuffix.js +4 -4
  1044. package/es/hooks/UNSAFE_usePressClick.js +1 -1
  1045. package/es/hooks/UNSAFE_useScale.js +3 -3
  1046. package/es/hooks/UNSAFE_useTestId.js +3 -3
  1047. package/es/hooks/UNSAFE_useTheme.js +3 -3
  1048. package/es/hooks/UNSAFE_useThemeInterpolations.js +6 -6
  1049. package/es/hooks/UNSAFE_useTooltip.js +16 -16
  1050. package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
  1051. package/es/hooks/UNSAFE_useUser.js +3 -3
  1052. package/es/index-3fdaba9a.js +11 -0
  1053. package/es/index-3fdaba9a.js.map +1 -0
  1054. package/es/listViewSelectionTests-d1f64e6f.js +3 -3
  1055. package/es/popupUtils-24a723a0.js +29 -0
  1056. package/es/popupUtils-24a723a0.js.map +1 -0
  1057. package/es/render-4d96f0d2.js +34 -0
  1058. package/es/render-4d96f0d2.js.map +1 -0
  1059. package/es/tabbableUtils-070beeed.js +79 -0
  1060. package/es/tabbableUtils-070beeed.js.map +1 -0
  1061. package/es/testData-e1df8616.js +256 -0
  1062. package/es/testData-e1df8616.js.map +1 -0
  1063. package/es/tooltipUtils-35655bd6.js +93 -0
  1064. package/es/tooltipUtils-35655bd6.js.map +1 -0
  1065. package/es/useCellNavigation-bdb3248d.js +121 -0
  1066. package/es/useCellNavigation-bdb3248d.js.map +1 -0
  1067. package/es/useChartContextMenu-61fe46b8.js +2 -2
  1068. package/es/useChartDatatip-b0d35cfe.js +165 -0
  1069. package/es/useChartDatatip-b0d35cfe.js.map +1 -0
  1070. package/es/useChartMarquee-7cd47205.js +293 -0
  1071. package/es/useChartMarquee-7cd47205.js.map +1 -0
  1072. package/es/useColorScheme-8e5e458d.js +19 -0
  1073. package/es/useColorScheme-8e5e458d.js.map +1 -0
  1074. package/es/useContextMenu-3c62d9eb.js +2 -2
  1075. package/es/useCssVars-608cb842.js +58 -0
  1076. package/es/useCssVars-608cb842.js.map +1 -0
  1077. package/es/useCurrentBgColor-ee671513.js +19 -0
  1078. package/es/useCurrentBgColor-ee671513.js.map +1 -0
  1079. package/es/useCurrentKey-b8e62707.js +81 -0
  1080. package/es/useCurrentKey-b8e62707.js.map +1 -0
  1081. package/es/useDatatip-daec4346.js +90 -0
  1082. package/es/useDatatip-daec4346.js.map +1 -0
  1083. package/es/useDensity-556ca8b2.js +19 -0
  1084. package/es/useDensity-556ca8b2.js.map +1 -0
  1085. package/es/useFloating-abfd69eb.js +1916 -0
  1086. package/es/useFloating-abfd69eb.js.map +1 -0
  1087. package/es/useKeyboardEvents-7202253d.js +78 -0
  1088. package/es/useKeyboardEvents-7202253d.js.map +1 -0
  1089. package/es/useLegendContextMenu-66d6eb7e.js +4 -4
  1090. package/es/useMeterDatatip-dcd2a05e.js +73 -0
  1091. package/es/useMeterDatatip-dcd2a05e.js.map +1 -0
  1092. package/es/useNavigationListItem-a28f2c34.js +81 -0
  1093. package/es/useNavigationListItem-a28f2c34.js.map +1 -0
  1094. package/es/useOutsideClick-817bf098.js +101 -0
  1095. package/es/useOutsideClick-817bf098.js.map +1 -0
  1096. package/es/usePopupAnimation-6e0781b5.js +85 -0
  1097. package/es/usePopupAnimation-6e0781b5.js.map +1 -0
  1098. package/es/usePrefixSuffix-0874343c.js +70 -0
  1099. package/es/usePrefixSuffix-0874343c.js.map +1 -0
  1100. package/es/usePressClick-945cc43b.js +39 -0
  1101. package/es/usePressClick-945cc43b.js.map +1 -0
  1102. package/es/useReorderableItem-99a9dbce.js +268 -0
  1103. package/es/useReorderableItem-99a9dbce.js.map +1 -0
  1104. package/es/useRovingTabIndexContainer-f7972085.js +98 -0
  1105. package/es/useRovingTabIndexContainer-f7972085.js.map +1 -0
  1106. package/es/useScale-1cdb639e.js +19 -0
  1107. package/es/useScale-1cdb639e.js.map +1 -0
  1108. package/es/useSelectCommon-896b594a.js +686 -0
  1109. package/es/useSelectCommon-896b594a.js.map +1 -0
  1110. package/es/useSelectDrill-5525e5a3.js +104 -0
  1111. package/es/useSelectDrill-5525e5a3.js.map +1 -0
  1112. package/es/useSelection-2d26ab04.js +239 -0
  1113. package/es/useSelection-2d26ab04.js.map +1 -0
  1114. package/es/useSelection-8be05a70.js +186 -0
  1115. package/es/useSelection-8be05a70.js.map +1 -0
  1116. package/es/useTabBar-cbac0c2e.js +1 -1
  1117. package/es/useTestId-474ac6ca.js +21 -0
  1118. package/es/useTestId-474ac6ca.js.map +1 -0
  1119. package/es/useTheme-5aa36f52.js +19 -0
  1120. package/es/useTheme-5aa36f52.js.map +1 -0
  1121. package/es/useThemeInterpolations-05e58770.js +57 -0
  1122. package/es/useThemeInterpolations-05e58770.js.map +1 -0
  1123. package/es/useTooltip-138c94ee.js +424 -0
  1124. package/es/useTooltip-138c94ee.js.map +1 -0
  1125. package/es/useTooltipOnTruncation-a97211b6.js +27 -0
  1126. package/es/useTooltipOnTruncation-a97211b6.js.map +1 -0
  1127. package/es/useTranslationBundle-2df40edf.js +29 -0
  1128. package/es/useTranslationBundle-2df40edf.js.map +1 -0
  1129. package/es/useUser-6b2e271a.js +19 -0
  1130. package/es/useUser-6b2e271a.js.map +1 -0
  1131. package/es/useVisDragModeControls-ed260d12.js +87 -0
  1132. package/es/useVisDragModeControls-ed260d12.js.map +1 -0
  1133. package/es/useVisEvents-d8652100.js +153 -0
  1134. package/es/useVisEvents-d8652100.js.map +1 -0
  1135. package/es/utils/PRIVATE_tooltipUtils.js +14 -14
  1136. package/es/utils/PRIVATE_visTestUtils.js +6 -6
  1137. package/es/utils/UNSAFE_popupUtils.js +8 -8
  1138. package/es/withDirectionIcon-fe0b69a7.js +14 -0
  1139. package/es/withDirectionIcon-fe0b69a7.js.map +1 -0
  1140. package/es/withThemeProps-1621f692.js +2 -2
  1141. package/package.json +2 -2
  1142. package/types/UNSAFE_DatePicker/useCellNavigation.d.ts +0 -1
  1143. package/types/UNSAFE_Link/themes/LinkStyles.css.d.ts +2 -1
  1144. package/types/UNSAFE_Link/themes/redwood/LinkVariants.css.d.ts +2 -1
  1145. package/types/UNSAFE_Link/themes/stable/LinkVariants.css.d.ts +2 -1
  1146. package/types/hooks/UNSAFE_usePressClick/usePressClick.d.ts +1 -0
  1147. package/amd/BarChart-1be56919.js +0 -2
  1148. package/amd/BarChart-1be56919.js.map +0 -1
  1149. package/amd/BaseButton-771c5db8.js +0 -2
  1150. package/amd/BaseButton-771c5db8.js.map +0 -1
  1151. package/amd/BaseCardView-4f88499c.js +0 -2
  1152. package/amd/BaseCardView-4f88499c.js.map +0 -1
  1153. package/amd/BaseCardViewSelectionTest-adaca8ca.js +0 -2
  1154. package/amd/BaseCardViewSelectionTest-adaca8ca.js.map +0 -1
  1155. package/amd/BaseRichSelection-eb93f0e2.js +0 -2
  1156. package/amd/BaseRichSelection-eb93f0e2.js.map +0 -1
  1157. package/amd/Button-af88bb81.js +0 -2
  1158. package/amd/Button-af88bb81.js.map +0 -1
  1159. package/amd/ButtonSetButton-00612cdd.js +0 -2
  1160. package/amd/ButtonSetButton-00612cdd.js.map +0 -1
  1161. package/amd/ButtonSetIconButton-d0684966.js +0 -2
  1162. package/amd/ButtonSetIconButton-d0684966.js.map +0 -1
  1163. package/amd/ButtonSetItem-1d88a72d.js +0 -2
  1164. package/amd/ButtonSetItem-1d88a72d.js.map +0 -1
  1165. package/amd/CardFlexView-86cb369a.js +0 -2
  1166. package/amd/CardFlexView-86cb369a.js.map +0 -1
  1167. package/amd/CardGridView-b3f11290.js +0 -2
  1168. package/amd/CardGridView-b3f11290.js.map +0 -1
  1169. package/amd/Chart-0a3205dd.js +0 -2
  1170. package/amd/Chart-0a3205dd.js.map +0 -1
  1171. package/amd/Checkbox-3a25138e.js +0 -2
  1172. package/amd/Checkbox-3a25138e.js.map +0 -1
  1173. package/amd/CheckboxControl-232e227d.js +0 -2
  1174. package/amd/CheckboxControl-232e227d.js.map +0 -1
  1175. package/amd/CheckboxRadioField-9b73f66b.js +0 -2
  1176. package/amd/CheckboxRadioField-9b73f66b.js.map +0 -1
  1177. package/amd/CheckboxSetContext-2e486ea8.js +0 -2
  1178. package/amd/CheckboxSetContext-2e486ea8.js.map +0 -1
  1179. package/amd/ClearIcon-f1befe37.js +0 -2
  1180. package/amd/ClearIcon-f1befe37.js.map +0 -1
  1181. package/amd/ComboChart-5dba7db4.js +0 -2
  1182. package/amd/ComboChart-5dba7db4.js.map +0 -1
  1183. package/amd/CompactUserAssistance-f962b357.js +0 -2
  1184. package/amd/CompactUserAssistance-f962b357.js.map +0 -1
  1185. package/amd/ComponentMessageContainer-13e53260.js +0 -2
  1186. package/amd/ComponentMessageContainer-13e53260.js.map +0 -1
  1187. package/amd/ConveyorBeltItem-1dfb412e.js +0 -2
  1188. package/amd/ConveyorBeltItem-1dfb412e.js.map +0 -1
  1189. package/amd/DatePicker-b907fb97.js +0 -2
  1190. package/amd/DatePicker-b907fb97.js.map +0 -1
  1191. package/amd/DatePickerHeader-d95959a6.js +0 -2
  1192. package/amd/DatePickerHeader-d95959a6.js.map +0 -1
  1193. package/amd/Diagram-92f409e0.js +0 -2
  1194. package/amd/Diagram-92f409e0.js.map +0 -1
  1195. package/amd/Dialog-b9dd8533.js +0 -2
  1196. package/amd/Dialog-b9dd8533.js.map +0 -1
  1197. package/amd/EmbeddedIconButton-8635fed8.js +0 -2
  1198. package/amd/EmbeddedIconButton-8635fed8.js.map +0 -1
  1199. package/amd/ExpandableList-c372fe68.js +0 -2
  1200. package/amd/ExpandableList-c372fe68.js.map +0 -1
  1201. package/amd/Gantt-f6a53a90.js +0 -2
  1202. package/amd/Gantt-f6a53a90.js.map +0 -1
  1203. package/amd/IconButton-05c6b793.js +0 -2
  1204. package/amd/IconButton-05c6b793.js.map +0 -1
  1205. package/amd/IconMenuButton-82a7258c.js +0 -2
  1206. package/amd/IconMenuButton-82a7258c.js.map +0 -1
  1207. package/amd/IconProgressButton-3bff5384.js +0 -2
  1208. package/amd/IconProgressButton-3bff5384.js.map +0 -1
  1209. package/amd/IconSwitchButton-faf2b405.js +0 -2
  1210. package/amd/IconSwitchButton-faf2b405.js.map +0 -1
  1211. package/amd/IconToggleButton-d5112634.js +0 -2
  1212. package/amd/IconToggleButton-d5112634.js.map +0 -1
  1213. package/amd/Indexer-510aaf3a.js +0 -2
  1214. package/amd/Indexer-510aaf3a.js.map +0 -1
  1215. package/amd/InlineUserAssistance-3d3e72a9.js +0 -2
  1216. package/amd/InlineUserAssistance-3d3e72a9.js.map +0 -1
  1217. package/amd/InputDateMask-55fcbf50.js +0 -2
  1218. package/amd/InputDateMask-55fcbf50.js.map +0 -1
  1219. package/amd/InputDatePicker-ecd4a7ce.js +0 -2
  1220. package/amd/InputDatePicker-ecd4a7ce.js.map +0 -1
  1221. package/amd/InputPassword-61090b77.js +0 -2
  1222. package/amd/InputPassword-61090b77.js.map +0 -1
  1223. package/amd/InputText-32954a14.js +0 -2
  1224. package/amd/InputText-32954a14.js.map +0 -1
  1225. package/amd/Label-7cbbe3b7.js +0 -2
  1226. package/amd/Label-7cbbe3b7.js.map +0 -1
  1227. package/amd/LineAreaChart-190b3d46.js +0 -2
  1228. package/amd/LineAreaChart-190b3d46.js.map +0 -1
  1229. package/amd/Link-2dae4de2.js +0 -2
  1230. package/amd/Link-2dae4de2.js.map +0 -1
  1231. package/amd/List-37e37948.js +0 -2
  1232. package/amd/List-37e37948.js.map +0 -1
  1233. package/amd/ListView-325e1814.js +0 -2
  1234. package/amd/ListView-325e1814.js.map +0 -1
  1235. package/amd/LoadMoreCollection-83413a59.js +0 -2
  1236. package/amd/LoadMoreCollection-83413a59.js.map +0 -1
  1237. package/amd/MenuButton-233a631a.js +0 -2
  1238. package/amd/MenuButton-233a631a.js.map +0 -1
  1239. package/amd/Message-40182dfc.js +0 -2
  1240. package/amd/Message-40182dfc.js.map +0 -1
  1241. package/amd/MessageToast-236687bd.js +0 -2
  1242. package/amd/MessageToast-236687bd.js.map +0 -1
  1243. package/amd/MonthView-c8a6ab15.js +0 -2
  1244. package/amd/MonthView-c8a6ab15.js.map +0 -1
  1245. package/amd/NumberInputText-91b73dcb.js +0 -2
  1246. package/amd/NumberInputText-91b73dcb.js.map +0 -1
  1247. package/amd/OverflowTabBar-ef21bcd3.js +0 -2
  1248. package/amd/OverflowTabBar-ef21bcd3.js.map +0 -1
  1249. package/amd/OverflowTabBarItem-db77f3d3.js +0 -2
  1250. package/amd/OverflowTabBarItem-db77f3d3.js.map +0 -1
  1251. package/amd/PictoChart-d5bedf82.js +0 -2
  1252. package/amd/PictoChart-d5bedf82.js.map +0 -1
  1253. package/amd/ProgressButton-e30c909b.js +0 -2
  1254. package/amd/ProgressButton-e30c909b.js.map +0 -1
  1255. package/amd/RadioItem-7ebada33.js +0 -2
  1256. package/amd/RadioItem-7ebada33.js.map +0 -1
  1257. package/amd/RadioSet-5e4b6669.js +0 -2
  1258. package/amd/RadioSet-5e4b6669.js.map +0 -1
  1259. package/amd/RemovableNavigationListItem-9950c473.js +0 -2
  1260. package/amd/RemovableNavigationListItem-9950c473.js.map +0 -1
  1261. package/amd/RemovableTabBarItem-fcada993.js +0 -2
  1262. package/amd/RemovableTabBarItem-fcada993.js.map +0 -1
  1263. package/amd/RevealToggleIcon-411d7a73.js +0 -2
  1264. package/amd/RevealToggleIcon-411d7a73.js.map +0 -1
  1265. package/amd/ScatterChart-3f6024a2.js +0 -2
  1266. package/amd/ScatterChart-3f6024a2.js.map +0 -1
  1267. package/amd/SelectMultiple-d3196bcd.js +0 -2
  1268. package/amd/SelectMultiple-d3196bcd.js.map +0 -1
  1269. package/amd/SelectSingle-007ab01c.js +0 -2
  1270. package/amd/SelectSingle-007ab01c.js.map +0 -1
  1271. package/amd/SplitMenuButton-65acf4d4.js +0 -2
  1272. package/amd/SplitMenuButton-65acf4d4.js.map +0 -1
  1273. package/amd/Table-52c72d48.js +0 -2
  1274. package/amd/Table-52c72d48.js.map +0 -1
  1275. package/amd/TableView-dc0766a7.js +0 -2
  1276. package/amd/TableView-dc0766a7.js.map +0 -1
  1277. package/amd/TagCloud-6afc73f7.js +0 -2
  1278. package/amd/TagCloud-6afc73f7.js.map +0 -1
  1279. package/amd/TextArea-f6b13c73.js +0 -2
  1280. package/amd/TextArea-f6b13c73.js.map +0 -1
  1281. package/amd/TextAreaAutosize-af350c32.js +0 -2
  1282. package/amd/TextAreaAutosize-af350c32.js.map +0 -1
  1283. package/amd/TimeComponentCanvas2D-27e55de9.js +0 -2
  1284. package/amd/TimeComponentCanvas2D-27e55de9.js.map +0 -1
  1285. package/amd/ToggleButton-a999647d.js +0 -2
  1286. package/amd/ToggleButton-a999647d.js.map +0 -1
  1287. package/amd/VirtualizedCollection-897516a5.js +0 -2
  1288. package/amd/VirtualizedCollection-897516a5.js.map +0 -1
  1289. package/amd/VirtualizedListView-0b9e1c53.js +0 -2
  1290. package/amd/VirtualizedListView-0b9e1c53.js.map +0 -1
  1291. package/amd/YearsGridView-c09d1d19.js +0 -2
  1292. package/amd/YearsGridView-c09d1d19.js.map +0 -1
  1293. package/amd/useCellNavigation-47060bc3.js +0 -2
  1294. package/amd/useCellNavigation-47060bc3.js.map +0 -1
  1295. package/amd/useChartMarquee-8ce16d57.js +0 -2
  1296. package/amd/useChartMarquee-8ce16d57.js.map +0 -1
  1297. package/amd/usePressClick-b7b38da2.js +0 -2
  1298. package/amd/usePressClick-b7b38da2.js.map +0 -1
  1299. package/amd/useSelectCommon-fd0e7664.js +0 -2
  1300. package/amd/useSelectCommon-fd0e7664.js.map +0 -1
  1301. package/amd/useSelectDrill-332195a7.js +0 -2
  1302. package/amd/useSelectDrill-332195a7.js.map +0 -1
  1303. package/amd/useSelection-04d131fa.js +0 -2
  1304. package/amd/useSelection-04d131fa.js.map +0 -1
  1305. package/amd/useVisDragModeControls-69001c64.js +0 -2
  1306. package/amd/useVisDragModeControls-69001c64.js.map +0 -1
  1307. package/cjs/BarChart-fae84003.js +0 -181
  1308. package/cjs/BarChart-fae84003.js.map +0 -1
  1309. package/cjs/BaseButton-97ec7696.js +0 -174
  1310. package/cjs/BaseButton-97ec7696.js.map +0 -1
  1311. package/cjs/BaseCardView-0be36db0.js +0 -687
  1312. package/cjs/BaseCardView-0be36db0.js.map +0 -1
  1313. package/cjs/BaseCardViewSelectionTest-d91b3015.js +0 -734
  1314. package/cjs/BaseCardViewSelectionTest-d91b3015.js.map +0 -1
  1315. package/cjs/BaseRichSelection-e2a38380.js +0 -344
  1316. package/cjs/BaseRichSelection-e2a38380.js.map +0 -1
  1317. package/cjs/Button-371573d5.js +0 -24
  1318. package/cjs/Button-371573d5.js.map +0 -1
  1319. package/cjs/ButtonSetButton-c6621073.js +0 -35
  1320. package/cjs/ButtonSetButton-c6621073.js.map +0 -1
  1321. package/cjs/ButtonSetIconButton-8645f3a5.js +0 -42
  1322. package/cjs/ButtonSetIconButton-8645f3a5.js.map +0 -1
  1323. package/cjs/ButtonSetItem-aa4211b4.js +0 -67
  1324. package/cjs/ButtonSetItem-aa4211b4.js.map +0 -1
  1325. package/cjs/CardFlexView-2547fc13.js +0 -29
  1326. package/cjs/CardFlexView-2547fc13.js.map +0 -1
  1327. package/cjs/CardGridView-c355e9d4.js +0 -17
  1328. package/cjs/CardGridView-c355e9d4.js.map +0 -1
  1329. package/cjs/Chart-b79289a8.js +0 -493
  1330. package/cjs/Chart-b79289a8.js.map +0 -1
  1331. package/cjs/Checkbox-5bfd221f.js +0 -106
  1332. package/cjs/Checkbox-5bfd221f.js.map +0 -1
  1333. package/cjs/CheckboxControl-3be46530.js +0 -111
  1334. package/cjs/CheckboxControl-3be46530.js.map +0 -1
  1335. package/cjs/CheckboxRadioField-037cddb9.js +0 -185
  1336. package/cjs/CheckboxRadioField-037cddb9.js.map +0 -1
  1337. package/cjs/ClearIcon-02e093be.js +0 -23
  1338. package/cjs/ClearIcon-02e093be.js.map +0 -1
  1339. package/cjs/ComboChart-e17d5863.js +0 -174
  1340. package/cjs/ComboChart-e17d5863.js.map +0 -1
  1341. package/cjs/CompactUserAssistance-b3c3929e.js +0 -49
  1342. package/cjs/CompactUserAssistance-b3c3929e.js.map +0 -1
  1343. package/cjs/ComponentMessageContainer-1cea67f6.js +0 -71
  1344. package/cjs/ComponentMessageContainer-1cea67f6.js.map +0 -1
  1345. package/cjs/ConveyorBeltItem-2577c86d.js +0 -641
  1346. package/cjs/ConveyorBeltItem-2577c86d.js.map +0 -1
  1347. package/cjs/DatePicker-c770df48.js +0 -566
  1348. package/cjs/DatePicker-c770df48.js.map +0 -1
  1349. package/cjs/DatePickerHeader-da8173f7.js +0 -46
  1350. package/cjs/DatePickerHeader-da8173f7.js.map +0 -1
  1351. package/cjs/Diagram-c4064fd7.js +0 -2037
  1352. package/cjs/Diagram-c4064fd7.js.map +0 -1
  1353. package/cjs/Dialog-c6c8024c.js +0 -346
  1354. package/cjs/Dialog-c6c8024c.js.map +0 -1
  1355. package/cjs/EmbeddedIconButton-89616e5f.js +0 -13
  1356. package/cjs/EmbeddedIconButton-89616e5f.js.map +0 -1
  1357. package/cjs/ExpandableList-d1823448.js +0 -169
  1358. package/cjs/ExpandableList-d1823448.js.map +0 -1
  1359. package/cjs/Gantt-674a89f8.js +0 -3819
  1360. package/cjs/Gantt-674a89f8.js.map +0 -1
  1361. package/cjs/IconButton-e7a68b4b.js +0 -39
  1362. package/cjs/IconButton-e7a68b4b.js.map +0 -1
  1363. package/cjs/IconMenuButton-3e540f38.js +0 -58
  1364. package/cjs/IconMenuButton-3e540f38.js.map +0 -1
  1365. package/cjs/IconProgressButton-3aa70c31.js +0 -49
  1366. package/cjs/IconProgressButton-3aa70c31.js.map +0 -1
  1367. package/cjs/IconSwitchButton-6bab813f.js +0 -46
  1368. package/cjs/IconSwitchButton-6bab813f.js.map +0 -1
  1369. package/cjs/IconToggleButton-7ec8c084.js +0 -45
  1370. package/cjs/IconToggleButton-7ec8c084.js.map +0 -1
  1371. package/cjs/Indexer-099ecbad.js +0 -339
  1372. package/cjs/Indexer-099ecbad.js.map +0 -1
  1373. package/cjs/InlineUserAssistance-5d6bac7a.js +0 -85
  1374. package/cjs/InlineUserAssistance-5d6bac7a.js.map +0 -1
  1375. package/cjs/InputDateMask-946f6dfa.js +0 -1060
  1376. package/cjs/InputDateMask-946f6dfa.js.map +0 -1
  1377. package/cjs/InputDatePicker-3dace90c.js +0 -309
  1378. package/cjs/InputDatePicker-3dace90c.js.map +0 -1
  1379. package/cjs/InputPassword-564260d2.js +0 -157
  1380. package/cjs/InputPassword-564260d2.js.map +0 -1
  1381. package/cjs/InputText-a9d46813.js +0 -199
  1382. package/cjs/InputText-a9d46813.js.map +0 -1
  1383. package/cjs/Label-2e05c87f.js +0 -85
  1384. package/cjs/Label-2e05c87f.js.map +0 -1
  1385. package/cjs/LineAreaChart-523ae108.js +0 -172
  1386. package/cjs/LineAreaChart-523ae108.js.map +0 -1
  1387. package/cjs/Link-a829e7f1.js +0 -35
  1388. package/cjs/Link-a829e7f1.js.map +0 -1
  1389. package/cjs/List-24abb3df.js +0 -722
  1390. package/cjs/List-24abb3df.js.map +0 -1
  1391. package/cjs/ListView-7e894199.js +0 -430
  1392. package/cjs/ListView-7e894199.js.map +0 -1
  1393. package/cjs/LoadMoreCollection-69bc038c.js +0 -34
  1394. package/cjs/LoadMoreCollection-69bc038c.js.map +0 -1
  1395. package/cjs/MenuButton-b811e5e4.js +0 -63
  1396. package/cjs/MenuButton-b811e5e4.js.map +0 -1
  1397. package/cjs/Message-d1d5538e.js +0 -208
  1398. package/cjs/Message-d1d5538e.js.map +0 -1
  1399. package/cjs/MessageToast-9154f05f.js +0 -243
  1400. package/cjs/MessageToast-9154f05f.js.map +0 -1
  1401. package/cjs/MonthView-35623a0e.js +0 -210
  1402. package/cjs/MonthView-35623a0e.js.map +0 -1
  1403. package/cjs/NavigationListItem-9b3d3258.js +0 -153
  1404. package/cjs/NavigationListItem-9b3d3258.js.map +0 -1
  1405. package/cjs/NumberInputText-6032717d.js +0 -223
  1406. package/cjs/NumberInputText-6032717d.js.map +0 -1
  1407. package/cjs/OverflowTabBar-794b4c93.js +0 -71
  1408. package/cjs/OverflowTabBar-794b4c93.js.map +0 -1
  1409. package/cjs/OverflowTabBarItem-43956479.js +0 -88
  1410. package/cjs/OverflowTabBarItem-43956479.js.map +0 -1
  1411. package/cjs/PictoChart-b650c050.js +0 -747
  1412. package/cjs/PictoChart-b650c050.js.map +0 -1
  1413. package/cjs/ProgressButton-1a01d49b.js +0 -58
  1414. package/cjs/ProgressButton-1a01d49b.js.map +0 -1
  1415. package/cjs/RadioItem-68304596.js +0 -115
  1416. package/cjs/RadioItem-68304596.js.map +0 -1
  1417. package/cjs/RadioSet-a16f664b.js +0 -45
  1418. package/cjs/RadioSet-a16f664b.js.map +0 -1
  1419. package/cjs/RemovableNavigationListItem-b13b3516.js +0 -26
  1420. package/cjs/RemovableNavigationListItem-b13b3516.js.map +0 -1
  1421. package/cjs/RemovableTabBarItem-e71b7be3.js +0 -38
  1422. package/cjs/RemovableTabBarItem-e71b7be3.js.map +0 -1
  1423. package/cjs/RevealToggleIcon-06b0b035.js +0 -28
  1424. package/cjs/RevealToggleIcon-06b0b035.js.map +0 -1
  1425. package/cjs/ScatterChart-bd2e0ebb.js +0 -105
  1426. package/cjs/ScatterChart-bd2e0ebb.js.map +0 -1
  1427. package/cjs/SelectMultiple-0d809f25.js +0 -1299
  1428. package/cjs/SelectMultiple-0d809f25.js.map +0 -1
  1429. package/cjs/SelectSingle-f5dd375a.js +0 -732
  1430. package/cjs/SelectSingle-f5dd375a.js.map +0 -1
  1431. package/cjs/SplitMenuButton-e7fd9b79.js +0 -141
  1432. package/cjs/SplitMenuButton-e7fd9b79.js.map +0 -1
  1433. package/cjs/Table-65e94df9.js +0 -5499
  1434. package/cjs/Table-65e94df9.js.map +0 -1
  1435. package/cjs/TableView-dfc37f9f.js +0 -33
  1436. package/cjs/TableView-dfc37f9f.js.map +0 -1
  1437. package/cjs/TagCloud-0aee2c72.js +0 -826
  1438. package/cjs/TagCloud-0aee2c72.js.map +0 -1
  1439. package/cjs/TextArea-a11875f3.js +0 -162
  1440. package/cjs/TextArea-a11875f3.js.map +0 -1
  1441. package/cjs/TextAreaAutosize-5a8e8335.js +0 -246
  1442. package/cjs/TextAreaAutosize-5a8e8335.js.map +0 -1
  1443. package/cjs/TimeComponentCanvas2D-e6be22d4.js +0 -591
  1444. package/cjs/TimeComponentCanvas2D-e6be22d4.js.map +0 -1
  1445. package/cjs/ToggleButton-8ac0ff29.js +0 -30
  1446. package/cjs/ToggleButton-8ac0ff29.js.map +0 -1
  1447. package/cjs/VirtualizedCollection-9e8c48b9.js +0 -180
  1448. package/cjs/VirtualizedCollection-9e8c48b9.js.map +0 -1
  1449. package/cjs/VirtualizedListView-0a4f07ca.js +0 -16
  1450. package/cjs/VirtualizedListView-0a4f07ca.js.map +0 -1
  1451. package/cjs/YearsGridView-83c7e684.js +0 -190
  1452. package/cjs/YearsGridView-83c7e684.js.map +0 -1
  1453. package/cjs/useCellNavigation-7a24d0c0.js +0 -129
  1454. package/cjs/useCellNavigation-7a24d0c0.js.map +0 -1
  1455. package/cjs/useChartMarquee-7c09d6ef.js +0 -295
  1456. package/cjs/useChartMarquee-7c09d6ef.js.map +0 -1
  1457. package/cjs/usePressClick-421494df.js +0 -33
  1458. package/cjs/usePressClick-421494df.js.map +0 -1
  1459. package/cjs/useSelectCommon-d593ef26.js +0 -709
  1460. package/cjs/useSelectCommon-d593ef26.js.map +0 -1
  1461. package/cjs/useSelectDrill-ddca7003.js +0 -107
  1462. package/cjs/useSelectDrill-ddca7003.js.map +0 -1
  1463. package/cjs/useSelection-810ecdc6.js +0 -188
  1464. package/cjs/useSelection-810ecdc6.js.map +0 -1
  1465. package/cjs/useVisDragModeControls-388926ea.js +0 -89
  1466. package/cjs/useVisDragModeControls-388926ea.js.map +0 -1
  1467. package/es/BarChart-bbc688ef.js +0 -179
  1468. package/es/BarChart-bbc688ef.js.map +0 -1
  1469. package/es/BaseButton-a0534b4d.js +0 -172
  1470. package/es/BaseButton-a0534b4d.js.map +0 -1
  1471. package/es/BaseCardViewSelectionTest-2e5f019a.js +0 -721
  1472. package/es/BaseCardViewSelectionTest-2e5f019a.js.map +0 -1
  1473. package/es/BaseNavigationListItem-af84a9ee.js +0 -119
  1474. package/es/BaseNavigationListItem-af84a9ee.js.map +0 -1
  1475. package/es/BaseRichSelection-9f2f2b59.js +0 -342
  1476. package/es/BaseRichSelection-9f2f2b59.js.map +0 -1
  1477. package/es/Button-f55c264d.js +0 -22
  1478. package/es/Button-f55c264d.js.map +0 -1
  1479. package/es/ButtonSetButton-226c9e73.js +0 -33
  1480. package/es/ButtonSetButton-226c9e73.js.map +0 -1
  1481. package/es/ButtonSetIconButton-2a046c9c.js +0 -40
  1482. package/es/ButtonSetIconButton-2a046c9c.js.map +0 -1
  1483. package/es/ButtonSetItem-43ef9553.js +0 -65
  1484. package/es/ButtonSetItem-43ef9553.js.map +0 -1
  1485. package/es/Card-f3b7c723.js +0 -15
  1486. package/es/Card-f3b7c723.js.map +0 -1
  1487. package/es/Center-76b761ea.js +0 -16
  1488. package/es/Center-76b761ea.js.map +0 -1
  1489. package/es/Chart-6291ad48.js +0 -491
  1490. package/es/Chart-6291ad48.js.map +0 -1
  1491. package/es/Checkbox-34816a7d.js +0 -104
  1492. package/es/Checkbox-34816a7d.js.map +0 -1
  1493. package/es/CheckboxControl-a9d4d9d5.js +0 -109
  1494. package/es/CheckboxControl-a9d4d9d5.js.map +0 -1
  1495. package/es/CheckboxRadioField-922ab9ff.js +0 -183
  1496. package/es/CheckboxRadioField-922ab9ff.js.map +0 -1
  1497. package/es/CheckboxSet-28953b25.js +0 -49
  1498. package/es/CheckboxSet-28953b25.js.map +0 -1
  1499. package/es/ClearIcon-29781882.js +0 -21
  1500. package/es/ClearIcon-29781882.js.map +0 -1
  1501. package/es/ComboChart-4738f936.js +0 -172
  1502. package/es/ComboChart-4738f936.js.map +0 -1
  1503. package/es/CompactLabelAssistance-fd3fb481.js +0 -34
  1504. package/es/CompactLabelAssistance-fd3fb481.js.map +0 -1
  1505. package/es/CompactUserAssistance-bd24e31a.js +0 -47
  1506. package/es/CompactUserAssistance-bd24e31a.js.map +0 -1
  1507. package/es/ComponentMessageContainer-6c106a09.js +0 -68
  1508. package/es/ComponentMessageContainer-6c106a09.js.map +0 -1
  1509. package/es/ConveyorBeltItem-ce67a451.js +0 -638
  1510. package/es/ConveyorBeltItem-ce67a451.js.map +0 -1
  1511. package/es/DatePicker-e7f2ef3c.js +0 -564
  1512. package/es/DatePicker-e7f2ef3c.js.map +0 -1
  1513. package/es/DatePickerHeader-9c0d4332.js +0 -44
  1514. package/es/DatePickerHeader-9c0d4332.js.map +0 -1
  1515. package/es/Diagram-b1f6a590.js +0 -2035
  1516. package/es/Diagram-b1f6a590.js.map +0 -1
  1517. package/es/Dialog-0ca362cc.js +0 -344
  1518. package/es/Dialog-0ca362cc.js.map +0 -1
  1519. package/es/DragHandle-99d4c921.js +0 -22
  1520. package/es/DragHandle-99d4c921.js.map +0 -1
  1521. package/es/DrawerPopup-9cdb203a.js +0 -381
  1522. package/es/DrawerPopup-9cdb203a.js.map +0 -1
  1523. package/es/Dropdown-60833900.js +0 -80
  1524. package/es/Dropdown-60833900.js.map +0 -1
  1525. package/es/EmbeddedIconButton-0c3562a1.js +0 -11
  1526. package/es/EmbeddedIconButton-0c3562a1.js.map +0 -1
  1527. package/es/EnvironmentProvider-bada8909.js +0 -58
  1528. package/es/EnvironmentProvider-bada8909.js.map +0 -1
  1529. package/es/ExpandableList-cbf9ae2c.js +0 -167
  1530. package/es/ExpandableList-cbf9ae2c.js.map +0 -1
  1531. package/es/Flex-ce31b351.js +0 -30
  1532. package/es/Flex-ce31b351.js.map +0 -1
  1533. package/es/Floating-f02677ba.js +0 -462
  1534. package/es/Floating-f02677ba.js.map +0 -1
  1535. package/es/Gantt-5a395647.js +0 -3817
  1536. package/es/Gantt-5a395647.js.map +0 -1
  1537. package/es/Grid-421eb560.js +0 -27
  1538. package/es/Grid-421eb560.js.map +0 -1
  1539. package/es/Gridlines-6098cb5b.js +0 -168
  1540. package/es/Gridlines-6098cb5b.js.map +0 -1
  1541. package/es/HighlightText-86d92552.js +0 -31
  1542. package/es/HighlightText-86d92552.js.map +0 -1
  1543. package/es/IconButton-f3f7af21.js +0 -37
  1544. package/es/IconButton-f3f7af21.js.map +0 -1
  1545. package/es/IconMenuButton-48909b85.js +0 -56
  1546. package/es/IconMenuButton-48909b85.js.map +0 -1
  1547. package/es/IconProgressButton-1c4d65c3.js +0 -47
  1548. package/es/IconProgressButton-1c4d65c3.js.map +0 -1
  1549. package/es/IconSwitchButton-5db4ae26.js +0 -44
  1550. package/es/IconSwitchButton-5db4ae26.js.map +0 -1
  1551. package/es/IconToggleButton-be6c0ba1.js +0 -43
  1552. package/es/IconToggleButton-be6c0ba1.js.map +0 -1
  1553. package/es/IconUserAssistance-92be9618.js +0 -73
  1554. package/es/IconUserAssistance-92be9618.js.map +0 -1
  1555. package/es/InlineUserAssistance-2677a1eb.js +0 -81
  1556. package/es/InlineUserAssistance-2677a1eb.js.map +0 -1
  1557. package/es/InputDateMask-76493bee.js +0 -1056
  1558. package/es/InputDateMask-76493bee.js.map +0 -1
  1559. package/es/InputDatePicker-836ee6f7.js +0 -307
  1560. package/es/InputDatePicker-836ee6f7.js.map +0 -1
  1561. package/es/InputPassword-fa63ac17.js +0 -155
  1562. package/es/InputPassword-fa63ac17.js.map +0 -1
  1563. package/es/InputText-ce2272a8.js +0 -197
  1564. package/es/InputText-ce2272a8.js.map +0 -1
  1565. package/es/Label-56ca049f.js +0 -83
  1566. package/es/Label-56ca049f.js.map +0 -1
  1567. package/es/Layer-446bf21e.js +0 -91
  1568. package/es/Layer-446bf21e.js.map +0 -1
  1569. package/es/LayerHost-e6402730.js +0 -41
  1570. package/es/LayerHost-e6402730.js.map +0 -1
  1571. package/es/LayerManager-fa745cec.js +0 -34
  1572. package/es/LayerManager-fa745cec.js.map +0 -1
  1573. package/es/LineAreaChart-d3586935.js +0 -170
  1574. package/es/LineAreaChart-d3586935.js.map +0 -1
  1575. package/es/LineSeries-fc167ea2.js +0 -109
  1576. package/es/LineSeries-fc167ea2.js.map +0 -1
  1577. package/es/Link-98742013.js +0 -33
  1578. package/es/Link-98742013.js.map +0 -1
  1579. package/es/ListItemLayout-e9854821.js +0 -110
  1580. package/es/ListItemLayout-e9854821.js.map +0 -1
  1581. package/es/LiveRegion-b56a1aa2.js +0 -39
  1582. package/es/LiveRegion-b56a1aa2.js.map +0 -1
  1583. package/es/MaxLengthCounter-181b4fc9.js +0 -25
  1584. package/es/MaxLengthCounter-181b4fc9.js.map +0 -1
  1585. package/es/MaxLengthLiveRegion-2f3d34cf.js +0 -23
  1586. package/es/MaxLengthLiveRegion-2f3d34cf.js.map +0 -1
  1587. package/es/MenuButton-c00e269e.js +0 -61
  1588. package/es/MenuButton-c00e269e.js.map +0 -1
  1589. package/es/Message-b9e16c1c.js +0 -203
  1590. package/es/Message-b9e16c1c.js.map +0 -1
  1591. package/es/MessageLayer-7e3184aa.js +0 -58
  1592. package/es/MessageLayer-7e3184aa.js.map +0 -1
  1593. package/es/MessageToast-f9b0a234.js +0 -241
  1594. package/es/MessageToast-f9b0a234.js.map +0 -1
  1595. package/es/Modal-24a0bf4b.js +0 -288
  1596. package/es/Modal-24a0bf4b.js.map +0 -1
  1597. package/es/MonthView-5e633194.js +0 -208
  1598. package/es/MonthView-5e633194.js.map +0 -1
  1599. package/es/NavigationListItem-37edc23b.js +0 -150
  1600. package/es/NavigationListItem-37edc23b.js.map +0 -1
  1601. package/es/NumberInputText-f5d01daa.js +0 -220
  1602. package/es/NumberInputText-f5d01daa.js.map +0 -1
  1603. package/es/OverflowTabBar-87b36877.js +0 -69
  1604. package/es/OverflowTabBar-87b36877.js.map +0 -1
  1605. package/es/OverflowTabBarItem-a2684d2b.js +0 -86
  1606. package/es/OverflowTabBarItem-a2684d2b.js.map +0 -1
  1607. package/es/PictoChart-5b71908b.js +0 -744
  1608. package/es/PictoChart-5b71908b.js.map +0 -1
  1609. package/es/Popup-d8bf7f4d.js +0 -258
  1610. package/es/Popup-d8bf7f4d.js.map +0 -1
  1611. package/es/ProgressBar-2fa99d6f.js +0 -62
  1612. package/es/ProgressBar-2fa99d6f.js.map +0 -1
  1613. package/es/ProgressButton-9390070e.js +0 -56
  1614. package/es/ProgressButton-9390070e.js.map +0 -1
  1615. package/es/ProgressCircle-faf79b79.js +0 -48
  1616. package/es/ProgressCircle-faf79b79.js.map +0 -1
  1617. package/es/RadioItem-96cbf0ed.js +0 -113
  1618. package/es/RadioItem-96cbf0ed.js.map +0 -1
  1619. package/es/RadioSet-c51b3d56.js +0 -43
  1620. package/es/RadioSet-c51b3d56.js.map +0 -1
  1621. package/es/RemovableNavigationListItem-517d59b0.js +0 -24
  1622. package/es/RemovableNavigationListItem-517d59b0.js.map +0 -1
  1623. package/es/RemovableTabBarItem-87ba87ca.js +0 -36
  1624. package/es/RemovableTabBarItem-87ba87ca.js.map +0 -1
  1625. package/es/ReorderableTabBar-fc76a33b.js +0 -77
  1626. package/es/ReorderableTabBar-fc76a33b.js.map +0 -1
  1627. package/es/RevealToggleIcon-35baaadf.js +0 -26
  1628. package/es/RevealToggleIcon-35baaadf.js.map +0 -1
  1629. package/es/ScatterChart-449ec029.js +0 -103
  1630. package/es/ScatterChart-449ec029.js.map +0 -1
  1631. package/es/SectionedContent-3274d8f9.js +0 -64
  1632. package/es/SectionedContent-3274d8f9.js.map +0 -1
  1633. package/es/SelectMultiple-50995ef7.js +0 -1297
  1634. package/es/SelectMultiple-50995ef7.js.map +0 -1
  1635. package/es/SelectSingle-dcf0e9b1.js +0 -730
  1636. package/es/SelectSingle-dcf0e9b1.js.map +0 -1
  1637. package/es/SelectionCard-1ed9cf08.js +0 -16
  1638. package/es/SelectionCard-1ed9cf08.js.map +0 -1
  1639. package/es/SelectorAll-f52550a6.js +0 -69
  1640. package/es/SelectorAll-f52550a6.js.map +0 -1
  1641. package/es/Sheet-da412baf.js +0 -158
  1642. package/es/Sheet-da412baf.js.map +0 -1
  1643. package/es/SplitMenuButton-f44064de.js +0 -139
  1644. package/es/SplitMenuButton-f44064de.js.map +0 -1
  1645. package/es/StyledCard-362bd74b.js +0 -105
  1646. package/es/StyledCard-362bd74b.js.map +0 -1
  1647. package/es/StyledLabelValueLayout-d4881d3b.js +0 -18
  1648. package/es/StyledLabelValueLayout-d4881d3b.js.map +0 -1
  1649. package/es/TabBar-2858ff9c.js +0 -77
  1650. package/es/TabBar-2858ff9c.js.map +0 -1
  1651. package/es/TabBarMixed-a4beabce.js +0 -78
  1652. package/es/TabBarMixed-a4beabce.js.map +0 -1
  1653. package/es/TabBarMixedSeparator-51c518a1.js +0 -19
  1654. package/es/TabBarMixedSeparator-51c518a1.js.map +0 -1
  1655. package/es/Table-9919625b.js +0 -5497
  1656. package/es/Table-9919625b.js.map +0 -1
  1657. package/es/TableView-c97ef8ee.js +0 -31
  1658. package/es/TableView-c97ef8ee.js.map +0 -1
  1659. package/es/TagCloud-3f81d651.js +0 -824
  1660. package/es/TagCloud-3f81d651.js.map +0 -1
  1661. package/es/TextArea-2eb362ec.js +0 -160
  1662. package/es/TextArea-2eb362ec.js.map +0 -1
  1663. package/es/TextAreaAutosize-35a923c3.js +0 -244
  1664. package/es/TextAreaAutosize-35a923c3.js.map +0 -1
  1665. package/es/TimeComponentCanvas2D-9fd1f811.js +0 -568
  1666. package/es/TimeComponentCanvas2D-9fd1f811.js.map +0 -1
  1667. package/es/ToggleButton-cf8226d9.js +0 -28
  1668. package/es/ToggleButton-cf8226d9.js.map +0 -1
  1669. package/es/View-afe98b65.js +0 -167
  1670. package/es/View-afe98b65.js.map +0 -1
  1671. package/es/VisNoData-9ceb58f4.js +0 -32
  1672. package/es/VisNoData-9ceb58f4.js.map +0 -1
  1673. package/es/VisProgressiveLoader-36c728ac.js +0 -51
  1674. package/es/VisProgressiveLoader-36c728ac.js.map +0 -1
  1675. package/es/VisTabularDatatip-59629377.js +0 -24
  1676. package/es/VisTabularDatatip-59629377.js.map +0 -1
  1677. package/es/WindowOverlay-a07b2e24.js +0 -110
  1678. package/es/WindowOverlay-a07b2e24.js.map +0 -1
  1679. package/es/YearsGridView-d859edba.js +0 -187
  1680. package/es/YearsGridView-d859edba.js.map +0 -1
  1681. package/es/index-e33bcd96.js +0 -11
  1682. package/es/index-e33bcd96.js.map +0 -1
  1683. package/es/popupUtils-58411a98.js +0 -29
  1684. package/es/popupUtils-58411a98.js.map +0 -1
  1685. package/es/render-343557e9.js +0 -34
  1686. package/es/render-343557e9.js.map +0 -1
  1687. package/es/tabbableUtils-d6485f5e.js +0 -79
  1688. package/es/tabbableUtils-d6485f5e.js.map +0 -1
  1689. package/es/testData-d5181e9f.js +0 -256
  1690. package/es/testData-d5181e9f.js.map +0 -1
  1691. package/es/tooltipUtils-768450a7.js +0 -93
  1692. package/es/tooltipUtils-768450a7.js.map +0 -1
  1693. package/es/useCellNavigation-88a1754f.js +0 -126
  1694. package/es/useCellNavigation-88a1754f.js.map +0 -1
  1695. package/es/useChartDatatip-d6a6c5e1.js +0 -165
  1696. package/es/useChartDatatip-d6a6c5e1.js.map +0 -1
  1697. package/es/useChartMarquee-6587dbec.js +0 -293
  1698. package/es/useChartMarquee-6587dbec.js.map +0 -1
  1699. package/es/useColorScheme-c4e237ad.js +0 -19
  1700. package/es/useColorScheme-c4e237ad.js.map +0 -1
  1701. package/es/useCssVars-d72a8439.js +0 -58
  1702. package/es/useCssVars-d72a8439.js.map +0 -1
  1703. package/es/useCurrentBgColor-14745af3.js +0 -19
  1704. package/es/useCurrentBgColor-14745af3.js.map +0 -1
  1705. package/es/useCurrentKey-7287061f.js +0 -81
  1706. package/es/useCurrentKey-7287061f.js.map +0 -1
  1707. package/es/useDatatip-9635bc2f.js +0 -90
  1708. package/es/useDatatip-9635bc2f.js.map +0 -1
  1709. package/es/useDensity-c17603b2.js +0 -19
  1710. package/es/useDensity-c17603b2.js.map +0 -1
  1711. package/es/useFloating-953362cf.js +0 -1916
  1712. package/es/useFloating-953362cf.js.map +0 -1
  1713. package/es/useKeyboardEvents-2378a650.js +0 -78
  1714. package/es/useKeyboardEvents-2378a650.js.map +0 -1
  1715. package/es/useMeterDatatip-834e67e1.js +0 -73
  1716. package/es/useMeterDatatip-834e67e1.js.map +0 -1
  1717. package/es/useOutsideClick-fd9ad806.js +0 -101
  1718. package/es/useOutsideClick-fd9ad806.js.map +0 -1
  1719. package/es/usePopupAnimation-f017bc43.js +0 -85
  1720. package/es/usePopupAnimation-f017bc43.js.map +0 -1
  1721. package/es/usePrefixSuffix-5a74f2c4.js +0 -70
  1722. package/es/usePrefixSuffix-5a74f2c4.js.map +0 -1
  1723. package/es/usePressClick-2ec8e098.js +0 -31
  1724. package/es/usePressClick-2ec8e098.js.map +0 -1
  1725. package/es/useReorderableItem-22ea4c46.js +0 -268
  1726. package/es/useReorderableItem-22ea4c46.js.map +0 -1
  1727. package/es/useRovingTabIndexContainer-bc7ae447.js +0 -98
  1728. package/es/useRovingTabIndexContainer-bc7ae447.js.map +0 -1
  1729. package/es/useScale-83881775.js +0 -19
  1730. package/es/useScale-83881775.js.map +0 -1
  1731. package/es/useSelectCommon-34645d9a.js +0 -686
  1732. package/es/useSelectCommon-34645d9a.js.map +0 -1
  1733. package/es/useSelectDrill-88337c1a.js +0 -104
  1734. package/es/useSelectDrill-88337c1a.js.map +0 -1
  1735. package/es/useSelection-01b28be6.js +0 -186
  1736. package/es/useSelection-01b28be6.js.map +0 -1
  1737. package/es/useSelection-649fd4f1.js +0 -239
  1738. package/es/useSelection-649fd4f1.js.map +0 -1
  1739. package/es/useTestId-9b504481.js +0 -21
  1740. package/es/useTestId-9b504481.js.map +0 -1
  1741. package/es/useTheme-93c07059.js +0 -19
  1742. package/es/useTheme-93c07059.js.map +0 -1
  1743. package/es/useThemeInterpolations-8dd8029f.js +0 -57
  1744. package/es/useThemeInterpolations-8dd8029f.js.map +0 -1
  1745. package/es/useTooltip-89ca3f3e.js +0 -424
  1746. package/es/useTooltip-89ca3f3e.js.map +0 -1
  1747. package/es/useTooltipOnTruncation-175bf8a6.js +0 -27
  1748. package/es/useTooltipOnTruncation-175bf8a6.js.map +0 -1
  1749. package/es/useTranslationBundle-09302c20.js +0 -29
  1750. package/es/useTranslationBundle-09302c20.js.map +0 -1
  1751. package/es/useUser-1cd223a9.js +0 -19
  1752. package/es/useUser-1cd223a9.js.map +0 -1
  1753. package/es/useVisDragModeControls-40fc83b5.js +0 -87
  1754. package/es/useVisDragModeControls-40fc83b5.js.map +0 -1
  1755. package/es/useVisEvents-8877743b.js +0 -153
  1756. package/es/useVisEvents-8877743b.js.map +0 -1
  1757. package/es/withDirectionIcon-19a1d777.js +0 -14
  1758. package/es/withDirectionIcon-19a1d777.js.map +0 -1
@@ -0,0 +1,2035 @@
1
+ /* @oracle/oraclejet-preact: undefined */
2
+ import { jsx, jsxs, Fragment } from 'preact/jsx-runtime';
3
+ import { T as TrackResizeContainer } from './TrackResizeContainer-04a2c642.js';
4
+ import { itemStyles, layerStyles, labelStyles, panZoomStyles, outerStyles, dimensionStyle } from './UNSAFE_Diagram/themes/DiagramStyles.css.js';
5
+ import { u as useResizeObserver } from './useResizeObserver-838164c1.js';
6
+ import { useRef, useCallback, useState } from 'preact/hooks';
7
+ import { g as generateAriaLabel } from './accUtils-ce2d6588.js';
8
+ import { c as classNames } from './classNames-4e12b00d.js';
9
+ import { u as useTranslationBundle } from './useTranslationBundle-2df40edf.js';
10
+ import { u as useUser } from './useUser-6b2e271a.js';
11
+ import { g as getRandomId, c as calculateOffset } from './layoutUtils-d7613d0c.js';
12
+ import { u as useVisHover } from './useVisHover-d7a0b2f3.js';
13
+ import { m as mergeProps } from './mergeProps-88ea8306.js';
14
+ import { u as useDatatip } from './useDatatip-daec4346.js';
15
+ import { u as useTextDimensions } from './useTextDimensions-e08928cc.js';
16
+ import { i as isTouch } from './clientUtils-0df8cb15.js';
17
+ import { u as useVisDragModeControls } from './useVisDragModeControls-ed260d12.js';
18
+ import { u as useSelection } from './useSelection-8be05a70.js';
19
+ import { u as useVisTouchResponse } from './useVisTouchResponse-a59ab166.js';
20
+ import { m as merge } from './stringUtils-16f617bc.js';
21
+
22
+ const ZOOM_TO_FIT_PADDING = 20;
23
+ /**
24
+ * Returns the pan properties for the diagram.
25
+ */
26
+ function getPanProps(props, contentBounds, userDragMode, isDeviceTouch) {
27
+ return {
28
+ panning: isDeviceTouch
29
+ ? userDragMode === 'pan' && props.panning
30
+ ? props.panning
31
+ : 'off'
32
+ : props.panning
33
+ ? props.panning
34
+ : 'off',
35
+ panDirection: props.panDirection ? props.panDirection : 'any',
36
+ centerX: props.centerX !== undefined ? props.centerX : contentBounds.w / 2 + contentBounds.x,
37
+ centerY: props.centerY !== undefined ? props.centerY : contentBounds.h / 2 + contentBounds.y,
38
+ onPan: props.onPan
39
+ };
40
+ }
41
+ /**
42
+ * Returns the zoom properties for the diagram.
43
+ */
44
+ function getZoomProps(props, width, height, contentBounds) {
45
+ const zoomTofitZoom = getZoomToFitZoom(width, height, contentBounds);
46
+ const maxZoom = props.maxZoom || 1;
47
+ const minZoom = props.minZoom || Math.min(maxZoom, zoomTofitZoom);
48
+ const zoom = props.zoomValue ? props.zoomValue : zoomTofitZoom;
49
+ return {
50
+ zooming: props.zooming ? props.zooming : 'off',
51
+ // default value of 0 indicates zoom-to-fit level
52
+ minZoom: minZoom,
53
+ maxZoom: maxZoom,
54
+ // zoom value of 0 will default to zoom to fit
55
+ zoomValue: constrainZoom(zoom, minZoom, maxZoom),
56
+ onZoom: props.onZoom
57
+ };
58
+ }
59
+ /**
60
+ * Constructs the json object to be passed into the layout function
61
+ */
62
+ function constructLayoutJSON(nodes, nodeItems, linkItems, dimensions, width, height, getTextDimensions) {
63
+ const labelDims = new Map();
64
+ const nodeKeys = Array.from(nodeItems.keys());
65
+ for (const id of nodeKeys) {
66
+ const item = nodeItems.get(id);
67
+ if (item && getTextDimensions && item.label) {
68
+ const label = item.label;
69
+ const fontProps = _getFontProps(item.labelStyle);
70
+ labelDims.set(id, getTextDimensions(label, fontProps));
71
+ }
72
+ }
73
+ const linkKeys = Array.from(linkItems.keys());
74
+ for (const id of linkKeys) {
75
+ const item = linkItems.get(id);
76
+ if (item && getTextDimensions && item.label) {
77
+ const label = item.label;
78
+ const fontProps = _getFontProps(item.labelStyle);
79
+ labelDims.set(id, getTextDimensions(label, fontProps));
80
+ }
81
+ }
82
+ const getLabelDimensions = function (data) {
83
+ return labelDims.get(data.id);
84
+ };
85
+ const getNodeDimensions = function (data) {
86
+ for (let i = 0; i < nodes.length; i++) {
87
+ if (data.id === nodes[i].id) {
88
+ return dimensions[i];
89
+ }
90
+ }
91
+ return dimensions[0];
92
+ };
93
+ return {
94
+ layoutJSON: {
95
+ getNodeDimensions: getNodeDimensions,
96
+ getLabelDimensions: getLabelDimensions,
97
+ componentSize: {
98
+ width: width,
99
+ height: height
100
+ }
101
+ },
102
+ labelDims: labelDims
103
+ };
104
+ }
105
+ /**
106
+ * Deconstructs the output of the layout function
107
+ */
108
+ function deconstructLayoutJSON(layoutJSON, nodeData, linkData) {
109
+ const nodes = layoutJSON.nodes;
110
+ const links = layoutJSON.links;
111
+ const positions = [];
112
+ const nodeLabelPos = [];
113
+ const linkLabelPos = [];
114
+ let hasNodeLabels = false;
115
+ let hasLinkLabels = false;
116
+ let node, link;
117
+ for (let i = 0; i < nodeData.length; i++) {
118
+ node = nodes[nodeData[i].id];
119
+ positions.push(node.position);
120
+ if (node.label)
121
+ hasNodeLabels = true;
122
+ nodeLabelPos.push(node.label);
123
+ }
124
+ if (links) {
125
+ for (let i = 0; i < linkData.length; i++) {
126
+ link = links[linkData[i].id];
127
+ if (link.label)
128
+ hasLinkLabels = true;
129
+ linkLabelPos.push(link.label);
130
+ }
131
+ }
132
+ return {
133
+ nodePoints: positions,
134
+ nodeLabelPos: hasNodeLabels ? nodeLabelPos : undefined,
135
+ linkLabelPos: hasLinkLabels ? linkLabelPos : undefined
136
+ };
137
+ }
138
+ /**
139
+ * Merges the node points into the dimensions
140
+ */
141
+ function mergeDimensions(dimensions, nodePoints) {
142
+ const newBounds = [];
143
+ for (let i = 0; i < dimensions.length; i++) {
144
+ const point = nodePoints[i];
145
+ const dim = dimensions[i];
146
+ newBounds.push({ x: point.x, y: point.y, w: dim.w, h: dim.h });
147
+ }
148
+ return newBounds;
149
+ }
150
+ /**
151
+ * Deep equality check for whether two arrays of bounds are the same
152
+ */
153
+ function isEqualBounds(bounds1, bounds2) {
154
+ if (bounds1.length !== bounds2.length)
155
+ return false;
156
+ return bounds1.every(({ x, y, w, h }, i) => bounds2[i].x === x && bounds2[i].y === y && bounds2[i].w === w && bounds2[i].h === h);
157
+ }
158
+ /**
159
+ * Returns the text for the diagram datatip.
160
+ */
161
+ function getDatatipContent(nodesMap, linksMap, focusedItem, hoveredItem, datatip) {
162
+ let itemInfo;
163
+ const isPointerActive = hoveredItem?.isCurrent;
164
+ if (isPointerActive && hoveredItem.id != null) {
165
+ itemInfo = hoveredItem;
166
+ }
167
+ if (focusedItem && focusedItem.isCurrent) {
168
+ itemInfo = focusedItem;
169
+ }
170
+ if (itemInfo && datatip) {
171
+ return datatip(itemInfo.isNode
172
+ ? { data: nodesMap.get(itemInfo.id), type: 'node' }
173
+ : { data: linksMap.get(itemInfo.id), type: 'link' });
174
+ }
175
+ if (itemInfo) {
176
+ const text = (itemInfo.isNode ? nodesMap.get(itemInfo.id) : linksMap.get(itemInfo.id))?.accessibleLabel;
177
+ return {
178
+ content: text
179
+ };
180
+ }
181
+ return;
182
+ }
183
+ /**
184
+ * Creates a map with key id and value node or link data
185
+ */
186
+ function createItemMap(items) {
187
+ const itemIdToDataMap = new Map();
188
+ const itemIdToIndexMap = new Map();
189
+ const itemIndexToIdMap = new Map();
190
+ for (let i = 0; i < items.length; i++) {
191
+ itemIdToDataMap.set(items[i].id, items[i]);
192
+ itemIdToIndexMap.set(items[i].id, i);
193
+ itemIndexToIdMap.set(i, items[i].id);
194
+ }
195
+ return {
196
+ itemIdToDataMap,
197
+ itemIdToIndexMap,
198
+ itemIndexToIdMap
199
+ };
200
+ }
201
+ /**
202
+ * Filter out links with no start or end nodes
203
+ */
204
+ function filterLinksWithNoEndNodes(links, nodesMap) {
205
+ const newLinks = [];
206
+ for (let i = 0; i < links.length; i++) {
207
+ const link = links[i];
208
+ if (nodesMap.get(link.startNode) && nodesMap.get(link.endNode)) {
209
+ newLinks.push(link);
210
+ }
211
+ }
212
+ return newLinks;
213
+ }
214
+ /**
215
+ * Pulls out the dimensions from an array of bounds
216
+ */
217
+ function getDimensionsFromBounds(bounds) {
218
+ const dims = [];
219
+ for (let i = 0; i < bounds.length; i++) {
220
+ dims.push({ w: bounds[i].w, h: bounds[i].h });
221
+ }
222
+ return dims;
223
+ }
224
+ /**
225
+ * Returns the center position of the node or link
226
+ * For links, draws a straight line between the centers of the start/end node
227
+ * and returns the center of that line
228
+ */
229
+ function getFocusedItemBounds(focusedItemInfo, bounds, links, nodeIdToIndexMap, linkIdToIndexMap) {
230
+ if (focusedItemInfo.isNode) {
231
+ const idx = nodeIdToIndexMap.get(focusedItemInfo.id);
232
+ // Return the first element if cannot find the Node index
233
+ return bounds[idx || 0];
234
+ }
235
+ else {
236
+ // Center of a straight line between start/end node centers
237
+ const link = links[linkIdToIndexMap.get(focusedItemInfo.id) || 0];
238
+ const startNB = bounds[nodeIdToIndexMap.get(link.startNode) || 0];
239
+ const endNB = bounds[nodeIdToIndexMap.get(link.endNode) || 0];
240
+ const startNCenter = { x: startNB.x + startNB.w / 2, y: startNB.y + startNB.h / 2 };
241
+ const endNCenter = { x: endNB.x + endNB.w / 2, y: endNB.y + endNB.h / 2 };
242
+ const minX = Math.min(startNCenter.x, endNCenter.x);
243
+ const minY = Math.min(startNCenter.y, endNCenter.y);
244
+ return {
245
+ x: minX,
246
+ y: minY,
247
+ w: Math.abs(startNCenter.x - endNCenter.x),
248
+ h: Math.abs(startNCenter.y - endNCenter.y)
249
+ };
250
+ }
251
+ }
252
+ /**
253
+ * Combines the node and link ids into one array
254
+ */
255
+ function combineIds(nodeIds, linkIds) {
256
+ const combinedIds = [];
257
+ if (nodeIds) {
258
+ for (let i = 0; i < nodeIds.length; i++) {
259
+ combinedIds.push(nodeIds[i]);
260
+ }
261
+ }
262
+ if (linkIds) {
263
+ for (let i = 0; i < linkIds.length; i++) {
264
+ combinedIds.push(linkIds[i]);
265
+ }
266
+ }
267
+ return combinedIds;
268
+ }
269
+ /**
270
+ * Returns the bounds of the diagram content
271
+ */
272
+ function getContentBounds(nodeBounds, labelBounds) {
273
+ if (nodeBounds.length === 0)
274
+ return { x: 0, w: Infinity, y: 0, h: Infinity };
275
+ let minX = Infinity;
276
+ let minY = Infinity;
277
+ let maxX = -Infinity;
278
+ let maxY = -Infinity;
279
+ let dims;
280
+ for (let i = 0; i < nodeBounds.length; i++) {
281
+ dims = nodeBounds[i];
282
+ minX = dims.x < minX ? dims.x : minX;
283
+ minY = dims.y < minY ? dims.y : minY;
284
+ maxX = dims.x + dims.w > maxX ? dims.x + dims.w : maxX;
285
+ maxY = dims.y + dims.h > maxY ? dims.y + dims.h : maxY;
286
+ }
287
+ if (labelBounds) {
288
+ minX = labelBounds.x < minX ? labelBounds.x : minX;
289
+ minY = labelBounds.y < minY ? labelBounds.y : minY;
290
+ maxX = labelBounds.x + labelBounds.w > maxX ? labelBounds.x + labelBounds.w : maxX;
291
+ maxY = labelBounds.y + labelBounds.h > maxY ? labelBounds.y + labelBounds.h : maxY;
292
+ }
293
+ return { x: minX, w: maxX - minX, y: minY, h: maxY - minY };
294
+ }
295
+ /**
296
+ * Returns the label bounds
297
+ */
298
+ function getAllLabelBounds(labelDims, nodes, links, nodeLabelPos = [], linkLabelPos = [], isRTL) {
299
+ if (nodeLabelPos.length === 0 && linkLabelPos.length === 0)
300
+ return undefined;
301
+ let minX = Infinity;
302
+ let minY = Infinity;
303
+ let maxX = -Infinity;
304
+ let maxY = -Infinity;
305
+ let dims, label;
306
+ for (let i = 0; i < nodeLabelPos.length; i++) {
307
+ label = nodeLabelPos[i];
308
+ if (!label)
309
+ continue;
310
+ dims = getLabelBounds(label, labelDims.get(nodes[i].id), isRTL);
311
+ minX = dims.x < minX ? dims.x : minX;
312
+ minY = dims.y < minY ? dims.y : minY;
313
+ maxX = dims.x + dims.w > maxX ? dims.x + dims.w : maxX;
314
+ maxY = dims.y + dims.h > maxY ? dims.y + dims.h : maxY;
315
+ }
316
+ for (let i = 0; i < linkLabelPos.length; i++) {
317
+ label = linkLabelPos[i];
318
+ if (!label)
319
+ continue;
320
+ dims = getLabelBounds(label, labelDims.get(links[i].id), isRTL);
321
+ minX = dims.x < minX ? dims.x : minX;
322
+ minY = dims.y < minY ? dims.y : minY;
323
+ maxX = dims.x + dims.w > maxX ? dims.x + dims.w : maxX;
324
+ maxY = dims.y + dims.h > maxY ? dims.y + dims.h : maxY;
325
+ }
326
+ return { x: minX, w: maxX - minX, y: minY, h: maxY - minY };
327
+ }
328
+ function getLabelBounds(label, dims, isRTL) {
329
+ const labelPos = getLabelPosition(dims, label, isRTL);
330
+ const isRotating = label.rotationAngle;
331
+ if (!isRotating) {
332
+ return { x: labelPos.x, y: labelPos.y, w: dims.width, h: dims.height };
333
+ }
334
+ else {
335
+ // Find the 4 corners of the label bounds relative to the rotation point
336
+ const rotationPoint = label.rotationPoint
337
+ ? label.rotationPoint
338
+ : { x: dims.width / 2, y: dims.height / 2 };
339
+ const angle = label.rotationAngle;
340
+ const topLeft = getCoordsRelToRotPoint({ x: 0, y: 0 }, rotationPoint);
341
+ const topRight = getCoordsRelToRotPoint({ x: dims.width, y: 0 }, rotationPoint);
342
+ const bottomLeft = getCoordsRelToRotPoint({ x: 0, y: dims.height }, rotationPoint);
343
+ const bottomRight = getCoordsRelToRotPoint({ x: dims.width, y: dims.height }, rotationPoint);
344
+ const rotTopLeft = rotatePoint(topLeft, angle);
345
+ const rotBotLeft = rotatePoint(bottomLeft, angle);
346
+ const rotTopRight = rotatePoint(topRight, angle);
347
+ const rotBotRight = rotatePoint(bottomRight, angle);
348
+ const points = [rotTopLeft, rotBotLeft, rotTopRight, rotBotRight].map((pos) => {
349
+ return {
350
+ x: pos.x + labelPos.x + rotationPoint.x,
351
+ y: pos.y + labelPos.y + rotationPoint.y
352
+ };
353
+ });
354
+ return getBoundsFromPoints(points);
355
+ }
356
+ }
357
+ function getCoordsRelToRotPoint(labelPoint, rotPoint) {
358
+ return { x: labelPoint.x - rotPoint.x, y: labelPoint.y - rotPoint.y };
359
+ }
360
+ function rotatePoint(pos, angle) {
361
+ return {
362
+ x: pos.x * Math.cos(angle) - pos.y * Math.sin(angle),
363
+ y: pos.x * Math.sin(angle) + pos.y * Math.cos(angle)
364
+ };
365
+ }
366
+ function getBoundsFromPoints(points) {
367
+ let minX = points[0].x;
368
+ let minY = points[0].y;
369
+ let maxX = points[0].x;
370
+ let maxY = points[0].y;
371
+ for (let i = 1; i < points.length; i++) {
372
+ const point = points[i];
373
+ if (point.x < minX)
374
+ minX = point.x;
375
+ else if (point.x > maxX)
376
+ maxX = point.x;
377
+ if (point.y < minY)
378
+ minY = point.y;
379
+ else if (point.y > maxY)
380
+ maxY = point.y;
381
+ }
382
+ return {
383
+ x: minX,
384
+ y: minY,
385
+ w: maxX - minX,
386
+ h: maxY - minY
387
+ };
388
+ }
389
+ /**
390
+ * Returns the position of the label
391
+ * @param dimensions
392
+ * @param positionProps
393
+ * @returns position of the label
394
+ */
395
+ function getLabelPosition(dimensions, positionProps, isRTL) {
396
+ const position = positionProps.position;
397
+ const hAlign = positionProps.hAlign ? positionProps.hAlign : isRTL ? 'right' : 'left';
398
+ const vAlign = positionProps.vAlign;
399
+ let x, y;
400
+ if (hAlign === 'center') {
401
+ x = position.x - dimensions.width / 2;
402
+ }
403
+ else if (hAlign === 'right') {
404
+ x = position.x - dimensions.width;
405
+ }
406
+ else {
407
+ x = position.x;
408
+ }
409
+ if (vAlign === 'middle') {
410
+ y = position.y - dimensions.height / 2;
411
+ }
412
+ else if (vAlign === 'bottom') {
413
+ y = position.y - dimensions.height;
414
+ }
415
+ else if (vAlign === 'baseline') {
416
+ y = position.y + dimensions.y;
417
+ }
418
+ else {
419
+ y = position.y;
420
+ }
421
+ return {
422
+ x: x,
423
+ y: y
424
+ };
425
+ }
426
+ /**
427
+ * Converts centerX,Y coordinates to panX,Y coordinates
428
+ */
429
+ function centerXYToPanXY(centerX, centerY, zoom, width, height) {
430
+ return {
431
+ panX: width / 2 - centerX * zoom,
432
+ panY: height / 2 - centerY * zoom
433
+ };
434
+ }
435
+ /**
436
+ * Converts panX,Y coordinates to centerX,Y coordinates
437
+ */
438
+ function panXYToCenterXY(panX, panY, zoom, width, height) {
439
+ return {
440
+ centerX: (width / 2 - panX) / zoom,
441
+ centerY: (height / 2 - panY) / zoom
442
+ };
443
+ }
444
+ /**
445
+ * Compares if two ItemInfo are equal
446
+ */
447
+ function isEqualItem(item1, item2) {
448
+ return item1?.id === item2?.id && item1?.isNode === item2?.isNode;
449
+ }
450
+ /**
451
+ * Returns the item info of the data-oj-node or data-oj-link attribute for a given element.
452
+ */
453
+ function getNavigableInfo(element, rootElementRef) {
454
+ let isNode = false;
455
+ let elem = element;
456
+ let navigableId;
457
+ while (!navigableId) {
458
+ navigableId = elem.dataset['node'];
459
+ if (navigableId) {
460
+ isNode = true;
461
+ }
462
+ else {
463
+ navigableId = elem.dataset['link'];
464
+ }
465
+ if (!navigableId) {
466
+ if (elem.parentElement && elem.parentElement !== rootElementRef?.current) {
467
+ elem = elem.parentElement;
468
+ }
469
+ else {
470
+ break;
471
+ }
472
+ }
473
+ }
474
+ return {
475
+ id: navigableId,
476
+ isNode: isNode
477
+ };
478
+ }
479
+ /**
480
+ * Returns the aria label
481
+ */
482
+ function getItemAriaLabel(translations, supportsSelection, isSelected, accessibleLabel) {
483
+ return generateAriaLabel(translations, accessibleLabel || '', {
484
+ isSelected: !supportsSelection ? undefined : isSelected
485
+ });
486
+ }
487
+ /**
488
+ * Returns the zoom to fit zoom level
489
+ */
490
+ function getZoomToFitZoom(width, height, contentBounds) {
491
+ const zoomX = (width - 2 * ZOOM_TO_FIT_PADDING) / contentBounds.w;
492
+ const zoomY = (height - 2 * ZOOM_TO_FIT_PADDING) / contentBounds.h;
493
+ return Math.min(zoomX, zoomY);
494
+ }
495
+ /**
496
+ * Constrains the zoom level
497
+ */
498
+ function constrainZoom(zoom, minZoom, maxZoom) {
499
+ let newZoom = Math.max(minZoom, zoom);
500
+ newZoom = Math.min(maxZoom, newZoom);
501
+ return newZoom;
502
+ }
503
+ /**
504
+ * Returns the font props for a node or link
505
+ */
506
+ function _getFontProps(styles) {
507
+ const fontProps = {};
508
+ if (!styles)
509
+ return fontProps;
510
+ if (styles.fontFamily)
511
+ fontProps.fontFamily = styles.fontFamily;
512
+ if (styles.fontSize)
513
+ fontProps.fontSize = styles.fontSize;
514
+ if (styles.fontStyle)
515
+ fontProps.fontStyle = styles.fontStyle;
516
+ if (styles.fontWeight)
517
+ fontProps.fontWeight = styles.fontWeight;
518
+ return fontProps;
519
+ }
520
+ /**
521
+ * Returns the panX, panY, and zoom when zooming and centering an item
522
+ */
523
+ function zoomAndCenterItemFromInfo(info, linkIdToDataMap, bounds, nodeIdToIndex, width, height, maxZoom) {
524
+ const isNode = info.isNode;
525
+ let totalBounds;
526
+ if (isNode) {
527
+ const nodeIndex = nodeIdToIndex.get(info.id);
528
+ totalBounds = bounds[nodeIndex];
529
+ }
530
+ else {
531
+ const link = linkIdToDataMap.get(info.id);
532
+ const startNodeBounds = bounds[nodeIdToIndex.get(link.startNode)];
533
+ const endNodeBounds = bounds[nodeIdToIndex.get(link.endNode)];
534
+ const minX = Math.min(startNodeBounds.x, endNodeBounds.x);
535
+ const minY = Math.min(startNodeBounds.y, endNodeBounds.y);
536
+ const maxX = Math.max(startNodeBounds.x + startNodeBounds.w, endNodeBounds.x + startNodeBounds.w);
537
+ const maxY = Math.max(startNodeBounds.y + startNodeBounds.h, endNodeBounds.y + endNodeBounds.h);
538
+ totalBounds = { x: minX, y: minY, w: maxX - minX, h: maxY - minY };
539
+ }
540
+ return getPanZoomToCenterNode(totalBounds, maxZoom, width, height);
541
+ }
542
+ /**
543
+ * Returns the pan and zoom values in order
544
+ * to center a node or link
545
+ */
546
+ function getPanZoomToCenterNode(bounds, maxZoom, width, height) {
547
+ const zoomX = (width - 2 * ZOOM_TO_FIT_PADDING) / bounds.w;
548
+ const zoomY = (height - 2 * ZOOM_TO_FIT_PADDING) / bounds.h;
549
+ const zoom = Math.min(zoomX, zoomY, maxZoom);
550
+ const cX = bounds.w / 2 + bounds.x;
551
+ const cY = bounds.h / 2 + bounds.y;
552
+ return { centerX: cX, centerY: cY, zoom: zoom };
553
+ }
554
+
555
+ const DiagramNodeElement = ({ id, state, previousState, position, activeId, nodeRenderer, onNodeSizeChanged, nodeIndex, data, accessibleLabel, isDimmed, supportsSelection }) => {
556
+ const { nodeStyles, dimmedItemStyle } = itemStyles;
557
+ const context = {
558
+ state: state,
559
+ previousState: previousState,
560
+ data: data
561
+ };
562
+ const translations = useTranslationBundle('@oracle/oraclejet-preact');
563
+ const ref = useRef(null);
564
+ // TODO JET-62472 change to one resize observer function
565
+ const optionsRef = useRef({ box: 'border-box' });
566
+ useResizeObserver(ref, useCallback((entry) => {
567
+ const boxSize = entry.borderBoxSize;
568
+ const width = boxSize[0].inlineSize;
569
+ const height = boxSize[0].blockSize;
570
+ onNodeSizeChanged(width, height, nodeIndex);
571
+ }, [nodeIndex, onNodeSizeChanged]), optionsRef.current);
572
+ return (jsx("div", { ref: ref, class: classNames([nodeStyles, isDimmed ? dimmedItemStyle : undefined]), "data-node": id, role: "img", "aria-label": getItemAriaLabel(translations, supportsSelection, state.selected, accessibleLabel), style: {
573
+ top: position.y,
574
+ left: position.x
575
+ }, id: state.focused || state.hovered ? activeId : undefined, children: nodeRenderer(context) }, id));
576
+ };
577
+
578
+ function DiagramNodeLayer({ nodes, states, previousStates, nodeRenderer, nodeBounds, onNodeSizeChanged, supportsSelection }) {
579
+ return (jsx("div", { class: layerStyles, children: nodes.map((node, i) => {
580
+ // this is for initial render before the layout function so render all nodes at 0,0
581
+ const position = nodeBounds && nodeBounds[i] ? { x: nodeBounds[i].x, y: nodeBounds[i].y } : { x: 0, y: 0 };
582
+ const state = {
583
+ selected: states.selectedNodeIds.includes(node.id),
584
+ focused: states.focusedId === node.id,
585
+ hovered: states.hoveredId === node.id,
586
+ zoom: states.zoom
587
+ };
588
+ const previousState = {
589
+ selected: previousStates.selectedNodeIds.includes(node.id),
590
+ focused: previousStates.focusedId === node.id,
591
+ hovered: previousStates.hoveredId === node.id,
592
+ zoom: previousStates.zoom
593
+ };
594
+ return (jsx(DiagramNodeElement, { id: node.id, position: position, state: state, previousState: previousState, isDimmed: states.highlightedIds.length !== 0 && !states.highlightedIds.includes(node.id), activeId: states.activeId, nodeRenderer: nodeRenderer, onNodeSizeChanged: onNodeSizeChanged, nodeIndex: i, accessibleLabel: node.accessibleLabel, data: node, supportsSelection: supportsSelection }));
595
+ }) }));
596
+ }
597
+
598
+ const DiagramLinkElement = ({ id, state, previousState, activeId, data, linkRenderer, accessibleLabel, isDimmed, supportsSelection, layoutOutput }) => {
599
+ const translations = useTranslationBundle('@oracle/oraclejet-preact');
600
+ const { dimmedItemStyle, linkStyles } = itemStyles;
601
+ const context = {
602
+ state: state,
603
+ previousState: previousState,
604
+ data: data,
605
+ layoutOutput: layoutOutput
606
+ };
607
+ return (jsx("g", { id: state.focused ? activeId : undefined, "aria-label": getItemAriaLabel(translations, supportsSelection, state.selected, accessibleLabel), "data-link": id, role: "img", class: classNames([linkStyles, isDimmed && dimmedItemStyle]), children: linkRenderer(context) }, id));
608
+ };
609
+
610
+ function DiagramLinkLayer({ links, states, previousStates, linkRenderer, width, height, supportsSelection, layoutOutput, combinedNodeBounds }) {
611
+ const zoom = getZoomToFitZoom(width, height, combinedNodeBounds);
612
+ return (jsx("svg", { class: layerStyles, width: width / zoom, height: height / zoom, children: links.map((link) => {
613
+ const state = {
614
+ selected: states.selectedLinkIds.includes(link.id),
615
+ focused: states.focusedId === link.id,
616
+ hovered: states.hoveredId === link.id,
617
+ zoom: states.zoom
618
+ };
619
+ const previousState = {
620
+ selected: previousStates.selectedLinkIds.includes(link.id),
621
+ focused: previousStates.focusedId === link.id,
622
+ hovered: previousStates.hoveredId === link.id,
623
+ zoom: previousStates.zoom
624
+ };
625
+ return (jsx(DiagramLinkElement, { id: link.id, label: link.label, state: state, previousState: previousState, isDimmed: states.highlightedIds.length !== 0 && !states.highlightedIds.includes(link.id), activeId: states.activeId, accessibleLabel: link.accessibleLabel, data: link, linkRenderer: linkRenderer, supportsSelection: supportsSelection, layoutOutput: layoutOutput }));
626
+ }) }));
627
+ }
628
+
629
+ const DiagramLabel = ({ text, position, styles, dimensions, isRTL }) => {
630
+ const { labelStyle, labelBorderStyle } = labelStyles;
631
+ const labelPosition = getLabelPosition(dimensions, position, isRTL);
632
+ const labelRotation = getLabelRotation(position);
633
+ return (jsx("div", { class: classNames([labelStyle, styles && styles.borderColor && labelBorderStyle]), style: {
634
+ top: labelPosition.y,
635
+ left: labelPosition.x,
636
+ ...styles,
637
+ ...labelRotation
638
+ }, children: text }));
639
+ };
640
+ /**
641
+ * Returns the label rotation props
642
+ * @param position
643
+ * @returns rotation props
644
+ */
645
+ function getLabelRotation(position) {
646
+ const rotationAngle = position.rotationAngle;
647
+ const rotationPoint = position.rotationPoint;
648
+ const rotation = {};
649
+ if (rotationAngle) {
650
+ rotation['transform'] = `rotate(${rotationAngle}deg)`;
651
+ }
652
+ if (rotationPoint) {
653
+ rotation['transform-origin'] = `${rotationPoint.x}px ${rotationPoint.y}px`;
654
+ }
655
+ return rotation;
656
+ }
657
+
658
+ function DiagramLabelLayer({ labelPosition, itemProps, labelDimensions }) {
659
+ const { direction } = useUser();
660
+ return (jsx("div", { class: layerStyles, children: itemProps.map((item, i) => {
661
+ if (item.label && labelPosition[i]) {
662
+ return (jsx(DiagramLabel, { styles: item.labelStyle, text: item.label, position: labelPosition[i], dimensions: labelDimensions.get(item.id), isRTL: direction === 'rtl' }));
663
+ }
664
+ return undefined;
665
+ }) }));
666
+ }
667
+
668
+ function DiagramLayers({ nodes, links, nodeRenderer, linkRenderer, states, previousStates, nodeBounds, onNodeSizeChanged, width, height, nodeLabelPositions, linkLabelPositions, labelDimensions, supportsSelection, layoutOutput, combinedNodeBounds }) {
669
+ return (jsxs(Fragment, { children: [links.length > 0 &&
670
+ layoutOutput &&
671
+ linkRenderer &&
672
+ width !== Infinity &&
673
+ combinedNodeBounds && (jsx(DiagramLinkLayer, { links: links, states: states, previousStates: previousStates, linkRenderer: linkRenderer, width: width, height: height, supportsSelection: supportsSelection, layoutOutput: layoutOutput, combinedNodeBounds: combinedNodeBounds })), jsx(DiagramNodeLayer, { nodes: nodes, nodeBounds: nodeBounds, states: states, previousStates: previousStates, nodeRenderer: nodeRenderer, onNodeSizeChanged: onNodeSizeChanged, supportsSelection: supportsSelection }), labelDimensions ? (jsxs("div", { children: [nodeLabelPositions ? (jsx(DiagramLabelLayer, { labelPosition: nodeLabelPositions, itemProps: nodes, labelDimensions: labelDimensions })) : undefined, links && linkLabelPositions ? (jsx(DiagramLabelLayer, { labelPosition: linkLabelPositions, itemProps: links, labelDimensions: labelDimensions })) : undefined] })) : undefined] }));
674
+ }
675
+
676
+ function DiagramPanZoomContainer({ centerX, centerY, children, zoom, width, height }) {
677
+ const panValues = centerXYToPanXY(centerX, centerY, zoom, width, height);
678
+ return (jsx("div", { class: panZoomStyles, style: {
679
+ //TODO JET-62471 look at using matrices or both in transform instead
680
+ translate: `${panValues.panX}px ${panValues.panY}px`,
681
+ transform: `scale(${zoom})`
682
+ }, children: children }));
683
+ }
684
+
685
+ /**
686
+ * @license
687
+ * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
688
+ * The Universal Permissive License (UPL), Version 1.0
689
+ * as shown at https://oss.oracle.com/licenses/upl/
690
+ * @ignore
691
+ */
692
+ /**
693
+ * Returns the node data based on node info in a diagram.
694
+ * @param itemInfo
695
+ * @returns
696
+ */
697
+ function getNodeDetailFromInfo(itemInfo, nodes) {
698
+ let node;
699
+ for (let i = 0; i < nodes.length; i++) {
700
+ node = nodes[i];
701
+ if (itemInfo.id === node.id) {
702
+ return node;
703
+ }
704
+ }
705
+ return undefined;
706
+ }
707
+ /**
708
+ * Returns the link data based on link info in a diagram.
709
+ * @param itemInfo
710
+ * @returns
711
+ */
712
+ function getLinkDetailFromInfo(itemInfo, links) {
713
+ let link;
714
+ for (let i = 0; i < links.length; i++) {
715
+ link = links[i];
716
+ if (itemInfo.id === link.id) {
717
+ return link;
718
+ }
719
+ }
720
+ return undefined;
721
+ }
722
+ /**
723
+ * Creates a map with key node id and value node bounds
724
+ */
725
+ function createNodeBoundsMap(nodes, bounds) {
726
+ const nodeBounds = new Map();
727
+ for (let i = 0; i < nodes.length; i++) {
728
+ nodeBounds.set(nodes[i].id, bounds[i]);
729
+ }
730
+ return nodeBounds;
731
+ }
732
+ /**
733
+ * Utility method that adds sorting attributes of each link to an array
734
+ */
735
+ function addSortingAttributes(node, listOfLinks, nodes, nodeBounds) {
736
+ let angle, distance, direction;
737
+ const linkDetail = [];
738
+ for (let i = 0; i < listOfLinks.length; i++) {
739
+ const link = listOfLinks[i];
740
+ angle = _getClockwiseAngle(node, link, nodes, nodeBounds);
741
+ distance = _getNodesDistance(link, nodes, nodeBounds);
742
+ direction = _getLinkDirection(node, link);
743
+ linkDetail.push({ id: link.id, angle: angle, distance: distance, direction: direction });
744
+ }
745
+ return linkDetail;
746
+ }
747
+ /**
748
+ * Returns a function that compares two link around a given node
749
+ * The links are analyzed by angle, distance from the node and direction. The sorting attributes are added to the links before sorting.
750
+ */
751
+ function getLinkComparator() {
752
+ return (link1, link2) => {
753
+ const { angle: linkAngle1, distance: linkDistance1, direction: linkDirection1 } = link1;
754
+ const { angle: linkAngle2, distance: linkDistance2, direction: linkDirection2 } = link2;
755
+ let res = -1;
756
+ if (!_anglesAreEqualWithinTolerance(linkAngle1, linkAngle2) && linkAngle1 > linkAngle2) {
757
+ res = 1;
758
+ }
759
+ else if (_anglesAreEqualWithinTolerance(linkAngle1, linkAngle2)) {
760
+ //check distance and direction
761
+ if (linkDistance1 > linkDistance2) {
762
+ res = 1;
763
+ }
764
+ else if (linkDistance2 == linkDistance1 && linkDirection1 > linkDirection2) {
765
+ //outgoing to ingoing
766
+ res = 1;
767
+ }
768
+ else if (linkDistance2 == linkDistance1 && linkDirection1 == linkDirection2) {
769
+ res = 0;
770
+ }
771
+ }
772
+ return res;
773
+ };
774
+ }
775
+ /**
776
+ * Returns navigable links for a given node
777
+ */
778
+ function getNavigableLinksForNodeId(nodeId, listOfLinks) {
779
+ const links = [];
780
+ listOfLinks.forEach((link) => {
781
+ const startId = link.startNode;
782
+ const endId = link.endNode;
783
+ if (startId == nodeId || endId == nodeId)
784
+ links.push(link);
785
+ });
786
+ return links;
787
+ }
788
+ /**
789
+ * Get the clockwise angle for the link given node as a center
790
+ */
791
+ function _getClockwiseAngle(node, link, nodes, nodeBounds) {
792
+ //find opposite node
793
+ let currNode;
794
+ let startNode = nodes[0];
795
+ let endNode = nodes[0];
796
+ for (let i = 0; i < nodes.length; i++) {
797
+ currNode = nodes[i];
798
+ if (currNode.id === link.startNode) {
799
+ startNode = currNode;
800
+ }
801
+ else if (currNode.id === link.endNode) {
802
+ endNode = currNode;
803
+ }
804
+ }
805
+ const oppositeNode = node.id == startNode.id ? endNode : startNode;
806
+ const p1 = _getNodeCenter(node, nodeBounds);
807
+ const p2 = _getNodeCenter(oppositeNode, nodeBounds);
808
+ let angle = Math.atan2(p2.y - p1.y, p2.x - p1.x);
809
+ angle = angle < 0 ? angle + Math.PI * 2 : angle;
810
+ return angle;
811
+ }
812
+ /**
813
+ * Get the distance between start and end nodes for the given link
814
+ */
815
+ function _getNodesDistance(link, nodes, nodeBounds) {
816
+ let currNode;
817
+ let startNode = nodes[0];
818
+ let endNode = nodes[0];
819
+ for (let i = 0; i < nodes.length; i++) {
820
+ currNode = nodes[i];
821
+ if (currNode.id === link.startNode) {
822
+ startNode = currNode;
823
+ }
824
+ else if (currNode.id === link.endNode) {
825
+ endNode = currNode;
826
+ }
827
+ }
828
+ const p1 = _getNodeCenter(startNode, nodeBounds);
829
+ const p2 = _getNodeCenter(endNode, nodeBounds);
830
+ return Math.sqrt(Math.pow(p2.x - p1.x, 2) + Math.pow(p2.y - p1.y, 2));
831
+ }
832
+ /**
833
+ * Get link direction for the given node. 1 if the node is the end node
834
+ * and 0 if it is the start node
835
+ */
836
+ function _getLinkDirection(node, link) {
837
+ if (link.endNode === node.id) {
838
+ return 1;
839
+ }
840
+ return 0;
841
+ }
842
+ /**
843
+ * Get node center
844
+ */
845
+ function _getNodeCenter(node, nodeBounds) {
846
+ const nodeBB = nodeBounds.get(node.id);
847
+ return { x: nodeBB.x + nodeBB.w / 2, y: nodeBB.y + nodeBB.h / 2 };
848
+ }
849
+ /**
850
+ * Calculates the angle weighted by distance
851
+ */
852
+ function calcDistanceAngleWeighted(objectBB, currentBB, direction) {
853
+ // Variables used for calculating penalties when calculating distances between two navigables.
854
+ const optimalAngle1 = (15 / 180) * Math.PI;
855
+ const optimalAngle2 = (40 / 180) * Math.PI;
856
+ const suboptimalAnglePenalty1 = 2; // multiplier to the distance
857
+ const suboptimalAnglePenalty2 = 6; // multiplier to the distance
858
+ const objCenterX = objectBB.x + objectBB.w / 2;
859
+ const objCenterY = objectBB.y + objectBB.h / 2;
860
+ const curCenterX = currentBB.x + currentBB.w / 2;
861
+ const curCenterY = currentBB.y + currentBB.h / 2;
862
+ const x_dist = Math.abs(objCenterX - curCenterX);
863
+ const y_dist = Math.abs(objCenterY - curCenterY);
864
+ const angle = Math.atan2(y_dist, x_dist);
865
+ let distance = Math.sqrt(x_dist * x_dist + y_dist * y_dist);
866
+ // Angle penalty based on direction
867
+ if ((angle > optimalAngle1 && (direction == 'right' || direction == 'left')) ||
868
+ (angle < Math.PI / 2 - optimalAngle1 && (direction == 'up' || direction == 'down'))) {
869
+ if ((angle > optimalAngle2 && (direction == 'right' || direction == 'left')) ||
870
+ (angle < Math.PI / 2 - optimalAngle2 && (direction == 'up' || direction == 'down'))) {
871
+ distance *= suboptimalAnglePenalty2;
872
+ }
873
+ else {
874
+ distance *= suboptimalAnglePenalty1;
875
+ }
876
+ }
877
+ return distance;
878
+ }
879
+ /**
880
+ * Given a direction, is a certain node is a valid destination to navigate to
881
+ */
882
+ function isValidDestination(objBB, curBB, direction, compareCenters) {
883
+ // compare the centers of the navigable and to be valid, the navigable must be in the right direction
884
+ // without tolerance
885
+ if (compareCenters) {
886
+ const objCenterX = objBB.x + 0.5 * objBB.w;
887
+ const curCenterX = curBB.x + 0.5 * curBB.w;
888
+ const objCenterY = objBB.y + 0.5 * objBB.h;
889
+ const curCenterY = curBB.y + 0.5 * curBB.h;
890
+ switch (direction) {
891
+ case 'up':
892
+ return objCenterY < curCenterY;
893
+ case 'down':
894
+ return objBB.y > curCenterY;
895
+ case 'right':
896
+ return objCenterX > curCenterX;
897
+ case 'left':
898
+ return objCenterX < curCenterX;
899
+ }
900
+ return true;
901
+ }
902
+ switch (direction) {
903
+ case 'up':
904
+ return objBB.y < curBB.y || _areEqualWithinTolerance(objBB.y, curBB.y);
905
+ case 'down':
906
+ return objBB.y > curBB.y || _areEqualWithinTolerance(objBB.y, curBB.y);
907
+ case 'right':
908
+ return objBB.x > curBB.x || _areEqualWithinTolerance(objBB.x, curBB.x);
909
+ case 'left':
910
+ return objBB.x < curBB.x || _areEqualWithinTolerance(objBB.x, curBB.x);
911
+ }
912
+ return true;
913
+ }
914
+ /**
915
+ * Returns true if two nodes are in contact
916
+ */
917
+ function calcInContact(objRect, curRect, direction) {
918
+ switch (direction) {
919
+ case 'up':
920
+ return (_isVerticallyAligned(objRect, curRect) &&
921
+ (curRect.y <= objRect.y + objRect.h ||
922
+ _areEqualWithinTolerance(curRect.y, objRect.y + objRect.h)));
923
+ case 'down':
924
+ return (_isVerticallyAligned(objRect, curRect) &&
925
+ (objRect.y <= curRect.y + curRect.h ||
926
+ _areEqualWithinTolerance(objRect.y, curRect.y + curRect.h)));
927
+ case 'right':
928
+ return (_isHorizontallyAligned(objRect, curRect) &&
929
+ (objRect.x <= curRect.x + curRect.w ||
930
+ _areEqualWithinTolerance(objRect.x, curRect.x + curRect.w)));
931
+ case 'left':
932
+ return (_isHorizontallyAligned(objRect, curRect) &&
933
+ (curRect.x <= objRect.x + objRect.w ||
934
+ _areEqualWithinTolerance(curRect.x, objRect.x + objRect.w)));
935
+ }
936
+ return false;
937
+ }
938
+ function _isVerticallyAligned(rect1, rect2) {
939
+ return ((rect1.x >= rect2.x && rect1.x <= rect2.x + rect2.w) ||
940
+ (rect2.x >= rect1.x && rect2.x <= rect1.x + rect1.w));
941
+ }
942
+ function _isHorizontallyAligned(rect1, rect2) {
943
+ return ((rect1.y >= rect2.y && rect1.y <= rect2.y + rect2.h) ||
944
+ (rect2.y >= rect1.y && rect2.y <= rect1.y + rect1.h));
945
+ }
946
+ function _areEqualWithinTolerance(a, b) {
947
+ return Math.abs(a - b) <= 0.0000001;
948
+ }
949
+ function _anglesAreEqualWithinTolerance(a1, a2) {
950
+ let res = Math.abs(a1 - a2) <= 0.0000001;
951
+ if (!res) {
952
+ res = Math.abs(Math.PI * 2 + Math.min(a1, a2) - Math.max(a1, a2)) <= 0.0000001;
953
+ }
954
+ return res;
955
+ }
956
+
957
+ /**
958
+ * @license
959
+ * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
960
+ * The Universal Permissive License (UPL), Version 1.0
961
+ * as shown at https://oss.oracle.com/licenses/upl/
962
+ * @ignore
963
+ */
964
+ function useDiagramNavigation(nodes, links, bounds, linkIdToDataMap) {
965
+ const currentKeyboardFocusNode = useRef();
966
+ const nodeBoundsById = createNodeBoundsMap(nodes, bounds);
967
+ function getNextNavigableNode(direction, compareCenters, current, listOfObjects) {
968
+ if (!listOfObjects)
969
+ return current;
970
+ if (!current)
971
+ return listOfObjects[0];
972
+ const currBB = nodeBoundsById.get(current.id);
973
+ if (!currBB)
974
+ return listOfObjects[0];
975
+ let nextObject = current; //init to current object
976
+ let nextDistance = Number.MAX_VALUE;
977
+ // If an object is in contact it overrules all other attributes
978
+ // Only another in contact object with better attributes will have higher precedence
979
+ let nextInContact = false;
980
+ // Whether or not the for loop has encountered the current object
981
+ let hasFoundCurrent = false;
982
+ let object, inContact, distance;
983
+ for (let i = 0; i < listOfObjects.length; i++) {
984
+ object = listOfObjects[i];
985
+ if (object === current) {
986
+ hasFoundCurrent = true;
987
+ continue;
988
+ }
989
+ const objBB = nodeBoundsById.get(object.id);
990
+ if (!objBB)
991
+ continue;
992
+ const objBounds = { x: objBB.x, y: objBB.y, w: objBB.w, h: objBB.h };
993
+ const currBounds = { x: currBB.x, y: currBB.y, w: currBB.w, h: currBB.h };
994
+ if (!isValidDestination(objBounds, currBounds, direction, compareCenters))
995
+ continue;
996
+ inContact = calcInContact(objBounds, currBounds, direction);
997
+ if (nextInContact && !inContact)
998
+ continue;
999
+ distance = calcDistanceAngleWeighted(objBounds, currBounds, direction);
1000
+ if (distance == 0 && !hasFoundCurrent)
1001
+ continue;
1002
+ // Make sure incontact flag have highest precedence
1003
+ if ((!nextInContact && inContact) ||
1004
+ (distance < nextDistance && ((nextInContact && inContact) || !nextInContact))) {
1005
+ nextDistance = distance;
1006
+ nextObject = object;
1007
+ nextInContact = inContact;
1008
+ }
1009
+ }
1010
+ return nextObject;
1011
+ }
1012
+ /**
1013
+ * Get next navigavle link depending on direction - clockwise or conter clockwise.
1014
+ * The decision is made based on location of nodes centers rather than link paths or link angles.
1015
+ */
1016
+ function getNextNavigableLink(direction, listOfNodes, currentLink, listOfLinks) {
1017
+ if (!listOfLinks)
1018
+ return currentLink;
1019
+ if (!currentLink)
1020
+ return listOfLinks[0];
1021
+ const keyboardFocusNode = currentKeyboardFocusNode.current;
1022
+ const nodeId = keyboardFocusNode ? keyboardFocusNode : currentLink.startNode;
1023
+ const node = getNodeDetailFromInfo({ id: nodeId, isNode: true }, listOfNodes);
1024
+ if (!node)
1025
+ return currentLink;
1026
+ const adjLinks = getNavigableLinksForNodeId(node.id, listOfLinks);
1027
+ listOfLinks = adjLinks;
1028
+ const linksWithSortingAttributes = addSortingAttributes(node, listOfLinks, listOfNodes, nodeBoundsById);
1029
+ linksWithSortingAttributes.sort(getLinkComparator());
1030
+ //clockwise direction
1031
+ const bForward = direction == 'down' ? true : false;
1032
+ let index = 0;
1033
+ for (let i = 0; i < linksWithSortingAttributes.length; i++) {
1034
+ const link = linksWithSortingAttributes[i];
1035
+ if (link.id === currentLink.id) {
1036
+ if (bForward)
1037
+ index = i == linksWithSortingAttributes.length - 1 ? 0 : i + 1;
1038
+ else
1039
+ index = i == 0 ? linksWithSortingAttributes.length - 1 : i - 1;
1040
+ break;
1041
+ }
1042
+ }
1043
+ return linksWithSortingAttributes[index];
1044
+ }
1045
+ /**
1046
+ * Returns the link detail when a node to link navigation occurs
1047
+ */
1048
+ function navigateFromNodeToLink(listOfLinks, event, node) {
1049
+ if (!node)
1050
+ return undefined;
1051
+ const adjLinks = getNavigableLinksForNodeId(node.id, listOfLinks);
1052
+ if (adjLinks.length < 1)
1053
+ return undefined;
1054
+ let link = adjLinks[0];
1055
+ const nodeBB = nodeBoundsById.get(node.id);
1056
+ let object, currNode, currNodeBB, currNodeBBCenterX;
1057
+ const nodeCenterX = nodeBB.x + nodeBB.w / 2;
1058
+ currentKeyboardFocusNode.current = node.id;
1059
+ for (let i = 0; i < adjLinks.length; i++) {
1060
+ object = adjLinks[i];
1061
+ currNode = object.startNode === node.id ? object.endNode : object.startNode;
1062
+ currNodeBB = nodeBoundsById.get(currNode);
1063
+ currNodeBBCenterX = currNodeBB.x + currNodeBB.w / 2;
1064
+ if (
1065
+ // equivalent of ≤ and ≥
1066
+ (event.altKey && event.code === 'Comma' && currNodeBBCenterX <= nodeCenterX) ||
1067
+ (event.altKey && event.code === 'Period' && currNodeBBCenterX >= nodeCenterX)) {
1068
+ link = object;
1069
+ break;
1070
+ }
1071
+ }
1072
+ return { id: link.id, isNode: false };
1073
+ }
1074
+ /**
1075
+ * Returns the node detail when a link to node navigation occurs
1076
+ */
1077
+ function navigateFromLinkToNode(linkId, event) {
1078
+ const key = event.key;
1079
+ const linkData = linkIdToDataMap.get(linkId);
1080
+ const startNodeBB = nodeBoundsById.get(linkData.startNode);
1081
+ const endNodeBB = nodeBoundsById.get(linkData.endNode);
1082
+ if (!startNodeBB || !endNodeBB)
1083
+ return undefined;
1084
+ const startNodeCenterX = startNodeBB.x + startNodeBB.w / 2;
1085
+ const endNodeCenterX = endNodeBB.x + endNodeBB.w / 2;
1086
+ const newNode = (endNodeCenterX > startNodeCenterX && key === 'ArrowRight') ||
1087
+ (endNodeCenterX < startNodeCenterX && key === 'ArrowLeft')
1088
+ ? linkData.endNode
1089
+ : linkData.startNode;
1090
+ return { id: newNode, isNode: true };
1091
+ }
1092
+ return {
1093
+ isNode: (itemInfo) => {
1094
+ let node, link;
1095
+ for (let i = 0; i < nodes.length; i++) {
1096
+ node = nodes[i];
1097
+ link = links[i];
1098
+ if (itemInfo.id === node.id) {
1099
+ return true;
1100
+ }
1101
+ if (itemInfo.id === link.id) {
1102
+ return true;
1103
+ }
1104
+ }
1105
+ return false;
1106
+ },
1107
+ getNextNavigableNode,
1108
+ getNextNavigableLink,
1109
+ navigateFromNodeToLink,
1110
+ navigateFromLinkToNode
1111
+ };
1112
+ }
1113
+
1114
+ const DEFAULT_KB_PAN = 15;
1115
+ const DEFAULT_KB_ZOOM = 0.15;
1116
+ function useEvents(touchResponse, initNode, nodes, links, nodeBounds, linkIdToDataMap, nodeIdToDataMap, nodeIdToIndexMap, width, height, maxZoom, onItemHover, onItemFocus, kbPanCallback, kbZoomCallback) {
1117
+ const { getNextNavigableNode, getNextNavigableLink, navigateFromNodeToLink, navigateFromLinkToNode } = useDiagramNavigation(nodes, links, nodeBounds, linkIdToDataMap);
1118
+ const [focusedItemInfo, setfocusedItemInfo] = useState({
1119
+ id: initNode.id,
1120
+ isNode: true
1121
+ });
1122
+ const [hoveredItemInfo, sethoveredItemInfo] = useState();
1123
+ const activeId = useRef();
1124
+ const cancelEvent = (event) => {
1125
+ event.preventDefault();
1126
+ event.stopPropagation();
1127
+ };
1128
+ const keyDownHandler = (event) => {
1129
+ const key = event.key;
1130
+ let eventConsumed = false;
1131
+ // tabbing out of the diagram
1132
+ if (key === 'TAB') {
1133
+ return;
1134
+ }
1135
+ // if this a switch from node to link or vice versa
1136
+ if (isChangeItemType(event)) {
1137
+ const nextItemInfo = focusedItemInfo.isNode
1138
+ ? navigateFromNodeToLink(links, event, getNodeDetailFromInfo(focusedItemInfo, nodes))
1139
+ : navigateFromLinkToNode(focusedItemInfo.id, event);
1140
+ handleKeyboardInput(nextItemInfo);
1141
+ eventConsumed = true;
1142
+ }
1143
+ else if (isNavigationEvent(key)) {
1144
+ const nextItemInfo = handleKeyboardNavigationEvent(key);
1145
+ handleKeyboardInput(nextItemInfo);
1146
+ eventConsumed = true;
1147
+ }
1148
+ else {
1149
+ switch (key) {
1150
+ case 'PageUp': {
1151
+ kbPanCallback &&
1152
+ kbPanCallback({
1153
+ dPan: {
1154
+ dx: event.shiftKey ? -DEFAULT_KB_PAN : 0,
1155
+ dy: event.shiftKey ? 0 : -DEFAULT_KB_PAN
1156
+ }
1157
+ });
1158
+ eventConsumed = true;
1159
+ break;
1160
+ }
1161
+ case 'PageDown': {
1162
+ kbPanCallback &&
1163
+ kbPanCallback({
1164
+ dPan: {
1165
+ dx: event.shiftKey ? DEFAULT_KB_PAN : 0,
1166
+ dy: event.shiftKey ? 0 : DEFAULT_KB_PAN
1167
+ }
1168
+ });
1169
+ eventConsumed = true;
1170
+ eventConsumed = true;
1171
+ break;
1172
+ }
1173
+ case '+':
1174
+ case '=': {
1175
+ kbZoomCallback && kbZoomCallback({ dZoom: DEFAULT_KB_ZOOM });
1176
+ eventConsumed = true;
1177
+ break;
1178
+ }
1179
+ case '-':
1180
+ case '_': {
1181
+ kbZoomCallback && kbZoomCallback({ dZoom: -DEFAULT_KB_ZOOM });
1182
+ eventConsumed = true;
1183
+ break;
1184
+ }
1185
+ case '0': {
1186
+ if (event.ctrlKey && event.altKey) {
1187
+ const { centerX, centerY, zoom } = zoomAndCenterItemFromInfo(focusedItemInfo, linkIdToDataMap, nodeBounds, nodeIdToIndexMap, width, height, maxZoom);
1188
+ kbZoomCallback && kbZoomCallback({ nZoom: zoom });
1189
+ kbPanCallback && kbPanCallback({ nPan: { cx: centerX, cy: centerY } });
1190
+ }
1191
+ else {
1192
+ // zoom to fit
1193
+ kbZoomCallback && kbZoomCallback({});
1194
+ kbPanCallback && kbPanCallback({ center: true });
1195
+ }
1196
+ eventConsumed = true;
1197
+ }
1198
+ }
1199
+ }
1200
+ if (eventConsumed) {
1201
+ cancelEvent(event);
1202
+ }
1203
+ };
1204
+ const keyUpHandler = (event) => {
1205
+ const key = event.code;
1206
+ switch (key) {
1207
+ case 'Tab': {
1208
+ updatefocusedItemInfo({
1209
+ ...focusedItemInfo,
1210
+ isCurrent: true,
1211
+ isFocusVisible: true
1212
+ });
1213
+ break;
1214
+ }
1215
+ }
1216
+ };
1217
+ const blurHandler = () => {
1218
+ if (hoveredItemInfo != null || focusedItemInfo.isCurrent) {
1219
+ onItemFocus?.({ id: undefined, data: undefined });
1220
+ }
1221
+ const itemInfo = { ...focusedItemInfo, isCurrent: false, isFocusVisible: false };
1222
+ setfocusedItemInfo(itemInfo);
1223
+ };
1224
+ const onHover = (event) => {
1225
+ const itemInfo = getNavigableInfo(event.target);
1226
+ if (itemInfo && !isEqualItem(itemInfo, hoveredItemInfo)) {
1227
+ sethoveredItemInfo({ ...itemInfo, isCurrent: true });
1228
+ activeId.current = getRandomId();
1229
+ setfocusedItemInfo({ ...focusedItemInfo, isCurrent: false });
1230
+ if (itemInfo.isNode) {
1231
+ onItemHover?.({
1232
+ id: itemInfo.id,
1233
+ type: 'node',
1234
+ data: nodeIdToDataMap.get(itemInfo.id)
1235
+ });
1236
+ }
1237
+ else {
1238
+ onItemHover?.({
1239
+ id: itemInfo.id,
1240
+ type: 'link',
1241
+ data: linkIdToDataMap.get(itemInfo.id)
1242
+ });
1243
+ }
1244
+ }
1245
+ };
1246
+ const onHoverLeave = () => {
1247
+ sethoveredItemInfo(undefined);
1248
+ activeId.current = undefined;
1249
+ onItemHover?.({ id: undefined, data: undefined });
1250
+ };
1251
+ const hoverHandlers = useVisHover(onHover, undefined, onHoverLeave, touchResponse);
1252
+ const pointerUpHandler = (event) => {
1253
+ const itemInfo = getNavigableInfo(event.target);
1254
+ if (itemInfo.id != null) {
1255
+ setfocusedItemInfo(itemInfo);
1256
+ activeId.current = getRandomId();
1257
+ }
1258
+ };
1259
+ function updatefocusedItemInfo(itemInfo) {
1260
+ if (itemInfo.isNode) {
1261
+ onItemFocus?.({
1262
+ id: itemInfo.id,
1263
+ type: 'node',
1264
+ data: nodeIdToDataMap.get(itemInfo.id)
1265
+ });
1266
+ }
1267
+ else {
1268
+ onItemFocus?.({
1269
+ id: itemInfo.id,
1270
+ type: 'link',
1271
+ data: linkIdToDataMap.get(itemInfo.id)
1272
+ });
1273
+ }
1274
+ activeId.current = getRandomId();
1275
+ setfocusedItemInfo(itemInfo);
1276
+ }
1277
+ function handleKeyboardInput(item) {
1278
+ if (!item)
1279
+ return;
1280
+ if (!isEqualItem(item, focusedItemInfo)) {
1281
+ item.isCurrent = true;
1282
+ item.isFocusVisible = true;
1283
+ if (hoveredItemInfo) {
1284
+ sethoveredItemInfo({ ...hoveredItemInfo, isCurrent: false });
1285
+ }
1286
+ updatefocusedItemInfo(item);
1287
+ }
1288
+ }
1289
+ function isNavigationEvent(key) {
1290
+ switch (key) {
1291
+ case 'ArrowDown':
1292
+ case 'ArrowUp':
1293
+ case 'ArrowRight':
1294
+ case 'ArrowLeft': {
1295
+ return true;
1296
+ }
1297
+ }
1298
+ return false;
1299
+ }
1300
+ function isChangeItemType(event) {
1301
+ const key = event.code;
1302
+ // check if switching from node to link
1303
+ // equivalent of ≤ and ≥
1304
+ if (focusedItemInfo.isNode && event.altKey && (key === 'Period' || key === 'Comma')) {
1305
+ return true;
1306
+ // check if switching from link to node
1307
+ }
1308
+ else if (!focusedItemInfo.isNode && (key === 'ArrowLeft' || key === 'ArrowRight')) {
1309
+ return true;
1310
+ }
1311
+ return false;
1312
+ }
1313
+ function handleKeyboardNavigationEvent(key) {
1314
+ let direction = 'down';
1315
+ switch (key) {
1316
+ case 'ArrowDown': {
1317
+ direction = 'down';
1318
+ break;
1319
+ }
1320
+ case 'ArrowUp': {
1321
+ direction = 'up';
1322
+ break;
1323
+ }
1324
+ case 'ArrowRight': {
1325
+ direction = 'right';
1326
+ break;
1327
+ }
1328
+ case 'ArrowLeft': {
1329
+ direction = 'left';
1330
+ break;
1331
+ }
1332
+ }
1333
+ if (focusedItemInfo.isNode) {
1334
+ const itemDetail = getNextNavigableNode(direction, true, getNodeDetailFromInfo(focusedItemInfo, nodes), nodes);
1335
+ return itemDetail ? { id: itemDetail.id, isNode: true } : focusedItemInfo;
1336
+ }
1337
+ else {
1338
+ const linkDetail = getLinkDetailFromInfo(focusedItemInfo, links);
1339
+ const itemDetail = getNextNavigableLink(direction, nodes, linkDetail, links);
1340
+ return itemDetail ? { id: itemDetail.id } : { id: focusedItemInfo.id };
1341
+ }
1342
+ }
1343
+ return {
1344
+ focusedItemInfo,
1345
+ hoveredItemInfo,
1346
+ activeId: activeId.current,
1347
+ eventsProps: mergeProps(hoverHandlers, {
1348
+ onKeyUp: keyUpHandler,
1349
+ onKeyDown: keyDownHandler,
1350
+ onBlur: blurHandler,
1351
+ onPointerUp: pointerUpHandler
1352
+ })
1353
+ };
1354
+ }
1355
+
1356
+ /**
1357
+ * Returns the datatip.
1358
+ * @param text The text string for the diagram item.
1359
+ * @param rootRef The ref for root of the diagram.
1360
+ * @param focusedItemBoundsRef The ref for focused item bounds.
1361
+ * @param focusedItemInfo The ItemInfo for focused item.
1362
+ * @returns
1363
+ */
1364
+ const useDiagramDatatip = ({ touchResponse, datatip, focusedItemBoundsRef, focusedItemInfo, panState, zoom, width, nodesMap, linksMap, hoveredItem }) => {
1365
+ const { direction } = useUser();
1366
+ const isRtl = direction === 'rtl';
1367
+ const datatipC = getDatatipContent(nodesMap, linksMap, focusedItemInfo, hoveredItem, datatip);
1368
+ const elementBounds = focusedItemBoundsRef.current
1369
+ ? {
1370
+ x: focusedItemBoundsRef.current.x * zoom + panState.panX,
1371
+ y: focusedItemBoundsRef.current.y * zoom + panState.panY,
1372
+ width: focusedItemBoundsRef.current.w * zoom,
1373
+ height: focusedItemBoundsRef.current.h * zoom
1374
+ }
1375
+ : undefined;
1376
+ const offset = focusedItemInfo.isCurrent
1377
+ ? calculateOffset(isRtl, width, elementBounds)
1378
+ : calculateOffset(isRtl, width);
1379
+ const { datatipContent, datatipProps } = useDatatip({
1380
+ content: datatipC?.content,
1381
+ borderColor: datatipC?.borderColor,
1382
+ placement: 'top-start',
1383
+ offset,
1384
+ anchor: focusedItemInfo?.isCurrent ? 'element' : 'pointer',
1385
+ touchResponse
1386
+ });
1387
+ return { datatipContent: datatipContent, datatipProps: datatipProps };
1388
+ };
1389
+
1390
+ const usePointerGesture = ({ captureTargetRef, numPointers = 1, onPointerGestureDown, onPointerGestureMove, onPointerGestureEnd, onExtraneousPointerDown, isDisabled = false }) => {
1391
+ const activePointers = useRef([]);
1392
+ if (isDisabled) {
1393
+ activePointers.current = [];
1394
+ }
1395
+ const onPointerDown = (e) => {
1396
+ activePointers.current.push(e);
1397
+ if (activePointers.current.length === numPointers) {
1398
+ onPointerGestureDown && onPointerGestureDown({ pointers: activePointers.current });
1399
+ }
1400
+ else if (activePointers.current.length > numPointers) {
1401
+ onExtraneousPointerDown && onExtraneousPointerDown({ pointers: activePointers.current });
1402
+ }
1403
+ };
1404
+ const onPointerMove = (e) => {
1405
+ if (activePointers.current.length === 0)
1406
+ return;
1407
+ const index = activePointers.current.findIndex((pointerEvent) => pointerEvent.pointerId === e.pointerId);
1408
+ if (index === -1)
1409
+ return;
1410
+ activePointers.current[index] = e;
1411
+ if (activePointers.current.length === numPointers) {
1412
+ activePointers.current.forEach((e) => captureTargetRef.current.setPointerCapture(e.pointerId));
1413
+ onPointerGestureMove && onPointerGestureMove({ pointers: activePointers.current });
1414
+ }
1415
+ };
1416
+ const onPointerUp = (e) => {
1417
+ const index = activePointers.current.findIndex((pointerEvent) => pointerEvent.pointerId === e.pointerId);
1418
+ if (index === -1)
1419
+ return;
1420
+ activePointers.current[index] = e;
1421
+ if (activePointers.current.length === numPointers) {
1422
+ onPointerGestureEnd && onPointerGestureEnd({ pointers: activePointers.current });
1423
+ }
1424
+ activePointers.current.splice(index, 1);
1425
+ };
1426
+ const onPointerCancel = onPointerUp;
1427
+ const onPointerLeave = onPointerUp;
1428
+ return isDisabled
1429
+ ? {}
1430
+ : {
1431
+ onPointerDown,
1432
+ onPointerMove,
1433
+ onPointerUp,
1434
+ onPointerCancel,
1435
+ onPointerLeave
1436
+ };
1437
+ };
1438
+
1439
+ /**
1440
+ * Whether point with coordinates are in the draggable region
1441
+ */
1442
+ const inDraggableRegion = (x, y, region) => {
1443
+ if (!region)
1444
+ return true;
1445
+ const { xMin, xMax, yMin, yMax } = region;
1446
+ return x >= xMin && x <= xMax && y >= yMin && y <= yMax;
1447
+ };
1448
+ /**
1449
+ * Returns region offset
1450
+ */
1451
+ const getRegionOffset = (x, y, region) => {
1452
+ if (!region)
1453
+ return { regionOffsetX: x, regionOffsetY: y };
1454
+ return { regionOffsetX: x - region.xMin, regionOffsetY: y - region.yMin };
1455
+ };
1456
+ const useDrag = ({ captureTargetRef, draggableRegion, onDragStart, onDragMove, onDragEnd, isDisabled = false }) => {
1457
+ const inactiveState = { isDragging: false, x0: -1, y0: -1, regionOffsetX: -1, regionOffsetY: -1 };
1458
+ const dragState = useRef(inactiveState);
1459
+ const handlePointerEvent = (e, cb) => {
1460
+ const { isDragging, x0, y0, regionOffsetX, regionOffsetY } = dragState.current;
1461
+ if (!isDragging)
1462
+ return;
1463
+ const x = e.pageX;
1464
+ const y = e.pageY;
1465
+ cb && cb({ x, y, dx: x - x0, dy: y - y0, regionOffsetX, regionOffsetY, originalEvent: e });
1466
+ };
1467
+ const dragProps = usePointerGesture({
1468
+ captureTargetRef,
1469
+ numPointers: 1, // Only allow 1 pointer dragging
1470
+ onExtraneousPointerDown: () => {
1471
+ dragState.current = inactiveState;
1472
+ },
1473
+ onPointerGestureDown: ({ pointers: [e] }) => {
1474
+ const x = e.pageX;
1475
+ const y = e.pageY;
1476
+ if (e.button !== 0 || !inDraggableRegion(x, y, draggableRegion))
1477
+ return;
1478
+ const { regionOffsetX, regionOffsetY } = getRegionOffset(x, y, draggableRegion);
1479
+ dragState.current = { isDragging: true, x0: x, y0: y, regionOffsetX, regionOffsetY };
1480
+ onDragStart && onDragStart({ x, y, regionOffsetX, regionOffsetY, originalEvent: e });
1481
+ },
1482
+ onPointerGestureMove: ({ pointers: [e] }) => {
1483
+ handlePointerEvent(e, onDragMove);
1484
+ },
1485
+ onPointerGestureEnd: ({ pointers: [e] }) => {
1486
+ handlePointerEvent(e, onDragEnd);
1487
+ dragState.current = inactiveState;
1488
+ }
1489
+ });
1490
+ return isDisabled ? {} : dragProps;
1491
+ };
1492
+
1493
+ const constrainPan = (previousPan, nextPan, panBounds, panDirection) => {
1494
+ const panX = panDirection !== 'y' ? nextPan.panX : previousPan.panX;
1495
+ const panY = panDirection !== 'x' ? nextPan.panY : previousPan.panY;
1496
+ return {
1497
+ panX: panX > panBounds.maxX ? panBounds.maxX : panX < panBounds.minX ? panBounds.minX : panX,
1498
+ panY: panY > panBounds.maxY ? panBounds.maxY : panY < panBounds.minY ? panBounds.minY : panY
1499
+ };
1500
+ };
1501
+ const pan = (previousPan, nextPan, panDirection, zoom, width, height, panBounds, onPanChange) => {
1502
+ if (!panBounds) {
1503
+ //On initial render before nodes are rendered
1504
+ return { newPan: { panX: 0, panY: 0 } };
1505
+ }
1506
+ const newPan = constrainPan(previousPan, nextPan, panBounds, panDirection);
1507
+ const isPanChanged = newPan.panX !== previousPan.panX || newPan.panY !== previousPan.panY;
1508
+ const center = panXYToCenterXY(newPan.panX, newPan.panY, zoom, width, height);
1509
+ isPanChanged &&
1510
+ onPanChange &&
1511
+ onPanChange({
1512
+ centerX: center.centerX,
1513
+ centerY: center.centerY
1514
+ });
1515
+ return { newPan };
1516
+ };
1517
+ const getPanBounds = (width, height, elemBounds, zoom, minZoom, initPanZoomState, panType) => {
1518
+ const { x, y, w, h } = elemBounds;
1519
+ let minX, maxX, minY, maxY;
1520
+ if (panType === 'centerContent') {
1521
+ minX = width / 2 - (w + x) * zoom;
1522
+ minY = height / 2 - (h + y) * zoom;
1523
+ maxX = width / 2 - x * zoom;
1524
+ maxY = height / 2 - y * zoom;
1525
+ }
1526
+ else {
1527
+ // panType equals fixed
1528
+ const zoomRatio = zoom / minZoom;
1529
+ // Find left corner of the content at min zoom and content is centered
1530
+ const minZoomX = (width - w * minZoom) / 2 - x * minZoom;
1531
+ const minZoomY = (height - h * minZoom) / 2 - y * minZoom;
1532
+ // When we pan all the way to the right, the left corner of displayable area is 0,0 as in min zoom.
1533
+ // When we pan all the way to the left, lets find the corner of the displayable area
1534
+ const leftCornerX = width - width * zoomRatio;
1535
+ const leftCornerY = height - height * zoomRatio;
1536
+ // Now we have everything to calculate pan zoom constraints
1537
+ minX = leftCornerX + minZoomX * zoomRatio;
1538
+ minY = leftCornerY + minZoomY * zoomRatio;
1539
+ maxX = minZoomX * zoomRatio;
1540
+ maxY = minZoomY * zoomRatio;
1541
+ }
1542
+ const initZoom = initPanZoomState.zoom;
1543
+ const initCenterX = initPanZoomState.centerX;
1544
+ const initCenterY = initPanZoomState.centerY;
1545
+ // If an initial panZoomState is set, should expand pan bounds to include it
1546
+ let dx, dy;
1547
+ if (initCenterX) {
1548
+ const boundsX = initCenterX * initZoom - width / 2;
1549
+ if (-boundsX * initZoom < minX) {
1550
+ dx = minX - boundsX * initZoom;
1551
+ minX -= dx;
1552
+ maxX += dx;
1553
+ }
1554
+ else if (-boundsX * initZoom > maxX) {
1555
+ dx = -boundsX * initZoom - maxX;
1556
+ minX -= dx;
1557
+ maxX += dx;
1558
+ }
1559
+ }
1560
+ if (initCenterY) {
1561
+ const boundsY = initCenterY * initZoom - height / 2;
1562
+ if (-boundsY * initZoom < minY) {
1563
+ dy = minY - boundsY * initZoom;
1564
+ minY -= dy;
1565
+ maxY += dy;
1566
+ }
1567
+ else if (-boundsY * initZoom > maxY) {
1568
+ dy = -boundsY * initZoom - maxY;
1569
+ minY -= dy;
1570
+ maxY += dy;
1571
+ }
1572
+ }
1573
+ return {
1574
+ minX: minX,
1575
+ maxX: maxX,
1576
+ minY: minY,
1577
+ maxY: maxY
1578
+ };
1579
+ };
1580
+
1581
+ const useDragPan = ({ panProps, captureTargetRef, panBounds, width, height, zoom, onDragPanStart, onDragPanEnd }) => {
1582
+ const prevPanState = useRef({ panX: 0, panY: 0 });
1583
+ const initialPanState = useRef({ panX: 0, panY: 0 });
1584
+ const dragProps = useDrag({
1585
+ captureTargetRef,
1586
+ onDragStart: () => {
1587
+ const panValues = centerXYToPanXY(panProps.centerX, panProps.centerY, zoom, width, height);
1588
+ initialPanState.current = {
1589
+ panX: panValues.panX,
1590
+ panY: panValues.panY
1591
+ };
1592
+ onDragPanStart && onDragPanStart();
1593
+ },
1594
+ onDragMove: ({ dx, dy }) => {
1595
+ const nextPan = {
1596
+ panX: initialPanState.current.panX + dx,
1597
+ panY: initialPanState.current.panY + dy
1598
+ };
1599
+ const { newPan } = pan(prevPanState.current, nextPan, panProps.panDirection, zoom, width, height, panBounds, panProps.onPan);
1600
+ prevPanState.current = newPan;
1601
+ },
1602
+ onDragEnd: ({ originalEvent }) => {
1603
+ // If panning occurred, call preventDefault to prevent selection from occurring
1604
+ if (initialPanState.current.panX !== prevPanState.current.panX ||
1605
+ initialPanState.current.panY !== prevPanState.current.panY)
1606
+ originalEvent.preventDefault();
1607
+ onDragPanEnd && onDragPanEnd();
1608
+ },
1609
+ isDisabled: panProps.panning === 'off'
1610
+ });
1611
+ return dragProps;
1612
+ };
1613
+
1614
+ const PX_FACTOR_PER_LINE = 15; // Value used in Toolkit
1615
+ const PX_FACTOR_PER_PAGE = 40; // Value copied from datagrid; this is not handled in Toolkit
1616
+ const getNormalizedDelta = (e) => {
1617
+ const { deltaX, deltaY, deltaMode } = e;
1618
+ switch (deltaMode) {
1619
+ case e.DOM_DELTA_PIXEL:
1620
+ return { deltaX: -deltaX, deltaY: -deltaY };
1621
+ case e.DOM_DELTA_LINE:
1622
+ return { deltaX: -deltaX * PX_FACTOR_PER_LINE, deltaY: -deltaY * PX_FACTOR_PER_LINE };
1623
+ case e.DOM_DELTA_PAGE:
1624
+ return { deltaX: -deltaX * PX_FACTOR_PER_PAGE, deltaY: -deltaY * PX_FACTOR_PER_PAGE };
1625
+ default:
1626
+ return { deltaX: -deltaX, deltaY: -deltaY };
1627
+ }
1628
+ };
1629
+ const useWheel = ({ onWheel: onWheelCallback, preventDefault = true, isDisabled = false }) => {
1630
+ const onWheel = (e) => {
1631
+ const { deltaX, deltaY } = getNormalizedDelta(e);
1632
+ if (preventDefault)
1633
+ e.preventDefault();
1634
+ onWheelCallback({
1635
+ x: e.offsetX,
1636
+ y: e.offsetY,
1637
+ deltaX,
1638
+ deltaY,
1639
+ ctrlKey: e.ctrlKey || e.metaKey
1640
+ });
1641
+ };
1642
+ return isDisabled ? {} : { onWheel };
1643
+ };
1644
+
1645
+ /**
1646
+ * @license
1647
+ * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
1648
+ * Licensed under The Universal Permissive License (UPL), Version 1.0
1649
+ * as shown at https://oss.oracle.com/licenses/upl/
1650
+ * @ignore
1651
+ */
1652
+ const ZOOM_INCREMENT = 0.05;
1653
+ const zoom = (nextZoom, zoom, minZoom, maxZoom, onZoomChange) => {
1654
+ const newZoom = nextZoom > maxZoom || nextZoom < minZoom ? zoom : nextZoom;
1655
+ const isZoomChanged = newZoom !== zoom;
1656
+ isZoomChanged &&
1657
+ onZoomChange &&
1658
+ onZoomChange({
1659
+ zoomValue: newZoom
1660
+ });
1661
+ };
1662
+
1663
+ /**
1664
+ * @license
1665
+ * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
1666
+ * Licensed under The Universal Permissive License (UPL), Version 1.0
1667
+ * as shown at https://oss.oracle.com/licenses/upl/
1668
+ * @ignore
1669
+ */
1670
+ const useWheelZoom = ({ zooming, minZoom, maxZoom, zoomValue, onZoom }) => {
1671
+ const wheelProps = useWheel({
1672
+ onWheel: ({ deltaY }) => {
1673
+ const newZoom = zoomValue * (1 + ZOOM_INCREMENT * deltaY);
1674
+ zoom(newZoom, zoomValue, minZoom, maxZoom, onZoom);
1675
+ },
1676
+ isDisabled: zooming === 'off'
1677
+ });
1678
+ return wheelProps;
1679
+ };
1680
+
1681
+ const getMidpoint = (p1, p2) => ({ x: (p1.x + p2.x) / 2, y: (p1.y + p2.y) / 2 });
1682
+ const getDistance = (p1, p2) => Math.sqrt((p2.x - p1.x) ** 2 + (p2.y - p2.y) ** 2);
1683
+ const usePinch = ({ captureTargetRef, onPinchZoomStart, onPinchZoomChange, onPinchZoomEnd, isDisabled = false }) => {
1684
+ const origin = useRef({ x: -1, y: -1 });
1685
+ const prevDistance = useRef(-1);
1686
+ const reset = () => {
1687
+ origin.current = { x: -1, y: -1 };
1688
+ prevDistance.current = -1;
1689
+ };
1690
+ if (isDisabled)
1691
+ reset();
1692
+ const pinchProps = usePointerGesture({
1693
+ captureTargetRef,
1694
+ numPointers: 2, // Pinch gesture requires 2 pointers
1695
+ onPointerGestureDown: ({ pointers: [pointer1, pointer2] }) => {
1696
+ const p1 = { x: pointer1.offsetX, y: pointer1.offsetY };
1697
+ const p2 = { x: pointer2.offsetX, y: pointer2.offsetY };
1698
+ origin.current = getMidpoint(p1, p2);
1699
+ prevDistance.current = getDistance(p1, p2);
1700
+ onPinchZoomStart &&
1701
+ onPinchZoomStart({
1702
+ origin: origin.current,
1703
+ delta: 0
1704
+ });
1705
+ },
1706
+ onPointerGestureMove: ({ pointers: [pointer1, pointer2] }) => {
1707
+ const p1 = { x: pointer1.offsetX, y: pointer1.offsetY };
1708
+ const p2 = { x: pointer2.offsetX, y: pointer2.offsetY };
1709
+ const distance = getDistance(p1, p2);
1710
+ const delta = distance - prevDistance.current;
1711
+ prevDistance.current = distance;
1712
+ onPinchZoomChange &&
1713
+ onPinchZoomChange({
1714
+ origin: origin.current,
1715
+ delta
1716
+ });
1717
+ },
1718
+ onPointerGestureEnd: () => {
1719
+ reset();
1720
+ onPinchZoomEnd && onPinchZoomEnd();
1721
+ }
1722
+ });
1723
+ return isDisabled ? {} : pinchProps;
1724
+ };
1725
+
1726
+ const usePinchZoom = ({ captureTargetRef, zooming, minZoom, maxZoom, zoomValue, onZoom }) => {
1727
+ const pinchProps = usePinch({
1728
+ captureTargetRef,
1729
+ onPinchZoomChange: ({ delta }) => {
1730
+ const newZoom = zoomValue * (1 + ZOOM_INCREMENT * delta);
1731
+ zoom(newZoom, zoomValue, minZoom, maxZoom, onZoom);
1732
+ },
1733
+ isDisabled: zooming === 'off'
1734
+ });
1735
+ return pinchProps;
1736
+ };
1737
+
1738
+ const usePanZoom = ({ props, captureTargetRef, width, height, contentBounds, isRtl }) => {
1739
+ const [cursor, setCursor] = useState();
1740
+ const zoomProps = getZoomProps(props, width, height, contentBounds);
1741
+ const panBounds = useRef();
1742
+ const prevZoom = useRef();
1743
+ const panning = useRef();
1744
+ const initPanZoomState = useRef({
1745
+ zoom: props.zoomValue || 0,
1746
+ centerX: props.centerX,
1747
+ centerY: props.centerY
1748
+ });
1749
+ const isDeviceTouch = isTouch();
1750
+ const plotArea = {
1751
+ width: width,
1752
+ height: height,
1753
+ x: 0,
1754
+ y: 0
1755
+ };
1756
+ const showPanButton = isDeviceTouch ? props.panning && props.panning !== 'off' : undefined;
1757
+ const dragModeOptions = {
1758
+ isZoomScroll: true,
1759
+ plotAreaSpace: plotArea,
1760
+ componentWidth: width,
1761
+ isRtl,
1762
+ showPanButton: showPanButton ?? false,
1763
+ showZoomButton: false,
1764
+ showSelectButton: false,
1765
+ isDisabled: !isDeviceTouch
1766
+ };
1767
+ const { toggleButtonContent, userDragMode } = useVisDragModeControls(dragModeOptions);
1768
+ const panProps = getPanProps(props, contentBounds, userDragMode, isDeviceTouch);
1769
+ if (contentBounds.w !== Infinity &&
1770
+ (zoomProps.zoomValue !== prevZoom.current || panProps.panning !== panning.current)) {
1771
+ panBounds.current = getPanBounds(width, height, contentBounds, zoomProps.zoomValue, zoomProps.minZoom, initPanZoomState.current, panProps.panning);
1772
+ prevZoom.current = zoomProps.zoomValue;
1773
+ panning.current = panProps.panning;
1774
+ }
1775
+ const dragPanProps = useDragPan({
1776
+ panProps: panProps,
1777
+ captureTargetRef: captureTargetRef,
1778
+ panBounds: panBounds.current,
1779
+ zoom: zoomProps.zoomValue,
1780
+ width,
1781
+ height,
1782
+ onDragPanStart: () => setCursor('grabbing'),
1783
+ onDragPanEnd: () => setCursor('auto')
1784
+ });
1785
+ //dZoom or nZoom is required
1786
+ const kbZoomCallback = (props) => {
1787
+ const newZoom = props.dZoom
1788
+ ? zoomProps.zoomValue + props.dZoom
1789
+ : getZoomToFitZoom(width, height, contentBounds);
1790
+ zoom(props.nZoom ? props.nZoom : newZoom, zoomProps.zoomValue, zoomProps.minZoom, zoomProps.maxZoom, zoomProps.onZoom);
1791
+ };
1792
+ const prevPanState = useRef({ panX: 0, panY: 0 });
1793
+ // dPan or nPan is required
1794
+ const kbPanCallback = (props) => {
1795
+ let centerX;
1796
+ let centerY;
1797
+ if (props.center) {
1798
+ centerX = contentBounds.x + contentBounds.w / 2;
1799
+ centerY = contentBounds.y + contentBounds.h / 2;
1800
+ }
1801
+ else if (props.dPan) {
1802
+ centerX = panProps.centerX + props.dPan.dx;
1803
+ centerY = panProps.centerY + props.dPan.dy;
1804
+ }
1805
+ else {
1806
+ centerX = props.nPan.cx;
1807
+ centerY = props.nPan.cy;
1808
+ }
1809
+ const panValues = centerXYToPanXY(centerX, centerY, zoomProps.zoomValue, width, height);
1810
+ const { newPan } = pan(prevPanState.current, panValues, panProps.panDirection, zoomProps.zoomValue, width, height, panBounds.current, panProps.onPan);
1811
+ prevPanState.current = newPan;
1812
+ };
1813
+ const wheelZoomProps = useWheelZoom(zoomProps);
1814
+ const pinchZoomProps = usePinchZoom({
1815
+ captureTargetRef,
1816
+ zooming: zoomProps.zooming,
1817
+ minZoom: zoomProps.minZoom,
1818
+ maxZoom: zoomProps.maxZoom,
1819
+ zoomValue: zoomProps.zoomValue,
1820
+ onZoom: zoomProps.onZoom
1821
+ });
1822
+ const panZoomProps = mergeProps(dragPanProps, wheelZoomProps, pinchZoomProps);
1823
+ return {
1824
+ panZoomProps,
1825
+ panProps,
1826
+ zoomProps,
1827
+ toggleButtonContent,
1828
+ cursor,
1829
+ centerX: panProps.centerX,
1830
+ centerY: panProps.centerY,
1831
+ zoomValue: zoomProps.zoomValue,
1832
+ kbPanCallback: panProps.panning !== 'off' ? kbPanCallback : undefined,
1833
+ kbZoomCallback: zoomProps.zooming !== 'off' ? kbZoomCallback : undefined
1834
+ };
1835
+ };
1836
+
1837
+ function useDiagramSelection({ selectedIds, selectionMode, nodeMap, linkMap, focusedItemInfo, onSelectionChange, rootRef }) {
1838
+ const nodeIdToIndexMap = nodeMap.itemIdToIndexMap;
1839
+ const nodeIndexToIdMap = nodeMap.itemIndexToIdMap;
1840
+ const nodeIdToDataMap = nodeMap.itemIdToDataMap;
1841
+ const linkIdToIndexMap = linkMap.itemIdToIndexMap;
1842
+ const linkIndexToIdMap = linkMap.itemIndexToIdMap;
1843
+ const linkIdToDataMap = linkMap.itemIdToDataMap;
1844
+ const encodeNodeId = (id) => `N_${nodeIdToIndexMap.get(id)}`;
1845
+ const decodeNodeId = (id) => nodeIndexToIdMap.get(Number(id.slice(2)));
1846
+ const encodeLinkId = (id) => `L_${linkIdToIndexMap.get(id)}`;
1847
+ const decodeLinkId = (id) => linkIndexToIdMap.get(Number(id.slice(2)));
1848
+ const encodedNodesSelection = selectedIds.nodes ? selectedIds.nodes.map(encodeNodeId) : [];
1849
+ const encodedLinksSelection = selectedIds.links ? selectedIds.links.map(encodeLinkId) : [];
1850
+ const encodedSelection = [...encodedNodesSelection, ...encodedLinksSelection];
1851
+ const idExtracter = (event) => {
1852
+ // return encodeNodeId(id) or encodeLinkId(id) depending on node or link selection or undefined if clicked on empty space
1853
+ const info = event.type === 'keyup'
1854
+ ? focusedItemInfo
1855
+ : getNavigableInfo(event.target, rootRef);
1856
+ return info.id !== undefined
1857
+ ? info.isNode
1858
+ ? encodeNodeId(info.id)
1859
+ : encodeLinkId(info.id)
1860
+ : undefined;
1861
+ };
1862
+ const onEncodedSelectionChange = (detail) => {
1863
+ const newNodeIds = detail.ids
1864
+ .filter((encId) => encId[0] === 'N')
1865
+ .map((encId) => decodeNodeId(encId));
1866
+ const newLinkIds = detail.ids
1867
+ .filter((encId) => encId[0] === 'L')
1868
+ .map((encId) => decodeLinkId(encId));
1869
+ const newSelectedNodeIds = newNodeIds.filter((id) => nodeIdToDataMap.get(id)?.selectable !== 'off');
1870
+ const newSelectedLinkIds = newLinkIds.filter((id) => linkIdToDataMap.get(id)?.selectable !== 'off');
1871
+ const nodeData = newSelectedNodeIds.map((selectedId) => {
1872
+ return nodeIdToDataMap.get(selectedId);
1873
+ });
1874
+ const linkData = newSelectedLinkIds.map((selectedId) => {
1875
+ return linkIdToDataMap.get(selectedId);
1876
+ });
1877
+ return (onSelectionChange &&
1878
+ onSelectionChange({
1879
+ nodes: newSelectedNodeIds,
1880
+ links: newSelectedLinkIds,
1881
+ nodeData,
1882
+ linkData
1883
+ }));
1884
+ };
1885
+ const getDataById = (id) => {
1886
+ let data;
1887
+ if (id[0] === 'N') {
1888
+ const nodeId = decodeNodeId(id);
1889
+ data = nodeMap.itemIdToDataMap.get(nodeId);
1890
+ }
1891
+ else if (id[0] === 'L') {
1892
+ const linkId = decodeLinkId(id);
1893
+ data = linkMap.itemIdToDataMap.get(linkId);
1894
+ }
1895
+ return data;
1896
+ };
1897
+ const { selectionContent, selectionProps } = useSelection({
1898
+ selection: encodedSelection,
1899
+ idExtracter,
1900
+ selectionMode,
1901
+ getDataById,
1902
+ onChange: onEncodedSelectionChange
1903
+ });
1904
+ return { selectionContent, selectionProps };
1905
+ }
1906
+
1907
+ function DiagramWithDimensions({ nodes = [], links = [], width, height, selectedIds = {}, selectionMode = 'none', layout, nodeRenderer, linkRenderer, onSelectionChange, onItemHover, onItemFocus, highlightedIds = {}, datatip, ...otherProps }) {
1908
+ const focusedItemBoundsRef = useRef(null);
1909
+ const rootRef = useRef(null);
1910
+ //TODO JET-62563 change bounds to a MAP
1911
+ const [bounds, setBounds] = useState([]);
1912
+ const [combinedLabelBounds, setCombinedLabelBounds] = useState();
1913
+ const { direction } = useUser();
1914
+ const isRtl = direction === 'rtl';
1915
+ const diagramNodes = nodes;
1916
+ const nodeMap = createItemMap(diagramNodes);
1917
+ const nodeIdToDataMap = nodeMap.itemIdToDataMap;
1918
+ const diagramLinks = filterLinksWithNoEndNodes(links, nodeIdToDataMap);
1919
+ const linkMap = createItemMap(diagramLinks);
1920
+ const linkIdToDataMap = linkMap.itemIdToDataMap;
1921
+ const resizeThrottling = useRef(false);
1922
+ const newDimensions = getDimensionsFromBounds(bounds);
1923
+ const { textMeasureContent, getTextDimensions } = useTextDimensions();
1924
+ const labelDimensions = useRef(new Map());
1925
+ const nodeLabelPosRef = useRef([]);
1926
+ const linkLabelPosRef = useRef([]);
1927
+ const layoutOutputRef = useRef();
1928
+ const contentBounds = getContentBounds(bounds, combinedLabelBounds);
1929
+ const { panZoomProps, panProps, zoomProps, toggleButtonContent, cursor, centerX, centerY, zoomValue, kbPanCallback, kbZoomCallback } = usePanZoom({
1930
+ props: otherProps,
1931
+ captureTargetRef: rootRef,
1932
+ width: width,
1933
+ height: height,
1934
+ contentBounds,
1935
+ isRtl
1936
+ });
1937
+ const { touchResponse, touchResponseStyle } = useVisTouchResponse({
1938
+ type: 'auto',
1939
+ supportsTouchDragGestures: zoomProps.zooming === 'on' || panProps.panning !== 'off',
1940
+ rootRef
1941
+ });
1942
+ 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);
1943
+ const { selectionProps, selectionContent } = useDiagramSelection({
1944
+ selectedIds,
1945
+ selectionMode,
1946
+ nodeMap,
1947
+ linkMap,
1948
+ focusedItemInfo,
1949
+ onSelectionChange,
1950
+ rootRef
1951
+ });
1952
+ // This is for the datatip kb position
1953
+ if (focusedItemInfo && bounds.length > 0) {
1954
+ focusedItemBoundsRef.current = getFocusedItemBounds(focusedItemInfo, bounds, diagramLinks, nodeMap.itemIdToIndexMap, linkMap.itemIdToIndexMap);
1955
+ }
1956
+ const { datatipContent, datatipProps: { 'aria-describedby': datatipAriaDescribedby, ...datatipProps } } = useDiagramDatatip({
1957
+ touchResponse,
1958
+ datatip,
1959
+ focusedItemInfo,
1960
+ focusedItemBoundsRef,
1961
+ panState: centerXYToPanXY(centerX, centerY, zoomValue, width, height),
1962
+ zoom: zoomValue,
1963
+ width: width,
1964
+ nodesMap: nodeIdToDataMap,
1965
+ linksMap: linkIdToDataMap,
1966
+ hoveredItem: hoveredItemInfo
1967
+ });
1968
+ const style = {
1969
+ width: width,
1970
+ height: height,
1971
+ cursor: cursor,
1972
+ ...touchResponseStyle
1973
+ };
1974
+ const states = useRef();
1975
+ const previousState = states.current // states.current is previous state
1976
+ ? states.current
1977
+ : {
1978
+ selectedNodeIds: [],
1979
+ selectedLinkIds: [],
1980
+ focusedId: undefined,
1981
+ hoveredId: undefined,
1982
+ activeId: undefined,
1983
+ highlightedIds: [],
1984
+ zoom: 0
1985
+ };
1986
+ states.current = {
1987
+ // update states to new state
1988
+ selectedNodeIds: selectedIds.nodes ?? [],
1989
+ selectedLinkIds: selectedIds.links ?? [],
1990
+ focusedId: focusedItemInfo.isCurrent && focusedItemInfo.isFocusVisible ? focusedItemInfo.id : undefined,
1991
+ hoveredId: hoveredItemInfo?.isCurrent ? hoveredItemInfo.id : undefined,
1992
+ activeId,
1993
+ highlightedIds: combineIds(highlightedIds.nodes, highlightedIds.links),
1994
+ zoom: zoomValue
1995
+ };
1996
+ const mergedEventProps = mergeProps(panZoomProps, eventsProps, selectionProps, datatipProps);
1997
+ // Called anytime node changes size
1998
+ const onNodeSizeChanged = (nodeWidth, nodeHeight, idx) => {
1999
+ newDimensions[idx] = { w: nodeWidth, h: nodeHeight };
2000
+ if (resizeThrottling.current) {
2001
+ return;
2002
+ }
2003
+ resizeThrottling.current = true;
2004
+ // performs layout at the next available animation frame when all measurements should be ready
2005
+ window.requestAnimationFrame(() => {
2006
+ const { labelDims, layoutJSON } = constructLayoutJSON(diagramNodes, nodeIdToDataMap, linkIdToDataMap, newDimensions, width, height, getTextDimensions);
2007
+ labelDimensions.current = labelDims;
2008
+ const layoutOutput = layout(layoutJSON);
2009
+ const { nodePoints, nodeLabelPos, linkLabelPos } = deconstructLayoutJSON(layoutOutput, diagramNodes, diagramLinks);
2010
+ nodeLabelPosRef.current = nodeLabelPos;
2011
+ linkLabelPosRef.current = linkLabelPos;
2012
+ layoutOutputRef.current = layoutOutput;
2013
+ const nodeBounds = mergeDimensions(newDimensions, nodePoints);
2014
+ if (!isEqualBounds(nodeBounds, bounds)) {
2015
+ setBounds(nodeBounds);
2016
+ }
2017
+ const labelBounds = getAllLabelBounds(labelDims, diagramNodes, diagramLinks, nodeLabelPos, linkLabelPos, direction === 'rtl');
2018
+ setCombinedLabelBounds(labelBounds);
2019
+ resizeThrottling.current = false;
2020
+ });
2021
+ };
2022
+ return (jsxs("div", { ref: rootRef, class: outerStyles, ...mergedEventProps, style: style, tabIndex: 0, role: "application", "aria-label": otherProps['aria-label'], "aria-labelledby": otherProps['aria-labelledby'], "aria-describedby": merge([otherProps['aria-describedby'], datatipAriaDescribedby]), "aria-activedescendant": activeId, children: [getTextDimensions ? (jsx(DiagramPanZoomContainer, { centerX: centerX, centerY: centerY, zoom: zoomValue, width: width, height: height, children: jsx(DiagramLayers, { nodes: diagramNodes, links: diagramLinks, nodeRenderer: nodeRenderer, linkRenderer: linkRenderer, width: width, height: height, nodeBounds: bounds, states: states.current, previousStates: previousState, onNodeSizeChanged: onNodeSizeChanged, nodeLabelPositions: nodeLabelPosRef.current, linkLabelPositions: linkLabelPosRef.current, labelDimensions: labelDimensions.current, supportsSelection: selectionMode !== 'none' ||
2023
+ !!(selectedIds?.nodes && selectedIds.nodes.length > 0) ||
2024
+ !!(selectedIds?.links && selectedIds.links.length > 0), layoutOutput: layoutOutputRef.current, combinedNodeBounds: contentBounds }) })) : undefined, textMeasureContent, datatipContent, selectionContent, toggleButtonContent] }));
2025
+ }
2026
+
2027
+ /**
2028
+ * Diagrams are used to display a set of nodes and the links between them.
2029
+ */
2030
+ function Diagram({ width, height, ...otherProps }) {
2031
+ return otherProps.nodes && otherProps.nodes.length > 0 ? (jsx(TrackResizeContainer, { width: width, height: height, class: dimensionStyle, children: (width, height) => jsx(DiagramWithDimensions, { width: width, height: height, ...otherProps }) })) : null;
2032
+ }
2033
+
2034
+ export { Diagram as D };
2035
+ //# sourceMappingURL=Diagram-29d78c10.js.map