twenty-ui 2.48.0 → 2.50.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 +18 -0
- package/README.md +27 -2
- package/dist/Button-CU8BS-Yd.js +75 -0
- package/dist/Button-iVyxlrwO.cjs +1 -0
- package/dist/Dropdown-ChTVyesF.js +1018 -0
- package/dist/Dropdown-DlItz8Gh.cjs +1 -0
- package/dist/Heading-CHvEXL6n.cjs +1 -0
- package/dist/{Heading-pXllCJCO.js → Heading-Nj5BlPqB.js} +3 -3
- package/dist/{ListItem-CHTR-GLd.cjs → ListItem-C6Xl00m1.cjs} +1 -1
- package/dist/{ListItem-CjnrSbka.js → ListItem-C84ANa76.js} +2 -2
- package/dist/{OverflowingTextWithTooltip-Z2daM0_x.cjs → OverflowingTextWithTooltip-BQmpPObX.cjs} +1 -1
- package/dist/{OverflowingTextWithTooltip-BmUROIah.js → OverflowingTextWithTooltip-BtB9cGdJ.js} +20 -21
- package/dist/ProgressBar-CzGs7cuE.cjs +1 -0
- package/dist/ProgressBar-D4tKQ7OA.js +84 -0
- package/dist/{Radio-DMI1B7o5.js → Radio-BwBZ4e8g.js} +29 -29
- package/dist/{Radio-xmHgGHQO.cjs → Radio-sIYxZnR_.cjs} +1 -1
- package/dist/ResizeHandle-B1MuHTNA.cjs +1 -0
- package/dist/{ResizeHandle-C1kQ3MYR.js → ResizeHandle-B30OYZxS.js} +56 -55
- package/dist/Shortcut-Bp9iDdQg.js +73 -0
- package/dist/Shortcut-N8TELGPI.cjs +1 -0
- package/dist/TabsTabContent-6rkARU9F.cjs +1 -0
- package/dist/TabsTabContent-DPkLTBi2.js +39 -0
- package/dist/Tooltip-6uS8_wdA.js +132 -0
- package/dist/Tooltip-DL3sfbuw.cjs +1 -0
- package/dist/components/__stories__/reading-direction/DirectionalLayoutExample.d.ts +3 -1
- package/dist/components/code-editor.cjs +1 -1
- package/dist/components/code-editor.mjs +52 -51
- package/dist/components/data-display.cjs +1 -1
- package/dist/components/data-display.mjs +6 -7
- package/dist/components/feedback/InlineBanner/InlineBanner.d.ts +2 -2
- package/dist/components/feedback/InlineBanner/internal/InlineBannerComponent.d.ts +1 -1
- package/dist/components/feedback/InlineBanner/types/InlineBannerProps.d.ts +1 -0
- package/dist/components/feedback.cjs +1 -1
- package/dist/components/feedback.mjs +1 -1
- package/dist/components/input/CountrySelect/CountrySelect.d.ts +5 -2
- package/dist/components/input/CountrySelect/__stories__/CountrySelectPartsExample.d.ts +11 -0
- package/dist/components/input/CountrySelect/internal/CountrySelectComponent.d.ts +2 -0
- package/dist/components/input/CountrySelect/internal/CountrySelectContext.d.ts +2 -0
- package/dist/components/input/CountrySelect/internal/CountrySelectContextValue.d.ts +11 -0
- package/dist/components/input/CountrySelect/internal/CountrySelectDropdown.d.ts +4 -0
- package/dist/components/input/CountrySelect/internal/CountrySelectOptions.d.ts +2 -11
- package/dist/components/input/CountrySelect/internal/CountrySelectOptionsContent.d.ts +2 -0
- package/dist/components/input/CountrySelect/internal/CountrySelectRoot.d.ts +2 -0
- package/dist/components/input/CountrySelect/internal/CountrySelectTrigger.d.ts +2 -0
- package/dist/components/input/CountrySelect/internal/NO_COUNTRY_SELECTION_VALUE.d.ts +1 -0
- package/dist/components/input/CountrySelect/internal/PreparedCountryChoice.d.ts +5 -0
- package/dist/components/input/CountrySelect/internal/getCountrySelectionValue.d.ts +1 -0
- package/dist/components/input/CountrySelect/internal/useCountrySelectContextOrThrow.d.ts +1 -0
- package/dist/components/input/CountrySelect/types/CountryChoice.d.ts +1 -0
- package/dist/components/input/CountrySelect/types/CountrySelectOptionsProps.d.ts +10 -0
- package/dist/components/input/CountrySelect/types/CountrySelectOptionsState.d.ts +4 -0
- package/dist/components/input/CountrySelect/types/CountrySelectProps.d.ts +7 -13
- package/dist/components/input/CountrySelect/types/CountrySelectRootProps.d.ts +12 -0
- package/dist/components/input/CountrySelect/types/CountrySelectTriggerProps.d.ts +6 -0
- package/dist/components/input/CurrencyPicker/CurrencyPicker.d.ts +4 -3
- package/dist/components/input/CurrencyPicker/__stories__/CurrencyPickerChangingDefaultExample.d.ts +5 -0
- package/dist/components/input/CurrencyPicker/__stories__/CurrencyPickerControlledExample.d.ts +5 -0
- package/dist/components/input/CurrencyPicker/__stories__/CurrencyPickerControlledSearchExample.d.ts +5 -0
- package/dist/components/input/CurrencyPicker/__stories__/CurrencyPickerExample.d.ts +3 -4
- package/dist/components/input/CurrencyPicker/__stories__/CurrencyPickerListLabelExample.d.ts +1 -0
- package/dist/components/input/CurrencyPicker/__stories__/CurrencyPickerRootStateExample.d.ts +1 -0
- package/dist/components/input/CurrencyPicker/internal/CurrencyPickerContext.d.ts +11 -0
- package/dist/components/input/CurrencyPicker/internal/CurrencyPickerOptions.d.ts +1 -1
- package/dist/components/input/CurrencyPicker/internal/CurrencyPickerRoot.d.ts +2 -0
- package/dist/components/input/CurrencyPicker/internal/CurrencyPickerShorthand.d.ts +2 -0
- package/dist/components/input/CurrencyPicker/internal/CurrencyPickerTrigger.d.ts +1 -1
- package/dist/components/input/CurrencyPicker/internal/PreparedCurrencyPickerOption.d.ts +7 -0
- package/dist/components/input/CurrencyPicker/internal/getCurrencyPickerSearchText.d.ts +2 -0
- package/dist/components/input/CurrencyPicker/internal/useCurrencyPickerContextOrThrow.d.ts +7 -0
- package/dist/components/input/CurrencyPicker/types/CurrencyPickerChangeEventDetails.d.ts +2 -0
- package/dist/components/input/CurrencyPicker/types/CurrencyPickerOption.d.ts +1 -0
- package/dist/components/input/CurrencyPicker/types/CurrencyPickerOptionsProps.d.ts +6 -5
- package/dist/components/input/CurrencyPicker/types/CurrencyPickerProps.d.ts +10 -0
- package/dist/components/input/CurrencyPicker/types/CurrencyPickerRootProps.d.ts +17 -0
- package/dist/components/input/CurrencyPicker/types/CurrencyPickerState.d.ts +6 -0
- package/dist/components/input/CurrencyPicker/types/CurrencyPickerTriggerProps.d.ts +3 -2
- package/dist/components/input/IconButton/__stories__/IconButtonExample.d.ts +7 -0
- package/dist/components/input/PhoneCountryPicker/PhoneCountryPicker.d.ts +5 -3
- package/dist/components/input/PhoneCountryPicker/__stories__/PhoneCountryPickerExample.d.ts +7 -3
- package/dist/components/input/PhoneCountryPicker/__stories__/testDisabledPhoneCountryPicker.d.ts +5 -0
- package/dist/components/input/PhoneCountryPicker/__stories__/testPhoneCountryCallingCodeDirection.d.ts +3 -0
- package/dist/components/input/PhoneCountryPicker/__stories__/testPhoneCountryNullSelection.d.ts +5 -0
- package/dist/components/input/PhoneCountryPicker/__stories__/testPhoneCountrySelection.d.ts +5 -0
- package/dist/components/input/PhoneCountryPicker/internal/PhoneCountryPickerContext.d.ts +9 -0
- package/dist/components/input/PhoneCountryPicker/internal/PhoneCountryPickerOptions.d.ts +1 -1
- package/dist/components/input/PhoneCountryPicker/internal/PhoneCountryPickerRoot.d.ts +2 -0
- package/dist/components/input/PhoneCountryPicker/internal/PhoneCountryPickerTrigger.d.ts +1 -1
- package/dist/components/input/PhoneCountryPicker/internal/PreparedPhoneCountryOption.d.ts +5 -0
- package/dist/components/input/PhoneCountryPicker/internal/getPhoneCountryOptionTooltipLabel.d.ts +2 -0
- package/dist/components/input/PhoneCountryPicker/internal/matchesPhoneCountrySearch.d.ts +6 -0
- package/dist/components/input/PhoneCountryPicker/internal/usePhoneCountryPickerContextOrThrow.d.ts +7 -0
- package/dist/components/input/PhoneCountryPicker/types/PhoneCountryOption.d.ts +1 -0
- package/dist/components/input/PhoneCountryPicker/types/PhoneCountryPickerOptionsProps.d.ts +4 -5
- package/dist/components/input/PhoneCountryPicker/types/PhoneCountryPickerProps.d.ts +10 -0
- package/dist/components/input/PhoneCountryPicker/types/PhoneCountryPickerRootProps.d.ts +12 -0
- package/dist/components/input/PhoneCountryPicker/types/PhoneCountryPickerTriggerProps.d.ts +1 -3
- package/dist/components/input/SegmentedControl/types/SegmentedControlProps.d.ts +1 -1
- package/dist/components/input/index.d.ts +10 -0
- package/dist/components/input.cjs +1 -1
- package/dist/components/input.mjs +13 -13
- package/dist/components/layout/OverflowingList/internal/measureItemWidths.d.ts +1 -2
- package/dist/components/layout/OverflowingList/internal/measureOverflowingListLayout.d.ts +1 -2
- package/dist/components/layout.cjs +1 -1
- package/dist/components/layout.mjs +1 -1
- package/dist/components/navigation/Dropdown/Dropdown.d.ts +3 -2
- package/dist/components/navigation/Dropdown/__stories__/DropdownIconGridExample.d.ts +3 -0
- package/dist/components/navigation/Dropdown/__stories__/DropdownSelectionGroupsExample.d.ts +1 -0
- package/dist/components/navigation/Dropdown/internal/DropdownContextValue.d.ts +6 -1
- package/dist/components/navigation/Dropdown/internal/DropdownOptionItem.d.ts +1 -1
- package/dist/components/navigation/Dropdown/internal/DropdownOptionItemOwner.d.ts +7 -0
- package/dist/components/navigation/Dropdown/internal/DropdownSearch.d.ts +1 -1
- package/dist/components/navigation/Dropdown/internal/DropdownSearchEffect.d.ts +8 -0
- package/dist/components/navigation/Dropdown/internal/DropdownSelectionContext.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownSelectionContextValue.d.ts +9 -0
- package/dist/components/navigation/Dropdown/internal/DropdownSelectionGroup.d.ts +2 -0
- package/dist/components/navigation/Dropdown/internal/DropdownSelectionGroupEffect.d.ts +11 -0
- package/dist/components/navigation/Dropdown/internal/createDropdownSelectionEventDetails.d.ts +5 -0
- package/dist/components/navigation/Dropdown/internal/dropdownItemActivation.d.ts +11 -0
- package/dist/components/navigation/Dropdown/internal/getDropdownItemExplicitId.d.ts +2 -2
- package/dist/components/navigation/Dropdown/internal/getDropdownOptionItemRole.d.ts +9 -0
- package/dist/components/navigation/Dropdown/internal/getDropdownSelectionGroupState.d.ts +6 -0
- package/dist/components/navigation/Dropdown/internal/getTrailingFocusGuard.d.ts +1 -0
- package/dist/components/navigation/Dropdown/internal/isDropdownOptionItemSelected.d.ts +6 -0
- package/dist/components/navigation/Dropdown/internal/useDropdownSelections.d.ts +12 -0
- package/dist/components/navigation/Dropdown/types/DropdownOptionItemProps.d.ts +7 -2
- package/dist/components/navigation/Dropdown/types/DropdownOptionItemSelectEventDetails.d.ts +2 -0
- package/dist/components/navigation/Dropdown/types/DropdownOptionItemState.d.ts +5 -0
- package/dist/components/navigation/Dropdown/types/DropdownSelectionGroupChangeEventDetails.d.ts +7 -0
- package/dist/components/navigation/Dropdown/types/DropdownSelectionGroupProps.d.ts +21 -0
- package/dist/components/navigation/Dropdown/types/DropdownSelectionGroupState.d.ts +7 -0
- package/dist/components/navigation/index.d.ts +5 -11
- package/dist/components/navigation.cjs +1 -1
- package/dist/components/navigation.mjs +6 -11
- package/dist/components/settings.cjs +1 -1
- package/dist/components/settings.mjs +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.mjs +37 -43
- package/dist/data-display-C-eoJ5En.js +378 -0
- package/dist/data-display-CM1yXpnE.cjs +2 -0
- package/dist/data-display-CXw-mxeS.js +252 -0
- package/dist/data-display-DdES9XqZ.cjs +1 -0
- package/dist/doNotTranslate-BSVT8Xyd.js +4 -0
- package/dist/doNotTranslate-CHE7WmRS.cjs +1 -0
- package/dist/feedback-4HKPcMRs.js +666 -0
- package/dist/feedback-BSOWDBI0.js +38 -0
- package/dist/feedback-DBRXDPSP.cjs +1 -0
- package/dist/feedback-DspXawf9.cjs +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +625 -631
- package/dist/input-CWWp7cqL.cjs +1 -0
- package/dist/input-CvZ_uB_9.cjs +1 -0
- package/dist/input-Qn5_aFYU.js +785 -0
- package/dist/input-k5cMhFI_.js +428 -0
- package/dist/layout-DDqeMgFv.js +439 -0
- package/dist/layout-iSfGrMrH.cjs +1 -0
- package/dist/navigation-7Y6gHFlj.cjs +1 -0
- package/dist/navigation-BY8X2w04.js +132 -0
- package/dist/navigation-BcXCiLE1.js +86 -0
- package/dist/navigation-ByYN6NgX.cjs +1 -0
- package/dist/normalizeSearchText-DLmPiBUZ.js +19 -0
- package/dist/normalizeSearchText-Do0MELpQ.cjs +1 -0
- package/dist/preventDismissingClickActivation-BEBrL9aB.cjs +1 -0
- package/dist/preventDismissingClickActivation-BQFMKRey.js +29 -0
- package/dist/primitives/accessibility.cjs +1 -1
- package/dist/primitives/accessibility.mjs +1 -1
- package/dist/primitives/data-display/Avatar/constants/AvatarPropertiesBySize.d.ts +4 -0
- package/dist/primitives/data-display/Avatar/types/AvatarSize.d.ts +1 -1
- package/dist/primitives/data-display/Badge/types/BadgeColor.d.ts +1 -1
- package/dist/primitives/data-display/Chip/types/ChipVariant.d.ts +1 -1
- package/dist/primitives/data-display.cjs +1 -1
- package/dist/primitives/data-display.mjs +7 -8
- package/dist/primitives/feedback/Banner/Banner.d.ts +1 -1
- package/dist/primitives/feedback/Banner/internal/BannerAction.d.ts +1 -1
- package/dist/primitives/feedback.cjs +1 -1
- package/dist/primitives/feedback.mjs +2 -2
- package/dist/primitives/input/Autocomplete/Autocomplete.d.ts +1 -1
- package/dist/primitives/input/Autocomplete/internal/AutocompleteInput.d.ts +1 -1
- package/dist/primitives/input/Autocomplete/types/AutocompleteInputProps.d.ts +8 -1
- package/dist/primitives/input/Button/types/ButtonColor.d.ts +1 -1
- package/dist/primitives/input/Radio/__stories__/RadioCardContent.d.ts +8 -0
- package/dist/primitives/input/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/primitives/input/RadioGroup/types/RadioGroupProps.d.ts +3 -1
- package/dist/primitives/input.cjs +1 -1
- package/dist/primitives/input.mjs +3 -3
- package/dist/primitives/layout/ResizeHandle/__stories__/ResizableNotesExample.d.ts +2 -0
- package/dist/primitives/layout.cjs +1 -1
- package/dist/primitives/layout.mjs +1 -1
- package/dist/primitives/navigation/Tabs/types/TabsSize.d.ts +1 -1
- package/dist/primitives/navigation.cjs +1 -1
- package/dist/primitives/navigation.mjs +2 -2
- package/dist/primitives/surfaces/Card/Card.d.ts +1 -1
- package/dist/primitives/surfaces/Card/internal/CardRoot.d.ts +1 -1
- package/dist/primitives/surfaces/Card/types/CardRootProps.d.ts +0 -1
- package/dist/primitives/surfaces/Tooltip/Tooltip.d.ts +1 -0
- package/dist/primitives/surfaces/Tooltip/__stories__/findTooltip.d.ts +1 -0
- package/dist/primitives/surfaces/Tooltip/internal/TooltipBody.d.ts +2 -8
- package/dist/primitives/surfaces/Tooltip/types/TooltipBodyProps.d.ts +6 -0
- package/dist/primitives/surfaces/index.d.ts +1 -0
- package/dist/primitives/surfaces.cjs +1 -1
- package/dist/primitives/surfaces.mjs +2 -2
- package/dist/primitives/typography/Heading/types/HeadingProps.d.ts +1 -1
- package/dist/primitives/typography.cjs +1 -1
- package/dist/primitives/typography.mjs +4 -4
- package/dist/primitives.cjs +1 -1
- package/dist/primitives.mjs +46 -47
- package/dist/{settings-BAYsnlZJ.cjs → settings-DT5bEO6A.cjs} +1 -1
- package/dist/{settings-BjEZiHXE.js → settings-XGSJtobU.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/surfaces-q8voTXEJ.cjs +1 -0
- package/dist/{surfaces-BLsR5ka0.js → surfaces-vhSZBmbz.js} +77 -78
- package/dist/testing/GroupedCatalog.d.ts +14 -0
- package/dist/testing/index.d.ts +2 -0
- package/dist/testing/utils/waitForStorybookFontsLoaded.d.ts +1 -0
- package/dist/testing.cjs +1 -1
- package/dist/testing.mjs +102 -62
- package/dist/{typography-fOTFr0jS.js → typography-BPdXzW2T.js} +2 -2
- package/dist/{typography-B5QEuPaL.cjs → typography-CWtuNruY.cjs} +1 -1
- package/dist/useIsMobile-Byp9AIq-.cjs +1 -0
- package/dist/useIsMobile-D1ImfQnE.js +38 -0
- package/dist/utilities/internal/doNotTranslate.d.ts +1 -0
- package/dist/utilities-BKCMZyqZ.js +53 -0
- package/dist/utilities-xZh8D2gd.cjs +1 -0
- package/dist/utilities.cjs +1 -1
- package/dist/utilities.mjs +11 -10
- package/package.json +3 -3
- package/dist/Avatar-CQhIEazb.cjs +0 -1
- package/dist/Avatar-D-QA0RE5.js +0 -72
- package/dist/Button-D5enZ0Qz.js +0 -72
- package/dist/Button-Dbi5P05r.cjs +0 -1
- package/dist/Dropdown-BKjAaZS0.cjs +0 -1
- package/dist/Dropdown-C2hXrjvD.js +0 -820
- package/dist/Heading-CTRYClCO.cjs +0 -1
- package/dist/ProgressBar-BvT1dyFo.js +0 -84
- package/dist/ProgressBar-DfFz0fFB.cjs +0 -1
- package/dist/ResizeHandle-DI4LHIQm.cjs +0 -1
- package/dist/Shortcut-BvWUZ3pb.js +0 -72
- package/dist/Shortcut-CgrdLv_L.cjs +0 -1
- package/dist/TabsTabContent-Co27Y2TU.cjs +0 -1
- package/dist/TabsTabContent-DVcObDp6.js +0 -39
- package/dist/TintedIconTile-4BGa8g8n.js +0 -40
- package/dist/TintedIconTile-CU2hCerq.cjs +0 -1
- package/dist/Tooltip-Bg9Uk01p.cjs +0 -1
- package/dist/Tooltip-cLCgtFBF.js +0 -124
- package/dist/components/navigation/MenuItem/MenuItem.d.ts +0 -2
- package/dist/components/navigation/MenuItem/parts/MenuItemIcon.d.ts +0 -9
- package/dist/components/navigation/MenuItem/parts/MenuItemIconBoxContainer.d.ts +0 -7
- package/dist/components/navigation/MenuItem/parts/MenuItemIconWithGripSwap.d.ts +0 -8
- package/dist/components/navigation/MenuItem/parts/MenuItemLeftContent.d.ts +0 -19
- package/dist/components/navigation/MenuItem/parts/StyledMenuItemBase.d.ts +0 -25
- package/dist/components/navigation/MenuItem/types/MenuItemDraggableGripMode.d.ts +0 -1
- package/dist/components/navigation/MenuItem/types/MenuItemProps.d.ts +0 -33
- package/dist/components/navigation/MenuItemAvatar/MenuItemAvatar.d.ts +0 -2
- package/dist/components/navigation/MenuItemAvatar/types/MenuItemAvatarProps.d.ts +0 -18
- package/dist/components/navigation/MenuItemDraggable/MenuItemDraggable.d.ts +0 -2
- package/dist/components/navigation/MenuItemDraggable/types/MenuItemDraggableProps.d.ts +0 -20
- package/dist/components/navigation/MenuItemSuggestion/MenuItemSuggestion.d.ts +0 -2
- package/dist/components/navigation/MenuItemSuggestion/types/MenuItemSuggestionProps.d.ts +0 -12
- package/dist/components/navigation/MenuPicker/MenuPicker.d.ts +0 -2
- package/dist/components/navigation/MenuPicker/types/MenuPickerProps.d.ts +0 -15
- package/dist/data-display-0QO_WDSs.js +0 -183
- package/dist/data-display-CPmTJAWJ.cjs +0 -1
- package/dist/data-display-DjhAHvj1.cjs +0 -2
- package/dist/data-display-KyZbLLy-.js +0 -344
- package/dist/feedback-CM6fatE8.js +0 -664
- package/dist/feedback-DA-AU5z5.js +0 -38
- package/dist/feedback-DNLERYY9.cjs +0 -1
- package/dist/feedback-ybO4n69s.cjs +0 -1
- package/dist/input-3D2lXywH.cjs +0 -1
- package/dist/input-CJDYNwoO.cjs +0 -1
- package/dist/input-DRpDiMRi.js +0 -421
- package/dist/input-TM3nUdu6.js +0 -554
- package/dist/layout-BszCDxAO.js +0 -441
- package/dist/layout-VaIq7Sjr.cjs +0 -1
- package/dist/navigation-B1SRvzKK.js +0 -403
- package/dist/navigation-CYAs2LnR.js +0 -131
- package/dist/navigation-CthkGHJ8.cjs +0 -1
- package/dist/navigation-DrOV5E67.cjs +0 -1
- package/dist/preventDismissingClickActivation-CzWqpjiX.js +0 -44
- package/dist/preventDismissingClickActivation-DZxTSLV3.cjs +0 -1
- package/dist/surfaces-0rL5DoHt.cjs +0 -1
- package/dist/useIsMobile-DxOPI2_E.cjs +0 -1
- package/dist/useIsMobile-nrufFzMb.js +0 -37
- package/dist/utilities-BeLfNQ0Q.cjs +0 -1
- package/dist/utilities-CEi9I09B.js +0 -52
- /package/dist/{handleClickableElementKeyDown-C8Uz61XJ.js → accessibility-C8Uz61XJ.js} +0 -0
- /package/dist/{handleClickableElementKeyDown-CByqtBhO.cjs → accessibility-CByqtBhO.cjs} +0 -0
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
import { t as m } from "./isDefined-fMi6eQ4r.js";
|
|
2
|
-
import { a as i } from "./theme-B2EaXhye.js";
|
|
3
|
-
import { s as O } from "./utilities-CEi9I09B.js";
|
|
4
|
-
import { t as V } from "./Loader-DtHWQH8w.js";
|
|
5
|
-
import { t as S } from "./OverflowingTextWithTooltip-BmUROIah.js";
|
|
6
|
-
import { useRender as _ } from "@base-ui/react/use-render";
|
|
7
|
-
import { isBoolean as C, isString as j } from "@sniptt/guards";
|
|
8
|
-
import { clsx as g } from "clsx";
|
|
9
|
-
import { Fragment as v, jsx as l, jsxs as x } from "react/jsx-runtime";
|
|
10
|
-
var da = {
|
|
11
|
-
xl: {
|
|
12
|
-
fontSize: "16px",
|
|
13
|
-
width: "40px"
|
|
14
|
-
},
|
|
15
|
-
lg: {
|
|
16
|
-
fontSize: "13px",
|
|
17
|
-
width: "24px"
|
|
18
|
-
},
|
|
19
|
-
md: {
|
|
20
|
-
fontSize: "12px",
|
|
21
|
-
width: "16px"
|
|
22
|
-
},
|
|
23
|
-
sm: {
|
|
24
|
-
fontSize: "10px",
|
|
25
|
-
width: "14px"
|
|
26
|
-
},
|
|
27
|
-
xs: {
|
|
28
|
-
fontSize: "8px",
|
|
29
|
-
width: "12px"
|
|
30
|
-
}
|
|
31
|
-
}, Y = "_badge_1q6rc_1", $ = { badge: Y }, ca = ({ size: a = "sm", color: t = "tertiary", shape: r = "pill", className: n, render: e, ref: s, ...o }) => _({
|
|
32
|
-
defaultTagName: "span",
|
|
33
|
-
render: e,
|
|
34
|
-
ref: s,
|
|
35
|
-
props: {
|
|
36
|
-
...o,
|
|
37
|
-
className: g($.badge, n),
|
|
38
|
-
"data-badge-size": a,
|
|
39
|
-
"data-badge-color": t,
|
|
40
|
-
"data-badge-shape": r
|
|
41
|
-
}
|
|
42
|
-
}), F = "_chip_j2xcu_1", U = "_label_j2xcu_26", Z = "_endElementDivider_j2xcu_75", b = {
|
|
43
|
-
chip: F,
|
|
44
|
-
label: U,
|
|
45
|
-
endElementDivider: Z
|
|
46
|
-
}, G = { height: "var(--t-spacing-4)" }, ma = ({ children: a, size: t = "sm", variant: r = "ghost", color: n = "primary", shape: e = "square", weight: s = "regular", onClick: o, clickable: d = m(o), startElement: c, endElement: p, endElementDivider: h = !1, maxWidth: u, truncate: w = !0, tooltipContent: T, tooltipDelay: E, isTooltipMultiline: q, tooltipPlace: k, alwaysShowTooltip: z = !1, className: B, style: D, render: A, ref: L, ...R }) => {
|
|
47
|
-
const P = m(a) && !C(a) && a !== "", M = j(a) ? {
|
|
48
|
-
text: a,
|
|
49
|
-
tooltipContent: T
|
|
50
|
-
} : {
|
|
51
|
-
text: a ?? !1,
|
|
52
|
-
tooltipContent: T ?? ""
|
|
53
|
-
};
|
|
54
|
-
return _({
|
|
55
|
-
render: A,
|
|
56
|
-
ref: L,
|
|
57
|
-
state: {
|
|
58
|
-
size: t,
|
|
59
|
-
variant: r,
|
|
60
|
-
color: n,
|
|
61
|
-
shape: e,
|
|
62
|
-
weight: s,
|
|
63
|
-
clickable: d,
|
|
64
|
-
truncate: w
|
|
65
|
-
},
|
|
66
|
-
props: {
|
|
67
|
-
...R,
|
|
68
|
-
onClick: o,
|
|
69
|
-
className: g(b.chip, B),
|
|
70
|
-
style: {
|
|
71
|
-
...m(u) ? { "--tw-chip-max-width": `calc(${u}px - 2 * var(--tw-chip-padding))` } : {},
|
|
72
|
-
...D
|
|
73
|
-
},
|
|
74
|
-
children: /* @__PURE__ */ x(v, { children: [
|
|
75
|
-
c,
|
|
76
|
-
P && /* @__PURE__ */ l(S, {
|
|
77
|
-
...M,
|
|
78
|
-
render: /* @__PURE__ */ l("span", {}),
|
|
79
|
-
className: b.label,
|
|
80
|
-
style: t === "md" ? G : void 0,
|
|
81
|
-
truncate: w,
|
|
82
|
-
tooltipDelay: E,
|
|
83
|
-
isTooltipMultiline: q,
|
|
84
|
-
tooltipPlace: k,
|
|
85
|
-
alwaysShowTooltip: z
|
|
86
|
-
}),
|
|
87
|
-
m(p) && p !== !1 && /* @__PURE__ */ x(v, { children: [h && /* @__PURE__ */ l("span", { className: b.endElementDivider }), p] })
|
|
88
|
-
] })
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
}, H = "_root_6bfj6_1", I = "_circle_6bfj6_13", y = {
|
|
92
|
-
root: H,
|
|
93
|
-
circle: I
|
|
94
|
-
}, _a = ({ colorName: a, color: t, variant: r, className: n, style: e, render: s, ref: o, ...d }) => _({
|
|
95
|
-
defaultTagName: "div",
|
|
96
|
-
render: s,
|
|
97
|
-
ref: o,
|
|
98
|
-
props: {
|
|
99
|
-
...d,
|
|
100
|
-
className: g(y.root, r === "circle" && y.circle, n),
|
|
101
|
-
style: {
|
|
102
|
-
"--color-sample-color": t ?? i.tag.background[a],
|
|
103
|
-
"--color-sample-border-color": i.tag.text[a],
|
|
104
|
-
...e
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}), J = "_status_y5v42_1", K = "_content_y5v42_49", N = {
|
|
108
|
-
status: J,
|
|
109
|
-
content: K
|
|
110
|
-
}, ga = ({ children: a, color: t, loading: r = !1, weight: n = "regular", className: e, style: s, render: o, ref: d, ...c }) => {
|
|
111
|
-
const p = O(t);
|
|
112
|
-
return _({
|
|
113
|
-
defaultTagName: "span",
|
|
114
|
-
render: o,
|
|
115
|
-
ref: d,
|
|
116
|
-
state: {
|
|
117
|
-
loading: r,
|
|
118
|
-
weight: n
|
|
119
|
-
},
|
|
120
|
-
props: {
|
|
121
|
-
"aria-busy": r || void 0,
|
|
122
|
-
...c,
|
|
123
|
-
className: g(N.status, e),
|
|
124
|
-
style: {
|
|
125
|
-
"--tw-status-background": i.tag.background[p],
|
|
126
|
-
"--tw-status-text-color": i.tag.text[p],
|
|
127
|
-
...s
|
|
128
|
-
},
|
|
129
|
-
children: /* @__PURE__ */ x(v, { children: [/* @__PURE__ */ l("span", {
|
|
130
|
-
className: N.content,
|
|
131
|
-
children: a
|
|
132
|
-
}), r && /* @__PURE__ */ l(V, {
|
|
133
|
-
color: t,
|
|
134
|
-
"aria-hidden": "true",
|
|
135
|
-
render: /* @__PURE__ */ l("span", {})
|
|
136
|
-
})] })
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
}, Q = "_tag_1rqsl_1", W = "_content_1rqsl_46", X = "_overflowingText_1rqsl_55", aa = "_iconContainer_1rqsl_59", f = {
|
|
140
|
-
tag: Q,
|
|
141
|
-
content: W,
|
|
142
|
-
overflowingText: X,
|
|
143
|
-
iconContainer: aa
|
|
144
|
-
}, ua = ({ children: a, color: t, weight: r = "regular", variant: n = "soft", startIcon: e, truncate: s = !0, borderStyle: o = "solid", className: d, style: c, render: p, ref: h, ...u }) => _({
|
|
145
|
-
defaultTagName: "span",
|
|
146
|
-
render: p,
|
|
147
|
-
ref: h,
|
|
148
|
-
state: {
|
|
149
|
-
variant: n,
|
|
150
|
-
weight: r,
|
|
151
|
-
truncate: s
|
|
152
|
-
},
|
|
153
|
-
props: {
|
|
154
|
-
...u,
|
|
155
|
-
className: g(f.tag, d),
|
|
156
|
-
style: {
|
|
157
|
-
"--tw-tag-background": t === "transparent" ? "transparent" : i.tag.background[t] ?? i.tag.background.gray,
|
|
158
|
-
"--tw-tag-text": t === "transparent" ? i.font.color.secondary : i.tag.text[t] ?? i.font.color.secondary,
|
|
159
|
-
"--tw-tag-border-style": o,
|
|
160
|
-
...c
|
|
161
|
-
},
|
|
162
|
-
children: /* @__PURE__ */ x(v, { children: [m(e) && !C(e) && e !== "" && /* @__PURE__ */ l("span", {
|
|
163
|
-
className: f.iconContainer,
|
|
164
|
-
"aria-hidden": !0,
|
|
165
|
-
children: e
|
|
166
|
-
}), /* @__PURE__ */ l("span", {
|
|
167
|
-
className: f.content,
|
|
168
|
-
children: j(a) && s ? /* @__PURE__ */ l(S, {
|
|
169
|
-
text: a,
|
|
170
|
-
render: /* @__PURE__ */ l("span", {}),
|
|
171
|
-
className: f.overflowingText
|
|
172
|
-
}) : a
|
|
173
|
-
})] })
|
|
174
|
-
}
|
|
175
|
-
});
|
|
176
|
-
export {
|
|
177
|
-
ca as a,
|
|
178
|
-
ma as i,
|
|
179
|
-
ga as n,
|
|
180
|
-
da as o,
|
|
181
|
-
_a as r,
|
|
182
|
-
ua as t
|
|
183
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const o=require("./theme-1XkFz8Qu.cjs"),_=require("./isDefined-DS2Q42p5.cjs"),A=require("./utilities-BeLfNQ0Q.cjs"),k=require("./Loader-Bb72CUQ9.cjs"),y=require("./OverflowingTextWithTooltip-Z2daM0_x.cjs");let p=require("@base-ui/react/use-render"),f=require("@sniptt/guards"),g=require("clsx"),e=require("react/jsx-runtime");var z={xl:{fontSize:"16px",width:"40px"},lg:{fontSize:"13px",width:"24px"},md:{fontSize:"12px",width:"16px"},sm:{fontSize:"10px",width:"14px"},xs:{fontSize:"8px",width:"12px"}},L="_badge_1q6rc_1",F={badge:L},Y=({size:t="sm",color:r="tertiary",shape:s="pill",className:l,render:a,ref:n,...i})=>(0,p.useRender)({defaultTagName:"span",render:a,ref:n,props:{...i,className:(0,g.clsx)(F.badge,l),"data-badge-size":t,"data-badge-color":r,"data-badge-shape":s}}),I="_chip_j2xcu_1",M="_label_j2xcu_26",W="_endElementDivider_j2xcu_75",v={chip:I,label:M,endElementDivider:W},Z={height:"var(--t-spacing-4)"},$=({children:t,size:r="sm",variant:s="ghost",color:l="primary",shape:a="square",weight:n="regular",onClick:i,clickable:d=_.isDefined(i),startElement:c,endElement:u,endElementDivider:b=!1,maxWidth:m,truncate:h=!0,tooltipContent:j,tooltipDelay:C,isTooltipMultiline:w,tooltipPlace:S,alwaysShowTooltip:N=!1,className:O,style:P,render:R,ref:V,...D})=>{const E=_.isDefined(t)&&!(0,f.isBoolean)(t)&&t!=="",B=(0,f.isString)(t)?{text:t,tooltipContent:j}:{text:t??!1,tooltipContent:j??""};return(0,p.useRender)({render:R,ref:V,state:{size:r,variant:s,color:l,shape:a,weight:n,clickable:d,truncate:h},props:{...D,onClick:i,className:(0,g.clsx)(v.chip,O),style:{..._.isDefined(m)?{"--tw-chip-max-width":`calc(${m}px - 2 * var(--tw-chip-padding))`}:{},...P},children:(0,e.jsxs)(e.Fragment,{children:[c,E&&(0,e.jsx)(y.OverflowingTextWithTooltip,{...B,render:(0,e.jsx)("span",{}),className:v.label,style:r==="md"?Z:void 0,truncate:h,tooltipDelay:C,isTooltipMultiline:w,tooltipPlace:S,alwaysShowTooltip:N}),_.isDefined(u)&&u!==!1&&(0,e.jsxs)(e.Fragment,{children:[b&&(0,e.jsx)("span",{className:v.endElementDivider}),u]})]})}})},U="_root_6bfj6_1",G="_circle_6bfj6_13",T={root:U,circle:G},H=({colorName:t,color:r,variant:s,className:l,style:a,render:n,ref:i,...d})=>(0,p.useRender)({defaultTagName:"div",render:n,ref:i,props:{...d,className:(0,g.clsx)(T.root,s==="circle"&&T.circle,l),style:{"--color-sample-color":r??o.themeCssVariables.tag.background[t],"--color-sample-border-color":o.themeCssVariables.tag.text[t],...a}}}),J="_status_y5v42_1",K="_content_y5v42_49",q={status:J,content:K},Q=({children:t,color:r,loading:s=!1,weight:l="regular",className:a,style:n,render:i,ref:d,...c})=>{const u=A.parseThemeColor(r);return(0,p.useRender)({defaultTagName:"span",render:i,ref:d,state:{loading:s,weight:l},props:{"aria-busy":s||void 0,...c,className:(0,g.clsx)(q.status,a),style:{"--tw-status-background":o.themeCssVariables.tag.background[u],"--tw-status-text-color":o.themeCssVariables.tag.text[u],...n},children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("span",{className:q.content,children:t}),s&&(0,e.jsx)(k.Loader,{color:r,"aria-hidden":"true",render:(0,e.jsx)("span",{})})]})}})},X="_tag_1rqsl_1",ee="_content_1rqsl_46",te="_overflowingText_1rqsl_55",re="_iconContainer_1rqsl_59",x={tag:X,content:ee,overflowingText:te,iconContainer:re},ae=({children:t,color:r,weight:s="regular",variant:l="soft",startIcon:a,truncate:n=!0,borderStyle:i="solid",className:d,style:c,render:u,ref:b,...m})=>(0,p.useRender)({defaultTagName:"span",render:u,ref:b,state:{variant:l,weight:s,truncate:n},props:{...m,className:(0,g.clsx)(x.tag,d),style:{"--tw-tag-background":r==="transparent"?"transparent":o.themeCssVariables.tag.background[r]??o.themeCssVariables.tag.background.gray,"--tw-tag-text":r==="transparent"?o.themeCssVariables.font.color.secondary:o.themeCssVariables.tag.text[r]??o.themeCssVariables.font.color.secondary,"--tw-tag-border-style":i,...c},children:(0,e.jsxs)(e.Fragment,{children:[_.isDefined(a)&&!(0,f.isBoolean)(a)&&a!==""&&(0,e.jsx)("span",{className:x.iconContainer,"aria-hidden":!0,children:a}),(0,e.jsx)("span",{className:x.content,children:(0,f.isString)(t)&&n?(0,e.jsx)(y.OverflowingTextWithTooltip,{text:t,render:(0,e.jsx)("span",{}),className:x.overflowingText}):t})]})}});Object.defineProperty(exports,"AVATAR_PROPERTIES_BY_SIZE",{enumerable:!0,get:function(){return z}});Object.defineProperty(exports,"Badge",{enumerable:!0,get:function(){return Y}});Object.defineProperty(exports,"Chip",{enumerable:!0,get:function(){return $}});Object.defineProperty(exports,"ColorSample",{enumerable:!0,get:function(){return H}});Object.defineProperty(exports,"Status",{enumerable:!0,get:function(){return Q}});Object.defineProperty(exports,"Tag",{enumerable:!0,get:function(){return ae}});
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const y=require("./theme-1XkFz8Qu.cjs"),_=require("./isDefined-DS2Q42p5.cjs"),H=require("./VisuallyHidden-B-n4x1KY.cjs"),K=require("./ProgressRing-g1nHGyUp.cjs");let S=require("@base-ui/react/use-render"),u=require("@sniptt/guards"),c=require("clsx"),x=require("react"),e=require("react/jsx-runtime"),$=require("@base-ui/react/collapsible"),h=require("@tabler/icons-react");var U="_container_5cu4g_1",X="_itemContainer_5cu4g_6",Q="_overflowCountContainer_5cu4g_22",W="_overflowCount_5cu4g_22",g={container:U,itemContainer:X,overflowCountContainer:Q,overflowCount:W},Y=4,Z=({avatars:r,className:n,maxVisible:t=Y,total:s,renderOverflow:l,overflowShape:o="square",overlap:a="right",overlapOffset:i="3px",render:p,ref:C,...m})=>{const d=x.Children.toArray(r),q=Number.isNaN(t)?0:Math.max(0,Math.floor(t)),f=d.slice(0,q),b=s??d.length,N=(Number.isFinite(b)?Math.max(d.length,Math.floor(b)):d.length)-f.length,w=_.isDefined(l),A=N>0&&(w?l(N):(0,e.jsxs)("span",{className:g.overflowCount,"data-shape":o,children:["+",N]})),L=(0,u.isNonEmptyArray)(x.Children.toArray(A)),V={"--avatar-group-overlap-offset":i},G=(0,S.useRender)({render:p,ref:C,props:{...m,className:(0,c.clsx)(g.container,n),children:(0,e.jsxs)(e.Fragment,{children:[x.Children.map(f,T=>(0,e.jsx)("span",{className:g.itemContainer,"data-overlap":a,style:V,children:T},(0,x.isValidElement)(T)?T.key:void 0)),L&&(0,e.jsx)("span",{className:(0,c.clsx)(g.itemContainer,!w&&g.overflowCountContainer),"data-overlap":a,style:V,children:A})]})}});return(0,u.isNonEmptyArray)(f)||L?G:null},ee="_container_1j72k_1",re="_commands_1j72k_13",ne="_actions_1j72k_25",te="_prompt_1j72k_32",J={container:ee,commands:re,actions:ne,prompt:te},se=({commands:r,actions:n,render:t,ref:s,className:l,...o})=>(0,S.useRender)({render:t,ref:s,props:{...o,className:(0,c.clsx)(J.container,l),children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("pre",{className:J.commands,children:(0,e.jsx)("code",{children:r.map((a,i)=>(0,e.jsxs)("span",{children:[i>0&&`
|
|
2
|
-
`,(0,e.jsx)("span",{className:J.prompt,"aria-hidden":"true",children:"> "}),a]},i))})}),_.isDefined(n)&&(0,e.jsx)("div",{className:J.actions,children:n})]})}}),ae="_list_1i4lv_1",oe="_nested_1i4lv_8",P={list:ae,nested:oe},le=({depth:r,className:n,children:t})=>(0,e.jsx)("ul",{className:(0,c.clsx)(P.list,r>0&&P.nested,n),children:t}),M=(0,x.createContext)(void 0),j=()=>{const r=(0,x.useContext)(M);if(!_.isDefined(r))throw new Error("useJsonTreeContextOrThrow must be used within a JsonTreeContextProvider");return r},ie="_button_1e3ij_1",ce="_red_1e3ij_17",de="_chevron_1e3ij_22",E={button:ie,red:ce,chevron:de},ue=({isOpen:r,onClick:n,variant:t})=>{const s=y.useTheme(),{arrowButtonCollapsedLabel:l,arrowButtonExpandedLabel:o}=j(),a=t==="blue"?y.themeCssVariables.color.blue:t==="red"?y.themeCssVariables.font.color.danger:y.themeCssVariables.font.color.secondary;return(0,e.jsxs)("button",{className:(0,c.clsx)(E.button,t==="red"&&E.red),onClick:n,children:[(0,e.jsx)(H.VisuallyHidden,{children:r?o:l}),(0,e.jsx)("div",{className:E.chevron,"data-open":r||void 0,children:(0,e.jsx)(h.IconChevronDown,{size:s.icon.size.md,color:a})})]})},_e=({label:r,value:n,depth:t,keyPath:s,highlighting:l})=>{const{emptyArrayLabel:o}=j();return(0,e.jsx)(D,{elements:[...n.entries()].map(([a,i])=>({id:a,label:String(a),value:i})),renderElementsCount:a=>`[${a}]`,label:r,Icon:h.IconBrackets,depth:t,emptyElementsText:o,keyPath:s,highlighting:l})},me=({label:r,value:n,depth:t,keyPath:s,highlighting:l})=>{const{emptyObjectLabel:o}=j();return(0,e.jsx)(D,{elements:Object.entries(n).map(([a,i])=>({id:a,label:a,value:i})),renderElementsCount:a=>`{${a}}`,label:r,Icon:h.IconCube,depth:t,emptyElementsText:o,keyPath:s,highlighting:l})},ve="_labelContainer_1pq94_1",xe="_blue_1pq94_23",he="_red_1pq94_29",R={labelContainer:ve,blue:xe,red:he},F=({label:r,Icon:n,highlighting:t})=>{const s=y.useTheme();return(0,e.jsxs)("span",{className:(0,c.clsx)(R.labelContainer,t==="blue"&&R.blue,t==="red"&&R.red),children:[(0,e.jsx)(n,{size:s.icon.size.md,color:t==="blue"?s.color.blue:t==="red"?s.font.color.danger:s.font.color.tertiary}),(0,e.jsx)("span",{children:r})]})},be="_text_1ot24_1",je="_blue_1ot24_10",pe="_red_1ot24_14",Ce="_button_1ot24_18",k={text:be,blue:je,red:pe,button:Ce},fe=({valueAsString:r,highlighting:n})=>{const{onNodeValueClick:t}=j(),s=_.isDefined(t),l=()=>{t?.(r)},o=(0,c.clsx)(k.text,n==="blue"&&k.blue,n==="red"&&k.red);return s?(0,e.jsx)("button",{className:(0,c.clsx)(o,k.button),type:"button",onClick:l,children:r}):(0,e.jsx)("span",{className:o,children:r})},Ne="_listItem_1i7if_1",ge={listItem:Ne},I=r=>(0,e.jsxs)("li",{className:ge.listItem,children:[r.label&&(0,e.jsx)(F,{label:r.label,Icon:r.Icon,highlighting:r.highlighting}),(0,e.jsx)(fe,{valueAsString:r.valueAsString,highlighting:r.highlighting})]}),ye=r=>(0,u.isArray)(r),z=({label:r,value:n,depth:t,keyPath:s})=>{const{getNodeHighlighting:l,emptyStringLabel:o}=j(),a=l?.(s);return _.isDefined(n)?(0,u.isString)(n)?(0,e.jsx)(I,{label:r,valueAsString:(0,u.isNonEmptyString)(n)?n:o,Icon:h.IconTypography,highlighting:a}):(0,u.isNumber)(n)?(0,e.jsx)(I,{label:r,valueAsString:String(n),Icon:h.IconNumber9,highlighting:a}):(0,u.isBoolean)(n)?(0,e.jsx)(I,{label:r,valueAsString:String(n),Icon:h.IconCheckbox,highlighting:a}):ye(n)?(0,e.jsx)(_e,{label:r,value:n,depth:t,keyPath:s,highlighting:a}):(0,e.jsx)(me,{label:r,value:n,depth:t,keyPath:s,highlighting:a}):(0,e.jsx)(I,{label:r,valueAsString:"null",Icon:h.IconCircleOff,highlighting:a})},Ie="_container_d0cqx_1",qe="_labelContainer_d0cqx_6",we="_elementsCount_d0cqx_12",Ae="_elementsCountRed_d0cqx_16",Je="_panel_d0cqx_20",ke="_list_d0cqx_30",Se="_nested_d0cqx_37",v={container:Ie,labelContainer:qe,elementsCount:we,elementsCountRed:Ae,panel:Je,list:ke,nested:Se},D=({label:r,Icon:n,elements:t,renderElementsCount:s,emptyElementsText:l,depth:o,keyPath:a,highlighting:i})=>{const{shouldExpandNodeInitially:p}=j(),C=!_.isDefined(r),[m,d]=(0,x.useState)(p({keyPath:a,depth:o})),q=(0,e.jsx)("ul",{className:(0,c.clsx)(v.list,o>0&&v.nested),children:t.length===0?(0,e.jsx)(I,{valueAsString:l,highlighting:void 0}):t.map(({id:b,label:N,value:w})=>{const A=(0,u.isNonEmptyString)(a)?`${a}.${b}`:String(b);return(0,e.jsx)(z,{label:N,value:w,depth:o+1,keyPath:A},b)})}),f=()=>{d(!m)};return C?(0,e.jsx)("li",{className:v.container,children:q}):(0,e.jsxs)($.Collapsible.Root,{className:v.container,open:m,render:(0,e.jsx)("li",{}),children:[(0,e.jsxs)("div",{className:v.labelContainer,children:[(0,e.jsx)(ue,{isOpen:m,onClick:f,variant:i==="partial-blue"?"blue":i==="red"?i:void 0}),(0,e.jsx)(F,{label:r,Icon:n,highlighting:i==="red"?i:void 0}),s&&(0,e.jsx)("span",{className:(0,c.clsx)(v.elementsCount,i==="red"&&v.elementsCountRed),children:s(t.length)})]}),(0,e.jsx)($.Collapsible.Panel,{className:v.panel,children:q})]})},Te=({value:r,children:n})=>(0,e.jsx)(M.Provider,{value:r,children:n}),Ee=({depth:r})=>r<=1,Re=({value:r,entries:n,shouldExpandNodeInitially:t=Ee,...s})=>(0,e.jsx)(Te,{value:{...s,shouldExpandNodeInitially:t},children:(0,e.jsx)(le,{depth:0,children:_.isDefined(n)?(0,e.jsx)(D,{elements:n,Icon:h.IconBrackets,depth:0,keyPath:"",emptyElementsText:s.emptyObjectLabel}):(0,e.jsx)(z,{value:r??null,depth:0,keyPath:""})})}),Oe="_row_1hj4l_1",De="_label_1hj4l_11",Le="_icon_1hj4l_20",O={row:Oe,label:De,icon:Le},Ve=({children:r,startIcon:n,value:t,progress:s,progressColor:l,progressValueText:o,render:a,ref:i,className:p,...C})=>{const m=(0,x.useId)(),d=o??t;return(0,S.useRender)({render:a,ref:i,props:{...C,className:(0,c.clsx)(O.row,p),children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{className:O.label,children:[_.isDefined(n)&&(0,e.jsx)("span",{className:O.icon,"aria-hidden":"true",children:n}),(0,e.jsx)("span",{id:m,children:r})]}),_.isDefined(s)?(0,e.jsx)(K.ProgressRing,{value:s,size:"sm",barColor:l,"aria-labelledby":m,...(0,u.isNonEmptyString)(d)?{"aria-valuetext":d}:{},children:t}):(0,e.jsx)("span",{children:t})]})}})},$e="_root_7l8sk_1",Pe="_stackedIcon_7l8sk_14",B={root:$e,stackedIcon:Pe},Be=({icon:r,stackedIcon:n,className:t,render:s,ref:l,...o})=>(0,S.useRender)({render:s,ref:l,props:{...o,className:(0,c.clsx)(B.root,t),children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("span",{"aria-hidden":"true",children:r}),(0,e.jsx)("span",{"aria-hidden":"true",className:B.stackedIcon,children:n})]})}});Object.defineProperty(exports,"AvatarGroup",{enumerable:!0,get:function(){return Z}});Object.defineProperty(exports,"CommandBlock",{enumerable:!0,get:function(){return se}});Object.defineProperty(exports,"JsonTree",{enumerable:!0,get:function(){return Re}});Object.defineProperty(exports,"MetricRow",{enumerable:!0,get:function(){return Ve}});Object.defineProperty(exports,"StackIcon",{enumerable:!0,get:function(){return Be}});
|
|
@@ -1,344 +0,0 @@
|
|
|
1
|
-
import { t as u } from "./isDefined-fMi6eQ4r.js";
|
|
2
|
-
import { Jc as Q, No as W, Pn as Y, Tn as Z, Vt as D, rr as ee, wn as re } from "./icon-CUE-QGQK.js";
|
|
3
|
-
import { a as j, r as G } from "./theme-B2EaXhye.js";
|
|
4
|
-
import { t as ne } from "./VisuallyHidden-CFZP7ybO.js";
|
|
5
|
-
import { t as te } from "./ProgressRing-8mYV9cxE.js";
|
|
6
|
-
import { useRender as T } from "@base-ui/react/use-render";
|
|
7
|
-
import { isArray as oe, isBoolean as ae, isNonEmptyArray as M, isNonEmptyString as V, isNumber as se, isString as le } from "@sniptt/guards";
|
|
8
|
-
import { clsx as c } from "clsx";
|
|
9
|
-
import { Children as $, createContext as ie, isValidElement as ce, useContext as de, useId as me, useState as ue } from "react";
|
|
10
|
-
import { Fragment as k, jsx as r, jsxs as d } from "react/jsx-runtime";
|
|
11
|
-
import { Collapsible as P } from "@base-ui/react/collapsible";
|
|
12
|
-
var _e = "_container_5cu4g_1", ve = "_itemContainer_5cu4g_6", he = "_overflowCountContainer_5cu4g_22", pe = "_overflowCount_5cu4g_22", x = {
|
|
13
|
-
container: _e,
|
|
14
|
-
itemContainer: ve,
|
|
15
|
-
overflowCountContainer: he,
|
|
16
|
-
overflowCount: pe
|
|
17
|
-
}, be = 4, _r = ({ avatars: e, className: n, maxVisible: t = be, total: o, renderOverflow: l, overflowShape: s = "square", overlap: a = "right", overlapOffset: i = "3px", render: b, ref: C, ..._ }) => {
|
|
18
|
-
const m = $.toArray(e), g = Number.isNaN(t) ? 0 : Math.max(0, Math.floor(t)), N = m.slice(0, g), h = o ?? m.length, f = (Number.isFinite(h) ? Math.max(m.length, Math.floor(h)) : m.length) - N.length, w = u(l), y = f > 0 && (w ? l(f) : /* @__PURE__ */ d("span", {
|
|
19
|
-
className: x.overflowCount,
|
|
20
|
-
"data-shape": s,
|
|
21
|
-
children: ["+", f]
|
|
22
|
-
})), O = M($.toArray(y)), B = { "--avatar-group-overlap-offset": i }, X = T({
|
|
23
|
-
render: b,
|
|
24
|
-
ref: C,
|
|
25
|
-
props: {
|
|
26
|
-
..._,
|
|
27
|
-
className: c(x.container, n),
|
|
28
|
-
children: /* @__PURE__ */ d(k, { children: [$.map(N, (S) => /* @__PURE__ */ r("span", {
|
|
29
|
-
className: x.itemContainer,
|
|
30
|
-
"data-overlap": a,
|
|
31
|
-
style: B,
|
|
32
|
-
children: S
|
|
33
|
-
}, ce(S) ? S.key : void 0)), O && /* @__PURE__ */ r("span", {
|
|
34
|
-
className: c(x.itemContainer, !w && x.overflowCountContainer),
|
|
35
|
-
"data-overlap": a,
|
|
36
|
-
style: B,
|
|
37
|
-
children: y
|
|
38
|
-
})] })
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
return M(N) || O ? X : null;
|
|
42
|
-
}, Ce = "_container_1j72k_1", Ne = "_commands_1j72k_13", fe = "_actions_1j72k_25", xe = "_prompt_1j72k_32", A = {
|
|
43
|
-
container: Ce,
|
|
44
|
-
commands: Ne,
|
|
45
|
-
actions: fe,
|
|
46
|
-
prompt: xe
|
|
47
|
-
}, vr = ({ commands: e, actions: n, render: t, ref: o, className: l, ...s }) => T({
|
|
48
|
-
render: t,
|
|
49
|
-
ref: o,
|
|
50
|
-
props: {
|
|
51
|
-
...s,
|
|
52
|
-
className: c(A.container, l),
|
|
53
|
-
children: /* @__PURE__ */ d(k, { children: [/* @__PURE__ */ r("pre", {
|
|
54
|
-
className: A.commands,
|
|
55
|
-
children: /* @__PURE__ */ r("code", { children: e.map((a, i) => /* @__PURE__ */ d("span", { children: [
|
|
56
|
-
i > 0 && `
|
|
57
|
-
`,
|
|
58
|
-
/* @__PURE__ */ r("span", {
|
|
59
|
-
className: A.prompt,
|
|
60
|
-
"aria-hidden": "true",
|
|
61
|
-
children: "> "
|
|
62
|
-
}),
|
|
63
|
-
a
|
|
64
|
-
] }, i)) })
|
|
65
|
-
}), u(n) && /* @__PURE__ */ r("div", {
|
|
66
|
-
className: A.actions,
|
|
67
|
-
children: n
|
|
68
|
-
})] })
|
|
69
|
-
}
|
|
70
|
-
}), Ie = "_list_1i4lv_1", ge = "_nested_1i4lv_8", z = {
|
|
71
|
-
list: Ie,
|
|
72
|
-
nested: ge
|
|
73
|
-
}, we = ({ depth: e, className: n, children: t }) => /* @__PURE__ */ r("ul", {
|
|
74
|
-
className: c(z.list, e > 0 && z.nested, n),
|
|
75
|
-
children: t
|
|
76
|
-
}), H = ie(void 0), p = () => {
|
|
77
|
-
const e = de(H);
|
|
78
|
-
if (!u(e)) throw new Error("useJsonTreeContextOrThrow must be used within a JsonTreeContextProvider");
|
|
79
|
-
return e;
|
|
80
|
-
}, ye = "_button_1e3ij_1", Ae = "_red_1e3ij_17", Je = "_chevron_1e3ij_22", L = {
|
|
81
|
-
button: ye,
|
|
82
|
-
red: Ae,
|
|
83
|
-
chevron: Je
|
|
84
|
-
}, Te = ({ isOpen: e, onClick: n, variant: t }) => {
|
|
85
|
-
const o = G(), { arrowButtonCollapsedLabel: l, arrowButtonExpandedLabel: s } = p(), a = t === "blue" ? j.color.blue : t === "red" ? j.font.color.danger : j.font.color.secondary;
|
|
86
|
-
return /* @__PURE__ */ d("button", {
|
|
87
|
-
className: c(L.button, t === "red" && L.red),
|
|
88
|
-
onClick: n,
|
|
89
|
-
children: [/* @__PURE__ */ r(ne, { children: e ? s : l }), /* @__PURE__ */ r("div", {
|
|
90
|
-
className: L.chevron,
|
|
91
|
-
"data-open": e || void 0,
|
|
92
|
-
children: /* @__PURE__ */ r(Z, {
|
|
93
|
-
size: o.icon.size.md,
|
|
94
|
-
color: a
|
|
95
|
-
})
|
|
96
|
-
})]
|
|
97
|
-
});
|
|
98
|
-
}, ke = ({ label: e, value: n, depth: t, keyPath: o, highlighting: l }) => {
|
|
99
|
-
const { emptyArrayLabel: s } = p();
|
|
100
|
-
return /* @__PURE__ */ r(R, {
|
|
101
|
-
elements: [...n.entries()].map(([a, i]) => ({
|
|
102
|
-
id: a,
|
|
103
|
-
label: String(a),
|
|
104
|
-
value: i
|
|
105
|
-
})),
|
|
106
|
-
renderElementsCount: (a) => `[${a}]`,
|
|
107
|
-
label: e,
|
|
108
|
-
Icon: D,
|
|
109
|
-
depth: t,
|
|
110
|
-
emptyElementsText: s,
|
|
111
|
-
keyPath: o,
|
|
112
|
-
highlighting: l
|
|
113
|
-
});
|
|
114
|
-
}, Se = ({ label: e, value: n, depth: t, keyPath: o, highlighting: l }) => {
|
|
115
|
-
const { emptyObjectLabel: s } = p();
|
|
116
|
-
return /* @__PURE__ */ r(R, {
|
|
117
|
-
elements: Object.entries(n).map(([a, i]) => ({
|
|
118
|
-
id: a,
|
|
119
|
-
label: a,
|
|
120
|
-
value: i
|
|
121
|
-
})),
|
|
122
|
-
renderElementsCount: (a) => `{${a}}`,
|
|
123
|
-
label: e,
|
|
124
|
-
Icon: ee,
|
|
125
|
-
depth: t,
|
|
126
|
-
emptyElementsText: s,
|
|
127
|
-
keyPath: o,
|
|
128
|
-
highlighting: l
|
|
129
|
-
});
|
|
130
|
-
}, je = "_labelContainer_1pq94_1", $e = "_blue_1pq94_23", Le = "_red_1pq94_29", E = {
|
|
131
|
-
labelContainer: je,
|
|
132
|
-
blue: $e,
|
|
133
|
-
red: Le
|
|
134
|
-
}, K = ({ label: e, Icon: n, highlighting: t }) => {
|
|
135
|
-
const o = G();
|
|
136
|
-
return /* @__PURE__ */ d("span", {
|
|
137
|
-
className: c(E.labelContainer, t === "blue" && E.blue, t === "red" && E.red),
|
|
138
|
-
children: [/* @__PURE__ */ r(n, {
|
|
139
|
-
size: o.icon.size.md,
|
|
140
|
-
color: t === "blue" ? o.color.blue : t === "red" ? o.font.color.danger : o.font.color.tertiary
|
|
141
|
-
}), /* @__PURE__ */ r("span", { children: e })]
|
|
142
|
-
});
|
|
143
|
-
}, Ee = "_text_1ot24_1", qe = "_blue_1ot24_10", Ve = "_red_1ot24_14", Re = "_button_1ot24_18", J = {
|
|
144
|
-
text: Ee,
|
|
145
|
-
blue: qe,
|
|
146
|
-
red: Ve,
|
|
147
|
-
button: Re
|
|
148
|
-
}, Oe = ({ valueAsString: e, highlighting: n }) => {
|
|
149
|
-
const { onNodeValueClick: t } = p(), o = u(t), l = () => {
|
|
150
|
-
t?.(e);
|
|
151
|
-
}, s = c(J.text, n === "blue" && J.blue, n === "red" && J.red);
|
|
152
|
-
return o ? /* @__PURE__ */ r("button", {
|
|
153
|
-
className: c(s, J.button),
|
|
154
|
-
type: "button",
|
|
155
|
-
onClick: l,
|
|
156
|
-
children: e
|
|
157
|
-
}) : /* @__PURE__ */ r("span", {
|
|
158
|
-
className: s,
|
|
159
|
-
children: e
|
|
160
|
-
});
|
|
161
|
-
}, Be = "_listItem_1i7if_1", Me = { listItem: Be }, I = (e) => /* @__PURE__ */ d("li", {
|
|
162
|
-
className: Me.listItem,
|
|
163
|
-
children: [e.label && /* @__PURE__ */ r(K, {
|
|
164
|
-
label: e.label,
|
|
165
|
-
Icon: e.Icon,
|
|
166
|
-
highlighting: e.highlighting
|
|
167
|
-
}), /* @__PURE__ */ r(Oe, {
|
|
168
|
-
valueAsString: e.valueAsString,
|
|
169
|
-
highlighting: e.highlighting
|
|
170
|
-
})]
|
|
171
|
-
}), Pe = (e) => oe(e), U = ({ label: e, value: n, depth: t, keyPath: o }) => {
|
|
172
|
-
const { getNodeHighlighting: l, emptyStringLabel: s } = p(), a = l?.(o);
|
|
173
|
-
return u(n) ? le(n) ? /* @__PURE__ */ r(I, {
|
|
174
|
-
label: e,
|
|
175
|
-
valueAsString: V(n) ? n : s,
|
|
176
|
-
Icon: Q,
|
|
177
|
-
highlighting: a
|
|
178
|
-
}) : se(n) ? /* @__PURE__ */ r(I, {
|
|
179
|
-
label: e,
|
|
180
|
-
valueAsString: String(n),
|
|
181
|
-
Icon: W,
|
|
182
|
-
highlighting: a
|
|
183
|
-
}) : ae(n) ? /* @__PURE__ */ r(I, {
|
|
184
|
-
label: e,
|
|
185
|
-
valueAsString: String(n),
|
|
186
|
-
Icon: re,
|
|
187
|
-
highlighting: a
|
|
188
|
-
}) : Pe(n) ? /* @__PURE__ */ r(ke, {
|
|
189
|
-
label: e,
|
|
190
|
-
value: n,
|
|
191
|
-
depth: t,
|
|
192
|
-
keyPath: o,
|
|
193
|
-
highlighting: a
|
|
194
|
-
}) : /* @__PURE__ */ r(Se, {
|
|
195
|
-
label: e,
|
|
196
|
-
value: n,
|
|
197
|
-
depth: t,
|
|
198
|
-
keyPath: o,
|
|
199
|
-
highlighting: a
|
|
200
|
-
}) : /* @__PURE__ */ r(I, {
|
|
201
|
-
label: e,
|
|
202
|
-
valueAsString: "null",
|
|
203
|
-
Icon: Y,
|
|
204
|
-
highlighting: a
|
|
205
|
-
});
|
|
206
|
-
}, ze = "_container_d0cqx_1", Fe = "_labelContainer_d0cqx_6", De = "_elementsCount_d0cqx_12", Ge = "_elementsCountRed_d0cqx_16", He = "_panel_d0cqx_20", Ke = "_list_d0cqx_30", Ue = "_nested_d0cqx_37", v = {
|
|
207
|
-
container: ze,
|
|
208
|
-
labelContainer: Fe,
|
|
209
|
-
elementsCount: De,
|
|
210
|
-
elementsCountRed: Ge,
|
|
211
|
-
panel: He,
|
|
212
|
-
list: Ke,
|
|
213
|
-
nested: Ue
|
|
214
|
-
}, R = ({ label: e, Icon: n, elements: t, renderElementsCount: o, emptyElementsText: l, depth: s, keyPath: a, highlighting: i }) => {
|
|
215
|
-
const { shouldExpandNodeInitially: b } = p(), C = !u(e), [_, m] = ue(b({
|
|
216
|
-
keyPath: a,
|
|
217
|
-
depth: s
|
|
218
|
-
})), g = /* @__PURE__ */ r("ul", {
|
|
219
|
-
className: c(v.list, s > 0 && v.nested),
|
|
220
|
-
children: t.length === 0 ? /* @__PURE__ */ r(I, {
|
|
221
|
-
valueAsString: l,
|
|
222
|
-
highlighting: void 0
|
|
223
|
-
}) : t.map(({ id: h, label: f, value: w }) => {
|
|
224
|
-
const y = V(a) ? `${a}.${h}` : String(h);
|
|
225
|
-
return /* @__PURE__ */ r(U, {
|
|
226
|
-
label: f,
|
|
227
|
-
value: w,
|
|
228
|
-
depth: s + 1,
|
|
229
|
-
keyPath: y
|
|
230
|
-
}, h);
|
|
231
|
-
})
|
|
232
|
-
}), N = () => {
|
|
233
|
-
m(!_);
|
|
234
|
-
};
|
|
235
|
-
return C ? /* @__PURE__ */ r("li", {
|
|
236
|
-
className: v.container,
|
|
237
|
-
children: g
|
|
238
|
-
}) : /* @__PURE__ */ d(P.Root, {
|
|
239
|
-
className: v.container,
|
|
240
|
-
open: _,
|
|
241
|
-
render: /* @__PURE__ */ r("li", {}),
|
|
242
|
-
children: [/* @__PURE__ */ d("div", {
|
|
243
|
-
className: v.labelContainer,
|
|
244
|
-
children: [
|
|
245
|
-
/* @__PURE__ */ r(Te, {
|
|
246
|
-
isOpen: _,
|
|
247
|
-
onClick: N,
|
|
248
|
-
variant: i === "partial-blue" ? "blue" : i === "red" ? i : void 0
|
|
249
|
-
}),
|
|
250
|
-
/* @__PURE__ */ r(K, {
|
|
251
|
-
label: e,
|
|
252
|
-
Icon: n,
|
|
253
|
-
highlighting: i === "red" ? i : void 0
|
|
254
|
-
}),
|
|
255
|
-
o && /* @__PURE__ */ r("span", {
|
|
256
|
-
className: c(v.elementsCount, i === "red" && v.elementsCountRed),
|
|
257
|
-
children: o(t.length)
|
|
258
|
-
})
|
|
259
|
-
]
|
|
260
|
-
}), /* @__PURE__ */ r(P.Panel, {
|
|
261
|
-
className: v.panel,
|
|
262
|
-
children: g
|
|
263
|
-
})]
|
|
264
|
-
});
|
|
265
|
-
}, Xe = ({ value: e, children: n }) => /* @__PURE__ */ r(H.Provider, {
|
|
266
|
-
value: e,
|
|
267
|
-
children: n
|
|
268
|
-
}), Qe = ({ depth: e }) => e <= 1, hr = ({ value: e, entries: n, shouldExpandNodeInitially: t = Qe, ...o }) => /* @__PURE__ */ r(Xe, {
|
|
269
|
-
value: {
|
|
270
|
-
...o,
|
|
271
|
-
shouldExpandNodeInitially: t
|
|
272
|
-
},
|
|
273
|
-
children: /* @__PURE__ */ r(we, {
|
|
274
|
-
depth: 0,
|
|
275
|
-
children: u(n) ? /* @__PURE__ */ r(R, {
|
|
276
|
-
elements: n,
|
|
277
|
-
Icon: D,
|
|
278
|
-
depth: 0,
|
|
279
|
-
keyPath: "",
|
|
280
|
-
emptyElementsText: o.emptyObjectLabel
|
|
281
|
-
}) : /* @__PURE__ */ r(U, {
|
|
282
|
-
value: e ?? null,
|
|
283
|
-
depth: 0,
|
|
284
|
-
keyPath: ""
|
|
285
|
-
})
|
|
286
|
-
})
|
|
287
|
-
}), We = "_row_1hj4l_1", Ye = "_label_1hj4l_11", Ze = "_icon_1hj4l_20", q = {
|
|
288
|
-
row: We,
|
|
289
|
-
label: Ye,
|
|
290
|
-
icon: Ze
|
|
291
|
-
}, pr = ({ children: e, startIcon: n, value: t, progress: o, progressColor: l, progressValueText: s, render: a, ref: i, className: b, ...C }) => {
|
|
292
|
-
const _ = me(), m = s ?? t;
|
|
293
|
-
return T({
|
|
294
|
-
render: a,
|
|
295
|
-
ref: i,
|
|
296
|
-
props: {
|
|
297
|
-
...C,
|
|
298
|
-
className: c(q.row, b),
|
|
299
|
-
children: /* @__PURE__ */ d(k, { children: [/* @__PURE__ */ d("div", {
|
|
300
|
-
className: q.label,
|
|
301
|
-
children: [u(n) && /* @__PURE__ */ r("span", {
|
|
302
|
-
className: q.icon,
|
|
303
|
-
"aria-hidden": "true",
|
|
304
|
-
children: n
|
|
305
|
-
}), /* @__PURE__ */ r("span", {
|
|
306
|
-
id: _,
|
|
307
|
-
children: e
|
|
308
|
-
})]
|
|
309
|
-
}), u(o) ? /* @__PURE__ */ r(te, {
|
|
310
|
-
value: o,
|
|
311
|
-
size: "sm",
|
|
312
|
-
barColor: l,
|
|
313
|
-
"aria-labelledby": _,
|
|
314
|
-
...V(m) ? { "aria-valuetext": m } : {},
|
|
315
|
-
children: t
|
|
316
|
-
}) : /* @__PURE__ */ r("span", { children: t })] })
|
|
317
|
-
}
|
|
318
|
-
});
|
|
319
|
-
}, er = "_root_7l8sk_1", rr = "_stackedIcon_7l8sk_14", F = {
|
|
320
|
-
root: er,
|
|
321
|
-
stackedIcon: rr
|
|
322
|
-
}, br = ({ icon: e, stackedIcon: n, className: t, render: o, ref: l, ...s }) => T({
|
|
323
|
-
render: o,
|
|
324
|
-
ref: l,
|
|
325
|
-
props: {
|
|
326
|
-
...s,
|
|
327
|
-
className: c(F.root, t),
|
|
328
|
-
children: /* @__PURE__ */ d(k, { children: [/* @__PURE__ */ r("span", {
|
|
329
|
-
"aria-hidden": "true",
|
|
330
|
-
children: e
|
|
331
|
-
}), /* @__PURE__ */ r("span", {
|
|
332
|
-
"aria-hidden": "true",
|
|
333
|
-
className: F.stackedIcon,
|
|
334
|
-
children: n
|
|
335
|
-
})] })
|
|
336
|
-
}
|
|
337
|
-
});
|
|
338
|
-
export {
|
|
339
|
-
_r as a,
|
|
340
|
-
vr as i,
|
|
341
|
-
pr as n,
|
|
342
|
-
hr as r,
|
|
343
|
-
br as t
|
|
344
|
-
};
|