@nulogy/components 16.0.0 → 16.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/locales/ja_JP.json +63 -0
- package/dist/main.js +1778 -646
- package/dist/main.js.map +1 -1
- package/dist/main.module.js +1777 -645
- package/dist/main.module.js.map +1 -1
- package/dist/src/Alert/Alert.d.ts +1 -1
- package/dist/src/Alert/Alert.js +3 -8
- package/dist/src/Alert/Alert.story.d.ts +1 -1
- package/dist/src/Alert/Alert.story.js +3 -9
- package/dist/src/Alert/CloseButton.d.ts +1 -1
- package/dist/src/Alert/CloseButton.js +2 -3
- package/dist/src/AppTag/AppTag.d.ts +1 -2
- package/dist/src/AppTag/AppTag.js +2 -6
- package/dist/src/AppTag/components/NulogyLogo.d.ts +1 -1
- package/dist/src/AppTag/components/NulogyLogo.js +2 -3
- package/dist/src/AppTag/stories/AppTag.story.d.ts +2 -3
- package/dist/src/AppTag/stories/AppTag.story.js +6 -8
- package/dist/src/AppTag/stories/AppTag.usecases.story.d.ts +5 -6
- package/dist/src/AppTag/stories/AppTag.usecases.story.js +12 -58
- package/dist/src/AsyncSelect/AsyncSelect.graphql.story.d.ts +1 -2
- package/dist/src/AsyncSelect/AsyncSelect.graphql.story.js +4 -4
- package/dist/src/AsyncSelect/AsyncSelect.js +21 -23
- package/dist/src/AsyncSelect/AsyncSelect.story.d.ts +9 -10
- package/dist/src/AsyncSelect/AsyncSelect.story.js +11 -14
- package/dist/src/AsyncSelect/AsyncSelectComponents.d.ts +8 -9
- package/dist/src/AsyncSelect/AsyncSelectComponents.js +9 -19
- package/dist/src/Banner/Banner.d.ts +2 -2
- package/dist/src/Banner/Banner.js +2 -2
- package/dist/src/Banner/Banner.story.d.ts +6 -7
- package/dist/src/Banner/Banner.story.js +7 -24
- package/dist/src/BottomSheet/BottomSheet.d.ts +1 -1
- package/dist/src/BottomSheet/BottomSheet.js +3 -17
- package/dist/src/BottomSheet/BottomSheet.parts.d.ts +5 -5
- package/dist/src/BottomSheet/BottomSheet.parts.js +6 -5
- package/dist/src/BottomSheet/BottomSheet.styled.d.ts +12 -8
- package/dist/src/BottomSheet/BottomSheetProvider.d.ts +1 -1
- package/dist/src/BottomSheet/BottomSheetProvider.js +2 -2
- package/dist/src/BottomSheet/stories/BottomSheet.actions.story.d.ts +3 -4
- package/dist/src/BottomSheet/stories/BottomSheet.actions.story.js +4 -9
- package/dist/src/BottomSheet/stories/BottomSheet.content.story.d.ts +3 -4
- package/dist/src/BottomSheet/stories/BottomSheet.content.story.js +4 -11
- package/dist/src/BottomSheet/stories/BottomSheet.features.story.d.ts +5 -6
- package/dist/src/BottomSheet/stories/BottomSheet.features.story.js +12 -42
- package/dist/src/BottomSheet/stories/BottomSheet.parts.story.d.ts +2 -3
- package/dist/src/BottomSheet/stories/BottomSheet.parts.story.js +3 -23
- package/dist/src/BottomSheet/stories/BottomSheet.story.d.ts +2 -3
- package/dist/src/BottomSheet/stories/BottomSheet.story.js +3 -5
- package/dist/src/Box/Box.d.ts +12 -13
- package/dist/src/Box/Box.story.d.ts +12 -13
- package/dist/src/Box/Box.story.js +14 -32
- package/dist/src/BrandedNavBar/BrandLogoContainer.d.ts +1 -1
- package/dist/src/BrandedNavBar/BrandLogoContainer.js +2 -5
- package/dist/src/BrandedNavBar/DesktopMenu.d.ts +3 -1
- package/dist/src/BrandedNavBar/DesktopMenu.js +6 -9
- package/dist/src/BrandedNavBar/MenuTrigger.d.ts +1 -1
- package/dist/src/BrandedNavBar/MenuTrigger.js +12 -12
- package/dist/src/BrandedNavBar/MenuTriggerButton.js +7 -8
- package/dist/src/BrandedNavBar/MobileMenu.d.ts +1 -1
- package/dist/src/BrandedNavBar/MobileMenu.js +8 -24
- package/dist/src/BrandedNavBar/NavBar.d.ts +1 -1
- package/dist/src/BrandedNavBar/NavBar.js +8 -18
- package/dist/src/BrandedNavBar/NavBar.story.d.ts +13 -14
- package/dist/src/BrandedNavBar/NavBar.story.js +27 -42
- package/dist/src/BrandedNavBar/NavBarDropdownMenu.js +34 -39
- package/dist/src/BrandedNavBar/NulogyLogo.d.ts +1 -2
- package/dist/src/BrandedNavBar/NulogyLogo.js +2 -14
- package/dist/src/BrandedNavBar/NulogyLogoContainer.d.ts +1 -2
- package/dist/src/BrandedNavBar/NulogyLogoContainer.js +2 -5
- package/dist/src/BrandedNavBar/SmallNavBar.js +9 -17
- package/dist/src/BrandedNavBar/SmallNavBar.story.d.ts +6 -7
- package/dist/src/BrandedNavBar/SmallNavBar.story.js +10 -16
- package/dist/src/BrandedNavBar/SubMenuTrigger.d.ts +1 -1
- package/dist/src/BrandedNavBar/SubMenuTrigger.js +4 -5
- package/dist/src/BrandedNavBar/SubMenuTriggerButton.js +2 -4
- package/dist/src/BrandedNavBar/renderSubMenuItems.js +5 -10
- package/dist/src/Branding/Branding.d.ts +1 -2
- package/dist/src/Branding/Branding.js +5 -10
- package/dist/src/Branding/Branding.story.d.ts +1 -2
- package/dist/src/Branding/Branding.story.js +2 -77
- package/dist/src/Branding/LettermarkLogo.d.ts +1 -2
- package/dist/src/Branding/LettermarkLogo.js +2 -3
- package/dist/src/Branding/WordmarkLogo.d.ts +1 -1
- package/dist/src/Branding/WordmarkLogo.js +2 -10
- package/dist/src/Breadcrumbs/Breadcrumbs.d.ts +1 -2
- package/dist/src/Breadcrumbs/Breadcrumbs.js +4 -5
- package/dist/src/Breadcrumbs/Breadcrumbs.story.d.ts +3 -4
- package/dist/src/Breadcrumbs/Breadcrumbs.story.js +4 -16
- package/dist/src/Button/Button.js +2 -4
- package/dist/src/Button/Button.story.d.ts +9 -10
- package/dist/src/Button/Button.story.js +10 -26
- package/dist/src/Button/CloseButton.js +2 -2
- package/dist/src/Button/ControlIcon.js +2 -2
- package/dist/src/Button/ControlIcon.story.d.ts +3 -4
- package/dist/src/Button/ControlIcon.story.js +4 -4
- package/dist/src/Button/DangerButton.d.ts +3 -1
- package/dist/src/Button/IconicButton.js +13 -17
- package/dist/src/Button/IconicButton.story.d.ts +15 -16
- package/dist/src/Button/IconicButton.story.js +16 -31
- package/dist/src/Button/PrimaryButton.d.ts +3 -1
- package/dist/src/Button/QuietButton.d.ts +3 -1
- package/dist/src/ButtonGroup/ButtonGroup.story.d.ts +5 -6
- package/dist/src/ButtonGroup/ButtonGroup.story.js +6 -43
- package/dist/src/Card/Card.d.ts +1 -2
- package/dist/src/Card/Card.js +2 -2
- package/dist/src/Card/Card.story.d.ts +4 -5
- package/dist/src/Card/Card.story.js +6 -39
- package/dist/src/Checkbox/Checkbox.js +3 -6
- package/dist/src/Checkbox/Checkbox.story.d.ts +11 -12
- package/dist/src/Checkbox/Checkbox.story.js +13 -26
- package/dist/src/Checkbox/CheckboxGroup.d.ts +1 -1
- package/dist/src/Checkbox/CheckboxGroup.js +3 -11
- package/dist/src/Checkbox/CheckboxGroup.story.d.ts +6 -7
- package/dist/src/Checkbox/CheckboxGroup.story.js +7 -25
- package/dist/src/DatePickers/DatePicker.js +3 -2
- package/dist/src/DatePickers/MonthPicker.js +3 -2
- package/dist/src/DatePickers/WeekPicker.js +4 -7
- package/dist/src/DatePickers/custom/MonthPickerHeader.d.ts +1 -2
- package/dist/src/DatePickers/custom/MonthPickerHeader.js +2 -5
- package/dist/src/DatePickers/shared/components/BasePicker.js +3 -5
- package/dist/src/DatePickers/shared/components/DatePickerHeader.d.ts +2 -2
- package/dist/src/DatePickers/shared/components/DatePickerHeader.js +3 -9
- package/dist/src/DatePickers/shared/components/DatePickerInput.js +2 -1
- package/dist/src/DatePickers/stories/DatePicker.story.d.ts +4 -4
- package/dist/src/DatePickers/stories/DatePicker.story.js +6 -7
- package/dist/src/DatePickers/stories/MonthPicker.story.d.ts +6 -7
- package/dist/src/DatePickers/stories/MonthPicker.story.js +8 -7
- package/dist/src/DatePickers/stories/WeekPicker.story.d.ts +8 -9
- package/dist/src/DatePickers/stories/WeekPicker.story.js +10 -11
- package/dist/src/DateRange/DateRange.js +12 -17
- package/dist/src/DateRange/DateRange.story.d.ts +12 -13
- package/dist/src/DateRange/DateRange.story.js +14 -20
- package/dist/src/DateRange/EndTime.d.ts +5 -7
- package/dist/src/DateRange/StartTime.d.ts +5 -7
- package/dist/src/Decorations/index.d.ts +1 -2
- package/dist/src/Decorations/index.js +2 -4
- package/dist/src/DescriptionList/DescriptionList.d.ts +1 -2
- package/dist/src/DescriptionList/DescriptionList.js +2 -4
- package/dist/src/DescriptionList/DescriptionListContext.d.ts +2 -2
- package/dist/src/DescriptionList/DescriptionListContext.js +3 -2
- package/dist/src/DescriptionList/stories/DescriptionList.column.story.d.ts +3 -4
- package/dist/src/DescriptionList/stories/DescriptionList.column.story.js +7 -26
- package/dist/src/DescriptionList/stories/DescriptionList.group-min-width.story.js +2 -8
- package/dist/src/DescriptionList/stories/DescriptionList.layout.story.d.ts +3 -4
- package/dist/src/DescriptionList/stories/DescriptionList.layout.story.js +4 -30
- package/dist/src/DescriptionList/stories/DescriptionList.playground.story.js +83 -148
- package/dist/src/DescriptionList/stories/DescriptionList.sizing.story.d.ts +3 -4
- package/dist/src/DescriptionList/stories/DescriptionList.sizing.story.js +5 -44
- package/dist/src/DescriptionList/stories/DescriptionList.spanning.story.d.ts +3 -4
- package/dist/src/DescriptionList/stories/DescriptionList.spanning.story.js +5 -59
- package/dist/src/DescriptionList/stories/fixtures.d.ts +3 -3
- package/dist/src/DescriptionList/stories/fixtures.js +2 -27
- package/dist/src/Divider/Divider.story.d.ts +4 -4
- package/dist/src/Divider/Divider.story.js +5 -17
- package/dist/src/DropdownMenu/DropdownMenu.js +10 -10
- package/dist/src/DropdownMenu/DropdownMenu.story.d.ts +12 -13
- package/dist/src/DropdownMenu/DropdownMenu.story.js +13 -45
- package/dist/src/DropdownMenu/DropdownMenuContainer.d.ts +1 -1
- package/dist/src/DropdownMenu/DropdownText.d.ts +2 -2
- package/dist/src/FieldLabel/FieldLabel.d.ts +1 -2
- package/dist/src/FieldLabel/FieldLabel.js +2 -10
- package/dist/src/FieldLabel/FieldLabel.story.d.ts +7 -8
- package/dist/src/FieldLabel/FieldLabel.story.js +12 -32
- package/dist/src/FieldLabel/HelpText.d.ts +1 -1
- package/dist/src/FieldLabel/MaybeFieldLabel.d.ts +1 -2
- package/dist/src/FieldLabel/MaybeFieldLabel.js +2 -2
- package/dist/src/FieldLabel/RequirementText.d.ts +1 -2
- package/dist/src/FieldLabel/RequirementText.js +2 -2
- package/dist/src/Flex/Flex.story.d.ts +18 -19
- package/dist/src/Flex/Flex.story.js +23 -122
- package/dist/src/Form/Form.d.ts +1 -1
- package/dist/src/Form/Form.js +2 -4
- package/dist/src/Form/Form.story.d.ts +6 -7
- package/dist/src/Form/Form.story.js +7 -59
- package/dist/src/Form/FormSection.d.ts +1 -1
- package/dist/src/Form/FormSection.js +2 -4
- package/dist/src/Icon/Icon.d.ts +6 -2
- package/dist/src/Icon/Icon.js +5 -5
- package/dist/src/Icon/Icon.story.d.ts +6 -7
- package/dist/src/Icon/Icon.story.js +8 -37
- package/dist/src/Icon/LoadingIcon.js +2 -11
- package/dist/src/Input/Input.js +3 -4
- package/dist/src/Input/Input.story.d.ts +11 -12
- package/dist/src/Input/Input.story.js +24 -55
- package/dist/src/Input/InputField.js +5 -13
- package/dist/src/Input/Prefix.d.ts +1 -2
- package/dist/src/Input/Prefix.js +2 -3
- package/dist/src/Input/Suffix.d.ts +1 -2
- package/dist/src/Input/Suffix.js +2 -3
- package/dist/src/Layout/ApplicationFrame.d.ts +2 -2
- package/dist/src/Layout/ApplicationFrame.js +2 -6
- package/dist/src/Layout/ApplicationFrame.story.d.ts +1 -2
- package/dist/src/Layout/ApplicationFrame.story.js +2 -2
- package/dist/src/Layout/Header.d.ts +2 -2
- package/dist/src/Layout/Header.js +2 -13
- package/dist/src/Layout/Header.story.d.ts +10 -11
- package/dist/src/Layout/Header.story.js +12 -52
- package/dist/src/Layout/Page.applicationFrame.story.d.ts +2 -3
- package/dist/src/Layout/Page.applicationFrame.story.js +7 -14
- package/dist/src/Layout/Page.d.ts +2 -2
- package/dist/src/Layout/Page.js +4 -6
- package/dist/src/Layout/Page.story.d.ts +1 -2
- package/dist/src/Layout/Page.story.js +15 -28
- package/dist/src/Layout/Sidebar.d.ts +1 -1
- package/dist/src/Layout/Sidebar.js +4 -16
- package/dist/src/Layout/Sidebar.story.d.ts +10 -11
- package/dist/src/Layout/Sidebar.story.js +17 -88
- package/dist/src/Link/Link.d.ts +1 -1
- package/dist/src/Link/Link.js +3 -6
- package/dist/src/Link/Link.story.d.ts +10 -11
- package/dist/src/Link/Link.story.js +11 -12
- package/dist/src/List/List.story.d.ts +5 -6
- package/dist/src/List/List.story.js +6 -21
- package/dist/src/LoadingAnimation/LoadingAnimation.d.ts +1 -1
- package/dist/src/LoadingAnimation/LoadingAnimation.js +2 -21
- package/dist/src/LoadingAnimation/LoadingAnimation.story.d.ts +4 -5
- package/dist/src/LoadingAnimation/LoadingAnimation.story.js +5 -22
- package/dist/src/MaybeTooltip/MaybeTooltip.d.ts +1 -2
- package/dist/src/MaybeTooltip/MaybeTooltip.js +3 -3
- package/dist/src/MaybeTooltip/MaybeTooltip.story.d.ts +1 -2
- package/dist/src/MaybeTooltip/MaybeTooltip.story.js +4 -5
- package/dist/src/MiniTooltip/index.d.ts +2 -2
- package/dist/src/MiniTooltip/index.js +3 -7
- package/dist/src/Modal/Modal.d.ts +5 -3
- package/dist/src/Modal/Modal.js +7 -12
- package/dist/src/Modal/Modal.story.d.ts +1 -23
- package/dist/src/Modal/Modal.story.js +10 -40
- package/dist/src/Modal/ModalCloseButton.d.ts +4 -2
- package/dist/src/Modal/ModalContent.d.ts +1 -1
- package/dist/src/NDSProvider/ComponentVariantContext.d.ts +1 -1
- package/dist/src/NDSProvider/ComponentVariantContext.js +3 -2
- package/dist/src/NDSProvider/FeatureFlagsContext.d.ts +1 -1
- package/dist/src/NDSProvider/FeatureFlagsContext.js +3 -2
- package/dist/src/NDSProvider/GlobalStylesComposer.d.ts +1 -1
- package/dist/src/NDSProvider/GlobalStylesComposer.js +3 -6
- package/dist/src/NDSProvider/LocaleContext.d.ts +1 -1
- package/dist/src/NDSProvider/LocaleContext.js +2 -1
- package/dist/src/NDSProvider/NDSProvider.d.ts +1 -1
- package/dist/src/NDSProvider/NDSProvider.js +3 -7
- package/dist/src/NDSProvider/renderWithNDSProvider.spec-utils.js +2 -2
- package/dist/src/NavBarSearch/NavBarSearch.d.ts +1 -1
- package/dist/src/NavBarSearch/NavBarSearch.js +2 -5
- package/dist/src/Navigation/Navigation.d.ts +1 -1
- package/dist/src/Navigation/Navigation.js +2 -2
- package/dist/src/Navigation/components/AppSwitcher/NulogyAppSwitcher.d.ts +1 -1
- package/dist/src/Navigation/components/AppSwitcher/NulogyAppSwitcher.js +3 -12
- package/dist/src/Navigation/components/AppSwitcher/parts/Item.d.ts +3 -1
- package/dist/src/Navigation/components/AppSwitcher/parts/Item.js +2 -1
- package/dist/src/Navigation/components/AppSwitcher/parts/Link.js +2 -2
- package/dist/src/Navigation/components/AppSwitcher/parts/index.d.ts +15 -7
- package/dist/src/Navigation/components/DesktopNav/DesktopNav.d.ts +1 -2
- package/dist/src/Navigation/components/DesktopNav/DesktopNav.js +3 -30
- package/dist/src/Navigation/components/DesktopNav/parts/MoreMenuItem.d.ts +6 -2
- package/dist/src/Navigation/components/DesktopNav/parts/MoreMenuItem.js +2 -2
- package/dist/src/Navigation/components/EnvironmentBanner/EnvironmentBanner.d.ts +1 -1
- package/dist/src/Navigation/components/EnvironmentBanner/EnvironmentBanner.js +2 -3
- package/dist/src/Navigation/components/MenuSubItem/MenuSubItem.d.ts +1 -2
- package/dist/src/Navigation/components/MenuSubItem/MenuSubItem.js +5 -13
- package/dist/src/Navigation/components/MenuSubItem/parts/styled.d.ts +17 -5
- package/dist/src/Navigation/components/MobileNav/MobileNav.d.ts +1 -2
- package/dist/src/Navigation/components/MobileNav/MobileNav.js +2 -29
- package/dist/src/Navigation/components/MobileNav/parts/MobileMenuItem.js +11 -27
- package/dist/src/Navigation/components/MobileNav/parts/styled.d.ts +10 -4
- package/dist/src/Navigation/components/NulogyLogo/NulogyLogo.d.ts +1 -2
- package/dist/src/Navigation/components/NulogyLogo/NulogyLogo.js +8 -10
- package/dist/src/Navigation/components/NulogyLogo/SvgNulogyLogo.d.ts +2 -2
- package/dist/src/Navigation/components/NulogyLogo/SvgNulogyLogo.js +2 -9
- package/dist/src/Navigation/components/UserMenu/UserMenu.d.ts +6 -2
- package/dist/src/Navigation/components/UserMenu/parts/Header.d.ts +1 -2
- package/dist/src/Navigation/components/UserMenu/parts/Header.js +2 -6
- package/dist/src/Navigation/components/UserMenu/parts/Item.js +5 -7
- package/dist/src/Navigation/components/UserMenu/parts/MobileItem.js +6 -10
- package/dist/src/Navigation/components/UserMenu/parts/styled.d.ts +6 -2
- package/dist/src/Navigation/components/shared/NavigationLogo.d.ts +1 -1
- package/dist/src/Navigation/components/shared/NavigationLogo.js +2 -2
- package/dist/src/Navigation/components/shared/NavigationLogoLink.d.ts +1 -2
- package/dist/src/Navigation/components/shared/NavigationLogoLink.js +2 -2
- package/dist/src/Navigation/components/shared/NavigationMenuContent.d.ts +5 -1
- package/dist/src/Navigation/components/shared/NavigationMenuItem.d.ts +3 -1
- package/dist/src/Navigation/components/shared/NavigationMenuItem.js +9 -18
- package/dist/src/Navigation/components/shared/components.d.ts +35 -9
- package/dist/src/Navigation/stories/Navigation.appSwitcher.story.d.ts +4 -5
- package/dist/src/Navigation/stories/Navigation.appSwitcher.story.js +10 -30
- package/dist/src/Navigation/stories/Navigation.logos.story.d.ts +9 -10
- package/dist/src/Navigation/stories/Navigation.logos.story.js +11 -70
- package/dist/src/Navigation/stories/Navigation.mobileVisibility.story.d.ts +5 -6
- package/dist/src/Navigation/stories/Navigation.mobileVisibility.story.js +12 -38
- package/dist/src/Navigation/stories/Navigation.navigationMenus.story.d.ts +5 -6
- package/dist/src/Navigation/stories/Navigation.navigationMenus.story.js +17 -70
- package/dist/src/Navigation/stories/Navigation.navigationMenus.subMenus.story.d.ts +3 -4
- package/dist/src/Navigation/stories/Navigation.navigationMenus.subMenus.story.js +4 -4
- package/dist/src/Navigation/stories/Navigation.story.d.ts +3 -4
- package/dist/src/Navigation/stories/Navigation.story.js +16 -36
- package/dist/src/Navigation/stories/Navigation.userMenu.story.d.ts +5 -6
- package/dist/src/Navigation/stories/Navigation.userMenu.story.js +40 -71
- package/dist/src/Navigation/stories/fixtures/logos/CustomLogo2.d.ts +2 -2
- package/dist/src/Navigation/stories/fixtures/logos/CustomLogo2.js +2 -13
- package/dist/src/Navigation/stories/fixtures/logos/CustomLogo3.d.ts +2 -2
- package/dist/src/Navigation/stories/fixtures/logos/CustomLogo3.js +2 -29
- package/dist/src/Navigation/stories/fixtures/logos/Customlogo1.d.ts +2 -2
- package/dist/src/Navigation/stories/fixtures/logos/Customlogo1.js +2 -3
- package/dist/src/Overlay/Overlay.story.d.ts +2 -3
- package/dist/src/Overlay/Overlay.story.js +3 -9
- package/dist/src/Pagination/NextButton.d.ts +1 -1
- package/dist/src/Pagination/NextButton.js +2 -4
- package/dist/src/Pagination/Pagination.d.ts +2 -2
- package/dist/src/Pagination/Pagination.js +23 -26
- package/dist/src/Pagination/Pagination.story.d.ts +6 -7
- package/dist/src/Pagination/Pagination.story.js +12 -44
- package/dist/src/Pagination/PaginationCount.d.ts +1 -2
- package/dist/src/Pagination/PaginationCount.js +2 -2
- package/dist/src/Pagination/PreviousButton.d.ts +1 -1
- package/dist/src/Pagination/PreviousButton.js +2 -4
- package/dist/src/Popper/Popper.js +25 -26
- package/dist/src/Radio/Radio.js +3 -9
- package/dist/src/Radio/Radio.story.d.ts +12 -14
- package/dist/src/Radio/Radio.story.js +8 -16
- package/dist/src/Radio/RadioGroup.d.ts +1 -1
- package/dist/src/Radio/RadioGroup.js +3 -8
- package/dist/src/Radio/RadioGroup.story.d.ts +6 -7
- package/dist/src/Radio/RadioGroup.story.js +7 -28
- package/dist/src/RangeContainer/RangeContainer.d.ts +1 -1
- package/dist/src/RangeContainer/RangeContainer.js +2 -9
- package/dist/src/RangeContainer/RangeContainer.story.d.ts +1 -2
- package/dist/src/RangeContainer/RangeContainer.story.js +2 -2
- package/dist/src/Select/MenuList.d.ts +1 -2
- package/dist/src/Select/MenuList.js +10 -10
- package/dist/src/Select/Select.js +18 -20
- package/dist/src/Select/Select.story.d.ts +24 -24
- package/dist/src/Select/Select.story.fixture.d.ts +2 -3
- package/dist/src/Select/Select.story.fixture.js +4 -8
- package/dist/src/Select/Select.story.js +29 -52
- package/dist/src/Select/SelectComponents.d.ts +7 -8
- package/dist/src/Select/SelectComponents.js +8 -15
- package/dist/src/Select/SelectOption.d.ts +1 -1
- package/dist/src/Select/SelectOption.js +2 -3
- package/dist/src/SortingTable/SortingTable.d.ts +1 -2
- package/dist/src/SortingTable/SortingTable.js +4 -3
- package/dist/src/SortingTable/SortingTable.story.d.ts +1 -2
- package/dist/src/SortingTable/SortingTable.story.js +2 -2
- package/dist/src/StatusIndicator/StatusIndicator.story.d.ts +10 -11
- package/dist/src/StatusIndicator/StatusIndicator.story.js +11 -51
- package/dist/src/Summary/Summary.d.ts +1 -2
- package/dist/src/Summary/Summary.js +4 -5
- package/dist/src/Summary/Summary.story.d.ts +2 -3
- package/dist/src/Summary/Summary.story.js +3 -11
- package/dist/src/Summary/SummaryContext.d.ts +3 -1
- package/dist/src/Summary/SummaryContext.js +6 -5
- package/dist/src/Summary/SummaryDivider.d.ts +1 -2
- package/dist/src/Summary/SummaryDivider.js +2 -2
- package/dist/src/Summary/SummaryItem.d.ts +1 -1
- package/dist/src/Summary/SummaryItem.js +4 -6
- package/dist/src/Switcher/Switch.js +2 -1
- package/dist/src/Switcher/Switcher.d.ts +2 -2
- package/dist/src/Switcher/Switcher.js +4 -4
- package/dist/src/Switcher/Switcher.story.d.ts +3 -4
- package/dist/src/Switcher/Switcher.story.js +5 -17
- package/dist/src/Table/BaseTable.d.ts +2 -2
- package/dist/src/Table/BaseTable.js +2 -5
- package/dist/src/Table/SortingColumnHeader.d.ts +1 -1
- package/dist/src/Table/SortingColumnHeader.js +2 -4
- package/dist/src/Table/StatefulTable.d.ts +1 -1
- package/dist/src/Table/StatefulTable.js +3 -4
- package/dist/src/Table/Table.d.ts +1 -2
- package/dist/src/Table/Table.js +2 -2
- package/dist/src/Table/TableBody.d.ts +2 -2
- package/dist/src/Table/TableBody.js +8 -13
- package/dist/src/Table/TableCell.d.ts +1 -1
- package/dist/src/Table/TableCell.js +3 -3
- package/dist/src/Table/TableFoot.d.ts +1 -2
- package/dist/src/Table/TableFoot.js +8 -8
- package/dist/src/Table/TableHead.d.ts +1 -2
- package/dist/src/Table/TableHead.js +3 -4
- package/dist/src/Table/addExpandableControl.js +3 -3
- package/dist/src/Table/addSelectableControl.js +4 -4
- package/dist/src/Table/stories/BaseTable.story.d.ts +7 -8
- package/dist/src/Table/stories/BaseTable.story.js +15 -24
- package/dist/src/Table/stories/CustomContent.story.d.ts +2 -3
- package/dist/src/Table/stories/CustomContent.story.js +89 -116
- package/dist/src/Table/stories/Density.story.d.ts +2 -3
- package/dist/src/Table/stories/Density.story.js +3 -3
- package/dist/src/Table/stories/Table.story.js +6 -13
- package/dist/src/Table/stories/TableWithCustomSorting.story.d.ts +1 -2
- package/dist/src/Table/stories/TableWithCustomSorting.story.js +5 -4
- package/dist/src/Table/stories/TableWithExpandableRows.story.d.ts +2 -3
- package/dist/src/Table/stories/TableWithExpandableRows.story.js +4 -5
- package/dist/src/Table/stories/TableWithFiltering.story.d.ts +2 -3
- package/dist/src/Table/stories/TableWithFiltering.story.js +7 -6
- package/dist/src/Table/stories/TableWithSelectableRows.story.d.ts +2 -3
- package/dist/src/Table/stories/TableWithSelectableRows.story.js +3 -3
- package/dist/src/Table/stories/TableWithServerSidePagination.story.d.ts +1 -2
- package/dist/src/Table/stories/TableWithServerSidePagination.story.js +3 -4
- package/dist/src/Tabs/Tab.js +2 -1
- package/dist/src/Tabs/TabScrollIndicator.d.ts +1 -1
- package/dist/src/Tabs/TabScrollIndicator.js +4 -5
- package/dist/src/Tabs/TabScrollIndicators.d.ts +1 -1
- package/dist/src/Tabs/TabScrollIndicators.js +5 -8
- package/dist/src/Tabs/Tabs.d.ts +2 -2
- package/dist/src/Tabs/Tabs.js +3 -6
- package/dist/src/Tabs/Tabs.story.d.ts +9 -10
- package/dist/src/Tabs/Tabs.story.js +11 -60
- package/dist/src/Textarea/Textarea.js +3 -5
- package/dist/src/Textarea/Textarea.story.d.ts +9 -10
- package/dist/src/Textarea/Textarea.story.js +11 -12
- package/dist/src/TimePicker/TimePicker.d.ts +1 -1
- package/dist/src/TimePicker/TimePicker.js +10 -14
- package/dist/src/TimePicker/TimePicker.story.d.ts +10 -11
- package/dist/src/TimePicker/TimePicker.story.js +13 -14
- package/dist/src/TimePicker/TimePickerInput.d.ts +3 -1
- package/dist/src/TimeRange/TimeRange.d.ts +3 -2
- package/dist/src/TimeRange/TimeRange.js +5 -4
- package/dist/src/TimeRange/TimeRange.story.d.ts +5 -6
- package/dist/src/TimeRange/TimeRange.story.js +7 -9
- package/dist/src/Toast/Toast.d.ts +1 -2
- package/dist/src/Toast/Toast.js +3 -3
- package/dist/src/Toast/Toast.story.d.ts +7 -8
- package/dist/src/Toast/Toast.story.js +18 -39
- package/dist/src/ToastContainer/ToastContainer.d.ts +1 -2
- package/dist/src/ToastContainer/ToastContainer.js +3 -2
- package/dist/src/ToastContainer/ToastContainer.story.d.ts +1 -2
- package/dist/src/ToastContainer/ToastContainer.story.js +26 -51
- package/dist/src/ToastContainer/ToastFunction.js +8 -9
- package/dist/src/Toggle/Toggle.js +2 -5
- package/dist/src/Toggle/Toggle.story.d.ts +8 -9
- package/dist/src/Toggle/Toggle.story.js +10 -14
- package/dist/src/Toggle/ToggleButton.js +7 -8
- package/dist/src/Tokens/Tokens.story.d.ts +9 -10
- package/dist/src/Tokens/Tokens.story.js +13 -46
- package/dist/src/Tooltip/Tooltip.d.ts +1 -1
- package/dist/src/Tooltip/Tooltip.js +2 -6
- package/dist/src/Tooltip/Tooltip.story.js +14 -89
- package/dist/src/Tooltip/components/TooltipComponents.d.ts +1 -1
- package/dist/src/Tooltip/components/TooltipComponents.js +5 -7
- package/dist/src/TopBar/TopBar.d.ts +1 -1
- package/dist/src/TopBar/TopBar.js +2 -4
- package/dist/src/TopBar/TopBar.styled.d.ts +16 -15
- package/dist/src/TopBar/components/BackLink.d.ts +3 -1
- package/dist/src/TopBar/components/BackLink.js +2 -5
- package/dist/src/TopBar/components/Menu.d.ts +1 -1
- package/dist/src/TopBar/components/Menu.js +6 -10
- package/dist/src/TopBar/components/MenuItem.d.ts +1 -1
- package/dist/src/TopBar/components/MenuItem.js +2 -2
- package/dist/src/TopBar/components/MenuItemLink.d.ts +3 -1
- package/dist/src/TopBar/components/MenuItemLink.js +2 -6
- package/dist/src/TopBar/components/PageTitle.d.ts +2 -2
- package/dist/src/TopBar/components/PageTitle.js +2 -2
- package/dist/src/TopBar/stories/TopBar.backButton.story.d.ts +3 -4
- package/dist/src/TopBar/stories/TopBar.backButton.story.js +9 -21
- package/dist/src/TopBar/stories/TopBar.menu.story.d.ts +5 -6
- package/dist/src/TopBar/stories/TopBar.menu.story.js +6 -27
- package/dist/src/TopBar/stories/TopBar.story.d.ts +3 -4
- package/dist/src/TopBar/stories/TopBar.story.js +4 -38
- package/dist/src/TruncatedText/TruncatedText.d.ts +1 -2
- package/dist/src/TruncatedText/TruncatedText.js +3 -3
- package/dist/src/TruncatedText/TruncatedText.story.d.ts +9 -10
- package/dist/src/TruncatedText/TruncatedText.story.js +10 -17
- package/dist/src/TruncatedText/components/TruncatedTextFillWidth.d.ts +1 -2
- package/dist/src/TruncatedText/components/TruncatedTextFillWidth.js +3 -3
- package/dist/src/TruncatedText/components/TruncatedTextMaxCharacters.d.ts +1 -2
- package/dist/src/TruncatedText/components/TruncatedTextMaxCharacters.js +2 -3
- package/dist/src/Type/Headings.d.ts +8 -8
- package/dist/src/Type/Headings.story.d.ts +3 -4
- package/dist/src/Type/Headings.story.js +4 -12
- package/dist/src/Type/Text.story.d.ts +6 -7
- package/dist/src/Type/Text.story.js +7 -24
- package/dist/src/Type/Typography.story.d.ts +2 -3
- package/dist/src/Type/Typography.story.js +3 -204
- package/dist/src/Validation/InlineValidation.d.ts +1 -1
- package/dist/src/Validation/InlineValidation.js +2 -7
- package/dist/src/Validation/InlineValidation.story.d.ts +4 -5
- package/dist/src/Validation/InlineValidation.story.js +5 -10
- package/dist/src/Validation/mapErrorsToList.d.ts +1 -2
- package/dist/src/Validation/mapErrorsToList.js +2 -2
- package/dist/src/VerticalDivider/VerticalDivider.story.d.ts +2 -2
- package/dist/src/VerticalDivider/VerticalDivider.story.js +3 -9
- package/dist/src/VisualTests/Select.story.d.ts +6 -7
- package/dist/src/VisualTests/Select.story.js +7 -15
- package/dist/src/VisualTests/WithSpace.story.d.ts +18 -19
- package/dist/src/VisualTests/WithSpace.story.js +19 -39
- package/dist/src/i18n.js +4 -0
- package/dist/src/locale.story.d.ts +1 -2
- package/dist/src/locale.story.js +8 -7
- package/dist/src/locales.const.d.ts +5 -0
- package/dist/src/locales.const.js +7 -1
- package/dist/src/pages/ErrorPage.story.d.ts +4 -5
- package/dist/src/pages/ErrorPage.story.js +5 -31
- package/dist/src/pages/LoginPage.story.d.ts +5 -6
- package/dist/src/pages/LoginPage.story.js +6 -55
- package/dist/src/theme/NDSThemeProvider.d.ts +1 -2
- package/dist/src/theme/NDSThemeProvider.js +2 -3
- package/dist/src/utils/DetectOutsideClick.d.ts +1 -1
- package/dist/src/utils/DetectOutsideClick.js +2 -1
- package/dist/src/utils/ScrollIndicators.d.ts +1 -1
- package/dist/src/utils/ScrollIndicators.js +7 -13
- package/dist/src/utils/story/dashed.d.ts +1 -3
- package/dist/src/utils/story/placeholder.d.ts +1 -2
- package/dist/src/utils/story/placeholder.js +2 -7
- package/dist/src/utils/story/resizable.d.ts +5 -3
- package/dist/src/utils/story/resizable.js +5 -8
- package/dist/src/utils/ts/FocusManager.d.ts +1 -1
- package/dist/src/utils/ts/FocusManager.js +9 -8
- package/dist/src/utils/useWindowDimension.story.d.ts +1 -2
- package/dist/src/utils/useWindowDimension.story.js +2 -14
- package/dist/src/utils/withMenuState.js +2 -1
- package/dist/vite.config.js +2 -0
- package/package.json +32 -35
package/dist/main.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(global2, factory) {
|
|
2
|
-
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("react/jsx-runtime"), require("react"), require("styled-components"), require("@nulogy/icons"), require("react-fast-compare"), require("warning"), require("react-dom"), require("react-is"), require("deep-equal"), require("classnames"), require("exenv")) : typeof define === "function" && define.amd ? define(["exports", "react/jsx-runtime", "react", "styled-components", "@nulogy/icons", "react-fast-compare", "warning", "react-dom", "react-is", "deep-equal", "classnames", "exenv"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2.NDSComponents = {}, global2.
|
|
2
|
+
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("react/jsx-runtime"), require("react"), require("styled-components"), require("@nulogy/icons"), require("react-fast-compare"), require("warning"), require("react-dom"), require("react-is"), require("deep-equal"), require("classnames"), require("exenv")) : typeof define === "function" && define.amd ? define(["exports", "react/jsx-runtime", "react", "styled-components", "@nulogy/icons", "react-fast-compare", "warning", "react-dom", "react-is", "deep-equal", "classnames", "exenv"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2.NDSComponents = {}, global2.React, global2.React, global2.styled, global2.icons, global2.isEqual, global2.warning, global2.reactDom, global2.reactIs, global2.deepEqual, global2.t, global2.exenv));
|
|
3
3
|
})(this, (function(exports2, jsxRuntime, React, styledComponents, icons, isEqual$3, warning$2, ReactDOM, require$$0, equal, r, require$$0$1) {
|
|
4
4
|
"use strict";
|
|
5
5
|
function _interopNamespaceDefault(e2) {
|
|
@@ -1652,7 +1652,7 @@
|
|
|
1652
1652
|
const toFromDifference = to - from2;
|
|
1653
1653
|
return toFromDifference === 0 ? 1 : (value - from2) / toFromDifference;
|
|
1654
1654
|
};
|
|
1655
|
-
const mix = (from2, to, progress2) => -progress2 * from2 + progress2 * to + from2;
|
|
1655
|
+
const mix$2 = (from2, to, progress2) => -progress2 * from2 + progress2 * to + from2;
|
|
1656
1656
|
function hueToRgb(p2, q, t2) {
|
|
1657
1657
|
if (t2 < 0)
|
|
1658
1658
|
t2 += 1;
|
|
@@ -1719,7 +1719,7 @@
|
|
|
1719
1719
|
blended[key] = mixLinearColor(fromColor[key], toColor[key], v2);
|
|
1720
1720
|
}
|
|
1721
1721
|
}
|
|
1722
|
-
blended.alpha = mix(fromColor.alpha, toColor.alpha, v2);
|
|
1722
|
+
blended.alpha = mix$2(fromColor.alpha, toColor.alpha, v2);
|
|
1723
1723
|
return fromColorType.transform(blended);
|
|
1724
1724
|
};
|
|
1725
1725
|
};
|
|
@@ -1728,7 +1728,7 @@
|
|
|
1728
1728
|
const pipe = (...transformers) => transformers.reduce(combineFunctions);
|
|
1729
1729
|
function getMixer(origin, target) {
|
|
1730
1730
|
if (isNum(origin)) {
|
|
1731
|
-
return (v2) => mix(origin, target, v2);
|
|
1731
|
+
return (v2) => mix$2(origin, target, v2);
|
|
1732
1732
|
} else if (color$1.test(origin)) {
|
|
1733
1733
|
return mixColor(origin, target);
|
|
1734
1734
|
} else {
|
|
@@ -1792,7 +1792,7 @@
|
|
|
1792
1792
|
return (p2) => `${p2 > 0 ? target : origin}`;
|
|
1793
1793
|
}
|
|
1794
1794
|
};
|
|
1795
|
-
const mixNumber = (from2, to) => (p2) => mix(from2, to, p2);
|
|
1795
|
+
const mixNumber = (from2, to) => (p2) => mix$2(from2, to, p2);
|
|
1796
1796
|
function detectMixerFactory(v2) {
|
|
1797
1797
|
if (typeof v2 === "number") {
|
|
1798
1798
|
return mixNumber;
|
|
@@ -3486,11 +3486,11 @@
|
|
|
3486
3486
|
origin = 0.5;
|
|
3487
3487
|
}
|
|
3488
3488
|
delta.origin = origin;
|
|
3489
|
-
delta.originPoint = mix(source.min, source.max, delta.origin);
|
|
3489
|
+
delta.originPoint = mix$2(source.min, source.max, delta.origin);
|
|
3490
3490
|
delta.scale = calcLength(target) / calcLength(source);
|
|
3491
3491
|
if (isNear(delta.scale, 1, 1e-4) || isNaN(delta.scale))
|
|
3492
3492
|
delta.scale = 1;
|
|
3493
|
-
delta.translate = mix(target.min, target.max, delta.origin) - delta.originPoint;
|
|
3493
|
+
delta.translate = mix$2(target.min, target.max, delta.origin) - delta.originPoint;
|
|
3494
3494
|
if (isNear(delta.translate) || isNaN(delta.translate))
|
|
3495
3495
|
delta.translate = 0;
|
|
3496
3496
|
}
|
|
@@ -3517,9 +3517,9 @@
|
|
|
3517
3517
|
function applyConstraints(point, _a, elastic) {
|
|
3518
3518
|
var min2 = _a.min, max2 = _a.max;
|
|
3519
3519
|
if (min2 !== void 0 && point < min2) {
|
|
3520
|
-
point = elastic ? mix(min2, point, elastic.min) : Math.max(point, min2);
|
|
3520
|
+
point = elastic ? mix$2(min2, point, elastic.min) : Math.max(point, min2);
|
|
3521
3521
|
} else if (max2 !== void 0 && point > max2) {
|
|
3522
|
-
point = elastic ? mix(max2, point, elastic.max) : Math.min(point, max2);
|
|
3522
|
+
point = elastic ? mix$2(max2, point, elastic.max) : Math.min(point, max2);
|
|
3523
3523
|
}
|
|
3524
3524
|
return point;
|
|
3525
3525
|
}
|
|
@@ -3721,7 +3721,7 @@
|
|
|
3721
3721
|
function transformAxis(axis, transforms2, _a) {
|
|
3722
3722
|
var _b = __read(_a, 3), key = _b[0], scaleKey = _b[1], originKey = _b[2];
|
|
3723
3723
|
var axisOrigin = transforms2[originKey] !== void 0 ? transforms2[originKey] : 0.5;
|
|
3724
|
-
var originPoint = mix(axis.min, axis.max, axisOrigin);
|
|
3724
|
+
var originPoint = mix$2(axis.min, axis.max, axisOrigin);
|
|
3725
3725
|
applyAxisDelta(axis, transforms2[key], transforms2[scaleKey], originPoint, transforms2.scale);
|
|
3726
3726
|
}
|
|
3727
3727
|
var xKeys$1 = ["x", "scaleX", "originX"];
|
|
@@ -3952,7 +3952,7 @@
|
|
|
3952
3952
|
var axisValue = _this.getAxisMotionValue(axis);
|
|
3953
3953
|
if (projection && projection.layout) {
|
|
3954
3954
|
var _a = projection.layout.actual[axis], min2 = _a.min, max2 = _a.max;
|
|
3955
|
-
axisValue.set(point[axis] - mix(min2, max2, 0.5));
|
|
3955
|
+
axisValue.set(point[axis] - mix$2(min2, max2, 0.5));
|
|
3956
3956
|
}
|
|
3957
3957
|
});
|
|
3958
3958
|
};
|
|
@@ -3982,7 +3982,7 @@
|
|
|
3982
3982
|
return;
|
|
3983
3983
|
var axisValue = _this.getAxisMotionValue(axis);
|
|
3984
3984
|
var _a2 = _this.constraints[axis], min2 = _a2.min, max2 = _a2.max;
|
|
3985
|
-
axisValue.set(mix(min2, max2, boxProgress[axis]));
|
|
3985
|
+
axisValue.set(mix$2(min2, max2, boxProgress[axis]));
|
|
3986
3986
|
});
|
|
3987
3987
|
};
|
|
3988
3988
|
VisualElementDragControls2.prototype.addListeners = function() {
|
|
@@ -4967,7 +4967,7 @@
|
|
|
4967
4967
|
var yScale = projectionDelta.y.scale * treeScale.y;
|
|
4968
4968
|
shadow2[0 + offset2] /= xScale;
|
|
4969
4969
|
shadow2[1 + offset2] /= yScale;
|
|
4970
|
-
var averageScale = mix(xScale, yScale, 0.5);
|
|
4970
|
+
var averageScale = mix$2(xScale, yScale, 0.5);
|
|
4971
4971
|
if (typeof shadow2[2 + offset2] === "number")
|
|
4972
4972
|
shadow2[2 + offset2] /= averageScale;
|
|
4973
4973
|
if (typeof shadow2[3 + offset2] === "number")
|
|
@@ -5115,16 +5115,16 @@
|
|
|
5115
5115
|
function mixValues(target, follow, lead, progress2, shouldCrossfadeOpacity, isOnlyMember) {
|
|
5116
5116
|
var _a, _b, _c, _d;
|
|
5117
5117
|
if (shouldCrossfadeOpacity) {
|
|
5118
|
-
target.opacity = mix(
|
|
5118
|
+
target.opacity = mix$2(
|
|
5119
5119
|
0,
|
|
5120
5120
|
// (follow?.opacity as number) ?? 0,
|
|
5121
5121
|
// TODO Reinstate this if only child
|
|
5122
5122
|
(_a = lead.opacity) !== null && _a !== void 0 ? _a : 1,
|
|
5123
5123
|
easeCrossfadeIn(progress2)
|
|
5124
5124
|
);
|
|
5125
|
-
target.opacityExit = mix((_b = follow.opacity) !== null && _b !== void 0 ? _b : 1, 0, easeCrossfadeOut(progress2));
|
|
5125
|
+
target.opacityExit = mix$2((_b = follow.opacity) !== null && _b !== void 0 ? _b : 1, 0, easeCrossfadeOut(progress2));
|
|
5126
5126
|
} else if (isOnlyMember) {
|
|
5127
|
-
target.opacity = mix((_c = follow.opacity) !== null && _c !== void 0 ? _c : 1, (_d = lead.opacity) !== null && _d !== void 0 ? _d : 1, progress2);
|
|
5127
|
+
target.opacity = mix$2((_c = follow.opacity) !== null && _c !== void 0 ? _c : 1, (_d = lead.opacity) !== null && _d !== void 0 ? _d : 1, progress2);
|
|
5128
5128
|
}
|
|
5129
5129
|
for (var i2 = 0; i2 < numBorders; i2++) {
|
|
5130
5130
|
var borderLabel = "border".concat(borders[i2], "Radius");
|
|
@@ -5136,7 +5136,7 @@
|
|
|
5136
5136
|
leadRadius || (leadRadius = 0);
|
|
5137
5137
|
var canMix = followRadius === 0 || leadRadius === 0 || isPx(followRadius) === isPx(leadRadius);
|
|
5138
5138
|
if (canMix) {
|
|
5139
|
-
target[borderLabel] = Math.max(mix(asNumber(followRadius), asNumber(leadRadius), progress2), 0);
|
|
5139
|
+
target[borderLabel] = Math.max(mix$2(asNumber(followRadius), asNumber(leadRadius), progress2), 0);
|
|
5140
5140
|
if (percent.test(leadRadius) || percent.test(followRadius)) {
|
|
5141
5141
|
target[borderLabel] += "%";
|
|
5142
5142
|
}
|
|
@@ -5145,7 +5145,7 @@
|
|
|
5145
5145
|
}
|
|
5146
5146
|
}
|
|
5147
5147
|
if (follow.rotate || lead.rotate) {
|
|
5148
|
-
target.rotate = mix(follow.rotate || 0, lead.rotate || 0, progress2);
|
|
5148
|
+
target.rotate = mix$2(follow.rotate || 0, lead.rotate || 0, progress2);
|
|
5149
5149
|
}
|
|
5150
5150
|
}
|
|
5151
5151
|
function getRadius(values, radiusName) {
|
|
@@ -5197,12 +5197,12 @@
|
|
|
5197
5197
|
}
|
|
5198
5198
|
if (percent.test(translate)) {
|
|
5199
5199
|
translate = parseFloat(translate);
|
|
5200
|
-
var relativeProgress = mix(sourceAxis.min, sourceAxis.max, translate / 100);
|
|
5200
|
+
var relativeProgress = mix$2(sourceAxis.min, sourceAxis.max, translate / 100);
|
|
5201
5201
|
translate = relativeProgress - sourceAxis.min;
|
|
5202
5202
|
}
|
|
5203
5203
|
if (typeof translate !== "number")
|
|
5204
5204
|
return;
|
|
5205
|
-
var originPoint = mix(originAxis.min, originAxis.max, origin);
|
|
5205
|
+
var originPoint = mix$2(originAxis.min, originAxis.max, origin);
|
|
5206
5206
|
if (axis === originAxis)
|
|
5207
5207
|
originPoint -= translate;
|
|
5208
5208
|
axis.min = removePointDelta(axis.min, translate, scale2, originPoint, boxScale);
|
|
@@ -6199,14 +6199,14 @@
|
|
|
6199
6199
|
stack.removeLeadSnapshot();
|
|
6200
6200
|
}
|
|
6201
6201
|
function mixAxisDelta(output, delta, p2) {
|
|
6202
|
-
output.translate = mix(delta.translate, 0, p2);
|
|
6203
|
-
output.scale = mix(delta.scale, 1, p2);
|
|
6202
|
+
output.translate = mix$2(delta.translate, 0, p2);
|
|
6203
|
+
output.scale = mix$2(delta.scale, 1, p2);
|
|
6204
6204
|
output.origin = delta.origin;
|
|
6205
6205
|
output.originPoint = delta.originPoint;
|
|
6206
6206
|
}
|
|
6207
6207
|
function mixAxis(output, from2, to, p2) {
|
|
6208
|
-
output.min = mix(from2.min, to.min, p2);
|
|
6209
|
-
output.max = mix(from2.max, to.max, p2);
|
|
6208
|
+
output.min = mix$2(from2.min, to.min, p2);
|
|
6209
|
+
output.max = mix$2(from2.max, to.max, p2);
|
|
6210
6210
|
}
|
|
6211
6211
|
function mixBox(output, from2, to, p2) {
|
|
6212
6212
|
mixAxis(output.x, from2.x, to.x, p2);
|
|
@@ -6466,7 +6466,12 @@
|
|
|
6466
6466
|
var f2 = n2.default;
|
|
6467
6467
|
if (typeof f2 == "function") {
|
|
6468
6468
|
var a2 = function a3() {
|
|
6469
|
-
|
|
6469
|
+
var isInstance = false;
|
|
6470
|
+
try {
|
|
6471
|
+
isInstance = this instanceof a3;
|
|
6472
|
+
} catch {
|
|
6473
|
+
}
|
|
6474
|
+
if (isInstance) {
|
|
6470
6475
|
return Reflect.construct(f2, arguments, this.constructor);
|
|
6471
6476
|
}
|
|
6472
6477
|
return f2.apply(this, arguments);
|
|
@@ -6485,11 +6490,6 @@
|
|
|
6485
6490
|
});
|
|
6486
6491
|
return a2;
|
|
6487
6492
|
}
|
|
6488
|
-
/*
|
|
6489
|
-
object-assign
|
|
6490
|
-
(c) Sindre Sorhus
|
|
6491
|
-
@license MIT
|
|
6492
|
-
*/
|
|
6493
6493
|
var objectAssign;
|
|
6494
6494
|
var hasRequiredObjectAssign;
|
|
6495
6495
|
function requireObjectAssign() {
|
|
@@ -8813,7 +8813,13 @@
|
|
|
8813
8813
|
"69": 'Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead.\n\n',
|
|
8814
8814
|
"70": 'Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead.\n\n',
|
|
8815
8815
|
"71": 'Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12.\n\n',
|
|
8816
|
-
"72": 'Passed invalid base value %s to %s(), please pass a value like "12px" or 12.\n'
|
|
8816
|
+
"72": 'Passed invalid base value %s to %s(), please pass a value like "12px" or 12.\n\n',
|
|
8817
|
+
"73": "Please provide a valid CSS variable.\n\n",
|
|
8818
|
+
"74": "CSS variable not found and no default was provided.\n\n",
|
|
8819
|
+
"75": "important requires a valid style object, got a %s instead.\n\n",
|
|
8820
|
+
"76": "fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.\n\n",
|
|
8821
|
+
"77": 'remToPx expects a value in "rem" but you provided it in "%s".\n\n',
|
|
8822
|
+
"78": 'base must be set in "px" or "%" but you set it in "%s".\n'
|
|
8817
8823
|
};
|
|
8818
8824
|
function format$2() {
|
|
8819
8825
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
@@ -8835,7 +8841,7 @@
|
|
|
8835
8841
|
function PolishedError2(code) {
|
|
8836
8842
|
var _this;
|
|
8837
8843
|
if (process.env.NODE_ENV === "production") {
|
|
8838
|
-
_this = _Error.call(this, "An error occurred. See https://github.com/styled-components/polished/blob/
|
|
8844
|
+
_this = _Error.call(this, "An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#" + code + " for more information.") || this;
|
|
8839
8845
|
} else {
|
|
8840
8846
|
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
8841
8847
|
args[_key2 - 1] = arguments[_key2];
|
|
@@ -8845,9 +8851,7 @@
|
|
|
8845
8851
|
return _assertThisInitialized$1(_this);
|
|
8846
8852
|
}
|
|
8847
8853
|
return PolishedError2;
|
|
8848
|
-
})(
|
|
8849
|
-
/* @__PURE__ */ _wrapNativeSuper(Error)
|
|
8850
|
-
);
|
|
8854
|
+
})(/* @__PURE__ */ _wrapNativeSuper(Error));
|
|
8851
8855
|
function colorToInt(color2) {
|
|
8852
8856
|
return Math.round(color2 * 255);
|
|
8853
8857
|
}
|
|
@@ -9051,10 +9055,10 @@
|
|
|
9051
9055
|
var hexRgbaRegex = /^#[a-fA-F0-9]{8}$/;
|
|
9052
9056
|
var reducedHexRegex = /^#[a-fA-F0-9]{3}$/;
|
|
9053
9057
|
var reducedRgbaHexRegex = /^#[a-fA-F0-9]{4}$/;
|
|
9054
|
-
var rgbRegex = /^rgb\(\s*(\d{1,3})\s
|
|
9055
|
-
var rgbaRegex = /^
|
|
9056
|
-
var hslRegex = /^hsl\(\s*(\d{0,3}[.]?[0-9]+)\s
|
|
9057
|
-
var hslaRegex = /^
|
|
9058
|
+
var rgbRegex = /^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i;
|
|
9059
|
+
var rgbaRegex = /^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;
|
|
9060
|
+
var hslRegex = /^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i;
|
|
9061
|
+
var hslaRegex = /^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;
|
|
9058
9062
|
function parseToRgb(color2) {
|
|
9059
9063
|
if (typeof color2 !== "string") {
|
|
9060
9064
|
throw new PolishedError(3);
|
|
@@ -9100,13 +9104,13 @@
|
|
|
9100
9104
|
blue: parseInt("" + rgbMatched[3], 10)
|
|
9101
9105
|
};
|
|
9102
9106
|
}
|
|
9103
|
-
var rgbaMatched = rgbaRegex.exec(normalizedColor);
|
|
9107
|
+
var rgbaMatched = rgbaRegex.exec(normalizedColor.substring(0, 50));
|
|
9104
9108
|
if (rgbaMatched) {
|
|
9105
9109
|
return {
|
|
9106
9110
|
red: parseInt("" + rgbaMatched[1], 10),
|
|
9107
9111
|
green: parseInt("" + rgbaMatched[2], 10),
|
|
9108
9112
|
blue: parseInt("" + rgbaMatched[3], 10),
|
|
9109
|
-
alpha: parseFloat("" + rgbaMatched[4])
|
|
9113
|
+
alpha: parseFloat("" + rgbaMatched[4]) > 1 ? parseFloat("" + rgbaMatched[4]) / 100 : parseFloat("" + rgbaMatched[4])
|
|
9110
9114
|
};
|
|
9111
9115
|
}
|
|
9112
9116
|
var hslMatched = hslRegex.exec(normalizedColor);
|
|
@@ -9125,7 +9129,7 @@
|
|
|
9125
9129
|
blue: parseInt("" + hslRgbMatched[3], 10)
|
|
9126
9130
|
};
|
|
9127
9131
|
}
|
|
9128
|
-
var hslaMatched = hslaRegex.exec(normalizedColor);
|
|
9132
|
+
var hslaMatched = hslaRegex.exec(normalizedColor.substring(0, 50));
|
|
9129
9133
|
if (hslaMatched) {
|
|
9130
9134
|
var _hue = parseInt("" + hslaMatched[1], 10);
|
|
9131
9135
|
var _saturation = parseInt("" + hslaMatched[2], 10) / 100;
|
|
@@ -9139,7 +9143,7 @@
|
|
|
9139
9143
|
red: parseInt("" + _hslRgbMatched[1], 10),
|
|
9140
9144
|
green: parseInt("" + _hslRgbMatched[2], 10),
|
|
9141
9145
|
blue: parseInt("" + _hslRgbMatched[3], 10),
|
|
9142
|
-
alpha: parseFloat("" + hslaMatched[4])
|
|
9146
|
+
alpha: parseFloat("" + hslaMatched[4]) > 1 ? parseFloat("" + hslaMatched[4]) / 100 : parseFloat("" + hslaMatched[4])
|
|
9143
9147
|
};
|
|
9144
9148
|
}
|
|
9145
9149
|
throw new PolishedError(5);
|
|
@@ -9205,6 +9209,7 @@
|
|
|
9205
9209
|
}
|
|
9206
9210
|
return value;
|
|
9207
9211
|
};
|
|
9212
|
+
var reduceHexValue$1 = reduceHexValue;
|
|
9208
9213
|
function numberToHex(value) {
|
|
9209
9214
|
var hex2 = value.toString(16);
|
|
9210
9215
|
return hex2.length === 1 ? "0" + hex2 : hex2;
|
|
@@ -9213,7 +9218,7 @@
|
|
|
9213
9218
|
return numberToHex(Math.round(color2 * 255));
|
|
9214
9219
|
}
|
|
9215
9220
|
function convertToHex(red, green, blue) {
|
|
9216
|
-
return reduceHexValue("#" + colorToHex(red) + colorToHex(green) + colorToHex(blue));
|
|
9221
|
+
return reduceHexValue$1("#" + colorToHex(red) + colorToHex(green) + colorToHex(blue));
|
|
9217
9222
|
}
|
|
9218
9223
|
function hslToHex(hue, saturation, lightness) {
|
|
9219
9224
|
return hslToRgb(hue, saturation, lightness, convertToHex);
|
|
@@ -9232,9 +9237,9 @@
|
|
|
9232
9237
|
}
|
|
9233
9238
|
function rgb(value, green, blue) {
|
|
9234
9239
|
if (typeof value === "number" && typeof green === "number" && typeof blue === "number") {
|
|
9235
|
-
return reduceHexValue("#" + numberToHex(value) + numberToHex(green) + numberToHex(blue));
|
|
9240
|
+
return reduceHexValue$1("#" + numberToHex(value) + numberToHex(green) + numberToHex(blue));
|
|
9236
9241
|
} else if (typeof value === "object" && green === void 0 && blue === void 0) {
|
|
9237
|
-
return reduceHexValue("#" + numberToHex(value.red) + numberToHex(value.green) + numberToHex(value.blue));
|
|
9242
|
+
return reduceHexValue$1("#" + numberToHex(value.red) + numberToHex(value.green) + numberToHex(value.blue));
|
|
9238
9243
|
}
|
|
9239
9244
|
throw new PolishedError(6);
|
|
9240
9245
|
}
|
|
@@ -9273,6 +9278,14 @@
|
|
|
9273
9278
|
function curry(f2) {
|
|
9274
9279
|
return curried(f2, f2.length, []);
|
|
9275
9280
|
}
|
|
9281
|
+
function adjustHue(degree, color2) {
|
|
9282
|
+
if (color2 === "transparent") return color2;
|
|
9283
|
+
var hslColor = parseToHsl(color2);
|
|
9284
|
+
return toColorString(_extends$3({}, hslColor, {
|
|
9285
|
+
hue: hslColor.hue + parseFloat(degree)
|
|
9286
|
+
}));
|
|
9287
|
+
}
|
|
9288
|
+
curry(adjustHue);
|
|
9276
9289
|
function guard(lowerBoundary, upperBoundary, value) {
|
|
9277
9290
|
return Math.max(lowerBoundary, Math.min(upperBoundary, value));
|
|
9278
9291
|
}
|
|
@@ -9283,25 +9296,120 @@
|
|
|
9283
9296
|
lightness: guard(0, 1, hslColor.lightness - parseFloat(amount))
|
|
9284
9297
|
}));
|
|
9285
9298
|
}
|
|
9286
|
-
var curriedDarken =
|
|
9299
|
+
var curriedDarken = curry(darken);
|
|
9300
|
+
var curriedDarken$1 = curriedDarken;
|
|
9301
|
+
function desaturate(amount, color2) {
|
|
9302
|
+
if (color2 === "transparent") return color2;
|
|
9303
|
+
var hslColor = parseToHsl(color2);
|
|
9304
|
+
return toColorString(_extends$3({}, hslColor, {
|
|
9305
|
+
saturation: guard(0, 1, hslColor.saturation - parseFloat(amount))
|
|
9306
|
+
}));
|
|
9307
|
+
}
|
|
9308
|
+
curry(desaturate);
|
|
9309
|
+
function lighten(amount, color2) {
|
|
9310
|
+
if (color2 === "transparent") return color2;
|
|
9311
|
+
var hslColor = parseToHsl(color2);
|
|
9312
|
+
return toColorString(_extends$3({}, hslColor, {
|
|
9313
|
+
lightness: guard(0, 1, hslColor.lightness + parseFloat(amount))
|
|
9314
|
+
}));
|
|
9315
|
+
}
|
|
9316
|
+
curry(lighten);
|
|
9317
|
+
function mix(weight, color2, otherColor) {
|
|
9318
|
+
if (color2 === "transparent") return otherColor;
|
|
9319
|
+
if (otherColor === "transparent") return color2;
|
|
9320
|
+
if (weight === 0) return otherColor;
|
|
9321
|
+
var parsedColor1 = parseToRgb(color2);
|
|
9322
|
+
var color1 = _extends$3({}, parsedColor1, {
|
|
9323
|
+
alpha: typeof parsedColor1.alpha === "number" ? parsedColor1.alpha : 1
|
|
9324
|
+
});
|
|
9325
|
+
var parsedColor2 = parseToRgb(otherColor);
|
|
9326
|
+
var color22 = _extends$3({}, parsedColor2, {
|
|
9327
|
+
alpha: typeof parsedColor2.alpha === "number" ? parsedColor2.alpha : 1
|
|
9328
|
+
});
|
|
9329
|
+
var alphaDelta = color1.alpha - color22.alpha;
|
|
9330
|
+
var x = parseFloat(weight) * 2 - 1;
|
|
9331
|
+
var y = x * alphaDelta === -1 ? x : x + alphaDelta;
|
|
9332
|
+
var z = 1 + x * alphaDelta;
|
|
9333
|
+
var weight1 = (y / z + 1) / 2;
|
|
9334
|
+
var weight2 = 1 - weight1;
|
|
9335
|
+
var mixedColor = {
|
|
9336
|
+
red: Math.floor(color1.red * weight1 + color22.red * weight2),
|
|
9337
|
+
green: Math.floor(color1.green * weight1 + color22.green * weight2),
|
|
9338
|
+
blue: Math.floor(color1.blue * weight1 + color22.blue * weight2),
|
|
9339
|
+
alpha: color1.alpha * parseFloat(weight) + color22.alpha * (1 - parseFloat(weight))
|
|
9340
|
+
};
|
|
9341
|
+
return rgba(mixedColor);
|
|
9342
|
+
}
|
|
9343
|
+
var curriedMix = curry(mix);
|
|
9344
|
+
var mix$1 = curriedMix;
|
|
9345
|
+
function opacify(amount, color2) {
|
|
9346
|
+
if (color2 === "transparent") return color2;
|
|
9347
|
+
var parsedColor = parseToRgb(color2);
|
|
9348
|
+
var alpha2 = typeof parsedColor.alpha === "number" ? parsedColor.alpha : 1;
|
|
9349
|
+
var colorWithAlpha = _extends$3({}, parsedColor, {
|
|
9350
|
+
alpha: guard(0, 1, (alpha2 * 100 + parseFloat(amount) * 100) / 100)
|
|
9351
|
+
});
|
|
9352
|
+
return rgba(colorWithAlpha);
|
|
9353
|
+
}
|
|
9354
|
+
curry(opacify);
|
|
9355
|
+
function saturate(amount, color2) {
|
|
9356
|
+
if (color2 === "transparent") return color2;
|
|
9357
|
+
var hslColor = parseToHsl(color2);
|
|
9358
|
+
return toColorString(_extends$3({}, hslColor, {
|
|
9359
|
+
saturation: guard(0, 1, hslColor.saturation + parseFloat(amount))
|
|
9360
|
+
}));
|
|
9361
|
+
}
|
|
9362
|
+
curry(saturate);
|
|
9363
|
+
function setHue(hue, color2) {
|
|
9364
|
+
if (color2 === "transparent") return color2;
|
|
9365
|
+
return toColorString(_extends$3({}, parseToHsl(color2), {
|
|
9366
|
+
hue: parseFloat(hue)
|
|
9367
|
+
}));
|
|
9368
|
+
}
|
|
9369
|
+
curry(setHue);
|
|
9370
|
+
function setLightness(lightness, color2) {
|
|
9371
|
+
if (color2 === "transparent") return color2;
|
|
9372
|
+
return toColorString(_extends$3({}, parseToHsl(color2), {
|
|
9373
|
+
lightness: parseFloat(lightness)
|
|
9374
|
+
}));
|
|
9375
|
+
}
|
|
9376
|
+
curry(setLightness);
|
|
9377
|
+
function setSaturation(saturation, color2) {
|
|
9378
|
+
if (color2 === "transparent") return color2;
|
|
9379
|
+
return toColorString(_extends$3({}, parseToHsl(color2), {
|
|
9380
|
+
saturation: parseFloat(saturation)
|
|
9381
|
+
}));
|
|
9382
|
+
}
|
|
9383
|
+
curry(setSaturation);
|
|
9384
|
+
function shade(percentage, color2) {
|
|
9385
|
+
if (color2 === "transparent") return color2;
|
|
9386
|
+
return mix$1(parseFloat(percentage), "rgb(0, 0, 0)", color2);
|
|
9387
|
+
}
|
|
9388
|
+
curry(shade);
|
|
9389
|
+
function tint(percentage, color2) {
|
|
9390
|
+
if (color2 === "transparent") return color2;
|
|
9391
|
+
return mix$1(parseFloat(percentage), "rgb(255, 255, 255)", color2);
|
|
9392
|
+
}
|
|
9393
|
+
curry(tint);
|
|
9287
9394
|
function transparentize(amount, color2) {
|
|
9288
9395
|
if (color2 === "transparent") return color2;
|
|
9289
9396
|
var parsedColor = parseToRgb(color2);
|
|
9290
9397
|
var alpha2 = typeof parsedColor.alpha === "number" ? parsedColor.alpha : 1;
|
|
9291
9398
|
var colorWithAlpha = _extends$3({}, parsedColor, {
|
|
9292
|
-
alpha: guard(0, 1, (alpha2 * 100 - parseFloat(amount) * 100) / 100)
|
|
9399
|
+
alpha: guard(0, 1, +(alpha2 * 100 - parseFloat(amount) * 100).toFixed(2) / 100)
|
|
9293
9400
|
});
|
|
9294
9401
|
return rgba(colorWithAlpha);
|
|
9295
9402
|
}
|
|
9296
|
-
var curriedTransparentize =
|
|
9403
|
+
var curriedTransparentize = curry(transparentize);
|
|
9404
|
+
var curriedTransparentize$1 = curriedTransparentize;
|
|
9297
9405
|
const PrimaryButton = styledComponents.styled(Button$1)(
|
|
9298
9406
|
({ disabled, theme }) => ({
|
|
9299
9407
|
color: theme.colors.white,
|
|
9300
9408
|
borderColor: theme.colors.blue,
|
|
9301
9409
|
backgroundColor: theme.colors.blue,
|
|
9302
9410
|
"&:hover": {
|
|
9303
|
-
backgroundColor: disabled ? void 0 : curriedDarken(0.1, theme.colors.blue),
|
|
9304
|
-
borderColor: disabled ? void 0 : curriedDarken(0.1, theme.colors.blue)
|
|
9411
|
+
backgroundColor: disabled ? void 0 : curriedDarken$1(0.1, theme.colors.blue),
|
|
9412
|
+
borderColor: disabled ? void 0 : curriedDarken$1(0.1, theme.colors.blue)
|
|
9305
9413
|
},
|
|
9306
9414
|
"&:focus": {
|
|
9307
9415
|
outline: "none",
|
|
@@ -9309,7 +9417,7 @@
|
|
|
9309
9417
|
boxShadow: theme.shadows.focus,
|
|
9310
9418
|
backgroundColor: theme.colors.blue,
|
|
9311
9419
|
"&:hover": {
|
|
9312
|
-
backgroundColor: curriedDarken(0.1, theme.colors.blue)
|
|
9420
|
+
backgroundColor: curriedDarken$1(0.1, theme.colors.blue)
|
|
9313
9421
|
}
|
|
9314
9422
|
}
|
|
9315
9423
|
})
|
|
@@ -9319,8 +9427,8 @@
|
|
|
9319
9427
|
borderColor: theme.colors.red,
|
|
9320
9428
|
backgroundColor: theme.colors.red,
|
|
9321
9429
|
"&:hover": {
|
|
9322
|
-
backgroundColor: disabled ? void 0 : curriedDarken(0.1, theme.colors.red),
|
|
9323
|
-
borderColor: disabled ? void 0 : curriedDarken(0.1, theme.colors.red)
|
|
9430
|
+
backgroundColor: disabled ? void 0 : curriedDarken$1(0.1, theme.colors.red),
|
|
9431
|
+
borderColor: disabled ? void 0 : curriedDarken$1(0.1, theme.colors.red)
|
|
9324
9432
|
},
|
|
9325
9433
|
"&:focus": {
|
|
9326
9434
|
outline: "none",
|
|
@@ -9328,7 +9436,7 @@
|
|
|
9328
9436
|
borderColor: theme.colors.red,
|
|
9329
9437
|
boxShadow: theme.shadows.error,
|
|
9330
9438
|
"&:hover": {
|
|
9331
|
-
backgroundColor: curriedDarken(0.1, theme.colors.red)
|
|
9439
|
+
backgroundColor: curriedDarken$1(0.1, theme.colors.red)
|
|
9332
9440
|
}
|
|
9333
9441
|
}
|
|
9334
9442
|
}));
|
|
@@ -10891,7 +10999,7 @@
|
|
|
10891
10999
|
ontSize: theme.fontSizes.small,
|
|
10892
11000
|
lineHeight: theme.lineHeights.smallTextCompressed,
|
|
10893
11001
|
color: theme.colors.whiteGrey,
|
|
10894
|
-
backgroundColor: curriedTransparentize(0.15, theme.colors.blackBlue),
|
|
11002
|
+
backgroundColor: curriedTransparentize$1(0.15, theme.colors.blackBlue),
|
|
10895
11003
|
borderRadius: theme.radii.medium,
|
|
10896
11004
|
marginTop: theme.space.half,
|
|
10897
11005
|
padding: `${theme.space.half} ${theme.space.x1}`,
|
|
@@ -11377,7 +11485,7 @@
|
|
|
11377
11485
|
const { asChild, ...primitiveProps } = props;
|
|
11378
11486
|
const Comp = asChild ? $5e63c961fc1ce211$export$8c6ed5c666ac1360 : node2;
|
|
11379
11487
|
React.useEffect(() => {
|
|
11380
|
-
window[Symbol.for("radix-ui")] = true;
|
|
11488
|
+
window[/* @__PURE__ */ Symbol.for("radix-ui")] = true;
|
|
11381
11489
|
}, []);
|
|
11382
11490
|
return /* @__PURE__ */ React.createElement(Comp, _extends$3({}, primitiveProps, {
|
|
11383
11491
|
ref: forwardedRef
|
|
@@ -14533,7 +14641,7 @@
|
|
|
14533
14641
|
font-size: ${({ theme }) => theme.fontSizes.smaller};
|
|
14534
14642
|
line-height: ${({ theme }) => theme.lineHeights.smallerText};
|
|
14535
14643
|
color: ${({ theme }) => theme.colors.whiteGrey};
|
|
14536
|
-
background-color: ${({ theme }) => curriedTransparentize(0.05, theme.colors.blackBlue)};
|
|
14644
|
+
background-color: ${({ theme }) => curriedTransparentize$1(0.05, theme.colors.blackBlue)};
|
|
14537
14645
|
border-radius: ${({ theme }) => theme.radii.medium};
|
|
14538
14646
|
margin-top: ${({ theme }) => theme.space.half};
|
|
14539
14647
|
padding: ${({ theme }) => `${theme.space.x0_25} ${theme.space.x0_75}`};
|
|
@@ -14801,7 +14909,7 @@
|
|
|
14801
14909
|
function trim(value) {
|
|
14802
14910
|
return value.trim();
|
|
14803
14911
|
}
|
|
14804
|
-
function match$
|
|
14912
|
+
function match$b(value, pattern) {
|
|
14805
14913
|
return (value = pattern.exec(value)) ? value[0] : value;
|
|
14806
14914
|
}
|
|
14807
14915
|
function replace(value, pattern, replacement) {
|
|
@@ -14849,7 +14957,7 @@
|
|
|
14849
14957
|
column = 1, line--;
|
|
14850
14958
|
return character;
|
|
14851
14959
|
}
|
|
14852
|
-
function next$
|
|
14960
|
+
function next$b() {
|
|
14853
14961
|
character = position < length ? charat(characters, position++) : 0;
|
|
14854
14962
|
if (column++, character === 10)
|
|
14855
14963
|
column = 1, line++;
|
|
@@ -14914,19 +15022,19 @@
|
|
|
14914
15022
|
function whitespace(type) {
|
|
14915
15023
|
while (character = peek())
|
|
14916
15024
|
if (character < 33)
|
|
14917
|
-
next$
|
|
15025
|
+
next$b();
|
|
14918
15026
|
else
|
|
14919
15027
|
break;
|
|
14920
15028
|
return token(type) > 2 || token(character) > 3 ? "" : " ";
|
|
14921
15029
|
}
|
|
14922
15030
|
function escaping(index2, count) {
|
|
14923
|
-
while (--count && next$
|
|
15031
|
+
while (--count && next$b())
|
|
14924
15032
|
if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97)
|
|
14925
15033
|
break;
|
|
14926
|
-
return slice(index2, caret() + (count < 6 && peek() == 32 && next$
|
|
15034
|
+
return slice(index2, caret() + (count < 6 && peek() == 32 && next$b() == 32));
|
|
14927
15035
|
}
|
|
14928
15036
|
function delimiter(type) {
|
|
14929
|
-
while (next$
|
|
15037
|
+
while (next$b())
|
|
14930
15038
|
switch (character) {
|
|
14931
15039
|
// ] ) " '
|
|
14932
15040
|
case type:
|
|
@@ -14944,22 +15052,22 @@
|
|
|
14944
15052
|
break;
|
|
14945
15053
|
// \
|
|
14946
15054
|
case 92:
|
|
14947
|
-
next$
|
|
15055
|
+
next$b();
|
|
14948
15056
|
break;
|
|
14949
15057
|
}
|
|
14950
15058
|
return position;
|
|
14951
15059
|
}
|
|
14952
15060
|
function commenter(type, index2) {
|
|
14953
|
-
while (next$
|
|
15061
|
+
while (next$b())
|
|
14954
15062
|
if (type + character === 47 + 10)
|
|
14955
15063
|
break;
|
|
14956
15064
|
else if (type + character === 42 + 42 && peek() === 47)
|
|
14957
15065
|
break;
|
|
14958
|
-
return "/*" + slice(index2, position - 1) + "*" + from(type === 47 ? type : next$
|
|
15066
|
+
return "/*" + slice(index2, position - 1) + "*" + from(type === 47 ? type : next$b());
|
|
14959
15067
|
}
|
|
14960
15068
|
function identifier(index2) {
|
|
14961
15069
|
while (!token(peek()))
|
|
14962
|
-
next$
|
|
15070
|
+
next$b();
|
|
14963
15071
|
return slice(index2, position);
|
|
14964
15072
|
}
|
|
14965
15073
|
function compile(value) {
|
|
@@ -14982,7 +15090,7 @@
|
|
|
14982
15090
|
var reference2 = rule;
|
|
14983
15091
|
var characters2 = type;
|
|
14984
15092
|
while (scanning)
|
|
14985
|
-
switch (previous2 = character2, character2 = next$
|
|
15093
|
+
switch (previous2 = character2, character2 = next$b()) {
|
|
14986
15094
|
// (
|
|
14987
15095
|
case 40:
|
|
14988
15096
|
if (previous2 != 108 && charat(characters2, length2 - 1) == 58) {
|
|
@@ -15012,7 +15120,7 @@
|
|
|
15012
15120
|
switch (peek()) {
|
|
15013
15121
|
case 42:
|
|
15014
15122
|
case 47:
|
|
15015
|
-
append(comment(commenter(next$
|
|
15123
|
+
append(comment(commenter(next$b(), caret()), root, parent), declarations);
|
|
15016
15124
|
break;
|
|
15017
15125
|
default:
|
|
15018
15126
|
characters2 += "/";
|
|
@@ -15082,7 +15190,7 @@
|
|
|
15082
15190
|
// @
|
|
15083
15191
|
case 64:
|
|
15084
15192
|
if (peek() === 45)
|
|
15085
|
-
characters2 += delimit(next$
|
|
15193
|
+
characters2 += delimit(next$b());
|
|
15086
15194
|
atrule = peek(), offset2 = length2 = strlen(type = characters2 += identifier(caret())), character2++;
|
|
15087
15195
|
break;
|
|
15088
15196
|
// -
|
|
@@ -15168,7 +15276,7 @@
|
|
|
15168
15276
|
if (token(character2)) {
|
|
15169
15277
|
break;
|
|
15170
15278
|
}
|
|
15171
|
-
next$
|
|
15279
|
+
next$b();
|
|
15172
15280
|
}
|
|
15173
15281
|
return slice(begin, position);
|
|
15174
15282
|
};
|
|
@@ -15196,7 +15304,7 @@
|
|
|
15196
15304
|
default:
|
|
15197
15305
|
parsed[index2] += from(character2);
|
|
15198
15306
|
}
|
|
15199
|
-
} while (character2 = next$
|
|
15307
|
+
} while (character2 = next$b());
|
|
15200
15308
|
return parsed;
|
|
15201
15309
|
};
|
|
15202
15310
|
var getRules = function getRules2(value, points) {
|
|
@@ -15460,7 +15568,7 @@
|
|
|
15460
15568
|
})], callback);
|
|
15461
15569
|
case RULESET:
|
|
15462
15570
|
if (element.length) return combine(element.props, function(value) {
|
|
15463
|
-
switch (match$
|
|
15571
|
+
switch (match$b(value, /(::plac\w+|:read-\w+)/)) {
|
|
15464
15572
|
// :read-(only|write)
|
|
15465
15573
|
case ":read-only":
|
|
15466
15574
|
case ":read-write":
|
|
@@ -19883,27 +19991,27 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
19883
19991
|
}, selectProps));
|
|
19884
19992
|
});
|
|
19885
19993
|
var AsyncSelect$1$1 = AsyncSelect$1;
|
|
19886
|
-
var propTypes$
|
|
19887
|
-
var ReactPropTypesSecret_1;
|
|
19888
|
-
var hasRequiredReactPropTypesSecret;
|
|
19889
|
-
function requireReactPropTypesSecret() {
|
|
19890
|
-
if (hasRequiredReactPropTypesSecret) return ReactPropTypesSecret_1;
|
|
19891
|
-
hasRequiredReactPropTypesSecret = 1;
|
|
19994
|
+
var propTypes$3 = { exports: {} };
|
|
19995
|
+
var ReactPropTypesSecret_1$1;
|
|
19996
|
+
var hasRequiredReactPropTypesSecret$1;
|
|
19997
|
+
function requireReactPropTypesSecret$1() {
|
|
19998
|
+
if (hasRequiredReactPropTypesSecret$1) return ReactPropTypesSecret_1$1;
|
|
19999
|
+
hasRequiredReactPropTypesSecret$1 = 1;
|
|
19892
20000
|
var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
19893
|
-
ReactPropTypesSecret_1 = ReactPropTypesSecret;
|
|
19894
|
-
return ReactPropTypesSecret_1;
|
|
19895
|
-
}
|
|
19896
|
-
var checkPropTypes_1;
|
|
19897
|
-
var hasRequiredCheckPropTypes;
|
|
19898
|
-
function requireCheckPropTypes() {
|
|
19899
|
-
if (hasRequiredCheckPropTypes) return checkPropTypes_1;
|
|
19900
|
-
hasRequiredCheckPropTypes = 1;
|
|
20001
|
+
ReactPropTypesSecret_1$1 = ReactPropTypesSecret;
|
|
20002
|
+
return ReactPropTypesSecret_1$1;
|
|
20003
|
+
}
|
|
20004
|
+
var checkPropTypes_1$1;
|
|
20005
|
+
var hasRequiredCheckPropTypes$1;
|
|
20006
|
+
function requireCheckPropTypes$1() {
|
|
20007
|
+
if (hasRequiredCheckPropTypes$1) return checkPropTypes_1$1;
|
|
20008
|
+
hasRequiredCheckPropTypes$1 = 1;
|
|
19901
20009
|
var printWarning = function() {
|
|
19902
20010
|
};
|
|
19903
20011
|
if (process.env.NODE_ENV !== "production") {
|
|
19904
|
-
var ReactPropTypesSecret = requireReactPropTypesSecret();
|
|
20012
|
+
var ReactPropTypesSecret = requireReactPropTypesSecret$1();
|
|
19905
20013
|
var loggedTypeFailures = {};
|
|
19906
|
-
var
|
|
20014
|
+
var has2 = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
19907
20015
|
printWarning = function(text) {
|
|
19908
20016
|
var message = "Warning: " + text;
|
|
19909
20017
|
if (typeof console !== "undefined") {
|
|
@@ -19918,7 +20026,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
19918
20026
|
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
19919
20027
|
if (process.env.NODE_ENV !== "production") {
|
|
19920
20028
|
for (var typeSpecName in typeSpecs) {
|
|
19921
|
-
if (
|
|
20029
|
+
if (has2(typeSpecs, typeSpecName)) {
|
|
19922
20030
|
var error;
|
|
19923
20031
|
try {
|
|
19924
20032
|
if (typeof typeSpecs[typeSpecName] !== "function") {
|
|
@@ -19953,19 +20061,19 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
19953
20061
|
loggedTypeFailures = {};
|
|
19954
20062
|
}
|
|
19955
20063
|
};
|
|
19956
|
-
checkPropTypes_1 = checkPropTypes;
|
|
19957
|
-
return checkPropTypes_1;
|
|
20064
|
+
checkPropTypes_1$1 = checkPropTypes;
|
|
20065
|
+
return checkPropTypes_1$1;
|
|
19958
20066
|
}
|
|
19959
|
-
var factoryWithTypeCheckers;
|
|
19960
|
-
var hasRequiredFactoryWithTypeCheckers;
|
|
19961
|
-
function requireFactoryWithTypeCheckers() {
|
|
19962
|
-
if (hasRequiredFactoryWithTypeCheckers) return factoryWithTypeCheckers;
|
|
19963
|
-
hasRequiredFactoryWithTypeCheckers = 1;
|
|
20067
|
+
var factoryWithTypeCheckers$1;
|
|
20068
|
+
var hasRequiredFactoryWithTypeCheckers$1;
|
|
20069
|
+
function requireFactoryWithTypeCheckers$1() {
|
|
20070
|
+
if (hasRequiredFactoryWithTypeCheckers$1) return factoryWithTypeCheckers$1;
|
|
20071
|
+
hasRequiredFactoryWithTypeCheckers$1 = 1;
|
|
19964
20072
|
var ReactIs = require$$0;
|
|
19965
20073
|
var assign2 = requireObjectAssign();
|
|
19966
|
-
var ReactPropTypesSecret = requireReactPropTypesSecret();
|
|
19967
|
-
var checkPropTypes = requireCheckPropTypes();
|
|
19968
|
-
var
|
|
20074
|
+
var ReactPropTypesSecret = requireReactPropTypesSecret$1();
|
|
20075
|
+
var checkPropTypes = requireCheckPropTypes$1();
|
|
20076
|
+
var has2 = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
19969
20077
|
var printWarning = function() {
|
|
19970
20078
|
};
|
|
19971
20079
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -19983,7 +20091,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
19983
20091
|
function emptyFunctionThatReturnsNull() {
|
|
19984
20092
|
return null;
|
|
19985
20093
|
}
|
|
19986
|
-
factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
20094
|
+
factoryWithTypeCheckers$1 = function(isValidElement, throwOnDirectAccess) {
|
|
19987
20095
|
var ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
|
|
19988
20096
|
var FAUX_ITERATOR_SYMBOL = "@@iterator";
|
|
19989
20097
|
function getIteratorFn(maybeIterable) {
|
|
@@ -20178,7 +20286,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
20178
20286
|
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType2 + "` supplied to `" + componentName + "`, expected an object."));
|
|
20179
20287
|
}
|
|
20180
20288
|
for (var key in propValue) {
|
|
20181
|
-
if (
|
|
20289
|
+
if (has2(propValue, key)) {
|
|
20182
20290
|
var error = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
|
|
20183
20291
|
if (error instanceof Error) {
|
|
20184
20292
|
return error;
|
|
@@ -20378,20 +20486,20 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
20378
20486
|
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
20379
20487
|
return ReactPropTypes;
|
|
20380
20488
|
};
|
|
20381
|
-
return factoryWithTypeCheckers;
|
|
20489
|
+
return factoryWithTypeCheckers$1;
|
|
20382
20490
|
}
|
|
20383
|
-
var factoryWithThrowingShims;
|
|
20384
|
-
var hasRequiredFactoryWithThrowingShims;
|
|
20385
|
-
function requireFactoryWithThrowingShims() {
|
|
20386
|
-
if (hasRequiredFactoryWithThrowingShims) return factoryWithThrowingShims;
|
|
20387
|
-
hasRequiredFactoryWithThrowingShims = 1;
|
|
20388
|
-
var ReactPropTypesSecret = requireReactPropTypesSecret();
|
|
20491
|
+
var factoryWithThrowingShims$1;
|
|
20492
|
+
var hasRequiredFactoryWithThrowingShims$1;
|
|
20493
|
+
function requireFactoryWithThrowingShims$1() {
|
|
20494
|
+
if (hasRequiredFactoryWithThrowingShims$1) return factoryWithThrowingShims$1;
|
|
20495
|
+
hasRequiredFactoryWithThrowingShims$1 = 1;
|
|
20496
|
+
var ReactPropTypesSecret = requireReactPropTypesSecret$1();
|
|
20389
20497
|
function emptyFunction() {
|
|
20390
20498
|
}
|
|
20391
20499
|
function emptyFunctionWithReset() {
|
|
20392
20500
|
}
|
|
20393
20501
|
emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
|
20394
|
-
factoryWithThrowingShims = function() {
|
|
20502
|
+
factoryWithThrowingShims$1 = function() {
|
|
20395
20503
|
function shim(props, propName, componentName, location, propFullName, secret) {
|
|
20396
20504
|
if (secret === ReactPropTypesSecret) {
|
|
20397
20505
|
return;
|
|
@@ -20431,22 +20539,22 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
20431
20539
|
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
20432
20540
|
return ReactPropTypes;
|
|
20433
20541
|
};
|
|
20434
|
-
return factoryWithThrowingShims;
|
|
20542
|
+
return factoryWithThrowingShims$1;
|
|
20435
20543
|
}
|
|
20436
|
-
var hasRequiredPropTypes;
|
|
20437
|
-
function requirePropTypes() {
|
|
20438
|
-
if (hasRequiredPropTypes) return propTypes$
|
|
20439
|
-
hasRequiredPropTypes = 1;
|
|
20544
|
+
var hasRequiredPropTypes$1;
|
|
20545
|
+
function requirePropTypes$1() {
|
|
20546
|
+
if (hasRequiredPropTypes$1) return propTypes$3.exports;
|
|
20547
|
+
hasRequiredPropTypes$1 = 1;
|
|
20440
20548
|
if (process.env.NODE_ENV !== "production") {
|
|
20441
20549
|
var ReactIs = require$$0;
|
|
20442
20550
|
var throwOnDirectAccess = true;
|
|
20443
|
-
propTypes$
|
|
20551
|
+
propTypes$3.exports = requireFactoryWithTypeCheckers$1()(ReactIs.isElement, throwOnDirectAccess);
|
|
20444
20552
|
} else {
|
|
20445
|
-
propTypes$
|
|
20553
|
+
propTypes$3.exports = requireFactoryWithThrowingShims$1()();
|
|
20446
20554
|
}
|
|
20447
|
-
return propTypes$
|
|
20555
|
+
return propTypes$3.exports;
|
|
20448
20556
|
}
|
|
20449
|
-
var propTypesExports = requirePropTypes();
|
|
20557
|
+
var propTypesExports = requirePropTypes$1();
|
|
20450
20558
|
const PropTypes = /* @__PURE__ */ getDefaultExportFromCjs(propTypesExports);
|
|
20451
20559
|
function _extends$2() {
|
|
20452
20560
|
_extends$2 = Object.assign || function(target) {
|
|
@@ -20469,7 +20577,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
20469
20577
|
return _extends$2({}, acc, (_extends2 = {}, _extends2[name] = propType, _extends2));
|
|
20470
20578
|
}, {});
|
|
20471
20579
|
};
|
|
20472
|
-
const propTypes$
|
|
20580
|
+
const propTypes$2 = {
|
|
20473
20581
|
space: createPropTypes(space.propNames),
|
|
20474
20582
|
color: createPropTypes(color.propNames),
|
|
20475
20583
|
layout: createPropTypes(layout.propNames),
|
|
@@ -20585,7 +20693,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
20585
20693
|
function getColor(props) {
|
|
20586
20694
|
return getColorFromProps(props) || props.theme.colors.blue;
|
|
20587
20695
|
}
|
|
20588
|
-
const getHoverColor = (props) => props.hover ? getColor(props) : curriedDarken("0.1", getColor(props));
|
|
20696
|
+
const getHoverColor = (props) => props.hover ? getColor(props) : curriedDarken$1("0.1", getColor(props));
|
|
20589
20697
|
const Anchor = styledComponents.styled.a(
|
|
20590
20698
|
({ underline = true, as, ...props }) => ({
|
|
20591
20699
|
...resetButtonStyles,
|
|
@@ -20938,7 +21046,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
20938
21046
|
width: "100%",
|
|
20939
21047
|
fontSize: theme.fontSizes.base,
|
|
20940
21048
|
lineHeight: theme.lineHeights.base,
|
|
20941
|
-
color: state.isDisabled ? curriedTransparentize(0.6667, theme.colors.black) : theme.colors.black,
|
|
21049
|
+
color: state.isDisabled ? curriedTransparentize$1(0.6667, theme.colors.black) : theme.colors.black,
|
|
20942
21050
|
background: state.isDisabled ? theme.colors.whiteGrey : theme.colors.white,
|
|
20943
21051
|
borderColor: getBorderColor({
|
|
20944
21052
|
errored: error,
|
|
@@ -21151,7 +21259,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
21151
21259
|
position: "absolute",
|
|
21152
21260
|
top: "50%",
|
|
21153
21261
|
transform: "translateY(-50%)",
|
|
21154
|
-
color: state.isDisabled ? curriedTransparentize(0.7, theme.colors.midGrey) : theme.colors.midGrey
|
|
21262
|
+
color: state.isDisabled ? curriedTransparentize$1(0.7, theme.colors.midGrey) : theme.colors.midGrey
|
|
21155
21263
|
};
|
|
21156
21264
|
}
|
|
21157
21265
|
};
|
|
@@ -21302,7 +21410,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
21302
21410
|
const { t: t2 } = useTranslation();
|
|
21303
21411
|
const variant2 = useComponentVariant();
|
|
21304
21412
|
const theme = styledComponents.useTheme();
|
|
21305
|
-
const spaceProps = getSubset(props, propTypes$
|
|
21413
|
+
const spaceProps = getSubset(props, propTypes$2.space);
|
|
21306
21414
|
const error = !!(errorMessage || errorList);
|
|
21307
21415
|
const componentVariant = useComponentVariant(variant2);
|
|
21308
21416
|
noOptionsMessage || (noOptionsMessage = () => t2("no options"));
|
|
@@ -22958,8 +23066,8 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
22958
23066
|
});
|
|
22959
23067
|
var _ref = FocusLock.propTypes || {};
|
|
22960
23068
|
_ref.sideCar;
|
|
22961
|
-
var propTypes = _objectWithoutPropertiesLoose$3(_ref, ["sideCar"]);
|
|
22962
|
-
FocusLockCombination.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
|
|
23069
|
+
var propTypes$1 = _objectWithoutPropertiesLoose$3(_ref, ["sideCar"]);
|
|
23070
|
+
FocusLockCombination.propTypes = process.env.NODE_ENV !== "production" ? propTypes$1 : {};
|
|
22963
23071
|
var zeroRightClassName = "right-scroll-bar-position";
|
|
22964
23072
|
var fullWidthClassName = "width-before-scroll-bar";
|
|
22965
23073
|
var noScrollbarsClassName = "with-scroll-bars-hidden";
|
|
@@ -23634,7 +23742,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
23634
23742
|
display: "flex",
|
|
23635
23743
|
alignItems: "flex-end",
|
|
23636
23744
|
justifyContent: "center",
|
|
23637
|
-
backgroundColor: curriedTransparentize(0.5, theme.colors.blackBlue),
|
|
23745
|
+
backgroundColor: curriedTransparentize$1(0.5, theme.colors.blackBlue),
|
|
23638
23746
|
zIndex: theme.zIndices.overlay
|
|
23639
23747
|
}));
|
|
23640
23748
|
const styleFns = [width, maxWidth, height, maxHeight, space, layout];
|
|
@@ -23687,7 +23795,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
23687
23795
|
marginLeft: theme.space.x1,
|
|
23688
23796
|
marginRight: theme.space.x1,
|
|
23689
23797
|
padding: theme.space.x2,
|
|
23690
|
-
background: curriedTransparentize(0.4, theme.colors.white),
|
|
23798
|
+
background: curriedTransparentize$1(0.4, theme.colors.white),
|
|
23691
23799
|
backdropFilter: "blur(8px)",
|
|
23692
23800
|
borderTop: "1px solid",
|
|
23693
23801
|
borderTopColor: theme.colors.lightGrey,
|
|
@@ -24046,11 +24154,11 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
24046
24154
|
toNumber_1 = toNumber;
|
|
24047
24155
|
return toNumber_1;
|
|
24048
24156
|
}
|
|
24049
|
-
var debounce_1
|
|
24050
|
-
var hasRequiredDebounce
|
|
24051
|
-
function requireDebounce
|
|
24052
|
-
if (hasRequiredDebounce
|
|
24053
|
-
hasRequiredDebounce
|
|
24157
|
+
var debounce_1;
|
|
24158
|
+
var hasRequiredDebounce;
|
|
24159
|
+
function requireDebounce() {
|
|
24160
|
+
if (hasRequiredDebounce) return debounce_1;
|
|
24161
|
+
hasRequiredDebounce = 1;
|
|
24054
24162
|
var isObject = requireIsObject(), now2 = requireNow(), toNumber = requireToNumber();
|
|
24055
24163
|
var FUNC_ERROR_TEXT = "Expected a function";
|
|
24056
24164
|
var nativeMax = Math.max, nativeMin = Math.min;
|
|
@@ -24135,17 +24243,17 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
24135
24243
|
debounced.flush = flush;
|
|
24136
24244
|
return debounced;
|
|
24137
24245
|
}
|
|
24138
|
-
debounce_1
|
|
24139
|
-
return debounce_1
|
|
24246
|
+
debounce_1 = debounce2;
|
|
24247
|
+
return debounce_1;
|
|
24140
24248
|
}
|
|
24141
|
-
var debounceExports
|
|
24142
|
-
const debounce$2 = /* @__PURE__ */ getDefaultExportFromCjs(debounceExports
|
|
24249
|
+
var debounceExports = requireDebounce();
|
|
24250
|
+
const debounce$2 = /* @__PURE__ */ getDefaultExportFromCjs(debounceExports);
|
|
24143
24251
|
var throttle_1;
|
|
24144
24252
|
var hasRequiredThrottle;
|
|
24145
24253
|
function requireThrottle() {
|
|
24146
24254
|
if (hasRequiredThrottle) return throttle_1;
|
|
24147
24255
|
hasRequiredThrottle = 1;
|
|
24148
|
-
var debounce2 = requireDebounce
|
|
24256
|
+
var debounce2 = requireDebounce(), isObject = requireIsObject();
|
|
24149
24257
|
var FUNC_ERROR_TEXT = "Expected a function";
|
|
24150
24258
|
function throttle2(func, wait, options2) {
|
|
24151
24259
|
var leading = true, trailing = true;
|
|
@@ -24382,30 +24490,6 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
24382
24490
|
return ResizeDetector2;
|
|
24383
24491
|
})(React.PureComponent)
|
|
24384
24492
|
);
|
|
24385
|
-
/**!
|
|
24386
|
-
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
|
24387
|
-
* @version 1.16.1
|
|
24388
|
-
* @license
|
|
24389
|
-
* Copyright (c) 2016 Federico Zivolo and contributors
|
|
24390
|
-
*
|
|
24391
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
24392
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
24393
|
-
* in the Software without restriction, including without limitation the rights
|
|
24394
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
24395
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
24396
|
-
* furnished to do so, subject to the following conditions:
|
|
24397
|
-
*
|
|
24398
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
24399
|
-
* copies or substantial portions of the Software.
|
|
24400
|
-
*
|
|
24401
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
24402
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24403
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24404
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24405
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
24406
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
24407
|
-
* SOFTWARE.
|
|
24408
|
-
*/
|
|
24409
24493
|
var isBrowser = typeof window !== "undefined" && typeof document !== "undefined" && typeof navigator !== "undefined";
|
|
24410
24494
|
var timeoutDuration = (function() {
|
|
24411
24495
|
var longerTimeoutBrowsers = ["Edge", "Trident", "Firefox"];
|
|
@@ -25940,7 +26024,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
25940
26024
|
exports$1.__esModule = true;
|
|
25941
26025
|
var _react = React;
|
|
25942
26026
|
_interopRequireDefault(_react);
|
|
25943
|
-
var _propTypes = requirePropTypes();
|
|
26027
|
+
var _propTypes = requirePropTypes$1();
|
|
25944
26028
|
var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
25945
26029
|
var _gud = requireGud();
|
|
25946
26030
|
var _gud2 = _interopRequireDefault(_gud);
|
|
@@ -26700,8 +26784,8 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
26700
26784
|
openOnHover = false,
|
|
26701
26785
|
...props
|
|
26702
26786
|
}, ref) => {
|
|
26703
|
-
const spaceProps = getSubset(props, propTypes$
|
|
26704
|
-
const restProps = omitSubset(props, propTypes$
|
|
26787
|
+
const spaceProps = getSubset(props, propTypes$2.space);
|
|
26788
|
+
const restProps = omitSubset(props, propTypes$2.space);
|
|
26705
26789
|
const modifiers2 = React.useMemo(() => {
|
|
26706
26790
|
return transformPropsToModifiers({ boundariesElement });
|
|
26707
26791
|
}, [boundariesElement]);
|
|
@@ -27648,9 +27732,9 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
27648
27732
|
prefixAlignment: "left"
|
|
27649
27733
|
};
|
|
27650
27734
|
const Input = React.forwardRef(({ errorMessage, errorList, className, ...props }, ref) => {
|
|
27651
|
-
const spaceProps = getSubset(props, propTypes$
|
|
27652
|
-
const layoutProps = getSubset(props, propTypes$
|
|
27653
|
-
const restProps = omitSubset(props, propTypes$
|
|
27735
|
+
const spaceProps = getSubset(props, propTypes$2.space);
|
|
27736
|
+
const layoutProps = getSubset(props, propTypes$2.space);
|
|
27737
|
+
const restProps = omitSubset(props, propTypes$2.space);
|
|
27654
27738
|
return /* @__PURE__ */ jsxRuntime.jsxs(Field, { className, ...spaceProps, ...layoutProps, children: [
|
|
27655
27739
|
/* @__PURE__ */ jsxRuntime.jsx(InputField, { ...restProps, error: !!(errorMessage || errorList), ref }),
|
|
27656
27740
|
/* @__PURE__ */ jsxRuntime.jsx(InlineValidation, { mt: "x1", errorMessage, errorList })
|
|
@@ -27682,7 +27766,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
27682
27766
|
minWidth: theme.space.x5,
|
|
27683
27767
|
"&:focus": {
|
|
27684
27768
|
color: theme.colors.white,
|
|
27685
|
-
background: curriedDarken(0.1, theme.colors.blue),
|
|
27769
|
+
background: curriedDarken$1(0.1, theme.colors.blue),
|
|
27686
27770
|
border: `solid 1px ${theme.colors.lightBlue}`,
|
|
27687
27771
|
outline: "none",
|
|
27688
27772
|
boxShadow: "none"
|
|
@@ -27702,7 +27786,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
27702
27786
|
boxShadow: "none"
|
|
27703
27787
|
},
|
|
27704
27788
|
"::placeholder": {
|
|
27705
|
-
color: curriedTransparentize(0.4, theme.colors.black)
|
|
27789
|
+
color: curriedTransparentize$1(0.4, theme.colors.black)
|
|
27706
27790
|
},
|
|
27707
27791
|
"&[type='search']": {
|
|
27708
27792
|
"-webkit-appearance": "textfield",
|
|
@@ -28031,14 +28115,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28031
28115
|
textColor: "blackBlue",
|
|
28032
28116
|
logoColor: "blue"
|
|
28033
28117
|
};
|
|
28034
|
-
|
|
28035
|
-
menuData,
|
|
28036
|
-
environment,
|
|
28037
|
-
logo,
|
|
28038
|
-
showNulogyLogo,
|
|
28039
|
-
subtext,
|
|
28040
|
-
...props
|
|
28041
|
-
}) => {
|
|
28118
|
+
function MediumNavBar({ menuData, environment, logo, showNulogyLogo, subtext, ...props }) {
|
|
28042
28119
|
const { t: t2 } = useTranslation();
|
|
28043
28120
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
28044
28121
|
environment && /* @__PURE__ */ jsxRuntime.jsx(EnvironmentBanner, { children: environment }),
|
|
@@ -28069,7 +28146,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28069
28146
|
] })
|
|
28070
28147
|
] }) })
|
|
28071
28148
|
] });
|
|
28072
|
-
}
|
|
28149
|
+
}
|
|
28073
28150
|
const SelectNavBarBasedOnWidth = ({
|
|
28074
28151
|
width: width2,
|
|
28075
28152
|
defaultOpen,
|
|
@@ -28346,8 +28423,8 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28346
28423
|
const Checkbox = React.forwardRef((props, ref) => {
|
|
28347
28424
|
const { variant: variant2, className, labelText, disabled, checked, required, error, indeterminate } = props;
|
|
28348
28425
|
const componentVariant = useComponentVariant(variant2);
|
|
28349
|
-
const spaceProps = getSubset(props, propTypes$
|
|
28350
|
-
const restProps = omitSubset(props, propTypes$
|
|
28426
|
+
const spaceProps = getSubset(props, propTypes$2.space);
|
|
28427
|
+
const restProps = omitSubset(props, propTypes$2.space);
|
|
28351
28428
|
return /* @__PURE__ */ jsxRuntime.jsx(Box, { className, px: "0", ...spaceProps, children: /* @__PURE__ */ jsxRuntime.jsxs(ClickInputLabel, { variant: componentVariant, disabled, children: [
|
|
28352
28429
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
28353
28430
|
CheckboxInput,
|
|
@@ -28563,7 +28640,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28563
28640
|
date.setHours(23, 59, 59, 999);
|
|
28564
28641
|
return date;
|
|
28565
28642
|
}
|
|
28566
|
-
var formatDistanceLocale$
|
|
28643
|
+
var formatDistanceLocale$a = {
|
|
28567
28644
|
lessThanXSeconds: {
|
|
28568
28645
|
one: "less than a second",
|
|
28569
28646
|
other: "less than {{count}} seconds"
|
|
@@ -28626,15 +28703,15 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28626
28703
|
other: "almost {{count}} years"
|
|
28627
28704
|
}
|
|
28628
28705
|
};
|
|
28629
|
-
function formatDistance$
|
|
28706
|
+
function formatDistance$a(token2, count, options2) {
|
|
28630
28707
|
options2 = options2 || {};
|
|
28631
28708
|
var result;
|
|
28632
|
-
if (typeof formatDistanceLocale$
|
|
28633
|
-
result = formatDistanceLocale$
|
|
28709
|
+
if (typeof formatDistanceLocale$a[token2] === "string") {
|
|
28710
|
+
result = formatDistanceLocale$a[token2];
|
|
28634
28711
|
} else if (count === 1) {
|
|
28635
|
-
result = formatDistanceLocale$
|
|
28712
|
+
result = formatDistanceLocale$a[token2].one;
|
|
28636
28713
|
} else {
|
|
28637
|
-
result = formatDistanceLocale$
|
|
28714
|
+
result = formatDistanceLocale$a[token2].other.replace("{{count}}", count);
|
|
28638
28715
|
}
|
|
28639
28716
|
if (options2.addSuffix) {
|
|
28640
28717
|
if (options2.comparison > 0) {
|
|
@@ -28653,39 +28730,39 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28653
28730
|
return format2;
|
|
28654
28731
|
};
|
|
28655
28732
|
}
|
|
28656
|
-
var dateFormats$
|
|
28733
|
+
var dateFormats$a = {
|
|
28657
28734
|
full: "EEEE, MMMM do, y",
|
|
28658
28735
|
long: "MMMM do, y",
|
|
28659
28736
|
medium: "MMM d, y",
|
|
28660
28737
|
short: "MM/dd/yyyy"
|
|
28661
28738
|
};
|
|
28662
|
-
var timeFormats$
|
|
28739
|
+
var timeFormats$a = {
|
|
28663
28740
|
full: "h:mm:ss a zzzz",
|
|
28664
28741
|
long: "h:mm:ss a z",
|
|
28665
28742
|
medium: "h:mm:ss a",
|
|
28666
28743
|
short: "h:mm a"
|
|
28667
28744
|
};
|
|
28668
|
-
var dateTimeFormats$
|
|
28745
|
+
var dateTimeFormats$a = {
|
|
28669
28746
|
full: "{{date}} 'at' {{time}}",
|
|
28670
28747
|
long: "{{date}} 'at' {{time}}",
|
|
28671
28748
|
medium: "{{date}}, {{time}}",
|
|
28672
28749
|
short: "{{date}}, {{time}}"
|
|
28673
28750
|
};
|
|
28674
|
-
var formatLong$
|
|
28751
|
+
var formatLong$a = {
|
|
28675
28752
|
date: buildFormatLongFn$1({
|
|
28676
|
-
formats: dateFormats$
|
|
28753
|
+
formats: dateFormats$a,
|
|
28677
28754
|
defaultWidth: "full"
|
|
28678
28755
|
}),
|
|
28679
28756
|
time: buildFormatLongFn$1({
|
|
28680
|
-
formats: timeFormats$
|
|
28757
|
+
formats: timeFormats$a,
|
|
28681
28758
|
defaultWidth: "full"
|
|
28682
28759
|
}),
|
|
28683
28760
|
dateTime: buildFormatLongFn$1({
|
|
28684
|
-
formats: dateTimeFormats$
|
|
28761
|
+
formats: dateTimeFormats$a,
|
|
28685
28762
|
defaultWidth: "full"
|
|
28686
28763
|
})
|
|
28687
28764
|
};
|
|
28688
|
-
var formatRelativeLocale$
|
|
28765
|
+
var formatRelativeLocale$a = {
|
|
28689
28766
|
lastWeek: "'last' eeee 'at' p",
|
|
28690
28767
|
yesterday: "'yesterday at' p",
|
|
28691
28768
|
today: "'today at' p",
|
|
@@ -28693,8 +28770,8 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28693
28770
|
nextWeek: "eeee 'at' p",
|
|
28694
28771
|
other: "P"
|
|
28695
28772
|
};
|
|
28696
|
-
function formatRelative$
|
|
28697
|
-
return formatRelativeLocale$
|
|
28773
|
+
function formatRelative$a(token2, _date, _baseDate, _options) {
|
|
28774
|
+
return formatRelativeLocale$a[token2];
|
|
28698
28775
|
}
|
|
28699
28776
|
function buildLocalizeFn$1(args) {
|
|
28700
28777
|
return function(dirtyIndex, dirtyOptions) {
|
|
@@ -28714,28 +28791,28 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28714
28791
|
return valuesArray[index2];
|
|
28715
28792
|
};
|
|
28716
28793
|
}
|
|
28717
|
-
var eraValues$
|
|
28794
|
+
var eraValues$a = {
|
|
28718
28795
|
narrow: ["B", "A"],
|
|
28719
28796
|
abbreviated: ["BC", "AD"],
|
|
28720
28797
|
wide: ["Before Christ", "Anno Domini"]
|
|
28721
28798
|
};
|
|
28722
|
-
var quarterValues$
|
|
28799
|
+
var quarterValues$a = {
|
|
28723
28800
|
narrow: ["1", "2", "3", "4"],
|
|
28724
28801
|
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
28725
28802
|
wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
|
|
28726
28803
|
};
|
|
28727
|
-
var monthValues$
|
|
28804
|
+
var monthValues$a = {
|
|
28728
28805
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
28729
28806
|
abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
|
28730
28807
|
wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
|
|
28731
28808
|
};
|
|
28732
|
-
var dayValues$
|
|
28809
|
+
var dayValues$a = {
|
|
28733
28810
|
narrow: ["S", "M", "T", "W", "T", "F", "S"],
|
|
28734
28811
|
short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
28735
28812
|
abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
28736
28813
|
wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
|
|
28737
28814
|
};
|
|
28738
|
-
var dayPeriodValues$
|
|
28815
|
+
var dayPeriodValues$a = {
|
|
28739
28816
|
narrow: {
|
|
28740
28817
|
am: "a",
|
|
28741
28818
|
pm: "p",
|
|
@@ -28767,7 +28844,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28767
28844
|
night: "night"
|
|
28768
28845
|
}
|
|
28769
28846
|
};
|
|
28770
|
-
var formattingDayPeriodValues$
|
|
28847
|
+
var formattingDayPeriodValues$7 = {
|
|
28771
28848
|
narrow: {
|
|
28772
28849
|
am: "a",
|
|
28773
28850
|
pm: "p",
|
|
@@ -28799,7 +28876,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28799
28876
|
night: "at night"
|
|
28800
28877
|
}
|
|
28801
28878
|
};
|
|
28802
|
-
function ordinalNumber$
|
|
28879
|
+
function ordinalNumber$a(dirtyNumber, _dirtyOptions) {
|
|
28803
28880
|
var number2 = Number(dirtyNumber);
|
|
28804
28881
|
var rem100 = number2 % 100;
|
|
28805
28882
|
if (rem100 > 20 || rem100 < 10) {
|
|
@@ -28814,31 +28891,31 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28814
28891
|
}
|
|
28815
28892
|
return number2 + "th";
|
|
28816
28893
|
}
|
|
28817
|
-
var localize$
|
|
28818
|
-
ordinalNumber: ordinalNumber$
|
|
28894
|
+
var localize$a = {
|
|
28895
|
+
ordinalNumber: ordinalNumber$a,
|
|
28819
28896
|
era: buildLocalizeFn$1({
|
|
28820
|
-
values: eraValues$
|
|
28897
|
+
values: eraValues$a,
|
|
28821
28898
|
defaultWidth: "wide"
|
|
28822
28899
|
}),
|
|
28823
28900
|
quarter: buildLocalizeFn$1({
|
|
28824
|
-
values: quarterValues$
|
|
28901
|
+
values: quarterValues$a,
|
|
28825
28902
|
defaultWidth: "wide",
|
|
28826
28903
|
argumentCallback: function(quarter) {
|
|
28827
28904
|
return Number(quarter) - 1;
|
|
28828
28905
|
}
|
|
28829
28906
|
}),
|
|
28830
28907
|
month: buildLocalizeFn$1({
|
|
28831
|
-
values: monthValues$
|
|
28908
|
+
values: monthValues$a,
|
|
28832
28909
|
defaultWidth: "wide"
|
|
28833
28910
|
}),
|
|
28834
28911
|
day: buildLocalizeFn$1({
|
|
28835
|
-
values: dayValues$
|
|
28912
|
+
values: dayValues$a,
|
|
28836
28913
|
defaultWidth: "wide"
|
|
28837
28914
|
}),
|
|
28838
28915
|
dayPeriod: buildLocalizeFn$1({
|
|
28839
|
-
values: dayPeriodValues$
|
|
28916
|
+
values: dayPeriodValues$a,
|
|
28840
28917
|
defaultWidth: "wide",
|
|
28841
|
-
formattingValues: formattingDayPeriodValues$
|
|
28918
|
+
formattingValues: formattingDayPeriodValues$7,
|
|
28842
28919
|
defaultFormattingWidth: "wide"
|
|
28843
28920
|
})
|
|
28844
28921
|
};
|
|
@@ -28901,48 +28978,48 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28901
28978
|
}
|
|
28902
28979
|
return void 0;
|
|
28903
28980
|
}
|
|
28904
|
-
var matchOrdinalNumberPattern$
|
|
28905
|
-
var parseOrdinalNumberPattern$
|
|
28906
|
-
var matchEraPatterns$
|
|
28981
|
+
var matchOrdinalNumberPattern$a = /^(\d+)(th|st|nd|rd)?/i;
|
|
28982
|
+
var parseOrdinalNumberPattern$a = /\d+/i;
|
|
28983
|
+
var matchEraPatterns$a = {
|
|
28907
28984
|
narrow: /^(b|a)/i,
|
|
28908
28985
|
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
28909
28986
|
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
28910
28987
|
};
|
|
28911
|
-
var parseEraPatterns$
|
|
28988
|
+
var parseEraPatterns$a = {
|
|
28912
28989
|
any: [/^b/i, /^(a|c)/i]
|
|
28913
28990
|
};
|
|
28914
|
-
var matchQuarterPatterns$
|
|
28991
|
+
var matchQuarterPatterns$a = {
|
|
28915
28992
|
narrow: /^[1234]/i,
|
|
28916
28993
|
abbreviated: /^q[1234]/i,
|
|
28917
28994
|
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
28918
28995
|
};
|
|
28919
|
-
var parseQuarterPatterns$
|
|
28996
|
+
var parseQuarterPatterns$a = {
|
|
28920
28997
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
28921
28998
|
};
|
|
28922
|
-
var matchMonthPatterns$
|
|
28999
|
+
var matchMonthPatterns$a = {
|
|
28923
29000
|
narrow: /^[jfmasond]/i,
|
|
28924
29001
|
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
28925
29002
|
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
28926
29003
|
};
|
|
28927
|
-
var parseMonthPatterns$
|
|
29004
|
+
var parseMonthPatterns$a = {
|
|
28928
29005
|
narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
|
|
28929
29006
|
any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
|
|
28930
29007
|
};
|
|
28931
|
-
var matchDayPatterns$
|
|
29008
|
+
var matchDayPatterns$a = {
|
|
28932
29009
|
narrow: /^[smtwf]/i,
|
|
28933
29010
|
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
28934
29011
|
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
28935
29012
|
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
28936
29013
|
};
|
|
28937
|
-
var parseDayPatterns$
|
|
29014
|
+
var parseDayPatterns$a = {
|
|
28938
29015
|
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
28939
29016
|
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
28940
29017
|
};
|
|
28941
|
-
var matchDayPeriodPatterns$
|
|
29018
|
+
var matchDayPeriodPatterns$a = {
|
|
28942
29019
|
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
28943
29020
|
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
28944
29021
|
};
|
|
28945
|
-
var parseDayPeriodPatterns$
|
|
29022
|
+
var parseDayPeriodPatterns$a = {
|
|
28946
29023
|
any: {
|
|
28947
29024
|
am: /^a/i,
|
|
28948
29025
|
pm: /^p/i,
|
|
@@ -28954,55 +29031,55 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28954
29031
|
night: /night/i
|
|
28955
29032
|
}
|
|
28956
29033
|
};
|
|
28957
|
-
var match$
|
|
29034
|
+
var match$a = {
|
|
28958
29035
|
ordinalNumber: buildMatchPatternFn$1({
|
|
28959
|
-
matchPattern: matchOrdinalNumberPattern$
|
|
28960
|
-
parsePattern: parseOrdinalNumberPattern$
|
|
29036
|
+
matchPattern: matchOrdinalNumberPattern$a,
|
|
29037
|
+
parsePattern: parseOrdinalNumberPattern$a,
|
|
28961
29038
|
valueCallback: function(value) {
|
|
28962
29039
|
return parseInt(value, 10);
|
|
28963
29040
|
}
|
|
28964
29041
|
}),
|
|
28965
29042
|
era: buildMatchFn$1({
|
|
28966
|
-
matchPatterns: matchEraPatterns$
|
|
29043
|
+
matchPatterns: matchEraPatterns$a,
|
|
28967
29044
|
defaultMatchWidth: "wide",
|
|
28968
|
-
parsePatterns: parseEraPatterns$
|
|
29045
|
+
parsePatterns: parseEraPatterns$a,
|
|
28969
29046
|
defaultParseWidth: "any"
|
|
28970
29047
|
}),
|
|
28971
29048
|
quarter: buildMatchFn$1({
|
|
28972
|
-
matchPatterns: matchQuarterPatterns$
|
|
29049
|
+
matchPatterns: matchQuarterPatterns$a,
|
|
28973
29050
|
defaultMatchWidth: "wide",
|
|
28974
|
-
parsePatterns: parseQuarterPatterns$
|
|
29051
|
+
parsePatterns: parseQuarterPatterns$a,
|
|
28975
29052
|
defaultParseWidth: "any",
|
|
28976
29053
|
valueCallback: function(index2) {
|
|
28977
29054
|
return index2 + 1;
|
|
28978
29055
|
}
|
|
28979
29056
|
}),
|
|
28980
29057
|
month: buildMatchFn$1({
|
|
28981
|
-
matchPatterns: matchMonthPatterns$
|
|
29058
|
+
matchPatterns: matchMonthPatterns$a,
|
|
28982
29059
|
defaultMatchWidth: "wide",
|
|
28983
|
-
parsePatterns: parseMonthPatterns$
|
|
29060
|
+
parsePatterns: parseMonthPatterns$a,
|
|
28984
29061
|
defaultParseWidth: "any"
|
|
28985
29062
|
}),
|
|
28986
29063
|
day: buildMatchFn$1({
|
|
28987
|
-
matchPatterns: matchDayPatterns$
|
|
29064
|
+
matchPatterns: matchDayPatterns$a,
|
|
28988
29065
|
defaultMatchWidth: "wide",
|
|
28989
|
-
parsePatterns: parseDayPatterns$
|
|
29066
|
+
parsePatterns: parseDayPatterns$a,
|
|
28990
29067
|
defaultParseWidth: "any"
|
|
28991
29068
|
}),
|
|
28992
29069
|
dayPeriod: buildMatchFn$1({
|
|
28993
|
-
matchPatterns: matchDayPeriodPatterns$
|
|
29070
|
+
matchPatterns: matchDayPeriodPatterns$a,
|
|
28994
29071
|
defaultMatchWidth: "any",
|
|
28995
|
-
parsePatterns: parseDayPeriodPatterns$
|
|
29072
|
+
parsePatterns: parseDayPeriodPatterns$a,
|
|
28996
29073
|
defaultParseWidth: "any"
|
|
28997
29074
|
})
|
|
28998
29075
|
};
|
|
28999
|
-
var locale$
|
|
29076
|
+
var locale$a = {
|
|
29000
29077
|
code: "en-US",
|
|
29001
|
-
formatDistance: formatDistance$
|
|
29002
|
-
formatLong: formatLong$
|
|
29003
|
-
formatRelative: formatRelative$
|
|
29004
|
-
localize: localize$
|
|
29005
|
-
match: match$
|
|
29078
|
+
formatDistance: formatDistance$a,
|
|
29079
|
+
formatLong: formatLong$a,
|
|
29080
|
+
formatRelative: formatRelative$a,
|
|
29081
|
+
localize: localize$a,
|
|
29082
|
+
match: match$a,
|
|
29006
29083
|
options: {
|
|
29007
29084
|
weekStartsOn: 0,
|
|
29008
29085
|
firstWeekContainsDate: 1
|
|
@@ -30008,7 +30085,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
30008
30085
|
requiredArgs$1(2, arguments);
|
|
30009
30086
|
var formatStr = String(dirtyFormatStr);
|
|
30010
30087
|
var options2 = dirtyOptions || {};
|
|
30011
|
-
var locale2 = options2.locale || locale$
|
|
30088
|
+
var locale2 = options2.locale || locale$a;
|
|
30012
30089
|
var localeFirstWeekContainsDate = locale2.options && locale2.options.firstWeekContainsDate;
|
|
30013
30090
|
var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : toInteger$1(localeFirstWeekContainsDate);
|
|
30014
30091
|
var firstWeekContainsDate = options2.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : toInteger$1(options2.firstWeekContainsDate);
|
|
@@ -31194,7 +31271,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
31194
31271
|
throw new RangeError("Use `dd` instead of `DD` (in `".concat(format2, "`) for formatting days of the month to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
|
|
31195
31272
|
}
|
|
31196
31273
|
}
|
|
31197
|
-
var formatDistanceLocale$
|
|
31274
|
+
var formatDistanceLocale$9 = {
|
|
31198
31275
|
lessThanXSeconds: {
|
|
31199
31276
|
one: "less than a second",
|
|
31200
31277
|
other: "less than {{count}} seconds"
|
|
@@ -31257,9 +31334,9 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
31257
31334
|
other: "almost {{count}} years"
|
|
31258
31335
|
}
|
|
31259
31336
|
};
|
|
31260
|
-
var formatDistance$
|
|
31337
|
+
var formatDistance$9 = function formatDistance2(token2, count, options2) {
|
|
31261
31338
|
var result;
|
|
31262
|
-
var tokenValue = formatDistanceLocale$
|
|
31339
|
+
var tokenValue = formatDistanceLocale$9[token2];
|
|
31263
31340
|
if (typeof tokenValue === "string") {
|
|
31264
31341
|
result = tokenValue;
|
|
31265
31342
|
} else if (count === 1) {
|
|
@@ -31284,39 +31361,39 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
31284
31361
|
return format2;
|
|
31285
31362
|
};
|
|
31286
31363
|
}
|
|
31287
|
-
var dateFormats$
|
|
31364
|
+
var dateFormats$9 = {
|
|
31288
31365
|
full: "EEEE, MMMM do, y",
|
|
31289
31366
|
long: "MMMM do, y",
|
|
31290
31367
|
medium: "MMM d, y",
|
|
31291
31368
|
short: "MM/dd/yyyy"
|
|
31292
31369
|
};
|
|
31293
|
-
var timeFormats$
|
|
31370
|
+
var timeFormats$9 = {
|
|
31294
31371
|
full: "h:mm:ss a zzzz",
|
|
31295
31372
|
long: "h:mm:ss a z",
|
|
31296
31373
|
medium: "h:mm:ss a",
|
|
31297
31374
|
short: "h:mm a"
|
|
31298
31375
|
};
|
|
31299
|
-
var dateTimeFormats$
|
|
31376
|
+
var dateTimeFormats$9 = {
|
|
31300
31377
|
full: "{{date}} 'at' {{time}}",
|
|
31301
31378
|
long: "{{date}} 'at' {{time}}",
|
|
31302
31379
|
medium: "{{date}}, {{time}}",
|
|
31303
31380
|
short: "{{date}}, {{time}}"
|
|
31304
31381
|
};
|
|
31305
|
-
var formatLong$
|
|
31382
|
+
var formatLong$9 = {
|
|
31306
31383
|
date: buildFormatLongFn({
|
|
31307
|
-
formats: dateFormats$
|
|
31384
|
+
formats: dateFormats$9,
|
|
31308
31385
|
defaultWidth: "full"
|
|
31309
31386
|
}),
|
|
31310
31387
|
time: buildFormatLongFn({
|
|
31311
|
-
formats: timeFormats$
|
|
31388
|
+
formats: timeFormats$9,
|
|
31312
31389
|
defaultWidth: "full"
|
|
31313
31390
|
}),
|
|
31314
31391
|
dateTime: buildFormatLongFn({
|
|
31315
|
-
formats: dateTimeFormats$
|
|
31392
|
+
formats: dateTimeFormats$9,
|
|
31316
31393
|
defaultWidth: "full"
|
|
31317
31394
|
})
|
|
31318
31395
|
};
|
|
31319
|
-
var formatRelativeLocale$
|
|
31396
|
+
var formatRelativeLocale$9 = {
|
|
31320
31397
|
lastWeek: "'last' eeee 'at' p",
|
|
31321
31398
|
yesterday: "'yesterday at' p",
|
|
31322
31399
|
today: "'today at' p",
|
|
@@ -31324,8 +31401,8 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
31324
31401
|
nextWeek: "eeee 'at' p",
|
|
31325
31402
|
other: "P"
|
|
31326
31403
|
};
|
|
31327
|
-
var formatRelative$
|
|
31328
|
-
return formatRelativeLocale$
|
|
31404
|
+
var formatRelative$9 = function formatRelative2(token2, _date, _baseDate, _options) {
|
|
31405
|
+
return formatRelativeLocale$9[token2];
|
|
31329
31406
|
};
|
|
31330
31407
|
function buildLocalizeFn(args) {
|
|
31331
31408
|
return function(dirtyIndex, options2) {
|
|
@@ -31344,28 +31421,28 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
31344
31421
|
return valuesArray[index2];
|
|
31345
31422
|
};
|
|
31346
31423
|
}
|
|
31347
|
-
var eraValues$
|
|
31424
|
+
var eraValues$9 = {
|
|
31348
31425
|
narrow: ["B", "A"],
|
|
31349
31426
|
abbreviated: ["BC", "AD"],
|
|
31350
31427
|
wide: ["Before Christ", "Anno Domini"]
|
|
31351
31428
|
};
|
|
31352
|
-
var quarterValues$
|
|
31429
|
+
var quarterValues$9 = {
|
|
31353
31430
|
narrow: ["1", "2", "3", "4"],
|
|
31354
31431
|
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
31355
31432
|
wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
|
|
31356
31433
|
};
|
|
31357
|
-
var monthValues$
|
|
31434
|
+
var monthValues$9 = {
|
|
31358
31435
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
31359
31436
|
abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
|
31360
31437
|
wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
|
|
31361
31438
|
};
|
|
31362
|
-
var dayValues$
|
|
31439
|
+
var dayValues$9 = {
|
|
31363
31440
|
narrow: ["S", "M", "T", "W", "T", "F", "S"],
|
|
31364
31441
|
short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
31365
31442
|
abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
31366
31443
|
wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
|
|
31367
31444
|
};
|
|
31368
|
-
var dayPeriodValues$
|
|
31445
|
+
var dayPeriodValues$9 = {
|
|
31369
31446
|
narrow: {
|
|
31370
31447
|
am: "a",
|
|
31371
31448
|
pm: "p",
|
|
@@ -31397,7 +31474,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
31397
31474
|
night: "night"
|
|
31398
31475
|
}
|
|
31399
31476
|
};
|
|
31400
|
-
var formattingDayPeriodValues$
|
|
31477
|
+
var formattingDayPeriodValues$6 = {
|
|
31401
31478
|
narrow: {
|
|
31402
31479
|
am: "a",
|
|
31403
31480
|
pm: "p",
|
|
@@ -31429,7 +31506,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
31429
31506
|
night: "at night"
|
|
31430
31507
|
}
|
|
31431
31508
|
};
|
|
31432
|
-
var ordinalNumber$
|
|
31509
|
+
var ordinalNumber$9 = function ordinalNumber2(dirtyNumber, _options) {
|
|
31433
31510
|
var number2 = Number(dirtyNumber);
|
|
31434
31511
|
var rem100 = number2 % 100;
|
|
31435
31512
|
if (rem100 > 20 || rem100 < 10) {
|
|
@@ -31444,31 +31521,31 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
31444
31521
|
}
|
|
31445
31522
|
return number2 + "th";
|
|
31446
31523
|
};
|
|
31447
|
-
var localize$
|
|
31448
|
-
ordinalNumber: ordinalNumber$
|
|
31524
|
+
var localize$9 = {
|
|
31525
|
+
ordinalNumber: ordinalNumber$9,
|
|
31449
31526
|
era: buildLocalizeFn({
|
|
31450
|
-
values: eraValues$
|
|
31527
|
+
values: eraValues$9,
|
|
31451
31528
|
defaultWidth: "wide"
|
|
31452
31529
|
}),
|
|
31453
31530
|
quarter: buildLocalizeFn({
|
|
31454
|
-
values: quarterValues$
|
|
31531
|
+
values: quarterValues$9,
|
|
31455
31532
|
defaultWidth: "wide",
|
|
31456
31533
|
argumentCallback: function argumentCallback(quarter) {
|
|
31457
31534
|
return quarter - 1;
|
|
31458
31535
|
}
|
|
31459
31536
|
}),
|
|
31460
31537
|
month: buildLocalizeFn({
|
|
31461
|
-
values: monthValues$
|
|
31538
|
+
values: monthValues$9,
|
|
31462
31539
|
defaultWidth: "wide"
|
|
31463
31540
|
}),
|
|
31464
31541
|
day: buildLocalizeFn({
|
|
31465
|
-
values: dayValues$
|
|
31542
|
+
values: dayValues$9,
|
|
31466
31543
|
defaultWidth: "wide"
|
|
31467
31544
|
}),
|
|
31468
31545
|
dayPeriod: buildLocalizeFn({
|
|
31469
|
-
values: dayPeriodValues$
|
|
31546
|
+
values: dayPeriodValues$9,
|
|
31470
31547
|
defaultWidth: "wide",
|
|
31471
|
-
formattingValues: formattingDayPeriodValues$
|
|
31548
|
+
formattingValues: formattingDayPeriodValues$6,
|
|
31472
31549
|
defaultFormattingWidth: "wide"
|
|
31473
31550
|
})
|
|
31474
31551
|
};
|
|
@@ -31531,48 +31608,48 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
31531
31608
|
};
|
|
31532
31609
|
};
|
|
31533
31610
|
}
|
|
31534
|
-
var matchOrdinalNumberPattern$
|
|
31535
|
-
var parseOrdinalNumberPattern$
|
|
31536
|
-
var matchEraPatterns$
|
|
31611
|
+
var matchOrdinalNumberPattern$9 = /^(\d+)(th|st|nd|rd)?/i;
|
|
31612
|
+
var parseOrdinalNumberPattern$9 = /\d+/i;
|
|
31613
|
+
var matchEraPatterns$9 = {
|
|
31537
31614
|
narrow: /^(b|a)/i,
|
|
31538
31615
|
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
31539
31616
|
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
31540
31617
|
};
|
|
31541
|
-
var parseEraPatterns$
|
|
31618
|
+
var parseEraPatterns$9 = {
|
|
31542
31619
|
any: [/^b/i, /^(a|c)/i]
|
|
31543
31620
|
};
|
|
31544
|
-
var matchQuarterPatterns$
|
|
31621
|
+
var matchQuarterPatterns$9 = {
|
|
31545
31622
|
narrow: /^[1234]/i,
|
|
31546
31623
|
abbreviated: /^q[1234]/i,
|
|
31547
31624
|
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
31548
31625
|
};
|
|
31549
|
-
var parseQuarterPatterns$
|
|
31626
|
+
var parseQuarterPatterns$9 = {
|
|
31550
31627
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
31551
31628
|
};
|
|
31552
|
-
var matchMonthPatterns$
|
|
31629
|
+
var matchMonthPatterns$9 = {
|
|
31553
31630
|
narrow: /^[jfmasond]/i,
|
|
31554
31631
|
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
31555
31632
|
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
31556
31633
|
};
|
|
31557
|
-
var parseMonthPatterns$
|
|
31634
|
+
var parseMonthPatterns$9 = {
|
|
31558
31635
|
narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
|
|
31559
31636
|
any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
|
|
31560
31637
|
};
|
|
31561
|
-
var matchDayPatterns$
|
|
31638
|
+
var matchDayPatterns$9 = {
|
|
31562
31639
|
narrow: /^[smtwf]/i,
|
|
31563
31640
|
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
31564
31641
|
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
31565
31642
|
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
31566
31643
|
};
|
|
31567
|
-
var parseDayPatterns$
|
|
31644
|
+
var parseDayPatterns$9 = {
|
|
31568
31645
|
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
31569
31646
|
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
31570
31647
|
};
|
|
31571
|
-
var matchDayPeriodPatterns$
|
|
31648
|
+
var matchDayPeriodPatterns$9 = {
|
|
31572
31649
|
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
31573
31650
|
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
31574
31651
|
};
|
|
31575
|
-
var parseDayPeriodPatterns$
|
|
31652
|
+
var parseDayPeriodPatterns$9 = {
|
|
31576
31653
|
any: {
|
|
31577
31654
|
am: /^a/i,
|
|
31578
31655
|
pm: /^p/i,
|
|
@@ -31584,55 +31661,55 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
31584
31661
|
night: /night/i
|
|
31585
31662
|
}
|
|
31586
31663
|
};
|
|
31587
|
-
var match$
|
|
31664
|
+
var match$9 = {
|
|
31588
31665
|
ordinalNumber: buildMatchPatternFn({
|
|
31589
|
-
matchPattern: matchOrdinalNumberPattern$
|
|
31590
|
-
parsePattern: parseOrdinalNumberPattern$
|
|
31666
|
+
matchPattern: matchOrdinalNumberPattern$9,
|
|
31667
|
+
parsePattern: parseOrdinalNumberPattern$9,
|
|
31591
31668
|
valueCallback: function valueCallback(value) {
|
|
31592
31669
|
return parseInt(value, 10);
|
|
31593
31670
|
}
|
|
31594
31671
|
}),
|
|
31595
31672
|
era: buildMatchFn({
|
|
31596
|
-
matchPatterns: matchEraPatterns$
|
|
31673
|
+
matchPatterns: matchEraPatterns$9,
|
|
31597
31674
|
defaultMatchWidth: "wide",
|
|
31598
|
-
parsePatterns: parseEraPatterns$
|
|
31675
|
+
parsePatterns: parseEraPatterns$9,
|
|
31599
31676
|
defaultParseWidth: "any"
|
|
31600
31677
|
}),
|
|
31601
31678
|
quarter: buildMatchFn({
|
|
31602
|
-
matchPatterns: matchQuarterPatterns$
|
|
31679
|
+
matchPatterns: matchQuarterPatterns$9,
|
|
31603
31680
|
defaultMatchWidth: "wide",
|
|
31604
|
-
parsePatterns: parseQuarterPatterns$
|
|
31681
|
+
parsePatterns: parseQuarterPatterns$9,
|
|
31605
31682
|
defaultParseWidth: "any",
|
|
31606
31683
|
valueCallback: function valueCallback(index2) {
|
|
31607
31684
|
return index2 + 1;
|
|
31608
31685
|
}
|
|
31609
31686
|
}),
|
|
31610
31687
|
month: buildMatchFn({
|
|
31611
|
-
matchPatterns: matchMonthPatterns$
|
|
31688
|
+
matchPatterns: matchMonthPatterns$9,
|
|
31612
31689
|
defaultMatchWidth: "wide",
|
|
31613
|
-
parsePatterns: parseMonthPatterns$
|
|
31690
|
+
parsePatterns: parseMonthPatterns$9,
|
|
31614
31691
|
defaultParseWidth: "any"
|
|
31615
31692
|
}),
|
|
31616
31693
|
day: buildMatchFn({
|
|
31617
|
-
matchPatterns: matchDayPatterns$
|
|
31694
|
+
matchPatterns: matchDayPatterns$9,
|
|
31618
31695
|
defaultMatchWidth: "wide",
|
|
31619
|
-
parsePatterns: parseDayPatterns$
|
|
31696
|
+
parsePatterns: parseDayPatterns$9,
|
|
31620
31697
|
defaultParseWidth: "any"
|
|
31621
31698
|
}),
|
|
31622
31699
|
dayPeriod: buildMatchFn({
|
|
31623
|
-
matchPatterns: matchDayPeriodPatterns$
|
|
31700
|
+
matchPatterns: matchDayPeriodPatterns$9,
|
|
31624
31701
|
defaultMatchWidth: "any",
|
|
31625
|
-
parsePatterns: parseDayPeriodPatterns$
|
|
31702
|
+
parsePatterns: parseDayPeriodPatterns$9,
|
|
31626
31703
|
defaultParseWidth: "any"
|
|
31627
31704
|
})
|
|
31628
31705
|
};
|
|
31629
|
-
var locale$
|
|
31706
|
+
var locale$9 = {
|
|
31630
31707
|
code: "en-US",
|
|
31631
|
-
formatDistance: formatDistance$
|
|
31632
|
-
formatLong: formatLong$
|
|
31633
|
-
formatRelative: formatRelative$
|
|
31634
|
-
localize: localize$
|
|
31635
|
-
match: match$
|
|
31708
|
+
formatDistance: formatDistance$9,
|
|
31709
|
+
formatLong: formatLong$9,
|
|
31710
|
+
formatRelative: formatRelative$9,
|
|
31711
|
+
localize: localize$9,
|
|
31712
|
+
match: match$9,
|
|
31636
31713
|
options: {
|
|
31637
31714
|
weekStartsOn: 0,
|
|
31638
31715
|
firstWeekContainsDate: 1
|
|
@@ -31648,7 +31725,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
31648
31725
|
requiredArgs(2, arguments);
|
|
31649
31726
|
var formatStr = String(dirtyFormatStr);
|
|
31650
31727
|
var defaultOptions2 = getDefaultOptions();
|
|
31651
|
-
var locale2 = (_ref3 = (_options$locale = options2 === null || options2 === void 0 ? void 0 : options2.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions2.locale) !== null && _ref3 !== void 0 ? _ref3 : locale$
|
|
31728
|
+
var locale2 = (_ref3 = (_options$locale = options2 === null || options2 === void 0 ? void 0 : options2.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions2.locale) !== null && _ref3 !== void 0 ? _ref3 : locale$9;
|
|
31652
31729
|
var firstWeekContainsDate = toInteger((_ref22 = (_ref32 = (_ref4 = (_options$firstWeekCon = options2 === null || options2 === void 0 ? void 0 : options2.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options2 === null || options2 === void 0 ? void 0 : (_options$locale2 = options2.locale) === null || _options$locale2 === void 0 ? void 0 : (_options$locale2$opti = _options$locale2.options) === null || _options$locale2$opti === void 0 ? void 0 : _options$locale2$opti.firstWeekContainsDate) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions2.firstWeekContainsDate) !== null && _ref32 !== void 0 ? _ref32 : (_defaultOptions$local = defaultOptions2.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref22 !== void 0 ? _ref22 : 1);
|
|
31653
31730
|
if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {
|
|
31654
31731
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
@@ -34219,7 +34296,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
34219
34296
|
var dateString = String(dirtyDateString);
|
|
34220
34297
|
var formatString = String(dirtyFormatString);
|
|
34221
34298
|
var defaultOptions2 = getDefaultOptions();
|
|
34222
|
-
var locale2 = (_ref3 = (_options$locale = options2 === null || options2 === void 0 ? void 0 : options2.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions2.locale) !== null && _ref3 !== void 0 ? _ref3 : locale$
|
|
34299
|
+
var locale2 = (_ref3 = (_options$locale = options2 === null || options2 === void 0 ? void 0 : options2.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions2.locale) !== null && _ref3 !== void 0 ? _ref3 : locale$9;
|
|
34223
34300
|
if (!locale2.match) {
|
|
34224
34301
|
throw new RangeError("locale must contain match property");
|
|
34225
34302
|
}
|
|
@@ -36723,7 +36800,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
36723
36800
|
var dateRightStartOfWeek = startOfUTCWeek$1(dirtyDateRight, options2);
|
|
36724
36801
|
return dateLeftStartOfWeek.getTime() === dateRightStartOfWeek.getTime();
|
|
36725
36802
|
}
|
|
36726
|
-
var formatDistanceLocale$
|
|
36803
|
+
var formatDistanceLocale$8 = {
|
|
36727
36804
|
lessThanXSeconds: {
|
|
36728
36805
|
standalone: {
|
|
36729
36806
|
one: "weniger als eine Sekunde",
|
|
@@ -36879,9 +36956,9 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
36879
36956
|
}
|
|
36880
36957
|
}
|
|
36881
36958
|
};
|
|
36882
|
-
var formatDistance$
|
|
36959
|
+
var formatDistance$8 = function(token2, count, options2) {
|
|
36883
36960
|
options2 = options2 || {};
|
|
36884
|
-
var usageGroup = options2.addSuffix ? formatDistanceLocale$
|
|
36961
|
+
var usageGroup = options2.addSuffix ? formatDistanceLocale$8[token2].withPreposition : formatDistanceLocale$8[token2].standalone;
|
|
36885
36962
|
var result;
|
|
36886
36963
|
if (typeof usageGroup === "string") {
|
|
36887
36964
|
result = usageGroup;
|
|
@@ -36899,7 +36976,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
36899
36976
|
}
|
|
36900
36977
|
return result;
|
|
36901
36978
|
};
|
|
36902
|
-
var dateFormats$
|
|
36979
|
+
var dateFormats$8 = {
|
|
36903
36980
|
full: "EEEE, do MMMM y",
|
|
36904
36981
|
// Montag, 7. Januar 2018
|
|
36905
36982
|
long: "do MMMM y",
|
|
@@ -36909,33 +36986,33 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
36909
36986
|
short: "dd.MM.y"
|
|
36910
36987
|
// 07.01.2018
|
|
36911
36988
|
};
|
|
36912
|
-
var timeFormats$
|
|
36989
|
+
var timeFormats$8 = {
|
|
36913
36990
|
full: "HH:mm:ss zzzz",
|
|
36914
36991
|
long: "HH:mm:ss z",
|
|
36915
36992
|
medium: "HH:mm:ss",
|
|
36916
36993
|
short: "HH:mm"
|
|
36917
36994
|
};
|
|
36918
|
-
var dateTimeFormats$
|
|
36995
|
+
var dateTimeFormats$8 = {
|
|
36919
36996
|
full: "{{date}} 'um' {{time}}",
|
|
36920
36997
|
long: "{{date}} 'um' {{time}}",
|
|
36921
36998
|
medium: "{{date}} {{time}}",
|
|
36922
36999
|
short: "{{date}} {{time}}"
|
|
36923
37000
|
};
|
|
36924
|
-
var formatLong$
|
|
37001
|
+
var formatLong$8 = {
|
|
36925
37002
|
date: buildFormatLongFn$1({
|
|
36926
|
-
formats: dateFormats$
|
|
37003
|
+
formats: dateFormats$8,
|
|
36927
37004
|
defaultWidth: "full"
|
|
36928
37005
|
}),
|
|
36929
37006
|
time: buildFormatLongFn$1({
|
|
36930
|
-
formats: timeFormats$
|
|
37007
|
+
formats: timeFormats$8,
|
|
36931
37008
|
defaultWidth: "full"
|
|
36932
37009
|
}),
|
|
36933
37010
|
dateTime: buildFormatLongFn$1({
|
|
36934
|
-
formats: dateTimeFormats$
|
|
37011
|
+
formats: dateTimeFormats$8,
|
|
36935
37012
|
defaultWidth: "full"
|
|
36936
37013
|
})
|
|
36937
37014
|
};
|
|
36938
|
-
var formatRelativeLocale$
|
|
37015
|
+
var formatRelativeLocale$8 = {
|
|
36939
37016
|
lastWeek: "'letzten' eeee 'um' p",
|
|
36940
37017
|
yesterday: "'gestern um' p",
|
|
36941
37018
|
today: "'heute um' p",
|
|
@@ -36943,31 +37020,31 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
36943
37020
|
nextWeek: "eeee 'um' p",
|
|
36944
37021
|
other: "P"
|
|
36945
37022
|
};
|
|
36946
|
-
var formatRelative$
|
|
36947
|
-
return formatRelativeLocale$
|
|
37023
|
+
var formatRelative$8 = function(token2, _date, _baseDate, _options) {
|
|
37024
|
+
return formatRelativeLocale$8[token2];
|
|
36948
37025
|
};
|
|
36949
|
-
var eraValues$
|
|
37026
|
+
var eraValues$8 = {
|
|
36950
37027
|
narrow: ["v.Chr.", "n.Chr."],
|
|
36951
37028
|
abbreviated: ["v.Chr.", "n.Chr."],
|
|
36952
37029
|
wide: ["vor Christus", "nach Christus"]
|
|
36953
37030
|
};
|
|
36954
|
-
var quarterValues$
|
|
37031
|
+
var quarterValues$8 = {
|
|
36955
37032
|
narrow: ["1", "2", "3", "4"],
|
|
36956
37033
|
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
36957
37034
|
wide: ["1. Quartal", "2. Quartal", "3. Quartal", "4. Quartal"]
|
|
36958
37035
|
};
|
|
36959
|
-
var monthValues$
|
|
37036
|
+
var monthValues$8 = {
|
|
36960
37037
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
36961
37038
|
abbreviated: ["Jan.", "Feb.", "März", "Apr.", "Mai", "Juni", "Juli", "Aug.", "Sep.", "Okt.", "Nov.", "Dez."],
|
|
36962
37039
|
wide: ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"]
|
|
36963
37040
|
};
|
|
36964
|
-
var dayValues$
|
|
37041
|
+
var dayValues$8 = {
|
|
36965
37042
|
narrow: ["S", "M", "D", "M", "D", "F", "S"],
|
|
36966
37043
|
short: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
|
|
36967
37044
|
abbreviated: ["So.", "Mo.", "Di.", "Mi.", "Do.", "Fr.", "Sa."],
|
|
36968
37045
|
wide: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"]
|
|
36969
37046
|
};
|
|
36970
|
-
var dayPeriodValues$
|
|
37047
|
+
var dayPeriodValues$8 = {
|
|
36971
37048
|
narrow: {
|
|
36972
37049
|
am: "vm.",
|
|
36973
37050
|
pm: "nm.",
|
|
@@ -36999,7 +37076,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
36999
37076
|
night: "Nacht"
|
|
37000
37077
|
}
|
|
37001
37078
|
};
|
|
37002
|
-
var formattingDayPeriodValues$
|
|
37079
|
+
var formattingDayPeriodValues$5 = {
|
|
37003
37080
|
narrow: {
|
|
37004
37081
|
am: "vm.",
|
|
37005
37082
|
pm: "nm.",
|
|
@@ -37031,80 +37108,80 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37031
37108
|
night: "nachts"
|
|
37032
37109
|
}
|
|
37033
37110
|
};
|
|
37034
|
-
var ordinalNumber$
|
|
37111
|
+
var ordinalNumber$8 = function(dirtyNumber, _dirtyOptions) {
|
|
37035
37112
|
var number2 = Number(dirtyNumber);
|
|
37036
37113
|
return number2 + ".";
|
|
37037
37114
|
};
|
|
37038
|
-
var localize$
|
|
37039
|
-
ordinalNumber: ordinalNumber$
|
|
37115
|
+
var localize$8 = {
|
|
37116
|
+
ordinalNumber: ordinalNumber$8,
|
|
37040
37117
|
era: buildLocalizeFn$1({
|
|
37041
|
-
values: eraValues$
|
|
37118
|
+
values: eraValues$8,
|
|
37042
37119
|
defaultWidth: "wide"
|
|
37043
37120
|
}),
|
|
37044
37121
|
quarter: buildLocalizeFn$1({
|
|
37045
|
-
values: quarterValues$
|
|
37122
|
+
values: quarterValues$8,
|
|
37046
37123
|
defaultWidth: "wide",
|
|
37047
37124
|
argumentCallback: function(quarter) {
|
|
37048
37125
|
return quarter - 1;
|
|
37049
37126
|
}
|
|
37050
37127
|
}),
|
|
37051
37128
|
month: buildLocalizeFn$1({
|
|
37052
|
-
values: monthValues$
|
|
37129
|
+
values: monthValues$8,
|
|
37053
37130
|
defaultWidth: "wide"
|
|
37054
37131
|
}),
|
|
37055
37132
|
day: buildLocalizeFn$1({
|
|
37056
|
-
values: dayValues$
|
|
37133
|
+
values: dayValues$8,
|
|
37057
37134
|
defaultWidth: "wide"
|
|
37058
37135
|
}),
|
|
37059
37136
|
dayPeriod: buildLocalizeFn$1({
|
|
37060
|
-
values: dayPeriodValues$
|
|
37137
|
+
values: dayPeriodValues$8,
|
|
37061
37138
|
defaultWidth: "wide",
|
|
37062
|
-
formattingValues: formattingDayPeriodValues$
|
|
37139
|
+
formattingValues: formattingDayPeriodValues$5,
|
|
37063
37140
|
defaultFormattingWidth: "wide"
|
|
37064
37141
|
})
|
|
37065
37142
|
};
|
|
37066
|
-
var matchOrdinalNumberPattern$
|
|
37067
|
-
var parseOrdinalNumberPattern$
|
|
37068
|
-
var matchEraPatterns$
|
|
37143
|
+
var matchOrdinalNumberPattern$8 = /^(\d+)(\.)?/i;
|
|
37144
|
+
var parseOrdinalNumberPattern$8 = /\d+/i;
|
|
37145
|
+
var matchEraPatterns$8 = {
|
|
37069
37146
|
narrow: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,
|
|
37070
37147
|
abbreviated: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,
|
|
37071
37148
|
wide: /^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i
|
|
37072
37149
|
};
|
|
37073
|
-
var parseEraPatterns$
|
|
37150
|
+
var parseEraPatterns$8 = {
|
|
37074
37151
|
any: [/^v/i, /^n/i]
|
|
37075
37152
|
};
|
|
37076
|
-
var matchQuarterPatterns$
|
|
37153
|
+
var matchQuarterPatterns$8 = {
|
|
37077
37154
|
narrow: /^[1234]/i,
|
|
37078
37155
|
abbreviated: /^q[1234]/i,
|
|
37079
37156
|
wide: /^[1234](\.)? Quartal/i
|
|
37080
37157
|
};
|
|
37081
|
-
var parseQuarterPatterns$
|
|
37158
|
+
var parseQuarterPatterns$8 = {
|
|
37082
37159
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
37083
37160
|
};
|
|
37084
|
-
var matchMonthPatterns$
|
|
37161
|
+
var matchMonthPatterns$8 = {
|
|
37085
37162
|
narrow: /^[jfmasond]/i,
|
|
37086
37163
|
abbreviated: /^(jan|feb|mär|apr|mai|jun|jul|aug|sep|okt|nov|dez)/i,
|
|
37087
37164
|
wide: /^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i
|
|
37088
37165
|
};
|
|
37089
|
-
var parseMonthPatterns$
|
|
37166
|
+
var parseMonthPatterns$8 = {
|
|
37090
37167
|
narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
|
|
37091
37168
|
any: [/^ja/i, /^f/i, /^mär/i, /^ap/i, /^mai/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
|
|
37092
37169
|
};
|
|
37093
|
-
var matchDayPatterns$
|
|
37170
|
+
var matchDayPatterns$8 = {
|
|
37094
37171
|
narrow: /^[smdmf]/i,
|
|
37095
37172
|
short: /^(so|mo|di|mi|do|fr|sa)/i,
|
|
37096
37173
|
abbreviated: /^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,
|
|
37097
37174
|
wide: /^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i
|
|
37098
37175
|
};
|
|
37099
|
-
var parseDayPatterns$
|
|
37176
|
+
var parseDayPatterns$8 = {
|
|
37100
37177
|
any: [/^so/i, /^mo/i, /^di/i, /^mi/i, /^do/i, /^f/i, /^sa/i]
|
|
37101
37178
|
};
|
|
37102
|
-
var matchDayPeriodPatterns$
|
|
37179
|
+
var matchDayPeriodPatterns$8 = {
|
|
37103
37180
|
narrow: /^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,
|
|
37104
37181
|
abbreviated: /^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,
|
|
37105
37182
|
wide: /^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i
|
|
37106
37183
|
};
|
|
37107
|
-
var parseDayPeriodPatterns$
|
|
37184
|
+
var parseDayPeriodPatterns$8 = {
|
|
37108
37185
|
any: {
|
|
37109
37186
|
am: /^v/i,
|
|
37110
37187
|
pm: /^n/i,
|
|
@@ -37118,61 +37195,61 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37118
37195
|
// will never be matched. Night is matched by `pm`
|
|
37119
37196
|
}
|
|
37120
37197
|
};
|
|
37121
|
-
var match$
|
|
37198
|
+
var match$8 = {
|
|
37122
37199
|
ordinalNumber: buildMatchPatternFn$1({
|
|
37123
|
-
matchPattern: matchOrdinalNumberPattern$
|
|
37124
|
-
parsePattern: parseOrdinalNumberPattern$
|
|
37200
|
+
matchPattern: matchOrdinalNumberPattern$8,
|
|
37201
|
+
parsePattern: parseOrdinalNumberPattern$8,
|
|
37125
37202
|
valueCallback: function(value) {
|
|
37126
37203
|
return parseInt(value);
|
|
37127
37204
|
}
|
|
37128
37205
|
}),
|
|
37129
37206
|
era: buildMatchFn$1({
|
|
37130
|
-
matchPatterns: matchEraPatterns$
|
|
37207
|
+
matchPatterns: matchEraPatterns$8,
|
|
37131
37208
|
defaultMatchWidth: "wide",
|
|
37132
|
-
parsePatterns: parseEraPatterns$
|
|
37209
|
+
parsePatterns: parseEraPatterns$8,
|
|
37133
37210
|
defaultParseWidth: "any"
|
|
37134
37211
|
}),
|
|
37135
37212
|
quarter: buildMatchFn$1({
|
|
37136
|
-
matchPatterns: matchQuarterPatterns$
|
|
37213
|
+
matchPatterns: matchQuarterPatterns$8,
|
|
37137
37214
|
defaultMatchWidth: "wide",
|
|
37138
|
-
parsePatterns: parseQuarterPatterns$
|
|
37215
|
+
parsePatterns: parseQuarterPatterns$8,
|
|
37139
37216
|
defaultParseWidth: "any",
|
|
37140
37217
|
valueCallback: function(index2) {
|
|
37141
37218
|
return index2 + 1;
|
|
37142
37219
|
}
|
|
37143
37220
|
}),
|
|
37144
37221
|
month: buildMatchFn$1({
|
|
37145
|
-
matchPatterns: matchMonthPatterns$
|
|
37222
|
+
matchPatterns: matchMonthPatterns$8,
|
|
37146
37223
|
defaultMatchWidth: "wide",
|
|
37147
|
-
parsePatterns: parseMonthPatterns$
|
|
37224
|
+
parsePatterns: parseMonthPatterns$8,
|
|
37148
37225
|
defaultParseWidth: "any"
|
|
37149
37226
|
}),
|
|
37150
37227
|
day: buildMatchFn$1({
|
|
37151
|
-
matchPatterns: matchDayPatterns$
|
|
37228
|
+
matchPatterns: matchDayPatterns$8,
|
|
37152
37229
|
defaultMatchWidth: "wide",
|
|
37153
|
-
parsePatterns: parseDayPatterns$
|
|
37230
|
+
parsePatterns: parseDayPatterns$8,
|
|
37154
37231
|
defaultParseWidth: "any"
|
|
37155
37232
|
}),
|
|
37156
37233
|
dayPeriod: buildMatchFn$1({
|
|
37157
|
-
matchPatterns: matchDayPeriodPatterns$
|
|
37234
|
+
matchPatterns: matchDayPeriodPatterns$8,
|
|
37158
37235
|
defaultMatchWidth: "wide",
|
|
37159
|
-
parsePatterns: parseDayPeriodPatterns$
|
|
37236
|
+
parsePatterns: parseDayPeriodPatterns$8,
|
|
37160
37237
|
defaultParseWidth: "any"
|
|
37161
37238
|
})
|
|
37162
37239
|
};
|
|
37163
|
-
var locale$
|
|
37240
|
+
var locale$8 = {
|
|
37164
37241
|
code: "de",
|
|
37165
|
-
formatDistance: formatDistance$
|
|
37166
|
-
formatLong: formatLong$
|
|
37167
|
-
formatRelative: formatRelative$
|
|
37168
|
-
localize: localize$
|
|
37169
|
-
match: match$
|
|
37242
|
+
formatDistance: formatDistance$8,
|
|
37243
|
+
formatLong: formatLong$8,
|
|
37244
|
+
formatRelative: formatRelative$8,
|
|
37245
|
+
localize: localize$8,
|
|
37246
|
+
match: match$8,
|
|
37170
37247
|
options: {
|
|
37171
37248
|
weekStartsOn: 1,
|
|
37172
37249
|
firstWeekContainsDate: 4
|
|
37173
37250
|
}
|
|
37174
37251
|
};
|
|
37175
|
-
var formatDistanceLocale$
|
|
37252
|
+
var formatDistanceLocale$7 = {
|
|
37176
37253
|
lessThanXSeconds: {
|
|
37177
37254
|
one: "menos de un segundo",
|
|
37178
37255
|
other: "menos de {{count}} segundos"
|
|
@@ -37235,15 +37312,15 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37235
37312
|
other: "casi {{count}} años"
|
|
37236
37313
|
}
|
|
37237
37314
|
};
|
|
37238
|
-
function formatDistance$
|
|
37315
|
+
function formatDistance$7(token2, count, options2) {
|
|
37239
37316
|
options2 = options2 || {};
|
|
37240
37317
|
var result;
|
|
37241
|
-
if (typeof formatDistanceLocale$
|
|
37242
|
-
result = formatDistanceLocale$
|
|
37318
|
+
if (typeof formatDistanceLocale$7[token2] === "string") {
|
|
37319
|
+
result = formatDistanceLocale$7[token2];
|
|
37243
37320
|
} else if (count === 1) {
|
|
37244
|
-
result = formatDistanceLocale$
|
|
37321
|
+
result = formatDistanceLocale$7[token2].one;
|
|
37245
37322
|
} else {
|
|
37246
|
-
result = formatDistanceLocale$
|
|
37323
|
+
result = formatDistanceLocale$7[token2].other.replace("{{count}}", count);
|
|
37247
37324
|
}
|
|
37248
37325
|
if (options2.addSuffix) {
|
|
37249
37326
|
if (options2.comparison > 0) {
|
|
@@ -37254,39 +37331,39 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37254
37331
|
}
|
|
37255
37332
|
return result;
|
|
37256
37333
|
}
|
|
37257
|
-
var dateFormats$
|
|
37334
|
+
var dateFormats$7 = {
|
|
37258
37335
|
full: "EEEE, d 'de' MMMM 'de' y",
|
|
37259
37336
|
long: "d 'de' MMMM 'de' y",
|
|
37260
37337
|
medium: "d MMM y",
|
|
37261
37338
|
short: "dd/MM/y"
|
|
37262
37339
|
};
|
|
37263
|
-
var timeFormats$
|
|
37340
|
+
var timeFormats$7 = {
|
|
37264
37341
|
full: "HH:mm:ss zzzz",
|
|
37265
37342
|
long: "HH:mm:ss z",
|
|
37266
37343
|
medium: "HH:mm:ss",
|
|
37267
37344
|
short: "HH:mm"
|
|
37268
37345
|
};
|
|
37269
|
-
var dateTimeFormats$
|
|
37346
|
+
var dateTimeFormats$7 = {
|
|
37270
37347
|
full: "{{date}} 'a las' {{time}}",
|
|
37271
37348
|
long: "{{date}} 'a las' {{time}}",
|
|
37272
37349
|
medium: "{{date}}, {{time}}",
|
|
37273
37350
|
short: "{{date}}, {{time}}"
|
|
37274
37351
|
};
|
|
37275
|
-
var formatLong$
|
|
37352
|
+
var formatLong$7 = {
|
|
37276
37353
|
date: buildFormatLongFn$1({
|
|
37277
|
-
formats: dateFormats$
|
|
37354
|
+
formats: dateFormats$7,
|
|
37278
37355
|
defaultWidth: "full"
|
|
37279
37356
|
}),
|
|
37280
37357
|
time: buildFormatLongFn$1({
|
|
37281
|
-
formats: timeFormats$
|
|
37358
|
+
formats: timeFormats$7,
|
|
37282
37359
|
defaultWidth: "full"
|
|
37283
37360
|
}),
|
|
37284
37361
|
dateTime: buildFormatLongFn$1({
|
|
37285
|
-
formats: dateTimeFormats$
|
|
37362
|
+
formats: dateTimeFormats$7,
|
|
37286
37363
|
defaultWidth: "full"
|
|
37287
37364
|
})
|
|
37288
37365
|
};
|
|
37289
|
-
var formatRelativeLocale$
|
|
37366
|
+
var formatRelativeLocale$7 = {
|
|
37290
37367
|
lastWeek: "'el' eeee 'pasado a la' LT",
|
|
37291
37368
|
yesterday: "'ayer a la' p",
|
|
37292
37369
|
today: "'hoy a la' p",
|
|
@@ -37302,34 +37379,34 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37302
37379
|
nextWeek: "eeee 'a las' p",
|
|
37303
37380
|
other: "P"
|
|
37304
37381
|
};
|
|
37305
|
-
function formatRelative$
|
|
37382
|
+
function formatRelative$7(token2, date, _baseDate, _options) {
|
|
37306
37383
|
if (date.getUTCHours() !== 1) {
|
|
37307
37384
|
return formatRelativeLocalePlural[token2];
|
|
37308
37385
|
}
|
|
37309
|
-
return formatRelativeLocale$
|
|
37386
|
+
return formatRelativeLocale$7[token2];
|
|
37310
37387
|
}
|
|
37311
|
-
var eraValues$
|
|
37388
|
+
var eraValues$7 = {
|
|
37312
37389
|
narrow: ["AC", "DC"],
|
|
37313
37390
|
abbreviated: ["AC", "DC"],
|
|
37314
37391
|
wide: ["antes de cristo", "después de cristo"]
|
|
37315
37392
|
};
|
|
37316
|
-
var quarterValues$
|
|
37393
|
+
var quarterValues$7 = {
|
|
37317
37394
|
narrow: ["1", "2", "3", "4"],
|
|
37318
37395
|
abbreviated: ["T1", "T2", "T3", "T4"],
|
|
37319
37396
|
wide: ["1º trimestre", "2º trimestre", "3º trimestre", "4º trimestre"]
|
|
37320
37397
|
};
|
|
37321
|
-
var monthValues$
|
|
37398
|
+
var monthValues$7 = {
|
|
37322
37399
|
narrow: ["e", "f", "m", "a", "m", "j", "j", "a", "s", "o", "n", "d"],
|
|
37323
37400
|
abbreviated: ["ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic"],
|
|
37324
37401
|
wide: ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre"]
|
|
37325
37402
|
};
|
|
37326
|
-
var dayValues$
|
|
37403
|
+
var dayValues$7 = {
|
|
37327
37404
|
narrow: ["d", "l", "m", "m", "j", "v", "s"],
|
|
37328
37405
|
short: ["do", "lu", "ma", "mi", "ju", "vi", "sa"],
|
|
37329
37406
|
abbreviated: ["dom", "lun", "mar", "mié", "jue", "vie", "sáb"],
|
|
37330
37407
|
wide: ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"]
|
|
37331
37408
|
};
|
|
37332
|
-
var dayPeriodValues$
|
|
37409
|
+
var dayPeriodValues$7 = {
|
|
37333
37410
|
narrow: {
|
|
37334
37411
|
am: "a",
|
|
37335
37412
|
pm: "p",
|
|
@@ -37361,7 +37438,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37361
37438
|
night: "noche"
|
|
37362
37439
|
}
|
|
37363
37440
|
};
|
|
37364
|
-
var formattingDayPeriodValues$
|
|
37441
|
+
var formattingDayPeriodValues$4 = {
|
|
37365
37442
|
narrow: {
|
|
37366
37443
|
am: "a",
|
|
37367
37444
|
pm: "p",
|
|
@@ -37393,81 +37470,81 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37393
37470
|
night: "de la noche"
|
|
37394
37471
|
}
|
|
37395
37472
|
};
|
|
37396
|
-
function ordinalNumber$
|
|
37473
|
+
function ordinalNumber$7(dirtyNumber) {
|
|
37397
37474
|
var number2 = Number(dirtyNumber);
|
|
37398
37475
|
return number2 + "º";
|
|
37399
37476
|
}
|
|
37400
|
-
var localize$
|
|
37401
|
-
ordinalNumber: ordinalNumber$
|
|
37477
|
+
var localize$7 = {
|
|
37478
|
+
ordinalNumber: ordinalNumber$7,
|
|
37402
37479
|
era: buildLocalizeFn$1({
|
|
37403
|
-
values: eraValues$
|
|
37480
|
+
values: eraValues$7,
|
|
37404
37481
|
defaultWidth: "wide"
|
|
37405
37482
|
}),
|
|
37406
37483
|
quarter: buildLocalizeFn$1({
|
|
37407
|
-
values: quarterValues$
|
|
37484
|
+
values: quarterValues$7,
|
|
37408
37485
|
defaultWidth: "wide",
|
|
37409
37486
|
argumentCallback: function(quarter) {
|
|
37410
37487
|
return Number(quarter) - 1;
|
|
37411
37488
|
}
|
|
37412
37489
|
}),
|
|
37413
37490
|
month: buildLocalizeFn$1({
|
|
37414
|
-
values: monthValues$
|
|
37491
|
+
values: monthValues$7,
|
|
37415
37492
|
defaultWidth: "wide"
|
|
37416
37493
|
}),
|
|
37417
37494
|
day: buildLocalizeFn$1({
|
|
37418
|
-
values: dayValues$
|
|
37495
|
+
values: dayValues$7,
|
|
37419
37496
|
defaultWidth: "wide"
|
|
37420
37497
|
}),
|
|
37421
37498
|
dayPeriod: buildLocalizeFn$1({
|
|
37422
|
-
values: dayPeriodValues$
|
|
37499
|
+
values: dayPeriodValues$7,
|
|
37423
37500
|
defaultWidth: "wide",
|
|
37424
|
-
formattingValues: formattingDayPeriodValues$
|
|
37501
|
+
formattingValues: formattingDayPeriodValues$4,
|
|
37425
37502
|
defaultFormattingWidth: "wide"
|
|
37426
37503
|
})
|
|
37427
37504
|
};
|
|
37428
|
-
var matchOrdinalNumberPattern$
|
|
37429
|
-
var parseOrdinalNumberPattern$
|
|
37430
|
-
var matchEraPatterns$
|
|
37505
|
+
var matchOrdinalNumberPattern$7 = /^(\d+)(º)?/i;
|
|
37506
|
+
var parseOrdinalNumberPattern$7 = /\d+/i;
|
|
37507
|
+
var matchEraPatterns$7 = {
|
|
37431
37508
|
narrow: /^(ac|dc|a|d)/i,
|
|
37432
37509
|
abbreviated: /^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,
|
|
37433
37510
|
wide: /^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i
|
|
37434
37511
|
};
|
|
37435
|
-
var parseEraPatterns$
|
|
37512
|
+
var parseEraPatterns$7 = {
|
|
37436
37513
|
any: [/^ac/i, /^dc/i],
|
|
37437
37514
|
wide: [/^(antes de cristo|antes de la era com[uú]n)/i, /^(despu[eé]s de cristo|era com[uú]n)/i]
|
|
37438
37515
|
};
|
|
37439
|
-
var matchQuarterPatterns$
|
|
37516
|
+
var matchQuarterPatterns$7 = {
|
|
37440
37517
|
narrow: /^[1234]/i,
|
|
37441
37518
|
abbreviated: /^T[1234]/i,
|
|
37442
37519
|
wide: /^[1234](º)? trimestre/i
|
|
37443
37520
|
};
|
|
37444
|
-
var parseQuarterPatterns$
|
|
37521
|
+
var parseQuarterPatterns$7 = {
|
|
37445
37522
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
37446
37523
|
};
|
|
37447
|
-
var matchMonthPatterns$
|
|
37524
|
+
var matchMonthPatterns$7 = {
|
|
37448
37525
|
narrow: /^[efmajsond]/i,
|
|
37449
37526
|
abbreviated: /^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,
|
|
37450
37527
|
wide: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i
|
|
37451
37528
|
};
|
|
37452
|
-
var parseMonthPatterns$
|
|
37529
|
+
var parseMonthPatterns$7 = {
|
|
37453
37530
|
narrow: [/^e/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
|
|
37454
37531
|
any: [/^en/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i]
|
|
37455
37532
|
};
|
|
37456
|
-
var matchDayPatterns$
|
|
37533
|
+
var matchDayPatterns$7 = {
|
|
37457
37534
|
narrow: /^[dlmjvs]/i,
|
|
37458
37535
|
short: /^(do|lu|ma|mi|ju|vi|sa)/i,
|
|
37459
37536
|
abbreviated: /^(dom|lun|mar|mie|jue|vie|sab)/i,
|
|
37460
37537
|
wide: /^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i
|
|
37461
37538
|
};
|
|
37462
|
-
var parseDayPatterns$
|
|
37539
|
+
var parseDayPatterns$7 = {
|
|
37463
37540
|
narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i],
|
|
37464
37541
|
any: [/^do/i, /^lu/i, /^ma/i, /^mi/i, /^ju/i, /^vi/i, /^sa/i]
|
|
37465
37542
|
};
|
|
37466
|
-
var matchDayPeriodPatterns$
|
|
37543
|
+
var matchDayPeriodPatterns$7 = {
|
|
37467
37544
|
narrow: /^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,
|
|
37468
37545
|
any: /^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i
|
|
37469
37546
|
};
|
|
37470
|
-
var parseDayPeriodPatterns$
|
|
37547
|
+
var parseDayPeriodPatterns$7 = {
|
|
37471
37548
|
any: {
|
|
37472
37549
|
am: /^a/i,
|
|
37473
37550
|
pm: /^p/i,
|
|
@@ -37479,61 +37556,61 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37479
37556
|
night: /noche/i
|
|
37480
37557
|
}
|
|
37481
37558
|
};
|
|
37482
|
-
var match$
|
|
37559
|
+
var match$7 = {
|
|
37483
37560
|
ordinalNumber: buildMatchPatternFn$1({
|
|
37484
|
-
matchPattern: matchOrdinalNumberPattern$
|
|
37485
|
-
parsePattern: parseOrdinalNumberPattern$
|
|
37561
|
+
matchPattern: matchOrdinalNumberPattern$7,
|
|
37562
|
+
parsePattern: parseOrdinalNumberPattern$7,
|
|
37486
37563
|
valueCallback: function(value) {
|
|
37487
37564
|
return parseInt(value, 10);
|
|
37488
37565
|
}
|
|
37489
37566
|
}),
|
|
37490
37567
|
era: buildMatchFn$1({
|
|
37491
|
-
matchPatterns: matchEraPatterns$
|
|
37568
|
+
matchPatterns: matchEraPatterns$7,
|
|
37492
37569
|
defaultMatchWidth: "wide",
|
|
37493
|
-
parsePatterns: parseEraPatterns$
|
|
37570
|
+
parsePatterns: parseEraPatterns$7,
|
|
37494
37571
|
defaultParseWidth: "any"
|
|
37495
37572
|
}),
|
|
37496
37573
|
quarter: buildMatchFn$1({
|
|
37497
|
-
matchPatterns: matchQuarterPatterns$
|
|
37574
|
+
matchPatterns: matchQuarterPatterns$7,
|
|
37498
37575
|
defaultMatchWidth: "wide",
|
|
37499
|
-
parsePatterns: parseQuarterPatterns$
|
|
37576
|
+
parsePatterns: parseQuarterPatterns$7,
|
|
37500
37577
|
defaultParseWidth: "any",
|
|
37501
37578
|
valueCallback: function(index2) {
|
|
37502
37579
|
return index2 + 1;
|
|
37503
37580
|
}
|
|
37504
37581
|
}),
|
|
37505
37582
|
month: buildMatchFn$1({
|
|
37506
|
-
matchPatterns: matchMonthPatterns$
|
|
37583
|
+
matchPatterns: matchMonthPatterns$7,
|
|
37507
37584
|
defaultMatchWidth: "wide",
|
|
37508
|
-
parsePatterns: parseMonthPatterns$
|
|
37585
|
+
parsePatterns: parseMonthPatterns$7,
|
|
37509
37586
|
defaultParseWidth: "any"
|
|
37510
37587
|
}),
|
|
37511
37588
|
day: buildMatchFn$1({
|
|
37512
|
-
matchPatterns: matchDayPatterns$
|
|
37589
|
+
matchPatterns: matchDayPatterns$7,
|
|
37513
37590
|
defaultMatchWidth: "wide",
|
|
37514
|
-
parsePatterns: parseDayPatterns$
|
|
37591
|
+
parsePatterns: parseDayPatterns$7,
|
|
37515
37592
|
defaultParseWidth: "any"
|
|
37516
37593
|
}),
|
|
37517
37594
|
dayPeriod: buildMatchFn$1({
|
|
37518
|
-
matchPatterns: matchDayPeriodPatterns$
|
|
37595
|
+
matchPatterns: matchDayPeriodPatterns$7,
|
|
37519
37596
|
defaultMatchWidth: "any",
|
|
37520
|
-
parsePatterns: parseDayPeriodPatterns$
|
|
37597
|
+
parsePatterns: parseDayPeriodPatterns$7,
|
|
37521
37598
|
defaultParseWidth: "any"
|
|
37522
37599
|
})
|
|
37523
37600
|
};
|
|
37524
|
-
var locale$
|
|
37601
|
+
var locale$7 = {
|
|
37525
37602
|
code: "es",
|
|
37526
|
-
formatDistance: formatDistance$
|
|
37527
|
-
formatLong: formatLong$
|
|
37528
|
-
formatRelative: formatRelative$
|
|
37529
|
-
localize: localize$
|
|
37530
|
-
match: match$
|
|
37603
|
+
formatDistance: formatDistance$7,
|
|
37604
|
+
formatLong: formatLong$7,
|
|
37605
|
+
formatRelative: formatRelative$7,
|
|
37606
|
+
localize: localize$7,
|
|
37607
|
+
match: match$7,
|
|
37531
37608
|
options: {
|
|
37532
37609
|
weekStartsOn: 1,
|
|
37533
37610
|
firstWeekContainsDate: 1
|
|
37534
37611
|
}
|
|
37535
37612
|
};
|
|
37536
|
-
var formatDistanceLocale$
|
|
37613
|
+
var formatDistanceLocale$6 = {
|
|
37537
37614
|
lessThanXSeconds: {
|
|
37538
37615
|
one: "moins d’une seconde",
|
|
37539
37616
|
other: "moins de {{count}} secondes"
|
|
@@ -37596,15 +37673,15 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37596
37673
|
other: "presque {{count}} ans"
|
|
37597
37674
|
}
|
|
37598
37675
|
};
|
|
37599
|
-
function formatDistance$
|
|
37676
|
+
function formatDistance$6(token2, count, options2) {
|
|
37600
37677
|
options2 = options2 || {};
|
|
37601
37678
|
var result;
|
|
37602
|
-
if (typeof formatDistanceLocale$
|
|
37603
|
-
result = formatDistanceLocale$
|
|
37679
|
+
if (typeof formatDistanceLocale$6[token2] === "string") {
|
|
37680
|
+
result = formatDistanceLocale$6[token2];
|
|
37604
37681
|
} else if (count === 1) {
|
|
37605
|
-
result = formatDistanceLocale$
|
|
37682
|
+
result = formatDistanceLocale$6[token2].one;
|
|
37606
37683
|
} else {
|
|
37607
|
-
result = formatDistanceLocale$
|
|
37684
|
+
result = formatDistanceLocale$6[token2].other.replace("{{count}}", count);
|
|
37608
37685
|
}
|
|
37609
37686
|
if (options2.addSuffix) {
|
|
37610
37687
|
if (options2.comparison > 0) {
|
|
@@ -37615,39 +37692,39 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37615
37692
|
}
|
|
37616
37693
|
return result;
|
|
37617
37694
|
}
|
|
37618
|
-
var dateFormats$
|
|
37695
|
+
var dateFormats$6 = {
|
|
37619
37696
|
full: "EEEE d MMMM y",
|
|
37620
37697
|
long: "d MMMM y",
|
|
37621
37698
|
medium: "d MMM y",
|
|
37622
37699
|
short: "dd/MM/y"
|
|
37623
37700
|
};
|
|
37624
|
-
var timeFormats$
|
|
37701
|
+
var timeFormats$6 = {
|
|
37625
37702
|
full: "HH:mm:ss zzzz",
|
|
37626
37703
|
long: "HH:mm:ss z",
|
|
37627
37704
|
medium: "HH:mm:ss",
|
|
37628
37705
|
short: "HH:mm"
|
|
37629
37706
|
};
|
|
37630
|
-
var dateTimeFormats$
|
|
37707
|
+
var dateTimeFormats$6 = {
|
|
37631
37708
|
full: "{{date}} 'à' {{time}}",
|
|
37632
37709
|
long: "{{date}} 'à' {{time}}",
|
|
37633
37710
|
medium: "{{date}}, {{time}}",
|
|
37634
37711
|
short: "{{date}}, {{time}}"
|
|
37635
37712
|
};
|
|
37636
|
-
var formatLong$
|
|
37713
|
+
var formatLong$6 = {
|
|
37637
37714
|
date: buildFormatLongFn$1({
|
|
37638
|
-
formats: dateFormats$
|
|
37715
|
+
formats: dateFormats$6,
|
|
37639
37716
|
defaultWidth: "full"
|
|
37640
37717
|
}),
|
|
37641
37718
|
time: buildFormatLongFn$1({
|
|
37642
|
-
formats: timeFormats$
|
|
37719
|
+
formats: timeFormats$6,
|
|
37643
37720
|
defaultWidth: "full"
|
|
37644
37721
|
}),
|
|
37645
37722
|
dateTime: buildFormatLongFn$1({
|
|
37646
|
-
formats: dateTimeFormats$
|
|
37723
|
+
formats: dateTimeFormats$6,
|
|
37647
37724
|
defaultWidth: "full"
|
|
37648
37725
|
})
|
|
37649
37726
|
};
|
|
37650
|
-
var formatRelativeLocale$
|
|
37727
|
+
var formatRelativeLocale$6 = {
|
|
37651
37728
|
lastWeek: "eeee 'dernier à' p",
|
|
37652
37729
|
yesterday: "'hier à' p",
|
|
37653
37730
|
today: "'aujourd’hui à' p",
|
|
@@ -37655,31 +37732,31 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37655
37732
|
nextWeek: "eeee 'prochain à' p",
|
|
37656
37733
|
other: "P"
|
|
37657
37734
|
};
|
|
37658
|
-
function formatRelative$
|
|
37659
|
-
return formatRelativeLocale$
|
|
37735
|
+
function formatRelative$6(token2, _date, _baseDate, _options) {
|
|
37736
|
+
return formatRelativeLocale$6[token2];
|
|
37660
37737
|
}
|
|
37661
|
-
var eraValues$
|
|
37738
|
+
var eraValues$6 = {
|
|
37662
37739
|
narrow: ["av. J.-C", "ap. J.-C"],
|
|
37663
37740
|
abbreviated: ["av. J.-C", "ap. J.-C"],
|
|
37664
37741
|
wide: ["avant Jésus-Christ", "après Jésus-Christ"]
|
|
37665
37742
|
};
|
|
37666
|
-
var quarterValues$
|
|
37743
|
+
var quarterValues$6 = {
|
|
37667
37744
|
narrow: ["T1", "T2", "T3", "T4"],
|
|
37668
37745
|
abbreviated: ["1er trim.", "2ème trim.", "3ème trim.", "4ème trim."],
|
|
37669
37746
|
wide: ["1er trimestre", "2ème trimestre", "3ème trimestre", "4ème trimestre"]
|
|
37670
37747
|
};
|
|
37671
|
-
var monthValues$
|
|
37748
|
+
var monthValues$6 = {
|
|
37672
37749
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
37673
37750
|
abbreviated: ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc."],
|
|
37674
37751
|
wide: ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre"]
|
|
37675
37752
|
};
|
|
37676
|
-
var dayValues$
|
|
37753
|
+
var dayValues$6 = {
|
|
37677
37754
|
narrow: ["D", "L", "M", "M", "J", "V", "S"],
|
|
37678
37755
|
short: ["di", "lu", "ma", "me", "je", "ve", "sa"],
|
|
37679
37756
|
abbreviated: ["dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam."],
|
|
37680
37757
|
wide: ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"]
|
|
37681
37758
|
};
|
|
37682
|
-
var dayPeriodValues$
|
|
37759
|
+
var dayPeriodValues$6 = {
|
|
37683
37760
|
narrow: {
|
|
37684
37761
|
am: "AM",
|
|
37685
37762
|
pm: "PM",
|
|
@@ -37711,7 +37788,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37711
37788
|
night: "du matin"
|
|
37712
37789
|
}
|
|
37713
37790
|
};
|
|
37714
|
-
function ordinalNumber$
|
|
37791
|
+
function ordinalNumber$6(dirtyNumber, dirtyOptions) {
|
|
37715
37792
|
var number2 = Number(dirtyNumber);
|
|
37716
37793
|
var options2 = dirtyOptions || {};
|
|
37717
37794
|
var unit = String(options2.unit);
|
|
@@ -37734,74 +37811,74 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37734
37811
|
}
|
|
37735
37812
|
return number2 + suffix;
|
|
37736
37813
|
}
|
|
37737
|
-
var localize$
|
|
37738
|
-
ordinalNumber: ordinalNumber$
|
|
37814
|
+
var localize$6 = {
|
|
37815
|
+
ordinalNumber: ordinalNumber$6,
|
|
37739
37816
|
era: buildLocalizeFn$1({
|
|
37740
|
-
values: eraValues$
|
|
37817
|
+
values: eraValues$6,
|
|
37741
37818
|
defaultWidth: "wide"
|
|
37742
37819
|
}),
|
|
37743
37820
|
quarter: buildLocalizeFn$1({
|
|
37744
|
-
values: quarterValues$
|
|
37821
|
+
values: quarterValues$6,
|
|
37745
37822
|
defaultWidth: "wide",
|
|
37746
37823
|
argumentCallback: function(quarter) {
|
|
37747
37824
|
return Number(quarter) - 1;
|
|
37748
37825
|
}
|
|
37749
37826
|
}),
|
|
37750
37827
|
month: buildLocalizeFn$1({
|
|
37751
|
-
values: monthValues$
|
|
37828
|
+
values: monthValues$6,
|
|
37752
37829
|
defaultWidth: "wide"
|
|
37753
37830
|
}),
|
|
37754
37831
|
day: buildLocalizeFn$1({
|
|
37755
|
-
values: dayValues$
|
|
37832
|
+
values: dayValues$6,
|
|
37756
37833
|
defaultWidth: "wide"
|
|
37757
37834
|
}),
|
|
37758
37835
|
dayPeriod: buildLocalizeFn$1({
|
|
37759
|
-
values: dayPeriodValues$
|
|
37836
|
+
values: dayPeriodValues$6,
|
|
37760
37837
|
defaultWidth: "wide"
|
|
37761
37838
|
})
|
|
37762
37839
|
};
|
|
37763
|
-
var matchOrdinalNumberPattern$
|
|
37764
|
-
var parseOrdinalNumberPattern$
|
|
37765
|
-
var matchEraPatterns$
|
|
37840
|
+
var matchOrdinalNumberPattern$6 = /^(\d+)(ième|ère|ème|er|e)?/i;
|
|
37841
|
+
var parseOrdinalNumberPattern$6 = /\d+/i;
|
|
37842
|
+
var matchEraPatterns$6 = {
|
|
37766
37843
|
narrow: /^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,
|
|
37767
37844
|
abbreviated: /^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,
|
|
37768
37845
|
wide: /^(avant Jésus-Christ|après Jésus-Christ)/i
|
|
37769
37846
|
};
|
|
37770
|
-
var parseEraPatterns$
|
|
37847
|
+
var parseEraPatterns$6 = {
|
|
37771
37848
|
any: [/^av/i, /^ap/i]
|
|
37772
37849
|
};
|
|
37773
|
-
var matchQuarterPatterns$
|
|
37850
|
+
var matchQuarterPatterns$6 = {
|
|
37774
37851
|
narrow: /^[1234]/i,
|
|
37775
37852
|
abbreviated: /^t[1234]/i,
|
|
37776
37853
|
wide: /^[1234](er|ème|e)? trimestre/i
|
|
37777
37854
|
};
|
|
37778
|
-
var parseQuarterPatterns$
|
|
37855
|
+
var parseQuarterPatterns$6 = {
|
|
37779
37856
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
37780
37857
|
};
|
|
37781
|
-
var matchMonthPatterns$
|
|
37858
|
+
var matchMonthPatterns$6 = {
|
|
37782
37859
|
narrow: /^[jfmasond]/i,
|
|
37783
37860
|
abbreviated: /^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,
|
|
37784
37861
|
wide: /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i
|
|
37785
37862
|
};
|
|
37786
|
-
var parseMonthPatterns$
|
|
37863
|
+
var parseMonthPatterns$6 = {
|
|
37787
37864
|
narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
|
|
37788
37865
|
any: [/^ja/i, /^f/i, /^mar/i, /^av/i, /^ma/i, /^juin/i, /^juil/i, /^ao/i, /^s/i, /^o/i, /^n/i, /^d/i]
|
|
37789
37866
|
};
|
|
37790
|
-
var matchDayPatterns$
|
|
37867
|
+
var matchDayPatterns$6 = {
|
|
37791
37868
|
narrow: /^[lmjvsd]/i,
|
|
37792
37869
|
short: /^(di|lu|ma|me|je|ve|sa)/i,
|
|
37793
37870
|
abbreviated: /^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,
|
|
37794
37871
|
wide: /^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i
|
|
37795
37872
|
};
|
|
37796
|
-
var parseDayPatterns$
|
|
37873
|
+
var parseDayPatterns$6 = {
|
|
37797
37874
|
narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i],
|
|
37798
37875
|
any: [/^di/i, /^lu/i, /^ma/i, /^me/i, /^je/i, /^ve/i, /^sa/i]
|
|
37799
37876
|
};
|
|
37800
|
-
var matchDayPeriodPatterns$
|
|
37877
|
+
var matchDayPeriodPatterns$6 = {
|
|
37801
37878
|
narrow: /^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,
|
|
37802
37879
|
any: /^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i
|
|
37803
37880
|
};
|
|
37804
|
-
var parseDayPeriodPatterns$
|
|
37881
|
+
var parseDayPeriodPatterns$6 = {
|
|
37805
37882
|
any: {
|
|
37806
37883
|
am: /^a/i,
|
|
37807
37884
|
pm: /^p/i,
|
|
@@ -37813,6 +37890,386 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37813
37890
|
night: /nuit/i
|
|
37814
37891
|
}
|
|
37815
37892
|
};
|
|
37893
|
+
var match$6 = {
|
|
37894
|
+
ordinalNumber: buildMatchPatternFn$1({
|
|
37895
|
+
matchPattern: matchOrdinalNumberPattern$6,
|
|
37896
|
+
parsePattern: parseOrdinalNumberPattern$6,
|
|
37897
|
+
valueCallback: function(value) {
|
|
37898
|
+
return parseInt(value, 10);
|
|
37899
|
+
}
|
|
37900
|
+
}),
|
|
37901
|
+
era: buildMatchFn$1({
|
|
37902
|
+
matchPatterns: matchEraPatterns$6,
|
|
37903
|
+
defaultMatchWidth: "wide",
|
|
37904
|
+
parsePatterns: parseEraPatterns$6,
|
|
37905
|
+
defaultParseWidth: "any"
|
|
37906
|
+
}),
|
|
37907
|
+
quarter: buildMatchFn$1({
|
|
37908
|
+
matchPatterns: matchQuarterPatterns$6,
|
|
37909
|
+
defaultMatchWidth: "wide",
|
|
37910
|
+
parsePatterns: parseQuarterPatterns$6,
|
|
37911
|
+
defaultParseWidth: "any",
|
|
37912
|
+
valueCallback: function(index2) {
|
|
37913
|
+
return index2 + 1;
|
|
37914
|
+
}
|
|
37915
|
+
}),
|
|
37916
|
+
month: buildMatchFn$1({
|
|
37917
|
+
matchPatterns: matchMonthPatterns$6,
|
|
37918
|
+
defaultMatchWidth: "wide",
|
|
37919
|
+
parsePatterns: parseMonthPatterns$6,
|
|
37920
|
+
defaultParseWidth: "any"
|
|
37921
|
+
}),
|
|
37922
|
+
day: buildMatchFn$1({
|
|
37923
|
+
matchPatterns: matchDayPatterns$6,
|
|
37924
|
+
defaultMatchWidth: "wide",
|
|
37925
|
+
parsePatterns: parseDayPatterns$6,
|
|
37926
|
+
defaultParseWidth: "any"
|
|
37927
|
+
}),
|
|
37928
|
+
dayPeriod: buildMatchFn$1({
|
|
37929
|
+
matchPatterns: matchDayPeriodPatterns$6,
|
|
37930
|
+
defaultMatchWidth: "any",
|
|
37931
|
+
parsePatterns: parseDayPeriodPatterns$6,
|
|
37932
|
+
defaultParseWidth: "any"
|
|
37933
|
+
})
|
|
37934
|
+
};
|
|
37935
|
+
var locale$6 = {
|
|
37936
|
+
code: "fr",
|
|
37937
|
+
formatDistance: formatDistance$6,
|
|
37938
|
+
formatLong: formatLong$6,
|
|
37939
|
+
formatRelative: formatRelative$6,
|
|
37940
|
+
localize: localize$6,
|
|
37941
|
+
match: match$6,
|
|
37942
|
+
options: {
|
|
37943
|
+
weekStartsOn: 1,
|
|
37944
|
+
firstWeekContainsDate: 4
|
|
37945
|
+
}
|
|
37946
|
+
};
|
|
37947
|
+
var formatDistanceLocale$5 = {
|
|
37948
|
+
lessThanXSeconds: {
|
|
37949
|
+
one: "1秒未満",
|
|
37950
|
+
other: "{{count}}秒未満",
|
|
37951
|
+
oneWithSuffix: "約1秒",
|
|
37952
|
+
otherWithSuffix: "約{{count}}秒"
|
|
37953
|
+
},
|
|
37954
|
+
xSeconds: {
|
|
37955
|
+
one: "1秒",
|
|
37956
|
+
other: "{{count}}秒"
|
|
37957
|
+
},
|
|
37958
|
+
halfAMinute: "30秒",
|
|
37959
|
+
lessThanXMinutes: {
|
|
37960
|
+
one: "1分未満",
|
|
37961
|
+
other: "{{count}}分未満",
|
|
37962
|
+
oneWithSuffix: "約1分",
|
|
37963
|
+
otherWithSuffix: "約{{count}}分"
|
|
37964
|
+
},
|
|
37965
|
+
xMinutes: {
|
|
37966
|
+
one: "1分",
|
|
37967
|
+
other: "{{count}}分"
|
|
37968
|
+
},
|
|
37969
|
+
aboutXHours: {
|
|
37970
|
+
one: "約1時間",
|
|
37971
|
+
other: "約{{count}}時間"
|
|
37972
|
+
},
|
|
37973
|
+
xHours: {
|
|
37974
|
+
one: "1時間",
|
|
37975
|
+
other: "{{count}}時間"
|
|
37976
|
+
},
|
|
37977
|
+
xDays: {
|
|
37978
|
+
one: "1日",
|
|
37979
|
+
other: "{{count}}日"
|
|
37980
|
+
},
|
|
37981
|
+
aboutXWeeks: {
|
|
37982
|
+
one: "約1週間",
|
|
37983
|
+
other: "約{{count}}週間"
|
|
37984
|
+
},
|
|
37985
|
+
xWeeks: {
|
|
37986
|
+
one: "1週間",
|
|
37987
|
+
other: "{{count}}週間"
|
|
37988
|
+
},
|
|
37989
|
+
aboutXMonths: {
|
|
37990
|
+
one: "約1か月",
|
|
37991
|
+
other: "約{{count}}か月"
|
|
37992
|
+
},
|
|
37993
|
+
xMonths: {
|
|
37994
|
+
one: "1か月",
|
|
37995
|
+
other: "{{count}}か月"
|
|
37996
|
+
},
|
|
37997
|
+
aboutXYears: {
|
|
37998
|
+
one: "約1年",
|
|
37999
|
+
other: "約{{count}}年"
|
|
38000
|
+
},
|
|
38001
|
+
xYears: {
|
|
38002
|
+
one: "1年",
|
|
38003
|
+
other: "{{count}}年"
|
|
38004
|
+
},
|
|
38005
|
+
overXYears: {
|
|
38006
|
+
one: "1年以上",
|
|
38007
|
+
other: "{{count}}年以上"
|
|
38008
|
+
},
|
|
38009
|
+
almostXYears: {
|
|
38010
|
+
one: "1年近く",
|
|
38011
|
+
other: "{{count}}年近く"
|
|
38012
|
+
}
|
|
38013
|
+
};
|
|
38014
|
+
function formatDistance$5(token2, count, options2) {
|
|
38015
|
+
options2 = options2 || {};
|
|
38016
|
+
var result;
|
|
38017
|
+
if (typeof formatDistanceLocale$5[token2] === "string") {
|
|
38018
|
+
result = formatDistanceLocale$5[token2];
|
|
38019
|
+
} else if (count === 1) {
|
|
38020
|
+
if (options2.addSuffix && formatDistanceLocale$5[token2].oneWithSuffix) {
|
|
38021
|
+
result = formatDistanceLocale$5[token2].oneWithSuffix;
|
|
38022
|
+
} else {
|
|
38023
|
+
result = formatDistanceLocale$5[token2].one;
|
|
38024
|
+
}
|
|
38025
|
+
} else {
|
|
38026
|
+
if (options2.addSuffix && formatDistanceLocale$5[token2].otherWithSuffix) {
|
|
38027
|
+
result = formatDistanceLocale$5[token2].otherWithSuffix.replace("{{count}}", count);
|
|
38028
|
+
} else {
|
|
38029
|
+
result = formatDistanceLocale$5[token2].other.replace("{{count}}", count);
|
|
38030
|
+
}
|
|
38031
|
+
}
|
|
38032
|
+
if (options2.addSuffix) {
|
|
38033
|
+
if (options2.comparison > 0) {
|
|
38034
|
+
return result + "後";
|
|
38035
|
+
} else {
|
|
38036
|
+
return result + "前";
|
|
38037
|
+
}
|
|
38038
|
+
}
|
|
38039
|
+
return result;
|
|
38040
|
+
}
|
|
38041
|
+
var dateFormats$5 = {
|
|
38042
|
+
full: "y年M月d日EEEE",
|
|
38043
|
+
long: "y年M月d日",
|
|
38044
|
+
medium: "y/MM/dd",
|
|
38045
|
+
short: "y/MM/dd"
|
|
38046
|
+
};
|
|
38047
|
+
var timeFormats$5 = {
|
|
38048
|
+
full: "H時mm分ss秒 zzzz",
|
|
38049
|
+
long: "H:mm:ss z",
|
|
38050
|
+
medium: "H:mm:ss",
|
|
38051
|
+
short: "H:mm"
|
|
38052
|
+
};
|
|
38053
|
+
var dateTimeFormats$5 = {
|
|
38054
|
+
full: "{{date}} {{time}}",
|
|
38055
|
+
long: "{{date}} {{time}}",
|
|
38056
|
+
medium: "{{date}} {{time}}",
|
|
38057
|
+
short: "{{date}} {{time}}"
|
|
38058
|
+
};
|
|
38059
|
+
var formatLong$5 = {
|
|
38060
|
+
date: buildFormatLongFn$1({
|
|
38061
|
+
formats: dateFormats$5,
|
|
38062
|
+
defaultWidth: "full"
|
|
38063
|
+
}),
|
|
38064
|
+
time: buildFormatLongFn$1({
|
|
38065
|
+
formats: timeFormats$5,
|
|
38066
|
+
defaultWidth: "full"
|
|
38067
|
+
}),
|
|
38068
|
+
dateTime: buildFormatLongFn$1({
|
|
38069
|
+
formats: dateTimeFormats$5,
|
|
38070
|
+
defaultWidth: "full"
|
|
38071
|
+
})
|
|
38072
|
+
};
|
|
38073
|
+
var formatRelativeLocale$5 = {
|
|
38074
|
+
lastWeek: "先週のeeeeのp",
|
|
38075
|
+
yesterday: "昨日のp",
|
|
38076
|
+
today: "今日のp",
|
|
38077
|
+
tomorrow: "明日のp",
|
|
38078
|
+
nextWeek: "翌週のeeeeのp",
|
|
38079
|
+
other: "P"
|
|
38080
|
+
};
|
|
38081
|
+
function formatRelative$5(token2, _date, _baseDate, _options) {
|
|
38082
|
+
return formatRelativeLocale$5[token2];
|
|
38083
|
+
}
|
|
38084
|
+
var eraValues$5 = {
|
|
38085
|
+
narrow: ["BC", "AC"],
|
|
38086
|
+
abbreviated: ["紀元前", "西暦"],
|
|
38087
|
+
wide: ["紀元前", "西暦"]
|
|
38088
|
+
};
|
|
38089
|
+
var quarterValues$5 = {
|
|
38090
|
+
narrow: ["1", "2", "3", "4"],
|
|
38091
|
+
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
38092
|
+
wide: ["第1四半期", "第2四半期", "第3四半期", "第4四半期"]
|
|
38093
|
+
};
|
|
38094
|
+
var monthValues$5 = {
|
|
38095
|
+
narrow: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
|
|
38096
|
+
abbreviated: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"],
|
|
38097
|
+
wide: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"]
|
|
38098
|
+
};
|
|
38099
|
+
var dayValues$5 = {
|
|
38100
|
+
narrow: ["日", "月", "火", "水", "木", "金", "土"],
|
|
38101
|
+
short: ["日", "月", "火", "水", "木", "金", "土"],
|
|
38102
|
+
abbreviated: ["日", "月", "火", "水", "木", "金", "土"],
|
|
38103
|
+
wide: ["日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"]
|
|
38104
|
+
};
|
|
38105
|
+
var dayPeriodValues$5 = {
|
|
38106
|
+
narrow: {
|
|
38107
|
+
am: "午前",
|
|
38108
|
+
pm: "午後",
|
|
38109
|
+
midnight: "深夜",
|
|
38110
|
+
noon: "正午",
|
|
38111
|
+
morning: "朝",
|
|
38112
|
+
afternoon: "午後",
|
|
38113
|
+
evening: "夜",
|
|
38114
|
+
night: "深夜"
|
|
38115
|
+
},
|
|
38116
|
+
abbreviated: {
|
|
38117
|
+
am: "午前",
|
|
38118
|
+
pm: "午後",
|
|
38119
|
+
midnight: "深夜",
|
|
38120
|
+
noon: "正午",
|
|
38121
|
+
morning: "朝",
|
|
38122
|
+
afternoon: "午後",
|
|
38123
|
+
evening: "夜",
|
|
38124
|
+
night: "深夜"
|
|
38125
|
+
},
|
|
38126
|
+
wide: {
|
|
38127
|
+
am: "午前",
|
|
38128
|
+
pm: "午後",
|
|
38129
|
+
midnight: "深夜",
|
|
38130
|
+
noon: "正午",
|
|
38131
|
+
morning: "朝",
|
|
38132
|
+
afternoon: "午後",
|
|
38133
|
+
evening: "夜",
|
|
38134
|
+
night: "深夜"
|
|
38135
|
+
}
|
|
38136
|
+
};
|
|
38137
|
+
var formattingDayPeriodValues$3 = {
|
|
38138
|
+
narrow: {
|
|
38139
|
+
am: "午前",
|
|
38140
|
+
pm: "午後",
|
|
38141
|
+
midnight: "深夜",
|
|
38142
|
+
noon: "正午",
|
|
38143
|
+
morning: "朝",
|
|
38144
|
+
afternoon: "午後",
|
|
38145
|
+
evening: "夜",
|
|
38146
|
+
night: "深夜"
|
|
38147
|
+
},
|
|
38148
|
+
abbreviated: {
|
|
38149
|
+
am: "午前",
|
|
38150
|
+
pm: "午後",
|
|
38151
|
+
midnight: "深夜",
|
|
38152
|
+
noon: "正午",
|
|
38153
|
+
morning: "朝",
|
|
38154
|
+
afternoon: "午後",
|
|
38155
|
+
evening: "夜",
|
|
38156
|
+
night: "深夜"
|
|
38157
|
+
},
|
|
38158
|
+
wide: {
|
|
38159
|
+
am: "午前",
|
|
38160
|
+
pm: "午後",
|
|
38161
|
+
midnight: "深夜",
|
|
38162
|
+
noon: "正午",
|
|
38163
|
+
morning: "朝",
|
|
38164
|
+
afternoon: "午後",
|
|
38165
|
+
evening: "夜",
|
|
38166
|
+
night: "深夜"
|
|
38167
|
+
}
|
|
38168
|
+
};
|
|
38169
|
+
function ordinalNumber$5(dirtyNumber, dirtyOptions) {
|
|
38170
|
+
var number2 = Number(dirtyNumber);
|
|
38171
|
+
var options2 = dirtyOptions || {};
|
|
38172
|
+
var unit = String(options2.unit);
|
|
38173
|
+
switch (unit) {
|
|
38174
|
+
case "year":
|
|
38175
|
+
return "".concat(number2, "年");
|
|
38176
|
+
case "quarter":
|
|
38177
|
+
return "第".concat(number2, "四半期");
|
|
38178
|
+
case "month":
|
|
38179
|
+
return "".concat(number2, "月");
|
|
38180
|
+
case "week":
|
|
38181
|
+
return "第".concat(number2, "週");
|
|
38182
|
+
case "date":
|
|
38183
|
+
return "".concat(number2, "日");
|
|
38184
|
+
case "hour":
|
|
38185
|
+
return "".concat(number2, "時");
|
|
38186
|
+
case "minute":
|
|
38187
|
+
return "".concat(number2, "分");
|
|
38188
|
+
case "second":
|
|
38189
|
+
return "".concat(number2, "秒");
|
|
38190
|
+
default:
|
|
38191
|
+
return "".concat(number2);
|
|
38192
|
+
}
|
|
38193
|
+
}
|
|
38194
|
+
var localize$5 = {
|
|
38195
|
+
ordinalNumber: ordinalNumber$5,
|
|
38196
|
+
era: buildLocalizeFn$1({
|
|
38197
|
+
values: eraValues$5,
|
|
38198
|
+
defaultWidth: "wide"
|
|
38199
|
+
}),
|
|
38200
|
+
quarter: buildLocalizeFn$1({
|
|
38201
|
+
values: quarterValues$5,
|
|
38202
|
+
defaultWidth: "wide",
|
|
38203
|
+
argumentCallback: function(quarter) {
|
|
38204
|
+
return Number(quarter) - 1;
|
|
38205
|
+
}
|
|
38206
|
+
}),
|
|
38207
|
+
month: buildLocalizeFn$1({
|
|
38208
|
+
values: monthValues$5,
|
|
38209
|
+
defaultWidth: "wide"
|
|
38210
|
+
}),
|
|
38211
|
+
day: buildLocalizeFn$1({
|
|
38212
|
+
values: dayValues$5,
|
|
38213
|
+
defaultWidth: "wide"
|
|
38214
|
+
}),
|
|
38215
|
+
dayPeriod: buildLocalizeFn$1({
|
|
38216
|
+
values: dayPeriodValues$5,
|
|
38217
|
+
defaultWidth: "wide",
|
|
38218
|
+
formattingValues: formattingDayPeriodValues$3,
|
|
38219
|
+
defaultFormattingWidth: "wide"
|
|
38220
|
+
})
|
|
38221
|
+
};
|
|
38222
|
+
var matchOrdinalNumberPattern$5 = /^第?\d+(年|四半期|月|週|日|時|分|秒)?/i;
|
|
38223
|
+
var parseOrdinalNumberPattern$5 = /\d+/i;
|
|
38224
|
+
var matchEraPatterns$5 = {
|
|
38225
|
+
narrow: /^(B\.?C\.?|A\.?D\.?)/i,
|
|
38226
|
+
abbreviated: /^(紀元[前後]|西暦)/i,
|
|
38227
|
+
wide: /^(紀元[前後]|西暦)/i
|
|
38228
|
+
};
|
|
38229
|
+
var parseEraPatterns$5 = {
|
|
38230
|
+
narrow: [/^B/i, /^A/i],
|
|
38231
|
+
any: [/^(紀元前)/i, /^(西暦|紀元後)/i]
|
|
38232
|
+
};
|
|
38233
|
+
var matchQuarterPatterns$5 = {
|
|
38234
|
+
narrow: /^[1234]/i,
|
|
38235
|
+
abbreviated: /^Q[1234]/i,
|
|
38236
|
+
wide: /^第[1234一二三四1234]四半期/i
|
|
38237
|
+
};
|
|
38238
|
+
var parseQuarterPatterns$5 = {
|
|
38239
|
+
any: [/(1|一|1)/i, /(2|二|2)/i, /(3|三|3)/i, /(4|四|4)/i]
|
|
38240
|
+
};
|
|
38241
|
+
var matchMonthPatterns$5 = {
|
|
38242
|
+
narrow: /^([123456789]|1[012])/,
|
|
38243
|
+
abbreviated: /^([123456789]|1[012])月/i,
|
|
38244
|
+
wide: /^([123456789]|1[012])月/i
|
|
38245
|
+
};
|
|
38246
|
+
var parseMonthPatterns$5 = {
|
|
38247
|
+
any: [/^1\D/, /^2/, /^3/, /^4/, /^5/, /^6/, /^7/, /^8/, /^9/, /^10/, /^11/, /^12/]
|
|
38248
|
+
};
|
|
38249
|
+
var matchDayPatterns$5 = {
|
|
38250
|
+
narrow: /^[日月火水木金土]/,
|
|
38251
|
+
short: /^[日月火水木金土]/,
|
|
38252
|
+
abbreviated: /^[日月火水木金土]/,
|
|
38253
|
+
wide: /^[日月火水木金土]曜日/
|
|
38254
|
+
};
|
|
38255
|
+
var parseDayPatterns$5 = {
|
|
38256
|
+
any: [/^日/, /^月/, /^火/, /^水/, /^木/, /^金/, /^土/]
|
|
38257
|
+
};
|
|
38258
|
+
var matchDayPeriodPatterns$5 = {
|
|
38259
|
+
any: /^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i
|
|
38260
|
+
};
|
|
38261
|
+
var parseDayPeriodPatterns$5 = {
|
|
38262
|
+
any: {
|
|
38263
|
+
am: /^(A|午前)/i,
|
|
38264
|
+
pm: /^(P|午後)/i,
|
|
38265
|
+
midnight: /^深夜|真夜中/i,
|
|
38266
|
+
noon: /^正午/i,
|
|
38267
|
+
morning: /^朝/i,
|
|
38268
|
+
afternoon: /^午後/i,
|
|
38269
|
+
evening: /^夜/i,
|
|
38270
|
+
night: /^深夜/i
|
|
38271
|
+
}
|
|
38272
|
+
};
|
|
37816
38273
|
var match$5 = {
|
|
37817
38274
|
ordinalNumber: buildMatchPatternFn$1({
|
|
37818
38275
|
matchPattern: matchOrdinalNumberPattern$5,
|
|
@@ -37856,15 +38313,15 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37856
38313
|
})
|
|
37857
38314
|
};
|
|
37858
38315
|
var locale$5 = {
|
|
37859
|
-
code: "
|
|
38316
|
+
code: "ja",
|
|
37860
38317
|
formatDistance: formatDistance$5,
|
|
37861
38318
|
formatLong: formatLong$5,
|
|
37862
38319
|
formatRelative: formatRelative$5,
|
|
37863
38320
|
localize: localize$5,
|
|
37864
38321
|
match: match$5,
|
|
37865
38322
|
options: {
|
|
37866
|
-
weekStartsOn:
|
|
37867
|
-
firstWeekContainsDate:
|
|
38323
|
+
weekStartsOn: 0,
|
|
38324
|
+
firstWeekContainsDate: 1
|
|
37868
38325
|
}
|
|
37869
38326
|
};
|
|
37870
38327
|
var formatDistanceLocale$4 = {
|
|
@@ -39752,11 +40209,12 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
39752
40209
|
}
|
|
39753
40210
|
};
|
|
39754
40211
|
const NDS_TO_DATE_FN_LOCALES_MAP = {
|
|
39755
|
-
de_DE: locale$
|
|
39756
|
-
en_US: locale$
|
|
39757
|
-
es_MX: locale$
|
|
39758
|
-
es_ES: locale$
|
|
39759
|
-
fr_FR: locale$
|
|
40212
|
+
de_DE: locale$8,
|
|
40213
|
+
en_US: locale$a,
|
|
40214
|
+
es_MX: locale$7,
|
|
40215
|
+
es_ES: locale$7,
|
|
40216
|
+
fr_FR: locale$6,
|
|
40217
|
+
ja_JP: locale$5,
|
|
39760
40218
|
nl_NL: locale$4,
|
|
39761
40219
|
pl_PL: locale$3,
|
|
39762
40220
|
pt_BR: locale$2,
|
|
@@ -39784,6 +40242,11 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
39784
40242
|
value: "fr_FR",
|
|
39785
40243
|
dateFnsValue: NDS_TO_DATE_FN_LOCALES_MAP.fr_FR
|
|
39786
40244
|
},
|
|
40245
|
+
{
|
|
40246
|
+
label: "Japanese (Japan)",
|
|
40247
|
+
value: "ja_JP",
|
|
40248
|
+
dateFnsValue: NDS_TO_DATE_FN_LOCALES_MAP.ja_JP
|
|
40249
|
+
},
|
|
39787
40250
|
{
|
|
39788
40251
|
label: "Dutch (Netherlands)",
|
|
39789
40252
|
value: "nl_NL",
|
|
@@ -40134,7 +40597,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
40134
40597
|
}
|
|
40135
40598
|
onRefChange(r2);
|
|
40136
40599
|
};
|
|
40137
|
-
const spaceProps = getSubset(props, propTypes$
|
|
40600
|
+
const spaceProps = getSubset(props, propTypes$2.space);
|
|
40138
40601
|
return /* @__PURE__ */ jsxRuntime.jsxs(Field, { className: `${className} nds-date-picker`, ...spaceProps, children: [
|
|
40139
40602
|
/* @__PURE__ */ jsxRuntime.jsx(DatePickerStyles, {}),
|
|
40140
40603
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -40476,7 +40939,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
40476
40939
|
const { locale: contextLocale } = useLocale();
|
|
40477
40940
|
const { i18n } = useTranslation();
|
|
40478
40941
|
const [ref, setRef2] = React.useState(null);
|
|
40479
|
-
const spaceProps = getSubset(props, propTypes$
|
|
40942
|
+
const spaceProps = getSubset(props, propTypes$2.space);
|
|
40480
40943
|
const currentLocale = locale2 || contextLocale;
|
|
40481
40944
|
const componentVariant = useComponentVariant();
|
|
40482
40945
|
const t2 = React.useMemo(() => {
|
|
@@ -40612,8 +41075,8 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
40612
41075
|
variant: variant2,
|
|
40613
41076
|
...props
|
|
40614
41077
|
}) => {
|
|
40615
|
-
const spaceProps = getSubset(props, propTypes$
|
|
40616
|
-
const restProps = omitSubset(props, propTypes$
|
|
41078
|
+
const spaceProps = getSubset(props, propTypes$2.space);
|
|
41079
|
+
const restProps = omitSubset(props, propTypes$2.space);
|
|
40617
41080
|
return /* @__PURE__ */ jsxRuntime.jsxs(Flex, { ...spaceProps, flexDirection: "column", children: [
|
|
40618
41081
|
/* @__PURE__ */ jsxRuntime.jsx(FieldLabel, { ...labelProps, ...restProps }),
|
|
40619
41082
|
/* @__PURE__ */ jsxRuntime.jsxs(Flex, { flexWrap: "wrap", mt: "x1", mb: errorMessages.length ? "x1" : "x3", children: [
|
|
@@ -40695,60 +41158,84 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
40695
41158
|
const getDuration = (start2, end2) => {
|
|
40696
41159
|
return convertTimeToMinutes(end2) - convertTimeToMinutes(start2);
|
|
40697
41160
|
};
|
|
40698
|
-
|
|
40699
|
-
|
|
40700
|
-
|
|
40701
|
-
|
|
40702
|
-
|
|
40703
|
-
|
|
40704
|
-
|
|
40705
|
-
|
|
40706
|
-
|
|
40707
|
-
|
|
40708
|
-
|
|
40709
|
-
|
|
40710
|
-
|
|
40711
|
-
|
|
40712
|
-
|
|
40713
|
-
|
|
40714
|
-
|
|
40715
|
-
|
|
41161
|
+
function debounce(function_, wait = 100, options2 = {}) {
|
|
41162
|
+
if (typeof function_ !== "function") {
|
|
41163
|
+
throw new TypeError(`Expected the first parameter to be a function, got \`${typeof function_}\`.`);
|
|
41164
|
+
}
|
|
41165
|
+
if (wait < 0) {
|
|
41166
|
+
throw new RangeError("`wait` must not be negative.");
|
|
41167
|
+
}
|
|
41168
|
+
if (typeof options2 === "boolean") {
|
|
41169
|
+
throw new TypeError("The `options` parameter must be an object, not a boolean. Use `{immediate: true}` instead.");
|
|
41170
|
+
}
|
|
41171
|
+
const { immediate } = options2;
|
|
41172
|
+
let storedContext;
|
|
41173
|
+
let storedArguments;
|
|
41174
|
+
let timeoutId;
|
|
41175
|
+
let timestamp;
|
|
41176
|
+
let result;
|
|
41177
|
+
function run() {
|
|
41178
|
+
const callContext = storedContext;
|
|
41179
|
+
const callArguments = storedArguments;
|
|
41180
|
+
storedContext = void 0;
|
|
41181
|
+
storedArguments = void 0;
|
|
41182
|
+
result = function_.apply(callContext, callArguments);
|
|
41183
|
+
return result;
|
|
41184
|
+
}
|
|
41185
|
+
function later() {
|
|
41186
|
+
const last = Date.now() - timestamp;
|
|
41187
|
+
if (last < wait && last >= 0) {
|
|
41188
|
+
timeoutId = setTimeout(later, wait - last);
|
|
41189
|
+
} else {
|
|
41190
|
+
timeoutId = void 0;
|
|
41191
|
+
if (!immediate) {
|
|
41192
|
+
result = run();
|
|
40716
41193
|
}
|
|
40717
41194
|
}
|
|
40718
|
-
var debounced = function() {
|
|
40719
|
-
context = this;
|
|
40720
|
-
args = arguments;
|
|
40721
|
-
timestamp = Date.now();
|
|
40722
|
-
var callNow = immediate && !timeout;
|
|
40723
|
-
if (!timeout) timeout = setTimeout(later, wait);
|
|
40724
|
-
if (callNow) {
|
|
40725
|
-
result = func.apply(context, args);
|
|
40726
|
-
context = args = null;
|
|
40727
|
-
}
|
|
40728
|
-
return result;
|
|
40729
|
-
};
|
|
40730
|
-
debounced.clear = function() {
|
|
40731
|
-
if (timeout) {
|
|
40732
|
-
clearTimeout(timeout);
|
|
40733
|
-
timeout = null;
|
|
40734
|
-
}
|
|
40735
|
-
};
|
|
40736
|
-
debounced.flush = function() {
|
|
40737
|
-
if (timeout) {
|
|
40738
|
-
result = func.apply(context, args);
|
|
40739
|
-
context = args = null;
|
|
40740
|
-
clearTimeout(timeout);
|
|
40741
|
-
timeout = null;
|
|
40742
|
-
}
|
|
40743
|
-
};
|
|
40744
|
-
return debounced;
|
|
40745
41195
|
}
|
|
40746
|
-
|
|
40747
|
-
|
|
40748
|
-
|
|
41196
|
+
const debounced = function(...arguments_) {
|
|
41197
|
+
if (storedContext && this !== storedContext && Object.getPrototypeOf(this) === Object.getPrototypeOf(storedContext)) {
|
|
41198
|
+
throw new Error("Debounced method called with different contexts of the same prototype.");
|
|
41199
|
+
}
|
|
41200
|
+
storedContext = this;
|
|
41201
|
+
storedArguments = arguments_;
|
|
41202
|
+
timestamp = Date.now();
|
|
41203
|
+
const callNow = immediate && !timeoutId;
|
|
41204
|
+
if (!timeoutId) {
|
|
41205
|
+
timeoutId = setTimeout(later, wait);
|
|
41206
|
+
}
|
|
41207
|
+
if (callNow) {
|
|
41208
|
+
result = run();
|
|
41209
|
+
return result;
|
|
41210
|
+
}
|
|
41211
|
+
return void 0;
|
|
41212
|
+
};
|
|
41213
|
+
Object.defineProperty(debounced, "isPending", {
|
|
41214
|
+
get() {
|
|
41215
|
+
return timeoutId !== void 0;
|
|
41216
|
+
}
|
|
41217
|
+
});
|
|
41218
|
+
debounced.clear = () => {
|
|
41219
|
+
if (!timeoutId) {
|
|
41220
|
+
return;
|
|
41221
|
+
}
|
|
41222
|
+
clearTimeout(timeoutId);
|
|
41223
|
+
timeoutId = void 0;
|
|
41224
|
+
storedContext = void 0;
|
|
41225
|
+
storedArguments = void 0;
|
|
41226
|
+
};
|
|
41227
|
+
debounced.flush = () => {
|
|
41228
|
+
if (!timeoutId) {
|
|
41229
|
+
return;
|
|
41230
|
+
}
|
|
41231
|
+
debounced.trigger();
|
|
41232
|
+
};
|
|
41233
|
+
debounced.trigger = () => {
|
|
41234
|
+
result = run();
|
|
41235
|
+
debounced.clear();
|
|
41236
|
+
};
|
|
41237
|
+
return debounced;
|
|
40749
41238
|
}
|
|
40750
|
-
var debounceExports = requireDebounce();
|
|
40751
|
-
const debounce = /* @__PURE__ */ getDefaultExportFromCjs(debounceExports);
|
|
40752
41239
|
const TimePickerOption = styledComponents.styled.li(
|
|
40753
41240
|
({ theme, isSelected }) => ({
|
|
40754
41241
|
marginBottom: "0px",
|
|
@@ -42036,6 +42523,597 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
42036
42523
|
}
|
|
42037
42524
|
var lib = { exports: {} };
|
|
42038
42525
|
var Modal$1 = {};
|
|
42526
|
+
var propTypes = { exports: {} };
|
|
42527
|
+
var ReactPropTypesSecret_1;
|
|
42528
|
+
var hasRequiredReactPropTypesSecret;
|
|
42529
|
+
function requireReactPropTypesSecret() {
|
|
42530
|
+
if (hasRequiredReactPropTypesSecret) return ReactPropTypesSecret_1;
|
|
42531
|
+
hasRequiredReactPropTypesSecret = 1;
|
|
42532
|
+
var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
42533
|
+
ReactPropTypesSecret_1 = ReactPropTypesSecret;
|
|
42534
|
+
return ReactPropTypesSecret_1;
|
|
42535
|
+
}
|
|
42536
|
+
var has;
|
|
42537
|
+
var hasRequiredHas;
|
|
42538
|
+
function requireHas() {
|
|
42539
|
+
if (hasRequiredHas) return has;
|
|
42540
|
+
hasRequiredHas = 1;
|
|
42541
|
+
has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
42542
|
+
return has;
|
|
42543
|
+
}
|
|
42544
|
+
var checkPropTypes_1;
|
|
42545
|
+
var hasRequiredCheckPropTypes;
|
|
42546
|
+
function requireCheckPropTypes() {
|
|
42547
|
+
if (hasRequiredCheckPropTypes) return checkPropTypes_1;
|
|
42548
|
+
hasRequiredCheckPropTypes = 1;
|
|
42549
|
+
var printWarning = function() {
|
|
42550
|
+
};
|
|
42551
|
+
if (process.env.NODE_ENV !== "production") {
|
|
42552
|
+
var ReactPropTypesSecret = /* @__PURE__ */ requireReactPropTypesSecret();
|
|
42553
|
+
var loggedTypeFailures = {};
|
|
42554
|
+
var has2 = /* @__PURE__ */ requireHas();
|
|
42555
|
+
printWarning = function(text) {
|
|
42556
|
+
var message = "Warning: " + text;
|
|
42557
|
+
if (typeof console !== "undefined") {
|
|
42558
|
+
console.error(message);
|
|
42559
|
+
}
|
|
42560
|
+
try {
|
|
42561
|
+
throw new Error(message);
|
|
42562
|
+
} catch (x) {
|
|
42563
|
+
}
|
|
42564
|
+
};
|
|
42565
|
+
}
|
|
42566
|
+
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
42567
|
+
if (process.env.NODE_ENV !== "production") {
|
|
42568
|
+
for (var typeSpecName in typeSpecs) {
|
|
42569
|
+
if (has2(typeSpecs, typeSpecName)) {
|
|
42570
|
+
var error;
|
|
42571
|
+
try {
|
|
42572
|
+
if (typeof typeSpecs[typeSpecName] !== "function") {
|
|
42573
|
+
var err = Error(
|
|
42574
|
+
(componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
42575
|
+
);
|
|
42576
|
+
err.name = "Invariant Violation";
|
|
42577
|
+
throw err;
|
|
42578
|
+
}
|
|
42579
|
+
error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
|
|
42580
|
+
} catch (ex) {
|
|
42581
|
+
error = ex;
|
|
42582
|
+
}
|
|
42583
|
+
if (error && !(error instanceof Error)) {
|
|
42584
|
+
printWarning(
|
|
42585
|
+
(componentName || "React class") + ": type specification of " + location + " `" + typeSpecName + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof error + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
42586
|
+
);
|
|
42587
|
+
}
|
|
42588
|
+
if (error instanceof Error && !(error.message in loggedTypeFailures)) {
|
|
42589
|
+
loggedTypeFailures[error.message] = true;
|
|
42590
|
+
var stack = getStack ? getStack() : "";
|
|
42591
|
+
printWarning(
|
|
42592
|
+
"Failed " + location + " type: " + error.message + (stack != null ? stack : "")
|
|
42593
|
+
);
|
|
42594
|
+
}
|
|
42595
|
+
}
|
|
42596
|
+
}
|
|
42597
|
+
}
|
|
42598
|
+
}
|
|
42599
|
+
checkPropTypes.resetWarningCache = function() {
|
|
42600
|
+
if (process.env.NODE_ENV !== "production") {
|
|
42601
|
+
loggedTypeFailures = {};
|
|
42602
|
+
}
|
|
42603
|
+
};
|
|
42604
|
+
checkPropTypes_1 = checkPropTypes;
|
|
42605
|
+
return checkPropTypes_1;
|
|
42606
|
+
}
|
|
42607
|
+
var factoryWithTypeCheckers;
|
|
42608
|
+
var hasRequiredFactoryWithTypeCheckers;
|
|
42609
|
+
function requireFactoryWithTypeCheckers() {
|
|
42610
|
+
if (hasRequiredFactoryWithTypeCheckers) return factoryWithTypeCheckers;
|
|
42611
|
+
hasRequiredFactoryWithTypeCheckers = 1;
|
|
42612
|
+
var ReactIs = require$$0;
|
|
42613
|
+
var assign2 = requireObjectAssign();
|
|
42614
|
+
var ReactPropTypesSecret = /* @__PURE__ */ requireReactPropTypesSecret();
|
|
42615
|
+
var has2 = /* @__PURE__ */ requireHas();
|
|
42616
|
+
var checkPropTypes = /* @__PURE__ */ requireCheckPropTypes();
|
|
42617
|
+
var printWarning = function() {
|
|
42618
|
+
};
|
|
42619
|
+
if (process.env.NODE_ENV !== "production") {
|
|
42620
|
+
printWarning = function(text) {
|
|
42621
|
+
var message = "Warning: " + text;
|
|
42622
|
+
if (typeof console !== "undefined") {
|
|
42623
|
+
console.error(message);
|
|
42624
|
+
}
|
|
42625
|
+
try {
|
|
42626
|
+
throw new Error(message);
|
|
42627
|
+
} catch (x) {
|
|
42628
|
+
}
|
|
42629
|
+
};
|
|
42630
|
+
}
|
|
42631
|
+
function emptyFunctionThatReturnsNull() {
|
|
42632
|
+
return null;
|
|
42633
|
+
}
|
|
42634
|
+
factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
42635
|
+
var ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
|
|
42636
|
+
var FAUX_ITERATOR_SYMBOL = "@@iterator";
|
|
42637
|
+
function getIteratorFn(maybeIterable) {
|
|
42638
|
+
var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
|
|
42639
|
+
if (typeof iteratorFn === "function") {
|
|
42640
|
+
return iteratorFn;
|
|
42641
|
+
}
|
|
42642
|
+
}
|
|
42643
|
+
var ANONYMOUS = "<<anonymous>>";
|
|
42644
|
+
var ReactPropTypes = {
|
|
42645
|
+
array: createPrimitiveTypeChecker("array"),
|
|
42646
|
+
bigint: createPrimitiveTypeChecker("bigint"),
|
|
42647
|
+
bool: createPrimitiveTypeChecker("boolean"),
|
|
42648
|
+
func: createPrimitiveTypeChecker("function"),
|
|
42649
|
+
number: createPrimitiveTypeChecker("number"),
|
|
42650
|
+
object: createPrimitiveTypeChecker("object"),
|
|
42651
|
+
string: createPrimitiveTypeChecker("string"),
|
|
42652
|
+
symbol: createPrimitiveTypeChecker("symbol"),
|
|
42653
|
+
any: createAnyTypeChecker(),
|
|
42654
|
+
arrayOf: createArrayOfTypeChecker,
|
|
42655
|
+
element: createElementTypeChecker(),
|
|
42656
|
+
elementType: createElementTypeTypeChecker(),
|
|
42657
|
+
instanceOf: createInstanceTypeChecker,
|
|
42658
|
+
node: createNodeChecker(),
|
|
42659
|
+
objectOf: createObjectOfTypeChecker,
|
|
42660
|
+
oneOf: createEnumTypeChecker,
|
|
42661
|
+
oneOfType: createUnionTypeChecker,
|
|
42662
|
+
shape: createShapeTypeChecker,
|
|
42663
|
+
exact: createStrictShapeTypeChecker
|
|
42664
|
+
};
|
|
42665
|
+
function is(x, y) {
|
|
42666
|
+
if (x === y) {
|
|
42667
|
+
return x !== 0 || 1 / x === 1 / y;
|
|
42668
|
+
} else {
|
|
42669
|
+
return x !== x && y !== y;
|
|
42670
|
+
}
|
|
42671
|
+
}
|
|
42672
|
+
function PropTypeError(message, data) {
|
|
42673
|
+
this.message = message;
|
|
42674
|
+
this.data = data && typeof data === "object" ? data : {};
|
|
42675
|
+
this.stack = "";
|
|
42676
|
+
}
|
|
42677
|
+
PropTypeError.prototype = Error.prototype;
|
|
42678
|
+
function createChainableTypeChecker(validate) {
|
|
42679
|
+
if (process.env.NODE_ENV !== "production") {
|
|
42680
|
+
var manualPropTypeCallCache = {};
|
|
42681
|
+
var manualPropTypeWarningCount = 0;
|
|
42682
|
+
}
|
|
42683
|
+
function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
|
|
42684
|
+
componentName = componentName || ANONYMOUS;
|
|
42685
|
+
propFullName = propFullName || propName;
|
|
42686
|
+
if (secret !== ReactPropTypesSecret) {
|
|
42687
|
+
if (throwOnDirectAccess) {
|
|
42688
|
+
var err = new Error(
|
|
42689
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
42690
|
+
);
|
|
42691
|
+
err.name = "Invariant Violation";
|
|
42692
|
+
throw err;
|
|
42693
|
+
} else if (process.env.NODE_ENV !== "production" && typeof console !== "undefined") {
|
|
42694
|
+
var cacheKey = componentName + ":" + propName;
|
|
42695
|
+
if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
42696
|
+
manualPropTypeWarningCount < 3) {
|
|
42697
|
+
printWarning(
|
|
42698
|
+
"You are manually calling a React.PropTypes validation function for the `" + propFullName + "` prop on `" + componentName + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
42699
|
+
);
|
|
42700
|
+
manualPropTypeCallCache[cacheKey] = true;
|
|
42701
|
+
manualPropTypeWarningCount++;
|
|
42702
|
+
}
|
|
42703
|
+
}
|
|
42704
|
+
}
|
|
42705
|
+
if (props[propName] == null) {
|
|
42706
|
+
if (isRequired) {
|
|
42707
|
+
if (props[propName] === null) {
|
|
42708
|
+
return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required " + ("in `" + componentName + "`, but its value is `null`."));
|
|
42709
|
+
}
|
|
42710
|
+
return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required in " + ("`" + componentName + "`, but its value is `undefined`."));
|
|
42711
|
+
}
|
|
42712
|
+
return null;
|
|
42713
|
+
} else {
|
|
42714
|
+
return validate(props, propName, componentName, location, propFullName);
|
|
42715
|
+
}
|
|
42716
|
+
}
|
|
42717
|
+
var chainedCheckType = checkType.bind(null, false);
|
|
42718
|
+
chainedCheckType.isRequired = checkType.bind(null, true);
|
|
42719
|
+
return chainedCheckType;
|
|
42720
|
+
}
|
|
42721
|
+
function createPrimitiveTypeChecker(expectedType) {
|
|
42722
|
+
function validate(props, propName, componentName, location, propFullName, secret) {
|
|
42723
|
+
var propValue = props[propName];
|
|
42724
|
+
var propType2 = getPropType(propValue);
|
|
42725
|
+
if (propType2 !== expectedType) {
|
|
42726
|
+
var preciseType = getPreciseType(propValue);
|
|
42727
|
+
return new PropTypeError(
|
|
42728
|
+
"Invalid " + location + " `" + propFullName + "` of type " + ("`" + preciseType + "` supplied to `" + componentName + "`, expected ") + ("`" + expectedType + "`."),
|
|
42729
|
+
{ expectedType }
|
|
42730
|
+
);
|
|
42731
|
+
}
|
|
42732
|
+
return null;
|
|
42733
|
+
}
|
|
42734
|
+
return createChainableTypeChecker(validate);
|
|
42735
|
+
}
|
|
42736
|
+
function createAnyTypeChecker() {
|
|
42737
|
+
return createChainableTypeChecker(emptyFunctionThatReturnsNull);
|
|
42738
|
+
}
|
|
42739
|
+
function createArrayOfTypeChecker(typeChecker) {
|
|
42740
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
42741
|
+
if (typeof typeChecker !== "function") {
|
|
42742
|
+
return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside arrayOf.");
|
|
42743
|
+
}
|
|
42744
|
+
var propValue = props[propName];
|
|
42745
|
+
if (!Array.isArray(propValue)) {
|
|
42746
|
+
var propType2 = getPropType(propValue);
|
|
42747
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType2 + "` supplied to `" + componentName + "`, expected an array."));
|
|
42748
|
+
}
|
|
42749
|
+
for (var i2 = 0; i2 < propValue.length; i2++) {
|
|
42750
|
+
var error = typeChecker(propValue, i2, componentName, location, propFullName + "[" + i2 + "]", ReactPropTypesSecret);
|
|
42751
|
+
if (error instanceof Error) {
|
|
42752
|
+
return error;
|
|
42753
|
+
}
|
|
42754
|
+
}
|
|
42755
|
+
return null;
|
|
42756
|
+
}
|
|
42757
|
+
return createChainableTypeChecker(validate);
|
|
42758
|
+
}
|
|
42759
|
+
function createElementTypeChecker() {
|
|
42760
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
42761
|
+
var propValue = props[propName];
|
|
42762
|
+
if (!isValidElement(propValue)) {
|
|
42763
|
+
var propType2 = getPropType(propValue);
|
|
42764
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType2 + "` supplied to `" + componentName + "`, expected a single ReactElement."));
|
|
42765
|
+
}
|
|
42766
|
+
return null;
|
|
42767
|
+
}
|
|
42768
|
+
return createChainableTypeChecker(validate);
|
|
42769
|
+
}
|
|
42770
|
+
function createElementTypeTypeChecker() {
|
|
42771
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
42772
|
+
var propValue = props[propName];
|
|
42773
|
+
if (!ReactIs.isValidElementType(propValue)) {
|
|
42774
|
+
var propType2 = getPropType(propValue);
|
|
42775
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType2 + "` supplied to `" + componentName + "`, expected a single ReactElement type."));
|
|
42776
|
+
}
|
|
42777
|
+
return null;
|
|
42778
|
+
}
|
|
42779
|
+
return createChainableTypeChecker(validate);
|
|
42780
|
+
}
|
|
42781
|
+
function createInstanceTypeChecker(expectedClass) {
|
|
42782
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
42783
|
+
if (!(props[propName] instanceof expectedClass)) {
|
|
42784
|
+
var expectedClassName = expectedClass.name || ANONYMOUS;
|
|
42785
|
+
var actualClassName = getClassName(props[propName]);
|
|
42786
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + actualClassName + "` supplied to `" + componentName + "`, expected ") + ("instance of `" + expectedClassName + "`."));
|
|
42787
|
+
}
|
|
42788
|
+
return null;
|
|
42789
|
+
}
|
|
42790
|
+
return createChainableTypeChecker(validate);
|
|
42791
|
+
}
|
|
42792
|
+
function createEnumTypeChecker(expectedValues) {
|
|
42793
|
+
if (!Array.isArray(expectedValues)) {
|
|
42794
|
+
if (process.env.NODE_ENV !== "production") {
|
|
42795
|
+
if (arguments.length > 1) {
|
|
42796
|
+
printWarning(
|
|
42797
|
+
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
42798
|
+
);
|
|
42799
|
+
} else {
|
|
42800
|
+
printWarning("Invalid argument supplied to oneOf, expected an array.");
|
|
42801
|
+
}
|
|
42802
|
+
}
|
|
42803
|
+
return emptyFunctionThatReturnsNull;
|
|
42804
|
+
}
|
|
42805
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
42806
|
+
var propValue = props[propName];
|
|
42807
|
+
for (var i2 = 0; i2 < expectedValues.length; i2++) {
|
|
42808
|
+
if (is(propValue, expectedValues[i2])) {
|
|
42809
|
+
return null;
|
|
42810
|
+
}
|
|
42811
|
+
}
|
|
42812
|
+
var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
|
|
42813
|
+
var type = getPreciseType(value);
|
|
42814
|
+
if (type === "symbol") {
|
|
42815
|
+
return String(value);
|
|
42816
|
+
}
|
|
42817
|
+
return value;
|
|
42818
|
+
});
|
|
42819
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of value `" + String(propValue) + "` " + ("supplied to `" + componentName + "`, expected one of " + valuesString + "."));
|
|
42820
|
+
}
|
|
42821
|
+
return createChainableTypeChecker(validate);
|
|
42822
|
+
}
|
|
42823
|
+
function createObjectOfTypeChecker(typeChecker) {
|
|
42824
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
42825
|
+
if (typeof typeChecker !== "function") {
|
|
42826
|
+
return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside objectOf.");
|
|
42827
|
+
}
|
|
42828
|
+
var propValue = props[propName];
|
|
42829
|
+
var propType2 = getPropType(propValue);
|
|
42830
|
+
if (propType2 !== "object") {
|
|
42831
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType2 + "` supplied to `" + componentName + "`, expected an object."));
|
|
42832
|
+
}
|
|
42833
|
+
for (var key in propValue) {
|
|
42834
|
+
if (has2(propValue, key)) {
|
|
42835
|
+
var error = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
|
|
42836
|
+
if (error instanceof Error) {
|
|
42837
|
+
return error;
|
|
42838
|
+
}
|
|
42839
|
+
}
|
|
42840
|
+
}
|
|
42841
|
+
return null;
|
|
42842
|
+
}
|
|
42843
|
+
return createChainableTypeChecker(validate);
|
|
42844
|
+
}
|
|
42845
|
+
function createUnionTypeChecker(arrayOfTypeCheckers) {
|
|
42846
|
+
if (!Array.isArray(arrayOfTypeCheckers)) {
|
|
42847
|
+
process.env.NODE_ENV !== "production" ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
|
|
42848
|
+
return emptyFunctionThatReturnsNull;
|
|
42849
|
+
}
|
|
42850
|
+
for (var i2 = 0; i2 < arrayOfTypeCheckers.length; i2++) {
|
|
42851
|
+
var checker = arrayOfTypeCheckers[i2];
|
|
42852
|
+
if (typeof checker !== "function") {
|
|
42853
|
+
printWarning(
|
|
42854
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i2 + "."
|
|
42855
|
+
);
|
|
42856
|
+
return emptyFunctionThatReturnsNull;
|
|
42857
|
+
}
|
|
42858
|
+
}
|
|
42859
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
42860
|
+
var expectedTypes = [];
|
|
42861
|
+
for (var i22 = 0; i22 < arrayOfTypeCheckers.length; i22++) {
|
|
42862
|
+
var checker2 = arrayOfTypeCheckers[i22];
|
|
42863
|
+
var checkerResult = checker2(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
|
|
42864
|
+
if (checkerResult == null) {
|
|
42865
|
+
return null;
|
|
42866
|
+
}
|
|
42867
|
+
if (checkerResult.data && has2(checkerResult.data, "expectedType")) {
|
|
42868
|
+
expectedTypes.push(checkerResult.data.expectedType);
|
|
42869
|
+
}
|
|
42870
|
+
}
|
|
42871
|
+
var expectedTypesMessage = expectedTypes.length > 0 ? ", expected one of type [" + expectedTypes.join(", ") + "]" : "";
|
|
42872
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`" + expectedTypesMessage + "."));
|
|
42873
|
+
}
|
|
42874
|
+
return createChainableTypeChecker(validate);
|
|
42875
|
+
}
|
|
42876
|
+
function createNodeChecker() {
|
|
42877
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
42878
|
+
if (!isNode2(props[propName])) {
|
|
42879
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`, expected a ReactNode."));
|
|
42880
|
+
}
|
|
42881
|
+
return null;
|
|
42882
|
+
}
|
|
42883
|
+
return createChainableTypeChecker(validate);
|
|
42884
|
+
}
|
|
42885
|
+
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
42886
|
+
return new PropTypeError(
|
|
42887
|
+
(componentName || "React class") + ": " + location + " type `" + propFullName + "." + key + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + type + "`."
|
|
42888
|
+
);
|
|
42889
|
+
}
|
|
42890
|
+
function createShapeTypeChecker(shapeTypes) {
|
|
42891
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
42892
|
+
var propValue = props[propName];
|
|
42893
|
+
var propType2 = getPropType(propValue);
|
|
42894
|
+
if (propType2 !== "object") {
|
|
42895
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType2 + "` " + ("supplied to `" + componentName + "`, expected `object`."));
|
|
42896
|
+
}
|
|
42897
|
+
for (var key in shapeTypes) {
|
|
42898
|
+
var checker = shapeTypes[key];
|
|
42899
|
+
if (typeof checker !== "function") {
|
|
42900
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
42901
|
+
}
|
|
42902
|
+
var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
|
|
42903
|
+
if (error) {
|
|
42904
|
+
return error;
|
|
42905
|
+
}
|
|
42906
|
+
}
|
|
42907
|
+
return null;
|
|
42908
|
+
}
|
|
42909
|
+
return createChainableTypeChecker(validate);
|
|
42910
|
+
}
|
|
42911
|
+
function createStrictShapeTypeChecker(shapeTypes) {
|
|
42912
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
42913
|
+
var propValue = props[propName];
|
|
42914
|
+
var propType2 = getPropType(propValue);
|
|
42915
|
+
if (propType2 !== "object") {
|
|
42916
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType2 + "` " + ("supplied to `" + componentName + "`, expected `object`."));
|
|
42917
|
+
}
|
|
42918
|
+
var allKeys = assign2({}, props[propName], shapeTypes);
|
|
42919
|
+
for (var key in allKeys) {
|
|
42920
|
+
var checker = shapeTypes[key];
|
|
42921
|
+
if (has2(shapeTypes, key) && typeof checker !== "function") {
|
|
42922
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
42923
|
+
}
|
|
42924
|
+
if (!checker) {
|
|
42925
|
+
return new PropTypeError(
|
|
42926
|
+
"Invalid " + location + " `" + propFullName + "` key `" + key + "` supplied to `" + componentName + "`.\nBad object: " + JSON.stringify(props[propName], null, " ") + "\nValid keys: " + JSON.stringify(Object.keys(shapeTypes), null, " ")
|
|
42927
|
+
);
|
|
42928
|
+
}
|
|
42929
|
+
var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
|
|
42930
|
+
if (error) {
|
|
42931
|
+
return error;
|
|
42932
|
+
}
|
|
42933
|
+
}
|
|
42934
|
+
return null;
|
|
42935
|
+
}
|
|
42936
|
+
return createChainableTypeChecker(validate);
|
|
42937
|
+
}
|
|
42938
|
+
function isNode2(propValue) {
|
|
42939
|
+
switch (typeof propValue) {
|
|
42940
|
+
case "number":
|
|
42941
|
+
case "string":
|
|
42942
|
+
case "undefined":
|
|
42943
|
+
return true;
|
|
42944
|
+
case "boolean":
|
|
42945
|
+
return !propValue;
|
|
42946
|
+
case "object":
|
|
42947
|
+
if (Array.isArray(propValue)) {
|
|
42948
|
+
return propValue.every(isNode2);
|
|
42949
|
+
}
|
|
42950
|
+
if (propValue === null || isValidElement(propValue)) {
|
|
42951
|
+
return true;
|
|
42952
|
+
}
|
|
42953
|
+
var iteratorFn = getIteratorFn(propValue);
|
|
42954
|
+
if (iteratorFn) {
|
|
42955
|
+
var iterator = iteratorFn.call(propValue);
|
|
42956
|
+
var step;
|
|
42957
|
+
if (iteratorFn !== propValue.entries) {
|
|
42958
|
+
while (!(step = iterator.next()).done) {
|
|
42959
|
+
if (!isNode2(step.value)) {
|
|
42960
|
+
return false;
|
|
42961
|
+
}
|
|
42962
|
+
}
|
|
42963
|
+
} else {
|
|
42964
|
+
while (!(step = iterator.next()).done) {
|
|
42965
|
+
var entry = step.value;
|
|
42966
|
+
if (entry) {
|
|
42967
|
+
if (!isNode2(entry[1])) {
|
|
42968
|
+
return false;
|
|
42969
|
+
}
|
|
42970
|
+
}
|
|
42971
|
+
}
|
|
42972
|
+
}
|
|
42973
|
+
} else {
|
|
42974
|
+
return false;
|
|
42975
|
+
}
|
|
42976
|
+
return true;
|
|
42977
|
+
default:
|
|
42978
|
+
return false;
|
|
42979
|
+
}
|
|
42980
|
+
}
|
|
42981
|
+
function isSymbol(propType2, propValue) {
|
|
42982
|
+
if (propType2 === "symbol") {
|
|
42983
|
+
return true;
|
|
42984
|
+
}
|
|
42985
|
+
if (!propValue) {
|
|
42986
|
+
return false;
|
|
42987
|
+
}
|
|
42988
|
+
if (propValue["@@toStringTag"] === "Symbol") {
|
|
42989
|
+
return true;
|
|
42990
|
+
}
|
|
42991
|
+
if (typeof Symbol === "function" && propValue instanceof Symbol) {
|
|
42992
|
+
return true;
|
|
42993
|
+
}
|
|
42994
|
+
return false;
|
|
42995
|
+
}
|
|
42996
|
+
function getPropType(propValue) {
|
|
42997
|
+
var propType2 = typeof propValue;
|
|
42998
|
+
if (Array.isArray(propValue)) {
|
|
42999
|
+
return "array";
|
|
43000
|
+
}
|
|
43001
|
+
if (propValue instanceof RegExp) {
|
|
43002
|
+
return "object";
|
|
43003
|
+
}
|
|
43004
|
+
if (isSymbol(propType2, propValue)) {
|
|
43005
|
+
return "symbol";
|
|
43006
|
+
}
|
|
43007
|
+
return propType2;
|
|
43008
|
+
}
|
|
43009
|
+
function getPreciseType(propValue) {
|
|
43010
|
+
if (typeof propValue === "undefined" || propValue === null) {
|
|
43011
|
+
return "" + propValue;
|
|
43012
|
+
}
|
|
43013
|
+
var propType2 = getPropType(propValue);
|
|
43014
|
+
if (propType2 === "object") {
|
|
43015
|
+
if (propValue instanceof Date) {
|
|
43016
|
+
return "date";
|
|
43017
|
+
} else if (propValue instanceof RegExp) {
|
|
43018
|
+
return "regexp";
|
|
43019
|
+
}
|
|
43020
|
+
}
|
|
43021
|
+
return propType2;
|
|
43022
|
+
}
|
|
43023
|
+
function getPostfixForTypeWarning(value) {
|
|
43024
|
+
var type = getPreciseType(value);
|
|
43025
|
+
switch (type) {
|
|
43026
|
+
case "array":
|
|
43027
|
+
case "object":
|
|
43028
|
+
return "an " + type;
|
|
43029
|
+
case "boolean":
|
|
43030
|
+
case "date":
|
|
43031
|
+
case "regexp":
|
|
43032
|
+
return "a " + type;
|
|
43033
|
+
default:
|
|
43034
|
+
return type;
|
|
43035
|
+
}
|
|
43036
|
+
}
|
|
43037
|
+
function getClassName(propValue) {
|
|
43038
|
+
if (!propValue.constructor || !propValue.constructor.name) {
|
|
43039
|
+
return ANONYMOUS;
|
|
43040
|
+
}
|
|
43041
|
+
return propValue.constructor.name;
|
|
43042
|
+
}
|
|
43043
|
+
ReactPropTypes.checkPropTypes = checkPropTypes;
|
|
43044
|
+
ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
|
|
43045
|
+
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
43046
|
+
return ReactPropTypes;
|
|
43047
|
+
};
|
|
43048
|
+
return factoryWithTypeCheckers;
|
|
43049
|
+
}
|
|
43050
|
+
var factoryWithThrowingShims;
|
|
43051
|
+
var hasRequiredFactoryWithThrowingShims;
|
|
43052
|
+
function requireFactoryWithThrowingShims() {
|
|
43053
|
+
if (hasRequiredFactoryWithThrowingShims) return factoryWithThrowingShims;
|
|
43054
|
+
hasRequiredFactoryWithThrowingShims = 1;
|
|
43055
|
+
var ReactPropTypesSecret = /* @__PURE__ */ requireReactPropTypesSecret();
|
|
43056
|
+
function emptyFunction() {
|
|
43057
|
+
}
|
|
43058
|
+
function emptyFunctionWithReset() {
|
|
43059
|
+
}
|
|
43060
|
+
emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
|
43061
|
+
factoryWithThrowingShims = function() {
|
|
43062
|
+
function shim(props, propName, componentName, location, propFullName, secret) {
|
|
43063
|
+
if (secret === ReactPropTypesSecret) {
|
|
43064
|
+
return;
|
|
43065
|
+
}
|
|
43066
|
+
var err = new Error(
|
|
43067
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
43068
|
+
);
|
|
43069
|
+
err.name = "Invariant Violation";
|
|
43070
|
+
throw err;
|
|
43071
|
+
}
|
|
43072
|
+
shim.isRequired = shim;
|
|
43073
|
+
function getShim() {
|
|
43074
|
+
return shim;
|
|
43075
|
+
}
|
|
43076
|
+
var ReactPropTypes = {
|
|
43077
|
+
array: shim,
|
|
43078
|
+
bigint: shim,
|
|
43079
|
+
bool: shim,
|
|
43080
|
+
func: shim,
|
|
43081
|
+
number: shim,
|
|
43082
|
+
object: shim,
|
|
43083
|
+
string: shim,
|
|
43084
|
+
symbol: shim,
|
|
43085
|
+
any: shim,
|
|
43086
|
+
arrayOf: getShim,
|
|
43087
|
+
element: shim,
|
|
43088
|
+
elementType: shim,
|
|
43089
|
+
instanceOf: getShim,
|
|
43090
|
+
node: shim,
|
|
43091
|
+
objectOf: getShim,
|
|
43092
|
+
oneOf: getShim,
|
|
43093
|
+
oneOfType: getShim,
|
|
43094
|
+
shape: getShim,
|
|
43095
|
+
exact: getShim,
|
|
43096
|
+
checkPropTypes: emptyFunctionWithReset,
|
|
43097
|
+
resetWarningCache: emptyFunction
|
|
43098
|
+
};
|
|
43099
|
+
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
43100
|
+
return ReactPropTypes;
|
|
43101
|
+
};
|
|
43102
|
+
return factoryWithThrowingShims;
|
|
43103
|
+
}
|
|
43104
|
+
var hasRequiredPropTypes;
|
|
43105
|
+
function requirePropTypes() {
|
|
43106
|
+
if (hasRequiredPropTypes) return propTypes.exports;
|
|
43107
|
+
hasRequiredPropTypes = 1;
|
|
43108
|
+
if (process.env.NODE_ENV !== "production") {
|
|
43109
|
+
var ReactIs = require$$0;
|
|
43110
|
+
var throwOnDirectAccess = true;
|
|
43111
|
+
propTypes.exports = /* @__PURE__ */ requireFactoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
|
|
43112
|
+
} else {
|
|
43113
|
+
propTypes.exports = /* @__PURE__ */ requireFactoryWithThrowingShims()();
|
|
43114
|
+
}
|
|
43115
|
+
return propTypes.exports;
|
|
43116
|
+
}
|
|
42039
43117
|
var ModalPortal = { exports: {} };
|
|
42040
43118
|
var focusManager = {};
|
|
42041
43119
|
var tabbable = { exports: {} };
|
|
@@ -42048,20 +43126,9 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
42048
43126
|
value: true
|
|
42049
43127
|
});
|
|
42050
43128
|
exports$1.default = findTabbableDescendants;
|
|
42051
|
-
/*!
|
|
42052
|
-
* Adapted from jQuery UI core
|
|
42053
|
-
*
|
|
42054
|
-
* http://jqueryui.com
|
|
42055
|
-
*
|
|
42056
|
-
* Copyright 2014 jQuery Foundation and other contributors
|
|
42057
|
-
* Released under the MIT license.
|
|
42058
|
-
* http://jquery.org/license
|
|
42059
|
-
*
|
|
42060
|
-
* http://api.jqueryui.com/category/ui-core/
|
|
42061
|
-
*/
|
|
42062
43129
|
var DISPLAY_NONE = "none";
|
|
42063
43130
|
var DISPLAY_CONTENTS = "contents";
|
|
42064
|
-
var tabbableNode =
|
|
43131
|
+
var tabbableNode = /^(input|select|textarea|button|object|iframe)$/;
|
|
42065
43132
|
function isNotOverflowing(element, style) {
|
|
42066
43133
|
return style.getPropertyValue("overflow") !== "visible" || // if 'overflow: visible' set, check if there is actually any overflow
|
|
42067
43134
|
element.scrollWidth <= 0 && element.scrollHeight <= 0;
|
|
@@ -42682,7 +43749,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
42682
43749
|
};
|
|
42683
43750
|
})();
|
|
42684
43751
|
var _react = React;
|
|
42685
|
-
var _propTypes = requirePropTypes();
|
|
43752
|
+
var _propTypes = /* @__PURE__ */ requirePropTypes();
|
|
42686
43753
|
var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
42687
43754
|
var _focusManager = requireFocusManager();
|
|
42688
43755
|
var focusManager2 = _interopRequireWildcard(_focusManager);
|
|
@@ -43169,7 +44236,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
43169
44236
|
var _react2 = _interopRequireDefault(_react);
|
|
43170
44237
|
var _reactDom = ReactDOM;
|
|
43171
44238
|
var _reactDom2 = _interopRequireDefault(_reactDom);
|
|
43172
|
-
var _propTypes = requirePropTypes();
|
|
44239
|
+
var _propTypes = /* @__PURE__ */ requirePropTypes();
|
|
43173
44240
|
var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
43174
44241
|
var _ModalPortal = requireModalPortal();
|
|
43175
44242
|
var _ModalPortal2 = _interopRequireDefault(_ModalPortal);
|
|
@@ -43449,21 +44516,19 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
43449
44516
|
}
|
|
43450
44517
|
var libExports = requireLib();
|
|
43451
44518
|
const ReactModal = /* @__PURE__ */ getDefaultExportFromCjs(libExports);
|
|
43452
|
-
const ModalContent = styledComponents.styled.div(
|
|
43453
|
-
|
|
43454
|
-
|
|
43455
|
-
|
|
43456
|
-
|
|
43457
|
-
|
|
43458
|
-
|
|
43459
|
-
|
|
43460
|
-
|
|
43461
|
-
})
|
|
43462
|
-
);
|
|
44519
|
+
const ModalContent = styledComponents.styled.div(({ hasFooter, theme }) => ({
|
|
44520
|
+
marginTop: "-64px",
|
|
44521
|
+
marginBottom: hasFooter ? "-72px" : 0,
|
|
44522
|
+
overflow: "auto",
|
|
44523
|
+
paddingTop: "88px",
|
|
44524
|
+
paddingBottom: hasFooter ? "96px" : theme.space.x2,
|
|
44525
|
+
paddingLeft: theme.space.x3,
|
|
44526
|
+
paddingRight: theme.space.x3
|
|
44527
|
+
}));
|
|
43463
44528
|
const ModalFooter = styledComponents.styled.div(({ theme }) => ({
|
|
43464
44529
|
position: "relative",
|
|
43465
44530
|
padding: `${theme.space.x2} ${theme.space.x3}`,
|
|
43466
|
-
backgroundColor: curriedTransparentize(0.1, theme.colors.white),
|
|
44531
|
+
backgroundColor: curriedTransparentize$1(0.1, theme.colors.white),
|
|
43467
44532
|
zIndex: theme.zIndices.modalHeaderAndFooter,
|
|
43468
44533
|
borderRadius: `0 0 ${theme.radii.medium} ${theme.radii.medium}`,
|
|
43469
44534
|
"&:after": {
|
|
@@ -43481,7 +44546,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
43481
44546
|
const ModalHeader = styledComponents.styled.div(({ hasCloseButton, theme }) => ({
|
|
43482
44547
|
position: "relative",
|
|
43483
44548
|
padding: `${theme.space.x2} ${getHeaderPaddingRight(hasCloseButton, theme)} ${theme.space.x2} ${theme.space.x3}`,
|
|
43484
|
-
backgroundColor: curriedTransparentize(0.1, theme.colors.white),
|
|
44549
|
+
backgroundColor: curriedTransparentize$1(0.1, theme.colors.white),
|
|
43485
44550
|
zIndex: theme.zIndices.modalHeaderAndFooter,
|
|
43486
44551
|
borderRadius: `${theme.radii.medium} ${theme.radii.medium} 0 0`,
|
|
43487
44552
|
"&:after": {
|
|
@@ -43509,7 +44574,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
43509
44574
|
display: "flex",
|
|
43510
44575
|
justifyContent: "center",
|
|
43511
44576
|
alignItems: "center",
|
|
43512
|
-
backgroundColor: curriedTransparentize(0.5, theme.colors.blackBlue),
|
|
44577
|
+
backgroundColor: curriedTransparentize$1(0.5, theme.colors.blackBlue),
|
|
43513
44578
|
zIndex: theme.zIndices.overlay
|
|
43514
44579
|
});
|
|
43515
44580
|
const StyledReactModal = styledComponents.styled(ReactModal)(
|
|
@@ -43550,7 +44615,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
43550
44615
|
MozOsxFontSmoothing: "grayscale"
|
|
43551
44616
|
})
|
|
43552
44617
|
);
|
|
43553
|
-
|
|
44618
|
+
function Modal({
|
|
43554
44619
|
isOpen = true,
|
|
43555
44620
|
shouldFocusAfterRender = true,
|
|
43556
44621
|
shouldReturnFocusAfterClose = true,
|
|
@@ -43570,7 +44635,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
43570
44635
|
footerContent,
|
|
43571
44636
|
closeAriaLabel,
|
|
43572
44637
|
parentSelector
|
|
43573
|
-
})
|
|
44638
|
+
}) {
|
|
43574
44639
|
const modalHasHeader = Boolean(onRequestClose || title);
|
|
43575
44640
|
const themeContext = React.useContext(styledComponents.ThemeContext);
|
|
43576
44641
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -43612,7 +44677,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
43612
44677
|
)
|
|
43613
44678
|
}
|
|
43614
44679
|
);
|
|
43615
|
-
}
|
|
44680
|
+
}
|
|
43616
44681
|
function ModalWrapper({
|
|
43617
44682
|
modalHasHeader,
|
|
43618
44683
|
title,
|
|
@@ -47282,16 +48347,16 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
47282
48347
|
return I18n2;
|
|
47283
48348
|
})(EventEmitter);
|
|
47284
48349
|
var i18next = new I18n();
|
|
47285
|
-
const close$
|
|
47286
|
-
const next$
|
|
47287
|
-
const open$
|
|
47288
|
-
const previous$
|
|
47289
|
-
const select$
|
|
47290
|
-
const more$
|
|
48350
|
+
const close$a = "Schließen";
|
|
48351
|
+
const next$a = "Weiter";
|
|
48352
|
+
const open$a = "Öffnen";
|
|
48353
|
+
const previous$a = "Vorherig";
|
|
48354
|
+
const select$a = "Wählen";
|
|
48355
|
+
const more$a = "Mehr";
|
|
47291
48356
|
const de_DE = {
|
|
47292
48357
|
"close menu": "Menü schließen",
|
|
47293
48358
|
"menu options": "Menüoptionen",
|
|
47294
|
-
close: close$
|
|
48359
|
+
close: close$a,
|
|
47295
48360
|
"collapse row": "Zeile verbergen",
|
|
47296
48361
|
"date range": "Datumsbereich",
|
|
47297
48362
|
"deselect all rows": "Alle Zeilen deselektieren",
|
|
@@ -47309,15 +48374,15 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
47309
48374
|
"go to": "Wechseln zu",
|
|
47310
48375
|
"hide actions": "Aktionen verbergen",
|
|
47311
48376
|
"month range": "Monatsbereich",
|
|
47312
|
-
next: next$
|
|
48377
|
+
next: next$a,
|
|
47313
48378
|
"open menu": "Menü öffnen",
|
|
47314
|
-
open: open$
|
|
48379
|
+
open: open$a,
|
|
47315
48380
|
"pagination navigation": "Nummerierungs-Navigation",
|
|
47316
|
-
previous: previous$
|
|
48381
|
+
previous: previous$a,
|
|
47317
48382
|
"primary navigation": "Primäre Navigation",
|
|
47318
48383
|
"search nulogy": "Nulogy suchen...",
|
|
47319
48384
|
"secondary navigation": "Sekundäre Navigation",
|
|
47320
|
-
select: select$
|
|
48385
|
+
select: select$a,
|
|
47321
48386
|
"start typing": "Anfangen zu tippen",
|
|
47322
48387
|
"select a start date": "Ein Startdatum wählen",
|
|
47323
48388
|
"select a start month": "Einen Startmonat wählen",
|
|
@@ -47335,7 +48400,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
47335
48400
|
"weekPicker date format": "'KW'ww - d. MMM yyyy",
|
|
47336
48401
|
"weekPicker placeholder": "KW52 - 31. Dez 2023",
|
|
47337
48402
|
"week shorthand": "KW",
|
|
47338
|
-
more: more$
|
|
48403
|
+
more: more$a,
|
|
47339
48404
|
"no options": "Keine Optionen",
|
|
47340
48405
|
"nulogy logo": "Nulogy-Logo",
|
|
47341
48406
|
"toggle user menu": "Benutzer-Menü umschalten",
|
|
@@ -47351,16 +48416,16 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
47351
48416
|
"supplier collaboration app description": "Arbeiten Sie in Echtzeit mit Partnern im Lieferkettennetzwerk zusammen, um Transparenz und Reaktionsfähigkeit zu verbessern",
|
|
47352
48417
|
"smart factory app description": "Automatisieren Sie die Maschinendatenerfassung, um Ausfallzeiten zu reduzieren und den Produktionsdurchsatz zu verbessern"
|
|
47353
48418
|
};
|
|
47354
|
-
const close$
|
|
47355
|
-
const next$
|
|
47356
|
-
const open$
|
|
47357
|
-
const previous$
|
|
47358
|
-
const select$
|
|
47359
|
-
const more$
|
|
48419
|
+
const close$9 = "Close";
|
|
48420
|
+
const next$9 = "Next";
|
|
48421
|
+
const open$9 = "Open";
|
|
48422
|
+
const previous$9 = "Previous";
|
|
48423
|
+
const select$9 = "Select";
|
|
48424
|
+
const more$9 = "More";
|
|
47360
48425
|
const en_US = {
|
|
47361
48426
|
"close menu": "Close menu",
|
|
47362
48427
|
"menu options": "Menu options",
|
|
47363
|
-
close: close$
|
|
48428
|
+
close: close$9,
|
|
47364
48429
|
"collapse row": "Collapse row",
|
|
47365
48430
|
"date range": "Date range",
|
|
47366
48431
|
"deselect all rows": "Deselect all rows",
|
|
@@ -47379,15 +48444,15 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
47379
48444
|
"hide actions": "Hide actions",
|
|
47380
48445
|
"no options": "No options",
|
|
47381
48446
|
"month range": "Month range",
|
|
47382
|
-
next: next$
|
|
48447
|
+
next: next$9,
|
|
47383
48448
|
"open menu": "Open menu",
|
|
47384
|
-
open: open$
|
|
48449
|
+
open: open$9,
|
|
47385
48450
|
"pagination navigation": "Pagination navigation",
|
|
47386
|
-
previous: previous$
|
|
48451
|
+
previous: previous$9,
|
|
47387
48452
|
"primary navigation": "Primary navigation",
|
|
47388
48453
|
"search nulogy": "Search Nulogy...",
|
|
47389
48454
|
"secondary navigation": "Secondary navigation",
|
|
47390
|
-
select: select$
|
|
48455
|
+
select: select$9,
|
|
47391
48456
|
"start typing": "Start typing",
|
|
47392
48457
|
"select a start date": "Select a start date",
|
|
47393
48458
|
"select a start month": "Select a start month",
|
|
@@ -47405,7 +48470,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
47405
48470
|
"weekPicker date format": "'W'ww - MMM d, yyyy",
|
|
47406
48471
|
"weekPicker placeholder": "W52 - Dec 31, 2023",
|
|
47407
48472
|
"week shorthand": "W",
|
|
47408
|
-
more: more$
|
|
48473
|
+
more: more$9,
|
|
47409
48474
|
"nulogy logo": "Nulogy logo",
|
|
47410
48475
|
"toggle user menu": "Toggle user menu",
|
|
47411
48476
|
"user menu": "User menu",
|
|
@@ -47420,16 +48485,16 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
47420
48485
|
"supplier collaboration app description": "Collaborate in real time with supply chain network partners for enhanced visibility and responsiveness",
|
|
47421
48486
|
"smart factory app description": "Automate machine data capture to reduce downtime and improve production throughput"
|
|
47422
48487
|
};
|
|
47423
|
-
const close$
|
|
47424
|
-
const next$
|
|
47425
|
-
const open$
|
|
47426
|
-
const previous$
|
|
47427
|
-
const select$
|
|
47428
|
-
const more$
|
|
48488
|
+
const close$8 = "Cerrar";
|
|
48489
|
+
const next$8 = "Siguiente";
|
|
48490
|
+
const open$8 = "Abrir";
|
|
48491
|
+
const previous$8 = "Anterior";
|
|
48492
|
+
const select$8 = "Seleccionar";
|
|
48493
|
+
const more$8 = "Más";
|
|
47429
48494
|
const es_ES = {
|
|
47430
48495
|
"close menu": "Cerrar menú",
|
|
47431
48496
|
"menu options": "Opciones del menú",
|
|
47432
|
-
close: close$
|
|
48497
|
+
close: close$8,
|
|
47433
48498
|
"collapse row": "Contraer fila",
|
|
47434
48499
|
"date range": "Rango de fechas",
|
|
47435
48500
|
"deselect all rows": "Deseleccionar todas las filas",
|
|
@@ -47447,15 +48512,15 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
47447
48512
|
"go to": "Ir a",
|
|
47448
48513
|
"hide actions": "Ocultar acciones",
|
|
47449
48514
|
"month range": "Rango de meses",
|
|
47450
|
-
next: next$
|
|
48515
|
+
next: next$8,
|
|
47451
48516
|
"open menu": "Abrir menú",
|
|
47452
|
-
open: open$
|
|
48517
|
+
open: open$8,
|
|
47453
48518
|
"pagination navigation": "Navegación de paginación",
|
|
47454
|
-
previous: previous$
|
|
48519
|
+
previous: previous$8,
|
|
47455
48520
|
"primary navigation": "Navegación principal",
|
|
47456
48521
|
"search nulogy": "Buscar en Nulogy...",
|
|
47457
48522
|
"secondary navigation": "Navegación secundaria",
|
|
47458
|
-
select: select$
|
|
48523
|
+
select: select$8,
|
|
47459
48524
|
"start typing": "Empieza a escribir",
|
|
47460
48525
|
"select a start date": "Selecciona una fecha de inicio",
|
|
47461
48526
|
"select a start month": "Selecciona un mes de inicio",
|
|
@@ -47473,7 +48538,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
47473
48538
|
"weekPicker date format": "'S'ww - d MMM, yyyy",
|
|
47474
48539
|
"weekPicker placeholder": "S52 - 31 dic, 2023",
|
|
47475
48540
|
"week shorthand": "S",
|
|
47476
|
-
more: more$
|
|
48541
|
+
more: more$8,
|
|
47477
48542
|
"no options": "Sin opciones",
|
|
47478
48543
|
"nulogy logo": "Logo de Nulogy",
|
|
47479
48544
|
"toggle user menu": "Alternar menú de usuario",
|
|
@@ -47489,6 +48554,75 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
47489
48554
|
"supplier collaboration app description": "Colabore en tiempo real con socios de la red de la cadena de suministro para mejorar la visibilidad y la capacidad de respuesta",
|
|
47490
48555
|
"smart factory app description": "Automatice la captura de datos de máquinas para reducir el tiempo de inactividad y mejorar el rendimiento de la producción"
|
|
47491
48556
|
};
|
|
48557
|
+
const close$7 = "閉じる";
|
|
48558
|
+
const next$7 = "次へ";
|
|
48559
|
+
const open$7 = "開く";
|
|
48560
|
+
const previous$7 = "前へ";
|
|
48561
|
+
const select$7 = "選択";
|
|
48562
|
+
const more$7 = "もっと見る";
|
|
48563
|
+
const ja_JP = {
|
|
48564
|
+
"close menu": "メニューを閉じる",
|
|
48565
|
+
"menu options": "メニューオプション",
|
|
48566
|
+
close: close$7,
|
|
48567
|
+
"collapse row": "行を折りたたむ",
|
|
48568
|
+
"date range": "日付範囲",
|
|
48569
|
+
"deselect all rows": "すべての行の選択を解除",
|
|
48570
|
+
"deselect row": "行の選択を解除",
|
|
48571
|
+
"end date is before start date": "終了日が開始日より前です",
|
|
48572
|
+
"end month is before start month": "終了月が開始月より前です",
|
|
48573
|
+
"end time is before start time": "終了時刻が開始時刻より前です",
|
|
48574
|
+
"expand row": "行を展開する",
|
|
48575
|
+
"go to previous year": "前年に移動",
|
|
48576
|
+
"go to next year": "翌年に移動",
|
|
48577
|
+
"go to next results": "次の結果に移動",
|
|
48578
|
+
"go to page": "{{count}}ページに移動",
|
|
48579
|
+
"current page of total": "{{totalPages}}ページ中{{currentPage}}ページ",
|
|
48580
|
+
"go to previous results": "前の結果に移動",
|
|
48581
|
+
"go to": "移動",
|
|
48582
|
+
"hide actions": "アクションを非表示",
|
|
48583
|
+
"no options": "オプションなし",
|
|
48584
|
+
"month range": "月範囲",
|
|
48585
|
+
next: next$7,
|
|
48586
|
+
"open menu": "メニューを開く",
|
|
48587
|
+
open: open$7,
|
|
48588
|
+
"pagination navigation": "ページネーション",
|
|
48589
|
+
previous: previous$7,
|
|
48590
|
+
"primary navigation": "メインナビゲーション",
|
|
48591
|
+
"search nulogy": "Nulogy内を検索…",
|
|
48592
|
+
"secondary navigation": "サブナビゲーション",
|
|
48593
|
+
select: select$7,
|
|
48594
|
+
"start typing": "入力を開始",
|
|
48595
|
+
"select a start date": "開始日を選択",
|
|
48596
|
+
"select a start month": "開始月を選択",
|
|
48597
|
+
"select a start time": "開始時刻を選択",
|
|
48598
|
+
"select a time": "時刻を選択",
|
|
48599
|
+
"select all rows": "すべての行を選択",
|
|
48600
|
+
"select an end date": "終了日を選択",
|
|
48601
|
+
"select an end month": "終了月を選択",
|
|
48602
|
+
"select an end time": "終了時刻を選択",
|
|
48603
|
+
"select row": "行を選択",
|
|
48604
|
+
"show actions": "アクションを表示",
|
|
48605
|
+
"sort ascending": "昇順で並べ替え",
|
|
48606
|
+
"sort descending": "降順で並べ替え",
|
|
48607
|
+
"time range": "時間範囲",
|
|
48608
|
+
"weekPicker date format": "'W'ww - yyyy年M月d日",
|
|
48609
|
+
"weekPicker placeholder": "W52 - 2023年12月31日",
|
|
48610
|
+
"week shorthand": "W",
|
|
48611
|
+
more: more$7,
|
|
48612
|
+
"nulogy logo": "Nulogyロゴ",
|
|
48613
|
+
"toggle user menu": "ユーザーメニューの切り替え",
|
|
48614
|
+
"user menu": "ユーザーメニュー",
|
|
48615
|
+
"toggle app switcher": "アプリスイッチャー",
|
|
48616
|
+
"app switcher": "アプリ切り替え",
|
|
48617
|
+
"toggle mobile menu": "モバイルメニューの切り替え",
|
|
48618
|
+
"connections app description": "セルフサービスのローコード/ノーコードツールで社内、顧客、サプライヤーのシステムを接続",
|
|
48619
|
+
"data app description": "分析と意思決定のためのビジネスデータへの直接アクセス",
|
|
48620
|
+
"digital quality inspection app description": "タブレットベースの検査、電子署名、完全な監査証跡で品質チェックをデジタル化",
|
|
48621
|
+
"production scheduling app description": "需要、ダウンタイム、稼働率などを使用して生産スケジュールを可視化・最適化",
|
|
48622
|
+
"shop floor control app description": "現場オペレーションを管理し、可視性、スピード、運用効率を向上",
|
|
48623
|
+
"supplier collaboration app description": "サプライチェーンネットワークパートナーとリアルタイムで連携し、可視性と対応力を強化",
|
|
48624
|
+
"smart factory app description": "機械データの自動収集によりダウンタイムを削減し、生産スループットを改善"
|
|
48625
|
+
};
|
|
47492
48626
|
const close$6 = "Cerrar";
|
|
47493
48627
|
const next$6 = "Siguiente";
|
|
47494
48628
|
const open$6 = "Abrir";
|
|
@@ -47988,6 +49122,9 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
47988
49122
|
fr_FR: {
|
|
47989
49123
|
nds: fr_FR
|
|
47990
49124
|
},
|
|
49125
|
+
ja_JP: {
|
|
49126
|
+
nds: ja_JP
|
|
49127
|
+
},
|
|
47991
49128
|
nl_NL: {
|
|
47992
49129
|
nds: nl_NL
|
|
47993
49130
|
},
|
|
@@ -49189,7 +50326,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
49189
50326
|
right: 0,
|
|
49190
50327
|
bottom: 0,
|
|
49191
50328
|
zIndex: theme.zIndices.overlay,
|
|
49192
|
-
backgroundColor: dark ? curriedTransparentize(0.5, theme.colors.blackBlue) : curriedTransparentize(0.05, theme.colors.white)
|
|
50329
|
+
backgroundColor: dark ? curriedTransparentize$1(0.5, theme.colors.blackBlue) : curriedTransparentize$1(0.05, theme.colors.white)
|
|
49193
50330
|
}));
|
|
49194
50331
|
const getHoverBackground = (currentPage, disabled, theme) => {
|
|
49195
50332
|
if (currentPage) {
|
|
@@ -49477,8 +50614,8 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
49477
50614
|
const Radio = React.forwardRef(
|
|
49478
50615
|
({ disabled = false, error = false, required = false, className, labelText, checked, variant: variant2, ...props }, ref) => {
|
|
49479
50616
|
const componentVariant = useComponentVariant(variant2);
|
|
49480
|
-
const spaceProps = getSubset(props, propTypes$
|
|
49481
|
-
const restProps = omitSubset(props, propTypes$
|
|
50617
|
+
const spaceProps = getSubset(props, propTypes$2.space);
|
|
50618
|
+
const restProps = omitSubset(props, propTypes$2.space);
|
|
49482
50619
|
return /* @__PURE__ */ jsxRuntime.jsx(Box, { position: "relative", className, px: "0", ...spaceProps, children: /* @__PURE__ */ jsxRuntime.jsxs(ClickInputLabel, { variant: componentVariant, disabled, children: [
|
|
49483
50620
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
49484
50621
|
RadioInput,
|
|
@@ -50365,17 +51502,19 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
50365
51502
|
ref: list,
|
|
50366
51503
|
outerRef: innerRef,
|
|
50367
51504
|
estimatedItemSize,
|
|
50368
|
-
innerElementType: React__namespace.forwardRef(
|
|
50369
|
-
|
|
50370
|
-
|
|
50371
|
-
|
|
50372
|
-
|
|
50373
|
-
|
|
50374
|
-
|
|
50375
|
-
|
|
50376
|
-
|
|
50377
|
-
|
|
50378
|
-
|
|
51505
|
+
innerElementType: React__namespace.forwardRef(
|
|
51506
|
+
({ style, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
51507
|
+
"div",
|
|
51508
|
+
{
|
|
51509
|
+
ref,
|
|
51510
|
+
style: {
|
|
51511
|
+
...style,
|
|
51512
|
+
height: `${parseFloat(style.height) + paddingBottom + paddingTop}px`
|
|
51513
|
+
},
|
|
51514
|
+
...rest
|
|
51515
|
+
}
|
|
51516
|
+
)
|
|
51517
|
+
),
|
|
50379
51518
|
height: menuHeight,
|
|
50380
51519
|
width: "100%",
|
|
50381
51520
|
itemCount,
|
|
@@ -50846,7 +51985,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
50846
51985
|
columns: addExpandableColumn(props)
|
|
50847
51986
|
});
|
|
50848
51987
|
const propNames = [
|
|
50849
|
-
...Object.keys(propTypes$
|
|
51988
|
+
...Object.keys(propTypes$2.space),
|
|
50850
51989
|
"columns",
|
|
50851
51990
|
"rows",
|
|
50852
51991
|
"noRowsContent",
|
|
@@ -51259,10 +52398,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
51259
52398
|
}
|
|
51260
52399
|
return context;
|
|
51261
52400
|
}
|
|
51262
|
-
|
|
51263
|
-
breakpoint,
|
|
51264
|
-
children
|
|
51265
|
-
}) => {
|
|
52401
|
+
function SummaryContextProvider({ breakpoint, children }) {
|
|
51266
52402
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
51267
52403
|
SummaryContext.Provider,
|
|
51268
52404
|
{
|
|
@@ -51272,7 +52408,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
51272
52408
|
children
|
|
51273
52409
|
}
|
|
51274
52410
|
);
|
|
51275
|
-
}
|
|
52411
|
+
}
|
|
51276
52412
|
const SummaryWrapper = styledComponents.styled(Box)(({ theme, breakpoint }) => ({
|
|
51277
52413
|
display: "flex",
|
|
51278
52414
|
background: theme.colors.white,
|
|
@@ -51291,12 +52427,12 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
51291
52427
|
rowGap: 0
|
|
51292
52428
|
}
|
|
51293
52429
|
}));
|
|
51294
|
-
|
|
52430
|
+
function Summary({ breakpoint, children, ...rest }) {
|
|
51295
52431
|
const theme = styledComponents.useTheme();
|
|
51296
52432
|
breakpoint || (breakpoint = theme.breakpoints.medium);
|
|
51297
52433
|
const breakpointPx = numberFromDimension(breakpoint);
|
|
51298
52434
|
return /* @__PURE__ */ jsxRuntime.jsx(SummaryContextProvider, { breakpoint: breakpointPx, children: /* @__PURE__ */ jsxRuntime.jsx(SummaryWrapper, { breakpoint: breakpointPx, ...rest, children }) });
|
|
51299
|
-
}
|
|
52435
|
+
}
|
|
51300
52436
|
const SummaryItemWrapper = styledComponents.styled(Flex)(({ theme, breakpoint }) => ({
|
|
51301
52437
|
gap: theme.space.half,
|
|
51302
52438
|
flexDirection: "column",
|
|
@@ -51304,7 +52440,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
51304
52440
|
flexDirection: "row"
|
|
51305
52441
|
}
|
|
51306
52442
|
}));
|
|
51307
|
-
|
|
52443
|
+
function SummaryItem({ value, status, ...rest }) {
|
|
51308
52444
|
const { breakpoint } = useSummaryContext();
|
|
51309
52445
|
const matches = useMediaQuery(`(max-width: ${breakpoint}px)`);
|
|
51310
52446
|
delete rest["children"];
|
|
@@ -51312,7 +52448,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
51312
52448
|
/* @__PURE__ */ jsxRuntime.jsx(Text, { fontWeight: "medium", fontSize: !matches ? "heading4" : void 0, children: value }),
|
|
51313
52449
|
status
|
|
51314
52450
|
] });
|
|
51315
|
-
}
|
|
52451
|
+
}
|
|
51316
52452
|
const Divider = styledComponents.styled(Box)(({ theme, breakpoint }) => ({
|
|
51317
52453
|
display: "block",
|
|
51318
52454
|
alignSelf: "stretch",
|
|
@@ -51328,11 +52464,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
51328
52464
|
const { breakpoint } = useSummaryContext();
|
|
51329
52465
|
return /* @__PURE__ */ jsxRuntime.jsx(Divider, { breakpoint: numberFromDimension(breakpoint), ...props });
|
|
51330
52466
|
};
|
|
51331
|
-
|
|
51332
|
-
children,
|
|
51333
|
-
refs = void 0,
|
|
51334
|
-
defaultFocusedIndex
|
|
51335
|
-
}) => {
|
|
52467
|
+
function FocusManager({ children, refs = void 0, defaultFocusedIndex }) {
|
|
51336
52468
|
const [focusedIndex, setFocusedIndex] = React.useState(defaultFocusedIndex ?? 0);
|
|
51337
52469
|
const prevFocusedIndex = React.useRef(focusedIndex);
|
|
51338
52470
|
const focusPrevious = () => {
|
|
@@ -51367,8 +52499,8 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
51367
52499
|
setFocusedIndex,
|
|
51368
52500
|
handleArrowNavigation
|
|
51369
52501
|
}) });
|
|
51370
|
-
}
|
|
51371
|
-
|
|
52502
|
+
}
|
|
52503
|
+
function Switcher({ variant: variant2, selected, onChange, ...rest }) {
|
|
51372
52504
|
const componentVariant = useComponentVariant(variant2);
|
|
51373
52505
|
const optionRefs = [];
|
|
51374
52506
|
const isSelected = (value, index2) => {
|
|
@@ -51402,7 +52534,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
51402
52534
|
});
|
|
51403
52535
|
};
|
|
51404
52536
|
return /* @__PURE__ */ jsxRuntime.jsx(Box, { display: "inline-flex", bg: "whiteGrey", borderRadius: "9999px", ...rest, children: /* @__PURE__ */ jsxRuntime.jsx(FocusManager, { refs: optionRefs, defaultFocusedIndex: getSelectedIndex(), children: ({ focusedIndex, setFocusedIndex, handleArrowNavigation }) => options2(focusedIndex, setFocusedIndex, handleArrowNavigation) }) });
|
|
51405
|
-
}
|
|
52537
|
+
}
|
|
51406
52538
|
const Switch$1 = React.forwardRef(({ children, ...rest }, ref) => {
|
|
51407
52539
|
return /* @__PURE__ */ jsxRuntime.jsx(SwitchButton, { ...rest, ref, children });
|
|
51408
52540
|
});
|
|
@@ -51574,14 +52706,14 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
51574
52706
|
opacity: ".5"
|
|
51575
52707
|
}
|
|
51576
52708
|
}));
|
|
51577
|
-
|
|
52709
|
+
function TabScrollIndicator({
|
|
51578
52710
|
side = "left",
|
|
51579
52711
|
width: width2 = 40,
|
|
51580
52712
|
ariaLabelLeft,
|
|
51581
52713
|
ariaLabelRight,
|
|
51582
52714
|
onClick,
|
|
51583
52715
|
...props
|
|
51584
|
-
})
|
|
52716
|
+
}) {
|
|
51585
52717
|
const { t: t2 } = useTranslation();
|
|
51586
52718
|
const rightArrowLabel = ariaLabelRight || t2("next");
|
|
51587
52719
|
const leftArrowLabel = ariaLabelLeft || t2("previous");
|
|
@@ -51601,7 +52733,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
51601
52733
|
children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { icon: side === "right" ? "rightArrow" : "leftArrow" })
|
|
51602
52734
|
}
|
|
51603
52735
|
);
|
|
51604
|
-
}
|
|
52736
|
+
}
|
|
51605
52737
|
const TabScrollIndicatorContainer = styledComponents.styled.div(({ width: width2, theme }) => ({
|
|
51606
52738
|
position: "absolute",
|
|
51607
52739
|
width: width2,
|
|
@@ -51799,7 +52931,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
51799
52931
|
}
|
|
51800
52932
|
render() {
|
|
51801
52933
|
const { className } = this.props;
|
|
51802
|
-
const spaceProps = getSubset(this.props, propTypes$
|
|
52934
|
+
const spaceProps = getSubset(this.props, propTypes$2.space);
|
|
51803
52935
|
return /* @__PURE__ */ jsxRuntime.jsxs(Box, { position: "relative", children: [
|
|
51804
52936
|
/* @__PURE__ */ jsxRuntime.jsx(FocusManager, { refs: this.tabRefs, defaultFocusedIndex: this.getSelectedIndex(), children: ({ focusedIndex, setFocusedIndex, handleArrowNavigation }) => /* @__PURE__ */ jsxRuntime.jsx(TabScrollIndicators, { tabRefs: this.tabRefs, tabContainerRef: this.tabContainerRef, children: ({ handleScroll: handleScroll2, handleResize }) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
51805
52937
|
TabContainer,
|
|
@@ -51832,7 +52964,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
51832
52964
|
};
|
|
51833
52965
|
const textareaStyles = (theme) => ({
|
|
51834
52966
|
disabled: {
|
|
51835
|
-
color: curriedTransparentize(0.33, theme.colors.black),
|
|
52967
|
+
color: curriedTransparentize$1(0.33, theme.colors.black),
|
|
51836
52968
|
borderColor: theme.colors.lightGrey,
|
|
51837
52969
|
backgroundColor: theme.colors.whiteGrey
|
|
51838
52970
|
},
|
|
@@ -51874,7 +53006,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
51874
53006
|
boxShadow: theme.shadows.focus
|
|
51875
53007
|
},
|
|
51876
53008
|
"::placeholder": {
|
|
51877
|
-
color: curriedTransparentize(0.4, theme.colors.black)
|
|
53009
|
+
color: curriedTransparentize$1(0.4, theme.colors.black)
|
|
51878
53010
|
},
|
|
51879
53011
|
padding: `${subPx(theme.space.x1)}`
|
|
51880
53012
|
}),
|
|
@@ -51906,8 +53038,8 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
51906
53038
|
...props
|
|
51907
53039
|
}, ref) => {
|
|
51908
53040
|
const componentVariant = useComponentVariant(variant2);
|
|
51909
|
-
const spaceProps = getSubset(props, propTypes$
|
|
51910
|
-
const restProps = omitSubset(props, propTypes$
|
|
53041
|
+
const spaceProps = getSubset(props, propTypes$2.space);
|
|
53042
|
+
const restProps = omitSubset(props, propTypes$2.space);
|
|
51911
53043
|
return /* @__PURE__ */ jsxRuntime.jsxs(Field, { className, ...spaceProps, children: [
|
|
51912
53044
|
/* @__PURE__ */ jsxRuntime.jsx(MaybeFieldLabel, { labelText, requirementText, helpText, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
51913
53045
|
StyledTextarea,
|
|
@@ -52587,12 +53719,12 @@ to {
|
|
|
52587
53719
|
}
|
|
52588
53720
|
);
|
|
52589
53721
|
};
|
|
52590
|
-
|
|
53722
|
+
function CustomToast({ isVisible, id: id2, children, ...props }) {
|
|
52591
53723
|
const handleClose = () => {
|
|
52592
53724
|
n.dismiss(id2);
|
|
52593
53725
|
};
|
|
52594
53726
|
return /* @__PURE__ */ jsxRuntime.jsx(AnimatePresence, { children: isVisible && /* @__PURE__ */ jsxRuntime.jsx(AnimatedBox, { role: "alert", ...toastAnimationConfig, children: /* @__PURE__ */ jsxRuntime.jsx(Alert$1, { controlled: true, onClose: handleClose, ...props, children }) }, "notification") });
|
|
52595
|
-
}
|
|
53727
|
+
}
|
|
52596
53728
|
const toast = {
|
|
52597
53729
|
danger: (children, props = {}, options2 = {}) => n.custom(
|
|
52598
53730
|
(t2) => /* @__PURE__ */ jsxRuntime.jsx(CustomToast, { id: t2.id, isVisible: t2.visible, type: "danger", ...props, children }),
|
|
@@ -52642,7 +53774,7 @@ to {
|
|
|
52642
53774
|
}
|
|
52643
53775
|
);
|
|
52644
53776
|
}
|
|
52645
|
-
|
|
53777
|
+
function Slider({ disabled, children }) {
|
|
52646
53778
|
const theme = styledComponents.useTheme();
|
|
52647
53779
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
52648
53780
|
motion.div,
|
|
@@ -52671,7 +53803,7 @@ to {
|
|
|
52671
53803
|
children
|
|
52672
53804
|
}
|
|
52673
53805
|
);
|
|
52674
|
-
}
|
|
53806
|
+
}
|
|
52675
53807
|
const ToggleInput = styledComponents.styled.input(({ disabled, theme }) => ({
|
|
52676
53808
|
width: "1px",
|
|
52677
53809
|
height: "1px",
|
|
@@ -52725,8 +53857,8 @@ to {
|
|
|
52725
53857
|
...props
|
|
52726
53858
|
}, ref) => {
|
|
52727
53859
|
const componentVariant = useComponentVariant(variant2);
|
|
52728
|
-
const spaceProps = getSubset(props, propTypes$
|
|
52729
|
-
const restProps = omitSubset(props, propTypes$
|
|
53860
|
+
const spaceProps = getSubset(props, propTypes$2.space);
|
|
53861
|
+
const restProps = omitSubset(props, propTypes$2.space);
|
|
52730
53862
|
React.useEffect(() => {
|
|
52731
53863
|
if (defaultToggled) {
|
|
52732
53864
|
console.warn("defaultToggled is deprecated. Use checked instead.");
|
|
@@ -52817,7 +53949,7 @@ to {
|
|
|
52817
53949
|
borderBottomWidth: "1px",
|
|
52818
53950
|
borderBottomStyle: "solid",
|
|
52819
53951
|
borderBottomColor: theme.colors.lightGrey,
|
|
52820
|
-
background: curriedTransparentize(0.4, theme.colors.white),
|
|
53952
|
+
background: curriedTransparentize$1(0.4, theme.colors.white),
|
|
52821
53953
|
backdropFilter: "blur(8px)",
|
|
52822
53954
|
width: "100dvw"
|
|
52823
53955
|
}));
|
|
@@ -52895,10 +54027,10 @@ to {
|
|
|
52895
54027
|
display: "flex",
|
|
52896
54028
|
alignItems: "flex-start",
|
|
52897
54029
|
justifyContent: "flex-end",
|
|
52898
|
-
backgroundColor: curriedTransparentize(0.85, theme.colors.white)
|
|
54030
|
+
backgroundColor: curriedTransparentize$1(0.85, theme.colors.white)
|
|
52899
54031
|
}));
|
|
52900
54032
|
const TileLink = styledComponents.styled.a(({ theme }) => ({
|
|
52901
|
-
backgroundColor: curriedTransparentize(0.15)(theme.colors.blackBlue),
|
|
54033
|
+
backgroundColor: curriedTransparentize$1(0.15)(theme.colors.blackBlue),
|
|
52902
54034
|
borderRadius: theme.radii.large,
|
|
52903
54035
|
display: "flex",
|
|
52904
54036
|
height: "100%",
|