@preply/ds-docs 8.0.0 → 8.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{00.LayoutFlex.stories-Trn9fl1r.js → 00.LayoutFlex.stories-CJPNUukL.js} +1 -1
- package/dist/assets/{00.applications-DgG50o0h.js → 00.applications-CHoFW9PY.js} +1 -1
- package/dist/assets/{00.favicons.guide-BPbT_6WU.js → 00.favicons.guide-m8NVYXUO.js} +1 -1
- package/dist/assets/{00.token-explorer-ClCpyqpc.js → 00.token-explorer-S06gFTVo.js} +5 -5
- package/dist/assets/{00.using-responsive-props-Bb1iomQW.js → 00.using-responsive-props-DNiUCUtO.js} +1 -1
- package/dist/assets/{01.semantic-tokens-C27rrlvA.js → 01.semantic-tokens-BNmRyCQI.js} +1 -1
- package/dist/assets/{01.using-shorthand-props-Cx8UqLGh.js → 01.using-shorthand-props-CSbd7ZDD.js} +1 -1
- package/dist/assets/{10.Combinations.stories-DW0Awy7g.js → 10.Combinations.stories-Bf4zAY3P.js} +1 -1
- package/dist/assets/{10.fonts.guide-mlrpbwOs.js → 10.fonts.guide-BktEG4ph.js} +1 -1
- package/dist/assets/{10.ssr-Bxv1R5s2.js → 10.ssr-BbwK7fWg.js} +1 -1
- package/dist/assets/{11.languageFont.explorer.stories-CduWkRQi.js → 11.languageFont.explorer.stories-lwnDMUWi.js} +1 -1
- package/dist/assets/{11.ssr.app-router-DaFyxoYP.js → 11.ssr.app-router-BXgcsgaV.js} +1 -1
- package/dist/assets/{20.libraries-B1FxeNSm.js → 20.libraries-BKoiVKcg.js} +1 -1
- package/dist/assets/{2025-q4-ds-cleanup-CyVfiEF_.js → 2025-q4-ds-cleanup-C20R7P1E.js} +1 -1
- package/dist/assets/{30.icons.explorer-J5XXpjOy.js → 30.icons.explorer-C6gqZfEw.js} +1 -1
- package/dist/assets/{30.storybook-BXPxdYYA.js → 30.storybook-BU086d_1.js} +1 -1
- package/dist/assets/{40.illustrations.explorer-Ll2UaYWn.js → 40.illustrations.explorer-sGKyZB80.js} +1 -1
- package/dist/assets/{90.advanced-BkBCaIij.js → 90.advanced-C3TfwIci.js} +1 -1
- package/dist/assets/Accordion-DBIXJNVb.css +1 -0
- package/dist/assets/Accordion-DtRani72.js +23 -0
- package/dist/assets/{Accordion.stories-CwmuD6M9.js → Accordion.stories-BDpMgJHx.js} +1 -1
- package/dist/assets/{Accordion.tests.stories-DycRaTsm.js → Accordion.tests.stories-LbLhGVb0.js} +1 -1
- package/dist/assets/{AlertDialog.stories-CMG96OPW.js → AlertDialog.stories-CK0mLbh0.js} +13 -10
- package/dist/assets/Avatar-BPcCbrhe.js +6 -0
- package/dist/assets/{Avatar.stories-DcHCuUcU.js → Avatar.stories-BilrA2xu.js} +1 -1
- package/dist/assets/AvatarWithStatus.stories-BaukENZ_.js +41 -0
- package/dist/assets/Badge.stories-BrRB7hv6.js +89 -0
- package/dist/assets/Box.stories-hA85wpDP.js +44 -0
- package/dist/assets/BubbleCounter.stories-DB1-aaBe.js +242 -0
- package/dist/assets/Button-AikOy3Q-.js +18 -0
- package/dist/assets/{Button-Db3mZeHX.js → Button-BYz70lft.js} +1 -1
- package/dist/assets/{Button.stories-DZXg3fC6.js → Button.stories-CsWOdTeh.js} +1 -1
- package/dist/assets/{ButtonBase-LoF75NjE.js → ButtonBase-DKiQXFbP.js} +8 -1
- package/dist/assets/Checkbox-eYnPJ1-n.js +10 -0
- package/dist/assets/{Checkbox.stories-Wzzjomc-.js → Checkbox.stories-xBzyhd_f.js} +1 -1
- package/dist/assets/{Checkbox.tests.stories-CGPErtLg.js → Checkbox.tests.stories-Df-iD-u1.js} +1 -1
- package/dist/assets/Chips.stories-BaqCiRQG.js +146 -0
- package/dist/assets/{Color-ASIRERSW-B8huhEry.js → Color-ASIRERSW-DD8eAgj9.js} +1 -1
- package/dist/assets/{ComposingPopovers.stories-CYrydDT0.js → ComposingPopovers.stories-CFwmQp8K.js} +1 -1
- package/dist/assets/CountryFlag-DZQJZn_o.js +49 -0
- package/dist/assets/{CountryFlag.stories-CV_Ix2uc.js → CountryFlag.stories-C8Mc1_yd.js} +1 -1
- package/dist/assets/{CountryFlag.test.stories-D-_jZuZ1.js → CountryFlag.test.stories-DCuw0NAk.js} +1 -1
- package/dist/assets/Dialog-CD2H-lOB.js +39 -0
- package/dist/assets/{Dialog.stories-CLAeCRCv.js → Dialog.stories-DvfkWMTU.js} +1 -1
- package/dist/assets/DismissibleChips-B-j7Gjee.js +1 -0
- package/dist/assets/{DismissibleChips.stories-DYuvYDPR.js → DismissibleChips.stories-CTxymGab.js} +1 -1
- package/dist/assets/Divider-DiDaDI5b.js +1 -0
- package/dist/assets/{Divider.stories-DY-9haru.js → Divider.stories-DyOj8not.js} +1 -1
- package/dist/assets/{DocsRenderer-GHJI37HO-ZaAnf_mS.js → DocsRenderer-GHJI37HO-BxbQ2XBy.js} +2 -2
- package/dist/assets/DropdownMenu-Ccl6S3ye.js +1229 -0
- package/dist/assets/{DropdownMenu.stories-DRc0OM4l.js → DropdownMenu.stories-Cs1jjQWO.js} +1 -1
- package/dist/assets/FieldButton-DtWX-vqw.js +1 -0
- package/dist/assets/{FieldButton.stories-0iohAlVk.js → FieldButton.stories-DK9G7fSy.js} +1 -1
- package/dist/assets/FormControl-BLXEVBx7.js +7 -0
- package/dist/assets/{FormControl.stories-B-wRzqin.js → FormControl.stories-CASS1xGU.js} +1 -1
- package/dist/assets/Heading-D0lR4rid.js +1 -0
- package/dist/assets/{Heading.stories-C--u6-XB.js → Heading.stories-B5q63XQN.js} +1 -1
- package/dist/assets/{Icon-RSC-iQ3CU9mQ.js → Icon-RSC-C-an1Lyn.js} +1 -1
- package/dist/assets/Icon-WyYz69YA.js +8 -0
- package/dist/assets/{Icon.stories-DRfWUzol.js → Icon.stories-BzkS2uZc.js} +1 -1
- package/dist/assets/IconButton-C8Rarkrv.js +8 -0
- package/dist/assets/Input-BunxDHKi.js +48 -0
- package/dist/assets/InputContainer-kefs6DXh.js +2 -0
- package/dist/assets/{IntegrationWithReactHookForm.stories-D7Os2mOo.js → IntegrationWithReactHookForm.stories-Czvxwz3J.js} +1 -1
- package/dist/assets/IntlFormattedCurrency.stories-B9Pd8BUH.js +481 -0
- package/dist/assets/IntlFormattedDateTime.stories-AKauO7eF.js +361 -0
- package/dist/assets/{LayoutFlex-CtFx5gUZ.js → LayoutFlex-D80s0Som.js} +1 -1
- package/dist/assets/LayoutFlex-DIVchljU.js +1 -0
- package/dist/assets/LayoutFlexItem-6Snr9uXg.js +1 -0
- package/dist/assets/{LayoutGrid-CyPyNDw1.js → LayoutGrid-Dw4RHbpQ.js} +1 -1
- package/dist/assets/{LayoutGrid-Ddqp2KT2.js → LayoutGrid-pA_9kQtt.js} +1 -1
- package/dist/assets/{LayoutGrid.stories-D1L7aqlu.js → LayoutGrid.stories-Drcz8QQh.js} +1 -1
- package/dist/assets/LayoutGridItem-DFvyT8FJ.js +1 -0
- package/dist/assets/Link-ekAiZrlJ.js +5 -0
- package/dist/assets/{Link.stories-BGk_oU7W.js → Link.stories-Dab6Maa_.js} +1 -1
- package/dist/assets/Loader.stories-D9VhgIg-.js +37 -0
- package/dist/assets/MultiSelectChips-DuyKXiHT.js +2 -0
- package/dist/assets/{MultiSelectChips.stories-DMQnklfd.js → MultiSelectChips.stories--tnSYEZN.js} +1 -1
- package/dist/assets/NativeSelectField.stories-a3kuRP77.js +295 -0
- package/dist/assets/NumberField-838MqpbA.js +6 -0
- package/dist/assets/{NumberField.stories-CHm83Evu.js → NumberField.stories-CuSf_jB6.js} +1 -1
- package/dist/assets/ObserveIntersection-ZBxTBXPM.js +8 -0
- package/dist/assets/{ObserveIntersection.stories-Crg5XGQK.js → ObserveIntersection.stories-4Ckr8zaP.js} +1 -1
- package/dist/assets/OnboardingTooltip-BLBHoSL1.js +16 -0
- package/dist/assets/{OnboardingTooltip.stories-1rbEN6tf.js → OnboardingTooltip.stories-Bc-4EECh.js} +1 -1
- package/dist/assets/{OnboardingTooltip.tests.stories-DbaxrQeh.js → OnboardingTooltip.tests.stories-DgJ4guR6.js} +1 -1
- package/dist/assets/OnboardingTour-BAGZ8guW.js +4 -0
- package/dist/assets/OnboardingTour.stories-DnpcZTIc.js +46 -0
- package/dist/assets/{OnboardingTour.tests.stories-nH2oAAkE.js → OnboardingTour.tests.stories-5XMTdQ02.js} +1 -1
- package/dist/assets/PasswordField-BUJLCQvx.js +6 -0
- package/dist/assets/{PasswordField.stories-BpCu_Nmu.js → PasswordField.stories-DAsZcQLI.js} +1 -1
- package/dist/assets/{PreplyLogo.stories-C7DVat2q.js → PreplyLogo.stories-Ce0v2sJ5.js} +6 -4
- package/dist/assets/ProgressBar.stories-BOaHN7_n.js +44 -0
- package/dist/assets/ProgressSteps-GYp7G-Tb.js +2 -0
- package/dist/assets/{ProgressSteps.stories-DkKhdsEq.js → ProgressSteps.stories-C_-Veeij.js} +1 -1
- package/dist/assets/{PromoDialog-BD77J0Sb.js → PromoDialog-BSAN4jSA.js} +1 -1
- package/dist/assets/RangeSlider-ClEtgZ0-.js +4 -0
- package/dist/assets/{RangeSlider.stories-BR0J8t26.js → RangeSlider.stories-BKSV6I3h.js} +1 -1
- package/dist/assets/Rating.stories-C1RlhB2r.js +116 -0
- package/dist/assets/{RatingInput.stories-C3TFrxw_.js → RatingInput.stories-k9b8qlPj.js} +54 -27
- package/dist/assets/SelectField-CPaEsici.js +19 -0
- package/dist/assets/{SelectField.stories-BkyQpgee.js → SelectField.stories-CY5qTUL5.js} +1 -1
- package/dist/assets/ShowOnIntersection.stories-BfrL6rMT.js +17 -0
- package/dist/assets/SingleSelectChips-CXWdLruJ.js +2 -0
- package/dist/assets/{SingleSelectChips.stories-C62wkEv2.js → SingleSelectChips.stories-DwXjQ8nU.js} +1 -1
- package/dist/assets/Slider-DN87jqz1.js +2 -0
- package/dist/assets/{Slider.stories-Ctv9GCye.js → Slider.stories-DZuBeZLh.js} +1 -1
- package/dist/assets/{Spinner-BtlYJQrD.js → Spinner-CEUinG6a.js} +1 -1
- package/dist/assets/Stars-WlopisEB.js +1 -0
- package/dist/assets/Steps-B3sJKCt8.js +26 -0
- package/dist/assets/{Steps.stories-DcQb87xm.js → Steps.stories-chKUeuea.js} +1 -1
- package/dist/assets/Switch-CtPeAbfr.js +12 -0
- package/dist/assets/{Switch.stories-DDel8GN3.js → Switch.stories-B_IVCVlM.js} +1 -1
- package/dist/assets/{Text-D2ssZW1_.js → Text-GK7LNFMQ.js} +1 -1
- package/dist/assets/{Text-BaQf6qnx.js → Text-Ggy7OGl1.js} +1 -1
- package/dist/assets/Text.stories-B_sG3ZC6.js +67 -0
- package/dist/assets/TextField-7isgKKW2.js +6 -0
- package/dist/assets/{TextField.stories-B7yiySGl.js → TextField.stories-BK_kfOl9.js} +1 -1
- package/dist/assets/TextHighlighted.stories-CTpCe7OM.js +32 -0
- package/dist/assets/TextInline.stories-l3TWjL_H.js +50 -0
- package/dist/assets/TextareaField-BOB_smYj.js +53 -0
- package/dist/assets/{TextareaField.stories-CSn1Y1es.js → TextareaField.stories-CxSzh-Uv.js} +1 -1
- package/dist/assets/{Toast.stories-WMpE2CUA.js → Toast.stories-Bwe-dOQQ.js} +15 -13
- package/dist/assets/{TokyoUIAttach-DEHypfd2.js → TokyoUIAttach-CVSc5UUC.js} +1 -1
- package/dist/assets/{TokyoUIAvailability7LateNight-DqIhY2LI.js → TokyoUIAvailability7LateNight-QoCY6qIK.js} +1 -1
- package/dist/assets/{TokyoUICheck-DFXDKlST.js → TokyoUICheck-CrSqYwS5.js} +1 -1
- package/dist/assets/{TokyoUICheckmark-CC75JvoU.js → TokyoUICheckmark-Bl_Jmxk5.js} +1 -1
- package/dist/assets/{TokyoUIChevronDown-CV0GTyb_.js → TokyoUIChevronDown-DVjyTqN8.js} +1 -1
- package/dist/assets/{TokyoUIClose-Bf-N_4aK.js → TokyoUIClose-DRL_GMkk.js} +1 -1
- package/dist/assets/{TokyoUIEmojiFrowning-CEEry-ar.js → TokyoUIEmojiFrowning-DGsx7ij_.js} +1 -1
- package/dist/assets/{TokyoUIEye-CvZmomj8.js → TokyoUIEye-CZDCU-n2.js} +1 -1
- package/dist/assets/{TokyoUIFav-CV3HlDno.js → TokyoUIFav-BAlSY-Li.js} +1 -1
- package/dist/assets/{TokyoUIInfo-S99idYL9.js → TokyoUIInfo-BT07RYtx.js} +1 -1
- package/dist/assets/{TokyoUILanguage-dDro1t5I.js → TokyoUILanguage-CKT6G-hS.js} +1 -1
- package/dist/assets/{TokyoUILibraryExplore-3boXHfri.js → TokyoUILibraryExplore-DPCvnX1V.js} +1 -1
- package/dist/assets/{TokyoUILock-Ddb0LZOj.js → TokyoUILock-CNyfiUjE.js} +1 -1
- package/dist/assets/{TokyoUIMessages-DddkimKx.js → TokyoUIMessages-BoJwKuox.js} +1 -1
- package/dist/assets/{TokyoUIMinus-BM97SQFD.js → TokyoUIMinus-BDerH3qn.js} +1 -1
- package/dist/assets/{TokyoUINotebook-CzW-xZ-S.js → TokyoUINotebook-C3enhUqk.js} +1 -1
- package/dist/assets/{TokyoUINotesWithPad-CZPHd-s1.js → TokyoUINotesWithPad-DDdTrKUJ.js} +1 -1
- package/dist/assets/{TokyoUIPhone-B41go8ay.js → TokyoUIPhone-C63CxeYt.js} +1 -1
- package/dist/assets/{TokyoUISettings-r8yUukmp.js → TokyoUISettings-C7knm4s4.js} +1 -1
- package/dist/assets/{TokyoUIStarFilled-DAFjKfr3.js → TokyoUIStarFilled-7p3O_EW6.js} +1 -1
- package/dist/assets/{TokyoUITag-BOlMKPwF.js → TokyoUITag-CK01JcnA.js} +1 -1
- package/dist/assets/{TokyoUIUpload-DqgHhwt9.js → TokyoUIUpload-B14jGQkb.js} +1 -1
- package/dist/assets/{TokyoUIUser-DQL_EW5M.js → TokyoUIUser-t3Qzgb8C.js} +1 -1
- package/dist/assets/Tooltip-CakRxo11.js +9 -0
- package/dist/assets/{Tooltip.stories-BCIj91Tz.js → Tooltip.stories-Qzb9EJ0v.js} +1 -1
- package/dist/assets/{Tooltip.tests.stories-BuldDnaS.js → Tooltip.tests.stories-C5tNFIJW.js} +1 -1
- package/dist/assets/VisuallyHidden-0cOrCoMj.js +1 -0
- package/dist/assets/{WithTooltip-IO6J4KBT-sdWoJ5kA.js → WithTooltip-IO6J4KBT-CVi9luQ3.js} +1 -1
- package/dist/assets/{align-self-Dj6Hw1ei.js → align-self-DXFgdd9y.js} +1 -1
- package/dist/assets/{axe-COSWniE7.js → axe-CA--ofMx.js} +1 -1
- package/dist/assets/{breakpoints-r5YNDlDj.js → breakpoints-BGz3SsyO.js} +1 -1
- package/dist/assets/{breakpoints-DAuVWyVl.js → breakpoints-Da7bu5DX.js} +1 -1
- package/dist/assets/{breakpoints-Bq0N-WKo.js → breakpoints-DwwWtHRA.js} +1 -1
- package/dist/assets/{changelog-DfbyLrVG.js → changelog-_SsC_nm-.js} +9 -1
- package/dist/assets/{client-B0RkqQz5.js → client-C1Ngt9Qe.js} +1 -1
- package/dist/assets/constants-B0ADAI0D.js +2808 -0
- package/dist/assets/createRequiredContext-lHJWE74K.js +241 -0
- package/dist/assets/{formatter-QJ4M4OGQ-DkyPaaGf.js → formatter-QJ4M4OGQ-DJgH6bdK.js} +1 -1
- package/dist/assets/{getTokenVar-DAf6Dqww.js → getTokenVar-DB5eH9Ap.js} +1 -1
- package/dist/assets/getTokenVar-voCaDXiD.js +1 -0
- package/dist/assets/{gradientBorders-BLAK8Z-v.js → gradientBorders-K7rKBnwC.js} +1 -1
- package/dist/assets/{hover-Bny3ccNR.js → hover-BtA-Yl1z.js} +1 -1
- package/dist/assets/{hover-BK-WJeH0.js → hover-CW3fXVyT.js} +1 -1
- package/dist/assets/{hover-reiWegqW.js → hover-Cd3sl7nT.js} +1 -1
- package/dist/assets/{iframe-CWgEsn_I.js → iframe-Bqhe7wZw.js} +42 -42
- package/dist/assets/{index-CC1MzVDH.js → index-B4xlYZ9u.js} +1 -1
- package/dist/assets/{index-DN8YXDVa.js → index-BnwQ8UTH.js} +1 -1
- package/dist/assets/{index-BAEPs7Y-.js → index-Bs4_IdoP.js} +1 -1
- package/dist/assets/{index-BiSZC2o0.js → index-CvK1AFYo.js} +1 -1
- package/dist/assets/index-DN0YeobD.js +81 -0
- package/dist/assets/{index-D3eu31XZ.js → index-PcJZmKzo.js} +1 -1
- package/dist/assets/{intro-BstePxGk.js → intro-BxKry9mD.js} +1 -1
- package/dist/assets/{layout-relative-Dd1oD7no.js → layout-relative-BMwmwxop.js} +1 -1
- package/dist/assets/{layout-relative.module-1z75aSwo-BlGCRaGo.js → layout-relative.module-1z75aSwo-B6m6YCBc.js} +1 -1
- package/dist/assets/{layout-relative.module-DtLbhGhZ.js → layout-relative.module-Bq_t8Q7G.js} +1 -1
- package/dist/assets/{mcp-BnvXyj7V.js → mcp-CyT8ZN-W.js} +1 -1
- package/dist/assets/{message-qc_MCF3J.js → message-CIDvwUOa.js} +1 -1
- package/dist/assets/{migrating-from-less-DeeEWMYL.js → migrating-from-less-DtmEYD28.js} +1 -1
- package/dist/assets/{options-BM-sJPHZ.js → options-DCAXF_A_.js} +1 -1
- package/dist/assets/{playground.stories-CvceWUq7.js → playground.stories-CuVmaYLs.js} +1 -1
- package/dist/assets/{react-18-Cn7fKkEX.js → react-18-DhGD9Avy.js} +1 -1
- package/dist/assets/{render-icon-CcTDatKg.js → render-icon-CGybdjoN.js} +1 -1
- package/dist/assets/{render-icon-DCa6Vadq.js → render-icon-DCiBrDQC.js} +1 -1
- package/dist/assets/{shared-strings-I9WUPC_k.js → shared-strings-BiyYhJiL.js} +1 -1
- package/dist/assets/{styled-components.browser.esm-BZ4U6qbl.js → styled-components.browser.esm-B02Fw6Mt.js} +1 -1
- package/dist/assets/{styled-components.browser.esm-DsfIp3u0.js → styled-components.browser.esm-smt_VktF.js} +1 -1
- package/dist/assets/{syntaxhighlighter-IQDEPFLK-BGcWLhM8.js → syntaxhighlighter-IQDEPFLK-AN8xk1AF.js} +1 -1
- package/dist/assets/{text-accent-CvDqGyH8.js → text-accent-CPEkSAkL.js} +1 -1
- package/dist/assets/{text-centered-nO9Uq8mN.js → text-centered-Cz4XMW69.js} +1 -1
- package/dist/assets/{text-centered-4FcavPd_.js → text-centered-ZFu7naC1.js} +1 -1
- package/dist/assets/{tokens-kjKX1OOx.js → tokens-BN7eHoH5.js} +1 -1
- package/dist/assets/tokens-BjR3hk0d.js +1 -0
- package/dist/assets/{tokens-as7cem5X.js → tokens-C3Hqqzis.js} +1 -1
- package/dist/assets/{tokens-BEq-FCvC.js → tokens-CyrwuS34.js} +1 -1
- package/dist/assets/{useControllableState-CB098DmS.js → useControllableState-DJZkoEjQ.js} +1 -1
- package/dist/assets/useHostname-fR0CbQub.js +1 -0
- package/dist/assets/{useMergeRefs-Cma75nFm.js → useMergeRefs--KSfryp8.js} +1 -1
- package/dist/assets/{useMergeRefs-DrdDSUH5.js → useMergeRefs-BnpMjIUt.js} +1 -1
- package/dist/assets/{useOpenInteractionType-DeCsKa-1.js → useOpenInteractionType-Dz9R-1-1.js} +1 -1
- package/dist/assets/{usePortalElement-CK58JXLC.js → usePortalElement-B5d1vkJz.js} +1 -1
- package/dist/assets/{useStableCallback-Cg8WkzY2.js → useStableCallback-BBl3RGfC.js} +1 -1
- package/dist/assets/{useToken-Dy7e7qui.js → useToken-BjKJKHaW.js} +1 -1
- package/dist/assets/{welcome-DnB7jiTV.js → welcome-C-gJqbc0.js} +1 -1
- package/dist/assets/{zeroheight-BLhCMMHP.js → zeroheight-2_PedqiZ.js} +1 -1
- package/dist/iframe.html +1 -1
- package/dist/preview-stats.json +9682 -9682
- package/dist/project.json +1 -1
- package/package.json +4 -4
- package/dist/assets/Accordion-Bjcf873X.js +0 -1
- package/dist/assets/Accordion-Dmg5cVbY.css +0 -1
- package/dist/assets/Avatar-BHWZ6iZn.js +0 -1
- package/dist/assets/AvatarWithStatus.stories-BQ9j0v-r.js +0 -36
- package/dist/assets/Badge.stories-CjBGqctl.js +0 -82
- package/dist/assets/Box.stories-F4YHVHtw.js +0 -44
- package/dist/assets/BubbleCounter.stories-W-QyzoZM.js +0 -238
- package/dist/assets/Button-KgwWX-kY.js +0 -1
- package/dist/assets/Checkbox-Bdi6imAj.js +0 -1
- package/dist/assets/Chips.stories-BwJJ2fGW.js +0 -140
- package/dist/assets/CountryFlag-BsylP9aC.js +0 -1
- package/dist/assets/Dialog-DBQC7rLf.js +0 -9
- package/dist/assets/DismissibleChips-BTc-ZGnG.js +0 -1
- package/dist/assets/Divider-aEUPegmM.js +0 -1
- package/dist/assets/DropdownMenu-Eg6NEumE.js +0 -1
- package/dist/assets/FieldButton-CE-kxD0a.js +0 -1
- package/dist/assets/FormControl-DI4h0Rn1.js +0 -1
- package/dist/assets/Heading-jyl-6mnE.js +0 -1
- package/dist/assets/Icon-BbVZ9NP7.js +0 -1
- package/dist/assets/IconButton-DvmHN9Bh.js +0 -1
- package/dist/assets/Input-qJLg_DQg.js +0 -1
- package/dist/assets/InputContainer-DxTdO3rg.js +0 -1
- package/dist/assets/IntlFormattedCurrency.stories-DsOonDv4.js +0 -1
- package/dist/assets/IntlFormattedDateTime.stories-CEfl-J8a.js +0 -1
- package/dist/assets/LayoutFlex-TxluN-Yw.js +0 -1
- package/dist/assets/LayoutFlexItem-CG7Crdkt.js +0 -1
- package/dist/assets/LayoutGridItem-D9IWdXiI.js +0 -1
- package/dist/assets/Link-DBtlp5DH.js +0 -1
- package/dist/assets/Loader.stories-BW_8B3fu.js +0 -37
- package/dist/assets/MultiSelectChips-vFJ-9-kf.js +0 -1
- package/dist/assets/NativeSelectField.stories-iktDEjbi.js +0 -243
- package/dist/assets/NumberField-DachAjtc.js +0 -1
- package/dist/assets/ObserveIntersection-Gkcdp17D.js +0 -1
- package/dist/assets/OnboardingTooltip-Clfuyvq4.js +0 -1
- package/dist/assets/OnboardingTour-DlsIO1Gv.js +0 -1
- package/dist/assets/OnboardingTour.stories-eO-vrmSq.js +0 -42
- package/dist/assets/PasswordField-Cb1fJLBM.js +0 -1
- package/dist/assets/ProgressBar.stories-CJTsS-k-.js +0 -43
- package/dist/assets/ProgressSteps-LRQw0WxN.js +0 -1
- package/dist/assets/RangeSlider-C7BMuKPO.js +0 -3
- package/dist/assets/Rating.stories-C4odIVLb.js +0 -115
- package/dist/assets/SelectField-qkC5zVlE.js +0 -1
- package/dist/assets/ShowOnIntersection.stories-DMrPWP_X.js +0 -17
- package/dist/assets/SingleSelectChips-URtzgStH.js +0 -1
- package/dist/assets/Slider-DwJ11rhB.js +0 -1
- package/dist/assets/Stars-noMq-Uej.js +0 -1
- package/dist/assets/Steps-ZKxhdp_N.js +0 -1
- package/dist/assets/Switch-CukXNUpT.js +0 -1
- package/dist/assets/Text.stories-DAYsyFR5.js +0 -58
- package/dist/assets/TextField-D3FL7yE0.js +0 -1
- package/dist/assets/TextHighlighted.stories-GrC4GB2n.js +0 -32
- package/dist/assets/TextInline.stories-CLDPL3xz.js +0 -50
- package/dist/assets/TextareaField-lItTPjhC.js +0 -1
- package/dist/assets/Tooltip-nL6-qc2S.js +0 -1
- package/dist/assets/VisuallyHidden-CBzPUOy4.js +0 -1
- package/dist/assets/constants-DiGI6Pao.js +0 -47
- package/dist/assets/createRequiredContext-Dh2RVm_M.js +0 -1
- package/dist/assets/getTokenVar-DGGittrV.js +0 -1
- package/dist/assets/index-DVMjwMfI.js +0 -1
- package/dist/assets/tokens-I7xc-5gL.js +0 -1
- package/dist/assets/useHostname-DENeD9To.js +0 -1
|
@@ -0,0 +1,2808 @@
|
|
|
1
|
+
import{a6 as Ue,a7 as Me,aG as f,aH as Je,r as $,_ as et,aI as tt,j as y}from"./iframe-Bqhe7wZw.js";import{i as at,T as nt,M as rt,a as B,I as it,b as A,f as _,g as ge,c as z,E as N,e as ot,D as st,h as lt,j as xe,k as dt,s as ut,l as mt,P as ht,m as ze,n as ct,o as ft}from"./index-Bs4_IdoP.js";import{d as L}from"./styled-components.browser.esm-B02Fw6Mt.js";import{g as V}from"./getTokenVar-voCaDXiD.js";import{s as ve,c as j}from"./tokens-BjR3hk0d.js";const pt="h23",yt="h12",O={YESTERDAY:-1,TODAY:0,TOMORROW:1},Pe=[O.TODAY,O.TOMORROW],It=["US"],bt=["en"],gt=["pl"],vt=["ko","ja","zh"],Ft=["ko","ja","zh"],G=["ja","zh"],wt=["tr"],Dt=["en"],Ne=["ar"],We=e=>`${e}`,xt=e=>e.charAt(0).toUpperCase()+e.slice(1),Pt=e=>Ft.includes(e)?"short":"long",At=e=>vt.includes(e)?"short":"long",R=e=>gt.includes(e)?"numeric":"short",Tt=(e,a)=>It.includes(e)&&bt.includes(a)?yt:pt,la=e=>e.replace(/(\d{1,15}(?:[.,]\d{1,6})?)(?!.*\d)/,"$1+"),P=Me({dateRange:{id:"preply-ds.intl_formatted.date_range.text",defaultMessage:"{dateStart} - {dateEnd}",description:"Formerly intl_formatted.date_range.text"},dayDateNumberShort:{id:"preply-ds.intl_formatted.day_date_number_short.text",defaultMessage:"{day_name} {date_number}",description:"Formerly intl_formatted.day_date_number_short.text"},relativeDayDateShort:{id:"preply-ds.intl_formatted.relative_day_date_short.text",defaultMessage:"{relativeDay}, {dateShort}",description:"Formerly intl_formatted.relative_day_date_short.text"},everyMondayFull:{id:"preply-ds.intl_formatted.every_monday_full.text",defaultMessage:"every Monday",description:"Formerly intl_formatted.every_monday_full.text"},everyTuesdayFull:{id:"preply-ds.intl_formatted.every_tuesday_full.text",defaultMessage:"every Tuesday",description:"Formerly intl_formatted.every_tuesday_full.text"},everyWednesdayFull:{id:"preply-ds.intl_formatted.every_wednesday_full.text",defaultMessage:"every Wednesday",description:"Formerly intl_formatted.every_wednesday_full.text"},everyThursdayFull:{id:"preply-ds.intl_formatted.every_thursday_full.text",defaultMessage:"every Thursday",description:"Formerly intl_formatted.every_thursday_full.text"},everyFridayFull:{id:"preply-ds.intl_formatted.every_friday_full.text",defaultMessage:"every Friday",description:"Formerly intl_formatted.every_friday_full.text"},everySaturdayFull:{id:"preply-ds.intl_formatted.every_saturday_full.text",defaultMessage:"every Saturday",description:"Formerly intl_formatted.every_saturday_full.text"},everySundayFull:{id:"preply-ds.intl_formatted.every_sunday_full.text",defaultMessage:"every Sunday",description:"Formerly intl_formatted.every_sunday_full.text"}}),kt=864e5,Vt=(e,a)=>{const t=new Date(e.getTime());t.setHours(0,0,0,0);const n=new Date(a.getTime());return n.setHours(0,0,0,0),(n.getTime()-t.getTime())/kt},I=({formattedDate:e,locale:a,isCapitalized:t})=>Ne.includes(a)?We(e):t?xt(e):e,qt=e=>e===O.YESTERDAY||e===O.TODAY||e===O.TOMORROW,g=()=>{const{formatDate:e,formatDateTimeRange:a,formatRelativeTime:t,formatMessage:n,locale:r}=Ue(),i=({date:o,isCapitalized:s})=>{const l=Pt(r),h=e(o,{weekday:l});return I({formattedDate:h,locale:r,isCapitalized:s})},d=({date:o,isCapitalized:s})=>{const l=e(o,{weekday:"short"});return I({formattedDate:l,locale:r,isCapitalized:s})},u=({date:o,isCapitalized:s})=>{const l=At(r),h=e(o,{month:l});return I({formattedDate:h,locale:r,isCapitalized:s})},m=({date:o,isCapitalized:s})=>{const l=e(o,{month:"short"});return I({formattedDate:l,locale:r,isCapitalized:s})},w=({date:o,isCapitalized:s})=>{const l=e(o,{month:"long",year:"numeric"});return I({formattedDate:l,locale:r,isCapitalized:s})},c=({date:o,isCapitalized:s})=>{const l=e(o,{month:"short",year:"numeric"});return I({formattedDate:l,locale:r,isCapitalized:s})},T=({date:o,isCapitalized:s})=>{const l=e(o,{month:"long",day:"numeric"});return I({formattedDate:l,locale:r,isCapitalized:s})},D=({date:o,isCapitalized:s})=>{const l=R(r),h=e(o,{day:"numeric",month:l});return I({formattedDate:h,locale:r,isCapitalized:s})},U=({date:o,isCapitalized:s})=>{const l=e(o,{month:"long",day:"numeric",year:"numeric"});return I({formattedDate:l,locale:r,isCapitalized:s})},E=({date:o,isCapitalized:s})=>{const l=R(r),h=e(o,{day:"numeric",month:l,year:"numeric"});return I({formattedDate:h,locale:r,isCapitalized:s})},x=({date:o,isCapitalized:s})=>{const l=e(o,{weekday:"long",month:"long",day:"numeric"});return I({formattedDate:l,locale:r,isCapitalized:s})},k=({date:o,isCapitalized:s})=>{const l=R(r),h=e(o,{weekday:"short",month:l,day:"numeric"});return I({formattedDate:h,locale:r,isCapitalized:s})},F=({date:o,isCapitalized:s})=>{const l=e(o,{weekday:"long",month:"long",day:"numeric",year:"numeric"});return I({formattedDate:l,locale:r,isCapitalized:s})},C=({date:o,isCapitalized:s})=>{const l=R(r),h=e(o,{weekday:"short",month:l,day:"numeric",year:"numeric"});return I({formattedDate:h,locale:r,isCapitalized:s})},q=o=>e(o,{day:"numeric"}),Fe=({dateStart:o,dateEnd:s,isCapitalized:l})=>{const h=o.getMonth()===s.getMonth(),v=o.getFullYear()===s.getFullYear(),S=E({date:o,isCapitalized:l}),Y=h&&v?q(s):v?D({date:s,isCapitalized:l}):E({date:s,isCapitalized:l}),Qe=n(P.dateRange,{dateStart:S,dateEnd:Y});return I({formattedDate:Qe,locale:r,isCapitalized:l})},Ze=({dateStart:o,dateEnd:s,isCapitalized:l})=>{if(G.includes(r))return Fe({dateStart:o,dateEnd:s,isCapitalized:l});const h=R(r),v=a(o,s,{month:h,day:"numeric",year:"numeric",format:"range"});return I({formattedDate:v,locale:r,isCapitalized:l})},Ke=({dateStart:o,dateEnd:s,isCapitalized:l})=>{if(!(o.getFullYear()===s.getFullYear()))return Fe({dateStart:o,dateEnd:s,isCapitalized:l});const v=o.getMonth()===s.getMonth(),S=n(P.dateRange,{dateStart:D({date:o,isCapitalized:l}),dateEnd:v?q(s):D({date:s,isCapitalized:l})});return I({formattedDate:S,locale:r,isCapitalized:l})},we=({dateStart:o,dateEnd:s,isCapitalized:l})=>{if(G.includes(r))return Ke({dateStart:o,dateEnd:s,isCapitalized:l});const h=R(r),v=a(o,s,{month:h,day:"numeric",format:"range"});return I({formattedDate:v,locale:r,isCapitalized:l})},Xe=({dateStart:o,dateEnd:s,isCapitalized:l})=>{if(G.includes(r))return we({dateStart:o,dateEnd:s,isCapitalized:l});const h=a(o,s,{month:"long",day:"numeric",format:"range"});return I({formattedDate:h,locale:r,isCapitalized:l})},De=({date:o,isCapitalized:s,allowedRelativeDays:l=Pe,now:h=new Date})=>{const v=Vt(h,o),S=t(v,"day",{numeric:"auto"});return qt(v)&&l.includes(v)?I({formattedDate:S,locale:r,isCapitalized:s}):void 0};return{formatDayFull:i,formatDayShort:d,formatMonthFull:u,formatMonthShort:m,formatMonthYearFull:w,formatMonthYearShort:c,formatDateFull:T,formatDateShort:D,formatDateYearFull:U,formatDateYearShort:E,formatDayDateFull:x,formatDayDateShort:k,formatDayDateYearFull:F,formatDayDateYearShort:C,formatDateRangeShort:we,formatDateRangeFull:Xe,formatDateRangeYearShort:Ze,formatRelativeDay:De,formatRelativeDayDateShort:({date:o,isCapitalized:s,allowedRelativeDays:l=Pe,now:h=new Date})=>{const v=R(r),S=De({date:o,isCapitalized:s,allowedRelativeDays:l,now:h}),Y=S?n(P.relativeDayDateShort,{relativeDay:S,dateShort:e(o,{day:"numeric",month:v})}):e(o,{weekday:"long",month:v,day:"numeric"});return I({formattedDate:Y,locale:r,isCapitalized:s})},formatDayDateNumberShort:({date:o,isCapitalized:s})=>{const l=wt.includes(r)?{month:R(r)}:{},h=Dt.includes(r)?n(P.dayDateNumberShort,{day_name:e(o,{weekday:"short"}),date_number:e(o,{day:"numeric",...l})}):e(o,{weekday:"short",day:"numeric",...l});return I({formattedDate:h,locale:r,isCapitalized:s})},formatEveryWeekDayFull:({date:o,isCapitalized:s})=>{const l=o.getDay(),h=(()=>{switch(l){case 1:return P.everyMondayFull;case 2:return P.everyTuesdayFull;case 3:return P.everyWednesdayFull;case 4:return P.everyThursdayFull;case 5:return P.everyFridayFull;case 6:return P.everySaturdayFull;default:return P.everySundayFull}})(),v=n(h);return I({formattedDate:v,locale:r,isCapitalized:s})}}},St=Me({timeRange:{id:"preply-ds.intl_formatted.time_range.text",defaultMessage:"{timeStart} - {timeEnd}",description:"Formerly intl_formatted.time_range.text"}}),Ae=({formattedDate:e,locale:a,isCapitalized:t})=>Ne.includes(a)?We(e):e,Ye=()=>{const{formatTime:e,formatMessage:a,locale:t}=Ue(),n=({date:i,countryCode:d})=>{const u=Tt(d,t),m=e(i,{hour:"numeric",minute:"numeric",hourCycle:u});return Ae({formattedDate:m,locale:t,isCapitalized:!1})};return{formatTime:n,formatTimeRange:({dateStart:i,dateEnd:d,countryCode:u})=>{const m=a(St.timeRange,{timeStart:n({date:i,countryCode:u}),timeEnd:n({date:d,countryCode:u})});return Ae({formattedDate:m,locale:t,isCapitalized:!1})}}};function M(e,a){return Object.keys(e).reduce(function(t,n){return t[n]=f({timeZone:a},e[n]),t},{})}function Te(e,a){var t=Object.keys(f(f({},e),a));return t.reduce(function(n,r){return n[r]=f(f({},e[r]||{}),a[r]||{}),n},{})}function ke(e,a){if(!a)return e;var t=it.formats;return f(f(f({},t),e),{date:Te(M(t.date,a),M(e.date||{},a)),time:Te(M(t.time,a),M(e.time||{},a))})}var Z=function(e,a,t,n,r){var i=e.locale,d=e.formats,u=e.messages,m=e.defaultLocale,w=e.defaultFormats,c=e.fallbackOnEmptyString,T=e.onError,D=e.timeZone,U=e.defaultRichTextElements;t===void 0&&(t={id:""});var E=t.id,x=t.defaultMessage;at(!!E,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var k=String(E),F=u&&Object.prototype.hasOwnProperty.call(u,k)&&u[k];if(Array.isArray(F)&&F.length===1&&F[0].type===nt.literal)return F[0].value;if(!n&&F&&typeof F=="string"&&!U)return F.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=f(f({},U),n||{}),d=ke(d,D),w=ke(w,D),!F){if(c===!1&&F==="")return F;if((!x||i&&i.toLowerCase()!==m.toLowerCase())&&T(new rt(t,i)),x)try{var C=a.getMessageFormat(x,m,w,r);return C.format(n)}catch(q){return T(new B('Error formatting default message for: "'.concat(k,'", rendering default message verbatim'),i,t,q)),typeof x=="string"?x:k}return k}try{var C=a.getMessageFormat(F,i,d,f({formatters:a},r||{}));return C.format(n)}catch(q){T(new B('Error formatting message: "'.concat(k,'", using ').concat(x?"default message":"id"," as fallback."),i,t,q))}if(x)try{var C=a.getMessageFormat(x,m,w,r);return C.format(n)}catch(q){T(new B('Error formatting the default message for: "'.concat(k,'", rendering message verbatim'),i,t,q))}return typeof F=="string"?F:typeof x=="string"?x:k},Be=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function W(e,a,t,n){var r=e.locale,i=e.formats,d=e.onError,u=e.timeZone;n===void 0&&(n={});var m=n.format,w=f(f({},u&&{timeZone:u}),m&&ge(i,a,m,d)),c=_(n,Be,w);return a==="time"&&!c.hour&&!c.minute&&!c.second&&!c.timeStyle&&!c.dateStyle&&(c=f(f({},c),{hour:"numeric",minute:"numeric"})),t(r,c)}function Rt(e,a){for(var t=[],n=2;n<arguments.length;n++)t[n-2]=arguments[n];var r=t[0],i=t[1],d=i===void 0?{}:i,u=typeof r=="string"?new Date(r||0):r;try{return W(e,"date",a,d).format(u)}catch(m){e.onError(new A("Error formatting date.",e.locale,m))}return String(u)}function Ct(e,a){for(var t=[],n=2;n<arguments.length;n++)t[n-2]=arguments[n];var r=t[0],i=t[1],d=i===void 0?{}:i,u=typeof r=="string"?new Date(r||0):r;try{return W(e,"time",a,d).format(u)}catch(m){e.onError(new A("Error formatting time.",e.locale,m))}return String(u)}function _t(e,a){for(var t=[],n=2;n<arguments.length;n++)t[n-2]=arguments[n];var r=t[0],i=t[1],d=t[2],u=d===void 0?{}:d,m=e.timeZone,w=e.locale,c=e.onError,T=_(u,Be,m?{timeZone:m}:{});try{return a(w,T).formatRange(r,i)}catch(D){c(new A("Error formatting date time range.",e.locale,D))}return String(r)}function Et(e,a){for(var t=[],n=2;n<arguments.length;n++)t[n-2]=arguments[n];var r=t[0],i=t[1],d=i===void 0?{}:i,u=typeof r=="string"?new Date(r||0):r;try{return W(e,"date",a,d).formatToParts(u)}catch(m){e.onError(new A("Error formatting date.",e.locale,m))}return[]}function jt(e,a){for(var t=[],n=2;n<arguments.length;n++)t[n-2]=arguments[n];var r=t[0],i=t[1],d=i===void 0?{}:i,u=typeof r=="string"?new Date(r||0):r;try{return W(e,"time",a,d).formatToParts(u)}catch(m){e.onError(new A("Error formatting time.",e.locale,m))}return[]}var Lt=["style","type","fallback","languageDisplay"];function Ot(e,a,t,n){var r=e.locale,i=e.onError,d=Intl.DisplayNames;d||i(new z(`Intl.DisplayNames is not available in this environment.
|
|
2
|
+
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
3
|
+
`,N.MISSING_INTL_API));var u=_(n,Lt);try{return a(r,u).of(t)}catch(m){i(new A("Error formatting display name.",r,m))}}var Ut=["type","style"],Ve=Date.now();function Mt(e){return"".concat(Ve,"_").concat(e,"_").concat(Ve)}function zt(e,a,t,n){n===void 0&&(n={});var r=Ge(e,a,t,n).reduce(function(i,d){var u=d.value;return typeof u!="string"?i.push(u):typeof i[i.length-1]=="string"?i[i.length-1]+=u:i.push(u),i},[]);return r.length===1?r[0]:r.length===0?"":r}function Ge(e,a,t,n){var r=e.locale,i=e.onError;n===void 0&&(n={});var d=Intl.ListFormat;d||i(new z(`Intl.ListFormat is not available in this environment.
|
|
4
|
+
Try polyfilling it using "@formatjs/intl-listformat"
|
|
5
|
+
`,N.MISSING_INTL_API));var u=_(n,Ut);try{var m={},w=t.map(function(c,T){if(typeof c=="object"){var D=Mt(T);return m[D]=c,D}return String(c)});return a(r,u).formatToParts(w).map(function(c){return c.type==="literal"?c:f(f({},c),{value:m[c.value]||c.value})})}catch(c){i(new A("Error formatting list.",r,c))}return t}var Nt=["type"];function Wt(e,a,t,n){var r=e.locale,i=e.onError;n===void 0&&(n={}),Intl.PluralRules||i(new z(`Intl.PluralRules is not available in this environment.
|
|
6
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
7
|
+
`,N.MISSING_INTL_API));var d=_(n,Nt);try{return a(r,d).select(t)}catch(u){i(new A("Error formatting plural.",r,u))}return"other"}var Yt=["numeric","style"];function Bt(e,a,t){var n=e.locale,r=e.formats,i=e.onError;t===void 0&&(t={});var d=t.format,u=!!d&&ge(r,"relative",d,i)||{},m=_(t,Yt,u);return a(n,m)}function Gt(e,a,t,n,r){r===void 0&&(r={}),n||(n="second");var i=Intl.RelativeTimeFormat;i||e.onError(new z(`Intl.RelativeTimeFormat is not available in this environment.
|
|
8
|
+
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
9
|
+
`,N.MISSING_INTL_API));try{return Bt(e,a,r).format(t,n)}catch(d){e.onError(new A("Error formatting relative time.",e.locale,d))}return String(t)}var Ht=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function He(e,a,t){var n=e.locale,r=e.formats,i=e.onError;t===void 0&&(t={});var d=t.format,u=d&&ge(r,"number",d,i)||{},m=_(t,Ht,u);return a(n,m)}function $t(e,a,t,n){n===void 0&&(n={});try{return He(e,a,n).format(t)}catch(r){e.onError(new A("Error formatting number.",e.locale,r))}return String(t)}function Zt(e,a,t,n){n===void 0&&(n={});try{return He(e,a,n).formatToParts(t)}catch(r){e.onError(new A("Error formatting number.",e.locale,r))}return[]}function Kt(e){var a=e?e[Object.keys(e)[0]]:void 0;return typeof a=="string"}function Xt(e){e.onWarn&&e.defaultRichTextElements&&Kt(e.messages||{})&&e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
|
|
10
|
+
Please consider using "@formatjs/cli" to pre-compile your messages for performance.
|
|
11
|
+
For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function Qt(e,a){var t=ot(a),n=f(f({},st),e),r=n.locale,i=n.defaultLocale,d=n.onError;return r?!Intl.NumberFormat.supportedLocalesOf(r).length&&d?d(new xe('Missing locale data for locale: "'.concat(r,'" in Intl.NumberFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(r).length&&d&&d(new xe('Missing locale data for locale: "'.concat(r,'" in Intl.DateTimeFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(d&&d(new lt('"locale" was not configured, using "'.concat(i,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),n.locale=n.defaultLocale||"en"),Xt(n),f(f({},n),{formatters:t,formatNumber:$t.bind(null,n,t.getNumberFormat),formatNumberToParts:Zt.bind(null,n,t.getNumberFormat),formatRelativeTime:Gt.bind(null,n,t.getRelativeTimeFormat),formatDate:Rt.bind(null,n,t.getDateTimeFormat),formatDateToParts:Et.bind(null,n,t.getDateTimeFormat),formatTime:Ct.bind(null,n,t.getDateTimeFormat),formatDateTimeRange:_t.bind(null,n,t.getDateTimeFormat),formatTimeToParts:jt.bind(null,n,t.getDateTimeFormat),formatPlural:Wt.bind(null,n,t.getPluralRules),formatMessage:Z.bind(null,n,t),$t:Z.bind(null,n,t),formatList:zt.bind(null,n,t.getListFormat),formatListToParts:Ge.bind(null,n,t.getListFormat),formatDisplayName:Ot.bind(null,n,t.getDisplayNames)})}function H(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function $e(e){return e&&Object.keys(e).reduce(function(a,t){var n=e[t];return a[t]=ft(n)?ct(n):n,a},{})}var qe=function(e,a,t,n){for(var r=[],i=4;i<arguments.length;i++)r[i-4]=arguments[i];var d=$e(n),u=Z.apply(void 0,tt([e,a,t,d],r,!1));return Array.isArray(u)?$.Children.toArray(u):u},Se=function(e,a){var t=e.defaultRichTextElements,n=et(e,["defaultRichTextElements"]),r=$e(t),i=Qt(f(f(f({},ze),n),{defaultRichTextElements:r}),a),d={locale:i.locale,timeZone:i.timeZone,fallbackOnEmptyString:i.fallbackOnEmptyString,formats:i.formats,defaultLocale:i.defaultLocale,defaultFormats:i.defaultFormats,messages:i.messages,onError:i.onError,defaultRichTextElements:r};return f(f({},i),{formatMessage:qe.bind(null,d,i.formatters),$t:qe.bind(null,d,i.formatters)})},da=(function(e){Je(a,e);function a(){var t=e!==null&&e.apply(this,arguments)||this;return t.cache=dt(),t.state={cache:t.cache,intl:Se(H(t.props),t.cache),prevConfig:H(t.props)},t}return a.getDerivedStateFromProps=function(t,n){var r=n.prevConfig,i=n.cache,d=H(t);return ut(r,d)?null:{intl:Se(d,i),prevConfig:d}},a.prototype.render=function(){return mt(this.state.intl),$.createElement(ht,{value:this.state.intl},this.props.children)},a.displayName="IntlProvider",a.defaultProps=ze,a})($.PureComponent);const Jt="#fafafc",Re=L.div`
|
|
12
|
+
overflow: auto;
|
|
13
|
+
font-size: 14px;
|
|
14
|
+
`,Ce=L.table`
|
|
15
|
+
border-collapse: collapse;
|
|
16
|
+
width: 100%;
|
|
17
|
+
font-size: 14px;
|
|
18
|
+
`,_e=L.th`
|
|
19
|
+
padding: ${V(ve[8])};
|
|
20
|
+
text-align: center;
|
|
21
|
+
border: 1px solid ${V(j.border.primary)};
|
|
22
|
+
position: sticky;
|
|
23
|
+
background-color: #fff;
|
|
24
|
+
top: 0;
|
|
25
|
+
left: 0;
|
|
26
|
+
z-index: 2;
|
|
27
|
+
min-width: 100px;
|
|
28
|
+
font-size: 14px;
|
|
29
|
+
`,Ee=L.td`
|
|
30
|
+
padding: ${V(ve[8])};
|
|
31
|
+
text-align: center;
|
|
32
|
+
border: 1px solid ${V(j.border.primary)};
|
|
33
|
+
background-color: ${e=>e["data-ishighlighted"]?V(j.background.tertiary):e["data-isevengroup"]?Jt:V(j.background.primary)};
|
|
34
|
+
transition: background-color 0.3s ease;
|
|
35
|
+
white-space: nowrap;
|
|
36
|
+
vertical-align: ${e=>e["data-iscentered"]?"middle":"top"};
|
|
37
|
+
font-size: 14px;
|
|
38
|
+
`,je=L.td`
|
|
39
|
+
padding: ${V(ve[8])};
|
|
40
|
+
text-align: left;
|
|
41
|
+
border: 1px solid ${V(j.border.primary)};
|
|
42
|
+
background-color: ${V(j.background.infoLight)};
|
|
43
|
+
font-size: 14px;
|
|
44
|
+
`,Le=L.td`
|
|
45
|
+
height: 1px;
|
|
46
|
+
background-color: EVEN_GROUP_COLOR;
|
|
47
|
+
`;try{Re.displayName="TableContainer",Re.__docgenInfo={description:"",displayName:"TableContainer",props:{theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"enum",value:[{value:"DefaultTheme"}]}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"enum",value:[{value:"string"},{value:"void"},{value:"ExoticComponentWithDisplayName<any>"},{value:"ComponentClass<any, any>"},{value:"FunctionComponent<any>"}]}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"enum",value:[{value:"string"},{value:"void"},{value:"ExoticComponentWithDisplayName<any>"},{value:"ComponentClass<any, any>"},{value:"FunctionComponent<any>"}]}}}}}catch{}try{Ce.displayName="Table",Ce.__docgenInfo={description:"",displayName:"Table",props:{theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"enum",value:[{value:"DefaultTheme"}]}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"enum",value:[{value:"string"},{value:"void"},{value:"ExoticComponentWithDisplayName<any>"},{value:"ComponentClass<any, any>"},{value:"FunctionComponent<any>"}]}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"enum",value:[{value:"string"},{value:"void"},{value:"ExoticComponentWithDisplayName<any>"},{value:"ComponentClass<any, any>"},{value:"FunctionComponent<any>"}]}}}}}catch{}try{_e.displayName="Th",_e.__docgenInfo={description:"",displayName:"Th",props:{theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"enum",value:[{value:"DefaultTheme"}]}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"enum",value:[{value:"string"},{value:"void"},{value:"ExoticComponentWithDisplayName<any>"},{value:"ComponentClass<any, any>"},{value:"FunctionComponent<any>"}]}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"enum",value:[{value:"string"},{value:"void"},{value:"ExoticComponentWithDisplayName<any>"},{value:"ComponentClass<any, any>"},{value:"FunctionComponent<any>"}]}}}}}catch{}try{Ee.displayName="Td",Ee.__docgenInfo={description:"",displayName:"Td",props:{theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"enum",value:[{value:"DefaultTheme"}]}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"enum",value:[{value:"string"},{value:"void"},{value:"ExoticComponentWithDisplayName<any>"},{value:"ComponentClass<any, any>"},{value:"FunctionComponent<any>"}]}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"enum",value:[{value:"string"},{value:"void"},{value:"ExoticComponentWithDisplayName<any>"},{value:"ComponentClass<any, any>"},{value:"FunctionComponent<any>"}]}}}}}catch{}try{je.displayName="TdTitle",je.__docgenInfo={description:"",displayName:"TdTitle",props:{theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"enum",value:[{value:"DefaultTheme"}]}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"enum",value:[{value:"string"},{value:"void"},{value:"ExoticComponentWithDisplayName<any>"},{value:"ComponentClass<any, any>"},{value:"FunctionComponent<any>"}]}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"enum",value:[{value:"string"},{value:"void"},{value:"ExoticComponentWithDisplayName<any>"},{value:"ComponentClass<any, any>"},{value:"FunctionComponent<any>"}]}}}}}catch{}try{Le.displayName="TdDivider",Le.__docgenInfo={description:"",displayName:"TdDivider",props:{theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"enum",value:[{value:"DefaultTheme"}]}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"enum",value:[{value:"string"},{value:"void"},{value:"ExoticComponentWithDisplayName<any>"},{value:"ComponentClass<any, any>"},{value:"FunctionComponent<any>"}]}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"enum",value:[{value:"string"},{value:"void"},{value:"ExoticComponentWithDisplayName<any>"},{value:"ComponentClass<any, any>"},{value:"FunctionComponent<any>"}]}}}}}catch{}function p({children:e}){return y.jsx("span",{children:e})}try{p.displayName="Wrapper",p.__docgenInfo={description:`Prevent Google Translate (or another browser translator / DOM manipulating extension) to make React
|
|
48
|
+
crash when the users translate the page.`,displayName:"Wrapper",props:{}}}catch{}function K(...e){const{formatDayFull:a}=g(),t=a(...e);return y.jsx(p,{children:t})}function X(...e){const{formatDayShort:a}=g(),t=a(...e);return y.jsx(p,{children:t})}function Q(...e){const{formatMonthFull:a}=g(),t=a(...e);return y.jsx(p,{children:t})}function J(...e){const{formatMonthShort:a}=g(),t=a(...e);return y.jsx(p,{children:t})}function ee(...e){const{formatMonthYearFull:a}=g(),t=a(...e);return y.jsx(p,{children:t})}function te(...e){const{formatMonthYearShort:a}=g(),t=a(...e);return y.jsx(p,{children:t})}function ae(...e){const{formatDateFull:a}=g(),t=a(...e);return y.jsx(p,{children:t})}function ne(...e){const{formatDateShort:a}=g(),t=a(...e);return y.jsx(p,{children:t})}function re(...e){const{formatDateYearShort:a}=g(),t=a(...e);return y.jsx(p,{children:t})}function ie(...e){const{formatDayDateFull:a}=g(),t=a(...e);return y.jsx(p,{children:t})}function oe(...e){const{formatDayDateShort:a}=g(),t=a(...e);return y.jsx(p,{children:t})}function se(...e){const{formatDateYearFull:a}=g(),t=a(...e);return y.jsx(p,{children:t})}function le(...e){const{formatDayDateYearFull:a}=g(),t=a(...e);return y.jsx(p,{children:t})}function de(...e){const{formatDayDateYearShort:a}=g(),t=a(...e);return y.jsx(p,{children:t})}function ue(...e){const{formatDateRangeShort:a}=g(),t=a(...e);return y.jsx(p,{children:t})}function me(...e){const{formatDateRangeFull:a}=g(),t=a(...e);return y.jsx(p,{children:t})}function he(...e){const{formatDateRangeYearShort:a}=g(),t=a(...e);return y.jsx(p,{children:t})}function ce(...e){const{formatDayDateNumberShort:a}=g(),t=a(...e);return y.jsx(p,{children:t})}function fe(...e){const{formatRelativeDay:a}=g(),t=a(...e);return t?y.jsx(p,{children:t}):void 0}function pe(...e){const{formatRelativeDayDateShort:a}=g(),t=a(...e);return t?y.jsx(p,{children:t}):void 0}function ye(...e){const{formatEveryWeekDayFull:a}=g(),t=a(...e);return y.jsx(p,{children:t})}const b={DayFull:K,DayShort:X,MonthFull:Q,MonthShort:J,MonthYearFull:ee,MonthYearShort:te,DateFull:ae,DateShort:ne,DateYearFull:se,DateYearShort:re,DayDateFull:ie,DayDateShort:oe,DayDateYearFull:le,DayDateYearShort:de,DateRangeShort:ue,DateRangeFull:me,DateRangeYearShort:he,RelativeDay:fe,RelativeDayDateShort:pe,DayDateNumberShort:ce,EveryWeekDayFull:ye};try{K.displayName="DayFull",K.__docgenInfo={description:"",displayName:"DayFull",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"IntlFormattedDateProps"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
|
|
49
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
|
|
50
|
+
@param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
|
|
51
|
+
This method returns a new array without modifying any existing arrays.
|
|
52
|
+
@param items Additional arrays and/or items to add to the end of the array.
|
|
53
|
+
@param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<IntlFormattedDateProps>[]): IntlFormattedDateProps[]; (...items: (IntlFormattedDateProps | ConcatArray<...>)[]): IntlFormattedDateProps[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
|
|
54
|
+
@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
|
|
55
|
+
This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
|
|
56
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
|
|
57
|
+
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
58
|
+
For example, -2 refers to the second to last element of the array.
|
|
59
|
+
@param start The beginning index of the specified portion of the array.
|
|
60
|
+
If start is undefined, then the slice begins at index 0.
|
|
61
|
+
@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
|
62
|
+
If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => IntlFormattedDateProps[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
|
|
63
|
+
This method mutates the array and returns a reference to the same array.
|
|
64
|
+
@param compareFn Function used to determine the order of the elements. It is expected to return
|
|
65
|
+
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
|
66
|
+
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
|
67
|
+
\`\`\`ts
|
|
68
|
+
[11,2,22,1].sort((a, b) => a - b)
|
|
69
|
+
\`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => [IntlFormattedDateProps]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
70
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
71
|
+
@param deleteCount The number of elements to remove.
|
|
72
|
+
@returns An array containing the elements that were deleted.
|
|
73
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
74
|
+
@param deleteCount The number of elements to remove.
|
|
75
|
+
@param items Elements to insert into the array in place of the deleted elements.
|
|
76
|
+
@returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
|
|
77
|
+
@param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
78
|
+
@param searchElement The value to locate in the array.
|
|
79
|
+
@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
80
|
+
@param searchElement The value to locate in the array.
|
|
81
|
+
@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
|
|
82
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
83
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
84
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
85
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
86
|
+
If thisArg is omitted, undefined is used as the this value.
|
|
87
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
88
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
89
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
90
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
91
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
|
|
92
|
+
@param predicate A function that accepts up to three arguments. The some method calls
|
|
93
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
94
|
+
which is coercible to the Boolean value true, or until the end of the array.
|
|
95
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
96
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
|
|
97
|
+
@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
|
98
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
99
|
+
@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
|
100
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
|
|
101
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
102
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
103
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
104
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps[]; }"}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
105
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
106
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
107
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
108
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
109
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
110
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
111
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
112
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
|
|
113
|
+
otherwise.
|
|
114
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
115
|
+
order, until it finds one where predicate returns true. If such an element is found, find
|
|
116
|
+
immediately returns that element value. Otherwise, find returns undefined.
|
|
117
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
118
|
+
predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps | un..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
|
|
119
|
+
otherwise.
|
|
120
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
121
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
122
|
+
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
|
|
123
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
124
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: IntlFormattedDateProps, start?: number | undefined, end?: number | undefined) => [IntlFormattedDateProps]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
|
|
125
|
+
to the same array starting at position target
|
|
126
|
+
@param target If target is negative, it is treated as length+target where length is the
|
|
127
|
+
length of the array.
|
|
128
|
+
@param start If start is negative, it is treated as length+start. If end is negative, it
|
|
129
|
+
is treated as length+end.
|
|
130
|
+
@param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [IntlFormattedDateProps]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, IntlFormattedDateProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
131
|
+
@param searchElement The element to search for.
|
|
132
|
+
@param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
133
|
+
a new array.
|
|
134
|
+
This is identical to a map followed by flat with depth 1.
|
|
135
|
+
@param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
136
|
+
callback function one time for each element in the array.
|
|
137
|
+
@param thisArg An object to which the this keyword can refer in the callback function. If
|
|
138
|
+
thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
139
|
+
specified depth.
|
|
140
|
+
@param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
|
|
141
|
+
@param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => IntlFormattedDateProps | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
|
|
142
|
+
otherwise.
|
|
143
|
+
@param predicate findLast calls predicate once for each element of the array, in descending
|
|
144
|
+
order, until it finds one where predicate returns true. If such an element is found, findLast
|
|
145
|
+
immediately returns that element value. Otherwise, findLast returns undefined.
|
|
146
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
147
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps ..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
|
|
148
|
+
otherwise.
|
|
149
|
+
@param predicate findLastIndex calls predicate once for each element of the array, in descending
|
|
150
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
151
|
+
findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
|
152
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
153
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => IntlFormattedDateProps[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
|
154
|
+
Copies an array and removes elements while returning the remaining elements.
|
|
155
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
156
|
+
@param deleteCount The number of elements to remove.
|
|
157
|
+
@param items Elements to insert into the copied array in place of the deleted elements.
|
|
158
|
+
@returns The copied array.
|
|
159
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
160
|
+
@param deleteCount The number of elements to remove.
|
|
161
|
+
@returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
|
|
162
|
+
given value. If the index is negative, then it replaces from the end
|
|
163
|
+
of the array.
|
|
164
|
+
@param index The index of the value to overwrite. If the index is
|
|
165
|
+
negative, then it replaces from the end of the array.
|
|
166
|
+
@param value The value to write into the copied array.
|
|
167
|
+
@returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: IntlFormattedDateProps) => IntlFormattedDateProps[]"}},"__@iterator@407":{defaultValue:null,description:"Iterator",name:"__@iterator@407",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},"__@unscopables@554":{defaultValue:null,description:`Is an object whose properties have the value 'true'
|
|
168
|
+
when they will be absent when used in a 'with' statement.`,name:"__@unscopables@554",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}try{X.displayName="DayShort",X.__docgenInfo={description:"",displayName:"DayShort",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"IntlFormattedDateProps"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
|
|
169
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
|
|
170
|
+
@param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
|
|
171
|
+
This method returns a new array without modifying any existing arrays.
|
|
172
|
+
@param items Additional arrays and/or items to add to the end of the array.
|
|
173
|
+
@param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<IntlFormattedDateProps>[]): IntlFormattedDateProps[]; (...items: (IntlFormattedDateProps | ConcatArray<...>)[]): IntlFormattedDateProps[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
|
|
174
|
+
@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
|
|
175
|
+
This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
|
|
176
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
|
|
177
|
+
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
178
|
+
For example, -2 refers to the second to last element of the array.
|
|
179
|
+
@param start The beginning index of the specified portion of the array.
|
|
180
|
+
If start is undefined, then the slice begins at index 0.
|
|
181
|
+
@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
|
182
|
+
If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => IntlFormattedDateProps[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
|
|
183
|
+
This method mutates the array and returns a reference to the same array.
|
|
184
|
+
@param compareFn Function used to determine the order of the elements. It is expected to return
|
|
185
|
+
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
|
186
|
+
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
|
187
|
+
\`\`\`ts
|
|
188
|
+
[11,2,22,1].sort((a, b) => a - b)
|
|
189
|
+
\`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => [IntlFormattedDateProps]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
190
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
191
|
+
@param deleteCount The number of elements to remove.
|
|
192
|
+
@returns An array containing the elements that were deleted.
|
|
193
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
194
|
+
@param deleteCount The number of elements to remove.
|
|
195
|
+
@param items Elements to insert into the array in place of the deleted elements.
|
|
196
|
+
@returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
|
|
197
|
+
@param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
198
|
+
@param searchElement The value to locate in the array.
|
|
199
|
+
@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
200
|
+
@param searchElement The value to locate in the array.
|
|
201
|
+
@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
|
|
202
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
203
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
204
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
205
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
206
|
+
If thisArg is omitted, undefined is used as the this value.
|
|
207
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
208
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
209
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
210
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
211
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
|
|
212
|
+
@param predicate A function that accepts up to three arguments. The some method calls
|
|
213
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
214
|
+
which is coercible to the Boolean value true, or until the end of the array.
|
|
215
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
216
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
|
|
217
|
+
@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
|
218
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
219
|
+
@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
|
220
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
|
|
221
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
222
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
223
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
224
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps[]; }"}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
225
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
226
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
227
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
228
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
229
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
230
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
231
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
232
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
|
|
233
|
+
otherwise.
|
|
234
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
235
|
+
order, until it finds one where predicate returns true. If such an element is found, find
|
|
236
|
+
immediately returns that element value. Otherwise, find returns undefined.
|
|
237
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
238
|
+
predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps | un..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
|
|
239
|
+
otherwise.
|
|
240
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
241
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
242
|
+
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
|
|
243
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
244
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: IntlFormattedDateProps, start?: number | undefined, end?: number | undefined) => [IntlFormattedDateProps]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
|
|
245
|
+
to the same array starting at position target
|
|
246
|
+
@param target If target is negative, it is treated as length+target where length is the
|
|
247
|
+
length of the array.
|
|
248
|
+
@param start If start is negative, it is treated as length+start. If end is negative, it
|
|
249
|
+
is treated as length+end.
|
|
250
|
+
@param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [IntlFormattedDateProps]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, IntlFormattedDateProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
251
|
+
@param searchElement The element to search for.
|
|
252
|
+
@param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
253
|
+
a new array.
|
|
254
|
+
This is identical to a map followed by flat with depth 1.
|
|
255
|
+
@param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
256
|
+
callback function one time for each element in the array.
|
|
257
|
+
@param thisArg An object to which the this keyword can refer in the callback function. If
|
|
258
|
+
thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
259
|
+
specified depth.
|
|
260
|
+
@param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
|
|
261
|
+
@param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => IntlFormattedDateProps | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
|
|
262
|
+
otherwise.
|
|
263
|
+
@param predicate findLast calls predicate once for each element of the array, in descending
|
|
264
|
+
order, until it finds one where predicate returns true. If such an element is found, findLast
|
|
265
|
+
immediately returns that element value. Otherwise, findLast returns undefined.
|
|
266
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
267
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps ..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
|
|
268
|
+
otherwise.
|
|
269
|
+
@param predicate findLastIndex calls predicate once for each element of the array, in descending
|
|
270
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
271
|
+
findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
|
272
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
273
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => IntlFormattedDateProps[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
|
274
|
+
Copies an array and removes elements while returning the remaining elements.
|
|
275
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
276
|
+
@param deleteCount The number of elements to remove.
|
|
277
|
+
@param items Elements to insert into the copied array in place of the deleted elements.
|
|
278
|
+
@returns The copied array.
|
|
279
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
280
|
+
@param deleteCount The number of elements to remove.
|
|
281
|
+
@returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
|
|
282
|
+
given value. If the index is negative, then it replaces from the end
|
|
283
|
+
of the array.
|
|
284
|
+
@param index The index of the value to overwrite. If the index is
|
|
285
|
+
negative, then it replaces from the end of the array.
|
|
286
|
+
@param value The value to write into the copied array.
|
|
287
|
+
@returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: IntlFormattedDateProps) => IntlFormattedDateProps[]"}},"__@iterator@407":{defaultValue:null,description:"Iterator",name:"__@iterator@407",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},"__@unscopables@554":{defaultValue:null,description:`Is an object whose properties have the value 'true'
|
|
288
|
+
when they will be absent when used in a 'with' statement.`,name:"__@unscopables@554",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}try{Q.displayName="MonthFull",Q.__docgenInfo={description:"",displayName:"MonthFull",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"IntlFormattedDateProps"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
|
|
289
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
|
|
290
|
+
@param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
|
|
291
|
+
This method returns a new array without modifying any existing arrays.
|
|
292
|
+
@param items Additional arrays and/or items to add to the end of the array.
|
|
293
|
+
@param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<IntlFormattedDateProps>[]): IntlFormattedDateProps[]; (...items: (IntlFormattedDateProps | ConcatArray<...>)[]): IntlFormattedDateProps[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
|
|
294
|
+
@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
|
|
295
|
+
This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
|
|
296
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
|
|
297
|
+
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
298
|
+
For example, -2 refers to the second to last element of the array.
|
|
299
|
+
@param start The beginning index of the specified portion of the array.
|
|
300
|
+
If start is undefined, then the slice begins at index 0.
|
|
301
|
+
@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
|
302
|
+
If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => IntlFormattedDateProps[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
|
|
303
|
+
This method mutates the array and returns a reference to the same array.
|
|
304
|
+
@param compareFn Function used to determine the order of the elements. It is expected to return
|
|
305
|
+
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
|
306
|
+
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
|
307
|
+
\`\`\`ts
|
|
308
|
+
[11,2,22,1].sort((a, b) => a - b)
|
|
309
|
+
\`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => [IntlFormattedDateProps]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
310
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
311
|
+
@param deleteCount The number of elements to remove.
|
|
312
|
+
@returns An array containing the elements that were deleted.
|
|
313
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
314
|
+
@param deleteCount The number of elements to remove.
|
|
315
|
+
@param items Elements to insert into the array in place of the deleted elements.
|
|
316
|
+
@returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
|
|
317
|
+
@param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
318
|
+
@param searchElement The value to locate in the array.
|
|
319
|
+
@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
320
|
+
@param searchElement The value to locate in the array.
|
|
321
|
+
@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
|
|
322
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
323
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
324
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
325
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
326
|
+
If thisArg is omitted, undefined is used as the this value.
|
|
327
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
328
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
329
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
330
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
331
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
|
|
332
|
+
@param predicate A function that accepts up to three arguments. The some method calls
|
|
333
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
334
|
+
which is coercible to the Boolean value true, or until the end of the array.
|
|
335
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
336
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
|
|
337
|
+
@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
|
338
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
339
|
+
@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
|
340
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
|
|
341
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
342
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
343
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
344
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps[]; }"}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
345
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
346
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
347
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
348
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
349
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
350
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
351
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
352
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
|
|
353
|
+
otherwise.
|
|
354
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
355
|
+
order, until it finds one where predicate returns true. If such an element is found, find
|
|
356
|
+
immediately returns that element value. Otherwise, find returns undefined.
|
|
357
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
358
|
+
predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps | un..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
|
|
359
|
+
otherwise.
|
|
360
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
361
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
362
|
+
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
|
|
363
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
364
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: IntlFormattedDateProps, start?: number | undefined, end?: number | undefined) => [IntlFormattedDateProps]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
|
|
365
|
+
to the same array starting at position target
|
|
366
|
+
@param target If target is negative, it is treated as length+target where length is the
|
|
367
|
+
length of the array.
|
|
368
|
+
@param start If start is negative, it is treated as length+start. If end is negative, it
|
|
369
|
+
is treated as length+end.
|
|
370
|
+
@param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [IntlFormattedDateProps]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, IntlFormattedDateProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
371
|
+
@param searchElement The element to search for.
|
|
372
|
+
@param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
373
|
+
a new array.
|
|
374
|
+
This is identical to a map followed by flat with depth 1.
|
|
375
|
+
@param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
376
|
+
callback function one time for each element in the array.
|
|
377
|
+
@param thisArg An object to which the this keyword can refer in the callback function. If
|
|
378
|
+
thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
379
|
+
specified depth.
|
|
380
|
+
@param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
|
|
381
|
+
@param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => IntlFormattedDateProps | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
|
|
382
|
+
otherwise.
|
|
383
|
+
@param predicate findLast calls predicate once for each element of the array, in descending
|
|
384
|
+
order, until it finds one where predicate returns true. If such an element is found, findLast
|
|
385
|
+
immediately returns that element value. Otherwise, findLast returns undefined.
|
|
386
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
387
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps ..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
|
|
388
|
+
otherwise.
|
|
389
|
+
@param predicate findLastIndex calls predicate once for each element of the array, in descending
|
|
390
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
391
|
+
findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
|
392
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
393
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => IntlFormattedDateProps[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
|
394
|
+
Copies an array and removes elements while returning the remaining elements.
|
|
395
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
396
|
+
@param deleteCount The number of elements to remove.
|
|
397
|
+
@param items Elements to insert into the copied array in place of the deleted elements.
|
|
398
|
+
@returns The copied array.
|
|
399
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
400
|
+
@param deleteCount The number of elements to remove.
|
|
401
|
+
@returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
|
|
402
|
+
given value. If the index is negative, then it replaces from the end
|
|
403
|
+
of the array.
|
|
404
|
+
@param index The index of the value to overwrite. If the index is
|
|
405
|
+
negative, then it replaces from the end of the array.
|
|
406
|
+
@param value The value to write into the copied array.
|
|
407
|
+
@returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: IntlFormattedDateProps) => IntlFormattedDateProps[]"}},"__@iterator@407":{defaultValue:null,description:"Iterator",name:"__@iterator@407",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},"__@unscopables@554":{defaultValue:null,description:`Is an object whose properties have the value 'true'
|
|
408
|
+
when they will be absent when used in a 'with' statement.`,name:"__@unscopables@554",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}try{J.displayName="MonthShort",J.__docgenInfo={description:"",displayName:"MonthShort",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"IntlFormattedDateProps"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
|
|
409
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
|
|
410
|
+
@param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
|
|
411
|
+
This method returns a new array without modifying any existing arrays.
|
|
412
|
+
@param items Additional arrays and/or items to add to the end of the array.
|
|
413
|
+
@param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<IntlFormattedDateProps>[]): IntlFormattedDateProps[]; (...items: (IntlFormattedDateProps | ConcatArray<...>)[]): IntlFormattedDateProps[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
|
|
414
|
+
@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
|
|
415
|
+
This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
|
|
416
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
|
|
417
|
+
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
418
|
+
For example, -2 refers to the second to last element of the array.
|
|
419
|
+
@param start The beginning index of the specified portion of the array.
|
|
420
|
+
If start is undefined, then the slice begins at index 0.
|
|
421
|
+
@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
|
422
|
+
If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => IntlFormattedDateProps[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
|
|
423
|
+
This method mutates the array and returns a reference to the same array.
|
|
424
|
+
@param compareFn Function used to determine the order of the elements. It is expected to return
|
|
425
|
+
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
|
426
|
+
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
|
427
|
+
\`\`\`ts
|
|
428
|
+
[11,2,22,1].sort((a, b) => a - b)
|
|
429
|
+
\`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => [IntlFormattedDateProps]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
430
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
431
|
+
@param deleteCount The number of elements to remove.
|
|
432
|
+
@returns An array containing the elements that were deleted.
|
|
433
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
434
|
+
@param deleteCount The number of elements to remove.
|
|
435
|
+
@param items Elements to insert into the array in place of the deleted elements.
|
|
436
|
+
@returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
|
|
437
|
+
@param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
438
|
+
@param searchElement The value to locate in the array.
|
|
439
|
+
@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
440
|
+
@param searchElement The value to locate in the array.
|
|
441
|
+
@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
|
|
442
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
443
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
444
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
445
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
446
|
+
If thisArg is omitted, undefined is used as the this value.
|
|
447
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
448
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
449
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
450
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
451
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
|
|
452
|
+
@param predicate A function that accepts up to three arguments. The some method calls
|
|
453
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
454
|
+
which is coercible to the Boolean value true, or until the end of the array.
|
|
455
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
456
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
|
|
457
|
+
@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
|
458
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
459
|
+
@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
|
460
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
|
|
461
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
462
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
463
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
464
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps[]; }"}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
465
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
466
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
467
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
468
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
469
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
470
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
471
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
472
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
|
|
473
|
+
otherwise.
|
|
474
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
475
|
+
order, until it finds one where predicate returns true. If such an element is found, find
|
|
476
|
+
immediately returns that element value. Otherwise, find returns undefined.
|
|
477
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
478
|
+
predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps | un..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
|
|
479
|
+
otherwise.
|
|
480
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
481
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
482
|
+
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
|
|
483
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
484
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: IntlFormattedDateProps, start?: number | undefined, end?: number | undefined) => [IntlFormattedDateProps]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
|
|
485
|
+
to the same array starting at position target
|
|
486
|
+
@param target If target is negative, it is treated as length+target where length is the
|
|
487
|
+
length of the array.
|
|
488
|
+
@param start If start is negative, it is treated as length+start. If end is negative, it
|
|
489
|
+
is treated as length+end.
|
|
490
|
+
@param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [IntlFormattedDateProps]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, IntlFormattedDateProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
491
|
+
@param searchElement The element to search for.
|
|
492
|
+
@param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
493
|
+
a new array.
|
|
494
|
+
This is identical to a map followed by flat with depth 1.
|
|
495
|
+
@param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
496
|
+
callback function one time for each element in the array.
|
|
497
|
+
@param thisArg An object to which the this keyword can refer in the callback function. If
|
|
498
|
+
thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
499
|
+
specified depth.
|
|
500
|
+
@param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
|
|
501
|
+
@param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => IntlFormattedDateProps | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
|
|
502
|
+
otherwise.
|
|
503
|
+
@param predicate findLast calls predicate once for each element of the array, in descending
|
|
504
|
+
order, until it finds one where predicate returns true. If such an element is found, findLast
|
|
505
|
+
immediately returns that element value. Otherwise, findLast returns undefined.
|
|
506
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
507
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps ..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
|
|
508
|
+
otherwise.
|
|
509
|
+
@param predicate findLastIndex calls predicate once for each element of the array, in descending
|
|
510
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
511
|
+
findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
|
512
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
513
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => IntlFormattedDateProps[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
|
514
|
+
Copies an array and removes elements while returning the remaining elements.
|
|
515
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
516
|
+
@param deleteCount The number of elements to remove.
|
|
517
|
+
@param items Elements to insert into the copied array in place of the deleted elements.
|
|
518
|
+
@returns The copied array.
|
|
519
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
520
|
+
@param deleteCount The number of elements to remove.
|
|
521
|
+
@returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
|
|
522
|
+
given value. If the index is negative, then it replaces from the end
|
|
523
|
+
of the array.
|
|
524
|
+
@param index The index of the value to overwrite. If the index is
|
|
525
|
+
negative, then it replaces from the end of the array.
|
|
526
|
+
@param value The value to write into the copied array.
|
|
527
|
+
@returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: IntlFormattedDateProps) => IntlFormattedDateProps[]"}},"__@iterator@407":{defaultValue:null,description:"Iterator",name:"__@iterator@407",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},"__@unscopables@554":{defaultValue:null,description:`Is an object whose properties have the value 'true'
|
|
528
|
+
when they will be absent when used in a 'with' statement.`,name:"__@unscopables@554",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}try{ee.displayName="MonthYearFull",ee.__docgenInfo={description:"",displayName:"MonthYearFull",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"IntlFormattedDateProps"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
|
|
529
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
|
|
530
|
+
@param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
|
|
531
|
+
This method returns a new array without modifying any existing arrays.
|
|
532
|
+
@param items Additional arrays and/or items to add to the end of the array.
|
|
533
|
+
@param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<IntlFormattedDateProps>[]): IntlFormattedDateProps[]; (...items: (IntlFormattedDateProps | ConcatArray<...>)[]): IntlFormattedDateProps[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
|
|
534
|
+
@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
|
|
535
|
+
This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
|
|
536
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
|
|
537
|
+
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
538
|
+
For example, -2 refers to the second to last element of the array.
|
|
539
|
+
@param start The beginning index of the specified portion of the array.
|
|
540
|
+
If start is undefined, then the slice begins at index 0.
|
|
541
|
+
@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
|
542
|
+
If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => IntlFormattedDateProps[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
|
|
543
|
+
This method mutates the array and returns a reference to the same array.
|
|
544
|
+
@param compareFn Function used to determine the order of the elements. It is expected to return
|
|
545
|
+
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
|
546
|
+
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
|
547
|
+
\`\`\`ts
|
|
548
|
+
[11,2,22,1].sort((a, b) => a - b)
|
|
549
|
+
\`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => [IntlFormattedDateProps]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
550
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
551
|
+
@param deleteCount The number of elements to remove.
|
|
552
|
+
@returns An array containing the elements that were deleted.
|
|
553
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
554
|
+
@param deleteCount The number of elements to remove.
|
|
555
|
+
@param items Elements to insert into the array in place of the deleted elements.
|
|
556
|
+
@returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
|
|
557
|
+
@param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
558
|
+
@param searchElement The value to locate in the array.
|
|
559
|
+
@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
560
|
+
@param searchElement The value to locate in the array.
|
|
561
|
+
@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
|
|
562
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
563
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
564
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
565
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
566
|
+
If thisArg is omitted, undefined is used as the this value.
|
|
567
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
568
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
569
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
570
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
571
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
|
|
572
|
+
@param predicate A function that accepts up to three arguments. The some method calls
|
|
573
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
574
|
+
which is coercible to the Boolean value true, or until the end of the array.
|
|
575
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
576
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
|
|
577
|
+
@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
|
578
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
579
|
+
@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
|
580
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
|
|
581
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
582
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
583
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
584
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps[]; }"}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
585
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
586
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
587
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
588
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
589
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
590
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
591
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
592
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
|
|
593
|
+
otherwise.
|
|
594
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
595
|
+
order, until it finds one where predicate returns true. If such an element is found, find
|
|
596
|
+
immediately returns that element value. Otherwise, find returns undefined.
|
|
597
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
598
|
+
predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps | un..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
|
|
599
|
+
otherwise.
|
|
600
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
601
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
602
|
+
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
|
|
603
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
604
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: IntlFormattedDateProps, start?: number | undefined, end?: number | undefined) => [IntlFormattedDateProps]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
|
|
605
|
+
to the same array starting at position target
|
|
606
|
+
@param target If target is negative, it is treated as length+target where length is the
|
|
607
|
+
length of the array.
|
|
608
|
+
@param start If start is negative, it is treated as length+start. If end is negative, it
|
|
609
|
+
is treated as length+end.
|
|
610
|
+
@param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [IntlFormattedDateProps]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, IntlFormattedDateProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
611
|
+
@param searchElement The element to search for.
|
|
612
|
+
@param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
613
|
+
a new array.
|
|
614
|
+
This is identical to a map followed by flat with depth 1.
|
|
615
|
+
@param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
616
|
+
callback function one time for each element in the array.
|
|
617
|
+
@param thisArg An object to which the this keyword can refer in the callback function. If
|
|
618
|
+
thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
619
|
+
specified depth.
|
|
620
|
+
@param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
|
|
621
|
+
@param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => IntlFormattedDateProps | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
|
|
622
|
+
otherwise.
|
|
623
|
+
@param predicate findLast calls predicate once for each element of the array, in descending
|
|
624
|
+
order, until it finds one where predicate returns true. If such an element is found, findLast
|
|
625
|
+
immediately returns that element value. Otherwise, findLast returns undefined.
|
|
626
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
627
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps ..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
|
|
628
|
+
otherwise.
|
|
629
|
+
@param predicate findLastIndex calls predicate once for each element of the array, in descending
|
|
630
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
631
|
+
findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
|
632
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
633
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => IntlFormattedDateProps[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
|
634
|
+
Copies an array and removes elements while returning the remaining elements.
|
|
635
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
636
|
+
@param deleteCount The number of elements to remove.
|
|
637
|
+
@param items Elements to insert into the copied array in place of the deleted elements.
|
|
638
|
+
@returns The copied array.
|
|
639
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
640
|
+
@param deleteCount The number of elements to remove.
|
|
641
|
+
@returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
|
|
642
|
+
given value. If the index is negative, then it replaces from the end
|
|
643
|
+
of the array.
|
|
644
|
+
@param index The index of the value to overwrite. If the index is
|
|
645
|
+
negative, then it replaces from the end of the array.
|
|
646
|
+
@param value The value to write into the copied array.
|
|
647
|
+
@returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: IntlFormattedDateProps) => IntlFormattedDateProps[]"}},"__@iterator@407":{defaultValue:null,description:"Iterator",name:"__@iterator@407",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},"__@unscopables@554":{defaultValue:null,description:`Is an object whose properties have the value 'true'
|
|
648
|
+
when they will be absent when used in a 'with' statement.`,name:"__@unscopables@554",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}try{te.displayName="MonthYearShort",te.__docgenInfo={description:"",displayName:"MonthYearShort",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"IntlFormattedDateProps"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
|
|
649
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
|
|
650
|
+
@param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
|
|
651
|
+
This method returns a new array without modifying any existing arrays.
|
|
652
|
+
@param items Additional arrays and/or items to add to the end of the array.
|
|
653
|
+
@param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<IntlFormattedDateProps>[]): IntlFormattedDateProps[]; (...items: (IntlFormattedDateProps | ConcatArray<...>)[]): IntlFormattedDateProps[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
|
|
654
|
+
@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
|
|
655
|
+
This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
|
|
656
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
|
|
657
|
+
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
658
|
+
For example, -2 refers to the second to last element of the array.
|
|
659
|
+
@param start The beginning index of the specified portion of the array.
|
|
660
|
+
If start is undefined, then the slice begins at index 0.
|
|
661
|
+
@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
|
662
|
+
If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => IntlFormattedDateProps[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
|
|
663
|
+
This method mutates the array and returns a reference to the same array.
|
|
664
|
+
@param compareFn Function used to determine the order of the elements. It is expected to return
|
|
665
|
+
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
|
666
|
+
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
|
667
|
+
\`\`\`ts
|
|
668
|
+
[11,2,22,1].sort((a, b) => a - b)
|
|
669
|
+
\`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => [IntlFormattedDateProps]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
670
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
671
|
+
@param deleteCount The number of elements to remove.
|
|
672
|
+
@returns An array containing the elements that were deleted.
|
|
673
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
674
|
+
@param deleteCount The number of elements to remove.
|
|
675
|
+
@param items Elements to insert into the array in place of the deleted elements.
|
|
676
|
+
@returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
|
|
677
|
+
@param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
678
|
+
@param searchElement The value to locate in the array.
|
|
679
|
+
@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
680
|
+
@param searchElement The value to locate in the array.
|
|
681
|
+
@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
|
|
682
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
683
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
684
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
685
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
686
|
+
If thisArg is omitted, undefined is used as the this value.
|
|
687
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
688
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
689
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
690
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
691
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
|
|
692
|
+
@param predicate A function that accepts up to three arguments. The some method calls
|
|
693
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
694
|
+
which is coercible to the Boolean value true, or until the end of the array.
|
|
695
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
696
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
|
|
697
|
+
@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
|
698
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
699
|
+
@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
|
700
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
|
|
701
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
702
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
703
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
704
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps[]; }"}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
705
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
706
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
707
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
708
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
709
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
710
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
711
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
712
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
|
|
713
|
+
otherwise.
|
|
714
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
715
|
+
order, until it finds one where predicate returns true. If such an element is found, find
|
|
716
|
+
immediately returns that element value. Otherwise, find returns undefined.
|
|
717
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
718
|
+
predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps | un..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
|
|
719
|
+
otherwise.
|
|
720
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
721
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
722
|
+
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
|
|
723
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
724
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: IntlFormattedDateProps, start?: number | undefined, end?: number | undefined) => [IntlFormattedDateProps]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
|
|
725
|
+
to the same array starting at position target
|
|
726
|
+
@param target If target is negative, it is treated as length+target where length is the
|
|
727
|
+
length of the array.
|
|
728
|
+
@param start If start is negative, it is treated as length+start. If end is negative, it
|
|
729
|
+
is treated as length+end.
|
|
730
|
+
@param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [IntlFormattedDateProps]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, IntlFormattedDateProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
731
|
+
@param searchElement The element to search for.
|
|
732
|
+
@param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
733
|
+
a new array.
|
|
734
|
+
This is identical to a map followed by flat with depth 1.
|
|
735
|
+
@param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
736
|
+
callback function one time for each element in the array.
|
|
737
|
+
@param thisArg An object to which the this keyword can refer in the callback function. If
|
|
738
|
+
thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
739
|
+
specified depth.
|
|
740
|
+
@param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
|
|
741
|
+
@param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => IntlFormattedDateProps | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
|
|
742
|
+
otherwise.
|
|
743
|
+
@param predicate findLast calls predicate once for each element of the array, in descending
|
|
744
|
+
order, until it finds one where predicate returns true. If such an element is found, findLast
|
|
745
|
+
immediately returns that element value. Otherwise, findLast returns undefined.
|
|
746
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
747
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps ..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
|
|
748
|
+
otherwise.
|
|
749
|
+
@param predicate findLastIndex calls predicate once for each element of the array, in descending
|
|
750
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
751
|
+
findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
|
752
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
753
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => IntlFormattedDateProps[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
|
754
|
+
Copies an array and removes elements while returning the remaining elements.
|
|
755
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
756
|
+
@param deleteCount The number of elements to remove.
|
|
757
|
+
@param items Elements to insert into the copied array in place of the deleted elements.
|
|
758
|
+
@returns The copied array.
|
|
759
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
760
|
+
@param deleteCount The number of elements to remove.
|
|
761
|
+
@returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
|
|
762
|
+
given value. If the index is negative, then it replaces from the end
|
|
763
|
+
of the array.
|
|
764
|
+
@param index The index of the value to overwrite. If the index is
|
|
765
|
+
negative, then it replaces from the end of the array.
|
|
766
|
+
@param value The value to write into the copied array.
|
|
767
|
+
@returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: IntlFormattedDateProps) => IntlFormattedDateProps[]"}},"__@iterator@407":{defaultValue:null,description:"Iterator",name:"__@iterator@407",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},"__@unscopables@554":{defaultValue:null,description:`Is an object whose properties have the value 'true'
|
|
768
|
+
when they will be absent when used in a 'with' statement.`,name:"__@unscopables@554",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}try{ae.displayName="DateFull",ae.__docgenInfo={description:"",displayName:"DateFull",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"IntlFormattedDateProps"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
|
|
769
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
|
|
770
|
+
@param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
|
|
771
|
+
This method returns a new array without modifying any existing arrays.
|
|
772
|
+
@param items Additional arrays and/or items to add to the end of the array.
|
|
773
|
+
@param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<IntlFormattedDateProps>[]): IntlFormattedDateProps[]; (...items: (IntlFormattedDateProps | ConcatArray<...>)[]): IntlFormattedDateProps[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
|
|
774
|
+
@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
|
|
775
|
+
This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
|
|
776
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
|
|
777
|
+
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
778
|
+
For example, -2 refers to the second to last element of the array.
|
|
779
|
+
@param start The beginning index of the specified portion of the array.
|
|
780
|
+
If start is undefined, then the slice begins at index 0.
|
|
781
|
+
@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
|
782
|
+
If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => IntlFormattedDateProps[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
|
|
783
|
+
This method mutates the array and returns a reference to the same array.
|
|
784
|
+
@param compareFn Function used to determine the order of the elements. It is expected to return
|
|
785
|
+
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
|
786
|
+
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
|
787
|
+
\`\`\`ts
|
|
788
|
+
[11,2,22,1].sort((a, b) => a - b)
|
|
789
|
+
\`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => [IntlFormattedDateProps]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
790
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
791
|
+
@param deleteCount The number of elements to remove.
|
|
792
|
+
@returns An array containing the elements that were deleted.
|
|
793
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
794
|
+
@param deleteCount The number of elements to remove.
|
|
795
|
+
@param items Elements to insert into the array in place of the deleted elements.
|
|
796
|
+
@returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
|
|
797
|
+
@param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
798
|
+
@param searchElement The value to locate in the array.
|
|
799
|
+
@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
800
|
+
@param searchElement The value to locate in the array.
|
|
801
|
+
@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
|
|
802
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
803
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
804
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
805
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
806
|
+
If thisArg is omitted, undefined is used as the this value.
|
|
807
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
808
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
809
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
810
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
811
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
|
|
812
|
+
@param predicate A function that accepts up to three arguments. The some method calls
|
|
813
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
814
|
+
which is coercible to the Boolean value true, or until the end of the array.
|
|
815
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
816
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
|
|
817
|
+
@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
|
818
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
819
|
+
@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
|
820
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
|
|
821
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
822
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
823
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
824
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps[]; }"}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
825
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
826
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
827
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
828
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
829
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
830
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
831
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
832
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
|
|
833
|
+
otherwise.
|
|
834
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
835
|
+
order, until it finds one where predicate returns true. If such an element is found, find
|
|
836
|
+
immediately returns that element value. Otherwise, find returns undefined.
|
|
837
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
838
|
+
predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps | un..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
|
|
839
|
+
otherwise.
|
|
840
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
841
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
842
|
+
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
|
|
843
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
844
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: IntlFormattedDateProps, start?: number | undefined, end?: number | undefined) => [IntlFormattedDateProps]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
|
|
845
|
+
to the same array starting at position target
|
|
846
|
+
@param target If target is negative, it is treated as length+target where length is the
|
|
847
|
+
length of the array.
|
|
848
|
+
@param start If start is negative, it is treated as length+start. If end is negative, it
|
|
849
|
+
is treated as length+end.
|
|
850
|
+
@param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [IntlFormattedDateProps]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, IntlFormattedDateProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
851
|
+
@param searchElement The element to search for.
|
|
852
|
+
@param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
853
|
+
a new array.
|
|
854
|
+
This is identical to a map followed by flat with depth 1.
|
|
855
|
+
@param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
856
|
+
callback function one time for each element in the array.
|
|
857
|
+
@param thisArg An object to which the this keyword can refer in the callback function. If
|
|
858
|
+
thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
859
|
+
specified depth.
|
|
860
|
+
@param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
|
|
861
|
+
@param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => IntlFormattedDateProps | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
|
|
862
|
+
otherwise.
|
|
863
|
+
@param predicate findLast calls predicate once for each element of the array, in descending
|
|
864
|
+
order, until it finds one where predicate returns true. If such an element is found, findLast
|
|
865
|
+
immediately returns that element value. Otherwise, findLast returns undefined.
|
|
866
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
867
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps ..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
|
|
868
|
+
otherwise.
|
|
869
|
+
@param predicate findLastIndex calls predicate once for each element of the array, in descending
|
|
870
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
871
|
+
findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
|
872
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
873
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => IntlFormattedDateProps[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
|
874
|
+
Copies an array and removes elements while returning the remaining elements.
|
|
875
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
876
|
+
@param deleteCount The number of elements to remove.
|
|
877
|
+
@param items Elements to insert into the copied array in place of the deleted elements.
|
|
878
|
+
@returns The copied array.
|
|
879
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
880
|
+
@param deleteCount The number of elements to remove.
|
|
881
|
+
@returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
|
|
882
|
+
given value. If the index is negative, then it replaces from the end
|
|
883
|
+
of the array.
|
|
884
|
+
@param index The index of the value to overwrite. If the index is
|
|
885
|
+
negative, then it replaces from the end of the array.
|
|
886
|
+
@param value The value to write into the copied array.
|
|
887
|
+
@returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: IntlFormattedDateProps) => IntlFormattedDateProps[]"}},"__@iterator@407":{defaultValue:null,description:"Iterator",name:"__@iterator@407",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},"__@unscopables@554":{defaultValue:null,description:`Is an object whose properties have the value 'true'
|
|
888
|
+
when they will be absent when used in a 'with' statement.`,name:"__@unscopables@554",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}try{ne.displayName="DateShort",ne.__docgenInfo={description:"",displayName:"DateShort",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"IntlFormattedDateProps"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
|
|
889
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
|
|
890
|
+
@param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
|
|
891
|
+
This method returns a new array without modifying any existing arrays.
|
|
892
|
+
@param items Additional arrays and/or items to add to the end of the array.
|
|
893
|
+
@param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<IntlFormattedDateProps>[]): IntlFormattedDateProps[]; (...items: (IntlFormattedDateProps | ConcatArray<...>)[]): IntlFormattedDateProps[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
|
|
894
|
+
@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
|
|
895
|
+
This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
|
|
896
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
|
|
897
|
+
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
898
|
+
For example, -2 refers to the second to last element of the array.
|
|
899
|
+
@param start The beginning index of the specified portion of the array.
|
|
900
|
+
If start is undefined, then the slice begins at index 0.
|
|
901
|
+
@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
|
902
|
+
If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => IntlFormattedDateProps[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
|
|
903
|
+
This method mutates the array and returns a reference to the same array.
|
|
904
|
+
@param compareFn Function used to determine the order of the elements. It is expected to return
|
|
905
|
+
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
|
906
|
+
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
|
907
|
+
\`\`\`ts
|
|
908
|
+
[11,2,22,1].sort((a, b) => a - b)
|
|
909
|
+
\`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => [IntlFormattedDateProps]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
910
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
911
|
+
@param deleteCount The number of elements to remove.
|
|
912
|
+
@returns An array containing the elements that were deleted.
|
|
913
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
914
|
+
@param deleteCount The number of elements to remove.
|
|
915
|
+
@param items Elements to insert into the array in place of the deleted elements.
|
|
916
|
+
@returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
|
|
917
|
+
@param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
918
|
+
@param searchElement The value to locate in the array.
|
|
919
|
+
@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
920
|
+
@param searchElement The value to locate in the array.
|
|
921
|
+
@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
|
|
922
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
923
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
924
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
925
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
926
|
+
If thisArg is omitted, undefined is used as the this value.
|
|
927
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
928
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
929
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
930
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
931
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
|
|
932
|
+
@param predicate A function that accepts up to three arguments. The some method calls
|
|
933
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
934
|
+
which is coercible to the Boolean value true, or until the end of the array.
|
|
935
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
936
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
|
|
937
|
+
@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
|
938
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
939
|
+
@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
|
940
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
|
|
941
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
942
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
943
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
944
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps[]; }"}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
945
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
946
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
947
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
948
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
949
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
950
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
951
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
952
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
|
|
953
|
+
otherwise.
|
|
954
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
955
|
+
order, until it finds one where predicate returns true. If such an element is found, find
|
|
956
|
+
immediately returns that element value. Otherwise, find returns undefined.
|
|
957
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
958
|
+
predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps | un..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
|
|
959
|
+
otherwise.
|
|
960
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
961
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
962
|
+
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
|
|
963
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
964
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: IntlFormattedDateProps, start?: number | undefined, end?: number | undefined) => [IntlFormattedDateProps]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
|
|
965
|
+
to the same array starting at position target
|
|
966
|
+
@param target If target is negative, it is treated as length+target where length is the
|
|
967
|
+
length of the array.
|
|
968
|
+
@param start If start is negative, it is treated as length+start. If end is negative, it
|
|
969
|
+
is treated as length+end.
|
|
970
|
+
@param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [IntlFormattedDateProps]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, IntlFormattedDateProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
971
|
+
@param searchElement The element to search for.
|
|
972
|
+
@param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
973
|
+
a new array.
|
|
974
|
+
This is identical to a map followed by flat with depth 1.
|
|
975
|
+
@param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
976
|
+
callback function one time for each element in the array.
|
|
977
|
+
@param thisArg An object to which the this keyword can refer in the callback function. If
|
|
978
|
+
thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
979
|
+
specified depth.
|
|
980
|
+
@param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
|
|
981
|
+
@param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => IntlFormattedDateProps | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
|
|
982
|
+
otherwise.
|
|
983
|
+
@param predicate findLast calls predicate once for each element of the array, in descending
|
|
984
|
+
order, until it finds one where predicate returns true. If such an element is found, findLast
|
|
985
|
+
immediately returns that element value. Otherwise, findLast returns undefined.
|
|
986
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
987
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps ..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
|
|
988
|
+
otherwise.
|
|
989
|
+
@param predicate findLastIndex calls predicate once for each element of the array, in descending
|
|
990
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
991
|
+
findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
|
992
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
993
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => IntlFormattedDateProps[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
|
994
|
+
Copies an array and removes elements while returning the remaining elements.
|
|
995
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
996
|
+
@param deleteCount The number of elements to remove.
|
|
997
|
+
@param items Elements to insert into the copied array in place of the deleted elements.
|
|
998
|
+
@returns The copied array.
|
|
999
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1000
|
+
@param deleteCount The number of elements to remove.
|
|
1001
|
+
@returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
|
|
1002
|
+
given value. If the index is negative, then it replaces from the end
|
|
1003
|
+
of the array.
|
|
1004
|
+
@param index The index of the value to overwrite. If the index is
|
|
1005
|
+
negative, then it replaces from the end of the array.
|
|
1006
|
+
@param value The value to write into the copied array.
|
|
1007
|
+
@returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: IntlFormattedDateProps) => IntlFormattedDateProps[]"}},"__@iterator@407":{defaultValue:null,description:"Iterator",name:"__@iterator@407",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},"__@unscopables@554":{defaultValue:null,description:`Is an object whose properties have the value 'true'
|
|
1008
|
+
when they will be absent when used in a 'with' statement.`,name:"__@unscopables@554",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}try{se.displayName="DateYearFull",se.__docgenInfo={description:"",displayName:"DateYearFull",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"IntlFormattedDateProps"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
|
|
1009
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
|
|
1010
|
+
@param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
|
|
1011
|
+
This method returns a new array without modifying any existing arrays.
|
|
1012
|
+
@param items Additional arrays and/or items to add to the end of the array.
|
|
1013
|
+
@param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<IntlFormattedDateProps>[]): IntlFormattedDateProps[]; (...items: (IntlFormattedDateProps | ConcatArray<...>)[]): IntlFormattedDateProps[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
|
|
1014
|
+
@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
|
|
1015
|
+
This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
|
|
1016
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
|
|
1017
|
+
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
1018
|
+
For example, -2 refers to the second to last element of the array.
|
|
1019
|
+
@param start The beginning index of the specified portion of the array.
|
|
1020
|
+
If start is undefined, then the slice begins at index 0.
|
|
1021
|
+
@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
|
1022
|
+
If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => IntlFormattedDateProps[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
|
|
1023
|
+
This method mutates the array and returns a reference to the same array.
|
|
1024
|
+
@param compareFn Function used to determine the order of the elements. It is expected to return
|
|
1025
|
+
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
|
1026
|
+
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
|
1027
|
+
\`\`\`ts
|
|
1028
|
+
[11,2,22,1].sort((a, b) => a - b)
|
|
1029
|
+
\`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => [IntlFormattedDateProps]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
1030
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1031
|
+
@param deleteCount The number of elements to remove.
|
|
1032
|
+
@returns An array containing the elements that were deleted.
|
|
1033
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1034
|
+
@param deleteCount The number of elements to remove.
|
|
1035
|
+
@param items Elements to insert into the array in place of the deleted elements.
|
|
1036
|
+
@returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
|
|
1037
|
+
@param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
1038
|
+
@param searchElement The value to locate in the array.
|
|
1039
|
+
@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
1040
|
+
@param searchElement The value to locate in the array.
|
|
1041
|
+
@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
|
|
1042
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
1043
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1044
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
1045
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1046
|
+
If thisArg is omitted, undefined is used as the this value.
|
|
1047
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
1048
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1049
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
1050
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1051
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
|
|
1052
|
+
@param predicate A function that accepts up to three arguments. The some method calls
|
|
1053
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1054
|
+
which is coercible to the Boolean value true, or until the end of the array.
|
|
1055
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1056
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
|
|
1057
|
+
@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
|
1058
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
1059
|
+
@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
|
1060
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
|
|
1061
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
1062
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
1063
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
1064
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps[]; }"}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
1065
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
1066
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
1067
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
1068
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
1069
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
1070
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
1071
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
1072
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
|
|
1073
|
+
otherwise.
|
|
1074
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
1075
|
+
order, until it finds one where predicate returns true. If such an element is found, find
|
|
1076
|
+
immediately returns that element value. Otherwise, find returns undefined.
|
|
1077
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1078
|
+
predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps | un..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
|
|
1079
|
+
otherwise.
|
|
1080
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
1081
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
1082
|
+
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
|
|
1083
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1084
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: IntlFormattedDateProps, start?: number | undefined, end?: number | undefined) => [IntlFormattedDateProps]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
|
|
1085
|
+
to the same array starting at position target
|
|
1086
|
+
@param target If target is negative, it is treated as length+target where length is the
|
|
1087
|
+
length of the array.
|
|
1088
|
+
@param start If start is negative, it is treated as length+start. If end is negative, it
|
|
1089
|
+
is treated as length+end.
|
|
1090
|
+
@param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [IntlFormattedDateProps]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, IntlFormattedDateProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
1091
|
+
@param searchElement The element to search for.
|
|
1092
|
+
@param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
1093
|
+
a new array.
|
|
1094
|
+
This is identical to a map followed by flat with depth 1.
|
|
1095
|
+
@param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
1096
|
+
callback function one time for each element in the array.
|
|
1097
|
+
@param thisArg An object to which the this keyword can refer in the callback function. If
|
|
1098
|
+
thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
1099
|
+
specified depth.
|
|
1100
|
+
@param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
|
|
1101
|
+
@param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => IntlFormattedDateProps | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
|
|
1102
|
+
otherwise.
|
|
1103
|
+
@param predicate findLast calls predicate once for each element of the array, in descending
|
|
1104
|
+
order, until it finds one where predicate returns true. If such an element is found, findLast
|
|
1105
|
+
immediately returns that element value. Otherwise, findLast returns undefined.
|
|
1106
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1107
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps ..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
|
|
1108
|
+
otherwise.
|
|
1109
|
+
@param predicate findLastIndex calls predicate once for each element of the array, in descending
|
|
1110
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
1111
|
+
findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
|
1112
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1113
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => IntlFormattedDateProps[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
|
1114
|
+
Copies an array and removes elements while returning the remaining elements.
|
|
1115
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1116
|
+
@param deleteCount The number of elements to remove.
|
|
1117
|
+
@param items Elements to insert into the copied array in place of the deleted elements.
|
|
1118
|
+
@returns The copied array.
|
|
1119
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1120
|
+
@param deleteCount The number of elements to remove.
|
|
1121
|
+
@returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
|
|
1122
|
+
given value. If the index is negative, then it replaces from the end
|
|
1123
|
+
of the array.
|
|
1124
|
+
@param index The index of the value to overwrite. If the index is
|
|
1125
|
+
negative, then it replaces from the end of the array.
|
|
1126
|
+
@param value The value to write into the copied array.
|
|
1127
|
+
@returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: IntlFormattedDateProps) => IntlFormattedDateProps[]"}},"__@iterator@407":{defaultValue:null,description:"Iterator",name:"__@iterator@407",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},"__@unscopables@554":{defaultValue:null,description:`Is an object whose properties have the value 'true'
|
|
1128
|
+
when they will be absent when used in a 'with' statement.`,name:"__@unscopables@554",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}try{re.displayName="DateYearShort",re.__docgenInfo={description:"",displayName:"DateYearShort",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"IntlFormattedDateProps"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
|
|
1129
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
|
|
1130
|
+
@param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
|
|
1131
|
+
This method returns a new array without modifying any existing arrays.
|
|
1132
|
+
@param items Additional arrays and/or items to add to the end of the array.
|
|
1133
|
+
@param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<IntlFormattedDateProps>[]): IntlFormattedDateProps[]; (...items: (IntlFormattedDateProps | ConcatArray<...>)[]): IntlFormattedDateProps[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
|
|
1134
|
+
@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
|
|
1135
|
+
This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
|
|
1136
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
|
|
1137
|
+
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
1138
|
+
For example, -2 refers to the second to last element of the array.
|
|
1139
|
+
@param start The beginning index of the specified portion of the array.
|
|
1140
|
+
If start is undefined, then the slice begins at index 0.
|
|
1141
|
+
@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
|
1142
|
+
If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => IntlFormattedDateProps[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
|
|
1143
|
+
This method mutates the array and returns a reference to the same array.
|
|
1144
|
+
@param compareFn Function used to determine the order of the elements. It is expected to return
|
|
1145
|
+
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
|
1146
|
+
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
|
1147
|
+
\`\`\`ts
|
|
1148
|
+
[11,2,22,1].sort((a, b) => a - b)
|
|
1149
|
+
\`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => [IntlFormattedDateProps]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
1150
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1151
|
+
@param deleteCount The number of elements to remove.
|
|
1152
|
+
@returns An array containing the elements that were deleted.
|
|
1153
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1154
|
+
@param deleteCount The number of elements to remove.
|
|
1155
|
+
@param items Elements to insert into the array in place of the deleted elements.
|
|
1156
|
+
@returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
|
|
1157
|
+
@param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
1158
|
+
@param searchElement The value to locate in the array.
|
|
1159
|
+
@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
1160
|
+
@param searchElement The value to locate in the array.
|
|
1161
|
+
@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
|
|
1162
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
1163
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1164
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
1165
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1166
|
+
If thisArg is omitted, undefined is used as the this value.
|
|
1167
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
1168
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1169
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
1170
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1171
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
|
|
1172
|
+
@param predicate A function that accepts up to three arguments. The some method calls
|
|
1173
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1174
|
+
which is coercible to the Boolean value true, or until the end of the array.
|
|
1175
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1176
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
|
|
1177
|
+
@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
|
1178
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
1179
|
+
@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
|
1180
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
|
|
1181
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
1182
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
1183
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
1184
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps[]; }"}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
1185
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
1186
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
1187
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
1188
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
1189
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
1190
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
1191
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
1192
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
|
|
1193
|
+
otherwise.
|
|
1194
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
1195
|
+
order, until it finds one where predicate returns true. If such an element is found, find
|
|
1196
|
+
immediately returns that element value. Otherwise, find returns undefined.
|
|
1197
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1198
|
+
predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps | un..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
|
|
1199
|
+
otherwise.
|
|
1200
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
1201
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
1202
|
+
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
|
|
1203
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1204
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: IntlFormattedDateProps, start?: number | undefined, end?: number | undefined) => [IntlFormattedDateProps]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
|
|
1205
|
+
to the same array starting at position target
|
|
1206
|
+
@param target If target is negative, it is treated as length+target where length is the
|
|
1207
|
+
length of the array.
|
|
1208
|
+
@param start If start is negative, it is treated as length+start. If end is negative, it
|
|
1209
|
+
is treated as length+end.
|
|
1210
|
+
@param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [IntlFormattedDateProps]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, IntlFormattedDateProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
1211
|
+
@param searchElement The element to search for.
|
|
1212
|
+
@param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
1213
|
+
a new array.
|
|
1214
|
+
This is identical to a map followed by flat with depth 1.
|
|
1215
|
+
@param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
1216
|
+
callback function one time for each element in the array.
|
|
1217
|
+
@param thisArg An object to which the this keyword can refer in the callback function. If
|
|
1218
|
+
thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
1219
|
+
specified depth.
|
|
1220
|
+
@param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
|
|
1221
|
+
@param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => IntlFormattedDateProps | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
|
|
1222
|
+
otherwise.
|
|
1223
|
+
@param predicate findLast calls predicate once for each element of the array, in descending
|
|
1224
|
+
order, until it finds one where predicate returns true. If such an element is found, findLast
|
|
1225
|
+
immediately returns that element value. Otherwise, findLast returns undefined.
|
|
1226
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1227
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps ..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
|
|
1228
|
+
otherwise.
|
|
1229
|
+
@param predicate findLastIndex calls predicate once for each element of the array, in descending
|
|
1230
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
1231
|
+
findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
|
1232
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1233
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => IntlFormattedDateProps[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
|
1234
|
+
Copies an array and removes elements while returning the remaining elements.
|
|
1235
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1236
|
+
@param deleteCount The number of elements to remove.
|
|
1237
|
+
@param items Elements to insert into the copied array in place of the deleted elements.
|
|
1238
|
+
@returns The copied array.
|
|
1239
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1240
|
+
@param deleteCount The number of elements to remove.
|
|
1241
|
+
@returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
|
|
1242
|
+
given value. If the index is negative, then it replaces from the end
|
|
1243
|
+
of the array.
|
|
1244
|
+
@param index The index of the value to overwrite. If the index is
|
|
1245
|
+
negative, then it replaces from the end of the array.
|
|
1246
|
+
@param value The value to write into the copied array.
|
|
1247
|
+
@returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: IntlFormattedDateProps) => IntlFormattedDateProps[]"}},"__@iterator@407":{defaultValue:null,description:"Iterator",name:"__@iterator@407",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},"__@unscopables@554":{defaultValue:null,description:`Is an object whose properties have the value 'true'
|
|
1248
|
+
when they will be absent when used in a 'with' statement.`,name:"__@unscopables@554",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}try{ie.displayName="DayDateFull",ie.__docgenInfo={description:"",displayName:"DayDateFull",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"IntlFormattedDateProps"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
|
|
1249
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
|
|
1250
|
+
@param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
|
|
1251
|
+
This method returns a new array without modifying any existing arrays.
|
|
1252
|
+
@param items Additional arrays and/or items to add to the end of the array.
|
|
1253
|
+
@param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<IntlFormattedDateProps>[]): IntlFormattedDateProps[]; (...items: (IntlFormattedDateProps | ConcatArray<...>)[]): IntlFormattedDateProps[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
|
|
1254
|
+
@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
|
|
1255
|
+
This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
|
|
1256
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
|
|
1257
|
+
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
1258
|
+
For example, -2 refers to the second to last element of the array.
|
|
1259
|
+
@param start The beginning index of the specified portion of the array.
|
|
1260
|
+
If start is undefined, then the slice begins at index 0.
|
|
1261
|
+
@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
|
1262
|
+
If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => IntlFormattedDateProps[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
|
|
1263
|
+
This method mutates the array and returns a reference to the same array.
|
|
1264
|
+
@param compareFn Function used to determine the order of the elements. It is expected to return
|
|
1265
|
+
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
|
1266
|
+
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
|
1267
|
+
\`\`\`ts
|
|
1268
|
+
[11,2,22,1].sort((a, b) => a - b)
|
|
1269
|
+
\`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => [IntlFormattedDateProps]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
1270
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1271
|
+
@param deleteCount The number of elements to remove.
|
|
1272
|
+
@returns An array containing the elements that were deleted.
|
|
1273
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1274
|
+
@param deleteCount The number of elements to remove.
|
|
1275
|
+
@param items Elements to insert into the array in place of the deleted elements.
|
|
1276
|
+
@returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
|
|
1277
|
+
@param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
1278
|
+
@param searchElement The value to locate in the array.
|
|
1279
|
+
@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
1280
|
+
@param searchElement The value to locate in the array.
|
|
1281
|
+
@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
|
|
1282
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
1283
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1284
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
1285
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1286
|
+
If thisArg is omitted, undefined is used as the this value.
|
|
1287
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
1288
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1289
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
1290
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1291
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
|
|
1292
|
+
@param predicate A function that accepts up to three arguments. The some method calls
|
|
1293
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1294
|
+
which is coercible to the Boolean value true, or until the end of the array.
|
|
1295
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1296
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
|
|
1297
|
+
@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
|
1298
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
1299
|
+
@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
|
1300
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
|
|
1301
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
1302
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
1303
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
1304
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps[]; }"}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
1305
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
1306
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
1307
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
1308
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
1309
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
1310
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
1311
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
1312
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
|
|
1313
|
+
otherwise.
|
|
1314
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
1315
|
+
order, until it finds one where predicate returns true. If such an element is found, find
|
|
1316
|
+
immediately returns that element value. Otherwise, find returns undefined.
|
|
1317
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1318
|
+
predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps | un..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
|
|
1319
|
+
otherwise.
|
|
1320
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
1321
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
1322
|
+
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
|
|
1323
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1324
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: IntlFormattedDateProps, start?: number | undefined, end?: number | undefined) => [IntlFormattedDateProps]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
|
|
1325
|
+
to the same array starting at position target
|
|
1326
|
+
@param target If target is negative, it is treated as length+target where length is the
|
|
1327
|
+
length of the array.
|
|
1328
|
+
@param start If start is negative, it is treated as length+start. If end is negative, it
|
|
1329
|
+
is treated as length+end.
|
|
1330
|
+
@param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [IntlFormattedDateProps]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, IntlFormattedDateProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
1331
|
+
@param searchElement The element to search for.
|
|
1332
|
+
@param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
1333
|
+
a new array.
|
|
1334
|
+
This is identical to a map followed by flat with depth 1.
|
|
1335
|
+
@param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
1336
|
+
callback function one time for each element in the array.
|
|
1337
|
+
@param thisArg An object to which the this keyword can refer in the callback function. If
|
|
1338
|
+
thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
1339
|
+
specified depth.
|
|
1340
|
+
@param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
|
|
1341
|
+
@param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => IntlFormattedDateProps | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
|
|
1342
|
+
otherwise.
|
|
1343
|
+
@param predicate findLast calls predicate once for each element of the array, in descending
|
|
1344
|
+
order, until it finds one where predicate returns true. If such an element is found, findLast
|
|
1345
|
+
immediately returns that element value. Otherwise, findLast returns undefined.
|
|
1346
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1347
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps ..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
|
|
1348
|
+
otherwise.
|
|
1349
|
+
@param predicate findLastIndex calls predicate once for each element of the array, in descending
|
|
1350
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
1351
|
+
findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
|
1352
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1353
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => IntlFormattedDateProps[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
|
1354
|
+
Copies an array and removes elements while returning the remaining elements.
|
|
1355
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1356
|
+
@param deleteCount The number of elements to remove.
|
|
1357
|
+
@param items Elements to insert into the copied array in place of the deleted elements.
|
|
1358
|
+
@returns The copied array.
|
|
1359
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1360
|
+
@param deleteCount The number of elements to remove.
|
|
1361
|
+
@returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
|
|
1362
|
+
given value. If the index is negative, then it replaces from the end
|
|
1363
|
+
of the array.
|
|
1364
|
+
@param index The index of the value to overwrite. If the index is
|
|
1365
|
+
negative, then it replaces from the end of the array.
|
|
1366
|
+
@param value The value to write into the copied array.
|
|
1367
|
+
@returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: IntlFormattedDateProps) => IntlFormattedDateProps[]"}},"__@iterator@407":{defaultValue:null,description:"Iterator",name:"__@iterator@407",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},"__@unscopables@554":{defaultValue:null,description:`Is an object whose properties have the value 'true'
|
|
1368
|
+
when they will be absent when used in a 'with' statement.`,name:"__@unscopables@554",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}try{oe.displayName="DayDateShort",oe.__docgenInfo={description:"",displayName:"DayDateShort",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"IntlFormattedDateProps"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
|
|
1369
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
|
|
1370
|
+
@param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
|
|
1371
|
+
This method returns a new array without modifying any existing arrays.
|
|
1372
|
+
@param items Additional arrays and/or items to add to the end of the array.
|
|
1373
|
+
@param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<IntlFormattedDateProps>[]): IntlFormattedDateProps[]; (...items: (IntlFormattedDateProps | ConcatArray<...>)[]): IntlFormattedDateProps[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
|
|
1374
|
+
@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
|
|
1375
|
+
This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
|
|
1376
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
|
|
1377
|
+
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
1378
|
+
For example, -2 refers to the second to last element of the array.
|
|
1379
|
+
@param start The beginning index of the specified portion of the array.
|
|
1380
|
+
If start is undefined, then the slice begins at index 0.
|
|
1381
|
+
@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
|
1382
|
+
If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => IntlFormattedDateProps[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
|
|
1383
|
+
This method mutates the array and returns a reference to the same array.
|
|
1384
|
+
@param compareFn Function used to determine the order of the elements. It is expected to return
|
|
1385
|
+
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
|
1386
|
+
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
|
1387
|
+
\`\`\`ts
|
|
1388
|
+
[11,2,22,1].sort((a, b) => a - b)
|
|
1389
|
+
\`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => [IntlFormattedDateProps]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
1390
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1391
|
+
@param deleteCount The number of elements to remove.
|
|
1392
|
+
@returns An array containing the elements that were deleted.
|
|
1393
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1394
|
+
@param deleteCount The number of elements to remove.
|
|
1395
|
+
@param items Elements to insert into the array in place of the deleted elements.
|
|
1396
|
+
@returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
|
|
1397
|
+
@param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
1398
|
+
@param searchElement The value to locate in the array.
|
|
1399
|
+
@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
1400
|
+
@param searchElement The value to locate in the array.
|
|
1401
|
+
@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
|
|
1402
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
1403
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1404
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
1405
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1406
|
+
If thisArg is omitted, undefined is used as the this value.
|
|
1407
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
1408
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1409
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
1410
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1411
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
|
|
1412
|
+
@param predicate A function that accepts up to three arguments. The some method calls
|
|
1413
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1414
|
+
which is coercible to the Boolean value true, or until the end of the array.
|
|
1415
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1416
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
|
|
1417
|
+
@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
|
1418
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
1419
|
+
@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
|
1420
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
|
|
1421
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
1422
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
1423
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
1424
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps[]; }"}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
1425
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
1426
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
1427
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
1428
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
1429
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
1430
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
1431
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
1432
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
|
|
1433
|
+
otherwise.
|
|
1434
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
1435
|
+
order, until it finds one where predicate returns true. If such an element is found, find
|
|
1436
|
+
immediately returns that element value. Otherwise, find returns undefined.
|
|
1437
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1438
|
+
predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps | un..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
|
|
1439
|
+
otherwise.
|
|
1440
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
1441
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
1442
|
+
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
|
|
1443
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1444
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: IntlFormattedDateProps, start?: number | undefined, end?: number | undefined) => [IntlFormattedDateProps]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
|
|
1445
|
+
to the same array starting at position target
|
|
1446
|
+
@param target If target is negative, it is treated as length+target where length is the
|
|
1447
|
+
length of the array.
|
|
1448
|
+
@param start If start is negative, it is treated as length+start. If end is negative, it
|
|
1449
|
+
is treated as length+end.
|
|
1450
|
+
@param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [IntlFormattedDateProps]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, IntlFormattedDateProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
1451
|
+
@param searchElement The element to search for.
|
|
1452
|
+
@param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
1453
|
+
a new array.
|
|
1454
|
+
This is identical to a map followed by flat with depth 1.
|
|
1455
|
+
@param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
1456
|
+
callback function one time for each element in the array.
|
|
1457
|
+
@param thisArg An object to which the this keyword can refer in the callback function. If
|
|
1458
|
+
thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
1459
|
+
specified depth.
|
|
1460
|
+
@param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
|
|
1461
|
+
@param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => IntlFormattedDateProps | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
|
|
1462
|
+
otherwise.
|
|
1463
|
+
@param predicate findLast calls predicate once for each element of the array, in descending
|
|
1464
|
+
order, until it finds one where predicate returns true. If such an element is found, findLast
|
|
1465
|
+
immediately returns that element value. Otherwise, findLast returns undefined.
|
|
1466
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1467
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps ..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
|
|
1468
|
+
otherwise.
|
|
1469
|
+
@param predicate findLastIndex calls predicate once for each element of the array, in descending
|
|
1470
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
1471
|
+
findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
|
1472
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1473
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => IntlFormattedDateProps[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
|
1474
|
+
Copies an array and removes elements while returning the remaining elements.
|
|
1475
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1476
|
+
@param deleteCount The number of elements to remove.
|
|
1477
|
+
@param items Elements to insert into the copied array in place of the deleted elements.
|
|
1478
|
+
@returns The copied array.
|
|
1479
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1480
|
+
@param deleteCount The number of elements to remove.
|
|
1481
|
+
@returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
|
|
1482
|
+
given value. If the index is negative, then it replaces from the end
|
|
1483
|
+
of the array.
|
|
1484
|
+
@param index The index of the value to overwrite. If the index is
|
|
1485
|
+
negative, then it replaces from the end of the array.
|
|
1486
|
+
@param value The value to write into the copied array.
|
|
1487
|
+
@returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: IntlFormattedDateProps) => IntlFormattedDateProps[]"}},"__@iterator@407":{defaultValue:null,description:"Iterator",name:"__@iterator@407",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},"__@unscopables@554":{defaultValue:null,description:`Is an object whose properties have the value 'true'
|
|
1488
|
+
when they will be absent when used in a 'with' statement.`,name:"__@unscopables@554",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}try{le.displayName="DayDateYearFull",le.__docgenInfo={description:"",displayName:"DayDateYearFull",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"IntlFormattedDateProps"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
|
|
1489
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
|
|
1490
|
+
@param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
|
|
1491
|
+
This method returns a new array without modifying any existing arrays.
|
|
1492
|
+
@param items Additional arrays and/or items to add to the end of the array.
|
|
1493
|
+
@param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<IntlFormattedDateProps>[]): IntlFormattedDateProps[]; (...items: (IntlFormattedDateProps | ConcatArray<...>)[]): IntlFormattedDateProps[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
|
|
1494
|
+
@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
|
|
1495
|
+
This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
|
|
1496
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
|
|
1497
|
+
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
1498
|
+
For example, -2 refers to the second to last element of the array.
|
|
1499
|
+
@param start The beginning index of the specified portion of the array.
|
|
1500
|
+
If start is undefined, then the slice begins at index 0.
|
|
1501
|
+
@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
|
1502
|
+
If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => IntlFormattedDateProps[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
|
|
1503
|
+
This method mutates the array and returns a reference to the same array.
|
|
1504
|
+
@param compareFn Function used to determine the order of the elements. It is expected to return
|
|
1505
|
+
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
|
1506
|
+
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
|
1507
|
+
\`\`\`ts
|
|
1508
|
+
[11,2,22,1].sort((a, b) => a - b)
|
|
1509
|
+
\`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => [IntlFormattedDateProps]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
1510
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1511
|
+
@param deleteCount The number of elements to remove.
|
|
1512
|
+
@returns An array containing the elements that were deleted.
|
|
1513
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1514
|
+
@param deleteCount The number of elements to remove.
|
|
1515
|
+
@param items Elements to insert into the array in place of the deleted elements.
|
|
1516
|
+
@returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
|
|
1517
|
+
@param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
1518
|
+
@param searchElement The value to locate in the array.
|
|
1519
|
+
@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
1520
|
+
@param searchElement The value to locate in the array.
|
|
1521
|
+
@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
|
|
1522
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
1523
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1524
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
1525
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1526
|
+
If thisArg is omitted, undefined is used as the this value.
|
|
1527
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
1528
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1529
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
1530
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1531
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
|
|
1532
|
+
@param predicate A function that accepts up to three arguments. The some method calls
|
|
1533
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1534
|
+
which is coercible to the Boolean value true, or until the end of the array.
|
|
1535
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1536
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
|
|
1537
|
+
@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
|
1538
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
1539
|
+
@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
|
1540
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
|
|
1541
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
1542
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
1543
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
1544
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps[]; }"}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
1545
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
1546
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
1547
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
1548
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
1549
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
1550
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
1551
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
1552
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
|
|
1553
|
+
otherwise.
|
|
1554
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
1555
|
+
order, until it finds one where predicate returns true. If such an element is found, find
|
|
1556
|
+
immediately returns that element value. Otherwise, find returns undefined.
|
|
1557
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1558
|
+
predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps | un..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
|
|
1559
|
+
otherwise.
|
|
1560
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
1561
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
1562
|
+
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
|
|
1563
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1564
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: IntlFormattedDateProps, start?: number | undefined, end?: number | undefined) => [IntlFormattedDateProps]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
|
|
1565
|
+
to the same array starting at position target
|
|
1566
|
+
@param target If target is negative, it is treated as length+target where length is the
|
|
1567
|
+
length of the array.
|
|
1568
|
+
@param start If start is negative, it is treated as length+start. If end is negative, it
|
|
1569
|
+
is treated as length+end.
|
|
1570
|
+
@param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [IntlFormattedDateProps]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, IntlFormattedDateProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
1571
|
+
@param searchElement The element to search for.
|
|
1572
|
+
@param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
1573
|
+
a new array.
|
|
1574
|
+
This is identical to a map followed by flat with depth 1.
|
|
1575
|
+
@param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
1576
|
+
callback function one time for each element in the array.
|
|
1577
|
+
@param thisArg An object to which the this keyword can refer in the callback function. If
|
|
1578
|
+
thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
1579
|
+
specified depth.
|
|
1580
|
+
@param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
|
|
1581
|
+
@param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => IntlFormattedDateProps | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
|
|
1582
|
+
otherwise.
|
|
1583
|
+
@param predicate findLast calls predicate once for each element of the array, in descending
|
|
1584
|
+
order, until it finds one where predicate returns true. If such an element is found, findLast
|
|
1585
|
+
immediately returns that element value. Otherwise, findLast returns undefined.
|
|
1586
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1587
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps ..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
|
|
1588
|
+
otherwise.
|
|
1589
|
+
@param predicate findLastIndex calls predicate once for each element of the array, in descending
|
|
1590
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
1591
|
+
findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
|
1592
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1593
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => IntlFormattedDateProps[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
|
1594
|
+
Copies an array and removes elements while returning the remaining elements.
|
|
1595
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1596
|
+
@param deleteCount The number of elements to remove.
|
|
1597
|
+
@param items Elements to insert into the copied array in place of the deleted elements.
|
|
1598
|
+
@returns The copied array.
|
|
1599
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1600
|
+
@param deleteCount The number of elements to remove.
|
|
1601
|
+
@returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
|
|
1602
|
+
given value. If the index is negative, then it replaces from the end
|
|
1603
|
+
of the array.
|
|
1604
|
+
@param index The index of the value to overwrite. If the index is
|
|
1605
|
+
negative, then it replaces from the end of the array.
|
|
1606
|
+
@param value The value to write into the copied array.
|
|
1607
|
+
@returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: IntlFormattedDateProps) => IntlFormattedDateProps[]"}},"__@iterator@407":{defaultValue:null,description:"Iterator",name:"__@iterator@407",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},"__@unscopables@554":{defaultValue:null,description:`Is an object whose properties have the value 'true'
|
|
1608
|
+
when they will be absent when used in a 'with' statement.`,name:"__@unscopables@554",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}try{de.displayName="DayDateYearShort",de.__docgenInfo={description:"",displayName:"DayDateYearShort",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"IntlFormattedDateProps"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
|
|
1609
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
|
|
1610
|
+
@param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
|
|
1611
|
+
This method returns a new array without modifying any existing arrays.
|
|
1612
|
+
@param items Additional arrays and/or items to add to the end of the array.
|
|
1613
|
+
@param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<IntlFormattedDateProps>[]): IntlFormattedDateProps[]; (...items: (IntlFormattedDateProps | ConcatArray<...>)[]): IntlFormattedDateProps[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
|
|
1614
|
+
@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
|
|
1615
|
+
This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
|
|
1616
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
|
|
1617
|
+
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
1618
|
+
For example, -2 refers to the second to last element of the array.
|
|
1619
|
+
@param start The beginning index of the specified portion of the array.
|
|
1620
|
+
If start is undefined, then the slice begins at index 0.
|
|
1621
|
+
@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
|
1622
|
+
If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => IntlFormattedDateProps[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
|
|
1623
|
+
This method mutates the array and returns a reference to the same array.
|
|
1624
|
+
@param compareFn Function used to determine the order of the elements. It is expected to return
|
|
1625
|
+
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
|
1626
|
+
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
|
1627
|
+
\`\`\`ts
|
|
1628
|
+
[11,2,22,1].sort((a, b) => a - b)
|
|
1629
|
+
\`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => [IntlFormattedDateProps]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
1630
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1631
|
+
@param deleteCount The number of elements to remove.
|
|
1632
|
+
@returns An array containing the elements that were deleted.
|
|
1633
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1634
|
+
@param deleteCount The number of elements to remove.
|
|
1635
|
+
@param items Elements to insert into the array in place of the deleted elements.
|
|
1636
|
+
@returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
|
|
1637
|
+
@param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
1638
|
+
@param searchElement The value to locate in the array.
|
|
1639
|
+
@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
1640
|
+
@param searchElement The value to locate in the array.
|
|
1641
|
+
@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
|
|
1642
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
1643
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1644
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
1645
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1646
|
+
If thisArg is omitted, undefined is used as the this value.
|
|
1647
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
1648
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1649
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
1650
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1651
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
|
|
1652
|
+
@param predicate A function that accepts up to three arguments. The some method calls
|
|
1653
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1654
|
+
which is coercible to the Boolean value true, or until the end of the array.
|
|
1655
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1656
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
|
|
1657
|
+
@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
|
1658
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
1659
|
+
@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
|
1660
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
|
|
1661
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
1662
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
1663
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
1664
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps[]; }"}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
1665
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
1666
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
1667
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
1668
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
1669
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
1670
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
1671
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
1672
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
|
|
1673
|
+
otherwise.
|
|
1674
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
1675
|
+
order, until it finds one where predicate returns true. If such an element is found, find
|
|
1676
|
+
immediately returns that element value. Otherwise, find returns undefined.
|
|
1677
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1678
|
+
predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps | un..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
|
|
1679
|
+
otherwise.
|
|
1680
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
1681
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
1682
|
+
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
|
|
1683
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1684
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: IntlFormattedDateProps, start?: number | undefined, end?: number | undefined) => [IntlFormattedDateProps]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
|
|
1685
|
+
to the same array starting at position target
|
|
1686
|
+
@param target If target is negative, it is treated as length+target where length is the
|
|
1687
|
+
length of the array.
|
|
1688
|
+
@param start If start is negative, it is treated as length+start. If end is negative, it
|
|
1689
|
+
is treated as length+end.
|
|
1690
|
+
@param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [IntlFormattedDateProps]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, IntlFormattedDateProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
1691
|
+
@param searchElement The element to search for.
|
|
1692
|
+
@param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
1693
|
+
a new array.
|
|
1694
|
+
This is identical to a map followed by flat with depth 1.
|
|
1695
|
+
@param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
1696
|
+
callback function one time for each element in the array.
|
|
1697
|
+
@param thisArg An object to which the this keyword can refer in the callback function. If
|
|
1698
|
+
thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
1699
|
+
specified depth.
|
|
1700
|
+
@param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
|
|
1701
|
+
@param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => IntlFormattedDateProps | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
|
|
1702
|
+
otherwise.
|
|
1703
|
+
@param predicate findLast calls predicate once for each element of the array, in descending
|
|
1704
|
+
order, until it finds one where predicate returns true. If such an element is found, findLast
|
|
1705
|
+
immediately returns that element value. Otherwise, findLast returns undefined.
|
|
1706
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1707
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps ..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
|
|
1708
|
+
otherwise.
|
|
1709
|
+
@param predicate findLastIndex calls predicate once for each element of the array, in descending
|
|
1710
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
1711
|
+
findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
|
1712
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1713
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => IntlFormattedDateProps[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
|
1714
|
+
Copies an array and removes elements while returning the remaining elements.
|
|
1715
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1716
|
+
@param deleteCount The number of elements to remove.
|
|
1717
|
+
@param items Elements to insert into the copied array in place of the deleted elements.
|
|
1718
|
+
@returns The copied array.
|
|
1719
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1720
|
+
@param deleteCount The number of elements to remove.
|
|
1721
|
+
@returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
|
|
1722
|
+
given value. If the index is negative, then it replaces from the end
|
|
1723
|
+
of the array.
|
|
1724
|
+
@param index The index of the value to overwrite. If the index is
|
|
1725
|
+
negative, then it replaces from the end of the array.
|
|
1726
|
+
@param value The value to write into the copied array.
|
|
1727
|
+
@returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: IntlFormattedDateProps) => IntlFormattedDateProps[]"}},"__@iterator@407":{defaultValue:null,description:"Iterator",name:"__@iterator@407",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},"__@unscopables@554":{defaultValue:null,description:`Is an object whose properties have the value 'true'
|
|
1728
|
+
when they will be absent when used in a 'with' statement.`,name:"__@unscopables@554",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}try{ue.displayName="DateRangeShort",ue.__docgenInfo={description:"",displayName:"DateRangeShort",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"IntlFormattedDateRangeProps"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
|
|
1729
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
|
|
1730
|
+
@param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
|
|
1731
|
+
This method returns a new array without modifying any existing arrays.
|
|
1732
|
+
@param items Additional arrays and/or items to add to the end of the array.
|
|
1733
|
+
@param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<IntlFormattedDateProps>[]): IntlFormattedDateProps[]; (...items: (IntlFormattedDateProps | ConcatArray<...>)[]): IntlFormattedDateProps[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
|
|
1734
|
+
@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
|
|
1735
|
+
This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
|
|
1736
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
|
|
1737
|
+
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
1738
|
+
For example, -2 refers to the second to last element of the array.
|
|
1739
|
+
@param start The beginning index of the specified portion of the array.
|
|
1740
|
+
If start is undefined, then the slice begins at index 0.
|
|
1741
|
+
@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
|
1742
|
+
If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => IntlFormattedDateProps[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
|
|
1743
|
+
This method mutates the array and returns a reference to the same array.
|
|
1744
|
+
@param compareFn Function used to determine the order of the elements. It is expected to return
|
|
1745
|
+
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
|
1746
|
+
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
|
1747
|
+
\`\`\`ts
|
|
1748
|
+
[11,2,22,1].sort((a, b) => a - b)
|
|
1749
|
+
\`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => [IntlFormattedDateProps]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
1750
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1751
|
+
@param deleteCount The number of elements to remove.
|
|
1752
|
+
@returns An array containing the elements that were deleted.
|
|
1753
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1754
|
+
@param deleteCount The number of elements to remove.
|
|
1755
|
+
@param items Elements to insert into the array in place of the deleted elements.
|
|
1756
|
+
@returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
|
|
1757
|
+
@param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
1758
|
+
@param searchElement The value to locate in the array.
|
|
1759
|
+
@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
1760
|
+
@param searchElement The value to locate in the array.
|
|
1761
|
+
@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
|
|
1762
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
1763
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1764
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
1765
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1766
|
+
If thisArg is omitted, undefined is used as the this value.
|
|
1767
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
1768
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1769
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
1770
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1771
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
|
|
1772
|
+
@param predicate A function that accepts up to three arguments. The some method calls
|
|
1773
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1774
|
+
which is coercible to the Boolean value true, or until the end of the array.
|
|
1775
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1776
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
|
|
1777
|
+
@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
|
1778
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
1779
|
+
@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
|
1780
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
|
|
1781
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
1782
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
1783
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
1784
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps[]; }"}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
1785
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
1786
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
1787
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
1788
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
1789
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
1790
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
1791
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
1792
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
|
|
1793
|
+
otherwise.
|
|
1794
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
1795
|
+
order, until it finds one where predicate returns true. If such an element is found, find
|
|
1796
|
+
immediately returns that element value. Otherwise, find returns undefined.
|
|
1797
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1798
|
+
predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps | un..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
|
|
1799
|
+
otherwise.
|
|
1800
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
1801
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
1802
|
+
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
|
|
1803
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1804
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: IntlFormattedDateProps, start?: number | undefined, end?: number | undefined) => [IntlFormattedDateProps]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
|
|
1805
|
+
to the same array starting at position target
|
|
1806
|
+
@param target If target is negative, it is treated as length+target where length is the
|
|
1807
|
+
length of the array.
|
|
1808
|
+
@param start If start is negative, it is treated as length+start. If end is negative, it
|
|
1809
|
+
is treated as length+end.
|
|
1810
|
+
@param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [IntlFormattedDateProps]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, IntlFormattedDateProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
1811
|
+
@param searchElement The element to search for.
|
|
1812
|
+
@param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
1813
|
+
a new array.
|
|
1814
|
+
This is identical to a map followed by flat with depth 1.
|
|
1815
|
+
@param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
1816
|
+
callback function one time for each element in the array.
|
|
1817
|
+
@param thisArg An object to which the this keyword can refer in the callback function. If
|
|
1818
|
+
thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
1819
|
+
specified depth.
|
|
1820
|
+
@param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
|
|
1821
|
+
@param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => IntlFormattedDateProps | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
|
|
1822
|
+
otherwise.
|
|
1823
|
+
@param predicate findLast calls predicate once for each element of the array, in descending
|
|
1824
|
+
order, until it finds one where predicate returns true. If such an element is found, findLast
|
|
1825
|
+
immediately returns that element value. Otherwise, findLast returns undefined.
|
|
1826
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1827
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps ..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
|
|
1828
|
+
otherwise.
|
|
1829
|
+
@param predicate findLastIndex calls predicate once for each element of the array, in descending
|
|
1830
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
1831
|
+
findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
|
1832
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1833
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => IntlFormattedDateProps[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
|
1834
|
+
Copies an array and removes elements while returning the remaining elements.
|
|
1835
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1836
|
+
@param deleteCount The number of elements to remove.
|
|
1837
|
+
@param items Elements to insert into the copied array in place of the deleted elements.
|
|
1838
|
+
@returns The copied array.
|
|
1839
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1840
|
+
@param deleteCount The number of elements to remove.
|
|
1841
|
+
@returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
|
|
1842
|
+
given value. If the index is negative, then it replaces from the end
|
|
1843
|
+
of the array.
|
|
1844
|
+
@param index The index of the value to overwrite. If the index is
|
|
1845
|
+
negative, then it replaces from the end of the array.
|
|
1846
|
+
@param value The value to write into the copied array.
|
|
1847
|
+
@returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: IntlFormattedDateProps) => IntlFormattedDateProps[]"}},"__@iterator@407":{defaultValue:null,description:"Iterator",name:"__@iterator@407",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},"__@unscopables@554":{defaultValue:null,description:`Is an object whose properties have the value 'true'
|
|
1848
|
+
when they will be absent when used in a 'with' statement.`,name:"__@unscopables@554",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}try{me.displayName="DateRangeFull",me.__docgenInfo={description:"",displayName:"DateRangeFull",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"IntlFormattedDateRangeProps"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
|
|
1849
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
|
|
1850
|
+
@param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
|
|
1851
|
+
This method returns a new array without modifying any existing arrays.
|
|
1852
|
+
@param items Additional arrays and/or items to add to the end of the array.
|
|
1853
|
+
@param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<IntlFormattedDateProps>[]): IntlFormattedDateProps[]; (...items: (IntlFormattedDateProps | ConcatArray<...>)[]): IntlFormattedDateProps[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
|
|
1854
|
+
@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
|
|
1855
|
+
This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
|
|
1856
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
|
|
1857
|
+
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
1858
|
+
For example, -2 refers to the second to last element of the array.
|
|
1859
|
+
@param start The beginning index of the specified portion of the array.
|
|
1860
|
+
If start is undefined, then the slice begins at index 0.
|
|
1861
|
+
@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
|
1862
|
+
If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => IntlFormattedDateProps[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
|
|
1863
|
+
This method mutates the array and returns a reference to the same array.
|
|
1864
|
+
@param compareFn Function used to determine the order of the elements. It is expected to return
|
|
1865
|
+
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
|
1866
|
+
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
|
1867
|
+
\`\`\`ts
|
|
1868
|
+
[11,2,22,1].sort((a, b) => a - b)
|
|
1869
|
+
\`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => [IntlFormattedDateProps]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
1870
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1871
|
+
@param deleteCount The number of elements to remove.
|
|
1872
|
+
@returns An array containing the elements that were deleted.
|
|
1873
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1874
|
+
@param deleteCount The number of elements to remove.
|
|
1875
|
+
@param items Elements to insert into the array in place of the deleted elements.
|
|
1876
|
+
@returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
|
|
1877
|
+
@param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
1878
|
+
@param searchElement The value to locate in the array.
|
|
1879
|
+
@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
1880
|
+
@param searchElement The value to locate in the array.
|
|
1881
|
+
@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
|
|
1882
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
1883
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1884
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
1885
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1886
|
+
If thisArg is omitted, undefined is used as the this value.
|
|
1887
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
1888
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1889
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
1890
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1891
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
|
|
1892
|
+
@param predicate A function that accepts up to three arguments. The some method calls
|
|
1893
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
1894
|
+
which is coercible to the Boolean value true, or until the end of the array.
|
|
1895
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
1896
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
|
|
1897
|
+
@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
|
1898
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
1899
|
+
@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
|
1900
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
|
|
1901
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
1902
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
1903
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
1904
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps[]; }"}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
1905
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
1906
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
1907
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
1908
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
1909
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
1910
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
1911
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
1912
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
|
|
1913
|
+
otherwise.
|
|
1914
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
1915
|
+
order, until it finds one where predicate returns true. If such an element is found, find
|
|
1916
|
+
immediately returns that element value. Otherwise, find returns undefined.
|
|
1917
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1918
|
+
predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps | un..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
|
|
1919
|
+
otherwise.
|
|
1920
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
1921
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
1922
|
+
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
|
|
1923
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1924
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: IntlFormattedDateProps, start?: number | undefined, end?: number | undefined) => [IntlFormattedDateProps]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
|
|
1925
|
+
to the same array starting at position target
|
|
1926
|
+
@param target If target is negative, it is treated as length+target where length is the
|
|
1927
|
+
length of the array.
|
|
1928
|
+
@param start If start is negative, it is treated as length+start. If end is negative, it
|
|
1929
|
+
is treated as length+end.
|
|
1930
|
+
@param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [IntlFormattedDateProps]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, IntlFormattedDateProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
1931
|
+
@param searchElement The element to search for.
|
|
1932
|
+
@param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
1933
|
+
a new array.
|
|
1934
|
+
This is identical to a map followed by flat with depth 1.
|
|
1935
|
+
@param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
1936
|
+
callback function one time for each element in the array.
|
|
1937
|
+
@param thisArg An object to which the this keyword can refer in the callback function. If
|
|
1938
|
+
thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
1939
|
+
specified depth.
|
|
1940
|
+
@param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
|
|
1941
|
+
@param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => IntlFormattedDateProps | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
|
|
1942
|
+
otherwise.
|
|
1943
|
+
@param predicate findLast calls predicate once for each element of the array, in descending
|
|
1944
|
+
order, until it finds one where predicate returns true. If such an element is found, findLast
|
|
1945
|
+
immediately returns that element value. Otherwise, findLast returns undefined.
|
|
1946
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1947
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps ..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
|
|
1948
|
+
otherwise.
|
|
1949
|
+
@param predicate findLastIndex calls predicate once for each element of the array, in descending
|
|
1950
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
1951
|
+
findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
|
1952
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
1953
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => IntlFormattedDateProps[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
|
1954
|
+
Copies an array and removes elements while returning the remaining elements.
|
|
1955
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1956
|
+
@param deleteCount The number of elements to remove.
|
|
1957
|
+
@param items Elements to insert into the copied array in place of the deleted elements.
|
|
1958
|
+
@returns The copied array.
|
|
1959
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1960
|
+
@param deleteCount The number of elements to remove.
|
|
1961
|
+
@returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
|
|
1962
|
+
given value. If the index is negative, then it replaces from the end
|
|
1963
|
+
of the array.
|
|
1964
|
+
@param index The index of the value to overwrite. If the index is
|
|
1965
|
+
negative, then it replaces from the end of the array.
|
|
1966
|
+
@param value The value to write into the copied array.
|
|
1967
|
+
@returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: IntlFormattedDateProps) => IntlFormattedDateProps[]"}},"__@iterator@407":{defaultValue:null,description:"Iterator",name:"__@iterator@407",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},"__@unscopables@554":{defaultValue:null,description:`Is an object whose properties have the value 'true'
|
|
1968
|
+
when they will be absent when used in a 'with' statement.`,name:"__@unscopables@554",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}try{he.displayName="DateRangeYearShort",he.__docgenInfo={description:"",displayName:"DateRangeYearShort",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"IntlFormattedDateRangeProps"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
|
|
1969
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
|
|
1970
|
+
@param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
|
|
1971
|
+
This method returns a new array without modifying any existing arrays.
|
|
1972
|
+
@param items Additional arrays and/or items to add to the end of the array.
|
|
1973
|
+
@param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<IntlFormattedDateProps>[]): IntlFormattedDateProps[]; (...items: (IntlFormattedDateProps | ConcatArray<...>)[]): IntlFormattedDateProps[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
|
|
1974
|
+
@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
|
|
1975
|
+
This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
|
|
1976
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
|
|
1977
|
+
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
1978
|
+
For example, -2 refers to the second to last element of the array.
|
|
1979
|
+
@param start The beginning index of the specified portion of the array.
|
|
1980
|
+
If start is undefined, then the slice begins at index 0.
|
|
1981
|
+
@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
|
1982
|
+
If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => IntlFormattedDateProps[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
|
|
1983
|
+
This method mutates the array and returns a reference to the same array.
|
|
1984
|
+
@param compareFn Function used to determine the order of the elements. It is expected to return
|
|
1985
|
+
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
|
1986
|
+
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
|
1987
|
+
\`\`\`ts
|
|
1988
|
+
[11,2,22,1].sort((a, b) => a - b)
|
|
1989
|
+
\`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => [IntlFormattedDateProps]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
1990
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1991
|
+
@param deleteCount The number of elements to remove.
|
|
1992
|
+
@returns An array containing the elements that were deleted.
|
|
1993
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
1994
|
+
@param deleteCount The number of elements to remove.
|
|
1995
|
+
@param items Elements to insert into the array in place of the deleted elements.
|
|
1996
|
+
@returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
|
|
1997
|
+
@param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
1998
|
+
@param searchElement The value to locate in the array.
|
|
1999
|
+
@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
2000
|
+
@param searchElement The value to locate in the array.
|
|
2001
|
+
@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
|
|
2002
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
2003
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
2004
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
2005
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
2006
|
+
If thisArg is omitted, undefined is used as the this value.
|
|
2007
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
2008
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
2009
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
2010
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
2011
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
|
|
2012
|
+
@param predicate A function that accepts up to three arguments. The some method calls
|
|
2013
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
2014
|
+
which is coercible to the Boolean value true, or until the end of the array.
|
|
2015
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
2016
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
|
|
2017
|
+
@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
|
2018
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
2019
|
+
@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
|
2020
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
|
|
2021
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
2022
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
2023
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
2024
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps[]; }"}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
2025
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
2026
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
2027
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
2028
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
2029
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
2030
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
2031
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
2032
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
|
|
2033
|
+
otherwise.
|
|
2034
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
2035
|
+
order, until it finds one where predicate returns true. If such an element is found, find
|
|
2036
|
+
immediately returns that element value. Otherwise, find returns undefined.
|
|
2037
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2038
|
+
predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps | un..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
|
|
2039
|
+
otherwise.
|
|
2040
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
2041
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
2042
|
+
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
|
|
2043
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2044
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: IntlFormattedDateProps, start?: number | undefined, end?: number | undefined) => [IntlFormattedDateProps]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
|
|
2045
|
+
to the same array starting at position target
|
|
2046
|
+
@param target If target is negative, it is treated as length+target where length is the
|
|
2047
|
+
length of the array.
|
|
2048
|
+
@param start If start is negative, it is treated as length+start. If end is negative, it
|
|
2049
|
+
is treated as length+end.
|
|
2050
|
+
@param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [IntlFormattedDateProps]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, IntlFormattedDateProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
2051
|
+
@param searchElement The element to search for.
|
|
2052
|
+
@param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
2053
|
+
a new array.
|
|
2054
|
+
This is identical to a map followed by flat with depth 1.
|
|
2055
|
+
@param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
2056
|
+
callback function one time for each element in the array.
|
|
2057
|
+
@param thisArg An object to which the this keyword can refer in the callback function. If
|
|
2058
|
+
thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
2059
|
+
specified depth.
|
|
2060
|
+
@param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
|
|
2061
|
+
@param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => IntlFormattedDateProps | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
|
|
2062
|
+
otherwise.
|
|
2063
|
+
@param predicate findLast calls predicate once for each element of the array, in descending
|
|
2064
|
+
order, until it finds one where predicate returns true. If such an element is found, findLast
|
|
2065
|
+
immediately returns that element value. Otherwise, findLast returns undefined.
|
|
2066
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2067
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps ..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
|
|
2068
|
+
otherwise.
|
|
2069
|
+
@param predicate findLastIndex calls predicate once for each element of the array, in descending
|
|
2070
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
2071
|
+
findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
|
2072
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2073
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => IntlFormattedDateProps[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
|
2074
|
+
Copies an array and removes elements while returning the remaining elements.
|
|
2075
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2076
|
+
@param deleteCount The number of elements to remove.
|
|
2077
|
+
@param items Elements to insert into the copied array in place of the deleted elements.
|
|
2078
|
+
@returns The copied array.
|
|
2079
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2080
|
+
@param deleteCount The number of elements to remove.
|
|
2081
|
+
@returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
|
|
2082
|
+
given value. If the index is negative, then it replaces from the end
|
|
2083
|
+
of the array.
|
|
2084
|
+
@param index The index of the value to overwrite. If the index is
|
|
2085
|
+
negative, then it replaces from the end of the array.
|
|
2086
|
+
@param value The value to write into the copied array.
|
|
2087
|
+
@returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: IntlFormattedDateProps) => IntlFormattedDateProps[]"}},"__@iterator@407":{defaultValue:null,description:"Iterator",name:"__@iterator@407",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},"__@unscopables@554":{defaultValue:null,description:`Is an object whose properties have the value 'true'
|
|
2088
|
+
when they will be absent when used in a 'with' statement.`,name:"__@unscopables@554",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}try{fe.displayName="RelativeDay",fe.__docgenInfo={description:"",displayName:"RelativeDay",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"IntlFormattedRelativeDateProps"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
|
|
2089
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
|
|
2090
|
+
@param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
|
|
2091
|
+
This method returns a new array without modifying any existing arrays.
|
|
2092
|
+
@param items Additional arrays and/or items to add to the end of the array.
|
|
2093
|
+
@param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<IntlFormattedDateProps>[]): IntlFormattedDateProps[]; (...items: (IntlFormattedDateProps | ConcatArray<...>)[]): IntlFormattedDateProps[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
|
|
2094
|
+
@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
|
|
2095
|
+
This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
|
|
2096
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
|
|
2097
|
+
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
2098
|
+
For example, -2 refers to the second to last element of the array.
|
|
2099
|
+
@param start The beginning index of the specified portion of the array.
|
|
2100
|
+
If start is undefined, then the slice begins at index 0.
|
|
2101
|
+
@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
|
2102
|
+
If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => IntlFormattedDateProps[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
|
|
2103
|
+
This method mutates the array and returns a reference to the same array.
|
|
2104
|
+
@param compareFn Function used to determine the order of the elements. It is expected to return
|
|
2105
|
+
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
|
2106
|
+
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
|
2107
|
+
\`\`\`ts
|
|
2108
|
+
[11,2,22,1].sort((a, b) => a - b)
|
|
2109
|
+
\`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => [IntlFormattedDateProps]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
2110
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2111
|
+
@param deleteCount The number of elements to remove.
|
|
2112
|
+
@returns An array containing the elements that were deleted.
|
|
2113
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2114
|
+
@param deleteCount The number of elements to remove.
|
|
2115
|
+
@param items Elements to insert into the array in place of the deleted elements.
|
|
2116
|
+
@returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
|
|
2117
|
+
@param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
2118
|
+
@param searchElement The value to locate in the array.
|
|
2119
|
+
@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
2120
|
+
@param searchElement The value to locate in the array.
|
|
2121
|
+
@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
|
|
2122
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
2123
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
2124
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
2125
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
2126
|
+
If thisArg is omitted, undefined is used as the this value.
|
|
2127
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
2128
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
2129
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
2130
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
2131
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
|
|
2132
|
+
@param predicate A function that accepts up to three arguments. The some method calls
|
|
2133
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
2134
|
+
which is coercible to the Boolean value true, or until the end of the array.
|
|
2135
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
2136
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
|
|
2137
|
+
@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
|
2138
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
2139
|
+
@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
|
2140
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
|
|
2141
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
2142
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
2143
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
2144
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps[]; }"}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
2145
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
2146
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
2147
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
2148
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
2149
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
2150
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
2151
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
2152
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
|
|
2153
|
+
otherwise.
|
|
2154
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
2155
|
+
order, until it finds one where predicate returns true. If such an element is found, find
|
|
2156
|
+
immediately returns that element value. Otherwise, find returns undefined.
|
|
2157
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2158
|
+
predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps | un..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
|
|
2159
|
+
otherwise.
|
|
2160
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
2161
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
2162
|
+
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
|
|
2163
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2164
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: IntlFormattedDateProps, start?: number | undefined, end?: number | undefined) => [IntlFormattedDateProps]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
|
|
2165
|
+
to the same array starting at position target
|
|
2166
|
+
@param target If target is negative, it is treated as length+target where length is the
|
|
2167
|
+
length of the array.
|
|
2168
|
+
@param start If start is negative, it is treated as length+start. If end is negative, it
|
|
2169
|
+
is treated as length+end.
|
|
2170
|
+
@param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [IntlFormattedDateProps]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, IntlFormattedDateProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
2171
|
+
@param searchElement The element to search for.
|
|
2172
|
+
@param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
2173
|
+
a new array.
|
|
2174
|
+
This is identical to a map followed by flat with depth 1.
|
|
2175
|
+
@param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
2176
|
+
callback function one time for each element in the array.
|
|
2177
|
+
@param thisArg An object to which the this keyword can refer in the callback function. If
|
|
2178
|
+
thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
2179
|
+
specified depth.
|
|
2180
|
+
@param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
|
|
2181
|
+
@param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => IntlFormattedDateProps | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
|
|
2182
|
+
otherwise.
|
|
2183
|
+
@param predicate findLast calls predicate once for each element of the array, in descending
|
|
2184
|
+
order, until it finds one where predicate returns true. If such an element is found, findLast
|
|
2185
|
+
immediately returns that element value. Otherwise, findLast returns undefined.
|
|
2186
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2187
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps ..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
|
|
2188
|
+
otherwise.
|
|
2189
|
+
@param predicate findLastIndex calls predicate once for each element of the array, in descending
|
|
2190
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
2191
|
+
findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
|
2192
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2193
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => IntlFormattedDateProps[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
|
2194
|
+
Copies an array and removes elements while returning the remaining elements.
|
|
2195
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2196
|
+
@param deleteCount The number of elements to remove.
|
|
2197
|
+
@param items Elements to insert into the copied array in place of the deleted elements.
|
|
2198
|
+
@returns The copied array.
|
|
2199
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2200
|
+
@param deleteCount The number of elements to remove.
|
|
2201
|
+
@returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
|
|
2202
|
+
given value. If the index is negative, then it replaces from the end
|
|
2203
|
+
of the array.
|
|
2204
|
+
@param index The index of the value to overwrite. If the index is
|
|
2205
|
+
negative, then it replaces from the end of the array.
|
|
2206
|
+
@param value The value to write into the copied array.
|
|
2207
|
+
@returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: IntlFormattedDateProps) => IntlFormattedDateProps[]"}},"__@iterator@407":{defaultValue:null,description:"Iterator",name:"__@iterator@407",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},"__@unscopables@554":{defaultValue:null,description:`Is an object whose properties have the value 'true'
|
|
2208
|
+
when they will be absent when used in a 'with' statement.`,name:"__@unscopables@554",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}try{pe.displayName="RelativeDayDateShort",pe.__docgenInfo={description:"",displayName:"RelativeDayDateShort",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"IntlFormattedRelativeDateProps"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
|
|
2209
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
|
|
2210
|
+
@param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
|
|
2211
|
+
This method returns a new array without modifying any existing arrays.
|
|
2212
|
+
@param items Additional arrays and/or items to add to the end of the array.
|
|
2213
|
+
@param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<IntlFormattedDateProps>[]): IntlFormattedDateProps[]; (...items: (IntlFormattedDateProps | ConcatArray<...>)[]): IntlFormattedDateProps[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
|
|
2214
|
+
@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
|
|
2215
|
+
This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
|
|
2216
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
|
|
2217
|
+
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
2218
|
+
For example, -2 refers to the second to last element of the array.
|
|
2219
|
+
@param start The beginning index of the specified portion of the array.
|
|
2220
|
+
If start is undefined, then the slice begins at index 0.
|
|
2221
|
+
@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
|
2222
|
+
If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => IntlFormattedDateProps[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
|
|
2223
|
+
This method mutates the array and returns a reference to the same array.
|
|
2224
|
+
@param compareFn Function used to determine the order of the elements. It is expected to return
|
|
2225
|
+
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
|
2226
|
+
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
|
2227
|
+
\`\`\`ts
|
|
2228
|
+
[11,2,22,1].sort((a, b) => a - b)
|
|
2229
|
+
\`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => [IntlFormattedDateProps]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
2230
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2231
|
+
@param deleteCount The number of elements to remove.
|
|
2232
|
+
@returns An array containing the elements that were deleted.
|
|
2233
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2234
|
+
@param deleteCount The number of elements to remove.
|
|
2235
|
+
@param items Elements to insert into the array in place of the deleted elements.
|
|
2236
|
+
@returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
|
|
2237
|
+
@param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
2238
|
+
@param searchElement The value to locate in the array.
|
|
2239
|
+
@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
2240
|
+
@param searchElement The value to locate in the array.
|
|
2241
|
+
@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
|
|
2242
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
2243
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
2244
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
2245
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
2246
|
+
If thisArg is omitted, undefined is used as the this value.
|
|
2247
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
2248
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
2249
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
2250
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
2251
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
|
|
2252
|
+
@param predicate A function that accepts up to three arguments. The some method calls
|
|
2253
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
2254
|
+
which is coercible to the Boolean value true, or until the end of the array.
|
|
2255
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
2256
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
|
|
2257
|
+
@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
|
2258
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
2259
|
+
@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
|
2260
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
|
|
2261
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
2262
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
2263
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
2264
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps[]; }"}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
2265
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
2266
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
2267
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
2268
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
2269
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
2270
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
2271
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
2272
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
|
|
2273
|
+
otherwise.
|
|
2274
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
2275
|
+
order, until it finds one where predicate returns true. If such an element is found, find
|
|
2276
|
+
immediately returns that element value. Otherwise, find returns undefined.
|
|
2277
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2278
|
+
predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps | un..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
|
|
2279
|
+
otherwise.
|
|
2280
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
2281
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
2282
|
+
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
|
|
2283
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2284
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: IntlFormattedDateProps, start?: number | undefined, end?: number | undefined) => [IntlFormattedDateProps]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
|
|
2285
|
+
to the same array starting at position target
|
|
2286
|
+
@param target If target is negative, it is treated as length+target where length is the
|
|
2287
|
+
length of the array.
|
|
2288
|
+
@param start If start is negative, it is treated as length+start. If end is negative, it
|
|
2289
|
+
is treated as length+end.
|
|
2290
|
+
@param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [IntlFormattedDateProps]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, IntlFormattedDateProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
2291
|
+
@param searchElement The element to search for.
|
|
2292
|
+
@param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
2293
|
+
a new array.
|
|
2294
|
+
This is identical to a map followed by flat with depth 1.
|
|
2295
|
+
@param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
2296
|
+
callback function one time for each element in the array.
|
|
2297
|
+
@param thisArg An object to which the this keyword can refer in the callback function. If
|
|
2298
|
+
thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
2299
|
+
specified depth.
|
|
2300
|
+
@param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
|
|
2301
|
+
@param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => IntlFormattedDateProps | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
|
|
2302
|
+
otherwise.
|
|
2303
|
+
@param predicate findLast calls predicate once for each element of the array, in descending
|
|
2304
|
+
order, until it finds one where predicate returns true. If such an element is found, findLast
|
|
2305
|
+
immediately returns that element value. Otherwise, findLast returns undefined.
|
|
2306
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2307
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps ..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
|
|
2308
|
+
otherwise.
|
|
2309
|
+
@param predicate findLastIndex calls predicate once for each element of the array, in descending
|
|
2310
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
2311
|
+
findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
|
2312
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2313
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => IntlFormattedDateProps[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
|
2314
|
+
Copies an array and removes elements while returning the remaining elements.
|
|
2315
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2316
|
+
@param deleteCount The number of elements to remove.
|
|
2317
|
+
@param items Elements to insert into the copied array in place of the deleted elements.
|
|
2318
|
+
@returns The copied array.
|
|
2319
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2320
|
+
@param deleteCount The number of elements to remove.
|
|
2321
|
+
@returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
|
|
2322
|
+
given value. If the index is negative, then it replaces from the end
|
|
2323
|
+
of the array.
|
|
2324
|
+
@param index The index of the value to overwrite. If the index is
|
|
2325
|
+
negative, then it replaces from the end of the array.
|
|
2326
|
+
@param value The value to write into the copied array.
|
|
2327
|
+
@returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: IntlFormattedDateProps) => IntlFormattedDateProps[]"}},"__@iterator@407":{defaultValue:null,description:"Iterator",name:"__@iterator@407",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},"__@unscopables@554":{defaultValue:null,description:`Is an object whose properties have the value 'true'
|
|
2328
|
+
when they will be absent when used in a 'with' statement.`,name:"__@unscopables@554",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}try{ce.displayName="DayDateNumberShort",ce.__docgenInfo={description:"",displayName:"DayDateNumberShort",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"IntlFormattedDateProps"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
|
|
2329
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
|
|
2330
|
+
@param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
|
|
2331
|
+
This method returns a new array without modifying any existing arrays.
|
|
2332
|
+
@param items Additional arrays and/or items to add to the end of the array.
|
|
2333
|
+
@param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<IntlFormattedDateProps>[]): IntlFormattedDateProps[]; (...items: (IntlFormattedDateProps | ConcatArray<...>)[]): IntlFormattedDateProps[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
|
|
2334
|
+
@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
|
|
2335
|
+
This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
|
|
2336
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
|
|
2337
|
+
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
2338
|
+
For example, -2 refers to the second to last element of the array.
|
|
2339
|
+
@param start The beginning index of the specified portion of the array.
|
|
2340
|
+
If start is undefined, then the slice begins at index 0.
|
|
2341
|
+
@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
|
2342
|
+
If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => IntlFormattedDateProps[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
|
|
2343
|
+
This method mutates the array and returns a reference to the same array.
|
|
2344
|
+
@param compareFn Function used to determine the order of the elements. It is expected to return
|
|
2345
|
+
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
|
2346
|
+
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
|
2347
|
+
\`\`\`ts
|
|
2348
|
+
[11,2,22,1].sort((a, b) => a - b)
|
|
2349
|
+
\`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => [IntlFormattedDateProps]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
2350
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2351
|
+
@param deleteCount The number of elements to remove.
|
|
2352
|
+
@returns An array containing the elements that were deleted.
|
|
2353
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2354
|
+
@param deleteCount The number of elements to remove.
|
|
2355
|
+
@param items Elements to insert into the array in place of the deleted elements.
|
|
2356
|
+
@returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
|
|
2357
|
+
@param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
2358
|
+
@param searchElement The value to locate in the array.
|
|
2359
|
+
@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
2360
|
+
@param searchElement The value to locate in the array.
|
|
2361
|
+
@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
|
|
2362
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
2363
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
2364
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
2365
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
2366
|
+
If thisArg is omitted, undefined is used as the this value.
|
|
2367
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
2368
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
2369
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
2370
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
2371
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
|
|
2372
|
+
@param predicate A function that accepts up to three arguments. The some method calls
|
|
2373
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
2374
|
+
which is coercible to the Boolean value true, or until the end of the array.
|
|
2375
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
2376
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
|
|
2377
|
+
@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
|
2378
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
2379
|
+
@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
|
2380
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
|
|
2381
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
2382
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
2383
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
2384
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps[]; }"}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
2385
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
2386
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
2387
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
2388
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
2389
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
2390
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
2391
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
2392
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
|
|
2393
|
+
otherwise.
|
|
2394
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
2395
|
+
order, until it finds one where predicate returns true. If such an element is found, find
|
|
2396
|
+
immediately returns that element value. Otherwise, find returns undefined.
|
|
2397
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2398
|
+
predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps | un..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
|
|
2399
|
+
otherwise.
|
|
2400
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
2401
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
2402
|
+
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
|
|
2403
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2404
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: IntlFormattedDateProps, start?: number | undefined, end?: number | undefined) => [IntlFormattedDateProps]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
|
|
2405
|
+
to the same array starting at position target
|
|
2406
|
+
@param target If target is negative, it is treated as length+target where length is the
|
|
2407
|
+
length of the array.
|
|
2408
|
+
@param start If start is negative, it is treated as length+start. If end is negative, it
|
|
2409
|
+
is treated as length+end.
|
|
2410
|
+
@param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [IntlFormattedDateProps]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, IntlFormattedDateProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
2411
|
+
@param searchElement The element to search for.
|
|
2412
|
+
@param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
2413
|
+
a new array.
|
|
2414
|
+
This is identical to a map followed by flat with depth 1.
|
|
2415
|
+
@param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
2416
|
+
callback function one time for each element in the array.
|
|
2417
|
+
@param thisArg An object to which the this keyword can refer in the callback function. If
|
|
2418
|
+
thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
2419
|
+
specified depth.
|
|
2420
|
+
@param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
|
|
2421
|
+
@param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => IntlFormattedDateProps | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
|
|
2422
|
+
otherwise.
|
|
2423
|
+
@param predicate findLast calls predicate once for each element of the array, in descending
|
|
2424
|
+
order, until it finds one where predicate returns true. If such an element is found, findLast
|
|
2425
|
+
immediately returns that element value. Otherwise, findLast returns undefined.
|
|
2426
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2427
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps ..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
|
|
2428
|
+
otherwise.
|
|
2429
|
+
@param predicate findLastIndex calls predicate once for each element of the array, in descending
|
|
2430
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
2431
|
+
findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
|
2432
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2433
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => IntlFormattedDateProps[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
|
2434
|
+
Copies an array and removes elements while returning the remaining elements.
|
|
2435
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2436
|
+
@param deleteCount The number of elements to remove.
|
|
2437
|
+
@param items Elements to insert into the copied array in place of the deleted elements.
|
|
2438
|
+
@returns The copied array.
|
|
2439
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2440
|
+
@param deleteCount The number of elements to remove.
|
|
2441
|
+
@returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
|
|
2442
|
+
given value. If the index is negative, then it replaces from the end
|
|
2443
|
+
of the array.
|
|
2444
|
+
@param index The index of the value to overwrite. If the index is
|
|
2445
|
+
negative, then it replaces from the end of the array.
|
|
2446
|
+
@param value The value to write into the copied array.
|
|
2447
|
+
@returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: IntlFormattedDateProps) => IntlFormattedDateProps[]"}},"__@iterator@407":{defaultValue:null,description:"Iterator",name:"__@iterator@407",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},"__@unscopables@554":{defaultValue:null,description:`Is an object whose properties have the value 'true'
|
|
2448
|
+
when they will be absent when used in a 'with' statement.`,name:"__@unscopables@554",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}try{ye.displayName="EveryWeekDayFull",ye.__docgenInfo={description:"",displayName:"EveryWeekDayFull",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"IntlFormattedDateProps"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
|
|
2449
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
|
|
2450
|
+
@param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
|
|
2451
|
+
This method returns a new array without modifying any existing arrays.
|
|
2452
|
+
@param items Additional arrays and/or items to add to the end of the array.
|
|
2453
|
+
@param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<IntlFormattedDateProps>[]): IntlFormattedDateProps[]; (...items: (IntlFormattedDateProps | ConcatArray<...>)[]): IntlFormattedDateProps[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
|
|
2454
|
+
@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
|
|
2455
|
+
This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
|
|
2456
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => IntlFormattedDateProps | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
|
|
2457
|
+
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
2458
|
+
For example, -2 refers to the second to last element of the array.
|
|
2459
|
+
@param start The beginning index of the specified portion of the array.
|
|
2460
|
+
If start is undefined, then the slice begins at index 0.
|
|
2461
|
+
@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
|
2462
|
+
If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => IntlFormattedDateProps[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
|
|
2463
|
+
This method mutates the array and returns a reference to the same array.
|
|
2464
|
+
@param compareFn Function used to determine the order of the elements. It is expected to return
|
|
2465
|
+
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
|
2466
|
+
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
|
2467
|
+
\`\`\`ts
|
|
2468
|
+
[11,2,22,1].sort((a, b) => a - b)
|
|
2469
|
+
\`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => [IntlFormattedDateProps]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
2470
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2471
|
+
@param deleteCount The number of elements to remove.
|
|
2472
|
+
@returns An array containing the elements that were deleted.
|
|
2473
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2474
|
+
@param deleteCount The number of elements to remove.
|
|
2475
|
+
@param items Elements to insert into the array in place of the deleted elements.
|
|
2476
|
+
@returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
|
|
2477
|
+
@param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: IntlFormattedDateProps[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
2478
|
+
@param searchElement The value to locate in the array.
|
|
2479
|
+
@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
2480
|
+
@param searchElement The value to locate in the array.
|
|
2481
|
+
@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
|
|
2482
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
2483
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
2484
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
2485
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
2486
|
+
If thisArg is omitted, undefined is used as the this value.
|
|
2487
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
2488
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
2489
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
2490
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
2491
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
|
|
2492
|
+
@param predicate A function that accepts up to three arguments. The some method calls
|
|
2493
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
2494
|
+
which is coercible to the Boolean value true, or until the end of the array.
|
|
2495
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
2496
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
|
|
2497
|
+
@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
|
2498
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
2499
|
+
@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
|
2500
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
|
|
2501
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
2502
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
2503
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
2504
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps[]; }"}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
2505
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
2506
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
2507
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
2508
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
2509
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
2510
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
2511
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
2512
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, array: IntlFormattedDateProps[]) => IntlFormattedDateProps): IntlFormattedDateProps; (callbackfn: (previousValue: IntlFormattedDateProps, currentValue: IntlFormattedDateProps, currentIndex: number, arra..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
|
|
2513
|
+
otherwise.
|
|
2514
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
2515
|
+
order, until it finds one where predicate returns true. If such an element is found, find
|
|
2516
|
+
immediately returns that element value. Otherwise, find returns undefined.
|
|
2517
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2518
|
+
predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps | un..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
|
|
2519
|
+
otherwise.
|
|
2520
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
2521
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
2522
|
+
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
|
|
2523
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2524
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, obj: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: IntlFormattedDateProps, start?: number | undefined, end?: number | undefined) => [IntlFormattedDateProps]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
|
|
2525
|
+
to the same array starting at position target
|
|
2526
|
+
@param target If target is negative, it is treated as length+target where length is the
|
|
2527
|
+
length of the array.
|
|
2528
|
+
@param start If start is negative, it is treated as length+start. If end is negative, it
|
|
2529
|
+
is treated as length+end.
|
|
2530
|
+
@param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [IntlFormattedDateProps]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, IntlFormattedDateProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
2531
|
+
@param searchElement The element to search for.
|
|
2532
|
+
@param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: IntlFormattedDateProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
2533
|
+
a new array.
|
|
2534
|
+
This is identical to a map followed by flat with depth 1.
|
|
2535
|
+
@param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
2536
|
+
callback function one time for each element in the array.
|
|
2537
|
+
@param thisArg An object to which the this keyword can refer in the callback function. If
|
|
2538
|
+
thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
2539
|
+
specified depth.
|
|
2540
|
+
@param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
|
|
2541
|
+
@param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => IntlFormattedDateProps | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
|
|
2542
|
+
otherwise.
|
|
2543
|
+
@param predicate findLast calls predicate once for each element of the array, in descending
|
|
2544
|
+
order, until it finds one where predicate returns true. If such an element is found, findLast
|
|
2545
|
+
immediately returns that element value. Otherwise, findLast returns undefined.
|
|
2546
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2547
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends IntlFormattedDateProps>(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any): IntlFormattedDateProps ..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
|
|
2548
|
+
otherwise.
|
|
2549
|
+
@param predicate findLastIndex calls predicate once for each element of the array, in descending
|
|
2550
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
2551
|
+
findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
|
2552
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2553
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedDateProps, index: number, array: IntlFormattedDateProps[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => IntlFormattedDateProps[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedDateProps, b: IntlFormattedDateProps) => number) | undefined) => IntlFormattedDateProps[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
|
2554
|
+
Copies an array and removes elements while returning the remaining elements.
|
|
2555
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2556
|
+
@param deleteCount The number of elements to remove.
|
|
2557
|
+
@param items Elements to insert into the copied array in place of the deleted elements.
|
|
2558
|
+
@returns The copied array.
|
|
2559
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2560
|
+
@param deleteCount The number of elements to remove.
|
|
2561
|
+
@returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: IntlFormattedDateProps[]): IntlFormattedDateProps[]; (start: number, deleteCount?: number | undefined): IntlFormattedDateProps[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
|
|
2562
|
+
given value. If the index is negative, then it replaces from the end
|
|
2563
|
+
of the array.
|
|
2564
|
+
@param index The index of the value to overwrite. If the index is
|
|
2565
|
+
negative, then it replaces from the end of the array.
|
|
2566
|
+
@param value The value to write into the copied array.
|
|
2567
|
+
@returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: IntlFormattedDateProps) => IntlFormattedDateProps[]"}},"__@iterator@407":{defaultValue:null,description:"Iterator",name:"__@iterator@407",required:!0,type:{name:"() => IterableIterator<IntlFormattedDateProps>"}},"__@unscopables@554":{defaultValue:null,description:`Is an object whose properties have the value 'true'
|
|
2568
|
+
when they will be absent when used in a 'with' statement.`,name:"__@unscopables@554",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}function Ie(...e){const{formatTime:a}=Ye(),t=a(...e);return y.jsx(p,{children:t})}function be(...e){const{formatTimeRange:a}=Ye(),t=a(...e);return y.jsx(p,{children:t})}const Oe={Time:Ie,TimeRange:be};try{Ie.displayName="Time",Ie.__docgenInfo={description:"",displayName:"Time",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"IntlFormattedTimeProps"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
|
|
2569
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => IntlFormattedTimeProps | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
|
|
2570
|
+
@param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: IntlFormattedTimeProps[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
|
|
2571
|
+
This method returns a new array without modifying any existing arrays.
|
|
2572
|
+
@param items Additional arrays and/or items to add to the end of the array.
|
|
2573
|
+
@param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<IntlFormattedTimeProps>[]): IntlFormattedTimeProps[]; (...items: (IntlFormattedTimeProps | ConcatArray<...>)[]): IntlFormattedTimeProps[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
|
|
2574
|
+
@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
|
|
2575
|
+
This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => IntlFormattedTimeProps[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
|
|
2576
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => IntlFormattedTimeProps | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
|
|
2577
|
+
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
2578
|
+
For example, -2 refers to the second to last element of the array.
|
|
2579
|
+
@param start The beginning index of the specified portion of the array.
|
|
2580
|
+
If start is undefined, then the slice begins at index 0.
|
|
2581
|
+
@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
|
2582
|
+
If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => IntlFormattedTimeProps[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
|
|
2583
|
+
This method mutates the array and returns a reference to the same array.
|
|
2584
|
+
@param compareFn Function used to determine the order of the elements. It is expected to return
|
|
2585
|
+
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
|
2586
|
+
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
|
2587
|
+
\`\`\`ts
|
|
2588
|
+
[11,2,22,1].sort((a, b) => a - b)
|
|
2589
|
+
\`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedTimeProps, b: IntlFormattedTimeProps) => number) | undefined) => [IntlFormattedTimeProps]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
2590
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2591
|
+
@param deleteCount The number of elements to remove.
|
|
2592
|
+
@returns An array containing the elements that were deleted.
|
|
2593
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2594
|
+
@param deleteCount The number of elements to remove.
|
|
2595
|
+
@param items Elements to insert into the array in place of the deleted elements.
|
|
2596
|
+
@returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): IntlFormattedTimeProps[]; (start: number, deleteCount: number, ...items: IntlFormattedTimeProps[]): IntlFormattedTimeProps[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
|
|
2597
|
+
@param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: IntlFormattedTimeProps[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
2598
|
+
@param searchElement The value to locate in the array.
|
|
2599
|
+
@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: IntlFormattedTimeProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
2600
|
+
@param searchElement The value to locate in the array.
|
|
2601
|
+
@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: IntlFormattedTimeProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
|
|
2602
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
2603
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
2604
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
2605
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
2606
|
+
If thisArg is omitted, undefined is used as the this value.
|
|
2607
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
2608
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
2609
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
2610
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
2611
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends IntlFormattedTimeProps>(predicate: (value: IntlFormattedTimeProps, index: number, array: IntlFormattedTimeProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: IntlFormattedTimeProps, index: number, array: IntlFormattedTimeProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
|
|
2612
|
+
@param predicate A function that accepts up to three arguments. The some method calls
|
|
2613
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
2614
|
+
which is coercible to the Boolean value true, or until the end of the array.
|
|
2615
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
2616
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: IntlFormattedTimeProps, index: number, array: IntlFormattedTimeProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
|
|
2617
|
+
@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
|
2618
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: IntlFormattedTimeProps, index: number, array: IntlFormattedTimeProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
2619
|
+
@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
|
2620
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: IntlFormattedTimeProps, index: number, array: IntlFormattedTimeProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
|
|
2621
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
2622
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
2623
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
2624
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends IntlFormattedTimeProps>(predicate: (value: IntlFormattedTimeProps, index: number, array: IntlFormattedTimeProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: IntlFormattedTimeProps, index: number, array: IntlFormattedTimeProps[]) => unknown, thisArg?: any): IntlFormattedTimeProps[]; }"}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
2625
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
2626
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
2627
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
2628
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedTimeProps, currentValue: IntlFormattedTimeProps, currentIndex: number, array: IntlFormattedTimeProps[]) => IntlFormattedTimeProps): IntlFormattedTimeProps; (callbackfn: (previousValue: IntlFormattedTimeProps, currentValue: IntlFormattedTimeProps, currentIndex: number, arra..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
2629
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
2630
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
2631
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
2632
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedTimeProps, currentValue: IntlFormattedTimeProps, currentIndex: number, array: IntlFormattedTimeProps[]) => IntlFormattedTimeProps): IntlFormattedTimeProps; (callbackfn: (previousValue: IntlFormattedTimeProps, currentValue: IntlFormattedTimeProps, currentIndex: number, arra..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
|
|
2633
|
+
otherwise.
|
|
2634
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
2635
|
+
order, until it finds one where predicate returns true. If such an element is found, find
|
|
2636
|
+
immediately returns that element value. Otherwise, find returns undefined.
|
|
2637
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2638
|
+
predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends IntlFormattedTimeProps>(predicate: (value: IntlFormattedTimeProps, index: number, obj: IntlFormattedTimeProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedTimeProps, index: number, obj: IntlFormattedTimeProps[]) => unknown, thisArg?: any): IntlFormattedTimeProps | un..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
|
|
2639
|
+
otherwise.
|
|
2640
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
2641
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
2642
|
+
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
|
|
2643
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2644
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedTimeProps, index: number, obj: IntlFormattedTimeProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: IntlFormattedTimeProps, start?: number | undefined, end?: number | undefined) => [IntlFormattedTimeProps]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
|
|
2645
|
+
to the same array starting at position target
|
|
2646
|
+
@param target If target is negative, it is treated as length+target where length is the
|
|
2647
|
+
length of the array.
|
|
2648
|
+
@param start If start is negative, it is treated as length+start. If end is negative, it
|
|
2649
|
+
is treated as length+end.
|
|
2650
|
+
@param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [IntlFormattedTimeProps]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, IntlFormattedTimeProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<IntlFormattedTimeProps>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
2651
|
+
@param searchElement The element to search for.
|
|
2652
|
+
@param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: IntlFormattedTimeProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
2653
|
+
a new array.
|
|
2654
|
+
This is identical to a map followed by flat with depth 1.
|
|
2655
|
+
@param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
2656
|
+
callback function one time for each element in the array.
|
|
2657
|
+
@param thisArg An object to which the this keyword can refer in the callback function. If
|
|
2658
|
+
thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: IntlFormattedTimeProps, index: number, array: IntlFormattedTimeProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
2659
|
+
specified depth.
|
|
2660
|
+
@param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
|
|
2661
|
+
@param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => IntlFormattedTimeProps | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
|
|
2662
|
+
otherwise.
|
|
2663
|
+
@param predicate findLast calls predicate once for each element of the array, in descending
|
|
2664
|
+
order, until it finds one where predicate returns true. If such an element is found, findLast
|
|
2665
|
+
immediately returns that element value. Otherwise, findLast returns undefined.
|
|
2666
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2667
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends IntlFormattedTimeProps>(predicate: (value: IntlFormattedTimeProps, index: number, array: IntlFormattedTimeProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedTimeProps, index: number, array: IntlFormattedTimeProps[]) => unknown, thisArg?: any): IntlFormattedTimeProps ..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
|
|
2668
|
+
otherwise.
|
|
2669
|
+
@param predicate findLastIndex calls predicate once for each element of the array, in descending
|
|
2670
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
2671
|
+
findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
|
2672
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2673
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedTimeProps, index: number, array: IntlFormattedTimeProps[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => IntlFormattedTimeProps[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedTimeProps, b: IntlFormattedTimeProps) => number) | undefined) => IntlFormattedTimeProps[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
|
2674
|
+
Copies an array and removes elements while returning the remaining elements.
|
|
2675
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2676
|
+
@param deleteCount The number of elements to remove.
|
|
2677
|
+
@param items Elements to insert into the copied array in place of the deleted elements.
|
|
2678
|
+
@returns The copied array.
|
|
2679
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2680
|
+
@param deleteCount The number of elements to remove.
|
|
2681
|
+
@returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: IntlFormattedTimeProps[]): IntlFormattedTimeProps[]; (start: number, deleteCount?: number | undefined): IntlFormattedTimeProps[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
|
|
2682
|
+
given value. If the index is negative, then it replaces from the end
|
|
2683
|
+
of the array.
|
|
2684
|
+
@param index The index of the value to overwrite. If the index is
|
|
2685
|
+
negative, then it replaces from the end of the array.
|
|
2686
|
+
@param value The value to write into the copied array.
|
|
2687
|
+
@returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: IntlFormattedTimeProps) => IntlFormattedTimeProps[]"}},"__@iterator@407":{defaultValue:null,description:"Iterator",name:"__@iterator@407",required:!0,type:{name:"() => IterableIterator<IntlFormattedTimeProps>"}},"__@unscopables@554":{defaultValue:null,description:`Is an object whose properties have the value 'true'
|
|
2688
|
+
when they will be absent when used in a 'with' statement.`,name:"__@unscopables@554",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}try{be.displayName="TimeRange",be.__docgenInfo={description:"",displayName:"TimeRange",props:{0:{defaultValue:null,description:"",name:"0",required:!0,type:{name:"IntlFormattedTimeRangeProps"}},length:{defaultValue:null,description:"",name:"length",required:!0,type:{name:"1"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:`Removes the last element from an array and returns it.
|
|
2689
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"pop",required:!0,type:{name:"() => IntlFormattedTimeProps | undefined"}},push:{defaultValue:null,description:`Appends new elements to the end of an array, and returns the new length of the array.
|
|
2690
|
+
@param items New elements to add to the array.`,name:"push",required:!0,type:{name:"(...items: IntlFormattedTimeProps[]) => number"}},concat:{defaultValue:null,description:`Combines two or more arrays.
|
|
2691
|
+
This method returns a new array without modifying any existing arrays.
|
|
2692
|
+
@param items Additional arrays and/or items to add to the end of the array.
|
|
2693
|
+
@param items Additional arrays and/or items to add to the end of the array.`,name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<IntlFormattedTimeProps>[]): IntlFormattedTimeProps[]; (...items: (IntlFormattedTimeProps | ConcatArray<...>)[]): IntlFormattedTimeProps[]; }"}},join:{defaultValue:null,description:`Adds all the elements of an array into a string, separated by the specified separator string.
|
|
2694
|
+
@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.`,name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:`Reverses the elements in an array in place.
|
|
2695
|
+
This method mutates the array and returns a reference to the same array.`,name:"reverse",required:!0,type:{name:"() => IntlFormattedTimeProps[]"}},shift:{defaultValue:null,description:`Removes the first element from an array and returns it.
|
|
2696
|
+
If the array is empty, undefined is returned and the array is not modified.`,name:"shift",required:!0,type:{name:"() => IntlFormattedTimeProps | undefined"}},slice:{defaultValue:null,description:`Returns a copy of a section of an array.
|
|
2697
|
+
For both start and end, a negative index can be used to indicate an offset from the end of the array.
|
|
2698
|
+
For example, -2 refers to the second to last element of the array.
|
|
2699
|
+
@param start The beginning index of the specified portion of the array.
|
|
2700
|
+
If start is undefined, then the slice begins at index 0.
|
|
2701
|
+
@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.
|
|
2702
|
+
If end is undefined, then the slice extends to the end of the array.`,name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => IntlFormattedTimeProps[]"}},sort:{defaultValue:null,description:`Sorts an array in place.
|
|
2703
|
+
This method mutates the array and returns a reference to the same array.
|
|
2704
|
+
@param compareFn Function used to determine the order of the elements. It is expected to return
|
|
2705
|
+
a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
|
2706
|
+
value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
|
2707
|
+
\`\`\`ts
|
|
2708
|
+
[11,2,22,1].sort((a, b) => a - b)
|
|
2709
|
+
\`\`\``,name:"sort",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedTimeProps, b: IntlFormattedTimeProps) => number) | undefined) => [IntlFormattedTimeProps]"}},splice:{defaultValue:null,description:`Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
|
2710
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2711
|
+
@param deleteCount The number of elements to remove.
|
|
2712
|
+
@returns An array containing the elements that were deleted.
|
|
2713
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2714
|
+
@param deleteCount The number of elements to remove.
|
|
2715
|
+
@param items Elements to insert into the array in place of the deleted elements.
|
|
2716
|
+
@returns An array containing the elements that were deleted.`,name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): IntlFormattedTimeProps[]; (start: number, deleteCount: number, ...items: IntlFormattedTimeProps[]): IntlFormattedTimeProps[]; }"}},unshift:{defaultValue:null,description:`Inserts new elements at the start of an array, and returns the new length of the array.
|
|
2717
|
+
@param items Elements to insert at the start of the array.`,name:"unshift",required:!0,type:{name:"(...items: IntlFormattedTimeProps[]) => number"}},indexOf:{defaultValue:null,description:`Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
|
|
2718
|
+
@param searchElement The value to locate in the array.
|
|
2719
|
+
@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.`,name:"indexOf",required:!0,type:{name:"(searchElement: IntlFormattedTimeProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:`Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
|
|
2720
|
+
@param searchElement The value to locate in the array.
|
|
2721
|
+
@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.`,name:"lastIndexOf",required:!0,type:{name:"(searchElement: IntlFormattedTimeProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:`Determines whether all the members of an array satisfy the specified test.
|
|
2722
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
2723
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
2724
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
2725
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
2726
|
+
If thisArg is omitted, undefined is used as the this value.
|
|
2727
|
+
@param predicate A function that accepts up to three arguments. The every method calls
|
|
2728
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
2729
|
+
which is coercible to the Boolean value false, or until the end of the array.
|
|
2730
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
2731
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"every",required:!0,type:{name:"{ <S extends IntlFormattedTimeProps>(predicate: (value: IntlFormattedTimeProps, index: number, array: IntlFormattedTimeProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: IntlFormattedTimeProps, index: number, array: IntlFormattedTimeProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:`Determines whether the specified callback function returns true for any element of an array.
|
|
2732
|
+
@param predicate A function that accepts up to three arguments. The some method calls
|
|
2733
|
+
the predicate function for each element in the array until the predicate returns a value
|
|
2734
|
+
which is coercible to the Boolean value true, or until the end of the array.
|
|
2735
|
+
@param thisArg An object to which the this keyword can refer in the predicate function.
|
|
2736
|
+
If thisArg is omitted, undefined is used as the this value.`,name:"some",required:!0,type:{name:"(predicate: (value: IntlFormattedTimeProps, index: number, array: IntlFormattedTimeProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:`Performs the specified action for each element in an array.
|
|
2737
|
+
@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
|
|
2738
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"forEach",required:!0,type:{name:"(callbackfn: (value: IntlFormattedTimeProps, index: number, array: IntlFormattedTimeProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:`Calls a defined callback function on each element of an array, and returns an array that contains the results.
|
|
2739
|
+
@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
|
|
2740
|
+
@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.`,name:"map",required:!0,type:{name:"<U>(callbackfn: (value: IntlFormattedTimeProps, index: number, array: IntlFormattedTimeProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:`Returns the elements of an array that meet the condition specified in a callback function.
|
|
2741
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
2742
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
2743
|
+
@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
2744
|
+
@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.`,name:"filter",required:!0,type:{name:"{ <S extends IntlFormattedTimeProps>(predicate: (value: IntlFormattedTimeProps, index: number, array: IntlFormattedTimeProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: IntlFormattedTimeProps, index: number, array: IntlFormattedTimeProps[]) => unknown, thisArg?: any): IntlFormattedTimeProps[]; }"}},reduce:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
2745
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
2746
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
2747
|
+
@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
|
|
2748
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedTimeProps, currentValue: IntlFormattedTimeProps, currentIndex: number, array: IntlFormattedTimeProps[]) => IntlFormattedTimeProps): IntlFormattedTimeProps; (callbackfn: (previousValue: IntlFormattedTimeProps, currentValue: IntlFormattedTimeProps, currentIndex: number, arra..."}},reduceRight:{defaultValue:null,description:`Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
|
|
2749
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
2750
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
|
|
2751
|
+
@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
|
|
2752
|
+
@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.`,name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: IntlFormattedTimeProps, currentValue: IntlFormattedTimeProps, currentIndex: number, array: IntlFormattedTimeProps[]) => IntlFormattedTimeProps): IntlFormattedTimeProps; (callbackfn: (previousValue: IntlFormattedTimeProps, currentValue: IntlFormattedTimeProps, currentIndex: number, arra..."}},find:{defaultValue:null,description:`Returns the value of the first element in the array where predicate is true, and undefined
|
|
2753
|
+
otherwise.
|
|
2754
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
2755
|
+
order, until it finds one where predicate returns true. If such an element is found, find
|
|
2756
|
+
immediately returns that element value. Otherwise, find returns undefined.
|
|
2757
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2758
|
+
predicate. If it is not provided, undefined is used instead.`,name:"find",required:!0,type:{name:"{ <S extends IntlFormattedTimeProps>(predicate: (value: IntlFormattedTimeProps, index: number, obj: IntlFormattedTimeProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedTimeProps, index: number, obj: IntlFormattedTimeProps[]) => unknown, thisArg?: any): IntlFormattedTimeProps | un..."}},findIndex:{defaultValue:null,description:`Returns the index of the first element in the array where predicate is true, and -1
|
|
2759
|
+
otherwise.
|
|
2760
|
+
@param predicate find calls predicate once for each element of the array, in ascending
|
|
2761
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
2762
|
+
findIndex immediately returns that element index. Otherwise, findIndex returns -1.
|
|
2763
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2764
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedTimeProps, index: number, obj: IntlFormattedTimeProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: IntlFormattedTimeProps, start?: number | undefined, end?: number | undefined) => [IntlFormattedTimeProps]"}},copyWithin:{defaultValue:null,description:`Returns the this object after copying a section of the array identified by start and end
|
|
2765
|
+
to the same array starting at position target
|
|
2766
|
+
@param target If target is negative, it is treated as length+target where length is the
|
|
2767
|
+
length of the array.
|
|
2768
|
+
@param start If start is negative, it is treated as length+start. If end is negative, it
|
|
2769
|
+
is treated as length+end.
|
|
2770
|
+
@param end If not specified, length of the this object is used as its default value.`,name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => [IntlFormattedTimeProps]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, IntlFormattedTimeProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<IntlFormattedTimeProps>"}},includes:{defaultValue:null,description:`Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
2771
|
+
@param searchElement The element to search for.
|
|
2772
|
+
@param fromIndex The position in this array at which to begin searching for searchElement.`,name:"includes",required:!0,type:{name:"(searchElement: IntlFormattedTimeProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:`Calls a defined callback function on each element of an array. Then, flattens the result into
|
|
2773
|
+
a new array.
|
|
2774
|
+
This is identical to a map followed by flat with depth 1.
|
|
2775
|
+
@param callback A function that accepts up to three arguments. The flatMap method calls the
|
|
2776
|
+
callback function one time for each element in the array.
|
|
2777
|
+
@param thisArg An object to which the this keyword can refer in the callback function. If
|
|
2778
|
+
thisArg is omitted, undefined is used as the this value.`,name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: IntlFormattedTimeProps, index: number, array: IntlFormattedTimeProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:`Returns a new array with all sub-array elements concatenated into it recursively up to the
|
|
2779
|
+
specified depth.
|
|
2780
|
+
@param depth The maximum recursion depth`,name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},at:{defaultValue:null,description:`Returns the item located at the specified index.
|
|
2781
|
+
@param index The zero-based index of the desired code unit. A negative index will count back from the last item.`,name:"at",required:!0,type:{name:"(index: number) => IntlFormattedTimeProps | undefined"}},findLast:{defaultValue:null,description:`Returns the value of the last element in the array where predicate is true, and undefined
|
|
2782
|
+
otherwise.
|
|
2783
|
+
@param predicate findLast calls predicate once for each element of the array, in descending
|
|
2784
|
+
order, until it finds one where predicate returns true. If such an element is found, findLast
|
|
2785
|
+
immediately returns that element value. Otherwise, findLast returns undefined.
|
|
2786
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2787
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLast",required:!0,type:{name:"{ <S extends IntlFormattedTimeProps>(predicate: (value: IntlFormattedTimeProps, index: number, array: IntlFormattedTimeProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: IntlFormattedTimeProps, index: number, array: IntlFormattedTimeProps[]) => unknown, thisArg?: any): IntlFormattedTimeProps ..."}},findLastIndex:{defaultValue:null,description:`Returns the index of the last element in the array where predicate is true, and -1
|
|
2788
|
+
otherwise.
|
|
2789
|
+
@param predicate findLastIndex calls predicate once for each element of the array, in descending
|
|
2790
|
+
order, until it finds one where predicate returns true. If such an element is found,
|
|
2791
|
+
findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
|
|
2792
|
+
@param thisArg If provided, it will be used as the this value for each invocation of
|
|
2793
|
+
predicate. If it is not provided, undefined is used instead.`,name:"findLastIndex",required:!0,type:{name:"(predicate: (value: IntlFormattedTimeProps, index: number, array: IntlFormattedTimeProps[]) => unknown, thisArg?: any) => number"}},toReversed:{defaultValue:null,description:"Returns a copy of an array with its elements reversed.",name:"toReversed",required:!0,type:{name:"() => IntlFormattedTimeProps[]"}},toSorted:{defaultValue:null,description:"Returns a copy of an array with its elements sorted.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n```",name:"toSorted",required:!0,type:{name:"(compareFn?: ((a: IntlFormattedTimeProps, b: IntlFormattedTimeProps) => number) | undefined) => IntlFormattedTimeProps[]"}},toSpliced:{defaultValue:null,description:`Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
|
|
2794
|
+
Copies an array and removes elements while returning the remaining elements.
|
|
2795
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2796
|
+
@param deleteCount The number of elements to remove.
|
|
2797
|
+
@param items Elements to insert into the copied array in place of the deleted elements.
|
|
2798
|
+
@returns The copied array.
|
|
2799
|
+
@param start The zero-based location in the array from which to start removing elements.
|
|
2800
|
+
@param deleteCount The number of elements to remove.
|
|
2801
|
+
@returns A copy of the original array with the remaining elements.`,name:"toSpliced",required:!0,type:{name:"{ (start: number, deleteCount: number, ...items: IntlFormattedTimeProps[]): IntlFormattedTimeProps[]; (start: number, deleteCount?: number | undefined): IntlFormattedTimeProps[]; }"}},with:{defaultValue:null,description:`Copies an array, then overwrites the value at the provided index with the
|
|
2802
|
+
given value. If the index is negative, then it replaces from the end
|
|
2803
|
+
of the array.
|
|
2804
|
+
@param index The index of the value to overwrite. If the index is
|
|
2805
|
+
negative, then it replaces from the end of the array.
|
|
2806
|
+
@param value The value to write into the copied array.
|
|
2807
|
+
@returns The copied array with the updated value.`,name:"with",required:!0,type:{name:"(index: number, value: IntlFormattedTimeProps) => IntlFormattedTimeProps[]"}},"__@iterator@407":{defaultValue:null,description:"Iterator",name:"__@iterator@407",required:!0,type:{name:"() => IterableIterator<IntlFormattedTimeProps>"}},"__@unscopables@554":{defaultValue:null,description:`Is an object whose properties have the value 'true'
|
|
2808
|
+
when they will be absent when used in a 'with' statement.`,name:"__@unscopables@554",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 35 more ...; readonly [Symbol.unscopables]?: boolean | undefined; }"}}}}}catch{}const ua={en:"en",de:"de",es:"es",fr:"fr",it:"it",pl:"pl",pt:"pt",ua:"uk",ru:"ru",tr:"tr",ar:"ar",ko:"ko",ja:"ja",zh:"zh",th:"th",sv:"sv",nl:"nl",ro:"ro",id:"id",cs:"cs",tw:"zh-TW",hk:"zh-HK"},ma=["en","es","fr","de","it","ua","pl","pt","tr","id","zh","ja","ko","ar","nl","ro","ru","sv","th","cs","tw","hk"],ha=[{Formatter:b.DayShort,labels:["DayShort","formatDayShort"],tags:["✅ not-in-text","🚫 in-text"]},{Formatter:b.MonthShort,labels:["MonthShort","formatMonthShort"],tags:["✅ all-usages"]},{Formatter:b.MonthYearShort,labels:["MonthYearShort","formatMonthYearShort"],tags:["✅ all-usages"]},{Formatter:b.DateShort,labels:["DateShort","formatDateShort"],tags:["✅ all-usages"]},{Formatter:b.DateYearShort,labels:["DateYearShort","formatDateYearShort"],tags:["✅ all-usages"]},{Formatter:b.DayDateShort,labels:["DayDateShort","formatDayDateShort"],tags:["✅ all-usages"]},{Formatter:b.DayDateYearShort,labels:["DayDateYearShort","formatDayDateYearShort"],tags:["✅ all-usages"]},{Formatter:b.DateRangeShort,extraData:{defaultDurationHours:24},labels:["DateRangeShort","formatDateRangeShort"],tags:["✅ all-usages"]},{Formatter:b.DateRangeYearShort,extraData:{defaultDurationHours:24},labels:["DateRangeYearShort","formatDateRangeYearShort"],tags:["✅ all-usages"]},{Formatter:b.RelativeDay,labels:["RelativeDay","formatRelativeDay"],tags:["✅ all-usages"]},{Formatter:b.RelativeDayDateShort,labels:["RelativeDayDateShort","formatRelativeDayDateShort"],tags:["✅ all-usages"]},{Formatter:b.DayDateNumberShort,labels:["DayDateNumberShort","formatDayDateNumberShort"],tags:["✅ not-in-text","🚫 in-text"]}],ca=[{Formatter:b.DayFull,labels:["DayFull","formatDayFull"],tags:["✅ all-usages"]},{Formatter:b.MonthFull,labels:["MonthFull","formatMonthFull"],tags:["✅ all-usages"]},{Formatter:b.MonthYearFull,labels:["MonthYearFull","formatMonthYearFull"],tags:["✅ not-in-text","🚫 in-text"]},{Formatter:b.DateFull,labels:["DateFull","formatDateFull"],tags:["✅ not-in-text","🚫 in-text"]},{Formatter:b.DateYearFull,labels:["DateYearFull","formatDateYearFull"],tags:["✅ not-in-text","🚫 in-text"]},{Formatter:b.DayDateFull,labels:["DayDateFull","formatDayDateFull"],tags:["✅ not-in-text","🚫 in-text"]},{Formatter:b.DayDateYearFull,labels:["DayDateYearFull","formatDayDateYearFull"],tags:["✅ not-in-text","🚫 in-text"]},{Formatter:b.DateRangeFull,labels:["DateRangeFull","formatDateRangeFull"],extraData:{defaultDurationHours:24},tags:["✅ not-in-text","🚫 in-text"]},{Formatter:b.EveryWeekDayFull,labels:["EveryWeekDayFull","formatEveryWeekDayFull"],tags:["✅ all-usages"]}],fa=[{Formatter:Oe.Time,labels:["Time","formatTime"],tags:["✅ all-usages"]},{Formatter:Oe.TimeRange,labels:["TimeRange","formatTimeRange"],tags:["✅ all-usages"]}];export{It as C,da as I,Ne as L,Re as T,p as W,la as a,We as b,Ce as c,_e as d,Le as e,Ee as f,xt as g,pt as h,ha as i,ca as j,yt as k,ma as l,je as m,g as n,Ye as o,fa as t,ua as u};
|