@angular/common 20.1.3 → 20.1.5
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/common_module.d.d.ts +1 -1
- package/fesm2022/common.mjs +14 -14
- package/fesm2022/common.mjs.map +1 -1
- package/fesm2022/common_module.mjs +87 -87
- package/fesm2022/common_module.mjs.map +1 -1
- package/fesm2022/http/testing.mjs +8 -8
- package/fesm2022/http.mjs +7 -1
- package/fesm2022/http.mjs.map +1 -1
- package/fesm2022/location.mjs +16 -16
- package/fesm2022/module.mjs +55 -40
- package/fesm2022/module.mjs.map +1 -1
- package/fesm2022/platform_navigation.mjs +4 -4
- package/fesm2022/testing.mjs +13 -13
- package/fesm2022/upgrade.mjs +5 -5
- package/fesm2022/xhr.mjs +1 -1
- package/http/index.d.ts +1 -1
- package/http/testing/index.d.ts +1 -1
- package/index.d.ts +1 -1
- package/module.d.d.ts +1 -1
- package/package.json +2 -2
- package/platform_location.d.d.ts +1 -1
- package/testing/index.d.ts +1 -1
- package/upgrade/index.d.ts +1 -1
- package/xhr.d.d.ts +1 -1
- package/locales/af-NA.d.ts +0 -22
- package/locales/af.d.ts +0 -21
- package/locales/agq.d.ts +0 -13
- package/locales/ak.d.ts +0 -14
- package/locales/am.d.ts +0 -20
- package/locales/ar-AE.d.ts +0 -62
- package/locales/ar-BH.d.ts +0 -63
- package/locales/ar-DJ.d.ts +0 -64
- package/locales/ar-DZ.d.ts +0 -63
- package/locales/ar-EG.d.ts +0 -63
- package/locales/ar-EH.d.ts +0 -63
- package/locales/ar-ER.d.ts +0 -64
- package/locales/ar-IL.d.ts +0 -63
- package/locales/ar-IQ.d.ts +0 -63
- package/locales/ar-JO.d.ts +0 -63
- package/locales/ar-KM.d.ts +0 -64
- package/locales/ar-KW.d.ts +0 -63
- package/locales/ar-LB.d.ts +0 -62
- package/locales/ar-LY.d.ts +0 -63
- package/locales/ar-MA.d.ts +0 -63
- package/locales/ar-MR.d.ts +0 -63
- package/locales/ar-OM.d.ts +0 -63
- package/locales/ar-PS.d.ts +0 -63
- package/locales/ar-QA.d.ts +0 -63
- package/locales/ar-SA.d.ts +0 -63
- package/locales/ar-SD.d.ts +0 -63
- package/locales/ar-SO.d.ts +0 -64
- package/locales/ar-SS.d.ts +0 -64
- package/locales/ar-SY.d.ts +0 -63
- package/locales/ar-TD.d.ts +0 -63
- package/locales/ar-TN.d.ts +0 -63
- package/locales/ar-YE.d.ts +0 -63
- package/locales/ar.d.ts +0 -63
- package/locales/as.d.ts +0 -15
- package/locales/asa.d.ts +0 -14
- package/locales/ast.d.ts +0 -21
- package/locales/az-Cyrl.d.ts +0 -14
- package/locales/az-Latn.d.ts +0 -20
- package/locales/az.d.ts +0 -20
- package/locales/bas.d.ts +0 -13
- package/locales/be-tarask.d.ts +0 -39
- package/locales/be.d.ts +0 -39
- package/locales/bem.d.ts +0 -14
- package/locales/bez.d.ts +0 -14
- package/locales/bg.d.ts +0 -68
- package/locales/bm.d.ts +0 -13
- package/locales/bn-IN.d.ts +0 -18
- package/locales/bn.d.ts +0 -18
- package/locales/bo-IN.d.ts +0 -13
- package/locales/bo.d.ts +0 -14
- package/locales/br.d.ts +0 -32
- package/locales/brx.d.ts +0 -14
- package/locales/bs-Cyrl.d.ts +0 -17
- package/locales/bs-Latn.d.ts +0 -30
- package/locales/bs.d.ts +0 -30
- package/locales/ca-AD.d.ts +0 -24
- package/locales/ca-ES-valencia.d.ts +0 -24
- package/locales/ca-FR.d.ts +0 -25
- package/locales/ca-IT.d.ts +0 -24
- package/locales/ca.d.ts +0 -24
- package/locales/ccp-IN.d.ts +0 -19
- package/locales/ccp.d.ts +0 -19
- package/locales/ce.d.ts +0 -17
- package/locales/ceb.d.ts +0 -13
- package/locales/cgg.d.ts +0 -14
- package/locales/chr.d.ts +0 -14
- package/locales/ckb-IR.d.ts +0 -14
- package/locales/ckb.d.ts +0 -14
- package/locales/cs.d.ts +0 -26
- package/locales/cy.d.ts +0 -24
- package/locales/da-GL.d.ts +0 -23
- package/locales/da.d.ts +0 -23
- package/locales/dav.d.ts +0 -14
- package/locales/de-AT.d.ts +0 -31
- package/locales/de-BE.d.ts +0 -31
- package/locales/de-CH.d.ts +0 -32
- package/locales/de-IT.d.ts +0 -31
- package/locales/de-LI.d.ts +0 -32
- package/locales/de-LU.d.ts +0 -32
- package/locales/de.d.ts +0 -31
- package/locales/dje.d.ts +0 -13
- package/locales/doi.d.ts +0 -9
- package/locales/dsb.d.ts +0 -14
- package/locales/dua.d.ts +0 -13
- package/locales/dyo.d.ts +0 -13
- package/locales/dz.d.ts +0 -19
- package/locales/ebu.d.ts +0 -14
- package/locales/ee-TG.d.ts +0 -17
- package/locales/ee.d.ts +0 -17
- package/locales/el-CY.d.ts +0 -16
- package/locales/el.d.ts +0 -16
- package/locales/en-001.d.ts +0 -13
- package/locales/en-150.d.ts +0 -13
- package/locales/en-AE.d.ts +0 -9
- package/locales/en-AG.d.ts +0 -14
- package/locales/en-AI.d.ts +0 -14
- package/locales/en-AS.d.ts +0 -9
- package/locales/en-AT.d.ts +0 -13
- package/locales/en-AU.d.ts +0 -40
- package/locales/en-BB.d.ts +0 -14
- package/locales/en-BE.d.ts +0 -13
- package/locales/en-BI.d.ts +0 -12
- package/locales/en-BM.d.ts +0 -14
- package/locales/en-BS.d.ts +0 -14
- package/locales/en-BW.d.ts +0 -14
- package/locales/en-BZ.d.ts +0 -14
- package/locales/en-CA.d.ts +0 -14
- package/locales/en-CC.d.ts +0 -14
- package/locales/en-CH.d.ts +0 -13
- package/locales/en-CK.d.ts +0 -14
- package/locales/en-CM.d.ts +0 -13
- package/locales/en-CX.d.ts +0 -14
- package/locales/en-CY.d.ts +0 -13
- package/locales/en-DE.d.ts +0 -13
- package/locales/en-DG.d.ts +0 -13
- package/locales/en-DK.d.ts +0 -14
- package/locales/en-DM.d.ts +0 -14
- package/locales/en-ER.d.ts +0 -14
- package/locales/en-FI.d.ts +0 -13
- package/locales/en-FJ.d.ts +0 -14
- package/locales/en-FK.d.ts +0 -15
- package/locales/en-FM.d.ts +0 -13
- package/locales/en-GB.d.ts +0 -13
- package/locales/en-GD.d.ts +0 -14
- package/locales/en-GG.d.ts +0 -13
- package/locales/en-GH.d.ts +0 -14
- package/locales/en-GI.d.ts +0 -15
- package/locales/en-GM.d.ts +0 -14
- package/locales/en-GU.d.ts +0 -9
- package/locales/en-GY.d.ts +0 -14
- package/locales/en-HK.d.ts +0 -13
- package/locales/en-IE.d.ts +0 -13
- package/locales/en-IL.d.ts +0 -13
- package/locales/en-IM.d.ts +0 -13
- package/locales/en-IN.d.ts +0 -12
- package/locales/en-IO.d.ts +0 -13
- package/locales/en-JE.d.ts +0 -13
- package/locales/en-JM.d.ts +0 -14
- package/locales/en-KE.d.ts +0 -14
- package/locales/en-KI.d.ts +0 -14
- package/locales/en-KN.d.ts +0 -14
- package/locales/en-KY.d.ts +0 -14
- package/locales/en-LC.d.ts +0 -14
- package/locales/en-LR.d.ts +0 -14
- package/locales/en-LS.d.ts +0 -14
- package/locales/en-MG.d.ts +0 -14
- package/locales/en-MH.d.ts +0 -9
- package/locales/en-MO.d.ts +0 -14
- package/locales/en-MP.d.ts +0 -9
- package/locales/en-MS.d.ts +0 -14
- package/locales/en-MT.d.ts +0 -14
- package/locales/en-MU.d.ts +0 -14
- package/locales/en-MV.d.ts +0 -14
- package/locales/en-MW.d.ts +0 -14
- package/locales/en-MY.d.ts +0 -14
- package/locales/en-NA.d.ts +0 -14
- package/locales/en-NF.d.ts +0 -14
- package/locales/en-NG.d.ts +0 -14
- package/locales/en-NL.d.ts +0 -13
- package/locales/en-NR.d.ts +0 -14
- package/locales/en-NU.d.ts +0 -14
- package/locales/en-NZ.d.ts +0 -14
- package/locales/en-PG.d.ts +0 -14
- package/locales/en-PH.d.ts +0 -9
- package/locales/en-PK.d.ts +0 -14
- package/locales/en-PN.d.ts +0 -14
- package/locales/en-PR.d.ts +0 -9
- package/locales/en-PW.d.ts +0 -13
- package/locales/en-RW.d.ts +0 -14
- package/locales/en-SB.d.ts +0 -14
- package/locales/en-SC.d.ts +0 -14
- package/locales/en-SD.d.ts +0 -13
- package/locales/en-SE.d.ts +0 -14
- package/locales/en-SG.d.ts +0 -14
- package/locales/en-SH.d.ts +0 -15
- package/locales/en-SI.d.ts +0 -13
- package/locales/en-SL.d.ts +0 -14
- package/locales/en-SS.d.ts +0 -15
- package/locales/en-SX.d.ts +0 -14
- package/locales/en-SZ.d.ts +0 -14
- package/locales/en-TC.d.ts +0 -13
- package/locales/en-TK.d.ts +0 -14
- package/locales/en-TO.d.ts +0 -14
- package/locales/en-TT.d.ts +0 -14
- package/locales/en-TV.d.ts +0 -14
- package/locales/en-TZ.d.ts +0 -14
- package/locales/en-UG.d.ts +0 -14
- package/locales/en-UM.d.ts +0 -9
- package/locales/en-VC.d.ts +0 -14
- package/locales/en-VG.d.ts +0 -13
- package/locales/en-VI.d.ts +0 -9
- package/locales/en-VU.d.ts +0 -14
- package/locales/en-WS.d.ts +0 -14
- package/locales/en-ZA.d.ts +0 -14
- package/locales/en-ZM.d.ts +0 -14
- package/locales/en-ZW.d.ts +0 -13
- package/locales/en.d.ts +0 -9
- package/locales/eo.d.ts +0 -13
- package/locales/es-419.d.ts +0 -38
- package/locales/es-AR.d.ts +0 -39
- package/locales/es-BO.d.ts +0 -39
- package/locales/es-BR.d.ts +0 -37
- package/locales/es-BZ.d.ts +0 -39
- package/locales/es-CL.d.ts +0 -39
- package/locales/es-CO.d.ts +0 -39
- package/locales/es-CR.d.ts +0 -39
- package/locales/es-CU.d.ts +0 -39
- package/locales/es-DO.d.ts +0 -39
- package/locales/es-EA.d.ts +0 -34
- package/locales/es-EC.d.ts +0 -37
- package/locales/es-GQ.d.ts +0 -33
- package/locales/es-GT.d.ts +0 -39
- package/locales/es-HN.d.ts +0 -39
- package/locales/es-IC.d.ts +0 -34
- package/locales/es-MX.d.ts +0 -35
- package/locales/es-NI.d.ts +0 -39
- package/locales/es-PA.d.ts +0 -39
- package/locales/es-PE.d.ts +0 -39
- package/locales/es-PH.d.ts +0 -33
- package/locales/es-PR.d.ts +0 -37
- package/locales/es-PY.d.ts +0 -39
- package/locales/es-SV.d.ts +0 -37
- package/locales/es-US.d.ts +0 -31
- package/locales/es-UY.d.ts +0 -40
- package/locales/es-VE.d.ts +0 -39
- package/locales/es.d.ts +0 -34
- package/locales/et.d.ts +0 -16
- package/locales/eu.d.ts +0 -18
- package/locales/ewo.d.ts +0 -13
- package/locales/extra/af-NA.d.ts +0 -9
- package/locales/extra/af.d.ts +0 -9
- package/locales/extra/agq.d.ts +0 -9
- package/locales/extra/ak.d.ts +0 -9
- package/locales/extra/am.d.ts +0 -9
- package/locales/extra/ar-AE.d.ts +0 -9
- package/locales/extra/ar-BH.d.ts +0 -9
- package/locales/extra/ar-DJ.d.ts +0 -9
- package/locales/extra/ar-DZ.d.ts +0 -9
- package/locales/extra/ar-EG.d.ts +0 -9
- package/locales/extra/ar-EH.d.ts +0 -9
- package/locales/extra/ar-ER.d.ts +0 -9
- package/locales/extra/ar-IL.d.ts +0 -9
- package/locales/extra/ar-IQ.d.ts +0 -9
- package/locales/extra/ar-JO.d.ts +0 -9
- package/locales/extra/ar-KM.d.ts +0 -9
- package/locales/extra/ar-KW.d.ts +0 -9
- package/locales/extra/ar-LB.d.ts +0 -9
- package/locales/extra/ar-LY.d.ts +0 -9
- package/locales/extra/ar-MA.d.ts +0 -9
- package/locales/extra/ar-MR.d.ts +0 -9
- package/locales/extra/ar-OM.d.ts +0 -9
- package/locales/extra/ar-PS.d.ts +0 -9
- package/locales/extra/ar-QA.d.ts +0 -9
- package/locales/extra/ar-SA.d.ts +0 -9
- package/locales/extra/ar-SD.d.ts +0 -9
- package/locales/extra/ar-SO.d.ts +0 -9
- package/locales/extra/ar-SS.d.ts +0 -9
- package/locales/extra/ar-SY.d.ts +0 -9
- package/locales/extra/ar-TD.d.ts +0 -9
- package/locales/extra/ar-TN.d.ts +0 -9
- package/locales/extra/ar-YE.d.ts +0 -9
- package/locales/extra/ar.d.ts +0 -9
- package/locales/extra/as.d.ts +0 -9
- package/locales/extra/asa.d.ts +0 -9
- package/locales/extra/ast.d.ts +0 -9
- package/locales/extra/az-Cyrl.d.ts +0 -9
- package/locales/extra/az-Latn.d.ts +0 -9
- package/locales/extra/az.d.ts +0 -9
- package/locales/extra/bas.d.ts +0 -9
- package/locales/extra/be-tarask.d.ts +0 -9
- package/locales/extra/be.d.ts +0 -9
- package/locales/extra/bem.d.ts +0 -9
- package/locales/extra/bez.d.ts +0 -9
- package/locales/extra/bg.d.ts +0 -9
- package/locales/extra/bm.d.ts +0 -9
- package/locales/extra/bn-IN.d.ts +0 -9
- package/locales/extra/bn.d.ts +0 -9
- package/locales/extra/bo-IN.d.ts +0 -9
- package/locales/extra/bo.d.ts +0 -9
- package/locales/extra/br.d.ts +0 -9
- package/locales/extra/brx.d.ts +0 -9
- package/locales/extra/bs-Cyrl.d.ts +0 -9
- package/locales/extra/bs-Latn.d.ts +0 -9
- package/locales/extra/bs.d.ts +0 -9
- package/locales/extra/ca-AD.d.ts +0 -9
- package/locales/extra/ca-ES-valencia.d.ts +0 -9
- package/locales/extra/ca-FR.d.ts +0 -9
- package/locales/extra/ca-IT.d.ts +0 -9
- package/locales/extra/ca.d.ts +0 -9
- package/locales/extra/ccp-IN.d.ts +0 -9
- package/locales/extra/ccp.d.ts +0 -9
- package/locales/extra/ce.d.ts +0 -9
- package/locales/extra/ceb.d.ts +0 -9
- package/locales/extra/cgg.d.ts +0 -9
- package/locales/extra/chr.d.ts +0 -9
- package/locales/extra/ckb-IR.d.ts +0 -9
- package/locales/extra/ckb.d.ts +0 -9
- package/locales/extra/cs.d.ts +0 -9
- package/locales/extra/cy.d.ts +0 -9
- package/locales/extra/da-GL.d.ts +0 -9
- package/locales/extra/da.d.ts +0 -9
- package/locales/extra/dav.d.ts +0 -9
- package/locales/extra/de-AT.d.ts +0 -9
- package/locales/extra/de-BE.d.ts +0 -9
- package/locales/extra/de-CH.d.ts +0 -9
- package/locales/extra/de-IT.d.ts +0 -9
- package/locales/extra/de-LI.d.ts +0 -9
- package/locales/extra/de-LU.d.ts +0 -9
- package/locales/extra/de.d.ts +0 -9
- package/locales/extra/dje.d.ts +0 -9
- package/locales/extra/doi.d.ts +0 -9
- package/locales/extra/dsb.d.ts +0 -9
- package/locales/extra/dua.d.ts +0 -9
- package/locales/extra/dyo.d.ts +0 -9
- package/locales/extra/dz.d.ts +0 -9
- package/locales/extra/ebu.d.ts +0 -9
- package/locales/extra/ee-TG.d.ts +0 -9
- package/locales/extra/ee.d.ts +0 -9
- package/locales/extra/el-CY.d.ts +0 -9
- package/locales/extra/el.d.ts +0 -9
- package/locales/extra/en-001.d.ts +0 -9
- package/locales/extra/en-150.d.ts +0 -9
- package/locales/extra/en-AE.d.ts +0 -9
- package/locales/extra/en-AG.d.ts +0 -9
- package/locales/extra/en-AI.d.ts +0 -9
- package/locales/extra/en-AS.d.ts +0 -9
- package/locales/extra/en-AT.d.ts +0 -9
- package/locales/extra/en-AU.d.ts +0 -9
- package/locales/extra/en-BB.d.ts +0 -9
- package/locales/extra/en-BE.d.ts +0 -9
- package/locales/extra/en-BI.d.ts +0 -9
- package/locales/extra/en-BM.d.ts +0 -9
- package/locales/extra/en-BS.d.ts +0 -9
- package/locales/extra/en-BW.d.ts +0 -9
- package/locales/extra/en-BZ.d.ts +0 -9
- package/locales/extra/en-CA.d.ts +0 -9
- package/locales/extra/en-CC.d.ts +0 -9
- package/locales/extra/en-CH.d.ts +0 -9
- package/locales/extra/en-CK.d.ts +0 -9
- package/locales/extra/en-CM.d.ts +0 -9
- package/locales/extra/en-CX.d.ts +0 -9
- package/locales/extra/en-CY.d.ts +0 -9
- package/locales/extra/en-DE.d.ts +0 -9
- package/locales/extra/en-DG.d.ts +0 -9
- package/locales/extra/en-DK.d.ts +0 -9
- package/locales/extra/en-DM.d.ts +0 -9
- package/locales/extra/en-ER.d.ts +0 -9
- package/locales/extra/en-FI.d.ts +0 -9
- package/locales/extra/en-FJ.d.ts +0 -9
- package/locales/extra/en-FK.d.ts +0 -9
- package/locales/extra/en-FM.d.ts +0 -9
- package/locales/extra/en-GB.d.ts +0 -9
- package/locales/extra/en-GD.d.ts +0 -9
- package/locales/extra/en-GG.d.ts +0 -9
- package/locales/extra/en-GH.d.ts +0 -9
- package/locales/extra/en-GI.d.ts +0 -9
- package/locales/extra/en-GM.d.ts +0 -9
- package/locales/extra/en-GU.d.ts +0 -9
- package/locales/extra/en-GY.d.ts +0 -9
- package/locales/extra/en-HK.d.ts +0 -9
- package/locales/extra/en-IE.d.ts +0 -9
- package/locales/extra/en-IL.d.ts +0 -9
- package/locales/extra/en-IM.d.ts +0 -9
- package/locales/extra/en-IN.d.ts +0 -9
- package/locales/extra/en-IO.d.ts +0 -9
- package/locales/extra/en-JE.d.ts +0 -9
- package/locales/extra/en-JM.d.ts +0 -9
- package/locales/extra/en-KE.d.ts +0 -9
- package/locales/extra/en-KI.d.ts +0 -9
- package/locales/extra/en-KN.d.ts +0 -9
- package/locales/extra/en-KY.d.ts +0 -9
- package/locales/extra/en-LC.d.ts +0 -9
- package/locales/extra/en-LR.d.ts +0 -9
- package/locales/extra/en-LS.d.ts +0 -9
- package/locales/extra/en-MG.d.ts +0 -9
- package/locales/extra/en-MH.d.ts +0 -9
- package/locales/extra/en-MO.d.ts +0 -9
- package/locales/extra/en-MP.d.ts +0 -9
- package/locales/extra/en-MS.d.ts +0 -9
- package/locales/extra/en-MT.d.ts +0 -9
- package/locales/extra/en-MU.d.ts +0 -9
- package/locales/extra/en-MV.d.ts +0 -9
- package/locales/extra/en-MW.d.ts +0 -9
- package/locales/extra/en-MY.d.ts +0 -9
- package/locales/extra/en-NA.d.ts +0 -9
- package/locales/extra/en-NF.d.ts +0 -9
- package/locales/extra/en-NG.d.ts +0 -9
- package/locales/extra/en-NL.d.ts +0 -9
- package/locales/extra/en-NR.d.ts +0 -9
- package/locales/extra/en-NU.d.ts +0 -9
- package/locales/extra/en-NZ.d.ts +0 -9
- package/locales/extra/en-PG.d.ts +0 -9
- package/locales/extra/en-PH.d.ts +0 -9
- package/locales/extra/en-PK.d.ts +0 -9
- package/locales/extra/en-PN.d.ts +0 -9
- package/locales/extra/en-PR.d.ts +0 -9
- package/locales/extra/en-PW.d.ts +0 -9
- package/locales/extra/en-RW.d.ts +0 -9
- package/locales/extra/en-SB.d.ts +0 -9
- package/locales/extra/en-SC.d.ts +0 -9
- package/locales/extra/en-SD.d.ts +0 -9
- package/locales/extra/en-SE.d.ts +0 -9
- package/locales/extra/en-SG.d.ts +0 -9
- package/locales/extra/en-SH.d.ts +0 -9
- package/locales/extra/en-SI.d.ts +0 -9
- package/locales/extra/en-SL.d.ts +0 -9
- package/locales/extra/en-SS.d.ts +0 -9
- package/locales/extra/en-SX.d.ts +0 -9
- package/locales/extra/en-SZ.d.ts +0 -9
- package/locales/extra/en-TC.d.ts +0 -9
- package/locales/extra/en-TK.d.ts +0 -9
- package/locales/extra/en-TO.d.ts +0 -9
- package/locales/extra/en-TT.d.ts +0 -9
- package/locales/extra/en-TV.d.ts +0 -9
- package/locales/extra/en-TZ.d.ts +0 -9
- package/locales/extra/en-UG.d.ts +0 -9
- package/locales/extra/en-UM.d.ts +0 -9
- package/locales/extra/en-VC.d.ts +0 -9
- package/locales/extra/en-VG.d.ts +0 -9
- package/locales/extra/en-VI.d.ts +0 -9
- package/locales/extra/en-VU.d.ts +0 -9
- package/locales/extra/en-WS.d.ts +0 -9
- package/locales/extra/en-ZA.d.ts +0 -9
- package/locales/extra/en-ZM.d.ts +0 -9
- package/locales/extra/en-ZW.d.ts +0 -9
- package/locales/extra/en.d.ts +0 -9
- package/locales/extra/eo.d.ts +0 -9
- package/locales/extra/es-419.d.ts +0 -9
- package/locales/extra/es-AR.d.ts +0 -9
- package/locales/extra/es-BO.d.ts +0 -9
- package/locales/extra/es-BR.d.ts +0 -9
- package/locales/extra/es-BZ.d.ts +0 -9
- package/locales/extra/es-CL.d.ts +0 -9
- package/locales/extra/es-CO.d.ts +0 -9
- package/locales/extra/es-CR.d.ts +0 -9
- package/locales/extra/es-CU.d.ts +0 -9
- package/locales/extra/es-DO.d.ts +0 -9
- package/locales/extra/es-EA.d.ts +0 -9
- package/locales/extra/es-EC.d.ts +0 -9
- package/locales/extra/es-GQ.d.ts +0 -9
- package/locales/extra/es-GT.d.ts +0 -9
- package/locales/extra/es-HN.d.ts +0 -9
- package/locales/extra/es-IC.d.ts +0 -9
- package/locales/extra/es-MX.d.ts +0 -9
- package/locales/extra/es-NI.d.ts +0 -9
- package/locales/extra/es-PA.d.ts +0 -9
- package/locales/extra/es-PE.d.ts +0 -9
- package/locales/extra/es-PH.d.ts +0 -9
- package/locales/extra/es-PR.d.ts +0 -9
- package/locales/extra/es-PY.d.ts +0 -9
- package/locales/extra/es-SV.d.ts +0 -9
- package/locales/extra/es-US.d.ts +0 -9
- package/locales/extra/es-UY.d.ts +0 -9
- package/locales/extra/es-VE.d.ts +0 -9
- package/locales/extra/es.d.ts +0 -9
- package/locales/extra/et.d.ts +0 -9
- package/locales/extra/eu.d.ts +0 -9
- package/locales/extra/ewo.d.ts +0 -9
- package/locales/extra/fa-AF.d.ts +0 -9
- package/locales/extra/fa.d.ts +0 -9
- package/locales/extra/ff-Adlm-BF.d.ts +0 -9
- package/locales/extra/ff-Adlm-CM.d.ts +0 -9
- package/locales/extra/ff-Adlm-GH.d.ts +0 -9
- package/locales/extra/ff-Adlm-GM.d.ts +0 -9
- package/locales/extra/ff-Adlm-GW.d.ts +0 -9
- package/locales/extra/ff-Adlm-LR.d.ts +0 -9
- package/locales/extra/ff-Adlm-MR.d.ts +0 -9
- package/locales/extra/ff-Adlm-NE.d.ts +0 -9
- package/locales/extra/ff-Adlm-NG.d.ts +0 -9
- package/locales/extra/ff-Adlm-SL.d.ts +0 -9
- package/locales/extra/ff-Adlm-SN.d.ts +0 -9
- package/locales/extra/ff-Adlm.d.ts +0 -9
- package/locales/extra/ff-CM.d.ts +0 -9
- package/locales/extra/ff-GN.d.ts +0 -9
- package/locales/extra/ff-Latn-BF.d.ts +0 -9
- package/locales/extra/ff-Latn-CM.d.ts +0 -9
- package/locales/extra/ff-Latn-GH.d.ts +0 -9
- package/locales/extra/ff-Latn-GM.d.ts +0 -9
- package/locales/extra/ff-Latn-GN.d.ts +0 -9
- package/locales/extra/ff-Latn-GW.d.ts +0 -9
- package/locales/extra/ff-Latn-LR.d.ts +0 -9
- package/locales/extra/ff-Latn-MR.d.ts +0 -9
- package/locales/extra/ff-Latn-NE.d.ts +0 -9
- package/locales/extra/ff-Latn-NG.d.ts +0 -9
- package/locales/extra/ff-Latn-SL.d.ts +0 -9
- package/locales/extra/ff-Latn.d.ts +0 -9
- package/locales/extra/ff-MR.d.ts +0 -9
- package/locales/extra/ff.d.ts +0 -9
- package/locales/extra/fi.d.ts +0 -9
- package/locales/extra/fil.d.ts +0 -9
- package/locales/extra/fo-DK.d.ts +0 -9
- package/locales/extra/fo.d.ts +0 -9
- package/locales/extra/fr-BE.d.ts +0 -9
- package/locales/extra/fr-BF.d.ts +0 -9
- package/locales/extra/fr-BI.d.ts +0 -9
- package/locales/extra/fr-BJ.d.ts +0 -9
- package/locales/extra/fr-BL.d.ts +0 -9
- package/locales/extra/fr-CA.d.ts +0 -9
- package/locales/extra/fr-CD.d.ts +0 -9
- package/locales/extra/fr-CF.d.ts +0 -9
- package/locales/extra/fr-CG.d.ts +0 -9
- package/locales/extra/fr-CH.d.ts +0 -9
- package/locales/extra/fr-CI.d.ts +0 -9
- package/locales/extra/fr-CM.d.ts +0 -9
- package/locales/extra/fr-DJ.d.ts +0 -9
- package/locales/extra/fr-DZ.d.ts +0 -9
- package/locales/extra/fr-GA.d.ts +0 -9
- package/locales/extra/fr-GF.d.ts +0 -9
- package/locales/extra/fr-GN.d.ts +0 -9
- package/locales/extra/fr-GP.d.ts +0 -9
- package/locales/extra/fr-GQ.d.ts +0 -9
- package/locales/extra/fr-HT.d.ts +0 -9
- package/locales/extra/fr-KM.d.ts +0 -9
- package/locales/extra/fr-LU.d.ts +0 -9
- package/locales/extra/fr-MA.d.ts +0 -9
- package/locales/extra/fr-MC.d.ts +0 -9
- package/locales/extra/fr-MF.d.ts +0 -9
- package/locales/extra/fr-MG.d.ts +0 -9
- package/locales/extra/fr-ML.d.ts +0 -9
- package/locales/extra/fr-MQ.d.ts +0 -9
- package/locales/extra/fr-MR.d.ts +0 -9
- package/locales/extra/fr-MU.d.ts +0 -9
- package/locales/extra/fr-NC.d.ts +0 -9
- package/locales/extra/fr-NE.d.ts +0 -9
- package/locales/extra/fr-PF.d.ts +0 -9
- package/locales/extra/fr-PM.d.ts +0 -9
- package/locales/extra/fr-RE.d.ts +0 -9
- package/locales/extra/fr-RW.d.ts +0 -9
- package/locales/extra/fr-SC.d.ts +0 -9
- package/locales/extra/fr-SN.d.ts +0 -9
- package/locales/extra/fr-SY.d.ts +0 -9
- package/locales/extra/fr-TD.d.ts +0 -9
- package/locales/extra/fr-TG.d.ts +0 -9
- package/locales/extra/fr-TN.d.ts +0 -9
- package/locales/extra/fr-VU.d.ts +0 -9
- package/locales/extra/fr-WF.d.ts +0 -9
- package/locales/extra/fr-YT.d.ts +0 -9
- package/locales/extra/fr.d.ts +0 -9
- package/locales/extra/fur.d.ts +0 -9
- package/locales/extra/fy.d.ts +0 -9
- package/locales/extra/ga-GB.d.ts +0 -9
- package/locales/extra/ga.d.ts +0 -9
- package/locales/extra/gd.d.ts +0 -9
- package/locales/extra/gl.d.ts +0 -9
- package/locales/extra/gsw-FR.d.ts +0 -9
- package/locales/extra/gsw-LI.d.ts +0 -9
- package/locales/extra/gsw.d.ts +0 -9
- package/locales/extra/gu.d.ts +0 -9
- package/locales/extra/guz.d.ts +0 -9
- package/locales/extra/gv.d.ts +0 -9
- package/locales/extra/ha-GH.d.ts +0 -9
- package/locales/extra/ha-NE.d.ts +0 -9
- package/locales/extra/ha.d.ts +0 -9
- package/locales/extra/haw.d.ts +0 -9
- package/locales/extra/he.d.ts +0 -9
- package/locales/extra/hi-Latn.d.ts +0 -9
- package/locales/extra/hi.d.ts +0 -9
- package/locales/extra/hr-BA.d.ts +0 -9
- package/locales/extra/hr.d.ts +0 -9
- package/locales/extra/hsb.d.ts +0 -9
- package/locales/extra/hu.d.ts +0 -9
- package/locales/extra/hy.d.ts +0 -9
- package/locales/extra/ia.d.ts +0 -9
- package/locales/extra/id.d.ts +0 -9
- package/locales/extra/ig.d.ts +0 -9
- package/locales/extra/ii.d.ts +0 -9
- package/locales/extra/is.d.ts +0 -9
- package/locales/extra/it-CH.d.ts +0 -9
- package/locales/extra/it-SM.d.ts +0 -9
- package/locales/extra/it-VA.d.ts +0 -9
- package/locales/extra/it.d.ts +0 -9
- package/locales/extra/ja.d.ts +0 -9
- package/locales/extra/jgo.d.ts +0 -9
- package/locales/extra/jmc.d.ts +0 -9
- package/locales/extra/jv.d.ts +0 -9
- package/locales/extra/ka.d.ts +0 -9
- package/locales/extra/kab.d.ts +0 -9
- package/locales/extra/kam.d.ts +0 -9
- package/locales/extra/kde.d.ts +0 -9
- package/locales/extra/kea.d.ts +0 -9
- package/locales/extra/kgp.d.ts +0 -9
- package/locales/extra/khq.d.ts +0 -9
- package/locales/extra/ki.d.ts +0 -9
- package/locales/extra/kk.d.ts +0 -9
- package/locales/extra/kkj.d.ts +0 -9
- package/locales/extra/kl.d.ts +0 -9
- package/locales/extra/kln.d.ts +0 -9
- package/locales/extra/km.d.ts +0 -9
- package/locales/extra/kn.d.ts +0 -9
- package/locales/extra/ko-KP.d.ts +0 -9
- package/locales/extra/ko.d.ts +0 -9
- package/locales/extra/kok.d.ts +0 -9
- package/locales/extra/ks-Arab.d.ts +0 -9
- package/locales/extra/ks-Deva.d.ts +0 -9
- package/locales/extra/ks.d.ts +0 -9
- package/locales/extra/ksb.d.ts +0 -9
- package/locales/extra/ksf.d.ts +0 -9
- package/locales/extra/ksh.d.ts +0 -9
- package/locales/extra/ku.d.ts +0 -9
- package/locales/extra/kw.d.ts +0 -9
- package/locales/extra/ky.d.ts +0 -9
- package/locales/extra/lag.d.ts +0 -9
- package/locales/extra/lb.d.ts +0 -9
- package/locales/extra/lg.d.ts +0 -9
- package/locales/extra/lkt.d.ts +0 -9
- package/locales/extra/ln-AO.d.ts +0 -9
- package/locales/extra/ln-CF.d.ts +0 -9
- package/locales/extra/ln-CG.d.ts +0 -9
- package/locales/extra/ln.d.ts +0 -9
- package/locales/extra/lo.d.ts +0 -9
- package/locales/extra/lrc-IQ.d.ts +0 -9
- package/locales/extra/lrc.d.ts +0 -9
- package/locales/extra/lt.d.ts +0 -9
- package/locales/extra/lu.d.ts +0 -9
- package/locales/extra/luo.d.ts +0 -9
- package/locales/extra/luy.d.ts +0 -9
- package/locales/extra/lv.d.ts +0 -9
- package/locales/extra/mai.d.ts +0 -9
- package/locales/extra/mas-TZ.d.ts +0 -9
- package/locales/extra/mas.d.ts +0 -9
- package/locales/extra/mer.d.ts +0 -9
- package/locales/extra/mfe.d.ts +0 -9
- package/locales/extra/mg.d.ts +0 -9
- package/locales/extra/mgh.d.ts +0 -9
- package/locales/extra/mgo.d.ts +0 -9
- package/locales/extra/mi.d.ts +0 -9
- package/locales/extra/mk.d.ts +0 -9
- package/locales/extra/ml.d.ts +0 -9
- package/locales/extra/mn.d.ts +0 -9
- package/locales/extra/mni-Beng.d.ts +0 -9
- package/locales/extra/mni.d.ts +0 -9
- package/locales/extra/mr.d.ts +0 -9
- package/locales/extra/ms-BN.d.ts +0 -9
- package/locales/extra/ms-ID.d.ts +0 -9
- package/locales/extra/ms-SG.d.ts +0 -9
- package/locales/extra/ms.d.ts +0 -9
- package/locales/extra/mt.d.ts +0 -9
- package/locales/extra/mua.d.ts +0 -9
- package/locales/extra/my.d.ts +0 -9
- package/locales/extra/mzn.d.ts +0 -9
- package/locales/extra/naq.d.ts +0 -9
- package/locales/extra/nb-SJ.d.ts +0 -9
- package/locales/extra/nb.d.ts +0 -9
- package/locales/extra/nd.d.ts +0 -9
- package/locales/extra/nds-NL.d.ts +0 -9
- package/locales/extra/nds.d.ts +0 -9
- package/locales/extra/ne-IN.d.ts +0 -9
- package/locales/extra/ne.d.ts +0 -9
- package/locales/extra/nl-AW.d.ts +0 -9
- package/locales/extra/nl-BE.d.ts +0 -9
- package/locales/extra/nl-BQ.d.ts +0 -9
- package/locales/extra/nl-CW.d.ts +0 -9
- package/locales/extra/nl-SR.d.ts +0 -9
- package/locales/extra/nl-SX.d.ts +0 -9
- package/locales/extra/nl.d.ts +0 -9
- package/locales/extra/nmg.d.ts +0 -9
- package/locales/extra/nn.d.ts +0 -9
- package/locales/extra/nnh.d.ts +0 -9
- package/locales/extra/no.d.ts +0 -9
- package/locales/extra/nus.d.ts +0 -9
- package/locales/extra/nyn.d.ts +0 -9
- package/locales/extra/om-KE.d.ts +0 -9
- package/locales/extra/om.d.ts +0 -9
- package/locales/extra/or.d.ts +0 -9
- package/locales/extra/os-RU.d.ts +0 -9
- package/locales/extra/os.d.ts +0 -9
- package/locales/extra/pa-Arab.d.ts +0 -9
- package/locales/extra/pa-Guru.d.ts +0 -9
- package/locales/extra/pa.d.ts +0 -9
- package/locales/extra/pcm.d.ts +0 -9
- package/locales/extra/pl.d.ts +0 -9
- package/locales/extra/ps-PK.d.ts +0 -9
- package/locales/extra/ps.d.ts +0 -9
- package/locales/extra/pt-AO.d.ts +0 -9
- package/locales/extra/pt-CH.d.ts +0 -9
- package/locales/extra/pt-CV.d.ts +0 -9
- package/locales/extra/pt-GQ.d.ts +0 -9
- package/locales/extra/pt-GW.d.ts +0 -9
- package/locales/extra/pt-LU.d.ts +0 -9
- package/locales/extra/pt-MO.d.ts +0 -9
- package/locales/extra/pt-MZ.d.ts +0 -9
- package/locales/extra/pt-PT.d.ts +0 -9
- package/locales/extra/pt-ST.d.ts +0 -9
- package/locales/extra/pt-TL.d.ts +0 -9
- package/locales/extra/pt.d.ts +0 -9
- package/locales/extra/qu-BO.d.ts +0 -9
- package/locales/extra/qu-EC.d.ts +0 -9
- package/locales/extra/qu.d.ts +0 -9
- package/locales/extra/rm.d.ts +0 -9
- package/locales/extra/rn.d.ts +0 -9
- package/locales/extra/ro-MD.d.ts +0 -9
- package/locales/extra/ro.d.ts +0 -9
- package/locales/extra/rof.d.ts +0 -9
- package/locales/extra/ru-BY.d.ts +0 -9
- package/locales/extra/ru-KG.d.ts +0 -9
- package/locales/extra/ru-KZ.d.ts +0 -9
- package/locales/extra/ru-MD.d.ts +0 -9
- package/locales/extra/ru-UA.d.ts +0 -9
- package/locales/extra/ru.d.ts +0 -9
- package/locales/extra/rw.d.ts +0 -9
- package/locales/extra/rwk.d.ts +0 -9
- package/locales/extra/sa.d.ts +0 -9
- package/locales/extra/sah.d.ts +0 -9
- package/locales/extra/saq.d.ts +0 -9
- package/locales/extra/sat-Olck.d.ts +0 -9
- package/locales/extra/sat.d.ts +0 -9
- package/locales/extra/sbp.d.ts +0 -9
- package/locales/extra/sc.d.ts +0 -9
- package/locales/extra/sd-Arab.d.ts +0 -9
- package/locales/extra/sd-Deva.d.ts +0 -9
- package/locales/extra/sd.d.ts +0 -9
- package/locales/extra/se-FI.d.ts +0 -9
- package/locales/extra/se-SE.d.ts +0 -9
- package/locales/extra/se.d.ts +0 -9
- package/locales/extra/seh.d.ts +0 -9
- package/locales/extra/ses.d.ts +0 -9
- package/locales/extra/sg.d.ts +0 -9
- package/locales/extra/shi-Latn.d.ts +0 -9
- package/locales/extra/shi-Tfng.d.ts +0 -9
- package/locales/extra/shi.d.ts +0 -9
- package/locales/extra/si.d.ts +0 -9
- package/locales/extra/sk.d.ts +0 -9
- package/locales/extra/sl.d.ts +0 -9
- package/locales/extra/smn.d.ts +0 -9
- package/locales/extra/sn.d.ts +0 -9
- package/locales/extra/so-DJ.d.ts +0 -9
- package/locales/extra/so-ET.d.ts +0 -9
- package/locales/extra/so-KE.d.ts +0 -9
- package/locales/extra/so.d.ts +0 -9
- package/locales/extra/sq-MK.d.ts +0 -9
- package/locales/extra/sq-XK.d.ts +0 -9
- package/locales/extra/sq.d.ts +0 -9
- package/locales/extra/sr-Cyrl-BA.d.ts +0 -9
- package/locales/extra/sr-Cyrl-ME.d.ts +0 -9
- package/locales/extra/sr-Cyrl-XK.d.ts +0 -9
- package/locales/extra/sr-Cyrl.d.ts +0 -9
- package/locales/extra/sr-Latn-BA.d.ts +0 -9
- package/locales/extra/sr-Latn-ME.d.ts +0 -9
- package/locales/extra/sr-Latn-XK.d.ts +0 -9
- package/locales/extra/sr-Latn.d.ts +0 -9
- package/locales/extra/sr.d.ts +0 -9
- package/locales/extra/su-Latn.d.ts +0 -9
- package/locales/extra/su.d.ts +0 -9
- package/locales/extra/sv-AX.d.ts +0 -9
- package/locales/extra/sv-FI.d.ts +0 -9
- package/locales/extra/sv.d.ts +0 -9
- package/locales/extra/sw-CD.d.ts +0 -9
- package/locales/extra/sw-KE.d.ts +0 -9
- package/locales/extra/sw-UG.d.ts +0 -9
- package/locales/extra/sw.d.ts +0 -9
- package/locales/extra/ta-LK.d.ts +0 -9
- package/locales/extra/ta-MY.d.ts +0 -9
- package/locales/extra/ta-SG.d.ts +0 -9
- package/locales/extra/ta.d.ts +0 -9
- package/locales/extra/te.d.ts +0 -9
- package/locales/extra/teo-KE.d.ts +0 -9
- package/locales/extra/teo.d.ts +0 -9
- package/locales/extra/tg.d.ts +0 -9
- package/locales/extra/th.d.ts +0 -9
- package/locales/extra/ti-ER.d.ts +0 -9
- package/locales/extra/ti.d.ts +0 -9
- package/locales/extra/tk.d.ts +0 -9
- package/locales/extra/to.d.ts +0 -9
- package/locales/extra/tr-CY.d.ts +0 -9
- package/locales/extra/tr.d.ts +0 -9
- package/locales/extra/tt.d.ts +0 -9
- package/locales/extra/twq.d.ts +0 -9
- package/locales/extra/tzm.d.ts +0 -9
- package/locales/extra/ug.d.ts +0 -9
- package/locales/extra/uk.d.ts +0 -9
- package/locales/extra/und.d.ts +0 -9
- package/locales/extra/ur-IN.d.ts +0 -9
- package/locales/extra/ur.d.ts +0 -9
- package/locales/extra/uz-Arab.d.ts +0 -9
- package/locales/extra/uz-Cyrl.d.ts +0 -9
- package/locales/extra/uz-Latn.d.ts +0 -9
- package/locales/extra/uz.d.ts +0 -9
- package/locales/extra/vai-Latn.d.ts +0 -9
- package/locales/extra/vai-Vaii.d.ts +0 -9
- package/locales/extra/vai.d.ts +0 -9
- package/locales/extra/vi.d.ts +0 -9
- package/locales/extra/vun.d.ts +0 -9
- package/locales/extra/wae.d.ts +0 -9
- package/locales/extra/wo.d.ts +0 -9
- package/locales/extra/xh.d.ts +0 -9
- package/locales/extra/xog.d.ts +0 -9
- package/locales/extra/yav.d.ts +0 -9
- package/locales/extra/yi.d.ts +0 -9
- package/locales/extra/yo-BJ.d.ts +0 -9
- package/locales/extra/yo.d.ts +0 -9
- package/locales/extra/yrl-CO.d.ts +0 -9
- package/locales/extra/yrl-VE.d.ts +0 -9
- package/locales/extra/yrl.d.ts +0 -9
- package/locales/extra/yue-Hans.d.ts +0 -9
- package/locales/extra/yue-Hant.d.ts +0 -9
- package/locales/extra/yue.d.ts +0 -9
- package/locales/extra/zgh.d.ts +0 -9
- package/locales/extra/zh-Hans-HK.d.ts +0 -9
- package/locales/extra/zh-Hans-MO.d.ts +0 -9
- package/locales/extra/zh-Hans-SG.d.ts +0 -9
- package/locales/extra/zh-Hans.d.ts +0 -9
- package/locales/extra/zh-Hant-HK.d.ts +0 -9
- package/locales/extra/zh-Hant-MO.d.ts +0 -9
- package/locales/extra/zh-Hant.d.ts +0 -9
- package/locales/extra/zh.d.ts +0 -9
- package/locales/extra/zu.d.ts +0 -9
- package/locales/fa-AF.d.ts +0 -23
- package/locales/fa.d.ts +0 -23
- package/locales/ff-Adlm-BF.d.ts +0 -20
- package/locales/ff-Adlm-CM.d.ts +0 -20
- package/locales/ff-Adlm-GH.d.ts +0 -21
- package/locales/ff-Adlm-GM.d.ts +0 -21
- package/locales/ff-Adlm-GW.d.ts +0 -20
- package/locales/ff-Adlm-LR.d.ts +0 -21
- package/locales/ff-Adlm-MR.d.ts +0 -21
- package/locales/ff-Adlm-NE.d.ts +0 -20
- package/locales/ff-Adlm-NG.d.ts +0 -20
- package/locales/ff-Adlm-SL.d.ts +0 -21
- package/locales/ff-Adlm-SN.d.ts +0 -20
- package/locales/ff-Adlm.d.ts +0 -20
- package/locales/ff-CM.d.ts +0 -13
- package/locales/ff-GN.d.ts +0 -14
- package/locales/ff-Latn-BF.d.ts +0 -13
- package/locales/ff-Latn-CM.d.ts +0 -13
- package/locales/ff-Latn-GH.d.ts +0 -14
- package/locales/ff-Latn-GM.d.ts +0 -14
- package/locales/ff-Latn-GN.d.ts +0 -14
- package/locales/ff-Latn-GW.d.ts +0 -13
- package/locales/ff-Latn-LR.d.ts +0 -14
- package/locales/ff-Latn-MR.d.ts +0 -14
- package/locales/ff-Latn-NE.d.ts +0 -13
- package/locales/ff-Latn-NG.d.ts +0 -14
- package/locales/ff-Latn-SL.d.ts +0 -14
- package/locales/ff-Latn.d.ts +0 -13
- package/locales/ff-MR.d.ts +0 -14
- package/locales/ff.d.ts +0 -13
- package/locales/fi.d.ts +0 -105
- package/locales/fil.d.ts +0 -14
- package/locales/fo-DK.d.ts +0 -16
- package/locales/fo.d.ts +0 -16
- package/locales/fr-BE.d.ts +0 -57
- package/locales/fr-BF.d.ts +0 -57
- package/locales/fr-BI.d.ts +0 -58
- package/locales/fr-BJ.d.ts +0 -57
- package/locales/fr-BL.d.ts +0 -57
- package/locales/fr-CA.d.ts +0 -43
- package/locales/fr-CD.d.ts +0 -58
- package/locales/fr-CF.d.ts +0 -57
- package/locales/fr-CG.d.ts +0 -57
- package/locales/fr-CH.d.ts +0 -57
- package/locales/fr-CI.d.ts +0 -57
- package/locales/fr-CM.d.ts +0 -57
- package/locales/fr-DJ.d.ts +0 -58
- package/locales/fr-DZ.d.ts +0 -58
- package/locales/fr-GA.d.ts +0 -57
- package/locales/fr-GF.d.ts +0 -57
- package/locales/fr-GN.d.ts +0 -58
- package/locales/fr-GP.d.ts +0 -57
- package/locales/fr-GQ.d.ts +0 -57
- package/locales/fr-HT.d.ts +0 -58
- package/locales/fr-KM.d.ts +0 -57
- package/locales/fr-LU.d.ts +0 -57
- package/locales/fr-MA.d.ts +0 -57
- package/locales/fr-MC.d.ts +0 -57
- package/locales/fr-MF.d.ts +0 -57
- package/locales/fr-MG.d.ts +0 -58
- package/locales/fr-ML.d.ts +0 -57
- package/locales/fr-MQ.d.ts +0 -57
- package/locales/fr-MR.d.ts +0 -58
- package/locales/fr-MU.d.ts +0 -58
- package/locales/fr-NC.d.ts +0 -57
- package/locales/fr-NE.d.ts +0 -57
- package/locales/fr-PF.d.ts +0 -57
- package/locales/fr-PM.d.ts +0 -57
- package/locales/fr-RE.d.ts +0 -57
- package/locales/fr-RW.d.ts +0 -57
- package/locales/fr-SC.d.ts +0 -58
- package/locales/fr-SN.d.ts +0 -57
- package/locales/fr-SY.d.ts +0 -58
- package/locales/fr-TD.d.ts +0 -57
- package/locales/fr-TG.d.ts +0 -57
- package/locales/fr-TN.d.ts +0 -58
- package/locales/fr-VU.d.ts +0 -58
- package/locales/fr-WF.d.ts +0 -57
- package/locales/fr-YT.d.ts +0 -57
- package/locales/fr.d.ts +0 -57
- package/locales/fur.d.ts +0 -13
- package/locales/fy.d.ts +0 -19
- package/locales/ga-GB.d.ts +0 -15
- package/locales/ga.d.ts +0 -15
- package/locales/gd.d.ts +0 -19
- package/locales/gl.d.ts +0 -21
- package/locales/gsw-FR.d.ts +0 -12
- package/locales/gsw-LI.d.ts +0 -12
- package/locales/gsw.d.ts +0 -12
- package/locales/gu.d.ts +0 -18
- package/locales/guz.d.ts +0 -14
- package/locales/gv.d.ts +0 -13
- package/locales/ha-GH.d.ts +0 -13
- package/locales/ha-NE.d.ts +0 -12
- package/locales/ha.d.ts +0 -12
- package/locales/haw.d.ts +0 -12
- package/locales/he.d.ts +0 -17
- package/locales/hi-Latn.d.ts +0 -12
- package/locales/hi.d.ts +0 -17
- package/locales/hr-BA.d.ts +0 -35
- package/locales/hr.d.ts +0 -34
- package/locales/hsb.d.ts +0 -14
- package/locales/hu.d.ts +0 -30
- package/locales/hy.d.ts +0 -17
- package/locales/ia.d.ts +0 -15
- package/locales/id.d.ts +0 -21
- package/locales/ig.d.ts +0 -12
- package/locales/ii.d.ts +0 -14
- package/locales/is.d.ts +0 -25
- package/locales/it-CH.d.ts +0 -24
- package/locales/it-SM.d.ts +0 -24
- package/locales/it-VA.d.ts +0 -24
- package/locales/it.d.ts +0 -24
- package/locales/ja.d.ts +0 -17
- package/locales/jgo.d.ts +0 -13
- package/locales/jmc.d.ts +0 -14
- package/locales/jv.d.ts +0 -14
- package/locales/ka.d.ts +0 -25
- package/locales/kab.d.ts +0 -14
- package/locales/kam.d.ts +0 -14
- package/locales/kde.d.ts +0 -14
- package/locales/kea.d.ts +0 -16
- package/locales/kgp.d.ts +0 -24
- package/locales/khq.d.ts +0 -13
- package/locales/ki.d.ts +0 -14
- package/locales/kk.d.ts +0 -19
- package/locales/kkj.d.ts +0 -13
- package/locales/kl.d.ts +0 -14
- package/locales/kln.d.ts +0 -14
- package/locales/km.d.ts +0 -18
- package/locales/kn.d.ts +0 -17
- package/locales/ko-KP.d.ts +0 -18
- package/locales/ko.d.ts +0 -18
- package/locales/kok.d.ts +0 -16
- package/locales/ks-Arab.d.ts +0 -9
- package/locales/ks-Deva.d.ts +0 -12
- package/locales/ks.d.ts +0 -9
- package/locales/ksb.d.ts +0 -14
- package/locales/ksf.d.ts +0 -13
- package/locales/ksh.d.ts +0 -13
- package/locales/ku.d.ts +0 -14
- package/locales/kw.d.ts +0 -13
- package/locales/ky.d.ts +0 -37
- package/locales/lag.d.ts +0 -14
- package/locales/lb.d.ts +0 -16
- package/locales/lg.d.ts +0 -14
- package/locales/lkt.d.ts +0 -12
- package/locales/ln-AO.d.ts +0 -15
- package/locales/ln-CF.d.ts +0 -14
- package/locales/ln-CG.d.ts +0 -14
- package/locales/ln.d.ts +0 -14
- package/locales/lo.d.ts +0 -18
- package/locales/lrc-IQ.d.ts +0 -14
- package/locales/lrc.d.ts +0 -14
- package/locales/lt.d.ts +0 -39
- package/locales/lu.d.ts +0 -14
- package/locales/luo.d.ts +0 -14
- package/locales/luy.d.ts +0 -14
- package/locales/lv.d.ts +0 -18
- package/locales/mai.d.ts +0 -12
- package/locales/mas-TZ.d.ts +0 -15
- package/locales/mas.d.ts +0 -14
- package/locales/mer.d.ts +0 -14
- package/locales/mfe.d.ts +0 -14
- package/locales/mg.d.ts +0 -14
- package/locales/mgh.d.ts +0 -14
- package/locales/mgo.d.ts +0 -13
- package/locales/mi.d.ts +0 -13
- package/locales/mk.d.ts +0 -26
- package/locales/ml.d.ts +0 -15
- package/locales/mn.d.ts +0 -18
- package/locales/mni-Beng.d.ts +0 -12
- package/locales/mni.d.ts +0 -12
- package/locales/mr.d.ts +0 -15
- package/locales/ms-BN.d.ts +0 -20
- package/locales/ms-ID.d.ts +0 -20
- package/locales/ms-SG.d.ts +0 -20
- package/locales/ms.d.ts +0 -19
- package/locales/mt.d.ts +0 -15
- package/locales/mua.d.ts +0 -13
- package/locales/my.d.ts +0 -24
- package/locales/mzn.d.ts +0 -14
- package/locales/naq.d.ts +0 -14
- package/locales/nb-SJ.d.ts +0 -33
- package/locales/nb.d.ts +0 -33
- package/locales/nd.d.ts +0 -13
- package/locales/nds-NL.d.ts +0 -13
- package/locales/nds.d.ts +0 -13
- package/locales/ne-IN.d.ts +0 -17
- package/locales/ne.d.ts +0 -17
- package/locales/nl-AW.d.ts +0 -25
- package/locales/nl-BE.d.ts +0 -24
- package/locales/nl-BQ.d.ts +0 -23
- package/locales/nl-CW.d.ts +0 -25
- package/locales/nl-SR.d.ts +0 -25
- package/locales/nl-SX.d.ts +0 -25
- package/locales/nl.d.ts +0 -24
- package/locales/nmg.d.ts +0 -13
- package/locales/nn.d.ts +0 -33
- package/locales/nnh.d.ts +0 -13
- package/locales/no.d.ts +0 -33
- package/locales/nus.d.ts +0 -15
- package/locales/nyn.d.ts +0 -14
- package/locales/om-KE.d.ts +0 -15
- package/locales/om.d.ts +0 -14
- package/locales/or.d.ts +0 -13
- package/locales/os-RU.d.ts +0 -13
- package/locales/os.d.ts +0 -13
- package/locales/pa-Arab.d.ts +0 -14
- package/locales/pa-Guru.d.ts +0 -18
- package/locales/pa.d.ts +0 -18
- package/locales/pcm.d.ts +0 -17
- package/locales/pl.d.ts +0 -28
- package/locales/ps-PK.d.ts +0 -15
- package/locales/ps.d.ts +0 -14
- package/locales/pt-AO.d.ts +0 -21
- package/locales/pt-CH.d.ts +0 -20
- package/locales/pt-CV.d.ts +0 -20
- package/locales/pt-GQ.d.ts +0 -20
- package/locales/pt-GW.d.ts +0 -20
- package/locales/pt-LU.d.ts +0 -21
- package/locales/pt-MO.d.ts +0 -21
- package/locales/pt-MZ.d.ts +0 -21
- package/locales/pt-PT.d.ts +0 -20
- package/locales/pt-ST.d.ts +0 -21
- package/locales/pt-TL.d.ts +0 -20
- package/locales/pt.d.ts +0 -21
- package/locales/qu-BO.d.ts +0 -20
- package/locales/qu-EC.d.ts +0 -18
- package/locales/qu.d.ts +0 -20
- package/locales/rm.d.ts +0 -12
- package/locales/rn.d.ts +0 -14
- package/locales/ro-MD.d.ts +0 -31
- package/locales/ro.d.ts +0 -30
- package/locales/rof.d.ts +0 -14
- package/locales/ru-BY.d.ts +0 -21
- package/locales/ru-KG.d.ts +0 -23
- package/locales/ru-KZ.d.ts +0 -23
- package/locales/ru-MD.d.ts +0 -23
- package/locales/ru-UA.d.ts +0 -22
- package/locales/ru.d.ts +0 -22
- package/locales/rw.d.ts +0 -14
- package/locales/rwk.d.ts +0 -14
- package/locales/sa.d.ts +0 -13
- package/locales/sah.d.ts +0 -14
- package/locales/saq.d.ts +0 -14
- package/locales/sat-Olck.d.ts +0 -13
- package/locales/sat.d.ts +0 -13
- package/locales/sbp.d.ts +0 -14
- package/locales/sc.d.ts +0 -14
- package/locales/sd-Arab.d.ts +0 -16
- package/locales/sd-Deva.d.ts +0 -9
- package/locales/sd.d.ts +0 -16
- package/locales/se-FI.d.ts +0 -17
- package/locales/se-SE.d.ts +0 -17
- package/locales/se.d.ts +0 -17
- package/locales/seh.d.ts +0 -14
- package/locales/ses.d.ts +0 -13
- package/locales/sg.d.ts +0 -13
- package/locales/shi-Latn.d.ts +0 -13
- package/locales/shi-Tfng.d.ts +0 -13
- package/locales/shi.d.ts +0 -13
- package/locales/si.d.ts +0 -19
- package/locales/sk.d.ts +0 -29
- package/locales/sl.d.ts +0 -21
- package/locales/smn.d.ts +0 -13
- package/locales/sn.d.ts +0 -13
- package/locales/so-DJ.d.ts +0 -16
- package/locales/so-ET.d.ts +0 -16
- package/locales/so-KE.d.ts +0 -16
- package/locales/so.d.ts +0 -15
- package/locales/sq-MK.d.ts +0 -107
- package/locales/sq-XK.d.ts +0 -106
- package/locales/sq.d.ts +0 -106
- package/locales/sr-Cyrl-BA.d.ts +0 -21
- package/locales/sr-Cyrl-ME.d.ts +0 -21
- package/locales/sr-Cyrl-XK.d.ts +0 -21
- package/locales/sr-Cyrl.d.ts +0 -21
- package/locales/sr-Latn-BA.d.ts +0 -21
- package/locales/sr-Latn-ME.d.ts +0 -21
- package/locales/sr-Latn-XK.d.ts +0 -21
- package/locales/sr-Latn.d.ts +0 -21
- package/locales/sr.d.ts +0 -21
- package/locales/su-Latn.d.ts +0 -12
- package/locales/su.d.ts +0 -12
- package/locales/sv-AX.d.ts +0 -40
- package/locales/sv-FI.d.ts +0 -40
- package/locales/sv.d.ts +0 -40
- package/locales/sw-CD.d.ts +0 -20
- package/locales/sw-KE.d.ts +0 -18
- package/locales/sw-UG.d.ts +0 -20
- package/locales/sw.d.ts +0 -19
- package/locales/ta-LK.d.ts +0 -16
- package/locales/ta-MY.d.ts +0 -17
- package/locales/ta-SG.d.ts +0 -18
- package/locales/ta.d.ts +0 -15
- package/locales/te.d.ts +0 -16
- package/locales/teo-KE.d.ts +0 -15
- package/locales/teo.d.ts +0 -14
- package/locales/tg.d.ts +0 -13
- package/locales/th.d.ts +0 -18
- package/locales/ti-ER.d.ts +0 -16
- package/locales/ti.d.ts +0 -15
- package/locales/tk.d.ts +0 -17
- package/locales/to.d.ts +0 -18
- package/locales/tr-CY.d.ts +0 -19
- package/locales/tr.d.ts +0 -19
- package/locales/tt.d.ts +0 -13
- package/locales/twq.d.ts +0 -13
- package/locales/tzm.d.ts +0 -13
- package/locales/ug.d.ts +0 -13
- package/locales/uk.d.ts +0 -32
- package/locales/und.d.ts +0 -9
- package/locales/ur-IN.d.ts +0 -16
- package/locales/ur.d.ts +0 -17
- package/locales/uz-Arab.d.ts +0 -14
- package/locales/uz-Cyrl.d.ts +0 -15
- package/locales/uz-Latn.d.ts +0 -16
- package/locales/uz.d.ts +0 -16
- package/locales/vai-Latn.d.ts +0 -14
- package/locales/vai-Vaii.d.ts +0 -14
- package/locales/vai.d.ts +0 -14
- package/locales/vi.d.ts +0 -18
- package/locales/vun.d.ts +0 -14
- package/locales/wae.d.ts +0 -9
- package/locales/wo.d.ts +0 -12
- package/locales/xh.d.ts +0 -14
- package/locales/xog.d.ts +0 -14
- package/locales/yav.d.ts +0 -13
- package/locales/yi.d.ts +0 -13
- package/locales/yo-BJ.d.ts +0 -14
- package/locales/yo.d.ts +0 -14
- package/locales/yrl-CO.d.ts +0 -29
- package/locales/yrl-VE.d.ts +0 -29
- package/locales/yrl.d.ts +0 -29
- package/locales/yue-Hans.d.ts +0 -20
- package/locales/yue-Hant.d.ts +0 -18
- package/locales/yue.d.ts +0 -18
- package/locales/zgh.d.ts +0 -13
- package/locales/zh-Hans-HK.d.ts +0 -21
- package/locales/zh-Hans-MO.d.ts +0 -22
- package/locales/zh-Hans-SG.d.ts +0 -22
- package/locales/zh-Hans.d.ts +0 -22
- package/locales/zh-Hant-HK.d.ts +0 -18
- package/locales/zh-Hant-MO.d.ts +0 -19
- package/locales/zh-Hant.d.ts +0 -20
- package/locales/zh.d.ts +0 -22
- package/locales/zu.d.ts +0 -23
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.1.
|
|
2
|
+
* @license Angular v20.1.5
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -314,10 +314,10 @@ class HttpClientTestingBackend {
|
|
|
314
314
|
return `Match by function: ${matcher.name}`;
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
318
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
317
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpClientTestingBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
318
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpClientTestingBackend });
|
|
319
319
|
}
|
|
320
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
320
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpClientTestingBackend, decorators: [{
|
|
321
321
|
type: Injectable
|
|
322
322
|
}] });
|
|
323
323
|
function describeRequest(testRequest) {
|
|
@@ -345,11 +345,11 @@ function provideHttpClientTesting() {
|
|
|
345
345
|
* @deprecated Add `provideHttpClientTesting()` to your providers instead.
|
|
346
346
|
*/
|
|
347
347
|
class HttpClientTestingModule {
|
|
348
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
349
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.
|
|
350
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.
|
|
348
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpClientTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
349
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.5", ngImport: i0, type: HttpClientTestingModule, imports: [HttpClientModule] });
|
|
350
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpClientTestingModule, providers: [provideHttpClientTesting()], imports: [HttpClientModule] });
|
|
351
351
|
}
|
|
352
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
352
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpClientTestingModule, decorators: [{
|
|
353
353
|
type: NgModule,
|
|
354
354
|
args: [{
|
|
355
355
|
imports: [HttpClientModule],
|
package/fesm2022/http.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.1.
|
|
2
|
+
* @license Angular v20.1.5
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -139,6 +139,12 @@ class HttpResourceImpl extends _ResourceImpl {
|
|
|
139
139
|
}, defaultValue, equal, injector);
|
|
140
140
|
this.client = injector.get(HttpClient);
|
|
141
141
|
}
|
|
142
|
+
set(value) {
|
|
143
|
+
super.set(value);
|
|
144
|
+
this._headers.set(undefined);
|
|
145
|
+
this._progress.set(undefined);
|
|
146
|
+
this._statusCode.set(undefined);
|
|
147
|
+
}
|
|
142
148
|
}
|
|
143
149
|
|
|
144
150
|
/**
|
package/fesm2022/http.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/packages/common/http/src/resource.ts","../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/packages/common/http/src/transfer_cache.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {\n Injector,\n Signal,\n ɵResourceImpl as ResourceImpl,\n inject,\n linkedSignal,\n assertInInjectionContext,\n signal,\n computed,\n ResourceStreamItem,\n type ValueEqualityFn,\n ɵRuntimeError,\n ɵRuntimeErrorCode,\n ɵencapsulateResourceError as encapsulateResourceError,\n} from '@angular/core';\nimport type {Subscription} from 'rxjs';\n\nimport {HttpRequest} from './request';\nimport {HttpClient} from './client';\nimport {HttpErrorResponse, HttpEventType, HttpProgressEvent, HttpResponseBase} from './response';\nimport {HttpHeaders} from './headers';\nimport {HttpParams} from './params';\nimport {HttpResourceRef, HttpResourceOptions, HttpResourceRequest} from './resource_api';\n\n/**\n * Type for the `httpRequest` top-level function, which includes the call signatures for the JSON-\n * based `httpRequest` as well as sub-functions for `ArrayBuffer`, `Blob`, and `string` type\n * requests.\n *\n * @experimental 19.2\n */\nexport interface HttpResourceFn {\n /**\n * Create a `Resource` that fetches data with an HTTP GET request to the given URL.\n *\n * The resource will update when the URL changes via signals.\n *\n * Uses `HttpClient` to make requests and supports interceptors, testing, and the other features\n * of the `HttpClient` API. Data is parsed as JSON by default - use a sub-function of\n * `httpResource`, such as `httpResource.text()`, to parse the response differently.\n *\n * @experimental 19.2\n */\n <TResult = unknown>(\n url: () => string | undefined,\n options: HttpResourceOptions<TResult, unknown> & {defaultValue: NoInfer<TResult>},\n ): HttpResourceRef<TResult>;\n\n /**\n * Create a `Resource` that fetches data with an HTTP GET request to the given URL.\n *\n * The resource will update when the URL changes via signals.\n *\n * Uses `HttpClient` to make requests and supports interceptors, testing, and the other features\n * of the `HttpClient` API. Data is parsed as JSON by default - use a sub-function of\n * `httpResource`, such as `httpResource.text()`, to parse the response differently.\n *\n * @experimental 19.2\n */\n <TResult = unknown>(\n url: () => string | undefined,\n options?: HttpResourceOptions<TResult, unknown>,\n ): HttpResourceRef<TResult | undefined>;\n\n /**\n * Create a `Resource` that fetches data with the configured HTTP request.\n *\n * The resource will update when the request changes via signals.\n *\n * Uses `HttpClient` to make requests and supports interceptors, testing, and the other features\n * of the `HttpClient` API. Data is parsed as JSON by default - use a sub-function of\n * `httpResource`, such as `httpResource.text()`, to parse the response differently.\n *\n * @experimental 19.2\n */\n <TResult = unknown>(\n request: () => HttpResourceRequest | undefined,\n options: HttpResourceOptions<TResult, unknown> & {defaultValue: NoInfer<TResult>},\n ): HttpResourceRef<TResult>;\n\n /**\n * Create a `Resource` that fetches data with the configured HTTP request.\n *\n * The resource will update when the request changes via signals.\n *\n * Uses `HttpClient` to make requests and supports interceptors, testing, and the other features\n * of the `HttpClient` API. Data is parsed as JSON by default - use a sub-function of\n * `httpResource`, such as `httpResource.text()`, to parse the response differently.\n *\n * @experimental 19.2\n */\n <TResult = unknown>(\n request: () => HttpResourceRequest | undefined,\n options?: HttpResourceOptions<TResult, unknown>,\n ): HttpResourceRef<TResult | undefined>;\n\n /**\n * Create a `Resource` that fetches data with the configured HTTP request.\n *\n * The resource will update when the URL or request changes via signals.\n *\n * Uses `HttpClient` to make requests and supports interceptors, testing, and the other features\n * of the `HttpClient` API. Data is parsed into an `ArrayBuffer`.\n *\n * @experimental 19.2\n */\n arrayBuffer: {\n <TResult = ArrayBuffer>(\n url: () => string | undefined,\n options: HttpResourceOptions<TResult, ArrayBuffer> & {defaultValue: NoInfer<TResult>},\n ): HttpResourceRef<TResult>;\n\n <TResult = ArrayBuffer>(\n url: () => string | undefined,\n options?: HttpResourceOptions<TResult, ArrayBuffer>,\n ): HttpResourceRef<TResult | undefined>;\n\n <TResult = ArrayBuffer>(\n request: () => HttpResourceRequest | undefined,\n options: HttpResourceOptions<TResult, ArrayBuffer> & {defaultValue: NoInfer<TResult>},\n ): HttpResourceRef<TResult>;\n\n <TResult = ArrayBuffer>(\n request: () => HttpResourceRequest | undefined,\n options?: HttpResourceOptions<TResult, ArrayBuffer>,\n ): HttpResourceRef<TResult | undefined>;\n };\n\n /**\n * Create a `Resource` that fetches data with the configured HTTP request.\n *\n * The resource will update when the URL or request changes via signals.\n *\n * Uses `HttpClient` to make requests and supports interceptors, testing, and the other features\n * of the `HttpClient` API. Data is parsed into a `Blob`.\n *\n * @experimental 19.2\n */\n blob: {\n <TResult = Blob>(\n url: () => string | undefined,\n options: HttpResourceOptions<TResult, Blob> & {defaultValue: NoInfer<TResult>},\n ): HttpResourceRef<TResult>;\n\n <TResult = Blob>(\n url: () => string | undefined,\n options?: HttpResourceOptions<TResult, Blob>,\n ): HttpResourceRef<TResult | undefined>;\n\n <TResult = Blob>(\n request: () => HttpResourceRequest | undefined,\n options: HttpResourceOptions<TResult, Blob> & {defaultValue: NoInfer<TResult>},\n ): HttpResourceRef<TResult>;\n\n <TResult = Blob>(\n request: () => HttpResourceRequest | undefined,\n options?: HttpResourceOptions<TResult, Blob>,\n ): HttpResourceRef<TResult | undefined>;\n };\n\n /**\n * Create a `Resource` that fetches data with the configured HTTP request.\n *\n * The resource will update when the URL or request changes via signals.\n *\n * Uses `HttpClient` to make requests and supports interceptors, testing, and the other features\n * of the `HttpClient` API. Data is parsed as a `string`.\n *\n * @experimental 19.2\n */\n text: {\n <TResult = string>(\n url: () => string | undefined,\n options: HttpResourceOptions<TResult, string> & {defaultValue: NoInfer<TResult>},\n ): HttpResourceRef<TResult>;\n\n <TResult = string>(\n url: () => string | undefined,\n options?: HttpResourceOptions<TResult, string>,\n ): HttpResourceRef<TResult | undefined>;\n\n <TResult = string>(\n request: () => HttpResourceRequest | undefined,\n options: HttpResourceOptions<TResult, string> & {defaultValue: NoInfer<TResult>},\n ): HttpResourceRef<TResult>;\n\n <TResult = string>(\n request: () => HttpResourceRequest | undefined,\n options?: HttpResourceOptions<TResult, string>,\n ): HttpResourceRef<TResult | undefined>;\n };\n}\n\n/**\n * `httpResource` makes a reactive HTTP request and exposes the request status and response value as\n * a `WritableResource`. By default, it assumes that the backend will return JSON data. To make a\n * request that expects a different kind of data, you can use a sub-constructor of `httpResource`,\n * such as `httpResource.text`.\n *\n * @experimental 19.2\n * @initializerApiFunction\n */\nexport const httpResource: HttpResourceFn = (() => {\n const jsonFn = makeHttpResourceFn<unknown>('json') as HttpResourceFn;\n jsonFn.arrayBuffer = makeHttpResourceFn<ArrayBuffer>('arraybuffer');\n jsonFn.blob = makeHttpResourceFn('blob');\n jsonFn.text = makeHttpResourceFn('text');\n return jsonFn;\n})();\n\n/**\n * The expected response type of the server.\n *\n * This is used to parse the response appropriately before returning it to\n * the requestee.\n */\ntype ResponseType = 'arraybuffer' | 'blob' | 'json' | 'text';\ntype RawRequestType = (() => string | undefined) | (() => HttpResourceRequest | undefined);\n\nfunction makeHttpResourceFn<TRaw>(responseType: ResponseType) {\n return function httpResource<TResult = TRaw>(\n request: RawRequestType,\n options?: HttpResourceOptions<TResult, TRaw>,\n ): HttpResourceRef<TResult> {\n if (ngDevMode && !options?.injector) {\n assertInInjectionContext(httpResource);\n }\n const injector = options?.injector ?? inject(Injector);\n return new HttpResourceImpl(\n injector,\n () => normalizeRequest(request, responseType),\n options?.defaultValue,\n options?.parse as (value: unknown) => TResult,\n options?.equal as ValueEqualityFn<unknown>,\n ) as HttpResourceRef<TResult>;\n };\n}\n\nfunction normalizeRequest(\n request: RawRequestType,\n responseType: ResponseType,\n): HttpRequest<unknown> | undefined {\n let unwrappedRequest = typeof request === 'function' ? request() : request;\n if (unwrappedRequest === undefined) {\n return undefined;\n } else if (typeof unwrappedRequest === 'string') {\n unwrappedRequest = {url: unwrappedRequest};\n }\n\n const headers =\n unwrappedRequest.headers instanceof HttpHeaders\n ? unwrappedRequest.headers\n : new HttpHeaders(\n unwrappedRequest.headers as\n | Record<string, string | number | Array<string | number>>\n | undefined,\n );\n\n const params =\n unwrappedRequest.params instanceof HttpParams\n ? unwrappedRequest.params\n : new HttpParams({fromObject: unwrappedRequest.params});\n\n return new HttpRequest(\n unwrappedRequest.method ?? 'GET',\n unwrappedRequest.url,\n unwrappedRequest.body ?? null,\n {\n headers,\n params,\n reportProgress: unwrappedRequest.reportProgress,\n withCredentials: unwrappedRequest.withCredentials,\n keepalive: unwrappedRequest.keepalive,\n cache: unwrappedRequest.cache as RequestCache,\n priority: unwrappedRequest.priority as RequestPriority,\n mode: unwrappedRequest.mode as RequestMode,\n redirect: unwrappedRequest.redirect as RequestRedirect,\n responseType,\n context: unwrappedRequest.context,\n transferCache: unwrappedRequest.transferCache,\n credentials: unwrappedRequest.credentials as RequestCredentials,\n timeout: unwrappedRequest.timeout,\n },\n );\n}\nclass HttpResourceImpl<T>\n extends ResourceImpl<T, HttpRequest<unknown> | undefined>\n implements HttpResourceRef<T>\n{\n private client!: HttpClient;\n private _headers = linkedSignal({\n source: this.extRequest,\n computation: () => undefined as HttpHeaders | undefined,\n });\n private _progress = linkedSignal({\n source: this.extRequest,\n computation: () => undefined as HttpProgressEvent | undefined,\n });\n private _statusCode = linkedSignal({\n source: this.extRequest,\n computation: () => undefined as number | undefined,\n });\n\n readonly headers = computed(() =>\n this.status() === 'resolved' || this.status() === 'error' ? this._headers() : undefined,\n );\n readonly progress = this._progress.asReadonly();\n readonly statusCode = this._statusCode.asReadonly();\n\n constructor(\n injector: Injector,\n request: () => HttpRequest<T> | undefined,\n defaultValue: T,\n parse?: (value: unknown) => T,\n equal?: ValueEqualityFn<unknown>,\n ) {\n super(\n request,\n ({params: request, abortSignal}) => {\n let sub: Subscription;\n\n // Track the abort listener so it can be removed if the Observable completes (as a memory\n // optimization).\n const onAbort = () => sub.unsubscribe();\n abortSignal.addEventListener('abort', onAbort);\n\n // Start off stream as undefined.\n const stream = signal<ResourceStreamItem<T>>({value: undefined as T});\n let resolve: ((value: Signal<ResourceStreamItem<T>>) => void) | undefined;\n const promise = new Promise<Signal<ResourceStreamItem<T>>>((r) => (resolve = r));\n\n const send = (value: ResourceStreamItem<T>): void => {\n stream.set(value);\n resolve?.(stream);\n resolve = undefined;\n };\n\n sub = this.client.request(request!).subscribe({\n next: (event) => {\n switch (event.type) {\n case HttpEventType.Response:\n this._headers.set(event.headers);\n this._statusCode.set(event.status);\n try {\n send({value: parse ? parse(event.body) : (event.body as T)});\n } catch (error) {\n send({error: encapsulateResourceError(error)});\n }\n break;\n case HttpEventType.DownloadProgress:\n this._progress.set(event);\n break;\n }\n },\n error: (error) => {\n if (error instanceof HttpErrorResponse) {\n this._headers.set(error.headers);\n this._statusCode.set(error.status);\n }\n\n send({error});\n abortSignal.removeEventListener('abort', onAbort);\n },\n complete: () => {\n if (resolve) {\n send({\n error: new ɵRuntimeError(\n ɵRuntimeErrorCode.RESOURCE_COMPLETED_BEFORE_PRODUCING_VALUE,\n ngDevMode && 'Resource completed before producing a value',\n ),\n });\n }\n abortSignal.removeEventListener('abort', onAbort);\n },\n });\n\n return promise;\n },\n defaultValue,\n equal,\n injector,\n );\n this.client = injector.get(HttpClient);\n }\n\n // This is a type only override of the method\n declare hasValue: () => this is HttpResourceRef<Exclude<T, undefined>>;\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {\n APP_BOOTSTRAP_LISTENER,\n ApplicationRef,\n inject,\n InjectionToken,\n makeStateKey,\n Provider,\n StateKey,\n TransferState,\n ɵformatRuntimeError as formatRuntimeError,\n ɵperformanceMarkFeature as performanceMarkFeature,\n ɵtruncateMiddle as truncateMiddle,\n ɵRuntimeError as RuntimeError,\n} from '@angular/core';\nimport {Observable, of} from 'rxjs';\nimport {tap} from 'rxjs/operators';\n\nimport {RuntimeErrorCode} from './errors';\nimport {HttpHeaders} from './headers';\nimport {HTTP_ROOT_INTERCEPTOR_FNS, HttpHandlerFn} from './interceptor';\nimport {HttpRequest} from './request';\nimport {HttpEvent, HttpResponse} from './response';\nimport {HttpParams} from './params';\n\n/**\n * Options to configure how TransferCache should be used to cache requests made via HttpClient.\n *\n * @param includeHeaders Specifies which headers should be included into cached responses. No\n * headers are included by default.\n * @param filter A function that receives a request as an argument and returns a boolean to indicate\n * whether a request should be included into the cache.\n * @param includePostRequests Enables caching for POST requests. By default, only GET and HEAD\n * requests are cached. This option can be enabled if POST requests are used to retrieve data\n * (for example using GraphQL).\n * @param includeRequestsWithAuthHeaders Enables caching of requests containing either `Authorization`\n * or `Proxy-Authorization` headers. By default, these requests are excluded from caching.\n *\n * @publicApi\n */\nexport type HttpTransferCacheOptions = {\n includeHeaders?: string[];\n filter?: (req: HttpRequest<unknown>) => boolean;\n includePostRequests?: boolean;\n includeRequestsWithAuthHeaders?: boolean;\n};\n\n/**\n * If your application uses different HTTP origins to make API calls (via `HttpClient`) on the server and\n * on the client, the `HTTP_TRANSFER_CACHE_ORIGIN_MAP` token allows you to establish a mapping\n * between those origins, so that `HttpTransferCache` feature can recognize those requests as the same\n * ones and reuse the data cached on the server during hydration on the client.\n *\n * **Important note**: the `HTTP_TRANSFER_CACHE_ORIGIN_MAP` token should *only* be provided in\n * the *server* code of your application (typically in the `app.server.config.ts` script). Angular throws an\n * error if it detects that the token is defined while running on the client.\n *\n * @usageNotes\n *\n * When the same API endpoint is accessed via `http://internal-domain.com:8080` on the server and\n * via `https://external-domain.com` on the client, you can use the following configuration:\n * ```ts\n * // in app.server.config.ts\n * {\n * provide: HTTP_TRANSFER_CACHE_ORIGIN_MAP,\n * useValue: {\n * 'http://internal-domain.com:8080': 'https://external-domain.com'\n * }\n * }\n * ```\n *\n * @publicApi\n */\nexport const HTTP_TRANSFER_CACHE_ORIGIN_MAP = new InjectionToken<Record<string, string>>(\n ngDevMode ? 'HTTP_TRANSFER_CACHE_ORIGIN_MAP' : '',\n);\n\n/**\n * Keys within cached response data structure.\n */\n\nexport const BODY = 'b';\nexport const HEADERS = 'h';\nexport const STATUS = 's';\nexport const STATUS_TEXT = 'st';\nexport const REQ_URL = 'u';\nexport const RESPONSE_TYPE = 'rt';\n\ninterface TransferHttpResponse {\n /** body */\n [BODY]: any;\n /** headers */\n [HEADERS]: Record<string, string[]>;\n /** status */\n [STATUS]?: number;\n /** statusText */\n [STATUS_TEXT]?: string;\n /** url */\n [REQ_URL]?: string;\n /** responseType */\n [RESPONSE_TYPE]?: HttpRequest<unknown>['responseType'];\n}\n\ninterface CacheOptions extends HttpTransferCacheOptions {\n isCacheActive: boolean;\n}\n\nconst CACHE_OPTIONS = new InjectionToken<CacheOptions>(\n ngDevMode ? 'HTTP_TRANSFER_STATE_CACHE_OPTIONS' : '',\n);\n\n/**\n * A list of allowed HTTP methods to cache.\n */\nconst ALLOWED_METHODS = ['GET', 'HEAD'];\n\nexport function transferCacheInterceptorFn(\n req: HttpRequest<unknown>,\n next: HttpHandlerFn,\n): Observable<HttpEvent<unknown>> {\n const {isCacheActive, ...globalOptions} = inject(CACHE_OPTIONS);\n const {transferCache: requestOptions, method: requestMethod} = req;\n\n // In the following situations we do not want to cache the request\n if (\n !isCacheActive ||\n requestOptions === false ||\n // POST requests are allowed either globally or at request level\n (requestMethod === 'POST' && !globalOptions.includePostRequests && !requestOptions) ||\n (requestMethod !== 'POST' && !ALLOWED_METHODS.includes(requestMethod)) ||\n // Do not cache request that require authorization when includeRequestsWithAuthHeaders is falsey\n (!globalOptions.includeRequestsWithAuthHeaders && hasAuthHeaders(req)) ||\n globalOptions.filter?.(req) === false\n ) {\n return next(req);\n }\n\n const transferState = inject(TransferState);\n\n const originMap: Record<string, string> | null = inject(HTTP_TRANSFER_CACHE_ORIGIN_MAP, {\n optional: true,\n });\n\n if (typeof ngServerMode !== 'undefined' && !ngServerMode && originMap) {\n throw new RuntimeError(\n RuntimeErrorCode.HTTP_ORIGIN_MAP_USED_IN_CLIENT,\n ngDevMode &&\n 'Angular detected that the `HTTP_TRANSFER_CACHE_ORIGIN_MAP` token is configured and ' +\n 'present in the client side code. Please ensure that this token is only provided in the ' +\n 'server code of the application.',\n );\n }\n\n const requestUrl =\n typeof ngServerMode !== 'undefined' && ngServerMode && originMap\n ? mapRequestOriginUrl(req.url, originMap)\n : req.url;\n\n const storeKey = makeCacheKey(req, requestUrl);\n const response = transferState.get(storeKey, null);\n\n let headersToInclude = globalOptions.includeHeaders;\n if (typeof requestOptions === 'object' && requestOptions.includeHeaders) {\n // Request-specific config takes precedence over the global config.\n headersToInclude = requestOptions.includeHeaders;\n }\n\n if (response) {\n const {\n [BODY]: undecodedBody,\n [RESPONSE_TYPE]: responseType,\n [HEADERS]: httpHeaders,\n [STATUS]: status,\n [STATUS_TEXT]: statusText,\n [REQ_URL]: url,\n } = response;\n // Request found in cache. Respond using it.\n let body: ArrayBuffer | Blob | string | undefined = undecodedBody;\n\n switch (responseType) {\n case 'arraybuffer':\n body = new TextEncoder().encode(undecodedBody).buffer;\n break;\n case 'blob':\n body = new Blob([undecodedBody]);\n break;\n }\n\n // We want to warn users accessing a header provided from the cache\n // That HttpTransferCache alters the headers\n // The warning will be logged a single time by HttpHeaders instance\n let headers = new HttpHeaders(httpHeaders);\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n // Append extra logic in dev mode to produce a warning when a header\n // that was not transferred to the client is accessed in the code via `get`\n // and `has` calls.\n headers = appendMissingHeadersDetection(req.url, headers, headersToInclude ?? []);\n }\n\n return of(\n new HttpResponse({\n body,\n headers,\n status,\n statusText,\n url,\n }),\n );\n }\n\n const event$ = next(req);\n\n if (typeof ngServerMode !== 'undefined' && ngServerMode) {\n // Request not found in cache. Make the request and cache it if on the server.\n return event$.pipe(\n tap((event: HttpEvent<unknown>) => {\n // Only cache successful HTTP responses.\n if (event instanceof HttpResponse) {\n transferState.set<TransferHttpResponse>(storeKey, {\n [BODY]: event.body,\n [HEADERS]: getFilteredHeaders(event.headers, headersToInclude),\n [STATUS]: event.status,\n [STATUS_TEXT]: event.statusText,\n [REQ_URL]: requestUrl,\n [RESPONSE_TYPE]: req.responseType,\n });\n }\n }),\n );\n }\n\n return event$;\n}\n\n/** @returns true when the requests contains autorization related headers. */\nfunction hasAuthHeaders(req: HttpRequest<unknown>): boolean {\n return req.headers.has('authorization') || req.headers.has('proxy-authorization');\n}\n\nfunction getFilteredHeaders(\n headers: HttpHeaders,\n includeHeaders: string[] | undefined,\n): Record<string, string[]> {\n if (!includeHeaders) {\n return {};\n }\n\n const headersMap: Record<string, string[]> = {};\n for (const key of includeHeaders) {\n const values = headers.getAll(key);\n if (values !== null) {\n headersMap[key] = values;\n }\n }\n\n return headersMap;\n}\n\nfunction sortAndConcatParams(params: HttpParams | URLSearchParams): string {\n return [...params.keys()]\n .sort()\n .map((k) => `${k}=${params.getAll(k)}`)\n .join('&');\n}\n\nfunction makeCacheKey(\n request: HttpRequest<any>,\n mappedRequestUrl: string,\n): StateKey<TransferHttpResponse> {\n // make the params encoded same as a url so it's easy to identify\n const {params, method, responseType} = request;\n const encodedParams = sortAndConcatParams(params);\n\n let serializedBody = request.serializeBody();\n if (serializedBody instanceof URLSearchParams) {\n serializedBody = sortAndConcatParams(serializedBody);\n } else if (typeof serializedBody !== 'string') {\n serializedBody = '';\n }\n\n const key = [method, responseType, mappedRequestUrl, serializedBody, encodedParams].join('|');\n const hash = generateHash(key);\n\n return makeStateKey(hash);\n}\n\n/**\n * A method that returns a hash representation of a string using a variant of DJB2 hash\n * algorithm.\n *\n * This is the same hashing logic that is used to generate component ids.\n */\nfunction generateHash(value: string): string {\n let hash = 0;\n\n for (const char of value) {\n hash = (Math.imul(31, hash) + char.charCodeAt(0)) << 0;\n }\n\n // Force positive number hash.\n // 2147483647 = equivalent of Integer.MAX_VALUE.\n hash += 2147483647 + 1;\n\n return hash.toString();\n}\n\n/**\n * Returns the DI providers needed to enable HTTP transfer cache.\n *\n * By default, when using server rendering, requests are performed twice: once on the server and\n * other one on the browser.\n *\n * When these providers are added, requests performed on the server are cached and reused during the\n * bootstrapping of the application in the browser thus avoiding duplicate requests and reducing\n * load time.\n *\n */\nexport function withHttpTransferCache(cacheOptions: HttpTransferCacheOptions): Provider[] {\n return [\n {\n provide: CACHE_OPTIONS,\n useFactory: (): CacheOptions => {\n performanceMarkFeature('NgHttpTransferCache');\n return {isCacheActive: true, ...cacheOptions};\n },\n },\n {\n provide: HTTP_ROOT_INTERCEPTOR_FNS,\n useValue: transferCacheInterceptorFn,\n multi: true,\n },\n {\n provide: APP_BOOTSTRAP_LISTENER,\n multi: true,\n useFactory: () => {\n const appRef = inject(ApplicationRef);\n const cacheState = inject(CACHE_OPTIONS);\n\n return () => {\n appRef.whenStable().then(() => {\n cacheState.isCacheActive = false;\n });\n };\n },\n },\n ];\n}\n\n/**\n * This function will add a proxy to an HttpHeader to intercept calls to get/has\n * and log a warning if the header entry requested has been removed\n */\nfunction appendMissingHeadersDetection(\n url: string,\n headers: HttpHeaders,\n headersToInclude: string[],\n): HttpHeaders {\n const warningProduced = new Set();\n return new Proxy<HttpHeaders>(headers, {\n get(target: HttpHeaders, prop: keyof HttpHeaders): unknown {\n const value = Reflect.get(target, prop);\n const methods: Set<keyof HttpHeaders> = new Set(['get', 'has', 'getAll']);\n\n if (typeof value !== 'function' || !methods.has(prop)) {\n return value;\n }\n\n return (headerName: string) => {\n // We log when the key has been removed and a warning hasn't been produced for the header\n const key = (prop + ':' + headerName).toLowerCase(); // e.g. `get:cache-control`\n if (!headersToInclude.includes(headerName) && !warningProduced.has(key)) {\n warningProduced.add(key);\n const truncatedUrl = truncateMiddle(url);\n\n // TODO: create Error guide for this warning\n console.warn(\n formatRuntimeError(\n RuntimeErrorCode.HEADERS_ALTERED_BY_TRANSFER_CACHE,\n `Angular detected that the \\`${headerName}\\` header is accessed, but the value of the header ` +\n `was not transferred from the server to the client by the HttpTransferCache. ` +\n `To include the value of the \\`${headerName}\\` header for the \\`${truncatedUrl}\\` request, ` +\n `use the \\`includeHeaders\\` list. The \\`includeHeaders\\` can be defined either ` +\n `on a request level by adding the \\`transferCache\\` parameter, or on an application ` +\n `level by adding the \\`httpCacheTransfer.includeHeaders\\` argument to the ` +\n `\\`provideClientHydration()\\` call. `,\n ),\n );\n }\n\n // invoking the original method\n return (value as Function).apply(target, [headerName]);\n };\n },\n });\n}\n\nfunction mapRequestOriginUrl(url: string, originMap: Record<string, string>): string {\n const origin = new URL(url, 'resolve://').origin;\n const mappedOrigin = originMap[origin];\n if (!mappedOrigin) {\n return url;\n }\n\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n verifyMappedOrigin(mappedOrigin);\n }\n\n return url.replace(origin, mappedOrigin);\n}\n\nfunction verifyMappedOrigin(url: string): void {\n if (new URL(url, 'resolve://').pathname !== '/') {\n throw new RuntimeError(\n RuntimeErrorCode.HTTP_ORIGIN_MAP_CONTAINS_PATH,\n 'Angular detected a URL with a path segment in the value provided for the ' +\n `\\`HTTP_TRANSFER_CACHE_ORIGIN_MAP\\` token: ${url}. The map should only contain origins ` +\n 'without any other segments.',\n );\n }\n}\n"],"names":["ResourceImpl","encapsulateResourceError","ɵRuntimeError","RuntimeError","performanceMarkFeature","truncateMiddle","formatRuntimeError"],"mappings":";;;;;;;;;;;;;AAyMA;;;;;;;;AAQG;AACU,MAAA,YAAY,GAAmB,CAAC,MAAK;AAChD,IAAA,MAAM,MAAM,GAAG,kBAAkB,CAAU,MAAM,CAAmB;AACpE,IAAA,MAAM,CAAC,WAAW,GAAG,kBAAkB,CAAc,aAAa,CAAC;AACnE,IAAA,MAAM,CAAC,IAAI,GAAG,kBAAkB,CAAC,MAAM,CAAC;AACxC,IAAA,MAAM,CAAC,IAAI,GAAG,kBAAkB,CAAC,MAAM,CAAC;AACxC,IAAA,OAAO,MAAM;AACf,CAAC;AAWD,SAAS,kBAAkB,CAAO,YAA0B,EAAA;AAC1D,IAAA,OAAO,SAAS,YAAY,CAC1B,OAAuB,EACvB,OAA4C,EAAA;AAE5C,QAAA,IAAI,SAAS,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE;YACnC,wBAAwB,CAAC,YAAY,CAAC;;QAExC,MAAM,QAAQ,GAAG,OAAO,EAAE,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC;QACtD,OAAO,IAAI,gBAAgB,CACzB,QAAQ,EACR,MAAM,gBAAgB,CAAC,OAAO,EAAE,YAAY,CAAC,EAC7C,OAAO,EAAE,YAAY,E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http/src/resource.ts","../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/packages/common/http/src/transfer_cache.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {\n Injector,\n Signal,\n ɵResourceImpl as ResourceImpl,\n inject,\n linkedSignal,\n assertInInjectionContext,\n signal,\n computed,\n ResourceStreamItem,\n type ValueEqualityFn,\n ɵRuntimeError,\n ɵRuntimeErrorCode,\n ɵencapsulateResourceError as encapsulateResourceError,\n} from '@angular/core';\nimport type {Subscription} from 'rxjs';\n\nimport {HttpRequest} from './request';\nimport {HttpClient} from './client';\nimport {HttpErrorResponse, HttpEventType, HttpProgressEvent, HttpResponseBase} from './response';\nimport {HttpHeaders} from './headers';\nimport {HttpParams} from './params';\nimport {HttpResourceRef, HttpResourceOptions, HttpResourceRequest} from './resource_api';\n\n/**\n * Type for the `httpRequest` top-level function, which includes the call signatures for the JSON-\n * based `httpRequest` as well as sub-functions for `ArrayBuffer`, `Blob`, and `string` type\n * requests.\n *\n * @experimental 19.2\n */\nexport interface HttpResourceFn {\n /**\n * Create a `Resource` that fetches data with an HTTP GET request to the given URL.\n *\n * The resource will update when the URL changes via signals.\n *\n * Uses `HttpClient` to make requests and supports interceptors, testing, and the other features\n * of the `HttpClient` API. Data is parsed as JSON by default - use a sub-function of\n * `httpResource`, such as `httpResource.text()`, to parse the response differently.\n *\n * @experimental 19.2\n */\n <TResult = unknown>(\n url: () => string | undefined,\n options: HttpResourceOptions<TResult, unknown> & {defaultValue: NoInfer<TResult>},\n ): HttpResourceRef<TResult>;\n\n /**\n * Create a `Resource` that fetches data with an HTTP GET request to the given URL.\n *\n * The resource will update when the URL changes via signals.\n *\n * Uses `HttpClient` to make requests and supports interceptors, testing, and the other features\n * of the `HttpClient` API. Data is parsed as JSON by default - use a sub-function of\n * `httpResource`, such as `httpResource.text()`, to parse the response differently.\n *\n * @experimental 19.2\n */\n <TResult = unknown>(\n url: () => string | undefined,\n options?: HttpResourceOptions<TResult, unknown>,\n ): HttpResourceRef<TResult | undefined>;\n\n /**\n * Create a `Resource` that fetches data with the configured HTTP request.\n *\n * The resource will update when the request changes via signals.\n *\n * Uses `HttpClient` to make requests and supports interceptors, testing, and the other features\n * of the `HttpClient` API. Data is parsed as JSON by default - use a sub-function of\n * `httpResource`, such as `httpResource.text()`, to parse the response differently.\n *\n * @experimental 19.2\n */\n <TResult = unknown>(\n request: () => HttpResourceRequest | undefined,\n options: HttpResourceOptions<TResult, unknown> & {defaultValue: NoInfer<TResult>},\n ): HttpResourceRef<TResult>;\n\n /**\n * Create a `Resource` that fetches data with the configured HTTP request.\n *\n * The resource will update when the request changes via signals.\n *\n * Uses `HttpClient` to make requests and supports interceptors, testing, and the other features\n * of the `HttpClient` API. Data is parsed as JSON by default - use a sub-function of\n * `httpResource`, such as `httpResource.text()`, to parse the response differently.\n *\n * @experimental 19.2\n */\n <TResult = unknown>(\n request: () => HttpResourceRequest | undefined,\n options?: HttpResourceOptions<TResult, unknown>,\n ): HttpResourceRef<TResult | undefined>;\n\n /**\n * Create a `Resource` that fetches data with the configured HTTP request.\n *\n * The resource will update when the URL or request changes via signals.\n *\n * Uses `HttpClient` to make requests and supports interceptors, testing, and the other features\n * of the `HttpClient` API. Data is parsed into an `ArrayBuffer`.\n *\n * @experimental 19.2\n */\n arrayBuffer: {\n <TResult = ArrayBuffer>(\n url: () => string | undefined,\n options: HttpResourceOptions<TResult, ArrayBuffer> & {defaultValue: NoInfer<TResult>},\n ): HttpResourceRef<TResult>;\n\n <TResult = ArrayBuffer>(\n url: () => string | undefined,\n options?: HttpResourceOptions<TResult, ArrayBuffer>,\n ): HttpResourceRef<TResult | undefined>;\n\n <TResult = ArrayBuffer>(\n request: () => HttpResourceRequest | undefined,\n options: HttpResourceOptions<TResult, ArrayBuffer> & {defaultValue: NoInfer<TResult>},\n ): HttpResourceRef<TResult>;\n\n <TResult = ArrayBuffer>(\n request: () => HttpResourceRequest | undefined,\n options?: HttpResourceOptions<TResult, ArrayBuffer>,\n ): HttpResourceRef<TResult | undefined>;\n };\n\n /**\n * Create a `Resource` that fetches data with the configured HTTP request.\n *\n * The resource will update when the URL or request changes via signals.\n *\n * Uses `HttpClient` to make requests and supports interceptors, testing, and the other features\n * of the `HttpClient` API. Data is parsed into a `Blob`.\n *\n * @experimental 19.2\n */\n blob: {\n <TResult = Blob>(\n url: () => string | undefined,\n options: HttpResourceOptions<TResult, Blob> & {defaultValue: NoInfer<TResult>},\n ): HttpResourceRef<TResult>;\n\n <TResult = Blob>(\n url: () => string | undefined,\n options?: HttpResourceOptions<TResult, Blob>,\n ): HttpResourceRef<TResult | undefined>;\n\n <TResult = Blob>(\n request: () => HttpResourceRequest | undefined,\n options: HttpResourceOptions<TResult, Blob> & {defaultValue: NoInfer<TResult>},\n ): HttpResourceRef<TResult>;\n\n <TResult = Blob>(\n request: () => HttpResourceRequest | undefined,\n options?: HttpResourceOptions<TResult, Blob>,\n ): HttpResourceRef<TResult | undefined>;\n };\n\n /**\n * Create a `Resource` that fetches data with the configured HTTP request.\n *\n * The resource will update when the URL or request changes via signals.\n *\n * Uses `HttpClient` to make requests and supports interceptors, testing, and the other features\n * of the `HttpClient` API. Data is parsed as a `string`.\n *\n * @experimental 19.2\n */\n text: {\n <TResult = string>(\n url: () => string | undefined,\n options: HttpResourceOptions<TResult, string> & {defaultValue: NoInfer<TResult>},\n ): HttpResourceRef<TResult>;\n\n <TResult = string>(\n url: () => string | undefined,\n options?: HttpResourceOptions<TResult, string>,\n ): HttpResourceRef<TResult | undefined>;\n\n <TResult = string>(\n request: () => HttpResourceRequest | undefined,\n options: HttpResourceOptions<TResult, string> & {defaultValue: NoInfer<TResult>},\n ): HttpResourceRef<TResult>;\n\n <TResult = string>(\n request: () => HttpResourceRequest | undefined,\n options?: HttpResourceOptions<TResult, string>,\n ): HttpResourceRef<TResult | undefined>;\n };\n}\n\n/**\n * `httpResource` makes a reactive HTTP request and exposes the request status and response value as\n * a `WritableResource`. By default, it assumes that the backend will return JSON data. To make a\n * request that expects a different kind of data, you can use a sub-constructor of `httpResource`,\n * such as `httpResource.text`.\n *\n * @experimental 19.2\n * @initializerApiFunction\n */\nexport const httpResource: HttpResourceFn = (() => {\n const jsonFn = makeHttpResourceFn<unknown>('json') as HttpResourceFn;\n jsonFn.arrayBuffer = makeHttpResourceFn<ArrayBuffer>('arraybuffer');\n jsonFn.blob = makeHttpResourceFn('blob');\n jsonFn.text = makeHttpResourceFn('text');\n return jsonFn;\n})();\n\n/**\n * The expected response type of the server.\n *\n * This is used to parse the response appropriately before returning it to\n * the requestee.\n */\ntype ResponseType = 'arraybuffer' | 'blob' | 'json' | 'text';\ntype RawRequestType = (() => string | undefined) | (() => HttpResourceRequest | undefined);\n\nfunction makeHttpResourceFn<TRaw>(responseType: ResponseType) {\n return function httpResource<TResult = TRaw>(\n request: RawRequestType,\n options?: HttpResourceOptions<TResult, TRaw>,\n ): HttpResourceRef<TResult> {\n if (ngDevMode && !options?.injector) {\n assertInInjectionContext(httpResource);\n }\n const injector = options?.injector ?? inject(Injector);\n return new HttpResourceImpl(\n injector,\n () => normalizeRequest(request, responseType),\n options?.defaultValue,\n options?.parse as (value: unknown) => TResult,\n options?.equal as ValueEqualityFn<unknown>,\n ) as HttpResourceRef<TResult>;\n };\n}\n\nfunction normalizeRequest(\n request: RawRequestType,\n responseType: ResponseType,\n): HttpRequest<unknown> | undefined {\n let unwrappedRequest = typeof request === 'function' ? request() : request;\n if (unwrappedRequest === undefined) {\n return undefined;\n } else if (typeof unwrappedRequest === 'string') {\n unwrappedRequest = {url: unwrappedRequest};\n }\n\n const headers =\n unwrappedRequest.headers instanceof HttpHeaders\n ? unwrappedRequest.headers\n : new HttpHeaders(\n unwrappedRequest.headers as\n | Record<string, string | number | Array<string | number>>\n | undefined,\n );\n\n const params =\n unwrappedRequest.params instanceof HttpParams\n ? unwrappedRequest.params\n : new HttpParams({fromObject: unwrappedRequest.params});\n\n return new HttpRequest(\n unwrappedRequest.method ?? 'GET',\n unwrappedRequest.url,\n unwrappedRequest.body ?? null,\n {\n headers,\n params,\n reportProgress: unwrappedRequest.reportProgress,\n withCredentials: unwrappedRequest.withCredentials,\n keepalive: unwrappedRequest.keepalive,\n cache: unwrappedRequest.cache as RequestCache,\n priority: unwrappedRequest.priority as RequestPriority,\n mode: unwrappedRequest.mode as RequestMode,\n redirect: unwrappedRequest.redirect as RequestRedirect,\n responseType,\n context: unwrappedRequest.context,\n transferCache: unwrappedRequest.transferCache,\n credentials: unwrappedRequest.credentials as RequestCredentials,\n timeout: unwrappedRequest.timeout,\n },\n );\n}\nclass HttpResourceImpl<T>\n extends ResourceImpl<T, HttpRequest<unknown> | undefined>\n implements HttpResourceRef<T>\n{\n private client!: HttpClient;\n private _headers = linkedSignal({\n source: this.extRequest,\n computation: () => undefined as HttpHeaders | undefined,\n });\n private _progress = linkedSignal({\n source: this.extRequest,\n computation: () => undefined as HttpProgressEvent | undefined,\n });\n private _statusCode = linkedSignal({\n source: this.extRequest,\n computation: () => undefined as number | undefined,\n });\n\n readonly headers = computed(() =>\n this.status() === 'resolved' || this.status() === 'error' ? this._headers() : undefined,\n );\n readonly progress = this._progress.asReadonly();\n readonly statusCode = this._statusCode.asReadonly();\n\n constructor(\n injector: Injector,\n request: () => HttpRequest<T> | undefined,\n defaultValue: T,\n parse?: (value: unknown) => T,\n equal?: ValueEqualityFn<unknown>,\n ) {\n super(\n request,\n ({params: request, abortSignal}) => {\n let sub: Subscription;\n\n // Track the abort listener so it can be removed if the Observable completes (as a memory\n // optimization).\n const onAbort = () => sub.unsubscribe();\n abortSignal.addEventListener('abort', onAbort);\n\n // Start off stream as undefined.\n const stream = signal<ResourceStreamItem<T>>({value: undefined as T});\n let resolve: ((value: Signal<ResourceStreamItem<T>>) => void) | undefined;\n const promise = new Promise<Signal<ResourceStreamItem<T>>>((r) => (resolve = r));\n\n const send = (value: ResourceStreamItem<T>): void => {\n stream.set(value);\n resolve?.(stream);\n resolve = undefined;\n };\n\n sub = this.client.request(request!).subscribe({\n next: (event) => {\n switch (event.type) {\n case HttpEventType.Response:\n this._headers.set(event.headers);\n this._statusCode.set(event.status);\n try {\n send({value: parse ? parse(event.body) : (event.body as T)});\n } catch (error) {\n send({error: encapsulateResourceError(error)});\n }\n break;\n case HttpEventType.DownloadProgress:\n this._progress.set(event);\n break;\n }\n },\n error: (error) => {\n if (error instanceof HttpErrorResponse) {\n this._headers.set(error.headers);\n this._statusCode.set(error.status);\n }\n\n send({error});\n abortSignal.removeEventListener('abort', onAbort);\n },\n complete: () => {\n if (resolve) {\n send({\n error: new ɵRuntimeError(\n ɵRuntimeErrorCode.RESOURCE_COMPLETED_BEFORE_PRODUCING_VALUE,\n ngDevMode && 'Resource completed before producing a value',\n ),\n });\n }\n abortSignal.removeEventListener('abort', onAbort);\n },\n });\n\n return promise;\n },\n defaultValue,\n equal,\n injector,\n );\n this.client = injector.get(HttpClient);\n }\n\n override set(value: T): void {\n super.set(value);\n\n this._headers.set(undefined);\n this._progress.set(undefined);\n this._statusCode.set(undefined);\n }\n\n // This is a type only override of the method\n declare hasValue: () => this is HttpResourceRef<Exclude<T, undefined>>;\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {\n APP_BOOTSTRAP_LISTENER,\n ApplicationRef,\n inject,\n InjectionToken,\n makeStateKey,\n Provider,\n StateKey,\n TransferState,\n ɵformatRuntimeError as formatRuntimeError,\n ɵperformanceMarkFeature as performanceMarkFeature,\n ɵtruncateMiddle as truncateMiddle,\n ɵRuntimeError as RuntimeError,\n} from '@angular/core';\nimport {Observable, of} from 'rxjs';\nimport {tap} from 'rxjs/operators';\n\nimport {RuntimeErrorCode} from './errors';\nimport {HttpHeaders} from './headers';\nimport {HTTP_ROOT_INTERCEPTOR_FNS, HttpHandlerFn} from './interceptor';\nimport {HttpRequest} from './request';\nimport {HttpEvent, HttpResponse} from './response';\nimport {HttpParams} from './params';\n\n/**\n * Options to configure how TransferCache should be used to cache requests made via HttpClient.\n *\n * @param includeHeaders Specifies which headers should be included into cached responses. No\n * headers are included by default.\n * @param filter A function that receives a request as an argument and returns a boolean to indicate\n * whether a request should be included into the cache.\n * @param includePostRequests Enables caching for POST requests. By default, only GET and HEAD\n * requests are cached. This option can be enabled if POST requests are used to retrieve data\n * (for example using GraphQL).\n * @param includeRequestsWithAuthHeaders Enables caching of requests containing either `Authorization`\n * or `Proxy-Authorization` headers. By default, these requests are excluded from caching.\n *\n * @publicApi\n */\nexport type HttpTransferCacheOptions = {\n includeHeaders?: string[];\n filter?: (req: HttpRequest<unknown>) => boolean;\n includePostRequests?: boolean;\n includeRequestsWithAuthHeaders?: boolean;\n};\n\n/**\n * If your application uses different HTTP origins to make API calls (via `HttpClient`) on the server and\n * on the client, the `HTTP_TRANSFER_CACHE_ORIGIN_MAP` token allows you to establish a mapping\n * between those origins, so that `HttpTransferCache` feature can recognize those requests as the same\n * ones and reuse the data cached on the server during hydration on the client.\n *\n * **Important note**: the `HTTP_TRANSFER_CACHE_ORIGIN_MAP` token should *only* be provided in\n * the *server* code of your application (typically in the `app.server.config.ts` script). Angular throws an\n * error if it detects that the token is defined while running on the client.\n *\n * @usageNotes\n *\n * When the same API endpoint is accessed via `http://internal-domain.com:8080` on the server and\n * via `https://external-domain.com` on the client, you can use the following configuration:\n * ```ts\n * // in app.server.config.ts\n * {\n * provide: HTTP_TRANSFER_CACHE_ORIGIN_MAP,\n * useValue: {\n * 'http://internal-domain.com:8080': 'https://external-domain.com'\n * }\n * }\n * ```\n *\n * @publicApi\n */\nexport const HTTP_TRANSFER_CACHE_ORIGIN_MAP = new InjectionToken<Record<string, string>>(\n ngDevMode ? 'HTTP_TRANSFER_CACHE_ORIGIN_MAP' : '',\n);\n\n/**\n * Keys within cached response data structure.\n */\n\nexport const BODY = 'b';\nexport const HEADERS = 'h';\nexport const STATUS = 's';\nexport const STATUS_TEXT = 'st';\nexport const REQ_URL = 'u';\nexport const RESPONSE_TYPE = 'rt';\n\ninterface TransferHttpResponse {\n /** body */\n [BODY]: any;\n /** headers */\n [HEADERS]: Record<string, string[]>;\n /** status */\n [STATUS]?: number;\n /** statusText */\n [STATUS_TEXT]?: string;\n /** url */\n [REQ_URL]?: string;\n /** responseType */\n [RESPONSE_TYPE]?: HttpRequest<unknown>['responseType'];\n}\n\ninterface CacheOptions extends HttpTransferCacheOptions {\n isCacheActive: boolean;\n}\n\nconst CACHE_OPTIONS = new InjectionToken<CacheOptions>(\n ngDevMode ? 'HTTP_TRANSFER_STATE_CACHE_OPTIONS' : '',\n);\n\n/**\n * A list of allowed HTTP methods to cache.\n */\nconst ALLOWED_METHODS = ['GET', 'HEAD'];\n\nexport function transferCacheInterceptorFn(\n req: HttpRequest<unknown>,\n next: HttpHandlerFn,\n): Observable<HttpEvent<unknown>> {\n const {isCacheActive, ...globalOptions} = inject(CACHE_OPTIONS);\n const {transferCache: requestOptions, method: requestMethod} = req;\n\n // In the following situations we do not want to cache the request\n if (\n !isCacheActive ||\n requestOptions === false ||\n // POST requests are allowed either globally or at request level\n (requestMethod === 'POST' && !globalOptions.includePostRequests && !requestOptions) ||\n (requestMethod !== 'POST' && !ALLOWED_METHODS.includes(requestMethod)) ||\n // Do not cache request that require authorization when includeRequestsWithAuthHeaders is falsey\n (!globalOptions.includeRequestsWithAuthHeaders && hasAuthHeaders(req)) ||\n globalOptions.filter?.(req) === false\n ) {\n return next(req);\n }\n\n const transferState = inject(TransferState);\n\n const originMap: Record<string, string> | null = inject(HTTP_TRANSFER_CACHE_ORIGIN_MAP, {\n optional: true,\n });\n\n if (typeof ngServerMode !== 'undefined' && !ngServerMode && originMap) {\n throw new RuntimeError(\n RuntimeErrorCode.HTTP_ORIGIN_MAP_USED_IN_CLIENT,\n ngDevMode &&\n 'Angular detected that the `HTTP_TRANSFER_CACHE_ORIGIN_MAP` token is configured and ' +\n 'present in the client side code. Please ensure that this token is only provided in the ' +\n 'server code of the application.',\n );\n }\n\n const requestUrl =\n typeof ngServerMode !== 'undefined' && ngServerMode && originMap\n ? mapRequestOriginUrl(req.url, originMap)\n : req.url;\n\n const storeKey = makeCacheKey(req, requestUrl);\n const response = transferState.get(storeKey, null);\n\n let headersToInclude = globalOptions.includeHeaders;\n if (typeof requestOptions === 'object' && requestOptions.includeHeaders) {\n // Request-specific config takes precedence over the global config.\n headersToInclude = requestOptions.includeHeaders;\n }\n\n if (response) {\n const {\n [BODY]: undecodedBody,\n [RESPONSE_TYPE]: responseType,\n [HEADERS]: httpHeaders,\n [STATUS]: status,\n [STATUS_TEXT]: statusText,\n [REQ_URL]: url,\n } = response;\n // Request found in cache. Respond using it.\n let body: ArrayBuffer | Blob | string | undefined = undecodedBody;\n\n switch (responseType) {\n case 'arraybuffer':\n body = new TextEncoder().encode(undecodedBody).buffer;\n break;\n case 'blob':\n body = new Blob([undecodedBody]);\n break;\n }\n\n // We want to warn users accessing a header provided from the cache\n // That HttpTransferCache alters the headers\n // The warning will be logged a single time by HttpHeaders instance\n let headers = new HttpHeaders(httpHeaders);\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n // Append extra logic in dev mode to produce a warning when a header\n // that was not transferred to the client is accessed in the code via `get`\n // and `has` calls.\n headers = appendMissingHeadersDetection(req.url, headers, headersToInclude ?? []);\n }\n\n return of(\n new HttpResponse({\n body,\n headers,\n status,\n statusText,\n url,\n }),\n );\n }\n\n const event$ = next(req);\n\n if (typeof ngServerMode !== 'undefined' && ngServerMode) {\n // Request not found in cache. Make the request and cache it if on the server.\n return event$.pipe(\n tap((event: HttpEvent<unknown>) => {\n // Only cache successful HTTP responses.\n if (event instanceof HttpResponse) {\n transferState.set<TransferHttpResponse>(storeKey, {\n [BODY]: event.body,\n [HEADERS]: getFilteredHeaders(event.headers, headersToInclude),\n [STATUS]: event.status,\n [STATUS_TEXT]: event.statusText,\n [REQ_URL]: requestUrl,\n [RESPONSE_TYPE]: req.responseType,\n });\n }\n }),\n );\n }\n\n return event$;\n}\n\n/** @returns true when the requests contains autorization related headers. */\nfunction hasAuthHeaders(req: HttpRequest<unknown>): boolean {\n return req.headers.has('authorization') || req.headers.has('proxy-authorization');\n}\n\nfunction getFilteredHeaders(\n headers: HttpHeaders,\n includeHeaders: string[] | undefined,\n): Record<string, string[]> {\n if (!includeHeaders) {\n return {};\n }\n\n const headersMap: Record<string, string[]> = {};\n for (const key of includeHeaders) {\n const values = headers.getAll(key);\n if (values !== null) {\n headersMap[key] = values;\n }\n }\n\n return headersMap;\n}\n\nfunction sortAndConcatParams(params: HttpParams | URLSearchParams): string {\n return [...params.keys()]\n .sort()\n .map((k) => `${k}=${params.getAll(k)}`)\n .join('&');\n}\n\nfunction makeCacheKey(\n request: HttpRequest<any>,\n mappedRequestUrl: string,\n): StateKey<TransferHttpResponse> {\n // make the params encoded same as a url so it's easy to identify\n const {params, method, responseType} = request;\n const encodedParams = sortAndConcatParams(params);\n\n let serializedBody = request.serializeBody();\n if (serializedBody instanceof URLSearchParams) {\n serializedBody = sortAndConcatParams(serializedBody);\n } else if (typeof serializedBody !== 'string') {\n serializedBody = '';\n }\n\n const key = [method, responseType, mappedRequestUrl, serializedBody, encodedParams].join('|');\n const hash = generateHash(key);\n\n return makeStateKey(hash);\n}\n\n/**\n * A method that returns a hash representation of a string using a variant of DJB2 hash\n * algorithm.\n *\n * This is the same hashing logic that is used to generate component ids.\n */\nfunction generateHash(value: string): string {\n let hash = 0;\n\n for (const char of value) {\n hash = (Math.imul(31, hash) + char.charCodeAt(0)) << 0;\n }\n\n // Force positive number hash.\n // 2147483647 = equivalent of Integer.MAX_VALUE.\n hash += 2147483647 + 1;\n\n return hash.toString();\n}\n\n/**\n * Returns the DI providers needed to enable HTTP transfer cache.\n *\n * By default, when using server rendering, requests are performed twice: once on the server and\n * other one on the browser.\n *\n * When these providers are added, requests performed on the server are cached and reused during the\n * bootstrapping of the application in the browser thus avoiding duplicate requests and reducing\n * load time.\n *\n */\nexport function withHttpTransferCache(cacheOptions: HttpTransferCacheOptions): Provider[] {\n return [\n {\n provide: CACHE_OPTIONS,\n useFactory: (): CacheOptions => {\n performanceMarkFeature('NgHttpTransferCache');\n return {isCacheActive: true, ...cacheOptions};\n },\n },\n {\n provide: HTTP_ROOT_INTERCEPTOR_FNS,\n useValue: transferCacheInterceptorFn,\n multi: true,\n },\n {\n provide: APP_BOOTSTRAP_LISTENER,\n multi: true,\n useFactory: () => {\n const appRef = inject(ApplicationRef);\n const cacheState = inject(CACHE_OPTIONS);\n\n return () => {\n appRef.whenStable().then(() => {\n cacheState.isCacheActive = false;\n });\n };\n },\n },\n ];\n}\n\n/**\n * This function will add a proxy to an HttpHeader to intercept calls to get/has\n * and log a warning if the header entry requested has been removed\n */\nfunction appendMissingHeadersDetection(\n url: string,\n headers: HttpHeaders,\n headersToInclude: string[],\n): HttpHeaders {\n const warningProduced = new Set();\n return new Proxy<HttpHeaders>(headers, {\n get(target: HttpHeaders, prop: keyof HttpHeaders): unknown {\n const value = Reflect.get(target, prop);\n const methods: Set<keyof HttpHeaders> = new Set(['get', 'has', 'getAll']);\n\n if (typeof value !== 'function' || !methods.has(prop)) {\n return value;\n }\n\n return (headerName: string) => {\n // We log when the key has been removed and a warning hasn't been produced for the header\n const key = (prop + ':' + headerName).toLowerCase(); // e.g. `get:cache-control`\n if (!headersToInclude.includes(headerName) && !warningProduced.has(key)) {\n warningProduced.add(key);\n const truncatedUrl = truncateMiddle(url);\n\n // TODO: create Error guide for this warning\n console.warn(\n formatRuntimeError(\n RuntimeErrorCode.HEADERS_ALTERED_BY_TRANSFER_CACHE,\n `Angular detected that the \\`${headerName}\\` header is accessed, but the value of the header ` +\n `was not transferred from the server to the client by the HttpTransferCache. ` +\n `To include the value of the \\`${headerName}\\` header for the \\`${truncatedUrl}\\` request, ` +\n `use the \\`includeHeaders\\` list. The \\`includeHeaders\\` can be defined either ` +\n `on a request level by adding the \\`transferCache\\` parameter, or on an application ` +\n `level by adding the \\`httpCacheTransfer.includeHeaders\\` argument to the ` +\n `\\`provideClientHydration()\\` call. `,\n ),\n );\n }\n\n // invoking the original method\n return (value as Function).apply(target, [headerName]);\n };\n },\n });\n}\n\nfunction mapRequestOriginUrl(url: string, originMap: Record<string, string>): string {\n const origin = new URL(url, 'resolve://').origin;\n const mappedOrigin = originMap[origin];\n if (!mappedOrigin) {\n return url;\n }\n\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n verifyMappedOrigin(mappedOrigin);\n }\n\n return url.replace(origin, mappedOrigin);\n}\n\nfunction verifyMappedOrigin(url: string): void {\n if (new URL(url, 'resolve://').pathname !== '/') {\n throw new RuntimeError(\n RuntimeErrorCode.HTTP_ORIGIN_MAP_CONTAINS_PATH,\n 'Angular detected a URL with a path segment in the value provided for the ' +\n `\\`HTTP_TRANSFER_CACHE_ORIGIN_MAP\\` token: ${url}. The map should only contain origins ` +\n 'without any other segments.',\n );\n }\n}\n"],"names":["ResourceImpl","encapsulateResourceError","ɵRuntimeError","RuntimeError","performanceMarkFeature","truncateMiddle","formatRuntimeError"],"mappings":";;;;;;;;;;;;;AAyMA;;;;;;;;AAQG;AACU,MAAA,YAAY,GAAmB,CAAC,MAAK;AAChD,IAAA,MAAM,MAAM,GAAG,kBAAkB,CAAU,MAAM,CAAmB;AACpE,IAAA,MAAM,CAAC,WAAW,GAAG,kBAAkB,CAAc,aAAa,CAAC;AACnE,IAAA,MAAM,CAAC,IAAI,GAAG,kBAAkB,CAAC,MAAM,CAAC;AACxC,IAAA,MAAM,CAAC,IAAI,GAAG,kBAAkB,CAAC,MAAM,CAAC;AACxC,IAAA,OAAO,MAAM;AACf,CAAC;AAWD,SAAS,kBAAkB,CAAO,YAA0B,EAAA;AAC1D,IAAA,OAAO,SAAS,YAAY,CAC1B,OAAuB,EACvB,OAA4C,EAAA;AAE5C,QAAA,IAAI,SAAS,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE;YACnC,wBAAwB,CAAC,YAAY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AAE;QACjD,kBAAkB,CAAC,YAAY,CAAC;;IAGlC,OAAO,GAAG,CAAC,OAAO,CAAC,MAAM,EAAE,YAAY,CAAC;AAC1C;AAEA,SAAS,kBAAkB,CAAC,GAAW,EAAA;AACrC,IAAA,IAAI,IAAI,GAAG,CAAC,GAAG,EAAE,YAAY,CAAC,CAAC,QAAQ,KAAK,GAAG,EAAE;QAC/C,MAAM,IAAIH,aAAY,CAAA,IAAA,uDAEpB,2EAA2E;AACzE,YAAA,CAAA,0CAAA,EAA6C,GAAG,CAAwC,sCAAA,CAAA;AACxF,YAAA,6BAA6B,CAChC;;AAEL;;;;"}
|
package/fesm2022/location.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.1.
|
|
2
|
+
* @license Angular v20.1.5
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -50,10 +50,10 @@ class PlatformLocation {
|
|
|
50
50
|
historyGo(relativePosition) {
|
|
51
51
|
throw new Error(ngDevMode ? 'Not implemented' : '');
|
|
52
52
|
}
|
|
53
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
54
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
53
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
54
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: () => inject(BrowserPlatformLocation) });
|
|
55
55
|
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: PlatformLocation, decorators: [{
|
|
57
57
|
type: Injectable,
|
|
58
58
|
args: [{ providedIn: 'platform', useFactory: () => inject(BrowserPlatformLocation) }]
|
|
59
59
|
}] });
|
|
@@ -135,10 +135,10 @@ class BrowserPlatformLocation extends PlatformLocation {
|
|
|
135
135
|
getState() {
|
|
136
136
|
return this._history.state;
|
|
137
137
|
}
|
|
138
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
139
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
138
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: BrowserPlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
139
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: () => new BrowserPlatformLocation() });
|
|
140
140
|
}
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: BrowserPlatformLocation, decorators: [{
|
|
142
142
|
type: Injectable,
|
|
143
143
|
args: [{
|
|
144
144
|
providedIn: 'platform',
|
|
@@ -219,10 +219,10 @@ class LocationStrategy {
|
|
|
219
219
|
historyGo(relativePosition) {
|
|
220
220
|
throw new Error(ngDevMode ? 'Not implemented' : '');
|
|
221
221
|
}
|
|
222
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
223
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
222
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
223
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: () => inject(PathLocationStrategy) });
|
|
224
224
|
}
|
|
225
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: LocationStrategy, decorators: [{
|
|
226
226
|
type: Injectable,
|
|
227
227
|
args: [{ providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }]
|
|
228
228
|
}] });
|
|
@@ -334,10 +334,10 @@ class PathLocationStrategy extends LocationStrategy {
|
|
|
334
334
|
historyGo(relativePosition = 0) {
|
|
335
335
|
this._platformLocation.historyGo?.(relativePosition);
|
|
336
336
|
}
|
|
337
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
338
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
337
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: PathLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
338
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: PathLocationStrategy, providedIn: 'root' });
|
|
339
339
|
}
|
|
340
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
340
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: PathLocationStrategy, decorators: [{
|
|
341
341
|
type: Injectable,
|
|
342
342
|
args: [{ providedIn: 'root' }]
|
|
343
343
|
}], ctorParameters: () => [{ type: PlatformLocation }, { type: undefined, decorators: [{
|
|
@@ -592,10 +592,10 @@ class Location {
|
|
|
592
592
|
* @returns The URL string, modified if needed.
|
|
593
593
|
*/
|
|
594
594
|
static stripTrailingSlash = stripTrailingSlash;
|
|
595
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
596
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
595
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
596
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation });
|
|
597
597
|
}
|
|
598
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
598
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: Location, decorators: [{
|
|
599
599
|
type: Injectable,
|
|
600
600
|
args: [{
|
|
601
601
|
providedIn: 'root',
|
package/fesm2022/module.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.1.
|
|
2
|
+
* @license Angular v20.1.5
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1645,10 +1645,10 @@ class HttpClient {
|
|
|
1645
1645
|
put(url, body, options = {}) {
|
|
1646
1646
|
return this.request('PUT', url, addBody(options, body));
|
|
1647
1647
|
}
|
|
1648
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1649
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
1648
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpClient, deps: [{ token: HttpHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1649
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpClient });
|
|
1650
1650
|
}
|
|
1651
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1651
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpClient, decorators: [{
|
|
1652
1652
|
type: Injectable
|
|
1653
1653
|
}], ctorParameters: () => [{ type: HttpHandler }] });
|
|
1654
1654
|
|
|
@@ -1814,7 +1814,7 @@ class FetchBackend {
|
|
|
1814
1814
|
const chunksAll = this.concatChunks(chunks, receivedLength);
|
|
1815
1815
|
try {
|
|
1816
1816
|
const contentType = response.headers.get(CONTENT_TYPE_HEADER) ?? '';
|
|
1817
|
-
body = this.parseBody(request, chunksAll, contentType);
|
|
1817
|
+
body = this.parseBody(request, chunksAll, contentType, status);
|
|
1818
1818
|
}
|
|
1819
1819
|
catch (error) {
|
|
1820
1820
|
// Body loading or parsing failed
|
|
@@ -1859,12 +1859,27 @@ class FetchBackend {
|
|
|
1859
1859
|
}));
|
|
1860
1860
|
}
|
|
1861
1861
|
}
|
|
1862
|
-
parseBody(request, binContent, contentType) {
|
|
1862
|
+
parseBody(request, binContent, contentType, status) {
|
|
1863
1863
|
switch (request.responseType) {
|
|
1864
1864
|
case 'json':
|
|
1865
1865
|
// stripping the XSSI when present
|
|
1866
1866
|
const text = new TextDecoder().decode(binContent).replace(XSSI_PREFIX$1, '');
|
|
1867
|
-
|
|
1867
|
+
if (text === '') {
|
|
1868
|
+
return null;
|
|
1869
|
+
}
|
|
1870
|
+
try {
|
|
1871
|
+
return JSON.parse(text);
|
|
1872
|
+
}
|
|
1873
|
+
catch (e) {
|
|
1874
|
+
// Allow handling non-JSON errors (!) as plain text, same as the XHR
|
|
1875
|
+
// backend. Without this special sauce, any non-JSON error would be
|
|
1876
|
+
// completely inaccessible downstream as the `HttpErrorResponse.error`
|
|
1877
|
+
// would be set to the `SyntaxError` from then failing `JSON.parse`.
|
|
1878
|
+
if (status < 200 || status >= 300) {
|
|
1879
|
+
return text;
|
|
1880
|
+
}
|
|
1881
|
+
throw e;
|
|
1882
|
+
}
|
|
1868
1883
|
case 'text':
|
|
1869
1884
|
return new TextDecoder().decode(binContent);
|
|
1870
1885
|
case 'blob':
|
|
@@ -1921,10 +1936,10 @@ class FetchBackend {
|
|
|
1921
1936
|
}
|
|
1922
1937
|
return chunksAll;
|
|
1923
1938
|
}
|
|
1924
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1925
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
1939
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: FetchBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1940
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: FetchBackend });
|
|
1926
1941
|
}
|
|
1927
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1942
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: FetchBackend, decorators: [{
|
|
1928
1943
|
type: Injectable
|
|
1929
1944
|
}], ctorParameters: () => [] });
|
|
1930
1945
|
/**
|
|
@@ -2068,10 +2083,10 @@ class HttpInterceptorHandler extends HttpHandler {
|
|
|
2068
2083
|
return this.chain(initialRequest, (downstreamRequest) => this.backend.handle(downstreamRequest));
|
|
2069
2084
|
}
|
|
2070
2085
|
}
|
|
2071
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
2072
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
2086
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpInterceptorHandler, deps: [{ token: HttpBackend }, { token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2087
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpInterceptorHandler });
|
|
2073
2088
|
}
|
|
2074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
2089
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpInterceptorHandler, decorators: [{
|
|
2075
2090
|
type: Injectable
|
|
2076
2091
|
}], ctorParameters: () => [{ type: HttpBackend }, { type: i0.EnvironmentInjector }] });
|
|
2077
2092
|
|
|
@@ -2273,10 +2288,10 @@ class JsonpClientBackend {
|
|
|
2273
2288
|
foreignDocument ??= this.document.implementation.createHTMLDocument();
|
|
2274
2289
|
foreignDocument.adoptNode(script);
|
|
2275
2290
|
}
|
|
2276
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
2277
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
2291
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: JsonpClientBackend, deps: [{ token: JsonpCallbackContext }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2292
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: JsonpClientBackend });
|
|
2278
2293
|
}
|
|
2279
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
2294
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: JsonpClientBackend, decorators: [{
|
|
2280
2295
|
type: Injectable
|
|
2281
2296
|
}], ctorParameters: () => [{ type: JsonpCallbackContext }, { type: undefined, decorators: [{
|
|
2282
2297
|
type: Inject,
|
|
@@ -2315,10 +2330,10 @@ class JsonpInterceptor {
|
|
|
2315
2330
|
intercept(initialRequest, next) {
|
|
2316
2331
|
return runInInjectionContext(this.injector, () => jsonpInterceptorFn(initialRequest, (downstreamRequest) => next.handle(downstreamRequest)));
|
|
2317
2332
|
}
|
|
2318
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
2319
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
2333
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: JsonpInterceptor, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2334
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: JsonpInterceptor });
|
|
2320
2335
|
}
|
|
2321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
2336
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: JsonpInterceptor, decorators: [{
|
|
2322
2337
|
type: Injectable
|
|
2323
2338
|
}], ctorParameters: () => [{ type: i0.EnvironmentInjector }] });
|
|
2324
2339
|
|
|
@@ -2662,10 +2677,10 @@ class HttpXhrBackend {
|
|
|
2662
2677
|
});
|
|
2663
2678
|
}));
|
|
2664
2679
|
}
|
|
2665
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
2666
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
2680
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpXhrBackend, deps: [{ token: XhrFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2681
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpXhrBackend });
|
|
2667
2682
|
}
|
|
2668
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
2683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpXhrBackend, decorators: [{
|
|
2669
2684
|
type: Injectable
|
|
2670
2685
|
}], ctorParameters: () => [{ type: XhrFactory }] });
|
|
2671
2686
|
|
|
@@ -2715,10 +2730,10 @@ class HttpXsrfCookieExtractor {
|
|
|
2715
2730
|
}
|
|
2716
2731
|
return this.lastToken;
|
|
2717
2732
|
}
|
|
2718
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
2719
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
2733
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpXsrfCookieExtractor, deps: [{ token: DOCUMENT }, { token: XSRF_COOKIE_NAME }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2734
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpXsrfCookieExtractor });
|
|
2720
2735
|
}
|
|
2721
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
2736
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpXsrfCookieExtractor, decorators: [{
|
|
2722
2737
|
type: Injectable
|
|
2723
2738
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
2724
2739
|
type: Inject,
|
|
@@ -2759,10 +2774,10 @@ class HttpXsrfInterceptor {
|
|
|
2759
2774
|
intercept(initialRequest, next) {
|
|
2760
2775
|
return runInInjectionContext(this.injector, () => xsrfInterceptorFn(initialRequest, (downstreamRequest) => next.handle(downstreamRequest)));
|
|
2761
2776
|
}
|
|
2762
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
2763
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
2777
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpXsrfInterceptor, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2778
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpXsrfInterceptor });
|
|
2764
2779
|
}
|
|
2765
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
2780
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpXsrfInterceptor, decorators: [{
|
|
2766
2781
|
type: Injectable
|
|
2767
2782
|
}], ctorParameters: () => [{ type: i0.EnvironmentInjector }] });
|
|
2768
2783
|
|
|
@@ -3028,9 +3043,9 @@ class HttpClientXsrfModule {
|
|
|
3028
3043
|
providers: withXsrfConfiguration(options).ɵproviders,
|
|
3029
3044
|
};
|
|
3030
3045
|
}
|
|
3031
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
3032
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.
|
|
3033
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.
|
|
3046
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpClientXsrfModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3047
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.5", ngImport: i0, type: HttpClientXsrfModule });
|
|
3048
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpClientXsrfModule, providers: [
|
|
3034
3049
|
HttpXsrfInterceptor,
|
|
3035
3050
|
{ provide: HTTP_INTERCEPTORS, useExisting: HttpXsrfInterceptor, multi: true },
|
|
3036
3051
|
{ provide: HttpXsrfTokenExtractor, useClass: HttpXsrfCookieExtractor },
|
|
@@ -3041,7 +3056,7 @@ class HttpClientXsrfModule {
|
|
|
3041
3056
|
{ provide: XSRF_ENABLED, useValue: true },
|
|
3042
3057
|
] });
|
|
3043
3058
|
}
|
|
3044
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
3059
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpClientXsrfModule, decorators: [{
|
|
3045
3060
|
type: NgModule,
|
|
3046
3061
|
args: [{
|
|
3047
3062
|
providers: [
|
|
@@ -3067,11 +3082,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
3067
3082
|
* @deprecated use `provideHttpClient(withInterceptorsFromDi())` as providers instead
|
|
3068
3083
|
*/
|
|
3069
3084
|
class HttpClientModule {
|
|
3070
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
3071
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.
|
|
3072
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.
|
|
3085
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpClientModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3086
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.5", ngImport: i0, type: HttpClientModule });
|
|
3087
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpClientModule, providers: [provideHttpClient(withInterceptorsFromDi())] });
|
|
3073
3088
|
}
|
|
3074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
3089
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpClientModule, decorators: [{
|
|
3075
3090
|
type: NgModule,
|
|
3076
3091
|
args: [{
|
|
3077
3092
|
/**
|
|
@@ -3091,11 +3106,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
3091
3106
|
* @deprecated `withJsonpSupport()` as providers instead
|
|
3092
3107
|
*/
|
|
3093
3108
|
class HttpClientJsonpModule {
|
|
3094
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
3095
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.
|
|
3096
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.
|
|
3109
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpClientJsonpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3110
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.5", ngImport: i0, type: HttpClientJsonpModule });
|
|
3111
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpClientJsonpModule, providers: [withJsonpSupport().ɵproviders] });
|
|
3097
3112
|
}
|
|
3098
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
3113
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: HttpClientJsonpModule, decorators: [{
|
|
3099
3114
|
type: NgModule,
|
|
3100
3115
|
args: [{
|
|
3101
3116
|
providers: [withJsonpSupport().ɵproviders],
|