@formatjs/intl-relativetimeformat 11.0.1 → 11.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/BUILD +825 -0
- package/CHANGELOG.md +913 -0
- package/LICENSE.md +0 -0
- package/README.md +0 -0
- package/abstract/FormatRelativeTime.ts +18 -0
- package/abstract/FormatRelativeTimeToParts.ts +29 -0
- package/abstract/InitializeRelativeTimeFormat.ts +89 -0
- package/abstract/MakePartsList.ts +28 -0
- package/abstract/PartitionRelativeTimePattern.ts +81 -0
- package/abstract/SingularRelativeTimeUnit.ts +36 -0
- package/get_internal_slots.ts +20 -0
- package/index.ts +151 -0
- package/package.json +9 -4
- package/polyfill-force.ts +7 -0
- package/polyfill.ts +10 -0
- package/scripts/cldr-raw.ts +21 -0
- package/scripts/cldr.ts +29 -0
- package/scripts/extract-relative.ts +132 -0
- package/scripts/test-locale-data-gen.ts +18 -0
- package/scripts/test262-main-gen.ts +28 -0
- package/should-polyfill.ts +36 -0
- package/supported-locales.generated.ts +1 -0
- package/test262-main.ts +1148 -0
- package/tests/index.test.ts +32 -0
- package/tests/locale-data/en-AI.json +1 -0
- package/tests/locale-data/en.json +1 -0
- package/tests/locale-data/zh-Hans.json +1 -0
- package/tests/locale-data/zh-Hant.json +1 -0
- package/tests/locale-data/zh.json +1 -0
- package/tests/supported-locales-of.test.ts +25 -0
- package/tsconfig.json +5 -0
- package/abstract/FormatRelativeTime.d.ts +0 -5
- package/abstract/FormatRelativeTime.d.ts.map +0 -1
- package/abstract/FormatRelativeTime.js +0 -14
- package/abstract/FormatRelativeTimeToParts.d.ts +0 -5
- package/abstract/FormatRelativeTimeToParts.d.ts.map +0 -1
- package/abstract/FormatRelativeTimeToParts.js +0 -22
- package/abstract/InitializeRelativeTimeFormat.d.ts +0 -9
- package/abstract/InitializeRelativeTimeFormat.d.ts.map +0 -1
- package/abstract/InitializeRelativeTimeFormat.js +0 -38
- package/abstract/MakePartsList.d.ts +0 -2
- package/abstract/MakePartsList.d.ts.map +0 -1
- package/abstract/MakePartsList.js +0 -30
- package/abstract/PartitionRelativeTimePattern.d.ts +0 -5
- package/abstract/PartitionRelativeTimePattern.d.ts.map +0 -1
- package/abstract/PartitionRelativeTimePattern.js +0 -57
- package/abstract/SingularRelativeTimeUnit.d.ts +0 -7
- package/abstract/SingularRelativeTimeUnit.d.ts.map +0 -1
- package/abstract/SingularRelativeTimeUnit.js +0 -39
- package/get_internal_slots.d.ts +0 -3
- package/get_internal_slots.d.ts.map +0 -1
- package/get_internal_slots.js +0 -14
- package/index.d.ts +0 -16
- package/index.d.ts.map +0 -1
- package/index.js +0 -123
- package/lib/abstract/FormatRelativeTime.d.ts +0 -5
- package/lib/abstract/FormatRelativeTime.d.ts.map +0 -1
- package/lib/abstract/FormatRelativeTime.js +0 -10
- package/lib/abstract/FormatRelativeTimeToParts.d.ts +0 -5
- package/lib/abstract/FormatRelativeTimeToParts.d.ts.map +0 -1
- package/lib/abstract/FormatRelativeTimeToParts.js +0 -18
- package/lib/abstract/InitializeRelativeTimeFormat.d.ts +0 -9
- package/lib/abstract/InitializeRelativeTimeFormat.d.ts.map +0 -1
- package/lib/abstract/InitializeRelativeTimeFormat.js +0 -34
- package/lib/abstract/MakePartsList.d.ts +0 -2
- package/lib/abstract/MakePartsList.d.ts.map +0 -1
- package/lib/abstract/MakePartsList.js +0 -26
- package/lib/abstract/PartitionRelativeTimePattern.d.ts +0 -5
- package/lib/abstract/PartitionRelativeTimePattern.d.ts.map +0 -1
- package/lib/abstract/PartitionRelativeTimePattern.js +0 -53
- package/lib/abstract/SingularRelativeTimeUnit.d.ts +0 -7
- package/lib/abstract/SingularRelativeTimeUnit.d.ts.map +0 -1
- package/lib/abstract/SingularRelativeTimeUnit.js +0 -35
- package/lib/get_internal_slots.d.ts +0 -3
- package/lib/get_internal_slots.d.ts.map +0 -1
- package/lib/get_internal_slots.js +0 -11
- package/lib/index.d.ts +0 -16
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js +0 -120
- package/lib/polyfill-force.d.ts +0 -2
- package/lib/polyfill-force.d.ts.map +0 -1
- package/lib/polyfill-force.js +0 -7
- package/lib/polyfill.d.ts +0 -2
- package/lib/polyfill.d.ts.map +0 -1
- package/lib/polyfill.js +0 -10
- package/lib/should-polyfill.d.ts +0 -2
- package/lib/should-polyfill.d.ts.map +0 -1
- package/lib/should-polyfill.js +0 -29
- package/lib/supported-locales.d.ts +0 -2
- package/lib/supported-locales.d.ts.map +0 -1
- package/lib/supported-locales.js +0 -2
- package/locale-data/af-NA.d.ts +0 -1
- package/locale-data/af-NA.js +0 -6
- package/locale-data/af.d.ts +0 -1
- package/locale-data/af.js +0 -6
- package/locale-data/agq.d.ts +0 -1
- package/locale-data/agq.js +0 -6
- package/locale-data/ak.d.ts +0 -1
- package/locale-data/ak.js +0 -6
- package/locale-data/am.d.ts +0 -1
- package/locale-data/am.js +0 -6
- package/locale-data/ar-AE.d.ts +0 -1
- package/locale-data/ar-AE.js +0 -6
- package/locale-data/ar-BH.d.ts +0 -1
- package/locale-data/ar-BH.js +0 -6
- package/locale-data/ar-DJ.d.ts +0 -1
- package/locale-data/ar-DJ.js +0 -6
- package/locale-data/ar-DZ.d.ts +0 -1
- package/locale-data/ar-DZ.js +0 -6
- package/locale-data/ar-EG.d.ts +0 -1
- package/locale-data/ar-EG.js +0 -6
- package/locale-data/ar-EH.d.ts +0 -1
- package/locale-data/ar-EH.js +0 -6
- package/locale-data/ar-ER.d.ts +0 -1
- package/locale-data/ar-ER.js +0 -6
- package/locale-data/ar-IL.d.ts +0 -1
- package/locale-data/ar-IL.js +0 -6
- package/locale-data/ar-IQ.d.ts +0 -1
- package/locale-data/ar-IQ.js +0 -6
- package/locale-data/ar-JO.d.ts +0 -1
- package/locale-data/ar-JO.js +0 -6
- package/locale-data/ar-KM.d.ts +0 -1
- package/locale-data/ar-KM.js +0 -6
- package/locale-data/ar-KW.d.ts +0 -1
- package/locale-data/ar-KW.js +0 -6
- package/locale-data/ar-LB.d.ts +0 -1
- package/locale-data/ar-LB.js +0 -6
- package/locale-data/ar-LY.d.ts +0 -1
- package/locale-data/ar-LY.js +0 -6
- package/locale-data/ar-MA.d.ts +0 -1
- package/locale-data/ar-MA.js +0 -6
- package/locale-data/ar-MR.d.ts +0 -1
- package/locale-data/ar-MR.js +0 -6
- package/locale-data/ar-OM.d.ts +0 -1
- package/locale-data/ar-OM.js +0 -6
- package/locale-data/ar-PS.d.ts +0 -1
- package/locale-data/ar-PS.js +0 -6
- package/locale-data/ar-QA.d.ts +0 -1
- package/locale-data/ar-QA.js +0 -6
- package/locale-data/ar-SA.d.ts +0 -1
- package/locale-data/ar-SA.js +0 -6
- package/locale-data/ar-SD.d.ts +0 -1
- package/locale-data/ar-SD.js +0 -6
- package/locale-data/ar-SO.d.ts +0 -1
- package/locale-data/ar-SO.js +0 -6
- package/locale-data/ar-SS.d.ts +0 -1
- package/locale-data/ar-SS.js +0 -6
- package/locale-data/ar-SY.d.ts +0 -1
- package/locale-data/ar-SY.js +0 -6
- package/locale-data/ar-TD.d.ts +0 -1
- package/locale-data/ar-TD.js +0 -6
- package/locale-data/ar-TN.d.ts +0 -1
- package/locale-data/ar-TN.js +0 -6
- package/locale-data/ar-YE.d.ts +0 -1
- package/locale-data/ar-YE.js +0 -6
- package/locale-data/ar.d.ts +0 -1
- package/locale-data/ar.js +0 -6
- package/locale-data/as.d.ts +0 -1
- package/locale-data/as.js +0 -6
- package/locale-data/asa.d.ts +0 -1
- package/locale-data/asa.js +0 -6
- package/locale-data/ast.d.ts +0 -1
- package/locale-data/ast.js +0 -6
- package/locale-data/az-Cyrl.d.ts +0 -1
- package/locale-data/az-Cyrl.js +0 -6
- package/locale-data/az-Latn.d.ts +0 -1
- package/locale-data/az-Latn.js +0 -6
- package/locale-data/az.d.ts +0 -1
- package/locale-data/az.js +0 -6
- package/locale-data/bas.d.ts +0 -1
- package/locale-data/bas.js +0 -6
- package/locale-data/be-tarask.d.ts +0 -1
- package/locale-data/be-tarask.js +0 -6
- package/locale-data/be.d.ts +0 -1
- package/locale-data/be.js +0 -6
- package/locale-data/bem.d.ts +0 -1
- package/locale-data/bem.js +0 -6
- package/locale-data/bez.d.ts +0 -1
- package/locale-data/bez.js +0 -6
- package/locale-data/bg.d.ts +0 -1
- package/locale-data/bg.js +0 -6
- package/locale-data/bm.d.ts +0 -1
- package/locale-data/bm.js +0 -6
- package/locale-data/bn-IN.d.ts +0 -1
- package/locale-data/bn-IN.js +0 -6
- package/locale-data/bn.d.ts +0 -1
- package/locale-data/bn.js +0 -6
- package/locale-data/bo-IN.d.ts +0 -1
- package/locale-data/bo-IN.js +0 -6
- package/locale-data/bo.d.ts +0 -1
- package/locale-data/bo.js +0 -6
- package/locale-data/br.d.ts +0 -1
- package/locale-data/br.js +0 -6
- package/locale-data/brx.d.ts +0 -1
- package/locale-data/brx.js +0 -6
- package/locale-data/bs-Cyrl.d.ts +0 -1
- package/locale-data/bs-Cyrl.js +0 -6
- package/locale-data/bs-Latn.d.ts +0 -1
- package/locale-data/bs-Latn.js +0 -6
- package/locale-data/bs.d.ts +0 -1
- package/locale-data/bs.js +0 -6
- package/locale-data/ca-AD.d.ts +0 -1
- package/locale-data/ca-AD.js +0 -6
- package/locale-data/ca-ES-valencia.d.ts +0 -1
- package/locale-data/ca-ES-valencia.js +0 -6
- package/locale-data/ca-FR.d.ts +0 -1
- package/locale-data/ca-FR.js +0 -6
- package/locale-data/ca-IT.d.ts +0 -1
- package/locale-data/ca-IT.js +0 -6
- package/locale-data/ca.d.ts +0 -1
- package/locale-data/ca.js +0 -6
- package/locale-data/ccp-IN.d.ts +0 -1
- package/locale-data/ccp-IN.js +0 -6
- package/locale-data/ccp.d.ts +0 -1
- package/locale-data/ccp.js +0 -6
- package/locale-data/ce.d.ts +0 -1
- package/locale-data/ce.js +0 -6
- package/locale-data/ceb.d.ts +0 -1
- package/locale-data/ceb.js +0 -6
- package/locale-data/cgg.d.ts +0 -1
- package/locale-data/cgg.js +0 -6
- package/locale-data/chr.d.ts +0 -1
- package/locale-data/chr.js +0 -6
- package/locale-data/ckb-IR.d.ts +0 -1
- package/locale-data/ckb-IR.js +0 -6
- package/locale-data/ckb.d.ts +0 -1
- package/locale-data/ckb.js +0 -6
- package/locale-data/cs.d.ts +0 -1
- package/locale-data/cs.js +0 -6
- package/locale-data/cy.d.ts +0 -1
- package/locale-data/cy.js +0 -6
- package/locale-data/da-GL.d.ts +0 -1
- package/locale-data/da-GL.js +0 -6
- package/locale-data/da.d.ts +0 -1
- package/locale-data/da.js +0 -6
- package/locale-data/dav.d.ts +0 -1
- package/locale-data/dav.js +0 -6
- package/locale-data/de-AT.d.ts +0 -1
- package/locale-data/de-AT.js +0 -6
- package/locale-data/de-BE.d.ts +0 -1
- package/locale-data/de-BE.js +0 -6
- package/locale-data/de-CH.d.ts +0 -1
- package/locale-data/de-CH.js +0 -6
- package/locale-data/de-IT.d.ts +0 -1
- package/locale-data/de-IT.js +0 -6
- package/locale-data/de-LI.d.ts +0 -1
- package/locale-data/de-LI.js +0 -6
- package/locale-data/de-LU.d.ts +0 -1
- package/locale-data/de-LU.js +0 -6
- package/locale-data/de.d.ts +0 -1
- package/locale-data/de.js +0 -6
- package/locale-data/dje.d.ts +0 -1
- package/locale-data/dje.js +0 -6
- package/locale-data/doi.d.ts +0 -1
- package/locale-data/doi.js +0 -6
- package/locale-data/dsb.d.ts +0 -1
- package/locale-data/dsb.js +0 -6
- package/locale-data/dua.d.ts +0 -1
- package/locale-data/dua.js +0 -6
- package/locale-data/dyo.d.ts +0 -1
- package/locale-data/dyo.js +0 -6
- package/locale-data/dz.d.ts +0 -1
- package/locale-data/dz.js +0 -6
- package/locale-data/ebu.d.ts +0 -1
- package/locale-data/ebu.js +0 -6
- package/locale-data/ee-TG.d.ts +0 -1
- package/locale-data/ee-TG.js +0 -6
- package/locale-data/ee.d.ts +0 -1
- package/locale-data/ee.js +0 -6
- package/locale-data/el-CY.d.ts +0 -1
- package/locale-data/el-CY.js +0 -6
- package/locale-data/el.d.ts +0 -1
- package/locale-data/el.js +0 -6
- package/locale-data/en-001.d.ts +0 -1
- package/locale-data/en-001.js +0 -6
- package/locale-data/en-150.d.ts +0 -1
- package/locale-data/en-150.js +0 -6
- package/locale-data/en-AE.d.ts +0 -1
- package/locale-data/en-AE.js +0 -6
- package/locale-data/en-AG.d.ts +0 -1
- package/locale-data/en-AG.js +0 -6
- package/locale-data/en-AI.d.ts +0 -1
- package/locale-data/en-AI.js +0 -6
- package/locale-data/en-AS.d.ts +0 -1
- package/locale-data/en-AS.js +0 -6
- package/locale-data/en-AT.d.ts +0 -1
- package/locale-data/en-AT.js +0 -6
- package/locale-data/en-AU.d.ts +0 -1
- package/locale-data/en-AU.js +0 -6
- package/locale-data/en-BB.d.ts +0 -1
- package/locale-data/en-BB.js +0 -6
- package/locale-data/en-BE.d.ts +0 -1
- package/locale-data/en-BE.js +0 -6
- package/locale-data/en-BI.d.ts +0 -1
- package/locale-data/en-BI.js +0 -6
- package/locale-data/en-BM.d.ts +0 -1
- package/locale-data/en-BM.js +0 -6
- package/locale-data/en-BS.d.ts +0 -1
- package/locale-data/en-BS.js +0 -6
- package/locale-data/en-BW.d.ts +0 -1
- package/locale-data/en-BW.js +0 -6
- package/locale-data/en-BZ.d.ts +0 -1
- package/locale-data/en-BZ.js +0 -6
- package/locale-data/en-CA.d.ts +0 -1
- package/locale-data/en-CA.js +0 -6
- package/locale-data/en-CC.d.ts +0 -1
- package/locale-data/en-CC.js +0 -6
- package/locale-data/en-CH.d.ts +0 -1
- package/locale-data/en-CH.js +0 -6
- package/locale-data/en-CK.d.ts +0 -1
- package/locale-data/en-CK.js +0 -6
- package/locale-data/en-CM.d.ts +0 -1
- package/locale-data/en-CM.js +0 -6
- package/locale-data/en-CX.d.ts +0 -1
- package/locale-data/en-CX.js +0 -6
- package/locale-data/en-CY.d.ts +0 -1
- package/locale-data/en-CY.js +0 -6
- package/locale-data/en-DE.d.ts +0 -1
- package/locale-data/en-DE.js +0 -6
- package/locale-data/en-DG.d.ts +0 -1
- package/locale-data/en-DG.js +0 -6
- package/locale-data/en-DK.d.ts +0 -1
- package/locale-data/en-DK.js +0 -6
- package/locale-data/en-DM.d.ts +0 -1
- package/locale-data/en-DM.js +0 -6
- package/locale-data/en-ER.d.ts +0 -1
- package/locale-data/en-ER.js +0 -6
- package/locale-data/en-FI.d.ts +0 -1
- package/locale-data/en-FI.js +0 -6
- package/locale-data/en-FJ.d.ts +0 -1
- package/locale-data/en-FJ.js +0 -6
- package/locale-data/en-FK.d.ts +0 -1
- package/locale-data/en-FK.js +0 -6
- package/locale-data/en-FM.d.ts +0 -1
- package/locale-data/en-FM.js +0 -6
- package/locale-data/en-GB.d.ts +0 -1
- package/locale-data/en-GB.js +0 -6
- package/locale-data/en-GD.d.ts +0 -1
- package/locale-data/en-GD.js +0 -6
- package/locale-data/en-GG.d.ts +0 -1
- package/locale-data/en-GG.js +0 -6
- package/locale-data/en-GH.d.ts +0 -1
- package/locale-data/en-GH.js +0 -6
- package/locale-data/en-GI.d.ts +0 -1
- package/locale-data/en-GI.js +0 -6
- package/locale-data/en-GM.d.ts +0 -1
- package/locale-data/en-GM.js +0 -6
- package/locale-data/en-GU.d.ts +0 -1
- package/locale-data/en-GU.js +0 -6
- package/locale-data/en-GY.d.ts +0 -1
- package/locale-data/en-GY.js +0 -6
- package/locale-data/en-HK.d.ts +0 -1
- package/locale-data/en-HK.js +0 -6
- package/locale-data/en-IE.d.ts +0 -1
- package/locale-data/en-IE.js +0 -6
- package/locale-data/en-IL.d.ts +0 -1
- package/locale-data/en-IL.js +0 -6
- package/locale-data/en-IM.d.ts +0 -1
- package/locale-data/en-IM.js +0 -6
- package/locale-data/en-IN.d.ts +0 -1
- package/locale-data/en-IN.js +0 -6
- package/locale-data/en-IO.d.ts +0 -1
- package/locale-data/en-IO.js +0 -6
- package/locale-data/en-JE.d.ts +0 -1
- package/locale-data/en-JE.js +0 -6
- package/locale-data/en-JM.d.ts +0 -1
- package/locale-data/en-JM.js +0 -6
- package/locale-data/en-KE.d.ts +0 -1
- package/locale-data/en-KE.js +0 -6
- package/locale-data/en-KI.d.ts +0 -1
- package/locale-data/en-KI.js +0 -6
- package/locale-data/en-KN.d.ts +0 -1
- package/locale-data/en-KN.js +0 -6
- package/locale-data/en-KY.d.ts +0 -1
- package/locale-data/en-KY.js +0 -6
- package/locale-data/en-LC.d.ts +0 -1
- package/locale-data/en-LC.js +0 -6
- package/locale-data/en-LR.d.ts +0 -1
- package/locale-data/en-LR.js +0 -6
- package/locale-data/en-LS.d.ts +0 -1
- package/locale-data/en-LS.js +0 -6
- package/locale-data/en-MG.d.ts +0 -1
- package/locale-data/en-MG.js +0 -6
- package/locale-data/en-MH.d.ts +0 -1
- package/locale-data/en-MH.js +0 -6
- package/locale-data/en-MO.d.ts +0 -1
- package/locale-data/en-MO.js +0 -6
- package/locale-data/en-MP.d.ts +0 -1
- package/locale-data/en-MP.js +0 -6
- package/locale-data/en-MS.d.ts +0 -1
- package/locale-data/en-MS.js +0 -6
- package/locale-data/en-MT.d.ts +0 -1
- package/locale-data/en-MT.js +0 -6
- package/locale-data/en-MU.d.ts +0 -1
- package/locale-data/en-MU.js +0 -6
- package/locale-data/en-MW.d.ts +0 -1
- package/locale-data/en-MW.js +0 -6
- package/locale-data/en-MY.d.ts +0 -1
- package/locale-data/en-MY.js +0 -6
- package/locale-data/en-NA.d.ts +0 -1
- package/locale-data/en-NA.js +0 -6
- package/locale-data/en-NF.d.ts +0 -1
- package/locale-data/en-NF.js +0 -6
- package/locale-data/en-NG.d.ts +0 -1
- package/locale-data/en-NG.js +0 -6
- package/locale-data/en-NL.d.ts +0 -1
- package/locale-data/en-NL.js +0 -6
- package/locale-data/en-NR.d.ts +0 -1
- package/locale-data/en-NR.js +0 -6
- package/locale-data/en-NU.d.ts +0 -1
- package/locale-data/en-NU.js +0 -6
- package/locale-data/en-NZ.d.ts +0 -1
- package/locale-data/en-NZ.js +0 -6
- package/locale-data/en-PG.d.ts +0 -1
- package/locale-data/en-PG.js +0 -6
- package/locale-data/en-PH.d.ts +0 -1
- package/locale-data/en-PH.js +0 -6
- package/locale-data/en-PK.d.ts +0 -1
- package/locale-data/en-PK.js +0 -6
- package/locale-data/en-PN.d.ts +0 -1
- package/locale-data/en-PN.js +0 -6
- package/locale-data/en-PR.d.ts +0 -1
- package/locale-data/en-PR.js +0 -6
- package/locale-data/en-PW.d.ts +0 -1
- package/locale-data/en-PW.js +0 -6
- package/locale-data/en-RW.d.ts +0 -1
- package/locale-data/en-RW.js +0 -6
- package/locale-data/en-SB.d.ts +0 -1
- package/locale-data/en-SB.js +0 -6
- package/locale-data/en-SC.d.ts +0 -1
- package/locale-data/en-SC.js +0 -6
- package/locale-data/en-SD.d.ts +0 -1
- package/locale-data/en-SD.js +0 -6
- package/locale-data/en-SE.d.ts +0 -1
- package/locale-data/en-SE.js +0 -6
- package/locale-data/en-SG.d.ts +0 -1
- package/locale-data/en-SG.js +0 -6
- package/locale-data/en-SH.d.ts +0 -1
- package/locale-data/en-SH.js +0 -6
- package/locale-data/en-SI.d.ts +0 -1
- package/locale-data/en-SI.js +0 -6
- package/locale-data/en-SL.d.ts +0 -1
- package/locale-data/en-SL.js +0 -6
- package/locale-data/en-SS.d.ts +0 -1
- package/locale-data/en-SS.js +0 -6
- package/locale-data/en-SX.d.ts +0 -1
- package/locale-data/en-SX.js +0 -6
- package/locale-data/en-SZ.d.ts +0 -1
- package/locale-data/en-SZ.js +0 -6
- package/locale-data/en-TC.d.ts +0 -1
- package/locale-data/en-TC.js +0 -6
- package/locale-data/en-TK.d.ts +0 -1
- package/locale-data/en-TK.js +0 -6
- package/locale-data/en-TO.d.ts +0 -1
- package/locale-data/en-TO.js +0 -6
- package/locale-data/en-TT.d.ts +0 -1
- package/locale-data/en-TT.js +0 -6
- package/locale-data/en-TV.d.ts +0 -1
- package/locale-data/en-TV.js +0 -6
- package/locale-data/en-TZ.d.ts +0 -1
- package/locale-data/en-TZ.js +0 -6
- package/locale-data/en-UG.d.ts +0 -1
- package/locale-data/en-UG.js +0 -6
- package/locale-data/en-UM.d.ts +0 -1
- package/locale-data/en-UM.js +0 -6
- package/locale-data/en-VC.d.ts +0 -1
- package/locale-data/en-VC.js +0 -6
- package/locale-data/en-VG.d.ts +0 -1
- package/locale-data/en-VG.js +0 -6
- package/locale-data/en-VI.d.ts +0 -1
- package/locale-data/en-VI.js +0 -6
- package/locale-data/en-VU.d.ts +0 -1
- package/locale-data/en-VU.js +0 -6
- package/locale-data/en-WS.d.ts +0 -1
- package/locale-data/en-WS.js +0 -6
- package/locale-data/en-ZA.d.ts +0 -1
- package/locale-data/en-ZA.js +0 -6
- package/locale-data/en-ZM.d.ts +0 -1
- package/locale-data/en-ZM.js +0 -6
- package/locale-data/en-ZW.d.ts +0 -1
- package/locale-data/en-ZW.js +0 -6
- package/locale-data/en.d.ts +0 -1
- package/locale-data/en.js +0 -6
- package/locale-data/eo.d.ts +0 -1
- package/locale-data/eo.js +0 -6
- package/locale-data/es-419.d.ts +0 -1
- package/locale-data/es-419.js +0 -6
- package/locale-data/es-AR.d.ts +0 -1
- package/locale-data/es-AR.js +0 -6
- package/locale-data/es-BO.d.ts +0 -1
- package/locale-data/es-BO.js +0 -6
- package/locale-data/es-BR.d.ts +0 -1
- package/locale-data/es-BR.js +0 -6
- package/locale-data/es-BZ.d.ts +0 -1
- package/locale-data/es-BZ.js +0 -6
- package/locale-data/es-CL.d.ts +0 -1
- package/locale-data/es-CL.js +0 -6
- package/locale-data/es-CO.d.ts +0 -1
- package/locale-data/es-CO.js +0 -6
- package/locale-data/es-CR.d.ts +0 -1
- package/locale-data/es-CR.js +0 -6
- package/locale-data/es-CU.d.ts +0 -1
- package/locale-data/es-CU.js +0 -6
- package/locale-data/es-DO.d.ts +0 -1
- package/locale-data/es-DO.js +0 -6
- package/locale-data/es-EA.d.ts +0 -1
- package/locale-data/es-EA.js +0 -6
- package/locale-data/es-EC.d.ts +0 -1
- package/locale-data/es-EC.js +0 -6
- package/locale-data/es-GQ.d.ts +0 -1
- package/locale-data/es-GQ.js +0 -6
- package/locale-data/es-GT.d.ts +0 -1
- package/locale-data/es-GT.js +0 -6
- package/locale-data/es-HN.d.ts +0 -1
- package/locale-data/es-HN.js +0 -6
- package/locale-data/es-IC.d.ts +0 -1
- package/locale-data/es-IC.js +0 -6
- package/locale-data/es-MX.d.ts +0 -1
- package/locale-data/es-MX.js +0 -6
- package/locale-data/es-NI.d.ts +0 -1
- package/locale-data/es-NI.js +0 -6
- package/locale-data/es-PA.d.ts +0 -1
- package/locale-data/es-PA.js +0 -6
- package/locale-data/es-PE.d.ts +0 -1
- package/locale-data/es-PE.js +0 -6
- package/locale-data/es-PH.d.ts +0 -1
- package/locale-data/es-PH.js +0 -6
- package/locale-data/es-PR.d.ts +0 -1
- package/locale-data/es-PR.js +0 -6
- package/locale-data/es-PY.d.ts +0 -1
- package/locale-data/es-PY.js +0 -6
- package/locale-data/es-SV.d.ts +0 -1
- package/locale-data/es-SV.js +0 -6
- package/locale-data/es-US.d.ts +0 -1
- package/locale-data/es-US.js +0 -6
- package/locale-data/es-UY.d.ts +0 -1
- package/locale-data/es-UY.js +0 -6
- package/locale-data/es-VE.d.ts +0 -1
- package/locale-data/es-VE.js +0 -6
- package/locale-data/es.d.ts +0 -1
- package/locale-data/es.js +0 -6
- package/locale-data/et.d.ts +0 -1
- package/locale-data/et.js +0 -6
- package/locale-data/eu.d.ts +0 -1
- package/locale-data/eu.js +0 -6
- package/locale-data/ewo.d.ts +0 -1
- package/locale-data/ewo.js +0 -6
- package/locale-data/fa-AF.d.ts +0 -1
- package/locale-data/fa-AF.js +0 -6
- package/locale-data/fa.d.ts +0 -1
- package/locale-data/fa.js +0 -6
- package/locale-data/ff-Adlm-BF.d.ts +0 -1
- package/locale-data/ff-Adlm-BF.js +0 -6
- package/locale-data/ff-Adlm-CM.d.ts +0 -1
- package/locale-data/ff-Adlm-CM.js +0 -6
- package/locale-data/ff-Adlm-GH.d.ts +0 -1
- package/locale-data/ff-Adlm-GH.js +0 -6
- package/locale-data/ff-Adlm-GM.d.ts +0 -1
- package/locale-data/ff-Adlm-GM.js +0 -6
- package/locale-data/ff-Adlm-GW.d.ts +0 -1
- package/locale-data/ff-Adlm-GW.js +0 -6
- package/locale-data/ff-Adlm-LR.d.ts +0 -1
- package/locale-data/ff-Adlm-LR.js +0 -6
- package/locale-data/ff-Adlm-MR.d.ts +0 -1
- package/locale-data/ff-Adlm-MR.js +0 -6
- package/locale-data/ff-Adlm-NE.d.ts +0 -1
- package/locale-data/ff-Adlm-NE.js +0 -6
- package/locale-data/ff-Adlm-NG.d.ts +0 -1
- package/locale-data/ff-Adlm-NG.js +0 -6
- package/locale-data/ff-Adlm-SL.d.ts +0 -1
- package/locale-data/ff-Adlm-SL.js +0 -6
- package/locale-data/ff-Adlm-SN.d.ts +0 -1
- package/locale-data/ff-Adlm-SN.js +0 -6
- package/locale-data/ff-Adlm.d.ts +0 -1
- package/locale-data/ff-Adlm.js +0 -6
- package/locale-data/ff-Latn-BF.d.ts +0 -1
- package/locale-data/ff-Latn-BF.js +0 -6
- package/locale-data/ff-Latn-CM.d.ts +0 -1
- package/locale-data/ff-Latn-CM.js +0 -6
- package/locale-data/ff-Latn-GH.d.ts +0 -1
- package/locale-data/ff-Latn-GH.js +0 -6
- package/locale-data/ff-Latn-GM.d.ts +0 -1
- package/locale-data/ff-Latn-GM.js +0 -6
- package/locale-data/ff-Latn-GN.d.ts +0 -1
- package/locale-data/ff-Latn-GN.js +0 -6
- package/locale-data/ff-Latn-GW.d.ts +0 -1
- package/locale-data/ff-Latn-GW.js +0 -6
- package/locale-data/ff-Latn-LR.d.ts +0 -1
- package/locale-data/ff-Latn-LR.js +0 -6
- package/locale-data/ff-Latn-MR.d.ts +0 -1
- package/locale-data/ff-Latn-MR.js +0 -6
- package/locale-data/ff-Latn-NE.d.ts +0 -1
- package/locale-data/ff-Latn-NE.js +0 -6
- package/locale-data/ff-Latn-NG.d.ts +0 -1
- package/locale-data/ff-Latn-NG.js +0 -6
- package/locale-data/ff-Latn-SL.d.ts +0 -1
- package/locale-data/ff-Latn-SL.js +0 -6
- package/locale-data/ff-Latn.d.ts +0 -1
- package/locale-data/ff-Latn.js +0 -6
- package/locale-data/ff.d.ts +0 -1
- package/locale-data/ff.js +0 -6
- package/locale-data/fi.d.ts +0 -1
- package/locale-data/fi.js +0 -6
- package/locale-data/fil.d.ts +0 -1
- package/locale-data/fil.js +0 -6
- package/locale-data/fo-DK.d.ts +0 -1
- package/locale-data/fo-DK.js +0 -6
- package/locale-data/fo.d.ts +0 -1
- package/locale-data/fo.js +0 -6
- package/locale-data/fr-BE.d.ts +0 -1
- package/locale-data/fr-BE.js +0 -6
- package/locale-data/fr-BF.d.ts +0 -1
- package/locale-data/fr-BF.js +0 -6
- package/locale-data/fr-BI.d.ts +0 -1
- package/locale-data/fr-BI.js +0 -6
- package/locale-data/fr-BJ.d.ts +0 -1
- package/locale-data/fr-BJ.js +0 -6
- package/locale-data/fr-BL.d.ts +0 -1
- package/locale-data/fr-BL.js +0 -6
- package/locale-data/fr-CA.d.ts +0 -1
- package/locale-data/fr-CA.js +0 -6
- package/locale-data/fr-CD.d.ts +0 -1
- package/locale-data/fr-CD.js +0 -6
- package/locale-data/fr-CF.d.ts +0 -1
- package/locale-data/fr-CF.js +0 -6
- package/locale-data/fr-CG.d.ts +0 -1
- package/locale-data/fr-CG.js +0 -6
- package/locale-data/fr-CH.d.ts +0 -1
- package/locale-data/fr-CH.js +0 -6
- package/locale-data/fr-CI.d.ts +0 -1
- package/locale-data/fr-CI.js +0 -6
- package/locale-data/fr-CM.d.ts +0 -1
- package/locale-data/fr-CM.js +0 -6
- package/locale-data/fr-DJ.d.ts +0 -1
- package/locale-data/fr-DJ.js +0 -6
- package/locale-data/fr-DZ.d.ts +0 -1
- package/locale-data/fr-DZ.js +0 -6
- package/locale-data/fr-GA.d.ts +0 -1
- package/locale-data/fr-GA.js +0 -6
- package/locale-data/fr-GF.d.ts +0 -1
- package/locale-data/fr-GF.js +0 -6
- package/locale-data/fr-GN.d.ts +0 -1
- package/locale-data/fr-GN.js +0 -6
- package/locale-data/fr-GP.d.ts +0 -1
- package/locale-data/fr-GP.js +0 -6
- package/locale-data/fr-GQ.d.ts +0 -1
- package/locale-data/fr-GQ.js +0 -6
- package/locale-data/fr-HT.d.ts +0 -1
- package/locale-data/fr-HT.js +0 -6
- package/locale-data/fr-KM.d.ts +0 -1
- package/locale-data/fr-KM.js +0 -6
- package/locale-data/fr-LU.d.ts +0 -1
- package/locale-data/fr-LU.js +0 -6
- package/locale-data/fr-MA.d.ts +0 -1
- package/locale-data/fr-MA.js +0 -6
- package/locale-data/fr-MC.d.ts +0 -1
- package/locale-data/fr-MC.js +0 -6
- package/locale-data/fr-MF.d.ts +0 -1
- package/locale-data/fr-MF.js +0 -6
- package/locale-data/fr-MG.d.ts +0 -1
- package/locale-data/fr-MG.js +0 -6
- package/locale-data/fr-ML.d.ts +0 -1
- package/locale-data/fr-ML.js +0 -6
- package/locale-data/fr-MQ.d.ts +0 -1
- package/locale-data/fr-MQ.js +0 -6
- package/locale-data/fr-MR.d.ts +0 -1
- package/locale-data/fr-MR.js +0 -6
- package/locale-data/fr-MU.d.ts +0 -1
- package/locale-data/fr-MU.js +0 -6
- package/locale-data/fr-NC.d.ts +0 -1
- package/locale-data/fr-NC.js +0 -6
- package/locale-data/fr-NE.d.ts +0 -1
- package/locale-data/fr-NE.js +0 -6
- package/locale-data/fr-PF.d.ts +0 -1
- package/locale-data/fr-PF.js +0 -6
- package/locale-data/fr-PM.d.ts +0 -1
- package/locale-data/fr-PM.js +0 -6
- package/locale-data/fr-RE.d.ts +0 -1
- package/locale-data/fr-RE.js +0 -6
- package/locale-data/fr-RW.d.ts +0 -1
- package/locale-data/fr-RW.js +0 -6
- package/locale-data/fr-SC.d.ts +0 -1
- package/locale-data/fr-SC.js +0 -6
- package/locale-data/fr-SN.d.ts +0 -1
- package/locale-data/fr-SN.js +0 -6
- package/locale-data/fr-SY.d.ts +0 -1
- package/locale-data/fr-SY.js +0 -6
- package/locale-data/fr-TD.d.ts +0 -1
- package/locale-data/fr-TD.js +0 -6
- package/locale-data/fr-TG.d.ts +0 -1
- package/locale-data/fr-TG.js +0 -6
- package/locale-data/fr-TN.d.ts +0 -1
- package/locale-data/fr-TN.js +0 -6
- package/locale-data/fr-VU.d.ts +0 -1
- package/locale-data/fr-VU.js +0 -6
- package/locale-data/fr-WF.d.ts +0 -1
- package/locale-data/fr-WF.js +0 -6
- package/locale-data/fr-YT.d.ts +0 -1
- package/locale-data/fr-YT.js +0 -6
- package/locale-data/fr.d.ts +0 -1
- package/locale-data/fr.js +0 -6
- package/locale-data/fur.d.ts +0 -1
- package/locale-data/fur.js +0 -6
- package/locale-data/fy.d.ts +0 -1
- package/locale-data/fy.js +0 -6
- package/locale-data/ga-GB.d.ts +0 -1
- package/locale-data/ga-GB.js +0 -6
- package/locale-data/ga.d.ts +0 -1
- package/locale-data/ga.js +0 -6
- package/locale-data/gd.d.ts +0 -1
- package/locale-data/gd.js +0 -6
- package/locale-data/gl.d.ts +0 -1
- package/locale-data/gl.js +0 -6
- package/locale-data/gsw-FR.d.ts +0 -1
- package/locale-data/gsw-FR.js +0 -6
- package/locale-data/gsw-LI.d.ts +0 -1
- package/locale-data/gsw-LI.js +0 -6
- package/locale-data/gsw.d.ts +0 -1
- package/locale-data/gsw.js +0 -6
- package/locale-data/gu.d.ts +0 -1
- package/locale-data/gu.js +0 -6
- package/locale-data/guz.d.ts +0 -1
- package/locale-data/guz.js +0 -6
- package/locale-data/gv.d.ts +0 -1
- package/locale-data/gv.js +0 -6
- package/locale-data/ha-GH.d.ts +0 -1
- package/locale-data/ha-GH.js +0 -6
- package/locale-data/ha-NE.d.ts +0 -1
- package/locale-data/ha-NE.js +0 -6
- package/locale-data/ha.d.ts +0 -1
- package/locale-data/ha.js +0 -6
- package/locale-data/haw.d.ts +0 -1
- package/locale-data/haw.js +0 -6
- package/locale-data/he.d.ts +0 -1
- package/locale-data/he.js +0 -6
- package/locale-data/hi.d.ts +0 -1
- package/locale-data/hi.js +0 -6
- package/locale-data/hr-BA.d.ts +0 -1
- package/locale-data/hr-BA.js +0 -6
- package/locale-data/hr.d.ts +0 -1
- package/locale-data/hr.js +0 -6
- package/locale-data/hsb.d.ts +0 -1
- package/locale-data/hsb.js +0 -6
- package/locale-data/hu.d.ts +0 -1
- package/locale-data/hu.js +0 -6
- package/locale-data/hy.d.ts +0 -1
- package/locale-data/hy.js +0 -6
- package/locale-data/ia.d.ts +0 -1
- package/locale-data/ia.js +0 -6
- package/locale-data/id.d.ts +0 -1
- package/locale-data/id.js +0 -6
- package/locale-data/ig.d.ts +0 -1
- package/locale-data/ig.js +0 -6
- package/locale-data/ii.d.ts +0 -1
- package/locale-data/ii.js +0 -6
- package/locale-data/is.d.ts +0 -1
- package/locale-data/is.js +0 -6
- package/locale-data/it-CH.d.ts +0 -1
- package/locale-data/it-CH.js +0 -6
- package/locale-data/it-SM.d.ts +0 -1
- package/locale-data/it-SM.js +0 -6
- package/locale-data/it-VA.d.ts +0 -1
- package/locale-data/it-VA.js +0 -6
- package/locale-data/it.d.ts +0 -1
- package/locale-data/it.js +0 -6
- package/locale-data/ja.d.ts +0 -1
- package/locale-data/ja.js +0 -6
- package/locale-data/jgo.d.ts +0 -1
- package/locale-data/jgo.js +0 -6
- package/locale-data/jmc.d.ts +0 -1
- package/locale-data/jmc.js +0 -6
- package/locale-data/jv.d.ts +0 -1
- package/locale-data/jv.js +0 -6
- package/locale-data/ka.d.ts +0 -1
- package/locale-data/ka.js +0 -6
- package/locale-data/kab.d.ts +0 -1
- package/locale-data/kab.js +0 -6
- package/locale-data/kam.d.ts +0 -1
- package/locale-data/kam.js +0 -6
- package/locale-data/kde.d.ts +0 -1
- package/locale-data/kde.js +0 -6
- package/locale-data/kea.d.ts +0 -1
- package/locale-data/kea.js +0 -6
- package/locale-data/kgp.d.ts +0 -1
- package/locale-data/kgp.js +0 -6
- package/locale-data/khq.d.ts +0 -1
- package/locale-data/khq.js +0 -6
- package/locale-data/ki.d.ts +0 -1
- package/locale-data/ki.js +0 -6
- package/locale-data/kk.d.ts +0 -1
- package/locale-data/kk.js +0 -6
- package/locale-data/kkj.d.ts +0 -1
- package/locale-data/kkj.js +0 -6
- package/locale-data/kl.d.ts +0 -1
- package/locale-data/kl.js +0 -6
- package/locale-data/kln.d.ts +0 -1
- package/locale-data/kln.js +0 -6
- package/locale-data/km.d.ts +0 -1
- package/locale-data/km.js +0 -6
- package/locale-data/kn.d.ts +0 -1
- package/locale-data/kn.js +0 -6
- package/locale-data/ko-KP.d.ts +0 -1
- package/locale-data/ko-KP.js +0 -6
- package/locale-data/ko.d.ts +0 -1
- package/locale-data/ko.js +0 -6
- package/locale-data/kok.d.ts +0 -1
- package/locale-data/kok.js +0 -6
- package/locale-data/ks-Arab.d.ts +0 -1
- package/locale-data/ks-Arab.js +0 -6
- package/locale-data/ks.d.ts +0 -1
- package/locale-data/ks.js +0 -6
- package/locale-data/ksb.d.ts +0 -1
- package/locale-data/ksb.js +0 -6
- package/locale-data/ksf.d.ts +0 -1
- package/locale-data/ksf.js +0 -6
- package/locale-data/ksh.d.ts +0 -1
- package/locale-data/ksh.js +0 -6
- package/locale-data/ku.d.ts +0 -1
- package/locale-data/ku.js +0 -6
- package/locale-data/kw.d.ts +0 -1
- package/locale-data/kw.js +0 -6
- package/locale-data/ky.d.ts +0 -1
- package/locale-data/ky.js +0 -6
- package/locale-data/lag.d.ts +0 -1
- package/locale-data/lag.js +0 -6
- package/locale-data/lb.d.ts +0 -1
- package/locale-data/lb.js +0 -6
- package/locale-data/lg.d.ts +0 -1
- package/locale-data/lg.js +0 -6
- package/locale-data/lkt.d.ts +0 -1
- package/locale-data/lkt.js +0 -6
- package/locale-data/ln-AO.d.ts +0 -1
- package/locale-data/ln-AO.js +0 -6
- package/locale-data/ln-CF.d.ts +0 -1
- package/locale-data/ln-CF.js +0 -6
- package/locale-data/ln-CG.d.ts +0 -1
- package/locale-data/ln-CG.js +0 -6
- package/locale-data/ln.d.ts +0 -1
- package/locale-data/ln.js +0 -6
- package/locale-data/lo.d.ts +0 -1
- package/locale-data/lo.js +0 -6
- package/locale-data/lrc-IQ.d.ts +0 -1
- package/locale-data/lrc-IQ.js +0 -6
- package/locale-data/lrc.d.ts +0 -1
- package/locale-data/lrc.js +0 -6
- package/locale-data/lt.d.ts +0 -1
- package/locale-data/lt.js +0 -6
- package/locale-data/lu.d.ts +0 -1
- package/locale-data/lu.js +0 -6
- package/locale-data/luo.d.ts +0 -1
- package/locale-data/luo.js +0 -6
- package/locale-data/luy.d.ts +0 -1
- package/locale-data/luy.js +0 -6
- package/locale-data/lv.d.ts +0 -1
- package/locale-data/lv.js +0 -6
- package/locale-data/mai.d.ts +0 -1
- package/locale-data/mai.js +0 -6
- package/locale-data/mas-TZ.d.ts +0 -1
- package/locale-data/mas-TZ.js +0 -6
- package/locale-data/mas.d.ts +0 -1
- package/locale-data/mas.js +0 -6
- package/locale-data/mer.d.ts +0 -1
- package/locale-data/mer.js +0 -6
- package/locale-data/mfe.d.ts +0 -1
- package/locale-data/mfe.js +0 -6
- package/locale-data/mg.d.ts +0 -1
- package/locale-data/mg.js +0 -6
- package/locale-data/mgh.d.ts +0 -1
- package/locale-data/mgh.js +0 -6
- package/locale-data/mgo.d.ts +0 -1
- package/locale-data/mgo.js +0 -6
- package/locale-data/mi.d.ts +0 -1
- package/locale-data/mi.js +0 -6
- package/locale-data/mk.d.ts +0 -1
- package/locale-data/mk.js +0 -6
- package/locale-data/ml.d.ts +0 -1
- package/locale-data/ml.js +0 -6
- package/locale-data/mn.d.ts +0 -1
- package/locale-data/mn.js +0 -6
- package/locale-data/mni-Beng.d.ts +0 -1
- package/locale-data/mni-Beng.js +0 -6
- package/locale-data/mni.d.ts +0 -1
- package/locale-data/mni.js +0 -6
- package/locale-data/mr.d.ts +0 -1
- package/locale-data/mr.js +0 -6
- package/locale-data/ms-BN.d.ts +0 -1
- package/locale-data/ms-BN.js +0 -6
- package/locale-data/ms-ID.d.ts +0 -1
- package/locale-data/ms-ID.js +0 -6
- package/locale-data/ms-SG.d.ts +0 -1
- package/locale-data/ms-SG.js +0 -6
- package/locale-data/ms.d.ts +0 -1
- package/locale-data/ms.js +0 -6
- package/locale-data/mt.d.ts +0 -1
- package/locale-data/mt.js +0 -6
- package/locale-data/mua.d.ts +0 -1
- package/locale-data/mua.js +0 -6
- package/locale-data/my.d.ts +0 -1
- package/locale-data/my.js +0 -6
- package/locale-data/mzn.d.ts +0 -1
- package/locale-data/mzn.js +0 -6
- package/locale-data/naq.d.ts +0 -1
- package/locale-data/naq.js +0 -6
- package/locale-data/nb-SJ.d.ts +0 -1
- package/locale-data/nb-SJ.js +0 -6
- package/locale-data/nb.d.ts +0 -1
- package/locale-data/nb.js +0 -6
- package/locale-data/nd.d.ts +0 -1
- package/locale-data/nd.js +0 -6
- package/locale-data/nds-NL.d.ts +0 -1
- package/locale-data/nds-NL.js +0 -6
- package/locale-data/nds.d.ts +0 -1
- package/locale-data/nds.js +0 -6
- package/locale-data/ne-IN.d.ts +0 -1
- package/locale-data/ne-IN.js +0 -6
- package/locale-data/ne.d.ts +0 -1
- package/locale-data/ne.js +0 -6
- package/locale-data/nl-AW.d.ts +0 -1
- package/locale-data/nl-AW.js +0 -6
- package/locale-data/nl-BE.d.ts +0 -1
- package/locale-data/nl-BE.js +0 -6
- package/locale-data/nl-BQ.d.ts +0 -1
- package/locale-data/nl-BQ.js +0 -6
- package/locale-data/nl-CW.d.ts +0 -1
- package/locale-data/nl-CW.js +0 -6
- package/locale-data/nl-SR.d.ts +0 -1
- package/locale-data/nl-SR.js +0 -6
- package/locale-data/nl-SX.d.ts +0 -1
- package/locale-data/nl-SX.js +0 -6
- package/locale-data/nl.d.ts +0 -1
- package/locale-data/nl.js +0 -6
- package/locale-data/nmg.d.ts +0 -1
- package/locale-data/nmg.js +0 -6
- package/locale-data/nn.d.ts +0 -1
- package/locale-data/nn.js +0 -6
- package/locale-data/nnh.d.ts +0 -1
- package/locale-data/nnh.js +0 -6
- package/locale-data/no.d.ts +0 -1
- package/locale-data/no.js +0 -6
- package/locale-data/nus.d.ts +0 -1
- package/locale-data/nus.js +0 -6
- package/locale-data/nyn.d.ts +0 -1
- package/locale-data/nyn.js +0 -6
- package/locale-data/om-KE.d.ts +0 -1
- package/locale-data/om-KE.js +0 -6
- package/locale-data/om.d.ts +0 -1
- package/locale-data/om.js +0 -6
- package/locale-data/or.d.ts +0 -1
- package/locale-data/or.js +0 -6
- package/locale-data/os-RU.d.ts +0 -1
- package/locale-data/os-RU.js +0 -6
- package/locale-data/os.d.ts +0 -1
- package/locale-data/os.js +0 -6
- package/locale-data/pa-Arab.d.ts +0 -1
- package/locale-data/pa-Arab.js +0 -6
- package/locale-data/pa-Guru.d.ts +0 -1
- package/locale-data/pa-Guru.js +0 -6
- package/locale-data/pa.d.ts +0 -1
- package/locale-data/pa.js +0 -6
- package/locale-data/pcm.d.ts +0 -1
- package/locale-data/pcm.js +0 -6
- package/locale-data/pl.d.ts +0 -1
- package/locale-data/pl.js +0 -6
- package/locale-data/ps-PK.d.ts +0 -1
- package/locale-data/ps-PK.js +0 -6
- package/locale-data/ps.d.ts +0 -1
- package/locale-data/ps.js +0 -6
- package/locale-data/pt-AO.d.ts +0 -1
- package/locale-data/pt-AO.js +0 -6
- package/locale-data/pt-CH.d.ts +0 -1
- package/locale-data/pt-CH.js +0 -6
- package/locale-data/pt-CV.d.ts +0 -1
- package/locale-data/pt-CV.js +0 -6
- package/locale-data/pt-GQ.d.ts +0 -1
- package/locale-data/pt-GQ.js +0 -6
- package/locale-data/pt-GW.d.ts +0 -1
- package/locale-data/pt-GW.js +0 -6
- package/locale-data/pt-LU.d.ts +0 -1
- package/locale-data/pt-LU.js +0 -6
- package/locale-data/pt-MO.d.ts +0 -1
- package/locale-data/pt-MO.js +0 -6
- package/locale-data/pt-MZ.d.ts +0 -1
- package/locale-data/pt-MZ.js +0 -6
- package/locale-data/pt-PT.d.ts +0 -1
- package/locale-data/pt-PT.js +0 -6
- package/locale-data/pt-ST.d.ts +0 -1
- package/locale-data/pt-ST.js +0 -6
- package/locale-data/pt-TL.d.ts +0 -1
- package/locale-data/pt-TL.js +0 -6
- package/locale-data/pt.d.ts +0 -1
- package/locale-data/pt.js +0 -6
- package/locale-data/qu-BO.d.ts +0 -1
- package/locale-data/qu-BO.js +0 -6
- package/locale-data/qu-EC.d.ts +0 -1
- package/locale-data/qu-EC.js +0 -6
- package/locale-data/qu.d.ts +0 -1
- package/locale-data/qu.js +0 -6
- package/locale-data/rm.d.ts +0 -1
- package/locale-data/rm.js +0 -6
- package/locale-data/rn.d.ts +0 -1
- package/locale-data/rn.js +0 -6
- package/locale-data/ro-MD.d.ts +0 -1
- package/locale-data/ro-MD.js +0 -6
- package/locale-data/ro.d.ts +0 -1
- package/locale-data/ro.js +0 -6
- package/locale-data/rof.d.ts +0 -1
- package/locale-data/rof.js +0 -6
- package/locale-data/ru-BY.d.ts +0 -1
- package/locale-data/ru-BY.js +0 -6
- package/locale-data/ru-KG.d.ts +0 -1
- package/locale-data/ru-KG.js +0 -6
- package/locale-data/ru-KZ.d.ts +0 -1
- package/locale-data/ru-KZ.js +0 -6
- package/locale-data/ru-MD.d.ts +0 -1
- package/locale-data/ru-MD.js +0 -6
- package/locale-data/ru-UA.d.ts +0 -1
- package/locale-data/ru-UA.js +0 -6
- package/locale-data/ru.d.ts +0 -1
- package/locale-data/ru.js +0 -6
- package/locale-data/rw.d.ts +0 -1
- package/locale-data/rw.js +0 -6
- package/locale-data/rwk.d.ts +0 -1
- package/locale-data/rwk.js +0 -6
- package/locale-data/sa.d.ts +0 -1
- package/locale-data/sa.js +0 -6
- package/locale-data/sah.d.ts +0 -1
- package/locale-data/sah.js +0 -6
- package/locale-data/saq.d.ts +0 -1
- package/locale-data/saq.js +0 -6
- package/locale-data/sat-Olck.d.ts +0 -1
- package/locale-data/sat-Olck.js +0 -6
- package/locale-data/sat.d.ts +0 -1
- package/locale-data/sat.js +0 -6
- package/locale-data/sbp.d.ts +0 -1
- package/locale-data/sbp.js +0 -6
- package/locale-data/sc.d.ts +0 -1
- package/locale-data/sc.js +0 -6
- package/locale-data/sd-Arab.d.ts +0 -1
- package/locale-data/sd-Arab.js +0 -6
- package/locale-data/sd-Deva.d.ts +0 -1
- package/locale-data/sd-Deva.js +0 -6
- package/locale-data/sd.d.ts +0 -1
- package/locale-data/sd.js +0 -6
- package/locale-data/se-FI.d.ts +0 -1
- package/locale-data/se-FI.js +0 -6
- package/locale-data/se-SE.d.ts +0 -1
- package/locale-data/se-SE.js +0 -6
- package/locale-data/se.d.ts +0 -1
- package/locale-data/se.js +0 -6
- package/locale-data/seh.d.ts +0 -1
- package/locale-data/seh.js +0 -6
- package/locale-data/ses.d.ts +0 -1
- package/locale-data/ses.js +0 -6
- package/locale-data/sg.d.ts +0 -1
- package/locale-data/sg.js +0 -6
- package/locale-data/shi-Latn.d.ts +0 -1
- package/locale-data/shi-Latn.js +0 -6
- package/locale-data/shi-Tfng.d.ts +0 -1
- package/locale-data/shi-Tfng.js +0 -6
- package/locale-data/shi.d.ts +0 -1
- package/locale-data/shi.js +0 -6
- package/locale-data/si.d.ts +0 -1
- package/locale-data/si.js +0 -6
- package/locale-data/sk.d.ts +0 -1
- package/locale-data/sk.js +0 -6
- package/locale-data/sl.d.ts +0 -1
- package/locale-data/sl.js +0 -6
- package/locale-data/smn.d.ts +0 -1
- package/locale-data/smn.js +0 -6
- package/locale-data/sn.d.ts +0 -1
- package/locale-data/sn.js +0 -6
- package/locale-data/so-DJ.d.ts +0 -1
- package/locale-data/so-DJ.js +0 -6
- package/locale-data/so-ET.d.ts +0 -1
- package/locale-data/so-ET.js +0 -6
- package/locale-data/so-KE.d.ts +0 -1
- package/locale-data/so-KE.js +0 -6
- package/locale-data/so.d.ts +0 -1
- package/locale-data/so.js +0 -6
- package/locale-data/sq-MK.d.ts +0 -1
- package/locale-data/sq-MK.js +0 -6
- package/locale-data/sq-XK.d.ts +0 -1
- package/locale-data/sq-XK.js +0 -6
- package/locale-data/sq.d.ts +0 -1
- package/locale-data/sq.js +0 -6
- package/locale-data/sr-Cyrl-BA.d.ts +0 -1
- package/locale-data/sr-Cyrl-BA.js +0 -6
- package/locale-data/sr-Cyrl-ME.d.ts +0 -1
- package/locale-data/sr-Cyrl-ME.js +0 -6
- package/locale-data/sr-Cyrl-XK.d.ts +0 -1
- package/locale-data/sr-Cyrl-XK.js +0 -6
- package/locale-data/sr-Cyrl.d.ts +0 -1
- package/locale-data/sr-Cyrl.js +0 -6
- package/locale-data/sr-Latn-BA.d.ts +0 -1
- package/locale-data/sr-Latn-BA.js +0 -6
- package/locale-data/sr-Latn-ME.d.ts +0 -1
- package/locale-data/sr-Latn-ME.js +0 -6
- package/locale-data/sr-Latn-XK.d.ts +0 -1
- package/locale-data/sr-Latn-XK.js +0 -6
- package/locale-data/sr-Latn.d.ts +0 -1
- package/locale-data/sr-Latn.js +0 -6
- package/locale-data/sr.d.ts +0 -1
- package/locale-data/sr.js +0 -6
- package/locale-data/su-Latn.d.ts +0 -1
- package/locale-data/su-Latn.js +0 -6
- package/locale-data/su.d.ts +0 -1
- package/locale-data/su.js +0 -6
- package/locale-data/sv-AX.d.ts +0 -1
- package/locale-data/sv-AX.js +0 -6
- package/locale-data/sv-FI.d.ts +0 -1
- package/locale-data/sv-FI.js +0 -6
- package/locale-data/sv.d.ts +0 -1
- package/locale-data/sv.js +0 -6
- package/locale-data/sw-CD.d.ts +0 -1
- package/locale-data/sw-CD.js +0 -6
- package/locale-data/sw-KE.d.ts +0 -1
- package/locale-data/sw-KE.js +0 -6
- package/locale-data/sw-UG.d.ts +0 -1
- package/locale-data/sw-UG.js +0 -6
- package/locale-data/sw.d.ts +0 -1
- package/locale-data/sw.js +0 -6
- package/locale-data/ta-LK.d.ts +0 -1
- package/locale-data/ta-LK.js +0 -6
- package/locale-data/ta-MY.d.ts +0 -1
- package/locale-data/ta-MY.js +0 -6
- package/locale-data/ta-SG.d.ts +0 -1
- package/locale-data/ta-SG.js +0 -6
- package/locale-data/ta.d.ts +0 -1
- package/locale-data/ta.js +0 -6
- package/locale-data/te.d.ts +0 -1
- package/locale-data/te.js +0 -6
- package/locale-data/teo-KE.d.ts +0 -1
- package/locale-data/teo-KE.js +0 -6
- package/locale-data/teo.d.ts +0 -1
- package/locale-data/teo.js +0 -6
- package/locale-data/tg.d.ts +0 -1
- package/locale-data/tg.js +0 -6
- package/locale-data/th.d.ts +0 -1
- package/locale-data/th.js +0 -6
- package/locale-data/ti-ER.d.ts +0 -1
- package/locale-data/ti-ER.js +0 -6
- package/locale-data/ti.d.ts +0 -1
- package/locale-data/ti.js +0 -6
- package/locale-data/tk.d.ts +0 -1
- package/locale-data/tk.js +0 -6
- package/locale-data/to.d.ts +0 -1
- package/locale-data/to.js +0 -6
- package/locale-data/tr-CY.d.ts +0 -1
- package/locale-data/tr-CY.js +0 -6
- package/locale-data/tr.d.ts +0 -1
- package/locale-data/tr.js +0 -6
- package/locale-data/tt.d.ts +0 -1
- package/locale-data/tt.js +0 -6
- package/locale-data/twq.d.ts +0 -1
- package/locale-data/twq.js +0 -6
- package/locale-data/tzm.d.ts +0 -1
- package/locale-data/tzm.js +0 -6
- package/locale-data/ug.d.ts +0 -1
- package/locale-data/ug.js +0 -6
- package/locale-data/uk.d.ts +0 -1
- package/locale-data/uk.js +0 -6
- package/locale-data/und.d.ts +0 -1
- package/locale-data/und.js +0 -6
- package/locale-data/ur-IN.d.ts +0 -1
- package/locale-data/ur-IN.js +0 -6
- package/locale-data/ur.d.ts +0 -1
- package/locale-data/ur.js +0 -6
- package/locale-data/uz-Arab.d.ts +0 -1
- package/locale-data/uz-Arab.js +0 -6
- package/locale-data/uz-Cyrl.d.ts +0 -1
- package/locale-data/uz-Cyrl.js +0 -6
- package/locale-data/uz-Latn.d.ts +0 -1
- package/locale-data/uz-Latn.js +0 -6
- package/locale-data/uz.d.ts +0 -1
- package/locale-data/uz.js +0 -6
- package/locale-data/vai-Latn.d.ts +0 -1
- package/locale-data/vai-Latn.js +0 -6
- package/locale-data/vai-Vaii.d.ts +0 -1
- package/locale-data/vai-Vaii.js +0 -6
- package/locale-data/vai.d.ts +0 -1
- package/locale-data/vai.js +0 -6
- package/locale-data/vi.d.ts +0 -1
- package/locale-data/vi.js +0 -6
- package/locale-data/vun.d.ts +0 -1
- package/locale-data/vun.js +0 -6
- package/locale-data/wae.d.ts +0 -1
- package/locale-data/wae.js +0 -6
- package/locale-data/wo.d.ts +0 -1
- package/locale-data/wo.js +0 -6
- package/locale-data/xh.d.ts +0 -1
- package/locale-data/xh.js +0 -6
- package/locale-data/xog.d.ts +0 -1
- package/locale-data/xog.js +0 -6
- package/locale-data/yav.d.ts +0 -1
- package/locale-data/yav.js +0 -6
- package/locale-data/yi.d.ts +0 -1
- package/locale-data/yi.js +0 -6
- package/locale-data/yo-BJ.d.ts +0 -1
- package/locale-data/yo-BJ.js +0 -6
- package/locale-data/yo.d.ts +0 -1
- package/locale-data/yo.js +0 -6
- package/locale-data/yrl-CO.d.ts +0 -1
- package/locale-data/yrl-CO.js +0 -6
- package/locale-data/yrl-VE.d.ts +0 -1
- package/locale-data/yrl-VE.js +0 -6
- package/locale-data/yrl.d.ts +0 -1
- package/locale-data/yrl.js +0 -6
- package/locale-data/yue-Hans.d.ts +0 -1
- package/locale-data/yue-Hans.js +0 -6
- package/locale-data/yue-Hant.d.ts +0 -1
- package/locale-data/yue-Hant.js +0 -6
- package/locale-data/yue.d.ts +0 -1
- package/locale-data/yue.js +0 -6
- package/locale-data/zgh.d.ts +0 -1
- package/locale-data/zgh.js +0 -6
- package/locale-data/zh-Hans-HK.d.ts +0 -1
- package/locale-data/zh-Hans-HK.js +0 -6
- package/locale-data/zh-Hans-MO.d.ts +0 -1
- package/locale-data/zh-Hans-MO.js +0 -6
- package/locale-data/zh-Hans-SG.d.ts +0 -1
- package/locale-data/zh-Hans-SG.js +0 -6
- package/locale-data/zh-Hans.d.ts +0 -1
- package/locale-data/zh-Hans.js +0 -6
- package/locale-data/zh-Hant-HK.d.ts +0 -1
- package/locale-data/zh-Hant-HK.js +0 -6
- package/locale-data/zh-Hant-MO.d.ts +0 -1
- package/locale-data/zh-Hant-MO.js +0 -6
- package/locale-data/zh-Hant.d.ts +0 -1
- package/locale-data/zh-Hant.js +0 -6
- package/locale-data/zh.d.ts +0 -1
- package/locale-data/zh.js +0 -6
- package/locale-data/zu.d.ts +0 -1
- package/locale-data/zu.js +0 -6
- package/polyfill-force.d.ts +0 -2
- package/polyfill-force.d.ts.map +0 -1
- package/polyfill-force.js +0 -10
- package/polyfill.d.ts +0 -2
- package/polyfill.d.ts.map +0 -1
- package/polyfill.iife.js +0 -2811
- package/polyfill.js +0 -13
- package/should-polyfill.d.ts +0 -2
- package/should-polyfill.d.ts.map +0 -1
- package/should-polyfill.js +0 -33
- package/supported-locales.d.ts +0 -2
- package/supported-locales.d.ts.map +0 -1
- package/supported-locales.js +0 -5
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { RelativeTimeFormatInternal } from '@formatjs/ecma402-abstract';
|
|
2
|
-
export declare function FormatRelativeTimeToParts(rtf: Intl.RelativeTimeFormat, value: number, unit: Intl.RelativeTimeFormatUnit, implDetails: {
|
|
3
|
-
getInternalSlots(rtf: Intl.RelativeTimeFormat): RelativeTimeFormatInternal;
|
|
4
|
-
}): Intl.RelativeTimeFormatPart[];
|
|
5
|
-
//# sourceMappingURL=FormatRelativeTimeToParts.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormatRelativeTimeToParts.d.ts","sourceRoot":"","sources":["../../../../../../../packages/intl-relativetimeformat/abstract/FormatRelativeTimeToParts.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,0BAA0B,EAC3B,MAAM,4BAA4B,CAAA;AAGnC,wBAAgB,yBAAyB,CACvC,GAAG,EAAE,IAAI,CAAC,kBAAkB,EAC5B,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,IAAI,CAAC,sBAAsB,EACjC,WAAW,EAAE;IACX,gBAAgB,CAAC,GAAG,EAAE,IAAI,CAAC,kBAAkB,GAAG,0BAA0B,CAAA;CAC3E,GACA,IAAI,CAAC,sBAAsB,EAAE,CAe/B"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ArrayCreate, } from '@formatjs/ecma402-abstract';
|
|
2
|
-
import { PartitionRelativeTimePattern } from './PartitionRelativeTimePattern';
|
|
3
|
-
export function FormatRelativeTimeToParts(rtf, value, unit, implDetails) {
|
|
4
|
-
var parts = PartitionRelativeTimePattern(rtf, value, unit, implDetails);
|
|
5
|
-
var result = ArrayCreate(0);
|
|
6
|
-
for (var _i = 0, parts_1 = parts; _i < parts_1.length; _i++) {
|
|
7
|
-
var part = parts_1[_i];
|
|
8
|
-
var o = {
|
|
9
|
-
type: part.type,
|
|
10
|
-
value: part.value,
|
|
11
|
-
};
|
|
12
|
-
if ('unit' in part) {
|
|
13
|
-
o.unit = part.unit;
|
|
14
|
-
}
|
|
15
|
-
result.push(o);
|
|
16
|
-
}
|
|
17
|
-
return result;
|
|
18
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { RelativeTimeFormatInternal, LocaleFieldsData } from '@formatjs/ecma402-abstract';
|
|
2
|
-
export declare function InitializeRelativeTimeFormat(rtf: Intl.RelativeTimeFormat, locales: string | string[] | undefined, options: Intl.RelativeTimeFormatOptions | undefined, { getInternalSlots, availableLocales, relevantExtensionKeys, localeData, getDefaultLocale, }: {
|
|
3
|
-
getInternalSlots(rtf: Intl.RelativeTimeFormat): RelativeTimeFormatInternal;
|
|
4
|
-
availableLocales: Set<string>;
|
|
5
|
-
relevantExtensionKeys: string[];
|
|
6
|
-
localeData: Record<string, LocaleFieldsData | undefined>;
|
|
7
|
-
getDefaultLocale(): string;
|
|
8
|
-
}): Intl.RelativeTimeFormat;
|
|
9
|
-
//# sourceMappingURL=InitializeRelativeTimeFormat.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InitializeRelativeTimeFormat.d.ts","sourceRoot":"","sources":["../../../../../../../packages/intl-relativetimeformat/abstract/InitializeRelativeTimeFormat.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,gBAAgB,EAKjB,MAAM,4BAA4B,CAAA;AAKnC,wBAAgB,4BAA4B,CAC1C,GAAG,EAAE,IAAI,CAAC,kBAAkB,EAC5B,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,EACtC,OAAO,EAAE,IAAI,CAAC,yBAAyB,GAAG,SAAS,EACnD,EACE,gBAAgB,EAChB,gBAAgB,EAChB,qBAAqB,EACrB,UAAU,EACV,gBAAgB,GACjB,EAAE;IACD,gBAAgB,CAAC,GAAG,EAAE,IAAI,CAAC,kBAAkB,GAAG,0BAA0B,CAAA;IAC1E,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC7B,qBAAqB,EAAE,MAAM,EAAE,CAAA;IAC/B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,GAAG,SAAS,CAAC,CAAA;IACxD,gBAAgB,IAAI,MAAM,CAAA;CAC3B,2BA4DF"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { CanonicalizeLocaleList, CoerceOptionsToObject, GetOption, invariant, } from '@formatjs/ecma402-abstract';
|
|
2
|
-
import { ResolveLocale } from '@formatjs/intl-localematcher';
|
|
3
|
-
var NUMBERING_SYSTEM_REGEX = /^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*$/i;
|
|
4
|
-
export function InitializeRelativeTimeFormat(rtf, locales, options, _a) {
|
|
5
|
-
var getInternalSlots = _a.getInternalSlots, availableLocales = _a.availableLocales, relevantExtensionKeys = _a.relevantExtensionKeys, localeData = _a.localeData, getDefaultLocale = _a.getDefaultLocale;
|
|
6
|
-
var internalSlots = getInternalSlots(rtf);
|
|
7
|
-
internalSlots.initializedRelativeTimeFormat = true;
|
|
8
|
-
var requestedLocales = CanonicalizeLocaleList(locales);
|
|
9
|
-
var opt = Object.create(null);
|
|
10
|
-
var opts = CoerceOptionsToObject(options);
|
|
11
|
-
var matcher = GetOption(opts, 'localeMatcher', 'string', ['best fit', 'lookup'], 'best fit');
|
|
12
|
-
opt.localeMatcher = matcher;
|
|
13
|
-
var numberingSystem = GetOption(opts,
|
|
14
|
-
// @ts-expect-error TS option is wack
|
|
15
|
-
'numberingSystem', 'string', undefined, undefined);
|
|
16
|
-
if (numberingSystem !== undefined) {
|
|
17
|
-
if (!NUMBERING_SYSTEM_REGEX.test(numberingSystem)) {
|
|
18
|
-
throw new RangeError("Invalid numbering system ".concat(numberingSystem));
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
opt.nu = numberingSystem;
|
|
22
|
-
var r = ResolveLocale(availableLocales, requestedLocales, opt, relevantExtensionKeys, localeData, getDefaultLocale);
|
|
23
|
-
var locale = r.locale, nu = r.nu;
|
|
24
|
-
internalSlots.locale = locale;
|
|
25
|
-
internalSlots.style = GetOption(opts, 'style', 'string', ['long', 'narrow', 'short'], 'long');
|
|
26
|
-
internalSlots.numeric = GetOption(opts, 'numeric', 'string', ['always', 'auto'], 'always');
|
|
27
|
-
var fields = localeData[r.dataLocale];
|
|
28
|
-
invariant(!!fields, "Missing locale data for ".concat(r.dataLocale));
|
|
29
|
-
internalSlots.fields = fields;
|
|
30
|
-
internalSlots.numberFormat = new Intl.NumberFormat(locales);
|
|
31
|
-
internalSlots.pluralRules = new Intl.PluralRules(locales);
|
|
32
|
-
internalSlots.numberingSystem = nu;
|
|
33
|
-
return rtf;
|
|
34
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MakePartsList.d.ts","sourceRoot":"","sources":["../../../../../../../packages/intl-relativetimeformat/abstract/MakePartsList.ts"],"names":[],"mappings":"AAEA,wBAAgB,aAAa,CAC3B,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,IAAI,CAAC,sBAAsB,EACjC,KAAK,EAAE,IAAI,CAAC,gBAAgB,EAAE,GAAG,IAAI,CAAC,sBAAsB,EAAE,iCAsB/D"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { invariant, PartitionPattern } from '@formatjs/ecma402-abstract';
|
|
2
|
-
export function MakePartsList(pattern, unit, parts) {
|
|
3
|
-
var patternParts = PartitionPattern(pattern);
|
|
4
|
-
var result = [];
|
|
5
|
-
for (var _i = 0, patternParts_1 = patternParts; _i < patternParts_1.length; _i++) {
|
|
6
|
-
var patternPart = patternParts_1[_i];
|
|
7
|
-
if (patternPart.type === 'literal') {
|
|
8
|
-
result.push({
|
|
9
|
-
type: 'literal',
|
|
10
|
-
value: patternPart.value,
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
else {
|
|
14
|
-
invariant(patternPart.type === '0', "Malformed pattern ".concat(pattern));
|
|
15
|
-
for (var _a = 0, parts_1 = parts; _a < parts_1.length; _a++) {
|
|
16
|
-
var part = parts_1[_a];
|
|
17
|
-
result.push({
|
|
18
|
-
type: part.type,
|
|
19
|
-
value: part.value,
|
|
20
|
-
unit: unit,
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
return result;
|
|
26
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { RelativeTimeFormatInternal } from '@formatjs/ecma402-abstract';
|
|
2
|
-
export declare function PartitionRelativeTimePattern(rtf: Intl.RelativeTimeFormat, value: number, unit: Intl.RelativeTimeFormatUnit, { getInternalSlots, }: {
|
|
3
|
-
getInternalSlots(rtf: Intl.RelativeTimeFormat): RelativeTimeFormatInternal;
|
|
4
|
-
}): Intl.RelativeTimeFormatPart[];
|
|
5
|
-
//# sourceMappingURL=PartitionRelativeTimePattern.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PartitionRelativeTimePattern.d.ts","sourceRoot":"","sources":["../../../../../../../packages/intl-relativetimeformat/abstract/PartitionRelativeTimePattern.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,0BAA0B,EAI3B,MAAM,4BAA4B,CAAA;AAInC,wBAAgB,4BAA4B,CAC1C,GAAG,EAAE,IAAI,CAAC,kBAAkB,EAC5B,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,IAAI,CAAC,sBAAsB,EACjC,EACE,gBAAgB,GACjB,EAAE;IACD,gBAAgB,CAAC,GAAG,EAAE,IAAI,CAAC,kBAAkB,GAAG,0BAA0B,CAAA;CAC3E,GACA,IAAI,CAAC,sBAAsB,EAAE,CA0D/B"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { invariant, SameValue, ToString, Type, } from '@formatjs/ecma402-abstract';
|
|
2
|
-
import { SingularRelativeTimeUnit } from './SingularRelativeTimeUnit';
|
|
3
|
-
import { MakePartsList } from './MakePartsList';
|
|
4
|
-
export function PartitionRelativeTimePattern(rtf, value, unit, _a) {
|
|
5
|
-
var getInternalSlots = _a.getInternalSlots;
|
|
6
|
-
invariant(Type(value) === 'Number', "value must be number, instead got ".concat(typeof value), TypeError);
|
|
7
|
-
invariant(Type(unit) === 'String', "unit must be number, instead got ".concat(typeof value), TypeError);
|
|
8
|
-
if (isNaN(value) || !isFinite(value)) {
|
|
9
|
-
throw new RangeError("Invalid value ".concat(value));
|
|
10
|
-
}
|
|
11
|
-
var resolvedUnit = SingularRelativeTimeUnit(unit);
|
|
12
|
-
var _b = getInternalSlots(rtf), fields = _b.fields, style = _b.style, numeric = _b.numeric, pluralRules = _b.pluralRules, numberFormat = _b.numberFormat;
|
|
13
|
-
var entry = resolvedUnit;
|
|
14
|
-
if (style === 'short') {
|
|
15
|
-
entry = "".concat(resolvedUnit, "-short");
|
|
16
|
-
}
|
|
17
|
-
else if (style === 'narrow') {
|
|
18
|
-
entry = "".concat(resolvedUnit, "-narrow");
|
|
19
|
-
}
|
|
20
|
-
if (!(entry in fields)) {
|
|
21
|
-
entry = resolvedUnit;
|
|
22
|
-
}
|
|
23
|
-
var patterns = fields[entry];
|
|
24
|
-
if (numeric === 'auto') {
|
|
25
|
-
if (ToString(value) in patterns) {
|
|
26
|
-
return [
|
|
27
|
-
{
|
|
28
|
-
type: 'literal',
|
|
29
|
-
value: patterns[ToString(value)],
|
|
30
|
-
},
|
|
31
|
-
];
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
var tl = 'future';
|
|
35
|
-
if (SameValue(value, -0) || value < 0) {
|
|
36
|
-
tl = 'past';
|
|
37
|
-
}
|
|
38
|
-
var po = patterns[tl];
|
|
39
|
-
var fv = typeof numberFormat.formatToParts === 'function'
|
|
40
|
-
? numberFormat.formatToParts(Math.abs(value))
|
|
41
|
-
: // TODO: If formatToParts is not supported, we assume the whole formatted
|
|
42
|
-
// number is a part
|
|
43
|
-
[
|
|
44
|
-
{
|
|
45
|
-
type: 'literal',
|
|
46
|
-
value: numberFormat.format(Math.abs(value)),
|
|
47
|
-
unit: unit,
|
|
48
|
-
},
|
|
49
|
-
];
|
|
50
|
-
var pr = pluralRules.select(value);
|
|
51
|
-
var pattern = po[pr];
|
|
52
|
-
return MakePartsList(pattern, resolvedUnit, fv);
|
|
53
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { RelativeTimeFormatSingularUnit } from '@formatjs/ecma402-abstract';
|
|
2
|
-
/**
|
|
3
|
-
* https://tc39.es/proposal-intl-relative-time/#sec-singularrelativetimeunit
|
|
4
|
-
* @param unit
|
|
5
|
-
*/
|
|
6
|
-
export declare function SingularRelativeTimeUnit(unit: Intl.RelativeTimeFormatUnit): RelativeTimeFormatSingularUnit;
|
|
7
|
-
//# sourceMappingURL=SingularRelativeTimeUnit.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SingularRelativeTimeUnit.d.ts","sourceRoot":"","sources":["../../../../../../../packages/intl-relativetimeformat/abstract/SingularRelativeTimeUnit.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,8BAA8B,EAE/B,MAAM,4BAA4B,CAAA;AAEnC;;;GAGG;AACH,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,IAAI,CAAC,sBAAsB,GAChC,8BAA8B,CAuBhC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { invariant, Type, } from '@formatjs/ecma402-abstract';
|
|
2
|
-
/**
|
|
3
|
-
* https://tc39.es/proposal-intl-relative-time/#sec-singularrelativetimeunit
|
|
4
|
-
* @param unit
|
|
5
|
-
*/
|
|
6
|
-
export function SingularRelativeTimeUnit(unit) {
|
|
7
|
-
invariant(Type(unit) === 'String', 'unit must be a string');
|
|
8
|
-
if (unit === 'seconds')
|
|
9
|
-
return 'second';
|
|
10
|
-
if (unit === 'minutes')
|
|
11
|
-
return 'minute';
|
|
12
|
-
if (unit === 'hours')
|
|
13
|
-
return 'hour';
|
|
14
|
-
if (unit === 'days')
|
|
15
|
-
return 'day';
|
|
16
|
-
if (unit === 'weeks')
|
|
17
|
-
return 'week';
|
|
18
|
-
if (unit === 'months')
|
|
19
|
-
return 'month';
|
|
20
|
-
if (unit === 'quarters')
|
|
21
|
-
return 'quarter';
|
|
22
|
-
if (unit === 'years')
|
|
23
|
-
return 'year';
|
|
24
|
-
if (unit !== 'second' &&
|
|
25
|
-
unit !== 'minute' &&
|
|
26
|
-
unit !== 'hour' &&
|
|
27
|
-
unit !== 'day' &&
|
|
28
|
-
unit !== 'week' &&
|
|
29
|
-
unit !== 'month' &&
|
|
30
|
-
unit !== 'quarter' &&
|
|
31
|
-
unit !== 'year') {
|
|
32
|
-
throw new RangeError('invalid unit');
|
|
33
|
-
}
|
|
34
|
-
return unit;
|
|
35
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_internal_slots.d.ts","sourceRoot":"","sources":["../../../../../../packages/intl-relativetimeformat/get_internal_slots.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,0BAA0B,EAAC,MAAM,4BAA4B,CAAA;AAOrE,MAAM,CAAC,OAAO,UAAU,gBAAgB,CACtC,CAAC,EAAE,IAAI,CAAC,kBAAkB,GACzB,0BAA0B,CAO5B"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// Type-only circular import
|
|
2
|
-
// eslint-disable-next-line import/no-cycle
|
|
3
|
-
var internalSlotMap = new WeakMap();
|
|
4
|
-
export default function getInternalSlots(x) {
|
|
5
|
-
var internalSlots = internalSlotMap.get(x);
|
|
6
|
-
if (!internalSlots) {
|
|
7
|
-
internalSlots = Object.create(null);
|
|
8
|
-
internalSlotMap.set(x, internalSlots);
|
|
9
|
-
}
|
|
10
|
-
return internalSlots;
|
|
11
|
-
}
|
package/lib/index.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { LocaleFieldsData, RelativeTimeLocaleData } from '@formatjs/ecma402-abstract';
|
|
2
|
-
export default class RelativeTimeFormat {
|
|
3
|
-
constructor(locales?: string | string[], options?: Intl.RelativeTimeFormatOptions);
|
|
4
|
-
format(value: number, unit: Intl.RelativeTimeFormatUnit): string;
|
|
5
|
-
formatToParts(value: number, unit: Intl.RelativeTimeFormatUnit): Intl.RelativeTimeFormatPart[];
|
|
6
|
-
resolvedOptions(): Intl.ResolvedRelativeTimeFormatOptions;
|
|
7
|
-
static supportedLocalesOf(locales: string | string[], options?: Pick<Intl.RelativeTimeFormatOptions, 'localeMatcher'>): string[];
|
|
8
|
-
static __addLocaleData(...data: RelativeTimeLocaleData[]): void;
|
|
9
|
-
static localeData: Record<string, LocaleFieldsData>;
|
|
10
|
-
private static availableLocales;
|
|
11
|
-
private static __defaultLocale;
|
|
12
|
-
private static getDefaultLocale;
|
|
13
|
-
private static relevantExtensionKeys;
|
|
14
|
-
static polyfilled: boolean;
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/intl-relativetimeformat/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,gBAAgB,EAChB,sBAAsB,EAGvB,MAAM,4BAA4B,CAAA;AAKnC,MAAM,CAAC,OAAO,OAAO,kBAAkB;gBAEnC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,EAC3B,OAAO,CAAC,EAAE,IAAI,CAAC,yBAAyB;IAiB1C,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,sBAAsB,GAAG,MAAM;IAmBhE,aAAa,CACX,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,IAAI,CAAC,sBAAsB,GAChC,IAAI,CAAC,sBAAsB,EAAE;IAgBhC,eAAe,IAAI,IAAI,CAAC,iCAAiC;WAkB3C,kBAAkB,CAC9B,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,EAC1B,OAAO,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,yBAAyB,EAAE,eAAe,CAAC,GAC9D,MAAM,EAAE;WAQG,eAAe,CAAC,GAAG,IAAI,EAAE,sBAAsB,EAAE,GAAG,IAAI;IAetE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAK;IACxD,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAoB;IACnD,OAAO,CAAC,MAAM,CAAC,eAAe,CAAK;IACnC,OAAO,CAAC,MAAM,CAAC,gBAAgB;IAG/B,OAAO,CAAC,MAAM,CAAC,qBAAqB,CAAS;IAC7C,OAAc,UAAU,UAAO;CAChC"}
|
package/lib/index.js
DELETED
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import { CanonicalizeLocaleList, SupportedLocales, ToString, } from '@formatjs/ecma402-abstract';
|
|
2
|
-
import { InitializeRelativeTimeFormat } from './abstract/InitializeRelativeTimeFormat';
|
|
3
|
-
import { PartitionRelativeTimePattern } from './abstract/PartitionRelativeTimePattern';
|
|
4
|
-
import getInternalSlots from './get_internal_slots';
|
|
5
|
-
var RelativeTimeFormat = /** @class */ (function () {
|
|
6
|
-
function RelativeTimeFormat(locales, options) {
|
|
7
|
-
// test262/test/intl402/RelativeTimeFormat/constructor/constructor/newtarget-undefined.js
|
|
8
|
-
// Cannot use `new.target` bc of IE11 & TS transpiles it to something else
|
|
9
|
-
var newTarget = this && this instanceof RelativeTimeFormat ? this.constructor : void 0;
|
|
10
|
-
if (!newTarget) {
|
|
11
|
-
throw new TypeError("Intl.RelativeTimeFormat must be called with 'new'");
|
|
12
|
-
}
|
|
13
|
-
return InitializeRelativeTimeFormat(this, locales, options, {
|
|
14
|
-
getInternalSlots: getInternalSlots,
|
|
15
|
-
availableLocales: RelativeTimeFormat.availableLocales,
|
|
16
|
-
relevantExtensionKeys: RelativeTimeFormat.relevantExtensionKeys,
|
|
17
|
-
localeData: RelativeTimeFormat.localeData,
|
|
18
|
-
getDefaultLocale: RelativeTimeFormat.getDefaultLocale,
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
RelativeTimeFormat.prototype.format = function (value, unit) {
|
|
22
|
-
if (typeof this !== 'object') {
|
|
23
|
-
throw new TypeError('format was called on a non-object');
|
|
24
|
-
}
|
|
25
|
-
var internalSlots = getInternalSlots(this);
|
|
26
|
-
if (!internalSlots.initializedRelativeTimeFormat) {
|
|
27
|
-
throw new TypeError('format was called on a invalid context');
|
|
28
|
-
}
|
|
29
|
-
return PartitionRelativeTimePattern(this, Number(value), ToString(unit), {
|
|
30
|
-
getInternalSlots: getInternalSlots,
|
|
31
|
-
})
|
|
32
|
-
.map(function (el) { return el.value; })
|
|
33
|
-
.join('');
|
|
34
|
-
};
|
|
35
|
-
RelativeTimeFormat.prototype.formatToParts = function (value, unit) {
|
|
36
|
-
if (typeof this !== 'object') {
|
|
37
|
-
throw new TypeError('formatToParts was called on a non-object');
|
|
38
|
-
}
|
|
39
|
-
var internalSlots = getInternalSlots(this);
|
|
40
|
-
if (!internalSlots.initializedRelativeTimeFormat) {
|
|
41
|
-
throw new TypeError('formatToParts was called on a invalid context');
|
|
42
|
-
}
|
|
43
|
-
return PartitionRelativeTimePattern(this, Number(value), ToString(unit), { getInternalSlots: getInternalSlots });
|
|
44
|
-
};
|
|
45
|
-
RelativeTimeFormat.prototype.resolvedOptions = function () {
|
|
46
|
-
if (typeof this !== 'object') {
|
|
47
|
-
throw new TypeError('resolvedOptions was called on a non-object');
|
|
48
|
-
}
|
|
49
|
-
var internalSlots = getInternalSlots(this);
|
|
50
|
-
if (!internalSlots.initializedRelativeTimeFormat) {
|
|
51
|
-
throw new TypeError('resolvedOptions was called on a invalid context');
|
|
52
|
-
}
|
|
53
|
-
// test262/test/intl402/RelativeTimeFormat/prototype/resolvedOptions/type.js
|
|
54
|
-
return {
|
|
55
|
-
locale: internalSlots.locale,
|
|
56
|
-
style: internalSlots.style,
|
|
57
|
-
numeric: internalSlots.numeric,
|
|
58
|
-
numberingSystem: internalSlots.numberingSystem,
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
RelativeTimeFormat.supportedLocalesOf = function (locales, options) {
|
|
62
|
-
return SupportedLocales(RelativeTimeFormat.availableLocales, CanonicalizeLocaleList(locales), options);
|
|
63
|
-
};
|
|
64
|
-
RelativeTimeFormat.__addLocaleData = function () {
|
|
65
|
-
var data = [];
|
|
66
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
67
|
-
data[_i] = arguments[_i];
|
|
68
|
-
}
|
|
69
|
-
for (var _a = 0, data_1 = data; _a < data_1.length; _a++) {
|
|
70
|
-
var _b = data_1[_a], d = _b.data, locale = _b.locale;
|
|
71
|
-
var minimizedLocale = new Intl.Locale(locale)
|
|
72
|
-
.minimize()
|
|
73
|
-
.toString();
|
|
74
|
-
RelativeTimeFormat.localeData[locale] = RelativeTimeFormat.localeData[minimizedLocale] = d;
|
|
75
|
-
RelativeTimeFormat.availableLocales.add(minimizedLocale);
|
|
76
|
-
RelativeTimeFormat.availableLocales.add(locale);
|
|
77
|
-
if (!RelativeTimeFormat.__defaultLocale) {
|
|
78
|
-
RelativeTimeFormat.__defaultLocale = minimizedLocale;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
RelativeTimeFormat.getDefaultLocale = function () {
|
|
83
|
-
return RelativeTimeFormat.__defaultLocale;
|
|
84
|
-
};
|
|
85
|
-
RelativeTimeFormat.localeData = {};
|
|
86
|
-
RelativeTimeFormat.availableLocales = new Set();
|
|
87
|
-
RelativeTimeFormat.__defaultLocale = '';
|
|
88
|
-
RelativeTimeFormat.relevantExtensionKeys = ['nu'];
|
|
89
|
-
RelativeTimeFormat.polyfilled = true;
|
|
90
|
-
return RelativeTimeFormat;
|
|
91
|
-
}());
|
|
92
|
-
export default RelativeTimeFormat;
|
|
93
|
-
try {
|
|
94
|
-
// IE11 does not have Symbol
|
|
95
|
-
if (typeof Symbol !== 'undefined') {
|
|
96
|
-
Object.defineProperty(RelativeTimeFormat.prototype, Symbol.toStringTag, {
|
|
97
|
-
value: 'Intl.RelativeTimeFormat',
|
|
98
|
-
writable: false,
|
|
99
|
-
enumerable: false,
|
|
100
|
-
configurable: true,
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
// https://github.com/tc39/test262/blob/master/test/intl402/RelativeTimeFormat/constructor/length.js
|
|
104
|
-
Object.defineProperty(RelativeTimeFormat.prototype.constructor, 'length', {
|
|
105
|
-
value: 0,
|
|
106
|
-
writable: false,
|
|
107
|
-
enumerable: false,
|
|
108
|
-
configurable: true,
|
|
109
|
-
});
|
|
110
|
-
// https://github.com/tc39/test262/blob/master/test/intl402/RelativeTimeFormat/constructor/supportedLocalesOf/length.js
|
|
111
|
-
Object.defineProperty(RelativeTimeFormat.supportedLocalesOf, 'length', {
|
|
112
|
-
value: 1,
|
|
113
|
-
writable: false,
|
|
114
|
-
enumerable: false,
|
|
115
|
-
configurable: true,
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
catch (e) {
|
|
119
|
-
// Meta fix so we're test262-compliant, not important
|
|
120
|
-
}
|
package/lib/polyfill-force.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"polyfill-force.d.ts","sourceRoot":"","sources":["../../../../../../packages/intl-relativetimeformat/polyfill-force.ts"],"names":[],"mappings":""}
|
package/lib/polyfill-force.js
DELETED
package/lib/polyfill.d.ts
DELETED
package/lib/polyfill.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"polyfill.d.ts","sourceRoot":"","sources":["../../../../../../packages/intl-relativetimeformat/polyfill.ts"],"names":[],"mappings":""}
|
package/lib/polyfill.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import RelativeTimeFormat from './';
|
|
2
|
-
import { shouldPolyfill } from './should-polyfill';
|
|
3
|
-
if (shouldPolyfill()) {
|
|
4
|
-
Object.defineProperty(Intl, 'RelativeTimeFormat', {
|
|
5
|
-
value: RelativeTimeFormat,
|
|
6
|
-
writable: true,
|
|
7
|
-
enumerable: false,
|
|
8
|
-
configurable: true,
|
|
9
|
-
});
|
|
10
|
-
}
|
package/lib/should-polyfill.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"should-polyfill.d.ts","sourceRoot":"","sources":["../../../../../../packages/intl-relativetimeformat/should-polyfill.ts"],"names":[],"mappings":"AA2BA,wBAAgB,cAAc,CAAC,MAAM,SAAO,sBAQ3C"}
|
package/lib/should-polyfill.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { match } from '@formatjs/intl-localematcher';
|
|
2
|
-
import { supportedLocales } from './supported-locales';
|
|
3
|
-
function supportedLocalesOf(locale) {
|
|
4
|
-
if (!locale) {
|
|
5
|
-
return true;
|
|
6
|
-
}
|
|
7
|
-
var locales = Array.isArray(locale) ? locale : [locale];
|
|
8
|
-
return (Intl.RelativeTimeFormat.supportedLocalesOf(locales).length ===
|
|
9
|
-
locales.length);
|
|
10
|
-
}
|
|
11
|
-
function hasResolvedOptionsNumberingSystem(locale) {
|
|
12
|
-
try {
|
|
13
|
-
return ('numberingSystem' in
|
|
14
|
-
new Intl.RelativeTimeFormat(locale || 'en', {
|
|
15
|
-
numeric: 'auto',
|
|
16
|
-
}).resolvedOptions());
|
|
17
|
-
}
|
|
18
|
-
catch (_) {
|
|
19
|
-
return false;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
export function shouldPolyfill(locale) {
|
|
23
|
-
if (locale === void 0) { locale = 'en'; }
|
|
24
|
-
if (!('RelativeTimeFormat' in Intl) ||
|
|
25
|
-
!supportedLocalesOf(locale) ||
|
|
26
|
-
!hasResolvedOptionsNumberingSystem(locale)) {
|
|
27
|
-
return match([locale], supportedLocales, 'en');
|
|
28
|
-
}
|
|
29
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"supported-locales.d.ts","sourceRoot":"","sources":["../../../../../../packages/intl-relativetimeformat/supported-locales.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,gBAAgB,EAAE,MAAM,EAAsqI,CAAA"}
|
package/lib/supported-locales.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// This file is generated from supported-locales-gen.ts
|
|
2
|
-
export var supportedLocales = ["af-NA", "af", "agq", "ak", "am", "ar-AE", "ar-BH", "ar-DJ", "ar-DZ", "ar-EG", "ar-EH", "ar-ER", "ar-IL", "ar-IQ", "ar-JO", "ar-KM", "ar-KW", "ar-LB", "ar-LY", "ar-MA", "ar-MR", "ar-OM", "ar-PS", "ar-QA", "ar-SA", "ar-SD", "ar-SO", "ar-SS", "ar-SY", "ar-TD", "ar-TN", "ar-YE", "ar", "as", "asa", "ast", "az-Cyrl", "az-Latn", "az", "bas", "be-tarask", "be", "bem", "bez", "bg", "bm", "bn-IN", "bn", "bo-IN", "bo", "br", "brx", "bs-Cyrl", "bs-Latn", "bs", "ca-AD", "ca-ES-valencia", "ca-FR", "ca-IT", "ca", "ccp-IN", "ccp", "ce", "ceb", "cgg", "chr", "ckb-IR", "ckb", "cs", "cy", "da-GL", "da", "dav", "de-AT", "de-BE", "de-CH", "de-IT", "de-LI", "de-LU", "de", "dje", "doi", "dsb", "dua", "dyo", "dz", "ebu", "ee-TG", "ee", "el-CY", "el", "en-001", "en-150", "en-AE", "en-AG", "en-AI", "en-AS", "en-AT", "en-AU", "en-BB", "en-BE", "en-BI", "en-BM", "en-BS", "en-BW", "en-BZ", "en-CA", "en-CC", "en-CH", "en-CK", "en-CM", "en-CX", "en-CY", "en-DE", "en-DG", "en-DK", "en-DM", "en-ER", "en-FI", "en-FJ", "en-FK", "en-FM", "en-GB", "en-GD", "en-GG", "en-GH", "en-GI", "en-GM", "en-GU", "en-GY", "en-HK", "en-IE", "en-IL", "en-IM", "en-IN", "en-IO", "en-JE", "en-JM", "en-KE", "en-KI", "en-KN", "en-KY", "en-LC", "en-LR", "en-LS", "en-MG", "en-MH", "en-MO", "en-MP", "en-MS", "en-MT", "en-MU", "en-MW", "en-MY", "en-NA", "en-NF", "en-NG", "en-NL", "en-NR", "en-NU", "en-NZ", "en-PG", "en-PH", "en-PK", "en-PN", "en-PR", "en-PW", "en-RW", "en-SB", "en-SC", "en-SD", "en-SE", "en-SG", "en-SH", "en-SI", "en-SL", "en-SS", "en-SX", "en-SZ", "en-TC", "en-TK", "en-TO", "en-TT", "en-TV", "en-TZ", "en-UG", "en-UM", "en-VC", "en-VG", "en-VI", "en-VU", "en-WS", "en-ZA", "en-ZM", "en-ZW", "en", "eo", "es-419", "es-AR", "es-BO", "es-BR", "es-BZ", "es-CL", "es-CO", "es-CR", "es-CU", "es-DO", "es-EA", "es-EC", "es-GQ", "es-GT", "es-HN", "es-IC", "es-MX", "es-NI", "es-PA", "es-PE", "es-PH", "es-PR", "es-PY", "es-SV", "es-US", "es-UY", "es-VE", "es", "et", "eu", "ewo", "fa-AF", "fa", "ff-Adlm-BF", "ff-Adlm-CM", "ff-Adlm-GH", "ff-Adlm-GM", "ff-Adlm-GW", "ff-Adlm-LR", "ff-Adlm-MR", "ff-Adlm-NE", "ff-Adlm-NG", "ff-Adlm-SL", "ff-Adlm-SN", "ff-Adlm", "ff-Latn-BF", "ff-Latn-CM", "ff-Latn-GH", "ff-Latn-GM", "ff-Latn-GN", "ff-Latn-GW", "ff-Latn-LR", "ff-Latn-MR", "ff-Latn-NE", "ff-Latn-NG", "ff-Latn-SL", "ff-Latn", "ff", "fi", "fil", "fo-DK", "fo", "fr-BE", "fr-BF", "fr-BI", "fr-BJ", "fr-BL", "fr-CA", "fr-CD", "fr-CF", "fr-CG", "fr-CH", "fr-CI", "fr-CM", "fr-DJ", "fr-DZ", "fr-GA", "fr-GF", "fr-GN", "fr-GP", "fr-GQ", "fr-HT", "fr-KM", "fr-LU", "fr-MA", "fr-MC", "fr-MF", "fr-MG", "fr-ML", "fr-MQ", "fr-MR", "fr-MU", "fr-NC", "fr-NE", "fr-PF", "fr-PM", "fr-RE", "fr-RW", "fr-SC", "fr-SN", "fr-SY", "fr-TD", "fr-TG", "fr-TN", "fr-VU", "fr-WF", "fr-YT", "fr", "fur", "fy", "ga-GB", "ga", "gd", "gl", "gsw-FR", "gsw-LI", "gsw", "gu", "guz", "gv", "ha-GH", "ha-NE", "ha", "haw", "he", "hi", "hr-BA", "hr", "hsb", "hu", "hy", "ia", "id", "ig", "ii", "is", "it-CH", "it-SM", "it-VA", "it", "ja", "jgo", "jmc", "jv", "ka", "kab", "kam", "kde", "kea", "kgp", "khq", "ki", "kk", "kkj", "kl", "kln", "km", "kn", "ko-KP", "ko", "kok", "ks-Arab", "ks", "ksb", "ksf", "ksh", "ku", "kw", "ky", "lag", "lb", "lg", "lkt", "ln-AO", "ln-CF", "ln-CG", "ln", "lo", "lrc-IQ", "lrc", "lt", "lu", "luo", "luy", "lv", "mai", "mas-TZ", "mas", "mer", "mfe", "mg", "mgh", "mgo", "mi", "mk", "ml", "mn", "mni-Beng", "mni", "mr", "ms-BN", "ms-ID", "ms-SG", "ms", "mt", "mua", "my", "mzn", "naq", "nb-SJ", "nb", "nd", "nds-NL", "nds", "ne-IN", "ne", "nl-AW", "nl-BE", "nl-BQ", "nl-CW", "nl-SR", "nl-SX", "nl", "nmg", "nn", "nnh", "no", "nus", "nyn", "om-KE", "om", "or", "os-RU", "os", "pa-Arab", "pa-Guru", "pa", "pcm", "pl", "ps-PK", "ps", "pt-AO", "pt-CH", "pt-CV", "pt-GQ", "pt-GW", "pt-LU", "pt-MO", "pt-MZ", "pt-PT", "pt-ST", "pt-TL", "pt", "qu-BO", "qu-EC", "qu", "rm", "rn", "ro-MD", "ro", "rof", "ru-BY", "ru-KG", "ru-KZ", "ru-MD", "ru-UA", "ru", "rw", "rwk", "sa", "sah", "saq", "sat-Olck", "sat", "sbp", "sc", "sd-Arab", "sd-Deva", "sd", "se-FI", "se-SE", "se", "seh", "ses", "sg", "shi-Latn", "shi-Tfng", "shi", "si", "sk", "sl", "smn", "sn", "so-DJ", "so-ET", "so-KE", "so", "sq-MK", "sq-XK", "sq", "sr-Cyrl-BA", "sr-Cyrl-ME", "sr-Cyrl-XK", "sr-Cyrl", "sr-Latn-BA", "sr-Latn-ME", "sr-Latn-XK", "sr-Latn", "sr", "su-Latn", "su", "sv-AX", "sv-FI", "sv", "sw-CD", "sw-KE", "sw-UG", "sw", "ta-LK", "ta-MY", "ta-SG", "ta", "te", "teo-KE", "teo", "tg", "th", "ti-ER", "ti", "tk", "to", "tr-CY", "tr", "tt", "twq", "tzm", "ug", "uk", "und", "ur-IN", "ur", "uz-Arab", "uz-Cyrl", "uz-Latn", "uz", "vai-Latn", "vai-Vaii", "vai", "vi", "vun", "wae", "wo", "xh", "xog", "yav", "yi", "yo-BJ", "yo", "yrl-CO", "yrl-VE", "yrl", "yue-Hans", "yue-Hant", "yue", "zgh", "zh-Hans-HK", "zh-Hans-MO", "zh-Hans-SG", "zh-Hans", "zh-Hant-HK", "zh-Hant-MO", "zh-Hant", "zh", "zu"];
|
package/locale-data/af-NA.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {}
|
package/locale-data/af-NA.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/* @generated */
|
|
2
|
-
// prettier-ignore
|
|
3
|
-
if (Intl.RelativeTimeFormat && typeof Intl.RelativeTimeFormat.__addLocaleData === 'function') {
|
|
4
|
-
Intl.RelativeTimeFormat.__addLocaleData({"data":{"nu":["latn"],"year":{"0":"hierdie jaar","1":"volgende jaar","future":{"one":"oor {0} jaar","other":"oor {0} jaar"},"past":{"one":"{0} jaar gelede","other":"{0} jaar gelede"},"-1":"verlede jaar"},"year-short":{"0":"hierdie j.","1":"volgende j.","future":{"one":"oor {0} j.","other":"oor {0} j."},"past":{"one":"{0} j. gelede","other":"{0} j. gelede"},"-1":"verlede j."},"year-narrow":{"0":"hierdie j.","1":"volgende j.","future":{"one":"oor {0} j.","other":"oor {0} j."},"past":{"one":"{0} j. gelede","other":"{0} j. gelede"},"-1":"verlede j."},"quarter":{"0":"hierdie kwartaal","1":"volgende kwartaal","future":{"one":"oor {0} kwartaal","other":"oor {0} kwartale"},"past":{"one":"{0} kwartaal gelede","other":"{0} kwartale gelede"},"-1":"verlede kwartaal"},"quarter-short":{"0":"hierdie kwartaal","1":"volgende kwartaal","future":{"one":"oor {0} kw.","other":"oor {0} kw."},"past":{"one":"{0} kw. gelede","other":"{0} kw. gelede"},"-1":"verlede kwartaal"},"quarter-narrow":{"0":"hierdie kwartaal","1":"volgende kwartaal","future":{"one":"oor {0} kw.","other":"oor {0} kw."},"past":{"one":"{0} kw. gelede","other":"{0} kw. gelede"},"-1":"verlede kwartaal"},"month":{"0":"vandeesmaand","1":"volgende maand","future":{"one":"oor {0} maand","other":"oor {0} maande"},"past":{"one":"{0} maand gelede","other":"{0} maande gelede"},"-1":"verlede maand"},"month-short":{"0":"hierdie md.","1":"volgende md.","future":{"one":"oor {0} md.","other":"oor {0} md."},"past":{"one":"{0} md. gelede","other":"{0} md. gelede"},"-1":"verlede md."},"month-narrow":{"0":"hierdie md.","1":"volgende md.","future":{"one":"oor {0} md.","other":"oor {0} md."},"past":{"one":"{0} md. gelede","other":"{0} md. gelede"},"-1":"verlede md."},"week":{"0":"hierdie week","1":"volgende week","future":{"one":"oor {0} week","other":"oor {0} weke"},"past":{"one":"{0} week gelede","other":"{0} weke gelede"},"-1":"verlede week"},"week-short":{"0":"hierdie w.","1":"volgende w.","future":{"one":"oor {0} w.","other":"oor {0} w."},"past":{"one":"{0} w. gelede","other":"{0} w. gelede"},"-1":"verlede w."},"week-narrow":{"0":"hierdie w.","1":"volgende w.","future":{"one":"oor {0} w.","other":"oor {0} w."},"past":{"one":"{0} w. gelede","other":"{0} w. gelede"},"-1":"verlede w."},"day":{"0":"vandag","1":"môre","2":"oormôre","future":{"one":"oor {0} dag","other":"oor {0} dae"},"past":{"one":"{0} dag gelede","other":"{0} dae gelede"},"-2":"eergister","-1":"gister"},"day-short":{"0":"vandag","1":"môre","2":"oormôre","future":{"one":"oor {0} dag","other":"oor {0} dae"},"past":{"one":"{0} dag gelede","other":"{0} dae gelede"},"-2":"eergister","-1":"gister"},"day-narrow":{"0":"vandag","1":"môre","2":"oormôre","future":{"one":"oor {0} dag","other":"oor {0} dae"},"past":{"one":"{0} dag gelede","other":"{0} dae gelede"},"-2":"eergister","-1":"gister"},"hour":{"0":"hierdie uur","future":{"one":"oor {0} uur","other":"oor {0} uur"},"past":{"one":"{0} uur gelede","other":"{0} uur gelede"}},"hour-short":{"0":"hierdie uur","future":{"one":"oor {0} u.","other":"oor {0} u."},"past":{"one":"{0} u. gelede","other":"{0} u. gelede"}},"hour-narrow":{"0":"hierdie uur","future":{"one":"oor {0} u.","other":"oor {0} u."},"past":{"one":"{0} u. gelede","other":"{0} u. gelede"}},"minute":{"0":"hierdie minuut","future":{"one":"oor {0} minuut","other":"oor {0} minute"},"past":{"one":"{0} minuut gelede","other":"{0} minute gelede"}},"minute-short":{"0":"hierdie minuut","future":{"one":"oor {0} min.","other":"oor {0} min."},"past":{"one":"{0} min. gelede","other":"{0} min. gelede"}},"minute-narrow":{"0":"hierdie minuut","future":{"one":"oor {0} min.","other":"oor {0} min."},"past":{"one":"{0} min. gelede","other":"{0} min. gelede"}},"second":{"0":"nou","future":{"one":"oor {0} sekonde","other":"oor {0} sekondes"},"past":{"one":"{0} sekonde gelede","other":"{0} sekondes gelede"}},"second-short":{"0":"nou","future":{"one":"oor {0} s.","other":"oor {0} s."},"past":{"one":"{0} s. gelede","other":"{0} s. gelede"}},"second-narrow":{"0":"nou","future":{"one":"oor {0} s.","other":"oor {0} s."},"past":{"one":"{0} s. gelede","other":"{0} s. gelede"}}},"locale":"af-NA"}
|
|
5
|
-
)
|
|
6
|
-
}
|
package/locale-data/af.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {}
|
package/locale-data/af.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/* @generated */
|
|
2
|
-
// prettier-ignore
|
|
3
|
-
if (Intl.RelativeTimeFormat && typeof Intl.RelativeTimeFormat.__addLocaleData === 'function') {
|
|
4
|
-
Intl.RelativeTimeFormat.__addLocaleData({"data":{"nu":["latn"],"year":{"0":"hierdie jaar","1":"volgende jaar","future":{"one":"oor {0} jaar","other":"oor {0} jaar"},"past":{"one":"{0} jaar gelede","other":"{0} jaar gelede"},"-1":"verlede jaar"},"year-short":{"0":"hierdie j.","1":"volgende j.","future":{"one":"oor {0} j.","other":"oor {0} j."},"past":{"one":"{0} j. gelede","other":"{0} j. gelede"},"-1":"verlede j."},"year-narrow":{"0":"hierdie j.","1":"volgende j.","future":{"one":"oor {0} j.","other":"oor {0} j."},"past":{"one":"{0} j. gelede","other":"{0} j. gelede"},"-1":"verlede j."},"quarter":{"0":"hierdie kwartaal","1":"volgende kwartaal","future":{"one":"oor {0} kwartaal","other":"oor {0} kwartale"},"past":{"one":"{0} kwartaal gelede","other":"{0} kwartale gelede"},"-1":"verlede kwartaal"},"quarter-short":{"0":"hierdie kwartaal","1":"volgende kwartaal","future":{"one":"oor {0} kw.","other":"oor {0} kw."},"past":{"one":"{0} kw. gelede","other":"{0} kw. gelede"},"-1":"verlede kwartaal"},"quarter-narrow":{"0":"hierdie kwartaal","1":"volgende kwartaal","future":{"one":"oor {0} kw.","other":"oor {0} kw."},"past":{"one":"{0} kw. gelede","other":"{0} kw. gelede"},"-1":"verlede kwartaal"},"month":{"0":"vandeesmaand","1":"volgende maand","future":{"one":"oor {0} maand","other":"oor {0} maande"},"past":{"one":"{0} maand gelede","other":"{0} maande gelede"},"-1":"verlede maand"},"month-short":{"0":"hierdie md.","1":"volgende md.","future":{"one":"oor {0} md.","other":"oor {0} md."},"past":{"one":"{0} md. gelede","other":"{0} md. gelede"},"-1":"verlede md."},"month-narrow":{"0":"hierdie md.","1":"volgende md.","future":{"one":"oor {0} md.","other":"oor {0} md."},"past":{"one":"{0} md. gelede","other":"{0} md. gelede"},"-1":"verlede md."},"week":{"0":"hierdie week","1":"volgende week","future":{"one":"oor {0} week","other":"oor {0} weke"},"past":{"one":"{0} week gelede","other":"{0} weke gelede"},"-1":"verlede week"},"week-short":{"0":"hierdie w.","1":"volgende w.","future":{"one":"oor {0} w.","other":"oor {0} w."},"past":{"one":"{0} w. gelede","other":"{0} w. gelede"},"-1":"verlede w."},"week-narrow":{"0":"hierdie w.","1":"volgende w.","future":{"one":"oor {0} w.","other":"oor {0} w."},"past":{"one":"{0} w. gelede","other":"{0} w. gelede"},"-1":"verlede w."},"day":{"0":"vandag","1":"môre","2":"oormôre","future":{"one":"oor {0} dag","other":"oor {0} dae"},"past":{"one":"{0} dag gelede","other":"{0} dae gelede"},"-2":"eergister","-1":"gister"},"day-short":{"0":"vandag","1":"môre","2":"oormôre","future":{"one":"oor {0} dag","other":"oor {0} dae"},"past":{"one":"{0} dag gelede","other":"{0} dae gelede"},"-2":"eergister","-1":"gister"},"day-narrow":{"0":"vandag","1":"môre","2":"oormôre","future":{"one":"oor {0} dag","other":"oor {0} dae"},"past":{"one":"{0} dag gelede","other":"{0} dae gelede"},"-2":"eergister","-1":"gister"},"hour":{"0":"hierdie uur","future":{"one":"oor {0} uur","other":"oor {0} uur"},"past":{"one":"{0} uur gelede","other":"{0} uur gelede"}},"hour-short":{"0":"hierdie uur","future":{"one":"oor {0} u.","other":"oor {0} u."},"past":{"one":"{0} u. gelede","other":"{0} u. gelede"}},"hour-narrow":{"0":"hierdie uur","future":{"one":"oor {0} u.","other":"oor {0} u."},"past":{"one":"{0} u. gelede","other":"{0} u. gelede"}},"minute":{"0":"hierdie minuut","future":{"one":"oor {0} minuut","other":"oor {0} minute"},"past":{"one":"{0} minuut gelede","other":"{0} minute gelede"}},"minute-short":{"0":"hierdie minuut","future":{"one":"oor {0} min.","other":"oor {0} min."},"past":{"one":"{0} min. gelede","other":"{0} min. gelede"}},"minute-narrow":{"0":"hierdie minuut","future":{"one":"oor {0} min.","other":"oor {0} min."},"past":{"one":"{0} min. gelede","other":"{0} min. gelede"}},"second":{"0":"nou","future":{"one":"oor {0} sekonde","other":"oor {0} sekondes"},"past":{"one":"{0} sekonde gelede","other":"{0} sekondes gelede"}},"second-short":{"0":"nou","future":{"one":"oor {0} s.","other":"oor {0} s."},"past":{"one":"{0} s. gelede","other":"{0} s. gelede"}},"second-narrow":{"0":"nou","future":{"one":"oor {0} s.","other":"oor {0} s."},"past":{"one":"{0} s. gelede","other":"{0} s. gelede"}}},"locale":"af"}
|
|
5
|
-
)
|
|
6
|
-
}
|
package/locale-data/agq.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {}
|
package/locale-data/agq.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/* @generated */
|
|
2
|
-
// prettier-ignore
|
|
3
|
-
if (Intl.RelativeTimeFormat && typeof Intl.RelativeTimeFormat.__addLocaleData === 'function') {
|
|
4
|
-
Intl.RelativeTimeFormat.__addLocaleData({"data":{"nu":["latn"],"year":{"0":"this year","1":"next year","future":{"other":"+{0} y"},"past":{"other":"-{0} y"},"-1":"last year"},"year-short":{"0":"this year","1":"next year","future":{"other":"+{0} y"},"past":{"other":"-{0} y"},"-1":"last year"},"year-narrow":{"0":"this year","1":"next year","future":{"other":"+{0} y"},"past":{"other":"-{0} y"},"-1":"last year"},"quarter":{"0":"this quarter","1":"next quarter","future":{"other":"+{0} Q"},"past":{"other":"-{0} Q"},"-1":"last quarter"},"quarter-short":{"0":"this quarter","1":"next quarter","future":{"other":"+{0} Q"},"past":{"other":"-{0} Q"},"-1":"last quarter"},"quarter-narrow":{"0":"this quarter","1":"next quarter","future":{"other":"+{0} Q"},"past":{"other":"-{0} Q"},"-1":"last quarter"},"month":{"0":"this month","1":"next month","future":{"other":"+{0} m"},"past":{"other":"-{0} m"},"-1":"last month"},"month-short":{"0":"this month","1":"next month","future":{"other":"+{0} m"},"past":{"other":"-{0} m"},"-1":"last month"},"month-narrow":{"0":"this month","1":"next month","future":{"other":"+{0} m"},"past":{"other":"-{0} m"},"-1":"last month"},"week":{"0":"this week","1":"next week","future":{"other":"+{0} w"},"past":{"other":"-{0} w"},"-1":"last week"},"week-short":{"0":"this week","1":"next week","future":{"other":"+{0} w"},"past":{"other":"-{0} w"},"-1":"last week"},"week-narrow":{"0":"this week","1":"next week","future":{"other":"+{0} w"},"past":{"other":"-{0} w"},"-1":"last week"},"day":{"0":"nɛ","1":"tsʉtsʉ","future":{"other":"+{0} d"},"past":{"other":"-{0} d"},"-1":"ā zūɛɛ"},"day-short":{"0":"nɛ","1":"tsʉtsʉ","future":{"other":"+{0} d"},"past":{"other":"-{0} d"},"-1":"ā zūɛɛ"},"day-narrow":{"0":"nɛ","1":"tsʉtsʉ","future":{"other":"+{0} d"},"past":{"other":"-{0} d"},"-1":"ā zūɛɛ"},"hour":{"0":"this hour","future":{"other":"+{0} h"},"past":{"other":"-{0} h"}},"hour-short":{"0":"this hour","future":{"other":"+{0} h"},"past":{"other":"-{0} h"}},"hour-narrow":{"0":"this hour","future":{"other":"+{0} h"},"past":{"other":"-{0} h"}},"minute":{"0":"this minute","future":{"other":"+{0} min"},"past":{"other":"-{0} min"}},"minute-short":{"0":"this minute","future":{"other":"+{0} min"},"past":{"other":"-{0} min"}},"minute-narrow":{"0":"this minute","future":{"other":"+{0} min"},"past":{"other":"-{0} min"}},"second":{"0":"now","future":{"other":"+{0} s"},"past":{"other":"-{0} s"}},"second-short":{"0":"now","future":{"other":"+{0} s"},"past":{"other":"-{0} s"}},"second-narrow":{"0":"now","future":{"other":"+{0} s"},"past":{"other":"-{0} s"}}},"locale":"agq"}
|
|
5
|
-
)
|
|
6
|
-
}
|
package/locale-data/ak.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {}
|
package/locale-data/ak.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/* @generated */
|
|
2
|
-
// prettier-ignore
|
|
3
|
-
if (Intl.RelativeTimeFormat && typeof Intl.RelativeTimeFormat.__addLocaleData === 'function') {
|
|
4
|
-
Intl.RelativeTimeFormat.__addLocaleData({"data":{"nu":["latn"],"year":{"0":"this year","1":"next year","future":{"other":"+{0} y"},"past":{"other":"-{0} y"},"-1":"last year"},"year-short":{"0":"this year","1":"next year","future":{"other":"+{0} y"},"past":{"other":"-{0} y"},"-1":"last year"},"year-narrow":{"0":"this year","1":"next year","future":{"other":"+{0} y"},"past":{"other":"-{0} y"},"-1":"last year"},"quarter":{"0":"this quarter","1":"next quarter","future":{"other":"+{0} Q"},"past":{"other":"-{0} Q"},"-1":"last quarter"},"quarter-short":{"0":"this quarter","1":"next quarter","future":{"other":"+{0} Q"},"past":{"other":"-{0} Q"},"-1":"last quarter"},"quarter-narrow":{"0":"this quarter","1":"next quarter","future":{"other":"+{0} Q"},"past":{"other":"-{0} Q"},"-1":"last quarter"},"month":{"0":"this month","1":"next month","future":{"other":"+{0} m"},"past":{"other":"-{0} m"},"-1":"last month"},"month-short":{"0":"this month","1":"next month","future":{"other":"+{0} m"},"past":{"other":"-{0} m"},"-1":"last month"},"month-narrow":{"0":"this month","1":"next month","future":{"other":"+{0} m"},"past":{"other":"-{0} m"},"-1":"last month"},"week":{"0":"this week","1":"next week","future":{"other":"+{0} w"},"past":{"other":"-{0} w"},"-1":"last week"},"week-short":{"0":"this week","1":"next week","future":{"other":"+{0} w"},"past":{"other":"-{0} w"},"-1":"last week"},"week-narrow":{"0":"this week","1":"next week","future":{"other":"+{0} w"},"past":{"other":"-{0} w"},"-1":"last week"},"day":{"0":"Ndɛ","1":"Ɔkyena","future":{"other":"+{0} d"},"past":{"other":"-{0} d"},"-1":"Ndeda"},"day-short":{"0":"Ndɛ","1":"Ɔkyena","future":{"other":"+{0} d"},"past":{"other":"-{0} d"},"-1":"Ndeda"},"day-narrow":{"0":"Ndɛ","1":"Ɔkyena","future":{"other":"+{0} d"},"past":{"other":"-{0} d"},"-1":"Ndeda"},"hour":{"0":"this hour","future":{"other":"+{0} h"},"past":{"other":"-{0} h"}},"hour-short":{"0":"this hour","future":{"other":"+{0} h"},"past":{"other":"-{0} h"}},"hour-narrow":{"0":"this hour","future":{"other":"+{0} h"},"past":{"other":"-{0} h"}},"minute":{"0":"this minute","future":{"other":"+{0} min"},"past":{"other":"-{0} min"}},"minute-short":{"0":"this minute","future":{"other":"+{0} min"},"past":{"other":"-{0} min"}},"minute-narrow":{"0":"this minute","future":{"other":"+{0} min"},"past":{"other":"-{0} min"}},"second":{"0":"now","future":{"other":"+{0} s"},"past":{"other":"-{0} s"}},"second-short":{"0":"now","future":{"other":"+{0} s"},"past":{"other":"-{0} s"}},"second-narrow":{"0":"now","future":{"other":"+{0} s"},"past":{"other":"-{0} s"}}},"locale":"ak"}
|
|
5
|
-
)
|
|
6
|
-
}
|
package/locale-data/am.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {}
|