twenty-ui 2.41.0 → 2.43.0
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/CHANGELOG.md +24 -0
- package/README.md +48 -23
- package/dist/{AllIcons-CFPS3m2F.cjs → AllIcons-D_4JeQkX.cjs} +1 -1
- package/dist/{AllIcons-UzofKGsA.js → AllIcons-Z8o0B2fy.js} +260 -260
- package/dist/Avatar-BSHgTxt-.js +67 -0
- package/dist/Avatar-DTNH6Ku7.cjs +1 -0
- package/dist/Heading-CQqDjovJ.cjs +1 -0
- package/dist/Heading-DvxTKEaL.js +16 -0
- package/dist/HorizontalSeparator-JwV0dB5W.js +44 -0
- package/dist/HorizontalSeparator-vJLHHlc4.cjs +1 -0
- package/dist/Input-CFXY05bj.cjs +1 -0
- package/dist/Input-DHfmRBq5.js +116 -0
- package/dist/ListItem-2dHkY1NB.cjs +1 -0
- package/dist/ListItem-D6DvFIbl.js +109 -0
- package/dist/ListItem.module-CveFbY4M.cjs +1 -0
- package/dist/ListItem.module-DtIGiTDL.js +38 -0
- package/dist/Loader-X1LymYkw.js +14 -0
- package/dist/Loader-Z6_7AA-x.cjs +1 -0
- package/dist/MenuSeparator-DJOspG7J.cjs +1 -0
- package/dist/MenuSeparator-dNx4JE6C.js +66 -0
- package/dist/OverflowingTextWithTooltip-CqEkoH6t.js +179 -0
- package/dist/OverflowingTextWithTooltip-bn6EwWeq.cjs +1 -0
- package/dist/Pill-BJ3K8Mdc.cjs +1 -0
- package/dist/Pill-DaFEFIOT.js +9 -0
- package/dist/ProgressBar-DwJQXHwg.cjs +1 -0
- package/dist/ProgressBar-RWLNIkzm.js +55 -0
- package/dist/ResizeHandle-DN1bRxQb.js +89 -0
- package/dist/ResizeHandle-cll01qBQ.cjs +1 -0
- package/dist/TabsTabContent-BseLV1Wk.cjs +1 -0
- package/dist/TabsTabContent-_NCTxoP6.js +40 -0
- package/dist/components/code-editor/CodeEditor/CodeEditor.d.ts +2 -0
- package/dist/components/code-editor/CodeEditor/__stories__/waitForCodeEditorContent.d.ts +1 -0
- package/dist/{primitives/input/CodeEditor/CodeEditor.d.ts → components/code-editor/CodeEditor/types/CodeEditorProps.d.ts} +2 -2
- package/dist/{primitives/input → components/code-editor}/CodeEditor/utils/getBaseCodeEditorTheme.d.ts +1 -1
- package/dist/components/code-editor/CodeEditorHeader/CodeEditorHeader.d.ts +2 -0
- package/dist/components/code-editor/CodeEditorHeader/types/CodeEditorHeaderProps.d.ts +5 -0
- package/dist/components/code-editor/index.d.ts +6 -0
- package/dist/components/code-editor.cjs +1 -0
- package/dist/components/code-editor.mjs +231 -0
- package/dist/components/data-display/AvatarGroup/AvatarGroup.d.ts +2 -0
- package/dist/{primitives/data-display/AvatarGroup/AvatarGroup.d.ts → components/data-display/AvatarGroup/types/AvatarGroupProps.d.ts} +3 -1
- package/dist/components/data-display/JsonTree/JsonTree.d.ts +2 -0
- package/dist/{primitives/json-visualizer/components → components/data-display/JsonTree/internal}/JsonNestedNode.d.ts +1 -1
- package/dist/{primitives/json-visualizer/components → components/data-display/JsonTree}/internal/JsonNodeLabel.d.ts +1 -1
- package/dist/{primitives/json-visualizer/components → components/data-display/JsonTree}/internal/JsonNodeValue.d.ts +1 -1
- package/dist/{primitives/json-visualizer/components → components/data-display/JsonTree/internal}/JsonTreeContextProvider.d.ts +1 -1
- package/dist/{primitives/json-visualizer/components → components/data-display/JsonTree/internal}/JsonValueNode.d.ts +1 -1
- package/dist/components/data-display/JsonTree/internal/contexts/JsonTreeContext.d.ts +2 -0
- package/dist/{primitives/json-visualizer → components/data-display/JsonTree/internal}/hooks/useJsonTreeContextOrThrow.d.ts +1 -1
- package/dist/{primitives/json-visualizer/contexts/JsonTreeContext.d.ts → components/data-display/JsonTree/internal/types/JsonTreeContextType.d.ts} +2 -6
- package/dist/{primitives/json-visualizer → components/data-display/JsonTree/internal}/utils/isTwoFirstDepths.d.ts +1 -1
- package/dist/{primitives/json-visualizer → components/data-display/JsonTree}/types/JsonNodeHighlighting.d.ts +1 -1
- package/dist/components/data-display/JsonTree/types/JsonTreeEntry.d.ts +6 -0
- package/dist/components/data-display/JsonTree/types/JsonTreeProps.d.ts +12 -0
- package/dist/components/data-display/JsonTree/types/ShouldExpandNodeInitiallyProps.d.ts +4 -0
- package/dist/components/data-display/TintedIconTile/TintedIconTile.d.ts +2 -0
- package/dist/components/data-display/TintedIconTile/types/TintedIconTileProps.d.ts +7 -0
- package/dist/components/feedback/Callout/Callout.d.ts +2 -0
- package/dist/components/feedback/Callout/types/CalloutProps.d.ts +15 -0
- package/dist/components/feedback/Callout/types/CalloutVariant.d.ts +1 -0
- package/dist/components/feedback/Info/Info.d.ts +2 -0
- package/dist/components/feedback/Info/types/InfoAccent.d.ts +1 -0
- package/dist/{primitives/feedback/Info/Info.d.ts → components/feedback/Info/types/InfoProps.d.ts} +4 -3
- package/dist/{primitives → components}/feedback/InlineBanner/InlineBanner.d.ts +1 -1
- package/dist/components/feedback/Toast/hooks/useToast.d.ts +7 -0
- package/dist/components/index.d.ts +96 -3
- package/dist/components/input/CardPicker/types/CardPickerProps.d.ts +2 -0
- package/dist/components/input/ColorSchemePicker/ColorSchemePicker.d.ts +2 -0
- package/dist/{primitives/input → components/input/ColorSchemePicker/internal}/ColorSchemeCard/ColorSchemeCard.d.ts +1 -1
- package/dist/components/input/ColorSchemePicker/types/ColorSchemePickerProps.d.ts +9 -0
- package/dist/components/input/IconButton/IconButton.d.ts +2 -0
- package/dist/components/input/IconButton/types/IconButtonProps.d.ts +14 -0
- package/dist/components/input/IconButton/types/IconButtonSize.d.ts +2 -0
- package/dist/components/{LightButton → input/LightButton}/types/LightButtonProps.d.ts +1 -1
- package/dist/components/input/LightIconButton/LightIconButton.d.ts +2 -0
- package/dist/components/input/LightIconButton/types/LightIconButtonProps.d.ts +4 -0
- package/dist/components/{MainButton → input/MainButton}/MainButton.d.ts +1 -1
- package/dist/components/input/SearchInput/SearchInput.d.ts +2 -0
- package/dist/components/input/SearchInput/types/SearchInputProps.d.ts +14 -0
- package/dist/components/input/SettingsRow/SettingsRow.d.ts +2 -0
- package/dist/components/input/SettingsRow/__stories__/ControlledSettingsRowExample.d.ts +2 -0
- package/dist/components/input/SettingsRow/types/SettingsRowProps.d.ts +6 -0
- package/dist/components/layout/Section/Section.d.ts +4 -0
- package/dist/components/layout/Section/internal/SectionHeader.d.ts +2 -0
- package/dist/components/layout/Section/internal/SectionRoot.d.ts +2 -0
- package/dist/components/layout/Section/types/SectionHeaderProps.d.ts +9 -0
- package/dist/components/layout/Section/types/SectionRootProps.d.ts +6 -0
- package/dist/components/navigation/Dropdown/Dropdown.d.ts +21 -0
- package/dist/components/navigation/Dropdown/__stories__/DropdownNestedExample.d.ts +1 -0
- package/dist/components/navigation/Dropdown/__stories__/DropdownPagesExample.d.ts +1 -0
- package/dist/components/navigation/Dropdown/__stories__/DropdownPanelExample.d.ts +1 -0
- package/dist/components/navigation/Dropdown/__stories__/DropdownPickerExample.d.ts +4 -0
- package/dist/components/navigation/Dropdown/internal/DropdownActionItem.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownBack.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownClose.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownContent.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownContext.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownContextValue.d.ts +37 -0
- package/dist/components/navigation/Dropdown/internal/DropdownEmpty.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownFocusTarget.d.ts +6 -0
- package/dist/components/navigation/Dropdown/internal/DropdownHeader.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownLoading.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownNestedRootEffect.d.ts +6 -0
- package/dist/components/navigation/Dropdown/internal/DropdownOptionItem.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownPage.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownPageFocusEffect.d.ts +6 -0
- package/dist/components/navigation/Dropdown/internal/DropdownPageFocusRequest.d.ts +5 -0
- package/dist/components/navigation/Dropdown/internal/DropdownRoot.d.ts +4 -0
- package/dist/components/navigation/Dropdown/internal/DropdownSearch.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownSearchTargetEffect.d.ts +5 -0
- package/dist/components/navigation/Dropdown/internal/DropdownSection.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownSeparator.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownSubmenu.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownSubmenuTrigger.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownTitle.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownTrigger.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/getDropdownFocusTarget.d.ts +8 -0
- package/dist/components/navigation/Dropdown/internal/getDropdownItemLabel.d.ts +1 -0
- package/dist/components/navigation/Dropdown/internal/getDropdownItems.d.ts +1 -0
- package/dist/components/navigation/Dropdown/internal/getDropdownSearchTarget.d.ts +1 -0
- package/dist/components/navigation/Dropdown/internal/getDropdownTrigger.d.ts +1 -0
- package/dist/components/navigation/Dropdown/internal/getNextDropdownItem.d.ts +7 -0
- package/dist/components/navigation/Dropdown/internal/isUnhandledModifierShortcut.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/preventDismissingClickActivation.d.ts +1 -0
- package/dist/components/navigation/Dropdown/internal/useDropdownContext.d.ts +1 -0
- package/dist/components/navigation/Dropdown/internal/useDropdownItemFocus.d.ts +7 -0
- package/dist/components/navigation/Dropdown/internal/useDropdownKeyboardNavigation.d.ts +7 -0
- package/dist/components/navigation/Dropdown/types/DropdownActionItemProps.d.ts +10 -0
- package/dist/components/navigation/Dropdown/types/DropdownCloseProps.d.ts +4 -0
- package/dist/components/navigation/Dropdown/types/DropdownContentProps.d.ts +5 -0
- package/dist/components/navigation/Dropdown/types/DropdownHeaderProps.d.ts +2 -0
- package/dist/components/navigation/Dropdown/types/DropdownOptionItemProps.d.ts +7 -0
- package/dist/components/navigation/Dropdown/types/DropdownPageProps.d.ts +7 -0
- package/dist/components/navigation/Dropdown/types/DropdownRootProps.d.ts +11 -0
- package/dist/components/navigation/Dropdown/types/DropdownSearchProps.d.ts +4 -0
- package/dist/components/navigation/Dropdown/types/DropdownSectionProps.d.ts +5 -0
- package/dist/components/navigation/Dropdown/types/DropdownSubmenuProps.d.ts +2 -0
- package/dist/components/navigation/Dropdown/types/DropdownSubmenuTriggerProps.d.ts +6 -0
- package/dist/components/navigation/Dropdown/types/DropdownTitleProps.d.ts +2 -0
- package/dist/components/navigation/Dropdown/types/DropdownTriggerProps.d.ts +2 -0
- package/dist/components/navigation/Dropdown/types/DropdownType.d.ts +1 -0
- package/dist/components/navigation/MenuItem/MenuItem.d.ts +2 -0
- package/dist/components/navigation/MenuItem/constants/DefaultColorLabels.d.ts +2 -0
- package/dist/{primitives/navigation/MenuItem/constants/DefaultColorLabels.d.ts → components/navigation/MenuItem/types/ColorLabels.d.ts} +0 -1
- package/dist/components/navigation/MenuItem/types/MenuItemProps.d.ts +32 -0
- package/dist/components/navigation/MenuItemAvatar/MenuItemAvatar.d.ts +2 -0
- package/dist/{primitives/navigation/MenuItemAvatar/MenuItemAvatar.d.ts → components/navigation/MenuItemAvatar/types/MenuItemAvatarProps.d.ts} +3 -5
- package/dist/components/navigation/MenuItemDraggable/MenuItemDraggable.d.ts +2 -0
- package/dist/components/navigation/MenuItemDraggable/types/MenuItemDraggableProps.d.ts +19 -0
- package/dist/components/navigation/MenuItemSuggestion/MenuItemSuggestion.d.ts +2 -0
- package/dist/{primitives/navigation/MenuItemSuggestion/MenuItemSuggestion.d.ts → components/navigation/MenuItemSuggestion/types/MenuItemSuggestionProps.d.ts} +1 -2
- package/dist/components/navigation/MenuPicker/MenuPicker.d.ts +2 -0
- package/dist/components/navigation/MenuPicker/types/MenuPickerProps.d.ts +15 -0
- package/dist/{primitives/navigation → components/navigation/NavigationBar/internal}/NavigationBarItem/NavigationBarItem.d.ts +1 -1
- package/dist/components/navigation/TabButton/TabButton.d.ts +2 -0
- package/dist/components/navigation/TabButton/types/TabButtonProps.d.ts +5 -0
- package/dist/components-BYWo2sUE.cjs +1 -0
- package/dist/components-C96xU59U.js +1996 -0
- package/dist/components.cjs +1 -1
- package/dist/components.mjs +44 -3
- package/dist/data-display-BQ9g9oSc.cjs +1 -0
- package/dist/data-display-z9gKjkPS.js +184 -0
- package/dist/feedback-BvpEL2-w.js +25 -0
- package/dist/feedback-CH2UC0Fv.cjs +1 -0
- package/dist/handleClickableElementKeyDown-0XD9MRqa.cjs +1 -0
- package/dist/handleClickableElementKeyDown-CJ_JsX2K.js +11 -0
- package/dist/icon/components/IconBrandTypesafeAi.d.ts +4 -0
- package/dist/icon/components/TablerIcons.d.ts +1 -1
- package/dist/icon/constants/TwentyIconDictionary.d.ts +9 -0
- package/dist/icon/index.d.ts +2 -1
- package/dist/{icon-DqzYzlBl.js → icon-Bd81r48z.js} +968 -487
- package/dist/icon-iD9IXJmn.cjs +1 -0
- package/dist/icon.cjs +1 -1
- package/dist/icon.mjs +499 -498
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.mjs +642 -739
- package/dist/individual-entry.d.ts +0 -1
- package/dist/input-C8IiOA9Q.js +335 -0
- package/dist/input-NBD4DP8j.cjs +1 -0
- package/dist/isDefined-DS2Q42p5.cjs +1 -0
- package/dist/isDefined-fMi6eQ4r.js +5 -0
- package/dist/layout-BgAfeZsL.cjs +1 -0
- package/dist/layout-D-XbKoLM.js +30 -0
- package/dist/linkifyText-BHQ4_CzQ.cjs +1 -0
- package/dist/linkifyText-BINRNP9w.js +45 -0
- package/dist/navigation-BqZBteC2.cjs +1 -0
- package/dist/navigation-CLMgaqS8.js +91 -0
- package/dist/primitives/accessibility/index.d.ts +0 -1
- package/dist/primitives/accessibility.cjs +1 -1
- package/dist/primitives/accessibility.mjs +2 -4
- package/dist/primitives/data-display/Chip/types/ChipProps.d.ts +2 -2
- package/dist/primitives/data-display/index.d.ts +0 -23
- package/dist/primitives/data-display.cjs +1 -1
- package/dist/primitives/data-display.mjs +10 -25
- package/dist/primitives/feedback/index.d.ts +0 -25
- package/dist/primitives/feedback.cjs +1 -1
- package/dist/primitives/feedback.mjs +7 -27
- package/dist/primitives/index.d.ts +0 -1
- package/dist/primitives/input/Button/Button.d.ts +1 -1
- package/dist/primitives/input/Button/types/ButtonProps.d.ts +1 -1
- package/dist/primitives/input/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/dist/primitives/input/ButtonGroup/types/ButtonGroupProps.d.ts +4 -1
- package/dist/primitives/input/SegmentedControl/SegmentedControl.d.ts +2 -29
- package/dist/primitives/input/SegmentedControl/types/SegmentedControlOption.d.ts +13 -0
- package/dist/primitives/input/SegmentedControl/types/SegmentedControlProps.d.ts +10 -0
- package/dist/primitives/input/index.d.ts +2 -50
- package/dist/primitives/input.cjs +1 -1
- package/dist/primitives/input.mjs +15 -43
- package/dist/primitives/layout/AnimatedExpandableContainer/AnimatedExpandableContainer.d.ts +3 -1
- package/dist/primitives/layout/ResizeHandle/ResizeHandle.d.ts +2 -9
- package/dist/primitives/layout/ResizeHandle/__stories__/ControlledResizeHandle.d.ts +2 -0
- package/dist/primitives/layout/ResizeHandle/__stories__/ResizableDemo.d.ts +3 -0
- package/dist/primitives/layout/ResizeHandle/__stories__/withMockPointerCapture.d.ts +4 -0
- package/dist/primitives/layout/ResizeHandle/internal/ResizeHandleDefaults.constant.d.ts +6 -0
- package/dist/primitives/layout/ResizeHandle/internal/useResizeHandleInteraction.d.ts +19 -0
- package/dist/primitives/layout/ResizeHandle/types/ResizeHandleProps.d.ts +11 -0
- package/dist/primitives/layout/index.d.ts +1 -9
- package/dist/primitives/layout.cjs +1 -1
- package/dist/primitives/layout.mjs +6 -17
- package/dist/primitives/navigation/ListItem/ListItem.d.ts +1 -1
- package/dist/primitives/navigation/ListItem/__stories__/ListItemPickerExample.d.ts +6 -0
- package/dist/primitives/navigation/ListItem/types/ListItemProps.d.ts +1 -0
- package/dist/primitives/navigation/Tabs/Tabs.d.ts +1 -1
- package/dist/primitives/navigation/Tabs/internal/TabsTab.d.ts +1 -1
- package/dist/primitives/navigation/Tabs/types/TabsTabProps.d.ts +2 -0
- package/dist/primitives/navigation/index.d.ts +0 -38
- package/dist/primitives/navigation/internal/tab/TabsTabContent.d.ts +4 -0
- package/dist/primitives/navigation.cjs +1 -1
- package/dist/primitives/navigation.mjs +8 -41
- package/dist/primitives/surfaces/Card/Card.d.ts +17 -7
- package/dist/primitives/surfaces/Card/internal/CardRoot.d.ts +8 -0
- package/dist/primitives/surfaces/Dialog/Dialog.d.ts +13 -0
- package/dist/primitives/surfaces/Dialog/__stories__/DialogExample.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/__stories__/DialogExampleProps.d.ts +9 -0
- package/dist/primitives/surfaces/Dialog/__stories__/waitForDialog.d.ts +1 -0
- package/dist/primitives/surfaces/Dialog/internal/DialogBody.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/internal/DialogDescription.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/internal/DialogFooter.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/internal/DialogHeader.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/internal/DialogPopup.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/internal/DialogTitle.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogBodyProps.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogCloseProps.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogDescriptionProps.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogFooterProps.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogHeaderProps.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogPopupProps.d.ts +9 -0
- package/dist/primitives/surfaces/Dialog/types/DialogRootProps.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogSize.d.ts +1 -0
- package/dist/primitives/surfaces/Dialog/types/DialogTitleProps.d.ts +3 -0
- package/dist/primitives/surfaces/Dialog/types/DialogTriggerProps.d.ts +2 -0
- package/dist/primitives/surfaces/Menu/internal/getMenuListItemProps.d.ts +1 -1
- package/dist/primitives/surfaces/Tooltip/Tooltip.d.ts +9 -0
- package/dist/primitives/surfaces/Tooltip/internal/TooltipComponent.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/internal/TooltipContent.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/internal/TooltipPopup.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipAlign.d.ts +1 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipContentProps.d.ts +6 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipPopupProps.d.ts +12 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipProps.d.ts +7 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipProviderProps.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipRootProps.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipSide.d.ts +1 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipTriggerProps.d.ts +2 -0
- package/dist/primitives/surfaces/index.d.ts +20 -18
- package/dist/primitives/surfaces.cjs +1 -1
- package/dist/primitives/surfaces.mjs +9 -18
- package/dist/primitives/typography/Heading/Heading.d.ts +2 -0
- package/dist/primitives/typography/Heading/types/HeadingProps.d.ts +6 -0
- package/dist/primitives/{surfaces → typography}/OverflowingTextWithTooltip/OverflowingTextWithTooltip.d.ts +4 -4
- package/dist/primitives/typography/index.d.ts +3 -8
- package/dist/primitives/typography.cjs +1 -1
- package/dist/primitives/typography.mjs +5 -13
- package/dist/primitives.cjs +1 -1
- package/dist/primitives.mjs +63 -199
- package/dist/style.css +1 -1
- package/dist/surfaces-DX8oX1ou.js +254 -0
- package/dist/surfaces-uuLwsFxg.cjs +1 -0
- package/dist/testing/index.d.ts +1 -3
- package/dist/testing/utils/overrideMediaQueryMatches.d.ts +1 -0
- package/dist/testing.cjs +1 -1
- package/dist/testing.mjs +94 -94
- package/dist/theme/ThemeOverrides.d.ts +1 -0
- package/dist/theme/ThemeProvider.d.ts +3 -0
- package/dist/theme/ThemeProviderProps.d.ts +13 -0
- package/dist/{theme-constants → theme}/getNextThemeColor.d.ts +1 -1
- package/dist/theme/index.d.ts +10 -0
- package/dist/theme/internal/ThemeContextType.d.ts +6 -0
- package/dist/theme/internal/computeThemeFromCss.d.ts +2 -0
- package/dist/theme/internal/getThemeContext.d.ts +3 -0
- package/dist/theme/internal/getThemeScopeContext.d.ts +2 -0
- package/dist/theme/internal/resolveExplicitTheme.d.ts +5 -0
- package/dist/{theme-OwFrow8b.js → theme-DBro6iwF.js} +1198 -23
- package/dist/theme-DNG4OSBd.cjs +1 -0
- package/dist/theme.cjs +1 -1
- package/dist/theme.mjs +14 -7
- package/dist/utilities/color/utils/stringToThemeColorP3String.d.ts +1 -2
- package/dist/utilities/index.d.ts +3 -6
- package/dist/utilities/responsive/constants/MobileMediaQuery.d.ts +1 -0
- package/dist/utilities/responsive/constants/TouchDeviceMediaQuery.d.ts +1 -0
- package/dist/utilities/responsive/hooks/useMediaQuery.d.ts +1 -0
- package/dist/utilities/responsive/internal/getMediaQueryStore.d.ts +6 -0
- package/dist/utilities-BlvbRryv.cjs +1 -0
- package/dist/utilities-C5Tt2HLT.js +56 -0
- package/dist/utilities.cjs +1 -1
- package/dist/utilities.mjs +19 -21
- package/package.json +22 -20
- package/dist/Button-DDrUyVB1.cjs +0 -1
- package/dist/Button-u4e3zI-a.js +0 -72
- package/dist/HorizontalSeparator-BWu4LVEU.cjs +0 -1
- package/dist/HorizontalSeparator-p1xF1-ka.js +0 -37
- package/dist/OverflowingTextWithTooltip-C21bgWKF.js +0 -236
- package/dist/OverflowingTextWithTooltip-C2iADYbv.cjs +0 -1
- package/dist/Pill-4lAWCmbk.cjs +0 -1
- package/dist/Pill-abKRH4XK.js +0 -19
- package/dist/TablerIcons-Ctfi8z4q.js +0 -448
- package/dist/accessibility-BEkMTFE2.cjs +0 -1
- package/dist/accessibility-C7H0m2Th.js +0 -16
- package/dist/chunk-u_mIcLyS.cjs +0 -1
- package/dist/components-B0WZ1iBV.js +0 -19
- package/dist/components-BwvstA6U.cjs +0 -1
- package/dist/data-display-ByvqdkPn.js +0 -472
- package/dist/data-display-DH28tg-I.cjs +0 -1
- package/dist/feedback-62S0e8tP.cjs +0 -1
- package/dist/feedback-Cu7U-W9T.js +0 -660
- package/dist/handleClickableElementKeyDown-C8Uz61XJ.js +0 -6
- package/dist/handleClickableElementKeyDown-CByqtBhO.cjs +0 -1
- package/dist/icon-QYavWP3u.cjs +0 -1
- package/dist/input-B1qr987z.cjs +0 -1
- package/dist/input-DOIOurw8.js +0 -1322
- package/dist/json-visualizer-CN76kFy-.cjs +0 -1
- package/dist/json-visualizer-Q7wzKVum.js +0 -241
- package/dist/layout-BN3KI-Wu.cjs +0 -1
- package/dist/layout-LzKpLxiO.js +0 -124
- package/dist/linkifyText-C4_e-MKf.cjs +0 -1
- package/dist/linkifyText-DVk8e0sw.js +0 -40
- package/dist/navigation-BqWHvCpD.cjs +0 -1
- package/dist/navigation-CqKtMuQI.js +0 -724
- package/dist/primitives/accessibility/components/VisibilityHiddenInput.d.ts +0 -1
- package/dist/primitives/data-display/AnimatedCheckmark/AnimatedCheckmark.d.ts +0 -7
- package/dist/primitives/data-display/AvatarOrIcon/AvatarOrIcon.d.ts +0 -2
- package/dist/primitives/data-display/AvatarOrIcon/types/AvatarOrIconProps.d.ts +0 -12
- package/dist/primitives/data-display/Chip/constants/LinkChipClickOutsideId.d.ts +0 -1
- package/dist/primitives/data-display/EllipsisDisplay/EllipsisDisplay.d.ts +0 -7
- package/dist/primitives/data-display/JsonDisplay/JsonDisplay.d.ts +0 -6
- package/dist/primitives/data-display/LinkChip/LinkChip.d.ts +0 -11
- package/dist/primitives/data-display/NumberDisplay/NumberDisplay.d.ts +0 -6
- package/dist/primitives/data-display/SelectDisplay/SelectDisplay.d.ts +0 -10
- package/dist/primitives/data-display/TextDisplay/TextDisplay.d.ts +0 -6
- package/dist/primitives/data-display/TintedIconTile/TintedIconTile.d.ts +0 -8
- package/dist/primitives/feedback/AnimatedPlaceholder/AnimatedPlaceholder.d.ts +0 -7
- package/dist/primitives/feedback/AnimatedPlaceholder/constants/Background.d.ts +0 -19
- package/dist/primitives/feedback/AnimatedPlaceholder/constants/DarkBackground.d.ts +0 -19
- package/dist/primitives/feedback/AnimatedPlaceholder/constants/DarkMovingImage.d.ts +0 -19
- package/dist/primitives/feedback/AnimatedPlaceholder/constants/MovingImage.d.ts +0 -19
- package/dist/primitives/feedback/AnimatedPlaceholder/types/AnimatedPlaceholderType.d.ts +0 -3
- package/dist/primitives/feedback/Callout/Callout.d.ts +0 -15
- package/dist/primitives/feedback/EmptyPlaceholderStyled/EmptyPlaceholderStyled.d.ts +0 -11
- package/dist/primitives/feedback/ErrorPlaceholderStyled/ErrorPlaceholderStyled.d.ts +0 -5
- package/dist/primitives/feedback/SidePanelInformationBanner/SidePanelInformationBanner.d.ts +0 -7
- package/dist/primitives/feedback/Toast/hooks/useToast.d.ts +0 -7
- package/dist/primitives/input/AnimatedButton/AnimatedButton.d.ts +0 -3
- package/dist/primitives/input/AnimatedButton/internal/AnimatedButtonAccent.d.ts +0 -1
- package/dist/primitives/input/AnimatedButton/internal/AnimatedButtonBaseProps.d.ts +0 -30
- package/dist/primitives/input/AnimatedButton/internal/AnimatedButtonPosition.d.ts +0 -1
- package/dist/primitives/input/AnimatedButton/internal/AnimatedButtonVariant.d.ts +0 -1
- package/dist/primitives/input/AnimatedButton/types/AnimatedButtonProps.d.ts +0 -7
- package/dist/primitives/input/AnimatedLightIconButton/AnimatedLightIconButton.d.ts +0 -17
- package/dist/primitives/input/CardPicker/types/CardPickerProps.d.ts +0 -2
- package/dist/primitives/input/CodeEditorHeader/CodeEditorHeader.d.ts +0 -6
- package/dist/primitives/input/ColorPickerButton/ColorPickerButton.d.ts +0 -7
- package/dist/primitives/input/ColorSchemePicker/ColorSchemePicker.d.ts +0 -10
- package/dist/primitives/input/FloatingButton/FloatingButton.d.ts +0 -17
- package/dist/primitives/input/FloatingButtonGroup/FloatingButtonGroup.d.ts +0 -7
- package/dist/primitives/input/FloatingIconButton/FloatingIconButton.d.ts +0 -18
- package/dist/primitives/input/FloatingIconButtonGroup/FloatingIconButtonGroup.d.ts +0 -12
- package/dist/primitives/input/IconButton/IconButton.d.ts +0 -16
- package/dist/primitives/input/IconButton/types/IconButtonAccent.d.ts +0 -1
- package/dist/primitives/input/IconButton/types/IconButtonPosition.d.ts +0 -1
- package/dist/primitives/input/IconButton/types/IconButtonProps.d.ts +0 -21
- package/dist/primitives/input/IconButton/types/IconButtonSize.d.ts +0 -1
- package/dist/primitives/input/IconButton/types/IconButtonVariant.d.ts +0 -1
- package/dist/primitives/input/IconButtonGroup/IconButtonGroup.d.ts +0 -12
- package/dist/primitives/input/IconButtonWithTooltip/IconButtonWithTooltip.d.ts +0 -9
- package/dist/primitives/input/IconListViewGrip/IconListViewGrip.d.ts +0 -4
- package/dist/primitives/input/InputHint/InputHint.d.ts +0 -10
- package/dist/primitives/input/InputLabel/InputLabel.d.ts +0 -10
- package/dist/primitives/input/InsideButton/InsideButton.d.ts +0 -10
- package/dist/primitives/input/LightIconButton/LightIconButton.d.ts +0 -17
- package/dist/primitives/input/LightIconButtonGroup/LightIconButtonGroup.d.ts +0 -17
- package/dist/primitives/input/RoundedIconButton/RoundedIconButton.d.ts +0 -9
- package/dist/primitives/input/SearchInput/SearchInput.d.ts +0 -15
- package/dist/primitives/input/TabButton/TabButton.d.ts +0 -28
- package/dist/primitives/input/TabButton/parts/StyledTabBase.d.ts +0 -15
- package/dist/primitives/input/TabButton/parts/TabContent.d.ts +0 -15
- package/dist/primitives/json-visualizer/components/JsonTree.d.ts +0 -14
- package/dist/primitives/json-visualizer/index.d.ts +0 -14
- package/dist/primitives/json-visualizer.cjs +0 -1
- package/dist/primitives/json-visualizer.mjs +0 -14
- package/dist/primitives/layout/AnimatedCircleLoading/AnimatedCircleLoading.d.ts +0 -3
- package/dist/primitives/layout/AnimatedContainer/AnimatedContainer.d.ts +0 -3
- package/dist/primitives/layout/AnimatedEaseIn/AnimatedEaseIn.d.ts +0 -7
- package/dist/primitives/layout/AnimatedEaseInOut/AnimatedEaseInOut.d.ts +0 -11
- package/dist/primitives/layout/AnimatedRotate/AnimatedRotate.d.ts +0 -9
- package/dist/primitives/layout/AutogrowWrapper/AutogrowWrapper.d.ts +0 -8
- package/dist/primitives/layout/ResizeHandle/hooks/useResizeHandle.d.ts +0 -10
- package/dist/primitives/layout/Section/Section.d.ts +0 -19
- package/dist/primitives/navigation/ContactLink/ContactLink.d.ts +0 -9
- package/dist/primitives/navigation/GithubVersionLink/GithubVersionLink.d.ts +0 -5
- package/dist/primitives/navigation/MenuItem/MenuItem.d.ts +0 -47
- package/dist/primitives/navigation/MenuItem/parts/MenuItemMultiSelectCheckbox.d.ts +0 -7
- package/dist/primitives/navigation/MenuItemDraggable/MenuItemDraggable.d.ts +0 -21
- package/dist/primitives/navigation/MenuItemMultiSelect/MenuItemMultiSelect.d.ts +0 -15
- package/dist/primitives/navigation/MenuItemMultiSelectAvatar/MenuItemMultiSelectAvatar.d.ts +0 -12
- package/dist/primitives/navigation/MenuItemMultiSelectTag/MenuItemMultiSelectTag.d.ts +0 -13
- package/dist/primitives/navigation/MenuItemNavigate/MenuItemNavigate.d.ts +0 -9
- package/dist/primitives/navigation/MenuItemSelect/MenuItemSelect.d.ts +0 -26
- package/dist/primitives/navigation/MenuItemSelectAvatar/MenuItemSelectAvatar.d.ts +0 -14
- package/dist/primitives/navigation/MenuItemSelectColor/MenuItemSelectColor.d.ts +0 -15
- package/dist/primitives/navigation/MenuItemSelectTag/MenuItemSelectTag.d.ts +0 -15
- package/dist/primitives/navigation/MenuItemSwitch/MenuItemSwitch.d.ts +0 -14
- package/dist/primitives/navigation/MenuPicker/MenuPicker.d.ts +0 -17
- package/dist/primitives/navigation/RawLink/RawLink.d.ts +0 -9
- package/dist/primitives/navigation/SocialLink/LinkType.d.ts +0 -9
- package/dist/primitives/navigation/SocialLink/SocialLink.d.ts +0 -10
- package/dist/primitives/navigation/SocialLink/socialLinkProviders.d.ts +0 -10
- package/dist/primitives/navigation/UndecoratedLink/UndecoratedLink.d.ts +0 -10
- package/dist/primitives/surfaces/AppTooltip/AppTooltip.d.ts +0 -34
- package/dist/primitives/surfaces/Modal/Modal.d.ts +0 -2
- package/dist/primitives/surfaces/Modal/types/ModalOverlay.d.ts +0 -1
- package/dist/primitives/surfaces/Modal/types/ModalPadding.d.ts +0 -1
- package/dist/primitives/surfaces/Modal/types/ModalProps.d.ts +0 -26
- package/dist/primitives/surfaces/Modal/types/ModalSize.d.ts +0 -1
- package/dist/primitives/surfaces/ModalBackdrop/ModalBackdrop.d.ts +0 -8
- package/dist/primitives/surfaces/ModalContent/ModalContent.d.ts +0 -9
- package/dist/primitives/surfaces/ModalFooter/ModalFooter.d.ts +0 -7
- package/dist/primitives/surfaces/ModalHeader/ModalHeader.d.ts +0 -8
- package/dist/primitives/typography/H1Title/H1Title.d.ts +0 -13
- package/dist/primitives/typography/H2Title/H2Title.d.ts +0 -8
- package/dist/primitives/typography/H3Title/H3Title.d.ts +0 -8
- package/dist/primitives/typography/SeparatorLineText/SeparatorLineText.d.ts +0 -3
- package/dist/primitives/typography/StyledText/StyledText.d.ts +0 -14
- package/dist/surfaces-B8zw9F5W.js +0 -494
- package/dist/surfaces-ec8RlQ5J.cjs +0 -1
- package/dist/testing/decorators/ComponentWithRouterDecorator.d.ts +0 -9
- package/dist/testing/decorators/RouterDecorator.d.ts +0 -2
- package/dist/theme-YHfZnD2U.cjs +0 -1
- package/dist/theme-constants/ThemeProvider.d.ts +0 -15
- package/dist/theme-constants/ThemeScopeContext.d.ts +0 -1
- package/dist/theme-constants/index.d.ts +0 -10
- package/dist/theme-constants-DETwIS-a.js +0 -1163
- package/dist/theme-constants-Do_FO7Uy.cjs +0 -1
- package/dist/theme-constants.cjs +0 -1
- package/dist/theme-constants.mjs +0 -12
- package/dist/typography-CaY1Dwdi.js +0 -93
- package/dist/typography-Rw7ZDHyn.cjs +0 -1
- package/dist/useResizeHandle-BsV5UEJk.cjs +0 -1
- package/dist/useResizeHandle-CCRiw9Fi.js +0 -37
- package/dist/utilities/navigation/hooks/useMouseDownNavigation.d.ts +0 -15
- package/dist/utilities/navigation/hooks/useResetLocationHash.d.ts +0 -3
- package/dist/utilities/navigation/isNavigationModifierPressed.d.ts +0 -3
- package/dist/utilities/navigation/types/trigger-event.type.d.ts +0 -1
- package/dist/utilities/screen-size/hooks/useScreenSize.d.ts +0 -4
- package/dist/utilities/utils/getDisplayValueByUrlType.d.ts +0 -7
- package/dist/utilities-DmbkuukL.cjs +0 -1
- package/dist/utilities-kvjM4sIB.js +0 -156
- package/dist/{primitives/input → components/code-editor}/CodeEditor/constants/BaseCodeEditorThemeId.d.ts +0 -0
- package/dist/{primitives → components}/data-display/CommandBlock/CommandBlock.d.ts +0 -0
- package/dist/{primitives/json-visualizer/components → components/data-display/JsonTree/internal}/JsonArrayNode.d.ts +0 -0
- package/dist/{primitives/json-visualizer/components → components/data-display/JsonTree}/internal/JsonArrow.d.ts +0 -0
- package/dist/{primitives/json-visualizer/components → components/data-display/JsonTree}/internal/JsonList.d.ts +0 -0
- package/dist/{primitives/json-visualizer/components → components/data-display/JsonTree}/internal/JsonListItem.d.ts +0 -0
- package/dist/{primitives/json-visualizer/components → components/data-display/JsonTree/internal}/JsonNode.d.ts +0 -0
- package/dist/{primitives/json-visualizer/components → components/data-display/JsonTree/internal}/JsonObjectNode.d.ts +0 -0
- package/dist/{primitives/json-visualizer → components/data-display/JsonTree/internal}/utils/isArray.d.ts +0 -0
- package/dist/{primitives/json-visualizer → components/data-display/JsonTree}/types/GetJsonNodeHighlighting.d.ts +0 -0
- package/dist/{primitives → components}/data-display/NotificationCounter/NotificationCounter.d.ts +0 -0
- package/dist/{primitives/data-display → components/data-display/TintedIconTile/internal}/StyledTintedIconTileContainer/StyledTintedIconTileContainer.d.ts +0 -0
- package/dist/{primitives → components}/data-display/TintedIconTile/internal/constants/tintedIconTileColorShades.constant.d.ts +0 -0
- package/dist/{primitives → components}/data-display/TintedIconTile/internal/utils/getColorFromTheme.d.ts +0 -0
- package/dist/{primitives → components}/data-display/TintedIconTile/utils/getIconTileColorShades.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/Toast.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/ToastProvider.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/constants/DefaultToastLimit.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/contexts/ToastContext.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/hooks/useCloseToast.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/hooks/useEnqueueToast.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/hooks/useToastContext.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/hooks/useToastEntries.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/stores/createToastStore.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/types/ToastEntry.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/types/ToastNotification.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/types/ToastOptions.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/types/ToastProps.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/types/ToastProviderProps.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/types/ToastStoreState.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/types/ToastVariant.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/utils/completeToastExit.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/utils/dismissToasts.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toast/utils/isToastVisible.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toaster/Toaster.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toaster/__stories__/ToastControls.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toaster/__stories__/ToasterExample.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toaster/__stories__/ToasterExampleProps.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toaster/internal/ToasterItem.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toaster/internal/ToasterItemExitEffect.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toaster/internal/ToasterItems.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toaster/internal/ToasterLifecycleEffect.d.ts +0 -0
- package/dist/{primitives → components}/feedback/Toaster/types/ToasterProps.d.ts +0 -0
- package/dist/{primitives → components}/input/CardPicker/CardPicker.d.ts +0 -0
- package/dist/{primitives/data-display → components/input/ColorSchemePicker/internal}/Checkmark/Checkmark.d.ts +0 -0
- package/dist/components/{LightButton → input/LightButton}/LightButton.d.ts +0 -0
- package/dist/{primitives → components}/layout/AnimatedIconCrossfade/AnimatedIconCrossfade.d.ts +0 -0
- package/dist/{primitives → components}/navigation/MenuItem/parts/MenuItemIcon.d.ts +0 -0
- package/dist/{primitives → components}/navigation/MenuItem/parts/MenuItemIconBoxContainer.d.ts +0 -0
- package/dist/{primitives → components}/navigation/MenuItem/parts/MenuItemIconWithGripSwap.d.ts +0 -0
- package/dist/{primitives → components}/navigation/MenuItem/parts/MenuItemLeftContent.d.ts +1 -1
- /package/dist/{primitives → components}/navigation/MenuItem/parts/StyledMenuItemBase.d.ts +0 -0
- /package/dist/{primitives → components}/navigation/MenuItem/types/MenuItemAccent.d.ts +0 -0
- /package/dist/{primitives → components}/navigation/MenuItem/types/MenuItemDraggableGripMode.d.ts +0 -0
- /package/dist/{primitives → components}/navigation/NavigationBar/NavigationBar.d.ts +0 -0
- /package/dist/{primitives → components}/navigation/RoundedLink/RoundedLink.d.ts +0 -0
- /package/dist/primitives/navigation/{MenuItemHotKeys → ListItem/internal/MenuItemHotKeys}/MenuItemHotKeys.d.ts +0 -0
- /package/dist/primitives/surfaces/{CardContent → Card/internal}/CardContent.d.ts +0 -0
- /package/dist/primitives/surfaces/{CardFooter → Card/internal}/CardFooter.d.ts +0 -0
- /package/dist/primitives/surfaces/{CardHeader → Card/internal}/CardHeader.d.ts +0 -0
- /package/dist/primitives/typography/{LinkifiedText → OverflowingTextWithTooltip/internal/LinkifiedText}/LinkifiedText.d.ts +0 -0
- /package/dist/primitives/typography/{Label → internal/Label}/Label.d.ts +0 -0
- /package/dist/{theme-constants/constants.d.ts → theme/constants/MobileViewport.d.ts} +0 -0
- /package/dist/{theme-constants → theme}/themeCssVariables.d.ts +0 -0
- /package/dist/{theme-constants → theme}/themeTypes.d.ts +0 -0
- /package/dist/{theme-constants → theme}/useTheme.d.ts +0 -0
- /package/dist/{theme-constants → theme}/useThemeColorScheme.d.ts +0 -0
- /package/dist/{theme-constants → theme}/useThemeContainer.d.ts +0 -0
|
@@ -0,0 +1,1996 @@
|
|
|
1
|
+
import { Bt as lt, Cn as Lt, Ei as Dt, En as Bt, Kc as Mt, Nn as Et, Sn as Rt, Tn as Pt, Yi as Me, ca as zt, fl as ze, jo as Ot, ks as $t, nr as qt, nt as ye, pc as Ft, wa as Oe, wn as jt } from "./icon-Bd81r48z.js";
|
|
2
|
+
import { t as u } from "./isDefined-fMi6eQ4r.js";
|
|
3
|
+
import { a as J, h as Wt, m as Kt, p as Ht, r as M, t as Jt } from "./theme-DBro6iwF.js";
|
|
4
|
+
import { n as Vt, t as ve } from "./handleClickableElementKeyDown-CJ_JsX2K.js";
|
|
5
|
+
import { d as Gt } from "./utilities-C5Tt2HLT.js";
|
|
6
|
+
import { n as Ut } from "./linkifyText-BINRNP9w.js";
|
|
7
|
+
import { a as Yt, i as Xt, o as R, s as Qt, t as Zt } from "./Input-DHfmRBq5.js";
|
|
8
|
+
import { t as V } from "./mergeClassNames-BHKm1BNi.js";
|
|
9
|
+
import { n as er, t as tr } from "./ProgressBar-RWLNIkzm.js";
|
|
10
|
+
import { n as dt, r as ut, t as se } from "./OverflowingTextWithTooltip-CqEkoH6t.js";
|
|
11
|
+
import { t as rr } from "./HorizontalSeparator-JwV0dB5W.js";
|
|
12
|
+
import { r as ar } from "./ListItem.module-DtIGiTDL.js";
|
|
13
|
+
import { n as nr, t as pe } from "./ListItem-D6DvFIbl.js";
|
|
14
|
+
import { t as or } from "./Heading-DvxTKEaL.js";
|
|
15
|
+
import { a as he, n as ir, r as sr, t as cr } from "./MenuSeparator-dNx4JE6C.js";
|
|
16
|
+
import { t as lr } from "./Avatar-BSHgTxt-.js";
|
|
17
|
+
import { n as dr, t as ur } from "./TabsTabContent-_NCTxoP6.js";
|
|
18
|
+
import { clsx as v } from "clsx";
|
|
19
|
+
import { Fragment as O, jsx as r, jsxs as h } from "react/jsx-runtime";
|
|
20
|
+
import { isArray as mr, isBoolean as _r, isFunction as vr, isNonEmptyArray as pr, isNonEmptyString as j, isNumber as hr, isPositiveInteger as fr, isString as te } from "@sniptt/guards";
|
|
21
|
+
import { Collapsible as Ye } from "@base-ui/react/collapsible";
|
|
22
|
+
import { createContext as $e, forwardRef as qe, useCallback as Ee, useContext as le, useEffect as gr, useId as re, useLayoutEffect as fe, useMemo as br, useRef as Fe, useState as D } from "react";
|
|
23
|
+
import { Button as mt } from "@base-ui/react/button";
|
|
24
|
+
import { useRender as de } from "@base-ui/react/use-render";
|
|
25
|
+
import { Store as Cr, useStore as Ir } from "@base-ui/utils/store";
|
|
26
|
+
import { useDirection as yr } from "@base-ui/react/direction-provider";
|
|
27
|
+
import { createPortal as Nr } from "react-dom";
|
|
28
|
+
import { Input as wr } from "@base-ui/react/input";
|
|
29
|
+
import { Popover as _t } from "@base-ui/react/popover";
|
|
30
|
+
import { useMergedRefs as kr } from "@base-ui/utils/useMergedRefs";
|
|
31
|
+
var Sr = "_container_q2iju_1", Tr = "_itemContainer_q2iju_6", xr = "_overflowCountContainer_q2iju_22", Ar = "_overflowCount_q2iju_22", Z = {
|
|
32
|
+
container: Sr,
|
|
33
|
+
itemContainer: Tr,
|
|
34
|
+
overflowCountContainer: xr,
|
|
35
|
+
overflowCount: Ar
|
|
36
|
+
}, Lr = 4, cs = ({ avatars: e, className: t, maxVisible: a = Lr, overflowAvatar: n, overflowCount: o = 0, overflowShape: i = "square", overlap: s = "right", overlapOffset: c = "3px" }) => {
|
|
37
|
+
const d = e.slice(0, a), l = !n && o > 0;
|
|
38
|
+
if (!d.length && !n && !l) return null;
|
|
39
|
+
const m = { "--avatar-group-overlap-offset": c };
|
|
40
|
+
return /* @__PURE__ */ h("div", {
|
|
41
|
+
className: v(Z.container, t),
|
|
42
|
+
children: [
|
|
43
|
+
d.map((_, p) => /* @__PURE__ */ r("div", {
|
|
44
|
+
className: Z.itemContainer,
|
|
45
|
+
"data-overlap": s,
|
|
46
|
+
style: m,
|
|
47
|
+
children: _
|
|
48
|
+
}, p)),
|
|
49
|
+
n && /* @__PURE__ */ r("div", {
|
|
50
|
+
className: Z.itemContainer,
|
|
51
|
+
"data-overlap": s,
|
|
52
|
+
style: m,
|
|
53
|
+
children: n
|
|
54
|
+
}),
|
|
55
|
+
l && /* @__PURE__ */ r("div", {
|
|
56
|
+
className: v(Z.itemContainer, Z.overflowCountContainer),
|
|
57
|
+
"data-overlap": s,
|
|
58
|
+
style: m,
|
|
59
|
+
children: /* @__PURE__ */ h("div", {
|
|
60
|
+
className: Z.overflowCount,
|
|
61
|
+
"data-shape": i,
|
|
62
|
+
children: ["+", o]
|
|
63
|
+
})
|
|
64
|
+
})
|
|
65
|
+
]
|
|
66
|
+
});
|
|
67
|
+
}, Dr = "_container_stu26_1", Br = "_commandContain_stu26_12", Mr = "_buttonContainer_stu26_16", Er = "_lineStartSpan_stu26_20", Rr = "_lineSpan_stu26_24", ne = {
|
|
68
|
+
container: Dr,
|
|
69
|
+
commandContain: Br,
|
|
70
|
+
buttonContainer: Mr,
|
|
71
|
+
lineStartSpan: Er,
|
|
72
|
+
lineSpan: Rr
|
|
73
|
+
}, ls = ({ commands: e, button: t }) => /* @__PURE__ */ h("div", {
|
|
74
|
+
className: ne.container,
|
|
75
|
+
children: [/* @__PURE__ */ r("div", {
|
|
76
|
+
className: ne.commandContain,
|
|
77
|
+
children: /* @__PURE__ */ r(O, { children: e.map((a, n) => /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ r("span", {
|
|
78
|
+
className: ne.lineStartSpan,
|
|
79
|
+
children: "> "
|
|
80
|
+
}), /* @__PURE__ */ r("span", {
|
|
81
|
+
className: ne.lineSpan,
|
|
82
|
+
children: a
|
|
83
|
+
})] }, n)) })
|
|
84
|
+
}), t && /* @__PURE__ */ r("div", {
|
|
85
|
+
className: ne.buttonContainer,
|
|
86
|
+
children: t
|
|
87
|
+
})]
|
|
88
|
+
}), Pr = "_list_80v6h_1", zr = "_nested_80v6h_8", Xe = {
|
|
89
|
+
list: Pr,
|
|
90
|
+
nested: zr
|
|
91
|
+
}, Or = ({ depth: e, className: t, children: a }) => /* @__PURE__ */ r("ul", {
|
|
92
|
+
className: v(Xe.list, e > 0 && Xe.nested, t),
|
|
93
|
+
children: a
|
|
94
|
+
}), vt = $e(void 0), ae = () => {
|
|
95
|
+
const e = le(vt);
|
|
96
|
+
if (!u(e)) throw new Error("useJsonTreeContextOrThrow must be used within a JsonTreeContextProvider");
|
|
97
|
+
return e;
|
|
98
|
+
}, $r = "_button_1ix33_1", qr = "_red_1ix33_17", Fr = "_chevron_1ix33_22", Ne = {
|
|
99
|
+
button: $r,
|
|
100
|
+
red: qr,
|
|
101
|
+
chevron: Fr
|
|
102
|
+
}, jr = ({ isOpen: e, onClick: t, variant: a }) => {
|
|
103
|
+
const n = M(), { arrowButtonCollapsedLabel: o, arrowButtonExpandedLabel: i } = ae(), s = a === "blue" ? J.color.blue : a === "red" ? J.font.color.danger : J.font.color.secondary;
|
|
104
|
+
return /* @__PURE__ */ h("button", {
|
|
105
|
+
className: v(Ne.button, a === "red" && Ne.red),
|
|
106
|
+
onClick: t,
|
|
107
|
+
children: [/* @__PURE__ */ r(Vt, { children: e ? i : o }), /* @__PURE__ */ r("div", {
|
|
108
|
+
className: Ne.chevron,
|
|
109
|
+
"data-open": e || void 0,
|
|
110
|
+
children: /* @__PURE__ */ r(jt, {
|
|
111
|
+
size: n.icon.size.md,
|
|
112
|
+
color: s
|
|
113
|
+
})
|
|
114
|
+
})]
|
|
115
|
+
});
|
|
116
|
+
}, Wr = ({ label: e, value: t, depth: a, keyPath: n, highlighting: o }) => {
|
|
117
|
+
const { emptyArrayLabel: i } = ae();
|
|
118
|
+
return /* @__PURE__ */ r(je, {
|
|
119
|
+
elements: [...t.entries()].map(([s, c]) => ({
|
|
120
|
+
id: s,
|
|
121
|
+
label: String(s),
|
|
122
|
+
value: c
|
|
123
|
+
})),
|
|
124
|
+
renderElementsCount: (s) => `[${s}]`,
|
|
125
|
+
label: e,
|
|
126
|
+
Icon: lt,
|
|
127
|
+
depth: a,
|
|
128
|
+
emptyElementsText: i,
|
|
129
|
+
keyPath: n,
|
|
130
|
+
highlighting: o
|
|
131
|
+
});
|
|
132
|
+
}, Kr = ({ label: e, value: t, depth: a, keyPath: n, highlighting: o }) => {
|
|
133
|
+
const { emptyObjectLabel: i } = ae();
|
|
134
|
+
return /* @__PURE__ */ r(je, {
|
|
135
|
+
elements: Object.entries(t).map(([s, c]) => ({
|
|
136
|
+
id: s,
|
|
137
|
+
label: s,
|
|
138
|
+
value: c
|
|
139
|
+
})),
|
|
140
|
+
renderElementsCount: (s) => `{${s}}`,
|
|
141
|
+
label: e,
|
|
142
|
+
Icon: qt,
|
|
143
|
+
depth: a,
|
|
144
|
+
emptyElementsText: i,
|
|
145
|
+
keyPath: n,
|
|
146
|
+
highlighting: o
|
|
147
|
+
});
|
|
148
|
+
}, Hr = "_labelContainer_1pq94_1", Jr = "_blue_1pq94_23", Vr = "_red_1pq94_29", we = {
|
|
149
|
+
labelContainer: Hr,
|
|
150
|
+
blue: Jr,
|
|
151
|
+
red: Vr
|
|
152
|
+
}, pt = ({ label: e, Icon: t, highlighting: a }) => {
|
|
153
|
+
const n = M();
|
|
154
|
+
return /* @__PURE__ */ h("span", {
|
|
155
|
+
className: v(we.labelContainer, a === "blue" && we.blue, a === "red" && we.red),
|
|
156
|
+
children: [/* @__PURE__ */ r(t, {
|
|
157
|
+
size: n.icon.size.md,
|
|
158
|
+
color: a === "blue" ? n.color.blue : a === "red" ? n.font.color.danger : n.font.color.tertiary
|
|
159
|
+
}), /* @__PURE__ */ r("span", { children: e })]
|
|
160
|
+
});
|
|
161
|
+
}, Gr = "_text_3y2ep_1", Ur = "_blue_3y2ep_10", Yr = "_red_3y2ep_14", ke = {
|
|
162
|
+
text: Gr,
|
|
163
|
+
blue: Ur,
|
|
164
|
+
red: Yr
|
|
165
|
+
}, Xr = ({ valueAsString: e, highlighting: t }) => {
|
|
166
|
+
const { onNodeValueClick: a } = ae(), n = u(a), o = () => {
|
|
167
|
+
a?.(e);
|
|
168
|
+
}, i = v(ke.text, t === "blue" && ke.blue, t === "red" && ke.red);
|
|
169
|
+
return n ? /* @__PURE__ */ r("span", {
|
|
170
|
+
className: i,
|
|
171
|
+
role: "button",
|
|
172
|
+
tabIndex: 0,
|
|
173
|
+
onClick: o,
|
|
174
|
+
onKeyDown: ve,
|
|
175
|
+
children: e
|
|
176
|
+
}) : /* @__PURE__ */ r("span", {
|
|
177
|
+
className: i,
|
|
178
|
+
children: e
|
|
179
|
+
});
|
|
180
|
+
}, Qr = "_listItem_1i7if_1", Zr = { listItem: Qr }, ie = (e) => /* @__PURE__ */ h("li", {
|
|
181
|
+
className: Zr.listItem,
|
|
182
|
+
children: [e.label && /* @__PURE__ */ r(pt, {
|
|
183
|
+
label: e.label,
|
|
184
|
+
Icon: e.Icon,
|
|
185
|
+
highlighting: e.highlighting
|
|
186
|
+
}), /* @__PURE__ */ r(Xr, {
|
|
187
|
+
valueAsString: e.valueAsString,
|
|
188
|
+
highlighting: e.highlighting
|
|
189
|
+
})]
|
|
190
|
+
}), ea = (e) => mr(e), ht = ({ label: e, value: t, depth: a, keyPath: n }) => {
|
|
191
|
+
const { getNodeHighlighting: o, emptyStringLabel: i } = ae(), s = o?.(n);
|
|
192
|
+
return u(t) ? te(t) ? /* @__PURE__ */ r(ie, {
|
|
193
|
+
label: e,
|
|
194
|
+
valueAsString: j(t) ? t : i,
|
|
195
|
+
Icon: Mt,
|
|
196
|
+
highlighting: s
|
|
197
|
+
}) : hr(t) ? /* @__PURE__ */ r(ie, {
|
|
198
|
+
label: e,
|
|
199
|
+
valueAsString: String(t),
|
|
200
|
+
Icon: Ot,
|
|
201
|
+
highlighting: s
|
|
202
|
+
}) : _r(t) ? /* @__PURE__ */ r(ie, {
|
|
203
|
+
label: e,
|
|
204
|
+
valueAsString: String(t),
|
|
205
|
+
Icon: Lt,
|
|
206
|
+
highlighting: s
|
|
207
|
+
}) : ea(t) ? /* @__PURE__ */ r(Wr, {
|
|
208
|
+
label: e,
|
|
209
|
+
value: t,
|
|
210
|
+
depth: a,
|
|
211
|
+
keyPath: n,
|
|
212
|
+
highlighting: s
|
|
213
|
+
}) : /* @__PURE__ */ r(Kr, {
|
|
214
|
+
label: e,
|
|
215
|
+
value: t,
|
|
216
|
+
depth: a,
|
|
217
|
+
keyPath: n,
|
|
218
|
+
highlighting: s
|
|
219
|
+
}) : /* @__PURE__ */ r(ie, {
|
|
220
|
+
label: e,
|
|
221
|
+
valueAsString: "null",
|
|
222
|
+
Icon: Et,
|
|
223
|
+
highlighting: s
|
|
224
|
+
});
|
|
225
|
+
}, ta = "_container_1c6yj_1", ra = "_labelContainer_1c6yj_6", aa = "_elementsCount_1c6yj_12", na = "_elementsCountRed_1c6yj_16", oa = "_panel_1c6yj_20", ia = "_list_1c6yj_30", sa = "_nested_1c6yj_37", U = {
|
|
226
|
+
container: ta,
|
|
227
|
+
labelContainer: ra,
|
|
228
|
+
elementsCount: aa,
|
|
229
|
+
elementsCountRed: na,
|
|
230
|
+
panel: oa,
|
|
231
|
+
list: ia,
|
|
232
|
+
nested: sa
|
|
233
|
+
}, je = ({ label: e, Icon: t, elements: a, renderElementsCount: n, emptyElementsText: o, depth: i, keyPath: s, highlighting: c }) => {
|
|
234
|
+
const { shouldExpandNodeInitially: d } = ae(), l = !u(e), [m, _] = D(d({
|
|
235
|
+
keyPath: s,
|
|
236
|
+
depth: i
|
|
237
|
+
})), p = /* @__PURE__ */ r("ul", {
|
|
238
|
+
className: v(U.list, i > 0 && U.nested),
|
|
239
|
+
children: a.length === 0 ? /* @__PURE__ */ r(ie, {
|
|
240
|
+
valueAsString: o,
|
|
241
|
+
highlighting: void 0
|
|
242
|
+
}) : a.map(({ id: g, label: S, value: b }) => {
|
|
243
|
+
const C = j(s) ? `${s}.${g}` : String(g);
|
|
244
|
+
return /* @__PURE__ */ r(ht, {
|
|
245
|
+
label: S,
|
|
246
|
+
value: b,
|
|
247
|
+
depth: i + 1,
|
|
248
|
+
keyPath: C
|
|
249
|
+
}, g);
|
|
250
|
+
})
|
|
251
|
+
}), f = () => {
|
|
252
|
+
_(!m);
|
|
253
|
+
};
|
|
254
|
+
return l ? /* @__PURE__ */ r("li", {
|
|
255
|
+
className: U.container,
|
|
256
|
+
children: p
|
|
257
|
+
}) : /* @__PURE__ */ h(Ye.Root, {
|
|
258
|
+
className: U.container,
|
|
259
|
+
open: m,
|
|
260
|
+
render: /* @__PURE__ */ r("li", {}),
|
|
261
|
+
children: [/* @__PURE__ */ h("div", {
|
|
262
|
+
className: U.labelContainer,
|
|
263
|
+
children: [
|
|
264
|
+
/* @__PURE__ */ r(jr, {
|
|
265
|
+
isOpen: m,
|
|
266
|
+
onClick: f,
|
|
267
|
+
variant: c === "partial-blue" ? "blue" : c === "red" ? c : void 0
|
|
268
|
+
}),
|
|
269
|
+
/* @__PURE__ */ r(pt, {
|
|
270
|
+
label: e,
|
|
271
|
+
Icon: t,
|
|
272
|
+
highlighting: c === "red" ? c : void 0
|
|
273
|
+
}),
|
|
274
|
+
n && /* @__PURE__ */ r("span", {
|
|
275
|
+
className: v(U.elementsCount, c === "red" && U.elementsCountRed),
|
|
276
|
+
children: n(a.length)
|
|
277
|
+
})
|
|
278
|
+
]
|
|
279
|
+
}), /* @__PURE__ */ r(Ye.Panel, {
|
|
280
|
+
className: U.panel,
|
|
281
|
+
children: p
|
|
282
|
+
})]
|
|
283
|
+
});
|
|
284
|
+
}, ca = ({ value: e, children: t }) => /* @__PURE__ */ r(vt.Provider, {
|
|
285
|
+
value: e,
|
|
286
|
+
children: t
|
|
287
|
+
}), la = ({ depth: e }) => e <= 1, ds = ({ value: e, entries: t, shouldExpandNodeInitially: a = la, ...n }) => /* @__PURE__ */ r(ca, {
|
|
288
|
+
value: {
|
|
289
|
+
...n,
|
|
290
|
+
shouldExpandNodeInitially: a
|
|
291
|
+
},
|
|
292
|
+
children: /* @__PURE__ */ r(Or, {
|
|
293
|
+
depth: 0,
|
|
294
|
+
children: u(t) ? /* @__PURE__ */ r(je, {
|
|
295
|
+
elements: t,
|
|
296
|
+
Icon: lt,
|
|
297
|
+
depth: 0,
|
|
298
|
+
keyPath: "",
|
|
299
|
+
emptyElementsText: n.emptyObjectLabel
|
|
300
|
+
}) : /* @__PURE__ */ r(ht, {
|
|
301
|
+
value: e ?? null,
|
|
302
|
+
depth: 0,
|
|
303
|
+
keyPath: ""
|
|
304
|
+
})
|
|
305
|
+
})
|
|
306
|
+
}), da = "_notificationCounter_1lalu_1", ua = "_primary_1lalu_13", ma = "_secondary_1lalu_18", Qe = {
|
|
307
|
+
notificationCounter: da,
|
|
308
|
+
primary: ua,
|
|
309
|
+
secondary: ma
|
|
310
|
+
}, us = ({ count: e, variant: t = "primary", className: a }) => /* @__PURE__ */ r("div", {
|
|
311
|
+
className: v(Qe.notificationCounter, Qe[t], a),
|
|
312
|
+
children: e
|
|
313
|
+
}), _a = "_root_j2xk4_1", va = { root: _a }, pa = ({ $backgroundColor: e, $borderColor: t, $dimension: a, className: n, style: o, ...i }) => /* @__PURE__ */ r("div", {
|
|
314
|
+
...i,
|
|
315
|
+
className: v(va.root, n),
|
|
316
|
+
style: {
|
|
317
|
+
"--tinted-icon-tile-background-color": e,
|
|
318
|
+
"--tinted-icon-tile-border": t ? `1px solid ${t}` : void 0,
|
|
319
|
+
"--tinted-icon-tile-dimension": a,
|
|
320
|
+
...o
|
|
321
|
+
}
|
|
322
|
+
}), Se = {
|
|
323
|
+
background: 4,
|
|
324
|
+
border: 6,
|
|
325
|
+
icon: 10
|
|
326
|
+
}, Te = (e, t) => {
|
|
327
|
+
const a = J.color, n = J.tag.text;
|
|
328
|
+
return a[`${e}${t}`] ?? n[e];
|
|
329
|
+
}, ha = (e) => {
|
|
330
|
+
const t = Gt(e);
|
|
331
|
+
return {
|
|
332
|
+
backgroundColor: Te(t, Se.background),
|
|
333
|
+
iconColor: Te(t, Se.icon),
|
|
334
|
+
borderColor: Te(t, Se.border)
|
|
335
|
+
};
|
|
336
|
+
}, ft = ({ Icon: e, color: t = Wt, size: a, stroke: n }) => {
|
|
337
|
+
const o = M(), i = ha(t), s = a ?? o.icon.size.md, c = n ?? o.icon.stroke.md, d = u(a) ? `${a}px` : void 0;
|
|
338
|
+
return /* @__PURE__ */ r(pa, {
|
|
339
|
+
$backgroundColor: i.backgroundColor,
|
|
340
|
+
$dimension: d,
|
|
341
|
+
children: /* @__PURE__ */ r(e, {
|
|
342
|
+
size: s,
|
|
343
|
+
stroke: c,
|
|
344
|
+
color: i.iconColor
|
|
345
|
+
})
|
|
346
|
+
});
|
|
347
|
+
}, fa = "_container_14oh4_1", ga = "_containerFullWidth_14oh4_14", ba = "_containerInfo_14oh4_18", Ca = "_containerWarning_14oh4_23", Ia = "_containerSuccess_14oh4_28", ya = "_containerError_14oh4_33", Na = "_containerNeutral_14oh4_38", wa = "_header_14oh4_43", ka = "_iconContainer_14oh4_52", Sa = "_iconContainerInfo_14oh4_61", Ta = "_iconContainerWarning_14oh4_65", xa = "_iconContainerSuccess_14oh4_69", Aa = "_iconContainerError_14oh4_73", La = "_iconContainerNeutral_14oh4_77", Da = "_title_14oh4_81", Ba = "_descriptionWrapper_14oh4_93", Ma = "_descriptionWrapperWithAction_14oh4_101", Ea = "_description_14oh4_93", Ra = "_footer_14oh4_114", Pa = "_closeButton_14oh4_121", x = {
|
|
348
|
+
container: fa,
|
|
349
|
+
containerFullWidth: ga,
|
|
350
|
+
containerInfo: ba,
|
|
351
|
+
containerWarning: Ca,
|
|
352
|
+
containerSuccess: Ia,
|
|
353
|
+
containerError: ya,
|
|
354
|
+
containerNeutral: Na,
|
|
355
|
+
header: wa,
|
|
356
|
+
iconContainer: ka,
|
|
357
|
+
iconContainerInfo: Sa,
|
|
358
|
+
iconContainerWarning: Ta,
|
|
359
|
+
iconContainerSuccess: xa,
|
|
360
|
+
iconContainerError: Aa,
|
|
361
|
+
iconContainerNeutral: La,
|
|
362
|
+
title: Da,
|
|
363
|
+
descriptionWrapper: Ba,
|
|
364
|
+
descriptionWrapperWithAction: Ma,
|
|
365
|
+
description: Ea,
|
|
366
|
+
footer: Ra,
|
|
367
|
+
closeButton: Pa
|
|
368
|
+
}, za = {
|
|
369
|
+
info: x.containerInfo,
|
|
370
|
+
warning: x.containerWarning,
|
|
371
|
+
error: x.containerError,
|
|
372
|
+
neutral: x.containerNeutral,
|
|
373
|
+
success: x.containerSuccess
|
|
374
|
+
}, Oa = {
|
|
375
|
+
info: x.iconContainerInfo,
|
|
376
|
+
warning: x.iconContainerWarning,
|
|
377
|
+
error: x.iconContainerError,
|
|
378
|
+
neutral: x.iconContainerNeutral,
|
|
379
|
+
success: x.iconContainerSuccess
|
|
380
|
+
}, ms = ({ variant: e, title: t, description: a, fullWidth: n = !1, Icon: o = zt, action: i, isClosable: s = !1, onClose: c }) => {
|
|
381
|
+
const [d, l] = D(!0), m = () => {
|
|
382
|
+
s && (l(!1), c?.());
|
|
383
|
+
};
|
|
384
|
+
return d ? /* @__PURE__ */ h("div", {
|
|
385
|
+
className: v(x.container, za[e], n && x.containerFullWidth),
|
|
386
|
+
children: [
|
|
387
|
+
/* @__PURE__ */ h("div", {
|
|
388
|
+
className: x.header,
|
|
389
|
+
children: [
|
|
390
|
+
/* @__PURE__ */ r("div", {
|
|
391
|
+
className: v(x.iconContainer, Oa[e]),
|
|
392
|
+
children: /* @__PURE__ */ r(o, { size: 16 })
|
|
393
|
+
}),
|
|
394
|
+
/* @__PURE__ */ r("div", {
|
|
395
|
+
className: x.title,
|
|
396
|
+
children: t
|
|
397
|
+
}),
|
|
398
|
+
s && /* @__PURE__ */ r(R, {
|
|
399
|
+
startIcon: /* @__PURE__ */ r(ze, {}),
|
|
400
|
+
className: x.closeButton,
|
|
401
|
+
variant: "ghost",
|
|
402
|
+
size: "sm",
|
|
403
|
+
"aria-label": "Close",
|
|
404
|
+
onClick: m
|
|
405
|
+
})
|
|
406
|
+
]
|
|
407
|
+
}),
|
|
408
|
+
j(a) && /* @__PURE__ */ r("div", {
|
|
409
|
+
className: v(x.descriptionWrapper, u(i) && x.descriptionWrapperWithAction),
|
|
410
|
+
children: /* @__PURE__ */ r("div", {
|
|
411
|
+
className: x.description,
|
|
412
|
+
children: a
|
|
413
|
+
})
|
|
414
|
+
}),
|
|
415
|
+
u(i) && /* @__PURE__ */ r("div", {
|
|
416
|
+
className: x.footer,
|
|
417
|
+
children: /* @__PURE__ */ r(R, {
|
|
418
|
+
type: "button",
|
|
419
|
+
onClick: i.onClick,
|
|
420
|
+
size: "sm",
|
|
421
|
+
variant: "ghost",
|
|
422
|
+
style: { fontWeight: "var(--t-font-weight-regular)" },
|
|
423
|
+
children: i.label
|
|
424
|
+
})
|
|
425
|
+
})
|
|
426
|
+
]
|
|
427
|
+
}) : null;
|
|
428
|
+
}, $a = "_info_phgej_1", qa = "_accentBlue_phgej_14", Fa = "_accentDanger_phgej_19", ja = "_textContainer_phgej_24", Wa = "_linkContainer_phgej_33", ce = {
|
|
429
|
+
info: $a,
|
|
430
|
+
accentBlue: qa,
|
|
431
|
+
accentDanger: Fa,
|
|
432
|
+
textContainer: ja,
|
|
433
|
+
linkContainer: Wa
|
|
434
|
+
}, Ka = {
|
|
435
|
+
blue: ce.accentBlue,
|
|
436
|
+
danger: ce.accentDanger
|
|
437
|
+
}, _s = ({ accent: e = "blue", text: t, buttonTitle: a, onClick: n, href: o, render: i }) => {
|
|
438
|
+
const s = M();
|
|
439
|
+
return /* @__PURE__ */ h("div", {
|
|
440
|
+
className: v(ce.info, Ka[e]),
|
|
441
|
+
children: [
|
|
442
|
+
/* @__PURE__ */ h("div", {
|
|
443
|
+
className: ce.textContainer,
|
|
444
|
+
children: [/* @__PURE__ */ r(Oe, { size: s.icon.size.md }), t]
|
|
445
|
+
}),
|
|
446
|
+
a && o && /* @__PURE__ */ r("span", {
|
|
447
|
+
className: ce.linkContainer,
|
|
448
|
+
children: /* @__PURE__ */ r(R, {
|
|
449
|
+
href: o,
|
|
450
|
+
render: i,
|
|
451
|
+
size: "sm",
|
|
452
|
+
variant: "outline",
|
|
453
|
+
color: e === "blue" ? "accent" : "danger",
|
|
454
|
+
children: a
|
|
455
|
+
})
|
|
456
|
+
}),
|
|
457
|
+
a && n && !o && /* @__PURE__ */ r(R, {
|
|
458
|
+
onClick: n,
|
|
459
|
+
size: "sm",
|
|
460
|
+
variant: "outline",
|
|
461
|
+
color: e === "blue" ? "accent" : "danger",
|
|
462
|
+
children: a
|
|
463
|
+
})
|
|
464
|
+
]
|
|
465
|
+
});
|
|
466
|
+
}, Ha = "_banner_j76tb_1", Ja = "_embedded_j76tb_6", Va = "_bannerContent_j76tb_10", Ga = "_bannerText_j76tb_21", me = {
|
|
467
|
+
banner: Ha,
|
|
468
|
+
embedded: Ja,
|
|
469
|
+
bannerContent: Va,
|
|
470
|
+
bannerText: Ga
|
|
471
|
+
}, vs = ({ color: e, message: t, embedded: a = !1, button: n, LeftIcon: o = Oe, className: i }) => {
|
|
472
|
+
const s = M();
|
|
473
|
+
return /* @__PURE__ */ h(er, {
|
|
474
|
+
className: v(me.banner, a && me.embedded, i),
|
|
475
|
+
color: e,
|
|
476
|
+
variant: "secondary",
|
|
477
|
+
children: [/* @__PURE__ */ h("div", {
|
|
478
|
+
className: me.bannerContent,
|
|
479
|
+
children: [/* @__PURE__ */ r(o, { size: s.icon.size.md }), /* @__PURE__ */ r("div", {
|
|
480
|
+
className: me.bannerText,
|
|
481
|
+
children: /* @__PURE__ */ r(se, {
|
|
482
|
+
isFocusable: !0,
|
|
483
|
+
text: /* @__PURE__ */ r(O, { children: t }),
|
|
484
|
+
tooltipContent: t
|
|
485
|
+
})
|
|
486
|
+
})]
|
|
487
|
+
}), n && !n.hidden && /* @__PURE__ */ r(R, {
|
|
488
|
+
size: "sm",
|
|
489
|
+
onClick: n?.onClick,
|
|
490
|
+
disabled: n.disabled,
|
|
491
|
+
startIcon: u(n.Icon) ? /* @__PURE__ */ r(n.Icon, {}) : void 0,
|
|
492
|
+
variant: "outline",
|
|
493
|
+
color: e === "danger" ? "danger" : "accent",
|
|
494
|
+
children: n?.title
|
|
495
|
+
})]
|
|
496
|
+
});
|
|
497
|
+
}, ps = 3, gt = $e(void 0), ge = (e) => e.status === "visible", bt = ({ store: e, toastsToClose: t, nextToasts: a = e.state.toasts }) => {
|
|
498
|
+
const n = a.map((i) => t.includes(i) ? {
|
|
499
|
+
...i,
|
|
500
|
+
status: "closing"
|
|
501
|
+
} : i), o = e.state.mountedToasterCount > 0;
|
|
502
|
+
e.set("toasts", o ? n : n.filter(ge));
|
|
503
|
+
for (const i of t) i.notification.onClose?.();
|
|
504
|
+
}, ue = () => {
|
|
505
|
+
const e = le(gt);
|
|
506
|
+
if (!u(e)) throw new Error("Toast components must be used within a ToastProvider.");
|
|
507
|
+
return e;
|
|
508
|
+
}, Ct = () => {
|
|
509
|
+
const e = ue();
|
|
510
|
+
return { closeToast: (a) => {
|
|
511
|
+
const n = e.state.toasts.filter((o) => ge(o) && (!u(a) || o.notification.id === a));
|
|
512
|
+
pr(n) && bt({
|
|
513
|
+
store: e,
|
|
514
|
+
toastsToClose: n
|
|
515
|
+
});
|
|
516
|
+
} };
|
|
517
|
+
}, Ze = 0, Ua = () => {
|
|
518
|
+
const e = ue();
|
|
519
|
+
return { enqueueToast: br(() => {
|
|
520
|
+
function t(a) {
|
|
521
|
+
if (!u(a)) return;
|
|
522
|
+
const { dedupeKey: n, ...o } = a, { toasts: i, limit: s } = e.state, c = i.filter(ge), d = u(n) ? c.find((_) => _.dedupeKey === n) : void 0;
|
|
523
|
+
if (u(d)) return d.notification.id;
|
|
524
|
+
Ze += 1;
|
|
525
|
+
const l = `toast-${Ze}`, m = Math.max(0, c.length - s + 1);
|
|
526
|
+
return bt({
|
|
527
|
+
store: e,
|
|
528
|
+
toastsToClose: c.slice(0, m),
|
|
529
|
+
nextToasts: [...i, {
|
|
530
|
+
notification: {
|
|
531
|
+
...o,
|
|
532
|
+
id: l
|
|
533
|
+
},
|
|
534
|
+
dedupeKey: n,
|
|
535
|
+
status: "visible"
|
|
536
|
+
}]
|
|
537
|
+
}), l;
|
|
538
|
+
}
|
|
539
|
+
return t;
|
|
540
|
+
}, [e]) };
|
|
541
|
+
}, hs = () => {
|
|
542
|
+
const { closeToast: e } = Ct(), { enqueueToast: t } = Ua();
|
|
543
|
+
return {
|
|
544
|
+
enqueueToast: t,
|
|
545
|
+
closeToast: e
|
|
546
|
+
};
|
|
547
|
+
}, Ya = () => Ir(ue(), (e) => e.toasts), Xa = (e = 3) => {
|
|
548
|
+
if (!fr(e)) throw new Error("Toast limit must be a positive integer.");
|
|
549
|
+
return new Cr({
|
|
550
|
+
toasts: [],
|
|
551
|
+
limit: e,
|
|
552
|
+
mountedToasterCount: 0
|
|
553
|
+
});
|
|
554
|
+
}, Qa = "_root_o4q1b_1", Za = "_progress_o4q1b_19", en = "_header_o4q1b_30", tn = "_message_o4q1b_39", rn = "_icon_o4q1b_44", an = "_actions_o4q1b_49", nn = "_description_o4q1b_55", on = "_footer_o4q1b_64", sn = "_footerAction_o4q1b_68", cn = "_closeButton_o4q1b_75", q = {
|
|
555
|
+
root: Qa,
|
|
556
|
+
progress: Za,
|
|
557
|
+
header: en,
|
|
558
|
+
message: tn,
|
|
559
|
+
icon: rn,
|
|
560
|
+
actions: an,
|
|
561
|
+
description: nn,
|
|
562
|
+
footer: on,
|
|
563
|
+
footerAction: sn,
|
|
564
|
+
closeButton: cn
|
|
565
|
+
}, ln = {
|
|
566
|
+
default: ye,
|
|
567
|
+
error: ye,
|
|
568
|
+
success: Ft,
|
|
569
|
+
info: Oe,
|
|
570
|
+
warning: ye
|
|
571
|
+
}, dn = ({ children: e, description: t, icon: a, iconLabel: n, action: o, progress: i, duration: s = 6e3, onCancel: c, onClose: d, cancelLabel: l = "Cancel", closeLabel: m = "Close", variant: _ = "default", role: p = "status", className: f, onMouseEnter: g, onMouseLeave: S, render: b, ref: C, ...T }) => {
|
|
572
|
+
const N = M(), [k, A] = D(!1), L = ln[_];
|
|
573
|
+
return de({
|
|
574
|
+
render: b,
|
|
575
|
+
ref: C,
|
|
576
|
+
props: {
|
|
577
|
+
role: p,
|
|
578
|
+
"aria-live": p === "alert" ? "assertive" : "polite",
|
|
579
|
+
...T,
|
|
580
|
+
className: v(q.root, f),
|
|
581
|
+
onMouseEnter: (I) => {
|
|
582
|
+
A(!0), g?.(I);
|
|
583
|
+
},
|
|
584
|
+
onMouseLeave: (I) => {
|
|
585
|
+
A(!1), S?.(I);
|
|
586
|
+
},
|
|
587
|
+
children: /* @__PURE__ */ h(O, { children: [
|
|
588
|
+
/* @__PURE__ */ r("div", {
|
|
589
|
+
className: q.progress,
|
|
590
|
+
"aria-hidden": !0,
|
|
591
|
+
children: /* @__PURE__ */ r(tr, {
|
|
592
|
+
barColor: N.snackBar[_].backgroundColor,
|
|
593
|
+
value: i ?? 100,
|
|
594
|
+
countdownDurationInMs: u(i) ? void 0 : s,
|
|
595
|
+
isCountdownPaused: k,
|
|
596
|
+
onCountdownComplete: d
|
|
597
|
+
})
|
|
598
|
+
}),
|
|
599
|
+
/* @__PURE__ */ h("div", {
|
|
600
|
+
className: q.header,
|
|
601
|
+
children: [
|
|
602
|
+
/* @__PURE__ */ r("div", {
|
|
603
|
+
className: q.icon,
|
|
604
|
+
children: a ?? /* @__PURE__ */ r(L, {
|
|
605
|
+
"aria-label": n,
|
|
606
|
+
"aria-hidden": !u(n),
|
|
607
|
+
color: N.snackBar[_].color,
|
|
608
|
+
size: N.icon.size.md
|
|
609
|
+
})
|
|
610
|
+
}),
|
|
611
|
+
/* @__PURE__ */ r("div", {
|
|
612
|
+
className: q.message,
|
|
613
|
+
children: e
|
|
614
|
+
}),
|
|
615
|
+
/* @__PURE__ */ h("div", {
|
|
616
|
+
className: q.actions,
|
|
617
|
+
children: [u(c) && /* @__PURE__ */ r(R, {
|
|
618
|
+
onClick: c,
|
|
619
|
+
size: "sm",
|
|
620
|
+
variant: "ghost",
|
|
621
|
+
style: { fontWeight: "var(--t-font-weight-regular)" },
|
|
622
|
+
children: l
|
|
623
|
+
}), u(d) && /* @__PURE__ */ r(R, {
|
|
624
|
+
title: m,
|
|
625
|
+
"aria-label": m,
|
|
626
|
+
startIcon: /* @__PURE__ */ r(ze, {}),
|
|
627
|
+
className: q.closeButton,
|
|
628
|
+
variant: "ghost",
|
|
629
|
+
size: "sm",
|
|
630
|
+
onClick: d
|
|
631
|
+
})]
|
|
632
|
+
})
|
|
633
|
+
]
|
|
634
|
+
}),
|
|
635
|
+
u(t) && /* @__PURE__ */ r("div", {
|
|
636
|
+
className: q.description,
|
|
637
|
+
children: t
|
|
638
|
+
}),
|
|
639
|
+
u(o) && /* @__PURE__ */ h("div", {
|
|
640
|
+
className: q.footer,
|
|
641
|
+
children: [/* @__PURE__ */ r(rr, { noMargin: !0 }), /* @__PURE__ */ r("div", {
|
|
642
|
+
className: q.footerAction,
|
|
643
|
+
children: o
|
|
644
|
+
})]
|
|
645
|
+
})
|
|
646
|
+
] })
|
|
647
|
+
}
|
|
648
|
+
});
|
|
649
|
+
}, fs = ({ children: e, limit: t = 3 }) => {
|
|
650
|
+
const [a] = D(() => Xa(t));
|
|
651
|
+
return /* @__PURE__ */ r(gt.Provider, {
|
|
652
|
+
value: a,
|
|
653
|
+
children: e
|
|
654
|
+
});
|
|
655
|
+
}, et = ({ store: e, toast: t }) => {
|
|
656
|
+
const { toasts: a } = e.state;
|
|
657
|
+
t.status === "closing" && a.includes(t) && e.set("toasts", a.filter((n) => n !== t));
|
|
658
|
+
}, un = "_root_1q2cc_1", mn = "_item_1q2cc_20", _n = "_itemContent_1q2cc_47", Re = {
|
|
659
|
+
root: un,
|
|
660
|
+
item: mn,
|
|
661
|
+
itemContent: _n
|
|
662
|
+
}, vn = ({ elementRef: e, toastEntry: t }) => {
|
|
663
|
+
const a = ue();
|
|
664
|
+
return fe(() => {
|
|
665
|
+
if (t.status === "visible") return;
|
|
666
|
+
const n = e.current?.getAnimations?.() ?? [];
|
|
667
|
+
if (n.length === 0) {
|
|
668
|
+
et({
|
|
669
|
+
store: a,
|
|
670
|
+
toast: t
|
|
671
|
+
});
|
|
672
|
+
return;
|
|
673
|
+
}
|
|
674
|
+
let o = !1;
|
|
675
|
+
return Promise.allSettled(n.map((i) => i.finished)).then(() => {
|
|
676
|
+
o || et({
|
|
677
|
+
store: a,
|
|
678
|
+
toast: t
|
|
679
|
+
});
|
|
680
|
+
}), () => {
|
|
681
|
+
o = !0;
|
|
682
|
+
};
|
|
683
|
+
}, [
|
|
684
|
+
e,
|
|
685
|
+
t,
|
|
686
|
+
a
|
|
687
|
+
]), /* @__PURE__ */ r(O, {});
|
|
688
|
+
}, pn = ({ toastEntry: e, getToastProps: t, onClose: a }) => {
|
|
689
|
+
const { notification: n, status: o } = e, { id: i, ...s } = n, c = Fe(null);
|
|
690
|
+
return /* @__PURE__ */ h(O, { children: [/* @__PURE__ */ r("div", {
|
|
691
|
+
ref: c,
|
|
692
|
+
className: Re.item,
|
|
693
|
+
"data-exiting": o === "closing" || void 0,
|
|
694
|
+
inert: o === "closing",
|
|
695
|
+
children: /* @__PURE__ */ r("div", {
|
|
696
|
+
className: Re.itemContent,
|
|
697
|
+
children: /* @__PURE__ */ r(dn, {
|
|
698
|
+
...s,
|
|
699
|
+
...t?.(n),
|
|
700
|
+
id: i,
|
|
701
|
+
onClose: () => a(i)
|
|
702
|
+
})
|
|
703
|
+
})
|
|
704
|
+
}), /* @__PURE__ */ r(vn, {
|
|
705
|
+
elementRef: c,
|
|
706
|
+
toastEntry: e
|
|
707
|
+
})] });
|
|
708
|
+
}, hn = ({ getToastProps: e }) => {
|
|
709
|
+
const t = Ya(), { closeToast: a } = Ct();
|
|
710
|
+
return t.map((n) => /* @__PURE__ */ r(pn, {
|
|
711
|
+
toastEntry: n,
|
|
712
|
+
getToastProps: e,
|
|
713
|
+
onClose: a
|
|
714
|
+
}, n.notification.id));
|
|
715
|
+
}, fn = () => {
|
|
716
|
+
const e = ue();
|
|
717
|
+
return fe(() => (e.set("mountedToasterCount", e.state.mountedToasterCount + 1), () => {
|
|
718
|
+
e.set("mountedToasterCount", e.state.mountedToasterCount - 1), !(e.state.mountedToasterCount > 0) && e.set("toasts", e.state.toasts.filter(ge));
|
|
719
|
+
}), [e]), null;
|
|
720
|
+
}, gs = ({ container: e, getToastProps: t, className: a, render: n, ref: o, ...i }) => {
|
|
721
|
+
const s = Jt(), c = yr(), d = e === void 0 ? s ?? (typeof document > "u" ? null : document.body) : e, l = de({
|
|
722
|
+
render: n,
|
|
723
|
+
ref: o,
|
|
724
|
+
props: {
|
|
725
|
+
role: "region",
|
|
726
|
+
dir: c,
|
|
727
|
+
"aria-label": "Notifications",
|
|
728
|
+
...i,
|
|
729
|
+
className: v(Re.root, a),
|
|
730
|
+
children: /* @__PURE__ */ h(O, { children: [/* @__PURE__ */ r(fn, {}), /* @__PURE__ */ r(hn, { getToastProps: t })] })
|
|
731
|
+
}
|
|
732
|
+
});
|
|
733
|
+
return u(d) ? Nr(l, d) : null;
|
|
734
|
+
}, gn = "_container_1gape_1", bn = "_cardInner_1gape_23", tt = {
|
|
735
|
+
container: gn,
|
|
736
|
+
cardInner: bn
|
|
737
|
+
}, bs = ({ children: e, className: t, ...a }) => /* @__PURE__ */ r(Yt, {
|
|
738
|
+
render: /* @__PURE__ */ r("div", {}),
|
|
739
|
+
...a,
|
|
740
|
+
className: V(tt.container, t),
|
|
741
|
+
children: /* @__PURE__ */ r("div", {
|
|
742
|
+
className: tt.cardInner,
|
|
743
|
+
children: e
|
|
744
|
+
})
|
|
745
|
+
}), Cn = "_root_16neu_1", In = { root: Cn }, rt = ({ className: e }) => {
|
|
746
|
+
const t = M();
|
|
747
|
+
return /* @__PURE__ */ r("div", {
|
|
748
|
+
className: v(In.root, e),
|
|
749
|
+
children: /* @__PURE__ */ r(Rt, {
|
|
750
|
+
color: t.grayScale.gray1,
|
|
751
|
+
size: 14
|
|
752
|
+
})
|
|
753
|
+
});
|
|
754
|
+
}, yn = "_container_qsmue_1", Nn = "_colorSchemeBackground_qsmue_6", wn = "_colorSchemeContent_qsmue_22", kn = "_mixedColorSchemeSegment_qsmue_39", Sn = "_checkmarkContainer_qsmue_54", Y = {
|
|
755
|
+
container: yn,
|
|
756
|
+
colorSchemeBackground: Nn,
|
|
757
|
+
colorSchemeContent: wn,
|
|
758
|
+
mixedColorSchemeSegment: kn,
|
|
759
|
+
checkmarkContainer: Sn
|
|
760
|
+
}, xe = ({ variant: e, style: t, className: a, onClick: n, onMouseEnter: o, onMouseLeave: i }) => {
|
|
761
|
+
const s = e === "Dark" ? Kt : Ht, c = v(Y.colorSchemeBackground, a), d = {
|
|
762
|
+
"--color-scheme-card-background": s.gray4,
|
|
763
|
+
"--color-scheme-card-border-color": s.gray5,
|
|
764
|
+
"--color-scheme-card-content-background": s.gray1,
|
|
765
|
+
"--color-scheme-card-content-color": s.gray12,
|
|
766
|
+
...t
|
|
767
|
+
}, l = /* @__PURE__ */ r("div", {
|
|
768
|
+
className: Y.colorSchemeContent,
|
|
769
|
+
children: "Aa"
|
|
770
|
+
});
|
|
771
|
+
return u(n) ? /* @__PURE__ */ r("div", {
|
|
772
|
+
className: c,
|
|
773
|
+
style: d,
|
|
774
|
+
role: "button",
|
|
775
|
+
tabIndex: 0,
|
|
776
|
+
"aria-label": e,
|
|
777
|
+
onClick: n,
|
|
778
|
+
onKeyDown: ve,
|
|
779
|
+
onMouseEnter: o,
|
|
780
|
+
onMouseLeave: i,
|
|
781
|
+
children: l
|
|
782
|
+
}) : /* @__PURE__ */ r("div", {
|
|
783
|
+
className: c,
|
|
784
|
+
style: d,
|
|
785
|
+
onMouseEnter: o,
|
|
786
|
+
onMouseLeave: i,
|
|
787
|
+
children: l
|
|
788
|
+
});
|
|
789
|
+
}, Ae = ({ variant: e, selected: t, onClick: a, className: n }) => {
|
|
790
|
+
const o = /* @__PURE__ */ h(O, { children: [/* @__PURE__ */ r(xe, {
|
|
791
|
+
style: {
|
|
792
|
+
borderTopRightRadius: 0,
|
|
793
|
+
borderBottomRightRadius: 0
|
|
794
|
+
},
|
|
795
|
+
variant: "Light"
|
|
796
|
+
}), /* @__PURE__ */ r(xe, {
|
|
797
|
+
style: {
|
|
798
|
+
borderTopLeftRadius: 0,
|
|
799
|
+
borderBottomLeftRadius: 0
|
|
800
|
+
},
|
|
801
|
+
variant: "Dark"
|
|
802
|
+
})] });
|
|
803
|
+
return e === "System" ? /* @__PURE__ */ h("div", {
|
|
804
|
+
className: v(Y.container, n),
|
|
805
|
+
children: [u(a) ? /* @__PURE__ */ r("div", {
|
|
806
|
+
className: Y.mixedColorSchemeSegment,
|
|
807
|
+
role: "button",
|
|
808
|
+
tabIndex: 0,
|
|
809
|
+
"aria-label": e,
|
|
810
|
+
onClick: a,
|
|
811
|
+
onKeyDown: ve,
|
|
812
|
+
children: o
|
|
813
|
+
}) : /* @__PURE__ */ r("div", {
|
|
814
|
+
className: Y.mixedColorSchemeSegment,
|
|
815
|
+
children: o
|
|
816
|
+
}), /* @__PURE__ */ r("div", {
|
|
817
|
+
className: Y.checkmarkContainer,
|
|
818
|
+
"data-selected": t || void 0,
|
|
819
|
+
children: /* @__PURE__ */ r(rt, {})
|
|
820
|
+
})]
|
|
821
|
+
}) : /* @__PURE__ */ h("div", {
|
|
822
|
+
className: v(Y.container, n),
|
|
823
|
+
children: [/* @__PURE__ */ r(xe, {
|
|
824
|
+
variant: e,
|
|
825
|
+
onClick: a
|
|
826
|
+
}), /* @__PURE__ */ r("div", {
|
|
827
|
+
className: Y.checkmarkContainer,
|
|
828
|
+
"data-selected": t || void 0,
|
|
829
|
+
children: /* @__PURE__ */ r(rt, {})
|
|
830
|
+
})]
|
|
831
|
+
});
|
|
832
|
+
}, Tn = "_container_pqcwk_1", xn = "_cardContainer_pqcwk_13", An = "_card_pqcwk_13", Ln = "_label_pqcwk_29", F = {
|
|
833
|
+
container: Tn,
|
|
834
|
+
cardContainer: xn,
|
|
835
|
+
card: An,
|
|
836
|
+
label: Ln
|
|
837
|
+
}, Cs = ({ value: e, onChange: t, className: a, lightLabel: n, darkLabel: o, systemLabel: i }) => /* @__PURE__ */ h("div", {
|
|
838
|
+
className: v(F.container, a),
|
|
839
|
+
children: [
|
|
840
|
+
/* @__PURE__ */ h("div", {
|
|
841
|
+
className: F.cardContainer,
|
|
842
|
+
children: [/* @__PURE__ */ r(Ae, {
|
|
843
|
+
className: F.card,
|
|
844
|
+
onClick: () => t("Light"),
|
|
845
|
+
variant: "Light",
|
|
846
|
+
selected: e === "Light"
|
|
847
|
+
}), /* @__PURE__ */ r("span", {
|
|
848
|
+
className: F.label,
|
|
849
|
+
children: n
|
|
850
|
+
})]
|
|
851
|
+
}),
|
|
852
|
+
/* @__PURE__ */ h("div", {
|
|
853
|
+
className: F.cardContainer,
|
|
854
|
+
children: [/* @__PURE__ */ r(Ae, {
|
|
855
|
+
className: F.card,
|
|
856
|
+
onClick: () => t("Dark"),
|
|
857
|
+
variant: "Dark",
|
|
858
|
+
selected: e === "Dark"
|
|
859
|
+
}), /* @__PURE__ */ r("span", {
|
|
860
|
+
className: F.label,
|
|
861
|
+
children: o
|
|
862
|
+
})]
|
|
863
|
+
}),
|
|
864
|
+
/* @__PURE__ */ h("div", {
|
|
865
|
+
className: F.cardContainer,
|
|
866
|
+
children: [/* @__PURE__ */ r(Ae, {
|
|
867
|
+
className: F.card,
|
|
868
|
+
onClick: () => t("System"),
|
|
869
|
+
variant: "System",
|
|
870
|
+
selected: e === "System"
|
|
871
|
+
}), /* @__PURE__ */ r("span", {
|
|
872
|
+
className: F.label,
|
|
873
|
+
children: i
|
|
874
|
+
})]
|
|
875
|
+
})
|
|
876
|
+
]
|
|
877
|
+
}), Dn = "_button_1qwl0_1", Bn = "_tooltipAnchor_1qwl0_29", Mn = "_icon_1qwl0_33", Le = {
|
|
878
|
+
button: Dn,
|
|
879
|
+
tooltipAnchor: Bn,
|
|
880
|
+
icon: Mn
|
|
881
|
+
}, En = ({ children: e, size: t = "md", shape: a = "square", className: n, tooltip: o, tooltipPlace: i = "bottom", tooltipDelay: s = 1e3, tooltipOffset: c = 5, disabled: d, loading: l, ...m }) => {
|
|
882
|
+
const _ = le(Qt)?.size ?? t, p = j(o), f = d || l, g = /* @__PURE__ */ r(R, {
|
|
883
|
+
...m,
|
|
884
|
+
size: t === "xs" ? "sm" : t,
|
|
885
|
+
"data-icon-size": _,
|
|
886
|
+
"data-shape": a,
|
|
887
|
+
disabled: d,
|
|
888
|
+
loading: l,
|
|
889
|
+
startIcon: /* @__PURE__ */ r("span", {
|
|
890
|
+
className: Le.icon,
|
|
891
|
+
children: e
|
|
892
|
+
}),
|
|
893
|
+
className: V(Le.button, n)
|
|
894
|
+
});
|
|
895
|
+
return p ? /* @__PURE__ */ r(ut, {
|
|
896
|
+
content: o,
|
|
897
|
+
delay: s,
|
|
898
|
+
side: i,
|
|
899
|
+
sideOffset: c,
|
|
900
|
+
children: f ? /* @__PURE__ */ r("span", {
|
|
901
|
+
className: Le.tooltipAnchor,
|
|
902
|
+
children: g
|
|
903
|
+
}) : g
|
|
904
|
+
}) : g;
|
|
905
|
+
}, Rn = "_button_k3e4y_1", Pn = { button: Rn }, Is = ({ className: e, emphasis: t = "standard", size: a = "sm", variant: n = "ghost", ...o }) => /* @__PURE__ */ r(R, {
|
|
906
|
+
...o,
|
|
907
|
+
size: a,
|
|
908
|
+
variant: n,
|
|
909
|
+
"data-emphasis": t,
|
|
910
|
+
className: V(Pn.button, e)
|
|
911
|
+
}), zn = "_button_prhtf_1", On = { button: zn }, $n = ({ className: e, emphasis: t = "standard", size: a = "sm", variant: n = "ghost", ...o }) => /* @__PURE__ */ r(En, {
|
|
912
|
+
...o,
|
|
913
|
+
size: a,
|
|
914
|
+
variant: n,
|
|
915
|
+
"data-emphasis": t,
|
|
916
|
+
className: V(On.button, e)
|
|
917
|
+
}), qn = "_button_1fwx7_1", Fn = { button: qn }, ys = ({ className: e, elevated: t = !0, variant: a = "solid", ...n }) => /* @__PURE__ */ r(R, {
|
|
918
|
+
...n,
|
|
919
|
+
elevated: t,
|
|
920
|
+
variant: a,
|
|
921
|
+
className: V(Fn.button, e)
|
|
922
|
+
}), jn = "_wrapper_kimh6_1", Wn = "_filterButton_kimh6_8", Kn = "_filterIcon_kimh6_17", Hn = "_inputContainer_kimh6_21", Jn = "_iconContainer_kimh6_38", Vn = "_input_kimh6_21", ee = {
|
|
923
|
+
wrapper: jn,
|
|
924
|
+
filterButton: Wn,
|
|
925
|
+
filterIcon: Kn,
|
|
926
|
+
inputContainer: Hn,
|
|
927
|
+
iconContainer: Jn,
|
|
928
|
+
input: Vn
|
|
929
|
+
}, Ns = ({ value: e, onChange: t, placeholder: a, filterDropdown: n, autoFocus: o, disabled: i, className: s, id: c, filterButtonAriaLabel: d = "Filter", "aria-label": l, "aria-labelledby": m }) => {
|
|
930
|
+
const _ = M(), [p, f] = D(!1), g = re(), S = c ?? g, b = /* @__PURE__ */ r(R, {
|
|
931
|
+
variant: "outline",
|
|
932
|
+
"aria-label": d,
|
|
933
|
+
startIcon: /* @__PURE__ */ r("span", {
|
|
934
|
+
className: ee.filterIcon,
|
|
935
|
+
children: /* @__PURE__ */ r(Dt, { size: _.icon.size.md })
|
|
936
|
+
}),
|
|
937
|
+
className: ee.filterButton
|
|
938
|
+
});
|
|
939
|
+
return /* @__PURE__ */ h("div", {
|
|
940
|
+
className: v(ee.wrapper, s),
|
|
941
|
+
children: [/* @__PURE__ */ h("div", {
|
|
942
|
+
className: ee.inputContainer,
|
|
943
|
+
children: [/* @__PURE__ */ r("div", {
|
|
944
|
+
className: ee.iconContainer,
|
|
945
|
+
"data-focused": p || void 0,
|
|
946
|
+
"aria-hidden": !0,
|
|
947
|
+
children: /* @__PURE__ */ r($t, { size: _.icon.size.md })
|
|
948
|
+
}), /* @__PURE__ */ r(wr, {
|
|
949
|
+
id: S,
|
|
950
|
+
className: ee.input,
|
|
951
|
+
value: e,
|
|
952
|
+
onValueChange: (C) => t(C),
|
|
953
|
+
onFocus: () => f(!0),
|
|
954
|
+
onBlur: () => f(!1),
|
|
955
|
+
placeholder: a,
|
|
956
|
+
autoFocus: o,
|
|
957
|
+
disabled: i,
|
|
958
|
+
"aria-label": m ? void 0 : l ?? a,
|
|
959
|
+
"aria-labelledby": m
|
|
960
|
+
})]
|
|
961
|
+
}), n && n(b)]
|
|
962
|
+
});
|
|
963
|
+
}, ws = ({ children: e, startIcon: t, description: a, focused: n = !1, checked: o, defaultChecked: i, onCheckedChange: s, disabled: c = !1, readOnly: d = !1, size: l = "sm", name: m, value: _, required: p, className: f, style: g, ref: S, ...b }) => {
|
|
964
|
+
const C = re(), T = `${C}-label`, N = `${C}-description`, k = ar(a);
|
|
965
|
+
return /* @__PURE__ */ r(pe, {
|
|
966
|
+
className: f,
|
|
967
|
+
style: g,
|
|
968
|
+
startIcon: t,
|
|
969
|
+
focused: n,
|
|
970
|
+
disabled: c,
|
|
971
|
+
description: k && /* @__PURE__ */ r("span", {
|
|
972
|
+
id: N,
|
|
973
|
+
children: a
|
|
974
|
+
}),
|
|
975
|
+
render: (A) => /* @__PURE__ */ r("label", {
|
|
976
|
+
...b,
|
|
977
|
+
...A,
|
|
978
|
+
htmlFor: C,
|
|
979
|
+
ref: S
|
|
980
|
+
}),
|
|
981
|
+
endIcon: /* @__PURE__ */ r(Xt, {
|
|
982
|
+
id: C,
|
|
983
|
+
"aria-labelledby": T,
|
|
984
|
+
"aria-describedby": k ? N : void 0,
|
|
985
|
+
checked: o,
|
|
986
|
+
defaultChecked: i,
|
|
987
|
+
onCheckedChange: s,
|
|
988
|
+
disabled: c,
|
|
989
|
+
readOnly: d,
|
|
990
|
+
size: l,
|
|
991
|
+
name: m,
|
|
992
|
+
value: _,
|
|
993
|
+
required: p
|
|
994
|
+
}),
|
|
995
|
+
children: /* @__PURE__ */ r("span", {
|
|
996
|
+
id: T,
|
|
997
|
+
children: e
|
|
998
|
+
})
|
|
999
|
+
});
|
|
1000
|
+
}, Gn = "_container_gwbng_1", Un = "_layer_gwbng_8", Yn = "_visible_gwbng_22", Xn = "_hidden_gwbng_27", Q = {
|
|
1001
|
+
container: Gn,
|
|
1002
|
+
layer: Un,
|
|
1003
|
+
visible: Yn,
|
|
1004
|
+
hidden: Xn
|
|
1005
|
+
}, ks = ({ isActive: e, ActiveIcon: t, InactiveIcon: a, size: n }) => {
|
|
1006
|
+
const o = M(), i = n ?? o.icon.size.sm;
|
|
1007
|
+
return /* @__PURE__ */ h("div", {
|
|
1008
|
+
className: Q.container,
|
|
1009
|
+
style: { "--animated-icon-crossfade-size": `${i}px` },
|
|
1010
|
+
children: [/* @__PURE__ */ r("div", {
|
|
1011
|
+
className: v(Q.layer, e ? Q.hidden : Q.visible),
|
|
1012
|
+
children: /* @__PURE__ */ r(a, { size: i })
|
|
1013
|
+
}), /* @__PURE__ */ r("div", {
|
|
1014
|
+
className: v(Q.layer, e ? Q.visible : Q.hidden),
|
|
1015
|
+
children: /* @__PURE__ */ r(t, { size: i })
|
|
1016
|
+
})]
|
|
1017
|
+
});
|
|
1018
|
+
}, Qn = "_header_1r38k_1", Zn = "_titleRow_1r38k_8", eo = "_title_1r38k_8", to = "_adornment_1r38k_21", ro = "_description_1r38k_27", oe = {
|
|
1019
|
+
header: Qn,
|
|
1020
|
+
titleRow: Zn,
|
|
1021
|
+
title: eo,
|
|
1022
|
+
adornment: to,
|
|
1023
|
+
description: ro
|
|
1024
|
+
}, ao = ({ title: e, description: t, adornment: a, level: n = 2, size: o = "md", color: i = "primary", descriptionLineClamp: s = 5, render: c, ref: d, className: l, ...m }) => {
|
|
1025
|
+
const _ = re(), p = te(t) ? j(t) : u(t) && t !== !1;
|
|
1026
|
+
return de({
|
|
1027
|
+
render: c,
|
|
1028
|
+
ref: d,
|
|
1029
|
+
props: {
|
|
1030
|
+
...m,
|
|
1031
|
+
className: v(oe.header, l),
|
|
1032
|
+
children: /* @__PURE__ */ h(O, { children: [/* @__PURE__ */ h("div", {
|
|
1033
|
+
className: oe.titleRow,
|
|
1034
|
+
children: [/* @__PURE__ */ r(or, {
|
|
1035
|
+
level: n,
|
|
1036
|
+
size: o,
|
|
1037
|
+
color: i,
|
|
1038
|
+
className: oe.title,
|
|
1039
|
+
"aria-describedby": p ? _ : void 0,
|
|
1040
|
+
children: e
|
|
1041
|
+
}), u(a) && /* @__PURE__ */ r("div", {
|
|
1042
|
+
className: oe.adornment,
|
|
1043
|
+
children: a
|
|
1044
|
+
})]
|
|
1045
|
+
}), p && /* @__PURE__ */ r("div", {
|
|
1046
|
+
id: _,
|
|
1047
|
+
className: oe.description,
|
|
1048
|
+
children: te(t) ? /* @__PURE__ */ r(se, {
|
|
1049
|
+
text: t,
|
|
1050
|
+
displayedMaxRows: s,
|
|
1051
|
+
isTooltipMultiline: !0,
|
|
1052
|
+
isFocusable: !0
|
|
1053
|
+
}) : t
|
|
1054
|
+
})] })
|
|
1055
|
+
}
|
|
1056
|
+
});
|
|
1057
|
+
}, no = "_root_ztxxm_1", oo = "_fullWidth_ztxxm_20", at = {
|
|
1058
|
+
root: no,
|
|
1059
|
+
fullWidth: oo
|
|
1060
|
+
}, io = ({ align: e = "left", color: t = "primary", fullWidth: a = !0, className: n, render: o, ref: i, ...s }) => de({
|
|
1061
|
+
render: o,
|
|
1062
|
+
ref: i,
|
|
1063
|
+
props: {
|
|
1064
|
+
...s,
|
|
1065
|
+
"data-align": e,
|
|
1066
|
+
"data-color": t,
|
|
1067
|
+
className: v(at.root, a && at.fullWidth, n)
|
|
1068
|
+
}
|
|
1069
|
+
}), Ss = {
|
|
1070
|
+
Root: io,
|
|
1071
|
+
Header: ao
|
|
1072
|
+
}, We = (e) => e.getAttribute("aria-label") ?? e.textContent ?? "", be = (e) => Array.from(e.querySelectorAll("[data-dropdown-item]")).filter((t) => t.getAttribute("aria-disabled") !== "true" && !t.hasAttribute("disabled") && t.closest("[data-dropdown-content]") === e), _e = $e(void 0), $ = () => {
|
|
1073
|
+
const e = le(_e);
|
|
1074
|
+
if (!u(e)) throw new Error("Dropdown components must be inside Dropdown.Root");
|
|
1075
|
+
return e;
|
|
1076
|
+
}, Ke = ({ id: e, isSubmenuTrigger: t = !1 }) => {
|
|
1077
|
+
const a = $(), n = t ? a.parentType : a.type, o = t ? a.parentActiveItemId : a.activeItemId, i = t ? a.setParentActiveItemId : a.setActiveItemId;
|
|
1078
|
+
return {
|
|
1079
|
+
tabIndex: n === "menu" && o !== e ? -1 : 0,
|
|
1080
|
+
activate: () => i?.(e)
|
|
1081
|
+
};
|
|
1082
|
+
}, It = ({ color: e, startIcon: t, endIcon: a, description: n, descriptionPlacement: o, hotkeys: i, hasSubmenu: s, children: c, render: d, disabled: l = !1, nativeButton: m = !u(d), closeOnClick: _ = !0, onClick: p, onFocus: f, page: g, id: S, ...b }) => {
|
|
1083
|
+
const { type: C, closeTree: T, goToPage: N } = $(), k = re(), A = S ?? k, L = Ke({ id: A });
|
|
1084
|
+
return /* @__PURE__ */ r(mt, {
|
|
1085
|
+
...b,
|
|
1086
|
+
id: A,
|
|
1087
|
+
disabled: l,
|
|
1088
|
+
nativeButton: m,
|
|
1089
|
+
role: b.role ?? (C === "menu" ? "menuitem" : void 0),
|
|
1090
|
+
tabIndex: L.tabIndex,
|
|
1091
|
+
onFocus: (I) => {
|
|
1092
|
+
L.activate(), f?.(I);
|
|
1093
|
+
},
|
|
1094
|
+
"data-dropdown-item": "",
|
|
1095
|
+
"data-dropdown-page": g,
|
|
1096
|
+
onClick: (I) => {
|
|
1097
|
+
if (p?.(I), !I.defaultPrevented) {
|
|
1098
|
+
if (u(g)) {
|
|
1099
|
+
const y = I.currentTarget.closest("[data-dropdown-content]");
|
|
1100
|
+
if (!u(y)) return;
|
|
1101
|
+
N({
|
|
1102
|
+
id: g,
|
|
1103
|
+
trigger: {
|
|
1104
|
+
id: S,
|
|
1105
|
+
index: be(y).indexOf(I.currentTarget),
|
|
1106
|
+
page: g,
|
|
1107
|
+
label: We(I.currentTarget)
|
|
1108
|
+
}
|
|
1109
|
+
});
|
|
1110
|
+
return;
|
|
1111
|
+
}
|
|
1112
|
+
_ && T();
|
|
1113
|
+
}
|
|
1114
|
+
},
|
|
1115
|
+
render: (I) => /* @__PURE__ */ r(pe, {
|
|
1116
|
+
...I,
|
|
1117
|
+
render: d ?? /* @__PURE__ */ r("button", { type: "button" }),
|
|
1118
|
+
disabled: l,
|
|
1119
|
+
color: e,
|
|
1120
|
+
startIcon: t,
|
|
1121
|
+
endIcon: a,
|
|
1122
|
+
description: n,
|
|
1123
|
+
descriptionPlacement: o,
|
|
1124
|
+
hotkeys: i,
|
|
1125
|
+
hasSubmenu: s ?? u(g),
|
|
1126
|
+
children: c
|
|
1127
|
+
})
|
|
1128
|
+
});
|
|
1129
|
+
}, so = "_content_7a4p5_1", co = "_page_7a4p5_12", lo = "_section_7a4p5_16", uo = "_separator_7a4p5_24", mo = "_back_7a4p5_32", _o = "_searchContainer_7a4p5_47", vo = "_search_7a4p5_47", po = "_status_7a4p5_64", ho = "_header_7a4p5_70", fo = "_title_7a4p5_86", z = {
|
|
1130
|
+
content: so,
|
|
1131
|
+
page: co,
|
|
1132
|
+
section: lo,
|
|
1133
|
+
separator: uo,
|
|
1134
|
+
back: mo,
|
|
1135
|
+
searchContainer: _o,
|
|
1136
|
+
search: vo,
|
|
1137
|
+
status: po,
|
|
1138
|
+
header: ho,
|
|
1139
|
+
title: fo
|
|
1140
|
+
}, go = ({ children: e = "Back", className: t, onClick: a, ...n }) => {
|
|
1141
|
+
const { goBack: o, canGoBack: i } = $();
|
|
1142
|
+
return /* @__PURE__ */ r(It, {
|
|
1143
|
+
...n,
|
|
1144
|
+
className: v(z.back, t),
|
|
1145
|
+
"data-dropdown-back": "",
|
|
1146
|
+
disabled: n.disabled || !i,
|
|
1147
|
+
startIcon: /* @__PURE__ */ r(Pt, {}),
|
|
1148
|
+
closeOnClick: !1,
|
|
1149
|
+
onClick: (s) => {
|
|
1150
|
+
a?.(s), !s.defaultPrevented && o();
|
|
1151
|
+
},
|
|
1152
|
+
children: e
|
|
1153
|
+
});
|
|
1154
|
+
}, bo = ({ render: e, children: t, "aria-label": a, ...n }) => /* @__PURE__ */ r(_t.Close, {
|
|
1155
|
+
...n,
|
|
1156
|
+
"aria-label": a,
|
|
1157
|
+
render: e ?? /* @__PURE__ */ r($n, {
|
|
1158
|
+
size: "sm",
|
|
1159
|
+
"aria-label": a,
|
|
1160
|
+
children: t ?? /* @__PURE__ */ r(ze, {})
|
|
1161
|
+
}),
|
|
1162
|
+
children: u(e) ? t : void 0
|
|
1163
|
+
}), He = ({ content: e, target: t, edge: a = "first", type: n }) => {
|
|
1164
|
+
const o = u(t?.id) ? e.ownerDocument.getElementById(t.id) : null;
|
|
1165
|
+
if (u(o) && e.contains(o)) return o;
|
|
1166
|
+
const i = be(e), s = u(t) ? i.filter((_) => _.dataset.dropdownPage === t.page) : [];
|
|
1167
|
+
if (s.length === 1) return s[0];
|
|
1168
|
+
const c = j(t?.label) ? s.filter((_) => We(_) === t?.label) : [];
|
|
1169
|
+
if (c.length === 1) return c[0];
|
|
1170
|
+
const d = u(t) ? i[t.index] : void 0;
|
|
1171
|
+
if (u(d)) return d;
|
|
1172
|
+
const l = e.querySelector('input:not(:disabled):not([type="hidden"]),button:not(:disabled),textarea:not(:disabled),select:not(:disabled),a[href],[tabindex="0"]');
|
|
1173
|
+
if ((Array.from(e.querySelectorAll("[data-dropdown-page-type]")).find((_) => _.closest("[data-dropdown-content]") === e)?.dataset.dropdownPageType ?? n ?? e.dataset.type) === "panel") return l ?? e;
|
|
1174
|
+
const m = e.querySelector("[data-dropdown-search]:not(:disabled)");
|
|
1175
|
+
return u(m) ? m : (a === "last" ? i[i.length - 1] : i[0]) ?? l ?? e;
|
|
1176
|
+
}, Co = ({ contentRef: e }) => {
|
|
1177
|
+
const { open: t, pageId: a, pageFocusRequest: n, setPageFocusRequest: o } = $();
|
|
1178
|
+
return fe(() => {
|
|
1179
|
+
u(n) && (o(void 0), !(!t || n.pageId !== a || !u(e.current)) && He({
|
|
1180
|
+
content: e.current,
|
|
1181
|
+
target: n.target
|
|
1182
|
+
}).focus());
|
|
1183
|
+
}, [
|
|
1184
|
+
e,
|
|
1185
|
+
t,
|
|
1186
|
+
a,
|
|
1187
|
+
n,
|
|
1188
|
+
o
|
|
1189
|
+
]), null;
|
|
1190
|
+
}, yt = (e) => {
|
|
1191
|
+
if (e.dataset.type === "panel") return;
|
|
1192
|
+
const t = e.querySelector("[data-dropdown-search]:not(:disabled)");
|
|
1193
|
+
if (!(!u(t) || !j(t.value.trim())))
|
|
1194
|
+
return be(e).find((a) => a.hasAttribute("data-dropdown-option-item"));
|
|
1195
|
+
}, Io = ({ content: e }) => {
|
|
1196
|
+
const { setSearchTargetId: t } = $();
|
|
1197
|
+
return fe(() => {
|
|
1198
|
+
if (!u(e)) return;
|
|
1199
|
+
const a = () => t(yt(e)?.id);
|
|
1200
|
+
a();
|
|
1201
|
+
const n = new MutationObserver(a);
|
|
1202
|
+
return n.observe(e, {
|
|
1203
|
+
childList: !0,
|
|
1204
|
+
subtree: !0,
|
|
1205
|
+
attributes: !0,
|
|
1206
|
+
attributeFilter: ["disabled", "aria-disabled"]
|
|
1207
|
+
}), e.addEventListener("input", a), () => {
|
|
1208
|
+
n.disconnect(), e.removeEventListener("input", a), t(void 0);
|
|
1209
|
+
};
|
|
1210
|
+
}, [e, t]), null;
|
|
1211
|
+
}, yo = (e) => (e.ctrlKey || e.metaKey) && !e.defaultPrevented, No = (e) => Array.from(e.ownerDocument.querySelectorAll("[data-dropdown-item][aria-controls]")).find((t) => t.getAttribute("aria-controls") === e.id), wo = ({ key: e, items: t, currentIndex: a, search: n, isSearch: o }) => {
|
|
1212
|
+
const i = t.length - 1;
|
|
1213
|
+
if (e === "ArrowDown") return t[a === i ? 0 : a + 1];
|
|
1214
|
+
if (e === "ArrowUp" && a === 0 && u(n)) return n;
|
|
1215
|
+
if (e === "ArrowUp") return t[a <= 0 ? i : a - 1];
|
|
1216
|
+
if (!o && e === "Home") return t[0];
|
|
1217
|
+
if (!o && e === "End") return t[i];
|
|
1218
|
+
}, ko = 500, So = ({ type: e, isSubmenu: t, setOpen: a }) => {
|
|
1219
|
+
const [n, o] = D({
|
|
1220
|
+
text: "",
|
|
1221
|
+
timestamp: 0
|
|
1222
|
+
});
|
|
1223
|
+
return (i) => {
|
|
1224
|
+
if (i.defaultPrevented) return;
|
|
1225
|
+
const s = i.currentTarget, c = i.target;
|
|
1226
|
+
if (!(c instanceof HTMLElement) || c.closest("[data-dropdown-content]") !== s) return;
|
|
1227
|
+
const d = c.matches('input,textarea,select,[contenteditable="true"]'), l = getComputedStyle(s).direction === "rtl" ? "ArrowRight" : "ArrowLeft";
|
|
1228
|
+
if (t && (i.key === "Escape" || !d && i.key === l)) {
|
|
1229
|
+
i.preventDefault(), i.stopPropagation(), No(s)?.focus(), a(!1);
|
|
1230
|
+
return;
|
|
1231
|
+
}
|
|
1232
|
+
if (e === "panel") return;
|
|
1233
|
+
const m = s.querySelector("[data-dropdown-search]:not(:disabled)"), _ = c === m;
|
|
1234
|
+
if (d && !_) return;
|
|
1235
|
+
const p = be(s).filter((k) => !u(m) || !k.hasAttribute("data-dropdown-back")), f = _ && i.key === "Enter" && !i.nativeEvent.isComposing ? yt(s) : void 0;
|
|
1236
|
+
if (u(f)) {
|
|
1237
|
+
i.preventDefault(), f.click();
|
|
1238
|
+
return;
|
|
1239
|
+
}
|
|
1240
|
+
const g = p.indexOf(c), S = wo({
|
|
1241
|
+
key: i.key,
|
|
1242
|
+
items: p,
|
|
1243
|
+
currentIndex: g,
|
|
1244
|
+
search: m,
|
|
1245
|
+
isSearch: _
|
|
1246
|
+
});
|
|
1247
|
+
if (u(S)) {
|
|
1248
|
+
i.preventDefault(), S.focus();
|
|
1249
|
+
return;
|
|
1250
|
+
}
|
|
1251
|
+
if (d || i.key.length !== 1 || i.key === " " || i.altKey || i.ctrlKey || i.metaKey) return;
|
|
1252
|
+
const b = Date.now(), C = b - n.timestamp > ko ? i.key : n.text + i.key;
|
|
1253
|
+
o({
|
|
1254
|
+
text: C,
|
|
1255
|
+
timestamp: b
|
|
1256
|
+
});
|
|
1257
|
+
const T = ([...C].every((k) => k === C[0]) ? i.key : C).toLocaleLowerCase(), N = [...p.slice(g + 1), ...p.slice(0, g + 1)].find((k) => We(k).trim().toLocaleLowerCase().startsWith(T));
|
|
1258
|
+
u(N) && (i.preventDefault(), N.focus());
|
|
1259
|
+
};
|
|
1260
|
+
}, To = ({ side: e, align: t = "start", sideOffset: a = 0, alignOffset: n, anchor: o, container: i, keepMounted: s, width: c = 200, className: d, style: l, children: m, initialFocus: _, onKeyDown: p, onClick: f, onMouseDown: g, onPointerDown: S, ref: b, ...C }) => {
|
|
1261
|
+
const { type: T, isSubmenu: N, setOpen: k, initialFocusEdge: A, focusOnOpen: L } = $(), I = Fe(null), [y, G] = D(null), B = kr(I, b, G), K = So({
|
|
1262
|
+
type: T,
|
|
1263
|
+
isSubmenu: N,
|
|
1264
|
+
setOpen: k
|
|
1265
|
+
});
|
|
1266
|
+
return /* @__PURE__ */ h(O, { children: [
|
|
1267
|
+
/* @__PURE__ */ r(he.Popup, {
|
|
1268
|
+
...C,
|
|
1269
|
+
ref: B,
|
|
1270
|
+
side: e ?? (N ? "inline-end" : "bottom"),
|
|
1271
|
+
align: t,
|
|
1272
|
+
sideOffset: a,
|
|
1273
|
+
alignOffset: n,
|
|
1274
|
+
anchor: o,
|
|
1275
|
+
container: i,
|
|
1276
|
+
keepMounted: s,
|
|
1277
|
+
role: T === "menu" ? "menu" : "dialog",
|
|
1278
|
+
"data-dropdown-content": "",
|
|
1279
|
+
"data-type": T,
|
|
1280
|
+
className: V(z.content, d),
|
|
1281
|
+
style: (w) => ({
|
|
1282
|
+
width: c,
|
|
1283
|
+
...vr(l) ? l(w) : l
|
|
1284
|
+
}),
|
|
1285
|
+
initialFocus: _ ?? (() => L ? u(I.current) ? He({
|
|
1286
|
+
content: I.current,
|
|
1287
|
+
edge: A,
|
|
1288
|
+
type: T
|
|
1289
|
+
}) : !0 : !1),
|
|
1290
|
+
onKeyDown: (w) => {
|
|
1291
|
+
p?.(w), K(w), yo(w) || w.stopPropagation();
|
|
1292
|
+
},
|
|
1293
|
+
onClick: (w) => {
|
|
1294
|
+
w.stopPropagation(), f?.(w);
|
|
1295
|
+
},
|
|
1296
|
+
onMouseDown: (w) => {
|
|
1297
|
+
w.stopPropagation(), g?.(w);
|
|
1298
|
+
},
|
|
1299
|
+
onPointerDown: (w) => {
|
|
1300
|
+
w.stopPropagation(), S?.(w);
|
|
1301
|
+
},
|
|
1302
|
+
children: m
|
|
1303
|
+
}),
|
|
1304
|
+
/* @__PURE__ */ r(Co, { contentRef: I }),
|
|
1305
|
+
/* @__PURE__ */ r(Io, { content: y })
|
|
1306
|
+
] });
|
|
1307
|
+
}, xo = ({ className: e, ...t }) => /* @__PURE__ */ r(dt, {
|
|
1308
|
+
...t,
|
|
1309
|
+
role: "status",
|
|
1310
|
+
"aria-live": "polite",
|
|
1311
|
+
className: v(z.status, e)
|
|
1312
|
+
}), Ao = ({ render: e, ref: t, className: a, ...n }) => de({
|
|
1313
|
+
render: e,
|
|
1314
|
+
ref: t,
|
|
1315
|
+
props: {
|
|
1316
|
+
...n,
|
|
1317
|
+
className: v(z.header, a)
|
|
1318
|
+
}
|
|
1319
|
+
}), Lo = ({ className: e, ...t }) => /* @__PURE__ */ r(dt, {
|
|
1320
|
+
...t,
|
|
1321
|
+
role: "status",
|
|
1322
|
+
"aria-live": "polite",
|
|
1323
|
+
"aria-busy": "true",
|
|
1324
|
+
className: v(z.status, e)
|
|
1325
|
+
}), Do = ({ selected: e, indicator: t, onSelect: a, closeOnSelect: n, color: o, startIcon: i, endIcon: s, description: c, descriptionPlacement: d, hotkeys: l, hasSubmenu: m, children: _, render: p, disabled: f = !1, nativeButton: g = !u(p), onClick: S, onFocus: b, id: C, ...T }) => {
|
|
1326
|
+
const { type: N, multiple: k, closeTree: A, searchTargetId: L } = $(), I = N === "menu", y = k ? "menuitemcheckbox" : "menuitemradio", G = re(), B = C ?? G, K = Ke({ id: B });
|
|
1327
|
+
return /* @__PURE__ */ r(mt, {
|
|
1328
|
+
...T,
|
|
1329
|
+
id: B,
|
|
1330
|
+
disabled: f,
|
|
1331
|
+
nativeButton: g,
|
|
1332
|
+
role: I ? y : void 0,
|
|
1333
|
+
"aria-checked": I ? e : void 0,
|
|
1334
|
+
"aria-pressed": I ? void 0 : e,
|
|
1335
|
+
tabIndex: K.tabIndex,
|
|
1336
|
+
onFocus: (w) => {
|
|
1337
|
+
K.activate(), b?.(w);
|
|
1338
|
+
},
|
|
1339
|
+
"data-dropdown-item": "",
|
|
1340
|
+
"data-dropdown-option-item": "",
|
|
1341
|
+
onClick: (w) => {
|
|
1342
|
+
S?.(w), !w.defaultPrevented && (a?.(), (n ?? !k) && A());
|
|
1343
|
+
},
|
|
1344
|
+
render: (w) => /* @__PURE__ */ r(pe, {
|
|
1345
|
+
...w,
|
|
1346
|
+
render: p ?? /* @__PURE__ */ r("button", { type: "button" }),
|
|
1347
|
+
disabled: f,
|
|
1348
|
+
selected: e,
|
|
1349
|
+
focused: L === B,
|
|
1350
|
+
indicator: t ?? (k ? "checkbox" : "check"),
|
|
1351
|
+
color: o,
|
|
1352
|
+
startIcon: i,
|
|
1353
|
+
endIcon: s,
|
|
1354
|
+
description: c,
|
|
1355
|
+
descriptionPlacement: d,
|
|
1356
|
+
hotkeys: l,
|
|
1357
|
+
hasSubmenu: m,
|
|
1358
|
+
children: _
|
|
1359
|
+
})
|
|
1360
|
+
});
|
|
1361
|
+
}, Bo = ({ id: e, type: t, children: a }) => {
|
|
1362
|
+
const n = $(), { registerPage: o } = n, i = Ee((s) => {
|
|
1363
|
+
u(s) && o({
|
|
1364
|
+
id: e,
|
|
1365
|
+
type: t
|
|
1366
|
+
});
|
|
1367
|
+
}, [
|
|
1368
|
+
e,
|
|
1369
|
+
t,
|
|
1370
|
+
o
|
|
1371
|
+
]);
|
|
1372
|
+
return n.pageId !== e ? null : /* @__PURE__ */ r(_e.Provider, {
|
|
1373
|
+
value: {
|
|
1374
|
+
...n,
|
|
1375
|
+
type: t ?? n.rootType
|
|
1376
|
+
},
|
|
1377
|
+
children: /* @__PURE__ */ r("div", {
|
|
1378
|
+
ref: i,
|
|
1379
|
+
className: z.page,
|
|
1380
|
+
"data-dropdown-page-type": t ?? n.rootType,
|
|
1381
|
+
children: a
|
|
1382
|
+
})
|
|
1383
|
+
});
|
|
1384
|
+
}, Mo = ({ open: e, registerOpenNestedRoot: t }) => (gr(() => {
|
|
1385
|
+
if (e)
|
|
1386
|
+
return t?.();
|
|
1387
|
+
}, [e, t]), null), Eo = [
|
|
1388
|
+
"mousedown",
|
|
1389
|
+
"touchend",
|
|
1390
|
+
"focusout"
|
|
1391
|
+
], nt = (e) => {
|
|
1392
|
+
e.preventDefault(), e.stopPropagation();
|
|
1393
|
+
}, Ro = (e) => {
|
|
1394
|
+
if (e.type === "click") {
|
|
1395
|
+
nt(e);
|
|
1396
|
+
return;
|
|
1397
|
+
}
|
|
1398
|
+
if (!Eo.includes(e.type)) return;
|
|
1399
|
+
const t = e.target instanceof Node ? e.target.ownerDocument ?? document : document, a = new AbortController(), n = () => a.abort(), o = {
|
|
1400
|
+
capture: !0,
|
|
1401
|
+
signal: a.signal
|
|
1402
|
+
};
|
|
1403
|
+
t.addEventListener("click", (i) => {
|
|
1404
|
+
nt(i), n();
|
|
1405
|
+
}, o), t.addEventListener("pointerdown", n, o), t.addEventListener("keydown", n, o);
|
|
1406
|
+
}, Nt = ({ children: e, type: t, open: a, defaultOpen: n = !1, onOpenChange: o, multiple: i = !1, defaultPage: s = "root", isSubmenu: c = !1 }) => {
|
|
1407
|
+
const d = le(_e), l = Fe(0), m = Ee(() => (l.current += 1, () => {
|
|
1408
|
+
l.current -= 1;
|
|
1409
|
+
}), []), [_, p] = D(n), f = a ?? _, [g, S] = D(f), [b, C] = D([{ id: s }]), [T, N] = D(), [k, A] = D(), L = b[b.length - 1]?.id, [I, y] = D(), [G, B] = D("first"), [K, w] = D(!0), [kt, Ue] = D();
|
|
1410
|
+
g !== f && (S(f), f || (C([{ id: s }]), N(void 0), y(void 0), B("first"), w(!0), Ue(void 0)));
|
|
1411
|
+
const Ce = (E) => {
|
|
1412
|
+
u(a) || p(E), o?.(E);
|
|
1413
|
+
}, St = () => {
|
|
1414
|
+
Ce(!1), c && d?.closeTree();
|
|
1415
|
+
}, Tt = ({ id: E, trigger: P }) => {
|
|
1416
|
+
y({ pageId: E }), C((H) => [...H, {
|
|
1417
|
+
id: E,
|
|
1418
|
+
trigger: P
|
|
1419
|
+
}]);
|
|
1420
|
+
}, xt = () => {
|
|
1421
|
+
if (b.length < 2) return;
|
|
1422
|
+
const E = b[b.length - 2], P = b[b.length - 1]?.trigger;
|
|
1423
|
+
y({
|
|
1424
|
+
pageId: E.id,
|
|
1425
|
+
target: P
|
|
1426
|
+
}), C((H) => H.slice(0, -1));
|
|
1427
|
+
}, At = Ee(({ id: E, type: P }) => {
|
|
1428
|
+
if (!f) return;
|
|
1429
|
+
const H = P ?? t;
|
|
1430
|
+
N((Ie) => Ie?.id === E && Ie.type === H ? Ie : {
|
|
1431
|
+
id: E,
|
|
1432
|
+
type: H
|
|
1433
|
+
});
|
|
1434
|
+
}, [f, t]);
|
|
1435
|
+
return /* @__PURE__ */ r(he.Root, {
|
|
1436
|
+
open: f,
|
|
1437
|
+
onOpenChange: (E, P) => {
|
|
1438
|
+
const H = P.reason === "outside-press" || P.reason === "focus-out";
|
|
1439
|
+
if (H && l.current > 0) {
|
|
1440
|
+
P.cancel();
|
|
1441
|
+
return;
|
|
1442
|
+
}
|
|
1443
|
+
H && Ro(P.event), w(P.reason !== "trigger-hover"), Ce(E);
|
|
1444
|
+
},
|
|
1445
|
+
children: /* @__PURE__ */ h(_e.Provider, {
|
|
1446
|
+
value: {
|
|
1447
|
+
type: u(T) && T.id === L ? T.type : t,
|
|
1448
|
+
rootType: t,
|
|
1449
|
+
open: f,
|
|
1450
|
+
multiple: i,
|
|
1451
|
+
isSubmenu: c,
|
|
1452
|
+
parentType: d?.type,
|
|
1453
|
+
activeItemId: k,
|
|
1454
|
+
parentActiveItemId: d?.activeItemId,
|
|
1455
|
+
setActiveItemId: A,
|
|
1456
|
+
setParentActiveItemId: d?.setActiveItemId,
|
|
1457
|
+
pageId: L,
|
|
1458
|
+
pageFocusRequest: I,
|
|
1459
|
+
setPageFocusRequest: y,
|
|
1460
|
+
canGoBack: b.length > 1,
|
|
1461
|
+
initialFocusEdge: G,
|
|
1462
|
+
setInitialFocusEdge: B,
|
|
1463
|
+
focusOnOpen: K,
|
|
1464
|
+
setFocusOnOpen: w,
|
|
1465
|
+
setOpen: Ce,
|
|
1466
|
+
closeTree: St,
|
|
1467
|
+
goToPage: Tt,
|
|
1468
|
+
goBack: xt,
|
|
1469
|
+
registerPage: At,
|
|
1470
|
+
registerOpenNestedRoot: m,
|
|
1471
|
+
searchTargetId: kt,
|
|
1472
|
+
setSearchTargetId: Ue
|
|
1473
|
+
},
|
|
1474
|
+
children: [/* @__PURE__ */ r(Mo, {
|
|
1475
|
+
open: f,
|
|
1476
|
+
registerOpenNestedRoot: c ? void 0 : d?.registerOpenNestedRoot
|
|
1477
|
+
}), e]
|
|
1478
|
+
})
|
|
1479
|
+
});
|
|
1480
|
+
}, Po = ({ onValueChange: e, className: t, ...a }) => {
|
|
1481
|
+
const { searchTargetId: n } = $();
|
|
1482
|
+
return /* @__PURE__ */ r("div", {
|
|
1483
|
+
className: z.searchContainer,
|
|
1484
|
+
children: /* @__PURE__ */ r(Zt, {
|
|
1485
|
+
type: "search",
|
|
1486
|
+
autoComplete: "off",
|
|
1487
|
+
"aria-activedescendant": n,
|
|
1488
|
+
...a,
|
|
1489
|
+
"data-dropdown-search": "",
|
|
1490
|
+
className: V(z.search, t),
|
|
1491
|
+
onValueChange: (o) => e?.(o)
|
|
1492
|
+
})
|
|
1493
|
+
});
|
|
1494
|
+
}, zo = ({ label: e, scrollable: t, className: a, children: n, ...o }) => /* @__PURE__ */ h(sr, {
|
|
1495
|
+
...o,
|
|
1496
|
+
"data-scrollable": t || void 0,
|
|
1497
|
+
className: v(z.section, a),
|
|
1498
|
+
children: [u(e) && /* @__PURE__ */ r(ir, { children: e }), n]
|
|
1499
|
+
}), Oo = ({ className: e, ...t }) => /* @__PURE__ */ r(cr, {
|
|
1500
|
+
...t,
|
|
1501
|
+
role: "separator",
|
|
1502
|
+
"data-dropdown-separator": "",
|
|
1503
|
+
className: v(z.separator, e)
|
|
1504
|
+
}), $o = ({ type: e = "menu", ...t }) => /* @__PURE__ */ r(Nt, {
|
|
1505
|
+
...t,
|
|
1506
|
+
type: e,
|
|
1507
|
+
isSubmenu: !0
|
|
1508
|
+
}), qo = ({ color: e, startIcon: t, endIcon: a, description: n, descriptionPlacement: o, hotkeys: i, hasSubmenu: s = !0, children: c, render: d, disabled: l = !1, nativeButton: m = !u(d), openOnHover: _ = !0, onKeyDown: p, onFocus: f, id: g, ...S }) => {
|
|
1509
|
+
const { type: b, parentType: C, open: T, setOpen: N, setFocusOnOpen: k } = $(), A = re(), L = g ?? A, I = Ke({
|
|
1510
|
+
id: L,
|
|
1511
|
+
isSubmenuTrigger: !0
|
|
1512
|
+
});
|
|
1513
|
+
return /* @__PURE__ */ r(he.Trigger, {
|
|
1514
|
+
...S,
|
|
1515
|
+
id: L,
|
|
1516
|
+
disabled: l,
|
|
1517
|
+
nativeButton: m,
|
|
1518
|
+
openOnHover: _,
|
|
1519
|
+
role: C === "menu" ? "menuitem" : void 0,
|
|
1520
|
+
"aria-haspopup": b === "menu" ? "menu" : "dialog",
|
|
1521
|
+
tabIndex: I.tabIndex,
|
|
1522
|
+
onFocus: (y) => {
|
|
1523
|
+
I.activate(), f?.(y);
|
|
1524
|
+
},
|
|
1525
|
+
"data-dropdown-item": "",
|
|
1526
|
+
onKeyDown: (y) => {
|
|
1527
|
+
if (p?.(y), y.defaultPrevented || l) return;
|
|
1528
|
+
const G = getComputedStyle(y.currentTarget).direction === "rtl" ? "ArrowLeft" : "ArrowRight";
|
|
1529
|
+
if (y.key === G) {
|
|
1530
|
+
y.preventDefault(), y.stopPropagation(), k(!0);
|
|
1531
|
+
const B = y.currentTarget.getAttribute("aria-controls"), K = u(B) ? y.currentTarget.ownerDocument.getElementById(B) : null;
|
|
1532
|
+
if (T && u(K)) {
|
|
1533
|
+
He({
|
|
1534
|
+
content: K,
|
|
1535
|
+
type: b
|
|
1536
|
+
}).focus();
|
|
1537
|
+
return;
|
|
1538
|
+
}
|
|
1539
|
+
N(!0);
|
|
1540
|
+
}
|
|
1541
|
+
},
|
|
1542
|
+
render: (y) => /* @__PURE__ */ r(pe, {
|
|
1543
|
+
...y,
|
|
1544
|
+
render: d ?? /* @__PURE__ */ r("button", { type: "button" }),
|
|
1545
|
+
disabled: l,
|
|
1546
|
+
color: e,
|
|
1547
|
+
startIcon: t,
|
|
1548
|
+
endIcon: a,
|
|
1549
|
+
description: n,
|
|
1550
|
+
descriptionPlacement: o,
|
|
1551
|
+
hotkeys: i,
|
|
1552
|
+
hasSubmenu: s,
|
|
1553
|
+
children: c
|
|
1554
|
+
})
|
|
1555
|
+
});
|
|
1556
|
+
}, Fo = ({ className: e, render: t, ...a }) => /* @__PURE__ */ r(_t.Title, {
|
|
1557
|
+
...a,
|
|
1558
|
+
render: t ?? /* @__PURE__ */ r("div", {}),
|
|
1559
|
+
className: V(z.title, e)
|
|
1560
|
+
}), jo = ({ onKeyDown: e, onClick: t, ...a }) => {
|
|
1561
|
+
const { type: n, setOpen: o, setInitialFocusEdge: i, setFocusOnOpen: s } = $();
|
|
1562
|
+
return /* @__PURE__ */ r(he.Trigger, {
|
|
1563
|
+
...a,
|
|
1564
|
+
"aria-haspopup": n === "menu" ? "menu" : "dialog",
|
|
1565
|
+
onClick: (c) => {
|
|
1566
|
+
c.stopPropagation(), c.preventDefault(), t?.(c);
|
|
1567
|
+
},
|
|
1568
|
+
onKeyDown: (c) => {
|
|
1569
|
+
e?.(c), !(c.defaultPrevented || a.disabled || n === "panel") && (c.key !== "ArrowDown" && c.key !== "ArrowUp" || (c.preventDefault(), s(!0), i(c.key === "ArrowUp" ? "last" : "first"), o(!0)));
|
|
1570
|
+
}
|
|
1571
|
+
});
|
|
1572
|
+
}, Wo = Nt, Ts = {
|
|
1573
|
+
Root: Wo,
|
|
1574
|
+
Trigger: jo,
|
|
1575
|
+
Content: To,
|
|
1576
|
+
ActionItem: It,
|
|
1577
|
+
OptionItem: Do,
|
|
1578
|
+
Search: Po,
|
|
1579
|
+
Header: Ao,
|
|
1580
|
+
Title: Fo,
|
|
1581
|
+
Close: bo,
|
|
1582
|
+
Page: Bo,
|
|
1583
|
+
Back: go,
|
|
1584
|
+
Submenu: $o,
|
|
1585
|
+
SubmenuTrigger: qo,
|
|
1586
|
+
Section: zo,
|
|
1587
|
+
Separator: Oo,
|
|
1588
|
+
Loading: Lo,
|
|
1589
|
+
Empty: xo
|
|
1590
|
+
}, xs = {
|
|
1591
|
+
gray: "Gray",
|
|
1592
|
+
tomato: "Tomato",
|
|
1593
|
+
red: "Red",
|
|
1594
|
+
ruby: "Ruby",
|
|
1595
|
+
crimson: "Crimson",
|
|
1596
|
+
pink: "Pink",
|
|
1597
|
+
plum: "Plum",
|
|
1598
|
+
purple: "Purple",
|
|
1599
|
+
violet: "Violet",
|
|
1600
|
+
iris: "Iris",
|
|
1601
|
+
cyan: "Cyan",
|
|
1602
|
+
turquoise: "Turquoise",
|
|
1603
|
+
sky: "Sky",
|
|
1604
|
+
blue: "Blue",
|
|
1605
|
+
jade: "Jade",
|
|
1606
|
+
green: "Green",
|
|
1607
|
+
grass: "Grass",
|
|
1608
|
+
mint: "Mint",
|
|
1609
|
+
lime: "Lime",
|
|
1610
|
+
bronze: "Bronze",
|
|
1611
|
+
gold: "Gold",
|
|
1612
|
+
brown: "Brown",
|
|
1613
|
+
orange: "Orange",
|
|
1614
|
+
amber: "Amber",
|
|
1615
|
+
yellow: "Yellow"
|
|
1616
|
+
}, Ko = "_iconContainer_1ivx0_1", Ho = "_withBackground_1ivx0_9", ot = {
|
|
1617
|
+
iconContainer: Ko,
|
|
1618
|
+
withBackground: Ho
|
|
1619
|
+
}, Je = ({ children: e, className: t, hasBackground: a = !0 }) => /* @__PURE__ */ r("div", {
|
|
1620
|
+
className: v(ot.iconContainer, a && ot.withBackground, t),
|
|
1621
|
+
children: e
|
|
1622
|
+
}), Jo = ({ Icon: e, iconThemeColor: t, withContainer: a = !1, withContainerBackground: n = !0 }) => {
|
|
1623
|
+
const o = M();
|
|
1624
|
+
if (!e) return null;
|
|
1625
|
+
if (u(t)) return /* @__PURE__ */ r(ft, {
|
|
1626
|
+
Icon: e,
|
|
1627
|
+
color: t,
|
|
1628
|
+
size: o.icon.size.md,
|
|
1629
|
+
stroke: o.icon.stroke.sm
|
|
1630
|
+
});
|
|
1631
|
+
const i = /* @__PURE__ */ r(e, {
|
|
1632
|
+
size: o.icon.size.md,
|
|
1633
|
+
stroke: o.icon.stroke.sm
|
|
1634
|
+
});
|
|
1635
|
+
return a ? /* @__PURE__ */ r(Je, {
|
|
1636
|
+
hasBackground: n,
|
|
1637
|
+
children: i
|
|
1638
|
+
}) : i;
|
|
1639
|
+
}, Vo = "_iconSwapContainer_g9ywp_1", Go = "_defaultIcon_g9ywp_8", Uo = "_hoverIcon_g9ywp_13", De = {
|
|
1640
|
+
iconSwapContainer: Vo,
|
|
1641
|
+
defaultIcon: Go,
|
|
1642
|
+
hoverIcon: Uo
|
|
1643
|
+
}, Yo = ({ LeftIcon: e, iconThemeColor: t, withIconContainer: a = !1, gripIconColor: n }) => {
|
|
1644
|
+
const o = M();
|
|
1645
|
+
if (!e) return null;
|
|
1646
|
+
const i = /* @__PURE__ */ h("div", {
|
|
1647
|
+
className: De.iconSwapContainer,
|
|
1648
|
+
children: [/* @__PURE__ */ r("div", {
|
|
1649
|
+
className: v(De.defaultIcon, "grip-swap-default-icon"),
|
|
1650
|
+
children: u(t) ? /* @__PURE__ */ r(ft, {
|
|
1651
|
+
Icon: e,
|
|
1652
|
+
color: t,
|
|
1653
|
+
size: o.icon.size.md,
|
|
1654
|
+
stroke: o.icon.stroke.sm
|
|
1655
|
+
}) : /* @__PURE__ */ r(e, {
|
|
1656
|
+
size: o.icon.size.md,
|
|
1657
|
+
stroke: o.icon.stroke.sm
|
|
1658
|
+
})
|
|
1659
|
+
}), /* @__PURE__ */ r("div", {
|
|
1660
|
+
className: v(De.hoverIcon, "grip-swap-hover-icon"),
|
|
1661
|
+
children: /* @__PURE__ */ r(Me, {
|
|
1662
|
+
size: o.icon.size.md,
|
|
1663
|
+
stroke: o.icon.stroke.sm,
|
|
1664
|
+
color: n
|
|
1665
|
+
})
|
|
1666
|
+
})]
|
|
1667
|
+
});
|
|
1668
|
+
return a && !u(t) ? /* @__PURE__ */ r(Je, { children: i }) : i;
|
|
1669
|
+
}, Xo = "_menuItemBase_1jkew_1", Qo = "_hoverableMenuItemBase_1jkew_54", Zo = "_menuItemLabel_1jkew_136", ei = "_menuItemLabelLight_1jkew_145", ti = "_noIconFiller_1jkew_155", ri = "_menuItemLeftContent_1jkew_159", ai = "_menuItemRightContent_1jkew_172", ni = "_draggableItem_1jkew_183", oi = "_menuItemIconCheckContainer_1jkew_189", ii = "_menuItemContextualText_1jkew_196", si = "_rightMenuItemContextualText_1jkew_206", W = {
|
|
1670
|
+
menuItemBase: Xo,
|
|
1671
|
+
hoverableMenuItemBase: Qo,
|
|
1672
|
+
menuItemLabel: Zo,
|
|
1673
|
+
menuItemLabelLight: ei,
|
|
1674
|
+
noIconFiller: ti,
|
|
1675
|
+
menuItemLeftContent: ri,
|
|
1676
|
+
menuItemRightContent: ai,
|
|
1677
|
+
draggableItem: ni,
|
|
1678
|
+
menuItemIconCheckContainer: oi,
|
|
1679
|
+
menuItemContextualText: ii,
|
|
1680
|
+
rightMenuItemContextualText: si
|
|
1681
|
+
}, ci = qe(({ accent: e, isKeySelected: t, isHoverBackgroundDisabled: a, hovered: n, disabled: o, focused: i, className: s, children: c, ...d }, l) => /* @__PURE__ */ r("div", {
|
|
1682
|
+
ref: l,
|
|
1683
|
+
className: v(W.menuItemBase, s),
|
|
1684
|
+
"data-accent": e,
|
|
1685
|
+
"data-key-selected": t || void 0,
|
|
1686
|
+
"data-hover-background-disabled": a || void 0,
|
|
1687
|
+
"data-disabled": o || void 0,
|
|
1688
|
+
"data-focused": i || void 0,
|
|
1689
|
+
...d,
|
|
1690
|
+
children: c
|
|
1691
|
+
}));
|
|
1692
|
+
ci.displayName = "StyledMenuItemBase";
|
|
1693
|
+
var X = (e, t) => {
|
|
1694
|
+
const a = qe(({ className: n, children: o, ...i }, s) => /* @__PURE__ */ r("div", {
|
|
1695
|
+
ref: s,
|
|
1696
|
+
className: v(e, n),
|
|
1697
|
+
...i,
|
|
1698
|
+
children: o
|
|
1699
|
+
}));
|
|
1700
|
+
return a.displayName = t, a;
|
|
1701
|
+
}, li = X(W.menuItemLabel, "StyledMenuItemLabel"), As = X(W.menuItemLabelLight, "StyledMenuItemLabelLight"), Ls = X(W.noIconFiller, "StyledNoIconFiller"), wt = X(W.menuItemLeftContent, "StyledMenuItemLeftContent"), Pe = X(W.menuItemRightContent, "StyledMenuItemRightContent"), it = X(W.draggableItem, "StyledDraggableItem"), Ve = qe(({ accent: e, isKeySelected: t, isHoverBackgroundDisabled: a, hovered: n, disabled: o, focused: i, isIconDisplayedOnHoverOnly: s, cursor: c, className: d, children: l, ...m }, _) => /* @__PURE__ */ r("div", {
|
|
1702
|
+
ref: _,
|
|
1703
|
+
className: v(W.hoverableMenuItemBase, d),
|
|
1704
|
+
"data-accent": e,
|
|
1705
|
+
"data-key-selected": t || void 0,
|
|
1706
|
+
"data-hover-background-disabled": a || void 0,
|
|
1707
|
+
"data-disabled": o || void 0,
|
|
1708
|
+
"data-focused": i || void 0,
|
|
1709
|
+
"data-icon-displayed-on-hover-only": s || void 0,
|
|
1710
|
+
"data-cursor": c,
|
|
1711
|
+
...m,
|
|
1712
|
+
children: l
|
|
1713
|
+
}));
|
|
1714
|
+
Ve.displayName = "StyledHoverableMenuItemBase";
|
|
1715
|
+
var di = X(W.menuItemContextualText, "StyledMenuItemContextualText"), ui = X(W.rightMenuItemContextualText, "StyledRightMenuItemContextualText"), mi = "_mainText_d0zu3_1", _i = "_menuItemLabelRight_d0zu3_9", st = {
|
|
1716
|
+
mainText: mi,
|
|
1717
|
+
menuItemLabelRight: _i
|
|
1718
|
+
}, Ge = ({ className: e, LeftComponent: t, LeftIcon: a, iconThemeColor: n, withIconContainer: o = !1, withIconContainerBackground: i = !0, text: s, contextualText: c, contextualTextPosition: d = "left", gripMode: l = "never", disabled: m = !1 }) => {
|
|
1719
|
+
const _ = M(), p = o ? J.font.color.tertiary : m ? J.font.color.extraLight : J.font.color.light;
|
|
1720
|
+
return /* @__PURE__ */ h(wt, {
|
|
1721
|
+
className: e,
|
|
1722
|
+
children: [
|
|
1723
|
+
l === "always" && (o ? /* @__PURE__ */ r(Je, {
|
|
1724
|
+
hasBackground: i,
|
|
1725
|
+
children: /* @__PURE__ */ r(it, { children: /* @__PURE__ */ r(Me, {
|
|
1726
|
+
size: _.icon.size.md,
|
|
1727
|
+
stroke: _.icon.stroke.sm,
|
|
1728
|
+
color: p
|
|
1729
|
+
}) })
|
|
1730
|
+
}) : /* @__PURE__ */ r(it, { children: /* @__PURE__ */ r(Me, {
|
|
1731
|
+
size: _.icon.size.md,
|
|
1732
|
+
stroke: _.icon.stroke.sm,
|
|
1733
|
+
color: p
|
|
1734
|
+
}) })),
|
|
1735
|
+
l === "onHover" ? /* @__PURE__ */ r(Yo, {
|
|
1736
|
+
LeftIcon: a,
|
|
1737
|
+
iconThemeColor: n,
|
|
1738
|
+
withIconContainer: o,
|
|
1739
|
+
gripIconColor: p
|
|
1740
|
+
}) : /* @__PURE__ */ r(Jo, {
|
|
1741
|
+
Icon: a,
|
|
1742
|
+
iconThemeColor: n,
|
|
1743
|
+
withContainer: o,
|
|
1744
|
+
withContainerBackground: i
|
|
1745
|
+
}),
|
|
1746
|
+
t,
|
|
1747
|
+
/* @__PURE__ */ h(li, { children: [te(s) ? /* @__PURE__ */ r("div", {
|
|
1748
|
+
className: st.mainText,
|
|
1749
|
+
children: /* @__PURE__ */ r(se, { text: s })
|
|
1750
|
+
}) : s, d === "left" && /* @__PURE__ */ r(O, { children: te(c) ? j(c) && /* @__PURE__ */ r(di, { children: /* @__PURE__ */ r(se, {
|
|
1751
|
+
text: `· ${c}`,
|
|
1752
|
+
tooltipContent: c
|
|
1753
|
+
}) }) : c })] }),
|
|
1754
|
+
d === "right" && /* @__PURE__ */ r("div", {
|
|
1755
|
+
className: st.menuItemLabelRight,
|
|
1756
|
+
children: /* @__PURE__ */ r(ui, { children: te(c) ? /* @__PURE__ */ r(se, { text: c }) : c })
|
|
1757
|
+
})
|
|
1758
|
+
]
|
|
1759
|
+
});
|
|
1760
|
+
}, vi = "_subMenuIcon_j232v_1", pi = "_subMenuIconOpened_j232v_9", ct = {
|
|
1761
|
+
subMenuIcon: vi,
|
|
1762
|
+
subMenuIconOpened: pi
|
|
1763
|
+
}, hi = ({ accent: e = "default", className: t, withIconContainer: a = !1, withIconContainerBackground: n = !0, iconButtons: o, isIconDisplayedOnHoverOnly: i = !0, LeftIcon: s, iconThemeColor: c, LeftComponent: d, RightIcon: l, RightComponent: m, onClick: _, onMouseEnter: p, onMouseLeave: f, testId: g, text: S, contextualTextPosition: b = "left", contextualText: C, hasSubMenu: T = !1, disabled: N = !1, focused: k = !1, selected: A = !1, hotKeys: L, isSubMenuOpened: I = !1 }) => {
|
|
1764
|
+
const y = M();
|
|
1765
|
+
return /* @__PURE__ */ h(Ve, {
|
|
1766
|
+
"data-testid": g ?? void 0,
|
|
1767
|
+
onClick: N ? void 0 : (B) => {
|
|
1768
|
+
_ && (B.preventDefault(), B.stopPropagation(), _?.(B));
|
|
1769
|
+
},
|
|
1770
|
+
disabled: N,
|
|
1771
|
+
className: t,
|
|
1772
|
+
accent: e,
|
|
1773
|
+
isIconDisplayedOnHoverOnly: i,
|
|
1774
|
+
onMouseEnter: p,
|
|
1775
|
+
onMouseLeave: f,
|
|
1776
|
+
focused: k || A,
|
|
1777
|
+
children: [/* @__PURE__ */ r(Ge, {
|
|
1778
|
+
LeftIcon: s ?? void 0,
|
|
1779
|
+
iconThemeColor: c,
|
|
1780
|
+
LeftComponent: d,
|
|
1781
|
+
withIconContainer: a,
|
|
1782
|
+
withIconContainerBackground: n,
|
|
1783
|
+
text: S,
|
|
1784
|
+
contextualText: C,
|
|
1785
|
+
contextualTextPosition: b,
|
|
1786
|
+
disabled: N
|
|
1787
|
+
}), /* @__PURE__ */ h(Pe, { children: [
|
|
1788
|
+
o && /* @__PURE__ */ r(Pe, {
|
|
1789
|
+
className: "hoverable-buttons",
|
|
1790
|
+
children: o
|
|
1791
|
+
}),
|
|
1792
|
+
L && /* @__PURE__ */ r(nr, { hotKeys: L }),
|
|
1793
|
+
l && /* @__PURE__ */ r(l, {
|
|
1794
|
+
size: y.icon.size.md,
|
|
1795
|
+
stroke: y.icon.stroke.sm
|
|
1796
|
+
}),
|
|
1797
|
+
m,
|
|
1798
|
+
T && /* @__PURE__ */ r("div", {
|
|
1799
|
+
className: v(ct.subMenuIcon, I && ct.subMenuIconOpened),
|
|
1800
|
+
style: { visibility: N ? "hidden" : "visible" },
|
|
1801
|
+
children: /* @__PURE__ */ r(Bt, {
|
|
1802
|
+
size: y.icon.size.sm,
|
|
1803
|
+
color: y.font.color.light
|
|
1804
|
+
})
|
|
1805
|
+
})
|
|
1806
|
+
] })]
|
|
1807
|
+
});
|
|
1808
|
+
}, Ds = ({ accent: e = "default", className: t, iconButtons: a, isIconDisplayedOnHoverOnly: n = !0, isTooltipOpen: o, onClick: i, onMouseEnter: s, onMouseLeave: c, testId: d, avatar: l, hasSubMenu: m = !1, text: _, contextualText: p }) => /* @__PURE__ */ r(hi, {
|
|
1809
|
+
accent: e,
|
|
1810
|
+
className: t,
|
|
1811
|
+
iconButtons: a,
|
|
1812
|
+
isIconDisplayedOnHoverOnly: n,
|
|
1813
|
+
isTooltipOpen: o,
|
|
1814
|
+
LeftComponent: u(l) ? /* @__PURE__ */ r(lr, {
|
|
1815
|
+
name: l.name,
|
|
1816
|
+
src: l.src,
|
|
1817
|
+
colorSeed: l.colorSeed,
|
|
1818
|
+
size: l.size,
|
|
1819
|
+
shape: l.shape
|
|
1820
|
+
}) : void 0,
|
|
1821
|
+
onClick: i,
|
|
1822
|
+
onMouseEnter: s,
|
|
1823
|
+
onMouseLeave: c,
|
|
1824
|
+
testId: d,
|
|
1825
|
+
text: _,
|
|
1826
|
+
contextualText: p,
|
|
1827
|
+
hasSubMenu: m
|
|
1828
|
+
}), Bs = ({ LeftIcon: e, withIconContainer: t = !1, accent: a = "default", iconButtons: n, onClick: o, text: i, contextualText: s, isDragDisabled: c = !1, className: d, isIconDisplayedOnHoverOnly: l = !0, gripMode: m = "never" }) => /* @__PURE__ */ h(Ve, {
|
|
1829
|
+
onClick: o,
|
|
1830
|
+
accent: a,
|
|
1831
|
+
className: d,
|
|
1832
|
+
isIconDisplayedOnHoverOnly: l,
|
|
1833
|
+
cursor: m !== "never" ? c ? "default" : "drag" : "default",
|
|
1834
|
+
children: [/* @__PURE__ */ r(Ge, {
|
|
1835
|
+
LeftIcon: e,
|
|
1836
|
+
text: i,
|
|
1837
|
+
contextualText: s,
|
|
1838
|
+
withIconContainer: t,
|
|
1839
|
+
disabled: c,
|
|
1840
|
+
gripMode: m
|
|
1841
|
+
}), n && /* @__PURE__ */ r(Pe, {
|
|
1842
|
+
className: "hoverable-buttons",
|
|
1843
|
+
children: n
|
|
1844
|
+
})]
|
|
1845
|
+
}), fi = "_suggestionMenuItem_1qyjt_1", gi = { suggestionMenuItem: fi }, Ms = ({ LeftIcon: e, withIconContainer: t = !1, text: a, contextualText: n = void 0, contextualTextPosition: o = "left", className: i, selected: s, onClick: c }) => {
|
|
1846
|
+
const d = (l) => {
|
|
1847
|
+
c && (l.preventDefault(), l.stopPropagation(), c?.(l));
|
|
1848
|
+
};
|
|
1849
|
+
return /* @__PURE__ */ r("li", {
|
|
1850
|
+
className: v(gi.suggestionMenuItem, i),
|
|
1851
|
+
"data-selected": s || void 0,
|
|
1852
|
+
role: u(c) ? "button" : void 0,
|
|
1853
|
+
tabIndex: u(c) ? 0 : void 0,
|
|
1854
|
+
onClick: d,
|
|
1855
|
+
onKeyDown: ve,
|
|
1856
|
+
children: /* @__PURE__ */ r(wt, { children: /* @__PURE__ */ r(Ge, {
|
|
1857
|
+
LeftIcon: e ?? void 0,
|
|
1858
|
+
text: a,
|
|
1859
|
+
contextualText: n,
|
|
1860
|
+
contextualTextPosition: o,
|
|
1861
|
+
withIconContainer: t
|
|
1862
|
+
}) })
|
|
1863
|
+
});
|
|
1864
|
+
}, bi = "_menuPicker_o8ra4_1", Ci = "_iconContainer_o8ra4_41", Ii = "_label_o8ra4_50", Be = {
|
|
1865
|
+
menuPicker: bi,
|
|
1866
|
+
iconContainer: Ci,
|
|
1867
|
+
label: Ii
|
|
1868
|
+
}, Es = ({ id: e, icon: t, label: a, selected: n = !1, disabled: o = !1, showLabel: i = !0, onClick: s, className: c, testId: d, tooltipContent: l, tooltipDelay: m = 0, tooltipOffset: _ = 5 }) => {
|
|
1869
|
+
const p = M();
|
|
1870
|
+
return /* @__PURE__ */ r(ut, {
|
|
1871
|
+
content: l,
|
|
1872
|
+
disabled: !j(l),
|
|
1873
|
+
sideOffset: _,
|
|
1874
|
+
side: "bottom",
|
|
1875
|
+
positionMethod: "fixed",
|
|
1876
|
+
delay: m,
|
|
1877
|
+
children: /* @__PURE__ */ h("button", {
|
|
1878
|
+
id: e,
|
|
1879
|
+
disabled: o,
|
|
1880
|
+
onClick: s,
|
|
1881
|
+
className: v(Be.menuPicker, c),
|
|
1882
|
+
"data-testid": d,
|
|
1883
|
+
"data-selected": n ? "" : void 0,
|
|
1884
|
+
"aria-pressed": n,
|
|
1885
|
+
"aria-disabled": o,
|
|
1886
|
+
"aria-label": a,
|
|
1887
|
+
children: [/* @__PURE__ */ r("div", {
|
|
1888
|
+
className: Be.iconContainer,
|
|
1889
|
+
children: /* @__PURE__ */ r(t, {
|
|
1890
|
+
size: p.icon.size.md,
|
|
1891
|
+
stroke: p.icon.stroke.sm
|
|
1892
|
+
})
|
|
1893
|
+
}), u(a) && i && /* @__PURE__ */ r("div", {
|
|
1894
|
+
className: Be.label,
|
|
1895
|
+
"data-selected": n ? "" : void 0,
|
|
1896
|
+
"data-disabled": o ? "" : void 0,
|
|
1897
|
+
children: a
|
|
1898
|
+
})]
|
|
1899
|
+
})
|
|
1900
|
+
});
|
|
1901
|
+
}, yi = "_iconButton_19i33_1", Ni = { iconButton: yi }, wi = ({ Icon: e, isActive: t, onClick: a, ariaLabel: n }) => {
|
|
1902
|
+
const o = M();
|
|
1903
|
+
return /* @__PURE__ */ r("button", {
|
|
1904
|
+
type: "button",
|
|
1905
|
+
className: Ni.iconButton,
|
|
1906
|
+
"data-active": t ? "" : void 0,
|
|
1907
|
+
"aria-label": n,
|
|
1908
|
+
"aria-pressed": t,
|
|
1909
|
+
onClick: a,
|
|
1910
|
+
children: /* @__PURE__ */ r(e, {
|
|
1911
|
+
color: J.grayScale.gray10,
|
|
1912
|
+
size: o.icon.size.lg,
|
|
1913
|
+
"aria-hidden": !0
|
|
1914
|
+
})
|
|
1915
|
+
});
|
|
1916
|
+
}, ki = "_container_vsk1i_1", Si = { container: ki }, Rs = ({ activeItemName: e, isHidden: t = !1, items: a }) => /* @__PURE__ */ r("nav", {
|
|
1917
|
+
className: Si.container,
|
|
1918
|
+
"data-hidden": t ? "" : void 0,
|
|
1919
|
+
"aria-hidden": t,
|
|
1920
|
+
children: a.map(({ Icon: n, name: o, label: i, onClick: s }) => /* @__PURE__ */ r(wi, {
|
|
1921
|
+
Icon: n,
|
|
1922
|
+
isActive: e === o,
|
|
1923
|
+
onClick: s,
|
|
1924
|
+
ariaLabel: i
|
|
1925
|
+
}, o))
|
|
1926
|
+
}), Ti = "_root_os1x1_1", xi = { root: Ti }, Ps = ({ label: e, href: t, onClick: a, className: n }) => {
|
|
1927
|
+
if (!j(e)) return /* @__PURE__ */ r(O, {});
|
|
1928
|
+
const o = (i) => {
|
|
1929
|
+
i.stopPropagation(), a?.(i);
|
|
1930
|
+
};
|
|
1931
|
+
return /* @__PURE__ */ r("a", {
|
|
1932
|
+
href: Ut(t),
|
|
1933
|
+
target: "_blank",
|
|
1934
|
+
rel: "noreferrer",
|
|
1935
|
+
onClick: o,
|
|
1936
|
+
className: v(xi.root, n),
|
|
1937
|
+
children: e
|
|
1938
|
+
});
|
|
1939
|
+
}, Ai = "_button_quwcq_1", Li = { button: Ai }, zs = ({ active: e = !1, className: t, children: a, startIcon: n, endIcon: o, badge: i, size: s = "sm", ...c }) => /* @__PURE__ */ r(R, {
|
|
1940
|
+
...c,
|
|
1941
|
+
variant: "ghost",
|
|
1942
|
+
size: s,
|
|
1943
|
+
"data-active": e || void 0,
|
|
1944
|
+
className: V(v(dr.tab, Li.button), t),
|
|
1945
|
+
children: /* @__PURE__ */ r(ur, {
|
|
1946
|
+
startIcon: n,
|
|
1947
|
+
endIcon: o,
|
|
1948
|
+
badge: i,
|
|
1949
|
+
children: a
|
|
1950
|
+
})
|
|
1951
|
+
});
|
|
1952
|
+
export {
|
|
1953
|
+
ue as A,
|
|
1954
|
+
us as B,
|
|
1955
|
+
fs as C,
|
|
1956
|
+
hs as D,
|
|
1957
|
+
Ya as E,
|
|
1958
|
+
vs as F,
|
|
1959
|
+
ls as H,
|
|
1960
|
+
_s as I,
|
|
1961
|
+
ms as L,
|
|
1962
|
+
ge as M,
|
|
1963
|
+
gt as N,
|
|
1964
|
+
Ua as O,
|
|
1965
|
+
ps as P,
|
|
1966
|
+
ft as R,
|
|
1967
|
+
et as S,
|
|
1968
|
+
Xa as T,
|
|
1969
|
+
cs as U,
|
|
1970
|
+
ds as V,
|
|
1971
|
+
Is as _,
|
|
1972
|
+
Ms as a,
|
|
1973
|
+
bs as b,
|
|
1974
|
+
hi as c,
|
|
1975
|
+
Ss as d,
|
|
1976
|
+
ks as f,
|
|
1977
|
+
$n as g,
|
|
1978
|
+
ys as h,
|
|
1979
|
+
Es as i,
|
|
1980
|
+
bt as j,
|
|
1981
|
+
Ct as k,
|
|
1982
|
+
xs as l,
|
|
1983
|
+
Ns as m,
|
|
1984
|
+
Ps as n,
|
|
1985
|
+
Bs as o,
|
|
1986
|
+
ws as p,
|
|
1987
|
+
Rs as r,
|
|
1988
|
+
Ds as s,
|
|
1989
|
+
zs as t,
|
|
1990
|
+
Ts as u,
|
|
1991
|
+
En as v,
|
|
1992
|
+
dn as w,
|
|
1993
|
+
gs as x,
|
|
1994
|
+
Cs as y,
|
|
1995
|
+
ha as z
|
|
1996
|
+
};
|