@oracle/oraclejet-preact 17.1.6 → 17.1.8
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.
- package/amd/ActionCard-01322111.js +1 -1
- package/amd/AvatarVariants.styles.css +25 -25
- package/amd/AvatarVariants.styles2.css +25 -25
- package/amd/{BarChart-b75423c1.js → BarChart-aba4a793.js} +2 -2
- package/amd/{BarChart-b75423c1.js.map → BarChart-aba4a793.js.map} +1 -1
- package/amd/BaseButton-51e50f77.js +1 -1
- package/amd/BaseCardView-c5624c8a.js +1 -1
- package/amd/{BaseCardViewSelectionTest-9627e4ab.js → BaseCardViewSelectionTest-b80dd91b.js} +2 -2
- package/amd/{BaseCardViewSelectionTest-9627e4ab.js.map → BaseCardViewSelectionTest-b80dd91b.js.map} +1 -1
- package/amd/BaseNavigationListItem-368284be.js +1 -1
- package/amd/ButtonSet-c389d5c7.js +1 -1
- package/amd/ButtonSetIconButton-141a8745.js +1 -1
- package/amd/{Center-b449a95c.js → Center-9ec5524e.js} +2 -2
- package/amd/{Center-b449a95c.js.map → Center-9ec5524e.js.map} +1 -1
- package/amd/{Chart-96ea9fed.js → Chart-1046ac5b.js} +2 -2
- package/amd/{Chart-96ea9fed.js.map → Chart-1046ac5b.js.map} +1 -1
- package/amd/CheckboxControl-74a7fead.js +1 -1
- package/amd/CheckboxRadioField-005a110c.js +1 -1
- package/amd/Chip-3062b3d3.js +1 -1
- package/amd/ClearIcon-c13664cd.js +1 -1
- package/amd/CollapseIcon-38899da0.js +1 -1
- package/amd/Collapsible-ba4eef8f.js +1 -1
- package/amd/CompactHelpSource-be790e15.js +1 -1
- package/amd/CompactLabelAssistance-bc14e060.js +2 -0
- package/amd/{CompactLabelAssistance-7db2fde2.js.map → CompactLabelAssistance-bc14e060.js.map} +1 -1
- package/amd/CompactUserAssistance-a7b3ffc0.js +1 -1
- package/amd/ComponentMessageContainer-3b691959.js +1 -1
- package/amd/ConveyorBeltItem-bc128f62.js +1 -1
- package/amd/{DatePicker-d7802b3e.js → DatePicker-dd358026.js} +2 -2
- package/amd/{DatePicker-d7802b3e.js.map → DatePicker-dd358026.js.map} +1 -1
- package/amd/DatePickerHeader-c03ca6b4.js +1 -1
- package/amd/{Diagram-14fd94c3.js → Diagram-1b48168a.js} +2 -2
- package/amd/{Diagram-14fd94c3.js.map → Diagram-1b48168a.js.map} +1 -1
- package/amd/{Dialog-f6da299c.js → Dialog-c34f9e89.js} +2 -2
- package/amd/{Dialog-f6da299c.js.map → Dialog-c34f9e89.js.map} +1 -1
- package/amd/DirectionalCollapseArrowIcon-1c72e459.js +1 -1
- package/amd/DirectionalExpandArrowIcon-198cec2b.js +1 -1
- package/amd/DragHandle-e4959d2b.js +1 -1
- package/amd/{Dropdown-5f68516d.js → Dropdown-b36aa071.js} +2 -2
- package/amd/{Dropdown-5f68516d.js.map → Dropdown-b36aa071.js.map} +1 -1
- package/amd/{EnvironmentProvider-8f6fc388.js → EnvironmentProvider-c0e1e39b.js} +2 -2
- package/amd/{EnvironmentProvider-8f6fc388.js.map → EnvironmentProvider-c0e1e39b.js.map} +1 -1
- package/amd/FilePicker-e13f405f.js +1 -1
- package/amd/Flex-3421f0df.js +2 -0
- package/amd/{Flex-56ecdf4c.js.map → Flex-3421f0df.js.map} +1 -1
- package/amd/{Floating-a658b79c.js → Floating-25e0092b.js} +2 -2
- package/amd/{Floating-a658b79c.js.map → Floating-25e0092b.js.map} +1 -1
- package/amd/FormLayout-c6f1fdff.js +1 -1
- package/amd/Gantt-7be8d8bc.js +1 -1
- package/amd/{Grid-160f4885.js → Grid-8911aa0f.js} +2 -2
- package/amd/{Grid-160f4885.js.map → Grid-8911aa0f.js.map} +1 -1
- package/amd/{Gridlines-b1d59999.js → Gridlines-071ff524.js} +2 -2
- package/amd/{Gridlines-b1d59999.js.map → Gridlines-071ff524.js.map} +1 -1
- package/amd/GroupLoadingIndicator-cd9192c9.js +1 -1
- package/amd/HighlightText-644bc74e.js +2 -0
- package/amd/{HighlightText-bd4c0101.js.map → HighlightText-644bc74e.js.map} +1 -1
- package/amd/Icon-2d805acb.js +1 -1
- package/amd/IconButton-81c8463f.js +1 -1
- package/amd/IconMenuButton-3e3db121.js +1 -1
- package/amd/IconProgressButton-04979469.js +1 -1
- package/amd/IconSwitchButton-bc007cbd.js +1 -1
- package/amd/IconToggleButton-28960894.js +1 -1
- package/amd/{IconUserAssistance-2f809060.js → IconUserAssistance-dda606e6.js} +2 -2
- package/amd/{IconUserAssistance-2f809060.js.map → IconUserAssistance-dda606e6.js.map} +1 -1
- package/amd/Indexer-74c989ce.js +1 -1
- package/amd/InlineHelpSource-85961e81.js +1 -1
- package/amd/InlineUserAssistance-2a480664.js +1 -1
- package/amd/InputDateMask-9aba967d.js +1 -1
- package/amd/InputDatePicker-97756bcd.js +1 -1
- package/amd/InputPassword-bf533999.js +1 -1
- package/amd/InputText-a4234d1f.js +1 -1
- package/amd/Label-a4172af7.js +1 -1
- package/amd/LabelValueLayout-194e64d9.js +1 -1
- package/amd/{Layer-276d62e8.js → Layer-e835aed8.js} +2 -2
- package/amd/{Layer-276d62e8.js.map → Layer-e835aed8.js.map} +1 -1
- package/amd/{LayerHost-e95c5f30.js → LayerHost-639b3284.js} +2 -2
- package/amd/{LayerHost-e95c5f30.js.map → LayerHost-639b3284.js.map} +1 -1
- package/amd/{LayerManager-76fcfb58.js → LayerManager-2972de92.js} +2 -2
- package/amd/{LayerManager-76fcfb58.js.map → LayerManager-2972de92.js.map} +1 -1
- package/amd/Legend-cd2f78b2.js +1 -1
- package/amd/{LineAreaChart-47b01e9e.js → LineAreaChart-5224fce6.js} +2 -2
- package/amd/{LineAreaChart-47b01e9e.js.map → LineAreaChart-5224fce6.js.map} +1 -1
- package/amd/Link-cb232696.js +1 -1
- package/amd/List-61d64cd6.js +1 -1
- package/amd/{ListItemLayout-90873fb8.js → ListItemLayout-1d8f166a.js} +2 -2
- package/amd/{ListItemLayout-90873fb8.js.map → ListItemLayout-1d8f166a.js.map} +1 -1
- package/amd/ListView-a49e52c3.js +1 -1
- package/amd/LiveRegion-9a362373.js +2 -0
- package/amd/{LiveRegion-8142ed0d.js.map → LiveRegion-9a362373.js.map} +1 -1
- package/amd/MaxLengthLiveRegion-bb956138.js +2 -0
- package/amd/{MaxLengthLiveRegion-8954fc30.js.map → MaxLengthLiveRegion-bb956138.js.map} +1 -1
- package/amd/{Menu-8f3a1e8c.js → Menu-e682ccb9.js} +2 -2
- package/amd/{Menu-8f3a1e8c.js.map → Menu-e682ccb9.js.map} +1 -1
- package/amd/MenuButton-e4d7ec34.js +1 -1
- package/amd/MenuItem-44b2547b.js +1 -1
- package/amd/Message-1b166e4f.js +1 -1
- package/amd/{MessageLayer-cf9265e0.js → MessageLayer-3742e608.js} +2 -2
- package/amd/{MessageLayer-cf9265e0.js.map → MessageLayer-3742e608.js.map} +1 -1
- package/amd/MessageToast-7aba4a66.js +1 -1
- package/amd/MessagesManager-d6d43884.js +1 -1
- package/amd/MeterBar-90569d10.js +1 -1
- package/amd/MeterCircle-b14ff590.js +1 -1
- package/amd/{Modal-36acfc12.js → Modal-2b6ce101.js} +2 -2
- package/amd/{Modal-36acfc12.js.map → Modal-2b6ce101.js.map} +1 -1
- package/amd/{MonthView-ac27389f.js → MonthView-8a1fde80.js} +2 -2
- package/amd/{MonthView-ac27389f.js.map → MonthView-8a1fde80.js.map} +1 -1
- package/amd/NavigationListItem-1742f912.js +1 -1
- package/amd/NumberInputText-83ba7a58.js +1 -1
- package/amd/OverflowTabBarItem-4c4b75e0.js +1 -1
- package/amd/PRIVATE_BaseCardView.js +1 -1
- package/amd/PRIVATE_Chart.js +1 -1
- package/amd/PRIVATE_CheckboxControl.js +1 -1
- package/amd/PRIVATE_CheckboxRadioField.js +1 -1
- package/amd/PRIVATE_ClearIcon.js +1 -1
- package/amd/PRIVATE_DatePickerHeader.js +1 -1
- package/amd/PRIVATE_DatePickerLayout.js +1 -1
- package/amd/PRIVATE_EmbeddedIconButton.js +1 -1
- package/amd/PRIVATE_FormControls.js +1 -1
- package/amd/PRIVATE_IconSwitchButton.js +1 -1
- package/amd/PRIVATE_Icons/CheckboxMixed.js +1 -1
- package/amd/PRIVATE_Icons/CheckboxOff.js +1 -1
- package/amd/PRIVATE_Icons/CheckboxOn.js +1 -1
- package/amd/PRIVATE_Icons/RadiobuttonOff.js +1 -1
- package/amd/PRIVATE_Icons/RadiobuttonOn.js +1 -1
- package/amd/PRIVATE_Icons/WarningS.js +1 -1
- package/amd/PRIVATE_List.js +1 -1
- package/amd/PRIVATE_Message.js +1 -1
- package/amd/PRIVATE_MessageLayer.js +1 -1
- package/amd/PRIVATE_MonthView.js +1 -1
- package/amd/PRIVATE_MonthYearGridView.js +1 -1
- package/amd/PRIVATE_PlotArea.js +1 -1
- package/amd/PRIVATE_RevealToggleIcon.js +1 -1
- package/amd/PRIVATE_SelectCommon.js +1 -1
- package/amd/PRIVATE_StyledCheckbox.js +1 -1
- package/amd/PRIVATE_Table.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CalendarIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ChartPanIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ChartZoomIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CheckIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CheckboxOffIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CheckboxOnIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CloseIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CollapseIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CollapseUpIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DecrementIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DeleteIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DropdownArrowIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ExpandIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/HelpIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/IncrementIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MessageErrorIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MessageInfoIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MessageWarningIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MinusIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/NavDownIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/PlusIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/RadioOffIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/RadioOnIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/SortAscendingIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/SortDefaultIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/SortDescendingIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ViewHideIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ViewIcon.js +1 -1
- package/amd/PRIVATE_TimeComponent.js +1 -1
- package/amd/PRIVATE_VisTabularDatatip.js +1 -1
- package/amd/PictoChart-98b54953.js +1 -1
- package/amd/{PieChart-cbe2806f.js → PieChart-45cc3798.js} +2 -2
- package/amd/{PieChart-cbe2806f.js.map → PieChart-45cc3798.js.map} +1 -1
- package/amd/{Popup-956e6d7d.js → Popup-059eb48a.js} +2 -2
- package/amd/{Popup-956e6d7d.js.map → Popup-059eb48a.js.map} +1 -1
- package/amd/{ProgressBar-d7cfdb63.js → ProgressBar-479b35e5.js} +2 -2
- package/amd/{ProgressBar-d7cfdb63.js.map → ProgressBar-479b35e5.js.map} +1 -1
- package/amd/ProgressButton-c98e276b.js +1 -1
- package/amd/ProgressButtonLabelLayout-3a78ba61.js +1 -1
- package/amd/{ProgressCircle-1e4cefde.js → ProgressCircle-365c4568.js} +2 -2
- package/amd/{ProgressCircle-1e4cefde.js.map → ProgressCircle-365c4568.js.map} +1 -1
- package/amd/RadioIconVariants.styles.css +1 -1
- package/amd/RadioIconVariants.styles2.css +1 -1
- package/amd/RadioItem-ce699d94.js +1 -1
- package/amd/RatingGauge-138a7d8b.js +1 -1
- package/amd/ReadonlyTextFieldInput-608bddc1.js +1 -1
- package/amd/RemovableNavigationListItem-dd14305f.js +1 -1
- package/amd/RemovableTabBarItem-6a25d890.js +1 -1
- package/amd/ReorderableTabBar-e40ffae9.js +1 -1
- package/amd/RevealToggleIcon-c5b17f49.js +1 -1
- package/amd/SectionalLegend-5d4afed4.js +1 -1
- package/amd/SectionedContent-2b89af7b.js +2 -0
- package/amd/{SectionedContent-6031f8f7.js.map → SectionedContent-2b89af7b.js.map} +1 -1
- package/amd/SelectMultiple-1ff92cc3.js +1 -1
- package/amd/SelectSingle-641a4cac.js +1 -1
- package/amd/{SelectionCard-062e1c6f.js → SelectionCard-3973de1b.js} +2 -2
- package/amd/{SelectionCard-062e1c6f.js.map → SelectionCard-3973de1b.js.map} +1 -1
- package/amd/Selector-039f7481.js +1 -1
- package/amd/SelectorAll-7288e923.js +2 -0
- package/amd/{SelectorAll-53efae22.js.map → SelectorAll-7288e923.js.map} +1 -1
- package/amd/{Sheet-e6308643.js → Sheet-c6fc15b2.js} +2 -2
- package/amd/{Sheet-e6308643.js.map → Sheet-c6fc15b2.js.map} +1 -1
- package/amd/SplitMenuButton-09d7b66f.js +1 -1
- package/amd/StyledTextField-a51060bb.js +1 -1
- package/amd/Submenu-8cb31b61.js +1 -1
- package/amd/TabBar-1c002b5b.js +1 -1
- package/amd/TabBarItem-16383a92.js +1 -1
- package/amd/TabBarLayout-685ac295.js +1 -1
- package/amd/TabBarMixed-4e0326f5.js +1 -1
- package/amd/TabBarMixedSeparator-ed764207.js +2 -0
- package/amd/{TabBarMixedSeparator-8c278254.js.map → TabBarMixedSeparator-ed764207.js.map} +1 -1
- package/amd/Table-986ae70c.js +1 -1
- package/amd/TagCloud-58b4a81b.js +1 -1
- package/amd/TextArea-916c5bb1.js +2 -0
- package/{cjs/TextArea-792069d7.js.map → amd/TextArea-916c5bb1.js.map} +1 -1
- package/amd/TextAreaAutosize-1f47b470.js +2 -0
- package/amd/{TextAreaAutosize-e8dc13b4.js.map → TextAreaAutosize-1f47b470.js.map} +1 -1
- package/amd/TextField-51daf13e.js +1 -1
- package/amd/TextFieldInput-d6645f5b.js +1 -1
- package/amd/Theme-redwood/theme.css +464 -464
- package/amd/Theme-stable/theme.css +435 -435
- package/amd/TimeComponentCanvas2D-2f1cede4.js +1 -1
- package/amd/Toolbar-e84c90ac.js +1 -1
- package/amd/{TruncatingBadge-5b720ad3.js → TruncatingBadge-b6a271ea.js} +2 -2
- package/amd/{TruncatingBadge-5b720ad3.js.map → TruncatingBadge-b6a271ea.js.map} +1 -1
- package/amd/TruncatingText-e1aceee7.js +2 -0
- package/amd/{TruncatingText-17a6d4b6.js.map → TruncatingText-e1aceee7.js.map} +1 -1
- package/amd/UNSAFE_ActionCard.js +1 -1
- package/amd/UNSAFE_Avatar/themes/redwood/AvatarTheme.js +1 -1
- package/amd/UNSAFE_Avatar/themes/redwood/AvatarTheme.js.map +1 -1
- package/amd/UNSAFE_Avatar/themes/redwood/AvatarVariants.css.js +1 -1
- package/amd/UNSAFE_Avatar/themes/stable/AvatarTheme.js +1 -1
- package/amd/UNSAFE_Avatar/themes/stable/AvatarTheme.js.map +1 -1
- package/amd/UNSAFE_Avatar/themes/stable/AvatarVariants.css.js +1 -1
- package/amd/UNSAFE_Avatar.js +1 -1
- package/amd/UNSAFE_BarChart/__test__/BarChart.spec.js +1 -1
- package/amd/UNSAFE_BarChart.js +1 -1
- package/amd/UNSAFE_BaseButton.js +1 -1
- package/amd/UNSAFE_Button.js +1 -1
- package/amd/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +1 -1
- package/amd/UNSAFE_ButtonSet.js +1 -1
- package/amd/UNSAFE_ButtonSetButton.js +1 -1
- package/amd/UNSAFE_ButtonSetIconButton.js +1 -1
- package/amd/UNSAFE_ButtonSetItem.js +1 -1
- package/amd/UNSAFE_ButtonSetMultiple.js +1 -1
- package/amd/UNSAFE_ButtonSetSingle.js +1 -1
- package/amd/UNSAFE_CardFlexView.js +1 -1
- package/amd/UNSAFE_CardGridView.js +1 -1
- package/amd/UNSAFE_Center.js +1 -1
- package/amd/UNSAFE_ChartWithLegend.js +1 -1
- package/amd/UNSAFE_Checkbox.js +1 -1
- package/amd/UNSAFE_CheckboxItem.js +1 -1
- package/amd/UNSAFE_CheckboxSet.js +1 -1
- package/amd/UNSAFE_Chip.js +1 -1
- package/amd/UNSAFE_Collapsible.js +1 -1
- package/amd/UNSAFE_ComponentMessage.js +1 -1
- package/amd/UNSAFE_ConveyorBelt.js +1 -1
- package/amd/UNSAFE_DatePicker.js +1 -1
- package/amd/UNSAFE_Diagram.js +1 -1
- package/amd/UNSAFE_Dialog.js +1 -1
- package/amd/UNSAFE_DragHandle.js +1 -1
- package/amd/UNSAFE_DrawerLayout.js +1 -1
- package/amd/UNSAFE_DrawerPopup.js +1 -1
- package/amd/UNSAFE_Dropdown.js +1 -1
- package/amd/UNSAFE_Environment.js +1 -1
- package/amd/UNSAFE_ExpandableList.js +1 -1
- package/amd/UNSAFE_FilePicker.js +1 -1
- package/amd/UNSAFE_Flex.js +1 -1
- package/amd/UNSAFE_Floating.js +1 -1
- package/amd/UNSAFE_FormLayout.js +1 -1
- package/amd/UNSAFE_Gantt.js +1 -1
- package/amd/UNSAFE_Grid.js +1 -1
- package/amd/UNSAFE_HighlightText.js +1 -1
- package/amd/UNSAFE_Icon.js +1 -1
- package/amd/UNSAFE_IconButton.js +1 -1
- package/amd/UNSAFE_IconMenuButton.js +1 -1
- package/amd/UNSAFE_IconProgressButton.js +1 -1
- package/amd/UNSAFE_IconToggleButton.js +1 -1
- package/amd/UNSAFE_Indexer.js +1 -1
- package/amd/UNSAFE_InputDateMask.js +1 -1
- package/amd/UNSAFE_InputDatePicker.js +1 -1
- package/amd/UNSAFE_InputPassword.js +1 -1
- package/amd/UNSAFE_InputSensitiveText.js +1 -1
- package/amd/UNSAFE_InputText.js +1 -1
- package/amd/UNSAFE_Label.js +1 -1
- package/amd/UNSAFE_LabelValueLayout.js +1 -1
- package/amd/UNSAFE_LabelledLink.js +1 -1
- package/amd/UNSAFE_Layer.js +1 -1
- package/amd/UNSAFE_Legend.js +1 -1
- package/amd/UNSAFE_LineAreaChart/__test__/LineChart.spec.js +1 -1
- package/amd/UNSAFE_LineAreaChart.js +1 -1
- package/amd/UNSAFE_Link.js +1 -1
- package/amd/UNSAFE_ListItemLayout.js +1 -1
- package/amd/UNSAFE_ListView.js +1 -1
- package/amd/UNSAFE_LiveRegion.js +1 -1
- package/amd/UNSAFE_Menu.js +1 -1
- package/amd/UNSAFE_MenuButton.js +1 -1
- package/amd/UNSAFE_MessageBanner.js +1 -1
- package/amd/UNSAFE_MessageToast.js +1 -1
- package/amd/UNSAFE_MeterBar.js +1 -1
- package/amd/UNSAFE_MeterCircle.js +1 -1
- package/amd/UNSAFE_Modal.js +1 -1
- package/amd/UNSAFE_NavigationList.js +1 -1
- package/amd/UNSAFE_NavigationListCommon.js +1 -1
- package/amd/UNSAFE_NumberInputText.js +1 -1
- package/amd/UNSAFE_OverflowTabBar.js +1 -1
- package/amd/UNSAFE_PictoChart.js +1 -1
- package/amd/UNSAFE_PieChart/__test__/PieChart.spec.js +1 -1
- package/amd/UNSAFE_PieChart.js +1 -1
- package/amd/UNSAFE_Popup.js +1 -1
- package/amd/UNSAFE_ProgressBar.js +1 -1
- package/amd/UNSAFE_ProgressButton.js +1 -1
- package/amd/UNSAFE_ProgressButtonLabelLayout.js +1 -1
- package/amd/UNSAFE_ProgressCircle.js +1 -1
- package/amd/UNSAFE_RadioItem/themes/redwood/RadioIconTheme.js +1 -1
- package/amd/UNSAFE_RadioItem/themes/redwood/RadioIconTheme.js.map +1 -1
- package/amd/UNSAFE_RadioItem/themes/redwood/RadioIconVariants.css.js +1 -1
- package/amd/UNSAFE_RadioItem/themes/stable/RadioIconTheme.js +1 -1
- package/amd/UNSAFE_RadioItem/themes/stable/RadioIconTheme.js.map +1 -1
- package/amd/UNSAFE_RadioItem/themes/stable/RadioIconVariants.css.js +1 -1
- package/amd/UNSAFE_RadioItem.js +1 -1
- package/amd/UNSAFE_RadioSet.js +1 -1
- package/amd/UNSAFE_RatingGauge.js +1 -1
- package/amd/UNSAFE_ReorderableTabBar.js +1 -1
- package/amd/UNSAFE_SectionalLegend.js +1 -1
- package/amd/UNSAFE_SelectMultiple.js +1 -1
- package/amd/UNSAFE_SelectSingle.js +1 -1
- package/amd/UNSAFE_SelectionCard.js +1 -1
- package/amd/UNSAFE_Selector.js +1 -1
- package/amd/UNSAFE_SelectorAll.js +1 -1
- package/amd/UNSAFE_Sheet/__test__/Sheet.spec.js +1 -1
- package/amd/UNSAFE_Sheet.js +1 -1
- package/amd/UNSAFE_SplitMenuButton.js +1 -1
- package/amd/UNSAFE_TabBar.js +1 -1
- package/amd/UNSAFE_TabBarCommon.js +1 -1
- package/amd/UNSAFE_TabBarMixed.js +1 -1
- package/amd/UNSAFE_TableView.js +1 -1
- package/amd/UNSAFE_TagCloud.js +1 -1
- package/amd/UNSAFE_TextArea.js +1 -1
- package/amd/UNSAFE_TextAreaAutosize.js +1 -1
- package/amd/UNSAFE_TextField.js +1 -1
- package/amd/UNSAFE_ToggleButton.js +1 -1
- package/amd/UNSAFE_Toolbar/tests/Toolbar.spec.js +1 -1
- package/amd/UNSAFE_Toolbar.js +1 -1
- package/amd/UNSAFE_Train.js +1 -1
- package/amd/UNSAFE_TruncatingBadge.js +1 -1
- package/amd/UNSAFE_TruncatingText.js +1 -1
- package/amd/UNSAFE_UserAssistance.js +1 -1
- package/amd/UNSAFE_View.js +1 -1
- package/amd/UNSAFE_VirtualizedListView.js +1 -1
- package/amd/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +1 -1
- package/amd/UNSAFE_VisProgressiveLoader.js +1 -1
- package/amd/UNSAFE_VisStatusMessage.js +1 -1
- package/amd/UNSAFE_WindowOverlay.js +1 -1
- package/amd/{View-ce970ed7.js → View-bd5c7fa7.js} +2 -2
- package/amd/{View-ce970ed7.js.map → View-bd5c7fa7.js.map} +1 -1
- package/amd/{VisNoData-7d5f77c3.js → VisNoData-ed2bd5cf.js} +2 -2
- package/amd/{VisNoData-7d5f77c3.js.map → VisNoData-ed2bd5cf.js.map} +1 -1
- package/amd/{VisProgressiveLoader-68d8d8b3.js → VisProgressiveLoader-06a60c8f.js} +2 -2
- package/amd/{VisProgressiveLoader-68d8d8b3.js.map → VisProgressiveLoader-06a60c8f.js.map} +1 -1
- package/amd/{VisTabularDatatip-1051eaca.js → VisTabularDatatip-55bbd19f.js} +2 -2
- package/amd/{VisTabularDatatip-1051eaca.js.map → VisTabularDatatip-55bbd19f.js.map} +1 -1
- package/amd/{WindowOverlay-a2d80d55.js → WindowOverlay-43c10424.js} +2 -2
- package/amd/{WindowOverlay-a2d80d55.js.map → WindowOverlay-43c10424.js.map} +1 -1
- package/amd/{YearsGridView-e758c73a.js → YearsGridView-ddc90c36.js} +2 -2
- package/amd/{YearsGridView-e758c73a.js.map → YearsGridView-ddc90c36.js.map} +1 -1
- package/amd/hoc/PRIVATE_withDirectionIcon.js +1 -1
- package/amd/hoc/PRIVATE_withThemeIcon.js +1 -1
- package/amd/hoc/UNSAFE_withThemeProps.js +1 -1
- package/amd/hooks/PRIVATE_useChartContextMenu.js +1 -1
- package/amd/hooks/PRIVATE_useChartDatatip.js +1 -1
- package/amd/hooks/PRIVATE_useChartEvents.js +1 -1
- package/amd/hooks/PRIVATE_useChartMarquee.js +1 -1
- package/amd/hooks/PRIVATE_useCssVars.js +1 -1
- package/amd/hooks/PRIVATE_useCurrentKey.js +1 -1
- package/amd/hooks/PRIVATE_useDatatip.js +1 -1
- package/amd/hooks/PRIVATE_useFloating.js +1 -1
- package/amd/hooks/PRIVATE_useReorderable.js +1 -1
- package/amd/hooks/PRIVATE_useRovingTabIndexContainer.js +1 -1
- package/amd/hooks/PRIVATE_useSelection.js +1 -1
- package/amd/hooks/PRIVATE_useTabBar.js +1 -1
- package/amd/hooks/PRIVATE_useVisContextMenu.js +1 -1
- package/amd/hooks/PRIVATE_useVisEvents.js +1 -1
- package/amd/hooks/PRIVATE_useVisMeterEvents.js +1 -1
- package/amd/hooks/PRIVATE_useVisSelection.js +1 -1
- package/amd/hooks/UNSAFE_useColorScheme.js +1 -1
- package/amd/hooks/UNSAFE_useContainerBreakpointValues.js +1 -1
- package/amd/hooks/UNSAFE_useCurrentBgColor.js +1 -1
- package/amd/hooks/UNSAFE_useDensity.js +1 -1
- package/amd/hooks/UNSAFE_useOutsideClick.js +1 -1
- package/amd/hooks/UNSAFE_usePrefixSuffix.js +1 -1
- package/amd/hooks/UNSAFE_useScale.js +1 -1
- package/amd/hooks/UNSAFE_useTestId.js +1 -1
- package/amd/hooks/UNSAFE_useTheme.js +1 -1
- package/amd/hooks/UNSAFE_useThemeInterpolations.js +1 -1
- package/amd/hooks/UNSAFE_useTooltip.js +1 -1
- package/amd/hooks/UNSAFE_useTranslationBundle.js +1 -1
- package/amd/hooks/UNSAFE_useUser.js +1 -1
- package/amd/{index-735cad6d.js → index-a444ef75.js} +2 -2
- package/amd/index-a444ef75.js.map +1 -0
- package/amd/listViewSelectionTests-a8209843.js +1 -1
- package/amd/render-a1ae323f.js +2 -0
- package/amd/{render-4250c759.js.map → render-a1ae323f.js.map} +1 -1
- package/amd/{tabbableUtils-9887f50b.js → tabbableUtils-f5e521c8.js} +2 -2
- package/amd/{tabbableUtils-9887f50b.js.map → tabbableUtils-f5e521c8.js.map} +1 -1
- package/amd/{testData-71364772.js → testData-b22c8f34.js} +2 -2
- package/amd/{testData-71364772.js.map → testData-b22c8f34.js.map} +1 -1
- package/amd/tooltipUtils-79293e46.js +2 -0
- package/amd/{tooltipUtils-3b34c2bc.js.map → tooltipUtils-79293e46.js.map} +1 -1
- package/amd/useCellNavigation-1feec094.js +1 -1
- package/amd/useChartContextMenu-673e3de0.js +1 -1
- package/amd/{useChartDatatip-c702890c.js → useChartDatatip-04fa72c7.js} +2 -2
- package/amd/{useChartDatatip-c702890c.js.map → useChartDatatip-04fa72c7.js.map} +1 -1
- package/amd/useChartMarquee-62e7676c.js +1 -1
- package/amd/{useColorScheme-10dc88de.js → useColorScheme-443e7cc7.js} +2 -2
- package/amd/{useColorScheme-10dc88de.js.map → useColorScheme-443e7cc7.js.map} +1 -1
- package/amd/useContextMenu-57f18e97.js +1 -1
- package/amd/{useCssVars-c043f8da.js → useCssVars-dc52806c.js} +2 -2
- package/amd/{useCssVars-c043f8da.js.map → useCssVars-dc52806c.js.map} +1 -1
- package/amd/{useCurrentBgColor-2426ee24.js → useCurrentBgColor-50142bd8.js} +2 -2
- package/amd/{useCurrentBgColor-2426ee24.js.map → useCurrentBgColor-50142bd8.js.map} +1 -1
- package/amd/useCurrentKey-db6f418a.js +2 -0
- package/amd/{useCurrentKey-1d869ff4.js.map → useCurrentKey-db6f418a.js.map} +1 -1
- package/amd/{useDatatip-87792500.js → useDatatip-748e233f.js} +2 -2
- package/amd/{useDatatip-87792500.js.map → useDatatip-748e233f.js.map} +1 -1
- package/amd/{useDensity-c83df7b4.js → useDensity-f0f7ae9a.js} +2 -2
- package/amd/{useDensity-c83df7b4.js.map → useDensity-f0f7ae9a.js.map} +1 -1
- package/amd/{useFloating-8726c4bb.js → useFloating-a2399a51.js} +2 -2
- package/amd/{useFloating-8726c4bb.js.map → useFloating-a2399a51.js.map} +1 -1
- package/amd/useKeyboardEvents-8ada7a1f.js +2 -0
- package/amd/{useKeyboardEvents-d87e3587.js.map → useKeyboardEvents-8ada7a1f.js.map} +1 -1
- package/amd/useLegendContextMenu-09c7a5a9.js +1 -1
- package/amd/useMeterDatatip-3b5a5112.js +2 -0
- package/amd/{useMeterDatatip-3abdf66a.js.map → useMeterDatatip-3b5a5112.js.map} +1 -1
- package/amd/{useOutsideClick-5c2a47be.js → useOutsideClick-476e0577.js} +2 -2
- package/amd/{useOutsideClick-5c2a47be.js.map → useOutsideClick-476e0577.js.map} +1 -1
- package/amd/usePopupAnimation-6445a247.js +2 -0
- package/amd/{usePopupAnimation-916ff96d.js.map → usePopupAnimation-6445a247.js.map} +1 -1
- package/amd/usePrefixSuffix-f7544e05.js +2 -0
- package/amd/{usePrefixSuffix-09bd5925.js.map → usePrefixSuffix-f7544e05.js.map} +1 -1
- package/amd/useReorderableItem-7fd4d629.js +1 -1
- package/amd/{useRovingTabIndexContainer-05e87912.js → useRovingTabIndexContainer-94cc3710.js} +2 -2
- package/amd/{useRovingTabIndexContainer-05e87912.js.map → useRovingTabIndexContainer-94cc3710.js.map} +1 -1
- package/amd/useScale-e311d35f.js +2 -0
- package/amd/{useScale-37d42c9d.js.map → useScale-e311d35f.js.map} +1 -1
- package/amd/useSelectCommon-4e256cf0.js +1 -1
- package/amd/{useSelectDrill-a7d833b6.js → useSelectDrill-65d98139.js} +2 -2
- package/amd/{useSelectDrill-a7d833b6.js.map → useSelectDrill-65d98139.js.map} +1 -1
- package/amd/{useSelection-396ce75f.js → useSelection-4d3a1ea8.js} +2 -2
- package/amd/{useSelection-396ce75f.js.map → useSelection-4d3a1ea8.js.map} +1 -1
- package/amd/useSelection-a6fd13cf.js +2 -0
- package/amd/{useSelection-e2791513.js.map → useSelection-a6fd13cf.js.map} +1 -1
- package/amd/{useTabBar-423a0c03.js → useTabBar-40842fb9.js} +2 -2
- package/amd/{useTabBar-423a0c03.js.map → useTabBar-40842fb9.js.map} +1 -1
- package/amd/{useTestId-3a316499.js → useTestId-b5cd4766.js} +2 -2
- package/amd/{useTestId-3a316499.js.map → useTestId-b5cd4766.js.map} +1 -1
- package/amd/{useTheme-ac980f9a.js → useTheme-a8334e06.js} +2 -2
- package/amd/{useTheme-ac980f9a.js.map → useTheme-a8334e06.js.map} +1 -1
- package/amd/useThemeInterpolations-e20f8cfa.js +2 -0
- package/amd/{useThemeInterpolations-b1d98ea4.js.map → useThemeInterpolations-e20f8cfa.js.map} +1 -1
- package/amd/useTooltip-e4089d1a.js +2 -0
- package/amd/{useTooltip-6a5fedfa.js.map → useTooltip-e4089d1a.js.map} +1 -1
- package/amd/{useTooltipControlled-fb57eb02.js → useTooltipControlled-fafb2f01.js} +2 -2
- package/amd/{useTooltipControlled-fb57eb02.js.map → useTooltipControlled-fafb2f01.js.map} +1 -1
- package/amd/{useTranslationBundle-516b1b83.js → useTranslationBundle-d07d4b20.js} +2 -2
- package/amd/{useTranslationBundle-516b1b83.js.map → useTranslationBundle-d07d4b20.js.map} +1 -1
- package/amd/{useUser-85c781ea.js → useUser-3ef25571.js} +2 -2
- package/amd/{useUser-85c781ea.js.map → useUser-3ef25571.js.map} +1 -1
- package/amd/{useVisEvents-954dcd88.js → useVisEvents-48144382.js} +2 -2
- package/amd/{useVisEvents-954dcd88.js.map → useVisEvents-48144382.js.map} +1 -1
- package/amd/utils/PRIVATE_tooltipUtils.js +1 -1
- package/amd/utils/PRIVATE_visTestUtils.js +1 -1
- package/amd/{withDirectionIcon-ce0c7432.js → withDirectionIcon-74c39ee3.js} +2 -2
- package/amd/{withDirectionIcon-ce0c7432.js.map → withDirectionIcon-74c39ee3.js.map} +1 -1
- package/amd/withThemeProps-4c23997e.js +1 -1
- package/cjs/BaseNavigationListItem-62f24d1b.js +49 -0
- package/cjs/BaseNavigationListItem-62f24d1b.js.map +1 -0
- package/cjs/MaxLengthCounter-a5370f66.js +27 -0
- package/{amd/MaxLengthCounter-caafceef.js.map → cjs/MaxLengthCounter-a5370f66.js.map} +1 -1
- package/cjs/{NavigationListItem-d9228979.js → NavigationList-9e2a1115.js} +3 -8
- package/cjs/NavigationList-9e2a1115.js.map +1 -0
- package/cjs/NavigationListItem-4f5dc28a.js +12 -0
- package/cjs/NavigationListItem-4f5dc28a.js.map +1 -0
- package/cjs/{OverflowTabBar-081cc41e.js → OverflowTabBar-0122125c.js} +3 -3
- package/cjs/{OverflowTabBar-081cc41e.js.map → OverflowTabBar-0122125c.js.map} +1 -1
- package/cjs/{OverflowTabBarItem-57899880.js → OverflowTabBarItem-7e4a284a.js} +5 -4
- package/cjs/{OverflowTabBarItem-57899880.js.map → OverflowTabBarItem-7e4a284a.js.map} +1 -1
- package/cjs/{RemovableNavigationListItem-727e53e8.js → RemovableNavigationListItem-1235bf1c.js} +4 -3
- package/cjs/{RemovableNavigationListItem-727e53e8.js.map → RemovableNavigationListItem-1235bf1c.js.map} +1 -1
- package/cjs/{ReorderableTabBar-ded69f11.js → ReorderableTabBar-49f32413.js} +2 -2
- package/cjs/{ReorderableTabBar-ded69f11.js.map → ReorderableTabBar-49f32413.js.map} +1 -1
- package/cjs/{TabBar-c13ce35f.js → TabBar-d9f6d3c3.js} +6 -1
- package/cjs/{TabBar-c13ce35f.js.map → TabBar-d9f6d3c3.js.map} +1 -1
- package/cjs/{TabBarMixed-81309400.js → TabBarMixed-13a02a56.js} +6 -1
- package/cjs/{TabBarMixed-81309400.js.map → TabBarMixed-13a02a56.js.map} +1 -1
- package/cjs/{TextArea-792069d7.js → TextArea-096f18ad.js} +4 -22
- package/{amd/TextArea-259d741c.js.map → cjs/TextArea-096f18ad.js.map} +1 -1
- package/cjs/{TextAreaAutosize-1989de68.js → TextAreaAutosize-4d30faec.js} +3 -3
- package/cjs/{TextAreaAutosize-1989de68.js.map → TextAreaAutosize-4d30faec.js.map} +1 -1
- package/cjs/Theme-redwood/theme.css +226 -226
- package/cjs/Theme-stable/theme.css +992 -992
- package/cjs/UNSAFE_BaseButton/themes/stable/BaseButtonTheme.js +0 -1
- package/cjs/UNSAFE_BaseButton/themes/stable/BaseButtonTheme.js.map +1 -1
- package/cjs/UNSAFE_NavigationList.js +16 -14
- package/cjs/UNSAFE_NavigationList.js.map +1 -1
- package/cjs/UNSAFE_NavigationListCommon.js +55 -54
- package/cjs/UNSAFE_NavigationListCommon.js.map +1 -1
- package/cjs/UNSAFE_OverflowTabBar.js +29 -27
- package/cjs/UNSAFE_OverflowTabBar.js.map +1 -1
- package/cjs/UNSAFE_ReorderableTabBar.js +25 -9
- package/cjs/UNSAFE_ReorderableTabBar.js.map +1 -1
- package/cjs/UNSAFE_TabBar.js +28 -26
- package/cjs/UNSAFE_TabBar.js.map +1 -1
- package/cjs/UNSAFE_TabBarCommon.js +20 -18
- package/cjs/UNSAFE_TabBarCommon.js.map +1 -1
- package/cjs/UNSAFE_TabBarMixed.js +28 -26
- package/cjs/UNSAFE_TabBarMixed.js.map +1 -1
- package/cjs/UNSAFE_TextArea.js +4 -3
- package/cjs/UNSAFE_TextArea.js.map +1 -1
- package/cjs/UNSAFE_TextAreaAutosize.js +3 -3
- package/cjs/{BaseNavigationListItem-4b28f14e.js → useNavigationListItem-0a5c6a11.js} +2 -40
- package/cjs/useNavigationListItem-0a5c6a11.js.map +1 -0
- package/es/ActionCard-ba1c946e.js +1 -1
- package/es/BarChart-c68a559c.js +2 -2
- package/es/BaseButton-5a3335d9.js +2 -2
- package/es/BaseCardView-e0e8a69b.js +6 -6
- package/es/{BaseCardViewSelectionTest-2159b609.js → BaseCardViewSelectionTest-120542e8.js} +6 -6
- package/es/{BaseCardViewSelectionTest-2159b609.js.map → BaseCardViewSelectionTest-120542e8.js.map} +1 -1
- package/es/BaseNavigationListItem-ac7ef3c3.js +1 -1
- package/es/ButtonSet-ac76e6e2.js +2 -2
- package/es/ButtonSetIconButton-9241b9fb.js +3 -3
- package/es/{Center-9f355d44.js → Center-8b48ab02.js} +2 -2
- package/es/{Center-9f355d44.js.map → Center-8b48ab02.js.map} +1 -1
- package/es/Chart-f2438968.js +9 -9
- package/es/CheckboxControl-f5e36d0d.js +6 -6
- package/es/CheckboxRadioField-bdda2573.js +6 -6
- package/es/Chip-f2df2078.js +1 -1
- package/es/ClearIcon-b5083cc8.js +1 -1
- package/es/CollapseIcon-de129943.js +1 -1
- package/es/Collapsible-09cc493a.js +2 -2
- package/es/CompactHelpSource-1686edf6.js +2 -2
- package/es/{CompactLabelAssistance-61df6dbf.js → CompactLabelAssistance-fa8264fa.js} +5 -5
- package/es/{CompactLabelAssistance-61df6dbf.js.map → CompactLabelAssistance-fa8264fa.js.map} +1 -1
- package/es/CompactUserAssistance-3a10afd4.js +4 -4
- package/es/ComponentMessageContainer-18e7fe34.js +4 -4
- package/es/ConveyorBeltItem-c8d4ba1b.js +2 -2
- package/es/{DatePicker-d4e027c2.js → DatePicker-4fb6d86d.js} +6 -6
- package/es/{DatePicker-d4e027c2.js.map → DatePicker-4fb6d86d.js.map} +1 -1
- package/es/DatePickerHeader-79f0b61b.js +3 -3
- package/es/{Diagram-d7fdc75f.js → Diagram-6f1ad2ea.js} +5 -5
- package/es/{Diagram-d7fdc75f.js.map → Diagram-6f1ad2ea.js.map} +1 -1
- package/es/{Dialog-cf69547f.js → Dialog-5e92dcd1.js} +6 -6
- package/es/{Dialog-cf69547f.js.map → Dialog-5e92dcd1.js.map} +1 -1
- package/es/DirectionalCollapseArrowIcon-20259aab.js +1 -1
- package/es/DirectionalExpandArrowIcon-36ba273c.js +1 -1
- package/es/DragHandle-3b768189.js +1 -1
- package/es/{Dropdown-d017dd0a.js → Dropdown-f45f823c.js} +5 -5
- package/es/{Dropdown-d017dd0a.js.map → Dropdown-f45f823c.js.map} +1 -1
- package/es/{EnvironmentProvider-a3819bde.js → EnvironmentProvider-0fc2fd0c.js} +3 -3
- package/es/{EnvironmentProvider-a3819bde.js.map → EnvironmentProvider-0fc2fd0c.js.map} +1 -1
- package/es/FilePicker-f4582615.js +2 -2
- package/es/{Flex-2d51e914.js → Flex-8696b27b.js} +2 -2
- package/es/{Flex-2d51e914.js.map → Flex-8696b27b.js.map} +1 -1
- package/es/{Floating-aebc0f85.js → Floating-f9bbd276.js} +4 -4
- package/es/{Floating-aebc0f85.js.map → Floating-f9bbd276.js.map} +1 -1
- package/es/FormLayout-221e1aa8.js +1 -1
- package/es/Gantt-46f5f954.js +9 -9
- package/es/{Grid-c2385b22.js → Grid-7fd29a9e.js} +2 -2
- package/es/{Grid-c2385b22.js.map → Grid-7fd29a9e.js.map} +1 -1
- package/es/{Gridlines-0e7b33f5.js → Gridlines-dcdc34bc.js} +2 -2
- package/es/{Gridlines-0e7b33f5.js.map → Gridlines-dcdc34bc.js.map} +1 -1
- package/es/GroupLoadingIndicator-2bfdba44.js +1 -1
- package/es/{HighlightText-d505bf35.js → HighlightText-cc043982.js} +2 -2
- package/es/{HighlightText-d505bf35.js.map → HighlightText-cc043982.js.map} +1 -1
- package/es/Icon-4171c0d7.js +3 -3
- package/es/IconButton-451a225c.js +3 -3
- package/es/IconMenuButton-e46f8d54.js +4 -4
- package/es/IconProgressButton-8f2f6b27.js +3 -3
- package/es/IconSwitchButton-5ff7b0fe.js +3 -3
- package/es/IconToggleButton-375f006f.js +3 -3
- package/es/{IconUserAssistance-7cfd1ed2.js → IconUserAssistance-dd56b812.js} +3 -3
- package/es/{IconUserAssistance-7cfd1ed2.js.map → IconUserAssistance-dd56b812.js.map} +1 -1
- package/es/Indexer-658cee69.js +4 -4
- package/es/InlineHelpSource-fcdcd122.js +1 -1
- package/es/InlineUserAssistance-e6deb149.js +5 -5
- package/es/InputDateMask-3d511e39.js +7 -7
- package/es/InputDatePicker-fe26a952.js +8 -8
- package/es/InputPassword-47130b3c.js +4 -4
- package/es/InputText-4799b2ed.js +6 -6
- package/es/Label-ab276ca9.js +5 -5
- package/es/LabelValueLayout-bcf482be.js +1 -1
- package/es/{Layer-915d986a.js → Layer-71fc666f.js} +3 -3
- package/es/{Layer-915d986a.js.map → Layer-71fc666f.js.map} +1 -1
- package/es/{LayerHost-7a2149f5.js → LayerHost-15b42a3e.js} +2 -2
- package/es/{LayerHost-7a2149f5.js.map → LayerHost-15b42a3e.js.map} +1 -1
- package/es/{LayerManager-be34be40.js → LayerManager-af39e736.js} +2 -2
- package/es/{LayerManager-be34be40.js.map → LayerManager-af39e736.js.map} +1 -1
- package/es/Legend-ae0296f0.js +3 -3
- package/es/{LineAreaChart-e2e762e8.js → LineAreaChart-3a7bc509.js} +3 -3
- package/es/{LineAreaChart-e2e762e8.js.map → LineAreaChart-3a7bc509.js.map} +1 -1
- package/es/Link-9072aa54.js +1 -1
- package/es/List-1d23e84f.js +5 -5
- package/es/{ListItemLayout-01286b56.js → ListItemLayout-32895900.js} +2 -2
- package/es/{ListItemLayout-01286b56.js.map → ListItemLayout-32895900.js.map} +1 -1
- package/es/ListView-8eba90e8.js +3 -3
- package/es/{LiveRegion-5302331c.js → LiveRegion-cb4f8a54.js} +2 -2
- package/es/{LiveRegion-5302331c.js.map → LiveRegion-cb4f8a54.js.map} +1 -1
- package/es/{MaxLengthLiveRegion-9b386b63.js → MaxLengthLiveRegion-59087064.js} +3 -3
- package/es/{MaxLengthLiveRegion-9b386b63.js.map → MaxLengthLiveRegion-59087064.js.map} +1 -1
- package/es/{Menu-e44a3e0b.js → Menu-b5deea24.js} +8 -8
- package/es/{Menu-e44a3e0b.js.map → Menu-b5deea24.js.map} +1 -1
- package/es/MenuButton-49b7965d.js +3 -3
- package/es/MenuItem-be46866f.js +1 -1
- package/es/Message-322f8d63.js +2 -2
- package/es/{MessageLayer-f09b0a1b.js → MessageLayer-34a390eb.js} +6 -6
- package/es/{MessageLayer-f09b0a1b.js.map → MessageLayer-34a390eb.js.map} +1 -1
- package/es/MessageToast-66bdffe6.js +8 -8
- package/es/MessagesManager-a1c3e92e.js +3 -3
- package/es/MeterBar-9ad34b98.js +5 -5
- package/es/MeterCircle-6bd257c8.js +5 -5
- package/es/{Modal-862b8167.js → Modal-3fd86d5a.js} +3 -3
- package/es/{Modal-862b8167.js.map → Modal-3fd86d5a.js.map} +1 -1
- package/es/{MonthView-3d90f424.js → MonthView-c3b82ace.js} +4 -4
- package/es/{MonthView-3d90f424.js.map → MonthView-c3b82ace.js.map} +1 -1
- package/es/NavigationListItem-a336f06f.js +5 -5
- package/es/NumberInputText-eca11601.js +6 -6
- package/es/OverflowTabBarItem-12249753.js +3 -3
- package/es/PRIVATE_BaseCardView.js +20 -20
- package/es/PRIVATE_Chart.js +30 -30
- package/es/PRIVATE_CheckboxControl.js +22 -22
- package/es/PRIVATE_CheckboxRadioField.js +23 -23
- package/es/PRIVATE_ClearIcon.js +17 -17
- package/es/PRIVATE_DatePickerHeader.js +19 -19
- package/es/PRIVATE_DatePickerLayout.js +4 -4
- package/es/PRIVATE_EmbeddedIconButton.js +3 -3
- package/es/PRIVATE_FormControls.js +19 -19
- package/es/PRIVATE_IconSwitchButton.js +15 -15
- package/es/PRIVATE_Icons/CheckboxMixed.js +15 -15
- package/es/PRIVATE_Icons/CheckboxOff.js +15 -15
- package/es/PRIVATE_Icons/CheckboxOn.js +15 -15
- package/es/PRIVATE_Icons/RadiobuttonOff.js +15 -15
- package/es/PRIVATE_Icons/RadiobuttonOn.js +15 -15
- package/es/PRIVATE_Icons/WarningS.js +15 -15
- package/es/PRIVATE_List.js +19 -19
- package/es/PRIVATE_Message.js +18 -18
- package/es/PRIVATE_MessageLayer.js +11 -11
- package/es/PRIVATE_MonthView.js +7 -7
- package/es/PRIVATE_MonthYearGridView.js +7 -7
- package/es/PRIVATE_PlotArea.js +4 -4
- package/es/PRIVATE_RevealToggleIcon.js +16 -16
- package/es/PRIVATE_SelectCommon.js +27 -27
- package/es/PRIVATE_StyledCheckbox.js +15 -15
- package/es/PRIVATE_Table.js +18 -18
- package/es/PRIVATE_ThemedIcons/CalendarIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CloseIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CollapseIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DecrementIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DeleteIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ExpandIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/HelpIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/IncrementIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MinusIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/NavDownIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/PlusIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/SortDefaultIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ViewIcon.js +15 -15
- package/es/PRIVATE_TimeComponent.js +18 -18
- package/es/PRIVATE_VisTabularDatatip.js +4 -4
- package/es/PictoChart-3dd90503.js +6 -6
- package/es/{PieChart-d4f63bd8.js → PieChart-cdb56906.js} +5 -5
- package/es/{PieChart-d4f63bd8.js.map → PieChart-cdb56906.js.map} +1 -1
- package/es/{Popup-7cc4028b.js → Popup-8becd87a.js} +9 -9
- package/es/{Popup-7cc4028b.js.map → Popup-8becd87a.js.map} +1 -1
- package/es/{ProgressBar-d647bba4.js → ProgressBar-2565d814.js} +3 -3
- package/es/{ProgressBar-d647bba4.js.map → ProgressBar-2565d814.js.map} +1 -1
- package/es/ProgressButton-645ce827.js +3 -3
- package/es/ProgressButtonLabelLayout-6cf150e0.js +3 -3
- package/es/{ProgressCircle-13dc0e4f.js → ProgressCircle-c7f945c0.js} +2 -2
- package/es/{ProgressCircle-13dc0e4f.js.map → ProgressCircle-c7f945c0.js.map} +1 -1
- package/es/RadioItem-af1bbece.js +6 -6
- package/es/RatingGauge-82a6a416.js +7 -7
- package/es/ReadonlyTextFieldInput-a15badb6.js +1 -1
- package/es/RemovableNavigationListItem-7032ce3e.js +1 -1
- package/es/RemovableTabBarItem-16d04210.js +2 -2
- package/es/ReorderableTabBar-981af0f2.js +2 -2
- package/es/RevealToggleIcon-563c241c.js +1 -1
- package/es/SectionalLegend-a9b719ff.js +4 -4
- package/es/{SectionedContent-7e36073f.js → SectionedContent-237bf539.js} +5 -5
- package/es/{SectionedContent-7e36073f.js.map → SectionedContent-237bf539.js.map} +1 -1
- package/es/SelectMultiple-c1264885.js +8 -8
- package/es/SelectSingle-8336ec24.js +7 -7
- package/es/{SelectionCard-a27bce15.js → SelectionCard-1711aae6.js} +2 -2
- package/es/{SelectionCard-a27bce15.js.map → SelectionCard-1711aae6.js.map} +1 -1
- package/es/Selector-9f40e909.js +1 -1
- package/es/{SelectorAll-40c76f0b.js → SelectorAll-42ce8707.js} +7 -7
- package/es/{SelectorAll-40c76f0b.js.map → SelectorAll-42ce8707.js.map} +1 -1
- package/es/{Sheet-34f3bcb4.js → Sheet-f7117b12.js} +3 -3
- package/es/{Sheet-34f3bcb4.js.map → Sheet-f7117b12.js.map} +1 -1
- package/es/SplitMenuButton-74913bcc.js +3 -3
- package/es/StyledTextField-9df27ab4.js +3 -3
- package/es/Submenu-c6663c1d.js +1 -1
- package/es/TabBar-90cea652.js +6 -6
- package/es/TabBarItem-ba695c75.js +3 -3
- package/es/TabBarLayout-8caaa060.js +1 -1
- package/es/TabBarMixed-52ac388e.js +6 -6
- package/es/{TabBarMixedSeparator-16c88691.js → TabBarMixedSeparator-da56f4c0.js} +2 -2
- package/es/{TabBarMixedSeparator-16c88691.js.map → TabBarMixedSeparator-da56f4c0.js.map} +1 -1
- package/es/Table-3d484e2c.js +8 -8
- package/es/TagCloud-823b3d82.js +9 -9
- package/es/TextArea-6f18b955.js +5 -5
- package/es/TextAreaAutosize-4cf2754b.js +5 -5
- package/es/TextField-d4b4661d.js +3 -3
- package/es/TextFieldInput-84280715.js +1 -1
- package/es/Theme-redwood/theme.css +575 -575
- package/es/Theme-stable/theme.css +495 -495
- package/es/TimeComponentCanvas2D-72f4af98.js +5 -5
- package/es/Toolbar-85379f64.js +1 -1
- package/es/{TruncatingBadge-e5f38bc8.js → TruncatingBadge-7eb77ed3.js} +4 -4
- package/es/{TruncatingBadge-e5f38bc8.js.map → TruncatingBadge-7eb77ed3.js.map} +1 -1
- package/es/{TruncatingText-c3719839.js → TruncatingText-93807530.js} +4 -4
- package/es/{TruncatingText-c3719839.js.map → TruncatingText-93807530.js.map} +1 -1
- package/es/UNSAFE_ActionCard.js +2 -2
- package/es/UNSAFE_BarChart/__test__/BarChart.spec.js +30 -30
- package/es/UNSAFE_BarChart.js +30 -30
- package/es/UNSAFE_BaseButton.js +3 -3
- package/es/UNSAFE_Button.js +3 -3
- package/es/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +19 -19
- package/es/UNSAFE_ButtonSet.js +4 -4
- package/es/UNSAFE_ButtonSetButton.js +3 -3
- package/es/UNSAFE_ButtonSetIconButton.js +15 -15
- package/es/UNSAFE_ButtonSetItem.js +15 -15
- package/es/UNSAFE_ButtonSetMultiple.js +4 -4
- package/es/UNSAFE_ButtonSetSingle.js +4 -4
- package/es/UNSAFE_CardFlexView.js +20 -20
- package/es/UNSAFE_CardGridView.js +20 -20
- package/es/UNSAFE_Center.js +5 -5
- package/es/UNSAFE_ChartWithLegend.js +4 -4
- package/es/UNSAFE_Checkbox.js +22 -22
- package/es/UNSAFE_CheckboxItem.js +23 -23
- package/es/UNSAFE_CheckboxSet.js +22 -22
- package/es/UNSAFE_Chip.js +2 -2
- package/es/UNSAFE_Collapsible.js +17 -17
- package/es/UNSAFE_ComponentMessage.js +18 -18
- package/es/UNSAFE_ConveyorBelt.js +15 -15
- package/es/UNSAFE_DatePicker.js +24 -24
- package/es/UNSAFE_Diagram.js +15 -15
- package/es/UNSAFE_Dialog.js +11 -11
- package/es/UNSAFE_DragHandle.js +16 -16
- package/es/UNSAFE_DrawerLayout.js +11 -11
- package/es/UNSAFE_DrawerPopup.js +10 -10
- package/es/UNSAFE_Dropdown.js +12 -12
- package/es/UNSAFE_Environment.js +4 -4
- package/es/UNSAFE_ExpandableList.js +22 -22
- package/es/UNSAFE_FilePicker.js +4 -4
- package/es/UNSAFE_Flex.js +4 -4
- package/es/UNSAFE_Floating.js +10 -10
- package/es/UNSAFE_FormLayout.js +2 -2
- package/es/UNSAFE_Gantt.js +22 -22
- package/es/UNSAFE_Grid.js +4 -4
- package/es/UNSAFE_HighlightText.js +4 -4
- package/es/UNSAFE_Icon.js +15 -15
- package/es/UNSAFE_IconButton.js +15 -15
- package/es/UNSAFE_IconMenuButton.js +19 -19
- package/es/UNSAFE_IconProgressButton.js +19 -19
- package/es/UNSAFE_IconToggleButton.js +15 -15
- package/es/UNSAFE_Indexer.js +6 -6
- package/es/UNSAFE_InputDateMask.js +23 -23
- package/es/UNSAFE_InputDatePicker.js +32 -32
- package/es/UNSAFE_InputPassword.js +22 -22
- package/es/UNSAFE_InputSensitiveText.js +24 -24
- package/es/UNSAFE_InputText.js +25 -25
- package/es/UNSAFE_Label.js +22 -22
- package/es/UNSAFE_LabelValueLayout.js +4 -4
- package/es/UNSAFE_LabelledLink.js +24 -24
- package/es/UNSAFE_Layer.js +7 -7
- package/es/UNSAFE_Legend.js +22 -22
- package/es/UNSAFE_LineAreaChart/__test__/LineChart.spec.js +30 -30
- package/es/UNSAFE_LineAreaChart.js +31 -31
- package/es/UNSAFE_Link.js +2 -2
- package/es/UNSAFE_ListItemLayout.js +5 -5
- package/es/UNSAFE_ListView.js +25 -25
- package/es/UNSAFE_LiveRegion.js +4 -4
- package/es/UNSAFE_Menu.js +21 -21
- package/es/UNSAFE_MenuButton.js +19 -19
- package/es/UNSAFE_MessageBanner.js +18 -18
- package/es/UNSAFE_MessageToast.js +21 -21
- package/es/UNSAFE_MeterBar.js +16 -16
- package/es/UNSAFE_MeterCircle.js +16 -16
- package/es/UNSAFE_Modal.js +7 -7
- package/es/UNSAFE_NavigationList.js +19 -19
- package/es/UNSAFE_NavigationListCommon.js +17 -17
- package/es/UNSAFE_NumberInputText.js +24 -24
- package/es/UNSAFE_OverflowTabBar.js +24 -24
- package/es/UNSAFE_PictoChart.js +13 -13
- package/es/UNSAFE_PieChart/__test__/PieChart.spec.js +14 -14
- package/es/UNSAFE_PieChart.js +14 -14
- package/es/UNSAFE_Popup.js +15 -15
- package/es/UNSAFE_ProgressBar.js +5 -5
- package/es/UNSAFE_ProgressButton.js +19 -19
- package/es/UNSAFE_ProgressButtonLabelLayout.js +10 -10
- package/es/UNSAFE_ProgressCircle.js +4 -4
- package/es/UNSAFE_RadioItem.js +22 -22
- package/es/UNSAFE_RadioSet.js +22 -22
- package/es/UNSAFE_RatingGauge.js +16 -16
- package/es/UNSAFE_ReorderableTabBar.js +21 -21
- package/es/UNSAFE_SectionalLegend.js +23 -23
- package/es/UNSAFE_SelectMultiple.js +30 -30
- package/es/UNSAFE_SelectSingle.js +30 -30
- package/es/UNSAFE_SelectionCard.js +4 -4
- package/es/UNSAFE_Selector.js +15 -15
- package/es/UNSAFE_SelectorAll.js +19 -19
- package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +13 -13
- package/es/UNSAFE_Sheet.js +10 -10
- package/es/UNSAFE_SplitMenuButton.js +19 -19
- package/es/UNSAFE_TabBar.js +25 -25
- package/es/UNSAFE_TabBarCommon.js +24 -24
- package/es/UNSAFE_TabBarMixed.js +28 -28
- package/es/UNSAFE_TableView.js +18 -18
- package/es/UNSAFE_TagCloud.js +22 -22
- package/es/UNSAFE_TextArea.js +24 -24
- package/es/UNSAFE_TextAreaAutosize.js +24 -24
- package/es/UNSAFE_TextField.js +7 -7
- package/es/UNSAFE_ToggleButton.js +3 -3
- package/es/UNSAFE_Toolbar/tests/Toolbar.spec.js +21 -21
- package/es/UNSAFE_Toolbar.js +4 -4
- package/es/UNSAFE_Train.js +16 -16
- package/es/UNSAFE_TruncatingBadge.js +17 -17
- package/es/UNSAFE_TruncatingText.js +17 -17
- package/es/UNSAFE_UserAssistance.js +23 -23
- package/es/UNSAFE_View.js +7 -7
- package/es/UNSAFE_VirtualizedListView.js +19 -19
- package/es/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +8 -8
- package/es/UNSAFE_VisProgressiveLoader.js +6 -6
- package/es/UNSAFE_VisStatusMessage.js +6 -6
- package/es/UNSAFE_WindowOverlay.js +4 -4
- package/es/{View-a8a64eb1.js → View-63980a9b.js} +5 -5
- package/es/{View-a8a64eb1.js.map → View-63980a9b.js.map} +1 -1
- package/es/{VisNoData-673b58e9.js → VisNoData-da540cbd.js} +3 -3
- package/es/{VisNoData-673b58e9.js.map → VisNoData-da540cbd.js.map} +1 -1
- package/es/{VisProgressiveLoader-66dde1ff.js → VisProgressiveLoader-2b2103c8.js} +3 -3
- package/es/{VisProgressiveLoader-66dde1ff.js.map → VisProgressiveLoader-2b2103c8.js.map} +1 -1
- package/es/{VisTabularDatatip-6aa607bb.js → VisTabularDatatip-2ae7ee48.js} +2 -2
- package/es/{VisTabularDatatip-6aa607bb.js.map → VisTabularDatatip-2ae7ee48.js.map} +1 -1
- package/es/{WindowOverlay-de5d0819.js → WindowOverlay-9b43e658.js} +2 -2
- package/es/{WindowOverlay-de5d0819.js.map → WindowOverlay-9b43e658.js.map} +1 -1
- package/es/{YearsGridView-5b5c1746.js → YearsGridView-37dfce0c.js} +4 -4
- package/es/{YearsGridView-5b5c1746.js.map → YearsGridView-37dfce0c.js.map} +1 -1
- package/es/hoc/PRIVATE_withDirectionIcon.js +4 -4
- package/es/hoc/PRIVATE_withThemeIcon.js +3 -3
- package/es/hoc/UNSAFE_withThemeProps.js +3 -3
- package/es/hooks/PRIVATE_useChartContextMenu.js +18 -18
- package/es/hooks/PRIVATE_useChartDatatip.js +13 -13
- package/es/hooks/PRIVATE_useChartEvents.js +17 -17
- package/es/hooks/PRIVATE_useChartMarquee.js +17 -17
- package/es/hooks/PRIVATE_useCssVars.js +7 -7
- package/es/hooks/PRIVATE_useCurrentKey.js +4 -4
- package/es/hooks/PRIVATE_useDatatip.js +11 -11
- package/es/hooks/PRIVATE_useFloating.js +4 -4
- package/es/hooks/PRIVATE_useReorderable.js +4 -4
- package/es/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
- package/es/hooks/PRIVATE_useSelection.js +4 -4
- package/es/hooks/PRIVATE_useTabBar.js +5 -5
- package/es/hooks/PRIVATE_useVisContextMenu.js +18 -18
- package/es/hooks/PRIVATE_useVisEvents.js +4 -4
- package/es/hooks/PRIVATE_useVisMeterEvents.js +13 -13
- package/es/hooks/PRIVATE_useVisSelection.js +12 -12
- package/es/hooks/UNSAFE_useColorScheme.js +3 -3
- package/es/hooks/UNSAFE_useContainerBreakpointValues.js +1 -1
- package/es/hooks/UNSAFE_useCurrentBgColor.js +3 -3
- package/es/hooks/UNSAFE_useDensity.js +3 -3
- package/es/hooks/UNSAFE_useOutsideClick.js +7 -7
- package/es/hooks/UNSAFE_usePrefixSuffix.js +4 -4
- package/es/hooks/UNSAFE_useScale.js +3 -3
- package/es/hooks/UNSAFE_useTestId.js +3 -3
- package/es/hooks/UNSAFE_useTheme.js +3 -3
- package/es/hooks/UNSAFE_useThemeInterpolations.js +5 -5
- package/es/hooks/UNSAFE_useTooltip.js +16 -16
- package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
- package/es/hooks/UNSAFE_useUser.js +3 -3
- package/es/{index-fee93bf9.js → index-e65c9009.js} +2 -2
- package/es/index-e65c9009.js.map +1 -0
- package/es/listViewSelectionTests-0dfdcc5d.js +4 -4
- package/es/{render-d92a7051.js → render-ff141a3d.js} +3 -3
- package/es/{render-d92a7051.js.map → render-ff141a3d.js.map} +1 -1
- package/es/{tabbableUtils-1b4c2eea.js → tabbableUtils-375a33ee.js} +3 -3
- package/es/{tabbableUtils-1b4c2eea.js.map → tabbableUtils-375a33ee.js.map} +1 -1
- package/es/{testData-ca9503e6.js → testData-748c19ef.js} +3 -3
- package/es/{testData-ca9503e6.js.map → testData-748c19ef.js.map} +1 -1
- package/es/{tooltipUtils-06c93436.js → tooltipUtils-1131b3ca.js} +5 -5
- package/es/{tooltipUtils-06c93436.js.map → tooltipUtils-1131b3ca.js.map} +1 -1
- package/es/useCellNavigation-00d575ca.js +1 -1
- package/es/useChartContextMenu-8c49f584.js +3 -3
- package/es/{useChartDatatip-82dba484.js → useChartDatatip-25f6bc69.js} +4 -4
- package/es/{useChartDatatip-82dba484.js.map → useChartDatatip-25f6bc69.js.map} +1 -1
- package/es/useChartMarquee-08025a83.js +1 -1
- package/es/{useColorScheme-f69d53b5.js → useColorScheme-d8a80e2b.js} +2 -2
- package/es/{useColorScheme-f69d53b5.js.map → useColorScheme-d8a80e2b.js.map} +1 -1
- package/es/useContextMenu-12845847.js +3 -3
- package/es/{useCssVars-48595cd2.js → useCssVars-8e6932f8.js} +5 -5
- package/es/{useCssVars-48595cd2.js.map → useCssVars-8e6932f8.js.map} +1 -1
- package/es/{useCurrentBgColor-894d059b.js → useCurrentBgColor-5418492b.js} +2 -2
- package/es/{useCurrentBgColor-894d059b.js.map → useCurrentBgColor-5418492b.js.map} +1 -1
- package/es/{useCurrentKey-55123e83.js → useCurrentKey-76e7d7b1.js} +2 -2
- package/es/{useCurrentKey-55123e83.js.map → useCurrentKey-76e7d7b1.js.map} +1 -1
- package/es/{useDatatip-01d7ddeb.js → useDatatip-73566627.js} +4 -4
- package/es/{useDatatip-01d7ddeb.js.map → useDatatip-73566627.js.map} +1 -1
- package/es/{useDensity-04a01caf.js → useDensity-64ecb649.js} +2 -2
- package/es/{useDensity-04a01caf.js.map → useDensity-64ecb649.js.map} +1 -1
- package/es/{useFloating-c9278755.js → useFloating-d60cc8b4.js} +2 -2
- package/es/{useFloating-c9278755.js.map → useFloating-d60cc8b4.js.map} +1 -1
- package/es/{useKeyboardEvents-b02e5fda.js → useKeyboardEvents-5c311766.js} +2 -2
- package/es/{useKeyboardEvents-b02e5fda.js.map → useKeyboardEvents-5c311766.js.map} +1 -1
- package/es/useLegendContextMenu-926aca66.js +5 -5
- package/es/{useMeterDatatip-43e31c05.js → useMeterDatatip-2cedbd5c.js} +3 -3
- package/es/{useMeterDatatip-43e31c05.js.map → useMeterDatatip-2cedbd5c.js.map} +1 -1
- package/es/{useOutsideClick-388c62bd.js → useOutsideClick-725542a2.js} +2 -2
- package/es/{useOutsideClick-388c62bd.js.map → useOutsideClick-725542a2.js.map} +1 -1
- package/es/{usePopupAnimation-b4577940.js → usePopupAnimation-340f04b6.js} +2 -2
- package/es/{usePopupAnimation-b4577940.js.map → usePopupAnimation-340f04b6.js.map} +1 -1
- package/es/{usePrefixSuffix-995d4cda.js → usePrefixSuffix-435a9c59.js} +2 -2
- package/es/{usePrefixSuffix-995d4cda.js.map → usePrefixSuffix-435a9c59.js.map} +1 -1
- package/es/useReorderableItem-c715c504.js +2 -2
- package/es/{useRovingTabIndexContainer-097f96a6.js → useRovingTabIndexContainer-b9833086.js} +2 -2
- package/es/{useRovingTabIndexContainer-097f96a6.js.map → useRovingTabIndexContainer-b9833086.js.map} +1 -1
- package/es/{useScale-3b323ab2.js → useScale-c86ecc6e.js} +2 -2
- package/es/{useScale-3b323ab2.js.map → useScale-c86ecc6e.js.map} +1 -1
- package/es/useSelectCommon-7ebc86eb.js +11 -11
- package/es/{useSelectDrill-8b53d932.js → useSelectDrill-fbe57d95.js} +3 -3
- package/es/{useSelectDrill-8b53d932.js.map → useSelectDrill-fbe57d95.js.map} +1 -1
- package/es/{useSelection-7c94a24f.js → useSelection-1e1e89df.js} +2 -2
- package/es/{useSelection-7c94a24f.js.map → useSelection-1e1e89df.js.map} +1 -1
- package/es/{useSelection-b7c3e75e.js → useSelection-dfbd140d.js} +5 -5
- package/es/{useSelection-b7c3e75e.js.map → useSelection-dfbd140d.js.map} +1 -1
- package/es/{useTabBar-6c6847ef.js → useTabBar-b826570d.js} +2 -2
- package/es/{useTabBar-6c6847ef.js.map → useTabBar-b826570d.js.map} +1 -1
- package/es/{useTestId-af32a9eb.js → useTestId-3bc3958c.js} +2 -2
- package/es/{useTestId-af32a9eb.js.map → useTestId-3bc3958c.js.map} +1 -1
- package/es/{useTheme-73aca0e4.js → useTheme-4b0f211c.js} +2 -2
- package/es/{useTheme-73aca0e4.js.map → useTheme-4b0f211c.js.map} +1 -1
- package/es/{useThemeInterpolations-4f6cc83c.js → useThemeInterpolations-41ac870d.js} +4 -4
- package/es/{useThemeInterpolations-4f6cc83c.js.map → useThemeInterpolations-41ac870d.js.map} +1 -1
- package/es/{useTooltip-e258ea41.js → useTooltip-227887ea.js} +2 -2
- package/es/{useTooltip-e258ea41.js.map → useTooltip-227887ea.js.map} +1 -1
- package/es/{useTooltipControlled-50d5dac9.js → useTooltipControlled-7ccb5919.js} +5 -5
- package/es/{useTooltipControlled-50d5dac9.js.map → useTooltipControlled-7ccb5919.js.map} +1 -1
- package/es/{useTranslationBundle-6da03e52.js → useTranslationBundle-98df6291.js} +2 -2
- package/es/{useTranslationBundle-6da03e52.js.map → useTranslationBundle-98df6291.js.map} +1 -1
- package/es/{useUser-bca8cf2d.js → useUser-a15426fc.js} +2 -2
- package/es/{useUser-bca8cf2d.js.map → useUser-a15426fc.js.map} +1 -1
- package/es/{useVisEvents-cd3616aa.js → useVisEvents-ff4204b5.js} +2 -2
- package/es/{useVisEvents-cd3616aa.js.map → useVisEvents-ff4204b5.js.map} +1 -1
- package/es/utils/PRIVATE_tooltipUtils.js +13 -13
- package/es/utils/PRIVATE_visTestUtils.js +6 -6
- package/es/{withDirectionIcon-389870a2.js → withDirectionIcon-90d7c798.js} +2 -2
- package/es/{withDirectionIcon-389870a2.js.map → withDirectionIcon-90d7c798.js.map} +1 -1
- package/es/withThemeProps-6545df54.js +2 -2
- package/package.json +2 -2
- package/amd/CompactLabelAssistance-7db2fde2.js +0 -2
- package/amd/Flex-56ecdf4c.js +0 -2
- package/amd/HighlightText-bd4c0101.js +0 -2
- package/amd/LiveRegion-8142ed0d.js +0 -2
- package/amd/MaxLengthCounter-caafceef.js +0 -2
- package/amd/MaxLengthLiveRegion-8954fc30.js +0 -2
- package/amd/SectionedContent-6031f8f7.js +0 -2
- package/amd/SelectorAll-53efae22.js +0 -2
- package/amd/TabBarMixedSeparator-8c278254.js +0 -2
- package/amd/TextArea-259d741c.js +0 -2
- package/amd/TextAreaAutosize-e8dc13b4.js +0 -2
- package/amd/TruncatingText-17a6d4b6.js +0 -2
- package/amd/index-735cad6d.js.map +0 -1
- package/amd/render-4250c759.js +0 -2
- package/amd/tooltipUtils-3b34c2bc.js +0 -2
- package/amd/useCurrentKey-1d869ff4.js +0 -2
- package/amd/useKeyboardEvents-d87e3587.js +0 -2
- package/amd/useMeterDatatip-3abdf66a.js +0 -2
- package/amd/usePopupAnimation-916ff96d.js +0 -2
- package/amd/usePrefixSuffix-09bd5925.js +0 -2
- package/amd/useScale-37d42c9d.js +0 -2
- package/amd/useSelection-e2791513.js +0 -2
- package/amd/useThemeInterpolations-b1d98ea4.js +0 -2
- package/amd/useTooltip-6a5fedfa.js +0 -2
- package/cjs/BaseNavigationListItem-4b28f14e.js.map +0 -1
- package/cjs/NavigationListItem-d9228979.js.map +0 -1
- package/es/index-fee93bf9.js.map +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
define(['exports', 'preact/jsx-runtime', '@testing-library/preact', '@testing-library/user-event', './LayerHost-639b3284', './EnvironmentProvider-c0e1e39b', './resources/nls/en/bundle'], (function(e,r,n,t,o,i,s){"use strict";function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=d(t);const a={translations:{"@oracle/oraclejet-preact":s.default},mode:"test"},c=(e,t=a,o)=>{const s={...a,...t},{rerender:d,...u}=n.render(r.jsx(i.RootEnvironmentProvider,{environment:s,children:e}),o);return{rerender:e=>d(r.jsx(i.RootEnvironmentProvider,{environment:s,children:e})),...u}};e.renderAndSetupInEnv=(...e)=>({user:u.default.setup(),...c(...e)}),e.renderInEnv=c}));
|
|
2
|
+
//# sourceMappingURL=render-a1ae323f.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-
|
|
1
|
+
{"version":3,"file":"render-a1ae323f.js","sources":["../../src/__tests__/utils/render.tsx"],"sourcesContent":["import { RenderOptions, RenderResult, render } from '@testing-library/preact';\nimport userEvent from '@testing-library/user-event';\nimport { ComponentProps } from 'preact';\nimport { RootEnvironment, RootEnvironmentProvider } from '../../UNSAFE_Environment';\nimport translations from '../../resources/nls/en/bundle';\n\ntype RootEnvironmentProviderProps = ComponentProps<typeof RootEnvironmentProvider>;\n\nconst defaultEnvironment: Partial<RootEnvironment> = {\n translations: { '@oracle/oraclejet-preact': translations },\n mode: 'test'\n};\n\nexport const renderInEnv = (\n children: RootEnvironmentProviderProps['children'],\n environment = defaultEnvironment,\n options?: Omit<RenderOptions, 'queries'>\n) => {\n // We merge the provided environment with the default environment here. This way tests\n // can override some part of the environment without having to provide the other parts.\n // For example, if a test wants to provide `user.locale`, then it can do:\n //\n // renderInEnv(<SomeComponent />, { user: { locale: 'en-US' } });\n //\n // With this call, the test do not have to provide `translations` and `mode`. The provided\n // `user` object will be merged with the default environment. The final environment object\n // will have `translations`, `mode`, and `user` properties specified in it.\n const mergedEnvironment = { ...defaultEnvironment, ...environment };\n\n const { rerender: _rerender, ...result } = render(\n <RootEnvironmentProvider environment={mergedEnvironment}>{children}</RootEnvironmentProvider>,\n options\n );\n const rerender = (children: RootEnvironmentProviderProps['children']) =>\n _rerender(\n <RootEnvironmentProvider environment={mergedEnvironment}>{children}</RootEnvironmentProvider>\n );\n return { rerender, ...result } as RenderResult;\n};\n\nexport const renderAndSetupInEnv = (...args: Parameters<typeof renderInEnv>) => ({\n user: userEvent.setup(),\n ...renderInEnv(...args)\n});\n"],"names":["defaultEnvironment","translations","mode","renderInEnv","children","environment","options","mergedEnvironment","rerender","_rerender","result","render","_jsx","RootEnvironmentProvider","args","user","userEvent","setup"],"mappings":"6SAQA,MAAMA,EAA+C,CACnDC,aAAc,CAAE,2BAA4BA,WAC5CC,KAAM,QAGKC,EAAc,CACzBC,EACAC,EAAcL,EACdM,KAWA,MAAMC,EAAoB,IAAKP,KAAuBK,IAE9CG,SAAUC,KAAcC,GAAWC,EAAMA,OAC/CC,MAACC,EAAuBA,wBAAA,CAACR,YAAaE,EAAiBH,SAAGA,IAC1DE,GAMF,MAAO,CAAEE,SAJSJ,GAChBK,EACEG,EAAAA,IAACC,EAAAA,wBAAuB,CAACR,YAAaE,WAAoBH,QAExCM,EAAwB,wBAGb,IAAII,KAA0C,CAC/EC,KAAMC,EAAS,QAACC,WACbd,KAAeW"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(['require', 'exports', 'preact/jsx-runtime', '@testing-library/preact', './matchTranslationBundle-e243f90d', './LayerHost-
|
|
2
|
-
//# sourceMappingURL=tabbableUtils-
|
|
1
|
+
define(['require', 'exports', 'preact/jsx-runtime', '@testing-library/preact', './matchTranslationBundle-e243f90d', './LayerHost-639b3284', './EnvironmentProvider-c0e1e39b', './TabbableModeContext-a9c97640', 'preact/hooks'], (function(e,s,n,r,u,o,l,c,t){"use strict";s.setupTabbableComponent=async(s,o)=>{const t=u.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:i}=await function(s){switch(s){case"../../resources/nls/ar/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/ar/bundle"],s,n)}));case"../../resources/nls/ar-XB/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/ar-XB/bundle"],s,n)}));case"../../resources/nls/bg/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/bg/bundle"],s,n)}));case"../../resources/nls/bs/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/bs/bundle"],s,n)}));case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/bs-Cyrl/bundle"],s,n)}));case"../../resources/nls/cs/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/cs/bundle"],s,n)}));case"../../resources/nls/da/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/da/bundle"],s,n)}));case"../../resources/nls/de/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/de/bundle"],s,n)}));case"../../resources/nls/el/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/el/bundle"],s,n)}));case"../../resources/nls/en/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/en/bundle"],s,n)}));case"../../resources/nls/en-XA/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/en-XA/bundle"],s,n)}));case"../../resources/nls/en-XC/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/en-XC/bundle"],s,n)}));case"../../resources/nls/es/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/es/bundle"],s,n)}));case"../../resources/nls/et/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/et/bundle"],s,n)}));case"../../resources/nls/fi/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/fi/bundle"],s,n)}));case"../../resources/nls/fr/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/fr/bundle"],s,n)}));case"../../resources/nls/fr-CA/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/fr-CA/bundle"],s,n)}));case"../../resources/nls/he/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/he/bundle"],s,n)}));case"../../resources/nls/hr/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/hr/bundle"],s,n)}));case"../../resources/nls/hu/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/hu/bundle"],s,n)}));case"../../resources/nls/is/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/is/bundle"],s,n)}));case"../../resources/nls/it/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/it/bundle"],s,n)}));case"../../resources/nls/ja/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/ja/bundle"],s,n)}));case"../../resources/nls/ko/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/ko/bundle"],s,n)}));case"../../resources/nls/lt/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/lt/bundle"],s,n)}));case"../../resources/nls/lv/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/lv/bundle"],s,n)}));case"../../resources/nls/ms/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/ms/bundle"],s,n)}));case"../../resources/nls/nl/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/nl/bundle"],s,n)}));case"../../resources/nls/no/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/no/bundle"],s,n)}));case"../../resources/nls/pl/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/pl/bundle"],s,n)}));case"../../resources/nls/pt/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/pt/bundle"],s,n)}));case"../../resources/nls/pt-PT/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/pt-PT/bundle"],s,n)}));case"../../resources/nls/ro/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/ro/bundle"],s,n)}));case"../../resources/nls/ru/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/ru/bundle"],s,n)}));case"../../resources/nls/sk/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/sk/bundle"],s,n)}));case"../../resources/nls/sl/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/sl/bundle"],s,n)}));case"../../resources/nls/sr/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/sr/bundle"],s,n)}));case"../../resources/nls/sr-Latn/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/sr-Latn/bundle"],s,n)}));case"../../resources/nls/sv/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/sv/bundle"],s,n)}));case"../../resources/nls/th/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/th/bundle"],s,n)}));case"../../resources/nls/tr/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/tr/bundle"],s,n)}));case"../../resources/nls/uk/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/uk/bundle"],s,n)}));case"../../resources/nls/vi/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/vi/bundle"],s,n)}));case"../../resources/nls/zh-Hans/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/zh-Hans/bundle"],s,n)}));case"../../resources/nls/zh-Hant/bundle.ts":return new Promise((function(s,n){e(["./resources/nls/zh-Hant/bundle"],s,n)}));default:return new Promise((function(e,n){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+s)))}))}}(`../../resources/nls/${t}/bundle.ts`),d={translations:{"@oracle/oraclejet-preact":i}};return void 0!==o?r.render(n.jsx(l.RootEnvironmentProvider,{environment:d,children:n.jsx(c.TabbableModeContext.Provider,{value:{isTabbable:o},children:s})})):r.render(n.jsx(l.RootEnvironmentProvider,{environment:d,children:s}))}}));
|
|
2
|
+
//# sourceMappingURL=tabbableUtils-f5e521c8.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabbableUtils-
|
|
1
|
+
{"version":3,"file":"tabbableUtils-f5e521c8.js","sources":["../../src/utils/PRIVATE_visTestUtils/tabbableUtils.tsx"],"sourcesContent":["import { render } from '@testing-library/preact';\nimport { matchTranslationBundle } from '../UNSAFE_matchTranslationBundle';\nimport { RootEnvironmentProvider } from '../../UNSAFE_Environment';\nimport type { RootEnvironment } from '../../UNSAFE_Environment';\nimport { TabbableModeContext } from '../../hooks/UNSAFE_useTabbableMode';\nimport { JSXInternal } from 'preact/src/jsx';\n\nexport const setupTabbableComponent = async (\n component: JSXInternal.Element,\n isTabbable?: boolean\n) => {\n const locale = matchTranslationBundle(['en'], new Set(['en-US', 'en']));\n const { default: translations } = await import(`../../resources/nls/${locale}/bundle.ts`);\n const env: Partial<RootEnvironment> = {\n translations: { '@oracle/oraclejet-preact': translations }\n };\n if (isTabbable !== undefined) {\n return render(\n <RootEnvironmentProvider environment={env}>\n <TabbableModeContext.Provider value={{ isTabbable: isTabbable }}>\n {component}\n </TabbableModeContext.Provider>\n </RootEnvironmentProvider>\n );\n } else {\n return render(<RootEnvironmentProvider environment={env}>{component}</RootEnvironmentProvider>);\n }\n};\n"],"names":["async","component","isTabbable","locale","matchTranslationBundle","Set","default","translations","__variableDynamicImportRuntime0__","env","undefined","render","_jsx","jsx","RootEnvironmentProvider","environment","children","TabbableModeContext","Provider","value"],"mappings":"2RAOsCA,MACpCC,EACAC,KAEA,MAAMC,EAASC,yBAAuB,CAAC,MAAO,IAAIC,IAAI,CAAC,QAAS,SACxDC,QAASC,6uKAAuBC,CAAO,uBAAuBL,eAChEM,EAAgC,CACpCF,aAAc,CAAE,2BAA4BA,IAE9C,YAAmBG,IAAfR,EACKS,EAAMA,OACXC,EAAAC,IAACC,0BAAuB,CAACC,YAAaN,EAAGO,SACvCJ,EAAAA,IAACK,EAAmBA,oBAACC,UAASC,MAAO,CAAEjB,WAAYA,GAAYc,SAC5Df,OAKAU,EAAMA,OAACC,MAACE,EAAAA,wBAAwB,CAAAC,YAAaN,EAAMO,SAAAf,IAC3D"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(['require', 'exports', 'preact/jsx-runtime', '@testing-library/preact', 'chai', './clientHints-030d25aa', './matchTranslationBundle-e243f90d', './LayerHost-
|
|
2
|
-
//# sourceMappingURL=testData-
|
|
1
|
+
define(['require', 'exports', 'preact/jsx-runtime', '@testing-library/preact', 'chai', './clientHints-030d25aa', './matchTranslationBundle-e243f90d', './LayerHost-639b3284', './EnvironmentProvider-c0e1e39b'], (function(e,n,s,r,t,u,l,o,c){"use strict";const i=async e=>e.findAllByRole("grid"),a=async e=>e.findAllByRole("row"),d=(e,n)=>{if(null!=n.dataset.ojCellType)return n;const s=n.parentElement;return s===e||null==s?null:d(e,s)};n.determineBrowserScrollbarWidth=async e=>{const n=await i(e),s=n[0].children[0].children[0].children[0];return n[0].offsetWidth-s.offsetWidth},n.employeeData=[{id:"3",name:"Chris Benalamore",title:"Area Business Operations Director EMEA & JAPAC",initial:"CB"},{id:"1",name:"Chris Black",title:"Oracle Cloud Infrastructure GTM Channel Director EMEA",initial:"CB"},{id:"2",name:"Christine Cooper",title:"Senior Principal Escalation Manager",initial:"CC"},{id:"4",name:"Christopher Johnson",title:"Vice-President HCM Application Development",initial:"CJ"},{id:"6",name:"Kurt Marchris",title:"Customer Service Analyst",initial:"KM"},{id:"5",name:"Samire Christian",title:"Consulting Project Technical Manager",initial:"SC"},{id:"7",name:"Zelda Christian Cooperman",title:"Senior Principal Escalation Manager 2",initial:"ZC"}],n.enableLongTimeout=()=>{"undefined"==typeof jest?mocha.timeout(1e4):jest.setTimeout(1e4)},n.findContainingCell=d,n.getColumnFooters=async e=>{const n=await a(e);return n.length>2?n[n.length-1].children:[]},n.getColumnHeaders=async e=>e.findAllByRole("columnheader"),n.getDataCells=async e=>e.children,n.getInnerGrids=i,n.getRows=a,n.isMac=()=>"mac"===u.getClientHints().platform,n.setupTableView=async n=>{const t=l.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:u}=await function(n){switch(n){case"../../resources/nls/ar/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/ar/bundle"],n,s)}));case"../../resources/nls/ar-XB/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/ar-XB/bundle"],n,s)}));case"../../resources/nls/bg/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/bg/bundle"],n,s)}));case"../../resources/nls/bs/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/bs/bundle"],n,s)}));case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/bs-Cyrl/bundle"],n,s)}));case"../../resources/nls/cs/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/cs/bundle"],n,s)}));case"../../resources/nls/da/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/da/bundle"],n,s)}));case"../../resources/nls/de/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/de/bundle"],n,s)}));case"../../resources/nls/el/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/el/bundle"],n,s)}));case"../../resources/nls/en/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/en/bundle"],n,s)}));case"../../resources/nls/en-XA/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/en-XA/bundle"],n,s)}));case"../../resources/nls/en-XC/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/en-XC/bundle"],n,s)}));case"../../resources/nls/es/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/es/bundle"],n,s)}));case"../../resources/nls/et/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/et/bundle"],n,s)}));case"../../resources/nls/fi/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/fi/bundle"],n,s)}));case"../../resources/nls/fr/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/fr/bundle"],n,s)}));case"../../resources/nls/fr-CA/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/fr-CA/bundle"],n,s)}));case"../../resources/nls/he/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/he/bundle"],n,s)}));case"../../resources/nls/hr/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/hr/bundle"],n,s)}));case"../../resources/nls/hu/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/hu/bundle"],n,s)}));case"../../resources/nls/is/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/is/bundle"],n,s)}));case"../../resources/nls/it/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/it/bundle"],n,s)}));case"../../resources/nls/ja/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/ja/bundle"],n,s)}));case"../../resources/nls/ko/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/ko/bundle"],n,s)}));case"../../resources/nls/lt/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/lt/bundle"],n,s)}));case"../../resources/nls/lv/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/lv/bundle"],n,s)}));case"../../resources/nls/ms/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/ms/bundle"],n,s)}));case"../../resources/nls/nl/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/nl/bundle"],n,s)}));case"../../resources/nls/no/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/no/bundle"],n,s)}));case"../../resources/nls/pl/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/pl/bundle"],n,s)}));case"../../resources/nls/pt/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/pt/bundle"],n,s)}));case"../../resources/nls/pt-PT/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/pt-PT/bundle"],n,s)}));case"../../resources/nls/ro/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/ro/bundle"],n,s)}));case"../../resources/nls/ru/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/ru/bundle"],n,s)}));case"../../resources/nls/sk/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/sk/bundle"],n,s)}));case"../../resources/nls/sl/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/sl/bundle"],n,s)}));case"../../resources/nls/sr/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/sr/bundle"],n,s)}));case"../../resources/nls/sr-Latn/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/sr-Latn/bundle"],n,s)}));case"../../resources/nls/sv/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/sv/bundle"],n,s)}));case"../../resources/nls/th/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/th/bundle"],n,s)}));case"../../resources/nls/tr/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/tr/bundle"],n,s)}));case"../../resources/nls/uk/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/uk/bundle"],n,s)}));case"../../resources/nls/vi/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/vi/bundle"],n,s)}));case"../../resources/nls/zh-Hans/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/zh-Hans/bundle"],n,s)}));case"../../resources/nls/zh-Hant/bundle.ts":return new Promise((function(n,s){e(["./resources/nls/zh-Hant/bundle"],n,s)}));default:return new Promise((function(e,s){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+n)))}))}}(`../../resources/nls/${t}/bundle.ts`),o={translations:{"@oracle/oraclejet-preact":u}};return r.render(s.jsx(c.RootEnvironmentProvider,{environment:o,children:n}))},n.verifyAriaSelected=async(e,n)=>{for(let n=0;n<e.length;n++)await r.waitFor((()=>{t.expect(e[n].getAttribute("aria-selected")).to.equal("true")}));for(let e=0;e<n.length;e++)await r.waitFor((()=>{t.expect(n[e].getAttribute("aria-selected")).to.not.equal("true")}))},n.verifyCurrentCellValue=async e=>{const n=null!=e?.rowKey?e.rowKey.toString():"",s=null!=e?.columnKey?e.columnKey.toString():"",u=null!=e?.type?e.type:"";await r.waitFor((()=>{t.expect(document.getElementById("rowKey")?.textContent).to.equal(n)})),await r.waitFor((()=>{t.expect(document.getElementById("columnKey")?.textContent).to.equal(s)})),await r.waitFor((()=>{t.expect(document.getElementById("cellType")?.textContent).to.equal(u)}))},n.verifyElementWidth=async(e,n)=>{await r.waitFor((()=>{t.expect(e.offsetWidth).to.equal(n)}))}}));
|
|
2
|
+
//# sourceMappingURL=testData-b22c8f34.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testData-71364772.js","sources":["../../src/UNSAFE_TableView/__tests__/testHelpers.tsx","../../src/UNSAFE_TableView/__tests__/resources/testData.ts"],"sourcesContent":["/**\n * TableView test Adapters to abstract common unit test actions away from the implementation details.\n */\nimport { render, RenderResult, waitFor } from '@testing-library/preact';\nimport { expect } from 'chai';\nimport { VNode } from 'preact';\nimport { Cell } from '..';\nimport { getClientHints } from '../../utils/PRIVATE_clientHints';\nimport { matchTranslationBundle } from '../../utils/UNSAFE_matchTranslationBundle';\nimport { RootEnvironment, RootEnvironmentProvider } from '../../UNSAFE_Environment';\n\n/**\n * Constant for timeout for longer running TableView tests\n */\nconst TABLEVIEW_LONG_TIMEOUT = 10000;\n\n/**\n * Helper method to render a TableView test component with the proper environment setup\n */\nexport const setupTableView = async (TestComponent: VNode) => {\n const locale = matchTranslationBundle(['en'], new Set(['en-US', 'en']));\n const { default: translations } = await import(`../../resources/nls/${locale}/bundle.ts`);\n const env: Partial<RootEnvironment> = {\n translations: { '@oracle/oraclejet-preact': translations }\n };\n return render(\n <RootEnvironmentProvider environment={env}>{TestComponent}</RootEnvironmentProvider>\n );\n};\n\n/**\n * Helper function to get all 'grid' role elements within the given rendered component.\n */\nexport const getInnerGrids = async (tableView: RenderResult) => {\n return tableView.findAllByRole('grid');\n};\n\n/**\n * Helper function to get all 'columnheader' role elements within the given rendered component.\n */\nexport const getColumnHeaders = async (tableView: RenderResult) => {\n return tableView.findAllByRole('columnheader');\n};\n\n/**\n * Helper function to get all 'row' role elements within the given rendered component.\n */\nexport const getRows = async (tableView: RenderResult) => {\n return tableView.findAllByRole('row');\n};\n\n/**\n * Helper function to get all data cell elements within the given data row.\n */\nexport const getDataCells = async (dataRow: Element) => {\n return dataRow.children;\n};\n\n/**\n * Helper function to get all footer elements within the given rendered component.\n */\nexport const getColumnFooters = async (tableView: RenderResult) => {\n const rows = await getRows(tableView);\n if (rows.length > 2) {\n return rows[rows.length - 1].children;\n }\n return [];\n};\n\n/**\n * Helper method to find the containing cell element of a given element.\n */\nexport const findContainingCell = (\n rootElement: HTMLElement,\n contentElement: HTMLElement\n): HTMLElement | null => {\n if (contentElement.dataset['ojCellType'] != null) {\n return contentElement;\n }\n const parentElement = contentElement.parentElement;\n if (parentElement === rootElement || parentElement == null) {\n return null;\n }\n return findContainingCell(rootElement, parentElement);\n};\n\n/**\n * Helper function to determine if the current environment is a Mac.\n */\nexport const isMac = () => {\n return getClientHints().platform === 'mac';\n};\n\n/**\n * Helper function to get the 'rowKey' test element.\n */\nexport const getRowKey = () => {\n return document.getElementById('rowKey');\n};\n\n/**\n * Helper function to get the 'columnKey' test element.\n */\nexport const getColumnKey = () => {\n return document.getElementById('columnKey');\n};\n\n/**\n * Helper function to get the 'cellType' test element.\n */\nexport const getCellType = () => {\n return document.getElementById('cellType');\n};\n\n/**\n * Helper function to verify the values of the Table's internal currentCell.\n */\nexport const verifyCurrentCellValue = async (value: Cell<string | number, string> | undefined) => {\n const expectedRowKey = value?.rowKey != null ? value.rowKey.toString() : '';\n const expectedColumnKey = value?.columnKey != null ? value.columnKey.toString() : '';\n const expectedCellType = value?.type != null ? value.type : '';\n await waitFor(() => {\n expect(getRowKey()?.textContent).to.equal(expectedRowKey);\n });\n await waitFor(() => {\n expect(getColumnKey()?.textContent).to.equal(expectedColumnKey);\n });\n await waitFor(() => {\n expect(getCellType()?.textContent).to.equal(expectedCellType);\n });\n};\n\n/**\n * Helper function to verify the values of aria-selected attributes on specific elements.\n */\nexport const verifyAriaSelected = async (\n selectedElements: Element[],\n unselectedElements: Element[]\n) => {\n for (let i = 0; i < selectedElements.length; i++) {\n await waitFor(() => {\n expect(selectedElements[i].getAttribute('aria-selected')).to.equal('true');\n });\n }\n for (let i = 0; i < unselectedElements.length; i++) {\n await waitFor(() => {\n expect(unselectedElements[i].getAttribute('aria-selected')).to.not.equal('true');\n });\n }\n};\n\n/**\n * Helper function to verify the width of a Table element.\n */\nexport const verifyElementWidth = async (element: HTMLElement, width: number) => {\n await waitFor(() => {\n expect(element.offsetWidth).to.equal(width);\n });\n};\n\n/**\n * Helper function to verify the width of a Table element.\n */\nexport const determineBrowserScrollbarWidth = async (tableView: RenderResult) => {\n const grids = await getInnerGrids(tableView);\n\n const innerTable = grids[0].children[0].children[0].children[0] as HTMLElement;\n return grids[0].offsetWidth - innerTable.offsetWidth;\n};\n\n/**\n * Helper function to apply a longer timeout for tests\n */\nexport const enableLongTimeout = () => {\n if (typeof jest === 'undefined') {\n mocha.timeout(TABLEVIEW_LONG_TIMEOUT);\n } else {\n jest.setTimeout(TABLEVIEW_LONG_TIMEOUT);\n }\n};\n","export type Department = {\n departmentId: number;\n departmentName: string;\n locationId: number;\n managerId: number;\n startDate: string;\n employeeCount: number;\n type: string;\n currency: string;\n primary: string[];\n rating: number;\n targetComplete: number;\n};\n\nexport const departmentData = [\n {\n departmentId: 10,\n departmentName: 'Finance 9',\n locationId: 300,\n managerId: 7001,\n startDate: '2014-06-13',\n employeeCount: 335,\n type: 'Sales',\n currency: 'EUR',\n primary: [],\n rating: 3,\n targetComplete: 90\n },\n {\n departmentId: 20,\n departmentName: 'Control And Credit 9',\n locationId: 300,\n managerId: 7001,\n startDate: '2019-09-10',\n employeeCount: 206,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 1,\n targetComplete: 90\n },\n {\n departmentId: 30,\n departmentName: 'Purchasing 28',\n locationId: 400,\n managerId: 6001,\n startDate: '2021-01-03',\n employeeCount: 473,\n type: 'HR',\n currency: 'JPY',\n primary: ['checked'],\n rating: 3,\n targetComplete: 50\n },\n {\n departmentId: 40,\n departmentName: 'Purchasing 27',\n locationId: 400,\n managerId: 1001,\n startDate: '2016-02-01',\n employeeCount: 369,\n type: 'Finance',\n currency: 'JPY',\n primary: [],\n rating: 5,\n targetComplete: 80\n },\n {\n departmentId: 50,\n departmentName: 'Shipping 4',\n locationId: 300,\n managerId: 2001,\n startDate: '2014-07-31',\n employeeCount: 476,\n type: 'HR',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 90\n },\n {\n departmentId: 60,\n departmentName: 'Finance 10',\n locationId: 400,\n managerId: 5001,\n startDate: '2017-01-17',\n employeeCount: 304,\n type: 'Sales',\n currency: 'JPY',\n primary: ['checked'],\n rating: 3,\n targetComplete: 80\n },\n {\n departmentId: 70,\n departmentName: 'Operations 9',\n locationId: 400,\n managerId: 6001,\n startDate: '2015-05-24',\n employeeCount: 334,\n type: 'Sales',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 60\n },\n {\n departmentId: 80,\n departmentName: 'Sales and Marketing 18',\n locationId: 500,\n managerId: 4001,\n startDate: '2017-03-25',\n employeeCount: 211,\n type: 'Finance',\n currency: 'JPY',\n primary: [],\n rating: 1,\n targetComplete: 70\n },\n {\n departmentId: 90,\n departmentName: 'Inventory 6',\n locationId: 400,\n managerId: 5001,\n startDate: '2017-12-18',\n employeeCount: 429,\n type: 'Finance',\n currency: 'EUR',\n primary: ['checked'],\n rating: 1,\n targetComplete: 70\n },\n {\n departmentId: 100,\n departmentName: 'Billing 22',\n locationId: 400,\n managerId: 6001,\n startDate: '2014-06-26',\n employeeCount: 219,\n type: 'Sales',\n currency: 'EUR',\n primary: ['checked'],\n rating: 3,\n targetComplete: 80\n },\n {\n departmentId: 110,\n departmentName: 'Finance 1',\n locationId: 100,\n managerId: 3001,\n startDate: '2020-02-12',\n employeeCount: 412,\n type: 'Finance',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 70\n },\n {\n departmentId: 120,\n departmentName: 'Sales and Marketing 28',\n locationId: 300,\n managerId: 2001,\n startDate: '2014-07-11',\n employeeCount: 373,\n type: 'HR',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 60\n },\n {\n departmentId: 130,\n departmentName: 'Operations 22',\n locationId: 300,\n managerId: 1001,\n startDate: '2015-05-26',\n employeeCount: 245,\n type: 'Marketing',\n currency: 'USD',\n primary: [],\n rating: 2,\n targetComplete: 80\n },\n {\n departmentId: 140,\n departmentName: 'Human Resources 22',\n locationId: 200,\n managerId: 1001,\n startDate: '2015-09-08',\n employeeCount: 217,\n type: 'Finance',\n currency: 'USD',\n primary: [],\n rating: 5,\n targetComplete: 70\n },\n {\n departmentId: 150,\n departmentName: 'Shipping 17',\n locationId: 300,\n managerId: 6001,\n startDate: '2017-10-04',\n employeeCount: 441,\n type: 'HR',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 60\n },\n {\n departmentId: 160,\n departmentName: 'Administration 8',\n locationId: 400,\n managerId: 2001,\n startDate: '2014-12-21',\n employeeCount: 332,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 2,\n targetComplete: 60\n },\n {\n departmentId: 170,\n departmentName: 'Purchasing 14',\n locationId: 400,\n managerId: 4001,\n startDate: '2019-01-25',\n employeeCount: 282,\n type: 'Marketing',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 70\n },\n {\n departmentId: 180,\n departmentName: 'Operations 13',\n locationId: 400,\n managerId: 2001,\n startDate: '2016-01-18',\n employeeCount: 336,\n type: 'Finance',\n currency: 'EUR',\n primary: ['checked'],\n rating: 4,\n targetComplete: 90\n },\n {\n departmentId: 190,\n departmentName: 'Control And Credit 18',\n locationId: 100,\n managerId: 1001,\n startDate: '2014-03-11',\n employeeCount: 391,\n type: 'Sales',\n currency: 'JPY',\n primary: [],\n rating: 4,\n targetComplete: 50\n },\n {\n departmentId: 200,\n departmentName: 'Purchasing 10',\n locationId: 200,\n managerId: 7001,\n startDate: '2014-02-06',\n employeeCount: 211,\n type: 'Sales',\n currency: 'JPY',\n primary: [],\n rating: 4,\n targetComplete: 80\n },\n {\n departmentId: 210,\n departmentName: 'Finance 2',\n locationId: 100,\n managerId: 5001,\n startDate: '2014-01-29',\n employeeCount: 239,\n type: 'Finance',\n currency: 'EUR',\n primary: ['checked'],\n rating: 1,\n targetComplete: 50\n },\n {\n departmentId: 220,\n departmentName: 'Administration 4',\n locationId: 300,\n managerId: 6001,\n startDate: '2014-08-15',\n employeeCount: 355,\n type: 'Marketing',\n currency: 'EUR',\n primary: ['checked'],\n rating: 4,\n targetComplete: 50\n },\n {\n departmentId: 230,\n departmentName: 'Human Resources 6',\n locationId: 300,\n managerId: 6001,\n startDate: '2020-03-14',\n employeeCount: 385,\n type: 'Marketing',\n currency: 'EUR',\n primary: [],\n rating: 1,\n targetComplete: 60\n },\n {\n departmentId: 240,\n departmentName: 'Control And Credit 24',\n locationId: 200,\n managerId: 7001,\n startDate: '2015-04-25',\n employeeCount: 355,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 3,\n targetComplete: 90\n },\n {\n departmentId: 250,\n departmentName: 'Control And Credit 8',\n locationId: 200,\n managerId: 6001,\n startDate: '2020-11-17',\n employeeCount: 361,\n type: 'Marketing',\n currency: 'USD',\n primary: ['checked'],\n rating: 1,\n targetComplete: 80\n },\n {\n departmentId: 260,\n departmentName: 'Billing 21',\n locationId: 200,\n managerId: 5001,\n startDate: '2018-05-18',\n employeeCount: 467,\n type: 'Finance',\n currency: 'EUR',\n primary: [],\n rating: 4,\n targetComplete: 90\n },\n {\n departmentId: 270,\n departmentName: 'Administration 5',\n locationId: 400,\n managerId: 3001,\n startDate: '2016-07-09',\n employeeCount: 495,\n type: 'Marketing',\n currency: 'USD',\n primary: [],\n rating: 1,\n targetComplete: 80\n },\n {\n departmentId: 280,\n departmentName: 'Purchasing 27',\n locationId: 100,\n managerId: 1001,\n startDate: '2017-01-20',\n employeeCount: 364,\n type: 'Finance',\n currency: 'JPY',\n primary: [],\n rating: 1,\n targetComplete: 60\n },\n {\n departmentId: 290,\n departmentName: 'Human Resources 24',\n locationId: 200,\n managerId: 6001,\n startDate: '2020-03-03',\n employeeCount: 242,\n type: 'Marketing',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 90\n },\n {\n departmentId: 300,\n departmentName: 'Finance 23',\n locationId: 300,\n managerId: 1001,\n startDate: '2020-09-20',\n employeeCount: 327,\n type: 'Finance',\n currency: 'EUR',\n primary: [],\n rating: 3,\n targetComplete: 60\n },\n {\n departmentId: 310,\n departmentName: 'Inventory 24',\n locationId: 500,\n managerId: 3001,\n startDate: '2015-07-18',\n employeeCount: 420,\n type: 'Finance',\n currency: 'JPY',\n primary: [],\n rating: 5,\n targetComplete: 70\n },\n {\n departmentId: 320,\n departmentName: 'Shipping 26',\n locationId: 400,\n managerId: 1001,\n startDate: '2015-09-16',\n employeeCount: 219,\n type: 'Sales',\n currency: 'EUR',\n primary: [],\n rating: 3,\n targetComplete: 60\n },\n {\n departmentId: 330,\n departmentName: 'Inventory 22',\n locationId: 200,\n managerId: 5001,\n startDate: '2014-11-22',\n employeeCount: 356,\n type: 'HR',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 90\n },\n {\n departmentId: 340,\n departmentName: 'Purchasing 4',\n locationId: 300,\n managerId: 6001,\n startDate: '2014-03-02',\n employeeCount: 202,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 3,\n targetComplete: 50\n },\n {\n departmentId: 350,\n departmentName: 'Purchasing 9',\n locationId: 400,\n managerId: 7001,\n startDate: '2020-06-09',\n employeeCount: 415,\n type: 'Finance',\n currency: 'USD',\n primary: ['checked'],\n rating: 2,\n targetComplete: 70\n },\n {\n departmentId: 360,\n departmentName: 'Purchasing 14',\n locationId: 300,\n managerId: 1001,\n startDate: '2020-07-20',\n employeeCount: 323,\n type: 'HR',\n currency: 'JPY',\n primary: ['checked'],\n rating: 5,\n targetComplete: 70\n },\n {\n departmentId: 370,\n departmentName: 'Operations 4',\n locationId: 500,\n managerId: 6001,\n startDate: '2015-08-23',\n employeeCount: 473,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 5,\n targetComplete: 80\n },\n {\n departmentId: 380,\n departmentName: 'Sales and Marketing 26',\n locationId: 500,\n managerId: 1001,\n startDate: '2017-08-02',\n employeeCount: 380,\n type: 'Finance',\n currency: 'EUR',\n primary: [],\n rating: 3,\n targetComplete: 60\n },\n {\n departmentId: 390,\n departmentName: 'Control And Credit 12',\n locationId: 200,\n managerId: 1001,\n startDate: '2017-10-08',\n employeeCount: 328,\n type: 'Sales',\n currency: 'USD',\n primary: [],\n rating: 2,\n targetComplete: 60\n },\n {\n departmentId: 400,\n departmentName: 'Sales and Marketing 6',\n locationId: 300,\n managerId: 7001,\n startDate: '2019-02-06',\n employeeCount: 301,\n type: 'Marketing',\n currency: 'USD',\n primary: [],\n rating: 2,\n targetComplete: 50\n },\n {\n departmentId: 410,\n departmentName: 'Administration 3',\n locationId: 400,\n managerId: 3001,\n startDate: '2020-07-09',\n employeeCount: 250,\n type: 'Finance',\n currency: 'USD',\n primary: ['checked'],\n rating: 2,\n targetComplete: 50\n },\n {\n departmentId: 420,\n departmentName: 'Finance 18',\n locationId: 400,\n managerId: 6001,\n startDate: '2017-08-07',\n employeeCount: 409,\n type: 'Marketing',\n currency: 'USD',\n primary: [],\n rating: 1,\n targetComplete: 90\n },\n {\n departmentId: 430,\n departmentName: 'Operations 11',\n locationId: 400,\n managerId: 3001,\n startDate: '2015-09-24',\n employeeCount: 296,\n type: 'Marketing',\n currency: 'USD',\n primary: ['checked'],\n rating: 3,\n targetComplete: 80\n },\n {\n departmentId: 440,\n departmentName: 'Inventory 6',\n locationId: 300,\n managerId: 4001,\n startDate: '2016-05-27',\n employeeCount: 467,\n type: 'HR',\n currency: 'EUR',\n primary: ['checked'],\n rating: 3,\n targetComplete: 70\n },\n {\n departmentId: 450,\n departmentName: 'Inventory 27',\n locationId: 300,\n managerId: 4001,\n startDate: '2019-05-29',\n employeeCount: 244,\n type: 'HR',\n currency: 'JPY',\n primary: ['checked'],\n rating: 1,\n targetComplete: 90\n },\n {\n departmentId: 460,\n departmentName: 'Transportation 8',\n locationId: 400,\n managerId: 6001,\n startDate: '2018-08-23',\n employeeCount: 443,\n type: 'Finance',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 80\n },\n {\n departmentId: 470,\n departmentName: 'Inventory 21',\n locationId: 300,\n managerId: 5001,\n startDate: '2015-01-20',\n employeeCount: 250,\n type: 'Sales',\n currency: 'JPY',\n primary: [],\n rating: 1,\n targetComplete: 50\n },\n {\n departmentId: 480,\n departmentName: 'Finance 14',\n locationId: 300,\n managerId: 7001,\n startDate: '2014-09-24',\n employeeCount: 319,\n type: 'Marketing',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 50\n },\n {\n departmentId: 490,\n departmentName: 'Human Resources 12',\n locationId: 300,\n managerId: 5001,\n startDate: '2019-06-29',\n employeeCount: 448,\n type: 'HR',\n currency: 'JPY',\n primary: [],\n rating: 2,\n targetComplete: 70\n },\n {\n departmentId: 500,\n departmentName: 'Transportation 29',\n locationId: 300,\n managerId: 5001,\n startDate: '2014-01-07',\n employeeCount: 453,\n type: 'HR',\n currency: 'EUR',\n primary: ['checked'],\n rating: 3,\n targetComplete: 80\n }\n];\n\nexport type Employee = {\n id: string;\n name: string;\n title: string;\n initial: string;\n};\n\nexport const employeeData: Employee[] = [\n {\n id: '3',\n name: 'Chris Benalamore',\n title: 'Area Business Operations Director EMEA & JAPAC',\n initial: 'CB'\n },\n {\n id: '1',\n name: 'Chris Black',\n title: 'Oracle Cloud Infrastructure GTM Channel Director EMEA',\n initial: 'CB'\n },\n {\n id: '2',\n name: 'Christine Cooper',\n title: 'Senior Principal Escalation Manager',\n initial: 'CC'\n },\n {\n id: '4',\n name: 'Christopher Johnson',\n title: 'Vice-President HCM Application Development',\n initial: 'CJ'\n },\n {\n id: '6',\n name: 'Kurt Marchris',\n title: 'Customer Service Analyst',\n initial: 'KM'\n },\n {\n id: '5',\n name: 'Samire Christian',\n title: 'Consulting Project Technical Manager',\n initial: 'SC'\n },\n {\n id: '7',\n name: 'Zelda Christian Cooperman',\n title: 'Senior Principal Escalation Manager 2',\n initial: 'ZC'\n }\n];\n\nexport type EmployeeStatus = {\n employeeId: number;\n firstName: string;\n lastName: string;\n revenue: number;\n targetComplete: number;\n targetIncomplete: number;\n rating: number;\n status: string;\n salary: number;\n bonus: number;\n departmentId: number;\n};\n\nexport const employeeStatusData = [\n {\n employeeId: 10,\n firstName: 'Frank',\n lastName: 'Stout',\n revenue: 33200,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 5,\n status: 'Pending',\n salary: 159000,\n bonus: 47900,\n departmentId: 320\n },\n {\n employeeId: 20,\n firstName: 'Mara',\n lastName: 'Rivers',\n revenue: 17200,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 3,\n status: 'Pending',\n salary: 200000,\n bonus: 45300,\n departmentId: 40\n },\n {\n employeeId: 30,\n firstName: 'Karina',\n lastName: 'Cameron',\n revenue: 30100,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 4,\n status: 'Approved',\n salary: 279000,\n bonus: 79700,\n departmentId: 370\n },\n {\n employeeId: 40,\n firstName: 'Marilyn',\n lastName: 'Short',\n revenue: 48800,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 3,\n status: 'Approved',\n salary: 106000,\n bonus: 77500,\n departmentId: 310\n },\n {\n employeeId: 50,\n firstName: 'Audra',\n lastName: 'Long',\n revenue: 40700,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Pending',\n salary: 123000,\n bonus: 39900,\n departmentId: 490\n },\n {\n employeeId: 60,\n firstName: 'Woods',\n lastName: 'Jefferson',\n revenue: 29000,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 3,\n status: 'Pending',\n salary: 145000,\n bonus: 49600,\n departmentId: 160\n },\n {\n employeeId: 70,\n firstName: 'Spears',\n lastName: 'Howe',\n revenue: 32900,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 5,\n status: 'Approved',\n salary: 120000,\n bonus: 30300,\n departmentId: 460\n },\n {\n employeeId: 80,\n firstName: 'Kelsey',\n lastName: 'Gomez',\n revenue: 34200,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 1,\n status: 'Pending',\n salary: 147000,\n bonus: 79800,\n departmentId: 330\n },\n {\n employeeId: 90,\n firstName: 'Miriam',\n lastName: 'Branch',\n revenue: 42800,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 3,\n status: 'Pending',\n salary: 117000,\n bonus: 43000,\n departmentId: 50\n },\n {\n employeeId: 100,\n firstName: 'Tisha',\n lastName: 'Parks',\n revenue: 17800,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 1,\n status: 'Pending',\n salary: 136000,\n bonus: 33800,\n departmentId: 200\n },\n {\n employeeId: 110,\n firstName: 'Dollie',\n lastName: 'Pittman',\n revenue: 15700,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 3,\n status: 'Approved',\n salary: 121000,\n bonus: 60600,\n departmentId: 500\n },\n {\n employeeId: 120,\n firstName: 'Leticia',\n lastName: 'Goodman',\n revenue: 16200,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 5,\n status: 'Pending',\n salary: 295000,\n bonus: 74900,\n departmentId: 300\n },\n {\n employeeId: 130,\n firstName: 'Harrison',\n lastName: 'Jarvis',\n revenue: 32500,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 1,\n status: 'Pending',\n salary: 125000,\n bonus: 59600,\n departmentId: 80\n },\n {\n employeeId: 140,\n firstName: 'Salinas',\n lastName: 'Richardson',\n revenue: 49600,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 5,\n status: 'Pending',\n salary: 228000,\n bonus: 50500,\n departmentId: 50\n },\n {\n employeeId: 150,\n firstName: 'Barry',\n lastName: 'Maxwell',\n revenue: 42800,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 5,\n status: 'Pending',\n salary: 269000,\n bonus: 52200,\n departmentId: 400\n },\n {\n employeeId: 160,\n firstName: 'Diaz',\n lastName: 'Velazquez',\n revenue: 24100,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 4,\n status: 'Approved',\n salary: 242000,\n bonus: 45000,\n departmentId: 370\n },\n {\n employeeId: 170,\n firstName: 'Minnie',\n lastName: 'Riley',\n revenue: 12000,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 2,\n status: 'Approved',\n salary: 107000,\n bonus: 67500,\n departmentId: 250\n },\n {\n employeeId: 180,\n firstName: 'Fulton',\n lastName: 'Bernard',\n revenue: 29400,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 4,\n status: 'Approved',\n salary: 259000,\n bonus: 37400,\n departmentId: 170\n },\n {\n employeeId: 190,\n firstName: 'Chandler',\n lastName: 'Mccarty',\n revenue: 30100,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 1,\n status: 'Approved',\n salary: 185000,\n bonus: 74000,\n departmentId: 250\n },\n {\n employeeId: 200,\n firstName: 'Flowers',\n lastName: 'Hernandez',\n revenue: 20700,\n targetComplete: 70,\n targetIncomplete: 30,\n rating: 4,\n status: 'Approved',\n salary: 135000,\n bonus: 39300,\n departmentId: 260\n },\n {\n employeeId: 210,\n firstName: 'Donaldson',\n lastName: 'Sharp',\n revenue: 42300,\n targetComplete: 70,\n targetIncomplete: 30,\n rating: 3,\n status: 'Pending',\n salary: 176000,\n bonus: 67600,\n departmentId: 250\n },\n {\n employeeId: 220,\n firstName: 'Melanie',\n lastName: 'Gamble',\n revenue: 30100,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Approved',\n salary: 219000,\n bonus: 52400,\n departmentId: 230\n },\n {\n employeeId: 230,\n firstName: 'Leona',\n lastName: 'Erickson',\n revenue: 11400,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 1,\n status: 'Pending',\n salary: 185000,\n bonus: 57300,\n departmentId: 160\n },\n {\n employeeId: 240,\n firstName: 'Dionne',\n lastName: 'Howell',\n revenue: 44200,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 1,\n status: 'Approved',\n salary: 211000,\n bonus: 65800,\n departmentId: 130\n },\n {\n employeeId: 250,\n firstName: 'June',\n lastName: 'Warren',\n revenue: 39500,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Approved',\n salary: 222000,\n bonus: 65200,\n departmentId: 260\n },\n {\n employeeId: 260,\n firstName: 'Carey',\n lastName: 'Johns',\n revenue: 36000,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Approved',\n salary: 233000,\n bonus: 69500,\n departmentId: 190\n },\n {\n employeeId: 270,\n firstName: 'Estelle',\n lastName: 'Bowers',\n revenue: 27600,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 2,\n status: 'Approved',\n salary: 212000,\n bonus: 37700,\n departmentId: 120\n },\n {\n employeeId: 280,\n firstName: 'Rena',\n lastName: 'Blanchard',\n revenue: 16000,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Approved',\n salary: 135000,\n bonus: 51000,\n departmentId: 380\n },\n {\n employeeId: 290,\n firstName: 'Hinton',\n lastName: 'Tillman',\n revenue: 42400,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 4,\n status: 'Pending',\n salary: 134000,\n bonus: 49600,\n departmentId: 40\n },\n {\n employeeId: 300,\n firstName: 'Gloria',\n lastName: 'Everett',\n revenue: 42100,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Approved',\n salary: 278000,\n bonus: 38400,\n departmentId: 180\n },\n {\n employeeId: 310,\n firstName: 'Ware',\n lastName: 'Simon',\n revenue: 49500,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Approved',\n salary: 142000,\n bonus: 43900,\n departmentId: 190\n },\n {\n employeeId: 320,\n firstName: 'Carolina',\n lastName: 'Holmes',\n revenue: 22700,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 4,\n status: 'Pending',\n salary: 181000,\n bonus: 52000,\n departmentId: 320\n },\n {\n employeeId: 330,\n firstName: 'Day',\n lastName: 'Newman',\n revenue: 46000,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 5,\n status: 'Approved',\n salary: 117000,\n bonus: 66700,\n departmentId: 290\n },\n {\n employeeId: 340,\n firstName: 'Nielsen',\n lastName: 'Harrell',\n revenue: 13800,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 5,\n status: 'Pending',\n salary: 212000,\n bonus: 39600,\n departmentId: 70\n },\n {\n employeeId: 350,\n firstName: 'Barbara',\n lastName: 'Moore',\n revenue: 37600,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Pending',\n salary: 185000,\n bonus: 61800,\n departmentId: 340\n },\n {\n employeeId: 360,\n firstName: 'Reese',\n lastName: 'Green',\n revenue: 27500,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Approved',\n salary: 168000,\n bonus: 72500,\n departmentId: 30\n },\n {\n employeeId: 370,\n firstName: 'Paige',\n lastName: 'Gregory',\n revenue: 22300,\n targetComplete: 70,\n targetIncomplete: 30,\n rating: 3,\n status: 'Pending',\n salary: 270000,\n bonus: 33500,\n departmentId: 360\n },\n {\n employeeId: 380,\n firstName: 'Jaclyn',\n lastName: 'Mann',\n revenue: 29700,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 1,\n status: 'Approved',\n salary: 224000,\n bonus: 76400,\n departmentId: 120\n },\n {\n employeeId: 390,\n firstName: 'Lula',\n lastName: 'Fowler',\n revenue: 40700,\n targetComplete: 60,\n targetIncomplete: 40,\n rating: 3,\n status: 'Approved',\n salary: 211000,\n bonus: 57000,\n departmentId: 320\n },\n {\n employeeId: 400,\n firstName: 'Regina',\n lastName: 'Watson',\n revenue: 10600,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Pending',\n salary: 211000,\n bonus: 31600,\n departmentId: 470\n },\n {\n employeeId: 410,\n firstName: 'Candice',\n lastName: 'Hardin',\n revenue: 48200,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 4,\n status: 'Pending',\n salary: 191000,\n bonus: 73400,\n departmentId: 110\n },\n {\n employeeId: 420,\n firstName: 'Pate',\n lastName: 'Haney',\n revenue: 12600,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 2,\n status: 'Approved',\n salary: 247000,\n bonus: 71600,\n departmentId: 200\n },\n {\n employeeId: 430,\n firstName: 'Snider',\n lastName: 'Shepard',\n revenue: 30900,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 4,\n status: 'Pending',\n salary: 230000,\n bonus: 59200,\n departmentId: 20\n },\n {\n employeeId: 440,\n firstName: 'Fleming',\n lastName: 'Torres',\n revenue: 13500,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 5,\n status: 'Approved',\n salary: 111000,\n bonus: 69800,\n departmentId: 120\n },\n {\n employeeId: 450,\n firstName: 'Terrie',\n lastName: 'Grimes',\n revenue: 47200,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 4,\n status: 'Pending',\n salary: 118000,\n bonus: 42900,\n departmentId: 460\n },\n {\n employeeId: 460,\n firstName: 'Hallie',\n lastName: 'Frye',\n revenue: 20900,\n targetComplete: 60,\n targetIncomplete: 40,\n rating: 4,\n status: 'Approved',\n salary: 218000,\n bonus: 50000,\n departmentId: 340\n },\n {\n employeeId: 470,\n firstName: 'Jerry',\n lastName: 'Salazar',\n revenue: 43300,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 5,\n status: 'Approved',\n salary: 103000,\n bonus: 49800,\n departmentId: 440\n },\n {\n employeeId: 480,\n firstName: 'Sally',\n lastName: 'Barnett',\n revenue: 39500,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 3,\n status: 'Pending',\n salary: 132000,\n bonus: 80000,\n departmentId: 160\n },\n {\n employeeId: 490,\n firstName: 'Goldie',\n lastName: 'Kelly',\n revenue: 32600,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 5,\n status: 'Approved',\n salary: 102000,\n bonus: 39000,\n departmentId: 10\n },\n {\n employeeId: 500,\n firstName: 'Brianna',\n lastName: 'Compton',\n revenue: 30400,\n targetComplete: 60,\n targetIncomplete: 40,\n rating: 4,\n status: 'Pending',\n salary: 114000,\n bonus: 78200,\n departmentId: 280\n }\n];\n"],"names":["getInnerGrids","async","tableView","findAllByRole","getRows","findContainingCell","rootElement","contentElement","dataset","parentElement","grids","innerTable","children","offsetWidth","id","name","title","initial","jest","mocha","timeout","setTimeout","rows","length","dataRow","getClientHints","platform","TestComponent","locale","matchTranslationBundle","Set","default","translations","__variableDynamicImportRuntime0__","env","render","_jsx","RootEnvironmentProvider","environment","selectedElements","unselectedElements","i","waitFor","expect","getAttribute","to","equal","not","value","expectedRowKey","rowKey","toString","expectedColumnKey","columnKey","expectedCellType","type","document","getElementById","textContent","element","width"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"testData-b22c8f34.js","sources":["../../src/UNSAFE_TableView/__tests__/testHelpers.tsx","../../src/UNSAFE_TableView/__tests__/resources/testData.ts"],"sourcesContent":["/**\n * TableView test Adapters to abstract common unit test actions away from the implementation details.\n */\nimport { render, RenderResult, waitFor } from '@testing-library/preact';\nimport { expect } from 'chai';\nimport { VNode } from 'preact';\nimport { Cell } from '..';\nimport { getClientHints } from '../../utils/PRIVATE_clientHints';\nimport { matchTranslationBundle } from '../../utils/UNSAFE_matchTranslationBundle';\nimport { RootEnvironment, RootEnvironmentProvider } from '../../UNSAFE_Environment';\n\n/**\n * Constant for timeout for longer running TableView tests\n */\nconst TABLEVIEW_LONG_TIMEOUT = 10000;\n\n/**\n * Helper method to render a TableView test component with the proper environment setup\n */\nexport const setupTableView = async (TestComponent: VNode) => {\n const locale = matchTranslationBundle(['en'], new Set(['en-US', 'en']));\n const { default: translations } = await import(`../../resources/nls/${locale}/bundle.ts`);\n const env: Partial<RootEnvironment> = {\n translations: { '@oracle/oraclejet-preact': translations }\n };\n return render(\n <RootEnvironmentProvider environment={env}>{TestComponent}</RootEnvironmentProvider>\n );\n};\n\n/**\n * Helper function to get all 'grid' role elements within the given rendered component.\n */\nexport const getInnerGrids = async (tableView: RenderResult) => {\n return tableView.findAllByRole('grid');\n};\n\n/**\n * Helper function to get all 'columnheader' role elements within the given rendered component.\n */\nexport const getColumnHeaders = async (tableView: RenderResult) => {\n return tableView.findAllByRole('columnheader');\n};\n\n/**\n * Helper function to get all 'row' role elements within the given rendered component.\n */\nexport const getRows = async (tableView: RenderResult) => {\n return tableView.findAllByRole('row');\n};\n\n/**\n * Helper function to get all data cell elements within the given data row.\n */\nexport const getDataCells = async (dataRow: Element) => {\n return dataRow.children;\n};\n\n/**\n * Helper function to get all footer elements within the given rendered component.\n */\nexport const getColumnFooters = async (tableView: RenderResult) => {\n const rows = await getRows(tableView);\n if (rows.length > 2) {\n return rows[rows.length - 1].children;\n }\n return [];\n};\n\n/**\n * Helper method to find the containing cell element of a given element.\n */\nexport const findContainingCell = (\n rootElement: HTMLElement,\n contentElement: HTMLElement\n): HTMLElement | null => {\n if (contentElement.dataset['ojCellType'] != null) {\n return contentElement;\n }\n const parentElement = contentElement.parentElement;\n if (parentElement === rootElement || parentElement == null) {\n return null;\n }\n return findContainingCell(rootElement, parentElement);\n};\n\n/**\n * Helper function to determine if the current environment is a Mac.\n */\nexport const isMac = () => {\n return getClientHints().platform === 'mac';\n};\n\n/**\n * Helper function to get the 'rowKey' test element.\n */\nexport const getRowKey = () => {\n return document.getElementById('rowKey');\n};\n\n/**\n * Helper function to get the 'columnKey' test element.\n */\nexport const getColumnKey = () => {\n return document.getElementById('columnKey');\n};\n\n/**\n * Helper function to get the 'cellType' test element.\n */\nexport const getCellType = () => {\n return document.getElementById('cellType');\n};\n\n/**\n * Helper function to verify the values of the Table's internal currentCell.\n */\nexport const verifyCurrentCellValue = async (value: Cell<string | number, string> | undefined) => {\n const expectedRowKey = value?.rowKey != null ? value.rowKey.toString() : '';\n const expectedColumnKey = value?.columnKey != null ? value.columnKey.toString() : '';\n const expectedCellType = value?.type != null ? value.type : '';\n await waitFor(() => {\n expect(getRowKey()?.textContent).to.equal(expectedRowKey);\n });\n await waitFor(() => {\n expect(getColumnKey()?.textContent).to.equal(expectedColumnKey);\n });\n await waitFor(() => {\n expect(getCellType()?.textContent).to.equal(expectedCellType);\n });\n};\n\n/**\n * Helper function to verify the values of aria-selected attributes on specific elements.\n */\nexport const verifyAriaSelected = async (\n selectedElements: Element[],\n unselectedElements: Element[]\n) => {\n for (let i = 0; i < selectedElements.length; i++) {\n await waitFor(() => {\n expect(selectedElements[i].getAttribute('aria-selected')).to.equal('true');\n });\n }\n for (let i = 0; i < unselectedElements.length; i++) {\n await waitFor(() => {\n expect(unselectedElements[i].getAttribute('aria-selected')).to.not.equal('true');\n });\n }\n};\n\n/**\n * Helper function to verify the width of a Table element.\n */\nexport const verifyElementWidth = async (element: HTMLElement, width: number) => {\n await waitFor(() => {\n expect(element.offsetWidth).to.equal(width);\n });\n};\n\n/**\n * Helper function to verify the width of a Table element.\n */\nexport const determineBrowserScrollbarWidth = async (tableView: RenderResult) => {\n const grids = await getInnerGrids(tableView);\n\n const innerTable = grids[0].children[0].children[0].children[0] as HTMLElement;\n return grids[0].offsetWidth - innerTable.offsetWidth;\n};\n\n/**\n * Helper function to apply a longer timeout for tests\n */\nexport const enableLongTimeout = () => {\n if (typeof jest === 'undefined') {\n mocha.timeout(TABLEVIEW_LONG_TIMEOUT);\n } else {\n jest.setTimeout(TABLEVIEW_LONG_TIMEOUT);\n }\n};\n","export type Department = {\n departmentId: number;\n departmentName: string;\n locationId: number;\n managerId: number;\n startDate: string;\n employeeCount: number;\n type: string;\n currency: string;\n primary: string[];\n rating: number;\n targetComplete: number;\n};\n\nexport const departmentData = [\n {\n departmentId: 10,\n departmentName: 'Finance 9',\n locationId: 300,\n managerId: 7001,\n startDate: '2014-06-13',\n employeeCount: 335,\n type: 'Sales',\n currency: 'EUR',\n primary: [],\n rating: 3,\n targetComplete: 90\n },\n {\n departmentId: 20,\n departmentName: 'Control And Credit 9',\n locationId: 300,\n managerId: 7001,\n startDate: '2019-09-10',\n employeeCount: 206,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 1,\n targetComplete: 90\n },\n {\n departmentId: 30,\n departmentName: 'Purchasing 28',\n locationId: 400,\n managerId: 6001,\n startDate: '2021-01-03',\n employeeCount: 473,\n type: 'HR',\n currency: 'JPY',\n primary: ['checked'],\n rating: 3,\n targetComplete: 50\n },\n {\n departmentId: 40,\n departmentName: 'Purchasing 27',\n locationId: 400,\n managerId: 1001,\n startDate: '2016-02-01',\n employeeCount: 369,\n type: 'Finance',\n currency: 'JPY',\n primary: [],\n rating: 5,\n targetComplete: 80\n },\n {\n departmentId: 50,\n departmentName: 'Shipping 4',\n locationId: 300,\n managerId: 2001,\n startDate: '2014-07-31',\n employeeCount: 476,\n type: 'HR',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 90\n },\n {\n departmentId: 60,\n departmentName: 'Finance 10',\n locationId: 400,\n managerId: 5001,\n startDate: '2017-01-17',\n employeeCount: 304,\n type: 'Sales',\n currency: 'JPY',\n primary: ['checked'],\n rating: 3,\n targetComplete: 80\n },\n {\n departmentId: 70,\n departmentName: 'Operations 9',\n locationId: 400,\n managerId: 6001,\n startDate: '2015-05-24',\n employeeCount: 334,\n type: 'Sales',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 60\n },\n {\n departmentId: 80,\n departmentName: 'Sales and Marketing 18',\n locationId: 500,\n managerId: 4001,\n startDate: '2017-03-25',\n employeeCount: 211,\n type: 'Finance',\n currency: 'JPY',\n primary: [],\n rating: 1,\n targetComplete: 70\n },\n {\n departmentId: 90,\n departmentName: 'Inventory 6',\n locationId: 400,\n managerId: 5001,\n startDate: '2017-12-18',\n employeeCount: 429,\n type: 'Finance',\n currency: 'EUR',\n primary: ['checked'],\n rating: 1,\n targetComplete: 70\n },\n {\n departmentId: 100,\n departmentName: 'Billing 22',\n locationId: 400,\n managerId: 6001,\n startDate: '2014-06-26',\n employeeCount: 219,\n type: 'Sales',\n currency: 'EUR',\n primary: ['checked'],\n rating: 3,\n targetComplete: 80\n },\n {\n departmentId: 110,\n departmentName: 'Finance 1',\n locationId: 100,\n managerId: 3001,\n startDate: '2020-02-12',\n employeeCount: 412,\n type: 'Finance',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 70\n },\n {\n departmentId: 120,\n departmentName: 'Sales and Marketing 28',\n locationId: 300,\n managerId: 2001,\n startDate: '2014-07-11',\n employeeCount: 373,\n type: 'HR',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 60\n },\n {\n departmentId: 130,\n departmentName: 'Operations 22',\n locationId: 300,\n managerId: 1001,\n startDate: '2015-05-26',\n employeeCount: 245,\n type: 'Marketing',\n currency: 'USD',\n primary: [],\n rating: 2,\n targetComplete: 80\n },\n {\n departmentId: 140,\n departmentName: 'Human Resources 22',\n locationId: 200,\n managerId: 1001,\n startDate: '2015-09-08',\n employeeCount: 217,\n type: 'Finance',\n currency: 'USD',\n primary: [],\n rating: 5,\n targetComplete: 70\n },\n {\n departmentId: 150,\n departmentName: 'Shipping 17',\n locationId: 300,\n managerId: 6001,\n startDate: '2017-10-04',\n employeeCount: 441,\n type: 'HR',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 60\n },\n {\n departmentId: 160,\n departmentName: 'Administration 8',\n locationId: 400,\n managerId: 2001,\n startDate: '2014-12-21',\n employeeCount: 332,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 2,\n targetComplete: 60\n },\n {\n departmentId: 170,\n departmentName: 'Purchasing 14',\n locationId: 400,\n managerId: 4001,\n startDate: '2019-01-25',\n employeeCount: 282,\n type: 'Marketing',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 70\n },\n {\n departmentId: 180,\n departmentName: 'Operations 13',\n locationId: 400,\n managerId: 2001,\n startDate: '2016-01-18',\n employeeCount: 336,\n type: 'Finance',\n currency: 'EUR',\n primary: ['checked'],\n rating: 4,\n targetComplete: 90\n },\n {\n departmentId: 190,\n departmentName: 'Control And Credit 18',\n locationId: 100,\n managerId: 1001,\n startDate: '2014-03-11',\n employeeCount: 391,\n type: 'Sales',\n currency: 'JPY',\n primary: [],\n rating: 4,\n targetComplete: 50\n },\n {\n departmentId: 200,\n departmentName: 'Purchasing 10',\n locationId: 200,\n managerId: 7001,\n startDate: '2014-02-06',\n employeeCount: 211,\n type: 'Sales',\n currency: 'JPY',\n primary: [],\n rating: 4,\n targetComplete: 80\n },\n {\n departmentId: 210,\n departmentName: 'Finance 2',\n locationId: 100,\n managerId: 5001,\n startDate: '2014-01-29',\n employeeCount: 239,\n type: 'Finance',\n currency: 'EUR',\n primary: ['checked'],\n rating: 1,\n targetComplete: 50\n },\n {\n departmentId: 220,\n departmentName: 'Administration 4',\n locationId: 300,\n managerId: 6001,\n startDate: '2014-08-15',\n employeeCount: 355,\n type: 'Marketing',\n currency: 'EUR',\n primary: ['checked'],\n rating: 4,\n targetComplete: 50\n },\n {\n departmentId: 230,\n departmentName: 'Human Resources 6',\n locationId: 300,\n managerId: 6001,\n startDate: '2020-03-14',\n employeeCount: 385,\n type: 'Marketing',\n currency: 'EUR',\n primary: [],\n rating: 1,\n targetComplete: 60\n },\n {\n departmentId: 240,\n departmentName: 'Control And Credit 24',\n locationId: 200,\n managerId: 7001,\n startDate: '2015-04-25',\n employeeCount: 355,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 3,\n targetComplete: 90\n },\n {\n departmentId: 250,\n departmentName: 'Control And Credit 8',\n locationId: 200,\n managerId: 6001,\n startDate: '2020-11-17',\n employeeCount: 361,\n type: 'Marketing',\n currency: 'USD',\n primary: ['checked'],\n rating: 1,\n targetComplete: 80\n },\n {\n departmentId: 260,\n departmentName: 'Billing 21',\n locationId: 200,\n managerId: 5001,\n startDate: '2018-05-18',\n employeeCount: 467,\n type: 'Finance',\n currency: 'EUR',\n primary: [],\n rating: 4,\n targetComplete: 90\n },\n {\n departmentId: 270,\n departmentName: 'Administration 5',\n locationId: 400,\n managerId: 3001,\n startDate: '2016-07-09',\n employeeCount: 495,\n type: 'Marketing',\n currency: 'USD',\n primary: [],\n rating: 1,\n targetComplete: 80\n },\n {\n departmentId: 280,\n departmentName: 'Purchasing 27',\n locationId: 100,\n managerId: 1001,\n startDate: '2017-01-20',\n employeeCount: 364,\n type: 'Finance',\n currency: 'JPY',\n primary: [],\n rating: 1,\n targetComplete: 60\n },\n {\n departmentId: 290,\n departmentName: 'Human Resources 24',\n locationId: 200,\n managerId: 6001,\n startDate: '2020-03-03',\n employeeCount: 242,\n type: 'Marketing',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 90\n },\n {\n departmentId: 300,\n departmentName: 'Finance 23',\n locationId: 300,\n managerId: 1001,\n startDate: '2020-09-20',\n employeeCount: 327,\n type: 'Finance',\n currency: 'EUR',\n primary: [],\n rating: 3,\n targetComplete: 60\n },\n {\n departmentId: 310,\n departmentName: 'Inventory 24',\n locationId: 500,\n managerId: 3001,\n startDate: '2015-07-18',\n employeeCount: 420,\n type: 'Finance',\n currency: 'JPY',\n primary: [],\n rating: 5,\n targetComplete: 70\n },\n {\n departmentId: 320,\n departmentName: 'Shipping 26',\n locationId: 400,\n managerId: 1001,\n startDate: '2015-09-16',\n employeeCount: 219,\n type: 'Sales',\n currency: 'EUR',\n primary: [],\n rating: 3,\n targetComplete: 60\n },\n {\n departmentId: 330,\n departmentName: 'Inventory 22',\n locationId: 200,\n managerId: 5001,\n startDate: '2014-11-22',\n employeeCount: 356,\n type: 'HR',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 90\n },\n {\n departmentId: 340,\n departmentName: 'Purchasing 4',\n locationId: 300,\n managerId: 6001,\n startDate: '2014-03-02',\n employeeCount: 202,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 3,\n targetComplete: 50\n },\n {\n departmentId: 350,\n departmentName: 'Purchasing 9',\n locationId: 400,\n managerId: 7001,\n startDate: '2020-06-09',\n employeeCount: 415,\n type: 'Finance',\n currency: 'USD',\n primary: ['checked'],\n rating: 2,\n targetComplete: 70\n },\n {\n departmentId: 360,\n departmentName: 'Purchasing 14',\n locationId: 300,\n managerId: 1001,\n startDate: '2020-07-20',\n employeeCount: 323,\n type: 'HR',\n currency: 'JPY',\n primary: ['checked'],\n rating: 5,\n targetComplete: 70\n },\n {\n departmentId: 370,\n departmentName: 'Operations 4',\n locationId: 500,\n managerId: 6001,\n startDate: '2015-08-23',\n employeeCount: 473,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 5,\n targetComplete: 80\n },\n {\n departmentId: 380,\n departmentName: 'Sales and Marketing 26',\n locationId: 500,\n managerId: 1001,\n startDate: '2017-08-02',\n employeeCount: 380,\n type: 'Finance',\n currency: 'EUR',\n primary: [],\n rating: 3,\n targetComplete: 60\n },\n {\n departmentId: 390,\n departmentName: 'Control And Credit 12',\n locationId: 200,\n managerId: 1001,\n startDate: '2017-10-08',\n employeeCount: 328,\n type: 'Sales',\n currency: 'USD',\n primary: [],\n rating: 2,\n targetComplete: 60\n },\n {\n departmentId: 400,\n departmentName: 'Sales and Marketing 6',\n locationId: 300,\n managerId: 7001,\n startDate: '2019-02-06',\n employeeCount: 301,\n type: 'Marketing',\n currency: 'USD',\n primary: [],\n rating: 2,\n targetComplete: 50\n },\n {\n departmentId: 410,\n departmentName: 'Administration 3',\n locationId: 400,\n managerId: 3001,\n startDate: '2020-07-09',\n employeeCount: 250,\n type: 'Finance',\n currency: 'USD',\n primary: ['checked'],\n rating: 2,\n targetComplete: 50\n },\n {\n departmentId: 420,\n departmentName: 'Finance 18',\n locationId: 400,\n managerId: 6001,\n startDate: '2017-08-07',\n employeeCount: 409,\n type: 'Marketing',\n currency: 'USD',\n primary: [],\n rating: 1,\n targetComplete: 90\n },\n {\n departmentId: 430,\n departmentName: 'Operations 11',\n locationId: 400,\n managerId: 3001,\n startDate: '2015-09-24',\n employeeCount: 296,\n type: 'Marketing',\n currency: 'USD',\n primary: ['checked'],\n rating: 3,\n targetComplete: 80\n },\n {\n departmentId: 440,\n departmentName: 'Inventory 6',\n locationId: 300,\n managerId: 4001,\n startDate: '2016-05-27',\n employeeCount: 467,\n type: 'HR',\n currency: 'EUR',\n primary: ['checked'],\n rating: 3,\n targetComplete: 70\n },\n {\n departmentId: 450,\n departmentName: 'Inventory 27',\n locationId: 300,\n managerId: 4001,\n startDate: '2019-05-29',\n employeeCount: 244,\n type: 'HR',\n currency: 'JPY',\n primary: ['checked'],\n rating: 1,\n targetComplete: 90\n },\n {\n departmentId: 460,\n departmentName: 'Transportation 8',\n locationId: 400,\n managerId: 6001,\n startDate: '2018-08-23',\n employeeCount: 443,\n type: 'Finance',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 80\n },\n {\n departmentId: 470,\n departmentName: 'Inventory 21',\n locationId: 300,\n managerId: 5001,\n startDate: '2015-01-20',\n employeeCount: 250,\n type: 'Sales',\n currency: 'JPY',\n primary: [],\n rating: 1,\n targetComplete: 50\n },\n {\n departmentId: 480,\n departmentName: 'Finance 14',\n locationId: 300,\n managerId: 7001,\n startDate: '2014-09-24',\n employeeCount: 319,\n type: 'Marketing',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 50\n },\n {\n departmentId: 490,\n departmentName: 'Human Resources 12',\n locationId: 300,\n managerId: 5001,\n startDate: '2019-06-29',\n employeeCount: 448,\n type: 'HR',\n currency: 'JPY',\n primary: [],\n rating: 2,\n targetComplete: 70\n },\n {\n departmentId: 500,\n departmentName: 'Transportation 29',\n locationId: 300,\n managerId: 5001,\n startDate: '2014-01-07',\n employeeCount: 453,\n type: 'HR',\n currency: 'EUR',\n primary: ['checked'],\n rating: 3,\n targetComplete: 80\n }\n];\n\nexport type Employee = {\n id: string;\n name: string;\n title: string;\n initial: string;\n};\n\nexport const employeeData: Employee[] = [\n {\n id: '3',\n name: 'Chris Benalamore',\n title: 'Area Business Operations Director EMEA & JAPAC',\n initial: 'CB'\n },\n {\n id: '1',\n name: 'Chris Black',\n title: 'Oracle Cloud Infrastructure GTM Channel Director EMEA',\n initial: 'CB'\n },\n {\n id: '2',\n name: 'Christine Cooper',\n title: 'Senior Principal Escalation Manager',\n initial: 'CC'\n },\n {\n id: '4',\n name: 'Christopher Johnson',\n title: 'Vice-President HCM Application Development',\n initial: 'CJ'\n },\n {\n id: '6',\n name: 'Kurt Marchris',\n title: 'Customer Service Analyst',\n initial: 'KM'\n },\n {\n id: '5',\n name: 'Samire Christian',\n title: 'Consulting Project Technical Manager',\n initial: 'SC'\n },\n {\n id: '7',\n name: 'Zelda Christian Cooperman',\n title: 'Senior Principal Escalation Manager 2',\n initial: 'ZC'\n }\n];\n\nexport type EmployeeStatus = {\n employeeId: number;\n firstName: string;\n lastName: string;\n revenue: number;\n targetComplete: number;\n targetIncomplete: number;\n rating: number;\n status: string;\n salary: number;\n bonus: number;\n departmentId: number;\n};\n\nexport const employeeStatusData = [\n {\n employeeId: 10,\n firstName: 'Frank',\n lastName: 'Stout',\n revenue: 33200,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 5,\n status: 'Pending',\n salary: 159000,\n bonus: 47900,\n departmentId: 320\n },\n {\n employeeId: 20,\n firstName: 'Mara',\n lastName: 'Rivers',\n revenue: 17200,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 3,\n status: 'Pending',\n salary: 200000,\n bonus: 45300,\n departmentId: 40\n },\n {\n employeeId: 30,\n firstName: 'Karina',\n lastName: 'Cameron',\n revenue: 30100,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 4,\n status: 'Approved',\n salary: 279000,\n bonus: 79700,\n departmentId: 370\n },\n {\n employeeId: 40,\n firstName: 'Marilyn',\n lastName: 'Short',\n revenue: 48800,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 3,\n status: 'Approved',\n salary: 106000,\n bonus: 77500,\n departmentId: 310\n },\n {\n employeeId: 50,\n firstName: 'Audra',\n lastName: 'Long',\n revenue: 40700,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Pending',\n salary: 123000,\n bonus: 39900,\n departmentId: 490\n },\n {\n employeeId: 60,\n firstName: 'Woods',\n lastName: 'Jefferson',\n revenue: 29000,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 3,\n status: 'Pending',\n salary: 145000,\n bonus: 49600,\n departmentId: 160\n },\n {\n employeeId: 70,\n firstName: 'Spears',\n lastName: 'Howe',\n revenue: 32900,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 5,\n status: 'Approved',\n salary: 120000,\n bonus: 30300,\n departmentId: 460\n },\n {\n employeeId: 80,\n firstName: 'Kelsey',\n lastName: 'Gomez',\n revenue: 34200,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 1,\n status: 'Pending',\n salary: 147000,\n bonus: 79800,\n departmentId: 330\n },\n {\n employeeId: 90,\n firstName: 'Miriam',\n lastName: 'Branch',\n revenue: 42800,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 3,\n status: 'Pending',\n salary: 117000,\n bonus: 43000,\n departmentId: 50\n },\n {\n employeeId: 100,\n firstName: 'Tisha',\n lastName: 'Parks',\n revenue: 17800,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 1,\n status: 'Pending',\n salary: 136000,\n bonus: 33800,\n departmentId: 200\n },\n {\n employeeId: 110,\n firstName: 'Dollie',\n lastName: 'Pittman',\n revenue: 15700,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 3,\n status: 'Approved',\n salary: 121000,\n bonus: 60600,\n departmentId: 500\n },\n {\n employeeId: 120,\n firstName: 'Leticia',\n lastName: 'Goodman',\n revenue: 16200,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 5,\n status: 'Pending',\n salary: 295000,\n bonus: 74900,\n departmentId: 300\n },\n {\n employeeId: 130,\n firstName: 'Harrison',\n lastName: 'Jarvis',\n revenue: 32500,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 1,\n status: 'Pending',\n salary: 125000,\n bonus: 59600,\n departmentId: 80\n },\n {\n employeeId: 140,\n firstName: 'Salinas',\n lastName: 'Richardson',\n revenue: 49600,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 5,\n status: 'Pending',\n salary: 228000,\n bonus: 50500,\n departmentId: 50\n },\n {\n employeeId: 150,\n firstName: 'Barry',\n lastName: 'Maxwell',\n revenue: 42800,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 5,\n status: 'Pending',\n salary: 269000,\n bonus: 52200,\n departmentId: 400\n },\n {\n employeeId: 160,\n firstName: 'Diaz',\n lastName: 'Velazquez',\n revenue: 24100,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 4,\n status: 'Approved',\n salary: 242000,\n bonus: 45000,\n departmentId: 370\n },\n {\n employeeId: 170,\n firstName: 'Minnie',\n lastName: 'Riley',\n revenue: 12000,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 2,\n status: 'Approved',\n salary: 107000,\n bonus: 67500,\n departmentId: 250\n },\n {\n employeeId: 180,\n firstName: 'Fulton',\n lastName: 'Bernard',\n revenue: 29400,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 4,\n status: 'Approved',\n salary: 259000,\n bonus: 37400,\n departmentId: 170\n },\n {\n employeeId: 190,\n firstName: 'Chandler',\n lastName: 'Mccarty',\n revenue: 30100,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 1,\n status: 'Approved',\n salary: 185000,\n bonus: 74000,\n departmentId: 250\n },\n {\n employeeId: 200,\n firstName: 'Flowers',\n lastName: 'Hernandez',\n revenue: 20700,\n targetComplete: 70,\n targetIncomplete: 30,\n rating: 4,\n status: 'Approved',\n salary: 135000,\n bonus: 39300,\n departmentId: 260\n },\n {\n employeeId: 210,\n firstName: 'Donaldson',\n lastName: 'Sharp',\n revenue: 42300,\n targetComplete: 70,\n targetIncomplete: 30,\n rating: 3,\n status: 'Pending',\n salary: 176000,\n bonus: 67600,\n departmentId: 250\n },\n {\n employeeId: 220,\n firstName: 'Melanie',\n lastName: 'Gamble',\n revenue: 30100,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Approved',\n salary: 219000,\n bonus: 52400,\n departmentId: 230\n },\n {\n employeeId: 230,\n firstName: 'Leona',\n lastName: 'Erickson',\n revenue: 11400,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 1,\n status: 'Pending',\n salary: 185000,\n bonus: 57300,\n departmentId: 160\n },\n {\n employeeId: 240,\n firstName: 'Dionne',\n lastName: 'Howell',\n revenue: 44200,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 1,\n status: 'Approved',\n salary: 211000,\n bonus: 65800,\n departmentId: 130\n },\n {\n employeeId: 250,\n firstName: 'June',\n lastName: 'Warren',\n revenue: 39500,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Approved',\n salary: 222000,\n bonus: 65200,\n departmentId: 260\n },\n {\n employeeId: 260,\n firstName: 'Carey',\n lastName: 'Johns',\n revenue: 36000,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Approved',\n salary: 233000,\n bonus: 69500,\n departmentId: 190\n },\n {\n employeeId: 270,\n firstName: 'Estelle',\n lastName: 'Bowers',\n revenue: 27600,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 2,\n status: 'Approved',\n salary: 212000,\n bonus: 37700,\n departmentId: 120\n },\n {\n employeeId: 280,\n firstName: 'Rena',\n lastName: 'Blanchard',\n revenue: 16000,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Approved',\n salary: 135000,\n bonus: 51000,\n departmentId: 380\n },\n {\n employeeId: 290,\n firstName: 'Hinton',\n lastName: 'Tillman',\n revenue: 42400,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 4,\n status: 'Pending',\n salary: 134000,\n bonus: 49600,\n departmentId: 40\n },\n {\n employeeId: 300,\n firstName: 'Gloria',\n lastName: 'Everett',\n revenue: 42100,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Approved',\n salary: 278000,\n bonus: 38400,\n departmentId: 180\n },\n {\n employeeId: 310,\n firstName: 'Ware',\n lastName: 'Simon',\n revenue: 49500,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Approved',\n salary: 142000,\n bonus: 43900,\n departmentId: 190\n },\n {\n employeeId: 320,\n firstName: 'Carolina',\n lastName: 'Holmes',\n revenue: 22700,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 4,\n status: 'Pending',\n salary: 181000,\n bonus: 52000,\n departmentId: 320\n },\n {\n employeeId: 330,\n firstName: 'Day',\n lastName: 'Newman',\n revenue: 46000,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 5,\n status: 'Approved',\n salary: 117000,\n bonus: 66700,\n departmentId: 290\n },\n {\n employeeId: 340,\n firstName: 'Nielsen',\n lastName: 'Harrell',\n revenue: 13800,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 5,\n status: 'Pending',\n salary: 212000,\n bonus: 39600,\n departmentId: 70\n },\n {\n employeeId: 350,\n firstName: 'Barbara',\n lastName: 'Moore',\n revenue: 37600,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Pending',\n salary: 185000,\n bonus: 61800,\n departmentId: 340\n },\n {\n employeeId: 360,\n firstName: 'Reese',\n lastName: 'Green',\n revenue: 27500,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Approved',\n salary: 168000,\n bonus: 72500,\n departmentId: 30\n },\n {\n employeeId: 370,\n firstName: 'Paige',\n lastName: 'Gregory',\n revenue: 22300,\n targetComplete: 70,\n targetIncomplete: 30,\n rating: 3,\n status: 'Pending',\n salary: 270000,\n bonus: 33500,\n departmentId: 360\n },\n {\n employeeId: 380,\n firstName: 'Jaclyn',\n lastName: 'Mann',\n revenue: 29700,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 1,\n status: 'Approved',\n salary: 224000,\n bonus: 76400,\n departmentId: 120\n },\n {\n employeeId: 390,\n firstName: 'Lula',\n lastName: 'Fowler',\n revenue: 40700,\n targetComplete: 60,\n targetIncomplete: 40,\n rating: 3,\n status: 'Approved',\n salary: 211000,\n bonus: 57000,\n departmentId: 320\n },\n {\n employeeId: 400,\n firstName: 'Regina',\n lastName: 'Watson',\n revenue: 10600,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Pending',\n salary: 211000,\n bonus: 31600,\n departmentId: 470\n },\n {\n employeeId: 410,\n firstName: 'Candice',\n lastName: 'Hardin',\n revenue: 48200,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 4,\n status: 'Pending',\n salary: 191000,\n bonus: 73400,\n departmentId: 110\n },\n {\n employeeId: 420,\n firstName: 'Pate',\n lastName: 'Haney',\n revenue: 12600,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 2,\n status: 'Approved',\n salary: 247000,\n bonus: 71600,\n departmentId: 200\n },\n {\n employeeId: 430,\n firstName: 'Snider',\n lastName: 'Shepard',\n revenue: 30900,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 4,\n status: 'Pending',\n salary: 230000,\n bonus: 59200,\n departmentId: 20\n },\n {\n employeeId: 440,\n firstName: 'Fleming',\n lastName: 'Torres',\n revenue: 13500,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 5,\n status: 'Approved',\n salary: 111000,\n bonus: 69800,\n departmentId: 120\n },\n {\n employeeId: 450,\n firstName: 'Terrie',\n lastName: 'Grimes',\n revenue: 47200,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 4,\n status: 'Pending',\n salary: 118000,\n bonus: 42900,\n departmentId: 460\n },\n {\n employeeId: 460,\n firstName: 'Hallie',\n lastName: 'Frye',\n revenue: 20900,\n targetComplete: 60,\n targetIncomplete: 40,\n rating: 4,\n status: 'Approved',\n salary: 218000,\n bonus: 50000,\n departmentId: 340\n },\n {\n employeeId: 470,\n firstName: 'Jerry',\n lastName: 'Salazar',\n revenue: 43300,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 5,\n status: 'Approved',\n salary: 103000,\n bonus: 49800,\n departmentId: 440\n },\n {\n employeeId: 480,\n firstName: 'Sally',\n lastName: 'Barnett',\n revenue: 39500,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 3,\n status: 'Pending',\n salary: 132000,\n bonus: 80000,\n departmentId: 160\n },\n {\n employeeId: 490,\n firstName: 'Goldie',\n lastName: 'Kelly',\n revenue: 32600,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 5,\n status: 'Approved',\n salary: 102000,\n bonus: 39000,\n departmentId: 10\n },\n {\n employeeId: 500,\n firstName: 'Brianna',\n lastName: 'Compton',\n revenue: 30400,\n targetComplete: 60,\n targetIncomplete: 40,\n rating: 4,\n status: 'Pending',\n salary: 114000,\n bonus: 78200,\n departmentId: 280\n }\n];\n"],"names":["getInnerGrids","async","tableView","findAllByRole","getRows","findContainingCell","rootElement","contentElement","dataset","parentElement","grids","innerTable","children","offsetWidth","id","name","title","initial","jest","mocha","timeout","setTimeout","rows","length","dataRow","getClientHints","platform","TestComponent","locale","matchTranslationBundle","Set","default","translations","__variableDynamicImportRuntime0__","env","render","_jsx","RootEnvironmentProvider","environment","selectedElements","unselectedElements","i","waitFor","expect","getAttribute","to","equal","not","value","expectedRowKey","rowKey","toString","expectedColumnKey","columnKey","expectedCellType","type","document","getElementById","textContent","element","width"],"mappings":"kPAcA,MAmBaA,EAAgBC,MAAOC,GAC3BA,EAAUC,cAAc,QAapBC,EAAUH,MAAOC,GACrBA,EAAUC,cAAc,OAwBpBE,EAAqB,CAChCC,EACAC,KAEA,GAA4C,MAAxCA,EAAeC,QAAoB,WACrC,OAAOD,EAET,MAAME,EAAgBF,EAAeE,cACrC,OAAIA,IAAkBH,GAAgC,MAAjBG,EAC5B,KAEFJ,EAAmBC,EAAaG,EAAc,mCAgFTR,MAAOC,IACnD,MAAMQ,QAAcV,EAAcE,GAE5BS,EAAaD,EAAM,GAAGE,SAAS,GAAGA,SAAS,GAAGA,SAAS,GAC7D,OAAOF,EAAM,GAAGG,YAAcF,EAAWE,WAAW,iBC2fd,CACtC,CACEC,GAAI,IACJC,KAAM,mBACNC,MAAO,iDACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,cACNC,MAAO,wDACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,mBACNC,MAAO,sCACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,sBACNC,MAAO,6CACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,gBACNC,MAAO,2BACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,mBACNC,MAAO,uCACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,4BACNC,MAAO,wCACPC,QAAS,2BD9hBoB,KACX,oBAATC,KACTC,MAAMC,QAjKqB,KAmK3BF,KAAKG,WAnKsB,IAoK5B,4CArH6BpB,MAAOC,IACrC,MAAMoB,QAAalB,EAAQF,GAC3B,OAAIoB,EAAKC,OAAS,EACTD,EAAKA,EAAKC,OAAS,GAAGX,SAExB,EAAE,qBA1BqBX,MAAOC,GAC9BA,EAAUC,cAAc,+BAaLF,MAAOuB,GAC1BA,EAAQZ,+CAkCI,IACkB,QAA9Ba,EAAcA,iBAAGC,0BAvEIzB,MAAO0B,IACnC,MAAMC,EAASC,yBAAuB,CAAC,MAAO,IAAIC,IAAI,CAAC,QAAS,SACxDC,QAASC,6uKAAuBC,CAAO,uBAAuBL,eAChEM,EAAgC,CACpCF,aAAc,CAAE,2BAA4BA,IAE9C,OAAOG,EAAMA,OACXC,MAACC,EAAAA,wBAAwB,CAAAC,YAAaJ,EAAMtB,SAAAe,IAC7C,uBA4G+B1B,MAChCsC,EACAC,KAEA,IAAK,IAAIC,EAAI,EAAGA,EAAIF,EAAiBhB,OAAQkB,UACrCC,EAAOA,SAAC,KACZC,SAAOJ,EAAiBE,GAAGG,aAAa,kBAAkBC,GAAGC,MAAM,OAAO,IAG9E,IAAK,IAAIL,EAAI,EAAGA,EAAID,EAAmBjB,OAAQkB,UACvCC,EAAOA,SAAC,KACZC,EAAAA,OAAOH,EAAmBC,GAAGG,aAAa,kBAAkBC,GAAGE,IAAID,MAAM,OAAO,GAEnF,2BA/BmC7C,MAAO+C,IAC3C,MAAMC,EAAkC,MAAjBD,GAAOE,OAAiBF,EAAME,OAAOC,WAAa,GACnEC,EAAwC,MAApBJ,GAAOK,UAAoBL,EAAMK,UAAUF,WAAa,GAC5EG,EAAkC,MAAfN,GAAOO,KAAeP,EAAMO,KAAO,SACtDb,EAAOA,SAAC,KACZC,EAAMA,OAzBDa,SAASC,eAAe,WAyBTC,aAAab,GAAGC,MAAMG,EAAe,UAErDP,EAAOA,SAAC,KACZC,EAAMA,OArBDa,SAASC,eAAe,cAqBNC,aAAab,GAAGC,MAAMM,EAAkB,UAE3DV,EAAOA,SAAC,KACZC,EAAMA,OAjBDa,SAASC,eAAe,aAiBPC,aAAab,GAAGC,MAAMQ,EAAiB,GAC7D,uBAyB8BrD,MAAO0D,EAAsBC,WACvDlB,EAAOA,SAAC,KACZC,EAAMA,OAACgB,EAAQ9C,aAAagC,GAAGC,MAAMc,EAAM,GAC3C"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
define(['exports', 'preact/jsx-runtime', './LayerHost-639b3284', './EnvironmentProvider-c0e1e39b', './Floating-25e0092b', './Layer-e835aed8', 'preact/compat'], (function(e,t,i,a,n,s,c){"use strict";const l=new class{constructor(){this.keyDownHandler=e=>{"Tab"===e.key&&(this.tabKeyActive=!0,setTimeout((()=>{this.tabKeyActive=!1}),100))},this.register=e=>{this.activeCallback&&this.activeCallback!==e&&this.activeCallback(),this.activeCallback=e},this.unregister=e=>{this.activeCallback===e&&(this.activeCallback=null)},this.isTabKeyActive=()=>this.tabKeyActive,this.activeCallback=null,this.tabKeyActive=!1,window.addEventListener("keydown",this.keyDownHandler,!0)}};e.SHOW_TOOLTIP_DELAY=250,e.getGlobalTooltipManager=()=>l,e.getWrappedTooltipContent=(e,i,c,l,r,o)=>{const h=o||{mainAxis:8,crossAxis:0},v=c&&"light"!==c?"light":"dark";return t.jsx(s.Layer,{children:t.jsx(n.Floating,{anchorRef:l,placement:r,offsetValue:h,children:"tooltip"===i?t.jsx(a.EnvironmentProvider,{environment:{colorScheme:v},children:e}):t.jsx(t.Fragment,{children:e})})})}}));
|
|
2
|
+
//# sourceMappingURL=tooltipUtils-79293e46.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltipUtils-
|
|
1
|
+
{"version":3,"file":"tooltipUtils-79293e46.js","sources":["../../src/utils/PRIVATE_tooltipUtils/tooltipUtils.tsx","../../src/hooks/UNSAFE_useTooltip/TooltipManager.ts"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { Ref } from 'preact/hooks';\nimport { JSXInternal } from 'preact/src/jsx';\nimport { EnvironmentProvider } from '../../UNSAFE_Environment';\nimport { Coords, Floating, Placement } from '../../UNSAFE_Floating';\nimport { Layer } from '../../UNSAFE_Layer';\nimport { ColorScheme } from '../../UNSAFE_Theme';\nimport { TooltipManager } from '../../hooks/UNSAFE_useTooltip/TooltipManager';\n\n// Global TooltipManager singleton instance\nconst globalTooltipManager = new TooltipManager();\n\n/**\n * The delay (in ms) for Redwood tooltips.\n */\nexport const SHOW_TOOLTIP_DELAY = 250;\n\n/**\n * Returns a global TooltipManager singleton instance\n */\nexport const getGlobalTooltipManager = (): TooltipManager => {\n return globalTooltipManager;\n};\n\n/**\n * Wraps the tooltip content provided in the appropriate layering and returns the result for display.\n */\nexport const getWrappedTooltipContent = (\n tooltipContent: JSXInternal.Element,\n variant: 'tooltip' | 'datatip',\n colorScheme: ColorScheme,\n anchorRef: Ref<Element | Coords>,\n placement: Placement,\n offset?: { mainAxis?: number; crossAxis?: number }\n): JSXInternal.Element => {\n const defaultOffset = 8; // Redwood tooltip has a default offset of 8 pixels\n const newOffset = offset ? offset : { mainAxis: defaultOffset, crossAxis: 0 };\n\n const newColorScheme = !colorScheme || colorScheme === 'light' ? 'dark' : 'light';\n\n const renderTooltipOrDatatip = () => {\n if (variant === 'tooltip') {\n return (\n <EnvironmentProvider environment={{ colorScheme: newColorScheme }}>\n {tooltipContent}\n </EnvironmentProvider>\n );\n } else {\n return <>{tooltipContent}</>;\n }\n };\n\n return (\n <Layer>\n <Floating anchorRef={anchorRef} placement={placement} offsetValue={newOffset}>\n {renderTooltipOrDatatip()}\n </Floating>\n </Layer>\n );\n};\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nexport type TooltipManagerCallback = () => void;\n\n/**\n * A global tooltip manager that\n * - ensures that only one tooltip is shown at a time\n * - detects a Tab key press and allows tooltips to check if their target was focused via keyboard\n */\nexport class TooltipManager {\n private activeCallback: TooltipManagerCallback | null;\n\n private tabKeyActive: boolean;\n\n private keyDownHandler = (event: KeyboardEvent) => {\n if (event.key === 'Tab') {\n this.tabKeyActive = true;\n setTimeout(() => {\n this.tabKeyActive = false;\n }, 100);\n }\n };\n\n constructor() {\n this.activeCallback = null;\n this.tabKeyActive = false;\n window.addEventListener('keydown', this.keyDownHandler, true);\n }\n\n /**\n * notifies the previously registered active tooltip callback and registers a new one\n */\n public register = (callback: TooltipManagerCallback) => {\n if (this.activeCallback && this.activeCallback !== callback) {\n this.activeCallback();\n }\n this.activeCallback = callback;\n };\n\n /**\n * resets the registered active callback\n */\n public unregister = (callback: TooltipManagerCallback) => {\n if (this.activeCallback === callback) {\n this.activeCallback = null;\n }\n };\n\n /**\n * returns the active Tab key status ('active' means a Tab key press within the last 100ms)\n */\n public isTabKeyActive = () => {\n return this.tabKeyActive;\n };\n}\n"],"names":["globalTooltipManager","constructor","this","keyDownHandler","event","key","tabKeyActive","setTimeout","register","callback","activeCallback","unregister","isTabKeyActive","window","addEventListener","tooltipContent","variant","colorScheme","anchorRef","placement","offset","newOffset","mainAxis","crossAxis","newColorScheme","_jsx","Layer","children","Floating","offsetValue","jsx","EnvironmentProvider","environment","_Fragment","Fragment"],"mappings":"+LAgBA,MAAMA,EAAuB,UCa3B,WAAAC,GATQC,KAAAC,eAAkBC,IACN,QAAdA,EAAMC,MACRH,KAAKI,cAAe,EACpBC,YAAW,KACTL,KAAKI,cAAe,CAAK,GACxB,KACJ,EAYIJ,KAAAM,SAAYC,IACbP,KAAKQ,gBAAkBR,KAAKQ,iBAAmBD,GACjDP,KAAKQ,iBAEPR,KAAKQ,eAAiBD,CAAQ,EAMzBP,KAAAS,WAAcF,IACfP,KAAKQ,iBAAmBD,IAC1BP,KAAKQ,eAAiB,KACvB,EAMIR,KAAcU,eAAG,IACfV,KAAKI,aA5BZJ,KAAKQ,eAAiB,KACtBR,KAAKI,cAAe,EACpBO,OAAOC,iBAAiB,UAAWZ,KAAKC,gBAAgB,EACzD,wBDZ+B,8BAKK,IAC9BH,6BAM+B,CACtCe,EACAC,EACAC,EACAC,EACAC,EACAC,KAEA,MACMC,EAAYD,GAAkB,CAAEE,SADhB,EACyCC,UAAW,GAEpEC,EAAkBP,GAA+B,UAAhBA,EAAmC,QAAT,OAcjE,OACEQ,EAAAA,IAACC,EAAAA,MACC,CAAAC,SAAAF,EAAAA,IAACG,EAAAA,SAAS,CAAAV,UAAWA,EAAWC,UAAWA,EAAWU,YAAaR,EAASM,SAb9D,YAAZX,EAEAS,EAAAK,IAACC,sBAAmB,CAACC,YAAa,CAAEf,YAAaO,GAAgBG,SAC9DZ,IAIEU,EAAAK,IAAAG,EAAAC,SAAA,CAAAP,SAAGZ,OAUZ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(['exports', './TabbableModeContext-a9c97640', './useTabbableMode-dc440317', 'preact/compat', './useUser-
|
|
1
|
+
define(['exports', './TabbableModeContext-a9c97640', './useTabbableMode-dc440317', 'preact/compat', './useUser-3ef25571'], (function(e,o,a,t,c){"use strict";const s=e=>{e.preventDefault(),e.stopPropagation()},n=(e,o)=>"string"==typeof e?e:e[o];e.useCellNavigation=({navigationMap:e,payload:o,onAction:a,onNavigation:i})=>{const{direction:r}=c.useUser(),l=t.useCallback((()=>{a(o)}),[o,a]),u=t.useCallback((e=>{if(["Enter","Space"].includes(e.code))return s(e),void l()}),[l]),d=t.useCallback((a=>{if("Space"===a.code)return void a.preventDefault();if("KeyT"===a.code&&a.ctrlKey&&a.altKey){const t=e.CtrlAltT;void 0!==t&&(s(a),i({direction:n(t,r),...o}))}const{key:t,shiftKey:c}=a;switch(t){case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"ArrowDown":case"End":case"Home":case"PageUp":case"PageDown":const l=!c||"PageUp"!==t&&"PageDown"!==t?t:`Shift${t}`;if(void 0!==e[l]){s(a);const t=e[l];i({direction:n(t,r),...o})}}}),[r,e,i,o]);return{onClick:l,onKeyDown:d,onKeyUp:u}},e.useFocusableCell=({isFocusable:e,isFocused:o})=>{const c=t.useRef(null),{isTabbable:s}=a.useTabbableMode();return t.useLayoutEffect((()=>{e&&o&&c.current?.focus()}),[e,o]),{ref:c,tabIndex:e&&s?0:-1}}}));
|
|
2
2
|
//# sourceMappingURL=useCellNavigation-1feec094.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(['exports', './useContextMenu-57f18e97', 'preact/jsx-runtime', './Menu-
|
|
1
|
+
define(['exports', './useContextMenu-57f18e97', 'preact/jsx-runtime', './Menu-e682ccb9', './MenuItem-44b2547b', 'preact/hooks', 'preact', './logger-0f873e29', './LayerHost-639b3284', 'preact/compat', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-79293e46', 'css!./IconStyle.styles.css', './SelectMenuGroupContext-67f24a8f', './UNSAFE_Separator/themes/SeparatorStyles.css', 'css!./MenuSeparatorStyles.styles.css', 'module', './UNSAFE_Menu/themes/redwood/MenuSeparatorVariants.css', './eventsUtils-5d567a9d', './accUtils-1557920a'], (function(e,t,o,s,n,r,i,a,u,c,d,x,l,p,y,M,f,m,g,C,S,I){"use strict";e.useChartContextMenu=({getDataItem:e,focusedItemInfo:o,series:s,groups:n,rootRef:r,xAxisTitle:i,yAxisTitle:a,contextMenuConfig:u,onContextMenuDismissed:c})=>{const{contextMenuProps:d,contextMenuContent:x}=t.useContextMenu({onContextMenuHandler:({gesture:t,target:u})=>{let c;const{context:d}=function(e,t,o,s,n,r,i,a,u){let c,d,x;if("keyboard"===t)d=e.groupIndex,c=e.seriesIndex;else{const e=S.getInfo(r,o);c=e?e.seriesIndex:void 0,d=e?e.groupIndex:void 0}if(void 0!==c&&void 0!==d&&u?.(c,d))x={data:u(c,d),groupIndex:d,seriesIndex:c,type:"item"};else if(void 0!==c)x={data:s[c],type:"series"};else if(void 0!==d)x={data:n[d],type:"xAxisTickLabel"};else{const e=event?.target,o=e?.textContent;x=o&&"keyboard"!==t&&o===i||o===a?{type:"axisTitle",axis:o===i?"x":"y"}:{type:"background"}}return{context:x}}(o,t,u,s,n,r,i,a,e);return"keyboard"===t&&"item"===d.type&&(c=r.current?.querySelector(`[data-oj-series-index="${d?.seriesIndex}"][data-oj-group-index="${d?.groupIndex}"]`)),{context:d,elem:c}},contextMenuOptions:{isDisabled:!u},rootRef:r,contextMenuConfig:u,onContextMenuDismissed:c});return{contextMenuContent:x,contextMenuProps:d}}}));
|
|
2
2
|
//# sourceMappingURL=useChartContextMenu-673e3de0.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(['exports', './useDatatip-
|
|
2
|
-
//# sourceMappingURL=useChartDatatip-
|
|
1
|
+
define(['exports', './useDatatip-748e233f', './util-5bb1f200', 'preact/jsx-runtime', './VisTabularDatatip-55bbd19f', './colorUtils-a785c4c4', './accUtils-1557920a', './useUser-3ef25571'], (function(e,s,t,r,i,a,o,n){"use strict";function u(e,s,t,r,i,a,o){const n=e.value,u=r?.value?.format?r?.value?.format?.(n):o?.(n),l=[];return 0!=r?.series?.isDisplayed&&l.push({key:r?.series?.label||"Series",value:s}),0!=r?.group?.isDisplayed&&l.push({key:r?.group?.label||(i?"Date":"Group"),value:i?a?.(new Date(t).getTime()):t}),0!=r?.value?.isDisplayed&&l.push({key:r?.value?.label||"Value",value:u}),l}e.useChartDatatip=({isDataCursorEnabled:e,dataCursorPosition:o,isHoriz:l,datatip:d,xScale:p,getDataItem:x,getDataItemPos:c,hoveredItemInfo:m,focusedItemInfo:f,series:I,valueFormats:g,groups:b,width:v,height:y,findNearest:A,timeAxisType:C,touchResponse:D,isDisabled:h,formatAxisLabel:T,formatYValue:V})=>{let k=h?void 0:f?.isCurrent?f:m?.isCurrent&&void 0!==m.seriesIndex&&void 0!==m.groupIndex?m:void 0;const F=f?.isCurrent||e?"element":"pointer",P=f?.isCurrent?c(f.seriesIndex,f.groupIndex):void 0,{direction:U}=n.useUser(),L="rtl"===U;let R,S,Y="top-start",j=t.calculateOffset(L,v,P);if(e&&null!=o?.x&&null!=o?.y){k=k||A?.(o.x,o.y);const e=p.transform(o.x);j={mainAxis:-1,crossAxis:-1},l?(Y="end",j.mainAxis=-10,j.crossAxis=e-y/2):(Y="top",j.crossAxis=L?v/2-e:e-v/2,j.mainAxis=-10)}if(null!=k?.seriesIndex&&null!=k?.groupIndex){S=x(k.seriesIndex,k.groupIndex);const e=S?{data:S,seriesIndex:k.seriesIndex,groupIndex:k.groupIndex,id:S.id}:void 0;if(e){R=(d||function(e){const s="mixedFrequency"===e.timeAxisType,t="enabled"===e.timeAxisType||"skipGaps"===e.timeAxisType;return a=>{const o=e.groups.name||e.groups.id,n=s?a.data.x:t?o:void 0;return{content:r.jsx(i.VisTabularDatatip,{tableData:u(a.data,e.series.name||e.series.id.toString(),n||e.groups.name||e.groups.id,e.valueFormats,null!=e.timeAxisType,e.formatAxisLabel,e.formatYValue)}),borderColor:a.data.color||e.series.color}}}({series:I[k.seriesIndex],groups:b[k.groupIndex],valueFormats:g,timeAxisType:C,formatAxisLabel:T,formatYValue:V}))(e)}}const w=a.getColorRamp(),G=R?.borderColor||k&&(I[k.seriesIndex].color||I[k.seriesIndex].lineColor||I[k.seriesIndex].areaColor)||k&&w[k.seriesIndex%w.length],{datatipContent:q,datatipProps:z}=s.useDatatip({content:R?.content,anchor:F,placement:Y,offset:j,borderColor:G,touchResponse:D});return{datatipContent:q,datatipProps:z}}}));
|
|
2
|
+
//# sourceMappingURL=useChartDatatip-04fa72c7.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useChartDatatip-c702890c.js","sources":["../../src/utils/PRIVATE_chartUtils/dataTipUtils.tsx","../../src/hooks/PRIVATE_useChartDatatip/useChartDatatip.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ChartItemData, ChartSeriesData, ValueFormats, Group } from '../UNSAFE_visTypes/chart';\nimport { VisTabularDatatip } from '../../PRIVATE_VisTabularDatatip';\nimport { TableRowData } from '../../PRIVATE_VisTabularDatatip';\n\n/**\n * Returns the data required for the VisTabularDatatip to render.\n * @param activeInfo active item info.\n * @param series The array of chart series.\n * @param groups The array of chart groups.\n * @param valueFormats The array of chart series.\n * @param getDataItem function which returns chartItem\n */\nexport function getChartTabularData<K, D extends ChartItemData<K>>(\n data: D,\n seriesValue: string,\n groupValue: string,\n valueFormats?: ValueFormats,\n isTimeAxis?: boolean,\n formatAxisLabel?: (axisValue: number) => string,\n formatYValue?: (value: number) => string\n) {\n //TODO: Use translation strings\n const value = data.value;\n const itemValue = valueFormats?.value?.format\n ? valueFormats?.value?.format?.(value)\n : formatYValue?.(value)!;\n const tableData: TableRowData[] = [];\n\n if (valueFormats?.series?.isDisplayed != false) {\n tableData.push({\n key: valueFormats?.series?.label || 'Series',\n value: seriesValue\n });\n }\n if (valueFormats?.group?.isDisplayed != false) {\n tableData.push({\n key: valueFormats?.group?.label || (isTimeAxis ? 'Date' : 'Group'),\n value: isTimeAxis ? formatAxisLabel?.(new Date(groupValue).getTime())! : groupValue\n });\n }\n if (valueFormats?.value?.isDisplayed != false) {\n tableData.push({\n key: valueFormats?.value?.label || 'Value',\n value: itemValue\n });\n }\n return tableData;\n}\n\nexport function getDefaultDatatipRenderer<\n K extends string | number,\n D extends ChartItemData<K>\n>(options: {\n series: ChartSeriesData<K, D>;\n groups: Group;\n valueFormats?: ValueFormats;\n timeAxisType?: 'mixedFrequency' | 'enabled' | 'skipGaps';\n formatAxisLabel?: (axisValue: number) => string;\n formatYValue?: (value: number) => string;\n}) {\n const isMixedFrequency = options.timeAxisType === 'mixedFrequency';\n const isRegularTimeAxis =\n options.timeAxisType === 'enabled' || options.timeAxisType === 'skipGaps';\n\n return (context: { data: D }) => {\n const groupValue = options.groups.name || options.groups.id;\n const timeValue = isMixedFrequency\n ? context.data.x\n : isRegularTimeAxis\n ? groupValue\n : undefined;\n return {\n content: (\n <VisTabularDatatip\n tableData={getChartTabularData<K, D>(\n context.data,\n options.series.name || options.series.id.toString(),\n timeValue || options.groups.name || options.groups.id,\n options.valueFormats,\n options.timeAxisType != null,\n options.formatAxisLabel,\n options.formatYValue\n )}\n />\n ),\n borderColor: context.data.color || options.series.color\n };\n };\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { ComponentChildren } from 'preact';\nimport { calculateOffset, useDatatip } from '../PRIVATE_useDatatip';\nimport {\n DataCursorPosition,\n Group,\n ChartItemData,\n Info,\n Scale,\n ValueFormats\n} from '../../utils/UNSAFE_visTypes/chart';\nimport { BarSeriesData } from '../../UNSAFE_BarChart/barChart.types';\nimport { Dimension } from '../../utils/UNSAFE_visTypes/common';\nimport { getDefaultDatatipRenderer } from '../../utils/PRIVATE_chartUtils/dataTipUtils';\nimport { LineAreaSeriesData } from '../../UNSAFE_LineAreaChart/lineAreaChart.types';\nimport { getColorRamp } from '../../utils/UNSAFE_visUtils';\nimport { Placement } from '../../UNSAFE_Floating';\nimport { useUser } from '../../hooks/UNSAFE_useUser';\nimport { Property } from 'csstype';\n\ntype Props<K extends string | number, D extends ChartItemData<K>> = {\n series: (BarSeriesData<K, D> | LineAreaSeriesData<K, D>)[];\n groups: Group[];\n isDataCursorEnabled?: boolean;\n dataCursorPosition?: DataCursorPosition;\n isHoriz: boolean;\n getDataItemPos: (seriesIndex: number, groupIndex: number) => Dimension | undefined;\n datatip?: (context: { data: D; seriesIndex: number; groupIndex: number; id: K }) => {\n content: ComponentChildren;\n borderColor?: Property.BorderColor;\n };\n xScale: Scale;\n getDataItem: (seriesIndex: number, groupIndex: number) => D | undefined;\n hoveredItemInfo?: Info;\n focusedItemInfo?: Info;\n width: number;\n height: number;\n valueFormats?: ValueFormats;\n findNearest: (x: number, y: number) => any;\n timeAxisType?: 'mixedFrequency' | 'skipGaps' | 'enabled';\n touchResponse: 'touchStart' | 'touchHold';\n isDisabled: boolean;\n formatAxisLabel?: (axisValue: number) => string;\n formatYValue?: (value: number) => string;\n};\nconst DATA_CURSOR_OFFSET = 10;\n\nexport const useChartDatatip = <K extends string | number, D extends ChartItemData<K>>({\n isDataCursorEnabled,\n dataCursorPosition,\n isHoriz,\n datatip,\n xScale,\n getDataItem,\n getDataItemPos,\n hoveredItemInfo,\n focusedItemInfo,\n series,\n valueFormats,\n groups,\n width,\n height,\n findNearest,\n timeAxisType,\n touchResponse,\n isDisabled,\n formatAxisLabel,\n formatYValue\n}: Props<K, D>) => {\n let activeInfo = !isDisabled\n ? focusedItemInfo?.isCurrent\n ? focusedItemInfo\n : hoveredItemInfo?.isCurrent &&\n hoveredItemInfo.seriesIndex !== undefined &&\n hoveredItemInfo.groupIndex !== undefined\n ? hoveredItemInfo\n : undefined\n : undefined;\n\n const anchor = focusedItemInfo?.isCurrent || isDataCursorEnabled ? 'element' : 'pointer';\n const elementBounds = focusedItemInfo?.isCurrent\n ? getDataItemPos(focusedItemInfo.seriesIndex!, focusedItemInfo.groupIndex!)\n : undefined;\n\n const { direction } = useUser();\n const isRtl = direction === 'rtl';\n\n let placement = 'top-start' as Placement;\n let offset = calculateOffset(isRtl, width, elementBounds);\n if (isDataCursorEnabled && dataCursorPosition?.x != null && dataCursorPosition?.y != null) {\n // TOD0: The offset for data cursor should be calculated according to\n // datatip content dimensions as well.\n activeInfo = activeInfo || findNearest?.(dataCursorPosition.x, dataCursorPosition.y);\n const xPos = xScale.transform(dataCursorPosition.x);\n offset = { mainAxis: -1, crossAxis: -1 };\n if (isHoriz) {\n placement = 'end';\n offset.mainAxis = -1 * DATA_CURSOR_OFFSET;\n offset.crossAxis = xPos - height / 2;\n } else {\n placement = 'top';\n offset.crossAxis = isRtl ? width / 2 - xPos : xPos - width / 2;\n offset.mainAxis = -1 * DATA_CURSOR_OFFSET;\n }\n }\n\n let dtContent;\n let item: D | undefined;\n if (activeInfo?.seriesIndex != null && activeInfo?.groupIndex != null) {\n item = getDataItem(activeInfo.seriesIndex, activeInfo.groupIndex!);\n const datatipContext = item\n ? {\n data: item,\n seriesIndex: activeInfo.seriesIndex,\n groupIndex: activeInfo.groupIndex,\n id: item.id\n }\n : undefined;\n\n if (datatipContext) {\n const datatipRenderer =\n datatip ||\n getDefaultDatatipRenderer({\n series: series[activeInfo.seriesIndex],\n groups: groups[activeInfo.groupIndex],\n valueFormats,\n timeAxisType,\n formatAxisLabel,\n formatYValue\n });\n dtContent = datatipRenderer(datatipContext);\n }\n }\n const colors = getColorRamp();\n const borderColor =\n dtContent?.borderColor ||\n (activeInfo &&\n ((series[activeInfo.seriesIndex!] as BarSeriesData<K, D>).color ||\n (series[activeInfo.seriesIndex!] as LineAreaSeriesData<K, D>).lineColor ||\n (series[activeInfo.seriesIndex!] as LineAreaSeriesData<K, D>).areaColor)) ||\n (activeInfo && colors[activeInfo.seriesIndex! % colors.length]);\n\n const { datatipContent, datatipProps } = useDatatip({\n content: dtContent?.content,\n anchor,\n placement,\n offset,\n borderColor,\n touchResponse\n });\n\n return { datatipContent, datatipProps };\n};\n"],"names":["getChartTabularData","data","seriesValue","groupValue","valueFormats","isTimeAxis","formatAxisLabel","formatYValue","value","itemValue","format","tableData","series","isDisplayed","push","key","label","group","Date","getTime","isDataCursorEnabled","dataCursorPosition","isHoriz","datatip","xScale","getDataItem","getDataItemPos","hoveredItemInfo","focusedItemInfo","groups","width","height","findNearest","timeAxisType","touchResponse","isDisabled","activeInfo","undefined","isCurrent","seriesIndex","groupIndex","anchor","elementBounds","direction","useUser","isRtl","dtContent","item","placement","offset","calculateOffset","x","y","xPos","transform","mainAxis","crossAxis","datatipContext","id","options","isMixedFrequency","isRegularTimeAxis","context","name","timeValue","content","_jsx","jsx","VisTabularDatatip","toString","borderColor","color","getDefaultDatatipRenderer","colors","getColorRamp","lineColor","areaColor","length","datatipContent","datatipProps","useDatatip"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"useChartDatatip-04fa72c7.js","sources":["../../src/utils/PRIVATE_chartUtils/dataTipUtils.tsx","../../src/hooks/PRIVATE_useChartDatatip/useChartDatatip.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ChartItemData, ChartSeriesData, ValueFormats, Group } from '../UNSAFE_visTypes/chart';\nimport { VisTabularDatatip } from '../../PRIVATE_VisTabularDatatip';\nimport { TableRowData } from '../../PRIVATE_VisTabularDatatip';\n\n/**\n * Returns the data required for the VisTabularDatatip to render.\n * @param activeInfo active item info.\n * @param series The array of chart series.\n * @param groups The array of chart groups.\n * @param valueFormats The array of chart series.\n * @param getDataItem function which returns chartItem\n */\nexport function getChartTabularData<K, D extends ChartItemData<K>>(\n data: D,\n seriesValue: string,\n groupValue: string,\n valueFormats?: ValueFormats,\n isTimeAxis?: boolean,\n formatAxisLabel?: (axisValue: number) => string,\n formatYValue?: (value: number) => string\n) {\n //TODO: Use translation strings\n const value = data.value;\n const itemValue = valueFormats?.value?.format\n ? valueFormats?.value?.format?.(value)\n : formatYValue?.(value)!;\n const tableData: TableRowData[] = [];\n\n if (valueFormats?.series?.isDisplayed != false) {\n tableData.push({\n key: valueFormats?.series?.label || 'Series',\n value: seriesValue\n });\n }\n if (valueFormats?.group?.isDisplayed != false) {\n tableData.push({\n key: valueFormats?.group?.label || (isTimeAxis ? 'Date' : 'Group'),\n value: isTimeAxis ? formatAxisLabel?.(new Date(groupValue).getTime())! : groupValue\n });\n }\n if (valueFormats?.value?.isDisplayed != false) {\n tableData.push({\n key: valueFormats?.value?.label || 'Value',\n value: itemValue\n });\n }\n return tableData;\n}\n\nexport function getDefaultDatatipRenderer<\n K extends string | number,\n D extends ChartItemData<K>\n>(options: {\n series: ChartSeriesData<K, D>;\n groups: Group;\n valueFormats?: ValueFormats;\n timeAxisType?: 'mixedFrequency' | 'enabled' | 'skipGaps';\n formatAxisLabel?: (axisValue: number) => string;\n formatYValue?: (value: number) => string;\n}) {\n const isMixedFrequency = options.timeAxisType === 'mixedFrequency';\n const isRegularTimeAxis =\n options.timeAxisType === 'enabled' || options.timeAxisType === 'skipGaps';\n\n return (context: { data: D }) => {\n const groupValue = options.groups.name || options.groups.id;\n const timeValue = isMixedFrequency\n ? context.data.x\n : isRegularTimeAxis\n ? groupValue\n : undefined;\n return {\n content: (\n <VisTabularDatatip\n tableData={getChartTabularData<K, D>(\n context.data,\n options.series.name || options.series.id.toString(),\n timeValue || options.groups.name || options.groups.id,\n options.valueFormats,\n options.timeAxisType != null,\n options.formatAxisLabel,\n options.formatYValue\n )}\n />\n ),\n borderColor: context.data.color || options.series.color\n };\n };\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { ComponentChildren } from 'preact';\nimport { calculateOffset, useDatatip } from '../PRIVATE_useDatatip';\nimport {\n DataCursorPosition,\n Group,\n ChartItemData,\n Info,\n Scale,\n ValueFormats\n} from '../../utils/UNSAFE_visTypes/chart';\nimport { BarSeriesData } from '../../UNSAFE_BarChart/barChart.types';\nimport { Dimension } from '../../utils/UNSAFE_visTypes/common';\nimport { getDefaultDatatipRenderer } from '../../utils/PRIVATE_chartUtils/dataTipUtils';\nimport { LineAreaSeriesData } from '../../UNSAFE_LineAreaChart/lineAreaChart.types';\nimport { getColorRamp } from '../../utils/UNSAFE_visUtils';\nimport { Placement } from '../../UNSAFE_Floating';\nimport { useUser } from '../../hooks/UNSAFE_useUser';\nimport { Property } from 'csstype';\n\ntype Props<K extends string | number, D extends ChartItemData<K>> = {\n series: (BarSeriesData<K, D> | LineAreaSeriesData<K, D>)[];\n groups: Group[];\n isDataCursorEnabled?: boolean;\n dataCursorPosition?: DataCursorPosition;\n isHoriz: boolean;\n getDataItemPos: (seriesIndex: number, groupIndex: number) => Dimension | undefined;\n datatip?: (context: { data: D; seriesIndex: number; groupIndex: number; id: K }) => {\n content: ComponentChildren;\n borderColor?: Property.BorderColor;\n };\n xScale: Scale;\n getDataItem: (seriesIndex: number, groupIndex: number) => D | undefined;\n hoveredItemInfo?: Info;\n focusedItemInfo?: Info;\n width: number;\n height: number;\n valueFormats?: ValueFormats;\n findNearest: (x: number, y: number) => any;\n timeAxisType?: 'mixedFrequency' | 'skipGaps' | 'enabled';\n touchResponse: 'touchStart' | 'touchHold';\n isDisabled: boolean;\n formatAxisLabel?: (axisValue: number) => string;\n formatYValue?: (value: number) => string;\n};\nconst DATA_CURSOR_OFFSET = 10;\n\nexport const useChartDatatip = <K extends string | number, D extends ChartItemData<K>>({\n isDataCursorEnabled,\n dataCursorPosition,\n isHoriz,\n datatip,\n xScale,\n getDataItem,\n getDataItemPos,\n hoveredItemInfo,\n focusedItemInfo,\n series,\n valueFormats,\n groups,\n width,\n height,\n findNearest,\n timeAxisType,\n touchResponse,\n isDisabled,\n formatAxisLabel,\n formatYValue\n}: Props<K, D>) => {\n let activeInfo = !isDisabled\n ? focusedItemInfo?.isCurrent\n ? focusedItemInfo\n : hoveredItemInfo?.isCurrent &&\n hoveredItemInfo.seriesIndex !== undefined &&\n hoveredItemInfo.groupIndex !== undefined\n ? hoveredItemInfo\n : undefined\n : undefined;\n\n const anchor = focusedItemInfo?.isCurrent || isDataCursorEnabled ? 'element' : 'pointer';\n const elementBounds = focusedItemInfo?.isCurrent\n ? getDataItemPos(focusedItemInfo.seriesIndex!, focusedItemInfo.groupIndex!)\n : undefined;\n\n const { direction } = useUser();\n const isRtl = direction === 'rtl';\n\n let placement = 'top-start' as Placement;\n let offset = calculateOffset(isRtl, width, elementBounds);\n if (isDataCursorEnabled && dataCursorPosition?.x != null && dataCursorPosition?.y != null) {\n // TOD0: The offset for data cursor should be calculated according to\n // datatip content dimensions as well.\n activeInfo = activeInfo || findNearest?.(dataCursorPosition.x, dataCursorPosition.y);\n const xPos = xScale.transform(dataCursorPosition.x);\n offset = { mainAxis: -1, crossAxis: -1 };\n if (isHoriz) {\n placement = 'end';\n offset.mainAxis = -1 * DATA_CURSOR_OFFSET;\n offset.crossAxis = xPos - height / 2;\n } else {\n placement = 'top';\n offset.crossAxis = isRtl ? width / 2 - xPos : xPos - width / 2;\n offset.mainAxis = -1 * DATA_CURSOR_OFFSET;\n }\n }\n\n let dtContent;\n let item: D | undefined;\n if (activeInfo?.seriesIndex != null && activeInfo?.groupIndex != null) {\n item = getDataItem(activeInfo.seriesIndex, activeInfo.groupIndex!);\n const datatipContext = item\n ? {\n data: item,\n seriesIndex: activeInfo.seriesIndex,\n groupIndex: activeInfo.groupIndex,\n id: item.id\n }\n : undefined;\n\n if (datatipContext) {\n const datatipRenderer =\n datatip ||\n getDefaultDatatipRenderer({\n series: series[activeInfo.seriesIndex],\n groups: groups[activeInfo.groupIndex],\n valueFormats,\n timeAxisType,\n formatAxisLabel,\n formatYValue\n });\n dtContent = datatipRenderer(datatipContext);\n }\n }\n const colors = getColorRamp();\n const borderColor =\n dtContent?.borderColor ||\n (activeInfo &&\n ((series[activeInfo.seriesIndex!] as BarSeriesData<K, D>).color ||\n (series[activeInfo.seriesIndex!] as LineAreaSeriesData<K, D>).lineColor ||\n (series[activeInfo.seriesIndex!] as LineAreaSeriesData<K, D>).areaColor)) ||\n (activeInfo && colors[activeInfo.seriesIndex! % colors.length]);\n\n const { datatipContent, datatipProps } = useDatatip({\n content: dtContent?.content,\n anchor,\n placement,\n offset,\n borderColor,\n touchResponse\n });\n\n return { datatipContent, datatipProps };\n};\n"],"names":["getChartTabularData","data","seriesValue","groupValue","valueFormats","isTimeAxis","formatAxisLabel","formatYValue","value","itemValue","format","tableData","series","isDisplayed","push","key","label","group","Date","getTime","isDataCursorEnabled","dataCursorPosition","isHoriz","datatip","xScale","getDataItem","getDataItemPos","hoveredItemInfo","focusedItemInfo","groups","width","height","findNearest","timeAxisType","touchResponse","isDisabled","activeInfo","undefined","isCurrent","seriesIndex","groupIndex","anchor","elementBounds","direction","useUser","isRtl","dtContent","item","placement","offset","calculateOffset","x","y","xPos","transform","mainAxis","crossAxis","datatipContext","id","options","isMixedFrequency","isRegularTimeAxis","context","name","timeValue","content","_jsx","jsx","VisTabularDatatip","toString","borderColor","color","getDefaultDatatipRenderer","colors","getColorRamp","lineColor","areaColor","length","datatipContent","datatipProps","useDatatip"],"mappings":"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"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', 'preact/hooks', './clientUtils-95c1280f', './Button-f502d996', './Move-b0566170', './hooks/PRIVATE_useChartMarquee/themes/useChartMarquee.css', './useTranslationBundle-
|
|
1
|
+
define(['exports', 'preact/jsx-runtime', 'preact/hooks', './clientUtils-95c1280f', './Button-f502d996', './Move-b0566170', './hooks/PRIVATE_useChartMarquee/themes/useChartMarquee.css', './useTranslationBundle-d07d4b20', './ZoomAlt-d9ed2f3a', './ButtonSetSingle-9f767e83', './ButtonSetItem-ba9ebe68', './IconToggleButton-28960894'], (function(e,t,o,n,r,i,s,a,u,c,l,d){"use strict";function x(e,t){return"zoom"===e||"select"===e?"crosshair":"pan"===e?t?"grabbing":"grab":void 0}function h({position:e,divRef:o,dragMode:n,onDragModeChange:x,showZoomButton:h,showPanButton:g,showSelectButton:f}){const{right:v,left:m,top:M,bottom:p}=e,S=g&&!f&&!h||!g&&!f&&h||!g&&f&&!h,y=a.useTranslationBundle("@oracle/oraclejet-preact"),B=y.vis_marqueeZoomTooltip(),b=y.vis_panTooltip(),j=y.vis_marqueeSelectTooltip();return h||g||f?t.jsx("div",{ref:o,class:s.styles.background,style:{right:v,left:m,top:M,bottom:p},children:S?t.jsxs(t.Fragment,{children:[g&&t.jsx(d.IconToggleButton,{accessibleLabel:b,isSelected:"pan"===n,onToggle:()=>{x("pan"===n?void 0:"pan")},variant:"outlined",size:"sm",children:t.jsx(i.SvgMove,{})}),h&&t.jsx(d.IconToggleButton,{accessibleLabel:B,isSelected:"zoom"===n,onToggle:()=>{x("zoom"===n?void 0:"zoom")},variant:"outlined",size:"sm",children:t.jsx(u.SvgZoomAlt,{})}),f&&t.jsx(d.IconToggleButton,{accessibleLabel:j,isSelected:"select"===n,onToggle:()=>{x("select"===n?void 0:"select")},variant:"outlined",size:"sm",children:t.jsx(r.SvgButton,{})})]}):t.jsxs(c.ButtonSetSingle,{size:"sm",value:n,onCommit:({value:e})=>{x(e===n?void 0:e)},display:"icons",variant:"outlined",children:[g&&t.jsx(l.ButtonSetItem,{value:"pan",label:b,startIcon:t.jsx(i.SvgMove,{})}),h&&t.jsx(l.ButtonSetItem,{value:"zoom",label:B,startIcon:t.jsx(u.SvgZoomAlt,{})}),f&&t.jsx(l.ButtonSetItem,{value:"select",label:j,startIcon:t.jsx(r.SvgButton,{})})]})}):null}function g({x1:e,y1:o,width:n,height:r}){return t.jsxs(t.Fragment,{children:[t.jsx("rect",{x:e,y:o,width:n,height:r,class:s.styles.visMarquee}),t.jsx("rect",{x:e+1,y:o+1,width:Math.max(0,n-2),height:Math.max(0,r-2),class:s.styles.visMarqueeInnerArea})]})}e.useChartMarquee=function({plotAreaSpace:e,dragMode:r,chartWidth:i,isMultiSelection:s,onViewportChange:a,isZoomScroll:u,xAxisExtent:c,xScale:l,selectedIds:d,getDataById:f,onSelectionChange:v,viewportMax:m,viewportMin:M,isRtl:p}){const S=o.useRef(!1),y=o.useRef(0),B=o.useRef(),{dragButtonDivRef:b,toggleButtonContent:j,userDragMode:w}=function({chartWidth:e,plotAreaSpace:r,isRtl:i,isZoomScroll:s,isMultiSelection:a,dragMode:u}){const c=n.isMobile(),l=o.useRef(null),d=function(e,t,o){return!(!o||!e)&&"select"!==t&&"off"!==t}(s,u,c),x=function(e,t,o){return!(t||!e)&&"user"===o}(s,c,u),g=function(e,t,o,n){return!(!t||!e&&!o&&t||!e&&"user"!==n)}(c,a,s,u),[f,v]=o.useState(c&&s?"pan":void 0);return{dragButtonDivRef:l,toggleButtonContent:t.jsx(h,{position:{top:`${r.y}px`,right:i?void 0:e-r.x-r.width+"px",left:i?`${r.x}px`:void 0},divRef:l,showSelectButton:g,showZoomButton:x,showPanButton:d,dragMode:f,onDragModeChange:v}),userDragMode:f}}({chartWidth:i,plotAreaSpace:e,isRtl:p,isZoomScroll:u,isMultiSelection:s,dragMode:r}),[I,T]=o.useState(!1),[C,R]=o.useState(),z=o.useRef(new Set),P=n.isMobile(),q=function(e,t,o,n){return!t&&"select"===n||!e&&"zoom"===n||"off"===n?"off":"user"===n?o?e?"pan":t?"select":"off":!e&&t?o?"select":"off":e||t?"pan":"off":n}(u,s,P,r),A="user"===r&&w?w:q,D=function(e,t,o){if(t&&o){const n=Math.min(t.x,o.x),r=Math.max(t.x,o.x),i=Math.min(t.y,o.y),s=Math.max(t.y,o.y);return{x1:n,y1:i,width:Math.abs(r-n),height:Math.abs(s-i),x2:r,y2:s,delta:o.x-t.x,axisDelta:e.invert(o.x)-e.invert(t.x)}}}(l,B.current,C);let Z;const E="select"===A&&D?(e,t)=>{if(B.current?.isMeta&&d?.has(e))return!0;const{x1:o,x2:n,y1:r,y2:i}=D,{x:s,y:a}=t;return s<=n&&s>=o&&a<=i&&a>=r?(z.current?.add(e),!0):(z.current?.delete(e),!1)}:void 0;return!D||"zoom"!==A&&"select"!==A||(Z=t.jsx(g,{...D})),{cursor:x(A,I),marqueeContent:Z,toggleButtonContent:!I&&(!P&&S.current||P)&&j,isPointInsideMarquee:E,dragMode:A,marqueeProps:"off"!=r?{onPointerDown:t=>{if(b.current?.contains(t.target))return;const o=t.offsetX,n=t.offsetY;T(!0),o<e.x||o>e.x+e.width||n<e.y||n>e.y+e.height||(B.current={x:o,y:n})},onPointerMove:t=>{if(!I)return;t.metaKey&&B.current&&(B.current.isMeta=!0);const o=t.offsetX,n=t.offsetY;if(!(o<e.x||o>e.x+e.width||n<e.y||n>e.y+e.height)){if("pan"===A&&a&&(!P||P&&1===y.current)){const e=l.invert(o)-l.invert(C?.x||B.current?.x),t=m-M;let n=M-e,r=m-e;n<c.min&&(n=c.min,r=n+t),r>c.max&&(r=c.max,n=r-t),n!=M&&r!=m&&a({xMin:n,xMax:r})}R({x:o,y:n})}},onPointerUp:e=>{if(T(!1),R(void 0),B.current=void 0,b.current?.contains(e.target))return;if(!D)return;const{x1:t,x2:o}=D;if("zoom"===A){const e=Math.min(l.invert(t),l.invert(o)),n=Math.max(l.invert(t),l.invert(o));a?.({xMin:e,xMax:n})}if("select"===A){const t=[...new Set([...z.current,...e.metaKey&&d||new Set])],o=t.map((e=>f(e)));v?.({ids:t,data:o}),z.current=new Set}},onPointerLeave:e=>{S.current=!1,D&&P&&"off"!=A&&e.currentTarget.setPointerCapture(e.pointerId)},onPointerEnter:()=>{S.current=!0},onTouchEnd:e=>{T(!1),R(void 0),B.current=void 0,y.current=e.touches.length},onTouchStart:e=>{y.current=e.touches.length}}:{}}}}));
|
|
2
2
|
//# sourceMappingURL=useChartMarquee-62e7676c.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(['exports', 'preact/hooks', './LayerHost-
|
|
2
|
-
//# sourceMappingURL=useColorScheme-
|
|
1
|
+
define(['exports', 'preact/hooks', './LayerHost-639b3284', 'preact/jsx-runtime', 'preact/compat'], (function(e,t,o,n,r){"use strict";e.useColorScheme=function(){return t.useContext(o.EnvironmentContext).colorScheme}}));
|
|
2
|
+
//# sourceMappingURL=useColorScheme-443e7cc7.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useColorScheme-
|
|
1
|
+
{"version":3,"file":"useColorScheme-443e7cc7.js","sources":["../../src/hooks/UNSAFE_useColorScheme/useColorScheme.ts"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { useContext } from 'preact/hooks';\nimport { EnvironmentContext } from '../../UNSAFE_Environment';\n\nexport function useColorScheme() {\n return useContext(EnvironmentContext).colorScheme;\n}\n"],"names":["useContext","EnvironmentContext","colorScheme"],"mappings":"4JAWE,OAAOA,EAAUA,WAACC,sBAAoBC,WACxC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', 'preact/hooks', './Menu-
|
|
1
|
+
define(['exports', 'preact/jsx-runtime', 'preact/hooks', './Menu-e682ccb9', './MenuItem-44b2547b', 'preact', './logger-0f873e29', './LayerHost-639b3284', 'preact/compat', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-79293e46', 'css!./IconStyle.styles.css', './SelectMenuGroupContext-67f24a8f', './UNSAFE_Separator/themes/SeparatorStyles.css', 'css!./MenuSeparatorStyles.styles.css', 'module', './UNSAFE_Menu/themes/redwood/MenuSeparatorVariants.css', './useContextMenuGesture-a2ad99c1'], (function(e,t,o,s,n,r,u,c,a,i,l,p,m,f,M,x,d,C,S,h){"use strict";const b={isOpen:!1,initialFocus:"menu",placement:"bottom-start",offsetValue:0,anchorRef:{current:null}};function g({contextMenuConfig:e,contextMenuContext:n,rootRef:r,setMenuProps:u,onContextMenuDismissed:c,gestureRef:a,...i}){const l=o.useCallback((e=>{"dismissed"!==e.reason&&"itemAction"!==e.reason||(r.current?.focus({preventScroll:!0}),c?.(a.current)),u(b)}),[r,a,u,c]);return t.jsx(s.Menu,{...i,onClose:l,"aria-label":e.accessibleLabel,children:i.isOpen&&e.itemsRenderer(n)})}const y={mouse:{initialFocus:"menu",placement:"bottom-start",offsetValue:0},keyboard:{initialFocus:"firstItem",placement:"bottom-start",offsetValue:0},touch:{initialFocus:"menu",placement:"end",offsetValue:30}};e.ContextMenu=g,e.useContextMenu=function({onContextMenuHandler:e,contextMenuOptions:s,rootRef:n,contextMenuConfig:r,onContextMenuDismissed:u}){const[c,a]=o.useState(),[i,l]=o.useState(b),p=o.useRef(null),m=o.useCallback((({gesture:t,anchor:o,target:s})=>{p.current=t;const{context:n,elem:r}=e({gesture:t,target:s});a(n),l({...y[t],anchorRef:{current:r||o},isOpen:!0})}),[e]),f=r&&t.jsx(g,{...i,onContextMenuDismissed:u,gestureRef:p,setMenuProps:l,rootRef:n,contextMenuConfig:r,contextMenuContext:c}),{triggerProps:M}=h.useContextMenuGesture(m,{...s,isTouchHoldReleaseGesture:!0});return{contextMenuProps:M,contextMenuContent:f}}}));
|
|
2
2
|
//# sourceMappingURL=useContextMenu-57f18e97.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', 'preact/hooks', './useUser-
|
|
2
|
-
//# sourceMappingURL=useCssVars-
|
|
1
|
+
define(['exports', 'preact/jsx-runtime', 'preact/hooks', './useUser-3ef25571', './useTheme-a8334e06', './useColorScheme-443e7cc7', './useScale-e311d35f'], (function(e,s,r,t,o,c,n){"use strict";e.useCssVars=function(e){const u=r.useRef(null),[a,f]=r.useState({}),{forcedColors:l}=t.useUser(),{name:i}=o.useTheme(),d=n.useScale(),p=c.useColorScheme(),h=e.reduce(((e,s)=>(s.cssProp&&(e[s.cssProp]=s.tokenVar),e)),{}),m=s.jsx("div",{ref:u,style:{display:"none",...h}});return r.useLayoutEffect((()=>{if(!u.current)return;const s=window.getComputedStyle(u.current),r={};e.forEach((e=>{const t=e.cssProp||function(e){const s=e.match(/var\((--[a-zA-Z_0-9\-]+)\)/);return s&&s.length>1?s[1]:""}(e.tokenVar);r[e.key]=s.getPropertyValue(t)})),f(r)}),[l,i,p,d,e]),{resolvedVars:a,cssContent:m}}}));
|
|
2
|
+
//# sourceMappingURL=useCssVars-dc52806c.js.map
|