angular-datatables-v20 20.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.angular/cache/20.1.0/angular-webpack/65daa0f8064df52205f2e588026866c7db45460f/0.pack +0 -0
- package/.angular/cache/20.1.0/angular-webpack/65daa0f8064df52205f2e588026866c7db45460f/index.pack +0 -0
- package/.angular/cache/20.1.0/babel-webpack/0012666ab9d46ce3.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/005245170d6a809e.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/02466157c02071a4.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/02949ac12a679e48.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/030c0ddf38c7c964.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/03400cac921ef95c.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/03830d87b17ff3a3.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/03d69c7d93289025.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/0408951c845cd207.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/04eaeb033969e5fe.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/05528ca6fb0d661f.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/05b435cf78824e17.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/06543ac8d6894481.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/077c218f1eb65b2c.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/08cb29cbfb3f88cd.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/091b18f1f40e4856.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/09462a3542adb955.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/09afdf2641fd04bc.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/09d43d5102c7d424.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/0b17d5d2ae99e6d8.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/0c00e206246cee39.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/0c2fa9b8409c06ec.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/0d6f8d71f5ea8802.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/0eb7ed8eac353807.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/0edcbc95dc7d8f49.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/106d70882da45568.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/10915a557e410679.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/1286bc327980d1f1.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/13220c4efb3e0d7a.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/14ba40ae586daf7b.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/14c45dbaf8998f8c.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/14dd6bede11094b7.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/1634559e44da6c73.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/172f80de50a487f8.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/1858912add0f17cd.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/187a7ec7b2d78abf.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/18965baa3fb000a7.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/1925f1635c9caa6e.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/1942544ed79f6850.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/1ab6eda1333777f1.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/1be370c47d54f208.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/1d5e19d13931bf2c.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/1e5c73ee1631ad0d.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/1ec23595d767d52c.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/1eebc570ddd780d5.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/1f5581849900af79.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/1f6125b924016d01.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/207f42ce7344d8e5.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/20a40f97c48b7098.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/2208dcfa7dc7a976.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/233767e1f0773ac7.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/23843cbf15f060ac.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/243ee1e3ee28469e.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/2886c59e2cc4c090.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/288bf00a7759473c.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/291276cea2b712ee.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/292c52728a5ab556.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/2a471461faad3462.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/2ac3104e4edbf3c9.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/2b2bbedddbdf764e.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/2ba7e52d9ea164b1.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/2c812d19bef086b6.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/2c8dc30608e43cde.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/2d83786f7977fe4a.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/2dde654f610ff9d8.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/2ed0ff8be47eb552.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/2ed92e7bad47d978.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/32121fb576c45aed.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/343b62eb3f7a52d3.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/345157c66408a841.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/35384116e5208ee7.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/3700cf1bc5fbe6a9.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/371dad8bd2a4e103.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/378ead037f8ba0b9.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/378f5178404a17b3.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/37bf88ed0b3205fd.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/38dbae36d6f64215.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/3a271f255035b6d7.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/3b88e6cef8d88a54.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/3c57869ed5ceacd3.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/3c82e4f79e74ccee.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/3ca750d36bba20c2.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/3cf5784a5df0c1ac.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/3d5c3c3536611aa8.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/41a4f7ad5cf70285.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/42dede0524864742.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/43e6ae28da88b5b0.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/4520d0ba2af790b6.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/45c93390fd241526.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/473d6795bd3dd4b4.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/478e4f68135b3ef1.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/47d3a19cc2042b3c.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/482b30f0ddae15ae.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/4880532085f23e54.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/48ca9259e044310d.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/49961540dc409cbd.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/4b06625bf947efb0.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/4c328fc20034cc57.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/4d101b6daeea9efd.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/4e10df3ca4861296.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/4e1a1d1a75004118.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/4fc5c2de0aa0aca0.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/500912330c4f8f96.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/5068e8a7c17bfc63.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/50c071b2060d149f.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/522c2a523ad4c3e3.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/52b22a4170704754.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/531f7490ee796b39.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/555ee869a813b980.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/55c3ed28351788a4.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/56c6c8fa591806c5.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/57a218a0fc1dbbb0.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/58ec5c19fd2d039d.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/59f3704bfa1ce36c.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/5e03779d23d4cfb0.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/5e1ab312f4e19acd.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/5ff63af37343fea5.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/61d0b03723e01a7c.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/61d3a1fe471596b9.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/6300b6f6d16c5ec3.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/6356d51cb7af94a4.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/639f8f3fb49c601e.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/63d0a786e2affc3f.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/694ddfa0ee04b4e8.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/696ce79d8d597778.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/6e12a55ff672bfd0.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/6e32f48fefbbbede.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/6e66fef001acdf84.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/6f0cfc15aa53ecb5.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/704bf8c666f9e53f.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/70f2132b4b30d9f4.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/720277d7535677fa.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/721a4855191022e2.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/72790756b1612201.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/72d1f6f7252072cf.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/75e1448d5bfa90e7.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/76b1dce08831b6f3.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/774fe17f320772d1.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/77c86503be60062d.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/78b6e2101afd2749.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/7914ac13a4f614cb.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/7952304f3e4b879d.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/7ac2319ee97edc16.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/7ad834e7eb1cf434.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/7b14e52c82558257.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/7c36ba06d9e4eb30.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/7d5164221117c7a4.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/7e9f9e5400097de6.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/7ed0439532266fb1.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/7f2c2e0f9979fbb1.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/7f3fa30670f24d88.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/80ab941d9fcf80d7.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/819ce6264e0883ac.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/84255d7be077dff8.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/8426f2fd3a6efd0a.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/84ab054d5682f08c.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/85227e238ea29ab4.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/85b1d09c0b6e37b7.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/860a101284cadb63.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/8666091d0cbe78c1.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/86cdb6979822c14e.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/872676761970fc14.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/8943a1cb93b53c14.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/89a40bd7cda83705.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/8a2da8aecaba1e78.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/8bc3f32dce81a26b.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/8ca4432e1e5d6d8e.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/8d088fb012ab56e9.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/8e29a112da8a44f1.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/8eeec51dc000c75b.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/8f3856479799b76b.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/900c3bb650e6ba32.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/918c43b8c6821992.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/92f923eabe0abc68.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/94078d1a52fd8ba8.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/947b7af316ca192f.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/952dc76bb0535502.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/9639c3a761341e1a.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/9819e9b9f75ed550.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/982bf63f3a15dbec.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/9872aedb4caea05d.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/9898aba7144a4867.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/98d67f512c2a6f85.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/98e214a54b446303.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/9ad17f0c32de2372.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/9badf91f906ea20d.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/9baed7f84b66a10a.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/9bee003523d6dde4.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/9bf413825fc29f8f.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/9db0135a206239b0.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/9f29566c0be78d19.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/9ffc4017c3f39454.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/a1793f3d6f818ada.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/a1ac8b544a45673f.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/a3152e49d6b91df8.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/a3330e8bd87e75b3.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/a46adbe0866b4f50.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/a4e97e843808e337.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/a5b634bdd3eb03d9.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/a5f6b3f09644232d.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/a63a6ce9d58f1c53.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/a70b2210366c6124.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/a7f29e2dcda4e8c2.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/a9d94d2f3680f588.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/aa2d4f683efbf6c0.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/aa6a791df8ab914e.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/abd1cdee8649f63f.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/ac135990df27ef84.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/ac5164ca58e1c076.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/ac5b7970f1eb172c.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/ad659d2c1cca8ad8.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/ada5b9f0076e93b2.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/ae39a3934617ba8a.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/ae70c040bd645184.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/b0ddd26f5dd753d7.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/b0eb02ac2a3bcde1.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/b1049c05a94ffeb5.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/b2984fa59f40fd09.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/b2e830ac7ba2195c.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/b370bc15d48a81fd.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/b424ea40cc6f76b1.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/b5a63cd718db5b94.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/b61d262cb7b3d8a3.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/b64e4db2db3f845b.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/bacf8341fedffcca.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/bd1cd73503e8f498.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/bd2be7f59789d6a5.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/bda724dde140e142.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/bed5b0f75ea3fdf1.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/bf1541781679c49f.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/c06b75731476f374.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/c0fccac74d002507.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/c15f1fdcd4df34f7.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/c514070af29e7e40.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/c733ad8f144911bf.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/c7497c5ab48be082.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/c828c1ebec07840f.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/c853bdafe1561f87.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/c8edf4367fe44457.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/c91f5b6e57b7d854.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/c95d768acd0a6557.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/cad60b925a39332e.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/cccce85813ee08f7.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/cf5d541f91bf2ef5.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/d10f45a994eebb91.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/d19b9628459e7cab.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/d230bf02fb475b47.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/d26b6439742fedf6.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/d3e572827ba0ea3c.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/d58e353a6b1b3064.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/d5a352d948bb8d3d.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/d741a5b650472b6b.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/d780bd279d68f22f.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/d7d20580a8767e7a.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/dc961d2355a41eb1.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/dca4eb1623c40036.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/dd553484f726b4ca.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/de219c27dc4ada1b.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/de30f17241cf33da.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/de7ed0dd55447c20.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/dfd3fbc9eb837ab8.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/e02f049ed358918e.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/e0cca04f3d06a6e8.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/e102d0d993ca8dd4.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/e201ee06bad8063a.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/e22e7eebc908b00d.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/e32b6e7f2ed18d66.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/e525567937cf9853.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/e670d9b7834fe48d.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/e6919a85f59374ff.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/e6cf4cb75779296a.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/e846843347a59ab1.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/e8ef44d8620e9c69.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/eac7806682b74ff1.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/eba62857582d4c0a.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/ebc4e01f6cb28088.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/ebd0e66ed0794ce6.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/ebf47df371580685.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/ec20ee99ca7aa203.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/ec32a846bf02be62.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/ed62010e049cddca.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/eff4d61f5015c709.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/eff8f0a1d27bef19.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/efff5ec656c449b4.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/f022f6633a2fa31a.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/f03d979bfb303a74.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/f1d78a04d3b14b62.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/f1f475348625c93f.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/f2495f11120f68dd.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/f3e3b3a5165a5f5d.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/f46e0ae8c885ae50.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/f494b30f193ca5da.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/f4f802d2bfffa86e.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/f711b9992da9c363.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/f810d38830794790.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/f91346f33cbb1c66.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/f9201834a2fff34d.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/fa6e1713b18c0dc1.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/fc59352b42e22266.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/fcba4592f339db6e.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/fdd2932239f195be.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/fe2fd88635eb7ede.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/feba6e5b80aa2b32.json +1 -0
- package/.angular/cache/20.1.0/babel-webpack/ff5e0454f71fb45c.json +1 -0
- package/.angular/cache/20.1.0/ng-packagr/edf767c561f9d035522773ac2f5e224ff75e3296ee2908a27a8f98705f380801 +1 -0
- package/.angular/cache/20.1.0/ng-packagr/tsbuildinfo/angular-datatables.tsbuildinfo +1 -0
- package/LICENSE +21 -0
- package/README.md +30 -0
- package/angular.json +213 -0
- package/dist/lib/fesm2022/angular-datatables.mjs +189 -0
- package/dist/lib/fesm2022/angular-datatables.mjs.map +1 -0
- package/dist/lib/index.d.ts +76 -0
- package/lib/ng-package.prod.json +9 -0
- package/lib/package.json +35 -0
- package/lib/schematics/src/collection.json +11 -0
- package/lib/schematics/src/ng-add/schema.json +41 -0
- package/lib/tsconfig.lib.json +18 -0
- package/lib/tsconfig.lib.prod.json +12 -0
- package/package.json +100 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { QueueAction } from './QueueAction';\nimport { QueueScheduler } from './QueueScheduler';\nexport const queueScheduler = new QueueScheduler(QueueAction);\nexport const queue = queueScheduler;\n//# sourceMappingURL=queue.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { Subject } from '../Subject';\nimport { asyncScheduler } from '../scheduler/async';\nimport { Subscription } from '../Subscription';\nimport { operate } from '../util/lift';\nimport { OperatorSubscriber } from './OperatorSubscriber';\nimport { arrRemove } from '../util/arrRemove';\nimport { popScheduler } from '../util/args';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function windowTime(windowTimeSpan, ...otherArgs) {\n var _a, _b;\n const scheduler = (_a = popScheduler(otherArgs)) !== null && _a !== void 0 ? _a : asyncScheduler;\n const windowCreationInterval = (_b = otherArgs[0]) !== null && _b !== void 0 ? _b : null;\n const maxWindowSize = otherArgs[1] || Infinity;\n return operate((source, subscriber) => {\n let windowRecords = [];\n let restartOnClose = false;\n const closeWindow = record => {\n const {\n window,\n subs\n } = record;\n window.complete();\n subs.unsubscribe();\n arrRemove(windowRecords, record);\n restartOnClose && startWindow();\n };\n const startWindow = () => {\n if (windowRecords) {\n const subs = new Subscription();\n subscriber.add(subs);\n const window = new Subject();\n const record = {\n window,\n subs,\n seen: 0\n };\n windowRecords.push(record);\n subscriber.next(window.asObservable());\n executeSchedule(subs, scheduler, () => closeWindow(record), windowTimeSpan);\n }\n };\n if (windowCreationInterval !== null && windowCreationInterval >= 0) {\n executeSchedule(subscriber, scheduler, startWindow, windowCreationInterval, true);\n } else {\n restartOnClose = true;\n }\n startWindow();\n const loop = cb => windowRecords.slice().forEach(cb);\n const terminate = cb => {\n loop(({\n window\n }) => cb(window));\n cb(subscriber);\n subscriber.unsubscribe();\n };\n source.subscribe(new OperatorSubscriber(subscriber, value => {\n loop(record => {\n record.window.next(value);\n maxWindowSize <= ++record.seen && closeWindow(record);\n });\n }, () => terminate(consumer => consumer.complete()), err => terminate(consumer => consumer.error(err))));\n return () => {\n windowRecords = null;\n };\n });\n}\n//# sourceMappingURL=windowTime.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"/*! Responsive 3.0.1\n * © SpryMedia Ltd - datatables.net/license\n */\n\nimport jQuery from 'jquery';\nimport DataTable from 'datatables.net';\n\n// Allow reassignment of the $ variable\nlet $ = jQuery;\n\n/**\n * @summary Responsive\n * @description Responsive tables plug-in for DataTables\n * @version 3.0.1\n * @author SpryMedia Ltd\n * @copyright SpryMedia Ltd.\n *\n * This source file is free software, available under the following license:\n * MIT license - http://datatables.net/license/mit\n *\n * This source file is distributed in the hope that it will be useful, but\n * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY\n * or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details.\n *\n * For details please refer to: http://www.datatables.net\n */\n\n/**\n * Responsive is a plug-in for the DataTables library that makes use of\n * DataTables' ability to change the visibility of columns, changing the\n * visibility of columns so the displayed columns fit into the table container.\n * The end result is that complex tables will be dynamically adjusted to fit\n * into the viewport, be it on a desktop, tablet or mobile browser.\n *\n * Responsive for DataTables has two modes of operation, which can used\n * individually or combined:\n *\n * * Class name based control - columns assigned class names that match the\n * breakpoint logic can be shown / hidden as required for each breakpoint.\n * * Automatic control - columns are automatically hidden when there is no\n * room left to display them. Columns removed from the right.\n *\n * In additional to column visibility control, Responsive also has built into\n * options to use DataTables' child row display to show / hide the information\n * from the table that has been hidden. There are also two modes of operation\n * for this child row display:\n *\n * * Inline - when the control element that the user can use to show / hide\n * child rows is displayed inside the first column of the table.\n * * Column - where a whole column is dedicated to be the show / hide control.\n *\n * Initialisation of Responsive is performed by:\n *\n * * Adding the class `responsive` or `dt-responsive` to the table. In this case\n * Responsive will automatically be initialised with the default configuration\n * options when the DataTable is created.\n * * Using the `responsive` option in the DataTables configuration options. This\n * can also be used to specify the configuration options, or simply set to\n * `true` to use the defaults.\n *\n * @class\n * @param {object} settings DataTables settings object for the host table\n * @param {object} [opts] Configuration options\n * @requires jQuery 1.7+\n * @requires DataTables 1.10.3+\n *\n * @example\n * $('#example').DataTable( {\n * responsive: true\n * } );\n * } );\n */\nvar Responsive = function (settings, opts) {\n // Sanity check that we are using DataTables 1.10 or newer\n if (!DataTable.versionCheck || !DataTable.versionCheck('2')) {\n throw 'DataTables Responsive requires DataTables 2 or newer';\n }\n this.s = {\n childNodeStore: {},\n columns: [],\n current: [],\n dt: new DataTable.Api(settings)\n };\n\n // Check if responsive has already been initialised on this table\n if (this.s.dt.settings()[0].responsive) {\n return;\n }\n\n // details is an object, but for simplicity the user can give it as a string\n // or a boolean\n if (opts && typeof opts.details === 'string') {\n opts.details = {\n type: opts.details\n };\n } else if (opts && opts.details === false) {\n opts.details = {\n type: false\n };\n } else if (opts && opts.details === true) {\n opts.details = {\n type: 'inline'\n };\n }\n this.c = $.extend(true, {}, Responsive.defaults, DataTable.defaults.responsive, opts);\n settings.responsive = this;\n this._constructor();\n};\n$.extend(Responsive.prototype, {\n /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n * Constructor\n */\n\n /**\n * Initialise the Responsive instance\n *\n * @private\n */\n _constructor: function () {\n var that = this;\n var dt = this.s.dt;\n var oldWindowWidth = $(window).innerWidth();\n dt.settings()[0]._responsive = this;\n\n // Use DataTables' throttle function to avoid processor thrashing\n $(window).on('orientationchange.dtr', DataTable.util.throttle(function () {\n // iOS has a bug whereby resize can fire when only scrolling\n // See: http://stackoverflow.com/questions/8898412\n var width = $(window).innerWidth();\n if (width !== oldWindowWidth) {\n that._resize();\n oldWindowWidth = width;\n }\n }));\n\n // Handle new rows being dynamically added - needed as responsive\n // updates all rows (shown or not) a responsive change, rather than\n // per draw.\n dt.on('row-created.dtr', function (e, tr, data, idx) {\n if ($.inArray(false, that.s.current) !== -1) {\n $('>td, >th', tr).each(function (i) {\n var idx = dt.column.index('toData', i);\n if (that.s.current[idx] === false) {\n $(this).css('display', 'none');\n }\n });\n }\n });\n\n // Destroy event handler\n dt.on('destroy.dtr', function () {\n dt.off('.dtr');\n $(dt.table().body()).off('.dtr');\n $(window).off('resize.dtr orientationchange.dtr');\n dt.cells('.dtr-control').nodes().to$().removeClass('dtr-control');\n $(dt.table().node()).removeClass('dtr-inline collapsed');\n\n // Restore the columns that we've hidden\n $.each(that.s.current, function (i, val) {\n if (val === false) {\n that._setColumnVis(i, true);\n }\n });\n });\n\n // Reorder the breakpoints array here in case they have been added out\n // of order\n this.c.breakpoints.sort(function (a, b) {\n return a.width < b.width ? 1 : a.width > b.width ? -1 : 0;\n });\n this._classLogic();\n this._resizeAuto();\n\n // Details handler\n var details = this.c.details;\n if (details.type !== false) {\n that._detailsInit();\n\n // DataTables will trigger this event on every column it shows and\n // hides individually\n dt.on('column-visibility.dtr', function () {\n // Use a small debounce to allow multiple columns to be set together\n if (that._timer) {\n clearTimeout(that._timer);\n }\n that._timer = setTimeout(function () {\n that._timer = null;\n that._classLogic();\n that._resizeAuto();\n that._resize(true);\n that._redrawChildren();\n }, 100);\n });\n\n // Redraw the details box on each draw which will happen if the data\n // has changed. This is used until DataTables implements a native\n // `updated` event for rows\n dt.on('draw.dtr', function () {\n that._redrawChildren();\n });\n $(dt.table().node()).addClass('dtr-' + details.type);\n }\n dt.on('column-reorder.dtr', function (e, settings, details) {\n that._classLogic();\n that._resizeAuto();\n that._resize(true);\n });\n\n // Change in column sizes means we need to calc\n dt.on('column-sizing.dtr', function () {\n that._resizeAuto();\n that._resize();\n });\n\n // DT2 let's us tell it if we are hiding columns\n dt.on('column-calc.dt', function (e, d) {\n var curr = that.s.current;\n for (var i = 0; i < curr.length; i++) {\n var idx = d.visible.indexOf(i);\n if (curr[i] === false && idx >= 0) {\n d.visible.splice(idx, 1);\n }\n }\n });\n\n // On Ajax reload we want to reopen any child rows which are displayed\n // by responsive\n dt.on('preXhr.dtr', function () {\n var rowIds = [];\n dt.rows().every(function () {\n if (this.child.isShown()) {\n rowIds.push(this.id(true));\n }\n });\n dt.one('draw.dtr', function () {\n that._resizeAuto();\n that._resize();\n dt.rows(rowIds).every(function () {\n that._detailsDisplay(this, false);\n });\n });\n });\n dt.on('draw.dtr', function () {\n that._controlClass();\n }).on('init.dtr', function (e, settings, details) {\n if (e.namespace !== 'dt') {\n return;\n }\n that._resizeAuto();\n that._resize();\n\n // If columns were hidden, then DataTables needs to adjust the\n // column sizing\n if ($.inArray(false, that.s.current)) {\n dt.columns.adjust();\n }\n });\n\n // First pass - draw the table for the current viewport size\n this._resize();\n },\n /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n * Private methods\n */\n\n /**\n * Get and store nodes from a cell - use for node moving renderers\n *\n * @param {*} dt DT instance\n * @param {*} row Row index\n * @param {*} col Column index\n */\n _childNodes: function (dt, row, col) {\n var name = row + '-' + col;\n if (this.s.childNodeStore[name]) {\n return this.s.childNodeStore[name];\n }\n\n // https://jsperf.com/childnodes-array-slice-vs-loop\n var nodes = [];\n var children = dt.cell(row, col).node().childNodes;\n for (var i = 0, ien = children.length; i < ien; i++) {\n nodes.push(children[i]);\n }\n this.s.childNodeStore[name] = nodes;\n return nodes;\n },\n /**\n * Restore nodes from the cache to a table cell\n *\n * @param {*} dt DT instance\n * @param {*} row Row index\n * @param {*} col Column index\n */\n _childNodesRestore: function (dt, row, col) {\n var name = row + '-' + col;\n if (!this.s.childNodeStore[name]) {\n return;\n }\n var node = dt.cell(row, col).node();\n var store = this.s.childNodeStore[name];\n if (store.length > 0) {\n var parent = store[0].parentNode;\n var parentChildren = parent.childNodes;\n var a = [];\n for (var i = 0, ien = parentChildren.length; i < ien; i++) {\n a.push(parentChildren[i]);\n }\n for (var j = 0, jen = a.length; j < jen; j++) {\n node.appendChild(a[j]);\n }\n }\n this.s.childNodeStore[name] = undefined;\n },\n /**\n * Calculate the visibility for the columns in a table for a given\n * breakpoint. The result is pre-determined based on the class logic if\n * class names are used to control all columns, but the width of the table\n * is also used if there are columns which are to be automatically shown\n * and hidden.\n *\n * @param {string} breakpoint Breakpoint name to use for the calculation\n * @return {array} Array of boolean values initiating the visibility of each\n * column.\n * @private\n */\n _columnsVisiblity: function (breakpoint) {\n var dt = this.s.dt;\n var columns = this.s.columns;\n var i, ien;\n\n // Create an array that defines the column ordering based first on the\n // column's priority, and secondly the column index. This allows the\n // columns to be removed from the right if the priority matches\n var order = columns.map(function (col, idx) {\n return {\n columnIdx: idx,\n priority: col.priority\n };\n }).sort(function (a, b) {\n if (a.priority !== b.priority) {\n return a.priority - b.priority;\n }\n return a.columnIdx - b.columnIdx;\n });\n\n // Class logic - determine which columns are in this breakpoint based\n // on the classes. If no class control (i.e. `auto`) then `-` is used\n // to indicate this to the rest of the function\n var display = $.map(columns, function (col, i) {\n if (dt.column(i).visible() === false) {\n return 'not-visible';\n }\n return col.auto && col.minWidth === null ? false : col.auto === true ? '-' : $.inArray(breakpoint, col.includeIn) !== -1;\n });\n\n // Auto column control - first pass: how much width is taken by the\n // ones that must be included from the non-auto columns\n var requiredWidth = 0;\n for (i = 0, ien = display.length; i < ien; i++) {\n if (display[i] === true) {\n requiredWidth += columns[i].minWidth;\n }\n }\n\n // Second pass, use up any remaining width for other columns. For\n // scrolling tables we need to subtract the width of the scrollbar. It\n // may not be requires which makes this sub-optimal, but it would\n // require another full redraw to make complete use of those extra few\n // pixels\n var scrolling = dt.settings()[0].oScroll;\n var bar = scrolling.sY || scrolling.sX ? scrolling.iBarWidth : 0;\n var widthAvailable = dt.table().container().offsetWidth - bar;\n var usedWidth = widthAvailable - requiredWidth;\n\n // Control column needs to always be included. This makes it sub-\n // optimal in terms of using the available with, but to stop layout\n // thrashing or overflow. Also we need to account for the control column\n // width first so we know how much width is available for the other\n // columns, since the control column might not be the first one shown\n for (i = 0, ien = display.length; i < ien; i++) {\n if (columns[i].control) {\n usedWidth -= columns[i].minWidth;\n }\n }\n\n // Allow columns to be shown (counting by priority and then right to\n // left) until we run out of room\n var empty = false;\n for (i = 0, ien = order.length; i < ien; i++) {\n var colIdx = order[i].columnIdx;\n if (display[colIdx] === '-' && !columns[colIdx].control && columns[colIdx].minWidth) {\n // Once we've found a column that won't fit we don't let any\n // others display either, or columns might disappear in the\n // middle of the table\n if (empty || usedWidth - columns[colIdx].minWidth < 0) {\n empty = true;\n display[colIdx] = false;\n } else {\n display[colIdx] = true;\n }\n usedWidth -= columns[colIdx].minWidth;\n }\n }\n\n // Determine if the 'control' column should be shown (if there is one).\n // This is the case when there is a hidden column (that is not the\n // control column). The two loops look inefficient here, but they are\n // trivial and will fly through. We need to know the outcome from the\n // first , before the action in the second can be taken\n var showControl = false;\n for (i = 0, ien = columns.length; i < ien; i++) {\n if (!columns[i].control && !columns[i].never && display[i] === false) {\n showControl = true;\n break;\n }\n }\n for (i = 0, ien = columns.length; i < ien; i++) {\n if (columns[i].control) {\n display[i] = showControl;\n }\n\n // Replace not visible string with false from the control column detection above\n if (display[i] === 'not-visible') {\n display[i] = false;\n }\n }\n\n // Finally we need to make sure that there is at least one column that\n // is visible\n if ($.inArray(true, display) === -1) {\n display[0] = true;\n }\n return display;\n },\n /**\n * Create the internal `columns` array with information about the columns\n * for the table. This includes determining which breakpoints the column\n * will appear in, based upon class names in the column, which makes up the\n * vast majority of this method.\n *\n * @private\n */\n _classLogic: function () {\n var that = this;\n var breakpoints = this.c.breakpoints;\n var dt = this.s.dt;\n var columns = dt.columns().eq(0).map(function (i) {\n var column = this.column(i);\n var className = column.header().className;\n var priority = column.init().responsivePriority;\n var dataPriority = column.header().getAttribute('data-priority');\n if (priority === undefined) {\n priority = dataPriority === undefined || dataPriority === null ? 10000 : dataPriority * 1;\n }\n return {\n className: className,\n includeIn: [],\n auto: false,\n control: false,\n never: className.match(/\\b(dtr\\-)?never\\b/) ? true : false,\n priority: priority\n };\n });\n\n // Simply add a breakpoint to `includeIn` array, ensuring that there are\n // no duplicates\n var add = function (colIdx, name) {\n var includeIn = columns[colIdx].includeIn;\n if ($.inArray(name, includeIn) === -1) {\n includeIn.push(name);\n }\n };\n var column = function (colIdx, name, operator, matched) {\n var size, i, ien;\n if (!operator) {\n columns[colIdx].includeIn.push(name);\n } else if (operator === 'max-') {\n // Add this breakpoint and all smaller\n size = that._find(name).width;\n for (i = 0, ien = breakpoints.length; i < ien; i++) {\n if (breakpoints[i].width <= size) {\n add(colIdx, breakpoints[i].name);\n }\n }\n } else if (operator === 'min-') {\n // Add this breakpoint and all larger\n size = that._find(name).width;\n for (i = 0, ien = breakpoints.length; i < ien; i++) {\n if (breakpoints[i].width >= size) {\n add(colIdx, breakpoints[i].name);\n }\n }\n } else if (operator === 'not-') {\n // Add all but this breakpoint\n for (i = 0, ien = breakpoints.length; i < ien; i++) {\n if (breakpoints[i].name.indexOf(matched) === -1) {\n add(colIdx, breakpoints[i].name);\n }\n }\n }\n };\n\n // Loop over each column and determine if it has a responsive control\n // class\n columns.each(function (col, i) {\n var classNames = col.className.split(' ');\n var hasClass = false;\n\n // Split the class name up so multiple rules can be applied if needed\n for (var k = 0, ken = classNames.length; k < ken; k++) {\n var className = classNames[k].trim();\n if (className === 'all' || className === 'dtr-all') {\n // Include in all\n hasClass = true;\n col.includeIn = $.map(breakpoints, function (a) {\n return a.name;\n });\n return;\n } else if (className === 'none' || className === 'dtr-none' || col.never) {\n // Include in none (default) and no auto\n hasClass = true;\n return;\n } else if (className === 'control' || className === 'dtr-control') {\n // Special column that is only visible, when one of the other\n // columns is hidden. This is used for the details control\n hasClass = true;\n col.control = true;\n return;\n }\n $.each(breakpoints, function (j, breakpoint) {\n // Does this column have a class that matches this breakpoint?\n var brokenPoint = breakpoint.name.split('-');\n var re = new RegExp('(min\\\\-|max\\\\-|not\\\\-)?(' + brokenPoint[0] + ')(\\\\-[_a-zA-Z0-9])?');\n var match = className.match(re);\n if (match) {\n hasClass = true;\n if (match[2] === brokenPoint[0] && match[3] === '-' + brokenPoint[1]) {\n // Class name matches breakpoint name fully\n column(i, breakpoint.name, match[1], match[2] + match[3]);\n } else if (match[2] === brokenPoint[0] && !match[3]) {\n // Class name matched primary breakpoint name with no qualifier\n column(i, breakpoint.name, match[1], match[2]);\n }\n }\n });\n }\n\n // If there was no control class, then automatic sizing is used\n if (!hasClass) {\n col.auto = true;\n }\n });\n this.s.columns = columns;\n },\n /**\n * Update the cells to show the correct control class / button\n * @private\n */\n _controlClass: function () {\n if (this.c.details.type === 'inline') {\n var dt = this.s.dt;\n var columnsVis = this.s.current;\n var firstVisible = $.inArray(true, columnsVis);\n\n // Remove from any cells which shouldn't have it\n dt.cells(null, function (idx) {\n return idx !== firstVisible;\n }, {\n page: 'current'\n }).nodes().to$().filter('.dtr-control').removeClass('dtr-control');\n dt.cells(null, firstVisible, {\n page: 'current'\n }).nodes().to$().addClass('dtr-control');\n }\n },\n /**\n * Show the details for the child row\n *\n * @param {DataTables.Api} row API instance for the row\n * @param {boolean} update Update flag\n * @private\n */\n _detailsDisplay: function (row, update) {\n var that = this;\n var dt = this.s.dt;\n var details = this.c.details;\n var event = function (res) {\n $(row.node()).toggleClass('dtr-expanded', res !== false);\n $(dt.table().node()).triggerHandler('responsive-display.dt', [dt, row, res, update]);\n };\n if (details && details.type !== false) {\n var renderer = typeof details.renderer === 'string' ? Responsive.renderer[details.renderer]() : details.renderer;\n var res = details.display(row, update, function () {\n return renderer.call(that, dt, row[0][0], that._detailsObj(row[0]));\n }, function () {\n event(false);\n });\n if (typeof res === 'boolean') {\n event(res);\n }\n }\n },\n /**\n * Initialisation for the details handler\n *\n * @private\n */\n _detailsInit: function () {\n var that = this;\n var dt = this.s.dt;\n var details = this.c.details;\n\n // The inline type always uses the first child as the target\n if (details.type === 'inline') {\n details.target = 'td.dtr-control, th.dtr-control';\n }\n\n // Keyboard accessibility\n dt.on('draw.dtr', function () {\n that._tabIndexes();\n });\n that._tabIndexes(); // Initial draw has already happened\n\n $(dt.table().body()).on('keyup.dtr', 'td, th', function (e) {\n if (e.keyCode === 13 && $(this).data('dtr-keyboard')) {\n $(this).click();\n }\n });\n\n // type.target can be a string jQuery selector or a column index\n var target = details.target;\n var selector = typeof target === 'string' ? target : 'td, th';\n if (target !== undefined || target !== null) {\n // Click handler to show / hide the details rows when they are available\n $(dt.table().body()).on('click.dtr mousedown.dtr mouseup.dtr', selector, function (e) {\n // If the table is not collapsed (i.e. there is no hidden columns)\n // then take no action\n if (!$(dt.table().node()).hasClass('collapsed')) {\n return;\n }\n\n // Check that the row is actually a DataTable's controlled node\n if ($.inArray($(this).closest('tr').get(0), dt.rows().nodes().toArray()) === -1) {\n return;\n }\n\n // For column index, we determine if we should act or not in the\n // handler - otherwise it is already okay\n if (typeof target === 'number') {\n var targetIdx = target < 0 ? dt.columns().eq(0).length + target : target;\n if (dt.cell(this).index().column !== targetIdx) {\n return;\n }\n }\n\n // $().closest() includes itself in its check\n var row = dt.row($(this).closest('tr'));\n\n // Check event type to do an action\n if (e.type === 'click') {\n // The renderer is given as a function so the caller can execute it\n // only when they need (i.e. if hiding there is no point is running\n // the renderer)\n that._detailsDisplay(row, false);\n } else if (e.type === 'mousedown') {\n // For mouse users, prevent the focus ring from showing\n $(this).css('outline', 'none');\n } else if (e.type === 'mouseup') {\n // And then re-allow at the end of the click\n $(this).trigger('blur').css('outline', '');\n }\n });\n }\n },\n /**\n * Get the details to pass to a renderer for a row\n * @param {int} rowIdx Row index\n * @private\n */\n _detailsObj: function (rowIdx) {\n var that = this;\n var dt = this.s.dt;\n return $.map(this.s.columns, function (col, i) {\n // Never and control columns should not be passed to the renderer\n if (col.never || col.control) {\n return;\n }\n var dtCol = dt.settings()[0].aoColumns[i];\n return {\n className: dtCol.sClass,\n columnIndex: i,\n data: dt.cell(rowIdx, i).render(that.c.orthogonal),\n hidden: dt.column(i).visible() && !that.s.current[i],\n rowIndex: rowIdx,\n title: dt.column(i).title()\n };\n });\n },\n /**\n * Find a breakpoint object from a name\n *\n * @param {string} name Breakpoint name to find\n * @return {object} Breakpoint description object\n * @private\n */\n _find: function (name) {\n var breakpoints = this.c.breakpoints;\n for (var i = 0, ien = breakpoints.length; i < ien; i++) {\n if (breakpoints[i].name === name) {\n return breakpoints[i];\n }\n }\n },\n /**\n * Re-create the contents of the child rows as the display has changed in\n * some way.\n *\n * @private\n */\n _redrawChildren: function () {\n var that = this;\n var dt = this.s.dt;\n dt.rows({\n page: 'current'\n }).iterator('row', function (settings, idx) {\n that._detailsDisplay(dt.row(idx), true);\n });\n },\n /**\n * Alter the table display for a resized viewport. This involves first\n * determining what breakpoint the window currently is in, getting the\n * column visibilities to apply and then setting them.\n *\n * @param {boolean} forceRedraw Force a redraw\n * @private\n */\n _resize: function (forceRedraw) {\n var that = this;\n var dt = this.s.dt;\n var width = $(window).innerWidth();\n var breakpoints = this.c.breakpoints;\n var breakpoint = breakpoints[0].name;\n var columns = this.s.columns;\n var i, ien;\n var oldVis = this.s.current.slice();\n\n // Determine what breakpoint we are currently at\n for (i = breakpoints.length - 1; i >= 0; i--) {\n if (width <= breakpoints[i].width) {\n breakpoint = breakpoints[i].name;\n break;\n }\n }\n\n // Show the columns for that break point\n var columnsVis = this._columnsVisiblity(breakpoint);\n this.s.current = columnsVis;\n\n // Set the class before the column visibility is changed so event\n // listeners know what the state is. Need to determine if there are\n // any columns that are not visible but can be shown\n var collapsedClass = false;\n for (i = 0, ien = columns.length; i < ien; i++) {\n if (columnsVis[i] === false && !columns[i].never && !columns[i].control && !dt.column(i).visible() === false) {\n collapsedClass = true;\n break;\n }\n }\n $(dt.table().node()).toggleClass('collapsed', collapsedClass);\n var changed = false;\n var visible = 0;\n var dtSettings = dt.settings()[0];\n dt.columns().eq(0).each(function (colIdx, i) {\n // Do nothing on DataTables' hidden column - DT removes it from the table\n // so we need to slide back\n if (!dt.column(colIdx).visible()) {\n return;\n }\n if (columnsVis[i] === true) {\n visible++;\n }\n if (forceRedraw || columnsVis[i] !== oldVis[i]) {\n changed = true;\n that._setColumnVis(colIdx, columnsVis[i]);\n }\n\n // DataTables 2 uses `col` to define the width for a column\n // and this needs to run each time, as DataTables will change\n // the column width\n if (!columnsVis[i]) {\n $(dtSettings.aoColumns[colIdx].colEl).detach();\n }\n });\n if (changed) {\n this._redrawChildren();\n\n // Inform listeners of the change\n $(dt.table().node()).trigger('responsive-resize.dt', [dt, this._responsiveOnlyHidden()]);\n\n // If no records, update the \"No records\" display element\n if (dt.page.info().recordsDisplay === 0) {\n $('td', dt.table().body()).eq(0).attr('colspan', visible);\n }\n }\n that._controlClass();\n },\n /**\n * Determine the width of each column in the table so the auto column hiding\n * has that information to work with. This method is never going to be 100%\n * perfect since column widths can change slightly per page, but without\n * seriously compromising performance this is quite effective.\n *\n * @private\n */\n _resizeAuto: function () {\n var dt = this.s.dt;\n var columns = this.s.columns;\n var that = this;\n var visibleColumns = dt.columns().indexes().filter(function (idx) {\n return dt.column(idx).visible();\n });\n\n // Are we allowed to do auto sizing?\n if (!this.c.auto) {\n return;\n }\n\n // Are there any columns that actually need auto-sizing, or do they all\n // have classes defined\n if ($.inArray(true, $.map(columns, function (c) {\n return c.auto;\n })) === -1) {\n return;\n }\n\n // Clone the table with the current data in it\n var clonedTable = dt.table().node().cloneNode(false);\n var clonedHeader = $(dt.table().header().cloneNode(false)).appendTo(clonedTable);\n var clonedFooter = $(dt.table().footer().cloneNode(false)).appendTo(clonedTable);\n var clonedBody = $(dt.table().body()).clone(false, false).empty().appendTo(clonedTable); // use jQuery because of IE8\n\n clonedTable.style.width = 'auto';\n\n // Header\n dt.table().header.structure(visibleColumns).forEach(row => {\n var cells = row.filter(function (el) {\n return el ? true : false;\n }).map(function (el) {\n return $(el.cell).clone(false).css('display', 'table-cell').css('width', 'auto').css('min-width', 0);\n });\n $('<tr/>').append(cells).appendTo(clonedHeader);\n });\n\n // Always need an empty row that we can read widths from\n var emptyRow = $('<tr/>').appendTo(clonedBody);\n for (var i = 0; i < visibleColumns.count(); i++) {\n emptyRow.append('<td/>');\n }\n\n // Body rows - we don't need to take account of DataTables' column\n // visibility since we implement our own here (hence the `display` set)\n dt.rows({\n page: 'current'\n }).every(function (rowIdx) {\n var node = this.node();\n if (!node) {\n return;\n }\n\n // We clone the table's rows and cells to create the sizing table\n var tr = node.cloneNode(false);\n dt.cells(rowIdx, '*').every(function (rowIdx2, colIdx) {\n // If nodes have been moved out (listHiddenNodes), we need to\n // clone from the store\n var store = that.s.childNodeStore[rowIdx + '-' + colIdx];\n if (store) {\n $(this.node().cloneNode(false)).append($(store).clone()).appendTo(tr);\n } else {\n $(this.node()).clone(false).appendTo(tr);\n }\n });\n clonedBody.append(tr);\n });\n clonedBody.find('th, td').css('display', '');\n\n // Footer\n dt.table().footer.structure(visibleColumns).forEach(row => {\n var cells = row.filter(function (el) {\n return el ? true : false;\n }).map(function (el) {\n return $(el.cell).clone(false).css('display', 'table-cell').css('width', 'auto').css('min-width', 0);\n });\n $('<tr/>').append(cells).appendTo(clonedFooter);\n });\n\n // In the inline case extra padding is applied to the first column to\n // give space for the show / hide icon. We need to use this in the\n // calculation\n if (this.c.details.type === 'inline') {\n $(clonedTable).addClass('dtr-inline collapsed');\n }\n\n // It is unsafe to insert elements with the same name into the DOM\n // multiple times. For example, cloning and inserting a checked radio\n // clears the chcecked state of the original radio.\n $(clonedTable).find('[name]').removeAttr('name');\n\n // A position absolute table would take the table out of the flow of\n // our container element, bypassing the height and width (Scroller)\n $(clonedTable).css('position', 'relative');\n var inserted = $('<div/>').css({\n width: 1,\n height: 1,\n overflow: 'hidden',\n clear: 'both'\n }).append(clonedTable);\n inserted.insertBefore(dt.table().node());\n\n // The cloned table now contains the smallest that each column can be\n emptyRow.children().each(function (i) {\n var idx = dt.column.index('fromVisible', i);\n columns[idx].minWidth = this.offsetWidth || 0;\n });\n inserted.remove();\n },\n /**\n * Get the state of the current hidden columns - controlled by Responsive only\n */\n _responsiveOnlyHidden: function () {\n var dt = this.s.dt;\n return $.map(this.s.current, function (v, i) {\n // If the column is hidden by DataTables then it can't be hidden by\n // Responsive!\n if (dt.column(i).visible() === false) {\n return true;\n }\n return v;\n });\n },\n /**\n * Set a column's visibility.\n *\n * We don't use DataTables' column visibility controls in order to ensure\n * that column visibility can Responsive can no-exist. Since only IE8+ is\n * supported (and all evergreen browsers of course) the control of the\n * display attribute works well.\n *\n * @param {integer} col Column index\n * @param {boolean} showHide Show or hide (true or false)\n * @private\n */\n _setColumnVis: function (col, showHide) {\n var that = this;\n var dt = this.s.dt;\n var display = showHide ? '' : 'none'; // empty string will remove the attr\n\n this._setHeaderVis(col, showHide, dt.table().header.structure());\n this._setHeaderVis(col, showHide, dt.table().footer.structure());\n dt.column(col).nodes().to$().css('display', display).toggleClass('dtr-hidden', !showHide);\n\n // If the are child nodes stored, we might need to reinsert them\n if (!$.isEmptyObject(this.s.childNodeStore)) {\n dt.cells(null, col).indexes().each(function (idx) {\n that._childNodesRestore(dt, idx.row, idx.column);\n });\n }\n },\n /**\n * Set the a column's visibility, taking into account multiple rows\n * in a header / footer and colspan attributes\n * @param {*} col\n * @param {*} showHide\n * @param {*} structure\n */\n _setHeaderVis: function (col, showHide, structure) {\n var that = this;\n var display = showHide ? '' : 'none';\n structure.forEach(function (row) {\n if (row[col]) {\n $(row[col].cell).css('display', display).toggleClass('dtr-hidden', !showHide);\n } else {\n // In a colspan - need to rewind calc the new span since\n // display:none elements do not count as being spanned over\n var search = col;\n while (search >= 0) {\n if (row[search]) {\n row[search].cell.colSpan = that._colspan(row, search);\n break;\n }\n search--;\n }\n }\n });\n },\n /**\n * How many columns should this cell span\n *\n * @param {*} row Header structure row\n * @param {*} idx The column index of the cell to span\n */\n _colspan: function (row, idx) {\n var colspan = 1;\n for (var col = idx + 1; col < row.length; col++) {\n if (row[col] === null && this.s.current[col]) {\n // colspan and not hidden by Responsive\n colspan++;\n } else if (row[col]) {\n // Got the next cell, jump out\n break;\n }\n }\n return colspan;\n },\n /**\n * Update the cell tab indexes for keyboard accessibility. This is called on\n * every table draw - that is potentially inefficient, but also the least\n * complex option given that column visibility can change on the fly. Its a\n * shame user-focus was removed from CSS 3 UI, as it would have solved this\n * issue with a single CSS statement.\n *\n * @private\n */\n _tabIndexes: function () {\n var dt = this.s.dt;\n var cells = dt.cells({\n page: 'current'\n }).nodes().to$();\n var ctx = dt.settings()[0];\n var target = this.c.details.target;\n cells.filter('[data-dtr-keyboard]').removeData('[data-dtr-keyboard]');\n if (typeof target === 'number') {\n dt.cells(null, target, {\n page: 'current'\n }).nodes().to$().attr('tabIndex', ctx.iTabIndex).data('dtr-keyboard', 1);\n } else {\n // This is a bit of a hack - we need to limit the selected nodes to just\n // those of this table\n if (target === 'td:first-child, th:first-child') {\n target = '>td:first-child, >th:first-child';\n }\n $(target, dt.rows({\n page: 'current'\n }).nodes()).attr('tabIndex', ctx.iTabIndex).data('dtr-keyboard', 1);\n }\n }\n});\n\n/**\n * List of default breakpoints. Each item in the array is an object with two\n * properties:\n *\n * * `name` - the breakpoint name.\n * * `width` - the breakpoint width\n *\n * @name Responsive.breakpoints\n * @static\n */\nResponsive.breakpoints = [{\n name: 'desktop',\n width: Infinity\n}, {\n name: 'tablet-l',\n width: 1024\n}, {\n name: 'tablet-p',\n width: 768\n}, {\n name: 'mobile-l',\n width: 480\n}, {\n name: 'mobile-p',\n width: 320\n}];\n\n/**\n * Display methods - functions which define how the hidden data should be shown\n * in the table.\n *\n * @namespace\n * @name Responsive.defaults\n * @static\n */\nResponsive.display = {\n childRow: function (row, update, render) {\n var rowNode = $(row.node());\n if (update) {\n if (rowNode.hasClass('dtr-expanded')) {\n row.child(render(), 'child').show();\n return true;\n }\n } else {\n if (!rowNode.hasClass('dtr-expanded')) {\n var rendered = render();\n if (rendered === false) {\n return false;\n }\n row.child(rendered, 'child').show();\n return true;\n } else {\n row.child(false);\n return false;\n }\n }\n },\n childRowImmediate: function (row, update, render) {\n var rowNode = $(row.node());\n if (!update && rowNode.hasClass('dtr-expanded') || !row.responsive.hasHidden()) {\n // User interaction and the row is show, or nothing to show\n row.child(false);\n return false;\n } else {\n // Display\n var rendered = render();\n if (rendered === false) {\n return false;\n }\n row.child(rendered, 'child').show();\n return true;\n }\n },\n // This is a wrapper so the modal options for Bootstrap and jQuery UI can\n // have options passed into them. This specific one doesn't need to be a\n // function but it is for consistency in the `modal` name\n modal: function (options) {\n return function (row, update, render, closeCallback) {\n var modal;\n var rendered = render();\n if (rendered === false) {\n return false;\n }\n if (!update) {\n // Show a modal\n var close = function () {\n modal.remove(); // will tidy events for us\n $(document).off('keypress.dtr');\n $(row.node()).removeClass('dtr-expanded');\n closeCallback();\n };\n modal = $('<div class=\"dtr-modal\"/>').append($('<div class=\"dtr-modal-display\"/>').append($('<div class=\"dtr-modal-content\"/>').data('dtr-row-idx', row.index()).append(rendered)).append($('<div class=\"dtr-modal-close\">×</div>').click(function () {\n close();\n }))).append($('<div class=\"dtr-modal-background\"/>').click(function () {\n close();\n })).appendTo('body');\n $(row.node()).addClass('dtr-expanded');\n $(document).on('keyup.dtr', function (e) {\n if (e.keyCode === 27) {\n e.stopPropagation();\n close();\n }\n });\n } else {\n modal = $('div.dtr-modal-content');\n if (modal.length && row.index() === modal.data('dtr-row-idx')) {\n modal.empty().append(rendered);\n } else {\n // Modal not shown, nothing to update\n return null;\n }\n }\n if (options && options.header) {\n $('div.dtr-modal-content').prepend('<h2>' + options.header(row) + '</h2>');\n }\n return true;\n };\n }\n};\n\n/**\n * Display methods - functions which define how the hidden data should be shown\n * in the table.\n *\n * @namespace\n * @name Responsive.defaults\n * @static\n */\nResponsive.renderer = {\n listHiddenNodes: function () {\n return function (api, rowIdx, columns) {\n var that = this;\n var ul = $('<ul data-dtr-index=\"' + rowIdx + '\" class=\"dtr-details\"/>');\n var found = false;\n $.each(columns, function (i, col) {\n if (col.hidden) {\n var klass = col.className ? 'class=\"' + col.className + '\"' : '';\n $('<li ' + klass + ' data-dtr-index=\"' + col.columnIndex + '\" data-dt-row=\"' + col.rowIndex + '\" data-dt-column=\"' + col.columnIndex + '\">' + '<span class=\"dtr-title\">' + col.title + '</span> ' + '</li>').append($('<span class=\"dtr-data\"/>').append(that._childNodes(api, col.rowIndex, col.columnIndex))) // api.cell( col.rowIndex, col.columnIndex ).node().childNodes ) )\n .appendTo(ul);\n found = true;\n }\n });\n return found ? ul : false;\n };\n },\n listHidden: function () {\n return function (api, rowIdx, columns) {\n var data = $.map(columns, function (col) {\n var klass = col.className ? 'class=\"' + col.className + '\"' : '';\n return col.hidden ? '<li ' + klass + ' data-dtr-index=\"' + col.columnIndex + '\" data-dt-row=\"' + col.rowIndex + '\" data-dt-column=\"' + col.columnIndex + '\">' + '<span class=\"dtr-title\">' + col.title + '</span> ' + '<span class=\"dtr-data\">' + col.data + '</span>' + '</li>' : '';\n }).join('');\n return data ? $('<ul data-dtr-index=\"' + rowIdx + '\" class=\"dtr-details\"/>').append(data) : false;\n };\n },\n tableAll: function (options) {\n options = $.extend({\n tableClass: ''\n }, options);\n return function (api, rowIdx, columns) {\n var data = $.map(columns, function (col) {\n var klass = col.className ? 'class=\"' + col.className + '\"' : '';\n return '<tr ' + klass + ' data-dt-row=\"' + col.rowIndex + '\" data-dt-column=\"' + col.columnIndex + '\">' + '<td>' + col.title + ':' + '</td> ' + '<td>' + col.data + '</td>' + '</tr>';\n }).join('');\n return $('<table class=\"' + options.tableClass + ' dtr-details\" width=\"100%\"/>').append(data);\n };\n }\n};\n\n/**\n * Responsive default settings for initialisation\n *\n * @namespace\n * @name Responsive.defaults\n * @static\n */\nResponsive.defaults = {\n /**\n * List of breakpoints for the instance. Note that this means that each\n * instance can have its own breakpoints. Additionally, the breakpoints\n * cannot be changed once an instance has been creased.\n *\n * @type {Array}\n * @default Takes the value of `Responsive.breakpoints`\n */\n breakpoints: Responsive.breakpoints,\n /**\n * Enable / disable auto hiding calculations. It can help to increase\n * performance slightly if you disable this option, but all columns would\n * need to have breakpoint classes assigned to them\n *\n * @type {Boolean}\n * @default `true`\n */\n auto: true,\n /**\n * Details control. If given as a string value, the `type` property of the\n * default object is set to that value, and the defaults used for the rest\n * of the object - this is for ease of implementation.\n *\n * The object consists of the following properties:\n *\n * * `display` - A function that is used to show and hide the hidden details\n * * `renderer` - function that is called for display of the child row data.\n * The default function will show the data from the hidden columns\n * * `target` - Used as the selector for what objects to attach the child\n * open / close to\n * * `type` - `false` to disable the details display, `inline` or `column`\n * for the two control types\n *\n * @type {Object|string}\n */\n details: {\n display: Responsive.display.childRow,\n renderer: Responsive.renderer.listHidden(),\n target: 0,\n type: 'inline'\n },\n /**\n * Orthogonal data request option. This is used to define the data type\n * requested when Responsive gets the data to show in the child row.\n *\n * @type {String}\n */\n orthogonal: 'display'\n};\n\n/*\n * API\n */\nvar Api = $.fn.dataTable.Api;\n\n// Doesn't do anything - work around for a bug in DT... Not documented\nApi.register('responsive()', function () {\n return this;\n});\nApi.register('responsive.index()', function (li) {\n li = $(li);\n return {\n column: li.data('dtr-index'),\n row: li.parent().data('dtr-index')\n };\n});\nApi.register('responsive.rebuild()', function () {\n return this.iterator('table', function (ctx) {\n if (ctx._responsive) {\n ctx._responsive._classLogic();\n }\n });\n});\nApi.register('responsive.recalc()', function () {\n return this.iterator('table', function (ctx) {\n if (ctx._responsive) {\n ctx._responsive._resizeAuto();\n ctx._responsive._resize();\n }\n });\n});\nApi.register('responsive.hasHidden()', function () {\n var ctx = this.context[0];\n return ctx._responsive ? $.inArray(false, ctx._responsive._responsiveOnlyHidden()) !== -1 : false;\n});\nApi.registerPlural('columns().responsiveHidden()', 'column().responsiveHidden()', function () {\n return this.iterator('column', function (settings, column) {\n return settings._responsive ? settings._responsive._responsiveOnlyHidden()[column] : false;\n }, 1);\n});\n\n/**\n * Version information\n *\n * @name Responsive.version\n * @static\n */\nResponsive.version = '3.0.1';\n$.fn.dataTable.Responsive = Responsive;\n$.fn.DataTable.Responsive = Responsive;\n\n// Attach a listener to the document which listens for DataTables initialisation\n// events so we can automatically initialise\n$(document).on('preInit.dt.dtr', function (e, settings, json) {\n if (e.namespace !== 'dt') {\n return;\n }\n if ($(settings.nTable).hasClass('responsive') || $(settings.nTable).hasClass('dt-responsive') || settings.oInit.responsive || DataTable.defaults.responsive) {\n var init = settings.oInit.responsive;\n if (init !== false) {\n new Responsive(settings, $.isPlainObject(init) ? init : {});\n }\n }\n});\nexport default DataTable;","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"export const timeoutProvider = {\n setTimeout(...args) {\n const {\n delegate\n } = timeoutProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.setTimeout) || setTimeout)(...args);\n },\n clearTimeout(handle) {\n const {\n delegate\n } = timeoutProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearTimeout) || clearTimeout)(handle);\n },\n delegate: undefined\n};\n//# sourceMappingURL=timeoutProvider.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"/**\n * @license Angular v20.1.0\n * (c) 2010-2025 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { HttpHeaders, HttpParams, HttpRequest, HttpEventType, HttpErrorResponse, HttpClient, HTTP_ROOT_INTERCEPTOR_FNS, HttpResponse } from './module.mjs';\nexport { FetchBackend, HTTP_INTERCEPTORS, HttpBackend, HttpClientJsonpModule, HttpClientModule, HttpClientXsrfModule, HttpContext, HttpContextToken, HttpFeatureKind, HttpHandler, HttpHeaderResponse, HttpResponseBase, HttpStatusCode, HttpUrlEncodingCodec, HttpXhrBackend, HttpXsrfTokenExtractor, JsonpClientBackend, JsonpInterceptor, provideHttpClient, withFetch, withInterceptors, withInterceptorsFromDi, withJsonpSupport, withNoXsrfProtection, withRequestsMadeViaParent, withXsrfConfiguration, HttpInterceptorHandler as ɵHttpInterceptingHandler, HttpInterceptorHandler as ɵHttpInterceptorHandler, REQUESTS_CONTRIBUTE_TO_STABILITY as ɵREQUESTS_CONTRIBUTE_TO_STABILITY } from './module.mjs';\nimport { assertInInjectionContext, inject, Injector, ɵResourceImpl as _ResourceImpl, linkedSignal, computed, signal, ɵencapsulateResourceError as _encapsulateResourceError, ɵRuntimeError as _RuntimeError, InjectionToken, ɵperformanceMarkFeature as _performanceMarkFeature, APP_BOOTSTRAP_LISTENER, ApplicationRef, TransferState, makeStateKey, ɵtruncateMiddle as _truncateMiddle, ɵformatRuntimeError as _formatRuntimeError } from '@angular/core';\nimport { of } from 'rxjs';\nimport { tap } from 'rxjs/operators';\nimport './xhr.mjs';\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 */\nconst httpResource = /*#__PURE__*/(() => {\n const jsonFn = makeHttpResourceFn('json');\n jsonFn.arrayBuffer = makeHttpResourceFn('arraybuffer');\n jsonFn.blob = makeHttpResourceFn('blob');\n jsonFn.text = makeHttpResourceFn('text');\n return jsonFn;\n})();\nfunction makeHttpResourceFn(responseType) {\n return function httpResource(request, options) {\n if (ngDevMode && !options?.injector) {\n assertInInjectionContext(httpResource);\n }\n const injector = options?.injector ?? inject(Injector);\n return new HttpResourceImpl(injector, () => normalizeRequest(request, responseType), options?.defaultValue, options?.parse, options?.equal);\n };\n}\nfunction normalizeRequest(request, responseType) {\n let unwrappedRequest = typeof request === 'function' ? request() : request;\n if (unwrappedRequest === undefined) {\n return undefined;\n } else if (typeof unwrappedRequest === 'string') {\n unwrappedRequest = {\n url: unwrappedRequest\n };\n }\n const headers = unwrappedRequest.headers instanceof HttpHeaders ? unwrappedRequest.headers : new HttpHeaders(unwrappedRequest.headers);\n const params = unwrappedRequest.params instanceof HttpParams ? unwrappedRequest.params : new HttpParams({\n fromObject: unwrappedRequest.params\n });\n return new HttpRequest(unwrappedRequest.method ?? 'GET', unwrappedRequest.url, unwrappedRequest.body ?? null, {\n headers,\n params,\n reportProgress: unwrappedRequest.reportProgress,\n withCredentials: unwrappedRequest.withCredentials,\n keepalive: unwrappedRequest.keepalive,\n cache: unwrappedRequest.cache,\n priority: unwrappedRequest.priority,\n mode: unwrappedRequest.mode,\n redirect: unwrappedRequest.redirect,\n responseType,\n context: unwrappedRequest.context,\n transferCache: unwrappedRequest.transferCache,\n credentials: unwrappedRequest.credentials,\n timeout: unwrappedRequest.timeout\n });\n}\nclass HttpResourceImpl extends _ResourceImpl {\n client;\n _headers = /*#__PURE__*/linkedSignal({\n source: this.extRequest,\n computation: () => undefined\n });\n _progress = /*#__PURE__*/linkedSignal({\n source: this.extRequest,\n computation: () => undefined\n });\n _statusCode = /*#__PURE__*/linkedSignal({\n source: this.extRequest,\n computation: () => undefined\n });\n headers = /*#__PURE__*/computed(() => this.status() === 'resolved' || this.status() === 'error' ? this._headers() : undefined, ...(ngDevMode ? [{\n debugName: \"headers\"\n }] : []));\n progress = /*#__PURE__*/this._progress.asReadonly();\n statusCode = /*#__PURE__*/this._statusCode.asReadonly();\n constructor(injector, request, defaultValue, parse, equal) {\n super(request, ({\n params: request,\n abortSignal\n }) => {\n let sub;\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 // Start off stream as undefined.\n const stream = signal({\n value: undefined\n }, ...(ngDevMode ? [{\n debugName: \"stream\"\n }] : []));\n let resolve;\n const promise = new Promise(r => resolve = r);\n const send = value => {\n stream.set(value);\n resolve?.(stream);\n resolve = undefined;\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({\n value: parse ? parse(event.body) : event.body\n });\n } catch (error) {\n send({\n error: _encapsulateResourceError(error)\n });\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 send({\n error\n });\n abortSignal.removeEventListener('abort', onAbort);\n },\n complete: () => {\n if (resolve) {\n send({\n error: new _RuntimeError(991 /* ɵRuntimeErrorCode.RESOURCE_COMPLETED_BEFORE_PRODUCING_VALUE */, ngDevMode && 'Resource completed before producing a value')\n });\n }\n abortSignal.removeEventListener('abort', onAbort);\n }\n });\n return promise;\n }, defaultValue, equal, injector);\n this.client = injector.get(HttpClient);\n }\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 */\nconst HTTP_TRANSFER_CACHE_ORIGIN_MAP = /*#__PURE__*/new InjectionToken(ngDevMode ? 'HTTP_TRANSFER_CACHE_ORIGIN_MAP' : '');\n/**\n * Keys within cached response data structure.\n */\nconst BODY = 'b';\nconst HEADERS = 'h';\nconst STATUS = 's';\nconst STATUS_TEXT = 'st';\nconst REQ_URL = 'u';\nconst RESPONSE_TYPE = 'rt';\nconst CACHE_OPTIONS = /*#__PURE__*/new InjectionToken(ngDevMode ? 'HTTP_TRANSFER_STATE_CACHE_OPTIONS' : '');\n/**\n * A list of allowed HTTP methods to cache.\n */\nconst ALLOWED_METHODS = ['GET', 'HEAD'];\nfunction transferCacheInterceptorFn(req, next) {\n const {\n isCacheActive,\n ...globalOptions\n } = inject(CACHE_OPTIONS);\n const {\n transferCache: requestOptions,\n method: requestMethod\n } = req;\n // In the following situations we do not want to cache the request\n if (!isCacheActive || requestOptions === false ||\n // POST requests are allowed either globally or at request level\n requestMethod === 'POST' && !globalOptions.includePostRequests && !requestOptions || requestMethod !== 'POST' && !ALLOWED_METHODS.includes(requestMethod) ||\n // Do not cache request that require authorization when includeRequestsWithAuthHeaders is falsey\n !globalOptions.includeRequestsWithAuthHeaders && hasAuthHeaders(req) || globalOptions.filter?.(req) === false) {\n return next(req);\n }\n const transferState = inject(TransferState);\n const originMap = inject(HTTP_TRANSFER_CACHE_ORIGIN_MAP, {\n optional: true\n });\n if (typeof ngServerMode !== 'undefined' && !ngServerMode && originMap) {\n throw new _RuntimeError(2803 /* RuntimeErrorCode.HTTP_ORIGIN_MAP_USED_IN_CLIENT */, ngDevMode && 'Angular detected that the `HTTP_TRANSFER_CACHE_ORIGIN_MAP` token is configured and ' + 'present in the client side code. Please ensure that this token is only provided in the ' + 'server code of the application.');\n }\n const requestUrl = typeof ngServerMode !== 'undefined' && ngServerMode && originMap ? mapRequestOriginUrl(req.url, originMap) : req.url;\n const storeKey = makeCacheKey(req, requestUrl);\n const response = transferState.get(storeKey, null);\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 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 = undecodedBody;\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 // 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 return of(new HttpResponse({\n body,\n headers,\n status,\n statusText,\n url\n }));\n }\n const event$ = next(req);\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(tap(event => {\n // Only cache successful HTTP responses.\n if (event instanceof HttpResponse) {\n transferState.set(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 return event$;\n}\n/** @returns true when the requests contains autorization related headers. */\nfunction hasAuthHeaders(req) {\n return req.headers.has('authorization') || req.headers.has('proxy-authorization');\n}\nfunction getFilteredHeaders(headers, includeHeaders) {\n if (!includeHeaders) {\n return {};\n }\n const headersMap = {};\n for (const key of includeHeaders) {\n const values = headers.getAll(key);\n if (values !== null) {\n headersMap[key] = values;\n }\n }\n return headersMap;\n}\nfunction sortAndConcatParams(params) {\n return [...params.keys()].sort().map(k => `${k}=${params.getAll(k)}`).join('&');\n}\nfunction makeCacheKey(request, mappedRequestUrl) {\n // make the params encoded same as a url so it's easy to identify\n const {\n params,\n method,\n responseType\n } = request;\n const encodedParams = sortAndConcatParams(params);\n let serializedBody = request.serializeBody();\n if (serializedBody instanceof URLSearchParams) {\n serializedBody = sortAndConcatParams(serializedBody);\n } else if (typeof serializedBody !== 'string') {\n serializedBody = '';\n }\n const key = [method, responseType, mappedRequestUrl, serializedBody, encodedParams].join('|');\n const hash = generateHash(key);\n return makeStateKey(hash);\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) {\n let hash = 0;\n for (const char of value) {\n hash = Math.imul(31, hash) + char.charCodeAt(0) << 0;\n }\n // Force positive number hash.\n // 2147483647 = equivalent of Integer.MAX_VALUE.\n hash += 2147483647 + 1;\n return hash.toString();\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 */\nfunction withHttpTransferCache(cacheOptions) {\n return [{\n provide: CACHE_OPTIONS,\n useFactory: () => {\n _performanceMarkFeature('NgHttpTransferCache');\n return {\n isCacheActive: true,\n ...cacheOptions\n };\n }\n }, {\n provide: HTTP_ROOT_INTERCEPTOR_FNS,\n useValue: transferCacheInterceptorFn,\n multi: true\n }, {\n provide: APP_BOOTSTRAP_LISTENER,\n multi: true,\n useFactory: () => {\n const appRef = inject(ApplicationRef);\n const cacheState = inject(CACHE_OPTIONS);\n return () => {\n appRef.whenStable().then(() => {\n cacheState.isCacheActive = false;\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(url, headers, headersToInclude) {\n const warningProduced = new Set();\n return new Proxy(headers, {\n get(target, prop) {\n const value = Reflect.get(target, prop);\n const methods = new Set(['get', 'has', 'getAll']);\n if (typeof value !== 'function' || !methods.has(prop)) {\n return value;\n }\n return headerName => {\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 // TODO: create Error guide for this warning\n console.warn(_formatRuntimeError(2802 /* RuntimeErrorCode.HEADERS_ALTERED_BY_TRANSFER_CACHE */, `Angular detected that the \\`${headerName}\\` header is accessed, but the value of the header ` + `was not transferred from the server to the client by the HttpTransferCache. ` + `To include the value of the \\`${headerName}\\` header for the \\`${truncatedUrl}\\` request, ` + `use the \\`includeHeaders\\` list. The \\`includeHeaders\\` can be defined either ` + `on a request level by adding the \\`transferCache\\` parameter, or on an application ` + `level by adding the \\`httpCacheTransfer.includeHeaders\\` argument to the ` + `\\`provideClientHydration()\\` call. `));\n }\n // invoking the original method\n return value.apply(target, [headerName]);\n };\n }\n });\n}\nfunction mapRequestOriginUrl(url, originMap) {\n const origin = new URL(url, 'resolve://').origin;\n const mappedOrigin = originMap[origin];\n if (!mappedOrigin) {\n return url;\n }\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n verifyMappedOrigin(mappedOrigin);\n }\n return url.replace(origin, mappedOrigin);\n}\nfunction verifyMappedOrigin(url) {\n if (new URL(url, 'resolve://').pathname !== '/') {\n throw new _RuntimeError(2804 /* RuntimeErrorCode.HTTP_ORIGIN_MAP_CONTAINS_PATH */, 'Angular detected a URL with a path segment in the value provided for the ' + `\\`HTTP_TRANSFER_CACHE_ORIGIN_MAP\\` token: ${url}. The map should only contain origins ` + 'without any other segments.');\n }\n}\nexport { HTTP_TRANSFER_CACHE_ORIGIN_MAP, HttpClient, HttpErrorResponse, HttpEventType, HttpHeaders, HttpParams, HttpRequest, HttpResponse, httpResource, HTTP_ROOT_INTERCEPTOR_FNS as ɵHTTP_ROOT_INTERCEPTOR_FNS, withHttpTransferCache as ɵwithHttpTransferCache };\n//# sourceMappingURL=http.mjs.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { operate } from '../util/lift';\nimport { OperatorSubscriber } from './OperatorSubscriber';\nexport function sequenceEqual(compareTo, comparator = (a, b) => a === b) {\n return operate((source, subscriber) => {\n const aState = createState();\n const bState = createState();\n const emit = isEqual => {\n subscriber.next(isEqual);\n subscriber.complete();\n };\n const createSubscriber = (selfState, otherState) => {\n const sequenceEqualSubscriber = new OperatorSubscriber(subscriber, a => {\n const {\n buffer,\n complete\n } = otherState;\n if (buffer.length === 0) {\n complete ? emit(false) : selfState.buffer.push(a);\n } else {\n !comparator(a, buffer.shift()) && emit(false);\n }\n }, () => {\n selfState.complete = true;\n const {\n complete,\n buffer\n } = otherState;\n complete && emit(buffer.length === 0);\n sequenceEqualSubscriber === null || sequenceEqualSubscriber === void 0 ? void 0 : sequenceEqualSubscriber.unsubscribe();\n });\n return sequenceEqualSubscriber;\n };\n source.subscribe(createSubscriber(aState, bState));\n compareTo.subscribe(createSubscriber(bState, aState));\n });\n}\nfunction createState() {\n return {\n buffer: [],\n complete: false\n };\n}\n//# sourceMappingURL=sequenceEqual.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { OperatorSubscriber } from './OperatorSubscriber';\nexport function switchMap(project, resultSelector) {\n return operate((source, subscriber) => {\n let innerSubscriber = null;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => isComplete && !innerSubscriber && subscriber.complete();\n source.subscribe(new OperatorSubscriber(subscriber, value => {\n innerSubscriber === null || innerSubscriber === void 0 ? void 0 : innerSubscriber.unsubscribe();\n let innerIndex = 0;\n const outerIndex = index++;\n innerFrom(project(value, outerIndex)).subscribe(innerSubscriber = new OperatorSubscriber(subscriber, innerValue => subscriber.next(resultSelector ? resultSelector(value, innerValue, outerIndex, innerIndex++) : innerValue), () => {\n innerSubscriber = null;\n checkComplete();\n }));\n }, () => {\n isComplete = true;\n checkComplete();\n }));\n });\n}\n//# sourceMappingURL=switchMap.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { Subject } from '../Subject';\nimport { operate } from '../util/lift';\nimport { OperatorSubscriber } from './OperatorSubscriber';\nimport { noop } from '../util/noop';\nexport function window(windowBoundaries) {\n return operate((source, subscriber) => {\n let windowSubject = new Subject();\n subscriber.next(windowSubject.asObservable());\n const errorHandler = err => {\n windowSubject.error(err);\n subscriber.error(err);\n };\n source.subscribe(new OperatorSubscriber(subscriber, value => windowSubject === null || windowSubject === void 0 ? void 0 : windowSubject.next(value), () => {\n windowSubject.complete();\n subscriber.complete();\n }, errorHandler));\n windowBoundaries.subscribe(new OperatorSubscriber(subscriber, () => {\n windowSubject.complete();\n subscriber.next(windowSubject = new Subject());\n }, noop, errorHandler));\n return () => {\n windowSubject === null || windowSubject === void 0 ? void 0 : windowSubject.unsubscribe();\n windowSubject = null;\n };\n });\n}\n//# sourceMappingURL=window.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { scanInternals } from './scanInternals';\nimport { operate } from '../util/lift';\nexport function reduce(accumulator, seed) {\n return operate(scanInternals(accumulator, seed, arguments.length >= 2, false, true));\n}\n//# sourceMappingURL=reduce.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"/**\n * @license Angular v20.1.0\n * (c) 2010-2025 Google LLC. https://angular.io/\n * License: MIT\n */\n\nconst Attribute = {\n /**\n * The jsaction attribute defines a mapping of a DOM event to a\n * generic event (aka jsaction), to which the actual event handlers\n * that implement the behavior of the application are bound. The\n * value is a semicolon separated list of colon separated pairs of\n * an optional DOM event name and a jsaction name. If the optional\n * DOM event name is omitted, 'click' is assumed. The jsaction names\n * are dot separated pairs of a namespace and a simple jsaction\n * name.\n *\n * See grammar in README.md for expected syntax in the attribute value.\n */\n JSACTION: 'jsaction'\n};\nexport { Attribute };\n//# sourceMappingURL=attribute.mjs.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"/**\n * @license Angular v20.1.0\n * (c) 2010-2025 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { ɵDomAdapter as _DomAdapter, ɵsetRootDomAdapter as _setRootDomAdapter, ɵparseCookieValue as _parseCookieValue, ɵgetDOM as _getDOM, DOCUMENT, ɵPLATFORM_BROWSER_ID as _PLATFORM_BROWSER_ID, XhrFactory, CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { ɵglobal as _global, ɵRuntimeError as _RuntimeError, Injectable, Inject, ɵinternalCreateApplication as _internalCreateApplication, PLATFORM_ID, PLATFORM_INITIALIZER, createPlatformFactory, platformCore, InjectionToken, ɵTESTABILITY_GETTER as _TESTABILITY_GETTER, ɵTESTABILITY as _TESTABILITY, Testability, NgZone, TestabilityRegistry, ɵINJECTOR_SCOPE as _INJECTOR_SCOPE, ErrorHandler, RendererFactory2, inject, ApplicationModule, NgModule, ɵsetDocument as _setDocument } from '@angular/core';\nimport { EventManagerPlugin, EVENT_MANAGER_PLUGINS, DomRendererFactory2, SharedStylesHost, EventManager } from './dom_renderer.mjs';\n\n/**\n * A `DomAdapter` powered by full browser DOM APIs.\n *\n * @security Tread carefully! Interacting with the DOM directly is dangerous and\n * can introduce XSS risks.\n */\nclass BrowserDomAdapter extends _DomAdapter {\n supportsDOMEvents = true;\n static makeCurrent() {\n _setRootDomAdapter(new BrowserDomAdapter());\n }\n onAndCancel(el, evt, listener, options) {\n el.addEventListener(evt, listener, options);\n return () => {\n el.removeEventListener(evt, listener, options);\n };\n }\n dispatchEvent(el, evt) {\n el.dispatchEvent(evt);\n }\n remove(node) {\n node.remove();\n }\n createElement(tagName, doc) {\n doc = doc || this.getDefaultDocument();\n return doc.createElement(tagName);\n }\n createHtmlDocument() {\n return document.implementation.createHTMLDocument('fakeTitle');\n }\n getDefaultDocument() {\n return document;\n }\n isElementNode(node) {\n return node.nodeType === Node.ELEMENT_NODE;\n }\n isShadowRoot(node) {\n return node instanceof DocumentFragment;\n }\n /** @deprecated No longer being used in Ivy code. To be removed in version 14. */\n getGlobalEventTarget(doc, target) {\n if (target === 'window') {\n return window;\n }\n if (target === 'document') {\n return doc;\n }\n if (target === 'body') {\n return doc.body;\n }\n return null;\n }\n getBaseHref(doc) {\n const href = getBaseElementHref();\n return href == null ? null : relativePath(href);\n }\n resetBaseElement() {\n baseElement = null;\n }\n getUserAgent() {\n return window.navigator.userAgent;\n }\n getCookie(name) {\n return _parseCookieValue(document.cookie, name);\n }\n}\nlet baseElement = null;\nfunction getBaseElementHref() {\n baseElement = baseElement || document.head.querySelector('base');\n return baseElement ? baseElement.getAttribute('href') : null;\n}\nfunction relativePath(url) {\n // The base URL doesn't really matter, we just need it so relative paths have something\n // to resolve against. In the browser `HTMLBaseElement.href` is always absolute.\n return new URL(url, document.baseURI).pathname;\n}\nclass BrowserGetTestability {\n addToWindow(registry) {\n _global['getAngularTestability'] = (elem, findInAncestors = true) => {\n const testability = registry.findTestabilityInTree(elem, findInAncestors);\n if (testability == null) {\n throw new _RuntimeError(5103 /* RuntimeErrorCode.TESTABILITY_NOT_FOUND */, (typeof ngDevMode === 'undefined' || ngDevMode) && 'Could not find testability for element.');\n }\n return testability;\n };\n _global['getAllAngularTestabilities'] = () => registry.getAllTestabilities();\n _global['getAllAngularRootElements'] = () => registry.getAllRootElements();\n const whenAllStable = callback => {\n const testabilities = _global['getAllAngularTestabilities']();\n let count = testabilities.length;\n const decrement = function () {\n count--;\n if (count == 0) {\n callback();\n }\n };\n testabilities.forEach(testability => {\n testability.whenStable(decrement);\n });\n };\n if (!_global['frameworkStabilizers']) {\n _global['frameworkStabilizers'] = [];\n }\n _global['frameworkStabilizers'].push(whenAllStable);\n }\n findTestabilityInTree(registry, elem, findInAncestors) {\n if (elem == null) {\n return null;\n }\n const t = registry.getTestability(elem);\n if (t != null) {\n return t;\n } else if (!findInAncestors) {\n return null;\n }\n if (_getDOM().isShadowRoot(elem)) {\n return this.findTestabilityInTree(registry, elem.host, true);\n }\n return this.findTestabilityInTree(registry, elem.parentElement, true);\n }\n}\n\n/**\n * A factory for `HttpXhrBackend` that uses the `XMLHttpRequest` browser API.\n */\nlet BrowserXhr = /*#__PURE__*/(() => {\n class BrowserXhr {\n build() {\n return new XMLHttpRequest();\n }\n static ɵfac = function BrowserXhr_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || BrowserXhr)();\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: BrowserXhr,\n factory: BrowserXhr.ɵfac\n });\n }\n return BrowserXhr;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet DomEventsPlugin = /*#__PURE__*/(() => {\n class DomEventsPlugin extends EventManagerPlugin {\n constructor(doc) {\n super(doc);\n }\n // This plugin should come last in the list of plugins, because it accepts all\n // events.\n supports(eventName) {\n return true;\n }\n addEventListener(element, eventName, handler, options) {\n element.addEventListener(eventName, handler, options);\n return () => this.removeEventListener(element, eventName, handler, options);\n }\n removeEventListener(target, eventName, callback, options) {\n return target.removeEventListener(eventName, callback, options);\n }\n static ɵfac = function DomEventsPlugin_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || DomEventsPlugin)(i0.ɵɵinject(DOCUMENT));\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: DomEventsPlugin,\n factory: DomEventsPlugin.ɵfac\n });\n }\n return DomEventsPlugin;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Defines supported modifiers for key events.\n */\nconst MODIFIER_KEYS = ['alt', 'control', 'meta', 'shift'];\n// The following values are here for cross-browser compatibility and to match the W3C standard\n// cf https://www.w3.org/TR/DOM-Level-3-Events-key/\nconst _keyMap = {\n '\\b': 'Backspace',\n '\\t': 'Tab',\n '\\x7F': 'Delete',\n '\\x1B': 'Escape',\n 'Del': 'Delete',\n 'Esc': 'Escape',\n 'Left': 'ArrowLeft',\n 'Right': 'ArrowRight',\n 'Up': 'ArrowUp',\n 'Down': 'ArrowDown',\n 'Menu': 'ContextMenu',\n 'Scroll': 'ScrollLock',\n 'Win': 'OS'\n};\n/**\n * Retrieves modifiers from key-event objects.\n */\nconst MODIFIER_KEY_GETTERS = {\n 'alt': event => event.altKey,\n 'control': event => event.ctrlKey,\n 'meta': event => event.metaKey,\n 'shift': event => event.shiftKey\n};\n/**\n * A browser plug-in that provides support for handling of key events in Angular.\n */\nlet KeyEventsPlugin = /*#__PURE__*/(() => {\n class KeyEventsPlugin extends EventManagerPlugin {\n /**\n * Initializes an instance of the browser plug-in.\n * @param doc The document in which key events will be detected.\n */\n constructor(doc) {\n super(doc);\n }\n /**\n * Reports whether a named key event is supported.\n * @param eventName The event name to query.\n * @return True if the named key event is supported.\n */\n supports(eventName) {\n return KeyEventsPlugin.parseEventName(eventName) != null;\n }\n /**\n * Registers a handler for a specific element and key event.\n * @param element The HTML element to receive event notifications.\n * @param eventName The name of the key event to listen for.\n * @param handler A function to call when the notification occurs. Receives the\n * event object as an argument.\n * @returns The key event that was registered.\n */\n addEventListener(element, eventName, handler, options) {\n const parsedEvent = KeyEventsPlugin.parseEventName(eventName);\n const outsideHandler = KeyEventsPlugin.eventCallback(parsedEvent['fullKey'], handler, this.manager.getZone());\n return this.manager.getZone().runOutsideAngular(() => {\n return _getDOM().onAndCancel(element, parsedEvent['domEventName'], outsideHandler, options);\n });\n }\n /**\n * Parses the user provided full keyboard event definition and normalizes it for\n * later internal use. It ensures the string is all lowercase, converts special\n * characters to a standard spelling, and orders all the values consistently.\n *\n * @param eventName The name of the key event to listen for.\n * @returns an object with the full, normalized string, and the dom event name\n * or null in the case when the event doesn't match a keyboard event.\n */\n static parseEventName(eventName) {\n const parts = eventName.toLowerCase().split('.');\n const domEventName = parts.shift();\n if (parts.length === 0 || !(domEventName === 'keydown' || domEventName === 'keyup')) {\n return null;\n }\n const key = KeyEventsPlugin._normalizeKey(parts.pop());\n let fullKey = '';\n let codeIX = parts.indexOf('code');\n if (codeIX > -1) {\n parts.splice(codeIX, 1);\n fullKey = 'code.';\n }\n MODIFIER_KEYS.forEach(modifierName => {\n const index = parts.indexOf(modifierName);\n if (index > -1) {\n parts.splice(index, 1);\n fullKey += modifierName + '.';\n }\n });\n fullKey += key;\n if (parts.length != 0 || key.length === 0) {\n // returning null instead of throwing to let another plugin process the event\n return null;\n }\n // NOTE: Please don't rewrite this as so, as it will break JSCompiler property renaming.\n // The code must remain in the `result['domEventName']` form.\n // return {domEventName, fullKey};\n const result = {};\n result['domEventName'] = domEventName;\n result['fullKey'] = fullKey;\n return result;\n }\n /**\n * Determines whether the actual keys pressed match the configured key code string.\n * The `fullKeyCode` event is normalized in the `parseEventName` method when the\n * event is attached to the DOM during the `addEventListener` call. This is unseen\n * by the end user and is normalized for internal consistency and parsing.\n *\n * @param event The keyboard event.\n * @param fullKeyCode The normalized user defined expected key event string\n * @returns boolean.\n */\n static matchEventFullKeyCode(event, fullKeyCode) {\n let keycode = _keyMap[event.key] || event.key;\n let key = '';\n if (fullKeyCode.indexOf('code.') > -1) {\n keycode = event.code;\n key = 'code.';\n }\n // the keycode could be unidentified so we have to check here\n if (keycode == null || !keycode) return false;\n keycode = keycode.toLowerCase();\n if (keycode === ' ') {\n keycode = 'space'; // for readability\n } else if (keycode === '.') {\n keycode = 'dot'; // because '.' is used as a separator in event names\n }\n MODIFIER_KEYS.forEach(modifierName => {\n if (modifierName !== keycode) {\n const modifierGetter = MODIFIER_KEY_GETTERS[modifierName];\n if (modifierGetter(event)) {\n key += modifierName + '.';\n }\n }\n });\n key += keycode;\n return key === fullKeyCode;\n }\n /**\n * Configures a handler callback for a key event.\n * @param fullKey The event name that combines all simultaneous keystrokes.\n * @param handler The function that responds to the key event.\n * @param zone The zone in which the event occurred.\n * @returns A callback function.\n */\n static eventCallback(fullKey, handler, zone) {\n return event => {\n if (KeyEventsPlugin.matchEventFullKeyCode(event, fullKey)) {\n zone.runGuarded(() => handler(event));\n }\n };\n }\n /** @internal */\n static _normalizeKey(keyName) {\n return keyName === 'esc' ? 'escape' : keyName;\n }\n static ɵfac = function KeyEventsPlugin_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || KeyEventsPlugin)(i0.ɵɵinject(DOCUMENT));\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: KeyEventsPlugin,\n factory: KeyEventsPlugin.ɵfac\n });\n }\n return KeyEventsPlugin;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Bootstraps an instance of an Angular application and renders a standalone component as the\n * application's root component. More information about standalone components can be found in [this\n * guide](guide/components/importing).\n *\n * @usageNotes\n * The root component passed into this function *must* be a standalone one (should have the\n * `standalone: true` flag in the `@Component` decorator config).\n *\n * ```angular-ts\n * @Component({\n * standalone: true,\n * template: 'Hello world!'\n * })\n * class RootComponent {}\n *\n * const appRef: ApplicationRef = await bootstrapApplication(RootComponent);\n * ```\n *\n * You can add the list of providers that should be available in the application injector by\n * specifying the `providers` field in an object passed as the second argument:\n *\n * ```ts\n * await bootstrapApplication(RootComponent, {\n * providers: [\n * {provide: BACKEND_URL, useValue: 'https://yourdomain.com/api'}\n * ]\n * });\n * ```\n *\n * The `importProvidersFrom` helper method can be used to collect all providers from any\n * existing NgModule (and transitively from all NgModules that it imports):\n *\n * ```ts\n * await bootstrapApplication(RootComponent, {\n * providers: [\n * importProvidersFrom(SomeNgModule)\n * ]\n * });\n * ```\n *\n * Note: the `bootstrapApplication` method doesn't include [Testability](api/core/Testability) by\n * default. You can add [Testability](api/core/Testability) by getting the list of necessary\n * providers using `provideProtractorTestingSupport()` function and adding them into the `providers`\n * array, for example:\n *\n * ```ts\n * import {provideProtractorTestingSupport} from '@angular/platform-browser';\n *\n * await bootstrapApplication(RootComponent, {providers: [provideProtractorTestingSupport()]});\n * ```\n *\n * @param rootComponent A reference to a standalone component that should be rendered.\n * @param options Extra configuration for the bootstrap operation, see `ApplicationConfig` for\n * additional info.\n * @returns A promise that returns an `ApplicationRef` instance once resolved.\n *\n * @publicApi\n */\nfunction bootstrapApplication(rootComponent, options) {\n return _internalCreateApplication({\n rootComponent,\n ...createProvidersConfig(options)\n });\n}\n/**\n * Create an instance of an Angular application without bootstrapping any components. This is useful\n * for the situation where one wants to decouple application environment creation (a platform and\n * associated injectors) from rendering components on a screen. Components can be subsequently\n * bootstrapped on the returned `ApplicationRef`.\n *\n * @param options Extra configuration for the application environment, see `ApplicationConfig` for\n * additional info.\n * @returns A promise that returns an `ApplicationRef` instance once resolved.\n *\n * @publicApi\n */\nfunction createApplication(options) {\n return _internalCreateApplication(createProvidersConfig(options));\n}\nfunction createProvidersConfig(options) {\n return {\n appProviders: [...BROWSER_MODULE_PROVIDERS, ...(options?.providers ?? [])],\n platformProviders: INTERNAL_BROWSER_PLATFORM_PROVIDERS\n };\n}\n/**\n * Returns a set of providers required to setup [Testability](api/core/Testability) for an\n * application bootstrapped using the `bootstrapApplication` function. The set of providers is\n * needed to support testing an application with Protractor (which relies on the Testability APIs\n * to be present).\n *\n * @returns An array of providers required to setup Testability for an application and make it\n * available for testing using Protractor.\n *\n * @publicApi\n */\nfunction provideProtractorTestingSupport() {\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideProtractorTestingSupport` call results in app\n // code.\n return [...TESTABILITY_PROVIDERS];\n}\nfunction initDomAdapter() {\n BrowserDomAdapter.makeCurrent();\n}\nfunction errorHandler() {\n return new ErrorHandler();\n}\nfunction _document() {\n // Tell ivy about the global document\n _setDocument(document);\n return document;\n}\nconst INTERNAL_BROWSER_PLATFORM_PROVIDERS = [{\n provide: PLATFORM_ID,\n useValue: _PLATFORM_BROWSER_ID\n}, {\n provide: PLATFORM_INITIALIZER,\n useValue: initDomAdapter,\n multi: true\n}, {\n provide: DOCUMENT,\n useFactory: _document\n}];\n/**\n * A factory function that returns a `PlatformRef` instance associated with browser service\n * providers.\n *\n * @publicApi\n */\nconst platformBrowser = /*#__PURE__*/createPlatformFactory(platformCore, 'browser', INTERNAL_BROWSER_PLATFORM_PROVIDERS);\n/**\n * Internal marker to signal whether providers from the `BrowserModule` are already present in DI.\n * This is needed to avoid loading `BrowserModule` providers twice. We can't rely on the\n * `BrowserModule` presence itself, since the standalone-based bootstrap just imports\n * `BrowserModule` providers without referencing the module itself.\n */\nconst BROWSER_MODULE_PROVIDERS_MARKER = /*#__PURE__*/new InjectionToken(typeof ngDevMode === 'undefined' || ngDevMode ? 'BrowserModule Providers Marker' : '');\nconst TESTABILITY_PROVIDERS = [{\n provide: _TESTABILITY_GETTER,\n useClass: BrowserGetTestability\n}, {\n provide: _TESTABILITY,\n useClass: Testability,\n deps: [NgZone, TestabilityRegistry, _TESTABILITY_GETTER]\n}, {\n provide: Testability,\n // Also provide as `Testability` for backwards-compatibility.\n useClass: Testability,\n deps: [NgZone, TestabilityRegistry, _TESTABILITY_GETTER]\n}];\nconst BROWSER_MODULE_PROVIDERS = [{\n provide: _INJECTOR_SCOPE,\n useValue: 'root'\n}, {\n provide: ErrorHandler,\n useFactory: errorHandler\n}, {\n provide: EVENT_MANAGER_PLUGINS,\n useClass: DomEventsPlugin,\n multi: true,\n deps: [DOCUMENT]\n}, {\n provide: EVENT_MANAGER_PLUGINS,\n useClass: KeyEventsPlugin,\n multi: true,\n deps: [DOCUMENT]\n}, DomRendererFactory2, SharedStylesHost, EventManager, {\n provide: RendererFactory2,\n useExisting: DomRendererFactory2\n}, {\n provide: XhrFactory,\n useClass: BrowserXhr\n}, typeof ngDevMode === 'undefined' || ngDevMode ? {\n provide: BROWSER_MODULE_PROVIDERS_MARKER,\n useValue: true\n} : []];\n/**\n * Exports required infrastructure for all Angular apps.\n * Included by default in all Angular apps created with the CLI\n * `new` command.\n * Re-exports `CommonModule` and `ApplicationModule`, making their\n * exports and providers available to all apps.\n *\n * @publicApi\n */\nlet BrowserModule = /*#__PURE__*/(() => {\n class BrowserModule {\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n const providersAlreadyPresent = inject(BROWSER_MODULE_PROVIDERS_MARKER, {\n optional: true,\n skipSelf: true\n });\n if (providersAlreadyPresent) {\n throw new _RuntimeError(5100 /* RuntimeErrorCode.BROWSER_MODULE_ALREADY_LOADED */, `Providers from the \\`BrowserModule\\` have already been loaded. If you need access ` + `to common directives such as NgIf and NgFor, import the \\`CommonModule\\` instead.`);\n }\n }\n }\n static ɵfac = function BrowserModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || BrowserModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: BrowserModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n providers: [...BROWSER_MODULE_PROVIDERS, ...TESTABILITY_PROVIDERS],\n imports: [CommonModule, ApplicationModule]\n });\n }\n return BrowserModule;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nexport { BrowserDomAdapter, BrowserGetTestability, BrowserModule, DomEventsPlugin, KeyEventsPlugin, bootstrapApplication, createApplication, platformBrowser, provideProtractorTestingSupport };\n//# sourceMappingURL=browser.mjs.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { concat } from '../observable/concat';\nimport { take } from './take';\nimport { ignoreElements } from './ignoreElements';\nimport { mapTo } from './mapTo';\nimport { mergeMap } from './mergeMap';\nexport function delayWhen(delayDurationSelector, subscriptionDelay) {\n if (subscriptionDelay) {\n return source => concat(subscriptionDelay.pipe(take(1), ignoreElements()), source.pipe(delayWhen(delayDurationSelector)));\n }\n return mergeMap((value, index) => delayDurationSelector(value, index).pipe(take(1), mapTo(value)));\n}\n//# sourceMappingURL=delayWhen.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { TemplateRef } from '@angular/core';\nimport { DtVersionService } from '../dt-version.service';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../dt-version.service\";\nfunction BaseDemoComponent_Conditional_6_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 5)(1, \"div\", 22)(2, \"div\", 1);\n i0.ɵɵtext(3, \" This section has been marked as deprecated. It is listed here for documentation purposes only. \");\n i0.ɵɵelementStart(4, \"a\", 23);\n i0.ɵɵtext(5, \"Read More\");\n i0.ɵɵelementEnd()()()();\n }\n}\nfunction BaseDemoComponent_Conditional_7_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 5)(1, \"div\", 24);\n i0.ɵɵtext(2, \" You are viewing documentation for v1.x of datatables.net. This version is not supported anymore since v17.1.0. It is listed here for documentation purposes only. \");\n i0.ɵɵelementEnd()();\n }\n}\nfunction BaseDemoComponent_Conditional_19_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"li\", 11)(1, \"a\", 25);\n i0.ɵɵtext(2, \"Installation\");\n i0.ɵɵelementEnd()();\n }\n}\nfunction BaseDemoComponent_ng_container_27_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction BaseDemoComponent_Conditional_28_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 17);\n i0.ɵɵelement(1, \"markdown\", 8);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"src\", ctx_r0.dtVersion == \"v2\" && ctx_r0.mdInstall.length > 0 ? ctx_r0.mdInstall : ctx_r0.mdInstallV1);\n }\n}\nexport let BaseDemoComponent = /*#__PURE__*/(() => {\n class BaseDemoComponent {\n constructor(dtVersionService) {\n this.dtVersionService = dtVersionService;\n this.pageTitle = '';\n this.mdIntro = '';\n this.mdInstall = '';\n this.mdInstallV1 = '';\n this.mdHTML = '';\n this.mdTS = '';\n this.mdTSV1 = '';\n this.deprecated = false;\n this.dtVersion = 'v2';\n }\n ngOnInit() {\n // Re-init tabs on route change\n // Init back to top\n this.initBackToTop();\n this.dtVersionSubscription$ = this.dtVersionService.versionChanged$.subscribe(v => {\n this.dtVersion = v;\n });\n }\n scrollCallback() {\n if ($(this).scrollTop()) {\n $('#toTop').fadeIn();\n } else {\n $('#toTop').fadeOut();\n }\n }\n initBackToTop() {\n // hide scroll button on page load\n $(this.scrollCallback);\n // scroll handler\n $(window).on('scroll', this.scrollCallback);\n $(\"#toTop\").on('click', function () {\n $(\"html, body\").animate({\n scrollTop: 0\n }, 1000);\n });\n }\n ngOnDestroy() {\n this.dtVersionSubscription$?.unsubscribe();\n }\n static #_ = this.ɵfac = function BaseDemoComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || BaseDemoComponent)(i0.ɵɵdirectiveInject(i1.DtVersionService));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: BaseDemoComponent,\n selectors: [[\"app-base-demo\"]],\n inputs: {\n pageTitle: \"pageTitle\",\n mdIntro: \"mdIntro\",\n mdInstall: \"mdInstall\",\n mdInstallV1: \"mdInstallV1\",\n mdHTML: \"mdHTML\",\n mdTS: \"mdTS\",\n mdTSV1: \"mdTSV1\",\n template: \"template\",\n deprecated: \"deprecated\"\n },\n standalone: false,\n decls: 36,\n vars: 9,\n consts: [[1, \"top-banner\", \"section\", \"banner\"], [1, \"container\"], [1, \"row\"], [1, \"col\"], [1, \"header\", \"center-on-small-only\"], [1, \"section\"], [1, \"header\"], [1, \"caption\"], [3, \"src\"], [1, \"col\", \"s12\"], [1, \"tabs\", \"tabs-fixed-width\", \"grey\", \"darken-1\", \"z-depth-1\"], [1, \"tab\", \"col\"], [\"href\", \"#previewTab\"], [\"href\", \"#htmlTab\"], [\"href\", \"#typescriptTab\"], [\"id\", \"previewTab\", 1, \"col\", \"s12\"], [4, \"ngTemplateOutlet\"], [\"id\", \"installTab\", 1, \"col\", \"s12\"], [\"id\", \"htmlTab\", 1, \"col\", \"s12\"], [\"id\", \"typescriptTab\", 1, \"col\", \"s12\"], [\"id\", \"toTop\"], [1, \"material-icons\"], [1, \"section\", \"red\", \"white-text\"], [\"routerLink\", \"/faq\"], [1, \"container\", \"red\", \"white-text\", \"dtv1-notice\"], [\"href\", \"#installTab\"]],\n template: function BaseDemoComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"div\", 2)(3, \"div\", 3)(4, \"h3\", 4);\n i0.ɵɵtext(5);\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵconditionalCreate(6, BaseDemoComponent_Conditional_6_Template, 6, 0, \"div\", 5);\n i0.ɵɵconditionalCreate(7, BaseDemoComponent_Conditional_7_Template, 3, 0, \"div\", 5);\n i0.ɵɵelementStart(8, \"div\", 1)(9, \"h5\", 6);\n i0.ɵɵtext(10, \"Description\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(11, \"p\", 7);\n i0.ɵɵelement(12, \"markdown\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(13, \"div\", 2)(14, \"div\", 9)(15, \"ul\", 10)(16, \"li\", 11)(17, \"a\", 12);\n i0.ɵɵtext(18, \"Preview\");\n i0.ɵɵelementEnd()();\n i0.ɵɵconditionalCreate(19, BaseDemoComponent_Conditional_19_Template, 3, 0, \"li\", 11);\n i0.ɵɵelementStart(20, \"li\", 11)(21, \"a\", 13);\n i0.ɵɵtext(22, \"HTML\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(23, \"li\", 11)(24, \"a\", 14);\n i0.ɵɵtext(25, \"TS\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(26, \"div\", 15);\n i0.ɵɵtemplate(27, BaseDemoComponent_ng_container_27_Template, 1, 0, \"ng-container\", 16);\n i0.ɵɵelementEnd();\n i0.ɵɵconditionalCreate(28, BaseDemoComponent_Conditional_28_Template, 2, 1, \"div\", 17);\n i0.ɵɵelementStart(29, \"div\", 18);\n i0.ɵɵelement(30, \"markdown\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(31, \"div\", 19);\n i0.ɵɵelement(32, \"markdown\", 8);\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(33, \"div\", 20)(34, \"i\", 21);\n i0.ɵɵtext(35, \"arrow_upward\");\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(5);\n i0.ɵɵtextInterpolate(ctx.pageTitle);\n i0.ɵɵadvance();\n i0.ɵɵconditional(ctx.deprecated ? 6 : -1);\n i0.ɵɵadvance();\n i0.ɵɵconditional(ctx.dtVersion == \"v1\" && !ctx.deprecated ? 7 : -1);\n i0.ɵɵadvance(5);\n i0.ɵɵproperty(\"src\", ctx.mdIntro);\n i0.ɵɵadvance(7);\n i0.ɵɵconditional((ctx.dtVersion == \"v2\" ? ctx.mdInstall.length > 0 : ctx.mdInstallV1.length > 0) ? 19 : -1);\n i0.ɵɵadvance(8);\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx.template);\n i0.ɵɵadvance();\n i0.ɵɵconditional(ctx.mdInstall.length > 0 || ctx.mdInstallV1.length > 0 ? 28 : -1);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"src\", ctx.mdHTML);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"src\", ctx.dtVersion == \"v2\" && ctx.mdTS.length > 0 ? ctx.mdTS : ctx.mdTSV1);\n }\n },\n styles: [\".tabs[_ngcontent-%COMP%]{margin-bottom:15px}.header[_ngcontent-%COMP%]{margin-top:15px;margin-bottom:15px}#toTop[_ngcontent-%COMP%]{padding:7px 14px;background:#1565c0;color:#fff;position:fixed;bottom:65px;right:15px;z-index:999;border:solid 1px #94bed1;border-radius:30px;box-shadow:3px 2px 5px #98b1bc;font-size:1.5rem;cursor:pointer}#toTop[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{vertical-align:middle}.dtv1-notice[_ngcontent-%COMP%]{padding:10px}\"]\n });\n }\n return BaseDemoComponent;\n})();","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { AsyncAction } from './AsyncAction';\nimport { animationFrameProvider } from './animationFrameProvider';\nexport class AnimationFrameAction extends AsyncAction {\n constructor(scheduler, work) {\n super(scheduler, work);\n this.scheduler = scheduler;\n this.work = work;\n }\n requestAsyncId(scheduler, id, delay = 0) {\n if (delay !== null && delay > 0) {\n return super.requestAsyncId(scheduler, id, delay);\n }\n scheduler.actions.push(this);\n return scheduler._scheduled || (scheduler._scheduled = animationFrameProvider.requestAnimationFrame(() => scheduler.flush(undefined)));\n }\n recycleAsyncId(scheduler, id, delay = 0) {\n if (delay != null && delay > 0 || delay == null && this.delay > 0) {\n return super.recycleAsyncId(scheduler, id, delay);\n }\n if (scheduler.actions.length === 0) {\n animationFrameProvider.cancelAnimationFrame(id);\n scheduler._scheduled = undefined;\n }\n return undefined;\n }\n}\n//# sourceMappingURL=AnimationFrameAction.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { Observable } from '../Observable';\nimport { isFunction } from '../util/isFunction';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nexport function fromEventPattern(addHandler, removeHandler, resultSelector) {\n if (resultSelector) {\n return fromEventPattern(addHandler, removeHandler).pipe(mapOneOrManyArgs(resultSelector));\n }\n return new Observable(subscriber => {\n const handler = (...e) => subscriber.next(e.length === 1 ? e[0] : e);\n const retValue = addHandler(handler);\n return isFunction(removeHandler) ? () => removeHandler(handler, retValue) : undefined;\n });\n}\n//# sourceMappingURL=fromEventPattern.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { config } from '../config';\nlet context = null;\nexport function errorContext(cb) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n const isRoot = !context;\n if (isRoot) {\n context = {\n errorThrown: false,\n error: null\n };\n }\n cb();\n if (isRoot) {\n const {\n errorThrown,\n error\n } = context;\n context = null;\n if (errorThrown) {\n throw error;\n }\n }\n } else {\n cb();\n }\n}\nexport function captureError(err) {\n if (config.useDeprecatedSynchronousErrorHandling && context) {\n context.errorThrown = true;\n context.error = err;\n }\n}\n//# sourceMappingURL=errorContext.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { Observable } from '../Observable';\nimport { innerFrom } from '../observable/innerFrom';\nimport { Subject } from '../Subject';\nimport { operate } from '../util/lift';\nimport { OperatorSubscriber } from './OperatorSubscriber';\nexport function groupBy(keySelector, elementOrOptions, duration, connector) {\n return operate((source, subscriber) => {\n let element;\n if (!elementOrOptions || typeof elementOrOptions === 'function') {\n element = elementOrOptions;\n } else {\n ({\n duration,\n element,\n connector\n } = elementOrOptions);\n }\n const groups = new Map();\n const notify = cb => {\n groups.forEach(cb);\n cb(subscriber);\n };\n const handleError = err => notify(consumer => consumer.error(err));\n const groupBySourceSubscriber = new GroupBySubscriber(subscriber, value => {\n try {\n const key = keySelector(value);\n let group = groups.get(key);\n if (!group) {\n groups.set(key, group = connector ? connector() : new Subject());\n const grouped = createGroupedObservable(key, group);\n subscriber.next(grouped);\n if (duration) {\n const durationSubscriber = new OperatorSubscriber(group, () => {\n group.complete();\n durationSubscriber === null || durationSubscriber === void 0 ? void 0 : durationSubscriber.unsubscribe();\n }, undefined, undefined, () => groups.delete(key));\n groupBySourceSubscriber.add(innerFrom(duration(grouped)).subscribe(durationSubscriber));\n }\n }\n group.next(element ? element(value) : value);\n } catch (err) {\n handleError(err);\n }\n }, () => notify(consumer => consumer.complete()), handleError, () => groups.clear());\n source.subscribe(groupBySourceSubscriber);\n function createGroupedObservable(key, groupSubject) {\n const result = new Observable(groupSubscriber => {\n groupBySourceSubscriber.activeGroups++;\n const innerSub = groupSubject.subscribe(groupSubscriber);\n return () => {\n innerSub.unsubscribe();\n --groupBySourceSubscriber.activeGroups === 0 && groupBySourceSubscriber.teardownAttempted && groupBySourceSubscriber.unsubscribe();\n };\n });\n result.key = key;\n return result;\n }\n });\n}\nclass GroupBySubscriber extends OperatorSubscriber {\n constructor() {\n super(...arguments);\n this.activeGroups = 0;\n this.teardownAttempted = false;\n }\n unsubscribe() {\n this.teardownAttempted = true;\n this.activeGroups === 0 && super.unsubscribe();\n }\n}\n//# sourceMappingURL=groupBy.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n//# sourceMappingURL=scheduleObservable.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { map } from './map';\nimport { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { mergeInternals } from './mergeInternals';\nimport { isFunction } from '../util/isFunction';\nexport function mergeMap(project, resultSelector, concurrent = Infinity) {\n if (isFunction(resultSelector)) {\n return mergeMap((a, i) => map((b, ii) => resultSelector(a, b, i, ii))(innerFrom(project(a, i))), concurrent);\n } else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n//# sourceMappingURL=mergeMap.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { Subscription } from '../Subscription';\nexport class Action extends Subscription {\n constructor(scheduler, work) {\n super();\n }\n schedule(state, delay = 0) {\n return this;\n }\n}\n//# sourceMappingURL=Action.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { operate } from '../util/lift';\nimport { OperatorSubscriber } from './OperatorSubscriber';\nexport function find(predicate, thisArg) {\n return operate(createFind(predicate, thisArg, 'value'));\n}\nexport function createFind(predicate, thisArg, emit) {\n const findIndex = emit === 'index';\n return (source, subscriber) => {\n let index = 0;\n source.subscribe(new OperatorSubscriber(subscriber, value => {\n const i = index++;\n if (predicate.call(thisArg, value, i, source)) {\n subscriber.next(findIndex ? i : value);\n subscriber.complete();\n }\n }, () => {\n subscriber.next(findIndex ? -1 : undefined);\n subscriber.complete();\n }));\n };\n}\n//# sourceMappingURL=find.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { isScheduler } from '../util/isScheduler';\nimport { Observable } from '../Observable';\nimport { subscribeOn } from '../operators/subscribeOn';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nimport { observeOn } from '../operators/observeOn';\nimport { AsyncSubject } from '../AsyncSubject';\nexport function bindCallbackInternals(isNodeStyle, callbackFunc, resultSelector, scheduler) {\n if (resultSelector) {\n if (isScheduler(resultSelector)) {\n scheduler = resultSelector;\n } else {\n return function (...args) {\n return bindCallbackInternals(isNodeStyle, callbackFunc, scheduler).apply(this, args).pipe(mapOneOrManyArgs(resultSelector));\n };\n }\n }\n if (scheduler) {\n return function (...args) {\n return bindCallbackInternals(isNodeStyle, callbackFunc).apply(this, args).pipe(subscribeOn(scheduler), observeOn(scheduler));\n };\n }\n return function (...args) {\n const subject = new AsyncSubject();\n let uninitialized = true;\n return new Observable(subscriber => {\n const subs = subject.subscribe(subscriber);\n if (uninitialized) {\n uninitialized = false;\n let isAsync = false;\n let isComplete = false;\n callbackFunc.apply(this, [...args, (...results) => {\n if (isNodeStyle) {\n const err = results.shift();\n if (err != null) {\n subject.error(err);\n return;\n }\n }\n subject.next(1 < results.length ? results : results[0]);\n isComplete = true;\n if (isAsync) {\n subject.complete();\n }\n }]);\n if (isComplete) {\n subject.complete();\n }\n isAsync = true;\n }\n return subs;\n });\n };\n}\n//# sourceMappingURL=bindCallbackInternals.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { operate } from '../util/lift';\nimport { OperatorSubscriber } from './OperatorSubscriber';\nimport { identity } from '../util/identity';\nimport { timer } from '../observable/timer';\nimport { innerFrom } from '../observable/innerFrom';\nexport function retry(configOrCount = Infinity) {\n let config;\n if (configOrCount && typeof configOrCount === 'object') {\n config = configOrCount;\n } else {\n config = {\n count: configOrCount\n };\n }\n const {\n count = Infinity,\n delay,\n resetOnSuccess = false\n } = config;\n return count <= 0 ? identity : operate((source, subscriber) => {\n let soFar = 0;\n let innerSub;\n const subscribeForRetry = () => {\n let syncUnsub = false;\n innerSub = source.subscribe(new OperatorSubscriber(subscriber, value => {\n if (resetOnSuccess) {\n soFar = 0;\n }\n subscriber.next(value);\n }, undefined, err => {\n if (soFar++ < count) {\n const resub = () => {\n if (innerSub) {\n innerSub.unsubscribe();\n innerSub = null;\n subscribeForRetry();\n } else {\n syncUnsub = true;\n }\n };\n if (delay != null) {\n const notifier = typeof delay === 'number' ? timer(delay) : innerFrom(delay(err, soFar));\n const notifierSubscriber = new OperatorSubscriber(subscriber, () => {\n notifierSubscriber.unsubscribe();\n resub();\n }, () => {\n subscriber.complete();\n });\n notifier.subscribe(notifierSubscriber);\n } else {\n resub();\n }\n } else {\n subscriber.error(err);\n }\n }));\n if (syncUnsub) {\n innerSub.unsubscribe();\n innerSub = null;\n subscribeForRetry();\n }\n };\n subscribeForRetry();\n });\n}\n//# sourceMappingURL=retry.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { switchMap } from './switchMap';\nimport { isFunction } from '../util/isFunction';\nexport function switchMapTo(innerObservable, resultSelector) {\n return isFunction(resultSelector) ? switchMap(() => innerObservable, resultSelector) : switchMap(() => innerObservable);\n}\n//# sourceMappingURL=switchMapTo.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { ConnectableObservable } from '../observable/ConnectableObservable';\nimport { isFunction } from '../util/isFunction';\nimport { connect } from './connect';\nexport function multicast(subjectOrSubjectFactory, selector) {\n const subjectFactory = isFunction(subjectOrSubjectFactory) ? subjectOrSubjectFactory : () => subjectOrSubjectFactory;\n if (isFunction(selector)) {\n return connect(selector, {\n connector: subjectFactory\n });\n }\n return source => new ConnectableObservable(source, subjectFactory);\n}\n//# sourceMappingURL=multicast.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable(subscriber => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({\n value,\n done\n } = iterator.next());\n } catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n } else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n//# sourceMappingURL=scheduleIterable.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { TemplateRef } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { Subject } from 'rxjs';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/router\";\nconst _c0 = [\"demoNg\"];\nfunction RouterLinkComponent_ng_template_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"table\", 3);\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"dtOptions\", ctx_r0.dtOptions)(\"dtTrigger\", ctx_r0.dtTrigger);\n }\n}\nfunction RouterLinkComponent_ng_template_2_Template(rf, ctx) {\n if (rf & 1) {\n const _r2 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"app-demo-ng-template-ref\", 4);\n i0.ɵɵlistener(\"emitter\", function RouterLinkComponent_ng_template_2_Template_app_demo_ng_template_ref_emitter_0_listener($event) {\n const emitter_r3 = i0.ɵɵrestoreView(_r2).captureEvents;\n return i0.ɵɵresetView(emitter_r3($event));\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const data_r4 = ctx.adtData;\n i0.ɵɵproperty(\"data\", data_r4);\n }\n}\nexport let RouterLinkComponent = /*#__PURE__*/(() => {\n class RouterLinkComponent {\n constructor(router) {\n this.router = router;\n this.pageTitle = 'Router Link';\n this.mdIntro = 'assets/docs/advanced/router-link/intro.md';\n this.mdHTML = 'assets/docs/advanced/router-link/source-html.md';\n this.mdTSV1 = 'assets/docs/advanced/router-link/source-ts-dtv1.md';\n this.mdTS = 'assets/docs/advanced/router-link/source-ts.md';\n this.mdTSHeading = 'TypeScript';\n this.dtOptions = {};\n this.dtTrigger = new Subject();\n }\n ngOnInit() {}\n ngAfterViewInit() {\n const self = this;\n // init here as we use ViewChild ref\n this.dtOptions = {\n ajax: 'data/data.json',\n columns: [{\n title: 'ID',\n data: 'id'\n }, {\n title: 'First name',\n data: 'firstName'\n }, {\n title: 'Last name',\n data: 'lastName'\n }, {\n title: 'Action',\n defaultContent: '',\n ngTemplateRef: {\n ref: this.demoNg,\n context: {\n // needed for capturing events inside <ng-template>\n captureEvents: self.onCaptureEvent.bind(self)\n }\n }\n }]\n };\n // race condition fails unit tests if dtOptions isn't sent with dtTrigger\n setTimeout(() => {\n this.dtTrigger.next(this.dtOptions);\n }, 200);\n }\n onCaptureEvent(event) {\n this.router.navigate([\"/person/\" + event.data.id]);\n }\n ngOnDestroy() {\n this.dtTrigger?.unsubscribe();\n }\n static #_ = this.ɵfac = function RouterLinkComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || RouterLinkComponent)(i0.ɵɵdirectiveInject(i1.Router));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: RouterLinkComponent,\n selectors: [[\"app-router-link\"]],\n viewQuery: function RouterLinkComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.demoNg = _t.first);\n }\n },\n standalone: false,\n decls: 5,\n vars: 6,\n consts: [[\"preview\", \"\"], [\"demoNg\", \"\"], [3, \"pageTitle\", \"mdIntro\", \"mdHTML\", \"mdTS\", \"mdTSV1\", \"template\"], [\"datatable\", \"\", 1, \"row-border\", \"hover\", 3, \"dtOptions\", \"dtTrigger\"], [\"actionText\", \"View\", 3, \"emitter\", \"data\"]],\n template: function RouterLinkComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, RouterLinkComponent_ng_template_0_Template, 1, 2, \"ng-template\", null, 0, i0.ɵɵtemplateRefExtractor)(2, RouterLinkComponent_ng_template_2_Template, 1, 1, \"ng-template\", null, 1, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelement(4, \"app-base-demo\", 2);\n }\n if (rf & 2) {\n const preview_r5 = i0.ɵɵreference(1);\n i0.ɵɵadvance(4);\n i0.ɵɵproperty(\"pageTitle\", ctx.pageTitle)(\"mdIntro\", ctx.mdIntro)(\"mdHTML\", ctx.mdHTML)(\"mdTS\", ctx.mdTS)(\"mdTSV1\", ctx.mdTSV1)(\"template\", preview_r5);\n }\n },\n encapsulation: 2\n });\n }\n return RouterLinkComponent;\n})();","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import 'datatables.net-select';\nimport * as i0 from \"@angular/core\";\nfunction SelectExtensionComponent_ng_template_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"table\", 2);\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"dtOptions\", ctx_r0.dtOptions);\n }\n}\nexport let SelectExtensionComponent = /*#__PURE__*/(() => {\n class SelectExtensionComponent {\n constructor() {\n this.pageTitle = 'DataTables Select extension';\n this.mdIntro = 'assets/docs/extensions/select/intro.md';\n this.mdInstall = 'assets/docs/extensions/select/installation.md';\n this.mdInstallV1 = 'assets/docs/extensions/select/installation-dtv1.md';\n this.mdHTML = 'assets/docs/extensions/select/source-html.md';\n this.mdTS = 'assets/docs/extensions/select/source-ts.md';\n this.mdTSV1 = 'assets/docs/extensions/select/source-ts-dtv1.md';\n this.dtOptions = {};\n }\n ngOnInit() {\n this.dtOptions = {\n ajax: 'data/data.json',\n columns: [{\n title: 'ID',\n data: 'id'\n }, {\n title: 'First name',\n data: 'firstName'\n }, {\n title: 'Last name',\n data: 'lastName'\n }],\n // Use this attribute to enable the select extension\n select: true\n };\n }\n static #_ = this.ɵfac = function SelectExtensionComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || SelectExtensionComponent)();\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: SelectExtensionComponent,\n selectors: [[\"app-select-extension\"]],\n standalone: false,\n decls: 3,\n vars: 8,\n consts: [[\"preview\", \"\"], [3, \"pageTitle\", \"mdIntro\", \"mdInstall\", \"mdInstallV1\", \"mdHTML\", \"mdTS\", \"mdTSV1\", \"template\"], [\"datatable\", \"\", 1, \"row-border\", \"hover\", 3, \"dtOptions\"]],\n template: function SelectExtensionComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, SelectExtensionComponent_ng_template_0_Template, 1, 1, \"ng-template\", null, 0, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelement(2, \"app-base-demo\", 1);\n }\n if (rf & 2) {\n const preview_r2 = i0.ɵɵreference(1);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"pageTitle\", ctx.pageTitle)(\"mdIntro\", ctx.mdIntro)(\"mdInstall\", ctx.mdInstall)(\"mdInstallV1\", ctx.mdInstallV1)(\"mdHTML\", ctx.mdHTML)(\"mdTS\", ctx.mdTS)(\"mdTSV1\", ctx.mdTSV1)(\"template\", preview_r2);\n }\n },\n encapsulation: 2\n });\n }\n return SelectExtensionComponent;\n})();","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import _asyncToGenerator from \"/Applications/XAMPP/xamppfiles/htdocs/bungemtandao/angular-datatables/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\";\n/**\n * @license Angular v20.1.0\n * (c) 2010-2025 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i3 from '@angular/common';\nimport { LOCATION_INITIALIZED, ViewportScroller, LocationStrategy, HashLocationStrategy, Location, PathLocationStrategy } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { signal, untracked, inject, ɵINTERNAL_APPLICATION_ERROR_HANDLER as _INTERNAL_APPLICATION_ERROR_HANDLER, HostAttributeToken, ɵRuntimeError as _RuntimeError, booleanAttribute, Directive, Attribute, HostBinding, Input, HostListener, EventEmitter, Optional, ContentChildren, Output, Injectable, createEnvironmentInjector, InjectionToken, makeEnvironmentProviders, APP_BOOTSTRAP_LISTENER, Injector, ApplicationRef, provideAppInitializer, ɵperformanceMarkFeature as _performanceMarkFeature, ENVIRONMENT_INITIALIZER, NgZone, SkipSelf, NgModule } from '@angular/core';\nimport { ROUTER_CONFIGURATION, NavigationEnd, isUrlTree, Router, ActivatedRoute, RouterConfigLoader, IMPERATIVE_NAVIGATION, NavigationStart, NavigationSkipped, NavigationSkippedCode, Scroll, UrlSerializer, NavigationTransitions, ROUTES, afterNextNavigation, stringifyEvent, NAVIGATION_ERROR_HANDLER, RoutedComponentInputBinder, INPUT_BINDER, CREATE_VIEW_TRANSITION, createViewTransition, VIEW_TRANSITION_OPTIONS, DefaultUrlSerializer, ChildrenOutletContexts, RouterOutlet, ɵEmptyOutletComponent as _EmptyOutletComponent } from './router2.mjs';\nimport { Subject, of, from } from 'rxjs';\nimport { mergeAll, catchError, filter, concatMap, mergeMap } from 'rxjs/operators';\n\n/**\n * @description\n *\n * When applied to an element in a template, makes that element a link\n * that initiates navigation to a route. Navigation opens one or more routed components\n * in one or more `<router-outlet>` locations on the page.\n *\n * Given a route configuration `[{ path: 'user/:name', component: UserCmp }]`,\n * the following creates a static link to the route:\n * `<a routerLink=\"/user/bob\">link to user component</a>`\n *\n * You can use dynamic values to generate the link.\n * For a dynamic link, pass an array of path segments,\n * followed by the params for each segment.\n * For example, `['/team', teamId, 'user', userName, {details: true}]`\n * generates a link to `/team/11/user/bob;details=true`.\n *\n * Multiple static segments can be merged into one term and combined with dynamic segments.\n * For example, `['/team/11/user', userName, {details: true}]`\n *\n * The input that you provide to the link is treated as a delta to the current URL.\n * For instance, suppose the current URL is `/user/(box//aux:team)`.\n * The link `<a [routerLink]=\"['/user/jim']\">Jim</a>` creates the URL\n * `/user/(jim//aux:team)`.\n * See {@link Router#createUrlTree} for more information.\n *\n * @usageNotes\n *\n * You can use absolute or relative paths in a link, set query parameters,\n * control how parameters are handled, and keep a history of navigation states.\n *\n * ### Relative link paths\n *\n * The first segment name can be prepended with `/`, `./`, or `../`.\n * * If the first segment begins with `/`, the router looks up the route from the root of the\n * app.\n * * If the first segment begins with `./`, or doesn't begin with a slash, the router\n * looks in the children of the current activated route.\n * * If the first segment begins with `../`, the router goes up one level in the route tree.\n *\n * ### Setting and handling query params and fragments\n *\n * The following link adds a query parameter and a fragment to the generated URL:\n *\n * ```html\n * <a [routerLink]=\"['/user/bob']\" [queryParams]=\"{debug: true}\" fragment=\"education\">\n * link to user component\n * </a>\n * ```\n * By default, the directive constructs the new URL using the given query parameters.\n * The example generates the link: `/user/bob?debug=true#education`.\n *\n * You can instruct the directive to handle query parameters differently\n * by specifying the `queryParamsHandling` option in the link.\n * Allowed values are:\n *\n * - `'merge'`: Merge the given `queryParams` into the current query params.\n * - `'preserve'`: Preserve the current query params.\n *\n * For example:\n *\n * ```html\n * <a [routerLink]=\"['/user/bob']\" [queryParams]=\"{debug: true}\" queryParamsHandling=\"merge\">\n * link to user component\n * </a>\n * ```\n *\n * `queryParams`, `fragment`, `queryParamsHandling`, `preserveFragment`, and `relativeTo`\n * cannot be used when the `routerLink` input is a `UrlTree`.\n *\n * See {@link UrlCreationOptions#queryParamsHandling}.\n *\n * ### Preserving navigation history\n *\n * You can provide a `state` value to be persisted to the browser's\n * [`History.state` property](https://developer.mozilla.org/en-US/docs/Web/API/History#Properties).\n * For example:\n *\n * ```html\n * <a [routerLink]=\"['/user/bob']\" [state]=\"{tracingId: 123}\">\n * link to user component\n * </a>\n * ```\n *\n * Use {@link Router#getCurrentNavigation} to retrieve a saved\n * navigation-state value. For example, to capture the `tracingId` during the `NavigationStart`\n * event:\n *\n * ```ts\n * // Get NavigationStart events\n * router.events.pipe(filter(e => e instanceof NavigationStart)).subscribe(e => {\n * const navigation = router.getCurrentNavigation();\n * tracingService.trace({id: navigation.extras.state.tracingId});\n * });\n * ```\n *\n * ### RouterLink compatible custom elements\n *\n * In order to make a custom element work with routerLink, the corresponding custom\n * element must implement the `href` attribute and must list `href` in the array of\n * the static property/getter `observedAttributes`.\n *\n * @ngModule RouterModule\n *\n * @publicApi\n */\nlet RouterLink = /*#__PURE__*/(() => {\n class RouterLink {\n router;\n route;\n tabIndexAttribute;\n renderer;\n el;\n locationStrategy;\n /** @nodoc */\n reactiveHref = signal(null, ...(ngDevMode ? [{\n debugName: \"reactiveHref\"\n }] : []));\n /**\n * Represents an `href` attribute value applied to a host element,\n * when a host element is an `<a>`/`<area>` tag or a compatible custom element.\n * For other tags, the value is `null`.\n */\n get href() {\n return untracked(this.reactiveHref);\n }\n /** @deprecated */\n set href(value) {\n this.reactiveHref.set(value);\n }\n /**\n * Represents the `target` attribute on a host element.\n * This is only used when the host element is\n * an `<a>`/`<area>` tag or a compatible custom element.\n */\n target;\n /**\n * Passed to {@link Router#createUrlTree} as part of the\n * `UrlCreationOptions`.\n * @see {@link UrlCreationOptions#queryParams}\n * @see {@link Router#createUrlTree}\n */\n queryParams;\n /**\n * Passed to {@link Router#createUrlTree} as part of the\n * `UrlCreationOptions`.\n * @see {@link UrlCreationOptions#fragment}\n * @see {@link Router#createUrlTree}\n */\n fragment;\n /**\n * Passed to {@link Router#createUrlTree} as part of the\n * `UrlCreationOptions`.\n * @see {@link UrlCreationOptions#queryParamsHandling}\n * @see {@link Router#createUrlTree}\n */\n queryParamsHandling;\n /**\n * Passed to {@link Router#navigateByUrl} as part of the\n * `NavigationBehaviorOptions`.\n * @see {@link NavigationBehaviorOptions#state}\n * @see {@link Router#navigateByUrl}\n */\n state;\n /**\n * Passed to {@link Router#navigateByUrl} as part of the\n * `NavigationBehaviorOptions`.\n * @see {@link NavigationBehaviorOptions#info}\n * @see {@link Router#navigateByUrl}\n */\n info;\n /**\n * Passed to {@link Router#createUrlTree} as part of the\n * `UrlCreationOptions`.\n * Specify a value here when you do not want to use the default value\n * for `routerLink`, which is the current activated route.\n * Note that a value of `undefined` here will use the `routerLink` default.\n * @see {@link UrlCreationOptions#relativeTo}\n * @see {@link Router#createUrlTree}\n */\n relativeTo;\n /** Whether a host element is an `<a>`/`<area>` tag or a compatible custom element. */\n isAnchorElement;\n subscription;\n /** @internal */\n onChanges = new Subject();\n applicationErrorHandler = inject(_INTERNAL_APPLICATION_ERROR_HANDLER);\n options = inject(ROUTER_CONFIGURATION, {\n optional: true\n });\n constructor(router, route, tabIndexAttribute, renderer, el, locationStrategy) {\n this.router = router;\n this.route = route;\n this.tabIndexAttribute = tabIndexAttribute;\n this.renderer = renderer;\n this.el = el;\n this.locationStrategy = locationStrategy;\n // Set the initial href value to whatever exists on the host element already\n this.reactiveHref.set(inject(new HostAttributeToken('href'), {\n optional: true\n }));\n const tagName = el.nativeElement.tagName?.toLowerCase();\n this.isAnchorElement = tagName === 'a' || tagName === 'area' || !!(\n // Avoid breaking in an SSR context where customElements might not be defined.\n typeof customElements === 'object' &&\n // observedAttributes is an optional static property/getter on a custom element.\n // The spec states that this must be an array of strings.\n customElements.get(tagName)?.observedAttributes?.includes?.('href'));\n if (!this.isAnchorElement) {\n this.subscribeToNavigationEventsIfNecessary();\n } else {\n this.setTabIndexIfNotOnNativeEl('0');\n }\n }\n subscribeToNavigationEventsIfNecessary() {\n if (this.subscription !== undefined || !this.isAnchorElement) {\n return;\n }\n // preserving fragment in router state\n let createSubcription = this.preserveFragment;\n // preserving or merging with query params in router state\n const dependsOnRouterState = handling => handling === 'merge' || handling === 'preserve';\n createSubcription ||= dependsOnRouterState(this.queryParamsHandling);\n createSubcription ||= !this.queryParamsHandling && !dependsOnRouterState(this.options?.defaultQueryParamsHandling);\n if (!createSubcription) {\n return;\n }\n this.subscription = this.router.events.subscribe(s => {\n if (s instanceof NavigationEnd) {\n this.updateHref();\n }\n });\n }\n /**\n * Passed to {@link Router#createUrlTree} as part of the\n * `UrlCreationOptions`.\n * @see {@link UrlCreationOptions#preserveFragment}\n * @see {@link Router#createUrlTree}\n */\n preserveFragment = false;\n /**\n * Passed to {@link Router#navigateByUrl} as part of the\n * `NavigationBehaviorOptions`.\n * @see {@link NavigationBehaviorOptions#skipLocationChange}\n * @see {@link Router#navigateByUrl}\n */\n skipLocationChange = false;\n /**\n * Passed to {@link Router#navigateByUrl} as part of the\n * `NavigationBehaviorOptions`.\n * @see {@link NavigationBehaviorOptions#replaceUrl}\n * @see {@link Router#navigateByUrl}\n */\n replaceUrl = false;\n /**\n * Modifies the tab index if there was not a tabindex attribute on the element during\n * instantiation.\n */\n setTabIndexIfNotOnNativeEl(newTabIndex) {\n if (this.tabIndexAttribute != null /* both `null` and `undefined` */ || this.isAnchorElement) {\n return;\n }\n this.applyAttributeValue('tabindex', newTabIndex);\n }\n /** @docs-private */\n // TODO(atscott): Remove changes parameter in major version as a breaking change.\n ngOnChanges(changes) {\n if (ngDevMode && isUrlTree(this.routerLinkInput) && (this.fragment !== undefined || this.queryParams || this.queryParamsHandling || this.preserveFragment || this.relativeTo)) {\n throw new _RuntimeError(4016 /* RuntimeErrorCode.INVALID_ROUTER_LINK_INPUTS */, 'Cannot configure queryParams or fragment when using a UrlTree as the routerLink input value.');\n }\n if (this.isAnchorElement) {\n this.updateHref();\n this.subscribeToNavigationEventsIfNecessary();\n }\n // This is subscribed to by `RouterLinkActive` so that it knows to update when there are changes\n // to the RouterLinks it's tracking.\n this.onChanges.next(this);\n }\n routerLinkInput = null;\n /**\n * Commands to pass to {@link Router#createUrlTree} or a `UrlTree`.\n * - **array**: commands to pass to {@link Router#createUrlTree}.\n * - **string**: shorthand for array of commands with just the string, i.e. `['/route']`\n * - **UrlTree**: a `UrlTree` for this link rather than creating one from the commands\n * and other inputs that correspond to properties of `UrlCreationOptions`.\n * - **null|undefined**: effectively disables the `routerLink`\n * @see {@link Router#createUrlTree}\n */\n set routerLink(commandsOrUrlTree) {\n if (commandsOrUrlTree == null) {\n this.routerLinkInput = null;\n this.setTabIndexIfNotOnNativeEl(null);\n } else {\n if (isUrlTree(commandsOrUrlTree)) {\n this.routerLinkInput = commandsOrUrlTree;\n } else {\n this.routerLinkInput = Array.isArray(commandsOrUrlTree) ? commandsOrUrlTree : [commandsOrUrlTree];\n }\n this.setTabIndexIfNotOnNativeEl('0');\n }\n }\n /** @docs-private */\n onClick(button, ctrlKey, shiftKey, altKey, metaKey) {\n const urlTree = this.urlTree;\n if (urlTree === null) {\n return true;\n }\n if (this.isAnchorElement) {\n if (button !== 0 || ctrlKey || shiftKey || altKey || metaKey) {\n return true;\n }\n if (typeof this.target === 'string' && this.target != '_self') {\n return true;\n }\n }\n const extras = {\n skipLocationChange: this.skipLocationChange,\n replaceUrl: this.replaceUrl,\n state: this.state,\n info: this.info\n };\n // navigateByUrl is mocked frequently in tests... Reduce breakages when adding `catch`\n this.router.navigateByUrl(urlTree, extras)?.catch(e => {\n this.applicationErrorHandler(e);\n });\n // Return `false` for `<a>` elements to prevent default action\n // and cancel the native behavior, since the navigation is handled\n // by the Router.\n return !this.isAnchorElement;\n }\n /** @docs-private */\n ngOnDestroy() {\n this.subscription?.unsubscribe();\n }\n updateHref() {\n const urlTree = this.urlTree;\n this.reactiveHref.set(urlTree !== null && this.locationStrategy ? this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(urlTree)) ?? '' : null);\n }\n applyAttributeValue(attrName, attrValue) {\n const renderer = this.renderer;\n const nativeElement = this.el.nativeElement;\n if (attrValue !== null) {\n renderer.setAttribute(nativeElement, attrName, attrValue);\n } else {\n renderer.removeAttribute(nativeElement, attrName);\n }\n }\n get urlTree() {\n if (this.routerLinkInput === null) {\n return null;\n } else if (isUrlTree(this.routerLinkInput)) {\n return this.routerLinkInput;\n }\n return this.router.createUrlTree(this.routerLinkInput, {\n // If the `relativeTo` input is not defined, we want to use `this.route` by default.\n // Otherwise, we should use the value provided by the user in the input.\n relativeTo: this.relativeTo !== undefined ? this.relativeTo : this.route,\n queryParams: this.queryParams,\n fragment: this.fragment,\n queryParamsHandling: this.queryParamsHandling,\n preserveFragment: this.preserveFragment\n });\n }\n static ɵfac = function RouterLink_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || RouterLink)(i0.ɵɵdirectiveInject(Router), i0.ɵɵdirectiveInject(ActivatedRoute), i0.ɵɵinjectAttribute('tabindex'), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i3.LocationStrategy));\n };\n static ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: RouterLink,\n selectors: [[\"\", \"routerLink\", \"\"]],\n hostVars: 2,\n hostBindings: function RouterLink_HostBindings(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵlistener(\"click\", function RouterLink_click_HostBindingHandler($event) {\n return ctx.onClick($event.button, $event.ctrlKey, $event.shiftKey, $event.altKey, $event.metaKey);\n });\n }\n if (rf & 2) {\n i0.ɵɵattribute(\"href\", ctx.reactiveHref(), i0.ɵɵsanitizeUrlOrResourceUrl)(\"target\", ctx.target);\n }\n },\n inputs: {\n target: \"target\",\n queryParams: \"queryParams\",\n fragment: \"fragment\",\n queryParamsHandling: \"queryParamsHandling\",\n state: \"state\",\n info: \"info\",\n relativeTo: \"relativeTo\",\n preserveFragment: [2, \"preserveFragment\", \"preserveFragment\", booleanAttribute],\n skipLocationChange: [2, \"skipLocationChange\", \"skipLocationChange\", booleanAttribute],\n replaceUrl: [2, \"replaceUrl\", \"replaceUrl\", booleanAttribute],\n routerLink: \"routerLink\"\n },\n features: [i0.ɵɵNgOnChangesFeature]\n });\n }\n return RouterLink;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n *\n * @description\n *\n * Tracks whether the linked route of an element is currently active, and allows you\n * to specify one or more CSS classes to add to the element when the linked route\n * is active.\n *\n * Use this directive to create a visual distinction for elements associated with an active route.\n * For example, the following code highlights the word \"Bob\" when the router\n * activates the associated route:\n *\n * ```html\n * <a routerLink=\"/user/bob\" routerLinkActive=\"active-link\">Bob</a>\n * ```\n *\n * Whenever the URL is either '/user' or '/user/bob', the \"active-link\" class is\n * added to the anchor tag. If the URL changes, the class is removed.\n *\n * You can set more than one class using a space-separated string or an array.\n * For example:\n *\n * ```html\n * <a routerLink=\"/user/bob\" routerLinkActive=\"class1 class2\">Bob</a>\n * <a routerLink=\"/user/bob\" [routerLinkActive]=\"['class1', 'class2']\">Bob</a>\n * ```\n *\n * To add the classes only when the URL matches the link exactly, add the option `exact: true`:\n *\n * ```html\n * <a routerLink=\"/user/bob\" routerLinkActive=\"active-link\" [routerLinkActiveOptions]=\"{exact:\n * true}\">Bob</a>\n * ```\n *\n * To directly check the `isActive` status of the link, assign the `RouterLinkActive`\n * instance to a template variable.\n * For example, the following checks the status without assigning any CSS classes:\n *\n * ```html\n * <a routerLink=\"/user/bob\" routerLinkActive #rla=\"routerLinkActive\">\n * Bob {{ rla.isActive ? '(already open)' : ''}}\n * </a>\n * ```\n *\n * You can apply the `RouterLinkActive` directive to an ancestor of linked elements.\n * For example, the following sets the active-link class on the `<div>` parent tag\n * when the URL is either '/user/jim' or '/user/bob'.\n *\n * ```html\n * <div routerLinkActive=\"active-link\" [routerLinkActiveOptions]=\"{exact: true}\">\n * <a routerLink=\"/user/jim\">Jim</a>\n * <a routerLink=\"/user/bob\">Bob</a>\n * </div>\n * ```\n *\n * The `RouterLinkActive` directive can also be used to set the aria-current attribute\n * to provide an alternative distinction for active elements to visually impaired users.\n *\n * For example, the following code adds the 'active' class to the Home Page link when it is\n * indeed active and in such case also sets its aria-current attribute to 'page':\n *\n * ```html\n * <a routerLink=\"/\" routerLinkActive=\"active\" ariaCurrentWhenActive=\"page\">Home Page</a>\n * ```\n *\n * @ngModule RouterModule\n *\n * @publicApi\n */\nlet RouterLinkActive = /*#__PURE__*/(() => {\n class RouterLinkActive {\n router;\n element;\n renderer;\n cdr;\n link;\n links;\n classes = [];\n routerEventsSubscription;\n linkInputChangesSubscription;\n _isActive = false;\n get isActive() {\n return this._isActive;\n }\n /**\n * Options to configure how to determine if the router link is active.\n *\n * These options are passed to the `Router.isActive()` function.\n *\n * @see {@link Router#isActive}\n */\n routerLinkActiveOptions = {\n exact: false\n };\n /**\n * Aria-current attribute to apply when the router link is active.\n *\n * Possible values: `'page'` | `'step'` | `'location'` | `'date'` | `'time'` | `true` | `false`.\n *\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current}\n */\n ariaCurrentWhenActive;\n /**\n *\n * You can use the output `isActiveChange` to get notified each time the link becomes\n * active or inactive.\n *\n * Emits:\n * true -> Route is active\n * false -> Route is inactive\n *\n * ```html\n * <a\n * routerLink=\"/user/bob\"\n * routerLinkActive=\"active-link\"\n * (isActiveChange)=\"this.onRouterLinkActive($event)\">Bob</a>\n * ```\n */\n isActiveChange = new EventEmitter();\n constructor(router, element, renderer, cdr, link) {\n this.router = router;\n this.element = element;\n this.renderer = renderer;\n this.cdr = cdr;\n this.link = link;\n this.routerEventsSubscription = router.events.subscribe(s => {\n if (s instanceof NavigationEnd) {\n this.update();\n }\n });\n }\n /** @docs-private */\n ngAfterContentInit() {\n // `of(null)` is used to force subscribe body to execute once immediately (like `startWith`).\n of(this.links.changes, of(null)).pipe(mergeAll()).subscribe(_ => {\n this.update();\n this.subscribeToEachLinkOnChanges();\n });\n }\n subscribeToEachLinkOnChanges() {\n this.linkInputChangesSubscription?.unsubscribe();\n const allLinkChanges = [...this.links.toArray(), this.link].filter(link => !!link).map(link => link.onChanges);\n this.linkInputChangesSubscription = from(allLinkChanges).pipe(mergeAll()).subscribe(link => {\n if (this._isActive !== this.isLinkActive(this.router)(link)) {\n this.update();\n }\n });\n }\n set routerLinkActive(data) {\n const classes = Array.isArray(data) ? data : data.split(' ');\n this.classes = classes.filter(c => !!c);\n }\n /** @docs-private */\n ngOnChanges(changes) {\n this.update();\n }\n /** @docs-private */\n ngOnDestroy() {\n this.routerEventsSubscription.unsubscribe();\n this.linkInputChangesSubscription?.unsubscribe();\n }\n update() {\n if (!this.links || !this.router.navigated) return;\n queueMicrotask(() => {\n const hasActiveLinks = this.hasActiveLinks();\n this.classes.forEach(c => {\n if (hasActiveLinks) {\n this.renderer.addClass(this.element.nativeElement, c);\n } else {\n this.renderer.removeClass(this.element.nativeElement, c);\n }\n });\n if (hasActiveLinks && this.ariaCurrentWhenActive !== undefined) {\n this.renderer.setAttribute(this.element.nativeElement, 'aria-current', this.ariaCurrentWhenActive.toString());\n } else {\n this.renderer.removeAttribute(this.element.nativeElement, 'aria-current');\n }\n // Only emit change if the active state changed.\n if (this._isActive !== hasActiveLinks) {\n this._isActive = hasActiveLinks;\n this.cdr.markForCheck();\n // Emit on isActiveChange after classes are updated\n this.isActiveChange.emit(hasActiveLinks);\n }\n });\n }\n isLinkActive(router) {\n const options = isActiveMatchOptions(this.routerLinkActiveOptions) ? this.routerLinkActiveOptions :\n // While the types should disallow `undefined` here, it's possible without strict inputs\n this.routerLinkActiveOptions.exact || false;\n return link => {\n const urlTree = link.urlTree;\n return urlTree ? router.isActive(urlTree, options) : false;\n };\n }\n hasActiveLinks() {\n const isActiveCheckFn = this.isLinkActive(this.router);\n return this.link && isActiveCheckFn(this.link) || this.links.some(isActiveCheckFn);\n }\n static ɵfac = function RouterLinkActive_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || RouterLinkActive)(i0.ɵɵdirectiveInject(Router), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(RouterLink, 8));\n };\n static ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: RouterLinkActive,\n selectors: [[\"\", \"routerLinkActive\", \"\"]],\n contentQueries: function RouterLinkActive_ContentQueries(rf, ctx, dirIndex) {\n if (rf & 1) {\n i0.ɵɵcontentQuery(dirIndex, RouterLink, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.links = _t);\n }\n },\n inputs: {\n routerLinkActiveOptions: \"routerLinkActiveOptions\",\n ariaCurrentWhenActive: \"ariaCurrentWhenActive\",\n routerLinkActive: \"routerLinkActive\"\n },\n outputs: {\n isActiveChange: \"isActiveChange\"\n },\n exportAs: [\"routerLinkActive\"],\n features: [i0.ɵɵNgOnChangesFeature]\n });\n }\n return RouterLinkActive;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * Use instead of `'paths' in options` to be compatible with property renaming\n */\nfunction isActiveMatchOptions(options) {\n return !!options.paths;\n}\n\n/**\n * @description\n *\n * Provides a preloading strategy.\n *\n * @publicApi\n */\nclass PreloadingStrategy {}\n/**\n * @description\n *\n * Provides a preloading strategy that preloads all modules as quickly as possible.\n *\n * ```ts\n * RouterModule.forRoot(ROUTES, {preloadingStrategy: PreloadAllModules})\n * ```\n *\n * @publicApi\n */\nlet PreloadAllModules = /*#__PURE__*/(() => {\n class PreloadAllModules {\n preload(route, fn) {\n return fn().pipe(catchError(() => of(null)));\n }\n static ɵfac = function PreloadAllModules_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || PreloadAllModules)();\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: PreloadAllModules,\n factory: PreloadAllModules.ɵfac,\n providedIn: 'root'\n });\n }\n return PreloadAllModules;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * @description\n *\n * Provides a preloading strategy that does not preload any modules.\n *\n * This strategy is enabled by default.\n *\n * @publicApi\n */\nlet NoPreloading = /*#__PURE__*/(() => {\n class NoPreloading {\n preload(route, fn) {\n return of(null);\n }\n static ɵfac = function NoPreloading_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || NoPreloading)();\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: NoPreloading,\n factory: NoPreloading.ɵfac,\n providedIn: 'root'\n });\n }\n return NoPreloading;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * The preloader optimistically loads all router configurations to\n * make navigations into lazily-loaded sections of the application faster.\n *\n * The preloader runs in the background. When the router bootstraps, the preloader\n * starts listening to all navigation events. After every such event, the preloader\n * will check if any configurations can be loaded lazily.\n *\n * If a route is protected by `canLoad` guards, the preloaded will not load it.\n *\n * @publicApi\n */\nlet RouterPreloader = /*#__PURE__*/(() => {\n class RouterPreloader {\n router;\n injector;\n preloadingStrategy;\n loader;\n subscription;\n constructor(router, injector, preloadingStrategy, loader) {\n this.router = router;\n this.injector = injector;\n this.preloadingStrategy = preloadingStrategy;\n this.loader = loader;\n }\n setUpPreloading() {\n this.subscription = this.router.events.pipe(filter(e => e instanceof NavigationEnd), concatMap(() => this.preload())).subscribe(() => {});\n }\n preload() {\n return this.processRoutes(this.injector, this.router.config);\n }\n /** @docs-private */\n ngOnDestroy() {\n if (this.subscription) {\n this.subscription.unsubscribe();\n }\n }\n processRoutes(injector, routes) {\n const res = [];\n for (const route of routes) {\n if (route.providers && !route._injector) {\n route._injector = createEnvironmentInjector(route.providers, injector, `Route: ${route.path}`);\n }\n const injectorForCurrentRoute = route._injector ?? injector;\n const injectorForChildren = route._loadedInjector ?? injectorForCurrentRoute;\n // Note that `canLoad` is only checked as a condition that prevents `loadChildren` and not\n // `loadComponent`. `canLoad` guards only block loading of child routes by design. This\n // happens as a consequence of needing to descend into children for route matching immediately\n // while component loading is deferred until route activation. Because `canLoad` guards can\n // have side effects, we cannot execute them here so we instead skip preloading altogether\n // when present. Lastly, it remains to be decided whether `canLoad` should behave this way\n // at all. Code splitting and lazy loading is separate from client-side authorization checks\n // and should not be used as a security measure to prevent loading of code.\n if (route.loadChildren && !route._loadedRoutes && route.canLoad === undefined || route.loadComponent && !route._loadedComponent) {\n res.push(this.preloadConfig(injectorForCurrentRoute, route));\n }\n if (route.children || route._loadedRoutes) {\n res.push(this.processRoutes(injectorForChildren, route.children ?? route._loadedRoutes));\n }\n }\n return from(res).pipe(mergeAll());\n }\n preloadConfig(injector, route) {\n return this.preloadingStrategy.preload(route, () => {\n let loadedChildren$;\n if (route.loadChildren && route.canLoad === undefined) {\n loadedChildren$ = this.loader.loadChildren(injector, route);\n } else {\n loadedChildren$ = of(null);\n }\n const recursiveLoadChildren$ = loadedChildren$.pipe(mergeMap(config => {\n if (config === null) {\n return of(void 0);\n }\n route._loadedRoutes = config.routes;\n route._loadedInjector = config.injector;\n // If the loaded config was a module, use that as the module/module injector going\n // forward. Otherwise, continue using the current module/module injector.\n return this.processRoutes(config.injector ?? injector, config.routes);\n }));\n if (route.loadComponent && !route._loadedComponent) {\n const loadComponent$ = this.loader.loadComponent(injector, route);\n return from([recursiveLoadChildren$, loadComponent$]).pipe(mergeAll());\n } else {\n return recursiveLoadChildren$;\n }\n });\n }\n static ɵfac = function RouterPreloader_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || RouterPreloader)(i0.ɵɵinject(Router), i0.ɵɵinject(i0.EnvironmentInjector), i0.ɵɵinject(PreloadingStrategy), i0.ɵɵinject(RouterConfigLoader));\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: RouterPreloader,\n factory: RouterPreloader.ɵfac,\n providedIn: 'root'\n });\n }\n return RouterPreloader;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nconst ROUTER_SCROLLER = /*#__PURE__*/new InjectionToken('');\nlet RouterScroller = /*#__PURE__*/(() => {\n class RouterScroller {\n urlSerializer;\n transitions;\n viewportScroller;\n zone;\n options;\n routerEventsSubscription;\n scrollEventsSubscription;\n lastId = 0;\n lastSource = IMPERATIVE_NAVIGATION;\n restoredId = 0;\n store = {};\n /** @docs-private */\n constructor(urlSerializer, transitions, viewportScroller, zone, options = {}) {\n this.urlSerializer = urlSerializer;\n this.transitions = transitions;\n this.viewportScroller = viewportScroller;\n this.zone = zone;\n this.options = options;\n // Default both options to 'disabled'\n options.scrollPositionRestoration ||= 'disabled';\n options.anchorScrolling ||= 'disabled';\n }\n init() {\n // we want to disable the automatic scrolling because having two places\n // responsible for scrolling results race conditions, especially given\n // that browser don't implement this behavior consistently\n if (this.options.scrollPositionRestoration !== 'disabled') {\n this.viewportScroller.setHistoryScrollRestoration('manual');\n }\n this.routerEventsSubscription = this.createScrollEvents();\n this.scrollEventsSubscription = this.consumeScrollEvents();\n }\n createScrollEvents() {\n return this.transitions.events.subscribe(e => {\n if (e instanceof NavigationStart) {\n // store the scroll position of the current stable navigations.\n this.store[this.lastId] = this.viewportScroller.getScrollPosition();\n this.lastSource = e.navigationTrigger;\n this.restoredId = e.restoredState ? e.restoredState.navigationId : 0;\n } else if (e instanceof NavigationEnd) {\n this.lastId = e.id;\n this.scheduleScrollEvent(e, this.urlSerializer.parse(e.urlAfterRedirects).fragment);\n } else if (e instanceof NavigationSkipped && e.code === NavigationSkippedCode.IgnoredSameUrlNavigation) {\n this.lastSource = undefined;\n this.restoredId = 0;\n this.scheduleScrollEvent(e, this.urlSerializer.parse(e.url).fragment);\n }\n });\n }\n consumeScrollEvents() {\n return this.transitions.events.subscribe(e => {\n if (!(e instanceof Scroll)) return;\n // a popstate event. The pop state event will always ignore anchor scrolling.\n if (e.position) {\n if (this.options.scrollPositionRestoration === 'top') {\n this.viewportScroller.scrollToPosition([0, 0]);\n } else if (this.options.scrollPositionRestoration === 'enabled') {\n this.viewportScroller.scrollToPosition(e.position);\n }\n // imperative navigation \"forward\"\n } else {\n if (e.anchor && this.options.anchorScrolling === 'enabled') {\n this.viewportScroller.scrollToAnchor(e.anchor);\n } else if (this.options.scrollPositionRestoration !== 'disabled') {\n this.viewportScroller.scrollToPosition([0, 0]);\n }\n }\n });\n }\n scheduleScrollEvent(routerEvent, anchor) {\n var _this = this;\n this.zone.runOutsideAngular(/*#__PURE__*/_asyncToGenerator(function* () {\n // The scroll event needs to be delayed until after change detection. Otherwise, we may\n // attempt to restore the scroll position before the router outlet has fully rendered the\n // component by executing its update block of the template function.\n //\n // #57109 (we need to wait at least a macrotask before scrolling. AfterNextRender resolves in microtask event loop with Zones)\n // We could consider _also_ waiting for a render promise though one should have already happened or been scheduled by this point\n // and should definitely happen before rAF/setTimeout.\n // #53985 (cannot rely solely on setTimeout because a frame may paint before the timeout)\n yield new Promise(resolve => {\n setTimeout(resolve);\n if (typeof requestAnimationFrame !== 'undefined') {\n requestAnimationFrame(resolve);\n }\n });\n _this.zone.run(() => {\n _this.transitions.events.next(new Scroll(routerEvent, _this.lastSource === 'popstate' ? _this.store[_this.restoredId] : null, anchor));\n });\n }));\n }\n /** @docs-private */\n ngOnDestroy() {\n this.routerEventsSubscription?.unsubscribe();\n this.scrollEventsSubscription?.unsubscribe();\n }\n static ɵfac = function RouterScroller_Factory(__ngFactoryType__) {\n i0.ɵɵinvalidFactory();\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: RouterScroller,\n factory: RouterScroller.ɵfac\n });\n }\n return RouterScroller;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Sets up providers necessary to enable `Router` functionality for the application.\n * Allows to configure a set of routes as well as extra features that should be enabled.\n *\n * @usageNotes\n *\n * Basic example of how you can add a Router to your application:\n * ```ts\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent, {\n * providers: [provideRouter(appRoutes)]\n * });\n * ```\n *\n * You can also enable optional features in the Router by adding functions from the `RouterFeatures`\n * type:\n * ```ts\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n * {\n * providers: [\n * provideRouter(appRoutes,\n * withDebugTracing(),\n * withRouterConfig({paramsInheritanceStrategy: 'always'}))\n * ]\n * }\n * );\n * ```\n *\n * @see {@link RouterFeatures}\n *\n * @publicApi\n * @param routes A set of `Route`s to use for the application routing table.\n * @param features Optional features to configure additional router behaviors.\n * @returns A set of providers to setup a Router.\n */\nfunction provideRouter(routes, ...features) {\n return makeEnvironmentProviders([{\n provide: ROUTES,\n multi: true,\n useValue: routes\n }, typeof ngDevMode === 'undefined' || ngDevMode ? {\n provide: ROUTER_IS_PROVIDED,\n useValue: true\n } : [], {\n provide: ActivatedRoute,\n useFactory: rootRoute,\n deps: [Router]\n }, {\n provide: APP_BOOTSTRAP_LISTENER,\n multi: true,\n useFactory: getBootstrapListener\n }, features.map(feature => feature.ɵproviders)]);\n}\nfunction rootRoute(router) {\n return router.routerState.root;\n}\n/**\n * Helper function to create an object that represents a Router feature.\n */\nfunction routerFeature(kind, providers) {\n return {\n ɵkind: kind,\n ɵproviders: providers\n };\n}\n/**\n * An Injection token used to indicate whether `provideRouter` or `RouterModule.forRoot` was ever\n * called.\n */\nconst ROUTER_IS_PROVIDED = /*#__PURE__*/new InjectionToken('', {\n providedIn: 'root',\n factory: () => false\n});\nconst routerIsProvidedDevModeCheck = {\n provide: ENVIRONMENT_INITIALIZER,\n multi: true,\n useFactory() {\n return () => {\n if (!inject(ROUTER_IS_PROVIDED)) {\n console.warn('`provideRoutes` was called without `provideRouter` or `RouterModule.forRoot`. ' + 'This is likely a mistake.');\n }\n };\n }\n};\n/**\n * Registers a DI provider for a set of routes.\n * @param routes The route configuration to provide.\n *\n * @usageNotes\n *\n * ```ts\n * @NgModule({\n * providers: [provideRoutes(ROUTES)]\n * })\n * class LazyLoadedChildModule {}\n * ```\n *\n * @deprecated If necessary, provide routes using the `ROUTES` `InjectionToken`.\n * @see {@link ROUTES}\n * @publicApi\n */\nfunction provideRoutes(routes) {\n return [{\n provide: ROUTES,\n multi: true,\n useValue: routes\n }, typeof ngDevMode === 'undefined' || ngDevMode ? routerIsProvidedDevModeCheck : []];\n}\n/**\n * Enables customizable scrolling behavior for router navigations.\n *\n * @usageNotes\n *\n * Basic example of how you can enable scrolling feature:\n * ```ts\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n * {\n * providers: [\n * provideRouter(appRoutes, withInMemoryScrolling())\n * ]\n * }\n * );\n * ```\n *\n * @see {@link provideRouter}\n * @see {@link ViewportScroller}\n *\n * @publicApi\n * @param options Set of configuration parameters to customize scrolling behavior, see\n * `InMemoryScrollingOptions` for additional information.\n * @returns A set of providers for use with `provideRouter`.\n */\nfunction withInMemoryScrolling(options = {}) {\n const providers = [{\n provide: ROUTER_SCROLLER,\n useFactory: () => {\n const viewportScroller = inject(ViewportScroller);\n const zone = inject(NgZone);\n const transitions = inject(NavigationTransitions);\n const urlSerializer = inject(UrlSerializer);\n return new RouterScroller(urlSerializer, transitions, viewportScroller, zone, options);\n }\n }];\n return routerFeature(4 /* RouterFeatureKind.InMemoryScrollingFeature */, providers);\n}\nfunction getBootstrapListener() {\n const injector = inject(Injector);\n return bootstrappedComponentRef => {\n const ref = injector.get(ApplicationRef);\n if (bootstrappedComponentRef !== ref.components[0]) {\n return;\n }\n const router = injector.get(Router);\n const bootstrapDone = injector.get(BOOTSTRAP_DONE);\n if (injector.get(INITIAL_NAVIGATION) === 1 /* InitialNavigation.EnabledNonBlocking */) {\n router.initialNavigation();\n }\n injector.get(ROUTER_PRELOADER, null, {\n optional: true\n })?.setUpPreloading();\n injector.get(ROUTER_SCROLLER, null, {\n optional: true\n })?.init();\n router.resetRootComponentType(ref.componentTypes[0]);\n if (!bootstrapDone.closed) {\n bootstrapDone.next();\n bootstrapDone.complete();\n bootstrapDone.unsubscribe();\n }\n };\n}\n/**\n * A subject used to indicate that the bootstrapping phase is done. When initial navigation is\n * `enabledBlocking`, the first navigation waits until bootstrapping is finished before continuing\n * to the activation phase.\n */\nconst BOOTSTRAP_DONE = /*#__PURE__*/new InjectionToken(typeof ngDevMode === 'undefined' || ngDevMode ? 'bootstrap done indicator' : '', {\n factory: () => {\n return new Subject();\n }\n});\nconst INITIAL_NAVIGATION = /*#__PURE__*/new InjectionToken(typeof ngDevMode === 'undefined' || ngDevMode ? 'initial navigation' : '', {\n providedIn: 'root',\n factory: () => 1 /* InitialNavigation.EnabledNonBlocking */\n});\n/**\n * Configures initial navigation to start before the root component is created.\n *\n * The bootstrap is blocked until the initial navigation is complete. This should be set in case\n * you use [server-side rendering](guide/ssr), but do not enable [hydration](guide/hydration) for\n * your application.\n *\n * @usageNotes\n *\n * Basic example of how you can enable this navigation behavior:\n * ```ts\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n * {\n * providers: [\n * provideRouter(appRoutes, withEnabledBlockingInitialNavigation())\n * ]\n * }\n * );\n * ```\n *\n * @see {@link provideRouter}\n *\n * @publicApi\n * @returns A set of providers for use with `provideRouter`.\n */\nfunction withEnabledBlockingInitialNavigation() {\n const providers = [{\n provide: INITIAL_NAVIGATION,\n useValue: 0 /* InitialNavigation.EnabledBlocking */\n }, provideAppInitializer(() => {\n const injector = inject(Injector);\n const locationInitialized = injector.get(LOCATION_INITIALIZED, Promise.resolve());\n return locationInitialized.then(() => {\n return new Promise(resolve => {\n const router = injector.get(Router);\n const bootstrapDone = injector.get(BOOTSTRAP_DONE);\n afterNextNavigation(router, () => {\n // Unblock APP_INITIALIZER in case the initial navigation was canceled or errored\n // without a redirect.\n resolve(true);\n });\n injector.get(NavigationTransitions).afterPreactivation = () => {\n // Unblock APP_INITIALIZER once we get to `afterPreactivation`. At this point, we\n // assume activation will complete successfully (even though this is not\n // guaranteed).\n resolve(true);\n return bootstrapDone.closed ? of(void 0) : bootstrapDone;\n };\n router.initialNavigation();\n });\n });\n })];\n return routerFeature(2 /* RouterFeatureKind.EnabledBlockingInitialNavigationFeature */, providers);\n}\n/**\n * Disables initial navigation.\n *\n * Use if there is a reason to have more control over when the router starts its initial navigation\n * due to some complex initialization logic.\n *\n * @usageNotes\n *\n * Basic example of how you can disable initial navigation:\n * ```ts\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n * {\n * providers: [\n * provideRouter(appRoutes, withDisabledInitialNavigation())\n * ]\n * }\n * );\n * ```\n *\n * @see {@link provideRouter}\n *\n * @returns A set of providers for use with `provideRouter`.\n *\n * @publicApi\n */\nfunction withDisabledInitialNavigation() {\n const providers = [provideAppInitializer(() => {\n inject(Router).setUpLocationChangeListener();\n }), {\n provide: INITIAL_NAVIGATION,\n useValue: 2 /* InitialNavigation.Disabled */\n }];\n return routerFeature(3 /* RouterFeatureKind.DisabledInitialNavigationFeature */, providers);\n}\n/**\n * Enables logging of all internal navigation events to the console.\n * Extra logging might be useful for debugging purposes to inspect Router event sequence.\n *\n * @usageNotes\n *\n * Basic example of how you can enable debug tracing:\n * ```ts\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n * {\n * providers: [\n * provideRouter(appRoutes, withDebugTracing())\n * ]\n * }\n * );\n * ```\n *\n * @see {@link provideRouter}\n *\n * @returns A set of providers for use with `provideRouter`.\n *\n * @publicApi\n */\nfunction withDebugTracing() {\n let providers = [];\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n providers = [{\n provide: ENVIRONMENT_INITIALIZER,\n multi: true,\n useFactory: () => {\n const router = inject(Router);\n return () => router.events.subscribe(e => {\n // tslint:disable:no-console\n console.group?.(`Router Event: ${e.constructor.name}`);\n console.log(stringifyEvent(e));\n console.log(e);\n console.groupEnd?.();\n // tslint:enable:no-console\n });\n }\n }];\n } else {\n providers = [];\n }\n return routerFeature(1 /* RouterFeatureKind.DebugTracingFeature */, providers);\n}\nconst ROUTER_PRELOADER = /*#__PURE__*/new InjectionToken(typeof ngDevMode === 'undefined' || ngDevMode ? 'router preloader' : '');\n/**\n * Allows to configure a preloading strategy to use. The strategy is configured by providing a\n * reference to a class that implements a `PreloadingStrategy`.\n *\n * @usageNotes\n *\n * Basic example of how you can configure preloading:\n * ```ts\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n * {\n * providers: [\n * provideRouter(appRoutes, withPreloading(PreloadAllModules))\n * ]\n * }\n * );\n * ```\n *\n * @see {@link provideRouter}\n *\n * @param preloadingStrategy A reference to a class that implements a `PreloadingStrategy` that\n * should be used.\n * @returns A set of providers for use with `provideRouter`.\n *\n * @publicApi\n */\nfunction withPreloading(preloadingStrategy) {\n const providers = [{\n provide: ROUTER_PRELOADER,\n useExisting: RouterPreloader\n }, {\n provide: PreloadingStrategy,\n useExisting: preloadingStrategy\n }];\n return routerFeature(0 /* RouterFeatureKind.PreloadingFeature */, providers);\n}\n/**\n * Allows to provide extra parameters to configure Router.\n *\n * @usageNotes\n *\n * Basic example of how you can provide extra configuration options:\n * ```ts\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n * {\n * providers: [\n * provideRouter(appRoutes, withRouterConfig({\n * onSameUrlNavigation: 'reload'\n * }))\n * ]\n * }\n * );\n * ```\n *\n * @see {@link provideRouter}\n *\n * @param options A set of parameters to configure Router, see `RouterConfigOptions` for\n * additional information.\n * @returns A set of providers for use with `provideRouter`.\n *\n * @publicApi\n */\nfunction withRouterConfig(options) {\n const providers = [{\n provide: ROUTER_CONFIGURATION,\n useValue: options\n }];\n return routerFeature(5 /* RouterFeatureKind.RouterConfigurationFeature */, providers);\n}\n/**\n * Provides the location strategy that uses the URL fragment instead of the history API.\n *\n * @usageNotes\n *\n * Basic example of how you can use the hash location option:\n * ```ts\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n * {\n * providers: [\n * provideRouter(appRoutes, withHashLocation())\n * ]\n * }\n * );\n * ```\n *\n * @see {@link provideRouter}\n * @see {@link /api/common/HashLocationStrategy HashLocationStrategy}\n *\n * @returns A set of providers for use with `provideRouter`.\n *\n * @publicApi\n */\nfunction withHashLocation() {\n const providers = [{\n provide: LocationStrategy,\n useClass: HashLocationStrategy\n }];\n return routerFeature(6 /* RouterFeatureKind.RouterHashLocationFeature */, providers);\n}\n/**\n * Provides a function which is called when a navigation error occurs.\n *\n * This function is run inside application's [injection context](guide/di/dependency-injection-context)\n * so you can use the [`inject`](api/core/inject) function.\n *\n * This function can return a `RedirectCommand` to convert the error to a redirect, similar to returning\n * a `UrlTree` or `RedirectCommand` from a guard. This will also prevent the `Router` from emitting\n * `NavigationError`; it will instead emit `NavigationCancel` with code NavigationCancellationCode.Redirect.\n * Return values other than `RedirectCommand` are ignored and do not change any behavior with respect to\n * how the `Router` handles the error.\n *\n * @usageNotes\n *\n * Basic example of how you can use the error handler option:\n * ```ts\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n * {\n * providers: [\n * provideRouter(appRoutes, withNavigationErrorHandler((e: NavigationError) =>\n * inject(MyErrorTracker).trackError(e)))\n * ]\n * }\n * );\n * ```\n *\n * @see {@link NavigationError}\n * @see {@link /api/core/inject inject}\n * @see {@link runInInjectionContext}\n *\n * @returns A set of providers for use with `provideRouter`.\n *\n * @publicApi\n */\nfunction withNavigationErrorHandler(handler) {\n const providers = [{\n provide: NAVIGATION_ERROR_HANDLER,\n useValue: handler\n }];\n return routerFeature(7 /* RouterFeatureKind.NavigationErrorHandlerFeature */, providers);\n}\n/**\n * Enables binding information from the `Router` state directly to the inputs of the component in\n * `Route` configurations.\n *\n * @usageNotes\n *\n * Basic example of how you can enable the feature:\n * ```ts\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n * {\n * providers: [\n * provideRouter(appRoutes, withComponentInputBinding())\n * ]\n * }\n * );\n * ```\n *\n * The router bindings information from any of the following sources:\n *\n * - query parameters\n * - path and matrix parameters\n * - static route data\n * - data from resolvers\n *\n * Duplicate keys are resolved in the same order from above, from least to greatest,\n * meaning that resolvers have the highest precedence and override any of the other information\n * from the route.\n *\n * Importantly, when an input does not have an item in the route data with a matching key, this\n * input is set to `undefined`. This prevents previous information from being\n * retained if the data got removed from the route (i.e. if a query parameter is removed).\n * Default values can be provided with a resolver on the route to ensure the value is always present\n * or an input and use an input transform in the component.\n *\n * @see {@link /guide/components/inputs#input-transforms Input Transforms}\n * @returns A set of providers for use with `provideRouter`.\n */\nfunction withComponentInputBinding() {\n const providers = [RoutedComponentInputBinder, {\n provide: INPUT_BINDER,\n useExisting: RoutedComponentInputBinder\n }];\n return routerFeature(8 /* RouterFeatureKind.ComponentInputBindingFeature */, providers);\n}\n/**\n * Enables view transitions in the Router by running the route activation and deactivation inside of\n * `document.startViewTransition`.\n *\n * Note: The View Transitions API is not available in all browsers. If the browser does not support\n * view transitions, the Router will not attempt to start a view transition and continue processing\n * the navigation as usual.\n *\n * @usageNotes\n *\n * Basic example of how you can enable the feature:\n * ```ts\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n * {\n * providers: [\n * provideRouter(appRoutes, withViewTransitions())\n * ]\n * }\n * );\n * ```\n *\n * @returns A set of providers for use with `provideRouter`.\n * @see https://developer.chrome.com/docs/web-platform/view-transitions/\n * @see https://developer.mozilla.org/en-US/docs/Web/API/View_Transitions_API\n * @developerPreview 19.0\n */\nfunction withViewTransitions(options) {\n _performanceMarkFeature('NgRouterViewTransitions');\n const providers = [{\n provide: CREATE_VIEW_TRANSITION,\n useValue: createViewTransition\n }, {\n provide: VIEW_TRANSITION_OPTIONS,\n useValue: {\n skipNextTransition: !!options?.skipInitialTransition,\n ...options\n }\n }];\n return routerFeature(9 /* RouterFeatureKind.ViewTransitionsFeature */, providers);\n}\n\n/**\n * The directives defined in the `RouterModule`.\n */\nconst ROUTER_DIRECTIVES = [RouterOutlet, RouterLink, RouterLinkActive, _EmptyOutletComponent];\n/**\n * @docsNotRequired\n */\nconst ROUTER_FORROOT_GUARD = /*#__PURE__*/new InjectionToken(typeof ngDevMode === 'undefined' || ngDevMode ? 'router duplicate forRoot guard' : '');\n// TODO(atscott): All of these except `ActivatedRoute` are `providedIn: 'root'`. They are only kept\n// here to avoid a breaking change whereby the provider order matters based on where the\n// `RouterModule`/`RouterTestingModule` is imported. These can/should be removed as a \"breaking\"\n// change in a major version.\nconst ROUTER_PROVIDERS = [Location, {\n provide: UrlSerializer,\n useClass: DefaultUrlSerializer\n}, Router, ChildrenOutletContexts, {\n provide: ActivatedRoute,\n useFactory: rootRoute,\n deps: [Router]\n}, RouterConfigLoader,\n// Only used to warn when `provideRoutes` is used without `RouterModule` or `provideRouter`. Can\n// be removed when `provideRoutes` is removed.\ntypeof ngDevMode === 'undefined' || ngDevMode ? {\n provide: ROUTER_IS_PROVIDED,\n useValue: true\n} : []];\n/**\n * @description\n *\n * Adds directives and providers for in-app navigation among views defined in an application.\n * Use the Angular `Router` service to declaratively specify application states and manage state\n * transitions.\n *\n * You can import this NgModule multiple times, once for each lazy-loaded bundle.\n * However, only one `Router` service can be active.\n * To ensure this, there are two ways to register routes when importing this module:\n *\n * * The `forRoot()` method creates an `NgModule` that contains all the directives, the given\n * routes, and the `Router` service itself.\n * * The `forChild()` method creates an `NgModule` that contains all the directives and the given\n * routes, but does not include the `Router` service.\n *\n * @see [Routing and Navigation guide](guide/routing/common-router-tasks) for an\n * overview of how the `Router` service should be used.\n *\n * @publicApi\n */\nlet RouterModule = /*#__PURE__*/(() => {\n class RouterModule {\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n inject(ROUTER_FORROOT_GUARD, {\n optional: true\n });\n }\n }\n /**\n * Creates and configures a module with all the router providers and directives.\n * Optionally sets up an application listener to perform an initial navigation.\n *\n * When registering the NgModule at the root, import as follows:\n *\n * ```ts\n * @NgModule({\n * imports: [RouterModule.forRoot(ROUTES)]\n * })\n * class MyNgModule {}\n * ```\n *\n * @param routes An array of `Route` objects that define the navigation paths for the application.\n * @param config An `ExtraOptions` configuration object that controls how navigation is performed.\n * @return The new `NgModule`.\n *\n */\n static forRoot(routes, config) {\n return {\n ngModule: RouterModule,\n providers: [ROUTER_PROVIDERS, typeof ngDevMode === 'undefined' || ngDevMode ? config?.enableTracing ? withDebugTracing().ɵproviders : [] : [], {\n provide: ROUTES,\n multi: true,\n useValue: routes\n }, typeof ngDevMode === 'undefined' || ngDevMode ? {\n provide: ROUTER_FORROOT_GUARD,\n useFactory: provideForRootGuard,\n deps: [[Router, new Optional(), new SkipSelf()]]\n } : [], config?.errorHandler ? {\n provide: NAVIGATION_ERROR_HANDLER,\n useValue: config.errorHandler\n } : [], {\n provide: ROUTER_CONFIGURATION,\n useValue: config ? config : {}\n }, config?.useHash ? provideHashLocationStrategy() : providePathLocationStrategy(), provideRouterScroller(), config?.preloadingStrategy ? withPreloading(config.preloadingStrategy).ɵproviders : [], config?.initialNavigation ? provideInitialNavigation(config) : [], config?.bindToComponentInputs ? withComponentInputBinding().ɵproviders : [], config?.enableViewTransitions ? withViewTransitions().ɵproviders : [], provideRouterInitializer()]\n };\n }\n /**\n * Creates a module with all the router directives and a provider registering routes,\n * without creating a new Router service.\n * When registering for submodules and lazy-loaded submodules, create the NgModule as follows:\n *\n * ```ts\n * @NgModule({\n * imports: [RouterModule.forChild(ROUTES)]\n * })\n * class MyNgModule {}\n * ```\n *\n * @param routes An array of `Route` objects that define the navigation paths for the submodule.\n * @return The new NgModule.\n *\n */\n static forChild(routes) {\n return {\n ngModule: RouterModule,\n providers: [{\n provide: ROUTES,\n multi: true,\n useValue: routes\n }]\n };\n }\n static ɵfac = function RouterModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || RouterModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: RouterModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({});\n }\n return RouterModule;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * For internal use by `RouterModule` only. Note that this differs from `withInMemoryRouterScroller`\n * because it reads from the `ExtraOptions` which should not be used in the standalone world.\n */\nfunction provideRouterScroller() {\n return {\n provide: ROUTER_SCROLLER,\n useFactory: () => {\n const viewportScroller = inject(ViewportScroller);\n const zone = inject(NgZone);\n const config = inject(ROUTER_CONFIGURATION);\n const transitions = inject(NavigationTransitions);\n const urlSerializer = inject(UrlSerializer);\n if (config.scrollOffset) {\n viewportScroller.setOffset(config.scrollOffset);\n }\n return new RouterScroller(urlSerializer, transitions, viewportScroller, zone, config);\n }\n };\n}\n// Note: For internal use only with `RouterModule`. Standalone setup via `provideRouter` should\n// provide hash location directly via `{provide: LocationStrategy, useClass: HashLocationStrategy}`.\nfunction provideHashLocationStrategy() {\n return {\n provide: LocationStrategy,\n useClass: HashLocationStrategy\n };\n}\n// Note: For internal use only with `RouterModule`. Standalone setup via `provideRouter` does not\n// need this at all because `PathLocationStrategy` is the default factory for `LocationStrategy`.\nfunction providePathLocationStrategy() {\n return {\n provide: LocationStrategy,\n useClass: PathLocationStrategy\n };\n}\nfunction provideForRootGuard(router) {\n if (router) {\n throw new _RuntimeError(4007 /* RuntimeErrorCode.FOR_ROOT_CALLED_TWICE */, `The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector.` + ` Lazy loaded modules should use RouterModule.forChild() instead.`);\n }\n return 'guarded';\n}\n// Note: For internal use only with `RouterModule`. Standalone router setup with `provideRouter`\n// users call `withXInitialNavigation` directly.\nfunction provideInitialNavigation(config) {\n return [config.initialNavigation === 'disabled' ? withDisabledInitialNavigation().ɵproviders : [], config.initialNavigation === 'enabledBlocking' ? withEnabledBlockingInitialNavigation().ɵproviders : []];\n}\n// TODO(atscott): This should not be in the public API\n/**\n * A DI token for the router initializer that\n * is called after the app is bootstrapped.\n *\n * @publicApi\n */\nconst ROUTER_INITIALIZER = /*#__PURE__*/new InjectionToken(typeof ngDevMode === 'undefined' || ngDevMode ? 'Router Initializer' : '');\nfunction provideRouterInitializer() {\n return [\n // ROUTER_INITIALIZER token should be removed. It's public API but shouldn't be. We can just\n // have `getBootstrapListener` directly attached to APP_BOOTSTRAP_LISTENER.\n {\n provide: ROUTER_INITIALIZER,\n useFactory: getBootstrapListener\n }, {\n provide: APP_BOOTSTRAP_LISTENER,\n multi: true,\n useExisting: ROUTER_INITIALIZER\n }];\n}\nexport { NoPreloading, PreloadAllModules, PreloadingStrategy, ROUTER_INITIALIZER, ROUTER_PROVIDERS, RouterLink, RouterLinkActive, RouterModule, RouterPreloader, provideRouter, provideRoutes, withComponentInputBinding, withDebugTracing, withDisabledInitialNavigation, withEnabledBlockingInitialNavigation, withHashLocation, withInMemoryScrolling, withNavigationErrorHandler, withPreloading, withRouterConfig, withViewTransitions };\n//# sourceMappingURL=router_module.mjs.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { Observable } from '../Observable';\nimport { isFunction } from '../util/isFunction';\nexport function throwError(errorOrErrorFactory, scheduler) {\n const errorFactory = isFunction(errorOrErrorFactory) ? errorOrErrorFactory : () => errorOrErrorFactory;\n const init = subscriber => subscriber.error(errorFactory());\n return new Observable(scheduler ? subscriber => scheduler.schedule(init, 0, subscriber) : init);\n}\n//# sourceMappingURL=throwError.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { identity } from '../util/identity';\nimport { isScheduler } from '../util/isScheduler';\nimport { defer } from './defer';\nimport { scheduleIterable } from '../scheduled/scheduleIterable';\nexport function generate(initialStateOrOptions, condition, iterate, resultSelectorOrScheduler, scheduler) {\n let resultSelector;\n let initialState;\n if (arguments.length === 1) {\n ({\n initialState,\n condition,\n iterate,\n resultSelector = identity,\n scheduler\n } = initialStateOrOptions);\n } else {\n initialState = initialStateOrOptions;\n if (!resultSelectorOrScheduler || isScheduler(resultSelectorOrScheduler)) {\n resultSelector = identity;\n scheduler = resultSelectorOrScheduler;\n } else {\n resultSelector = resultSelectorOrScheduler;\n }\n }\n function* gen() {\n for (let state = initialState; !condition || condition(state); state = iterate(state)) {\n yield resultSelector(state);\n }\n }\n return defer(scheduler ? () => scheduleIterable(gen(), scheduler) : gen);\n}\n//# sourceMappingURL=generate.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { operate } from '../util/lift';\nimport { argsOrArgArray } from '../util/argsOrArgArray';\nimport { mergeAll } from './mergeAll';\nimport { popNumber, popScheduler } from '../util/args';\nimport { from } from '../observable/from';\nexport function merge(...args) {\n const scheduler = popScheduler(args);\n const concurrent = popNumber(args, Infinity);\n args = argsOrArgArray(args);\n return operate((source, subscriber) => {\n mergeAll(concurrent)(from([source, ...args], scheduler)).subscribe(subscriber);\n });\n}\n//# sourceMappingURL=merge.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|