@oracle/oraclejet-preact 17.1.2 → 17.1.3

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 (1035) hide show
  1. package/amd/ActionCard-01322111.js +1 -1
  2. package/amd/{BarChart-aba4a793.js → BarChart-b75423c1.js} +2 -2
  3. package/amd/{BarChart-aba4a793.js.map → BarChart-b75423c1.js.map} +1 -1
  4. package/amd/BaseButton-51e50f77.js +1 -1
  5. package/amd/{BaseCardView-a11e4dec.js → BaseCardView-c5624c8a.js} +2 -2
  6. package/amd/{BaseCardView-a11e4dec.js.map → BaseCardView-c5624c8a.js.map} +1 -1
  7. package/amd/{BaseCardViewSelectionTest-9627e4ab.js → BaseCardViewSelectionTest-b80dd91b.js} +2 -2
  8. package/amd/{BaseCardViewSelectionTest-9627e4ab.js.map → BaseCardViewSelectionTest-b80dd91b.js.map} +1 -1
  9. package/amd/BaseNavigationListItem-368284be.js +1 -1
  10. package/amd/ButtonSet-c389d5c7.js +1 -1
  11. package/amd/ButtonSetIconButton-141a8745.js +1 -1
  12. package/amd/CardFlexView-14fada63.js +2 -0
  13. package/amd/{CardFlexView-9688d264.js.map → CardFlexView-14fada63.js.map} +1 -1
  14. package/amd/{CardGridView-b7f4f205.js → CardGridView-00ba53a9.js} +2 -2
  15. package/amd/{CardGridView-b7f4f205.js.map → CardGridView-00ba53a9.js.map} +1 -1
  16. package/amd/{Center-b449a95c.js → Center-9ec5524e.js} +2 -2
  17. package/amd/{Center-b449a95c.js.map → Center-9ec5524e.js.map} +1 -1
  18. package/amd/{Chart-1046ac5b.js → Chart-96ea9fed.js} +2 -2
  19. package/amd/{Chart-1046ac5b.js.map → Chart-96ea9fed.js.map} +1 -1
  20. package/amd/CheckboxControl-74a7fead.js +1 -1
  21. package/amd/CheckboxRadioField-005a110c.js +1 -1
  22. package/amd/CheckboxSetContext-2e486ea8.js +2 -0
  23. package/amd/CheckboxSetContext-2e486ea8.js.map +1 -0
  24. package/amd/Chip-3062b3d3.js +1 -1
  25. package/amd/ClearIcon-c13664cd.js +1 -1
  26. package/amd/CollapseIcon-38899da0.js +1 -1
  27. package/amd/Collapsible-ba4eef8f.js +1 -1
  28. package/amd/CompactHelpSource-be790e15.js +1 -1
  29. package/amd/CompactLabelAssistance-bc14e060.js +2 -0
  30. package/amd/{CompactLabelAssistance-7db2fde2.js.map → CompactLabelAssistance-bc14e060.js.map} +1 -1
  31. package/amd/CompactUserAssistance-a7b3ffc0.js +1 -1
  32. package/amd/ComponentMessageContainer-3b691959.js +1 -1
  33. package/amd/ConveyorBeltItem-bc128f62.js +1 -1
  34. package/amd/{DatePicker-d7802b3e.js → DatePicker-dd358026.js} +2 -2
  35. package/amd/{DatePicker-d7802b3e.js.map → DatePicker-dd358026.js.map} +1 -1
  36. package/amd/DatePickerHeader-c03ca6b4.js +1 -1
  37. package/amd/{Diagram-14fd94c3.js → Diagram-1b48168a.js} +2 -2
  38. package/amd/{Diagram-14fd94c3.js.map → Diagram-1b48168a.js.map} +1 -1
  39. package/amd/{Dialog-f6da299c.js → Dialog-c34f9e89.js} +2 -2
  40. package/amd/{Dialog-f6da299c.js.map → Dialog-c34f9e89.js.map} +1 -1
  41. package/amd/DirectionalCollapseArrowIcon-1c72e459.js +1 -1
  42. package/amd/DirectionalExpandArrowIcon-198cec2b.js +1 -1
  43. package/amd/DragHandle-e4959d2b.js +1 -1
  44. package/amd/{Dropdown-5f68516d.js → Dropdown-b36aa071.js} +2 -2
  45. package/amd/{Dropdown-5f68516d.js.map → Dropdown-b36aa071.js.map} +1 -1
  46. package/amd/{EnvironmentProvider-8f6fc388.js → EnvironmentProvider-c0e1e39b.js} +2 -2
  47. package/amd/{EnvironmentProvider-8f6fc388.js.map → EnvironmentProvider-c0e1e39b.js.map} +1 -1
  48. package/amd/FilePicker-e13f405f.js +1 -1
  49. package/amd/Flex-3421f0df.js +2 -0
  50. package/amd/{Flex-56ecdf4c.js.map → Flex-3421f0df.js.map} +1 -1
  51. package/amd/{Floating-a658b79c.js → Floating-25e0092b.js} +2 -2
  52. package/amd/{Floating-a658b79c.js.map → Floating-25e0092b.js.map} +1 -1
  53. package/amd/FormLayout-c6f1fdff.js +1 -1
  54. package/amd/Gantt-7be8d8bc.js +1 -1
  55. package/amd/{Grid-160f4885.js → Grid-8911aa0f.js} +2 -2
  56. package/amd/{Grid-160f4885.js.map → Grid-8911aa0f.js.map} +1 -1
  57. package/amd/{Gridlines-b1d59999.js → Gridlines-071ff524.js} +2 -2
  58. package/amd/{Gridlines-b1d59999.js.map → Gridlines-071ff524.js.map} +1 -1
  59. package/amd/GroupLoadingIndicator-cd9192c9.js +1 -1
  60. package/amd/HighlightText-644bc74e.js +2 -0
  61. package/amd/{HighlightText-bd4c0101.js.map → HighlightText-644bc74e.js.map} +1 -1
  62. package/amd/Icon-2d805acb.js +1 -1
  63. package/amd/IconButton-81c8463f.js +1 -1
  64. package/amd/IconMenuButton-3e3db121.js +1 -1
  65. package/amd/IconProgressButton-04979469.js +1 -1
  66. package/amd/IconSwitchButton-bc007cbd.js +1 -1
  67. package/amd/IconToggleButton-28960894.js +1 -1
  68. package/amd/{IconUserAssistance-2f809060.js → IconUserAssistance-dda606e6.js} +2 -2
  69. package/amd/{IconUserAssistance-2f809060.js.map → IconUserAssistance-dda606e6.js.map} +1 -1
  70. package/amd/{Indexer-6833ad40.js → Indexer-74c989ce.js} +2 -2
  71. package/amd/{Indexer-6833ad40.js.map → Indexer-74c989ce.js.map} +1 -1
  72. package/amd/InlineHelpSource-85961e81.js +1 -1
  73. package/amd/InlineUserAssistance-2a480664.js +1 -1
  74. package/amd/InputDateMask-9aba967d.js +1 -1
  75. package/amd/InputDatePicker-6167ff45.js +1 -1
  76. package/amd/InputPassword-bf533999.js +1 -1
  77. package/amd/InputText-a4234d1f.js +1 -1
  78. package/amd/Label-a4172af7.js +1 -1
  79. package/amd/LabelValueLayout-194e64d9.js +1 -1
  80. package/amd/{Layer-276d62e8.js → Layer-e835aed8.js} +2 -2
  81. package/amd/{Layer-276d62e8.js.map → Layer-e835aed8.js.map} +1 -1
  82. package/amd/{LayerHost-e95c5f30.js → LayerHost-639b3284.js} +2 -2
  83. package/amd/{LayerHost-e95c5f30.js.map → LayerHost-639b3284.js.map} +1 -1
  84. package/amd/{LayerManager-76fcfb58.js → LayerManager-2972de92.js} +2 -2
  85. package/amd/{LayerManager-76fcfb58.js.map → LayerManager-2972de92.js.map} +1 -1
  86. package/amd/Legend-cd2f78b2.js +1 -1
  87. package/amd/{LineAreaChart-07630832.js → LineAreaChart-2d79c161.js} +2 -2
  88. package/amd/{LineAreaChart-07630832.js.map → LineAreaChart-2d79c161.js.map} +1 -1
  89. package/amd/Link-cb232696.js +1 -1
  90. package/amd/List-61d64cd6.js +2 -0
  91. package/amd/{List-3ebac3fc.js.map → List-61d64cd6.js.map} +1 -1
  92. package/amd/{ListItemLayout-90873fb8.js → ListItemLayout-1d8f166a.js} +2 -2
  93. package/amd/{ListItemLayout-90873fb8.js.map → ListItemLayout-1d8f166a.js.map} +1 -1
  94. package/amd/{ListView-c8082c0c.js → ListView-a49e52c3.js} +2 -2
  95. package/amd/{ListView-c8082c0c.js.map → ListView-a49e52c3.js.map} +1 -1
  96. package/amd/LiveRegion-9a362373.js +2 -0
  97. package/amd/{LiveRegion-8142ed0d.js.map → LiveRegion-9a362373.js.map} +1 -1
  98. package/amd/LoadMoreCollection-83413a59.js +2 -0
  99. package/amd/{LoadMoreCollection-a6adbc3f.js.map → LoadMoreCollection-83413a59.js.map} +1 -1
  100. package/amd/MaxLengthLiveRegion-bb956138.js +2 -0
  101. package/amd/{MaxLengthLiveRegion-8954fc30.js.map → MaxLengthLiveRegion-bb956138.js.map} +1 -1
  102. package/amd/{Menu-8f3a1e8c.js → Menu-e682ccb9.js} +2 -2
  103. package/amd/{Menu-8f3a1e8c.js.map → Menu-e682ccb9.js.map} +1 -1
  104. package/amd/MenuButton-e4d7ec34.js +1 -1
  105. package/amd/MenuItem-44b2547b.js +1 -1
  106. package/amd/Message-1b166e4f.js +1 -1
  107. package/amd/{MessageLayer-cf9265e0.js → MessageLayer-3742e608.js} +2 -2
  108. package/amd/{MessageLayer-cf9265e0.js.map → MessageLayer-3742e608.js.map} +1 -1
  109. package/amd/MessageToast-7aba4a66.js +1 -1
  110. package/amd/MessagesManager-d6d43884.js +1 -1
  111. package/amd/MeterBar-90569d10.js +1 -1
  112. package/amd/MeterCircle-b14ff590.js +1 -1
  113. package/amd/{Modal-36acfc12.js → Modal-2b6ce101.js} +2 -2
  114. package/amd/{Modal-36acfc12.js.map → Modal-2b6ce101.js.map} +1 -1
  115. package/amd/{MonthView-ac27389f.js → MonthView-8a1fde80.js} +2 -2
  116. package/amd/{MonthView-ac27389f.js.map → MonthView-8a1fde80.js.map} +1 -1
  117. package/amd/NavigationListItem-1742f912.js +1 -1
  118. package/amd/NumberInputText-83ba7a58.js +1 -1
  119. package/amd/OverflowTabBarItem-4c4b75e0.js +1 -1
  120. package/amd/PRIVATE_BaseCardView.js +1 -1
  121. package/amd/PRIVATE_Chart.js +1 -1
  122. package/amd/PRIVATE_CheckboxControl.js +1 -1
  123. package/amd/PRIVATE_CheckboxRadioField.js +1 -1
  124. package/amd/PRIVATE_ClearIcon.js +1 -1
  125. package/amd/PRIVATE_DatePickerHeader.js +1 -1
  126. package/amd/PRIVATE_DatePickerLayout.js +1 -1
  127. package/amd/PRIVATE_EmbeddedIconButton.js +1 -1
  128. package/amd/PRIVATE_FormControls.js +1 -1
  129. package/amd/PRIVATE_IconSwitchButton.js +1 -1
  130. package/amd/PRIVATE_Icons/CheckboxMixed.js +1 -1
  131. package/amd/PRIVATE_Icons/CheckboxOff.js +1 -1
  132. package/amd/PRIVATE_Icons/CheckboxOn.js +1 -1
  133. package/amd/PRIVATE_Icons/RadiobuttonOff.js +1 -1
  134. package/amd/PRIVATE_Icons/RadiobuttonOn.js +1 -1
  135. package/amd/PRIVATE_Icons/WarningS.js +1 -1
  136. package/amd/PRIVATE_List.js +1 -1
  137. package/amd/PRIVATE_LoadMoreCollection.js +1 -1
  138. package/amd/PRIVATE_Message.js +1 -1
  139. package/amd/PRIVATE_MessageLayer.js +1 -1
  140. package/amd/PRIVATE_MonthView.js +1 -1
  141. package/amd/PRIVATE_MonthYearGridView.js +1 -1
  142. package/amd/PRIVATE_PlotArea.js +1 -1
  143. package/amd/PRIVATE_RevealToggleIcon.js +1 -1
  144. package/amd/PRIVATE_SelectCommon.js +1 -1
  145. package/amd/PRIVATE_StyledCheckbox.js +1 -1
  146. package/amd/PRIVATE_Table.js +1 -1
  147. package/amd/PRIVATE_ThemedIcons/CalendarIcon.js +1 -1
  148. package/amd/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +1 -1
  149. package/amd/PRIVATE_ThemedIcons/ChartPanIcon.js +1 -1
  150. package/amd/PRIVATE_ThemedIcons/ChartZoomIcon.js +1 -1
  151. package/amd/PRIVATE_ThemedIcons/CheckIcon.js +1 -1
  152. package/amd/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +1 -1
  153. package/amd/PRIVATE_ThemedIcons/CheckboxOffIcon.js +1 -1
  154. package/amd/PRIVATE_ThemedIcons/CheckboxOnIcon.js +1 -1
  155. package/amd/PRIVATE_ThemedIcons/CloseIcon.js +1 -1
  156. package/amd/PRIVATE_ThemedIcons/CollapseIcon.js +1 -1
  157. package/amd/PRIVATE_ThemedIcons/CollapseUpIcon.js +1 -1
  158. package/amd/PRIVATE_ThemedIcons/DecrementIcon.js +1 -1
  159. package/amd/PRIVATE_ThemedIcons/DeleteIcon.js +1 -1
  160. package/amd/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +1 -1
  161. package/amd/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +1 -1
  162. package/amd/PRIVATE_ThemedIcons/DropdownArrowIcon.js +1 -1
  163. package/amd/PRIVATE_ThemedIcons/ExpandIcon.js +1 -1
  164. package/amd/PRIVATE_ThemedIcons/HelpIcon.js +1 -1
  165. package/amd/PRIVATE_ThemedIcons/IncrementIcon.js +1 -1
  166. package/amd/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +1 -1
  167. package/amd/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +1 -1
  168. package/amd/PRIVATE_ThemedIcons/MessageErrorIcon.js +1 -1
  169. package/amd/PRIVATE_ThemedIcons/MessageInfoIcon.js +1 -1
  170. package/amd/PRIVATE_ThemedIcons/MessageWarningIcon.js +1 -1
  171. package/amd/PRIVATE_ThemedIcons/MinusIcon.js +1 -1
  172. package/amd/PRIVATE_ThemedIcons/NavDownIcon.js +1 -1
  173. package/amd/PRIVATE_ThemedIcons/PlusIcon.js +1 -1
  174. package/amd/PRIVATE_ThemedIcons/RadioOffIcon.js +1 -1
  175. package/amd/PRIVATE_ThemedIcons/RadioOnIcon.js +1 -1
  176. package/amd/PRIVATE_ThemedIcons/SortAscendingIcon.js +1 -1
  177. package/amd/PRIVATE_ThemedIcons/SortDefaultIcon.js +1 -1
  178. package/amd/PRIVATE_ThemedIcons/SortDescendingIcon.js +1 -1
  179. package/amd/PRIVATE_ThemedIcons/ViewHideIcon.js +1 -1
  180. package/amd/PRIVATE_ThemedIcons/ViewIcon.js +1 -1
  181. package/amd/PRIVATE_TimeComponent.js +1 -1
  182. package/amd/PRIVATE_VirtualizedCollection.js +1 -1
  183. package/amd/PRIVATE_VisTabularDatatip.js +1 -1
  184. package/amd/PictoChart-98b54953.js +1 -1
  185. package/amd/{PieChart-cbe2806f.js → PieChart-45cc3798.js} +2 -2
  186. package/amd/{PieChart-cbe2806f.js.map → PieChart-45cc3798.js.map} +1 -1
  187. package/amd/{Popup-956e6d7d.js → Popup-059eb48a.js} +2 -2
  188. package/amd/{Popup-956e6d7d.js.map → Popup-059eb48a.js.map} +1 -1
  189. package/amd/{ProgressBar-d7cfdb63.js → ProgressBar-479b35e5.js} +2 -2
  190. package/amd/{ProgressBar-d7cfdb63.js.map → ProgressBar-479b35e5.js.map} +1 -1
  191. package/amd/ProgressButton-c98e276b.js +1 -1
  192. package/amd/ProgressButtonLabelLayout-3a78ba61.js +1 -1
  193. package/amd/{ProgressCircle-1e4cefde.js → ProgressCircle-365c4568.js} +2 -2
  194. package/amd/{ProgressCircle-1e4cefde.js.map → ProgressCircle-365c4568.js.map} +1 -1
  195. package/amd/RadioItem-ce699d94.js +1 -1
  196. package/amd/RatingGauge-138a7d8b.js +1 -1
  197. package/amd/ReadonlyTextFieldInput-608bddc1.js +1 -1
  198. package/amd/RemovableNavigationListItem-dd14305f.js +1 -1
  199. package/amd/RemovableTabBarItem-6a25d890.js +1 -1
  200. package/amd/ReorderableTabBar-e40ffae9.js +1 -1
  201. package/amd/RevealToggleIcon-c5b17f49.js +1 -1
  202. package/amd/SectionalLegend-5d4afed4.js +1 -1
  203. package/amd/SectionedContent-2b89af7b.js +2 -0
  204. package/amd/{SectionedContent-6031f8f7.js.map → SectionedContent-2b89af7b.js.map} +1 -1
  205. package/amd/{SelectMultiple-3eb4a268.js → SelectMultiple-1ff92cc3.js} +2 -2
  206. package/amd/{SelectMultiple-3eb4a268.js.map → SelectMultiple-1ff92cc3.js.map} +1 -1
  207. package/amd/{SelectSingle-9fcc38fc.js → SelectSingle-641a4cac.js} +2 -2
  208. package/amd/{SelectSingle-9fcc38fc.js.map → SelectSingle-641a4cac.js.map} +1 -1
  209. package/amd/{SelectionCard-062e1c6f.js → SelectionCard-3973de1b.js} +2 -2
  210. package/amd/{SelectionCard-062e1c6f.js.map → SelectionCard-3973de1b.js.map} +1 -1
  211. package/amd/Selector-039f7481.js +1 -1
  212. package/amd/SelectorAll-7288e923.js +2 -0
  213. package/amd/{SelectorAll-53efae22.js.map → SelectorAll-7288e923.js.map} +1 -1
  214. package/amd/{Sheet-e6308643.js → Sheet-c6fc15b2.js} +2 -2
  215. package/amd/{Sheet-e6308643.js.map → Sheet-c6fc15b2.js.map} +1 -1
  216. package/amd/SplitMenuButton-09d7b66f.js +1 -1
  217. package/amd/StyledTextField-a51060bb.js +1 -1
  218. package/amd/Submenu-8cb31b61.js +1 -1
  219. package/amd/TabBar-1c002b5b.js +1 -1
  220. package/amd/TabBarItem-16383a92.js +1 -1
  221. package/amd/TabBarLayout-685ac295.js +1 -1
  222. package/amd/TabBarMixed-4e0326f5.js +1 -1
  223. package/amd/TabBarMixedSeparator-ed764207.js +2 -0
  224. package/amd/{TabBarMixedSeparator-8c278254.js.map → TabBarMixedSeparator-ed764207.js.map} +1 -1
  225. package/amd/{Table-611e08d5.js → Table-986ae70c.js} +2 -2
  226. package/amd/{Table-611e08d5.js.map → Table-986ae70c.js.map} +1 -1
  227. package/amd/{TableView-cf113195.js → TableView-452fa547.js} +2 -2
  228. package/amd/{TableView-cf113195.js.map → TableView-452fa547.js.map} +1 -1
  229. package/amd/TagCloud-58b4a81b.js +1 -1
  230. package/amd/TextArea-259d741c.js +1 -1
  231. package/amd/TextAreaAutosize-e8dc13b4.js +1 -1
  232. package/amd/TextField-51daf13e.js +1 -1
  233. package/amd/TextFieldInput-d6645f5b.js +1 -1
  234. package/amd/Theme-redwood/theme.css +141 -141
  235. package/amd/Theme-stable/theme.css +320 -320
  236. package/amd/TimeComponentCanvas2D-2f1cede4.js +1 -1
  237. package/amd/Toolbar-e84c90ac.js +1 -1
  238. package/amd/{TruncatingBadge-5b720ad3.js → TruncatingBadge-b6a271ea.js} +2 -2
  239. package/amd/{TruncatingBadge-5b720ad3.js.map → TruncatingBadge-b6a271ea.js.map} +1 -1
  240. package/amd/TruncatingText-e1aceee7.js +2 -0
  241. package/amd/{TruncatingText-17a6d4b6.js.map → TruncatingText-e1aceee7.js.map} +1 -1
  242. package/amd/UNSAFE_ActionCard.js +1 -1
  243. package/amd/UNSAFE_BarChart/__test__/BarChart.spec.js +1 -1
  244. package/amd/UNSAFE_BarChart.js +1 -1
  245. package/amd/UNSAFE_BaseButton.js +1 -1
  246. package/amd/UNSAFE_Button.js +1 -1
  247. package/amd/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +1 -1
  248. package/amd/UNSAFE_ButtonSet.js +1 -1
  249. package/amd/UNSAFE_ButtonSetButton.js +1 -1
  250. package/amd/UNSAFE_ButtonSetIconButton.js +1 -1
  251. package/amd/UNSAFE_ButtonSetItem.js +1 -1
  252. package/amd/UNSAFE_ButtonSetMultiple.js +1 -1
  253. package/amd/UNSAFE_ButtonSetSingle.js +1 -1
  254. package/amd/UNSAFE_CardFlexView.js +1 -1
  255. package/amd/UNSAFE_CardGridView.js +1 -1
  256. package/amd/UNSAFE_Center.js +1 -1
  257. package/amd/UNSAFE_ChartWithLegend.js +1 -1
  258. package/amd/UNSAFE_Checkbox.js +1 -1
  259. package/amd/UNSAFE_CheckboxItem.js +1 -1
  260. package/amd/UNSAFE_CheckboxItem.js.map +1 -1
  261. package/amd/UNSAFE_CheckboxSet.js +1 -1
  262. package/amd/UNSAFE_CheckboxSet.js.map +1 -1
  263. package/amd/UNSAFE_Chip.js +1 -1
  264. package/amd/UNSAFE_Collapsible.js +1 -1
  265. package/amd/UNSAFE_ComponentMessage.js +1 -1
  266. package/amd/UNSAFE_ConveyorBelt.js +1 -1
  267. package/amd/UNSAFE_DatePicker.js +1 -1
  268. package/amd/UNSAFE_Diagram.js +1 -1
  269. package/amd/UNSAFE_Dialog.js +1 -1
  270. package/amd/UNSAFE_DragHandle.js +1 -1
  271. package/amd/UNSAFE_DrawerLayout.js +1 -1
  272. package/amd/UNSAFE_DrawerPopup.js +1 -1
  273. package/amd/UNSAFE_Dropdown.js +1 -1
  274. package/amd/UNSAFE_Environment.js +1 -1
  275. package/amd/UNSAFE_ExpandableList.js +1 -1
  276. package/amd/UNSAFE_FilePicker.js +1 -1
  277. package/amd/UNSAFE_Flex.js +1 -1
  278. package/amd/UNSAFE_Floating.js +1 -1
  279. package/amd/UNSAFE_FormLayout.js +1 -1
  280. package/amd/UNSAFE_Gantt.js +1 -1
  281. package/amd/UNSAFE_Grid.js +1 -1
  282. package/amd/UNSAFE_HighlightText.js +1 -1
  283. package/amd/UNSAFE_Icon.js +1 -1
  284. package/amd/UNSAFE_IconButton.js +1 -1
  285. package/amd/UNSAFE_IconMenuButton.js +1 -1
  286. package/amd/UNSAFE_IconProgressButton.js +1 -1
  287. package/amd/UNSAFE_IconToggleButton.js +1 -1
  288. package/amd/UNSAFE_Indexer.js +1 -1
  289. package/amd/UNSAFE_InputDateMask.js +1 -1
  290. package/amd/UNSAFE_InputDatePicker.js +1 -1
  291. package/amd/UNSAFE_InputPassword.js +1 -1
  292. package/amd/UNSAFE_InputSensitiveText.js +1 -1
  293. package/amd/UNSAFE_InputText.js +1 -1
  294. package/amd/UNSAFE_Label.js +1 -1
  295. package/amd/UNSAFE_LabelValueLayout.js +1 -1
  296. package/amd/UNSAFE_LabelledLink.js +1 -1
  297. package/amd/UNSAFE_Layer.js +1 -1
  298. package/amd/UNSAFE_Legend.js +1 -1
  299. package/amd/UNSAFE_LineAreaChart/__test__/LineChart.spec.js +1 -1
  300. package/amd/UNSAFE_LineAreaChart.js +1 -1
  301. package/amd/UNSAFE_Link.js +1 -1
  302. package/amd/UNSAFE_ListItemLayout.js +1 -1
  303. package/amd/UNSAFE_ListView.js +1 -1
  304. package/amd/UNSAFE_LiveRegion.js +1 -1
  305. package/amd/UNSAFE_Menu.js +1 -1
  306. package/amd/UNSAFE_MenuButton.js +1 -1
  307. package/amd/UNSAFE_MessageBanner.js +1 -1
  308. package/amd/UNSAFE_MessageToast.js +1 -1
  309. package/amd/UNSAFE_MeterBar.js +1 -1
  310. package/amd/UNSAFE_MeterCircle.js +1 -1
  311. package/amd/UNSAFE_Modal.js +1 -1
  312. package/amd/UNSAFE_NavigationList.js +1 -1
  313. package/amd/UNSAFE_NavigationListCommon.js +1 -1
  314. package/amd/UNSAFE_NumberInputText.js +1 -1
  315. package/amd/UNSAFE_OverflowTabBar.js +1 -1
  316. package/amd/UNSAFE_PictoChart.js +1 -1
  317. package/amd/UNSAFE_PieChart/__test__/PieChart.spec.js +1 -1
  318. package/amd/UNSAFE_PieChart.js +1 -1
  319. package/amd/UNSAFE_Popup.js +1 -1
  320. package/amd/UNSAFE_ProgressBar.js +1 -1
  321. package/amd/UNSAFE_ProgressButton.js +1 -1
  322. package/amd/UNSAFE_ProgressButtonLabelLayout.js +1 -1
  323. package/amd/UNSAFE_ProgressCircle.js +1 -1
  324. package/amd/UNSAFE_RadioItem.js +1 -1
  325. package/amd/UNSAFE_RadioSet.js +1 -1
  326. package/amd/UNSAFE_RatingGauge.js +1 -1
  327. package/amd/UNSAFE_ReorderableTabBar.js +1 -1
  328. package/amd/UNSAFE_SectionalLegend.js +1 -1
  329. package/amd/UNSAFE_SelectMultiple.js +1 -1
  330. package/amd/UNSAFE_SelectSingle.js +1 -1
  331. package/amd/UNSAFE_SelectionCard.js +1 -1
  332. package/amd/UNSAFE_Selector.js +1 -1
  333. package/amd/UNSAFE_SelectorAll.js +1 -1
  334. package/amd/UNSAFE_Sheet/__test__/Sheet.spec.js +1 -1
  335. package/amd/UNSAFE_Sheet.js +1 -1
  336. package/amd/UNSAFE_SplitMenuButton.js +1 -1
  337. package/amd/UNSAFE_TabBar.js +1 -1
  338. package/amd/UNSAFE_TabBarCommon.js +1 -1
  339. package/amd/UNSAFE_TabBarMixed.js +1 -1
  340. package/amd/UNSAFE_TableView.js +1 -1
  341. package/amd/UNSAFE_TagCloud.js +1 -1
  342. package/amd/UNSAFE_TextArea.js +1 -1
  343. package/amd/UNSAFE_TextAreaAutosize.js +1 -1
  344. package/amd/UNSAFE_TextField.js +1 -1
  345. package/amd/UNSAFE_ToggleButton.js +1 -1
  346. package/amd/UNSAFE_Toolbar/tests/Toolbar.spec.js +1 -1
  347. package/amd/UNSAFE_Toolbar.js +1 -1
  348. package/amd/UNSAFE_Train.js +1 -1
  349. package/amd/UNSAFE_TruncatingBadge.js +1 -1
  350. package/amd/UNSAFE_TruncatingText.js +1 -1
  351. package/amd/UNSAFE_UserAssistance.js +1 -1
  352. package/amd/UNSAFE_View.js +1 -1
  353. package/amd/UNSAFE_VirtualizedListView.js +1 -1
  354. package/amd/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +1 -1
  355. package/amd/UNSAFE_VisProgressiveLoader.js +1 -1
  356. package/amd/UNSAFE_VisStatusMessage.js +1 -1
  357. package/amd/UNSAFE_WindowOverlay.js +1 -1
  358. package/amd/{View-ce970ed7.js → View-bd5c7fa7.js} +2 -2
  359. package/amd/{View-ce970ed7.js.map → View-bd5c7fa7.js.map} +1 -1
  360. package/amd/{VirtualizedCollection-63223f5e.js → VirtualizedCollection-897516a5.js} +2 -2
  361. package/amd/{VirtualizedCollection-63223f5e.js.map → VirtualizedCollection-897516a5.js.map} +1 -1
  362. package/amd/VirtualizedListView-96ddfd98.js +2 -0
  363. package/amd/{VirtualizedListView-cf795207.js.map → VirtualizedListView-96ddfd98.js.map} +1 -1
  364. package/amd/{VisNoData-7d5f77c3.js → VisNoData-ed2bd5cf.js} +2 -2
  365. package/amd/{VisNoData-7d5f77c3.js.map → VisNoData-ed2bd5cf.js.map} +1 -1
  366. package/amd/{VisProgressiveLoader-68d8d8b3.js → VisProgressiveLoader-06a60c8f.js} +2 -2
  367. package/amd/{VisProgressiveLoader-68d8d8b3.js.map → VisProgressiveLoader-06a60c8f.js.map} +1 -1
  368. package/amd/{VisTabularDatatip-1051eaca.js → VisTabularDatatip-55bbd19f.js} +2 -2
  369. package/amd/{VisTabularDatatip-1051eaca.js.map → VisTabularDatatip-55bbd19f.js.map} +1 -1
  370. package/amd/{WindowOverlay-a2d80d55.js → WindowOverlay-43c10424.js} +2 -2
  371. package/amd/{WindowOverlay-a2d80d55.js.map → WindowOverlay-43c10424.js.map} +1 -1
  372. package/amd/{YearsGridView-e758c73a.js → YearsGridView-ddc90c36.js} +2 -2
  373. package/amd/{YearsGridView-e758c73a.js.map → YearsGridView-ddc90c36.js.map} +1 -1
  374. package/amd/hoc/PRIVATE_withDirectionIcon.js +1 -1
  375. package/amd/hoc/PRIVATE_withThemeIcon.js +1 -1
  376. package/amd/hoc/UNSAFE_withThemeProps.js +1 -1
  377. package/amd/hooks/PRIVATE_useChartContextMenu.js +1 -1
  378. package/amd/hooks/PRIVATE_useChartDatatip.js +1 -1
  379. package/amd/hooks/PRIVATE_useChartEvents.js +1 -1
  380. package/amd/hooks/PRIVATE_useChartMarquee.js +1 -1
  381. package/amd/hooks/PRIVATE_useCssVars.js +1 -1
  382. package/amd/hooks/PRIVATE_useCurrentKey.js +1 -1
  383. package/amd/hooks/PRIVATE_useDatatip.js +1 -1
  384. package/amd/hooks/PRIVATE_useFloating.js +1 -1
  385. package/amd/hooks/PRIVATE_useReorderable.js +1 -1
  386. package/amd/hooks/PRIVATE_useRovingTabIndexContainer.js +1 -1
  387. package/amd/hooks/PRIVATE_useSelection.js +1 -1
  388. package/amd/hooks/PRIVATE_useTabBar.js +1 -1
  389. package/amd/hooks/PRIVATE_useVisContextMenu.js +1 -1
  390. package/amd/hooks/PRIVATE_useVisEvents.js +1 -1
  391. package/amd/hooks/PRIVATE_useVisMeterEvents.js +1 -1
  392. package/amd/hooks/PRIVATE_useVisSelection.js +1 -1
  393. package/amd/hooks/UNSAFE_useColorScheme.js +1 -1
  394. package/amd/hooks/UNSAFE_useCurrentBgColor.js +1 -1
  395. package/amd/hooks/UNSAFE_useDensity.js +1 -1
  396. package/amd/hooks/UNSAFE_useOutsideClick.js +1 -1
  397. package/amd/hooks/UNSAFE_usePrefixSuffix.js +1 -1
  398. package/amd/hooks/UNSAFE_useScale.js +1 -1
  399. package/amd/hooks/UNSAFE_useSwipe.js +1 -1
  400. package/amd/hooks/UNSAFE_useTestId.js +1 -1
  401. package/amd/hooks/UNSAFE_useTheme.js +1 -1
  402. package/amd/hooks/UNSAFE_useThemeInterpolations.js +1 -1
  403. package/amd/hooks/UNSAFE_useTooltip.js +1 -1
  404. package/amd/hooks/UNSAFE_useTranslationBundle.js +1 -1
  405. package/amd/hooks/UNSAFE_useUser.js +1 -1
  406. package/amd/{index-735cad6d.js → index-a444ef75.js} +2 -2
  407. package/amd/index-a444ef75.js.map +1 -0
  408. package/amd/listViewSelectionTests-a8209843.js +1 -1
  409. package/amd/render-a1ae323f.js +2 -0
  410. package/amd/{render-4250c759.js.map → render-a1ae323f.js.map} +1 -1
  411. package/amd/{tabbableUtils-9887f50b.js → tabbableUtils-f5e521c8.js} +2 -2
  412. package/amd/{tabbableUtils-9887f50b.js.map → tabbableUtils-f5e521c8.js.map} +1 -1
  413. package/amd/{testData-71364772.js → testData-b22c8f34.js} +2 -2
  414. package/amd/{testData-71364772.js.map → testData-b22c8f34.js.map} +1 -1
  415. package/amd/tooltipUtils-79293e46.js +2 -0
  416. package/amd/{tooltipUtils-3b34c2bc.js.map → tooltipUtils-79293e46.js.map} +1 -1
  417. package/amd/useCellNavigation-1feec094.js +1 -1
  418. package/amd/useChartContextMenu-673e3de0.js +1 -1
  419. package/amd/{useChartDatatip-c702890c.js → useChartDatatip-04fa72c7.js} +2 -2
  420. package/amd/{useChartDatatip-c702890c.js.map → useChartDatatip-04fa72c7.js.map} +1 -1
  421. package/amd/useChartMarquee-62e7676c.js +1 -1
  422. package/amd/{useColorScheme-10dc88de.js → useColorScheme-443e7cc7.js} +2 -2
  423. package/amd/{useColorScheme-10dc88de.js.map → useColorScheme-443e7cc7.js.map} +1 -1
  424. package/amd/useContextMenu-57f18e97.js +1 -1
  425. package/amd/{useCssVars-c043f8da.js → useCssVars-dc52806c.js} +2 -2
  426. package/amd/{useCssVars-c043f8da.js.map → useCssVars-dc52806c.js.map} +1 -1
  427. package/amd/{useCurrentBgColor-2426ee24.js → useCurrentBgColor-50142bd8.js} +2 -2
  428. package/amd/{useCurrentBgColor-2426ee24.js.map → useCurrentBgColor-50142bd8.js.map} +1 -1
  429. package/amd/useCurrentKey-db6f418a.js +2 -0
  430. package/amd/{useCurrentKey-1d869ff4.js.map → useCurrentKey-db6f418a.js.map} +1 -1
  431. package/amd/{useDatatip-87792500.js → useDatatip-748e233f.js} +2 -2
  432. package/amd/{useDatatip-87792500.js.map → useDatatip-748e233f.js.map} +1 -1
  433. package/amd/{useDensity-c83df7b4.js → useDensity-f0f7ae9a.js} +2 -2
  434. package/amd/{useDensity-c83df7b4.js.map → useDensity-f0f7ae9a.js.map} +1 -1
  435. package/amd/{useFloating-8726c4bb.js → useFloating-a2399a51.js} +2 -2
  436. package/amd/{useFloating-8726c4bb.js.map → useFloating-a2399a51.js.map} +1 -1
  437. package/amd/useKeyboardEvents-8ada7a1f.js +2 -0
  438. package/amd/{useKeyboardEvents-d87e3587.js.map → useKeyboardEvents-8ada7a1f.js.map} +1 -1
  439. package/amd/useLegendContextMenu-09c7a5a9.js +1 -1
  440. package/amd/useMeterDatatip-3b5a5112.js +2 -0
  441. package/amd/{useMeterDatatip-3abdf66a.js.map → useMeterDatatip-3b5a5112.js.map} +1 -1
  442. package/amd/{useOutsideClick-5c2a47be.js → useOutsideClick-476e0577.js} +2 -2
  443. package/amd/{useOutsideClick-5c2a47be.js.map → useOutsideClick-476e0577.js.map} +1 -1
  444. package/amd/usePopupAnimation-6445a247.js +2 -0
  445. package/amd/{usePopupAnimation-916ff96d.js.map → usePopupAnimation-6445a247.js.map} +1 -1
  446. package/amd/usePrefixSuffix-f7544e05.js +2 -0
  447. package/amd/{usePrefixSuffix-09bd5925.js.map → usePrefixSuffix-f7544e05.js.map} +1 -1
  448. package/amd/useReorderableItem-7fd4d629.js +1 -1
  449. package/amd/{useRovingTabIndexContainer-05e87912.js → useRovingTabIndexContainer-94cc3710.js} +2 -2
  450. package/amd/{useRovingTabIndexContainer-05e87912.js.map → useRovingTabIndexContainer-94cc3710.js.map} +1 -1
  451. package/amd/useScale-e311d35f.js +2 -0
  452. package/amd/{useScale-37d42c9d.js.map → useScale-e311d35f.js.map} +1 -1
  453. package/amd/{useSelectCommon-94d5e5bb.js → useSelectCommon-4e256cf0.js} +2 -2
  454. package/amd/{useSelectCommon-94d5e5bb.js.map → useSelectCommon-4e256cf0.js.map} +1 -1
  455. package/amd/{useSelectDrill-a7d833b6.js → useSelectDrill-65d98139.js} +2 -2
  456. package/amd/{useSelectDrill-a7d833b6.js.map → useSelectDrill-65d98139.js.map} +1 -1
  457. package/amd/{useSelection-396ce75f.js → useSelection-4d3a1ea8.js} +2 -2
  458. package/amd/{useSelection-396ce75f.js.map → useSelection-4d3a1ea8.js.map} +1 -1
  459. package/amd/useSelection-a6fd13cf.js +2 -0
  460. package/amd/{useSelection-e2791513.js.map → useSelection-a6fd13cf.js.map} +1 -1
  461. package/amd/useSwipe-d22a98f1.js +2 -0
  462. package/amd/{useSwipe-9600cd2e.js.map → useSwipe-d22a98f1.js.map} +1 -1
  463. package/amd/{useTabBar-423a0c03.js → useTabBar-40842fb9.js} +2 -2
  464. package/amd/{useTabBar-423a0c03.js.map → useTabBar-40842fb9.js.map} +1 -1
  465. package/amd/{useTestId-3a316499.js → useTestId-b5cd4766.js} +2 -2
  466. package/amd/{useTestId-3a316499.js.map → useTestId-b5cd4766.js.map} +1 -1
  467. package/amd/{useTheme-ac980f9a.js → useTheme-a8334e06.js} +2 -2
  468. package/amd/{useTheme-ac980f9a.js.map → useTheme-a8334e06.js.map} +1 -1
  469. package/amd/useThemeInterpolations-e20f8cfa.js +2 -0
  470. package/amd/{useThemeInterpolations-b1d98ea4.js.map → useThemeInterpolations-e20f8cfa.js.map} +1 -1
  471. package/amd/useTooltip-e4089d1a.js +2 -0
  472. package/amd/{useTooltip-6a5fedfa.js.map → useTooltip-e4089d1a.js.map} +1 -1
  473. package/amd/{useTooltipControlled-fb57eb02.js → useTooltipControlled-fafb2f01.js} +2 -2
  474. package/amd/{useTooltipControlled-fb57eb02.js.map → useTooltipControlled-fafb2f01.js.map} +1 -1
  475. package/amd/{useTranslationBundle-516b1b83.js → useTranslationBundle-d07d4b20.js} +2 -2
  476. package/amd/{useTranslationBundle-516b1b83.js.map → useTranslationBundle-d07d4b20.js.map} +1 -1
  477. package/amd/{useUser-85c781ea.js → useUser-3ef25571.js} +2 -2
  478. package/amd/{useUser-85c781ea.js.map → useUser-3ef25571.js.map} +1 -1
  479. package/amd/{useVisEvents-954dcd88.js → useVisEvents-48144382.js} +2 -2
  480. package/amd/{useVisEvents-954dcd88.js.map → useVisEvents-48144382.js.map} +1 -1
  481. package/amd/utils/PRIVATE_tooltipUtils.js +1 -1
  482. package/amd/utils/PRIVATE_visTestUtils.js +1 -1
  483. package/amd/{withDirectionIcon-ce0c7432.js → withDirectionIcon-74c39ee3.js} +2 -2
  484. package/amd/{withDirectionIcon-ce0c7432.js.map → withDirectionIcon-74c39ee3.js.map} +1 -1
  485. package/amd/withThemeProps-4c23997e.js +1 -1
  486. package/cjs/{BarChart-6b34be7b.js → BarChart-f132cd7c.js} +2 -2
  487. package/cjs/{BarChart-6b34be7b.js.map → BarChart-f132cd7c.js.map} +1 -1
  488. package/cjs/{Chart-4eee682b.js → Chart-42a979a7.js} +2 -2
  489. package/cjs/{Chart-4eee682b.js.map → Chart-42a979a7.js.map} +1 -1
  490. package/cjs/{InputDatePicker-c2ef8b45.js → InputDatePicker-fe21408c.js} +2 -2
  491. package/cjs/{InputDatePicker-c2ef8b45.js.map → InputDatePicker-fe21408c.js.map} +1 -1
  492. package/cjs/{LineAreaChart-28268084.js → LineAreaChart-4f443939.js} +2 -2
  493. package/cjs/{LineAreaChart-28268084.js.map → LineAreaChart-4f443939.js.map} +1 -1
  494. package/cjs/PRIVATE_Chart.js +4 -4
  495. package/cjs/{TextArea-096f18ad.js → TextArea-792069d7.js} +22 -4
  496. package/cjs/TextArea-792069d7.js.map +1 -0
  497. package/cjs/{TextAreaAutosize-4d30faec.js → TextAreaAutosize-1989de68.js} +3 -3
  498. package/cjs/{TextAreaAutosize-4d30faec.js.map → TextAreaAutosize-1989de68.js.map} +1 -1
  499. package/cjs/Theme-redwood/theme.css +249 -249
  500. package/cjs/Theme-stable/theme.css +270 -270
  501. package/cjs/UNSAFE_BarChart/__test__/BarChart.spec.js +5 -5
  502. package/cjs/UNSAFE_BarChart.js +5 -5
  503. package/cjs/UNSAFE_DrawerPopup.js +1 -1
  504. package/cjs/UNSAFE_InputDatePicker.js +90 -90
  505. package/cjs/UNSAFE_LineAreaChart/__test__/LineChart.spec.js +5 -5
  506. package/cjs/UNSAFE_LineAreaChart.js +5 -5
  507. package/cjs/UNSAFE_TextArea.js +3 -4
  508. package/cjs/UNSAFE_TextArea.js.map +1 -1
  509. package/cjs/UNSAFE_TextAreaAutosize.js +3 -3
  510. package/cjs/hooks/UNSAFE_useContainerBreakpointValues.js +1 -1
  511. package/cjs/hooks/UNSAFE_useSwipe.js +1 -1
  512. package/cjs/{useSwipe-45174423.js → useSwipe-d917dcba.js} +15 -15
  513. package/cjs/{useSwipe-45174423.js.map → useSwipe-d917dcba.js.map} +1 -1
  514. package/es/ActionCard-ba1c946e.js +1 -1
  515. package/es/BarChart-cbd9c2bf.js +2 -2
  516. package/es/BaseButton-5a3335d9.js +2 -2
  517. package/es/BaseCardView-e0e8a69b.js +6 -6
  518. package/es/{BaseCardViewSelectionTest-2159b609.js → BaseCardViewSelectionTest-120542e8.js} +6 -6
  519. package/es/{BaseCardViewSelectionTest-2159b609.js.map → BaseCardViewSelectionTest-120542e8.js.map} +1 -1
  520. package/es/BaseNavigationListItem-ac7ef3c3.js +1 -1
  521. package/es/ButtonLayoutVariants.styles.css +2 -2
  522. package/es/ButtonLayoutVariants.styles2.css +2 -2
  523. package/es/ButtonSet-ac76e6e2.js +2 -2
  524. package/es/ButtonSetIconButton-9241b9fb.js +3 -3
  525. package/es/{Center-9f355d44.js → Center-8b48ab02.js} +2 -2
  526. package/es/{Center-9f355d44.js.map → Center-8b48ab02.js.map} +1 -1
  527. package/es/Chart-8922a0b3.js +9 -9
  528. package/es/CheckboxControl-f5e36d0d.js +6 -6
  529. package/es/CheckboxRadioField-bdda2573.js +6 -6
  530. package/es/CheckboxSetContext-1be56556.js +9 -0
  531. package/es/CheckboxSetContext-1be56556.js.map +1 -0
  532. package/es/Chip-f2df2078.js +1 -1
  533. package/es/ClearIcon-b5083cc8.js +1 -1
  534. package/es/CollapseIcon-de129943.js +1 -1
  535. package/es/Collapsible-09cc493a.js +2 -2
  536. package/es/CompactHelpSource-1686edf6.js +2 -2
  537. package/es/{CompactLabelAssistance-61df6dbf.js → CompactLabelAssistance-fa8264fa.js} +5 -5
  538. package/es/{CompactLabelAssistance-61df6dbf.js.map → CompactLabelAssistance-fa8264fa.js.map} +1 -1
  539. package/es/CompactUserAssistance-3a10afd4.js +4 -4
  540. package/es/ComponentMessageContainer-18e7fe34.js +4 -4
  541. package/es/ConveyorBeltItem-c8d4ba1b.js +2 -2
  542. package/es/{DatePicker-d4e027c2.js → DatePicker-4fb6d86d.js} +6 -6
  543. package/es/{DatePicker-d4e027c2.js.map → DatePicker-4fb6d86d.js.map} +1 -1
  544. package/es/DatePickerHeader-79f0b61b.js +3 -3
  545. package/es/{Diagram-d7fdc75f.js → Diagram-6f1ad2ea.js} +5 -5
  546. package/es/{Diagram-d7fdc75f.js.map → Diagram-6f1ad2ea.js.map} +1 -1
  547. package/es/{Dialog-cf69547f.js → Dialog-5e92dcd1.js} +6 -6
  548. package/es/{Dialog-cf69547f.js.map → Dialog-5e92dcd1.js.map} +1 -1
  549. package/es/DirectionalCollapseArrowIcon-20259aab.js +1 -1
  550. package/es/DirectionalExpandArrowIcon-36ba273c.js +1 -1
  551. package/es/DragHandle-3b768189.js +1 -1
  552. package/es/DrawerPopupVariants.styles.css +5 -5
  553. package/es/DrawerPopupVariants.styles2.css +5 -5
  554. package/es/{Dropdown-d017dd0a.js → Dropdown-f45f823c.js} +5 -5
  555. package/es/{Dropdown-d017dd0a.js.map → Dropdown-f45f823c.js.map} +1 -1
  556. package/es/{EnvironmentProvider-a3819bde.js → EnvironmentProvider-0fc2fd0c.js} +3 -3
  557. package/es/{EnvironmentProvider-a3819bde.js.map → EnvironmentProvider-0fc2fd0c.js.map} +1 -1
  558. package/es/FilePicker-f4582615.js +2 -2
  559. package/es/{Flex-2d51e914.js → Flex-8696b27b.js} +2 -2
  560. package/es/{Flex-2d51e914.js.map → Flex-8696b27b.js.map} +1 -1
  561. package/es/{Floating-aebc0f85.js → Floating-f9bbd276.js} +4 -4
  562. package/es/{Floating-aebc0f85.js.map → Floating-f9bbd276.js.map} +1 -1
  563. package/es/FormLayout-221e1aa8.js +1 -1
  564. package/es/Gantt-46f5f954.js +9 -9
  565. package/es/{Grid-c2385b22.js → Grid-7fd29a9e.js} +2 -2
  566. package/es/{Grid-c2385b22.js.map → Grid-7fd29a9e.js.map} +1 -1
  567. package/es/{Gridlines-0e7b33f5.js → Gridlines-dcdc34bc.js} +2 -2
  568. package/es/{Gridlines-0e7b33f5.js.map → Gridlines-dcdc34bc.js.map} +1 -1
  569. package/es/GroupLoadingIndicator-2bfdba44.js +1 -1
  570. package/es/{HighlightText-d505bf35.js → HighlightText-cc043982.js} +2 -2
  571. package/es/{HighlightText-d505bf35.js.map → HighlightText-cc043982.js.map} +1 -1
  572. package/es/Icon-4171c0d7.js +3 -3
  573. package/es/IconButton-451a225c.js +3 -3
  574. package/es/IconMenuButton-e46f8d54.js +4 -4
  575. package/es/IconProgressButton-8f2f6b27.js +3 -3
  576. package/es/IconSwitchButton-5ff7b0fe.js +3 -3
  577. package/es/IconToggleButton-375f006f.js +3 -3
  578. package/es/{IconUserAssistance-7cfd1ed2.js → IconUserAssistance-dd56b812.js} +3 -3
  579. package/es/{IconUserAssistance-7cfd1ed2.js.map → IconUserAssistance-dd56b812.js.map} +1 -1
  580. package/es/Indexer-658cee69.js +4 -4
  581. package/es/InlineHelpSource-fcdcd122.js +1 -1
  582. package/es/InlineUserAssistance-e6deb149.js +5 -5
  583. package/es/InputDateMask-3d511e39.js +7 -7
  584. package/es/{InputDatePicker-81a18a57.js → InputDatePicker-fe26a952.js} +10 -10
  585. package/es/{InputDatePicker-81a18a57.js.map → InputDatePicker-fe26a952.js.map} +1 -1
  586. package/es/InputPassword-47130b3c.js +4 -4
  587. package/es/InputText-4799b2ed.js +6 -6
  588. package/es/Label-ab276ca9.js +5 -5
  589. package/es/LabelValueLayout-bcf482be.js +1 -1
  590. package/es/LabelledLinkVariants.styles.css +3 -3
  591. package/es/LabelledLinkVariants.styles2.css +3 -3
  592. package/es/{Layer-915d986a.js → Layer-71fc666f.js} +3 -3
  593. package/es/{Layer-915d986a.js.map → Layer-71fc666f.js.map} +1 -1
  594. package/es/{LayerHost-7a2149f5.js → LayerHost-15b42a3e.js} +2 -2
  595. package/es/{LayerHost-7a2149f5.js.map → LayerHost-15b42a3e.js.map} +1 -1
  596. package/es/{LayerManager-be34be40.js → LayerManager-af39e736.js} +2 -2
  597. package/es/{LayerManager-be34be40.js.map → LayerManager-af39e736.js.map} +1 -1
  598. package/es/Legend-ae0296f0.js +3 -3
  599. package/es/{LineAreaChart-85b37b1c.js → LineAreaChart-cfb9b43d.js} +3 -3
  600. package/es/{LineAreaChart-85b37b1c.js.map → LineAreaChart-cfb9b43d.js.map} +1 -1
  601. package/es/Link-9072aa54.js +1 -1
  602. package/es/List-1d23e84f.js +5 -5
  603. package/es/{ListItemLayout-01286b56.js → ListItemLayout-32895900.js} +2 -2
  604. package/es/{ListItemLayout-01286b56.js.map → ListItemLayout-32895900.js.map} +1 -1
  605. package/es/ListView-8eba90e8.js +3 -3
  606. package/es/{LiveRegion-5302331c.js → LiveRegion-cb4f8a54.js} +2 -2
  607. package/es/{LiveRegion-5302331c.js.map → LiveRegion-cb4f8a54.js.map} +1 -1
  608. package/es/{MaxLengthLiveRegion-9b386b63.js → MaxLengthLiveRegion-59087064.js} +3 -3
  609. package/es/{MaxLengthLiveRegion-9b386b63.js.map → MaxLengthLiveRegion-59087064.js.map} +1 -1
  610. package/es/{Menu-e44a3e0b.js → Menu-b5deea24.js} +8 -8
  611. package/es/{Menu-e44a3e0b.js.map → Menu-b5deea24.js.map} +1 -1
  612. package/es/MenuButton-49b7965d.js +3 -3
  613. package/es/MenuItem-be46866f.js +1 -1
  614. package/es/Message-322f8d63.js +2 -2
  615. package/es/{MessageLayer-f09b0a1b.js → MessageLayer-34a390eb.js} +6 -6
  616. package/es/{MessageLayer-f09b0a1b.js.map → MessageLayer-34a390eb.js.map} +1 -1
  617. package/es/MessageToast-66bdffe6.js +8 -8
  618. package/es/MessagesManager-a1c3e92e.js +3 -3
  619. package/es/MeterBar-9ad34b98.js +5 -5
  620. package/es/MeterCircle-6bd257c8.js +5 -5
  621. package/es/{Modal-862b8167.js → Modal-3fd86d5a.js} +3 -3
  622. package/es/{Modal-862b8167.js.map → Modal-3fd86d5a.js.map} +1 -1
  623. package/es/{MonthView-3d90f424.js → MonthView-c3b82ace.js} +4 -4
  624. package/es/{MonthView-3d90f424.js.map → MonthView-c3b82ace.js.map} +1 -1
  625. package/es/NavigationListItem-a336f06f.js +5 -5
  626. package/es/NavigationListItemVariants.styles.css +5 -5
  627. package/es/NavigationListItemVariants.styles2.css +5 -5
  628. package/es/NumberInputText-eca11601.js +6 -6
  629. package/es/OverflowTabBarItem-12249753.js +3 -3
  630. package/es/PRIVATE_BaseCardView.js +20 -20
  631. package/es/PRIVATE_Chart.js +30 -30
  632. package/es/PRIVATE_CheckboxControl.js +22 -22
  633. package/es/PRIVATE_CheckboxRadioField.js +23 -23
  634. package/es/PRIVATE_ClearIcon.js +17 -17
  635. package/es/PRIVATE_DatePickerHeader.js +19 -19
  636. package/es/PRIVATE_DatePickerLayout.js +4 -4
  637. package/es/PRIVATE_EmbeddedIconButton.js +3 -3
  638. package/es/PRIVATE_FormControls.js +19 -19
  639. package/es/PRIVATE_IconSwitchButton.js +15 -15
  640. package/es/PRIVATE_Icons/CheckboxMixed.js +15 -15
  641. package/es/PRIVATE_Icons/CheckboxOff.js +15 -15
  642. package/es/PRIVATE_Icons/CheckboxOn.js +15 -15
  643. package/es/PRIVATE_Icons/RadiobuttonOff.js +15 -15
  644. package/es/PRIVATE_Icons/RadiobuttonOn.js +15 -15
  645. package/es/PRIVATE_Icons/WarningS.js +15 -15
  646. package/es/PRIVATE_List.js +19 -19
  647. package/es/PRIVATE_Message.js +18 -18
  648. package/es/PRIVATE_MessageLayer.js +11 -11
  649. package/es/PRIVATE_MonthView.js +7 -7
  650. package/es/PRIVATE_MonthYearGridView.js +7 -7
  651. package/es/PRIVATE_PlotArea.js +4 -4
  652. package/es/PRIVATE_RevealToggleIcon.js +16 -16
  653. package/es/PRIVATE_SelectCommon.js +27 -27
  654. package/es/PRIVATE_StyledCheckbox.js +15 -15
  655. package/es/PRIVATE_Table.js +18 -18
  656. package/es/PRIVATE_ThemedIcons/CalendarIcon.js +15 -15
  657. package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +15 -15
  658. package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +15 -15
  659. package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +15 -15
  660. package/es/PRIVATE_ThemedIcons/CheckIcon.js +15 -15
  661. package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +15 -15
  662. package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +15 -15
  663. package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +15 -15
  664. package/es/PRIVATE_ThemedIcons/CloseIcon.js +15 -15
  665. package/es/PRIVATE_ThemedIcons/CollapseIcon.js +16 -16
  666. package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +15 -15
  667. package/es/PRIVATE_ThemedIcons/DecrementIcon.js +15 -15
  668. package/es/PRIVATE_ThemedIcons/DeleteIcon.js +15 -15
  669. package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +16 -16
  670. package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +16 -16
  671. package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +15 -15
  672. package/es/PRIVATE_ThemedIcons/ExpandIcon.js +15 -15
  673. package/es/PRIVATE_ThemedIcons/HelpIcon.js +15 -15
  674. package/es/PRIVATE_ThemedIcons/IncrementIcon.js +15 -15
  675. package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +15 -15
  676. package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +15 -15
  677. package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +15 -15
  678. package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +15 -15
  679. package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +15 -15
  680. package/es/PRIVATE_ThemedIcons/MinusIcon.js +15 -15
  681. package/es/PRIVATE_ThemedIcons/NavDownIcon.js +15 -15
  682. package/es/PRIVATE_ThemedIcons/PlusIcon.js +15 -15
  683. package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +15 -15
  684. package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +15 -15
  685. package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +15 -15
  686. package/es/PRIVATE_ThemedIcons/SortDefaultIcon.js +15 -15
  687. package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +15 -15
  688. package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +15 -15
  689. package/es/PRIVATE_ThemedIcons/ViewIcon.js +15 -15
  690. package/es/PRIVATE_TimeComponent.js +18 -18
  691. package/es/PRIVATE_VisTabularDatatip.js +4 -4
  692. package/es/PictoChart-3dd90503.js +6 -6
  693. package/es/{PieChart-d4f63bd8.js → PieChart-cdb56906.js} +5 -5
  694. package/es/{PieChart-d4f63bd8.js.map → PieChart-cdb56906.js.map} +1 -1
  695. package/es/{Popup-7cc4028b.js → Popup-8becd87a.js} +9 -9
  696. package/es/{Popup-7cc4028b.js.map → Popup-8becd87a.js.map} +1 -1
  697. package/es/{ProgressBar-d647bba4.js → ProgressBar-2565d814.js} +3 -3
  698. package/es/{ProgressBar-d647bba4.js.map → ProgressBar-2565d814.js.map} +1 -1
  699. package/es/ProgressButton-645ce827.js +3 -3
  700. package/es/ProgressButtonLabelLayout-6cf150e0.js +3 -3
  701. package/es/{ProgressCircle-13dc0e4f.js → ProgressCircle-c7f945c0.js} +2 -2
  702. package/es/{ProgressCircle-13dc0e4f.js.map → ProgressCircle-c7f945c0.js.map} +1 -1
  703. package/es/RadioItem-af1bbece.js +6 -6
  704. package/es/RatingGauge-82a6a416.js +7 -7
  705. package/es/ReadonlyTextFieldInput-a15badb6.js +1 -1
  706. package/es/RemovableNavigationListItem-7032ce3e.js +1 -1
  707. package/es/RemovableTabBarItem-16d04210.js +2 -2
  708. package/es/ReorderableTabBar-981af0f2.js +2 -2
  709. package/es/RevealToggleIcon-563c241c.js +1 -1
  710. package/es/SectionalLegend-a9b719ff.js +4 -4
  711. package/es/{SectionedContent-7e36073f.js → SectionedContent-237bf539.js} +5 -5
  712. package/es/{SectionedContent-7e36073f.js.map → SectionedContent-237bf539.js.map} +1 -1
  713. package/es/SelectMultiple-c1264885.js +8 -8
  714. package/es/SelectSingle-8336ec24.js +7 -7
  715. package/es/{SelectionCard-a27bce15.js → SelectionCard-1711aae6.js} +2 -2
  716. package/es/{SelectionCard-a27bce15.js.map → SelectionCard-1711aae6.js.map} +1 -1
  717. package/es/Selector-9f40e909.js +1 -1
  718. package/es/{SelectorAll-40c76f0b.js → SelectorAll-42ce8707.js} +7 -7
  719. package/es/{SelectorAll-40c76f0b.js.map → SelectorAll-42ce8707.js.map} +1 -1
  720. package/es/{Sheet-34f3bcb4.js → Sheet-f7117b12.js} +3 -3
  721. package/es/{Sheet-34f3bcb4.js.map → Sheet-f7117b12.js.map} +1 -1
  722. package/es/SplitMenuButton-74913bcc.js +3 -3
  723. package/es/StyledTextField-9df27ab4.js +3 -3
  724. package/es/Submenu-c6663c1d.js +1 -1
  725. package/es/TabBar-90cea652.js +6 -6
  726. package/es/TabBarItem-ba695c75.js +3 -3
  727. package/es/TabBarLayout-8caaa060.js +1 -1
  728. package/es/TabBarMixed-52ac388e.js +6 -6
  729. package/es/{TabBarMixedSeparator-16c88691.js → TabBarMixedSeparator-da56f4c0.js} +2 -2
  730. package/es/{TabBarMixedSeparator-16c88691.js.map → TabBarMixedSeparator-da56f4c0.js.map} +1 -1
  731. package/es/Table-3d484e2c.js +8 -8
  732. package/es/TagCloud-823b3d82.js +9 -9
  733. package/es/TextArea-6f18b955.js +5 -5
  734. package/es/TextAreaAutosize-4cf2754b.js +5 -5
  735. package/es/TextField-d4b4661d.js +3 -3
  736. package/es/TextFieldInput-84280715.js +1 -1
  737. package/es/Theme-redwood/theme.css +497 -497
  738. package/es/Theme-stable/theme.css +475 -475
  739. package/es/TimeComponentCanvas2D-72f4af98.js +5 -5
  740. package/es/Toolbar-85379f64.js +1 -1
  741. package/es/{TruncatingBadge-e5f38bc8.js → TruncatingBadge-7eb77ed3.js} +4 -4
  742. package/es/{TruncatingBadge-e5f38bc8.js.map → TruncatingBadge-7eb77ed3.js.map} +1 -1
  743. package/es/{TruncatingText-c3719839.js → TruncatingText-93807530.js} +4 -4
  744. package/es/{TruncatingText-c3719839.js.map → TruncatingText-93807530.js.map} +1 -1
  745. package/es/UNSAFE_ActionCard.js +2 -2
  746. package/es/UNSAFE_BarChart/__test__/BarChart.spec.js +30 -30
  747. package/es/UNSAFE_BarChart.js +30 -30
  748. package/es/UNSAFE_BaseButton.js +3 -3
  749. package/es/UNSAFE_Button.js +3 -3
  750. package/es/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +20 -20
  751. package/es/UNSAFE_ButtonLayout/themes/redwood/ButtonLayoutTheme.js +1 -1
  752. package/es/UNSAFE_ButtonLayout/themes/redwood/ButtonLayoutVariants.css.js +1 -1
  753. package/es/UNSAFE_ButtonLayout/themes/stable/ButtonLayoutTheme.js +1 -1
  754. package/es/UNSAFE_ButtonLayout/themes/stable/ButtonLayoutVariants.css.js +1 -1
  755. package/es/UNSAFE_ButtonLayout.js +1 -1
  756. package/es/UNSAFE_ButtonSet.js +4 -4
  757. package/es/UNSAFE_ButtonSetButton.js +3 -3
  758. package/es/UNSAFE_ButtonSetIconButton.js +15 -15
  759. package/es/UNSAFE_ButtonSetItem.js +15 -15
  760. package/es/UNSAFE_ButtonSetMultiple.js +4 -4
  761. package/es/UNSAFE_ButtonSetSingle.js +4 -4
  762. package/es/UNSAFE_CardFlexView.js +20 -20
  763. package/es/UNSAFE_CardGridView.js +20 -20
  764. package/es/UNSAFE_Center.js +5 -5
  765. package/es/UNSAFE_ChartWithLegend.js +4 -4
  766. package/es/UNSAFE_Checkbox.js +22 -22
  767. package/es/UNSAFE_CheckboxItem.js +51 -101
  768. package/es/UNSAFE_CheckboxItem.js.map +1 -1
  769. package/es/UNSAFE_CheckboxSet.js +66 -32
  770. package/es/UNSAFE_CheckboxSet.js.map +1 -1
  771. package/es/UNSAFE_Chip.js +2 -2
  772. package/es/UNSAFE_Collapsible.js +17 -17
  773. package/es/UNSAFE_ComponentMessage.js +18 -18
  774. package/es/UNSAFE_ConveyorBelt.js +15 -15
  775. package/es/UNSAFE_DatePicker.js +24 -24
  776. package/es/UNSAFE_Diagram.js +15 -15
  777. package/es/UNSAFE_Dialog.js +11 -11
  778. package/es/UNSAFE_DragHandle.js +16 -16
  779. package/es/UNSAFE_DrawerLayout.js +11 -11
  780. package/es/UNSAFE_DrawerPopup/themes/redwood/DrawerPopupTheme.js +1 -1
  781. package/es/UNSAFE_DrawerPopup/themes/redwood/DrawerPopupVariants.css.js +1 -1
  782. package/es/UNSAFE_DrawerPopup/themes/stable/DrawerPopupTheme.js +1 -1
  783. package/es/UNSAFE_DrawerPopup/themes/stable/DrawerPopupVariants.css.js +1 -1
  784. package/es/UNSAFE_DrawerPopup.js +12 -12
  785. package/es/UNSAFE_Dropdown.js +12 -12
  786. package/es/UNSAFE_Environment.js +4 -4
  787. package/es/UNSAFE_ExpandableList.js +22 -22
  788. package/es/UNSAFE_FilePicker.js +4 -4
  789. package/es/UNSAFE_Flex.js +4 -4
  790. package/es/UNSAFE_Floating.js +10 -10
  791. package/es/UNSAFE_FormLayout.js +2 -2
  792. package/es/UNSAFE_Gantt.js +22 -22
  793. package/es/UNSAFE_Grid.js +4 -4
  794. package/es/UNSAFE_HighlightText.js +4 -4
  795. package/es/UNSAFE_Icon.js +15 -15
  796. package/es/UNSAFE_IconButton.js +15 -15
  797. package/es/UNSAFE_IconMenuButton.js +19 -19
  798. package/es/UNSAFE_IconProgressButton.js +19 -19
  799. package/es/UNSAFE_IconToggleButton.js +15 -15
  800. package/es/UNSAFE_Indexer.js +6 -6
  801. package/es/UNSAFE_InputDateMask.js +23 -23
  802. package/es/UNSAFE_InputDatePicker.js +112 -112
  803. package/es/UNSAFE_InputPassword.js +22 -22
  804. package/es/UNSAFE_InputSensitiveText.js +24 -24
  805. package/es/UNSAFE_InputText.js +25 -25
  806. package/es/UNSAFE_Label.js +22 -22
  807. package/es/UNSAFE_LabelValueLayout.js +4 -4
  808. package/es/UNSAFE_LabelledLink/themes/redwood/LabelledLinkTheme.js +1 -1
  809. package/es/UNSAFE_LabelledLink/themes/redwood/LabelledLinkVariants.css.js +1 -1
  810. package/es/UNSAFE_LabelledLink/themes/stable/LabelledLinkTheme.js +1 -1
  811. package/es/UNSAFE_LabelledLink/themes/stable/LabelledLinkVariants.css.js +1 -1
  812. package/es/UNSAFE_LabelledLink.js +25 -25
  813. package/es/UNSAFE_Layer.js +7 -7
  814. package/es/UNSAFE_Legend.js +22 -22
  815. package/es/UNSAFE_LineAreaChart/__test__/LineChart.spec.js +30 -30
  816. package/es/UNSAFE_LineAreaChart.js +31 -31
  817. package/es/UNSAFE_Link.js +2 -2
  818. package/es/UNSAFE_ListItemLayout.js +5 -5
  819. package/es/UNSAFE_ListView.js +25 -25
  820. package/es/UNSAFE_LiveRegion.js +4 -4
  821. package/es/UNSAFE_Menu.js +21 -21
  822. package/es/UNSAFE_MenuButton.js +19 -19
  823. package/es/UNSAFE_MessageBanner.js +18 -18
  824. package/es/UNSAFE_MessageToast.js +21 -21
  825. package/es/UNSAFE_MeterBar.js +16 -16
  826. package/es/UNSAFE_MeterCircle.js +16 -16
  827. package/es/UNSAFE_Modal.js +7 -7
  828. package/es/UNSAFE_NavigationList/themes/redwood/NavigationListItemVariants.css.js +1 -1
  829. package/es/UNSAFE_NavigationList/themes/stable/NavigationListItemTheme.js +1 -1
  830. package/es/UNSAFE_NavigationList/themes/stable/NavigationListItemVariants.css.js +1 -1
  831. package/es/UNSAFE_NavigationList.js +20 -20
  832. package/es/UNSAFE_NavigationListCommon/themes/redwood/NavigationListItemTheme.js +1 -1
  833. package/es/UNSAFE_NavigationListCommon.js +18 -18
  834. package/es/UNSAFE_NumberInputText.js +24 -24
  835. package/es/UNSAFE_OverflowTabBar.js +25 -25
  836. package/es/UNSAFE_PictoChart.js +13 -13
  837. package/es/UNSAFE_PieChart/__test__/PieChart.spec.js +14 -14
  838. package/es/UNSAFE_PieChart.js +14 -14
  839. package/es/UNSAFE_Popup.js +15 -15
  840. package/es/UNSAFE_ProgressBar.js +5 -5
  841. package/es/UNSAFE_ProgressButton.js +19 -19
  842. package/es/UNSAFE_ProgressButtonLabelLayout.js +10 -10
  843. package/es/UNSAFE_ProgressCircle.js +4 -4
  844. package/es/UNSAFE_RadioItem.js +22 -22
  845. package/es/UNSAFE_RadioSet.js +22 -22
  846. package/es/UNSAFE_RatingGauge.js +16 -16
  847. package/es/UNSAFE_ReorderableTabBar.js +21 -21
  848. package/es/UNSAFE_SectionalLegend.js +23 -23
  849. package/es/UNSAFE_SelectMultiple.js +30 -30
  850. package/es/UNSAFE_SelectSingle.js +30 -30
  851. package/es/UNSAFE_SelectionCard.js +4 -4
  852. package/es/UNSAFE_Selector.js +15 -15
  853. package/es/UNSAFE_SelectorAll.js +19 -19
  854. package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +13 -13
  855. package/es/UNSAFE_Sheet.js +10 -10
  856. package/es/UNSAFE_SplitMenuButton.js +19 -19
  857. package/es/UNSAFE_TabBar.js +26 -26
  858. package/es/UNSAFE_TabBarCommon.js +25 -25
  859. package/es/UNSAFE_TabBarMixed.js +29 -29
  860. package/es/UNSAFE_TableView.js +18 -18
  861. package/es/UNSAFE_TagCloud.js +22 -22
  862. package/es/UNSAFE_TextArea.js +24 -24
  863. package/es/UNSAFE_TextAreaAutosize.js +24 -24
  864. package/es/UNSAFE_TextField.js +7 -7
  865. package/es/UNSAFE_ToggleButton.js +3 -3
  866. package/es/UNSAFE_Toolbar/tests/Toolbar.spec.js +22 -22
  867. package/es/UNSAFE_Toolbar.js +5 -5
  868. package/es/UNSAFE_Train.js +16 -16
  869. package/es/UNSAFE_TruncatingBadge.js +17 -17
  870. package/es/UNSAFE_TruncatingText.js +17 -17
  871. package/es/UNSAFE_UserAssistance.js +23 -23
  872. package/es/UNSAFE_View.js +7 -7
  873. package/es/UNSAFE_VirtualizedListView.js +19 -19
  874. package/es/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +8 -8
  875. package/es/UNSAFE_VisProgressiveLoader.js +6 -6
  876. package/es/UNSAFE_VisStatusMessage.js +6 -6
  877. package/es/UNSAFE_WindowOverlay.js +4 -4
  878. package/es/{View-a8a64eb1.js → View-63980a9b.js} +5 -5
  879. package/es/{View-a8a64eb1.js.map → View-63980a9b.js.map} +1 -1
  880. package/es/{VisNoData-673b58e9.js → VisNoData-da540cbd.js} +3 -3
  881. package/es/{VisNoData-673b58e9.js.map → VisNoData-da540cbd.js.map} +1 -1
  882. package/es/{VisProgressiveLoader-66dde1ff.js → VisProgressiveLoader-2b2103c8.js} +3 -3
  883. package/es/{VisProgressiveLoader-66dde1ff.js.map → VisProgressiveLoader-2b2103c8.js.map} +1 -1
  884. package/es/{VisTabularDatatip-6aa607bb.js → VisTabularDatatip-2ae7ee48.js} +2 -2
  885. package/es/{VisTabularDatatip-6aa607bb.js.map → VisTabularDatatip-2ae7ee48.js.map} +1 -1
  886. package/es/{WindowOverlay-de5d0819.js → WindowOverlay-9b43e658.js} +2 -2
  887. package/es/{WindowOverlay-de5d0819.js.map → WindowOverlay-9b43e658.js.map} +1 -1
  888. package/es/{YearsGridView-5b5c1746.js → YearsGridView-37dfce0c.js} +4 -4
  889. package/es/{YearsGridView-5b5c1746.js.map → YearsGridView-37dfce0c.js.map} +1 -1
  890. package/es/hoc/PRIVATE_withDirectionIcon.js +4 -4
  891. package/es/hoc/PRIVATE_withThemeIcon.js +3 -3
  892. package/es/hoc/UNSAFE_withThemeProps.js +3 -3
  893. package/es/hooks/PRIVATE_useChartContextMenu.js +18 -18
  894. package/es/hooks/PRIVATE_useChartDatatip.js +13 -13
  895. package/es/hooks/PRIVATE_useChartEvents.js +17 -17
  896. package/es/hooks/PRIVATE_useChartMarquee.js +17 -17
  897. package/es/hooks/PRIVATE_useCssVars.js +7 -7
  898. package/es/hooks/PRIVATE_useCurrentKey.js +4 -4
  899. package/es/hooks/PRIVATE_useDatatip.js +11 -11
  900. package/es/hooks/PRIVATE_useFloating.js +4 -4
  901. package/es/hooks/PRIVATE_useReorderable.js +4 -4
  902. package/es/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
  903. package/es/hooks/PRIVATE_useSelection.js +4 -4
  904. package/es/hooks/PRIVATE_useTabBar.js +5 -5
  905. package/es/hooks/PRIVATE_useVisContextMenu.js +18 -18
  906. package/es/hooks/PRIVATE_useVisEvents.js +4 -4
  907. package/es/hooks/PRIVATE_useVisMeterEvents.js +13 -13
  908. package/es/hooks/PRIVATE_useVisSelection.js +12 -12
  909. package/es/hooks/UNSAFE_useColorScheme.js +3 -3
  910. package/es/hooks/UNSAFE_useCurrentBgColor.js +3 -3
  911. package/es/hooks/UNSAFE_useDensity.js +3 -3
  912. package/es/hooks/UNSAFE_useOutsideClick.js +7 -7
  913. package/es/hooks/UNSAFE_usePrefixSuffix.js +4 -4
  914. package/es/hooks/UNSAFE_useScale.js +3 -3
  915. package/es/hooks/UNSAFE_useSwipe.js +1 -1
  916. package/es/hooks/UNSAFE_useTestId.js +3 -3
  917. package/es/hooks/UNSAFE_useTheme.js +3 -3
  918. package/es/hooks/UNSAFE_useThemeInterpolations.js +5 -5
  919. package/es/hooks/UNSAFE_useTooltip.js +16 -16
  920. package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
  921. package/es/hooks/UNSAFE_useUser.js +3 -3
  922. package/es/{index-fee93bf9.js → index-e65c9009.js} +2 -2
  923. package/es/index-e65c9009.js.map +1 -0
  924. package/es/listViewSelectionTests-0dfdcc5d.js +4 -4
  925. package/es/{render-d92a7051.js → render-ff141a3d.js} +3 -3
  926. package/es/{render-d92a7051.js.map → render-ff141a3d.js.map} +1 -1
  927. package/es/{tabbableUtils-1b4c2eea.js → tabbableUtils-375a33ee.js} +3 -3
  928. package/es/{tabbableUtils-1b4c2eea.js.map → tabbableUtils-375a33ee.js.map} +1 -1
  929. package/es/{testData-ca9503e6.js → testData-748c19ef.js} +3 -3
  930. package/es/{testData-ca9503e6.js.map → testData-748c19ef.js.map} +1 -1
  931. package/es/{tooltipUtils-06c93436.js → tooltipUtils-1131b3ca.js} +5 -5
  932. package/es/{tooltipUtils-06c93436.js.map → tooltipUtils-1131b3ca.js.map} +1 -1
  933. package/es/useCellNavigation-00d575ca.js +1 -1
  934. package/es/useChartContextMenu-8c49f584.js +3 -3
  935. package/es/{useChartDatatip-82dba484.js → useChartDatatip-25f6bc69.js} +4 -4
  936. package/es/{useChartDatatip-82dba484.js.map → useChartDatatip-25f6bc69.js.map} +1 -1
  937. package/es/useChartMarquee-08025a83.js +1 -1
  938. package/es/{useColorScheme-f69d53b5.js → useColorScheme-d8a80e2b.js} +2 -2
  939. package/es/{useColorScheme-f69d53b5.js.map → useColorScheme-d8a80e2b.js.map} +1 -1
  940. package/es/useContextMenu-12845847.js +3 -3
  941. package/es/{useCssVars-48595cd2.js → useCssVars-8e6932f8.js} +5 -5
  942. package/es/{useCssVars-48595cd2.js.map → useCssVars-8e6932f8.js.map} +1 -1
  943. package/es/{useCurrentBgColor-894d059b.js → useCurrentBgColor-5418492b.js} +2 -2
  944. package/es/{useCurrentBgColor-894d059b.js.map → useCurrentBgColor-5418492b.js.map} +1 -1
  945. package/es/{useCurrentKey-55123e83.js → useCurrentKey-76e7d7b1.js} +2 -2
  946. package/es/{useCurrentKey-55123e83.js.map → useCurrentKey-76e7d7b1.js.map} +1 -1
  947. package/es/{useDatatip-01d7ddeb.js → useDatatip-73566627.js} +4 -4
  948. package/es/{useDatatip-01d7ddeb.js.map → useDatatip-73566627.js.map} +1 -1
  949. package/es/{useDensity-04a01caf.js → useDensity-64ecb649.js} +2 -2
  950. package/es/{useDensity-04a01caf.js.map → useDensity-64ecb649.js.map} +1 -1
  951. package/es/{useFloating-c9278755.js → useFloating-d60cc8b4.js} +2 -2
  952. package/es/{useFloating-c9278755.js.map → useFloating-d60cc8b4.js.map} +1 -1
  953. package/es/{useKeyboardEvents-b02e5fda.js → useKeyboardEvents-5c311766.js} +2 -2
  954. package/es/{useKeyboardEvents-b02e5fda.js.map → useKeyboardEvents-5c311766.js.map} +1 -1
  955. package/es/useLegendContextMenu-926aca66.js +5 -5
  956. package/es/{useMeterDatatip-43e31c05.js → useMeterDatatip-2cedbd5c.js} +3 -3
  957. package/es/{useMeterDatatip-43e31c05.js.map → useMeterDatatip-2cedbd5c.js.map} +1 -1
  958. package/es/{useOutsideClick-388c62bd.js → useOutsideClick-725542a2.js} +2 -2
  959. package/es/{useOutsideClick-388c62bd.js.map → useOutsideClick-725542a2.js.map} +1 -1
  960. package/es/{usePopupAnimation-b4577940.js → usePopupAnimation-340f04b6.js} +2 -2
  961. package/es/{usePopupAnimation-b4577940.js.map → usePopupAnimation-340f04b6.js.map} +1 -1
  962. package/es/{usePrefixSuffix-995d4cda.js → usePrefixSuffix-435a9c59.js} +2 -2
  963. package/es/{usePrefixSuffix-995d4cda.js.map → usePrefixSuffix-435a9c59.js.map} +1 -1
  964. package/es/useReorderableItem-c715c504.js +2 -2
  965. package/es/{useRovingTabIndexContainer-097f96a6.js → useRovingTabIndexContainer-b9833086.js} +2 -2
  966. package/es/{useRovingTabIndexContainer-097f96a6.js.map → useRovingTabIndexContainer-b9833086.js.map} +1 -1
  967. package/es/{useScale-3b323ab2.js → useScale-c86ecc6e.js} +2 -2
  968. package/es/{useScale-3b323ab2.js.map → useScale-c86ecc6e.js.map} +1 -1
  969. package/es/useSelectCommon-7ebc86eb.js +11 -11
  970. package/es/{useSelectDrill-8b53d932.js → useSelectDrill-fbe57d95.js} +3 -3
  971. package/es/{useSelectDrill-8b53d932.js.map → useSelectDrill-fbe57d95.js.map} +1 -1
  972. package/es/{useSelection-7c94a24f.js → useSelection-1e1e89df.js} +2 -2
  973. package/es/{useSelection-7c94a24f.js.map → useSelection-1e1e89df.js.map} +1 -1
  974. package/es/{useSelection-b7c3e75e.js → useSelection-dfbd140d.js} +5 -5
  975. package/es/{useSelection-b7c3e75e.js.map → useSelection-dfbd140d.js.map} +1 -1
  976. package/es/{useSwipe-818b0c1c.js → useSwipe-b5c1b9ad.js} +15 -15
  977. package/es/{useSwipe-818b0c1c.js.map → useSwipe-b5c1b9ad.js.map} +1 -1
  978. package/es/{useTabBar-6c6847ef.js → useTabBar-b826570d.js} +2 -2
  979. package/es/{useTabBar-6c6847ef.js.map → useTabBar-b826570d.js.map} +1 -1
  980. package/es/{useTestId-af32a9eb.js → useTestId-3bc3958c.js} +2 -2
  981. package/es/{useTestId-af32a9eb.js.map → useTestId-3bc3958c.js.map} +1 -1
  982. package/es/{useTheme-73aca0e4.js → useTheme-4b0f211c.js} +2 -2
  983. package/es/{useTheme-73aca0e4.js.map → useTheme-4b0f211c.js.map} +1 -1
  984. package/es/{useThemeInterpolations-4f6cc83c.js → useThemeInterpolations-41ac870d.js} +4 -4
  985. package/es/{useThemeInterpolations-4f6cc83c.js.map → useThemeInterpolations-41ac870d.js.map} +1 -1
  986. package/es/{useTooltip-e258ea41.js → useTooltip-227887ea.js} +2 -2
  987. package/es/{useTooltip-e258ea41.js.map → useTooltip-227887ea.js.map} +1 -1
  988. package/es/{useTooltipControlled-50d5dac9.js → useTooltipControlled-7ccb5919.js} +5 -5
  989. package/es/{useTooltipControlled-50d5dac9.js.map → useTooltipControlled-7ccb5919.js.map} +1 -1
  990. package/es/{useTranslationBundle-6da03e52.js → useTranslationBundle-98df6291.js} +2 -2
  991. package/es/{useTranslationBundle-6da03e52.js.map → useTranslationBundle-98df6291.js.map} +1 -1
  992. package/es/{useUser-bca8cf2d.js → useUser-a15426fc.js} +2 -2
  993. package/es/{useUser-bca8cf2d.js.map → useUser-a15426fc.js.map} +1 -1
  994. package/es/{useVisEvents-cd3616aa.js → useVisEvents-ff4204b5.js} +2 -2
  995. package/es/{useVisEvents-cd3616aa.js.map → useVisEvents-ff4204b5.js.map} +1 -1
  996. package/es/utils/PRIVATE_tooltipUtils.js +13 -13
  997. package/es/utils/PRIVATE_visTestUtils.js +6 -6
  998. package/es/{withDirectionIcon-389870a2.js → withDirectionIcon-90d7c798.js} +2 -2
  999. package/es/{withDirectionIcon-389870a2.js.map → withDirectionIcon-90d7c798.js.map} +1 -1
  1000. package/es/withThemeProps-6545df54.js +2 -2
  1001. package/package.json +2 -2
  1002. package/amd/CardFlexView-9688d264.js +0 -2
  1003. package/amd/CheckboxSet-e523552e.js +0 -2
  1004. package/amd/CheckboxSet-e523552e.js.map +0 -1
  1005. package/amd/CompactLabelAssistance-7db2fde2.js +0 -2
  1006. package/amd/Flex-56ecdf4c.js +0 -2
  1007. package/amd/HighlightText-bd4c0101.js +0 -2
  1008. package/amd/List-3ebac3fc.js +0 -2
  1009. package/amd/LiveRegion-8142ed0d.js +0 -2
  1010. package/amd/LoadMoreCollection-a6adbc3f.js +0 -2
  1011. package/amd/MaxLengthLiveRegion-8954fc30.js +0 -2
  1012. package/amd/SectionedContent-6031f8f7.js +0 -2
  1013. package/amd/SelectorAll-53efae22.js +0 -2
  1014. package/amd/TabBarMixedSeparator-8c278254.js +0 -2
  1015. package/amd/TruncatingText-17a6d4b6.js +0 -2
  1016. package/amd/VirtualizedListView-cf795207.js +0 -2
  1017. package/amd/index-735cad6d.js.map +0 -1
  1018. package/amd/render-4250c759.js +0 -2
  1019. package/amd/tooltipUtils-3b34c2bc.js +0 -2
  1020. package/amd/useCurrentKey-1d869ff4.js +0 -2
  1021. package/amd/useKeyboardEvents-d87e3587.js +0 -2
  1022. package/amd/useMeterDatatip-3abdf66a.js +0 -2
  1023. package/amd/usePopupAnimation-916ff96d.js +0 -2
  1024. package/amd/usePrefixSuffix-09bd5925.js +0 -2
  1025. package/amd/useScale-37d42c9d.js +0 -2
  1026. package/amd/useSelection-e2791513.js +0 -2
  1027. package/amd/useSwipe-9600cd2e.js +0 -2
  1028. package/amd/useThemeInterpolations-b1d98ea4.js +0 -2
  1029. package/amd/useTooltip-6a5fedfa.js +0 -2
  1030. package/cjs/MaxLengthCounter-a5370f66.js +0 -27
  1031. package/cjs/MaxLengthCounter-a5370f66.js.map +0 -1
  1032. package/cjs/TextArea-096f18ad.js.map +0 -1
  1033. package/es/CheckboxSet-569683fe.js +0 -49
  1034. package/es/CheckboxSet-569683fe.js.map +0 -1
  1035. package/es/index-fee93bf9.js.map +0 -1
@@ -0,0 +1,2 @@
1
+ define(['exports', 'preact/jsx-runtime', '@testing-library/preact', '@testing-library/user-event', './LayerHost-639b3284', './EnvironmentProvider-c0e1e39b', './resources/nls/en/bundle'], (function(e,r,n,t,o,i,s){"use strict";function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=d(t);const a={translations:{"@oracle/oraclejet-preact":s.default},mode:"test"},c=(e,t=a,o)=>{const s={...a,...t},{rerender:d,...u}=n.render(r.jsx(i.RootEnvironmentProvider,{environment:s,children:e}),o);return{rerender:e=>d(r.jsx(i.RootEnvironmentProvider,{environment:s,children:e})),...u}};e.renderAndSetupInEnv=(...e)=>({user:u.default.setup(),...c(...e)}),e.renderInEnv=c}));
2
+ //# sourceMappingURL=render-a1ae323f.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"render-4250c759.js","sources":["../../src/__tests__/utils/render.tsx"],"sourcesContent":["import { RenderOptions, RenderResult, render } from '@testing-library/preact';\nimport userEvent from '@testing-library/user-event';\nimport { ComponentProps } from 'preact';\nimport { RootEnvironment, RootEnvironmentProvider } from '../../UNSAFE_Environment';\nimport translations from '../../resources/nls/en/bundle';\n\ntype RootEnvironmentProviderProps = ComponentProps<typeof RootEnvironmentProvider>;\n\nconst defaultEnvironment: Partial<RootEnvironment> = {\n translations: { '@oracle/oraclejet-preact': translations },\n mode: 'test'\n};\n\nexport const renderInEnv = (\n children: RootEnvironmentProviderProps['children'],\n environment = defaultEnvironment,\n options?: Omit<RenderOptions, 'queries'>\n) => {\n // We merge the provided environment with the default environment here. This way tests\n // can override some part of the environment without having to provide the other parts.\n // For example, if a test wants to provide `user.locale`, then it can do:\n //\n // renderInEnv(<SomeComponent />, { user: { locale: 'en-US' } });\n //\n // With this call, the test do not have to provide `translations` and `mode`. The provided\n // `user` object will be merged with the default environment. The final environment object\n // will have `translations`, `mode`, and `user` properties specified in it.\n const mergedEnvironment = { ...defaultEnvironment, ...environment };\n\n const { rerender: _rerender, ...result } = render(\n <RootEnvironmentProvider environment={mergedEnvironment}>{children}</RootEnvironmentProvider>,\n options\n );\n const rerender = (children: RootEnvironmentProviderProps['children']) =>\n _rerender(\n <RootEnvironmentProvider environment={mergedEnvironment}>{children}</RootEnvironmentProvider>\n );\n return { rerender, ...result } as RenderResult;\n};\n\nexport const renderAndSetupInEnv = (...args: Parameters<typeof renderInEnv>) => ({\n user: userEvent.setup(),\n ...renderInEnv(...args)\n});\n"],"names":["defaultEnvironment","translations","mode","renderInEnv","children","environment","options","mergedEnvironment","rerender","_rerender","result","render","_jsx","RootEnvironmentProvider","args","user","userEvent","setup"],"mappings":"6SAQA,MAAMA,EAA+C,CACnDC,aAAc,CAAE,2BAA4BA,WAC5CC,KAAM,QAGKC,EAAc,CACzBC,EACAC,EAAcL,EACdM,KAWA,MAAMC,EAAoB,IAAKP,KAAuBK,IAE9CG,SAAUC,KAAcC,GAAWC,EAAMA,OAC/CC,MAACC,EAAuBA,wBAAA,CAACR,YAAaE,EAAiBH,SAAGA,IAC1DE,GAMF,MAAO,CAAEE,SAJSJ,GAChBK,EACEG,EAAAA,IAACC,EAAAA,wBAAuB,CAACR,YAAaE,WAAoBH,QAExCM,EAAwB,wBAGb,IAAII,KAA0C,CAC/EC,KAAMC,EAAS,QAACC,WACbd,KAAeW"}
1
+ {"version":3,"file":"render-a1ae323f.js","sources":["../../src/__tests__/utils/render.tsx"],"sourcesContent":["import { RenderOptions, RenderResult, render } from '@testing-library/preact';\nimport userEvent from '@testing-library/user-event';\nimport { ComponentProps } from 'preact';\nimport { RootEnvironment, RootEnvironmentProvider } from '../../UNSAFE_Environment';\nimport translations from '../../resources/nls/en/bundle';\n\ntype RootEnvironmentProviderProps = ComponentProps<typeof RootEnvironmentProvider>;\n\nconst defaultEnvironment: Partial<RootEnvironment> = {\n translations: { '@oracle/oraclejet-preact': translations },\n mode: 'test'\n};\n\nexport const renderInEnv = (\n children: RootEnvironmentProviderProps['children'],\n environment = defaultEnvironment,\n options?: Omit<RenderOptions, 'queries'>\n) => {\n // We merge the provided environment with the default environment here. This way tests\n // can override some part of the environment without having to provide the other parts.\n // For example, if a test wants to provide `user.locale`, then it can do:\n //\n // renderInEnv(<SomeComponent />, { user: { locale: 'en-US' } });\n //\n // With this call, the test do not have to provide `translations` and `mode`. The provided\n // `user` object will be merged with the default environment. The final environment object\n // will have `translations`, `mode`, and `user` properties specified in it.\n const mergedEnvironment = { ...defaultEnvironment, ...environment };\n\n const { rerender: _rerender, ...result } = render(\n <RootEnvironmentProvider environment={mergedEnvironment}>{children}</RootEnvironmentProvider>,\n options\n );\n const rerender = (children: RootEnvironmentProviderProps['children']) =>\n _rerender(\n <RootEnvironmentProvider environment={mergedEnvironment}>{children}</RootEnvironmentProvider>\n );\n return { rerender, ...result } as RenderResult;\n};\n\nexport const renderAndSetupInEnv = (...args: Parameters<typeof renderInEnv>) => ({\n user: userEvent.setup(),\n ...renderInEnv(...args)\n});\n"],"names":["defaultEnvironment","translations","mode","renderInEnv","children","environment","options","mergedEnvironment","rerender","_rerender","result","render","_jsx","RootEnvironmentProvider","args","user","userEvent","setup"],"mappings":"6SAQA,MAAMA,EAA+C,CACnDC,aAAc,CAAE,2BAA4BA,WAC5CC,KAAM,QAGKC,EAAc,CACzBC,EACAC,EAAcL,EACdM,KAWA,MAAMC,EAAoB,IAAKP,KAAuBK,IAE9CG,SAAUC,KAAcC,GAAWC,EAAMA,OAC/CC,MAACC,EAAuBA,wBAAA,CAACR,YAAaE,EAAiBH,SAAGA,IAC1DE,GAMF,MAAO,CAAEE,SAJSJ,GAChBK,EACEG,EAAAA,IAACC,EAAAA,wBAAuB,CAACR,YAAaE,WAAoBH,QAExCM,EAAwB,wBAGb,IAAII,KAA0C,CAC/EC,KAAMC,EAAS,QAACC,WACbd,KAAeW"}
@@ -1,2 +1,2 @@
1
- define(['require', 'exports', 'preact/jsx-runtime', '@testing-library/preact', './matchTranslationBundle-e243f90d', './LayerHost-e95c5f30', './EnvironmentProvider-8f6fc388', './TabbableModeContext-a9c97640', 'preact/hooks'], (function(e,s,n,r,u,o,l,c,t){"use strict";s.setupTabbableComponent=async(s,o)=>{const t=u.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:i}=await function(s){switch(s){case"../../resources/nls/ar/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/ar/bundle"],s,n)}));case"../../resources/nls/ar-XB/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/ar-XB/bundle"],s,n)}));case"../../resources/nls/bg/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/bg/bundle"],s,n)}));case"../../resources/nls/bs/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/bs/bundle"],s,n)}));case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/bs-Cyrl/bundle"],s,n)}));case"../../resources/nls/cs/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/cs/bundle"],s,n)}));case"../../resources/nls/da/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/da/bundle"],s,n)}));case"../../resources/nls/de/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/de/bundle"],s,n)}));case"../../resources/nls/el/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/el/bundle"],s,n)}));case"../../resources/nls/en/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/en/bundle"],s,n)}));case"../../resources/nls/en-XA/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/en-XA/bundle"],s,n)}));case"../../resources/nls/en-XC/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/en-XC/bundle"],s,n)}));case"../../resources/nls/es/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/es/bundle"],s,n)}));case"../../resources/nls/et/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/et/bundle"],s,n)}));case"../../resources/nls/fi/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/fi/bundle"],s,n)}));case"../../resources/nls/fr/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/fr/bundle"],s,n)}));case"../../resources/nls/fr-CA/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/fr-CA/bundle"],s,n)}));case"../../resources/nls/he/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/he/bundle"],s,n)}));case"../../resources/nls/hr/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/hr/bundle"],s,n)}));case"../../resources/nls/hu/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/hu/bundle"],s,n)}));case"../../resources/nls/is/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/is/bundle"],s,n)}));case"../../resources/nls/it/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/it/bundle"],s,n)}));case"../../resources/nls/ja/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/ja/bundle"],s,n)}));case"../../resources/nls/ko/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/ko/bundle"],s,n)}));case"../../resources/nls/lt/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/lt/bundle"],s,n)}));case"../../resources/nls/lv/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/lv/bundle"],s,n)}));case"../../resources/nls/ms/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/ms/bundle"],s,n)}));case"../../resources/nls/nl/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/nl/bundle"],s,n)}));case"../../resources/nls/no/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/no/bundle"],s,n)}));case"../../resources/nls/pl/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/pl/bundle"],s,n)}));case"../../resources/nls/pt/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/pt/bundle"],s,n)}));case"../../resources/nls/pt-PT/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/pt-PT/bundle"],s,n)}));case"../../resources/nls/ro/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/ro/bundle"],s,n)}));case"../../resources/nls/ru/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/ru/bundle"],s,n)}));case"../../resources/nls/sk/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/sk/bundle"],s,n)}));case"../../resources/nls/sl/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/sl/bundle"],s,n)}));case"../../resources/nls/sr/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/sr/bundle"],s,n)}));case"../../resources/nls/sr-Latn/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/sr-Latn/bundle"],s,n)}));case"../../resources/nls/sv/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/sv/bundle"],s,n)}));case"../../resources/nls/th/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/th/bundle"],s,n)}));case"../../resources/nls/tr/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/tr/bundle"],s,n)}));case"../../resources/nls/uk/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/uk/bundle"],s,n)}));case"../../resources/nls/vi/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/vi/bundle"],s,n)}));case"../../resources/nls/zh-Hans/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/zh-Hans/bundle"],s,n)}));case"../../resources/nls/zh-Hant/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/zh-Hant/bundle"],s,n)}));default:return new Promise((function(e,n){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+s)))}))}}(`../../resources/nls/${t}/bundle.ts`),d={translations:{"@oracle/oraclejet-preact":i}};return void 0!==o?r.render(n.jsx(l.RootEnvironmentProvider,{environment:d,children:n.jsx(c.TabbableModeContext.Provider,{value:{isTabbable:o},children:s})})):r.render(n.jsx(l.RootEnvironmentProvider,{environment:d,children:s}))}}));
2
- //# sourceMappingURL=tabbableUtils-9887f50b.js.map
1
+ define(['require', 'exports', 'preact/jsx-runtime', '@testing-library/preact', './matchTranslationBundle-e243f90d', './LayerHost-639b3284', './EnvironmentProvider-c0e1e39b', './TabbableModeContext-a9c97640', 'preact/hooks'], (function(e,s,n,r,u,o,l,c,t){"use strict";s.setupTabbableComponent=async(s,o)=>{const t=u.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:i}=await function(s){switch(s){case"../../resources/nls/ar/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/ar/bundle"],s,n)}));case"../../resources/nls/ar-XB/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/ar-XB/bundle"],s,n)}));case"../../resources/nls/bg/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/bg/bundle"],s,n)}));case"../../resources/nls/bs/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/bs/bundle"],s,n)}));case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/bs-Cyrl/bundle"],s,n)}));case"../../resources/nls/cs/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/cs/bundle"],s,n)}));case"../../resources/nls/da/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/da/bundle"],s,n)}));case"../../resources/nls/de/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/de/bundle"],s,n)}));case"../../resources/nls/el/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/el/bundle"],s,n)}));case"../../resources/nls/en/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/en/bundle"],s,n)}));case"../../resources/nls/en-XA/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/en-XA/bundle"],s,n)}));case"../../resources/nls/en-XC/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/en-XC/bundle"],s,n)}));case"../../resources/nls/es/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/es/bundle"],s,n)}));case"../../resources/nls/et/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/et/bundle"],s,n)}));case"../../resources/nls/fi/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/fi/bundle"],s,n)}));case"../../resources/nls/fr/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/fr/bundle"],s,n)}));case"../../resources/nls/fr-CA/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/fr-CA/bundle"],s,n)}));case"../../resources/nls/he/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/he/bundle"],s,n)}));case"../../resources/nls/hr/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/hr/bundle"],s,n)}));case"../../resources/nls/hu/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/hu/bundle"],s,n)}));case"../../resources/nls/is/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/is/bundle"],s,n)}));case"../../resources/nls/it/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/it/bundle"],s,n)}));case"../../resources/nls/ja/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/ja/bundle"],s,n)}));case"../../resources/nls/ko/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/ko/bundle"],s,n)}));case"../../resources/nls/lt/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/lt/bundle"],s,n)}));case"../../resources/nls/lv/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/lv/bundle"],s,n)}));case"../../resources/nls/ms/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/ms/bundle"],s,n)}));case"../../resources/nls/nl/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/nl/bundle"],s,n)}));case"../../resources/nls/no/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/no/bundle"],s,n)}));case"../../resources/nls/pl/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/pl/bundle"],s,n)}));case"../../resources/nls/pt/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/pt/bundle"],s,n)}));case"../../resources/nls/pt-PT/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/pt-PT/bundle"],s,n)}));case"../../resources/nls/ro/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/ro/bundle"],s,n)}));case"../../resources/nls/ru/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/ru/bundle"],s,n)}));case"../../resources/nls/sk/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/sk/bundle"],s,n)}));case"../../resources/nls/sl/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/sl/bundle"],s,n)}));case"../../resources/nls/sr/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/sr/bundle"],s,n)}));case"../../resources/nls/sr-Latn/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/sr-Latn/bundle"],s,n)}));case"../../resources/nls/sv/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/sv/bundle"],s,n)}));case"../../resources/nls/th/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/th/bundle"],s,n)}));case"../../resources/nls/tr/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/tr/bundle"],s,n)}));case"../../resources/nls/uk/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/uk/bundle"],s,n)}));case"../../resources/nls/vi/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/vi/bundle"],s,n)}));case"../../resources/nls/zh-Hans/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/zh-Hans/bundle"],s,n)}));case"../../resources/nls/zh-Hant/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/zh-Hant/bundle"],s,n)}));default:return new Promise((function(e,n){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+s)))}))}}(`../../resources/nls/${t}/bundle.ts`),d={translations:{"@oracle/oraclejet-preact":i}};return void 0!==o?r.render(n.jsx(l.RootEnvironmentProvider,{environment:d,children:n.jsx(c.TabbableModeContext.Provider,{value:{isTabbable:o},children:s})})):r.render(n.jsx(l.RootEnvironmentProvider,{environment:d,children:s}))}}));
2
+ //# sourceMappingURL=tabbableUtils-f5e521c8.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabbableUtils-9887f50b.js","sources":["../../src/utils/PRIVATE_visTestUtils/tabbableUtils.tsx"],"sourcesContent":["import { render } from '@testing-library/preact';\nimport { matchTranslationBundle } from '../UNSAFE_matchTranslationBundle';\nimport { RootEnvironmentProvider } from '../../UNSAFE_Environment';\nimport type { RootEnvironment } from '../../UNSAFE_Environment';\nimport { TabbableModeContext } from '../../hooks/UNSAFE_useTabbableMode';\nimport { JSXInternal } from 'preact/src/jsx';\n\nexport const setupTabbableComponent = async (\n component: JSXInternal.Element,\n isTabbable?: boolean\n) => {\n const locale = matchTranslationBundle(['en'], new Set(['en-US', 'en']));\n const { default: translations } = await import(`../../resources/nls/${locale}/bundle.ts`);\n const env: Partial<RootEnvironment> = {\n translations: { '@oracle/oraclejet-preact': translations }\n };\n if (isTabbable !== undefined) {\n return render(\n <RootEnvironmentProvider environment={env}>\n <TabbableModeContext.Provider value={{ isTabbable: isTabbable }}>\n {component}\n </TabbableModeContext.Provider>\n </RootEnvironmentProvider>\n );\n } else {\n return render(<RootEnvironmentProvider environment={env}>{component}</RootEnvironmentProvider>);\n }\n};\n"],"names":["async","component","isTabbable","locale","matchTranslationBundle","Set","default","translations","__variableDynamicImportRuntime0__","env","undefined","render","_jsx","jsx","RootEnvironmentProvider","environment","children","TabbableModeContext","Provider","value"],"mappings":"2RAOsCA,MACpCC,EACAC,KAEA,MAAMC,EAASC,yBAAuB,CAAC,MAAO,IAAIC,IAAI,CAAC,QAAS,SACxDC,QAASC,6uKAAuBC,CAAO,uBAAuBL,eAChEM,EAAgC,CACpCF,aAAc,CAAE,2BAA4BA,IAE9C,YAAmBG,IAAfR,EACKS,EAAMA,OACXC,EAAAC,IAACC,0BAAuB,CAACC,YAAaN,EAAGO,SACvCJ,EAAAA,IAACK,EAAmBA,oBAACC,UAASC,MAAO,CAAEjB,WAAYA,GAAYc,SAC5Df,OAKAU,EAAMA,OAACC,MAACE,EAAAA,wBAAwB,CAAAC,YAAaN,EAAMO,SAAAf,IAC3D"}
1
+ {"version":3,"file":"tabbableUtils-f5e521c8.js","sources":["../../src/utils/PRIVATE_visTestUtils/tabbableUtils.tsx"],"sourcesContent":["import { render } from '@testing-library/preact';\nimport { matchTranslationBundle } from '../UNSAFE_matchTranslationBundle';\nimport { RootEnvironmentProvider } from '../../UNSAFE_Environment';\nimport type { RootEnvironment } from '../../UNSAFE_Environment';\nimport { TabbableModeContext } from '../../hooks/UNSAFE_useTabbableMode';\nimport { JSXInternal } from 'preact/src/jsx';\n\nexport const setupTabbableComponent = async (\n component: JSXInternal.Element,\n isTabbable?: boolean\n) => {\n const locale = matchTranslationBundle(['en'], new Set(['en-US', 'en']));\n const { default: translations } = await import(`../../resources/nls/${locale}/bundle.ts`);\n const env: Partial<RootEnvironment> = {\n translations: { '@oracle/oraclejet-preact': translations }\n };\n if (isTabbable !== undefined) {\n return render(\n <RootEnvironmentProvider environment={env}>\n <TabbableModeContext.Provider value={{ isTabbable: isTabbable }}>\n {component}\n </TabbableModeContext.Provider>\n </RootEnvironmentProvider>\n );\n } else {\n return render(<RootEnvironmentProvider environment={env}>{component}</RootEnvironmentProvider>);\n }\n};\n"],"names":["async","component","isTabbable","locale","matchTranslationBundle","Set","default","translations","__variableDynamicImportRuntime0__","env","undefined","render","_jsx","jsx","RootEnvironmentProvider","environment","children","TabbableModeContext","Provider","value"],"mappings":"2RAOsCA,MACpCC,EACAC,KAEA,MAAMC,EAASC,yBAAuB,CAAC,MAAO,IAAIC,IAAI,CAAC,QAAS,SACxDC,QAASC,6uKAAuBC,CAAO,uBAAuBL,eAChEM,EAAgC,CACpCF,aAAc,CAAE,2BAA4BA,IAE9C,YAAmBG,IAAfR,EACKS,EAAMA,OACXC,EAAAC,IAACC,0BAAuB,CAACC,YAAaN,EAAGO,SACvCJ,EAAAA,IAACK,EAAmBA,oBAACC,UAASC,MAAO,CAAEjB,WAAYA,GAAYc,SAC5Df,OAKAU,EAAMA,OAACC,MAACE,EAAAA,wBAAwB,CAAAC,YAAaN,EAAMO,SAAAf,IAC3D"}
@@ -1,2 +1,2 @@
1
- define(['require', 'exports', 'preact/jsx-runtime', '@testing-library/preact', 'chai', './clientHints-030d25aa', './matchTranslationBundle-e243f90d', './LayerHost-e95c5f30', './EnvironmentProvider-8f6fc388'], (function(e,n,s,r,t,u,l,o,c){"use strict";const i=async e=>e.findAllByRole("grid"),a=async e=>e.findAllByRole("row"),d=(e,n)=>{if(null!=n.dataset.ojCellType)return n;const s=n.parentElement;return s===e||null==s?null:d(e,s)};n.determineBrowserScrollbarWidth=async e=>{const n=await i(e),s=n[0].children[0].children[0].children[0];return n[0].offsetWidth-s.offsetWidth},n.employeeData=[{id:"3",name:"Chris Benalamore",title:"Area Business Operations Director EMEA & JAPAC",initial:"CB"},{id:"1",name:"Chris Black",title:"Oracle Cloud Infrastructure GTM Channel Director EMEA",initial:"CB"},{id:"2",name:"Christine Cooper",title:"Senior Principal Escalation Manager",initial:"CC"},{id:"4",name:"Christopher Johnson",title:"Vice-President HCM Application Development",initial:"CJ"},{id:"6",name:"Kurt Marchris",title:"Customer Service Analyst",initial:"KM"},{id:"5",name:"Samire Christian",title:"Consulting Project Technical Manager",initial:"SC"},{id:"7",name:"Zelda Christian Cooperman",title:"Senior Principal Escalation Manager 2",initial:"ZC"}],n.enableLongTimeout=()=>{"undefined"==typeof jest?mocha.timeout(1e4):jest.setTimeout(1e4)},n.findContainingCell=d,n.getColumnFooters=async e=>{const n=await a(e);return n.length>2?n[n.length-1].children:[]},n.getColumnHeaders=async e=>e.findAllByRole("columnheader"),n.getDataCells=async e=>e.children,n.getInnerGrids=i,n.getRows=a,n.isMac=()=>"mac"===u.getClientHints().platform,n.setupTableView=async n=>{const t=l.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:u}=await function(n){switch(n){case"../../resources/nls/ar/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/ar/bundle"],n,s)}));case"../../resources/nls/ar-XB/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/ar-XB/bundle"],n,s)}));case"../../resources/nls/bg/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/bg/bundle"],n,s)}));case"../../resources/nls/bs/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/bs/bundle"],n,s)}));case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/bs-Cyrl/bundle"],n,s)}));case"../../resources/nls/cs/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/cs/bundle"],n,s)}));case"../../resources/nls/da/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/da/bundle"],n,s)}));case"../../resources/nls/de/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/de/bundle"],n,s)}));case"../../resources/nls/el/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/el/bundle"],n,s)}));case"../../resources/nls/en/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/en/bundle"],n,s)}));case"../../resources/nls/en-XA/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/en-XA/bundle"],n,s)}));case"../../resources/nls/en-XC/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/en-XC/bundle"],n,s)}));case"../../resources/nls/es/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/es/bundle"],n,s)}));case"../../resources/nls/et/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/et/bundle"],n,s)}));case"../../resources/nls/fi/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/fi/bundle"],n,s)}));case"../../resources/nls/fr/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/fr/bundle"],n,s)}));case"../../resources/nls/fr-CA/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/fr-CA/bundle"],n,s)}));case"../../resources/nls/he/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/he/bundle"],n,s)}));case"../../resources/nls/hr/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/hr/bundle"],n,s)}));case"../../resources/nls/hu/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/hu/bundle"],n,s)}));case"../../resources/nls/is/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/is/bundle"],n,s)}));case"../../resources/nls/it/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/it/bundle"],n,s)}));case"../../resources/nls/ja/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/ja/bundle"],n,s)}));case"../../resources/nls/ko/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/ko/bundle"],n,s)}));case"../../resources/nls/lt/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/lt/bundle"],n,s)}));case"../../resources/nls/lv/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/lv/bundle"],n,s)}));case"../../resources/nls/ms/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/ms/bundle"],n,s)}));case"../../resources/nls/nl/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/nl/bundle"],n,s)}));case"../../resources/nls/no/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/no/bundle"],n,s)}));case"../../resources/nls/pl/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/pl/bundle"],n,s)}));case"../../resources/nls/pt/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/pt/bundle"],n,s)}));case"../../resources/nls/pt-PT/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/pt-PT/bundle"],n,s)}));case"../../resources/nls/ro/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/ro/bundle"],n,s)}));case"../../resources/nls/ru/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/ru/bundle"],n,s)}));case"../../resources/nls/sk/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/sk/bundle"],n,s)}));case"../../resources/nls/sl/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/sl/bundle"],n,s)}));case"../../resources/nls/sr/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/sr/bundle"],n,s)}));case"../../resources/nls/sr-Latn/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/sr-Latn/bundle"],n,s)}));case"../../resources/nls/sv/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/sv/bundle"],n,s)}));case"../../resources/nls/th/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/th/bundle"],n,s)}));case"../../resources/nls/tr/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/tr/bundle"],n,s)}));case"../../resources/nls/uk/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/uk/bundle"],n,s)}));case"../../resources/nls/vi/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/vi/bundle"],n,s)}));case"../../resources/nls/zh-Hans/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/zh-Hans/bundle"],n,s)}));case"../../resources/nls/zh-Hant/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/zh-Hant/bundle"],n,s)}));default:return new Promise((function(e,s){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+n)))}))}}(`../../resources/nls/${t}/bundle.ts`),o={translations:{"@oracle/oraclejet-preact":u}};return r.render(s.jsx(c.RootEnvironmentProvider,{environment:o,children:n}))},n.verifyAriaSelected=async(e,n)=>{for(let n=0;n<e.length;n++)await r.waitFor((()=>{t.expect(e[n].getAttribute("aria-selected")).to.equal("true")}));for(let e=0;e<n.length;e++)await r.waitFor((()=>{t.expect(n[e].getAttribute("aria-selected")).to.not.equal("true")}))},n.verifyCurrentCellValue=async e=>{const n=null!=e?.rowKey?e.rowKey.toString():"",s=null!=e?.columnKey?e.columnKey.toString():"",u=null!=e?.type?e.type:"";await r.waitFor((()=>{t.expect(document.getElementById("rowKey")?.textContent).to.equal(n)})),await r.waitFor((()=>{t.expect(document.getElementById("columnKey")?.textContent).to.equal(s)})),await r.waitFor((()=>{t.expect(document.getElementById("cellType")?.textContent).to.equal(u)}))},n.verifyElementWidth=async(e,n)=>{await r.waitFor((()=>{t.expect(e.offsetWidth).to.equal(n)}))}}));
2
- //# sourceMappingURL=testData-71364772.js.map
1
+ define(['require', 'exports', 'preact/jsx-runtime', '@testing-library/preact', 'chai', './clientHints-030d25aa', './matchTranslationBundle-e243f90d', './LayerHost-639b3284', './EnvironmentProvider-c0e1e39b'], (function(e,n,s,r,t,u,l,o,c){"use strict";const i=async e=>e.findAllByRole("grid"),a=async e=>e.findAllByRole("row"),d=(e,n)=>{if(null!=n.dataset.ojCellType)return n;const s=n.parentElement;return s===e||null==s?null:d(e,s)};n.determineBrowserScrollbarWidth=async e=>{const n=await i(e),s=n[0].children[0].children[0].children[0];return n[0].offsetWidth-s.offsetWidth},n.employeeData=[{id:"3",name:"Chris Benalamore",title:"Area Business Operations Director EMEA & JAPAC",initial:"CB"},{id:"1",name:"Chris Black",title:"Oracle Cloud Infrastructure GTM Channel Director EMEA",initial:"CB"},{id:"2",name:"Christine Cooper",title:"Senior Principal Escalation Manager",initial:"CC"},{id:"4",name:"Christopher Johnson",title:"Vice-President HCM Application Development",initial:"CJ"},{id:"6",name:"Kurt Marchris",title:"Customer Service Analyst",initial:"KM"},{id:"5",name:"Samire Christian",title:"Consulting Project Technical Manager",initial:"SC"},{id:"7",name:"Zelda Christian Cooperman",title:"Senior Principal Escalation Manager 2",initial:"ZC"}],n.enableLongTimeout=()=>{"undefined"==typeof jest?mocha.timeout(1e4):jest.setTimeout(1e4)},n.findContainingCell=d,n.getColumnFooters=async e=>{const n=await a(e);return n.length>2?n[n.length-1].children:[]},n.getColumnHeaders=async e=>e.findAllByRole("columnheader"),n.getDataCells=async e=>e.children,n.getInnerGrids=i,n.getRows=a,n.isMac=()=>"mac"===u.getClientHints().platform,n.setupTableView=async n=>{const t=l.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:u}=await function(n){switch(n){case"../../resources/nls/ar/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/ar/bundle"],n,s)}));case"../../resources/nls/ar-XB/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/ar-XB/bundle"],n,s)}));case"../../resources/nls/bg/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/bg/bundle"],n,s)}));case"../../resources/nls/bs/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/bs/bundle"],n,s)}));case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/bs-Cyrl/bundle"],n,s)}));case"../../resources/nls/cs/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/cs/bundle"],n,s)}));case"../../resources/nls/da/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/da/bundle"],n,s)}));case"../../resources/nls/de/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/de/bundle"],n,s)}));case"../../resources/nls/el/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/el/bundle"],n,s)}));case"../../resources/nls/en/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/en/bundle"],n,s)}));case"../../resources/nls/en-XA/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/en-XA/bundle"],n,s)}));case"../../resources/nls/en-XC/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/en-XC/bundle"],n,s)}));case"../../resources/nls/es/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/es/bundle"],n,s)}));case"../../resources/nls/et/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/et/bundle"],n,s)}));case"../../resources/nls/fi/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/fi/bundle"],n,s)}));case"../../resources/nls/fr/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/fr/bundle"],n,s)}));case"../../resources/nls/fr-CA/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/fr-CA/bundle"],n,s)}));case"../../resources/nls/he/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/he/bundle"],n,s)}));case"../../resources/nls/hr/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/hr/bundle"],n,s)}));case"../../resources/nls/hu/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/hu/bundle"],n,s)}));case"../../resources/nls/is/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/is/bundle"],n,s)}));case"../../resources/nls/it/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/it/bundle"],n,s)}));case"../../resources/nls/ja/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/ja/bundle"],n,s)}));case"../../resources/nls/ko/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/ko/bundle"],n,s)}));case"../../resources/nls/lt/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/lt/bundle"],n,s)}));case"../../resources/nls/lv/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/lv/bundle"],n,s)}));case"../../resources/nls/ms/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/ms/bundle"],n,s)}));case"../../resources/nls/nl/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/nl/bundle"],n,s)}));case"../../resources/nls/no/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/no/bundle"],n,s)}));case"../../resources/nls/pl/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/pl/bundle"],n,s)}));case"../../resources/nls/pt/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/pt/bundle"],n,s)}));case"../../resources/nls/pt-PT/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/pt-PT/bundle"],n,s)}));case"../../resources/nls/ro/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/ro/bundle"],n,s)}));case"../../resources/nls/ru/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/ru/bundle"],n,s)}));case"../../resources/nls/sk/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/sk/bundle"],n,s)}));case"../../resources/nls/sl/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/sl/bundle"],n,s)}));case"../../resources/nls/sr/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/sr/bundle"],n,s)}));case"../../resources/nls/sr-Latn/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/sr-Latn/bundle"],n,s)}));case"../../resources/nls/sv/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/sv/bundle"],n,s)}));case"../../resources/nls/th/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/th/bundle"],n,s)}));case"../../resources/nls/tr/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/tr/bundle"],n,s)}));case"../../resources/nls/uk/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/uk/bundle"],n,s)}));case"../../resources/nls/vi/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/vi/bundle"],n,s)}));case"../../resources/nls/zh-Hans/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/zh-Hans/bundle"],n,s)}));case"../../resources/nls/zh-Hant/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/zh-Hant/bundle"],n,s)}));default:return new Promise((function(e,s){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+n)))}))}}(`../../resources/nls/${t}/bundle.ts`),o={translations:{"@oracle/oraclejet-preact":u}};return r.render(s.jsx(c.RootEnvironmentProvider,{environment:o,children:n}))},n.verifyAriaSelected=async(e,n)=>{for(let n=0;n<e.length;n++)await r.waitFor((()=>{t.expect(e[n].getAttribute("aria-selected")).to.equal("true")}));for(let e=0;e<n.length;e++)await r.waitFor((()=>{t.expect(n[e].getAttribute("aria-selected")).to.not.equal("true")}))},n.verifyCurrentCellValue=async e=>{const n=null!=e?.rowKey?e.rowKey.toString():"",s=null!=e?.columnKey?e.columnKey.toString():"",u=null!=e?.type?e.type:"";await r.waitFor((()=>{t.expect(document.getElementById("rowKey")?.textContent).to.equal(n)})),await r.waitFor((()=>{t.expect(document.getElementById("columnKey")?.textContent).to.equal(s)})),await r.waitFor((()=>{t.expect(document.getElementById("cellType")?.textContent).to.equal(u)}))},n.verifyElementWidth=async(e,n)=>{await r.waitFor((()=>{t.expect(e.offsetWidth).to.equal(n)}))}}));
2
+ //# sourceMappingURL=testData-b22c8f34.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"testData-71364772.js","sources":["../../src/UNSAFE_TableView/__tests__/testHelpers.tsx","../../src/UNSAFE_TableView/__tests__/resources/testData.ts"],"sourcesContent":["/**\n * TableView test Adapters to abstract common unit test actions away from the implementation details.\n */\nimport { render, RenderResult, waitFor } from '@testing-library/preact';\nimport { expect } from 'chai';\nimport { VNode } from 'preact';\nimport { Cell } from '..';\nimport { getClientHints } from '../../utils/PRIVATE_clientHints';\nimport { matchTranslationBundle } from '../../utils/UNSAFE_matchTranslationBundle';\nimport { RootEnvironment, RootEnvironmentProvider } from '../../UNSAFE_Environment';\n\n/**\n * Constant for timeout for longer running TableView tests\n */\nconst TABLEVIEW_LONG_TIMEOUT = 10000;\n\n/**\n * Helper method to render a TableView test component with the proper environment setup\n */\nexport const setupTableView = async (TestComponent: VNode) => {\n const locale = matchTranslationBundle(['en'], new Set(['en-US', 'en']));\n const { default: translations } = await import(`../../resources/nls/${locale}/bundle.ts`);\n const env: Partial<RootEnvironment> = {\n translations: { '@oracle/oraclejet-preact': translations }\n };\n return render(\n <RootEnvironmentProvider environment={env}>{TestComponent}</RootEnvironmentProvider>\n );\n};\n\n/**\n * Helper function to get all 'grid' role elements within the given rendered component.\n */\nexport const getInnerGrids = async (tableView: RenderResult) => {\n return tableView.findAllByRole('grid');\n};\n\n/**\n * Helper function to get all 'columnheader' role elements within the given rendered component.\n */\nexport const getColumnHeaders = async (tableView: RenderResult) => {\n return tableView.findAllByRole('columnheader');\n};\n\n/**\n * Helper function to get all 'row' role elements within the given rendered component.\n */\nexport const getRows = async (tableView: RenderResult) => {\n return tableView.findAllByRole('row');\n};\n\n/**\n * Helper function to get all data cell elements within the given data row.\n */\nexport const getDataCells = async (dataRow: Element) => {\n return dataRow.children;\n};\n\n/**\n * Helper function to get all footer elements within the given rendered component.\n */\nexport const getColumnFooters = async (tableView: RenderResult) => {\n const rows = await getRows(tableView);\n if (rows.length > 2) {\n return rows[rows.length - 1].children;\n }\n return [];\n};\n\n/**\n * Helper method to find the containing cell element of a given element.\n */\nexport const findContainingCell = (\n rootElement: HTMLElement,\n contentElement: HTMLElement\n): HTMLElement | null => {\n if (contentElement.dataset['ojCellType'] != null) {\n return contentElement;\n }\n const parentElement = contentElement.parentElement;\n if (parentElement === rootElement || parentElement == null) {\n return null;\n }\n return findContainingCell(rootElement, parentElement);\n};\n\n/**\n * Helper function to determine if the current environment is a Mac.\n */\nexport const isMac = () => {\n return getClientHints().platform === 'mac';\n};\n\n/**\n * Helper function to get the 'rowKey' test element.\n */\nexport const getRowKey = () => {\n return document.getElementById('rowKey');\n};\n\n/**\n * Helper function to get the 'columnKey' test element.\n */\nexport const getColumnKey = () => {\n return document.getElementById('columnKey');\n};\n\n/**\n * Helper function to get the 'cellType' test element.\n */\nexport const getCellType = () => {\n return document.getElementById('cellType');\n};\n\n/**\n * Helper function to verify the values of the Table's internal currentCell.\n */\nexport const verifyCurrentCellValue = async (value: Cell<string | number, string> | undefined) => {\n const expectedRowKey = value?.rowKey != null ? value.rowKey.toString() : '';\n const expectedColumnKey = value?.columnKey != null ? value.columnKey.toString() : '';\n const expectedCellType = value?.type != null ? value.type : '';\n await waitFor(() => {\n expect(getRowKey()?.textContent).to.equal(expectedRowKey);\n });\n await waitFor(() => {\n expect(getColumnKey()?.textContent).to.equal(expectedColumnKey);\n });\n await waitFor(() => {\n expect(getCellType()?.textContent).to.equal(expectedCellType);\n });\n};\n\n/**\n * Helper function to verify the values of aria-selected attributes on specific elements.\n */\nexport const verifyAriaSelected = async (\n selectedElements: Element[],\n unselectedElements: Element[]\n) => {\n for (let i = 0; i < selectedElements.length; i++) {\n await waitFor(() => {\n expect(selectedElements[i].getAttribute('aria-selected')).to.equal('true');\n });\n }\n for (let i = 0; i < unselectedElements.length; i++) {\n await waitFor(() => {\n expect(unselectedElements[i].getAttribute('aria-selected')).to.not.equal('true');\n });\n }\n};\n\n/**\n * Helper function to verify the width of a Table element.\n */\nexport const verifyElementWidth = async (element: HTMLElement, width: number) => {\n await waitFor(() => {\n expect(element.offsetWidth).to.equal(width);\n });\n};\n\n/**\n * Helper function to verify the width of a Table element.\n */\nexport const determineBrowserScrollbarWidth = async (tableView: RenderResult) => {\n const grids = await getInnerGrids(tableView);\n\n const innerTable = grids[0].children[0].children[0].children[0] as HTMLElement;\n return grids[0].offsetWidth - innerTable.offsetWidth;\n};\n\n/**\n * Helper function to apply a longer timeout for tests\n */\nexport const enableLongTimeout = () => {\n if (typeof jest === 'undefined') {\n mocha.timeout(TABLEVIEW_LONG_TIMEOUT);\n } else {\n jest.setTimeout(TABLEVIEW_LONG_TIMEOUT);\n }\n};\n","export type Department = {\n departmentId: number;\n departmentName: string;\n locationId: number;\n managerId: number;\n startDate: string;\n employeeCount: number;\n type: string;\n currency: string;\n primary: string[];\n rating: number;\n targetComplete: number;\n};\n\nexport const departmentData = [\n {\n departmentId: 10,\n departmentName: 'Finance 9',\n locationId: 300,\n managerId: 7001,\n startDate: '2014-06-13',\n employeeCount: 335,\n type: 'Sales',\n currency: 'EUR',\n primary: [],\n rating: 3,\n targetComplete: 90\n },\n {\n departmentId: 20,\n departmentName: 'Control And Credit 9',\n locationId: 300,\n managerId: 7001,\n startDate: '2019-09-10',\n employeeCount: 206,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 1,\n targetComplete: 90\n },\n {\n departmentId: 30,\n departmentName: 'Purchasing 28',\n locationId: 400,\n managerId: 6001,\n startDate: '2021-01-03',\n employeeCount: 473,\n type: 'HR',\n currency: 'JPY',\n primary: ['checked'],\n rating: 3,\n targetComplete: 50\n },\n {\n departmentId: 40,\n departmentName: 'Purchasing 27',\n locationId: 400,\n managerId: 1001,\n startDate: '2016-02-01',\n employeeCount: 369,\n type: 'Finance',\n currency: 'JPY',\n primary: [],\n rating: 5,\n targetComplete: 80\n },\n {\n departmentId: 50,\n departmentName: 'Shipping 4',\n locationId: 300,\n managerId: 2001,\n startDate: '2014-07-31',\n employeeCount: 476,\n type: 'HR',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 90\n },\n {\n departmentId: 60,\n departmentName: 'Finance 10',\n locationId: 400,\n managerId: 5001,\n startDate: '2017-01-17',\n employeeCount: 304,\n type: 'Sales',\n currency: 'JPY',\n primary: ['checked'],\n rating: 3,\n targetComplete: 80\n },\n {\n departmentId: 70,\n departmentName: 'Operations 9',\n locationId: 400,\n managerId: 6001,\n startDate: '2015-05-24',\n employeeCount: 334,\n type: 'Sales',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 60\n },\n {\n departmentId: 80,\n departmentName: 'Sales and Marketing 18',\n locationId: 500,\n managerId: 4001,\n startDate: '2017-03-25',\n employeeCount: 211,\n type: 'Finance',\n currency: 'JPY',\n primary: [],\n rating: 1,\n targetComplete: 70\n },\n {\n departmentId: 90,\n departmentName: 'Inventory 6',\n locationId: 400,\n managerId: 5001,\n startDate: '2017-12-18',\n employeeCount: 429,\n type: 'Finance',\n currency: 'EUR',\n primary: ['checked'],\n rating: 1,\n targetComplete: 70\n },\n {\n departmentId: 100,\n departmentName: 'Billing 22',\n locationId: 400,\n managerId: 6001,\n startDate: '2014-06-26',\n employeeCount: 219,\n type: 'Sales',\n currency: 'EUR',\n primary: ['checked'],\n rating: 3,\n targetComplete: 80\n },\n {\n departmentId: 110,\n departmentName: 'Finance 1',\n locationId: 100,\n managerId: 3001,\n startDate: '2020-02-12',\n employeeCount: 412,\n type: 'Finance',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 70\n },\n {\n departmentId: 120,\n departmentName: 'Sales and Marketing 28',\n locationId: 300,\n managerId: 2001,\n startDate: '2014-07-11',\n employeeCount: 373,\n type: 'HR',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 60\n },\n {\n departmentId: 130,\n departmentName: 'Operations 22',\n locationId: 300,\n managerId: 1001,\n startDate: '2015-05-26',\n employeeCount: 245,\n type: 'Marketing',\n currency: 'USD',\n primary: [],\n rating: 2,\n targetComplete: 80\n },\n {\n departmentId: 140,\n departmentName: 'Human Resources 22',\n locationId: 200,\n managerId: 1001,\n startDate: '2015-09-08',\n employeeCount: 217,\n type: 'Finance',\n currency: 'USD',\n primary: [],\n rating: 5,\n targetComplete: 70\n },\n {\n departmentId: 150,\n departmentName: 'Shipping 17',\n locationId: 300,\n managerId: 6001,\n startDate: '2017-10-04',\n employeeCount: 441,\n type: 'HR',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 60\n },\n {\n departmentId: 160,\n departmentName: 'Administration 8',\n locationId: 400,\n managerId: 2001,\n startDate: '2014-12-21',\n employeeCount: 332,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 2,\n targetComplete: 60\n },\n {\n departmentId: 170,\n departmentName: 'Purchasing 14',\n locationId: 400,\n managerId: 4001,\n startDate: '2019-01-25',\n employeeCount: 282,\n type: 'Marketing',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 70\n },\n {\n departmentId: 180,\n departmentName: 'Operations 13',\n locationId: 400,\n managerId: 2001,\n startDate: '2016-01-18',\n employeeCount: 336,\n type: 'Finance',\n currency: 'EUR',\n primary: ['checked'],\n rating: 4,\n targetComplete: 90\n },\n {\n departmentId: 190,\n departmentName: 'Control And Credit 18',\n locationId: 100,\n managerId: 1001,\n startDate: '2014-03-11',\n employeeCount: 391,\n type: 'Sales',\n currency: 'JPY',\n primary: [],\n rating: 4,\n targetComplete: 50\n },\n {\n departmentId: 200,\n departmentName: 'Purchasing 10',\n locationId: 200,\n managerId: 7001,\n startDate: '2014-02-06',\n employeeCount: 211,\n type: 'Sales',\n currency: 'JPY',\n primary: [],\n rating: 4,\n targetComplete: 80\n },\n {\n departmentId: 210,\n departmentName: 'Finance 2',\n locationId: 100,\n managerId: 5001,\n startDate: '2014-01-29',\n employeeCount: 239,\n type: 'Finance',\n currency: 'EUR',\n primary: ['checked'],\n rating: 1,\n targetComplete: 50\n },\n {\n departmentId: 220,\n departmentName: 'Administration 4',\n locationId: 300,\n managerId: 6001,\n startDate: '2014-08-15',\n employeeCount: 355,\n type: 'Marketing',\n currency: 'EUR',\n primary: ['checked'],\n rating: 4,\n targetComplete: 50\n },\n {\n departmentId: 230,\n departmentName: 'Human Resources 6',\n locationId: 300,\n managerId: 6001,\n startDate: '2020-03-14',\n employeeCount: 385,\n type: 'Marketing',\n currency: 'EUR',\n primary: [],\n rating: 1,\n targetComplete: 60\n },\n {\n departmentId: 240,\n departmentName: 'Control And Credit 24',\n locationId: 200,\n managerId: 7001,\n startDate: '2015-04-25',\n employeeCount: 355,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 3,\n targetComplete: 90\n },\n {\n departmentId: 250,\n departmentName: 'Control And Credit 8',\n locationId: 200,\n managerId: 6001,\n startDate: '2020-11-17',\n employeeCount: 361,\n type: 'Marketing',\n currency: 'USD',\n primary: ['checked'],\n rating: 1,\n targetComplete: 80\n },\n {\n departmentId: 260,\n departmentName: 'Billing 21',\n locationId: 200,\n managerId: 5001,\n startDate: '2018-05-18',\n employeeCount: 467,\n type: 'Finance',\n currency: 'EUR',\n primary: [],\n rating: 4,\n targetComplete: 90\n },\n {\n departmentId: 270,\n departmentName: 'Administration 5',\n locationId: 400,\n managerId: 3001,\n startDate: '2016-07-09',\n employeeCount: 495,\n type: 'Marketing',\n currency: 'USD',\n primary: [],\n rating: 1,\n targetComplete: 80\n },\n {\n departmentId: 280,\n departmentName: 'Purchasing 27',\n locationId: 100,\n managerId: 1001,\n startDate: '2017-01-20',\n employeeCount: 364,\n type: 'Finance',\n currency: 'JPY',\n primary: [],\n rating: 1,\n targetComplete: 60\n },\n {\n departmentId: 290,\n departmentName: 'Human Resources 24',\n locationId: 200,\n managerId: 6001,\n startDate: '2020-03-03',\n employeeCount: 242,\n type: 'Marketing',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 90\n },\n {\n departmentId: 300,\n departmentName: 'Finance 23',\n locationId: 300,\n managerId: 1001,\n startDate: '2020-09-20',\n employeeCount: 327,\n type: 'Finance',\n currency: 'EUR',\n primary: [],\n rating: 3,\n targetComplete: 60\n },\n {\n departmentId: 310,\n departmentName: 'Inventory 24',\n locationId: 500,\n managerId: 3001,\n startDate: '2015-07-18',\n employeeCount: 420,\n type: 'Finance',\n currency: 'JPY',\n primary: [],\n rating: 5,\n targetComplete: 70\n },\n {\n departmentId: 320,\n departmentName: 'Shipping 26',\n locationId: 400,\n managerId: 1001,\n startDate: '2015-09-16',\n employeeCount: 219,\n type: 'Sales',\n currency: 'EUR',\n primary: [],\n rating: 3,\n targetComplete: 60\n },\n {\n departmentId: 330,\n departmentName: 'Inventory 22',\n locationId: 200,\n managerId: 5001,\n startDate: '2014-11-22',\n employeeCount: 356,\n type: 'HR',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 90\n },\n {\n departmentId: 340,\n departmentName: 'Purchasing 4',\n locationId: 300,\n managerId: 6001,\n startDate: '2014-03-02',\n employeeCount: 202,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 3,\n targetComplete: 50\n },\n {\n departmentId: 350,\n departmentName: 'Purchasing 9',\n locationId: 400,\n managerId: 7001,\n startDate: '2020-06-09',\n employeeCount: 415,\n type: 'Finance',\n currency: 'USD',\n primary: ['checked'],\n rating: 2,\n targetComplete: 70\n },\n {\n departmentId: 360,\n departmentName: 'Purchasing 14',\n locationId: 300,\n managerId: 1001,\n startDate: '2020-07-20',\n employeeCount: 323,\n type: 'HR',\n currency: 'JPY',\n primary: ['checked'],\n rating: 5,\n targetComplete: 70\n },\n {\n departmentId: 370,\n departmentName: 'Operations 4',\n locationId: 500,\n managerId: 6001,\n startDate: '2015-08-23',\n employeeCount: 473,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 5,\n targetComplete: 80\n },\n {\n departmentId: 380,\n departmentName: 'Sales and Marketing 26',\n locationId: 500,\n managerId: 1001,\n startDate: '2017-08-02',\n employeeCount: 380,\n type: 'Finance',\n currency: 'EUR',\n primary: [],\n rating: 3,\n targetComplete: 60\n },\n {\n departmentId: 390,\n departmentName: 'Control And Credit 12',\n locationId: 200,\n managerId: 1001,\n startDate: '2017-10-08',\n employeeCount: 328,\n type: 'Sales',\n currency: 'USD',\n primary: [],\n rating: 2,\n targetComplete: 60\n },\n {\n departmentId: 400,\n departmentName: 'Sales and Marketing 6',\n locationId: 300,\n managerId: 7001,\n startDate: '2019-02-06',\n employeeCount: 301,\n type: 'Marketing',\n currency: 'USD',\n primary: [],\n rating: 2,\n targetComplete: 50\n },\n {\n departmentId: 410,\n departmentName: 'Administration 3',\n locationId: 400,\n managerId: 3001,\n startDate: '2020-07-09',\n employeeCount: 250,\n type: 'Finance',\n currency: 'USD',\n primary: ['checked'],\n rating: 2,\n targetComplete: 50\n },\n {\n departmentId: 420,\n departmentName: 'Finance 18',\n locationId: 400,\n managerId: 6001,\n startDate: '2017-08-07',\n employeeCount: 409,\n type: 'Marketing',\n currency: 'USD',\n primary: [],\n rating: 1,\n targetComplete: 90\n },\n {\n departmentId: 430,\n departmentName: 'Operations 11',\n locationId: 400,\n managerId: 3001,\n startDate: '2015-09-24',\n employeeCount: 296,\n type: 'Marketing',\n currency: 'USD',\n primary: ['checked'],\n rating: 3,\n targetComplete: 80\n },\n {\n departmentId: 440,\n departmentName: 'Inventory 6',\n locationId: 300,\n managerId: 4001,\n startDate: '2016-05-27',\n employeeCount: 467,\n type: 'HR',\n currency: 'EUR',\n primary: ['checked'],\n rating: 3,\n targetComplete: 70\n },\n {\n departmentId: 450,\n departmentName: 'Inventory 27',\n locationId: 300,\n managerId: 4001,\n startDate: '2019-05-29',\n employeeCount: 244,\n type: 'HR',\n currency: 'JPY',\n primary: ['checked'],\n rating: 1,\n targetComplete: 90\n },\n {\n departmentId: 460,\n departmentName: 'Transportation 8',\n locationId: 400,\n managerId: 6001,\n startDate: '2018-08-23',\n employeeCount: 443,\n type: 'Finance',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 80\n },\n {\n departmentId: 470,\n departmentName: 'Inventory 21',\n locationId: 300,\n managerId: 5001,\n startDate: '2015-01-20',\n employeeCount: 250,\n type: 'Sales',\n currency: 'JPY',\n primary: [],\n rating: 1,\n targetComplete: 50\n },\n {\n departmentId: 480,\n departmentName: 'Finance 14',\n locationId: 300,\n managerId: 7001,\n startDate: '2014-09-24',\n employeeCount: 319,\n type: 'Marketing',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 50\n },\n {\n departmentId: 490,\n departmentName: 'Human Resources 12',\n locationId: 300,\n managerId: 5001,\n startDate: '2019-06-29',\n employeeCount: 448,\n type: 'HR',\n currency: 'JPY',\n primary: [],\n rating: 2,\n targetComplete: 70\n },\n {\n departmentId: 500,\n departmentName: 'Transportation 29',\n locationId: 300,\n managerId: 5001,\n startDate: '2014-01-07',\n employeeCount: 453,\n type: 'HR',\n currency: 'EUR',\n primary: ['checked'],\n rating: 3,\n targetComplete: 80\n }\n];\n\nexport type Employee = {\n id: string;\n name: string;\n title: string;\n initial: string;\n};\n\nexport const employeeData: Employee[] = [\n {\n id: '3',\n name: 'Chris Benalamore',\n title: 'Area Business Operations Director EMEA & JAPAC',\n initial: 'CB'\n },\n {\n id: '1',\n name: 'Chris Black',\n title: 'Oracle Cloud Infrastructure GTM Channel Director EMEA',\n initial: 'CB'\n },\n {\n id: '2',\n name: 'Christine Cooper',\n title: 'Senior Principal Escalation Manager',\n initial: 'CC'\n },\n {\n id: '4',\n name: 'Christopher Johnson',\n title: 'Vice-President HCM Application Development',\n initial: 'CJ'\n },\n {\n id: '6',\n name: 'Kurt Marchris',\n title: 'Customer Service Analyst',\n initial: 'KM'\n },\n {\n id: '5',\n name: 'Samire Christian',\n title: 'Consulting Project Technical Manager',\n initial: 'SC'\n },\n {\n id: '7',\n name: 'Zelda Christian Cooperman',\n title: 'Senior Principal Escalation Manager 2',\n initial: 'ZC'\n }\n];\n\nexport type EmployeeStatus = {\n employeeId: number;\n firstName: string;\n lastName: string;\n revenue: number;\n targetComplete: number;\n targetIncomplete: number;\n rating: number;\n status: string;\n salary: number;\n bonus: number;\n departmentId: number;\n};\n\nexport const employeeStatusData = [\n {\n employeeId: 10,\n firstName: 'Frank',\n lastName: 'Stout',\n revenue: 33200,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 5,\n status: 'Pending',\n salary: 159000,\n bonus: 47900,\n departmentId: 320\n },\n {\n employeeId: 20,\n firstName: 'Mara',\n lastName: 'Rivers',\n revenue: 17200,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 3,\n status: 'Pending',\n salary: 200000,\n bonus: 45300,\n departmentId: 40\n },\n {\n employeeId: 30,\n firstName: 'Karina',\n lastName: 'Cameron',\n revenue: 30100,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 4,\n status: 'Approved',\n salary: 279000,\n bonus: 79700,\n departmentId: 370\n },\n {\n employeeId: 40,\n firstName: 'Marilyn',\n lastName: 'Short',\n revenue: 48800,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 3,\n status: 'Approved',\n salary: 106000,\n bonus: 77500,\n departmentId: 310\n },\n {\n employeeId: 50,\n firstName: 'Audra',\n lastName: 'Long',\n revenue: 40700,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Pending',\n salary: 123000,\n bonus: 39900,\n departmentId: 490\n },\n {\n employeeId: 60,\n firstName: 'Woods',\n lastName: 'Jefferson',\n revenue: 29000,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 3,\n status: 'Pending',\n salary: 145000,\n bonus: 49600,\n departmentId: 160\n },\n {\n employeeId: 70,\n firstName: 'Spears',\n lastName: 'Howe',\n revenue: 32900,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 5,\n status: 'Approved',\n salary: 120000,\n bonus: 30300,\n departmentId: 460\n },\n {\n employeeId: 80,\n firstName: 'Kelsey',\n lastName: 'Gomez',\n revenue: 34200,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 1,\n status: 'Pending',\n salary: 147000,\n bonus: 79800,\n departmentId: 330\n },\n {\n employeeId: 90,\n firstName: 'Miriam',\n lastName: 'Branch',\n revenue: 42800,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 3,\n status: 'Pending',\n salary: 117000,\n bonus: 43000,\n departmentId: 50\n },\n {\n employeeId: 100,\n firstName: 'Tisha',\n lastName: 'Parks',\n revenue: 17800,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 1,\n status: 'Pending',\n salary: 136000,\n bonus: 33800,\n departmentId: 200\n },\n {\n employeeId: 110,\n firstName: 'Dollie',\n lastName: 'Pittman',\n revenue: 15700,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 3,\n status: 'Approved',\n salary: 121000,\n bonus: 60600,\n departmentId: 500\n },\n {\n employeeId: 120,\n firstName: 'Leticia',\n lastName: 'Goodman',\n revenue: 16200,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 5,\n status: 'Pending',\n salary: 295000,\n bonus: 74900,\n departmentId: 300\n },\n {\n employeeId: 130,\n firstName: 'Harrison',\n lastName: 'Jarvis',\n revenue: 32500,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 1,\n status: 'Pending',\n salary: 125000,\n bonus: 59600,\n departmentId: 80\n },\n {\n employeeId: 140,\n firstName: 'Salinas',\n lastName: 'Richardson',\n revenue: 49600,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 5,\n status: 'Pending',\n salary: 228000,\n bonus: 50500,\n departmentId: 50\n },\n {\n employeeId: 150,\n firstName: 'Barry',\n lastName: 'Maxwell',\n revenue: 42800,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 5,\n status: 'Pending',\n salary: 269000,\n bonus: 52200,\n departmentId: 400\n },\n {\n employeeId: 160,\n firstName: 'Diaz',\n lastName: 'Velazquez',\n revenue: 24100,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 4,\n status: 'Approved',\n salary: 242000,\n bonus: 45000,\n departmentId: 370\n },\n {\n employeeId: 170,\n firstName: 'Minnie',\n lastName: 'Riley',\n revenue: 12000,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 2,\n status: 'Approved',\n salary: 107000,\n bonus: 67500,\n departmentId: 250\n },\n {\n employeeId: 180,\n firstName: 'Fulton',\n lastName: 'Bernard',\n revenue: 29400,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 4,\n status: 'Approved',\n salary: 259000,\n bonus: 37400,\n departmentId: 170\n },\n {\n employeeId: 190,\n firstName: 'Chandler',\n lastName: 'Mccarty',\n revenue: 30100,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 1,\n status: 'Approved',\n salary: 185000,\n bonus: 74000,\n departmentId: 250\n },\n {\n employeeId: 200,\n firstName: 'Flowers',\n lastName: 'Hernandez',\n revenue: 20700,\n targetComplete: 70,\n targetIncomplete: 30,\n rating: 4,\n status: 'Approved',\n salary: 135000,\n bonus: 39300,\n departmentId: 260\n },\n {\n employeeId: 210,\n firstName: 'Donaldson',\n lastName: 'Sharp',\n revenue: 42300,\n targetComplete: 70,\n targetIncomplete: 30,\n rating: 3,\n status: 'Pending',\n salary: 176000,\n bonus: 67600,\n departmentId: 250\n },\n {\n employeeId: 220,\n firstName: 'Melanie',\n lastName: 'Gamble',\n revenue: 30100,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Approved',\n salary: 219000,\n bonus: 52400,\n departmentId: 230\n },\n {\n employeeId: 230,\n firstName: 'Leona',\n lastName: 'Erickson',\n revenue: 11400,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 1,\n status: 'Pending',\n salary: 185000,\n bonus: 57300,\n departmentId: 160\n },\n {\n employeeId: 240,\n firstName: 'Dionne',\n lastName: 'Howell',\n revenue: 44200,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 1,\n status: 'Approved',\n salary: 211000,\n bonus: 65800,\n departmentId: 130\n },\n {\n employeeId: 250,\n firstName: 'June',\n lastName: 'Warren',\n revenue: 39500,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Approved',\n salary: 222000,\n bonus: 65200,\n departmentId: 260\n },\n {\n employeeId: 260,\n firstName: 'Carey',\n lastName: 'Johns',\n revenue: 36000,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Approved',\n salary: 233000,\n bonus: 69500,\n departmentId: 190\n },\n {\n employeeId: 270,\n firstName: 'Estelle',\n lastName: 'Bowers',\n revenue: 27600,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 2,\n status: 'Approved',\n salary: 212000,\n bonus: 37700,\n departmentId: 120\n },\n {\n employeeId: 280,\n firstName: 'Rena',\n lastName: 'Blanchard',\n revenue: 16000,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Approved',\n salary: 135000,\n bonus: 51000,\n departmentId: 380\n },\n {\n employeeId: 290,\n firstName: 'Hinton',\n lastName: 'Tillman',\n revenue: 42400,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 4,\n status: 'Pending',\n salary: 134000,\n bonus: 49600,\n departmentId: 40\n },\n {\n employeeId: 300,\n firstName: 'Gloria',\n lastName: 'Everett',\n revenue: 42100,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Approved',\n salary: 278000,\n bonus: 38400,\n departmentId: 180\n },\n {\n employeeId: 310,\n firstName: 'Ware',\n lastName: 'Simon',\n revenue: 49500,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Approved',\n salary: 142000,\n bonus: 43900,\n departmentId: 190\n },\n {\n employeeId: 320,\n firstName: 'Carolina',\n lastName: 'Holmes',\n revenue: 22700,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 4,\n status: 'Pending',\n salary: 181000,\n bonus: 52000,\n departmentId: 320\n },\n {\n employeeId: 330,\n firstName: 'Day',\n lastName: 'Newman',\n revenue: 46000,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 5,\n status: 'Approved',\n salary: 117000,\n bonus: 66700,\n departmentId: 290\n },\n {\n employeeId: 340,\n firstName: 'Nielsen',\n lastName: 'Harrell',\n revenue: 13800,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 5,\n status: 'Pending',\n salary: 212000,\n bonus: 39600,\n departmentId: 70\n },\n {\n employeeId: 350,\n firstName: 'Barbara',\n lastName: 'Moore',\n revenue: 37600,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Pending',\n salary: 185000,\n bonus: 61800,\n departmentId: 340\n },\n {\n employeeId: 360,\n firstName: 'Reese',\n lastName: 'Green',\n revenue: 27500,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Approved',\n salary: 168000,\n bonus: 72500,\n departmentId: 30\n },\n {\n employeeId: 370,\n firstName: 'Paige',\n lastName: 'Gregory',\n revenue: 22300,\n targetComplete: 70,\n targetIncomplete: 30,\n rating: 3,\n status: 'Pending',\n salary: 270000,\n bonus: 33500,\n departmentId: 360\n },\n {\n employeeId: 380,\n firstName: 'Jaclyn',\n lastName: 'Mann',\n revenue: 29700,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 1,\n status: 'Approved',\n salary: 224000,\n bonus: 76400,\n departmentId: 120\n },\n {\n employeeId: 390,\n firstName: 'Lula',\n lastName: 'Fowler',\n revenue: 40700,\n targetComplete: 60,\n targetIncomplete: 40,\n rating: 3,\n status: 'Approved',\n salary: 211000,\n bonus: 57000,\n departmentId: 320\n },\n {\n employeeId: 400,\n firstName: 'Regina',\n lastName: 'Watson',\n revenue: 10600,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Pending',\n salary: 211000,\n bonus: 31600,\n departmentId: 470\n },\n {\n employeeId: 410,\n firstName: 'Candice',\n lastName: 'Hardin',\n revenue: 48200,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 4,\n status: 'Pending',\n salary: 191000,\n bonus: 73400,\n departmentId: 110\n },\n {\n employeeId: 420,\n firstName: 'Pate',\n lastName: 'Haney',\n revenue: 12600,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 2,\n status: 'Approved',\n salary: 247000,\n bonus: 71600,\n departmentId: 200\n },\n {\n employeeId: 430,\n firstName: 'Snider',\n lastName: 'Shepard',\n revenue: 30900,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 4,\n status: 'Pending',\n salary: 230000,\n bonus: 59200,\n departmentId: 20\n },\n {\n employeeId: 440,\n firstName: 'Fleming',\n lastName: 'Torres',\n revenue: 13500,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 5,\n status: 'Approved',\n salary: 111000,\n bonus: 69800,\n departmentId: 120\n },\n {\n employeeId: 450,\n firstName: 'Terrie',\n lastName: 'Grimes',\n revenue: 47200,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 4,\n status: 'Pending',\n salary: 118000,\n bonus: 42900,\n departmentId: 460\n },\n {\n employeeId: 460,\n firstName: 'Hallie',\n lastName: 'Frye',\n revenue: 20900,\n targetComplete: 60,\n targetIncomplete: 40,\n rating: 4,\n status: 'Approved',\n salary: 218000,\n bonus: 50000,\n departmentId: 340\n },\n {\n employeeId: 470,\n firstName: 'Jerry',\n lastName: 'Salazar',\n revenue: 43300,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 5,\n status: 'Approved',\n salary: 103000,\n bonus: 49800,\n departmentId: 440\n },\n {\n employeeId: 480,\n firstName: 'Sally',\n lastName: 'Barnett',\n revenue: 39500,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 3,\n status: 'Pending',\n salary: 132000,\n bonus: 80000,\n departmentId: 160\n },\n {\n employeeId: 490,\n firstName: 'Goldie',\n lastName: 'Kelly',\n revenue: 32600,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 5,\n status: 'Approved',\n salary: 102000,\n bonus: 39000,\n departmentId: 10\n },\n {\n employeeId: 500,\n firstName: 'Brianna',\n lastName: 'Compton',\n revenue: 30400,\n targetComplete: 60,\n targetIncomplete: 40,\n rating: 4,\n status: 'Pending',\n salary: 114000,\n bonus: 78200,\n departmentId: 280\n }\n];\n"],"names":["getInnerGrids","async","tableView","findAllByRole","getRows","findContainingCell","rootElement","contentElement","dataset","parentElement","grids","innerTable","children","offsetWidth","id","name","title","initial","jest","mocha","timeout","setTimeout","rows","length","dataRow","getClientHints","platform","TestComponent","locale","matchTranslationBundle","Set","default","translations","__variableDynamicImportRuntime0__","env","render","_jsx","RootEnvironmentProvider","environment","selectedElements","unselectedElements","i","waitFor","expect","getAttribute","to","equal","not","value","expectedRowKey","rowKey","toString","expectedColumnKey","columnKey","expectedCellType","type","document","getElementById","textContent","element","width"],"mappings":"kPAcA,MAmBaA,EAAgBC,MAAOC,GAC3BA,EAAUC,cAAc,QAapBC,EAAUH,MAAOC,GACrBA,EAAUC,cAAc,OAwBpBE,EAAqB,CAChCC,EACAC,KAEA,GAA4C,MAAxCA,EAAeC,QAAoB,WACrC,OAAOD,EAET,MAAME,EAAgBF,EAAeE,cACrC,OAAIA,IAAkBH,GAAgC,MAAjBG,EAC5B,KAEFJ,EAAmBC,EAAaG,EAAc,mCAgFTR,MAAOC,IACnD,MAAMQ,QAAcV,EAAcE,GAE5BS,EAAaD,EAAM,GAAGE,SAAS,GAAGA,SAAS,GAAGA,SAAS,GAC7D,OAAOF,EAAM,GAAGG,YAAcF,EAAWE,WAAW,iBC2fd,CACtC,CACEC,GAAI,IACJC,KAAM,mBACNC,MAAO,iDACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,cACNC,MAAO,wDACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,mBACNC,MAAO,sCACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,sBACNC,MAAO,6CACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,gBACNC,MAAO,2BACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,mBACNC,MAAO,uCACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,4BACNC,MAAO,wCACPC,QAAS,2BD9hBoB,KACX,oBAATC,KACTC,MAAMC,QAjKqB,KAmK3BF,KAAKG,WAnKsB,IAoK5B,4CArH6BpB,MAAOC,IACrC,MAAMoB,QAAalB,EAAQF,GAC3B,OAAIoB,EAAKC,OAAS,EACTD,EAAKA,EAAKC,OAAS,GAAGX,SAExB,EAAE,qBA1BqBX,MAAOC,GAC9BA,EAAUC,cAAc,+BAaLF,MAAOuB,GAC1BA,EAAQZ,+CAkCI,IACkB,QAA9Ba,EAAcA,iBAAGC,0BAvEIzB,MAAO0B,IACnC,MAAMC,EAASC,yBAAuB,CAAC,MAAO,IAAIC,IAAI,CAAC,QAAS,SACxDC,QAASC,6uKAAuBC,CAAO,uBAAuBL,eAChEM,EAAgC,CACpCF,aAAc,CAAE,2BAA4BA,IAE9C,OAAOG,EAAMA,OACXC,MAACC,EAAAA,wBAAwB,CAAAC,YAAaJ,EAAMtB,SAAAe,IAC7C,uBA4G+B1B,MAChCsC,EACAC,KAEA,IAAK,IAAIC,EAAI,EAAGA,EAAIF,EAAiBhB,OAAQkB,UACrCC,EAAOA,SAAC,KACZC,SAAOJ,EAAiBE,GAAGG,aAAa,kBAAkBC,GAAGC,MAAM,OAAO,IAG9E,IAAK,IAAIL,EAAI,EAAGA,EAAID,EAAmBjB,OAAQkB,UACvCC,EAAOA,SAAC,KACZC,EAAAA,OAAOH,EAAmBC,GAAGG,aAAa,kBAAkBC,GAAGE,IAAID,MAAM,OAAO,GAEnF,2BA/BmC7C,MAAO+C,IAC3C,MAAMC,EAAkC,MAAjBD,GAAOE,OAAiBF,EAAME,OAAOC,WAAa,GACnEC,EAAwC,MAApBJ,GAAOK,UAAoBL,EAAMK,UAAUF,WAAa,GAC5EG,EAAkC,MAAfN,GAAOO,KAAeP,EAAMO,KAAO,SACtDb,EAAOA,SAAC,KACZC,EAAMA,OAzBDa,SAASC,eAAe,WAyBTC,aAAab,GAAGC,MAAMG,EAAe,UAErDP,EAAOA,SAAC,KACZC,EAAMA,OArBDa,SAASC,eAAe,cAqBNC,aAAab,GAAGC,MAAMM,EAAkB,UAE3DV,EAAOA,SAAC,KACZC,EAAMA,OAjBDa,SAASC,eAAe,aAiBPC,aAAab,GAAGC,MAAMQ,EAAiB,GAC7D,uBAyB8BrD,MAAO0D,EAAsBC,WACvDlB,EAAOA,SAAC,KACZC,EAAMA,OAACgB,EAAQ9C,aAAagC,GAAGC,MAAMc,EAAM,GAC3C"}
1
+ {"version":3,"file":"testData-b22c8f34.js","sources":["../../src/UNSAFE_TableView/__tests__/testHelpers.tsx","../../src/UNSAFE_TableView/__tests__/resources/testData.ts"],"sourcesContent":["/**\n * TableView test Adapters to abstract common unit test actions away from the implementation details.\n */\nimport { render, RenderResult, waitFor } from '@testing-library/preact';\nimport { expect } from 'chai';\nimport { VNode } from 'preact';\nimport { Cell } from '..';\nimport { getClientHints } from '../../utils/PRIVATE_clientHints';\nimport { matchTranslationBundle } from '../../utils/UNSAFE_matchTranslationBundle';\nimport { RootEnvironment, RootEnvironmentProvider } from '../../UNSAFE_Environment';\n\n/**\n * Constant for timeout for longer running TableView tests\n */\nconst TABLEVIEW_LONG_TIMEOUT = 10000;\n\n/**\n * Helper method to render a TableView test component with the proper environment setup\n */\nexport const setupTableView = async (TestComponent: VNode) => {\n const locale = matchTranslationBundle(['en'], new Set(['en-US', 'en']));\n const { default: translations } = await import(`../../resources/nls/${locale}/bundle.ts`);\n const env: Partial<RootEnvironment> = {\n translations: { '@oracle/oraclejet-preact': translations }\n };\n return render(\n <RootEnvironmentProvider environment={env}>{TestComponent}</RootEnvironmentProvider>\n );\n};\n\n/**\n * Helper function to get all 'grid' role elements within the given rendered component.\n */\nexport const getInnerGrids = async (tableView: RenderResult) => {\n return tableView.findAllByRole('grid');\n};\n\n/**\n * Helper function to get all 'columnheader' role elements within the given rendered component.\n */\nexport const getColumnHeaders = async (tableView: RenderResult) => {\n return tableView.findAllByRole('columnheader');\n};\n\n/**\n * Helper function to get all 'row' role elements within the given rendered component.\n */\nexport const getRows = async (tableView: RenderResult) => {\n return tableView.findAllByRole('row');\n};\n\n/**\n * Helper function to get all data cell elements within the given data row.\n */\nexport const getDataCells = async (dataRow: Element) => {\n return dataRow.children;\n};\n\n/**\n * Helper function to get all footer elements within the given rendered component.\n */\nexport const getColumnFooters = async (tableView: RenderResult) => {\n const rows = await getRows(tableView);\n if (rows.length > 2) {\n return rows[rows.length - 1].children;\n }\n return [];\n};\n\n/**\n * Helper method to find the containing cell element of a given element.\n */\nexport const findContainingCell = (\n rootElement: HTMLElement,\n contentElement: HTMLElement\n): HTMLElement | null => {\n if (contentElement.dataset['ojCellType'] != null) {\n return contentElement;\n }\n const parentElement = contentElement.parentElement;\n if (parentElement === rootElement || parentElement == null) {\n return null;\n }\n return findContainingCell(rootElement, parentElement);\n};\n\n/**\n * Helper function to determine if the current environment is a Mac.\n */\nexport const isMac = () => {\n return getClientHints().platform === 'mac';\n};\n\n/**\n * Helper function to get the 'rowKey' test element.\n */\nexport const getRowKey = () => {\n return document.getElementById('rowKey');\n};\n\n/**\n * Helper function to get the 'columnKey' test element.\n */\nexport const getColumnKey = () => {\n return document.getElementById('columnKey');\n};\n\n/**\n * Helper function to get the 'cellType' test element.\n */\nexport const getCellType = () => {\n return document.getElementById('cellType');\n};\n\n/**\n * Helper function to verify the values of the Table's internal currentCell.\n */\nexport const verifyCurrentCellValue = async (value: Cell<string | number, string> | undefined) => {\n const expectedRowKey = value?.rowKey != null ? value.rowKey.toString() : '';\n const expectedColumnKey = value?.columnKey != null ? value.columnKey.toString() : '';\n const expectedCellType = value?.type != null ? value.type : '';\n await waitFor(() => {\n expect(getRowKey()?.textContent).to.equal(expectedRowKey);\n });\n await waitFor(() => {\n expect(getColumnKey()?.textContent).to.equal(expectedColumnKey);\n });\n await waitFor(() => {\n expect(getCellType()?.textContent).to.equal(expectedCellType);\n });\n};\n\n/**\n * Helper function to verify the values of aria-selected attributes on specific elements.\n */\nexport const verifyAriaSelected = async (\n selectedElements: Element[],\n unselectedElements: Element[]\n) => {\n for (let i = 0; i < selectedElements.length; i++) {\n await waitFor(() => {\n expect(selectedElements[i].getAttribute('aria-selected')).to.equal('true');\n });\n }\n for (let i = 0; i < unselectedElements.length; i++) {\n await waitFor(() => {\n expect(unselectedElements[i].getAttribute('aria-selected')).to.not.equal('true');\n });\n }\n};\n\n/**\n * Helper function to verify the width of a Table element.\n */\nexport const verifyElementWidth = async (element: HTMLElement, width: number) => {\n await waitFor(() => {\n expect(element.offsetWidth).to.equal(width);\n });\n};\n\n/**\n * Helper function to verify the width of a Table element.\n */\nexport const determineBrowserScrollbarWidth = async (tableView: RenderResult) => {\n const grids = await getInnerGrids(tableView);\n\n const innerTable = grids[0].children[0].children[0].children[0] as HTMLElement;\n return grids[0].offsetWidth - innerTable.offsetWidth;\n};\n\n/**\n * Helper function to apply a longer timeout for tests\n */\nexport const enableLongTimeout = () => {\n if (typeof jest === 'undefined') {\n mocha.timeout(TABLEVIEW_LONG_TIMEOUT);\n } else {\n jest.setTimeout(TABLEVIEW_LONG_TIMEOUT);\n }\n};\n","export type Department = {\n departmentId: number;\n departmentName: string;\n locationId: number;\n managerId: number;\n startDate: string;\n employeeCount: number;\n type: string;\n currency: string;\n primary: string[];\n rating: number;\n targetComplete: number;\n};\n\nexport const departmentData = [\n {\n departmentId: 10,\n departmentName: 'Finance 9',\n locationId: 300,\n managerId: 7001,\n startDate: '2014-06-13',\n employeeCount: 335,\n type: 'Sales',\n currency: 'EUR',\n primary: [],\n rating: 3,\n targetComplete: 90\n },\n {\n departmentId: 20,\n departmentName: 'Control And Credit 9',\n locationId: 300,\n managerId: 7001,\n startDate: '2019-09-10',\n employeeCount: 206,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 1,\n targetComplete: 90\n },\n {\n departmentId: 30,\n departmentName: 'Purchasing 28',\n locationId: 400,\n managerId: 6001,\n startDate: '2021-01-03',\n employeeCount: 473,\n type: 'HR',\n currency: 'JPY',\n primary: ['checked'],\n rating: 3,\n targetComplete: 50\n },\n {\n departmentId: 40,\n departmentName: 'Purchasing 27',\n locationId: 400,\n managerId: 1001,\n startDate: '2016-02-01',\n employeeCount: 369,\n type: 'Finance',\n currency: 'JPY',\n primary: [],\n rating: 5,\n targetComplete: 80\n },\n {\n departmentId: 50,\n departmentName: 'Shipping 4',\n locationId: 300,\n managerId: 2001,\n startDate: '2014-07-31',\n employeeCount: 476,\n type: 'HR',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 90\n },\n {\n departmentId: 60,\n departmentName: 'Finance 10',\n locationId: 400,\n managerId: 5001,\n startDate: '2017-01-17',\n employeeCount: 304,\n type: 'Sales',\n currency: 'JPY',\n primary: ['checked'],\n rating: 3,\n targetComplete: 80\n },\n {\n departmentId: 70,\n departmentName: 'Operations 9',\n locationId: 400,\n managerId: 6001,\n startDate: '2015-05-24',\n employeeCount: 334,\n type: 'Sales',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 60\n },\n {\n departmentId: 80,\n departmentName: 'Sales and Marketing 18',\n locationId: 500,\n managerId: 4001,\n startDate: '2017-03-25',\n employeeCount: 211,\n type: 'Finance',\n currency: 'JPY',\n primary: [],\n rating: 1,\n targetComplete: 70\n },\n {\n departmentId: 90,\n departmentName: 'Inventory 6',\n locationId: 400,\n managerId: 5001,\n startDate: '2017-12-18',\n employeeCount: 429,\n type: 'Finance',\n currency: 'EUR',\n primary: ['checked'],\n rating: 1,\n targetComplete: 70\n },\n {\n departmentId: 100,\n departmentName: 'Billing 22',\n locationId: 400,\n managerId: 6001,\n startDate: '2014-06-26',\n employeeCount: 219,\n type: 'Sales',\n currency: 'EUR',\n primary: ['checked'],\n rating: 3,\n targetComplete: 80\n },\n {\n departmentId: 110,\n departmentName: 'Finance 1',\n locationId: 100,\n managerId: 3001,\n startDate: '2020-02-12',\n employeeCount: 412,\n type: 'Finance',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 70\n },\n {\n departmentId: 120,\n departmentName: 'Sales and Marketing 28',\n locationId: 300,\n managerId: 2001,\n startDate: '2014-07-11',\n employeeCount: 373,\n type: 'HR',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 60\n },\n {\n departmentId: 130,\n departmentName: 'Operations 22',\n locationId: 300,\n managerId: 1001,\n startDate: '2015-05-26',\n employeeCount: 245,\n type: 'Marketing',\n currency: 'USD',\n primary: [],\n rating: 2,\n targetComplete: 80\n },\n {\n departmentId: 140,\n departmentName: 'Human Resources 22',\n locationId: 200,\n managerId: 1001,\n startDate: '2015-09-08',\n employeeCount: 217,\n type: 'Finance',\n currency: 'USD',\n primary: [],\n rating: 5,\n targetComplete: 70\n },\n {\n departmentId: 150,\n departmentName: 'Shipping 17',\n locationId: 300,\n managerId: 6001,\n startDate: '2017-10-04',\n employeeCount: 441,\n type: 'HR',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 60\n },\n {\n departmentId: 160,\n departmentName: 'Administration 8',\n locationId: 400,\n managerId: 2001,\n startDate: '2014-12-21',\n employeeCount: 332,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 2,\n targetComplete: 60\n },\n {\n departmentId: 170,\n departmentName: 'Purchasing 14',\n locationId: 400,\n managerId: 4001,\n startDate: '2019-01-25',\n employeeCount: 282,\n type: 'Marketing',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 70\n },\n {\n departmentId: 180,\n departmentName: 'Operations 13',\n locationId: 400,\n managerId: 2001,\n startDate: '2016-01-18',\n employeeCount: 336,\n type: 'Finance',\n currency: 'EUR',\n primary: ['checked'],\n rating: 4,\n targetComplete: 90\n },\n {\n departmentId: 190,\n departmentName: 'Control And Credit 18',\n locationId: 100,\n managerId: 1001,\n startDate: '2014-03-11',\n employeeCount: 391,\n type: 'Sales',\n currency: 'JPY',\n primary: [],\n rating: 4,\n targetComplete: 50\n },\n {\n departmentId: 200,\n departmentName: 'Purchasing 10',\n locationId: 200,\n managerId: 7001,\n startDate: '2014-02-06',\n employeeCount: 211,\n type: 'Sales',\n currency: 'JPY',\n primary: [],\n rating: 4,\n targetComplete: 80\n },\n {\n departmentId: 210,\n departmentName: 'Finance 2',\n locationId: 100,\n managerId: 5001,\n startDate: '2014-01-29',\n employeeCount: 239,\n type: 'Finance',\n currency: 'EUR',\n primary: ['checked'],\n rating: 1,\n targetComplete: 50\n },\n {\n departmentId: 220,\n departmentName: 'Administration 4',\n locationId: 300,\n managerId: 6001,\n startDate: '2014-08-15',\n employeeCount: 355,\n type: 'Marketing',\n currency: 'EUR',\n primary: ['checked'],\n rating: 4,\n targetComplete: 50\n },\n {\n departmentId: 230,\n departmentName: 'Human Resources 6',\n locationId: 300,\n managerId: 6001,\n startDate: '2020-03-14',\n employeeCount: 385,\n type: 'Marketing',\n currency: 'EUR',\n primary: [],\n rating: 1,\n targetComplete: 60\n },\n {\n departmentId: 240,\n departmentName: 'Control And Credit 24',\n locationId: 200,\n managerId: 7001,\n startDate: '2015-04-25',\n employeeCount: 355,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 3,\n targetComplete: 90\n },\n {\n departmentId: 250,\n departmentName: 'Control And Credit 8',\n locationId: 200,\n managerId: 6001,\n startDate: '2020-11-17',\n employeeCount: 361,\n type: 'Marketing',\n currency: 'USD',\n primary: ['checked'],\n rating: 1,\n targetComplete: 80\n },\n {\n departmentId: 260,\n departmentName: 'Billing 21',\n locationId: 200,\n managerId: 5001,\n startDate: '2018-05-18',\n employeeCount: 467,\n type: 'Finance',\n currency: 'EUR',\n primary: [],\n rating: 4,\n targetComplete: 90\n },\n {\n departmentId: 270,\n departmentName: 'Administration 5',\n locationId: 400,\n managerId: 3001,\n startDate: '2016-07-09',\n employeeCount: 495,\n type: 'Marketing',\n currency: 'USD',\n primary: [],\n rating: 1,\n targetComplete: 80\n },\n {\n departmentId: 280,\n departmentName: 'Purchasing 27',\n locationId: 100,\n managerId: 1001,\n startDate: '2017-01-20',\n employeeCount: 364,\n type: 'Finance',\n currency: 'JPY',\n primary: [],\n rating: 1,\n targetComplete: 60\n },\n {\n departmentId: 290,\n departmentName: 'Human Resources 24',\n locationId: 200,\n managerId: 6001,\n startDate: '2020-03-03',\n employeeCount: 242,\n type: 'Marketing',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 90\n },\n {\n departmentId: 300,\n departmentName: 'Finance 23',\n locationId: 300,\n managerId: 1001,\n startDate: '2020-09-20',\n employeeCount: 327,\n type: 'Finance',\n currency: 'EUR',\n primary: [],\n rating: 3,\n targetComplete: 60\n },\n {\n departmentId: 310,\n departmentName: 'Inventory 24',\n locationId: 500,\n managerId: 3001,\n startDate: '2015-07-18',\n employeeCount: 420,\n type: 'Finance',\n currency: 'JPY',\n primary: [],\n rating: 5,\n targetComplete: 70\n },\n {\n departmentId: 320,\n departmentName: 'Shipping 26',\n locationId: 400,\n managerId: 1001,\n startDate: '2015-09-16',\n employeeCount: 219,\n type: 'Sales',\n currency: 'EUR',\n primary: [],\n rating: 3,\n targetComplete: 60\n },\n {\n departmentId: 330,\n departmentName: 'Inventory 22',\n locationId: 200,\n managerId: 5001,\n startDate: '2014-11-22',\n employeeCount: 356,\n type: 'HR',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 90\n },\n {\n departmentId: 340,\n departmentName: 'Purchasing 4',\n locationId: 300,\n managerId: 6001,\n startDate: '2014-03-02',\n employeeCount: 202,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 3,\n targetComplete: 50\n },\n {\n departmentId: 350,\n departmentName: 'Purchasing 9',\n locationId: 400,\n managerId: 7001,\n startDate: '2020-06-09',\n employeeCount: 415,\n type: 'Finance',\n currency: 'USD',\n primary: ['checked'],\n rating: 2,\n targetComplete: 70\n },\n {\n departmentId: 360,\n departmentName: 'Purchasing 14',\n locationId: 300,\n managerId: 1001,\n startDate: '2020-07-20',\n employeeCount: 323,\n type: 'HR',\n currency: 'JPY',\n primary: ['checked'],\n rating: 5,\n targetComplete: 70\n },\n {\n departmentId: 370,\n departmentName: 'Operations 4',\n locationId: 500,\n managerId: 6001,\n startDate: '2015-08-23',\n employeeCount: 473,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 5,\n targetComplete: 80\n },\n {\n departmentId: 380,\n departmentName: 'Sales and Marketing 26',\n locationId: 500,\n managerId: 1001,\n startDate: '2017-08-02',\n employeeCount: 380,\n type: 'Finance',\n currency: 'EUR',\n primary: [],\n rating: 3,\n targetComplete: 60\n },\n {\n departmentId: 390,\n departmentName: 'Control And Credit 12',\n locationId: 200,\n managerId: 1001,\n startDate: '2017-10-08',\n employeeCount: 328,\n type: 'Sales',\n currency: 'USD',\n primary: [],\n rating: 2,\n targetComplete: 60\n },\n {\n departmentId: 400,\n departmentName: 'Sales and Marketing 6',\n locationId: 300,\n managerId: 7001,\n startDate: '2019-02-06',\n employeeCount: 301,\n type: 'Marketing',\n currency: 'USD',\n primary: [],\n rating: 2,\n targetComplete: 50\n },\n {\n departmentId: 410,\n departmentName: 'Administration 3',\n locationId: 400,\n managerId: 3001,\n startDate: '2020-07-09',\n employeeCount: 250,\n type: 'Finance',\n currency: 'USD',\n primary: ['checked'],\n rating: 2,\n targetComplete: 50\n },\n {\n departmentId: 420,\n departmentName: 'Finance 18',\n locationId: 400,\n managerId: 6001,\n startDate: '2017-08-07',\n employeeCount: 409,\n type: 'Marketing',\n currency: 'USD',\n primary: [],\n rating: 1,\n targetComplete: 90\n },\n {\n departmentId: 430,\n departmentName: 'Operations 11',\n locationId: 400,\n managerId: 3001,\n startDate: '2015-09-24',\n employeeCount: 296,\n type: 'Marketing',\n currency: 'USD',\n primary: ['checked'],\n rating: 3,\n targetComplete: 80\n },\n {\n departmentId: 440,\n departmentName: 'Inventory 6',\n locationId: 300,\n managerId: 4001,\n startDate: '2016-05-27',\n employeeCount: 467,\n type: 'HR',\n currency: 'EUR',\n primary: ['checked'],\n rating: 3,\n targetComplete: 70\n },\n {\n departmentId: 450,\n departmentName: 'Inventory 27',\n locationId: 300,\n managerId: 4001,\n startDate: '2019-05-29',\n employeeCount: 244,\n type: 'HR',\n currency: 'JPY',\n primary: ['checked'],\n rating: 1,\n targetComplete: 90\n },\n {\n departmentId: 460,\n departmentName: 'Transportation 8',\n locationId: 400,\n managerId: 6001,\n startDate: '2018-08-23',\n employeeCount: 443,\n type: 'Finance',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 80\n },\n {\n departmentId: 470,\n departmentName: 'Inventory 21',\n locationId: 300,\n managerId: 5001,\n startDate: '2015-01-20',\n employeeCount: 250,\n type: 'Sales',\n currency: 'JPY',\n primary: [],\n rating: 1,\n targetComplete: 50\n },\n {\n departmentId: 480,\n departmentName: 'Finance 14',\n locationId: 300,\n managerId: 7001,\n startDate: '2014-09-24',\n employeeCount: 319,\n type: 'Marketing',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 50\n },\n {\n departmentId: 490,\n departmentName: 'Human Resources 12',\n locationId: 300,\n managerId: 5001,\n startDate: '2019-06-29',\n employeeCount: 448,\n type: 'HR',\n currency: 'JPY',\n primary: [],\n rating: 2,\n targetComplete: 70\n },\n {\n departmentId: 500,\n departmentName: 'Transportation 29',\n locationId: 300,\n managerId: 5001,\n startDate: '2014-01-07',\n employeeCount: 453,\n type: 'HR',\n currency: 'EUR',\n primary: ['checked'],\n rating: 3,\n targetComplete: 80\n }\n];\n\nexport type Employee = {\n id: string;\n name: string;\n title: string;\n initial: string;\n};\n\nexport const employeeData: Employee[] = [\n {\n id: '3',\n name: 'Chris Benalamore',\n title: 'Area Business Operations Director EMEA & JAPAC',\n initial: 'CB'\n },\n {\n id: '1',\n name: 'Chris Black',\n title: 'Oracle Cloud Infrastructure GTM Channel Director EMEA',\n initial: 'CB'\n },\n {\n id: '2',\n name: 'Christine Cooper',\n title: 'Senior Principal Escalation Manager',\n initial: 'CC'\n },\n {\n id: '4',\n name: 'Christopher Johnson',\n title: 'Vice-President HCM Application Development',\n initial: 'CJ'\n },\n {\n id: '6',\n name: 'Kurt Marchris',\n title: 'Customer Service Analyst',\n initial: 'KM'\n },\n {\n id: '5',\n name: 'Samire Christian',\n title: 'Consulting Project Technical Manager',\n initial: 'SC'\n },\n {\n id: '7',\n name: 'Zelda Christian Cooperman',\n title: 'Senior Principal Escalation Manager 2',\n initial: 'ZC'\n }\n];\n\nexport type EmployeeStatus = {\n employeeId: number;\n firstName: string;\n lastName: string;\n revenue: number;\n targetComplete: number;\n targetIncomplete: number;\n rating: number;\n status: string;\n salary: number;\n bonus: number;\n departmentId: number;\n};\n\nexport const employeeStatusData = [\n {\n employeeId: 10,\n firstName: 'Frank',\n lastName: 'Stout',\n revenue: 33200,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 5,\n status: 'Pending',\n salary: 159000,\n bonus: 47900,\n departmentId: 320\n },\n {\n employeeId: 20,\n firstName: 'Mara',\n lastName: 'Rivers',\n revenue: 17200,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 3,\n status: 'Pending',\n salary: 200000,\n bonus: 45300,\n departmentId: 40\n },\n {\n employeeId: 30,\n firstName: 'Karina',\n lastName: 'Cameron',\n revenue: 30100,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 4,\n status: 'Approved',\n salary: 279000,\n bonus: 79700,\n departmentId: 370\n },\n {\n employeeId: 40,\n firstName: 'Marilyn',\n lastName: 'Short',\n revenue: 48800,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 3,\n status: 'Approved',\n salary: 106000,\n bonus: 77500,\n departmentId: 310\n },\n {\n employeeId: 50,\n firstName: 'Audra',\n lastName: 'Long',\n revenue: 40700,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Pending',\n salary: 123000,\n bonus: 39900,\n departmentId: 490\n },\n {\n employeeId: 60,\n firstName: 'Woods',\n lastName: 'Jefferson',\n revenue: 29000,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 3,\n status: 'Pending',\n salary: 145000,\n bonus: 49600,\n departmentId: 160\n },\n {\n employeeId: 70,\n firstName: 'Spears',\n lastName: 'Howe',\n revenue: 32900,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 5,\n status: 'Approved',\n salary: 120000,\n bonus: 30300,\n departmentId: 460\n },\n {\n employeeId: 80,\n firstName: 'Kelsey',\n lastName: 'Gomez',\n revenue: 34200,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 1,\n status: 'Pending',\n salary: 147000,\n bonus: 79800,\n departmentId: 330\n },\n {\n employeeId: 90,\n firstName: 'Miriam',\n lastName: 'Branch',\n revenue: 42800,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 3,\n status: 'Pending',\n salary: 117000,\n bonus: 43000,\n departmentId: 50\n },\n {\n employeeId: 100,\n firstName: 'Tisha',\n lastName: 'Parks',\n revenue: 17800,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 1,\n status: 'Pending',\n salary: 136000,\n bonus: 33800,\n departmentId: 200\n },\n {\n employeeId: 110,\n firstName: 'Dollie',\n lastName: 'Pittman',\n revenue: 15700,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 3,\n status: 'Approved',\n salary: 121000,\n bonus: 60600,\n departmentId: 500\n },\n {\n employeeId: 120,\n firstName: 'Leticia',\n lastName: 'Goodman',\n revenue: 16200,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 5,\n status: 'Pending',\n salary: 295000,\n bonus: 74900,\n departmentId: 300\n },\n {\n employeeId: 130,\n firstName: 'Harrison',\n lastName: 'Jarvis',\n revenue: 32500,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 1,\n status: 'Pending',\n salary: 125000,\n bonus: 59600,\n departmentId: 80\n },\n {\n employeeId: 140,\n firstName: 'Salinas',\n lastName: 'Richardson',\n revenue: 49600,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 5,\n status: 'Pending',\n salary: 228000,\n bonus: 50500,\n departmentId: 50\n },\n {\n employeeId: 150,\n firstName: 'Barry',\n lastName: 'Maxwell',\n revenue: 42800,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 5,\n status: 'Pending',\n salary: 269000,\n bonus: 52200,\n departmentId: 400\n },\n {\n employeeId: 160,\n firstName: 'Diaz',\n lastName: 'Velazquez',\n revenue: 24100,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 4,\n status: 'Approved',\n salary: 242000,\n bonus: 45000,\n departmentId: 370\n },\n {\n employeeId: 170,\n firstName: 'Minnie',\n lastName: 'Riley',\n revenue: 12000,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 2,\n status: 'Approved',\n salary: 107000,\n bonus: 67500,\n departmentId: 250\n },\n {\n employeeId: 180,\n firstName: 'Fulton',\n lastName: 'Bernard',\n revenue: 29400,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 4,\n status: 'Approved',\n salary: 259000,\n bonus: 37400,\n departmentId: 170\n },\n {\n employeeId: 190,\n firstName: 'Chandler',\n lastName: 'Mccarty',\n revenue: 30100,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 1,\n status: 'Approved',\n salary: 185000,\n bonus: 74000,\n departmentId: 250\n },\n {\n employeeId: 200,\n firstName: 'Flowers',\n lastName: 'Hernandez',\n revenue: 20700,\n targetComplete: 70,\n targetIncomplete: 30,\n rating: 4,\n status: 'Approved',\n salary: 135000,\n bonus: 39300,\n departmentId: 260\n },\n {\n employeeId: 210,\n firstName: 'Donaldson',\n lastName: 'Sharp',\n revenue: 42300,\n targetComplete: 70,\n targetIncomplete: 30,\n rating: 3,\n status: 'Pending',\n salary: 176000,\n bonus: 67600,\n departmentId: 250\n },\n {\n employeeId: 220,\n firstName: 'Melanie',\n lastName: 'Gamble',\n revenue: 30100,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Approved',\n salary: 219000,\n bonus: 52400,\n departmentId: 230\n },\n {\n employeeId: 230,\n firstName: 'Leona',\n lastName: 'Erickson',\n revenue: 11400,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 1,\n status: 'Pending',\n salary: 185000,\n bonus: 57300,\n departmentId: 160\n },\n {\n employeeId: 240,\n firstName: 'Dionne',\n lastName: 'Howell',\n revenue: 44200,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 1,\n status: 'Approved',\n salary: 211000,\n bonus: 65800,\n departmentId: 130\n },\n {\n employeeId: 250,\n firstName: 'June',\n lastName: 'Warren',\n revenue: 39500,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Approved',\n salary: 222000,\n bonus: 65200,\n departmentId: 260\n },\n {\n employeeId: 260,\n firstName: 'Carey',\n lastName: 'Johns',\n revenue: 36000,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Approved',\n salary: 233000,\n bonus: 69500,\n departmentId: 190\n },\n {\n employeeId: 270,\n firstName: 'Estelle',\n lastName: 'Bowers',\n revenue: 27600,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 2,\n status: 'Approved',\n salary: 212000,\n bonus: 37700,\n departmentId: 120\n },\n {\n employeeId: 280,\n firstName: 'Rena',\n lastName: 'Blanchard',\n revenue: 16000,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Approved',\n salary: 135000,\n bonus: 51000,\n departmentId: 380\n },\n {\n employeeId: 290,\n firstName: 'Hinton',\n lastName: 'Tillman',\n revenue: 42400,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 4,\n status: 'Pending',\n salary: 134000,\n bonus: 49600,\n departmentId: 40\n },\n {\n employeeId: 300,\n firstName: 'Gloria',\n lastName: 'Everett',\n revenue: 42100,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Approved',\n salary: 278000,\n bonus: 38400,\n departmentId: 180\n },\n {\n employeeId: 310,\n firstName: 'Ware',\n lastName: 'Simon',\n revenue: 49500,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Approved',\n salary: 142000,\n bonus: 43900,\n departmentId: 190\n },\n {\n employeeId: 320,\n firstName: 'Carolina',\n lastName: 'Holmes',\n revenue: 22700,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 4,\n status: 'Pending',\n salary: 181000,\n bonus: 52000,\n departmentId: 320\n },\n {\n employeeId: 330,\n firstName: 'Day',\n lastName: 'Newman',\n revenue: 46000,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 5,\n status: 'Approved',\n salary: 117000,\n bonus: 66700,\n departmentId: 290\n },\n {\n employeeId: 340,\n firstName: 'Nielsen',\n lastName: 'Harrell',\n revenue: 13800,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 5,\n status: 'Pending',\n salary: 212000,\n bonus: 39600,\n departmentId: 70\n },\n {\n employeeId: 350,\n firstName: 'Barbara',\n lastName: 'Moore',\n revenue: 37600,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Pending',\n salary: 185000,\n bonus: 61800,\n departmentId: 340\n },\n {\n employeeId: 360,\n firstName: 'Reese',\n lastName: 'Green',\n revenue: 27500,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Approved',\n salary: 168000,\n bonus: 72500,\n departmentId: 30\n },\n {\n employeeId: 370,\n firstName: 'Paige',\n lastName: 'Gregory',\n revenue: 22300,\n targetComplete: 70,\n targetIncomplete: 30,\n rating: 3,\n status: 'Pending',\n salary: 270000,\n bonus: 33500,\n departmentId: 360\n },\n {\n employeeId: 380,\n firstName: 'Jaclyn',\n lastName: 'Mann',\n revenue: 29700,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 1,\n status: 'Approved',\n salary: 224000,\n bonus: 76400,\n departmentId: 120\n },\n {\n employeeId: 390,\n firstName: 'Lula',\n lastName: 'Fowler',\n revenue: 40700,\n targetComplete: 60,\n targetIncomplete: 40,\n rating: 3,\n status: 'Approved',\n salary: 211000,\n bonus: 57000,\n departmentId: 320\n },\n {\n employeeId: 400,\n firstName: 'Regina',\n lastName: 'Watson',\n revenue: 10600,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Pending',\n salary: 211000,\n bonus: 31600,\n departmentId: 470\n },\n {\n employeeId: 410,\n firstName: 'Candice',\n lastName: 'Hardin',\n revenue: 48200,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 4,\n status: 'Pending',\n salary: 191000,\n bonus: 73400,\n departmentId: 110\n },\n {\n employeeId: 420,\n firstName: 'Pate',\n lastName: 'Haney',\n revenue: 12600,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 2,\n status: 'Approved',\n salary: 247000,\n bonus: 71600,\n departmentId: 200\n },\n {\n employeeId: 430,\n firstName: 'Snider',\n lastName: 'Shepard',\n revenue: 30900,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 4,\n status: 'Pending',\n salary: 230000,\n bonus: 59200,\n departmentId: 20\n },\n {\n employeeId: 440,\n firstName: 'Fleming',\n lastName: 'Torres',\n revenue: 13500,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 5,\n status: 'Approved',\n salary: 111000,\n bonus: 69800,\n departmentId: 120\n },\n {\n employeeId: 450,\n firstName: 'Terrie',\n lastName: 'Grimes',\n revenue: 47200,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 4,\n status: 'Pending',\n salary: 118000,\n bonus: 42900,\n departmentId: 460\n },\n {\n employeeId: 460,\n firstName: 'Hallie',\n lastName: 'Frye',\n revenue: 20900,\n targetComplete: 60,\n targetIncomplete: 40,\n rating: 4,\n status: 'Approved',\n salary: 218000,\n bonus: 50000,\n departmentId: 340\n },\n {\n employeeId: 470,\n firstName: 'Jerry',\n lastName: 'Salazar',\n revenue: 43300,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 5,\n status: 'Approved',\n salary: 103000,\n bonus: 49800,\n departmentId: 440\n },\n {\n employeeId: 480,\n firstName: 'Sally',\n lastName: 'Barnett',\n revenue: 39500,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 3,\n status: 'Pending',\n salary: 132000,\n bonus: 80000,\n departmentId: 160\n },\n {\n employeeId: 490,\n firstName: 'Goldie',\n lastName: 'Kelly',\n revenue: 32600,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 5,\n status: 'Approved',\n salary: 102000,\n bonus: 39000,\n departmentId: 10\n },\n {\n employeeId: 500,\n firstName: 'Brianna',\n lastName: 'Compton',\n revenue: 30400,\n targetComplete: 60,\n targetIncomplete: 40,\n rating: 4,\n status: 'Pending',\n salary: 114000,\n bonus: 78200,\n departmentId: 280\n }\n];\n"],"names":["getInnerGrids","async","tableView","findAllByRole","getRows","findContainingCell","rootElement","contentElement","dataset","parentElement","grids","innerTable","children","offsetWidth","id","name","title","initial","jest","mocha","timeout","setTimeout","rows","length","dataRow","getClientHints","platform","TestComponent","locale","matchTranslationBundle","Set","default","translations","__variableDynamicImportRuntime0__","env","render","_jsx","RootEnvironmentProvider","environment","selectedElements","unselectedElements","i","waitFor","expect","getAttribute","to","equal","not","value","expectedRowKey","rowKey","toString","expectedColumnKey","columnKey","expectedCellType","type","document","getElementById","textContent","element","width"],"mappings":"kPAcA,MAmBaA,EAAgBC,MAAOC,GAC3BA,EAAUC,cAAc,QAapBC,EAAUH,MAAOC,GACrBA,EAAUC,cAAc,OAwBpBE,EAAqB,CAChCC,EACAC,KAEA,GAA4C,MAAxCA,EAAeC,QAAoB,WACrC,OAAOD,EAET,MAAME,EAAgBF,EAAeE,cACrC,OAAIA,IAAkBH,GAAgC,MAAjBG,EAC5B,KAEFJ,EAAmBC,EAAaG,EAAc,mCAgFTR,MAAOC,IACnD,MAAMQ,QAAcV,EAAcE,GAE5BS,EAAaD,EAAM,GAAGE,SAAS,GAAGA,SAAS,GAAGA,SAAS,GAC7D,OAAOF,EAAM,GAAGG,YAAcF,EAAWE,WAAW,iBC2fd,CACtC,CACEC,GAAI,IACJC,KAAM,mBACNC,MAAO,iDACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,cACNC,MAAO,wDACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,mBACNC,MAAO,sCACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,sBACNC,MAAO,6CACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,gBACNC,MAAO,2BACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,mBACNC,MAAO,uCACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,4BACNC,MAAO,wCACPC,QAAS,2BD9hBoB,KACX,oBAATC,KACTC,MAAMC,QAjKqB,KAmK3BF,KAAKG,WAnKsB,IAoK5B,4CArH6BpB,MAAOC,IACrC,MAAMoB,QAAalB,EAAQF,GAC3B,OAAIoB,EAAKC,OAAS,EACTD,EAAKA,EAAKC,OAAS,GAAGX,SAExB,EAAE,qBA1BqBX,MAAOC,GAC9BA,EAAUC,cAAc,+BAaLF,MAAOuB,GAC1BA,EAAQZ,+CAkCI,IACkB,QAA9Ba,EAAcA,iBAAGC,0BAvEIzB,MAAO0B,IACnC,MAAMC,EAASC,yBAAuB,CAAC,MAAO,IAAIC,IAAI,CAAC,QAAS,SACxDC,QAASC,6uKAAuBC,CAAO,uBAAuBL,eAChEM,EAAgC,CACpCF,aAAc,CAAE,2BAA4BA,IAE9C,OAAOG,EAAMA,OACXC,MAACC,EAAAA,wBAAwB,CAAAC,YAAaJ,EAAMtB,SAAAe,IAC7C,uBA4G+B1B,MAChCsC,EACAC,KAEA,IAAK,IAAIC,EAAI,EAAGA,EAAIF,EAAiBhB,OAAQkB,UACrCC,EAAOA,SAAC,KACZC,SAAOJ,EAAiBE,GAAGG,aAAa,kBAAkBC,GAAGC,MAAM,OAAO,IAG9E,IAAK,IAAIL,EAAI,EAAGA,EAAID,EAAmBjB,OAAQkB,UACvCC,EAAOA,SAAC,KACZC,EAAAA,OAAOH,EAAmBC,GAAGG,aAAa,kBAAkBC,GAAGE,IAAID,MAAM,OAAO,GAEnF,2BA/BmC7C,MAAO+C,IAC3C,MAAMC,EAAkC,MAAjBD,GAAOE,OAAiBF,EAAME,OAAOC,WAAa,GACnEC,EAAwC,MAApBJ,GAAOK,UAAoBL,EAAMK,UAAUF,WAAa,GAC5EG,EAAkC,MAAfN,GAAOO,KAAeP,EAAMO,KAAO,SACtDb,EAAOA,SAAC,KACZC,EAAMA,OAzBDa,SAASC,eAAe,WAyBTC,aAAab,GAAGC,MAAMG,EAAe,UAErDP,EAAOA,SAAC,KACZC,EAAMA,OArBDa,SAASC,eAAe,cAqBNC,aAAab,GAAGC,MAAMM,EAAkB,UAE3DV,EAAOA,SAAC,KACZC,EAAMA,OAjBDa,SAASC,eAAe,aAiBPC,aAAab,GAAGC,MAAMQ,EAAiB,GAC7D,uBAyB8BrD,MAAO0D,EAAsBC,WACvDlB,EAAOA,SAAC,KACZC,EAAMA,OAACgB,EAAQ9C,aAAagC,GAAGC,MAAMc,EAAM,GAC3C"}
@@ -0,0 +1,2 @@
1
+ define(['exports', 'preact/jsx-runtime', './LayerHost-639b3284', './EnvironmentProvider-c0e1e39b', './Floating-25e0092b', './Layer-e835aed8', 'preact/compat'], (function(e,t,i,a,n,s,c){"use strict";const l=new class{constructor(){this.keyDownHandler=e=>{"Tab"===e.key&&(this.tabKeyActive=!0,setTimeout((()=>{this.tabKeyActive=!1}),100))},this.register=e=>{this.activeCallback&&this.activeCallback!==e&&this.activeCallback(),this.activeCallback=e},this.unregister=e=>{this.activeCallback===e&&(this.activeCallback=null)},this.isTabKeyActive=()=>this.tabKeyActive,this.activeCallback=null,this.tabKeyActive=!1,window.addEventListener("keydown",this.keyDownHandler,!0)}};e.SHOW_TOOLTIP_DELAY=250,e.getGlobalTooltipManager=()=>l,e.getWrappedTooltipContent=(e,i,c,l,r,o)=>{const h=o||{mainAxis:8,crossAxis:0},v=c&&"light"!==c?"light":"dark";return t.jsx(s.Layer,{children:t.jsx(n.Floating,{anchorRef:l,placement:r,offsetValue:h,children:"tooltip"===i?t.jsx(a.EnvironmentProvider,{environment:{colorScheme:v},children:e}):t.jsx(t.Fragment,{children:e})})})}}));
2
+ //# sourceMappingURL=tooltipUtils-79293e46.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tooltipUtils-3b34c2bc.js","sources":["../../src/utils/PRIVATE_tooltipUtils/tooltipUtils.tsx","../../src/hooks/UNSAFE_useTooltip/TooltipManager.ts"],"sourcesContent":["/**\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 */\nimport { Ref } from 'preact/hooks';\nimport { JSXInternal } from 'preact/src/jsx';\nimport { EnvironmentProvider } from '../../UNSAFE_Environment';\nimport { Coords, Floating, Placement } from '../../UNSAFE_Floating';\nimport { Layer } from '../../UNSAFE_Layer';\nimport { ColorScheme } from '../../UNSAFE_Theme';\nimport { TooltipManager } from '../../hooks/UNSAFE_useTooltip/TooltipManager';\n\n// Global TooltipManager singleton instance\nconst globalTooltipManager = new TooltipManager();\n\n/**\n * The delay (in ms) for Redwood tooltips.\n */\nexport const SHOW_TOOLTIP_DELAY = 250;\n\n/**\n * Returns a global TooltipManager singleton instance\n */\nexport const getGlobalTooltipManager = (): TooltipManager => {\n return globalTooltipManager;\n};\n\n/**\n * Wraps the tooltip content provided in the appropriate layering and returns the result for display.\n */\nexport const getWrappedTooltipContent = (\n tooltipContent: JSXInternal.Element,\n variant: 'tooltip' | 'datatip',\n colorScheme: ColorScheme,\n anchorRef: Ref<Element | Coords>,\n placement: Placement,\n offset?: { mainAxis?: number; crossAxis?: number }\n): JSXInternal.Element => {\n const defaultOffset = 8; // Redwood tooltip has a default offset of 8 pixels\n const newOffset = offset ? offset : { mainAxis: defaultOffset, crossAxis: 0 };\n\n const newColorScheme = !colorScheme || colorScheme === 'light' ? 'dark' : 'light';\n\n const renderTooltipOrDatatip = () => {\n if (variant === 'tooltip') {\n return (\n <EnvironmentProvider environment={{ colorScheme: newColorScheme }}>\n {tooltipContent}\n </EnvironmentProvider>\n );\n } else {\n return <>{tooltipContent}</>;\n }\n };\n\n return (\n <Layer>\n <Floating anchorRef={anchorRef} placement={placement} offsetValue={newOffset}>\n {renderTooltipOrDatatip()}\n </Floating>\n </Layer>\n );\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\nexport type TooltipManagerCallback = () => void;\n\n/**\n * A global tooltip manager that\n * - ensures that only one tooltip is shown at a time\n * - detects a Tab key press and allows tooltips to check if their target was focused via keyboard\n */\nexport class TooltipManager {\n private activeCallback: TooltipManagerCallback | null;\n\n private tabKeyActive: boolean;\n\n private keyDownHandler = (event: KeyboardEvent) => {\n if (event.key === 'Tab') {\n this.tabKeyActive = true;\n setTimeout(() => {\n this.tabKeyActive = false;\n }, 100);\n }\n };\n\n constructor() {\n this.activeCallback = null;\n this.tabKeyActive = false;\n window.addEventListener('keydown', this.keyDownHandler, true);\n }\n\n /**\n * notifies the previously registered active tooltip callback and registers a new one\n */\n public register = (callback: TooltipManagerCallback) => {\n if (this.activeCallback && this.activeCallback !== callback) {\n this.activeCallback();\n }\n this.activeCallback = callback;\n };\n\n /**\n * resets the registered active callback\n */\n public unregister = (callback: TooltipManagerCallback) => {\n if (this.activeCallback === callback) {\n this.activeCallback = null;\n }\n };\n\n /**\n * returns the active Tab key status ('active' means a Tab key press within the last 100ms)\n */\n public isTabKeyActive = () => {\n return this.tabKeyActive;\n };\n}\n"],"names":["globalTooltipManager","constructor","this","keyDownHandler","event","key","tabKeyActive","setTimeout","register","callback","activeCallback","unregister","isTabKeyActive","window","addEventListener","tooltipContent","variant","colorScheme","anchorRef","placement","offset","newOffset","mainAxis","crossAxis","newColorScheme","_jsx","Layer","children","Floating","offsetValue","jsx","EnvironmentProvider","environment","_Fragment","Fragment"],"mappings":"+LAgBA,MAAMA,EAAuB,UCa3B,WAAAC,GATQC,KAAAC,eAAkBC,IACN,QAAdA,EAAMC,MACRH,KAAKI,cAAe,EACpBC,YAAW,KACTL,KAAKI,cAAe,CAAK,GACxB,KACJ,EAYIJ,KAAAM,SAAYC,IACbP,KAAKQ,gBAAkBR,KAAKQ,iBAAmBD,GACjDP,KAAKQ,iBAEPR,KAAKQ,eAAiBD,CAAQ,EAMzBP,KAAAS,WAAcF,IACfP,KAAKQ,iBAAmBD,IAC1BP,KAAKQ,eAAiB,KACvB,EAMIR,KAAcU,eAAG,IACfV,KAAKI,aA5BZJ,KAAKQ,eAAiB,KACtBR,KAAKI,cAAe,EACpBO,OAAOC,iBAAiB,UAAWZ,KAAKC,gBAAgB,EACzD,wBDZ+B,8BAKK,IAC9BH,6BAM+B,CACtCe,EACAC,EACAC,EACAC,EACAC,EACAC,KAEA,MACMC,EAAYD,GAAkB,CAAEE,SADhB,EACyCC,UAAW,GAEpEC,EAAkBP,GAA+B,UAAhBA,EAAmC,QAAT,OAcjE,OACEQ,EAAAA,IAACC,EAAAA,MACC,CAAAC,SAAAF,EAAAA,IAACG,EAAAA,SAAS,CAAAV,UAAWA,EAAWC,UAAWA,EAAWU,YAAaR,EAASM,SAb9D,YAAZX,EAEAS,EAAAK,IAACC,sBAAmB,CAACC,YAAa,CAAEf,YAAaO,GAAgBG,SAC9DZ,IAIEU,EAAAK,IAAAG,EAAAC,SAAA,CAAAP,SAAGZ,OAUZ"}
1
+ {"version":3,"file":"tooltipUtils-79293e46.js","sources":["../../src/utils/PRIVATE_tooltipUtils/tooltipUtils.tsx","../../src/hooks/UNSAFE_useTooltip/TooltipManager.ts"],"sourcesContent":["/**\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 */\nimport { Ref } from 'preact/hooks';\nimport { JSXInternal } from 'preact/src/jsx';\nimport { EnvironmentProvider } from '../../UNSAFE_Environment';\nimport { Coords, Floating, Placement } from '../../UNSAFE_Floating';\nimport { Layer } from '../../UNSAFE_Layer';\nimport { ColorScheme } from '../../UNSAFE_Theme';\nimport { TooltipManager } from '../../hooks/UNSAFE_useTooltip/TooltipManager';\n\n// Global TooltipManager singleton instance\nconst globalTooltipManager = new TooltipManager();\n\n/**\n * The delay (in ms) for Redwood tooltips.\n */\nexport const SHOW_TOOLTIP_DELAY = 250;\n\n/**\n * Returns a global TooltipManager singleton instance\n */\nexport const getGlobalTooltipManager = (): TooltipManager => {\n return globalTooltipManager;\n};\n\n/**\n * Wraps the tooltip content provided in the appropriate layering and returns the result for display.\n */\nexport const getWrappedTooltipContent = (\n tooltipContent: JSXInternal.Element,\n variant: 'tooltip' | 'datatip',\n colorScheme: ColorScheme,\n anchorRef: Ref<Element | Coords>,\n placement: Placement,\n offset?: { mainAxis?: number; crossAxis?: number }\n): JSXInternal.Element => {\n const defaultOffset = 8; // Redwood tooltip has a default offset of 8 pixels\n const newOffset = offset ? offset : { mainAxis: defaultOffset, crossAxis: 0 };\n\n const newColorScheme = !colorScheme || colorScheme === 'light' ? 'dark' : 'light';\n\n const renderTooltipOrDatatip = () => {\n if (variant === 'tooltip') {\n return (\n <EnvironmentProvider environment={{ colorScheme: newColorScheme }}>\n {tooltipContent}\n </EnvironmentProvider>\n );\n } else {\n return <>{tooltipContent}</>;\n }\n };\n\n return (\n <Layer>\n <Floating anchorRef={anchorRef} placement={placement} offsetValue={newOffset}>\n {renderTooltipOrDatatip()}\n </Floating>\n </Layer>\n );\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\nexport type TooltipManagerCallback = () => void;\n\n/**\n * A global tooltip manager that\n * - ensures that only one tooltip is shown at a time\n * - detects a Tab key press and allows tooltips to check if their target was focused via keyboard\n */\nexport class TooltipManager {\n private activeCallback: TooltipManagerCallback | null;\n\n private tabKeyActive: boolean;\n\n private keyDownHandler = (event: KeyboardEvent) => {\n if (event.key === 'Tab') {\n this.tabKeyActive = true;\n setTimeout(() => {\n this.tabKeyActive = false;\n }, 100);\n }\n };\n\n constructor() {\n this.activeCallback = null;\n this.tabKeyActive = false;\n window.addEventListener('keydown', this.keyDownHandler, true);\n }\n\n /**\n * notifies the previously registered active tooltip callback and registers a new one\n */\n public register = (callback: TooltipManagerCallback) => {\n if (this.activeCallback && this.activeCallback !== callback) {\n this.activeCallback();\n }\n this.activeCallback = callback;\n };\n\n /**\n * resets the registered active callback\n */\n public unregister = (callback: TooltipManagerCallback) => {\n if (this.activeCallback === callback) {\n this.activeCallback = null;\n }\n };\n\n /**\n * returns the active Tab key status ('active' means a Tab key press within the last 100ms)\n */\n public isTabKeyActive = () => {\n return this.tabKeyActive;\n };\n}\n"],"names":["globalTooltipManager","constructor","this","keyDownHandler","event","key","tabKeyActive","setTimeout","register","callback","activeCallback","unregister","isTabKeyActive","window","addEventListener","tooltipContent","variant","colorScheme","anchorRef","placement","offset","newOffset","mainAxis","crossAxis","newColorScheme","_jsx","Layer","children","Floating","offsetValue","jsx","EnvironmentProvider","environment","_Fragment","Fragment"],"mappings":"+LAgBA,MAAMA,EAAuB,UCa3B,WAAAC,GATQC,KAAAC,eAAkBC,IACN,QAAdA,EAAMC,MACRH,KAAKI,cAAe,EACpBC,YAAW,KACTL,KAAKI,cAAe,CAAK,GACxB,KACJ,EAYIJ,KAAAM,SAAYC,IACbP,KAAKQ,gBAAkBR,KAAKQ,iBAAmBD,GACjDP,KAAKQ,iBAEPR,KAAKQ,eAAiBD,CAAQ,EAMzBP,KAAAS,WAAcF,IACfP,KAAKQ,iBAAmBD,IAC1BP,KAAKQ,eAAiB,KACvB,EAMIR,KAAcU,eAAG,IACfV,KAAKI,aA5BZJ,KAAKQ,eAAiB,KACtBR,KAAKI,cAAe,EACpBO,OAAOC,iBAAiB,UAAWZ,KAAKC,gBAAgB,EACzD,wBDZ+B,8BAKK,IAC9BH,6BAM+B,CACtCe,EACAC,EACAC,EACAC,EACAC,EACAC,KAEA,MACMC,EAAYD,GAAkB,CAAEE,SADhB,EACyCC,UAAW,GAEpEC,EAAkBP,GAA+B,UAAhBA,EAAmC,QAAT,OAcjE,OACEQ,EAAAA,IAACC,EAAAA,MACC,CAAAC,SAAAF,EAAAA,IAACG,EAAAA,SAAS,CAAAV,UAAWA,EAAWC,UAAWA,EAAWU,YAAaR,EAASM,SAb9D,YAAZX,EAEAS,EAAAK,IAACC,sBAAmB,CAACC,YAAa,CAAEf,YAAaO,GAAgBG,SAC9DZ,IAIEU,EAAAK,IAAAG,EAAAC,SAAA,CAAAP,SAAGZ,OAUZ"}
@@ -1,2 +1,2 @@
1
- define(['exports', './TabbableModeContext-a9c97640', './useTabbableMode-dc440317', 'preact/compat', './useUser-85c781ea'], (function(e,o,a,t,c){"use strict";const s=e=>{e.preventDefault(),e.stopPropagation()},n=(e,o)=>"string"==typeof e?e:e[o];e.useCellNavigation=({navigationMap:e,payload:o,onAction:a,onNavigation:i})=>{const{direction:r}=c.useUser(),l=t.useCallback((()=>{a(o)}),[o,a]),u=t.useCallback((e=>{if(["Enter","Space"].includes(e.code))return s(e),void l()}),[l]),d=t.useCallback((a=>{if("Space"===a.code)return void a.preventDefault();if("KeyT"===a.code&&a.ctrlKey&&a.altKey){const t=e.CtrlAltT;void 0!==t&&(s(a),i({direction:n(t,r),...o}))}const{key:t,shiftKey:c}=a;switch(t){case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"ArrowDown":case"End":case"Home":case"PageUp":case"PageDown":const l=!c||"PageUp"!==t&&"PageDown"!==t?t:`Shift${t}`;if(void 0!==e[l]){s(a);const t=e[l];i({direction:n(t,r),...o})}}}),[r,e,i,o]);return{onClick:l,onKeyDown:d,onKeyUp:u}},e.useFocusableCell=({isFocusable:e,isFocused:o})=>{const c=t.useRef(null),{isTabbable:s}=a.useTabbableMode();return t.useLayoutEffect((()=>{e&&o&&c.current?.focus()}),[e,o]),{ref:c,tabIndex:e&&s?0:-1}}}));
1
+ define(['exports', './TabbableModeContext-a9c97640', './useTabbableMode-dc440317', 'preact/compat', './useUser-3ef25571'], (function(e,o,a,t,c){"use strict";const s=e=>{e.preventDefault(),e.stopPropagation()},n=(e,o)=>"string"==typeof e?e:e[o];e.useCellNavigation=({navigationMap:e,payload:o,onAction:a,onNavigation:i})=>{const{direction:r}=c.useUser(),l=t.useCallback((()=>{a(o)}),[o,a]),u=t.useCallback((e=>{if(["Enter","Space"].includes(e.code))return s(e),void l()}),[l]),d=t.useCallback((a=>{if("Space"===a.code)return void a.preventDefault();if("KeyT"===a.code&&a.ctrlKey&&a.altKey){const t=e.CtrlAltT;void 0!==t&&(s(a),i({direction:n(t,r),...o}))}const{key:t,shiftKey:c}=a;switch(t){case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"ArrowDown":case"End":case"Home":case"PageUp":case"PageDown":const l=!c||"PageUp"!==t&&"PageDown"!==t?t:`Shift${t}`;if(void 0!==e[l]){s(a);const t=e[l];i({direction:n(t,r),...o})}}}),[r,e,i,o]);return{onClick:l,onKeyDown:d,onKeyUp:u}},e.useFocusableCell=({isFocusable:e,isFocused:o})=>{const c=t.useRef(null),{isTabbable:s}=a.useTabbableMode();return t.useLayoutEffect((()=>{e&&o&&c.current?.focus()}),[e,o]),{ref:c,tabIndex:e&&s?0:-1}}}));
2
2
  //# sourceMappingURL=useCellNavigation-1feec094.js.map
@@ -1,2 +1,2 @@
1
- define(['exports', './useContextMenu-57f18e97', 'preact/jsx-runtime', './Menu-8f3a1e8c', './MenuItem-44b2547b', 'preact/hooks', 'preact', './logger-0f873e29', './LayerHost-e95c5f30', 'preact/compat', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-3b34c2bc', 'css!./IconStyle.styles.css', './SelectMenuGroupContext-67f24a8f', './UNSAFE_Separator/themes/SeparatorStyles.css', 'css!./MenuSeparatorStyles.styles.css', 'module', './UNSAFE_Menu/themes/redwood/MenuSeparatorVariants.css', './eventsUtils-5d567a9d', './accUtils-1557920a'], (function(e,t,o,s,n,r,i,a,u,c,d,x,l,p,y,M,f,m,g,C,S,I){"use strict";e.useChartContextMenu=({getDataItem:e,focusedItemInfo:o,series:s,groups:n,rootRef:r,xAxisTitle:i,yAxisTitle:a,contextMenuConfig:u,onContextMenuDismissed:c})=>{const{contextMenuProps:d,contextMenuContent:x}=t.useContextMenu({onContextMenuHandler:({gesture:t,target:u})=>{let c;const{context:d}=function(e,t,o,s,n,r,i,a,u){let c,d,x;if("keyboard"===t)d=e.groupIndex,c=e.seriesIndex;else{const e=S.getInfo(r,o);c=e?e.seriesIndex:void 0,d=e?e.groupIndex:void 0}if(void 0!==c&&void 0!==d&&u?.(c,d))x={data:u(c,d),groupIndex:d,seriesIndex:c,type:"item"};else if(void 0!==c)x={data:s[c],type:"series"};else if(void 0!==d)x={data:n[d],type:"xAxisTickLabel"};else{const e=event?.target,o=e?.textContent;x=o&&"keyboard"!==t&&o===i||o===a?{type:"axisTitle",axis:o===i?"x":"y"}:{type:"background"}}return{context:x}}(o,t,u,s,n,r,i,a,e);return"keyboard"===t&&"item"===d.type&&(c=r.current?.querySelector(`[data-oj-series-index="${d?.seriesIndex}"][data-oj-group-index="${d?.groupIndex}"]`)),{context:d,elem:c}},contextMenuOptions:{isDisabled:!u},rootRef:r,contextMenuConfig:u,onContextMenuDismissed:c});return{contextMenuContent:x,contextMenuProps:d}}}));
1
+ define(['exports', './useContextMenu-57f18e97', 'preact/jsx-runtime', './Menu-e682ccb9', './MenuItem-44b2547b', 'preact/hooks', 'preact', './logger-0f873e29', './LayerHost-639b3284', 'preact/compat', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-79293e46', 'css!./IconStyle.styles.css', './SelectMenuGroupContext-67f24a8f', './UNSAFE_Separator/themes/SeparatorStyles.css', 'css!./MenuSeparatorStyles.styles.css', 'module', './UNSAFE_Menu/themes/redwood/MenuSeparatorVariants.css', './eventsUtils-5d567a9d', './accUtils-1557920a'], (function(e,t,o,s,n,r,i,a,u,c,d,x,l,p,y,M,f,m,g,C,S,I){"use strict";e.useChartContextMenu=({getDataItem:e,focusedItemInfo:o,series:s,groups:n,rootRef:r,xAxisTitle:i,yAxisTitle:a,contextMenuConfig:u,onContextMenuDismissed:c})=>{const{contextMenuProps:d,contextMenuContent:x}=t.useContextMenu({onContextMenuHandler:({gesture:t,target:u})=>{let c;const{context:d}=function(e,t,o,s,n,r,i,a,u){let c,d,x;if("keyboard"===t)d=e.groupIndex,c=e.seriesIndex;else{const e=S.getInfo(r,o);c=e?e.seriesIndex:void 0,d=e?e.groupIndex:void 0}if(void 0!==c&&void 0!==d&&u?.(c,d))x={data:u(c,d),groupIndex:d,seriesIndex:c,type:"item"};else if(void 0!==c)x={data:s[c],type:"series"};else if(void 0!==d)x={data:n[d],type:"xAxisTickLabel"};else{const e=event?.target,o=e?.textContent;x=o&&"keyboard"!==t&&o===i||o===a?{type:"axisTitle",axis:o===i?"x":"y"}:{type:"background"}}return{context:x}}(o,t,u,s,n,r,i,a,e);return"keyboard"===t&&"item"===d.type&&(c=r.current?.querySelector(`[data-oj-series-index="${d?.seriesIndex}"][data-oj-group-index="${d?.groupIndex}"]`)),{context:d,elem:c}},contextMenuOptions:{isDisabled:!u},rootRef:r,contextMenuConfig:u,onContextMenuDismissed:c});return{contextMenuContent:x,contextMenuProps:d}}}));
2
2
  //# sourceMappingURL=useChartContextMenu-673e3de0.js.map
@@ -1,2 +1,2 @@
1
- define(['exports', './useDatatip-87792500', './util-5bb1f200', 'preact/jsx-runtime', './VisTabularDatatip-1051eaca', './colorUtils-a785c4c4', './accUtils-1557920a', './useUser-85c781ea'], (function(e,s,t,a,r,i,o,n){"use strict";function u(e,s,t,a,r,i,o){const n=e.value,u=a?.value?.format?a?.value?.format?.(n):o?.(n),l=[];return 0!=a?.series?.isDisplayed&&l.push({key:a?.series?.label||"Series",value:s}),0!=a?.group?.isDisplayed&&l.push({key:a?.group?.label||(r?"Date":"Group"),value:r?i?.(new Date(t).getTime()):t}),0!=a?.value?.isDisplayed&&l.push({key:a?.value?.label||"Value",value:u}),l}e.useChartDatatip=({isDataCursorEnabled:e,dataCursorPosition:o,isHoriz:l,datatip:d,xScale:p,getDataItem:x,getDataItemPos:c,hoveredItemInfo:m,focusedItemInfo:f,series:I,valueFormats:g,groups:v,width:b,height:y,findNearest:A,timeAxisType:C,touchResponse:D,isDisabled:h,formatAxisLabel:T,formatYValue:V})=>{let k=h?void 0:f?.isCurrent?f:m?.isCurrent&&void 0!==m.seriesIndex&&void 0!==m.groupIndex?m:void 0;const F=f?.isCurrent||e?"element":"pointer",P=f?.isCurrent?c(f.seriesIndex,f.groupIndex):void 0,{direction:U}=n.useUser(),L="rtl"===U;let R,S,Y="top-start",j=t.calculateOffset(L,b,P);if(e&&null!=o?.x&&null!=o?.y){k=k||A?.(o.x,o.y);const e=p.transform(o.x);j={mainAxis:-1,crossAxis:-1},l?(Y="end",j.mainAxis=-10,j.crossAxis=e-y/2):(Y="top",j.crossAxis=L?b/2-e:e-b/2,j.mainAxis=-10)}if(null!=k?.seriesIndex&&null!=k?.groupIndex){S=x(k.seriesIndex,k.groupIndex);const e=S?{data:S,seriesIndex:k.seriesIndex,groupIndex:k.groupIndex,id:S.id}:void 0;if(e){R=(d||function(e){const s="mixedFrequency"===e.timeAxisType,t="enabled"===e.timeAxisType||"skipGaps"===e.timeAxisType;return i=>{const o=e.groups.name||e.groups.id,n=s?i.data.x:t?o:void 0;return{content:a.jsx(r.VisTabularDatatip,{tableData:u(i.data,e.series.name||e.series.id.toString(),n||e.groups.name||e.groups.id,e.valueFormats,null!=e.timeAxisType,e.formatAxisLabel,e.formatYValue)}),borderColor:i.data.color||e.series.color}}}({series:I[k.seriesIndex],groups:v[k.groupIndex],valueFormats:g,timeAxisType:C,formatAxisLabel:T,formatYValue:V}))(e)}}const w=i.getColorRamp(),G=R?.borderColor||k&&(I[k.seriesIndex].color||I[k.seriesIndex].lineColor||I[k.seriesIndex].areaColor)||k&&w[k.seriesIndex%w.length],{datatipContent:q,datatipProps:z}=s.useDatatip({content:R?.content,anchor:F,placement:Y,offset:j,borderColor:G,touchResponse:D});return{datatipContent:q,datatipProps:z}}}));
2
- //# sourceMappingURL=useChartDatatip-c702890c.js.map
1
+ define(['exports', './useDatatip-748e233f', './util-5bb1f200', 'preact/jsx-runtime', './VisTabularDatatip-55bbd19f', './colorUtils-a785c4c4', './accUtils-1557920a', './useUser-3ef25571'], (function(e,s,t,r,i,a,o,n){"use strict";function u(e,s,t,r,i,a,o){const n=e.value,u=r?.value?.format?r?.value?.format?.(n):o?.(n),l=[];return 0!=r?.series?.isDisplayed&&l.push({key:r?.series?.label||"Series",value:s}),0!=r?.group?.isDisplayed&&l.push({key:r?.group?.label||(i?"Date":"Group"),value:i?a?.(new Date(t).getTime()):t}),0!=r?.value?.isDisplayed&&l.push({key:r?.value?.label||"Value",value:u}),l}e.useChartDatatip=({isDataCursorEnabled:e,dataCursorPosition:o,isHoriz:l,datatip:d,xScale:p,getDataItem:x,getDataItemPos:c,hoveredItemInfo:m,focusedItemInfo:f,series:I,valueFormats:g,groups:b,width:v,height:y,findNearest:A,timeAxisType:C,touchResponse:D,isDisabled:h,formatAxisLabel:T,formatYValue:V})=>{let k=h?void 0:f?.isCurrent?f:m?.isCurrent&&void 0!==m.seriesIndex&&void 0!==m.groupIndex?m:void 0;const F=f?.isCurrent||e?"element":"pointer",P=f?.isCurrent?c(f.seriesIndex,f.groupIndex):void 0,{direction:U}=n.useUser(),L="rtl"===U;let R,S,Y="top-start",j=t.calculateOffset(L,v,P);if(e&&null!=o?.x&&null!=o?.y){k=k||A?.(o.x,o.y);const e=p.transform(o.x);j={mainAxis:-1,crossAxis:-1},l?(Y="end",j.mainAxis=-10,j.crossAxis=e-y/2):(Y="top",j.crossAxis=L?v/2-e:e-v/2,j.mainAxis=-10)}if(null!=k?.seriesIndex&&null!=k?.groupIndex){S=x(k.seriesIndex,k.groupIndex);const e=S?{data:S,seriesIndex:k.seriesIndex,groupIndex:k.groupIndex,id:S.id}:void 0;if(e){R=(d||function(e){const s="mixedFrequency"===e.timeAxisType,t="enabled"===e.timeAxisType||"skipGaps"===e.timeAxisType;return a=>{const o=e.groups.name||e.groups.id,n=s?a.data.x:t?o:void 0;return{content:r.jsx(i.VisTabularDatatip,{tableData:u(a.data,e.series.name||e.series.id.toString(),n||e.groups.name||e.groups.id,e.valueFormats,null!=e.timeAxisType,e.formatAxisLabel,e.formatYValue)}),borderColor:a.data.color||e.series.color}}}({series:I[k.seriesIndex],groups:b[k.groupIndex],valueFormats:g,timeAxisType:C,formatAxisLabel:T,formatYValue:V}))(e)}}const w=a.getColorRamp(),G=R?.borderColor||k&&(I[k.seriesIndex].color||I[k.seriesIndex].lineColor||I[k.seriesIndex].areaColor)||k&&w[k.seriesIndex%w.length],{datatipContent:q,datatipProps:z}=s.useDatatip({content:R?.content,anchor:F,placement:Y,offset:j,borderColor:G,touchResponse:D});return{datatipContent:q,datatipProps:z}}}));
2
+ //# sourceMappingURL=useChartDatatip-04fa72c7.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useChartDatatip-c702890c.js","sources":["../../src/utils/PRIVATE_chartUtils/dataTipUtils.tsx","../../src/hooks/PRIVATE_useChartDatatip/useChartDatatip.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 */\n\nimport { ChartItemData, ChartSeriesData, ValueFormats, Group } from '../UNSAFE_visTypes/chart';\nimport { VisTabularDatatip } from '../../PRIVATE_VisTabularDatatip';\nimport { TableRowData } from '../../PRIVATE_VisTabularDatatip';\n\n/**\n * Returns the data required for the VisTabularDatatip to render.\n * @param activeInfo active item info.\n * @param series The array of chart series.\n * @param groups The array of chart groups.\n * @param valueFormats The array of chart series.\n * @param getDataItem function which returns chartItem\n */\nexport function getChartTabularData<K, D extends ChartItemData<K>>(\n data: D,\n seriesValue: string,\n groupValue: string,\n valueFormats?: ValueFormats,\n isTimeAxis?: boolean,\n formatAxisLabel?: (axisValue: number) => string,\n formatYValue?: (value: number) => string\n) {\n //TODO: Use translation strings\n const value = data.value;\n const itemValue = valueFormats?.value?.format\n ? valueFormats?.value?.format?.(value)\n : formatYValue?.(value)!;\n const tableData: TableRowData[] = [];\n\n if (valueFormats?.series?.isDisplayed != false) {\n tableData.push({\n key: valueFormats?.series?.label || 'Series',\n value: seriesValue\n });\n }\n if (valueFormats?.group?.isDisplayed != false) {\n tableData.push({\n key: valueFormats?.group?.label || (isTimeAxis ? 'Date' : 'Group'),\n value: isTimeAxis ? formatAxisLabel?.(new Date(groupValue).getTime())! : groupValue\n });\n }\n if (valueFormats?.value?.isDisplayed != false) {\n tableData.push({\n key: valueFormats?.value?.label || 'Value',\n value: itemValue\n });\n }\n return tableData;\n}\n\nexport function getDefaultDatatipRenderer<\n K extends string | number,\n D extends ChartItemData<K>\n>(options: {\n series: ChartSeriesData<K, D>;\n groups: Group;\n valueFormats?: ValueFormats;\n timeAxisType?: 'mixedFrequency' | 'enabled' | 'skipGaps';\n formatAxisLabel?: (axisValue: number) => string;\n formatYValue?: (value: number) => string;\n}) {\n const isMixedFrequency = options.timeAxisType === 'mixedFrequency';\n const isRegularTimeAxis =\n options.timeAxisType === 'enabled' || options.timeAxisType === 'skipGaps';\n\n return (context: { data: D }) => {\n const groupValue = options.groups.name || options.groups.id;\n const timeValue = isMixedFrequency\n ? context.data.x\n : isRegularTimeAxis\n ? groupValue\n : undefined;\n return {\n content: (\n <VisTabularDatatip\n tableData={getChartTabularData<K, D>(\n context.data,\n options.series.name || options.series.id.toString(),\n timeValue || options.groups.name || options.groups.id,\n options.valueFormats,\n options.timeAxisType != null,\n options.formatAxisLabel,\n options.formatYValue\n )}\n />\n ),\n borderColor: context.data.color || options.series.color\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 */\nimport { ComponentChildren } from 'preact';\nimport { calculateOffset, useDatatip } from '../PRIVATE_useDatatip';\nimport {\n DataCursorPosition,\n Group,\n ChartItemData,\n Info,\n Scale,\n ValueFormats\n} from '../../utils/UNSAFE_visTypes/chart';\nimport { BarSeriesData } from '../../UNSAFE_BarChart/barChart.types';\nimport { Dimension } from '../../utils/UNSAFE_visTypes/common';\nimport { getDefaultDatatipRenderer } from '../../utils/PRIVATE_chartUtils/dataTipUtils';\nimport { LineAreaSeriesData } from '../../UNSAFE_LineAreaChart/lineAreaChart.types';\nimport { getColorRamp } from '../../utils/UNSAFE_visUtils';\nimport { Placement } from '../../UNSAFE_Floating';\nimport { useUser } from '../../hooks/UNSAFE_useUser';\nimport { Property } from 'csstype';\n\ntype Props<K extends string | number, D extends ChartItemData<K>> = {\n series: (BarSeriesData<K, D> | LineAreaSeriesData<K, D>)[];\n groups: Group[];\n isDataCursorEnabled?: boolean;\n dataCursorPosition?: DataCursorPosition;\n isHoriz: boolean;\n getDataItemPos: (seriesIndex: number, groupIndex: number) => Dimension | undefined;\n datatip?: (context: { data: D; seriesIndex: number; groupIndex: number; id: K }) => {\n content: ComponentChildren;\n borderColor?: Property.BorderColor;\n };\n xScale: Scale;\n getDataItem: (seriesIndex: number, groupIndex: number) => D | undefined;\n hoveredItemInfo?: Info;\n focusedItemInfo?: Info;\n width: number;\n height: number;\n valueFormats?: ValueFormats;\n findNearest: (x: number, y: number) => any;\n timeAxisType?: 'mixedFrequency' | 'skipGaps' | 'enabled';\n touchResponse: 'touchStart' | 'touchHold';\n isDisabled: boolean;\n formatAxisLabel?: (axisValue: number) => string;\n formatYValue?: (value: number) => string;\n};\nconst DATA_CURSOR_OFFSET = 10;\n\nexport const useChartDatatip = <K extends string | number, D extends ChartItemData<K>>({\n isDataCursorEnabled,\n dataCursorPosition,\n isHoriz,\n datatip,\n xScale,\n getDataItem,\n getDataItemPos,\n hoveredItemInfo,\n focusedItemInfo,\n series,\n valueFormats,\n groups,\n width,\n height,\n findNearest,\n timeAxisType,\n touchResponse,\n isDisabled,\n formatAxisLabel,\n formatYValue\n}: Props<K, D>) => {\n let activeInfo = !isDisabled\n ? focusedItemInfo?.isCurrent\n ? focusedItemInfo\n : hoveredItemInfo?.isCurrent &&\n hoveredItemInfo.seriesIndex !== undefined &&\n hoveredItemInfo.groupIndex !== undefined\n ? hoveredItemInfo\n : undefined\n : undefined;\n\n const anchor = focusedItemInfo?.isCurrent || isDataCursorEnabled ? 'element' : 'pointer';\n const elementBounds = focusedItemInfo?.isCurrent\n ? getDataItemPos(focusedItemInfo.seriesIndex!, focusedItemInfo.groupIndex!)\n : undefined;\n\n const { direction } = useUser();\n const isRtl = direction === 'rtl';\n\n let placement = 'top-start' as Placement;\n let offset = calculateOffset(isRtl, width, elementBounds);\n if (isDataCursorEnabled && dataCursorPosition?.x != null && dataCursorPosition?.y != null) {\n // TOD0: The offset for data cursor should be calculated according to\n // datatip content dimensions as well.\n activeInfo = activeInfo || findNearest?.(dataCursorPosition.x, dataCursorPosition.y);\n const xPos = xScale.transform(dataCursorPosition.x);\n offset = { mainAxis: -1, crossAxis: -1 };\n if (isHoriz) {\n placement = 'end';\n offset.mainAxis = -1 * DATA_CURSOR_OFFSET;\n offset.crossAxis = xPos - height / 2;\n } else {\n placement = 'top';\n offset.crossAxis = isRtl ? width / 2 - xPos : xPos - width / 2;\n offset.mainAxis = -1 * DATA_CURSOR_OFFSET;\n }\n }\n\n let dtContent;\n let item: D | undefined;\n if (activeInfo?.seriesIndex != null && activeInfo?.groupIndex != null) {\n item = getDataItem(activeInfo.seriesIndex, activeInfo.groupIndex!);\n const datatipContext = item\n ? {\n data: item,\n seriesIndex: activeInfo.seriesIndex,\n groupIndex: activeInfo.groupIndex,\n id: item.id\n }\n : undefined;\n\n if (datatipContext) {\n const datatipRenderer =\n datatip ||\n getDefaultDatatipRenderer({\n series: series[activeInfo.seriesIndex],\n groups: groups[activeInfo.groupIndex],\n valueFormats,\n timeAxisType,\n formatAxisLabel,\n formatYValue\n });\n dtContent = datatipRenderer(datatipContext);\n }\n }\n const colors = getColorRamp();\n const borderColor =\n dtContent?.borderColor ||\n (activeInfo &&\n ((series[activeInfo.seriesIndex!] as BarSeriesData<K, D>).color ||\n (series[activeInfo.seriesIndex!] as LineAreaSeriesData<K, D>).lineColor ||\n (series[activeInfo.seriesIndex!] as LineAreaSeriesData<K, D>).areaColor)) ||\n (activeInfo && colors[activeInfo.seriesIndex! % colors.length]);\n\n const { datatipContent, datatipProps } = useDatatip({\n content: dtContent?.content,\n anchor,\n placement,\n offset,\n borderColor,\n touchResponse\n });\n\n return { datatipContent, datatipProps };\n};\n"],"names":["getChartTabularData","data","seriesValue","groupValue","valueFormats","isTimeAxis","formatAxisLabel","formatYValue","value","itemValue","format","tableData","series","isDisplayed","push","key","label","group","Date","getTime","isDataCursorEnabled","dataCursorPosition","isHoriz","datatip","xScale","getDataItem","getDataItemPos","hoveredItemInfo","focusedItemInfo","groups","width","height","findNearest","timeAxisType","touchResponse","isDisabled","activeInfo","undefined","isCurrent","seriesIndex","groupIndex","anchor","elementBounds","direction","useUser","isRtl","dtContent","item","placement","offset","calculateOffset","x","y","xPos","transform","mainAxis","crossAxis","datatipContext","id","options","isMixedFrequency","isRegularTimeAxis","context","name","timeValue","content","_jsx","jsx","VisTabularDatatip","toString","borderColor","color","getDefaultDatatipRenderer","colors","getColorRamp","lineColor","areaColor","length","datatipContent","datatipProps","useDatatip"],"mappings":"4NAoBgB,SAAAA,EACdC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,GAGA,MAAMC,EAAQP,EAAKO,MACbC,EAAYL,GAAcI,OAAOE,OACnCN,GAAcI,OAAOE,SAASF,GAC9BD,IAAeC,GACbG,EAA4B,GAoBlC,OAlByC,GAArCP,GAAcQ,QAAQC,aACxBF,EAAUG,KAAK,CACbC,IAAKX,GAAcQ,QAAQI,OAAS,SACpCR,MAAON,IAG6B,GAApCE,GAAca,OAAOJ,aACvBF,EAAUG,KAAK,CACbC,IAAKX,GAAca,OAAOD,QAAUX,EAAa,OAAS,SAC1DG,MAAOH,EAAaC,IAAkB,IAAIY,KAAKf,GAAYgB,WAAchB,IAGrC,GAApCC,GAAcI,OAAOK,aACvBF,EAAUG,KAAK,CACbC,IAAKX,GAAcI,OAAOQ,OAAS,QACnCR,MAAOC,IAGJE,CACT,mBCF+B,EAC7BS,sBACAC,qBACAC,UACAC,UACAC,SACAC,cACAC,iBACAC,kBACAC,kBACAhB,SACAR,eACAyB,SACAC,QACAC,SACAC,cACAC,eACAC,gBACAC,aACA7B,kBACAC,mBAEA,IAAI6B,EAAcD,OAQdE,EAPAT,GAAiBU,UACfV,EACAD,GAAiBW,gBACeD,IAAhCV,EAAgBY,kBACeF,IAA/BV,EAAgBa,WAChBb,OACAU,EAGN,MAAMI,EAASb,GAAiBU,WAAalB,EAAsB,UAAY,UACzEsB,EAAgBd,GAAiBU,UACnCZ,EAAeE,EAAgBW,YAAcX,EAAgBY,iBAC7DH,GAEEM,UAAEA,GAAcC,EAAAA,UAChBC,EAAsB,QAAdF,EAEd,IAmBIG,EACAC,EApBAC,EAAY,YACZC,EAASC,EAAeA,gBAACL,EAAOf,EAAOY,GAC3C,GAAItB,GAAgD,MAAzBC,GAAoB8B,GAAsC,MAAzB9B,GAAoB+B,EAAW,CAGzFhB,EAAaA,GAAcJ,IAAcX,EAAmB8B,EAAG9B,EAAmB+B,GAClF,MAAMC,EAAO7B,EAAO8B,UAAUjC,EAAmB8B,GACjDF,EAAS,CAAEM,UAAW,EAAGC,WAAY,GACjClC,GACF0B,EAAY,MACZC,EAAOM,UAAW,GAClBN,EAAOO,UAAYH,EAAOtB,EAAS,IAEnCiB,EAAY,MACZC,EAAOO,UAAYX,EAAQf,EAAQ,EAAIuB,EAAOA,EAAOvB,EAAQ,EAC7DmB,EAAOM,UAAW,GAErB,CAID,GAA+B,MAA3BnB,GAAYG,aAAiD,MAA1BH,GAAYI,WAAoB,CACrEO,EAAOtB,EAAYW,EAAWG,YAAaH,EAAWI,YACtD,MAAMiB,EAAiBV,EACnB,CACE9C,KAAM8C,EACNR,YAAaH,EAAWG,YACxBC,WAAYJ,EAAWI,WACvBkB,GAAIX,EAAKW,SAEXrB,EAEJ,GAAIoB,EAAgB,CAWlBX,GATEvB,GDtEF,SAGJoC,GAQA,MAAMC,EAA4C,mBAAzBD,EAAQ1B,aAC3B4B,EACqB,YAAzBF,EAAQ1B,cAAuD,aAAzB0B,EAAQ1B,aAEhD,OAAQ6B,IACN,MAAM3D,EAAawD,EAAQ9B,OAAOkC,MAAQJ,EAAQ9B,OAAO6B,GACnDM,EAAYJ,EACdE,EAAQ7D,KAAKkD,EACbU,EACA1D,OACAkC,EACJ,MAAO,CACL4B,QACEC,EAACC,IAAAC,EAAiBA,kBAChB,CAAAzD,UAAWX,EACT8D,EAAQ7D,KACR0D,EAAQ/C,OAAOmD,MAAQJ,EAAQ/C,OAAO8C,GAAGW,WACzCL,GAAaL,EAAQ9B,OAAOkC,MAAQJ,EAAQ9B,OAAO6B,GACnDC,EAAQvD,aACgB,MAAxBuD,EAAQ1B,aACR0B,EAAQrD,gBACRqD,EAAQpD,gBAId+D,YAAaR,EAAQ7D,KAAKsE,OAASZ,EAAQ/C,OAAO2D,MACnD,CAEL,CCgCQC,CAA0B,CACxB5D,OAAQA,EAAOwB,EAAWG,aAC1BV,OAAQA,EAAOO,EAAWI,YAC1BpC,eACA6B,eACA3B,kBACAC,kBAEwBkD,EAC7B,CACF,CACD,MAAMgB,EAASC,EAAAA,eACTJ,EACJxB,GAAWwB,aACVlC,IACGxB,EAAOwB,EAAWG,aAAsCgC,OACvD3D,EAAOwB,EAAWG,aAA2CoC,WAC7D/D,EAAOwB,EAAWG,aAA2CqC,YACjExC,GAAcqC,EAAOrC,EAAWG,YAAekC,EAAOI,SAEnDC,eAAEA,EAAcC,aAAEA,GAAiBC,aAAW,CAClDf,QAASnB,GAAWmB,QACpBxB,SACAO,YACAC,SACAqB,cACApC,kBAGF,MAAO,CAAE4C,iBAAgBC,eAAc"}
1
+ {"version":3,"file":"useChartDatatip-04fa72c7.js","sources":["../../src/utils/PRIVATE_chartUtils/dataTipUtils.tsx","../../src/hooks/PRIVATE_useChartDatatip/useChartDatatip.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 */\n\nimport { ChartItemData, ChartSeriesData, ValueFormats, Group } from '../UNSAFE_visTypes/chart';\nimport { VisTabularDatatip } from '../../PRIVATE_VisTabularDatatip';\nimport { TableRowData } from '../../PRIVATE_VisTabularDatatip';\n\n/**\n * Returns the data required for the VisTabularDatatip to render.\n * @param activeInfo active item info.\n * @param series The array of chart series.\n * @param groups The array of chart groups.\n * @param valueFormats The array of chart series.\n * @param getDataItem function which returns chartItem\n */\nexport function getChartTabularData<K, D extends ChartItemData<K>>(\n data: D,\n seriesValue: string,\n groupValue: string,\n valueFormats?: ValueFormats,\n isTimeAxis?: boolean,\n formatAxisLabel?: (axisValue: number) => string,\n formatYValue?: (value: number) => string\n) {\n //TODO: Use translation strings\n const value = data.value;\n const itemValue = valueFormats?.value?.format\n ? valueFormats?.value?.format?.(value)\n : formatYValue?.(value)!;\n const tableData: TableRowData[] = [];\n\n if (valueFormats?.series?.isDisplayed != false) {\n tableData.push({\n key: valueFormats?.series?.label || 'Series',\n value: seriesValue\n });\n }\n if (valueFormats?.group?.isDisplayed != false) {\n tableData.push({\n key: valueFormats?.group?.label || (isTimeAxis ? 'Date' : 'Group'),\n value: isTimeAxis ? formatAxisLabel?.(new Date(groupValue).getTime())! : groupValue\n });\n }\n if (valueFormats?.value?.isDisplayed != false) {\n tableData.push({\n key: valueFormats?.value?.label || 'Value',\n value: itemValue\n });\n }\n return tableData;\n}\n\nexport function getDefaultDatatipRenderer<\n K extends string | number,\n D extends ChartItemData<K>\n>(options: {\n series: ChartSeriesData<K, D>;\n groups: Group;\n valueFormats?: ValueFormats;\n timeAxisType?: 'mixedFrequency' | 'enabled' | 'skipGaps';\n formatAxisLabel?: (axisValue: number) => string;\n formatYValue?: (value: number) => string;\n}) {\n const isMixedFrequency = options.timeAxisType === 'mixedFrequency';\n const isRegularTimeAxis =\n options.timeAxisType === 'enabled' || options.timeAxisType === 'skipGaps';\n\n return (context: { data: D }) => {\n const groupValue = options.groups.name || options.groups.id;\n const timeValue = isMixedFrequency\n ? context.data.x\n : isRegularTimeAxis\n ? groupValue\n : undefined;\n return {\n content: (\n <VisTabularDatatip\n tableData={getChartTabularData<K, D>(\n context.data,\n options.series.name || options.series.id.toString(),\n timeValue || options.groups.name || options.groups.id,\n options.valueFormats,\n options.timeAxisType != null,\n options.formatAxisLabel,\n options.formatYValue\n )}\n />\n ),\n borderColor: context.data.color || options.series.color\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 */\nimport { ComponentChildren } from 'preact';\nimport { calculateOffset, useDatatip } from '../PRIVATE_useDatatip';\nimport {\n DataCursorPosition,\n Group,\n ChartItemData,\n Info,\n Scale,\n ValueFormats\n} from '../../utils/UNSAFE_visTypes/chart';\nimport { BarSeriesData } from '../../UNSAFE_BarChart/barChart.types';\nimport { Dimension } from '../../utils/UNSAFE_visTypes/common';\nimport { getDefaultDatatipRenderer } from '../../utils/PRIVATE_chartUtils/dataTipUtils';\nimport { LineAreaSeriesData } from '../../UNSAFE_LineAreaChart/lineAreaChart.types';\nimport { getColorRamp } from '../../utils/UNSAFE_visUtils';\nimport { Placement } from '../../UNSAFE_Floating';\nimport { useUser } from '../../hooks/UNSAFE_useUser';\nimport { Property } from 'csstype';\n\ntype Props<K extends string | number, D extends ChartItemData<K>> = {\n series: (BarSeriesData<K, D> | LineAreaSeriesData<K, D>)[];\n groups: Group[];\n isDataCursorEnabled?: boolean;\n dataCursorPosition?: DataCursorPosition;\n isHoriz: boolean;\n getDataItemPos: (seriesIndex: number, groupIndex: number) => Dimension | undefined;\n datatip?: (context: { data: D; seriesIndex: number; groupIndex: number; id: K }) => {\n content: ComponentChildren;\n borderColor?: Property.BorderColor;\n };\n xScale: Scale;\n getDataItem: (seriesIndex: number, groupIndex: number) => D | undefined;\n hoveredItemInfo?: Info;\n focusedItemInfo?: Info;\n width: number;\n height: number;\n valueFormats?: ValueFormats;\n findNearest: (x: number, y: number) => any;\n timeAxisType?: 'mixedFrequency' | 'skipGaps' | 'enabled';\n touchResponse: 'touchStart' | 'touchHold';\n isDisabled: boolean;\n formatAxisLabel?: (axisValue: number) => string;\n formatYValue?: (value: number) => string;\n};\nconst DATA_CURSOR_OFFSET = 10;\n\nexport const useChartDatatip = <K extends string | number, D extends ChartItemData<K>>({\n isDataCursorEnabled,\n dataCursorPosition,\n isHoriz,\n datatip,\n xScale,\n getDataItem,\n getDataItemPos,\n hoveredItemInfo,\n focusedItemInfo,\n series,\n valueFormats,\n groups,\n width,\n height,\n findNearest,\n timeAxisType,\n touchResponse,\n isDisabled,\n formatAxisLabel,\n formatYValue\n}: Props<K, D>) => {\n let activeInfo = !isDisabled\n ? focusedItemInfo?.isCurrent\n ? focusedItemInfo\n : hoveredItemInfo?.isCurrent &&\n hoveredItemInfo.seriesIndex !== undefined &&\n hoveredItemInfo.groupIndex !== undefined\n ? hoveredItemInfo\n : undefined\n : undefined;\n\n const anchor = focusedItemInfo?.isCurrent || isDataCursorEnabled ? 'element' : 'pointer';\n const elementBounds = focusedItemInfo?.isCurrent\n ? getDataItemPos(focusedItemInfo.seriesIndex!, focusedItemInfo.groupIndex!)\n : undefined;\n\n const { direction } = useUser();\n const isRtl = direction === 'rtl';\n\n let placement = 'top-start' as Placement;\n let offset = calculateOffset(isRtl, width, elementBounds);\n if (isDataCursorEnabled && dataCursorPosition?.x != null && dataCursorPosition?.y != null) {\n // TOD0: The offset for data cursor should be calculated according to\n // datatip content dimensions as well.\n activeInfo = activeInfo || findNearest?.(dataCursorPosition.x, dataCursorPosition.y);\n const xPos = xScale.transform(dataCursorPosition.x);\n offset = { mainAxis: -1, crossAxis: -1 };\n if (isHoriz) {\n placement = 'end';\n offset.mainAxis = -1 * DATA_CURSOR_OFFSET;\n offset.crossAxis = xPos - height / 2;\n } else {\n placement = 'top';\n offset.crossAxis = isRtl ? width / 2 - xPos : xPos - width / 2;\n offset.mainAxis = -1 * DATA_CURSOR_OFFSET;\n }\n }\n\n let dtContent;\n let item: D | undefined;\n if (activeInfo?.seriesIndex != null && activeInfo?.groupIndex != null) {\n item = getDataItem(activeInfo.seriesIndex, activeInfo.groupIndex!);\n const datatipContext = item\n ? {\n data: item,\n seriesIndex: activeInfo.seriesIndex,\n groupIndex: activeInfo.groupIndex,\n id: item.id\n }\n : undefined;\n\n if (datatipContext) {\n const datatipRenderer =\n datatip ||\n getDefaultDatatipRenderer({\n series: series[activeInfo.seriesIndex],\n groups: groups[activeInfo.groupIndex],\n valueFormats,\n timeAxisType,\n formatAxisLabel,\n formatYValue\n });\n dtContent = datatipRenderer(datatipContext);\n }\n }\n const colors = getColorRamp();\n const borderColor =\n dtContent?.borderColor ||\n (activeInfo &&\n ((series[activeInfo.seriesIndex!] as BarSeriesData<K, D>).color ||\n (series[activeInfo.seriesIndex!] as LineAreaSeriesData<K, D>).lineColor ||\n (series[activeInfo.seriesIndex!] as LineAreaSeriesData<K, D>).areaColor)) ||\n (activeInfo && colors[activeInfo.seriesIndex! % colors.length]);\n\n const { datatipContent, datatipProps } = useDatatip({\n content: dtContent?.content,\n anchor,\n placement,\n offset,\n borderColor,\n touchResponse\n });\n\n return { datatipContent, datatipProps };\n};\n"],"names":["getChartTabularData","data","seriesValue","groupValue","valueFormats","isTimeAxis","formatAxisLabel","formatYValue","value","itemValue","format","tableData","series","isDisplayed","push","key","label","group","Date","getTime","isDataCursorEnabled","dataCursorPosition","isHoriz","datatip","xScale","getDataItem","getDataItemPos","hoveredItemInfo","focusedItemInfo","groups","width","height","findNearest","timeAxisType","touchResponse","isDisabled","activeInfo","undefined","isCurrent","seriesIndex","groupIndex","anchor","elementBounds","direction","useUser","isRtl","dtContent","item","placement","offset","calculateOffset","x","y","xPos","transform","mainAxis","crossAxis","datatipContext","id","options","isMixedFrequency","isRegularTimeAxis","context","name","timeValue","content","_jsx","jsx","VisTabularDatatip","toString","borderColor","color","getDefaultDatatipRenderer","colors","getColorRamp","lineColor","areaColor","length","datatipContent","datatipProps","useDatatip"],"mappings":"4NAoBgB,SAAAA,EACdC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,GAGA,MAAMC,EAAQP,EAAKO,MACbC,EAAYL,GAAcI,OAAOE,OACnCN,GAAcI,OAAOE,SAASF,GAC9BD,IAAeC,GACbG,EAA4B,GAoBlC,OAlByC,GAArCP,GAAcQ,QAAQC,aACxBF,EAAUG,KAAK,CACbC,IAAKX,GAAcQ,QAAQI,OAAS,SACpCR,MAAON,IAG6B,GAApCE,GAAca,OAAOJ,aACvBF,EAAUG,KAAK,CACbC,IAAKX,GAAca,OAAOD,QAAUX,EAAa,OAAS,SAC1DG,MAAOH,EAAaC,IAAkB,IAAIY,KAAKf,GAAYgB,WAAchB,IAGrC,GAApCC,GAAcI,OAAOK,aACvBF,EAAUG,KAAK,CACbC,IAAKX,GAAcI,OAAOQ,OAAS,QACnCR,MAAOC,IAGJE,CACT,mBCF+B,EAC7BS,sBACAC,qBACAC,UACAC,UACAC,SACAC,cACAC,iBACAC,kBACAC,kBACAhB,SACAR,eACAyB,SACAC,QACAC,SACAC,cACAC,eACAC,gBACAC,aACA7B,kBACAC,mBAEA,IAAI6B,EAAcD,OAQdE,EAPAT,GAAiBU,UACfV,EACAD,GAAiBW,gBACeD,IAAhCV,EAAgBY,kBACeF,IAA/BV,EAAgBa,WAChBb,OACAU,EAGN,MAAMI,EAASb,GAAiBU,WAAalB,EAAsB,UAAY,UACzEsB,EAAgBd,GAAiBU,UACnCZ,EAAeE,EAAgBW,YAAcX,EAAgBY,iBAC7DH,GAEEM,UAAEA,GAAcC,EAAAA,UAChBC,EAAsB,QAAdF,EAEd,IAmBIG,EACAC,EApBAC,EAAY,YACZC,EAASC,EAAeA,gBAACL,EAAOf,EAAOY,GAC3C,GAAItB,GAAgD,MAAzBC,GAAoB8B,GAAsC,MAAzB9B,GAAoB+B,EAAW,CAGzFhB,EAAaA,GAAcJ,IAAcX,EAAmB8B,EAAG9B,EAAmB+B,GAClF,MAAMC,EAAO7B,EAAO8B,UAAUjC,EAAmB8B,GACjDF,EAAS,CAAEM,UAAW,EAAGC,WAAY,GACjClC,GACF0B,EAAY,MACZC,EAAOM,UAAW,GAClBN,EAAOO,UAAYH,EAAOtB,EAAS,IAEnCiB,EAAY,MACZC,EAAOO,UAAYX,EAAQf,EAAQ,EAAIuB,EAAOA,EAAOvB,EAAQ,EAC7DmB,EAAOM,UAAW,GAErB,CAID,GAA+B,MAA3BnB,GAAYG,aAAiD,MAA1BH,GAAYI,WAAoB,CACrEO,EAAOtB,EAAYW,EAAWG,YAAaH,EAAWI,YACtD,MAAMiB,EAAiBV,EACnB,CACE9C,KAAM8C,EACNR,YAAaH,EAAWG,YACxBC,WAAYJ,EAAWI,WACvBkB,GAAIX,EAAKW,SAEXrB,EAEJ,GAAIoB,EAAgB,CAWlBX,GATEvB,GDtEF,SAGJoC,GAQA,MAAMC,EAA4C,mBAAzBD,EAAQ1B,aAC3B4B,EACqB,YAAzBF,EAAQ1B,cAAuD,aAAzB0B,EAAQ1B,aAEhD,OAAQ6B,IACN,MAAM3D,EAAawD,EAAQ9B,OAAOkC,MAAQJ,EAAQ9B,OAAO6B,GACnDM,EAAYJ,EACdE,EAAQ7D,KAAKkD,EACbU,EACA1D,OACAkC,EACJ,MAAO,CACL4B,QACEC,EAACC,IAAAC,EAAiBA,kBAChB,CAAAzD,UAAWX,EACT8D,EAAQ7D,KACR0D,EAAQ/C,OAAOmD,MAAQJ,EAAQ/C,OAAO8C,GAAGW,WACzCL,GAAaL,EAAQ9B,OAAOkC,MAAQJ,EAAQ9B,OAAO6B,GACnDC,EAAQvD,aACgB,MAAxBuD,EAAQ1B,aACR0B,EAAQrD,gBACRqD,EAAQpD,gBAId+D,YAAaR,EAAQ7D,KAAKsE,OAASZ,EAAQ/C,OAAO2D,MACnD,CAEL,CCgCQC,CAA0B,CACxB5D,OAAQA,EAAOwB,EAAWG,aAC1BV,OAAQA,EAAOO,EAAWI,YAC1BpC,eACA6B,eACA3B,kBACAC,kBAEwBkD,EAC7B,CACF,CACD,MAAMgB,EAASC,EAAAA,eACTJ,EACJxB,GAAWwB,aACVlC,IACGxB,EAAOwB,EAAWG,aAAsCgC,OACvD3D,EAAOwB,EAAWG,aAA2CoC,WAC7D/D,EAAOwB,EAAWG,aAA2CqC,YACjExC,GAAcqC,EAAOrC,EAAWG,YAAekC,EAAOI,SAEnDC,eAAEA,EAAcC,aAAEA,GAAiBC,aAAW,CAClDf,QAASnB,GAAWmB,QACpBxB,SACAO,YACAC,SACAqB,cACApC,kBAGF,MAAO,CAAE4C,iBAAgBC,eAAc"}
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/jsx-runtime', 'preact/hooks', './clientUtils-95c1280f', './Button-f502d996', './Move-b0566170', './hooks/PRIVATE_useChartMarquee/themes/useChartMarquee.css', './useTranslationBundle-516b1b83', './ZoomAlt-d9ed2f3a', './ButtonSetSingle-9f767e83', './ButtonSetItem-ba9ebe68', './IconToggleButton-28960894'], (function(e,t,o,n,r,i,s,a,u,c,l,d){"use strict";function x(e,t){return"zoom"===e||"select"===e?"crosshair":"pan"===e?t?"grabbing":"grab":void 0}function h({position:e,divRef:o,dragMode:n,onDragModeChange:x,showZoomButton:h,showPanButton:g,showSelectButton:f}){const{right:v,left:m,top:M,bottom:p}=e,S=g&&!f&&!h||!g&&!f&&h||!g&&f&&!h,y=a.useTranslationBundle("@oracle/oraclejet-preact"),B=y.vis_marqueeZoomTooltip(),b=y.vis_panTooltip(),j=y.vis_marqueeSelectTooltip();return h||g||f?t.jsx("div",{ref:o,class:s.styles.background,style:{right:v,left:m,top:M,bottom:p},children:S?t.jsxs(t.Fragment,{children:[g&&t.jsx(d.IconToggleButton,{accessibleLabel:b,isSelected:"pan"===n,onToggle:()=>{x("pan"===n?void 0:"pan")},variant:"outlined",size:"sm",children:t.jsx(i.SvgMove,{})}),h&&t.jsx(d.IconToggleButton,{accessibleLabel:B,isSelected:"zoom"===n,onToggle:()=>{x("zoom"===n?void 0:"zoom")},variant:"outlined",size:"sm",children:t.jsx(u.SvgZoomAlt,{})}),f&&t.jsx(d.IconToggleButton,{accessibleLabel:j,isSelected:"select"===n,onToggle:()=>{x("select"===n?void 0:"select")},variant:"outlined",size:"sm",children:t.jsx(r.SvgButton,{})})]}):t.jsxs(c.ButtonSetSingle,{size:"sm",value:n,onCommit:({value:e})=>{x(e===n?void 0:e)},display:"icons",variant:"outlined",children:[g&&t.jsx(l.ButtonSetItem,{value:"pan",label:b,startIcon:t.jsx(i.SvgMove,{})}),h&&t.jsx(l.ButtonSetItem,{value:"zoom",label:B,startIcon:t.jsx(u.SvgZoomAlt,{})}),f&&t.jsx(l.ButtonSetItem,{value:"select",label:j,startIcon:t.jsx(r.SvgButton,{})})]})}):null}function g({x1:e,y1:o,width:n,height:r}){return t.jsxs(t.Fragment,{children:[t.jsx("rect",{x:e,y:o,width:n,height:r,class:s.styles.visMarquee}),t.jsx("rect",{x:e+1,y:o+1,width:Math.max(0,n-2),height:Math.max(0,r-2),class:s.styles.visMarqueeInnerArea})]})}e.useChartMarquee=function({plotAreaSpace:e,dragMode:r,chartWidth:i,isMultiSelection:s,onViewportChange:a,isZoomScroll:u,xAxisExtent:c,xScale:l,selectedIds:d,getDataById:f,onSelectionChange:v,viewportMax:m,viewportMin:M,isRtl:p}){const S=o.useRef(!1),y=o.useRef(0),B=o.useRef(),{dragButtonDivRef:b,toggleButtonContent:j,userDragMode:w}=function({chartWidth:e,plotAreaSpace:r,isRtl:i,isZoomScroll:s,isMultiSelection:a,dragMode:u}){const c=n.isMobile(),l=o.useRef(null),d=function(e,t,o){return!(!o||!e)&&"select"!==t&&"off"!==t}(s,u,c),x=function(e,t,o){return!(t||!e)&&"user"===o}(s,c,u),g=function(e,t,o,n){return!(!t||!e&&!o&&t||!e&&"user"!==n)}(c,a,s,u),[f,v]=o.useState(c&&s?"pan":void 0);return{dragButtonDivRef:l,toggleButtonContent:t.jsx(h,{position:{top:`${r.y}px`,right:i?void 0:e-r.x-r.width+"px",left:i?`${r.x}px`:void 0},divRef:l,showSelectButton:g,showZoomButton:x,showPanButton:d,dragMode:f,onDragModeChange:v}),userDragMode:f}}({chartWidth:i,plotAreaSpace:e,isRtl:p,isZoomScroll:u,isMultiSelection:s,dragMode:r}),[I,T]=o.useState(!1),[C,R]=o.useState(),z=o.useRef(new Set),P=n.isMobile(),q=function(e,t,o,n){return!t&&"select"===n||!e&&"zoom"===n||"off"===n?"off":"user"===n?o?e?"pan":t?"select":"off":!e&&t?o?"select":"off":e||t?"pan":"off":n}(u,s,P,r),A="user"===r&&w?w:q,D=function(e,t,o){if(t&&o){const n=Math.min(t.x,o.x),r=Math.max(t.x,o.x),i=Math.min(t.y,o.y),s=Math.max(t.y,o.y);return{x1:n,y1:i,width:Math.abs(r-n),height:Math.abs(s-i),x2:r,y2:s,delta:o.x-t.x,axisDelta:e.invert(o.x)-e.invert(t.x)}}}(l,B.current,C);let Z;const E="select"===A&&D?(e,t)=>{if(B.current?.isMeta&&d?.has(e))return!0;const{x1:o,x2:n,y1:r,y2:i}=D,{x:s,y:a}=t;return s<=n&&s>=o&&a<=i&&a>=r?(z.current?.add(e),!0):(z.current?.delete(e),!1)}:void 0;return!D||"zoom"!==A&&"select"!==A||(Z=t.jsx(g,{...D})),{cursor:x(A,I),marqueeContent:Z,toggleButtonContent:!I&&(!P&&S.current||P)&&j,isPointInsideMarquee:E,dragMode:A,marqueeProps:"off"!=r?{onPointerDown:t=>{if(b.current?.contains(t.target))return;const o=t.offsetX,n=t.offsetY;T(!0),o<e.x||o>e.x+e.width||n<e.y||n>e.y+e.height||(B.current={x:o,y:n})},onPointerMove:t=>{if(!I)return;t.metaKey&&B.current&&(B.current.isMeta=!0);const o=t.offsetX,n=t.offsetY;if(!(o<e.x||o>e.x+e.width||n<e.y||n>e.y+e.height)){if("pan"===A&&a&&(!P||P&&1===y.current)){const e=l.invert(o)-l.invert(C?.x||B.current?.x),t=m-M;let n=M-e,r=m-e;n<c.min&&(n=c.min,r=n+t),r>c.max&&(r=c.max,n=r-t),n!=M&&r!=m&&a({xMin:n,xMax:r})}R({x:o,y:n})}},onPointerUp:e=>{if(T(!1),R(void 0),B.current=void 0,b.current?.contains(e.target))return;if(!D)return;const{x1:t,x2:o}=D;if("zoom"===A){const e=Math.min(l.invert(t),l.invert(o)),n=Math.max(l.invert(t),l.invert(o));a?.({xMin:e,xMax:n})}if("select"===A){const t=[...new Set([...z.current,...e.metaKey&&d||new Set])],o=t.map((e=>f(e)));v?.({ids:t,data:o}),z.current=new Set}},onPointerLeave:e=>{S.current=!1,D&&P&&"off"!=A&&e.currentTarget.setPointerCapture(e.pointerId)},onPointerEnter:()=>{S.current=!0},onTouchEnd:e=>{T(!1),R(void 0),B.current=void 0,y.current=e.touches.length},onTouchStart:e=>{y.current=e.touches.length}}:{}}}}));
1
+ define(['exports', 'preact/jsx-runtime', 'preact/hooks', './clientUtils-95c1280f', './Button-f502d996', './Move-b0566170', './hooks/PRIVATE_useChartMarquee/themes/useChartMarquee.css', './useTranslationBundle-d07d4b20', './ZoomAlt-d9ed2f3a', './ButtonSetSingle-9f767e83', './ButtonSetItem-ba9ebe68', './IconToggleButton-28960894'], (function(e,t,o,n,r,i,s,a,u,c,l,d){"use strict";function x(e,t){return"zoom"===e||"select"===e?"crosshair":"pan"===e?t?"grabbing":"grab":void 0}function h({position:e,divRef:o,dragMode:n,onDragModeChange:x,showZoomButton:h,showPanButton:g,showSelectButton:f}){const{right:v,left:m,top:M,bottom:p}=e,S=g&&!f&&!h||!g&&!f&&h||!g&&f&&!h,y=a.useTranslationBundle("@oracle/oraclejet-preact"),B=y.vis_marqueeZoomTooltip(),b=y.vis_panTooltip(),j=y.vis_marqueeSelectTooltip();return h||g||f?t.jsx("div",{ref:o,class:s.styles.background,style:{right:v,left:m,top:M,bottom:p},children:S?t.jsxs(t.Fragment,{children:[g&&t.jsx(d.IconToggleButton,{accessibleLabel:b,isSelected:"pan"===n,onToggle:()=>{x("pan"===n?void 0:"pan")},variant:"outlined",size:"sm",children:t.jsx(i.SvgMove,{})}),h&&t.jsx(d.IconToggleButton,{accessibleLabel:B,isSelected:"zoom"===n,onToggle:()=>{x("zoom"===n?void 0:"zoom")},variant:"outlined",size:"sm",children:t.jsx(u.SvgZoomAlt,{})}),f&&t.jsx(d.IconToggleButton,{accessibleLabel:j,isSelected:"select"===n,onToggle:()=>{x("select"===n?void 0:"select")},variant:"outlined",size:"sm",children:t.jsx(r.SvgButton,{})})]}):t.jsxs(c.ButtonSetSingle,{size:"sm",value:n,onCommit:({value:e})=>{x(e===n?void 0:e)},display:"icons",variant:"outlined",children:[g&&t.jsx(l.ButtonSetItem,{value:"pan",label:b,startIcon:t.jsx(i.SvgMove,{})}),h&&t.jsx(l.ButtonSetItem,{value:"zoom",label:B,startIcon:t.jsx(u.SvgZoomAlt,{})}),f&&t.jsx(l.ButtonSetItem,{value:"select",label:j,startIcon:t.jsx(r.SvgButton,{})})]})}):null}function g({x1:e,y1:o,width:n,height:r}){return t.jsxs(t.Fragment,{children:[t.jsx("rect",{x:e,y:o,width:n,height:r,class:s.styles.visMarquee}),t.jsx("rect",{x:e+1,y:o+1,width:Math.max(0,n-2),height:Math.max(0,r-2),class:s.styles.visMarqueeInnerArea})]})}e.useChartMarquee=function({plotAreaSpace:e,dragMode:r,chartWidth:i,isMultiSelection:s,onViewportChange:a,isZoomScroll:u,xAxisExtent:c,xScale:l,selectedIds:d,getDataById:f,onSelectionChange:v,viewportMax:m,viewportMin:M,isRtl:p}){const S=o.useRef(!1),y=o.useRef(0),B=o.useRef(),{dragButtonDivRef:b,toggleButtonContent:j,userDragMode:w}=function({chartWidth:e,plotAreaSpace:r,isRtl:i,isZoomScroll:s,isMultiSelection:a,dragMode:u}){const c=n.isMobile(),l=o.useRef(null),d=function(e,t,o){return!(!o||!e)&&"select"!==t&&"off"!==t}(s,u,c),x=function(e,t,o){return!(t||!e)&&"user"===o}(s,c,u),g=function(e,t,o,n){return!(!t||!e&&!o&&t||!e&&"user"!==n)}(c,a,s,u),[f,v]=o.useState(c&&s?"pan":void 0);return{dragButtonDivRef:l,toggleButtonContent:t.jsx(h,{position:{top:`${r.y}px`,right:i?void 0:e-r.x-r.width+"px",left:i?`${r.x}px`:void 0},divRef:l,showSelectButton:g,showZoomButton:x,showPanButton:d,dragMode:f,onDragModeChange:v}),userDragMode:f}}({chartWidth:i,plotAreaSpace:e,isRtl:p,isZoomScroll:u,isMultiSelection:s,dragMode:r}),[I,T]=o.useState(!1),[C,R]=o.useState(),z=o.useRef(new Set),P=n.isMobile(),q=function(e,t,o,n){return!t&&"select"===n||!e&&"zoom"===n||"off"===n?"off":"user"===n?o?e?"pan":t?"select":"off":!e&&t?o?"select":"off":e||t?"pan":"off":n}(u,s,P,r),A="user"===r&&w?w:q,D=function(e,t,o){if(t&&o){const n=Math.min(t.x,o.x),r=Math.max(t.x,o.x),i=Math.min(t.y,o.y),s=Math.max(t.y,o.y);return{x1:n,y1:i,width:Math.abs(r-n),height:Math.abs(s-i),x2:r,y2:s,delta:o.x-t.x,axisDelta:e.invert(o.x)-e.invert(t.x)}}}(l,B.current,C);let Z;const E="select"===A&&D?(e,t)=>{if(B.current?.isMeta&&d?.has(e))return!0;const{x1:o,x2:n,y1:r,y2:i}=D,{x:s,y:a}=t;return s<=n&&s>=o&&a<=i&&a>=r?(z.current?.add(e),!0):(z.current?.delete(e),!1)}:void 0;return!D||"zoom"!==A&&"select"!==A||(Z=t.jsx(g,{...D})),{cursor:x(A,I),marqueeContent:Z,toggleButtonContent:!I&&(!P&&S.current||P)&&j,isPointInsideMarquee:E,dragMode:A,marqueeProps:"off"!=r?{onPointerDown:t=>{if(b.current?.contains(t.target))return;const o=t.offsetX,n=t.offsetY;T(!0),o<e.x||o>e.x+e.width||n<e.y||n>e.y+e.height||(B.current={x:o,y:n})},onPointerMove:t=>{if(!I)return;t.metaKey&&B.current&&(B.current.isMeta=!0);const o=t.offsetX,n=t.offsetY;if(!(o<e.x||o>e.x+e.width||n<e.y||n>e.y+e.height)){if("pan"===A&&a&&(!P||P&&1===y.current)){const e=l.invert(o)-l.invert(C?.x||B.current?.x),t=m-M;let n=M-e,r=m-e;n<c.min&&(n=c.min,r=n+t),r>c.max&&(r=c.max,n=r-t),n!=M&&r!=m&&a({xMin:n,xMax:r})}R({x:o,y:n})}},onPointerUp:e=>{if(T(!1),R(void 0),B.current=void 0,b.current?.contains(e.target))return;if(!D)return;const{x1:t,x2:o}=D;if("zoom"===A){const e=Math.min(l.invert(t),l.invert(o)),n=Math.max(l.invert(t),l.invert(o));a?.({xMin:e,xMax:n})}if("select"===A){const t=[...new Set([...z.current,...e.metaKey&&d||new Set])],o=t.map((e=>f(e)));v?.({ids:t,data:o}),z.current=new Set}},onPointerLeave:e=>{S.current=!1,D&&P&&"off"!=A&&e.currentTarget.setPointerCapture(e.pointerId)},onPointerEnter:()=>{S.current=!0},onTouchEnd:e=>{T(!1),R(void 0),B.current=void 0,y.current=e.touches.length},onTouchStart:e=>{y.current=e.touches.length}}:{}}}}));
2
2
  //# sourceMappingURL=useChartMarquee-62e7676c.js.map
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/hooks', './LayerHost-e95c5f30', 'preact/jsx-runtime', 'preact/compat'], (function(e,t,o,n,r){"use strict";e.useColorScheme=function(){return t.useContext(o.EnvironmentContext).colorScheme}}));
2
- //# sourceMappingURL=useColorScheme-10dc88de.js.map
1
+ define(['exports', 'preact/hooks', './LayerHost-639b3284', 'preact/jsx-runtime', 'preact/compat'], (function(e,t,o,n,r){"use strict";e.useColorScheme=function(){return t.useContext(o.EnvironmentContext).colorScheme}}));
2
+ //# sourceMappingURL=useColorScheme-443e7cc7.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useColorScheme-10dc88de.js","sources":["../../src/hooks/UNSAFE_useColorScheme/useColorScheme.ts"],"sourcesContent":["/**\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 */\nimport { useContext } from 'preact/hooks';\nimport { EnvironmentContext } from '../../UNSAFE_Environment';\n\nexport function useColorScheme() {\n return useContext(EnvironmentContext).colorScheme;\n}\n"],"names":["useContext","EnvironmentContext","colorScheme"],"mappings":"4JAWE,OAAOA,EAAUA,WAACC,sBAAoBC,WACxC"}
1
+ {"version":3,"file":"useColorScheme-443e7cc7.js","sources":["../../src/hooks/UNSAFE_useColorScheme/useColorScheme.ts"],"sourcesContent":["/**\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 */\nimport { useContext } from 'preact/hooks';\nimport { EnvironmentContext } from '../../UNSAFE_Environment';\n\nexport function useColorScheme() {\n return useContext(EnvironmentContext).colorScheme;\n}\n"],"names":["useContext","EnvironmentContext","colorScheme"],"mappings":"4JAWE,OAAOA,EAAUA,WAACC,sBAAoBC,WACxC"}
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/jsx-runtime', 'preact/hooks', './Menu-8f3a1e8c', './MenuItem-44b2547b', 'preact', './logger-0f873e29', './LayerHost-e95c5f30', 'preact/compat', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-3b34c2bc', 'css!./IconStyle.styles.css', './SelectMenuGroupContext-67f24a8f', './UNSAFE_Separator/themes/SeparatorStyles.css', 'css!./MenuSeparatorStyles.styles.css', 'module', './UNSAFE_Menu/themes/redwood/MenuSeparatorVariants.css', './useContextMenuGesture-a2ad99c1'], (function(e,t,o,s,n,r,u,c,a,i,l,p,f,m,M,x,d,C,S,h){"use strict";const b={isOpen:!1,initialFocus:"menu",placement:"bottom-start",offsetValue:0,anchorRef:{current:null}};function g({contextMenuConfig:e,contextMenuContext:n,rootRef:r,setMenuProps:u,onContextMenuDismissed:c,gestureRef:a,...i}){const l=o.useCallback((e=>{"dismissed"!==e.reason&&"itemAction"!==e.reason||(r.current?.focus({preventScroll:!0}),c?.(a.current)),u(b)}),[r,a,u,c]);return t.jsx(s.Menu,{...i,onClose:l,"aria-label":e.accessibleLabel,children:i.isOpen&&e.itemsRenderer(n)})}const y={mouse:{initialFocus:"menu",placement:"bottom-start",offsetValue:0},keyboard:{initialFocus:"firstItem",placement:"bottom-start",offsetValue:0},touch:{initialFocus:"menu",placement:"end",offsetValue:30}};e.ContextMenu=g,e.useContextMenu=function({onContextMenuHandler:e,contextMenuOptions:s,rootRef:n,contextMenuConfig:r,onContextMenuDismissed:u}){const[c,a]=o.useState(),[i,l]=o.useState(b),p=o.useRef(null),f=o.useCallback((({gesture:t,anchor:o,target:s})=>{p.current=t;const{context:n,elem:r}=e({gesture:t,target:s});a(n),l({...y[t],anchorRef:{current:r||o},isOpen:!0})}),[e]),m=r&&t.jsx(g,{...i,onContextMenuDismissed:u,gestureRef:p,setMenuProps:l,rootRef:n,contextMenuConfig:r,contextMenuContext:c}),{triggerProps:M}=h.useContextMenuGesture(f,{...s,isTouchHoldReleaseGesture:!0});return{contextMenuProps:M,contextMenuContent:m}}}));
1
+ define(['exports', 'preact/jsx-runtime', 'preact/hooks', './Menu-e682ccb9', './MenuItem-44b2547b', 'preact', './logger-0f873e29', './LayerHost-639b3284', 'preact/compat', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-79293e46', 'css!./IconStyle.styles.css', './SelectMenuGroupContext-67f24a8f', './UNSAFE_Separator/themes/SeparatorStyles.css', 'css!./MenuSeparatorStyles.styles.css', 'module', './UNSAFE_Menu/themes/redwood/MenuSeparatorVariants.css', './useContextMenuGesture-a2ad99c1'], (function(e,t,o,s,n,r,u,c,a,i,l,p,m,f,M,x,d,C,S,h){"use strict";const b={isOpen:!1,initialFocus:"menu",placement:"bottom-start",offsetValue:0,anchorRef:{current:null}};function g({contextMenuConfig:e,contextMenuContext:n,rootRef:r,setMenuProps:u,onContextMenuDismissed:c,gestureRef:a,...i}){const l=o.useCallback((e=>{"dismissed"!==e.reason&&"itemAction"!==e.reason||(r.current?.focus({preventScroll:!0}),c?.(a.current)),u(b)}),[r,a,u,c]);return t.jsx(s.Menu,{...i,onClose:l,"aria-label":e.accessibleLabel,children:i.isOpen&&e.itemsRenderer(n)})}const y={mouse:{initialFocus:"menu",placement:"bottom-start",offsetValue:0},keyboard:{initialFocus:"firstItem",placement:"bottom-start",offsetValue:0},touch:{initialFocus:"menu",placement:"end",offsetValue:30}};e.ContextMenu=g,e.useContextMenu=function({onContextMenuHandler:e,contextMenuOptions:s,rootRef:n,contextMenuConfig:r,onContextMenuDismissed:u}){const[c,a]=o.useState(),[i,l]=o.useState(b),p=o.useRef(null),m=o.useCallback((({gesture:t,anchor:o,target:s})=>{p.current=t;const{context:n,elem:r}=e({gesture:t,target:s});a(n),l({...y[t],anchorRef:{current:r||o},isOpen:!0})}),[e]),f=r&&t.jsx(g,{...i,onContextMenuDismissed:u,gestureRef:p,setMenuProps:l,rootRef:n,contextMenuConfig:r,contextMenuContext:c}),{triggerProps:M}=h.useContextMenuGesture(m,{...s,isTouchHoldReleaseGesture:!0});return{contextMenuProps:M,contextMenuContent:f}}}));
2
2
  //# sourceMappingURL=useContextMenu-57f18e97.js.map
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/jsx-runtime', 'preact/hooks', './useUser-85c781ea', './useTheme-ac980f9a', './useColorScheme-10dc88de', './useScale-37d42c9d'], (function(e,s,r,t,o,c,n){"use strict";e.useCssVars=function(e){const u=r.useRef(null),[a,l]=r.useState({}),{forcedColors:d}=t.useUser(),{name:f}=o.useTheme(),i=n.useScale(),p=c.useColorScheme(),h=e.reduce(((e,s)=>(s.cssProp&&(e[s.cssProp]=s.tokenVar),e)),{}),m=s.jsx("div",{ref:u,style:{display:"none",...h}});return r.useLayoutEffect((()=>{if(!u.current)return;const s=window.getComputedStyle(u.current),r={};e.forEach((e=>{const t=e.cssProp||function(e){const s=e.match(/var\((--[a-zA-Z_0-9\-]+)\)/);return s&&s.length>1?s[1]:""}(e.tokenVar);r[e.key]=s.getPropertyValue(t)})),l(r)}),[d,f,p,i,e]),{resolvedVars:a,cssContent:m}}}));
2
- //# sourceMappingURL=useCssVars-c043f8da.js.map
1
+ define(['exports', 'preact/jsx-runtime', 'preact/hooks', './useUser-3ef25571', './useTheme-a8334e06', './useColorScheme-443e7cc7', './useScale-e311d35f'], (function(e,s,r,t,o,c,n){"use strict";e.useCssVars=function(e){const u=r.useRef(null),[a,f]=r.useState({}),{forcedColors:l}=t.useUser(),{name:i}=o.useTheme(),d=n.useScale(),p=c.useColorScheme(),h=e.reduce(((e,s)=>(s.cssProp&&(e[s.cssProp]=s.tokenVar),e)),{}),m=s.jsx("div",{ref:u,style:{display:"none",...h}});return r.useLayoutEffect((()=>{if(!u.current)return;const s=window.getComputedStyle(u.current),r={};e.forEach((e=>{const t=e.cssProp||function(e){const s=e.match(/var\((--[a-zA-Z_0-9\-]+)\)/);return s&&s.length>1?s[1]:""}(e.tokenVar);r[e.key]=s.getPropertyValue(t)})),f(r)}),[l,i,p,d,e]),{resolvedVars:a,cssContent:m}}}));
2
+ //# sourceMappingURL=useCssVars-dc52806c.js.map