@oracle/oraclejet-preact 18.1.0 → 18.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/amd/ActionCard-e560d08b.js +1 -1
- package/amd/BarChart-c0ba5b12.js +1 -1
- package/amd/BarGroup-b02506a8.js +1 -1
- package/amd/BaseButton-c6563bf2.js +1 -1
- package/amd/BaseCardView-e75594df.js +1 -1
- package/amd/BaseCardViewSelectionTest-b3d54b34.js +2 -0
- package/amd/BaseCardViewSelectionTest-b3d54b34.js.map +1 -0
- package/amd/BaseNavigationListItem-f2b9ae77.js +2 -0
- package/amd/BaseNavigationListItem-f2b9ae77.js.map +1 -0
- package/amd/BaseRichSelection-65bb6f89.js +1 -1
- package/amd/ButtonSet-3459b0e6.js +1 -1
- package/amd/ButtonSetIconButton-5b13a4c9.js +1 -1
- package/amd/Card-8fd9b2c8.js +2 -0
- package/amd/Card-8fd9b2c8.js.map +1 -0
- package/amd/Center-567b111f.js +2 -0
- package/amd/Center-567b111f.js.map +1 -0
- package/amd/Chart-c3a5a93d.js +1 -1
- package/amd/CheckboxControl-f3a606fe.js +1 -1
- package/amd/CheckboxRadioField-48d4dc4e.js +1 -1
- package/amd/Chip-e007a488.js +1 -1
- package/amd/ClearIcon-d0412ffa.js +1 -1
- package/amd/CollapseIcon-6d62b080.js +1 -1
- package/amd/Collapsible-8608500c.js +1 -1
- package/amd/ComboChart-cec2713a.js +1 -1
- package/amd/CompactHelpSource-e5b889f6.js +1 -1
- package/amd/CompactLabelAssistance-cd404d92.js +2 -0
- package/amd/CompactLabelAssistance-cd404d92.js.map +1 -0
- package/amd/CompactUserAssistance-eb849bc5.js +1 -1
- package/amd/ComponentMessageContainer-8198785a.js +1 -1
- package/amd/ConveyorBeltItem-297444a1.js +1 -1
- package/amd/DatePicker-e0e728f9.js +2 -0
- package/amd/DatePicker-e0e728f9.js.map +1 -0
- package/amd/DatePickerHeader-1f419e06.js +1 -1
- package/amd/Diagram-eb0ab8fb.js +2 -0
- package/amd/Diagram-eb0ab8fb.js.map +1 -0
- package/amd/Dialog-cd6713a4.js +2 -0
- package/amd/Dialog-cd6713a4.js.map +1 -0
- package/amd/DirectionalCollapseArrowIcon-58352e0f.js +1 -1
- package/amd/DirectionalExpandArrowIcon-56420acb.js +1 -1
- package/amd/DragHandle-0798a29c.js +2 -0
- package/amd/DragHandle-0798a29c.js.map +1 -0
- package/amd/DrawerPopup-439787de.js +2 -0
- package/amd/DrawerPopup-439787de.js.map +1 -0
- package/amd/Dropdown-fb803c67.js +2 -0
- package/amd/Dropdown-fb803c67.js.map +1 -0
- package/amd/EnvironmentProvider-d423bca9.js +2 -0
- package/amd/EnvironmentProvider-d423bca9.js.map +1 -0
- package/amd/ExpandableList-81f7f34d.js +1 -1
- package/amd/FilePicker-e0b7a348.js +1 -1
- package/amd/Flex-a208520e.js +2 -0
- package/amd/Flex-a208520e.js.map +1 -0
- package/amd/Floating-043a207a.js +2 -0
- package/amd/Floating-043a207a.js.map +1 -0
- package/amd/FormLayout-d7998ba5.js +1 -1
- package/amd/Gantt-a286e1a6.js +1 -1
- package/amd/Grid-3dd364a1.js +2 -0
- package/amd/Grid-3dd364a1.js.map +1 -0
- package/amd/Gridlines-3c00961a.js +2 -0
- package/amd/Gridlines-3c00961a.js.map +1 -0
- package/amd/GroupLoadingIndicator-6c6743b0.js +1 -1
- package/amd/HighlightText-b3c31e12.js +2 -0
- package/amd/HighlightText-b3c31e12.js.map +1 -0
- package/amd/Icon-906e4e3c.js +1 -1
- package/amd/IconButton-c2e5c1c5.js +1 -1
- package/amd/IconMenuButton-caf797c1.js +1 -1
- package/amd/IconProgressButton-d8c0c306.js +1 -1
- package/amd/IconSwitchButton-e6c5b20f.js +1 -1
- package/amd/IconToggleButton-e6c77f31.js +1 -1
- package/amd/IconUserAssistance-456f4b11.js +2 -0
- package/amd/IconUserAssistance-456f4b11.js.map +1 -0
- package/amd/Indexer-21549baf.js +1 -1
- package/amd/InlineHelpSource-80327d99.js +1 -1
- package/amd/InlineUserAssistance-d208ce7b.js +1 -1
- package/amd/InputDateMask-4157ef60.js +1 -1
- package/amd/InputDatePicker-84b302ea.js +2 -0
- package/amd/InputDatePicker-84b302ea.js.map +1 -0
- package/amd/InputPassword-868ad3bb.js +1 -1
- package/amd/InputText-2cd1e067.js +1 -1
- package/amd/Label-a53aabb9.js +1 -1
- package/amd/LabelValueLayout-6da5829a.js +1 -1
- package/amd/Layer-2ca542c2.js +2 -0
- package/amd/Layer-2ca542c2.js.map +1 -0
- package/amd/LayerHost-a36b1781.js +2 -0
- package/amd/LayerHost-a36b1781.js.map +1 -0
- package/amd/LayerManager-543c0bce.js +2 -0
- package/amd/LayerManager-543c0bce.js.map +1 -0
- package/amd/Legend-75b03ff3.js +1 -1
- package/amd/LineAreaChart-a6914d16.js +2 -0
- package/amd/LineAreaChart-a6914d16.js.map +1 -0
- package/amd/LineSeries-9ddf061e.js +2 -0
- package/amd/LineSeries-9ddf061e.js.map +1 -0
- package/amd/Link-ded379d9.js +1 -1
- package/amd/List-5797be06.js +1 -1
- package/amd/ListItemLayout-853acaaf.js +2 -0
- package/amd/ListItemLayout-853acaaf.js.map +1 -0
- package/amd/ListView-51898222.js +1 -1
- package/amd/LiveRegion-38fa0df8.js +2 -0
- package/amd/LiveRegion-38fa0df8.js.map +1 -0
- package/amd/MaxLengthLiveRegion-40be44ee.js +2 -0
- package/amd/MaxLengthLiveRegion-40be44ee.js.map +1 -0
- package/amd/Menu-bdd771bf.js +1 -1
- package/amd/MenuButton-da59eed0.js +1 -1
- package/amd/MenuItem-dc85fcad.js +1 -1
- package/amd/Message-d34eaeb6.js +1 -1
- package/amd/MessageLayer-4d17f62f.js +2 -0
- package/amd/MessageLayer-4d17f62f.js.map +1 -0
- package/amd/MessageToast-39315d42.js +1 -1
- package/amd/MessagesManager-8af1b1ee.js +1 -1
- package/amd/MeterBar-10ec0c50.js +1 -1
- package/amd/MeterCircle-cce2cb51.js +1 -1
- package/amd/Modal-21aed044.js +2 -0
- package/amd/Modal-21aed044.js.map +1 -0
- package/amd/MonthView-d4c06203.js +2 -0
- package/amd/MonthView-d4c06203.js.map +1 -0
- package/amd/NavigationList-6ca9cfba.js +2 -0
- package/amd/NavigationList-6ca9cfba.js.map +1 -0
- package/amd/NavigationListItem-43b6130b.js +2 -0
- package/amd/NavigationListItem-43b6130b.js.map +1 -0
- package/amd/NumberInputText-66e2d7d1.js +1 -1
- package/amd/OverflowTabBar-127659f1.js +2 -0
- package/amd/OverflowTabBar-127659f1.js.map +1 -0
- package/amd/OverflowTabBarItem-5404d133.js +2 -0
- package/amd/OverflowTabBarItem-5404d133.js.map +1 -0
- 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/DragV.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_RichSelectionCommon.js +1 -1
- package/amd/PRIVATE_SelectCommon.js +1 -1
- package/amd/PRIVATE_StyledCard.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/DragHandleIcon.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/OverviewHorizontalDragHandleIcon.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/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_VisOverview.js +1 -1
- package/amd/PRIVATE_VisTabularDatatip.js +1 -1
- package/amd/PictoChart-952582dd.js +1 -1
- package/amd/PieChart-7826bf45.js +1 -1
- package/amd/Popup-92dfc51f.js +2 -0
- package/amd/Popup-92dfc51f.js.map +1 -0
- package/amd/ProgressBar-2087dde3.js +2 -0
- package/amd/ProgressBar-2087dde3.js.map +1 -0
- package/amd/ProgressButton-b830eead.js +1 -1
- package/amd/ProgressButtonLabelLayout-5404f190.js +1 -1
- package/amd/ProgressCircle-5709a095.js +2 -0
- package/amd/ProgressCircle-5709a095.js.map +1 -0
- package/amd/RadioItem-b159fce3.js +1 -1
- package/amd/RatingGauge-27c01e2c.js +1 -1
- package/amd/ReadonlyTextFieldInput-b8ee28da.js +1 -1
- package/amd/RemovableNavigationListItem-110f19ed.js +2 -0
- package/amd/RemovableNavigationListItem-110f19ed.js.map +1 -0
- package/amd/RemovableTabBarItem-3792c8fd.js +1 -1
- package/amd/ReorderableTabBar-d6720955.js +2 -0
- package/amd/ReorderableTabBar-d6720955.js.map +1 -0
- package/amd/RevealToggleIcon-e5bc966f.js +1 -1
- package/amd/ScatterChart-a7d49c89.js +2 -0
- package/amd/ScatterChart-a7d49c89.js.map +1 -0
- package/amd/SectionalLegend-e9c72ba8.js +1 -1
- package/amd/SectionedContent-5d5ff5b9.js +2 -0
- package/amd/SectionedContent-5d5ff5b9.js.map +1 -0
- package/amd/SelectMultiple-05de2e07.js +1 -1
- package/amd/SelectSingle-9e6bde58.js +1 -1
- package/amd/SelectionCard-977be789.js +2 -0
- package/amd/SelectionCard-977be789.js.map +1 -0
- package/amd/Selector-b67fe1ef.js +1 -1
- package/amd/SelectorAll-face9708.js +2 -0
- package/amd/SelectorAll-face9708.js.map +1 -0
- package/amd/Sheet-23307184.js +2 -0
- package/amd/Sheet-23307184.js.map +1 -0
- package/amd/SplitMenuButton-8d873373.js +1 -1
- package/amd/StyledCard-5c9cee13.js +2 -0
- package/amd/StyledCard-5c9cee13.js.map +1 -0
- package/amd/StyledLabelValueLayout-ddf48667.js +2 -0
- package/amd/StyledLabelValueLayout-ddf48667.js.map +1 -0
- package/amd/StyledTextField-3398bf94.js +1 -1
- package/amd/TabBar-3a35b525.js +2 -0
- package/amd/TabBar-3a35b525.js.map +1 -0
- package/amd/TabBarItem-04031938.js +1 -1
- package/amd/TabBarLayout-de1e43f5.js +1 -1
- package/amd/TabBarMixed-28b62328.js +2 -0
- package/amd/TabBarMixed-28b62328.js.map +1 -0
- package/amd/TabBarMixedSeparator-bd0668c3.js +2 -0
- package/amd/TabBarMixedSeparator-bd0668c3.js.map +1 -0
- package/amd/Table-d8edded4.js +1 -1
- package/amd/TagCloud-057fa603.js +1 -1
- package/amd/TextArea-8dcf6809.js +1 -1
- package/amd/TextAreaAutosize-97aba344.js +1 -1
- package/amd/TextField-80908a0d.js +1 -1
- package/amd/TextFieldInput-ca306ad6.js +1 -1
- package/amd/Theme-redwood/theme.css +249 -249
- package/amd/Theme-stable/theme.css +369 -369
- package/amd/TimeComponentCanvas2D-9a091053.js +1 -1
- package/amd/Toolbar-250d0ce7.js +1 -1
- package/amd/TruncatingBadge-6c7674e0.js +1 -1
- package/amd/TruncatingText-24914f42.js +1 -1
- package/amd/UNSAFE_ActionCard.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_Card.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_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_ComboChart.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_InputTimeMask.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.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.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_RichCheckboxSet.js +1 -1
- package/amd/UNSAFE_RichRadioSet.js +1 -1
- package/amd/UNSAFE_RichSelectionItem.js +1 -1
- package/amd/UNSAFE_ScatterChart.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-e15784b7.js +2 -0
- package/amd/View-e15784b7.js.map +1 -0
- package/amd/VisNoData-ac5880b9.js +2 -0
- package/amd/VisNoData-ac5880b9.js.map +1 -0
- package/amd/VisProgressiveLoader-01e7a1a8.js +2 -0
- package/amd/VisProgressiveLoader-01e7a1a8.js.map +1 -0
- package/amd/VisTabularDatatip-8e572ce2.js +2 -0
- package/amd/VisTabularDatatip-8e572ce2.js.map +1 -0
- package/amd/WindowOverlay-3d31f35a.js +2 -0
- package/amd/WindowOverlay-3d31f35a.js.map +1 -0
- package/amd/YearsGridView-f7ae554d.js +2 -0
- package/amd/YearsGridView-f7ae554d.js.map +1 -0
- 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_useTooltipOnTruncation.js +1 -1
- package/amd/hooks/PRIVATE_useVisContextMenu.js +1 -1
- package/amd/hooks/PRIVATE_useVisDragModeControls.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_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-191c944d.js +2 -0
- package/amd/index-191c944d.js.map +1 -0
- package/amd/listViewSelectionTests-338c9a81.js +1 -1
- package/amd/popupUtils-2308a848.js +2 -0
- package/amd/popupUtils-2308a848.js.map +1 -0
- package/amd/render-436a0489.js +2 -0
- package/amd/render-436a0489.js.map +1 -0
- package/amd/tabbableUtils-dcf7c977.js +2 -0
- package/amd/tabbableUtils-dcf7c977.js.map +1 -0
- package/amd/testData-69541e84.js +2 -0
- package/amd/testData-69541e84.js.map +1 -0
- package/amd/tooltipUtils-cf586837.js +2 -0
- package/amd/tooltipUtils-cf586837.js.map +1 -0
- package/amd/useCellNavigation-dcf1584f.js +1 -1
- package/amd/useChartContextMenu-79ff2c41.js +1 -1
- package/amd/useChartDatatip-f3574090.js +2 -0
- package/amd/useChartDatatip-f3574090.js.map +1 -0
- package/amd/useColorScheme-47c8be99.js +2 -0
- package/amd/useColorScheme-47c8be99.js.map +1 -0
- package/amd/useContextMenu-599ada89.js +1 -1
- package/amd/useCssVars-0b95ef7d.js +2 -0
- package/amd/useCssVars-0b95ef7d.js.map +1 -0
- package/amd/useCurrentBgColor-7e1d99fb.js +2 -0
- package/amd/useCurrentBgColor-7e1d99fb.js.map +1 -0
- package/amd/useCurrentKey-6e7057d0.js +2 -0
- package/amd/useCurrentKey-6e7057d0.js.map +1 -0
- package/amd/useDatatip-0c425460.js +2 -0
- package/amd/useDatatip-0c425460.js.map +1 -0
- package/amd/useDensity-5cfdc56a.js +2 -0
- package/amd/useDensity-5cfdc56a.js.map +1 -0
- package/amd/useFloating-3f7a017b.js +2 -0
- package/amd/useFloating-3f7a017b.js.map +1 -0
- package/amd/useKeyboardEvents-f1abb59c.js +2 -0
- package/amd/useKeyboardEvents-f1abb59c.js.map +1 -0
- package/amd/useLegendContextMenu-e050a6ec.js +1 -1
- package/amd/useMeterDatatip-d4ac4181.js +2 -0
- package/amd/useMeterDatatip-d4ac4181.js.map +1 -0
- package/amd/useNavigationListItem-d79484b7.js +2 -0
- package/amd/useNavigationListItem-d79484b7.js.map +1 -0
- package/amd/useOutsideClick-fc4dc457.js +2 -0
- package/amd/useOutsideClick-fc4dc457.js.map +1 -0
- package/amd/usePopupAnimation-b6303252.js +2 -0
- package/amd/usePopupAnimation-b6303252.js.map +1 -0
- package/amd/usePrefixSuffix-582e16a2.js +2 -0
- package/amd/usePrefixSuffix-582e16a2.js.map +1 -0
- package/amd/useReorderableItem-fd5a7b07.js +2 -0
- package/amd/useReorderableItem-fd5a7b07.js.map +1 -0
- package/amd/useRovingTabIndexContainer-f72b17ab.js +2 -0
- package/amd/useRovingTabIndexContainer-f72b17ab.js.map +1 -0
- package/amd/useScale-b2f29348.js +2 -0
- package/amd/useScale-b2f29348.js.map +1 -0
- package/amd/useSelectCommon-736de0ee.js +1 -1
- package/amd/useSelectDrill-6b0b6da7.js +2 -0
- package/amd/useSelectDrill-6b0b6da7.js.map +1 -0
- package/amd/useSelection-02c4c0c0.js +2 -0
- package/amd/useSelection-02c4c0c0.js.map +1 -0
- package/amd/useSelection-5128f1e7.js +2 -0
- package/amd/useSelection-5128f1e7.js.map +1 -0
- package/amd/useTabBar-b1536c9a.js +1 -1
- package/amd/useTestId-efb1c8f9.js +2 -0
- package/amd/useTestId-efb1c8f9.js.map +1 -0
- package/amd/useTheme-a99513fe.js +2 -0
- package/amd/useTheme-a99513fe.js.map +1 -0
- package/amd/useThemeInterpolations-93c8c4c0.js +2 -0
- package/amd/useThemeInterpolations-93c8c4c0.js.map +1 -0
- package/amd/useTooltip-c10bcc4e.js +2 -0
- package/amd/useTooltip-c10bcc4e.js.map +1 -0
- package/amd/useTooltipOnTruncation-a913ba8a.js +2 -0
- package/amd/useTooltipOnTruncation-a913ba8a.js.map +1 -0
- package/amd/useTranslationBundle-33399171.js +2 -0
- package/amd/useTranslationBundle-33399171.js.map +1 -0
- package/amd/useUser-33136570.js +2 -0
- package/amd/useUser-33136570.js.map +1 -0
- package/amd/useVisDragModeControls-120076e9.js +1 -1
- package/amd/useVisEvents-bc470edf.js +2 -0
- package/amd/useVisEvents-bc470edf.js.map +1 -0
- package/amd/utils/PRIVATE_tooltipUtils.js +1 -1
- package/amd/utils/PRIVATE_visTestUtils.js +1 -1
- package/amd/utils/UNSAFE_popupUtils.js +1 -1
- package/amd/withDirectionIcon-56788c71.js +2 -0
- package/amd/withDirectionIcon-56788c71.js.map +1 -0
- package/amd/withThemeProps-5ba8f3bc.js +1 -1
- package/cjs/BaseCardView-dc51267e.js +687 -0
- package/cjs/BaseCardView-dc51267e.js.map +1 -0
- package/cjs/CardFlexView-9393e48c.js +29 -0
- package/cjs/CardFlexView-9393e48c.js.map +1 -0
- package/cjs/CardGridView-e796ff9d.js +17 -0
- package/cjs/CardGridView-e796ff9d.js.map +1 -0
- package/cjs/CheckboxSetContext-c62db26d.js +12 -0
- package/cjs/CheckboxSetContext-c62db26d.js.map +1 -0
- package/cjs/ExpandableList-2182c2f3.js +1 -1
- package/cjs/GroupLoadingIndicator-eea4bd1d.js +1 -1
- package/cjs/Indexer-034ba277.js +339 -0
- package/cjs/Indexer-034ba277.js.map +1 -0
- package/cjs/List-46cdf470.js +723 -0
- package/cjs/List-46cdf470.js.map +1 -0
- package/cjs/ListView-0ec2afbc.js +430 -0
- package/cjs/ListView-0ec2afbc.js.map +1 -0
- package/cjs/LoadMoreCollection-73112ff0.js +34 -0
- package/cjs/LoadMoreCollection-73112ff0.js.map +1 -0
- package/cjs/PRIVATE_BaseCardView.js +3 -3
- package/cjs/PRIVATE_List.js +4 -4
- package/cjs/PRIVATE_LoadMoreCollection.js +2 -2
- package/cjs/PRIVATE_SelectCommon.js +5 -5
- package/cjs/PRIVATE_Table.js +3 -3
- package/cjs/PRIVATE_VirtualizedCollection.js +2 -2
- package/cjs/SelectMultiple-f12df023.js +1299 -0
- package/cjs/SelectMultiple-f12df023.js.map +1 -0
- package/cjs/SelectSingle-244f066d.js +732 -0
- package/cjs/SelectSingle-244f066d.js.map +1 -0
- package/cjs/Table-687c28a1.js +5499 -0
- package/cjs/Table-687c28a1.js.map +1 -0
- package/cjs/TableView-8a2c3a0a.js +33 -0
- package/cjs/TableView-8a2c3a0a.js.map +1 -0
- package/cjs/TextArea-dcfbeab0.js +180 -0
- package/cjs/TextArea-dcfbeab0.js.map +1 -0
- package/cjs/TextAreaAutosize-fa21ae31.js +246 -0
- package/cjs/TextAreaAutosize-fa21ae31.js.map +1 -0
- package/cjs/Theme-redwood/theme.css +186 -186
- package/cjs/Theme-stable/theme.css +380 -380
- package/cjs/UNSAFE_CardFlexView.js +4 -4
- package/cjs/UNSAFE_CardGridView.js +4 -4
- package/cjs/UNSAFE_CheckboxItem.js +30 -82
- package/cjs/UNSAFE_CheckboxItem.js.map +1 -1
- package/cjs/UNSAFE_CheckboxSet.js +44 -15
- package/cjs/UNSAFE_CheckboxSet.js.map +1 -1
- package/cjs/UNSAFE_ExpandableList.js +3 -3
- package/cjs/UNSAFE_Indexer.js +2 -2
- package/cjs/UNSAFE_ListView.js +5 -5
- package/cjs/UNSAFE_RichCheckboxSet.js +26 -29
- package/cjs/UNSAFE_RichCheckboxSet.js.map +1 -1
- package/cjs/UNSAFE_RichSelectionItem.js +46 -184
- package/cjs/UNSAFE_RichSelectionItem.js.map +1 -1
- package/cjs/UNSAFE_SelectMultiple.js +6 -6
- package/cjs/UNSAFE_SelectSingle.js +6 -6
- package/cjs/UNSAFE_TableView.js +4 -4
- package/cjs/UNSAFE_TextArea.js +3 -4
- package/cjs/UNSAFE_TextArea.js.map +1 -1
- package/cjs/UNSAFE_TextAreaAutosize.js +3 -3
- package/cjs/UNSAFE_VirtualizedListView.js +5 -5
- package/cjs/VirtualizedCollection-00aedb8b.js +180 -0
- package/cjs/VirtualizedCollection-00aedb8b.js.map +1 -0
- package/cjs/VirtualizedListView-c5df76ea.js +16 -0
- package/cjs/VirtualizedListView-c5df76ea.js.map +1 -0
- package/cjs/useSelectCommon-a00fdf8e.js +709 -0
- package/cjs/useSelectCommon-a00fdf8e.js.map +1 -0
- package/es/ActionCard-9f4e3613.js +1 -1
- package/es/BarChart-49c7f6bb.js +179 -0
- package/es/BarChart-49c7f6bb.js.map +1 -0
- package/es/BarGroup-ac152c88.js +1 -1
- package/es/BaseButton-b5fc41a8.js +2 -2
- package/es/BaseCardView-5e0a327f.js +683 -0
- package/es/BaseCardView-5e0a327f.js.map +1 -0
- package/es/BaseCardViewSelectionTest-b3b001e6.js +721 -0
- package/es/BaseCardViewSelectionTest-b3b001e6.js.map +1 -0
- package/es/BaseNavigationListItem-44157da8.js +1 -1
- package/es/BaseRichSelection-908a6bc3.js +9 -9
- package/es/ButtonSet-474e170e.js +2 -2
- package/es/ButtonSetIconButton-34b24ad4.js +3 -3
- package/es/Card-31a1cb19.js +15 -0
- package/es/Card-31a1cb19.js.map +1 -0
- package/es/CardFlexView-36492791.js +27 -0
- package/es/CardFlexView-36492791.js.map +1 -0
- package/es/CardGridView-64f31130.js +15 -0
- package/es/CardGridView-64f31130.js.map +1 -0
- package/es/Center-903e6ea1.js +16 -0
- package/es/Center-903e6ea1.js.map +1 -0
- package/es/Chart-649fdf1c.js +491 -0
- package/es/Chart-649fdf1c.js.map +1 -0
- package/es/CheckboxControl-1e686657.js +6 -6
- package/es/CheckboxRadioField-201ef340.js +7 -7
- package/es/Chip-9540ef60.js +1 -1
- package/es/ClearIcon-215c5c34.js +1 -1
- package/es/CollapseIcon-43663109.js +1 -1
- package/es/Collapsible-757eaed6.js +2 -2
- package/es/ComboChart-8ca6f857.js +172 -0
- package/es/ComboChart-8ca6f857.js.map +1 -0
- package/es/CompactHelpSource-20f20c17.js +2 -2
- package/es/CompactLabelAssistance-d92b17d1.js +34 -0
- package/es/CompactLabelAssistance-d92b17d1.js.map +1 -0
- package/es/CompactUserAssistance-c2fafab0.js +4 -4
- package/es/ComponentMessageContainer-a06ceb16.js +4 -4
- package/es/ConveyorBeltItem-2a7cfd15.js +2 -2
- package/es/DatePicker-2838c573.js +564 -0
- package/es/DatePicker-2838c573.js.map +1 -0
- package/es/DatePickerHeader-151355b3.js +3 -3
- package/es/Diagram-7236c495.js +2035 -0
- package/es/Diagram-7236c495.js.map +1 -0
- package/es/Dialog-4a0cb90c.js +344 -0
- package/es/Dialog-4a0cb90c.js.map +1 -0
- package/es/DirectionalCollapseArrowIcon-24020989.js +1 -1
- package/es/DirectionalExpandArrowIcon-28f288ca.js +1 -1
- package/es/DragHandle-f9b35377.js +22 -0
- package/es/DragHandle-f9b35377.js.map +1 -0
- package/es/DrawerPopup-dd60ef68.js +381 -0
- package/es/DrawerPopup-dd60ef68.js.map +1 -0
- package/es/Dropdown-ab7ecd4b.js +80 -0
- package/es/Dropdown-ab7ecd4b.js.map +1 -0
- package/es/EnvironmentProvider-1580c879.js +58 -0
- package/es/EnvironmentProvider-1580c879.js.map +1 -0
- package/es/ExpandableList-84f08709.js +4 -4
- package/es/FilePicker-74669308.js +2 -2
- package/es/Flex-ba379500.js +30 -0
- package/es/Flex-ba379500.js.map +1 -0
- package/es/Floating-94a06a14.js +462 -0
- package/es/Floating-94a06a14.js.map +1 -0
- package/es/FormLayout-2fba104e.js +1 -1
- package/es/Gantt-f95290cd.js +9 -9
- package/es/Grid-48e5c78c.js +27 -0
- package/es/Grid-48e5c78c.js.map +1 -0
- package/es/Gridlines-bb3b92f4.js +168 -0
- package/es/Gridlines-bb3b92f4.js.map +1 -0
- package/es/GroupLoadingIndicator-2a294121.js +2 -2
- package/es/HighlightText-a2f81a44.js +31 -0
- package/es/HighlightText-a2f81a44.js.map +1 -0
- package/es/Icon-43d05084.js +3 -3
- package/es/IconButton-b78b5ace.js +3 -3
- package/es/IconMenuButton-441b34f8.js +3 -3
- package/es/IconProgressButton-cb75faa2.js +3 -3
- package/es/IconSwitchButton-4febde18.js +3 -3
- package/es/IconToggleButton-299d5d98.js +3 -3
- package/es/IconUserAssistance-264032b1.js +73 -0
- package/es/IconUserAssistance-264032b1.js.map +1 -0
- package/es/Indexer-6c39ddf3.js +336 -0
- package/es/Indexer-6c39ddf3.js.map +1 -0
- package/es/InlineHelpSource-e0c901ba.js +1 -1
- package/es/InlineUserAssistance-9b70db5b.js +5 -5
- package/es/InputDateMask-0b2a46b5.js +7 -7
- package/es/InputDatePicker-60465b12.js +8 -8
- package/es/InputPassword-106c544f.js +4 -4
- package/es/InputText-2bf2ce27.js +6 -6
- package/es/Label-4503b935.js +5 -5
- package/es/LabelValueLayout-fa08943c.js +1 -1
- package/es/Layer-d4aca92e.js +91 -0
- package/es/Layer-d4aca92e.js.map +1 -0
- package/es/LayerHost-f7ef254c.js +40 -0
- package/es/LayerHost-f7ef254c.js.map +1 -0
- package/es/LayerManager-4ad387dc.js +34 -0
- package/es/LayerManager-4ad387dc.js.map +1 -0
- package/es/Legend-449e7201.js +3 -3
- package/es/LineAreaChart-9a46dce5.js +170 -0
- package/es/LineAreaChart-9a46dce5.js.map +1 -0
- package/es/LineSeries-e71ae377.js +109 -0
- package/es/LineSeries-e71ae377.js.map +1 -0
- package/es/Link-9803ca5b.js +1 -1
- package/es/List-da0ce081.js +718 -0
- package/es/List-da0ce081.js.map +1 -0
- package/es/ListItemLayout-1207112f.js +110 -0
- package/es/ListItemLayout-1207112f.js.map +1 -0
- package/es/ListView-5cada8e6.js +428 -0
- package/es/ListView-5cada8e6.js.map +1 -0
- package/es/LiveRegion-d9f2bbdb.js +39 -0
- package/es/LiveRegion-d9f2bbdb.js.map +1 -0
- package/es/LoadMoreCollection-95a49d2a.js +31 -0
- package/es/LoadMoreCollection-95a49d2a.js.map +1 -0
- package/es/MaxLengthLiveRegion-db713260.js +23 -0
- package/es/MaxLengthLiveRegion-db713260.js.map +1 -0
- package/es/Menu-aa21f75f.js +6 -6
- package/es/MenuButton-fe7e2d06.js +2 -2
- package/es/MenuItem-01343558.js +1 -1
- package/es/Message-98038159.js +2 -2
- package/es/MessageLayer-7650c582.js +58 -0
- package/es/MessageLayer-7650c582.js.map +1 -0
- package/es/MessageToast-2b7922be.js +8 -8
- package/es/MessagesManager-9efc5d44.js +3 -3
- package/es/MeterBar-1319327c.js +5 -5
- package/es/MeterCircle-b52c28b1.js +5 -5
- package/es/Modal-7efd2f81.js +274 -0
- package/es/Modal-7efd2f81.js.map +1 -0
- package/es/MonthView-df043775.js +208 -0
- package/es/MonthView-df043775.js.map +1 -0
- package/es/NavigationListItem-bdf7a2ab.js +5 -5
- package/es/NumberInputText-c71b0b51.js +6 -6
- package/es/OverflowTabBarItem-b643a574.js +3 -3
- package/es/PRIVATE_BaseCardView.js +24 -24
- package/es/PRIVATE_Chart.js +35 -35
- package/es/PRIVATE_CheckboxControl.js +23 -23
- package/es/PRIVATE_CheckboxRadioField.js +25 -25
- package/es/PRIVATE_ClearIcon.js +17 -17
- package/es/PRIVATE_DatePickerHeader.js +18 -18
- 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/DragV.js +15 -15
- package/es/PRIVATE_Icons/WarningS.js +15 -15
- package/es/PRIVATE_List.js +23 -23
- package/es/PRIVATE_LoadMoreCollection.js +2 -2
- package/es/PRIVATE_Message.js +18 -18
- package/es/PRIVATE_MessageLayer.js +12 -12
- 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_RichSelectionCommon.js +26 -26
- package/es/PRIVATE_SelectCommon.js +33 -33
- package/es/PRIVATE_StyledCard.js +4 -4
- package/es/PRIVATE_StyledCheckbox.js +15 -15
- package/es/PRIVATE_Table.js +27 -27
- 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/DragHandleIcon.js +15 -15
- 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/OverviewHorizontalDragHandleIcon.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/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 +17 -17
- package/es/PRIVATE_VirtualizedCollection.js +2 -2
- package/es/PRIVATE_VisOverview.js +15 -15
- package/es/PRIVATE_VisTabularDatatip.js +4 -4
- package/es/PictoChart-b3fc22fd.js +6 -6
- package/es/PieChart-b54696a5.js +6 -6
- package/es/Popup-67ec4db2.js +258 -0
- package/es/Popup-67ec4db2.js.map +1 -0
- package/es/ProgressBar-cad7d04b.js +62 -0
- package/es/ProgressBar-cad7d04b.js.map +1 -0
- package/es/ProgressButton-40c3b504.js +3 -3
- package/es/ProgressButtonLabelLayout-8c64cece.js +3 -3
- package/es/ProgressCircle-7d883146.js +48 -0
- package/es/ProgressCircle-7d883146.js.map +1 -0
- package/es/RadioItem-a1599b77.js +6 -6
- package/es/RatingGauge-6c13b141.js +8 -8
- package/es/ReadonlyTextFieldInput-d6b1fac1.js +1 -1
- package/es/RemovableNavigationListItem-84fad399.js +1 -1
- package/es/RemovableTabBarItem-42735820.js +2 -2
- package/es/ReorderableTabBar-1b2c9ebe.js +3 -3
- package/es/RevealToggleIcon-abf5f233.js +1 -1
- package/es/ScatterChart-59c7f1d7.js +103 -0
- package/es/ScatterChart-59c7f1d7.js.map +1 -0
- package/es/SectionalLegend-fb0128ae.js +4 -4
- package/es/SectionedContent-db1b2e44.js +64 -0
- package/es/SectionedContent-db1b2e44.js.map +1 -0
- package/es/SegmentStyles.styles.css +11 -8
- package/es/SegmentStyles.styles2.css +8 -11
- package/es/SelectMultiple-48af2264.js +1297 -0
- package/es/SelectMultiple-48af2264.js.map +1 -0
- package/es/SelectSingle-56ff2907.js +730 -0
- package/es/SelectSingle-56ff2907.js.map +1 -0
- package/es/SelectionCard-f4e6f6f4.js +16 -0
- package/es/SelectionCard-f4e6f6f4.js.map +1 -0
- package/es/Selector-cc435916.js +1 -1
- package/es/SelectorAll-fb5a5a47.js +69 -0
- package/es/SelectorAll-fb5a5a47.js.map +1 -0
- package/es/Sheet-2d9c641b.js +158 -0
- package/es/Sheet-2d9c641b.js.map +1 -0
- package/es/SplitMenuButton-1c556d1d.js +2 -2
- package/es/StyledCard-75bcdad7.js +105 -0
- package/es/StyledCard-75bcdad7.js.map +1 -0
- package/es/StyledLabelValueLayout-1b0b4a96.js +18 -0
- package/es/StyledLabelValueLayout-1b0b4a96.js.map +1 -0
- package/es/StyledTextField-21e8afef.js +3 -3
- package/es/TabBar-ef456a2c.js +5 -5
- package/es/TabBarItem-af8b903f.js +3 -3
- package/es/TabBarLayout-d7d27c34.js +1 -1
- package/es/TabBarMixed-71314dd9.js +5 -5
- package/es/TabBarMixedSeparator-1aacc254.js +19 -0
- package/es/TabBarMixedSeparator-1aacc254.js.map +1 -0
- package/es/Table-895c20ae.js +5497 -0
- package/es/Table-895c20ae.js.map +1 -0
- package/es/TableView-7eaa6c96.js +31 -0
- package/es/TableView-7eaa6c96.js.map +1 -0
- package/es/TagCloud-ed095030.js +8 -8
- package/es/TextArea-f411ff47.js +177 -0
- package/es/TextArea-f411ff47.js.map +1 -0
- package/es/TextAreaAutosize-163b776f.js +244 -0
- package/es/TextAreaAutosize-163b776f.js.map +1 -0
- package/es/TextField-28d425d6.js +3 -3
- package/es/TextFieldInput-c9239b1e.js +1 -1
- package/es/Theme-redwood/theme.css +488 -488
- package/es/Theme-stable/theme.css +316 -316
- package/es/TimeComponentCanvas2D-70d21419.js +5 -5
- package/es/Toolbar-4fe755d3.js +1 -1
- package/es/TruncatingBadge-a6ead29d.js +1 -1
- package/es/TruncatingText-107fcc48.js +1 -1
- package/es/UNSAFE_ActionCard.js +3 -3
- package/es/UNSAFE_BarChart/__test__/BarChart.spec.js +36 -36
- package/es/UNSAFE_BarChart.js +36 -36
- package/es/UNSAFE_BaseButton.js +3 -3
- package/es/UNSAFE_Button.js +3 -3
- package/es/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +21 -21
- 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_Card.js +5 -5
- package/es/UNSAFE_CardFlexView.js +25 -25
- package/es/UNSAFE_CardGridView.js +25 -25
- package/es/UNSAFE_Center.js +5 -5
- package/es/UNSAFE_Checkbox.js +23 -23
- package/es/UNSAFE_CheckboxItem.js +23 -23
- package/es/UNSAFE_CheckboxSet.js +24 -24
- package/es/UNSAFE_Chip.js +2 -2
- package/es/UNSAFE_Collapsible.js +17 -17
- package/es/UNSAFE_ComboChart.js +38 -38
- package/es/UNSAFE_ComponentMessage.js +18 -18
- package/es/UNSAFE_ConveyorBelt.js +15 -15
- package/es/UNSAFE_DatePicker.js +23 -23
- package/es/UNSAFE_Diagram.js +20 -20
- package/es/UNSAFE_Dialog.js +21 -21
- package/es/UNSAFE_DragHandle.js +17 -17
- package/es/UNSAFE_DrawerLayout.js +12 -12
- package/es/UNSAFE_DrawerPopup.js +13 -13
- package/es/UNSAFE_Dropdown.js +13 -13
- package/es/UNSAFE_Environment.js +4 -4
- package/es/UNSAFE_ExpandableList.js +25 -25
- package/es/UNSAFE_FilePicker.js +4 -4
- package/es/UNSAFE_Flex.js +4 -4
- package/es/UNSAFE_Floating.js +11 -11
- 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 +21 -21
- package/es/UNSAFE_IconProgressButton.js +18 -18
- package/es/UNSAFE_IconToggleButton.js +15 -15
- package/es/UNSAFE_Indexer.js +8 -8
- package/es/UNSAFE_InputDateMask/themes/SegmentStyles.css.js +1 -1
- package/es/UNSAFE_InputDateMask.js +26 -26
- package/es/UNSAFE_InputDatePicker.js +34 -34
- package/es/UNSAFE_InputPassword.js +24 -24
- package/es/UNSAFE_InputSensitiveText.js +26 -26
- package/es/UNSAFE_InputText.js +27 -27
- package/es/UNSAFE_InputTimeMask/themes/SegmentStyles.css.js +1 -1
- package/es/UNSAFE_InputTimeMask.js +26 -26
- package/es/UNSAFE_Label.js +23 -23
- package/es/UNSAFE_LabelValueLayout.js +4 -4
- package/es/UNSAFE_LabelledLink.js +25 -25
- package/es/UNSAFE_Layer.js +8 -8
- package/es/UNSAFE_Legend.js +25 -25
- package/es/UNSAFE_LineAreaChart.js +38 -38
- package/es/UNSAFE_Link.js +2 -2
- package/es/UNSAFE_ListItemLayout.js +5 -5
- package/es/UNSAFE_ListView.js +33 -33
- package/es/UNSAFE_LiveRegion.js +4 -4
- package/es/UNSAFE_Menu.js +23 -23
- package/es/UNSAFE_MenuButton.js +21 -21
- 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 +17 -17
- package/es/UNSAFE_Modal.js +9 -9
- package/es/UNSAFE_NavigationList.js +19 -19
- package/es/UNSAFE_NavigationListCommon.js +17 -17
- package/es/UNSAFE_NumberInputText.js +26 -26
- package/es/UNSAFE_OverflowTabBar.js +24 -24
- package/es/UNSAFE_PictoChart.js +14 -14
- package/es/UNSAFE_PieChart/__test__/PieChart.spec.js +22 -22
- package/es/UNSAFE_PieChart.js +22 -22
- package/es/UNSAFE_Popup.js +17 -17
- package/es/UNSAFE_ProgressBar.js +5 -5
- package/es/UNSAFE_ProgressButton.js +18 -18
- package/es/UNSAFE_ProgressButtonLabelLayout.js +10 -10
- package/es/UNSAFE_ProgressCircle.js +4 -4
- package/es/UNSAFE_RadioItem.js +23 -23
- package/es/UNSAFE_RadioSet.js +24 -24
- package/es/UNSAFE_RatingGauge.js +17 -17
- package/es/UNSAFE_ReorderableTabBar.js +25 -25
- package/es/UNSAFE_RichCheckboxSet.js +26 -26
- package/es/UNSAFE_RichRadioSet.js +26 -26
- package/es/UNSAFE_RichSelectionItem.js +20 -20
- package/es/UNSAFE_ScatterChart.js +38 -38
- package/es/UNSAFE_SectionalLegend.js +26 -26
- package/es/UNSAFE_SelectMultiple.js +37 -37
- package/es/UNSAFE_SelectSingle.js +37 -37
- package/es/UNSAFE_SelectionCard.js +5 -5
- package/es/UNSAFE_Selector.js +15 -15
- package/es/UNSAFE_SelectorAll.js +19 -19
- package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +15 -15
- package/es/UNSAFE_Sheet.js +12 -12
- package/es/UNSAFE_SplitMenuButton.js +21 -21
- package/es/UNSAFE_TabBar.js +25 -25
- package/es/UNSAFE_TabBarCommon.js +25 -25
- package/es/UNSAFE_TabBarMixed.js +26 -26
- package/es/UNSAFE_TableView.js +28 -28
- package/es/UNSAFE_TagCloud.js +24 -24
- package/es/UNSAFE_TextArea.js +28 -29
- package/es/UNSAFE_TextArea.js.map +1 -1
- package/es/UNSAFE_TextAreaAutosize.js +29 -29
- package/es/UNSAFE_TextField.js +8 -8
- package/es/UNSAFE_ToggleButton.js +3 -3
- package/es/UNSAFE_Toolbar/tests/Toolbar.spec.js +23 -23
- package/es/UNSAFE_Toolbar.js +4 -4
- package/es/UNSAFE_Train.js +16 -16
- package/es/UNSAFE_TruncatingBadge.js +16 -16
- package/es/UNSAFE_TruncatingText.js +16 -16
- package/es/UNSAFE_UserAssistance.js +24 -24
- package/es/UNSAFE_View.js +7 -7
- package/es/UNSAFE_VirtualizedListView.js +24 -24
- 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-79162397.js +167 -0
- package/es/View-79162397.js.map +1 -0
- package/es/VirtualizedCollection-e73890a1.js +176 -0
- package/es/VirtualizedCollection-e73890a1.js.map +1 -0
- package/es/VirtualizedListView-d9cb25e1.js +14 -0
- package/es/VirtualizedListView-d9cb25e1.js.map +1 -0
- package/es/VisNoData-f70e7c57.js +32 -0
- package/es/VisNoData-f70e7c57.js.map +1 -0
- package/es/VisProgressiveLoader-4fe41bcb.js +51 -0
- package/es/VisProgressiveLoader-4fe41bcb.js.map +1 -0
- package/es/VisTabularDatatip-24b65098.js +24 -0
- package/es/VisTabularDatatip-24b65098.js.map +1 -0
- package/es/WindowOverlay-8fbe3e1c.js +110 -0
- package/es/WindowOverlay-8fbe3e1c.js.map +1 -0
- package/es/YearsGridView-52c0d22c.js +187 -0
- package/es/YearsGridView-52c0d22c.js.map +1 -0
- 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 +21 -21
- package/es/hooks/PRIVATE_useChartDatatip.js +14 -14
- package/es/hooks/PRIVATE_useChartEvents.js +18 -18
- 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 +12 -12
- package/es/hooks/PRIVATE_useFloating.js +4 -4
- package/es/hooks/PRIVATE_useReorderable.js +5 -5
- package/es/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
- package/es/hooks/PRIVATE_useSelection.js +4 -4
- package/es/hooks/PRIVATE_useTabBar.js +4 -4
- package/es/hooks/PRIVATE_useTooltipOnTruncation.js +16 -16
- package/es/hooks/PRIVATE_useVisContextMenu.js +21 -21
- package/es/hooks/PRIVATE_useVisDragModeControls.js +17 -17
- package/es/hooks/PRIVATE_useVisEvents.js +4 -4
- package/es/hooks/PRIVATE_useVisMeterEvents.js +14 -14
- package/es/hooks/PRIVATE_useVisSelection.js +13 -13
- package/es/hooks/UNSAFE_useColorScheme.js +3 -3
- package/es/hooks/UNSAFE_useCurrentBgColor.js +3 -3
- package/es/hooks/UNSAFE_useDensity.js +3 -3
- package/es/hooks/UNSAFE_useOutsideClick.js +8 -8
- 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 +6 -6
- 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-5d0fe60d.js +11 -0
- package/es/index-5d0fe60d.js.map +1 -0
- package/es/listViewSelectionTests-cd66d645.js +3 -3
- package/es/popupUtils-a7caf5e4.js +29 -0
- package/es/popupUtils-a7caf5e4.js.map +1 -0
- package/es/render-c7ce760e.js +34 -0
- package/es/render-c7ce760e.js.map +1 -0
- package/es/tabbableUtils-b22dbd92.js +79 -0
- package/es/tabbableUtils-b22dbd92.js.map +1 -0
- package/es/testData-a52937d8.js +256 -0
- package/es/testData-a52937d8.js.map +1 -0
- package/es/tooltipUtils-179de68d.js +93 -0
- package/es/tooltipUtils-179de68d.js.map +1 -0
- package/es/useCellNavigation-1a33b90e.js +1 -1
- package/es/useChartContextMenu-bedf2f88.js +2 -2
- package/es/useChartDatatip-652d9595.js +165 -0
- package/es/useChartDatatip-652d9595.js.map +1 -0
- package/es/useColorScheme-4414c0b2.js +19 -0
- package/es/useColorScheme-4414c0b2.js.map +1 -0
- package/es/useContextMenu-006e82dd.js +2 -2
- package/es/useCssVars-0788f28c.js +58 -0
- package/es/useCssVars-0788f28c.js.map +1 -0
- package/es/useCurrentBgColor-cc39a2b0.js +19 -0
- package/es/useCurrentBgColor-cc39a2b0.js.map +1 -0
- package/es/useCurrentKey-b88513bf.js +81 -0
- package/es/useCurrentKey-b88513bf.js.map +1 -0
- package/es/useDatatip-f80a8b4e.js +90 -0
- package/es/useDatatip-f80a8b4e.js.map +1 -0
- package/es/useDensity-575ebaf2.js +19 -0
- package/es/useDensity-575ebaf2.js.map +1 -0
- package/es/useFloating-85ac3a8e.js +1916 -0
- package/es/useFloating-85ac3a8e.js.map +1 -0
- package/es/useKeyboardEvents-8d2a44b1.js +78 -0
- package/es/useKeyboardEvents-8d2a44b1.js.map +1 -0
- package/es/useLegendContextMenu-30eaa291.js +4 -4
- package/es/useMeterDatatip-ea50f0f1.js +73 -0
- package/es/useMeterDatatip-ea50f0f1.js.map +1 -0
- package/es/useOutsideClick-866db9b2.js +101 -0
- package/es/useOutsideClick-866db9b2.js.map +1 -0
- package/es/usePopupAnimation-93950404.js +85 -0
- package/es/usePopupAnimation-93950404.js.map +1 -0
- package/es/usePrefixSuffix-2741adb3.js +70 -0
- package/es/usePrefixSuffix-2741adb3.js.map +1 -0
- package/es/useReorderableItem-2a361fd4.js +268 -0
- package/es/useReorderableItem-2a361fd4.js.map +1 -0
- package/es/useRovingTabIndexContainer-7b1d563b.js +98 -0
- package/es/useRovingTabIndexContainer-7b1d563b.js.map +1 -0
- package/es/useScale-54f14cdc.js +19 -0
- package/es/useScale-54f14cdc.js.map +1 -0
- package/es/useSelectCommon-b5028a6e.js +686 -0
- package/es/useSelectCommon-b5028a6e.js.map +1 -0
- package/es/useSelectDrill-9f0f793e.js +104 -0
- package/es/useSelectDrill-9f0f793e.js.map +1 -0
- package/es/useSelection-3c8cd738.js +239 -0
- package/es/useSelection-3c8cd738.js.map +1 -0
- package/es/useSelection-82fe842d.js +186 -0
- package/es/useSelection-82fe842d.js.map +1 -0
- package/es/useTabBar-d9412667.js +1 -1
- package/es/useTestId-8b32167f.js +21 -0
- package/es/useTestId-8b32167f.js.map +1 -0
- package/es/useTheme-858b119b.js +19 -0
- package/es/useTheme-858b119b.js.map +1 -0
- package/es/useThemeInterpolations-2531ab6d.js +57 -0
- package/es/useThemeInterpolations-2531ab6d.js.map +1 -0
- package/es/useTooltip-0a3e4842.js +424 -0
- package/es/useTooltip-0a3e4842.js.map +1 -0
- package/es/useTooltipOnTruncation-f5d75b1b.js +27 -0
- package/es/useTooltipOnTruncation-f5d75b1b.js.map +1 -0
- package/es/useTranslationBundle-0dff3ab2.js +29 -0
- package/es/useTranslationBundle-0dff3ab2.js.map +1 -0
- package/es/useUser-6a7f6df3.js +19 -0
- package/es/useUser-6a7f6df3.js.map +1 -0
- package/es/useVisDragModeControls-13a8e826.js +1 -1
- package/es/useVisEvents-8d888727.js +153 -0
- package/es/useVisEvents-8d888727.js.map +1 -0
- package/es/utils/PRIVATE_tooltipUtils.js +14 -14
- package/es/utils/PRIVATE_visTestUtils.js +6 -6
- package/es/utils/UNSAFE_popupUtils.js +8 -8
- package/es/withDirectionIcon-938d7cdf.js +14 -0
- package/es/withDirectionIcon-938d7cdf.js.map +1 -0
- package/es/withThemeProps-49e8a2b5.js +2 -2
- package/package.json +2 -2
- package/amd/BaseCardViewSelectionTest-e0356b8b.js +0 -2
- package/amd/BaseCardViewSelectionTest-e0356b8b.js.map +0 -1
- package/amd/BaseNavigationListItem-ef8bf611.js +0 -2
- package/amd/BaseNavigationListItem-ef8bf611.js.map +0 -1
- package/amd/Card-7acfbca5.js +0 -2
- package/amd/Card-7acfbca5.js.map +0 -1
- package/amd/Center-5d2e4d34.js +0 -2
- package/amd/Center-5d2e4d34.js.map +0 -1
- package/amd/CompactLabelAssistance-82361ea6.js +0 -2
- package/amd/CompactLabelAssistance-82361ea6.js.map +0 -1
- package/amd/DatePicker-20e9a255.js +0 -2
- package/amd/DatePicker-20e9a255.js.map +0 -1
- package/amd/Diagram-03be2ca5.js +0 -2
- package/amd/Diagram-03be2ca5.js.map +0 -1
- package/amd/Dialog-dc55a669.js +0 -2
- package/amd/Dialog-dc55a669.js.map +0 -1
- package/amd/DragHandle-d89ea5fd.js +0 -2
- package/amd/DragHandle-d89ea5fd.js.map +0 -1
- package/amd/DrawerPopup-772c8c22.js +0 -2
- package/amd/DrawerPopup-772c8c22.js.map +0 -1
- package/amd/Dropdown-37339c89.js +0 -2
- package/amd/Dropdown-37339c89.js.map +0 -1
- package/amd/EnvironmentProvider-4597f540.js +0 -2
- package/amd/EnvironmentProvider-4597f540.js.map +0 -1
- package/amd/Flex-69dc7af4.js +0 -2
- package/amd/Flex-69dc7af4.js.map +0 -1
- package/amd/Floating-28ad0903.js +0 -2
- package/amd/Floating-28ad0903.js.map +0 -1
- package/amd/Grid-49beb801.js +0 -2
- package/amd/Grid-49beb801.js.map +0 -1
- package/amd/Gridlines-9ec65953.js +0 -2
- package/amd/Gridlines-9ec65953.js.map +0 -1
- package/amd/HighlightText-b020d84d.js +0 -2
- package/amd/HighlightText-b020d84d.js.map +0 -1
- package/amd/IconUserAssistance-b5075ca1.js +0 -2
- package/amd/IconUserAssistance-b5075ca1.js.map +0 -1
- package/amd/InputDatePicker-6af2a6a4.js +0 -2
- package/amd/InputDatePicker-6af2a6a4.js.map +0 -1
- package/amd/Layer-9fb9ca67.js +0 -2
- package/amd/Layer-9fb9ca67.js.map +0 -1
- package/amd/LayerHost-1b4d03f0.js +0 -2
- package/amd/LayerHost-1b4d03f0.js.map +0 -1
- package/amd/LayerManager-6c0b0eed.js +0 -2
- package/amd/LayerManager-6c0b0eed.js.map +0 -1
- package/amd/LineAreaChart-d6300aad.js +0 -2
- package/amd/LineAreaChart-d6300aad.js.map +0 -1
- package/amd/LineSeries-6b2d5fc5.js +0 -2
- package/amd/LineSeries-6b2d5fc5.js.map +0 -1
- package/amd/ListItemLayout-51e98343.js +0 -2
- package/amd/ListItemLayout-51e98343.js.map +0 -1
- package/amd/LiveRegion-345ac2a4.js +0 -2
- package/amd/LiveRegion-345ac2a4.js.map +0 -1
- package/amd/MaxLengthLiveRegion-7723b0df.js +0 -2
- package/amd/MaxLengthLiveRegion-7723b0df.js.map +0 -1
- package/amd/MessageLayer-4238a197.js +0 -2
- package/amd/MessageLayer-4238a197.js.map +0 -1
- package/amd/Modal-991f1310.js +0 -2
- package/amd/Modal-991f1310.js.map +0 -1
- package/amd/MonthView-1a60836e.js +0 -2
- package/amd/MonthView-1a60836e.js.map +0 -1
- package/amd/NavigationListItem-4a6857ae.js +0 -2
- package/amd/NavigationListItem-4a6857ae.js.map +0 -1
- package/amd/OverflowTabBar-d465fab5.js +0 -2
- package/amd/OverflowTabBar-d465fab5.js.map +0 -1
- package/amd/OverflowTabBarItem-e8bb4c0f.js +0 -2
- package/amd/OverflowTabBarItem-e8bb4c0f.js.map +0 -1
- package/amd/Popup-bba2ea15.js +0 -2
- package/amd/Popup-bba2ea15.js.map +0 -1
- package/amd/ProgressBar-4c24733e.js +0 -2
- package/amd/ProgressBar-4c24733e.js.map +0 -1
- package/amd/ProgressCircle-57ce7b94.js +0 -2
- package/amd/ProgressCircle-57ce7b94.js.map +0 -1
- package/amd/RemovableNavigationListItem-87e208e1.js +0 -2
- package/amd/RemovableNavigationListItem-87e208e1.js.map +0 -1
- package/amd/ReorderableTabBar-cdafd5b2.js +0 -2
- package/amd/ReorderableTabBar-cdafd5b2.js.map +0 -1
- package/amd/ScatterChart-de870222.js +0 -2
- package/amd/ScatterChart-de870222.js.map +0 -1
- package/amd/SectionedContent-d75017a3.js +0 -2
- package/amd/SectionedContent-d75017a3.js.map +0 -1
- package/amd/SelectionCard-baeadf9f.js +0 -2
- package/amd/SelectionCard-baeadf9f.js.map +0 -1
- package/amd/SelectorAll-344e3366.js +0 -2
- package/amd/SelectorAll-344e3366.js.map +0 -1
- package/amd/Sheet-f4665056.js +0 -2
- package/amd/Sheet-f4665056.js.map +0 -1
- package/amd/StyledCard-420ef03c.js +0 -2
- package/amd/StyledCard-420ef03c.js.map +0 -1
- package/amd/StyledLabelValueLayout-16380e6b.js +0 -2
- package/amd/StyledLabelValueLayout-16380e6b.js.map +0 -1
- package/amd/TabBar-8a0cbff2.js +0 -2
- package/amd/TabBar-8a0cbff2.js.map +0 -1
- package/amd/TabBarMixed-d4482b12.js +0 -2
- package/amd/TabBarMixed-d4482b12.js.map +0 -1
- package/amd/TabBarMixedSeparator-84722127.js +0 -2
- package/amd/TabBarMixedSeparator-84722127.js.map +0 -1
- package/amd/View-59fe568d.js +0 -2
- package/amd/View-59fe568d.js.map +0 -1
- package/amd/VisNoData-b60000bf.js +0 -2
- package/amd/VisNoData-b60000bf.js.map +0 -1
- package/amd/VisProgressiveLoader-c90f62c3.js +0 -2
- package/amd/VisProgressiveLoader-c90f62c3.js.map +0 -1
- package/amd/VisTabularDatatip-23cf3cfc.js +0 -2
- package/amd/VisTabularDatatip-23cf3cfc.js.map +0 -1
- package/amd/WindowOverlay-00523782.js +0 -2
- package/amd/WindowOverlay-00523782.js.map +0 -1
- package/amd/YearsGridView-b0b18b18.js +0 -2
- package/amd/YearsGridView-b0b18b18.js.map +0 -1
- package/amd/index-32a870a0.js +0 -2
- package/amd/index-32a870a0.js.map +0 -1
- package/amd/popupUtils-710dc910.js +0 -2
- package/amd/popupUtils-710dc910.js.map +0 -1
- package/amd/render-6d2dc229.js +0 -2
- package/amd/render-6d2dc229.js.map +0 -1
- package/amd/tabbableUtils-140cad66.js +0 -2
- package/amd/tabbableUtils-140cad66.js.map +0 -1
- package/amd/testData-bd34f137.js +0 -2
- package/amd/testData-bd34f137.js.map +0 -1
- package/amd/tooltipUtils-304eef18.js +0 -2
- package/amd/tooltipUtils-304eef18.js.map +0 -1
- package/amd/useChartDatatip-1f138781.js +0 -2
- package/amd/useChartDatatip-1f138781.js.map +0 -1
- package/amd/useColorScheme-8358a6c9.js +0 -2
- package/amd/useColorScheme-8358a6c9.js.map +0 -1
- package/amd/useCssVars-4d0eeaa3.js +0 -2
- package/amd/useCssVars-4d0eeaa3.js.map +0 -1
- package/amd/useCurrentBgColor-24e98c84.js +0 -2
- package/amd/useCurrentBgColor-24e98c84.js.map +0 -1
- package/amd/useCurrentKey-5a5ffb1e.js +0 -2
- package/amd/useCurrentKey-5a5ffb1e.js.map +0 -1
- package/amd/useDatatip-db874c22.js +0 -2
- package/amd/useDatatip-db874c22.js.map +0 -1
- package/amd/useDensity-2b757d02.js +0 -2
- package/amd/useDensity-2b757d02.js.map +0 -1
- package/amd/useFloating-c8c92f6f.js +0 -2
- package/amd/useFloating-c8c92f6f.js.map +0 -1
- package/amd/useKeyboardEvents-e66373bb.js +0 -2
- package/amd/useKeyboardEvents-e66373bb.js.map +0 -1
- package/amd/useMeterDatatip-8702ee6e.js +0 -2
- package/amd/useMeterDatatip-8702ee6e.js.map +0 -1
- package/amd/useOutsideClick-39a81428.js +0 -2
- package/amd/useOutsideClick-39a81428.js.map +0 -1
- package/amd/usePopupAnimation-7023407f.js +0 -2
- package/amd/usePopupAnimation-7023407f.js.map +0 -1
- package/amd/usePrefixSuffix-19a86824.js +0 -2
- package/amd/usePrefixSuffix-19a86824.js.map +0 -1
- package/amd/useReorderableItem-fa5fd0f4.js +0 -2
- package/amd/useReorderableItem-fa5fd0f4.js.map +0 -1
- package/amd/useRovingTabIndexContainer-6b89c886.js +0 -2
- package/amd/useRovingTabIndexContainer-6b89c886.js.map +0 -1
- package/amd/useScale-0fb08a15.js +0 -2
- package/amd/useScale-0fb08a15.js.map +0 -1
- package/amd/useSelectDrill-03c65602.js +0 -2
- package/amd/useSelectDrill-03c65602.js.map +0 -1
- package/amd/useSelection-4c8e905b.js +0 -2
- package/amd/useSelection-4c8e905b.js.map +0 -1
- package/amd/useSelection-569188b3.js +0 -2
- package/amd/useSelection-569188b3.js.map +0 -1
- package/amd/useTestId-d0c49456.js +0 -2
- package/amd/useTestId-d0c49456.js.map +0 -1
- package/amd/useTheme-915016ef.js +0 -2
- package/amd/useTheme-915016ef.js.map +0 -1
- package/amd/useThemeInterpolations-95e6f849.js +0 -2
- package/amd/useThemeInterpolations-95e6f849.js.map +0 -1
- package/amd/useTooltip-f7c1ad5c.js +0 -2
- package/amd/useTooltip-f7c1ad5c.js.map +0 -1
- package/amd/useTooltipOnTruncation-7a2a7106.js +0 -2
- package/amd/useTooltipOnTruncation-7a2a7106.js.map +0 -1
- package/amd/useTranslationBundle-652e08a6.js +0 -2
- package/amd/useTranslationBundle-652e08a6.js.map +0 -1
- package/amd/useUser-abae2493.js +0 -2
- package/amd/useUser-abae2493.js.map +0 -1
- package/amd/useVisEvents-a2e7394b.js +0 -2
- package/amd/useVisEvents-a2e7394b.js.map +0 -1
- package/amd/withDirectionIcon-194f3242.js +0 -2
- package/amd/withDirectionIcon-194f3242.js.map +0 -1
- package/cjs/BaseCardView-5ce88700.js +0 -687
- package/cjs/BaseCardView-5ce88700.js.map +0 -1
- package/cjs/CardFlexView-7cb060a4.js +0 -29
- package/cjs/CardFlexView-7cb060a4.js.map +0 -1
- package/cjs/CardGridView-619b8576.js +0 -17
- package/cjs/CardGridView-619b8576.js.map +0 -1
- package/cjs/CheckboxSet-3509aa56.js +0 -53
- package/cjs/CheckboxSet-3509aa56.js.map +0 -1
- package/cjs/Indexer-6f687670.js +0 -339
- package/cjs/Indexer-6f687670.js.map +0 -1
- package/cjs/List-9cf30b46.js +0 -722
- package/cjs/List-9cf30b46.js.map +0 -1
- package/cjs/ListView-1c7cb647.js +0 -430
- package/cjs/ListView-1c7cb647.js.map +0 -1
- package/cjs/LoadMoreCollection-69bc038c.js +0 -34
- package/cjs/LoadMoreCollection-69bc038c.js.map +0 -1
- package/cjs/MaxLengthCounter-9ab3f74b.js +0 -27
- package/cjs/MaxLengthCounter-9ab3f74b.js.map +0 -1
- package/cjs/SelectMultiple-bc3a3333.js +0 -1299
- package/cjs/SelectMultiple-bc3a3333.js.map +0 -1
- package/cjs/SelectSingle-0292841f.js +0 -732
- package/cjs/SelectSingle-0292841f.js.map +0 -1
- package/cjs/Table-cac0f4b6.js +0 -5499
- package/cjs/Table-cac0f4b6.js.map +0 -1
- package/cjs/TableView-edd7e48c.js +0 -33
- package/cjs/TableView-edd7e48c.js.map +0 -1
- package/cjs/TextArea-43ba72b8.js +0 -162
- package/cjs/TextArea-43ba72b8.js.map +0 -1
- package/cjs/TextAreaAutosize-05e6644a.js +0 -246
- package/cjs/TextAreaAutosize-05e6644a.js.map +0 -1
- package/cjs/VirtualizedCollection-9e8c48b9.js +0 -180
- package/cjs/VirtualizedCollection-9e8c48b9.js.map +0 -1
- package/cjs/VirtualizedListView-d9fce8ed.js +0 -16
- package/cjs/VirtualizedListView-d9fce8ed.js.map +0 -1
- package/cjs/useSelectCommon-78871095.js +0 -709
- package/cjs/useSelectCommon-78871095.js.map +0 -1
- package/es/BarChart-a39136c2.js +0 -179
- package/es/BarChart-a39136c2.js.map +0 -1
- package/es/BaseCardView-87a16541.js +0 -683
- package/es/BaseCardView-87a16541.js.map +0 -1
- package/es/BaseCardViewSelectionTest-639276bd.js +0 -721
- package/es/BaseCardViewSelectionTest-639276bd.js.map +0 -1
- package/es/Card-48705b23.js +0 -15
- package/es/Card-48705b23.js.map +0 -1
- package/es/CardFlexView-8149a998.js +0 -27
- package/es/CardFlexView-8149a998.js.map +0 -1
- package/es/CardGridView-4e967eaa.js +0 -15
- package/es/CardGridView-4e967eaa.js.map +0 -1
- package/es/Center-f5a074ea.js +0 -16
- package/es/Center-f5a074ea.js.map +0 -1
- package/es/Chart-cd1c9eb2.js +0 -491
- package/es/Chart-cd1c9eb2.js.map +0 -1
- package/es/ComboChart-1d1d46cc.js +0 -172
- package/es/ComboChart-1d1d46cc.js.map +0 -1
- package/es/CompactLabelAssistance-e6df8b6f.js +0 -34
- package/es/CompactLabelAssistance-e6df8b6f.js.map +0 -1
- package/es/DatePicker-f149bde7.js +0 -564
- package/es/DatePicker-f149bde7.js.map +0 -1
- package/es/Diagram-32842af8.js +0 -2035
- package/es/Diagram-32842af8.js.map +0 -1
- package/es/Dialog-dbd00dbd.js +0 -344
- package/es/Dialog-dbd00dbd.js.map +0 -1
- package/es/DragHandle-3010d22c.js +0 -22
- package/es/DragHandle-3010d22c.js.map +0 -1
- package/es/DrawerPopup-90be1472.js +0 -381
- package/es/DrawerPopup-90be1472.js.map +0 -1
- package/es/Dropdown-8936afb0.js +0 -80
- package/es/Dropdown-8936afb0.js.map +0 -1
- package/es/EnvironmentProvider-e6ce326b.js +0 -58
- package/es/EnvironmentProvider-e6ce326b.js.map +0 -1
- package/es/Flex-dce7c423.js +0 -30
- package/es/Flex-dce7c423.js.map +0 -1
- package/es/Floating-bd10e1bb.js +0 -462
- package/es/Floating-bd10e1bb.js.map +0 -1
- package/es/Grid-a92f6ff7.js +0 -27
- package/es/Grid-a92f6ff7.js.map +0 -1
- package/es/Gridlines-14e60b77.js +0 -168
- package/es/Gridlines-14e60b77.js.map +0 -1
- package/es/HighlightText-6fb192ee.js +0 -31
- package/es/HighlightText-6fb192ee.js.map +0 -1
- package/es/IconUserAssistance-bb4f169d.js +0 -73
- package/es/IconUserAssistance-bb4f169d.js.map +0 -1
- package/es/Indexer-80254b3c.js +0 -336
- package/es/Indexer-80254b3c.js.map +0 -1
- package/es/Layer-f309effc.js +0 -91
- package/es/Layer-f309effc.js.map +0 -1
- package/es/LayerHost-ca080d9a.js +0 -40
- package/es/LayerHost-ca080d9a.js.map +0 -1
- package/es/LayerManager-3e4e8d1a.js +0 -34
- package/es/LayerManager-3e4e8d1a.js.map +0 -1
- package/es/LineAreaChart-16cf6356.js +0 -170
- package/es/LineAreaChart-16cf6356.js.map +0 -1
- package/es/LineSeries-89d507a5.js +0 -109
- package/es/LineSeries-89d507a5.js.map +0 -1
- package/es/List-4e5ab994.js +0 -717
- package/es/List-4e5ab994.js.map +0 -1
- package/es/ListItemLayout-b580a2cb.js +0 -110
- package/es/ListItemLayout-b580a2cb.js.map +0 -1
- package/es/ListView-c8de746b.js +0 -428
- package/es/ListView-c8de746b.js.map +0 -1
- package/es/LiveRegion-7d6e9b93.js +0 -39
- package/es/LiveRegion-7d6e9b93.js.map +0 -1
- package/es/LoadMoreCollection-7df1be36.js +0 -31
- package/es/LoadMoreCollection-7df1be36.js.map +0 -1
- package/es/MaxLengthCounter-181b4fc9.js +0 -25
- package/es/MaxLengthCounter-181b4fc9.js.map +0 -1
- package/es/MaxLengthLiveRegion-3d6867c3.js +0 -23
- package/es/MaxLengthLiveRegion-3d6867c3.js.map +0 -1
- package/es/MessageLayer-707a3302.js +0 -58
- package/es/MessageLayer-707a3302.js.map +0 -1
- package/es/Modal-9bdb87a4.js +0 -274
- package/es/Modal-9bdb87a4.js.map +0 -1
- package/es/MonthView-7f913bb2.js +0 -208
- package/es/MonthView-7f913bb2.js.map +0 -1
- package/es/Popup-0b60095e.js +0 -258
- package/es/Popup-0b60095e.js.map +0 -1
- package/es/ProgressBar-717be5e8.js +0 -62
- package/es/ProgressBar-717be5e8.js.map +0 -1
- package/es/ProgressCircle-d75b0848.js +0 -48
- package/es/ProgressCircle-d75b0848.js.map +0 -1
- package/es/ScatterChart-8fa8ea38.js +0 -103
- package/es/ScatterChart-8fa8ea38.js.map +0 -1
- package/es/SectionedContent-89fd6108.js +0 -64
- package/es/SectionedContent-89fd6108.js.map +0 -1
- package/es/SelectMultiple-1e8a183a.js +0 -1297
- package/es/SelectMultiple-1e8a183a.js.map +0 -1
- package/es/SelectSingle-b66c3ae5.js +0 -730
- package/es/SelectSingle-b66c3ae5.js.map +0 -1
- package/es/SelectionCard-4cf71979.js +0 -16
- package/es/SelectionCard-4cf71979.js.map +0 -1
- package/es/SelectorAll-401564d3.js +0 -69
- package/es/SelectorAll-401564d3.js.map +0 -1
- package/es/Sheet-754bd0f0.js +0 -158
- package/es/Sheet-754bd0f0.js.map +0 -1
- package/es/StyledCard-2dc6d348.js +0 -105
- package/es/StyledCard-2dc6d348.js.map +0 -1
- package/es/StyledLabelValueLayout-f3d69ee8.js +0 -18
- package/es/StyledLabelValueLayout-f3d69ee8.js.map +0 -1
- package/es/TabBarMixedSeparator-dd80c7f2.js +0 -19
- package/es/TabBarMixedSeparator-dd80c7f2.js.map +0 -1
- package/es/Table-970adc38.js +0 -5497
- package/es/Table-970adc38.js.map +0 -1
- package/es/TableView-28ac0166.js +0 -31
- package/es/TableView-28ac0166.js.map +0 -1
- package/es/TextArea-9da8decd.js +0 -160
- package/es/TextArea-9da8decd.js.map +0 -1
- package/es/TextAreaAutosize-2e043744.js +0 -244
- package/es/TextAreaAutosize-2e043744.js.map +0 -1
- package/es/View-6941c4ec.js +0 -167
- package/es/View-6941c4ec.js.map +0 -1
- package/es/VirtualizedCollection-f048fbb8.js +0 -176
- package/es/VirtualizedCollection-f048fbb8.js.map +0 -1
- package/es/VirtualizedListView-aa8e6003.js +0 -14
- package/es/VirtualizedListView-aa8e6003.js.map +0 -1
- package/es/VisNoData-6c9dff1d.js +0 -32
- package/es/VisNoData-6c9dff1d.js.map +0 -1
- package/es/VisProgressiveLoader-af51c524.js +0 -51
- package/es/VisProgressiveLoader-af51c524.js.map +0 -1
- package/es/VisTabularDatatip-1aba2c3f.js +0 -24
- package/es/VisTabularDatatip-1aba2c3f.js.map +0 -1
- package/es/WindowOverlay-77a01a5a.js +0 -110
- package/es/WindowOverlay-77a01a5a.js.map +0 -1
- package/es/YearsGridView-38b7d276.js +0 -187
- package/es/YearsGridView-38b7d276.js.map +0 -1
- package/es/index-b52817d6.js +0 -11
- package/es/index-b52817d6.js.map +0 -1
- package/es/popupUtils-0d643529.js +0 -29
- package/es/popupUtils-0d643529.js.map +0 -1
- package/es/render-f43f5632.js +0 -34
- package/es/render-f43f5632.js.map +0 -1
- package/es/tabbableUtils-07dfa9ce.js +0 -79
- package/es/tabbableUtils-07dfa9ce.js.map +0 -1
- package/es/testData-75eb4f26.js +0 -256
- package/es/testData-75eb4f26.js.map +0 -1
- package/es/tooltipUtils-ae6aba72.js +0 -93
- package/es/tooltipUtils-ae6aba72.js.map +0 -1
- package/es/useChartDatatip-ae7cffcb.js +0 -165
- package/es/useChartDatatip-ae7cffcb.js.map +0 -1
- package/es/useColorScheme-831abf37.js +0 -19
- package/es/useColorScheme-831abf37.js.map +0 -1
- package/es/useCssVars-6295c03a.js +0 -58
- package/es/useCssVars-6295c03a.js.map +0 -1
- package/es/useCurrentBgColor-93b70106.js +0 -19
- package/es/useCurrentBgColor-93b70106.js.map +0 -1
- package/es/useCurrentKey-30089ba4.js +0 -81
- package/es/useCurrentKey-30089ba4.js.map +0 -1
- package/es/useDatatip-3f284ad3.js +0 -90
- package/es/useDatatip-3f284ad3.js.map +0 -1
- package/es/useDensity-2ca5177c.js +0 -19
- package/es/useDensity-2ca5177c.js.map +0 -1
- package/es/useFloating-b1378797.js +0 -1916
- package/es/useFloating-b1378797.js.map +0 -1
- package/es/useKeyboardEvents-7a19700e.js +0 -78
- package/es/useKeyboardEvents-7a19700e.js.map +0 -1
- package/es/useMeterDatatip-814ca87d.js +0 -73
- package/es/useMeterDatatip-814ca87d.js.map +0 -1
- package/es/useOutsideClick-d0b44256.js +0 -101
- package/es/useOutsideClick-d0b44256.js.map +0 -1
- package/es/usePopupAnimation-0c5517c7.js +0 -85
- package/es/usePopupAnimation-0c5517c7.js.map +0 -1
- package/es/usePrefixSuffix-28d8172f.js +0 -70
- package/es/usePrefixSuffix-28d8172f.js.map +0 -1
- package/es/useReorderableItem-abc9c68c.js +0 -268
- package/es/useReorderableItem-abc9c68c.js.map +0 -1
- package/es/useRovingTabIndexContainer-d8dcffff.js +0 -98
- package/es/useRovingTabIndexContainer-d8dcffff.js.map +0 -1
- package/es/useScale-c315e304.js +0 -19
- package/es/useScale-c315e304.js.map +0 -1
- package/es/useSelectCommon-410eeffd.js +0 -686
- package/es/useSelectCommon-410eeffd.js.map +0 -1
- package/es/useSelectDrill-9eb9b7fa.js +0 -104
- package/es/useSelectDrill-9eb9b7fa.js.map +0 -1
- package/es/useSelection-534b1fa0.js +0 -186
- package/es/useSelection-534b1fa0.js.map +0 -1
- package/es/useSelection-5375aa2e.js +0 -239
- package/es/useSelection-5375aa2e.js.map +0 -1
- package/es/useTestId-014cca7c.js +0 -21
- package/es/useTestId-014cca7c.js.map +0 -1
- package/es/useTheme-a4243428.js +0 -19
- package/es/useTheme-a4243428.js.map +0 -1
- package/es/useThemeInterpolations-93048af6.js +0 -57
- package/es/useThemeInterpolations-93048af6.js.map +0 -1
- package/es/useTooltip-d4dfd848.js +0 -424
- package/es/useTooltip-d4dfd848.js.map +0 -1
- package/es/useTooltipOnTruncation-82d93e22.js +0 -27
- package/es/useTooltipOnTruncation-82d93e22.js.map +0 -1
- package/es/useTranslationBundle-29a1abb3.js +0 -29
- package/es/useTranslationBundle-29a1abb3.js.map +0 -1
- package/es/useUser-9c8d0e57.js +0 -19
- package/es/useUser-9c8d0e57.js.map +0 -1
- package/es/useVisEvents-45115f09.js +0 -153
- package/es/useVisEvents-45115f09.js.map +0 -1
- package/es/withDirectionIcon-70ce263c.js +0 -14
- package/es/withDirectionIcon-70ce263c.js.map +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', './classNames-08d99695', './PRIVATE_VisTabularDatatip/themes/VisTabularDatatipStyles.css', './useUser-abae2493'], (function(s,a,t,e,l){"use strict";s.VisTabularDatatip=function({tableData:s}){const{direction:i}=l.useUser(),r="rtl"===i,c=t.classNames([e.styles.VisTabularDatatipLabel,r?e.styles.leftAlign:e.styles.rightAlign]),n=t.classNames([e.styles.VisTabularDatatipValue,r?e.styles.rightAlign:e.styles.leftAlign]);return a.jsx("table",{class:e.styles.VisTabularDatatipTable,children:a.jsx("tbody",{children:s.map((({key:s,value:t})=>a.jsxs("tr",{children:[a.jsx("td",{class:c,children:s}),a.jsx("td",{class:n,children:t})]})))})})}}));
|
|
2
|
-
//# sourceMappingURL=VisTabularDatatip-23cf3cfc.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VisTabularDatatip-23cf3cfc.js","sources":["../../src/PRIVATE_VisTabularDatatip/VisTabularDatatip.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 { classNames } from '#utils/UNSAFE_classNames';\nimport { styles } from './themes/VisTabularDatatipStyles.css';\nimport { useUser } from '#hooks/UNSAFE_useUser';\n\nexport type TableRowData = {\n key: string;\n value: string | number;\n};\ntype Props = {\n tableData: Array<TableRowData>;\n};\n\nexport function VisTabularDatatip({ tableData }: Props) {\n const { direction } = useUser();\n const isRtl = direction === 'rtl';\n const datatipLabelStyle = classNames([\n styles.VisTabularDatatipLabel,\n isRtl ? styles.leftAlign : styles.rightAlign\n ]);\n const datatipValueStyle = classNames([\n styles.VisTabularDatatipValue,\n isRtl ? styles.rightAlign : styles.leftAlign\n ]);\n\n return (\n <table class={styles.VisTabularDatatipTable}>\n <tbody>\n {tableData.map(({ key, value }) => {\n return (\n <tr>\n <td class={datatipLabelStyle}>{key}</td>\n <td class={datatipValueStyle}>{value}</td>\n </tr>\n );\n })}\n </tbody>\n </table>\n );\n}\n"],"names":["tableData","direction","useUser","isRtl","datatipLabelStyle","classNames","styles","VisTabularDatatipLabel","leftAlign","rightAlign","datatipValueStyle","VisTabularDatatipValue","_jsx","class","VisTabularDatatipTable","children","map","key","value","_jsxs","jsxs","jsx"],"mappings":"4MAoBgB,UAAkBA,UAAEA,IAClC,MAAMC,UAAEA,GAAcC,EAAAA,UAChBC,EAAsB,QAAdF,EACRG,EAAoBC,EAAAA,WAAW,CACnCC,EAAAA,OAAOC,uBACPJ,EAAQG,EAAMA,OAACE,UAAYF,EAAAA,OAAOG,aAE9BC,EAAoBL,EAAAA,WAAW,CACnCC,EAAAA,OAAOK,uBACPR,EAAQG,EAAMA,OAACG,WAAaH,EAAAA,OAAOE,YAGrC,OACEI,EAAAA,aAAOC,MAAOP,EAAMA,OAACQ,gCACnBF,EAAAA,IACG,QAAA,CAAAG,SAAAf,EAAUgB,KAAI,EAAGC,MAAKC,WAEnBC,EACEC,KAAA,KAAA,CAAAL,SAAA,CAAAH,EAAAS,IAAA,KAAA,CAAIR,MAAOT,WAAoBa,IAC/BL,EAAAA,IAAI,KAAA,CAAAC,MAAOH,EAAiBK,SAAGG,YAO7C"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', './mergeInterpolations-9ede4cf7', './vanilla-extract-dynamic.esm-eceadd82', './classNames-08d99695', './UNSAFE_WindowOverlay/themes/WindowOverlayStyles.css', './UNSAFE_WindowOverlay/themes/WindowOverlayContract.css', './useUser-abae2493', './useComponentTheme-5aa41a8f', './UNSAFE_WindowOverlay/themes/redwood/WindowOverlayTheme'], (function(e,t,s,o,a,l,r,i,n,y){"use strict";e.WindowOverlay=({children:e,...w})=>{const{direction:d}=i.useUser(),c="ltr"===d;null==w.placement&&(w.placement="center");const{styles:v,baseTheme:O}=n.useComponentTheme(y.WindowOverlayRedwoodTheme),{baseStyle:m,gridStyles:f,placementStyles:b}=v,p=[({placement:e="center"})=>({class:b[e]})],S=[...Object.values(p)],h=s.mergeInterpolations(S),{class:g,...x}=h(w),u=((e,t,s)=>{if(null==e)return;let o;switch(e){case"top-start":case"center":o=t?l.windowOverlayStyles["top-left"]:l.windowOverlayStyles["top-right"];break;case"top-end":o=t?l.windowOverlayStyles["top-right"]:l.windowOverlayStyles["top-left"];break;case"bottom-start":o=t?l.windowOverlayStyles["bottom-left"]:l.windowOverlayStyles["bottom-right"];break;case"bottom-end":o=t?l.windowOverlayStyles["bottom-right"]:l.windowOverlayStyles["bottom-left"];break;case"start-top":o=t?l.windowOverlayStyles["left-top"]:l.windowOverlayStyles["right-top"];break;case"end-top":o=t?l.windowOverlayStyles["right-top"]:l.windowOverlayStyles["left-top"];break;case"start-bottom":o=t?l.windowOverlayStyles["left-bottom"]:l.windowOverlayStyles["right-bottom"];break;case"end-bottom":o=t?l.windowOverlayStyles["right-bottom"]:l.windowOverlayStyles["left-bottom"];break;case"start":o=t?l.windowOverlayStyles.left:l.windowOverlayStyles.right;break;case"end":o=t?l.windowOverlayStyles.right:l.windowOverlayStyles.left;break;case"top":o=l.windowOverlayStyles.top;break;case"bottom":o=l.windowOverlayStyles.bottom}return a.classNames([l.windowOverlayStyles.notificationPosition,o,s])})(w.placement,c,O),k="number"==typeof(A=w.offset)?o.assignInlineVars({[r.windowOverlayVars.notificationMainAxisOffset]:`${A}px`,[r.windowOverlayVars.notificationCrossAxisOffset]:"0px"}):o.assignInlineVars({[r.windowOverlayVars.notificationMainAxisOffset]:`${A?.mainAxis??0}px`,[r.windowOverlayVars.notificationCrossAxisOffset]:`${A?.crossAxis??0}px`});var A;return t.jsx("div",{class:a.classNames([m,f,g]),style:x,children:t.jsx("div",{class:u,style:void 0!==k?k:void 0,children:e})})}}));
|
|
2
|
-
//# sourceMappingURL=WindowOverlay-00523782.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WindowOverlay-00523782.js","sources":["../../src/UNSAFE_WindowOverlay/WindowOverlay.tsx"],"sourcesContent":["import { HTMLAttributesSignalExcluded } from '../utils/UNSAFE_attributeUtils';\nimport { mergeInterpolations } from '../utils/UNSAFE_mergeInterpolations';\n\nimport { assignInlineVars } from '@vanilla-extract/dynamic';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { windowOverlayStyles } from './themes/WindowOverlayStyles.css';\nimport { windowOverlayVars } from './themes/WindowOverlayContract.css';\nimport { useUser } from '../hooks/UNSAFE_useUser';\nimport type { Offset } from '../UNSAFE_Floating';\nimport { useComponentTheme } from '../hooks/UNSAFE_useComponentTheme';\nimport { WindowOverlayRedwoodTheme } from './themes/redwood/WindowOverlayTheme';\n\nexport type { Offset };\n\ntype IntrinsicProps = Pick<HTMLAttributesSignalExcluded<HTMLDivElement>, 'children'>;\n\nexport type WindowOverlayPlacement =\n | 'center'\n | 'top'\n | 'top-start'\n | 'top-end'\n | 'start'\n | 'start-top'\n | 'start-bottom'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'end'\n | 'end-top'\n | 'end-bottom';\n\nconst offsetStyle = (offset?: Offset) => {\n return typeof offset === 'number'\n ? assignInlineVars({\n [windowOverlayVars.notificationMainAxisOffset]: `${offset}px`,\n [windowOverlayVars.notificationCrossAxisOffset]: `0px`\n })\n : assignInlineVars({\n [windowOverlayVars.notificationMainAxisOffset]: `${offset?.mainAxis ?? 0}px`,\n [windowOverlayVars.notificationCrossAxisOffset]: `${offset?.crossAxis ?? 0}px`\n });\n};\n\ntype WindowOverlayProps = IntrinsicProps & {\n /**\n * Offset displaces the child element of the WindowOverlay component from its core placement along the specified axes.\n *\n * Offset could be a number or an object\n *\n * An object has the following type:\n * <pre>\n * {\n * mainAxis?: number;\n * crossAxis?: number;\n * }\n * </pre>\n * <p><code>mainAxis</code> - represents the distance (gutter or margin) between the child element and the viewport along the mainAxis.</p>\n * <p><code>crossAxis</code> - represents the distance (gutter or margin) between the child element and the viewport along the crossAxis.</p>\n *\n * where,\n * <p>The <code>mainAxis</code> is an axis that runs along the side of the placement, i.e. the part before the hyphen (top-*, bottom-*, start-*, end-*).</p>\n * <p>The <code>crossAxis</code> is an axis that runs along the alignment of the placement, i.e. the part after the hyphen (*-start, *-end, *-top, *-bottom).</p>\n *\n * For the placement value 'center' the convention for the offset type is that mainAxis defines offset from the top, crossAxis defines offset from the left side of the view port.\n *\n * A number is a shortcut for setting the mainAxis.\n */\n offset?: Offset;\n /**\n * Placement of the WindowOverlay element relative to the viewport.\n * Possible values are:\n * <p> <code>'center' </code> <code>'top' </code> <code>'top-start' </code> <code> 'top-end' </code>\n * <code> 'end' </code> <code> 'end-top' </code> <code> 'end-bottom' </code>\n * <code> 'bottom' </code> <code> 'bottom-start' </code> <code> 'bottom-end' </code>\n * <code> 'start' </code> <code> 'start-top' </code> <code> 'start-bottom' </code>\n * </p>\n */\n placement?: WindowOverlayPlacement;\n};\n\n/**\n * A WindowOverlay component allows the user to place a child component relative to the viewport\n */\nexport const WindowOverlay = ({ children, ...props }: WindowOverlayProps) => {\n const { direction } = useUser();\n const isLtr = direction === 'ltr';\n\n if (props.placement == null) {\n props.placement = 'center';\n }\n\n const { styles, baseTheme: windowOverlayTheme } = useComponentTheme(WindowOverlayRedwoodTheme);\n const { baseStyle, gridStyles, placementStyles } = styles;\n\n const placementInterpolations = [\n ({ placement = 'center' }: Pick<WindowOverlayProps, 'placement'>) => ({\n class: placementStyles[placement]\n })\n ];\n\n const interpolations = [...Object.values(placementInterpolations)];\n\n const styleInterpolations = mergeInterpolations<WindowOverlayProps>(interpolations);\n\n const { class: cls, ...allStyles } = styleInterpolations(props);\n\n const offsetClasses = (position?: string, isLtr?: boolean, theme?: string) => {\n if (position == null) {\n return;\n }\n let logicalPosition;\n switch (position) {\n case 'top-start':\n case 'center':\n logicalPosition = isLtr\n ? windowOverlayStyles['top-left']\n : windowOverlayStyles['top-right'];\n break;\n case 'top-end':\n logicalPosition = isLtr\n ? windowOverlayStyles['top-right']\n : windowOverlayStyles['top-left'];\n break;\n case 'bottom-start':\n logicalPosition = isLtr\n ? windowOverlayStyles['bottom-left']\n : windowOverlayStyles['bottom-right'];\n break;\n case 'bottom-end':\n logicalPosition = isLtr\n ? windowOverlayStyles['bottom-right']\n : windowOverlayStyles['bottom-left'];\n break;\n case 'start-top':\n logicalPosition = isLtr\n ? windowOverlayStyles['left-top']\n : windowOverlayStyles['right-top'];\n break;\n case 'end-top':\n logicalPosition = isLtr\n ? windowOverlayStyles['right-top']\n : windowOverlayStyles['left-top'];\n break;\n case 'start-bottom':\n logicalPosition = isLtr\n ? windowOverlayStyles['left-bottom']\n : windowOverlayStyles['right-bottom'];\n break;\n case 'end-bottom':\n logicalPosition = isLtr\n ? windowOverlayStyles['right-bottom']\n : windowOverlayStyles['left-bottom'];\n break;\n case 'start':\n logicalPosition = isLtr ? windowOverlayStyles['left'] : windowOverlayStyles['right'];\n break;\n case 'end':\n logicalPosition = isLtr ? windowOverlayStyles['right'] : windowOverlayStyles['left'];\n break;\n case 'top':\n logicalPosition = windowOverlayStyles['top'];\n break;\n case 'bottom':\n logicalPosition = windowOverlayStyles['bottom'];\n break;\n default:\n break;\n }\n return classNames([windowOverlayStyles.notificationPosition, logicalPosition, theme]);\n };\n const classes = offsetClasses(props.placement, isLtr, windowOverlayTheme);\n\n const windowOverlayOffsetStyle = offsetStyle(props.offset);\n\n return (\n <div class={classNames([baseStyle, gridStyles, cls])} style={allStyles}>\n <div\n class={classes}\n style={windowOverlayOffsetStyle !== undefined ? windowOverlayOffsetStyle : undefined}>\n {children}\n </div>\n </div>\n );\n};\n"],"names":["children","props","direction","useUser","isLtr","placement","styles","baseTheme","windowOverlayTheme","useComponentTheme","WindowOverlayRedwoodTheme","baseStyle","gridStyles","placementStyles","placementInterpolations","class","interpolations","Object","values","styleInterpolations","mergeInterpolations","cls","allStyles","classes","position","theme","logicalPosition","windowOverlayStyles","classNames","notificationPosition","offsetClasses","windowOverlayOffsetStyle","offset","assignInlineVars","windowOverlayVars","notificationMainAxisOffset","notificationCrossAxisOffset","mainAxis","crossAxis","_jsx","style","undefined"],"mappings":"uaAmF6B,EAAGA,cAAaC,MAC3C,MAAMC,UAAEA,GAAcC,EAAAA,UAChBC,EAAsB,QAAdF,EAES,MAAnBD,EAAMI,YACRJ,EAAMI,UAAY,UAGpB,MAAMC,OAAEA,EAAQC,UAAWC,GAAuBC,EAAAA,kBAAkBC,EAAAA,4BAC9DC,UAAEA,EAASC,WAAEA,EAAUC,gBAAEA,GAAoBP,EAE7CQ,EAA0B,CAC9B,EAAGT,YAAY,aAAuD,CACpEU,MAAOF,EAAgBR,MAIrBW,EAAiB,IAAIC,OAAOC,OAAOJ,IAEnCK,EAAsBC,sBAAwCJ,IAE5DD,MAAOM,KAAQC,GAAcH,EAAoBlB,GAkEnDsB,EAhEgB,EAACC,EAAmBpB,EAAiBqB,KACzD,GAAgB,MAAZD,EACF,OAEF,IAAIE,EACJ,OAAQF,GACN,IAAK,YACL,IAAK,SACHE,EAAkBtB,EACduB,EAAAA,oBAAoB,YACpBA,EAAmBA,oBAAC,aACxB,MACF,IAAK,UACHD,EAAkBtB,EACduB,EAAAA,oBAAoB,aACpBA,EAAmBA,oBAAC,YACxB,MACF,IAAK,eACHD,EAAkBtB,EACduB,EAAAA,oBAAoB,eACpBA,EAAmBA,oBAAC,gBACxB,MACF,IAAK,aACHD,EAAkBtB,EACduB,EAAAA,oBAAoB,gBACpBA,EAAmBA,oBAAC,eACxB,MACF,IAAK,YACHD,EAAkBtB,EACduB,EAAAA,oBAAoB,YACpBA,EAAmBA,oBAAC,aACxB,MACF,IAAK,UACHD,EAAkBtB,EACduB,EAAAA,oBAAoB,aACpBA,EAAmBA,oBAAC,YACxB,MACF,IAAK,eACHD,EAAkBtB,EACduB,EAAAA,oBAAoB,eACpBA,EAAmBA,oBAAC,gBACxB,MACF,IAAK,aACHD,EAAkBtB,EACduB,EAAAA,oBAAoB,gBACpBA,EAAmBA,oBAAC,eACxB,MACF,IAAK,QACHD,EAAkBtB,EAAQuB,EAAmBA,oBAAO,KAAIA,EAAAA,oBAA2B,MACnF,MACF,IAAK,MACHD,EAAkBtB,EAAQuB,EAAmBA,oBAAQ,MAAIA,EAAAA,oBAA0B,KACnF,MACF,IAAK,MACHD,EAAkBC,EAAAA,oBAAyB,IAC3C,MACF,IAAK,SACHD,EAAkBC,EAAAA,oBAA4B,OAKlD,OAAOC,EAAAA,WAAW,CAACD,EAAmBA,oBAACE,qBAAsBH,EAAiBD,GAAO,EAEvEK,CAAc7B,EAAMI,UAAWD,EAAOI,GAEhDuB,EA5ImB,iBADNC,EA6I0B/B,EAAM+B,QA3I/CC,mBAAiB,CACf,CAACC,EAAiBA,kBAACC,4BAA6B,GAAGH,MACnD,CAACE,EAAiBA,kBAACE,6BAA8B,QAEnDH,mBAAiB,CACf,CAACC,EAAAA,kBAAkBC,4BAA6B,GAAGH,GAAQK,UAAY,MACvE,CAACH,EAAAA,kBAAkBE,6BAA8B,GAAGJ,GAAQM,WAAa,QAR7D,IAACN,EA+InB,OACEO,MAAK,MAAA,CAAAxB,MAAOa,EAAAA,WAAW,CAACjB,EAAWC,EAAYS,IAAOmB,MAAOlB,WAC3DiB,MACE,MAAA,CAAAxB,MAAOQ,EACPiB,WAAoCC,IAA7BV,EAAyCA,OAA2BU,EAASzC,SACnFA,KAGL"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', './Grid-49beb801', './StyledDatePickerButton-e886e52a', './useTranslationBundle-652e08a6', './useUser-abae2493', './getFormatParse-3d7186b3', './logger-0f873e29', './maskUtils-9370948f', 'preact/compat', './useCellNavigation-dcf1584f', './calendarDateUtils-5e25297c', './_curry2-86c52b86'], (function(e,t,r,o,a,n,s,i,l,c,u,d,p){"use strict";function g(e){return"[object Number]"===Object.prototype.toString.call(e)}var b=p._curry2((function(e,t){if(!g(e)||!g(t))throw new TypeError("Both arguments to range must be numbers");for(var r=[],o=e;o<t;)r.push(o),o+=1;return r}));const v=e=>{const{buttonProps:r}=(({isCurrent:e,isFocusable:t,isFocused:r,isSelected:o,month:s,onAction:i,onNavigation:d})=>{const{locale:p}=n.useUser(),g=c.useMemo((()=>({short:l.getMonthName(p,s,"*","short"),long:l.getMonthName(p,s,"*","long")})),[p,s]),b=a.useTranslationBundle("@oracle/oraclejet-preact"),v=`${g.long}${e?`, ${b.datePicker_currentDate()}`:""}${o?`, ${b.datePicker_selected()}`:""}`,m=u.useFocusableCell({isFocusable:t,isFocused:r}),h=u.useCellNavigation({navigationMap:{ArrowDown:"down",ArrowLeft:{ltr:"previous",rtl:"next"},ArrowRight:{ltr:"next",rtl:"previous"},ArrowUp:"up"},payload:{month:s},onAction:i,onNavigation:d});return{buttonProps:{"aria-label":v,isActivable:!0,label:g.short,isHoverable:!0,isSelected:o,isToday:e,variant:"month",...m,...h}}})(e);return t.jsx(o.StyledDatePickerButton,{...r})},m=b(1,13),h=e=>{const{buttonProps:r}=(({isCurrent:e,isFocusable:t,isFocused:r,isSelected:o,year:s,onAction:i,onNavigation:l})=>{const{locale:c}=n.useUser(),p=d.getNumericFormattedYear(c,s,1),g=a.useTranslationBundle("@oracle/oraclejet-preact");return{buttonProps:{"aria-label":`${p}${e?`, ${g.datePicker_currentDate()}`:""}${o?`, ${g.datePicker_selected()}`:""}`,isActivable:!0,label:p,isHoverable:!0,isSelected:o,isToday:e,variant:"year",...u.useFocusableCell({isFocusable:t,isFocused:r}),...u.useCellNavigation({navigationMap:{ArrowDown:"down",ArrowLeft:{ltr:"previous",rtl:"next"},ArrowRight:{ltr:"next",rtl:"previous"},ArrowUp:"up",PageDown:"previousDecade",PageUp:"nextDecade"},payload:{year:s},onAction:i,onNavigation:l})}}})(e);return t.jsx(o.StyledDatePickerButton,{...r})};e.MonthsGridView=({currentMonth:e,focusableMonth:o,isFocused:n=!1,selectedMonth:s,testId:i,onAction:l,onNavigation:c})=>{const u=a.useTranslationBundle("@oracle/oraclejet-preact").datePicker_months();return t.jsx(r.Grid,{role:"grid",gap:["13.5x","0x"],testId:i,"aria-label":u,children:[0,1,2].map((a=>t.jsx(r.Grid,{role:"row",gap:["0x","3x"],gridTemplateColumns:"repeat(4, 1fr)",children:[0,1,2,3].map((r=>{const i=m[4*a+r];return t.jsx("div",{role:"gridcell",children:t.jsx(v,{month:i,isCurrent:i===e,isFocusable:i===o,isFocused:i===o&&n,isSelected:i===s,onAction:l,onNavigation:c},`${i}`)})}))},a)))})},e.YearsGridView=({currentYear:e,focusableYear:o,isFocused:n=!1,selectedYear:s,testId:i,onAction:l,onNavigation:c})=>{const u=d.getClosestDecade(o),p=a.useTranslationBundle("@oracle/oraclejet-preact").datePicker_years();return t.jsx(r.Grid,{role:"grid",gap:["13.5x","0x"],testId:i,"aria-label":p,children:[0,1,2].map((a=>t.jsx(r.Grid,{role:"row",gap:["0x","3x"],gridTemplateColumns:"repeat(4, 1fr)",children:b(4*a,4*a+4).map((r=>{const a=u+r;return a<u+11?t.jsx("div",{role:"gridcell",children:t.jsx(h,{year:a,isCurrent:a===e,isFocusable:a===o,isFocused:a===o&&n,isSelected:a===s,onAction:l,onNavigation:c},`${a}`)}):null}))},a)))})}}));
|
|
2
|
-
//# sourceMappingURL=YearsGridView-b0b18b18.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"YearsGridView-b0b18b18.js","sources":["../../../../node_modules/ramda/es/internal/_isNumber.js","../../../../node_modules/ramda/es/range.js","../../src/PRIVATE_MonthYearGridView/useMonthCell.ts","../../src/PRIVATE_MonthYearGridView/MonthCell.tsx","../../src/PRIVATE_MonthYearGridView/MonthsGridView.tsx","../../src/PRIVATE_MonthYearGridView/YearCell.tsx","../../src/PRIVATE_MonthYearGridView/useYearCell.ts","../../src/PRIVATE_MonthYearGridView/YearsGridView.tsx"],"sourcesContent":["export default function _isNumber(x) {\n return Object.prototype.toString.call(x) === '[object Number]';\n}","import _curry2 from \"./internal/_curry2.js\";\nimport _isNumber from \"./internal/_isNumber.js\";\n/**\n * Returns a list of numbers from `from` (inclusive) to `to` (exclusive).\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Number -> Number -> [Number]\n * @param {Number} from The first number in the list.\n * @param {Number} to One more than the last number in the list.\n * @return {Array} The list of numbers in the set `[a, b)`.\n * @example\n *\n * R.range(1, 5); //=> [1, 2, 3, 4]\n * R.range(50, 53); //=> [50, 51, 52]\n */\n\nvar range =\n/*#__PURE__*/\n_curry2(function range(from, to) {\n if (!(_isNumber(from) && _isNumber(to))) {\n throw new TypeError('Both arguments to range must be numbers');\n }\n\n var result = [];\n var n = from;\n\n while (n < to) {\n result.push(n);\n n += 1;\n }\n\n return result;\n});\n\nexport default range;","/**\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 { StyledDatePickerButton } from '#PRIVATE_StyledDatePickerButton';\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\nimport { useUser } from '#hooks/UNSAFE_useUser';\nimport { BundleType } from '#resources/nls/bundle';\nimport { getMonthName } from '#utils/PRIVATE_dayUtils';\nimport { IsoMonth } from '#utils/UNSAFE_calendarDateUtils';\nimport { ComponentProps, useMemo } from 'preact/compat';\nimport { useCellNavigation } from '../UNSAFE_DatePicker/useCellNavigation';\nimport { useFocusableCell } from '../UNSAFE_DatePicker/useFocusableCell';\n\nexport type UseMonthCellProps = {\n /**\n * Specifies if this month is today's month.\n */\n isCurrent: boolean;\n\n /**\n * Specifies if this month should be focused first when\n * one tabs into the MonthsGridView.\n */\n isFocusable: boolean;\n\n /**\n * Specifies if this month is currently focused.\n */\n isFocused: boolean;\n\n /**\n * Specifies if this month is currently selected.\n */\n isSelected: boolean;\n\n /**\n * The month represented by this MonthCell.\n */\n month: IsoMonth;\n\n /**\n * A callback that will be invoked when a selection action is performed on this MonthCell.\n * @param payload The payload containing the month represented by this cell.\n */\n onAction: (payload: { month: IsoMonth }) => void;\n\n /**\n * A callback that will be invoked when a navigation action is performed on this MonthCell.\n * @param payload The payload specifying the direction of the navigation performed and the month.\n */\n onNavigation: (payload: {\n direction: 'up' | 'next' | 'down' | 'previous';\n month: IsoMonth;\n }) => void;\n};\n\n/**\n * A custom hook that adds functionalities to the MonthCell component and computes properties for the\n * StyledDatePickerButton.\n */\nexport const useMonthCell = ({\n isCurrent,\n isFocusable,\n isFocused,\n isSelected,\n month,\n onAction,\n onNavigation\n}: UseMonthCellProps) => {\n const { locale } = useUser();\n const monthText = useMemo(\n () => ({\n short: getMonthName(locale, month, '*', 'short') as string,\n long: getMonthName(locale, month, '*', 'long') as string\n }),\n [locale, month]\n );\n\n // custom aria label for selected and current month\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const ariaLabel = `${monthText.long}${\n isCurrent ? `, ${translations.datePicker_currentDate()}` : ''\n }${isSelected ? `, ${translations.datePicker_selected()}` : ''}`;\n\n const buttonProps = useFocusableCell({ isFocusable, isFocused });\n const buttonEventHandlers = useCellNavigation({\n navigationMap: {\n ArrowDown: 'down',\n ArrowLeft: { ltr: 'previous', rtl: 'next' },\n ArrowRight: { ltr: 'next', rtl: 'previous' },\n ArrowUp: 'up'\n },\n payload: { month },\n onAction,\n onNavigation\n });\n\n return {\n buttonProps: {\n 'aria-label': ariaLabel,\n isActivable: true,\n label: monthText.short,\n isHoverable: true,\n isSelected,\n isToday: isCurrent,\n variant: 'month' as const,\n ...buttonProps,\n ...buttonEventHandlers\n } as ComponentProps<typeof StyledDatePickerButton>\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 { StyledDatePickerButton } from '#PRIVATE_StyledDatePickerButton';\nimport { UseMonthCellProps, useMonthCell } from './useMonthCell';\n\ntype PickedUseMonthCellProps = Pick<\n UseMonthCellProps,\n 'isCurrent' | 'isFocusable' | 'isFocused' | 'isSelected' | 'month' | 'onAction' | 'onNavigation'\n>;\ntype Props = PickedUseMonthCellProps;\n\n/**\n * This component renders the individual month cell in the MonthsGridView.\n */\nexport const MonthCell = (props: Props) => {\n const { buttonProps } = useMonthCell(props);\n return <StyledDatePickerButton {...buttonProps} />;\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 { Grid } from '#UNSAFE_Grid';\nimport { TestIdProps } from '#hooks/UNSAFE_useTestId';\nimport { IsoMonth } from '#utils/UNSAFE_calendarDateUtils';\nimport { ComponentProps } from 'preact/compat';\nimport { range } from 'ramda';\nimport { MonthCell } from './MonthCell';\nimport { BundleType } from '#resources/nls/bundle';\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\n\nconst MONTHS = range(1, 13) as IsoMonth[];\n\ntype PickedMonthCellProps = Pick<ComponentProps<typeof MonthCell>, 'onAction' | 'onNavigation'>;\ntype Props = PickedMonthCellProps &\n TestIdProps & {\n /**\n * Specifies the current month determined from the today's date.\n */\n currentMonth?: IsoMonth;\n\n /**\n * Specifies which month cell should be focused first when tabbing\n * into the MonthsGridView.\n */\n focusableMonth: IsoMonth;\n\n /**\n * Specifies if the focusableMonth month cell is currently focused.\n * @default false\n */\n isFocused?: boolean;\n\n /**\n * Specifies which month cell is currently selected.\n */\n selectedMonth?: IsoMonth;\n };\n\n/**\n * This component renders the Months Grid View for the DatePicker component.\n */\nexport const MonthsGridView = ({\n currentMonth,\n focusableMonth,\n isFocused = false,\n selectedMonth,\n testId,\n onAction,\n onNavigation\n}: Props) => {\n // Lay out the Months in a 3-row grid.\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const monthsAriaLabel = translations.datePicker_months();\n\n return (\n <Grid role=\"grid\" gap={['13.5x', '0x']} testId={testId} aria-label={monthsAriaLabel}>\n {[0, 1, 2].map((rowIndex) => (\n <Grid key={rowIndex} role=\"row\" gap={['0x', '3x']} gridTemplateColumns=\"repeat(4, 1fr)\">\n {[0, 1, 2, 3].map((cellIndex) => {\n const month = MONTHS[rowIndex * 4 + cellIndex];\n return (\n <div role=\"gridcell\">\n <MonthCell\n key={`${month}`}\n month={month}\n isCurrent={month === currentMonth}\n isFocusable={month === focusableMonth}\n isFocused={month === focusableMonth && isFocused}\n isSelected={month === selectedMonth}\n onAction={onAction}\n onNavigation={onNavigation}\n />\n </div>\n );\n })}\n </Grid>\n ))}\n </Grid>\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 { StyledDatePickerButton } from '#PRIVATE_StyledDatePickerButton';\nimport { UseYearCellProps, useYearCell } from './useYearCell';\n\ntype PickedUseYearCellProps = Pick<\n UseYearCellProps,\n 'isCurrent' | 'isFocusable' | 'isFocused' | 'isSelected' | 'year' | 'onAction' | 'onNavigation'\n>;\ntype Props = PickedUseYearCellProps;\n\n/**\n * This component renders the individual year cell in the YearsGridView.\n */\nexport const YearCell = (props: Props) => {\n const { buttonProps } = useYearCell(props);\n return <StyledDatePickerButton {...buttonProps} />;\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 { StyledDatePickerButton } from '#PRIVATE_StyledDatePickerButton';\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\nimport { useUser } from '#hooks/UNSAFE_useUser';\nimport { BundleType } from '#resources/nls/bundle';\nimport { getNumericFormattedYear } from '#utils/UNSAFE_calendarDateUtils';\nimport { ComponentProps } from 'preact/compat';\nimport { useCellNavigation } from '../UNSAFE_DatePicker/useCellNavigation';\nimport { useFocusableCell } from '../UNSAFE_DatePicker/useFocusableCell';\n\nexport type UseYearCellProps = {\n /**\n * Specifies if this year is today's year.\n */\n isCurrent: boolean;\n\n /**\n * Specifies if this year should be focused first when one\n * tabs into the YearsGridView.\n */\n isFocusable: boolean;\n\n /**\n * Specifies if this year is currently focused.\n */\n isFocused: boolean;\n\n /**\n * Specifies if this year is currently selected.\n */\n isSelected: boolean;\n\n /**\n * The year represented by this YearCell.\n */\n year: number;\n\n /**\n * A callback that will be invoked when a selection action is performed on this YearCell.\n * @param payload The payload containing the year represented by this cell.\n */\n onAction: (payload: { year: number }) => void;\n\n /**\n * A callback that will be invoked when a navigation action is performed on this YearCell.\n * @param payload The payload specifying the direction of the navigation performed and the year.\n */\n onNavigation: (payload: {\n direction: 'up' | 'next' | 'down' | 'previous' | 'previousDecade' | 'nextDecade';\n year: number;\n }) => void;\n};\n\n/**\n * A custom hook that adds functionalities to the YearCell component and computes properties for the\n * StyledDatePickerButton.\n */\nexport const useYearCell = ({\n isCurrent,\n isFocusable,\n isFocused,\n isSelected,\n year,\n onAction,\n onNavigation\n}: UseYearCellProps) => {\n const { locale } = useUser();\n const yearText = getNumericFormattedYear(locale, year, 1);\n // custom aria label for selected and current year\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const ariaLabel = `${yearText}${isCurrent ? `, ${translations.datePicker_currentDate()}` : ''}${\n isSelected ? `, ${translations.datePicker_selected()}` : ''\n }`;\n\n const buttonProps = useFocusableCell({ isFocusable, isFocused });\n const buttonEventHandlers = useCellNavigation({\n navigationMap: {\n ArrowDown: 'down',\n ArrowLeft: { ltr: 'previous', rtl: 'next' },\n ArrowRight: { ltr: 'next', rtl: 'previous' },\n ArrowUp: 'up',\n PageDown: 'previousDecade',\n PageUp: 'nextDecade'\n },\n payload: { year },\n onAction,\n onNavigation\n });\n\n return {\n buttonProps: {\n 'aria-label': ariaLabel,\n isActivable: true,\n label: yearText,\n isHoverable: true,\n isSelected,\n isToday: isCurrent,\n variant: 'year' as const,\n ...buttonProps,\n ...buttonEventHandlers\n } as ComponentProps<typeof StyledDatePickerButton>\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 { Grid } from '#UNSAFE_Grid';\nimport { TestIdProps } from '#hooks/UNSAFE_useTestId';\nimport { getClosestDecade } from '#utils/UNSAFE_calendarDateUtils';\nimport { ComponentProps } from 'preact/compat';\nimport { range } from 'ramda';\nimport { YearCell } from './YearCell';\nimport { BundleType } from '#resources/nls/bundle';\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\n\n/**\n * Represents the total number of years rendered in the view\n */\nconst NUM_YEARS_IN_GRID = 11;\n\ntype PickedYearCellProps = Pick<ComponentProps<typeof YearCell>, 'onAction' | 'onNavigation'>;\ntype Props = PickedYearCellProps &\n TestIdProps & {\n /**\n * Specifies the current year determined from the today's date.\n */\n currentYear?: number;\n\n /**\n * Specifies which year cell should be focused first when tabbing\n * into the YearsGridView.\n */\n focusableYear: number;\n\n /**\n * Specifies if the focusableYear year cell is currently focused.\n * @default false\n */\n isFocused?: boolean;\n\n /**\n * Specifies which year is currently selected.\n */\n selectedYear?: number;\n };\n\n/**\n * This component renders the Years Grid View for the DatePicker component.\n */\nexport const YearsGridView = ({\n currentYear,\n focusableYear,\n isFocused = false,\n selectedYear,\n testId,\n onAction,\n onNavigation\n}: Props) => {\n const decade = getClosestDecade(focusableYear);\n // Lay out the 11 Years in a 3-row grid.\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const yearsAriaLabel = translations.datePicker_years();\n\n return (\n <Grid role=\"grid\" gap={['13.5x', '0x']} testId={testId} aria-label={yearsAriaLabel}>\n {[0, 1, 2].map((rowIndex) => (\n <Grid key={rowIndex} role=\"row\" gap={['0x', '3x']} gridTemplateColumns=\"repeat(4, 1fr)\">\n {range(rowIndex * 4, rowIndex * 4 + 4).map((index) => {\n const year = decade + index;\n if (year < decade + NUM_YEARS_IN_GRID) {\n return (\n <div role=\"gridcell\">\n <YearCell\n key={`${year}`}\n year={year}\n isCurrent={year === currentYear}\n isFocusable={year === focusableYear}\n isFocused={year === focusableYear && isFocused}\n isSelected={year === selectedYear}\n onAction={onAction}\n onNavigation={onNavigation}\n />\n </div>\n );\n }\n return null;\n })}\n </Grid>\n ))}\n </Grid>\n );\n};\n"],"names":["_isNumber","x","Object","prototype","toString","call","range$1","_curry2","from","to","TypeError","result","n","push","MonthCell","props","buttonProps","isCurrent","isFocusable","isFocused","isSelected","month","onAction","onNavigation","locale","useUser","monthText","useMemo","short","getMonthName","long","translations","useTranslationBundle","ariaLabel","datePicker_currentDate","datePicker_selected","useFocusableCell","buttonEventHandlers","useCellNavigation","navigationMap","ArrowDown","ArrowLeft","ltr","rtl","ArrowRight","ArrowUp","payload","isActivable","label","isHoverable","isToday","variant","useMonthCell","_jsx","jsx","StyledDatePickerButton","MONTHS","range","YearCell","year","yearText","getNumericFormattedYear","PageDown","PageUp","useYearCell","currentMonth","focusableMonth","selectedMonth","testId","monthsAriaLabel","datePicker_months","Grid","role","gap","children","map","rowIndex","gridTemplateColumns","cellIndex","currentYear","focusableYear","selectedYear","decade","getClosestDecade","yearsAriaLabel","datePicker_years","index"],"mappings":"iXAAe,SAASA,EAAUC,GAChC,MAA6C,oBAAtCC,OAAOC,UAAUC,SAASC,KAAKJ,EACxC,CCiBA,IAkBAK,EAhBAC,EAAAA,SAAQ,SAAeC,EAAMC,GAC3B,IAAMT,EAAUQ,KAASR,EAAUS,GACjC,MAAM,IAAIC,UAAU,2CAMtB,IAHA,IAAIC,EAAS,GACTC,EAAIJ,EAEDI,EAAIH,GACTE,EAAOE,KAAKD,GACZA,GAAK,EAGP,OAAOD,CACT,IC6BO,MC7CMG,EAAaC,IACxB,MAAMC,YAAEA,GD4CkB,GAC1BC,YACAC,cACAC,YACAC,aACAC,QACAC,WACAC,mBAEA,MAAMC,OAAEA,GAAWC,EAAAA,UACbC,EAAYC,EAAAA,SAChB,KAAO,CACLC,MAAOC,EAAAA,aAAaL,EAAQH,EAAO,IAAK,SACxCS,KAAMD,EAAAA,aAAaL,EAAQH,EAAO,IAAK,WAEzC,CAACG,EAAQH,IAILU,EAAeC,uBAAiC,4BAChDC,EAAY,GAAGP,EAAUI,OAC7Bb,EAAY,KAAKc,EAAaG,2BAA6B,KAC1Dd,EAAa,KAAKW,EAAaI,wBAA0B,KAEtDnB,EAAcoB,EAAgBA,iBAAC,CAAElB,cAAaC,cAC9CkB,EAAsBC,EAAAA,kBAAkB,CAC5CC,cAAe,CACbC,UAAW,OACXC,UAAW,CAAEC,IAAK,WAAYC,IAAK,QACnCC,WAAY,CAAEF,IAAK,OAAQC,IAAK,YAChCE,QAAS,MAEXC,QAAS,CAAEzB,SACXC,WACAC,iBAGF,MAAO,CACLP,YAAa,CACX,aAAciB,EACdc,aAAa,EACbC,MAAOtB,EAAUE,MACjBqB,aAAa,EACb7B,aACA8B,QAASjC,EACTkC,QAAS,WACNnC,KACAqB,GAEN,EC7FuBe,CAAarC,GACrC,OAAOsC,EAACC,IAAAC,EAAsBA,uBAAK,IAAAvC,GAAe,ECL9CwC,EAASC,EAAM,EAAG,ICGXC,EAAY3C,IACvB,MAAMC,YAAEA,GC2CiB,GACzBC,YACAC,cACAC,YACAC,aACAuC,OACArC,WACAC,mBAEA,MAAMC,OAAEA,GAAWC,EAAAA,UACbmC,EAAWC,EAAuBA,wBAACrC,EAAQmC,EAAM,GAEjD5B,EAAeC,uBAAiC,4BAoBtD,MAAO,CACLhB,YAAa,CACX,aArBc,GAAG4C,IAAW3C,EAAY,KAAKc,EAAaG,2BAA6B,KACzFd,EAAa,KAAKW,EAAaI,wBAA0B,KAqBvDY,aAAa,EACbC,MAAOY,EACPX,aAAa,EACb7B,aACA8B,QAASjC,EACTkC,QAAS,UAvBOf,EAAgBA,iBAAC,CAAElB,cAAaC,iBACxBmB,EAAAA,kBAAkB,CAC5CC,cAAe,CACbC,UAAW,OACXC,UAAW,CAAEC,IAAK,WAAYC,IAAK,QACnCC,WAAY,CAAEF,IAAK,OAAQC,IAAK,YAChCE,QAAS,KACTiB,SAAU,iBACVC,OAAQ,cAEVjB,QAAS,CAAEa,QACXrC,WACAC,kBAeD,EDvFuByC,CAAYjD,GACpC,OAAOsC,EAACC,IAAAC,EAAsBA,uBAAK,IAAAvC,GAAe,mBD0BtB,EAC5BiD,eACAC,iBACA/C,aAAY,EACZgD,gBACAC,SACA9C,WACAC,mBAGA,MACM8C,EADerC,uBAAiC,4BACjBsC,oBAErC,OACEjB,EAAAC,IAACiB,EAAIA,KAAA,CAACC,KAAK,OAAOC,IAAK,CAAC,QAAS,MAAOL,OAAQA,EAAoB,aAAAC,EACjEK,SAAA,CAAC,EAAG,EAAG,GAAGC,KAAKC,GACdvB,MAACkB,EAAAA,KAAoB,CAAAC,KAAK,MAAMC,IAAK,CAAC,KAAM,MAAOI,oBAAoB,iBAAgBH,SACpF,CAAC,EAAG,EAAG,EAAG,GAAGC,KAAKG,IACjB,MAAMzD,EAAQmC,EAAkB,EAAXoB,EAAeE,GACpC,OACEzB,EAAAA,IAAK,MAAA,CAAAmB,KAAK,oBACRnB,MAACvC,EAEC,CAAAO,MAAOA,EACPJ,UAAWI,IAAU4C,EACrB/C,YAAaG,IAAU6C,EACvB/C,UAAWE,IAAU6C,GAAkB/C,EACvCC,WAAYC,IAAU8C,EACtB7C,SAAUA,EACVC,aAAcA,GAPT,GAAGF,MAUZ,KAhBKuD,MAqBf,kBGlCyB,EAC3BG,cACAC,gBACA7D,aAAY,EACZ8D,eACAb,SACA9C,WACAC,mBAEA,MAAM2D,EAASC,mBAAiBH,GAG1BI,EADepD,uBAAiC,4BAClBqD,mBAEpC,OACEhC,EAAAC,IAACiB,EAAIA,KAAA,CAACC,KAAK,OAAOC,IAAK,CAAC,QAAS,MAAOL,OAAQA,eAAoBgB,EAAcV,SAC/E,CAAC,EAAG,EAAG,GAAGC,KAAKC,GACdvB,EAAAA,IAACkB,EAAIA,KAAgB,CAAAC,KAAK,MAAMC,IAAK,CAAC,KAAM,MAAOI,oBAAoB,iBAAgBH,SACpFjB,EAAiB,EAAXmB,EAAyB,EAAXA,EAAe,GAAGD,KAAKW,IAC1C,MAAM3B,EAAOuB,EAASI,EACtB,OAAI3B,EAAOuB,EAnDG,GAqDV7B,EAAAA,IAAK,MAAA,CAAAmB,KAAK,oBACRnB,MAACK,EAEC,CAAAC,KAAMA,EACN1C,UAAW0C,IAASoB,EACpB7D,YAAayC,IAASqB,EACtB7D,UAAWwC,IAASqB,GAAiB7D,EACrCC,WAAYuC,IAASsB,EACrB3D,SAAUA,EACVC,aAAcA,GAPT,GAAGoC,OAYT,IAAI,KAnBJiB,MAwBf"}
|
package/amd/index-32a870a0.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-32a870a0.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', './Layer-9fb9ca67'], (function(t,e){"use strict";const r=t=>{if(t&&Object.prototype.hasOwnProperty.call(t,e.LOGICAL_PARENT)){return t[e.LOGICAL_PARENT]}};t.isLogicalAncestor=(t,e)=>{let n=e;for(;n;){if(n===t)return!0;const e=r(n);n=e||n.parentNode}return!1}}));
|
|
2
|
-
//# sourceMappingURL=popupUtils-710dc910.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"popupUtils-710dc910.js","sources":["../../src/utils/UNSAFE_popupUtils/popupUtils.ts"],"sourcesContent":["import { LOGICAL_PARENT, LayerElement } from '../../UNSAFE_Layer/Layer';\n\nconst getLogicalParent = (node: Node) => {\n if (node && Object.prototype.hasOwnProperty.call(node, LOGICAL_PARENT)) {\n const layerElement = node as LayerElement;\n return layerElement[LOGICAL_PARENT];\n }\n return undefined;\n};\n\nexport const isLogicalAncestor = (ancestorNode: Node, node: Node) => {\n let parentNode: Node | null = node;\n while (parentNode) {\n if (parentNode === ancestorNode) {\n return true;\n }\n const logicalParent = getLogicalParent(parentNode);\n if (logicalParent) {\n parentNode = logicalParent;\n } else {\n parentNode = parentNode.parentNode as Node;\n }\n }\n return false;\n};\n"],"names":["getLogicalParent","node","Object","prototype","hasOwnProperty","call","LOGICAL_PARENT","ancestorNode","parentNode","logicalParent"],"mappings":"kEAEA,MAAMA,EAAoBC,IACxB,GAAIA,GAAQC,OAAOC,UAAUC,eAAeC,KAAKJ,EAAMK,EAAAA,gBAAiB,CAEtE,OADqBL,EACDK,EAAAA,eACrB,CACe,sBAGe,CAACC,EAAoBN,KACpD,IAAIO,EAA0BP,EAC9B,KAAOO,GAAY,CACjB,GAAIA,IAAeD,EACjB,OAAO,EAET,MAAME,EAAgBT,EAAiBQ,GAErCA,EADEC,GAGWD,EAAWA,UAE3B,CACD,OAAO,CAAK"}
|
package/amd/render-6d2dc229.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', '@testing-library/preact', '@testing-library/user-event', './LayerHost-1b4d03f0', './EnvironmentProvider-4597f540', './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-6d2dc229.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"render-6d2dc229.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 +0,0 @@
|
|
|
1
|
-
define(['require', 'exports', 'preact/jsx-runtime', '@testing-library/preact', './matchTranslationBundle-e243f90d', './LayerHost-1b4d03f0', './EnvironmentProvider-4597f540', './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-140cad66.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tabbableUtils-140cad66.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"}
|
package/amd/testData-bd34f137.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['require', 'exports', 'preact/jsx-runtime', '@testing-library/preact', 'chai', './clientHints-fff66be9', './matchTranslationBundle-e243f90d', './LayerHost-1b4d03f0', './EnvironmentProvider-4597f540'], (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-bd34f137.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"testData-bd34f137.js","sources":["../../src/UNSAFE_TableView/__tests__/testHelpers.tsx","../../src/UNSAFE_TableView/__tests__/resources/testData.ts"],"sourcesContent":["/**\n * TableView test Adapters to abstract common unit test actions away from the implementation details.\n */\nimport { render, RenderResult, waitFor } from '@testing-library/preact';\nimport { expect } from 'chai';\nimport { VNode } from 'preact';\nimport { Cell } from '..';\nimport { getClientHints } from '../../utils/PRIVATE_clientHints';\nimport { matchTranslationBundle } from '../../utils/UNSAFE_matchTranslationBundle';\nimport { RootEnvironment, RootEnvironmentProvider } from '../../UNSAFE_Environment';\n\n/**\n * Constant for timeout for longer running TableView tests\n */\nconst TABLEVIEW_LONG_TIMEOUT = 10000;\n\n/**\n * Helper method to render a TableView test component with the proper environment setup\n */\nexport const setupTableView = async (TestComponent: VNode) => {\n const locale = matchTranslationBundle(['en'], new Set(['en-US', 'en']));\n const { default: translations } = await import(`../../resources/nls/${locale}/bundle.ts`);\n const env: Partial<RootEnvironment> = {\n translations: { '@oracle/oraclejet-preact': translations }\n };\n return render(\n <RootEnvironmentProvider environment={env}>{TestComponent}</RootEnvironmentProvider>\n );\n};\n\n/**\n * Helper function to get all 'grid' role elements within the given rendered component.\n */\nexport const getInnerGrids = async (tableView: RenderResult) => {\n return tableView.findAllByRole('grid');\n};\n\n/**\n * Helper function to get all 'columnheader' role elements within the given rendered component.\n */\nexport const getColumnHeaders = async (tableView: RenderResult) => {\n return tableView.findAllByRole('columnheader');\n};\n\n/**\n * Helper function to get all 'row' role elements within the given rendered component.\n */\nexport const getRows = async (tableView: RenderResult) => {\n return tableView.findAllByRole('row');\n};\n\n/**\n * Helper function to get all data cell elements within the given data row.\n */\nexport const getDataCells = async (dataRow: Element) => {\n return dataRow.children;\n};\n\n/**\n * Helper function to get all footer elements within the given rendered component.\n */\nexport const getColumnFooters = async (tableView: RenderResult) => {\n const rows = await getRows(tableView);\n if (rows.length > 2) {\n return rows[rows.length - 1].children;\n }\n return [];\n};\n\n/**\n * Helper method to find the containing cell element of a given element.\n */\nexport const findContainingCell = (\n rootElement: HTMLElement,\n contentElement: HTMLElement\n): HTMLElement | null => {\n if (contentElement.dataset['ojCellType'] != null) {\n return contentElement;\n }\n const parentElement = contentElement.parentElement;\n if (parentElement === rootElement || parentElement == null) {\n return null;\n }\n return findContainingCell(rootElement, parentElement);\n};\n\n/**\n * Helper function to determine if the current environment is a Mac.\n */\nexport const isMac = () => {\n return getClientHints().platform === 'mac';\n};\n\n/**\n * Helper function to get the 'rowKey' test element.\n */\nexport const getRowKey = () => {\n return document.getElementById('rowKey');\n};\n\n/**\n * Helper function to get the 'columnKey' test element.\n */\nexport const getColumnKey = () => {\n return document.getElementById('columnKey');\n};\n\n/**\n * Helper function to get the 'cellType' test element.\n */\nexport const getCellType = () => {\n return document.getElementById('cellType');\n};\n\n/**\n * Helper function to verify the values of the Table's internal currentCell.\n */\nexport const verifyCurrentCellValue = async (value: Cell<string | number, string> | undefined) => {\n const expectedRowKey = value?.rowKey != null ? value.rowKey.toString() : '';\n const expectedColumnKey = value?.columnKey != null ? value.columnKey.toString() : '';\n const expectedCellType = value?.type != null ? value.type : '';\n await waitFor(() => {\n expect(getRowKey()?.textContent).to.equal(expectedRowKey);\n });\n await waitFor(() => {\n expect(getColumnKey()?.textContent).to.equal(expectedColumnKey);\n });\n await waitFor(() => {\n expect(getCellType()?.textContent).to.equal(expectedCellType);\n });\n};\n\n/**\n * Helper function to verify the values of aria-selected attributes on specific elements.\n */\nexport const verifyAriaSelected = async (\n selectedElements: Element[],\n unselectedElements: Element[]\n) => {\n for (let i = 0; i < selectedElements.length; i++) {\n await waitFor(() => {\n expect(selectedElements[i].getAttribute('aria-selected')).to.equal('true');\n });\n }\n for (let i = 0; i < unselectedElements.length; i++) {\n await waitFor(() => {\n expect(unselectedElements[i].getAttribute('aria-selected')).to.not.equal('true');\n });\n }\n};\n\n/**\n * Helper function to verify the width of a Table element.\n */\nexport const verifyElementWidth = async (element: HTMLElement, width: number) => {\n await waitFor(() => {\n expect(element.offsetWidth).to.equal(width);\n });\n};\n\n/**\n * Helper function to verify the width of a Table element.\n */\nexport const determineBrowserScrollbarWidth = async (tableView: RenderResult) => {\n const grids = await getInnerGrids(tableView);\n\n const innerTable = grids[0].children[0].children[0].children[0] as HTMLElement;\n return grids[0].offsetWidth - innerTable.offsetWidth;\n};\n\n/**\n * Helper function to apply a longer timeout for tests\n */\nexport const enableLongTimeout = () => {\n if (typeof jest === 'undefined') {\n mocha.timeout(TABLEVIEW_LONG_TIMEOUT);\n } else {\n jest.setTimeout(TABLEVIEW_LONG_TIMEOUT);\n }\n};\n","export type Department = {\n departmentId: number;\n departmentName: string;\n locationId: number;\n managerId: number;\n startDate: string;\n employeeCount: number;\n type: string;\n currency: string;\n primary: string[];\n rating: number;\n targetComplete: number;\n};\n\nexport const departmentData = [\n {\n departmentId: 10,\n departmentName: 'Finance 9',\n locationId: 300,\n managerId: 7001,\n startDate: '2014-06-13',\n employeeCount: 335,\n type: 'Sales',\n currency: 'EUR',\n primary: [],\n rating: 3,\n targetComplete: 90\n },\n {\n departmentId: 20,\n departmentName: 'Control And Credit 9',\n locationId: 300,\n managerId: 7001,\n startDate: '2019-09-10',\n employeeCount: 206,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 1,\n targetComplete: 90\n },\n {\n departmentId: 30,\n departmentName: 'Purchasing 28',\n locationId: 400,\n managerId: 6001,\n startDate: '2021-01-03',\n employeeCount: 473,\n type: 'HR',\n currency: 'JPY',\n primary: ['checked'],\n rating: 3,\n targetComplete: 50\n },\n {\n departmentId: 40,\n departmentName: 'Purchasing 27',\n locationId: 400,\n managerId: 1001,\n startDate: '2016-02-01',\n employeeCount: 369,\n type: 'Finance',\n currency: 'JPY',\n primary: [],\n rating: 5,\n targetComplete: 80\n },\n {\n departmentId: 50,\n departmentName: 'Shipping 4',\n locationId: 300,\n managerId: 2001,\n startDate: '2014-07-31',\n employeeCount: 476,\n type: 'HR',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 90\n },\n {\n departmentId: 60,\n departmentName: 'Finance 10',\n locationId: 400,\n managerId: 5001,\n startDate: '2017-01-17',\n employeeCount: 304,\n type: 'Sales',\n currency: 'JPY',\n primary: ['checked'],\n rating: 3,\n targetComplete: 80\n },\n {\n departmentId: 70,\n departmentName: 'Operations 9',\n locationId: 400,\n managerId: 6001,\n startDate: '2015-05-24',\n employeeCount: 334,\n type: 'Sales',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 60\n },\n {\n departmentId: 80,\n departmentName: 'Sales and Marketing 18',\n locationId: 500,\n managerId: 4001,\n startDate: '2017-03-25',\n employeeCount: 211,\n type: 'Finance',\n currency: 'JPY',\n primary: [],\n rating: 1,\n targetComplete: 70\n },\n {\n departmentId: 90,\n departmentName: 'Inventory 6',\n locationId: 400,\n managerId: 5001,\n startDate: '2017-12-18',\n employeeCount: 429,\n type: 'Finance',\n currency: 'EUR',\n primary: ['checked'],\n rating: 1,\n targetComplete: 70\n },\n {\n departmentId: 100,\n departmentName: 'Billing 22',\n locationId: 400,\n managerId: 6001,\n startDate: '2014-06-26',\n employeeCount: 219,\n type: 'Sales',\n currency: 'EUR',\n primary: ['checked'],\n rating: 3,\n targetComplete: 80\n },\n {\n departmentId: 110,\n departmentName: 'Finance 1',\n locationId: 100,\n managerId: 3001,\n startDate: '2020-02-12',\n employeeCount: 412,\n type: 'Finance',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 70\n },\n {\n departmentId: 120,\n departmentName: 'Sales and Marketing 28',\n locationId: 300,\n managerId: 2001,\n startDate: '2014-07-11',\n employeeCount: 373,\n type: 'HR',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 60\n },\n {\n departmentId: 130,\n departmentName: 'Operations 22',\n locationId: 300,\n managerId: 1001,\n startDate: '2015-05-26',\n employeeCount: 245,\n type: 'Marketing',\n currency: 'USD',\n primary: [],\n rating: 2,\n targetComplete: 80\n },\n {\n departmentId: 140,\n departmentName: 'Human Resources 22',\n locationId: 200,\n managerId: 1001,\n startDate: '2015-09-08',\n employeeCount: 217,\n type: 'Finance',\n currency: 'USD',\n primary: [],\n rating: 5,\n targetComplete: 70\n },\n {\n departmentId: 150,\n departmentName: 'Shipping 17',\n locationId: 300,\n managerId: 6001,\n startDate: '2017-10-04',\n employeeCount: 441,\n type: 'HR',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 60\n },\n {\n departmentId: 160,\n departmentName: 'Administration 8',\n locationId: 400,\n managerId: 2001,\n startDate: '2014-12-21',\n employeeCount: 332,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 2,\n targetComplete: 60\n },\n {\n departmentId: 170,\n departmentName: 'Purchasing 14',\n locationId: 400,\n managerId: 4001,\n startDate: '2019-01-25',\n employeeCount: 282,\n type: 'Marketing',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 70\n },\n {\n departmentId: 180,\n departmentName: 'Operations 13',\n locationId: 400,\n managerId: 2001,\n startDate: '2016-01-18',\n employeeCount: 336,\n type: 'Finance',\n currency: 'EUR',\n primary: ['checked'],\n rating: 4,\n targetComplete: 90\n },\n {\n departmentId: 190,\n departmentName: 'Control And Credit 18',\n locationId: 100,\n managerId: 1001,\n startDate: '2014-03-11',\n employeeCount: 391,\n type: 'Sales',\n currency: 'JPY',\n primary: [],\n rating: 4,\n targetComplete: 50\n },\n {\n departmentId: 200,\n departmentName: 'Purchasing 10',\n locationId: 200,\n managerId: 7001,\n startDate: '2014-02-06',\n employeeCount: 211,\n type: 'Sales',\n currency: 'JPY',\n primary: [],\n rating: 4,\n targetComplete: 80\n },\n {\n departmentId: 210,\n departmentName: 'Finance 2',\n locationId: 100,\n managerId: 5001,\n startDate: '2014-01-29',\n employeeCount: 239,\n type: 'Finance',\n currency: 'EUR',\n primary: ['checked'],\n rating: 1,\n targetComplete: 50\n },\n {\n departmentId: 220,\n departmentName: 'Administration 4',\n locationId: 300,\n managerId: 6001,\n startDate: '2014-08-15',\n employeeCount: 355,\n type: 'Marketing',\n currency: 'EUR',\n primary: ['checked'],\n rating: 4,\n targetComplete: 50\n },\n {\n departmentId: 230,\n departmentName: 'Human Resources 6',\n locationId: 300,\n managerId: 6001,\n startDate: '2020-03-14',\n employeeCount: 385,\n type: 'Marketing',\n currency: 'EUR',\n primary: [],\n rating: 1,\n targetComplete: 60\n },\n {\n departmentId: 240,\n departmentName: 'Control And Credit 24',\n locationId: 200,\n managerId: 7001,\n startDate: '2015-04-25',\n employeeCount: 355,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 3,\n targetComplete: 90\n },\n {\n departmentId: 250,\n departmentName: 'Control And Credit 8',\n locationId: 200,\n managerId: 6001,\n startDate: '2020-11-17',\n employeeCount: 361,\n type: 'Marketing',\n currency: 'USD',\n primary: ['checked'],\n rating: 1,\n targetComplete: 80\n },\n {\n departmentId: 260,\n departmentName: 'Billing 21',\n locationId: 200,\n managerId: 5001,\n startDate: '2018-05-18',\n employeeCount: 467,\n type: 'Finance',\n currency: 'EUR',\n primary: [],\n rating: 4,\n targetComplete: 90\n },\n {\n departmentId: 270,\n departmentName: 'Administration 5',\n locationId: 400,\n managerId: 3001,\n startDate: '2016-07-09',\n employeeCount: 495,\n type: 'Marketing',\n currency: 'USD',\n primary: [],\n rating: 1,\n targetComplete: 80\n },\n {\n departmentId: 280,\n departmentName: 'Purchasing 27',\n locationId: 100,\n managerId: 1001,\n startDate: '2017-01-20',\n employeeCount: 364,\n type: 'Finance',\n currency: 'JPY',\n primary: [],\n rating: 1,\n targetComplete: 60\n },\n {\n departmentId: 290,\n departmentName: 'Human Resources 24',\n locationId: 200,\n managerId: 6001,\n startDate: '2020-03-03',\n employeeCount: 242,\n type: 'Marketing',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 90\n },\n {\n departmentId: 300,\n departmentName: 'Finance 23',\n locationId: 300,\n managerId: 1001,\n startDate: '2020-09-20',\n employeeCount: 327,\n type: 'Finance',\n currency: 'EUR',\n primary: [],\n rating: 3,\n targetComplete: 60\n },\n {\n departmentId: 310,\n departmentName: 'Inventory 24',\n locationId: 500,\n managerId: 3001,\n startDate: '2015-07-18',\n employeeCount: 420,\n type: 'Finance',\n currency: 'JPY',\n primary: [],\n rating: 5,\n targetComplete: 70\n },\n {\n departmentId: 320,\n departmentName: 'Shipping 26',\n locationId: 400,\n managerId: 1001,\n startDate: '2015-09-16',\n employeeCount: 219,\n type: 'Sales',\n currency: 'EUR',\n primary: [],\n rating: 3,\n targetComplete: 60\n },\n {\n departmentId: 330,\n departmentName: 'Inventory 22',\n locationId: 200,\n managerId: 5001,\n startDate: '2014-11-22',\n employeeCount: 356,\n type: 'HR',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 90\n },\n {\n departmentId: 340,\n departmentName: 'Purchasing 4',\n locationId: 300,\n managerId: 6001,\n startDate: '2014-03-02',\n employeeCount: 202,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 3,\n targetComplete: 50\n },\n {\n departmentId: 350,\n departmentName: 'Purchasing 9',\n locationId: 400,\n managerId: 7001,\n startDate: '2020-06-09',\n employeeCount: 415,\n type: 'Finance',\n currency: 'USD',\n primary: ['checked'],\n rating: 2,\n targetComplete: 70\n },\n {\n departmentId: 360,\n departmentName: 'Purchasing 14',\n locationId: 300,\n managerId: 1001,\n startDate: '2020-07-20',\n employeeCount: 323,\n type: 'HR',\n currency: 'JPY',\n primary: ['checked'],\n rating: 5,\n targetComplete: 70\n },\n {\n departmentId: 370,\n departmentName: 'Operations 4',\n locationId: 500,\n managerId: 6001,\n startDate: '2015-08-23',\n employeeCount: 473,\n type: 'HR',\n currency: 'USD',\n primary: [],\n rating: 5,\n targetComplete: 80\n },\n {\n departmentId: 380,\n departmentName: 'Sales and Marketing 26',\n locationId: 500,\n managerId: 1001,\n startDate: '2017-08-02',\n employeeCount: 380,\n type: 'Finance',\n currency: 'EUR',\n primary: [],\n rating: 3,\n targetComplete: 60\n },\n {\n departmentId: 390,\n departmentName: 'Control And Credit 12',\n locationId: 200,\n managerId: 1001,\n startDate: '2017-10-08',\n employeeCount: 328,\n type: 'Sales',\n currency: 'USD',\n primary: [],\n rating: 2,\n targetComplete: 60\n },\n {\n departmentId: 400,\n departmentName: 'Sales and Marketing 6',\n locationId: 300,\n managerId: 7001,\n startDate: '2019-02-06',\n employeeCount: 301,\n type: 'Marketing',\n currency: 'USD',\n primary: [],\n rating: 2,\n targetComplete: 50\n },\n {\n departmentId: 410,\n departmentName: 'Administration 3',\n locationId: 400,\n managerId: 3001,\n startDate: '2020-07-09',\n employeeCount: 250,\n type: 'Finance',\n currency: 'USD',\n primary: ['checked'],\n rating: 2,\n targetComplete: 50\n },\n {\n departmentId: 420,\n departmentName: 'Finance 18',\n locationId: 400,\n managerId: 6001,\n startDate: '2017-08-07',\n employeeCount: 409,\n type: 'Marketing',\n currency: 'USD',\n primary: [],\n rating: 1,\n targetComplete: 90\n },\n {\n departmentId: 430,\n departmentName: 'Operations 11',\n locationId: 400,\n managerId: 3001,\n startDate: '2015-09-24',\n employeeCount: 296,\n type: 'Marketing',\n currency: 'USD',\n primary: ['checked'],\n rating: 3,\n targetComplete: 80\n },\n {\n departmentId: 440,\n departmentName: 'Inventory 6',\n locationId: 300,\n managerId: 4001,\n startDate: '2016-05-27',\n employeeCount: 467,\n type: 'HR',\n currency: 'EUR',\n primary: ['checked'],\n rating: 3,\n targetComplete: 70\n },\n {\n departmentId: 450,\n departmentName: 'Inventory 27',\n locationId: 300,\n managerId: 4001,\n startDate: '2019-05-29',\n employeeCount: 244,\n type: 'HR',\n currency: 'JPY',\n primary: ['checked'],\n rating: 1,\n targetComplete: 90\n },\n {\n departmentId: 460,\n departmentName: 'Transportation 8',\n locationId: 400,\n managerId: 6001,\n startDate: '2018-08-23',\n employeeCount: 443,\n type: 'Finance',\n currency: 'EUR',\n primary: [],\n rating: 2,\n targetComplete: 80\n },\n {\n departmentId: 470,\n departmentName: 'Inventory 21',\n locationId: 300,\n managerId: 5001,\n startDate: '2015-01-20',\n employeeCount: 250,\n type: 'Sales',\n currency: 'JPY',\n primary: [],\n rating: 1,\n targetComplete: 50\n },\n {\n departmentId: 480,\n departmentName: 'Finance 14',\n locationId: 300,\n managerId: 7001,\n startDate: '2014-09-24',\n employeeCount: 319,\n type: 'Marketing',\n currency: 'USD',\n primary: ['checked'],\n rating: 5,\n targetComplete: 50\n },\n {\n departmentId: 490,\n departmentName: 'Human Resources 12',\n locationId: 300,\n managerId: 5001,\n startDate: '2019-06-29',\n employeeCount: 448,\n type: 'HR',\n currency: 'JPY',\n primary: [],\n rating: 2,\n targetComplete: 70\n },\n {\n departmentId: 500,\n departmentName: 'Transportation 29',\n locationId: 300,\n managerId: 5001,\n startDate: '2014-01-07',\n employeeCount: 453,\n type: 'HR',\n currency: 'EUR',\n primary: ['checked'],\n rating: 3,\n targetComplete: 80\n }\n];\n\nexport type Employee = {\n id: string;\n name: string;\n title: string;\n initial: string;\n};\n\nexport const employeeData: Employee[] = [\n {\n id: '3',\n name: 'Chris Benalamore',\n title: 'Area Business Operations Director EMEA & JAPAC',\n initial: 'CB'\n },\n {\n id: '1',\n name: 'Chris Black',\n title: 'Oracle Cloud Infrastructure GTM Channel Director EMEA',\n initial: 'CB'\n },\n {\n id: '2',\n name: 'Christine Cooper',\n title: 'Senior Principal Escalation Manager',\n initial: 'CC'\n },\n {\n id: '4',\n name: 'Christopher Johnson',\n title: 'Vice-President HCM Application Development',\n initial: 'CJ'\n },\n {\n id: '6',\n name: 'Kurt Marchris',\n title: 'Customer Service Analyst',\n initial: 'KM'\n },\n {\n id: '5',\n name: 'Samire Christian',\n title: 'Consulting Project Technical Manager',\n initial: 'SC'\n },\n {\n id: '7',\n name: 'Zelda Christian Cooperman',\n title: 'Senior Principal Escalation Manager 2',\n initial: 'ZC'\n }\n];\n\nexport type EmployeeStatus = {\n employeeId: number;\n firstName: string;\n lastName: string;\n revenue: number;\n targetComplete: number;\n targetIncomplete: number;\n rating: number;\n status: string;\n salary: number;\n bonus: number;\n departmentId: number;\n};\n\nexport const employeeStatusData = [\n {\n employeeId: 10,\n firstName: 'Frank',\n lastName: 'Stout',\n revenue: 33200,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 5,\n status: 'Pending',\n salary: 159000,\n bonus: 47900,\n departmentId: 320\n },\n {\n employeeId: 20,\n firstName: 'Mara',\n lastName: 'Rivers',\n revenue: 17200,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 3,\n status: 'Pending',\n salary: 200000,\n bonus: 45300,\n departmentId: 40\n },\n {\n employeeId: 30,\n firstName: 'Karina',\n lastName: 'Cameron',\n revenue: 30100,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 4,\n status: 'Approved',\n salary: 279000,\n bonus: 79700,\n departmentId: 370\n },\n {\n employeeId: 40,\n firstName: 'Marilyn',\n lastName: 'Short',\n revenue: 48800,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 3,\n status: 'Approved',\n salary: 106000,\n bonus: 77500,\n departmentId: 310\n },\n {\n employeeId: 50,\n firstName: 'Audra',\n lastName: 'Long',\n revenue: 40700,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Pending',\n salary: 123000,\n bonus: 39900,\n departmentId: 490\n },\n {\n employeeId: 60,\n firstName: 'Woods',\n lastName: 'Jefferson',\n revenue: 29000,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 3,\n status: 'Pending',\n salary: 145000,\n bonus: 49600,\n departmentId: 160\n },\n {\n employeeId: 70,\n firstName: 'Spears',\n lastName: 'Howe',\n revenue: 32900,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 5,\n status: 'Approved',\n salary: 120000,\n bonus: 30300,\n departmentId: 460\n },\n {\n employeeId: 80,\n firstName: 'Kelsey',\n lastName: 'Gomez',\n revenue: 34200,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 1,\n status: 'Pending',\n salary: 147000,\n bonus: 79800,\n departmentId: 330\n },\n {\n employeeId: 90,\n firstName: 'Miriam',\n lastName: 'Branch',\n revenue: 42800,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 3,\n status: 'Pending',\n salary: 117000,\n bonus: 43000,\n departmentId: 50\n },\n {\n employeeId: 100,\n firstName: 'Tisha',\n lastName: 'Parks',\n revenue: 17800,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 1,\n status: 'Pending',\n salary: 136000,\n bonus: 33800,\n departmentId: 200\n },\n {\n employeeId: 110,\n firstName: 'Dollie',\n lastName: 'Pittman',\n revenue: 15700,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 3,\n status: 'Approved',\n salary: 121000,\n bonus: 60600,\n departmentId: 500\n },\n {\n employeeId: 120,\n firstName: 'Leticia',\n lastName: 'Goodman',\n revenue: 16200,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 5,\n status: 'Pending',\n salary: 295000,\n bonus: 74900,\n departmentId: 300\n },\n {\n employeeId: 130,\n firstName: 'Harrison',\n lastName: 'Jarvis',\n revenue: 32500,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 1,\n status: 'Pending',\n salary: 125000,\n bonus: 59600,\n departmentId: 80\n },\n {\n employeeId: 140,\n firstName: 'Salinas',\n lastName: 'Richardson',\n revenue: 49600,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 5,\n status: 'Pending',\n salary: 228000,\n bonus: 50500,\n departmentId: 50\n },\n {\n employeeId: 150,\n firstName: 'Barry',\n lastName: 'Maxwell',\n revenue: 42800,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 5,\n status: 'Pending',\n salary: 269000,\n bonus: 52200,\n departmentId: 400\n },\n {\n employeeId: 160,\n firstName: 'Diaz',\n lastName: 'Velazquez',\n revenue: 24100,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 4,\n status: 'Approved',\n salary: 242000,\n bonus: 45000,\n departmentId: 370\n },\n {\n employeeId: 170,\n firstName: 'Minnie',\n lastName: 'Riley',\n revenue: 12000,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 2,\n status: 'Approved',\n salary: 107000,\n bonus: 67500,\n departmentId: 250\n },\n {\n employeeId: 180,\n firstName: 'Fulton',\n lastName: 'Bernard',\n revenue: 29400,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 4,\n status: 'Approved',\n salary: 259000,\n bonus: 37400,\n departmentId: 170\n },\n {\n employeeId: 190,\n firstName: 'Chandler',\n lastName: 'Mccarty',\n revenue: 30100,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 1,\n status: 'Approved',\n salary: 185000,\n bonus: 74000,\n departmentId: 250\n },\n {\n employeeId: 200,\n firstName: 'Flowers',\n lastName: 'Hernandez',\n revenue: 20700,\n targetComplete: 70,\n targetIncomplete: 30,\n rating: 4,\n status: 'Approved',\n salary: 135000,\n bonus: 39300,\n departmentId: 260\n },\n {\n employeeId: 210,\n firstName: 'Donaldson',\n lastName: 'Sharp',\n revenue: 42300,\n targetComplete: 70,\n targetIncomplete: 30,\n rating: 3,\n status: 'Pending',\n salary: 176000,\n bonus: 67600,\n departmentId: 250\n },\n {\n employeeId: 220,\n firstName: 'Melanie',\n lastName: 'Gamble',\n revenue: 30100,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Approved',\n salary: 219000,\n bonus: 52400,\n departmentId: 230\n },\n {\n employeeId: 230,\n firstName: 'Leona',\n lastName: 'Erickson',\n revenue: 11400,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 1,\n status: 'Pending',\n salary: 185000,\n bonus: 57300,\n departmentId: 160\n },\n {\n employeeId: 240,\n firstName: 'Dionne',\n lastName: 'Howell',\n revenue: 44200,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 1,\n status: 'Approved',\n salary: 211000,\n bonus: 65800,\n departmentId: 130\n },\n {\n employeeId: 250,\n firstName: 'June',\n lastName: 'Warren',\n revenue: 39500,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Approved',\n salary: 222000,\n bonus: 65200,\n departmentId: 260\n },\n {\n employeeId: 260,\n firstName: 'Carey',\n lastName: 'Johns',\n revenue: 36000,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Approved',\n salary: 233000,\n bonus: 69500,\n departmentId: 190\n },\n {\n employeeId: 270,\n firstName: 'Estelle',\n lastName: 'Bowers',\n revenue: 27600,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 2,\n status: 'Approved',\n salary: 212000,\n bonus: 37700,\n departmentId: 120\n },\n {\n employeeId: 280,\n firstName: 'Rena',\n lastName: 'Blanchard',\n revenue: 16000,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Approved',\n salary: 135000,\n bonus: 51000,\n departmentId: 380\n },\n {\n employeeId: 290,\n firstName: 'Hinton',\n lastName: 'Tillman',\n revenue: 42400,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 4,\n status: 'Pending',\n salary: 134000,\n bonus: 49600,\n departmentId: 40\n },\n {\n employeeId: 300,\n firstName: 'Gloria',\n lastName: 'Everett',\n revenue: 42100,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Approved',\n salary: 278000,\n bonus: 38400,\n departmentId: 180\n },\n {\n employeeId: 310,\n firstName: 'Ware',\n lastName: 'Simon',\n revenue: 49500,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Approved',\n salary: 142000,\n bonus: 43900,\n departmentId: 190\n },\n {\n employeeId: 320,\n firstName: 'Carolina',\n lastName: 'Holmes',\n revenue: 22700,\n targetComplete: 80,\n targetIncomplete: 20,\n rating: 4,\n status: 'Pending',\n salary: 181000,\n bonus: 52000,\n departmentId: 320\n },\n {\n employeeId: 330,\n firstName: 'Day',\n lastName: 'Newman',\n revenue: 46000,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 5,\n status: 'Approved',\n salary: 117000,\n bonus: 66700,\n departmentId: 290\n },\n {\n employeeId: 340,\n firstName: 'Nielsen',\n lastName: 'Harrell',\n revenue: 13800,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 5,\n status: 'Pending',\n salary: 212000,\n bonus: 39600,\n departmentId: 70\n },\n {\n employeeId: 350,\n firstName: 'Barbara',\n lastName: 'Moore',\n revenue: 37600,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Pending',\n salary: 185000,\n bonus: 61800,\n departmentId: 340\n },\n {\n employeeId: 360,\n firstName: 'Reese',\n lastName: 'Green',\n revenue: 27500,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 4,\n status: 'Approved',\n salary: 168000,\n bonus: 72500,\n departmentId: 30\n },\n {\n employeeId: 370,\n firstName: 'Paige',\n lastName: 'Gregory',\n revenue: 22300,\n targetComplete: 70,\n targetIncomplete: 30,\n rating: 3,\n status: 'Pending',\n salary: 270000,\n bonus: 33500,\n departmentId: 360\n },\n {\n employeeId: 380,\n firstName: 'Jaclyn',\n lastName: 'Mann',\n revenue: 29700,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 1,\n status: 'Approved',\n salary: 224000,\n bonus: 76400,\n departmentId: 120\n },\n {\n employeeId: 390,\n firstName: 'Lula',\n lastName: 'Fowler',\n revenue: 40700,\n targetComplete: 60,\n targetIncomplete: 40,\n rating: 3,\n status: 'Approved',\n salary: 211000,\n bonus: 57000,\n departmentId: 320\n },\n {\n employeeId: 400,\n firstName: 'Regina',\n lastName: 'Watson',\n revenue: 10600,\n targetComplete: 50,\n targetIncomplete: 50,\n rating: 3,\n status: 'Pending',\n salary: 211000,\n bonus: 31600,\n departmentId: 470\n },\n {\n employeeId: 410,\n firstName: 'Candice',\n lastName: 'Hardin',\n revenue: 48200,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 4,\n status: 'Pending',\n salary: 191000,\n bonus: 73400,\n departmentId: 110\n },\n {\n employeeId: 420,\n firstName: 'Pate',\n lastName: 'Haney',\n revenue: 12600,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 2,\n status: 'Approved',\n salary: 247000,\n bonus: 71600,\n departmentId: 200\n },\n {\n employeeId: 430,\n firstName: 'Snider',\n lastName: 'Shepard',\n revenue: 30900,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 4,\n status: 'Pending',\n salary: 230000,\n bonus: 59200,\n departmentId: 20\n },\n {\n employeeId: 440,\n firstName: 'Fleming',\n lastName: 'Torres',\n revenue: 13500,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 5,\n status: 'Approved',\n salary: 111000,\n bonus: 69800,\n departmentId: 120\n },\n {\n employeeId: 450,\n firstName: 'Terrie',\n lastName: 'Grimes',\n revenue: 47200,\n targetComplete: 40,\n targetIncomplete: 60,\n rating: 4,\n status: 'Pending',\n salary: 118000,\n bonus: 42900,\n departmentId: 460\n },\n {\n employeeId: 460,\n firstName: 'Hallie',\n lastName: 'Frye',\n revenue: 20900,\n targetComplete: 60,\n targetIncomplete: 40,\n rating: 4,\n status: 'Approved',\n salary: 218000,\n bonus: 50000,\n departmentId: 340\n },\n {\n employeeId: 470,\n firstName: 'Jerry',\n lastName: 'Salazar',\n revenue: 43300,\n targetComplete: 90,\n targetIncomplete: 10,\n rating: 5,\n status: 'Approved',\n salary: 103000,\n bonus: 49800,\n departmentId: 440\n },\n {\n employeeId: 480,\n firstName: 'Sally',\n lastName: 'Barnett',\n revenue: 39500,\n targetComplete: 30,\n targetIncomplete: 70,\n rating: 3,\n status: 'Pending',\n salary: 132000,\n bonus: 80000,\n departmentId: 160\n },\n {\n employeeId: 490,\n firstName: 'Goldie',\n lastName: 'Kelly',\n revenue: 32600,\n targetComplete: 20,\n targetIncomplete: 80,\n rating: 5,\n status: 'Approved',\n salary: 102000,\n bonus: 39000,\n departmentId: 10\n },\n {\n employeeId: 500,\n firstName: 'Brianna',\n lastName: 'Compton',\n revenue: 30400,\n targetComplete: 60,\n targetIncomplete: 40,\n rating: 4,\n status: 'Pending',\n salary: 114000,\n bonus: 78200,\n departmentId: 280\n }\n];\n"],"names":["getInnerGrids","async","tableView","findAllByRole","getRows","findContainingCell","rootElement","contentElement","dataset","parentElement","grids","innerTable","children","offsetWidth","id","name","title","initial","jest","mocha","timeout","setTimeout","rows","length","dataRow","getClientHints","platform","TestComponent","locale","matchTranslationBundle","Set","default","translations","__variableDynamicImportRuntime0__","env","render","_jsx","RootEnvironmentProvider","environment","selectedElements","unselectedElements","i","waitFor","expect","getAttribute","to","equal","not","value","expectedRowKey","rowKey","toString","expectedColumnKey","columnKey","expectedCellType","type","document","getElementById","textContent","element","width"],"mappings":"kPAcA,MAmBaA,EAAgBC,MAAOC,GAC3BA,EAAUC,cAAc,QAapBC,EAAUH,MAAOC,GACrBA,EAAUC,cAAc,OAwBpBE,EAAqB,CAChCC,EACAC,KAEA,GAA4C,MAAxCA,EAAeC,QAAoB,WACrC,OAAOD,EAET,MAAME,EAAgBF,EAAeE,cACrC,OAAIA,IAAkBH,GAAgC,MAAjBG,EAC5B,KAEFJ,EAAmBC,EAAaG,EAAc,mCAgFTR,MAAOC,IACnD,MAAMQ,QAAcV,EAAcE,GAE5BS,EAAaD,EAAM,GAAGE,SAAS,GAAGA,SAAS,GAAGA,SAAS,GAC7D,OAAOF,EAAM,GAAGG,YAAcF,EAAWE,WAAW,iBC2fd,CACtC,CACEC,GAAI,IACJC,KAAM,mBACNC,MAAO,iDACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,cACNC,MAAO,wDACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,mBACNC,MAAO,sCACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,sBACNC,MAAO,6CACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,gBACNC,MAAO,2BACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,mBACNC,MAAO,uCACPC,QAAS,MAEX,CACEH,GAAI,IACJC,KAAM,4BACNC,MAAO,wCACPC,QAAS,2BD9hBoB,KACX,oBAATC,KACTC,MAAMC,QAjKqB,KAmK3BF,KAAKG,WAnKsB,IAoK5B,4CArH6BpB,MAAOC,IACrC,MAAMoB,QAAalB,EAAQF,GAC3B,OAAIoB,EAAKC,OAAS,EACTD,EAAKA,EAAKC,OAAS,GAAGX,SAExB,EAAE,qBA1BqBX,MAAOC,GAC9BA,EAAUC,cAAc,+BAaLF,MAAOuB,GAC1BA,EAAQZ,+CAkCI,IACkB,QAA9Ba,EAAcA,iBAAGC,0BAvEIzB,MAAO0B,IACnC,MAAMC,EAASC,yBAAuB,CAAC,MAAO,IAAIC,IAAI,CAAC,QAAS,SACxDC,QAASC,6uKAAuBC,CAAO,uBAAuBL,eAChEM,EAAgC,CACpCF,aAAc,CAAE,2BAA4BA,IAE9C,OAAOG,EAAMA,OACXC,MAACC,EAAAA,wBAAwB,CAAAC,YAAaJ,EAAMtB,SAAAe,IAC7C,uBA4G+B1B,MAChCsC,EACAC,KAEA,IAAK,IAAIC,EAAI,EAAGA,EAAIF,EAAiBhB,OAAQkB,UACrCC,EAAOA,SAAC,KACZC,SAAOJ,EAAiBE,GAAGG,aAAa,kBAAkBC,GAAGC,MAAM,OAAO,IAG9E,IAAK,IAAIL,EAAI,EAAGA,EAAID,EAAmBjB,OAAQkB,UACvCC,EAAOA,SAAC,KACZC,EAAAA,OAAOH,EAAmBC,GAAGG,aAAa,kBAAkBC,GAAGE,IAAID,MAAM,OAAO,GAEnF,2BA/BmC7C,MAAO+C,IAC3C,MAAMC,EAAkC,MAAjBD,GAAOE,OAAiBF,EAAME,OAAOC,WAAa,GACnEC,EAAwC,MAApBJ,GAAOK,UAAoBL,EAAMK,UAAUF,WAAa,GAC5EG,EAAkC,MAAfN,GAAOO,KAAeP,EAAMO,KAAO,SACtDb,EAAOA,SAAC,KACZC,EAAMA,OAzBDa,SAASC,eAAe,WAyBTC,aAAab,GAAGC,MAAMG,EAAe,UAErDP,EAAOA,SAAC,KACZC,EAAMA,OArBDa,SAASC,eAAe,cAqBNC,aAAab,GAAGC,MAAMM,EAAkB,UAE3DV,EAAOA,SAAC,KACZC,EAAMA,OAjBDa,SAASC,eAAe,aAiBPC,aAAab,GAAGC,MAAMQ,EAAiB,GAC7D,uBAyB8BrD,MAAO0D,EAAsBC,WACvDlB,EAAOA,SAAC,KACZC,EAAMA,OAACgB,EAAQ9C,aAAagC,GAAGC,MAAMc,EAAM,GAC3C"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', './LayerHost-1b4d03f0', './EnvironmentProvider-4597f540', './Floating-28ad0903', './Layer-9fb9ca67', 'preact/compat'], (function(t,e,i,r,a,n,o){"use strict";const s=["Tab","ArrowLeft","ArrowRight","ArrowUp","ArrowDown"];const c=new class{constructor(){this.keyDownHandler=t=>{s.includes(t.key)&&(this.triggerKeyActive=!0,setTimeout((()=>{this.triggerKeyActive=!1}),100))},this.register=t=>{this.activeCallback&&this.activeCallback!==t&&this.activeCallback(),this.activeCallback=t},this.unregister=t=>{this.activeCallback===t&&(this.activeCallback=null)},this.isTabKeyActive=()=>this.triggerKeyActive,this.activeCallback=null,this.triggerKeyActive=!1,window.addEventListener("keydown",this.keyDownHandler,!0)}};t.HIDE_TOOLTIP_DELAY=150,t.SHOW_TOOLTIP_DELAY=1e3,t.getGlobalTooltipManager=()=>c,t.getWrappedTooltipContent=(t,i,o,s,c,l)=>{const h=l||{mainAxis:8,crossAxis:0},g=o&&"light"!==o?"light":"dark";return e.jsx(n.Layer,{priority:"tooltip",children:e.jsx(a.Floating,{anchorRef:s,placement:c,offsetValue:h,children:"tooltip"===i?e.jsx(r.EnvironmentProvider,{environment:{colorScheme:g},children:t}):e.jsx(e.Fragment,{children:t})})})}}));
|
|
2
|
-
//# sourceMappingURL=tooltipUtils-304eef18.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tooltipUtils-304eef18.js","sources":["../../src/hooks/UNSAFE_useTooltip/TooltipManager.ts","../../src/utils/PRIVATE_tooltipUtils/tooltipUtils.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nexport type TooltipManagerCallback = () => void;\n\nconst FocusTriggerKeys = ['Tab', 'ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown'];\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 triggerKeyActive: boolean;\n\n private keyDownHandler = (event: KeyboardEvent) => {\n if (FocusTriggerKeys.includes(event.key)) {\n this.triggerKeyActive = true;\n setTimeout(() => {\n this.triggerKeyActive = false;\n }, 100);\n }\n };\n\n constructor() {\n this.activeCallback = null;\n this.triggerKeyActive = 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.triggerKeyActive;\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 */\nimport type { RefObject } from 'preact';\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 delays (in ms) for Redwood tooltips.\n */\nexport const SHOW_TOOLTIP_DELAY = 1000;\nexport const HIDE_TOOLTIP_DELAY = 150;\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: RefObject<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 priority=\"tooltip\">\n <Floating anchorRef={anchorRef} placement={placement} offsetValue={newOffset}>\n {renderTooltipOrDatatip()}\n </Floating>\n </Layer>\n );\n};\n"],"names":["FocusTriggerKeys","globalTooltipManager","constructor","this","keyDownHandler","event","includes","key","triggerKeyActive","setTimeout","register","callback","activeCallback","unregister","isTabKeyActive","window","addEventListener","tooltipContent","variant","colorScheme","anchorRef","placement","offset","newOffset","mainAxis","crossAxis","newColorScheme","_jsx","jsx","Layer","priority","children","Floating","offsetValue","EnvironmentProvider","environment","_Fragment","Fragment"],"mappings":"+LAUA,MAAMA,EAAmB,CAAC,MAAO,YAAa,aAAc,UAAW,aCMvE,MAAMC,EAAuB,UDe3B,WAAAC,GATQC,KAAAC,eAAkBC,IACpBL,EAAiBM,SAASD,EAAME,OAClCJ,KAAKK,kBAAmB,EACxBC,YAAW,KACTN,KAAKK,kBAAmB,CAAK,GAC5B,KACJ,EAYIL,KAAAO,SAAYC,IACbR,KAAKS,gBAAkBT,KAAKS,iBAAmBD,GACjDR,KAAKS,iBAEPT,KAAKS,eAAiBD,CAAQ,EAMzBR,KAAAU,WAAcF,IACfR,KAAKS,iBAAmBD,IAC1BR,KAAKS,eAAiB,KACvB,EAMIT,KAAcW,eAAG,IACfX,KAAKK,iBA5BZL,KAAKS,eAAiB,KACtBT,KAAKK,kBAAmB,EACxBO,OAAOC,iBAAiB,UAAWb,KAAKC,gBAAgB,EACzD,wBCb+B,yBADA,8BAMK,IAC9BH,6BAM+B,CACtCgB,EACAC,EACAC,EACAC,EACAC,EACAC,KAEA,MACMC,EAAYD,GAAkB,CAAEE,SADhB,EACyCC,UAAW,GAEpEC,EAAkBP,GAA+B,UAAhBA,EAAmC,QAAT,OAcjE,OACEQ,EAAAC,IAACC,EAAKA,MAAA,CAACC,SAAS,UAASC,SACvBJ,EAAAA,IAACK,EAAAA,SAAS,CAAAZ,UAAWA,EAAWC,UAAWA,EAAWY,YAAaV,EAChEQ,SAdW,YAAZb,EAEAS,EAAAC,IAACM,sBAAmB,CAACC,YAAa,CAAEhB,YAAaO,GAAgBK,SAC9Dd,IAIEU,EAAAC,IAAAQ,EAAAC,SAAA,CAAAN,SAAGd,OAUZ"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', './useDatatip-db874c22', './layoutUtils-ba7693df', 'preact/jsx-runtime', './VisTabularDatatip-23cf3cfc', './colorUtils-bc5b1d84', './accUtils-93ee6f16', './useUser-abae2493'], (function(e,s,t,a,i,r,o,n){"use strict";function l(e,s,t,a,i,r,o,n){let l,u,d;if(n&&"y"in e){const s=e.x;u=a?.x?.format?a?.value?.format?.(s):o?.(s);const t=e.y;d=a?.y?.format?a?.value?.format?.(t):o?.(t)}else if("value"in e&&void 0!==e.value){const s=e.value;l=a?.value?.format?a?.value?.format?.(s):o?.(s)}const p=[];return 0!=a?.series?.isDisplayed&&p.push({key:a?.series?.label||"Series",value:s}),0!=a?.group?.isDisplayed&&p.push({key:a?.group?.label||(i?"Date":"Group"),value:i?r?.(new Date(t).getTime()):t}),0!=a?.value?.isDisplayed&&(n?(p.push({key:a?.value?.label||"X",value:u}),p.push({key:a?.value?.label||"Y",value:d})):p.push({key:a?.value?.label||"Value",value:l})),p}e.useChartDatatip=({isDataCursorEnabled:e,dataCursorPosition:o,isHoriz:u,datatip:d,xScale:p,getDataItem:x,getDataItemPos:c,hoveredItemInfo:m,focusedItemInfo:f,series:v,valueFormats:g,groups:I,width:b,height:y,findNearest:h,timeAxisType:D,touchResponse:A,isDisabled:C,formatAxisLabel:T,formatYValue:V,hasXYValues:Y})=>{let k=I.length>0&&v.length>0?C?void 0:f?.isCurrent?f:m?.isCurrent&&void 0!==m.seriesIndex&&void 0!==m.groupIndex?m:void 0:void 0;const U=f?.isCurrent||e?"element":"pointer",F=f?.isCurrent?c(f.seriesIndex,f.groupIndex):void 0,{direction:P}=n.useUser(),X="rtl"===P;let L,R,S="top-start",j=t.calculateOffset(X,b,F);if(e&&null!=o?.x&&null!=o?.y){const e=h(o.x,o.y);k=k||e;const s=p.transform(o.x);j={mainAxis:-1,crossAxis:-1},u?(S="end",j.mainAxis=-10,j.crossAxis=s-y/2):(S="top",j.crossAxis=X?b/2-s:s-b/2,j.mainAxis=-10)}if(null!=k?.seriesIndex&&null!=k?.groupIndex){R=x(k.seriesIndex,k.groupIndex);const e=R?{data:R,seriesIndex:k.seriesIndex,groupIndex:k.groupIndex,id:R.id}:void 0;if(e){L=(d||function(e){const s="mixedFrequency"===e.timeAxisType,t="enabled"===e.timeAxisType||"skipGaps"===e.timeAxisType;return r=>{const o=e.groups.name||e.groups.id,n=s?r.data.x:t?o:void 0;return{content:a.jsx(i.VisTabularDatatip,{tableData:l(r.data,e.series.name||e.series.id.toString(),n||e.groups.name||e.groups.id,e.valueFormats,null!=e.timeAxisType,e.formatAxisLabel,e.formatYValue,e.hasXYValues)}),borderColor:r.data.color||e.series.color}}}({series:v[k.seriesIndex],groups:I[k.groupIndex],valueFormats:g,timeAxisType:D,formatAxisLabel:T,formatYValue:V,hasXYValues:Y}))(e)}}const w=r.getColorRamp(),G=L?.borderColor||k&&(v[k.seriesIndex]?.color||v[k.seriesIndex]?.lineColor||v[k.seriesIndex]?.areaColor)||k&&w[k.seriesIndex%w.length],{datatipContent:q,datatipProps:z}=s.useDatatip({content:L?.content,anchor:U,placement:S,offset:j,borderColor:G,touchResponse:A,isDisabled:C});return{datatipContent:q,datatipProps:z}}}));
|
|
2
|
-
//# sourceMappingURL=useChartDatatip-1f138781.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useChartDatatip-1f138781.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 { ChartSeriesData, ValueFormats, Group } from '../UNSAFE_visTypes/chart';\nimport { VisTabularDatatip } from '../../PRIVATE_VisTabularDatatip';\nimport { TableRowData } from '../../PRIVATE_VisTabularDatatip';\nimport { LineAreaItem } from '#UNSAFE_LineAreaChart/lineAreaChart.types';\nimport { ScatterItem } from '#UNSAFE_ScatterChart/scatterChart.types';\nimport { BarItemData } from '#UNSAFE_BarChart/barChart.types';\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 LineAreaItem<K> | ScatterItem<K> | BarItemData<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 hasXYValues?: boolean\n) {\n //TODO: Use translation strings\n let itemValue, itemX, itemY;\n if (hasXYValues && 'y' in data) {\n const x = data.x;\n itemX = valueFormats?.x?.format ? valueFormats?.value?.format?.(x!) : formatYValue?.(x!)!;\n\n const y = data.y;\n itemY = valueFormats?.y?.format ? valueFormats?.value?.format?.(y!) : formatYValue?.(y!)!;\n } else if ('value' in data && data.value !== undefined) {\n const value = data.value;\n itemValue = valueFormats?.value?.format\n ? valueFormats?.value?.format?.(value)\n : formatYValue?.(value)!;\n }\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 if (hasXYValues) {\n tableData.push({\n key: valueFormats?.value?.label || 'X',\n value: itemX!\n });\n tableData.push({\n key: valueFormats?.value?.label || 'Y',\n value: itemY!\n });\n } else {\n tableData.push({\n key: valueFormats?.value?.label || 'Value',\n value: itemValue!\n });\n }\n }\n return tableData;\n}\n\nexport function getDefaultDatatipRenderer<\n K extends string | number,\n D extends LineAreaItem<K> | ScatterItem<K> | BarItemData<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 hasXYValues?: boolean;\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 = (\n isMixedFrequency ? context.data.x : isRegularTimeAxis ? groupValue : undefined\n ) as string;\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 options.hasXYValues\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 { useDatatip } from '#hooks/PRIVATE_useDatatip';\nimport { calculateOffset } from '#utils/PRIVATE_visLayoutUtils/layoutUtils';\n\nimport { DataCursorPosition, Group, Info, Scale, ValueFormats } from '#utils/UNSAFE_visTypes/chart';\nimport { BarItemData, BarSeriesData } from '#UNSAFE_BarChart/barChart.types';\nimport { Dimension } from '#utils/UNSAFE_visTypes/common';\nimport { getDefaultDatatipRenderer } from '#utils/PRIVATE_chartUtils/dataTipUtils';\nimport { LineAreaItem, 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';\nimport { ScatterItem } from '#UNSAFE_ScatterChart/scatterChart.types';\n\ntype Props<\n K extends string | number,\n D extends LineAreaItem<K> | ScatterItem<K> | BarItemData<K>\n> = {\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 hasXYValues?: boolean;\n};\nconst DATA_CURSOR_OFFSET = 10;\n\nexport const useChartDatatip = <\n K extends string | number,\n D extends LineAreaItem<K> | ScatterItem<K> | BarItemData<K>\n>({\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 hasXYValues\n}: Props<K, D>) => {\n const hasData = groups.length > 0 && series.length > 0;\n let activeInfo = !hasData\n ? undefined\n : !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\n if (isDataCursorEnabled && dataCursorPosition?.x != null && dataCursorPosition?.y != null) {\n const neareast = findNearest(dataCursorPosition.x, dataCursorPosition.y);\n activeInfo = activeInfo || neareast;\n // TOD0: The offset for data cursor should be calculated according to\n // datatip content dimensions as well.\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 hasXYValues\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 isDisabled\n });\n\n return { datatipContent, datatipProps };\n};\n"],"names":["getChartTabularData","data","seriesValue","groupValue","valueFormats","isTimeAxis","formatAxisLabel","formatYValue","hasXYValues","itemValue","itemX","itemY","x","format","value","y","undefined","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","length","isCurrent","seriesIndex","groupIndex","anchor","elementBounds","direction","useUser","isRtl","dtContent","item","placement","offset","calculateOffset","neareast","xPos","transform","mainAxis","crossAxis","datatipContext","id","options","isMixedFrequency","isRegularTimeAxis","context","name","timeValue","content","_jsx","jsx","VisTabularDatatip","toString","borderColor","color","getDefaultDatatipRenderer","colors","getColorRamp","lineColor","areaColor","datatipContent","datatipProps","useDatatip"],"mappings":"4OAuBgBA,EACdC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,GAGA,IAAIC,EAAWC,EAAOC,EACtB,GAAIH,GAAe,MAAOP,EAAM,CAC9B,MAAMW,EAAIX,EAAKW,EACfF,EAAQN,GAAcQ,GAAGC,OAAST,GAAcU,OAAOD,SAASD,GAAML,IAAeK,GAErF,MAAMG,EAAId,EAAKc,EACfJ,EAAQP,GAAcW,GAAGF,OAAST,GAAcU,OAAOD,SAASE,GAAMR,IAAeQ,EACtF,MAAM,GAAI,UAAWd,QAAuBe,IAAff,EAAKa,MAAqB,CACtD,MAAMA,EAAQb,EAAKa,MACnBL,EAAYL,GAAcU,OAAOD,OAC7BT,GAAcU,OAAOD,SAASC,GAC9BP,IAAeO,EACpB,CACD,MAAMG,EAA4B,GA+BlC,OA7ByC,GAArCb,GAAcc,QAAQC,aACxBF,EAAUG,KAAK,CACbC,IAAKjB,GAAcc,QAAQI,OAAS,SACpCR,MAAOZ,IAG6B,GAApCE,GAAcmB,OAAOJ,aACvBF,EAAUG,KAAK,CACbC,IAAKjB,GAAcmB,OAAOD,QAAUjB,EAAa,OAAS,SAC1DS,MAAOT,EAAaC,IAAkB,IAAIkB,KAAKrB,GAAYsB,WAActB,IAGrC,GAApCC,GAAcU,OAAOK,cACnBX,GACFS,EAAUG,KAAK,CACbC,IAAKjB,GAAcU,OAAOQ,OAAS,IACnCR,MAAOJ,IAETO,EAAUG,KAAK,CACbC,IAAKjB,GAAcU,OAAOQ,OAAS,IACnCR,MAAOH,KAGTM,EAAUG,KAAK,CACbC,IAAKjB,GAAcU,OAAOQ,OAAS,QACnCR,MAAOL,KAINQ,CACT,mBC1B+B,EAI7BS,sBACAC,qBACAC,UACAC,UACAC,SACAC,cACAC,iBACAC,kBACAC,kBACAhB,SACAd,eACA+B,SACAC,QACAC,SACAC,cACAC,eACAC,gBACAC,aACAnC,kBACAC,eACAC,kBAGA,IAAIkC,EADYP,EAAOQ,OAAS,GAAKzB,EAAOyB,OAAS,EAGhDF,OAQDzB,EAPAkB,GAAiBU,UACfV,EACAD,GAAiBW,gBACe5B,IAAhCiB,EAAgBY,kBACe7B,IAA/BiB,EAAgBa,WAChBb,OACAjB,OARFA,EAWJ,MAAM+B,EAASb,GAAiBU,WAAalB,EAAsB,UAAY,UACzEsB,EAAgBd,GAAiBU,UACnCZ,EAAeE,EAAgBW,YAAcX,EAAgBY,iBAC7D9B,GAEEiC,UAAEA,GAAcC,EAAAA,UAChBC,EAAsB,QAAdF,EAEd,IAqBIG,EACAC,EAtBAC,EAAY,YACZC,EAASC,EAAeA,gBAACL,EAAOf,EAAOY,GAE3C,GAAItB,GAAgD,MAAzBC,GAAoBf,GAAsC,MAAzBe,GAAoBZ,EAAW,CACzF,MAAM0C,EAAWnB,EAAYX,EAAmBf,EAAGe,EAAmBZ,GACtE2B,EAAaA,GAAce,EAG3B,MAAMC,EAAO5B,EAAO6B,UAAUhC,EAAmBf,GACjD2C,EAAS,CAAEK,UAAW,EAAGC,WAAY,GACjCjC,GACF0B,EAAY,MACZC,EAAOK,UAAW,GAClBL,EAAOM,UAAYH,EAAOrB,EAAS,IAEnCiB,EAAY,MACZC,EAAOM,UAAYV,EAAQf,EAAQ,EAAIsB,EAAOA,EAAOtB,EAAQ,EAC7DmB,EAAOK,UAAW,GAErB,CAID,GAA+B,MAA3BlB,GAAYG,aAAiD,MAA1BH,GAAYI,WAAoB,CACrEO,EAAOtB,EAAYW,EAAWG,YAAaH,EAAWI,YACtD,MAAMgB,EAAiBT,EACnB,CACEpD,KAAMoD,EACNR,YAAaH,EAAWG,YACxBC,WAAYJ,EAAWI,WACvBiB,GAAIV,EAAKU,SAEX/C,EAEJ,GAAI8C,EAAgB,CAYlBV,GAVEvB,GDvDF,SAGJmC,GASA,MAAMC,EAA4C,mBAAzBD,EAAQzB,aAC3B2B,EACqB,YAAzBF,EAAQzB,cAAuD,aAAzByB,EAAQzB,aAEhD,OAAQ4B,IACN,MAAMhE,EAAa6D,EAAQ7B,OAAOiC,MAAQJ,EAAQ7B,OAAO4B,GACnDM,EACJJ,EAAmBE,EAAQlE,KAAKW,EAAIsD,EAAoB/D,OAAaa,EAEvE,MAAO,CACLsD,QACEC,EAACC,IAAAC,oBACC,CAAAxD,UAAWjB,EACTmE,EAAQlE,KACR+D,EAAQ9C,OAAOkD,MAAQJ,EAAQ9C,OAAO6C,GAAGW,WACzCL,GAAaL,EAAQ7B,OAAOiC,MAAQJ,EAAQ7B,OAAO4B,GACnDC,EAAQ5D,aACgB,MAAxB4D,EAAQzB,aACRyB,EAAQ1D,gBACR0D,EAAQzD,aACRyD,EAAQxD,eAIdmE,YAAaR,EAAQlE,KAAK2E,OAASZ,EAAQ9C,OAAO0D,MACnD,CAEL,CCiBQC,CAA0B,CACxB3D,OAAQA,EAAOwB,EAAWG,aAC1BV,OAAQA,EAAOO,EAAWI,YAC1B1C,eACAmC,eACAjC,kBACAC,eACAC,iBAEwBsD,EAC7B,CACF,CACD,MAAMgB,EAASC,EAAAA,eACTJ,EACJvB,GAAWuB,aACVjC,IACGxB,EAAOwB,EAAWG,cAAuC+B,OACxD1D,EAAOwB,EAAWG,cAA4CmC,WAC9D9D,EAAOwB,EAAWG,cAA4CoC,YAClEvC,GAAcoC,EAAOpC,EAAWG,YAAeiC,EAAOnC,SAEnDuC,eAAEA,EAAcC,aAAEA,GAAiBC,aAAW,CAClDd,QAASlB,GAAWkB,QACpBvB,SACAO,YACAC,SACAoB,cACAnC,gBACAC,eAGF,MAAO,CAAEyC,iBAAgBC,eAAc"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useColorScheme-8358a6c9.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 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', 'preact/hooks', './useUser-abae2493', './useTheme-915016ef', './useColorScheme-8358a6c9', './useScale-0fb08a15'], (function(e,s,r,t,o,n,u){"use strict";e.useCssVars=function(e){const c=r.useRef(null),[a,f]=r.useState({}),{forcedColors:l}=t.useUser(),{name:i}=o.useTheme(),p=u.useScale(),d=n.useColorScheme(),h=e.reduce(((e,s)=>(s.cssProp&&(e[s.cssProp]=s.tokenVar),e)),{}),m=s.jsx("div",{ref:c,style:{display:"none",...h}});return r.useLayoutEffect((()=>{if(!c.current)return;const s=window.getComputedStyle(c.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,d,p,e]),{resolvedVars:a,cssContent:m}}}));
|
|
2
|
-
//# sourceMappingURL=useCssVars-4d0eeaa3.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCssVars-4d0eeaa3.js","sources":["../../src/hooks/PRIVATE_useCssVars/useCssVars.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { useLayoutEffect, useRef, useState } from 'preact/hooks';\nimport { useUser } from '../UNSAFE_useUser';\nimport { useTheme } from '../UNSAFE_useTheme';\nimport { useColorScheme } from '../UNSAFE_useColorScheme';\nimport { useScale } from '../UNSAFE_useScale';\n\nfunction getCssVarName(name: string) {\n const rxp = name.match(/var\\((--[a-zA-Z_0-9\\-]+)\\)/);\n return rxp && rxp.length > 1 ? rxp[1] : '';\n}\n\n/**\n * Hook to resolve the css vars.\n * @param vars\n * @param classes\n * @returns\n */\nexport function useCssVars(\n vars: {\n /**\n * The token variable.\n */\n tokenVar: string;\n /**\n * The key of the resolved variable.\n */\n key: string;\n /**\n * The absolute used value of the token vars assigned to css expression cannot be computed through getComputedStyle if\n * not assigned to a css property. This optional prop provides css property to assign the token var to in order to get\n * actual used style.\n */\n cssProp?: string;\n }[]\n) {\n const cssDivRef = useRef<HTMLDivElement>(null);\n const [resolvedVars, setResolvedVars] = useState<Record<string, any>>({});\n const { forcedColors } = useUser();\n const { name } = useTheme();\n const scale = useScale();\n const colorScheme = useColorScheme();\n\n // A css token var (eg, --tokenVar_123xyz) that is assigned to a css expression like min(25px, 5rem) resolves to\n // a string of the expression (resolved value) like \"min(25px, 5rem)\" and not absolute value (for eg 25px) (used value) when getComputedStyle is called.\n // We have to assign the token var to a valid css property(like width: var(--tokenVar_123xyz)) in order to get actual used value in\n // computed styles. https://developer.mozilla.org/en-US/docs/Web/CSS/used_value\n\n // build a style obj with valid css property to apply to div\n const style = vars.reduce((prev: Record<string, string>, current) => {\n if (current.cssProp) {\n prev[current.cssProp] = current.tokenVar;\n }\n return prev;\n }, {});\n\n const cssContent = <div ref={cssDivRef} style={{ display: 'none', ...style }}></div>;\n\n useLayoutEffect(() => {\n if (!cssDivRef.current) {\n return;\n }\n\n const computedStyle = window.getComputedStyle(cssDivRef.current);\n const resolved: Record<string, any> = {};\n vars.forEach((value) => {\n // use cssProp for token vars that resolve to expression\n const cssVar = value.cssProp || getCssVarName(value.tokenVar);\n resolved[value.key] = computedStyle.getPropertyValue(cssVar);\n });\n setResolvedVars(resolved);\n }, [forcedColors, name, colorScheme, scale, vars]);\n\n return {\n resolvedVars,\n cssContent\n };\n}\n"],"names":["vars","cssDivRef","useRef","resolvedVars","setResolvedVars","useState","forcedColors","useUser","name","useTheme","scale","useScale","colorScheme","useColorScheme","style","reduce","prev","current","cssProp","tokenVar","cssContent","_jsx","jsx","ref","display","useLayoutEffect","computedStyle","window","getComputedStyle","resolved","forEach","value","cssVar","rxp","match","length","getCssVarName","key","getPropertyValue"],"mappings":"uMAyBM,SACJA,GAiBA,MAAMC,EAAYC,SAAuB,OAClCC,EAAcC,GAAmBC,EAAQA,SAAsB,CAAE,IAClEC,aAAEA,GAAiBC,EAAAA,WACnBC,KAAEA,GAASC,EAAAA,WACXC,EAAQC,EAAAA,WACRC,EAAcC,EAAAA,iBAQdC,EAAQd,EAAKe,QAAO,CAACC,EAA8BC,KACnDA,EAAQC,UACVF,EAAKC,EAAQC,SAAWD,EAAQE,UAE3BH,IACN,CAAE,GAECI,EAAaC,EAAAC,IAAA,MAAA,CAAKC,IAAKtB,EAAWa,MAAO,CAAEU,QAAS,UAAWV,KAiBrE,OAfAW,EAAAA,iBAAgB,KACd,IAAKxB,EAAUgB,QACb,OAGF,MAAMS,EAAgBC,OAAOC,iBAAiB3B,EAAUgB,SAClDY,EAAgC,CAAA,EACtC7B,EAAK8B,SAASC,IAEZ,MAAMC,EAASD,EAAMb,SA5D3B,SAAuBV,GACrB,MAAMyB,EAAMzB,EAAK0B,MAAM,8BACvB,OAAOD,GAAOA,EAAIE,OAAS,EAAIF,EAAI,GAAK,EAC1C,CAyDsCG,CAAcL,EAAMZ,UACpDU,EAASE,EAAMM,KAAOX,EAAcY,iBAAiBN,EAAO,IAE9D5B,EAAgByB,EAAS,GACxB,CAACvB,EAAcE,EAAMI,EAAaF,EAAOV,IAErC,CACLG,eACAiB,aAEJ"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/hooks', './LayerHost-1b4d03f0', 'preact/jsx-runtime', 'preact/compat'], (function(t,e,r,n,o){"use strict";t.useCurrentBgColor=function(){return e.useContext(r.EnvironmentContext).currentBgColor}}));
|
|
2
|
-
//# sourceMappingURL=useCurrentBgColor-24e98c84.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCurrentBgColor-24e98c84.js","sources":["../../src/hooks/UNSAFE_useCurrentBgColor/useCurrentBgColor.ts"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { useContext } from 'preact/hooks';\nimport { EnvironmentContext } from '../../UNSAFE_Environment';\n\nexport function useCurrentBgColor() {\n return useContext(EnvironmentContext).currentBgColor;\n}\n"],"names":["useContext","EnvironmentContext","currentBgColor"],"mappings":"+JAWE,OAAOA,EAAUA,WAACC,sBAAoBC,cACxC"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/hooks', './keys-4755c121', './useUser-abae2493'], (function(e,t,r,s){"use strict";e.useCurrentKey=function(e,n,i,o,c,u,a,l,y){const{direction:f}=s.useUser(),K=t.useCallback(((e,t)=>y?y(e,t):e===t),[y]),k=t.useCallback((e=>{if(l&&r.isKeyDefined(a)){const t="rtl"===f,s={ArrowUp:i,ArrowDown:o,ArrowLeft:t?u:c,ArrowRight:t?c:u};if(Object.keys(s).includes(e.key)&&(n||!e.shiftKey)&&!e.metaKey&&!e.ctrlKey){const t=s[e.key]?.();r.isKeyDefined(t)&&!K(a,t)&&l({value:t}),e.preventDefault()}}}),[a,l,i,o,c,u,K,n,f]),d=t.useCallback((t=>{if(l&&(n||!t.shiftKey)){const s=e(t.target);r.isKeyDefined(s)&&!K(a,s)&&l({value:s})}}),[a,n,e,l,K]);return{currentKeyProps:null==l?{}:{onClickCapture:d,onKeyDown:k}}}}));
|
|
2
|
-
//# sourceMappingURL=useCurrentKey-5a5ffb1e.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCurrentKey-5a5ffb1e.js","sources":["../../src/hooks/PRIVATE_useCurrentKey/useCurrentKey.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 { useCallback } from 'preact/hooks';\nimport { isKeyDefined } from '../../utils/UNSAFE_keys';\nimport { CurrentKeyDetail } from '../../UNSAFE_Collection';\nimport { useUser } from '../UNSAFE_useUser';\n\n/**\n * Hook for handling current key update due to user interaction including keyboard navigation.\n * This can be reuse by all Collection components.\n *\n * @param keyExtractor function to extract the key based on the provided element\n * @param allowShiftKey if set to false, then pressing arrow key while shift key is down will not change the current key\n * @param getVerticalPrevKey function to get the previous key in the vertical direction based on the current key\n * @param getVerticalNextKey function to get the next key in the vertical direction based on the current key\n * @param getHorizontalPrevKey function to get the previous key in the horizontal direction based on the current key\n * @param getHorizontalNextKey function to get the next key based on the current key\n * @param currentKey the current key\n * @param onCurrentChange function to invoke if the current key has changed\n * @param keyComparator an optional function to compare keys, otherwise === is used\n * @returns\n */\nexport function useCurrentKey<K>(\n keyExtractor: (element: HTMLElement) => K | null,\n allowShiftKey: boolean,\n getVerticalPrevKey?: () => K | null,\n getVerticalNextKey?: () => K | null,\n getHorizontalPrevKey?: () => K | null,\n getHorizontalNextKey?: () => K | null,\n currentKey?: K,\n onChange?: (detail: CurrentKeyDetail<K>) => void,\n keyComparator?: (key1: K, key2: K) => boolean\n) {\n const { direction } = useUser();\n\n const keyEquals = useCallback(\n (key1: K, key2: K) => {\n if (keyComparator) {\n return keyComparator(key1, key2);\n }\n return key1 === key2;\n },\n [keyComparator]\n );\n\n const onKeyDown = useCallback(\n (event: KeyboardEvent) => {\n if (onChange && isKeyDefined(currentKey)) {\n const isRtl = direction === 'rtl';\n const keyHandlers: Record<string, (() => K | null) | undefined> = {\n ArrowUp: getVerticalPrevKey,\n ArrowDown: getVerticalNextKey,\n ArrowLeft: isRtl ? getHorizontalNextKey : getHorizontalPrevKey,\n ArrowRight: isRtl ? getHorizontalPrevKey : getHorizontalNextKey\n };\n\n // should not update currentKey during keyboard reordering\n if (\n Object.keys(keyHandlers).includes(event.key) &&\n (allowShiftKey || !event.shiftKey) &&\n !event.metaKey &&\n !event.ctrlKey\n ) {\n const newKey = keyHandlers[event.key]?.();\n if (isKeyDefined(newKey) && !keyEquals(currentKey as K, newKey as K)) {\n onChange({ value: newKey as K });\n }\n event.preventDefault();\n }\n }\n },\n [\n currentKey,\n onChange,\n getVerticalPrevKey,\n getVerticalNextKey,\n getHorizontalPrevKey,\n getHorizontalNextKey,\n keyEquals,\n allowShiftKey,\n direction\n ]\n );\n\n const onClickCapture = useCallback(\n (event: MouseEvent) => {\n if (onChange && (allowShiftKey || !event.shiftKey)) {\n const nextKey = keyExtractor(event.target as HTMLElement);\n if (isKeyDefined(nextKey) && !keyEquals(currentKey as K, nextKey as K)) {\n onChange({ value: nextKey as K });\n }\n }\n },\n [currentKey, allowShiftKey, keyExtractor, onChange, keyEquals]\n );\n\n const currentKeyProps = onChange == null ? {} : { onClickCapture, onKeyDown };\n return { currentKeyProps };\n}\n"],"names":["keyExtractor","allowShiftKey","getVerticalPrevKey","getVerticalNextKey","getHorizontalPrevKey","getHorizontalNextKey","currentKey","onChange","keyComparator","direction","useUser","keyEquals","useCallback","key1","key2","onKeyDown","event","isKeyDefined","isRtl","keyHandlers","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Object","keys","includes","key","shiftKey","metaKey","ctrlKey","newKey","value","preventDefault","onClickCapture","nextKey","target","currentKeyProps"],"mappings":"kIA4BEA,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,GAEA,MAAMC,UAAEA,GAAcC,EAAAA,UAEhBC,EAAYC,EAAAA,aAChB,CAACC,EAASC,IACJN,EACKA,EAAcK,EAAMC,GAEtBD,IAASC,GAElB,CAACN,IAGGO,EAAYH,eACfI,IACC,GAAIT,GAAYU,eAAaX,GAAa,CACxC,MAAMY,EAAsB,QAAdT,EACRU,EAA4D,CAChEC,QAASlB,EACTmB,UAAWlB,EACXmB,UAAWJ,EAAQb,EAAuBD,EAC1CmB,WAAYL,EAAQd,EAAuBC,GAI7C,GACEmB,OAAOC,KAAKN,GAAaO,SAASV,EAAMW,OACvC1B,IAAkBe,EAAMY,YACxBZ,EAAMa,UACNb,EAAMc,QACP,CACA,MAAMC,EAASZ,EAAYH,EAAMW,SAC7BV,EAAAA,aAAac,KAAYpB,EAAUL,EAAiByB,IACtDxB,EAAS,CAAEyB,MAAOD,IAEpBf,EAAMiB,gBACP,CACF,IAEH,CACE3B,EACAC,EACAL,EACAC,EACAC,EACAC,EACAM,EACAV,EACAQ,IAIEyB,EAAiBtB,eACpBI,IACC,GAAIT,IAAaN,IAAkBe,EAAMY,UAAW,CAClD,MAAMO,EAAUnC,EAAagB,EAAMoB,QAC/BnB,EAAAA,aAAakB,KAAaxB,EAAUL,EAAiB6B,IACvD5B,EAAS,CAAEyB,MAAOG,GAErB,IAEH,CAAC7B,EAAYL,EAAeD,EAAcO,EAAUI,IAItD,MAAO,CAAE0B,gBAD2B,MAAZ9B,EAAmB,CAAE,EAAG,CAAE2B,iBAAgBnB,aAEpE"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', './Layer-9fb9ca67', 'preact/compat', './LayerHost-1b4d03f0', './Floating-28ad0903', 'preact/hooks', './hooks/PRIVATE_useDatatip/themes/useDatatip.css', './useId-c9578d26', './datatipUtils-72a1fe48', './useVisHover-28319fef', './mergeProps-bcfa6a92'], (function(e,t,o,r,n,s,i,a,c,u,l,p){"use strict";e.useDatatip=function({content:e,placement:r="top-end-corner",offset:n,borderColor:d,anchor:f,touchResponse:A,isDisabled:T}){const h=i.useRef(c.useId()),[v,m]=i.useState({x:0,y:0}),x=n||{mainAxis:u.DATATIP_OFFSET,crossAxis:-1*u.DATATIP_OFFSET},[P,y]=i.useState(!1),E=i.useRef(null),D=i.useRef(),b=()=>{D.current=setTimeout((()=>{y(!1)}),20)},R=l.useVisHover((e=>{m({x:e.clientX,y:e.clientY}),y(!0)}),((e,t)=>{"touch"!==e.pointerType&&e.eventPhase!==Event.AT_TARGET&&e.eventPhase!==Event.BUBBLING_PHASE||(m({x:e.clientX,y:e.clientY}),E.current=t,y(!0))}),b,A),B="element"===f?E:{current:v},F=P&&e&&!T?t.jsx(o.Layer,{children:t.jsx(s.Floating,{anchorRef:B,placement:r,offsetValue:x,flipOptions:{crossAxis:"pointer"===f,mainAxis:"pointer"===f},shiftOptions:{crossAxis:!0,mainAxis:!0},children:t.jsx("div",{role:"tooltip",id:h.current,className:a.styles.visDatatipStyle,style:{borderColor:d},onPointerEnter:()=>{clearTimeout(D.current)},onPointerLeave:b,children:e})})}):null;return{datatipContent:F,datatipProps:{"aria-describedby":null!==F?h.current:void 0,...p.mergeProps(R,{onKeyUp:e=>{"ArrowUp"!==e.code&&"ArrowDown"!==e.code&&"ArrowRight"!==e.code&&"ArrowLeft"!==e.code&&"Tab"!==e.code||y(!0)},onKeyDown:e=>{"Escape"===e.code&&(e.preventDefault(),y(!1))},onFocus:e=>{e.eventPhase!==Event.AT_TARGET&&e.eventPhase!==Event.BUBBLING_PHASE||(E.current=e.target,y(!0))},onBlur:()=>{y(!1)}})}}}}));
|
|
2
|
-
//# sourceMappingURL=useDatatip-db874c22.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDatatip-db874c22.js","sources":["../../src/hooks/PRIVATE_useDatatip/useDatatip.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 { ComponentChildren } from 'preact';\nimport { Layer } from '#UNSAFE_Layer';\nimport { Floating, Placement } from '#UNSAFE_Floating';\nimport { useRef, useState } from 'preact/hooks';\nimport { styles } from './themes/useDatatip.css';\nimport { useId } from '#hooks/UNSAFE_useId';\nimport { Property } from 'csstype';\nimport { DATATIP_OFFSET } from '#utils/UNSAFE_visUtils/datatipUtils';\nimport { useVisHover } from '#hooks/PRIVATE_useVisHover';\nimport { mergeProps } from '#utils/UNSAFE_mergeProps';\nexport type { Dimension } from '#utils/UNSAFE_visTypes/common';\n\ntype DatatipProps = {\n /**\n * The datatip content.\n */\n content?: ComponentChildren;\n\n /**\n * Whether the datatip is anchored to pointer or element.\n *\n */\n anchor: 'element' | 'pointer';\n\n /**\n * The offset from the anchor element or pointer.\n */\n offset?: {\n mainAxis?: number;\n crossAxis?: number;\n };\n\n /**\n * The border color of the datatip.\n */\n borderColor?: Property.BorderColor;\n\n /**\n * The placement of datatip from anchor point.\n */\n placement?: Placement;\n\n /**\n * The touch response value.\n */\n touchResponse: 'touchStart' | 'touchHold';\n\n /**\n * Whether datatip is disabled\n */\n isDisabled?: boolean;\n};\n\n/**\n * The hook to support custom datatip in visualization components.\n */\nexport function useDatatip({\n content,\n placement = 'top-end-corner',\n offset,\n borderColor,\n anchor,\n touchResponse,\n isDisabled\n}: DatatipProps) {\n const uniqueIdRef = useRef<string>(useId());\n const [coords, setCoords] = useState({ x: 0, y: 0 });\n const offsetValue = offset || { mainAxis: DATATIP_OFFSET, crossAxis: -1 * DATATIP_OFFSET };\n const [isVisible, setIsVisible] = useState(false);\n\n const targetRef = useRef<HTMLElement | null>(null);\n const toggleTimeoutRef = useRef<ReturnType<typeof setTimeout>>();\n\n const onHover = (event: PointerEvent) => {\n setCoords({ x: event.clientX, y: event.clientY });\n setIsVisible(true);\n };\n\n const onHoverEnter = (event: PointerEvent, currentTarget: HTMLElement) => {\n if (\n event.pointerType === 'touch' ||\n event.eventPhase === Event.AT_TARGET ||\n event.eventPhase === Event.BUBBLING_PHASE\n ) {\n setCoords({ x: event.clientX, y: event.clientY });\n targetRef.current = currentTarget;\n setIsVisible(true);\n }\n };\n\n const onHoverLeave = () => {\n toggleTimeoutRef.current = setTimeout(() => {\n setIsVisible(false);\n }, 20);\n };\n\n const hoverHandlers = useVisHover(onHover, onHoverEnter, onHoverLeave, touchResponse);\n\n const onFocus = (event: FocusEvent) => {\n if (event.eventPhase === Event.AT_TARGET || event.eventPhase === Event.BUBBLING_PHASE) {\n targetRef.current = event.target as HTMLElement;\n setIsVisible(true);\n }\n };\n\n const onBlur = () => {\n setIsVisible(false);\n };\n\n const onContentPointerEnter = () => {\n clearTimeout(toggleTimeoutRef.current);\n };\n\n const onKeyUp = (event: KeyboardEvent) => {\n if (\n event.code === 'ArrowUp' ||\n event.code === 'ArrowDown' ||\n event.code === 'ArrowRight' ||\n event.code === 'ArrowLeft' ||\n event.code === 'Tab'\n ) {\n setIsVisible(true);\n }\n };\n\n const onKeyDown = (event: KeyboardEvent) => {\n if (event.code === 'Escape') {\n event.preventDefault();\n setIsVisible(false);\n }\n };\n\n const anchorRef = anchor === 'element' ? targetRef : { current: coords };\n const datatipContent =\n isVisible && !!content && !isDisabled ? (\n <Layer>\n <Floating\n anchorRef={anchorRef}\n placement={placement}\n offsetValue={offsetValue}\n flipOptions={{\n crossAxis: anchor === 'pointer' ? true : false,\n mainAxis: anchor === 'pointer' ? true : false\n }}\n shiftOptions={{ crossAxis: true, mainAxis: true }}>\n <div\n role=\"tooltip\"\n id={uniqueIdRef.current}\n className={styles.visDatatipStyle}\n style={{ borderColor }}\n onPointerEnter={onContentPointerEnter}\n onPointerLeave={onHoverLeave}>\n {content}\n </div>\n </Floating>\n </Layer>\n ) : null;\n\n return {\n datatipContent,\n datatipProps: {\n 'aria-describedby': datatipContent !== null ? uniqueIdRef.current : undefined,\n ...mergeProps(hoverHandlers, {\n onKeyUp,\n onKeyDown,\n onFocus,\n onBlur\n })\n }\n };\n}\n"],"names":["content","placement","offset","borderColor","anchor","touchResponse","isDisabled","uniqueIdRef","useRef","useId","coords","setCoords","useState","x","y","offsetValue","mainAxis","DATATIP_OFFSET","crossAxis","isVisible","setIsVisible","targetRef","toggleTimeoutRef","onHoverLeave","current","setTimeout","hoverHandlers","useVisHover","event","clientX","clientY","currentTarget","pointerType","eventPhase","Event","AT_TARGET","BUBBLING_PHASE","anchorRef","datatipContent","_jsx","Layer","children","Floating","flipOptions","shiftOptions","role","id","className","styles","visDatatipStyle","style","onPointerEnter","clearTimeout","onPointerLeave","datatipProps","undefined","mergeProps","onKeyUp","code","onKeyDown","preventDefault","onFocus","target","onBlur"],"mappings":"+VAgE2BA,QACzBA,EAAOC,UACPA,EAAY,iBAAgBC,OAC5BA,EAAMC,YACNA,EAAWC,OACXA,EAAMC,cACNA,EAAaC,WACbA,IAEA,MAAMC,EAAcC,EAAAA,OAAeC,EAAKA,UACjCC,EAAQC,GAAaC,EAAQA,SAAC,CAAEC,EAAG,EAAGC,EAAG,IAC1CC,EAAcb,GAAU,CAAEc,SAAUC,EAAcA,eAAEC,WAAY,EAAID,EAAAA,iBACnEE,EAAWC,GAAgBR,EAAQA,UAAC,GAErCS,EAAYb,SAA2B,MACvCc,EAAmBd,EAAAA,SAmBnBe,EAAe,KACnBD,EAAiBE,QAAUC,YAAW,KACpCL,GAAa,EAAM,GAClB,GAAG,EAGFM,EAAgBC,EAAAA,aAvBLC,IACfjB,EAAU,CAAEE,EAAGe,EAAMC,QAASf,EAAGc,EAAME,UACvCV,GAAa,EAAK,IAGC,CAACQ,EAAqBG,KAEjB,UAAtBH,EAAMI,aACNJ,EAAMK,aAAeC,MAAMC,WAC3BP,EAAMK,aAAeC,MAAME,iBAE3BzB,EAAU,CAAEE,EAAGe,EAAMC,QAASf,EAAGc,EAAME,UACvCT,EAAUG,QAAUO,EACpBX,GAAa,GACd,GASsDG,EAAclB,GAoCjEgC,EAAuB,YAAXjC,EAAuBiB,EAAY,CAAEG,QAASd,GAC1D4B,EACJnB,GAAenB,IAAYM,EACzBiC,EAAAA,IAACC,EAAAA,MACC,CAAAC,SAAAF,EAAAA,IAACG,EAAQA,SAAA,CACPL,UAAWA,EACXpC,UAAWA,EACXc,YAAaA,EACb4B,YAAa,CACXzB,UAAsB,YAAXd,EACXY,SAAqB,YAAXZ,GAEZwC,aAAc,CAAE1B,WAAW,EAAMF,UAAU,GAAMyB,SACjDF,EAAAA,WACEM,KAAK,UACLC,GAAIvC,EAAYiB,QAChBuB,UAAWC,EAAMA,OAACC,gBAClBC,MAAO,CAAE/C,eACTgD,eAzCoB,KAC5BC,aAAa9B,EAAiBE,QAAQ,EAyC9B6B,eAAgB9B,EAAYkB,SAC3BzC,QAIL,KAEN,MAAO,CACLsC,iBACAgB,aAAc,CACZ,mBAAuC,OAAnBhB,EAA0B/B,EAAYiB,aAAU+B,KACjEC,EAAAA,WAAW9B,EAAe,CAC3B+B,QAlDW7B,IAEE,YAAfA,EAAM8B,MACS,cAAf9B,EAAM8B,MACS,eAAf9B,EAAM8B,MACS,cAAf9B,EAAM8B,MACS,QAAf9B,EAAM8B,MAENtC,GAAa,EACd,EA0CGuC,UAvCa/B,IACE,WAAfA,EAAM8B,OACR9B,EAAMgC,iBACNxC,GAAa,GACd,EAoCGyC,QAnEWjC,IACXA,EAAMK,aAAeC,MAAMC,WAAaP,EAAMK,aAAeC,MAAME,iBACrEf,EAAUG,QAAUI,EAAMkC,OAC1B1C,GAAa,GACd,EAgEG2C,OA7DS,KACb3C,GAAa,EAAM,KAgEvB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDensity-2b757d02.js","sources":["../../src/hooks/UNSAFE_useDensity/useDensity.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 useDensity() {\n return useContext(EnvironmentContext).density;\n}\n"],"names":["useContext","EnvironmentContext","density"],"mappings":"wJAWE,OAAOA,EAAUA,WAACC,sBAAoBC,OACxC"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(['exports', 'preact/hooks', './useUser-abae2493', './positionUtils-6e4daa31'], (function(t,e,n,o){"use strict";const r=Math.min,i=Math.max,s=Math.round,l=Math.floor,c=t=>({x:t,y:t}),a={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function u(t,e,n){return i(t,r(e,n))}function d(t,e){return"function"==typeof t?t(e):t}function m(t){return t.split("-")[0]}function p(t){return t.split("-")[1]}function h(t){return"x"===t?"y":"x"}function g(t){return"y"===t?"height":"width"}function y(t){return["top","bottom"].includes(m(t))?"y":"x"}function x(t){return h(y(t))}function w(t){return t.replace(/start|end/g,(t=>f[t]))}function b(t){return t.replace(/left|right|bottom|top/g,(t=>a[t]))}function v(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function A(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function R(t,e,n){let{reference:o,floating:r}=t;const i=y(e),s=x(e),l=g(s),c=m(e),a="y"===i,f=o.x+o.width/2-r.width/2,u=o.y+o.height/2-r.height/2,d=o[l]/2-r[l]/2;let h;switch(c){case"top":h={x:f,y:o.y-r.height};break;case"bottom":h={x:f,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:u};break;case"left":h={x:o.x-r.width,y:u};break;default:h={x:o.x,y:o.y}}switch(p(e)){case"start":h[s]-=d*(n&&a?-1:1);break;case"end":h[s]+=d*(n&&a?-1:1)}return h}async function L(t,e){var n;void 0===e&&(e={});const{x:o,y:r,platform:i,rects:s,elements:l,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:m=!1,padding:p=0}=d(e,t),h=v(p),g=l[m?"floating"===u?"reference":"floating":u],y=A(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(g)))||n?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:a,rootBoundary:f,strategy:c})),x="floating"===u?{...s.floating,x:o,y:r}:s.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),b=await(null==i.isElement?void 0:i.isElement(w))&&await(null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},R=A(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:w,strategy:c}):x);return{top:(y.top-R.top+h.top)/b.y,bottom:(R.bottom-y.bottom+h.bottom)/b.y,left:(y.left-R.left+h.left)/b.x,right:(R.right-y.right+h.right)/b.x}}const T=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){const{x:n,y:o}=e,r=await async function(t,e){const{placement:n,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),s=m(n),l=p(n),c="y"===y(n),a=["left","top"].includes(s)?-1:1,f=i&&c?-1:1,u=d(e,t);let{mainAxis:h,crossAxis:g,alignmentAxis:x}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&"number"==typeof x&&(g="end"===l?-1*x:x),c?{x:g*f,y:h*a}:{x:h*a,y:g*f}}(e,t);return{x:n+r.x,y:o+r.y,data:r}}}};function E(t){return O(t)?(t.nodeName||"").toLowerCase():"#document"}function D(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function S(t){var e;return null==(e=(O(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function O(t){return t instanceof Node||t instanceof D(t).Node}function P(t){return t instanceof Element||t instanceof D(t).Element}function k(t){return t instanceof HTMLElement||t instanceof D(t).HTMLElement}function C(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof D(t).ShadowRoot)}function F(t){const{overflow:e,overflowX:n,overflowY:o,display:r}=z(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(r)}function H(t){return["table","td","th"].includes(E(t))}function W(t){const e=$(),n=z(t);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((t=>(n.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(n.contain||"").includes(t)))}function $(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function M(t){return["html","body","#document"].includes(E(t))}function z(t){return D(t).getComputedStyle(t)}function B(t){return P(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function V(t){if("html"===E(t))return t;const e=t.assignedSlot||t.parentNode||C(t)&&t.host||S(t);return C(e)?e.host:e}function j(t){const e=V(t);return M(e)?t.ownerDocument?t.ownerDocument.body:t.body:k(e)&&F(e)?e:j(e)}function N(t,e){var n;void 0===e&&(e=[]);const o=j(t),r=o===(null==(n=t.ownerDocument)?void 0:n.body),i=D(o);return r?e.concat(i,i.visualViewport||[],F(o)?o:[]):e.concat(o,N(o))}function U(t){const e=z(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=k(t),i=r?t.offsetWidth:n,l=r?t.offsetHeight:o,c=s(n)!==i||s(o)!==l;return c&&(n=i,o=l),{width:n,height:o,$:c}}function I(t){return P(t)?t:t.contextElement}function _(t){const e=I(t);if(!k(e))return c(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:i}=U(e);let l=(i?s(n.width):n.width)/o,a=(i?s(n.height):n.height)/r;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}const q=c(0);function X(t){const e=D(t);return $()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:q}function Y(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const r=t.getBoundingClientRect(),i=I(t);let s=c(1);e&&(o?P(o)&&(s=_(o)):s=_(t));const l=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==D(t))&&e}(i,n,o)?X(i):c(0);let a=(r.left+l.x)/s.x,f=(r.top+l.y)/s.y,u=r.width/s.x,d=r.height/s.y;if(i){const t=D(i),e=o&&P(o)?D(o):o;let n=t.frameElement;for(;n&&o&&e!==t;){const t=_(n),e=n.getBoundingClientRect(),o=z(n),r=e.left+(n.clientLeft+parseFloat(o.paddingLeft))*t.x,i=e.top+(n.clientTop+parseFloat(o.paddingTop))*t.y;a*=t.x,f*=t.y,u*=t.x,d*=t.y,a+=r,f+=i,n=D(n).frameElement}}return A({width:u,height:d,x:a,y:f})}function G(t){return Y(S(t)).left+B(t).scrollLeft}function J(t,e,n){let o;if("viewport"===e)o=function(t,e){const n=D(t),o=S(t),r=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,l=0,c=0;if(r){i=r.width,s=r.height;const t=$();(!t||t&&"fixed"===e)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:i,height:s,x:l,y:c}}(t,n);else if("document"===e)o=function(t){const e=S(t),n=B(t),o=t.ownerDocument.body,r=i(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),s=i(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+G(t);const c=-n.scrollTop;return"rtl"===z(o).direction&&(l+=i(e.clientWidth,o.clientWidth)-r),{width:r,height:s,x:l,y:c}}(S(t));else if(P(e))o=function(t,e){const n=Y(t,!0,"fixed"===e),o=n.top+t.clientTop,r=n.left+t.clientLeft,i=k(t)?_(t):c(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(e,n);else{const n=X(t);o={...e,x:e.x-n.x,y:e.y-n.y}}return A(o)}function K(t,e){const n=V(t);return!(n===e||!P(n)||M(n))&&("fixed"===z(n).position||K(n,e))}function Q(t,e,n){const o=k(e),r=S(e),i="fixed"===n,s=Y(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const a=c(0);if(o||!o&&!i)if(("body"!==E(e)||F(r))&&(l=B(e)),o){const t=Y(e,!0,i,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}else r&&(a.x=G(r));return{x:s.left+l.scrollLeft-a.x,y:s.top+l.scrollTop-a.y,width:s.width,height:s.height}}function Z(t,e){return k(t)&&"fixed"!==z(t).position?e?e(t):t.offsetParent:null}function tt(t,e){const n=D(t);if(!k(t))return n;let o=Z(t,e);for(;o&&H(o)&&"static"===z(o).position;)o=Z(o,e);return o&&("html"===E(o)||"body"===E(o)&&"static"===z(o).position&&!W(o))?n:o||function(t){let e=V(t);for(;k(e)&&!M(e);){if(W(e))return e;e=V(e)}return null}(t)||n}const et={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:n,strategy:o}=t;const r=k(n),i=S(n);if(n===i)return e;let s={scrollLeft:0,scrollTop:0},l=c(1);const a=c(0);if((r||!r&&"fixed"!==o)&&(("body"!==E(n)||F(i))&&(s=B(n)),k(n))){const t=Y(n);l=_(n),a.x=t.x+n.clientLeft,a.y=t.y+n.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+a.x,y:e.y*l.y-s.scrollTop*l.y+a.y}},getDocumentElement:S,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:s}=t;const l=[..."clippingAncestors"===n?function(t,e){const n=e.get(t);if(n)return n;let o=N(t).filter((t=>P(t)&&"body"!==E(t))),r=null;const i="fixed"===z(t).position;let s=i?V(t):t;for(;P(s)&&!M(s);){const e=z(s),n=W(s);n||"fixed"!==e.position||(r=null),(i?!n&&!r:!n&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||F(s)&&!n&&K(t,s))?o=o.filter((t=>t!==s)):r=e,s=V(s)}return e.set(t,o),o}(e,this._c):[].concat(n),o],c=l[0],a=l.reduce(((t,n)=>{const o=J(e,n,s);return t.top=i(o.top,t.top),t.right=r(o.right,t.right),t.bottom=r(o.bottom,t.bottom),t.left=i(o.left,t.left),t}),J(e,c,s));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:tt,getElementRects:async function(t){let{reference:e,floating:n,strategy:o}=t;const r=this.getOffsetParent||tt,i=this.getDimensions;return{reference:Q(e,await r(n),o),floating:{x:0,y:0,...await i(n)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return U(t)},getScale:_,isElement:P,isRTL:function(t){return"rtl"===z(t).direction}};const nt=(t,e,n)=>{const o=new Map,r={platform:et,...n},i={...r.platform,_c:o};return(async(t,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),c=await(null==s.isRTL?void 0:s.isRTL(e));let a=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:u}=R(a,o,c),d=o,m={},p=0;for(let n=0;n<l.length;n++){const{name:i,fn:h}=l[n],{x:g,y:y,data:x,reset:w}=await h({x:f,y:u,initialPlacement:o,placement:d,strategy:r,middlewareData:m,rects:a,platform:s,elements:{reference:t,floating:e}});f=null!=g?g:f,u=null!=y?y:u,m={...m,[i]:{...m[i],...x}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(a=!0===w.rects?await s.getElementRects({reference:t,floating:e,strategy:r}):w.rects),({x:f,y:u}=R(a,d,c))),n=-1)}return{x:f,y:u,placement:d,strategy:r,middlewareData:m}})(t,e,{...r,platform:i})},ot=t=>({name:"offset",options:t,fn:async e=>T((e=>{let n;if(null!=(null!=e.middlewareData.flip?.overflows?e.middlewareData.flip?.overflows[0]:null)&&null!=t&&"object"==typeof t&&(n=rt(e.placement,e.initialPlacement,t)),!t)return 0;return n??t})).fn(e)}),rt=(t,e,n)=>{const o=e.split("-")[0],r=t.split("-")[0],i=e.split("-")[1],s=t.split("-")[1];return("right"===o||"left"===o)&&o===r&&i!==s||("top"===o||"bottom"===o)&&o===r&&i!==s?{mainAxis:n&&"object"==typeof n&&n.mainAxis?n.mainAxis:0,crossAxis:n&&"object"==typeof n&&n.crossAxis?-n.crossAxis:0}:n};function it(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if("function"==typeof t&&t.toString()===e.toString())return!0;let n,o,r;if(t&&e&&"object"==typeof t){if(Array.isArray(t)){if(n=t.length,n!=e.length)return!1;for(o=n;0!=o--;)if(!it(t[o],e[o]))return!1;return!0}if(r=Object.keys(t),n=r.length,n!==Object.keys(e).length)return!1;for(o=n;0!=o--;)if(!Object.prototype.hasOwnProperty.call(e,r[o]))return!1;for(o=n;0!=o--;){const n=r[o];if(("_owner"!==n||!t.$$typeof)&&!it(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}const st=(t,e)=>{const n=t.split("-")[0],r=t.split("-")[1],i=o.normalizePosition(n,e);let s,l;r&&(s={top:"start",bottom:"end"},l=r.replace(/top|bottom/g,(t=>s[t])));const c=["top","right","bottom","left","top-start","right-start","bottom-start","left-start","top-end","right-end","bottom-end","left-end"].filter((t=>l&&t===`${i}-${l}`||!l&&t===`${i}`))[0];return c||"bottom"};t.arrow=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:s,platform:l,elements:c}=e,{element:a,padding:f=0}=d(t,e)||{};if(null==a)return{};const m=v(f),h={x:n,y:o},y=x(i),w=g(y),b=await l.getDimensions(a),A="y"===y,R=A?"top":"left",L=A?"bottom":"right",T=A?"clientHeight":"clientWidth",E=s.reference[w]+s.reference[y]-h[y]-s.floating[w],D=h[y]-s.reference[y],S=await(null==l.getOffsetParent?void 0:l.getOffsetParent(a));let O=S?S[T]:0;O&&await(null==l.isElement?void 0:l.isElement(S))||(O=c.floating[T]||s.floating[w]);const P=E/2-D/2,k=O/2-b[w]/2-1,C=r(m[R],k),F=r(m[L],k),H=C,W=O-b[w]-F,$=O/2-b[w]/2+P,M=u(H,$,W),z=null!=p(i)&&$!=M&&s.reference[w]/2-($<H?C:F)-b[w]/2<0?$<H?H-$:W-$:0;return{[y]:h[y]-z,data:{[y]:M,centerOffset:$-M+z}}}}),t.autoUpdate=function(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:s=!0,ancestorResize:c=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:u=!1}=o,d=I(t),m=s||c?[...d?N(d):[],...N(e)]:[];m.forEach((t=>{s&&t.addEventListener("scroll",n,{passive:!0}),c&&t.addEventListener("resize",n)}));const p=d&&f?function(t,e){let n,o=null;const s=S(t);function c(){clearTimeout(n),o&&o.disconnect(),o=null}return function a(f,u){void 0===f&&(f=!1),void 0===u&&(u=1),c();const{left:d,top:m,width:p,height:h}=t.getBoundingClientRect();if(f||e(),!p||!h)return;const g={rootMargin:-l(m)+"px "+-l(s.clientWidth-(d+p))+"px "+-l(s.clientHeight-(m+h))+"px "+-l(d)+"px",threshold:i(0,r(1,u))||1};let y=!0;function x(t){const e=t[0].intersectionRatio;if(e!==u){if(!y)return a();e?a(!1,e):n=setTimeout((()=>{a(!1,1e-7)}),100)}y=!1}try{o=new IntersectionObserver(x,{...g,root:s.ownerDocument})}catch(t){o=new IntersectionObserver(x,g)}o.observe(t)}(!0),c}(d,n):null;let h,g=-1,y=null;a&&(y=new ResizeObserver((t=>{let[o]=t;o&&o.target===d&&y&&(y.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{y&&y.observe(e)}))),n()})),d&&!u&&y.observe(d),y.observe(e));let x=u?Y(t):null;return u&&function e(){const o=Y(t);!x||o.x===x.x&&o.y===x.y&&o.width===x.width&&o.height===x.height||n();x=o,h=requestAnimationFrame(e)}(),n(),()=>{m.forEach((t=>{s&&t.removeEventListener("scroll",n),c&&t.removeEventListener("resize",n)})),p&&p(),y&&y.disconnect(),y=null,u&&cancelAnimationFrame(h)}},t.flip=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n;const{placement:o,middlewareData:r,rects:i,initialPlacement:s,platform:l,elements:c}=e,{mainAxis:a=!0,crossAxis:f=!0,fallbackPlacements:u,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:v=!0,...A}=d(t,e),R=m(o),T=m(s)===s,E=await(null==l.isRTL?void 0:l.isRTL(c.floating)),D=u||(T||!v?[b(s)]:function(t){const e=b(t);return[w(t),e,w(e)]}(s));u||"none"===y||D.push(...function(t,e,n,o){const r=p(t);let i=function(t,e,n){const o=["left","right"],r=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?r:o:e?o:r;case"left":case"right":return e?i:s;default:return[]}}(m(t),"start"===n,o);return r&&(i=i.map((t=>t+"-"+r)),e&&(i=i.concat(i.map(w)))),i}(s,v,y,E));const S=[s,...D],O=await L(e,A),P=[];let k=(null==(n=r.flip)?void 0:n.overflows)||[];if(a&&P.push(O[R]),f){const t=function(t,e,n){void 0===n&&(n=!1);const o=p(t),r=x(t),i=g(r);let s="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=b(s)),[s,b(s)]}(o,i,E);P.push(O[t[0]],O[t[1]])}if(k=[...k,{placement:o,overflows:P}],!P.every((t=>t<=0))){var C,F;const t=((null==(C=r.flip)?void 0:C.index)||0)+1,e=S[t];if(e)return{data:{index:t,overflows:k},reset:{placement:e}};let n=null==(F=k.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:F.placement;if(!n)switch(h){case"bestFit":{var H;const t=null==(H=k.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:H[0];t&&(n=t);break}case"initialPlacement":n=s}if(o!==n)return{reset:{placement:n}}}return{}}}},t.limitShift=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:r,rects:i,middlewareData:s}=e,{offset:l=0,mainAxis:c=!0,crossAxis:a=!0}=d(t,e),f={x:n,y:o},u=y(r),p=h(u);let g=f[p],x=f[u];const w=d(l,e),b="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(c){const t="y"===p?"height":"width",e=i.reference[p]-i.floating[t]+b.mainAxis,n=i.reference[p]+i.reference[t]-b.mainAxis;g<e?g=e:g>n&&(g=n)}if(a){var v,A;const t="y"===p?"width":"height",e=["top","left"].includes(m(r)),n=i.reference[u]-i.floating[t]+(e&&(null==(v=s.offset)?void 0:v[u])||0)+(e?0:b.crossAxis),o=i.reference[u]+i.reference[t]+(e?0:(null==(A=s.offset)?void 0:A[u])||0)-(e?b.crossAxis:0);x<n?x=n:x>o&&(x=o)}return{[p]:g,[u]:x}}}},t.logicalSide=st,t.offset=ot,t.shift=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:r}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...c}=d(t,e),a={x:n,y:o},f=await L(e,c),p=y(m(r)),g=h(p);let x=a[g],w=a[p];if(i){const t="y"===g?"bottom":"right";x=u(x+f["y"===g?"top":"left"],x,x-f[t])}if(s){const t="y"===p?"bottom":"right";w=u(w+f["y"===p?"top":"left"],w,w-f[t])}const b=l.fn({...e,[g]:x,[p]:w});return{...b,data:{x:b.x-n,y:b.y-o}}}}},t.size=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:o,platform:s,elements:l}=e,{apply:c=(()=>{}),...a}=d(t,e),f=await L(e,a),u=m(n),h=p(n),g="y"===y(n),{width:x,height:w}=o.floating;let b,v;"top"===u||"bottom"===u?(b=u,v=h===(await(null==s.isRTL?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(v=u,b="end"===h?"top":"bottom");const A=w-f[b],R=x-f[v],T=!e.middlewareData.shift;let E=A,D=R;if(g){const t=x-f.left-f.right;D=h||T?r(R,t):t}else{const t=w-f.top-f.bottom;E=h||T?r(A,t):t}if(T&&!h){const t=i(f.left,0),e=i(f.right,0),n=i(f.top,0),o=i(f.bottom,0);g?D=x-2*(0!==t||0!==e?t+e:i(f.left,f.right)):E=w-2*(0!==n||0!==o?n+o:i(f.top,f.bottom))}await c({...e,availableWidth:D,availableHeight:E});const S=await s.getDimensions(l.floating);return x!==S.width||w!==S.height?{reset:{rects:!0}}:{}}}},t.useFloating=function({middleware:t,placement:r,strategy:i,onPosition:s,whileElementsMounted:l}){["top","top-start","top-end","top-start-corner","top-end-corner","start","start-top","start-bottom","start-top-corner","start-bottom-corner","bottom","bottom-start","bottom-end","bottom-start-corner","bottom-end-corner","end","end-top","end-bottom","end-top-corner","end-bottom-corner"].includes(r)||(r="bottom");const c=e.useRef(null),a=e.useRef(null),[f,u]=e.useState(null),[d,m]=e.useState(null),p=function(t){const n=e.useRef(t);return e.useLayoutEffect((()=>{n.current=t})),n}(l),h=e.useRef(!1),{direction:g}=n.useUser(),[y,x]=e.useState({x:null,y:null,strategy:i??"absolute",placement:"bottom",middlewareData:{}}),w=e.useRef(y),[b,v]=e.useState(t);it(b,t)||v(t);const A=e.useCallback((()=>{if(!c.current||!a.current)return;const t=((t,e)=>{const n=t.split("-")[0],o=t.split("-")[1];if(null==t.split("-")[2])return{placement:t,offset:void 0};const r=["top-start","start-top","bottom-start","start-bottom","top-end","end-top","bottom-end","end-bottom"].filter((t=>t===`${n}-${o}`))[0];return"start"==o?{placement:r,offset:{crossAxis:-e.offsetWidth}}:"end"==o?{placement:r,offset:{crossAxis:e.offsetWidth}}:"top"==o?{placement:r,offset:{crossAxis:-e.offsetHeight}}:{placement:r,offset:{crossAxis:e.offsetHeight}}})(r,a.current),e=st(t.placement,g),n=b?.map((e=>{if(e&&"offset"===e?.name){if("function"==typeof e.options)return null==t.offset?e:ot(t.offset);const n="number"==typeof e.options?{mainAxis:e.options,crossAxis:0}:e.options;return ot({mainAxis:(n&&n.mainAxis)??0,crossAxis:((t.offset&&t.offset.crossAxis)??0)+((n&&n.crossAxis)??0)})}return e}));nt(c.current,a.current,{middleware:n,placement:e,strategy:i}).then((t=>{if(h.current){if(t.placement!==w.current.placement||t.x!==w.current.x||t.y!==w.current.y||t.middlewareData.arrow?.x!=w.current.middlewareData.arrow?.x||t.middlewareData.arrow?.y!=w.current.middlewareData.arrow?.y||t.middlewareData.arrow?.centerOffset!=w.current.middlewareData.arrow?.centerOffset){const e=n?.find((t=>t&&"offset"===t?.name)),i=e?.options,l=((t,e)=>{const n=t.split("-")[0];if("top"===n||"bottom"===n)return t;const r=t.split("-")[1],i=o.reverseNormalizePosition(n,e),s={start:"top",end:"bottom"},l=null!=r?r.replace(/start|end/g,(t=>s[t])):null,c=["top","top-start","top-end","end","end-top","end-bottom","bottom-start","bottom-end","bottom","start","start-top","start-bottom"].filter((t=>l&&t===`${i}-${l}`||!l&&t===`${i}`))[0];return c||"bottom"})(t.placement,g),c=t.middlewareData.offset,a={placement:l,origPlacement:r,x:t.x,y:t.y,arrow:t.middlewareData.arrow,offset:c,origOffset:i};s?.(a)}(t=>{w.current=t,x(t)})(t)}}))}),[b,r,g,i,s]);e.useLayoutEffect((()=>(h.current=!0,()=>{h.current=!1})),[]),e.useLayoutEffect((()=>{if(f&&d){if(p.current)return p.current(f,d,A);A()}}),[f,d,A,p]);const R=e.useCallback((t=>{c.current!==t&&(c.current=t,u(t))}),[]),L=e.useCallback((t=>{a.current!==t&&(a.current=t,m(t))}),[]),T=e.useMemo((()=>({reference:c,floating:a})),[]);return e.useMemo((()=>({...y,update:A,refs:T,reference:R,floating:L})),[y,A,T,R,L])}}));
|
|
2
|
-
//# sourceMappingURL=useFloating-c8c92f6f.js.map
|