@oracle/oraclejet-preact 17.0.1 → 17.0.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 (1029) hide show
  1. package/amd/ActionCard-c8070525.js +1 -1
  2. package/amd/{BarChart-6c921af0.js → BarChart-be1d51d4.js} +2 -2
  3. package/amd/{BarChart-6c921af0.js.map → BarChart-be1d51d4.js.map} +1 -1
  4. package/amd/BaseButton-83ce1d00.js +1 -1
  5. package/amd/{BaseCardView-3c1e5b4c.js → BaseCardView-1aa0d986.js} +2 -2
  6. package/amd/{BaseCardView-3c1e5b4c.js.map → BaseCardView-1aa0d986.js.map} +1 -1
  7. package/amd/{BaseCardViewSelectionTest-28e25f08.js → BaseCardViewSelectionTest-09799a11.js} +2 -2
  8. package/amd/{BaseCardViewSelectionTest-28e25f08.js.map → BaseCardViewSelectionTest-09799a11.js.map} +1 -1
  9. package/amd/BaseNavigationListItem-4a940426.js +1 -1
  10. package/amd/ButtonSet-d8cd5447.js +1 -1
  11. package/amd/ButtonSetIconButton-08612ca6.js +1 -1
  12. package/amd/CardFlexView-a647550f.js +2 -0
  13. package/amd/{CardFlexView-3e4bd681.js.map → CardFlexView-a647550f.js.map} +1 -1
  14. package/amd/CardGridView-06fb67cb.js +2 -0
  15. package/amd/{CardGridView-8fb55ad7.js.map → CardGridView-06fb67cb.js.map} +1 -1
  16. package/amd/Center-ce88b58a.js +2 -0
  17. package/amd/{Center-5f845605.js.map → Center-ce88b58a.js.map} +1 -1
  18. package/amd/{Chart-0f54dae3.js → Chart-4796be31.js} +2 -2
  19. package/amd/{Chart-0f54dae3.js.map → Chart-4796be31.js.map} +1 -1
  20. package/amd/CheckboxControl-7d539ab3.js +1 -1
  21. package/amd/CheckboxRadioField-da88bd6f.js +1 -1
  22. package/amd/Chip-26339152.js +1 -1
  23. package/amd/ClearIcon-a29e57fb.js +1 -1
  24. package/amd/CollapseIcon-c433fd3e.js +1 -1
  25. package/amd/Collapsible-8f15bec2.js +1 -1
  26. package/amd/CompactHelpSource-7de24d56.js +1 -1
  27. package/amd/CompactLabelAssistance-9b6b3be2.js +2 -0
  28. package/amd/{CompactLabelAssistance-91aeaa2e.js.map → CompactLabelAssistance-9b6b3be2.js.map} +1 -1
  29. package/amd/CompactUserAssistance-b2cbdbad.js +1 -1
  30. package/amd/ComponentMessageContainer-dc4b7c7f.js +1 -1
  31. package/amd/ConveyorBeltItem-d398eaa6.js +1 -1
  32. package/amd/{DatePicker-3996fc76.js → DatePicker-70b1aba4.js} +2 -2
  33. package/amd/{DatePicker-3996fc76.js.map → DatePicker-70b1aba4.js.map} +1 -1
  34. package/amd/DatePickerHeader-52c085e6.js +1 -1
  35. package/amd/{Diagram-737e9921.js → Diagram-9627b062.js} +2 -2
  36. package/amd/{Diagram-737e9921.js.map → Diagram-9627b062.js.map} +1 -1
  37. package/amd/DirectionalCollapseArrowIcon-09a24655.js +1 -1
  38. package/amd/DirectionalExpandArrowIcon-c8f2e596.js +1 -1
  39. package/amd/DragHandle-351a20be.js +1 -1
  40. package/amd/{Dropdown-de472a1d.js → Dropdown-c62373dd.js} +2 -2
  41. package/amd/{Dropdown-de472a1d.js.map → Dropdown-c62373dd.js.map} +1 -1
  42. package/amd/{EnvironmentProvider-46d0a245.js → EnvironmentProvider-9e71b5c2.js} +2 -2
  43. package/amd/{EnvironmentProvider-46d0a245.js.map → EnvironmentProvider-9e71b5c2.js.map} +1 -1
  44. package/amd/FilePicker-9b2fb661.js +1 -1
  45. package/amd/{Flex-1f27b601.js → Flex-db3ddadb.js} +2 -2
  46. package/amd/{Flex-1f27b601.js.map → Flex-db3ddadb.js.map} +1 -1
  47. package/amd/{Floating-85851b1a.js → Floating-8f519f4d.js} +2 -2
  48. package/amd/{Floating-85851b1a.js.map → Floating-8f519f4d.js.map} +1 -1
  49. package/amd/FormLayout-80b89e74.js +1 -1
  50. package/amd/Gantt-6fe34398.js +1 -1
  51. package/amd/{Grid-85171367.js → Grid-209ab070.js} +2 -2
  52. package/amd/{Grid-85171367.js.map → Grid-209ab070.js.map} +1 -1
  53. package/amd/{Gridlines-11a94c28.js → Gridlines-8ca4f9ee.js} +2 -2
  54. package/amd/{Gridlines-11a94c28.js.map → Gridlines-8ca4f9ee.js.map} +1 -1
  55. package/amd/GroupLoadingIndicator-e66ed431.js +1 -1
  56. package/amd/HighlightText-415dc14f.js +2 -0
  57. package/amd/{HighlightText-ad9bc1f8.js.map → HighlightText-415dc14f.js.map} +1 -1
  58. package/amd/Icon-599f55f3.js +1 -1
  59. package/amd/IconButton-1b328b69.js +1 -1
  60. package/amd/IconMenuButton-c275cfbb.js +1 -1
  61. package/amd/IconSwitchButton-0e888503.js +1 -1
  62. package/amd/IconToggleButton-563a5127.js +1 -1
  63. package/amd/{IconUserAssistance-5bdaa6bf.js → IconUserAssistance-f8928f19.js} +2 -2
  64. package/amd/{IconUserAssistance-5bdaa6bf.js.map → IconUserAssistance-f8928f19.js.map} +1 -1
  65. package/amd/{Indexer-51d51cda.js → Indexer-204a6d88.js} +2 -2
  66. package/amd/{Indexer-51d51cda.js.map → Indexer-204a6d88.js.map} +1 -1
  67. package/amd/InlineHelpSource-359fd9df.js +1 -1
  68. package/amd/InlineUserAssistance-f4d1fa1b.js +1 -1
  69. package/amd/InputDateMask-b7a27faa.js +1 -1
  70. package/amd/InputDatePicker-da5d8728.js +1 -1
  71. package/amd/InputPassword-03f24e78.js +1 -1
  72. package/amd/InputText-da0a5c0f.js +1 -1
  73. package/amd/Label-3f8fc274.js +1 -1
  74. package/amd/LabelValueLayout-89e9f1be.js +1 -1
  75. package/amd/Layer-8d7bbd69.js +2 -0
  76. package/amd/{Layer-3cc44164.js.map → Layer-8d7bbd69.js.map} +1 -1
  77. package/amd/{LayerHost-eab40731.js → LayerHost-0a244de8.js} +2 -2
  78. package/amd/{LayerHost-eab40731.js.map → LayerHost-0a244de8.js.map} +1 -1
  79. package/amd/{LayerManager-d0836029.js → LayerManager-00983765.js} +2 -2
  80. package/amd/{LayerManager-d0836029.js.map → LayerManager-00983765.js.map} +1 -1
  81. package/amd/Legend-42f8653b.js +1 -1
  82. package/amd/{LineAreaChart-337cac30.js → LineAreaChart-b68c4620.js} +2 -2
  83. package/amd/{LineAreaChart-337cac30.js.map → LineAreaChart-b68c4620.js.map} +1 -1
  84. package/amd/Link-6f583879.js +1 -1
  85. package/amd/List-5958c802.js +2 -0
  86. package/amd/{List-88a7bee6.js.map → List-5958c802.js.map} +1 -1
  87. package/amd/ListItemLayout-12aee4bd.js +2 -0
  88. package/amd/{ListItemLayout-dba9e24b.js.map → ListItemLayout-12aee4bd.js.map} +1 -1
  89. package/amd/{ListView-6739207e.js → ListView-27d10b67.js} +2 -2
  90. package/amd/{ListView-6739207e.js.map → ListView-27d10b67.js.map} +1 -1
  91. package/amd/LiveRegion-09197914.js +2 -0
  92. package/amd/{LiveRegion-be6f36d7.js.map → LiveRegion-09197914.js.map} +1 -1
  93. package/amd/LoadMoreCollection-83413a59.js +2 -0
  94. package/amd/{LoadMoreCollection-a6adbc3f.js.map → LoadMoreCollection-83413a59.js.map} +1 -1
  95. package/amd/MaxLengthCounter-caafceef.js +2 -0
  96. package/{es/MaxLengthCounter-cead2dac.js.map → amd/MaxLengthCounter-caafceef.js.map} +1 -1
  97. package/amd/MaxLengthLiveRegion-e3856a98.js +2 -0
  98. package/amd/{MaxLengthLiveRegion-23d7e335.js.map → MaxLengthLiveRegion-e3856a98.js.map} +1 -1
  99. package/amd/{Menu-51409b28.js → Menu-6a5d7fce.js} +2 -2
  100. package/amd/{Menu-51409b28.js.map → Menu-6a5d7fce.js.map} +1 -1
  101. package/amd/MenuButton-c8fb534d.js +1 -1
  102. package/amd/MenuItem-644f8619.js +1 -1
  103. package/amd/Message-51d787d0.js +1 -1
  104. package/amd/MessageLayer-cf2fbea9.js +2 -0
  105. package/amd/{MessageLayer-d2c49999.js.map → MessageLayer-cf2fbea9.js.map} +1 -1
  106. package/amd/MessageToast-e0e07765.js +1 -1
  107. package/amd/MessagesManager-78a10f78.js +1 -1
  108. package/amd/MeterBar-38666619.js +1 -1
  109. package/amd/MeterCircle-f1561632.js +1 -1
  110. package/amd/{Modal-8c095bea.js → Modal-8f19889c.js} +2 -2
  111. package/amd/{Modal-8c095bea.js.map → Modal-8f19889c.js.map} +1 -1
  112. package/amd/{MonthView-b5d1d69d.js → MonthView-297fceb8.js} +2 -2
  113. package/amd/{MonthView-b5d1d69d.js.map → MonthView-297fceb8.js.map} +1 -1
  114. package/amd/NavigationListItem-0a4f8a9c.js +2 -0
  115. package/amd/{NavigationListItem-c96ac144.js.map → NavigationListItem-0a4f8a9c.js.map} +1 -1
  116. package/amd/NumberInputText-0d8284f8.js +1 -1
  117. package/amd/{OverflowTabBarItem-f781e527.js → OverflowTabBarItem-aae4eb2f.js} +2 -2
  118. package/amd/{OverflowTabBarItem-f781e527.js.map → OverflowTabBarItem-aae4eb2f.js.map} +1 -1
  119. package/amd/PRIVATE_BaseCardView.js +1 -1
  120. package/amd/PRIVATE_Chart.js +1 -1
  121. package/amd/PRIVATE_CheckboxControl.js +1 -1
  122. package/amd/PRIVATE_CheckboxRadioField.js +1 -1
  123. package/amd/PRIVATE_ClearIcon.js +1 -1
  124. package/amd/PRIVATE_DatePickerHeader.js +1 -1
  125. package/amd/PRIVATE_DatePickerLayout.js +1 -1
  126. package/amd/PRIVATE_EmbeddedIconButton.js +1 -1
  127. package/amd/PRIVATE_FormControls.js +1 -1
  128. package/amd/PRIVATE_IconSwitchButton.js +1 -1
  129. package/amd/PRIVATE_Icons/CheckboxMixed.js +1 -1
  130. package/amd/PRIVATE_Icons/CheckboxOff.js +1 -1
  131. package/amd/PRIVATE_Icons/CheckboxOn.js +1 -1
  132. package/amd/PRIVATE_Icons/RadiobuttonOff.js +1 -1
  133. package/amd/PRIVATE_Icons/RadiobuttonOn.js +1 -1
  134. package/amd/PRIVATE_Icons/WarningS.js +1 -1
  135. package/amd/PRIVATE_List.js +1 -1
  136. package/amd/PRIVATE_LoadMoreCollection.js +1 -1
  137. package/amd/PRIVATE_Message.js +1 -1
  138. package/amd/PRIVATE_MessageLayer.js +1 -1
  139. package/amd/PRIVATE_MonthView.js +1 -1
  140. package/amd/PRIVATE_MonthYearGridView.js +1 -1
  141. package/amd/PRIVATE_PlotArea.js +1 -1
  142. package/amd/PRIVATE_RevealToggleIcon.js +1 -1
  143. package/amd/PRIVATE_SelectCommon.js +1 -1
  144. package/amd/PRIVATE_StyledCheckbox.js +1 -1
  145. package/amd/PRIVATE_Table.js +1 -1
  146. package/amd/PRIVATE_ThemedIcons/CalendarIcon.js +1 -1
  147. package/amd/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +1 -1
  148. package/amd/PRIVATE_ThemedIcons/ChartPanIcon.js +1 -1
  149. package/amd/PRIVATE_ThemedIcons/ChartZoomIcon.js +1 -1
  150. package/amd/PRIVATE_ThemedIcons/CheckIcon.js +1 -1
  151. package/amd/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +1 -1
  152. package/amd/PRIVATE_ThemedIcons/CheckboxOffIcon.js +1 -1
  153. package/amd/PRIVATE_ThemedIcons/CheckboxOnIcon.js +1 -1
  154. package/amd/PRIVATE_ThemedIcons/CloseIcon.js +1 -1
  155. package/amd/PRIVATE_ThemedIcons/CollapseIcon.js +1 -1
  156. package/amd/PRIVATE_ThemedIcons/CollapseUpIcon.js +1 -1
  157. package/amd/PRIVATE_ThemedIcons/DecrementIcon.js +1 -1
  158. package/amd/PRIVATE_ThemedIcons/DeleteIcon.js +1 -1
  159. package/amd/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +1 -1
  160. package/amd/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +1 -1
  161. package/amd/PRIVATE_ThemedIcons/DropdownArrowIcon.js +1 -1
  162. package/amd/PRIVATE_ThemedIcons/ExpandIcon.js +1 -1
  163. package/amd/PRIVATE_ThemedIcons/HelpIcon.js +1 -1
  164. package/amd/PRIVATE_ThemedIcons/IncrementIcon.js +1 -1
  165. package/amd/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +1 -1
  166. package/amd/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +1 -1
  167. package/amd/PRIVATE_ThemedIcons/MessageErrorIcon.js +1 -1
  168. package/amd/PRIVATE_ThemedIcons/MessageInfoIcon.js +1 -1
  169. package/amd/PRIVATE_ThemedIcons/MessageWarningIcon.js +1 -1
  170. package/amd/PRIVATE_ThemedIcons/MinusIcon.js +1 -1
  171. package/amd/PRIVATE_ThemedIcons/NavDownIcon.js +1 -1
  172. package/amd/PRIVATE_ThemedIcons/PlusIcon.js +1 -1
  173. package/amd/PRIVATE_ThemedIcons/RadioOffIcon.js +1 -1
  174. package/amd/PRIVATE_ThemedIcons/RadioOnIcon.js +1 -1
  175. package/amd/PRIVATE_ThemedIcons/SortAscendingIcon.js +1 -1
  176. package/amd/PRIVATE_ThemedIcons/SortDefaultIcon.js +1 -1
  177. package/amd/PRIVATE_ThemedIcons/SortDescendingIcon.js +1 -1
  178. package/amd/PRIVATE_ThemedIcons/ViewHideIcon.js +1 -1
  179. package/amd/PRIVATE_ThemedIcons/ViewIcon.js +1 -1
  180. package/amd/PRIVATE_TimeComponent.js +1 -1
  181. package/amd/PRIVATE_VirtualizedCollection.js +1 -1
  182. package/amd/PRIVATE_VisTabularDatatip.js +1 -1
  183. package/amd/PictoChart-4d70af90.js +1 -1
  184. package/amd/{PieChart-ab4c95f7.js → PieChart-295e2dbf.js} +2 -2
  185. package/amd/{PieChart-ab4c95f7.js.map → PieChart-295e2dbf.js.map} +1 -1
  186. package/amd/{Popup-249d77c3.js → Popup-b5495d55.js} +2 -2
  187. package/amd/{Popup-249d77c3.js.map → Popup-b5495d55.js.map} +1 -1
  188. package/amd/{ProgressBar-f82d6b43.js → ProgressBar-e9b37565.js} +2 -2
  189. package/amd/{ProgressBar-f82d6b43.js.map → ProgressBar-e9b37565.js.map} +1 -1
  190. package/amd/{ProgressCircle-fc85cd7c.js → ProgressCircle-3b0d70d1.js} +2 -2
  191. package/amd/{ProgressCircle-fc85cd7c.js.map → ProgressCircle-3b0d70d1.js.map} +1 -1
  192. package/amd/RadioItem-27c120ba.js +1 -1
  193. package/amd/RatingGauge-dfe9f698.js +1 -1
  194. package/amd/ReadonlyTextFieldInput-a5e85e5d.js +1 -1
  195. package/amd/RemovableNavigationListItem-87ecbae7.js +1 -1
  196. package/amd/RemovableTabBarItem-89287a9b.js +1 -1
  197. package/amd/ReorderableTabBar-05821909.js +1 -1
  198. package/amd/RevealToggleIcon-c2b91037.js +2 -0
  199. package/amd/{RevealToggleIcon-ef89d654.js.map → RevealToggleIcon-c2b91037.js.map} +1 -1
  200. package/amd/SectionalLegend-798dbecb.js +1 -1
  201. package/amd/SectionedContent-d896b84f.js +2 -0
  202. package/amd/{SectionedContent-655a773a.js.map → SectionedContent-d896b84f.js.map} +1 -1
  203. package/amd/{SelectMultiple-06da3db0.js → SelectMultiple-fabd883c.js} +2 -2
  204. package/amd/{SelectMultiple-06da3db0.js.map → SelectMultiple-fabd883c.js.map} +1 -1
  205. package/amd/{SelectSingle-2266e5c4.js → SelectSingle-34d636a8.js} +2 -2
  206. package/amd/{SelectSingle-2266e5c4.js.map → SelectSingle-34d636a8.js.map} +1 -1
  207. package/amd/SelectionCard-ec3ee20d.js +2 -0
  208. package/amd/{SelectionCard-0ecc7773.js.map → SelectionCard-ec3ee20d.js.map} +1 -1
  209. package/amd/Selector-ad2af152.js +1 -1
  210. package/amd/SelectorAll-879d186e.js +1 -1
  211. package/amd/{Sheet-6447f399.js → Sheet-a398d015.js} +2 -2
  212. package/amd/{Sheet-6447f399.js.map → Sheet-a398d015.js.map} +1 -1
  213. package/amd/SplitMenuButton-deb0fc04.js +1 -1
  214. package/amd/StyledTextField-8ac3bbb4.js +1 -1
  215. package/amd/Submenu-b20a55aa.js +1 -1
  216. package/amd/TabBar-10096a0c.js +1 -1
  217. package/amd/TabBarItem-7f4a5e0b.js +1 -1
  218. package/amd/TabBarLayout-f8e0fcad.js +1 -1
  219. package/amd/TabBarMixed-5adc54c4.js +1 -1
  220. package/amd/TabBarMixedSeparator-234c9a75.js +2 -0
  221. package/amd/{TabBarMixedSeparator-10a52b13.js.map → TabBarMixedSeparator-234c9a75.js.map} +1 -1
  222. package/amd/{Table-8e271f0f.js → Table-fda0ad21.js} +2 -2
  223. package/amd/{Table-8e271f0f.js.map → Table-fda0ad21.js.map} +1 -1
  224. package/amd/{TableView-cc05c32f.js → TableView-e4216655.js} +2 -2
  225. package/amd/{TableView-cc05c32f.js.map → TableView-e4216655.js.map} +1 -1
  226. package/amd/TagCloud-a37fcea5.js +1 -1
  227. package/amd/TextArea-44c90bc4.js +2 -0
  228. package/{es/TextArea-d97aac1f.js.map → amd/TextArea-44c90bc4.js.map} +1 -1
  229. package/amd/TextAreaAutosize-0a023972.js +2 -0
  230. package/amd/{TextAreaAutosize-9dc5bffe.js.map → TextAreaAutosize-0a023972.js.map} +1 -1
  231. package/amd/TextField-0fc70892.js +1 -1
  232. package/amd/TextFieldInput-dfd9529f.js +1 -1
  233. package/amd/Theme-redwood/theme.css +267 -267
  234. package/amd/Theme-stable/theme.css +300 -300
  235. package/amd/TimeComponentCanvas2D-d4a5891c.js +1 -1
  236. package/amd/Toolbar-98c1d888.js +1 -1
  237. package/amd/TruncatingBadge-67192c05.js +1 -1
  238. package/amd/TruncatingText-27ffd8e4.js +1 -1
  239. package/amd/UNSAFE_ActionCard.js +1 -1
  240. package/amd/UNSAFE_BarChart/__test__/BarChart.spec.js +1 -1
  241. package/amd/UNSAFE_BarChart.js +1 -1
  242. package/amd/UNSAFE_BaseButton.js +1 -1
  243. package/amd/UNSAFE_Button.js +1 -1
  244. package/amd/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +1 -1
  245. package/amd/UNSAFE_ButtonSet.js +1 -1
  246. package/amd/UNSAFE_ButtonSetButton.js +1 -1
  247. package/amd/UNSAFE_ButtonSetIconButton.js +1 -1
  248. package/amd/UNSAFE_ButtonSetItem.js +1 -1
  249. package/amd/UNSAFE_ButtonSetMultiple.js +1 -1
  250. package/amd/UNSAFE_ButtonSetSingle.js +1 -1
  251. package/amd/UNSAFE_CardFlexView.js +1 -1
  252. package/amd/UNSAFE_CardGridView.js +1 -1
  253. package/amd/UNSAFE_Center.js +1 -1
  254. package/amd/UNSAFE_ChartWithLegend.js +1 -1
  255. package/amd/UNSAFE_Checkbox.js +1 -1
  256. package/amd/UNSAFE_CheckboxItem.js +1 -1
  257. package/amd/UNSAFE_CheckboxSet.js +1 -1
  258. package/amd/UNSAFE_Chip.js +1 -1
  259. package/amd/UNSAFE_Collapsible.js +1 -1
  260. package/amd/UNSAFE_ComponentMessage.js +1 -1
  261. package/amd/UNSAFE_ConveyorBelt.js +1 -1
  262. package/amd/UNSAFE_DatePicker.js +1 -1
  263. package/amd/UNSAFE_Diagram.js +1 -1
  264. package/amd/UNSAFE_Dialog.js +1 -1
  265. package/amd/UNSAFE_DragHandle.js +1 -1
  266. package/amd/UNSAFE_DrawerLayout.js +1 -1
  267. package/amd/UNSAFE_DrawerPopup.js +1 -1
  268. package/amd/UNSAFE_Dropdown.js +1 -1
  269. package/amd/UNSAFE_Environment.js +1 -1
  270. package/amd/UNSAFE_ExpandableList.js +1 -1
  271. package/amd/UNSAFE_FilePicker.js +1 -1
  272. package/amd/UNSAFE_Flex.js +1 -1
  273. package/amd/UNSAFE_Floating.js +1 -1
  274. package/amd/UNSAFE_FormLayout.js +1 -1
  275. package/amd/UNSAFE_Gantt.js +1 -1
  276. package/amd/UNSAFE_Grid.js +1 -1
  277. package/amd/UNSAFE_HighlightText.js +1 -1
  278. package/amd/UNSAFE_Icon.js +1 -1
  279. package/amd/UNSAFE_IconButton.js +1 -1
  280. package/amd/UNSAFE_IconMenuButton.js +1 -1
  281. package/amd/UNSAFE_IconToggleButton.js +1 -1
  282. package/amd/UNSAFE_Indexer.js +1 -1
  283. package/amd/UNSAFE_InputDateMask.js +1 -1
  284. package/amd/UNSAFE_InputDatePicker.js +1 -1
  285. package/amd/UNSAFE_InputPassword.js +1 -1
  286. package/amd/UNSAFE_InputSensitiveText.js +1 -1
  287. package/amd/UNSAFE_InputText.js +1 -1
  288. package/amd/UNSAFE_Label.js +1 -1
  289. package/amd/UNSAFE_LabelValueLayout.js +1 -1
  290. package/amd/UNSAFE_LabelledLink.js +1 -1
  291. package/amd/UNSAFE_Layer.js +1 -1
  292. package/amd/UNSAFE_Legend.js +1 -1
  293. package/amd/UNSAFE_LineAreaChart/__test__/LineChart.spec.js +1 -1
  294. package/amd/UNSAFE_LineAreaChart.js +1 -1
  295. package/amd/UNSAFE_Link.js +1 -1
  296. package/amd/UNSAFE_ListItemLayout.js +1 -1
  297. package/amd/UNSAFE_ListView.js +1 -1
  298. package/amd/UNSAFE_LiveRegion.js +1 -1
  299. package/amd/UNSAFE_Menu.js +1 -1
  300. package/amd/UNSAFE_MenuButton.js +1 -1
  301. package/amd/UNSAFE_MessageBanner.js +1 -1
  302. package/amd/UNSAFE_MessageToast.js +1 -1
  303. package/amd/UNSAFE_MeterBar.js +1 -1
  304. package/amd/UNSAFE_MeterCircle.js +1 -1
  305. package/amd/UNSAFE_Modal.js +1 -1
  306. package/amd/UNSAFE_NavigationList.js +1 -1
  307. package/amd/UNSAFE_NavigationListCommon.js +1 -1
  308. package/amd/UNSAFE_NumberInputText.js +1 -1
  309. package/amd/UNSAFE_OverflowTabBar.js +1 -1
  310. package/amd/UNSAFE_PictoChart.js +1 -1
  311. package/amd/UNSAFE_PieChart/__test__/PieChart.spec.js +1 -1
  312. package/amd/UNSAFE_PieChart.js +1 -1
  313. package/amd/UNSAFE_Popup.js +1 -1
  314. package/amd/UNSAFE_ProgressBar.js +1 -1
  315. package/amd/UNSAFE_ProgressCircle.js +1 -1
  316. package/amd/UNSAFE_RadioItem.js +1 -1
  317. package/amd/UNSAFE_RadioSet.js +1 -1
  318. package/amd/UNSAFE_RatingGauge.js +1 -1
  319. package/amd/UNSAFE_ReorderableTabBar.js +1 -1
  320. package/amd/UNSAFE_SectionalLegend.js +1 -1
  321. package/amd/UNSAFE_SelectMultiple.js +1 -1
  322. package/amd/UNSAFE_SelectSingle.js +1 -1
  323. package/amd/UNSAFE_SelectionCard.js +1 -1
  324. package/amd/UNSAFE_Selector.js +1 -1
  325. package/amd/UNSAFE_SelectorAll.js +1 -1
  326. package/amd/UNSAFE_Sheet/__test__/Sheet.spec.js +1 -1
  327. package/amd/UNSAFE_Sheet.js +1 -1
  328. package/amd/UNSAFE_SplitMenuButton.js +1 -1
  329. package/amd/UNSAFE_TabBar.js +1 -1
  330. package/amd/UNSAFE_TabBarCommon.js +1 -1
  331. package/amd/UNSAFE_TabBarMixed.js +1 -1
  332. package/amd/UNSAFE_TableView.js +1 -1
  333. package/amd/UNSAFE_TagCloud.js +1 -1
  334. package/amd/UNSAFE_TextArea.js +1 -1
  335. package/amd/UNSAFE_TextAreaAutosize.js +1 -1
  336. package/amd/UNSAFE_TextField.js +1 -1
  337. package/amd/UNSAFE_ToggleButton.js +1 -1
  338. package/amd/UNSAFE_Toolbar/tests/Toolbar.spec.js +1 -1
  339. package/amd/UNSAFE_Toolbar.js +1 -1
  340. package/amd/UNSAFE_Train.js +1 -1
  341. package/amd/UNSAFE_TruncatingBadge.js +1 -1
  342. package/amd/UNSAFE_TruncatingText.js +1 -1
  343. package/amd/UNSAFE_UserAssistance.js +1 -1
  344. package/amd/UNSAFE_View.js +1 -1
  345. package/amd/UNSAFE_VirtualizedListView.js +1 -1
  346. package/amd/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +1 -1
  347. package/amd/UNSAFE_VisProgressiveLoader.js +1 -1
  348. package/amd/UNSAFE_VisStatusMessage.js +1 -1
  349. package/amd/UNSAFE_WindowOverlay.js +1 -1
  350. package/amd/{View-8701dec6.js → View-10a5769c.js} +2 -2
  351. package/amd/{View-8701dec6.js.map → View-10a5769c.js.map} +1 -1
  352. package/amd/{VirtualizedCollection-63223f5e.js → VirtualizedCollection-897516a5.js} +2 -2
  353. package/amd/{VirtualizedCollection-63223f5e.js.map → VirtualizedCollection-897516a5.js.map} +1 -1
  354. package/amd/VirtualizedListView-ead601c7.js +2 -0
  355. package/amd/{VirtualizedListView-0924cf91.js.map → VirtualizedListView-ead601c7.js.map} +1 -1
  356. package/amd/VisNoData-95d951c2.js +2 -0
  357. package/amd/{VisNoData-bfb5065e.js.map → VisNoData-95d951c2.js.map} +1 -1
  358. package/amd/{VisProgressiveLoader-ef9de93a.js → VisProgressiveLoader-39f1b4ef.js} +2 -2
  359. package/amd/{VisProgressiveLoader-ef9de93a.js.map → VisProgressiveLoader-39f1b4ef.js.map} +1 -1
  360. package/amd/{VisTabularDatatip-5e43455b.js → VisTabularDatatip-e945d6f6.js} +2 -2
  361. package/amd/{VisTabularDatatip-5e43455b.js.map → VisTabularDatatip-e945d6f6.js.map} +1 -1
  362. package/amd/{WindowOverlay-c09fece2.js → WindowOverlay-ad61cfea.js} +2 -2
  363. package/amd/{WindowOverlay-c09fece2.js.map → WindowOverlay-ad61cfea.js.map} +1 -1
  364. package/amd/{YearsGridView-91e4744d.js → YearsGridView-c76bb4da.js} +2 -2
  365. package/amd/{YearsGridView-91e4744d.js.map → YearsGridView-c76bb4da.js.map} +1 -1
  366. package/amd/hoc/PRIVATE_withDirectionIcon.js +1 -1
  367. package/amd/hoc/PRIVATE_withThemeIcon.js +1 -1
  368. package/amd/hoc/UNSAFE_withThemeProps.js +1 -1
  369. package/amd/hooks/PRIVATE_useChartContextMenu.js +1 -1
  370. package/amd/hooks/PRIVATE_useChartDatatip.js +1 -1
  371. package/amd/hooks/PRIVATE_useChartEvents.js +1 -1
  372. package/amd/hooks/PRIVATE_useChartMarquee.js +1 -1
  373. package/amd/hooks/PRIVATE_useCssVars.js +1 -1
  374. package/amd/hooks/PRIVATE_useCurrentKey.js +1 -1
  375. package/amd/hooks/PRIVATE_useDatatip.js +1 -1
  376. package/amd/hooks/PRIVATE_useFloating.js +1 -1
  377. package/amd/hooks/PRIVATE_useReorderable.js +1 -1
  378. package/amd/hooks/PRIVATE_useRovingTabIndexContainer.js +1 -1
  379. package/amd/hooks/PRIVATE_useSelection.js +1 -1
  380. package/amd/hooks/PRIVATE_useTabBar.js +1 -1
  381. package/amd/hooks/PRIVATE_useVisContextMenu.js +1 -1
  382. package/amd/hooks/PRIVATE_useVisEvents.js +1 -1
  383. package/amd/hooks/PRIVATE_useVisMeterEvents.js +1 -1
  384. package/amd/hooks/PRIVATE_useVisSelection.js +1 -1
  385. package/amd/hooks/UNSAFE_useColorScheme.js +1 -1
  386. package/amd/hooks/UNSAFE_useContainerBreakpointValues.js +1 -1
  387. package/amd/hooks/UNSAFE_useCurrentBgColor.js +1 -1
  388. package/amd/hooks/UNSAFE_useDensity.js +1 -1
  389. package/amd/hooks/UNSAFE_useOutsideClick.js +1 -1
  390. package/amd/hooks/UNSAFE_usePrefixSuffix.js +1 -1
  391. package/amd/hooks/UNSAFE_useScale.js +1 -1
  392. package/amd/hooks/UNSAFE_useTestId.js +1 -1
  393. package/amd/hooks/UNSAFE_useTheme.js +1 -1
  394. package/amd/hooks/UNSAFE_useThemeInterpolations.js +1 -1
  395. package/amd/hooks/UNSAFE_useTooltip.js +1 -1
  396. package/amd/hooks/UNSAFE_useTranslationBundle.js +1 -1
  397. package/amd/hooks/UNSAFE_useUser.js +1 -1
  398. package/amd/{index-17fdb080.js → index-8d4da04e.js} +2 -2
  399. package/amd/index-8d4da04e.js.map +1 -0
  400. package/amd/listViewSelectionTests-a0132dcc.js +1 -1
  401. package/amd/{render-9b32a558.js → render-6de552e4.js} +2 -2
  402. package/amd/{render-9b32a558.js.map → render-6de552e4.js.map} +1 -1
  403. package/amd/{tabbableUtils-5b5b70da.js → tabbableUtils-78cc49fd.js} +2 -2
  404. package/amd/{tabbableUtils-5b5b70da.js.map → tabbableUtils-78cc49fd.js.map} +1 -1
  405. package/amd/{testData-8e20304d.js → testData-6d873339.js} +2 -2
  406. package/amd/{testData-8e20304d.js.map → testData-6d873339.js.map} +1 -1
  407. package/amd/useCellNavigation-37e0539a.js +1 -1
  408. package/amd/useChartContextMenu-c50617f2.js +1 -1
  409. package/amd/{useChartDatatip-672232af.js → useChartDatatip-34e2636c.js} +2 -2
  410. package/amd/{useChartDatatip-672232af.js.map → useChartDatatip-34e2636c.js.map} +1 -1
  411. package/amd/useChartMarquee-0e818e77.js +1 -1
  412. package/amd/{useColorScheme-711c1e4b.js → useColorScheme-3ffd80c4.js} +2 -2
  413. package/amd/{useColorScheme-711c1e4b.js.map → useColorScheme-3ffd80c4.js.map} +1 -1
  414. package/amd/useContextMenu-e6b10380.js +1 -1
  415. package/amd/useCssVars-7efb591d.js +2 -0
  416. package/amd/{useCssVars-948d1e7c.js.map → useCssVars-7efb591d.js.map} +1 -1
  417. package/amd/{useCurrentBgColor-40103ccc.js → useCurrentBgColor-44e3f377.js} +2 -2
  418. package/amd/{useCurrentBgColor-40103ccc.js.map → useCurrentBgColor-44e3f377.js.map} +1 -1
  419. package/amd/useCurrentKey-26170e5e.js +2 -0
  420. package/amd/{useCurrentKey-00f81f0b.js.map → useCurrentKey-26170e5e.js.map} +1 -1
  421. package/amd/{useDatatip-d00735e9.js → useDatatip-34fb67d2.js} +2 -2
  422. package/amd/{useDatatip-d00735e9.js.map → useDatatip-34fb67d2.js.map} +1 -1
  423. package/amd/{useDensity-435224bb.js → useDensity-be2ff874.js} +2 -2
  424. package/amd/{useDensity-435224bb.js.map → useDensity-be2ff874.js.map} +1 -1
  425. package/amd/{useFloating-bbd3396b.js → useFloating-30975c41.js} +2 -2
  426. package/amd/{useFloating-bbd3396b.js.map → useFloating-30975c41.js.map} +1 -1
  427. package/amd/useKeyboardEvents-57008a1d.js +2 -0
  428. package/amd/{useKeyboardEvents-e9a2b72b.js.map → useKeyboardEvents-57008a1d.js.map} +1 -1
  429. package/amd/useLegendContextMenu-5b1ca75b.js +1 -1
  430. package/amd/{useMeterDatatip-60af9281.js → useMeterDatatip-1a3890aa.js} +2 -2
  431. package/amd/{useMeterDatatip-60af9281.js.map → useMeterDatatip-1a3890aa.js.map} +1 -1
  432. package/amd/{useOutsideClick-4519a64e.js → useOutsideClick-90052c27.js} +2 -2
  433. package/amd/{useOutsideClick-4519a64e.js.map → useOutsideClick-90052c27.js.map} +1 -1
  434. package/amd/{usePopupAnimation-273054a0.js → usePopupAnimation-a0193874.js} +2 -2
  435. package/amd/{usePopupAnimation-273054a0.js.map → usePopupAnimation-a0193874.js.map} +1 -1
  436. package/amd/usePrefixSuffix-da47e340.js +2 -0
  437. package/amd/{usePrefixSuffix-6ad5569e.js.map → usePrefixSuffix-da47e340.js.map} +1 -1
  438. package/amd/useReorderableItem-d977f935.js +1 -1
  439. package/amd/{useRovingTabIndexContainer-12784fca.js → useRovingTabIndexContainer-079ed64f.js} +2 -2
  440. package/amd/{useRovingTabIndexContainer-12784fca.js.map → useRovingTabIndexContainer-079ed64f.js.map} +1 -1
  441. package/amd/{useScale-e6b83382.js → useScale-fe3420c6.js} +2 -2
  442. package/amd/{useScale-e6b83382.js.map → useScale-fe3420c6.js.map} +1 -1
  443. package/amd/{useSelectCommon-cbb310df.js → useSelectCommon-8657b927.js} +2 -2
  444. package/amd/{useSelectCommon-cbb310df.js.map → useSelectCommon-8657b927.js.map} +1 -1
  445. package/amd/{useSelectDrill-f2ae347c.js → useSelectDrill-f69d15aa.js} +2 -2
  446. package/amd/{useSelectDrill-f2ae347c.js.map → useSelectDrill-f69d15aa.js.map} +1 -1
  447. package/amd/useSelection-2c9ff75a.js +2 -0
  448. package/amd/{useSelection-f1d96ce9.js.map → useSelection-2c9ff75a.js.map} +1 -1
  449. package/amd/useSelection-91c04393.js +2 -0
  450. package/amd/{useSelection-0440840d.js.map → useSelection-91c04393.js.map} +1 -1
  451. package/amd/{useTabBar-451e6953.js → useTabBar-254fbf75.js} +2 -2
  452. package/amd/{useTabBar-451e6953.js.map → useTabBar-254fbf75.js.map} +1 -1
  453. package/amd/{useTestId-82cf22a4.js → useTestId-f3b8b319.js} +2 -2
  454. package/amd/{useTestId-82cf22a4.js.map → useTestId-f3b8b319.js.map} +1 -1
  455. package/amd/{useTheme-1941efb7.js → useTheme-45e3b0b3.js} +2 -2
  456. package/amd/{useTheme-1941efb7.js.map → useTheme-45e3b0b3.js.map} +1 -1
  457. package/amd/useThemeInterpolations-1f5fd8f3.js +2 -0
  458. package/amd/{useThemeInterpolations-41cbd433.js.map → useThemeInterpolations-1f5fd8f3.js.map} +1 -1
  459. package/amd/useTooltip-e965a559.js +2 -0
  460. package/amd/{useTooltip-d28e9b0f.js.map → useTooltip-e965a559.js.map} +1 -1
  461. package/amd/{useTooltipControlled-abf886f2.js → useTooltipControlled-18271c7a.js} +2 -2
  462. package/amd/{useTooltipControlled-abf886f2.js.map → useTooltipControlled-18271c7a.js.map} +1 -1
  463. package/amd/{useTranslationBundle-6ef0dab6.js → useTranslationBundle-20bfc0f3.js} +2 -2
  464. package/amd/{useTranslationBundle-6ef0dab6.js.map → useTranslationBundle-20bfc0f3.js.map} +1 -1
  465. package/amd/{useUser-6dd85af9.js → useUser-9b166ca3.js} +2 -2
  466. package/amd/{useUser-6dd85af9.js.map → useUser-9b166ca3.js.map} +1 -1
  467. package/amd/{useVisEvents-75dbf576.js → useVisEvents-ac97d087.js} +2 -2
  468. package/amd/{useVisEvents-75dbf576.js.map → useVisEvents-ac97d087.js.map} +1 -1
  469. package/amd/utils/PRIVATE_visTestUtils.js +1 -1
  470. package/amd/{withDirectionIcon-c0ee0f7e.js → withDirectionIcon-9e4dae53.js} +2 -2
  471. package/amd/{withDirectionIcon-c0ee0f7e.js.map → withDirectionIcon-9e4dae53.js.map} +1 -1
  472. package/cjs/{BarChart-11c56b6a.js → BarChart-acda079d.js} +2 -2
  473. package/cjs/{BarChart-11c56b6a.js.map → BarChart-acda079d.js.map} +1 -1
  474. package/cjs/{Chart-6684fa6d.js → Chart-c55ecfa4.js} +2 -2
  475. package/cjs/{Chart-6684fa6d.js.map → Chart-c55ecfa4.js.map} +1 -1
  476. package/cjs/CheckboxSetContext-c62db26d.js +12 -0
  477. package/cjs/CheckboxSetContext-c62db26d.js.map +1 -0
  478. package/cjs/{InputDatePicker-91be7790.js → InputDatePicker-71754f1c.js} +4 -3
  479. package/cjs/{InputDatePicker-91be7790.js.map → InputDatePicker-71754f1c.js.map} +1 -1
  480. package/cjs/{LineAreaChart-e8165e93.js → LineAreaChart-5353ed1f.js} +2 -2
  481. package/cjs/{LineAreaChart-e8165e93.js.map → LineAreaChart-5353ed1f.js.map} +1 -1
  482. package/cjs/MaxLengthCounter-a5370f66.js +27 -0
  483. package/cjs/MaxLengthCounter-a5370f66.js.map +1 -0
  484. package/cjs/{OverflowTabBarItem-c0a592fd.js → OverflowTabBarItem-1fe49f16.js} +2 -2
  485. package/cjs/{OverflowTabBarItem-c0a592fd.js.map → OverflowTabBarItem-1fe49f16.js.map} +1 -1
  486. package/cjs/PRIVATE_Chart.js +4 -4
  487. package/cjs/{ReorderableTabBar-5743c66a.js → ReorderableTabBar-30351716.js} +2 -2
  488. package/cjs/{ReorderableTabBar-5743c66a.js.map → ReorderableTabBar-30351716.js.map} +1 -1
  489. package/cjs/{TabBar-73bb6c97.js → TabBar-87b790cc.js} +1 -6
  490. package/cjs/{TabBar-73bb6c97.js.map → TabBar-87b790cc.js.map} +1 -1
  491. package/cjs/{TabBarMixed-426fcaf1.js → TabBarMixed-32681e39.js} +1 -6
  492. package/cjs/{TabBarMixed-426fcaf1.js.map → TabBarMixed-32681e39.js.map} +1 -1
  493. package/cjs/{TextArea-aff8b46e.js → TextArea-b2646d51.js} +4 -22
  494. package/cjs/TextArea-b2646d51.js.map +1 -0
  495. package/cjs/{TextAreaAutosize-c12ae7e7.js → TextAreaAutosize-d8cad6ce.js} +3 -3
  496. package/cjs/{TextAreaAutosize-c12ae7e7.js.map → TextAreaAutosize-d8cad6ce.js.map} +1 -1
  497. package/cjs/Theme-redwood/theme.css +249 -249
  498. package/cjs/Theme-stable/theme.css +345 -345
  499. package/cjs/UNSAFE_BarChart/__test__/BarChart.spec.js +5 -5
  500. package/cjs/UNSAFE_BarChart.js +5 -5
  501. package/cjs/UNSAFE_CheckboxItem.js +30 -80
  502. package/cjs/UNSAFE_CheckboxItem.js.map +1 -1
  503. package/cjs/UNSAFE_CheckboxSet.js +44 -15
  504. package/cjs/UNSAFE_CheckboxSet.js.map +1 -1
  505. package/cjs/UNSAFE_InputDatePicker.js +87 -86
  506. package/cjs/UNSAFE_InputDatePicker.js.map +1 -1
  507. package/cjs/UNSAFE_LineAreaChart/__test__/LineChart.spec.js +5 -5
  508. package/cjs/UNSAFE_LineAreaChart.js +5 -5
  509. package/cjs/UNSAFE_OverflowTabBar.js +15 -15
  510. package/cjs/UNSAFE_ReorderableTabBar.js +8 -10
  511. package/cjs/UNSAFE_ReorderableTabBar.js.map +1 -1
  512. package/cjs/UNSAFE_TabBar.js +15 -15
  513. package/cjs/UNSAFE_TabBarCommon.js +15 -15
  514. package/cjs/UNSAFE_TabBarMixed.js +15 -15
  515. package/cjs/UNSAFE_TextArea.js +4 -3
  516. package/cjs/UNSAFE_TextArea.js.map +1 -1
  517. package/cjs/UNSAFE_TextAreaAutosize.js +2 -2
  518. package/cjs/dropdownStyles.styles.css +90 -5
  519. package/cjs/dropdownStyles.styles2.css +5 -90
  520. package/cjs/hooks/UNSAFE_useContainerBreakpointValues.js +1 -1
  521. package/es/ActionCard-623c6191.js +1 -1
  522. package/es/{BarChart-72948598.js → BarChart-c8f78f4b.js} +4 -4
  523. package/es/{BarChart-72948598.js.map → BarChart-c8f78f4b.js.map} +1 -1
  524. package/es/BaseButton-5b2791b1.js +2 -2
  525. package/es/{BaseCardView-59efba85.js → BaseCardView-57f41dae.js} +8 -8
  526. package/es/{BaseCardView-59efba85.js.map → BaseCardView-57f41dae.js.map} +1 -1
  527. package/es/{BaseCardViewSelectionTest-ab83a0b0.js → BaseCardViewSelectionTest-6796b2b4.js} +6 -6
  528. package/es/{BaseCardViewSelectionTest-ab83a0b0.js.map → BaseCardViewSelectionTest-6796b2b4.js.map} +1 -1
  529. package/es/BaseNavigationListItem-3a377d46.js +1 -1
  530. package/es/ButtonSet-fa7e8acd.js +2 -2
  531. package/es/ButtonSetIconButton-c5860cc1.js +2 -2
  532. package/es/{CardFlexView-71c79a88.js → CardFlexView-dcae4508.js} +2 -2
  533. package/es/{CardFlexView-71c79a88.js.map → CardFlexView-dcae4508.js.map} +1 -1
  534. package/es/{CardGridView-490c849a.js → CardGridView-8026b398.js} +2 -2
  535. package/es/{CardGridView-490c849a.js.map → CardGridView-8026b398.js.map} +1 -1
  536. package/es/{Center-58d4b406.js → Center-2ffc1dcc.js} +2 -2
  537. package/es/{Center-58d4b406.js.map → Center-2ffc1dcc.js.map} +1 -1
  538. package/es/{Chart-304043b3.js → Chart-793bd008.js} +11 -11
  539. package/es/{Chart-304043b3.js.map → Chart-793bd008.js.map} +1 -1
  540. package/es/CheckboxControl-7174e0b2.js +6 -6
  541. package/es/CheckboxRadioField-c7c4643e.js +5 -5
  542. package/es/Chip-2c86a76f.js +1 -1
  543. package/es/ClearIcon-f1f796b4.js +1 -1
  544. package/es/CollapseIcon-b6d7cfd6.js +1 -1
  545. package/es/Collapsible-4cdc17e3.js +2 -2
  546. package/es/CompactHelpSource-548938ff.js +2 -2
  547. package/es/{CompactLabelAssistance-933d1d68.js → CompactLabelAssistance-fc9478aa.js} +4 -4
  548. package/es/{CompactLabelAssistance-933d1d68.js.map → CompactLabelAssistance-fc9478aa.js.map} +1 -1
  549. package/es/CompactUserAssistance-41c32c6f.js +4 -4
  550. package/es/ComponentMessageContainer-7d9228a3.js +4 -4
  551. package/es/ConveyorBeltItem-3d1d7f3c.js +2 -2
  552. package/es/{DatePicker-e517dad2.js → DatePicker-4356274b.js} +6 -6
  553. package/es/{DatePicker-e517dad2.js.map → DatePicker-4356274b.js.map} +1 -1
  554. package/es/DatePickerHeader-7078d6e8.js +3 -3
  555. package/es/{Diagram-15e246b6.js → Diagram-214e374c.js} +5 -5
  556. package/es/{Diagram-15e246b6.js.map → Diagram-214e374c.js.map} +1 -1
  557. package/es/DirectionalCollapseArrowIcon-0298f5ef.js +1 -1
  558. package/es/DirectionalExpandArrowIcon-cf8fd7a8.js +1 -1
  559. package/es/DragHandle-9514fcdc.js +1 -1
  560. package/es/{Dropdown-2a328b40.js → Dropdown-717319bb.js} +5 -5
  561. package/es/{Dropdown-2a328b40.js.map → Dropdown-717319bb.js.map} +1 -1
  562. package/es/{EnvironmentProvider-6846a7ff.js → EnvironmentProvider-f543a463.js} +3 -3
  563. package/es/{EnvironmentProvider-6846a7ff.js.map → EnvironmentProvider-f543a463.js.map} +1 -1
  564. package/es/FilePicker-d8a0ad3a.js +2 -2
  565. package/es/{Flex-5ff5aa5e.js → Flex-24628925.js} +2 -2
  566. package/es/{Flex-5ff5aa5e.js.map → Flex-24628925.js.map} +1 -1
  567. package/es/{Floating-5b269acc.js → Floating-9703160e.js} +4 -4
  568. package/es/{Floating-5b269acc.js.map → Floating-9703160e.js.map} +1 -1
  569. package/es/FormLayout-ecd0259b.js +1 -1
  570. package/es/Gantt-b21af627.js +9 -9
  571. package/es/{Grid-5d8f712b.js → Grid-cfeac922.js} +2 -2
  572. package/es/{Grid-5d8f712b.js.map → Grid-cfeac922.js.map} +1 -1
  573. package/es/{Gridlines-4b7301e7.js → Gridlines-428bf909.js} +2 -2
  574. package/es/{Gridlines-4b7301e7.js.map → Gridlines-428bf909.js.map} +1 -1
  575. package/es/GroupLoadingIndicator-9c995e99.js +2 -2
  576. package/es/{HighlightText-39781e79.js → HighlightText-180e29f6.js} +2 -2
  577. package/es/{HighlightText-39781e79.js.map → HighlightText-180e29f6.js.map} +1 -1
  578. package/es/Icon-90c3a630.js +2 -2
  579. package/es/IconButton-37310d21.js +2 -2
  580. package/es/IconMenuButton-9fe6cbf9.js +4 -4
  581. package/es/IconSwitchButton-61cabbfe.js +2 -2
  582. package/es/IconToggleButton-f57e5484.js +2 -2
  583. package/es/{IconUserAssistance-744d71a4.js → IconUserAssistance-c226cb4f.js} +3 -3
  584. package/es/{IconUserAssistance-744d71a4.js.map → IconUserAssistance-c226cb4f.js.map} +1 -1
  585. package/es/{Indexer-a671092c.js → Indexer-656bc3fe.js} +6 -6
  586. package/es/{Indexer-a671092c.js.map → Indexer-656bc3fe.js.map} +1 -1
  587. package/es/InlineHelpSource-b43def76.js +1 -1
  588. package/es/InlineUserAssistance-bb690d93.js +5 -5
  589. package/es/InputDateMask-7386adfe.js +7 -7
  590. package/es/InputDatePicker-7f9852d0.js +8 -8
  591. package/es/InputPassword-1f1f80b3.js +4 -4
  592. package/es/InputText-5fb896e7.js +6 -6
  593. package/es/Label-6674b3f2.js +5 -5
  594. package/es/LabelValueLayout-23b74176.js +1 -1
  595. package/es/{Layer-5d259d3a.js → Layer-9b06412e.js} +3 -3
  596. package/es/{Layer-5d259d3a.js.map → Layer-9b06412e.js.map} +1 -1
  597. package/es/{LayerHost-aaed41a1.js → LayerHost-45f545d7.js} +2 -2
  598. package/es/{LayerHost-aaed41a1.js.map → LayerHost-45f545d7.js.map} +1 -1
  599. package/es/{LayerManager-87beee1e.js → LayerManager-625d2503.js} +2 -2
  600. package/es/{LayerManager-87beee1e.js.map → LayerManager-625d2503.js.map} +1 -1
  601. package/es/Legend-98a79c12.js +3 -3
  602. package/es/{LineAreaChart-09df0269.js → LineAreaChart-413e0043.js} +4 -4
  603. package/es/{LineAreaChart-09df0269.js.map → LineAreaChart-413e0043.js.map} +1 -1
  604. package/es/Link-bfa35319.js +1 -1
  605. package/es/{List-9026206d.js → List-4ee3c951.js} +8 -9
  606. package/es/{List-9026206d.js.map → List-4ee3c951.js.map} +1 -1
  607. package/es/{ListItemLayout-961c8443.js → ListItemLayout-695ec1a5.js} +2 -2
  608. package/es/{ListItemLayout-961c8443.js.map → ListItemLayout-695ec1a5.js.map} +1 -1
  609. package/es/{ListView-c508c3a4.js → ListView-3343354b.js} +5 -5
  610. package/es/{ListView-c508c3a4.js.map → ListView-3343354b.js.map} +1 -1
  611. package/es/{LiveRegion-4646cd7d.js → LiveRegion-81216fe6.js} +2 -2
  612. package/es/{LiveRegion-4646cd7d.js.map → LiveRegion-81216fe6.js.map} +1 -1
  613. package/es/{LoadMoreCollection-95a49d2a.js → LoadMoreCollection-7df1be36.js} +2 -2
  614. package/es/{LoadMoreCollection-95a49d2a.js.map → LoadMoreCollection-7df1be36.js.map} +1 -1
  615. package/es/{MaxLengthLiveRegion-1278e638.js → MaxLengthLiveRegion-cd15b075.js} +3 -3
  616. package/es/{MaxLengthLiveRegion-1278e638.js.map → MaxLengthLiveRegion-cd15b075.js.map} +1 -1
  617. package/es/{Menu-b0c28cfd.js → Menu-c7ab8412.js} +8 -8
  618. package/es/{Menu-b0c28cfd.js.map → Menu-c7ab8412.js.map} +1 -1
  619. package/es/MenuButton-39563941.js +3 -3
  620. package/es/MenuItem-a8f9c954.js +1 -1
  621. package/es/Message-be36b84a.js +2 -2
  622. package/es/{MessageLayer-322485df.js → MessageLayer-0946d6b7.js} +6 -6
  623. package/es/{MessageLayer-322485df.js.map → MessageLayer-0946d6b7.js.map} +1 -1
  624. package/es/MessageToast-2fa3c9d4.js +8 -8
  625. package/es/MessagesManager-0d60fea1.js +3 -3
  626. package/es/MeterBar-bdd7f9da.js +4 -4
  627. package/es/MeterCircle-fd10f18b.js +4 -4
  628. package/es/{Modal-986872f3.js → Modal-6b11d8cb.js} +3 -3
  629. package/es/{Modal-986872f3.js.map → Modal-6b11d8cb.js.map} +1 -1
  630. package/es/{MonthView-99cc26ac.js → MonthView-cc017afe.js} +4 -4
  631. package/es/{MonthView-99cc26ac.js.map → MonthView-cc017afe.js.map} +1 -1
  632. package/es/NavigationListItem-ea899fab.js +5 -5
  633. package/es/NumberInputText-21ded33a.js +6 -6
  634. package/es/OverflowTabBarItem-8f35961d.js +3 -3
  635. package/es/PRIVATE_BaseCardView.js +22 -22
  636. package/es/PRIVATE_Chart.js +33 -33
  637. package/es/PRIVATE_CheckboxControl.js +21 -21
  638. package/es/PRIVATE_CheckboxRadioField.js +22 -22
  639. package/es/PRIVATE_ClearIcon.js +16 -16
  640. package/es/PRIVATE_DatePickerHeader.js +18 -18
  641. package/es/PRIVATE_DatePickerLayout.js +4 -4
  642. package/es/PRIVATE_EmbeddedIconButton.js +3 -3
  643. package/es/PRIVATE_FormControls.js +19 -19
  644. package/es/PRIVATE_IconSwitchButton.js +14 -14
  645. package/es/PRIVATE_Icons/CheckboxMixed.js +14 -14
  646. package/es/PRIVATE_Icons/CheckboxOff.js +14 -14
  647. package/es/PRIVATE_Icons/CheckboxOn.js +14 -14
  648. package/es/PRIVATE_Icons/RadiobuttonOff.js +14 -14
  649. package/es/PRIVATE_Icons/RadiobuttonOn.js +14 -14
  650. package/es/PRIVATE_Icons/WarningS.js +14 -14
  651. package/es/PRIVATE_List.js +22 -22
  652. package/es/PRIVATE_LoadMoreCollection.js +2 -2
  653. package/es/PRIVATE_Message.js +17 -17
  654. package/es/PRIVATE_MessageLayer.js +11 -11
  655. package/es/PRIVATE_MonthView.js +7 -7
  656. package/es/PRIVATE_MonthYearGridView.js +7 -7
  657. package/es/PRIVATE_PlotArea.js +4 -4
  658. package/es/PRIVATE_RevealToggleIcon.js +15 -15
  659. package/es/PRIVATE_SelectCommon.js +31 -31
  660. package/es/PRIVATE_StyledCheckbox.js +14 -14
  661. package/es/PRIVATE_Table.js +19 -19
  662. package/es/PRIVATE_ThemedIcons/CalendarIcon.js +14 -14
  663. package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +14 -14
  664. package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +14 -14
  665. package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +14 -14
  666. package/es/PRIVATE_ThemedIcons/CheckIcon.js +14 -14
  667. package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +14 -14
  668. package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +14 -14
  669. package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +14 -14
  670. package/es/PRIVATE_ThemedIcons/CloseIcon.js +14 -14
  671. package/es/PRIVATE_ThemedIcons/CollapseIcon.js +15 -15
  672. package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +14 -14
  673. package/es/PRIVATE_ThemedIcons/DecrementIcon.js +14 -14
  674. package/es/PRIVATE_ThemedIcons/DeleteIcon.js +14 -14
  675. package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +15 -15
  676. package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +15 -15
  677. package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +14 -14
  678. package/es/PRIVATE_ThemedIcons/ExpandIcon.js +14 -14
  679. package/es/PRIVATE_ThemedIcons/HelpIcon.js +14 -14
  680. package/es/PRIVATE_ThemedIcons/IncrementIcon.js +14 -14
  681. package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +14 -14
  682. package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +14 -14
  683. package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +14 -14
  684. package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +14 -14
  685. package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +14 -14
  686. package/es/PRIVATE_ThemedIcons/MinusIcon.js +14 -14
  687. package/es/PRIVATE_ThemedIcons/NavDownIcon.js +14 -14
  688. package/es/PRIVATE_ThemedIcons/PlusIcon.js +14 -14
  689. package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +14 -14
  690. package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +14 -14
  691. package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +14 -14
  692. package/es/PRIVATE_ThemedIcons/SortDefaultIcon.js +14 -14
  693. package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +14 -14
  694. package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +14 -14
  695. package/es/PRIVATE_ThemedIcons/ViewIcon.js +14 -14
  696. package/es/PRIVATE_TimeComponent.js +17 -17
  697. package/es/PRIVATE_VirtualizedCollection.js +2 -2
  698. package/es/PRIVATE_VisTabularDatatip.js +4 -4
  699. package/es/PictoChart-20c9a0c2.js +6 -6
  700. package/es/{PieChart-e41e3463.js → PieChart-f349498b.js} +5 -5
  701. package/es/{PieChart-e41e3463.js.map → PieChart-f349498b.js.map} +1 -1
  702. package/es/{Popup-6288438d.js → Popup-8889a781.js} +9 -9
  703. package/es/{Popup-6288438d.js.map → Popup-8889a781.js.map} +1 -1
  704. package/es/{ProgressBar-ed0c5ba0.js → ProgressBar-afafe39a.js} +3 -3
  705. package/es/{ProgressBar-ed0c5ba0.js.map → ProgressBar-afafe39a.js.map} +1 -1
  706. package/es/{ProgressCircle-95a70910.js → ProgressCircle-fa5866a3.js} +2 -2
  707. package/es/{ProgressCircle-95a70910.js.map → ProgressCircle-fa5866a3.js.map} +1 -1
  708. package/es/RadioItem-e5b1f50b.js +6 -6
  709. package/es/RatingGauge-4d8a68df.js +7 -7
  710. package/es/ReadonlyTextFieldInput-4392c7aa.js +1 -1
  711. package/es/ReadonlyTextFieldVariants.styles.css +14 -14
  712. package/es/ReadonlyTextFieldVariants.styles2.css +14 -14
  713. package/es/RemovableNavigationListItem-4c86bec8.js +1 -1
  714. package/es/RemovableTabBarItem-217d4a0b.js +2 -2
  715. package/es/ReorderableTabBar-84640a66.js +2 -2
  716. package/es/RevealToggleIcon-9236963e.js +1 -1
  717. package/es/SectionalLegend-6ffb4255.js +4 -4
  718. package/es/{SectionedContent-13d72f4b.js → SectionedContent-815e377a.js} +5 -5
  719. package/es/{SectionedContent-13d72f4b.js.map → SectionedContent-815e377a.js.map} +1 -1
  720. package/es/{SelectMultiple-fd3ea6f8.js → SelectMultiple-c5513e08.js} +10 -10
  721. package/es/{SelectMultiple-fd3ea6f8.js.map → SelectMultiple-c5513e08.js.map} +1 -1
  722. package/es/{SelectSingle-8a8d1f5e.js → SelectSingle-003f824f.js} +9 -9
  723. package/es/{SelectSingle-8a8d1f5e.js.map → SelectSingle-003f824f.js.map} +1 -1
  724. package/es/{SelectionCard-8496e467.js → SelectionCard-79044c5f.js} +2 -2
  725. package/es/{SelectionCard-8496e467.js.map → SelectionCard-79044c5f.js.map} +1 -1
  726. package/es/Selector-e56a73a8.js +1 -1
  727. package/es/SelectorAll-6f080f88.js +5 -5
  728. package/es/{Sheet-8914df23.js → Sheet-e4121f4a.js} +3 -3
  729. package/es/{Sheet-8914df23.js.map → Sheet-e4121f4a.js.map} +1 -1
  730. package/es/SplitMenuButton-79bdfe96.js +3 -3
  731. package/es/StyledTextField-c79f5438.js +3 -3
  732. package/es/Submenu-8b3fa593.js +1 -1
  733. package/es/TabBar-e39e8dbd.js +6 -6
  734. package/es/TabBarItem-c681fa07.js +3 -3
  735. package/es/TabBarLayout-a0d89ec4.js +1 -1
  736. package/es/TabBarMixed-3658d3d2.js +6 -6
  737. package/es/{TabBarMixedSeparator-da2254c9.js → TabBarMixedSeparator-8ab78880.js} +2 -2
  738. package/es/{TabBarMixedSeparator-da2254c9.js.map → TabBarMixedSeparator-8ab78880.js.map} +1 -1
  739. package/es/{Table-e3ef68ad.js → Table-5f50b12d.js} +5 -5
  740. package/es/{Table-e3ef68ad.js.map → Table-5f50b12d.js.map} +1 -1
  741. package/es/{TableView-321b1fdf.js → TableView-8df2f099.js} +2 -2
  742. package/es/{TableView-321b1fdf.js.map → TableView-8df2f099.js.map} +1 -1
  743. package/es/TagCloud-78991c29.js +9 -9
  744. package/es/{TextArea-d97aac1f.js → TextArea-979496a0.js} +30 -13
  745. package/{amd/TextArea-2c7af40c.js.map → es/TextArea-979496a0.js.map} +1 -1
  746. package/es/{TextAreaAutosize-68a4786d.js → TextAreaAutosize-b73aaa2f.js} +7 -7
  747. package/es/{TextAreaAutosize-68a4786d.js.map → TextAreaAutosize-b73aaa2f.js.map} +1 -1
  748. package/es/TextField-323fe0e9.js +3 -3
  749. package/es/TextFieldInput-3c39cb7b.js +1 -1
  750. package/es/Theme-redwood/theme.css +481 -481
  751. package/es/Theme-stable/theme.css +499 -499
  752. package/es/TimeComponentCanvas2D-c2ab38ba.js +4 -4
  753. package/es/Toolbar-f0e57a9d.js +1 -1
  754. package/es/TruncatingBadge-084c6682.js +2 -2
  755. package/es/TruncatingText-780cbb19.js +2 -2
  756. package/es/UNSAFE_ActionCard.js +2 -2
  757. package/es/UNSAFE_BarChart/__test__/BarChart.spec.js +34 -34
  758. package/es/UNSAFE_BarChart.js +34 -34
  759. package/es/UNSAFE_BaseButton.js +3 -3
  760. package/es/UNSAFE_Button.js +3 -3
  761. package/es/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +18 -18
  762. package/es/UNSAFE_ButtonSet.js +4 -4
  763. package/es/UNSAFE_ButtonSetButton.js +3 -3
  764. package/es/UNSAFE_ButtonSetIconButton.js +14 -14
  765. package/es/UNSAFE_ButtonSetItem.js +14 -14
  766. package/es/UNSAFE_ButtonSetMultiple.js +4 -4
  767. package/es/UNSAFE_ButtonSetSingle.js +4 -4
  768. package/es/UNSAFE_CardFlexView.js +23 -23
  769. package/es/UNSAFE_CardGridView.js +23 -23
  770. package/es/UNSAFE_Center.js +5 -5
  771. package/es/UNSAFE_ChartWithLegend.js +4 -4
  772. package/es/UNSAFE_Checkbox.js +21 -21
  773. package/es/UNSAFE_CheckboxItem.js +22 -22
  774. package/es/UNSAFE_CheckboxSet.js +21 -21
  775. package/es/UNSAFE_Chip.js +2 -2
  776. package/es/UNSAFE_Collapsible.js +16 -16
  777. package/es/UNSAFE_ComponentMessage.js +17 -17
  778. package/es/UNSAFE_ConveyorBelt.js +14 -14
  779. package/es/UNSAFE_DatePicker.js +23 -23
  780. package/es/UNSAFE_Diagram.js +15 -15
  781. package/es/UNSAFE_Dialog.js +9 -9
  782. package/es/UNSAFE_DragHandle.js +15 -15
  783. package/es/UNSAFE_DrawerLayout.js +11 -11
  784. package/es/UNSAFE_DrawerPopup.js +10 -10
  785. package/es/UNSAFE_Dropdown.js +12 -12
  786. package/es/UNSAFE_Environment.js +4 -4
  787. package/es/UNSAFE_ExpandableList.js +24 -24
  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 +21 -21
  793. package/es/UNSAFE_Grid.js +4 -4
  794. package/es/UNSAFE_HighlightText.js +4 -4
  795. package/es/UNSAFE_Icon.js +14 -14
  796. package/es/UNSAFE_IconButton.js +14 -14
  797. package/es/UNSAFE_IconMenuButton.js +18 -18
  798. package/es/UNSAFE_IconToggleButton.js +14 -14
  799. package/es/UNSAFE_Indexer.js +8 -8
  800. package/es/UNSAFE_InputDateMask.js +23 -23
  801. package/es/UNSAFE_InputDatePicker.js +32 -32
  802. package/es/UNSAFE_InputPassword.js +22 -22
  803. package/es/UNSAFE_InputSensitiveText.js +24 -24
  804. package/es/UNSAFE_InputText.js +25 -25
  805. package/es/UNSAFE_Label.js +21 -21
  806. package/es/UNSAFE_LabelValueLayout.js +4 -4
  807. package/es/UNSAFE_LabelledLink.js +24 -24
  808. package/es/UNSAFE_Layer.js +7 -7
  809. package/es/UNSAFE_Legend.js +22 -22
  810. package/es/UNSAFE_LineAreaChart/__test__/LineChart.spec.js +33 -33
  811. package/es/UNSAFE_LineAreaChart.js +34 -34
  812. package/es/UNSAFE_Link.js +2 -2
  813. package/es/UNSAFE_ListItemLayout.js +5 -5
  814. package/es/UNSAFE_ListView.js +29 -29
  815. package/es/UNSAFE_LiveRegion.js +4 -4
  816. package/es/UNSAFE_Menu.js +20 -20
  817. package/es/UNSAFE_MenuButton.js +18 -18
  818. package/es/UNSAFE_MessageBanner.js +17 -17
  819. package/es/UNSAFE_MessageToast.js +20 -20
  820. package/es/UNSAFE_MeterBar.js +14 -14
  821. package/es/UNSAFE_MeterCircle.js +14 -14
  822. package/es/UNSAFE_Modal.js +7 -7
  823. package/es/UNSAFE_NavigationList.js +18 -18
  824. package/es/UNSAFE_NavigationListCommon.js +16 -16
  825. package/es/UNSAFE_NumberInputText.js +24 -24
  826. package/es/UNSAFE_OverflowTabBar.js +23 -23
  827. package/es/UNSAFE_PictoChart.js +13 -13
  828. package/es/UNSAFE_PieChart/__test__/PieChart.spec.js +14 -14
  829. package/es/UNSAFE_PieChart.js +14 -14
  830. package/es/UNSAFE_Popup.js +15 -15
  831. package/es/UNSAFE_ProgressBar.js +5 -5
  832. package/es/UNSAFE_ProgressCircle.js +4 -4
  833. package/es/UNSAFE_RadioItem.js +21 -21
  834. package/es/UNSAFE_RadioSet.js +21 -21
  835. package/es/UNSAFE_RatingGauge.js +15 -15
  836. package/es/UNSAFE_ReorderableTabBar.js +21 -21
  837. package/es/UNSAFE_SectionalLegend.js +23 -23
  838. package/es/UNSAFE_SelectMultiple.js +36 -36
  839. package/es/UNSAFE_SelectSingle.js +36 -36
  840. package/es/UNSAFE_SelectionCard.js +4 -4
  841. package/es/UNSAFE_Selector.js +14 -14
  842. package/es/UNSAFE_SelectorAll.js +17 -17
  843. package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +13 -13
  844. package/es/UNSAFE_Sheet.js +10 -10
  845. package/es/UNSAFE_SplitMenuButton.js +18 -18
  846. package/es/UNSAFE_TabBar.js +24 -24
  847. package/es/UNSAFE_TabBarCommon.js +23 -23
  848. package/es/UNSAFE_TabBarMixed.js +27 -27
  849. package/es/UNSAFE_TableView.js +20 -20
  850. package/es/UNSAFE_TagCloud.js +22 -22
  851. package/es/UNSAFE_TextArea.js +26 -27
  852. package/es/UNSAFE_TextArea.js.map +1 -1
  853. package/es/UNSAFE_TextAreaAutosize.js +26 -26
  854. package/es/UNSAFE_TextField/themes/redwood/ReadonlyTextFieldTheme.js +1 -1
  855. package/es/UNSAFE_TextField/themes/redwood/ReadonlyTextFieldVariants.css.js +1 -1
  856. package/es/UNSAFE_TextField/themes/stable/ReadonlyTextFieldTheme.js +1 -1
  857. package/es/UNSAFE_TextField/themes/stable/ReadonlyTextFieldVariants.css.js +1 -1
  858. package/es/UNSAFE_TextField.js +8 -8
  859. package/es/UNSAFE_ToggleButton.js +3 -3
  860. package/es/UNSAFE_Toolbar/tests/Toolbar.spec.js +20 -20
  861. package/es/UNSAFE_Toolbar.js +4 -4
  862. package/es/UNSAFE_Train.js +15 -15
  863. package/es/UNSAFE_TruncatingBadge.js +15 -15
  864. package/es/UNSAFE_TruncatingText.js +15 -15
  865. package/es/UNSAFE_UserAssistance.js +22 -22
  866. package/es/UNSAFE_View.js +7 -7
  867. package/es/UNSAFE_VirtualizedListView.js +23 -23
  868. package/es/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +8 -8
  869. package/es/UNSAFE_VisProgressiveLoader.js +6 -6
  870. package/es/UNSAFE_VisStatusMessage.js +6 -6
  871. package/es/UNSAFE_WindowOverlay.js +4 -4
  872. package/es/{View-4dc6ce42.js → View-6013acac.js} +5 -5
  873. package/es/{View-4dc6ce42.js.map → View-6013acac.js.map} +1 -1
  874. package/es/{VirtualizedCollection-e73890a1.js → VirtualizedCollection-f048fbb8.js} +2 -2
  875. package/es/{VirtualizedCollection-e73890a1.js.map → VirtualizedCollection-f048fbb8.js.map} +1 -1
  876. package/es/{VirtualizedListView-1900c71e.js → VirtualizedListView-fe4bc84a.js} +2 -2
  877. package/es/{VirtualizedListView-1900c71e.js.map → VirtualizedListView-fe4bc84a.js.map} +1 -1
  878. package/es/{VisNoData-c69e8f5e.js → VisNoData-8593beaa.js} +3 -3
  879. package/es/{VisNoData-c69e8f5e.js.map → VisNoData-8593beaa.js.map} +1 -1
  880. package/es/{VisProgressiveLoader-cc1ab7cc.js → VisProgressiveLoader-0d9a0dd0.js} +3 -3
  881. package/es/{VisProgressiveLoader-cc1ab7cc.js.map → VisProgressiveLoader-0d9a0dd0.js.map} +1 -1
  882. package/es/{VisTabularDatatip-418525b0.js → VisTabularDatatip-1f16ca1f.js} +2 -2
  883. package/es/{VisTabularDatatip-418525b0.js.map → VisTabularDatatip-1f16ca1f.js.map} +1 -1
  884. package/es/{WindowOverlay-88b63ede.js → WindowOverlay-e14f8324.js} +2 -2
  885. package/es/{WindowOverlay-88b63ede.js.map → WindowOverlay-e14f8324.js.map} +1 -1
  886. package/es/{YearsGridView-76892288.js → YearsGridView-165e5eec.js} +4 -4
  887. package/es/{YearsGridView-76892288.js.map → YearsGridView-165e5eec.js.map} +1 -1
  888. package/es/hoc/PRIVATE_withDirectionIcon.js +4 -4
  889. package/es/hoc/PRIVATE_withThemeIcon.js +3 -3
  890. package/es/hoc/UNSAFE_withThemeProps.js +3 -3
  891. package/es/hooks/PRIVATE_useChartContextMenu.js +18 -18
  892. package/es/hooks/PRIVATE_useChartDatatip.js +13 -13
  893. package/es/hooks/PRIVATE_useChartEvents.js +17 -17
  894. package/es/hooks/PRIVATE_useChartMarquee.js +16 -16
  895. package/es/hooks/PRIVATE_useCssVars.js +7 -7
  896. package/es/hooks/PRIVATE_useCurrentKey.js +4 -4
  897. package/es/hooks/PRIVATE_useDatatip.js +11 -11
  898. package/es/hooks/PRIVATE_useFloating.js +4 -4
  899. package/es/hooks/PRIVATE_useReorderable.js +4 -4
  900. package/es/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
  901. package/es/hooks/PRIVATE_useSelection.js +4 -4
  902. package/es/hooks/PRIVATE_useTabBar.js +5 -5
  903. package/es/hooks/PRIVATE_useVisContextMenu.js +18 -18
  904. package/es/hooks/PRIVATE_useVisEvents.js +4 -4
  905. package/es/hooks/PRIVATE_useVisMeterEvents.js +13 -13
  906. package/es/hooks/PRIVATE_useVisSelection.js +12 -12
  907. package/es/hooks/UNSAFE_useColorScheme.js +3 -3
  908. package/es/hooks/UNSAFE_useContainerBreakpointValues.js +1 -1
  909. package/es/hooks/UNSAFE_useCurrentBgColor.js +3 -3
  910. package/es/hooks/UNSAFE_useDensity.js +3 -3
  911. package/es/hooks/UNSAFE_useOutsideClick.js +7 -7
  912. package/es/hooks/UNSAFE_usePrefixSuffix.js +4 -4
  913. package/es/hooks/UNSAFE_useScale.js +3 -3
  914. package/es/hooks/UNSAFE_useTestId.js +3 -3
  915. package/es/hooks/UNSAFE_useTheme.js +3 -3
  916. package/es/hooks/UNSAFE_useThemeInterpolations.js +5 -5
  917. package/es/hooks/UNSAFE_useTooltip.js +15 -15
  918. package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
  919. package/es/hooks/UNSAFE_useUser.js +3 -3
  920. package/es/{index-75f23286.js → index-5f0f1501.js} +2 -2
  921. package/es/index-5f0f1501.js.map +1 -0
  922. package/es/listViewSelectionTests-ebf987d2.js +4 -4
  923. package/es/{render-8e2a09d1.js → render-c90e85c7.js} +3 -3
  924. package/es/{render-8e2a09d1.js.map → render-c90e85c7.js.map} +1 -1
  925. package/es/{tabbableUtils-73a9ba14.js → tabbableUtils-e6193af2.js} +3 -3
  926. package/es/{tabbableUtils-73a9ba14.js.map → tabbableUtils-e6193af2.js.map} +1 -1
  927. package/es/{testData-0aee4d83.js → testData-2998863b.js} +3 -3
  928. package/es/{testData-0aee4d83.js.map → testData-2998863b.js.map} +1 -1
  929. package/es/useCellNavigation-006fbce0.js +1 -1
  930. package/es/useChartContextMenu-0014fc73.js +3 -3
  931. package/es/{useChartDatatip-f7bacd9b.js → useChartDatatip-b6b2b00a.js} +4 -4
  932. package/es/{useChartDatatip-f7bacd9b.js.map → useChartDatatip-b6b2b00a.js.map} +1 -1
  933. package/es/useChartMarquee-38dbb5f9.js +1 -1
  934. package/es/{useColorScheme-bf110202.js → useColorScheme-e1b17324.js} +2 -2
  935. package/es/{useColorScheme-bf110202.js.map → useColorScheme-e1b17324.js.map} +1 -1
  936. package/es/useContextMenu-81db2534.js +3 -3
  937. package/es/{useCssVars-b3bf30fb.js → useCssVars-64d9b696.js} +5 -5
  938. package/es/{useCssVars-b3bf30fb.js.map → useCssVars-64d9b696.js.map} +1 -1
  939. package/es/{useCurrentBgColor-b3ebd7be.js → useCurrentBgColor-d89afadb.js} +2 -2
  940. package/es/{useCurrentBgColor-b3ebd7be.js.map → useCurrentBgColor-d89afadb.js.map} +1 -1
  941. package/es/{useCurrentKey-1f99b0f6.js → useCurrentKey-db7d3bb9.js} +2 -2
  942. package/es/{useCurrentKey-1f99b0f6.js.map → useCurrentKey-db7d3bb9.js.map} +1 -1
  943. package/es/{useDatatip-f9bcaab9.js → useDatatip-7c661980.js} +4 -4
  944. package/es/{useDatatip-f9bcaab9.js.map → useDatatip-7c661980.js.map} +1 -1
  945. package/es/{useDensity-9f6c6bf0.js → useDensity-60cfa748.js} +2 -2
  946. package/es/{useDensity-9f6c6bf0.js.map → useDensity-60cfa748.js.map} +1 -1
  947. package/es/{useFloating-1cca9e4f.js → useFloating-c99976f8.js} +2 -2
  948. package/es/{useFloating-1cca9e4f.js.map → useFloating-c99976f8.js.map} +1 -1
  949. package/es/{useKeyboardEvents-11b26017.js → useKeyboardEvents-102b4feb.js} +2 -2
  950. package/es/{useKeyboardEvents-11b26017.js.map → useKeyboardEvents-102b4feb.js.map} +1 -1
  951. package/es/useLegendContextMenu-d88be99d.js +5 -5
  952. package/es/{useMeterDatatip-7366880d.js → useMeterDatatip-262c0e39.js} +3 -3
  953. package/es/{useMeterDatatip-7366880d.js.map → useMeterDatatip-262c0e39.js.map} +1 -1
  954. package/es/{useOutsideClick-ab98bfa3.js → useOutsideClick-eb8324f6.js} +2 -2
  955. package/es/{useOutsideClick-ab98bfa3.js.map → useOutsideClick-eb8324f6.js.map} +1 -1
  956. package/es/{usePopupAnimation-4969107b.js → usePopupAnimation-4be04290.js} +2 -2
  957. package/es/{usePopupAnimation-4969107b.js.map → usePopupAnimation-4be04290.js.map} +1 -1
  958. package/es/{usePrefixSuffix-a14dacb0.js → usePrefixSuffix-71a410f4.js} +2 -2
  959. package/es/{usePrefixSuffix-a14dacb0.js.map → usePrefixSuffix-71a410f4.js.map} +1 -1
  960. package/es/useReorderableItem-25aa1c34.js +2 -2
  961. package/es/{useRovingTabIndexContainer-91fd85f3.js → useRovingTabIndexContainer-e7926bd6.js} +2 -2
  962. package/es/{useRovingTabIndexContainer-91fd85f3.js.map → useRovingTabIndexContainer-e7926bd6.js.map} +1 -1
  963. package/es/{useScale-42018695.js → useScale-d64a1a28.js} +2 -2
  964. package/es/{useScale-42018695.js.map → useScale-d64a1a28.js.map} +1 -1
  965. package/es/{useSelectCommon-b6d67057.js → useSelectCommon-5f61b9ee.js} +13 -13
  966. package/es/{useSelectCommon-b6d67057.js.map → useSelectCommon-5f61b9ee.js.map} +1 -1
  967. package/es/{useSelectDrill-333650bd.js → useSelectDrill-9ce5bccf.js} +3 -3
  968. package/es/{useSelectDrill-333650bd.js.map → useSelectDrill-9ce5bccf.js.map} +1 -1
  969. package/es/{useSelection-48f572e5.js → useSelection-c12f7802.js} +5 -5
  970. package/es/{useSelection-48f572e5.js.map → useSelection-c12f7802.js.map} +1 -1
  971. package/es/{useSelection-a098b3af.js → useSelection-ce0f9a43.js} +2 -2
  972. package/es/{useSelection-a098b3af.js.map → useSelection-ce0f9a43.js.map} +1 -1
  973. package/es/{useTabBar-4b318196.js → useTabBar-8af19c50.js} +2 -2
  974. package/es/{useTabBar-4b318196.js.map → useTabBar-8af19c50.js.map} +1 -1
  975. package/es/{useTestId-f5aed66c.js → useTestId-adde554c.js} +2 -2
  976. package/es/{useTestId-f5aed66c.js.map → useTestId-adde554c.js.map} +1 -1
  977. package/es/{useTheme-e7ea1253.js → useTheme-1f6035d2.js} +2 -2
  978. package/es/{useTheme-e7ea1253.js.map → useTheme-1f6035d2.js.map} +1 -1
  979. package/es/{useThemeInterpolations-66ce2e56.js → useThemeInterpolations-9bddc683.js} +4 -4
  980. package/es/{useThemeInterpolations-66ce2e56.js.map → useThemeInterpolations-9bddc683.js.map} +1 -1
  981. package/es/{useTooltip-30a4a4fc.js → useTooltip-9dec25b3.js} +2 -2
  982. package/es/{useTooltip-30a4a4fc.js.map → useTooltip-9dec25b3.js.map} +1 -1
  983. package/es/{useTooltipControlled-eafec36e.js → useTooltipControlled-2044f639.js} +8 -8
  984. package/es/{useTooltipControlled-eafec36e.js.map → useTooltipControlled-2044f639.js.map} +1 -1
  985. package/es/{useTranslationBundle-e8a8c4f3.js → useTranslationBundle-cd815e10.js} +2 -2
  986. package/es/{useTranslationBundle-e8a8c4f3.js.map → useTranslationBundle-cd815e10.js.map} +1 -1
  987. package/es/{useUser-fb09e212.js → useUser-99920e02.js} +2 -2
  988. package/es/{useUser-fb09e212.js.map → useUser-99920e02.js.map} +1 -1
  989. package/es/{useVisEvents-e31dcd17.js → useVisEvents-4cfe354c.js} +2 -2
  990. package/es/{useVisEvents-e31dcd17.js.map → useVisEvents-4cfe354c.js.map} +1 -1
  991. package/es/utils/PRIVATE_visTestUtils.js +6 -6
  992. package/es/{withDirectionIcon-6eefb71a.js → withDirectionIcon-f8ff778c.js} +2 -2
  993. package/es/{withDirectionIcon-6eefb71a.js.map → withDirectionIcon-f8ff778c.js.map} +1 -1
  994. package/package.json +2 -2
  995. package/amd/CardFlexView-3e4bd681.js +0 -2
  996. package/amd/CardGridView-8fb55ad7.js +0 -2
  997. package/amd/Center-5f845605.js +0 -2
  998. package/amd/CompactLabelAssistance-91aeaa2e.js +0 -2
  999. package/amd/HighlightText-ad9bc1f8.js +0 -2
  1000. package/amd/Layer-3cc44164.js +0 -2
  1001. package/amd/List-88a7bee6.js +0 -2
  1002. package/amd/ListItemLayout-dba9e24b.js +0 -2
  1003. package/amd/LiveRegion-be6f36d7.js +0 -2
  1004. package/amd/LoadMoreCollection-a6adbc3f.js +0 -2
  1005. package/amd/MaxLengthLiveRegion-23d7e335.js +0 -2
  1006. package/amd/MessageLayer-d2c49999.js +0 -2
  1007. package/amd/NavigationListItem-c96ac144.js +0 -2
  1008. package/amd/RevealToggleIcon-ef89d654.js +0 -2
  1009. package/amd/SectionedContent-655a773a.js +0 -2
  1010. package/amd/SelectionCard-0ecc7773.js +0 -2
  1011. package/amd/TabBarMixedSeparator-10a52b13.js +0 -2
  1012. package/amd/TextArea-2c7af40c.js +0 -2
  1013. package/amd/TextAreaAutosize-9dc5bffe.js +0 -2
  1014. package/amd/VirtualizedListView-0924cf91.js +0 -2
  1015. package/amd/VisNoData-bfb5065e.js +0 -2
  1016. package/amd/index-17fdb080.js.map +0 -1
  1017. package/amd/useCssVars-948d1e7c.js +0 -2
  1018. package/amd/useCurrentKey-00f81f0b.js +0 -2
  1019. package/amd/useKeyboardEvents-e9a2b72b.js +0 -2
  1020. package/amd/usePrefixSuffix-6ad5569e.js +0 -2
  1021. package/amd/useSelection-0440840d.js +0 -2
  1022. package/amd/useSelection-f1d96ce9.js +0 -2
  1023. package/amd/useThemeInterpolations-41cbd433.js +0 -2
  1024. package/amd/useTooltip-d28e9b0f.js +0 -2
  1025. package/cjs/CheckboxSet-13a5c10c.js +0 -53
  1026. package/cjs/CheckboxSet-13a5c10c.js.map +0 -1
  1027. package/cjs/TextArea-aff8b46e.js.map +0 -1
  1028. package/es/MaxLengthCounter-cead2dac.js +0 -25
  1029. package/es/index-75f23286.js.map +0 -1
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/jsx-runtime', '@testing-library/preact', '@testing-library/user-event', './LayerHost-eab40731', './EnvironmentProvider-46d0a245', './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 a=d(t);const u={translations:{"@oracle/oraclejet-preact":s.default},mode:"test"},c=(e,t=u,o)=>{const s={...u,...t},{rerender:d,...a}=n.render(r.jsx(i.RootEnvironmentProvider,{environment:s,children:e}),o);return{rerender:e=>d(r.jsx(i.RootEnvironmentProvider,{environment:s,children:e})),...a}};e.renderAndSetupInEnv=(...e)=>({user:a.default.setup(),...c(...e)}),e.renderInEnv=c}));
2
- //# sourceMappingURL=render-9b32a558.js.map
1
+ define(['exports', 'preact/jsx-runtime', '@testing-library/preact', '@testing-library/user-event', './LayerHost-0a244de8', './EnvironmentProvider-9e71b5c2', './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 a=d(t);const u={translations:{"@oracle/oraclejet-preact":s.default},mode:"test"},c=(e,t=u,o)=>{const s={...u,...t},{rerender:d,...a}=n.render(r.jsx(i.RootEnvironmentProvider,{environment:s,children:e}),o);return{rerender:e=>d(r.jsx(i.RootEnvironmentProvider,{environment:s,children:e})),...a}};e.renderAndSetupInEnv=(...e)=>({user:a.default.setup(),...c(...e)}),e.renderInEnv=c}));
2
+ //# sourceMappingURL=render-6de552e4.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"render-9b32a558.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-6de552e4.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-eab40731', './EnvironmentProvider-46d0a245', './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-5b5b70da.js.map
1
+ define(['require', 'exports', 'preact/jsx-runtime', '@testing-library/preact', './matchTranslationBundle-e243f90d', './LayerHost-0a244de8', './EnvironmentProvider-9e71b5c2', './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-78cc49fd.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabbableUtils-5b5b70da.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-78cc49fd.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-eab40731', './EnvironmentProvider-46d0a245'], (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];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-8e20304d.js.map
1
+ define(['require', 'exports', 'preact/jsx-runtime', '@testing-library/preact', 'chai', './clientHints-030d25aa', './matchTranslationBundle-e243f90d', './LayerHost-0a244de8', './EnvironmentProvider-9e71b5c2'], (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];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-6d873339.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"testData-8e20304d.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] 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,GACjD,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-6d873339.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] 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,GACjD,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,2 +1,2 @@
1
- define(['exports', './TabbableModeContext-a9c97640', './useTabbableMode-dc440317', 'preact/compat', './useUser-6dd85af9'], (function(e,o,a,t,s){"use strict";const c=(e,o)=>"string"==typeof e?e:e[o];e.useCellNavigation=({navigationMap:e,payload:o,onAction:a,onNavigation:n})=>{const{direction:i}=s.useUser(),r=t.useCallback((()=>{a(o)}),[o,a]),l=t.useCallback((a=>{const t=()=>{a.preventDefault(),a.stopPropagation()};if(["Enter","Space"].includes(a.code))return t(),void r();if("KeyT"===a.code&&a.ctrlKey&&a.altKey){const a=e.CtrlAltT;void 0!==a&&(t(),n({direction:c(a,i),...o}))}const{key:s,shiftKey:l}=a;switch(s){case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"ArrowDown":case"End":case"Home":case"PageUp":case"PageDown":const a=!l||"PageUp"!==s&&"PageDown"!==s?s:`Shift${s}`;if(void 0!==e[a]){t();const s=e[a];n({direction:c(s,i),...o})}}}),[i,r,e,n,o]);return{onClick:r,onKeyDown:l}},e.useFocusableCell=({isFocusable:e,isFocused:o})=>{const s=t.useRef(null),{isTabbable:c}=a.useTabbableMode();return t.useLayoutEffect((()=>{e&&o&&s.current?.focus()}),[e,o]),{ref:s,tabIndex:e&&c?0:-1}}}));
1
+ define(['exports', './TabbableModeContext-a9c97640', './useTabbableMode-dc440317', 'preact/compat', './useUser-9b166ca3'], (function(e,o,a,t,s){"use strict";const c=(e,o)=>"string"==typeof e?e:e[o];e.useCellNavigation=({navigationMap:e,payload:o,onAction:a,onNavigation:n})=>{const{direction:i}=s.useUser(),r=t.useCallback((()=>{a(o)}),[o,a]),l=t.useCallback((a=>{const t=()=>{a.preventDefault(),a.stopPropagation()};if(["Enter","Space"].includes(a.code))return t(),void r();if("KeyT"===a.code&&a.ctrlKey&&a.altKey){const a=e.CtrlAltT;void 0!==a&&(t(),n({direction:c(a,i),...o}))}const{key:s,shiftKey:l}=a;switch(s){case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"ArrowDown":case"End":case"Home":case"PageUp":case"PageDown":const a=!l||"PageUp"!==s&&"PageDown"!==s?s:`Shift${s}`;if(void 0!==e[a]){t();const s=e[a];n({direction:c(s,i),...o})}}}),[i,r,e,n,o]);return{onClick:r,onKeyDown:l}},e.useFocusableCell=({isFocusable:e,isFocused:o})=>{const s=t.useRef(null),{isTabbable:c}=a.useTabbableMode();return t.useLayoutEffect((()=>{e&&o&&s.current?.focus()}),[e,o]),{ref:s,tabIndex:e&&c?0:-1}}}));
2
2
  //# sourceMappingURL=useCellNavigation-37e0539a.js.map
@@ -1,2 +1,2 @@
1
- define(['exports', './useContextMenu-e6b10380', 'preact/jsx-runtime', './Menu-51409b28', './MenuItem-644f8619', 'preact/hooks', 'preact', './useTooltipControlled-abf886f2', 'css!./IconStyle.styles.css', './SelectMenuGroupContext-67f24a8f', './logger-0f873e29', './UNSAFE_Separator/themes/SeparatorStyles.css', 'css!./MenuSeparatorStyles.styles.css', 'module', './UNSAFE_Menu/themes/redwood/MenuSeparatorVariants.css', 'preact/compat', './LayerHost-eab40731', './eventsUtils-5d567a9d', './accUtils-1557920a'], (function(e,t,n,o,s,r,a,i,u,d,x,c,p,l,M,f,y,g,m){"use strict";e.useChartContextMenu=({getDataItem:e,focusedItemInfo:n,series:o,groups:s,rootRef:r,xAxisTitle:a,yAxisTitle:i,contextMenuConfig:u,onContextMenuDismissed:d})=>{const{contextMenuProps:x,contextMenuContent:c}=t.useContextMenu({onContextMenuHandler:({gesture:t,target:u})=>{let d;const{context:x}=function(e,t,n,o,s,r,a,i,u){let d,x,c;if("keyboard"===t)x=e.groupIndex,d=e.seriesIndex;else{const e=g.getInfo(r,n);d=e?e.seriesIndex:void 0,x=e?e.groupIndex:void 0}if(void 0!==d&&void 0!==x&&u?.(d,x))c={data:u(d,x),groupIndex:x,seriesIndex:d,type:"item"};else if(void 0!==d)c={data:o[d],type:"series"};else if(void 0!==x)c={data:s[x],type:"xAxisTickLabel"};else{const e=event?.target,n=e?.textContent;c=n&&"keyboard"!==t&&n===a||n===i?{type:"axisTitle",axis:n===a?"x":"y"}:{type:"background"}}return{context:c}}(n,t,u,o,s,r,a,i,e);return"keyboard"===t&&"item"===x.type&&(d=r.current?.querySelector(`[data-oj-series-index="${x?.seriesIndex}"][data-oj-group-index="${x?.groupIndex}"]`)),{context:x,elem:d}},contextMenuOptions:{isDisabled:!u},rootRef:r,contextMenuConfig:u,onContextMenuDismissed:d});return{contextMenuContent:c,contextMenuProps:x}}}));
1
+ define(['exports', './useContextMenu-e6b10380', 'preact/jsx-runtime', './Menu-6a5d7fce', './MenuItem-644f8619', 'preact/hooks', 'preact', './useTooltipControlled-18271c7a', 'css!./IconStyle.styles.css', './SelectMenuGroupContext-67f24a8f', './logger-0f873e29', './UNSAFE_Separator/themes/SeparatorStyles.css', 'css!./MenuSeparatorStyles.styles.css', 'module', './UNSAFE_Menu/themes/redwood/MenuSeparatorVariants.css', 'preact/compat', './LayerHost-0a244de8', './eventsUtils-5d567a9d', './accUtils-1557920a'], (function(e,t,n,o,s,r,a,i,u,d,c,x,p,l,M,f,y,g,m){"use strict";e.useChartContextMenu=({getDataItem:e,focusedItemInfo:n,series:o,groups:s,rootRef:r,xAxisTitle:a,yAxisTitle:i,contextMenuConfig:u,onContextMenuDismissed:d})=>{const{contextMenuProps:c,contextMenuContent:x}=t.useContextMenu({onContextMenuHandler:({gesture:t,target:u})=>{let d;const{context:c}=function(e,t,n,o,s,r,a,i,u){let d,c,x;if("keyboard"===t)c=e.groupIndex,d=e.seriesIndex;else{const e=g.getInfo(r,n);d=e?e.seriesIndex:void 0,c=e?e.groupIndex:void 0}if(void 0!==d&&void 0!==c&&u?.(d,c))x={data:u(d,c),groupIndex:c,seriesIndex:d,type:"item"};else if(void 0!==d)x={data:o[d],type:"series"};else if(void 0!==c)x={data:s[c],type:"xAxisTickLabel"};else{const e=event?.target,n=e?.textContent;x=n&&"keyboard"!==t&&n===a||n===i?{type:"axisTitle",axis:n===a?"x":"y"}:{type:"background"}}return{context:x}}(n,t,u,o,s,r,a,i,e);return"keyboard"===t&&"item"===c.type&&(d=r.current?.querySelector(`[data-oj-series-index="${c?.seriesIndex}"][data-oj-group-index="${c?.groupIndex}"]`)),{context:c,elem:d}},contextMenuOptions:{isDisabled:!u},rootRef:r,contextMenuConfig:u,onContextMenuDismissed:d});return{contextMenuContent:x,contextMenuProps:c}}}));
2
2
  //# sourceMappingURL=useChartContextMenu-c50617f2.js.map
@@ -1,2 +1,2 @@
1
- define(['exports', './useDatatip-d00735e9', './util-5bb1f200', 'preact/jsx-runtime', './VisTabularDatatip-5e43455b', './colorUtils-31010e27', './accUtils-1557920a', './useUser-6dd85af9'], (function(e,s,t,i,r,o,a,n){"use strict";function u(e,s,t,i,r){const o=e.value,a=i?.value?.format?i?.value?.format?.(o):o,n=[];return 0!=i?.series?.isDisplayed&&n.push({key:i?.series?.label||"Series",value:s}),0!=i?.group?.isDisplayed&&n.push({key:i?.group?.label||(r?"Date":"Group"),value:t}),0!=i?.value?.isDisplayed&&n.push({key:i?.value?.label||"Value",value:a}),n}e.useChartDatatip=({isDataCursorEnabled:e,dataCursorPosition:a,isHoriz:d,datatip:l,xScale:p,getDataItem:x,getDataItemPos:c,hoveredItemInfo:m,focusedItemInfo:I,series:g,valueFormats:f,groups:v,width:b,height:y,findNearest:C,timeAxisType:D,touchResponse:h,isDisabled:A})=>{let T=A?void 0:I?.isCurrent?I:m?.isCurrent&&void 0!==m.seriesIndex&&void 0!==m.groupIndex?m:void 0;const k=I?.isCurrent||e?"element":"pointer",F=I?.isCurrent?c(I.seriesIndex,I.groupIndex):void 0,{direction:P}=n.useUser(),U="rtl"===P;let R,S,V="top-start",j=t.calculateOffset(U,b,F);if(e&&null!=a?.x&&null!=a?.y){T=T||C?.(a.x,a.y);const e=p.transform(a.x);j={mainAxis:-1,crossAxis:-1},d?(V="end",j.mainAxis=-10,j.crossAxis=e-y/2):(V="top",j.crossAxis=U?b/2-e:e-b/2,j.mainAxis=-10)}if(null!=T?.seriesIndex&&null!=T?.groupIndex){S=x(T.seriesIndex,T.groupIndex);const e=S?{data:S,seriesIndex:T.seriesIndex,groupIndex:T.groupIndex,id:S.id}:void 0;if(e){R=(l||function(e){const s="mixedFrequency"===e.timeAxisType,t="enabled"===e.timeAxisType||"skipGaps"===e.timeAxisType;return o=>{const a=e.groups.name||e.groups.id,n=s?o.data.x:t?a:void 0;return{content:i.jsx(r.VisTabularDatatip,{tableData:u(o.data,e.series.name||e.series.id.toString(),n||e.groups.name||e.groups.id,e.valueFormats,null!=e.timeAxisType)}),borderColor:o.data.color||e.series.color}}}({series:g[T.seriesIndex],groups:v[T.groupIndex],valueFormats:f,timeAxisType:D}))(e)}}const G=o.getColorRamp(),q=R?.borderColor||T&&(g[T.seriesIndex].color||g[T.seriesIndex].lineColor||g[T.seriesIndex].areaColor)||T&&G[T.seriesIndex%G.length],{datatipContent:w,datatipProps:z}=s.useDatatip({content:R?.content,anchor:k,placement:V,offset:j,borderColor:q,touchResponse:h});return{datatipContent:w,datatipProps:z}}}));
2
- //# sourceMappingURL=useChartDatatip-672232af.js.map
1
+ define(['exports', './useDatatip-34fb67d2', './util-5bb1f200', 'preact/jsx-runtime', './VisTabularDatatip-e945d6f6', './colorUtils-31010e27', './accUtils-1557920a', './useUser-9b166ca3'], (function(e,s,t,i,r,o,a,n){"use strict";function u(e,s,t,i,r){const o=e.value,a=i?.value?.format?i?.value?.format?.(o):o,n=[];return 0!=i?.series?.isDisplayed&&n.push({key:i?.series?.label||"Series",value:s}),0!=i?.group?.isDisplayed&&n.push({key:i?.group?.label||(r?"Date":"Group"),value:t}),0!=i?.value?.isDisplayed&&n.push({key:i?.value?.label||"Value",value:a}),n}e.useChartDatatip=({isDataCursorEnabled:e,dataCursorPosition:a,isHoriz:l,datatip:d,xScale:p,getDataItem:x,getDataItemPos:c,hoveredItemInfo:m,focusedItemInfo:I,series:f,valueFormats:g,groups:v,width:b,height:y,findNearest:C,timeAxisType:D,touchResponse:h,isDisabled:A})=>{let T=A?void 0:I?.isCurrent?I:m?.isCurrent&&void 0!==m.seriesIndex&&void 0!==m.groupIndex?m:void 0;const k=I?.isCurrent||e?"element":"pointer",F=I?.isCurrent?c(I.seriesIndex,I.groupIndex):void 0,{direction:P}=n.useUser(),U="rtl"===P;let R,S,V="top-start",j=t.calculateOffset(U,b,F);if(e&&null!=a?.x&&null!=a?.y){T=T||C?.(a.x,a.y);const e=p.transform(a.x);j={mainAxis:-1,crossAxis:-1},l?(V="end",j.mainAxis=-10,j.crossAxis=e-y/2):(V="top",j.crossAxis=U?b/2-e:e-b/2,j.mainAxis=-10)}if(null!=T?.seriesIndex&&null!=T?.groupIndex){S=x(T.seriesIndex,T.groupIndex);const e=S?{data:S,seriesIndex:T.seriesIndex,groupIndex:T.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 o=>{const a=e.groups.name||e.groups.id,n=s?o.data.x:t?a:void 0;return{content:i.jsx(r.VisTabularDatatip,{tableData:u(o.data,e.series.name||e.series.id.toString(),n||e.groups.name||e.groups.id,e.valueFormats,null!=e.timeAxisType)}),borderColor:o.data.color||e.series.color}}}({series:f[T.seriesIndex],groups:v[T.groupIndex],valueFormats:g,timeAxisType:D}))(e)}}const G=o.getColorRamp(),q=R?.borderColor||T&&(f[T.seriesIndex].color||f[T.seriesIndex].lineColor||f[T.seriesIndex].areaColor)||T&&G[T.seriesIndex%G.length],{datatipContent:w,datatipProps:z}=s.useDatatip({content:R?.content,anchor:k,placement:V,offset:j,borderColor:q,touchResponse:h});return{datatipContent:w,datatipProps:z}}}));
2
+ //# sourceMappingURL=useChartDatatip-34e2636c.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useChartDatatip-672232af.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) {\n //TODO: Use translation strings\n const value = data.value;\n const itemValue = valueFormats?.value?.format ? valueFormats?.value?.format?.(value) : 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: groupValue\n });\n }\n if (valueFormats?.value?.isDisplayed != false) {\n tableData.push({ key: valueFormats?.value?.label || 'Value', value: itemValue });\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}) {\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 )}\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};\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}: 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 });\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","value","itemValue","format","tableData","series","isDisplayed","push","key","label","group","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","VisTabularDatatip","toString","borderColor","color","getDefaultDatatipRenderer","colors","getColorRamp","lineColor","areaColor","length","datatipContent","datatipProps","useDatatip"],"mappings":"4NAoBM,SAAUA,EACdC,EACAC,EACAC,EACAC,EACAC,GAGA,MAAMC,EAAQL,EAAKK,MACbC,EAAYH,GAAcE,OAAOE,OAASJ,GAAcE,OAAOE,SAASF,GAASA,EACjFG,EAA4B,GAiBlC,OAfyC,GAArCL,GAAcM,QAAQC,aACxBF,EAAUG,KAAK,CACbC,IAAKT,GAAcM,QAAQI,OAAS,SACpCR,MAAOJ,IAG6B,GAApCE,GAAcW,OAAOJ,aACvBF,EAAUG,KAAK,CACbC,IAAKT,GAAcW,OAAOD,QAAUT,EAAa,OAAS,SAC1DC,MAAOH,IAG6B,GAApCC,GAAcE,OAAOK,aACvBF,EAAUG,KAAK,CAAEC,IAAKT,GAAcE,OAAOQ,OAAS,QAASR,MAAOC,IAE/DE,CACT,mBCG+B,EAC7BO,sBACAC,qBACAC,UACAC,UACAC,SACAC,cACAC,iBACAC,kBACAC,kBACAd,SACAN,eACAqB,SACAC,QACAC,SACAC,cACAC,eACAC,gBACAC,iBAEA,IAAIC,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,CACE1C,KAAM0C,EACNR,YAAaH,EAAWG,YACxBC,WAAYJ,EAAWI,WACvBkB,GAAIX,EAAKW,SAEXrB,EAEJ,GAAIoB,EAAgB,CASlBX,GAPEvB,GDzEF,SAGJoC,GAMA,MAAMC,EAA4C,mBAAzBD,EAAQ1B,aAC3B4B,EACqB,YAAzBF,EAAQ1B,cAAuD,aAAzB0B,EAAQ1B,aAEhD,OAAQ6B,IACN,MAAMvD,EAAaoD,EAAQ9B,OAAOkC,MAAQJ,EAAQ9B,OAAO6B,GACnDM,EAAYJ,EACdE,EAAQzD,KAAK8C,EACbU,EACAtD,OACA8B,EACJ,MAAO,CACL4B,QACEC,EAAAA,IAACC,EAAAA,kBAAiB,CAChBtD,UAAWT,EACT0D,EAAQzD,KACRsD,EAAQ7C,OAAOiD,MAAQJ,EAAQ7C,OAAO4C,GAAGU,WACzCJ,GAAaL,EAAQ9B,OAAOkC,MAAQJ,EAAQ9B,OAAO6B,GACnDC,EAAQnD,aACgB,MAAxBmD,EAAQ1B,gBAIdoC,YAAaP,EAAQzD,KAAKiE,OAASX,EAAQ7C,OAAOwD,MACnD,CAEL,CCuCQC,CAA0B,CACxBzD,OAAQA,EAAOsB,EAAWG,aAC1BV,OAAQA,EAAOO,EAAWI,YAC1BhC,eACAyB,kBAEwBwB,EAC7B,CACF,CACD,MAAMe,EAASC,EAAAA,eACTJ,EACJvB,GAAWuB,aACVjC,IACGtB,EAAOsB,EAAWG,aAAsC+B,OACvDxD,EAAOsB,EAAWG,aAA2CmC,WAC7D5D,EAAOsB,EAAWG,aAA2CoC,YACjEvC,GAAcoC,EAAOpC,EAAWG,YAAeiC,EAAOI,SAEnDC,eAAEA,EAAcC,aAAEA,GAAiBC,aAAW,CAClDd,QAASnB,GAAWmB,QACpBxB,SACAO,YACAC,SACAoB,cACAnC,kBAGF,MAAO,CAAE2C,iBAAgBC,eAAc"}
1
+ {"version":3,"file":"useChartDatatip-34e2636c.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) {\n //TODO: Use translation strings\n const value = data.value;\n const itemValue = valueFormats?.value?.format ? valueFormats?.value?.format?.(value) : 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: groupValue\n });\n }\n if (valueFormats?.value?.isDisplayed != false) {\n tableData.push({ key: valueFormats?.value?.label || 'Value', value: itemValue });\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}) {\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 )}\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};\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}: 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 });\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","value","itemValue","format","tableData","series","isDisplayed","push","key","label","group","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","VisTabularDatatip","toString","borderColor","color","getDefaultDatatipRenderer","colors","getColorRamp","lineColor","areaColor","length","datatipContent","datatipProps","useDatatip"],"mappings":"4NAoBM,SAAUA,EACdC,EACAC,EACAC,EACAC,EACAC,GAGA,MAAMC,EAAQL,EAAKK,MACbC,EAAYH,GAAcE,OAAOE,OAASJ,GAAcE,OAAOE,SAASF,GAASA,EACjFG,EAA4B,GAiBlC,OAfyC,GAArCL,GAAcM,QAAQC,aACxBF,EAAUG,KAAK,CACbC,IAAKT,GAAcM,QAAQI,OAAS,SACpCR,MAAOJ,IAG6B,GAApCE,GAAcW,OAAOJ,aACvBF,EAAUG,KAAK,CACbC,IAAKT,GAAcW,OAAOD,QAAUT,EAAa,OAAS,SAC1DC,MAAOH,IAG6B,GAApCC,GAAcE,OAAOK,aACvBF,EAAUG,KAAK,CAAEC,IAAKT,GAAcE,OAAOQ,OAAS,QAASR,MAAOC,IAE/DE,CACT,mBCG+B,EAC7BO,sBACAC,qBACAC,UACAC,UACAC,SACAC,cACAC,iBACAC,kBACAC,kBACAd,SACAN,eACAqB,SACAC,QACAC,SACAC,cACAC,eACAC,gBACAC,iBAEA,IAAIC,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,CACE1C,KAAM0C,EACNR,YAAaH,EAAWG,YACxBC,WAAYJ,EAAWI,WACvBkB,GAAIX,EAAKW,SAEXrB,EAEJ,GAAIoB,EAAgB,CASlBX,GAPEvB,GDzEF,SAGJoC,GAMA,MAAMC,EAA4C,mBAAzBD,EAAQ1B,aAC3B4B,EACqB,YAAzBF,EAAQ1B,cAAuD,aAAzB0B,EAAQ1B,aAEhD,OAAQ6B,IACN,MAAMvD,EAAaoD,EAAQ9B,OAAOkC,MAAQJ,EAAQ9B,OAAO6B,GACnDM,EAAYJ,EACdE,EAAQzD,KAAK8C,EACbU,EACAtD,OACA8B,EACJ,MAAO,CACL4B,QACEC,EAAAA,IAACC,EAAAA,kBAAiB,CAChBtD,UAAWT,EACT0D,EAAQzD,KACRsD,EAAQ7C,OAAOiD,MAAQJ,EAAQ7C,OAAO4C,GAAGU,WACzCJ,GAAaL,EAAQ9B,OAAOkC,MAAQJ,EAAQ9B,OAAO6B,GACnDC,EAAQnD,aACgB,MAAxBmD,EAAQ1B,gBAIdoC,YAAaP,EAAQzD,KAAKiE,OAASX,EAAQ7C,OAAOwD,MACnD,CAEL,CCuCQC,CAA0B,CACxBzD,OAAQA,EAAOsB,EAAWG,aAC1BV,OAAQA,EAAOO,EAAWI,YAC1BhC,eACAyB,kBAEwBwB,EAC7B,CACF,CACD,MAAMe,EAASC,EAAAA,eACTJ,EACJvB,GAAWuB,aACVjC,IACGtB,EAAOsB,EAAWG,aAAsC+B,OACvDxD,EAAOsB,EAAWG,aAA2CmC,WAC7D5D,EAAOsB,EAAWG,aAA2CoC,YACjEvC,GAAcoC,EAAOpC,EAAWG,YAAeiC,EAAOI,SAEnDC,eAAEA,EAAcC,aAAEA,GAAiBC,aAAW,CAClDd,QAASnB,GAAWmB,QACpBxB,SACAO,YACAC,SACAoB,cACAnC,kBAGF,MAAO,CAAE2C,iBAAgBC,eAAc"}
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/jsx-runtime', 'preact/hooks', './clientUtils-95c1280f', './Button-346df48a', './Move-cb970282', './hooks/PRIVATE_useChartMarquee/themes/useChartMarquee.css', './useTranslationBundle-6ef0dab6', './ZoomAlt-f0965f0b', './ButtonSetSingle-01a514b7', './ButtonSetItem-e757957a', './IconToggleButton-563a5127'], (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:f,showSelectButton:g}){const{right:v,left:m,top:M,bottom:p}=e,S=f&&!g&&!h||!f&&!g&&h||!f&&g&&!h,y=a.useTranslationBundle("@oracle/oraclejet-preact"),B=y.vis_marqueeZoomTooltip(),b=y.vis_panTooltip(),j=y.vis_marqueeSelectTooltip();return h||f||g?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:[f&&t.jsx(d.IconToggleButton,{accessibleLabel:b,isSelected:"pan"===n,onToggle:e=>{x(e?"pan":void 0)},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,{})}),g&&t.jsx(d.IconToggleButton,{accessibleLabel:j,isSelected:"select"===n,onToggle:e=>{x(e?"select":void 0)},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:[f&&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,{})}),g&&t.jsx(l.ButtonSetItem,{value:"select",label:j,startIcon:t.jsx(r.SvgButton,{})})]})}):null}function f({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:g,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),f=function(e,t,o,n){return!(!t||!e&&!o&&t||!e&&"user"!==n)}(c,a,s,u),[g,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:f,showZoomButton:x,showPanButton:d,dragMode:g,onDragModeChange:v}),userDragMode:g}}({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":"off":!e&&t?o?"select":"off":e||t?"pan":"off":n}(u,s,P,r),A="off"!=q?w||q:"off",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(f,{...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=>g(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-346df48a', './Move-cb970282', './hooks/PRIVATE_useChartMarquee/themes/useChartMarquee.css', './useTranslationBundle-20bfc0f3', './ZoomAlt-f0965f0b', './ButtonSetSingle-01a514b7', './ButtonSetItem-e757957a', './IconToggleButton-563a5127'], (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 f({position:e,divRef:o,dragMode:n,onDragModeChange:x,showZoomButton:f,showPanButton:h,showSelectButton:g}){const{right:v,left:m,top:M,bottom:p}=e,S=h&&!g&&!f||!h&&!g&&f||!h&&g&&!f,y=a.useTranslationBundle("@oracle/oraclejet-preact"),B=y.vis_marqueeZoomTooltip(),b=y.vis_panTooltip(),j=y.vis_marqueeSelectTooltip();return f||h||g?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:[h&&t.jsx(d.IconToggleButton,{accessibleLabel:b,isSelected:"pan"===n,onToggle:e=>{x(e?"pan":void 0)},variant:"outlined",size:"sm",children:t.jsx(i.SvgMove,{})}),f&&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,{})}),g&&t.jsx(d.IconToggleButton,{accessibleLabel:j,isSelected:"select"===n,onToggle:e=>{x(e?"select":void 0)},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:[h&&t.jsx(l.ButtonSetItem,{value:"pan",label:b,startIcon:t.jsx(i.SvgMove,{})}),f&&t.jsx(l.ButtonSetItem,{value:"zoom",label:B,startIcon:t.jsx(u.SvgZoomAlt,{})}),g&&t.jsx(l.ButtonSetItem,{value:"select",label:j,startIcon:t.jsx(r.SvgButton,{})})]})}):null}function h({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:g,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),h=function(e,t,o,n){return!(!t||!e&&!o&&t||!e&&"user"!==n)}(c,a,s,u),[g,v]=o.useState(c&&s?"pan":void 0);return{dragButtonDivRef:l,toggleButtonContent:t.jsx(f,{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:h,showZoomButton:x,showPanButton:d,dragMode:g,onDragModeChange:v}),userDragMode:g}}({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":"off":!e&&t?o?"select":"off":e||t?"pan":"off":n}(u,s,P,r),A="off"!=q?w||q:"off",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(h,{...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=>g(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-0e818e77.js.map
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/hooks', './LayerHost-eab40731', '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-711c1e4b.js.map
1
+ define(['exports', 'preact/hooks', './LayerHost-0a244de8', '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-3ffd80c4.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useColorScheme-711c1e4b.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-3ffd80c4.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-51409b28', './MenuItem-644f8619', 'preact', './useTooltipControlled-abf886f2', 'css!./IconStyle.styles.css', './SelectMenuGroupContext-67f24a8f', './logger-0f873e29', './UNSAFE_Separator/themes/SeparatorStyles.css', 'css!./MenuSeparatorStyles.styles.css', 'module', './UNSAFE_Menu/themes/redwood/MenuSeparatorVariants.css', 'preact/compat', './LayerHost-eab40731', './useContextMenuGesture-06cf28ca'], (function(e,t,n,o,s,r,u,a,c,i,l,f,M,m,p,x,C){"use strict";const d={isOpen:!1,initialFocus:"menu",placement:"bottom-start",offsetValue:0,anchorRef:{current:null}};function S({contextMenuConfig:e,contextMenuContext:s,rootRef:r,setMenuProps:u,onContextMenuDismissed:a,gestureRef:c,...i}){const l=n.useCallback((e=>{"dismissed"!==e.reason&&"itemAction"!==e.reason||(r.current?.focus({preventScroll:!0}),a?.(c.current)),u(d)}),[r,u,a]);return t.jsx(o.Menu,{...i,onClose:l,"aria-label":e.accessibleLabel,children:i.isOpen&&e.itemsRenderer(s)})}const g={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=S,e.useContextMenu=function({onContextMenuHandler:e,contextMenuOptions:o,rootRef:s,contextMenuConfig:r,onContextMenuDismissed:u}){const[a,c]=n.useState(),[i,l]=n.useState(d),f=n.useRef(null),M=n.useCallback((({gesture:t,anchor:n,target:o})=>{f.current=t;const{context:s,elem:r}=e({gesture:t,target:o});c(s),l({...g[t],anchorRef:{current:r||n},isOpen:!0})}),[e]),m=r&&t.jsx(S,{...i,onContextMenuDismissed:u,gestureRef:f,setMenuProps:l,rootRef:s,contextMenuConfig:r,contextMenuContext:a}),{triggerProps:p}=C.useContextMenuGesture(M,o);return{contextMenuProps:p,contextMenuContent:m}}}));
1
+ define(['exports', 'preact/jsx-runtime', 'preact/hooks', './Menu-6a5d7fce', './MenuItem-644f8619', 'preact', './useTooltipControlled-18271c7a', 'css!./IconStyle.styles.css', './SelectMenuGroupContext-67f24a8f', './logger-0f873e29', './UNSAFE_Separator/themes/SeparatorStyles.css', 'css!./MenuSeparatorStyles.styles.css', 'module', './UNSAFE_Menu/themes/redwood/MenuSeparatorVariants.css', 'preact/compat', './LayerHost-0a244de8', './useContextMenuGesture-06cf28ca'], (function(e,t,n,o,s,r,u,a,c,i,l,f,M,m,p,x,C){"use strict";const d={isOpen:!1,initialFocus:"menu",placement:"bottom-start",offsetValue:0,anchorRef:{current:null}};function S({contextMenuConfig:e,contextMenuContext:s,rootRef:r,setMenuProps:u,onContextMenuDismissed:a,gestureRef:c,...i}){const l=n.useCallback((e=>{"dismissed"!==e.reason&&"itemAction"!==e.reason||(r.current?.focus({preventScroll:!0}),a?.(c.current)),u(d)}),[r,u,a]);return t.jsx(o.Menu,{...i,onClose:l,"aria-label":e.accessibleLabel,children:i.isOpen&&e.itemsRenderer(s)})}const g={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=S,e.useContextMenu=function({onContextMenuHandler:e,contextMenuOptions:o,rootRef:s,contextMenuConfig:r,onContextMenuDismissed:u}){const[a,c]=n.useState(),[i,l]=n.useState(d),f=n.useRef(null),M=n.useCallback((({gesture:t,anchor:n,target:o})=>{f.current=t;const{context:s,elem:r}=e({gesture:t,target:o});c(s),l({...g[t],anchorRef:{current:r||n},isOpen:!0})}),[e]),m=r&&t.jsx(S,{...i,onContextMenuDismissed:u,gestureRef:f,setMenuProps:l,rootRef:s,contextMenuConfig:r,contextMenuContext:a}),{triggerProps:p}=C.useContextMenuGesture(M,o);return{contextMenuProps:p,contextMenuContent:m}}}));
2
2
  //# sourceMappingURL=useContextMenu-e6b10380.js.map
@@ -0,0 +1,2 @@
1
+ define(['exports', 'preact/jsx-runtime', 'preact/hooks', './useUser-9b166ca3', './useTheme-45e3b0b3', './useColorScheme-3ffd80c4', './useScale-fe3420c6'], (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-7efb591d.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useCssVars-948d1e7c.js","sources":["../../src/hooks/PRIVATE_useCssVars/useCssVars.tsx"],"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 */\n\nimport { useLayoutEffect, useRef, useState } from 'preact/hooks';\nimport { useUser } from '../UNSAFE_useUser';\nimport { useTheme } from '../UNSAFE_useTheme';\nimport { useColorScheme } from '../UNSAFE_useColorScheme';\nimport { useScale } from '../UNSAFE_useScale';\n\nfunction getCssVarName(name: string) {\n const rxp = name.match(/var\\((--[a-zA-Z_0-9\\-]+)\\)/);\n return rxp && rxp.length > 1 ? rxp[1] : '';\n}\n\n/**\n * Hook to resolve the css vars.\n * @param vars\n * @param classes\n * @returns\n */\nexport function useCssVars(\n vars: {\n /**\n * The token variable.\n */\n tokenVar: string;\n /**\n * The key of the resolved variable.\n */\n key: string;\n /**\n * The absolute used value of the token vars assigned to css expression cannot be computed through getComputedStyle if\n * not assigned to a css property. This optional prop provides css property to assign the token var to in order to get\n * actual used style.\n */\n cssProp?: string;\n }[]\n) {\n const cssDivRef = useRef<HTMLDivElement>(null);\n const [resolvedVars, setResolvedVars] = useState<Record<string, any>>({});\n const { forcedColors } = useUser();\n const { name } = useTheme();\n const scale = useScale();\n const colorScheme = useColorScheme();\n\n // A css token var (eg, --tokenVar_123xyz) that is assigned to a css expression like min(25px, 5rem) resolves to\n // a string of the expression (resolved value) like \"min(25px, 5rem)\" and not absolute value (for eg 25px) (used value) when getComputedStyle is called.\n // We have to assign the token var to a valid css property(like width: var(--tokenVar_123xyz)) in order to get actual used value in\n // computed styles. https://developer.mozilla.org/en-US/docs/Web/CSS/used_value\n\n // build a style obj with valid css property to apply to div\n const style = vars.reduce((prev: Record<string, string>, current) => {\n if (current.cssProp) {\n prev[current.cssProp] = current.tokenVar;\n }\n return prev;\n }, {});\n\n const cssContent = <div ref={cssDivRef} style={{ display: 'none', ...style }}></div>;\n\n useLayoutEffect(() => {\n if (!cssDivRef.current) {\n return;\n }\n\n const computedStyle = window.getComputedStyle(cssDivRef.current);\n const resolved: Record<string, any> = {};\n vars.forEach((value) => {\n // use cssProp for token vars that resolve to expression\n const cssVar = value.cssProp || getCssVarName(value.tokenVar);\n resolved[value.key] = computedStyle.getPropertyValue(cssVar);\n });\n setResolvedVars(resolved);\n }, [forcedColors, name, colorScheme, scale, vars]);\n\n return {\n resolvedVars,\n cssContent\n };\n}\n"],"names":["vars","cssDivRef","useRef","resolvedVars","setResolvedVars","useState","forcedColors","useUser","name","useTheme","scale","useScale","colorScheme","useColorScheme","style","reduce","prev","current","cssProp","tokenVar","cssContent","_jsx","jsx","ref","display","useLayoutEffect","computedStyle","window","getComputedStyle","resolved","forEach","value","cssVar","rxp","match","length","getCssVarName","key","getPropertyValue"],"mappings":"uMAyBM,SACJA,GAiBA,MAAMC,EAAYC,SAAuB,OAClCC,EAAcC,GAAmBC,EAAQA,SAAsB,CAAE,IAClEC,aAAEA,GAAiBC,EAAAA,WACnBC,KAAEA,GAASC,EAAAA,WACXC,EAAQC,EAAAA,WACRC,EAAcC,EAAAA,iBAQdC,EAAQd,EAAKe,QAAO,CAACC,EAA8BC,KACnDA,EAAQC,UACVF,EAAKC,EAAQC,SAAWD,EAAQE,UAE3BH,IACN,CAAE,GAECI,EAAaC,EAAAC,IAAA,MAAA,CAAKC,IAAKtB,EAAWa,MAAO,CAAEU,QAAS,UAAWV,KAiBrE,OAfAW,EAAAA,iBAAgB,KACd,IAAKxB,EAAUgB,QACb,OAGF,MAAMS,EAAgBC,OAAOC,iBAAiB3B,EAAUgB,SAClDY,EAAgC,CAAA,EACtC7B,EAAK8B,SAASC,IAEZ,MAAMC,EAASD,EAAMb,SA5D3B,SAAuBV,GACrB,MAAMyB,EAAMzB,EAAK0B,MAAM,8BACvB,OAAOD,GAAOA,EAAIE,OAAS,EAAIF,EAAI,GAAK,EAC1C,CAyDsCG,CAAcL,EAAMZ,UACpDU,EAASE,EAAMM,KAAOX,EAAcY,iBAAiBN,EAAO,IAE9D5B,EAAgByB,EAAS,GACxB,CAACvB,EAAcE,EAAMI,EAAaF,EAAOV,IAErC,CACLG,eACAiB,aAEJ"}
1
+ {"version":3,"file":"useCssVars-7efb591d.js","sources":["../../src/hooks/PRIVATE_useCssVars/useCssVars.tsx"],"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 */\n\nimport { useLayoutEffect, useRef, useState } from 'preact/hooks';\nimport { useUser } from '../UNSAFE_useUser';\nimport { useTheme } from '../UNSAFE_useTheme';\nimport { useColorScheme } from '../UNSAFE_useColorScheme';\nimport { useScale } from '../UNSAFE_useScale';\n\nfunction getCssVarName(name: string) {\n const rxp = name.match(/var\\((--[a-zA-Z_0-9\\-]+)\\)/);\n return rxp && rxp.length > 1 ? rxp[1] : '';\n}\n\n/**\n * Hook to resolve the css vars.\n * @param vars\n * @param classes\n * @returns\n */\nexport function useCssVars(\n vars: {\n /**\n * The token variable.\n */\n tokenVar: string;\n /**\n * The key of the resolved variable.\n */\n key: string;\n /**\n * The absolute used value of the token vars assigned to css expression cannot be computed through getComputedStyle if\n * not assigned to a css property. This optional prop provides css property to assign the token var to in order to get\n * actual used style.\n */\n cssProp?: string;\n }[]\n) {\n const cssDivRef = useRef<HTMLDivElement>(null);\n const [resolvedVars, setResolvedVars] = useState<Record<string, any>>({});\n const { forcedColors } = useUser();\n const { name } = useTheme();\n const scale = useScale();\n const colorScheme = useColorScheme();\n\n // A css token var (eg, --tokenVar_123xyz) that is assigned to a css expression like min(25px, 5rem) resolves to\n // a string of the expression (resolved value) like \"min(25px, 5rem)\" and not absolute value (for eg 25px) (used value) when getComputedStyle is called.\n // We have to assign the token var to a valid css property(like width: var(--tokenVar_123xyz)) in order to get actual used value in\n // computed styles. https://developer.mozilla.org/en-US/docs/Web/CSS/used_value\n\n // build a style obj with valid css property to apply to div\n const style = vars.reduce((prev: Record<string, string>, current) => {\n if (current.cssProp) {\n prev[current.cssProp] = current.tokenVar;\n }\n return prev;\n }, {});\n\n const cssContent = <div ref={cssDivRef} style={{ display: 'none', ...style }}></div>;\n\n useLayoutEffect(() => {\n if (!cssDivRef.current) {\n return;\n }\n\n const computedStyle = window.getComputedStyle(cssDivRef.current);\n const resolved: Record<string, any> = {};\n vars.forEach((value) => {\n // use cssProp for token vars that resolve to expression\n const cssVar = value.cssProp || getCssVarName(value.tokenVar);\n resolved[value.key] = computedStyle.getPropertyValue(cssVar);\n });\n setResolvedVars(resolved);\n }, [forcedColors, name, colorScheme, scale, vars]);\n\n return {\n resolvedVars,\n cssContent\n };\n}\n"],"names":["vars","cssDivRef","useRef","resolvedVars","setResolvedVars","useState","forcedColors","useUser","name","useTheme","scale","useScale","colorScheme","useColorScheme","style","reduce","prev","current","cssProp","tokenVar","cssContent","_jsx","jsx","ref","display","useLayoutEffect","computedStyle","window","getComputedStyle","resolved","forEach","value","cssVar","rxp","match","length","getCssVarName","key","getPropertyValue"],"mappings":"uMAyBM,SACJA,GAiBA,MAAMC,EAAYC,SAAuB,OAClCC,EAAcC,GAAmBC,EAAQA,SAAsB,CAAE,IAClEC,aAAEA,GAAiBC,EAAAA,WACnBC,KAAEA,GAASC,EAAAA,WACXC,EAAQC,EAAAA,WACRC,EAAcC,EAAAA,iBAQdC,EAAQd,EAAKe,QAAO,CAACC,EAA8BC,KACnDA,EAAQC,UACVF,EAAKC,EAAQC,SAAWD,EAAQE,UAE3BH,IACN,CAAE,GAECI,EAAaC,EAAAC,IAAA,MAAA,CAAKC,IAAKtB,EAAWa,MAAO,CAAEU,QAAS,UAAWV,KAiBrE,OAfAW,EAAAA,iBAAgB,KACd,IAAKxB,EAAUgB,QACb,OAGF,MAAMS,EAAgBC,OAAOC,iBAAiB3B,EAAUgB,SAClDY,EAAgC,CAAA,EACtC7B,EAAK8B,SAASC,IAEZ,MAAMC,EAASD,EAAMb,SA5D3B,SAAuBV,GACrB,MAAMyB,EAAMzB,EAAK0B,MAAM,8BACvB,OAAOD,GAAOA,EAAIE,OAAS,EAAIF,EAAI,GAAK,EAC1C,CAyDsCG,CAAcL,EAAMZ,UACpDU,EAASE,EAAMM,KAAOX,EAAcY,iBAAiBN,EAAO,IAE9D5B,EAAgByB,EAAS,GACxB,CAACvB,EAAcE,EAAMI,EAAaF,EAAOV,IAErC,CACLG,eACAiB,aAEJ"}
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/hooks', './LayerHost-eab40731', 'preact/jsx-runtime', 'preact/compat'], (function(t,e,r,n,o){"use strict";t.useCurrentBgColor=function(){return e.useContext(r.EnvironmentContext).currentBgColor}}));
2
- //# sourceMappingURL=useCurrentBgColor-40103ccc.js.map
1
+ define(['exports', 'preact/hooks', './LayerHost-0a244de8', 'preact/jsx-runtime', 'preact/compat'], (function(t,e,r,n,o){"use strict";t.useCurrentBgColor=function(){return e.useContext(r.EnvironmentContext).currentBgColor}}));
2
+ //# sourceMappingURL=useCurrentBgColor-44e3f377.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useCurrentBgColor-40103ccc.js","sources":["../../src/hooks/UNSAFE_useCurrentBgColor/useCurrentBgColor.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 useCurrentBgColor() {\n return useContext(EnvironmentContext).currentBgColor;\n}\n"],"names":["useContext","EnvironmentContext","currentBgColor"],"mappings":"+JAWE,OAAOA,EAAUA,WAACC,sBAAoBC,cACxC"}
1
+ {"version":3,"file":"useCurrentBgColor-44e3f377.js","sources":["../../src/hooks/UNSAFE_useCurrentBgColor/useCurrentBgColor.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 useCurrentBgColor() {\n return useContext(EnvironmentContext).currentBgColor;\n}\n"],"names":["useContext","EnvironmentContext","currentBgColor"],"mappings":"+JAWE,OAAOA,EAAUA,WAACC,sBAAoBC,cACxC"}
@@ -0,0 +1,2 @@
1
+ define(['exports', 'preact/hooks', './keys-cc1cb01d', './useUser-9b166ca3'], (function(e,t,r,s){"use strict";e.useCurrentKey=function(e,n,c,i,o,u,l,a,y){const{direction:f}=s.useUser(),K=t.useCallback(((e,t)=>y?y(e,t):e===t),[y]),k=t.useCallback((e=>{if(a&&r.isKeyDefined(l)){const t="rtl"===f,s={ArrowUp:c,ArrowDown:i,ArrowLeft:t?u:o,ArrowRight:t?o:u};if(Object.keys(s).includes(e.key)&&(n||!e.shiftKey)&&!e.metaKey&&!e.ctrlKey){const t=s[e.key]?.();r.isKeyDefined(t)&&!K(l,t)&&a({value:t}),e.preventDefault()}}}),[l,a,c,i,o,u,K,n,f]),d=t.useCallback((t=>{if(a&&!t.shiftKey){const s=e(t.target);r.isKeyDefined(s)&&!K(l,s)&&a({value:s})}}),[l,e,a,K]);return{currentKeyProps:null==a?{}:{onClickCapture:d,onKeyDown:k}}}}));
2
+ //# sourceMappingURL=useCurrentKey-26170e5e.js.map