@angular/common 14.0.0-next.9 → 14.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1218) hide show
  1. package/esm2020/http/src/client.mjs +3 -3
  2. package/esm2020/http/src/interceptor.mjs +3 -3
  3. package/esm2020/http/src/jsonp.mjs +16 -8
  4. package/esm2020/http/src/module.mjs +20 -22
  5. package/esm2020/http/src/params.mjs +4 -3
  6. package/esm2020/http/src/response.mjs +2 -2
  7. package/esm2020/http/src/xhr.mjs +6 -6
  8. package/esm2020/http/src/xsrf.mjs +6 -6
  9. package/esm2020/http/testing/src/backend.mjs +3 -3
  10. package/esm2020/http/testing/src/module.mjs +6 -8
  11. package/esm2020/http/testing/src/request.mjs +3 -3
  12. package/esm2020/src/common_module.mjs +4 -4
  13. package/esm2020/src/directives/ng_class.mjs +3 -3
  14. package/esm2020/src/directives/ng_component_outlet.mjs +3 -3
  15. package/esm2020/src/directives/ng_for_of.mjs +3 -3
  16. package/esm2020/src/directives/ng_if.mjs +3 -3
  17. package/esm2020/src/directives/ng_plural.mjs +6 -6
  18. package/esm2020/src/directives/ng_style.mjs +3 -3
  19. package/esm2020/src/directives/ng_switch.mjs +11 -11
  20. package/esm2020/src/directives/ng_template_outlet.mjs +3 -3
  21. package/esm2020/src/i18n/currencies.mjs +2 -2
  22. package/esm2020/src/i18n/locale_data_api.mjs +7 -7
  23. package/esm2020/src/i18n/localization.mjs +6 -6
  24. package/esm2020/src/location/hash_location_strategy.mjs +7 -4
  25. package/esm2020/src/location/location.mjs +18 -21
  26. package/esm2020/src/location/location_strategy.mjs +11 -8
  27. package/esm2020/src/location/platform_location.mjs +6 -6
  28. package/esm2020/src/pipes/async_pipe.mjs +3 -3
  29. package/esm2020/src/pipes/case_conversion_pipes.mjs +9 -9
  30. package/esm2020/src/pipes/date_pipe.mjs +3 -3
  31. package/esm2020/src/pipes/i18n_plural_pipe.mjs +3 -3
  32. package/esm2020/src/pipes/i18n_select_pipe.mjs +3 -3
  33. package/esm2020/src/pipes/invalid_pipe_argument_error.mjs +2 -2
  34. package/esm2020/src/pipes/json_pipe.mjs +3 -3
  35. package/esm2020/src/pipes/keyvalue_pipe.mjs +3 -3
  36. package/esm2020/src/pipes/number_pipe.mjs +9 -9
  37. package/esm2020/src/pipes/slice_pipe.mjs +3 -3
  38. package/esm2020/src/version.mjs +1 -1
  39. package/esm2020/testing/src/location_mock.mjs +5 -7
  40. package/esm2020/testing/src/mock_location_strategy.mjs +3 -3
  41. package/esm2020/testing/src/mock_platform_location.mjs +3 -3
  42. package/esm2020/upgrade/src/location_upgrade_module.mjs +5 -5
  43. package/fesm2015/common.mjs +132 -127
  44. package/fesm2015/common.mjs.map +1 -1
  45. package/fesm2015/http/testing.mjs +11 -13
  46. package/fesm2015/http/testing.mjs.map +1 -1
  47. package/fesm2015/http.mjs +56 -49
  48. package/fesm2015/http.mjs.map +1 -1
  49. package/fesm2015/testing.mjs +11 -13
  50. package/fesm2015/testing.mjs.map +1 -1
  51. package/fesm2015/upgrade.mjs +5 -5
  52. package/fesm2015/upgrade.mjs.map +1 -1
  53. package/fesm2020/common.mjs +132 -127
  54. package/fesm2020/common.mjs.map +1 -1
  55. package/fesm2020/http/testing.mjs +11 -13
  56. package/fesm2020/http/testing.mjs.map +1 -1
  57. package/fesm2020/http.mjs +56 -49
  58. package/fesm2020/http.mjs.map +1 -1
  59. package/fesm2020/testing.mjs +11 -13
  60. package/fesm2020/testing.mjs.map +1 -1
  61. package/fesm2020/upgrade.mjs +5 -5
  62. package/fesm2020/upgrade.mjs.map +1 -1
  63. package/http/{http.d.ts → index.d.ts} +4007 -4006
  64. package/http/testing/{testing.d.ts → index.d.ts} +177 -176
  65. package/{common.d.ts → index.d.ts} +2870 -2866
  66. package/locales/af-NA.d.ts +1 -0
  67. package/locales/af-NA.mjs +2 -2
  68. package/locales/af.d.ts +1 -0
  69. package/locales/af.mjs +2 -2
  70. package/locales/am.d.ts +1 -0
  71. package/locales/am.mjs +2 -2
  72. package/locales/ar-AE.d.ts +1 -1
  73. package/locales/ar-AE.mjs +2 -2
  74. package/locales/ar-BH.d.ts +1 -1
  75. package/locales/ar-BH.mjs +2 -2
  76. package/locales/ar-DJ.d.ts +1 -1
  77. package/locales/ar-DJ.mjs +2 -2
  78. package/locales/ar-DZ.d.ts +1 -1
  79. package/locales/ar-DZ.mjs +2 -2
  80. package/locales/ar-EG.d.ts +1 -1
  81. package/locales/ar-EG.mjs +2 -2
  82. package/locales/ar-EH.d.ts +1 -1
  83. package/locales/ar-EH.mjs +2 -2
  84. package/locales/ar-ER.d.ts +1 -1
  85. package/locales/ar-ER.mjs +2 -2
  86. package/locales/ar-IL.d.ts +1 -1
  87. package/locales/ar-IL.mjs +2 -2
  88. package/locales/ar-IQ.d.ts +1 -1
  89. package/locales/ar-IQ.mjs +2 -2
  90. package/locales/ar-JO.d.ts +1 -1
  91. package/locales/ar-JO.mjs +2 -2
  92. package/locales/ar-KM.d.ts +1 -1
  93. package/locales/ar-KM.mjs +2 -2
  94. package/locales/ar-KW.d.ts +1 -1
  95. package/locales/ar-KW.mjs +2 -2
  96. package/locales/ar-LB.d.ts +1 -1
  97. package/locales/ar-LB.mjs +2 -2
  98. package/locales/ar-LY.d.ts +1 -1
  99. package/locales/ar-LY.mjs +2 -2
  100. package/locales/ar-MA.d.ts +1 -1
  101. package/locales/ar-MA.mjs +2 -2
  102. package/locales/ar-MR.d.ts +1 -1
  103. package/locales/ar-MR.mjs +2 -2
  104. package/locales/ar-OM.d.ts +1 -1
  105. package/locales/ar-OM.mjs +2 -2
  106. package/locales/ar-PS.d.ts +1 -1
  107. package/locales/ar-PS.mjs +2 -2
  108. package/locales/ar-QA.d.ts +1 -1
  109. package/locales/ar-QA.mjs +2 -2
  110. package/locales/ar-SA.d.ts +1 -1
  111. package/locales/ar-SA.mjs +2 -2
  112. package/locales/ar-SD.d.ts +1 -1
  113. package/locales/ar-SD.mjs +2 -2
  114. package/locales/ar-SO.d.ts +1 -1
  115. package/locales/ar-SO.mjs +2 -2
  116. package/locales/ar-SS.d.ts +1 -1
  117. package/locales/ar-SS.mjs +2 -2
  118. package/locales/ar-SY.d.ts +1 -1
  119. package/locales/ar-SY.mjs +2 -2
  120. package/locales/ar-TD.d.ts +1 -1
  121. package/locales/ar-TD.mjs +2 -2
  122. package/locales/ar-TN.d.ts +1 -1
  123. package/locales/ar-TN.mjs +2 -2
  124. package/locales/ar-YE.d.ts +1 -1
  125. package/locales/ar-YE.mjs +2 -2
  126. package/locales/ar.d.ts +1 -1
  127. package/locales/ar.mjs +2 -2
  128. package/locales/as.d.ts +1 -0
  129. package/locales/as.mjs +2 -2
  130. package/locales/ast.d.ts +0 -2
  131. package/locales/ast.mjs +2 -2
  132. package/locales/az-Latn.d.ts +1 -0
  133. package/locales/az-Latn.mjs +2 -2
  134. package/locales/az.d.ts +1 -0
  135. package/locales/az.mjs +2 -2
  136. package/locales/be-tarask.d.ts +40 -0
  137. package/locales/be-tarask.mjs +21 -0
  138. package/locales/be.mjs +2 -2
  139. package/locales/bg.d.ts +0 -1
  140. package/locales/bg.mjs +2 -2
  141. package/locales/bn-IN.d.ts +1 -0
  142. package/locales/bn-IN.mjs +2 -2
  143. package/locales/bn.d.ts +1 -0
  144. package/locales/bn.mjs +2 -2
  145. package/locales/bo.mjs +2 -2
  146. package/locales/br.d.ts +2 -0
  147. package/locales/br.mjs +2 -2
  148. package/locales/brx.d.ts +2 -1
  149. package/locales/brx.mjs +2 -2
  150. package/locales/bs-Latn.d.ts +1 -0
  151. package/locales/bs-Latn.mjs +2 -2
  152. package/locales/bs.d.ts +1 -0
  153. package/locales/bs.mjs +2 -2
  154. package/locales/ca-AD.d.ts +1 -0
  155. package/locales/ca-AD.mjs +2 -2
  156. package/locales/{ca-ES-VALENCIA.d.ts → ca-ES-valencia.d.ts} +2 -1
  157. package/locales/{ca-ES-VALENCIA.mjs → ca-ES-valencia.mjs} +2 -2
  158. package/locales/ca-FR.d.ts +1 -0
  159. package/locales/ca-FR.mjs +2 -2
  160. package/locales/ca-IT.d.ts +1 -0
  161. package/locales/ca-IT.mjs +2 -2
  162. package/locales/ca.d.ts +1 -0
  163. package/locales/ca.mjs +2 -2
  164. package/locales/ccp-IN.d.ts +1 -0
  165. package/locales/ccp-IN.mjs +2 -2
  166. package/locales/ccp.d.ts +1 -0
  167. package/locales/ccp.mjs +2 -2
  168. package/locales/ce.d.ts +1 -0
  169. package/locales/ce.mjs +2 -2
  170. package/locales/chr.d.ts +1 -0
  171. package/locales/chr.mjs +2 -2
  172. package/locales/cs.d.ts +2 -0
  173. package/locales/cs.mjs +2 -2
  174. package/locales/cy.d.ts +1 -0
  175. package/locales/cy.mjs +2 -2
  176. package/locales/da-GL.d.ts +1 -0
  177. package/locales/da-GL.mjs +2 -2
  178. package/locales/da.d.ts +1 -0
  179. package/locales/da.mjs +2 -2
  180. package/locales/de-AT.d.ts +2 -0
  181. package/locales/de-AT.mjs +2 -2
  182. package/locales/de-BE.d.ts +2 -0
  183. package/locales/de-BE.mjs +2 -2
  184. package/locales/de-CH.d.ts +2 -0
  185. package/locales/de-CH.mjs +2 -2
  186. package/locales/de-IT.d.ts +2 -0
  187. package/locales/de-IT.mjs +2 -2
  188. package/locales/de-LI.d.ts +2 -0
  189. package/locales/de-LI.mjs +2 -2
  190. package/locales/de-LU.d.ts +2 -0
  191. package/locales/de-LU.mjs +2 -2
  192. package/locales/de.d.ts +2 -0
  193. package/locales/de.mjs +2 -2
  194. package/locales/dsb.mjs +2 -2
  195. package/locales/ee-TG.d.ts +1 -0
  196. package/locales/ee-TG.mjs +2 -2
  197. package/locales/ee.d.ts +1 -0
  198. package/locales/ee.mjs +2 -2
  199. package/locales/el-CY.d.ts +1 -0
  200. package/locales/el-CY.mjs +2 -2
  201. package/locales/el.d.ts +1 -0
  202. package/locales/el.mjs +2 -2
  203. package/locales/en-001.mjs +2 -2
  204. package/locales/en-150.mjs +2 -2
  205. package/locales/en-AE.mjs +2 -2
  206. package/locales/en-AG.mjs +2 -2
  207. package/locales/en-AI.mjs +2 -2
  208. package/locales/en-AT.mjs +2 -2
  209. package/locales/en-AU.mjs +2 -2
  210. package/locales/en-BB.mjs +2 -2
  211. package/locales/en-BE.mjs +2 -2
  212. package/locales/en-BM.mjs +2 -2
  213. package/locales/en-BS.mjs +2 -2
  214. package/locales/en-BW.mjs +2 -2
  215. package/locales/en-BZ.mjs +2 -2
  216. package/locales/en-CA.mjs +2 -2
  217. package/locales/en-CC.mjs +2 -2
  218. package/locales/en-CH.mjs +2 -2
  219. package/locales/en-CK.mjs +2 -2
  220. package/locales/en-CM.mjs +2 -2
  221. package/locales/en-CX.mjs +2 -2
  222. package/locales/en-CY.mjs +2 -2
  223. package/locales/en-DE.mjs +2 -2
  224. package/locales/en-DG.mjs +2 -2
  225. package/locales/en-DK.mjs +2 -2
  226. package/locales/en-DM.mjs +2 -2
  227. package/locales/en-ER.mjs +2 -2
  228. package/locales/en-FI.mjs +2 -2
  229. package/locales/en-FJ.mjs +2 -2
  230. package/locales/en-FK.mjs +2 -2
  231. package/locales/en-FM.mjs +2 -2
  232. package/locales/en-GD.mjs +2 -2
  233. package/locales/en-GG.mjs +2 -2
  234. package/locales/en-GH.mjs +2 -2
  235. package/locales/en-GI.mjs +2 -2
  236. package/locales/en-GM.mjs +2 -2
  237. package/locales/en-GY.mjs +2 -2
  238. package/locales/en-HK.mjs +2 -2
  239. package/locales/en-IE.mjs +2 -2
  240. package/locales/en-IL.mjs +2 -2
  241. package/locales/en-IM.mjs +2 -2
  242. package/locales/en-IN.mjs +2 -2
  243. package/locales/en-IO.mjs +2 -2
  244. package/locales/en-JE.mjs +2 -2
  245. package/locales/en-JM.mjs +2 -2
  246. package/locales/en-KE.mjs +2 -2
  247. package/locales/en-KI.mjs +2 -2
  248. package/locales/en-KN.mjs +2 -2
  249. package/locales/en-KY.mjs +2 -2
  250. package/locales/en-LC.mjs +2 -2
  251. package/locales/en-LR.mjs +2 -2
  252. package/locales/en-LS.mjs +2 -2
  253. package/locales/en-MG.mjs +2 -2
  254. package/locales/en-MO.mjs +2 -2
  255. package/locales/en-MS.mjs +2 -2
  256. package/locales/en-MT.mjs +2 -2
  257. package/locales/en-MU.mjs +2 -2
  258. package/locales/en-MV.d.ts +15 -0
  259. package/locales/en-MV.mjs +17 -0
  260. package/locales/en-MW.mjs +2 -2
  261. package/locales/en-MY.mjs +2 -2
  262. package/locales/en-NA.mjs +2 -2
  263. package/locales/en-NF.mjs +2 -2
  264. package/locales/en-NG.mjs +2 -2
  265. package/locales/en-NL.mjs +2 -2
  266. package/locales/en-NR.mjs +2 -2
  267. package/locales/en-NU.mjs +2 -2
  268. package/locales/en-NZ.mjs +2 -2
  269. package/locales/en-PG.mjs +2 -2
  270. package/locales/en-PH.d.ts +1 -5
  271. package/locales/en-PH.mjs +2 -2
  272. package/locales/en-PK.mjs +2 -2
  273. package/locales/en-PN.mjs +2 -2
  274. package/locales/en-PW.mjs +2 -2
  275. package/locales/en-RW.mjs +2 -2
  276. package/locales/en-SB.mjs +2 -2
  277. package/locales/en-SC.mjs +2 -2
  278. package/locales/en-SD.mjs +2 -2
  279. package/locales/en-SE.mjs +2 -2
  280. package/locales/en-SG.mjs +2 -2
  281. package/locales/en-SH.mjs +2 -2
  282. package/locales/en-SI.mjs +2 -2
  283. package/locales/en-SL.mjs +2 -2
  284. package/locales/en-SS.mjs +2 -2
  285. package/locales/en-SX.mjs +2 -2
  286. package/locales/en-SZ.mjs +2 -2
  287. package/locales/en-TC.mjs +2 -2
  288. package/locales/en-TK.mjs +2 -2
  289. package/locales/en-TO.mjs +2 -2
  290. package/locales/en-TT.mjs +2 -2
  291. package/locales/en-TV.mjs +2 -2
  292. package/locales/en-TZ.mjs +2 -2
  293. package/locales/en-UG.mjs +2 -2
  294. package/locales/en-VC.mjs +2 -2
  295. package/locales/en-VG.mjs +2 -2
  296. package/locales/en-VU.mjs +2 -2
  297. package/locales/en-WS.mjs +2 -2
  298. package/locales/en-ZA.mjs +2 -2
  299. package/locales/en-ZM.mjs +2 -2
  300. package/locales/en-ZW.mjs +2 -2
  301. package/locales/es-419.d.ts +1 -0
  302. package/locales/es-419.mjs +5 -3
  303. package/locales/es-AR.d.ts +1 -0
  304. package/locales/es-AR.mjs +5 -3
  305. package/locales/es-BO.d.ts +1 -0
  306. package/locales/es-BO.mjs +5 -3
  307. package/locales/es-BR.d.ts +1 -0
  308. package/locales/es-BR.mjs +5 -3
  309. package/locales/es-BZ.d.ts +1 -0
  310. package/locales/es-BZ.mjs +5 -3
  311. package/locales/es-CL.d.ts +1 -0
  312. package/locales/es-CL.mjs +5 -3
  313. package/locales/es-CO.d.ts +1 -0
  314. package/locales/es-CO.mjs +5 -3
  315. package/locales/es-CR.d.ts +1 -0
  316. package/locales/es-CR.mjs +5 -3
  317. package/locales/es-CU.d.ts +1 -0
  318. package/locales/es-CU.mjs +5 -3
  319. package/locales/es-DO.d.ts +1 -0
  320. package/locales/es-DO.mjs +5 -3
  321. package/locales/es-EA.d.ts +1 -0
  322. package/locales/es-EA.mjs +5 -3
  323. package/locales/es-EC.d.ts +1 -0
  324. package/locales/es-EC.mjs +5 -3
  325. package/locales/es-GQ.d.ts +1 -0
  326. package/locales/es-GQ.mjs +5 -3
  327. package/locales/es-GT.d.ts +1 -0
  328. package/locales/es-GT.mjs +5 -3
  329. package/locales/es-HN.d.ts +1 -0
  330. package/locales/es-HN.mjs +5 -3
  331. package/locales/es-IC.d.ts +1 -0
  332. package/locales/es-IC.mjs +5 -3
  333. package/locales/es-MX.mjs +5 -3
  334. package/locales/es-NI.d.ts +1 -0
  335. package/locales/es-NI.mjs +5 -3
  336. package/locales/es-PA.d.ts +1 -0
  337. package/locales/es-PA.mjs +5 -3
  338. package/locales/es-PE.d.ts +1 -0
  339. package/locales/es-PE.mjs +5 -3
  340. package/locales/es-PH.d.ts +1 -0
  341. package/locales/es-PH.mjs +5 -3
  342. package/locales/es-PR.d.ts +1 -0
  343. package/locales/es-PR.mjs +5 -3
  344. package/locales/es-PY.d.ts +1 -0
  345. package/locales/es-PY.mjs +5 -3
  346. package/locales/es-SV.d.ts +1 -0
  347. package/locales/es-SV.mjs +5 -3
  348. package/locales/es-US.d.ts +1 -0
  349. package/locales/es-US.mjs +5 -3
  350. package/locales/es-UY.d.ts +1 -0
  351. package/locales/es-UY.mjs +5 -3
  352. package/locales/es-VE.d.ts +1 -0
  353. package/locales/es-VE.mjs +5 -3
  354. package/locales/es.d.ts +1 -0
  355. package/locales/es.mjs +5 -3
  356. package/locales/et.mjs +2 -2
  357. package/locales/eu.d.ts +1 -0
  358. package/locales/eu.mjs +2 -2
  359. package/locales/{en-US-POSIX.d.ts → extra/be-tarask.d.ts} +2 -2
  360. package/locales/extra/be-tarask.mjs +11 -0
  361. package/locales/extra/{ca-ES-VALENCIA.d.ts → ca-ES-valencia.d.ts} +1 -1
  362. package/locales/extra/{ca-ES-VALENCIA.mjs → ca-ES-valencia.mjs} +1 -1
  363. package/locales/extra/{en-US-POSIX.d.ts → en-MV.d.ts} +1 -1
  364. package/locales/extra/en-MV.mjs +11 -0
  365. package/locales/extra/fa.d.ts +1 -1
  366. package/locales/extra/fa.mjs +2 -2
  367. package/locales/extra/hi-Latn.d.ts +10 -0
  368. package/locales/extra/hi-Latn.mjs +11 -0
  369. package/locales/extra/kgp.d.ts +10 -0
  370. package/locales/extra/kgp.mjs +11 -0
  371. package/locales/extra/ks-Deva.d.ts +10 -0
  372. package/locales/extra/ks-Deva.mjs +11 -0
  373. package/locales/extra/nn.mjs +2 -2
  374. package/locales/extra/sc.d.ts +10 -0
  375. package/locales/extra/sc.mjs +11 -0
  376. package/locales/extra/{root.d.ts → und.d.ts} +1 -1
  377. package/locales/extra/und.mjs +11 -0
  378. package/locales/extra/yrl-CO.d.ts +10 -0
  379. package/locales/extra/yrl-CO.mjs +11 -0
  380. package/locales/extra/yrl-VE.d.ts +10 -0
  381. package/locales/extra/yrl-VE.mjs +11 -0
  382. package/locales/extra/yrl.d.ts +10 -0
  383. package/locales/extra/yrl.mjs +11 -0
  384. package/locales/fa-AF.d.ts +2 -0
  385. package/locales/fa-AF.mjs +2 -2
  386. package/locales/fa.d.ts +2 -0
  387. package/locales/fa.mjs +2 -2
  388. package/locales/ff-Adlm-BF.d.ts +1 -0
  389. package/locales/ff-Adlm-BF.mjs +2 -2
  390. package/locales/ff-Adlm-CM.d.ts +1 -0
  391. package/locales/ff-Adlm-CM.mjs +2 -2
  392. package/locales/ff-Adlm-GH.d.ts +1 -0
  393. package/locales/ff-Adlm-GH.mjs +2 -2
  394. package/locales/ff-Adlm-GM.d.ts +1 -0
  395. package/locales/ff-Adlm-GM.mjs +2 -2
  396. package/locales/ff-Adlm-GW.d.ts +1 -0
  397. package/locales/ff-Adlm-GW.mjs +2 -2
  398. package/locales/ff-Adlm-LR.d.ts +1 -0
  399. package/locales/ff-Adlm-LR.mjs +2 -2
  400. package/locales/ff-Adlm-MR.d.ts +1 -0
  401. package/locales/ff-Adlm-MR.mjs +2 -2
  402. package/locales/ff-Adlm-NE.d.ts +1 -0
  403. package/locales/ff-Adlm-NE.mjs +2 -2
  404. package/locales/ff-Adlm-NG.d.ts +1 -0
  405. package/locales/ff-Adlm-NG.mjs +2 -2
  406. package/locales/ff-Adlm-SL.d.ts +1 -0
  407. package/locales/ff-Adlm-SL.mjs +2 -2
  408. package/locales/ff-Adlm-SN.d.ts +1 -0
  409. package/locales/ff-Adlm-SN.mjs +2 -2
  410. package/locales/ff-Adlm.d.ts +1 -0
  411. package/locales/ff-Adlm.mjs +2 -2
  412. package/locales/fi.d.ts +0 -2
  413. package/locales/fi.mjs +2 -2
  414. package/locales/fil.d.ts +1 -0
  415. package/locales/fil.mjs +2 -2
  416. package/locales/fo-DK.d.ts +1 -0
  417. package/locales/fo-DK.mjs +2 -2
  418. package/locales/fo.d.ts +1 -0
  419. package/locales/fo.mjs +2 -2
  420. package/locales/fr-BE.d.ts +1 -0
  421. package/locales/fr-BE.mjs +2 -2
  422. package/locales/fr-BF.d.ts +1 -0
  423. package/locales/fr-BF.mjs +2 -2
  424. package/locales/fr-BI.d.ts +1 -0
  425. package/locales/fr-BI.mjs +2 -2
  426. package/locales/fr-BJ.d.ts +1 -0
  427. package/locales/fr-BJ.mjs +2 -2
  428. package/locales/fr-BL.d.ts +1 -0
  429. package/locales/fr-BL.mjs +2 -2
  430. package/locales/fr-CA.mjs +2 -2
  431. package/locales/fr-CD.d.ts +1 -0
  432. package/locales/fr-CD.mjs +2 -2
  433. package/locales/fr-CF.d.ts +1 -0
  434. package/locales/fr-CF.mjs +2 -2
  435. package/locales/fr-CG.d.ts +1 -0
  436. package/locales/fr-CG.mjs +2 -2
  437. package/locales/fr-CH.d.ts +1 -0
  438. package/locales/fr-CH.mjs +2 -2
  439. package/locales/fr-CI.d.ts +1 -0
  440. package/locales/fr-CI.mjs +2 -2
  441. package/locales/fr-CM.d.ts +1 -0
  442. package/locales/fr-CM.mjs +2 -2
  443. package/locales/fr-DJ.d.ts +1 -0
  444. package/locales/fr-DJ.mjs +2 -2
  445. package/locales/fr-DZ.d.ts +1 -0
  446. package/locales/fr-DZ.mjs +2 -2
  447. package/locales/fr-GA.d.ts +1 -0
  448. package/locales/fr-GA.mjs +2 -2
  449. package/locales/fr-GF.d.ts +1 -0
  450. package/locales/fr-GF.mjs +2 -2
  451. package/locales/fr-GN.d.ts +1 -0
  452. package/locales/fr-GN.mjs +2 -2
  453. package/locales/fr-GP.d.ts +1 -0
  454. package/locales/fr-GP.mjs +2 -2
  455. package/locales/fr-GQ.d.ts +1 -0
  456. package/locales/fr-GQ.mjs +2 -2
  457. package/locales/fr-HT.d.ts +1 -0
  458. package/locales/fr-HT.mjs +2 -2
  459. package/locales/fr-KM.d.ts +1 -0
  460. package/locales/fr-KM.mjs +2 -2
  461. package/locales/fr-LU.d.ts +1 -0
  462. package/locales/fr-LU.mjs +2 -2
  463. package/locales/fr-MA.d.ts +1 -0
  464. package/locales/fr-MA.mjs +2 -2
  465. package/locales/fr-MC.d.ts +1 -0
  466. package/locales/fr-MC.mjs +2 -2
  467. package/locales/fr-MF.d.ts +1 -0
  468. package/locales/fr-MF.mjs +2 -2
  469. package/locales/fr-MG.d.ts +1 -0
  470. package/locales/fr-MG.mjs +2 -2
  471. package/locales/fr-ML.d.ts +1 -0
  472. package/locales/fr-ML.mjs +2 -2
  473. package/locales/fr-MQ.d.ts +1 -0
  474. package/locales/fr-MQ.mjs +2 -2
  475. package/locales/fr-MR.d.ts +1 -0
  476. package/locales/fr-MR.mjs +2 -2
  477. package/locales/fr-MU.d.ts +1 -0
  478. package/locales/fr-MU.mjs +2 -2
  479. package/locales/fr-NC.d.ts +1 -0
  480. package/locales/fr-NC.mjs +2 -2
  481. package/locales/fr-NE.d.ts +1 -0
  482. package/locales/fr-NE.mjs +2 -2
  483. package/locales/fr-PF.d.ts +1 -0
  484. package/locales/fr-PF.mjs +2 -2
  485. package/locales/fr-PM.d.ts +1 -0
  486. package/locales/fr-PM.mjs +2 -2
  487. package/locales/fr-RE.d.ts +1 -0
  488. package/locales/fr-RE.mjs +2 -2
  489. package/locales/fr-RW.d.ts +1 -0
  490. package/locales/fr-RW.mjs +2 -2
  491. package/locales/fr-SC.d.ts +1 -0
  492. package/locales/fr-SC.mjs +2 -2
  493. package/locales/fr-SN.d.ts +1 -0
  494. package/locales/fr-SN.mjs +2 -2
  495. package/locales/fr-SY.d.ts +1 -0
  496. package/locales/fr-SY.mjs +2 -2
  497. package/locales/fr-TD.d.ts +1 -0
  498. package/locales/fr-TD.mjs +2 -2
  499. package/locales/fr-TG.d.ts +1 -0
  500. package/locales/fr-TG.mjs +2 -2
  501. package/locales/fr-TN.d.ts +1 -0
  502. package/locales/fr-TN.mjs +2 -2
  503. package/locales/fr-VU.d.ts +1 -0
  504. package/locales/fr-VU.mjs +2 -2
  505. package/locales/fr-WF.d.ts +1 -0
  506. package/locales/fr-WF.mjs +2 -2
  507. package/locales/fr-YT.d.ts +1 -0
  508. package/locales/fr-YT.mjs +2 -2
  509. package/locales/fr.d.ts +1 -0
  510. package/locales/fr.mjs +2 -2
  511. package/locales/ga-GB.d.ts +1 -0
  512. package/locales/ga-GB.mjs +2 -2
  513. package/locales/ga.d.ts +1 -0
  514. package/locales/ga.mjs +2 -2
  515. package/locales/gd.d.ts +2 -0
  516. package/locales/gd.mjs +2 -2
  517. package/locales/global/af-NA.js +1 -1
  518. package/locales/global/af.js +1 -1
  519. package/locales/global/am.js +1 -1
  520. package/locales/global/ar-AE.js +1 -1
  521. package/locales/global/ar-BH.js +1 -1
  522. package/locales/global/ar-DJ.js +1 -1
  523. package/locales/global/ar-DZ.js +1 -1
  524. package/locales/global/ar-EG.js +1 -1
  525. package/locales/global/ar-EH.js +1 -1
  526. package/locales/global/ar-ER.js +1 -1
  527. package/locales/global/ar-IL.js +1 -1
  528. package/locales/global/ar-IQ.js +1 -1
  529. package/locales/global/ar-JO.js +1 -1
  530. package/locales/global/ar-KM.js +1 -1
  531. package/locales/global/ar-KW.js +1 -1
  532. package/locales/global/ar-LB.js +1 -1
  533. package/locales/global/ar-LY.js +1 -1
  534. package/locales/global/ar-MA.js +1 -1
  535. package/locales/global/ar-MR.js +1 -1
  536. package/locales/global/ar-OM.js +1 -1
  537. package/locales/global/ar-PS.js +1 -1
  538. package/locales/global/ar-QA.js +1 -1
  539. package/locales/global/ar-SA.js +1 -1
  540. package/locales/global/ar-SD.js +1 -1
  541. package/locales/global/ar-SO.js +1 -1
  542. package/locales/global/ar-SS.js +1 -1
  543. package/locales/global/ar-SY.js +1 -1
  544. package/locales/global/ar-TD.js +1 -1
  545. package/locales/global/ar-TN.js +1 -1
  546. package/locales/global/ar-YE.js +1 -1
  547. package/locales/global/ar.js +1 -1
  548. package/locales/global/as.js +1 -1
  549. package/locales/global/ast.js +1 -1
  550. package/locales/global/az-Latn.js +1 -1
  551. package/locales/global/az.js +1 -1
  552. package/locales/global/be-tarask.js +28 -0
  553. package/locales/global/be.js +1 -1
  554. package/locales/global/bg.js +1 -1
  555. package/locales/global/bn-IN.js +1 -1
  556. package/locales/global/bn.js +1 -1
  557. package/locales/global/bo.js +1 -1
  558. package/locales/global/br.js +1 -1
  559. package/locales/global/brx.js +1 -1
  560. package/locales/global/bs-Latn.js +1 -1
  561. package/locales/global/bs.js +1 -1
  562. package/locales/global/ca-AD.js +1 -1
  563. package/locales/global/{ca-ES-VALENCIA.js → ca-ES-valencia.js} +1 -1
  564. package/locales/global/ca-FR.js +1 -1
  565. package/locales/global/ca-IT.js +1 -1
  566. package/locales/global/ca.js +1 -1
  567. package/locales/global/ccp-IN.js +1 -1
  568. package/locales/global/ccp.js +1 -1
  569. package/locales/global/ce.js +1 -1
  570. package/locales/global/chr.js +1 -1
  571. package/locales/global/cs.js +1 -1
  572. package/locales/global/cy.js +1 -1
  573. package/locales/global/da-GL.js +1 -1
  574. package/locales/global/da.js +1 -1
  575. package/locales/global/de-AT.js +1 -1
  576. package/locales/global/de-BE.js +1 -1
  577. package/locales/global/de-CH.js +1 -1
  578. package/locales/global/de-IT.js +1 -1
  579. package/locales/global/de-LI.js +1 -1
  580. package/locales/global/de-LU.js +1 -1
  581. package/locales/global/de.js +1 -1
  582. package/locales/global/dsb.js +1 -1
  583. package/locales/global/ee-TG.js +1 -1
  584. package/locales/global/ee.js +1 -1
  585. package/locales/global/el-CY.js +1 -1
  586. package/locales/global/el.js +1 -1
  587. package/locales/global/en-001.js +1 -1
  588. package/locales/global/en-150.js +1 -1
  589. package/locales/global/en-AE.js +1 -1
  590. package/locales/global/en-AG.js +1 -1
  591. package/locales/global/en-AI.js +1 -1
  592. package/locales/global/en-AT.js +1 -1
  593. package/locales/global/en-AU.js +1 -1
  594. package/locales/global/en-BB.js +1 -1
  595. package/locales/global/en-BE.js +1 -1
  596. package/locales/global/en-BM.js +1 -1
  597. package/locales/global/en-BS.js +1 -1
  598. package/locales/global/en-BW.js +1 -1
  599. package/locales/global/en-BZ.js +1 -1
  600. package/locales/global/en-CA.js +1 -1
  601. package/locales/global/en-CC.js +1 -1
  602. package/locales/global/en-CH.js +1 -1
  603. package/locales/global/en-CK.js +1 -1
  604. package/locales/global/en-CM.js +1 -1
  605. package/locales/global/en-CX.js +1 -1
  606. package/locales/global/en-CY.js +1 -1
  607. package/locales/global/en-DE.js +1 -1
  608. package/locales/global/en-DG.js +1 -1
  609. package/locales/global/en-DK.js +1 -1
  610. package/locales/global/en-DM.js +1 -1
  611. package/locales/global/en-ER.js +1 -1
  612. package/locales/global/en-FI.js +1 -1
  613. package/locales/global/en-FJ.js +1 -1
  614. package/locales/global/en-FK.js +1 -1
  615. package/locales/global/en-FM.js +1 -1
  616. package/locales/global/en-GD.js +1 -1
  617. package/locales/global/en-GG.js +1 -1
  618. package/locales/global/en-GH.js +1 -1
  619. package/locales/global/en-GI.js +1 -1
  620. package/locales/global/en-GM.js +1 -1
  621. package/locales/global/en-GY.js +1 -1
  622. package/locales/global/en-HK.js +1 -1
  623. package/locales/global/en-IE.js +1 -1
  624. package/locales/global/en-IL.js +1 -1
  625. package/locales/global/en-IM.js +1 -1
  626. package/locales/global/en-IN.js +1 -1
  627. package/locales/global/en-IO.js +1 -1
  628. package/locales/global/en-JE.js +1 -1
  629. package/locales/global/en-JM.js +1 -1
  630. package/locales/global/en-KE.js +1 -1
  631. package/locales/global/en-KI.js +1 -1
  632. package/locales/global/en-KN.js +1 -1
  633. package/locales/global/en-KY.js +1 -1
  634. package/locales/global/en-LC.js +1 -1
  635. package/locales/global/en-LR.js +1 -1
  636. package/locales/global/en-LS.js +1 -1
  637. package/locales/global/en-MG.js +1 -1
  638. package/locales/global/en-MO.js +1 -1
  639. package/locales/global/en-MS.js +1 -1
  640. package/locales/global/en-MT.js +1 -1
  641. package/locales/global/en-MU.js +1 -1
  642. package/locales/global/en-MV.js +24 -0
  643. package/locales/global/en-MW.js +1 -1
  644. package/locales/global/en-MY.js +1 -1
  645. package/locales/global/en-NA.js +1 -1
  646. package/locales/global/en-NF.js +1 -1
  647. package/locales/global/en-NG.js +1 -1
  648. package/locales/global/en-NL.js +1 -1
  649. package/locales/global/en-NR.js +1 -1
  650. package/locales/global/en-NU.js +1 -1
  651. package/locales/global/en-NZ.js +1 -1
  652. package/locales/global/en-PG.js +1 -1
  653. package/locales/global/en-PH.js +1 -1
  654. package/locales/global/en-PK.js +1 -1
  655. package/locales/global/en-PN.js +1 -1
  656. package/locales/global/en-PW.js +1 -1
  657. package/locales/global/en-RW.js +1 -1
  658. package/locales/global/en-SB.js +1 -1
  659. package/locales/global/en-SC.js +1 -1
  660. package/locales/global/en-SD.js +1 -1
  661. package/locales/global/en-SE.js +1 -1
  662. package/locales/global/en-SG.js +1 -1
  663. package/locales/global/en-SH.js +1 -1
  664. package/locales/global/en-SI.js +1 -1
  665. package/locales/global/en-SL.js +1 -1
  666. package/locales/global/en-SS.js +1 -1
  667. package/locales/global/en-SX.js +1 -1
  668. package/locales/global/en-SZ.js +1 -1
  669. package/locales/global/en-TC.js +1 -1
  670. package/locales/global/en-TK.js +1 -1
  671. package/locales/global/en-TO.js +1 -1
  672. package/locales/global/en-TT.js +1 -1
  673. package/locales/global/en-TV.js +1 -1
  674. package/locales/global/en-TZ.js +1 -1
  675. package/locales/global/en-UG.js +1 -1
  676. package/locales/global/en-VC.js +1 -1
  677. package/locales/global/en-VG.js +1 -1
  678. package/locales/global/en-VU.js +1 -1
  679. package/locales/global/en-WS.js +1 -1
  680. package/locales/global/en-ZA.js +1 -1
  681. package/locales/global/en-ZM.js +1 -1
  682. package/locales/global/en-ZW.js +1 -1
  683. package/locales/global/es-419.js +4 -2
  684. package/locales/global/es-AR.js +4 -2
  685. package/locales/global/es-BO.js +4 -2
  686. package/locales/global/es-BR.js +4 -2
  687. package/locales/global/es-BZ.js +4 -2
  688. package/locales/global/es-CL.js +4 -2
  689. package/locales/global/es-CO.js +4 -2
  690. package/locales/global/es-CR.js +4 -2
  691. package/locales/global/es-CU.js +4 -2
  692. package/locales/global/es-DO.js +4 -2
  693. package/locales/global/es-EA.js +4 -2
  694. package/locales/global/es-EC.js +4 -2
  695. package/locales/global/es-GQ.js +4 -2
  696. package/locales/global/es-GT.js +4 -2
  697. package/locales/global/es-HN.js +4 -2
  698. package/locales/global/es-IC.js +4 -2
  699. package/locales/global/es-MX.js +4 -2
  700. package/locales/global/es-NI.js +4 -2
  701. package/locales/global/es-PA.js +4 -2
  702. package/locales/global/es-PE.js +4 -2
  703. package/locales/global/es-PH.js +4 -2
  704. package/locales/global/es-PR.js +4 -2
  705. package/locales/global/es-PY.js +4 -2
  706. package/locales/global/es-SV.js +4 -2
  707. package/locales/global/es-US.js +4 -2
  708. package/locales/global/es-UY.js +4 -2
  709. package/locales/global/es-VE.js +4 -2
  710. package/locales/global/es.js +4 -2
  711. package/locales/global/et.js +1 -1
  712. package/locales/global/eu.js +1 -1
  713. package/locales/global/fa-AF.js +1 -1
  714. package/locales/global/fa.js +1 -1
  715. package/locales/global/ff-Adlm-BF.js +1 -1
  716. package/locales/global/ff-Adlm-CM.js +1 -1
  717. package/locales/global/ff-Adlm-GH.js +1 -1
  718. package/locales/global/ff-Adlm-GM.js +1 -1
  719. package/locales/global/ff-Adlm-GW.js +1 -1
  720. package/locales/global/ff-Adlm-LR.js +1 -1
  721. package/locales/global/ff-Adlm-MR.js +1 -1
  722. package/locales/global/ff-Adlm-NE.js +1 -1
  723. package/locales/global/ff-Adlm-NG.js +1 -1
  724. package/locales/global/ff-Adlm-SL.js +1 -1
  725. package/locales/global/ff-Adlm-SN.js +1 -1
  726. package/locales/global/ff-Adlm.js +1 -1
  727. package/locales/global/fi.js +1 -1
  728. package/locales/global/fil.js +1 -1
  729. package/locales/global/fo-DK.js +1 -1
  730. package/locales/global/fo.js +1 -1
  731. package/locales/global/fr-BE.js +1 -1
  732. package/locales/global/fr-BF.js +1 -1
  733. package/locales/global/fr-BI.js +1 -1
  734. package/locales/global/fr-BJ.js +1 -1
  735. package/locales/global/fr-BL.js +1 -1
  736. package/locales/global/fr-CA.js +1 -1
  737. package/locales/global/fr-CD.js +1 -1
  738. package/locales/global/fr-CF.js +1 -1
  739. package/locales/global/fr-CG.js +1 -1
  740. package/locales/global/fr-CH.js +1 -1
  741. package/locales/global/fr-CI.js +1 -1
  742. package/locales/global/fr-CM.js +1 -1
  743. package/locales/global/fr-DJ.js +1 -1
  744. package/locales/global/fr-DZ.js +1 -1
  745. package/locales/global/fr-GA.js +1 -1
  746. package/locales/global/fr-GF.js +1 -1
  747. package/locales/global/fr-GN.js +1 -1
  748. package/locales/global/fr-GP.js +1 -1
  749. package/locales/global/fr-GQ.js +1 -1
  750. package/locales/global/fr-HT.js +1 -1
  751. package/locales/global/fr-KM.js +1 -1
  752. package/locales/global/fr-LU.js +1 -1
  753. package/locales/global/fr-MA.js +1 -1
  754. package/locales/global/fr-MC.js +1 -1
  755. package/locales/global/fr-MF.js +1 -1
  756. package/locales/global/fr-MG.js +1 -1
  757. package/locales/global/fr-ML.js +1 -1
  758. package/locales/global/fr-MQ.js +1 -1
  759. package/locales/global/fr-MR.js +1 -1
  760. package/locales/global/fr-MU.js +1 -1
  761. package/locales/global/fr-NC.js +1 -1
  762. package/locales/global/fr-NE.js +1 -1
  763. package/locales/global/fr-PF.js +1 -1
  764. package/locales/global/fr-PM.js +1 -1
  765. package/locales/global/fr-RE.js +1 -1
  766. package/locales/global/fr-RW.js +1 -1
  767. package/locales/global/fr-SC.js +1 -1
  768. package/locales/global/fr-SN.js +1 -1
  769. package/locales/global/fr-SY.js +1 -1
  770. package/locales/global/fr-TD.js +1 -1
  771. package/locales/global/fr-TG.js +1 -1
  772. package/locales/global/fr-TN.js +1 -1
  773. package/locales/global/fr-VU.js +1 -1
  774. package/locales/global/fr-WF.js +1 -1
  775. package/locales/global/fr-YT.js +1 -1
  776. package/locales/global/fr.js +1 -1
  777. package/locales/global/ga-GB.js +1 -1
  778. package/locales/global/ga.js +1 -1
  779. package/locales/global/gd.js +1 -1
  780. package/locales/global/gu.js +1 -1
  781. package/locales/global/he.js +1 -1
  782. package/locales/global/hi-Latn.js +24 -0
  783. package/locales/global/hi.js +1 -1
  784. package/locales/global/hr-BA.js +1 -1
  785. package/locales/global/hr.js +1 -1
  786. package/locales/global/hsb.js +1 -1
  787. package/locales/global/hu.js +1 -1
  788. package/locales/global/hy.js +1 -1
  789. package/locales/global/id.js +1 -1
  790. package/locales/global/ii.js +1 -1
  791. package/locales/global/it-CH.js +3 -1
  792. package/locales/global/it-SM.js +3 -1
  793. package/locales/global/it-VA.js +3 -1
  794. package/locales/global/it.js +3 -1
  795. package/locales/global/ja.js +1 -1
  796. package/locales/global/ka.js +1 -1
  797. package/locales/global/kgp.js +22 -0
  798. package/locales/global/kk.js +1 -1
  799. package/locales/global/km.js +1 -1
  800. package/locales/global/kn.js +1 -1
  801. package/locales/global/ko-KP.js +1 -1
  802. package/locales/global/ko.js +1 -1
  803. package/locales/global/kok.js +1 -1
  804. package/locales/global/ks-Arab.js +1 -1
  805. package/locales/global/ks-Deva.js +22 -0
  806. package/locales/global/ks.js +1 -1
  807. package/locales/global/ky.js +1 -1
  808. package/locales/global/lo.js +1 -1
  809. package/locales/global/lv.js +1 -1
  810. package/locales/global/mai.js +1 -1
  811. package/locales/global/mk.js +1 -1
  812. package/locales/global/ml.js +1 -1
  813. package/locales/global/mn.js +1 -1
  814. package/locales/global/mni-Beng.js +1 -1
  815. package/locales/global/mni.js +1 -1
  816. package/locales/global/ms-BN.js +1 -1
  817. package/locales/global/ms-ID.js +1 -1
  818. package/locales/global/ms-SG.js +1 -1
  819. package/locales/global/ms.js +1 -1
  820. package/locales/global/mt.js +1 -1
  821. package/locales/global/my.js +1 -1
  822. package/locales/global/mzn.js +1 -1
  823. package/locales/global/nb-SJ.js +1 -1
  824. package/locales/global/nb.js +1 -1
  825. package/locales/global/ne-IN.js +1 -1
  826. package/locales/global/ne.js +1 -1
  827. package/locales/global/nl-AW.js +1 -1
  828. package/locales/global/nl-BE.js +1 -1
  829. package/locales/global/nl-BQ.js +1 -1
  830. package/locales/global/nl-CW.js +1 -1
  831. package/locales/global/nl-SR.js +1 -1
  832. package/locales/global/nl-SX.js +1 -1
  833. package/locales/global/nl.js +1 -1
  834. package/locales/global/nn.js +1 -1
  835. package/locales/global/no.js +1 -1
  836. package/locales/global/or.js +1 -1
  837. package/locales/global/pa-Guru.js +1 -1
  838. package/locales/global/pa.js +1 -1
  839. package/locales/global/pl.js +1 -1
  840. package/locales/global/ps-PK.js +1 -1
  841. package/locales/global/ps.js +1 -1
  842. package/locales/global/pt-AO.js +4 -2
  843. package/locales/global/pt-CH.js +4 -2
  844. package/locales/global/pt-CV.js +4 -2
  845. package/locales/global/pt-GQ.js +4 -2
  846. package/locales/global/pt-GW.js +4 -2
  847. package/locales/global/pt-LU.js +4 -2
  848. package/locales/global/pt-MO.js +4 -2
  849. package/locales/global/pt-MZ.js +4 -2
  850. package/locales/global/pt-PT.js +4 -2
  851. package/locales/global/pt-ST.js +4 -2
  852. package/locales/global/pt-TL.js +4 -2
  853. package/locales/global/pt.js +4 -2
  854. package/locales/global/qu-BO.js +1 -1
  855. package/locales/global/qu-EC.js +1 -1
  856. package/locales/global/qu.js +1 -1
  857. package/locales/global/ro-MD.js +1 -1
  858. package/locales/global/ro.js +1 -1
  859. package/locales/global/ru-BY.js +1 -1
  860. package/locales/global/ru-KG.js +1 -1
  861. package/locales/global/ru-KZ.js +1 -1
  862. package/locales/global/ru-MD.js +1 -1
  863. package/locales/global/ru-UA.js +1 -1
  864. package/locales/global/ru.js +1 -1
  865. package/locales/global/rw.js +1 -1
  866. package/locales/global/sc.js +24 -0
  867. package/locales/global/sd-Arab.js +1 -1
  868. package/locales/global/sd-Deva.js +1 -1
  869. package/locales/global/sd.js +1 -1
  870. package/locales/global/si.js +1 -1
  871. package/locales/global/sk.js +1 -1
  872. package/locales/global/sl.js +1 -1
  873. package/locales/global/so-DJ.js +1 -1
  874. package/locales/global/so-ET.js +1 -1
  875. package/locales/global/so-KE.js +1 -1
  876. package/locales/global/so.js +1 -1
  877. package/locales/global/sq-MK.js +1 -1
  878. package/locales/global/sq-XK.js +1 -1
  879. package/locales/global/sq.js +1 -1
  880. package/locales/global/sr-Cyrl-BA.js +1 -1
  881. package/locales/global/sr-Cyrl-ME.js +1 -1
  882. package/locales/global/sr-Cyrl-XK.js +1 -1
  883. package/locales/global/sr-Cyrl.js +1 -1
  884. package/locales/global/sr-Latn-BA.js +1 -1
  885. package/locales/global/sr-Latn-ME.js +1 -1
  886. package/locales/global/sr-Latn-XK.js +1 -1
  887. package/locales/global/sr-Latn.js +1 -1
  888. package/locales/global/sr.js +1 -1
  889. package/locales/global/sv-AX.js +1 -1
  890. package/locales/global/sv-FI.js +1 -1
  891. package/locales/global/sv.js +1 -1
  892. package/locales/global/sw-CD.js +1 -1
  893. package/locales/global/sw-KE.js +1 -1
  894. package/locales/global/sw-UG.js +1 -1
  895. package/locales/global/sw.js +1 -1
  896. package/locales/global/ta-LK.js +1 -1
  897. package/locales/global/ta-MY.js +1 -1
  898. package/locales/global/ta-SG.js +1 -1
  899. package/locales/global/ta.js +1 -1
  900. package/locales/global/te.js +1 -1
  901. package/locales/global/th.js +1 -1
  902. package/locales/global/ti-ER.js +1 -1
  903. package/locales/global/ti.js +1 -1
  904. package/locales/global/tk.js +1 -1
  905. package/locales/global/tr-CY.js +1 -1
  906. package/locales/global/tr.js +1 -1
  907. package/locales/global/ug.js +1 -1
  908. package/locales/global/uk.js +1 -1
  909. package/locales/global/und.js +24 -0
  910. package/locales/global/ur-IN.js +1 -1
  911. package/locales/global/ur.js +1 -1
  912. package/locales/global/uz-Latn.js +1 -1
  913. package/locales/global/uz.js +1 -1
  914. package/locales/global/vi.js +1 -1
  915. package/locales/global/yrl-CO.js +22 -0
  916. package/locales/global/yrl-VE.js +22 -0
  917. package/locales/global/yrl.js +22 -0
  918. package/locales/global/yue-Hans.js +1 -1
  919. package/locales/global/yue-Hant.js +1 -1
  920. package/locales/global/yue.js +1 -1
  921. package/locales/global/zh-Hans-HK.js +1 -1
  922. package/locales/global/zh-Hans-MO.js +1 -1
  923. package/locales/global/zh-Hans-SG.js +1 -1
  924. package/locales/global/zh-Hans.js +1 -1
  925. package/locales/global/zh-Hant-HK.js +1 -1
  926. package/locales/global/zh-Hant-MO.js +1 -1
  927. package/locales/global/zh-Hant.js +1 -1
  928. package/locales/global/zh.js +1 -1
  929. package/locales/gu.d.ts +1 -0
  930. package/locales/gu.mjs +2 -2
  931. package/locales/he.mjs +2 -2
  932. package/locales/hi-Latn.d.ts +13 -0
  933. package/locales/hi-Latn.mjs +17 -0
  934. package/locales/hi.d.ts +1 -0
  935. package/locales/hi.mjs +2 -2
  936. package/locales/hr-BA.d.ts +3 -0
  937. package/locales/hr-BA.mjs +2 -2
  938. package/locales/hr.d.ts +3 -0
  939. package/locales/hr.mjs +2 -2
  940. package/locales/hsb.mjs +2 -2
  941. package/locales/hu.d.ts +1 -0
  942. package/locales/hu.mjs +2 -2
  943. package/locales/hy.d.ts +1 -0
  944. package/locales/hy.mjs +2 -2
  945. package/locales/id.d.ts +1 -0
  946. package/locales/id.mjs +2 -2
  947. package/locales/ii.mjs +2 -2
  948. package/locales/it-CH.mjs +4 -2
  949. package/locales/it-SM.mjs +4 -2
  950. package/locales/it-VA.mjs +4 -2
  951. package/locales/it.mjs +4 -2
  952. package/locales/ja.d.ts +1 -0
  953. package/locales/ja.mjs +2 -2
  954. package/locales/ka.d.ts +1 -0
  955. package/locales/ka.mjs +2 -2
  956. package/locales/kgp.d.ts +25 -0
  957. package/locales/kgp.mjs +15 -0
  958. package/locales/kk.d.ts +2 -0
  959. package/locales/kk.mjs +2 -2
  960. package/locales/km.d.ts +2 -0
  961. package/locales/km.mjs +2 -2
  962. package/locales/kn.d.ts +1 -0
  963. package/locales/kn.mjs +2 -2
  964. package/locales/ko-KP.d.ts +1 -0
  965. package/locales/ko-KP.mjs +2 -2
  966. package/locales/ko.d.ts +1 -0
  967. package/locales/ko.mjs +2 -2
  968. package/locales/kok.d.ts +1 -0
  969. package/locales/kok.mjs +2 -2
  970. package/locales/ks-Arab.d.ts +1 -5
  971. package/locales/ks-Arab.mjs +2 -2
  972. package/locales/ks-Deva.d.ts +13 -0
  973. package/locales/ks-Deva.mjs +15 -0
  974. package/locales/ks.d.ts +1 -5
  975. package/locales/ks.mjs +2 -2
  976. package/locales/ky.d.ts +1 -0
  977. package/locales/ky.mjs +2 -2
  978. package/locales/lo.d.ts +1 -0
  979. package/locales/lo.mjs +2 -2
  980. package/locales/lv.d.ts +1 -0
  981. package/locales/lv.mjs +2 -2
  982. package/locales/mai.mjs +2 -2
  983. package/locales/mk.d.ts +1 -0
  984. package/locales/mk.mjs +2 -2
  985. package/locales/ml.d.ts +1 -0
  986. package/locales/ml.mjs +2 -2
  987. package/locales/mn.d.ts +1 -0
  988. package/locales/mn.mjs +2 -2
  989. package/locales/mni-Beng.mjs +2 -2
  990. package/locales/mni.mjs +2 -2
  991. package/locales/ms-BN.d.ts +1 -0
  992. package/locales/ms-BN.mjs +2 -2
  993. package/locales/ms-ID.d.ts +1 -0
  994. package/locales/ms-ID.mjs +2 -2
  995. package/locales/ms-SG.d.ts +1 -0
  996. package/locales/ms-SG.mjs +2 -2
  997. package/locales/ms.d.ts +1 -0
  998. package/locales/ms.mjs +2 -2
  999. package/locales/mt.d.ts +1 -0
  1000. package/locales/mt.mjs +2 -2
  1001. package/locales/my.d.ts +1 -0
  1002. package/locales/my.mjs +2 -2
  1003. package/locales/mzn.d.ts +1 -0
  1004. package/locales/mzn.mjs +2 -2
  1005. package/locales/nb-SJ.d.ts +1 -0
  1006. package/locales/nb-SJ.mjs +2 -2
  1007. package/locales/nb.d.ts +1 -0
  1008. package/locales/nb.mjs +2 -2
  1009. package/locales/ne-IN.d.ts +1 -0
  1010. package/locales/ne-IN.mjs +2 -2
  1011. package/locales/ne.d.ts +1 -0
  1012. package/locales/ne.mjs +2 -2
  1013. package/locales/nl-AW.d.ts +2 -0
  1014. package/locales/nl-AW.mjs +2 -2
  1015. package/locales/nl-BE.d.ts +2 -0
  1016. package/locales/nl-BE.mjs +2 -2
  1017. package/locales/nl-BQ.d.ts +2 -0
  1018. package/locales/nl-BQ.mjs +2 -2
  1019. package/locales/nl-CW.d.ts +2 -0
  1020. package/locales/nl-CW.mjs +2 -2
  1021. package/locales/nl-SR.d.ts +2 -0
  1022. package/locales/nl-SR.mjs +2 -2
  1023. package/locales/nl-SX.d.ts +2 -0
  1024. package/locales/nl-SX.mjs +2 -2
  1025. package/locales/nl.d.ts +2 -0
  1026. package/locales/nl.mjs +2 -2
  1027. package/locales/nn.d.ts +1 -0
  1028. package/locales/nn.mjs +2 -2
  1029. package/locales/no.d.ts +1 -0
  1030. package/locales/no.mjs +2 -2
  1031. package/locales/or.d.ts +1 -0
  1032. package/locales/or.mjs +2 -2
  1033. package/locales/pa-Guru.d.ts +1 -0
  1034. package/locales/pa-Guru.mjs +2 -2
  1035. package/locales/pa.d.ts +1 -0
  1036. package/locales/pa.mjs +2 -2
  1037. package/locales/pl.mjs +2 -2
  1038. package/locales/ps-PK.d.ts +1 -0
  1039. package/locales/ps-PK.mjs +2 -2
  1040. package/locales/ps.d.ts +1 -0
  1041. package/locales/ps.mjs +2 -2
  1042. package/locales/pt-AO.d.ts +1 -0
  1043. package/locales/pt-AO.mjs +5 -3
  1044. package/locales/pt-CH.d.ts +1 -0
  1045. package/locales/pt-CH.mjs +5 -3
  1046. package/locales/pt-CV.d.ts +1 -0
  1047. package/locales/pt-CV.mjs +5 -3
  1048. package/locales/pt-GQ.d.ts +1 -0
  1049. package/locales/pt-GQ.mjs +5 -3
  1050. package/locales/pt-GW.d.ts +1 -0
  1051. package/locales/pt-GW.mjs +5 -3
  1052. package/locales/pt-LU.d.ts +1 -0
  1053. package/locales/pt-LU.mjs +5 -3
  1054. package/locales/pt-MO.d.ts +1 -0
  1055. package/locales/pt-MO.mjs +5 -3
  1056. package/locales/pt-MZ.d.ts +1 -0
  1057. package/locales/pt-MZ.mjs +5 -3
  1058. package/locales/pt-PT.d.ts +1 -0
  1059. package/locales/pt-PT.mjs +5 -3
  1060. package/locales/pt-ST.d.ts +1 -0
  1061. package/locales/pt-ST.mjs +5 -3
  1062. package/locales/pt-TL.d.ts +1 -0
  1063. package/locales/pt-TL.mjs +5 -3
  1064. package/locales/pt.d.ts +1 -0
  1065. package/locales/pt.mjs +5 -3
  1066. package/locales/qu-BO.mjs +2 -2
  1067. package/locales/qu-EC.mjs +2 -2
  1068. package/locales/qu.mjs +2 -2
  1069. package/locales/ro-MD.d.ts +1 -0
  1070. package/locales/ro-MD.mjs +2 -2
  1071. package/locales/ro.d.ts +1 -0
  1072. package/locales/ro.mjs +2 -2
  1073. package/locales/ru-BY.mjs +2 -2
  1074. package/locales/ru-KG.d.ts +1 -0
  1075. package/locales/ru-KG.mjs +2 -2
  1076. package/locales/ru-KZ.d.ts +1 -0
  1077. package/locales/ru-KZ.mjs +2 -2
  1078. package/locales/ru-MD.d.ts +1 -0
  1079. package/locales/ru-MD.mjs +2 -2
  1080. package/locales/ru-UA.d.ts +1 -0
  1081. package/locales/ru-UA.mjs +2 -2
  1082. package/locales/ru.d.ts +1 -0
  1083. package/locales/ru.mjs +2 -2
  1084. package/locales/rw.mjs +2 -2
  1085. package/locales/sc.d.ts +15 -0
  1086. package/locales/sc.mjs +17 -0
  1087. package/locales/sd-Arab.d.ts +1 -0
  1088. package/locales/sd-Arab.mjs +2 -2
  1089. package/locales/sd-Deva.mjs +2 -2
  1090. package/locales/sd.d.ts +1 -0
  1091. package/locales/sd.mjs +2 -2
  1092. package/locales/si.d.ts +1 -0
  1093. package/locales/si.mjs +2 -2
  1094. package/locales/sk.d.ts +2 -0
  1095. package/locales/sk.mjs +2 -2
  1096. package/locales/sl.d.ts +1 -0
  1097. package/locales/sl.mjs +2 -2
  1098. package/locales/so-DJ.d.ts +1 -1
  1099. package/locales/so-DJ.mjs +2 -2
  1100. package/locales/so-ET.d.ts +1 -1
  1101. package/locales/so-ET.mjs +2 -2
  1102. package/locales/so-KE.d.ts +1 -1
  1103. package/locales/so-KE.mjs +2 -2
  1104. package/locales/so.d.ts +1 -1
  1105. package/locales/so.mjs +2 -2
  1106. package/locales/sq-MK.d.ts +0 -2
  1107. package/locales/sq-MK.mjs +2 -2
  1108. package/locales/sq-XK.d.ts +0 -2
  1109. package/locales/sq-XK.mjs +2 -2
  1110. package/locales/sq.d.ts +0 -2
  1111. package/locales/sq.mjs +2 -2
  1112. package/locales/sr-Cyrl-BA.d.ts +1 -0
  1113. package/locales/sr-Cyrl-BA.mjs +2 -2
  1114. package/locales/sr-Cyrl-ME.d.ts +1 -0
  1115. package/locales/sr-Cyrl-ME.mjs +2 -2
  1116. package/locales/sr-Cyrl-XK.d.ts +1 -0
  1117. package/locales/sr-Cyrl-XK.mjs +2 -2
  1118. package/locales/sr-Cyrl.d.ts +1 -0
  1119. package/locales/sr-Cyrl.mjs +2 -2
  1120. package/locales/sr-Latn-BA.mjs +2 -2
  1121. package/locales/sr-Latn-ME.mjs +2 -2
  1122. package/locales/sr-Latn-XK.mjs +2 -2
  1123. package/locales/sr-Latn.mjs +2 -2
  1124. package/locales/sr.d.ts +1 -0
  1125. package/locales/sr.mjs +2 -2
  1126. package/locales/sv-AX.d.ts +1 -0
  1127. package/locales/sv-AX.mjs +2 -2
  1128. package/locales/sv-FI.d.ts +1 -0
  1129. package/locales/sv-FI.mjs +2 -2
  1130. package/locales/sv.d.ts +1 -0
  1131. package/locales/sv.mjs +2 -2
  1132. package/locales/sw-CD.d.ts +1 -0
  1133. package/locales/sw-CD.mjs +2 -2
  1134. package/locales/sw-KE.d.ts +1 -0
  1135. package/locales/sw-KE.mjs +2 -2
  1136. package/locales/sw-UG.d.ts +1 -0
  1137. package/locales/sw-UG.mjs +2 -2
  1138. package/locales/sw.d.ts +1 -0
  1139. package/locales/sw.mjs +2 -2
  1140. package/locales/ta-LK.d.ts +1 -0
  1141. package/locales/ta-LK.mjs +2 -2
  1142. package/locales/ta-MY.d.ts +1 -0
  1143. package/locales/ta-MY.mjs +2 -2
  1144. package/locales/ta-SG.d.ts +1 -0
  1145. package/locales/ta-SG.mjs +2 -2
  1146. package/locales/ta.d.ts +1 -0
  1147. package/locales/ta.mjs +2 -2
  1148. package/locales/te.d.ts +1 -0
  1149. package/locales/te.mjs +2 -2
  1150. package/locales/th.d.ts +1 -0
  1151. package/locales/th.mjs +2 -2
  1152. package/locales/ti-ER.d.ts +2 -1
  1153. package/locales/ti-ER.mjs +2 -2
  1154. package/locales/ti.d.ts +2 -1
  1155. package/locales/ti.mjs +2 -2
  1156. package/locales/tk.d.ts +1 -0
  1157. package/locales/tk.mjs +2 -2
  1158. package/locales/tr-CY.d.ts +2 -0
  1159. package/locales/tr-CY.mjs +2 -2
  1160. package/locales/tr.d.ts +2 -0
  1161. package/locales/tr.mjs +2 -2
  1162. package/locales/ug.mjs +2 -2
  1163. package/locales/uk.d.ts +2 -0
  1164. package/locales/uk.mjs +2 -2
  1165. package/locales/{root.d.ts → und.d.ts} +1 -1
  1166. package/locales/und.mjs +17 -0
  1167. package/locales/ur-IN.d.ts +1 -0
  1168. package/locales/ur-IN.mjs +2 -2
  1169. package/locales/ur.d.ts +1 -0
  1170. package/locales/ur.mjs +2 -2
  1171. package/locales/uz-Latn.d.ts +1 -0
  1172. package/locales/uz-Latn.mjs +2 -2
  1173. package/locales/uz.d.ts +1 -0
  1174. package/locales/uz.mjs +2 -2
  1175. package/locales/vi.d.ts +1 -0
  1176. package/locales/vi.mjs +2 -2
  1177. package/locales/yrl-CO.d.ts +30 -0
  1178. package/locales/yrl-CO.mjs +15 -0
  1179. package/locales/yrl-VE.d.ts +30 -0
  1180. package/locales/yrl-VE.mjs +15 -0
  1181. package/locales/yrl.d.ts +30 -0
  1182. package/locales/yrl.mjs +15 -0
  1183. package/locales/yue-Hans.d.ts +2 -0
  1184. package/locales/yue-Hans.mjs +2 -2
  1185. package/locales/yue-Hant.d.ts +2 -0
  1186. package/locales/yue-Hant.mjs +2 -2
  1187. package/locales/yue.d.ts +2 -0
  1188. package/locales/yue.mjs +2 -2
  1189. package/locales/zh-Hans-HK.d.ts +2 -0
  1190. package/locales/zh-Hans-HK.mjs +2 -2
  1191. package/locales/zh-Hans-MO.d.ts +2 -0
  1192. package/locales/zh-Hans-MO.mjs +2 -2
  1193. package/locales/zh-Hans-SG.d.ts +2 -0
  1194. package/locales/zh-Hans-SG.mjs +2 -2
  1195. package/locales/zh-Hans.d.ts +2 -0
  1196. package/locales/zh-Hans.mjs +2 -2
  1197. package/locales/zh-Hant-HK.d.ts +2 -0
  1198. package/locales/zh-Hant-HK.mjs +2 -2
  1199. package/locales/zh-Hant-MO.d.ts +2 -0
  1200. package/locales/zh-Hant-MO.mjs +2 -2
  1201. package/locales/zh-Hant.d.ts +2 -0
  1202. package/locales/zh-Hant.mjs +2 -2
  1203. package/locales/zh.d.ts +2 -0
  1204. package/locales/zh.mjs +2 -2
  1205. package/package.json +8 -8
  1206. package/testing/{testing.d.ts → index.d.ts} +121 -120
  1207. package/upgrade/{upgrade.d.ts → index.d.ts} +445 -444
  1208. package/http/package.json +0 -10
  1209. package/http/testing/package.json +0 -9
  1210. package/locales/en-US-POSIX.mjs +0 -17
  1211. package/locales/extra/en-US-POSIX.mjs +0 -11
  1212. package/locales/extra/root.mjs +0 -11
  1213. package/locales/global/en-US-POSIX.js +0 -24
  1214. package/locales/global/root.js +0 -24
  1215. package/locales/package.json +0 -4
  1216. package/locales/root.mjs +0 -17
  1217. package/testing/package.json +0 -9
  1218. package/upgrade/package.json +0 -10
@@ -1,449 +1,450 @@
1
1
  /**
2
- * @license Angular v14.0.0-next.9
2
+ * @license Angular v14.0.0-rc.0
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
7
- import * as i0 from '@angular/core';
8
- import * as i1 from '@angular/common';
9
- import { InjectionToken } from '@angular/core';
10
- import { Location as Location_2 } from '@angular/common';
11
- import { LocationStrategy } from '@angular/common';
12
- import { ModuleWithProviders } from '@angular/core';
13
- import { PlatformLocation } from '@angular/common';
14
- import { UpgradeModule } from '@angular/upgrade/static';
15
-
16
- /**
17
- * Location service that provides a drop-in replacement for the $location service
18
- * provided in AngularJS.
19
- *
20
- * @see [Using the Angular Unified Location Service](guide/upgrade#using-the-unified-angular-location-service)
21
- *
22
- * @publicApi
23
- */
24
- export declare class $locationShim {
25
- private location;
26
- private platformLocation;
27
- private urlCodec;
28
- private locationStrategy;
29
- private initalizing;
30
- private updateBrowser;
31
- private $$absUrl;
32
- private $$url;
33
- private $$protocol;
34
- private $$host;
35
- private $$port;
36
- private $$replace;
37
- private $$path;
38
- private $$search;
39
- private $$hash;
40
- private $$state;
41
- private $$changeListeners;
42
- private cachedState;
43
- private urlChanges;
44
- constructor($injector: any, location: Location_2, platformLocation: PlatformLocation, urlCodec: UrlCodec, locationStrategy: LocationStrategy);
45
- private initialize;
46
- private resetBrowserUpdate;
47
- private lastHistoryState;
48
- private lastBrowserUrl;
49
- private browserUrl;
50
- private lastCachedState;
51
- private cacheState;
52
- /**
53
- * This function emulates the $browser.state() function from AngularJS. It will cause
54
- * history.state to be cached unless changed with deep equality check.
55
- */
56
- private browserState;
57
- private stripBaseUrl;
58
- private getServerBase;
59
- private parseAppUrl;
60
- /**
61
- * Registers listeners for URL changes. This API is used to catch updates performed by the
62
- * AngularJS framework. These changes are a subset of the `$locationChangeStart` and
63
- * `$locationChangeSuccess` events which fire when AngularJS updates its internally-referenced
64
- * version of the browser URL.
65
- *
66
- * It's possible for `$locationChange` events to happen, but for the browser URL
67
- * (window.location) to remain unchanged. This `onChange` callback will fire only when AngularJS
68
- * actually updates the browser URL (window.location).
69
- *
70
- * @param fn The callback function that is triggered for the listener when the URL changes.
71
- * @param err The callback function that is triggered when an error occurs.
72
- */
73
- onChange(fn: (url: string, state: unknown, oldUrl: string, oldState: unknown) => void, err?: (e: Error) => void): void;
74
- /**
75
- * Parses the provided URL, and sets the current URL to the parsed result.
76
- *
77
- * @param url The URL string.
78
- */
79
- $$parse(url: string): void;
80
- /**
81
- * Parses the provided URL and its relative URL.
82
- *
83
- * @param url The full URL string.
84
- * @param relHref A URL string relative to the full URL string.
85
- */
86
- $$parseLinkUrl(url: string, relHref?: string | null): boolean;
87
- private setBrowserUrlWithFallback;
88
- private composeUrls;
89
- /**
90
- * Retrieves the full URL representation with all segments encoded according to
91
- * rules specified in
92
- * [RFC 3986](https://tools.ietf.org/html/rfc3986).
93
- *
94
- *
95
- * ```js
96
- * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo
97
- * let absUrl = $location.absUrl();
98
- * // => "http://example.com/#/some/path?foo=bar&baz=xoxo"
99
- * ```
100
- */
101
- absUrl(): string;
102
- /**
103
- * Retrieves the current URL, or sets a new URL. When setting a URL,
104
- * changes the path, search, and hash, and returns a reference to its own instance.
105
- *
106
- * ```js
107
- * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo
108
- * let url = $location.url();
109
- * // => "/some/path?foo=bar&baz=xoxo"
110
- * ```
111
- */
112
- url(): string;
113
- url(url: string): this;
114
- /**
115
- * Retrieves the protocol of the current URL.
116
- *
117
- * ```js
118
- * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo
119
- * let protocol = $location.protocol();
120
- * // => "http"
121
- * ```
122
- */
123
- protocol(): string;
124
- /**
125
- * Retrieves the protocol of the current URL.
126
- *
127
- * In contrast to the non-AngularJS version `location.host` which returns `hostname:port`, this
128
- * returns the `hostname` portion only.
129
- *
130
- *
131
- * ```js
132
- * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo
133
- * let host = $location.host();
134
- * // => "example.com"
135
- *
136
- * // given URL http://user:password@example.com:8080/#/some/path?foo=bar&baz=xoxo
137
- * host = $location.host();
138
- * // => "example.com"
139
- * host = location.host;
140
- * // => "example.com:8080"
141
- * ```
142
- */
143
- host(): string;
144
- /**
145
- * Retrieves the port of the current URL.
146
- *
147
- * ```js
148
- * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo
149
- * let port = $location.port();
150
- * // => 80
151
- * ```
152
- */
153
- port(): number | null;
154
- /**
155
- * Retrieves the path of the current URL, or changes the path and returns a reference to its own
156
- * instance.
157
- *
158
- * Paths should always begin with forward slash (/). This method adds the forward slash
159
- * if it is missing.
160
- *
161
- * ```js
162
- * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo
163
- * let path = $location.path();
164
- * // => "/some/path"
165
- * ```
166
- */
167
- path(): string;
168
- path(path: string | number | null): this;
169
- /**
170
- * Retrieves a map of the search parameters of the current URL, or changes a search
171
- * part and returns a reference to its own instance.
172
- *
173
- *
174
- * ```js
175
- * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo
176
- * let searchObject = $location.search();
177
- * // => {foo: 'bar', baz: 'xoxo'}
178
- *
179
- * // set foo to 'yipee'
180
- * $location.search('foo', 'yipee');
181
- * // $location.search() => {foo: 'yipee', baz: 'xoxo'}
182
- * ```
183
- *
184
- * @param {string|Object.<string>|Object.<Array.<string>>} search New search params - string or
185
- * hash object.
186
- *
187
- * When called with a single argument the method acts as a setter, setting the `search` component
188
- * of `$location` to the specified value.
189
- *
190
- * If the argument is a hash object containing an array of values, these values will be encoded
191
- * as duplicate search parameters in the URL.
192
- *
193
- * @param {(string|Number|Array<string>|boolean)=} paramValue If `search` is a string or number,
194
- * then `paramValue`
195
- * will override only a single search property.
196
- *
197
- * If `paramValue` is an array, it will override the property of the `search` component of
198
- * `$location` specified via the first argument.
199
- *
200
- * If `paramValue` is `null`, the property specified via the first argument will be deleted.
201
- *
202
- * If `paramValue` is `true`, the property specified via the first argument will be added with no
203
- * value nor trailing equal sign.
204
- *
205
- * @return {Object} The parsed `search` object of the current URL, or the changed `search` object.
206
- */
207
- search(): {
208
- [key: string]: unknown;
209
- };
210
- search(search: string | number | {
211
- [key: string]: unknown;
212
- }): this;
213
- search(search: string | number | {
214
- [key: string]: unknown;
215
- }, paramValue: null | undefined | string | number | boolean | string[]): this;
216
- /**
217
- * Retrieves the current hash fragment, or changes the hash fragment and returns a reference to
218
- * its own instance.
219
- *
220
- * ```js
221
- * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo#hashValue
222
- * let hash = $location.hash();
223
- * // => "hashValue"
224
- * ```
225
- */
226
- hash(): string;
227
- hash(hash: string | number | null): this;
228
- /**
229
- * Changes to `$location` during the current `$digest` will replace the current
230
- * history record, instead of adding a new one.
231
- */
232
- replace(): this;
233
- /**
234
- * Retrieves the history state object when called without any parameter.
235
- *
236
- * Change the history state object when called with one parameter and return `$location`.
237
- * The state object is later passed to `pushState` or `replaceState`.
238
- *
239
- * This method is supported only in HTML5 mode and only in browsers supporting
240
- * the HTML5 History API methods such as `pushState` and `replaceState`. If you need to support
241
- * older browsers (like Android < 4.0), don't use this method.
242
- *
243
- */
244
- state(): unknown;
245
- state(state: unknown): this;
246
- }
247
-
248
- /**
249
- * The factory function used to create an instance of the `$locationShim` in Angular,
250
- * and provides an API-compatiable `$locationProvider` for AngularJS.
251
- *
252
- * @publicApi
253
- */
254
- export declare class $locationShimProvider {
255
- private ngUpgrade;
256
- private location;
257
- private platformLocation;
258
- private urlCodec;
259
- private locationStrategy;
260
- constructor(ngUpgrade: UpgradeModule, location: Location_2, platformLocation: PlatformLocation, urlCodec: UrlCodec, locationStrategy: LocationStrategy);
261
- /**
262
- * Factory method that returns an instance of the $locationShim
263
- */
264
- $get(): $locationShim;
265
- /**
266
- * Stub method used to keep API compatible with AngularJS. This setting is configured through
267
- * the LocationUpgradeModule's `config` method in your Angular app.
268
- */
269
- hashPrefix(prefix?: string): void;
270
- /**
271
- * Stub method used to keep API compatible with AngularJS. This setting is configured through
272
- * the LocationUpgradeModule's `config` method in your Angular app.
273
- */
274
- html5Mode(mode?: any): void;
275
- }
276
-
277
- /**
278
- * A `UrlCodec` that uses logic from AngularJS to serialize and parse URLs
279
- * and URL parameters.
280
- *
281
- * @publicApi
282
- */
283
- export declare class AngularJSUrlCodec implements UrlCodec {
284
- encodePath(path: string): string;
285
- encodeSearch(search: string | {
286
- [k: string]: unknown;
287
- }): string;
288
- encodeHash(hash: string): string;
289
- decodePath(path: string, html5Mode?: boolean): string;
290
- decodeSearch(search: string): {
291
- [k: string]: unknown;
292
- };
293
- decodeHash(hash: string): string;
294
- normalize(href: string): string;
295
- normalize(path: string, search: {
296
- [k: string]: unknown;
297
- }, hash: string, baseUrl?: string): string;
298
- areEqual(valA: string, valB: string): boolean;
299
- parse(url: string, base?: string): {
300
- href: string;
301
- protocol: string;
302
- host: string;
303
- search: string;
304
- hash: string;
305
- hostname: string;
306
- port: string;
307
- pathname: string;
308
- };
309
- }
310
-
311
- /**
312
- * A provider token used to configure the location upgrade module.
313
- *
314
- * @publicApi
315
- */
316
- export declare const LOCATION_UPGRADE_CONFIGURATION: InjectionToken<LocationUpgradeConfig>;
317
-
318
- /**
319
- * Configuration options for LocationUpgrade.
320
- *
321
- * @publicApi
322
- */
323
- export declare interface LocationUpgradeConfig {
324
- /**
325
- * Configures whether the location upgrade module should use the `HashLocationStrategy`
326
- * or the `PathLocationStrategy`
327
- */
328
- useHash?: boolean;
329
- /**
330
- * Configures the hash prefix used in the URL when using the `HashLocationStrategy`
331
- */
332
- hashPrefix?: string;
333
- /**
334
- * Configures the URL codec for encoding and decoding URLs. Default is the `AngularJSCodec`
335
- */
336
- urlCodec?: typeof UrlCodec;
337
- /**
338
- * Configures the base href when used in server-side rendered applications
339
- */
340
- serverBaseHref?: string;
341
- /**
342
- * Configures the base href when used in client-side rendered applications
343
- */
344
- appBaseHref?: string;
345
- }
346
-
347
- /**
348
- * `NgModule` used for providing and configuring Angular's Unified Location Service for upgrading.
349
- *
350
- * @see [Using the Unified Angular Location Service](guide/upgrade#using-the-unified-angular-location-service)
351
- *
352
- * @publicApi
353
- */
354
- export declare class LocationUpgradeModule {
355
- static config(config?: LocationUpgradeConfig): ModuleWithProviders<LocationUpgradeModule>;
356
- static ɵfac: i0.ɵɵFactoryDeclaration<LocationUpgradeModule, never>;
357
- static ɵmod: i0.ɵɵNgModuleDeclaration<LocationUpgradeModule, never, [typeof i1.CommonModule], never>;
358
- static ɵinj: i0.ɵɵInjectorDeclaration<LocationUpgradeModule>;
359
- }
360
-
361
-
362
- /**
363
- * A codec for encoding and decoding URL parts.
364
- *
365
- * @publicApi
366
- **/
367
- export declare abstract class UrlCodec {
368
- /**
369
- * Encodes the path from the provided string
370
- *
371
- * @param path The path string
372
- */
373
- abstract encodePath(path: string): string;
374
- /**
375
- * Decodes the path from the provided string
376
- *
377
- * @param path The path string
378
- */
379
- abstract decodePath(path: string): string;
380
- /**
381
- * Encodes the search string from the provided string or object
382
- *
383
- * @param path The path string or object
384
- */
385
- abstract encodeSearch(search: string | {
386
- [k: string]: unknown;
387
- }): string;
388
- /**
389
- * Decodes the search objects from the provided string
390
- *
391
- * @param path The path string
392
- */
393
- abstract decodeSearch(search: string): {
394
- [k: string]: unknown;
395
- };
396
- /**
397
- * Encodes the hash from the provided string
398
- *
399
- * @param path The hash string
400
- */
401
- abstract encodeHash(hash: string): string;
402
- /**
403
- * Decodes the hash from the provided string
404
- *
405
- * @param path The hash string
406
- */
407
- abstract decodeHash(hash: string): string;
408
- /**
409
- * Normalizes the URL from the provided string
410
- *
411
- * @param path The URL string
412
- */
413
- abstract normalize(href: string): string;
414
- /**
415
- * Normalizes the URL from the provided string, search, hash, and base URL parameters
416
- *
417
- * @param path The URL path
418
- * @param search The search object
419
- * @param hash The has string
420
- * @param baseUrl The base URL for the URL
421
- */
422
- abstract normalize(path: string, search: {
423
- [k: string]: unknown;
424
- }, hash: string, baseUrl?: string): string;
425
- /**
426
- * Checks whether the two strings are equal
427
- * @param valA First string for comparison
428
- * @param valB Second string for comparison
429
- */
430
- abstract areEqual(valA: string, valB: string): boolean;
431
- /**
432
- * Parses the URL string based on the base URL
433
- *
434
- * @param url The full URL string
435
- * @param base The base for the URL
436
- */
437
- abstract parse(url: string, base?: string): {
438
- href: string;
439
- protocol: string;
440
- host: string;
441
- search: string;
442
- hash: string;
443
- hostname: string;
444
- port: string;
445
- pathname: string;
446
- };
447
- }
448
-
449
- export { }
7
+
8
+ import * as i0 from '@angular/core';
9
+ import * as i1 from '@angular/common';
10
+ import { InjectionToken } from '@angular/core';
11
+ import { Location as Location_2 } from '@angular/common';
12
+ import { LocationStrategy } from '@angular/common';
13
+ import { ModuleWithProviders } from '@angular/core';
14
+ import { PlatformLocation } from '@angular/common';
15
+ import { UpgradeModule } from '@angular/upgrade/static';
16
+
17
+ /**
18
+ * Location service that provides a drop-in replacement for the $location service
19
+ * provided in AngularJS.
20
+ *
21
+ * @see [Using the Angular Unified Location Service](guide/upgrade#using-the-unified-angular-location-service)
22
+ *
23
+ * @publicApi
24
+ */
25
+ export declare class $locationShim {
26
+ private location;
27
+ private platformLocation;
28
+ private urlCodec;
29
+ private locationStrategy;
30
+ private initalizing;
31
+ private updateBrowser;
32
+ private $$absUrl;
33
+ private $$url;
34
+ private $$protocol;
35
+ private $$host;
36
+ private $$port;
37
+ private $$replace;
38
+ private $$path;
39
+ private $$search;
40
+ private $$hash;
41
+ private $$state;
42
+ private $$changeListeners;
43
+ private cachedState;
44
+ private urlChanges;
45
+ constructor($injector: any, location: Location_2, platformLocation: PlatformLocation, urlCodec: UrlCodec, locationStrategy: LocationStrategy);
46
+ private initialize;
47
+ private resetBrowserUpdate;
48
+ private lastHistoryState;
49
+ private lastBrowserUrl;
50
+ private browserUrl;
51
+ private lastCachedState;
52
+ private cacheState;
53
+ /**
54
+ * This function emulates the $browser.state() function from AngularJS. It will cause
55
+ * history.state to be cached unless changed with deep equality check.
56
+ */
57
+ private browserState;
58
+ private stripBaseUrl;
59
+ private getServerBase;
60
+ private parseAppUrl;
61
+ /**
62
+ * Registers listeners for URL changes. This API is used to catch updates performed by the
63
+ * AngularJS framework. These changes are a subset of the `$locationChangeStart` and
64
+ * `$locationChangeSuccess` events which fire when AngularJS updates its internally-referenced
65
+ * version of the browser URL.
66
+ *
67
+ * It's possible for `$locationChange` events to happen, but for the browser URL
68
+ * (window.location) to remain unchanged. This `onChange` callback will fire only when AngularJS
69
+ * actually updates the browser URL (window.location).
70
+ *
71
+ * @param fn The callback function that is triggered for the listener when the URL changes.
72
+ * @param err The callback function that is triggered when an error occurs.
73
+ */
74
+ onChange(fn: (url: string, state: unknown, oldUrl: string, oldState: unknown) => void, err?: (e: Error) => void): void;
75
+ /**
76
+ * Parses the provided URL, and sets the current URL to the parsed result.
77
+ *
78
+ * @param url The URL string.
79
+ */
80
+ $$parse(url: string): void;
81
+ /**
82
+ * Parses the provided URL and its relative URL.
83
+ *
84
+ * @param url The full URL string.
85
+ * @param relHref A URL string relative to the full URL string.
86
+ */
87
+ $$parseLinkUrl(url: string, relHref?: string | null): boolean;
88
+ private setBrowserUrlWithFallback;
89
+ private composeUrls;
90
+ /**
91
+ * Retrieves the full URL representation with all segments encoded according to
92
+ * rules specified in
93
+ * [RFC 3986](https://tools.ietf.org/html/rfc3986).
94
+ *
95
+ *
96
+ * ```js
97
+ * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo
98
+ * let absUrl = $location.absUrl();
99
+ * // => "http://example.com/#/some/path?foo=bar&baz=xoxo"
100
+ * ```
101
+ */
102
+ absUrl(): string;
103
+ /**
104
+ * Retrieves the current URL, or sets a new URL. When setting a URL,
105
+ * changes the path, search, and hash, and returns a reference to its own instance.
106
+ *
107
+ * ```js
108
+ * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo
109
+ * let url = $location.url();
110
+ * // => "/some/path?foo=bar&baz=xoxo"
111
+ * ```
112
+ */
113
+ url(): string;
114
+ url(url: string): this;
115
+ /**
116
+ * Retrieves the protocol of the current URL.
117
+ *
118
+ * ```js
119
+ * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo
120
+ * let protocol = $location.protocol();
121
+ * // => "http"
122
+ * ```
123
+ */
124
+ protocol(): string;
125
+ /**
126
+ * Retrieves the protocol of the current URL.
127
+ *
128
+ * In contrast to the non-AngularJS version `location.host` which returns `hostname:port`, this
129
+ * returns the `hostname` portion only.
130
+ *
131
+ *
132
+ * ```js
133
+ * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo
134
+ * let host = $location.host();
135
+ * // => "example.com"
136
+ *
137
+ * // given URL http://user:password@example.com:8080/#/some/path?foo=bar&baz=xoxo
138
+ * host = $location.host();
139
+ * // => "example.com"
140
+ * host = location.host;
141
+ * // => "example.com:8080"
142
+ * ```
143
+ */
144
+ host(): string;
145
+ /**
146
+ * Retrieves the port of the current URL.
147
+ *
148
+ * ```js
149
+ * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo
150
+ * let port = $location.port();
151
+ * // => 80
152
+ * ```
153
+ */
154
+ port(): number | null;
155
+ /**
156
+ * Retrieves the path of the current URL, or changes the path and returns a reference to its own
157
+ * instance.
158
+ *
159
+ * Paths should always begin with forward slash (/). This method adds the forward slash
160
+ * if it is missing.
161
+ *
162
+ * ```js
163
+ * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo
164
+ * let path = $location.path();
165
+ * // => "/some/path"
166
+ * ```
167
+ */
168
+ path(): string;
169
+ path(path: string | number | null): this;
170
+ /**
171
+ * Retrieves a map of the search parameters of the current URL, or changes a search
172
+ * part and returns a reference to its own instance.
173
+ *
174
+ *
175
+ * ```js
176
+ * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo
177
+ * let searchObject = $location.search();
178
+ * // => {foo: 'bar', baz: 'xoxo'}
179
+ *
180
+ * // set foo to 'yipee'
181
+ * $location.search('foo', 'yipee');
182
+ * // $location.search() => {foo: 'yipee', baz: 'xoxo'}
183
+ * ```
184
+ *
185
+ * @param {string|Object.<string>|Object.<Array.<string>>} search New search params - string or
186
+ * hash object.
187
+ *
188
+ * When called with a single argument the method acts as a setter, setting the `search` component
189
+ * of `$location` to the specified value.
190
+ *
191
+ * If the argument is a hash object containing an array of values, these values will be encoded
192
+ * as duplicate search parameters in the URL.
193
+ *
194
+ * @param {(string|Number|Array<string>|boolean)=} paramValue If `search` is a string or number,
195
+ * then `paramValue`
196
+ * will override only a single search property.
197
+ *
198
+ * If `paramValue` is an array, it will override the property of the `search` component of
199
+ * `$location` specified via the first argument.
200
+ *
201
+ * If `paramValue` is `null`, the property specified via the first argument will be deleted.
202
+ *
203
+ * If `paramValue` is `true`, the property specified via the first argument will be added with no
204
+ * value nor trailing equal sign.
205
+ *
206
+ * @return {Object} The parsed `search` object of the current URL, or the changed `search` object.
207
+ */
208
+ search(): {
209
+ [key: string]: unknown;
210
+ };
211
+ search(search: string | number | {
212
+ [key: string]: unknown;
213
+ }): this;
214
+ search(search: string | number | {
215
+ [key: string]: unknown;
216
+ }, paramValue: null | undefined | string | number | boolean | string[]): this;
217
+ /**
218
+ * Retrieves the current hash fragment, or changes the hash fragment and returns a reference to
219
+ * its own instance.
220
+ *
221
+ * ```js
222
+ * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo#hashValue
223
+ * let hash = $location.hash();
224
+ * // => "hashValue"
225
+ * ```
226
+ */
227
+ hash(): string;
228
+ hash(hash: string | number | null): this;
229
+ /**
230
+ * Changes to `$location` during the current `$digest` will replace the current
231
+ * history record, instead of adding a new one.
232
+ */
233
+ replace(): this;
234
+ /**
235
+ * Retrieves the history state object when called without any parameter.
236
+ *
237
+ * Change the history state object when called with one parameter and return `$location`.
238
+ * The state object is later passed to `pushState` or `replaceState`.
239
+ *
240
+ * This method is supported only in HTML5 mode and only in browsers supporting
241
+ * the HTML5 History API methods such as `pushState` and `replaceState`. If you need to support
242
+ * older browsers (like Android < 4.0), don't use this method.
243
+ *
244
+ */
245
+ state(): unknown;
246
+ state(state: unknown): this;
247
+ }
248
+
249
+ /**
250
+ * The factory function used to create an instance of the `$locationShim` in Angular,
251
+ * and provides an API-compatiable `$locationProvider` for AngularJS.
252
+ *
253
+ * @publicApi
254
+ */
255
+ export declare class $locationShimProvider {
256
+ private ngUpgrade;
257
+ private location;
258
+ private platformLocation;
259
+ private urlCodec;
260
+ private locationStrategy;
261
+ constructor(ngUpgrade: UpgradeModule, location: Location_2, platformLocation: PlatformLocation, urlCodec: UrlCodec, locationStrategy: LocationStrategy);
262
+ /**
263
+ * Factory method that returns an instance of the $locationShim
264
+ */
265
+ $get(): $locationShim;
266
+ /**
267
+ * Stub method used to keep API compatible with AngularJS. This setting is configured through
268
+ * the LocationUpgradeModule's `config` method in your Angular app.
269
+ */
270
+ hashPrefix(prefix?: string): void;
271
+ /**
272
+ * Stub method used to keep API compatible with AngularJS. This setting is configured through
273
+ * the LocationUpgradeModule's `config` method in your Angular app.
274
+ */
275
+ html5Mode(mode?: any): void;
276
+ }
277
+
278
+ /**
279
+ * A `UrlCodec` that uses logic from AngularJS to serialize and parse URLs
280
+ * and URL parameters.
281
+ *
282
+ * @publicApi
283
+ */
284
+ export declare class AngularJSUrlCodec implements UrlCodec {
285
+ encodePath(path: string): string;
286
+ encodeSearch(search: string | {
287
+ [k: string]: unknown;
288
+ }): string;
289
+ encodeHash(hash: string): string;
290
+ decodePath(path: string, html5Mode?: boolean): string;
291
+ decodeSearch(search: string): {
292
+ [k: string]: unknown;
293
+ };
294
+ decodeHash(hash: string): string;
295
+ normalize(href: string): string;
296
+ normalize(path: string, search: {
297
+ [k: string]: unknown;
298
+ }, hash: string, baseUrl?: string): string;
299
+ areEqual(valA: string, valB: string): boolean;
300
+ parse(url: string, base?: string): {
301
+ href: string;
302
+ protocol: string;
303
+ host: string;
304
+ search: string;
305
+ hash: string;
306
+ hostname: string;
307
+ port: string;
308
+ pathname: string;
309
+ };
310
+ }
311
+
312
+ /**
313
+ * A provider token used to configure the location upgrade module.
314
+ *
315
+ * @publicApi
316
+ */
317
+ export declare const LOCATION_UPGRADE_CONFIGURATION: InjectionToken<LocationUpgradeConfig>;
318
+
319
+ /**
320
+ * Configuration options for LocationUpgrade.
321
+ *
322
+ * @publicApi
323
+ */
324
+ export declare interface LocationUpgradeConfig {
325
+ /**
326
+ * Configures whether the location upgrade module should use the `HashLocationStrategy`
327
+ * or the `PathLocationStrategy`
328
+ */
329
+ useHash?: boolean;
330
+ /**
331
+ * Configures the hash prefix used in the URL when using the `HashLocationStrategy`
332
+ */
333
+ hashPrefix?: string;
334
+ /**
335
+ * Configures the URL codec for encoding and decoding URLs. Default is the `AngularJSCodec`
336
+ */
337
+ urlCodec?: typeof UrlCodec;
338
+ /**
339
+ * Configures the base href when used in server-side rendered applications
340
+ */
341
+ serverBaseHref?: string;
342
+ /**
343
+ * Configures the base href when used in client-side rendered applications
344
+ */
345
+ appBaseHref?: string;
346
+ }
347
+
348
+ /**
349
+ * `NgModule` used for providing and configuring Angular's Unified Location Service for upgrading.
350
+ *
351
+ * @see [Using the Unified Angular Location Service](guide/upgrade#using-the-unified-angular-location-service)
352
+ *
353
+ * @publicApi
354
+ */
355
+ export declare class LocationUpgradeModule {
356
+ static config(config?: LocationUpgradeConfig): ModuleWithProviders<LocationUpgradeModule>;
357
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocationUpgradeModule, never>;
358
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LocationUpgradeModule, never, [typeof i1.CommonModule], never>;
359
+ static ɵinj: i0.ɵɵInjectorDeclaration<LocationUpgradeModule>;
360
+ }
361
+
362
+
363
+ /**
364
+ * A codec for encoding and decoding URL parts.
365
+ *
366
+ * @publicApi
367
+ **/
368
+ export declare abstract class UrlCodec {
369
+ /**
370
+ * Encodes the path from the provided string
371
+ *
372
+ * @param path The path string
373
+ */
374
+ abstract encodePath(path: string): string;
375
+ /**
376
+ * Decodes the path from the provided string
377
+ *
378
+ * @param path The path string
379
+ */
380
+ abstract decodePath(path: string): string;
381
+ /**
382
+ * Encodes the search string from the provided string or object
383
+ *
384
+ * @param path The path string or object
385
+ */
386
+ abstract encodeSearch(search: string | {
387
+ [k: string]: unknown;
388
+ }): string;
389
+ /**
390
+ * Decodes the search objects from the provided string
391
+ *
392
+ * @param path The path string
393
+ */
394
+ abstract decodeSearch(search: string): {
395
+ [k: string]: unknown;
396
+ };
397
+ /**
398
+ * Encodes the hash from the provided string
399
+ *
400
+ * @param path The hash string
401
+ */
402
+ abstract encodeHash(hash: string): string;
403
+ /**
404
+ * Decodes the hash from the provided string
405
+ *
406
+ * @param path The hash string
407
+ */
408
+ abstract decodeHash(hash: string): string;
409
+ /**
410
+ * Normalizes the URL from the provided string
411
+ *
412
+ * @param path The URL string
413
+ */
414
+ abstract normalize(href: string): string;
415
+ /**
416
+ * Normalizes the URL from the provided string, search, hash, and base URL parameters
417
+ *
418
+ * @param path The URL path
419
+ * @param search The search object
420
+ * @param hash The has string
421
+ * @param baseUrl The base URL for the URL
422
+ */
423
+ abstract normalize(path: string, search: {
424
+ [k: string]: unknown;
425
+ }, hash: string, baseUrl?: string): string;
426
+ /**
427
+ * Checks whether the two strings are equal
428
+ * @param valA First string for comparison
429
+ * @param valB Second string for comparison
430
+ */
431
+ abstract areEqual(valA: string, valB: string): boolean;
432
+ /**
433
+ * Parses the URL string based on the base URL
434
+ *
435
+ * @param url The full URL string
436
+ * @param base The base for the URL
437
+ */
438
+ abstract parse(url: string, base?: string): {
439
+ href: string;
440
+ protocol: string;
441
+ host: string;
442
+ search: string;
443
+ hash: string;
444
+ hostname: string;
445
+ port: string;
446
+ pathname: string;
447
+ };
448
+ }
449
+
450
+ export { }