@oracle/oraclejet-preact 18.1.6 → 18.1.7

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 (657) hide show
  1. package/amd/ActionCard-5ae60cb4.js +1 -1
  2. package/amd/{BarChart-0ad4ca6d.js → BarChart-254aecbb.js} +2 -2
  3. package/amd/{BarChart-0ad4ca6d.js.map → BarChart-254aecbb.js.map} +1 -1
  4. package/amd/BarGroup-d6909cb1.js +1 -1
  5. package/amd/BaseButton-c86afd54.js +1 -1
  6. package/amd/{BaseCardView-a1c5a21d.js → BaseCardView-4f88499c.js} +2 -2
  7. package/amd/{BaseCardView-a1c5a21d.js.map → BaseCardView-4f88499c.js.map} +1 -1
  8. package/amd/{BaseCardViewSelectionTest-36a03079.js → BaseCardViewSelectionTest-00655472.js} +2 -2
  9. package/amd/{BaseCardViewSelectionTest-36a03079.js.map → BaseCardViewSelectionTest-00655472.js.map} +1 -1
  10. package/amd/BaseNavigationListItem-84858a0f.js +2 -0
  11. package/{es/BaseNavigationListItem-1c75c13f.js.map → amd/BaseNavigationListItem-84858a0f.js.map} +1 -1
  12. package/amd/BaseRichSelection-33a97275.js +1 -1
  13. package/amd/ButtonSet-7a7a63e8.js +1 -1
  14. package/amd/ButtonSetIconButton-9f171b1e.js +1 -1
  15. package/amd/Card-4d47fe95.js +2 -0
  16. package/amd/{Card-70e5f9f2.js.map → Card-4d47fe95.js.map} +1 -1
  17. package/amd/CardFlexView-86cb369a.js +2 -0
  18. package/amd/{CardFlexView-f7fdfac8.js.map → CardFlexView-86cb369a.js.map} +1 -1
  19. package/amd/CardGridView-b3f11290.js +2 -0
  20. package/amd/{CardGridView-b8a60fae.js.map → CardGridView-b3f11290.js.map} +1 -1
  21. package/amd/{Center-e552eb11.js → Center-05b00f39.js} +2 -2
  22. package/amd/{Center-e552eb11.js.map → Center-05b00f39.js.map} +1 -1
  23. package/amd/{Chart-79cfc878.js → Chart-87ae799b.js} +2 -2
  24. package/amd/{Chart-79cfc878.js.map → Chart-87ae799b.js.map} +1 -1
  25. package/amd/Checkbox-49753599.js +1 -1
  26. package/amd/CheckboxControl-c6a380b3.js +1 -1
  27. package/amd/CheckboxRadioField-1987c75d.js +1 -1
  28. package/amd/Chip-1bcbf57e.js +1 -1
  29. package/amd/ClearIcon-d73689cc.js +1 -1
  30. package/amd/CollapseIcon-a7f8693d.js +1 -1
  31. package/amd/Collapsible-ea0dca8a.js +1 -1
  32. package/amd/{ComboChart-72eda15f.js → ComboChart-79e7d438.js} +2 -2
  33. package/amd/{ComboChart-72eda15f.js.map → ComboChart-79e7d438.js.map} +1 -1
  34. package/amd/CompactHelpSource-de995a7f.js +1 -1
  35. package/amd/CompactLabelAssistance-f3d093c7.js +2 -0
  36. package/amd/{CompactLabelAssistance-9f9f658d.js.map → CompactLabelAssistance-f3d093c7.js.map} +1 -1
  37. package/amd/CompactUserAssistance-3799998f.js +1 -1
  38. package/amd/ComponentMessageContainer-cf186eeb.js +1 -1
  39. package/amd/ConveyorBeltItem-e3002f4a.js +1 -1
  40. package/amd/{DatePicker-9115226e.js → DatePicker-abe79055.js} +2 -2
  41. package/amd/{DatePicker-9115226e.js.map → DatePicker-abe79055.js.map} +1 -1
  42. package/amd/DatePickerHeader-a0da70a0.js +1 -1
  43. package/amd/{Diagram-14fa4924.js → Diagram-3d169c49.js} +2 -2
  44. package/amd/{Diagram-14fa4924.js.map → Diagram-3d169c49.js.map} +1 -1
  45. package/amd/{Dialog-896c0bfd.js → Dialog-11e863b2.js} +2 -2
  46. package/amd/{Dialog-896c0bfd.js.map → Dialog-11e863b2.js.map} +1 -1
  47. package/amd/DirectionalCollapseArrowIcon-31539047.js +1 -1
  48. package/amd/DirectionalExpandArrowIcon-533fd2a0.js +1 -1
  49. package/amd/{DragHandle-14ea6e74.js → DragHandle-7335845b.js} +2 -2
  50. package/amd/{DragHandle-14ea6e74.js.map → DragHandle-7335845b.js.map} +1 -1
  51. package/amd/{DrawerPopup-90b8ecf5.js → DrawerPopup-8d5736fb.js} +2 -2
  52. package/amd/{DrawerPopup-90b8ecf5.js.map → DrawerPopup-8d5736fb.js.map} +1 -1
  53. package/amd/{Dropdown-73238fd5.js → Dropdown-3d2abe1f.js} +2 -2
  54. package/amd/{Dropdown-73238fd5.js.map → Dropdown-3d2abe1f.js.map} +1 -1
  55. package/amd/{EnvironmentProvider-806b8f3a.js → EnvironmentProvider-bbf80843.js} +2 -2
  56. package/amd/{EnvironmentProvider-806b8f3a.js.map → EnvironmentProvider-bbf80843.js.map} +1 -1
  57. package/amd/ExpandableList-daabc548.js +1 -1
  58. package/amd/FilePicker-7e31189e.js +1 -1
  59. package/amd/{Flex-590160eb.js → Flex-b8764305.js} +2 -2
  60. package/amd/{Flex-590160eb.js.map → Flex-b8764305.js.map} +1 -1
  61. package/amd/{Floating-ae9845d4.js → Floating-f12b8739.js} +2 -2
  62. package/amd/{Floating-ae9845d4.js.map → Floating-f12b8739.js.map} +1 -1
  63. package/amd/FormLayout-3d643cdf.js +1 -1
  64. package/amd/Gantt-7265d4ce.js +1 -1
  65. package/amd/Grid-e6f0d4a6.js +2 -0
  66. package/amd/{Grid-a8a51c37.js.map → Grid-e6f0d4a6.js.map} +1 -1
  67. package/amd/{Gridlines-8894882d.js → Gridlines-efa5606a.js} +2 -2
  68. package/amd/{Gridlines-8894882d.js.map → Gridlines-efa5606a.js.map} +1 -1
  69. package/amd/GroupLoadingIndicator-9fd33355.js +1 -1
  70. package/amd/HighlightText-d1b13537.js +2 -0
  71. package/amd/{HighlightText-ded0d51b.js.map → HighlightText-d1b13537.js.map} +1 -1
  72. package/amd/Icon-383a68bb.js +1 -1
  73. package/amd/IconButton-368fba34.js +1 -1
  74. package/amd/IconMenuButton-3f3c2386.js +1 -1
  75. package/amd/IconProgressButton-11c44c28.js +1 -1
  76. package/amd/IconSwitchButton-1a400cdf.js +1 -1
  77. package/amd/IconToggleButton-ea46b246.js +1 -1
  78. package/amd/{IconUserAssistance-e496ab70.js → IconUserAssistance-f5228b1d.js} +2 -2
  79. package/amd/{IconUserAssistance-e496ab70.js.map → IconUserAssistance-f5228b1d.js.map} +1 -1
  80. package/amd/{Indexer-5df524f2.js → Indexer-510aaf3a.js} +2 -2
  81. package/amd/{Indexer-5df524f2.js.map → Indexer-510aaf3a.js.map} +1 -1
  82. package/amd/InlineHelpSource-8277317c.js +1 -1
  83. package/amd/InlineUserAssistance-a97e0011.js +1 -1
  84. package/amd/InputDateMask-09989b51.js +1 -1
  85. package/amd/InputDatePicker-4c3c6bb4.js +2 -0
  86. package/amd/{InputDatePicker-03bdeb95.js.map → InputDatePicker-4c3c6bb4.js.map} +1 -1
  87. package/amd/InputPassword-57a5e072.js +1 -1
  88. package/amd/InputText-a72eb1c3.js +1 -1
  89. package/amd/Label-41b672b4.js +1 -1
  90. package/amd/LabelValueLayout-b6701ecf.js +1 -1
  91. package/amd/{Layer-139c23c4.js → Layer-69221878.js} +2 -2
  92. package/amd/{Layer-139c23c4.js.map → Layer-69221878.js.map} +1 -1
  93. package/amd/{LayerHost-733ade2f.js → LayerHost-27dfba9e.js} +2 -2
  94. package/amd/{LayerHost-733ade2f.js.map → LayerHost-27dfba9e.js.map} +1 -1
  95. package/amd/{LayerManager-9a628ce3.js → LayerManager-7f82d3ce.js} +2 -2
  96. package/amd/{LayerManager-9a628ce3.js.map → LayerManager-7f82d3ce.js.map} +1 -1
  97. package/amd/Legend-6fa54628.js +1 -1
  98. package/amd/{LineAreaChart-3aff0c1a.js → LineAreaChart-1f66d439.js} +2 -2
  99. package/amd/{LineAreaChart-3aff0c1a.js.map → LineAreaChart-1f66d439.js.map} +1 -1
  100. package/amd/{LineSeries-ce197af6.js → LineSeries-fe392d85.js} +2 -2
  101. package/amd/{LineSeries-ce197af6.js.map → LineSeries-fe392d85.js.map} +1 -1
  102. package/amd/Link-1f126248.js +1 -1
  103. package/amd/List-37e37948.js +2 -0
  104. package/amd/{List-0da6ee9c.js.map → List-37e37948.js.map} +1 -1
  105. package/amd/{ListItemLayout-59986c55.js → ListItemLayout-60fc51b7.js} +2 -2
  106. package/amd/{ListItemLayout-59986c55.js.map → ListItemLayout-60fc51b7.js.map} +1 -1
  107. package/amd/{ListView-cdfac903.js → ListView-325e1814.js} +2 -2
  108. package/amd/{ListView-cdfac903.js.map → ListView-325e1814.js.map} +1 -1
  109. package/amd/LiveRegion-17fea064.js +2 -0
  110. package/amd/{LiveRegion-1917f798.js.map → LiveRegion-17fea064.js.map} +1 -1
  111. package/amd/LoadMoreCollection-83413a59.js +2 -0
  112. package/amd/{LoadMoreCollection-a6adbc3f.js.map → LoadMoreCollection-83413a59.js.map} +1 -1
  113. package/amd/{MaxLengthLiveRegion-46bb45da.js → MaxLengthLiveRegion-ecc0c894.js} +2 -2
  114. package/amd/{MaxLengthLiveRegion-46bb45da.js.map → MaxLengthLiveRegion-ecc0c894.js.map} +1 -1
  115. package/amd/Menu-bb715ef5.js +1 -1
  116. package/amd/MenuButton-66e5430a.js +1 -1
  117. package/amd/MenuItem-1a324975.js +1 -1
  118. package/amd/Message-d66cc7e9.js +1 -1
  119. package/amd/{MessageLayer-a439ce52.js → MessageLayer-d39be82d.js} +2 -2
  120. package/amd/{MessageLayer-a439ce52.js.map → MessageLayer-d39be82d.js.map} +1 -1
  121. package/amd/MessageToast-19703f73.js +1 -1
  122. package/amd/MessagesManager-2c4c218f.js +1 -1
  123. package/amd/MeterBar-9f58cfad.js +1 -1
  124. package/amd/MeterCircle-c3138125.js +1 -1
  125. package/amd/{Modal-9eaf8cd9.js → Modal-e4a033c8.js} +2 -2
  126. package/amd/{Modal-9eaf8cd9.js.map → Modal-e4a033c8.js.map} +1 -1
  127. package/amd/{MonthView-67179db3.js → MonthView-ca0355b8.js} +2 -2
  128. package/amd/{MonthView-67179db3.js.map → MonthView-ca0355b8.js.map} +1 -1
  129. package/amd/NavigationList-ae9fcc27.js +2 -0
  130. package/{es/NavigationList-fb05e081.js.map → amd/NavigationList-ae9fcc27.js.map} +1 -1
  131. package/amd/NavigationListItem-cd84dcba.js +2 -0
  132. package/{es/NavigationListItem-193a315a.js.map → amd/NavigationListItem-cd84dcba.js.map} +1 -1
  133. package/amd/NumberInputText-e2cf1795.js +1 -1
  134. package/amd/{OverflowTabBar-1dd5c327.js → OverflowTabBar-0ff69ae0.js} +2 -2
  135. package/amd/{OverflowTabBar-1dd5c327.js.map → OverflowTabBar-0ff69ae0.js.map} +1 -1
  136. package/amd/OverflowTabBarItem-74276a21.js +2 -0
  137. package/amd/{OverflowTabBarItem-f8128e3d.js.map → OverflowTabBarItem-74276a21.js.map} +1 -1
  138. package/amd/PRIVATE_BaseCardView.js +1 -1
  139. package/amd/PRIVATE_Chart.js +1 -1
  140. package/amd/PRIVATE_CheckboxControl.js +1 -1
  141. package/amd/PRIVATE_CheckboxRadioField.js +1 -1
  142. package/amd/PRIVATE_ClearIcon.js +1 -1
  143. package/amd/PRIVATE_DatePickerHeader.js +1 -1
  144. package/amd/PRIVATE_DatePickerLayout.js +1 -1
  145. package/amd/PRIVATE_EmbeddedIconButton.js +1 -1
  146. package/amd/PRIVATE_FormControls.js +1 -1
  147. package/amd/PRIVATE_IconSwitchButton.js +1 -1
  148. package/amd/PRIVATE_Icons/CheckboxMixed.js +1 -1
  149. package/amd/PRIVATE_Icons/CheckboxOff.js +1 -1
  150. package/amd/PRIVATE_Icons/CheckboxOn.js +1 -1
  151. package/amd/PRIVATE_Icons/DragV.js +1 -1
  152. package/amd/PRIVATE_Icons/WarningS.js +1 -1
  153. package/amd/PRIVATE_List.js +1 -1
  154. package/amd/PRIVATE_LoadMoreCollection.js +1 -1
  155. package/amd/PRIVATE_Message.js +1 -1
  156. package/amd/PRIVATE_MessageLayer.js +1 -1
  157. package/amd/PRIVATE_MonthView.js +1 -1
  158. package/amd/PRIVATE_MonthYearGridView.js +1 -1
  159. package/amd/PRIVATE_PlotArea.js +1 -1
  160. package/amd/PRIVATE_RevealToggleIcon.js +1 -1
  161. package/amd/PRIVATE_RichSelectionCommon.js +1 -1
  162. package/amd/PRIVATE_SelectCommon.js +1 -1
  163. package/amd/PRIVATE_StyledCard.js +1 -1
  164. package/amd/PRIVATE_StyledCheckbox.js +1 -1
  165. package/amd/PRIVATE_Table.js +1 -1
  166. package/amd/PRIVATE_ThemedIcons/CalendarIcon.js +1 -1
  167. package/amd/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +1 -1
  168. package/amd/PRIVATE_ThemedIcons/ChartPanIcon.js +1 -1
  169. package/amd/PRIVATE_ThemedIcons/ChartZoomIcon.js +1 -1
  170. package/amd/PRIVATE_ThemedIcons/CheckIcon.js +1 -1
  171. package/amd/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +1 -1
  172. package/amd/PRIVATE_ThemedIcons/CheckboxOffIcon.js +1 -1
  173. package/amd/PRIVATE_ThemedIcons/CheckboxOnIcon.js +1 -1
  174. package/amd/PRIVATE_ThemedIcons/CloseIcon.js +1 -1
  175. package/amd/PRIVATE_ThemedIcons/CollapseIcon.js +1 -1
  176. package/amd/PRIVATE_ThemedIcons/CollapseUpIcon.js +1 -1
  177. package/amd/PRIVATE_ThemedIcons/DecrementIcon.js +1 -1
  178. package/amd/PRIVATE_ThemedIcons/DeleteIcon.js +1 -1
  179. package/amd/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +1 -1
  180. package/amd/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +1 -1
  181. package/amd/PRIVATE_ThemedIcons/DragHandleIcon.js +1 -1
  182. package/amd/PRIVATE_ThemedIcons/DropdownArrowIcon.js +1 -1
  183. package/amd/PRIVATE_ThemedIcons/ExpandIcon.js +1 -1
  184. package/amd/PRIVATE_ThemedIcons/HelpIcon.js +1 -1
  185. package/amd/PRIVATE_ThemedIcons/IncrementIcon.js +1 -1
  186. package/amd/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +1 -1
  187. package/amd/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +1 -1
  188. package/amd/PRIVATE_ThemedIcons/MessageErrorIcon.js +1 -1
  189. package/amd/PRIVATE_ThemedIcons/MessageInfoIcon.js +1 -1
  190. package/amd/PRIVATE_ThemedIcons/MessageWarningIcon.js +1 -1
  191. package/amd/PRIVATE_ThemedIcons/MinusIcon.js +1 -1
  192. package/amd/PRIVATE_ThemedIcons/NavDownIcon.js +1 -1
  193. package/amd/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +1 -1
  194. package/amd/PRIVATE_ThemedIcons/PlusIcon.js +1 -1
  195. package/amd/PRIVATE_ThemedIcons/RadioOffIcon.js +1 -1
  196. package/amd/PRIVATE_ThemedIcons/RadioOnIcon.js +1 -1
  197. package/amd/PRIVATE_ThemedIcons/SortAscendingIcon.js +1 -1
  198. package/amd/PRIVATE_ThemedIcons/SortDescendingIcon.js +1 -1
  199. package/amd/PRIVATE_ThemedIcons/ViewHideIcon.js +1 -1
  200. package/amd/PRIVATE_ThemedIcons/ViewIcon.js +1 -1
  201. package/amd/PRIVATE_TimeComponent.js +1 -1
  202. package/amd/PRIVATE_VirtualizedCollection.js +1 -1
  203. package/amd/PRIVATE_VisOverview.js +1 -1
  204. package/amd/PRIVATE_VisTabularDatatip.js +1 -1
  205. package/amd/PictoChart-98b892fb.js +1 -1
  206. package/amd/PieChart-19890d12.js +1 -1
  207. package/amd/{Popup-3e2566da.js → Popup-b0704743.js} +2 -2
  208. package/amd/{Popup-3e2566da.js.map → Popup-b0704743.js.map} +1 -1
  209. package/amd/{ProgressBar-99c0ff2a.js → ProgressBar-8ab08930.js} +2 -2
  210. package/amd/{ProgressBar-99c0ff2a.js.map → ProgressBar-8ab08930.js.map} +1 -1
  211. package/amd/ProgressButton-cd0c21df.js +1 -1
  212. package/amd/ProgressButtonLabelLayout-76d8a3e7.js +1 -1
  213. package/amd/{ProgressCircle-0046c4c8.js → ProgressCircle-9c36b39c.js} +2 -2
  214. package/amd/{ProgressCircle-0046c4c8.js.map → ProgressCircle-9c36b39c.js.map} +1 -1
  215. package/amd/RadioItem-1a02d3dc.js +1 -1
  216. package/amd/RatingGauge-1c40dae3.js +1 -1
  217. package/amd/ReadonlyTextFieldInput-d6c6dbc4.js +1 -1
  218. package/amd/RemovableNavigationListItem-cf7a0648.js +2 -0
  219. package/amd/{RemovableNavigationListItem-1f69907c.js.map → RemovableNavigationListItem-cf7a0648.js.map} +1 -1
  220. package/amd/RemovableTabBarItem-5c240801.js +1 -1
  221. package/amd/{ReorderableTabBar-23f7e3c3.js → ReorderableTabBar-2983fae4.js} +2 -2
  222. package/amd/{ReorderableTabBar-23f7e3c3.js.map → ReorderableTabBar-2983fae4.js.map} +1 -1
  223. package/amd/RevealToggleIcon-c22626da.js +1 -1
  224. package/amd/{ScatterChart-e6f8d49a.js → ScatterChart-2acbcccd.js} +2 -2
  225. package/amd/{ScatterChart-e6f8d49a.js.map → ScatterChart-2acbcccd.js.map} +1 -1
  226. package/amd/SectionalLegend-713bdefb.js +1 -1
  227. package/amd/SectionedContent-f508dbae.js +2 -0
  228. package/amd/{SectionedContent-ef1f844c.js.map → SectionedContent-f508dbae.js.map} +1 -1
  229. package/amd/{SelectMultiple-a159ccbf.js → SelectMultiple-19db7af2.js} +2 -2
  230. package/amd/{SelectMultiple-a159ccbf.js.map → SelectMultiple-19db7af2.js.map} +1 -1
  231. package/amd/{SelectSingle-e3d0d8d2.js → SelectSingle-7edde065.js} +2 -2
  232. package/amd/{SelectSingle-e3d0d8d2.js.map → SelectSingle-7edde065.js.map} +1 -1
  233. package/amd/SelectionCard-38a1007f.js +2 -0
  234. package/amd/{SelectionCard-a8a3bb2d.js.map → SelectionCard-38a1007f.js.map} +1 -1
  235. package/amd/Selector-fcfe7801.js +1 -1
  236. package/amd/{SelectorAll-de289397.js → SelectorAll-3f85b285.js} +2 -2
  237. package/amd/{SelectorAll-de289397.js.map → SelectorAll-3f85b285.js.map} +1 -1
  238. package/amd/{Sheet-404b38fa.js → Sheet-08578790.js} +2 -2
  239. package/amd/{Sheet-404b38fa.js.map → Sheet-08578790.js.map} +1 -1
  240. package/amd/SplitMenuButton-a2001b04.js +1 -1
  241. package/amd/StyledCard-1f13531d.js +2 -0
  242. package/amd/{StyledCard-09c9f9c0.js.map → StyledCard-1f13531d.js.map} +1 -1
  243. package/amd/{StyledLabelValueLayout-2524f5c3.js → StyledLabelValueLayout-0353a9b8.js} +2 -2
  244. package/amd/{StyledLabelValueLayout-2524f5c3.js.map → StyledLabelValueLayout-0353a9b8.js.map} +1 -1
  245. package/amd/StyledTextField-5dcd2ff4.js +1 -1
  246. package/amd/TabBar-0b3704ca.js +2 -0
  247. package/amd/{TabBar-ca32462a.js.map → TabBar-0b3704ca.js.map} +1 -1
  248. package/amd/TabBarItem-4ff2ef15.js +1 -1
  249. package/amd/TabBarLayout-95e78962.js +1 -1
  250. package/amd/TabBarMixed-1cfdf66e.js +2 -0
  251. package/amd/{TabBarMixed-dab4e4a2.js.map → TabBarMixed-1cfdf66e.js.map} +1 -1
  252. package/amd/{TabBarMixedSeparator-53d205c8.js → TabBarMixedSeparator-b4c6eb9d.js} +2 -2
  253. package/amd/{TabBarMixedSeparator-53d205c8.js.map → TabBarMixedSeparator-b4c6eb9d.js.map} +1 -1
  254. package/amd/{Table-f5ebf3d4.js → Table-f1101855.js} +2 -2
  255. package/amd/{Table-f5ebf3d4.js.map → Table-f1101855.js.map} +1 -1
  256. package/amd/{TableView-e8cab364.js → TableView-c72953df.js} +2 -2
  257. package/amd/{TableView-e8cab364.js.map → TableView-c72953df.js.map} +1 -1
  258. package/amd/TagCloud-39552a78.js +1 -1
  259. package/amd/TextArea-fe8d9067.js +2 -0
  260. package/amd/TextArea-fe8d9067.js.map +1 -0
  261. package/amd/TextAreaAutosize-c9c00a1c.js +2 -0
  262. package/amd/{TextAreaAutosize-8cac0a54.js.map → TextAreaAutosize-c9c00a1c.js.map} +1 -1
  263. package/amd/TextField-c16917d8.js +1 -1
  264. package/amd/TextFieldInput-e86a1d08.js +1 -1
  265. package/amd/Theme-redwood/theme.css +237 -237
  266. package/amd/Theme-stable/theme.css +298 -298
  267. package/amd/TimeComponentCanvas2D-82ebf0c7.js +1 -1
  268. package/amd/Toolbar-fe110698.js +1 -1
  269. package/amd/TruncatingBadge-1a265367.js +1 -1
  270. package/amd/TruncatingText-eb4bd8ab.js +1 -1
  271. package/amd/UNSAFE_ActionCard.js +1 -1
  272. package/amd/UNSAFE_BarChart/__test__/BarChart.spec.js +1 -1
  273. package/amd/UNSAFE_BarChart.js +1 -1
  274. package/amd/UNSAFE_BaseButton.js +1 -1
  275. package/amd/UNSAFE_Button.js +1 -1
  276. package/amd/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +1 -1
  277. package/amd/UNSAFE_ButtonSet.js +1 -1
  278. package/amd/UNSAFE_ButtonSetButton.js +1 -1
  279. package/amd/UNSAFE_ButtonSetIconButton.js +1 -1
  280. package/amd/UNSAFE_ButtonSetItem.js +1 -1
  281. package/amd/UNSAFE_ButtonSetMultiple.js +1 -1
  282. package/amd/UNSAFE_ButtonSetSingle.js +1 -1
  283. package/amd/UNSAFE_Card.js +1 -1
  284. package/amd/UNSAFE_CardFlexView.js +1 -1
  285. package/amd/UNSAFE_CardGridView.js +1 -1
  286. package/amd/UNSAFE_Center.js +1 -1
  287. package/amd/UNSAFE_Checkbox.js +1 -1
  288. package/amd/UNSAFE_CheckboxItem.js +1 -1
  289. package/amd/UNSAFE_CheckboxSet.js +1 -1
  290. package/amd/UNSAFE_Chip.js +1 -1
  291. package/amd/UNSAFE_Collapsible.js +1 -1
  292. package/amd/UNSAFE_ComboChart.js +1 -1
  293. package/amd/UNSAFE_ComponentMessage.js +1 -1
  294. package/amd/UNSAFE_ConveyorBelt.js +1 -1
  295. package/amd/UNSAFE_DatePicker.js +1 -1
  296. package/amd/UNSAFE_Diagram.js +1 -1
  297. package/amd/UNSAFE_Dialog.js +1 -1
  298. package/amd/UNSAFE_DragHandle.js +1 -1
  299. package/amd/UNSAFE_DrawerLayout.js +1 -1
  300. package/amd/UNSAFE_DrawerPopup.js +1 -1
  301. package/amd/UNSAFE_Dropdown.js +1 -1
  302. package/amd/UNSAFE_Environment.js +1 -1
  303. package/amd/UNSAFE_ExpandableList.js +1 -1
  304. package/amd/UNSAFE_FilePicker.js +1 -1
  305. package/amd/UNSAFE_Flex.js +1 -1
  306. package/amd/UNSAFE_Floating.js +1 -1
  307. package/amd/UNSAFE_FormLayout.js +1 -1
  308. package/amd/UNSAFE_Gantt.js +1 -1
  309. package/amd/UNSAFE_Grid.js +1 -1
  310. package/amd/UNSAFE_HighlightText.js +1 -1
  311. package/amd/UNSAFE_Icon.js +1 -1
  312. package/amd/UNSAFE_IconButton.js +1 -1
  313. package/amd/UNSAFE_IconMenuButton.js +1 -1
  314. package/amd/UNSAFE_IconProgressButton.js +1 -1
  315. package/amd/UNSAFE_IconToggleButton.js +1 -1
  316. package/amd/UNSAFE_Indexer.js +1 -1
  317. package/amd/UNSAFE_InputDateMask.js +1 -1
  318. package/amd/UNSAFE_InputDatePicker.js +1 -1
  319. package/amd/UNSAFE_InputPassword.js +1 -1
  320. package/amd/UNSAFE_InputSensitiveText.js +1 -1
  321. package/amd/UNSAFE_InputText.js +1 -1
  322. package/amd/UNSAFE_InputTimeMask.js +1 -1
  323. package/amd/UNSAFE_Label.js +1 -1
  324. package/amd/UNSAFE_LabelValueLayout.js +1 -1
  325. package/amd/UNSAFE_LabelledLink.js +1 -1
  326. package/amd/UNSAFE_Layer.js +1 -1
  327. package/amd/UNSAFE_Legend.js +1 -1
  328. package/amd/UNSAFE_LineAreaChart.js +1 -1
  329. package/amd/UNSAFE_Link.js +1 -1
  330. package/amd/UNSAFE_ListItemLayout.js +1 -1
  331. package/amd/UNSAFE_ListView.js +1 -1
  332. package/amd/UNSAFE_LiveRegion.js +1 -1
  333. package/amd/UNSAFE_Menu.js +1 -1
  334. package/amd/UNSAFE_MenuButton.js +1 -1
  335. package/amd/UNSAFE_MessageBanner.js +1 -1
  336. package/amd/UNSAFE_MessageToast.js +1 -1
  337. package/amd/UNSAFE_MeterBar.js +1 -1
  338. package/amd/UNSAFE_MeterCircle.js +1 -1
  339. package/amd/UNSAFE_Modal.js +1 -1
  340. package/amd/UNSAFE_NavigationList.js +1 -1
  341. package/amd/UNSAFE_NavigationListCommon.js +1 -1
  342. package/amd/UNSAFE_NumberInputText.js +1 -1
  343. package/amd/UNSAFE_OverflowTabBar.js +1 -1
  344. package/amd/UNSAFE_PictoChart.js +1 -1
  345. package/amd/UNSAFE_PieChart/__test__/PieChart.spec.js +1 -1
  346. package/amd/UNSAFE_PieChart.js +1 -1
  347. package/amd/UNSAFE_Popup.js +1 -1
  348. package/amd/UNSAFE_ProgressBar.js +1 -1
  349. package/amd/UNSAFE_ProgressButton.js +1 -1
  350. package/amd/UNSAFE_ProgressButtonLabelLayout.js +1 -1
  351. package/amd/UNSAFE_ProgressCircle.js +1 -1
  352. package/amd/UNSAFE_RadioItem.js +1 -1
  353. package/amd/UNSAFE_RadioSet.js +1 -1
  354. package/amd/UNSAFE_RatingGauge.js +1 -1
  355. package/amd/UNSAFE_ReorderableTabBar.js +1 -1
  356. package/amd/UNSAFE_RichCheckboxSet.js +1 -1
  357. package/amd/UNSAFE_RichRadioSet.js +1 -1
  358. package/amd/UNSAFE_RichSelectionItem.js +1 -1
  359. package/amd/UNSAFE_ScatterChart.js +1 -1
  360. package/amd/UNSAFE_SectionalLegend.js +1 -1
  361. package/amd/UNSAFE_SelectMultiple.js +1 -1
  362. package/amd/UNSAFE_SelectSingle.js +1 -1
  363. package/amd/UNSAFE_SelectionCard.js +1 -1
  364. package/amd/UNSAFE_Selector.js +1 -1
  365. package/amd/UNSAFE_SelectorAll.js +1 -1
  366. package/amd/UNSAFE_Sheet/__test__/Sheet.spec.js +1 -1
  367. package/amd/UNSAFE_Sheet.js +1 -1
  368. package/amd/UNSAFE_SplitMenuButton.js +1 -1
  369. package/amd/UNSAFE_TabBar.js +1 -1
  370. package/amd/UNSAFE_TabBarCommon.js +1 -1
  371. package/amd/UNSAFE_TabBarMixed.js +1 -1
  372. package/amd/UNSAFE_TableView.js +1 -1
  373. package/amd/UNSAFE_TagCloud.js +1 -1
  374. package/amd/UNSAFE_TextArea.js +1 -1
  375. package/amd/UNSAFE_TextAreaAutosize.js +1 -1
  376. package/amd/UNSAFE_TextField.js +1 -1
  377. package/amd/UNSAFE_ToggleButton.js +1 -1
  378. package/amd/UNSAFE_Toolbar/tests/Toolbar.spec.js +1 -1
  379. package/amd/UNSAFE_Toolbar.js +1 -1
  380. package/amd/UNSAFE_Train.js +1 -1
  381. package/amd/UNSAFE_TruncatingBadge.js +1 -1
  382. package/amd/UNSAFE_TruncatingText.js +1 -1
  383. package/amd/UNSAFE_UserAssistance.js +1 -1
  384. package/amd/UNSAFE_View.js +1 -1
  385. package/amd/UNSAFE_VirtualizedListView.js +1 -1
  386. package/amd/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +1 -1
  387. package/amd/UNSAFE_VisProgressiveLoader.js +1 -1
  388. package/amd/UNSAFE_VisStatusMessage.js +1 -1
  389. package/amd/UNSAFE_WindowOverlay.js +1 -1
  390. package/amd/{View-db26162c.js → View-b5d6b669.js} +2 -2
  391. package/amd/{View-db26162c.js.map → View-b5d6b669.js.map} +1 -1
  392. package/amd/{VirtualizedCollection-63223f5e.js → VirtualizedCollection-897516a5.js} +2 -2
  393. package/amd/{VirtualizedCollection-63223f5e.js.map → VirtualizedCollection-897516a5.js.map} +1 -1
  394. package/amd/{VirtualizedListView-d353d174.js → VirtualizedListView-0b9e1c53.js} +2 -2
  395. package/amd/{VirtualizedListView-d353d174.js.map → VirtualizedListView-0b9e1c53.js.map} +1 -1
  396. package/amd/{VisNoData-7090c864.js → VisNoData-32b7088b.js} +2 -2
  397. package/amd/{VisNoData-7090c864.js.map → VisNoData-32b7088b.js.map} +1 -1
  398. package/amd/{VisProgressiveLoader-6a3b479f.js → VisProgressiveLoader-8cf832a4.js} +2 -2
  399. package/amd/{VisProgressiveLoader-6a3b479f.js.map → VisProgressiveLoader-8cf832a4.js.map} +1 -1
  400. package/amd/{VisTabularDatatip-0b630f9d.js → VisTabularDatatip-03ba9ae5.js} +2 -2
  401. package/amd/{VisTabularDatatip-0b630f9d.js.map → VisTabularDatatip-03ba9ae5.js.map} +1 -1
  402. package/amd/{WindowOverlay-c390f525.js → WindowOverlay-19cd633a.js} +2 -2
  403. package/amd/{WindowOverlay-c390f525.js.map → WindowOverlay-19cd633a.js.map} +1 -1
  404. package/amd/{YearsGridView-e645d5de.js → YearsGridView-84898309.js} +2 -2
  405. package/amd/{YearsGridView-e645d5de.js.map → YearsGridView-84898309.js.map} +1 -1
  406. package/amd/hoc/PRIVATE_withDirectionIcon.js +1 -1
  407. package/amd/hoc/PRIVATE_withThemeIcon.js +1 -1
  408. package/amd/hoc/UNSAFE_withThemeProps.js +1 -1
  409. package/amd/hooks/PRIVATE_useChartContextMenu.js +1 -1
  410. package/amd/hooks/PRIVATE_useChartDatatip.js +1 -1
  411. package/amd/hooks/PRIVATE_useChartEvents.js +1 -1
  412. package/amd/hooks/PRIVATE_useChartMarquee.js +1 -1
  413. package/amd/hooks/PRIVATE_useCssVars.js +1 -1
  414. package/amd/hooks/PRIVATE_useCurrentKey.js +1 -1
  415. package/amd/hooks/PRIVATE_useDatatip.js +1 -1
  416. package/amd/hooks/PRIVATE_useFloating.js +1 -1
  417. package/amd/hooks/PRIVATE_useReorderable.js +1 -1
  418. package/amd/hooks/PRIVATE_useRovingTabIndexContainer.js +1 -1
  419. package/amd/hooks/PRIVATE_useSelection.js +1 -1
  420. package/amd/hooks/PRIVATE_useTabBar.js +1 -1
  421. package/amd/hooks/PRIVATE_useTooltipOnTruncation.js +1 -1
  422. package/amd/hooks/PRIVATE_useVisContextMenu.js +1 -1
  423. package/amd/hooks/PRIVATE_useVisDragModeControls.js +1 -1
  424. package/amd/hooks/PRIVATE_useVisEvents.js +1 -1
  425. package/amd/hooks/PRIVATE_useVisMeterEvents.js +1 -1
  426. package/amd/hooks/PRIVATE_useVisSelection.js +1 -1
  427. package/amd/hooks/UNSAFE_useColorScheme.js +1 -1
  428. package/amd/hooks/UNSAFE_useCurrentBgColor.js +1 -1
  429. package/amd/hooks/UNSAFE_useDensity.js +1 -1
  430. package/amd/hooks/UNSAFE_useOutsideClick.js +1 -1
  431. package/amd/hooks/UNSAFE_usePrefixSuffix.js +1 -1
  432. package/amd/hooks/UNSAFE_useScale.js +1 -1
  433. package/amd/hooks/UNSAFE_useTestId.js +1 -1
  434. package/amd/hooks/UNSAFE_useTheme.js +1 -1
  435. package/amd/hooks/UNSAFE_useThemeInterpolations.js +1 -1
  436. package/amd/hooks/UNSAFE_useTooltip.js +1 -1
  437. package/amd/hooks/UNSAFE_useTranslationBundle.js +1 -1
  438. package/amd/hooks/UNSAFE_useUser.js +1 -1
  439. package/amd/{index-91628308.js → index-9fe6dba4.js} +2 -2
  440. package/amd/index-9fe6dba4.js.map +1 -0
  441. package/amd/listViewSelectionTests-cda5abdf.js +1 -1
  442. package/amd/{popupUtils-97c14340.js → popupUtils-4c7037ca.js} +2 -2
  443. package/amd/{popupUtils-97c14340.js.map → popupUtils-4c7037ca.js.map} +1 -1
  444. package/amd/{render-26bfba97.js → render-60c60d58.js} +2 -2
  445. package/amd/{render-26bfba97.js.map → render-60c60d58.js.map} +1 -1
  446. package/amd/{tabbableUtils-e35b5cb9.js → tabbableUtils-91cb6674.js} +2 -2
  447. package/amd/{tabbableUtils-e35b5cb9.js.map → tabbableUtils-91cb6674.js.map} +1 -1
  448. package/amd/{testData-1796f319.js → testData-752ed27b.js} +2 -2
  449. package/amd/{testData-1796f319.js.map → testData-752ed27b.js.map} +1 -1
  450. package/amd/tooltipUtils-36ddb881.js +2 -0
  451. package/amd/{tooltipUtils-30886397.js.map → tooltipUtils-36ddb881.js.map} +1 -1
  452. package/amd/useCellNavigation-4138513e.js +1 -1
  453. package/amd/useChartContextMenu-59a5f8c0.js +1 -1
  454. package/amd/useChartDatatip-777fcfb2.js +2 -0
  455. package/amd/{useChartDatatip-b75883b6.js.map → useChartDatatip-777fcfb2.js.map} +1 -1
  456. package/amd/{useColorScheme-6b864d5c.js → useColorScheme-09a67d56.js} +2 -2
  457. package/amd/{useColorScheme-6b864d5c.js.map → useColorScheme-09a67d56.js.map} +1 -1
  458. package/amd/useContextMenu-dacffeb2.js +1 -1
  459. package/amd/useCssVars-311f2956.js +2 -0
  460. package/amd/{useCssVars-cc825c54.js.map → useCssVars-311f2956.js.map} +1 -1
  461. package/amd/{useCurrentBgColor-df47f8a8.js → useCurrentBgColor-dc922fe6.js} +2 -2
  462. package/amd/{useCurrentBgColor-df47f8a8.js.map → useCurrentBgColor-dc922fe6.js.map} +1 -1
  463. package/amd/useCurrentKey-e8791885.js +2 -0
  464. package/amd/{useCurrentKey-b0a79216.js.map → useCurrentKey-e8791885.js.map} +1 -1
  465. package/amd/{useDatatip-be9b251b.js → useDatatip-8a63fb35.js} +2 -2
  466. package/amd/{useDatatip-be9b251b.js.map → useDatatip-8a63fb35.js.map} +1 -1
  467. package/amd/{useDensity-27fffd88.js → useDensity-90a49922.js} +2 -2
  468. package/amd/{useDensity-27fffd88.js.map → useDensity-90a49922.js.map} +1 -1
  469. package/amd/{useFloating-f9bd3c51.js → useFloating-4b145893.js} +2 -2
  470. package/amd/{useFloating-f9bd3c51.js.map → useFloating-4b145893.js.map} +1 -1
  471. package/amd/useKeyboardEvents-f8b3ead1.js +2 -0
  472. package/amd/{useKeyboardEvents-ce9c81d0.js.map → useKeyboardEvents-f8b3ead1.js.map} +1 -1
  473. package/amd/useLegendContextMenu-c4a44c23.js +1 -1
  474. package/amd/useMeterDatatip-5d0b02c1.js +2 -0
  475. package/amd/{useMeterDatatip-f8bca628.js.map → useMeterDatatip-5d0b02c1.js.map} +1 -1
  476. package/amd/useNavigationListItem-d79484b7.js +2 -0
  477. package/{es/useNavigationListItem-a28f2c34.js.map → amd/useNavigationListItem-d79484b7.js.map} +1 -1
  478. package/amd/{useOutsideClick-43ce7043.js → useOutsideClick-8e7ab184.js} +2 -2
  479. package/amd/{useOutsideClick-43ce7043.js.map → useOutsideClick-8e7ab184.js.map} +1 -1
  480. package/amd/{usePopupAnimation-65dec4e2.js → usePopupAnimation-1be03bd7.js} +2 -2
  481. package/amd/{usePopupAnimation-65dec4e2.js.map → usePopupAnimation-1be03bd7.js.map} +1 -1
  482. package/amd/{usePrefixSuffix-5147bdc9.js → usePrefixSuffix-2612edcd.js} +2 -2
  483. package/amd/{usePrefixSuffix-5147bdc9.js.map → usePrefixSuffix-2612edcd.js.map} +1 -1
  484. package/amd/{useReorderableItem-9e759302.js → useReorderableItem-41e78941.js} +2 -2
  485. package/amd/{useReorderableItem-9e759302.js.map → useReorderableItem-41e78941.js.map} +1 -1
  486. package/amd/{useRovingTabIndexContainer-cfc9aacb.js → useRovingTabIndexContainer-6ff38598.js} +2 -2
  487. package/amd/{useRovingTabIndexContainer-cfc9aacb.js.map → useRovingTabIndexContainer-6ff38598.js.map} +1 -1
  488. package/amd/{useScale-716d3432.js → useScale-b77dadab.js} +2 -2
  489. package/amd/{useScale-716d3432.js.map → useScale-b77dadab.js.map} +1 -1
  490. package/amd/{useSelectCommon-380baecd.js → useSelectCommon-70527342.js} +2 -2
  491. package/amd/{useSelectCommon-380baecd.js.map → useSelectCommon-70527342.js.map} +1 -1
  492. package/amd/{useSelectDrill-113ae3ae.js → useSelectDrill-b64a92ea.js} +2 -2
  493. package/amd/{useSelectDrill-113ae3ae.js.map → useSelectDrill-b64a92ea.js.map} +1 -1
  494. package/amd/{useSelection-5f192f9f.js → useSelection-5ea9a696.js} +2 -2
  495. package/amd/{useSelection-5f192f9f.js.map → useSelection-5ea9a696.js.map} +1 -1
  496. package/amd/{useSelection-80e262f2.js → useSelection-6e62de17.js} +2 -2
  497. package/amd/{useSelection-80e262f2.js.map → useSelection-6e62de17.js.map} +1 -1
  498. package/amd/useTabBar-7a16a1af.js +1 -1
  499. package/amd/{useTestId-c286f212.js → useTestId-0140aa44.js} +2 -2
  500. package/amd/{useTestId-c286f212.js.map → useTestId-0140aa44.js.map} +1 -1
  501. package/amd/{useTheme-9c1f6f33.js → useTheme-4fb0ea9d.js} +2 -2
  502. package/amd/{useTheme-9c1f6f33.js.map → useTheme-4fb0ea9d.js.map} +1 -1
  503. package/amd/useThemeInterpolations-3ca974f9.js +2 -0
  504. package/amd/{useThemeInterpolations-f8cbec71.js.map → useThemeInterpolations-3ca974f9.js.map} +1 -1
  505. package/amd/{useTooltip-7b915f4c.js → useTooltip-682ae8ca.js} +2 -2
  506. package/amd/{useTooltip-7b915f4c.js.map → useTooltip-682ae8ca.js.map} +1 -1
  507. package/amd/useTooltipOnTruncation-7721f587.js +2 -0
  508. package/amd/{useTooltipOnTruncation-0310f431.js.map → useTooltipOnTruncation-7721f587.js.map} +1 -1
  509. package/amd/{useTranslationBundle-7c40cb58.js → useTranslationBundle-68275657.js} +2 -2
  510. package/amd/{useTranslationBundle-7c40cb58.js.map → useTranslationBundle-68275657.js.map} +1 -1
  511. package/amd/{useUser-797287de.js → useUser-e8dd7f7c.js} +2 -2
  512. package/amd/{useUser-797287de.js.map → useUser-e8dd7f7c.js.map} +1 -1
  513. package/amd/useVisDragModeControls-f187d8b2.js +1 -1
  514. package/amd/{useVisEvents-a8ea4ced.js → useVisEvents-1d3ca08e.js} +2 -2
  515. package/amd/{useVisEvents-a8ea4ced.js.map → useVisEvents-1d3ca08e.js.map} +1 -1
  516. package/amd/utils/PRIVATE_tooltipUtils.js +1 -1
  517. package/amd/utils/PRIVATE_visTestUtils.js +1 -1
  518. package/amd/utils/UNSAFE_popupUtils.js +1 -1
  519. package/amd/{withDirectionIcon-6df16f77.js → withDirectionIcon-754809be.js} +2 -2
  520. package/amd/{withDirectionIcon-6df16f77.js.map → withDirectionIcon-754809be.js.map} +1 -1
  521. package/amd/withThemeProps-cab1ae08.js +1 -1
  522. package/cjs/{BaseCardView-5c483f52.js → BaseCardView-0be36db0.js} +2 -2
  523. package/cjs/{BaseCardView-5c483f52.js.map → BaseCardView-0be36db0.js.map} +1 -1
  524. package/cjs/{CardFlexView-385f1b2d.js → CardFlexView-2547fc13.js} +2 -2
  525. package/cjs/{CardFlexView-385f1b2d.js.map → CardFlexView-2547fc13.js.map} +1 -1
  526. package/cjs/{CardGridView-d337b9f4.js → CardGridView-c355e9d4.js} +2 -2
  527. package/cjs/{CardGridView-d337b9f4.js.map → CardGridView-c355e9d4.js.map} +1 -1
  528. package/cjs/ExpandableList-0a0d75b3.js +1 -1
  529. package/cjs/GroupLoadingIndicator-824d658f.js +1 -1
  530. package/cjs/{Indexer-a4a2d6b8.js → Indexer-099ecbad.js} +2 -2
  531. package/cjs/{Indexer-a4a2d6b8.js.map → Indexer-099ecbad.js.map} +1 -1
  532. package/cjs/{List-bad74e43.js → List-24abb3df.js} +3 -4
  533. package/cjs/{List-bad74e43.js.map → List-24abb3df.js.map} +1 -1
  534. package/cjs/{ListView-80a9c725.js → ListView-7e894199.js} +2 -2
  535. package/cjs/{ListView-80a9c725.js.map → ListView-7e894199.js.map} +1 -1
  536. package/cjs/{LoadMoreCollection-73112ff0.js → LoadMoreCollection-69bc038c.js} +2 -2
  537. package/cjs/{LoadMoreCollection-73112ff0.js.map → LoadMoreCollection-69bc038c.js.map} +1 -1
  538. package/cjs/PRIVATE_BaseCardView.js +3 -3
  539. package/cjs/PRIVATE_List.js +4 -4
  540. package/cjs/PRIVATE_LoadMoreCollection.js +2 -2
  541. package/cjs/PRIVATE_SelectCommon.js +5 -5
  542. package/cjs/PRIVATE_Table.js +3 -3
  543. package/cjs/PRIVATE_VirtualizedCollection.js +2 -2
  544. package/cjs/{SelectMultiple-3569988d.js → SelectMultiple-3582b180.js} +2 -2
  545. package/cjs/{SelectMultiple-3569988d.js.map → SelectMultiple-3582b180.js.map} +1 -1
  546. package/cjs/{SelectSingle-43d6953e.js → SelectSingle-d4a4de82.js} +2 -2
  547. package/cjs/{SelectSingle-43d6953e.js.map → SelectSingle-d4a4de82.js.map} +1 -1
  548. package/cjs/{Table-6987731e.js → Table-f225ad02.js} +2 -2
  549. package/cjs/{Table-6987731e.js.map → Table-f225ad02.js.map} +1 -1
  550. package/cjs/{TableView-1bed3e0b.js → TableView-6dcc1bd7.js} +2 -2
  551. package/cjs/{TableView-1bed3e0b.js.map → TableView-6dcc1bd7.js.map} +1 -1
  552. package/cjs/Theme-redwood/theme.css +227 -227
  553. package/cjs/Theme-stable/theme.css +386 -386
  554. package/cjs/UNSAFE_CardFlexView.js +4 -4
  555. package/cjs/UNSAFE_CardGridView.js +4 -4
  556. package/cjs/UNSAFE_ExpandableList.js +3 -3
  557. package/cjs/UNSAFE_Indexer.js +2 -2
  558. package/cjs/UNSAFE_ListView.js +5 -5
  559. package/cjs/UNSAFE_SelectMultiple.js +6 -6
  560. package/cjs/UNSAFE_SelectSingle.js +6 -6
  561. package/cjs/UNSAFE_TableView.js +4 -4
  562. package/cjs/UNSAFE_VirtualizedListView.js +5 -5
  563. package/cjs/{VirtualizedCollection-00aedb8b.js → VirtualizedCollection-9e8c48b9.js} +2 -2
  564. package/cjs/{VirtualizedCollection-00aedb8b.js.map → VirtualizedCollection-9e8c48b9.js.map} +1 -1
  565. package/cjs/{VirtualizedListView-ad3219ba.js → VirtualizedListView-0a4f07ca.js} +2 -2
  566. package/cjs/{VirtualizedListView-ad3219ba.js.map → VirtualizedListView-0a4f07ca.js.map} +1 -1
  567. package/cjs/{useSelectCommon-38a38427.js → useSelectCommon-21c36506.js} +2 -2
  568. package/cjs/{useSelectCommon-38a38427.js.map → useSelectCommon-21c36506.js.map} +1 -1
  569. package/es/{useNavigationListItem-a28f2c34.js → BaseNavigationListItem-af84a9ee.js} +41 -3
  570. package/{amd/BaseNavigationListItem-84f4be5c.js.map → es/BaseNavigationListItem-af84a9ee.js.map} +1 -1
  571. package/es/CheckboxSet-140804f2.js +49 -0
  572. package/es/CheckboxSet-140804f2.js.map +1 -0
  573. package/es/{InputDatePicker-a659ed3a.js → InputDatePicker-163d1e3f.js} +2 -2
  574. package/es/{InputDatePicker-a659ed3a.js.map → InputDatePicker-163d1e3f.js.map} +1 -1
  575. package/es/{NavigationList-fb05e081.js → NavigationListItem-07f041e6.js} +7 -3
  576. package/{amd/NavigationListItem-32ded4a5.js.map → es/NavigationListItem-07f041e6.js.map} +1 -1
  577. package/es/{OverflowTabBar-894c7cd9.js → OverflowTabBar-f0b62902.js} +3 -3
  578. package/es/{OverflowTabBar-894c7cd9.js.map → OverflowTabBar-f0b62902.js.map} +1 -1
  579. package/es/{OverflowTabBarItem-a578401b.js → OverflowTabBarItem-7acbcb71.js} +3 -4
  580. package/es/{OverflowTabBarItem-a578401b.js.map → OverflowTabBarItem-7acbcb71.js.map} +1 -1
  581. package/es/{RemovableNavigationListItem-21cd36b7.js → RemovableNavigationListItem-9cb23511.js} +2 -3
  582. package/es/{RemovableNavigationListItem-21cd36b7.js.map → RemovableNavigationListItem-9cb23511.js.map} +1 -1
  583. package/es/{ReorderableTabBar-c280e7d4.js → ReorderableTabBar-fc76a33b.js} +2 -2
  584. package/es/{ReorderableTabBar-c280e7d4.js.map → ReorderableTabBar-fc76a33b.js.map} +1 -1
  585. package/es/SegmentStyles.styles.css +11 -8
  586. package/es/SegmentStyles.styles2.css +8 -11
  587. package/es/{TabBar-4d7054f7.js → TabBar-2858ff9c.js} +1 -6
  588. package/es/{TabBar-4d7054f7.js.map → TabBar-2858ff9c.js.map} +1 -1
  589. package/es/{TabBarMixed-b8e2427c.js → TabBarMixed-a4beabce.js} +1 -6
  590. package/es/{TabBarMixed-b8e2427c.js.map → TabBarMixed-a4beabce.js.map} +1 -1
  591. package/es/Theme-redwood/theme.css +453 -453
  592. package/es/Theme-stable/theme.css +507 -507
  593. package/es/UNSAFE_CheckboxItem.js +83 -31
  594. package/es/UNSAFE_CheckboxItem.js.map +1 -1
  595. package/es/UNSAFE_CheckboxSet.js +10 -44
  596. package/es/UNSAFE_CheckboxSet.js.map +1 -1
  597. package/es/UNSAFE_InputDateMask/themes/SegmentStyles.css.js +1 -1
  598. package/es/UNSAFE_InputDateMask.js +1 -1
  599. package/es/UNSAFE_InputDatePicker.js +92 -92
  600. package/es/UNSAFE_InputTimeMask/themes/SegmentStyles.css.js +1 -1
  601. package/es/UNSAFE_InputTimeMask.js +1 -1
  602. package/es/UNSAFE_NavigationList.js +26 -28
  603. package/es/UNSAFE_NavigationList.js.map +1 -1
  604. package/es/UNSAFE_NavigationListCommon.js +56 -57
  605. package/es/UNSAFE_NavigationListCommon.js.map +1 -1
  606. package/es/UNSAFE_OverflowTabBar.js +27 -29
  607. package/es/UNSAFE_OverflowTabBar.js.map +1 -1
  608. package/es/UNSAFE_ReorderableTabBar.js +14 -25
  609. package/es/UNSAFE_ReorderableTabBar.js.map +1 -1
  610. package/es/UNSAFE_RichCheckboxSet.js +28 -25
  611. package/es/UNSAFE_RichCheckboxSet.js.map +1 -1
  612. package/es/UNSAFE_RichSelectionItem.js +183 -44
  613. package/es/UNSAFE_RichSelectionItem.js.map +1 -1
  614. package/es/UNSAFE_TabBar.js +26 -28
  615. package/es/UNSAFE_TabBar.js.map +1 -1
  616. package/es/UNSAFE_TabBarCommon.js +18 -20
  617. package/es/UNSAFE_TabBarCommon.js.map +1 -1
  618. package/es/UNSAFE_TabBarMixed.js +37 -39
  619. package/es/UNSAFE_TabBarMixed.js.map +1 -1
  620. package/package.json +2 -2
  621. package/amd/BaseNavigationListItem-84f4be5c.js +0 -2
  622. package/amd/Card-70e5f9f2.js +0 -2
  623. package/amd/CardFlexView-f7fdfac8.js +0 -2
  624. package/amd/CardGridView-b8a60fae.js +0 -2
  625. package/amd/CompactLabelAssistance-9f9f658d.js +0 -2
  626. package/amd/Grid-a8a51c37.js +0 -2
  627. package/amd/HighlightText-ded0d51b.js +0 -2
  628. package/amd/InputDatePicker-03bdeb95.js +0 -2
  629. package/amd/List-0da6ee9c.js +0 -2
  630. package/amd/LiveRegion-1917f798.js +0 -2
  631. package/amd/LoadMoreCollection-a6adbc3f.js +0 -2
  632. package/amd/MaxLengthCounter-9a95922c.js +0 -2
  633. package/amd/MaxLengthCounter-9a95922c.js.map +0 -1
  634. package/amd/NavigationListItem-32ded4a5.js +0 -2
  635. package/amd/OverflowTabBarItem-f8128e3d.js +0 -2
  636. package/amd/RemovableNavigationListItem-1f69907c.js +0 -2
  637. package/amd/SectionedContent-ef1f844c.js +0 -2
  638. package/amd/SelectionCard-a8a3bb2d.js +0 -2
  639. package/amd/StyledCard-09c9f9c0.js +0 -2
  640. package/amd/TabBar-ca32462a.js +0 -2
  641. package/amd/TabBarMixed-dab4e4a2.js +0 -2
  642. package/amd/TextArea-0ec1a311.js +0 -2
  643. package/amd/TextArea-0ec1a311.js.map +0 -1
  644. package/amd/TextAreaAutosize-8cac0a54.js +0 -2
  645. package/amd/index-91628308.js.map +0 -1
  646. package/amd/tooltipUtils-30886397.js +0 -2
  647. package/amd/useChartDatatip-b75883b6.js +0 -2
  648. package/amd/useCssVars-cc825c54.js +0 -2
  649. package/amd/useCurrentKey-b0a79216.js +0 -2
  650. package/amd/useKeyboardEvents-ce9c81d0.js +0 -2
  651. package/amd/useMeterDatatip-f8bca628.js +0 -2
  652. package/amd/useThemeInterpolations-f8cbec71.js +0 -2
  653. package/amd/useTooltipOnTruncation-0310f431.js +0 -2
  654. package/es/BaseNavigationListItem-1c75c13f.js +0 -47
  655. package/es/CheckboxSetContext-1be56556.js +0 -9
  656. package/es/CheckboxSetContext-1be56556.js.map +0 -1
  657. package/es/NavigationListItem-193a315a.js +0 -10
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/jsx-runtime', './PRIVATE_Chart/themes/ChartStyles.css', './TrackResizeContainer-c6b5de04', './useTextDimensions-030c6dbd', './useCssVars-cc825c54', 'preact/hooks', './Gridlines-8894882d', './useId-c9578d26', './Axis-56371b34', './useChartViewport-b6aa68eb', './layoutUtils-4304ffe4', './useChartNav-a9d203a5', './mergeProps-bcfa6a92', './ScrollBar-4046f84f', './useSelectDrill-113ae3ae', './useUser-797287de', './useTestId-c286f212', './cssUtils-19c17965', './useChartContextMenu-59a5f8c0', './useChartDnd-44674b7d', './eventsUtils-edf8f4e5', './accUtils-93ee6f16', './layoutUtils-ba7693df', './useTooltip-7b915f4c', './logger-0f873e29', './LayerHost-733ade2f', 'preact/compat', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-30886397', './useChartMarquee-2f7d51c4', './useVisTouchResponse-88a7bb09', './stringUtils-0ae982c2', './useOverviewContext-dd00c487', './scale-3ae48ed5', './OverviewSlidingWindow-0029380e', './PRIVATE_VisOverview/themes/VisOverview.css'], (function(e,t,o,i,r,s,n,a,d,l,c,u,x,p,g,h,v,f,w,m,I,y,S,C,D,b,A,M,P,T,j,R,E,k,O,V,G,N,F){"use strict";function z(e,t,o){const i=e.groupIndex+1;if(!(i>=t))return o(i)?{groupIndex:i}:z({groupIndex:i},t,o)}function B(e,t){const o=e.groupIndex-1;if(!(o<0))return t(o)?{groupIndex:o}:B({groupIndex:o},t)}function L({x:e,width:o,height:i,y:r,windowX:s,windowHeight:n,windowWidth:a,windowY:d}){return t.jsxs(t.Fragment,{children:[t.jsx("rect",{x:e,y:r,width:Math.max(0,s-e),height:i,class:F.styles.overviewBackground}),t.jsx("rect",{x:s+a,width:Math.max(0,e+o-s-a),y:r,height:i,class:F.styles.overviewBackground}),t.jsx("rect",{x:s,y:r,height:Math.max(0,d-r),width:a,class:F.styles.overviewBackground}),t.jsx("rect",{x:s,y:d+n,width:a,class:F.styles.overviewBackground,height:Math.max(r+i-d-n,0)})]})}const U=10,W=w.getChartVars();function H({width:e,height:i,selectedIds:w,hiddenIds:S,hideAndShowBehavior:b="none",orientation:A="vertical",xAxis:M,yAxis:P,plotArea:T,dragMode:j="user",series:R,groups:F,isStacked:H=!1,getDataItem:X,selectionMode:q="none",drilling:Y="off",dataCursorPosition:$,onSelectionChange:_,isDataCursorEnabled:Z,dataCursorStyle:J,onViewportChange:K,onDataCursorPositionChange:Q,onItemDrill:ee,onGroupDrill:te,onItemHover:oe,onItemFocus:ie,datatip:re,zoomAndScroll:se="off",offset:ne,getNavUtil:ae,getDataItemPos:de,getGapRatio:le,valueFormats:ce,findNearest:ue,getMarkerInfo:xe,isRtl:pe,children:ge,testId:he,renderGridLinesInFront:ve,isDataXAxis:fe,contextMenuConfig:we,overview:me="off",defaultOverviewContentRenderer:Ie,isOverview:ye,yAxisSize:Se,overviewRenderer:Ce,...De}){const be=f.useTestId(he),Ae=n.useRef(null),Me=void 0!==be["data-testid"],Pe="horizontal"===A,{xAxisPosition:Te,yAxisPosition:je}=u.getAxesPosition(P,Pe,pe),{resolvedVars:Re,cssContent:Ee}=s.useCssVars(W),ke=Array.from(Array(12)).map(((e,t)=>Re[`color${t+1}`])),{textMeasureContent:Oe,getTextDimensions:Ve}=r.useTextDimensions();let Ge=u.getAvailSpace(e,i);if(ye&&Se){const e=Ge.width-Se,t=u.getOuterGaps(e,i);Ge.width-=Se-2*t.width,Ge.x+=Se-t.width}const Ne=null!=M?.timeAxisType,Fe=u.getScrollBarSpace(Ne,Ge,se,Te,me);let ze=Fe.scrollDims;Ge=Fe.availSpace;const{locale:Be}=v.useUser(),{x:Le,y:Ue,width:We,height:He}=Ge,Xe=Re.labelFontSize,qe=n.useMemo((()=>{const e=new Set(S);return u.getLayoutInfo(R,F,X,M,P,{x:Le,y:Ue,width:We,height:He},e,b,Pe,pe,H,Xe,ne,Be,Ve,Me,fe)}),[Le,Ue,We,He,X,Ve,F,S,b,fe,Pe,pe,H,Me,Be,ne,Xe,R,M,P]),{xProps:Ye,xScale:$e,xViewportExtent:_e,xAxisExtent:Ze,xIndexExtent:Je,xAxisMinExtent:Ke,yViewportExtent:Qe,yAxisExtent:et,groupWidth:tt,yProps:ot,yScale:it,yMaxDim:rt,yMajorTicks:st,xMajorTicks:nt,yMinorTicks:at,xMinorTicks:dt,plotAreaSpace:lt,xSpace:ct,ySpace:ut,idToDataMap:xt,formatAxisLabel:pt,formatYValue:gt}=qe;ze=u.updateScrollBarSpace(ze,"bottom"===Te,pe,rt);const ht=le(Je.startIndex,Je.endIndex),vt=ae(Je.startIndex,Je.endIndex),ft=Ye.tickLabels.map((({index:e})=>e+Je.startIndex)),{getNextNavGroup:wt,getDefaultNavGroup:mt}=function(e,t,o,i,r){const s=o=>{const r=e[t[o]].drilling;return("on"===i||"groupsOnly"===i)&&"off"!=r},n=e=>o.startIndex>t[e.groupIndex]?(e.groupIndex=0,e):o.endIndex<t[e.groupIndex]?(e.groupIndex=t.length-1,e):void 0;return{getDefaultNavGroup:n,getNextNavGroup:(e,o)=>{let i=n(e);return i||(i="ArrowRight"===o?r?B(e,s):z(e,t.length,s):r?z(e,t.length,s):B(e,s),i||e)}}}(F,ft,Je,Y,pe),{ignoreSelectPointerUp:It,cursor:yt,yAxisCursor:St,marqueeProps:Ct,marqueeContent:Dt,toggleButtonContent:bt,isPointInsideMarquee:At,dragMode:Mt}=E.useChartMarquee({plotAreaSpace:lt,xSpace:ct,ySpace:ut,dragMode:j,chartWidth:e,isMultiSelection:"multiple"===q,onViewportChange:K,isZoomScroll:"live"===se,xAxisExtent:Ze,xScale:$e,selectedIds:w,getDataById:e=>xt.get(e),onSelectionChange:_,viewportMax:_e.viewportMax,viewportMin:_e.viewportMin,isRtl:pe,xAxisMinExtent:Ke}),{touchResponse:Pt,touchResponseStyle:Tt}=k.useVisTouchResponse({type:"auto",supportsTouchDragGestures:"off"!==Mt,rootRef:Ae}),{activeId:jt,focusedItemInfo:Rt,hoveredItemInfo:Et,focusedGroupInfo:kt,navProps:Ot,onFocusUpdate:Vt}=x.useChartNav({rootRef:Ae,getNextChartItem:vt,getNextNavGroup:wt,getDefaultNavGroup:mt,touchResponse:Pt,onItemHover:oe,onItemFocus:ie,drilling:Y,xIndexExtent:Je}),{tooltipContent:Gt,tooltipProps:Nt}=function({getTextAndBounds:e,width:t,isRtl:o}){const[i,r]=n.useState(),s=n.useRef(),{tooltipContent:a,tooltipProps:d}=D.useTooltip({text:i,position:"top-start",offset:C.calculateOffset(o,t,s.current)});return{tooltipContent:a,tooltipProps:p.mergeProps({onPointerMove:t=>{const o=e(t.target);o?(s.current=o.bounds,r(o.text)):r(void 0)}},d)}}({getTextAndBounds:e=>{if(e!=Ae.current){const t=y.getElementData(Ae,e),o=t?.ojText;if(!o)return;if(o===M?.title)return{text:o,bounds:Ye.titleProps?.dims};if(o===P?.title)return{text:o,bounds:ot.titleProps?.dims};if(t?.ojGroupIndex){const e=parseInt(t.ojGroupIndex);return{bounds:Ye.tickLabels[e].dims,text:o}}}if(e===Ae.current&&kt.isFocusVisible){const e=F[kt.groupIndex];return{bounds:Ye.tickLabels[kt.groupIndex].dims,text:e.name||e.id}}},width:e,isRtl:pe}),Ft=c.useChartViewport({rootRef:Ae,width:e,height:i,xViewportExtent:_e,yViewportExtent:Qe,xAxisExtent:Ze,yAxisExtent:et,xScale:$e,yScale:it,plotAreaSpace:lt,isRtl:pe,isHoriz:Pe,zoomAndScroll:se,onViewportChange:K}),{selectDrillProps:zt,selectionContent:Bt}=h.useSelectDrill({selectionMode:q,selection:[...w],onChange:_,rootRef:Ae,drilling:Y,onItemDrill:ee,onGroupDrill:te,focusedGroupInfo:kt,focusedItemInfo:Rt,groups:F,getDataItem:X,getDataById:e=>xt.get(e),ignoreAsTrigger:e=>{if(!e)return!1;const t=y.getElementData(Ae,e);return!((!t||"marquee"!==t.ojPrivateObject&&"dragModeControls"!==t.ojPrivateObject&&"scrollBar"!==t.ojPrivateObject)&&!It)}}),Lt=ue($e,it,tt,ht),Ut=de($e,it,tt,ht),[Wt,Ht]=n.useState(!1),{datatipContent:Xt,dataCursorContent:qt,datatipProps:{"aria-describedby":Yt,...$t}}=h.useChartDatatipAndCursor({series:R,groups:F,width:e,height:i,findNearest:Lt,plotAreaSpace:lt,onDataCursorPositionChange:Q,isDataCursorEnabled:Z,dataCursorPosition:$,dataCursorStyle:J,hoveredItemInfo:Et,focusedItemInfo:Rt,getDataItem:X,getMarkerInfo:xe,getDataItemPos:Ut,datatip:re,valueFormats:ce,isHoriz:Pe,touchResponse:Pt,isDisabled:Wt,xScale:$e,yScale:it,timeAxisType:M?.timeAxisType,formatAxisLabel:pt,formatYValue:gt,hasXYValues:fe}),_t=d.useId(),{startIndex:Zt,endIndex:Jt}=Je,Kt=t.jsx(a.Gridlines,{plotArea:T,yMinorTicks:at,xMinorTicks:dt,xScale:$e,yScale:it,isLog:"log"===P?.scale,yTicks:st,xTicks:nt,yAxisPosition:je,isDataXAxis:fe}),Qt=R.length>0&&F.length>0,{contextMenuContent:eo,contextMenuProps:to}=m.useChartContextMenu({isRtl:pe,width:e,height:i,getDataItemPosition:Ut,series:R,groups:F,getDataItem:X,focusedItemInfo:Rt,rootRef:Ae,xAxisTitle:M?.title,yAxisTitle:P?.title,contextMenuConfig:Qt?we:void 0,onContextMenuDismissed:e=>{"keyboard"===e&&Vt()}}),[oo,io]=n.useState({accepted:void 0,type:""}),{draggable:ro,dndProps:so,dndContent:no}=I.useChartDnd({onDrag:De.onDrag,onDragStart:De.onDragStart,onDragEnd:De.onDragEnd,onDragEnter:De.onDragEnter,onDragLeave:De.onDragLeave,onDragOver:De.onDragOver,onDrop:De.onDrop,itemsDraggable:De.itemsDraggable,groupDraggable:De.groupDraggable,rootRef:Ae,groups:F,series:R,selectedIds:w,getDataItem:X,xSpace:ct,ySpace:ut,plotAreaSpace:lt,setDragOver:io,setDatatipDisabled:Ht,onSelectionChange:_}),ao=p.mergeProps(Ot,zt,Ft,$t,Ct,Nt,to,so),lo="off"==me||"on"!==me&&me.renderer?void 0:Ie,{background:co,slidingWindow:uo}=Ce(lt);return t.jsxs(t.Fragment,{children:[Ve&&null!=Re.labelFontSize&&t.jsxs("div",{tabIndex:ye?void 0:0,draggable:ro,ref:Ae,"aria-activedescendant":jt,"aria-label":De["aria-label"],"aria-labelledby":De["aria-labelledby"],"aria-describedby":O.merge([De["aria-describedby"],Yt]),style:{...Tt},role:ye?void 0:"application",className:o.styles.baseChartStyle,"data-oj-private-selection-mode":Me?q:void 0,...be,...ye?{}:ao,children:[t.jsxs("svg",{width:"100%",height:0!=ze.height&&"off"!=me?Math.ceil(100*(Fe.availSpace.height+U))/i+"%":"100%",children:[t.jsx("clipPath",{id:`${_t}`,children:t.jsx("rect",{...lt})}),co,t.jsx(a.PlotArea,{color:T?.color,dragOverStyle:"plotArea"!==oo.type?"none":oo.accepted?"accept":"reject",yScale:it,hasAxisLine:!ye,cursor:yt,isLog:"log"===P?.scale,availSpace:lt,xAxisPosition:Te,isDataXAxis:fe,isRtl:pe}),!ve&&Kt,t.jsx(l.Axis,{...ot,axisPosition:je,isRtl:pe,cursor:St,availSpace:ut,dragOverStyle:"yAxis"!==oo.type?"none":oo.accepted?"accept":"reject"}),t.jsx(l.Axis,{...Ye,isRtl:pe,axisPosition:Te,isTextInteractive:e=>{if(null!=M?.timeAxisType)return!1;const t=F[e]?.drilling;return"on"===t||"off"!=t&&("on"===Y||"groupsOnly"===Y)},activeId:jt,cursor:yt,focusedGroupIndex:kt.isFocusVisible?kt.groupIndex:void 0,availSpace:ct,dragOverStyle:"xAxis"!==oo.type?"none":oo.accepted?"accept":"reject"}),t.jsxs("g",{"clip-path":`url(#${_t})`,children:[ge({xStartIndex:Zt,xEndIndex:Jt,colors:ke,xScale:$e,yScale:it,isPointInsideMarquee:At,defaultFontSize:Re.labelFontSize,gapRatio:ht,activeId:jt,focusedItemInfo:Rt,hoveredItemInfo:Et,getTextDimensions:Ve,groupWidth:tt}),ve&&Kt,qt]}),uo,"live"===se&&!ye&&t.jsx(g.ScrollBar,{availSpace:ze,isRtl:pe,viewport:_e,axisExtent:Ze,isHoriz:"bottom"===Te}),Dt]}),t.jsx(V.OverviewContext.Provider,{value:{yAxisSize:ut.width,isOverview:!0,width:e,height:ze.height,overviewRenderer:e=>{const{xScale:o,...i}=function(e,t,o,i,r,s){const n=[o.min,o.max],a=e?[s.x+s.width,s.x]:[s.x,s.x+s.width],d=new G.ScaleLinear(n,a),l=[r.min,r.max],c=[s.y+s.height,s.y],u=new G.ScaleLinear(l,c),x=d.transform(t.viewportMin),p=Math.abs(d.transform(t.viewportMax)-d.transform(t.viewportMin));return{windowX:e?x-p:x+.5,windowWidth:p-.5,windowY:u.transform(i.viewportMax),windowHeight:Math.abs(u.transform(i.viewportMax)-u.transform(i.viewportMin)),xScale:d,yScale:u}}(pe,_e,Ze,Qe,et,e);return function(e,o,i,r,s,n,a){return{slidingWindow:t.jsx(N.OverviewSlidingWindow,{...r,...s,hasHandles:n,onWindowDimsChange:t=>{u.updateViewportFromOverview(e,o,s.windowX,s.windowWidth,t.deltaX,t.deltaWidth,i,a)}}),background:t.jsx(L,{...r,...s})}}(Ze,pe,o,e,i,!0,K)}},children:!ye&&"off"!==me&&lo&&t.jsx("div",{style:{width:e,height:ze.height},children:lo()})}),bt,Xt,Gt,eo,Bt,no]}),Oe,Ee]})}e.Chart=function({width:e,height:r,...s}){const{isOverview:n,overviewRenderer:a,yAxisSize:d,width:l,height:c}=V.useOverviewContext();let u=e,x=r;return void 0===u&&n&&void 0!==l&&(u=`${l}px`),void 0===x&&n&&void 0!==c&&(x=`${c}px`),t.jsx(i.TrackResizeContainer,{width:u,height:x,class:o.dimensionStyle,children:(e,o)=>e||o?t.jsx(H,{width:e,height:o,...s,yAxisSize:d,isOverview:n,overviewRenderer:a}):void 0})}}));
2
- //# sourceMappingURL=Chart-79cfc878.js.map
1
+ define(['exports', 'preact/jsx-runtime', './PRIVATE_Chart/themes/ChartStyles.css', './TrackResizeContainer-c6b5de04', './useTextDimensions-030c6dbd', './useCssVars-311f2956', 'preact/hooks', './Gridlines-efa5606a', './useId-c9578d26', './Axis-56371b34', './useChartViewport-b6aa68eb', './layoutUtils-4304ffe4', './useChartNav-a9d203a5', './mergeProps-bcfa6a92', './useSelectDrill-b64a92ea', './useUser-e8dd7f7c', './useTestId-0140aa44', './cssUtils-19c17965', './useChartContextMenu-59a5f8c0', './useChartDnd-44674b7d', './eventsUtils-edf8f4e5', './accUtils-93ee6f16', './layoutUtils-ba7693df', './useTooltip-682ae8ca', './logger-0f873e29', './LayerHost-27dfba9e', 'preact/compat', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-36ddb881', './useChartMarquee-2f7d51c4', './useVisTouchResponse-88a7bb09', './stringUtils-0ae982c2', './useOverviewContext-dd00c487', './scale-3ae48ed5', './OverviewSlidingWindow-0029380e', './PRIVATE_VisOverview/themes/VisOverview.css', './ScrollBar-4046f84f'], (function(e,t,o,i,r,s,n,a,d,l,c,u,x,p,g,h,v,f,w,m,I,y,S,C,D,b,A,M,P,T,j,R,E,k,O,V,G,N,F){"use strict";function z(e,t,o){const i=e.groupIndex+1;if(!(i>=t))return o(i)?{groupIndex:i}:z({groupIndex:i},t,o)}function B(e,t){const o=e.groupIndex-1;if(!(o<0))return t(o)?{groupIndex:o}:B({groupIndex:o},t)}function L({x:e,width:o,height:i,y:r,windowX:s,windowHeight:n,windowWidth:a,windowY:d}){return t.jsxs(t.Fragment,{children:[t.jsx("rect",{x:e,y:r,width:Math.max(0,s-e),height:i,class:N.styles.overviewBackground}),t.jsx("rect",{x:s+a,width:Math.max(0,e+o-s-a),y:r,height:i,class:N.styles.overviewBackground}),t.jsx("rect",{x:s,y:r,height:Math.max(0,d-r),width:a,class:N.styles.overviewBackground}),t.jsx("rect",{x:s,y:d+n,width:a,class:N.styles.overviewBackground,height:Math.max(r+i-d-n,0)})]})}const U=10,W=f.getChartVars();function H({width:e,height:i,selectedIds:f,hiddenIds:y,hideAndShowBehavior:D="none",orientation:b="vertical",xAxis:A,yAxis:M,plotArea:P,dragMode:T="user",series:j,groups:N,isStacked:H=!1,getDataItem:X,selectionMode:q="none",drilling:Y="off",dataCursorPosition:$,onSelectionChange:_,isDataCursorEnabled:Z,dataCursorStyle:J,onViewportChange:K,onDataCursorPositionChange:Q,onItemDrill:ee,onGroupDrill:te,onItemHover:oe,onItemFocus:ie,datatip:re,zoomAndScroll:se="off",offset:ne,getNavUtil:ae,getDataItemPos:de,getGapRatio:le,valueFormats:ce,findNearest:ue,getMarkerInfo:xe,isRtl:pe,children:ge,testId:he,renderGridLinesInFront:ve,isDataXAxis:fe,contextMenuConfig:we,overview:me="off",defaultOverviewContentRenderer:Ie,isOverview:ye,yAxisSize:Se,overviewRenderer:Ce,...De}){const be=v.useTestId(he),Ae=n.useRef(null),Me=void 0!==be["data-testid"],Pe="horizontal"===b,{xAxisPosition:Te,yAxisPosition:je}=u.getAxesPosition(M,Pe,pe),{resolvedVars:Re,cssContent:Ee}=s.useCssVars(W),ke=Array.from(Array(12)).map(((e,t)=>Re[`color${t+1}`])),{textMeasureContent:Oe,getTextDimensions:Ve}=r.useTextDimensions();let Ge=u.getAvailSpace(e,i);if(ye&&Se){const e=Ge.width-Se,t=u.getOuterGaps(e,i);Ge.width-=Se-2*t.width,Ge.x+=Se-t.width}const Ne=null!=A?.timeAxisType,Fe=u.getScrollBarSpace(Ne,Ge,se,Te,me);let ze=Fe.scrollDims;Ge=Fe.availSpace;const{locale:Be}=h.useUser(),{x:Le,y:Ue,width:We,height:He}=Ge,Xe=Re.labelFontSize,qe=n.useMemo((()=>{const e=new Set(y);return u.getLayoutInfo(j,N,X,A,M,{x:Le,y:Ue,width:We,height:He},e,D,Pe,pe,H,Xe,ne,Be,Ve,Me,fe)}),[Le,Ue,We,He,X,Ve,N,y,D,fe,Pe,pe,H,Me,Be,ne,Xe,j,A,M]),{xProps:Ye,xScale:$e,xViewportExtent:_e,xAxisExtent:Ze,xIndexExtent:Je,xAxisMinExtent:Ke,yViewportExtent:Qe,yAxisExtent:et,groupWidth:tt,yProps:ot,yScale:it,yMaxDim:rt,yMajorTicks:st,xMajorTicks:nt,yMinorTicks:at,xMinorTicks:dt,plotAreaSpace:lt,xSpace:ct,ySpace:ut,idToDataMap:xt,formatAxisLabel:pt,formatYValue:gt}=qe;ze=u.updateScrollBarSpace(ze,"bottom"===Te,pe,rt);const ht=le(Je.startIndex,Je.endIndex),vt=ae(Je.startIndex,Je.endIndex),ft=Ye.tickLabels.map((({index:e})=>e+Je.startIndex)),{getNextNavGroup:wt,getDefaultNavGroup:mt}=function(e,t,o,i,r){const s=o=>{const r=e[t[o]].drilling;return("on"===i||"groupsOnly"===i)&&"off"!=r},n=e=>o.startIndex>t[e.groupIndex]?(e.groupIndex=0,e):o.endIndex<t[e.groupIndex]?(e.groupIndex=t.length-1,e):void 0;return{getDefaultNavGroup:n,getNextNavGroup:(e,o)=>{let i=n(e);return i||(i="ArrowRight"===o?r?B(e,s):z(e,t.length,s):r?z(e,t.length,s):B(e,s),i||e)}}}(N,ft,Je,Y,pe),{ignoreSelectPointerUp:It,cursor:yt,yAxisCursor:St,marqueeProps:Ct,marqueeContent:Dt,toggleButtonContent:bt,isPointInsideMarquee:At,dragMode:Mt}=R.useChartMarquee({plotAreaSpace:lt,xSpace:ct,ySpace:ut,dragMode:T,chartWidth:e,isMultiSelection:"multiple"===q,onViewportChange:K,isZoomScroll:"live"===se,xAxisExtent:Ze,xScale:$e,selectedIds:f,getDataById:e=>xt.get(e),onSelectionChange:_,viewportMax:_e.viewportMax,viewportMin:_e.viewportMin,isRtl:pe,xAxisMinExtent:Ke}),{touchResponse:Pt,touchResponseStyle:Tt}=E.useVisTouchResponse({type:"auto",supportsTouchDragGestures:"off"!==Mt,rootRef:Ae}),{activeId:jt,focusedItemInfo:Rt,hoveredItemInfo:Et,focusedGroupInfo:kt,navProps:Ot,onFocusUpdate:Vt}=x.useChartNav({rootRef:Ae,getNextChartItem:vt,getNextNavGroup:wt,getDefaultNavGroup:mt,touchResponse:Pt,onItemHover:oe,onItemFocus:ie,drilling:Y,xIndexExtent:Je}),{tooltipContent:Gt,tooltipProps:Nt}=function({getTextAndBounds:e,width:t,isRtl:o}){const[i,r]=n.useState(),s=n.useRef(),{tooltipContent:a,tooltipProps:d}=C.useTooltip({text:i,position:"top-start",offset:S.calculateOffset(o,t,s.current)});return{tooltipContent:a,tooltipProps:p.mergeProps({onPointerMove:t=>{const o=e(t.target);o?(s.current=o.bounds,r(o.text)):r(void 0)}},d)}}({getTextAndBounds:e=>{if(e!=Ae.current){const t=I.getElementData(Ae,e),o=t?.ojText;if(!o)return;if(o===A?.title)return{text:o,bounds:Ye.titleProps?.dims};if(o===M?.title)return{text:o,bounds:ot.titleProps?.dims};if(t?.ojGroupIndex){const e=parseInt(t.ojGroupIndex);return{bounds:Ye.tickLabels[e].dims,text:o}}}if(e===Ae.current&&kt.isFocusVisible){const e=N[kt.groupIndex];return{bounds:Ye.tickLabels[kt.groupIndex].dims,text:e.name||e.id}}},width:e,isRtl:pe}),Ft=c.useChartViewport({rootRef:Ae,width:e,height:i,xViewportExtent:_e,yViewportExtent:Qe,xAxisExtent:Ze,yAxisExtent:et,xScale:$e,yScale:it,plotAreaSpace:lt,isRtl:pe,isHoriz:Pe,zoomAndScroll:se,onViewportChange:K}),{selectDrillProps:zt,selectionContent:Bt}=g.useSelectDrill({selectionMode:q,selection:[...f],onChange:_,rootRef:Ae,drilling:Y,onItemDrill:ee,onGroupDrill:te,focusedGroupInfo:kt,focusedItemInfo:Rt,groups:N,getDataItem:X,getDataById:e=>xt.get(e),ignoreAsTrigger:e=>{if(!e)return!1;const t=I.getElementData(Ae,e);return!((!t||"marquee"!==t.ojPrivateObject&&"dragModeControls"!==t.ojPrivateObject&&"scrollBar"!==t.ojPrivateObject)&&!It)}}),Lt=ue($e,it,tt,ht),Ut=de($e,it,tt,ht),[Wt,Ht]=n.useState(!1),{datatipContent:Xt,dataCursorContent:qt,datatipProps:{"aria-describedby":Yt,...$t}}=g.useChartDatatipAndCursor({series:j,groups:N,width:e,height:i,findNearest:Lt,plotAreaSpace:lt,onDataCursorPositionChange:Q,isDataCursorEnabled:Z,dataCursorPosition:$,dataCursorStyle:J,hoveredItemInfo:Et,focusedItemInfo:Rt,getDataItem:X,getMarkerInfo:xe,getDataItemPos:Ut,datatip:re,valueFormats:ce,isHoriz:Pe,touchResponse:Pt,isDisabled:Wt,xScale:$e,yScale:it,timeAxisType:A?.timeAxisType,formatAxisLabel:pt,formatYValue:gt,hasXYValues:fe}),_t=d.useId(),{startIndex:Zt,endIndex:Jt}=Je,Kt=t.jsx(a.Gridlines,{plotArea:P,yMinorTicks:at,xMinorTicks:dt,xScale:$e,yScale:it,isLog:"log"===M?.scale,yTicks:st,xTicks:nt,yAxisPosition:je,isDataXAxis:fe}),Qt=j.length>0&&N.length>0,{contextMenuContent:eo,contextMenuProps:to}=w.useChartContextMenu({isRtl:pe,width:e,height:i,getDataItemPosition:Ut,series:j,groups:N,getDataItem:X,focusedItemInfo:Rt,rootRef:Ae,xAxisTitle:A?.title,yAxisTitle:M?.title,contextMenuConfig:Qt?we:void 0,onContextMenuDismissed:e=>{"keyboard"===e&&Vt()}}),[oo,io]=n.useState({accepted:void 0,type:""}),{draggable:ro,dndProps:so,dndContent:no}=m.useChartDnd({onDrag:De.onDrag,onDragStart:De.onDragStart,onDragEnd:De.onDragEnd,onDragEnter:De.onDragEnter,onDragLeave:De.onDragLeave,onDragOver:De.onDragOver,onDrop:De.onDrop,itemsDraggable:De.itemsDraggable,groupDraggable:De.groupDraggable,rootRef:Ae,groups:N,series:j,selectedIds:f,getDataItem:X,xSpace:ct,ySpace:ut,plotAreaSpace:lt,setDragOver:io,setDatatipDisabled:Ht,onSelectionChange:_}),ao=p.mergeProps(Ot,zt,Ft,$t,Ct,Nt,to,so),lo="off"==me||"on"!==me&&me.renderer?void 0:Ie,{background:co,slidingWindow:uo}=Ce(lt);return t.jsxs(t.Fragment,{children:[Ve&&null!=Re.labelFontSize&&t.jsxs("div",{tabIndex:ye?void 0:0,draggable:ro,ref:Ae,"aria-activedescendant":jt,"aria-label":De["aria-label"],"aria-labelledby":De["aria-labelledby"],"aria-describedby":k.merge([De["aria-describedby"],Yt]),style:{...Tt},role:ye?void 0:"application",className:o.styles.baseChartStyle,"data-oj-private-selection-mode":Me?q:void 0,...be,...ye?{}:ao,children:[t.jsxs("svg",{width:"100%",height:0!=ze.height&&"off"!=me?Math.ceil(100*(Fe.availSpace.height+U))/i+"%":"100%",children:[t.jsx("clipPath",{id:`${_t}`,children:t.jsx("rect",{...lt})}),co,t.jsx(a.PlotArea,{color:P?.color,dragOverStyle:"plotArea"!==oo.type?"none":oo.accepted?"accept":"reject",yScale:it,hasAxisLine:!ye,cursor:yt,isLog:"log"===M?.scale,availSpace:lt,xAxisPosition:Te,isDataXAxis:fe,isRtl:pe}),!ve&&Kt,t.jsx(l.Axis,{...ot,axisPosition:je,isRtl:pe,cursor:St,availSpace:ut,dragOverStyle:"yAxis"!==oo.type?"none":oo.accepted?"accept":"reject"}),t.jsx(l.Axis,{...Ye,isRtl:pe,axisPosition:Te,isTextInteractive:e=>{if(null!=A?.timeAxisType)return!1;const t=N[e]?.drilling;return"on"===t||"off"!=t&&("on"===Y||"groupsOnly"===Y)},activeId:jt,cursor:yt,focusedGroupIndex:kt.isFocusVisible?kt.groupIndex:void 0,availSpace:ct,dragOverStyle:"xAxis"!==oo.type?"none":oo.accepted?"accept":"reject"}),t.jsxs("g",{"clip-path":`url(#${_t})`,children:[ge({xStartIndex:Zt,xEndIndex:Jt,colors:ke,xScale:$e,yScale:it,isPointInsideMarquee:At,defaultFontSize:Re.labelFontSize,gapRatio:ht,activeId:jt,focusedItemInfo:Rt,hoveredItemInfo:Et,getTextDimensions:Ve,groupWidth:tt}),ve&&Kt,qt]}),uo,"live"===se&&!ye&&t.jsx(F.ScrollBar,{availSpace:ze,isRtl:pe,viewport:_e,axisExtent:Ze,isHoriz:"bottom"===Te}),Dt]}),t.jsx(O.OverviewContext.Provider,{value:{yAxisSize:ut.width,isOverview:!0,width:e,height:ze.height,overviewRenderer:e=>{const{xScale:o,...i}=function(e,t,o,i,r,s){const n=[o.min,o.max],a=e?[s.x+s.width,s.x]:[s.x,s.x+s.width],d=new V.ScaleLinear(n,a),l=[r.min,r.max],c=[s.y+s.height,s.y],u=new V.ScaleLinear(l,c),x=d.transform(t.viewportMin),p=Math.abs(d.transform(t.viewportMax)-d.transform(t.viewportMin));return{windowX:e?x-p:x+.5,windowWidth:p-.5,windowY:u.transform(i.viewportMax),windowHeight:Math.abs(u.transform(i.viewportMax)-u.transform(i.viewportMin)),xScale:d,yScale:u}}(pe,_e,Ze,Qe,et,e);return function(e,o,i,r,s,n,a){return{slidingWindow:t.jsx(G.OverviewSlidingWindow,{...r,...s,hasHandles:n,onWindowDimsChange:t=>{u.updateViewportFromOverview(e,o,s.windowX,s.windowWidth,t.deltaX,t.deltaWidth,i,a)}}),background:t.jsx(L,{...r,...s})}}(Ze,pe,o,e,i,!0,K)}},children:!ye&&"off"!==me&&lo&&t.jsx("div",{style:{width:e,height:ze.height},children:lo()})}),bt,Xt,Gt,eo,Bt,no]}),Oe,Ee]})}e.Chart=function({width:e,height:r,...s}){const{isOverview:n,overviewRenderer:a,yAxisSize:d,width:l,height:c}=O.useOverviewContext();let u=e,x=r;return void 0===u&&n&&void 0!==l&&(u=`${l}px`),void 0===x&&n&&void 0!==c&&(x=`${c}px`),t.jsx(i.TrackResizeContainer,{width:u,height:x,class:o.dimensionStyle,children:(e,o)=>e||o?t.jsx(H,{width:e,height:o,...s,yAxisSize:d,isOverview:n,overviewRenderer:a}):void 0})}}));
2
+ //# sourceMappingURL=Chart-87ae799b.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Chart-79cfc878.js","sources":["../../src/PRIVATE_Axis/utils/axisNavUtils.ts","../../src/PRIVATE_VisOverview/OverviewBackground.tsx","../../src/PRIVATE_Chart/ChartWithDimensions.tsx","../../src/PRIVATE_VisSVGText/useTextTruncation.ts","../../src/PRIVATE_VisOverview/utils.ts","../../src/PRIVATE_Chart/overviewUtils.tsx","../../src/PRIVATE_Chart/Chart.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { Group, ChartGroupInfo } from '#utils/UNSAFE_visTypes/chart';\ntype isGroupNavigableType = (groupIndex: number) => boolean;\n\nexport function getNextGroup(\n info: ChartGroupInfo,\n viewportEndIndex: number,\n isGroupNavigable: isGroupNavigableType\n): ChartGroupInfo | undefined {\n const groupIndex = info.groupIndex + 1;\n if (groupIndex >= viewportEndIndex) {\n return;\n }\n\n if (isGroupNavigable(groupIndex)) {\n return { groupIndex };\n }\n return getNextGroup({ groupIndex }, viewportEndIndex, isGroupNavigable);\n}\n\nexport function getPreviousGroup(\n info: ChartGroupInfo,\n isGroupNavigable: isGroupNavigableType\n): ChartGroupInfo | undefined {\n const groupIndex = info.groupIndex - 1;\n if (groupIndex < 0) {\n return;\n }\n if (isGroupNavigable(groupIndex)) {\n return { groupIndex };\n }\n return getPreviousGroup({ groupIndex }, isGroupNavigable);\n}\n\nexport function getGroupNavUtil(\n groups: Group[],\n renderedGroups: number[],\n xIndexExtent: { startIndex: number; endIndex: number },\n drilling: 'on' | 'off' | 'groupsOnly',\n isRtl: boolean\n) {\n const isGroupNavigable = (groupIndex: number) => {\n const groupsDrilling = groups[renderedGroups[groupIndex]].drilling;\n return (drilling === 'on' || drilling === 'groupsOnly') && groupsDrilling != 'off';\n };\n\n const getDefaultNavGroup = (info: ChartGroupInfo) => {\n if (xIndexExtent.startIndex > renderedGroups[info.groupIndex]) {\n info.groupIndex = 0;\n return info;\n } else if (xIndexExtent.endIndex < renderedGroups[info.groupIndex]) {\n info.groupIndex = renderedGroups.length - 1;\n return info;\n }\n return;\n };\n\n const getNextNavGroup = (info: ChartGroupInfo, arrow: 'ArrowRight' | 'ArrowLeft') => {\n let nextGroup = getDefaultNavGroup(info);\n\n if (nextGroup) return nextGroup;\n\n if (arrow === 'ArrowRight') {\n nextGroup = isRtl\n ? getPreviousGroup(info, isGroupNavigable)\n : getNextGroup(info, renderedGroups.length, isGroupNavigable);\n } else {\n nextGroup = isRtl\n ? getNextGroup(info, renderedGroups.length, isGroupNavigable)\n : getPreviousGroup(info, isGroupNavigable);\n }\n return nextGroup || info;\n };\n\n return { getDefaultNavGroup, getNextNavGroup };\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { OverviewProps } from './overview.types';\nimport { styles } from './themes/VisOverview.css';\n\nexport function OverviewBackground({\n x,\n width,\n height,\n y,\n windowX,\n windowHeight,\n windowWidth,\n windowY\n}: OverviewProps) {\n return (\n <>\n <rect\n x={x}\n y={y}\n width={Math.max(0, windowX - x)}\n height={height}\n class={styles.overviewBackground}></rect>\n\n <rect\n x={windowX + windowWidth}\n width={Math.max(0, x + width - windowX - windowWidth)}\n y={y}\n height={height}\n class={styles.overviewBackground}></rect>\n\n <rect\n x={windowX}\n y={y}\n height={Math.max(0, windowY - y)}\n width={windowWidth}\n class={styles.overviewBackground}></rect>\n\n <rect\n x={windowX}\n y={windowY + windowHeight}\n width={windowWidth}\n class={styles.overviewBackground}\n height={Math.max(y + height - windowY - windowHeight, 0)}></rect>\n </>\n );\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { useTextDimensions } from '#hooks/PRIVATE_useTextDimensions';\nimport { useCssVars } from '#hooks/PRIVATE_useCssVars/useCssVars';\nimport { styles } from './themes/ChartStyles.css';\nimport { useMemo, useRef, useState } from 'preact/hooks';\nimport { PlotArea } from '#PRIVATE_PlotArea';\nimport { useId } from '#hooks/UNSAFE_useId';\nimport { Axis } from '#PRIVATE_Axis/Axis';\nimport { useChartViewport } from '#hooks/PRIVATE_useChartViewport';\nimport {\n getAvailSpace,\n getLayoutInfo,\n getOuterGaps,\n getScrollBarSpace,\n updateScrollBarSpace\n} from '#utils/PRIVATE_chartUtils/layoutUtils';\nimport { useChartNav } from '#hooks/PRIVATE_useChartNav/useChartNav';\nimport { mergeProps } from '#utils/UNSAFE_mergeProps';\nimport { getAxesPosition } from '#PRIVATE_Axis/utils/axisUtils';\nimport { ScrollBar } from '#PRIVATE_ChartScrollBar';\nimport { useSelectDrill } from '#hooks/PRIVATE_useChartEvents/useSelectDrill';\nimport { useChartDatatipAndCursor } from '#hooks/PRIVATE_useChartEvents/useDatatipAndCursor';\nimport { getGroupNavUtil } from '#PRIVATE_Axis/utils/axisNavUtils';\nimport { TimeAxisProps } from '#utils/UNSAFE_visTypes/chart';\nimport { Gridlines } from '#PRIVATE_PlotArea/Gridlines';\nimport { useUser } from '#hooks/UNSAFE_useUser';\nimport { useTestId } from '#hooks/UNSAFE_useTestId';\nimport { getChartVars } from '#utils/PRIVATE_chartUtils';\nimport { useChartContextMenu } from '#hooks/PRIVATE_useChartContextMenu';\nimport { useChartDnd } from '#hooks/PRIVATE_useChartDnd';\nimport { getElementData } from '#utils/UNSAFE_visUtils';\nimport { useTextTruncation } from '#PRIVATE_VisSVGText/useTextTruncation';\nimport { useChartMarquee } from '#hooks/PRIVATE_useChartMarquee';\nimport { ChartProps } from './Chart';\nimport type { gestureTypes } from '#hooks/PRIVATE_useVisContextMenu';\nimport { useVisTouchResponse } from '#hooks/PRIVATE_useVisTouchResponse';\nimport { merge } from '#utils/UNSAFE_stringUtils';\nimport { LineAreaItem } from '#UNSAFE_LineAreaChart/lineAreaChart.types';\nimport { ScatterItem } from '#UNSAFE_ScatterChart/scatterChart.types';\nimport { BarItemData } from '#UNSAFE_BarChart/barChart.types';\nimport { OverviewContext } from '#hooks/PRIVATE_useOverviewContext';\nimport { getWindowCoords } from '#PRIVATE_VisOverview/utils';\nimport { Dimension } from '#utils/UNSAFE_visTypes/common';\nimport { getRenderer } from './overviewUtils';\nimport { ComponentChildren } from 'preact';\n\ntype ChartWithDimensionsProps<K, D> = Omit<ChartProps<K, D>, 'width' | 'height'> & {\n width: number;\n height: number;\n overviewRenderer: (props: Dimension) => {\n background: ComponentChildren;\n slidingWindow: ComponentChildren;\n };\n yAxisSize: number;\n isOverview: boolean;\n};\n\nconst OVERVIEW_GAP = 10;\n\nconst chartVars = getChartVars();\n\nexport function ChartWithDimensions<\n K extends string | number,\n D extends LineAreaItem<K> | ScatterItem<K> | BarItemData<K>\n>({\n width,\n height,\n selectedIds,\n hiddenIds,\n hideAndShowBehavior = 'none',\n orientation = 'vertical',\n xAxis,\n yAxis,\n plotArea,\n dragMode = 'user',\n series,\n groups,\n isStacked = false,\n getDataItem,\n selectionMode = 'none',\n drilling = 'off',\n dataCursorPosition,\n onSelectionChange,\n isDataCursorEnabled,\n dataCursorStyle,\n onViewportChange,\n onDataCursorPositionChange,\n onItemDrill,\n onGroupDrill,\n onItemHover,\n onItemFocus,\n datatip,\n zoomAndScroll = 'off',\n offset,\n getNavUtil,\n getDataItemPos,\n getGapRatio,\n valueFormats,\n findNearest,\n getMarkerInfo,\n isRtl,\n children,\n testId,\n renderGridLinesInFront,\n isDataXAxis,\n contextMenuConfig,\n overview = 'off',\n defaultOverviewContentRenderer,\n isOverview,\n yAxisSize,\n overviewRenderer,\n ...props\n}: ChartWithDimensionsProps<K, D>) {\n const testIdProps = useTestId(testId);\n const rootRef = useRef<HTMLDivElement>(null);\n const isTestEnv = testIdProps['data-testid'] !== undefined;\n const isHoriz = orientation === 'horizontal';\n const { xAxisPosition, yAxisPosition } = getAxesPosition(yAxis, isHoriz, isRtl);\n const { resolvedVars, cssContent } = useCssVars(chartVars);\n const colors = Array.from(Array(12)).map((_, index) => {\n return resolvedVars[`color${index + 1}`];\n });\n const { textMeasureContent, getTextDimensions } = useTextDimensions();\n let availSpace = getAvailSpace(width, height);\n\n if (isOverview && yAxisSize) {\n const w = availSpace.width - yAxisSize;\n const gaps = getOuterGaps(w, height);\n availSpace.width -= yAxisSize - 2 * gaps.width;\n availSpace.x += yAxisSize - gaps.width;\n }\n const isTimeAxis = (xAxis as TimeAxisProps)?.timeAxisType != null;\n\n const updatedSpace = getScrollBarSpace(\n isTimeAxis,\n availSpace,\n zoomAndScroll,\n xAxisPosition,\n overview\n );\n let scrollDims = updatedSpace.scrollDims;\n availSpace = updatedSpace.availSpace;\n const { locale } = useUser();\n const { x, y, width: _width, height: _height } = availSpace;\n const labelFontSize = resolvedVars['labelFontSize'];\n const layoutInfo = useMemo(() => {\n const hiddenSet = new Set(hiddenIds);\n return getLayoutInfo<K, D>(\n series,\n groups,\n getDataItem,\n xAxis,\n yAxis,\n { x, y, width: _width, height: _height }, // availSpace\n hiddenSet,\n hideAndShowBehavior,\n isHoriz,\n isRtl,\n isStacked,\n labelFontSize,\n offset,\n locale,\n getTextDimensions,\n isTestEnv,\n isDataXAxis\n );\n }, [\n x,\n y,\n _width,\n _height,\n getDataItem,\n getTextDimensions,\n groups,\n hiddenIds,\n hideAndShowBehavior,\n isDataXAxis,\n isHoriz,\n isRtl,\n isStacked,\n isTestEnv,\n locale,\n offset,\n labelFontSize,\n series,\n xAxis,\n yAxis\n ]);\n\n const {\n xProps,\n xScale,\n xViewportExtent,\n xAxisExtent,\n xIndexExtent,\n xAxisMinExtent,\n yViewportExtent,\n yAxisExtent,\n groupWidth,\n yProps,\n yScale,\n yMaxDim,\n yMajorTicks,\n xMajorTicks,\n yMinorTicks,\n xMinorTicks,\n plotAreaSpace,\n xSpace,\n ySpace,\n idToDataMap,\n formatAxisLabel,\n formatYValue\n } = layoutInfo;\n\n scrollDims = updateScrollBarSpace(scrollDims, xAxisPosition === 'bottom', isRtl, yMaxDim);\n\n const gapRatio = getGapRatio(xIndexExtent.startIndex!, xIndexExtent.endIndex!);\n\n const getNextChartItem = getNavUtil(xIndexExtent.startIndex!, xIndexExtent.endIndex!);\n\n const renderedGroupsIndex = xProps.tickLabels.map(({ index }) => index + xIndexExtent.startIndex);\n const { getNextNavGroup, getDefaultNavGroup } = getGroupNavUtil(\n groups,\n renderedGroupsIndex,\n xIndexExtent as { startIndex: number; endIndex: number }, // TODO : JET-71301 | Scatter should have different nav utils call.\n drilling,\n isRtl\n );\n\n const {\n ignoreSelectPointerUp,\n cursor,\n yAxisCursor,\n marqueeProps,\n marqueeContent,\n toggleButtonContent,\n isPointInsideMarquee,\n dragMode: mode\n } = useChartMarquee<K, D>({\n plotAreaSpace,\n xSpace,\n ySpace,\n dragMode,\n chartWidth: width,\n isMultiSelection: selectionMode === 'multiple',\n onViewportChange,\n isZoomScroll: zoomAndScroll === 'live',\n xAxisExtent,\n xScale,\n selectedIds,\n getDataById: (id) => idToDataMap.get(id),\n onSelectionChange,\n viewportMax: xViewportExtent.viewportMax!,\n viewportMin: xViewportExtent.viewportMin!,\n isRtl,\n xAxisMinExtent\n });\n\n const { touchResponse, touchResponseStyle } = useVisTouchResponse({\n type: 'auto',\n supportsTouchDragGestures: mode !== 'off',\n rootRef\n });\n\n const { activeId, focusedItemInfo, hoveredItemInfo, focusedGroupInfo, navProps, onFocusUpdate } =\n useChartNav({\n rootRef,\n getNextChartItem,\n getNextNavGroup,\n getDefaultNavGroup,\n touchResponse,\n onItemHover,\n onItemFocus,\n drilling,\n xIndexExtent\n });\n\n const onContextMenuDismissed = (gesture: gestureTypes) => {\n if (gesture === 'keyboard') {\n onFocusUpdate();\n }\n };\n\n const getTextAndBounds = (target: EventTarget | null) => {\n if (target != rootRef.current) {\n const dataSet = getElementData(rootRef, target as HTMLElement);\n const text = dataSet?.['ojText']!;\n\n if (!text) {\n return;\n }\n\n if (text === xAxis?.title) {\n return {\n text,\n bounds: xProps.titleProps?.dims\n };\n } else if (text === yAxis?.title) {\n return {\n text,\n bounds: yProps.titleProps?.dims\n };\n } else if (dataSet?.['ojGroupIndex']) {\n const index = parseInt(dataSet['ojGroupIndex']);\n return {\n bounds: xProps.tickLabels[index].dims,\n text: text!\n };\n }\n }\n\n if (target === rootRef.current && focusedGroupInfo.isFocusVisible) {\n const group = groups[focusedGroupInfo.groupIndex];\n return {\n bounds: xProps.tickLabels[focusedGroupInfo.groupIndex].dims,\n text: group.name || group.id\n };\n }\n return;\n };\n\n const { tooltipContent, tooltipProps } = useTextTruncation({\n getTextAndBounds,\n width,\n isRtl\n });\n\n const viewportProps = useChartViewport({\n rootRef,\n width,\n height,\n xViewportExtent,\n yViewportExtent,\n xAxisExtent,\n yAxisExtent,\n xScale,\n yScale,\n plotAreaSpace,\n isRtl,\n isHoriz,\n zoomAndScroll,\n onViewportChange\n });\n\n const ignoreAsTrigger = (target: EventTarget | null) => {\n if (!target) {\n return false;\n }\n\n const dataset = getElementData(rootRef, target as HTMLElement);\n if (\n (dataset &&\n (dataset['ojPrivateObject'] === 'marquee' ||\n dataset['ojPrivateObject'] === 'dragModeControls' ||\n dataset['ojPrivateObject'] === 'scrollBar')) ||\n ignoreSelectPointerUp\n ) {\n return true;\n }\n\n return false;\n };\n\n const { selectDrillProps, selectionContent } = useSelectDrill<K, D>({\n selectionMode,\n selection: [...selectedIds],\n onChange: onSelectionChange,\n rootRef,\n drilling,\n onItemDrill,\n onGroupDrill,\n focusedGroupInfo,\n focusedItemInfo,\n groups,\n getDataItem,\n getDataById: (id) => idToDataMap.get(id),\n ignoreAsTrigger\n });\n\n const findNearestData = findNearest(xScale as any, yScale, groupWidth, gapRatio);\n const getDataItemPosition = getDataItemPos(xScale as any, yScale, groupWidth, gapRatio);\n const [datatipDisabled, setDatatipDisabled] = useState(false);\n const {\n datatipContent,\n dataCursorContent,\n datatipProps: { 'aria-describedby': datatipAriaDescribedby, ...datatipProps }\n } = useChartDatatipAndCursor<K, D>({\n series,\n groups,\n width,\n height,\n findNearest: findNearestData,\n plotAreaSpace,\n onDataCursorPositionChange,\n isDataCursorEnabled,\n dataCursorPosition,\n dataCursorStyle,\n hoveredItemInfo,\n focusedItemInfo,\n getDataItem,\n getMarkerInfo,\n getDataItemPos: getDataItemPosition,\n datatip,\n valueFormats,\n isHoriz,\n touchResponse,\n isDisabled: datatipDisabled,\n xScale: xScale as any,\n yScale,\n timeAxisType: (xAxis as TimeAxisProps)?.timeAxisType,\n formatAxisLabel,\n formatYValue,\n hasXYValues: isDataXAxis\n });\n\n const isGroupInteractive = (index: number) => {\n if ((xAxis as TimeAxisProps)?.timeAxisType != null) {\n return false;\n }\n const groupDrill = groups[index]?.drilling;\n if (groupDrill === 'on') {\n return true;\n }\n\n if (groupDrill != 'off' && (drilling === 'on' || drilling === 'groupsOnly')) {\n return true;\n }\n return false;\n };\n\n const plotAreaClipPathId = useId();\n const { startIndex: xStartIndex, endIndex: xEndIndex } = xIndexExtent;\n const gridLines = (\n <Gridlines\n plotArea={plotArea}\n yMinorTicks={yMinorTicks}\n xMinorTicks={xMinorTicks}\n xScale={xScale}\n yScale={yScale}\n isLog={yAxis?.scale === 'log'}\n yTicks={yMajorTicks}\n xTicks={xMajorTicks}\n yAxisPosition={yAxisPosition}\n isDataXAxis={isDataXAxis}\n />\n );\n const hasData = series.length > 0 && groups.length > 0;\n\n const { contextMenuContent, contextMenuProps } = useChartContextMenu<K, D>({\n isRtl,\n width,\n height,\n getDataItemPosition,\n series,\n groups,\n getDataItem,\n focusedItemInfo,\n rootRef,\n xAxisTitle: xAxis?.title,\n yAxisTitle: yAxis?.title,\n contextMenuConfig: hasData ? contextMenuConfig : undefined,\n onContextMenuDismissed\n });\n\n const [dragOver, setDragOver] = useState<{ accepted: boolean | undefined; type: string }>({\n accepted: undefined,\n type: ''\n });\n\n const { draggable, dndProps, dndContent } = useChartDnd<K, D>({\n onDrag: props.onDrag,\n onDragStart: props.onDragStart,\n onDragEnd: props.onDragEnd,\n onDragEnter: props.onDragEnter,\n onDragLeave: props.onDragLeave,\n onDragOver: props.onDragOver,\n onDrop: props.onDrop,\n itemsDraggable: props.itemsDraggable,\n groupDraggable: props.groupDraggable,\n rootRef,\n groups,\n series,\n selectedIds,\n getDataItem,\n xSpace,\n ySpace,\n plotAreaSpace,\n setDragOver,\n setDatatipDisabled,\n onSelectionChange\n });\n\n const eventsProps = mergeProps(\n navProps,\n selectDrillProps,\n viewportProps,\n datatipProps,\n marqueeProps,\n tooltipProps,\n contextMenuProps,\n dndProps\n );\n\n const overviewContentRenderer =\n overview != 'off' && (overview === 'on' || !overview.renderer)\n ? defaultOverviewContentRenderer\n : undefined;\n\n const { background, slidingWindow } = overviewRenderer(plotAreaSpace);\n return (\n <>\n {getTextDimensions && resolvedVars['labelFontSize'] != undefined && (\n <div\n tabIndex={isOverview ? undefined : 0}\n draggable={draggable}\n ref={rootRef}\n aria-activedescendant={activeId}\n aria-label={props['aria-label']}\n aria-labelledby={props['aria-labelledby']}\n aria-describedby={merge([props['aria-describedby'], datatipAriaDescribedby])}\n style={{ ...touchResponseStyle }}\n role={isOverview ? undefined : 'application'}\n className={styles.baseChartStyle}\n data-oj-private-selection-mode={isTestEnv ? selectionMode : undefined}\n {...testIdProps}\n {...(isOverview ? {} : eventsProps)}>\n <svg\n width=\"100%\"\n height={\n scrollDims.height != 0 && overview != 'off'\n ? `${Math.ceil((updatedSpace.availSpace.height + OVERVIEW_GAP) * 100) / height}%`\n : '100%'\n }>\n <clipPath id={`${plotAreaClipPathId}`}>\n <rect {...plotAreaSpace}></rect>\n </clipPath>\n {background}\n <PlotArea\n color={plotArea?.color}\n dragOverStyle={\n dragOver.type !== 'plotArea' ? 'none' : dragOver.accepted ? 'accept' : 'reject'\n }\n yScale={yScale}\n hasAxisLine={!isOverview}\n cursor={cursor}\n isLog={yAxis?.scale === 'log'}\n availSpace={plotAreaSpace}\n xAxisPosition={xAxisPosition}\n isDataXAxis={isDataXAxis}\n isRtl={isRtl}\n />\n {!renderGridLinesInFront && gridLines}\n <Axis\n {...(yProps as any)}\n axisPosition={yAxisPosition}\n isRtl={isRtl}\n cursor={yAxisCursor}\n availSpace={ySpace}\n dragOverStyle={\n dragOver.type !== 'yAxis' ? 'none' : dragOver.accepted ? 'accept' : 'reject'\n }\n />\n <Axis\n {...xProps}\n isRtl={isRtl}\n axisPosition={xAxisPosition}\n isTextInteractive={isGroupInteractive}\n activeId={activeId}\n cursor={cursor}\n focusedGroupIndex={\n focusedGroupInfo.isFocusVisible ? focusedGroupInfo.groupIndex : undefined\n }\n availSpace={xSpace}\n dragOverStyle={\n dragOver.type !== 'xAxis' ? 'none' : dragOver.accepted ? 'accept' : 'reject'\n }\n />\n <g clip-path={`url(#${plotAreaClipPathId})`}>\n {children({\n xStartIndex,\n xEndIndex,\n colors,\n xScale: xScale as any,\n yScale,\n isPointInsideMarquee,\n defaultFontSize: resolvedVars['labelFontSize'],\n gapRatio,\n activeId,\n focusedItemInfo,\n hoveredItemInfo,\n getTextDimensions,\n groupWidth\n })}\n {renderGridLinesInFront && gridLines}\n {dataCursorContent}\n </g>\n {slidingWindow}\n {zoomAndScroll === 'live' && !isOverview && (\n <ScrollBar\n availSpace={scrollDims}\n isRtl={isRtl}\n viewport={xViewportExtent}\n axisExtent={xAxisExtent}\n isHoriz={xAxisPosition === 'bottom'}\n />\n )}\n {marqueeContent}\n </svg>\n <OverviewContext.Provider\n value={{\n yAxisSize: ySpace.width,\n isOverview: true,\n width,\n height: scrollDims.height,\n overviewRenderer: (overviewChartPlotArea: Dimension) => {\n const { xScale: overviewXScale, ...windowCoords } = getWindowCoords(\n isRtl,\n xViewportExtent,\n xAxisExtent,\n yViewportExtent,\n yAxisExtent,\n overviewChartPlotArea\n );\n return getRenderer(\n xAxisExtent,\n isRtl,\n overviewXScale,\n overviewChartPlotArea,\n windowCoords,\n true,\n onViewportChange\n );\n }\n }}>\n {!isOverview && overview !== 'off' && overviewContentRenderer && (\n <div style={{ width, height: scrollDims.height }}>{overviewContentRenderer()}</div>\n )}\n </OverviewContext.Provider>\n {toggleButtonContent}\n {datatipContent}\n {tooltipContent}\n {contextMenuContent}\n {selectionContent}\n {dndContent}\n </div>\n )}\n {textMeasureContent}\n {cssContent}\n </>\n );\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { Dimension } from '#utils/UNSAFE_visTypes/common';\nimport { calculateOffset } from '#utils/PRIVATE_visLayoutUtils/layoutUtils';\nimport { useTooltip } from '#hooks/UNSAFE_useTooltip';\nimport { mergeProps } from '#utils/UNSAFE_mergeProps';\nimport { useRef, useState } from 'preact/hooks';\n\ntype Props = {\n getTextAndBounds: (target: EventTarget | null) =>\n | {\n text?: string;\n bounds?: Dimension;\n }\n | undefined;\n isRtl: boolean;\n width: number;\n};\n\nexport function useTextTruncation({ getTextAndBounds, width, isRtl }: Props) {\n const [text, setText] = useState<string>();\n const bounds = useRef<Dimension>();\n\n const { tooltipContent, tooltipProps } = useTooltip({\n text,\n position: 'top-start',\n offset: calculateOffset(isRtl, width, bounds.current)\n });\n\n const onPointerMove = (event: Event) => {\n const textAndBounds = getTextAndBounds(event.target);\n\n if (textAndBounds) {\n bounds.current = textAndBounds.bounds;\n setText(textAndBounds.text);\n } else {\n setText(undefined);\n }\n };\n\n return {\n tooltipContent,\n tooltipProps: mergeProps({ onPointerMove }, tooltipProps)\n };\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ScaleLinear } from '#utils/PRIVATE_chartUtils';\nimport { Dimension } from '#utils/UNSAFE_visTypes/common';\n\nexport function getWindowCoords(\n isRtl: boolean,\n xViewportExtent: { viewportMin: number; viewportMax: number },\n xAxisExtent: { min: number; max: number },\n yViewportExtent: { viewportMin: number; viewportMax: number },\n yAxisExtent: { min: number; max: number },\n plotAreaSpace: Dimension\n) {\n const xDomain = [xAxisExtent.min, xAxisExtent.max] as [number, number];\n const xRange = (\n isRtl\n ? [plotAreaSpace.x + plotAreaSpace.width, plotAreaSpace.x]\n : [plotAreaSpace.x, plotAreaSpace.x + plotAreaSpace.width]\n ) as [number, number];\n const xScale = new ScaleLinear(xDomain, xRange);\n\n const yDomain = [yAxisExtent.min, yAxisExtent.max] as [number, number];\n const yRange = [plotAreaSpace.y + plotAreaSpace.height, plotAreaSpace.y] as [number, number];\n\n const yScale = new ScaleLinear(yDomain, yRange);\n\n const windowX = xScale.transform(xViewportExtent.viewportMin);\n const windowWidth = Math.abs(\n xScale.transform(xViewportExtent.viewportMax) - xScale.transform(xViewportExtent.viewportMin)\n );\n\n return {\n windowX: isRtl ? windowX - windowWidth : windowX + 0.5,\n windowWidth: windowWidth - 0.5,\n windowY: yScale.transform(yViewportExtent.viewportMax),\n windowHeight: Math.abs(\n yScale.transform(yViewportExtent.viewportMax) - yScale.transform(yViewportExtent.viewportMin)\n ),\n xScale,\n yScale\n };\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { OverviewSlidingWindow } from '#PRIVATE_VisOverview';\nimport { OverviewBackground } from '#PRIVATE_VisOverview/OverviewBackground';\nimport { updateViewportFromOverview } from '#utils/PRIVATE_chartUtils/overviewUtils';\nimport { Scale } from '#utils/UNSAFE_visTypes/chart';\nimport { Dimension } from '#utils/UNSAFE_visTypes/common';\n\nexport function getRenderer(\n xAxisExtent: { min: number; max: number },\n isRtl: boolean,\n overviewXScale: Scale,\n plotAreaSpace: Dimension,\n windowCoords: { windowX: number; windowY: number; windowHeight: number; windowWidth: number },\n hasHandles: boolean,\n onViewportChange?: (detail: {\n xMin?: number;\n xMax?: number;\n yMin?: number;\n yMax?: number;\n }) => void\n) {\n return {\n slidingWindow: (\n <OverviewSlidingWindow\n {...plotAreaSpace}\n {...windowCoords}\n hasHandles={hasHandles}\n onWindowDimsChange={(props: { deltaX: number; deltaWidth: number }) => {\n updateViewportFromOverview(\n xAxisExtent,\n isRtl,\n windowCoords.windowX,\n windowCoords.windowWidth,\n props.deltaX,\n props.deltaWidth,\n overviewXScale,\n onViewportChange\n );\n }}\n />\n ),\n background: <OverviewBackground {...plotAreaSpace} {...windowCoords} />\n };\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { dimensionStyle } from './themes/ChartStyles.css';\nimport { TrackResizeContainer } from '#UNSAFE_TrackResizeContainer';\nimport { ChartWithDimensions } from './ChartWithDimensions';\nimport {\n ChartCommonProps,\n ChartSeriesData,\n GetNextChartItemType,\n Info,\n Scale,\n getDataPosType\n} from '#utils/UNSAFE_visTypes/chart';\nimport { Dimension, MarkerShapes } from '#utils/UNSAFE_visTypes/common';\nimport { ComponentChildren, VNode } from 'preact';\nimport { Property } from 'csstype';\nimport { LineAreaItem } from '#UNSAFE_LineAreaChart/lineAreaChart.types';\nimport { ScatterItem } from '#UNSAFE_ScatterChart/scatterChart.types';\nimport { BarItemData } from '#UNSAFE_BarChart/barChart.types';\nimport { useOverviewContext } from '#hooks/PRIVATE_useOverviewContext';\n\nexport type ChartProps<K, D> = {\n selectedIds: Set<K>;\n getGapRatio: (startIndex: number, endIndex: number) => number;\n getNavUtil: (startIndex: number, endIndex: number) => GetNextChartItemType;\n getDataItemPos: (\n xScale: Scale,\n yScale: Scale,\n groupWidth: number,\n gapRatio: number\n ) => getDataPosType;\n findNearest: (\n xScale: Scale,\n yScale: Scale,\n groupWidth: number,\n gapRatio: number\n ) => (\n x: number,\n y: number\n ) =>\n | {\n seriesIndex: number;\n groupIndex: number;\n y: number | undefined;\n x: number;\n }\n | undefined;\n children: (context: {\n xStartIndex: number;\n xEndIndex: number;\n xScale: Scale;\n yScale: Scale;\n gapRatio: number;\n activeId?: string;\n focusedItemInfo: Info;\n hoveredItemInfo?: Info;\n groupWidth: number;\n isPointInsideMarquee: ((id: K, point: { x: number; y: number }) => boolean) | undefined;\n getTextDimensions?: (text: string, style: Record<string, any>) => Dimension;\n defaultFontSize: string;\n colors: string[];\n }) => VNode;\n offset: number;\n series: ChartSeriesData<K, D>[];\n isRtl: boolean;\n renderGridLinesInFront: boolean;\n isDataXAxis?: boolean;\n getMarkerInfo: (\n seriesIndex: number,\n groupIndex: number\n ) => { color: Property.Color | undefined; type?: MarkerShapes };\n defaultOverviewContentRenderer: () => ComponentChildren;\n} & Omit<ChartCommonProps<K, D>, 'highlightedIds' | 'hoverBehavior' | 'selectedIds'>;\n\nexport function Chart<\n K extends string | number,\n D extends LineAreaItem<K> | ScatterItem<K> | BarItemData<K>\n>({ width, height, ...props }: ChartProps<K, D>) {\n // TODO: reevaluate how we handle empty data\n const {\n isOverview,\n overviewRenderer,\n yAxisSize,\n width: overviewWidth,\n height: overviewHeight\n } = useOverviewContext();\n\n let chartWidth = width;\n let chartHeight = height;\n\n if (chartWidth === undefined && isOverview && overviewWidth !== undefined) {\n chartWidth = `${overviewWidth}px`;\n }\n\n if (chartHeight === undefined && isOverview && overviewHeight !== undefined) {\n chartHeight = `${overviewHeight}px`;\n }\n\n return (\n <TrackResizeContainer width={chartWidth} height={chartHeight} class={dimensionStyle}>\n {(width, height) =>\n width || height ? (\n <ChartWithDimensions\n width={width}\n height={height}\n {...props}\n yAxisSize={yAxisSize}\n isOverview={isOverview}\n overviewRenderer={overviewRenderer}\n />\n ) : undefined\n }\n </TrackResizeContainer>\n );\n}\n"],"names":["getNextGroup","info","viewportEndIndex","isGroupNavigable","groupIndex","getPreviousGroup","OverviewBackground","x","width","height","y","windowX","windowHeight","windowWidth","windowY","_jsxs","jsxs","_Fragment","children","_jsx","jsx","Math","max","class","styles","overviewBackground","OVERVIEW_GAP","chartVars","getChartVars","ChartWithDimensions","selectedIds","hiddenIds","hideAndShowBehavior","orientation","xAxis","yAxis","plotArea","dragMode","series","groups","isStacked","getDataItem","selectionMode","drilling","dataCursorPosition","onSelectionChange","isDataCursorEnabled","dataCursorStyle","onViewportChange","onDataCursorPositionChange","onItemDrill","onGroupDrill","onItemHover","onItemFocus","datatip","zoomAndScroll","offset","getNavUtil","getDataItemPos","getGapRatio","valueFormats","findNearest","getMarkerInfo","isRtl","testId","renderGridLinesInFront","isDataXAxis","contextMenuConfig","overview","defaultOverviewContentRenderer","isOverview","yAxisSize","overviewRenderer","props","testIdProps","useTestId","rootRef","useRef","isTestEnv","undefined","isHoriz","xAxisPosition","yAxisPosition","getAxesPosition","resolvedVars","cssContent","useCssVars","colors","Array","from","map","_","index","textMeasureContent","getTextDimensions","useTextDimensions","availSpace","getAvailSpace","w","gaps","getOuterGaps","isTimeAxis","timeAxisType","updatedSpace","getScrollBarSpace","scrollDims","locale","useUser","_width","_height","labelFontSize","layoutInfo","useMemo","hiddenSet","Set","getLayoutInfo","xProps","xScale","xViewportExtent","xAxisExtent","xIndexExtent","xAxisMinExtent","yViewportExtent","yAxisExtent","groupWidth","yProps","yScale","yMaxDim","yMajorTicks","xMajorTicks","yMinorTicks","xMinorTicks","plotAreaSpace","xSpace","ySpace","idToDataMap","formatAxisLabel","formatYValue","updateScrollBarSpace","gapRatio","startIndex","endIndex","getNextChartItem","renderedGroupsIndex","tickLabels","getNextNavGroup","getDefaultNavGroup","renderedGroups","groupsDrilling","length","arrow","nextGroup","getGroupNavUtil","ignoreSelectPointerUp","cursor","yAxisCursor","marqueeProps","marqueeContent","toggleButtonContent","isPointInsideMarquee","mode","useChartMarquee","chartWidth","isMultiSelection","isZoomScroll","getDataById","id","get","viewportMax","viewportMin","touchResponse","touchResponseStyle","useVisTouchResponse","type","supportsTouchDragGestures","activeId","focusedItemInfo","hoveredItemInfo","focusedGroupInfo","navProps","onFocusUpdate","useChartNav","tooltipContent","tooltipProps","getTextAndBounds","text","setText","useState","bounds","useTooltip","position","calculateOffset","current","mergeProps","onPointerMove","event","textAndBounds","target","useTextTruncation","dataSet","getElementData","title","titleProps","dims","parseInt","isFocusVisible","group","name","viewportProps","useChartViewport","selectDrillProps","selectionContent","useSelectDrill","selection","onChange","ignoreAsTrigger","dataset","findNearestData","getDataItemPosition","datatipDisabled","setDatatipDisabled","datatipContent","dataCursorContent","datatipProps","datatipAriaDescribedby","useChartDatatipAndCursor","isDisabled","hasXYValues","plotAreaClipPathId","useId","xStartIndex","xEndIndex","gridLines","Gridlines","isLog","scale","yTicks","xTicks","hasData","contextMenuContent","contextMenuProps","useChartContextMenu","xAxisTitle","yAxisTitle","onContextMenuDismissed","gesture","dragOver","setDragOver","accepted","draggable","dndProps","dndContent","useChartDnd","onDrag","onDragStart","onDragEnd","onDragEnter","onDragLeave","onDragOver","onDrop","itemsDraggable","groupDraggable","eventsProps","overviewContentRenderer","renderer","background","slidingWindow","tabIndex","ref","merge","style","role","className","baseChartStyle","ceil","PlotArea","color","dragOverStyle","hasAxisLine","Axis","axisPosition","isTextInteractive","groupDrill","focusedGroupIndex","defaultFontSize","ScrollBar","viewport","axisExtent","OverviewContext","Provider","value","overviewChartPlotArea","overviewXScale","windowCoords","xDomain","min","xRange","ScaleLinear","yDomain","yRange","transform","abs","getWindowCoords","hasHandles","OverviewSlidingWindow","onWindowDimsChange","updateViewportFromOverview","deltaX","deltaWidth","getRenderer","overviewWidth","overviewHeight","useOverviewContext","chartHeight","TrackResizeContainer","dimensionStyle"],"mappings":"osCAUgBA,EACdC,EACAC,EACAC,GAEA,MAAMC,EAAaH,EAAKG,WAAa,EACrC,KAAIA,GAAcF,GAIlB,OAAIC,EAAiBC,GACZ,CAAEA,cAEJJ,EAAa,CAAEI,cAAcF,EAAkBC,EACxD,CAEgB,SAAAE,EACdJ,EACAE,GAEA,MAAMC,EAAaH,EAAKG,WAAa,EACrC,KAAIA,EAAa,GAGjB,OAAID,EAAiBC,GACZ,CAAEA,cAEJC,EAAiB,CAAED,cAAcD,EAC1C,UC3BgBG,GAAmBC,EACjCA,EAACC,MACDA,EAAKC,OACLA,EAAMC,EACNA,EAACC,QACDA,EAAOC,aACPA,EAAYC,YACZA,EAAWC,QACXA,IAEA,OACEC,EAAAC,KAAAC,WAAA,CAAAC,SAAA,CACEC,EACEC,IAAA,OAAA,CAAAb,E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NhB,EACApP,EACD,IAIPyN,WAAYtP,EAACC,IAAAd,MAAuB8H,KAAmBiK,IAE3D,CHokBuBgB,CACL9L,GACAxD,GACAqO,EACAD,EACAE,GACA,EACArP,EACD,GAGJ9B,UAACoD,IAA2B,QAAbF,IAAsBmM,IACpCpP,EAAAC,IAAA,MAAA,CAAK0P,MAAO,CAAEtQ,QAAOC,OAAQgG,GAAWhG,QAAWS,SAAAqP,SAGtDzG,GACA+D,GACAvC,GACAyD,GACA5B,GACAwC,MAGJ9J,GACAR,KAGP,SIjkBM,UAGJ7E,MAAEA,EAAKC,OAAEA,KAAWgE,IAEpB,MAAMH,WACJA,EAAUE,iBACVA,EAAgBD,UAChBA,EACA/D,MAAO8S,EACP7S,OAAQ8S,GACNC,EAAAA,qBAEJ,IAAItJ,EAAa1J,EACbiT,EAAchT,EAUlB,YARmBsE,IAAfmF,GAA4B5F,QAAgCS,IAAlBuO,IAC5CpJ,EAAa,GAAGoJ,YAGEvO,IAAhB0O,GAA6BnP,QAAiCS,IAAnBwO,IAC7CE,EAAc,GAAGF,OAIjBpS,EAAAA,IAACuS,EAAAA,qBAAoB,CAAClT,MAAO0J,EAAYzJ,OAAQgT,EAAalS,MAAOoS,EAAcA,eAAAzS,SAChF,CAACV,EAAOC,IACPD,GAASC,EACPU,EAAAC,IAACS,EAAmB,CAClBrB,MAAOA,EACPC,OAAQA,KACJgE,EACJF,UAAWA,EACXD,WAAYA,EACZE,iBAAkBA,SAElBO,GAIZ"}
1
+ {"version":3,"file":"Chart-87ae799b.js","sources":["../../src/PRIVATE_Axis/utils/axisNavUtils.ts","../../src/PRIVATE_VisOverview/OverviewBackground.tsx","../../src/PRIVATE_Chart/ChartWithDimensions.tsx","../../src/PRIVATE_VisSVGText/useTextTruncation.ts","../../src/PRIVATE_VisOverview/utils.ts","../../src/PRIVATE_Chart/overviewUtils.tsx","../../src/PRIVATE_Chart/Chart.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { Group, ChartGroupInfo } from '#utils/UNSAFE_visTypes/chart';\ntype isGroupNavigableType = (groupIndex: number) => boolean;\n\nexport function getNextGroup(\n info: ChartGroupInfo,\n viewportEndIndex: number,\n isGroupNavigable: isGroupNavigableType\n): ChartGroupInfo | undefined {\n const groupIndex = info.groupIndex + 1;\n if (groupIndex >= viewportEndIndex) {\n return;\n }\n\n if (isGroupNavigable(groupIndex)) {\n return { groupIndex };\n }\n return getNextGroup({ groupIndex }, viewportEndIndex, isGroupNavigable);\n}\n\nexport function getPreviousGroup(\n info: ChartGroupInfo,\n isGroupNavigable: isGroupNavigableType\n): ChartGroupInfo | undefined {\n const groupIndex = info.groupIndex - 1;\n if (groupIndex < 0) {\n return;\n }\n if (isGroupNavigable(groupIndex)) {\n return { groupIndex };\n }\n return getPreviousGroup({ groupIndex }, isGroupNavigable);\n}\n\nexport function getGroupNavUtil(\n groups: Group[],\n renderedGroups: number[],\n xIndexExtent: { startIndex: number; endIndex: number },\n drilling: 'on' | 'off' | 'groupsOnly',\n isRtl: boolean\n) {\n const isGroupNavigable = (groupIndex: number) => {\n const groupsDrilling = groups[renderedGroups[groupIndex]].drilling;\n return (drilling === 'on' || drilling === 'groupsOnly') && groupsDrilling != 'off';\n };\n\n const getDefaultNavGroup = (info: ChartGroupInfo) => {\n if (xIndexExtent.startIndex > renderedGroups[info.groupIndex]) {\n info.groupIndex = 0;\n return info;\n } else if (xIndexExtent.endIndex < renderedGroups[info.groupIndex]) {\n info.groupIndex = renderedGroups.length - 1;\n return info;\n }\n return;\n };\n\n const getNextNavGroup = (info: ChartGroupInfo, arrow: 'ArrowRight' | 'ArrowLeft') => {\n let nextGroup = getDefaultNavGroup(info);\n\n if (nextGroup) return nextGroup;\n\n if (arrow === 'ArrowRight') {\n nextGroup = isRtl\n ? getPreviousGroup(info, isGroupNavigable)\n : getNextGroup(info, renderedGroups.length, isGroupNavigable);\n } else {\n nextGroup = isRtl\n ? getNextGroup(info, renderedGroups.length, isGroupNavigable)\n : getPreviousGroup(info, isGroupNavigable);\n }\n return nextGroup || info;\n };\n\n return { getDefaultNavGroup, getNextNavGroup };\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { OverviewProps } from './overview.types';\nimport { styles } from './themes/VisOverview.css';\n\nexport function OverviewBackground({\n x,\n width,\n height,\n y,\n windowX,\n windowHeight,\n windowWidth,\n windowY\n}: OverviewProps) {\n return (\n <>\n <rect\n x={x}\n y={y}\n width={Math.max(0, windowX - x)}\n height={height}\n class={styles.overviewBackground}></rect>\n\n <rect\n x={windowX + windowWidth}\n width={Math.max(0, x + width - windowX - windowWidth)}\n y={y}\n height={height}\n class={styles.overviewBackground}></rect>\n\n <rect\n x={windowX}\n y={y}\n height={Math.max(0, windowY - y)}\n width={windowWidth}\n class={styles.overviewBackground}></rect>\n\n <rect\n x={windowX}\n y={windowY + windowHeight}\n width={windowWidth}\n class={styles.overviewBackground}\n height={Math.max(y + height - windowY - windowHeight, 0)}></rect>\n </>\n );\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { useTextDimensions } from '#hooks/PRIVATE_useTextDimensions';\nimport { useCssVars } from '#hooks/PRIVATE_useCssVars/useCssVars';\nimport { styles } from './themes/ChartStyles.css';\nimport { useMemo, useRef, useState } from 'preact/hooks';\nimport { PlotArea } from '#PRIVATE_PlotArea';\nimport { useId } from '#hooks/UNSAFE_useId';\nimport { Axis } from '#PRIVATE_Axis/Axis';\nimport { useChartViewport } from '#hooks/PRIVATE_useChartViewport';\nimport {\n getAvailSpace,\n getLayoutInfo,\n getOuterGaps,\n getScrollBarSpace,\n updateScrollBarSpace\n} from '#utils/PRIVATE_chartUtils/layoutUtils';\nimport { useChartNav } from '#hooks/PRIVATE_useChartNav/useChartNav';\nimport { mergeProps } from '#utils/UNSAFE_mergeProps';\nimport { getAxesPosition } from '#PRIVATE_Axis/utils/axisUtils';\nimport { ScrollBar } from '#PRIVATE_ChartScrollBar';\nimport { useSelectDrill } from '#hooks/PRIVATE_useChartEvents/useSelectDrill';\nimport { useChartDatatipAndCursor } from '#hooks/PRIVATE_useChartEvents/useDatatipAndCursor';\nimport { getGroupNavUtil } from '#PRIVATE_Axis/utils/axisNavUtils';\nimport { TimeAxisProps } from '#utils/UNSAFE_visTypes/chart';\nimport { Gridlines } from '#PRIVATE_PlotArea/Gridlines';\nimport { useUser } from '#hooks/UNSAFE_useUser';\nimport { useTestId } from '#hooks/UNSAFE_useTestId';\nimport { getChartVars } from '#utils/PRIVATE_chartUtils';\nimport { useChartContextMenu } from '#hooks/PRIVATE_useChartContextMenu';\nimport { useChartDnd } from '#hooks/PRIVATE_useChartDnd';\nimport { getElementData } from '#utils/UNSAFE_visUtils';\nimport { useTextTruncation } from '#PRIVATE_VisSVGText/useTextTruncation';\nimport { useChartMarquee } from '#hooks/PRIVATE_useChartMarquee';\nimport { ChartProps } from './Chart';\nimport type { gestureTypes } from '#hooks/PRIVATE_useVisContextMenu';\nimport { useVisTouchResponse } from '#hooks/PRIVATE_useVisTouchResponse';\nimport { merge } from '#utils/UNSAFE_stringUtils';\nimport { LineAreaItem } from '#UNSAFE_LineAreaChart/lineAreaChart.types';\nimport { ScatterItem } from '#UNSAFE_ScatterChart/scatterChart.types';\nimport { BarItemData } from '#UNSAFE_BarChart/barChart.types';\nimport { OverviewContext } from '#hooks/PRIVATE_useOverviewContext';\nimport { getWindowCoords } from '#PRIVATE_VisOverview/utils';\nimport { Dimension } from '#utils/UNSAFE_visTypes/common';\nimport { getRenderer } from './overviewUtils';\nimport { ComponentChildren } from 'preact';\n\ntype ChartWithDimensionsProps<K, D> = Omit<ChartProps<K, D>, 'width' | 'height'> & {\n width: number;\n height: number;\n overviewRenderer: (props: Dimension) => {\n background: ComponentChildren;\n slidingWindow: ComponentChildren;\n };\n yAxisSize: number;\n isOverview: boolean;\n};\n\nconst OVERVIEW_GAP = 10;\n\nconst chartVars = getChartVars();\n\nexport function ChartWithDimensions<\n K extends string | number,\n D extends LineAreaItem<K> | ScatterItem<K> | BarItemData<K>\n>({\n width,\n height,\n selectedIds,\n hiddenIds,\n hideAndShowBehavior = 'none',\n orientation = 'vertical',\n xAxis,\n yAxis,\n plotArea,\n dragMode = 'user',\n series,\n groups,\n isStacked = false,\n getDataItem,\n selectionMode = 'none',\n drilling = 'off',\n dataCursorPosition,\n onSelectionChange,\n isDataCursorEnabled,\n dataCursorStyle,\n onViewportChange,\n onDataCursorPositionChange,\n onItemDrill,\n onGroupDrill,\n onItemHover,\n onItemFocus,\n datatip,\n zoomAndScroll = 'off',\n offset,\n getNavUtil,\n getDataItemPos,\n getGapRatio,\n valueFormats,\n findNearest,\n getMarkerInfo,\n isRtl,\n children,\n testId,\n renderGridLinesInFront,\n isDataXAxis,\n contextMenuConfig,\n overview = 'off',\n defaultOverviewContentRenderer,\n isOverview,\n yAxisSize,\n overviewRenderer,\n ...props\n}: ChartWithDimensionsProps<K, D>) {\n const testIdProps = useTestId(testId);\n const rootRef = useRef<HTMLDivElement>(null);\n const isTestEnv = testIdProps['data-testid'] !== undefined;\n const isHoriz = orientation === 'horizontal';\n const { xAxisPosition, yAxisPosition } = getAxesPosition(yAxis, isHoriz, isRtl);\n const { resolvedVars, cssContent } = useCssVars(chartVars);\n const colors = Array.from(Array(12)).map((_, index) => {\n return resolvedVars[`color${index + 1}`];\n });\n const { textMeasureContent, getTextDimensions } = useTextDimensions();\n let availSpace = getAvailSpace(width, height);\n\n if (isOverview && yAxisSize) {\n const w = availSpace.width - yAxisSize;\n const gaps = getOuterGaps(w, height);\n availSpace.width -= yAxisSize - 2 * gaps.width;\n availSpace.x += yAxisSize - gaps.width;\n }\n const isTimeAxis = (xAxis as TimeAxisProps)?.timeAxisType != null;\n\n const updatedSpace = getScrollBarSpace(\n isTimeAxis,\n availSpace,\n zoomAndScroll,\n xAxisPosition,\n overview\n );\n let scrollDims = updatedSpace.scrollDims;\n availSpace = updatedSpace.availSpace;\n const { locale } = useUser();\n const { x, y, width: _width, height: _height } = availSpace;\n const labelFontSize = resolvedVars['labelFontSize'];\n const layoutInfo = useMemo(() => {\n const hiddenSet = new Set(hiddenIds);\n return getLayoutInfo<K, D>(\n series,\n groups,\n getDataItem,\n xAxis,\n yAxis,\n { x, y, width: _width, height: _height }, // availSpace\n hiddenSet,\n hideAndShowBehavior,\n isHoriz,\n isRtl,\n isStacked,\n labelFontSize,\n offset,\n locale,\n getTextDimensions,\n isTestEnv,\n isDataXAxis\n );\n }, [\n x,\n y,\n _width,\n _height,\n getDataItem,\n getTextDimensions,\n groups,\n hiddenIds,\n hideAndShowBehavior,\n isDataXAxis,\n isHoriz,\n isRtl,\n isStacked,\n isTestEnv,\n locale,\n offset,\n labelFontSize,\n series,\n xAxis,\n yAxis\n ]);\n\n const {\n xProps,\n xScale,\n xViewportExtent,\n xAxisExtent,\n xIndexExtent,\n xAxisMinExtent,\n yViewportExtent,\n yAxisExtent,\n groupWidth,\n yProps,\n yScale,\n yMaxDim,\n yMajorTicks,\n xMajorTicks,\n yMinorTicks,\n xMinorTicks,\n plotAreaSpace,\n xSpace,\n ySpace,\n idToDataMap,\n formatAxisLabel,\n formatYValue\n } = layoutInfo;\n\n scrollDims = updateScrollBarSpace(scrollDims, xAxisPosition === 'bottom', isRtl, yMaxDim);\n\n const gapRatio = getGapRatio(xIndexExtent.startIndex!, xIndexExtent.endIndex!);\n\n const getNextChartItem = getNavUtil(xIndexExtent.startIndex!, xIndexExtent.endIndex!);\n\n const renderedGroupsIndex = xProps.tickLabels.map(({ index }) => index + xIndexExtent.startIndex);\n const { getNextNavGroup, getDefaultNavGroup } = getGroupNavUtil(\n groups,\n renderedGroupsIndex,\n xIndexExtent as { startIndex: number; endIndex: number }, // TODO : JET-71301 | Scatter should have different nav utils call.\n drilling,\n isRtl\n );\n\n const {\n ignoreSelectPointerUp,\n cursor,\n yAxisCursor,\n marqueeProps,\n marqueeContent,\n toggleButtonContent,\n isPointInsideMarquee,\n dragMode: mode\n } = useChartMarquee<K, D>({\n plotAreaSpace,\n xSpace,\n ySpace,\n dragMode,\n chartWidth: width,\n isMultiSelection: selectionMode === 'multiple',\n onViewportChange,\n isZoomScroll: zoomAndScroll === 'live',\n xAxisExtent,\n xScale,\n selectedIds,\n getDataById: (id) => idToDataMap.get(id),\n onSelectionChange,\n viewportMax: xViewportExtent.viewportMax!,\n viewportMin: xViewportExtent.viewportMin!,\n isRtl,\n xAxisMinExtent\n });\n\n const { touchResponse, touchResponseStyle } = useVisTouchResponse({\n type: 'auto',\n supportsTouchDragGestures: mode !== 'off',\n rootRef\n });\n\n const { activeId, focusedItemInfo, hoveredItemInfo, focusedGroupInfo, navProps, onFocusUpdate } =\n useChartNav({\n rootRef,\n getNextChartItem,\n getNextNavGroup,\n getDefaultNavGroup,\n touchResponse,\n onItemHover,\n onItemFocus,\n drilling,\n xIndexExtent\n });\n\n const onContextMenuDismissed = (gesture: gestureTypes) => {\n if (gesture === 'keyboard') {\n onFocusUpdate();\n }\n };\n\n const getTextAndBounds = (target: EventTarget | null) => {\n if (target != rootRef.current) {\n const dataSet = getElementData(rootRef, target as HTMLElement);\n const text = dataSet?.['ojText']!;\n\n if (!text) {\n return;\n }\n\n if (text === xAxis?.title) {\n return {\n text,\n bounds: xProps.titleProps?.dims\n };\n } else if (text === yAxis?.title) {\n return {\n text,\n bounds: yProps.titleProps?.dims\n };\n } else if (dataSet?.['ojGroupIndex']) {\n const index = parseInt(dataSet['ojGroupIndex']);\n return {\n bounds: xProps.tickLabels[index].dims,\n text: text!\n };\n }\n }\n\n if (target === rootRef.current && focusedGroupInfo.isFocusVisible) {\n const group = groups[focusedGroupInfo.groupIndex];\n return {\n bounds: xProps.tickLabels[focusedGroupInfo.groupIndex].dims,\n text: group.name || group.id\n };\n }\n return;\n };\n\n const { tooltipContent, tooltipProps } = useTextTruncation({\n getTextAndBounds,\n width,\n isRtl\n });\n\n const viewportProps = useChartViewport({\n rootRef,\n width,\n height,\n xViewportExtent,\n yViewportExtent,\n xAxisExtent,\n yAxisExtent,\n xScale,\n yScale,\n plotAreaSpace,\n isRtl,\n isHoriz,\n zoomAndScroll,\n onViewportChange\n });\n\n const ignoreAsTrigger = (target: EventTarget | null) => {\n if (!target) {\n return false;\n }\n\n const dataset = getElementData(rootRef, target as HTMLElement);\n if (\n (dataset &&\n (dataset['ojPrivateObject'] === 'marquee' ||\n dataset['ojPrivateObject'] === 'dragModeControls' ||\n dataset['ojPrivateObject'] === 'scrollBar')) ||\n ignoreSelectPointerUp\n ) {\n return true;\n }\n\n return false;\n };\n\n const { selectDrillProps, selectionContent } = useSelectDrill<K, D>({\n selectionMode,\n selection: [...selectedIds],\n onChange: onSelectionChange,\n rootRef,\n drilling,\n onItemDrill,\n onGroupDrill,\n focusedGroupInfo,\n focusedItemInfo,\n groups,\n getDataItem,\n getDataById: (id) => idToDataMap.get(id),\n ignoreAsTrigger\n });\n\n const findNearestData = findNearest(xScale as any, yScale, groupWidth, gapRatio);\n const getDataItemPosition = getDataItemPos(xScale as any, yScale, groupWidth, gapRatio);\n const [datatipDisabled, setDatatipDisabled] = useState(false);\n const {\n datatipContent,\n dataCursorContent,\n datatipProps: { 'aria-describedby': datatipAriaDescribedby, ...datatipProps }\n } = useChartDatatipAndCursor<K, D>({\n series,\n groups,\n width,\n height,\n findNearest: findNearestData,\n plotAreaSpace,\n onDataCursorPositionChange,\n isDataCursorEnabled,\n dataCursorPosition,\n dataCursorStyle,\n hoveredItemInfo,\n focusedItemInfo,\n getDataItem,\n getMarkerInfo,\n getDataItemPos: getDataItemPosition,\n datatip,\n valueFormats,\n isHoriz,\n touchResponse,\n isDisabled: datatipDisabled,\n xScale: xScale as any,\n yScale,\n timeAxisType: (xAxis as TimeAxisProps)?.timeAxisType,\n formatAxisLabel,\n formatYValue,\n hasXYValues: isDataXAxis\n });\n\n const isGroupInteractive = (index: number) => {\n if ((xAxis as TimeAxisProps)?.timeAxisType != null) {\n return false;\n }\n const groupDrill = groups[index]?.drilling;\n if (groupDrill === 'on') {\n return true;\n }\n\n if (groupDrill != 'off' && (drilling === 'on' || drilling === 'groupsOnly')) {\n return true;\n }\n return false;\n };\n\n const plotAreaClipPathId = useId();\n const { startIndex: xStartIndex, endIndex: xEndIndex } = xIndexExtent;\n const gridLines = (\n <Gridlines\n plotArea={plotArea}\n yMinorTicks={yMinorTicks}\n xMinorTicks={xMinorTicks}\n xScale={xScale}\n yScale={yScale}\n isLog={yAxis?.scale === 'log'}\n yTicks={yMajorTicks}\n xTicks={xMajorTicks}\n yAxisPosition={yAxisPosition}\n isDataXAxis={isDataXAxis}\n />\n );\n const hasData = series.length > 0 && groups.length > 0;\n\n const { contextMenuContent, contextMenuProps } = useChartContextMenu<K, D>({\n isRtl,\n width,\n height,\n getDataItemPosition,\n series,\n groups,\n getDataItem,\n focusedItemInfo,\n rootRef,\n xAxisTitle: xAxis?.title,\n yAxisTitle: yAxis?.title,\n contextMenuConfig: hasData ? contextMenuConfig : undefined,\n onContextMenuDismissed\n });\n\n const [dragOver, setDragOver] = useState<{ accepted: boolean | undefined; type: string }>({\n accepted: undefined,\n type: ''\n });\n\n const { draggable, dndProps, dndContent } = useChartDnd<K, D>({\n onDrag: props.onDrag,\n onDragStart: props.onDragStart,\n onDragEnd: props.onDragEnd,\n onDragEnter: props.onDragEnter,\n onDragLeave: props.onDragLeave,\n onDragOver: props.onDragOver,\n onDrop: props.onDrop,\n itemsDraggable: props.itemsDraggable,\n groupDraggable: props.groupDraggable,\n rootRef,\n groups,\n series,\n selectedIds,\n getDataItem,\n xSpace,\n ySpace,\n plotAreaSpace,\n setDragOver,\n setDatatipDisabled,\n onSelectionChange\n });\n\n const eventsProps = mergeProps(\n navProps,\n selectDrillProps,\n viewportProps,\n datatipProps,\n marqueeProps,\n tooltipProps,\n contextMenuProps,\n dndProps\n );\n\n const overviewContentRenderer =\n overview != 'off' && (overview === 'on' || !overview.renderer)\n ? defaultOverviewContentRenderer\n : undefined;\n\n const { background, slidingWindow } = overviewRenderer(plotAreaSpace);\n return (\n <>\n {getTextDimensions && resolvedVars['labelFontSize'] != undefined && (\n <div\n tabIndex={isOverview ? undefined : 0}\n draggable={draggable}\n ref={rootRef}\n aria-activedescendant={activeId}\n aria-label={props['aria-label']}\n aria-labelledby={props['aria-labelledby']}\n aria-describedby={merge([props['aria-describedby'], datatipAriaDescribedby])}\n style={{ ...touchResponseStyle }}\n role={isOverview ? undefined : 'application'}\n className={styles.baseChartStyle}\n data-oj-private-selection-mode={isTestEnv ? selectionMode : undefined}\n {...testIdProps}\n {...(isOverview ? {} : eventsProps)}>\n <svg\n width=\"100%\"\n height={\n scrollDims.height != 0 && overview != 'off'\n ? `${Math.ceil((updatedSpace.availSpace.height + OVERVIEW_GAP) * 100) / height}%`\n : '100%'\n }>\n <clipPath id={`${plotAreaClipPathId}`}>\n <rect {...plotAreaSpace}></rect>\n </clipPath>\n {background}\n <PlotArea\n color={plotArea?.color}\n dragOverStyle={\n dragOver.type !== 'plotArea' ? 'none' : dragOver.accepted ? 'accept' : 'reject'\n }\n yScale={yScale}\n hasAxisLine={!isOverview}\n cursor={cursor}\n isLog={yAxis?.scale === 'log'}\n availSpace={plotAreaSpace}\n xAxisPosition={xAxisPosition}\n isDataXAxis={isDataXAxis}\n isRtl={isRtl}\n />\n {!renderGridLinesInFront && gridLines}\n <Axis\n {...(yProps as any)}\n axisPosition={yAxisPosition}\n isRtl={isRtl}\n cursor={yAxisCursor}\n availSpace={ySpace}\n dragOverStyle={\n dragOver.type !== 'yAxis' ? 'none' : dragOver.accepted ? 'accept' : 'reject'\n }\n />\n <Axis\n {...xProps}\n isRtl={isRtl}\n axisPosition={xAxisPosition}\n isTextInteractive={isGroupInteractive}\n activeId={activeId}\n cursor={cursor}\n focusedGroupIndex={\n focusedGroupInfo.isFocusVisible ? focusedGroupInfo.groupIndex : undefined\n }\n availSpace={xSpace}\n dragOverStyle={\n dragOver.type !== 'xAxis' ? 'none' : dragOver.accepted ? 'accept' : 'reject'\n }\n />\n <g clip-path={`url(#${plotAreaClipPathId})`}>\n {children({\n xStartIndex,\n xEndIndex,\n colors,\n xScale: xScale as any,\n yScale,\n isPointInsideMarquee,\n defaultFontSize: resolvedVars['labelFontSize'],\n gapRatio,\n activeId,\n focusedItemInfo,\n hoveredItemInfo,\n getTextDimensions,\n groupWidth\n })}\n {renderGridLinesInFront && gridLines}\n {dataCursorContent}\n </g>\n {slidingWindow}\n {zoomAndScroll === 'live' && !isOverview && (\n <ScrollBar\n availSpace={scrollDims}\n isRtl={isRtl}\n viewport={xViewportExtent}\n axisExtent={xAxisExtent}\n isHoriz={xAxisPosition === 'bottom'}\n />\n )}\n {marqueeContent}\n </svg>\n <OverviewContext.Provider\n value={{\n yAxisSize: ySpace.width,\n isOverview: true,\n width,\n height: scrollDims.height,\n overviewRenderer: (overviewChartPlotArea: Dimension) => {\n const { xScale: overviewXScale, ...windowCoords } = getWindowCoords(\n isRtl,\n xViewportExtent,\n xAxisExtent,\n yViewportExtent,\n yAxisExtent,\n overviewChartPlotArea\n );\n return getRenderer(\n xAxisExtent,\n isRtl,\n overviewXScale,\n overviewChartPlotArea,\n windowCoords,\n true,\n onViewportChange\n );\n }\n }}>\n {!isOverview && overview !== 'off' && overviewContentRenderer && (\n <div style={{ width, height: scrollDims.height }}>{overviewContentRenderer()}</div>\n )}\n </OverviewContext.Provider>\n {toggleButtonContent}\n {datatipContent}\n {tooltipContent}\n {contextMenuContent}\n {selectionContent}\n {dndContent}\n </div>\n )}\n {textMeasureContent}\n {cssContent}\n </>\n );\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { Dimension } from '#utils/UNSAFE_visTypes/common';\nimport { calculateOffset } from '#utils/PRIVATE_visLayoutUtils/layoutUtils';\nimport { useTooltip } from '#hooks/UNSAFE_useTooltip';\nimport { mergeProps } from '#utils/UNSAFE_mergeProps';\nimport { useRef, useState } from 'preact/hooks';\n\ntype Props = {\n getTextAndBounds: (target: EventTarget | null) =>\n | {\n text?: string;\n bounds?: Dimension;\n }\n | undefined;\n isRtl: boolean;\n width: number;\n};\n\nexport function useTextTruncation({ getTextAndBounds, width, isRtl }: Props) {\n const [text, setText] = useState<string>();\n const bounds = useRef<Dimension>();\n\n const { tooltipContent, tooltipProps } = useTooltip({\n text,\n position: 'top-start',\n offset: calculateOffset(isRtl, width, bounds.current)\n });\n\n const onPointerMove = (event: Event) => {\n const textAndBounds = getTextAndBounds(event.target);\n\n if (textAndBounds) {\n bounds.current = textAndBounds.bounds;\n setText(textAndBounds.text);\n } else {\n setText(undefined);\n }\n };\n\n return {\n tooltipContent,\n tooltipProps: mergeProps({ onPointerMove }, tooltipProps)\n };\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ScaleLinear } from '#utils/PRIVATE_chartUtils';\nimport { Dimension } from '#utils/UNSAFE_visTypes/common';\n\nexport function getWindowCoords(\n isRtl: boolean,\n xViewportExtent: { viewportMin: number; viewportMax: number },\n xAxisExtent: { min: number; max: number },\n yViewportExtent: { viewportMin: number; viewportMax: number },\n yAxisExtent: { min: number; max: number },\n plotAreaSpace: Dimension\n) {\n const xDomain = [xAxisExtent.min, xAxisExtent.max] as [number, number];\n const xRange = (\n isRtl\n ? [plotAreaSpace.x + plotAreaSpace.width, plotAreaSpace.x]\n : [plotAreaSpace.x, plotAreaSpace.x + plotAreaSpace.width]\n ) as [number, number];\n const xScale = new ScaleLinear(xDomain, xRange);\n\n const yDomain = [yAxisExtent.min, yAxisExtent.max] as [number, number];\n const yRange = [plotAreaSpace.y + plotAreaSpace.height, plotAreaSpace.y] as [number, number];\n\n const yScale = new ScaleLinear(yDomain, yRange);\n\n const windowX = xScale.transform(xViewportExtent.viewportMin);\n const windowWidth = Math.abs(\n xScale.transform(xViewportExtent.viewportMax) - xScale.transform(xViewportExtent.viewportMin)\n );\n\n return {\n windowX: isRtl ? windowX - windowWidth : windowX + 0.5,\n windowWidth: windowWidth - 0.5,\n windowY: yScale.transform(yViewportExtent.viewportMax),\n windowHeight: Math.abs(\n yScale.transform(yViewportExtent.viewportMax) - yScale.transform(yViewportExtent.viewportMin)\n ),\n xScale,\n yScale\n };\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { OverviewSlidingWindow } from '#PRIVATE_VisOverview';\nimport { OverviewBackground } from '#PRIVATE_VisOverview/OverviewBackground';\nimport { updateViewportFromOverview } from '#utils/PRIVATE_chartUtils/overviewUtils';\nimport { Scale } from '#utils/UNSAFE_visTypes/chart';\nimport { Dimension } from '#utils/UNSAFE_visTypes/common';\n\nexport function getRenderer(\n xAxisExtent: { min: number; max: number },\n isRtl: boolean,\n overviewXScale: Scale,\n plotAreaSpace: Dimension,\n windowCoords: { windowX: number; windowY: number; windowHeight: number; windowWidth: number },\n hasHandles: boolean,\n onViewportChange?: (detail: {\n xMin?: number;\n xMax?: number;\n yMin?: number;\n yMax?: number;\n }) => void\n) {\n return {\n slidingWindow: (\n <OverviewSlidingWindow\n {...plotAreaSpace}\n {...windowCoords}\n hasHandles={hasHandles}\n onWindowDimsChange={(props: { deltaX: number; deltaWidth: number }) => {\n updateViewportFromOverview(\n xAxisExtent,\n isRtl,\n windowCoords.windowX,\n windowCoords.windowWidth,\n props.deltaX,\n props.deltaWidth,\n overviewXScale,\n onViewportChange\n );\n }}\n />\n ),\n background: <OverviewBackground {...plotAreaSpace} {...windowCoords} />\n };\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { dimensionStyle } from './themes/ChartStyles.css';\nimport { TrackResizeContainer } from '#UNSAFE_TrackResizeContainer';\nimport { ChartWithDimensions } from './ChartWithDimensions';\nimport {\n ChartCommonProps,\n ChartSeriesData,\n GetNextChartItemType,\n Info,\n Scale,\n getDataPosType\n} from '#utils/UNSAFE_visTypes/chart';\nimport { Dimension, MarkerShapes } from '#utils/UNSAFE_visTypes/common';\nimport { ComponentChildren, VNode } from 'preact';\nimport { Property } from 'csstype';\nimport { LineAreaItem } from '#UNSAFE_LineAreaChart/lineAreaChart.types';\nimport { ScatterItem } from '#UNSAFE_ScatterChart/scatterChart.types';\nimport { BarItemData } from '#UNSAFE_BarChart/barChart.types';\nimport { useOverviewContext } from '#hooks/PRIVATE_useOverviewContext';\n\nexport type ChartProps<K, D> = {\n selectedIds: Set<K>;\n getGapRatio: (startIndex: number, endIndex: number) => number;\n getNavUtil: (startIndex: number, endIndex: number) => GetNextChartItemType;\n getDataItemPos: (\n xScale: Scale,\n yScale: Scale,\n groupWidth: number,\n gapRatio: number\n ) => getDataPosType;\n findNearest: (\n xScale: Scale,\n yScale: Scale,\n groupWidth: number,\n gapRatio: number\n ) => (\n x: number,\n y: number\n ) =>\n | {\n seriesIndex: number;\n groupIndex: number;\n y: number | undefined;\n x: number;\n }\n | undefined;\n children: (context: {\n xStartIndex: number;\n xEndIndex: number;\n xScale: Scale;\n yScale: Scale;\n gapRatio: number;\n activeId?: string;\n focusedItemInfo: Info;\n hoveredItemInfo?: Info;\n groupWidth: number;\n isPointInsideMarquee: ((id: K, point: { x: number; y: number }) => boolean) | undefined;\n getTextDimensions?: (text: string, style: Record<string, any>) => Dimension;\n defaultFontSize: string;\n colors: string[];\n }) => VNode;\n offset: number;\n series: ChartSeriesData<K, D>[];\n isRtl: boolean;\n renderGridLinesInFront: boolean;\n isDataXAxis?: boolean;\n getMarkerInfo: (\n seriesIndex: number,\n groupIndex: number\n ) => { color: Property.Color | undefined; type?: MarkerShapes };\n defaultOverviewContentRenderer: () => ComponentChildren;\n} & Omit<ChartCommonProps<K, D>, 'highlightedIds' | 'hoverBehavior' | 'selectedIds'>;\n\nexport function Chart<\n K extends string | number,\n D extends LineAreaItem<K> | ScatterItem<K> | BarItemData<K>\n>({ width, height, ...props }: ChartProps<K, D>) {\n // TODO: reevaluate how we handle empty data\n const {\n isOverview,\n overviewRenderer,\n yAxisSize,\n width: overviewWidth,\n height: overviewHeight\n } = useOverviewContext();\n\n let chartWidth = width;\n let chartHeight = height;\n\n if (chartWidth === undefined && isOverview && overviewWidth !== undefined) {\n chartWidth = `${overviewWidth}px`;\n }\n\n if (chartHeight === undefined && isOverview && overviewHeight !== undefined) {\n chartHeight = `${overviewHeight}px`;\n }\n\n return (\n <TrackResizeContainer width={chartWidth} height={chartHeight} class={dimensionStyle}>\n {(width, height) =>\n width || height ? (\n <ChartWithDimensions\n width={width}\n height={height}\n {...props}\n yAxisSize={yAxisSize}\n isOverview={isOverview}\n overviewRenderer={overviewRenderer}\n />\n ) : undefined\n }\n </TrackResizeContainer>\n );\n}\n"],"names":["getNextGroup","info","viewportEndIndex","isGroupNavigable","groupIndex","getPreviousGroup","OverviewBackground","x","width","height","y","windowX","windowHeight","windowWidth","windowY","_jsxs","jsxs","_Fragment","children","_jsx","jsx","Math","max","class","styles","overviewBackground","OVERVIEW_GAP","chartVars","getChartVars","ChartWithDimensions","selectedIds","hiddenIds","hideAndShowBehavior","orientation","xAxis","yAxis","plotArea","dragMode","series","groups","isStacked","getDataItem","selectionMode","drilling","dataCursorPosition","onSelectionChange","isDataCursorEnabled","dataCursorStyle","onViewportChange","onDataCursorPositionChange","onItemDrill","onGroupDrill","onItemHover","onItemFocus","datatip","zoomAndScroll","offset","getNavUtil","getDataItemPos","getGapRatio","valueFormats","findNearest","getMarkerInfo","isRtl","testId","renderGridLinesInFront","isDataXAxis","contextMenuConfig","overview","defaultOverviewContentRenderer","isOverview","yAxisSize","overviewRenderer","props","testIdProps","useTestId","rootRef","useRef","isTestEnv","undefined","isHoriz","xAxisPosition","yAxisPosition","getAxesPosition","resolvedVars","cssContent","useCssVars","colors","Array","from","map","_","index","textMeasureContent","getTextDimensions","useTextDimensions","availSpace","getAvailSpace","w","gaps","getOuterGaps","isTimeAxis","timeAxisType","updatedSpace","getScrollBarSpace","scrollDims","locale","useUser","_width","_height","labelFontSize","layoutInfo","useMemo","hiddenSet","Set","getLayoutInfo","xProps","xScale","xViewportExtent","xAxisExtent","xIndexExtent","xAxisMinExtent","yViewportExtent","yAxisExtent","groupWidth","yProps","yScale","yMaxDim","yMajorTicks","xMajorTicks","yMinorTicks","xMinorTicks","plotAreaSpace","xSpace","ySpace","idToDataMap","formatAxisLabel","formatYValue","updateScrollBarSpace","gapRatio","startIndex","endIndex","getNextChartItem","renderedGroupsIndex","tickLabels","getNextNavGroup","getDefaultNavGroup","renderedGroups","groupsDrilling","length","arrow","nextGroup","getGroupNavUtil","ignoreSelectPointerUp","cursor","yAxisCursor","marqueeProps","marqueeContent","toggleButtonContent","isPointInsideMarquee","mode","useChartMarquee","chartWidth","isMultiSelection","isZoomScroll","getDataById","id","get","viewportMax","viewportMin","touchResponse","touchResponseStyle","useVisTouchResponse","type","supportsTouchDragGestures","activeId","focusedItemInfo","hoveredItemInfo","focusedGroupInfo","navProps","onFocusUpdate","useChartNav","tooltipContent","tooltipProps","getTextAndBounds","text","setText","useState","bounds","useTooltip","position","calculateOffset","current","mergeProps","onPointerMove","event","textAndBounds","target","useTextTruncation","dataSet","getElementData","title","titleProps","dims","parseInt","isFocusVisible","group","name","viewportProps","useChartViewport","selectDrillProps","selectionContent","useSelectDrill","selection","onChange","ignoreAsTrigger","dataset","findNearestData","getDataItemPosition","datatipDisabled","setDatatipDisabled","datatipContent","dataCursorContent","datatipProps","datatipAriaDescribedby","useChartDatatipAndCursor","isDisabled","hasXYValues","plotAreaClipPathId","useId","xStartIndex","xEndIndex","gridLines","Gridlines","isLog","scale","yTicks","xTicks","hasData","contextMenuContent","contextMenuProps","useChartContextMenu","xAxisTitle","yAxisTitle","onContextMenuDismissed","gesture","dragOver","setDragOver","accepted","draggable","dndProps","dndContent","useChartDnd","onDrag","onDragStart","onDragEnd","onDragEnter","onDragLeave","onDragOver","onDrop","itemsDraggable","groupDraggable","eventsProps","overviewContentRenderer","renderer","background","slidingWindow","tabIndex","ref","merge","style","role","className","baseChartStyle","ceil","PlotArea","color","dragOverStyle","hasAxisLine","Axis","axisPosition","isTextInteractive","groupDrill","focusedGroupIndex","defaultFontSize","ScrollBar","viewport","axisExtent","OverviewContext","Provider","value","overviewChartPlotArea","overviewXScale","windowCoords","xDomain","min","xRange","ScaleLinear","yDomain","yRange","transform","abs","getWindowCoords","hasHandles","OverviewSlidingWindow","onWindowDimsChange","updateViewportFromOverview","deltaX","deltaWidth","getRenderer","overviewWidth","overviewHeight","useOverviewContext","chartHeight","TrackResizeContainer","dimensionStyle"],"mappings":"osCAUgBA,EACdC,EACAC,EACAC,GAEA,MAAMC,EAAaH,EAAKG,WAAa,EACrC,KAAIA,GAAcF,GAIlB,OAAIC,EAAiBC,GACZ,CAAEA,cAEJJ,EAAa,CAAEI,cAAcF,EAAkBC,EACxD,CAEgB,SAAAE,EACdJ,EACAE,GAEA,MAAMC,EAAaH,EAAKG,WAAa,EACrC,KAAIA,EAAa,GAGjB,OAAID,EAAiBC,GACZ,CAAEA,cAEJC,EAAiB,CAAED,cAAcD,EAC1C,UC3BgBG,GAAmBC,EACjCA,EAACC,MACDA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C,IAAC4R,wBACK,IAAA5K,KACAiK,EACJU,WAAYA,EACZE,mBAAqBxO,IACnByO,EAAAA,2BACE3L,EACAxD,EACAsO,EAAa1R,QACb0R,EAAaxR,YACb4D,EAAM0O,OACN1O,EAAM2O,WACNhB,EACApP,EACD,IAIPyN,WAAYtP,EAACC,IAAAd,MAAuB8H,KAAmBiK,IAE3D,CHokBuBgB,CACL9L,GACAxD,GACAqO,EACAD,EACAE,GACA,EACArP,EACD,GAGJ9B,UAACoD,IAA2B,QAAbF,IAAsBmM,IACpCpP,EAAAC,IAAA,MAAA,CAAK0P,MAAO,CAAEtQ,QAAOC,OAAQgG,GAAWhG,QAAWS,SAAAqP,SAGtDzG,GACA+D,GACAvC,GACAyD,GACA5B,GACAwC,MAGJ9J,GACAR,KAGP,SIjkBM,UAGJ7E,MAAEA,EAAKC,OAAEA,KAAWgE,IAEpB,MAAMH,WACJA,EAAUE,iBACVA,EAAgBD,UAChBA,EACA/D,MAAO8S,EACP7S,OAAQ8S,GACNC,EAAAA,qBAEJ,IAAItJ,EAAa1J,EACbiT,EAAchT,EAUlB,YARmBsE,IAAfmF,GAA4B5F,QAAgCS,IAAlBuO,IAC5CpJ,EAAa,GAAGoJ,YAGEvO,IAAhB0O,GAA6BnP,QAAiCS,IAAnBwO,IAC7CE,EAAc,GAAGF,OAIjBpS,EAAAA,IAACuS,EAAAA,qBAAoB,CAAClT,MAAO0J,EAAYzJ,OAAQgT,EAAalS,MAAOoS,EAAcA,eAAAzS,SAChF,CAACV,EAAOC,IACPD,GAASC,EACPU,EAAAC,IAACS,EAAmB,CAClBrB,MAAOA,EACPC,OAAQA,KACJgE,EACJF,UAAWA,EACXD,WAAYA,EACZE,iBAAkBA,SAElBO,GAIZ"}
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/jsx-runtime', 'preact/compat', './logger-0f873e29', './TabbableModeContext-a9c97640', 'preact/hooks', './useId-c9578d26', './LayerHost-733ade2f', 'css!./UserAssistanceStyles.styles.css', 'module', './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css', './InlineUserAssistance-a97e0011', './Flex-590160eb', 'css!./MessageBannerStyles.styles.css', 'module', './UNSAFE_MessageBanner/themes/redwood/MessageBannerVariants.css', 'preact', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-30886397', 'css!./IconStyle.styles.css', './IconButton-368fba34', 'css!./MessageStyles.styles.css', './MessageFormattingUtils-2e19d8de', './TransitionGroup-3b9d81b6', './MessagesContext-602a69a2', 'css!./HiddenAccessibleStyles.styles.css', 'css!./ComponentMessageStyles.styles.css', 'module', './UNSAFE_ComponentMessage/themes/redwood/ComponentMessageVariants.css', './FormFieldContext-3c44aaaa', './Popup-3e2566da', './UNSAFE_Separator/themes/SeparatorStyles.css', 'css!./LabelStyles.styles.css', 'module', './UNSAFE_Label/themes/redwood/LabelVariants.css', './InputGroupContext-372087af', 'module', './UNSAFE_Popup/themes/redwood/PopupVariants.css', './FormContext-5130e198', './useFormContext-30acdd33', './CheckboxRadioContext-6a0fead0', './CheckboxControl-c6a380b3'], (function(e,s,t,o,a,n,r,i,c,l,d,u,m,p,h,y,S,b,C,A,x,U,g,f,F,w,T,k,E,M,v,N,_,B,I,R,L,D,V,P,j,q,H,G){"use strict";const $=t.forwardRef((({"aria-describedby":e,assistiveText:o,columnSpan:a,helpSourceLink:n,helpSourceText:i,isDisabled:c,isReadonly:l,isRequired:d=!1,messages:m,onCommit:p,userAssistanceDensity:h,value:y,testId:S,children:b},C=null)=>{const{isDisabled:A,isReadonly:x,userAssistanceDensity:U}=q.useFormContext(),g=t.useRef(null),f=r.useId(),F=S?`${S}-inline-user-assistance`:void 0,w=c??A,T=l??x,k=h??U,E=!w&&!T,M=E?`${f}-bottom-ua`:void 0,v=t.useCallback((e=>{const{key:s}=e,t=void 0!==s;if(t&&" "!==s)return;const o=e.target,a=t?!o.checked:o.checked,n=!!y;n!==a&&p({value:a,previousValue:n})}),[p,y]);return t.useImperativeHandle(C,(()=>({focus:()=>{!w&&g.current?.focus()},blur:()=>{const e=document.activeElement;g.current===e&&e.blur()}}))),s.jsxs(H.CheckboxRadioContext.Provider,{value:{isFocusRingShown:!w},children:[s.jsx(G.CheckboxControl,{...E?{onChange:v,onKeyUp:v}:{},"aria-describedby":e,assistiveText:o,columnSpan:a,helpSourceLink:n,helpSourceText:i,isChecked:y,isDisabled:w,isReadonly:T,isRequired:d,ref:g,children:b}),E?s.jsx(u.InlineUserAssistance,{id:M,isRequiredShown:!!d&&!y,requiredAlignment:"start",messages:m,userAssistanceDensity:"reflow"===k?"reflow":"efficient",testId:F}):"reflow"===k?void 0:s.jsx(u.InlineUserAssistance,{userAssistanceDensity:"efficient",testId:F})]})}));e.Checkbox=$}));
1
+ define(['exports', 'preact/jsx-runtime', 'preact/compat', './logger-0f873e29', './TabbableModeContext-a9c97640', 'preact/hooks', './useId-c9578d26', './LayerHost-27dfba9e', 'css!./UserAssistanceStyles.styles.css', 'module', './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css', './InlineUserAssistance-a97e0011', './Flex-b8764305', 'css!./MessageBannerStyles.styles.css', 'module', './UNSAFE_MessageBanner/themes/redwood/MessageBannerVariants.css', 'preact', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-36ddb881', 'css!./IconStyle.styles.css', './IconButton-368fba34', 'css!./MessageStyles.styles.css', './MessageFormattingUtils-2e19d8de', './TransitionGroup-3b9d81b6', './MessagesContext-602a69a2', 'css!./HiddenAccessibleStyles.styles.css', 'css!./ComponentMessageStyles.styles.css', 'module', './UNSAFE_ComponentMessage/themes/redwood/ComponentMessageVariants.css', './FormFieldContext-3c44aaaa', './Popup-b0704743', './UNSAFE_Separator/themes/SeparatorStyles.css', 'css!./LabelStyles.styles.css', 'module', './UNSAFE_Label/themes/redwood/LabelVariants.css', './InputGroupContext-372087af', 'module', './UNSAFE_Popup/themes/redwood/PopupVariants.css', './FormContext-5130e198', './useFormContext-30acdd33', './CheckboxRadioContext-6a0fead0', './CheckboxControl-c6a380b3'], (function(e,s,t,o,n,a,r,i,c,l,d,u,m,p,h,y,b,S,C,A,x,U,g,f,F,w,T,k,E,M,v,N,_,B,I,R,L,D,V,P,j,q,H,G){"use strict";const $=t.forwardRef((({"aria-describedby":e,assistiveText:o,columnSpan:n,helpSourceLink:a,helpSourceText:i,isDisabled:c,isReadonly:l,isRequired:d=!1,messages:m,onCommit:p,userAssistanceDensity:h,value:y,testId:b,children:S},C=null)=>{const{isDisabled:A,isReadonly:x,userAssistanceDensity:U}=q.useFormContext(),g=t.useRef(null),f=r.useId(),F=b?`${b}-inline-user-assistance`:void 0,w=c??A,T=l??x,k=h??U,E=!w&&!T,M=E?`${f}-bottom-ua`:void 0,v=t.useCallback((e=>{const{key:s}=e,t=void 0!==s;if(t&&" "!==s)return;const o=e.target,n=t?!o.checked:o.checked,a=!!y;a!==n&&p({value:n,previousValue:a})}),[p,y]);return t.useImperativeHandle(C,(()=>({focus:()=>{!w&&g.current?.focus()},blur:()=>{const e=document.activeElement;g.current===e&&e.blur()}}))),s.jsxs(H.CheckboxRadioContext.Provider,{value:{isFocusRingShown:!w},children:[s.jsx(G.CheckboxControl,{...E?{onChange:v,onKeyUp:v}:{},"aria-describedby":e,assistiveText:o,columnSpan:n,helpSourceLink:a,helpSourceText:i,isChecked:y,isDisabled:w,isReadonly:T,isRequired:d,ref:g,children:S}),E?s.jsx(u.InlineUserAssistance,{id:M,isRequiredShown:!!d&&!y,requiredAlignment:"start",messages:m,userAssistanceDensity:"reflow"===k?"reflow":"efficient",testId:F}):"reflow"===k?void 0:s.jsx(u.InlineUserAssistance,{userAssistanceDensity:"efficient",testId:F})]})}));e.Checkbox=$}));
2
2
  //# sourceMappingURL=Checkbox-49753599.js.map
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/jsx-runtime', 'preact/compat', './CheckboxRadioContext-6a0fead0', './HiddenAccessible-037ef42d', './useComponentTheme-5aa41a8f', './useFocus-4194fc59', './classNames-08d99695', './TabbableModeContext-a9c97640', './useTabbableMode-dc440317', './useTranslationBundle-7c40cb58', 'css!./UserAssistanceStyles.styles.css', 'module', './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css', 'preact/hooks', './Flex-590160eb', 'css!./MessageBannerStyles.styles.css', 'module', './UNSAFE_MessageBanner/themes/redwood/MessageBannerVariants.css', 'preact', './useId-c9578d26', './LayerHost-733ade2f', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-30886397', 'css!./IconStyle.styles.css', './IconButton-368fba34', 'css!./MessageStyles.styles.css', './MessageFormattingUtils-2e19d8de', './logger-0f873e29', './TransitionGroup-3b9d81b6', './MessagesContext-602a69a2', 'css!./ComponentMessageStyles.styles.css', 'module', './UNSAFE_ComponentMessage/themes/redwood/ComponentMessageVariants.css', './FormContext-5130e198', './FormFieldContext-3c44aaaa', './InputGroupContext-372087af', './Popup-3e2566da', './UNSAFE_Separator/themes/SeparatorStyles.css', './useFocusWithin-5a504fca', 'css!./LabelStyles.styles.css', 'module', './UNSAFE_Label/themes/redwood/LabelVariants.css', './IconUserAssistance-e496ab70', './StyledCheckbox-0feb1ffb', './UNSAFE_Checkbox/themes/redwood/CheckboxTheme', './useActive-bb5dc069', './stringUtils-0ae982c2', './LayoutStyles.css-c8bc984d'], (function(e,s,o,t,a,n,c,l,i,r,d,u,b,h,p,m,y,S,C,x,f,F,A,T,U,g,k,w,M,v,B,N,E,_,R,L,j,D,I,V,P,K,H,q,G,W,$,z,J,O,Q){"use strict";const X=o.forwardRef((({"aria-describedby":e,name:i,value:u,children:b,isChecked:h,isDisabled:p,isReadonly:m,isRequired:y,onChange:S,onKeyUp:C,assistiveText:x,helpSourceLink:F,helpSourceText:A,columnSpan:T=1},U=null)=>{const g=f.useId(),k=o.useRef(null),{isTabbable:w}=r.useTabbableMode(),{isActive:M,activeProps:v}=J.useActive(),{isFocusRingShown:B}=t.useCheckboxRadioContext(),N=o.createRef(),{isFocus:E,focusProps:{onFocus:_,onBlur:R}}=c.useFocus(),{classes:L,styles:{valueLabelStyle:j,checkboxSpanStyle:D}}=n.useComponentTheme(z.CheckboxRedwoodTheme,{disabled:p?"isDisabled":"notDisabled",focused:E&&B?"isFocused":"notFocused"}),I=!(p||m||!x&&!F),V=I?`${g}-help-available`:void 0,P=I?`${g}-icon-ua`:void 0,{formControl_helpAvailable:H}=d.useTranslationBundle("@oracle/oraclejet-preact"),q=H(),G=I?s.jsx(a.HiddenAccessible,{id:V,children:q}):void 0;delete v.onKeyDown;const{focusProps:X,isFocused:Y}=K.useFocusWithin();o.useEffect((()=>{E&&B&&N?.current?.scrollIntoView({block:"nearest"})}),[E,B,N]);const Z=Q.layoutSpanStyles.layoutSpanColumn[T];return s.jsxs("label",{ref:N,class:l.classNames([L,Z]),children:[s.jsx("span",{class:D,...v,children:s.jsx($.StyledCheckbox,{"aria-describedby":O.merge([e,V]),name:i,value:u,onChange:S,onBlur:R,onFocus:_,onKeyUp:C,onKeyDown:e=>{const{key:s}=e;m||void 0===s||" "!==s||e.preventDefault()},isActive:M,isChecked:h?"checked":"unchecked",isDisabled:p,isReadonly:m,isRequired:y,ref:U})}),G,s.jsxs("span",{class:j,children:[s.jsx("span",{...v,...X,onMouseDown:e=>{const s=e.target.closest("a");s&&k.current?.contains(s)?e.stopPropagation():v.onMouseDown?.(e)},ref:k,children:b}),I&&s.jsx(W.IconUserAssistance,{assistiveText:x,helpSourceLink:F,helpSourceText:A,isTabbable:w&&(E||Y),id:P})]})]})}));e.CheckboxControl=X}));
1
+ define(['exports', 'preact/jsx-runtime', 'preact/compat', './CheckboxRadioContext-6a0fead0', './HiddenAccessible-037ef42d', './useComponentTheme-5aa41a8f', './useFocus-4194fc59', './classNames-08d99695', './TabbableModeContext-a9c97640', './useTabbableMode-dc440317', './useTranslationBundle-68275657', 'css!./UserAssistanceStyles.styles.css', 'module', './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css', 'preact/hooks', './Flex-b8764305', 'css!./MessageBannerStyles.styles.css', 'module', './UNSAFE_MessageBanner/themes/redwood/MessageBannerVariants.css', 'preact', './useId-c9578d26', './LayerHost-27dfba9e', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-36ddb881', 'css!./IconStyle.styles.css', './IconButton-368fba34', 'css!./MessageStyles.styles.css', './MessageFormattingUtils-2e19d8de', './logger-0f873e29', './TransitionGroup-3b9d81b6', './MessagesContext-602a69a2', 'css!./ComponentMessageStyles.styles.css', 'module', './UNSAFE_ComponentMessage/themes/redwood/ComponentMessageVariants.css', './FormContext-5130e198', './FormFieldContext-3c44aaaa', './InputGroupContext-372087af', './Popup-b0704743', './UNSAFE_Separator/themes/SeparatorStyles.css', './useFocusWithin-5a504fca', 'css!./LabelStyles.styles.css', 'module', './UNSAFE_Label/themes/redwood/LabelVariants.css', './IconUserAssistance-f5228b1d', './StyledCheckbox-0feb1ffb', './UNSAFE_Checkbox/themes/redwood/CheckboxTheme', './useActive-bb5dc069', './stringUtils-0ae982c2', './LayoutStyles.css-c8bc984d'], (function(e,s,o,t,a,n,c,l,i,r,d,u,b,h,p,m,y,S,C,x,f,F,A,T,U,g,k,w,M,v,B,N,E,_,R,L,j,D,I,V,P,K,H,q,G,W,$,z,J,O,Q){"use strict";const X=o.forwardRef((({"aria-describedby":e,name:i,value:u,children:b,isChecked:h,isDisabled:p,isReadonly:m,isRequired:y,onChange:S,onKeyUp:C,assistiveText:x,helpSourceLink:F,helpSourceText:A,columnSpan:T=1},U=null)=>{const g=f.useId(),k=o.useRef(null),{isTabbable:w}=r.useTabbableMode(),{isActive:M,activeProps:v}=J.useActive(),{isFocusRingShown:B}=t.useCheckboxRadioContext(),N=o.createRef(),{isFocus:E,focusProps:{onFocus:_,onBlur:R}}=c.useFocus(),{classes:L,styles:{valueLabelStyle:j,checkboxSpanStyle:D}}=n.useComponentTheme(z.CheckboxRedwoodTheme,{disabled:p?"isDisabled":"notDisabled",focused:E&&B?"isFocused":"notFocused"}),I=!(p||m||!x&&!F),V=I?`${g}-help-available`:void 0,P=I?`${g}-icon-ua`:void 0,{formControl_helpAvailable:H}=d.useTranslationBundle("@oracle/oraclejet-preact"),q=H(),G=I?s.jsx(a.HiddenAccessible,{id:V,children:q}):void 0;delete v.onKeyDown;const{focusProps:X,isFocused:Y}=K.useFocusWithin();o.useEffect((()=>{E&&B&&N?.current?.scrollIntoView({block:"nearest"})}),[E,B,N]);const Z=Q.layoutSpanStyles.layoutSpanColumn[T];return s.jsxs("label",{ref:N,class:l.classNames([L,Z]),children:[s.jsx("span",{class:D,...v,children:s.jsx($.StyledCheckbox,{"aria-describedby":O.merge([e,V]),name:i,value:u,onChange:S,onBlur:R,onFocus:_,onKeyUp:C,onKeyDown:e=>{const{key:s}=e;m||void 0===s||" "!==s||e.preventDefault()},isActive:M,isChecked:h?"checked":"unchecked",isDisabled:p,isReadonly:m,isRequired:y,ref:U})}),G,s.jsxs("span",{class:j,children:[s.jsx("span",{...v,...X,onMouseDown:e=>{const s=e.target.closest("a");s&&k.current?.contains(s)?e.stopPropagation():v.onMouseDown?.(e)},ref:k,children:b}),I&&s.jsx(W.IconUserAssistance,{assistiveText:x,helpSourceLink:F,helpSourceText:A,isTabbable:w&&(E||Y),id:P})]})]})}));e.CheckboxControl=X}));
2
2
  //# sourceMappingURL=CheckboxControl-c6a380b3.js.map
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/jsx-runtime', 'preact/compat', './useCollectionFocusRing-9dab85a9', './useTranslationBundle-7c40cb58', './Flex-590160eb', './Label-41b672b4', './InlineHelp-4f896a0a', './logger-0f873e29', './TabbableModeContext-a9c97640', 'preact/hooks', 'css!./UserAssistanceStyles.styles.css', 'module', './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css', './InlineUserAssistance-a97e0011', 'css!./MessageBannerStyles.styles.css', 'module', './UNSAFE_MessageBanner/themes/redwood/MessageBannerVariants.css', 'preact', './utils-32e81a13', './useTestId-c286f212', './LayerHost-733ade2f', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-30886397', 'css!./IconStyle.styles.css', './IconButton-368fba34', 'css!./MessageStyles.styles.css', './MessageFormattingUtils-2e19d8de', './TransitionGroup-3b9d81b6', './MessagesContext-602a69a2', './HiddenAccessible-037ef42d', 'css!./ComponentMessageStyles.styles.css', 'module', './UNSAFE_ComponentMessage/themes/redwood/ComponentMessageVariants.css', './FormFieldContext-3c44aaaa', './Popup-3e2566da', './UNSAFE_Separator/themes/SeparatorStyles.css', 'css!./LabelStyles.styles.css', 'module', './UNSAFE_Label/themes/redwood/LabelVariants.css', 'module', './UNSAFE_Popup/themes/redwood/PopupVariants.css', './CheckboxRadioFieldStyles.css-681da2d3', './CheckboxRadioContext-6a0fead0', './LayoutStyles.css-c8bc984d', './classNames-08d99695', './FormContext-5130e198', './useFormContext-30acdd33', './useFormFieldContext-8196183c', './size-f0e638ec', './useComponentTheme-5aa41a8f', './UNSAFE_RadioItem/themes/redwood/RadioTheme', './UNSAFE_Label/themes/redwood/LabelTheme', './UNSAFE_TextField/themes/redwood/FormLayoutTheme', './UNSAFE_Checkbox/themes/redwood/CheckboxTheme', './StyledLabelValueLayout-2524f5c3', 'css!./CheckboxRadioLabelValueLayoutStyles.styles.css'], (function(e,s,t,a,o,l,n,i,r,d,c,b,h,u,m,p,y,S,x,C,A,T,U,F,f,L,R,w,_,g,I,k,E,N,V,B,j,v,M,P,W,D,H,$,q,z,G,O,J,K,Q,X,Y,Z,ee,se,te,ae,oe){"use strict";var le="CheckboxRadioLabelValueLayoutStyles_checkboxRadioLabelInnerStyles_startRadioSetWithoutTopUA__6098ei0",ne="CheckboxRadioLabelValueLayoutStyles_checkboxRadioLabelInnerStyles_insideRadioSet__6098ei1",ie="CheckboxRadioLabelValueLayoutStyles_checkboxRadioLabelInnerStyles_startCheckboxSetWithoutTopUA__6098ei2",re="CheckboxRadioLabelValueLayoutStyles_checkboxRadioLabelInnerStyles_insideCheckboxSet__6098ei3";const de=({label:e,labelEdge:t,children:a,parentComponentVariant:o,labelStartWidth:l="33%",hasTopUserAssistance:n=!1})=>{const{baseTheme:i}=Y.useComponentTheme(Z.RadioRedwoodTheme),{baseTheme:r}=Y.useComponentTheme(te.CheckboxRedwoodTheme),{baseTheme:d}=Y.useComponentTheme(ee.LabelRedwoodTheme),{baseTheme:c}=Y.useComponentTheme(se.FormLayoutRedwoodTheme),b="radioSet"===o,h="checkboxSet"===o,u="start"===t,m="top"===t||"inside"===t,p="inside"===t,y=X.sizeToCSS(l),S=`calc(100% - ${y})`,x=u?{flexBasis:y,width:y,maxWidth:y}:{},C=u?{flexBasis:S,width:S,maxWidth:S}:{},{isFormLayout:A,isReadonly:T,labelWrapping:U}=K.useFormContext(),{isReadonly:F}=Q.useFormFieldContext(),f=A&&T||!A&&F,L=O.classNames([c,ae.labelSlotStyles.base,u&&ae.labelSlotStyles.start,m&&ae.labelSlotStyles.top,m&&n&&ae.labelSlotStyles.topAndTopUA,m&&f&&ae.labelSlotStyles.topPureReadonly]),R=O.classNames([b&&i,h&&r,d,c,ae.labelInnerStyles.base,u&&ae.labelInnerStyles.start,b&&p&&ne,h&&p&&re,b&&u&&!n&&le,h&&u&&!n&&ie,"truncate"===U&&ae.labelInnerStyles.noWrap]);return s.jsx(ae.StyledLabelValueLayout,{flexAlign:F&&u?"stretch":"start",labelStyleClasses:L,labelStyles:x,labelInnerClasses:R,label:e,valueStyles:C,children:a})},ce=t.forwardRef((({"aria-describedby":e,assistiveText:r,baseId:d,direction:c="column",columnSpan:b=1,hasValue:h,helpSourceLink:u,helpSourceText:p,isDisabled:y,isReadonly:S,isRequired:x,label:T,labelEdge:U,labelStartWidth:F="33%",parentComponentVariant:f,messages:L,userAssistanceDensity:R,role:w,children:_,testId:g},I=null)=>{const k=A.useTestId(g),N=`${g}-inline-user-assistance`,V=g?`${N}-top`:void 0,B=g?`${N}-bottom`:void 0,j=!(y||S||!r&&!u),v=!y&&!S,M=t.useRef(null),{groupProps:P,labelProps:W,topUserAssistanceProps:D,bottomUserAssistanceProps:H,readonlyId:$}=q.useCheckboxRadioField({ariaDescribedBy:e,baseId:d,isRequired:x,isReadonly:S,isDisabled:y,label:T,labelEdge:U,messages:L,hasValue:h,hasTopUserAssistance:j,hasBottomUserAssistance:v,parentComponentVariant:f}),O=o.useTranslationBundle("@oracle/oraclejet-preact").formControl_readOnly(),J="radioSet"===f;t.useImperativeHandle(I,(()=>({focus:()=>{if(!y){const e=M.current?.querySelectorAll("input")??[],s=Array.from(e).find((e=>e.checked));s?s.focus():e[0].focus()}},blur:()=>{M.current?.contains(document.activeElement)&&document.activeElement.blur()}})));const[K,Q]=a.useCollectionFocusRing(M,J?["ArrowUp","ArrowRight","ArrowDown","ArrowLeft"]:["Tab"]),X=s.jsxs(s.Fragment,{children:[j&&s.jsx("div",{id:`${d}-top-ua-container`,class:"start"===U?q.topUAContainerStyles.start:q.topUAContainerStyles.top,children:s.jsx(m.InlineUserAssistanceContainer,{...D,testId:V,children:s.jsx(i.InlineHelp,{assistiveText:r,sourceLink:u,sourceText:p})})}),s.jsx(l.Flex,{direction:c,..."row"===c&&{gap:[0,C.xUnits(8)],wrap:"wrap"},children:s.jsx(z.CheckboxRadioContext.Provider,{value:{isFocusRingShown:K},children:_})}),v?s.jsx(m.InlineUserAssistance,{...H,requiredAlignment:"start",messages:L,userAssistanceDensity:"reflow"===R?"reflow":"efficient",testId:B}):"reflow"===R?void 0:s.jsx(m.InlineUserAssistance,{id:H?.id,userAssistanceDensity:"efficient",testId:B})]}),Y=G.layoutSpanStyles.layoutSpanColumn[b];return s.jsxs("div",{role:w,ref:M,class:Y,...P,...Q,...k,children:["none"===U?X:s.jsx(de,{parentComponentVariant:f,hasTopUserAssistance:j,label:s.jsx(n.Label,{...W,variant:U,userAssistanceDensity:"efficient",parentComponentVariant:f,children:T}),labelEdge:U,labelStartWidth:F,children:X}),S&&s.jsx(E.HiddenAccessible,{id:$,isHidden:!0,children:O})]})}));e.CheckboxRadioField=ce}));
1
+ define(['exports', 'preact/jsx-runtime', 'preact/compat', './useCollectionFocusRing-9dab85a9', './useTranslationBundle-68275657', './Flex-b8764305', './Label-41b672b4', './InlineHelp-4f896a0a', './logger-0f873e29', './TabbableModeContext-a9c97640', 'preact/hooks', 'css!./UserAssistanceStyles.styles.css', 'module', './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css', './InlineUserAssistance-a97e0011', 'css!./MessageBannerStyles.styles.css', 'module', './UNSAFE_MessageBanner/themes/redwood/MessageBannerVariants.css', 'preact', './utils-32e81a13', './useTestId-0140aa44', './LayerHost-27dfba9e', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-36ddb881', 'css!./IconStyle.styles.css', './IconButton-368fba34', 'css!./MessageStyles.styles.css', './MessageFormattingUtils-2e19d8de', './TransitionGroup-3b9d81b6', './MessagesContext-602a69a2', './HiddenAccessible-037ef42d', 'css!./ComponentMessageStyles.styles.css', 'module', './UNSAFE_ComponentMessage/themes/redwood/ComponentMessageVariants.css', './FormFieldContext-3c44aaaa', './Popup-b0704743', './UNSAFE_Separator/themes/SeparatorStyles.css', 'css!./LabelStyles.styles.css', 'module', './UNSAFE_Label/themes/redwood/LabelVariants.css', 'module', './UNSAFE_Popup/themes/redwood/PopupVariants.css', './CheckboxRadioFieldStyles.css-681da2d3', './CheckboxRadioContext-6a0fead0', './LayoutStyles.css-c8bc984d', './classNames-08d99695', './FormContext-5130e198', './useFormContext-30acdd33', './useFormFieldContext-8196183c', './size-f0e638ec', './useComponentTheme-5aa41a8f', './UNSAFE_RadioItem/themes/redwood/RadioTheme', './UNSAFE_Label/themes/redwood/LabelTheme', './UNSAFE_TextField/themes/redwood/FormLayoutTheme', './UNSAFE_Checkbox/themes/redwood/CheckboxTheme', './StyledLabelValueLayout-0353a9b8', 'css!./CheckboxRadioLabelValueLayoutStyles.styles.css'], (function(e,s,t,a,o,l,n,i,r,d,c,b,h,u,m,p,y,S,x,C,A,T,U,F,L,R,w,f,_,g,I,k,E,N,V,B,j,v,M,P,W,D,H,$,q,z,G,O,J,K,Q,X,Y,Z,ee,se,te,ae,oe){"use strict";var le="CheckboxRadioLabelValueLayoutStyles_checkboxRadioLabelInnerStyles_startRadioSetWithoutTopUA__6098ei0",ne="CheckboxRadioLabelValueLayoutStyles_checkboxRadioLabelInnerStyles_insideRadioSet__6098ei1",ie="CheckboxRadioLabelValueLayoutStyles_checkboxRadioLabelInnerStyles_startCheckboxSetWithoutTopUA__6098ei2",re="CheckboxRadioLabelValueLayoutStyles_checkboxRadioLabelInnerStyles_insideCheckboxSet__6098ei3";const de=({label:e,labelEdge:t,children:a,parentComponentVariant:o,labelStartWidth:l="33%",hasTopUserAssistance:n=!1})=>{const{baseTheme:i}=Y.useComponentTheme(Z.RadioRedwoodTheme),{baseTheme:r}=Y.useComponentTheme(te.CheckboxRedwoodTheme),{baseTheme:d}=Y.useComponentTheme(ee.LabelRedwoodTheme),{baseTheme:c}=Y.useComponentTheme(se.FormLayoutRedwoodTheme),b="radioSet"===o,h="checkboxSet"===o,u="start"===t,m="top"===t||"inside"===t,p="inside"===t,y=X.sizeToCSS(l),S=`calc(100% - ${y})`,x=u?{flexBasis:y,width:y,maxWidth:y}:{},C=u?{flexBasis:S,width:S,maxWidth:S}:{},{isFormLayout:A,isReadonly:T,labelWrapping:U}=K.useFormContext(),{isReadonly:F}=Q.useFormFieldContext(),L=A&&T||!A&&F,R=O.classNames([c,ae.labelSlotStyles.base,u&&ae.labelSlotStyles.start,m&&ae.labelSlotStyles.top,m&&n&&ae.labelSlotStyles.topAndTopUA,m&&L&&ae.labelSlotStyles.topPureReadonly]),w=O.classNames([b&&i,h&&r,d,c,ae.labelInnerStyles.base,u&&ae.labelInnerStyles.start,b&&p&&ne,h&&p&&re,b&&u&&!n&&le,h&&u&&!n&&ie,"truncate"===U&&ae.labelInnerStyles.noWrap]);return s.jsx(ae.StyledLabelValueLayout,{flexAlign:F&&u?"stretch":"start",labelStyleClasses:R,labelStyles:x,labelInnerClasses:w,label:e,valueStyles:C,children:a})},ce=t.forwardRef((({"aria-describedby":e,assistiveText:r,baseId:d,direction:c="column",columnSpan:b=1,hasValue:h,helpSourceLink:u,helpSourceText:p,isDisabled:y,isReadonly:S,isRequired:x,label:T,labelEdge:U,labelStartWidth:F="33%",parentComponentVariant:L,messages:R,userAssistanceDensity:w,role:f,children:_,testId:g},I=null)=>{const k=A.useTestId(g),N=`${g}-inline-user-assistance`,V=g?`${N}-top`:void 0,B=g?`${N}-bottom`:void 0,j=!(y||S||!r&&!u),v=!y&&!S,M=t.useRef(null),{groupProps:P,labelProps:W,topUserAssistanceProps:D,bottomUserAssistanceProps:H,readonlyId:$}=q.useCheckboxRadioField({ariaDescribedBy:e,baseId:d,isRequired:x,isReadonly:S,isDisabled:y,label:T,labelEdge:U,messages:R,hasValue:h,hasTopUserAssistance:j,hasBottomUserAssistance:v,parentComponentVariant:L}),O=o.useTranslationBundle("@oracle/oraclejet-preact").formControl_readOnly(),J="radioSet"===L;t.useImperativeHandle(I,(()=>({focus:()=>{if(!y){const e=M.current?.querySelectorAll("input")??[],s=Array.from(e).find((e=>e.checked));s?s.focus():e[0].focus()}},blur:()=>{M.current?.contains(document.activeElement)&&document.activeElement.blur()}})));const[K,Q]=a.useCollectionFocusRing(M,J?["ArrowUp","ArrowRight","ArrowDown","ArrowLeft"]:["Tab"]),X=s.jsxs(s.Fragment,{children:[j&&s.jsx("div",{id:`${d}-top-ua-container`,class:"start"===U?q.topUAContainerStyles.start:q.topUAContainerStyles.top,children:s.jsx(m.InlineUserAssistanceContainer,{...D,testId:V,children:s.jsx(i.InlineHelp,{assistiveText:r,sourceLink:u,sourceText:p})})}),s.jsx(l.Flex,{direction:c,..."row"===c&&{gap:[0,C.xUnits(8)],wrap:"wrap"},children:s.jsx(z.CheckboxRadioContext.Provider,{value:{isFocusRingShown:K},children:_})}),v?s.jsx(m.InlineUserAssistance,{...H,requiredAlignment:"start",messages:R,userAssistanceDensity:"reflow"===w?"reflow":"efficient",testId:B}):"reflow"===w?void 0:s.jsx(m.InlineUserAssistance,{id:H?.id,userAssistanceDensity:"efficient",testId:B})]}),Y=G.layoutSpanStyles.layoutSpanColumn[b];return s.jsxs("div",{role:f,ref:M,class:Y,...P,...Q,...k,children:["none"===U?X:s.jsx(de,{parentComponentVariant:L,hasTopUserAssistance:j,label:s.jsx(n.Label,{...W,variant:U,userAssistanceDensity:"efficient",parentComponentVariant:L,children:T}),labelEdge:U,labelStartWidth:F,children:X}),S&&s.jsx(E.HiddenAccessible,{id:$,isHidden:!0,children:O})]})}));e.CheckboxRadioField=ce}));
2
2
  //# sourceMappingURL=CheckboxRadioField-1987c75d.js.map
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/jsx-runtime', './useActionable-d75af68a', 'preact/hooks', './TabbableModeContext-a9c97640', './useTabbableMode-dc440317', './UNSAFE_Chip/themes/ChipStyles.css', './useInteractionStyle-ee1dc0c0', './mergeProps-bcfa6a92', './useTestId-c286f212'], (function(e,s,a,t,i,o,l,r,c,n){"use strict";e.Chip=function({isSelected:e,isDisabled:i,"aria-label":d,children:b,testId:u,onToggle:p}){const v=t.useCallback((()=>{p?.({previousValue:e,value:!e})}),[e,p]),{actionableProps:h}=a.useActionable(v),{interactionProps:y,applyActiveStyle:S,applyHoverStyle:f,applyPseudoHoverStyle:H}=r.useInteractionStyle(),P=c.mergeProps(h,y),T=l.multiVariantStyles({disabled:i?"isDisabled":"notDisabled",hover:!f||i||e?"notHover":"isHover",pseudoHover:!H||i||e?"notPseudoHover":"isPseudoHover",active:e||S?"isActive":"notActive"}),{isTabbable:x}=o.useTabbableMode(),A=n.useTestId(u);return i?s.jsx("div",{class:T,...A,children:b}):s.jsx("div",{...P,class:T,...A,tabIndex:x?0:-1,"aria-label":d,role:"switch","aria-checked":e?"true":"false",children:b})}}));
1
+ define(['exports', 'preact/jsx-runtime', './useActionable-d75af68a', 'preact/hooks', './TabbableModeContext-a9c97640', './useTabbableMode-dc440317', './UNSAFE_Chip/themes/ChipStyles.css', './useInteractionStyle-ee1dc0c0', './mergeProps-bcfa6a92', './useTestId-0140aa44'], (function(e,s,a,t,i,o,l,r,c,n){"use strict";e.Chip=function({isSelected:e,isDisabled:i,"aria-label":d,children:b,testId:u,onToggle:p}){const v=t.useCallback((()=>{p?.({previousValue:e,value:!e})}),[e,p]),{actionableProps:h}=a.useActionable(v),{interactionProps:y,applyActiveStyle:S,applyHoverStyle:H,applyPseudoHoverStyle:P}=r.useInteractionStyle(),T=c.mergeProps(h,y),f=l.multiVariantStyles({disabled:i?"isDisabled":"notDisabled",hover:!H||i||e?"notHover":"isHover",pseudoHover:!P||i||e?"notPseudoHover":"isPseudoHover",active:e||S?"isActive":"notActive"}),{isTabbable:x}=o.useTabbableMode(),A=n.useTestId(u);return i?s.jsx("div",{class:f,...A,children:b}):s.jsx("div",{...T,class:f,...A,tabIndex:x?0:-1,"aria-label":d,role:"switch","aria-checked":e?"true":"false",children:b})}}));
2
2
  //# sourceMappingURL=Chip-1bcbf57e.js.map
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/jsx-runtime', './useTranslationBundle-7c40cb58', './IconButton-368fba34', './DeleteCircleS-79c5ff5c', './TabbableModeContext-a9c97640', 'preact/hooks'], (function(e,t,n,o,r,c,a){"use strict";e.ClearIcon=function({onClick:e,testId:a}){const i=n.useTranslationBundle("@oracle/oraclejet-preact").formControl_clear();return t.jsx(c.TabbableModeContext.Provider,{value:{isTabbable:!1},children:t.jsx("div",{"aria-hidden":"true",children:t.jsx(o.IconButton,{variant:"ghost",size:"sm",onAction:e,tooltip:i,testId:a,children:t.jsx(r.SvgDeleteCircleS,{})})})})}}));
1
+ define(['exports', 'preact/jsx-runtime', './useTranslationBundle-68275657', './IconButton-368fba34', './DeleteCircleS-79c5ff5c', './TabbableModeContext-a9c97640', 'preact/hooks'], (function(e,t,n,o,r,a,c){"use strict";e.ClearIcon=function({onClick:e,testId:c}){const i=n.useTranslationBundle("@oracle/oraclejet-preact").formControl_clear();return t.jsx(a.TabbableModeContext.Provider,{value:{isTabbable:!1},children:t.jsx("div",{"aria-hidden":"true",children:t.jsx(o.IconButton,{variant:"ghost",size:"sm",onAction:e,tooltip:i,testId:c,children:t.jsx(r.SvgDeleteCircleS,{})})})})}}));
2
2
  //# sourceMappingURL=ClearIcon-d73689cc.js.map
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/jsx-runtime', './ChevronRight-a81a35fd', './withDirectionIcon-6df16f77'], (function(t,e,n,i){"use strict";t.CollapseIcon=t=>{const o=i.withDirectionIcon(n.SvgChevronRight,n.SvgChevronLeft);return e.jsx(o,{...t})}}));
1
+ define(['exports', 'preact/jsx-runtime', './ChevronRight-a81a35fd', './withDirectionIcon-754809be'], (function(e,t,n,i){"use strict";e.CollapseIcon=e=>{const o=i.withDirectionIcon(n.SvgChevronRight,n.SvgChevronLeft);return t.jsx(o,{...e})}}));
2
2
  //# sourceMappingURL=CollapseIcon-a7f8693d.js.map
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/jsx-runtime', 'preact/hooks', './useId-c9578d26', 'preact', './classNames-08d99695', './useComponentTheme-5aa41a8f', './TabbableModeContext-a9c97640', './useTabbableMode-dc440317', './Flex-590160eb', './Separator-181f7541', './ChevronDown-502b16f2', './CollapseIcon-a7f8693d', './ChevronUp-833277c0', './UNSAFE_Collapsible/themes/redwood/CollapsibleTheme', './useAnimation-5a74955f', './useTestId-c286f212'], (function(e,n,a,s,i,o,t,l,d,r,c,u,b,p,h,x,m){"use strict";const g=({isExpanded:e,isDisabled:a,iconPosition:s})=>{const i=a?"disabled":"primary",o="start"===s&&e?u.SvgChevronDown:b.CollapseIcon,t="end"===s&&e?p.SvgChevronUp:u.SvgChevronDown,l="start"===s?o:t;return n.jsx(l,{size:"6x",color:i})},v={isDisabled:!1};const C=({children:e,id:s,contentId:l,isDisabled:u,isExpanded:b,iconPosition:p,variant:x="basic",toggleHandler:m,accessibleLabel:C,accessibleLabelId:f})=>{const[S,E]=a.useState(!1),j=a.useRef(!1),{isTabbable:y}=d.useTabbableMode(),{classes:D,styles:T}=t.useComponentTheme(h.CollapsibleRedwoodTheme,{disabled:u?"isDisabled":"notDisabled",divider:"horizontal-rule"===x?"hasDivider":"noDivider",focused:S?"isFocused":"notFocused"}),w=o.classNames([T.headerChildrenStyle,"end"===p&&T.iconEndStyle,"start"===p&&T.iconStartStyle]),I=a.useCallback((e=>{if(m(e.target),S){(window&&"PointerEvent"in window&&e instanceof PointerEvent||e instanceof MouseEvent)&&E(!1)}}),[m,S]),{pressProps:H}=function(e,n=v){const[s,i]=a.useState(!1),o=a.useMemo((()=>({...v,...n})),[n]),t=a.useCallback((e=>{"Space"!==e.code&&"Enter"!==e.code||i(!0)}),[i]),l=a.useCallback((n=>{"Space"!==n.code&&"Enter"!==n.code||(i(!1),n.preventDefault(),e(n))}),[e,i]),d=a.useCallback((()=>{i(!1)}),[i]),r=a.useCallback((n=>{n.stopPropagation(),s||e(n)}),[e,s]);return{pressProps:o.isDisabled?{}:{onKeyDown:t,onKeyUp:l,onBlur:d,onClick:r}}}(I,{isDisabled:u}),k=a.useCallback((e=>{"focusin"!==e.type||j.current?E(!1):E(!0)}),[]),P=()=>{j.current=!0},N=()=>{j.current=!1},F=C?{"aria-label":C}:f?{"aria-labelledby":f}:{"aria-labelledby":s};return n.jsxs(n.Fragment,{children:[n.jsx("div",{id:s,className:D,...H,children:n.jsx(r.Flex,{align:"center",justify:"start"===p?"start":"between",children:n.jsxs(i.Fragment,{children:["end"===p&&n.jsx("div",{className:w,children:e}),n.jsx("div",{tabIndex:y&&!u?0:-1,role:"button","aria-controls":l,"aria-expanded":b,onFocus:k,onBlur:k,onMouseDown:P,onMouseUp:N,className:T.chevronStyle,...F,children:n.jsx(g,{iconPosition:p,isExpanded:b,isDisabled:u})}),"start"===p&&n.jsx("div",{className:w,children:e})]})})}),"horizontal-rule"===x&&n.jsx(c.Separator,{})]})},f=({children:e,id:s,isExpanded:i,onTransitionEnd:l})=>{const[d,r]=a.useState(i?"expanding":"unmounted"),{styles:c}=t.useComponentTheme(h.CollapsibleRedwoodTheme),u=a.useRef({overflowY:"hidden",maxHeight:i?"none":"0"}),b=o.classNames([c.contentChildrenStyle,"unmounted"===d&&c.contentHiddenStyle]);a.useEffect((()=>{("unmounted"!==d||i)&&r(i?"expanding":"collapsing")}),[i,d]);const{nodeRef:p}=x.useAnimation(d,{animationStates:S,onAnimationEnd:({animationState:e})=>{"collapsing"===e&&r("unmounted"),l?.()}});return n.jsx("div",{className:b,ref:p,id:s,tabIndex:-1,style:u.current,"aria-hidden":!i||void 0,children:e})},S={expanding:e=>({to:{maxHeight:`${e.scrollHeight}px`},options:{duration:400},end:{maxHeight:"none"}}),collapsing:e=>({..."none"===e.style.maxHeight&&{from:{maxHeight:`${e.scrollHeight}px`}},to:{maxHeight:"0"},options:{duration:400}})};e.Collapsible=({header:e,children:i,isDisabled:o=!1,isExpanded:t=!1,iconPosition:l="start",variant:d="basic",onToggle:r,onTransitionEnd:c,"aria-label":u,"aria-labelledby":b,testId:p})=>{const h=s.useId(),x=`oj-collapsible-header-${h}`,g=`oj-collapsible-content-${h}`,v=m.useTestId(p),S=a.useCallback((e=>{o||r?.({value:!t,target:e})}),[o,r,t]),E=a.useCallback((()=>{c?.({value:t})}),[c,t]);return n.jsxs("div",{...v,children:[n.jsx(C,{id:x,contentId:g,toggleHandler:S,isDisabled:o,isExpanded:t,iconPosition:l,variant:d,accessibleLabel:u,accessibleLabelId:b,children:e}),n.jsx(f,{id:g,isExpanded:t,onTransitionEnd:E,children:i})]})}}));
1
+ define(['exports', 'preact/jsx-runtime', 'preact/hooks', './useId-c9578d26', 'preact', './classNames-08d99695', './useComponentTheme-5aa41a8f', './TabbableModeContext-a9c97640', './useTabbableMode-dc440317', './Flex-b8764305', './Separator-181f7541', './ChevronDown-502b16f2', './CollapseIcon-a7f8693d', './ChevronUp-833277c0', './UNSAFE_Collapsible/themes/redwood/CollapsibleTheme', './useAnimation-5a74955f', './useTestId-0140aa44'], (function(e,n,a,s,i,o,t,l,d,r,c,u,b,p,h,x,m){"use strict";const g=({isExpanded:e,isDisabled:a,iconPosition:s})=>{const i=a?"disabled":"primary",o="start"===s&&e?u.SvgChevronDown:b.CollapseIcon,t="end"===s&&e?p.SvgChevronUp:u.SvgChevronDown,l="start"===s?o:t;return n.jsx(l,{size:"6x",color:i})},v={isDisabled:!1};const C=({children:e,id:s,contentId:l,isDisabled:u,isExpanded:b,iconPosition:p,variant:x="basic",toggleHandler:m,accessibleLabel:C,accessibleLabelId:f})=>{const[S,E]=a.useState(!1),j=a.useRef(!1),{isTabbable:y}=d.useTabbableMode(),{classes:D,styles:T}=t.useComponentTheme(h.CollapsibleRedwoodTheme,{disabled:u?"isDisabled":"notDisabled",divider:"horizontal-rule"===x?"hasDivider":"noDivider",focused:S?"isFocused":"notFocused"}),w=o.classNames([T.headerChildrenStyle,"end"===p&&T.iconEndStyle,"start"===p&&T.iconStartStyle]),I=a.useCallback((e=>{if(m(e.target),S){(window&&"PointerEvent"in window&&e instanceof PointerEvent||e instanceof MouseEvent)&&E(!1)}}),[m,S]),{pressProps:H}=function(e,n=v){const[s,i]=a.useState(!1),o=a.useMemo((()=>({...v,...n})),[n]),t=a.useCallback((e=>{"Space"!==e.code&&"Enter"!==e.code||i(!0)}),[i]),l=a.useCallback((n=>{"Space"!==n.code&&"Enter"!==n.code||(i(!1),n.preventDefault(),e(n))}),[e,i]),d=a.useCallback((()=>{i(!1)}),[i]),r=a.useCallback((n=>{n.stopPropagation(),s||e(n)}),[e,s]);return{pressProps:o.isDisabled?{}:{onKeyDown:t,onKeyUp:l,onBlur:d,onClick:r}}}(I,{isDisabled:u}),k=a.useCallback((e=>{"focusin"!==e.type||j.current?E(!1):E(!0)}),[]),P=()=>{j.current=!0},N=()=>{j.current=!1},F=C?{"aria-label":C}:f?{"aria-labelledby":f}:{"aria-labelledby":s};return n.jsxs(n.Fragment,{children:[n.jsx("div",{id:s,className:D,...H,children:n.jsx(r.Flex,{align:"center",justify:"start"===p?"start":"between",children:n.jsxs(i.Fragment,{children:["end"===p&&n.jsx("div",{className:w,children:e}),n.jsx("div",{tabIndex:y&&!u?0:-1,role:"button","aria-controls":l,"aria-expanded":b,onFocus:k,onBlur:k,onMouseDown:P,onMouseUp:N,className:T.chevronStyle,...F,children:n.jsx(g,{iconPosition:p,isExpanded:b,isDisabled:u})}),"start"===p&&n.jsx("div",{className:w,children:e})]})})}),"horizontal-rule"===x&&n.jsx(c.Separator,{})]})},f=({children:e,id:s,isExpanded:i,onTransitionEnd:l})=>{const[d,r]=a.useState(i?"expanding":"unmounted"),{styles:c}=t.useComponentTheme(h.CollapsibleRedwoodTheme),u=a.useRef({overflowY:"hidden",maxHeight:i?"none":"0"}),b=o.classNames([c.contentChildrenStyle,"unmounted"===d&&c.contentHiddenStyle]);a.useEffect((()=>{("unmounted"!==d||i)&&r(i?"expanding":"collapsing")}),[i,d]);const{nodeRef:p}=x.useAnimation(d,{animationStates:S,onAnimationEnd:({animationState:e})=>{"collapsing"===e&&r("unmounted"),l?.()}});return n.jsx("div",{className:b,ref:p,id:s,tabIndex:-1,style:u.current,"aria-hidden":!i||void 0,children:e})},S={expanding:e=>({to:{maxHeight:`${e.scrollHeight}px`},options:{duration:400},end:{maxHeight:"none"}}),collapsing:e=>({..."none"===e.style.maxHeight&&{from:{maxHeight:`${e.scrollHeight}px`}},to:{maxHeight:"0"},options:{duration:400}})};e.Collapsible=({header:e,children:i,isDisabled:o=!1,isExpanded:t=!1,iconPosition:l="start",variant:d="basic",onToggle:r,onTransitionEnd:c,"aria-label":u,"aria-labelledby":b,testId:p})=>{const h=s.useId(),x=`oj-collapsible-header-${h}`,g=`oj-collapsible-content-${h}`,v=m.useTestId(p),S=a.useCallback((e=>{o||r?.({value:!t,target:e})}),[o,r,t]),E=a.useCallback((()=>{c?.({value:t})}),[c,t]);return n.jsxs("div",{...v,children:[n.jsx(C,{id:x,contentId:g,toggleHandler:S,isDisabled:o,isExpanded:t,iconPosition:l,variant:d,accessibleLabel:u,accessibleLabelId:b,children:e}),n.jsx(f,{id:g,isExpanded:t,onTransitionEnd:E,children:i})]})}}));
2
2
  //# sourceMappingURL=Collapsible-ea0dca8a.js.map
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/jsx-runtime', './layoutUtils-4304ffe4', './chartUtils-a85dd8f3', './useChartDnd-44674b7d', './LineSeries-ce197af6', './dataStyleUtils-a0ecedd5', './useUser-797287de', './colorUtils-bc5b1d84', './accUtils-93ee6f16', './Common/themes/themeContract.css', './BarGroup-d6909cb1', './Chart-79cfc878'], (function(e,t,i,r,s,o,n,a,d,l,c,g,h){"use strict";function p(e){return t.jsx(x,{datatip:()=>({content:""}),zoomAndScroll:"off",plotArea:{yMajorTick:{isRendered:!1},xMajorTick:{}},xAxis:{tickLabel:{autoRotate:!1,isRendered:!!e.xAxis?.timeAxisType}},series:e.series,groups:e.groups,getDataItem:e.getDataItem,yAxis:{tickLabel:{isRendered:!1}},overview:"off"})}const I=.5,m=.2,u=.2;function x({width:e,height:l,selectedIds:x=[],hiddenIds:f=[],highlightedIds:y,hideAndShowBehavior:S="none",orientation:v="vertical",yAxis:C,series:b,groups:A,isStacked:D=!1,getDataItem:T,selectionMode:L="none",drilling:k="off",dataItemGaps:j=.5,dataLabelEffect:M="outline",...R}){const{direction:w,forcedColors:U}=a.useUser(),W="active"===U,z=b.filter((e=>"bar"===e.type)),E="rtl"===w,G="log"===C?.scale,B=R.xAxis?.timeAxisType,F=new Set(f),P=new Set(x),H=new Set(y),N="horizontal"===v,q=d.getColorRamp(),O=s.getSeriesData(b.length,A.length,T,F,G),V=O.some(((e,t)=>"area"===b[t].type||"lineWithArea"===b[t].type)),J=O.some(((e,t)=>"bar"===b[t].type)),K=(e,t)=>D?{...T(e,t),value:O[e][t]}:T(e,t),Q=s.getMarkers(),X=[];return t.jsx(h.Chart,{width:e,height:l,selectedIds:P,hiddenIds:f,hideAndShowBehavior:S,orientation:v,yAxis:C,series:b,defaultOverviewContentRenderer:()=>t.jsx(p,{groups:A,series:b,getDataItem:T}),groups:A,selectionMode:L,drilling:k,isStacked:D,getDataItem:T,findNearest:(e,t)=>i.findNearestDataPoint(b,A,e,t,K,D,(()=>({offset:0,dataWidth:0})),((e,t)=>t.transform(e)),G,0,F,B),getDataItemPos:(e,t,i,s)=>{const o=J?g.getBarPosition(z,A,T,e,t,F,j,i,s,"log"===C?.scale,D,E,N,B):void 0;return(i,s)=>"bar"===b[i].type?o?o(i,s):void 0:r.getLineAreaChartItemPosition(i,s,O,T,A,N,e,t,B)},getMarkerInfo:(e,t)=>({color:n.getItemColor(e,t,b,T),markerType:n.getMarkerType(e,t,T)}),renderGridLinesInFront:V,getNavUtil:(e,t)=>n.getLineAreaChartNavUtil(T,b.length,e,t,D,E,N),getGapRatio:()=>1,offset:J?I:m,isRtl:E,...R,children:({xStartIndex:e,xEndIndex:i,xScale:n,yScale:a,activeId:d,focusedItemInfo:l,hoveredItemInfo:h,isPointInsideMarquee:p,getTextDimensions:I,defaultFontSize:m,groupWidth:x})=>{let f=-1;return t.jsx(t.Fragment,{children:O.map(((S,w)=>{const U=b[w],V="lineWithArea"===U.type?u:1,J="area"===U.type||"lineWithArea"===U.type,Y="area"===U.type;if(0===S.length)return;const Z=s.getLineAreaSegments(a,n,S,e,i,N,G,A,w,K,B);X[w]=Z[0];const $="bar"!==U.type?"curved"===U.lineType&&D&&O.length>1&&w>0:D&&O.length>1&&w>0,_=void 0===y||0===H.size||H.has(U.id),ee=D&&0!=w?X.reduce(((e,t,i)=>i>=w?e:t.length>0?i:e),0):void 0;return"bar"===U.type&&(f+=1),t.jsxs(t.Fragment,{children:["bar"===U.type&&A.slice(e,i+1).map(((r,s)=>t.jsx(g.BarGroup,{yScale:a,xScale:n,groupIndex:s+e,selectedIds:P,hiddenIds:F,highlightedIds:y?H:y,isDrillEnabled:"on"===k,series:z,barGapRatio:g.getBarGapRatio(D,e,i),dataItemGaps:j,isPointInsideMarquee:p,isStacked:D,groupWidth:x,group:A[s],timeAxisType:R.xAxis?.timeAxisType,colors:q,activeId:d,isLog:"log"===C?.scale,orientation:v,getDataItem:T,isSelectionEnabled:"none"!=L,isRtl:E,focusedItemInfo:l,hoveredItemInfo:h,getTextDimensions:I,defaultFontSize:m,seriesIndex:f}))),J&&t.jsx(r.AreaSeries,{yScale:a,lineType:U.lineType,color:U.areaColor||q[w%q.length],isHorizontal:N,areaColorOpacity:V,isBottomSegmentCurved:$,bottomCoords:void 0!==ee&&X[ee].some((e=>null!=e))?X[ee]:void 0,lineSegments:Z,isLog:G,isHighlighted:_,seriesIndex:w}),"line"===U.type&&t.jsx(o.LineSeries,{lineType:U.lineType,lineColor:Y?c.colorSchemeVars.dvt.contrastLine:U.lineColor,lineWidth:Y?1.25:U.lineWidth,lineStyle:U.lineStyle||"solid",color:U.lineColor||q[w%q.length],lineSegmentCoords:Z,isHorizontal:N,isHighlighted:_,seriesIndex:w}),!D&&("line"===U.type||J)&&t.jsx(o.MarkersWithLabel,{yScale:a,xScale:n,groups:A,series:U,timeAxisType:B,color:q[w%q.length],seriesIndex:w,startIndex:e,endIndex:i,markerType:Q[w%Q.length],orientation:v,isLog:G,activeId:d,getDataItem:T,isPointInsideMarquee:p,selectedIds:P,focusedItemIndex:l.seriesIndex!==w||!l.isFocusVisible||R.isDataCursorEnabled&&R.dataCursorStyle?.isMarkerDisplayed?void 0:l.groupIndex,hoveredItemIndex:h?.isCurrent&&h.seriesIndex===w?h.groupIndex:void 0,isSelectionEnabled:"single"===L||"multiple"===L,isDrillEnabled:"on"===k,defaultFontSize:m,dataLabelEffect:M,isHighContrast:W})]})}))})}})}e.ComboChart=x}));
2
- //# sourceMappingURL=ComboChart-72eda15f.js.map
1
+ define(['exports', 'preact/jsx-runtime', './layoutUtils-4304ffe4', './chartUtils-a85dd8f3', './useChartDnd-44674b7d', './LineSeries-fe392d85', './dataStyleUtils-a0ecedd5', './useUser-e8dd7f7c', './colorUtils-bc5b1d84', './accUtils-93ee6f16', './Common/themes/themeContract.css', './BarGroup-d6909cb1', './Chart-87ae799b'], (function(e,t,i,r,s,o,n,a,d,l,c,g,h){"use strict";function p(e){return t.jsx(x,{datatip:()=>({content:""}),zoomAndScroll:"off",plotArea:{yMajorTick:{isRendered:!1},xMajorTick:{}},xAxis:{tickLabel:{autoRotate:!1,isRendered:!!e.xAxis?.timeAxisType}},series:e.series,groups:e.groups,getDataItem:e.getDataItem,yAxis:{tickLabel:{isRendered:!1}},overview:"off"})}const I=.5,m=.2,u=.2;function x({width:e,height:l,selectedIds:x=[],hiddenIds:f=[],highlightedIds:y,hideAndShowBehavior:S="none",orientation:v="vertical",yAxis:b,series:C,groups:A,isStacked:D=!1,getDataItem:T,selectionMode:L="none",drilling:k="off",dataItemGaps:j=.5,dataLabelEffect:M="outline",...R}){const{direction:w,forcedColors:U}=a.useUser(),W="active"===U,z=C.filter((e=>"bar"===e.type)),E="rtl"===w,G="log"===b?.scale,B=R.xAxis?.timeAxisType,F=new Set(f),P=new Set(x),H=new Set(y),N="horizontal"===v,q=d.getColorRamp(),O=s.getSeriesData(C.length,A.length,T,F,G),V=O.some(((e,t)=>"area"===C[t].type||"lineWithArea"===C[t].type)),J=O.some(((e,t)=>"bar"===C[t].type)),K=(e,t)=>D?{...T(e,t),value:O[e][t]}:T(e,t),Q=s.getMarkers(),X=[];return t.jsx(h.Chart,{width:e,height:l,selectedIds:P,hiddenIds:f,hideAndShowBehavior:S,orientation:v,yAxis:b,series:C,defaultOverviewContentRenderer:()=>t.jsx(p,{groups:A,series:C,getDataItem:T}),groups:A,selectionMode:L,drilling:k,isStacked:D,getDataItem:T,findNearest:(e,t)=>i.findNearestDataPoint(C,A,e,t,K,D,(()=>({offset:0,dataWidth:0})),((e,t)=>t.transform(e)),G,0,F,B),getDataItemPos:(e,t,i,s)=>{const o=J?g.getBarPosition(z,A,T,e,t,F,j,i,s,"log"===b?.scale,D,E,N,B):void 0;return(i,s)=>"bar"===C[i].type?o?o(i,s):void 0:r.getLineAreaChartItemPosition(i,s,O,T,A,N,e,t,B)},getMarkerInfo:(e,t)=>({color:n.getItemColor(e,t,C,T),markerType:n.getMarkerType(e,t,T)}),renderGridLinesInFront:V,getNavUtil:(e,t)=>n.getLineAreaChartNavUtil(T,C.length,e,t,D,E,N),getGapRatio:()=>1,offset:J?I:m,isRtl:E,...R,children:({xStartIndex:e,xEndIndex:i,xScale:n,yScale:a,activeId:d,focusedItemInfo:l,hoveredItemInfo:h,isPointInsideMarquee:p,getTextDimensions:I,defaultFontSize:m,groupWidth:x})=>{let f=-1;return t.jsx(t.Fragment,{children:O.map(((S,w)=>{const U=C[w],V="lineWithArea"===U.type?u:1,J="area"===U.type||"lineWithArea"===U.type,Y="area"===U.type;if(0===S.length)return;const Z=s.getLineAreaSegments(a,n,S,e,i,N,G,A,w,K,B);X[w]=Z[0];const $="bar"!==U.type?"curved"===U.lineType&&D&&O.length>1&&w>0:D&&O.length>1&&w>0,_=void 0===y||0===H.size||H.has(U.id),ee=D&&0!=w?X.reduce(((e,t,i)=>i>=w?e:t.length>0?i:e),0):void 0;return"bar"===U.type&&(f+=1),t.jsxs(t.Fragment,{children:["bar"===U.type&&A.slice(e,i+1).map(((r,s)=>t.jsx(g.BarGroup,{yScale:a,xScale:n,groupIndex:s+e,selectedIds:P,hiddenIds:F,highlightedIds:y?H:y,isDrillEnabled:"on"===k,series:z,barGapRatio:g.getBarGapRatio(D,e,i),dataItemGaps:j,isPointInsideMarquee:p,isStacked:D,groupWidth:x,group:A[s],timeAxisType:R.xAxis?.timeAxisType,colors:q,activeId:d,isLog:"log"===b?.scale,orientation:v,getDataItem:T,isSelectionEnabled:"none"!=L,isRtl:E,focusedItemInfo:l,hoveredItemInfo:h,getTextDimensions:I,defaultFontSize:m,seriesIndex:f}))),J&&t.jsx(r.AreaSeries,{yScale:a,lineType:U.lineType,color:U.areaColor||q[w%q.length],isHorizontal:N,areaColorOpacity:V,isBottomSegmentCurved:$,bottomCoords:void 0!==ee&&X[ee].some((e=>null!=e))?X[ee]:void 0,lineSegments:Z,isLog:G,isHighlighted:_,seriesIndex:w}),"line"===U.type&&t.jsx(o.LineSeries,{lineType:U.lineType,lineColor:Y?c.colorSchemeVars.dvt.contrastLine:U.lineColor,lineWidth:Y?1.25:U.lineWidth,lineStyle:U.lineStyle||"solid",color:U.lineColor||q[w%q.length],lineSegmentCoords:Z,isHorizontal:N,isHighlighted:_,seriesIndex:w}),!D&&("line"===U.type||J)&&t.jsx(o.MarkersWithLabel,{yScale:a,xScale:n,groups:A,series:U,timeAxisType:B,color:q[w%q.length],seriesIndex:w,startIndex:e,endIndex:i,markerType:Q[w%Q.length],orientation:v,isLog:G,activeId:d,getDataItem:T,isPointInsideMarquee:p,selectedIds:P,focusedItemIndex:l.seriesIndex!==w||!l.isFocusVisible||R.isDataCursorEnabled&&R.dataCursorStyle?.isMarkerDisplayed?void 0:l.groupIndex,hoveredItemIndex:h?.isCurrent&&h.seriesIndex===w?h.groupIndex:void 0,isSelectionEnabled:"single"===L||"multiple"===L,isDrillEnabled:"on"===k,defaultFontSize:m,dataLabelEffect:M,isHighContrast:W})]})}))})}})}e.ComboChart=x}));
2
+ //# sourceMappingURL=ComboChart-79e7d438.js.map