@oracle/oraclejet-preact 20.1.1 → 20.1.2

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 (655) hide show
  1. package/amd/AccordionItemMultiple-7cfecf03.js +1 -1
  2. package/amd/AccordionItemSingle-6c70951e.js +1 -1
  3. package/amd/BarChart-379e0e10.js +1 -1
  4. package/amd/{BaseButton-9bf908ec.js → BaseButton-5a0ad529.js} +2 -2
  5. package/amd/{BaseButton-9bf908ec.js.map → BaseButton-5a0ad529.js.map} +1 -1
  6. package/amd/BaseCardView-825b1327.js +1 -1
  7. package/amd/{BaseCardViewSelectionTest-ac780d4f.js → BaseCardViewSelectionTest-66f166ce.js} +2 -2
  8. package/amd/{BaseCardViewSelectionTest-ac780d4f.js.map → BaseCardViewSelectionTest-66f166ce.js.map} +1 -1
  9. package/amd/BaseDiagram-7757c344.js +1 -1
  10. package/amd/BaseRichSelection-57e02c2d.js +1 -1
  11. package/amd/BaseSelector-3c7b8b87.js +1 -1
  12. package/amd/BaseSwatchView-2c401b4d.js +1 -1
  13. package/amd/BaseTabBarItem-6e22fcbc.js +1 -1
  14. package/amd/Button-e5d7c0e3.js +2 -0
  15. package/amd/{Button-d541cd67.js.map → Button-e5d7c0e3.js.map} +1 -1
  16. package/amd/ButtonSet-9f26cc51.js +1 -1
  17. package/amd/ButtonSetButton-ded680bb.js +1 -1
  18. package/amd/ButtonSetIconButton-b64b0830.js +1 -1
  19. package/amd/{Center-27a71002.js → Center-17925696.js} +2 -2
  20. package/amd/{Center-27a71002.js.map → Center-17925696.js.map} +1 -1
  21. package/amd/Chart-57d1c518.js +1 -1
  22. package/amd/Checkbox-3e80f017.js +1 -1
  23. package/amd/CheckboxControl-0746682f.js +1 -1
  24. package/amd/CheckboxRadioField-03179844.js +1 -1
  25. package/amd/CheckboxRadioLabelValueLayout-b728e6ec.js +1 -1
  26. package/amd/CheckboxSetContext-2e486ea8.js +2 -0
  27. package/{es/CheckboxSetContext-1be56556.js.map → amd/CheckboxSetContext-2e486ea8.js.map} +1 -1
  28. package/amd/Chip-8280de2e.js +1 -1
  29. package/amd/ClearIcon-a066df59.js +1 -1
  30. package/amd/CollapseIcon-a62fd41c.js +1 -1
  31. package/amd/Collapsible-0bf0c371.js +1 -1
  32. package/amd/CollapsibleNavigationList-91858994.js +1 -1
  33. package/amd/ColorPalette-43ffde6d.js +2 -0
  34. package/amd/{ColorPalette-f05a9dad.js.map → ColorPalette-43ffde6d.js.map} +1 -1
  35. package/amd/ColorPicker-3b4180e9.js +2 -0
  36. package/amd/{ColorPicker-236d84f0.js.map → ColorPicker-3b4180e9.js.map} +1 -1
  37. package/amd/ColorSwatch-52a06d25.js +1 -1
  38. package/amd/ComboChart-9cc157af.js +1 -1
  39. package/amd/CompactHelpSource-09ac9fe1.js +1 -1
  40. package/amd/CompactLabelAssistance-65c63769.js +2 -0
  41. package/amd/{CompactLabelAssistance-7bb76228.js.map → CompactLabelAssistance-65c63769.js.map} +1 -1
  42. package/amd/CompactUserAssistance-2fc90192.js +1 -1
  43. package/amd/ComponentMessageContainer-d5d70f71.js +1 -1
  44. package/amd/ConveyorBelt-e54ce1f7.js +1 -1
  45. package/amd/{DatePicker-89255880.js → DatePicker-ed971798.js} +2 -2
  46. package/amd/{DatePicker-89255880.js.map → DatePicker-ed971798.js.map} +1 -1
  47. package/amd/DatePickerHeader-b75e4c72.js +1 -1
  48. package/amd/{Dialog-ed9c4105.js → Dialog-9a4dbe57.js} +2 -2
  49. package/amd/{Dialog-ed9c4105.js.map → Dialog-9a4dbe57.js.map} +1 -1
  50. package/amd/DirectionalCollapseArrowIcon-ddc18f4b.js +1 -1
  51. package/amd/DirectionalExpandArrowIcon-9c710193.js +1 -1
  52. package/amd/DragHandle-29eba15d.js +2 -0
  53. package/amd/{DragHandle-652ffa0f.js.map → DragHandle-29eba15d.js.map} +1 -1
  54. package/amd/{DrawerPopup-ff31d785.js → DrawerPopup-c9e6374e.js} +2 -2
  55. package/amd/{DrawerPopup-ff31d785.js.map → DrawerPopup-c9e6374e.js.map} +1 -1
  56. package/amd/{Dropdown-d1438b58.js → Dropdown-9eed614a.js} +2 -2
  57. package/amd/{Dropdown-d1438b58.js.map → Dropdown-9eed614a.js.map} +1 -1
  58. package/amd/EmbeddedIconButton-d1472ac1.js +2 -0
  59. package/amd/{EmbeddedIconButton-c3cb14c0.js.map → EmbeddedIconButton-d1472ac1.js.map} +1 -1
  60. package/amd/{EnvironmentProvider-75ba928e.js → EnvironmentProvider-403bf554.js} +2 -2
  61. package/amd/{EnvironmentProvider-75ba928e.js.map → EnvironmentProvider-403bf554.js.map} +1 -1
  62. package/amd/ExpandableList-d7b3d65c.js +1 -1
  63. package/amd/Expander-683df228.js +1 -1
  64. package/amd/FilePicker-9e24c421.js +1 -1
  65. package/amd/FlatTreeView-5de96ffd.js +1 -1
  66. package/amd/Flex-4b81b412.js +2 -0
  67. package/amd/{Flex-71f83c12.js.map → Flex-4b81b412.js.map} +1 -1
  68. package/amd/{Floating-08c98ebd.js → Floating-9d6ab071.js} +2 -2
  69. package/amd/{Floating-08c98ebd.js.map → Floating-9d6ab071.js.map} +1 -1
  70. package/amd/FormLayout-023ab8de.js +1 -1
  71. package/amd/Gantt-cdd9d3cb.js +1 -1
  72. package/amd/{Grid-5324e17b.js → Grid-caac1c86.js} +2 -2
  73. package/amd/{Grid-5324e17b.js.map → Grid-caac1c86.js.map} +1 -1
  74. package/amd/GroupLoadingIndicator-4daed099.js +1 -1
  75. package/amd/HighlightText-ee76c447.js +2 -0
  76. package/amd/{HighlightText-365ba020.js.map → HighlightText-ee76c447.js.map} +1 -1
  77. package/amd/Icon-b9a01da9.js +1 -1
  78. package/amd/IconButton-d78fe636.js +1 -1
  79. package/amd/IconMenuButton-74b41e62.js +1 -1
  80. package/amd/IconProgressButton-28f72faa.js +1 -1
  81. package/amd/IconSwitchButton-22893e1f.js +1 -1
  82. package/amd/IconToggleButton-9f1c8265.js +1 -1
  83. package/amd/{IconUserAssistance-e80bf779.js → IconUserAssistance-682b85a2.js} +2 -2
  84. package/amd/{IconUserAssistance-e80bf779.js.map → IconUserAssistance-682b85a2.js.map} +1 -1
  85. package/amd/Indexer-27340b0e.js +1 -1
  86. package/amd/InlineHelpSource-8d8b6a8b.js +1 -1
  87. package/amd/InlineSelectSingle-4e6a631c.js +1 -1
  88. package/amd/InlineUserAssistance-91f9ace1.js +1 -1
  89. package/amd/InputColor-3eca248b.js +2 -0
  90. package/amd/{InputColor-a1fcd3b3.js.map → InputColor-3eca248b.js.map} +1 -1
  91. package/amd/InputDateMask-acdfc589.js +1 -1
  92. package/amd/InputDatePicker-22518a24.js +2 -0
  93. package/amd/{InputDatePicker-b16a1592.js.map → InputDatePicker-22518a24.js.map} +1 -1
  94. package/amd/InputPassword-9a1d268d.js +1 -1
  95. package/amd/InputSensitiveText-e6519508.js +1 -1
  96. package/amd/InputText-8712623e.js +1 -1
  97. package/amd/Label-286bacb8.js +1 -1
  98. package/amd/LabelValueLayout-36bc12e2.js +1 -1
  99. package/amd/{Layer-64bf71ad.js → Layer-1971eddb.js} +2 -2
  100. package/amd/{Layer-64bf71ad.js.map → Layer-1971eddb.js.map} +1 -1
  101. package/amd/{LayerHost-1a734852.js → LayerHost-0b288129.js} +2 -2
  102. package/amd/{LayerHost-1a734852.js.map → LayerHost-0b288129.js.map} +1 -1
  103. package/amd/LayerManager-426c669d.js +2 -0
  104. package/amd/{LayerManager-5ba8e6ed.js.map → LayerManager-426c669d.js.map} +1 -1
  105. package/amd/Legend-e09a1733.js +1 -1
  106. package/amd/LineAreaChart-08247f99.js +1 -1
  107. package/amd/Link-20f7e72d.js +1 -1
  108. package/amd/List-8d95a024.js +1 -1
  109. package/amd/{ListItemLayout-23390b90.js → ListItemLayout-2dbba38a.js} +2 -2
  110. package/amd/{ListItemLayout-23390b90.js.map → ListItemLayout-2dbba38a.js.map} +1 -1
  111. package/amd/ListView-fe5d340a.js +1 -1
  112. package/amd/LiveRegion-dbefb95b.js +2 -0
  113. package/amd/{LiveRegion-1553833d.js.map → LiveRegion-dbefb95b.js.map} +1 -1
  114. package/amd/{MaxLengthLiveRegion-5172c87a.js → MaxLengthLiveRegion-8f9f7247.js} +2 -2
  115. package/amd/{MaxLengthLiveRegion-5172c87a.js.map → MaxLengthLiveRegion-8f9f7247.js.map} +1 -1
  116. package/amd/Menu-4b445ba5.js +1 -1
  117. package/amd/MenuButton-8428a792.js +1 -1
  118. package/amd/MenuItem-f3de5e35.js +1 -1
  119. package/amd/Message-bbea21c4.js +1 -1
  120. package/amd/MessageBanner-5c18f23c.js +1 -1
  121. package/amd/MessageLayer-cb7cbb34.js +2 -0
  122. package/amd/{MessageLayer-24870def.js.map → MessageLayer-cb7cbb34.js.map} +1 -1
  123. package/amd/MessageToast-9e27adaa.js +1 -1
  124. package/amd/MessagesManager-4d5f6217.js +1 -1
  125. package/amd/MeterBar-e8e95881.js +1 -1
  126. package/amd/MeterCircle-46d479de.js +1 -1
  127. package/amd/Modal-95bf034f.js +1 -1
  128. package/amd/{MonthView-15e7e2cc.js → MonthView-93a866a6.js} +2 -2
  129. package/amd/{MonthView-15e7e2cc.js.map → MonthView-93a866a6.js.map} +1 -1
  130. package/amd/NavigationListItem-dea4c9e9.js +1 -1
  131. package/amd/NavigationListLinkItem-e376a039.js +1 -1
  132. package/amd/NumberInputText-4a58ed41.js +1 -1
  133. package/amd/OverflowTabBarItem-f23d35fd.js +1 -1
  134. package/amd/PRIVATE_BaseCardView.js +1 -1
  135. package/amd/PRIVATE_BaseDiagram.js +1 -1
  136. package/amd/PRIVATE_BaseSelector.js +1 -1
  137. package/amd/PRIVATE_BaseSwatchView.js +1 -1
  138. package/amd/PRIVATE_Chart.js +1 -1
  139. package/amd/PRIVATE_CheckboxControl.js +1 -1
  140. package/amd/PRIVATE_CheckboxRadioField.js +1 -1
  141. package/amd/PRIVATE_ClearIcon.js +1 -1
  142. package/amd/PRIVATE_CollapsibleNavigationList.js +1 -1
  143. package/amd/PRIVATE_DatePickerHeader.js +1 -1
  144. package/amd/PRIVATE_DatePickerLayout.js +1 -1
  145. package/amd/PRIVATE_EmbeddedIconButton.js +1 -1
  146. package/amd/PRIVATE_Expander.js +1 -1
  147. package/amd/PRIVATE_FormControls.js +1 -1
  148. package/amd/PRIVATE_IconSwitchButton.js +1 -1
  149. package/amd/PRIVATE_Icons/CheckboxCrossed.js +1 -1
  150. package/amd/PRIVATE_Icons/CheckboxMixed.js +1 -1
  151. package/amd/PRIVATE_Icons/CheckboxOff.js +1 -1
  152. package/amd/PRIVATE_Icons/CheckboxOn.js +1 -1
  153. package/amd/PRIVATE_Icons/DragV.js +1 -1
  154. package/amd/PRIVATE_Icons/None.js +1 -1
  155. package/amd/PRIVATE_List.js +1 -1
  156. package/amd/PRIVATE_Message.js +1 -1
  157. package/amd/PRIVATE_MessageLayer.js +1 -1
  158. package/amd/PRIVATE_MonthView.js +1 -1
  159. package/amd/PRIVATE_MonthYearGridView.js +1 -1
  160. package/amd/PRIVATE_PlotArea.js +1 -1
  161. package/amd/PRIVATE_RevealToggleIcon.js +1 -1
  162. package/amd/PRIVATE_RichSelectionCommon.js +1 -1
  163. package/amd/PRIVATE_SelectCommon.js +1 -1
  164. package/amd/PRIVATE_StyledCard.js +1 -1
  165. package/amd/PRIVATE_StyledCheckbox.js +1 -1
  166. package/amd/PRIVATE_StyledSwitch.js +1 -1
  167. package/amd/PRIVATE_SwatchFlexView.js +1 -1
  168. package/amd/PRIVATE_Table.js +1 -1
  169. package/amd/PRIVATE_TableDisplay.js +1 -1
  170. package/amd/PRIVATE_TableList.js +1 -1
  171. package/amd/PRIVATE_ThemedIcons/CalendarIcon.js +1 -1
  172. package/amd/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +1 -1
  173. package/amd/PRIVATE_ThemedIcons/ChartPanIcon.js +1 -1
  174. package/amd/PRIVATE_ThemedIcons/ChartZoomIcon.js +1 -1
  175. package/amd/PRIVATE_ThemedIcons/CheckIcon.js +1 -1
  176. package/amd/PRIVATE_ThemedIcons/CheckboxCrossedIcon.js +1 -1
  177. package/amd/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +1 -1
  178. package/amd/PRIVATE_ThemedIcons/CheckboxOffIcon.js +1 -1
  179. package/amd/PRIVATE_ThemedIcons/CheckboxOnIcon.js +1 -1
  180. package/amd/PRIVATE_ThemedIcons/CloseIcon.js +1 -1
  181. package/amd/PRIVATE_ThemedIcons/CollapseIcon.js +1 -1
  182. package/amd/PRIVATE_ThemedIcons/CollapseUpIcon.js +1 -1
  183. package/amd/PRIVATE_ThemedIcons/DecrementIcon.js +1 -1
  184. package/amd/PRIVATE_ThemedIcons/DeleteIcon.js +1 -1
  185. package/amd/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +1 -1
  186. package/amd/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +1 -1
  187. package/amd/PRIVATE_ThemedIcons/DragHandleIcon.js +1 -1
  188. package/amd/PRIVATE_ThemedIcons/DropdownArrowIcon.js +1 -1
  189. package/amd/PRIVATE_ThemedIcons/ExpandIcon.js +1 -1
  190. package/amd/PRIVATE_ThemedIcons/HelpIcon.js +1 -1
  191. package/amd/PRIVATE_ThemedIcons/IncrementIcon.js +1 -1
  192. package/amd/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +1 -1
  193. package/amd/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +1 -1
  194. package/amd/PRIVATE_ThemedIcons/MessageErrorIcon.js +1 -1
  195. package/amd/PRIVATE_ThemedIcons/MessageInfoIcon.js +1 -1
  196. package/amd/PRIVATE_ThemedIcons/MessageWarningIcon.js +1 -1
  197. package/amd/PRIVATE_ThemedIcons/MinusIcon.js +1 -1
  198. package/amd/PRIVATE_ThemedIcons/NavDownIcon.js +1 -1
  199. package/amd/PRIVATE_ThemedIcons/None.js +1 -1
  200. package/amd/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +1 -1
  201. package/amd/PRIVATE_ThemedIcons/PlusIcon.js +1 -1
  202. package/amd/PRIVATE_ThemedIcons/RadioOffIcon.js +1 -1
  203. package/amd/PRIVATE_ThemedIcons/RadioOnIcon.js +1 -1
  204. package/amd/PRIVATE_ThemedIcons/SortAscendingIcon.js +1 -1
  205. package/amd/PRIVATE_ThemedIcons/SortDescendingIcon.js +1 -1
  206. package/amd/PRIVATE_ThemedIcons/ViewHideIcon.js +1 -1
  207. package/amd/PRIVATE_ThemedIcons/ViewIcon.js +1 -1
  208. package/amd/PRIVATE_TimeComponent.js +1 -1
  209. package/amd/PRIVATE_TruncatingLink.js +1 -1
  210. package/amd/PRIVATE_VisOverview.js +1 -1
  211. package/amd/PRIVATE_VisStatusMessage.js +1 -1
  212. package/amd/PRIVATE_VisTabularDatatip.js +1 -1
  213. package/amd/PictoChart-1262b65e.js +1 -1
  214. package/amd/PieChart-0e4eacd7.js +1 -1
  215. package/amd/{Popup-575d49f7.js → Popup-feb5bf60.js} +2 -2
  216. package/amd/{Popup-575d49f7.js.map → Popup-feb5bf60.js.map} +1 -1
  217. package/amd/{ProgressBar-4074bb67.js → ProgressBar-d7aa356a.js} +2 -2
  218. package/amd/{ProgressBar-4074bb67.js.map → ProgressBar-d7aa356a.js.map} +1 -1
  219. package/amd/ProgressButton-71c1dda9.js +1 -1
  220. package/amd/ProgressButtonLabelLayout-4f7aa87d.js +1 -1
  221. package/amd/{ProgressCircle-df7641ef.js → ProgressCircle-8a94e670.js} +2 -2
  222. package/amd/{ProgressCircle-df7641ef.js.map → ProgressCircle-8a94e670.js.map} +1 -1
  223. package/amd/RadioItem-c5f0676c.js +1 -1
  224. package/amd/RadioSet-c3ad77d7.js +1 -1
  225. package/amd/RatingGauge-d0e95f46.js +1 -1
  226. package/amd/ReadonlyTextFieldInput-41384d7e.js +1 -1
  227. package/amd/{ReferenceLineArea-27698a8f.js → ReferenceLineArea-450530dd.js} +2 -2
  228. package/amd/{ReferenceLineArea-27698a8f.js.map → ReferenceLineArea-450530dd.js.map} +1 -1
  229. package/amd/RemovableNavigationListItem-5e5a9068.js +1 -1
  230. package/amd/RemovableTabBarItem-ce314e8b.js +1 -1
  231. package/amd/ReorderableTabBar-3ff37ba7.js +1 -1
  232. package/amd/RevealToggleIcon-bd35b257.js +1 -1
  233. package/amd/ScatterChart-af0d8118.js +1 -1
  234. package/amd/SectionalLegend-aa7254ff.js +1 -1
  235. package/amd/{SectionedContent-32ec078e.js → SectionedContent-a89bafc6.js} +2 -2
  236. package/amd/{SectionedContent-32ec078e.js.map → SectionedContent-a89bafc6.js.map} +1 -1
  237. package/amd/SegmentStyles.styles.css +12 -9
  238. package/amd/SegmentStyles.styles2.css +9 -12
  239. package/amd/SelectMobileFieldInput-b1524b1e.js +1 -1
  240. package/amd/SelectMultiple-f70618cf.js +1 -1
  241. package/amd/SelectSingle-971886ab.js +1 -1
  242. package/amd/{SelectorAll-e9acae58.js → SelectorAll-6652fd3f.js} +2 -2
  243. package/amd/{SelectorAll-e9acae58.js.map → SelectorAll-6652fd3f.js.map} +1 -1
  244. package/amd/Sheet-1d02491d.js +1 -1
  245. package/amd/SortControl-ec2db600.js +1 -1
  246. package/amd/SplitMenuButton-bf59897c.js +1 -1
  247. package/amd/StyledCard-4baafee3.js +1 -1
  248. package/amd/{StyledLabelValueLayout-16ac9a5e.js → StyledLabelValueLayout-907bc2d3.js} +2 -2
  249. package/amd/{StyledLabelValueLayout-16ac9a5e.js.map → StyledLabelValueLayout-907bc2d3.js.map} +1 -1
  250. package/amd/StyledSwitch-0881e505.js +1 -1
  251. package/amd/StyledTextField-f533c9e9.js +1 -1
  252. package/amd/Submenu-99c05da1.js +1 -1
  253. package/amd/TabBar-8ab0fd0d.js +1 -1
  254. package/amd/TabBarContextMenu-06f7beb2.js +1 -1
  255. package/amd/TabBarLayout-4eb6c732.js +1 -1
  256. package/amd/TabBarMixed-41258b80.js +1 -1
  257. package/amd/{TabBarMixedSeparator-c77d8e96.js → TabBarMixedSeparator-019d266b.js} +2 -2
  258. package/amd/{TabBarMixedSeparator-c77d8e96.js.map → TabBarMixedSeparator-019d266b.js.map} +1 -1
  259. package/amd/Table-2d35f829.js +1 -1
  260. package/amd/TableColGroup-30abc1ce.js +1 -1
  261. package/amd/TableDisplay-e3a86f26.js +1 -1
  262. package/amd/TagCloud-4970d243.js +1 -1
  263. package/amd/TextArea-6b324b42.js +1 -1
  264. package/amd/TextAreaAutosize-5d9bf2b2.js +1 -1
  265. package/amd/TextField-1da09ebc.js +1 -1
  266. package/amd/TextFieldInput-f8635c62.js +1 -1
  267. package/amd/Theme-redwood/theme.css +147 -147
  268. package/amd/Theme-stable/theme.css +255 -255
  269. package/amd/TimeComponentCanvas2D-a17f51f1.js +1 -1
  270. package/amd/ToggleButton-c9e433d4.js +1 -1
  271. package/amd/Toolbar-663b9254.js +1 -1
  272. package/amd/TruncatingBadge-80a8c903.js +1 -1
  273. package/amd/TruncatingLink-aa577ffc.js +1 -1
  274. package/amd/TruncatingText-bdbdd4d4.js +1 -1
  275. package/amd/UNSAFE_AccordionItemMultiple.js +1 -1
  276. package/amd/UNSAFE_AccordionItemSingle.js +1 -1
  277. package/amd/UNSAFE_ActionCard.js +1 -1
  278. package/amd/UNSAFE_BarChart/__test__/BarChart.spec.js +1 -1
  279. package/amd/UNSAFE_BarChart.js +1 -1
  280. package/amd/UNSAFE_BareButton.js +1 -1
  281. package/amd/UNSAFE_BaseButton.js +1 -1
  282. package/amd/UNSAFE_Button.js +1 -1
  283. package/amd/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +1 -1
  284. package/amd/UNSAFE_ButtonSet.js +1 -1
  285. package/amd/UNSAFE_ButtonSetButton.js +1 -1
  286. package/amd/UNSAFE_ButtonSetIconButton.js +1 -1
  287. package/amd/UNSAFE_ButtonSetItem.js +1 -1
  288. package/amd/UNSAFE_ButtonSetMultiple.js +1 -1
  289. package/amd/UNSAFE_ButtonSetSingle.js +1 -1
  290. package/amd/UNSAFE_Card.js +1 -1
  291. package/amd/UNSAFE_CardFlexView.js +1 -1
  292. package/amd/UNSAFE_CardGridView.js +1 -1
  293. package/amd/UNSAFE_Center.js +1 -1
  294. package/amd/UNSAFE_Checkbox.js +1 -1
  295. package/amd/UNSAFE_CheckboxItem.js +1 -1
  296. package/amd/UNSAFE_CheckboxItem.js.map +1 -1
  297. package/amd/UNSAFE_CheckboxRadioField.js +1 -1
  298. package/amd/UNSAFE_CheckboxSet.js +1 -1
  299. package/amd/UNSAFE_CheckboxSet.js.map +1 -1
  300. package/amd/UNSAFE_Chip.js +1 -1
  301. package/amd/UNSAFE_Collapsible.js +1 -1
  302. package/amd/UNSAFE_ColorPalette.js +1 -1
  303. package/amd/UNSAFE_ColorPicker.js +1 -1
  304. package/amd/UNSAFE_ColorSwatch.js +1 -1
  305. package/amd/UNSAFE_ComboChart.js +1 -1
  306. package/amd/UNSAFE_ComponentMessage.js +1 -1
  307. package/amd/UNSAFE_ContainerDiagram.js +1 -1
  308. package/amd/UNSAFE_ConveyorBelt.js +1 -1
  309. package/amd/UNSAFE_DatePicker.js +1 -1
  310. package/amd/UNSAFE_Diagram.js +1 -1
  311. package/amd/UNSAFE_Dialog.js +1 -1
  312. package/amd/UNSAFE_DragHandle.js +1 -1
  313. package/amd/UNSAFE_DrawerLayout.js +1 -1
  314. package/amd/UNSAFE_DrawerPopup.js +1 -1
  315. package/amd/UNSAFE_Dropdown.js +1 -1
  316. package/amd/UNSAFE_Environment.js +1 -1
  317. package/amd/UNSAFE_ExpandableList.js +1 -1
  318. package/amd/UNSAFE_FilePicker.js +1 -1
  319. package/amd/UNSAFE_FlatTreeView.js +1 -1
  320. package/amd/UNSAFE_Flex.js +1 -1
  321. package/amd/UNSAFE_Floating.js +1 -1
  322. package/amd/UNSAFE_FormLayout.js +1 -1
  323. package/amd/UNSAFE_Gantt.js +1 -1
  324. package/amd/UNSAFE_Grid.js +1 -1
  325. package/amd/UNSAFE_HighlightText.js +1 -1
  326. package/amd/UNSAFE_Icon.js +1 -1
  327. package/amd/UNSAFE_IconButton.js +1 -1
  328. package/amd/UNSAFE_IconMenuButton.js +1 -1
  329. package/amd/UNSAFE_IconProgressButton.js +1 -1
  330. package/amd/UNSAFE_IconToggleButton.js +1 -1
  331. package/amd/UNSAFE_Indexer.js +1 -1
  332. package/amd/UNSAFE_InlineSelectSingle.js +1 -1
  333. package/amd/UNSAFE_InputColor.js +1 -1
  334. package/amd/UNSAFE_InputDateMask/themes/SegmentStyles.css.js +1 -1
  335. package/amd/UNSAFE_InputDateMask.js +1 -1
  336. package/amd/UNSAFE_InputDatePicker.js +1 -1
  337. package/amd/UNSAFE_InputPassword.js +1 -1
  338. package/amd/UNSAFE_InputSensitiveText.js +1 -1
  339. package/amd/UNSAFE_InputText.js +1 -1
  340. package/amd/UNSAFE_InputTimeMask/themes/SegmentStyles.css.js +1 -1
  341. package/amd/UNSAFE_InputTimeMask.js +1 -1
  342. package/amd/UNSAFE_InputTimeMask.js.map +1 -1
  343. package/amd/UNSAFE_Label.js +1 -1
  344. package/amd/UNSAFE_LabelValueLayout.js +1 -1
  345. package/amd/UNSAFE_LabelledLink.js +1 -1
  346. package/amd/UNSAFE_Layer.js +1 -1
  347. package/amd/UNSAFE_Legend.js +1 -1
  348. package/amd/UNSAFE_LineAreaChart.js +1 -1
  349. package/amd/UNSAFE_Link.js +1 -1
  350. package/amd/UNSAFE_ListItemLayout.js +1 -1
  351. package/amd/UNSAFE_ListView.js +1 -1
  352. package/amd/UNSAFE_LiveRegion.js +1 -1
  353. package/amd/UNSAFE_Menu.js +1 -1
  354. package/amd/UNSAFE_MenuButton.js +1 -1
  355. package/amd/UNSAFE_MessageBanner.js +1 -1
  356. package/amd/UNSAFE_MessageToast.js +1 -1
  357. package/amd/UNSAFE_MeterBar.js +1 -1
  358. package/amd/UNSAFE_MeterCircle.js +1 -1
  359. package/amd/UNSAFE_Modal.js +1 -1
  360. package/amd/UNSAFE_NavigationList.js +1 -1
  361. package/amd/UNSAFE_NavigationListCommon.js +1 -1
  362. package/amd/UNSAFE_NumberInputText.js +1 -1
  363. package/amd/UNSAFE_OverflowTabBar.js +1 -1
  364. package/amd/UNSAFE_PictoChart.js +1 -1
  365. package/amd/UNSAFE_PieChart/__test__/PieChart.spec.js +1 -1
  366. package/amd/UNSAFE_PieChart.js +1 -1
  367. package/amd/UNSAFE_Popup.js +1 -1
  368. package/amd/UNSAFE_ProgressBar.js +1 -1
  369. package/amd/UNSAFE_ProgressButton.js +1 -1
  370. package/amd/UNSAFE_ProgressButtonLabelLayout.js +1 -1
  371. package/amd/UNSAFE_ProgressCircle.js +1 -1
  372. package/amd/UNSAFE_RadioItem.js +1 -1
  373. package/amd/UNSAFE_RadioSet.js +1 -1
  374. package/amd/UNSAFE_RatingGauge.js +1 -1
  375. package/amd/UNSAFE_ReorderableTabBar.js +1 -1
  376. package/amd/UNSAFE_RichCheckboxSet.js +1 -1
  377. package/amd/UNSAFE_RichCheckboxSet.js.map +1 -1
  378. package/amd/UNSAFE_RichRadioSet.js +1 -1
  379. package/amd/UNSAFE_RichSelectionItem.js +1 -1
  380. package/amd/UNSAFE_RichSelectionItem.js.map +1 -1
  381. package/amd/UNSAFE_ScatterChart.js +1 -1
  382. package/amd/UNSAFE_SectionalLegend.js +1 -1
  383. package/amd/UNSAFE_SelectMultiple.js +1 -1
  384. package/amd/UNSAFE_SelectSingle.js +1 -1
  385. package/amd/UNSAFE_SelectionCard.js +1 -1
  386. package/amd/UNSAFE_Selector.js +1 -1
  387. package/amd/UNSAFE_SelectorAll.js +1 -1
  388. package/amd/UNSAFE_Sheet/__test__/Sheet.spec.js +1 -1
  389. package/amd/UNSAFE_Sheet.js +1 -1
  390. package/amd/UNSAFE_SortControl.js +1 -1
  391. package/amd/UNSAFE_SplitMenuButton.js +1 -1
  392. package/amd/UNSAFE_Switch.js +1 -1
  393. package/amd/UNSAFE_TabBar.js +1 -1
  394. package/amd/UNSAFE_TabBarCommon.js +1 -1
  395. package/amd/UNSAFE_TabBarMixed.js +1 -1
  396. package/amd/UNSAFE_TableView.js +1 -1
  397. package/amd/UNSAFE_TagCloud.js +1 -1
  398. package/amd/UNSAFE_TextArea.js +1 -1
  399. package/amd/UNSAFE_TextAreaAutosize.js +1 -1
  400. package/amd/UNSAFE_TextField.js +1 -1
  401. package/amd/UNSAFE_ToggleButton.js +1 -1
  402. package/amd/UNSAFE_Toolbar/tests/Toolbar.spec.js +1 -1
  403. package/amd/UNSAFE_Toolbar.js +1 -1
  404. package/amd/UNSAFE_Train.js +1 -1
  405. package/amd/UNSAFE_TruncatingBadge.js +1 -1
  406. package/amd/UNSAFE_TruncatingText.js +1 -1
  407. package/amd/UNSAFE_UserAssistance.js +1 -1
  408. package/amd/UNSAFE_View.js +1 -1
  409. package/amd/UNSAFE_VirtualizedListView.js +1 -1
  410. package/amd/UNSAFE_VisInvalidDataMessage.js +1 -1
  411. package/amd/UNSAFE_VisNoDataMessage.js +1 -1
  412. package/amd/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +1 -1
  413. package/amd/UNSAFE_VisProgressiveLoader.js +1 -1
  414. package/amd/UNSAFE_WindowOverlay.js +1 -1
  415. package/amd/{View-215ec211.js → View-35699bb2.js} +2 -2
  416. package/amd/{View-215ec211.js.map → View-35699bb2.js.map} +1 -1
  417. package/amd/{VisInvalidDataMessage-139a0bf8.js → VisInvalidDataMessage-8e7534a7.js} +2 -2
  418. package/amd/{VisInvalidDataMessage-139a0bf8.js.map → VisInvalidDataMessage-8e7534a7.js.map} +1 -1
  419. package/amd/VisNoDataMessage-fc41dae3.js +2 -0
  420. package/amd/{VisNoDataMessage-e4eb08f6.js.map → VisNoDataMessage-fc41dae3.js.map} +1 -1
  421. package/amd/{VisPlaceholder-a7cac338.js → VisPlaceholder-1bbfb2f0.js} +2 -2
  422. package/amd/{VisPlaceholder-a7cac338.js.map → VisPlaceholder-1bbfb2f0.js.map} +1 -1
  423. package/amd/{VisProgressiveLoader-10192b41.js → VisProgressiveLoader-eeac2e00.js} +2 -2
  424. package/amd/{VisProgressiveLoader-10192b41.js.map → VisProgressiveLoader-eeac2e00.js.map} +1 -1
  425. package/amd/{VisStatusMessage-307f20e9.js → VisStatusMessage-ac3a90aa.js} +2 -2
  426. package/amd/{VisStatusMessage-307f20e9.js.map → VisStatusMessage-ac3a90aa.js.map} +1 -1
  427. package/amd/{VisTabularDatatip-d6b9f28f.js → VisTabularDatatip-93d56ae8.js} +2 -2
  428. package/amd/{VisTabularDatatip-d6b9f28f.js.map → VisTabularDatatip-93d56ae8.js.map} +1 -1
  429. package/amd/{WindowOverlay-55232139.js → WindowOverlay-11d88211.js} +2 -2
  430. package/amd/{WindowOverlay-55232139.js.map → WindowOverlay-11d88211.js.map} +1 -1
  431. package/amd/{YearsGridView-ef191926.js → YearsGridView-09b45b4e.js} +2 -2
  432. package/amd/{YearsGridView-ef191926.js.map → YearsGridView-09b45b4e.js.map} +1 -1
  433. package/amd/hoc/PRIVATE_withDirectionIcon.js +1 -1
  434. package/amd/hoc/PRIVATE_withThemeIcon.js +1 -1
  435. package/amd/hoc/UNSAFE_withThemeProps.js +1 -1
  436. package/amd/hooks/PRIVATE_useChartContextMenu.js +1 -1
  437. package/amd/hooks/PRIVATE_useChartDatatip.js +1 -1
  438. package/amd/hooks/PRIVATE_useChartEvents.js +1 -1
  439. package/amd/hooks/PRIVATE_useChartMarquee.js +1 -1
  440. package/amd/hooks/PRIVATE_useCollectionFocusRing.js +1 -1
  441. package/amd/hooks/PRIVATE_useCssVars.js +1 -1
  442. package/amd/hooks/PRIVATE_useCurrentKey.js +1 -1
  443. package/amd/hooks/PRIVATE_useDatatip.js +1 -1
  444. package/amd/hooks/PRIVATE_useDetectHorizontalOverflow.js +1 -1
  445. package/amd/hooks/PRIVATE_useFloating.js +1 -1
  446. package/amd/hooks/PRIVATE_useItemAction.js +1 -1
  447. package/amd/hooks/PRIVATE_useListCommon.js +1 -1
  448. package/amd/hooks/PRIVATE_useOutsideMousedown.js +1 -1
  449. package/amd/hooks/PRIVATE_useRadioFocusManager.js +1 -1
  450. package/amd/hooks/PRIVATE_useReorderable.js +1 -1
  451. package/amd/hooks/PRIVATE_useRovingTabIndexContainer.js +1 -1
  452. package/amd/hooks/PRIVATE_useSelection.js +1 -1
  453. package/amd/hooks/PRIVATE_useTabBar.js +1 -1
  454. package/amd/hooks/PRIVATE_useTabbableModeSet.js +1 -1
  455. package/amd/hooks/PRIVATE_useTooltipOnTruncation.js +1 -1
  456. package/amd/hooks/PRIVATE_useVisContextMenu.js +1 -1
  457. package/amd/hooks/PRIVATE_useVisDragModeControls.js +1 -1
  458. package/amd/hooks/PRIVATE_useVisEvents.js +1 -1
  459. package/amd/hooks/PRIVATE_useVisMeterEvents.js +1 -1
  460. package/amd/hooks/PRIVATE_useVisSelection.js +1 -1
  461. package/amd/hooks/UNSAFE_useBareButton.js +1 -1
  462. package/amd/hooks/UNSAFE_useColorScheme.js +1 -1
  463. package/amd/hooks/UNSAFE_useCurrentBgColor.js +1 -1
  464. package/amd/hooks/UNSAFE_useDensity.js +1 -1
  465. package/amd/hooks/UNSAFE_useHiddenTestMethod.js +1 -1
  466. package/amd/hooks/UNSAFE_useOutsideClick.js +1 -1
  467. package/amd/hooks/UNSAFE_usePrefixSuffix.js +1 -1
  468. package/amd/hooks/UNSAFE_useScale.js +1 -1
  469. package/amd/hooks/UNSAFE_useTestId.js +1 -1
  470. package/amd/hooks/UNSAFE_useTheme.js +1 -1
  471. package/amd/hooks/UNSAFE_useThemeInterpolations.js +1 -1
  472. package/amd/hooks/UNSAFE_useTooltip.js +1 -1
  473. package/amd/hooks/UNSAFE_useTranslationBundle.js +1 -1
  474. package/amd/hooks/UNSAFE_useUser.js +1 -1
  475. package/amd/{index-4f562976.js → index-5899fd61.js} +2 -2
  476. package/amd/index-5899fd61.js.map +1 -0
  477. package/amd/listViewSelectionTests-c5492828.js +1 -1
  478. package/amd/popupUtils-d42db8bf.js +2 -0
  479. package/amd/{popupUtils-71ea5dd1.js.map → popupUtils-d42db8bf.js.map} +1 -1
  480. package/amd/render-0e124b25.js +2 -0
  481. package/amd/{render-40923005.js.map → render-0e124b25.js.map} +1 -1
  482. package/amd/{tabbableUtils-7fa099af.js → tabbableUtils-0f5a148a.js} +2 -2
  483. package/amd/{tabbableUtils-7fa099af.js.map → tabbableUtils-0f5a148a.js.map} +1 -1
  484. package/amd/{testData-db08ddc1.js → testData-0ee09770.js} +2 -2
  485. package/amd/{testData-db08ddc1.js.map → testData-0ee09770.js.map} +1 -1
  486. package/amd/{testData-d92d6bdb.js → testData-c84b4335.js} +2 -2
  487. package/amd/{testData-d92d6bdb.js.map → testData-c84b4335.js.map} +1 -1
  488. package/amd/{tooltipUtils-0761844d.js → tooltipUtils-66f3844a.js} +2 -2
  489. package/amd/{tooltipUtils-0761844d.js.map → tooltipUtils-66f3844a.js.map} +1 -1
  490. package/amd/useBareButton-0afa84c2.js +1 -1
  491. package/amd/useCellNavigation-fe5a7be7.js +1 -1
  492. package/amd/useChartContextMenu-1490ade6.js +1 -1
  493. package/amd/{useChartDatatip-1255260f.js → useChartDatatip-1dc977ae.js} +2 -2
  494. package/amd/{useChartDatatip-1255260f.js.map → useChartDatatip-1dc977ae.js.map} +1 -1
  495. package/amd/{useColorScheme-6cb3a3b7.js → useColorScheme-097c31ff.js} +2 -2
  496. package/amd/{useColorScheme-6cb3a3b7.js.map → useColorScheme-097c31ff.js.map} +1 -1
  497. package/amd/useContextMenu-c4fc924d.js +1 -1
  498. package/amd/{useCssVars-d0c0bfa2.js → useCssVars-3194b2f6.js} +2 -2
  499. package/amd/{useCssVars-d0c0bfa2.js.map → useCssVars-3194b2f6.js.map} +1 -1
  500. package/amd/{useCurrentBgColor-3044b50a.js → useCurrentBgColor-6f440613.js} +2 -2
  501. package/amd/{useCurrentBgColor-3044b50a.js.map → useCurrentBgColor-6f440613.js.map} +1 -1
  502. package/amd/useCurrentKey-5749e7fb.js +2 -0
  503. package/amd/{useCurrentKey-05038cac.js.map → useCurrentKey-5749e7fb.js.map} +1 -1
  504. package/amd/{useDatatip-656c8df6.js → useDatatip-df022581.js} +2 -2
  505. package/amd/{useDatatip-656c8df6.js.map → useDatatip-df022581.js.map} +1 -1
  506. package/amd/{useDensity-622a2d34.js → useDensity-8a10fc70.js} +2 -2
  507. package/amd/{useDensity-622a2d34.js.map → useDensity-8a10fc70.js.map} +1 -1
  508. package/amd/useDisplayValue-a15b1a34.js +1 -1
  509. package/amd/{useExpandCollapse-d8799966.js → useExpandCollapse-41860b2a.js} +2 -2
  510. package/amd/{useExpandCollapse-d8799966.js.map → useExpandCollapse-41860b2a.js.map} +1 -1
  511. package/amd/{useFloating-0bdf9133.js → useFloating-5cb85d2b.js} +2 -2
  512. package/amd/{useFloating-0bdf9133.js.map → useFloating-5cb85d2b.js.map} +1 -1
  513. package/amd/{useHiddenTestMethod-6bbe8a43.js → useHiddenTestMethod-8321d341.js} +2 -2
  514. package/amd/{useHiddenTestMethod-6bbe8a43.js.map → useHiddenTestMethod-8321d341.js.map} +1 -1
  515. package/amd/useKeyboardEvents-f0419128.js +2 -0
  516. package/amd/{useKeyboardEvents-191a444a.js.map → useKeyboardEvents-f0419128.js.map} +1 -1
  517. package/amd/useLegendContextMenu-9b6f6083.js +1 -1
  518. package/amd/useMeterDatatip-5598534c.js +2 -0
  519. package/amd/{useMeterDatatip-d6977d41.js.map → useMeterDatatip-5598534c.js.map} +1 -1
  520. package/amd/useNavigation-8d7dae30.js +1 -1
  521. package/amd/{useOutsideClick-ace4f686.js → useOutsideClick-b9b661a4.js} +2 -2
  522. package/amd/{useOutsideClick-ace4f686.js.map → useOutsideClick-b9b661a4.js.map} +1 -1
  523. package/amd/{useOutsideMousedown-62fa309c.js → useOutsideMousedown-cb88da60.js} +2 -2
  524. package/amd/{useOutsideMousedown-62fa309c.js.map → useOutsideMousedown-cb88da60.js.map} +1 -1
  525. package/amd/usePopupAnimation-dc282b02.js +2 -0
  526. package/amd/{usePopupAnimation-389749fc.js.map → usePopupAnimation-dc282b02.js.map} +1 -1
  527. package/amd/usePrefixSuffix-dd2cae55.js +2 -0
  528. package/amd/{usePrefixSuffix-7371ec52.js.map → usePrefixSuffix-dd2cae55.js.map} +1 -1
  529. package/amd/useRadioFocusManager-462e28eb.js +2 -0
  530. package/amd/{useRadioFocusManager-c613d2fc.js.map → useRadioFocusManager-462e28eb.js.map} +1 -1
  531. package/amd/{useReorderableItem-6ab59e42.js → useReorderableItem-0f9d7742.js} +2 -2
  532. package/amd/{useReorderableItem-6ab59e42.js.map → useReorderableItem-0f9d7742.js.map} +1 -1
  533. package/amd/{useRovingTabIndexContainer-a8b8ab8f.js → useRovingTabIndexContainer-9aa2fbcf.js} +2 -2
  534. package/amd/{useRovingTabIndexContainer-a8b8ab8f.js.map → useRovingTabIndexContainer-9aa2fbcf.js.map} +1 -1
  535. package/amd/{useScale-404175fb.js → useScale-04a448c3.js} +2 -2
  536. package/amd/{useScale-404175fb.js.map → useScale-04a448c3.js.map} +1 -1
  537. package/amd/useSelectCommon-be138f8d.js +1 -1
  538. package/amd/{useSelectDrill-a749b7f8.js → useSelectDrill-2a3c2b81.js} +2 -2
  539. package/amd/{useSelectDrill-a749b7f8.js.map → useSelectDrill-2a3c2b81.js.map} +1 -1
  540. package/amd/{useSelection-8f66e2ab.js → useSelection-00add7e4.js} +2 -2
  541. package/amd/{useSelection-8f66e2ab.js.map → useSelection-00add7e4.js.map} +1 -1
  542. package/amd/{useSelection-48cb7bdf.js → useSelection-aecb6b23.js} +2 -2
  543. package/amd/{useSelection-48cb7bdf.js.map → useSelection-aecb6b23.js.map} +1 -1
  544. package/amd/useTabBar-50c4da2d.js +1 -1
  545. package/amd/{useTabBarItemTooltip-0c13e9b4.js → useTabBarItemTooltip-fac844e2.js} +2 -2
  546. package/amd/{useTabBarItemTooltip-0c13e9b4.js.map → useTabBarItemTooltip-fac844e2.js.map} +1 -1
  547. package/amd/{useTestId-6160e7a2.js → useTestId-f4240cbd.js} +2 -2
  548. package/amd/{useTestId-6160e7a2.js.map → useTestId-f4240cbd.js.map} +1 -1
  549. package/amd/{useTheme-59bafcbb.js → useTheme-da27e1d1.js} +2 -2
  550. package/amd/{useTheme-59bafcbb.js.map → useTheme-da27e1d1.js.map} +1 -1
  551. package/amd/useThemeInterpolations-cc05b0f0.js +2 -0
  552. package/amd/{useThemeInterpolations-53e9343f.js.map → useThemeInterpolations-cc05b0f0.js.map} +1 -1
  553. package/amd/useTooltip-c8aaf38a.js +2 -0
  554. package/amd/{useTooltip-5615359f.js.map → useTooltip-c8aaf38a.js.map} +1 -1
  555. package/amd/{useTooltipControlled-0e181f1a.js → useTooltipControlled-af5409d4.js} +2 -2
  556. package/amd/{useTooltipControlled-0e181f1a.js.map → useTooltipControlled-af5409d4.js.map} +1 -1
  557. package/amd/useTooltipOnTruncation-129d7663.js +2 -0
  558. package/amd/{useTooltipOnTruncation-5c26fe42.js.map → useTooltipOnTruncation-129d7663.js.map} +1 -1
  559. package/amd/{useTranslationBundle-db326955.js → useTranslationBundle-e4dd341e.js} +2 -2
  560. package/amd/{useTranslationBundle-db326955.js.map → useTranslationBundle-e4dd341e.js.map} +1 -1
  561. package/amd/{useUser-e0677e8d.js → useUser-08901aba.js} +2 -2
  562. package/amd/{useUser-e0677e8d.js.map → useUser-08901aba.js.map} +1 -1
  563. package/amd/useVisDragModeControls-47a4f754.js +1 -1
  564. package/amd/{useVisEvents-4860cd24.js → useVisEvents-5f18ab46.js} +2 -2
  565. package/amd/{useVisEvents-4860cd24.js.map → useVisEvents-5f18ab46.js.map} +1 -1
  566. package/amd/utils/PRIVATE_collectionUtils.js +1 -1
  567. package/amd/utils/PRIVATE_tabBarUtils.js +1 -1
  568. package/amd/utils/PRIVATE_tooltipUtils.js +1 -1
  569. package/amd/utils/PRIVATE_visTestUtils.js +1 -1
  570. package/amd/utils/UNSAFE_popupUtils.js +1 -1
  571. package/amd/{withDirectionIcon-07d1a4ee.js → withDirectionIcon-cea07c6e.js} +2 -2
  572. package/amd/{withDirectionIcon-07d1a4ee.js.map → withDirectionIcon-cea07c6e.js.map} +1 -1
  573. package/amd/withThemeProps-88ad9dea.js +1 -1
  574. package/cjs/{BaseCardView-b34fe51b.js → BaseCardView-5690e60a.js} +1 -4
  575. package/cjs/{BaseCardView-b34fe51b.js.map → BaseCardView-5690e60a.js.map} +1 -1
  576. package/cjs/{ColorPicker-24ef1a81.js → ColorPicker-3e500453.js} +2 -2
  577. package/cjs/{ColorPicker-24ef1a81.js.map → ColorPicker-3e500453.js.map} +1 -1
  578. package/cjs/PRIVATE_BaseCardView.js +1 -1
  579. package/cjs/PRIVATE_TableList.js +4 -4
  580. package/cjs/{TabBar-ab270d09.js → TabBar-a6629ef8.js} +1 -3
  581. package/cjs/{TabBar-ab270d09.js.map → TabBar-a6629ef8.js.map} +1 -1
  582. package/cjs/Theme-redwood/theme.css +152 -152
  583. package/cjs/Theme-stable/theme.css +164 -164
  584. package/cjs/UNSAFE_CardFlexView.js +1 -1
  585. package/cjs/UNSAFE_CardGridView.js +1 -1
  586. package/cjs/UNSAFE_ColorPicker.js +25 -25
  587. package/cjs/UNSAFE_InputColor.js +2 -2
  588. package/cjs/UNSAFE_ListView.js +53 -53
  589. package/cjs/UNSAFE_OverflowTabBar.js +10 -10
  590. package/cjs/UNSAFE_ReorderableTabBar.js +12 -12
  591. package/cjs/UNSAFE_TabBar.js +10 -10
  592. package/cjs/UNSAFE_TabBarMixed.js +8 -8
  593. package/es/{Chart-c9ad6478.js → Chart-ec6a48d2.js} +2 -2
  594. package/es/{Chart-c9ad6478.js.map → Chart-ec6a48d2.js.map} +1 -1
  595. package/es/CheckboxSet-ac2fc1ca.js +51 -0
  596. package/{amd/CheckboxSet-2242fd14.js.map → es/CheckboxSet-ac2fc1ca.js.map} +1 -1
  597. package/es/FormLayoutVariants.styles.css +14 -14
  598. package/es/FormLayoutVariants.styles2.css +14 -14
  599. package/es/PRIVATE_Chart.js +4 -4
  600. package/es/Theme-redwood/theme.css +435 -435
  601. package/es/Theme-stable/theme.css +552 -552
  602. package/es/UNSAFE_BarChart.js +4 -4
  603. package/es/UNSAFE_CheckboxItem.js +122 -61
  604. package/es/UNSAFE_CheckboxItem.js.map +1 -1
  605. package/es/UNSAFE_CheckboxSet.js +15 -49
  606. package/es/UNSAFE_CheckboxSet.js.map +1 -1
  607. package/es/UNSAFE_ComboChart.js +4 -4
  608. package/es/UNSAFE_FormLayout/themes/redwood/FormLayoutTheme.js +1 -1
  609. package/es/UNSAFE_FormLayout/themes/redwood/FormLayoutVariants.css.js +1 -1
  610. package/es/UNSAFE_FormLayout/themes/stable/FormLayoutTheme.js +1 -1
  611. package/es/UNSAFE_FormLayout/themes/stable/FormLayoutVariants.css.js +1 -1
  612. package/es/UNSAFE_FormLayout.js +1 -1
  613. package/es/UNSAFE_InputDatePicker.js +92 -92
  614. package/es/UNSAFE_LineAreaChart.js +4 -4
  615. package/es/UNSAFE_RichCheckboxSet.js +46 -42
  616. package/es/UNSAFE_RichCheckboxSet.js.map +1 -1
  617. package/es/UNSAFE_RichSelectionItem.js +152 -89
  618. package/es/UNSAFE_RichSelectionItem.js.map +1 -1
  619. package/es/UNSAFE_ScatterChart.js +4 -4
  620. package/es/UNSAFE_TextArea.js +226 -106
  621. package/es/UNSAFE_TextArea.js.map +1 -1
  622. package/es/UNSAFE_TextAreaAutosize.js +1 -1
  623. package/es/useTextAreaAltEnter-ac460f4c.js +61 -0
  624. package/es/useTextAreaAltEnter-ac460f4c.js.map +1 -0
  625. package/package.json +2 -2
  626. package/amd/Button-d541cd67.js +0 -2
  627. package/amd/CheckboxSet-2242fd14.js +0 -2
  628. package/amd/ColorPalette-f05a9dad.js +0 -2
  629. package/amd/ColorPicker-236d84f0.js +0 -2
  630. package/amd/CompactLabelAssistance-7bb76228.js +0 -2
  631. package/amd/DragHandle-652ffa0f.js +0 -2
  632. package/amd/EmbeddedIconButton-c3cb14c0.js +0 -2
  633. package/amd/Flex-71f83c12.js +0 -2
  634. package/amd/HighlightText-365ba020.js +0 -2
  635. package/amd/InputColor-a1fcd3b3.js +0 -2
  636. package/amd/InputDatePicker-b16a1592.js +0 -2
  637. package/amd/LayerManager-5ba8e6ed.js +0 -2
  638. package/amd/LiveRegion-1553833d.js +0 -2
  639. package/amd/MessageLayer-24870def.js +0 -2
  640. package/amd/VisNoDataMessage-e4eb08f6.js +0 -2
  641. package/amd/index-4f562976.js.map +0 -1
  642. package/amd/popupUtils-71ea5dd1.js +0 -2
  643. package/amd/render-40923005.js +0 -2
  644. package/amd/useCurrentKey-05038cac.js +0 -2
  645. package/amd/useKeyboardEvents-191a444a.js +0 -2
  646. package/amd/useMeterDatatip-d6977d41.js +0 -2
  647. package/amd/usePopupAnimation-389749fc.js +0 -2
  648. package/amd/usePrefixSuffix-7371ec52.js +0 -2
  649. package/amd/useRadioFocusManager-c613d2fc.js +0 -2
  650. package/amd/useThemeInterpolations-53e9343f.js +0 -2
  651. package/amd/useTooltip-5615359f.js +0 -2
  652. package/amd/useTooltipOnTruncation-5c26fe42.js +0 -2
  653. package/es/CheckboxSetContext-1be56556.js +0 -9
  654. package/es/TextArea-72682112.js +0 -225
  655. package/es/TextArea-72682112.js.map +0 -1
@@ -0,0 +1,2 @@
1
+ define(['exports', './Layer-1971eddb'], (function(e,t){"use strict";const r=e=>{if(e&&Object.prototype.hasOwnProperty.call(e,t.LOGICAL_PARENT)){return e[t.LOGICAL_PARENT]}};e.isLogicalAncestor=(e,t)=>{let n=t;for(;n;){if(n===e)return!0;const t=r(n);n=t||n.parentNode}return!1}}));
2
+ //# sourceMappingURL=popupUtils-d42db8bf.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"popupUtils-71ea5dd1.js","sources":["../../src/utils/UNSAFE_popupUtils/popupUtils.ts"],"sourcesContent":["import { LOGICAL_PARENT, LayerElement } from '../../UNSAFE_Layer/Layer';\n\nconst getLogicalParent = (node: Node) => {\n if (node && Object.prototype.hasOwnProperty.call(node, LOGICAL_PARENT)) {\n const layerElement = node as LayerElement;\n return layerElement[LOGICAL_PARENT];\n }\n return undefined;\n};\n\nexport const isLogicalAncestor = (ancestorNode: Node, node: Node) => {\n let parentNode: Node | null = node;\n while (parentNode) {\n if (parentNode === ancestorNode) {\n return true;\n }\n const logicalParent = getLogicalParent(parentNode);\n if (logicalParent) {\n parentNode = logicalParent;\n } else {\n parentNode = parentNode.parentNode as Node;\n }\n }\n return false;\n};\n"],"names":["getLogicalParent","node","Object","prototype","hasOwnProperty","call","LOGICAL_PARENT","ancestorNode","parentNode","logicalParent"],"mappings":"kEAEA,MAAMA,EAAoBC,IACxB,GAAIA,GAAQC,OAAOC,UAAUC,eAAeC,KAAKJ,EAAMK,EAAAA,gBAAiB,CAEtE,OADqBL,EACDK,EAAAA,eACrB,CACe,sBAGe,CAACC,EAAoBN,KACpD,IAAIO,EAA0BP,EAC9B,KAAOO,GAAY,CACjB,GAAIA,IAAeD,EACjB,OAAO,EAET,MAAME,EAAgBT,EAAiBQ,GAErCA,EADEC,GAGWD,EAAWA,UAE3B,CACD,OAAO,CAAK"}
1
+ {"version":3,"file":"popupUtils-d42db8bf.js","sources":["../../src/utils/UNSAFE_popupUtils/popupUtils.ts"],"sourcesContent":["import { LOGICAL_PARENT, LayerElement } from '../../UNSAFE_Layer/Layer';\n\nconst getLogicalParent = (node: Node) => {\n if (node && Object.prototype.hasOwnProperty.call(node, LOGICAL_PARENT)) {\n const layerElement = node as LayerElement;\n return layerElement[LOGICAL_PARENT];\n }\n return undefined;\n};\n\nexport const isLogicalAncestor = (ancestorNode: Node, node: Node) => {\n let parentNode: Node | null = node;\n while (parentNode) {\n if (parentNode === ancestorNode) {\n return true;\n }\n const logicalParent = getLogicalParent(parentNode);\n if (logicalParent) {\n parentNode = logicalParent;\n } else {\n parentNode = parentNode.parentNode as Node;\n }\n }\n return false;\n};\n"],"names":["getLogicalParent","node","Object","prototype","hasOwnProperty","call","LOGICAL_PARENT","ancestorNode","parentNode","logicalParent"],"mappings":"kEAEA,MAAMA,EAAoBC,IACxB,GAAIA,GAAQC,OAAOC,UAAUC,eAAeC,KAAKJ,EAAMK,EAAAA,gBAAiB,CAEtE,OADqBL,EACDK,EAAAA,eACrB,CACe,sBAGe,CAACC,EAAoBN,KACpD,IAAIO,EAA0BP,EAC9B,KAAOO,GAAY,CACjB,GAAIA,IAAeD,EACjB,OAAO,EAET,MAAME,EAAgBT,EAAiBQ,GAErCA,EADEC,GAGWD,EAAWA,UAE3B,CACD,OAAO,CAAK"}
@@ -0,0 +1,2 @@
1
+ define(['exports', 'preact/jsx-runtime', '@testing-library/preact', '@testing-library/user-event', './LayerHost-0b288129', './EnvironmentProvider-403bf554', './resources/nls/en/bundle'], (function(e,r,n,t,o,i,s){"use strict";function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=d(t);const a={translations:{"@oracle/oraclejet-preact":s.default},mode:"test"},c=(e,t=a,o)=>{const s={...a,...t},{rerender:d,...u}=n.render(r.jsx(i.RootEnvironmentProvider,{environment:s,children:e}),o);return{rerender:e=>d(r.jsx(i.RootEnvironmentProvider,{environment:s,children:e})),...u}};e.renderAndSetupInEnv=(...e)=>({user:u.default.setup(),...c(...e)}),e.renderInEnv=c}));
2
+ //# sourceMappingURL=render-0e124b25.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"render-40923005.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-0e124b25.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-1a734852', './EnvironmentProvider-75ba928e', './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-7fa099af.js.map
1
+ define(['require', 'exports', 'preact/jsx-runtime', '@testing-library/preact', './matchTranslationBundle-e243f90d', './LayerHost-0b288129', './EnvironmentProvider-403bf554', './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-0f5a148a.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabbableUtils-7fa099af.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-0f5a148a.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', './matchTranslationBundle-e243f90d', './LayerHost-1a734852', './EnvironmentProvider-75ba928e'], (function(e,n,s,r,u,t,l,o){"use strict";const c=async e=>e.findAllByRole("table"),i=async e=>e.findAllByRole("row"),a=(e,n)=>{if(null!=n.dataset.ojCellType)return n;const s=n.parentElement;return s===e||null==s?null:a(e,s)};n.determineBrowserScrollbarWidth=async e=>{const n=await c(e),s=n[0].children[0].children[0].children[0];return n[0].offsetWidth-s.offsetWidth},n.employeeData=[{id:"3",name:"Chris Benalamore",title:"Area Business Operations Director EMEA & JAPAC",initial:"CB"},{id:"1",name:"Chris Black",title:"Oracle Cloud Infrastructure GTM Channel Director EMEA",initial:"CB"},{id:"2",name:"Christine Cooper",title:"Senior Principal Escalation Manager",initial:"CC"},{id:"4",name:"Christopher Johnson",title:"Vice-President HCM Application Development",initial:"CJ"},{id:"6",name:"Kurt Marchris",title:"Customer Service Analyst",initial:"KM"},{id:"5",name:"Samire Christian",title:"Consulting Project Technical Manager",initial:"SC"},{id:"7",name:"Zelda Christian Cooperman",title:"Senior Principal Escalation Manager 2",initial:"ZC"}],n.enableLongTimeout=()=>{"undefined"==typeof jest?mocha.timeout(2e4):jest.setTimeout(2e4)},n.findContainingCell=a,n.getColumnFooters=async e=>{const n=await i(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=c,n.getRows=i,n.getShortTimeout=()=>5e3,n.setupTableDisplay=async n=>{const u=t.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:l}=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/${u}/bundle.ts`),c={translations:{"@oracle/oraclejet-preact":l}};return r.render(s.jsx(o.RootEnvironmentProvider,{environment:c,children:n}))},n.verifyElementWidth=async(e,n)=>{await r.waitFor((()=>{u.expect(e.offsetWidth).to.equal(n)}),{timeout:5e3})}}));
2
- //# sourceMappingURL=testData-db08ddc1.js.map
1
+ define(['require', 'exports', 'preact/jsx-runtime', '@testing-library/preact', 'chai', './matchTranslationBundle-e243f90d', './LayerHost-0b288129', './EnvironmentProvider-403bf554'], (function(e,n,s,r,u,t,l,o){"use strict";const c=async e=>e.findAllByRole("table"),i=async e=>e.findAllByRole("row"),a=(e,n)=>{if(null!=n.dataset.ojCellType)return n;const s=n.parentElement;return s===e||null==s?null:a(e,s)};n.determineBrowserScrollbarWidth=async e=>{const n=await c(e),s=n[0].children[0].children[0].children[0];return n[0].offsetWidth-s.offsetWidth},n.employeeData=[{id:"3",name:"Chris Benalamore",title:"Area Business Operations Director EMEA & JAPAC",initial:"CB"},{id:"1",name:"Chris Black",title:"Oracle Cloud Infrastructure GTM Channel Director EMEA",initial:"CB"},{id:"2",name:"Christine Cooper",title:"Senior Principal Escalation Manager",initial:"CC"},{id:"4",name:"Christopher Johnson",title:"Vice-President HCM Application Development",initial:"CJ"},{id:"6",name:"Kurt Marchris",title:"Customer Service Analyst",initial:"KM"},{id:"5",name:"Samire Christian",title:"Consulting Project Technical Manager",initial:"SC"},{id:"7",name:"Zelda Christian Cooperman",title:"Senior Principal Escalation Manager 2",initial:"ZC"}],n.enableLongTimeout=()=>{"undefined"==typeof jest?mocha.timeout(2e4):jest.setTimeout(2e4)},n.findContainingCell=a,n.getColumnFooters=async e=>{const n=await i(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=c,n.getRows=i,n.getShortTimeout=()=>5e3,n.setupTableDisplay=async n=>{const u=t.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:l}=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/${u}/bundle.ts`),c={translations:{"@oracle/oraclejet-preact":l}};return r.render(s.jsx(o.RootEnvironmentProvider,{environment:c,children:n}))},n.verifyElementWidth=async(e,n)=>{await r.waitFor((()=>{u.expect(e.offsetWidth).to.equal(n)}),{timeout:5e3})}}));
2
+ //# sourceMappingURL=testData-0ee09770.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"testData-db08ddc1.js","sources":["../../src/PRIVATE_TableDisplay/__tests__/testHelpers.tsx","../../src/PRIVATE_TableDisplay/__tests__/resources/testData.ts"],"sourcesContent":["/**\n * TableDisplay 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 { 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 TableDisplay tests\n */\nconst TABLEDISPLAY_LONG_TIMEOUT = 20000;\nconst TABLEDISPLAY_SHORT_TIMEOUT = 5000;\n\nexport const getShortTimeout = () => {\n return TABLEDISPLAY_SHORT_TIMEOUT;\n};\n\n/**\n * Helper method to render a TableDisplay test component with the proper environment setup\n */\nexport const setupTableDisplay = 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 (tableDisplay: RenderResult) => {\n return tableDisplay.findAllByRole('table');\n};\n\n/**\n * Helper function to get all 'columnheader' role elements within the given rendered component.\n */\nexport const getColumnHeaders = async (tableDisplay: RenderResult) => {\n return tableDisplay.findAllByRole('columnheader');\n};\n\n/**\n * Helper function to get all 'row' role elements within the given rendered component.\n */\nexport const getRows = async (tableDisplay: RenderResult) => {\n return tableDisplay.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 (tableDisplay: RenderResult) => {\n const rows = await getRows(tableDisplay);\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 width of a Table element.\n */\nexport const verifyElementWidth = async (element: HTMLElement, width: number) => {\n await waitFor(\n () => {\n expect(element.offsetWidth).to.equal(width);\n },\n { timeout: TABLEDISPLAY_SHORT_TIMEOUT }\n );\n};\n\n/**\n * Helper function to verify the width of a Table element.\n */\nexport const determineBrowserScrollbarWidth = async (tableDisplay: RenderResult) => {\n const grids = await getInnerGrids(tableDisplay);\n\n const innerTable = grids[0].children[0].children[0].children[0] as HTMLElement;\n return grids[0].offsetWidth - innerTable.offsetWidth;\n};\n\n/**\n * Helper function to apply a longer timeout for tests\n */\nexport const enableLongTimeout = () => {\n if (typeof jest === 'undefined') {\n mocha.timeout(TABLEDISPLAY_LONG_TIMEOUT);\n } else {\n jest.setTimeout(TABLEDISPLAY_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","tableDisplay","findAllByRole","getRows","findContainingCell","rootElement","contentElement","dataset","parentElement","grids","innerTable","children","offsetWidth","id","name","title","initial","jest","mocha","timeout","setTimeout","rows","length","dataRow","TestComponent","locale","matchTranslationBundle","Set","default","translations","__variableDynamicImportRuntime0__","env","render","_jsx","RootEnvironmentProvider","environment","element","width","waitFor","expect","to","equal"],"mappings":"uNAaA,MAwBaA,EAAgBC,MAAOC,GAC3BA,EAAaC,cAAc,SAavBC,EAAUH,MAAOC,GACrBA,EAAaC,cAAc,OAwBvBE,EAAqB,CAChCC,EACAC,KAEA,GAA4C,MAAxCA,EAAeC,QAAoB,WACrC,OAAOD,EAET,MAAME,EAAgBF,EAAeE,cACrC,OAAIA,IAAkBH,GAAgC,MAAjBG,EAC5B,KAEFJ,EAAmBC,EAAaG,EAAc,mCA8CTR,MAAOC,IACnD,MAAMQ,QAAcV,EAAcE,GAE5BS,EAAaD,EAAM,GAAGE,SAAS,GAAGA,SAAS,GAAGA,SAAS,GAC7D,OAAOF,EAAM,GAAGG,YAAcF,EAAWE,WAAW,iBCyhBd,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,2BD5jBoB,KACX,oBAATC,KACTC,MAAMC,QApIwB,KAsI9BF,KAAKG,WAtIyB,IAuI/B,4CAnF6BpB,MAAOC,IACrC,MAAMoB,QAAalB,EAAQF,GAC3B,OAAIoB,EAAKC,OAAS,EACTD,EAAKA,EAAKC,OAAS,GAAGX,SAExB,EAAE,qBA1BqBX,MAAOC,GAC9BA,EAAaC,cAAc,+BAaRF,MAAOuB,GAC1BA,EAAQZ,yDA3Cc,IAFI,wBASFX,MAAOwB,IACtC,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,EAAMpB,SAAAa,IAC7C,uBA0F+BxB,MAAOoC,EAAsBC,WACvDC,EAAOA,SACX,KACEC,EAAMA,OAACH,EAAQxB,aAAa4B,GAAGC,MAAMJ,EAAM,GAE7C,CAAElB,QAhH6B,KAiHhC"}
1
+ {"version":3,"file":"testData-0ee09770.js","sources":["../../src/PRIVATE_TableDisplay/__tests__/testHelpers.tsx","../../src/PRIVATE_TableDisplay/__tests__/resources/testData.ts"],"sourcesContent":["/**\n * TableDisplay 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 { 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 TableDisplay tests\n */\nconst TABLEDISPLAY_LONG_TIMEOUT = 20000;\nconst TABLEDISPLAY_SHORT_TIMEOUT = 5000;\n\nexport const getShortTimeout = () => {\n return TABLEDISPLAY_SHORT_TIMEOUT;\n};\n\n/**\n * Helper method to render a TableDisplay test component with the proper environment setup\n */\nexport const setupTableDisplay = 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 (tableDisplay: RenderResult) => {\n return tableDisplay.findAllByRole('table');\n};\n\n/**\n * Helper function to get all 'columnheader' role elements within the given rendered component.\n */\nexport const getColumnHeaders = async (tableDisplay: RenderResult) => {\n return tableDisplay.findAllByRole('columnheader');\n};\n\n/**\n * Helper function to get all 'row' role elements within the given rendered component.\n */\nexport const getRows = async (tableDisplay: RenderResult) => {\n return tableDisplay.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 (tableDisplay: RenderResult) => {\n const rows = await getRows(tableDisplay);\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 width of a Table element.\n */\nexport const verifyElementWidth = async (element: HTMLElement, width: number) => {\n await waitFor(\n () => {\n expect(element.offsetWidth).to.equal(width);\n },\n { timeout: TABLEDISPLAY_SHORT_TIMEOUT }\n );\n};\n\n/**\n * Helper function to verify the width of a Table element.\n */\nexport const determineBrowserScrollbarWidth = async (tableDisplay: RenderResult) => {\n const grids = await getInnerGrids(tableDisplay);\n\n const innerTable = grids[0].children[0].children[0].children[0] as HTMLElement;\n return grids[0].offsetWidth - innerTable.offsetWidth;\n};\n\n/**\n * Helper function to apply a longer timeout for tests\n */\nexport const enableLongTimeout = () => {\n if (typeof jest === 'undefined') {\n mocha.timeout(TABLEDISPLAY_LONG_TIMEOUT);\n } else {\n jest.setTimeout(TABLEDISPLAY_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","tableDisplay","findAllByRole","getRows","findContainingCell","rootElement","contentElement","dataset","parentElement","grids","innerTable","children","offsetWidth","id","name","title","initial","jest","mocha","timeout","setTimeout","rows","length","dataRow","TestComponent","locale","matchTranslationBundle","Set","default","translations","__variableDynamicImportRuntime0__","env","render","_jsx","RootEnvironmentProvider","environment","element","width","waitFor","expect","to","equal"],"mappings":"uNAaA,MAwBaA,EAAgBC,MAAOC,GAC3BA,EAAaC,cAAc,SAavBC,EAAUH,MAAOC,GACrBA,EAAaC,cAAc,OAwBvBE,EAAqB,CAChCC,EACAC,KAEA,GAA4C,MAAxCA,EAAeC,QAAoB,WACrC,OAAOD,EAET,MAAME,EAAgBF,EAAeE,cACrC,OAAIA,IAAkBH,GAAgC,MAAjBG,EAC5B,KAEFJ,EAAmBC,EAAaG,EAAc,mCA8CTR,MAAOC,IACnD,MAAMQ,QAAcV,EAAcE,GAE5BS,EAAaD,EAAM,GAAGE,SAAS,GAAGA,SAAS,GAAGA,SAAS,GAC7D,OAAOF,EAAM,GAAGG,YAAcF,EAAWE,WAAW,iBCyhBd,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,2BD5jBoB,KACX,oBAATC,KACTC,MAAMC,QApIwB,KAsI9BF,KAAKG,WAtIyB,IAuI/B,4CAnF6BpB,MAAOC,IACrC,MAAMoB,QAAalB,EAAQF,GAC3B,OAAIoB,EAAKC,OAAS,EACTD,EAAKA,EAAKC,OAAS,GAAGX,SAExB,EAAE,qBA1BqBX,MAAOC,GAC9BA,EAAaC,cAAc,+BAaRF,MAAOuB,GAC1BA,EAAQZ,yDA3Cc,IAFI,wBASFX,MAAOwB,IACtC,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,EAAMpB,SAAAa,IAC7C,uBA0F+BxB,MAAOoC,EAAsBC,WACvDC,EAAOA,SACX,KACEC,EAAMA,OAACH,EAAQxB,aAAa4B,GAAGC,MAAMJ,EAAM,GAE7C,CAAElB,QAhH6B,KAiHhC"}
@@ -1,2 +1,2 @@
1
- define(['require', 'exports', 'preact/jsx-runtime', '@testing-library/preact', '@testing-library/user-event', 'chai', './clientHints-6d361eaa', './matchTranslationBundle-e243f90d', './LayerHost-1a734852', './EnvironmentProvider-75ba928e'], (function(e,t,n,r,a,s,o,l,u,i){"use strict";function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=c(a);const d=5e3,g=async e=>e.findAllByRole("grid"),p=async e=>e.findAllByRole("columnheader"),b=async e=>e.findAllByRole("row"),y=(e,t)=>{if(null!=t.dataset.ojCellType)return t;const n=t.parentElement;return n===e||null==n?null:y(e,n)},w=()=>document.getElementById("rowKey"),f=()=>document.getElementById("columnKey"),I=async e=>{const t=null!=e?.rowKey?e.rowKey.toString():"",n=null!=e?.columnKey?e.columnKey.toString():"",a=null!=e?.type?e.type:"";await r.waitFor((()=>{s.expect(w()?.textContent).to.equal(t)}),{timeout:d}),await r.waitFor((()=>{s.expect(f()?.textContent).to.equal(n)}),{timeout:d}),await r.waitFor((()=>{s.expect(document.getElementById("cellType")?.textContent).to.equal(a)}),{timeout:d})},C=async e=>{await r.waitFor((()=>{s.expect(f()?.textContent).to.not.equal(e)}),{timeout:d})},N=async e=>{await r.waitFor((()=>{s.expect(w()?.textContent).to.not.equal(e)}),{timeout:d})};t.BORDER_WIDTH=1,t.BORDER_WIDTH_LAST=2,t.determineBrowserScrollbarWidth=async e=>{const t=await g(e),n=t[0].children[0].children[0].children[0];return t[0].offsetWidth-n.offsetWidth},t.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"}],t.employeeStatusData=[{employeeId:10,firstName:"Frank",lastName:"Stout",revenue:33200,targetComplete:20,targetIncomplete:80,rating:5,status:"Pending",salary:159e3,bonus:47900,departmentId:320},{employeeId:20,firstName:"Mara",lastName:"Rivers",revenue:17200,targetComplete:40,targetIncomplete:60,rating:3,status:"Pending",salary:2e5,bonus:45300,departmentId:40},{employeeId:30,firstName:"Karina",lastName:"Cameron",revenue:30100,targetComplete:30,targetIncomplete:70,rating:4,status:"Approved",salary:279e3,bonus:79700,departmentId:370},{employeeId:40,firstName:"Marilyn",lastName:"Short",revenue:48800,targetComplete:90,targetIncomplete:10,rating:3,status:"Approved",salary:106e3,bonus:77500,departmentId:310},{employeeId:50,firstName:"Audra",lastName:"Long",revenue:40700,targetComplete:50,targetIncomplete:50,rating:4,status:"Pending",salary:123e3,bonus:39900,departmentId:490},{employeeId:60,firstName:"Woods",lastName:"Jefferson",revenue:29e3,targetComplete:20,targetIncomplete:80,rating:3,status:"Pending",salary:145e3,bonus:49600,departmentId:160},{employeeId:70,firstName:"Spears",lastName:"Howe",revenue:32900,targetComplete:20,targetIncomplete:80,rating:5,status:"Approved",salary:12e4,bonus:30300,departmentId:460},{employeeId:80,firstName:"Kelsey",lastName:"Gomez",revenue:34200,targetComplete:20,targetIncomplete:80,rating:1,status:"Pending",salary:147e3,bonus:79800,departmentId:330},{employeeId:90,firstName:"Miriam",lastName:"Branch",revenue:42800,targetComplete:90,targetIncomplete:10,rating:3,status:"Pending",salary:117e3,bonus:43e3,departmentId:50},{employeeId:100,firstName:"Tisha",lastName:"Parks",revenue:17800,targetComplete:20,targetIncomplete:80,rating:1,status:"Pending",salary:136e3,bonus:33800,departmentId:200},{employeeId:110,firstName:"Dollie",lastName:"Pittman",revenue:15700,targetComplete:40,targetIncomplete:60,rating:3,status:"Approved",salary:121e3,bonus:60600,departmentId:500},{employeeId:120,firstName:"Leticia",lastName:"Goodman",revenue:16200,targetComplete:80,targetIncomplete:20,rating:5,status:"Pending",salary:295e3,bonus:74900,departmentId:300},{employeeId:130,firstName:"Harrison",lastName:"Jarvis",revenue:32500,targetComplete:30,targetIncomplete:70,rating:1,status:"Pending",salary:125e3,bonus:59600,departmentId:80},{employeeId:140,firstName:"Salinas",lastName:"Richardson",revenue:49600,targetComplete:80,targetIncomplete:20,rating:5,status:"Pending",salary:228e3,bonus:50500,departmentId:50},{employeeId:150,firstName:"Barry",lastName:"Maxwell",revenue:42800,targetComplete:50,targetIncomplete:50,rating:5,status:"Pending",salary:269e3,bonus:52200,departmentId:400},{employeeId:160,firstName:"Diaz",lastName:"Velazquez",revenue:24100,targetComplete:20,targetIncomplete:80,rating:4,status:"Approved",salary:242e3,bonus:45e3,departmentId:370},{employeeId:170,firstName:"Minnie",lastName:"Riley",revenue:12e3,targetComplete:20,targetIncomplete:80,rating:2,status:"Approved",salary:107e3,bonus:67500,departmentId:250},{employeeId:180,firstName:"Fulton",lastName:"Bernard",revenue:29400,targetComplete:80,targetIncomplete:20,rating:4,status:"Approved",salary:259e3,bonus:37400,departmentId:170},{employeeId:190,firstName:"Chandler",lastName:"Mccarty",revenue:30100,targetComplete:20,targetIncomplete:80,rating:1,status:"Approved",salary:185e3,bonus:74e3,departmentId:250},{employeeId:200,firstName:"Flowers",lastName:"Hernandez",revenue:20700,targetComplete:70,targetIncomplete:30,rating:4,status:"Approved",salary:135e3,bonus:39300,departmentId:260},{employeeId:210,firstName:"Donaldson",lastName:"Sharp",revenue:42300,targetComplete:70,targetIncomplete:30,rating:3,status:"Pending",salary:176e3,bonus:67600,departmentId:250},{employeeId:220,firstName:"Melanie",lastName:"Gamble",revenue:30100,targetComplete:50,targetIncomplete:50,rating:3,status:"Approved",salary:219e3,bonus:52400,departmentId:230},{employeeId:230,firstName:"Leona",lastName:"Erickson",revenue:11400,targetComplete:20,targetIncomplete:80,rating:1,status:"Pending",salary:185e3,bonus:57300,departmentId:160},{employeeId:240,firstName:"Dionne",lastName:"Howell",revenue:44200,targetComplete:90,targetIncomplete:10,rating:1,status:"Approved",salary:211e3,bonus:65800,departmentId:130},{employeeId:250,firstName:"June",lastName:"Warren",revenue:39500,targetComplete:50,targetIncomplete:50,rating:3,status:"Approved",salary:222e3,bonus:65200,departmentId:260},{employeeId:260,firstName:"Carey",lastName:"Johns",revenue:36e3,targetComplete:50,targetIncomplete:50,rating:4,status:"Approved",salary:233e3,bonus:69500,departmentId:190},{employeeId:270,firstName:"Estelle",lastName:"Bowers",revenue:27600,targetComplete:40,targetIncomplete:60,rating:2,status:"Approved",salary:212e3,bonus:37700,departmentId:120},{employeeId:280,firstName:"Rena",lastName:"Blanchard",revenue:16e3,targetComplete:50,targetIncomplete:50,rating:4,status:"Approved",salary:135e3,bonus:51e3,departmentId:380},{employeeId:290,firstName:"Hinton",lastName:"Tillman",revenue:42400,targetComplete:80,targetIncomplete:20,rating:4,status:"Pending",salary:134e3,bonus:49600,departmentId:40},{employeeId:300,firstName:"Gloria",lastName:"Everett",revenue:42100,targetComplete:50,targetIncomplete:50,rating:3,status:"Approved",salary:278e3,bonus:38400,departmentId:180},{employeeId:310,firstName:"Ware",lastName:"Simon",revenue:49500,targetComplete:50,targetIncomplete:50,rating:3,status:"Approved",salary:142e3,bonus:43900,departmentId:190},{employeeId:320,firstName:"Carolina",lastName:"Holmes",revenue:22700,targetComplete:80,targetIncomplete:20,rating:4,status:"Pending",salary:181e3,bonus:52e3,departmentId:320},{employeeId:330,firstName:"Day",lastName:"Newman",revenue:46e3,targetComplete:50,targetIncomplete:50,rating:5,status:"Approved",salary:117e3,bonus:66700,departmentId:290},{employeeId:340,firstName:"Nielsen",lastName:"Harrell",revenue:13800,targetComplete:30,targetIncomplete:70,rating:5,status:"Pending",salary:212e3,bonus:39600,departmentId:70},{employeeId:350,firstName:"Barbara",lastName:"Moore",revenue:37600,targetComplete:50,targetIncomplete:50,rating:4,status:"Pending",salary:185e3,bonus:61800,departmentId:340},{employeeId:360,firstName:"Reese",lastName:"Green",revenue:27500,targetComplete:50,targetIncomplete:50,rating:4,status:"Approved",salary:168e3,bonus:72500,departmentId:30},{employeeId:370,firstName:"Paige",lastName:"Gregory",revenue:22300,targetComplete:70,targetIncomplete:30,rating:3,status:"Pending",salary:27e4,bonus:33500,departmentId:360},{employeeId:380,firstName:"Jaclyn",lastName:"Mann",revenue:29700,targetComplete:40,targetIncomplete:60,rating:1,status:"Approved",salary:224e3,bonus:76400,departmentId:120},{employeeId:390,firstName:"Lula",lastName:"Fowler",revenue:40700,targetComplete:60,targetIncomplete:40,rating:3,status:"Approved",salary:211e3,bonus:57e3,departmentId:320},{employeeId:400,firstName:"Regina",lastName:"Watson",revenue:10600,targetComplete:50,targetIncomplete:50,rating:3,status:"Pending",salary:211e3,bonus:31600,departmentId:470},{employeeId:410,firstName:"Candice",lastName:"Hardin",revenue:48200,targetComplete:90,targetIncomplete:10,rating:4,status:"Pending",salary:191e3,bonus:73400,departmentId:110},{employeeId:420,firstName:"Pate",lastName:"Haney",revenue:12600,targetComplete:90,targetIncomplete:10,rating:2,status:"Approved",salary:247e3,bonus:71600,departmentId:200},{employeeId:430,firstName:"Snider",lastName:"Shepard",revenue:30900,targetComplete:30,targetIncomplete:70,rating:4,status:"Pending",salary:23e4,bonus:59200,departmentId:20},{employeeId:440,firstName:"Fleming",lastName:"Torres",revenue:13500,targetComplete:40,targetIncomplete:60,rating:5,status:"Approved",salary:111e3,bonus:69800,departmentId:120},{employeeId:450,firstName:"Terrie",lastName:"Grimes",revenue:47200,targetComplete:40,targetIncomplete:60,rating:4,status:"Pending",salary:118e3,bonus:42900,departmentId:460},{employeeId:460,firstName:"Hallie",lastName:"Frye",revenue:20900,targetComplete:60,targetIncomplete:40,rating:4,status:"Approved",salary:218e3,bonus:5e4,departmentId:340},{employeeId:470,firstName:"Jerry",lastName:"Salazar",revenue:43300,targetComplete:90,targetIncomplete:10,rating:5,status:"Approved",salary:103e3,bonus:49800,departmentId:440},{employeeId:480,firstName:"Sally",lastName:"Barnett",revenue:39500,targetComplete:30,targetIncomplete:70,rating:3,status:"Pending",salary:132e3,bonus:8e4,departmentId:160},{employeeId:490,firstName:"Goldie",lastName:"Kelly",revenue:32600,targetComplete:20,targetIncomplete:80,rating:5,status:"Approved",salary:102e3,bonus:39e3,departmentId:10},{employeeId:500,firstName:"Brianna",lastName:"Compton",revenue:30400,targetComplete:60,targetIncomplete:40,rating:4,status:"Pending",salary:114e3,bonus:78200,departmentId:280}],t.enableLongTimeout=()=>{"undefined"==typeof jest?mocha.timeout(2e4):jest.setTimeout(2e4)},t.findContainingCell=y,t.getColumnFooters=async e=>{const t=await b(e);return t.length>2?t[t.length-1].children:[]},t.getColumnHeaders=p,t.getDataCells=async e=>e.children,t.getInnerGrids=g,t.getInternalScroller=async e=>e.findByRole("rowgroup"),t.getRows=b,t.getShortTimeout=()=>d,t.isMac=()=>"mac"===o.getClientHints().platform,t.runHorizontalScrollingTests=async(e,t,n,a,o,l)=>{const u=m.default.setup();console.log("viewport start"),console.log(t()),console.log("viewport end"),console.log(n());const i=await g(e);s.expect(i.length).equals(1);const c=await p(e),d=c.length;if(await r.act((()=>c[0].focus())),await I({columnKey:"id",type:"header"}),o){let e,o,i,m,g=0;for(let t=1;t<c.length;t++){e=c[t].getBoundingClientRect().left,console.log("column end:"),console.log(l[t]),console.log(e),console.log("is header cell same as initial:");const r=document.getElementsByTagName("th");if(console.log(c[t]===r[t]),e<n()){g=t;break}}console.log("arrow count"),console.log(g);for(let e=0;e<g;e++)await u.keyboard("[ArrowLeft]"),await I({columnKey:l[e+1],type:"header"}),console.log(l[e+1]);await r.waitFor((()=>{e=c[g].getBoundingClientRect().left,console.log("column end 6"),console.log(e),s.expect(Math.abs(n()-e)<=2).equals(!0)}));for(let t=1;t<3;t++)g+=1,await u.keyboard("[ArrowLeft]"),await I({columnKey:l[g],type:"header"}),console.log(l[g]),await r.waitFor((()=>{e=c[g].getBoundingClientRect().left,console.log("column end 7"),console.log(e),s.expect(Math.abs(n()-e)<=2).equals(!0)}));if(a)i=g;else{await u.keyboard("[Home]"),await C(l[g]),console.log(f()?.textContent),await r.waitFor((()=>{o=c[0].getBoundingClientRect().right,console.log("column start 8"),console.log(o),s.expect(Math.abs(t()-o)<=2).equals(!0)}));const a=f()?.textContent;await u.keyboard("[End]"),await C(a),console.log(f()?.textContent),await r.waitFor((()=>{e=c[d-1].getBoundingClientRect().left,console.log("column end 9"),console.log(e),s.expect(Math.abs(n()-e)<=2).equals(!0)})),i=c.length-1}for(let e=i;e>=0;e--)if(o=c[e].getBoundingClientRect().right,o>t()){m=e,g=i-e;break}for(let e=0;e<g;e++)await u.keyboard("[ArrowRight]"),await I({columnKey:l[i-e-1],type:"header"}),console.log(l[i-e-1]);await r.waitFor((()=>{o=c[m].getBoundingClientRect().right,console.log("column start 10"),console.log(o),s.expect(Math.abs(t()-o)<=2).equals(!0)}))}else{let e,o,i,m,g=0;for(let t=1;t<c.length;t++){e=c[t].getBoundingClientRect().right,console.log("column end:"),console.log(l[t]),console.log(e),console.log("is header cell same as initial:");const r=document.getElementsByTagName("th");if(console.log(c[t]===r[t]),e>n()){g=t;break}}console.log("arrow count"),console.log(g);for(let e=0;e<g;e++)await u.keyboard("[ArrowRight]"),await I({columnKey:l[e+1],type:"header"}),console.log(l[e+1]);await r.waitFor((()=>{e=c[g].getBoundingClientRect().right,console.log("column end 1"),console.log(e),s.expect(Math.abs(n()-e)<=2).equals(!0)}));for(let t=1;t<3;t++)g+=1,await u.keyboard("[ArrowRight]"),await I({columnKey:l[g],type:"header"}),console.log(l[g]),await r.waitFor((()=>{e=c[g].getBoundingClientRect().right,console.log("column end 2"),console.log(e),s.expect(Math.abs(n()-e)<=2).equals(!0)}));if(a)i=g;else{await u.keyboard("[Home]"),await C(l[g]),console.log(f()?.textContent),await r.waitFor((()=>{o=c[0].getBoundingClientRect().left,console.log("column start 3"),console.log(o),s.expect(Math.abs(t()-o)<=2).equals(!0)}));const a=f()?.textContent;await u.keyboard("[End]"),await C(a),console.log(f()?.textContent),await r.waitFor((()=>{e=c[d-1].getBoundingClientRect().right,console.log("column end 4"),console.log(e),s.expect(Math.abs(n()-e)<=2).equals(!0)})),i=c.length-1}for(let e=i;e>=0;e--)if(o=c[e].getBoundingClientRect().left,o<t()){m=e,g=i-e;break}for(let e=0;e<g;e++)await u.keyboard("[ArrowLeft]"),await I({columnKey:l[i-e-1],type:"header"}),console.log(l[i-e-1]);await r.waitFor((()=>{o=c[m].getBoundingClientRect().left,console.log("column start 5"),console.log(o),s.expect(Math.abs(t()-o)<=2).equals(!0)}))}},t.runVerticalScrollingTests=async(e,t,n)=>{const a=m.default.setup();console.log("viewport top"),console.log(t()),console.log("viewport bottom"),console.log(n());const o=await g(e);s.expect(o.length).equals(1);const l=await p(e),u=await b(e);let i;await r.act((()=>l[0].focus())),await I({columnKey:"id",type:"header"});let c,d,y,f=0;for(let e=1;e<u.length;e++)if(i=u[e].getBoundingClientRect().bottom,i>n()){f=e;break}for(let e=0;e<f;e++)await a.keyboard("[ArrowDown]"),await N(c),c=w()?.textContent,console.log(c);await r.waitFor((()=>{i=u[f].getBoundingClientRect().bottom,console.log("row bottom 1"),console.log(i),s.expect(Math.abs(n()-i)<=2).equals(!0)}));for(let e=1;e<11;e++)f+=1,await a.keyboard("[ArrowDown]"),await N(c),c=w()?.textContent,console.log(c),await r.waitFor((()=>{i=u[f].getBoundingClientRect().bottom,console.log("row bottom 2"),console.log(i),s.expect(Math.abs(n()-i)<=2).equals(!0)}));await a.keyboard("[PageDown]"),await N(c),c=w()?.textContent,console.log(c),await r.waitFor((()=>{d=u[f+1].getBoundingClientRect().top,console.log("row top 3"),console.log(d),s.expect(Math.abs(t()-d)<=2).equals(!0)})),await a.keyboard("[PageUp]"),await N(c),c=w()?.textContent,console.log(c),await r.waitFor((()=>{i=u[f].getBoundingClientRect().bottom,console.log("row bottom 4"),console.log(i),s.expect(Math.abs(n()-i)<=2).equals(!0)}));for(let e=f;e>0;e--)if(d=u[e].getBoundingClientRect().top,d<t()){y=f-(f-e),f-=e;break}for(let e=0;e<f;e++)await a.keyboard("[ArrowUp]"),await N(c),c=w()?.textContent,console.log(c);await r.waitFor((()=>{d=u[y].getBoundingClientRect().top,console.log("row top 5"),console.log(d),s.expect(Math.abs(t()-d)<=2).equals(!0)}))},t.setupTableView=async t=>{const a=l.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:s}=await function(t){switch(t){case"../../resources/nls/ar/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/ar/bundle"],t,n)}));case"../../resources/nls/ar-XB/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/ar-XB/bundle"],t,n)}));case"../../resources/nls/bg/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/bg/bundle"],t,n)}));case"../../resources/nls/bs/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/bs/bundle"],t,n)}));case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/bs-Cyrl/bundle"],t,n)}));case"../../resources/nls/cs/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/cs/bundle"],t,n)}));case"../../resources/nls/da/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/da/bundle"],t,n)}));case"../../resources/nls/de/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/de/bundle"],t,n)}));case"../../resources/nls/el/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/el/bundle"],t,n)}));case"../../resources/nls/en/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/en/bundle"],t,n)}));case"../../resources/nls/en-XA/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/en-XA/bundle"],t,n)}));case"../../resources/nls/en-XC/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/en-XC/bundle"],t,n)}));case"../../resources/nls/es/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/es/bundle"],t,n)}));case"../../resources/nls/et/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/et/bundle"],t,n)}));case"../../resources/nls/fi/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/fi/bundle"],t,n)}));case"../../resources/nls/fr/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/fr/bundle"],t,n)}));case"../../resources/nls/fr-CA/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/fr-CA/bundle"],t,n)}));case"../../resources/nls/he/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/he/bundle"],t,n)}));case"../../resources/nls/hr/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/hr/bundle"],t,n)}));case"../../resources/nls/hu/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/hu/bundle"],t,n)}));case"../../resources/nls/is/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/is/bundle"],t,n)}));case"../../resources/nls/it/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/it/bundle"],t,n)}));case"../../resources/nls/ja/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/ja/bundle"],t,n)}));case"../../resources/nls/ko/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/ko/bundle"],t,n)}));case"../../resources/nls/lt/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/lt/bundle"],t,n)}));case"../../resources/nls/lv/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/lv/bundle"],t,n)}));case"../../resources/nls/ms/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/ms/bundle"],t,n)}));case"../../resources/nls/nl/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/nl/bundle"],t,n)}));case"../../resources/nls/no/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/no/bundle"],t,n)}));case"../../resources/nls/pl/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/pl/bundle"],t,n)}));case"../../resources/nls/pt/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/pt/bundle"],t,n)}));case"../../resources/nls/pt-PT/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/pt-PT/bundle"],t,n)}));case"../../resources/nls/ro/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/ro/bundle"],t,n)}));case"../../resources/nls/ru/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/ru/bundle"],t,n)}));case"../../resources/nls/sk/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/sk/bundle"],t,n)}));case"../../resources/nls/sl/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/sl/bundle"],t,n)}));case"../../resources/nls/sr/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/sr/bundle"],t,n)}));case"../../resources/nls/sr-Latn/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/sr-Latn/bundle"],t,n)}));case"../../resources/nls/sv/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/sv/bundle"],t,n)}));case"../../resources/nls/th/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/th/bundle"],t,n)}));case"../../resources/nls/tr/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/tr/bundle"],t,n)}));case"../../resources/nls/uk/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/uk/bundle"],t,n)}));case"../../resources/nls/vi/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/vi/bundle"],t,n)}));case"../../resources/nls/zh-Hans/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/zh-Hans/bundle"],t,n)}));case"../../resources/nls/zh-Hant/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/zh-Hant/bundle"],t,n)}));default:return new Promise((function(e,n){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+t)))}))}}(`../../resources/nls/${a}/bundle.ts`),o={translations:{"@oracle/oraclejet-preact":s}};return r.render(n.jsx(i.RootEnvironmentProvider,{environment:o,children:t}))},t.verifyAriaSelected=async(e,t)=>{for(let t=0;t<e.length;t++)await r.waitFor((()=>{s.expect(e[t].getAttribute("aria-selected")).to.equal("true")}),{timeout:d});for(let e=0;e<t.length;e++)await r.waitFor((()=>{s.expect(t[e].getAttribute("aria-selected")).to.not.equal("true")}),{timeout:d})},t.verifyCurrentCellValue=I,t.verifyElementWidth=async(e,t)=>{await r.waitFor((()=>{s.expect(e.offsetWidth).to.equal(t)}),{timeout:d})}}));
2
- //# sourceMappingURL=testData-d92d6bdb.js.map
1
+ define(['require', 'exports', 'preact/jsx-runtime', '@testing-library/preact', '@testing-library/user-event', 'chai', './clientHints-6d361eaa', './matchTranslationBundle-e243f90d', './LayerHost-0b288129', './EnvironmentProvider-403bf554'], (function(e,t,n,r,a,s,o,l,u,i){"use strict";function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=c(a);const d=5e3,g=async e=>e.findAllByRole("grid"),p=async e=>e.findAllByRole("columnheader"),b=async e=>e.findAllByRole("row"),y=(e,t)=>{if(null!=t.dataset.ojCellType)return t;const n=t.parentElement;return n===e||null==n?null:y(e,n)},f=()=>document.getElementById("rowKey"),w=()=>document.getElementById("columnKey"),I=async e=>{const t=null!=e?.rowKey?e.rowKey.toString():"",n=null!=e?.columnKey?e.columnKey.toString():"",a=null!=e?.type?e.type:"";await r.waitFor((()=>{s.expect(f()?.textContent).to.equal(t)}),{timeout:d}),await r.waitFor((()=>{s.expect(w()?.textContent).to.equal(n)}),{timeout:d}),await r.waitFor((()=>{s.expect(document.getElementById("cellType")?.textContent).to.equal(a)}),{timeout:d})},C=async e=>{await r.waitFor((()=>{s.expect(w()?.textContent).to.not.equal(e)}),{timeout:d})},N=async e=>{await r.waitFor((()=>{s.expect(f()?.textContent).to.not.equal(e)}),{timeout:d})};t.BORDER_WIDTH=1,t.BORDER_WIDTH_LAST=2,t.determineBrowserScrollbarWidth=async e=>{const t=await g(e),n=t[0].children[0].children[0].children[0];return t[0].offsetWidth-n.offsetWidth},t.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"}],t.employeeStatusData=[{employeeId:10,firstName:"Frank",lastName:"Stout",revenue:33200,targetComplete:20,targetIncomplete:80,rating:5,status:"Pending",salary:159e3,bonus:47900,departmentId:320},{employeeId:20,firstName:"Mara",lastName:"Rivers",revenue:17200,targetComplete:40,targetIncomplete:60,rating:3,status:"Pending",salary:2e5,bonus:45300,departmentId:40},{employeeId:30,firstName:"Karina",lastName:"Cameron",revenue:30100,targetComplete:30,targetIncomplete:70,rating:4,status:"Approved",salary:279e3,bonus:79700,departmentId:370},{employeeId:40,firstName:"Marilyn",lastName:"Short",revenue:48800,targetComplete:90,targetIncomplete:10,rating:3,status:"Approved",salary:106e3,bonus:77500,departmentId:310},{employeeId:50,firstName:"Audra",lastName:"Long",revenue:40700,targetComplete:50,targetIncomplete:50,rating:4,status:"Pending",salary:123e3,bonus:39900,departmentId:490},{employeeId:60,firstName:"Woods",lastName:"Jefferson",revenue:29e3,targetComplete:20,targetIncomplete:80,rating:3,status:"Pending",salary:145e3,bonus:49600,departmentId:160},{employeeId:70,firstName:"Spears",lastName:"Howe",revenue:32900,targetComplete:20,targetIncomplete:80,rating:5,status:"Approved",salary:12e4,bonus:30300,departmentId:460},{employeeId:80,firstName:"Kelsey",lastName:"Gomez",revenue:34200,targetComplete:20,targetIncomplete:80,rating:1,status:"Pending",salary:147e3,bonus:79800,departmentId:330},{employeeId:90,firstName:"Miriam",lastName:"Branch",revenue:42800,targetComplete:90,targetIncomplete:10,rating:3,status:"Pending",salary:117e3,bonus:43e3,departmentId:50},{employeeId:100,firstName:"Tisha",lastName:"Parks",revenue:17800,targetComplete:20,targetIncomplete:80,rating:1,status:"Pending",salary:136e3,bonus:33800,departmentId:200},{employeeId:110,firstName:"Dollie",lastName:"Pittman",revenue:15700,targetComplete:40,targetIncomplete:60,rating:3,status:"Approved",salary:121e3,bonus:60600,departmentId:500},{employeeId:120,firstName:"Leticia",lastName:"Goodman",revenue:16200,targetComplete:80,targetIncomplete:20,rating:5,status:"Pending",salary:295e3,bonus:74900,departmentId:300},{employeeId:130,firstName:"Harrison",lastName:"Jarvis",revenue:32500,targetComplete:30,targetIncomplete:70,rating:1,status:"Pending",salary:125e3,bonus:59600,departmentId:80},{employeeId:140,firstName:"Salinas",lastName:"Richardson",revenue:49600,targetComplete:80,targetIncomplete:20,rating:5,status:"Pending",salary:228e3,bonus:50500,departmentId:50},{employeeId:150,firstName:"Barry",lastName:"Maxwell",revenue:42800,targetComplete:50,targetIncomplete:50,rating:5,status:"Pending",salary:269e3,bonus:52200,departmentId:400},{employeeId:160,firstName:"Diaz",lastName:"Velazquez",revenue:24100,targetComplete:20,targetIncomplete:80,rating:4,status:"Approved",salary:242e3,bonus:45e3,departmentId:370},{employeeId:170,firstName:"Minnie",lastName:"Riley",revenue:12e3,targetComplete:20,targetIncomplete:80,rating:2,status:"Approved",salary:107e3,bonus:67500,departmentId:250},{employeeId:180,firstName:"Fulton",lastName:"Bernard",revenue:29400,targetComplete:80,targetIncomplete:20,rating:4,status:"Approved",salary:259e3,bonus:37400,departmentId:170},{employeeId:190,firstName:"Chandler",lastName:"Mccarty",revenue:30100,targetComplete:20,targetIncomplete:80,rating:1,status:"Approved",salary:185e3,bonus:74e3,departmentId:250},{employeeId:200,firstName:"Flowers",lastName:"Hernandez",revenue:20700,targetComplete:70,targetIncomplete:30,rating:4,status:"Approved",salary:135e3,bonus:39300,departmentId:260},{employeeId:210,firstName:"Donaldson",lastName:"Sharp",revenue:42300,targetComplete:70,targetIncomplete:30,rating:3,status:"Pending",salary:176e3,bonus:67600,departmentId:250},{employeeId:220,firstName:"Melanie",lastName:"Gamble",revenue:30100,targetComplete:50,targetIncomplete:50,rating:3,status:"Approved",salary:219e3,bonus:52400,departmentId:230},{employeeId:230,firstName:"Leona",lastName:"Erickson",revenue:11400,targetComplete:20,targetIncomplete:80,rating:1,status:"Pending",salary:185e3,bonus:57300,departmentId:160},{employeeId:240,firstName:"Dionne",lastName:"Howell",revenue:44200,targetComplete:90,targetIncomplete:10,rating:1,status:"Approved",salary:211e3,bonus:65800,departmentId:130},{employeeId:250,firstName:"June",lastName:"Warren",revenue:39500,targetComplete:50,targetIncomplete:50,rating:3,status:"Approved",salary:222e3,bonus:65200,departmentId:260},{employeeId:260,firstName:"Carey",lastName:"Johns",revenue:36e3,targetComplete:50,targetIncomplete:50,rating:4,status:"Approved",salary:233e3,bonus:69500,departmentId:190},{employeeId:270,firstName:"Estelle",lastName:"Bowers",revenue:27600,targetComplete:40,targetIncomplete:60,rating:2,status:"Approved",salary:212e3,bonus:37700,departmentId:120},{employeeId:280,firstName:"Rena",lastName:"Blanchard",revenue:16e3,targetComplete:50,targetIncomplete:50,rating:4,status:"Approved",salary:135e3,bonus:51e3,departmentId:380},{employeeId:290,firstName:"Hinton",lastName:"Tillman",revenue:42400,targetComplete:80,targetIncomplete:20,rating:4,status:"Pending",salary:134e3,bonus:49600,departmentId:40},{employeeId:300,firstName:"Gloria",lastName:"Everett",revenue:42100,targetComplete:50,targetIncomplete:50,rating:3,status:"Approved",salary:278e3,bonus:38400,departmentId:180},{employeeId:310,firstName:"Ware",lastName:"Simon",revenue:49500,targetComplete:50,targetIncomplete:50,rating:3,status:"Approved",salary:142e3,bonus:43900,departmentId:190},{employeeId:320,firstName:"Carolina",lastName:"Holmes",revenue:22700,targetComplete:80,targetIncomplete:20,rating:4,status:"Pending",salary:181e3,bonus:52e3,departmentId:320},{employeeId:330,firstName:"Day",lastName:"Newman",revenue:46e3,targetComplete:50,targetIncomplete:50,rating:5,status:"Approved",salary:117e3,bonus:66700,departmentId:290},{employeeId:340,firstName:"Nielsen",lastName:"Harrell",revenue:13800,targetComplete:30,targetIncomplete:70,rating:5,status:"Pending",salary:212e3,bonus:39600,departmentId:70},{employeeId:350,firstName:"Barbara",lastName:"Moore",revenue:37600,targetComplete:50,targetIncomplete:50,rating:4,status:"Pending",salary:185e3,bonus:61800,departmentId:340},{employeeId:360,firstName:"Reese",lastName:"Green",revenue:27500,targetComplete:50,targetIncomplete:50,rating:4,status:"Approved",salary:168e3,bonus:72500,departmentId:30},{employeeId:370,firstName:"Paige",lastName:"Gregory",revenue:22300,targetComplete:70,targetIncomplete:30,rating:3,status:"Pending",salary:27e4,bonus:33500,departmentId:360},{employeeId:380,firstName:"Jaclyn",lastName:"Mann",revenue:29700,targetComplete:40,targetIncomplete:60,rating:1,status:"Approved",salary:224e3,bonus:76400,departmentId:120},{employeeId:390,firstName:"Lula",lastName:"Fowler",revenue:40700,targetComplete:60,targetIncomplete:40,rating:3,status:"Approved",salary:211e3,bonus:57e3,departmentId:320},{employeeId:400,firstName:"Regina",lastName:"Watson",revenue:10600,targetComplete:50,targetIncomplete:50,rating:3,status:"Pending",salary:211e3,bonus:31600,departmentId:470},{employeeId:410,firstName:"Candice",lastName:"Hardin",revenue:48200,targetComplete:90,targetIncomplete:10,rating:4,status:"Pending",salary:191e3,bonus:73400,departmentId:110},{employeeId:420,firstName:"Pate",lastName:"Haney",revenue:12600,targetComplete:90,targetIncomplete:10,rating:2,status:"Approved",salary:247e3,bonus:71600,departmentId:200},{employeeId:430,firstName:"Snider",lastName:"Shepard",revenue:30900,targetComplete:30,targetIncomplete:70,rating:4,status:"Pending",salary:23e4,bonus:59200,departmentId:20},{employeeId:440,firstName:"Fleming",lastName:"Torres",revenue:13500,targetComplete:40,targetIncomplete:60,rating:5,status:"Approved",salary:111e3,bonus:69800,departmentId:120},{employeeId:450,firstName:"Terrie",lastName:"Grimes",revenue:47200,targetComplete:40,targetIncomplete:60,rating:4,status:"Pending",salary:118e3,bonus:42900,departmentId:460},{employeeId:460,firstName:"Hallie",lastName:"Frye",revenue:20900,targetComplete:60,targetIncomplete:40,rating:4,status:"Approved",salary:218e3,bonus:5e4,departmentId:340},{employeeId:470,firstName:"Jerry",lastName:"Salazar",revenue:43300,targetComplete:90,targetIncomplete:10,rating:5,status:"Approved",salary:103e3,bonus:49800,departmentId:440},{employeeId:480,firstName:"Sally",lastName:"Barnett",revenue:39500,targetComplete:30,targetIncomplete:70,rating:3,status:"Pending",salary:132e3,bonus:8e4,departmentId:160},{employeeId:490,firstName:"Goldie",lastName:"Kelly",revenue:32600,targetComplete:20,targetIncomplete:80,rating:5,status:"Approved",salary:102e3,bonus:39e3,departmentId:10},{employeeId:500,firstName:"Brianna",lastName:"Compton",revenue:30400,targetComplete:60,targetIncomplete:40,rating:4,status:"Pending",salary:114e3,bonus:78200,departmentId:280}],t.enableLongTimeout=()=>{"undefined"==typeof jest?mocha.timeout(2e4):jest.setTimeout(2e4)},t.findContainingCell=y,t.getColumnFooters=async e=>{const t=await b(e);return t.length>2?t[t.length-1].children:[]},t.getColumnHeaders=p,t.getDataCells=async e=>e.children,t.getInnerGrids=g,t.getInternalScroller=async e=>e.findByRole("rowgroup"),t.getRows=b,t.getShortTimeout=()=>d,t.isMac=()=>"mac"===o.getClientHints().platform,t.runHorizontalScrollingTests=async(e,t,n,a,o,l)=>{const u=m.default.setup();console.log("viewport start"),console.log(t()),console.log("viewport end"),console.log(n());const i=await g(e);s.expect(i.length).equals(1);const c=await p(e),d=c.length;if(await r.act((()=>c[0].focus())),await I({columnKey:"id",type:"header"}),o){let e,o,i,m,g=0;for(let t=1;t<c.length;t++){e=c[t].getBoundingClientRect().left,console.log("column end:"),console.log(l[t]),console.log(e),console.log("is header cell same as initial:");const r=document.getElementsByTagName("th");if(console.log(c[t]===r[t]),e<n()){g=t;break}}console.log("arrow count"),console.log(g);for(let e=0;e<g;e++)await u.keyboard("[ArrowLeft]"),await I({columnKey:l[e+1],type:"header"}),console.log(l[e+1]);await r.waitFor((()=>{e=c[g].getBoundingClientRect().left,console.log("column end 6"),console.log(e),s.expect(Math.abs(n()-e)<=2).equals(!0)}));for(let t=1;t<3;t++)g+=1,await u.keyboard("[ArrowLeft]"),await I({columnKey:l[g],type:"header"}),console.log(l[g]),await r.waitFor((()=>{e=c[g].getBoundingClientRect().left,console.log("column end 7"),console.log(e),s.expect(Math.abs(n()-e)<=2).equals(!0)}));if(a)i=g;else{await u.keyboard("[Home]"),await C(l[g]),console.log(w()?.textContent),await r.waitFor((()=>{o=c[0].getBoundingClientRect().right,console.log("column start 8"),console.log(o),s.expect(Math.abs(t()-o)<=2).equals(!0)}));const a=w()?.textContent;await u.keyboard("[End]"),await C(a),console.log(w()?.textContent),await r.waitFor((()=>{e=c[d-1].getBoundingClientRect().left,console.log("column end 9"),console.log(e),s.expect(Math.abs(n()-e)<=2).equals(!0)})),i=c.length-1}for(let e=i;e>=0;e--)if(o=c[e].getBoundingClientRect().right,o>t()){m=e,g=i-e;break}for(let e=0;e<g;e++)await u.keyboard("[ArrowRight]"),await I({columnKey:l[i-e-1],type:"header"}),console.log(l[i-e-1]);await r.waitFor((()=>{o=c[m].getBoundingClientRect().right,console.log("column start 10"),console.log(o),s.expect(Math.abs(t()-o)<=2).equals(!0)}))}else{let e,o,i,m,g=0;for(let t=1;t<c.length;t++){e=c[t].getBoundingClientRect().right,console.log("column end:"),console.log(l[t]),console.log(e),console.log("is header cell same as initial:");const r=document.getElementsByTagName("th");if(console.log(c[t]===r[t]),e>n()){g=t;break}}console.log("arrow count"),console.log(g);for(let e=0;e<g;e++)await u.keyboard("[ArrowRight]"),await I({columnKey:l[e+1],type:"header"}),console.log(l[e+1]);await r.waitFor((()=>{e=c[g].getBoundingClientRect().right,console.log("column end 1"),console.log(e),s.expect(Math.abs(n()-e)<=2).equals(!0)}));for(let t=1;t<3;t++)g+=1,await u.keyboard("[ArrowRight]"),await I({columnKey:l[g],type:"header"}),console.log(l[g]),await r.waitFor((()=>{e=c[g].getBoundingClientRect().right,console.log("column end 2"),console.log(e),s.expect(Math.abs(n()-e)<=2).equals(!0)}));if(a)i=g;else{await u.keyboard("[Home]"),await C(l[g]),console.log(w()?.textContent),await r.waitFor((()=>{o=c[0].getBoundingClientRect().left,console.log("column start 3"),console.log(o),s.expect(Math.abs(t()-o)<=2).equals(!0)}));const a=w()?.textContent;await u.keyboard("[End]"),await C(a),console.log(w()?.textContent),await r.waitFor((()=>{e=c[d-1].getBoundingClientRect().right,console.log("column end 4"),console.log(e),s.expect(Math.abs(n()-e)<=2).equals(!0)})),i=c.length-1}for(let e=i;e>=0;e--)if(o=c[e].getBoundingClientRect().left,o<t()){m=e,g=i-e;break}for(let e=0;e<g;e++)await u.keyboard("[ArrowLeft]"),await I({columnKey:l[i-e-1],type:"header"}),console.log(l[i-e-1]);await r.waitFor((()=>{o=c[m].getBoundingClientRect().left,console.log("column start 5"),console.log(o),s.expect(Math.abs(t()-o)<=2).equals(!0)}))}},t.runVerticalScrollingTests=async(e,t,n)=>{const a=m.default.setup();console.log("viewport top"),console.log(t()),console.log("viewport bottom"),console.log(n());const o=await g(e);s.expect(o.length).equals(1);const l=await p(e),u=await b(e);let i;await r.act((()=>l[0].focus())),await I({columnKey:"id",type:"header"});let c,d,y,w=0;for(let e=1;e<u.length;e++)if(i=u[e].getBoundingClientRect().bottom,i>n()){w=e;break}for(let e=0;e<w;e++)await a.keyboard("[ArrowDown]"),await N(c),c=f()?.textContent,console.log(c);await r.waitFor((()=>{i=u[w].getBoundingClientRect().bottom,console.log("row bottom 1"),console.log(i),s.expect(Math.abs(n()-i)<=2).equals(!0)}));for(let e=1;e<11;e++)w+=1,await a.keyboard("[ArrowDown]"),await N(c),c=f()?.textContent,console.log(c),await r.waitFor((()=>{i=u[w].getBoundingClientRect().bottom,console.log("row bottom 2"),console.log(i),s.expect(Math.abs(n()-i)<=2).equals(!0)}));await a.keyboard("[PageDown]"),await N(c),c=f()?.textContent,console.log(c),await r.waitFor((()=>{d=u[w+1].getBoundingClientRect().top,console.log("row top 3"),console.log(d),s.expect(Math.abs(t()-d)<=2).equals(!0)})),await a.keyboard("[PageUp]"),await N(c),c=f()?.textContent,console.log(c),await r.waitFor((()=>{i=u[w].getBoundingClientRect().bottom,console.log("row bottom 4"),console.log(i),s.expect(Math.abs(n()-i)<=2).equals(!0)}));for(let e=w;e>0;e--)if(d=u[e].getBoundingClientRect().top,d<t()){y=w-(w-e),w-=e;break}for(let e=0;e<w;e++)await a.keyboard("[ArrowUp]"),await N(c),c=f()?.textContent,console.log(c);await r.waitFor((()=>{d=u[y].getBoundingClientRect().top,console.log("row top 5"),console.log(d),s.expect(Math.abs(t()-d)<=2).equals(!0)}))},t.setupTableView=async t=>{const a=l.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:s}=await function(t){switch(t){case"../../resources/nls/ar/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/ar/bundle"],t,n)}));case"../../resources/nls/ar-XB/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/ar-XB/bundle"],t,n)}));case"../../resources/nls/bg/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/bg/bundle"],t,n)}));case"../../resources/nls/bs/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/bs/bundle"],t,n)}));case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/bs-Cyrl/bundle"],t,n)}));case"../../resources/nls/cs/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/cs/bundle"],t,n)}));case"../../resources/nls/da/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/da/bundle"],t,n)}));case"../../resources/nls/de/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/de/bundle"],t,n)}));case"../../resources/nls/el/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/el/bundle"],t,n)}));case"../../resources/nls/en/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/en/bundle"],t,n)}));case"../../resources/nls/en-XA/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/en-XA/bundle"],t,n)}));case"../../resources/nls/en-XC/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/en-XC/bundle"],t,n)}));case"../../resources/nls/es/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/es/bundle"],t,n)}));case"../../resources/nls/et/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/et/bundle"],t,n)}));case"../../resources/nls/fi/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/fi/bundle"],t,n)}));case"../../resources/nls/fr/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/fr/bundle"],t,n)}));case"../../resources/nls/fr-CA/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/fr-CA/bundle"],t,n)}));case"../../resources/nls/he/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/he/bundle"],t,n)}));case"../../resources/nls/hr/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/hr/bundle"],t,n)}));case"../../resources/nls/hu/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/hu/bundle"],t,n)}));case"../../resources/nls/is/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/is/bundle"],t,n)}));case"../../resources/nls/it/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/it/bundle"],t,n)}));case"../../resources/nls/ja/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/ja/bundle"],t,n)}));case"../../resources/nls/ko/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/ko/bundle"],t,n)}));case"../../resources/nls/lt/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/lt/bundle"],t,n)}));case"../../resources/nls/lv/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/lv/bundle"],t,n)}));case"../../resources/nls/ms/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/ms/bundle"],t,n)}));case"../../resources/nls/nl/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/nl/bundle"],t,n)}));case"../../resources/nls/no/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/no/bundle"],t,n)}));case"../../resources/nls/pl/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/pl/bundle"],t,n)}));case"../../resources/nls/pt/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/pt/bundle"],t,n)}));case"../../resources/nls/pt-PT/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/pt-PT/bundle"],t,n)}));case"../../resources/nls/ro/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/ro/bundle"],t,n)}));case"../../resources/nls/ru/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/ru/bundle"],t,n)}));case"../../resources/nls/sk/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/sk/bundle"],t,n)}));case"../../resources/nls/sl/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/sl/bundle"],t,n)}));case"../../resources/nls/sr/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/sr/bundle"],t,n)}));case"../../resources/nls/sr-Latn/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/sr-Latn/bundle"],t,n)}));case"../../resources/nls/sv/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/sv/bundle"],t,n)}));case"../../resources/nls/th/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/th/bundle"],t,n)}));case"../../resources/nls/tr/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/tr/bundle"],t,n)}));case"../../resources/nls/uk/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/uk/bundle"],t,n)}));case"../../resources/nls/vi/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/vi/bundle"],t,n)}));case"../../resources/nls/zh-Hans/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/zh-Hans/bundle"],t,n)}));case"../../resources/nls/zh-Hant/bundle.ts":return new Promise((function(t,n){e(["./resources/nls/zh-Hant/bundle"],t,n)}));default:return new Promise((function(e,n){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+t)))}))}}(`../../resources/nls/${a}/bundle.ts`),o={translations:{"@oracle/oraclejet-preact":s}};return r.render(n.jsx(i.RootEnvironmentProvider,{environment:o,children:t}))},t.verifyAriaSelected=async(e,t)=>{for(let t=0;t<e.length;t++)await r.waitFor((()=>{s.expect(e[t].getAttribute("aria-selected")).to.equal("true")}),{timeout:d});for(let e=0;e<t.length;e++)await r.waitFor((()=>{s.expect(t[e].getAttribute("aria-selected")).to.not.equal("true")}),{timeout:d})},t.verifyCurrentCellValue=I,t.verifyElementWidth=async(e,t)=>{await r.waitFor((()=>{s.expect(e.offsetWidth).to.equal(t)}),{timeout:d})}}));
2
+ //# sourceMappingURL=testData-c84b4335.js.map