@nulogy/components 15.4.1 → 16.0.1
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 +1824 -680
- package/dist/main.js.map +1 -1
- package/dist/main.module.js +1823 -679
- 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 +3 -3
- package/dist/src/BottomSheet/BottomSheet.parts.js +6 -5
- package/dist/src/BottomSheet/BottomSheet.styled.d.ts +4 -4
- package/dist/src/BottomSheet/BottomSheet.styled.js +1 -1
- 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.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.js +6 -9
- package/dist/src/BrandedNavBar/MenuTrigger.d.ts +1 -1
- package/dist/src/BrandedNavBar/MenuTrigger.js +12 -14
- package/dist/src/BrandedNavBar/MenuTriggerButton.js +7 -8
- package/dist/src/BrandedNavBar/MobileMenu.d.ts +2 -2
- package/dist/src/BrandedNavBar/MobileMenu.js +8 -26
- package/dist/src/BrandedNavBar/NavBar.d.ts +1 -1
- package/dist/src/BrandedNavBar/NavBar.js +6 -16
- 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 -36
- 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 -19
- 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/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/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/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 +1 -1
- 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 +17 -45
- 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/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.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.js +5 -10
- package/dist/src/Modal/Modal.story.js +10 -40
- 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.js +2 -1
- package/dist/src/Navigation/components/AppSwitcher/parts/Link.js +2 -2
- 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 +1 -1
- 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/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/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 +1 -1
- 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/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/NavigationMenuItem.js +14 -19
- 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 -27
- package/dist/src/Radio/Radio.js +3 -9
- 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 -11
- 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.js +2 -3
- package/dist/src/Summary/Summary.story.d.ts +2 -3
- package/dist/src/Summary/Summary.story.js +3 -11
- package/dist/src/Summary/SummaryContext.js +4 -3
- package/dist/src/Summary/SummaryDivider.d.ts +1 -2
- package/dist/src/Summary/SummaryDivider.js +2 -2
- package/dist/src/Summary/SummaryItem.js +2 -4
- package/dist/src/Switcher/Switch.js +2 -1
- package/dist/src/Switcher/Switcher.js +2 -2
- 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.js +2 -3
- 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 -11
- package/dist/src/Tabs/Tabs.story.js +11 -65
- 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.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/TimeRange/TimeRange.d.ts +7 -3
- package/dist/src/TimeRange/TimeRange.js +7 -6
- 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 -5
- package/dist/src/Toast/Toast.story.d.ts +7 -8
- package/dist/src/Toast/Toast.story.js +18 -41
- 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 +6 -7
- package/dist/src/Toggle/Toggle.js +2 -7
- 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 +5 -6
- 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/components/BackLink.d.ts +2 -2
- 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 +2 -2
- 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 -2
- 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/PopperArrow.js +3 -3
- package/dist/src/utils/ScrollIndicators.d.ts +1 -1
- package/dist/src/utils/ScrollIndicators.js +7 -13
- package/dist/src/utils/noop.js +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 +1 -1
- package/dist/src/utils/story/resizable.js +5 -8
- package/dist/src/utils/ts/FocusManager.d.ts +2 -2
- package/dist/src/utils/ts/FocusManager.js +7 -6
- package/dist/src/utils/useScrollLock.js +0 -1
- 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 +30 -26
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() {
|
|
@@ -8246,7 +8246,7 @@
|
|
|
8246
8246
|
}
|
|
8247
8247
|
}
|
|
8248
8248
|
const getThemeColor = (color2, theme) => theme.colors[color2] ? theme.colors[color2] : color2;
|
|
8249
|
-
const positionArrow = (placement
|
|
8249
|
+
const positionArrow = (placement) => {
|
|
8250
8250
|
const location = String(placement).split("-")[0];
|
|
8251
8251
|
switch (location) {
|
|
8252
8252
|
case "top":
|
|
@@ -8379,7 +8379,7 @@
|
|
|
8379
8379
|
({ placement = "bottom", borderColor: borderColor2 = "grey", backgroundColor = "white", theme }) => ({
|
|
8380
8380
|
...drawArrow(placement, borderColor2, backgroundColor, theme)
|
|
8381
8381
|
}),
|
|
8382
|
-
({ placement = "bottom"
|
|
8382
|
+
({ placement = "bottom" }) => ({
|
|
8383
8383
|
...positionArrow(placement)
|
|
8384
8384
|
})
|
|
8385
8385
|
);
|
|
@@ -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}`,
|
|
@@ -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];
|
|
@@ -23670,7 +23778,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
23670
23778
|
}),
|
|
23671
23779
|
compose(...styleFns)
|
|
23672
23780
|
);
|
|
23673
|
-
const ContentContainer = styledComponents.styled.div((
|
|
23781
|
+
const ContentContainer = styledComponents.styled.div(() => ({
|
|
23674
23782
|
overflowY: "auto",
|
|
23675
23783
|
flex: 1,
|
|
23676
23784
|
WebkitOverflowScrolling: "touch",
|
|
@@ -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);
|
|
@@ -26465,46 +26549,52 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
26465
26549
|
}
|
|
26466
26550
|
}
|
|
26467
26551
|
) }),
|
|
26468
|
-
isOpen && /* @__PURE__ */ jsxRuntime.jsx(Popper$2, { placement, modifiers: modifiers2, children: (popperProps) =>
|
|
26469
|
-
|
|
26470
|
-
{
|
|
26471
|
-
|
|
26472
|
-
|
|
26473
|
-
|
|
26474
|
-
|
|
26475
|
-
|
|
26476
|
-
|
|
26477
|
-
|
|
26478
|
-
|
|
26479
|
-
|
|
26480
|
-
|
|
26481
|
-
|
|
26482
|
-
|
|
26483
|
-
|
|
26484
|
-
},
|
|
26485
|
-
...dropdownMenuContainerEventHandlers({
|
|
26486
|
-
openMenu,
|
|
26487
|
-
closeMenu
|
|
26488
|
-
}),
|
|
26489
|
-
children: [
|
|
26490
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
26491
|
-
PopperArrow,
|
|
26492
|
-
{
|
|
26493
|
-
...popperProps.arrowProps,
|
|
26494
|
-
placement,
|
|
26495
|
-
ref: popperProps.arrowProps.ref,
|
|
26496
|
-
backgroundColor: "white",
|
|
26497
|
-
borderColor: "white"
|
|
26552
|
+
isOpen && /* @__PURE__ */ jsxRuntime.jsx(Popper$2, { placement, modifiers: modifiers2, children: (popperProps) => {
|
|
26553
|
+
const { ref: popperRef, style, placement: popperPlacement } = popperProps;
|
|
26554
|
+
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
26555
|
+
DropdownMenuContainer,
|
|
26556
|
+
{
|
|
26557
|
+
dataPlacement: popperPlacement,
|
|
26558
|
+
style,
|
|
26559
|
+
placement,
|
|
26560
|
+
showArrow,
|
|
26561
|
+
...this.menuEventHandlers(),
|
|
26562
|
+
...{
|
|
26563
|
+
ref: (node2) => {
|
|
26564
|
+
if (typeof popperRef === "function") {
|
|
26565
|
+
popperRef(node2);
|
|
26566
|
+
}
|
|
26567
|
+
this.setMenuRef(node2);
|
|
26498
26568
|
}
|
|
26499
|
-
|
|
26500
|
-
|
|
26501
|
-
|
|
26502
|
-
|
|
26503
|
-
|
|
26504
|
-
|
|
26505
|
-
|
|
26506
|
-
|
|
26507
|
-
|
|
26569
|
+
},
|
|
26570
|
+
onMouseDown: (e2) => {
|
|
26571
|
+
e2.preventDefault();
|
|
26572
|
+
e2.target.focus();
|
|
26573
|
+
},
|
|
26574
|
+
...dropdownMenuContainerEventHandlers({
|
|
26575
|
+
openMenu,
|
|
26576
|
+
closeMenu
|
|
26577
|
+
}),
|
|
26578
|
+
children: [
|
|
26579
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
26580
|
+
PopperArrow,
|
|
26581
|
+
{
|
|
26582
|
+
...popperProps.arrowProps,
|
|
26583
|
+
placement,
|
|
26584
|
+
ref: popperProps.arrowProps.ref,
|
|
26585
|
+
backgroundColor: "white",
|
|
26586
|
+
borderColor: "white"
|
|
26587
|
+
}
|
|
26588
|
+
),
|
|
26589
|
+
/* @__PURE__ */ jsxRuntime.jsx(DetectOutsideClick, { onClick: this.handleOutsideClick, clickRef: [this.menuRef, this.triggerRef] }),
|
|
26590
|
+
childrenFnc({
|
|
26591
|
+
closeMenu,
|
|
26592
|
+
openMenu
|
|
26593
|
+
})
|
|
26594
|
+
]
|
|
26595
|
+
}
|
|
26596
|
+
) });
|
|
26597
|
+
} })
|
|
26508
26598
|
] });
|
|
26509
26599
|
}
|
|
26510
26600
|
}
|
|
@@ -26615,7 +26705,6 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
26615
26705
|
}
|
|
26616
26706
|
});
|
|
26617
26707
|
return React.cloneElement(transformedElement, {
|
|
26618
|
-
// eslint-disable-next-line react/no-array-index-key
|
|
26619
26708
|
key: i2
|
|
26620
26709
|
});
|
|
26621
26710
|
});
|
|
@@ -26695,8 +26784,8 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
26695
26784
|
openOnHover = false,
|
|
26696
26785
|
...props
|
|
26697
26786
|
}, ref) => {
|
|
26698
|
-
const spaceProps = getSubset(props, propTypes$
|
|
26699
|
-
const restProps = omitSubset(props, propTypes$
|
|
26787
|
+
const spaceProps = getSubset(props, propTypes$2.space);
|
|
26788
|
+
const restProps = omitSubset(props, propTypes$2.space);
|
|
26700
26789
|
const modifiers2 = React.useMemo(() => {
|
|
26701
26790
|
return transformPropsToModifiers({ boundariesElement });
|
|
26702
26791
|
}, [boundariesElement]);
|
|
@@ -27074,52 +27163,49 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
27074
27163
|
name,
|
|
27075
27164
|
"aria-label": ariaLabel
|
|
27076
27165
|
};
|
|
27077
|
-
return (
|
|
27078
|
-
|
|
27079
|
-
|
|
27080
|
-
|
|
27081
|
-
|
|
27082
|
-
|
|
27083
|
-
|
|
27084
|
-
|
|
27085
|
-
|
|
27086
|
-
|
|
27087
|
-
enabled: true,
|
|
27088
|
-
fn: setDropdownMinWidth
|
|
27089
|
-
},
|
|
27090
|
-
preventOverflow: {
|
|
27091
|
-
enabled: true,
|
|
27092
|
-
padding: 8,
|
|
27093
|
-
boundariesElement: "viewport"
|
|
27094
|
-
}
|
|
27095
|
-
},
|
|
27096
|
-
trigger: () => {
|
|
27097
|
-
const defaultRender = () => /* @__PURE__ */ jsxRuntime.jsx(MenuTriggerButton, { ...triggerProps });
|
|
27098
|
-
return trigger ? trigger({ size: "medium", defaultRender, layer }) : defaultRender();
|
|
27166
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
27167
|
+
NavBarDropdownMenu,
|
|
27168
|
+
{
|
|
27169
|
+
...props,
|
|
27170
|
+
placement: "bottom-start",
|
|
27171
|
+
modifiers: {
|
|
27172
|
+
flip: { behavior: ["bottom"] },
|
|
27173
|
+
setPopperWidth: {
|
|
27174
|
+
enabled: true,
|
|
27175
|
+
fn: setDropdownMinWidth
|
|
27099
27176
|
},
|
|
27100
|
-
|
|
27101
|
-
|
|
27102
|
-
|
|
27103
|
-
|
|
27104
|
-
|
|
27105
|
-
|
|
27106
|
-
|
|
27107
|
-
|
|
27177
|
+
preventOverflow: {
|
|
27178
|
+
enabled: true,
|
|
27179
|
+
padding: 8,
|
|
27180
|
+
boundariesElement: "viewport"
|
|
27181
|
+
}
|
|
27182
|
+
},
|
|
27183
|
+
trigger: () => {
|
|
27184
|
+
const defaultRender = () => /* @__PURE__ */ jsxRuntime.jsx(MenuTriggerButton, { ...triggerProps });
|
|
27185
|
+
return trigger ? trigger({ size: "medium", defaultRender, layer }) : defaultRender();
|
|
27186
|
+
},
|
|
27187
|
+
children: ({ closeMenu }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
27188
|
+
"ul",
|
|
27189
|
+
{
|
|
27190
|
+
style: {
|
|
27191
|
+
listStyle: "none",
|
|
27192
|
+
margin: "0",
|
|
27193
|
+
padding: "0",
|
|
27194
|
+
minWidth: dropdownMinWidth
|
|
27195
|
+
},
|
|
27196
|
+
children: renderSubMenuItems(
|
|
27197
|
+
menuData,
|
|
27198
|
+
(e2) => {
|
|
27199
|
+
closeMenu(e2);
|
|
27200
|
+
e2.stopPropagation();
|
|
27108
27201
|
},
|
|
27109
|
-
|
|
27110
|
-
|
|
27111
|
-
|
|
27112
|
-
|
|
27113
|
-
|
|
27114
|
-
|
|
27115
|
-
|
|
27116
|
-
layer + 1,
|
|
27117
|
-
menuType
|
|
27118
|
-
)
|
|
27119
|
-
}
|
|
27120
|
-
)
|
|
27121
|
-
}
|
|
27122
|
-
)
|
|
27202
|
+
SubMenuTrigger,
|
|
27203
|
+
layer + 1,
|
|
27204
|
+
menuType
|
|
27205
|
+
)
|
|
27206
|
+
}
|
|
27207
|
+
)
|
|
27208
|
+
}
|
|
27123
27209
|
);
|
|
27124
27210
|
};
|
|
27125
27211
|
const getSharedStyles$1 = (color2, theme) => {
|
|
@@ -27646,9 +27732,9 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
27646
27732
|
prefixAlignment: "left"
|
|
27647
27733
|
};
|
|
27648
27734
|
const Input = React.forwardRef(({ errorMessage, errorList, className, ...props }, ref) => {
|
|
27649
|
-
const spaceProps = getSubset(props, propTypes$
|
|
27650
|
-
const layoutProps = getSubset(props, propTypes$
|
|
27651
|
-
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);
|
|
27652
27738
|
return /* @__PURE__ */ jsxRuntime.jsxs(Field, { className, ...spaceProps, ...layoutProps, children: [
|
|
27653
27739
|
/* @__PURE__ */ jsxRuntime.jsx(InputField, { ...restProps, error: !!(errorMessage || errorList), ref }),
|
|
27654
27740
|
/* @__PURE__ */ jsxRuntime.jsx(InlineValidation, { mt: "x1", errorMessage, errorList })
|
|
@@ -27680,7 +27766,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
27680
27766
|
minWidth: theme.space.x5,
|
|
27681
27767
|
"&:focus": {
|
|
27682
27768
|
color: theme.colors.white,
|
|
27683
|
-
background: curriedDarken(0.1, theme.colors.blue),
|
|
27769
|
+
background: curriedDarken$1(0.1, theme.colors.blue),
|
|
27684
27770
|
border: `solid 1px ${theme.colors.lightBlue}`,
|
|
27685
27771
|
outline: "none",
|
|
27686
27772
|
boxShadow: "none"
|
|
@@ -27700,7 +27786,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
27700
27786
|
boxShadow: "none"
|
|
27701
27787
|
},
|
|
27702
27788
|
"::placeholder": {
|
|
27703
|
-
color: curriedTransparentize(0.4, theme.colors.black)
|
|
27789
|
+
color: curriedTransparentize$1(0.4, theme.colors.black)
|
|
27704
27790
|
},
|
|
27705
27791
|
"&[type='search']": {
|
|
27706
27792
|
"-webkit-appearance": "textfield",
|
|
@@ -27819,7 +27905,6 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
27819
27905
|
href: menuItem.href,
|
|
27820
27906
|
as: menuItem.as,
|
|
27821
27907
|
to: menuItem.to,
|
|
27822
|
-
// eslint-disable-next-line no-mixed-operators
|
|
27823
27908
|
pl: layer === 0 ? getPaddingLeft(layer) : `${24 * layer + 20}px`,
|
|
27824
27909
|
mb: "x1",
|
|
27825
27910
|
target: menuItem.openInNew ? "_blank" : void 0
|
|
@@ -28345,8 +28430,8 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28345
28430
|
const Checkbox = React.forwardRef((props, ref) => {
|
|
28346
28431
|
const { variant: variant2, className, labelText, disabled, checked, required, error, indeterminate } = props;
|
|
28347
28432
|
const componentVariant = useComponentVariant(variant2);
|
|
28348
|
-
const spaceProps = getSubset(props, propTypes$
|
|
28349
|
-
const restProps = omitSubset(props, propTypes$
|
|
28433
|
+
const spaceProps = getSubset(props, propTypes$2.space);
|
|
28434
|
+
const restProps = omitSubset(props, propTypes$2.space);
|
|
28350
28435
|
return /* @__PURE__ */ jsxRuntime.jsx(Box, { className, px: "0", ...spaceProps, children: /* @__PURE__ */ jsxRuntime.jsxs(ClickInputLabel, { variant: componentVariant, disabled, children: [
|
|
28351
28436
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
28352
28437
|
CheckboxInput,
|
|
@@ -28562,7 +28647,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28562
28647
|
date.setHours(23, 59, 59, 999);
|
|
28563
28648
|
return date;
|
|
28564
28649
|
}
|
|
28565
|
-
var formatDistanceLocale$
|
|
28650
|
+
var formatDistanceLocale$a = {
|
|
28566
28651
|
lessThanXSeconds: {
|
|
28567
28652
|
one: "less than a second",
|
|
28568
28653
|
other: "less than {{count}} seconds"
|
|
@@ -28625,15 +28710,15 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28625
28710
|
other: "almost {{count}} years"
|
|
28626
28711
|
}
|
|
28627
28712
|
};
|
|
28628
|
-
function formatDistance$
|
|
28713
|
+
function formatDistance$a(token2, count, options2) {
|
|
28629
28714
|
options2 = options2 || {};
|
|
28630
28715
|
var result;
|
|
28631
|
-
if (typeof formatDistanceLocale$
|
|
28632
|
-
result = formatDistanceLocale$
|
|
28716
|
+
if (typeof formatDistanceLocale$a[token2] === "string") {
|
|
28717
|
+
result = formatDistanceLocale$a[token2];
|
|
28633
28718
|
} else if (count === 1) {
|
|
28634
|
-
result = formatDistanceLocale$
|
|
28719
|
+
result = formatDistanceLocale$a[token2].one;
|
|
28635
28720
|
} else {
|
|
28636
|
-
result = formatDistanceLocale$
|
|
28721
|
+
result = formatDistanceLocale$a[token2].other.replace("{{count}}", count);
|
|
28637
28722
|
}
|
|
28638
28723
|
if (options2.addSuffix) {
|
|
28639
28724
|
if (options2.comparison > 0) {
|
|
@@ -28652,39 +28737,39 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28652
28737
|
return format2;
|
|
28653
28738
|
};
|
|
28654
28739
|
}
|
|
28655
|
-
var dateFormats$
|
|
28740
|
+
var dateFormats$a = {
|
|
28656
28741
|
full: "EEEE, MMMM do, y",
|
|
28657
28742
|
long: "MMMM do, y",
|
|
28658
28743
|
medium: "MMM d, y",
|
|
28659
28744
|
short: "MM/dd/yyyy"
|
|
28660
28745
|
};
|
|
28661
|
-
var timeFormats$
|
|
28746
|
+
var timeFormats$a = {
|
|
28662
28747
|
full: "h:mm:ss a zzzz",
|
|
28663
28748
|
long: "h:mm:ss a z",
|
|
28664
28749
|
medium: "h:mm:ss a",
|
|
28665
28750
|
short: "h:mm a"
|
|
28666
28751
|
};
|
|
28667
|
-
var dateTimeFormats$
|
|
28752
|
+
var dateTimeFormats$a = {
|
|
28668
28753
|
full: "{{date}} 'at' {{time}}",
|
|
28669
28754
|
long: "{{date}} 'at' {{time}}",
|
|
28670
28755
|
medium: "{{date}}, {{time}}",
|
|
28671
28756
|
short: "{{date}}, {{time}}"
|
|
28672
28757
|
};
|
|
28673
|
-
var formatLong$
|
|
28758
|
+
var formatLong$a = {
|
|
28674
28759
|
date: buildFormatLongFn$1({
|
|
28675
|
-
formats: dateFormats$
|
|
28760
|
+
formats: dateFormats$a,
|
|
28676
28761
|
defaultWidth: "full"
|
|
28677
28762
|
}),
|
|
28678
28763
|
time: buildFormatLongFn$1({
|
|
28679
|
-
formats: timeFormats$
|
|
28764
|
+
formats: timeFormats$a,
|
|
28680
28765
|
defaultWidth: "full"
|
|
28681
28766
|
}),
|
|
28682
28767
|
dateTime: buildFormatLongFn$1({
|
|
28683
|
-
formats: dateTimeFormats$
|
|
28768
|
+
formats: dateTimeFormats$a,
|
|
28684
28769
|
defaultWidth: "full"
|
|
28685
28770
|
})
|
|
28686
28771
|
};
|
|
28687
|
-
var formatRelativeLocale$
|
|
28772
|
+
var formatRelativeLocale$a = {
|
|
28688
28773
|
lastWeek: "'last' eeee 'at' p",
|
|
28689
28774
|
yesterday: "'yesterday at' p",
|
|
28690
28775
|
today: "'today at' p",
|
|
@@ -28692,8 +28777,8 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28692
28777
|
nextWeek: "eeee 'at' p",
|
|
28693
28778
|
other: "P"
|
|
28694
28779
|
};
|
|
28695
|
-
function formatRelative$
|
|
28696
|
-
return formatRelativeLocale$
|
|
28780
|
+
function formatRelative$a(token2, _date, _baseDate, _options) {
|
|
28781
|
+
return formatRelativeLocale$a[token2];
|
|
28697
28782
|
}
|
|
28698
28783
|
function buildLocalizeFn$1(args) {
|
|
28699
28784
|
return function(dirtyIndex, dirtyOptions) {
|
|
@@ -28713,28 +28798,28 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28713
28798
|
return valuesArray[index2];
|
|
28714
28799
|
};
|
|
28715
28800
|
}
|
|
28716
|
-
var eraValues$
|
|
28801
|
+
var eraValues$a = {
|
|
28717
28802
|
narrow: ["B", "A"],
|
|
28718
28803
|
abbreviated: ["BC", "AD"],
|
|
28719
28804
|
wide: ["Before Christ", "Anno Domini"]
|
|
28720
28805
|
};
|
|
28721
|
-
var quarterValues$
|
|
28806
|
+
var quarterValues$a = {
|
|
28722
28807
|
narrow: ["1", "2", "3", "4"],
|
|
28723
28808
|
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
28724
28809
|
wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
|
|
28725
28810
|
};
|
|
28726
|
-
var monthValues$
|
|
28811
|
+
var monthValues$a = {
|
|
28727
28812
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
28728
28813
|
abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
|
28729
28814
|
wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
|
|
28730
28815
|
};
|
|
28731
|
-
var dayValues$
|
|
28816
|
+
var dayValues$a = {
|
|
28732
28817
|
narrow: ["S", "M", "T", "W", "T", "F", "S"],
|
|
28733
28818
|
short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
28734
28819
|
abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
28735
28820
|
wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
|
|
28736
28821
|
};
|
|
28737
|
-
var dayPeriodValues$
|
|
28822
|
+
var dayPeriodValues$a = {
|
|
28738
28823
|
narrow: {
|
|
28739
28824
|
am: "a",
|
|
28740
28825
|
pm: "p",
|
|
@@ -28766,7 +28851,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28766
28851
|
night: "night"
|
|
28767
28852
|
}
|
|
28768
28853
|
};
|
|
28769
|
-
var formattingDayPeriodValues$
|
|
28854
|
+
var formattingDayPeriodValues$7 = {
|
|
28770
28855
|
narrow: {
|
|
28771
28856
|
am: "a",
|
|
28772
28857
|
pm: "p",
|
|
@@ -28798,7 +28883,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28798
28883
|
night: "at night"
|
|
28799
28884
|
}
|
|
28800
28885
|
};
|
|
28801
|
-
function ordinalNumber$
|
|
28886
|
+
function ordinalNumber$a(dirtyNumber, _dirtyOptions) {
|
|
28802
28887
|
var number2 = Number(dirtyNumber);
|
|
28803
28888
|
var rem100 = number2 % 100;
|
|
28804
28889
|
if (rem100 > 20 || rem100 < 10) {
|
|
@@ -28813,31 +28898,31 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28813
28898
|
}
|
|
28814
28899
|
return number2 + "th";
|
|
28815
28900
|
}
|
|
28816
|
-
var localize$
|
|
28817
|
-
ordinalNumber: ordinalNumber$
|
|
28901
|
+
var localize$a = {
|
|
28902
|
+
ordinalNumber: ordinalNumber$a,
|
|
28818
28903
|
era: buildLocalizeFn$1({
|
|
28819
|
-
values: eraValues$
|
|
28904
|
+
values: eraValues$a,
|
|
28820
28905
|
defaultWidth: "wide"
|
|
28821
28906
|
}),
|
|
28822
28907
|
quarter: buildLocalizeFn$1({
|
|
28823
|
-
values: quarterValues$
|
|
28908
|
+
values: quarterValues$a,
|
|
28824
28909
|
defaultWidth: "wide",
|
|
28825
28910
|
argumentCallback: function(quarter) {
|
|
28826
28911
|
return Number(quarter) - 1;
|
|
28827
28912
|
}
|
|
28828
28913
|
}),
|
|
28829
28914
|
month: buildLocalizeFn$1({
|
|
28830
|
-
values: monthValues$
|
|
28915
|
+
values: monthValues$a,
|
|
28831
28916
|
defaultWidth: "wide"
|
|
28832
28917
|
}),
|
|
28833
28918
|
day: buildLocalizeFn$1({
|
|
28834
|
-
values: dayValues$
|
|
28919
|
+
values: dayValues$a,
|
|
28835
28920
|
defaultWidth: "wide"
|
|
28836
28921
|
}),
|
|
28837
28922
|
dayPeriod: buildLocalizeFn$1({
|
|
28838
|
-
values: dayPeriodValues$
|
|
28923
|
+
values: dayPeriodValues$a,
|
|
28839
28924
|
defaultWidth: "wide",
|
|
28840
|
-
formattingValues: formattingDayPeriodValues$
|
|
28925
|
+
formattingValues: formattingDayPeriodValues$7,
|
|
28841
28926
|
defaultFormattingWidth: "wide"
|
|
28842
28927
|
})
|
|
28843
28928
|
};
|
|
@@ -28900,48 +28985,48 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28900
28985
|
}
|
|
28901
28986
|
return void 0;
|
|
28902
28987
|
}
|
|
28903
|
-
var matchOrdinalNumberPattern$
|
|
28904
|
-
var parseOrdinalNumberPattern$
|
|
28905
|
-
var matchEraPatterns$
|
|
28988
|
+
var matchOrdinalNumberPattern$a = /^(\d+)(th|st|nd|rd)?/i;
|
|
28989
|
+
var parseOrdinalNumberPattern$a = /\d+/i;
|
|
28990
|
+
var matchEraPatterns$a = {
|
|
28906
28991
|
narrow: /^(b|a)/i,
|
|
28907
28992
|
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
28908
28993
|
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
28909
28994
|
};
|
|
28910
|
-
var parseEraPatterns$
|
|
28995
|
+
var parseEraPatterns$a = {
|
|
28911
28996
|
any: [/^b/i, /^(a|c)/i]
|
|
28912
28997
|
};
|
|
28913
|
-
var matchQuarterPatterns$
|
|
28998
|
+
var matchQuarterPatterns$a = {
|
|
28914
28999
|
narrow: /^[1234]/i,
|
|
28915
29000
|
abbreviated: /^q[1234]/i,
|
|
28916
29001
|
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
28917
29002
|
};
|
|
28918
|
-
var parseQuarterPatterns$
|
|
29003
|
+
var parseQuarterPatterns$a = {
|
|
28919
29004
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
28920
29005
|
};
|
|
28921
|
-
var matchMonthPatterns$
|
|
29006
|
+
var matchMonthPatterns$a = {
|
|
28922
29007
|
narrow: /^[jfmasond]/i,
|
|
28923
29008
|
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
28924
29009
|
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
28925
29010
|
};
|
|
28926
|
-
var parseMonthPatterns$
|
|
29011
|
+
var parseMonthPatterns$a = {
|
|
28927
29012
|
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],
|
|
28928
29013
|
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]
|
|
28929
29014
|
};
|
|
28930
|
-
var matchDayPatterns$
|
|
29015
|
+
var matchDayPatterns$a = {
|
|
28931
29016
|
narrow: /^[smtwf]/i,
|
|
28932
29017
|
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
28933
29018
|
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
28934
29019
|
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
28935
29020
|
};
|
|
28936
|
-
var parseDayPatterns$
|
|
29021
|
+
var parseDayPatterns$a = {
|
|
28937
29022
|
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
28938
29023
|
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
28939
29024
|
};
|
|
28940
|
-
var matchDayPeriodPatterns$
|
|
29025
|
+
var matchDayPeriodPatterns$a = {
|
|
28941
29026
|
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
28942
29027
|
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
28943
29028
|
};
|
|
28944
|
-
var parseDayPeriodPatterns$
|
|
29029
|
+
var parseDayPeriodPatterns$a = {
|
|
28945
29030
|
any: {
|
|
28946
29031
|
am: /^a/i,
|
|
28947
29032
|
pm: /^p/i,
|
|
@@ -28953,55 +29038,55 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
28953
29038
|
night: /night/i
|
|
28954
29039
|
}
|
|
28955
29040
|
};
|
|
28956
|
-
var match$
|
|
29041
|
+
var match$a = {
|
|
28957
29042
|
ordinalNumber: buildMatchPatternFn$1({
|
|
28958
|
-
matchPattern: matchOrdinalNumberPattern$
|
|
28959
|
-
parsePattern: parseOrdinalNumberPattern$
|
|
29043
|
+
matchPattern: matchOrdinalNumberPattern$a,
|
|
29044
|
+
parsePattern: parseOrdinalNumberPattern$a,
|
|
28960
29045
|
valueCallback: function(value) {
|
|
28961
29046
|
return parseInt(value, 10);
|
|
28962
29047
|
}
|
|
28963
29048
|
}),
|
|
28964
29049
|
era: buildMatchFn$1({
|
|
28965
|
-
matchPatterns: matchEraPatterns$
|
|
29050
|
+
matchPatterns: matchEraPatterns$a,
|
|
28966
29051
|
defaultMatchWidth: "wide",
|
|
28967
|
-
parsePatterns: parseEraPatterns$
|
|
29052
|
+
parsePatterns: parseEraPatterns$a,
|
|
28968
29053
|
defaultParseWidth: "any"
|
|
28969
29054
|
}),
|
|
28970
29055
|
quarter: buildMatchFn$1({
|
|
28971
|
-
matchPatterns: matchQuarterPatterns$
|
|
29056
|
+
matchPatterns: matchQuarterPatterns$a,
|
|
28972
29057
|
defaultMatchWidth: "wide",
|
|
28973
|
-
parsePatterns: parseQuarterPatterns$
|
|
29058
|
+
parsePatterns: parseQuarterPatterns$a,
|
|
28974
29059
|
defaultParseWidth: "any",
|
|
28975
29060
|
valueCallback: function(index2) {
|
|
28976
29061
|
return index2 + 1;
|
|
28977
29062
|
}
|
|
28978
29063
|
}),
|
|
28979
29064
|
month: buildMatchFn$1({
|
|
28980
|
-
matchPatterns: matchMonthPatterns$
|
|
29065
|
+
matchPatterns: matchMonthPatterns$a,
|
|
28981
29066
|
defaultMatchWidth: "wide",
|
|
28982
|
-
parsePatterns: parseMonthPatterns$
|
|
29067
|
+
parsePatterns: parseMonthPatterns$a,
|
|
28983
29068
|
defaultParseWidth: "any"
|
|
28984
29069
|
}),
|
|
28985
29070
|
day: buildMatchFn$1({
|
|
28986
|
-
matchPatterns: matchDayPatterns$
|
|
29071
|
+
matchPatterns: matchDayPatterns$a,
|
|
28987
29072
|
defaultMatchWidth: "wide",
|
|
28988
|
-
parsePatterns: parseDayPatterns$
|
|
29073
|
+
parsePatterns: parseDayPatterns$a,
|
|
28989
29074
|
defaultParseWidth: "any"
|
|
28990
29075
|
}),
|
|
28991
29076
|
dayPeriod: buildMatchFn$1({
|
|
28992
|
-
matchPatterns: matchDayPeriodPatterns$
|
|
29077
|
+
matchPatterns: matchDayPeriodPatterns$a,
|
|
28993
29078
|
defaultMatchWidth: "any",
|
|
28994
|
-
parsePatterns: parseDayPeriodPatterns$
|
|
29079
|
+
parsePatterns: parseDayPeriodPatterns$a,
|
|
28995
29080
|
defaultParseWidth: "any"
|
|
28996
29081
|
})
|
|
28997
29082
|
};
|
|
28998
|
-
var locale$
|
|
29083
|
+
var locale$a = {
|
|
28999
29084
|
code: "en-US",
|
|
29000
|
-
formatDistance: formatDistance$
|
|
29001
|
-
formatLong: formatLong$
|
|
29002
|
-
formatRelative: formatRelative$
|
|
29003
|
-
localize: localize$
|
|
29004
|
-
match: match$
|
|
29085
|
+
formatDistance: formatDistance$a,
|
|
29086
|
+
formatLong: formatLong$a,
|
|
29087
|
+
formatRelative: formatRelative$a,
|
|
29088
|
+
localize: localize$a,
|
|
29089
|
+
match: match$a,
|
|
29005
29090
|
options: {
|
|
29006
29091
|
weekStartsOn: 0,
|
|
29007
29092
|
firstWeekContainsDate: 1
|
|
@@ -30007,7 +30092,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
30007
30092
|
requiredArgs$1(2, arguments);
|
|
30008
30093
|
var formatStr = String(dirtyFormatStr);
|
|
30009
30094
|
var options2 = dirtyOptions || {};
|
|
30010
|
-
var locale2 = options2.locale || locale$
|
|
30095
|
+
var locale2 = options2.locale || locale$a;
|
|
30011
30096
|
var localeFirstWeekContainsDate = locale2.options && locale2.options.firstWeekContainsDate;
|
|
30012
30097
|
var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : toInteger$1(localeFirstWeekContainsDate);
|
|
30013
30098
|
var firstWeekContainsDate = options2.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : toInteger$1(options2.firstWeekContainsDate);
|
|
@@ -31193,7 +31278,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
31193
31278
|
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"));
|
|
31194
31279
|
}
|
|
31195
31280
|
}
|
|
31196
|
-
var formatDistanceLocale$
|
|
31281
|
+
var formatDistanceLocale$9 = {
|
|
31197
31282
|
lessThanXSeconds: {
|
|
31198
31283
|
one: "less than a second",
|
|
31199
31284
|
other: "less than {{count}} seconds"
|
|
@@ -31256,9 +31341,9 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
31256
31341
|
other: "almost {{count}} years"
|
|
31257
31342
|
}
|
|
31258
31343
|
};
|
|
31259
|
-
var formatDistance$
|
|
31344
|
+
var formatDistance$9 = function formatDistance2(token2, count, options2) {
|
|
31260
31345
|
var result;
|
|
31261
|
-
var tokenValue = formatDistanceLocale$
|
|
31346
|
+
var tokenValue = formatDistanceLocale$9[token2];
|
|
31262
31347
|
if (typeof tokenValue === "string") {
|
|
31263
31348
|
result = tokenValue;
|
|
31264
31349
|
} else if (count === 1) {
|
|
@@ -31283,39 +31368,39 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
31283
31368
|
return format2;
|
|
31284
31369
|
};
|
|
31285
31370
|
}
|
|
31286
|
-
var dateFormats$
|
|
31371
|
+
var dateFormats$9 = {
|
|
31287
31372
|
full: "EEEE, MMMM do, y",
|
|
31288
31373
|
long: "MMMM do, y",
|
|
31289
31374
|
medium: "MMM d, y",
|
|
31290
31375
|
short: "MM/dd/yyyy"
|
|
31291
31376
|
};
|
|
31292
|
-
var timeFormats$
|
|
31377
|
+
var timeFormats$9 = {
|
|
31293
31378
|
full: "h:mm:ss a zzzz",
|
|
31294
31379
|
long: "h:mm:ss a z",
|
|
31295
31380
|
medium: "h:mm:ss a",
|
|
31296
31381
|
short: "h:mm a"
|
|
31297
31382
|
};
|
|
31298
|
-
var dateTimeFormats$
|
|
31383
|
+
var dateTimeFormats$9 = {
|
|
31299
31384
|
full: "{{date}} 'at' {{time}}",
|
|
31300
31385
|
long: "{{date}} 'at' {{time}}",
|
|
31301
31386
|
medium: "{{date}}, {{time}}",
|
|
31302
31387
|
short: "{{date}}, {{time}}"
|
|
31303
31388
|
};
|
|
31304
|
-
var formatLong$
|
|
31389
|
+
var formatLong$9 = {
|
|
31305
31390
|
date: buildFormatLongFn({
|
|
31306
|
-
formats: dateFormats$
|
|
31391
|
+
formats: dateFormats$9,
|
|
31307
31392
|
defaultWidth: "full"
|
|
31308
31393
|
}),
|
|
31309
31394
|
time: buildFormatLongFn({
|
|
31310
|
-
formats: timeFormats$
|
|
31395
|
+
formats: timeFormats$9,
|
|
31311
31396
|
defaultWidth: "full"
|
|
31312
31397
|
}),
|
|
31313
31398
|
dateTime: buildFormatLongFn({
|
|
31314
|
-
formats: dateTimeFormats$
|
|
31399
|
+
formats: dateTimeFormats$9,
|
|
31315
31400
|
defaultWidth: "full"
|
|
31316
31401
|
})
|
|
31317
31402
|
};
|
|
31318
|
-
var formatRelativeLocale$
|
|
31403
|
+
var formatRelativeLocale$9 = {
|
|
31319
31404
|
lastWeek: "'last' eeee 'at' p",
|
|
31320
31405
|
yesterday: "'yesterday at' p",
|
|
31321
31406
|
today: "'today at' p",
|
|
@@ -31323,8 +31408,8 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
31323
31408
|
nextWeek: "eeee 'at' p",
|
|
31324
31409
|
other: "P"
|
|
31325
31410
|
};
|
|
31326
|
-
var formatRelative$
|
|
31327
|
-
return formatRelativeLocale$
|
|
31411
|
+
var formatRelative$9 = function formatRelative2(token2, _date, _baseDate, _options) {
|
|
31412
|
+
return formatRelativeLocale$9[token2];
|
|
31328
31413
|
};
|
|
31329
31414
|
function buildLocalizeFn(args) {
|
|
31330
31415
|
return function(dirtyIndex, options2) {
|
|
@@ -31343,28 +31428,28 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
31343
31428
|
return valuesArray[index2];
|
|
31344
31429
|
};
|
|
31345
31430
|
}
|
|
31346
|
-
var eraValues$
|
|
31431
|
+
var eraValues$9 = {
|
|
31347
31432
|
narrow: ["B", "A"],
|
|
31348
31433
|
abbreviated: ["BC", "AD"],
|
|
31349
31434
|
wide: ["Before Christ", "Anno Domini"]
|
|
31350
31435
|
};
|
|
31351
|
-
var quarterValues$
|
|
31436
|
+
var quarterValues$9 = {
|
|
31352
31437
|
narrow: ["1", "2", "3", "4"],
|
|
31353
31438
|
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
31354
31439
|
wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
|
|
31355
31440
|
};
|
|
31356
|
-
var monthValues$
|
|
31441
|
+
var monthValues$9 = {
|
|
31357
31442
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
31358
31443
|
abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
|
31359
31444
|
wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
|
|
31360
31445
|
};
|
|
31361
|
-
var dayValues$
|
|
31446
|
+
var dayValues$9 = {
|
|
31362
31447
|
narrow: ["S", "M", "T", "W", "T", "F", "S"],
|
|
31363
31448
|
short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
31364
31449
|
abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
31365
31450
|
wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
|
|
31366
31451
|
};
|
|
31367
|
-
var dayPeriodValues$
|
|
31452
|
+
var dayPeriodValues$9 = {
|
|
31368
31453
|
narrow: {
|
|
31369
31454
|
am: "a",
|
|
31370
31455
|
pm: "p",
|
|
@@ -31396,7 +31481,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
31396
31481
|
night: "night"
|
|
31397
31482
|
}
|
|
31398
31483
|
};
|
|
31399
|
-
var formattingDayPeriodValues$
|
|
31484
|
+
var formattingDayPeriodValues$6 = {
|
|
31400
31485
|
narrow: {
|
|
31401
31486
|
am: "a",
|
|
31402
31487
|
pm: "p",
|
|
@@ -31428,7 +31513,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
31428
31513
|
night: "at night"
|
|
31429
31514
|
}
|
|
31430
31515
|
};
|
|
31431
|
-
var ordinalNumber$
|
|
31516
|
+
var ordinalNumber$9 = function ordinalNumber2(dirtyNumber, _options) {
|
|
31432
31517
|
var number2 = Number(dirtyNumber);
|
|
31433
31518
|
var rem100 = number2 % 100;
|
|
31434
31519
|
if (rem100 > 20 || rem100 < 10) {
|
|
@@ -31443,31 +31528,31 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
31443
31528
|
}
|
|
31444
31529
|
return number2 + "th";
|
|
31445
31530
|
};
|
|
31446
|
-
var localize$
|
|
31447
|
-
ordinalNumber: ordinalNumber$
|
|
31531
|
+
var localize$9 = {
|
|
31532
|
+
ordinalNumber: ordinalNumber$9,
|
|
31448
31533
|
era: buildLocalizeFn({
|
|
31449
|
-
values: eraValues$
|
|
31534
|
+
values: eraValues$9,
|
|
31450
31535
|
defaultWidth: "wide"
|
|
31451
31536
|
}),
|
|
31452
31537
|
quarter: buildLocalizeFn({
|
|
31453
|
-
values: quarterValues$
|
|
31538
|
+
values: quarterValues$9,
|
|
31454
31539
|
defaultWidth: "wide",
|
|
31455
31540
|
argumentCallback: function argumentCallback(quarter) {
|
|
31456
31541
|
return quarter - 1;
|
|
31457
31542
|
}
|
|
31458
31543
|
}),
|
|
31459
31544
|
month: buildLocalizeFn({
|
|
31460
|
-
values: monthValues$
|
|
31545
|
+
values: monthValues$9,
|
|
31461
31546
|
defaultWidth: "wide"
|
|
31462
31547
|
}),
|
|
31463
31548
|
day: buildLocalizeFn({
|
|
31464
|
-
values: dayValues$
|
|
31549
|
+
values: dayValues$9,
|
|
31465
31550
|
defaultWidth: "wide"
|
|
31466
31551
|
}),
|
|
31467
31552
|
dayPeriod: buildLocalizeFn({
|
|
31468
|
-
values: dayPeriodValues$
|
|
31553
|
+
values: dayPeriodValues$9,
|
|
31469
31554
|
defaultWidth: "wide",
|
|
31470
|
-
formattingValues: formattingDayPeriodValues$
|
|
31555
|
+
formattingValues: formattingDayPeriodValues$6,
|
|
31471
31556
|
defaultFormattingWidth: "wide"
|
|
31472
31557
|
})
|
|
31473
31558
|
};
|
|
@@ -31530,48 +31615,48 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
31530
31615
|
};
|
|
31531
31616
|
};
|
|
31532
31617
|
}
|
|
31533
|
-
var matchOrdinalNumberPattern$
|
|
31534
|
-
var parseOrdinalNumberPattern$
|
|
31535
|
-
var matchEraPatterns$
|
|
31618
|
+
var matchOrdinalNumberPattern$9 = /^(\d+)(th|st|nd|rd)?/i;
|
|
31619
|
+
var parseOrdinalNumberPattern$9 = /\d+/i;
|
|
31620
|
+
var matchEraPatterns$9 = {
|
|
31536
31621
|
narrow: /^(b|a)/i,
|
|
31537
31622
|
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
31538
31623
|
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
31539
31624
|
};
|
|
31540
|
-
var parseEraPatterns$
|
|
31625
|
+
var parseEraPatterns$9 = {
|
|
31541
31626
|
any: [/^b/i, /^(a|c)/i]
|
|
31542
31627
|
};
|
|
31543
|
-
var matchQuarterPatterns$
|
|
31628
|
+
var matchQuarterPatterns$9 = {
|
|
31544
31629
|
narrow: /^[1234]/i,
|
|
31545
31630
|
abbreviated: /^q[1234]/i,
|
|
31546
31631
|
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
31547
31632
|
};
|
|
31548
|
-
var parseQuarterPatterns$
|
|
31633
|
+
var parseQuarterPatterns$9 = {
|
|
31549
31634
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
31550
31635
|
};
|
|
31551
|
-
var matchMonthPatterns$
|
|
31636
|
+
var matchMonthPatterns$9 = {
|
|
31552
31637
|
narrow: /^[jfmasond]/i,
|
|
31553
31638
|
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
31554
31639
|
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
31555
31640
|
};
|
|
31556
|
-
var parseMonthPatterns$
|
|
31641
|
+
var parseMonthPatterns$9 = {
|
|
31557
31642
|
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],
|
|
31558
31643
|
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]
|
|
31559
31644
|
};
|
|
31560
|
-
var matchDayPatterns$
|
|
31645
|
+
var matchDayPatterns$9 = {
|
|
31561
31646
|
narrow: /^[smtwf]/i,
|
|
31562
31647
|
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
31563
31648
|
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
31564
31649
|
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
31565
31650
|
};
|
|
31566
|
-
var parseDayPatterns$
|
|
31651
|
+
var parseDayPatterns$9 = {
|
|
31567
31652
|
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
31568
31653
|
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
31569
31654
|
};
|
|
31570
|
-
var matchDayPeriodPatterns$
|
|
31655
|
+
var matchDayPeriodPatterns$9 = {
|
|
31571
31656
|
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
31572
31657
|
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
31573
31658
|
};
|
|
31574
|
-
var parseDayPeriodPatterns$
|
|
31659
|
+
var parseDayPeriodPatterns$9 = {
|
|
31575
31660
|
any: {
|
|
31576
31661
|
am: /^a/i,
|
|
31577
31662
|
pm: /^p/i,
|
|
@@ -31583,55 +31668,55 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
31583
31668
|
night: /night/i
|
|
31584
31669
|
}
|
|
31585
31670
|
};
|
|
31586
|
-
var match$
|
|
31671
|
+
var match$9 = {
|
|
31587
31672
|
ordinalNumber: buildMatchPatternFn({
|
|
31588
|
-
matchPattern: matchOrdinalNumberPattern$
|
|
31589
|
-
parsePattern: parseOrdinalNumberPattern$
|
|
31673
|
+
matchPattern: matchOrdinalNumberPattern$9,
|
|
31674
|
+
parsePattern: parseOrdinalNumberPattern$9,
|
|
31590
31675
|
valueCallback: function valueCallback(value) {
|
|
31591
31676
|
return parseInt(value, 10);
|
|
31592
31677
|
}
|
|
31593
31678
|
}),
|
|
31594
31679
|
era: buildMatchFn({
|
|
31595
|
-
matchPatterns: matchEraPatterns$
|
|
31680
|
+
matchPatterns: matchEraPatterns$9,
|
|
31596
31681
|
defaultMatchWidth: "wide",
|
|
31597
|
-
parsePatterns: parseEraPatterns$
|
|
31682
|
+
parsePatterns: parseEraPatterns$9,
|
|
31598
31683
|
defaultParseWidth: "any"
|
|
31599
31684
|
}),
|
|
31600
31685
|
quarter: buildMatchFn({
|
|
31601
|
-
matchPatterns: matchQuarterPatterns$
|
|
31686
|
+
matchPatterns: matchQuarterPatterns$9,
|
|
31602
31687
|
defaultMatchWidth: "wide",
|
|
31603
|
-
parsePatterns: parseQuarterPatterns$
|
|
31688
|
+
parsePatterns: parseQuarterPatterns$9,
|
|
31604
31689
|
defaultParseWidth: "any",
|
|
31605
31690
|
valueCallback: function valueCallback(index2) {
|
|
31606
31691
|
return index2 + 1;
|
|
31607
31692
|
}
|
|
31608
31693
|
}),
|
|
31609
31694
|
month: buildMatchFn({
|
|
31610
|
-
matchPatterns: matchMonthPatterns$
|
|
31695
|
+
matchPatterns: matchMonthPatterns$9,
|
|
31611
31696
|
defaultMatchWidth: "wide",
|
|
31612
|
-
parsePatterns: parseMonthPatterns$
|
|
31697
|
+
parsePatterns: parseMonthPatterns$9,
|
|
31613
31698
|
defaultParseWidth: "any"
|
|
31614
31699
|
}),
|
|
31615
31700
|
day: buildMatchFn({
|
|
31616
|
-
matchPatterns: matchDayPatterns$
|
|
31701
|
+
matchPatterns: matchDayPatterns$9,
|
|
31617
31702
|
defaultMatchWidth: "wide",
|
|
31618
|
-
parsePatterns: parseDayPatterns$
|
|
31703
|
+
parsePatterns: parseDayPatterns$9,
|
|
31619
31704
|
defaultParseWidth: "any"
|
|
31620
31705
|
}),
|
|
31621
31706
|
dayPeriod: buildMatchFn({
|
|
31622
|
-
matchPatterns: matchDayPeriodPatterns$
|
|
31707
|
+
matchPatterns: matchDayPeriodPatterns$9,
|
|
31623
31708
|
defaultMatchWidth: "any",
|
|
31624
|
-
parsePatterns: parseDayPeriodPatterns$
|
|
31709
|
+
parsePatterns: parseDayPeriodPatterns$9,
|
|
31625
31710
|
defaultParseWidth: "any"
|
|
31626
31711
|
})
|
|
31627
31712
|
};
|
|
31628
|
-
var locale$
|
|
31713
|
+
var locale$9 = {
|
|
31629
31714
|
code: "en-US",
|
|
31630
|
-
formatDistance: formatDistance$
|
|
31631
|
-
formatLong: formatLong$
|
|
31632
|
-
formatRelative: formatRelative$
|
|
31633
|
-
localize: localize$
|
|
31634
|
-
match: match$
|
|
31715
|
+
formatDistance: formatDistance$9,
|
|
31716
|
+
formatLong: formatLong$9,
|
|
31717
|
+
formatRelative: formatRelative$9,
|
|
31718
|
+
localize: localize$9,
|
|
31719
|
+
match: match$9,
|
|
31635
31720
|
options: {
|
|
31636
31721
|
weekStartsOn: 0,
|
|
31637
31722
|
firstWeekContainsDate: 1
|
|
@@ -31647,7 +31732,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
31647
31732
|
requiredArgs(2, arguments);
|
|
31648
31733
|
var formatStr = String(dirtyFormatStr);
|
|
31649
31734
|
var defaultOptions2 = getDefaultOptions();
|
|
31650
|
-
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$
|
|
31735
|
+
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;
|
|
31651
31736
|
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);
|
|
31652
31737
|
if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {
|
|
31653
31738
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
@@ -34218,7 +34303,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
34218
34303
|
var dateString = String(dirtyDateString);
|
|
34219
34304
|
var formatString = String(dirtyFormatString);
|
|
34220
34305
|
var defaultOptions2 = getDefaultOptions();
|
|
34221
|
-
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$
|
|
34306
|
+
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;
|
|
34222
34307
|
if (!locale2.match) {
|
|
34223
34308
|
throw new RangeError("locale must contain match property");
|
|
34224
34309
|
}
|
|
@@ -36722,7 +36807,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
36722
36807
|
var dateRightStartOfWeek = startOfUTCWeek$1(dirtyDateRight, options2);
|
|
36723
36808
|
return dateLeftStartOfWeek.getTime() === dateRightStartOfWeek.getTime();
|
|
36724
36809
|
}
|
|
36725
|
-
var formatDistanceLocale$
|
|
36810
|
+
var formatDistanceLocale$8 = {
|
|
36726
36811
|
lessThanXSeconds: {
|
|
36727
36812
|
standalone: {
|
|
36728
36813
|
one: "weniger als eine Sekunde",
|
|
@@ -36878,9 +36963,9 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
36878
36963
|
}
|
|
36879
36964
|
}
|
|
36880
36965
|
};
|
|
36881
|
-
var formatDistance$
|
|
36966
|
+
var formatDistance$8 = function(token2, count, options2) {
|
|
36882
36967
|
options2 = options2 || {};
|
|
36883
|
-
var usageGroup = options2.addSuffix ? formatDistanceLocale$
|
|
36968
|
+
var usageGroup = options2.addSuffix ? formatDistanceLocale$8[token2].withPreposition : formatDistanceLocale$8[token2].standalone;
|
|
36884
36969
|
var result;
|
|
36885
36970
|
if (typeof usageGroup === "string") {
|
|
36886
36971
|
result = usageGroup;
|
|
@@ -36898,7 +36983,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
36898
36983
|
}
|
|
36899
36984
|
return result;
|
|
36900
36985
|
};
|
|
36901
|
-
var dateFormats$
|
|
36986
|
+
var dateFormats$8 = {
|
|
36902
36987
|
full: "EEEE, do MMMM y",
|
|
36903
36988
|
// Montag, 7. Januar 2018
|
|
36904
36989
|
long: "do MMMM y",
|
|
@@ -36908,33 +36993,33 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
36908
36993
|
short: "dd.MM.y"
|
|
36909
36994
|
// 07.01.2018
|
|
36910
36995
|
};
|
|
36911
|
-
var timeFormats$
|
|
36996
|
+
var timeFormats$8 = {
|
|
36912
36997
|
full: "HH:mm:ss zzzz",
|
|
36913
36998
|
long: "HH:mm:ss z",
|
|
36914
36999
|
medium: "HH:mm:ss",
|
|
36915
37000
|
short: "HH:mm"
|
|
36916
37001
|
};
|
|
36917
|
-
var dateTimeFormats$
|
|
37002
|
+
var dateTimeFormats$8 = {
|
|
36918
37003
|
full: "{{date}} 'um' {{time}}",
|
|
36919
37004
|
long: "{{date}} 'um' {{time}}",
|
|
36920
37005
|
medium: "{{date}} {{time}}",
|
|
36921
37006
|
short: "{{date}} {{time}}"
|
|
36922
37007
|
};
|
|
36923
|
-
var formatLong$
|
|
37008
|
+
var formatLong$8 = {
|
|
36924
37009
|
date: buildFormatLongFn$1({
|
|
36925
|
-
formats: dateFormats$
|
|
37010
|
+
formats: dateFormats$8,
|
|
36926
37011
|
defaultWidth: "full"
|
|
36927
37012
|
}),
|
|
36928
37013
|
time: buildFormatLongFn$1({
|
|
36929
|
-
formats: timeFormats$
|
|
37014
|
+
formats: timeFormats$8,
|
|
36930
37015
|
defaultWidth: "full"
|
|
36931
37016
|
}),
|
|
36932
37017
|
dateTime: buildFormatLongFn$1({
|
|
36933
|
-
formats: dateTimeFormats$
|
|
37018
|
+
formats: dateTimeFormats$8,
|
|
36934
37019
|
defaultWidth: "full"
|
|
36935
37020
|
})
|
|
36936
37021
|
};
|
|
36937
|
-
var formatRelativeLocale$
|
|
37022
|
+
var formatRelativeLocale$8 = {
|
|
36938
37023
|
lastWeek: "'letzten' eeee 'um' p",
|
|
36939
37024
|
yesterday: "'gestern um' p",
|
|
36940
37025
|
today: "'heute um' p",
|
|
@@ -36942,31 +37027,31 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
36942
37027
|
nextWeek: "eeee 'um' p",
|
|
36943
37028
|
other: "P"
|
|
36944
37029
|
};
|
|
36945
|
-
var formatRelative$
|
|
36946
|
-
return formatRelativeLocale$
|
|
37030
|
+
var formatRelative$8 = function(token2, _date, _baseDate, _options) {
|
|
37031
|
+
return formatRelativeLocale$8[token2];
|
|
36947
37032
|
};
|
|
36948
|
-
var eraValues$
|
|
37033
|
+
var eraValues$8 = {
|
|
36949
37034
|
narrow: ["v.Chr.", "n.Chr."],
|
|
36950
37035
|
abbreviated: ["v.Chr.", "n.Chr."],
|
|
36951
37036
|
wide: ["vor Christus", "nach Christus"]
|
|
36952
37037
|
};
|
|
36953
|
-
var quarterValues$
|
|
37038
|
+
var quarterValues$8 = {
|
|
36954
37039
|
narrow: ["1", "2", "3", "4"],
|
|
36955
37040
|
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
36956
37041
|
wide: ["1. Quartal", "2. Quartal", "3. Quartal", "4. Quartal"]
|
|
36957
37042
|
};
|
|
36958
|
-
var monthValues$
|
|
37043
|
+
var monthValues$8 = {
|
|
36959
37044
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
36960
37045
|
abbreviated: ["Jan.", "Feb.", "März", "Apr.", "Mai", "Juni", "Juli", "Aug.", "Sep.", "Okt.", "Nov.", "Dez."],
|
|
36961
37046
|
wide: ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"]
|
|
36962
37047
|
};
|
|
36963
|
-
var dayValues$
|
|
37048
|
+
var dayValues$8 = {
|
|
36964
37049
|
narrow: ["S", "M", "D", "M", "D", "F", "S"],
|
|
36965
37050
|
short: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
|
|
36966
37051
|
abbreviated: ["So.", "Mo.", "Di.", "Mi.", "Do.", "Fr.", "Sa."],
|
|
36967
37052
|
wide: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"]
|
|
36968
37053
|
};
|
|
36969
|
-
var dayPeriodValues$
|
|
37054
|
+
var dayPeriodValues$8 = {
|
|
36970
37055
|
narrow: {
|
|
36971
37056
|
am: "vm.",
|
|
36972
37057
|
pm: "nm.",
|
|
@@ -36998,7 +37083,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
36998
37083
|
night: "Nacht"
|
|
36999
37084
|
}
|
|
37000
37085
|
};
|
|
37001
|
-
var formattingDayPeriodValues$
|
|
37086
|
+
var formattingDayPeriodValues$5 = {
|
|
37002
37087
|
narrow: {
|
|
37003
37088
|
am: "vm.",
|
|
37004
37089
|
pm: "nm.",
|
|
@@ -37030,80 +37115,80 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37030
37115
|
night: "nachts"
|
|
37031
37116
|
}
|
|
37032
37117
|
};
|
|
37033
|
-
var ordinalNumber$
|
|
37118
|
+
var ordinalNumber$8 = function(dirtyNumber, _dirtyOptions) {
|
|
37034
37119
|
var number2 = Number(dirtyNumber);
|
|
37035
37120
|
return number2 + ".";
|
|
37036
37121
|
};
|
|
37037
|
-
var localize$
|
|
37038
|
-
ordinalNumber: ordinalNumber$
|
|
37122
|
+
var localize$8 = {
|
|
37123
|
+
ordinalNumber: ordinalNumber$8,
|
|
37039
37124
|
era: buildLocalizeFn$1({
|
|
37040
|
-
values: eraValues$
|
|
37125
|
+
values: eraValues$8,
|
|
37041
37126
|
defaultWidth: "wide"
|
|
37042
37127
|
}),
|
|
37043
37128
|
quarter: buildLocalizeFn$1({
|
|
37044
|
-
values: quarterValues$
|
|
37129
|
+
values: quarterValues$8,
|
|
37045
37130
|
defaultWidth: "wide",
|
|
37046
37131
|
argumentCallback: function(quarter) {
|
|
37047
37132
|
return quarter - 1;
|
|
37048
37133
|
}
|
|
37049
37134
|
}),
|
|
37050
37135
|
month: buildLocalizeFn$1({
|
|
37051
|
-
values: monthValues$
|
|
37136
|
+
values: monthValues$8,
|
|
37052
37137
|
defaultWidth: "wide"
|
|
37053
37138
|
}),
|
|
37054
37139
|
day: buildLocalizeFn$1({
|
|
37055
|
-
values: dayValues$
|
|
37140
|
+
values: dayValues$8,
|
|
37056
37141
|
defaultWidth: "wide"
|
|
37057
37142
|
}),
|
|
37058
37143
|
dayPeriod: buildLocalizeFn$1({
|
|
37059
|
-
values: dayPeriodValues$
|
|
37144
|
+
values: dayPeriodValues$8,
|
|
37060
37145
|
defaultWidth: "wide",
|
|
37061
|
-
formattingValues: formattingDayPeriodValues$
|
|
37146
|
+
formattingValues: formattingDayPeriodValues$5,
|
|
37062
37147
|
defaultFormattingWidth: "wide"
|
|
37063
37148
|
})
|
|
37064
37149
|
};
|
|
37065
|
-
var matchOrdinalNumberPattern$
|
|
37066
|
-
var parseOrdinalNumberPattern$
|
|
37067
|
-
var matchEraPatterns$
|
|
37150
|
+
var matchOrdinalNumberPattern$8 = /^(\d+)(\.)?/i;
|
|
37151
|
+
var parseOrdinalNumberPattern$8 = /\d+/i;
|
|
37152
|
+
var matchEraPatterns$8 = {
|
|
37068
37153
|
narrow: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,
|
|
37069
37154
|
abbreviated: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,
|
|
37070
37155
|
wide: /^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i
|
|
37071
37156
|
};
|
|
37072
|
-
var parseEraPatterns$
|
|
37157
|
+
var parseEraPatterns$8 = {
|
|
37073
37158
|
any: [/^v/i, /^n/i]
|
|
37074
37159
|
};
|
|
37075
|
-
var matchQuarterPatterns$
|
|
37160
|
+
var matchQuarterPatterns$8 = {
|
|
37076
37161
|
narrow: /^[1234]/i,
|
|
37077
37162
|
abbreviated: /^q[1234]/i,
|
|
37078
37163
|
wide: /^[1234](\.)? Quartal/i
|
|
37079
37164
|
};
|
|
37080
|
-
var parseQuarterPatterns$
|
|
37165
|
+
var parseQuarterPatterns$8 = {
|
|
37081
37166
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
37082
37167
|
};
|
|
37083
|
-
var matchMonthPatterns$
|
|
37168
|
+
var matchMonthPatterns$8 = {
|
|
37084
37169
|
narrow: /^[jfmasond]/i,
|
|
37085
37170
|
abbreviated: /^(jan|feb|mär|apr|mai|jun|jul|aug|sep|okt|nov|dez)/i,
|
|
37086
37171
|
wide: /^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i
|
|
37087
37172
|
};
|
|
37088
|
-
var parseMonthPatterns$
|
|
37173
|
+
var parseMonthPatterns$8 = {
|
|
37089
37174
|
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],
|
|
37090
37175
|
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]
|
|
37091
37176
|
};
|
|
37092
|
-
var matchDayPatterns$
|
|
37177
|
+
var matchDayPatterns$8 = {
|
|
37093
37178
|
narrow: /^[smdmf]/i,
|
|
37094
37179
|
short: /^(so|mo|di|mi|do|fr|sa)/i,
|
|
37095
37180
|
abbreviated: /^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,
|
|
37096
37181
|
wide: /^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i
|
|
37097
37182
|
};
|
|
37098
|
-
var parseDayPatterns$
|
|
37183
|
+
var parseDayPatterns$8 = {
|
|
37099
37184
|
any: [/^so/i, /^mo/i, /^di/i, /^mi/i, /^do/i, /^f/i, /^sa/i]
|
|
37100
37185
|
};
|
|
37101
|
-
var matchDayPeriodPatterns$
|
|
37186
|
+
var matchDayPeriodPatterns$8 = {
|
|
37102
37187
|
narrow: /^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,
|
|
37103
37188
|
abbreviated: /^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,
|
|
37104
37189
|
wide: /^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i
|
|
37105
37190
|
};
|
|
37106
|
-
var parseDayPeriodPatterns$
|
|
37191
|
+
var parseDayPeriodPatterns$8 = {
|
|
37107
37192
|
any: {
|
|
37108
37193
|
am: /^v/i,
|
|
37109
37194
|
pm: /^n/i,
|
|
@@ -37117,61 +37202,61 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37117
37202
|
// will never be matched. Night is matched by `pm`
|
|
37118
37203
|
}
|
|
37119
37204
|
};
|
|
37120
|
-
var match$
|
|
37205
|
+
var match$8 = {
|
|
37121
37206
|
ordinalNumber: buildMatchPatternFn$1({
|
|
37122
|
-
matchPattern: matchOrdinalNumberPattern$
|
|
37123
|
-
parsePattern: parseOrdinalNumberPattern$
|
|
37207
|
+
matchPattern: matchOrdinalNumberPattern$8,
|
|
37208
|
+
parsePattern: parseOrdinalNumberPattern$8,
|
|
37124
37209
|
valueCallback: function(value) {
|
|
37125
37210
|
return parseInt(value);
|
|
37126
37211
|
}
|
|
37127
37212
|
}),
|
|
37128
37213
|
era: buildMatchFn$1({
|
|
37129
|
-
matchPatterns: matchEraPatterns$
|
|
37214
|
+
matchPatterns: matchEraPatterns$8,
|
|
37130
37215
|
defaultMatchWidth: "wide",
|
|
37131
|
-
parsePatterns: parseEraPatterns$
|
|
37216
|
+
parsePatterns: parseEraPatterns$8,
|
|
37132
37217
|
defaultParseWidth: "any"
|
|
37133
37218
|
}),
|
|
37134
37219
|
quarter: buildMatchFn$1({
|
|
37135
|
-
matchPatterns: matchQuarterPatterns$
|
|
37220
|
+
matchPatterns: matchQuarterPatterns$8,
|
|
37136
37221
|
defaultMatchWidth: "wide",
|
|
37137
|
-
parsePatterns: parseQuarterPatterns$
|
|
37222
|
+
parsePatterns: parseQuarterPatterns$8,
|
|
37138
37223
|
defaultParseWidth: "any",
|
|
37139
37224
|
valueCallback: function(index2) {
|
|
37140
37225
|
return index2 + 1;
|
|
37141
37226
|
}
|
|
37142
37227
|
}),
|
|
37143
37228
|
month: buildMatchFn$1({
|
|
37144
|
-
matchPatterns: matchMonthPatterns$
|
|
37229
|
+
matchPatterns: matchMonthPatterns$8,
|
|
37145
37230
|
defaultMatchWidth: "wide",
|
|
37146
|
-
parsePatterns: parseMonthPatterns$
|
|
37231
|
+
parsePatterns: parseMonthPatterns$8,
|
|
37147
37232
|
defaultParseWidth: "any"
|
|
37148
37233
|
}),
|
|
37149
37234
|
day: buildMatchFn$1({
|
|
37150
|
-
matchPatterns: matchDayPatterns$
|
|
37235
|
+
matchPatterns: matchDayPatterns$8,
|
|
37151
37236
|
defaultMatchWidth: "wide",
|
|
37152
|
-
parsePatterns: parseDayPatterns$
|
|
37237
|
+
parsePatterns: parseDayPatterns$8,
|
|
37153
37238
|
defaultParseWidth: "any"
|
|
37154
37239
|
}),
|
|
37155
37240
|
dayPeriod: buildMatchFn$1({
|
|
37156
|
-
matchPatterns: matchDayPeriodPatterns$
|
|
37241
|
+
matchPatterns: matchDayPeriodPatterns$8,
|
|
37157
37242
|
defaultMatchWidth: "wide",
|
|
37158
|
-
parsePatterns: parseDayPeriodPatterns$
|
|
37243
|
+
parsePatterns: parseDayPeriodPatterns$8,
|
|
37159
37244
|
defaultParseWidth: "any"
|
|
37160
37245
|
})
|
|
37161
37246
|
};
|
|
37162
|
-
var locale$
|
|
37247
|
+
var locale$8 = {
|
|
37163
37248
|
code: "de",
|
|
37164
|
-
formatDistance: formatDistance$
|
|
37165
|
-
formatLong: formatLong$
|
|
37166
|
-
formatRelative: formatRelative$
|
|
37167
|
-
localize: localize$
|
|
37168
|
-
match: match$
|
|
37249
|
+
formatDistance: formatDistance$8,
|
|
37250
|
+
formatLong: formatLong$8,
|
|
37251
|
+
formatRelative: formatRelative$8,
|
|
37252
|
+
localize: localize$8,
|
|
37253
|
+
match: match$8,
|
|
37169
37254
|
options: {
|
|
37170
37255
|
weekStartsOn: 1,
|
|
37171
37256
|
firstWeekContainsDate: 4
|
|
37172
37257
|
}
|
|
37173
37258
|
};
|
|
37174
|
-
var formatDistanceLocale$
|
|
37259
|
+
var formatDistanceLocale$7 = {
|
|
37175
37260
|
lessThanXSeconds: {
|
|
37176
37261
|
one: "menos de un segundo",
|
|
37177
37262
|
other: "menos de {{count}} segundos"
|
|
@@ -37234,15 +37319,15 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37234
37319
|
other: "casi {{count}} años"
|
|
37235
37320
|
}
|
|
37236
37321
|
};
|
|
37237
|
-
function formatDistance$
|
|
37322
|
+
function formatDistance$7(token2, count, options2) {
|
|
37238
37323
|
options2 = options2 || {};
|
|
37239
37324
|
var result;
|
|
37240
|
-
if (typeof formatDistanceLocale$
|
|
37241
|
-
result = formatDistanceLocale$
|
|
37325
|
+
if (typeof formatDistanceLocale$7[token2] === "string") {
|
|
37326
|
+
result = formatDistanceLocale$7[token2];
|
|
37242
37327
|
} else if (count === 1) {
|
|
37243
|
-
result = formatDistanceLocale$
|
|
37328
|
+
result = formatDistanceLocale$7[token2].one;
|
|
37244
37329
|
} else {
|
|
37245
|
-
result = formatDistanceLocale$
|
|
37330
|
+
result = formatDistanceLocale$7[token2].other.replace("{{count}}", count);
|
|
37246
37331
|
}
|
|
37247
37332
|
if (options2.addSuffix) {
|
|
37248
37333
|
if (options2.comparison > 0) {
|
|
@@ -37253,39 +37338,39 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37253
37338
|
}
|
|
37254
37339
|
return result;
|
|
37255
37340
|
}
|
|
37256
|
-
var dateFormats$
|
|
37341
|
+
var dateFormats$7 = {
|
|
37257
37342
|
full: "EEEE, d 'de' MMMM 'de' y",
|
|
37258
37343
|
long: "d 'de' MMMM 'de' y",
|
|
37259
37344
|
medium: "d MMM y",
|
|
37260
37345
|
short: "dd/MM/y"
|
|
37261
37346
|
};
|
|
37262
|
-
var timeFormats$
|
|
37347
|
+
var timeFormats$7 = {
|
|
37263
37348
|
full: "HH:mm:ss zzzz",
|
|
37264
37349
|
long: "HH:mm:ss z",
|
|
37265
37350
|
medium: "HH:mm:ss",
|
|
37266
37351
|
short: "HH:mm"
|
|
37267
37352
|
};
|
|
37268
|
-
var dateTimeFormats$
|
|
37353
|
+
var dateTimeFormats$7 = {
|
|
37269
37354
|
full: "{{date}} 'a las' {{time}}",
|
|
37270
37355
|
long: "{{date}} 'a las' {{time}}",
|
|
37271
37356
|
medium: "{{date}}, {{time}}",
|
|
37272
37357
|
short: "{{date}}, {{time}}"
|
|
37273
37358
|
};
|
|
37274
|
-
var formatLong$
|
|
37359
|
+
var formatLong$7 = {
|
|
37275
37360
|
date: buildFormatLongFn$1({
|
|
37276
|
-
formats: dateFormats$
|
|
37361
|
+
formats: dateFormats$7,
|
|
37277
37362
|
defaultWidth: "full"
|
|
37278
37363
|
}),
|
|
37279
37364
|
time: buildFormatLongFn$1({
|
|
37280
|
-
formats: timeFormats$
|
|
37365
|
+
formats: timeFormats$7,
|
|
37281
37366
|
defaultWidth: "full"
|
|
37282
37367
|
}),
|
|
37283
37368
|
dateTime: buildFormatLongFn$1({
|
|
37284
|
-
formats: dateTimeFormats$
|
|
37369
|
+
formats: dateTimeFormats$7,
|
|
37285
37370
|
defaultWidth: "full"
|
|
37286
37371
|
})
|
|
37287
37372
|
};
|
|
37288
|
-
var formatRelativeLocale$
|
|
37373
|
+
var formatRelativeLocale$7 = {
|
|
37289
37374
|
lastWeek: "'el' eeee 'pasado a la' LT",
|
|
37290
37375
|
yesterday: "'ayer a la' p",
|
|
37291
37376
|
today: "'hoy a la' p",
|
|
@@ -37301,34 +37386,34 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37301
37386
|
nextWeek: "eeee 'a las' p",
|
|
37302
37387
|
other: "P"
|
|
37303
37388
|
};
|
|
37304
|
-
function formatRelative$
|
|
37389
|
+
function formatRelative$7(token2, date, _baseDate, _options) {
|
|
37305
37390
|
if (date.getUTCHours() !== 1) {
|
|
37306
37391
|
return formatRelativeLocalePlural[token2];
|
|
37307
37392
|
}
|
|
37308
|
-
return formatRelativeLocale$
|
|
37393
|
+
return formatRelativeLocale$7[token2];
|
|
37309
37394
|
}
|
|
37310
|
-
var eraValues$
|
|
37395
|
+
var eraValues$7 = {
|
|
37311
37396
|
narrow: ["AC", "DC"],
|
|
37312
37397
|
abbreviated: ["AC", "DC"],
|
|
37313
37398
|
wide: ["antes de cristo", "después de cristo"]
|
|
37314
37399
|
};
|
|
37315
|
-
var quarterValues$
|
|
37400
|
+
var quarterValues$7 = {
|
|
37316
37401
|
narrow: ["1", "2", "3", "4"],
|
|
37317
37402
|
abbreviated: ["T1", "T2", "T3", "T4"],
|
|
37318
37403
|
wide: ["1º trimestre", "2º trimestre", "3º trimestre", "4º trimestre"]
|
|
37319
37404
|
};
|
|
37320
|
-
var monthValues$
|
|
37405
|
+
var monthValues$7 = {
|
|
37321
37406
|
narrow: ["e", "f", "m", "a", "m", "j", "j", "a", "s", "o", "n", "d"],
|
|
37322
37407
|
abbreviated: ["ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic"],
|
|
37323
37408
|
wide: ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre"]
|
|
37324
37409
|
};
|
|
37325
|
-
var dayValues$
|
|
37410
|
+
var dayValues$7 = {
|
|
37326
37411
|
narrow: ["d", "l", "m", "m", "j", "v", "s"],
|
|
37327
37412
|
short: ["do", "lu", "ma", "mi", "ju", "vi", "sa"],
|
|
37328
37413
|
abbreviated: ["dom", "lun", "mar", "mié", "jue", "vie", "sáb"],
|
|
37329
37414
|
wide: ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"]
|
|
37330
37415
|
};
|
|
37331
|
-
var dayPeriodValues$
|
|
37416
|
+
var dayPeriodValues$7 = {
|
|
37332
37417
|
narrow: {
|
|
37333
37418
|
am: "a",
|
|
37334
37419
|
pm: "p",
|
|
@@ -37360,7 +37445,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37360
37445
|
night: "noche"
|
|
37361
37446
|
}
|
|
37362
37447
|
};
|
|
37363
|
-
var formattingDayPeriodValues$
|
|
37448
|
+
var formattingDayPeriodValues$4 = {
|
|
37364
37449
|
narrow: {
|
|
37365
37450
|
am: "a",
|
|
37366
37451
|
pm: "p",
|
|
@@ -37392,81 +37477,81 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37392
37477
|
night: "de la noche"
|
|
37393
37478
|
}
|
|
37394
37479
|
};
|
|
37395
|
-
function ordinalNumber$
|
|
37480
|
+
function ordinalNumber$7(dirtyNumber) {
|
|
37396
37481
|
var number2 = Number(dirtyNumber);
|
|
37397
37482
|
return number2 + "º";
|
|
37398
37483
|
}
|
|
37399
|
-
var localize$
|
|
37400
|
-
ordinalNumber: ordinalNumber$
|
|
37484
|
+
var localize$7 = {
|
|
37485
|
+
ordinalNumber: ordinalNumber$7,
|
|
37401
37486
|
era: buildLocalizeFn$1({
|
|
37402
|
-
values: eraValues$
|
|
37487
|
+
values: eraValues$7,
|
|
37403
37488
|
defaultWidth: "wide"
|
|
37404
37489
|
}),
|
|
37405
37490
|
quarter: buildLocalizeFn$1({
|
|
37406
|
-
values: quarterValues$
|
|
37491
|
+
values: quarterValues$7,
|
|
37407
37492
|
defaultWidth: "wide",
|
|
37408
37493
|
argumentCallback: function(quarter) {
|
|
37409
37494
|
return Number(quarter) - 1;
|
|
37410
37495
|
}
|
|
37411
37496
|
}),
|
|
37412
37497
|
month: buildLocalizeFn$1({
|
|
37413
|
-
values: monthValues$
|
|
37498
|
+
values: monthValues$7,
|
|
37414
37499
|
defaultWidth: "wide"
|
|
37415
37500
|
}),
|
|
37416
37501
|
day: buildLocalizeFn$1({
|
|
37417
|
-
values: dayValues$
|
|
37502
|
+
values: dayValues$7,
|
|
37418
37503
|
defaultWidth: "wide"
|
|
37419
37504
|
}),
|
|
37420
37505
|
dayPeriod: buildLocalizeFn$1({
|
|
37421
|
-
values: dayPeriodValues$
|
|
37506
|
+
values: dayPeriodValues$7,
|
|
37422
37507
|
defaultWidth: "wide",
|
|
37423
|
-
formattingValues: formattingDayPeriodValues$
|
|
37508
|
+
formattingValues: formattingDayPeriodValues$4,
|
|
37424
37509
|
defaultFormattingWidth: "wide"
|
|
37425
37510
|
})
|
|
37426
37511
|
};
|
|
37427
|
-
var matchOrdinalNumberPattern$
|
|
37428
|
-
var parseOrdinalNumberPattern$
|
|
37429
|
-
var matchEraPatterns$
|
|
37512
|
+
var matchOrdinalNumberPattern$7 = /^(\d+)(º)?/i;
|
|
37513
|
+
var parseOrdinalNumberPattern$7 = /\d+/i;
|
|
37514
|
+
var matchEraPatterns$7 = {
|
|
37430
37515
|
narrow: /^(ac|dc|a|d)/i,
|
|
37431
37516
|
abbreviated: /^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,
|
|
37432
37517
|
wide: /^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i
|
|
37433
37518
|
};
|
|
37434
|
-
var parseEraPatterns$
|
|
37519
|
+
var parseEraPatterns$7 = {
|
|
37435
37520
|
any: [/^ac/i, /^dc/i],
|
|
37436
37521
|
wide: [/^(antes de cristo|antes de la era com[uú]n)/i, /^(despu[eé]s de cristo|era com[uú]n)/i]
|
|
37437
37522
|
};
|
|
37438
|
-
var matchQuarterPatterns$
|
|
37523
|
+
var matchQuarterPatterns$7 = {
|
|
37439
37524
|
narrow: /^[1234]/i,
|
|
37440
37525
|
abbreviated: /^T[1234]/i,
|
|
37441
37526
|
wide: /^[1234](º)? trimestre/i
|
|
37442
37527
|
};
|
|
37443
|
-
var parseQuarterPatterns$
|
|
37528
|
+
var parseQuarterPatterns$7 = {
|
|
37444
37529
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
37445
37530
|
};
|
|
37446
|
-
var matchMonthPatterns$
|
|
37531
|
+
var matchMonthPatterns$7 = {
|
|
37447
37532
|
narrow: /^[efmajsond]/i,
|
|
37448
37533
|
abbreviated: /^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,
|
|
37449
37534
|
wide: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i
|
|
37450
37535
|
};
|
|
37451
|
-
var parseMonthPatterns$
|
|
37536
|
+
var parseMonthPatterns$7 = {
|
|
37452
37537
|
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],
|
|
37453
37538
|
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]
|
|
37454
37539
|
};
|
|
37455
|
-
var matchDayPatterns$
|
|
37540
|
+
var matchDayPatterns$7 = {
|
|
37456
37541
|
narrow: /^[dlmjvs]/i,
|
|
37457
37542
|
short: /^(do|lu|ma|mi|ju|vi|sa)/i,
|
|
37458
37543
|
abbreviated: /^(dom|lun|mar|mie|jue|vie|sab)/i,
|
|
37459
37544
|
wide: /^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i
|
|
37460
37545
|
};
|
|
37461
|
-
var parseDayPatterns$
|
|
37546
|
+
var parseDayPatterns$7 = {
|
|
37462
37547
|
narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i],
|
|
37463
37548
|
any: [/^do/i, /^lu/i, /^ma/i, /^mi/i, /^ju/i, /^vi/i, /^sa/i]
|
|
37464
37549
|
};
|
|
37465
|
-
var matchDayPeriodPatterns$
|
|
37550
|
+
var matchDayPeriodPatterns$7 = {
|
|
37466
37551
|
narrow: /^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,
|
|
37467
37552
|
any: /^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i
|
|
37468
37553
|
};
|
|
37469
|
-
var parseDayPeriodPatterns$
|
|
37554
|
+
var parseDayPeriodPatterns$7 = {
|
|
37470
37555
|
any: {
|
|
37471
37556
|
am: /^a/i,
|
|
37472
37557
|
pm: /^p/i,
|
|
@@ -37478,61 +37563,61 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37478
37563
|
night: /noche/i
|
|
37479
37564
|
}
|
|
37480
37565
|
};
|
|
37481
|
-
var match$
|
|
37566
|
+
var match$7 = {
|
|
37482
37567
|
ordinalNumber: buildMatchPatternFn$1({
|
|
37483
|
-
matchPattern: matchOrdinalNumberPattern$
|
|
37484
|
-
parsePattern: parseOrdinalNumberPattern$
|
|
37568
|
+
matchPattern: matchOrdinalNumberPattern$7,
|
|
37569
|
+
parsePattern: parseOrdinalNumberPattern$7,
|
|
37485
37570
|
valueCallback: function(value) {
|
|
37486
37571
|
return parseInt(value, 10);
|
|
37487
37572
|
}
|
|
37488
37573
|
}),
|
|
37489
37574
|
era: buildMatchFn$1({
|
|
37490
|
-
matchPatterns: matchEraPatterns$
|
|
37575
|
+
matchPatterns: matchEraPatterns$7,
|
|
37491
37576
|
defaultMatchWidth: "wide",
|
|
37492
|
-
parsePatterns: parseEraPatterns$
|
|
37577
|
+
parsePatterns: parseEraPatterns$7,
|
|
37493
37578
|
defaultParseWidth: "any"
|
|
37494
37579
|
}),
|
|
37495
37580
|
quarter: buildMatchFn$1({
|
|
37496
|
-
matchPatterns: matchQuarterPatterns$
|
|
37581
|
+
matchPatterns: matchQuarterPatterns$7,
|
|
37497
37582
|
defaultMatchWidth: "wide",
|
|
37498
|
-
parsePatterns: parseQuarterPatterns$
|
|
37583
|
+
parsePatterns: parseQuarterPatterns$7,
|
|
37499
37584
|
defaultParseWidth: "any",
|
|
37500
37585
|
valueCallback: function(index2) {
|
|
37501
37586
|
return index2 + 1;
|
|
37502
37587
|
}
|
|
37503
37588
|
}),
|
|
37504
37589
|
month: buildMatchFn$1({
|
|
37505
|
-
matchPatterns: matchMonthPatterns$
|
|
37590
|
+
matchPatterns: matchMonthPatterns$7,
|
|
37506
37591
|
defaultMatchWidth: "wide",
|
|
37507
|
-
parsePatterns: parseMonthPatterns$
|
|
37592
|
+
parsePatterns: parseMonthPatterns$7,
|
|
37508
37593
|
defaultParseWidth: "any"
|
|
37509
37594
|
}),
|
|
37510
37595
|
day: buildMatchFn$1({
|
|
37511
|
-
matchPatterns: matchDayPatterns$
|
|
37596
|
+
matchPatterns: matchDayPatterns$7,
|
|
37512
37597
|
defaultMatchWidth: "wide",
|
|
37513
|
-
parsePatterns: parseDayPatterns$
|
|
37598
|
+
parsePatterns: parseDayPatterns$7,
|
|
37514
37599
|
defaultParseWidth: "any"
|
|
37515
37600
|
}),
|
|
37516
37601
|
dayPeriod: buildMatchFn$1({
|
|
37517
|
-
matchPatterns: matchDayPeriodPatterns$
|
|
37602
|
+
matchPatterns: matchDayPeriodPatterns$7,
|
|
37518
37603
|
defaultMatchWidth: "any",
|
|
37519
|
-
parsePatterns: parseDayPeriodPatterns$
|
|
37604
|
+
parsePatterns: parseDayPeriodPatterns$7,
|
|
37520
37605
|
defaultParseWidth: "any"
|
|
37521
37606
|
})
|
|
37522
37607
|
};
|
|
37523
|
-
var locale$
|
|
37608
|
+
var locale$7 = {
|
|
37524
37609
|
code: "es",
|
|
37525
|
-
formatDistance: formatDistance$
|
|
37526
|
-
formatLong: formatLong$
|
|
37527
|
-
formatRelative: formatRelative$
|
|
37528
|
-
localize: localize$
|
|
37529
|
-
match: match$
|
|
37610
|
+
formatDistance: formatDistance$7,
|
|
37611
|
+
formatLong: formatLong$7,
|
|
37612
|
+
formatRelative: formatRelative$7,
|
|
37613
|
+
localize: localize$7,
|
|
37614
|
+
match: match$7,
|
|
37530
37615
|
options: {
|
|
37531
37616
|
weekStartsOn: 1,
|
|
37532
37617
|
firstWeekContainsDate: 1
|
|
37533
37618
|
}
|
|
37534
37619
|
};
|
|
37535
|
-
var formatDistanceLocale$
|
|
37620
|
+
var formatDistanceLocale$6 = {
|
|
37536
37621
|
lessThanXSeconds: {
|
|
37537
37622
|
one: "moins d’une seconde",
|
|
37538
37623
|
other: "moins de {{count}} secondes"
|
|
@@ -37595,15 +37680,15 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37595
37680
|
other: "presque {{count}} ans"
|
|
37596
37681
|
}
|
|
37597
37682
|
};
|
|
37598
|
-
function formatDistance$
|
|
37683
|
+
function formatDistance$6(token2, count, options2) {
|
|
37599
37684
|
options2 = options2 || {};
|
|
37600
37685
|
var result;
|
|
37601
|
-
if (typeof formatDistanceLocale$
|
|
37602
|
-
result = formatDistanceLocale$
|
|
37686
|
+
if (typeof formatDistanceLocale$6[token2] === "string") {
|
|
37687
|
+
result = formatDistanceLocale$6[token2];
|
|
37603
37688
|
} else if (count === 1) {
|
|
37604
|
-
result = formatDistanceLocale$
|
|
37689
|
+
result = formatDistanceLocale$6[token2].one;
|
|
37605
37690
|
} else {
|
|
37606
|
-
result = formatDistanceLocale$
|
|
37691
|
+
result = formatDistanceLocale$6[token2].other.replace("{{count}}", count);
|
|
37607
37692
|
}
|
|
37608
37693
|
if (options2.addSuffix) {
|
|
37609
37694
|
if (options2.comparison > 0) {
|
|
@@ -37614,39 +37699,39 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37614
37699
|
}
|
|
37615
37700
|
return result;
|
|
37616
37701
|
}
|
|
37617
|
-
var dateFormats$
|
|
37702
|
+
var dateFormats$6 = {
|
|
37618
37703
|
full: "EEEE d MMMM y",
|
|
37619
37704
|
long: "d MMMM y",
|
|
37620
37705
|
medium: "d MMM y",
|
|
37621
37706
|
short: "dd/MM/y"
|
|
37622
37707
|
};
|
|
37623
|
-
var timeFormats$
|
|
37708
|
+
var timeFormats$6 = {
|
|
37624
37709
|
full: "HH:mm:ss zzzz",
|
|
37625
37710
|
long: "HH:mm:ss z",
|
|
37626
37711
|
medium: "HH:mm:ss",
|
|
37627
37712
|
short: "HH:mm"
|
|
37628
37713
|
};
|
|
37629
|
-
var dateTimeFormats$
|
|
37714
|
+
var dateTimeFormats$6 = {
|
|
37630
37715
|
full: "{{date}} 'à' {{time}}",
|
|
37631
37716
|
long: "{{date}} 'à' {{time}}",
|
|
37632
37717
|
medium: "{{date}}, {{time}}",
|
|
37633
37718
|
short: "{{date}}, {{time}}"
|
|
37634
37719
|
};
|
|
37635
|
-
var formatLong$
|
|
37720
|
+
var formatLong$6 = {
|
|
37636
37721
|
date: buildFormatLongFn$1({
|
|
37637
|
-
formats: dateFormats$
|
|
37722
|
+
formats: dateFormats$6,
|
|
37638
37723
|
defaultWidth: "full"
|
|
37639
37724
|
}),
|
|
37640
37725
|
time: buildFormatLongFn$1({
|
|
37641
|
-
formats: timeFormats$
|
|
37726
|
+
formats: timeFormats$6,
|
|
37642
37727
|
defaultWidth: "full"
|
|
37643
37728
|
}),
|
|
37644
37729
|
dateTime: buildFormatLongFn$1({
|
|
37645
|
-
formats: dateTimeFormats$
|
|
37730
|
+
formats: dateTimeFormats$6,
|
|
37646
37731
|
defaultWidth: "full"
|
|
37647
37732
|
})
|
|
37648
37733
|
};
|
|
37649
|
-
var formatRelativeLocale$
|
|
37734
|
+
var formatRelativeLocale$6 = {
|
|
37650
37735
|
lastWeek: "eeee 'dernier à' p",
|
|
37651
37736
|
yesterday: "'hier à' p",
|
|
37652
37737
|
today: "'aujourd’hui à' p",
|
|
@@ -37654,31 +37739,31 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37654
37739
|
nextWeek: "eeee 'prochain à' p",
|
|
37655
37740
|
other: "P"
|
|
37656
37741
|
};
|
|
37657
|
-
function formatRelative$
|
|
37658
|
-
return formatRelativeLocale$
|
|
37742
|
+
function formatRelative$6(token2, _date, _baseDate, _options) {
|
|
37743
|
+
return formatRelativeLocale$6[token2];
|
|
37659
37744
|
}
|
|
37660
|
-
var eraValues$
|
|
37745
|
+
var eraValues$6 = {
|
|
37661
37746
|
narrow: ["av. J.-C", "ap. J.-C"],
|
|
37662
37747
|
abbreviated: ["av. J.-C", "ap. J.-C"],
|
|
37663
37748
|
wide: ["avant Jésus-Christ", "après Jésus-Christ"]
|
|
37664
37749
|
};
|
|
37665
|
-
var quarterValues$
|
|
37750
|
+
var quarterValues$6 = {
|
|
37666
37751
|
narrow: ["T1", "T2", "T3", "T4"],
|
|
37667
37752
|
abbreviated: ["1er trim.", "2ème trim.", "3ème trim.", "4ème trim."],
|
|
37668
37753
|
wide: ["1er trimestre", "2ème trimestre", "3ème trimestre", "4ème trimestre"]
|
|
37669
37754
|
};
|
|
37670
|
-
var monthValues$
|
|
37755
|
+
var monthValues$6 = {
|
|
37671
37756
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
37672
37757
|
abbreviated: ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc."],
|
|
37673
37758
|
wide: ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre"]
|
|
37674
37759
|
};
|
|
37675
|
-
var dayValues$
|
|
37760
|
+
var dayValues$6 = {
|
|
37676
37761
|
narrow: ["D", "L", "M", "M", "J", "V", "S"],
|
|
37677
37762
|
short: ["di", "lu", "ma", "me", "je", "ve", "sa"],
|
|
37678
37763
|
abbreviated: ["dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam."],
|
|
37679
37764
|
wide: ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"]
|
|
37680
37765
|
};
|
|
37681
|
-
var dayPeriodValues$
|
|
37766
|
+
var dayPeriodValues$6 = {
|
|
37682
37767
|
narrow: {
|
|
37683
37768
|
am: "AM",
|
|
37684
37769
|
pm: "PM",
|
|
@@ -37710,7 +37795,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37710
37795
|
night: "du matin"
|
|
37711
37796
|
}
|
|
37712
37797
|
};
|
|
37713
|
-
function ordinalNumber$
|
|
37798
|
+
function ordinalNumber$6(dirtyNumber, dirtyOptions) {
|
|
37714
37799
|
var number2 = Number(dirtyNumber);
|
|
37715
37800
|
var options2 = dirtyOptions || {};
|
|
37716
37801
|
var unit = String(options2.unit);
|
|
@@ -37733,74 +37818,74 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37733
37818
|
}
|
|
37734
37819
|
return number2 + suffix;
|
|
37735
37820
|
}
|
|
37736
|
-
var localize$
|
|
37737
|
-
ordinalNumber: ordinalNumber$
|
|
37821
|
+
var localize$6 = {
|
|
37822
|
+
ordinalNumber: ordinalNumber$6,
|
|
37738
37823
|
era: buildLocalizeFn$1({
|
|
37739
|
-
values: eraValues$
|
|
37824
|
+
values: eraValues$6,
|
|
37740
37825
|
defaultWidth: "wide"
|
|
37741
37826
|
}),
|
|
37742
37827
|
quarter: buildLocalizeFn$1({
|
|
37743
|
-
values: quarterValues$
|
|
37828
|
+
values: quarterValues$6,
|
|
37744
37829
|
defaultWidth: "wide",
|
|
37745
37830
|
argumentCallback: function(quarter) {
|
|
37746
37831
|
return Number(quarter) - 1;
|
|
37747
37832
|
}
|
|
37748
37833
|
}),
|
|
37749
37834
|
month: buildLocalizeFn$1({
|
|
37750
|
-
values: monthValues$
|
|
37835
|
+
values: monthValues$6,
|
|
37751
37836
|
defaultWidth: "wide"
|
|
37752
37837
|
}),
|
|
37753
37838
|
day: buildLocalizeFn$1({
|
|
37754
|
-
values: dayValues$
|
|
37839
|
+
values: dayValues$6,
|
|
37755
37840
|
defaultWidth: "wide"
|
|
37756
37841
|
}),
|
|
37757
37842
|
dayPeriod: buildLocalizeFn$1({
|
|
37758
|
-
values: dayPeriodValues$
|
|
37843
|
+
values: dayPeriodValues$6,
|
|
37759
37844
|
defaultWidth: "wide"
|
|
37760
37845
|
})
|
|
37761
37846
|
};
|
|
37762
|
-
var matchOrdinalNumberPattern$
|
|
37763
|
-
var parseOrdinalNumberPattern$
|
|
37764
|
-
var matchEraPatterns$
|
|
37847
|
+
var matchOrdinalNumberPattern$6 = /^(\d+)(ième|ère|ème|er|e)?/i;
|
|
37848
|
+
var parseOrdinalNumberPattern$6 = /\d+/i;
|
|
37849
|
+
var matchEraPatterns$6 = {
|
|
37765
37850
|
narrow: /^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,
|
|
37766
37851
|
abbreviated: /^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,
|
|
37767
37852
|
wide: /^(avant Jésus-Christ|après Jésus-Christ)/i
|
|
37768
37853
|
};
|
|
37769
|
-
var parseEraPatterns$
|
|
37854
|
+
var parseEraPatterns$6 = {
|
|
37770
37855
|
any: [/^av/i, /^ap/i]
|
|
37771
37856
|
};
|
|
37772
|
-
var matchQuarterPatterns$
|
|
37857
|
+
var matchQuarterPatterns$6 = {
|
|
37773
37858
|
narrow: /^[1234]/i,
|
|
37774
37859
|
abbreviated: /^t[1234]/i,
|
|
37775
37860
|
wide: /^[1234](er|ème|e)? trimestre/i
|
|
37776
37861
|
};
|
|
37777
|
-
var parseQuarterPatterns$
|
|
37862
|
+
var parseQuarterPatterns$6 = {
|
|
37778
37863
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
37779
37864
|
};
|
|
37780
|
-
var matchMonthPatterns$
|
|
37865
|
+
var matchMonthPatterns$6 = {
|
|
37781
37866
|
narrow: /^[jfmasond]/i,
|
|
37782
37867
|
abbreviated: /^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,
|
|
37783
37868
|
wide: /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i
|
|
37784
37869
|
};
|
|
37785
|
-
var parseMonthPatterns$
|
|
37870
|
+
var parseMonthPatterns$6 = {
|
|
37786
37871
|
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],
|
|
37787
37872
|
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]
|
|
37788
37873
|
};
|
|
37789
|
-
var matchDayPatterns$
|
|
37874
|
+
var matchDayPatterns$6 = {
|
|
37790
37875
|
narrow: /^[lmjvsd]/i,
|
|
37791
37876
|
short: /^(di|lu|ma|me|je|ve|sa)/i,
|
|
37792
37877
|
abbreviated: /^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,
|
|
37793
37878
|
wide: /^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i
|
|
37794
37879
|
};
|
|
37795
|
-
var parseDayPatterns$
|
|
37880
|
+
var parseDayPatterns$6 = {
|
|
37796
37881
|
narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i],
|
|
37797
37882
|
any: [/^di/i, /^lu/i, /^ma/i, /^me/i, /^je/i, /^ve/i, /^sa/i]
|
|
37798
37883
|
};
|
|
37799
|
-
var matchDayPeriodPatterns$
|
|
37884
|
+
var matchDayPeriodPatterns$6 = {
|
|
37800
37885
|
narrow: /^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,
|
|
37801
37886
|
any: /^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i
|
|
37802
37887
|
};
|
|
37803
|
-
var parseDayPeriodPatterns$
|
|
37888
|
+
var parseDayPeriodPatterns$6 = {
|
|
37804
37889
|
any: {
|
|
37805
37890
|
am: /^a/i,
|
|
37806
37891
|
pm: /^p/i,
|
|
@@ -37812,6 +37897,386 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37812
37897
|
night: /nuit/i
|
|
37813
37898
|
}
|
|
37814
37899
|
};
|
|
37900
|
+
var match$6 = {
|
|
37901
|
+
ordinalNumber: buildMatchPatternFn$1({
|
|
37902
|
+
matchPattern: matchOrdinalNumberPattern$6,
|
|
37903
|
+
parsePattern: parseOrdinalNumberPattern$6,
|
|
37904
|
+
valueCallback: function(value) {
|
|
37905
|
+
return parseInt(value, 10);
|
|
37906
|
+
}
|
|
37907
|
+
}),
|
|
37908
|
+
era: buildMatchFn$1({
|
|
37909
|
+
matchPatterns: matchEraPatterns$6,
|
|
37910
|
+
defaultMatchWidth: "wide",
|
|
37911
|
+
parsePatterns: parseEraPatterns$6,
|
|
37912
|
+
defaultParseWidth: "any"
|
|
37913
|
+
}),
|
|
37914
|
+
quarter: buildMatchFn$1({
|
|
37915
|
+
matchPatterns: matchQuarterPatterns$6,
|
|
37916
|
+
defaultMatchWidth: "wide",
|
|
37917
|
+
parsePatterns: parseQuarterPatterns$6,
|
|
37918
|
+
defaultParseWidth: "any",
|
|
37919
|
+
valueCallback: function(index2) {
|
|
37920
|
+
return index2 + 1;
|
|
37921
|
+
}
|
|
37922
|
+
}),
|
|
37923
|
+
month: buildMatchFn$1({
|
|
37924
|
+
matchPatterns: matchMonthPatterns$6,
|
|
37925
|
+
defaultMatchWidth: "wide",
|
|
37926
|
+
parsePatterns: parseMonthPatterns$6,
|
|
37927
|
+
defaultParseWidth: "any"
|
|
37928
|
+
}),
|
|
37929
|
+
day: buildMatchFn$1({
|
|
37930
|
+
matchPatterns: matchDayPatterns$6,
|
|
37931
|
+
defaultMatchWidth: "wide",
|
|
37932
|
+
parsePatterns: parseDayPatterns$6,
|
|
37933
|
+
defaultParseWidth: "any"
|
|
37934
|
+
}),
|
|
37935
|
+
dayPeriod: buildMatchFn$1({
|
|
37936
|
+
matchPatterns: matchDayPeriodPatterns$6,
|
|
37937
|
+
defaultMatchWidth: "any",
|
|
37938
|
+
parsePatterns: parseDayPeriodPatterns$6,
|
|
37939
|
+
defaultParseWidth: "any"
|
|
37940
|
+
})
|
|
37941
|
+
};
|
|
37942
|
+
var locale$6 = {
|
|
37943
|
+
code: "fr",
|
|
37944
|
+
formatDistance: formatDistance$6,
|
|
37945
|
+
formatLong: formatLong$6,
|
|
37946
|
+
formatRelative: formatRelative$6,
|
|
37947
|
+
localize: localize$6,
|
|
37948
|
+
match: match$6,
|
|
37949
|
+
options: {
|
|
37950
|
+
weekStartsOn: 1,
|
|
37951
|
+
firstWeekContainsDate: 4
|
|
37952
|
+
}
|
|
37953
|
+
};
|
|
37954
|
+
var formatDistanceLocale$5 = {
|
|
37955
|
+
lessThanXSeconds: {
|
|
37956
|
+
one: "1秒未満",
|
|
37957
|
+
other: "{{count}}秒未満",
|
|
37958
|
+
oneWithSuffix: "約1秒",
|
|
37959
|
+
otherWithSuffix: "約{{count}}秒"
|
|
37960
|
+
},
|
|
37961
|
+
xSeconds: {
|
|
37962
|
+
one: "1秒",
|
|
37963
|
+
other: "{{count}}秒"
|
|
37964
|
+
},
|
|
37965
|
+
halfAMinute: "30秒",
|
|
37966
|
+
lessThanXMinutes: {
|
|
37967
|
+
one: "1分未満",
|
|
37968
|
+
other: "{{count}}分未満",
|
|
37969
|
+
oneWithSuffix: "約1分",
|
|
37970
|
+
otherWithSuffix: "約{{count}}分"
|
|
37971
|
+
},
|
|
37972
|
+
xMinutes: {
|
|
37973
|
+
one: "1分",
|
|
37974
|
+
other: "{{count}}分"
|
|
37975
|
+
},
|
|
37976
|
+
aboutXHours: {
|
|
37977
|
+
one: "約1時間",
|
|
37978
|
+
other: "約{{count}}時間"
|
|
37979
|
+
},
|
|
37980
|
+
xHours: {
|
|
37981
|
+
one: "1時間",
|
|
37982
|
+
other: "{{count}}時間"
|
|
37983
|
+
},
|
|
37984
|
+
xDays: {
|
|
37985
|
+
one: "1日",
|
|
37986
|
+
other: "{{count}}日"
|
|
37987
|
+
},
|
|
37988
|
+
aboutXWeeks: {
|
|
37989
|
+
one: "約1週間",
|
|
37990
|
+
other: "約{{count}}週間"
|
|
37991
|
+
},
|
|
37992
|
+
xWeeks: {
|
|
37993
|
+
one: "1週間",
|
|
37994
|
+
other: "{{count}}週間"
|
|
37995
|
+
},
|
|
37996
|
+
aboutXMonths: {
|
|
37997
|
+
one: "約1か月",
|
|
37998
|
+
other: "約{{count}}か月"
|
|
37999
|
+
},
|
|
38000
|
+
xMonths: {
|
|
38001
|
+
one: "1か月",
|
|
38002
|
+
other: "{{count}}か月"
|
|
38003
|
+
},
|
|
38004
|
+
aboutXYears: {
|
|
38005
|
+
one: "約1年",
|
|
38006
|
+
other: "約{{count}}年"
|
|
38007
|
+
},
|
|
38008
|
+
xYears: {
|
|
38009
|
+
one: "1年",
|
|
38010
|
+
other: "{{count}}年"
|
|
38011
|
+
},
|
|
38012
|
+
overXYears: {
|
|
38013
|
+
one: "1年以上",
|
|
38014
|
+
other: "{{count}}年以上"
|
|
38015
|
+
},
|
|
38016
|
+
almostXYears: {
|
|
38017
|
+
one: "1年近く",
|
|
38018
|
+
other: "{{count}}年近く"
|
|
38019
|
+
}
|
|
38020
|
+
};
|
|
38021
|
+
function formatDistance$5(token2, count, options2) {
|
|
38022
|
+
options2 = options2 || {};
|
|
38023
|
+
var result;
|
|
38024
|
+
if (typeof formatDistanceLocale$5[token2] === "string") {
|
|
38025
|
+
result = formatDistanceLocale$5[token2];
|
|
38026
|
+
} else if (count === 1) {
|
|
38027
|
+
if (options2.addSuffix && formatDistanceLocale$5[token2].oneWithSuffix) {
|
|
38028
|
+
result = formatDistanceLocale$5[token2].oneWithSuffix;
|
|
38029
|
+
} else {
|
|
38030
|
+
result = formatDistanceLocale$5[token2].one;
|
|
38031
|
+
}
|
|
38032
|
+
} else {
|
|
38033
|
+
if (options2.addSuffix && formatDistanceLocale$5[token2].otherWithSuffix) {
|
|
38034
|
+
result = formatDistanceLocale$5[token2].otherWithSuffix.replace("{{count}}", count);
|
|
38035
|
+
} else {
|
|
38036
|
+
result = formatDistanceLocale$5[token2].other.replace("{{count}}", count);
|
|
38037
|
+
}
|
|
38038
|
+
}
|
|
38039
|
+
if (options2.addSuffix) {
|
|
38040
|
+
if (options2.comparison > 0) {
|
|
38041
|
+
return result + "後";
|
|
38042
|
+
} else {
|
|
38043
|
+
return result + "前";
|
|
38044
|
+
}
|
|
38045
|
+
}
|
|
38046
|
+
return result;
|
|
38047
|
+
}
|
|
38048
|
+
var dateFormats$5 = {
|
|
38049
|
+
full: "y年M月d日EEEE",
|
|
38050
|
+
long: "y年M月d日",
|
|
38051
|
+
medium: "y/MM/dd",
|
|
38052
|
+
short: "y/MM/dd"
|
|
38053
|
+
};
|
|
38054
|
+
var timeFormats$5 = {
|
|
38055
|
+
full: "H時mm分ss秒 zzzz",
|
|
38056
|
+
long: "H:mm:ss z",
|
|
38057
|
+
medium: "H:mm:ss",
|
|
38058
|
+
short: "H:mm"
|
|
38059
|
+
};
|
|
38060
|
+
var dateTimeFormats$5 = {
|
|
38061
|
+
full: "{{date}} {{time}}",
|
|
38062
|
+
long: "{{date}} {{time}}",
|
|
38063
|
+
medium: "{{date}} {{time}}",
|
|
38064
|
+
short: "{{date}} {{time}}"
|
|
38065
|
+
};
|
|
38066
|
+
var formatLong$5 = {
|
|
38067
|
+
date: buildFormatLongFn$1({
|
|
38068
|
+
formats: dateFormats$5,
|
|
38069
|
+
defaultWidth: "full"
|
|
38070
|
+
}),
|
|
38071
|
+
time: buildFormatLongFn$1({
|
|
38072
|
+
formats: timeFormats$5,
|
|
38073
|
+
defaultWidth: "full"
|
|
38074
|
+
}),
|
|
38075
|
+
dateTime: buildFormatLongFn$1({
|
|
38076
|
+
formats: dateTimeFormats$5,
|
|
38077
|
+
defaultWidth: "full"
|
|
38078
|
+
})
|
|
38079
|
+
};
|
|
38080
|
+
var formatRelativeLocale$5 = {
|
|
38081
|
+
lastWeek: "先週のeeeeのp",
|
|
38082
|
+
yesterday: "昨日のp",
|
|
38083
|
+
today: "今日のp",
|
|
38084
|
+
tomorrow: "明日のp",
|
|
38085
|
+
nextWeek: "翌週のeeeeのp",
|
|
38086
|
+
other: "P"
|
|
38087
|
+
};
|
|
38088
|
+
function formatRelative$5(token2, _date, _baseDate, _options) {
|
|
38089
|
+
return formatRelativeLocale$5[token2];
|
|
38090
|
+
}
|
|
38091
|
+
var eraValues$5 = {
|
|
38092
|
+
narrow: ["BC", "AC"],
|
|
38093
|
+
abbreviated: ["紀元前", "西暦"],
|
|
38094
|
+
wide: ["紀元前", "西暦"]
|
|
38095
|
+
};
|
|
38096
|
+
var quarterValues$5 = {
|
|
38097
|
+
narrow: ["1", "2", "3", "4"],
|
|
38098
|
+
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
38099
|
+
wide: ["第1四半期", "第2四半期", "第3四半期", "第4四半期"]
|
|
38100
|
+
};
|
|
38101
|
+
var monthValues$5 = {
|
|
38102
|
+
narrow: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
|
|
38103
|
+
abbreviated: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"],
|
|
38104
|
+
wide: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"]
|
|
38105
|
+
};
|
|
38106
|
+
var dayValues$5 = {
|
|
38107
|
+
narrow: ["日", "月", "火", "水", "木", "金", "土"],
|
|
38108
|
+
short: ["日", "月", "火", "水", "木", "金", "土"],
|
|
38109
|
+
abbreviated: ["日", "月", "火", "水", "木", "金", "土"],
|
|
38110
|
+
wide: ["日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"]
|
|
38111
|
+
};
|
|
38112
|
+
var dayPeriodValues$5 = {
|
|
38113
|
+
narrow: {
|
|
38114
|
+
am: "午前",
|
|
38115
|
+
pm: "午後",
|
|
38116
|
+
midnight: "深夜",
|
|
38117
|
+
noon: "正午",
|
|
38118
|
+
morning: "朝",
|
|
38119
|
+
afternoon: "午後",
|
|
38120
|
+
evening: "夜",
|
|
38121
|
+
night: "深夜"
|
|
38122
|
+
},
|
|
38123
|
+
abbreviated: {
|
|
38124
|
+
am: "午前",
|
|
38125
|
+
pm: "午後",
|
|
38126
|
+
midnight: "深夜",
|
|
38127
|
+
noon: "正午",
|
|
38128
|
+
morning: "朝",
|
|
38129
|
+
afternoon: "午後",
|
|
38130
|
+
evening: "夜",
|
|
38131
|
+
night: "深夜"
|
|
38132
|
+
},
|
|
38133
|
+
wide: {
|
|
38134
|
+
am: "午前",
|
|
38135
|
+
pm: "午後",
|
|
38136
|
+
midnight: "深夜",
|
|
38137
|
+
noon: "正午",
|
|
38138
|
+
morning: "朝",
|
|
38139
|
+
afternoon: "午後",
|
|
38140
|
+
evening: "夜",
|
|
38141
|
+
night: "深夜"
|
|
38142
|
+
}
|
|
38143
|
+
};
|
|
38144
|
+
var formattingDayPeriodValues$3 = {
|
|
38145
|
+
narrow: {
|
|
38146
|
+
am: "午前",
|
|
38147
|
+
pm: "午後",
|
|
38148
|
+
midnight: "深夜",
|
|
38149
|
+
noon: "正午",
|
|
38150
|
+
morning: "朝",
|
|
38151
|
+
afternoon: "午後",
|
|
38152
|
+
evening: "夜",
|
|
38153
|
+
night: "深夜"
|
|
38154
|
+
},
|
|
38155
|
+
abbreviated: {
|
|
38156
|
+
am: "午前",
|
|
38157
|
+
pm: "午後",
|
|
38158
|
+
midnight: "深夜",
|
|
38159
|
+
noon: "正午",
|
|
38160
|
+
morning: "朝",
|
|
38161
|
+
afternoon: "午後",
|
|
38162
|
+
evening: "夜",
|
|
38163
|
+
night: "深夜"
|
|
38164
|
+
},
|
|
38165
|
+
wide: {
|
|
38166
|
+
am: "午前",
|
|
38167
|
+
pm: "午後",
|
|
38168
|
+
midnight: "深夜",
|
|
38169
|
+
noon: "正午",
|
|
38170
|
+
morning: "朝",
|
|
38171
|
+
afternoon: "午後",
|
|
38172
|
+
evening: "夜",
|
|
38173
|
+
night: "深夜"
|
|
38174
|
+
}
|
|
38175
|
+
};
|
|
38176
|
+
function ordinalNumber$5(dirtyNumber, dirtyOptions) {
|
|
38177
|
+
var number2 = Number(dirtyNumber);
|
|
38178
|
+
var options2 = dirtyOptions || {};
|
|
38179
|
+
var unit = String(options2.unit);
|
|
38180
|
+
switch (unit) {
|
|
38181
|
+
case "year":
|
|
38182
|
+
return "".concat(number2, "年");
|
|
38183
|
+
case "quarter":
|
|
38184
|
+
return "第".concat(number2, "四半期");
|
|
38185
|
+
case "month":
|
|
38186
|
+
return "".concat(number2, "月");
|
|
38187
|
+
case "week":
|
|
38188
|
+
return "第".concat(number2, "週");
|
|
38189
|
+
case "date":
|
|
38190
|
+
return "".concat(number2, "日");
|
|
38191
|
+
case "hour":
|
|
38192
|
+
return "".concat(number2, "時");
|
|
38193
|
+
case "minute":
|
|
38194
|
+
return "".concat(number2, "分");
|
|
38195
|
+
case "second":
|
|
38196
|
+
return "".concat(number2, "秒");
|
|
38197
|
+
default:
|
|
38198
|
+
return "".concat(number2);
|
|
38199
|
+
}
|
|
38200
|
+
}
|
|
38201
|
+
var localize$5 = {
|
|
38202
|
+
ordinalNumber: ordinalNumber$5,
|
|
38203
|
+
era: buildLocalizeFn$1({
|
|
38204
|
+
values: eraValues$5,
|
|
38205
|
+
defaultWidth: "wide"
|
|
38206
|
+
}),
|
|
38207
|
+
quarter: buildLocalizeFn$1({
|
|
38208
|
+
values: quarterValues$5,
|
|
38209
|
+
defaultWidth: "wide",
|
|
38210
|
+
argumentCallback: function(quarter) {
|
|
38211
|
+
return Number(quarter) - 1;
|
|
38212
|
+
}
|
|
38213
|
+
}),
|
|
38214
|
+
month: buildLocalizeFn$1({
|
|
38215
|
+
values: monthValues$5,
|
|
38216
|
+
defaultWidth: "wide"
|
|
38217
|
+
}),
|
|
38218
|
+
day: buildLocalizeFn$1({
|
|
38219
|
+
values: dayValues$5,
|
|
38220
|
+
defaultWidth: "wide"
|
|
38221
|
+
}),
|
|
38222
|
+
dayPeriod: buildLocalizeFn$1({
|
|
38223
|
+
values: dayPeriodValues$5,
|
|
38224
|
+
defaultWidth: "wide",
|
|
38225
|
+
formattingValues: formattingDayPeriodValues$3,
|
|
38226
|
+
defaultFormattingWidth: "wide"
|
|
38227
|
+
})
|
|
38228
|
+
};
|
|
38229
|
+
var matchOrdinalNumberPattern$5 = /^第?\d+(年|四半期|月|週|日|時|分|秒)?/i;
|
|
38230
|
+
var parseOrdinalNumberPattern$5 = /\d+/i;
|
|
38231
|
+
var matchEraPatterns$5 = {
|
|
38232
|
+
narrow: /^(B\.?C\.?|A\.?D\.?)/i,
|
|
38233
|
+
abbreviated: /^(紀元[前後]|西暦)/i,
|
|
38234
|
+
wide: /^(紀元[前後]|西暦)/i
|
|
38235
|
+
};
|
|
38236
|
+
var parseEraPatterns$5 = {
|
|
38237
|
+
narrow: [/^B/i, /^A/i],
|
|
38238
|
+
any: [/^(紀元前)/i, /^(西暦|紀元後)/i]
|
|
38239
|
+
};
|
|
38240
|
+
var matchQuarterPatterns$5 = {
|
|
38241
|
+
narrow: /^[1234]/i,
|
|
38242
|
+
abbreviated: /^Q[1234]/i,
|
|
38243
|
+
wide: /^第[1234一二三四1234]四半期/i
|
|
38244
|
+
};
|
|
38245
|
+
var parseQuarterPatterns$5 = {
|
|
38246
|
+
any: [/(1|一|1)/i, /(2|二|2)/i, /(3|三|3)/i, /(4|四|4)/i]
|
|
38247
|
+
};
|
|
38248
|
+
var matchMonthPatterns$5 = {
|
|
38249
|
+
narrow: /^([123456789]|1[012])/,
|
|
38250
|
+
abbreviated: /^([123456789]|1[012])月/i,
|
|
38251
|
+
wide: /^([123456789]|1[012])月/i
|
|
38252
|
+
};
|
|
38253
|
+
var parseMonthPatterns$5 = {
|
|
38254
|
+
any: [/^1\D/, /^2/, /^3/, /^4/, /^5/, /^6/, /^7/, /^8/, /^9/, /^10/, /^11/, /^12/]
|
|
38255
|
+
};
|
|
38256
|
+
var matchDayPatterns$5 = {
|
|
38257
|
+
narrow: /^[日月火水木金土]/,
|
|
38258
|
+
short: /^[日月火水木金土]/,
|
|
38259
|
+
abbreviated: /^[日月火水木金土]/,
|
|
38260
|
+
wide: /^[日月火水木金土]曜日/
|
|
38261
|
+
};
|
|
38262
|
+
var parseDayPatterns$5 = {
|
|
38263
|
+
any: [/^日/, /^月/, /^火/, /^水/, /^木/, /^金/, /^土/]
|
|
38264
|
+
};
|
|
38265
|
+
var matchDayPeriodPatterns$5 = {
|
|
38266
|
+
any: /^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i
|
|
38267
|
+
};
|
|
38268
|
+
var parseDayPeriodPatterns$5 = {
|
|
38269
|
+
any: {
|
|
38270
|
+
am: /^(A|午前)/i,
|
|
38271
|
+
pm: /^(P|午後)/i,
|
|
38272
|
+
midnight: /^深夜|真夜中/i,
|
|
38273
|
+
noon: /^正午/i,
|
|
38274
|
+
morning: /^朝/i,
|
|
38275
|
+
afternoon: /^午後/i,
|
|
38276
|
+
evening: /^夜/i,
|
|
38277
|
+
night: /^深夜/i
|
|
38278
|
+
}
|
|
38279
|
+
};
|
|
37815
38280
|
var match$5 = {
|
|
37816
38281
|
ordinalNumber: buildMatchPatternFn$1({
|
|
37817
38282
|
matchPattern: matchOrdinalNumberPattern$5,
|
|
@@ -37855,15 +38320,15 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
37855
38320
|
})
|
|
37856
38321
|
};
|
|
37857
38322
|
var locale$5 = {
|
|
37858
|
-
code: "
|
|
38323
|
+
code: "ja",
|
|
37859
38324
|
formatDistance: formatDistance$5,
|
|
37860
38325
|
formatLong: formatLong$5,
|
|
37861
38326
|
formatRelative: formatRelative$5,
|
|
37862
38327
|
localize: localize$5,
|
|
37863
38328
|
match: match$5,
|
|
37864
38329
|
options: {
|
|
37865
|
-
weekStartsOn:
|
|
37866
|
-
firstWeekContainsDate:
|
|
38330
|
+
weekStartsOn: 0,
|
|
38331
|
+
firstWeekContainsDate: 1
|
|
37867
38332
|
}
|
|
37868
38333
|
};
|
|
37869
38334
|
var formatDistanceLocale$4 = {
|
|
@@ -39751,11 +40216,12 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
39751
40216
|
}
|
|
39752
40217
|
};
|
|
39753
40218
|
const NDS_TO_DATE_FN_LOCALES_MAP = {
|
|
39754
|
-
de_DE: locale$
|
|
39755
|
-
en_US: locale$
|
|
39756
|
-
es_MX: locale$
|
|
39757
|
-
es_ES: locale$
|
|
39758
|
-
fr_FR: locale$
|
|
40219
|
+
de_DE: locale$8,
|
|
40220
|
+
en_US: locale$a,
|
|
40221
|
+
es_MX: locale$7,
|
|
40222
|
+
es_ES: locale$7,
|
|
40223
|
+
fr_FR: locale$6,
|
|
40224
|
+
ja_JP: locale$5,
|
|
39759
40225
|
nl_NL: locale$4,
|
|
39760
40226
|
pl_PL: locale$3,
|
|
39761
40227
|
pt_BR: locale$2,
|
|
@@ -39783,6 +40249,11 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
39783
40249
|
value: "fr_FR",
|
|
39784
40250
|
dateFnsValue: NDS_TO_DATE_FN_LOCALES_MAP.fr_FR
|
|
39785
40251
|
},
|
|
40252
|
+
{
|
|
40253
|
+
label: "Japanese (Japan)",
|
|
40254
|
+
value: "ja_JP",
|
|
40255
|
+
dateFnsValue: NDS_TO_DATE_FN_LOCALES_MAP.ja_JP
|
|
40256
|
+
},
|
|
39786
40257
|
{
|
|
39787
40258
|
label: "Dutch (Netherlands)",
|
|
39788
40259
|
value: "nl_NL",
|
|
@@ -40133,7 +40604,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
40133
40604
|
}
|
|
40134
40605
|
onRefChange(r2);
|
|
40135
40606
|
};
|
|
40136
|
-
const spaceProps = getSubset(props, propTypes$
|
|
40607
|
+
const spaceProps = getSubset(props, propTypes$2.space);
|
|
40137
40608
|
return /* @__PURE__ */ jsxRuntime.jsxs(Field, { className: `${className} nds-date-picker`, ...spaceProps, children: [
|
|
40138
40609
|
/* @__PURE__ */ jsxRuntime.jsx(DatePickerStyles, {}),
|
|
40139
40610
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -40475,7 +40946,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
40475
40946
|
const { locale: contextLocale } = useLocale();
|
|
40476
40947
|
const { i18n } = useTranslation();
|
|
40477
40948
|
const [ref, setRef2] = React.useState(null);
|
|
40478
|
-
const spaceProps = getSubset(props, propTypes$
|
|
40949
|
+
const spaceProps = getSubset(props, propTypes$2.space);
|
|
40479
40950
|
const currentLocale = locale2 || contextLocale;
|
|
40480
40951
|
const componentVariant = useComponentVariant();
|
|
40481
40952
|
const t2 = React.useMemo(() => {
|
|
@@ -40611,8 +41082,8 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
40611
41082
|
variant: variant2,
|
|
40612
41083
|
...props
|
|
40613
41084
|
}) => {
|
|
40614
|
-
const spaceProps = getSubset(props, propTypes$
|
|
40615
|
-
const restProps = omitSubset(props, propTypes$
|
|
41085
|
+
const spaceProps = getSubset(props, propTypes$2.space);
|
|
41086
|
+
const restProps = omitSubset(props, propTypes$2.space);
|
|
40616
41087
|
return /* @__PURE__ */ jsxRuntime.jsxs(Flex, { ...spaceProps, flexDirection: "column", children: [
|
|
40617
41088
|
/* @__PURE__ */ jsxRuntime.jsx(FieldLabel, { ...labelProps, ...restProps }),
|
|
40618
41089
|
/* @__PURE__ */ jsxRuntime.jsxs(Flex, { flexWrap: "wrap", mt: "x1", mb: errorMessages.length ? "x1" : "x3", children: [
|
|
@@ -40620,10 +41091,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
40620
41091
|
/* @__PURE__ */ jsxRuntime.jsx(Flex, { px: "half", alignItems: "flex-end", alignSelf: "flex-end", children: /* @__PURE__ */ jsxRuntime.jsx(Text, { lineHeight: variant2 === "touch" ? "56px" : "38px", children: "-" }) }),
|
|
40621
41092
|
/* @__PURE__ */ jsxRuntime.jsx(Flex, { children: endComponent })
|
|
40622
41093
|
] }),
|
|
40623
|
-
errorMessages.map((errorMessage, i2) => (
|
|
40624
|
-
// eslint-disable-next-line react/no-array-index-key
|
|
40625
|
-
/* @__PURE__ */ jsxRuntime.jsx(InlineValidation, { errorMessage }, i2)
|
|
40626
|
-
))
|
|
41094
|
+
errorMessages.map((errorMessage, i2) => /* @__PURE__ */ jsxRuntime.jsx(InlineValidation, { errorMessage }, i2))
|
|
40627
41095
|
] });
|
|
40628
41096
|
};
|
|
40629
41097
|
const START_DATE_CLASS = "nds-datepicker-day--start-date";
|
|
@@ -40697,60 +41165,84 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
40697
41165
|
const getDuration = (start2, end2) => {
|
|
40698
41166
|
return convertTimeToMinutes(end2) - convertTimeToMinutes(start2);
|
|
40699
41167
|
};
|
|
40700
|
-
|
|
40701
|
-
|
|
40702
|
-
|
|
40703
|
-
|
|
40704
|
-
|
|
40705
|
-
|
|
40706
|
-
|
|
40707
|
-
|
|
40708
|
-
|
|
40709
|
-
|
|
40710
|
-
|
|
40711
|
-
|
|
40712
|
-
|
|
40713
|
-
|
|
40714
|
-
|
|
40715
|
-
|
|
40716
|
-
|
|
40717
|
-
|
|
41168
|
+
function debounce(function_, wait = 100, options2 = {}) {
|
|
41169
|
+
if (typeof function_ !== "function") {
|
|
41170
|
+
throw new TypeError(`Expected the first parameter to be a function, got \`${typeof function_}\`.`);
|
|
41171
|
+
}
|
|
41172
|
+
if (wait < 0) {
|
|
41173
|
+
throw new RangeError("`wait` must not be negative.");
|
|
41174
|
+
}
|
|
41175
|
+
if (typeof options2 === "boolean") {
|
|
41176
|
+
throw new TypeError("The `options` parameter must be an object, not a boolean. Use `{immediate: true}` instead.");
|
|
41177
|
+
}
|
|
41178
|
+
const { immediate } = options2;
|
|
41179
|
+
let storedContext;
|
|
41180
|
+
let storedArguments;
|
|
41181
|
+
let timeoutId;
|
|
41182
|
+
let timestamp;
|
|
41183
|
+
let result;
|
|
41184
|
+
function run() {
|
|
41185
|
+
const callContext = storedContext;
|
|
41186
|
+
const callArguments = storedArguments;
|
|
41187
|
+
storedContext = void 0;
|
|
41188
|
+
storedArguments = void 0;
|
|
41189
|
+
result = function_.apply(callContext, callArguments);
|
|
41190
|
+
return result;
|
|
41191
|
+
}
|
|
41192
|
+
function later() {
|
|
41193
|
+
const last = Date.now() - timestamp;
|
|
41194
|
+
if (last < wait && last >= 0) {
|
|
41195
|
+
timeoutId = setTimeout(later, wait - last);
|
|
41196
|
+
} else {
|
|
41197
|
+
timeoutId = void 0;
|
|
41198
|
+
if (!immediate) {
|
|
41199
|
+
result = run();
|
|
40718
41200
|
}
|
|
40719
41201
|
}
|
|
40720
|
-
var debounced = function() {
|
|
40721
|
-
context = this;
|
|
40722
|
-
args = arguments;
|
|
40723
|
-
timestamp = Date.now();
|
|
40724
|
-
var callNow = immediate && !timeout;
|
|
40725
|
-
if (!timeout) timeout = setTimeout(later, wait);
|
|
40726
|
-
if (callNow) {
|
|
40727
|
-
result = func.apply(context, args);
|
|
40728
|
-
context = args = null;
|
|
40729
|
-
}
|
|
40730
|
-
return result;
|
|
40731
|
-
};
|
|
40732
|
-
debounced.clear = function() {
|
|
40733
|
-
if (timeout) {
|
|
40734
|
-
clearTimeout(timeout);
|
|
40735
|
-
timeout = null;
|
|
40736
|
-
}
|
|
40737
|
-
};
|
|
40738
|
-
debounced.flush = function() {
|
|
40739
|
-
if (timeout) {
|
|
40740
|
-
result = func.apply(context, args);
|
|
40741
|
-
context = args = null;
|
|
40742
|
-
clearTimeout(timeout);
|
|
40743
|
-
timeout = null;
|
|
40744
|
-
}
|
|
40745
|
-
};
|
|
40746
|
-
return debounced;
|
|
40747
41202
|
}
|
|
40748
|
-
|
|
40749
|
-
|
|
40750
|
-
|
|
41203
|
+
const debounced = function(...arguments_) {
|
|
41204
|
+
if (storedContext && this !== storedContext && Object.getPrototypeOf(this) === Object.getPrototypeOf(storedContext)) {
|
|
41205
|
+
throw new Error("Debounced method called with different contexts of the same prototype.");
|
|
41206
|
+
}
|
|
41207
|
+
storedContext = this;
|
|
41208
|
+
storedArguments = arguments_;
|
|
41209
|
+
timestamp = Date.now();
|
|
41210
|
+
const callNow = immediate && !timeoutId;
|
|
41211
|
+
if (!timeoutId) {
|
|
41212
|
+
timeoutId = setTimeout(later, wait);
|
|
41213
|
+
}
|
|
41214
|
+
if (callNow) {
|
|
41215
|
+
result = run();
|
|
41216
|
+
return result;
|
|
41217
|
+
}
|
|
41218
|
+
return void 0;
|
|
41219
|
+
};
|
|
41220
|
+
Object.defineProperty(debounced, "isPending", {
|
|
41221
|
+
get() {
|
|
41222
|
+
return timeoutId !== void 0;
|
|
41223
|
+
}
|
|
41224
|
+
});
|
|
41225
|
+
debounced.clear = () => {
|
|
41226
|
+
if (!timeoutId) {
|
|
41227
|
+
return;
|
|
41228
|
+
}
|
|
41229
|
+
clearTimeout(timeoutId);
|
|
41230
|
+
timeoutId = void 0;
|
|
41231
|
+
storedContext = void 0;
|
|
41232
|
+
storedArguments = void 0;
|
|
41233
|
+
};
|
|
41234
|
+
debounced.flush = () => {
|
|
41235
|
+
if (!timeoutId) {
|
|
41236
|
+
return;
|
|
41237
|
+
}
|
|
41238
|
+
debounced.trigger();
|
|
41239
|
+
};
|
|
41240
|
+
debounced.trigger = () => {
|
|
41241
|
+
result = run();
|
|
41242
|
+
debounced.clear();
|
|
41243
|
+
};
|
|
41244
|
+
return debounced;
|
|
40751
41245
|
}
|
|
40752
|
-
var debounceExports = requireDebounce();
|
|
40753
|
-
const debounce = /* @__PURE__ */ getDefaultExportFromCjs(debounceExports);
|
|
40754
41246
|
const TimePickerOption = styledComponents.styled.li(
|
|
40755
41247
|
({ theme, isSelected }) => ({
|
|
40756
41248
|
marginBottom: "0px",
|
|
@@ -42038,6 +42530,597 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
42038
42530
|
}
|
|
42039
42531
|
var lib = { exports: {} };
|
|
42040
42532
|
var Modal$1 = {};
|
|
42533
|
+
var propTypes = { exports: {} };
|
|
42534
|
+
var ReactPropTypesSecret_1;
|
|
42535
|
+
var hasRequiredReactPropTypesSecret;
|
|
42536
|
+
function requireReactPropTypesSecret() {
|
|
42537
|
+
if (hasRequiredReactPropTypesSecret) return ReactPropTypesSecret_1;
|
|
42538
|
+
hasRequiredReactPropTypesSecret = 1;
|
|
42539
|
+
var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
42540
|
+
ReactPropTypesSecret_1 = ReactPropTypesSecret;
|
|
42541
|
+
return ReactPropTypesSecret_1;
|
|
42542
|
+
}
|
|
42543
|
+
var has;
|
|
42544
|
+
var hasRequiredHas;
|
|
42545
|
+
function requireHas() {
|
|
42546
|
+
if (hasRequiredHas) return has;
|
|
42547
|
+
hasRequiredHas = 1;
|
|
42548
|
+
has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
42549
|
+
return has;
|
|
42550
|
+
}
|
|
42551
|
+
var checkPropTypes_1;
|
|
42552
|
+
var hasRequiredCheckPropTypes;
|
|
42553
|
+
function requireCheckPropTypes() {
|
|
42554
|
+
if (hasRequiredCheckPropTypes) return checkPropTypes_1;
|
|
42555
|
+
hasRequiredCheckPropTypes = 1;
|
|
42556
|
+
var printWarning = function() {
|
|
42557
|
+
};
|
|
42558
|
+
if (process.env.NODE_ENV !== "production") {
|
|
42559
|
+
var ReactPropTypesSecret = /* @__PURE__ */ requireReactPropTypesSecret();
|
|
42560
|
+
var loggedTypeFailures = {};
|
|
42561
|
+
var has2 = /* @__PURE__ */ requireHas();
|
|
42562
|
+
printWarning = function(text) {
|
|
42563
|
+
var message = "Warning: " + text;
|
|
42564
|
+
if (typeof console !== "undefined") {
|
|
42565
|
+
console.error(message);
|
|
42566
|
+
}
|
|
42567
|
+
try {
|
|
42568
|
+
throw new Error(message);
|
|
42569
|
+
} catch (x) {
|
|
42570
|
+
}
|
|
42571
|
+
};
|
|
42572
|
+
}
|
|
42573
|
+
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
42574
|
+
if (process.env.NODE_ENV !== "production") {
|
|
42575
|
+
for (var typeSpecName in typeSpecs) {
|
|
42576
|
+
if (has2(typeSpecs, typeSpecName)) {
|
|
42577
|
+
var error;
|
|
42578
|
+
try {
|
|
42579
|
+
if (typeof typeSpecs[typeSpecName] !== "function") {
|
|
42580
|
+
var err = Error(
|
|
42581
|
+
(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`."
|
|
42582
|
+
);
|
|
42583
|
+
err.name = "Invariant Violation";
|
|
42584
|
+
throw err;
|
|
42585
|
+
}
|
|
42586
|
+
error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
|
|
42587
|
+
} catch (ex) {
|
|
42588
|
+
error = ex;
|
|
42589
|
+
}
|
|
42590
|
+
if (error && !(error instanceof Error)) {
|
|
42591
|
+
printWarning(
|
|
42592
|
+
(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)."
|
|
42593
|
+
);
|
|
42594
|
+
}
|
|
42595
|
+
if (error instanceof Error && !(error.message in loggedTypeFailures)) {
|
|
42596
|
+
loggedTypeFailures[error.message] = true;
|
|
42597
|
+
var stack = getStack ? getStack() : "";
|
|
42598
|
+
printWarning(
|
|
42599
|
+
"Failed " + location + " type: " + error.message + (stack != null ? stack : "")
|
|
42600
|
+
);
|
|
42601
|
+
}
|
|
42602
|
+
}
|
|
42603
|
+
}
|
|
42604
|
+
}
|
|
42605
|
+
}
|
|
42606
|
+
checkPropTypes.resetWarningCache = function() {
|
|
42607
|
+
if (process.env.NODE_ENV !== "production") {
|
|
42608
|
+
loggedTypeFailures = {};
|
|
42609
|
+
}
|
|
42610
|
+
};
|
|
42611
|
+
checkPropTypes_1 = checkPropTypes;
|
|
42612
|
+
return checkPropTypes_1;
|
|
42613
|
+
}
|
|
42614
|
+
var factoryWithTypeCheckers;
|
|
42615
|
+
var hasRequiredFactoryWithTypeCheckers;
|
|
42616
|
+
function requireFactoryWithTypeCheckers() {
|
|
42617
|
+
if (hasRequiredFactoryWithTypeCheckers) return factoryWithTypeCheckers;
|
|
42618
|
+
hasRequiredFactoryWithTypeCheckers = 1;
|
|
42619
|
+
var ReactIs = require$$0;
|
|
42620
|
+
var assign2 = requireObjectAssign();
|
|
42621
|
+
var ReactPropTypesSecret = /* @__PURE__ */ requireReactPropTypesSecret();
|
|
42622
|
+
var has2 = /* @__PURE__ */ requireHas();
|
|
42623
|
+
var checkPropTypes = /* @__PURE__ */ requireCheckPropTypes();
|
|
42624
|
+
var printWarning = function() {
|
|
42625
|
+
};
|
|
42626
|
+
if (process.env.NODE_ENV !== "production") {
|
|
42627
|
+
printWarning = function(text) {
|
|
42628
|
+
var message = "Warning: " + text;
|
|
42629
|
+
if (typeof console !== "undefined") {
|
|
42630
|
+
console.error(message);
|
|
42631
|
+
}
|
|
42632
|
+
try {
|
|
42633
|
+
throw new Error(message);
|
|
42634
|
+
} catch (x) {
|
|
42635
|
+
}
|
|
42636
|
+
};
|
|
42637
|
+
}
|
|
42638
|
+
function emptyFunctionThatReturnsNull() {
|
|
42639
|
+
return null;
|
|
42640
|
+
}
|
|
42641
|
+
factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
42642
|
+
var ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
|
|
42643
|
+
var FAUX_ITERATOR_SYMBOL = "@@iterator";
|
|
42644
|
+
function getIteratorFn(maybeIterable) {
|
|
42645
|
+
var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
|
|
42646
|
+
if (typeof iteratorFn === "function") {
|
|
42647
|
+
return iteratorFn;
|
|
42648
|
+
}
|
|
42649
|
+
}
|
|
42650
|
+
var ANONYMOUS = "<<anonymous>>";
|
|
42651
|
+
var ReactPropTypes = {
|
|
42652
|
+
array: createPrimitiveTypeChecker("array"),
|
|
42653
|
+
bigint: createPrimitiveTypeChecker("bigint"),
|
|
42654
|
+
bool: createPrimitiveTypeChecker("boolean"),
|
|
42655
|
+
func: createPrimitiveTypeChecker("function"),
|
|
42656
|
+
number: createPrimitiveTypeChecker("number"),
|
|
42657
|
+
object: createPrimitiveTypeChecker("object"),
|
|
42658
|
+
string: createPrimitiveTypeChecker("string"),
|
|
42659
|
+
symbol: createPrimitiveTypeChecker("symbol"),
|
|
42660
|
+
any: createAnyTypeChecker(),
|
|
42661
|
+
arrayOf: createArrayOfTypeChecker,
|
|
42662
|
+
element: createElementTypeChecker(),
|
|
42663
|
+
elementType: createElementTypeTypeChecker(),
|
|
42664
|
+
instanceOf: createInstanceTypeChecker,
|
|
42665
|
+
node: createNodeChecker(),
|
|
42666
|
+
objectOf: createObjectOfTypeChecker,
|
|
42667
|
+
oneOf: createEnumTypeChecker,
|
|
42668
|
+
oneOfType: createUnionTypeChecker,
|
|
42669
|
+
shape: createShapeTypeChecker,
|
|
42670
|
+
exact: createStrictShapeTypeChecker
|
|
42671
|
+
};
|
|
42672
|
+
function is(x, y) {
|
|
42673
|
+
if (x === y) {
|
|
42674
|
+
return x !== 0 || 1 / x === 1 / y;
|
|
42675
|
+
} else {
|
|
42676
|
+
return x !== x && y !== y;
|
|
42677
|
+
}
|
|
42678
|
+
}
|
|
42679
|
+
function PropTypeError(message, data) {
|
|
42680
|
+
this.message = message;
|
|
42681
|
+
this.data = data && typeof data === "object" ? data : {};
|
|
42682
|
+
this.stack = "";
|
|
42683
|
+
}
|
|
42684
|
+
PropTypeError.prototype = Error.prototype;
|
|
42685
|
+
function createChainableTypeChecker(validate) {
|
|
42686
|
+
if (process.env.NODE_ENV !== "production") {
|
|
42687
|
+
var manualPropTypeCallCache = {};
|
|
42688
|
+
var manualPropTypeWarningCount = 0;
|
|
42689
|
+
}
|
|
42690
|
+
function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
|
|
42691
|
+
componentName = componentName || ANONYMOUS;
|
|
42692
|
+
propFullName = propFullName || propName;
|
|
42693
|
+
if (secret !== ReactPropTypesSecret) {
|
|
42694
|
+
if (throwOnDirectAccess) {
|
|
42695
|
+
var err = new Error(
|
|
42696
|
+
"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"
|
|
42697
|
+
);
|
|
42698
|
+
err.name = "Invariant Violation";
|
|
42699
|
+
throw err;
|
|
42700
|
+
} else if (process.env.NODE_ENV !== "production" && typeof console !== "undefined") {
|
|
42701
|
+
var cacheKey = componentName + ":" + propName;
|
|
42702
|
+
if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
42703
|
+
manualPropTypeWarningCount < 3) {
|
|
42704
|
+
printWarning(
|
|
42705
|
+
"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."
|
|
42706
|
+
);
|
|
42707
|
+
manualPropTypeCallCache[cacheKey] = true;
|
|
42708
|
+
manualPropTypeWarningCount++;
|
|
42709
|
+
}
|
|
42710
|
+
}
|
|
42711
|
+
}
|
|
42712
|
+
if (props[propName] == null) {
|
|
42713
|
+
if (isRequired) {
|
|
42714
|
+
if (props[propName] === null) {
|
|
42715
|
+
return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required " + ("in `" + componentName + "`, but its value is `null`."));
|
|
42716
|
+
}
|
|
42717
|
+
return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required in " + ("`" + componentName + "`, but its value is `undefined`."));
|
|
42718
|
+
}
|
|
42719
|
+
return null;
|
|
42720
|
+
} else {
|
|
42721
|
+
return validate(props, propName, componentName, location, propFullName);
|
|
42722
|
+
}
|
|
42723
|
+
}
|
|
42724
|
+
var chainedCheckType = checkType.bind(null, false);
|
|
42725
|
+
chainedCheckType.isRequired = checkType.bind(null, true);
|
|
42726
|
+
return chainedCheckType;
|
|
42727
|
+
}
|
|
42728
|
+
function createPrimitiveTypeChecker(expectedType) {
|
|
42729
|
+
function validate(props, propName, componentName, location, propFullName, secret) {
|
|
42730
|
+
var propValue = props[propName];
|
|
42731
|
+
var propType2 = getPropType(propValue);
|
|
42732
|
+
if (propType2 !== expectedType) {
|
|
42733
|
+
var preciseType = getPreciseType(propValue);
|
|
42734
|
+
return new PropTypeError(
|
|
42735
|
+
"Invalid " + location + " `" + propFullName + "` of type " + ("`" + preciseType + "` supplied to `" + componentName + "`, expected ") + ("`" + expectedType + "`."),
|
|
42736
|
+
{ expectedType }
|
|
42737
|
+
);
|
|
42738
|
+
}
|
|
42739
|
+
return null;
|
|
42740
|
+
}
|
|
42741
|
+
return createChainableTypeChecker(validate);
|
|
42742
|
+
}
|
|
42743
|
+
function createAnyTypeChecker() {
|
|
42744
|
+
return createChainableTypeChecker(emptyFunctionThatReturnsNull);
|
|
42745
|
+
}
|
|
42746
|
+
function createArrayOfTypeChecker(typeChecker) {
|
|
42747
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
42748
|
+
if (typeof typeChecker !== "function") {
|
|
42749
|
+
return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside arrayOf.");
|
|
42750
|
+
}
|
|
42751
|
+
var propValue = props[propName];
|
|
42752
|
+
if (!Array.isArray(propValue)) {
|
|
42753
|
+
var propType2 = getPropType(propValue);
|
|
42754
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType2 + "` supplied to `" + componentName + "`, expected an array."));
|
|
42755
|
+
}
|
|
42756
|
+
for (var i2 = 0; i2 < propValue.length; i2++) {
|
|
42757
|
+
var error = typeChecker(propValue, i2, componentName, location, propFullName + "[" + i2 + "]", ReactPropTypesSecret);
|
|
42758
|
+
if (error instanceof Error) {
|
|
42759
|
+
return error;
|
|
42760
|
+
}
|
|
42761
|
+
}
|
|
42762
|
+
return null;
|
|
42763
|
+
}
|
|
42764
|
+
return createChainableTypeChecker(validate);
|
|
42765
|
+
}
|
|
42766
|
+
function createElementTypeChecker() {
|
|
42767
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
42768
|
+
var propValue = props[propName];
|
|
42769
|
+
if (!isValidElement(propValue)) {
|
|
42770
|
+
var propType2 = getPropType(propValue);
|
|
42771
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType2 + "` supplied to `" + componentName + "`, expected a single ReactElement."));
|
|
42772
|
+
}
|
|
42773
|
+
return null;
|
|
42774
|
+
}
|
|
42775
|
+
return createChainableTypeChecker(validate);
|
|
42776
|
+
}
|
|
42777
|
+
function createElementTypeTypeChecker() {
|
|
42778
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
42779
|
+
var propValue = props[propName];
|
|
42780
|
+
if (!ReactIs.isValidElementType(propValue)) {
|
|
42781
|
+
var propType2 = getPropType(propValue);
|
|
42782
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType2 + "` supplied to `" + componentName + "`, expected a single ReactElement type."));
|
|
42783
|
+
}
|
|
42784
|
+
return null;
|
|
42785
|
+
}
|
|
42786
|
+
return createChainableTypeChecker(validate);
|
|
42787
|
+
}
|
|
42788
|
+
function createInstanceTypeChecker(expectedClass) {
|
|
42789
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
42790
|
+
if (!(props[propName] instanceof expectedClass)) {
|
|
42791
|
+
var expectedClassName = expectedClass.name || ANONYMOUS;
|
|
42792
|
+
var actualClassName = getClassName(props[propName]);
|
|
42793
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + actualClassName + "` supplied to `" + componentName + "`, expected ") + ("instance of `" + expectedClassName + "`."));
|
|
42794
|
+
}
|
|
42795
|
+
return null;
|
|
42796
|
+
}
|
|
42797
|
+
return createChainableTypeChecker(validate);
|
|
42798
|
+
}
|
|
42799
|
+
function createEnumTypeChecker(expectedValues) {
|
|
42800
|
+
if (!Array.isArray(expectedValues)) {
|
|
42801
|
+
if (process.env.NODE_ENV !== "production") {
|
|
42802
|
+
if (arguments.length > 1) {
|
|
42803
|
+
printWarning(
|
|
42804
|
+
"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])."
|
|
42805
|
+
);
|
|
42806
|
+
} else {
|
|
42807
|
+
printWarning("Invalid argument supplied to oneOf, expected an array.");
|
|
42808
|
+
}
|
|
42809
|
+
}
|
|
42810
|
+
return emptyFunctionThatReturnsNull;
|
|
42811
|
+
}
|
|
42812
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
42813
|
+
var propValue = props[propName];
|
|
42814
|
+
for (var i2 = 0; i2 < expectedValues.length; i2++) {
|
|
42815
|
+
if (is(propValue, expectedValues[i2])) {
|
|
42816
|
+
return null;
|
|
42817
|
+
}
|
|
42818
|
+
}
|
|
42819
|
+
var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
|
|
42820
|
+
var type = getPreciseType(value);
|
|
42821
|
+
if (type === "symbol") {
|
|
42822
|
+
return String(value);
|
|
42823
|
+
}
|
|
42824
|
+
return value;
|
|
42825
|
+
});
|
|
42826
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of value `" + String(propValue) + "` " + ("supplied to `" + componentName + "`, expected one of " + valuesString + "."));
|
|
42827
|
+
}
|
|
42828
|
+
return createChainableTypeChecker(validate);
|
|
42829
|
+
}
|
|
42830
|
+
function createObjectOfTypeChecker(typeChecker) {
|
|
42831
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
42832
|
+
if (typeof typeChecker !== "function") {
|
|
42833
|
+
return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside objectOf.");
|
|
42834
|
+
}
|
|
42835
|
+
var propValue = props[propName];
|
|
42836
|
+
var propType2 = getPropType(propValue);
|
|
42837
|
+
if (propType2 !== "object") {
|
|
42838
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType2 + "` supplied to `" + componentName + "`, expected an object."));
|
|
42839
|
+
}
|
|
42840
|
+
for (var key in propValue) {
|
|
42841
|
+
if (has2(propValue, key)) {
|
|
42842
|
+
var error = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
|
|
42843
|
+
if (error instanceof Error) {
|
|
42844
|
+
return error;
|
|
42845
|
+
}
|
|
42846
|
+
}
|
|
42847
|
+
}
|
|
42848
|
+
return null;
|
|
42849
|
+
}
|
|
42850
|
+
return createChainableTypeChecker(validate);
|
|
42851
|
+
}
|
|
42852
|
+
function createUnionTypeChecker(arrayOfTypeCheckers) {
|
|
42853
|
+
if (!Array.isArray(arrayOfTypeCheckers)) {
|
|
42854
|
+
process.env.NODE_ENV !== "production" ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
|
|
42855
|
+
return emptyFunctionThatReturnsNull;
|
|
42856
|
+
}
|
|
42857
|
+
for (var i2 = 0; i2 < arrayOfTypeCheckers.length; i2++) {
|
|
42858
|
+
var checker = arrayOfTypeCheckers[i2];
|
|
42859
|
+
if (typeof checker !== "function") {
|
|
42860
|
+
printWarning(
|
|
42861
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i2 + "."
|
|
42862
|
+
);
|
|
42863
|
+
return emptyFunctionThatReturnsNull;
|
|
42864
|
+
}
|
|
42865
|
+
}
|
|
42866
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
42867
|
+
var expectedTypes = [];
|
|
42868
|
+
for (var i22 = 0; i22 < arrayOfTypeCheckers.length; i22++) {
|
|
42869
|
+
var checker2 = arrayOfTypeCheckers[i22];
|
|
42870
|
+
var checkerResult = checker2(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
|
|
42871
|
+
if (checkerResult == null) {
|
|
42872
|
+
return null;
|
|
42873
|
+
}
|
|
42874
|
+
if (checkerResult.data && has2(checkerResult.data, "expectedType")) {
|
|
42875
|
+
expectedTypes.push(checkerResult.data.expectedType);
|
|
42876
|
+
}
|
|
42877
|
+
}
|
|
42878
|
+
var expectedTypesMessage = expectedTypes.length > 0 ? ", expected one of type [" + expectedTypes.join(", ") + "]" : "";
|
|
42879
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`" + expectedTypesMessage + "."));
|
|
42880
|
+
}
|
|
42881
|
+
return createChainableTypeChecker(validate);
|
|
42882
|
+
}
|
|
42883
|
+
function createNodeChecker() {
|
|
42884
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
42885
|
+
if (!isNode2(props[propName])) {
|
|
42886
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`, expected a ReactNode."));
|
|
42887
|
+
}
|
|
42888
|
+
return null;
|
|
42889
|
+
}
|
|
42890
|
+
return createChainableTypeChecker(validate);
|
|
42891
|
+
}
|
|
42892
|
+
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
42893
|
+
return new PropTypeError(
|
|
42894
|
+
(componentName || "React class") + ": " + location + " type `" + propFullName + "." + key + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + type + "`."
|
|
42895
|
+
);
|
|
42896
|
+
}
|
|
42897
|
+
function createShapeTypeChecker(shapeTypes) {
|
|
42898
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
42899
|
+
var propValue = props[propName];
|
|
42900
|
+
var propType2 = getPropType(propValue);
|
|
42901
|
+
if (propType2 !== "object") {
|
|
42902
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType2 + "` " + ("supplied to `" + componentName + "`, expected `object`."));
|
|
42903
|
+
}
|
|
42904
|
+
for (var key in shapeTypes) {
|
|
42905
|
+
var checker = shapeTypes[key];
|
|
42906
|
+
if (typeof checker !== "function") {
|
|
42907
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
42908
|
+
}
|
|
42909
|
+
var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
|
|
42910
|
+
if (error) {
|
|
42911
|
+
return error;
|
|
42912
|
+
}
|
|
42913
|
+
}
|
|
42914
|
+
return null;
|
|
42915
|
+
}
|
|
42916
|
+
return createChainableTypeChecker(validate);
|
|
42917
|
+
}
|
|
42918
|
+
function createStrictShapeTypeChecker(shapeTypes) {
|
|
42919
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
42920
|
+
var propValue = props[propName];
|
|
42921
|
+
var propType2 = getPropType(propValue);
|
|
42922
|
+
if (propType2 !== "object") {
|
|
42923
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType2 + "` " + ("supplied to `" + componentName + "`, expected `object`."));
|
|
42924
|
+
}
|
|
42925
|
+
var allKeys = assign2({}, props[propName], shapeTypes);
|
|
42926
|
+
for (var key in allKeys) {
|
|
42927
|
+
var checker = shapeTypes[key];
|
|
42928
|
+
if (has2(shapeTypes, key) && typeof checker !== "function") {
|
|
42929
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
42930
|
+
}
|
|
42931
|
+
if (!checker) {
|
|
42932
|
+
return new PropTypeError(
|
|
42933
|
+
"Invalid " + location + " `" + propFullName + "` key `" + key + "` supplied to `" + componentName + "`.\nBad object: " + JSON.stringify(props[propName], null, " ") + "\nValid keys: " + JSON.stringify(Object.keys(shapeTypes), null, " ")
|
|
42934
|
+
);
|
|
42935
|
+
}
|
|
42936
|
+
var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
|
|
42937
|
+
if (error) {
|
|
42938
|
+
return error;
|
|
42939
|
+
}
|
|
42940
|
+
}
|
|
42941
|
+
return null;
|
|
42942
|
+
}
|
|
42943
|
+
return createChainableTypeChecker(validate);
|
|
42944
|
+
}
|
|
42945
|
+
function isNode2(propValue) {
|
|
42946
|
+
switch (typeof propValue) {
|
|
42947
|
+
case "number":
|
|
42948
|
+
case "string":
|
|
42949
|
+
case "undefined":
|
|
42950
|
+
return true;
|
|
42951
|
+
case "boolean":
|
|
42952
|
+
return !propValue;
|
|
42953
|
+
case "object":
|
|
42954
|
+
if (Array.isArray(propValue)) {
|
|
42955
|
+
return propValue.every(isNode2);
|
|
42956
|
+
}
|
|
42957
|
+
if (propValue === null || isValidElement(propValue)) {
|
|
42958
|
+
return true;
|
|
42959
|
+
}
|
|
42960
|
+
var iteratorFn = getIteratorFn(propValue);
|
|
42961
|
+
if (iteratorFn) {
|
|
42962
|
+
var iterator = iteratorFn.call(propValue);
|
|
42963
|
+
var step;
|
|
42964
|
+
if (iteratorFn !== propValue.entries) {
|
|
42965
|
+
while (!(step = iterator.next()).done) {
|
|
42966
|
+
if (!isNode2(step.value)) {
|
|
42967
|
+
return false;
|
|
42968
|
+
}
|
|
42969
|
+
}
|
|
42970
|
+
} else {
|
|
42971
|
+
while (!(step = iterator.next()).done) {
|
|
42972
|
+
var entry = step.value;
|
|
42973
|
+
if (entry) {
|
|
42974
|
+
if (!isNode2(entry[1])) {
|
|
42975
|
+
return false;
|
|
42976
|
+
}
|
|
42977
|
+
}
|
|
42978
|
+
}
|
|
42979
|
+
}
|
|
42980
|
+
} else {
|
|
42981
|
+
return false;
|
|
42982
|
+
}
|
|
42983
|
+
return true;
|
|
42984
|
+
default:
|
|
42985
|
+
return false;
|
|
42986
|
+
}
|
|
42987
|
+
}
|
|
42988
|
+
function isSymbol(propType2, propValue) {
|
|
42989
|
+
if (propType2 === "symbol") {
|
|
42990
|
+
return true;
|
|
42991
|
+
}
|
|
42992
|
+
if (!propValue) {
|
|
42993
|
+
return false;
|
|
42994
|
+
}
|
|
42995
|
+
if (propValue["@@toStringTag"] === "Symbol") {
|
|
42996
|
+
return true;
|
|
42997
|
+
}
|
|
42998
|
+
if (typeof Symbol === "function" && propValue instanceof Symbol) {
|
|
42999
|
+
return true;
|
|
43000
|
+
}
|
|
43001
|
+
return false;
|
|
43002
|
+
}
|
|
43003
|
+
function getPropType(propValue) {
|
|
43004
|
+
var propType2 = typeof propValue;
|
|
43005
|
+
if (Array.isArray(propValue)) {
|
|
43006
|
+
return "array";
|
|
43007
|
+
}
|
|
43008
|
+
if (propValue instanceof RegExp) {
|
|
43009
|
+
return "object";
|
|
43010
|
+
}
|
|
43011
|
+
if (isSymbol(propType2, propValue)) {
|
|
43012
|
+
return "symbol";
|
|
43013
|
+
}
|
|
43014
|
+
return propType2;
|
|
43015
|
+
}
|
|
43016
|
+
function getPreciseType(propValue) {
|
|
43017
|
+
if (typeof propValue === "undefined" || propValue === null) {
|
|
43018
|
+
return "" + propValue;
|
|
43019
|
+
}
|
|
43020
|
+
var propType2 = getPropType(propValue);
|
|
43021
|
+
if (propType2 === "object") {
|
|
43022
|
+
if (propValue instanceof Date) {
|
|
43023
|
+
return "date";
|
|
43024
|
+
} else if (propValue instanceof RegExp) {
|
|
43025
|
+
return "regexp";
|
|
43026
|
+
}
|
|
43027
|
+
}
|
|
43028
|
+
return propType2;
|
|
43029
|
+
}
|
|
43030
|
+
function getPostfixForTypeWarning(value) {
|
|
43031
|
+
var type = getPreciseType(value);
|
|
43032
|
+
switch (type) {
|
|
43033
|
+
case "array":
|
|
43034
|
+
case "object":
|
|
43035
|
+
return "an " + type;
|
|
43036
|
+
case "boolean":
|
|
43037
|
+
case "date":
|
|
43038
|
+
case "regexp":
|
|
43039
|
+
return "a " + type;
|
|
43040
|
+
default:
|
|
43041
|
+
return type;
|
|
43042
|
+
}
|
|
43043
|
+
}
|
|
43044
|
+
function getClassName(propValue) {
|
|
43045
|
+
if (!propValue.constructor || !propValue.constructor.name) {
|
|
43046
|
+
return ANONYMOUS;
|
|
43047
|
+
}
|
|
43048
|
+
return propValue.constructor.name;
|
|
43049
|
+
}
|
|
43050
|
+
ReactPropTypes.checkPropTypes = checkPropTypes;
|
|
43051
|
+
ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
|
|
43052
|
+
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
43053
|
+
return ReactPropTypes;
|
|
43054
|
+
};
|
|
43055
|
+
return factoryWithTypeCheckers;
|
|
43056
|
+
}
|
|
43057
|
+
var factoryWithThrowingShims;
|
|
43058
|
+
var hasRequiredFactoryWithThrowingShims;
|
|
43059
|
+
function requireFactoryWithThrowingShims() {
|
|
43060
|
+
if (hasRequiredFactoryWithThrowingShims) return factoryWithThrowingShims;
|
|
43061
|
+
hasRequiredFactoryWithThrowingShims = 1;
|
|
43062
|
+
var ReactPropTypesSecret = /* @__PURE__ */ requireReactPropTypesSecret();
|
|
43063
|
+
function emptyFunction() {
|
|
43064
|
+
}
|
|
43065
|
+
function emptyFunctionWithReset() {
|
|
43066
|
+
}
|
|
43067
|
+
emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
|
43068
|
+
factoryWithThrowingShims = function() {
|
|
43069
|
+
function shim(props, propName, componentName, location, propFullName, secret) {
|
|
43070
|
+
if (secret === ReactPropTypesSecret) {
|
|
43071
|
+
return;
|
|
43072
|
+
}
|
|
43073
|
+
var err = new Error(
|
|
43074
|
+
"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"
|
|
43075
|
+
);
|
|
43076
|
+
err.name = "Invariant Violation";
|
|
43077
|
+
throw err;
|
|
43078
|
+
}
|
|
43079
|
+
shim.isRequired = shim;
|
|
43080
|
+
function getShim() {
|
|
43081
|
+
return shim;
|
|
43082
|
+
}
|
|
43083
|
+
var ReactPropTypes = {
|
|
43084
|
+
array: shim,
|
|
43085
|
+
bigint: shim,
|
|
43086
|
+
bool: shim,
|
|
43087
|
+
func: shim,
|
|
43088
|
+
number: shim,
|
|
43089
|
+
object: shim,
|
|
43090
|
+
string: shim,
|
|
43091
|
+
symbol: shim,
|
|
43092
|
+
any: shim,
|
|
43093
|
+
arrayOf: getShim,
|
|
43094
|
+
element: shim,
|
|
43095
|
+
elementType: shim,
|
|
43096
|
+
instanceOf: getShim,
|
|
43097
|
+
node: shim,
|
|
43098
|
+
objectOf: getShim,
|
|
43099
|
+
oneOf: getShim,
|
|
43100
|
+
oneOfType: getShim,
|
|
43101
|
+
shape: getShim,
|
|
43102
|
+
exact: getShim,
|
|
43103
|
+
checkPropTypes: emptyFunctionWithReset,
|
|
43104
|
+
resetWarningCache: emptyFunction
|
|
43105
|
+
};
|
|
43106
|
+
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
43107
|
+
return ReactPropTypes;
|
|
43108
|
+
};
|
|
43109
|
+
return factoryWithThrowingShims;
|
|
43110
|
+
}
|
|
43111
|
+
var hasRequiredPropTypes;
|
|
43112
|
+
function requirePropTypes() {
|
|
43113
|
+
if (hasRequiredPropTypes) return propTypes.exports;
|
|
43114
|
+
hasRequiredPropTypes = 1;
|
|
43115
|
+
if (process.env.NODE_ENV !== "production") {
|
|
43116
|
+
var ReactIs = require$$0;
|
|
43117
|
+
var throwOnDirectAccess = true;
|
|
43118
|
+
propTypes.exports = /* @__PURE__ */ requireFactoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
|
|
43119
|
+
} else {
|
|
43120
|
+
propTypes.exports = /* @__PURE__ */ requireFactoryWithThrowingShims()();
|
|
43121
|
+
}
|
|
43122
|
+
return propTypes.exports;
|
|
43123
|
+
}
|
|
42041
43124
|
var ModalPortal = { exports: {} };
|
|
42042
43125
|
var focusManager = {};
|
|
42043
43126
|
var tabbable = { exports: {} };
|
|
@@ -42050,20 +43133,9 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
42050
43133
|
value: true
|
|
42051
43134
|
});
|
|
42052
43135
|
exports$1.default = findTabbableDescendants;
|
|
42053
|
-
/*!
|
|
42054
|
-
* Adapted from jQuery UI core
|
|
42055
|
-
*
|
|
42056
|
-
* http://jqueryui.com
|
|
42057
|
-
*
|
|
42058
|
-
* Copyright 2014 jQuery Foundation and other contributors
|
|
42059
|
-
* Released under the MIT license.
|
|
42060
|
-
* http://jquery.org/license
|
|
42061
|
-
*
|
|
42062
|
-
* http://api.jqueryui.com/category/ui-core/
|
|
42063
|
-
*/
|
|
42064
43136
|
var DISPLAY_NONE = "none";
|
|
42065
43137
|
var DISPLAY_CONTENTS = "contents";
|
|
42066
|
-
var tabbableNode =
|
|
43138
|
+
var tabbableNode = /^(input|select|textarea|button|object|iframe)$/;
|
|
42067
43139
|
function isNotOverflowing(element, style) {
|
|
42068
43140
|
return style.getPropertyValue("overflow") !== "visible" || // if 'overflow: visible' set, check if there is actually any overflow
|
|
42069
43141
|
element.scrollWidth <= 0 && element.scrollHeight <= 0;
|
|
@@ -42684,7 +43756,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
42684
43756
|
};
|
|
42685
43757
|
})();
|
|
42686
43758
|
var _react = React;
|
|
42687
|
-
var _propTypes = requirePropTypes();
|
|
43759
|
+
var _propTypes = /* @__PURE__ */ requirePropTypes();
|
|
42688
43760
|
var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
42689
43761
|
var _focusManager = requireFocusManager();
|
|
42690
43762
|
var focusManager2 = _interopRequireWildcard(_focusManager);
|
|
@@ -43171,7 +44243,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
43171
44243
|
var _react2 = _interopRequireDefault(_react);
|
|
43172
44244
|
var _reactDom = ReactDOM;
|
|
43173
44245
|
var _reactDom2 = _interopRequireDefault(_reactDom);
|
|
43174
|
-
var _propTypes = requirePropTypes();
|
|
44246
|
+
var _propTypes = /* @__PURE__ */ requirePropTypes();
|
|
43175
44247
|
var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
43176
44248
|
var _ModalPortal = requireModalPortal();
|
|
43177
44249
|
var _ModalPortal2 = _interopRequireDefault(_ModalPortal);
|
|
@@ -43465,7 +44537,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
43465
44537
|
const ModalFooter = styledComponents.styled.div(({ theme }) => ({
|
|
43466
44538
|
position: "relative",
|
|
43467
44539
|
padding: `${theme.space.x2} ${theme.space.x3}`,
|
|
43468
|
-
backgroundColor: curriedTransparentize(0.1, theme.colors.white),
|
|
44540
|
+
backgroundColor: curriedTransparentize$1(0.1, theme.colors.white),
|
|
43469
44541
|
zIndex: theme.zIndices.modalHeaderAndFooter,
|
|
43470
44542
|
borderRadius: `0 0 ${theme.radii.medium} ${theme.radii.medium}`,
|
|
43471
44543
|
"&:after": {
|
|
@@ -43483,7 +44555,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
43483
44555
|
const ModalHeader = styledComponents.styled.div(({ hasCloseButton, theme }) => ({
|
|
43484
44556
|
position: "relative",
|
|
43485
44557
|
padding: `${theme.space.x2} ${getHeaderPaddingRight(hasCloseButton, theme)} ${theme.space.x2} ${theme.space.x3}`,
|
|
43486
|
-
backgroundColor: curriedTransparentize(0.1, theme.colors.white),
|
|
44558
|
+
backgroundColor: curriedTransparentize$1(0.1, theme.colors.white),
|
|
43487
44559
|
zIndex: theme.zIndices.modalHeaderAndFooter,
|
|
43488
44560
|
borderRadius: `${theme.radii.medium} ${theme.radii.medium} 0 0`,
|
|
43489
44561
|
"&:after": {
|
|
@@ -43511,7 +44583,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
43511
44583
|
display: "flex",
|
|
43512
44584
|
justifyContent: "center",
|
|
43513
44585
|
alignItems: "center",
|
|
43514
|
-
backgroundColor: curriedTransparentize(0.5, theme.colors.blackBlue),
|
|
44586
|
+
backgroundColor: curriedTransparentize$1(0.5, theme.colors.blackBlue),
|
|
43515
44587
|
zIndex: theme.zIndices.overlay
|
|
43516
44588
|
});
|
|
43517
44589
|
const StyledReactModal = styledComponents.styled(ReactModal)(
|
|
@@ -44666,7 +45738,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
44666
45738
|
}
|
|
44667
45739
|
`;
|
|
44668
45740
|
const Button = React.forwardRef(
|
|
44669
|
-
({ onPointerEnter
|
|
45741
|
+
({ onPointerEnter, onPointerLeave, onPointerMove, ...props }, forwardedRef) => {
|
|
44670
45742
|
return /* @__PURE__ */ jsxRuntime.jsx("button", { ...props, ref: forwardedRef });
|
|
44671
45743
|
}
|
|
44672
45744
|
);
|
|
@@ -47284,16 +48356,16 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
47284
48356
|
return I18n2;
|
|
47285
48357
|
})(EventEmitter);
|
|
47286
48358
|
var i18next = new I18n();
|
|
47287
|
-
const close$
|
|
47288
|
-
const next$
|
|
47289
|
-
const open$
|
|
47290
|
-
const previous$
|
|
47291
|
-
const select$
|
|
47292
|
-
const more$
|
|
48359
|
+
const close$a = "Schließen";
|
|
48360
|
+
const next$a = "Weiter";
|
|
48361
|
+
const open$a = "Öffnen";
|
|
48362
|
+
const previous$a = "Vorherig";
|
|
48363
|
+
const select$a = "Wählen";
|
|
48364
|
+
const more$a = "Mehr";
|
|
47293
48365
|
const de_DE = {
|
|
47294
48366
|
"close menu": "Menü schließen",
|
|
47295
48367
|
"menu options": "Menüoptionen",
|
|
47296
|
-
close: close$
|
|
48368
|
+
close: close$a,
|
|
47297
48369
|
"collapse row": "Zeile verbergen",
|
|
47298
48370
|
"date range": "Datumsbereich",
|
|
47299
48371
|
"deselect all rows": "Alle Zeilen deselektieren",
|
|
@@ -47311,15 +48383,15 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
47311
48383
|
"go to": "Wechseln zu",
|
|
47312
48384
|
"hide actions": "Aktionen verbergen",
|
|
47313
48385
|
"month range": "Monatsbereich",
|
|
47314
|
-
next: next$
|
|
48386
|
+
next: next$a,
|
|
47315
48387
|
"open menu": "Menü öffnen",
|
|
47316
|
-
open: open$
|
|
48388
|
+
open: open$a,
|
|
47317
48389
|
"pagination navigation": "Nummerierungs-Navigation",
|
|
47318
|
-
previous: previous$
|
|
48390
|
+
previous: previous$a,
|
|
47319
48391
|
"primary navigation": "Primäre Navigation",
|
|
47320
48392
|
"search nulogy": "Nulogy suchen...",
|
|
47321
48393
|
"secondary navigation": "Sekundäre Navigation",
|
|
47322
|
-
select: select$
|
|
48394
|
+
select: select$a,
|
|
47323
48395
|
"start typing": "Anfangen zu tippen",
|
|
47324
48396
|
"select a start date": "Ein Startdatum wählen",
|
|
47325
48397
|
"select a start month": "Einen Startmonat wählen",
|
|
@@ -47337,7 +48409,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
47337
48409
|
"weekPicker date format": "'KW'ww - d. MMM yyyy",
|
|
47338
48410
|
"weekPicker placeholder": "KW52 - 31. Dez 2023",
|
|
47339
48411
|
"week shorthand": "KW",
|
|
47340
|
-
more: more$
|
|
48412
|
+
more: more$a,
|
|
47341
48413
|
"no options": "Keine Optionen",
|
|
47342
48414
|
"nulogy logo": "Nulogy-Logo",
|
|
47343
48415
|
"toggle user menu": "Benutzer-Menü umschalten",
|
|
@@ -47353,16 +48425,16 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
47353
48425
|
"supplier collaboration app description": "Arbeiten Sie in Echtzeit mit Partnern im Lieferkettennetzwerk zusammen, um Transparenz und Reaktionsfähigkeit zu verbessern",
|
|
47354
48426
|
"smart factory app description": "Automatisieren Sie die Maschinendatenerfassung, um Ausfallzeiten zu reduzieren und den Produktionsdurchsatz zu verbessern"
|
|
47355
48427
|
};
|
|
47356
|
-
const close$
|
|
47357
|
-
const next$
|
|
47358
|
-
const open$
|
|
47359
|
-
const previous$
|
|
47360
|
-
const select$
|
|
47361
|
-
const more$
|
|
48428
|
+
const close$9 = "Close";
|
|
48429
|
+
const next$9 = "Next";
|
|
48430
|
+
const open$9 = "Open";
|
|
48431
|
+
const previous$9 = "Previous";
|
|
48432
|
+
const select$9 = "Select";
|
|
48433
|
+
const more$9 = "More";
|
|
47362
48434
|
const en_US = {
|
|
47363
48435
|
"close menu": "Close menu",
|
|
47364
48436
|
"menu options": "Menu options",
|
|
47365
|
-
close: close$
|
|
48437
|
+
close: close$9,
|
|
47366
48438
|
"collapse row": "Collapse row",
|
|
47367
48439
|
"date range": "Date range",
|
|
47368
48440
|
"deselect all rows": "Deselect all rows",
|
|
@@ -47381,15 +48453,15 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
47381
48453
|
"hide actions": "Hide actions",
|
|
47382
48454
|
"no options": "No options",
|
|
47383
48455
|
"month range": "Month range",
|
|
47384
|
-
next: next$
|
|
48456
|
+
next: next$9,
|
|
47385
48457
|
"open menu": "Open menu",
|
|
47386
|
-
open: open$
|
|
48458
|
+
open: open$9,
|
|
47387
48459
|
"pagination navigation": "Pagination navigation",
|
|
47388
|
-
previous: previous$
|
|
48460
|
+
previous: previous$9,
|
|
47389
48461
|
"primary navigation": "Primary navigation",
|
|
47390
48462
|
"search nulogy": "Search Nulogy...",
|
|
47391
48463
|
"secondary navigation": "Secondary navigation",
|
|
47392
|
-
select: select$
|
|
48464
|
+
select: select$9,
|
|
47393
48465
|
"start typing": "Start typing",
|
|
47394
48466
|
"select a start date": "Select a start date",
|
|
47395
48467
|
"select a start month": "Select a start month",
|
|
@@ -47407,7 +48479,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
47407
48479
|
"weekPicker date format": "'W'ww - MMM d, yyyy",
|
|
47408
48480
|
"weekPicker placeholder": "W52 - Dec 31, 2023",
|
|
47409
48481
|
"week shorthand": "W",
|
|
47410
|
-
more: more$
|
|
48482
|
+
more: more$9,
|
|
47411
48483
|
"nulogy logo": "Nulogy logo",
|
|
47412
48484
|
"toggle user menu": "Toggle user menu",
|
|
47413
48485
|
"user menu": "User menu",
|
|
@@ -47422,16 +48494,16 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
47422
48494
|
"supplier collaboration app description": "Collaborate in real time with supply chain network partners for enhanced visibility and responsiveness",
|
|
47423
48495
|
"smart factory app description": "Automate machine data capture to reduce downtime and improve production throughput"
|
|
47424
48496
|
};
|
|
47425
|
-
const close$
|
|
47426
|
-
const next$
|
|
47427
|
-
const open$
|
|
47428
|
-
const previous$
|
|
47429
|
-
const select$
|
|
47430
|
-
const more$
|
|
48497
|
+
const close$8 = "Cerrar";
|
|
48498
|
+
const next$8 = "Siguiente";
|
|
48499
|
+
const open$8 = "Abrir";
|
|
48500
|
+
const previous$8 = "Anterior";
|
|
48501
|
+
const select$8 = "Seleccionar";
|
|
48502
|
+
const more$8 = "Más";
|
|
47431
48503
|
const es_ES = {
|
|
47432
48504
|
"close menu": "Cerrar menú",
|
|
47433
48505
|
"menu options": "Opciones del menú",
|
|
47434
|
-
close: close$
|
|
48506
|
+
close: close$8,
|
|
47435
48507
|
"collapse row": "Contraer fila",
|
|
47436
48508
|
"date range": "Rango de fechas",
|
|
47437
48509
|
"deselect all rows": "Deseleccionar todas las filas",
|
|
@@ -47449,15 +48521,15 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
47449
48521
|
"go to": "Ir a",
|
|
47450
48522
|
"hide actions": "Ocultar acciones",
|
|
47451
48523
|
"month range": "Rango de meses",
|
|
47452
|
-
next: next$
|
|
48524
|
+
next: next$8,
|
|
47453
48525
|
"open menu": "Abrir menú",
|
|
47454
|
-
open: open$
|
|
48526
|
+
open: open$8,
|
|
47455
48527
|
"pagination navigation": "Navegación de paginación",
|
|
47456
|
-
previous: previous$
|
|
48528
|
+
previous: previous$8,
|
|
47457
48529
|
"primary navigation": "Navegación principal",
|
|
47458
48530
|
"search nulogy": "Buscar en Nulogy...",
|
|
47459
48531
|
"secondary navigation": "Navegación secundaria",
|
|
47460
|
-
select: select$
|
|
48532
|
+
select: select$8,
|
|
47461
48533
|
"start typing": "Empieza a escribir",
|
|
47462
48534
|
"select a start date": "Selecciona una fecha de inicio",
|
|
47463
48535
|
"select a start month": "Selecciona un mes de inicio",
|
|
@@ -47475,7 +48547,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
47475
48547
|
"weekPicker date format": "'S'ww - d MMM, yyyy",
|
|
47476
48548
|
"weekPicker placeholder": "S52 - 31 dic, 2023",
|
|
47477
48549
|
"week shorthand": "S",
|
|
47478
|
-
more: more$
|
|
48550
|
+
more: more$8,
|
|
47479
48551
|
"no options": "Sin opciones",
|
|
47480
48552
|
"nulogy logo": "Logo de Nulogy",
|
|
47481
48553
|
"toggle user menu": "Alternar menú de usuario",
|
|
@@ -47491,6 +48563,75 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
47491
48563
|
"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",
|
|
47492
48564
|
"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"
|
|
47493
48565
|
};
|
|
48566
|
+
const close$7 = "閉じる";
|
|
48567
|
+
const next$7 = "次へ";
|
|
48568
|
+
const open$7 = "開く";
|
|
48569
|
+
const previous$7 = "前へ";
|
|
48570
|
+
const select$7 = "選択";
|
|
48571
|
+
const more$7 = "もっと見る";
|
|
48572
|
+
const ja_JP = {
|
|
48573
|
+
"close menu": "メニューを閉じる",
|
|
48574
|
+
"menu options": "メニューオプション",
|
|
48575
|
+
close: close$7,
|
|
48576
|
+
"collapse row": "行を折りたたむ",
|
|
48577
|
+
"date range": "日付範囲",
|
|
48578
|
+
"deselect all rows": "すべての行の選択を解除",
|
|
48579
|
+
"deselect row": "行の選択を解除",
|
|
48580
|
+
"end date is before start date": "終了日が開始日より前です",
|
|
48581
|
+
"end month is before start month": "終了月が開始月より前です",
|
|
48582
|
+
"end time is before start time": "終了時刻が開始時刻より前です",
|
|
48583
|
+
"expand row": "行を展開する",
|
|
48584
|
+
"go to previous year": "前年に移動",
|
|
48585
|
+
"go to next year": "翌年に移動",
|
|
48586
|
+
"go to next results": "次の結果に移動",
|
|
48587
|
+
"go to page": "{{count}}ページに移動",
|
|
48588
|
+
"current page of total": "{{totalPages}}ページ中{{currentPage}}ページ",
|
|
48589
|
+
"go to previous results": "前の結果に移動",
|
|
48590
|
+
"go to": "移動",
|
|
48591
|
+
"hide actions": "アクションを非表示",
|
|
48592
|
+
"no options": "オプションなし",
|
|
48593
|
+
"month range": "月範囲",
|
|
48594
|
+
next: next$7,
|
|
48595
|
+
"open menu": "メニューを開く",
|
|
48596
|
+
open: open$7,
|
|
48597
|
+
"pagination navigation": "ページネーション",
|
|
48598
|
+
previous: previous$7,
|
|
48599
|
+
"primary navigation": "メインナビゲーション",
|
|
48600
|
+
"search nulogy": "Nulogy内を検索…",
|
|
48601
|
+
"secondary navigation": "サブナビゲーション",
|
|
48602
|
+
select: select$7,
|
|
48603
|
+
"start typing": "入力を開始",
|
|
48604
|
+
"select a start date": "開始日を選択",
|
|
48605
|
+
"select a start month": "開始月を選択",
|
|
48606
|
+
"select a start time": "開始時刻を選択",
|
|
48607
|
+
"select a time": "時刻を選択",
|
|
48608
|
+
"select all rows": "すべての行を選択",
|
|
48609
|
+
"select an end date": "終了日を選択",
|
|
48610
|
+
"select an end month": "終了月を選択",
|
|
48611
|
+
"select an end time": "終了時刻を選択",
|
|
48612
|
+
"select row": "行を選択",
|
|
48613
|
+
"show actions": "アクションを表示",
|
|
48614
|
+
"sort ascending": "昇順で並べ替え",
|
|
48615
|
+
"sort descending": "降順で並べ替え",
|
|
48616
|
+
"time range": "時間範囲",
|
|
48617
|
+
"weekPicker date format": "'W'ww - yyyy年M月d日",
|
|
48618
|
+
"weekPicker placeholder": "W52 - 2023年12月31日",
|
|
48619
|
+
"week shorthand": "W",
|
|
48620
|
+
more: more$7,
|
|
48621
|
+
"nulogy logo": "Nulogyロゴ",
|
|
48622
|
+
"toggle user menu": "ユーザーメニューの切り替え",
|
|
48623
|
+
"user menu": "ユーザーメニュー",
|
|
48624
|
+
"toggle app switcher": "アプリスイッチャー",
|
|
48625
|
+
"app switcher": "アプリ切り替え",
|
|
48626
|
+
"toggle mobile menu": "モバイルメニューの切り替え",
|
|
48627
|
+
"connections app description": "セルフサービスのローコード/ノーコードツールで社内、顧客、サプライヤーのシステムを接続",
|
|
48628
|
+
"data app description": "分析と意思決定のためのビジネスデータへの直接アクセス",
|
|
48629
|
+
"digital quality inspection app description": "タブレットベースの検査、電子署名、完全な監査証跡で品質チェックをデジタル化",
|
|
48630
|
+
"production scheduling app description": "需要、ダウンタイム、稼働率などを使用して生産スケジュールを可視化・最適化",
|
|
48631
|
+
"shop floor control app description": "現場オペレーションを管理し、可視性、スピード、運用効率を向上",
|
|
48632
|
+
"supplier collaboration app description": "サプライチェーンネットワークパートナーとリアルタイムで連携し、可視性と対応力を強化",
|
|
48633
|
+
"smart factory app description": "機械データの自動収集によりダウンタイムを削減し、生産スループットを改善"
|
|
48634
|
+
};
|
|
47494
48635
|
const close$6 = "Cerrar";
|
|
47495
48636
|
const next$6 = "Siguiente";
|
|
47496
48637
|
const open$6 = "Abrir";
|
|
@@ -47990,6 +49131,9 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
47990
49131
|
fr_FR: {
|
|
47991
49132
|
nds: fr_FR
|
|
47992
49133
|
},
|
|
49134
|
+
ja_JP: {
|
|
49135
|
+
nds: ja_JP
|
|
49136
|
+
},
|
|
47993
49137
|
nl_NL: {
|
|
47994
49138
|
nds: nl_NL
|
|
47995
49139
|
},
|
|
@@ -49191,7 +50335,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
49191
50335
|
right: 0,
|
|
49192
50336
|
bottom: 0,
|
|
49193
50337
|
zIndex: theme.zIndices.overlay,
|
|
49194
|
-
backgroundColor: dark ? curriedTransparentize(0.5, theme.colors.blackBlue) : curriedTransparentize(0.05, theme.colors.white)
|
|
50338
|
+
backgroundColor: dark ? curriedTransparentize$1(0.5, theme.colors.blackBlue) : curriedTransparentize$1(0.05, theme.colors.white)
|
|
49195
50339
|
}));
|
|
49196
50340
|
const getHoverBackground = (currentPage, disabled, theme) => {
|
|
49197
50341
|
if (currentPage) {
|
|
@@ -49479,8 +50623,8 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
49479
50623
|
const Radio = React.forwardRef(
|
|
49480
50624
|
({ disabled = false, error = false, required = false, className, labelText, checked, variant: variant2, ...props }, ref) => {
|
|
49481
50625
|
const componentVariant = useComponentVariant(variant2);
|
|
49482
|
-
const spaceProps = getSubset(props, propTypes$
|
|
49483
|
-
const restProps = omitSubset(props, propTypes$
|
|
50626
|
+
const spaceProps = getSubset(props, propTypes$2.space);
|
|
50627
|
+
const restProps = omitSubset(props, propTypes$2.space);
|
|
49484
50628
|
return /* @__PURE__ */ jsxRuntime.jsx(Box, { position: "relative", className, px: "0", ...spaceProps, children: /* @__PURE__ */ jsxRuntime.jsxs(ClickInputLabel, { variant: componentVariant, disabled, children: [
|
|
49485
50629
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
49486
50630
|
RadioInput,
|
|
@@ -50848,7 +51992,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
50848
51992
|
columns: addExpandableColumn(props)
|
|
50849
51993
|
});
|
|
50850
51994
|
const propNames = [
|
|
50851
|
-
...Object.keys(propTypes$
|
|
51995
|
+
...Object.keys(propTypes$2.space),
|
|
50852
51996
|
"columns",
|
|
50853
51997
|
"rows",
|
|
50854
51998
|
"noRowsContent",
|
|
@@ -51801,7 +52945,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
51801
52945
|
}
|
|
51802
52946
|
render() {
|
|
51803
52947
|
const { className } = this.props;
|
|
51804
|
-
const spaceProps = getSubset(this.props, propTypes$
|
|
52948
|
+
const spaceProps = getSubset(this.props, propTypes$2.space);
|
|
51805
52949
|
return /* @__PURE__ */ jsxRuntime.jsxs(Box, { position: "relative", children: [
|
|
51806
52950
|
/* @__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(
|
|
51807
52951
|
TabContainer,
|
|
@@ -51834,7 +52978,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
51834
52978
|
};
|
|
51835
52979
|
const textareaStyles = (theme) => ({
|
|
51836
52980
|
disabled: {
|
|
51837
|
-
color: curriedTransparentize(0.33, theme.colors.black),
|
|
52981
|
+
color: curriedTransparentize$1(0.33, theme.colors.black),
|
|
51838
52982
|
borderColor: theme.colors.lightGrey,
|
|
51839
52983
|
backgroundColor: theme.colors.whiteGrey
|
|
51840
52984
|
},
|
|
@@ -51876,7 +53020,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
51876
53020
|
boxShadow: theme.shadows.focus
|
|
51877
53021
|
},
|
|
51878
53022
|
"::placeholder": {
|
|
51879
|
-
color: curriedTransparentize(0.4, theme.colors.black)
|
|
53023
|
+
color: curriedTransparentize$1(0.4, theme.colors.black)
|
|
51880
53024
|
},
|
|
51881
53025
|
padding: `${subPx(theme.space.x1)}`
|
|
51882
53026
|
}),
|
|
@@ -51908,8 +53052,8 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
51908
53052
|
...props
|
|
51909
53053
|
}, ref) => {
|
|
51910
53054
|
const componentVariant = useComponentVariant(variant2);
|
|
51911
|
-
const spaceProps = getSubset(props, propTypes$
|
|
51912
|
-
const restProps = omitSubset(props, propTypes$
|
|
53055
|
+
const spaceProps = getSubset(props, propTypes$2.space);
|
|
53056
|
+
const restProps = omitSubset(props, propTypes$2.space);
|
|
51913
53057
|
return /* @__PURE__ */ jsxRuntime.jsxs(Field, { className, ...spaceProps, children: [
|
|
51914
53058
|
/* @__PURE__ */ jsxRuntime.jsx(MaybeFieldLabel, { labelText, requirementText, helpText, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
51915
53059
|
StyledTextarea,
|
|
@@ -52727,8 +53871,8 @@ to {
|
|
|
52727
53871
|
...props
|
|
52728
53872
|
}, ref) => {
|
|
52729
53873
|
const componentVariant = useComponentVariant(variant2);
|
|
52730
|
-
const spaceProps = getSubset(props, propTypes$
|
|
52731
|
-
const restProps = omitSubset(props, propTypes$
|
|
53874
|
+
const spaceProps = getSubset(props, propTypes$2.space);
|
|
53875
|
+
const restProps = omitSubset(props, propTypes$2.space);
|
|
52732
53876
|
React.useEffect(() => {
|
|
52733
53877
|
if (defaultToggled) {
|
|
52734
53878
|
console.warn("defaultToggled is deprecated. Use checked instead.");
|
|
@@ -52819,7 +53963,7 @@ to {
|
|
|
52819
53963
|
borderBottomWidth: "1px",
|
|
52820
53964
|
borderBottomStyle: "solid",
|
|
52821
53965
|
borderBottomColor: theme.colors.lightGrey,
|
|
52822
|
-
background: curriedTransparentize(0.4, theme.colors.white),
|
|
53966
|
+
background: curriedTransparentize$1(0.4, theme.colors.white),
|
|
52823
53967
|
backdropFilter: "blur(8px)",
|
|
52824
53968
|
width: "100dvw"
|
|
52825
53969
|
}));
|
|
@@ -52897,10 +54041,10 @@ to {
|
|
|
52897
54041
|
display: "flex",
|
|
52898
54042
|
alignItems: "flex-start",
|
|
52899
54043
|
justifyContent: "flex-end",
|
|
52900
|
-
backgroundColor: curriedTransparentize(0.85, theme.colors.white)
|
|
54044
|
+
backgroundColor: curriedTransparentize$1(0.85, theme.colors.white)
|
|
52901
54045
|
}));
|
|
52902
54046
|
const TileLink = styledComponents.styled.a(({ theme }) => ({
|
|
52903
|
-
backgroundColor: curriedTransparentize(0.15)(theme.colors.blackBlue),
|
|
54047
|
+
backgroundColor: curriedTransparentize$1(0.15)(theme.colors.blackBlue),
|
|
52904
54048
|
borderRadius: theme.radii.large,
|
|
52905
54049
|
display: "flex",
|
|
52906
54050
|
height: "100%",
|